supertag-ai 0.3.0 → 0.3.3

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.
@@ -1,6 +1,404 @@
1
1
  import { GenMessage } from '@bufbuild/protobuf/codegenv2';
2
2
  import { Message } from '@bufbuild/protobuf';
3
3
 
4
+ /**
5
+ * A five-field cron expression, or @hourly, @daily, or @weekly, evaluated in an IANA time zone.
6
+ *
7
+ * @generated from message supertag.runtime.v2.ScheduleRecurrence
8
+ */
9
+ type ScheduleRecurrence = Message<"supertag.runtime.v2.ScheduleRecurrence"> & {
10
+ /**
11
+ * @generated from field: string cron = 1;
12
+ */
13
+ cron: string;
14
+ /**
15
+ * @generated from field: string time_zone = 2;
16
+ */
17
+ timeZone: string;
18
+ };
19
+ /**
20
+ * @generated from message supertag.runtime.v2.Schedule
21
+ */
22
+ type Schedule = Message<"supertag.runtime.v2.Schedule"> & {
23
+ /**
24
+ * @generated from field: string schedule_id = 1;
25
+ */
26
+ scheduleId: string;
27
+ /**
28
+ * @generated from field: string tag_id = 2;
29
+ */
30
+ tagId: string;
31
+ /**
32
+ * Where the Schedule fires. For a conversation, its latest Session at fire time.
33
+ *
34
+ * @generated from field: string session_id = 3;
35
+ */
36
+ sessionId: string;
37
+ /**
38
+ * What the Tag asked to be reminded of, or the operator's instruction.
39
+ *
40
+ * @generated from field: string note = 4;
41
+ */
42
+ note: string;
43
+ /**
44
+ * Exactly one of `at_ms` (a one-off) and `every` (a recurrence) is set.
45
+ *
46
+ * @generated from field: optional int64 at_ms = 5;
47
+ */
48
+ atMs?: bigint | undefined;
49
+ /**
50
+ * @generated from field: supertag.runtime.v2.ScheduleRecurrence every = 6;
51
+ */
52
+ every?: ScheduleRecurrence | undefined;
53
+ /**
54
+ * @generated from field: supertag.runtime.v2.ScheduleState state = 7;
55
+ */
56
+ state: ScheduleState;
57
+ /**
58
+ * When it fires next; unset once it is done or cancelled.
59
+ *
60
+ * @generated from field: optional int64 next_due_at_ms = 8;
61
+ */
62
+ nextDueAtMs?: bigint | undefined;
63
+ /**
64
+ * `tag:ID` for a Schedule a Tag created, or the operator or client principal.
65
+ *
66
+ * @generated from field: string created_by = 9;
67
+ */
68
+ createdBy: string;
69
+ /**
70
+ * @generated from field: int64 created_at_ms = 10;
71
+ */
72
+ createdAtMs: bigint;
73
+ /**
74
+ * The Objective whose Session it fires in; closing the Objective cancels it.
75
+ *
76
+ * @generated from field: optional string objective_id = 11;
77
+ */
78
+ objectiveId?: string | undefined;
79
+ /**
80
+ * @generated from field: uint64 fire_count = 12;
81
+ */
82
+ fireCount: bigint;
83
+ /**
84
+ * Occurrences that passed without a turn: while the Control Plane was down, or while the
85
+ * Schedule's previous turn was still queued.
86
+ *
87
+ * @generated from field: uint64 missed_count = 13;
88
+ */
89
+ missedCount: bigint;
90
+ /**
91
+ * The latest turn it queued.
92
+ *
93
+ * @generated from field: optional string last_task_id = 14;
94
+ */
95
+ lastTaskId?: string | undefined;
96
+ /**
97
+ * @generated from field: optional int64 last_fired_at_ms = 15;
98
+ */
99
+ lastFiredAtMs?: bigint | undefined;
100
+ /**
101
+ * The principal whose conversation it fires in, when it fires in a conversation.
102
+ *
103
+ * @generated from field: optional string audience = 16;
104
+ */
105
+ audience?: string | undefined;
106
+ /**
107
+ * Changes when its spec or state changes (declared again, paused, resumed, cancelled), not
108
+ * when it fires.
109
+ *
110
+ * @generated from field: uint64 revision = 17;
111
+ */
112
+ revision: bigint;
113
+ };
114
+ /**
115
+ * Describes the message supertag.runtime.v2.Schedule.
116
+ * Use `create(ScheduleSchema)` to create a new message.
117
+ */
118
+ declare const ScheduleSchema: GenMessage<Schedule>;
119
+ /**
120
+ * Exactly one of `at` and `every`.
121
+ * at: a duration ahead ("90m", "2h", "3d") or an RFC 3339 time ("2026-11-17T09:00", read in
122
+ * `time_zone` when it has no offset), from 1 minute to 366 days ahead.
123
+ * every: a five-field cron expression ("0 9 * * MON") or @hourly, @daily, or @weekly, at
124
+ * least one hour apart.
125
+ * `time_zone` is an IANA zone; it defaults to the Control Plane's time zone.
126
+ *
127
+ * @generated from message supertag.runtime.v2.CreateScheduleRequest
128
+ */
129
+ type CreateScheduleRequest = Message<"supertag.runtime.v2.CreateScheduleRequest"> & {
130
+ /**
131
+ * @generated from field: string operation_id = 1;
132
+ */
133
+ operationId: string;
134
+ /**
135
+ * @generated from field: string tag_id = 2;
136
+ */
137
+ tagId: string;
138
+ /**
139
+ * At most 4,000 characters.
140
+ *
141
+ * @generated from field: string note = 3;
142
+ */
143
+ note: string;
144
+ /**
145
+ * @generated from field: string at = 4;
146
+ */
147
+ at: string;
148
+ /**
149
+ * @generated from field: string every = 5;
150
+ */
151
+ every: string;
152
+ /**
153
+ * @generated from field: optional string time_zone = 6;
154
+ */
155
+ timeZone?: string | undefined;
156
+ };
157
+ /**
158
+ * Describes the message supertag.runtime.v2.CreateScheduleRequest.
159
+ * Use `create(CreateScheduleRequestSchema)` to create a new message.
160
+ */
161
+ declare const CreateScheduleRequestSchema: GenMessage<CreateScheduleRequest>;
162
+ /**
163
+ * @generated from message supertag.runtime.v2.GetScheduleRequest
164
+ */
165
+ type GetScheduleRequest = Message<"supertag.runtime.v2.GetScheduleRequest"> & {
166
+ /**
167
+ * @generated from field: string schedule_id = 1;
168
+ */
169
+ scheduleId: string;
170
+ };
171
+ /**
172
+ * Describes the message supertag.runtime.v2.GetScheduleRequest.
173
+ * Use `create(GetScheduleRequestSchema)` to create a new message.
174
+ */
175
+ declare const GetScheduleRequestSchema: GenMessage<GetScheduleRequest>;
176
+ /**
177
+ * A recurring Schedule with a chosen ID: 1 to 63 lowercase letters, digits, and hyphens.
178
+ * `every` and `time_zone` are as in CreateScheduleRequest.
179
+ *
180
+ * @generated from message supertag.runtime.v2.PutScheduleRequest
181
+ */
182
+ type PutScheduleRequest = Message<"supertag.runtime.v2.PutScheduleRequest"> & {
183
+ /**
184
+ * @generated from field: string schedule_id = 1;
185
+ */
186
+ scheduleId: string;
187
+ /**
188
+ * @generated from field: string tag_id = 2;
189
+ */
190
+ tagId: string;
191
+ /**
192
+ * @generated from field: string note = 3;
193
+ */
194
+ note: string;
195
+ /**
196
+ * @generated from field: string every = 4;
197
+ */
198
+ every: string;
199
+ /**
200
+ * @generated from field: optional string time_zone = 5;
201
+ */
202
+ timeZone?: string | undefined;
203
+ };
204
+ /**
205
+ * Describes the message supertag.runtime.v2.PutScheduleRequest.
206
+ * Use `create(PutScheduleRequestSchema)` to create a new message.
207
+ */
208
+ declare const PutScheduleRequestSchema: GenMessage<PutScheduleRequest>;
209
+ /**
210
+ * A repeated backfill finds the occurrences it replayed already have turns, and queues none.
211
+ *
212
+ * @generated from message supertag.runtime.v2.BackfillScheduleRequest
213
+ */
214
+ type BackfillScheduleRequest = Message<"supertag.runtime.v2.BackfillScheduleRequest"> & {
215
+ /**
216
+ * @generated from field: string schedule_id = 1;
217
+ */
218
+ scheduleId: string;
219
+ /**
220
+ * The earliest occurrence to replay, in milliseconds since the epoch; at most 366 days ago.
221
+ *
222
+ * @generated from field: int64 from_ms = 2;
223
+ */
224
+ fromMs: bigint;
225
+ };
226
+ /**
227
+ * Describes the message supertag.runtime.v2.BackfillScheduleRequest.
228
+ * Use `create(BackfillScheduleRequestSchema)` to create a new message.
229
+ */
230
+ declare const BackfillScheduleRequestSchema: GenMessage<BackfillScheduleRequest>;
231
+ /**
232
+ * @generated from message supertag.runtime.v2.BackfillScheduleResponse
233
+ */
234
+ type BackfillScheduleResponse = Message<"supertag.runtime.v2.BackfillScheduleResponse"> & {
235
+ /**
236
+ * @generated from field: supertag.runtime.v2.Schedule schedule = 1;
237
+ */
238
+ schedule?: Schedule | undefined;
239
+ /**
240
+ * The turns it queued, oldest occurrence first; empty when none was missed.
241
+ *
242
+ * @generated from field: repeated string task_ids = 2;
243
+ */
244
+ taskIds: string[];
245
+ /**
246
+ * Occurrences in the range beyond the first 24 that it did not queue.
247
+ *
248
+ * @generated from field: uint32 skipped = 3;
249
+ */
250
+ skipped: number;
251
+ };
252
+ /**
253
+ * Describes the message supertag.runtime.v2.BackfillScheduleResponse.
254
+ * Use `create(BackfillScheduleResponseSchema)` to create a new message.
255
+ */
256
+ declare const BackfillScheduleResponseSchema: GenMessage<BackfillScheduleResponse>;
257
+ /**
258
+ * Without `include_finished`, only staged, active, and paused Schedules.
259
+ *
260
+ * @generated from message supertag.runtime.v2.ListSchedulesRequest
261
+ */
262
+ type ListSchedulesRequest = Message<"supertag.runtime.v2.ListSchedulesRequest"> & {
263
+ /**
264
+ * @generated from field: optional string tag_id = 1;
265
+ */
266
+ tagId?: string | undefined;
267
+ /**
268
+ * @generated from field: bool include_finished = 2;
269
+ */
270
+ includeFinished: boolean;
271
+ };
272
+ /**
273
+ * Describes the message supertag.runtime.v2.ListSchedulesRequest.
274
+ * Use `create(ListSchedulesRequestSchema)` to create a new message.
275
+ */
276
+ declare const ListSchedulesRequestSchema: GenMessage<ListSchedulesRequest>;
277
+ /**
278
+ * Next due first.
279
+ *
280
+ * @generated from message supertag.runtime.v2.ListSchedulesResponse
281
+ */
282
+ type ListSchedulesResponse = Message<"supertag.runtime.v2.ListSchedulesResponse"> & {
283
+ /**
284
+ * @generated from field: repeated supertag.runtime.v2.Schedule schedules = 1;
285
+ */
286
+ schedules: Schedule[];
287
+ };
288
+ /**
289
+ * Describes the message supertag.runtime.v2.ListSchedulesResponse.
290
+ * Use `create(ListSchedulesResponseSchema)` to create a new message.
291
+ */
292
+ declare const ListSchedulesResponseSchema: GenMessage<ListSchedulesResponse>;
293
+ /**
294
+ * The `schedule` tool. It fires in the turn's own Session (for a conversation, the
295
+ * conversation's latest Session). Fields as in CreateScheduleRequest.
296
+ *
297
+ * @generated from message supertag.runtime.v2.CreateAttemptScheduleRequest
298
+ */
299
+ type CreateAttemptScheduleRequest = Message<"supertag.runtime.v2.CreateAttemptScheduleRequest"> & {
300
+ /**
301
+ * @generated from field: string operation_id = 2;
302
+ */
303
+ operationId: string;
304
+ /**
305
+ * @generated from field: string note = 3;
306
+ */
307
+ note: string;
308
+ /**
309
+ * @generated from field: string at = 4;
310
+ */
311
+ at: string;
312
+ /**
313
+ * @generated from field: string every = 5;
314
+ */
315
+ every: string;
316
+ /**
317
+ * @generated from field: optional string time_zone = 6;
318
+ */
319
+ timeZone?: string | undefined;
320
+ };
321
+ /**
322
+ * Describes the message supertag.runtime.v2.CreateAttemptScheduleRequest.
323
+ * Use `create(CreateAttemptScheduleRequestSchema)` to create a new message.
324
+ */
325
+ declare const CreateAttemptScheduleRequestSchema: GenMessage<CreateAttemptScheduleRequest>;
326
+ /**
327
+ * The `cancel_schedule` tool, for a Schedule of the turn's own Tag.
328
+ *
329
+ * @generated from message supertag.runtime.v2.CancelAttemptScheduleRequest
330
+ */
331
+ type CancelAttemptScheduleRequest = Message<"supertag.runtime.v2.CancelAttemptScheduleRequest"> & {
332
+ /**
333
+ * @generated from field: string schedule_id = 2;
334
+ */
335
+ scheduleId: string;
336
+ };
337
+ /**
338
+ * Describes the message supertag.runtime.v2.CancelAttemptScheduleRequest.
339
+ * Use `create(CancelAttemptScheduleRequestSchema)` to create a new message.
340
+ */
341
+ declare const CancelAttemptScheduleRequestSchema: GenMessage<CancelAttemptScheduleRequest>;
342
+ /**
343
+ * @generated from message supertag.runtime.v2.AttemptScheduleResponse
344
+ */
345
+ type AttemptScheduleResponse = Message<"supertag.runtime.v2.AttemptScheduleResponse"> & {
346
+ /**
347
+ * @generated from field: supertag.runtime.v2.Schedule schedule = 1;
348
+ */
349
+ schedule?: Schedule | undefined;
350
+ /**
351
+ * The Tag's other staged and active Schedules in this Session, next due first.
352
+ *
353
+ * @generated from field: repeated supertag.runtime.v2.Schedule pending = 2;
354
+ */
355
+ pending: Schedule[];
356
+ /**
357
+ * The Control Plane's time zone, in which the result reads times.
358
+ *
359
+ * @generated from field: string time_zone = 3;
360
+ */
361
+ timeZone: string;
362
+ };
363
+ /**
364
+ * Describes the message supertag.runtime.v2.AttemptScheduleResponse.
365
+ * Use `create(AttemptScheduleResponseSchema)` to create a new message.
366
+ */
367
+ declare const AttemptScheduleResponseSchema: GenMessage<AttemptScheduleResponse>;
368
+ /**
369
+ * @generated from enum supertag.runtime.v2.ScheduleState
370
+ */
371
+ declare enum ScheduleState {
372
+ /**
373
+ * @generated from enum value: SCHEDULE_STATE_UNSPECIFIED = 0;
374
+ */
375
+ UNSPECIFIED = 0,
376
+ /**
377
+ * Created by a turn that has not finished yet.
378
+ *
379
+ * @generated from enum value: SCHEDULE_STATE_STAGED = 1;
380
+ */
381
+ STAGED = 1,
382
+ /**
383
+ * @generated from enum value: SCHEDULE_STATE_ACTIVE = 2;
384
+ */
385
+ ACTIVE = 2,
386
+ /**
387
+ * @generated from enum value: SCHEDULE_STATE_PAUSED = 3;
388
+ */
389
+ PAUSED = 3,
390
+ /**
391
+ * A one-off that fired.
392
+ *
393
+ * @generated from enum value: SCHEDULE_STATE_DONE = 4;
394
+ */
395
+ DONE = 4,
396
+ /**
397
+ * @generated from enum value: SCHEDULE_STATE_CANCELLED = 5;
398
+ */
399
+ CANCELLED = 5
400
+ }
401
+
4
402
  /**
5
403
  * @generated from message supertag.runtime.v2.SlackSurfaceIdentity
6
404
  */
@@ -519,6 +917,50 @@ type PolicyPermission = Message<"supertag.runtime.v2.PolicyPermission"> & {
519
917
  * @generated from field: bool approval_required = 8;
520
918
  */
521
919
  approvalRequired: boolean;
920
+ /**
921
+ * Path scopes, on runtime files:write and files:read. Workspace-relative directories or
922
+ * exact paths. On files:write, the only Workspace paths it may write; empty means the whole
923
+ * Workspace. files:read takes none: reads cover the whole Workspace minus `exclude`. On
924
+ * web:fetch, URL path prefixes such as `/repos/acme/`; empty means any path. Needs `hosts`.
925
+ *
926
+ * @generated from field: repeated string paths = 9;
927
+ */
928
+ paths: string[];
929
+ /**
930
+ * Workspace-relative paths never written (files:write: they stay readable) or never read or
931
+ * written (files:read, where `*`, `**` and `?` globs are allowed). Excludes win over `paths`.
932
+ *
933
+ * @generated from field: repeated string exclude = 10;
934
+ */
935
+ exclude: string[];
936
+ /**
937
+ * Directories outside the Workspace, absolute or starting with `~/`: writable on
938
+ * files:write, readable on files:read.
939
+ *
940
+ * @generated from field: repeated string additional_directories = 11;
941
+ */
942
+ additionalDirectories: string[];
943
+ /**
944
+ * Network scopes, on runtime web:fetch only. `https://NAME[:PORT]` or `https://*.NAME[:PORT]`
945
+ * origins the Task may reach; empty means any origin. On web:fetch, `paths` above are URL path
946
+ * prefixes on these origins.
947
+ *
948
+ * @generated from field: repeated string hosts = 12;
949
+ */
950
+ hosts: string[];
951
+ /**
952
+ * HTTP methods allowed on `hosts`, uppercase; empty means any method.
953
+ *
954
+ * @generated from field: repeated string methods = 13;
955
+ */
956
+ methods: string[];
957
+ /**
958
+ * A credential name the Worker Host injects into requests this permission allows. The sandbox
959
+ * sees only a placeholder. Requires `hosts`.
960
+ *
961
+ * @generated from field: string credential = 14;
962
+ */
963
+ credential: string;
522
964
  };
523
965
  /**
524
966
  * @generated from message supertag.runtime.v2.PermissionSet
@@ -805,25 +1247,126 @@ type TaskRuntimeAuthority = Message<"supertag.runtime.v2.TaskRuntimeAuthority">
805
1247
  * @generated from field: optional string delegating_task_id = 5;
806
1248
  */
807
1249
  delegatingTaskId?: string | undefined;
1250
+ /**
1251
+ * The path scope composed from the accepted Permission Sets. Absent: no restriction beyond
1252
+ * the accepted actions.
1253
+ *
1254
+ * @generated from field: supertag.runtime.v2.FileScope files = 6;
1255
+ */
1256
+ files?: FileScope | undefined;
1257
+ /**
1258
+ * The network scope composed from the accepted Permission Sets' web:fetch grants. Absent: no
1259
+ * restriction beyond the accepted actions.
1260
+ *
1261
+ * @generated from field: supertag.runtime.v2.NetworkScope network = 7;
1262
+ */
1263
+ network?: NetworkScope | undefined;
808
1264
  };
809
1265
  /**
810
- * @generated from message supertag.runtime.v2.PutPermissionSetRequest
1266
+ * A Task's file scope, composed when it is accepted. Workspace entries are relative to the
1267
+ * Workspace root and match the path after symlinks resolve. Precedence: hidden beats read-only
1268
+ * beats write.
1269
+ *
1270
+ * @generated from message supertag.runtime.v2.FileScope
811
1271
  */
812
- type PutPermissionSetRequest = Message<"supertag.runtime.v2.PutPermissionSetRequest"> & {
1272
+ type FileScope = Message<"supertag.runtime.v2.FileScope"> & {
813
1273
  /**
814
- * @generated from field: string operation_id = 1;
1274
+ * Workspace directories or exact paths the Task may write. Empty: the whole Workspace.
1275
+ *
1276
+ * @generated from field: repeated string write = 1;
815
1277
  */
816
- operationId: string;
1278
+ write: string[];
817
1279
  /**
818
- * @generated from field: supertag.runtime.v2.PermissionSet permission_set = 2;
1280
+ * Workspace directories or exact paths that stay readable but are never written.
1281
+ *
1282
+ * @generated from field: repeated string read_only = 2;
819
1283
  */
820
- permissionSet?: PermissionSet | undefined;
1284
+ readOnly: string[];
821
1285
  /**
822
- * @generated from field: optional uint64 expected_revision = 3;
1286
+ * Workspace paths or `*`, `**`, `?` globs that are neither read nor written.
1287
+ *
1288
+ * @generated from field: repeated string hidden = 3;
823
1289
  */
824
- expectedRevision?: bigint | undefined;
825
- };
826
- /**
1290
+ hidden: string[];
1291
+ /**
1292
+ * Directories outside the Workspace, `~/` or absolute and unexpanded, that are writable.
1293
+ *
1294
+ * @generated from field: repeated string outside_write = 4;
1295
+ */
1296
+ outsideWrite: string[];
1297
+ /**
1298
+ * Directories outside the Workspace that are readable.
1299
+ *
1300
+ * @generated from field: repeated string outside_read = 5;
1301
+ */
1302
+ outsideRead: string[];
1303
+ };
1304
+ /**
1305
+ * A Task's network scope, composed when it is accepted. A request is allowed when `any_origin` is
1306
+ * set or a rule matches its origin and method. A credential is injected only where a rule naming
1307
+ * it matches.
1308
+ *
1309
+ * @generated from message supertag.runtime.v2.NetworkScope
1310
+ */
1311
+ type NetworkScope = Message<"supertag.runtime.v2.NetworkScope"> & {
1312
+ /**
1313
+ * An admitted web:fetch grant names no hosts and no methods: every origin and method.
1314
+ *
1315
+ * @generated from field: bool any_origin = 1;
1316
+ */
1317
+ anyOrigin: boolean;
1318
+ /**
1319
+ * @generated from field: repeated supertag.runtime.v2.NetworkRule rules = 2;
1320
+ */
1321
+ rules: NetworkRule[];
1322
+ };
1323
+ /**
1324
+ * @generated from message supertag.runtime.v2.NetworkRule
1325
+ */
1326
+ type NetworkRule = Message<"supertag.runtime.v2.NetworkRule"> & {
1327
+ /**
1328
+ * Canonical `https://name` or `https://name:port` origins. Empty: any origin.
1329
+ *
1330
+ * @generated from field: repeated string origins = 1;
1331
+ */
1332
+ origins: string[];
1333
+ /**
1334
+ * Uppercase HTTP methods. Empty: any method.
1335
+ *
1336
+ * @generated from field: repeated string methods = 2;
1337
+ */
1338
+ methods: string[];
1339
+ /**
1340
+ * A credential name the Worker Host injects into matching requests, or empty.
1341
+ *
1342
+ * @generated from field: string credential = 3;
1343
+ */
1344
+ credential: string;
1345
+ /**
1346
+ * URL path prefixes a request's path must start with, at a `/` boundary. Empty: any path.
1347
+ *
1348
+ * @generated from field: repeated string paths = 4;
1349
+ */
1350
+ paths: string[];
1351
+ };
1352
+ /**
1353
+ * @generated from message supertag.runtime.v2.PutPermissionSetRequest
1354
+ */
1355
+ type PutPermissionSetRequest = Message<"supertag.runtime.v2.PutPermissionSetRequest"> & {
1356
+ /**
1357
+ * @generated from field: string operation_id = 1;
1358
+ */
1359
+ operationId: string;
1360
+ /**
1361
+ * @generated from field: supertag.runtime.v2.PermissionSet permission_set = 2;
1362
+ */
1363
+ permissionSet?: PermissionSet | undefined;
1364
+ /**
1365
+ * @generated from field: optional uint64 expected_revision = 3;
1366
+ */
1367
+ expectedRevision?: bigint | undefined;
1368
+ };
1369
+ /**
827
1370
  * Describes the message supertag.runtime.v2.PutPermissionSetRequest.
828
1371
  * Use `create(PutPermissionSetRequestSchema)` to create a new message.
829
1372
  */
