@gjermundgaraba/clankerbox-sdk 0.2.0 → 0.4.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.
- package/README.md +8 -5
- package/dist/gen/clankerbox/v1/host_pb.d.ts +0 -4
- package/dist/gen/clankerbox/v1/host_pb.js +1 -1
- package/dist/gen/clankerbox/v1/profile_pb.d.ts +600 -0
- package/dist/gen/clankerbox/v1/profile_pb.js +156 -0
- package/dist/gen/clankerbox/v1/resources_pb.d.ts +10 -6
- package/dist/gen/clankerbox/v1/resources_pb.js +1 -1
- package/dist/gen/clankerbox/v1/session_pb.d.ts +144 -28
- package/dist/gen/clankerbox/v1/session_pb.js +47 -19
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +5 -1
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.15.0 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file clankerbox/v1/profile.proto (package clankerbox.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_clankerbox_v1_resources } from "./resources_pb.js";
|
|
6
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file clankerbox/v1/profile.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_clankerbox_v1_profile = /*@__PURE__*/ fileDesc("ChtjbGFua2VyYm94L3YxL3Byb2ZpbGUucHJvdG8SDWNsYW5rZXJib3gudjEiTQoEQmFzZRIKCgJpZBgBIAEoCRIKCgJvcxgCIAEoCRIMCgRhcmNoGAMgASgJEg8KB3J1bnRpbWUYBCABKAkSDgoGZGlnZXN0GAUgASgJIoUBCg1Qcm9maWxlUmVjaXBlEgoKAmlkGAEgASgJEg8KB2hvc3RfaWQYAiABKAkSDwoHYmFzZV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2cSKS5jbGFua2VyYm94LnYxLlJlYWRQcm9maWxlQnVpbGRMb2dSZXF1ZXN0GiouY2xhbmtlcmJveC52MS5SZWFkUHJvZmlsZUJ1aWxkTG9nUmVzcG9uc2USbAoVRGVsZXRlUHJvZmlsZVJldmlzaW9uEisuY2xhbmtlcmJveC52MS5EZWxldGVQcm9maWxlUmV2aXNpb25SZXF1ZXN0GiYuY2xhbmtlcmJveC52MS5Qcm9maWxlTXV0YXRpb25SZXNwb25zZRJOCglMaXN0QmFzZXMSHy5jbGFua2VyYm94LnYxLkxpc3RCYXNlc1JlcXVlc3QaIC5jbGFua2VyYm94LnYxLkxpc3RCYXNlc1Jlc3BvbnNlQitaKWNsYW5rZXJib3gvZ2VuL2NsYW5rZXJib3gvdjE7Y2xhbmtlcmJveHYxYgZwcm90bzM", [file_clankerbox_v1_resources, file_google_protobuf_timestamp]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message clankerbox.v1.Base.
|
|
13
|
+
* Use `create(BaseSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const BaseSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 0);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message clankerbox.v1.ProfileRecipe.
|
|
18
|
+
* Use `create(ProfileRecipeSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const ProfileRecipeSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 1);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message clankerbox.v1.ProfileBuild.
|
|
23
|
+
* Use `create(ProfileBuildSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const ProfileBuildSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 2);
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message clankerbox.v1.UploadRecipeRequest.
|
|
28
|
+
* Use `create(UploadRecipeRequestSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const UploadRecipeRequestSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 3);
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message clankerbox.v1.UploadRecipeResponse.
|
|
33
|
+
* Use `create(UploadRecipeResponseSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const UploadRecipeResponseSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 4);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message clankerbox.v1.PublishProfileRequest.
|
|
38
|
+
* Use `create(PublishProfileRequestSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const PublishProfileRequestSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 5);
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message clankerbox.v1.HostPublishProfileRequest.
|
|
43
|
+
* Use `create(HostPublishProfileRequestSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const HostPublishProfileRequestSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 6);
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message clankerbox.v1.GetProfileBuildRequest.
|
|
48
|
+
* Use `create(GetProfileBuildRequestSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export const GetProfileBuildRequestSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 7);
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message clankerbox.v1.CancelProfileBuildRequest.
|
|
53
|
+
* Use `create(CancelProfileBuildRequestSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
export const CancelProfileBuildRequestSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 8);
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message clankerbox.v1.HostCancelProfileBuildRequest.
|
|
58
|
+
* Use `create(HostCancelProfileBuildRequestSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export const HostCancelProfileBuildRequestSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 9);
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message clankerbox.v1.ReadProfileBuildLogRequest.
|
|
63
|
+
* Use `create(ReadProfileBuildLogRequestSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export const ReadProfileBuildLogRequestSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 10);
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message clankerbox.v1.ReadProfileBuildLogResponse.
|
|
68
|
+
* Use `create(ReadProfileBuildLogResponseSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export const ReadProfileBuildLogResponseSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 11);
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message clankerbox.v1.ListProfileRevisionsRequest.
|
|
73
|
+
* Use `create(ListProfileRevisionsRequestSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
export const ListProfileRevisionsRequestSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 12);
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message clankerbox.v1.ProfileRevision.
|
|
78
|
+
* Use `create(ProfileRevisionSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export const ProfileRevisionSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 13);
|
|
81
|
+
/**
|
|
82
|
+
* Describes the message clankerbox.v1.ListProfileRevisionsResponse.
|
|
83
|
+
* Use `create(ListProfileRevisionsResponseSchema)` to create a new message.
|
|
84
|
+
*/
|
|
85
|
+
export const ListProfileRevisionsResponseSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 14);
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message clankerbox.v1.DeleteProfileRequest.
|
|
88
|
+
* Use `create(DeleteProfileRequestSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export const DeleteProfileRequestSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 15);
|
|
91
|
+
/**
|
|
92
|
+
* Describes the message clankerbox.v1.DeleteProfileRevisionRequest.
|
|
93
|
+
* Use `create(DeleteProfileRevisionRequestSchema)` to create a new message.
|
|
94
|
+
*/
|
|
95
|
+
export const DeleteProfileRevisionRequestSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 16);
|
|
96
|
+
/**
|
|
97
|
+
* Describes the message clankerbox.v1.ProfileMutationResponse.
|
|
98
|
+
* Use `create(ProfileMutationResponseSchema)` to create a new message.
|
|
99
|
+
*/
|
|
100
|
+
export const ProfileMutationResponseSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 17);
|
|
101
|
+
/**
|
|
102
|
+
* Describes the message clankerbox.v1.ListBasesRequest.
|
|
103
|
+
* Use `create(ListBasesRequestSchema)` to create a new message.
|
|
104
|
+
*/
|
|
105
|
+
export const ListBasesRequestSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 18);
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message clankerbox.v1.ListBasesResponse.
|
|
108
|
+
* Use `create(ListBasesResponseSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
export const ListBasesResponseSchema = /*@__PURE__*/ messageDesc(file_clankerbox_v1_profile, 19);
|
|
111
|
+
/**
|
|
112
|
+
* @generated from enum clankerbox.v1.ProfileBuildStatus
|
|
113
|
+
*/
|
|
114
|
+
export var ProfileBuildStatus;
|
|
115
|
+
(function (ProfileBuildStatus) {
|
|
116
|
+
/**
|
|
117
|
+
* @generated from enum value: PROFILE_BUILD_STATUS_UNSPECIFIED = 0;
|
|
118
|
+
*/
|
|
119
|
+
ProfileBuildStatus[ProfileBuildStatus["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
120
|
+
/**
|
|
121
|
+
* @generated from enum value: PROFILE_BUILD_STATUS_PENDING = 1;
|
|
122
|
+
*/
|
|
123
|
+
ProfileBuildStatus[ProfileBuildStatus["PENDING"] = 1] = "PENDING";
|
|
124
|
+
/**
|
|
125
|
+
* @generated from enum value: PROFILE_BUILD_STATUS_RUNNING = 2;
|
|
126
|
+
*/
|
|
127
|
+
ProfileBuildStatus[ProfileBuildStatus["RUNNING"] = 2] = "RUNNING";
|
|
128
|
+
/**
|
|
129
|
+
* @generated from enum value: PROFILE_BUILD_STATUS_UNRESOLVED = 3;
|
|
130
|
+
*/
|
|
131
|
+
ProfileBuildStatus[ProfileBuildStatus["UNRESOLVED"] = 3] = "UNRESOLVED";
|
|
132
|
+
/**
|
|
133
|
+
* @generated from enum value: PROFILE_BUILD_STATUS_SUCCEEDED = 4;
|
|
134
|
+
*/
|
|
135
|
+
ProfileBuildStatus[ProfileBuildStatus["SUCCEEDED"] = 4] = "SUCCEEDED";
|
|
136
|
+
/**
|
|
137
|
+
* @generated from enum value: PROFILE_BUILD_STATUS_FAILED = 5;
|
|
138
|
+
*/
|
|
139
|
+
ProfileBuildStatus[ProfileBuildStatus["FAILED"] = 5] = "FAILED";
|
|
140
|
+
/**
|
|
141
|
+
* @generated from enum value: PROFILE_BUILD_STATUS_CANCELLED = 6;
|
|
142
|
+
*/
|
|
143
|
+
ProfileBuildStatus[ProfileBuildStatus["CANCELLED"] = 6] = "CANCELLED";
|
|
144
|
+
})(ProfileBuildStatus || (ProfileBuildStatus = {}));
|
|
145
|
+
/**
|
|
146
|
+
* Describes the enum clankerbox.v1.ProfileBuildStatus.
|
|
147
|
+
*/
|
|
148
|
+
export const ProfileBuildStatusSchema = /*@__PURE__*/ enumDesc(file_clankerbox_v1_profile, 0);
|
|
149
|
+
/**
|
|
150
|
+
* @generated from service clankerbox.v1.ProfileService
|
|
151
|
+
*/
|
|
152
|
+
export const ProfileService = /*@__PURE__*/ serviceDesc(file_clankerbox_v1_profile, 0);
|
|
153
|
+
/**
|
|
154
|
+
* @generated from service clankerbox.v1.HostProfileService
|
|
155
|
+
*/
|
|
156
|
+
export const HostProfileService = /*@__PURE__*/ serviceDesc(file_clankerbox_v1_profile, 1);
|
|
@@ -48,9 +48,17 @@ export type Profile = Message<"clankerbox.v1.Profile"> & {
|
|
|
48
48
|
*/
|
|
49
49
|
overlayGib: bigint;
|
|
50
50
|
/**
|
|
51
|
-
* @generated from field: string
|
|
51
|
+
* @generated from field: string revision_id = 13;
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
revisionId: string;
|
|
54
|
+
/**
|
|
55
|
+
* @generated from field: string host_id = 11;
|
|
56
|
+
*/
|
|
57
|
+
hostId: string;
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: string base_id = 12;
|
|
60
|
+
*/
|
|
61
|
+
baseId: string;
|
|
54
62
|
};
|
|
55
63
|
/**
|
|
56
64
|
* Describes the message clankerbox.v1.Profile.
|
|
@@ -65,10 +73,6 @@ export type Host = Message<"clankerbox.v1.Host"> & {
|
|
|
65
73
|
* @generated from field: string id = 1;
|
|
66
74
|
*/
|
|
67
75
|
id: string;
|
|
68
|
-
/**
|
|
69
|
-
* @generated from field: repeated string profile_ids = 2;
|
|
70
|
-
*/
|
|
71
|
-
profileIds: string[];
|
|
72
76
|
/**
|
|
73
77
|
* @generated from field: uint32 cpu = 3;
|
|
74
78
|
*/
|
|
@@ -6,7 +6,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file clankerbox/v1/resources.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_clankerbox_v1_resources = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_clankerbox_v1_resources = /*@__PURE__*/ fileDesc("Ch1jbGFua2VyYm94L3YxL3Jlc291cmNlcy5wcm90bxINY2xhbmtlcmJveC52MSLpAQoHUHJvZmlsZRIKCgJpZBgBIAEoCRIKCgJvcxgCIAEoCRIMCgRhcmNoGAMgASgJEg8KB3J1bnRpbWUYBCABKAkSCwoDY3B1GAUgASgNEg8KB3JhbV9taWIYBiABKAQSFAoMY2FwYWJpbGl0aWVzGAcgAygJEhMKC3N0b3JhZ2VfZ2liGAggASgEE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xBUkdFEA4SGQoVRVJST1JfUkVBU09OX0lOVEVSTkFMEBASJQohRVJST1JfUkVBU09OX0lERU1QT1RFTkNZX0NPTkZMSUNUEBESHgoaRVJST1JfUkVBU09OX05BTUVfQ09ORkxJQ1QQEhIiCh5FUlJPUl9SRUFTT05fT1BFUkFUSU9OX1BFTkRJTkcQExIbChdFUlJPUl9SRUFTT05fREVQRU5ERU5DWRAUEh4KGkVSUk9SX1JFQVNPTl9DT05GSUdVUkFUSU9OEBUSKAokRVJST1JfUkVBU09OX1JFQ09OQ0lMSUFUSU9OX1JFUVVJUkVEEBYiBAgPEA8qHUVSUk9SX1JFQVNPTl9BTFJFQURZX0FUVEFDSEVEQitaKWNsYW5rZXJib3gvZ2VuL2NsYW5rZXJib3gvdjE7Y2xhbmtlcmJveHYxYgZwcm90bzM", [file_google_protobuf_timestamp]);
|
|
10
10
|
/**
|
|
11
11
|
* Describes the message clankerbox.v1.Profile.
|
|
12
12
|
* Use `create(ProfileSchema)` to create a new message.
|
|
@@ -141,6 +141,16 @@ export type Session = Message<"clankerbox.v1.Session"> & {
|
|
|
141
141
|
* @generated from field: uint64 reply_overflow = 17;
|
|
142
142
|
*/
|
|
143
143
|
replyOverflow: bigint;
|
|
144
|
+
/**
|
|
145
|
+
* Pipe session: no PTY or terminal; cols and rows are zero.
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: bool pipes = 18;
|
|
148
|
+
*/
|
|
149
|
+
pipes: boolean;
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: bool end_on_detach = 19;
|
|
152
|
+
*/
|
|
153
|
+
endOnDetach: boolean;
|
|
144
154
|
};
|
|
145
155
|
/**
|
|
146
156
|
* Describes the message clankerbox.v1.Session.
|
|
@@ -148,55 +158,63 @@ export type Session = Message<"clankerbox.v1.Session"> & {
|
|
|
148
158
|
*/
|
|
149
159
|
export declare const SessionSchema: GenMessage<Session>;
|
|
150
160
|
/**
|
|
151
|
-
*
|
|
161
|
+
* A session is created by the attachment that opens it; see Open.create.
|
|
162
|
+
*
|
|
163
|
+
* @generated from message clankerbox.v1.NewSession
|
|
152
164
|
*/
|
|
153
|
-
export type
|
|
154
|
-
/**
|
|
155
|
-
* @generated from field: string machine_id = 1;
|
|
156
|
-
*/
|
|
157
|
-
machineId: string;
|
|
165
|
+
export type NewSession = Message<"clankerbox.v1.NewSession"> & {
|
|
158
166
|
/**
|
|
159
|
-
* @generated from field: string
|
|
160
|
-
*/
|
|
161
|
-
sessionId: string;
|
|
162
|
-
/**
|
|
163
|
-
* @generated from field: string label = 3;
|
|
167
|
+
* @generated from field: string label = 1;
|
|
164
168
|
*/
|
|
165
169
|
label: string;
|
|
166
170
|
/**
|
|
167
|
-
* @generated from field: string cwd =
|
|
171
|
+
* @generated from field: string cwd = 2;
|
|
168
172
|
*/
|
|
169
173
|
cwd: string;
|
|
170
174
|
/**
|
|
171
|
-
* @generated from field: repeated string argv =
|
|
175
|
+
* @generated from field: repeated string argv = 3;
|
|
172
176
|
*/
|
|
173
177
|
argv: string[];
|
|
174
178
|
/**
|
|
175
|
-
* @generated from field: map<string, string> env =
|
|
179
|
+
* @generated from field: map<string, string> env = 4;
|
|
176
180
|
*/
|
|
177
181
|
env: {
|
|
178
182
|
[key: string]: string;
|
|
179
183
|
};
|
|
180
184
|
/**
|
|
181
|
-
* @generated from field: uint32 cols =
|
|
185
|
+
* @generated from field: uint32 cols = 5;
|
|
182
186
|
*/
|
|
183
187
|
cols: number;
|
|
184
188
|
/**
|
|
185
|
-
* @generated from field: uint32 rows =
|
|
189
|
+
* @generated from field: uint32 rows = 6;
|
|
186
190
|
*/
|
|
187
191
|
rows: number;
|
|
188
192
|
/**
|
|
189
193
|
* Caller decision time for creation deduplication/retry-horizon enforcement.
|
|
190
194
|
*
|
|
191
|
-
* @generated from field: string created_at =
|
|
195
|
+
* @generated from field: string created_at = 7;
|
|
192
196
|
*/
|
|
193
197
|
createdAt: string;
|
|
198
|
+
/**
|
|
199
|
+
* The guest ends the session when its last attachment closes, for any reason.
|
|
200
|
+
*
|
|
201
|
+
* @generated from field: bool end_on_detach = 8;
|
|
202
|
+
*/
|
|
203
|
+
endOnDetach: boolean;
|
|
204
|
+
/**
|
|
205
|
+
* No PTY or terminal: stdin, stdout and stderr are pipes and the grid must be
|
|
206
|
+
* zero. Implies end_on_detach and admits no other attachment, resume or
|
|
207
|
+
* snapshot.
|
|
208
|
+
*
|
|
209
|
+
* @generated from field: bool pipes = 9;
|
|
210
|
+
*/
|
|
211
|
+
pipes: boolean;
|
|
194
212
|
};
|
|
195
213
|
/**
|
|
196
|
-
* Describes the message clankerbox.v1.
|
|
197
|
-
* Use `create(
|
|
214
|
+
* Describes the message clankerbox.v1.NewSession.
|
|
215
|
+
* Use `create(NewSessionSchema)` to create a new message.
|
|
198
216
|
*/
|
|
199
|
-
export declare const
|
|
217
|
+
export declare const NewSessionSchema: GenMessage<NewSession>;
|
|
200
218
|
/**
|
|
201
219
|
* @generated from message clankerbox.v1.ListSessionsRequest
|
|
202
220
|
*/
|
|
@@ -261,6 +279,27 @@ export type ResumeCursor = Message<"clankerbox.v1.ResumeCursor"> & {
|
|
|
261
279
|
* Use `create(ResumeCursorSchema)` to create a new message.
|
|
262
280
|
*/
|
|
263
281
|
export declare const ResumeCursorSchema: GenMessage<ResumeCursor>;
|
|
282
|
+
/**
|
|
283
|
+
* Default colours of the terminal the attachment renders into, as 0xRRGGBB.
|
|
284
|
+
* The guest VT answers colour queries with them; it remains the only responder.
|
|
285
|
+
*
|
|
286
|
+
* @generated from message clankerbox.v1.TerminalProfile
|
|
287
|
+
*/
|
|
288
|
+
export type TerminalProfile = Message<"clankerbox.v1.TerminalProfile"> & {
|
|
289
|
+
/**
|
|
290
|
+
* @generated from field: optional uint32 foreground = 1;
|
|
291
|
+
*/
|
|
292
|
+
foreground?: number | undefined;
|
|
293
|
+
/**
|
|
294
|
+
* @generated from field: optional uint32 background = 2;
|
|
295
|
+
*/
|
|
296
|
+
background?: number | undefined;
|
|
297
|
+
};
|
|
298
|
+
/**
|
|
299
|
+
* Describes the message clankerbox.v1.TerminalProfile.
|
|
300
|
+
* Use `create(TerminalProfileSchema)` to create a new message.
|
|
301
|
+
*/
|
|
302
|
+
export declare const TerminalProfileSchema: GenMessage<TerminalProfile>;
|
|
264
303
|
/**
|
|
265
304
|
* @generated from message clankerbox.v1.Open
|
|
266
305
|
*/
|
|
@@ -274,6 +313,8 @@ export type Open = Message<"clankerbox.v1.Open"> & {
|
|
|
274
313
|
*/
|
|
275
314
|
sessionId: string;
|
|
276
315
|
/**
|
|
316
|
+
* Empty skips the check; a consumer that decodes snapshots supplies it.
|
|
317
|
+
*
|
|
277
318
|
* @generated from field: string expected_engine_digest = 3;
|
|
278
319
|
*/
|
|
279
320
|
expectedEngineDigest: string;
|
|
@@ -281,6 +322,28 @@ export type Open = Message<"clankerbox.v1.Open"> & {
|
|
|
281
322
|
* @generated from field: clankerbox.v1.ResumeCursor resume_cursor = 4;
|
|
282
323
|
*/
|
|
283
324
|
resumeCursor?: ResumeCursor | undefined;
|
|
325
|
+
/**
|
|
326
|
+
* Creates the session: the subscriber is registered before the process
|
|
327
|
+
* starts, so output begins at offset zero and cannot be missed. A session
|
|
328
|
+
* that already exists with the same arguments is opened as it is, which makes
|
|
329
|
+
* a repeated Open after a lost reply safe.
|
|
330
|
+
*
|
|
331
|
+
* @generated from field: clankerbox.v1.NewSession create = 5;
|
|
332
|
+
*/
|
|
333
|
+
create?: NewSession | undefined;
|
|
334
|
+
/**
|
|
335
|
+
* Omit from this attachment's output exactly the escape sequences the guest
|
|
336
|
+
* VT answered, so a real terminal downstream does not answer them again.
|
|
337
|
+
* Offsets stay in unfiltered coordinates: data may be shorter than the
|
|
338
|
+
* advance of next_offset.
|
|
339
|
+
*
|
|
340
|
+
* @generated from field: bool omit_answered_queries = 6;
|
|
341
|
+
*/
|
|
342
|
+
omitAnsweredQueries: boolean;
|
|
343
|
+
/**
|
|
344
|
+
* @generated from field: clankerbox.v1.TerminalProfile terminal_profile = 7;
|
|
345
|
+
*/
|
|
346
|
+
terminalProfile?: TerminalProfile | undefined;
|
|
284
347
|
};
|
|
285
348
|
/**
|
|
286
349
|
* Describes the message clankerbox.v1.Open.
|
|
@@ -288,6 +351,12 @@ export type Open = Message<"clankerbox.v1.Open"> & {
|
|
|
288
351
|
*/
|
|
289
352
|
export declare const OpenSchema: GenMessage<Open>;
|
|
290
353
|
/**
|
|
354
|
+
* offset is how many input bytes the guest has accepted from this attachment.
|
|
355
|
+
* An Input at any other offset is refused, so input sent ahead of
|
|
356
|
+
* acknowledgements can never be reordered or applied twice: after a refusal,
|
|
357
|
+
* everything behind it is refused too, and the consumer continues from
|
|
358
|
+
* Ack.input_offset.
|
|
359
|
+
*
|
|
291
360
|
* @generated from message clankerbox.v1.Input
|
|
292
361
|
*/
|
|
293
362
|
export type Input = Message<"clankerbox.v1.Input"> & {
|
|
@@ -299,6 +368,10 @@ export type Input = Message<"clankerbox.v1.Input"> & {
|
|
|
299
368
|
* @generated from field: bytes data = 2;
|
|
300
369
|
*/
|
|
301
370
|
data: Uint8Array;
|
|
371
|
+
/**
|
|
372
|
+
* @generated from field: uint64 offset = 3;
|
|
373
|
+
*/
|
|
374
|
+
offset: bigint;
|
|
302
375
|
};
|
|
303
376
|
/**
|
|
304
377
|
* Describes the message clankerbox.v1.Input.
|
|
@@ -327,6 +400,22 @@ export type Resize = Message<"clankerbox.v1.Resize"> & {
|
|
|
327
400
|
* Use `create(ResizeSchema)` to create a new message.
|
|
328
401
|
*/
|
|
329
402
|
export declare const ResizeSchema: GenMessage<Resize>;
|
|
403
|
+
/**
|
|
404
|
+
* End of input for a pipe session. Refused for a PTY session.
|
|
405
|
+
*
|
|
406
|
+
* @generated from message clankerbox.v1.CloseInput
|
|
407
|
+
*/
|
|
408
|
+
export type CloseInput = Message<"clankerbox.v1.CloseInput"> & {
|
|
409
|
+
/**
|
|
410
|
+
* @generated from field: uint64 sequence = 1;
|
|
411
|
+
*/
|
|
412
|
+
sequence: bigint;
|
|
413
|
+
};
|
|
414
|
+
/**
|
|
415
|
+
* Describes the message clankerbox.v1.CloseInput.
|
|
416
|
+
* Use `create(CloseInputSchema)` to create a new message.
|
|
417
|
+
*/
|
|
418
|
+
export declare const CloseInputSchema: GenMessage<CloseInput>;
|
|
330
419
|
/**
|
|
331
420
|
* @generated from message clankerbox.v1.AttachmentRequest
|
|
332
421
|
*/
|
|
@@ -354,6 +443,12 @@ export type AttachmentRequest = Message<"clankerbox.v1.AttachmentRequest"> & {
|
|
|
354
443
|
*/
|
|
355
444
|
value: Resize;
|
|
356
445
|
case: "resize";
|
|
446
|
+
} | {
|
|
447
|
+
/**
|
|
448
|
+
* @generated from field: clankerbox.v1.CloseInput close_input = 4;
|
|
449
|
+
*/
|
|
450
|
+
value: CloseInput;
|
|
451
|
+
case: "closeInput";
|
|
357
452
|
} | {
|
|
358
453
|
case: undefined;
|
|
359
454
|
value?: undefined;
|
|
@@ -489,6 +584,8 @@ export type ViewChunk = Message<"clankerbox.v1.ViewChunk"> & {
|
|
|
489
584
|
*/
|
|
490
585
|
export declare const ViewChunkSchema: GenMessage<ViewChunk>;
|
|
491
586
|
/**
|
|
587
|
+
* stream is set only by pipe sessions; PTY output and stdout leave it unspecified.
|
|
588
|
+
*
|
|
492
589
|
* @generated from message clankerbox.v1.Output
|
|
493
590
|
*/
|
|
494
591
|
export type Output = Message<"clankerbox.v1.Output"> & {
|
|
@@ -500,6 +597,10 @@ export type Output = Message<"clankerbox.v1.Output"> & {
|
|
|
500
597
|
* @generated from field: bytes data = 2;
|
|
501
598
|
*/
|
|
502
599
|
data: Uint8Array;
|
|
600
|
+
/**
|
|
601
|
+
* @generated from field: clankerbox.v1.OutputStream stream = 3;
|
|
602
|
+
*/
|
|
603
|
+
stream: OutputStream;
|
|
503
604
|
};
|
|
504
605
|
/**
|
|
505
606
|
* Describes the message clankerbox.v1.Output.
|
|
@@ -550,6 +651,12 @@ export type Ack = Message<"clankerbox.v1.Ack"> & {
|
|
|
550
651
|
* @generated from field: clankerbox.v1.ErrorDetail error = 4;
|
|
551
652
|
*/
|
|
552
653
|
error?: ErrorDetail | undefined;
|
|
654
|
+
/**
|
|
655
|
+
* Input bytes accepted from this attachment, after this control.
|
|
656
|
+
*
|
|
657
|
+
* @generated from field: uint64 input_offset = 5;
|
|
658
|
+
*/
|
|
659
|
+
inputOffset: bigint;
|
|
553
660
|
};
|
|
554
661
|
/**
|
|
555
662
|
* Describes the message clankerbox.v1.Ack.
|
|
@@ -710,6 +817,23 @@ export declare enum OpenMode {
|
|
|
710
817
|
* Describes the enum clankerbox.v1.OpenMode.
|
|
711
818
|
*/
|
|
712
819
|
export declare const OpenModeSchema: GenEnum<OpenMode>;
|
|
820
|
+
/**
|
|
821
|
+
* @generated from enum clankerbox.v1.OutputStream
|
|
822
|
+
*/
|
|
823
|
+
export declare enum OutputStream {
|
|
824
|
+
/**
|
|
825
|
+
* @generated from enum value: OUTPUT_STREAM_UNSPECIFIED = 0;
|
|
826
|
+
*/
|
|
827
|
+
UNSPECIFIED = 0,
|
|
828
|
+
/**
|
|
829
|
+
* @generated from enum value: OUTPUT_STREAM_STDERR = 1;
|
|
830
|
+
*/
|
|
831
|
+
STDERR = 1
|
|
832
|
+
}
|
|
833
|
+
/**
|
|
834
|
+
* Describes the enum clankerbox.v1.OutputStream.
|
|
835
|
+
*/
|
|
836
|
+
export declare const OutputStreamSchema: GenEnum<OutputStream>;
|
|
713
837
|
/**
|
|
714
838
|
* Public controller routing. Applications receive neither guest credentials nor
|
|
715
839
|
* arbitrary endpoint routing. All session methods address an immutable machine ID.
|
|
@@ -725,14 +849,6 @@ export declare const SessionService: GenService<{
|
|
|
725
849
|
input: typeof DescribeGuestRequestSchema;
|
|
726
850
|
output: typeof GuestDescriptionSchema;
|
|
727
851
|
};
|
|
728
|
-
/**
|
|
729
|
-
* @generated from rpc clankerbox.v1.SessionService.CreateSession
|
|
730
|
-
*/
|
|
731
|
-
createSession: {
|
|
732
|
-
methodKind: "unary";
|
|
733
|
-
input: typeof CreateSessionRequestSchema;
|
|
734
|
-
output: typeof SessionSchema;
|
|
735
|
-
};
|
|
736
852
|
/**
|
|
737
853
|
* @generated from rpc clankerbox.v1.SessionService.ListSessions
|
|
738
854
|
*/
|