Commit Graph
631 Commits
Author SHA1 Message Date
can1357 bd23578f55 chore: bump version to 13.9.11 2026-03-08 16:36:37 +01: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 710cd638d6 chore: bump version to 13.9.10 2026-03-08 16:24:59 +01:00
can1357 15547f73c6 chore: bump version to 13.9.8 2026-03-08 08:16:18 +01:00
can1357 d91540a1fa chore: bump version to 13.9.7 2026-03-08 04:49:35 +01:00
can1357 c3d83c2003 chore: bump version to 13.9.6 2026-03-08 03:41:22 +01:00
can1357 069d27423d chore: bump version to 13.9.5 2026-03-08 01:45:46 +01:00
can1357 aac0156476 chore: bump version to 13.9.4 2026-03-08 00:06:35 +01:00
can1357 f06fec1a2b chore: bump version to 13.9.3 2026-03-07 22:28:35 +01:00
can1357 8e3e0ebf9e feat: introduced Effort enum and ThinkingConfig for model-aware reasoning
- Introduced Effort enum and ThinkingConfig metadata for per-model reasoning capabilities with min/max effort levels.
- Migrated thinking level API from string-based ThinkingLevel to structured Effort enum across agent and AI packages.
- Added model-thinking module with effort mapping, policy application, and semantic versioning utilities for provider-specific thinking modes.
- Removed supportsXhigh() function and replaced effort clamping with model-aware validation using ThinkingConfig metadata.
- Expanded models.json with thinking configuration objects for 50+ models including Claude, Gemini, and OpenAI variants.
- Added Python analysis scripts for edit tool usage patterns and tool invocation stream processing.
2026-03-06 12:35:01 +01:00
can1357 b696842570 feat: added serviceTier option and providerPayload field to OpenAI providers
- Added serviceTier option to OpenAI providers for controlling processing priority and cost across agent, completions, responses, and codex APIs.
- Added providerPayload field to messages for transport-native history reconstruction in OpenAI Responses and Codex APIs.
- Added /fast slash command and serviceTier setting to coding-agent for toggling OpenAI priority mode with fast mode indicator.
- Added remote compaction support with encrypted reasoning preservation for OpenAI models in coding-agent.
- Removed usage caching layer across all providers and refactored UsageFetchContext to eliminate cache and now dependencies.
- Fixed OpenAI Codex streaming service_tier inclusion, provider retry logic with exponential backoff, and email-based credential deduplication.
2026-03-06 12:34:57 +01:00
can1357 bbe984ed5f chore: bump version to 13.9.2 2026-03-05 02:03:54 +01:00
can1357 ed65cf1f3e chore: bump version to 13.9.1 2026-03-05 01:33:51 +01:00
can1357 1e6cff1700 chore: bump version to 13.9.0 2026-03-05 01:19:05 +01:00
can1357 e1897ce013 refactor: migrated thinking configuration to centralized pi-ai module
- Extracted thinking module with ThinkingEffort, ThinkingLevel, and ThinkingMode types to centralize reasoning configuration across packages.
- Migrated ThinkingLevel type from pi-agent-core to pi-ai package with new validation functions parseThinkingLevel() and getAvailableThinkingLevel().
- Consolidated thinking level constants and descriptions into reusable exports (ALL_THINKING_LEVELS, THINKING_MODE_DESCRIPTIONS) for consistent UI display.
- Removed local thinking-effort-label utility and replaced formatThinkingEffortLabel() with centralized formatThinking() function from pi-ai.
- Refactored thinking mode handling to distinguish ThinkingSelector (user-facing with 'off' option) from ThinkingEffort (provider-level).
2026-03-05 00:03:40 +01:00
can1357 b495ed5174 chore: bump version to 13.8.0 2026-03-04 23:00:59 +01:00
can1357 b31548dadb chore: bump version to 13.7.9 2026-03-04 20:09:13 +01:00
can1357 af1a71baa8 chore: bump version to 13.7.8 2026-03-04 20:01:10 +01:00
can1357 0e1fd4db42 chore: bump version to 13.7.7 2026-03-04 19:14:30 +01:00
can1357 a1382eb7e9 chore: bump version to 13.7.6 2026-03-04 17:02:47 +01:00
can1357 18d2af3786 chore: bump version to 13.7.5 2026-03-04 16:02:35 +01:00
can1357 2d78683411 chore: bump version to 13.7.4 2026-03-04 02:35:44 +01:00
can1357 25d5182577 chore: bump version to 13.7.3 2026-03-04 02:25:51 +01:00
can1357 018de9fdd9 chore: bump version to 13.7.2 2026-03-04 01:09:50 +01:00
can1357 8d33fed6e4 chore: bump version to 13.7.1 2026-03-03 22:39:04 +01:00
can1357 9216723f41 chore: bump version to 13.7.0 2026-03-03 15:20:34 +01:00
can1357 65aae89215 chore: bump version to 13.6.2 2026-03-03 06:09:35 +01:00
can1357 ce74ff08a1 chore: bump version to 13.6.1 2026-03-03 05:35:11 +01:00
can1357 990be89394 chore: bump version to 13.6.0 2026-03-03 04:53:24 +01:00
can1357 d5d56ab872 chore: bump version to 13.5.8 2026-03-02 21:17:28 +01:00
can1357 03143aa5f1 chore: bump version to 13.5.7 2026-03-02 17:02:44 +01:00
can1357 e201d69d19 chore: bump version to 13.5.6 2026-03-01 20:30:51 +01:00
can1357 e49f880cd9 chore: bump version to 13.5.5 2026-03-01 20:08:02 +01:00
can1357 70dddada4f chore: bump version to 13.5.4 2026-03-01 15:51:56 +01:00
can1357 eaa8f72845 chore: bump version to 13.5.3 2026-03-01 11:41:08 +01:00
can1357 0f61b88d34 chore: bump version to 13.5.2 2026-03-01 10:00:20 +01:00
can1357 e7c9ff4d4f chore: bump version to 13.5.1 2026-03-01 08:32:59 +01:00
can1357 86769d96c8 chore: bump version to 13.5.0 2026-03-01 08:22:45 +01:00
can1357 8c89b5c38d refactor(agent): extracted tool result emission into dedicated function
- Extracted tool result emission logic into dedicated emitToolResult function to eliminate duplication.
- Consolidated tool execution result handling to emit results immediately after execution rather than deferring to post-processing loop.
- Simplified post-execution loop by delegating result emission to emitToolResult and removing redundant message construction.
2026-03-01 06:04:29 +01:00
can1357 34e061032b chore: bump version to 13.4.1 2026-03-01 04:03:39 +01:00
can1357 646d461b38 chore: bump version to 13.4.0 2026-03-01 03:38:44 +01:00
can1357 c3d0bd9773 feat(coding-agent): deferrable tools, LIFO pending-action stack, custom tool pushPendingAction
- Introduce `deferrable?: boolean` on AgentTool, CustomTool, and ToolDefinition.
  AstEditTool sets it to true; resolve is now injected only when at least one
  active tool is deferrable (previously unconditional).