@@ -1215,117 +1758,171 @@ declare enum RoleAssignmentStatus {
1215
1758
  }
1216
1759
 
1217
1760
  /**
1218
- * @generated from message supertag.runtime.v2.GithubWorkspaceSource
1761
+ * @generated from message supertag.runtime.v2.Workspace
1219
1762
  */
1220
- type GithubWorkspaceSource = Message<"supertag.runtime.v2.GithubWorkspaceSource"> & {
1763
+ type Workspace = Message<"supertag.runtime.v2.Workspace"> & {
1221
1764
  /**
1222
- * @generated from field: string account_id = 1;
1765
+ * @generated from field: string workspace_id = 1;
1223
1766
  */
1224
- accountId: string;
1767
+ workspaceId: string;
1768
+ /**
1769
+ * `ssh://`, `https://`, an scp-style `user@host:path`, or `file://` for a bare repository on
1770
+ * the Control Plane's machine. It never contains a password or token.
1771
+ *
1772
+ * @generated from field: string remote = 2;
1773
+ */
1774
+ remote: string;
1225
1775
  /**
1226
- * @generated from field: uint64 repository_id = 2;
1776
+ * The branch each new Session starts from. Empty follows the remote's default branch.
1777
+ *
1778
+ * @generated from field: string ref = 3;
1227
1779
  */
1228
- repositoryId: bigint;
1780
+ ref: string;
1229
1781
  /**
1230
- * @generated from field: string repository = 3;
1782
+ * @generated from field: supertag.runtime.v2.WorkspaceCredentialNames credentials = 4;
1231
1783
  */
1232
- repository: string;
1784
+ credentials?: WorkspaceCredentialNames | undefined;
1233
1785
  /**
1234
- * A full immutable SHA-1 Git commit. Empty selects revision/default branch.
1786
+ * Absent: Session changes stay on their Session branches.
1235
1787
  *
1236
- * @generated from field: string commit_sha = 4;
1788
+ * @generated from field: supertag.runtime.v2.WorkspaceLand land = 5;
1237
1789
  */
1238
- commitSha: string;
1790
+ land?: WorkspaceLand | undefined;
1239
1791
  /**
1240
- * Requested Git branch or tag. Omit with empty commit_sha for the default branch.
1792
+ * @generated from field: uint64 revision = 6;
1793
+ */
1794
+ revision: bigint;
1795
+ /**
1796
+ * Set only on a Task's copy: the commit its Session started from, and the branch the
1797
+ * Control Plane read it from.
1241
1798
  *
1242
- * @generated from field: optional string revision = 5;
1799
+ * @generated from field: string commit = 7;
1800
+ */
1801
+ commit: string;
1802
+ /**
1803
+ * @generated from field: string resolved_ref = 8;
1243
1804
  */
1244
- revision?: string | undefined;
1805
+ resolvedRef: string;
1245
1806
  /**
1246
- * Resolved branch/tag used to choose commit_sha. Set only by the trusted resolver.
1807
+ * The forge whose API reviews changes. Unspecified is inferred from the remote: github.com is
1808
+ * GitHub, and any other remote is a plain git server, which has no review.
1247
1809
  *
1248
- * @generated from field: optional string resolved_revision = 6;
1810
+ * @generated from field: supertag.runtime.v2.WorkspaceForge forge = 9;
1249
1811
  */
1250
- resolvedRevision?: string | undefined;
1812
+ forge: WorkspaceForge;
1251
1813
  };
1252
1814
  /**
1253
- * @generated from message supertag.runtime.v2.GithubWorkspace
1815
+ * Describes the message supertag.runtime.v2.Workspace.
1816
+ * Use `create(WorkspaceSchema)` to create a new message.
1254
1817
  */
1255
- type GithubWorkspace = Message<"supertag.runtime.v2.GithubWorkspace"> & {
1256
- /**
1257
- * @generated from field: string workspace_id = 1;
1258
- */
1259
- workspaceId: string;
1818
+ declare const WorkspaceSchema: GenMessage<Workspace>;
1819
+ /**
1820
+ * The Workspace Credentials git delivery uses. Empty names a remote that needs none, such as a
1821
+ * `file://` repository.
1822
+ *
1823
+ * @generated from message supertag.runtime.v2.WorkspaceCredentialNames
1824
+ */
1825
+ type WorkspaceCredentialNames = Message<"supertag.runtime.v2.WorkspaceCredentialNames"> & {
1260
1826
  /**
1261
- * @generated from field: supertag.runtime.v2.GithubWorkspaceSource source = 2;
1827
+ * @generated from field: string read = 1;
1262
1828
  */
1263
- source?: GithubWorkspaceSource | undefined;
1829
+ read: string;
1264
1830
  /**
1265
- * @generated from field: uint64 revision = 3;
1831
+ * @generated from field: string push = 2;
1266
1832
  */
1267
- revision: bigint;
1833
+ push: string;
1834
+ };
1835
+ /**
1836
+ * Where a Session's changes land.
1837
+ * Every delivered Task updates the Session's branch `supertag/session/ID` on the remote; `land`
1838
+ * adds a merge or a review.
1839
+ *
1840
+ * @generated from message supertag.runtime.v2.WorkspaceLand
1841
+ */
1842
+ type WorkspaceLand = Message<"supertag.runtime.v2.WorkspaceLand"> & {
1268
1843
  /**
1269
- * Omit to retain local commit/patch delivery only.
1270
- *
1271
- * @generated from field: supertag.runtime.v2.GithubPullRequestDelivery pull_request = 4;
1844
+ * @generated from oneof supertag.runtime.v2.WorkspaceLand.mode
1272
1845
  */
1273
- pullRequest?: GithubPullRequestDelivery | undefined;
1846
+ mode: {
1847
+ /**
1848
+ * A Session's finished work is merged into `target`, which is pushed.
1849
+ *
1850
+ * @generated from field: supertag.runtime.v2.WorkspaceLandMerge merge = 2;
1851
+ */
1852
+ value: WorkspaceLandMerge;
1853
+ case: "merge";
1854
+ } | {
1855
+ /**
1856
+ * A draft pull request from the Session's branch against `base` is opened or updated for
1857
+ * each delivered Task. Needs a forge.
1858
+ *
1859
+ * @generated from field: supertag.runtime.v2.WorkspaceLandReview review = 3;
1860
+ */
1861
+ value: WorkspaceLandReview;
1862
+ case: "review";
1863
+ } | {
1864
+ case: undefined;
1865
+ value?: undefined;
1866
+ };
1274
1867
  };
1275
1868
  /**
1276
- * Describes the message supertag.runtime.v2.GithubWorkspace.
1277
- * Use `create(GithubWorkspaceSchema)` to create a new message.
1869
+ * @generated from message supertag.runtime.v2.WorkspaceLandMerge
1278
1870
  */
1279
- declare const GithubWorkspaceSchema: GenMessage<GithubWorkspace>;
1871
+ type WorkspaceLandMerge = Message<"supertag.runtime.v2.WorkspaceLandMerge"> & {
1872
+ /**
1873
+ * @generated from field: string target = 1;
1874
+ */
1875
+ target: string;
1876
+ };
1280
1877
  /**
1281
- * @generated from message supertag.runtime.v2.GithubPullRequestDelivery
1878
+ * @generated from message supertag.runtime.v2.WorkspaceLandReview
1282
1879
  */
1283
- type GithubPullRequestDelivery = Message<"supertag.runtime.v2.GithubPullRequestDelivery"> & {
1880
+ type WorkspaceLandReview = Message<"supertag.runtime.v2.WorkspaceLandReview"> & {
1284
1881
  /**
1285
- * @generated from field: string base_branch = 1;
1882
+ * @generated from field: string base = 1;
1286
1883
  */
1287
- baseBranch: string;
1884
+ base: string;
1288
1885
  };
1289
1886
  /**
1290
- * @generated from message supertag.runtime.v2.PutGithubWorkspaceRequest
1887
+ * @generated from message supertag.runtime.v2.PutWorkspaceRequest
1291
1888
  */
1292
- type PutGithubWorkspaceRequest = Message<"supertag.runtime.v2.PutGithubWorkspaceRequest"> & {
1889
+ type PutWorkspaceRequest = Message<"supertag.runtime.v2.PutWorkspaceRequest"> & {
1293
1890
  /**
1294
1891
  * @generated from field: string operation_id = 1;
1295
1892
  */
1296
1893
  operationId: string;
1297
1894
  /**
1298
- * @generated from field: supertag.runtime.v2.GithubWorkspace workspace = 2;
1895
+ * @generated from field: supertag.runtime.v2.Workspace workspace = 2;
1299
1896
  */
1300
- workspace?: GithubWorkspace | undefined;
1897
+ workspace?: Workspace | undefined;
1301
1898
  /**
1302
1899
  * @generated from field: optional uint64 expected_revision = 3;
1303
1900
  */
1304
1901
  expectedRevision?: bigint | undefined;
1305
1902
  };
1306
1903
  /**
1307
- * Describes the message supertag.runtime.v2.PutGithubWorkspaceRequest.
1308
- * Use `create(PutGithubWorkspaceRequestSchema)` to create a new message.
1904
+ * Describes the message supertag.runtime.v2.PutWorkspaceRequest.
1905
+ * Use `create(PutWorkspaceRequestSchema)` to create a new message.
1309
1906
  */
1310
- declare const PutGithubWorkspaceRequestSchema: GenMessage<PutGithubWorkspaceRequest>;
1907
+ declare const PutWorkspaceRequestSchema: GenMessage<PutWorkspaceRequest>;
1311
1908
  /**
1312
- * @generated from message supertag.runtime.v2.GetGithubWorkspaceRequest
1909
+ * @generated from message supertag.runtime.v2.GetWorkspaceRequest
1313
1910
  */
1314
- type GetGithubWorkspaceRequest = Message<"supertag.runtime.v2.GetGithubWorkspaceRequest"> & {
1911
+ type GetWorkspaceRequest = Message<"supertag.runtime.v2.GetWorkspaceRequest"> & {
1315
1912
  /**
1316
1913
  * @generated from field: string workspace_id = 1;
1317
1914
  */
1318
1915
  workspaceId: string;
1319
1916
  };
1320
1917
  /**
1321
- * Describes the message supertag.runtime.v2.GetGithubWorkspaceRequest.
1322
- * Use `create(GetGithubWorkspaceRequestSchema)` to create a new message.
1918
+ * Describes the message supertag.runtime.v2.GetWorkspaceRequest.
1919
+ * Use `create(GetWorkspaceRequestSchema)` to create a new message.
1323
1920
  */
1324
- declare const GetGithubWorkspaceRequestSchema: GenMessage<GetGithubWorkspaceRequest>;
1921
+ declare const GetWorkspaceRequestSchema: GenMessage<GetWorkspaceRequest>;
1325
1922
  /**
1326
- * @generated from message supertag.runtime.v2.ListGithubWorkspacesRequest
1923
+ * @generated from message supertag.runtime.v2.ListWorkspacesRequest
1327
1924
  */
1328
- type ListGithubWorkspacesRequest = Message<"supertag.runtime.v2.ListGithubWorkspacesRequest"> & {
1925
+ type ListWorkspacesRequest = Message<"supertag.runtime.v2.ListWorkspacesRequest"> & {
1329
1926
  /**
1330
1927
  * @generated from field: string after_id = 1;
1331
1928
  */
@@ -1336,32 +1933,32 @@ type ListGithubWorkspacesRequest = Message<"supertag.runtime.v2.ListGithubWorksp
1336
1933
  limit: number;
1337
1934
  };
1338
1935
  /**
1339
- * Describes the message supertag.runtime.v2.ListGithubWorkspacesRequest.
1340
- * Use `create(ListGithubWorkspacesRequestSchema)` to create a new message.
1936
+ * Describes the message supertag.runtime.v2.ListWorkspacesRequest.
1937
+ * Use `create(ListWorkspacesRequestSchema)` to create a new message.
1341
1938
  */
1342
- declare const ListGithubWorkspacesRequestSchema: GenMessage<ListGithubWorkspacesRequest>;
1939
+ declare const ListWorkspacesRequestSchema: GenMessage<ListWorkspacesRequest>;
1343
1940
  /**
1344
- * @generated from message supertag.runtime.v2.ListGithubWorkspacesResponse
1941
+ * @generated from message supertag.runtime.v2.ListWorkspacesResponse
1345
1942
  */
1346
- type ListGithubWorkspacesResponse = Message<"supertag.runtime.v2.ListGithubWorkspacesResponse"> & {
1943
+ type ListWorkspacesResponse = Message<"supertag.runtime.v2.ListWorkspacesResponse"> & {
1347
1944
  /**
1348
- * @generated from field: repeated supertag.runtime.v2.GithubWorkspace workspaces = 1;
1945
+ * @generated from field: repeated supertag.runtime.v2.Workspace workspaces = 1;
1349
1946
  */
1350
- workspaces: GithubWorkspace[];
1947
+ workspaces: Workspace[];
1351
1948
  /**
1352
1949
  * @generated from field: string next_cursor = 2;
1353
1950
  */
1354
1951
  nextCursor: string;
1355
1952
  };
1356
1953
  /**
1357
- * Describes the message supertag.runtime.v2.ListGithubWorkspacesResponse.
1358
- * Use `create(ListGithubWorkspacesResponseSchema)` to create a new message.
1954
+ * Describes the message supertag.runtime.v2.ListWorkspacesResponse.
1955
+ * Use `create(ListWorkspacesResponseSchema)` to create a new message.
1359
1956
  */
1360
- declare const ListGithubWorkspacesResponseSchema: GenMessage<ListGithubWorkspacesResponse>;
1957
+ declare const ListWorkspacesResponseSchema: GenMessage<ListWorkspacesResponse>;
1361
1958
  /**
1362
- * @generated from message supertag.runtime.v2.DeleteGithubWorkspaceRequest
1959
+ * @generated from message supertag.runtime.v2.DeleteWorkspaceRequest
1363
1960
  */
1364
- type DeleteGithubWorkspaceRequest = Message<"supertag.runtime.v2.DeleteGithubWorkspaceRequest"> & {
1961
+ type DeleteWorkspaceRequest = Message<"supertag.runtime.v2.DeleteWorkspaceRequest"> & {
1365
1962
  /**
1366
1963
  * @generated from field: string operation_id = 1;
1367
1964
  */
@@ -1382,19 +1979,283 @@ type DeleteGithubWorkspaceRequest = Message<"supertag.runtime.v2.DeleteGithubWor
1382
1979
  dryRun: boolean;
1383
1980
  };
1384
1981
  /**
1385
- * Describes the message supertag.runtime.v2.DeleteGithubWorkspaceRequest.
1386
- * Use `create(DeleteGithubWorkspaceRequestSchema)` to create a new message.
1982
+ * Describes the message supertag.runtime.v2.DeleteWorkspaceRequest.
1983
+ * Use `create(DeleteWorkspaceRequestSchema)` to create a new message.
1984
+ */
1985
+ declare const DeleteWorkspaceRequestSchema: GenMessage<DeleteWorkspaceRequest>;
1986
+ /**
1987
+ * @generated from message supertag.runtime.v2.DeleteWorkspaceResponse
1988
+ */
1989
+ type DeleteWorkspaceResponse = Message<"supertag.runtime.v2.DeleteWorkspaceResponse"> & {};
1990
+ /**
1991
+ * Describes the message supertag.runtime.v2.DeleteWorkspaceResponse.
1992
+ * Use `create(DeleteWorkspaceResponseSchema)` to create a new message.
1993
+ */
1994
+ declare const DeleteWorkspaceResponseSchema: GenMessage<DeleteWorkspaceResponse>;
1995
+ /**
1996
+ * @generated from message supertag.runtime.v2.CheckWorkspaceRequest
1997
+ */
1998
+ type CheckWorkspaceRequest = Message<"supertag.runtime.v2.CheckWorkspaceRequest"> & {
1999
+ /**
2000
+ * @generated from field: string workspace_id = 1;
2001
+ */
2002
+ workspaceId: string;
2003
+ };
2004
+ /**
2005
+ * Describes the message supertag.runtime.v2.CheckWorkspaceRequest.
2006
+ * Use `create(CheckWorkspaceRequestSchema)` to create a new message.
2007
+ */
2008
+ declare const CheckWorkspaceRequestSchema: GenMessage<CheckWorkspaceRequest>;
2009
+ /**
2010
+ * @generated from message supertag.runtime.v2.WorkspaceCheckStep
2011
+ */
2012
+ type WorkspaceCheckStep = Message<"supertag.runtime.v2.WorkspaceCheckStep"> & {
2013
+ /**
2014
+ * `read`, `push`, `scope`, `review`, or `ci`.
2015
+ *
2016
+ * @generated from field: string step = 1;
2017
+ */
2018
+ step: string;
2019
+ /**
2020
+ * @generated from field: supertag.runtime.v2.WorkspaceCheckStatus status = 2;
2021
+ */
2022
+ status: WorkspaceCheckStatus;
2023
+ /**
2024
+ * @generated from field: string detail = 3;
2025
+ */
2026
+ detail: string;
2027
+ };
2028
+ /**
2029
+ * @generated from message supertag.runtime.v2.WorkspaceCheck
2030
+ */
2031
+ type WorkspaceCheck = Message<"supertag.runtime.v2.WorkspaceCheck"> & {
2032
+ /**
2033
+ * @generated from field: string workspace_id = 1;
2034
+ */
2035
+ workspaceId: string;
2036
+ /**
2037
+ * @generated from field: repeated supertag.runtime.v2.WorkspaceCheckStep steps = 2;
2038
+ */
2039
+ steps: WorkspaceCheckStep[];
2040
+ };
2041
+ /**
2042
+ * Describes the message supertag.runtime.v2.WorkspaceCheck.
2043
+ * Use `create(WorkspaceCheckSchema)` to create a new message.
2044
+ */
2045
+ declare const WorkspaceCheckSchema: GenMessage<WorkspaceCheck>;
2046
+ /**
2047
+ * @generated from message supertag.runtime.v2.WorkspaceCredential
2048
+ */
2049
+ type WorkspaceCredential = Message<"supertag.runtime.v2.WorkspaceCredential"> & {
2050
+ /**
2051
+ * @generated from field: string name = 1;
2052
+ */
2053
+ name: string;
2054
+ /**
2055
+ * @generated from field: supertag.runtime.v2.WorkspaceCredentialKind kind = 2;
2056
+ */
2057
+ kind: WorkspaceCredentialKind;
2058
+ /**
2059
+ * An SSH key's SHA256 fingerprint, an HTTPS user name, a helper's command name, or a GitHub
2060
+ * App's `app:ID/installation:ID`.
2061
+ *
2062
+ * @generated from field: string identifier = 3;
2063
+ */
2064
+ identifier: string;
2065
+ /**
2066
+ * @generated from field: uint64 revision = 4;
2067
+ */
2068
+ revision: bigint;
2069
+ };
2070
+ /**
2071
+ * Describes the message supertag.runtime.v2.WorkspaceCredential.
2072
+ * Use `create(WorkspaceCredentialSchema)` to create a new message.
2073
+ */
2074
+ declare const WorkspaceCredentialSchema: GenMessage<WorkspaceCredential>;
2075
+ /**
2076
+ * @generated from message supertag.runtime.v2.PutWorkspaceCredentialRequest
2077
+ */
2078
+ type PutWorkspaceCredentialRequest = Message<"supertag.runtime.v2.PutWorkspaceCredentialRequest"> & {
2079
+ /**
2080
+ * @generated from field: string operation_id = 1;
2081
+ */
2082
+ operationId: string;
2083
+ /**
2084
+ * @generated from field: supertag.runtime.v2.WorkspaceCredential credential = 2;
2085
+ */
2086
+ credential?: WorkspaceCredential | undefined;
2087
+ /**
2088
+ * @generated from field: optional uint64 expected_revision = 3;
2089
+ */
2090
+ expectedRevision?: bigint | undefined;
2091
+ };
2092
+ /**
2093
+ * Describes the message supertag.runtime.v2.PutWorkspaceCredentialRequest.
2094
+ * Use `create(PutWorkspaceCredentialRequestSchema)` to create a new message.
2095
+ */
2096
+ declare const PutWorkspaceCredentialRequestSchema: GenMessage<PutWorkspaceCredentialRequest>;
2097
+ /**
2098
+ * @generated from message supertag.runtime.v2.GetWorkspaceCredentialRequest
2099
+ */
2100
+ type GetWorkspaceCredentialRequest = Message<"supertag.runtime.v2.GetWorkspaceCredentialRequest"> & {
2101
+ /**
2102
+ * @generated from field: string name = 1;
2103
+ */
2104
+ name: string;
2105
+ };
2106
+ /**
2107
+ * Describes the message supertag.runtime.v2.GetWorkspaceCredentialRequest.
2108
+ * Use `create(GetWorkspaceCredentialRequestSchema)` to create a new message.
2109
+ */
2110
+ declare const GetWorkspaceCredentialRequestSchema: GenMessage<GetWorkspaceCredentialRequest>;
2111
+ /**
2112
+ * @generated from message supertag.runtime.v2.ListWorkspaceCredentialsRequest
2113
+ */
2114
+ type ListWorkspaceCredentialsRequest = Message<"supertag.runtime.v2.ListWorkspaceCredentialsRequest"> & {
2115
+ /**
2116
+ * @generated from field: string after_name = 1;
2117
+ */
2118
+ afterName: string;
2119
+ /**
2120
+ * @generated from field: uint32 limit = 2;
2121
+ */
2122
+ limit: number;
2123
+ };
2124
+ /**
2125
+ * Describes the message supertag.runtime.v2.ListWorkspaceCredentialsRequest.
2126
+ * Use `create(ListWorkspaceCredentialsRequestSchema)` to create a new message.
2127
+ */
2128
+ declare const ListWorkspaceCredentialsRequestSchema: GenMessage<ListWorkspaceCredentialsRequest>;
2129
+ /**
2130
+ * @generated from message supertag.runtime.v2.ListWorkspaceCredentialsResponse
2131
+ */
2132
+ type ListWorkspaceCredentialsResponse = Message<"supertag.runtime.v2.ListWorkspaceCredentialsResponse"> & {
2133
+ /**
2134
+ * @generated from field: repeated supertag.runtime.v2.WorkspaceCredential credentials = 1;
2135
+ */
2136
+ credentials: WorkspaceCredential[];
2137
+ /**
2138
+ * @generated from field: string next_cursor = 2;
2139
+ */
2140
+ nextCursor: string;
2141
+ };
2142
+ /**
2143
+ * Describes the message supertag.runtime.v2.ListWorkspaceCredentialsResponse.
2144
+ * Use `create(ListWorkspaceCredentialsResponseSchema)` to create a new message.
2145
+ */
2146
+ declare const ListWorkspaceCredentialsResponseSchema: GenMessage<ListWorkspaceCredentialsResponse>;
2147
+ /**
2148
+ * @generated from message supertag.runtime.v2.DeleteWorkspaceCredentialRequest
2149
+ */
2150
+ type DeleteWorkspaceCredentialRequest = Message<"supertag.runtime.v2.DeleteWorkspaceCredentialRequest"> & {
2151
+ /**
2152
+ * @generated from field: string operation_id = 1;
2153
+ */
2154
+ operationId: string;
2155
+ /**
2156
+ * @generated from field: string name = 2;
2157
+ */
2158
+ name: string;
2159
+ /**
2160
+ * @generated from field: uint64 expected_revision = 3;
2161
+ */
2162
+ expectedRevision: bigint;
2163
+ };
2164
+ /**
2165
+ * Describes the message supertag.runtime.v2.DeleteWorkspaceCredentialRequest.
2166
+ * Use `create(DeleteWorkspaceCredentialRequestSchema)` to create a new message.
2167
+ */
2168
+ declare const DeleteWorkspaceCredentialRequestSchema: GenMessage<DeleteWorkspaceCredentialRequest>;
2169
+ /**
2170
+ * @generated from message supertag.runtime.v2.DeleteWorkspaceCredentialResponse
2171
+ */
2172
+ type DeleteWorkspaceCredentialResponse = Message<"supertag.runtime.v2.DeleteWorkspaceCredentialResponse"> & {};
2173
+ /**
2174
+ * Describes the message supertag.runtime.v2.DeleteWorkspaceCredentialResponse.
2175
+ * Use `create(DeleteWorkspaceCredentialResponseSchema)` to create a new message.
2176
+ */
2177
+ declare const DeleteWorkspaceCredentialResponseSchema: GenMessage<DeleteWorkspaceCredentialResponse>;
2178
+ /**
2179
+ * @generated from enum supertag.runtime.v2.WorkspaceForge
1387
2180
  */
1388
- declare const DeleteGithubWorkspaceRequestSchema: GenMessage<DeleteGithubWorkspaceRequest>;
2181
+ declare enum WorkspaceForge {
2182
+ /**
2183
+ * @generated from enum value: WORKSPACE_FORGE_UNSPECIFIED = 0;
2184
+ */
2185
+ UNSPECIFIED = 0,
2186
+ /**
2187
+ * GitHub or GitHub Enterprise Server: pull requests through its REST API, at
2188
+ * `https://api.github.com/` for github.com and `/api/v3/` on the remote's host otherwise.
2189
+ *
2190
+ * @generated from enum value: WORKSPACE_FORGE_GITHUB = 1;
2191
+ */
2192
+ GITHUB = 1
2193
+ }
1389
2194
  /**
1390
- * @generated from message supertag.runtime.v2.DeleteGithubWorkspaceResponse
2195
+ * @generated from enum supertag.runtime.v2.WorkspaceCheckStatus
1391
2196
  */
1392
- type DeleteGithubWorkspaceResponse = Message<"supertag.runtime.v2.DeleteGithubWorkspaceResponse"> & {};
2197
+ declare enum WorkspaceCheckStatus {
2198
+ /**
2199
+ * @generated from enum value: WORKSPACE_CHECK_STATUS_UNSPECIFIED = 0;
2200
+ */
2201
+ UNSPECIFIED = 0,
2202
+ /**
2203
+ * @generated from enum value: WORKSPACE_CHECK_STATUS_OK = 1;
2204
+ */
2205
+ OK = 1,
2206
+ /**
2207
+ * @generated from enum value: WORKSPACE_CHECK_STATUS_FAILED = 2;
2208
+ */
2209
+ FAILED = 2,
2210
+ /**
2211
+ * A weakness that does not stop delivery, such as a credential that can push any branch.
2212
+ *
2213
+ * @generated from enum value: WORKSPACE_CHECK_STATUS_WARNING = 3;
2214
+ */
2215
+ WARNING = 3,
2216
+ /**
2217
+ * @generated from enum value: WORKSPACE_CHECK_STATUS_NOT_APPLICABLE = 4;
2218
+ */
2219
+ NOT_APPLICABLE = 4,
2220
+ /**
2221
+ * @generated from enum value: WORKSPACE_CHECK_STATUS_UNKNOWN = 5;
2222
+ */
2223
+ UNKNOWN = 5
2224
+ }
1393
2225
  /**
1394
- * Describes the message supertag.runtime.v2.DeleteGithubWorkspaceResponse.
1395
- * Use `create(DeleteGithubWorkspaceResponseSchema)` to create a new message.
2226
+ * @generated from enum supertag.runtime.v2.WorkspaceCredentialKind
1396
2227
  */
1397
- declare const DeleteGithubWorkspaceResponseSchema: GenMessage<DeleteGithubWorkspaceResponse>;
2228
+ declare enum WorkspaceCredentialKind {
2229
+ /**
2230
+ * @generated from enum value: WORKSPACE_CREDENTIAL_KIND_UNSPECIFIED = 0;
2231
+ */
2232
+ UNSPECIFIED = 0,
2233
+ /**
2234
+ * An SSH private key, such as a deploy key.
2235
+ *
2236
+ * @generated from enum value: WORKSPACE_CREDENTIAL_KIND_SSH_KEY = 1;
2237
+ */
2238
+ SSH_KEY = 1,
2239
+ /**
2240
+ * An HTTPS user name and token or password.
2241
+ *
2242
+ * @generated from enum value: WORKSPACE_CREDENTIAL_KIND_HTTPS_TOKEN = 2;
2243
+ */
2244
+ HTTPS_TOKEN = 2,
2245
+ /**
2246
+ * A git credential helper that git delivery asks for each remote.
2247
+ *
2248
+ * @generated from enum value: WORKSPACE_CREDENTIAL_KIND_CREDENTIAL_HELPER = 3;
2249
+ */
2250
+ CREDENTIAL_HELPER = 3,
2251
+ /**
2252
+ * A GitHub App installation: git delivery mints a one-repository token for each operation,
2253
+ * narrowed to the permissions it needs.
2254
+ *
2255
+ * @generated from enum value: WORKSPACE_CREDENTIAL_KIND_GITHUB_APP = 4;
2256
+ */
2257
+ GITHUB_APP = 4
2258
+ }
1398
2259
 
1399
2260
  /**
1400
2261
  * @generated from message supertag.runtime.v2.McpServerCapability
@@ -2024,10 +2885,6 @@ type WatchChange = Message<"supertag.runtime.v2.WatchChange"> & {
2024
2885
  * @generated from field: string team_id = 6;
2025
2886
  */
2026
2887
  teamId: string;
2027
- /**
2028
- * @generated from field: string conversation = 7;
2029
- */
2030
- conversation: string;
2031
2888
  /**
2032
2889
  * @generated from field: int64 changed_at_ms = 8;
2033
2890
  */
@@ -2144,8 +3001,56 @@ type InboxItem = Message<"supertag.runtime.v2.InboxItem"> & {
2144
3001
  * @generated from field: supertag.runtime.v2.InboxNotification notification = 5300;
2145
3002
  */
2146
3003
  notification?: InboxNotification | undefined;
2147
- };
2148
- /**
3004
+ /**
3005
+ * For a TASK_ATTENTION item about an uncertain Task Attempt: what it blocks, what its Worker
3006
+ * Host confirmed, and whether SuperTag settles it on its own.
3007
+ *
3008
+ * @generated from field: supertag.runtime.v2.InboxUncertainAttempt uncertain_attempt = 5400;
3009
+ */
3010
+ uncertainAttempt?: InboxUncertainAttempt | undefined;
3011
+ };
3012
+ /**
3013
+ * An uncertain Task Attempt waiting for a decision. Its Session runs no later turn until then.
3014
+ *
3015
+ * @generated from message supertag.runtime.v2.InboxUncertainAttempt
3016
+ */
3017
+ type InboxUncertainAttempt = Message<"supertag.runtime.v2.InboxUncertainAttempt"> & {
3018
+ /**
3019
+ * @generated from field: string tag_id = 1;
3020
+ */
3021
+ tagId: string;
3022
+ /**
3023
+ * @generated from field: string session_id = 2;
3024
+ */
3025
+ sessionId: string;
3026
+ /**
3027
+ * The Session's queued Tasks that wait for this decision.
3028
+ *
3029
+ * @generated from field: uint32 blocked_tasks = 3;
3030
+ */
3031
+ blockedTasks: number;
3032
+ /**
3033
+ * The Task execution report of the Attempt, as the caller may read it.
3034
+ *
3035
+ * @generated from field: supertag.runtime.v2.TaskExecutionReport execution_report = 4;
3036
+ */
3037
+ executionReport?: TaskExecutionReport | undefined;
3038
+ /**
3039
+ * When SuperTag will record it as failed on its own: its host confirmed it stopped and it
3040
+ * recorded no effect a person must judge. Zero when a person must decide.
3041
+ *
3042
+ * @generated from field: int64 auto_resolve_at_ms = 5;
3043
+ */
3044
+ autoResolveAtMs: bigint;
3045
+ /**
3046
+ * Why a person must decide, such as an effect the Attempt recorded. Empty when it is settled
3047
+ * automatically.
3048
+ *
3049
+ * @generated from field: string held_reason = 6;
3050
+ */
3051
+ heldReason: string;
3052
+ };
3053
+ /**
2149
3054
  * @generated from message supertag.runtime.v2.InboxNotification
2150
3055
  */
2151
3056
  type InboxNotification = Message<"supertag.runtime.v2.InboxNotification"> & {
@@ -2532,18 +3437,12 @@ type AttemptCapabilities = Message<"supertag.runtime.v2.AttemptCapabilities"> &
2532
3437
  mayRequestCommitReview: boolean;
2533
3438
  /**
2534
3439
  * A root turn reads the Tag's other Sessions and its Objectives
2535
- * (AttemptTagSessions); a Work Session's own Task does not.
3440
+ * (AttemptTagSessions); a Work Session's own Task reads only its own Session
3441
+ * (`may_read_own_session`).
2536
3442
  *
2537
3443
  * @generated from field: bool may_read_tag_sessions = 9;
2538
3444
  */
2539
3445
  mayReadTagSessions: boolean;
2540
- /**
2541
- * A conversation turn started by its requester's explicit
2542
- * `@SuperTag objective <outcome>` command may create that Objective.
2543
- *
2544
- * @generated from field: bool may_create_objective = 10;
2545
- */
2546
- mayCreateObjective: boolean;
2547
3446
  /**
2548
3447
  * The Tag's open Objectives and how to recall its other Sessions, for the
2549
3448
  * turn's context. State, not instructions. Empty when `may_read_tag_sessions` is false.
@@ -2551,7 +3450,82 @@ type AttemptCapabilities = Message<"supertag.runtime.v2.AttemptCapabilities"> &
2551
3450
  * @generated from field: string tag_portfolio = 11;
2552
3451
  */
2553
3452
  tagPortfolio: string;
3453
+ /**
3454
+ * With `may_ask_objective_question`: the Objective is ongoing, so only an operator ends it
3455
+ * and its owner may report it ready for review or blocked, never completed.
3456
+ *
3457
+ * @generated from field: bool objective_ongoing = 12;
3458
+ */
3459
+ objectiveOngoing: boolean;
3460
+ /**
3461
+ * A root turn whose admitted actions include `schedule:create` may schedule a later turn of
3462
+ * its Tag in its Session (AttemptSchedules).
3463
+ *
3464
+ * @generated from field: bool may_schedule = 13;
3465
+ */
3466
+ maySchedule: boolean;
3467
+ /**
3468
+ * The Control Plane's IANA time zone, in which `schedule` reads a time that names none.
3469
+ *
3470
+ * @generated from field: string time_zone = 14;
3471
+ */
3472
+ timeZone: string;
3473
+ /**
3474
+ * With `may_start_work_session`: how many Work Sessions the Tag has open, across all its
3475
+ * conversations and Objectives, and how many it may have (the Tag's `max_work_sessions`).
3476
+ *
3477
+ * @generated from field: uint32 open_work_sessions = 15;
3478
+ */
3479
+ openWorkSessions: number;
3480
+ /**
3481
+ * @generated from field: uint32 max_work_sessions = 16;
3482
+ */
3483
+ maxWorkSessions: number;
3484
+ /**
3485
+ * A root turn of a Tag with memory may write and forget the Tag's notes (AttemptMemory),
3486
+ * unless an outside event, such as a GitHub or Linear webhook, started it.
3487
+ *
3488
+ * @generated from field: bool may_remember = 17;
3489
+ */
3490
+ mayRemember: boolean;
3491
+ /**
3492
+ * No person is waiting on this turn (a Schedule fire, a memory review, an inbox turn, or an
3493
+ * Objective notice), so it may finish quietly: FinishTaskRequest.quiet. A person's message is
3494
+ * always answered.
3495
+ *
3496
+ * @generated from field: bool may_stay_quiet = 18;
3497
+ */
3498
+ mayStayQuiet: boolean;
3499
+ /**
3500
+ * A Work Session's own Task rereads its own Session's earlier turns with `read_session` and
3501
+ * `read_turn` (AttemptTagSessions), and no other Session. Root turns have
3502
+ * `may_read_tag_sessions` instead.
3503
+ *
3504
+ * @generated from field: bool may_read_own_session = 19;
3505
+ */
3506
+ mayReadOwnSession: boolean;
3507
+ };
3508
+ /**
3509
+ * An operator or client closes a Work Session it may see. `delivery_pulled` records that its
3510
+ * delivery was pulled, as `supertag fetch` does.
3511
+ *
3512
+ * @generated from message supertag.runtime.v2.CloseWorkSessionRequest
3513
+ */
3514
+ type CloseWorkSessionRequest = Message<"supertag.runtime.v2.CloseWorkSessionRequest"> & {
3515
+ /**
3516
+ * @generated from field: string work_session_id = 1;
3517
+ */
3518
+ workSessionId: string;
3519
+ /**
3520
+ * @generated from field: bool delivery_pulled = 2;
3521
+ */
3522
+ deliveryPulled: boolean;
2554
3523
  };
3524
+ /**
3525
+ * Describes the message supertag.runtime.v2.CloseWorkSessionRequest.
3526
+ * Use `create(CloseWorkSessionRequestSchema)` to create a new message.
3527
+ */
3528
+ declare const CloseWorkSessionRequestSchema: GenMessage<CloseWorkSessionRequest>;
2555
3529
  /**
2556
3530
  * @generated from message supertag.runtime.v2.WorkSession
2557
3531
  */
@@ -2612,6 +3586,17 @@ type WorkSession = Message<"supertag.runtime.v2.WorkSession"> & {
2612
3586
  * @generated from field: supertag.runtime.v2.WorkSessionQuestion question = 14;
2613
3587
  */
2614
3588
  question?: WorkSessionQuestion | undefined;
3589
+ /**
3590
+ * Set while it is closed. An open Work Session counts toward its parent Tag's
3591
+ * `max_work_sessions`. Only an idle close is undone: continuing it reopens it.
3592
+ *
3593
+ * @generated from field: optional int64 closed_at_ms = 15;
3594
+ */
3595
+ closedAtMs?: bigint | undefined;
3596
+ /**
3597
+ * @generated from field: supertag.runtime.v2.WorkSessionCloseReason close_reason = 16;
3598
+ */
3599
+ closeReason: WorkSessionCloseReason;
2615
3600
  };
2616
3601
  /**
2617
3602
  * Describes the message supertag.runtime.v2.WorkSession.
@@ -2718,6 +3703,17 @@ type ListWorkSessionsResponse = Message<"supertag.runtime.v2.ListWorkSessionsRes
2718
3703
  * @generated from field: string next_cursor = 2;
2719
3704
  */
2720
3705
  nextCursor: string;
3706
+ /**
3707
+ * The parent Tag's open Work Sessions, across all its conversations and Objectives, and its
3708
+ * `max_work_sessions`.
3709
+ *
3710
+ * @generated from field: uint32 open_work_sessions = 3;
3711
+ */
3712
+ openWorkSessions: number;
3713
+ /**
3714
+ * @generated from field: uint32 max_work_sessions = 4;
3715
+ */
3716
+ maxWorkSessions: number;
2721
3717
  };
2722
3718
  /**
2723
3719
  * Describes the message supertag.runtime.v2.ListWorkSessionsResponse.
@@ -2780,6 +3776,10 @@ type TagMessage = Message<"supertag.runtime.v2.TagMessage"> & {
2780
3776
  * @generated from field: supertag.runtime.v2.CommitReview review = 13;
2781
3777
  */
2782
3778
  review?: CommitReview | undefined;
3779
+ /**
3780
+ * @generated from field: supertag.runtime.v2.MessageKind kind = 14;
3781
+ */
3782
+ kind: MessageKind;
2783
3783
  };
2784
3784
  /**
2785
3785
  * @generated from message supertag.runtime.v2.CommitReviewSubmission
@@ -2904,6 +3904,13 @@ type SendTagMessageResponse = Message<"supertag.runtime.v2.SendTagMessageRespons
2904
3904
  * @generated from field: supertag.runtime.v2.CommitReview review = 4;
2905
3905
  */
2906
3906
  review?: CommitReview | undefined;
3907
+ /**
3908
+ * Why the message did not wake its recipient now, such as a wake limit; empty when it did or
3909
+ * needed no wake. The message is stored either way.
3910
+ *
3911
+ * @generated from field: string wake_deferred = 5;
3912
+ */
3913
+ wakeDeferred: string;
2907
3914
  };
2908
3915
  /**
2909
3916
  * Describes the message supertag.runtime.v2.SendTagMessageResponse.
@@ -3065,7 +4072,9 @@ type HostDiskSpace = Message<"supertag.runtime.v2.HostDiskSpace"> & {
3065
4072
  totalBytes: bigint;
3066
4073
  };
3067
4074
  /**
3068
- * One harness profile a Worker Host serves, with its own concurrent Attempt slots.
4075
+ * One harness profile a Worker Host serves. capacity is how many of its Attempts may run at once
4076
+ * within the Host's pool: the harness's own limit, or the whole pool when it has none.
4077
+ * available_slots is how many more it can start now, at most the Host's free slots.
3069
4078
  *
3070
4079
  * @generated from message supertag.runtime.v2.HostHarnessCapacity
3071
4080
  */
@@ -3500,6 +4509,14 @@ type HarnessWorkspaceResult = Message<"supertag.runtime.v2.HarnessWorkspaceResul
3500
4509
  * @generated from field: bool is_error = 2;
3501
4510
  */
3502
4511
  isError: boolean;
4512
+ /**
4513
+ * Set only by a remote Workspace provider, and only once it confirmed that the operation's
4514
+ * sandbox no longer exists. The Worker Host then replaces the sandbox from the Attempt's
4515
+ * starting files and tells the Harness; a Harness never receives it set.
4516
+ *
4517
+ * @generated from field: bool sandbox_lost = 3;
4518
+ */
4519
+ sandboxLost: boolean;
3503
4520
  };
3504
4521
  /**
3505
4522
  * Describes the message supertag.runtime.v2.HarnessWorkspaceResult.
@@ -3568,6 +4585,20 @@ type HarnessPostWorkstreamRequest = Message<"supertag.runtime.v2.HarnessPostWork
3568
4585
  * Use `create(HarnessPostWorkstreamRequestSchema)` to create a new message.
3569
4586
  */
3570
4587
  declare const HarnessPostWorkstreamRequestSchema: GenMessage<HarnessPostWorkstreamRequest>;
4588
+ /**
4589
+ * @generated from message supertag.runtime.v2.HarnessCloseWorkSessionRequest
4590
+ */
4591
+ type HarnessCloseWorkSessionRequest = Message<"supertag.runtime.v2.HarnessCloseWorkSessionRequest"> & {
4592
+ /**
4593
+ * @generated from field: string work_session_id = 1;
4594
+ */
4595
+ workSessionId: string;
4596
+ };
4597
+ /**
4598
+ * Describes the message supertag.runtime.v2.HarnessCloseWorkSessionRequest.
4599
+ * Use `create(HarnessCloseWorkSessionRequestSchema)` to create a new message.
4600
+ */
4601
+ declare const HarnessCloseWorkSessionRequestSchema: GenMessage<HarnessCloseWorkSessionRequest>;
3571
4602
  /**
3572
4603
  * @generated from message supertag.runtime.v2.HarnessContinueWorkSessionRequest
3573
4604
  */
@@ -3624,14 +4655,14 @@ type HarnessStartWorkSessionRequest = Message<"supertag.runtime.v2.HarnessStartW
3624
4655
  * @generated from field: string instruction = 3;
3625
4656
  */
3626
4657
  instruction: string;
3627
- /**
3628
- * @generated from field: optional string workspace_id = 4;
3629
- */
3630
- workspaceId?: string | undefined;
3631
4658
  /**
3632
4659
  * @generated from field: optional string target_tag_id = 5;
3633
4660
  */
3634
4661
  targetTagId?: string | undefined;
4662
+ /**
4663
+ * @generated from field: optional string harness = 6;
4664
+ */
4665
+ harness?: string | undefined;
3635
4666
  };
3636
4667
  /**
3637
4668
  * Describes the message supertag.runtime.v2.HarnessStartWorkSessionRequest.
@@ -3658,6 +4689,10 @@ type HarnessSendTagMessageRequest = Message<"supertag.runtime.v2.HarnessSendTagM
3658
4689
  * @generated from field: supertag.runtime.v2.CommitReviewSubmission review = 4;
3659
4690
  */
3660
4691
  review?: CommitReviewSubmission | undefined;
4692
+ /**
4693
+ * @generated from field: supertag.runtime.v2.MessageKind kind = 5;
4694
+ */
4695
+ kind: MessageKind;
3661
4696
  };
3662
4697
  /**
3663
4698
  * Describes the message supertag.runtime.v2.HarnessSendTagMessageRequest.
@@ -4051,12 +5086,70 @@ type PutTagRequest = Message<"supertag.runtime.v2.PutTagRequest"> & {
4051
5086
  * @generated from field: optional uint64 expected_revision = 9;
4052
5087
  */
4053
5088
  expectedRevision?: bigint | undefined;
5089
+ /**
5090
+ * Makes this the Control Plane's lead Tag, or not. At most one active Tag is the lead, and
5091
+ * `supertag init` makes the Tag it creates the lead. Omitted keeps the current value; a new
5092
+ * Tag is not the lead.
5093
+ *
5094
+ * @generated from field: optional bool lead = 6600;
5095
+ */
5096
+ lead?: boolean | undefined;
5097
+ /**
5098
+ * How many Work Sessions the Tag may have open at once, across all its conversations and
5099
+ * Objectives; from 1 to 64. Omitted keeps the current value; a new Tag gets 8.
5100
+ *
5101
+ * @generated from field: optional uint32 max_work_sessions = 6700;
5102
+ */
5103
+ maxWorkSessions?: number | undefined;
5104
+ /**
5105
+ * Whether the Tag keeps memory: notes it writes with `remember` and a daily review of its
5106
+ * work. Omitted keeps the current value; a new Tag keeps memory.
5107
+ *
5108
+ * @generated from field: optional bool memory = 6800;
5109
+ */
5110
+ memory?: boolean | undefined;
5111
+ /**
5112
+ * At most how many of the Tag's Task Attempts start per period. Omitted keeps the current
5113
+ * value; `starts` 0 removes the limit. A new Tag has none.
5114
+ *
5115
+ * @generated from field: optional supertag.runtime.v2.StartRate start_rate = 7000;
5116
+ */
5117
+ startRate?: StartRate | undefined;
5118
+ /**
5119
+ * The Volume that keeps the Tag's work beyond any one Worker Host: a copy of every capture of
5120
+ * its Tasks, written by the capturing host directly. A capture fails when its copy cannot be
5121
+ * written. Omitted keeps the current value; empty removes it. A new Tag has none.
5122
+ *
5123
+ * @generated from field: optional string volume = 7100;
5124
+ */
5125
+ volume?: string | undefined;
4054
5126
  };
