Commit Graph
569 Commits
Author SHA1 Message Date
can1357 4b20bdad27 chore: bump version to 13.3.1 2026-02-26 10:45:26 +01:00
can1357 0d87031f1b feat: added sampling control parameters (topP, topK, minP, penalties) to agent options
- Added topP, topK, minP, presencePenalty, and repetitionPenalty sampling control options to StreamOptions and AgentOptions interfaces.
- Implemented getter and setter properties on Agent class for runtime configuration of model sampling parameters.
- Added UI configuration and preset value providers for five new sampling parameters in coding-agent settings schema and components.
- Integrated sampling control parameters through proxy layer and agent session configuration for end-to-end provider support.
2026-02-26 10:20:41 +01:00
can1357 383e8a29d3 chore: bump version to 13.3.0 2026-02-26 09:48:11 +01:00
can1357 5b867435e6 chore: bump version to 13.2.1 2026-02-24 03:35:13 +01:00
can1357 90b2b881fc chore: bump version to 13.2.0 2026-02-23 17:14:05 +01:00
can1357 74344eca1b fix: corrected tool description normalization to prevent undefined field errors
- Added fallback empty string for undefined tool descriptions across all AI providers to prevent runtime errors.
- Made `description` field required in CustomTool interface and normalized tool descriptions in agent-loop.
- Refactored tool normalization in agent-loop by renaming `injectIntentIntoTools()` to `normalizeTools()` with conditional intent injection.
- Added comprehensive description metadata to todo-write tool schema fields for improved clarity.
2026-02-23 17:12:59 +01:00
can1357 8f5e0c9785 chore: bump version to 13.1.2 2026-02-23 06:48:28 +01:00
can1357 fea7cb734d chore: bump version to 13.1.1 2026-02-23 01:52:09 +01:00
can1357 b8a231f2d2 chore: bump version to 13.1.0 2026-02-23 01:44:28 +01:00
can1357 330334b972 Deduplicate intent field description to save tokens
Move agent__intent description from per-tool JSON schema injection (repeated
once per tool) into a single conditional block in the system prompt template.
Token savings scale with tool count.