- Replace single-slot PendingActionStore (set/get/clear) with a LIFO stack
  (push/peek/pop/clear). Multiple deferrable tools can stage independent
  preview actions; resolve always consumes the topmost one first.

- Wire pendingActionStore through discoverAndLoadCustomTools / loadCustomTools /
  CustomToolLoader so custom tools can call pushPendingAction(action) to
  register a resolve-compatible pending action with label, apply callback,
  optional details, and optional sourceToolName.

- Export HIDDEN_TOOLS and ResolveTool from the SDK for manual tool composition.

- Add CustomToolPendingAction type and pushPendingAction to CustomToolAPI.

- Update createAgentSession to re-inject or remove resolve after the deferrable
  audit, consistent with createTools behavior.

- Add LIFO resolve test, update existing tests (set -> push, get -> peek).

- Add docs/resolve-tool-runtime.md covering PendingActionStore internals,
  built-in producer example, and custom tool usage guide.
2026-03-01 02:57:31 +01:00
can1357 67e1aa40bf feat(coding-agent): introduced resolve tool for AST edit preview confirmation with reasoning
- Added `resolve` tool to apply or discard pending AST edit previews with required reasoning.
- Changed `ast_edit` tool to always return previews by default; removed `preview` parameter.
- Added `getToolChoice` callback option to dynamically override tool choice per LLM call.
- Implemented PendingActionStore for managing deferred tool action state across agent sessions.
- Updated agent loop to support dynamic tool choice resolution via optional callback.
2026-03-01 02:35:43 +01:00
can1357 e42b7bf3ce feat: removed normative rewrite experiment from public API and patch processing
- Removed normativeRewrite setting and buildNormativeUpdateInput() function from public API.
- Removed $normative property and TNormative generic parameter from ToolResultMessage and AgentToolResult interfaces.
- Deleted normative.ts patch normalization module and related helper functions for diff anchor processing.
- Removed rewriteAssistantToolCallArgs() and #rewriteToolCallArgs() methods that modified tool call arguments.
2026-02-28 22:11:46 +01:00
can1357 e1a7b6360e chore: bump version to 13.3.14 2026-02-28 18:46:47 +01:00
can1357 6075ee11aa chore: bump version to 13.3.13 2026-02-28 15:31:22 +01:00
can1357 3085d51859 chore: bump version to 13.3.12 2026-02-28 14:07:26 +01:00
can1357 be03b64cf6 chore: bump version to 13.3.11 2026-02-28 12:37:29 +01:00
can1357 2e54c9a18b chore: bump version to 13.3.10 2026-02-28 12:18:12 +01:00
can1357 c516c38747 chore: bump version to 13.3.9 2026-02-28 10:56:33 +01:00