@inventarch/service-contracts 0.0.0-stage → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,312 @@
1
+ import { z } from './index.js';
2
+ export declare const packageId: z.ZodString;
3
+ export declare const dependency: z.ZodObject<{
4
+ id: z.ZodString;
5
+ range: z.ZodString;
6
+ }, z.core.$strict>;
7
+ export declare const releasePin: z.ZodObject<{
8
+ provider: z.ZodString;
9
+ packageId: z.ZodString;
10
+ version: z.ZodString;
11
+ archive: z.ZodString;
12
+ manifest: z.ZodString;
13
+ }, z.core.$strict>;
14
+ export declare const releaseTerms: z.ZodObject<{
15
+ license: z.ZodString;
16
+ revision: z.ZodString;
17
+ text: z.ZodString;
18
+ }, z.core.$strict>;
19
+ export declare const distributionLock: z.ZodObject<{
20
+ formatVersion: z.ZodLiteral<1>;
21
+ engine: z.ZodString;
22
+ requests: z.ZodArray<z.ZodObject<{
23
+ id: z.ZodString;
24
+ range: z.ZodString;
25
+ }, z.core.$strict>>;
26
+ packages: z.ZodArray<z.ZodObject<{
27
+ id: z.ZodString;
28
+ version: z.ZodString;
29
+ archive: z.ZodString;
30
+ manifest: z.ZodString;
31
+ location: z.ZodString;
32
+ dependencies: z.ZodArray<z.ZodString>;
33
+ }, z.core.$strict>>;
34
+ }, z.core.$strict>;
35
+ export declare const releaseDescriptor: z.ZodObject<{
36
+ formatVersion: z.ZodLiteral<1>;
37
+ id: z.ZodString;
38
+ version: z.ZodString;
39
+ distribution: z.ZodString;
40
+ engine: z.ZodString;
41
+ language: z.ZodTuple<[z.ZodLiteral<"1.0">], null>;
42
+ dependencies: z.ZodArray<z.ZodObject<{
43
+ id: z.ZodString;
44
+ range: z.ZodString;
45
+ systems: z.ZodArray<z.ZodString>;
46
+ }, z.core.$strict>>;
47
+ assets: z.ZodArray<z.ZodObject<{
48
+ path: z.ZodString;
49
+ role: z.ZodEnum<{
50
+ license: "license";
51
+ documentation: "documentation";
52
+ asset: "asset";
53
+ }>;
54
+ }, z.core.$strict>>;
55
+ source: z.ZodObject<{
56
+ repository: z.ZodString;
57
+ commit: z.ZodString;
58
+ recipe: z.ZodString;
59
+ epoch: z.ZodNumber;
60
+ }, z.core.$strict>;
61
+ license: z.ZodString;
62
+ description: z.ZodString;
63
+ }, z.core.$strict>;
64
+ export declare const releaseBuildRequest: z.ZodObject<{
65
+ commandId: z.ZodString;
66
+ source: z.ZodObject<{
67
+ workspaceId: z.ZodString;
68
+ revisionId: z.ZodString;
69
+ }, z.core.$strict>;
70
+ descriptor: z.ZodObject<{
71
+ formatVersion: z.ZodLiteral<1>;
72
+ id: z.ZodString;
73
+ version: z.ZodString;
74
+ distribution: z.ZodString;
75
+ engine: z.ZodString;
76
+ language: z.ZodTuple<[z.ZodLiteral<"1.0">], null>;
77
+ dependencies: z.ZodArray<z.ZodObject<{
78
+ id: z.ZodString;
79
+ range: z.ZodString;
80
+ systems: z.ZodArray<z.ZodString>;
81
+ }, z.core.$strict>>;
82
+ assets: z.ZodArray<z.ZodObject<{
83
+ path: z.ZodString;
84
+ role: z.ZodEnum<{
85
+ license: "license";
86
+ documentation: "documentation";
87
+ asset: "asset";
88
+ }>;
89
+ }, z.core.$strict>>;
90
+ source: z.ZodObject<{
91
+ repository: z.ZodString;
92
+ commit: z.ZodString;
93
+ recipe: z.ZodString;
94
+ epoch: z.ZodNumber;
95
+ }, z.core.$strict>;
96
+ license: z.ZodString;
97
+ description: z.ZodString;
98
+ }, z.core.$strict>;
99
+ }, z.core.$strict>;
100
+ export declare const buildReceipt: z.ZodObject<{
101
+ id: z.ZodString;
102
+ release: z.ZodObject<{
103
+ provider: z.ZodString;
104
+ packageId: z.ZodString;
105
+ version: z.ZodString;
106
+ archive: z.ZodString;
107
+ manifest: z.ZodString;
108
+ }, z.core.$strict>;
109
+ source: z.ZodNullable<z.ZodObject<{
110
+ workspaceId: z.ZodString;
111
+ revisionId: z.ZodString;
112
+ }, z.core.$strict>>;
113
+ createdAt: z.ZodString;
114
+ }, z.core.$strict>;
115
+ export declare const releasePublishRequest: z.ZodObject<{
116
+ commandId: z.ZodString;
117
+ stageId: z.ZodString;
118
+ }, z.core.$strict>;
119
+ export declare const releaseWithdrawRequest: z.ZodObject<{
120
+ commandId: z.ZodString;
121
+ release: z.ZodObject<{
122
+ provider: z.ZodString;
123
+ packageId: z.ZodString;
124
+ version: z.ZodString;
125
+ archive: z.ZodString;
126
+ manifest: z.ZodString;
127
+ }, z.core.$strict>;
128
+ }, z.core.$strict>;
129
+ export declare const publishedRelease: z.ZodObject<{
130
+ release: z.ZodObject<{
131
+ provider: z.ZodString;
132
+ packageId: z.ZodString;
133
+ version: z.ZodString;
134
+ archive: z.ZodString;
135
+ manifest: z.ZodString;
136
+ }, z.core.$strict>;
137
+ terms: z.ZodObject<{
138
+ license: z.ZodString;
139
+ revision: z.ZodString;
140
+ text: z.ZodString;
141
+ }, z.core.$strict>;
142
+ description: z.ZodString;
143
+ engine: z.ZodString;
144
+ dependencies: z.ZodArray<z.ZodObject<{
145
+ id: z.ZodString;
146
+ range: z.ZodString;
147
+ }, z.core.$strict>>;
148
+ publicationRevision: z.ZodString;
149
+ publishedAt: z.ZodString;
150
+ withdrawn: z.ZodBoolean;
151
+ }, z.core.$strict>;
152
+ export declare const catalogRequest: z.ZodObject<{
153
+ cursor: z.ZodOptional<z.ZodString>;
154
+ limit: z.ZodOptional<z.ZodNumber>;
155
+ }, z.core.$strict>;
156
+ export declare const catalogPage: z.ZodObject<{
157
+ items: z.ZodArray<z.ZodObject<{
158
+ release: z.ZodObject<{
159
+ provider: z.ZodString;
160
+ packageId: z.ZodString;
161
+ version: z.ZodString;
162
+ archive: z.ZodString;
163
+ manifest: z.ZodString;
164
+ }, z.core.$strict>;
165
+ terms: z.ZodObject<{
166
+ license: z.ZodString;
167
+ revision: z.ZodString;
168
+ text: z.ZodString;
169
+ }, z.core.$strict>;
170
+ description: z.ZodString;
171
+ engine: z.ZodString;
172
+ dependencies: z.ZodArray<z.ZodObject<{
173
+ id: z.ZodString;
174
+ range: z.ZodString;
175
+ }, z.core.$strict>>;
176
+ publicationRevision: z.ZodString;
177
+ publishedAt: z.ZodString;
178
+ withdrawn: z.ZodBoolean;
179
+ }, z.core.$strict>>;
180
+ next: z.ZodNullable<z.ZodString>;
181
+ }, z.core.$strict>;
182
+ export declare const acquisitionQuoteRequest: z.ZodObject<{
183
+ requests: z.ZodArray<z.ZodObject<{
184
+ id: z.ZodString;
185
+ range: z.ZodString;
186
+ }, z.core.$strict>>;
187
+ }, z.core.$strict>;
188
+ export declare const acquisitionQuote: z.ZodObject<{
189
+ provider: z.ZodString;
190
+ lock: z.ZodObject<{
191
+ formatVersion: z.ZodLiteral<1>;
192
+ engine: z.ZodString;
193
+ requests: z.ZodArray<z.ZodObject<{
194
+ id: z.ZodString;
195
+ range: z.ZodString;
196
+ }, z.core.$strict>>;
197
+ packages: z.ZodArray<z.ZodObject<{
198
+ id: z.ZodString;
199
+ version: z.ZodString;
200
+ archive: z.ZodString;
201
+ manifest: z.ZodString;
202
+ location: z.ZodString;
203
+ dependencies: z.ZodArray<z.ZodString>;
204
+ }, z.core.$strict>>;
205
+ }, z.core.$strict>;
206
+ terms: z.ZodArray<z.ZodObject<{
207
+ release: z.ZodObject<{
208
+ provider: z.ZodString;
209
+ packageId: z.ZodString;
210
+ version: z.ZodString;
211
+ archive: z.ZodString;
212
+ manifest: z.ZodString;
213
+ }, z.core.$strict>;
214
+ terms: z.ZodObject<{
215
+ license: z.ZodString;
216
+ revision: z.ZodString;
217
+ text: z.ZodString;
218
+ }, z.core.$strict>;
219
+ }, z.core.$strict>>;
220
+ expiresAt: z.ZodNumber;
221
+ decisionDigest: z.ZodString;
222
+ token: z.ZodString;
223
+ }, z.core.$strict>;
224
+ export declare const acquisitionRequest: z.ZodObject<{
225
+ commandId: z.ZodString;
226
+ quote: z.ZodObject<{
227
+ provider: z.ZodString;
228
+ lock: z.ZodObject<{
229
+ formatVersion: z.ZodLiteral<1>;
230
+ engine: z.ZodString;
231
+ requests: z.ZodArray<z.ZodObject<{
232
+ id: z.ZodString;
233
+ range: z.ZodString;
234
+ }, z.core.$strict>>;
235
+ packages: z.ZodArray<z.ZodObject<{
236
+ id: z.ZodString;
237
+ version: z.ZodString;
238
+ archive: z.ZodString;
239
+ manifest: z.ZodString;
240
+ location: z.ZodString;
241
+ dependencies: z.ZodArray<z.ZodString>;
242
+ }, z.core.$strict>>;
243
+ }, z.core.$strict>;
244
+ terms: z.ZodArray<z.ZodObject<{
245
+ release: z.ZodObject<{
246
+ provider: z.ZodString;
247
+ packageId: z.ZodString;
248
+ version: z.ZodString;
249
+ archive: z.ZodString;
250
+ manifest: z.ZodString;
251
+ }, z.core.$strict>;
252
+ terms: z.ZodObject<{
253
+ license: z.ZodString;
254
+ revision: z.ZodString;
255
+ text: z.ZodString;
256
+ }, z.core.$strict>;
257
+ }, z.core.$strict>>;
258
+ expiresAt: z.ZodNumber;
259
+ decisionDigest: z.ZodString;
260
+ token: z.ZodString;
261
+ }, z.core.$strict>;
262
+ }, z.core.$strict>;
263
+ export declare const acquisitionReceipt: z.ZodObject<{
264
+ id: z.ZodString;
265
+ commandId: z.ZodString;
266
+ lock: z.ZodObject<{
267
+ formatVersion: z.ZodLiteral<1>;
268
+ engine: z.ZodString;
269
+ requests: z.ZodArray<z.ZodObject<{
270
+ id: z.ZodString;
271
+ range: z.ZodString;
272
+ }, z.core.$strict>>;
273
+ packages: z.ZodArray<z.ZodObject<{
274
+ id: z.ZodString;
275
+ version: z.ZodString;
276
+ archive: z.ZodString;
277
+ manifest: z.ZodString;
278
+ location: z.ZodString;
279
+ dependencies: z.ZodArray<z.ZodString>;
280
+ }, z.core.$strict>>;
281
+ }, z.core.$strict>;
282
+ releases: z.ZodArray<z.ZodObject<{
283
+ provider: z.ZodString;
284
+ packageId: z.ZodString;
285
+ version: z.ZodString;
286
+ archive: z.ZodString;
287
+ manifest: z.ZodString;
288
+ }, z.core.$strict>>;
289
+ termsDigest: z.ZodString;
290
+ createdAt: z.ZodString;
291
+ }, z.core.$strict>;
292
+ export declare const artifactReadRequest: z.ZodObject<{
293
+ acquisitionId: z.ZodString;
294
+ archive: z.ZodString;
295
+ offset: z.ZodNumber;
296
+ length: z.ZodNumber;
297
+ }, z.core.$strict>;
298
+ export declare const artifactChunk: z.ZodObject<{
299
+ archive: z.ZodString;
300
+ bytes: z.ZodNumber;
301
+ offset: z.ZodNumber;
302
+ data: z.ZodString;
303
+ next: z.ZodNullable<z.ZodNumber>;
304
+ }, z.core.$strict>;
305
+ export type ReleasePin = z.infer<typeof releasePin>;
306
+ export type ReleaseTerms = z.infer<typeof releaseTerms>;
307
+ export type BuildReceipt = z.infer<typeof buildReceipt>;
308
+ export type PublishedRelease = z.infer<typeof publishedRelease>;
309
+ export type AcquisitionQuote = z.infer<typeof acquisitionQuote>;
310
+ export type AcquisitionReceipt = z.infer<typeof acquisitionReceipt>;
311
+ export type ArtifactChunk = z.infer<typeof artifactChunk>;
312
+ //# sourceMappingURL=marketplace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marketplace.d.ts","sourceRoot":"","sources":["../src/marketplace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,CAAC,EAAE,MAAM,YAAY,CAAC;AAK3C,eAAO,MAAM,SAAS,aAGX,CAAC;AACZ,eAAO,MAAM,UAAU;;;kBAAoD,CAAC;AAC5E,eAAO,MAAM,UAAU;;;;;;kBAA0F,CAAC;AAClH,eAAO,MAAM,YAAY;;;;kBAAwF,CAAC;AAClH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;kBAiB3B,CAAC;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAqB5B,CAAC;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAI9B,CAAC;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;kBAKvB,CAAC;AACH,eAAO,MAAM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+ import { sourceReference } from './sources.js';
3
+ const text = z.string().min(1).max(128), version = z.string().min(1).max(128);
4
+ export const packageId = z
5
+ .string()
6
+ .regex(/^[a-z0-9][a-z0-9._-]*\/[a-z0-9][a-z0-9._-]*$/)
7
+ .max(256);
8
+ export const dependency = z.strictObject({ id: packageId, range: version });
9
+ export const releasePin = z.strictObject({ provider: id, packageId, version, archive: digest, manifest: digest });
10
+ export const releaseTerms = z.strictObject({ license: text, revision: text, text: z.string().min(1).max(16384) });
11
+ export const distributionLock = z.strictObject({
12
+ formatVersion: z.literal(1),
13
+ engine: version,
14
+ requests: z.array(dependency).min(1).max(100),
15
+ packages: z
16
+ .array(z.strictObject({
17
+ id: packageId,
18
+ version,
19
+ archive: digest,
20
+ manifest: digest,
21
+ location: z.string().min(1).max(2048),
22
+ dependencies: z.array(packageId).max(100),
23
+ }))
24
+ .min(1)
25
+ .max(100),
26
+ });
27
+ export const releaseDescriptor = z.strictObject({
28
+ formatVersion: z.literal(1),
29
+ id: packageId,
30
+ version,
31
+ distribution: z.string().min(1).max(512),
32
+ engine: version,
33
+ language: z.tuple([z.literal('1.0')]),
34
+ dependencies: z
35
+ .array(z.strictObject({ id: packageId, range: version, systems: z.array(id).min(1).max(1000) }))
36
+ .max(100),
37
+ assets: z
38
+ .array(z.strictObject({ path: z.string().min(1).max(1024), role: z.enum(['documentation', 'asset', 'license']) }))
39
+ .max(1000),
40
+ source: z.strictObject({
41
+ repository: z.string().min(1).max(2048),
42
+ commit: z.string().regex(/^(?:[a-f0-9]{40}|[a-f0-9]{64})$/),
43
+ recipe: id,
44
+ epoch: z.number().int().min(0).max(8_589_934_591),
45
+ }),
46
+ license: text,
47
+ description: z.string().min(1).max(1024),
48
+ });
49
+ export const releaseBuildRequest = z.strictObject({
50
+ commandId: id,
51
+ source: sourceReference,
52
+ descriptor: releaseDescriptor,
53
+ });
54
+ export const buildReceipt = z.strictObject({
55
+ id: id,
56
+ release: releasePin,
57
+ source: sourceReference.nullable(),
58
+ createdAt: z.string().datetime(),
59
+ });
60
+ export const releasePublishRequest = z.strictObject({ commandId: id, stageId: id });
61
+ export const releaseWithdrawRequest = z.strictObject({ commandId: id, release: releasePin });
62
+ export const publishedRelease = z.strictObject({
63
+ release: releasePin,
64
+ terms: releaseTerms,
65
+ description: z.string().max(1024),
66
+ engine: version,
67
+ dependencies: z.array(dependency).max(100),
68
+ publicationRevision: text,
69
+ publishedAt: z.string().datetime(),
70
+ withdrawn: z.boolean(),
71
+ });
72
+ export const catalogRequest = z.strictObject({
73
+ cursor: z.string().min(1).max(4096).optional(),
74
+ limit: z.number().int().min(1).max(100).optional(),
75
+ });
76
+ export const catalogPage = z.strictObject({
77
+ items: z.array(publishedRelease).max(100),
78
+ next: z.string().max(4096).nullable(),
79
+ });
80
+ export const acquisitionQuoteRequest = z.strictObject({ requests: z.array(dependency).min(1).max(100) });
81
+ export const acquisitionQuote = z.strictObject({
82
+ provider: id,
83
+ lock: distributionLock,
84
+ terms: z
85
+ .array(z.strictObject({ release: releasePin, terms: releaseTerms }))
86
+ .min(1)
87
+ .max(100),
88
+ expiresAt: z.number().int().positive(),
89
+ decisionDigest: digest,
90
+ token: digest,
91
+ });
92
+ export const acquisitionRequest = z.strictObject({ commandId: id, quote: acquisitionQuote });
93
+ export const acquisitionReceipt = z.strictObject({
94
+ id,
95
+ commandId: id,
96
+ lock: distributionLock,
97
+ releases: z.array(releasePin).min(1).max(100),
98
+ termsDigest: digest,
99
+ createdAt: z.string().datetime(),
100
+ });
101
+ export const artifactReadRequest = z.strictObject({
102
+ acquisitionId: id,
103
+ archive: digest,
104
+ offset: z.number().int().nonnegative(),
105
+ length: z
106
+ .number()
107
+ .int()
108
+ .min(1)
109
+ .max(96 * 1024),
110
+ });
111
+ export const artifactChunk = z.strictObject({
112
+ archive: digest,
113
+ bytes: z.number().int().nonnegative(),
114
+ offset: z.number().int().nonnegative(),
115
+ data: z.string().max(128 * 1024),
116
+ next: z.number().int().nonnegative().nullable(),
117
+ });
118
+ //#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,EAAE,MAAM;IACf,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACtC,MAAM,EAAE,CAAC;SACN,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,EAAE,GAAG,IAAI,CAAC;CAClB,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,YAAY,CAAC;IAC1C,OAAO,EAAE,MAAM;IACf,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACrC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACtC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,GAAG,IAAI,CAAC;IAChC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAC"}
@@ -0,0 +1,126 @@
1
+ import { z } from 'zod';
2
+ export declare const sessionListRequest: z.ZodObject<{
3
+ workspaceId: z.ZodString;
4
+ cursor: z.ZodOptional<z.ZodString>;
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ }, z.core.$strict>;
7
+ export declare const publicSessionSummary: z.ZodObject<{
8
+ workspaceId: z.ZodString;
9
+ creator: z.ZodString;
10
+ createdAt: z.ZodString;
11
+ updatedAt: z.ZodString;
12
+ source: z.ZodNullable<z.ZodObject<{
13
+ workspaceId: z.ZodString;
14
+ revisionId: z.ZodString;
15
+ }, z.core.$strict>>;
16
+ session: z.ZodObject<{
17
+ version: z.ZodLiteral<1>;
18
+ id: z.ZodString;
19
+ sequence: z.ZodNumber;
20
+ state: z.ZodEnum<{
21
+ active: "active";
22
+ waiting: "waiting";
23
+ paused: "paused";
24
+ completed: "completed";
25
+ cancelled: "cancelled";
26
+ failed: "failed";
27
+ unavailable: "unavailable";
28
+ }>;
29
+ resumable: z.ZodBoolean;
30
+ evidence: z.ZodArray<z.ZodObject<{
31
+ id: z.ZodString;
32
+ digest: z.ZodString;
33
+ kind: z.ZodEnum<{
34
+ source: "source";
35
+ artifact: "artifact";
36
+ receipt: "receipt";
37
+ "public-contract": "public-contract";
38
+ }>;
39
+ }, z.core.$strict>>;
40
+ pendingQuestions: z.ZodNumber;
41
+ pendingProposals: z.ZodNumber;
42
+ }, z.core.$strict>;
43
+ }, z.core.$strict>;
44
+ export declare const sessionDirectory: z.ZodObject<{
45
+ items: z.ZodArray<z.ZodObject<{
46
+ workspaceId: z.ZodString;
47
+ creator: z.ZodString;
48
+ createdAt: z.ZodString;
49
+ updatedAt: z.ZodString;
50
+ source: z.ZodNullable<z.ZodObject<{
51
+ workspaceId: z.ZodString;
52
+ revisionId: z.ZodString;
53
+ }, z.core.$strict>>;
54
+ session: z.ZodObject<{
55
+ version: z.ZodLiteral<1>;
56
+ id: z.ZodString;
57
+ sequence: z.ZodNumber;
58
+ state: z.ZodEnum<{
59
+ active: "active";
60
+ waiting: "waiting";
61
+ paused: "paused";
62
+ completed: "completed";
63
+ cancelled: "cancelled";
64
+ failed: "failed";
65
+ unavailable: "unavailable";
66
+ }>;
67
+ resumable: z.ZodBoolean;
68
+ evidence: z.ZodArray<z.ZodObject<{
69
+ id: z.ZodString;
70
+ digest: z.ZodString;
71
+ kind: z.ZodEnum<{
72
+ source: "source";
73
+ artifact: "artifact";
74
+ receipt: "receipt";
75
+ "public-contract": "public-contract";
76
+ }>;
77
+ }, z.core.$strict>>;
78
+ pendingQuestions: z.ZodNumber;
79
+ pendingProposals: z.ZodNumber;
80
+ }, z.core.$strict>;
81
+ }, z.core.$strict>>;
82
+ next: z.ZodNullable<z.ZodString>;
83
+ }, z.core.$strict>;
84
+ export declare const sessionContinuation: z.ZodObject<{
85
+ sessionId: z.ZodString;
86
+ sequence: z.ZodNumber;
87
+ status: z.ZodEnum<{
88
+ "budget-exhausted": "budget-exhausted";
89
+ "authority-denied": "authority-denied";
90
+ executable: "executable";
91
+ "renewal-required": "renewal-required";
92
+ "runtime-incompatible": "runtime-incompatible";
93
+ "evidence-unavailable": "evidence-unavailable";
94
+ "unsupported-wait": "unsupported-wait";
95
+ terminal: "terminal";
96
+ }>;
97
+ renewal: z.ZodNullable<z.ZodObject<{
98
+ token: z.ZodString;
99
+ deadline: z.ZodNumber;
100
+ }, z.core.$strict>>;
101
+ }, z.core.$strict>;
102
+ export declare const sessionRenewRequest: z.ZodObject<{
103
+ sessionId: z.ZodString;
104
+ commandId: z.ZodString;
105
+ expectedSequence: z.ZodNumber;
106
+ token: z.ZodString;
107
+ }, z.core.$strict>;
108
+ export declare const sessionContinueRequest: z.ZodObject<{
109
+ sessionId: z.ZodString;
110
+ id: z.ZodString;
111
+ commandId: z.ZodString;
112
+ expectedSequence: z.ZodNumber;
113
+ task: z.ZodString;
114
+ entry: z.ZodOptional<z.ZodEnum<{
115
+ author: "author";
116
+ architect: "architect";
117
+ "system-architect": "system-architect";
118
+ }>>;
119
+ }, z.core.$strict>;
120
+ export type SessionListRequest = z.infer<typeof sessionListRequest>;
121
+ export type PublicSessionSummary = z.infer<typeof publicSessionSummary>;
122
+ export type SessionDirectoryView = z.infer<typeof sessionDirectory>;
123
+ export type SessionContinuation = z.infer<typeof sessionContinuation>;
124
+ export type SessionRenewRequest = z.infer<typeof sessionRenewRequest>;
125
+ export type SessionContinueRequest = z.infer<typeof sessionContinueRequest>;
126
+ //# sourceMappingURL=session-lifecycle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session-lifecycle.d.ts","sourceRoot":"","sources":["../src/session-lifecycle.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,kBAAkB;;;;kBAI7B,CAAC;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAO/B,CAAC;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAG3B,CAAC;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;kBAc9B,CAAC;AACH,eAAO,MAAM,mBAAmB;;;;;kBAAsF,CAAC;AACvH,eAAO,MAAM,sBAAsB;;;;;;;;;;;kBAS+D,CAAC;AACnG,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AACpE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACxE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACpE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -0,0 +1,51 @@
1
+ // Browser-safe session discovery and explicit human-wait continuity (WT-04/06/07).
2
+ import { z } from 'zod';
3
+ import { id, LIMITS, nativeStartRequest, publicSession } from './index.js';
4
+ import { sourceReference } from './sources.js';
5
+ const sequence = z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER);
6
+ const deadline = z.number().int().positive().max(Number.MAX_SAFE_INTEGER);
7
+ const token = z.string().min(1).max(2048);
8
+ export const sessionListRequest = z.strictObject({
9
+ workspaceId: id,
10
+ cursor: z.string().min(1).max(2048).optional(),
11
+ limit: z.number().int().positive().max(LIMITS.pageItems).optional(),
12
+ });
13
+ export const publicSessionSummary = z.strictObject({
14
+ workspaceId: id,
15
+ creator: z.string().min(1).max(512),
16
+ createdAt: z.string().datetime(),
17
+ updatedAt: z.string().datetime(),
18
+ source: sourceReference.nullable(),
19
+ session: publicSession,
20
+ });
21
+ export const sessionDirectory = z.strictObject({
22
+ items: z.array(publicSessionSummary).max(LIMITS.pageItems),
23
+ next: z.string().min(1).max(2048).nullable(),
24
+ });
25
+ export const sessionContinuation = z.strictObject({
26
+ sessionId: id,
27
+ sequence,
28
+ status: z.enum([
29
+ 'executable',
30
+ 'renewal-required',
31
+ 'runtime-incompatible',
32
+ 'authority-denied',
33
+ 'evidence-unavailable',
34
+ 'unsupported-wait',
35
+ 'budget-exhausted',
36
+ 'terminal',
37
+ ]),
38
+ renewal: z.strictObject({ token, deadline }).nullable(),
39
+ });
40
+ export const sessionRenewRequest = z.strictObject({ sessionId: id, commandId: id, expectedSequence: sequence, token });
41
+ export const sessionContinueRequest = z
42
+ .strictObject({
43
+ sessionId: id,
44
+ id,
45
+ commandId: id,
46
+ expectedSequence: sequence,
47
+ task: nativeStartRequest.shape.task,
48
+ entry: nativeStartRequest.shape.entry,
49
+ })
50
+ .refine((value) => value.sessionId !== value.id, 'Continuation requires a new session identity');
51
+ //# sourceMappingURL=session-lifecycle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session-lifecycle.js","sourceRoot":"","sources":["../src/session-lifecycle.ts"],"names":[],"mappings":"AAAA,mFAAmF;AACnF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAC7E,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ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