@sealant/sdk 0.5.2 → 0.7.0

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.
@@ -4,6 +4,63 @@ import { HttpApiClient } from "effect/unstable/httpapi";
4
4
  import type { SealantInternalConfig } from "../internal/config.js";
5
5
  /** Builds the contract-derived client. Requires an `HttpClient` in context (provided by the layer). */
6
6
  declare const buildControlPlaneClient: (config: SealantInternalConfig) => Effect.Effect<{
7
+ readonly accessTokens: {
8
+ readonly createAccessToken: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
9
+ readonly payload: {
10
+ readonly ownerUserId: string;
11
+ readonly scopes: readonly ("session:input" | "session:read" | "workspace:exec")[];
12
+ readonly name?: string | undefined;
13
+ readonly workspaceId?: string | undefined;
14
+ readonly ttlSeconds?: number | undefined;
15
+ };
16
+ readonly responseMode?: Mode;
17
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
18
+ readonly tokenId: string;
19
+ readonly ownerUserId: string;
20
+ readonly name?: string | undefined;
21
+ readonly scopes: readonly ("session:input" | "session:read" | "workspace:exec")[];
22
+ readonly workspaceId?: string | undefined;
23
+ readonly expiresAt?: string | undefined;
24
+ readonly revokedAt?: string | undefined;
25
+ readonly createdAt: string;
26
+ readonly token: string;
27
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("@sealant/api-contracts").AccessTokenBadRequestError | import("@sealant/api-contracts").AccessTokenInternalServerError | import("@sealant/api-contracts").AccessTokenNotFoundError | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
28
+ readonly listAccessTokens: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
29
+ readonly query: {
30
+ readonly ownerUserId: string;
31
+ };
32
+ readonly responseMode?: Mode;
33
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
34
+ readonly items: readonly {
35
+ readonly tokenId: string;
36
+ readonly ownerUserId: string;
37
+ readonly name?: string | undefined;
38
+ readonly scopes: readonly ("session:input" | "session:read" | "workspace:exec")[];
39
+ readonly workspaceId?: string | undefined;
40
+ readonly expiresAt?: string | undefined;
41
+ readonly revokedAt?: string | undefined;
42
+ readonly createdAt: string;
43
+ }[];
44
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("@sealant/api-contracts").AccessTokenBadRequestError | import("@sealant/api-contracts").AccessTokenInternalServerError | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
45
+ readonly revokeAccessToken: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
46
+ readonly params: {
47
+ readonly tokenId: string;
48
+ };
49
+ readonly payload: {
50
+ readonly ownerUserId: string;
51
+ };
52
+ readonly responseMode?: Mode;
53
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
54
+ readonly tokenId: string;
55
+ readonly ownerUserId: string;
56
+ readonly name?: string | undefined;
57
+ readonly scopes: readonly ("session:input" | "session:read" | "workspace:exec")[];
58
+ readonly workspaceId?: string | undefined;
59
+ readonly expiresAt?: string | undefined;
60
+ readonly revokedAt?: string | undefined;
61
+ readonly createdAt: string;
62
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("@sealant/api-contracts").AccessTokenBadRequestError | import("@sealant/api-contracts").AccessTokenInternalServerError | import("@sealant/api-contracts").AccessTokenNotFoundError | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
63
+ };
7
64
  readonly connectedAccounts: {
8
65
  readonly archiveConnectedAccount: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
9
66
  readonly params: {
@@ -439,6 +496,9 @@ declare const buildControlPlaneClient: (config: SealantInternalConfig) => Effect
439
496
  readonly args: readonly string[];
440
497
  readonly cwd?: string | undefined;
441
498
  } | undefined;
499
+ readonly metadata?: {
500
+ readonly [x: string]: unknown;
501
+ } | undefined;
442
502
  };
443
503
  readonly responseMode?: Mode;
444
504
  }) => Effect.Effect<HttpApiClient.Client.Response<{
@@ -450,6 +510,14 @@ declare const buildControlPlaneClient: (config: SealantInternalConfig) => Effect
450
510
  readonly mode: "interactive" | "one-shot";
451
511
  readonly status: "cancelled" | "completed" | "failed" | "queued" | "running";
452
512
  readonly prompt?: string | undefined;
513
+ readonly command?: {
514
+ readonly executable: string;
515
+ readonly args: readonly string[];
516
+ readonly cwd?: string | undefined;
517
+ } | undefined;
518
+ readonly metadata?: {
519
+ readonly [x: string]: unknown;
520
+ } | undefined;
453
521
  readonly exitCode?: number | undefined;
454
522
  readonly errorMessage?: string | undefined;
455
523
  readonly startedAt?: string | undefined;
@@ -471,6 +539,14 @@ declare const buildControlPlaneClient: (config: SealantInternalConfig) => Effect
471
539
  readonly mode: "interactive" | "one-shot";
472
540
  readonly status: "cancelled" | "completed" | "failed" | "queued" | "running";
473
541
  readonly prompt?: string | undefined;
542
+ readonly command?: {
543
+ readonly executable: string;
544
+ readonly args: readonly string[];
545
+ readonly cwd?: string | undefined;
546
+ } | undefined;
547
+ readonly metadata?: {
548
+ readonly [x: string]: unknown;
549
+ } | undefined;
474
550
  readonly exitCode?: number | undefined;
475
551
  readonly errorMessage?: string | undefined;
476
552
  readonly startedAt?: string | undefined;
@@ -541,13 +617,15 @@ declare const buildControlPlaneClient: (config: SealantInternalConfig) => Effect
541
617
  };