4055
5127
  /**
4056
5128
  * Describes the message supertag.runtime.v2.PutTagRequest.
4057
5129
  * Use `create(PutTagRequestSchema)` to create a new message.
4058
5130
  */
4059
5131
  declare const PutTagRequestSchema: GenMessage<PutTagRequest>;
5132
+ /**
5133
+ * A cap on how often a Tag's Task Attempts start: at most `starts` in any `per_ms` window. A
5134
+ * Task over it stays queued until the window has room; a person's turn always starts, and
5135
+ * counts.
5136
+ *
5137
+ * @generated from message supertag.runtime.v2.StartRate
5138
+ */
5139
+ type StartRate = Message<"supertag.runtime.v2.StartRate"> & {
5140
+ /**
5141
+ * 1 to 10,000; 0 in PutTagRequest removes the limit.
5142
+ *
5143
+ * @generated from field: uint32 starts = 1;
5144
+ */
5145
+ starts: number;
5146
+ /**
5147
+ * 1 minute to 7 days.
5148
+ *
5149
+ * @generated from field: uint64 per_ms = 2;
5150
+ */
5151
+ perMs: bigint;
5152
+ };
4060
5153
  /**
4061
5154
  * @generated from message supertag.runtime.v2.Tag
4062
5155
  */
@@ -4107,12 +5200,180 @@ type Tag = Message<"supertag.runtime.v2.Tag"> & {
4107
5200
  * @generated from field: repeated string runs_on = 1400;
4108
5201
  */
4109
5202
  runsOn: string[];
5203
+ /**
5204
+ * Whether this is the Control Plane's lead Tag: the default Tag `supertag init` creates, which
5205
+ * clients show first. At most one active Tag is the lead.
5206
+ *
5207
+ * @generated from field: bool lead = 6600;
5208
+ */
5209
+ lead: boolean;
5210
+ /**
5211
+ * How many Work Sessions the Tag may have open at once.
5212
+ *
5213
+ * @generated from field: uint32 max_work_sessions = 6700;
5214
+ */
5215
+ maxWorkSessions: number;
5216
+ /**
5217
+ * How many Work Sessions the Tag has open now, when the Tag is read with GetTag or ListTags.
5218
+ *
5219
+ * @generated from field: uint32 open_work_sessions = 6701;
5220
+ */
5221
+ openWorkSessions: number;
5222
+ /**
5223
+ * Whether the Tag keeps memory (see PutTagRequest.memory).
5224
+ *
5225
+ * @generated from field: bool memory = 6800;
5226
+ */
5227
+ memory: boolean;
5228
+ /**
5229
+ * When the Tag last reviewed its work and tidied its notes.
5230
+ *
5231
+ * @generated from field: optional int64 memory_reviewed_at_ms = 6801;
5232
+ */
5233
+ memoryReviewedAtMs?: bigint | undefined;
5234
+ /**
5235
+ * How the Tag's unprompted messages were received over the last `window_days`; read with GetTag.
5236
+ *
5237
+ * @generated from field: supertag.runtime.v2.AttentionSummary attention = 6900;
5238
+ */
5239
+ attention?: AttentionSummary | undefined;
5240
+ /**
5241
+ * The Tag's start rate, when it has one.
5242
+ *
5243
+ * @generated from field: supertag.runtime.v2.StartRate start_rate = 7000;
5244
+ */
5245
+ startRate?: StartRate | undefined;
5246
+ /**
5247
+ * The Volume that keeps the Tag's work (see PutTagRequest.volume); empty for none.
5248
+ *
5249
+ * @generated from field: string volume = 7100;
5250
+ */
5251
+ volume: string;
5252
+ /**
5253
+ * How many of its Task Attempts started in the start rate's current window; read with GetTag.
5254
+ *
5255
+ * @generated from field: uint32 starts_in_window = 7001;
5256
+ */
5257
+ startsInWindow: number;
5258
+ /**
5259
+ * What Worker Hosts hold of the Tag's harness-native memory, newest first; read with GetTag.
5260
+ *
5261
+ * @generated from field: repeated supertag.runtime.v2.NativeMemoryStore native_memory = 7200;
5262
+ */
5263
+ nativeMemory: NativeMemoryStore[];
5264
+ /**
5265
+ * Its working Objectives that sit idle, which the caller may see; read with GetTag.
5266
+ *
5267
+ * @generated from field: repeated supertag.runtime.v2.IdleObjective idle_objectives = 7300;
5268
+ */
5269
+ idleObjectives: IdleObjective[];
4110
5270
  };
