@mutagent/sdk 0.12.31 → 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 +8 -5
- package/dist/commonjs/models/helix-cloud-session.d.ts.map +1 -1
- package/dist/commonjs/models/helix-cloud-session.js +4 -1
- 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/sandbox-exec-request.d.ts +2 -0
- package/dist/commonjs/models/sandbox-exec-request.d.ts.map +1 -1
- package/dist/commonjs/models/sandbox-exec-request.js +1 -0
- package/dist/commonjs/models/sandbox-exec-request.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 +7 -4
- package/dist/commonjs/models/views-session-thread.d.ts.map +1 -1
- package/dist/commonjs/models/views-session-thread.js +4 -1
- package/dist/commonjs/models/views-session-thread.js.map +1 -1
- package/dist/commonjs/models/views-shell.d.ts +12 -8
- package/dist/commonjs/models/views-shell.d.ts.map +1 -1
- package/dist/commonjs/models/views-shell.js +6 -2
- 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 +8 -5
- package/dist/esm/models/helix-cloud-session.d.ts.map +1 -1
- package/dist/esm/models/helix-cloud-session.js +4 -1
- 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/sandbox-exec-request.d.ts +2 -0
- package/dist/esm/models/sandbox-exec-request.d.ts.map +1 -1
- package/dist/esm/models/sandbox-exec-request.js +1 -0
- package/dist/esm/models/sandbox-exec-request.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 +7 -4
- package/dist/esm/models/views-session-thread.d.ts.map +1 -1
- package/dist/esm/models/views-session-thread.js +4 -1
- package/dist/esm/models/views-session-thread.js.map +1 -1
- package/dist/esm/models/views-shell.d.ts +12 -8
- package/dist/esm/models/views-shell.d.ts.map +1 -1
- package/dist/esm/models/views-shell.js +6 -2
- 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
|
@@ -123,6 +123,8 @@ exports.UseGatewayGitHubOrgInstallationResponse$inboundSchema = z.object({
|
|
|
123
123
|
accountName: types.nullable(types.string()),
|
|
124
124
|
accountId: types.nullable(types.string()),
|
|
125
125
|
scope: types.nullable(z.lazy(() => exports.UseGatewayGitHubOrgInstallationScope$inboundSchema)),
|
|
126
|
+
grantedScopes: types.nullable(z.array(types.string())),
|
|
127
|
+
missingScopes: types.nullable(z.array(types.string())),
|
|
126
128
|
connectedAt: types.nullable(types.string()),
|
|
127
129
|
error: types.nullable(z.lazy(() => exports.UseGatewayGitHubOrgInstallationError$inboundSchema)),
|
|
128
130
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-gateway-git-hub-org-installation.js","sourceRoot":"","sources":["../../../../src/models/operations/use-gateway-git-hub-org-installation.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"use-gateway-git-hub-org-installation.js","sourceRoot":"","sources":["../../../../src/models/operations/use-gateway-git-hub-org-installation.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4HH,oGASC;AAQD,oGASC;AAOD,8GAcC;AA4BD,kGASC;AAgBD,oGASC;AAWD,oGASC;AA2BD,0GAcC;AApSD,+CAAiC;AACjC,qDAAiD;AACjD,gEAAkD;AAGlD,iEAAmD;AACnD,+DAAwD;AAqBxD,IAAY,oCAMX;AAND,WAAY,oCAAoC;IAC9C,+DAAuB,CAAA;IACvB,sEAA8B,CAAA;IAC9B,oEAA4B,CAAA;IAC5B,4EAAoC,CAAA;IACpC,uDAAe,CAAA;AACjB,CAAC,EANW,oCAAoC,oDAApC,oCAAoC,QAM/C;AAKD,IAAY,0CAGX;AAHD,WAAY,0CAA0C;IACpD,iEAAmB,CAAA;IACnB,uEAAyB,CAAA;AAC3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C,EAAE,EAAE,CACJ,6DAAqD,CAAC,KAAK,CACzD,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,qEAAqE,CACtE,CAAC;AACJ,CAAC"}
|
|
@@ -3,12 +3,14 @@ import * as z from "zod/v4-mini";
|
|
|
3
3
|
* Run a command inside a sandbox
|
|
4
4
|
*/
|
|
5
5
|
export type SandboxExecRequest = {
|
|
6
|
+
user?: string | undefined;
|
|
6
7
|
command: Array<string>;
|
|
7
8
|
cwd?: string | undefined;
|
|
8
9
|
timeoutMs?: number | undefined;
|
|
9
10
|
};
|
|
10
11
|
/** @internal */
|
|
11
12
|
export type SandboxExecRequest$Outbound = {
|
|
13
|
+
user?: string | undefined;
|
|
12
14
|
command: Array<string>;
|
|
13
15
|
cwd?: string | undefined;
|
|
14
16
|
timeoutMs?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox-exec-request.d.ts","sourceRoot":"","sources":["../../../src/models/sandbox-exec-request.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,WAAW,CAC3D,2BAA2B,EAC3B,kBAAkB,
|
|
1
|
+
{"version":3,"file":"sandbox-exec-request.d.ts","sourceRoot":"","sources":["../../../src/models/sandbox-exec-request.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,WAAW,CAC3D,2BAA2B,EAC3B,kBAAkB,CAMlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR"}
|
|
@@ -41,6 +41,7 @@ exports.sandboxExecRequestToJSON = sandboxExecRequestToJSON;
|
|
|
41
41
|
const z = __importStar(require("zod/v4-mini"));
|
|
42
42
|
/** @internal */
|
|
43
43
|
exports.SandboxExecRequest$outboundSchema = z.object({
|
|
44
|
+
user: z.optional(z.string()),
|
|
44
45
|
command: z.array(z.string()),
|
|
45
46
|
cwd: z.optional(z.string()),
|
|
46
47
|
timeoutMs: z.optional(z.number()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox-exec-request.js","sourceRoot":"","sources":["../../../src/models/sandbox-exec-request.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"sandbox-exec-request.js","sourceRoot":"","sources":["../../../src/models/sandbox-exec-request.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCH,4DAMC;AArCD,+CAAiC;AAoBjC,gBAAgB;AACH,QAAA,iCAAiC,GAG1C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5B,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5B,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC3B,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAClC,CAAC,CAAC;AAEH,SAAgB,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC"}
|
|
@@ -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;AAE3E,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;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;;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,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,
|
|
1
|
+
{"version":3,"file":"session-input-accepted.d.ts","sourceRoot":"","sources":["../../../src/models/session-input-accepted.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,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AU,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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AGjC,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,IAA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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"}
|
|
@@ -3,16 +3,18 @@ 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
5
|
/**
|
|
6
|
-
* running: live; ready: ended cleanly or idle-stopped; blocked: ended with an error; needs-input: waiting on an approval
|
|
6
|
+
* 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
|
|
7
7
|
*/
|
|
8
8
|
export declare enum ViewsSessionThreadStatus {
|
|
9
9
|
Running = "running",
|
|
10
10
|
NeedsInput = "needs-input",
|
|
11
11
|
Ready = "ready",
|
|
12
|
-
Blocked = "blocked"
|
|
12
|
+
Blocked = "blocked",
|
|
13
|
+
Done = "done",
|
|
14
|
+
Queued = "queued"
|
|
13
15
|
}
|
|
14
16
|
/**
|
|
15
|
-
* running: live; ready: ended cleanly or idle-stopped; blocked: ended with an error; needs-input: waiting on an approval
|
|
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
|
|
16
18
|
*/
|
|
17
19
|
export type ViewsSessionThreadStatusOpen = OpenEnum<typeof ViewsSessionThreadStatus>;
|
|
18
20
|
/**
|
|
@@ -47,9 +49,10 @@ export type ViewsSessionThread = {
|
|
|
47
49
|
*/
|
|
48
50
|
title: string;
|
|
49
51
|
/**
|
|
50
|
-
* running: live; ready: ended cleanly or idle-stopped; blocked: ended with an error; needs-input: waiting on an approval
|
|
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
|
|
51
53
|
*/
|
|
52
54
|
status: ViewsSessionThreadStatusOpen;
|
|
55
|
+
queuePosition?: number | undefined;
|
|
53
56
|
/**
|
|
54
57
|
* The kernel lifecycle word, unchanged. When ended, display ended rather than the runtime status.
|
|
55
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;
|
|
1
|
+
{"version":3,"file":"views-session-thread.d.ts","sourceRoot":"","sources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;IACf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,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"}
|
|
@@ -43,7 +43,7 @@ const schemas_js_1 = require("../lib/schemas.js");
|
|
|
43
43
|
const openEnums = __importStar(require("../types/enums.js"));
|
|
44
44
|
const types = __importStar(require("../types/primitives.js"));
|
|
45
45
|
/**
|
|
46
|
-
* running: live; ready: ended cleanly or idle-stopped; blocked: ended with an error; needs-input: waiting on an approval
|
|
46
|
+
* 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
|
|
47
47
|
*/
|
|
48
48
|
var ViewsSessionThreadStatus;
|
|
49
49
|
(function (ViewsSessionThreadStatus) {
|
|
@@ -51,6 +51,8 @@ var ViewsSessionThreadStatus;
|
|
|
51
51
|
ViewsSessionThreadStatus["NeedsInput"] = "needs-input";
|
|
52
52
|
ViewsSessionThreadStatus["Ready"] = "ready";
|
|
53
53
|
ViewsSessionThreadStatus["Blocked"] = "blocked";
|
|
54
|
+
ViewsSessionThreadStatus["Done"] = "done";
|
|
55
|
+
ViewsSessionThreadStatus["Queued"] = "queued";
|
|
54
56
|
})(ViewsSessionThreadStatus || (exports.ViewsSessionThreadStatus = ViewsSessionThreadStatus = {}));
|
|
55
57
|
/**
|
|
56
58
|
* The kernel lifecycle word, unchanged. When ended, display ended rather than the runtime status.
|
|
@@ -80,6 +82,7 @@ exports.ViewsSessionThread$inboundSchema = z.object({
|
|
|
80
82
|
reference: types.string(),
|
|
81
83
|
title: types.string(),
|
|
82
84
|
status: z._default(exports.ViewsSessionThreadStatus$inboundSchema, ViewsSessionThreadStatus.Running),
|
|
85
|
+
queuePosition: types.optional(types.number()),
|
|
83
86
|
lifecycle: types.optional(exports.ViewsSessionThreadLifecycle$inboundSchema),
|
|
84
87
|
project: types.string(),
|
|
85
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,yC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M,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"}
|
|
@@ -3,16 +3,18 @@ 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
5
|
/**
|
|
6
|
-
* running: live; ready: ended cleanly or idle-stopped; blocked: ended with an error; needs-input: waiting on an approval
|
|
6
|
+
* 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
|
|
7
7
|
*/
|
|
8
8
|
export declare enum ThreadStatus {
|
|
9
9
|
Running = "running",
|
|
10
10
|
NeedsInput = "needs-input",
|
|
11
11
|
Ready = "ready",
|
|
12
|
-
Blocked = "blocked"
|
|
12
|
+
Blocked = "blocked",
|
|
13
|
+
Done = "done",
|
|
14
|
+
Queued = "queued"
|
|
13
15
|
}
|
|
14
16
|
/**
|
|
15
|
-
* running: live; ready: ended cleanly or idle-stopped; blocked: ended with an error; needs-input: waiting on an approval
|
|
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
|
|
16
18
|
*/
|
|
17
19
|
export type ThreadStatusOpen = OpenEnum<typeof ThreadStatus>;
|
|
18
20
|
/**
|
|
@@ -38,7 +40,7 @@ export type Thread = {
|
|
|
38
40
|
*/
|
|
39
41
|
title: string;
|
|
40
42
|
/**
|
|
41
|
-
* running: live; ready: ended cleanly or idle-stopped; blocked: ended with an error; needs-input: waiting on an approval
|
|
43
|
+
* 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
|
|
42
44
|
*/
|
|
43
45
|
status: ThreadStatusOpen;
|
|
44
46
|
/**
|
|
@@ -65,16 +67,18 @@ export type ViewsShellProject = {
|
|
|
65
67
|
threads: Array<Thread>;
|
|
66
68
|
};
|
|
67
69
|
/**
|
|
68
|
-
* running: live; ready: ended cleanly or idle-stopped; blocked: ended with an error; needs-input: waiting on an approval
|
|
70
|
+
* 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
|
|
69
71
|
*/
|
|
70
72
|
export declare enum RecentSessionStatus {
|
|
71
73
|
Running = "running",
|
|
72
74
|
NeedsInput = "needs-input",
|
|
73
75
|
Ready = "ready",
|
|
74
|
-
Blocked = "blocked"
|
|
76
|
+
Blocked = "blocked",
|
|
77
|
+
Done = "done",
|
|
78
|
+
Queued = "queued"
|
|
75
79
|
}
|
|
76
80
|
/**
|
|
77
|
-
* running: live; ready: ended cleanly or idle-stopped; blocked: ended with an error; needs-input: waiting on an approval
|
|
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
|
|
78
82
|
*/
|
|
79
83
|
export type RecentSessionStatusOpen = OpenEnum<typeof RecentSessionStatus>;
|
|
80
84
|
/**
|
|
@@ -103,7 +107,7 @@ export type RecentSession = {
|
|
|
103
107
|
*/
|
|
104
108
|
title: string;
|
|
105
109
|
/**
|
|
106
|
-
* running: live; ready: ended cleanly or idle-stopped; blocked: ended with an error; needs-input: waiting on an approval
|
|
110
|
+
* 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
|
|
107
111
|
*/
|
|
108
112
|
status: RecentSessionStatusOpen;
|
|
109
113
|
/**
|
|
@@ -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;
|
|
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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,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"}
|
|
@@ -47,7 +47,7 @@ const schemas_js_1 = require("../lib/schemas.js");
|
|
|
47
47
|
const openEnums = __importStar(require("../types/enums.js"));
|
|
48
48
|
const types = __importStar(require("../types/primitives.js"));
|
|
49
49
|
/**
|
|
50
|
-
* running: live; ready: ended cleanly or idle-stopped; blocked: ended with an error; needs-input: waiting on an approval
|
|
50
|
+
* 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
51
|
*/
|
|
52
52
|
var ThreadStatus;
|
|
53
53
|
(function (ThreadStatus) {
|
|
@@ -55,6 +55,8 @@ var ThreadStatus;
|
|
|
55
55
|
ThreadStatus["NeedsInput"] = "needs-input";
|
|
56
56
|
ThreadStatus["Ready"] = "ready";
|
|
57
57
|
ThreadStatus["Blocked"] = "blocked";
|
|
58
|
+
ThreadStatus["Done"] = "done";
|
|
59
|
+
ThreadStatus["Queued"] = "queued";
|
|
58
60
|
})(ThreadStatus || (exports.ThreadStatus = ThreadStatus = {}));
|
|
59
61
|
/**
|
|
60
62
|
* The kernel lifecycle word, unchanged. When ended, display ended rather than the runtime status.
|
|
@@ -67,7 +69,7 @@ var ThreadLifecycle;
|
|
|
67
69
|
ThreadLifecycle["Restored"] = "restored";
|
|
68
70
|
})(ThreadLifecycle || (exports.ThreadLifecycle = ThreadLifecycle = {}));
|
|
69
71
|
/**
|
|
70
|
-
* running: live; ready: ended cleanly or idle-stopped; blocked: ended with an error; needs-input: waiting on an approval
|
|
72
|
+
* 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
|
|
71
73
|
*/
|
|
72
74
|
var RecentSessionStatus;
|
|
73
75
|
(function (RecentSessionStatus) {
|
|
@@ -75,6 +77,8 @@ var RecentSessionStatus;
|
|
|
75
77
|
RecentSessionStatus["NeedsInput"] = "needs-input";
|
|
76
78
|
RecentSessionStatus["Ready"] = "ready";
|
|
77
79
|
RecentSessionStatus["Blocked"] = "blocked";
|
|
80
|
+
RecentSessionStatus["Done"] = "done";
|
|
81
|
+
RecentSessionStatus["Queued"] = "queued";
|
|
78
82
|
})(RecentSessionStatus || (exports.RecentSessionStatus = RecentSessionStatus = {}));
|
|
79
83
|
/**
|
|
80
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+BD,sDAQC;AAiBD,wCAQC;AAWD,gDAQC;AAxUD,+CAAiC;AACjC,kDAA8C;AAC9C,6DAA+C;AAG/C,8DAAgD;AAGhD;;GAEG;AACH,IAAY,YAOX;AAPD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,0CAA0B,CAAA;IAC1B,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,6BAAa,CAAA;IACb,iCAAiB,CAAA;AACnB,CAAC,EAPW,YAAY,4BAAZ,YAAY,QAOvB;AAMD;;GAEG;AACH,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,gCAAa,CAAA;IACb,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,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
|
/**
|