542
618
  readonly query: {
543
619
  readonly processId: string;
544
- readonly stream: "stderr" | "stdout";
620
+ readonly stream: "pty" | "stderr" | "stdout";
545
621
  readonly atSequence?: string | undefined;
622
+ readonly fromSequence?: string | undefined;
623
+ readonly limit?: string | undefined;
546
624
  };
547
625
  readonly responseMode?: Mode;
548
626
  }) => Effect.Effect<HttpApiClient.Client.Response<{
549
627
  readonly processId: string;
550
- readonly stream: "stderr" | "stdout";
628
+ readonly stream: "pty" | "stderr" | "stdout";
551
629
  readonly byteCount: number;
552
630
  readonly contentBase64: string;
553
631
  }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("@sealant/api-contracts").RunBadRequestError | import("@sealant/api-contracts").RunInternalServerError | import("@sealant/api-contracts").RunNotFoundError | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
@@ -593,6 +671,14 @@ declare const buildControlPlaneClient: (config: SealantInternalConfig) => Effect
593
671
  readonly mode: "interactive" | "one-shot";
594
672
  readonly status: "cancelled" | "completed" | "failed" | "queued" | "running";
595
673
  readonly prompt?: string | undefined;
674
+ readonly command?: {
675
+ readonly executable: string;
676
+ readonly args: readonly string[];
677
+ readonly cwd?: string | undefined;
678
+ } | undefined;
679
+ readonly metadata?: {
680
+ readonly [x: string]: unknown;
681
+ } | undefined;
596
682
  readonly exitCode?: number | undefined;
597
683
  readonly errorMessage?: string | undefined;
598
684
  readonly startedAt?: string | undefined;
@@ -626,6 +712,14 @@ declare const buildControlPlaneClient: (config: SealantInternalConfig) => Effect
626
712
  readonly mode: "interactive" | "one-shot";
627
713
  readonly status: "cancelled" | "completed" | "failed" | "queued" | "running";
628
714
  readonly prompt?: string | undefined;
715
+ readonly command?: {
716
+ readonly executable: string;
717
+ readonly args: readonly string[];
718
+ readonly cwd?: string | undefined;
719
+ } | undefined;
720
+ readonly metadata?: {
721
+ readonly [x: string]: unknown;
722
+ } | undefined;
629
723
  readonly exitCode?: number | undefined;
630
724
  readonly errorMessage?: string | undefined;
631
725
  readonly startedAt?: string | undefined;
@@ -634,6 +728,211 @@ declare const buildControlPlaneClient: (config: SealantInternalConfig) => Effect
634
728
  readonly updatedAt: string;
635
729
  }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("@sealant/api-contracts").RunBadRequestError | import("@sealant/api-contracts").RunInternalServerError | import("@sealant/api-contracts").RunNotFoundError | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
636
730
  };
