@autohq/cli 0.1.384 → 0.1.385
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 +36 -1
- package/dist/index.js +46 -2
- package/package.json +1 -1
package/dist/agent-bridge.js
CHANGED
|
@@ -23492,7 +23492,7 @@ Object.assign(lookup, {
|
|
|
23492
23492
|
// package.json
|
|
23493
23493
|
var package_default = {
|
|
23494
23494
|
name: "@autohq/cli",
|
|
23495
|
-
version: "0.1.
|
|
23495
|
+
version: "0.1.385",
|
|
23496
23496
|
license: "SEE LICENSE IN README.md",
|
|
23497
23497
|
publishConfig: {
|
|
23498
23498
|
access: "public"
|
|
@@ -23986,6 +23986,7 @@ var ServiceAccountIdSchema = OpaqueIdSchema2.brand();
|
|
|
23986
23986
|
var AgentIdSchema = OpaqueIdSchema2.brand();
|
|
23987
23987
|
var SessionIdSchema2 = OpaqueIdSchema2.brand();
|
|
23988
23988
|
var SessionCommandIdSchema2 = OpaqueIdSchema2.brand();
|
|
23989
|
+
var SessionParkIdSchema = OpaqueIdSchema2.brand();
|
|
23989
23990
|
var RuntimeIdSchema2 = OpaqueIdSchema2.brand();
|
|
23990
23991
|
var RuntimeBridgeLeaseIdSchema2 = OpaqueIdSchema2.brand();
|
|
23991
23992
|
var EnvironmentSetupTemplateIdSchema = OpaqueIdSchema2.brand();
|
|
@@ -28962,6 +28963,40 @@ var RunSummarySchema = external_exports.object({
|
|
|
28962
28963
|
modelFallback: RunModelFallbackSchema
|
|
28963
28964
|
});
|
|
28964
28965
|
|
|
28966
|
+
// ../../packages/schemas/src/session-parks.ts
|
|
28967
|
+
var BILLING_SESSION_PARK_TTL_MS = 7 * 24 * 60 * 60 * 1e3;
|
|
28968
|
+
var SESSION_PARK_REASON_KINDS = [
|
|
28969
|
+
"billing_insufficient_credits",
|
|
28970
|
+
"billing_spending_limit_exceeded"
|
|
28971
|
+
];
|
|
28972
|
+
var SESSION_PARK_RESUME_CONDITIONS = [
|
|
28973
|
+
"organization_credits_added",
|
|
28974
|
+
"resume_after"
|
|
28975
|
+
];
|
|
28976
|
+
var SESSION_PARK_RESOLUTIONS = [
|
|
28977
|
+
"resumed_credit_event",
|
|
28978
|
+
"resumed_resume_after",
|
|
28979
|
+
"expired"
|
|
28980
|
+
];
|
|
28981
|
+
var SessionParkReasonKindSchema = external_exports.enum(SESSION_PARK_REASON_KINDS);
|
|
28982
|
+
var SessionParkResumeConditionSchema = external_exports.enum(
|
|
28983
|
+
SESSION_PARK_RESUME_CONDITIONS
|
|
28984
|
+
);
|
|
28985
|
+
var SessionParkResolutionSchema = external_exports.enum(SESSION_PARK_RESOLUTIONS);
|
|
28986
|
+
var SessionParkRecordSchema = external_exports.object({
|
|
28987
|
+
id: SessionParkIdSchema,
|
|
28988
|
+
sessionId: SessionIdSchema2,
|
|
28989
|
+
organizationId: OrganizationIdSchema,
|
|
28990
|
+
reasonKind: SessionParkReasonKindSchema,
|
|
28991
|
+
parkCommandId: SessionCommandIdSchema2,
|
|
28992
|
+
resumeAfter: external_exports.string().datetime().nullable(),
|
|
28993
|
+
expiresAt: external_exports.string().datetime(),
|
|
28994
|
+
resolvedAt: external_exports.string().datetime().nullable(),
|
|
28995
|
+
resolution: SessionParkResolutionSchema.nullable(),
|
|
28996
|
+
createdAt: external_exports.string().datetime(),
|
|
28997
|
+
updatedAt: external_exports.string().datetime()
|
|
28998
|
+
});
|
|
28999
|
+
|
|
28965
29000
|
// ../../packages/schemas/src/session-turns.ts
|
|
28966
29001
|
var SESSION_TURN_STATUSES = [
|
|
28967
29002
|
"accepted",
|
package/dist/index.js
CHANGED
|
@@ -15170,7 +15170,7 @@ var init_zod = __esm({
|
|
|
15170
15170
|
});
|
|
15171
15171
|
|
|
15172
15172
|
// ../../packages/schemas/src/ids.ts
|
|
15173
|
-
var OpaqueIdSchema, ProfileIdSchema, EnvironmentIdSchema, IdentityIdSchema, ConnectionIdSchema, ExternalAccountIdSchema, OrganizationIdSchema, ProjectIdSchema, ProviderGrantIdSchema, ServiceAccountIdSchema, AgentIdSchema, SessionIdSchema, SessionCommandIdSchema, RuntimeIdSchema, RuntimeBridgeLeaseIdSchema, EnvironmentSetupTemplateIdSchema, UserIdSchema;
|
|
15173
|
+
var OpaqueIdSchema, ProfileIdSchema, EnvironmentIdSchema, IdentityIdSchema, ConnectionIdSchema, ExternalAccountIdSchema, OrganizationIdSchema, ProjectIdSchema, ProviderGrantIdSchema, ServiceAccountIdSchema, AgentIdSchema, SessionIdSchema, SessionCommandIdSchema, SessionParkIdSchema, RuntimeIdSchema, RuntimeBridgeLeaseIdSchema, EnvironmentSetupTemplateIdSchema, UserIdSchema;
|
|
15174
15174
|
var init_ids = __esm({
|
|
15175
15175
|
"../../packages/schemas/src/ids.ts"() {
|
|
15176
15176
|
"use strict";
|
|
@@ -15188,6 +15188,7 @@ var init_ids = __esm({
|
|
|
15188
15188
|
AgentIdSchema = OpaqueIdSchema.brand();
|
|
15189
15189
|
SessionIdSchema = OpaqueIdSchema.brand();
|
|
15190
15190
|
SessionCommandIdSchema = OpaqueIdSchema.brand();
|
|
15191
|
+
SessionParkIdSchema = OpaqueIdSchema.brand();
|
|
15191
15192
|
RuntimeIdSchema = OpaqueIdSchema.brand();
|
|
15192
15193
|
RuntimeBridgeLeaseIdSchema = OpaqueIdSchema.brand();
|
|
15193
15194
|
EnvironmentSetupTemplateIdSchema = OpaqueIdSchema.brand();
|
|
@@ -20680,6 +20681,48 @@ var init_session_introspection = __esm({
|
|
|
20680
20681
|
}
|
|
20681
20682
|
});
|
|
20682
20683
|
|
|
20684
|
+
// ../../packages/schemas/src/session-parks.ts
|
|
20685
|
+
var BILLING_SESSION_PARK_TTL_MS, SESSION_PARK_REASON_KINDS, SESSION_PARK_RESUME_CONDITIONS, SESSION_PARK_RESOLUTIONS, SessionParkReasonKindSchema, SessionParkResumeConditionSchema, SessionParkResolutionSchema, SessionParkRecordSchema;
|
|
20686
|
+
var init_session_parks = __esm({
|
|
20687
|
+
"../../packages/schemas/src/session-parks.ts"() {
|
|
20688
|
+
"use strict";
|
|
20689
|
+
init_zod();
|
|
20690
|
+
init_ids();
|
|
20691
|
+
BILLING_SESSION_PARK_TTL_MS = 7 * 24 * 60 * 60 * 1e3;
|
|
20692
|
+
SESSION_PARK_REASON_KINDS = [
|
|
20693
|
+
"billing_insufficient_credits",
|
|
20694
|
+
"billing_spending_limit_exceeded"
|
|
20695
|
+
];
|
|
20696
|
+
SESSION_PARK_RESUME_CONDITIONS = [
|
|
20697
|
+
"organization_credits_added",
|
|
20698
|
+
"resume_after"
|
|
20699
|
+
];
|
|
20700
|
+
SESSION_PARK_RESOLUTIONS = [
|
|
20701
|
+
"resumed_credit_event",
|
|
20702
|
+
"resumed_resume_after",
|
|
20703
|
+
"expired"
|
|
20704
|
+
];
|
|
20705
|
+
SessionParkReasonKindSchema = external_exports.enum(SESSION_PARK_REASON_KINDS);
|
|
20706
|
+
SessionParkResumeConditionSchema = external_exports.enum(
|
|
20707
|
+
SESSION_PARK_RESUME_CONDITIONS
|
|
20708
|
+
);
|
|
20709
|
+
SessionParkResolutionSchema = external_exports.enum(SESSION_PARK_RESOLUTIONS);
|
|
20710
|
+
SessionParkRecordSchema = external_exports.object({
|
|
20711
|
+
id: SessionParkIdSchema,
|
|
20712
|
+
sessionId: SessionIdSchema,
|
|
20713
|
+
organizationId: OrganizationIdSchema,
|
|
20714
|
+
reasonKind: SessionParkReasonKindSchema,
|
|
20715
|
+
parkCommandId: SessionCommandIdSchema,
|
|
20716
|
+
resumeAfter: external_exports.string().datetime().nullable(),
|
|
20717
|
+
expiresAt: external_exports.string().datetime(),
|
|
20718
|
+
resolvedAt: external_exports.string().datetime().nullable(),
|
|
20719
|
+
resolution: SessionParkResolutionSchema.nullable(),
|
|
20720
|
+
createdAt: external_exports.string().datetime(),
|
|
20721
|
+
updatedAt: external_exports.string().datetime()
|
|
20722
|
+
});
|
|
20723
|
+
}
|
|
20724
|
+
});
|
|
20725
|
+
|
|
20683
20726
|
// ../../packages/schemas/src/session-turns.ts
|
|
20684
20727
|
var SESSION_TURN_STATUSES, SESSION_TURN_FAILURE_SCOPES, SessionTurnStatusSchema, SessionTurnFailureScopeSchema, SessionTurnRecordSchema;
|
|
20685
20728
|
var init_session_turns = __esm({
|
|
@@ -31149,6 +31192,7 @@ var init_src = __esm({
|
|
|
31149
31192
|
init_resources();
|
|
31150
31193
|
init_session_diagnostics();
|
|
31151
31194
|
init_session_introspection();
|
|
31195
|
+
init_session_parks();
|
|
31152
31196
|
init_session_turns();
|
|
31153
31197
|
init_secrets();
|
|
31154
31198
|
init_session_bindings();
|
|
@@ -33925,7 +33969,7 @@ var init_package = __esm({
|
|
|
33925
33969
|
"package.json"() {
|
|
33926
33970
|
package_default = {
|
|
33927
33971
|
name: "@autohq/cli",
|
|
33928
|
-
version: "0.1.
|
|
33972
|
+
version: "0.1.385",
|
|
33929
33973
|
license: "SEE LICENSE IN README.md",
|
|
33930
33974
|
publishConfig: {
|
|
33931
33975
|
access: "public"
|