impel-cli 0.20.5 → 0.20.6
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 +7 -0
- package/package.json +1 -1
- package/src/selfInvocation.js +16 -1
- package/src/verbatimRelay.js +1 -1
package/RELEASE_NOTES.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Release notes
|
|
2
2
|
|
|
3
|
+
## 0.20.6 — Native-agent canary controls
|
|
4
|
+
|
|
5
|
+
- Gives Codex verbatim-relay parents one explicit 60-second blocking wait so
|
|
6
|
+
direct-answer children do not trigger short-poll model turns.
|
|
7
|
+
- Forwards only the three opt-in, closed-schema native telemetry settings into
|
|
8
|
+
managed MCP processes; unrelated environment values remain excluded.
|
|
9
|
+
|
|
3
10
|
## 0.20.5 — Faster managed native agents
|
|
4
11
|
|
|
5
12
|
- Exposes exact bound tools eagerly on qualified Claude hosts while preserving
|
package/package.json
CHANGED
package/src/selfInvocation.js
CHANGED
|
@@ -67,12 +67,27 @@ export function impelCliInvocation(args = [], options = {}) {
|
|
|
67
67
|
export const IMPEL_MANAGED_MCP_ENV = brandedEnvironmentName("MANAGED_MCP");
|
|
68
68
|
export const IMPEL_TASKS_MCP_SERVER_NAME = `${RUNTIME_BRAND.cli.providerId}-tasks`;
|
|
69
69
|
export const IMPEL_NATIVE_AGENT_MCP_TARGET = "native-agent";
|
|
70
|
+
export const IMPEL_NATIVE_AGENT_TELEMETRY_ENV_NAMES = [
|
|
71
|
+
"IMPEL_NATIVE_AGENT_TELEMETRY_PATH",
|
|
72
|
+
"IMPEL_NATIVE_HOST",
|
|
73
|
+
"IMPEL_NATIVE_HOST_BUILD",
|
|
74
|
+
];
|
|
75
|
+
|
|
76
|
+
function managedMcpEnvironment(environment = process.env) {
|
|
77
|
+
const telemetry = Object.fromEntries(
|
|
78
|
+
IMPEL_NATIVE_AGENT_TELEMETRY_ENV_NAMES.flatMap((name) => {
|
|
79
|
+
const value = environment?.[name];
|
|
80
|
+
return typeof value === "string" && value.length > 0 ? [[name, value]] : [];
|
|
81
|
+
}),
|
|
82
|
+
);
|
|
83
|
+
return { [IMPEL_MANAGED_MCP_ENV]: "1", ...telemetry };
|
|
84
|
+
}
|
|
70
85
|
|
|
71
86
|
export function impelMcpInvocation(args = [], options = {}) {
|
|
72
87
|
return {
|
|
73
88
|
type: "stdio",
|
|
74
89
|
...impelCliInvocation(["mcp", ...args], options),
|
|
75
|
-
env:
|
|
90
|
+
env: managedMcpEnvironment(options.environment),
|
|
76
91
|
};
|
|
77
92
|
}
|
|
78
93
|
|
package/src/verbatimRelay.js
CHANGED
|
@@ -14,7 +14,7 @@ export function parentVerbatimRelayAppendix() {
|
|
|
14
14
|
`When an explicit custom agent's catalog-derived description declares ${VERBATIM_RELAY_OPT_IN_MARKER}, ` +
|
|
15
15
|
`spawn it with ${VERBATIM_SPAWN_REQUIREMENT} and relay its finalText verbatim with ${VERBATIM_FINAL_TEXT_CONSTRAINTS}; ` +
|
|
16
16
|
"preserve Sources sections and citations exactly. Start one child, then use one blocking wait sized for the child budget; " +
|
|
17
|
-
"
|
|
17
|
+
"on Codex, call wait_agent exactly once with timeout_ms=60000. Do not send follow-ups, short-poll the child, or synthesize while it is running. " +
|
|
18
18
|
"Custom agents without that declaration keep the default delegation behavior."
|
|
19
19
|
);
|
|
20
20
|
}
|