Commit Graph

145 Commits

Author SHA1 Message Date
can1357 7015f6dfd2 ci: drop zig 2026-04-30 14:25:01 +02:00
can1357 83abb9e3fb chore: bump version to 14.5.12 2026-04-30 13:06:18 +02:00
can1357 74dabef041 chore: bump version to 14.5.11 2026-04-30 07:01:25 +02:00
can1357 0e377c4914 chore: bump version to 14.5.10 2026-04-30 06:11:29 +02:00
can1357 49e62f117f chore: bump version to 14.5.9 2026-04-30 02:50:53 +02:00
can1357 c39f7e0e20 feat(scripts/session-stats): added session-stats edit/tools subcommands 2026-04-30 02:13:15 +02:00
can1357 e019c6aa93 chore: bump version to 14.5.8 2026-04-29 19:42:54 +02:00
can1357 6f9079e354 chore: bump version to 14.5.7 2026-04-29 18:07:23 +02:00
can1357 d459b667cc chore: bump version to 14.5.6 2026-04-29 16:29:53 +02:00
can1357 e217788208 chore: bump version to 14.5.5 2026-04-29 05:39:05 +02:00
can1357 bcecd23eda chore: bump version to 14.5.4 2026-04-29 01:31:51 +02:00
can1357 9e353d3363 chore: bump version to 14.5.3 2026-04-27 02:55:26 +02:00
can1357 60dcfd37bb chore: bump version to 14.5.2 2026-04-26 15:12:49 +02:00
can1357 6409d0b1ff deps: updated lockfile and tooling config for dependency management
- Updated package-manager config to use the hoisted linker and relaxed the @types/bun version range.
- Regenerated bun.lock with updated dependency pins, including postcss, safe-buffer, and string_decoder, plus added jszip nested lock entries.
- Updated the check:tools script to run biome checks without the removed tsgo typecheck step.
2026-04-26 15:12:14 +02:00
can1357 f829375809 chore: bump version to 14.5.1 2026-04-26 13:06:42 +02:00
can1357 9c8e55189f chore: bump version to 14.5.0 2026-04-26 12:28:16 +02:00
can1357 76b0393874 fix(coding-agent/tools): fixed Puppeteer browser resolution and added on-demand Chromium setup
- Replaced Puppeteer imports and package references with puppeteer-core, adding @puppeteer/browsers where needed for explicit browser management.
- Updated the browser tool to prefer a detected system Chrome/Chromium executable and respect PUPPETEER_EXECUTABLE_PATH before launch.
- Implemented lazy, on-demand Chromium download via @puppeteer/browsers with cached executable resolution and fallback error handling.

