Commit graph

3684 commits

Author SHA1 Message Date
github-actions[bot] fa2e1ee90a chore(release): Update version to v1.4.428 2026-03-02 14:34:54 +00:00
Kayvan Sylvan 7c82cc596f
Merge pull request #2040 from Twozee-Tech/add-polish-locale
Add Polish (pl) locale
2026-03-02 06:31:59 -08:00
Kayvan Sylvan 122b07ae4c chore: incoming 2040 changelog entry 2026-03-02 06:27:09 -08:00
Twozee adffc4a9bf Add Polish (pl) locale
Add Polish translation file with all 683 keys matching the other
locale files in internal/i18n/locales/.
2026-03-02 14:32:00 +01:00
github-actions[bot] f56a541651 chore(release): Update version to v1.4.427 2026-03-01 02:07:52 +00:00
Kayvan Sylvan b33b3fe1dc
Merge pull request #2038 from ksylvan/kayvan/git-clone-cli-fallback-for-termux
Add Git CLI Fallback to `FetchFilesFromRepo`
2026-02-28 18:05:37 -08:00
Kayvan Sylvan c0b1f6175a i18n: add git CLI error message keys across all supported locales
- Add `githelper_failed_create_temp_directory` i18n key to all locales
- Add `githelper_failed_git_cli_clone` error key across 10 locale files
- Add `githelper_failed_git_cli_fallback` key for CLI fallback error messaging
- Replace hardcoded error strings in `githelper.go` with `i18n.T()` calls
- Support localized git CLI error reporting in de, en, es, fa, fr, it, ja, pt, zh
2026-02-28 17:41:13 -08:00
Kayvan Sylvan 4bb1319685 chore: incoming 2038 changelog entry 2026-02-28 16:58:23 -08:00
Kayvan Sylvan f58a494b07 feat: add git CLI fallback to FetchFilesFromRepo for improved compatibility
- Add git CLI fallback when go-git in-memory clone fails
- Detect git CLI availability via `exec.LookPath` before fallback
- Extract `fetchFilesViaGoGit` into dedicated helper function
- Implement `fetchFilesViaGitCLI` using shallow `--depth 1` clone
- Use temp directory for CLI clone with deferred cleanup
- Add `copyFile` helper to support CLI-based file extraction
- Respect `SingleDirectory` and `PathPrefix` opts in CLI path
- Surface combined error when both go-git and CLI fallback fail
- Remove redundant inline comments from go-git implementation
2026-02-28 16:54:13 -08:00
github-actions[bot] d32721a3e4 chore(release): Update version to v1.4.426 2026-02-28 23:35:37 +00:00
Kayvan Sylvan cbfdf61470
Merge pull request #2036 from ksylvan/kayvan/web-youtube-handling-fix
WebUI: YouTube URL Processing Refactor & Dependency Updates
2026-02-28 15:33:10 -08:00
Kayvan Sylvan b251b77a8e chore: incoming 2036 changelog entry 2026-02-28 15:30:42 -08:00
Kayvan Sylvan 34bd2ece1e feat: WebUI: inline YouTube transcripts during chat flow
- Replace YouTube URLs with fetched transcript blocks
- Support multiple YouTube links inside one message
- Always render user message before processing response
- Show YouTube-specific loading indicator during transcript fetch
- Reset YouTube URL state after submission processing
- Upgrade SvelteKit, Svelte, Tailwind, TypeScript toolchain versions
- Bump pdfjs-dist and @napi-rs/canvas optional dependency versions
- Refresh esbuild binaries and Floating UI runtime versions
- Regenerate pnpm/npm lockfiles with updated transitive dependencies
2026-02-28 15:21:47 -08:00
github-actions[bot] c6789bedf7 chore(release): Update version to v1.4.425 2026-02-28 17:48:43 +00:00
Kayvan Sylvan 9e04addb42
Merge pull request #2033 from danielmiessler/dependabot/npm_and_yarn/web/npm_and_yarn-24042a4c47
Web UI: Dependabot upgrades and bug fixes
2026-02-28 09:46:13 -08:00
Kayvan Sylvan 79351c49c4 chore: update dependencies and simplify web UI install
- Update Svelte to version 5.53.5
- Upgrade @sveltejs/vite-plugin-svelte to 4.0.0
- Update lucide-svelte to version 0.575.0
- Upgrade Rollup to version 4.59.0
- Remove custom npm and pnpm install scripts
- Add postinstall script for svelte-kit sync
- Fix self-closing tags in Svelte components
- Change transcript joining to use newlines
- Make cleanPatternOutput method public in ChatService
- Remove svelte-markdown dependency from package.json
2026-02-28 09:42:10 -08:00
Kayvan Sylvan e1065e9e62
Merge pull request #2034 from konstantint/create_slides
feat: add create_slides pattern
2026-02-27 12:06:12 -08:00
Kayvan Sylvan 86f1668c79 feat: add create_slides pattern for Reveal.js HTML slideshow generation
- Add new `create_slides` pattern to pattern explanations index
- Register `create_slides` in CONVERSION, VISUALIZE, and WRITING categories
- Add `create_slides` usage examples to `suggest_pattern` user guide
- Insert `create_slides` entry into `pattern_descriptions.json` with relevant tags
- Add `create_slides` pattern extract to `pattern_extracts.json`
- Shift pattern numbering from 97 onward to accommodate new entry
2026-02-27 12:03:49 -08:00
Kayvan Sylvan c091d16357 chore: incoming 2034 changelog entry 2026-02-27 11:48:54 -08:00
Konstantin Tretyakov 62cf2a5572 feat: add create_slides pattern 2026-02-27 12:14:16 +01:00
github-actions[bot] f2f38968e4 chore(release): Update version to v1.4.424 2026-02-27 04:10:09 +00:00
Kayvan Sylvan c8a77212f2
Merge pull request #2025 from danielmiessler/dependabot/npm_and_yarn/web/npm_and_yarn-e5af615f08 2026-02-26 20:07:48 -08:00
Kayvan Sylvan 7b7d111da9 chore: incoming 2025 changelog entry 2026-02-26 20:03:48 -08:00
Kayvan Sylvan d952704189 Merge branch 'main' into dependabot/npm_and_yarn/web/npm_and_yarn-e5af615f08 2026-02-26 20:00:13 -08:00
github-actions[bot] 115a0f59f4 chore(release): Update version to v1.4.423 2026-02-26 20:49:52 +00:00
Kayvan Sylvan a93b98b795
Merge pull request #2032 from ksylvan/kayvan/refactor-0226
Refactor: Consolidate `NeedsRawMode` Default Implementation into `PluginBase`
2026-02-26 12:47:32 -08:00
Kayvan Sylvan 101e189125 chore: incoming 2032 changelog entry 2026-02-26 12:45:16 -08:00
Kayvan Sylvan efd10061e4 refactor: move NeedsRawMode default implementation to PluginBase
- Add default `NeedsRawMode` method to shared `PluginBase` struct
- Remove redundant `NeedsRawMode` implementations across all AI vendor plugins
- Consolidate default `false` return logic into single base plugin method
- Clean up duplicate boilerplate from anthropic, bedrock, copilot, gemini plugins
- Remove identical implementations from azureaigateway, vertexai, lmstudio, dryrun
2026-02-26 12:39:49 -08:00
github-actions[bot] 959ba5b82f chore(release): Update version to v1.4.422 2026-02-26 06:25:26 +00:00
Kayvan Sylvan b28501c0ac
Merge pull request #2031 from ksylvan/kayvan/web-model-lists
Web UI: Add Vendor Filter Dropdown to Model Selection UI
2026-02-25 22:23:06 -08:00
Kayvan Sylvan 420a7893f9 chore: incoming 2031 changelog entry 2026-02-25 22:17:47 -08:00
Kayvan Sylvan e6d9490dc9 feat: add vendor filter dropdown and sorted model listing to chat UI
- Add vendor selector dropdown to filter available models
- Introduce `selectedVendor` writable store for vendor selection
- Add `vendorNames` derived store with sorted unique vendor names
- Add `filteredModels` derived store filtered by selected vendor
- Fix model deduplication to use `vendor:name` composite key
- Sort models by vendor then name, case-insensitive
- Display vendor prefix in model option labels
2026-02-25 22:14:03 -08:00
github-actions[bot] cb11e97ea8 chore(release): Update version to v1.4.421 2026-02-26 03:00:28 +00:00
Kayvan Sylvan abf045ac81
Merge pull request #2029 from ksylvan/kayvan/web-cleanup
Web UI: Fix streaming chat: tokens now accumulate in order into a single message
2026-02-25 18:58:08 -08:00
Kayvan Sylvan d06d7c376c feat: improve streaming message handling and SSE buffer parsing
- Append content to existing assistant messages instead of replacing
- Fix loading message removal to search by index, not position
- Refactor SSE buffer splitting to always retain incomplete segments
- Trim segments before parsing to handle whitespace edge cases
- Consolidate duplicate message update logic across chat components
- Process remaining buffer after stream completion more reliably
2026-02-25 18:54:46 -08:00
dependabot[bot] 88c99dd117
chore(deps): bump the npm_and_yarn group across 1 directory with 5 updates
Bumps the npm_and_yarn group with 4 updates in the /web directory: [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit), [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte), [ajv](https://github.com/ajv-validator/ajv) and [minimatch](https://github.com/isaacs/minimatch).


Updates `@sveltejs/kit` from 2.49.5 to 2.53.1
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.53.1/packages/kit)