4111
5271
  /**
4112
5272
  * Describes the message supertag.runtime.v2.Tag.
4113
5273
  * Use `create(TagSchema)` to create a new message.
4114
5274
  */
4115
5275
  declare const TagSchema: GenMessage<Tag>;
5276
+ /**
5277
+ * A working Objective whose owner's last turn left nothing running and asked nothing.
5278
+ *
5279
+ * @generated from message supertag.runtime.v2.IdleObjective
5280
+ */
5281
+ type IdleObjective = Message<"supertag.runtime.v2.IdleObjective"> & {
5282
+ /**
5283
+ * @generated from field: string objective_id = 1;
5284
+ */
5285
+ objectiveId: string;
5286
+ /**
5287
+ * @generated from field: string outcome = 2;
5288
+ */
5289
+ outcome: string;
5290
+ /**
5291
+ * @generated from field: int64 idle_since_ms = 3;
5292
+ */
5293
+ idleSinceMs: bigint;
5294
+ };
5295
+ /**
5296
+ * A Tag's unprompted messages: the replies of turns no person asked for (Schedule fires and
5297
+ * Objective notices) that reached a person, and the checks that found nothing and stayed quiet.
5298
+ *
5299
+ * @generated from message supertag.runtime.v2.AttentionSummary
5300
+ */
5301
+ type AttentionSummary = Message<"supertag.runtime.v2.AttentionSummary"> & {
5302
+ /**
5303
+ * @generated from field: uint32 posted = 1;
5304
+ */
5305
+ posted: number;
5306
+ /**
5307
+ * Posted messages a person read in their conversation; surfaces have no read receipts.
5308
+ *
5309
+ * @generated from field: uint32 read = 2;
5310
+ */
5311
+ read: number;
5312
+ /**
5313
+ * Posted messages a person answered in the same Session within a day.
5314
+ *
5315
+ * @generated from field: uint32 answered = 3;
5316
+ */
5317
+ answered: number;
5318
+ /**
5319
+ * @generated from field: uint32 quiet = 4;
5320
+ */
5321
+ quiet: number;
5322
+ /**
5323
+ * @generated from field: uint32 window_days = 5;
5324
+ */
5325
+ windowDays: number;
5326
+ };
5327
+ /**
5328
+ * @generated from message supertag.runtime.v2.ListTasksRequest
5329
+ */
5330
+ type ListTasksRequest = Message<"supertag.runtime.v2.ListTasksRequest"> & {
5331
+ /**
5332
+ * @generated from field: string tag_id = 1;
5333
+ */
5334
+ tagId: string;
5335
+ /**
5336
+ * @generated from field: string session_id = 2;
5337
+ */
5338
+ sessionId: string;
5339
+ /**
5340
+ * Most Tasks on one page: 20 when 0, at most 100.
5341
+ *
5342
+ * @generated from field: uint32 limit = 3;
5343
+ */
5344
+ limit: number;
5345
+ /**
5346
+ * The cursor the previous page returned; empty for the first page.
5347
+ *
5348
+ * @generated from field: string cursor = 4;
5349
+ */
5350
+ cursor: string;
5351
+ };
5352
+ /**
5353
+ * Describes the message supertag.runtime.v2.ListTasksRequest.
5354
+ * Use `create(ListTasksRequestSchema)` to create a new message.
5355
+ */
5356
+ declare const ListTasksRequestSchema: GenMessage<ListTasksRequest>;
5357
+ /**
5358
+ * @generated from message supertag.runtime.v2.ListTasksResponse
5359
+ */
5360
+ type ListTasksResponse = Message<"supertag.runtime.v2.ListTasksResponse"> & {
5361
+ /**
5362
+ * @generated from field: repeated supertag.runtime.v2.Task tasks = 1;
5363
+ */
5364
+ tasks: Task[];
5365
+ /**
5366
+ * Empty on the last page.
5367
+ *
5368
+ * @generated from field: string next_cursor = 2;
5369
+ */
5370
+ nextCursor: string;
5371
+ };
5372
+ /**
5373
+ * Describes the message supertag.runtime.v2.ListTasksResponse.
5374
+ * Use `create(ListTasksResponseSchema)` to create a new message.
5375
+ */
5376
+ declare const ListTasksResponseSchema: GenMessage<ListTasksResponse>;
4116
5377
  /**
4117
5378
  * @generated from message supertag.runtime.v2.ListTagsRequest
4118
5379
  */