- agent-loop: remove description from intent schema injection
- system-prompt.md: add intentTracing/intentField template block
- sdk: compute intentField once, pass through to prompt builder
- system-prompt.ts: thread intentField option into template context
2026-02-23 01:05:48 +01:00
can1357 a96178494a refactor(coding-agent): restructured tool schemas for consistency and clarity
- Renamed `file` parameter to `path` in edit tool schemas and all test cases for consistency.
- Removed `file` property fallback from EditRenderArgs interface and path resolution methods.
- Refactored browser viewport schema to use snake_case `device_scale_factor` with explicit camelCase mapping for Puppeteer API.
- Added hashline edit rule requiring `end` tag to include closing braces/brackets when replacing blocks.
- Refactored INTENT_FIELD injection logic to conditionally reorder schema properties and update required array.
2026-02-23 00:23:53 +01:00
can1357 33235bbb6b chore: bump version to 13.0.2 2026-02-23 00:01:36 +01:00
can1357 ad20818e35 chore: bump version to 13.0.1 2026-02-22 19:58:30 +01:00
can1357 c9d345369d chore: bump version to 13.0.0 2026-02-22 19:27:17 +01:00
can1357 5f9a2050f7 chore: bump version to 12.19.3 2026-02-22 16:59:35 +01:00
can1357 545fda2d6e chore: bump version to 12.19.2 2026-02-22 16:12:25 +01:00
can1357 8044bafed9 chore: bump version to 12.19.1 2026-02-22 16:10:30 +01:00
can1357 4459c47e81 Version bumps. 2026-02-22 16:08:53 +01:00
can1357 d0520ec210 chore: bump version to 12.19.0 2026-02-22 15:35:13 +01:00
can1357 93731b45d3 feat(agent): added error details to tool result messages on failure
- Updated tool result messages to include error details when tool execution fails.
- Modified createAbortedToolResult() to accept optional errorMessage parameter for enhanced error reporting.
2026-02-22 15:23:07 +01:00
can1357 abf8c1efc9 refactor: unslop common utilities 2026-02-22 11:01:11 +01:00
can1357 bd26404088 chore: bump version to 12.18.3 2026-02-21 23:15:03 +01:00
can1357 ff16257c27 chore: bump version to 12.18.1 2026-02-21 22:59:17 +01:00
can1357 401b4f48d9 chore: bump version to 12.18.0 2026-02-21 22:54:57 +01:00
can1357 737fc46d65 chore: bump version to 12.17.2 2026-02-21 16:53:05 +01:00
can1357 efa20a0038 chore: bump version to 12.17.1 2026-02-21 16:35:51 +01:00
can1357 830cb54c3a chore: organized package distribution files and synchronized export metadata
- Updated package.json files arrays across multiple packages to include CHANGELOG.md and README.md for distribution.
- Expanded natives package description and keywords to document Rust bindings for clipboard, image, PTY, shell, and syntax-highlighting functionality.
- Added sync-exports npm script to root package.json for managing package export synchronization.
- Removed public directory from stats package and README.md from utils package distribution files.
2026-02-21 16:35:32 +01:00
can1357 a117b35f9f chore: organized package.json exports across 11 packages with sync-exports script
- Added sync-exports.ts script to enforce canonical package.json field ordering and auto-generate exports from filesystem structure.
- Expanded subpath exports across 11 packages (ai, agent, coding-agent, natives, stats, utils, tui, swarm-extension) to enable flexible module imports.
- Reorganized package.json field ordering to follow standard conventions with metadata before main/exports and files/exports at end.
- Consolidated wildcard export patterns to simplify import paths while maintaining backward compatibility with explicit subpath exports.
2026-02-21 16:21:57 +01:00
can1357 ecc1d22808 chore: bump version to 12.17.0 2026-02-21 16:05:33 +01:00
DeprecatedLukeandCan Bölük faf90b274b refactor(coding-agent)!: standardize renderCall signatures to (args, options, theme) 2026-02-21 15:50:31 +01:00
can1357 b67c048a49 chore: bump version to 12.16.0 2026-02-21 14:45:10 +01:00
can1357 a15c39ae7d feat(coding-agent/task): added subprocess output finalization with submit_result validation
- Exported `finalizeSubprocessOutput()` function and `SubmitResultItem` interface for subprocess output finalization with submit_result validation.
- Added automatic reminders (up to 3) when subagent stops without calling submit_result tool, aborting with exit code 1 after final reminder.
- Extracted subprocess output finalization logic into dedicated `finalizeSubprocessOutput()` function for improved testability and reusability.
- Added comprehensive test coverage for subagent warning injection, reminder behavior, and abort handling in executor module.
2026-02-20 17:15:02 +01:00
can1357 4abfa1ec91 chore: bump version to 12.15.1 2026-02-20 14:05:10 +01:00
can1357 35c90ed859 chore: bump version to 12.15.0 2026-02-20 12:01:52 +01:00
can1357 bb1e581bbc chore: bump version to 12.14.2 2026-02-20 06:09:41 +01:00
can1357 880891b013 chore: bump version to 12.14.1 2026-02-19 22:33:02 +01:00
can1357 c6012a5c8f chore: bump version to 12.14.0 2026-02-19 22:26:10 +01:00
can1357 963b417aa5 test(agent): removed incorrect assertion from agent loop test
- Removed incorrect assertion from agent loop test.
2026-02-19 22:25:51 +01:00
can1357 7ce3bb6906 feat(coding-agent): introduced hashline format v2 with colon separators and tag-based API
- Changed hashline format separator from pipe (|) to colon (:) for improved readability across all tools and output formats.
- Refactored hashline edit API with operation-based structure: renamed delete->rm, rename->mv, set->target/new_content, and added explicit op field for operation types.
- Updated hashline hash encoding from 4-character base36 to 2-character hexadecimal for more compact representation.
- Replaced anchor terminology with tags throughout hashline documentation and API for clearer semantics.
2026-02-19 22:04:18 +01:00
can1357 7f3079bf2f feat(coding-agent): added streamed tool intent display and hashline edit operations
- Added streamed tool intent display in working message to show real-time intent tracking during agent execution.
- Changed intent tracing field name from `$intent` to `_intent` across tool schemas and agent core for consistency.
- Added support for file deletion and renaming operations in hashline edit mode.
- Renamed hashline edit operation fields: `set` to `target`/`new_content`, `set_range` to `first`/`last`/`new_content`, `insert` to `inserted_lines`.
2026-02-19 18:05:35 +01:00
can1357 a80d00abfe feat: added intent tracing to capture tool call metadata
- Added optional `intent` field to `ToolCall` interface for capturing harness-level intent metadata.
- Added `intentTracing` configuration option to enable intent goal extraction from tool calls with automatic `$intent` field injection and argument stripping.
- Implemented intent injection and extraction logic in agent-loop to populate tool call intent metadata when intentTracing is enabled.
- Added `tools.intentTracing` setting to coding-agent configuration schema with environment variable override support.
2026-02-19 17:06:38 +01:00
can1357 751de7b192 chore: bump version to 12.13.0 2026-02-19 15:03:42 +01:00
can1357 5145eab1ba chore: bump version to 12.12.3 2026-02-19 07:53:54 +01:00
can1357 f935f45554 chore: bump version to 12.12.2 2026-02-19 06:18:44 +01:00
can1357 901ccf19bf chore: bump version to 12.12.1 2026-02-19 05:55:56 +01:00
can1357 00bb653ecb chore: bump version to 12.12.0 2026-02-19 05:13:50 +01:00
can1357 f0e0e2b570 chore: bump version to 12.11.3 2026-02-19 04:34:58 +01:00
can1357 80ba598cd2 chore: bump version to 12.11.2 2026-02-19 04:13:05 +01:00
can1357 92578430c3 chore: bump version to 12.11.1 2026-02-19 03:46:28 +01:00
can1357 c842829cf8 chore: bump version to 12.11.0 2026-02-19 03:17:56 +01:00