Fixes #797
2026-04-26 12:26:14 +02:00
can1357 c99bdf6729 chore: bump version to 14.4.4 2026-04-26 12:14:22 +02:00
can1357 21559626da chore: updated fix scripts to use workspace-level TypeScript fixes
- Updated the root `fix:ts` script to run `bun run --workspaces --if-present fix` after `fix:tools`.
- Updated `fix:ts:all` to run `fix:tools:all` followed by workspace-wide `fix` tasks.
- Applied minor SearXNG request cleanup, including direct `Authorization` header assignment and formatting-only formatting changes.
2026-04-26 12:12:46 +02:00
can1357 9bb40deb3c chore: bump version to 14.4.3 2026-04-26 11:17:28 +02:00
can1357 1d18640159 chore: bump version to 14.4.2 2026-04-26 09:14:20 +02:00
can1357 dc02697097 chore: bump version to 14.4.1 2026-04-26 07:24:08 +02:00
can1357 3a20aca826 chore: bump version to 14.4.0 2026-04-26 05:34:02 +02:00
can1357 6bd4cf24fd chore(scripts): updated tooling scripts and benchmark workflow configuration
- Enabled Biome VCS settings and expanded fix scripts with new `fix:all` and `fix:tools:all` commands.
- Updated `fix:ts` and `fix:tools` to separate changed-only checks from full-run formatting and generation tasks.
- Simplified edit-benchmark variant parsing by removing hardcoded validation logic, and removed deprecated flags from `run-rs-task.ts`.
2026-04-26 00:29:18 +02:00
can1357 d1da849b71 chore: bump version to 14.3.0 2026-04-25 19:12:49 +02:00
can1357 43adee7af8 chore(deps): bump catalog packages to latest
- Update all npm catalog entries to current latest versions
- Major: diff ^8 -> ^9
- Bump @typescript/native-preview to 7.0.0-dev.20260425.1
- packages/stats/tsconfig.client.json: drop react/react-dom from explicit types (auto-resolved via react-jsx)
2026-04-25 19:12:18 +02:00
can1357 b0b03cecc6 deps(deps): upgraded and pinned ajv to 8.20
- Updated package.json to allow ajv ^8.20 and added an override pinning ajv to 8.20.0.
- Added matching ajv 8.20.0 override entries in bun.lock and aligned the catalog to the new version.
- Refreshed bun.lock to replace the ajv@8.18.0 entry with ajv@8.20.0 and updated its checksum metadata.
2026-04-25 19:01:46 +02:00
can1357 1fb22e1e9a chore: bump version to 14.2.1 2026-04-24 05:55:59 +02:00
can1357 06697b3f28 chore: bump version to 14.2.0 2026-04-24 01:05:06 +02:00
can1357 ca875ad5f9 fix(ai/providers): added Bedrock proxy support and HTTP/1 fallback retry
- Enabled Bedrock runtime and AWS credential calls to use a proxy-aware HTTP/1 handler when HTTPS_PROXY, HTTP_PROXY, or ALL_PROXY (including lowercase variants) is configured.
- Added a retry path that recreates the Bedrock client with HTTP/1 transport when an initial HTTP/2-related error occurs before streaming starts.
- Updated package and lock dependencies to include Bedrock credential-provider and proxy-agent support, and documented the new Bedrock proxy environment variables.
2026-04-24 00:58:39 +02:00
can1357 e952773e24 chore: bump version to 14.1.4 2026-04-17 18:50:13 +02:00
can1357 397617e1c3 chore: bump version to 14.1.3 2026-04-17 18:07:35 +02:00
can1357 028f8c5436 chore: bump version to 14.1.2 2026-04-14 19:29:04 +02:00
can1357 7313b68f79 deps(deps): updated @oh-my-pi catalog versions in root package
- Updated root package.json @oh-my-pi entries from workspace:* to pinned 14.1.1 versioned dependencies.
- Modified the release script to automatically rewrite @oh-my-pi/* catalog versions in package.json using the release version.
- Kept the update operation before Rust workspace version bump in the release workflow.
2026-04-14 19:25:44 +02:00
can1357 afa4eb71f1 refactor(deps): removed turbo-based workspace pipeline in favor of bun workspaces
- Removed Turborepo cache steps from CI and dropped .turbo from gitignore.
- Migrated root scripts from turbo commands to bun workspace execution for build, test, lint, check, format, and fix.
- Removed turbo dependencies and deleted turbo.json task configuration files from the repository.
2026-04-13 06:19:12 +02:00
can1357 debb76723d chore: catalog imports 2026-04-13 01:06:01 +02:00
can1357 bb550efc6b chore: cleaned up documentation, test infrastructure, and dependencies across tooling
- Enhanced chunk-edit tool documentation with clarifications on @decl region behavior and guidance for attribute/decorator modifications.
- Improved chunk edit implementation to handle @body region scanning and markdown blank-line preservation with additional test coverage.
- Added oracle model review synthesis to rate-edit-tool.py for aggregating findings across multiple model reviews.
- Updated test infrastructure to run TypeScript and Rust tests in parallel using cargo nextest with improved logging control.
- Updated TypeScript dependencies including @typescript/native-preview and typescript to latest versions.
2026-04-10 15:53:41 +02:00
can1357 52719d1a7c refactor: restructured monorepo TypeScript config and build tasks for unified setup
- Migrated all package tsconfig files to extend tsconfig.workspace.json for unified TypeScript configuration across monorepo.
- Consolidated build and check scripts across 10+ packages to use biome for linting/formatting with separate type checking via tsgo.
- Renamed build scripts from build:native and build:binary to build for simplified command naming across packages/natives and packages/coding-agent.
- Refactored CI workflow to invoke bun tasks instead of inline shell scripts, reducing workflow complexity by 40+ lines.
- Removed sync-exports.ts and repro-stuck.ts scripts; deleted path aliases from tsconfig.base.json in favor of workspace-based configuration.
- Updated turbo.json with new task definitions (check:types, lint, fmt, fix) and removed build:native/embed:native tasks.
2026-04-08 17:05:20 +02:00
can1357 45bade9612 feat(chunk): added canonical chunk paths with CRC validation and selector resolution
- Added fully-qualified anchor paths in chunk read output showing complete path hierarchy with CRC checksums.
- Added exact chunk selector resolution with CRC validation to enforce canonical chunk paths in edit operations.
- Added `?` selector option to read syntax-aware chunks by canonical path listing when anchor paths are unclear.
- Improved tree-sitter range handling with `end_row_as_line()` function to correctly convert half-open ranges to 1-indexed line numbers.
- Extracted anchor label logic into `chunk_anchor_label()` const function and consolidated style-based selection.
- Removed --dev flag support from native build pipeline and dev:native npm scripts.
2026-04-07 23:31:39 +02:00
can1357 8718c62ea2 chore: update tests, lockfiles, and misc cleanups 2026-04-06 18:41:17 +02:00
Sam Biggins 15db1dec56 fix(ai): update spoofed Gemini CLI User-Agent to v0.35.3 format (#574)
* fix(ai): update spoofed Gemini CLI User-Agent to v0.35.3 format

Gemini CLI v0.35+ changed its User-Agent format:
- Dropped 'google-api-nodejs-client/10.5.0' suffix
- Added surface field (third param in parens)
- New format: GeminiCLI/VERSION/MODEL (PLATFORM; ARCH; SURFACE)

The stale v0.34.0 UA was contributing to google-gemini-cli/gemini-3.1-pro-preview
being rejected, alongside Google's new abuse detection for third-party CCA usage
(google-gemini/gemini-cli#22970).

Verified: model responds successfully with updated UA.

* feat(scripts): add spoofed version drift checker

Fetches latest stable release from google-gemini/gemini-cli GitHub
releases and compares against the hardcoded version in the provider.

  bun check-spoofed-versions         # report drift, exit 1 on mismatch
  bun check-spoofed-versions --update # apply version bump in-place

Extensible for additional spoofed tools (Antigravity, Copilot headers).
2026-04-01 05:18:58 +02:00
can1357 0462d9b88c chore(deps): removed redundant tsconfig.build.json files across packages
- Deleted tsconfig.build.json and tsconfig.check.json files that only extended the base tsconfig.json without adding configuration.
- Updated check:ts script to remove the unused packages/stats/tsconfig.client.json reference.
2026-03-08 16:31:57 +01:00
can1357 2d90ed62f3 fix(ai): handle redacted thinking + rebuild export template
- Added RedactedThinkingContent type to support secure encrypted reasoning blocks in Anthropic messages.
- Updated message transformation logic to preserve signed thinking blocks and redacted thinking for latest assistant messages in Anthropic conversations.
- Added handling for redacted_thinking events in Anthropic stream processing with type, data, and index fields.
- Added comprehensive tests validating redacted thinking block preservation and Anthropic thinking immutability during message transformation.
2026-03-05 01:51:46 +01:00
can1357 16f643ed3c refactor(clipboard): restructured clipboard copy to synchronous execution
- Converted clipboard copy operation from async to synchronous execution across native and TypeScript layers.
- Simplified copy_to_clipboard return type from task::Async<()> to Result<()> in Rust implementation.
- Removed promise chains and async/await from clipboard handlers in command and input controllers.
- Updated clipboard module documentation to explain synchronous execution avoids AppKit pasteboard warnings.
- Reordered fix:rs script to run cargo fmt before cargo clippy for consistent formatting.
2026-03-04 01:51:23 +01:00
can1357 5dc1d2e4f0 chore: removed cargo check with minimal-versions from check:rs script
- Removed the `cargo check -Z minimal-versions --workspace` command from the check:rs npm script to streamline the Rust validation pipeline.
2026-03-03 19:43:07 +01:00
can1357 45e5bc9632 chore: remove rustup npm package 2026-03-03 14:24:37 +01:00
can1357 1f78e7fa13 chore: cleanup package level stuff 2026-03-03 05:44:53 +01:00
can1357 10ee8fa107 chore(deps): updated dependencies and model configurations
- Updated dev dependencies including biome, TypeScript native preview, and lint-staged to latest versions.
- Updated AI package dependencies for Anthropic SDK, AWS Bedrock, and Zod with relaxed version constraints.
- Updated models.json with new model entries, removed premiumMultiplier fields from GitHub Copilot models, and corrected maxTokens and cost values for various providers.
- Added appearance and projfs export paths to natives package and updated peer dependency version for swarm-extension.
2026-03-03 05:06:10 +01:00
Dev Ned c22ba6b49c feat: implemented Smithery Registry for MCP search (#96)
* Implemented Smithery MCP Searchable Registry

* refactor(coding-agent): consolidated MCP registry search and improve error handling

- Extracted `parseCommandArgs` and `stripControlChars` utilities to reduce duplication in MCP command controller. Replaced custom URL opening logic with centralized `openPath` utility across OAuth and registry flows.
- Enhanced Smithery auth error handling to gracefully degrade on file read failures with logging instead of throwing, and improved chmod error reporting. Normalized Smithery API base URL to strip trailing slashes.
- Improved registry search pagination to fetch multiple pages until sufficient results are found, with semantic mode support to preserve API relevance ranking. Deduplicated entries by identity key and applied local sorting only in non-semantic mode.

---------

Co-authored-by: can1357 <me@can.ac>
2026-03-03 04:48:23 +01:00
Sage Grigull 02ebc5e8e1 add LM Studio support (#259)
* feat: Add LM Studio as a supported model provider with OpenAI-compatible API fetching and discovery.

Add LM Studio as a supported AI provider with optional API key, environment variables, and discovery.

* feat: Add rustup as a dev dependency.

* fix: Refine LM Studio API key handling to conditionally send authorization headers during model discovery based on whether the key is a default local token or a custom key, and add new tests.

* feat: Enhance OAuth token and account ID resolution for model providers in the model registry.

* rebase for packages/ai/CHANGELOG.md

* feat: improve implicit model discovery to independently auto-detect Ollama and LM Studio, and refine LM Studio base URL handling.

---------

Co-authored-by: Can Bölük <can1357@users.noreply.github.com>
2026-03-03 03:26:57 +01:00