Commit graph

3916 commits

Author SHA1 Message Date
Kayvan Sylvan 72d626ebec
Merge branch 'main' into feature/upgrade-minimax-m3 2026-07-15 18:55:00 -07:00
Kayvan Sylvan a1f8549620 chore: incoming 2135 changelog entry 2026-07-15 18:54:28 -07:00
github-actions[bot] 82e14bb8f3 chore(release): Update version to v1.4.458 2026-07-12 19:21:54 +00:00
Kayvan Sylvan c7f07b6f1b
Merge pull request #2161 from ksylvan/anthropic-max-tokens-fix
fix: respect Anthropic chat option max token overrides
2026-07-12 12:19:38 -07:00
Kayvan Sylvan f96a971168 chore: incoming 2161 changelog entry 2026-07-12 12:17:54 -07:00
Kayvan Sylvan 6e44e1c66a fix: respect Anthropic chat option max token overrides
- Use configured Anthropic max tokens as default
- Apply chat option max tokens when provided
- Preserve existing behavior for missing token overrides
- Add tests for default max token selection
- Add tests for explicit max token overrides
2026-07-12 11:58:36 -07:00
Kayvan Sylvan 5a5f800f68 chore: clean up ChangeLog
Some checks failed
Go Build / Run tests (push) Has been cancelled
Update Version File and Create Tag / update-version (push) Has been cancelled
2026-07-09 14:33:59 -07:00
github-actions[bot] 1748c816ec chore(release): Update version to v1.4.457 2026-07-09 21:09:43 +00:00
Kayvan Sylvan 67d0cd09ed
Merge pull request #2156 from ksylvan/chore/add-closed-ok-to-changelog
Make it possible to back-fill missing ChangeLog entries
2026-07-09 14:07:19 -07:00
Kayvan Sylvan 47774fa8c7 chore: incoming 2156 changelog entry 2026-07-09 14:05:55 -07:00
Kayvan Sylvan f6a9b74dac feat: allow changelog generation for closed pull requests
- Add `--closed-ok` flag to bypass open-state validation
- Skip mergeability checks when processing closed pull requests
- Store closed pull request allowance in generator configuration
- Guide users toward `--closed-ok` in validation errors
- Record incoming changelog entries for pull requests 2155 and 2156
- Refresh changelog database with new incoming metadata
2026-07-09 14:05:19 -07:00
github-actions[bot] 43aa95e966 chore(release): Update version to v1.4.456 2026-07-09 20:22:05 +00:00
Kayvan Sylvan 35c058fb4e
Merge pull request #2155 from ksylvan/support-new-anthropic-models
Claude Sonnet 5 Anthropic support
2026-07-09 13:19:47 -07:00
Kayvan Sylvan 6a999ab23e chore: cleanups - tidying the duplicate model listed 2026-07-09 13:09:50 -07:00
Kayvan Sylvan 5f34b6812e feat: add Claude Sonnet 5 Anthropic support
- Add Claude Sonnet 5 to supported Anthropic models
- Omit sampling parameters for Claude Sonnet 5 requests
- Centralize Anthropic sampling restrictions behind prefix matching
- Enable one-million-token context beta for Claude 5 models
- Remove older Claude 4 aliases from model listings
- Update Anthropic tests for Sonnet 5 beta mapping
- Refresh Go dependencies across AI provider integrations
2026-07-09 13:04:48 -07:00
Authensor 3eba7a51d4 fix: shell-escape extension values to prevent command injection
The extension executor runs commands via 'sh -c' with user-controlled
values interpolated into the command string without escaping. A value
containing shell metacharacters (;, |, $(), backticks) is executed by
the shell, enabling command injection.

User input flows from content processed through a pattern into the
extension system via the InputSentinel, then into formatCommand which
interpolates it into the cmd_template, then into exec.Command('sh', '-c').
No escaping is applied at any point.

Fix: wrap all user-controlled values (value, numbered pipe-split values)
in single quotes with embedded-single-quote escaping before interpolation.
This ensures sh -c treats them as literal arguments, not shell syntax.

The existing tests pass unchanged because the inner sh strips the single
quotes, so the executed command receives the same argument values.

Regression test added: ShellInjectionBlocked verifies that input
'hello; touch /marker' does not create the marker file.

