@autohq/cli 0.1.530 → 0.1.531
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 +8 -2
- 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.531",
|
|
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);
|
package/dist/index.js
CHANGED
|
@@ -78606,7 +78606,7 @@ var init_package = __esm({
|
|
|
78606
78606
|
"package.json"() {
|
|
78607
78607
|
package_default = {
|
|
78608
78608
|
name: "@autohq/cli",
|
|
78609
|
-
version: "0.1.
|
|
78609
|
+
version: "0.1.531",
|
|
78610
78610
|
license: "SEE LICENSE IN README.md",
|
|
78611
78611
|
publishConfig: {
|
|
78612
78612
|
access: "public"
|
|
@@ -89643,6 +89643,7 @@ var RuntimeBridgeBootstrapEnvelopeSchema = external_exports.object({
|
|
|
89643
89643
|
bridgeLeaseId: RuntimeBridgeLeaseIdSchema2,
|
|
89644
89644
|
bootstrap: RuntimeBridgeEncryptedBootstrapSchema
|
|
89645
89645
|
});
|
|
89646
|
+
var RUNTIME_SESSION_COMMAND_HEADER_PROTOCOL_EPOCH = 1;
|
|
89646
89647
|
var RuntimeBridgeBootstrapAckSchema = external_exports.object({
|
|
89647
89648
|
status: external_exports.enum(["ready", "failed"]),
|
|
89648
89649
|
error: external_exports.string().trim().min(1).optional(),
|
|
@@ -89652,6 +89653,9 @@ var RuntimeBridgeBootstrapAckSchema = external_exports.object({
|
|
|
89652
89653
|
// actually live. Optional because runtimes older than the field predate
|
|
89653
89654
|
// reporting it; the bridge logs those as "unknown" instead of failing.
|
|
89654
89655
|
cliVersion: external_exports.string().trim().min(1).optional(),
|
|
89656
|
+
// Runtime protocol epoch for exact causal command-header forwarding on
|
|
89657
|
+
// agent-facing MCP requests. Optional for compatibility with older bridges.
|
|
89658
|
+
sessionCommandHeaderProtocolEpoch: external_exports.number().int().positive().optional(),
|
|
89655
89659
|
// Top-level bootstrap plaintext fields the runtime's tolerant parse
|
|
89656
89660
|
// stripped because its schema does not know them yet (worker-ahead skew).
|
|
89657
89661
|
// Reported so the bridge can log the degradation instead of it staying
|
|
@@ -90183,6 +90187,7 @@ function createRuntimeBridgeBootstrapListener(input) {
|
|
|
90183
90187
|
status: "ready",
|
|
90184
90188
|
at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
90185
90189
|
cliVersion,
|
|
90190
|
+
sessionCommandHeaderProtocolEpoch: RUNTIME_SESSION_COMMAND_HEADER_PROTOCOL_EPOCH,
|
|
90186
90191
|
ignoredBootstrapKeys: ignoredKeys.length > 0 ? ignoredKeys : void 0
|
|
90187
90192
|
})
|
|
90188
90193
|
);
|
|
@@ -90212,7 +90217,8 @@ function createRuntimeBridgeBootstrapListener(input) {
|
|
|
90212
90217
|
at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
90213
90218
|
// Version skew is a leading cause of bootstrap failure, so failed
|
|
90214
90219
|
// acks carry the version that could not bootstrap.
|
|
90215
|
-
cliVersion
|
|
90220
|
+
cliVersion,
|
|
90221
|
+
sessionCommandHeaderProtocolEpoch: RUNTIME_SESSION_COMMAND_HEADER_PROTOCOL_EPOCH
|
|
90216
90222
|
})
|
|
90217
90223
|
);
|
|
90218
90224
|
input.onBootstrapError(error51);
|