731
+ readonly sessions: {
732
+ readonly closeSession: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
733
+ readonly params: {
734
+ readonly sessionId: string;
735
+ };
736
+ readonly headers: {
737
+ readonly authorization?: string | undefined;
738
+ };
739
+ readonly payload: {
740
+ readonly ownerUserId?: string | undefined;
741
+ };
742
+ readonly responseMode?: Mode;
743
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
744
+ readonly sessionId: string;
745
+ readonly workspaceId: string;
746
+ readonly runId: string;
747
+ readonly ownerUserId: string;
748
+ readonly status: "exited" | "failed" | "running" | "starting";
749
+ readonly argv: readonly string[];
750
+ readonly cwd?: string | undefined;
751
+ readonly cols: number;
752
+ readonly rows: number;
753
+ readonly exitCode?: number | undefined;
754
+ readonly exitSignal?: number | undefined;
755
+ readonly errorMessage?: string | undefined;
756
+ readonly metadata?: {
757
+ readonly [x: string]: unknown;
758
+ } | undefined;
759
+ readonly outputHighWater: string;
760
+ readonly createdAt: string;
761
+ readonly endedAt?: string | undefined;
762
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("effect/Schema").SchemaError | import("@sealant/api-contracts").SessionBadGatewayError | import("@sealant/api-contracts").SessionBadRequestError | import("@sealant/api-contracts").SessionForbiddenError | import("@sealant/api-contracts").SessionInternalServerError | import("@sealant/api-contracts").SessionNotFoundError | import("@sealant/api-contracts").SessionUnauthorizedError), [Mode] extends ["response-only"] ? never : never>;
763
+ readonly createSession: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
764
+ readonly headers: {
765
+ readonly authorization?: string | undefined;
766
+ };
767
+ readonly payload: {
768
+ readonly workspaceId: string;
769
+ readonly ownerUserId: string;
770
+ readonly argv: readonly string[];
771
+ readonly cwd?: string | undefined;
772
+ readonly env?: {
773
+ readonly [x: string]: string;
774
+ } | undefined;
775
+ readonly cols?: number | undefined;
776
+ readonly rows?: number | undefined;
777
+ readonly term?: string | undefined;
778
+ readonly metadata?: {
779
+ readonly [x: string]: unknown;
780
+ } | undefined;
781
+ };
782
+ readonly responseMode?: Mode;
783
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
784
+ readonly sessionId: string;
785
+ readonly workspaceId: string;
786
+ readonly runId: string;
787
+ readonly ownerUserId: string;
788
+ readonly status: "exited" | "failed" | "running" | "starting";
789
+ readonly argv: readonly string[];
790
+ readonly cwd?: string | undefined;
791
+ readonly cols: number;
792
+ readonly rows: number;
793
+ readonly exitCode?: number | undefined;
794
+ readonly exitSignal?: number | undefined;
795
+ readonly errorMessage?: string | undefined;
796
+ readonly metadata?: {
797
+ readonly [x: string]: unknown;
798
+ } | undefined;
799
+ readonly outputHighWater: string;
800
+ readonly createdAt: string;
801
+ readonly endedAt?: string | undefined;
802
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("effect/Schema").SchemaError | import("@sealant/api-contracts").SessionBadGatewayError | import("@sealant/api-contracts").SessionBadRequestError | import("@sealant/api-contracts").SessionConflictError | import("@sealant/api-contracts").SessionForbiddenError | import("@sealant/api-contracts").SessionInternalServerError | import("@sealant/api-contracts").SessionNotFoundError | import("@sealant/api-contracts").SessionUnauthorizedError), [Mode] extends ["response-only"] ? never : never>;
803
+ readonly getSession: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
804
+ readonly params: {
805
+ readonly sessionId: string;
806
+ };
807
+ readonly query: {
808
+ readonly ownerUserId?: string | undefined;
809
+ };
810
+ readonly headers: {
811
+ readonly authorization?: string | undefined;
812
+ };
813
+ readonly responseMode?: Mode;
814
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
815
+ readonly sessionId: string;
816
+ readonly workspaceId: string;
817
+ readonly runId: string;
818
+ readonly ownerUserId: string;
819
+ readonly status: "exited" | "failed" | "running" | "starting";
820
+ readonly argv: readonly string[];
821
+ readonly cwd?: string | undefined;
822
+ readonly cols: number;
823
+ readonly rows: number;
824
+ readonly exitCode?: number | undefined;
825
+ readonly exitSignal?: number | undefined;
826
+ readonly errorMessage?: string | undefined;
827
+ readonly metadata?: {
828
+ readonly [x: string]: unknown;
829
+ } | undefined;
830
+ readonly outputHighWater: string;
831
+ readonly createdAt: string;
832
+ readonly endedAt?: string | undefined;
833
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("effect/Schema").SchemaError | import("@sealant/api-contracts").SessionBadRequestError | import("@sealant/api-contracts").SessionForbiddenError | import("@sealant/api-contracts").SessionInternalServerError | import("@sealant/api-contracts").SessionNotFoundError | import("@sealant/api-contracts").SessionUnauthorizedError), [Mode] extends ["response-only"] ? never : never>;
834
+ readonly getSessionOutput: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
835
+ readonly params: {
836
+ readonly sessionId: string;
837
+ };
838
+ readonly query: {
839
+ readonly ownerUserId?: string | undefined;
840
+ readonly from?: string | undefined;
841
+ readonly limit?: string | undefined;
842
+ };
843
+ readonly headers: {
844
+ readonly authorization?: string | undefined;
845
+ };
846
+ readonly responseMode?: Mode;
847
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
848
+ readonly sessionId: string;
849
+ readonly chunks: readonly {
850
+ readonly sequence: string;
851
+ readonly dataBase64: string;
852
+ }[];
853
+ readonly nextFrom: string;
854
+ readonly status: "exited" | "failed" | "running" | "starting";
855
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("effect/Schema").SchemaError | import("@sealant/api-contracts").SessionBadRequestError | import("@sealant/api-contracts").SessionForbiddenError | import("@sealant/api-contracts").SessionInternalServerError | import("@sealant/api-contracts").SessionNotFoundError | import("@sealant/api-contracts").SessionUnauthorizedError), [Mode] extends ["response-only"] ? never : never>;
856
+ readonly listSessions: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
857
+ readonly query: {
858
+ readonly ownerUserId: string;
859
+ readonly workspaceId?: string | undefined;
860
+ readonly status?: "exited" | "failed" | "running" | "starting" | undefined;
861
+ readonly limit?: string | undefined;
862
+ };
863
+ readonly headers: {
864
+ readonly authorization?: string | undefined;
865
+ };
866
+ readonly responseMode?: Mode;
867
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
868
+ readonly items: readonly {
869
+ readonly sessionId: string;
870
+ readonly workspaceId: string;
871
+ readonly runId: string;
872
+ readonly ownerUserId: string;
873
+ readonly status: "exited" | "failed" | "running" | "starting";
874
+ readonly argv: readonly string[];
875
+ readonly cwd?: string | undefined;
876
+ readonly cols: number;
877
+ readonly rows: number;
878
+ readonly exitCode?: number | undefined;
879
+ readonly exitSignal?: number | undefined;
880
+ readonly errorMessage?: string | undefined;
881
+ readonly metadata?: {
882
+ readonly [x: string]: unknown;
883
+ } | undefined;
884
+ readonly outputHighWater: string;
885
+ readonly createdAt: string;
886
+ readonly endedAt?: string | undefined;
887
+ }[];
888
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("effect/Schema").SchemaError | import("@sealant/api-contracts").SessionBadRequestError | import("@sealant/api-contracts").SessionForbiddenError | import("@sealant/api-contracts").SessionInternalServerError | import("@sealant/api-contracts").SessionUnauthorizedError), [Mode] extends ["response-only"] ? never : never>;
889
+ readonly resizeSession: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
890
+ readonly params: {
891
+ readonly sessionId: string;
892
+ };
893
+ readonly headers: {
894
+ readonly authorization?: string | undefined;
895
+ };
896
+ readonly payload: {
897
+ readonly ownerUserId?: string | undefined;
898
+ readonly cols: number;
899
+ readonly rows: number;
900
+ };
901
+ readonly responseMode?: Mode;
902
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
903
+ readonly ok: boolean;
904
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("effect/Schema").SchemaError | import("@sealant/api-contracts").SessionBadGatewayError | import("@sealant/api-contracts").SessionBadRequestError | import("@sealant/api-contracts").SessionConflictError | import("@sealant/api-contracts").SessionForbiddenError | import("@sealant/api-contracts").SessionInternalServerError | import("@sealant/api-contracts").SessionNotFoundError | import("@sealant/api-contracts").SessionUnauthorizedError), [Mode] extends ["response-only"] ? never : never>;
905
+ readonly sendSessionInput: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
906
+ readonly params: {
907
+ readonly sessionId: string;
908
+ };
909
+ readonly headers: {
910
+ readonly authorization?: string | undefined;
911
+ };
912
+ readonly payload: {
913
+ readonly ownerUserId?: string | undefined;
914
+ readonly dataBase64: string;
915
+ };
916
+ readonly responseMode?: Mode;
917
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
918
+ readonly ok: boolean;
919
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("effect/Schema").SchemaError | import("@sealant/api-contracts").SessionBadGatewayError | import("@sealant/api-contracts").SessionBadRequestError | import("@sealant/api-contracts").SessionConflictError | import("@sealant/api-contracts").SessionForbiddenError | import("@sealant/api-contracts").SessionInternalServerError | import("@sealant/api-contracts").SessionNotFoundError | import("@sealant/api-contracts").SessionUnauthorizedError), [Mode] extends ["response-only"] ? never : never>;
920
+ readonly signalSession: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
921
+ readonly params: {
922
+ readonly sessionId: string;
923
+ };
924
+ readonly headers: {
925
+ readonly authorization?: string | undefined;
926
+ };
927
+ readonly payload: {
928
+ readonly ownerUserId?: string | undefined;
929
+ readonly signal: number;
930
+ };
931
+ readonly responseMode?: Mode;
932
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
933
+ readonly ok: boolean;
934
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("effect/Schema").SchemaError | import("@sealant/api-contracts").SessionBadGatewayError | import("@sealant/api-contracts").SessionBadRequestError | import("@sealant/api-contracts").SessionConflictError | import("@sealant/api-contracts").SessionForbiddenError | import("@sealant/api-contracts").SessionInternalServerError | import("@sealant/api-contracts").SessionNotFoundError | import("@sealant/api-contracts").SessionUnauthorizedError), [Mode] extends ["response-only"] ? never : never>;
935
+ };
637
936
  readonly sshKeys: {
638
937
  readonly archiveSshKey: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
639
938
  readonly params: {
@@ -789,6 +1088,14 @@ declare const buildControlPlaneClient: (config: SealantInternalConfig) => Effect
789
1088
  readonly mode: "interactive" | "one-shot";
790
1089
  readonly status: "cancelled" | "completed" | "failed" | "queued" | "running";
791
1090
  readonly prompt?: string | undefined;
1091
+ readonly command?: {
1092
+ readonly executable: string;
1093
+ readonly args: readonly string[];
1094
+ readonly cwd?: string | undefined;
1095
+ } | undefined;
1096
+ readonly metadata?: {
1097
+ readonly [x: string]: unknown;
1098
+ } | undefined;
792
1099
  readonly exitCode?: number | undefined;
793
1100
  readonly errorMessage?: string | undefined;
794
1101
  readonly startedAt?: string | undefined;
@@ -1007,6 +1314,63 @@ declare const buildControlPlaneClient: (config: SealantInternalConfig) => Effect
1007
1314
  /** The fully-typed control-plane client, derived from the `@sealant/api-contracts` HttpApi. */
1008
1315
  export type ControlPlaneClient = Effect.Success<ReturnType<typeof buildControlPlaneClient>>;
1009
1316
  declare const SealantApiClient_base: Context.ServiceClass<SealantApiClient, "@sealant/sdk/SealantApiClient", {
1317
+ readonly accessTokens: {
1318
+ readonly createAccessToken: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
1319
+ readonly payload: {
1320
+ readonly ownerUserId: string;
1321
+ readonly scopes: readonly ("session:input" | "session:read" | "workspace:exec")[];
1322
+ readonly name?: string | undefined;
1323
+ readonly workspaceId?: string | undefined;
1324
+ readonly ttlSeconds?: number | undefined;
1325
+ };
1326
+ readonly responseMode?: Mode;
1327
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
1328
+ readonly tokenId: string;
1329
+ readonly ownerUserId: string;
1330
+ readonly name?: string | undefined;
1331
+ readonly scopes: readonly ("session:input" | "session:read" | "workspace:exec")[];
1332
+ readonly workspaceId?: string | undefined;
1333
+ readonly expiresAt?: string | undefined;
1334
+ readonly revokedAt?: string | undefined;
1335
+ readonly createdAt: string;
1336
+ readonly token: string;
1337
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("@sealant/api-contracts").AccessTokenBadRequestError | import("@sealant/api-contracts").AccessTokenInternalServerError | import("@sealant/api-contracts").AccessTokenNotFoundError | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
1338
+ readonly listAccessTokens: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
1339
+ readonly query: {
1340
+ readonly ownerUserId: string;
1341
+ };
1342
+ readonly responseMode?: Mode;
1343
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
1344
+ readonly items: readonly {
1345
+ readonly tokenId: string;
1346
+ readonly ownerUserId: string;
1347
+ readonly name?: string | undefined;
1348
+ readonly scopes: readonly ("session:input" | "session:read" | "workspace:exec")[];
1349
+ readonly workspaceId?: string | undefined;
1350
+ readonly expiresAt?: string | undefined;
1351
+ readonly revokedAt?: string | undefined;
1352
+ readonly createdAt: string;
1353
+ }[];
1354
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("@sealant/api-contracts").AccessTokenBadRequestError | import("@sealant/api-contracts").AccessTokenInternalServerError | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
1355
+ readonly revokeAccessToken: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
1356
+ readonly params: {
1357
+ readonly tokenId: string;
1358
+ };
1359
+ readonly payload: {
1360
+ readonly ownerUserId: string;
1361
+ };
1362
+ readonly responseMode?: Mode;
1363
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
1364
+ readonly tokenId: string;
1365
+ readonly ownerUserId: string;
1366
+ readonly name?: string | undefined;
1367
+ readonly scopes: readonly ("session:input" | "session:read" | "workspace:exec")[];
1368
+ readonly workspaceId?: string | undefined;
1369
+ readonly expiresAt?: string | undefined;
1370
+ readonly revokedAt?: string | undefined;
1371
+ readonly createdAt: string;
1372
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("@sealant/api-contracts").AccessTokenBadRequestError | import("@sealant/api-contracts").AccessTokenInternalServerError | import("@sealant/api-contracts").AccessTokenNotFoundError | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
1373
+ };
1010
1374
  readonly connectedAccounts: {
1011
1375
  readonly archiveConnectedAccount: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
1012
1376
  readonly params: {
@@ -1442,6 +1806,9 @@ declare const SealantApiClient_base: Context.ServiceClass<SealantApiClient, "@se
1442
1806
  readonly args: readonly string[];
1443
1807
  readonly cwd?: string | undefined;
1444
1808
  } | undefined;
1809
+ readonly metadata?: {
1810
+ readonly [x: string]: unknown;
1811
+ } | undefined;
1445
1812
  };
1446
1813
  readonly responseMode?: Mode;
1447
1814
  }) => Effect.Effect<HttpApiClient.Client.Response<{
@@ -1453,6 +1820,14 @@ declare const SealantApiClient_base: Context.ServiceClass<SealantApiClient, "@se
1453
1820
  readonly mode: "interactive" | "one-shot";
1454
1821
  readonly status: "cancelled" | "completed" | "failed" | "queued" | "running";
1455
1822
  readonly prompt?: string | undefined;
1823
+ readonly command?: {
1824
+ readonly executable: string;
1825
+ readonly args: readonly string[];
1826
+ readonly cwd?: string | undefined;
1827
+ } | undefined;
1828
+ readonly metadata?: {
1829
+ readonly [x: string]: unknown;
1830
+ } | undefined;
1456
1831
  readonly exitCode?: number | undefined;
1457
1832
  readonly errorMessage?: string | undefined;
1458
1833
  readonly startedAt?: string | undefined;
@@ -1474,6 +1849,14 @@ declare const SealantApiClient_base: Context.ServiceClass<SealantApiClient, "@se
1474
1849
  readonly mode: "interactive" | "one-shot";
1475
1850
  readonly status: "cancelled" | "completed" | "failed" | "queued" | "running";
1476
1851
  readonly prompt?: string | undefined;
1852
+ readonly command?: {
1853
+ readonly executable: string;
1854
+ readonly args: readonly string[];
1855
+ readonly cwd?: string | undefined;
1856
+ } | undefined;
1857
+ readonly metadata?: {
1858
+ readonly [x: string]: unknown;
1859
+ } | undefined;
1477
1860
  readonly exitCode?: number | undefined;
1478
1861
  readonly errorMessage?: string | undefined;
1479
1862
  readonly startedAt?: string | undefined;
@@ -1544,13 +1927,15 @@ declare const SealantApiClient_base: Context.ServiceClass<SealantApiClient, "@se
1544
1927
  };
1545
1928
  readonly query: {
1546
1929
  readonly processId: string;
1547
- readonly stream: "stderr" | "stdout";
1930
+ readonly stream: "pty" | "stderr" | "stdout";
1548
1931
  readonly atSequence?: string | undefined;
1932
+ readonly fromSequence?: string | undefined;
1933
+ readonly limit?: string | undefined;
1549
1934
  };
1550
1935
  readonly responseMode?: Mode;
1551
1936
  }) => Effect.Effect<HttpApiClient.Client.Response<{
1552
1937
  readonly processId: string;
1553
- readonly stream: "stderr" | "stdout";
1938
+ readonly stream: "pty" | "stderr" | "stdout";
1554
1939
  readonly byteCount: number;
1555
1940
  readonly contentBase64: string;
1556
1941
  }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("@sealant/api-contracts").RunBadRequestError | import("@sealant/api-contracts").RunInternalServerError | import("@sealant/api-contracts").RunNotFoundError | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