Signed-off-by: John Kearney <johndanielkearney@gmail.com>
2026-07-01 21:55:21 -05:00
github-actions[bot] a420eaf63c chore(release): Update version to v1.4.455
Some checks failed
Go Build / Run tests (push) Has been cancelled
Patterns Artifact / Zip and Upload Patterns Folder (push) Has been cancelled
Update Version File and Create Tag / update-version (push) Has been cancelled
2026-06-09 21:57:16 +00:00
Kayvan Sylvan 51eeff1109
Merge pull request #2138 from ksylvan/fix-github-429-plus-claude-fable-5
New Claude Fable model + cache OpenAI model discovery and handle provider rate limits
2026-06-09 14:54:53 -07:00
Kayvan Sylvan adabdf1e68 chore: incoming 2138 changelog entry 2026-06-09 14:47:37 -07:00
Kayvan Sylvan 59d26a7e89 feat: cache OpenAI model discovery and handle provider rate limits
- Add persistent cache for provider model discovery results
- Serve stale model caches during discovery failures
- Return concise localized errors for rate-limited model fetches
- Send GitHub Models API version header automatically
- Add Claude Fable 5 Anthropic model support
- Omit sampling parameters for Claude Fable 5
- Update model rate-limit translations across supported locales
- Add tests for cache, rate-limit, and GitHub headers
- Update Go dependencies for AI provider integrations
2026-06-09 14:36:46 -07:00
github-actions[bot] 29b32f9ff2 chore(release): Update version to v1.4.454 2026-06-02 23:31:29 +00:00
Kayvan Sylvan 8e452510e0
Merge pull request #2136 from ksylvan/opus-4-8-sampling-params-fix
chore: extend sampling param exclusion to Opus 4.8 models
2026-06-02 16:29:14 -07:00
Kayvan Sylvan 69a79e6efc chore: incoming 2136 changelog entry 2026-06-02 16:27:34 -07:00
Kayvan Sylvan 73fa72e279 chore: incoming 2136 changelog entry 2026-06-02 16:27:01 -07:00
Kayvan Sylvan 4b4821a235 chore: extend sampling param exclusion to Opus 4.8 models
- Add Opus 4.8 to sampling param exclusion check
- Update comment to mention Opus 4.8 models
- Match `claude-opus-4-8` model prefix alongside 4.7
2026-06-02 16:25:48 -07:00
octo-patch be1540781d feat: upgrade MiniMax default model to M3
- Add MiniMax-M3 to the static MiniMax model list as the new default
- Retain MiniMax-M2.7 and MiniMax-M2.7-highspeed as available alternatives
- Remove deprecated older models (M2.5 / M2.5-highspeed / M2.5-lightning / M2 / M2.1 / M2.1-lightning) from the static list

MiniMax-M3 is the new flagship model and becomes the default selection by being placed first in the static model list.
2026-06-01 21:16:41 +08:00
github-actions[bot] 7ede03225d chore(release): Update version to v1.4.453 2026-05-28 19:37:31 +00:00
Kayvan Sylvan 4f073730a6
Merge pull request #2132 from ksylvan/claude-4-8
Add Claude Opus 4.8 model and bump Go toolchain and dependencies
2026-05-28 12:35:04 -07:00
Kayvan Sylvan 134171de7e modernize ./...
/Users/kayvan/src/fabric/internal/plugins/ai/codex/errors.go:61:5: errors.As can be simplified using AsType[*openaiapi.Error]
/Users/kayvan/src/fabric/internal/cli/flags.go:126:2: NumField/Field loop can simplified using Type.Fields iteration
/Users/kayvan/src/fabric/internal/cli/help.go:145:2: NumField/Field loop can simplified using Type.Fields iteration
/Users/kayvan/src/fabric/internal/cli/help.go:225:2: NumField/Field loop can simplified using Type.Fields iteration
/Users/kayvan/src/fabric/internal/i18n/i18n.go:222:15: strings.Split call can be simplified using strings.Cut
2026-05-28 12:27:27 -07:00
Kayvan Sylvan 4527a5b919 chore: incoming 2132 changelog entry 2026-05-28 12:19:07 -07:00
Kayvan Sylvan 387b226c4e chore: downgrade invopop/jsonschema and drop unused indirect dependencies
## CHANGES

- downgrade `invopop/jsonschema` from v0.14.0 to v0.13.0
- remove `pb33f/ordered-map/v2` indirect dependency
- remove `go.yaml.in/yaml/v4` release-candidate indirect dependency
- update `go.sum` to match revised module set
2026-05-28 12:18:25 -07:00
Kayvan Sylvan 4dfaf61e93 chore: bump Go toolchain and dependencies, add Claude Opus 4.8 model
# CHANGES

- Upgrade Go toolchain to 1.26.0
- Bump anthropic-sdk-go to v1.46.0
- Add Claude Opus 4.8 to supported models
- Update AWS SDK and Bedrock service modules
- Bump ollama client to v0.24.0
- Refresh OpenTelemetry, gRPC, and genai dependencies
- Update go-git, sqlite3, and assorted indirect modules
2026-05-28 12:11:30 -07:00
OdinKral 175772e8a0 feat(patterns): add generate_frontmatter pattern for PKM users
Adds a pattern that generates clean, paste-ready YAML frontmatter for
any text input. Designed for PKM systems such as Obsidian and Logseq
but works for any markdown-based note vault.

