@autohq/cli 0.1.530 → 0.1.532
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-bridge.js +8 -2
- package/dist/index.js +1663 -267
- package/package.json +1 -1
package/dist/agent-bridge.js
CHANGED
|
@@ -27058,6 +27058,7 @@ var RuntimeBridgeBootstrapEnvelopeSchema = external_exports.object({
|
|
|
27058
27058
|
bridgeLeaseId: RuntimeBridgeLeaseIdSchema,
|
|
27059
27059
|
bootstrap: RuntimeBridgeEncryptedBootstrapSchema
|
|
27060
27060
|
});
|
|
27061
|
+
var RUNTIME_SESSION_COMMAND_HEADER_PROTOCOL_EPOCH = 1;
|
|
27061
27062
|
var RuntimeBridgeBootstrapAckSchema = external_exports.object({
|
|
27062
27063
|
status: external_exports.enum(["ready", "failed"]),
|
|
27063
27064
|
error: external_exports.string().trim().min(1).optional(),
|
|
@@ -27067,6 +27068,9 @@ var RuntimeBridgeBootstrapAckSchema = external_exports.object({
|
|
|
27067
27068
|
// actually live. Optional because runtimes older than the field predate
|
|
27068
27069
|
// reporting it; the bridge logs those as "unknown" instead of failing.
|
|
27069
27070
|
cliVersion: external_exports.string().trim().min(1).optional(),
|
|
27071
|
+
// Runtime protocol epoch for exact causal command-header forwarding on
|
|
27072
|
+
// agent-facing MCP requests. Optional for compatibility with older bridges.
|
|
27073
|
+
sessionCommandHeaderProtocolEpoch: external_exports.number().int().positive().optional(),
|
|
27070
27074
|
// Top-level bootstrap plaintext fields the runtime's tolerant parse
|
|
27071
27075
|
// stripped because its schema does not know them yet (worker-ahead skew).
|
|
27072
27076
|
// Reported so the bridge can log the degradation instead of it staying
|
|
@@ -30866,7 +30870,7 @@ Object.assign(lookup, {
|
|
|
30866
30870
|
// package.json
|
|
30867
30871
|
var package_default = {
|
|
30868
30872
|
name: "@autohq/cli",
|
|
30869
|
-
version: "0.1.
|
|
30873
|
+
version: "0.1.532",
|
|
30870
30874
|
license: "SEE LICENSE IN README.md",
|
|
30871
30875
|
publishConfig: {
|
|
30872
30876
|
access: "public"
|
|
@@ -31210,6 +31214,7 @@ function createRuntimeBridgeBootstrapListener(input) {
|
|
|
31210
31214
|
status: "ready",
|
|
31211
31215
|
at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
31212
31216
|
cliVersion,
|
|
31217
|
+
sessionCommandHeaderProtocolEpoch: RUNTIME_SESSION_COMMAND_HEADER_PROTOCOL_EPOCH,
|
|
31213
31218
|
ignoredBootstrapKeys: ignoredKeys.length > 0 ? ignoredKeys : void 0
|
|
31214
31219
|
})
|
|
31215
31220
|
);
|
|
@@ -31239,7 +31244,8 @@ function createRuntimeBridgeBootstrapListener(input) {
|
|
|
31239
31244
|
at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
31240
31245
|
// Version skew is a leading cause of bootstrap failure, so failed
|
|
31241
31246
|
// acks carry the version that could not bootstrap.
|
|
31242
|
-
cliVersion
|
|
31247
|
+
cliVersion,
|
|
31248
|
+
sessionCommandHeaderProtocolEpoch: RUNTIME_SESSION_COMMAND_HEADER_PROTOCOL_EPOCH
|
|
31243
31249
|
})
|
|
31244
31250
|
);
|
|
31245
31251
|
input.onBootstrapError(error51);
|