@@ -1596,6 +1981,14 @@ declare const SealantApiClient_base: Context.ServiceClass<SealantApiClient, "@se
1596
1981
  readonly mode: "interactive" | "one-shot";
1597
1982
  readonly status: "cancelled" | "completed" | "failed" | "queued" | "running";
1598
1983
  readonly prompt?: string | undefined;
1984
+ readonly command?: {
1985
+ readonly executable: string;
1986
+ readonly args: readonly string[];
1987
+ readonly cwd?: string | undefined;
1988
+ } | undefined;
1989
+ readonly metadata?: {
1990
+ readonly [x: string]: unknown;
1991
+ } | undefined;
1599
1992
  readonly exitCode?: number | undefined;
1600
1993
  readonly errorMessage?: string | undefined;
1601
1994
  readonly startedAt?: string | undefined;
@@ -1629,6 +2022,14 @@ declare const SealantApiClient_base: Context.ServiceClass<SealantApiClient, "@se
1629
2022
  readonly mode: "interactive" | "one-shot";
1630
2023
  readonly status: "cancelled" | "completed" | "failed" | "queued" | "running";
1631
2024
  readonly prompt?: string | undefined;
2025
+ readonly command?: {
2026
+ readonly executable: string;
2027
+ readonly args: readonly string[];
2028
+ readonly cwd?: string | undefined;
2029
+ } | undefined;
2030
+ readonly metadata?: {
2031
+ readonly [x: string]: unknown;
2032
+ } | undefined;
1632
2033
  readonly exitCode?: number | undefined;