@@ -4220,6 +5481,8 @@ type RetireTagResponse = Message<"supertag.runtime.v2.RetireTagResponse"> & {
4220
5481
  */
4221
5482
  declare const RetireTagResponseSchema: GenMessage<RetireTagResponse>;
4222
5483
  /**
5484
+ * The caller's conversation with one Tag.
5485
+ *
4223
5486
  * @generated from message supertag.runtime.v2.Conversation
4224
5487
  */
4225
5488
  type Conversation = Message<"supertag.runtime.v2.Conversation"> & {
@@ -4228,63 +5491,155 @@ type Conversation = Message<"supertag.runtime.v2.Conversation"> & {
4228
5491
  */
4229
5492
  tagId: string;
4230
5493
  /**
4231
- * @generated from field: string name = 2;
5494
+ * Identifies the conversation. It changes only when the conversation is replaced, such as when
5495
+ * the Control Plane's state is reset, so a client discards a copy kept under another ID.
5496
+ *
5497
+ * @generated from field: string conversation_id = 2;
4232
5498
  */
4233
- name: string;
5499
+ conversationId: string;
4234
5500
  /**
5501
+ * The Session the next message continues.
5502
+ *
4235
5503
  * @generated from field: string session_id = 3;
4236
5504
  */
4237
5505
  sessionId: string;
4238
5506
  /**
4239
- * @generated from field: supertag.runtime.v2.Task latest_task = 4;
5507
+ * The latest message's text, at most 200 characters: the Tag's reply when it has one,
5508
+ * otherwise the caller's message.
5509
+ *
5510
+ * @generated from field: string preview = 4;
4240
5511
  */
4241
- latestTask?: Task | undefined;
4242
- };
4243
- /**
4244
- * @generated from message supertag.runtime.v2.ConversationMessage
4245
- */
4246
- type ConversationMessage = Message<"supertag.runtime.v2.ConversationMessage"> & {
5512
+ preview: string;
4247
5513
  /**
4248
- * @generated from field: supertag.runtime.v2.Task task = 1;
5514
+ * The preview is the Tag's reply.
5515
+ *
5516
+ * @generated from field: bool preview_from_tag = 5;
4249
5517
  */
4250
- task?: Task | undefined;
5518
+ previewFromTag: boolean;
4251
5519
  /**
4252
- * @generated from field: string conversation = 2;
5520
+ * When the latest message was sent or answered.
5521
+ *
5522
+ * @generated from field: int64 last_activity_at_ms = 6;
4253
5523
  */
4254
- conversation: string;
5524
+ lastActivityAtMs: bigint;
4255
5525
  /**
4256
- * @generated from field: supertag.runtime.v2.LiveInput live_input = 3;
5526
+ * The latest message's order.
5527
+ *
5528
+ * @generated from field: uint64 latest_order = 7;
4257
5529
  */
4258
- liveInput?: LiveInput | undefined;
5530
+ latestOrder: bigint;
4259
5531
  /**
4260
- * Set for a report turn in the conversation, which has no operator message.
5532
+ * How far the caller has read, as a message order; zero when it never has.
4261
5533
  *
4262
- * @generated from field: optional string work_session_report_id = 4;
5534
+ * @generated from field: uint64 read_order = 8;
4263
5535
  */
4264
- workSessionReportId?: string | undefined;
4265
- };
4266
- /**
4267
- * Describes the message supertag.runtime.v2.ConversationMessage.
4268
- * Use `create(ConversationMessageSchema)` to create a new message.
4269
- */
4270
- declare const ConversationMessageSchema: GenMessage<ConversationMessage>;
4271
- /**
4272
- * @generated from message supertag.runtime.v2.ListConversationsRequest
4273
- */
4274
- type ListConversationsRequest = Message<"supertag.runtime.v2.ListConversationsRequest"> & {
5536
+ readOrder: bigint;
4275
5537
  /**
4276
- * @generated from field: string tag_id = 1;
5538
+ * Finished replies after `read_order`, without quiet turns.
5539
+ *
5540
+ * @generated from field: uint32 unread_count = 9;
4277
5541
  */
4278
- tagId: string;
5542
+ unreadCount: number;
4279
5543
  /**
4280
- * @generated from field: uint32 limit = 2;
5544
+ * A Task of this conversation is queued or running.
5545
+ *
5546
+ * @generated from field: bool working = 10;
4281
5547
  */
4282
- limit: number;
5548
+ working: boolean;
4283
5549
  /**
4284
- * @generated from field: string cursor = 3;
5550
+ * Set when the latest message is a Work Session's report turn, which has no caller message.
5551
+ *
5552
+ * @generated from field: optional string latest_work_session_report_id = 11;
4285
5553
  */
4286
- cursor: string;
5554
+ latestWorkSessionReportId?: string | undefined;
5555
+ /**
5556
+ * The latest message is the Tag's question, still unanswered: its turn asked an Objective
5557
+ * question that waits for an answer.
5558
+ *
5559
+ * @generated from field: bool asking = 12;
5560
+ */
5561
+ asking: boolean;
4287
5562
  };
5563
+ /**
5564
+ * Describes the message supertag.runtime.v2.Conversation.
5565
+ * Use `create(ConversationSchema)` to create a new message.
5566
+ */
5567
+ declare const ConversationSchema: GenMessage<Conversation>;
5568
+ /**
5569
+ * @generated from message supertag.runtime.v2.ConversationMessage
5570
+ */
5571
+ type ConversationMessage = Message<"supertag.runtime.v2.ConversationMessage"> & {
5572
+ /**
5573
+ * @generated from field: supertag.runtime.v2.Task task = 1;
5574
+ */
5575
+ task?: Task | undefined;
5576
+ /**
5577
+ * @generated from field: supertag.runtime.v2.LiveInput live_input = 3;
5578
+ */
5579
+ liveInput?: LiveInput | undefined;
5580
+ /**
5581
+ * Set for a report turn in the conversation, which has no operator message.
5582
+ *
5583
+ * @generated from field: optional string work_session_report_id = 4;
5584
+ */
5585
+ workSessionReportId?: string | undefined;
5586
+ /**
5587
+ * What the turn shows beside its prompt and result, oldest first: every message the Tag wrote
5588
+ * while it ran, and its latest activity or plan event. Its last event is the turn's latest, so
5589
+ * a client follows a running turn with Operator.ListEvents after that sequence. Every event is
5590
+ * in Operator.ListEvents.
5591
+ *
5592
+ * @generated from field: repeated supertag.runtime.v2.TaskEvent events = 5;
5593
+ */
5594
+ events: TaskEvent[];
5595
+ /**
5596
+ * Set when the turn's earliest messages were left out to keep the page within its size
5597
+ * limit. Operator.ListEvents reads them.
5598
+ *
5599
+ * @generated from field: bool events_truncated = 6;
5600
+ */
5601
+ eventsTruncated: boolean;
5602
+ /**
5603
+ * The message's place in its conversation. Later messages have larger orders.
5604
+ *
5605
+ * @generated from field: uint64 order = 7;
5606
+ */
5607
+ order: bigint;
5608
+ /**
5609
+ * When the Control Plane accepted the message; zero when it did not record it.
5610
+ *
5611
+ * @generated from field: int64 sent_at_ms = 8;
5612
+ */
5613
+ sentAtMs: bigint;
5614
+ /**
5615
+ * When the turn finished, if it has.
5616
+ *
5617
+ * @generated from field: optional int64 completed_at_ms = 9;
5618
+ */
5619
+ completedAtMs?: bigint | undefined;
5620
+ /**
5621
+ * Set for a turn a Schedule queued, which has no operator message: the conversation shows
5622
+ * only its reply.
5623
+ *
5624
+ * @generated from field: optional string schedule_id = 10;
5625
+ */
5626
+ scheduleId?: string | undefined;
5627
+ /**
5628
+ * For a report turn whose Work Session has since closed: why it closed.
5629
+ *
5630
+ * @generated from field: supertag.runtime.v2.WorkSessionCloseReason work_session_close_reason = 11;
5631
+ */
5632
+ workSessionCloseReason: WorkSessionCloseReason;
5633
+ };
5634
+ /**
5635
+ * Describes the message supertag.runtime.v2.ConversationMessage.
5636
+ * Use `create(ConversationMessageSchema)` to create a new message.
5637
+ */
5638
+ declare const ConversationMessageSchema: GenMessage<ConversationMessage>;
5639
+ /**
5640
+ * @generated from message supertag.runtime.v2.ListConversationsRequest
5641
+ */
5642
+ type ListConversationsRequest = Message<"supertag.runtime.v2.ListConversationsRequest"> & {};
4288
5643
  /**
4289
5644
  * Describes the message supertag.runtime.v2.ListConversationsRequest.
4290
5645
  * Use `create(ListConversationsRequestSchema)` to create a new message.
@@ -4295,13 +5650,11 @@ declare const ListConversationsRequestSchema: GenMessage<ListConversationsReques
4295
5650
  */
4296
5651
  type ListConversationsResponse = Message<"supertag.runtime.v2.ListConversationsResponse"> & {
4297
5652
  /**
5653
+ * The latest active first.
5654
+ *
4298
5655
  * @generated from field: repeated supertag.runtime.v2.Conversation conversations = 1;
4299
5656
  */
4300
5657
  conversations: Conversation[];
4301
- /**
4302
- * @generated from field: string next_cursor = 2;
4303
- */
4304
- nextCursor: string;
4305
5658
  };
4306
5659
  /**
4307
5660
  * Describes the message supertag.runtime.v2.ListConversationsResponse.
@@ -4309,6 +5662,10 @@ type ListConversationsResponse = Message<"supertag.runtime.v2.ListConversationsR
4309
5662
  */
4310
5663
  declare const ListConversationsResponseSchema: GenMessage<ListConversationsResponse>;
4311
5664
  /**
5665
+ * Without `after`, a page of the conversation, newest first, before `cursor`. With `after` and
5666
+ * the `conversation_id` the client's copy came from, only what changed since: messages after
5667
+ * that order, and the current state of `refresh_task_ids`, the turns the copy holds unfinished.
5668
+ *
4312
5669
  * @generated from message supertag.runtime.v2.ListMessagesRequest
4313
5670
  */
4314
5671
  type ListMessagesRequest = Message<"supertag.runtime.v2.ListMessagesRequest"> & {
@@ -4316,10 +5673,6 @@ type ListMessagesRequest = Message<"supertag.runtime.v2.ListMessagesRequest"> &
4316
5673
  * @generated from field: string tag_id = 1;
4317
5674
  */
4318
5675
  tagId: string;
4319
- /**
4320
- * @generated from field: string conversation = 2;
4321
- */
4322
- conversation: string;
4323
5676
  /**
4324
5677
  * @generated from field: uint32 limit = 3;
4325
5678
  */
@@ -4328,6 +5681,20 @@ type ListMessagesRequest = Message<"supertag.runtime.v2.ListMessagesRequest"> &
4328
5681
  * @generated from field: string cursor = 4;
4329
5682
  */
4330
5683
  cursor: string;
5684
+ /**
5685
+ * @generated from field: uint64 after = 5;
5686
+ */
5687
+ after: bigint;
5688
+ /**
5689
+ * @generated from field: string conversation_id = 6;
5690
+ */
5691
+ conversationId: string;
5692
+ /**
5693
+ * At most 128.
5694
+ *
5695
+ * @generated from field: repeated string refresh_task_ids = 7;
5696
+ */
5697
+ refreshTaskIds: string[];
4331
5698
  };
4332
5699
  /**
4333
5700
  * Describes the message supertag.runtime.v2.ListMessagesRequest.
@@ -4339,6 +5706,8 @@ declare const ListMessagesRequestSchema: GenMessage<ListMessagesRequest>;
4339
5706
  */
4340
5707
  type ListMessagesResponse = Message<"supertag.runtime.v2.ListMessagesResponse"> & {
4341
5708
  /**
5709
+ * Newest first.
5710
+ *
4342
5711
  * @generated from field: repeated supertag.runtime.v2.ConversationMessage messages = 1;
4343
5712
  */
4344
5713
  messages: ConversationMessage[];
@@ -4346,6 +5715,20 @@ type ListMessagesResponse = Message<"supertag.runtime.v2.ListMessagesResponse">
4346
5715
  * @generated from field: string next_cursor = 2;
4347
5716
  */
4348
5717
  nextCursor: string;
5718
+ /**
5719
+ * Empty before the caller's first message to the Tag.
5720
+ *
5721
+ * @generated from field: string conversation_id = 3;
5722
+ */
5723
+ conversationId: string;
5724
+ /**
5725
+ * The page holds only changes after the request's `after`. Otherwise it is the newest page,
5726
+ * which replaces any copy the client kept: the conversation was replaced, or more than a page
5727
+ * of messages arrived since.
5728
+ *
5729
+ * @generated from field: bool incremental = 4;
5730
+ */
5731
+ incremental: boolean;
4349
5732
  };
4350
5733
  /**
4351
5734
  * Describes the message supertag.runtime.v2.ListMessagesResponse.
@@ -4360,10 +5743,6 @@ type SendMessageRequest = Message<"supertag.runtime.v2.SendMessageRequest"> & {
4360
5743
  * @generated from field: string tag_id = 1;
4361
5744
  */
4362
5745
  tagId: string;
4363
- /**
4364
- * @generated from field: string conversation = 2;
4365
- */
4366
- conversation: string;
4367
5746
  /**
4368
5747
  * @generated from field: string text = 3;
4369
5748
  */
@@ -4387,49 +5766,143 @@ type SendMessageRequest = Message<"supertag.runtime.v2.SendMessageRequest"> & {
4387
5766
  */
4388
5767
  declare const SendMessageRequestSchema: GenMessage<SendMessageRequest>;
4389
5768
  /**
4390
- * @generated from message supertag.runtime.v2.GetMessageRequest
5769
+ * As ListMessagesRequest with `after`: the conversation the client's copy came from, the latest
5770
+ * message order it holds, and the turns it holds unfinished. A client without a copy sends none,
5771
+ * and the first response is the newest page. A client that reconnects sends what it holds: the
5772
+ * stream replays what changed after it, then pushes. When that cannot be replayed, because the
5773
+ * conversation was replaced or more than a page arrived since, the first response is the newest
5774
+ * page, not incremental, and the client replaces its copy with it.
5775
+ *
5776
+ * @generated from message supertag.runtime.v2.FollowConversationRequest
4391
5777
  */
4392
- type GetMessageRequest = Message<"supertag.runtime.v2.GetMessageRequest"> & {
5778
+ type FollowConversationRequest = Message<"supertag.runtime.v2.FollowConversationRequest"> & {
4393
5779
  /**
4394
5780
  * @generated from field: string tag_id = 1;
4395
5781
  */
4396
5782
  tagId: string;
4397
5783
  /**
4398
- * @generated from field: string task_id = 2;
5784
+ * @generated from field: string conversation_id = 2;
5785
+ */
5786
+ conversationId: string;
5787
+ /**
5788
+ * @generated from field: uint64 after = 3;
5789
+ */
5790
+ after: bigint;
5791
+ /**
5792
+ * At most 128.
5793
+ *
5794
+ * @generated from field: repeated string refresh_task_ids = 4;
5795
+ */
5796
+ refreshTaskIds: string[];
5797
+ };
5798
+ /**
5799
+ * Describes the message supertag.runtime.v2.FollowConversationRequest.
5800
+ * Use `create(FollowConversationRequestSchema)` to create a new message.
5801
+ */
5802
+ declare const FollowConversationRequestSchema: GenMessage<FollowConversationRequest>;
5803
+ /**
5804
+ * @generated from message supertag.runtime.v2.FollowConversationResponse
5805
+ */
5806
+ type FollowConversationResponse = Message<"supertag.runtime.v2.FollowConversationResponse"> & {
5807
+ /**
5808
+ * Set when messages changed. With `incremental` it holds only the messages that changed;
5809
+ * otherwise it is the newest page, which replaces any copy the client kept.
5810
+ *
5811
+ * @generated from field: supertag.runtime.v2.ListMessagesResponse messages = 1;
5812
+ */
5813
+ messages?: ListMessagesResponse | undefined;
5814
+ /**
5815
+ * Why queued turns still wait for a Worker Host, once a turn has waited a moment; an empty
5816
+ * reason says an earlier one no longer holds. Sent to operators only.
5817
+ *
5818
+ * @generated from field: repeated supertag.runtime.v2.TurnWait waits = 2;
5819
+ */
5820
+ waits: TurnWait[];
5821
+ /**
5822
+ * The text of the message a running turn's Tag is writing now, as it is written. It is never
5823
+ * stored: the message, once recorded as one of the turn's events, or the turn's result replaces
5824
+ * it. Empty text clears what was shown.
5825
+ *
5826
+ * @generated from field: repeated supertag.runtime.v2.TurnText texts = 3;
5827
+ */
5828
+ texts: TurnText[];
5829
+ };
5830
+ /**
5831
+ * Describes the message supertag.runtime.v2.FollowConversationResponse.
5832
+ * Use `create(FollowConversationResponseSchema)` to create a new message.
5833
+ */
5834
+ declare const FollowConversationResponseSchema: GenMessage<FollowConversationResponse>;
5835
+ /**
5836
+ * @generated from message supertag.runtime.v2.TurnWait
5837
+ */
5838
+ type TurnWait = Message<"supertag.runtime.v2.TurnWait"> & {
5839
+ /**
5840
+ * @generated from field: string task_id = 1;
4399
5841
  */
4400
5842
  taskId: string;
5843
+ /**
5844
+ * @generated from field: string reason = 2;
5845
+ */
5846
+ reason: string;
4401
5847
  };
4402
5848
  /**
4403
- * Describes the message supertag.runtime.v2.GetMessageRequest.
4404
- * Use `create(GetMessageRequestSchema)` to create a new message.
5849
+ * @generated from message supertag.runtime.v2.TurnText
4405
5850
  */
4406
- declare const GetMessageRequestSchema: GenMessage<GetMessageRequest>;
5851
+ type TurnText = Message<"supertag.runtime.v2.TurnText"> & {
5852
+ /**
5853
+ * @generated from field: string task_id = 1;
5854
+ */
5855
+ taskId: string;
5856
+ /**
5857
+ * The turn's event the text follows; the message it becomes has a later sequence.
5858
+ *
5859
+ * @generated from field: uint64 after_sequence = 2;
5860
+ */
5861
+ afterSequence: bigint;
5862
+ /**
5863
+ * @generated from field: string text = 3;
5864
+ */
5865
+ text: string;
5866
+ };
4407
5867
  /**
4408
- * @generated from message supertag.runtime.v2.ListMessageEventsRequest
5868
+ * @generated from message supertag.runtime.v2.MarkConversationReadRequest
4409
5869
  */
4410
- type ListMessageEventsRequest = Message<"supertag.runtime.v2.ListMessageEventsRequest"> & {
5870
+ type MarkConversationReadRequest = Message<"supertag.runtime.v2.MarkConversationReadRequest"> & {
4411
5871
  /**
4412
5872
  * @generated from field: string tag_id = 1;
4413
5873
  */
4414
5874
  tagId: string;
4415
5875
  /**
4416
- * @generated from field: string task_id = 2;
5876
+ * The order of the latest message read. A smaller order than one recorded before changes
5877
+ * nothing.
5878
+ *
5879
+ * @generated from field: uint64 order = 2;
4417
5880
  */
4418
- taskId: string;
5881
+ order: bigint;
5882
+ };
5883
+ /**
5884
+ * Describes the message supertag.runtime.v2.MarkConversationReadRequest.
5885
+ * Use `create(MarkConversationReadRequestSchema)` to create a new message.
5886
+ */
5887
+ declare const MarkConversationReadRequestSchema: GenMessage<MarkConversationReadRequest>;
5888
+ /**
5889
+ * @generated from message supertag.runtime.v2.GetMessageRequest
5890
+ */
5891
+ type GetMessageRequest = Message<"supertag.runtime.v2.GetMessageRequest"> & {
4419
5892
  /**
4420
- * @generated from field: uint64 after_sequence = 3;
5893
+ * @generated from field: string tag_id = 1;
4421
5894
  */
4422
- afterSequence: bigint;
5895
+ tagId: string;
4423
5896
  /**
4424
- * @generated from field: uint32 limit = 4;
5897
+ * @generated from field: string task_id = 2;
4425
5898
  */
4426
- limit: number;
5899
+ taskId: string;
4427
5900
  };
4428
5901
  /**
4429
- * Describes the message supertag.runtime.v2.ListMessageEventsRequest.
4430
- * Use `create(ListMessageEventsRequestSchema)` to create a new message.
5902
+ * Describes the message supertag.runtime.v2.GetMessageRequest.
5903
+ * Use `create(GetMessageRequestSchema)` to create a new message.
4431
5904
  */
4432
- declare const ListMessageEventsRequestSchema: GenMessage<ListMessageEventsRequest>;
5905
+ declare const GetMessageRequestSchema: GenMessage<GetMessageRequest>;
4433
5906
  /**
4434
5907
  * @generated from message supertag.runtime.v2.SubmitTaskRequest
4435
5908
  */
@@ -4591,12 +6064,12 @@ type Task = Message<"supertag.runtime.v2.Task"> & {
4591
6064
  */
4592
6065
  inputArtifacts: AcceptedTaskArtifactInput[];
4593
6066
  /**
4594
- * How a surface message selected this Task's GitHub Workspace: request, origin or default.
4595
- * Absent when the Tag's configured Workspace (or none) was used.
6067
+ * The turn succeeded quietly: it found nothing that needs attention, so nothing was posted and
6068
+ * its conversation does not show it. Its result says why.
4596
6069
  *
4597
- * @generated from field: optional string workspace_selection = 3500;
6070
+ * @generated from field: bool quiet = 22;
4598
6071
  */
4599
- workspaceSelection?: string | undefined;
6072
+ quiet: boolean;
4600
6073
  /**
4601
6074
  * Limits the current Attempt's adapter confirmed it applies, and how; absent until it does.
4602
6075
  *
@@ -4617,6 +6090,21 @@ type Task = Message<"supertag.runtime.v2.Task"> & {
4617
6090
  * @generated from field: supertag.runtime.v2.TaskExecutionReport execution_report = 5200;
4618
6091
  */
4619
6092
  executionReport?: TaskExecutionReport | undefined;
6093
+ /**
6094
+ * Each Attempt's network log from its Worker Host's egress proxy, for a Task with a network
6095
+ * scope. Set only by GetTask.
6096
+ *
6097
+ * @generated from field: repeated supertag.runtime.v2.AttemptNetworkLog network_logs = 5300;
6098
+ */
6099
+ networkLogs: AttemptNetworkLog[];
6100
+ /**
6101
+ * The Worker Host holding the Session's last delivery, which the running Attempt waits for
6102
+ * before its harness starts: that host is not connected. Cleared when the Attempt goes on or
6103
+ * a new Attempt claims the Task.
6104
+ *
6105
+ * @generated from field: optional string waiting_for_holder = 5400;
6106
+ */
6107
+ waitingForHolder?: string | undefined;
4620
6108
  };
4621
6109
  /**
4622
6110
  * Describes the message supertag.runtime.v2.Task.
@@ -4656,23 +6144,256 @@ type TaskExecutionReport = Message<"supertag.runtime.v2.TaskExecutionReport"> &
4656
6144
  */
4657
6145
  usageComplete?: boolean | undefined;
4658
6146
  /**
4659
- * The report classifies every limited dimension of an ended Attempt.
4660
- *
4661
- * @generated from field: bool complete = 7;
6147
+ * The report classifies every limited dimension of an ended Attempt.
6148
+ *
6149
+ * @generated from field: bool complete = 7;
6150
+ */
6151
+ complete: boolean;
6152
+ /**
6153
+ * @generated from field: supertag.runtime.v2.AttemptCleanup cleanup = 8;
6154
+ */
6155
+ cleanup: AttemptCleanup;
6156
+ /**
6157
+ * The host's redacted reasons when it could not confirm cleanup: at most 8, each at most 160
6158
+ * characters. Cleared when the host later confirms cleanup.
6159
+ *
6160
+ * @generated from field: repeated string cleanup_failure = 9;
6161
+ */
6162
+ cleanupFailure: string[];
6163
+ /**
6164
+ * Why the Worker Host failed the Attempt, behind the Task's fixed result: the host's redacted
6165
+ * reasons, at most 8, each at most 160 characters. Shown to operators only; empty for every
6166
+ * other caller and when the host gave none.
6167
+ *
6168
+ * @generated from field: repeated string failure_detail = 10;
6169
+ */
6170
+ failureDetail: string[];
6171
+ };
6172
+ /**
6173
+ * One request the Attempt's egress proxy decided. Never headers or bodies; the path has no query
6174
+ * and is redacted by the host.
6175
+ *
6176
+ * @generated from message supertag.runtime.v2.NetworkRequestRecord
6177
+ */
6178
+ type NetworkRequestRecord = Message<"supertag.runtime.v2.NetworkRequestRecord"> & {
6179
+ /**
6180
+ * @generated from field: int64 at_ms = 1;
6181
+ */
6182
+ atMs: bigint;
6183
+ /**
6184
+ * @generated from field: string method = 2;
6185
+ */
6186
+ method: string;
6187
+ /**
6188
+ * `https://name[:port]`.
6189
+ *
6190
+ * @generated from field: string origin = 3;
6191
+ */
6192
+ origin: string;
6193
+ /**
6194
+ * @generated from field: string path = 4;
6195
+ */
6196
+ path: string;
6197
+ /**
6198
+ * @generated from field: bool allowed = 5;
6199
+ */
6200
+ allowed: boolean;
6201
+ /**
6202
+ * Why a request was denied; empty when allowed.
6203
+ *
6204
+ * @generated from field: string reason = 6;
6205
+ */
6206
+ reason: string;
6207
+ /**
6208
+ * The upstream's HTTP status; 0 when the request never reached it.
6209
+ *
6210
+ * @generated from field: uint32 status = 7;
6211
+ */
6212
+ status: number;
6213
+ /**
6214
+ * The credential name injected into the request, or empty.
6215
+ *
6216
+ * @generated from field: string credential = 8;
6217
+ */
6218
+ credential: string;
6219
+ };
6220
+ /**
6221
+ * The first requests an Attempt's egress proxy decided, with totals.
6222
+ *
6223
+ * @generated from message supertag.runtime.v2.NetworkLog
6224
+ */
6225
+ type NetworkLog = Message<"supertag.runtime.v2.NetworkLog"> & {
6226
+ /**
6227
+ * @generated from field: repeated supertag.runtime.v2.NetworkRequestRecord requests = 1;
6228
+ */
6229
+ requests: NetworkRequestRecord[];
6230
+ /**
6231
+ * @generated from field: uint64 allowed = 2;
6232
+ */
6233
+ allowed: bigint;
6234
+ /**
6235
+ * @generated from field: uint64 denied = 3;
6236
+ */
6237
+ denied: bigint;
6238
+ /**
6239
+ * Requests counted but not kept, beyond the host's limit.
6240
+ *
6241
+ * @generated from field: uint64 unrecorded = 4;
6242
+ */
6243
+ unrecorded: bigint;
6244
+ };
6245
+ /**
6246
+ * @generated from message supertag.runtime.v2.AttemptNetworkLog
6247
+ */
6248
+ type AttemptNetworkLog = Message<"supertag.runtime.v2.AttemptNetworkLog"> & {
6249
+ /**
6250
+ * @generated from field: string attempt_id = 1;
6251
+ */
6252
+ attemptId: string;
6253
+ /**
6254
+ * @generated from field: supertag.runtime.v2.NetworkLog log = 2;
6255
+ */
6256
+ log?: NetworkLog | undefined;
6257
+ };
6258
+ /**
6259
+ * @generated from message supertag.runtime.v2.LocateTaskFilesRequest
6260
+ */
6261
+ type LocateTaskFilesRequest = Message<"supertag.runtime.v2.LocateTaskFilesRequest"> & {
6262
+ /**
6263
+ * @generated from field: string task_id = 1;
6264
+ */
6265
+ taskId: string;
6266
+ /**
6267
+ * The caller's own ~/.supertag/machine-id; empty when it has none.
6268
+ *
6269
+ * @generated from field: string machine_id = 2;
6270
+ */
6271
+ machineId: string;
6272
+ };
6273
+ /**
6274
+ * Describes the message supertag.runtime.v2.LocateTaskFilesRequest.
6275
+ * Use `create(LocateTaskFilesRequestSchema)` to create a new message.
6276
+ */
6277
+ declare const LocateTaskFilesRequestSchema: GenMessage<LocateTaskFilesRequest>;
6278
+ /**
6279
+ * @generated from message supertag.runtime.v2.TaskFileLocations
6280
+ */
6281
+ type TaskFileLocations = Message<"supertag.runtime.v2.TaskFileLocations"> & {
6282
+ /**
6283
+ * @generated from field: repeated supertag.runtime.v2.TaskFileLocation locations = 1;
6284
+ */
6285
+ locations: TaskFileLocation[];
6286
+ };
6287
+ /**
6288
+ * Describes the message supertag.runtime.v2.TaskFileLocations.
6289
+ * Use `create(TaskFileLocationsSchema)` to create a new message.
6290
+ */
6291
+ declare const TaskFileLocationsSchema: GenMessage<TaskFileLocations>;
6292
+ /**
6293
+ * @generated from message supertag.runtime.v2.TaskFileLocation
6294
+ */
6295
+ type TaskFileLocation = Message<"supertag.runtime.v2.TaskFileLocation"> & {
6296
+ /**
6297
+ * Stable for the Attempt: the client keeps one view per location.
6298
+ *
6299
+ * @generated from field: string id = 1;
6300
+ */
6301
+ id: string;
6302
+ /**
6303
+ * @generated from oneof supertag.runtime.v2.TaskFileLocation.kind
6304
+ */
6305
+ kind: {
6306
+ /**
6307
+ * An absolute directory on the caller's own machine, which it lists and reads itself.
6308
+ *
6309
+ * @generated from field: supertag.runtime.v2.TaskFilesLocalPath local_path = 2;
6310
+ */
6311
+ value: TaskFilesLocalPath;
6312
+ case: "localPath";
6313
+ } | {
6314
+ case: undefined;
6315
+ value?: undefined;
6316
+ };
6317
+ /**
6318
+ * The files can still change: the Attempt is running.
6319
+ *
6320
+ * @generated from field: bool live = 6;
6321
+ */
6322
+ live: boolean;
6323
+ /**
6324
+ * Set instead of a location the caller can read, such as "Files on Worker Host laptop are
6325
+ * unreachable from here".
6326
+ *
6327
+ * @generated from field: string unavailable_reason = 7;
6328
+ */
6329
+ unavailableReason: string;
6330
+ /**
6331
+ * The Worker Host that holds the files.
6332
+ *
6333
+ * @generated from field: string host_id = 8;
6334
+ */
6335
+ hostId: string;
6336
+ };
6337
+ /**
6338
+ * @generated from message supertag.runtime.v2.TaskFilesLocalPath
6339
+ */
6340
+ type TaskFilesLocalPath = Message<"supertag.runtime.v2.TaskFilesLocalPath"> & {
6341
+ /**
6342
+ * @generated from field: string path = 1;
6343
+ */
6344
+ path: string;
6345
+ };
6346
+ /**
6347
+ * @generated from message supertag.runtime.v2.ListNetworkLogsRequest
6348
+ */
6349
+ type ListNetworkLogsRequest = Message<"supertag.runtime.v2.ListNetworkLogsRequest"> & {
6350
+ /**
6351
+ * @generated from field: string tag_id = 1;
6352
+ */
6353
+ tagId: string;
6354
+ /**
6355
+ * At most this many Task Attempts; 0 means 20, and at most 100.
6356
+ *
6357
+ * @generated from field: uint32 limit = 2;
6358
+ */
6359
+ limit: number;
6360
+ };
6361
+ /**
6362
+ * Describes the message supertag.runtime.v2.ListNetworkLogsRequest.
6363
+ * Use `create(ListNetworkLogsRequestSchema)` to create a new message.
6364
+ */
6365
+ declare const ListNetworkLogsRequestSchema: GenMessage<ListNetworkLogsRequest>;
6366
+ /**
6367
+ * @generated from message supertag.runtime.v2.TaskNetworkLog
6368
+ */
6369
+ type TaskNetworkLog = Message<"supertag.runtime.v2.TaskNetworkLog"> & {
6370
+ /**
6371
+ * @generated from field: string task_id = 1;
6372
+ */
6373
+ taskId: string;
6374
+ /**
6375
+ * @generated from field: string attempt_id = 2;
4662
6376
  */
4663
- complete: boolean;
6377
+ attemptId: string;
4664
6378
  /**
4665
- * @generated from field: supertag.runtime.v2.AttemptCleanup cleanup = 8;
6379
+ * @generated from field: supertag.runtime.v2.NetworkLog log = 3;
4666
6380
  */
4667
- cleanup: AttemptCleanup;
6381
+ log?: NetworkLog | undefined;
6382
+ };
6383
+ /**
6384
+ * @generated from message supertag.runtime.v2.ListNetworkLogsResponse
6385
+ */
6386
+ type ListNetworkLogsResponse = Message<"supertag.runtime.v2.ListNetworkLogsResponse"> & {
4668
6387
  /**
4669
- * The host's redacted reasons when it could not confirm cleanup: at most 8, each at most 160
4670
- * characters. Cleared when the host later confirms cleanup.
4671
- *
4672
- * @generated from field: repeated string cleanup_failure = 9;
6388
+ * @generated from field: repeated supertag.runtime.v2.TaskNetworkLog logs = 1;
4673
6389
  */
4674
- cleanupFailure: string[];
6390
+ logs: TaskNetworkLog[];
4675
6391
  };
6392
+ /**
6393
+ * Describes the message supertag.runtime.v2.ListNetworkLogsResponse.
6394
+ * Use `create(ListNetworkLogsResponseSchema)` to create a new message.
6395
+ */
6396
+ declare const ListNetworkLogsResponseSchema: GenMessage<ListNetworkLogsResponse>;
4676
6397
  /**
4677
6398
  * @generated from message supertag.runtime.v2.TaskArtifactInputSelection
4678
6399
  */
@@ -4856,6 +6577,67 @@ type HarnessExecutionProfile = Message<"supertag.runtime.v2.HarnessExecutionProf
4856
6577
  * @generated from field: repeated string mcp_login_servers = 1800;
4857
6578
  */
4858
6579
  mcpLoginServers: string[];
6580
+ /**
6581
+ * Names of the network credentials this host injects through its egress proxy. Only names;
6582
+ * the values never leave the host.
6583
+ *
6584
+ * @generated from field: repeated string network_credentials = 1900;
6585
+ */
6586
+ networkCredentials: string[];
6587
+ /**
6588
+ * This Claude Code lane can run Claude Code's own sandbox (macOS, or Linux with bubblewrap and
6589
+ * socat), which sends sandboxed commands' traffic only to the egress proxy.
6590
+ *
6591
+ * @generated from field: bool network_sandbox = 1901;
6592
+ */
6593
+ networkSandbox: boolean;
6594
+ /**
6595
+ * With `remote_file_workspace`: the sandbox provider is an operator's own
6596
+ * (`--workspace-provider`), not E2B or Modal. SuperTag has not verified that it keeps a
6597
+ * network scope, so placement never gives it a Task with one.
6598
+ *
6599
+ * @generated from field: bool unverified_workspace_provider = 2000;
6600
+ */
6601
+ unverifiedWorkspaceProvider: boolean;
6602
+ /**
6603
+ * This host's remote Workspace provider relays sandbox traffic to the Attempt's egress proxy,
6604
+ * so a remote lane can apply a network scope.
6605
+ *
6606
+ * @generated from field: bool remote_egress_relay = 1902;
6607
+ */
6608
+ remoteEgressRelay: boolean;
6609
+ /**
6610
+ * File Volumes this host maps and writes to directly. The Control Plane derives the label
6611
+ * `volume:ID` for each; the host checks its mapping against the registered source before it
6612
+ * writes.
6613
+ *
6614
+ * @generated from field: repeated supertag.runtime.v2.VolumeMapping volumes = 2100;
6615
+ */
6616
+ volumes: VolumeMapping[];
6617
+ /**
6618
+ * This Claude Code lane runs commands in Claude Code's own operating-system sandbox
6619
+ * (`sandbox-commands`), confined to the Task's Workspace and path scope with no network beyond
6620
+ * its web:fetch grant. It runs Tasks with commands:execute without `allow_unsandboxed_commands`,
6621
+ * keeps their hidden paths from commands, and is preferred over an unsandboxed lane.
6622
+ *
6623
+ * @generated from field: bool command_sandbox = 2200;
6624
+ */
6625
+ commandSandbox: boolean;
6626
+ };
6627
+ /**
6628
+ * @generated from message supertag.runtime.v2.VolumeMapping
6629
+ */
6630
+ type VolumeMapping = Message<"supertag.runtime.v2.VolumeMapping"> & {
6631
+ /**
6632
+ * @generated from field: string volume_id = 1;
6633
+ */
6634
+ volumeId: string;
6635
+ /**
6636
+ * The mapped directory as a canonical `file://` source.
6637
+ *
6638
+ * @generated from field: string source = 2;
6639
+ */
6640
+ source: string;
4859
6641
  };
4860
6642
  /**
4861
6643
  * @generated from message supertag.runtime.v2.SharedExecutionCapability
@@ -5037,21 +6819,73 @@ type CancelTaskRequest = Message<"supertag.runtime.v2.CancelTaskRequest"> & {
5037
6819
  */
5038
6820
  declare const CancelTaskRequestSchema: GenMessage<CancelTaskRequest>;
5039
6821
  /**
5040
- * @generated from message supertag.runtime.v2.InspectAttemptRequest
6822
+ * A Tag's harness-native memory: the files a harness keeps itself, such as Claude Code's
6823
+ * auto-memory. Worker Hosts keep the files, one store per Tag, harness, and audience (shared,
6824
+ * or private to one person's conversations); the Control Plane keeps only this record of what
6825
+ * each host holds. A host that is gone takes its copy with it.
6826
+ *
6827
+ * @generated from message supertag.runtime.v2.NativeMemoryStore
5041
6828
  */
5042
- type InspectAttemptRequest = Message<"supertag.runtime.v2.InspectAttemptRequest"> & {
6829
+ type NativeMemoryStore = Message<"supertag.runtime.v2.NativeMemoryStore"> & {
5043
6830
  /**
5044
- * @generated from field: string task_id = 1;
6831
+ * @generated from field: string tag_id = 1;
5045
6832
  */
5046
- taskId: string;
6833
+ tagId: string;
5047
6834
  /**
5048
- * @generated from field: string attempt_id = 2;
6835
+ * The harness that writes it, such as `claude-code`.
6836
+ *
6837
+ * @generated from field: string harness = 2;
5049
6838
  */
5050
- attemptId: string;
6839
+ harness: string;
6840
+ /**
6841
+ * Unset for the shared store; the principal whose conversations a private store serves.
6842
+ *
6843
+ * @generated from field: optional string audience = 3;
6844
+ */
6845
+ audience?: string | undefined;
6846
+ /**
6847
+ * The Worker Host holding this copy.
6848
+ *
6849
+ * @generated from field: string host_id = 4;
6850
+ */
6851
+ hostId: string;
6852
+ /**
6853
+ * Increases with every turn that changed the copy.
6854
+ *
6855
+ * @generated from field: uint64 revision = 5;
6856
+ */
6857
+ revision: bigint;
6858
+ /**
6859
+ * @generated from field: uint32 files = 6;
6860
+ */
6861
+ files: number;
6862
+ /**
6863
+ * @generated from field: uint64 bytes = 7;
6864
+ */
6865
+ bytes: bigint;
6866
+ /**
6867
+ * SHA-256 over the copy's paths and contents.
6868
+ *
6869
+ * @generated from field: string digest = 8;
6870
+ */
6871
+ digest: string;
6872
+ /**
6873
+ * @generated from field: int64 updated_at_ms = 9;
6874
+ */
6875
+ updatedAtMs: bigint;
6876
+ /**
6877
+ * The turn that last reported it.
6878
+ *
6879
+ * @generated from field: string task_id = 10;
6880
+ */
6881
+ taskId: string;
5051
6882
  /**
5052
- * @generated from field: string lease_token = 3;
6883
+ * Set when this is the store on the Tag's Volume, which any host that reaches the Volume uses;
6884
+ * `host_id` is then empty and `digest` is the SHA-256 of the store's manifest.
6885
+ *
6886
+ * @generated from field: string volume_id = 11;
5053
6887
  */
5054
- leaseToken: string;
6888
+ volumeId: string;
5055
6889
  };
5056
6890
  /**
5057
6891
  * @generated from message supertag.runtime.v2.ResolveAttemptRequest
@@ -5104,7 +6938,7 @@ type AttemptResolution = Message<"supertag.runtime.v2.AttemptResolution"> & {
5104
6938
  */
5105
6939
  decision: AttemptDecision;
5106
6940
  /**
5107
- * Empty when the Attempt's own Worker Host reclaimed it; see worker_host_id.
6941
+ * Set when an operator decided; see worker_host_id, client_id, and automatic for the others.
5108
6942
  *
5109
6943
  * @generated from field: string operator_id = 4;
5110
6944
  */
@@ -5123,6 +6957,19 @@ type AttemptResolution = Message<"supertag.runtime.v2.AttemptResolution"> & {
5123
6957
  * @generated from field: string worker_host_id = 5000;
5124
6958
  */
5125
6959
  workerHostId: string;
6960
+ /**
6961
+ * Set when the person who owns the conversation decided about their own turn.
6962
+ *
6963
+ * @generated from field: string client_id = 5001;
6964
+ */
6965
+ clientId: string;
6966
+ /**
6967
+ * The Control Plane decided on its own: the host confirmed execution stopped and the Attempt
6968
+ * recorded no effect a person must judge.
6969
+ *
6970
+ * @generated from field: bool automatic = 5002;
6971
+ */
6972
+ automatic: boolean;
5126
6973
  };
5127
6974
  /**
5128
6975
  * Describes the message supertag.runtime.v2.AttemptResolution.
@@ -5245,6 +7092,10 @@ type TaskEvent = Message<"supertag.runtime.v2.TaskEvent"> & {
5245
7092
  * @generated from field: string text = 2;
5246
7093
  */
5247
7094
  text: string;
7095
+ /**
7096
+ * @generated from field: supertag.runtime.v2.TaskEventKind kind = 3;
7097
+ */
7098
+ kind: TaskEventKind;
5248
7099
  };
5249
7100
  /**
5250
7101
  * Describes the message supertag.runtime.v2.TaskEvent.
@@ -5296,6 +7147,9 @@ type ConfirmExecutionLimitsResponse = Message<"supertag.runtime.v2.ConfirmExecut
5296
7147
  */
5297
7148
  declare const ConfirmExecutionLimitsResponseSchema: GenMessage<ConfirmExecutionLimitsResponse>;
5298
7149
  /**
7150
+ * One earlier finished turn of the Session: its request, its result, and the messages the Tag
7151
+ * wrote during it, each bounded. A turn without a native checkpoint starts from these.
7152
+ *
5299
7153
  * @generated from message supertag.runtime.v2.AttemptHistoryEntry
5300
7154
  */
5301
7155
  type AttemptHistoryEntry = Message<"supertag.runtime.v2.AttemptHistoryEntry"> & {
@@ -5311,6 +7165,10 @@ type AttemptHistoryEntry = Message<"supertag.runtime.v2.AttemptHistoryEntry"> &
5311
7165
  * @generated from field: optional string result = 3;
5312
7166
  */
5313
7167
  result?: string | undefined;
7168
+ /**
7169
+ * @generated from field: repeated string messages = 4;
7170
+ */
7171
+ messages: string[];
5314
7172
  };
5315
7173
  /**
5316
7174
  * @generated from message supertag.runtime.v2.HarnessRun
@@ -5341,7 +7199,9 @@ type HarnessRun = Message<"supertag.runtime.v2.HarnessRun"> & {
5341
7199
  */
5342
7200
  resolvedSkills: ResolvedSkill[];
5343
7201
  /**
5344
- * Prior turns from the same Session, supplied as untrusted evidence to fresh native runs.
7202
+ * The Session's last finished turns, oldest first, as untrusted evidence. An adapter that
7203
+ * does not resume `checkpoint` (none was offered, or the adapter cannot use it) starts its
7204
+ * fresh native session with this recap.
5345
7205
  *
5346
7206
  * @generated from field: repeated supertag.runtime.v2.AttemptHistoryEntry history = 7;
5347
7207
  */
@@ -5455,11 +7315,12 @@ type WorkspaceSpec = Message<"supertag.runtime.v2.WorkspaceSpec"> & {
5455
7315
  */
5456
7316
  baseCommit: string;
5457
7317
  /**
5458
- * Set by admission from the catalog, never accepted from PutTag input.
7318
+ * A remote Workspace's settings, set by admission from the catalog, never accepted from PutTag
7319
+ * input. Absent for a Workspace a Worker Host maps from a local repository.
5459
7320
  *
5460
- * @generated from field: supertag.runtime.v2.GithubWorkspace github_source = 3;
7321
+ * @generated from field: supertag.runtime.v2.Workspace remote = 3;
5461
7322
  */
5462
- githubSource?: GithubWorkspace | undefined;
7323
+ remote?: Workspace | undefined;
5463
7324
  /**
5464
7325
  * @generated from field: repeated supertag.runtime.v2.WorkspaceCopyMount mounts = 4;
5465
7326
  */
@@ -5479,6 +7340,29 @@ type WorkspaceSpec = Message<"supertag.runtime.v2.WorkspaceSpec"> & {
5479
7340
  * @generated from field: string base_ref = 5;
5480
7341
  */
5481
7342
  baseRef: string;
7343
+ /**
7344
+ * Set only on a merge follow-up Task: the target commit its Session must merge. The Worker
7345
+ * Host starts the merge in the checkout, leaving conflict markers, and records the Task's
7346
+ * commit with this commit as its second parent.
7347
+ *
7348
+ * @generated from field: string merge_commit = 6;
7349
+ */
7350
+ mergeCommit: string;
7351
+ /**
7352
+ * The Tag's name and SuperTag no-reply address that author the Session's commits, and the
7353
+ * requester as a `Co-authored-by` trailer value. Set by admission, never accepted from input.
7354
+ *
7355
+ * @generated from field: string author_name = 7;
7356
+ */
7357
+ authorName: string;
7358
+ /**
7359
+ * @generated from field: string author_email = 8;
7360
+ */
7361
+ authorEmail: string;
7362
+ /**
7363
+ * @generated from field: string co_author = 9;
7364
+ */
7365
+ coAuthor: string;
5482
7366
  };
5483
7367
  /**
5484
7368
  * @generated from message supertag.runtime.v2.WorkspaceCopyMount
@@ -5693,73 +7577,57 @@ type WorkspaceDeliveryReference = Message<"supertag.runtime.v2.WorkspaceDelivery
5693
7577
  bundle?: BlobReference | undefined;
5694
7578
  };
5695
7579
  /**
5696
- * @generated from message supertag.runtime.v2.WorkspaceDownload
7580
+ * @generated from message supertag.runtime.v2.HarnessPublishRequest
5697
7581
  */
5698
- type WorkspaceDownload = Message<"supertag.runtime.v2.WorkspaceDownload"> & {
7582
+ type HarnessPublishRequest = Message<"supertag.runtime.v2.HarnessPublishRequest"> & {
5699
7583
  /**
5700
- * @generated from oneof supertag.runtime.v2.WorkspaceDownload.part
7584
+ * @generated from field: uint64 sequence = 1;
5701
7585
  */
5702
- part: {
5703
- /**
5704
- * @generated from field: supertag.runtime.v2.WorkspaceDeliveryReference reference = 1;
5705
- */
5706
- value: WorkspaceDeliveryReference;
5707
- case: "reference";
5708
- } | {
5709
- /**
5710
- * @generated from field: bytes chunk = 2;
5711
- */
5712
- value: Uint8Array;
5713
- case: "chunk";
5714
- } | {
5715
- case: undefined;
5716
- value?: undefined;
5717
- };
5718
- };
5719
- /**
5720
- * @generated from message supertag.runtime.v2.GetWorkspaceArtifactRequest
5721
- */
5722
- type GetWorkspaceArtifactRequest = Message<"supertag.runtime.v2.GetWorkspaceArtifactRequest"> & {
7586
+ sequence: bigint;
5723
7587
  /**
5724
- * @generated from field: string task_id = 1;
7588
+ * @generated from field: string text = 2;
5725
7589
  */
5726
- taskId: string;
7590
+ text: string;
5727
7591
  /**
5728
- * @generated from field: supertag.runtime.v2.WorkspaceArtifactKind kind = 2;
7592
+ * @generated from field: supertag.runtime.v2.TaskEventKind kind = 3;
5729
7593
  */
5730
- kind: WorkspaceArtifactKind;
7594
+ kind: TaskEventKind;
5731
7595
  };
5732
7596
  /**
5733
- * @generated from message supertag.runtime.v2.GetReviewArtifactRequest
7597
+ * Describes the message supertag.runtime.v2.HarnessPublishRequest.
7598
+ * Use `create(HarnessPublishRequestSchema)` to create a new message.
5734
7599
  */
5735
- type GetReviewArtifactRequest = Message<"supertag.runtime.v2.GetReviewArtifactRequest"> & {
5736
- /**
5737
- * @generated from field: supertag.runtime.v2.InspectAttemptRequest attempt = 1;
5738
- */
5739
- attempt?: InspectAttemptRequest | undefined;
5740
- /**
5741
- * @generated from field: string review_id = 2;
5742
- */
5743
- reviewId: string;
5744
- };
7600
+ declare const HarnessPublishRequestSchema: GenMessage<HarnessPublishRequest>;
5745
7601
  /**
5746
- * @generated from message supertag.runtime.v2.HarnessPublishRequest
7602
+ * More text of the message being written. `after_sequence` is the sequence of the last event the
7603
+ * harness published, so text after a different one starts a new message.
7604
+ *
7605
+ * @generated from message supertag.runtime.v2.HarnessPublishTextRequest
5747
7606
  */
5748
- type HarnessPublishRequest = Message<"supertag.runtime.v2.HarnessPublishRequest"> & {
7607
+ type HarnessPublishTextRequest = Message<"supertag.runtime.v2.HarnessPublishTextRequest"> & {
5749
7608
  /**
5750
- * @generated from field: uint64 sequence = 1;
7609
+ * @generated from field: uint64 after_sequence = 1;
5751
7610
  */
5752
- sequence: bigint;
7611
+ afterSequence: bigint;
5753
7612
  /**
5754
7613
  * @generated from field: string text = 2;
5755
7614
  */
5756
7615
  text: string;
5757
7616
  };
5758
7617
  /**
5759
- * Describes the message supertag.runtime.v2.HarnessPublishRequest.
5760
- * Use `create(HarnessPublishRequestSchema)` to create a new message.
7618
+ * Describes the message supertag.runtime.v2.HarnessPublishTextRequest.
7619
+ * Use `create(HarnessPublishTextRequestSchema)` to create a new message.
5761
7620
  */
5762
- declare const HarnessPublishRequestSchema: GenMessage<HarnessPublishRequest>;
7621
+ declare const HarnessPublishTextRequestSchema: GenMessage<HarnessPublishTextRequest>;
7622
+ /**
7623
+ * @generated from message supertag.runtime.v2.HarnessPublishTextResponse
7624
+ */
7625
+ type HarnessPublishTextResponse = Message<"supertag.runtime.v2.HarnessPublishTextResponse"> & {};
7626
+ /**
7627
+ * Describes the message supertag.runtime.v2.HarnessPublishTextResponse.
7628
+ * Use `create(HarnessPublishTextResponseSchema)` to create a new message.
7629
+ */
7630
+ declare const HarnessPublishTextResponseSchema: GenMessage<HarnessPublishTextResponse>;
5763
7631
  /**
5764
7632
  * @generated from message supertag.runtime.v2.HarnessCompleteRequest
5765
7633
  */
@@ -5784,6 +7652,12 @@ type HarnessCompleteRequest = Message<"supertag.runtime.v2.HarnessCompleteReques
5784
7652
  * @generated from field: repeated string waiting_approval_ids = 5;
5785
7653
  */
5786
7654
  waitingApprovalIds: string[];
7655
+ /**
7656
+ * The turn called `stay_quiet`; see FinishTaskRequest.quiet.
7657
+ *
7658
+ * @generated from field: bool quiet = 6;
7659
+ */
7660
+ quiet: boolean;
5787
7661
  };
5788
7662
  /**
5789
7663
  * Describes the message supertag.runtime.v2.HarnessCompleteRequest.
@@ -5959,12 +7833,47 @@ type Objective = Message<"supertag.runtime.v2.Objective"> & {
5959
7833
  * @generated from field: optional string notification_task_id = 5300;
5960
7834
  */
5961
7835
  notificationTaskId?: string | undefined;
7836
+ /**
7837
+ * Set while a working Objective sits idle: when its owner's turn last ended with nothing
7838
+ * running and nothing asked. It stays working; only report_objective changes its status from a
7839
+ * turn, and new work clears this.
7840
+ *
7841
+ * @generated from field: optional int64 idle_since_ms = 7100;
7842
+ */
7843
+ idleSinceMs?: bigint | undefined;
5962
7844
  };
5963
7845
  /**
5964
7846
  * Describes the message supertag.runtime.v2.Objective.
5965
7847
  * Use `create(ObjectiveSchema)` to create a new message.
5966
7848
  */
5967
7849
  declare const ObjectiveSchema: GenMessage<Objective>;
7850
+ /**
7851
+ * How often Tags may wake each other through messages; an unset value keeps the default. People's
7852
+ * messages never count. Over a limit, notes wait for the recipient's next turn and questions and
7853
+ * blockers are delivered later; nothing is dropped.
7854
+ *
7855
+ * @generated from message supertag.runtime.v2.TeamWakeLimits
7856
+ */
7857
+ type TeamWakeLimits = Message<"supertag.runtime.v2.TeamWakeLimits"> & {
7858
+ /**
7859
+ * Wakes between two Tags for one originating Task, both directions (default 3).
7860
+ *
7861
+ * @generated from field: optional uint32 mutual_per_task = 1;
7862
+ */
7863
+ mutualPerTask?: number | undefined;
7864
+ /**
7865
+ * Tag-originated wakes of one Tag per hour (default 20).
7866
+ *
7867
+ * @generated from field: optional uint32 per_tag_per_hour = 2;
7868
+ */
7869
+ perTagPerHour?: number | undefined;
7870
+ /**
7871
+ * Tag-originated wakes in one Objective per hour (default 60).
7872
+ *
7873
+ * @generated from field: optional uint32 per_objective_per_hour = 3;
7874
+ */
7875
+ perObjectivePerHour?: number | undefined;
7876
+ };
5968
7877
  /**
5969
7878
  * @generated from message supertag.runtime.v2.Team
5970
7879
  */
@@ -5997,6 +7906,10 @@ type Team = Message<"supertag.runtime.v2.Team"> & {
5997
7906
  * @generated from field: int64 updated_at_ms = 7;
5998
7907
  */
5999
7908
  updatedAtMs: bigint;
7909
+ /**
7910
+ * @generated from field: supertag.runtime.v2.TeamWakeLimits wake_limits = 8;
7911
+ */
7912
+ wakeLimits?: TeamWakeLimits | undefined;
6000
7913
  };
6001
7914
  /**
6002
7915
  * Describes the message supertag.runtime.v2.Team.
@@ -6027,6 +7940,10 @@ type CreateTeamRequest = Message<"supertag.runtime.v2.CreateTeamRequest"> & {
6027
7940
  * @generated from field: optional uint32 max_concurrency = 5;
6028
7941
  */
6029
7942
  maxConcurrency?: number | undefined;
7943
+ /**
7944
+ * @generated from field: supertag.runtime.v2.TeamWakeLimits wake_limits = 6;
7945
+ */
7946
+ wakeLimits?: TeamWakeLimits | undefined;
6030
7947
  };
6031
7948
  /**
6032
7949
  * Describes the message supertag.runtime.v2.CreateTeamRequest.
@@ -6124,6 +8041,12 @@ type UpdateTeamRequest = Message<"supertag.runtime.v2.UpdateTeamRequest"> & {
6124
8041
  * @generated from field: optional uint32 max_concurrency = 6;
6125
8042
  */
6126
8043
  maxConcurrency?: number | undefined;
8044
+ /**
8045
+ * When present, replaces all three limits.
8046
+ *
8047
+ * @generated from field: supertag.runtime.v2.TeamWakeLimits wake_limits = 7;
8048
+ */
8049
+ wakeLimits?: TeamWakeLimits | undefined;
6127
8050
  };
6128
8051
  /**
6129
8052
  * Describes the message supertag.runtime.v2.UpdateTeamRequest.
@@ -6807,6 +8730,9 @@ declare enum WatchKind {
6807
8730
  */
6808
8731
  TASK = 2,
6809
8732
  /**
8733
+ * A message in a conversation, or its principal marking the conversation read. The change's
8734
+ * tag_id names the conversation.
8735
+ *
6810
8736
  * @generated from enum value: WATCH_KIND_CONVERSATION_MESSAGE = 3;
6811
8737
  */
6812
8738
  CONVERSATION_MESSAGE = 3,
@@ -6821,7 +8747,29 @@ declare enum WatchKind {
6821
8747
  /**
6822
8748
  * @generated from enum value: WATCH_KIND_WORKSTREAM_POST = 6;
6823
8749
  */
6824
- WORKSTREAM_POST = 6
8750
+ WORKSTREAM_POST = 6,
8751
+ /**
8752
+ * A Schedule was created or changed: paused, resumed, fired, done, or cancelled. The change's
8753
+ * tag_id names its Tag.
8754
+ *
8755
+ * @generated from enum value: WATCH_KIND_SCHEDULE = 7;
8756
+ */
8757
+ SCHEDULE = 7,
8758
+ /**
8759
+ * A Tag's note was kept, rewritten, or deleted (Memories). The change's id names the note and
8760
+ * its tag_id the Tag; a private note reaches only its person.
8761
+ *
8762
+ * @generated from enum value: WATCH_KIND_MEMORY = 8;
8763
+ */
8764
+ MEMORY = 8,
8765
+ /**
8766
+ * A Tag's direct message to another Tag (Mailbox). The change's id names the message, its
8767
+ * tag_id the recipient, and its objective_id the sender's Objective. A Workstream post addressed
8768
+ * to a Tag is a WATCH_KIND_WORKSTREAM_POST change only.
8769
+ *
8770
+ * @generated from enum value: WATCH_KIND_MAILBOX_MESSAGE = 9;
8771
+ */
8772
+ MAILBOX_MESSAGE = 9
6825
8773
  }
6826
8774
  /**
6827
8775
  * @generated from enum supertag.runtime.v2.WatchReason
@@ -6872,6 +8820,12 @@ declare enum InboxItemKind {
6872
8820
  * @generated from enum value: INBOX_ITEM_KIND_APPROVAL = 5;
6873
8821
  */
6874
8822
  APPROVAL = 5,
8823
+ /**
8824
+ * Tags hit a wake limit: their messages waited for a later turn instead of waking the recipient.
8825
+ *
8826
+ * @generated from enum value: INBOX_ITEM_KIND_WAKE_LIMIT = 6;
8827
+ */
8828
+ WAKE_LIMIT = 6,
6875
8829
  /**
6876
8830
  * A queued Task needs an OAuth MCP server whose login lapsed on every Worker Host serving it.
6877
8831
  *
@@ -6904,13 +8858,7 @@ declare enum InboxNotificationStatus {
6904
8858
  /**
6905
8859
  * @generated from enum value: INBOX_NOTIFICATION_STATUS_FAILED = 4;
6906
8860
  */
6907
- FAILED = 4,
6908
- /**
6909
- * The desktop notifier could not run.
6910
- *
6911
- * @generated from enum value: INBOX_NOTIFICATION_STATUS_UNAVAILABLE = 5;
6912
- */
6913
- UNAVAILABLE = 5
8861
+ FAILED = 4
6914
8862
  }
6915
8863
  /**
6916
8864
  * @generated from enum supertag.runtime.v2.ApprovalState
@@ -6931,28 +8879,121 @@ declare enum ApprovalState {
6931
8879
  /**
6932
8880
  * @generated from enum value: APPROVAL_STATE_DENIED = 3;
6933
8881
  */
6934
- DENIED = 3,
8882
+ DENIED = 3,
8883
+ /**
8884
+ * @generated from enum value: APPROVAL_STATE_EXPIRED = 4;
8885
+ */
8886
+ EXPIRED = 4
8887
+ }
8888
+ /**
8889
+ * @generated from enum supertag.runtime.v2.ApprovalScope
8890
+ */
8891
+ declare enum ApprovalScope {
8892
+ /**
8893
+ * @generated from enum value: APPROVAL_SCOPE_UNSPECIFIED = 0;
8894
+ */
8895
+ UNSPECIFIED = 0,
8896
+ /**
8897
+ * @generated from enum value: APPROVAL_SCOPE_ONCE = 1;
8898
+ */
8899
+ ONCE = 1,
8900
+ /**
8901
+ * @generated from enum value: APPROVAL_SCOPE_OBJECTIVE = 2;
8902
+ */
8903
+ OBJECTIVE = 2
8904
+ }
8905
+ /**
8906
+ * Why a Work Session closed.
8907
+ *
8908
+ * @generated from enum supertag.runtime.v2.WorkSessionCloseReason
8909
+ */
8910
+ declare enum WorkSessionCloseReason {
8911
+ /**
8912
+ * @generated from enum value: WORK_SESSION_CLOSE_REASON_UNSPECIFIED = 0;
8913
+ */
8914
+ UNSPECIFIED = 0,
8915
+ /**
8916
+ * Its Tag closed it with `close_session`.
8917
+ *
8918
+ * @generated from enum value: WORK_SESSION_CLOSE_REASON_TAG = 1;
8919
+ */
8920
+ TAG = 1,
8921
+ /**
8922
+ * An operator or client closed it.
8923
+ *
8924
+ * @generated from enum value: WORK_SESSION_CLOSE_REASON_OPERATOR = 2;
8925
+ */
8926
+ OPERATOR = 2,
8927
+ /**
8928
+ * Its delivery was pulled into a repository with `supertag fetch`.
8929
+ *
8930
+ * @generated from enum value: WORK_SESSION_CLOSE_REASON_DELIVERY_PULLED = 3;
8931
+ */
8932
+ DELIVERY_PULLED = 3,
8933
+ /**
8934
+ * Its Objective closed.
8935
+ *
8936
+ * @generated from enum value: WORK_SESSION_CLOSE_REASON_OBJECTIVE_CLOSED = 4;
8937
+ */
8938
+ OBJECTIVE_CLOSED = 4,
8939
+ /**
8940
+ * It had finished when SuperTag began counting open Work Sessions.
8941
+ *
8942
+ * @generated from enum value: WORK_SESSION_CLOSE_REASON_UPGRADE = 5;
8943
+ */
8944
+ UPGRADE = 5,
8945
+ /**
8946
+ * Closed after 14 days without activity: no turn, continuation, or delivery change.
8947
+ * Continuing it reopens it when the Tag is under its limit.
8948
+ *
8949
+ * @generated from enum value: WORK_SESSION_CLOSE_REASON_IDLE = 6;
8950
+ */
8951
+ IDLE = 6,
8952
+ /**
8953
+ * The pull request its review landing opened was merged.
8954
+ *
8955
+ * @generated from enum value: WORK_SESSION_CLOSE_REASON_MERGED = 7;
8956
+ */
8957
+ MERGED = 7
8958
+ }
8959
+ /**
8960
+ * What a Mailbox message is for. Questions and blockers wake their recipient sooner than notes.
8961
+ * REVIEW marks a commit review request: the Control Plane sets it, and a request that names it is
8962
+ * refused. Workstream posts have no type.
8963
+ *
8964
+ * @generated from enum supertag.runtime.v2.MessageKind
8965
+ */
8966
+ declare enum MessageKind {
8967
+ /**
8968
+ * Treated as a note.
8969
+ *
8970
+ * @generated from enum value: MESSAGE_KIND_UNSPECIFIED = 0;
8971
+ */
8972
+ UNSPECIFIED = 0,
8973
+ /**
8974
+ * @generated from enum value: MESSAGE_KIND_NOTE = 1;
8975
+ */
8976
+ NOTE = 1,
8977
+ /**
8978
+ * @generated from enum value: MESSAGE_KIND_QUESTION = 2;
8979
+ */
8980
+ QUESTION = 2,
6935
8981
  /**
6936
- * @generated from enum value: APPROVAL_STATE_EXPIRED = 4;
8982
+ * @generated from enum value: MESSAGE_KIND_BLOCKER = 3;
6937
8983
  */
6938
- EXPIRED = 4
6939
- }
6940
- /**
6941
- * @generated from enum supertag.runtime.v2.ApprovalScope
6942
- */
6943
- declare enum ApprovalScope {
8984
+ BLOCKER = 3,
6944
8985
  /**
6945
- * @generated from enum value: APPROVAL_SCOPE_UNSPECIFIED = 0;
8986
+ * @generated from enum value: MESSAGE_KIND_EVIDENCE = 4;
6946
8987
  */
6947
- UNSPECIFIED = 0,
8988
+ EVIDENCE = 4,
6948
8989
  /**
6949
- * @generated from enum value: APPROVAL_SCOPE_ONCE = 1;
8990
+ * @generated from enum value: MESSAGE_KIND_DECISION = 5;
6950
8991
  */
6951
- ONCE = 1,
8992
+ DECISION = 5,
6952
8993
  /**
6953
- * @generated from enum value: APPROVAL_SCOPE_OBJECTIVE = 2;
8994
+ * @generated from enum value: MESSAGE_KIND_REVIEW = 6;
6954
8995
  */
6955
- OBJECTIVE = 2
8996
+ REVIEW = 6
6956
8997
  }
