@cleocode/cant 2026.5.60 → 2026.5.62
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/hierarchy.d.ts +2 -1
- package/dist/hierarchy.js +2 -1
- package/dist/types.d.ts +10 -0
- package/package.json +4 -4
package/dist/hierarchy.d.ts
CHANGED
|
@@ -63,7 +63,8 @@ export declare const ORCHESTRATOR_FORBIDDEN_TOOLS: readonly ["Edit", "Write", "B
|
|
|
63
63
|
* @task T931 Thin-agent runtime enforcer
|
|
64
64
|
* @task T907 Thin-agent enforcement
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
/** @task T9215 — 'delegate_task' added to prevent tier-0 worker recursion (W1 wiring) */
|
|
67
|
+
export declare const WORKER_FORBIDDEN_SPAWN_TOOLS: readonly ["Agent", "Task", "delegate_task"];
|
|
67
68
|
/**
|
|
68
69
|
* Diagnostic code emitted when {@link stripSpawnToolsForWorker} removed one or
|
|
69
70
|
* more tools from a worker-role tool list. Callers that want to surface the
|
package/dist/hierarchy.js
CHANGED
|
@@ -29,7 +29,8 @@ exports.ORCHESTRATOR_FORBIDDEN_TOOLS = ['Edit', 'Write', 'Bash'];
|
|
|
29
29
|
* @task T931 Thin-agent runtime enforcer
|
|
30
30
|
* @task T907 Thin-agent enforcement
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
/** @task T9215 — 'delegate_task' added to prevent tier-0 worker recursion (W1 wiring) */
|
|
33
|
+
exports.WORKER_FORBIDDEN_SPAWN_TOOLS = ['Agent', 'Task', 'delegate_task'];
|
|
33
34
|
/**
|
|
34
35
|
* Diagnostic code emitted when {@link stripSpawnToolsForWorker} removed one or
|
|
35
36
|
* more tools from a worker-role tool list. Callers that want to surface the
|
package/dist/types.d.ts
CHANGED
|
@@ -100,6 +100,16 @@ export interface CantAgentV3 {
|
|
|
100
100
|
tools?: Record<string, string[]>;
|
|
101
101
|
deprecated?: boolean;
|
|
102
102
|
supersededBy?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Maximum number of tool calls a worker spawned from this agent persona may
|
|
105
|
+
* make before the harness emits `E_TOOL_BUDGET_EXCEEDED` and halts.
|
|
106
|
+
*
|
|
107
|
+
* Maps to the ORC-006 worker constraints field injected into spawn prompts.
|
|
108
|
+
* When absent the harness applies no tool-call budget.
|
|
109
|
+
*
|
|
110
|
+
* @task T1656
|
|
111
|
+
*/
|
|
112
|
+
max_tool_calls?: number;
|
|
103
113
|
}
|
|
104
114
|
/**
|
|
105
115
|
* Structural type guard for `CantAgentV3`. Validates the required surface
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleocode/cant",
|
|
3
|
-
"version": "2026.5.
|
|
3
|
+
"version": "2026.5.62",
|
|
4
4
|
"description": "CANT protocol parser and runtime for CLEO — wraps cant-core via napi-rs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"napi/"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@cleocode/contracts": "2026.5.
|
|
13
|
-
"@cleocode/core": "2026.5.
|
|
14
|
-
"@cleocode/lafs": "2026.5.
|
|
12
|
+
"@cleocode/contracts": "2026.5.62",
|
|
13
|
+
"@cleocode/core": "2026.5.62",
|
|
14
|
+
"@cleocode/lafs": "2026.5.62"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"typescript": "^6.0.2",
|