Commit graph

3882 commits

Author SHA1 Message Date
github-actions[bot] ba6feced62 chore(release): Update version to v1.4.462 2026-07-28 15:30:08 +00:00
Kayvan Sylvan 69dbf44ad1
Merge pull request #2167 from ksylvan/fix/pattern-path-traversal-2123-re-created
fix: block path traversal in pattern name lookup (closes #2094)
2026-07-28 08:27:46 -07:00
Kayvan Sylvan 64b1fc1fab chore: renumber incoming changelog entry 2123 -> 2167 2026-07-28 08:24:41 -07:00
Kayvan Sylvan 37fc6686fa docs: credit security fix contributors and note translations
- Credit both contributors for the path traversal security fix.
- Document new translations for the invalid pattern message.
2026-07-28 08:15:07 -07:00
Kayvan Sylvan e36a231f3f chore: incoming 2123 changelog entry 2026-07-28 08:11:17 -07:00
Kayvan Sylvan 54347b5cf5 fix(i18n): translate pattern_invalid_name into all 10 non-English locales 2026-07-28 08:08:03 -07:00
OdinKral 1e650266ab fix: block path traversal in pattern name lookup (closes #2094)
Pattern names containing ".." could be used to escape the patterns
directory and read arbitrary files via filepath.Join. Guard added at
the top of getFromDB; i18n key pattern_invalid_name added to all
11 locale files; test cases cover all common traversal variants.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-28 08:08:03 -07:00
github-actions[bot] d49a61a32e chore(release): Update version to v1.4.461 2026-07-28 14:40:46 +00:00
Kayvan Sylvan 0dbf9cb0ec
Merge pull request #2152 from AUTHENSOR/fix/extension-executor-shell-injection 2026-07-28 07:38:30 -07:00
Kayvan Sylvan 5ff3330040 chore: incoming 2152 changelog entry 2026-07-28 07:34:37 -07:00
github-actions[bot] d85544c88a chore(release): Update version to v1.4.460 2026-07-24 19:03:05 +00:00
Kayvan Sylvan 2469552d94
Merge pull request #2166 from ksylvan/support-opus-5
feat: add Claude Opus 5 support and refresh dependencies
2026-07-24 12:00:49 -07:00
Kayvan Sylvan 094691b148 chore: incoming 2166 changelog entry 2026-07-24 11:59:01 -07:00
Kayvan Sylvan ff3dd1a5ad chore: tidy Go module dependencies and checksums
- Remove the unused `swag/jsonname` indirect module dependency.
- Prune stale checksums for superseded dependency versions.
- Retain checksums for currently resolved module versions.
- Refresh the fixture module checksum for version 0.27.3.
2026-07-24 11:54:21 -07:00
Kayvan Sylvan c32ee25f03 feat: add Claude Opus 5 support and refresh dependencies
## CHANGES

- Add Claude Opus 5 to supported model selection
- Disable sampling parameters for Claude Opus 5 requests
- Restrict one-million-token beta headers to compatible Claude models
- Remove unsupported 200K-context models from beta header mapping
- Upgrade Anthropic, AWS, Ollama, Google, and supporting dependencies
2026-07-24 11:47:51 -07:00
github-actions[bot] 34e02fdca2 chore(release): Update version to v1.4.459 2026-07-16 02:04:00 +00:00
Kayvan Sylvan 4dc7e5a1f2
Merge pull request #2135 from octo-patch/feature/upgrade-minimax-m3
feat: upgrade MiniMax default model to M3
2026-07-15 19:01:35 -07:00
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
github-actions[bot] 6a9b55a096 chore(release): Update version to v1.4.452 2026-05-04 22:18:46 +00:00