6957
8998
  /**
6958
8999
  * @generated from enum supertag.runtime.v2.TagMessageOrigin
@@ -7443,6 +9484,37 @@ declare enum AttemptDecision {
7443
9484
  */
7444
9485
  RETRY = 2
7445
9486
  }
9487
+ /**
9488
+ * What a Task event shows. Every event has a kind.
9489
+ *
9490
+ * @generated from enum supertag.runtime.v2.TaskEventKind
9491
+ */
9492
+ declare enum TaskEventKind {
9493
+ /**
9494
+ * @generated from enum value: TASK_EVENT_KIND_UNSPECIFIED = 0;
9495
+ */
9496
+ UNSPECIFIED = 0,
9497
+ /**
9498
+ * A message the Tag wrote to the person while its turn runs, such as the sentence saying
9499
+ * what it is about to do. Clients show each as its own message; the Task's result is the last.
9500
+ *
9501
+ * @generated from enum value: TASK_EVENT_KIND_MESSAGE = 1;
9502
+ */
9503
+ MESSAGE = 1,
9504
+ /**
9505
+ * One line saying what the Tag is doing, such as a command it runs. Clients show the latest
9506
+ * in a status line, not as a message.
9507
+ *
9508
+ * @generated from enum value: TASK_EVENT_KIND_ACTIVITY = 2;
9509
+ */
9510
+ ACTIVITY = 2,
9511
+ /**
9512
+ * A plan or background progress, as `progress.updated` JSON with a summary and items.
9513
+ *
9514
+ * @generated from enum value: TASK_EVENT_KIND_PROGRESS = 3;
9515
+ */
9516
+ PROGRESS = 3
9517
+ }
7446
9518
  /**
7447
9519
  * @generated from enum supertag.runtime.v2.ExecutionLimitEnforcement
7448
9520
  */