Updates `svelte` from 4.2.20 to 5.51.5
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.51.5/packages/svelte)

Updates `ajv` from 6.12.6 to 6.14.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.12.6...v6.14.0)

Updates `devalue` from 5.6.2 to 5.6.3
- [Release notes](https://github.com/sveltejs/devalue/releases)
- [Changelog](https://github.com/sveltejs/devalue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/devalue/compare/v5.6.2...v5.6.3)

Updates `minimatch` from 3.1.2 to 3.1.4
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.4)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.53.1
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: svelte
  dependency-version: 5.51.5
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: ajv
  dependency-version: 6.14.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: devalue
  dependency-version: 5.6.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: minimatch
  dependency-version: 3.1.4
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-25 02:13:09 +00:00
github-actions[bot] 2cf61e8a5d chore(release): Update version to v1.4.420 2026-02-24 01:12:40 +00:00
Kayvan Sylvan af89f2e295
Merge pull request #2021 from jlec/pr-2014-updates
Enhanced Azure AI Gateway with i18n Support and documentation
2026-02-23 17:10:08 -08:00
Kayvan Sylvan 103493206e fix: Address copilot review comments 2026-02-23 14:29:25 -08:00
Justin Lecher 283a548e05 feat: address PR #2014 feedback and add configurable Azure OpenAI API version
This commit addresses all review feedback from PR #2014 and adds
configurable API version support for Azure OpenAI backend.

PR Review Fixes:
- Add URL validation with HTTPS enforcement (ISC-C7)
- Implement cancellable context in SendStream with 300s timeout (ISC-C6)
- Add response body size limit (10MB) using io.LimitReader (ISC-C12)
- Update error body truncation from 200 to 500 characters (ISC-C13)
- Lowercase error messages per Go convention (ISC-C15)
- Add file-level documentation to all backend files (ISC-C14)
- Fix Bedrock max_tokens to respect opts.MaxTokens with fallback (ISC-C5)
- Document temperature/top_p mutual exclusivity in Bedrock (ISC-C11)
- Add debug logging when empty messages are skipped (ISC-C16)
- Add error check for empty message lists across all backends
- Verify and document Vertex AI endpoint path for APIM routing (ISC-C9)
- Update Azure OpenAI API version to 2025-04-01-preview (ISC-C10)

New Feature - Configurable API Version:
- Add APIVersion field to Client struct for Azure OpenAI backend
- Add optional setup question for API version (default: 2025-04-01-preview)
- Update AzureOpenAIBackend to accept and use configurable API version
- Maintain backward compatibility: empty version defaults to 2025-04-01-preview
- Add test coverage for custom API version and backward compatibility
- Update all existing tests to work with new backend signature

Test Coverage: 89.1% (maintained from 89.0%)
All 52 tests passing (49 existing + 3 new API version tests)

Internationalization polish: add AzureAIGateway locale strings across all 10 languages

- Add `azureaigateway_*` i18n keys to all 10 locale files
- Replace hardcoded error strings with `i18n.T()` calls
- Internationalize setup question prompts for gateway configuration
- Add `errors.New` in place of `fmt.Errorf` for static error strings
- Fix `url.QueryEscape` for API version query parameter encoding
- Correct `claude-opus-4-6-v1` model ID to include `:0` suffix
- Add error case for empty Bedrock text content blocks in `ParseResponse`
- Add test for Bedrock `ParseResponse` with no text content blocks
- Add `SendStream` context limitation note as inline code comment
- Truncate debug error body log output at 2000 characters
2026-02-23 13:58:32 -08:00
github-actions[bot] 6e22e55136 chore(release): Update version to v1.4.419 2026-02-22 06:05:18 +00:00
Kayvan Sylvan 4147712e96
Merge pull request #2020 from ksylvan/kayvan/add-llm-comms-logging
Add `wire` Debug Level for LLM Request/Response Logging
2026-02-21 22:03:01 -08:00
Kayvan Sylvan 114e908762 chore: incoming 2020 changelog entry 2026-02-21 20:29:46 -08:00
Kayvan Sylvan 4d4bf3cc40 feat: add wire-level debug mode (level 4) to fabric debug flag
## CHANGES

- Add debug level 4 (`wire`) to `--debug` flag options
- Update zsh completion to include new `4` debug level value
- Update bash completion to include `4` in `compgen -W` word list
- Update fish completion description and arguments with level 4
2026-02-21 20:29:00 -08:00
Kayvan Sylvan e7d0d64511 feat: add wire debug level (4) for full LLM request/response debug logging
## CHANGES

- Add `Wire` log level constant to debug level enum
- Expose `GetLevel()` function for safe concurrent level reads
- Log outbound message roles and content at wire debug level
- Log inbound stream updates and token usage at wire level
- Log non-streaming LLM responses at wire debug level
- Update `--debug` flag description to include new level 4
- Update `set_debug_level` locale strings across all 10 languages
2026-02-21 19:48:38 -08:00
github-actions[bot] 98a5ad54e3 chore(release): Update version to v1.4.418 2026-02-22 00:06:47 +00:00
Kayvan Sylvan 6b46ac1e78
Merge pull request #2019 from ksylvan/2026-02-21-i18n
feat: replace hardcoded error strings with i18n translation keys
2026-02-21 16:04:27 -08:00
Kayvan Sylvan 8505133a30 chore: incoming 2019 changelog entry 2026-02-21 16:00:20 -08:00
Kayvan Sylvan 9514f6cdfe chore: add DigitalOcean error i18n strings and sort locale keys alphabetically
- Add three new DigitalOcean error message translation keys across all locales
- Add plugin registry vendor and setup default translation keys
- Move misplaced locale entries into correct alphabetical order
- Replace hardcoded English error strings with `i18n.T()` calls in DigitalOcean client
- Sort Go import statements alphabetically in YouTube tool
2026-02-21 15:55:50 -08:00
Kayvan Sylvan e84edd935b refactor: replace fmt.Errorf("%s", ...) with errors.New() and normalize i18n strings
- Replace `fmt.Errorf("%s", ...)` with `errors.New()` across all packages
- Add `errors` import where needed, remove unused `fmt` imports
- Lowercase error message strings in i18n locale files for Go conventions
- Add `plugin_registry_run_setup_select_defaults` i18n key for setup prompt
- Add `plugin_registry_could_not_find_vendor` i18n key for vendor errors
- Internationalize hardcoded English strings in `plugin_registry.go`
- Update `db_error_loading_env_file` format verb from `%s` to `%w` for wrapping
- Normalize error casing in en, de, es, fr, it, ja, pt-BR, pt-PT, zh, fa locales
2026-02-21 15:48:01 -08:00