impel-cli 0.20.23 → 0.20.24
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/RELEASE_NOTES.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Release notes
|
|
2
2
|
|
|
3
|
+
## 0.20.24 — Keep Codex adapters silent until terminal
|
|
4
|
+
|
|
5
|
+
- Explicitly forbids every collaboration tool inside active and recovery Codex
|
|
6
|
+
adapters so a compatible child cannot message its parent during a run.
|
|
7
|
+
- Advances the managed profile manifest so existing CLI and Desktop adapters
|
|
8
|
+
receive the stricter terminal-only behavior immediately.
|
|
9
|
+
|
|
3
10
|
## 0.20.23 — Remove skill-catalog adapter overhead
|
|
4
11
|
|
|
5
12
|
- Removes the installed skill catalog from fixed-binding Codex adapter prompts;
|
|
@@ -24,6 +24,8 @@ is treated as an eager host.
|
|
|
24
24
|
outer host deadline and resume never opens a replacement run.
|
|
25
25
|
- Parent guidance permits one spawn and one blocking wait. It forbids follow-up
|
|
26
26
|
nudges and independent synthesis while the child is running.
|
|
27
|
+
- Codex adapters explicitly forbid every collaboration tool and communicate
|
|
28
|
+
with the compatible parent only through their terminal response.
|
|
27
29
|
- Host and transport traces must never include prompts, answers, credentials, or
|
|
28
30
|
decrypted provider material. Production measurements use correlation ids,
|
|
29
31
|
phase timestamps, counts, durations, build identifiers, and terminal classes
|
package/package.json
CHANGED
package/src/agents.js
CHANGED
|
@@ -52,7 +52,7 @@ export const NATIVE_AGENT_RUN_TOOL = "run_native_agent";
|
|
|
52
52
|
export const NATIVE_AGENT_RESUME_TOOL = "resume_native_agent_run";
|
|
53
53
|
export const NATIVE_AGENT_RECOVER_TOOL = "recover_native_agent_runs";
|
|
54
54
|
export const MANAGED_AGENT_MCP_SERVER = "impel_agent";
|
|
55
|
-
export const MANAGED_AGENT_MANIFEST_VERSION =
|
|
55
|
+
export const MANAGED_AGENT_MANIFEST_VERSION = 16;
|
|
56
56
|
|
|
57
57
|
// The host model only selects the fixed MCP tool and faithfully returns its
|
|
58
58
|
// result. Luna preserves deterministic direct-only code-mode routing while the
|
|
@@ -655,7 +655,7 @@ function codexAdapterInstructions(tenantId, agent) {
|
|
|
655
655
|
const callerGuidance = usesVerbatimRelay(agent)
|
|
656
656
|
? adapterCallerSpawnGuidance("Codex")
|
|
657
657
|
: null;
|
|
658
|
-
const collaborationConstraint = `Collaboration tools are
|
|
658
|
+
const collaborationConstraint = `Collaboration tools are unavailable for this adapter. Never call send_message, followup_task, interrupt_agent, spawn_agent, or wait_agent. Return one final response to the caller only after the native-agent transport reaches terminal.`;
|
|
659
659
|
if (usesDirectAnswer(agent)) {
|
|
660
660
|
const completionGuidance = usesVerbatimRelay(agent)
|
|
661
661
|
? adapterAnswerVerbatimCompletionGuidance()
|
|
@@ -691,7 +691,7 @@ function codexAdapterInstructions(tenantId, agent) {
|
|
|
691
691
|
function retiredAdapterInstructions(tenantId, agent) {
|
|
692
692
|
return [
|
|
693
693
|
`You are a recovery-only transport adapter for retired Impel native-agent binding ${JSON.stringify(agent.agentId)} in tenant ${JSON.stringify(tenantId)}.`,
|
|
694
|
-
`Collaboration tools are
|
|
694
|
+
`Collaboration tools are unavailable for this adapter. Never call send_message, followup_task, interrupt_agent, spawn_agent, or wait_agent. Return one final response to the caller only after the native-agent transport reaches terminal.`,
|
|
695
695
|
`You cannot start new work. Never call run_native_agent and never perform or recreate the assigned task yourself.`,
|
|
696
696
|
`Call ${nativeToolName(NATIVE_AGENT_RECOVER_TOOL)} with {} to obtain integrity-validated pending handles for this fixed binding, then call ${nativeToolName(NATIVE_AGENT_RESUME_TOOL)} with the intended handle until it returns a terminal result. If multiple handles cannot be safely associated with the request, report them instead of choosing.`,
|
|
697
697
|
`Return successful finalText byte-for-byte. For failure, return the preserved runId, output, and error without inventing a replacement result.`,
|