@@ -7491,23 +9563,6 @@ declare enum WorkspaceMountWriteStatus {
7491
9563
  */
7492
9564
  REFUSED = 3
7493
9565
  }
7494
- /**
7495
- * @generated from enum supertag.runtime.v2.WorkspaceArtifactKind
7496
- */
7497
- declare enum WorkspaceArtifactKind {
7498
- /**
7499
- * @generated from enum value: WORKSPACE_ARTIFACT_KIND_UNSPECIFIED = 0;
7500
- */
7501
- UNSPECIFIED = 0,
7502
- /**
7503
- * @generated from enum value: WORKSPACE_ARTIFACT_KIND_PATCH = 1;
7504
- */
7505
- PATCH = 1,
7506
- /**
7507
- * @generated from enum value: WORKSPACE_ARTIFACT_KIND_BUNDLE = 2;
7508
- */
7509
- BUNDLE = 2
7510
- }
7511
9566
  /**
7512
9567
  * @generated from enum supertag.runtime.v2.ObjectiveStatus
7513
9568
  */
@@ -7592,6 +9647,237 @@ declare enum ReplyState {
7592
9647
  UNCERTAIN = 5
7593
9648
  }
7594
9649
 
9650
+ /**
9651
+ * @generated from message supertag.runtime.v2.Memory
9652
+ */
9653
+ type Memory = Message<"supertag.runtime.v2.Memory"> & {
9654
+ /**
9655
+ * @generated from field: string memory_id = 1;
9656
+ */
9657
+ memoryId: string;
9658
+ /**
9659
+ * @generated from field: string tag_id = 2;
9660
+ */
9661
+ tagId: string;
9662
+ /**
9663
+ * At most 500 characters.
9664
+ *
9665
+ * @generated from field: string text = 3;
9666
+ */
9667
+ text: string;
9668
+ /**
9669
+ * Unset for a shared note; the principal whose conversation wrote a private note.
9670
+ *
9671
+ * @generated from field: optional string audience = 4;
9672
+ */
9673
+ audience?: string | undefined;
9674
+ /**
9675
+ * @generated from field: supertag.runtime.v2.MemoryState state = 5;
9676
+ */
9677
+ state: MemoryState;
9678
+ /**
9679
+ * `tag:ID` for the Tag that wrote it.
9680
+ *
9681
+ * @generated from field: string created_by = 6;
9682
+ */
9683
+ createdBy: string;
9684
+ /**
9685
+ * The turn that wrote it.
9686
+ *
9687
+ * @generated from field: optional string source_task_id = 7;
9688
+ */
9689
+ sourceTaskId?: string | undefined;
9690
+ /**
9691
+ * @generated from field: int64 created_at_ms = 8;
9692
+ */
9693
+ createdAtMs: bigint;
9694
+ /**
9695
+ * @generated from field: int64 updated_at_ms = 9;
9696
+ */
9697
+ updatedAtMs: bigint;
9698
+ /**
9699
+ * When a turn last had the note in its context; unset until one has.
9700
+ *
9701
+ * @generated from field: optional int64 last_seen_at_ms = 10;
9702
+ */
9703
+ lastSeenAtMs?: bigint | undefined;
9704
+ };
9705
+ /**
9706
+ * Describes the message supertag.runtime.v2.Memory.
9707
+ * Use `create(MemorySchema)` to create a new message.
9708
+ */
9709
+ declare const MemorySchema: GenMessage<Memory>;
9710
+ /**
9711
+ * @generated from message supertag.runtime.v2.ListMemoriesRequest
9712
+ */
9713
+ type ListMemoriesRequest = Message<"supertag.runtime.v2.ListMemoriesRequest"> & {
9714
+ /**
9715
+ * @generated from field: optional string tag_id = 1;
9716
+ */
9717
+ tagId?: string | undefined;
9718
+ };
9719
+ /**
9720
+ * Describes the message supertag.runtime.v2.ListMemoriesRequest.
9721
+ * Use `create(ListMemoriesRequestSchema)` to create a new message.
9722
+ */
9723
+ declare const ListMemoriesRequestSchema: GenMessage<ListMemoriesRequest>;
9724
+ /**
9725
+ * Newest first.
9726
+ *
9727
+ * @generated from message supertag.runtime.v2.ListMemoriesResponse
9728
+ */
9729
+ type ListMemoriesResponse = Message<"supertag.runtime.v2.ListMemoriesResponse"> & {
9730
+ /**
9731
+ * @generated from field: repeated supertag.runtime.v2.Memory memories = 1;
9732
+ */
9733
+ memories: Memory[];
9734
+ };
9735
+ /**
9736
+ * Describes the message supertag.runtime.v2.ListMemoriesResponse.
9737
+ * Use `create(ListMemoriesResponseSchema)` to create a new message.
9738
+ */
9739
+ declare const ListMemoriesResponseSchema: GenMessage<ListMemoriesResponse>;
9740
+ /**
9741
+ * @generated from message supertag.runtime.v2.GetMemoryRequest
9742
+ */
9743
+ type GetMemoryRequest = Message<"supertag.runtime.v2.GetMemoryRequest"> & {
9744
+ /**
9745
+ * @generated from field: string memory_id = 1;
9746
+ */
9747
+ memoryId: string;
9748
+ };
9749
+ /**
9750
+ * Describes the message supertag.runtime.v2.GetMemoryRequest.
9751
+ * Use `create(GetMemoryRequestSchema)` to create a new message.
9752
+ */
9753
+ declare const GetMemoryRequestSchema: GenMessage<GetMemoryRequest>;
9754
+ /**
9755
+ * The `remember` tool. A note takes this turn's audience. `replaces` names a note this turn may
9756
+ * see, which the new note replaces when the turn succeeds.
9757
+ *
9758
+ * @generated from message supertag.runtime.v2.AttemptRememberRequest
9759
+ */
9760
+ type AttemptRememberRequest = Message<"supertag.runtime.v2.AttemptRememberRequest"> & {
9761
+ /**
9762
+ * @generated from field: string operation_id = 2;
9763
+ */
9764
+ operationId: string;
9765
+ /**
9766
+ * 1 to 500 characters.
9767
+ *
9768
+ * @generated from field: string text = 3;
9769
+ */
9770
+ text: string;
9771
+ /**
9772
+ * @generated from field: optional string replaces = 4;
9773
+ */
9774
+ replaces?: string | undefined;
9775
+ };
9776
+ /**
9777
+ * Describes the message supertag.runtime.v2.AttemptRememberRequest.
9778
+ * Use `create(AttemptRememberRequestSchema)` to create a new message.
9779
+ */
9780
+ declare const AttemptRememberRequestSchema: GenMessage<AttemptRememberRequest>;
9781
+ /**
9782
+ * The `forget` tool, for a note this turn may see.
9783
+ *
9784
+ * @generated from message supertag.runtime.v2.AttemptForgetRequest
9785
+ */
9786
+ type AttemptForgetRequest = Message<"supertag.runtime.v2.AttemptForgetRequest"> & {
9787
+ /**
9788
+ * @generated from field: string operation_id = 2;
9789
+ */
9790
+ operationId: string;
9791
+ /**
9792
+ * @generated from field: string memory_id = 3;
9793
+ */
9794
+ memoryId: string;
9795
+ };
9796
+ /**
9797
+ * Describes the message supertag.runtime.v2.AttemptForgetRequest.
9798
+ * Use `create(AttemptForgetRequestSchema)` to create a new message.
9799
+ */
9800
+ declare const AttemptForgetRequestSchema: GenMessage<AttemptForgetRequest>;
9801
+ /**
9802
+ * @generated from message supertag.runtime.v2.AttemptMemoryResponse
9803
+ */
9804
+ type AttemptMemoryResponse = Message<"supertag.runtime.v2.AttemptMemoryResponse"> & {
9805
+ /**
9806
+ * @generated from field: supertag.runtime.v2.Memory memory = 1;
9807
+ */
9808
+ memory?: Memory | undefined;
9809
+ /**
9810
+ * The notes this turn sees after the call, newest first, staged changes included.
9811
+ *
9812
+ * @generated from field: repeated supertag.runtime.v2.Memory notes = 2;
9813
+ */
9814
+ notes: Memory[];
9815
+ };
9816
+ /**
9817
+ * Describes the message supertag.runtime.v2.AttemptMemoryResponse.
9818
+ * Use `create(AttemptMemoryResponseSchema)` to create a new message.
9819
+ */
9820
+ declare const AttemptMemoryResponseSchema: GenMessage<AttemptMemoryResponse>;
9821
+ /**
9822
+ * @generated from message supertag.runtime.v2.ResetNativeMemoryRequest
9823
+ */
9824
+ type ResetNativeMemoryRequest = Message<"supertag.runtime.v2.ResetNativeMemoryRequest"> & {
9825
+ /**
9826
+ * @generated from field: string tag_id = 1;
9827
+ */
9828
+ tagId: string;
9829
+ };
9830
+ /**
9831
+ * Describes the message supertag.runtime.v2.ResetNativeMemoryRequest.
9832
+ * Use `create(ResetNativeMemoryRequestSchema)` to create a new message.
9833
+ */
9834
+ declare const ResetNativeMemoryRequestSchema: GenMessage<ResetNativeMemoryRequest>;
9835
+ /**
9836
+ * @generated from message supertag.runtime.v2.ResetNativeMemoryResponse
9837
+ */
9838
+ type ResetNativeMemoryResponse = Message<"supertag.runtime.v2.ResetNativeMemoryResponse"> & {
9839
+ /**
9840
+ * The records dropped.
9841
+ *
9842
+ * @generated from field: repeated supertag.runtime.v2.NativeMemoryStore stores = 1;
9843
+ */
9844
+ stores: NativeMemoryStore[];
9845
+ /**
9846
+ * @generated from field: uint64 reset_generation = 2;
9847
+ */
9848
+ resetGeneration: bigint;
9849
+ };
9850
+ /**
9851
+ * Describes the message supertag.runtime.v2.ResetNativeMemoryResponse.
9852
+ * Use `create(ResetNativeMemoryResponseSchema)` to create a new message.
9853
+ */
9854
+ declare const ResetNativeMemoryResponseSchema: GenMessage<ResetNativeMemoryResponse>;
9855
+ /**
9856
+ * @generated from enum supertag.runtime.v2.MemoryState
9857
+ */
9858
+ declare enum MemoryState {
9859
+ /**
9860
+ * @generated from enum value: MEMORY_STATE_UNSPECIFIED = 0;
9861
+ */
9862
+ UNSPECIFIED = 0,
9863
+ /**
9864
+ * Written by a turn that has not finished yet.
9865
+ *
9866
+ * @generated from enum value: MEMORY_STATE_STAGED = 1;
9867
+ */
9868
+ STAGED = 1,
9869
+ /**
9870
+ * @generated from enum value: MEMORY_STATE_ACTIVE = 2;
9871
+ */
9872
+ ACTIVE = 2,
9873
+ /**
9874
+ * Forgotten or replaced by a turn that has not finished yet.
9875
+ *
9876
+ * @generated from enum value: MEMORY_STATE_FORGETTING = 3;
9877
+ */
9878
+ FORGETTING = 3
9879
+ }
9880
+
7595
9881
  /**
7596
9882
  * @generated from message supertag.runtime.v2.ArtifactDescription
7597
9883
  */
@@ -7743,6 +10029,13 @@ type CapturedArtifact = Message<"supertag.runtime.v2.CapturedArtifact"> & {
7743
10029
  * @generated from field: repeated supertag.runtime.v2.ArtifactSelection inputs = 3;
7744
10030
  */
7745
10031
  inputs: ArtifactSelection[];
10032
+ /**
10033
+ * The copies of each file on the artifact Volume the producing Tag names, in the capture's
10034
+ * reservation and commit responses only. A commit returns them Verified.
10035
+ *
10036
+ * @generated from field: repeated supertag.runtime.v2.ArtifactVolumeCopy volume_copies = 4;
10037
+ */
10038
+ volumeCopies: ArtifactVolumeCopy[];
7746
10039
  };
7747
10040
  /**
7748
10041
  * Describes the message supertag.runtime.v2.CapturedArtifact.
@@ -8012,48 +10305,6 @@ type ListCapturedArtifactsResponse = Message<"supertag.runtime.v2.ListCapturedAr
8012
10305
  * Use `create(ListCapturedArtifactsResponseSchema)` to create a new message.
8013
10306
  */
8014
10307
  declare const ListCapturedArtifactsResponseSchema: GenMessage<ListCapturedArtifactsResponse>;
8015
- /**
8016
- * @generated from message supertag.runtime.v2.DownloadArtifactFileRequest
8017
- */
8018
- type DownloadArtifactFileRequest = Message<"supertag.runtime.v2.DownloadArtifactFileRequest"> & {
8019
- /**
8020
- * @generated from field: string artifact_id = 1;
8021
- */
8022
- artifactId: string;
8023
- /**
8024
- * @generated from field: string path = 2;
8025
- */
8026
- path: string;
8027
- };
8028
- /**
8029
- * @generated from message supertag.runtime.v2.ArtifactDownload
8030
- */
8031
- type ArtifactDownload = Message<"supertag.runtime.v2.ArtifactDownload"> & {
8032
- /**
8033
- * @generated from oneof supertag.runtime.v2.ArtifactDownload.part
8034
- */
8035
- part: {
8036
- /**
8037
- * @generated from field: supertag.runtime.v2.ArtifactFile file = 1;
8038
- */
8039
- value: ArtifactFile;
8040
- case: "file";
8041
- } | {
8042
- /**
8043
- * @generated from field: bytes chunk = 2;
8044
- */
8045
- value: Uint8Array;
8046
- case: "chunk";
8047
- } | {
8048
- case: undefined;
8049
- value?: undefined;
8050
- };
8051
- };
8052
- /**
8053
- * Describes the message supertag.runtime.v2.ArtifactDownload.
8054
- * Use `create(ArtifactDownloadSchema)` to create a new message.
8055
- */
8056
- declare const ArtifactDownloadSchema: GenMessage<ArtifactDownload>;
8057
10308
  /**
8058
10309
  * @generated from message supertag.runtime.v2.ArtifactVolume
8059
10310
  */
@@ -8196,40 +10447,6 @@ type DeleteArtifactVolumeResponse = Message<"supertag.runtime.v2.DeleteArtifactV
8196
10447
  * Use `create(DeleteArtifactVolumeResponseSchema)` to create a new message.
8197
10448
  */
8198
10449
  declare const DeleteArtifactVolumeResponseSchema: GenMessage<DeleteArtifactVolumeResponse>;
8199
- /**
8200
- * @generated from message supertag.runtime.v2.CopyArtifactToVolumeRequest
8201
- */
8202
- type CopyArtifactToVolumeRequest = Message<"supertag.runtime.v2.CopyArtifactToVolumeRequest"> & {
8203
- /**
8204
- * @generated from field: string operation_id = 1;
8205
- */
8206
- operationId: string;
8207
- /**
8208
- * @generated from field: string volume_id = 2;
8209
- */
8210
- volumeId: string;
8211
- /**
8212
- * @generated from field: uint64 expected_revision = 3;
8213
- */
8214
- expectedRevision: bigint;
8215
- /**
8216
- * @generated from field: string artifact_id = 4;
8217
- */
8218
- artifactId: string;
8219
- /**
8220
- * @generated from field: string path = 5;
8221
- */
8222
- path: string;
8223
- /**
8224
- * @generated from field: supertag.runtime.v2.BlobReference expected_blob = 6;
8225
- */
8226
- expectedBlob?: BlobReference | undefined;
8227
- };
8228
- /**
8229
- * Describes the message supertag.runtime.v2.CopyArtifactToVolumeRequest.
8230
- * Use `create(CopyArtifactToVolumeRequestSchema)` to create a new message.
8231
- */
8232
- declare const CopyArtifactToVolumeRequestSchema: GenMessage<CopyArtifactToVolumeRequest>;
8233
10450
  /**
8234
10451
  * @generated from message supertag.runtime.v2.ArtifactVolumeCopy
8235
10452
  */
