@code-yeongyu/senpi-agent-core 2026.11.6-2 → 2026.11.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/agent.d.ts CHANGED
@@ -41,6 +41,8 @@ export interface AgentOptions {
41
41
  batchStoreFactory?: AgentLoopConfig["batchStoreFactory"];
42
42
  afterToolFreeze?: AgentLoopConfig["afterToolFreeze"];
43
43
  executionScope?: AgentLoopConfig["executionScope"];
44
+ /** Makes each finished model step durable before the loop acts on it (hosted custody, C6 C.P3); unset on fused and split-local. */
45
+ commitStep?: AgentLoopConfig["commitStep"];
44
46
  onExecutionPipeline?: AgentLoopConfig["onExecutionPipeline"];
45
47
  removedToolHints?: Record<string, string>;
46
48
  resolveUnknownToolCall?: AgentLoopConfig["resolveUnknownToolCall"];
@@ -122,6 +124,7 @@ export declare class Agent {
122
124
  batchStoreFactory?: AgentLoopConfig["batchStoreFactory"];
123
125
  afterToolFreeze?: AgentLoopConfig["afterToolFreeze"];
124
126
  executionScope: NonNullable<AgentLoopConfig["executionScope"]>;
127
+ private readonly commitStep?;
125
128
  getExecutionScope?: () => NonNullable<AgentLoopConfig["executionScope"]>;
126
129
  onExecutionPipeline?: AgentLoopConfig["onExecutionPipeline"];
127
130
  /** Migration guidance returned when a removed tool name is called. */
package/dist/agent.js CHANGED
@@ -171,6 +171,7 @@ export class Agent {
171
171
  this.batchStoreFactory = runtimeOptions.batchStoreFactory;
172
172
  this.afterToolFreeze = runtimeOptions.afterToolFreeze;
173
173
  this.executionScope = runtimeOptions.executionScope ?? { id: crypto.randomUUID(), root: "" };
174
+ this.commitStep = runtimeOptions.commitStep;
174
175
  this.onExecutionPipeline = runtimeOptions.onExecutionPipeline;
175
176
  this.removedToolHints = runtimeOptions.removedToolHints ?? {};
176
177
  this.resolveUnknownToolCall = runtimeOptions.resolveUnknownToolCall;
@@ -494,6 +495,7 @@ export class Agent {
494
495
  batchStoreFactory: this.batchStoreFactory,
495
496
  afterToolFreeze: this.afterToolFreeze,
496
497
  executionScope: this.getExecutionScope?.() ?? this.executionScope,
498
+ ...(this.commitStep ? { commitStep: this.commitStep } : {}),
497
499
  onExecutionPipeline: this.onExecutionPipeline,
498
500
  removedToolHints: this.removedToolHints,
499
501
  resolveUnknownToolCall: this.resolveUnknownToolCall,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-yeongyu/senpi-agent-core",
3
- "version": "2026.11.6-2",
3
+ "version": "2026.11.9",
4
4
  "description": "General-purpose agent with transport abstraction, state management, and attachment support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -72,8 +72,8 @@
72
72
  },
73
73
  "dependencies": {
74
74
  "@earendil-works/chord": "0.99.1",
75
- "@earendil-works/pi-ai": "npm:@code-yeongyu/senpi-ai@2026.11.6-2",
76
- "@earendil-works/pi-telemetry": "npm:@code-yeongyu/senpi-telemetry@2026.11.6-2",
75
+ "@earendil-works/pi-ai": "npm:@code-yeongyu/senpi-ai@2026.11.9",
76
+ "@earendil-works/pi-telemetry": "npm:@code-yeongyu/senpi-telemetry@2026.11.9",
77
77
  "diff": "9.0.0",
78
78
  "ignore": "7.0.9",
79
79
  "typebox": "1.3.34",