1633
2034
  readonly errorMessage?: string | undefined;
1634
2035
  readonly startedAt?: string | undefined;
@@ -1637,6 +2038,211 @@ declare const SealantApiClient_base: Context.ServiceClass<SealantApiClient, "@se
1637
2038
  readonly updatedAt: string;
1638
2039
  }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("@sealant/api-contracts").RunBadRequestError | import("@sealant/api-contracts").RunInternalServerError | import("@sealant/api-contracts").RunNotFoundError | import("effect/Schema").SchemaError), [Mode] extends ["response-only"] ? never : never>;
1639
2040
  };
2041
+ readonly sessions: {
2042
+ readonly closeSession: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
2043
+ readonly params: {
2044
+ readonly sessionId: string;
2045
+ };
2046
+ readonly headers: {
2047
+ readonly authorization?: string | undefined;
2048
+ };
2049
+ readonly payload: {
2050
+ readonly ownerUserId?: string | undefined;
2051
+ };
2052
+ readonly responseMode?: Mode;
2053
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
2054
+ readonly sessionId: string;
2055
+ readonly workspaceId: string;
2056
+ readonly runId: string;
2057
+ readonly ownerUserId: string;
2058
+ readonly status: "exited" | "failed" | "running" | "starting";
2059
+ readonly argv: readonly string[];
2060
+ readonly cwd?: string | undefined;
2061
+ readonly cols: number;
2062
+ readonly rows: number;
2063
+ readonly exitCode?: number | undefined;
2064
+ readonly exitSignal?: number | undefined;
2065
+ readonly errorMessage?: string | undefined;
2066
+ readonly metadata?: {
2067
+ readonly [x: string]: unknown;
2068
+ } | undefined;
2069
+ readonly outputHighWater: string;
2070
+ readonly createdAt: string;
2071
+ readonly endedAt?: string | undefined;
2072
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("effect/Schema").SchemaError | import("@sealant/api-contracts").SessionBadGatewayError | import("@sealant/api-contracts").SessionBadRequestError | import("@sealant/api-contracts").SessionForbiddenError | import("@sealant/api-contracts").SessionInternalServerError | import("@sealant/api-contracts").SessionNotFoundError | import("@sealant/api-contracts").SessionUnauthorizedError), [Mode] extends ["response-only"] ? never : never>;
2073
+ readonly createSession: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
2074
+ readonly headers: {
2075
+ readonly authorization?: string | undefined;
2076
+ };
2077
+ readonly payload: {
2078
+ readonly workspaceId: string;
2079
+ readonly ownerUserId: string;
2080
+ readonly argv: readonly string[];
2081
+ readonly cwd?: string | undefined;
2082
+ readonly env?: {
2083
+ readonly [x: string]: string;
2084
+ } | undefined;
2085
+ readonly cols?: number | undefined;
2086
+ readonly rows?: number | undefined;
2087
+ readonly term?: string | undefined;
2088
+ readonly metadata?: {
2089
+ readonly [x: string]: unknown;
2090
+ } | undefined;
2091
+ };
2092
+ readonly responseMode?: Mode;
2093
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
2094
+ readonly sessionId: string;
2095
+ readonly workspaceId: string;
2096
+ readonly runId: string;
2097
+ readonly ownerUserId: string;
2098
+ readonly status: "exited" | "failed" | "running" | "starting";
2099
+ readonly argv: readonly string[];
2100
+ readonly cwd?: string | undefined;
2101
+ readonly cols: number;
2102
+ readonly rows: number;
2103
+ readonly exitCode?: number | undefined;
2104
+ readonly exitSignal?: number | undefined;
2105
+ readonly errorMessage?: string | undefined;
2106
+ readonly metadata?: {
2107
+ readonly [x: string]: unknown;
2108
+ } | undefined;
2109
+ readonly outputHighWater: string;
2110
+ readonly createdAt: string;
2111
+ readonly endedAt?: string | undefined;
2112
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("effect/Schema").SchemaError | import("@sealant/api-contracts").SessionBadGatewayError | import("@sealant/api-contracts").SessionBadRequestError | import("@sealant/api-contracts").SessionConflictError | import("@sealant/api-contracts").SessionForbiddenError | import("@sealant/api-contracts").SessionInternalServerError | import("@sealant/api-contracts").SessionNotFoundError | import("@sealant/api-contracts").SessionUnauthorizedError), [Mode] extends ["response-only"] ? never : never>;
2113
+ readonly getSession: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
2114
+ readonly params: {
2115
+ readonly sessionId: string;
2116
+ };
2117
+ readonly query: {
2118
+ readonly ownerUserId?: string | undefined;
2119
+ };
2120
+ readonly headers: {
2121
+ readonly authorization?: string | undefined;
2122
+ };
2123
+ readonly responseMode?: Mode;
2124
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
2125
+ readonly sessionId: string;
2126
+ readonly workspaceId: string;
2127
+ readonly runId: string;
2128
+ readonly ownerUserId: string;
2129
+ readonly status: "exited" | "failed" | "running" | "starting";
2130
+ readonly argv: readonly string[];
2131
+ readonly cwd?: string | undefined;
2132
+ readonly cols: number;
2133
+ readonly rows: number;
2134
+ readonly exitCode?: number | undefined;
2135
+ readonly exitSignal?: number | undefined;
2136
+ readonly errorMessage?: string | undefined;
2137
+ readonly metadata?: {
2138
+ readonly [x: string]: unknown;
2139
+ } | undefined;
2140
+ readonly outputHighWater: string;
2141
+ readonly createdAt: string;
2142
+ readonly endedAt?: string | undefined;
2143
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("effect/Schema").SchemaError | import("@sealant/api-contracts").SessionBadRequestError | import("@sealant/api-contracts").SessionForbiddenError | import("@sealant/api-contracts").SessionInternalServerError | import("@sealant/api-contracts").SessionNotFoundError | import("@sealant/api-contracts").SessionUnauthorizedError), [Mode] extends ["response-only"] ? never : never>;
2144
+ readonly getSessionOutput: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
2145
+ readonly params: {
2146
+ readonly sessionId: string;
2147
+ };
2148
+ readonly query: {
2149
+ readonly ownerUserId?: string | undefined;
2150
+ readonly from?: string | undefined;
2151
+ readonly limit?: string | undefined;
2152
+ };
2153
+ readonly headers: {
2154
+ readonly authorization?: string | undefined;
2155
+ };
2156
+ readonly responseMode?: Mode;
2157
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
2158
+ readonly sessionId: string;
2159
+ readonly chunks: readonly {
2160
+ readonly sequence: string;
2161
+ readonly dataBase64: string;
2162
+ }[];
2163
+ readonly nextFrom: string;
2164
+ readonly status: "exited" | "failed" | "running" | "starting";
2165
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("effect/Schema").SchemaError | import("@sealant/api-contracts").SessionBadRequestError | import("@sealant/api-contracts").SessionForbiddenError | import("@sealant/api-contracts").SessionInternalServerError | import("@sealant/api-contracts").SessionNotFoundError | import("@sealant/api-contracts").SessionUnauthorizedError), [Mode] extends ["response-only"] ? never : never>;
2166
+ readonly listSessions: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
2167
+ readonly query: {
2168
+ readonly ownerUserId: string;
2169
+ readonly workspaceId?: string | undefined;
2170
+ readonly status?: "exited" | "failed" | "running" | "starting" | undefined;
2171
+ readonly limit?: string | undefined;
2172
+ };
2173
+ readonly headers: {
2174
+ readonly authorization?: string | undefined;
2175
+ };
2176
+ readonly responseMode?: Mode;
2177
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
2178
+ readonly items: readonly {
2179
+ readonly sessionId: string;
2180
+ readonly workspaceId: string;
2181
+ readonly runId: string;
2182
+ readonly ownerUserId: string;
2183
+ readonly status: "exited" | "failed" | "running" | "starting";
2184
+ readonly argv: readonly string[];
2185
+ readonly cwd?: string | undefined;
2186
+ readonly cols: number;
2187
+ readonly rows: number;
2188
+ readonly exitCode?: number | undefined;
2189
+ readonly exitSignal?: number | undefined;
2190
+ readonly errorMessage?: string | undefined;
2191
+ readonly metadata?: {
2192
+ readonly [x: string]: unknown;
2193
+ } | undefined;
2194
+ readonly outputHighWater: string;
2195
+ readonly createdAt: string;
2196
+ readonly endedAt?: string | undefined;
2197
+ }[];
2198
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("effect/Schema").SchemaError | import("@sealant/api-contracts").SessionBadRequestError | import("@sealant/api-contracts").SessionForbiddenError | import("@sealant/api-contracts").SessionInternalServerError | import("@sealant/api-contracts").SessionUnauthorizedError), [Mode] extends ["response-only"] ? never : never>;
2199
+ readonly resizeSession: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
2200
+ readonly params: {
2201
+ readonly sessionId: string;
2202
+ };
2203
+ readonly headers: {
2204
+ readonly authorization?: string | undefined;
2205
+ };
2206
+ readonly payload: {
2207
+ readonly ownerUserId?: string | undefined;
2208
+ readonly cols: number;
2209
+ readonly rows: number;
2210
+ };
2211
+ readonly responseMode?: Mode;
2212
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
2213
+ readonly ok: boolean;
2214
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("effect/Schema").SchemaError | import("@sealant/api-contracts").SessionBadGatewayError | import("@sealant/api-contracts").SessionBadRequestError | import("@sealant/api-contracts").SessionConflictError | import("@sealant/api-contracts").SessionForbiddenError | import("@sealant/api-contracts").SessionInternalServerError | import("@sealant/api-contracts").SessionNotFoundError | import("@sealant/api-contracts").SessionUnauthorizedError), [Mode] extends ["response-only"] ? never : never>;
2215
+ readonly sendSessionInput: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
2216
+ readonly params: {
2217
+ readonly sessionId: string;
2218
+ };
2219
+ readonly headers: {
2220
+ readonly authorization?: string | undefined;
2221
+ };
2222
+ readonly payload: {
2223
+ readonly ownerUserId?: string | undefined;
2224
+ readonly dataBase64: string;
2225
+ };
2226
+ readonly responseMode?: Mode;
2227
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
2228
+ readonly ok: boolean;
2229
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("effect/Schema").SchemaError | import("@sealant/api-contracts").SessionBadGatewayError | import("@sealant/api-contracts").SessionBadRequestError | import("@sealant/api-contracts").SessionConflictError | import("@sealant/api-contracts").SessionForbiddenError | import("@sealant/api-contracts").SessionInternalServerError | import("@sealant/api-contracts").SessionNotFoundError | import("@sealant/api-contracts").SessionUnauthorizedError), [Mode] extends ["response-only"] ? never : never>;
2230
+ readonly signalSession: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
2231
+ readonly params: {
2232
+ readonly sessionId: string;
2233
+ };
2234
+ readonly headers: {
2235
+ readonly authorization?: string | undefined;
2236
+ };
2237
+ readonly payload: {
2238
+ readonly ownerUserId?: string | undefined;
2239
+ readonly signal: number;
2240
+ };
2241
+ readonly responseMode?: Mode;
2242
+ }) => Effect.Effect<HttpApiClient.Client.Response<{
2243
+ readonly ok: boolean;
2244
+ }, Mode>, import("effect/unstable/http/HttpClientError").HttpClientError | ([Mode] extends ["response-only"] ? never : import("effect/Schema").SchemaError | import("@sealant/api-contracts").SessionBadGatewayError | import("@sealant/api-contracts").SessionBadRequestError | import("@sealant/api-contracts").SessionConflictError | import("@sealant/api-contracts").SessionForbiddenError | import("@sealant/api-contracts").SessionInternalServerError | import("@sealant/api-contracts").SessionNotFoundError | import("@sealant/api-contracts").SessionUnauthorizedError), [Mode] extends ["response-only"] ? never : never>;
2245
+ };
1640
2246
  readonly sshKeys: {
1641
2247
  readonly archiveSshKey: <Mode extends import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode = import("effect/unstable/httpapi/HttpApiEndpoint").ClientResponseMode>(request: {
1642
2248
  readonly params: {
@@ -1792,6 +2398,14 @@ declare const SealantApiClient_base: Context.ServiceClass<SealantApiClient, "@se
1792
2398
  readonly mode: "interactive" | "one-shot";
1793
2399
  readonly status: "cancelled" | "completed" | "failed" | "queued" | "running";
1794
2400
  readonly prompt?: string | undefined;
2401
+ readonly command?: {
2402
+ readonly executable: string;
2403
+ readonly args: readonly string[];
2404
+ readonly cwd?: string | undefined;
2405
+ } | undefined;
2406
+ readonly metadata?: {
2407
+ readonly [x: string]: unknown;
2408
+ } | undefined;
1795
2409
  readonly exitCode?: number | undefined;
1796
2410
  readonly errorMessage?: string | undefined;
1797
2411
  readonly startedAt?: string | undefined;