@@ -8270,12 +10487,59 @@ type ArtifactVolumeCopy = Message<"supertag.runtime.v2.ArtifactVolumeCopy"> & {
8270
10487
  * @generated from field: optional int64 verified_at_ms = 9;
8271
10488
  */
8272
10489
  verifiedAtMs?: bigint | undefined;
10490
+ /**
10491
+ * A capture reservation's grant to write this copy's object directly, for an S3 Volume. Never
10492
+ * stored.
10493
+ *
10494
+ * @generated from field: supertag.runtime.v2.ArtifactVolumeUpload upload = 11;
10495
+ */
10496
+ upload?: ArtifactVolumeUpload | undefined;
10497
+ /**
10498
+ * Verified by the writing Worker Host, which reopened and checked it through its own mapping of
10499
+ * a file Volume. The Control Plane checks an S3 copy itself, with a HEAD.
10500
+ *
10501
+ * @generated from field: bool host_attested = 12;
10502
+ */
10503
+ hostAttested: boolean;
8273
10504
  };
8274
10505
  /**
8275
10506
  * Describes the message supertag.runtime.v2.ArtifactVolumeCopy.
8276
10507
  * Use `create(ArtifactVolumeCopySchema)` to create a new message.
8277
10508
  */
8278
10509
  declare const ArtifactVolumeCopySchema: GenMessage<ArtifactVolumeCopy>;
10510
+ /**
10511
+ * A presigned S3 PUT for exactly one object: its length and SHA-256 checksum are signed headers,
10512
+ * so the store refuses any other bytes. Send `headers` exactly as given.
10513
+ *
10514
+ * @generated from message supertag.runtime.v2.ArtifactVolumeUpload
10515
+ */
10516
+ type ArtifactVolumeUpload = Message<"supertag.runtime.v2.ArtifactVolumeUpload"> & {
10517
+ /**
10518
+ * @generated from field: string url = 1;
10519
+ */
10520
+ url: string;
10521
+ /**
10522
+ * @generated from field: repeated supertag.runtime.v2.ArtifactVolumeUploadHeader headers = 2;
10523
+ */
10524
+ headers: ArtifactVolumeUploadHeader[];
10525
+ /**
10526
+ * @generated from field: int64 expires_at_ms = 3;
10527
+ */
10528
+ expiresAtMs: bigint;
10529
+ };
10530
+ /**
10531
+ * @generated from message supertag.runtime.v2.ArtifactVolumeUploadHeader
10532
+ */
10533
+ type ArtifactVolumeUploadHeader = Message<"supertag.runtime.v2.ArtifactVolumeUploadHeader"> & {
10534
+ /**
10535
+ * @generated from field: string name = 1;
10536
+ */
10537
+ name: string;
10538
+ /**
10539
+ * @generated from field: string value = 2;
10540
+ */
10541
+ value: string;
10542
+ };
8279
10543
  /**
8280
10544
  * @generated from message supertag.runtime.v2.GetArtifactVolumeCopyRequest
8281
10545
  */
@@ -8765,4 +11029,4 @@ declare enum ArtifactApprovalStatus {
8765
11029
  WITHDRAWN = 2
8766
11030
  }
8767
11031
 
8768
- export { CompleteObjectiveRequestSchema as $, AuthKeySchema as A, ListMessagesResponseSchema as B, CreateAuthKeyRequestSchema as C, SendMessageRequestSchema as D, ConversationMessageSchema as E, GetMessageRequestSchema as F, GetHostRequestSchema as G, ListMessageEventsRequestSchema as H, WatchRequestSchema as I, WatchEventSchema as J, CreateObjectiveRequestSchema as K, ListHostsRequestSchema as L, GetObjectiveRequestSchema as M, ListObjectivesRequestSchema as N, ObjectiveSchema as O, PutTagRequestSchema as P, ListObjectivesResponseSchema as Q, ResolveAttemptRequestSchema as R, SetHostDrainingRequestSchema as S, TagSchema as T, ListObjectiveCommitReviewsRequestSchema as U, ListObjectiveCommitReviewsResponseSchema as V, type WorkspaceDeliveryReference as W, SetObjectiveLimitsRequestSchema as X, SetObjectiveRuntimeActionsRequestSchema as Y, ObjectiveActionRequestSchema as Z, ReviewObjectiveRequestSchema as _, ListHostsResponseSchema as a, ListSurfaceAccountsResponseSchema as a$, ListInboxItemsRequestSchema as a0, ListInboxItemsResponseSchema as a1, GetQuestionRequestSchema as a2, ObjectiveQuestionSchema as a3, AnswerQuestionRequestSchema as a4, GetApprovalRequestSchema as a5, ApprovalSchema as a6, ListApprovalsRequestSchema as a7, ListApprovalsResponseSchema as a8, DecideApprovalRequestSchema as a9, ListPolicyResourcesRequestSchema as aA, ListPermissionSetsResponseSchema as aB, DeletePolicyResourceRequestSchema as aC, DeletePolicyResourceResponseSchema as aD, PutContextSetRequestSchema as aE, ContextSetSchema as aF, ListContextSetsResponseSchema as aG, PutRoleRequestSchema as aH, RoleSchema as aI, ListRolesResponseSchema as aJ, AssignRoleRequestSchema as aK, RoleAssignmentSchema as aL, ListRoleAssignmentsRequestSchema as aM, ListRoleAssignmentsResponseSchema as aN, DeactivateRoleAssignmentRequestSchema as aO, ReconcileTagRelationshipsRequestSchema as aP, ReconcileTagRelationshipsResponseSchema as aQ, ProvisionTagsRequestSchema as aR, ProvisionTagsResponseSchema as aS, ReconcileApplySetRequestSchema as aT, ReconcileApplySetResponseSchema as aU, ReconcileManifestFieldsRequestSchema as aV, ReconcileManifestFieldsResponseSchema as aW, PutSurfaceAccountRequestSchema as aX, SurfaceAccountSchema as aY, GetSurfaceAccountRequestSchema as aZ, ListSurfaceAccountsRequestSchema as a_, GetWorkSessionRequestSchema as aa, WorkSessionSchema as ab, ListWorkSessionsRequestSchema as ac, ListWorkSessionsResponseSchema as ad, CreateTeamRequestSchema as ae, TeamSchema as af, GetTeamRequestSchema as ag, ListTeamsRequestSchema as ah, ListTeamsResponseSchema as ai, UpdateTeamRequestSchema as aj, DeleteTeamRequestSchema as ak, ListWorkstreamPostsRequestSchema as al, ListWorkstreamPostsResponseSchema as am, ListMailboxMessagesRequestSchema as an, ListMailboxMessagesResponseSchema as ao, ChangeMailboxGrantRequestSchema as ap, ChangeMailboxGrantResponseSchema as aq, ListMailboxGrantsRequestSchema as ar, ListMailboxGrantsResponseSchema as as, QueueInputRequestSchema as at, LiveInputSchema as au, GetInputRequestSchema as av, ResolveInputRequestSchema as aw, PutPermissionSetRequestSchema as ax, PermissionSetSchema as ay, GetPolicyResourceRequestSchema as az, WorkerHostStatusSchema as b, HarnessCompleteRequestSchema as b$, PutSurfaceLocationRequestSchema as b0, SurfaceLocationSchema as b1, GetSurfaceLocationRequestSchema as b2, ListSurfaceLocationsRequestSchema as b3, ListSurfaceLocationsResponseSchema as b4, DeleteSurfaceLocationRequestSchema as b5, PutGithubWorkspaceRequestSchema as b6, GithubWorkspaceSchema as b7, GetGithubWorkspaceRequestSchema as b8, ListGithubWorkspacesRequestSchema as b9, ArtifactVolumeCopySchema as bA, GetArtifactVolumeCopyRequestSchema as bB, ArtifactDownloadSchema as bC, ListArtifactVolumeCopiesRequestSchema as bD, ListArtifactVolumeCopiesResponseSchema as bE, type DownloadArtifactFileRequest as bF, type ArtifactDownload as bG, type GetWorkspaceArtifactRequest as bH, WorkspaceArtifactKind as bI, type WorkspaceDownload as bJ, type GetReviewArtifactRequest as bK, type InspectAttemptRequest as bL, TaskState as bM, HarnessKind as bN, ObjectiveStatus as bO, type Objective as bP, HarnessAttachRequestSchema as bQ, HarnessRunSchema as bR, AppliedExecutionLimitsSchema as bS, ConfirmExecutionLimitsResponseSchema as bT, HarnessTakeLiveInputRequestSchema as bU, TakeInputResponseSchema as bV, HarnessSettleLiveInputRequestSchema as bW, HarnessPublishRequestSchema as bX, TaskEventSchema as bY, HarnessUsageRequestSchema as bZ, ReportAttemptUsageResponseSchema as b_, ListGithubWorkspacesResponseSchema as ba, DeleteGithubWorkspaceRequestSchema as bb, DeleteGithubWorkspaceResponseSchema as bc, GetCapturedArtifactRequestSchema as bd, CapturedArtifactSchema as be, ListCapturedArtifactsRequestSchema as bf, ListCapturedArtifactsResponseSchema as bg, PublishArtifactRequestSchema as bh, ArtifactPublicationSchema as bi, ConsumeArtifactPublicationRequestSchema as bj, ArtifactConsumptionApprovalSchema as bk, WithdrawArtifactApprovalRequestSchema as bl, GetArtifactApprovalRequestSchema as bm, ListObjectiveArtifactApprovalsRequestSchema as bn, ListArtifactPublicationsResponseSchema as bo, ListArtifactConsumptionsResponseSchema as bp, ListArtifactApprovalAuditRequestSchema as bq, ListArtifactApprovalAuditResponseSchema as br, PutArtifactVolumeRequestSchema as bs, ArtifactVolumeSchema as bt, GetArtifactVolumeRequestSchema as bu, ListArtifactVolumesRequestSchema as bv, ListArtifactVolumesResponseSchema as bw, DeleteArtifactVolumeRequestSchema as bx, DeleteArtifactVolumeResponseSchema as by, CopyArtifactToVolumeRequestSchema as bz, ListTagsRequestSchema as c, HarnessCompleteResponseSchema as c0, HarnessAskQuestionRequestSchema as c1, HarnessReadWorkstreamRequestSchema as c2, ReadAttemptWorkstreamResponseSchema as c3, HarnessPostWorkstreamRequestSchema as c4, PostAttemptWorkstreamResponseSchema as c5, HarnessReadMailboxRequestSchema as c6, HarnessSendTagMessageRequestSchema as c7, SendTagMessageResponseSchema as c8, HarnessReadReviewPatchRequestSchema as c9, HarnessReviewPatchSchema as ca, HarnessStartWorkSessionRequestSchema as cb, HarnessContinueWorkSessionRequestSchema as cc, HarnessAskWorkSessionQuestionRequestSchema as cd, WorkSessionQuestionSchema as ce, HarnessWorkspaceRequestSchema as cf, HarnessWorkspaceResultSchema as cg, HarnessCaptureArtifactRequestSchema as ch, HarnessFindArtifactsRequestSchema as ci, HarnessReadArtifactRequestSchema as cj, HarnessArtifactPageSchema as ck, HarnessAttachArtifactRequestSchema as cl, HarnessAttachedArtifactSchema as cm, ListHarnessMcpToolsRequestSchema as cn, ListHarnessMcpToolsResponseSchema as co, CallHarnessMcpToolRequestSchema as cp, CallHarnessMcpToolResponseSchema as cq, ExecutionLimitEnforcement as cr, LiveInputReceipt as cs, ObjectiveSignal as ct, ListTagsResponseSchema as d, SubmitTaskRequestSchema as e, TaskSchema as f, GetTaskRequestSchema as g, GetSessionDeliveryRequestSchema as h, SessionDeliverySchema as i, ListNativeUsageRequestSchema as j, ListNativeUsageResponseSchema as k, ListEventsRequestSchema as l, ListEventsResponseSchema as m, CancelTaskRequestSchema as n, AttemptResolutionSchema as o, GetTagRequestSchema as p, RetireTagRequestSchema as q, RetireTagResponseSchema as r, GetReplyDeliveryRequestSchema as s, ReplyDeliverySchema as t, ListReplyDeliveriesRequestSchema as u, ListReplyDeliveriesResponseSchema as v, ResolveReplyRequestSchema as w, ListConversationsRequestSchema as x, ListConversationsResponseSchema as y, ListMessagesRequestSchema as z };
11032
+ export { ListObjectiveCommitReviewsRequestSchema as $, AuthKeySchema as A, ListConversationsRequestSchema as B, CreateAuthKeyRequestSchema as C, ListConversationsResponseSchema as D, ListMessagesRequestSchema as E, ListMessagesResponseSchema as F, GetHostRequestSchema as G, SendMessageRequestSchema as H, ConversationMessageSchema as I, GetMessageRequestSchema as J, ConversationSchema as K, ListHostsRequestSchema as L, MarkConversationReadRequestSchema as M, FollowConversationRequestSchema as N, FollowConversationResponseSchema as O, PrincipalRole as P, WatchRequestSchema as Q, ResolveAttemptRequestSchema as R, SetHostDrainingRequestSchema as S, TagSchema as T, WatchEventSchema as U, CreateObjectiveRequestSchema as V, type WorkspaceDeliveryReference as W, ObjectiveSchema as X, GetObjectiveRequestSchema as Y, ListObjectivesRequestSchema as Z, ListObjectivesResponseSchema as _, ListHostsResponseSchema as a, ReconcileApplySetResponseSchema as a$, ListObjectiveCommitReviewsResponseSchema as a0, SetObjectiveLimitsRequestSchema as a1, SetObjectiveRuntimeActionsRequestSchema as a2, ObjectiveActionRequestSchema as a3, ReviewObjectiveRequestSchema as a4, CompleteObjectiveRequestSchema as a5, ListInboxItemsRequestSchema as a6, ListInboxItemsResponseSchema as a7, GetQuestionRequestSchema as a8, ObjectiveQuestionSchema as a9, QueueInputRequestSchema as aA, LiveInputSchema as aB, GetInputRequestSchema as aC, ResolveInputRequestSchema as aD, PutPermissionSetRequestSchema as aE, PermissionSetSchema as aF, GetPolicyResourceRequestSchema as aG, ListPolicyResourcesRequestSchema as aH, ListPermissionSetsResponseSchema as aI, DeletePolicyResourceRequestSchema as aJ, DeletePolicyResourceResponseSchema as aK, PutContextSetRequestSchema as aL, ContextSetSchema as aM, ListContextSetsResponseSchema as aN, PutRoleRequestSchema as aO, RoleSchema as aP, ListRolesResponseSchema as aQ, AssignRoleRequestSchema as aR, RoleAssignmentSchema as aS, ListRoleAssignmentsRequestSchema as aT, ListRoleAssignmentsResponseSchema as aU, DeactivateRoleAssignmentRequestSchema as aV, ReconcileTagRelationshipsRequestSchema as aW, ReconcileTagRelationshipsResponseSchema as aX, ProvisionTagsRequestSchema as aY, ProvisionTagsResponseSchema as aZ, ReconcileApplySetRequestSchema as a_, AnswerQuestionRequestSchema as aa, GetApprovalRequestSchema as ab, ApprovalSchema as ac, ListApprovalsRequestSchema as ad, ListApprovalsResponseSchema as ae, DecideApprovalRequestSchema as af, GetWorkSessionRequestSchema as ag, WorkSessionSchema as ah, ListWorkSessionsRequestSchema as ai, ListWorkSessionsResponseSchema as aj, CloseWorkSessionRequestSchema as ak, CreateTeamRequestSchema as al, TeamSchema as am, GetTeamRequestSchema as an, ListTeamsRequestSchema as ao, ListTeamsResponseSchema as ap, UpdateTeamRequestSchema as aq, DeleteTeamRequestSchema as ar, ListWorkstreamPostsRequestSchema as as, ListWorkstreamPostsResponseSchema as at, ListMailboxMessagesRequestSchema as au, ListMailboxMessagesResponseSchema as av, ChangeMailboxGrantRequestSchema as aw, ChangeMailboxGrantResponseSchema as ax, ListMailboxGrantsRequestSchema as ay, ListMailboxGrantsResponseSchema as az, WorkerHostStatusSchema as b, CreateScheduleRequestSchema as b$, ReconcileManifestFieldsRequestSchema as b0, ReconcileManifestFieldsResponseSchema as b1, PutSurfaceAccountRequestSchema as b2, SurfaceAccountSchema as b3, GetSurfaceAccountRequestSchema as b4, ListSurfaceAccountsRequestSchema as b5, ListSurfaceAccountsResponseSchema as b6, PutSurfaceLocationRequestSchema as b7, SurfaceLocationSchema as b8, GetSurfaceLocationRequestSchema as b9, ArtifactConsumptionApprovalSchema as bA, WithdrawArtifactApprovalRequestSchema as bB, GetArtifactApprovalRequestSchema as bC, ListObjectiveArtifactApprovalsRequestSchema as bD, ListArtifactPublicationsResponseSchema as bE, ListArtifactConsumptionsResponseSchema as bF, ListArtifactApprovalAuditRequestSchema as bG, ListArtifactApprovalAuditResponseSchema as bH, PutArtifactVolumeRequestSchema as bI, ArtifactVolumeSchema as bJ, GetArtifactVolumeRequestSchema as bK, ListArtifactVolumesRequestSchema as bL, ListArtifactVolumesResponseSchema as bM, DeleteArtifactVolumeRequestSchema as bN, DeleteArtifactVolumeResponseSchema as bO, GetArtifactVolumeCopyRequestSchema as bP, ArtifactVolumeCopySchema as bQ, ListArtifactVolumeCopiesRequestSchema as bR, ListArtifactVolumeCopiesResponseSchema as bS, ListMemoriesRequestSchema as bT, ListMemoriesResponseSchema as bU, GetMemoryRequestSchema as bV, MemorySchema as bW, ResetNativeMemoryRequestSchema as bX, ResetNativeMemoryResponseSchema as bY, ListNetworkLogsRequestSchema as bZ, ListNetworkLogsResponseSchema as b_, ListSurfaceLocationsRequestSchema as ba, ListSurfaceLocationsResponseSchema as bb, DeleteSurfaceLocationRequestSchema as bc, PutWorkspaceRequestSchema as bd, WorkspaceSchema as be, GetWorkspaceRequestSchema as bf, ListWorkspacesRequestSchema as bg, ListWorkspacesResponseSchema as bh, DeleteWorkspaceRequestSchema as bi, DeleteWorkspaceResponseSchema as bj, CheckWorkspaceRequestSchema as bk, WorkspaceCheckSchema as bl, PutWorkspaceCredentialRequestSchema as bm, WorkspaceCredentialSchema as bn, GetWorkspaceCredentialRequestSchema as bo, ListWorkspaceCredentialsRequestSchema as bp, ListWorkspaceCredentialsResponseSchema as bq, DeleteWorkspaceCredentialRequestSchema as br, DeleteWorkspaceCredentialResponseSchema as bs, GetCapturedArtifactRequestSchema as bt, CapturedArtifactSchema as bu, ListCapturedArtifactsRequestSchema as bv, ListCapturedArtifactsResponseSchema as bw, PublishArtifactRequestSchema as bx, ArtifactPublicationSchema as by, ConsumeArtifactPublicationRequestSchema as bz, PutTagRequestSchema as c, LiveInputReceipt as c$, ScheduleSchema as c0, GetScheduleRequestSchema as c1, ListSchedulesRequestSchema as c2, ListSchedulesResponseSchema as c3, PutScheduleRequestSchema as c4, BackfillScheduleRequestSchema as c5, BackfillScheduleResponseSchema as c6, LocateTaskFilesRequestSchema as c7, TaskFileLocationsSchema as c8, TaskState as c9, SendTagMessageResponseSchema as cA, HarnessReadReviewPatchRequestSchema as cB, HarnessReviewPatchSchema as cC, HarnessStartWorkSessionRequestSchema as cD, HarnessContinueWorkSessionRequestSchema as cE, HarnessAskWorkSessionQuestionRequestSchema as cF, WorkSessionQuestionSchema as cG, HarnessCloseWorkSessionRequestSchema as cH, CreateAttemptScheduleRequestSchema as cI, AttemptScheduleResponseSchema as cJ, CancelAttemptScheduleRequestSchema as cK, AttemptRememberRequestSchema as cL, AttemptMemoryResponseSchema as cM, AttemptForgetRequestSchema as cN, HarnessWorkspaceRequestSchema as cO, HarnessWorkspaceResultSchema as cP, HarnessCaptureArtifactRequestSchema as cQ, HarnessFindArtifactsRequestSchema as cR, HarnessReadArtifactRequestSchema as cS, HarnessArtifactPageSchema as cT, HarnessAttachArtifactRequestSchema as cU, HarnessAttachedArtifactSchema as cV, ListHarnessMcpToolsRequestSchema as cW, ListHarnessMcpToolsResponseSchema as cX, CallHarnessMcpToolRequestSchema as cY, CallHarnessMcpToolResponseSchema as cZ, ExecutionLimitEnforcement as c_, HarnessKind as ca, type TaskEvent as cb, ObjectiveStatus as cc, type Objective as cd, HarnessAttachRequestSchema as ce, HarnessRunSchema as cf, AppliedExecutionLimitsSchema as cg, ConfirmExecutionLimitsResponseSchema as ch, HarnessTakeLiveInputRequestSchema as ci, TakeInputResponseSchema as cj, HarnessSettleLiveInputRequestSchema as ck, HarnessPublishRequestSchema as cl, TaskEventSchema as cm, HarnessPublishTextRequestSchema as cn, HarnessPublishTextResponseSchema as co, HarnessUsageRequestSchema as cp, ReportAttemptUsageResponseSchema as cq, HarnessCompleteRequestSchema as cr, HarnessCompleteResponseSchema as cs, HarnessAskQuestionRequestSchema as ct, HarnessReadWorkstreamRequestSchema as cu, ReadAttemptWorkstreamResponseSchema as cv, HarnessPostWorkstreamRequestSchema as cw, PostAttemptWorkstreamResponseSchema as cx, HarnessReadMailboxRequestSchema as cy, HarnessSendTagMessageRequestSchema as cz, ListTagsRequestSchema as d, ObjectiveSignal as d0, TaskEventKind as d1, ListTagsResponseSchema as e, SubmitTaskRequestSchema as f, TaskSchema as g, GetTaskRequestSchema as h, ListTasksRequestSchema as i, ListTasksResponseSchema as j, GetSessionDeliveryRequestSchema as k, SessionDeliverySchema as l, ListNativeUsageRequestSchema as m, ListNativeUsageResponseSchema as n, ListEventsRequestSchema as o, ListEventsResponseSchema as p, CancelTaskRequestSchema as q, AttemptResolutionSchema as r, GetTagRequestSchema as s, RetireTagRequestSchema as t, RetireTagResponseSchema as u, GetReplyDeliveryRequestSchema as v, ReplyDeliverySchema as w, ListReplyDeliveriesRequestSchema as x, ListReplyDeliveriesResponseSchema as y, ResolveReplyRequestSchema as z };