@autohq/cli 0.1.209 → 0.1.210
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 +24 -1
- package/dist/index.js +33 -1
- package/package.json +1 -1
package/dist/agent-bridge.js
CHANGED
|
@@ -23089,10 +23089,33 @@ function runtimeLogLevelEnabled(configured, lineLevel) {
|
|
|
23089
23089
|
return LEVEL_SEVERITY[lineLevel] >= LEVEL_SEVERITY[configured];
|
|
23090
23090
|
}
|
|
23091
23091
|
|
|
23092
|
+
// ../../packages/schemas/src/runtime-log-tailer.ts
|
|
23093
|
+
var RuntimeLogTailerWorkflowInputSchema = external_exports.object({
|
|
23094
|
+
sessionId: SessionIdSchema2,
|
|
23095
|
+
sandboxId: external_exports.string().trim().min(1)
|
|
23096
|
+
}).strict();
|
|
23097
|
+
var RUNTIME_TAIL_SANDBOX_STATES = [
|
|
23098
|
+
"running",
|
|
23099
|
+
"paused",
|
|
23100
|
+
"gone"
|
|
23101
|
+
];
|
|
23102
|
+
var RuntimeTailSandboxStateSchema = external_exports.enum(
|
|
23103
|
+
RUNTIME_TAIL_SANDBOX_STATES
|
|
23104
|
+
);
|
|
23105
|
+
var TailRuntimeLogResultSchema = external_exports.object({
|
|
23106
|
+
state: RuntimeTailSandboxStateSchema,
|
|
23107
|
+
forwardedLineCount: external_exports.number().int().nonnegative(),
|
|
23108
|
+
newOffset: external_exports.number().int().nonnegative(),
|
|
23109
|
+
// True when the durable log still has bytes past newOffset, so the workflow
|
|
23110
|
+
// should drain again immediately instead of waiting the poll interval.
|
|
23111
|
+
hadMore: external_exports.boolean()
|
|
23112
|
+
});
|
|
23113
|
+
|
|
23092
23114
|
// ../../packages/schemas/src/runtimes.ts
|
|
23093
23115
|
var RuntimeRecordSchema = external_exports.object({
|
|
23094
23116
|
id: RuntimeIdSchema2,
|
|
23095
23117
|
sandboxId: external_exports.string().trim().min(1).nullable(),
|
|
23118
|
+
logTailOffset: external_exports.number().int().nonnegative(),
|
|
23096
23119
|
createdAt: external_exports.string().datetime(),
|
|
23097
23120
|
updatedAt: external_exports.string().datetime()
|
|
23098
23121
|
});
|
|
@@ -26749,7 +26772,7 @@ Object.assign(lookup, {
|
|
|
26749
26772
|
// package.json
|
|
26750
26773
|
var package_default = {
|
|
26751
26774
|
name: "@autohq/cli",
|
|
26752
|
-
version: "0.1.
|
|
26775
|
+
version: "0.1.210",
|
|
26753
26776
|
license: "SEE LICENSE IN README.md",
|
|
26754
26777
|
publishConfig: {
|
|
26755
26778
|
access: "public"
|
package/dist/index.js
CHANGED
|
@@ -19000,6 +19000,36 @@ var init_runtime_log = __esm({
|
|
|
19000
19000
|
}
|
|
19001
19001
|
});
|
|
19002
19002
|
|
|
19003
|
+
// ../../packages/schemas/src/runtime-log-tailer.ts
|
|
19004
|
+
var RuntimeLogTailerWorkflowInputSchema, RUNTIME_TAIL_SANDBOX_STATES, RuntimeTailSandboxStateSchema, TailRuntimeLogResultSchema;
|
|
19005
|
+
var init_runtime_log_tailer = __esm({
|
|
19006
|
+
"../../packages/schemas/src/runtime-log-tailer.ts"() {
|
|
19007
|
+
"use strict";
|
|
19008
|
+
init_zod();
|
|
19009
|
+
init_ids();
|
|
19010
|
+
RuntimeLogTailerWorkflowInputSchema = external_exports.object({
|
|
19011
|
+
sessionId: SessionIdSchema,
|
|
19012
|
+
sandboxId: external_exports.string().trim().min(1)
|
|
19013
|
+
}).strict();
|
|
19014
|
+
RUNTIME_TAIL_SANDBOX_STATES = [
|
|
19015
|
+
"running",
|
|
19016
|
+
"paused",
|
|
19017
|
+
"gone"
|
|
19018
|
+
];
|
|
19019
|
+
RuntimeTailSandboxStateSchema = external_exports.enum(
|
|
19020
|
+
RUNTIME_TAIL_SANDBOX_STATES
|
|
19021
|
+
);
|
|
19022
|
+
TailRuntimeLogResultSchema = external_exports.object({
|
|
19023
|
+
state: RuntimeTailSandboxStateSchema,
|
|
19024
|
+
forwardedLineCount: external_exports.number().int().nonnegative(),
|
|
19025
|
+
newOffset: external_exports.number().int().nonnegative(),
|
|
19026
|
+
// True when the durable log still has bytes past newOffset, so the workflow
|
|
19027
|
+
// should drain again immediately instead of waiting the poll interval.
|
|
19028
|
+
hadMore: external_exports.boolean()
|
|
19029
|
+
});
|
|
19030
|
+
}
|
|
19031
|
+
});
|
|
19032
|
+
|
|
19003
19033
|
// ../../packages/schemas/src/runtimes.ts
|
|
19004
19034
|
var RuntimeRecordSchema, SessionCommandDispatchWorkflowInputSchema, SessionCommandDispatchSignalPayloadSchema, RealtimeRunCursorSchema;
|
|
19005
19035
|
var init_runtimes = __esm({
|
|
@@ -19010,6 +19040,7 @@ var init_runtimes = __esm({
|
|
|
19010
19040
|
RuntimeRecordSchema = external_exports.object({
|
|
19011
19041
|
id: RuntimeIdSchema,
|
|
19012
19042
|
sandboxId: external_exports.string().trim().min(1).nullable(),
|
|
19043
|
+
logTailOffset: external_exports.number().int().nonnegative(),
|
|
19013
19044
|
createdAt: external_exports.string().datetime(),
|
|
19014
19045
|
updatedAt: external_exports.string().datetime()
|
|
19015
19046
|
});
|
|
@@ -19069,6 +19100,7 @@ var init_src = __esm({
|
|
|
19069
19100
|
init_session_commands();
|
|
19070
19101
|
init_setup();
|
|
19071
19102
|
init_runtime_log();
|
|
19103
|
+
init_runtime_log_tailer();
|
|
19072
19104
|
init_runtimes();
|
|
19073
19105
|
init_sessions();
|
|
19074
19106
|
init_agents();
|
|
@@ -21759,7 +21791,7 @@ var init_package = __esm({
|
|
|
21759
21791
|
"package.json"() {
|
|
21760
21792
|
package_default = {
|
|
21761
21793
|
name: "@autohq/cli",
|
|
21762
|
-
version: "0.1.
|
|
21794
|
+
version: "0.1.210",
|
|
21763
21795
|
license: "SEE LICENSE IN README.md",
|
|
21764
21796
|
publishConfig: {
|
|
21765
21797
|
access: "public"
|