Given a document, article, transcript, or rough draft it produces:
  title, aliases, tags (specific + hierarchical), type, author,
  source, date, summary, and status fields.

Usage:
  cat article.md | fabric -p generate_frontmatter
  pbpaste       | fabric -p generate_frontmatter
  yt URL        | fabric -p generate_frontmatter

Addresses feature request #1235.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 11:41:20 -04:00
github-actions[bot] 6a9b55a096 chore(release): Update version to v1.4.452 2026-05-04 22:18:46 +00:00
Kayvan Sylvan 90cd2bef9d
Merge pull request #2111 from ksylvan/anthopic-4-7-migration-fixes
fix: omit Anthropic sampling params for Claude Opus 4.7
2026-05-04 15:16:34 -07:00
Kayvan Sylvan 6f4154a4ae chore: incoming 2111 changelog entry 2026-05-04 14:57:40 -07:00
Kayvan Sylvan d2995ee02e fix: omit Anthropic sampling params for Claude Opus 4.7
## CHANGES

- Add Opus 4.7 sampling parameter guard
- Omit temperature and top_p for incompatible models
- Preserve existing TopP and temperature selection behavior
- Cover Opus 4.7 omission with unit test
2026-05-04 14:48:35 -07:00
github-actions[bot] 8a3058e2b8 chore(release): Update version to v1.4.451 2026-04-23 08:55:50 +00:00
Kayvan Sylvan d7cc49f25c
Merge pull request #2086 from majiayu000/fix/issue-2084-vendor-model-prefix-parsing
fix: parse vendor prefix from model name for vendor/model convention
2026-04-23 01:47:37 -07:00
Kayvan Sylvan d7259fd6ae chore: incoming 2086 changelog entry 2026-04-23 01:36:55 -07:00
Kayvan Sylvan c8bfd3f886 chore: incoming 2086 changelog entry 2026-04-23 01:36:06 -07:00
Kayvan Sylvan 774376d19b
Merge branch 'main' into fix/issue-2084-vendor-model-prefix-parsing 2026-04-23 01:35:14 -07:00
Kayvan Sylvan 7bc470da5f
Merge pull request #2079 from teamsincetoday/add-commerce-intelligence-patterns
Add 3 commerce intelligence patterns: affiliate extraction, video entities, monetization
2026-04-23 01:26:42 -07:00
Kayvan Sylvan 4d896b47d8 chore: incoming 2079 changelog entry 2026-04-23 01:25:09 -07:00
Kayvan Sylvan 995c666e67 feat: add monetization analysis and commerce extraction patterns to suggest_pattern
# CHANGES

- Register `analyze_monetization_opportunities` pattern under ANALYSIS and BUSINESS categories
- Register `extract_affiliate_products` pattern under BUSINESS and EXTRACT categories
- Register `extract_video_commerce_entities` pattern under BUSINESS and EXTRACT categories
- Describe monetization analysis for affiliate, sponsorship, and product revenue
- Describe affiliate product extraction separating sponsored from organic mentions
- Describe commerce entity extraction with category and purchase likelihood
2026-04-23 01:24:19 -07:00
Kayvan Sylvan 5973722f1a feat: add three creator monetization patterns for affiliate and commerce analysis
# CHANGES

- Add `analyze_monetization_opportunities` pattern for creator revenue strategy
- Add `extract_affiliate_products` pattern for surfacing affiliate opportunities
- Add `extract_video_commerce_entities` pattern for video transcript commerce
- Register new patterns in `pattern_descriptions.json` with appropriate tags
- Add full pattern extracts to `pattern_extracts.json` for each addition
- Update `pattern_explanations.md` with descriptions of three new patterns
2026-04-23 01:20:45 -07:00
Kayvan Sylvan c86bd1cda9
Merge branch 'main' into add-commerce-intelligence-patterns 2026-04-23 00:55:19 -07:00
github-actions[bot] 6f4e2fad9b chore(release): Update version to v1.4.450 2026-04-23 07:48:15 +00:00
Kayvan Sylvan b545eb97a0
Merge pull request #2092 from Resistor52/feat/grokai-search-grounding
feat(openai): add GrokAI search grounding via xAI Responses API
2026-04-23 00:46:05 -07:00
Kayvan Sylvan 11f2683d50 Merge branch 'main' into feat/grokai-search-grounding 2026-04-23 00:37:28 -07:00