@mutagent/sdk 0.12.32 → 0.12.33
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/commonjs/funcs/sandbox-send-sandbox-helix-session-input.d.ts +1 -1
- package/dist/commonjs/funcs/sandbox-send-sandbox-helix-session-input.js +1 -1
- package/dist/commonjs/funcs/software-factory-create-software-factory-run.d.ts +1 -1
- package/dist/commonjs/funcs/software-factory-create-software-factory-run.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/errors/helix-session-list-refusal-error.d.ts +2 -2
- package/dist/commonjs/models/helix-cloud-accepted.d.ts +10 -3
- package/dist/commonjs/models/helix-cloud-accepted.d.ts.map +1 -1
- package/dist/commonjs/models/helix-cloud-accepted.js +11 -2
- package/dist/commonjs/models/helix-cloud-accepted.js.map +1 -1
- package/dist/commonjs/models/helix-cloud-session.d.ts +4 -2
- package/dist/commonjs/models/helix-cloud-session.d.ts.map +1 -1
- package/dist/commonjs/models/helix-cloud-session.js +2 -0
- package/dist/commonjs/models/helix-cloud-session.js.map +1 -1
- package/dist/commonjs/models/operations/claim-gateway-git-hub-installation.d.ts +2 -0
- package/dist/commonjs/models/operations/claim-gateway-git-hub-installation.d.ts.map +1 -1
- package/dist/commonjs/models/operations/claim-gateway-git-hub-installation.js +2 -0
- package/dist/commonjs/models/operations/claim-gateway-git-hub-installation.js.map +1 -1
- package/dist/commonjs/models/operations/disconnect-gateway-integration.d.ts +2 -0
- package/dist/commonjs/models/operations/disconnect-gateway-integration.d.ts.map +1 -1
- package/dist/commonjs/models/operations/disconnect-gateway-integration.js +2 -0
- package/dist/commonjs/models/operations/disconnect-gateway-integration.js.map +1 -1
- package/dist/commonjs/models/operations/get-gateway-integration-attempt.d.ts +2 -0
- package/dist/commonjs/models/operations/get-gateway-integration-attempt.d.ts.map +1 -1
- package/dist/commonjs/models/operations/get-gateway-integration-attempt.js +2 -0
- package/dist/commonjs/models/operations/get-gateway-integration-attempt.js.map +1 -1
- package/dist/commonjs/models/operations/list-gateway-integrations.d.ts +2 -0
- package/dist/commonjs/models/operations/list-gateway-integrations.d.ts.map +1 -1
- package/dist/commonjs/models/operations/list-gateway-integrations.js +2 -0
- package/dist/commonjs/models/operations/list-gateway-integrations.js.map +1 -1
- package/dist/commonjs/models/operations/list-helix-sessions-deprecated.d.ts +1 -1
- package/dist/commonjs/models/operations/list-sandbox-sessions.d.ts +1 -1
- package/dist/commonjs/models/operations/use-gateway-git-hub-org-installation.d.ts +2 -0
- package/dist/commonjs/models/operations/use-gateway-git-hub-org-installation.d.ts.map +1 -1
- package/dist/commonjs/models/operations/use-gateway-git-hub-org-installation.js +2 -0
- package/dist/commonjs/models/operations/use-gateway-git-hub-org-installation.js.map +1 -1
- package/dist/commonjs/models/session-input-accepted.d.ts +8 -1
- package/dist/commonjs/models/session-input-accepted.d.ts.map +1 -1
- package/dist/commonjs/models/session-input-accepted.js +10 -1
- package/dist/commonjs/models/session-input-accepted.js.map +1 -1
- package/dist/commonjs/models/views-integration-list.d.ts +2 -0
- package/dist/commonjs/models/views-integration-list.d.ts.map +1 -1
- package/dist/commonjs/models/views-integration-list.js +2 -0
- package/dist/commonjs/models/views-integration-list.js.map +1 -1
- package/dist/commonjs/models/views-session-thread.d.ts +3 -1
- package/dist/commonjs/models/views-session-thread.d.ts.map +1 -1
- package/dist/commonjs/models/views-session-thread.js +2 -0
- package/dist/commonjs/models/views-session-thread.js.map +1 -1
- package/dist/commonjs/models/views-shell.d.ts +4 -2
- package/dist/commonjs/models/views-shell.d.ts.map +1 -1
- package/dist/commonjs/models/views-shell.js +2 -0
- package/dist/commonjs/models/views-shell.js.map +1 -1
- package/dist/commonjs/sdk/sandbox.d.ts +1 -1
- package/dist/commonjs/sdk/sandbox.js +1 -1
- package/dist/commonjs/sdk/software-factory.d.ts +1 -1
- package/dist/commonjs/sdk/software-factory.js +1 -1
- package/dist/esm/funcs/sandbox-send-sandbox-helix-session-input.d.ts +1 -1
- package/dist/esm/funcs/sandbox-send-sandbox-helix-session-input.js +1 -1
- package/dist/esm/funcs/software-factory-create-software-factory-run.d.ts +1 -1
- package/dist/esm/funcs/software-factory-create-software-factory-run.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/errors/helix-session-list-refusal-error.d.ts +2 -2
- package/dist/esm/models/helix-cloud-accepted.d.ts +10 -3
- package/dist/esm/models/helix-cloud-accepted.d.ts.map +1 -1
- package/dist/esm/models/helix-cloud-accepted.js +9 -1
- package/dist/esm/models/helix-cloud-accepted.js.map +1 -1
- package/dist/esm/models/helix-cloud-session.d.ts +4 -2
- package/dist/esm/models/helix-cloud-session.d.ts.map +1 -1
- package/dist/esm/models/helix-cloud-session.js +2 -0
- package/dist/esm/models/helix-cloud-session.js.map +1 -1
- package/dist/esm/models/operations/claim-gateway-git-hub-installation.d.ts +2 -0
- package/dist/esm/models/operations/claim-gateway-git-hub-installation.d.ts.map +1 -1
- package/dist/esm/models/operations/claim-gateway-git-hub-installation.js +2 -0
- package/dist/esm/models/operations/claim-gateway-git-hub-installation.js.map +1 -1
- package/dist/esm/models/operations/disconnect-gateway-integration.d.ts +2 -0
- package/dist/esm/models/operations/disconnect-gateway-integration.d.ts.map +1 -1
- package/dist/esm/models/operations/disconnect-gateway-integration.js +2 -0
- package/dist/esm/models/operations/disconnect-gateway-integration.js.map +1 -1
- package/dist/esm/models/operations/get-gateway-integration-attempt.d.ts +2 -0
- package/dist/esm/models/operations/get-gateway-integration-attempt.d.ts.map +1 -1
- package/dist/esm/models/operations/get-gateway-integration-attempt.js +2 -0
- package/dist/esm/models/operations/get-gateway-integration-attempt.js.map +1 -1
- package/dist/esm/models/operations/list-gateway-integrations.d.ts +2 -0
- package/dist/esm/models/operations/list-gateway-integrations.d.ts.map +1 -1
- package/dist/esm/models/operations/list-gateway-integrations.js +2 -0
- package/dist/esm/models/operations/list-gateway-integrations.js.map +1 -1
- package/dist/esm/models/operations/list-helix-sessions-deprecated.d.ts +1 -1
- package/dist/esm/models/operations/list-sandbox-sessions.d.ts +1 -1
- package/dist/esm/models/operations/use-gateway-git-hub-org-installation.d.ts +2 -0
- package/dist/esm/models/operations/use-gateway-git-hub-org-installation.d.ts.map +1 -1
- package/dist/esm/models/operations/use-gateway-git-hub-org-installation.js +2 -0
- package/dist/esm/models/operations/use-gateway-git-hub-org-installation.js.map +1 -1
- package/dist/esm/models/session-input-accepted.d.ts +8 -1
- package/dist/esm/models/session-input-accepted.d.ts.map +1 -1
- package/dist/esm/models/session-input-accepted.js +8 -0
- package/dist/esm/models/session-input-accepted.js.map +1 -1
- package/dist/esm/models/views-integration-list.d.ts +2 -0
- package/dist/esm/models/views-integration-list.d.ts.map +1 -1
- package/dist/esm/models/views-integration-list.js +2 -0
- package/dist/esm/models/views-integration-list.js.map +1 -1
- package/dist/esm/models/views-session-thread.d.ts +3 -1
- package/dist/esm/models/views-session-thread.d.ts.map +1 -1
- package/dist/esm/models/views-session-thread.js +2 -0
- package/dist/esm/models/views-session-thread.js.map +1 -1
- package/dist/esm/models/views-shell.d.ts +4 -2
- package/dist/esm/models/views-shell.d.ts.map +1 -1
- package/dist/esm/models/views-shell.js +2 -0
- package/dist/esm/models/views-shell.js.map +1 -1
- package/dist/esm/sdk/sandbox.d.ts +1 -1
- package/dist/esm/sdk/sandbox.js +1 -1
- package/dist/esm/sdk/software-factory.d.ts +1 -1
- package/dist/esm/sdk/software-factory.js +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,9 @@ import * as z from "zod/v4-mini";
|
|
|
2
2
|
import * as discriminatedUnionTypes from "../types/discriminated-union.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
5
|
+
export type SessionInputAcceptedQueued = {
|
|
6
|
+
position: number;
|
|
7
|
+
};
|
|
5
8
|
/**
|
|
6
9
|
* The restore is still running; the line is queued
|
|
7
10
|
*/
|
|
@@ -30,8 +33,9 @@ export type Wake = WakeDelivered | WakeWaking | discriminatedUnionTypes.Unknown<
|
|
|
30
33
|
* Whether the line reached the session. Whether the agent accepted it is reported on the `rpc` stream, not here.
|
|
31
34
|
*/
|
|
32
35
|
export type SessionInputAccepted = {
|
|
36
|
+
queued?: SessionInputAcceptedQueued | undefined;
|
|
33
37
|
/**
|
|
34
|
-
* The server took responsibility for the line. Without `wake`, it reached the live session. With `wake.state: "waking"`, it is queued for the woken session and not delivered yet; a failed wake is reported on the session stream.
|
|
38
|
+
* The server took responsibility for the line. Without `wake` or `queued`, it reached the live session. With `queued`, it is held for a workspace turn slot. With `wake.state: "waking"`, it is queued for the woken session and not delivered yet; a failed wake is reported on the session stream.
|
|
35
39
|
*/
|
|
36
40
|
accepted: boolean;
|
|
37
41
|
/**
|
|
@@ -40,6 +44,9 @@ export type SessionInputAccepted = {
|
|
|
40
44
|
wake?: WakeDelivered | WakeWaking | discriminatedUnionTypes.Unknown<"state"> | undefined;
|
|
41
45
|
};
|
|
42
46
|
/** @internal */
|
|
47
|
+
export declare const SessionInputAcceptedQueued$inboundSchema: z.ZodMiniType<SessionInputAcceptedQueued, unknown>;
|
|
48
|
+
export declare function sessionInputAcceptedQueuedFromJSON(jsonString: string): SafeParseResult<SessionInputAcceptedQueued, SDKValidationError>;
|
|
49
|
+
/** @internal */
|
|
43
50
|
export declare const WakeWaking$inboundSchema: z.ZodMiniType<WakeWaking, unknown>;
|
|
44
51
|
export declare function wakeWakingFromJSON(jsonString: string): SafeParseResult<WakeWaking, SDKValidationError>;
|
|
45
52
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-input-accepted.d.ts","sourceRoot":"","sources":["../../../src/models/session-input-accepted.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,KAAK,uBAAuB,MAAM,iCAAiC,CAAC;A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,MAAM,GACjB,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAM3C;AAED,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,WAAW,CAC5D,oBAAoB,EACpB,OAAO,
|
|
1
|
+
{"version":3,"file":"session-input-accepted.d.ts","sourceRoot":"","sources":["../../../src/models/session-input-accepted.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,KAAK,uBAAuB,MAAM,iCAAiC,CAAC;AAE3E,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,QAAQ,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,WAAW,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,IAAI,GACZ,aAAa,GACb,UAAU,GACV,uBAAuB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,CAAC,EAAE,0BAA0B,GAAG,SAAS,CAAC;IAChD;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EACD,aAAa,GACb,UAAU,GACV,uBAAuB,CAAC,OAAO,CAAC,OAAO,CAAC,GACxC,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,WAAW,CAClE,0BAA0B,EAC1B,OAAO,CAGP,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE;AAED,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAGpE,CAAC;AAEL,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD;AAED,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,WAAW,CACrD,aAAa,EACb,OAAO,CAKP,CAAC;AAEH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD;AAED,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,WAAW,CAAC,IAAI,EAAE,OAAO,CAIxD,CAAC;AAEL,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAM3C;AAED,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,WAAW,CAC5D,oBAAoB,EACpB,OAAO,CAYP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -36,7 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.SessionInputAccepted$inboundSchema = exports.Wake$inboundSchema = exports.WakeDelivered$inboundSchema = exports.WakeWaking$inboundSchema = void 0;
|
|
39
|
+
exports.SessionInputAccepted$inboundSchema = exports.Wake$inboundSchema = exports.WakeDelivered$inboundSchema = exports.WakeWaking$inboundSchema = exports.SessionInputAcceptedQueued$inboundSchema = void 0;
|
|
40
|
+
exports.sessionInputAcceptedQueuedFromJSON = sessionInputAcceptedQueuedFromJSON;
|
|
40
41
|
exports.wakeWakingFromJSON = wakeWakingFromJSON;
|
|
41
42
|
exports.wakeDeliveredFromJSON = wakeDeliveredFromJSON;
|
|
42
43
|
exports.wakeFromJSON = wakeFromJSON;
|
|
@@ -46,6 +47,13 @@ const schemas_js_1 = require("../lib/schemas.js");
|
|
|
46
47
|
const discriminated_union_js_1 = require("../types/discriminated-union.js");
|
|
47
48
|
const types = __importStar(require("../types/primitives.js"));
|
|
48
49
|
/** @internal */
|
|
50
|
+
exports.SessionInputAcceptedQueued$inboundSchema = z.object({
|
|
51
|
+
position: types.number(),
|
|
52
|
+
});
|
|
53
|
+
function sessionInputAcceptedQueuedFromJSON(jsonString) {
|
|
54
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SessionInputAcceptedQueued$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SessionInputAcceptedQueued' from JSON`);
|
|
55
|
+
}
|
|
56
|
+
/** @internal */
|
|
49
57
|
exports.WakeWaking$inboundSchema = z
|
|
50
58
|
.object({
|
|
51
59
|
state: types.literal("waking"),
|
|
@@ -72,6 +80,7 @@ function wakeFromJSON(jsonString) {
|
|
|
72
80
|
}
|
|
73
81
|
/** @internal */
|
|
74
82
|
exports.SessionInputAccepted$inboundSchema = z.object({
|
|
83
|
+
queued: types.optional(z.lazy(() => exports.SessionInputAcceptedQueued$inboundSchema)),
|
|
75
84
|
accepted: types.boolean(),
|
|
76
85
|
wake: types.optional((0, discriminated_union_js_1.discriminatedUnion)("state", {
|
|
77
86
|
delivered: z.lazy(() => exports.WakeDelivered$inboundSchema),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-input-accepted.js","sourceRoot":"","sources":["../../../src/models/session-input-accepted.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"session-input-accepted.js","sourceRoot":"","sources":["../../../src/models/session-input-accepted.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEH,gFAQC;AAQD,gDAQC;AAYD,sDAQC;AASD,oCAQC;AAmBD,oEAQC;AA7JD,+CAAiC;AACjC,kDAA8C;AAE9C,4EAAqE;AAErE,8DAAgD;AAwDhD,gBAAgB;AACH,QAAA,wCAAwC,GAGjD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,KAAK,CAAC,MAAM,EAAE;CACzB,CAAC,CAAC;AAEH,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,wBAAwB,GAAuC,CAAC;KAC1E,MAAM,CAAC;IACN,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;CAC/B,CAAC,CAAC;AAEL,SAAgB,kBAAkB,CAChC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpD,wCAAwC,CACzC,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,2BAA2B,GAGpC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC;IACjC,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE;IACzB,UAAU,EAAE,KAAK,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAEH,SAAgB,qBAAq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AkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"views-integration-list.d.ts","sourceRoot":"","sources":["../../../src/models/views-integration-list.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,oBAAY,IAAI;IACd,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AACD;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,WAAW,CAAC,QAAQ,EAAE,OAAO,CAC1C,CAAC;AAEvB,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,WAAW,CAC5D,oBAAoB,EACpB,OAAO,
|
|
1
|
+
{"version":3,"file":"views-integration-list.d.ts","sourceRoot":"","sources":["../../../src/models/views-integration-list.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,oBAAY,IAAI;IACd,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AACD;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,WAAW,CAAC,QAAQ,EAAE,OAAO,CAC1C,CAAC;AAEvB,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,WAAW,CAC5D,oBAAoB,EACpB,OAAO,CAaP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -60,6 +60,8 @@ exports.ViewsIntegrationList$inboundSchema = z.object({
|
|
|
60
60
|
platform: types.string(),
|
|
61
61
|
role: z._default(exports.Role$inboundSchema, Role.General),
|
|
62
62
|
connected: types.boolean(),
|
|
63
|
+
grantedScopes: z.optional(z.nullable(z.array(types.string()))),
|
|
64
|
+
scopeWarning: types.optional(types.string()),
|
|
63
65
|
connectedDetail: types.optional(types.string()),
|
|
64
66
|
detailLabel: types.string(),
|
|
65
67
|
detailValue: types.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"views-integration-list.js","sourceRoot":"","sources":["../../../src/models/views-integration-list.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"views-integration-list.js","sourceRoot":"","sources":["../../../src/models/views-integration-list.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsFH,oEAQC;AA5FD,+CAAiC;AACjC,kDAA8C;AAC9C,6DAA+C;AAG/C,8DAAgD;AAGhD;;GAEG;AACH,IAAY,IAIX;AAJD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,yBAAiB,CAAA;IACjB,yBAAiB,CAAA;AACnB,CAAC,EAJW,IAAI,oBAAJ,IAAI,QAIf;AA+CD,gBAAgB;AACH,QAAA,kBAAkB,GAAqC,SAAS;KAC1E,aAAa,CAAC,IAAI,CAAC,CAAC;AAEvB,gBAAgB;AACH,QAAA,kCAAkC,GAG3C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,KAAK,CAAC,MAAM,EAAE;IACxB,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,0BAAkB,EAAE,IAAI,CAAC,OAAO,CAAC;IAClD,SAAS,EAAE,KAAK,CAAC,OAAO,EAAE;IAC1B,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAC9D,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC5C,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC/C,WAAW,EAAE,KAAK,CAAC,MAAM,EAAE;IAC3B,WAAW,EAAE,KAAK,CAAC,MAAM,EAAE;IAC3B,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CACvC,CAAC,CAAC;AAEH,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -10,7 +10,8 @@ export declare enum ViewsSessionThreadStatus {
|
|
|
10
10
|
NeedsInput = "needs-input",
|
|
11
11
|
Ready = "ready",
|
|
12
12
|
Blocked = "blocked",
|
|
13
|
-
Done = "done"
|
|
13
|
+
Done = "done",
|
|
14
|
+
Queued = "queued"
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
16
17
|
* running: live with a turn in flight; ready: between turns, ended cleanly or idle-stopped; done: ended with exit 143 after the platform stopped a completed one-shot; blocked: ended with an error or report missing; needs-input: waiting on an approval
|
|
@@ -51,6 +52,7 @@ export type ViewsSessionThread = {
|
|
|
51
52
|
* running: live with a turn in flight; ready: between turns, ended cleanly or idle-stopped; done: ended with exit 143 after the platform stopped a completed one-shot; blocked: ended with an error or report missing; needs-input: waiting on an approval
|
|
52
53
|
*/
|
|
53
54
|
status: ViewsSessionThreadStatusOpen;
|
|
55
|
+
queuePosition?: number | undefined;
|
|
54
56
|
/**
|
|
55
57
|
* The kernel lifecycle word, unchanged. When ended, display ended rather than the runtime status.
|
|
56
58
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"views-session-thread.d.ts","sourceRoot":"","sources":["../../../src/models/views-session-thread.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,oBAAY,wBAAwB;IAClC,OAAO,YAAY;IACnB,UAAU,gBAAgB;IAC1B,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,IAAI,SAAS;
|
|
1
|
+
{"version":3,"file":"views-session-thread.d.ts","sourceRoot":"","sources":["../../../src/models/views-session-thread.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,oBAAY,wBAAwB;IAClC,OAAO,YAAY;IACnB,UAAU,gBAAgB;IAC1B,KAAK,UAAU;IACf,OAAO,YAAY;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,WAAW,CAChE,4BAA4B,EAC5B,OAAO,CAC4C,CAAC;AAEtD,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,WAAW,CACnE,+BAA+B,EAC/B,OAAO,CAC+C,CAAC;AAEzD,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAE/D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,kBAAkB,EAClB,OAAO,CAqBP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -52,6 +52,7 @@ var ViewsSessionThreadStatus;
|
|
|
52
52
|
ViewsSessionThreadStatus["Ready"] = "ready";
|
|
53
53
|
ViewsSessionThreadStatus["Blocked"] = "blocked";
|
|
54
54
|
ViewsSessionThreadStatus["Done"] = "done";
|
|
55
|
+
ViewsSessionThreadStatus["Queued"] = "queued";
|
|
55
56
|
})(ViewsSessionThreadStatus || (exports.ViewsSessionThreadStatus = ViewsSessionThreadStatus = {}));
|
|
56
57
|
/**
|
|
57
58
|
* The kernel lifecycle word, unchanged. When ended, display ended rather than the runtime status.
|
|
@@ -81,6 +82,7 @@ exports.ViewsSessionThread$inboundSchema = z.object({
|
|
|
81
82
|
reference: types.string(),
|
|
82
83
|
title: types.string(),
|
|
83
84
|
status: z._default(exports.ViewsSessionThreadStatus$inboundSchema, ViewsSessionThreadStatus.Running),
|
|
85
|
+
queuePosition: types.optional(types.number()),
|
|
84
86
|
lifecycle: types.optional(exports.ViewsSessionThreadLifecycle$inboundSchema),
|
|
85
87
|
project: types.string(),
|
|
86
88
|
branch: types.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"views-session-thread.js","sourceRoot":"","sources":["../../../src/models/views-session-thread.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"views-session-thread.js","sourceRoot":"","sources":["../../../src/models/views-session-thread.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiKH,gEAQC;AAvKD,+CAAiC;AACjC,kDAA8C;AAC9C,6DAA+C;AAG/C,8DAAgD;AAGhD;;GAEG;AACH,IAAY,wBAOX;AAPD,WAAY,wBAAwB;IAClC,+CAAmB,CAAA;IACnB,sDAA0B,CAAA;IAC1B,2CAAe,CAAA;IACf,+CAAmB,CAAA;IACnB,yCAAa,CAAA;IACb,6CAAiB,CAAA;AACnB,CAAC,EAPW,wBAAwB,wCAAxB,wBAAwB,QAOnC;AAQD;;GAEG;AACH,IAAY,2BAKX;AALD,WAAY,2BAA2B;IACrC,4CAAa,CAAA;IACb,8CAAe,CAAA;IACf,sEAAuC,CAAA;IACvC,oDAAqB,CAAA;AACvB,CAAC,EALW,2BAA2B,2CAA3B,2BAA2B,QAKtC;AAQD;;GAEG;AACH,IAAY,OAEX;AAFD,WAAY,OAAO;IACjB,qCAA0B,CAAA;AAC5B,CAAC,EAFW,OAAO,uBAAP,OAAO,QAElB;AAqED,gBAAgB;AACH,QAAA,sCAAsC,GAG/C,SAAS,CAAC,aAAa,CAAC,wBAAwB,CAAC,CAAC;AAEtD,gBAAgB;AACH,QAAA,yCAAyC,GAGlD,SAAS,CAAC,aAAa,CAAC,2BAA2B,CAAC,CAAC;AAEzD,gBAAgB;AACH,QAAA,qBAAqB,GAAkC,CAAC,CAAC,IAAI,CACxE,OAAO,CACR,CAAC;AAEF,gBAAgB;AACH,QAAA,gCAAgC,GAGzC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE;IACzB,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE;IACrB,MAAM,EAAE,CAAC,CAAC,QAAQ,CAChB,8CAAsC,EACtC,wBAAwB,CAAC,OAAO,CACjC;IACD,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC7C,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,iDAAyC,CAAC;IACpE,OAAO,EAAE,KAAK,CAAC,MAAM,EAAE;IACvB,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE;IACtB,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,6BAAqB,EAAE,OAAO,CAAC,UAAU,CAAC;IAC9D,OAAO,EAAE,KAAK,CAAC,MAAM,EAAE;IACvB,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE;IACtB,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE;IACrB,QAAQ,EAAE,KAAK,CAAC,MAAM,EAAE;IACxB,WAAW,EAAE,KAAK,CAAC,MAAM,EAAE;IAC3B,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACzC,cAAc,EAAE,KAAK,CAAC,MAAM,EAAE;IAC9B,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CAC7C,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -10,7 +10,8 @@ export declare enum ThreadStatus {
|
|
|
10
10
|
NeedsInput = "needs-input",
|
|
11
11
|
Ready = "ready",
|
|
12
12
|
Blocked = "blocked",
|
|
13
|
-
Done = "done"
|
|
13
|
+
Done = "done",
|
|
14
|
+
Queued = "queued"
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
16
17
|
* running: live with a turn in flight; ready: between turns, ended cleanly or idle-stopped; done: ended with exit 143 after the platform stopped a completed one-shot; blocked: ended with an error or report missing; needs-input: waiting on an approval
|
|
@@ -73,7 +74,8 @@ export declare enum RecentSessionStatus {
|
|
|
73
74
|
NeedsInput = "needs-input",
|
|
74
75
|
Ready = "ready",
|
|
75
76
|
Blocked = "blocked",
|
|
76
|
-
Done = "done"
|
|
77
|
+
Done = "done",
|
|
78
|
+
Queued = "queued"
|
|
77
79
|
}
|
|
78
80
|
/**
|
|
79
81
|
* running: live with a turn in flight; ready: between turns, ended cleanly or idle-stopped; done: ended with exit 143 after the platform stopped a completed one-shot; blocked: ended with an error or report missing; needs-input: waiting on an approval
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"views-shell.d.ts","sourceRoot":"","sources":["../../../src/models/views-shell.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,oBAAY,YAAY;IACtB,OAAO,YAAY;IACnB,UAAU,gBAAgB;IAC1B,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,IAAI,SAAS;
|
|
1
|
+
{"version":3,"file":"views-shell.d.ts","sourceRoot":"","sources":["../../../src/models/views-shell.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,oBAAY,YAAY;IACtB,OAAO,YAAY;IACnB,UAAU,gBAAgB;IAC1B,KAAK,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gB,cAAc,CAC5B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAM7C;AAED,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAMpE,CAAC;AAEL,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD"}
|
|
@@ -56,6 +56,7 @@ var ThreadStatus;
|
|
|
56
56
|
ThreadStatus["Ready"] = "ready";
|
|
57
57
|
ThreadStatus["Blocked"] = "blocked";
|
|
58
58
|
ThreadStatus["Done"] = "done";
|
|
59
|
+
ThreadStatus["Queued"] = "queued";
|
|
59
60
|
})(ThreadStatus || (exports.ThreadStatus = ThreadStatus = {}));
|
|
60
61
|
/**
|
|
61
62
|
* The kernel lifecycle word, unchanged. When ended, display ended rather than the runtime status.
|
|
@@ -77,6 +78,7 @@ var RecentSessionStatus;
|
|
|
77
78
|
RecentSessionStatus["Ready"] = "ready";
|
|
78
79
|
RecentSessionStatus["Blocked"] = "blocked";
|
|
79
80
|
RecentSessionStatus["Done"] = "done";
|
|
81
|
+
RecentSessionStatus["Queued"] = "queued";
|
|
80
82
|
})(RecentSessionStatus || (exports.RecentSessionStatus = RecentSessionStatus = {}));
|
|
81
83
|
/**
|
|
82
84
|
* The kernel lifecycle word, unchanged. When ended, display ended rather than the runtime status.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"views-shell.js","sourceRoot":"","sources":["../../../src/models/views-shell.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"views-shell.js","sourceRoot":"","sources":["../../../src/models/views-shell.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4NH,wCAQC;AAWD,8DAQC;AA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,CAAC,OAAO,EAAE,CAAC;CAC1C,CAAC,CAAC;AAEH,SAAgB,cAAc,CAC5B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4BAAoB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChD,oCAAoC,CACrC,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,wBAAwB,GAAuC,CAAC;KAC1E,MAAM,CAAC;IACN,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,uCAA+B,CAAC,CAAC;IAChE,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,mCAA2B,CAAC,CAAC;IAClE,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,4BAAoB,CAAC,CAAC;IACnD,mBAAmB,EAAE,KAAK,CAAC,OAAO,EAAE;CACrC,CAAC,CAAC;AAEL,SAAgB,kBAAkB,CAChC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpD,wCAAwC,CACzC,CAAC;AACJ,CAAC"}
|
|
@@ -105,7 +105,7 @@ export declare class Sandbox extends ClientSDK {
|
|
|
105
105
|
* Write one line to a Helix session's stdin
|
|
106
106
|
*
|
|
107
107
|
* @remarks
|
|
108
|
-
* Writes one JSON command to an interactive session's stdin. Replies arrive as `rpc` events on `GET /api/sandbox/{id}/stream`. Use it to answer an approval request or send the next prompt. `line` must be exactly one JSON object with no newline in it: one call carries one command. A 200 means the line reached the session
|
|
108
|
+
* Writes one JSON command to an interactive session's stdin. Replies arrive as `rpc` events on `GET /api/sandbox/{id}/stream`. Use it to answer an approval request or send the next prompt. `line` must be exactly one JSON object with no newline in it: one call carries one command. A 200 means the server accepted responsibility for the line; an additive queued position means it is waiting for a workspace turn slot, otherwise the line reached the session. Whether Helix accepted it is reported on the stream. 400 if the line is not a single JSON object, 409 if the session is not running. A session whose sandbox no longer runs it is ended and, when it can be, restored from its last checkpoint and sent the line (`wake`); otherwise 410 `SESSION_GONE`.
|
|
109
109
|
*/
|
|
110
110
|
sendSandboxHelixSessionInput(request: operations.SendSandboxHelixSessionInputRequest, options?: RequestOptions): Promise<models.SessionInputAccepted>;
|
|
111
111
|
/**
|
|
@@ -162,7 +162,7 @@ class Sandbox extends sdks_js_1.ClientSDK {
|
|
|
162
162
|
* Write one line to a Helix session's stdin
|
|
163
163
|
*
|
|
164
164
|
* @remarks
|
|
165
|
-
* Writes one JSON command to an interactive session's stdin. Replies arrive as `rpc` events on `GET /api/sandbox/{id}/stream`. Use it to answer an approval request or send the next prompt. `line` must be exactly one JSON object with no newline in it: one call carries one command. A 200 means the line reached the session
|
|
165
|
+
* Writes one JSON command to an interactive session's stdin. Replies arrive as `rpc` events on `GET /api/sandbox/{id}/stream`. Use it to answer an approval request or send the next prompt. `line` must be exactly one JSON object with no newline in it: one call carries one command. A 200 means the server accepted responsibility for the line; an additive queued position means it is waiting for a workspace turn slot, otherwise the line reached the session. Whether Helix accepted it is reported on the stream. 400 if the line is not a single JSON object, 409 if the session is not running. A session whose sandbox no longer runs it is ended and, when it can be, restored from its last checkpoint and sent the line (`wake`); otherwise 410 `SESSION_GONE`.
|
|
166
166
|
*/
|
|
167
167
|
async sendSandboxHelixSessionInput(request, options) {
|
|
168
168
|
return (0, fp_js_1.unwrapAsync)((0, sandbox_send_sandbox_helix_session_input_js_1.sandboxSendSandboxHelixSessionInput)(this, request, options));
|
|
@@ -75,7 +75,7 @@ export declare class SoftwareFactory extends ClientSDK {
|
|
|
75
75
|
* Start a run from a request
|
|
76
76
|
*
|
|
77
77
|
* @remarks
|
|
78
|
-
*
|
|
78
|
+
* Starts the run at TRIAGE on the factory's current version. An exact GitHub issue ref uses that issue's WorkItem key, so board approvals and answers reach the run; another open run for the same item and factory is refused with 409 WORK_ITEM_RUN_OPEN. Other requests use run:<uuid> (the plan stage puts them on the board). The repo must be one of the factory's. Disabled factory: 409 FACTORY_DISABLED; no LLM provider: 428 NO_PROVIDER_CONFIGURED.
|
|
79
79
|
*/
|
|
80
80
|
createSoftwareFactoryRun(request: operations.CreateSoftwareFactoryRunRequest, options?: RequestOptions): Promise<operations.CreateSoftwareFactoryRunResponse>;
|
|
81
81
|
/**
|
|
@@ -137,7 +137,7 @@ class SoftwareFactory extends sdks_js_1.ClientSDK {
|
|
|
137
137
|
* Start a run from a request
|
|
138
138
|
*
|
|
139
139
|
* @remarks
|
|
140
|
-
*
|
|
140
|
+
* Starts the run at TRIAGE on the factory's current version. An exact GitHub issue ref uses that issue's WorkItem key, so board approvals and answers reach the run; another open run for the same item and factory is refused with 409 WORK_ITEM_RUN_OPEN. Other requests use run:<uuid> (the plan stage puts them on the board). The repo must be one of the factory's. Disabled factory: 409 FACTORY_DISABLED; no LLM provider: 428 NO_PROVIDER_CONFIGURED.
|
|
141
141
|
*/
|
|
142
142
|
async createSoftwareFactoryRun(request, options) {
|
|
143
143
|
return (0, fp_js_1.unwrapAsync)((0, software_factory_create_software_factory_run_js_1.softwareFactoryCreateSoftwareFactoryRun)(this, request, options));
|
|
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
|
|
|
13
13
|
* Write one line to a Helix session's stdin
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Writes one JSON command to an interactive session's stdin. Replies arrive as `rpc` events on `GET /api/sandbox/{id}/stream`. Use it to answer an approval request or send the next prompt. `line` must be exactly one JSON object with no newline in it: one call carries one command. A 200 means the line reached the session
|
|
16
|
+
* Writes one JSON command to an interactive session's stdin. Replies arrive as `rpc` events on `GET /api/sandbox/{id}/stream`. Use it to answer an approval request or send the next prompt. `line` must be exactly one JSON object with no newline in it: one call carries one command. A 200 means the server accepted responsibility for the line; an additive queued position means it is waiting for a workspace turn slot, otherwise the line reached the session. Whether Helix accepted it is reported on the stream. 400 if the line is not a single JSON object, 409 if the session is not running. A session whose sandbox no longer runs it is ended and, when it can be, restored from its last checkpoint and sent the line (`wake`); otherwise 410 `SESSION_GONE`.
|
|
17
17
|
*
|
|
18
18
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
19
19
|
*/
|
|
@@ -17,7 +17,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
17
17
|
* Write one line to a Helix session's stdin
|
|
18
18
|
*
|
|
19
19
|
* @remarks
|
|
20
|
-
* Writes one JSON command to an interactive session's stdin. Replies arrive as `rpc` events on `GET /api/sandbox/{id}/stream`. Use it to answer an approval request or send the next prompt. `line` must be exactly one JSON object with no newline in it: one call carries one command. A 200 means the line reached the session
|
|
20
|
+
* Writes one JSON command to an interactive session's stdin. Replies arrive as `rpc` events on `GET /api/sandbox/{id}/stream`. Use it to answer an approval request or send the next prompt. `line` must be exactly one JSON object with no newline in it: one call carries one command. A 200 means the server accepted responsibility for the line; an additive queued position means it is waiting for a workspace turn slot, otherwise the line reached the session. Whether Helix accepted it is reported on the stream. 400 if the line is not a single JSON object, 409 if the session is not running. A session whose sandbox no longer runs it is ended and, when it can be, restored from its last checkpoint and sent the line (`wake`); otherwise 410 `SESSION_GONE`.
|
|
21
21
|
*
|
|
22
22
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
23
23
|
*/
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Start a run from a request
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* Starts the run at TRIAGE on the factory's current version. An exact GitHub issue ref uses that issue's WorkItem key, so board approvals and answers reach the run; another open run for the same item and factory is refused with 409 WORK_ITEM_RUN_OPEN. Other requests use run:<uuid> (the plan stage puts them on the board). The repo must be one of the factory's. Disabled factory: 409 FACTORY_DISABLED; no LLM provider: 428 NO_PROVIDER_CONFIGURED.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* Start a run from a request
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
*
|
|
19
|
+
* Starts the run at TRIAGE on the factory's current version. An exact GitHub issue ref uses that issue's WorkItem key, so board approvals and answers reach the run; another open run for the same item and factory is refused with 409 WORK_ITEM_RUN_OPEN. Other requests use run:<uuid> (the plan stage puts them on the board). The repo must be one of the factory's. Disabled factory: 409 FACTORY_DISABLED; no LLM provider: 428 NO_PROVIDER_CONFIGURED.
|
|
20
20
|
*
|
|
21
21
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
22
22
|
*/
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "2.0.0";
|
|
38
|
-
readonly sdkVersion: "0.12.
|
|
38
|
+
readonly sdkVersion: "0.12.33";
|
|
39
39
|
readonly genVersion: "2.938.0";
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.12.
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.12.33 2.938.0 2.0.0 @mutagent/sdk";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ export function serverURLFromOptions(options) {
|
|
|
31
31
|
export const SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "2.0.0",
|
|
34
|
-
sdkVersion: "0.12.
|
|
34
|
+
sdkVersion: "0.12.33",
|
|
35
35
|
genVersion: "2.938.0",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.12.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.12.33 2.938.0 2.0.0 @mutagent/sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -7,7 +7,7 @@ export type HelixSessionListRefusalErrorData = {
|
|
|
7
7
|
error: string;
|
|
8
8
|
message: string;
|
|
9
9
|
/**
|
|
10
|
-
* `UNKNOWN_SESSION_HARNESS` when `harness` names no known harness.
|
|
10
|
+
* `UNKNOWN_SESSION_HARNESS` when `harness` names no known harness; `SESSION_HARNESS_REPEATED` when the filter occurs more than once.
|
|
11
11
|
*/
|
|
12
12
|
code?: string | undefined;
|
|
13
13
|
/**
|
|
@@ -21,7 +21,7 @@ export declare class HelixSessionListRefusalError extends MutagentError {
|
|
|
21
21
|
*/
|
|
22
22
|
error: string;
|
|
23
23
|
/**
|
|
24
|
-
* `UNKNOWN_SESSION_HARNESS` when `harness` names no known harness.
|
|
24
|
+
* `UNKNOWN_SESSION_HARNESS` when `harness` names no known harness; `SESSION_HARNESS_REPEATED` when the filter occurs more than once.
|
|
25
25
|
*/
|
|
26
26
|
code?: string | undefined;
|
|
27
27
|
/**
|
|
@@ -2,15 +2,18 @@ import * as z from "zod/v4-mini";
|
|
|
2
2
|
import { OpenEnum } from "../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
5
|
+
export type HelixCloudAcceptedQueued = {
|
|
6
|
+
position: number;
|
|
7
|
+
};
|
|
5
8
|
/**
|
|
6
|
-
* `delivered` — the session was restored and the message
|
|
9
|
+
* `delivered` — the session was restored and the message accepted (held when `queued` is present); switch to `reference`. `waking` — the restore is still running; the message is queued and delivered once Helix is up.
|
|
7
10
|
*/
|
|
8
11
|
export declare enum HelixCloudAcceptedState {
|
|
9
12
|
Delivered = "delivered",
|
|
10
13
|
Waking = "waking"
|
|
11
14
|
}
|
|
12
15
|
/**
|
|
13
|
-
* `delivered` — the session was restored and the message
|
|
16
|
+
* `delivered` — the session was restored and the message accepted (held when `queued` is present); switch to `reference`. `waking` — the restore is still running; the message is queued and delivered once Helix is up.
|
|
14
17
|
*/
|
|
15
18
|
export type HelixCloudAcceptedStateOpen = OpenEnum<typeof HelixCloudAcceptedState>;
|
|
16
19
|
/**
|
|
@@ -18,7 +21,7 @@ export type HelixCloudAcceptedStateOpen = OpenEnum<typeof HelixCloudAcceptedStat
|
|
|
18
21
|
*/
|
|
19
22
|
export type HelixCloudAcceptedWake = {
|
|
20
23
|
/**
|
|
21
|
-
* `delivered` — the session was restored and the message
|
|
24
|
+
* `delivered` — the session was restored and the message accepted (held when `queued` is present); switch to `reference`. `waking` — the restore is still running; the message is queued and delivered once Helix is up.
|
|
22
25
|
*/
|
|
23
26
|
state: HelixCloudAcceptedStateOpen;
|
|
24
27
|
/**
|
|
@@ -38,12 +41,16 @@ export type HelixCloudAccepted = {
|
|
|
38
41
|
* Always true on a 202
|
|
39
42
|
*/
|
|
40
43
|
accepted: boolean;
|
|
44
|
+
queued?: HelixCloudAcceptedQueued | undefined;
|
|
41
45
|
/**
|
|
42
46
|
* Present only when the session had been stopped for idling: the send woke it. Messages sent to the old reference keep reaching the restored session.
|
|
43
47
|
*/
|
|
44
48
|
wake?: HelixCloudAcceptedWake | undefined;
|
|
45
49
|
};
|
|
46
50
|
/** @internal */
|
|
51
|
+
export declare const HelixCloudAcceptedQueued$inboundSchema: z.ZodMiniType<HelixCloudAcceptedQueued, unknown>;
|
|
52
|
+
export declare function helixCloudAcceptedQueuedFromJSON(jsonString: string): SafeParseResult<HelixCloudAcceptedQueued, SDKValidationError>;
|
|
53
|
+
/** @internal */
|
|
47
54
|
export declare const HelixCloudAcceptedState$inboundSchema: z.ZodMiniType<HelixCloudAcceptedStateOpen, unknown>;
|
|
48
55
|
/** @internal */
|
|
49
56
|
export declare const HelixCloudAcceptedWake$inboundSchema: z.ZodMiniType<HelixCloudAcceptedWake, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helix-cloud-accepted.d.ts","sourceRoot":"","sources":["../../../src/models/helix-cloud-accepted.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,oBAAY,uBAAuB;IACjC,SAAS,cAAc;IACvB,MAAM,WAAW;CAClB;AACD;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAChD,OAAO,uBAAuB,CAC/B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,KAAK,EAAE,2BAA2B,CAAC;IACnC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;CAC3C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,WAAW,CAC/D,2BAA2B,EAC3B,OAAO,CAC2C,CAAC;AAErD,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,sBAAsB,EACtB,OAAO,CAQP,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB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AAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D;AAED,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,WAAW,CAC/D,2BAA2B,EAC3B,OAAO,CAC2C,CAAC;AAErD,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,sBAAsB,EACtB,OAAO,CAQP,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D;AAED,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,kBAAkB,EAClB,OAAO,CAKP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -6,7 +6,7 @@ import { safeParse } from "../lib/schemas.js";
|
|
|
6
6
|
import * as openEnums from "../types/enums.js";
|
|
7
7
|
import * as types from "../types/primitives.js";
|
|
8
8
|
/**
|
|
9
|
-
* `delivered` — the session was restored and the message
|
|
9
|
+
* `delivered` — the session was restored and the message accepted (held when `queued` is present); switch to `reference`. `waking` — the restore is still running; the message is queued and delivered once Helix is up.
|
|
10
10
|
*/
|
|
11
11
|
export var HelixCloudAcceptedState;
|
|
12
12
|
(function (HelixCloudAcceptedState) {
|
|
@@ -14,6 +14,13 @@ export var HelixCloudAcceptedState;
|
|
|
14
14
|
HelixCloudAcceptedState["Waking"] = "waking";
|
|
15
15
|
})(HelixCloudAcceptedState || (HelixCloudAcceptedState = {}));
|
|
16
16
|
/** @internal */
|
|
17
|
+
export const HelixCloudAcceptedQueued$inboundSchema = z.object({
|
|
18
|
+
position: types.number(),
|
|
19
|
+
});
|
|
20
|
+
export function helixCloudAcceptedQueuedFromJSON(jsonString) {
|
|
21
|
+
return safeParse(jsonString, (x) => HelixCloudAcceptedQueued$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HelixCloudAcceptedQueued' from JSON`);
|
|
22
|
+
}
|
|
23
|
+
/** @internal */
|
|
17
24
|
export const HelixCloudAcceptedState$inboundSchema = openEnums.inboundSchema(HelixCloudAcceptedState);
|
|
18
25
|
/** @internal */
|
|
19
26
|
export const HelixCloudAcceptedWake$inboundSchema = z.object({
|
|
@@ -27,6 +34,7 @@ export function helixCloudAcceptedWakeFromJSON(jsonString) {
|
|
|
27
34
|
/** @internal */
|
|
28
35
|
export const HelixCloudAccepted$inboundSchema = z.object({
|
|
29
36
|
accepted: types.boolean(),
|
|
37
|
+
queued: types.optional(z.lazy(() => HelixCloudAcceptedQueued$inboundSchema)),
|
|
30
38
|
wake: types.optional(z.lazy(() => HelixCloudAcceptedWake$inboundSchema)),
|
|
31
39
|
});
|
|
32
40
|
export function helixCloudAcceptedFromJSON(jsonString) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helix-cloud-accepted.js","sourceRoot":"","sources":["../../../src/models/helix-cloud-accepted.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"helix-cloud-accepted.js","sourceRoot":"","sources":["../../../src/models/helix-cloud-accepted.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAOhD;;GAEG;AACH,MAAM,CAAN,IAAY,uBAGX;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,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,sCAAsC,CAAC,CAAC;IAC5E,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,oCAAoC,CAAC,CAAC;CACzE,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -10,7 +10,8 @@ export declare enum HelixCloudSessionStatus {
|
|
|
10
10
|
Ready = "ready",
|
|
11
11
|
NeedsInput = "needs-input",
|
|
12
12
|
Blocked = "blocked",
|
|
13
|
-
Done = "done"
|
|
13
|
+
Done = "done",
|
|
14
|
+
Queued = "queued"
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
16
17
|
* running: live with a turn in flight; needs-input: waiting on an approval; done: ended with exit 143 after the platform stopped a completed one-shot; ready: between turns, asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its sandbox retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
|
|
@@ -62,7 +63,7 @@ export type HelixCloudSession = {
|
|
|
62
63
|
*/
|
|
63
64
|
reference: string;
|
|
64
65
|
/**
|
|
65
|
-
* The harness the session runs: `helix`, `architech`, `claude-code` or `codex`. A session with no recorded harness
|
|
66
|
+
* The harness the session runs: `helix`, `architech`, `claude-code` or `codex`. A session with no recorded harness or a harness this server does not know reads as `helix`.
|
|
66
67
|
*/
|
|
67
68
|
harness: string;
|
|
68
69
|
/**
|
|
@@ -81,6 +82,7 @@ export type HelixCloudSession = {
|
|
|
81
82
|
* running: live with a turn in flight; needs-input: waiting on an approval; done: ended with exit 143 after the platform stopped a completed one-shot; ready: between turns, asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its sandbox retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
|
|
82
83
|
*/
|
|
83
84
|
status: HelixCloudSessionStatusOpen;
|
|
85
|
+
queuePosition?: number | undefined;
|
|
84
86
|
/**
|
|
85
87
|
* The kernel lifecycle word, unchanged
|
|
86
88
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helix-cloud-session.d.ts","sourceRoot":"","sources":["../../../src/models/helix-cloud-session.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,oBAAY,uBAAuB;IACjC,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,UAAU,gBAAgB;IAC1B,OAAO,YAAY;IACnB,IAAI,SAAS;
|
|
1
|
+
{"version":3,"file":"helix-cloud-session.d.ts","sourceRoot":"","sources":["../../../src/models/helix-cloud-session.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,oBAAY,uBAAuB;IACjC,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,UAAU,gBAAgB;IAC1B,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AACD;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAChD,OAAO,uBAAuB,CAC/B,CAAC;A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;AAEH,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
|
|
@@ -15,6 +15,7 @@ export var HelixCloudSessionStatus;
|
|
|
15
15
|
HelixCloudSessionStatus["NeedsInput"] = "needs-input";
|
|
16
16
|
HelixCloudSessionStatus["Blocked"] = "blocked";
|
|
17
17
|
HelixCloudSessionStatus["Done"] = "done";
|
|
18
|
+
HelixCloudSessionStatus["Queued"] = "queued";
|
|
18
19
|
})(HelixCloudSessionStatus || (HelixCloudSessionStatus = {}));
|
|
19
20
|
/**
|
|
20
21
|
* The kernel lifecycle word, unchanged
|
|
@@ -69,6 +70,7 @@ export const HelixCloudSession$inboundSchema = z.object({
|
|
|
69
70
|
title: types.string(),
|
|
70
71
|
goal: types.nullable(types.string()),
|
|
71
72
|
status: z._default(HelixCloudSessionStatus$inboundSchema, HelixCloudSessionStatus.Running),
|
|
73
|
+
queuePosition: types.optional(types.number()),
|
|
72
74
|
lifecycle: z._default(HelixCloudSessionLifecycle$inboundSchema, HelixCloudSessionLifecycle.Live),
|
|
73
75
|
githubDelivery: types.optional(z.lazy(() => GithubDelivery$inboundSchema)),
|
|
74
76
|
repository: types.nullable(types.string()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helix-cloud-session.js","sourceRoot":"","sources":["../../../src/models/helix-cloud-session.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAGhD;;GAEG;AACH,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"helix-cloud-session.js","sourceRoot":"","sources":["../../../src/models/helix-cloud-session.ts"],"names":[],"mappings":"AAAA;;GAEG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