impel-cli 0.20.19 → 0.20.20

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,13 @@
1
1
  # Release notes
2
2
 
3
+ ## 0.20.20 — Minimal Codex adapter tool surface
4
+
5
+ - Disables Codex's stable multi-agent feature inside qualified managed adapter
6
+ profiles, removing collaboration tool schemas that fixed-binding children and
7
+ single-thread launches cannot legitimately use.
8
+ - Advances the managed profile manifest so existing adapters refresh onto the
9
+ smaller, configuration-enforced tool surface immediately.
10
+
3
11
  ## 0.20.19 — Recovered Codex stream accounting
4
12
 
5
13
  - Counts a zero-exit, completed Codex turn with a final agent message and one
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impel-cli",
3
- "version": "0.20.19",
3
+ "version": "0.20.20",
4
4
  "description": "Prepare isolated Claude and Codex workspaces for every accessible Impel tenant",
5
5
  "type": "module",
6
6
  "bin": {
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 = 11;
55
+ export const MANAGED_AGENT_MANIFEST_VERSION = 12;
56
56
 
57
57
  const NATIVE_AGENT_TOOL_NAMES = [
58
58
  NATIVE_AGENT_RUN_TOOL,
@@ -650,7 +650,7 @@ function codexAdapterInstructions(tenantId, agent) {
650
650
  const callerGuidance = usesVerbatimRelay(agent)
651
651
  ? adapterCallerSpawnGuidance("Codex")
652
652
  : null;
653
- const collaborationConstraint = `Never call spawn_agent, wait_agent, send_message, followup_task, interrupt_agent, or any other collaboration tool. Communicate with the caller only by returning one final response after the native-agent transport reaches terminal.`;
653
+ const collaborationConstraint = `Collaboration tools are disabled. Return one final response to the caller after the native-agent transport reaches terminal.`;
654
654
  if (usesDirectAnswer(agent)) {
655
655
  const completionGuidance = usesVerbatimRelay(agent)
656
656
  ? adapterAnswerVerbatimCompletionGuidance()
@@ -686,7 +686,7 @@ function codexAdapterInstructions(tenantId, agent) {
686
686
  function retiredAdapterInstructions(tenantId, agent) {
687
687
  return [
688
688
  `You are a recovery-only transport adapter for retired Impel native-agent binding ${JSON.stringify(agent.agentId)} in tenant ${JSON.stringify(tenantId)}.`,
689
- `Never call spawn_agent, wait_agent, send_message, followup_task, interrupt_agent, or any other collaboration tool. Communicate with the caller only by returning one final response after the native-agent transport reaches terminal.`,
689
+ `Collaboration tools are disabled. Return one final response to the caller after the native-agent transport reaches terminal.`,
690
690
  `You cannot start new work. Never call run_native_agent and never perform or recreate the assigned task yourself.`,
691
691
  `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.`,
692
692
  `Return successful finalText byte-for-byte. For failure, return the preserved runId, output, and error without inventing a replacement result.`,
@@ -776,6 +776,9 @@ function renderCodexConfiguration({
776
776
  `developer_instructions = ${JSON.stringify(recoveryOnly ? retiredAdapterInstructions(tenantId, agent) : codexAdapterInstructions(tenantId, agent))}`,
777
777
  "",
778
778
  ...(directCodeMode ? [
779
+ "[features]",
780
+ "multi_agent = false",
781
+ "",
779
782
  "[features.code_mode]",
780
783
  "enabled = true",
781
784
  `direct_only_tool_namespaces = [${JSON.stringify(nativeToolNamespace())}]`,