@native-marketing/sdk 0.3.7 → 0.3.8

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,566 @@
1
+ import type { HumanPresentationContractInput as Input } from '../contracts/index.js';
2
+ import type { Client } from '@modelcontextprotocol/client';
3
+ import { humanPresentationInputSchema, issueHumanReadLinkInputSchema, humanReadLinkLookupSchema, humanReadLinkReceiptQuerySchema, revokeHumanReadLinkInputSchema, cleanupHumanReadLinksInputSchema } from '../contracts/index.js';
4
+ export declare const humanCommands: {
5
+ readonly 'human show': {
6
+ readonly name: 'cf_get_human_presentation';
7
+ readonly input: import("zod").ZodObject<{
8
+ packageCode: import("zod").ZodString;
9
+ }, import("zod/v4/core").$strict>;
10
+ readonly output: import("zod").ZodObject<{
11
+ human: import("zod").ZodObject<{
12
+ schemaVersion: import("zod").ZodLiteral<1>;
13
+ interactions: import("zod").ZodArray<import("zod").ZodObject<{
14
+ interactionRef: import("zod").ZodString;
15
+ kind: import("zod").ZodLiteral<"CONTENT_PACKAGE_REVIEW">;
16
+ subjectRef: import("zod").ZodString;
17
+ title: import("zod").ZodString;
18
+ summary: import("zod").ZodString;
19
+ state: import("zod").ZodEnum<{
20
+ APPROVED: "APPROVED";
21
+ PENDING: "PENDING";
22
+ REJECTED: "REJECTED";
23
+ RESOLVED: "RESOLVED";
24
+ }>;
25
+ sourceState: import("zod").ZodString;
26
+ actionDigest: import("zod").ZodString;
27
+ expiresAt: import("zod").ZodNull;
28
+ reviewUrl: import("zod").ZodString;
29
+ canReview: import("zod").ZodBoolean;
30
+ }, import("zod/v4/core").$strict>>;
31
+ links: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
32
+ linkRef: import("zod").ZodString;
33
+ kind: import("zod").ZodLiteral<"READABLE_CONTENT">;
34
+ title: import("zod").ZodString;
35
+ subjectRef: import("zod").ZodString;
36
+ url: import("zod").ZodString;
37
+ access: import("zod").ZodLiteral<"AUTHENTICATED">;
38
+ representation: import("zod").ZodLiteral<"CURRENT_VIEW">;
39
+ expiresAt: import("zod").ZodNull;
40
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
41
+ linkRef: import("zod").ZodString;
42
+ kind: import("zod").ZodLiteral<"READABLE_CONTENT">;
43
+ title: import("zod").ZodString;
44
+ subjectRef: import("zod").ZodString;
45
+ url: import("zod").ZodString;
46
+ access: import("zod").ZodLiteral<"TEMPORARY_PUBLIC_READ">;
47
+ representation: import("zod").ZodLiteral<"SNAPSHOT">;
48
+ snapshotRef: import("zod").ZodString;
49
+ contentSha256: import("zod").ZodString;
50
+ createdAt: import("zod").ZodString;
51
+ expiresAt: import("zod").ZodString;
52
+ }, import("zod/v4/core").$strict>], "access">>;
53
+ }, import("zod/v4/core").$strict>;
54
+ }, import("zod/v4/core").$strict>;
55
+ readonly readOnly: true;
56
+ };
57
+ readonly 'human issue-link': {
58
+ readonly name: 'cf_issue_human_read_link';
59
+ readonly input: import("zod").ZodObject<{
60
+ requestId: import("zod").ZodString;
61
+ packageCode: import("zod").ZodString;
62
+ expectedManifestHash: import("zod").ZodString;
63
+ access: import("zod").ZodLiteral<"TEMPORARY_PUBLIC_READ">;
64
+ targetKeys: import("zod").ZodArray<import("zod").ZodString>;
65
+ ttlSeconds: import("zod").ZodDefault<import("zod").ZodNumber>;
66
+ }, import("zod/v4/core").$strict>;
67
+ readonly output: import("zod").ZodObject<{
68
+ linkRef: import("zod").ZodString;
69
+ issuanceRequestId: import("zod").ZodString;
70
+ state: import("zod").ZodEnum<{
71
+ ACTIVE: "ACTIVE";
72
+ EXPIRED: "EXPIRED";
73
+ REVOKED: "REVOKED";
74
+ UNAVAILABLE: "UNAVAILABLE";
75
+ }>;
76
+ packageCode: import("zod").ZodString;
77
+ manifestHash: import("zod").ZodString;
78
+ expiresAt: import("zod").ZodString;
79
+ human: import("zod").ZodObject<{
80
+ schemaVersion: import("zod").ZodLiteral<1>;
81
+ interactions: import("zod").ZodArray<import("zod").ZodObject<{
82
+ interactionRef: import("zod").ZodString;
83
+ kind: import("zod").ZodLiteral<"CONTENT_PACKAGE_REVIEW">;
84
+ subjectRef: import("zod").ZodString;
85
+ title: import("zod").ZodString;
86
+ summary: import("zod").ZodString;
87
+ state: import("zod").ZodEnum<{
88
+ APPROVED: "APPROVED";
89
+ PENDING: "PENDING";
90
+ REJECTED: "REJECTED";
91
+ RESOLVED: "RESOLVED";
92
+ }>;
93
+ sourceState: import("zod").ZodString;
94
+ actionDigest: import("zod").ZodString;
95
+ expiresAt: import("zod").ZodNull;
96
+ reviewUrl: import("zod").ZodString;
97
+ canReview: import("zod").ZodBoolean;
98
+ }, import("zod/v4/core").$strict>>;
99
+ links: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
100
+ linkRef: import("zod").ZodString;
101
+ kind: import("zod").ZodLiteral<"READABLE_CONTENT">;
102
+ title: import("zod").ZodString;
103
+ subjectRef: import("zod").ZodString;
104
+ url: import("zod").ZodString;
105
+ access: import("zod").ZodLiteral<"AUTHENTICATED">;
106
+ representation: import("zod").ZodLiteral<"CURRENT_VIEW">;
107
+ expiresAt: import("zod").ZodNull;
108
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
109
+ linkRef: import("zod").ZodString;
110
+ kind: import("zod").ZodLiteral<"READABLE_CONTENT">;
111
+ title: import("zod").ZodString;
112
+ subjectRef: import("zod").ZodString;
113
+ url: import("zod").ZodString;
114
+ access: import("zod").ZodLiteral<"TEMPORARY_PUBLIC_READ">;
115
+ representation: import("zod").ZodLiteral<"SNAPSHOT">;
116
+ snapshotRef: import("zod").ZodString;
117
+ contentSha256: import("zod").ZodString;
118
+ createdAt: import("zod").ZodString;
119
+ expiresAt: import("zod").ZodString;
120
+ }, import("zod/v4/core").$strict>], "access">>;
121
+ }, import("zod/v4/core").$strict>;
122
+ }, import("zod/v4/core").$strict>;
123
+ readonly readOnly: false;
124
+ };
125
+ readonly 'human link': {
126
+ readonly name: 'cf_get_human_read_link';
127
+ readonly input: import("zod").ZodObject<{
128
+ linkRef: import("zod").ZodString;
129
+ }, import("zod/v4/core").$strict>;
130
+ readonly output: import("zod").ZodObject<{
131
+ linkRef: import("zod").ZodString;
132
+ issuanceRequestId: import("zod").ZodString;
133
+ state: import("zod").ZodEnum<{
134
+ ACTIVE: "ACTIVE";
135
+ EXPIRED: "EXPIRED";
136
+ REVOKED: "REVOKED";
137
+ UNAVAILABLE: "UNAVAILABLE";
138
+ }>;
139
+ packageCode: import("zod").ZodString;
140
+ manifestHash: import("zod").ZodString;
141
+ expiresAt: import("zod").ZodString;
142
+ human: import("zod").ZodObject<{
143
+ schemaVersion: import("zod").ZodLiteral<1>;
144
+ interactions: import("zod").ZodArray<import("zod").ZodObject<{
145
+ interactionRef: import("zod").ZodString;
146
+ kind: import("zod").ZodLiteral<"CONTENT_PACKAGE_REVIEW">;
147
+ subjectRef: import("zod").ZodString;
148
+ title: import("zod").ZodString;
149
+ summary: import("zod").ZodString;
150
+ state: import("zod").ZodEnum<{
151
+ APPROVED: "APPROVED";
152
+ PENDING: "PENDING";
153
+ REJECTED: "REJECTED";
154
+ RESOLVED: "RESOLVED";
155
+ }>;
156
+ sourceState: import("zod").ZodString;
157
+ actionDigest: import("zod").ZodString;
158
+ expiresAt: import("zod").ZodNull;
159
+ reviewUrl: import("zod").ZodString;
160
+ canReview: import("zod").ZodBoolean;
161
+ }, import("zod/v4/core").$strict>>;
162
+ links: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
163
+ linkRef: import("zod").ZodString;
164
+ kind: import("zod").ZodLiteral<"READABLE_CONTENT">;
165
+ title: import("zod").ZodString;
166
+ subjectRef: import("zod").ZodString;
167
+ url: import("zod").ZodString;
168
+ access: import("zod").ZodLiteral<"AUTHENTICATED">;
169
+ representation: import("zod").ZodLiteral<"CURRENT_VIEW">;
170
+ expiresAt: import("zod").ZodNull;
171
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
172
+ linkRef: import("zod").ZodString;
173
+ kind: import("zod").ZodLiteral<"READABLE_CONTENT">;
174
+ title: import("zod").ZodString;
175
+ subjectRef: import("zod").ZodString;
176
+ url: import("zod").ZodString;
177
+ access: import("zod").ZodLiteral<"TEMPORARY_PUBLIC_READ">;
178
+ representation: import("zod").ZodLiteral<"SNAPSHOT">;
179
+ snapshotRef: import("zod").ZodString;
180
+ contentSha256: import("zod").ZodString;
181
+ createdAt: import("zod").ZodString;
182
+ expiresAt: import("zod").ZodString;
183
+ }, import("zod/v4/core").$strict>], "access">>;
184
+ }, import("zod/v4/core").$strict>;
185
+ }, import("zod/v4/core").$strict>;
186
+ readonly readOnly: true;
187
+ };
188
+ readonly 'human receipt': {
189
+ readonly name: 'cf_get_human_read_link_receipt';
190
+ readonly input: import("zod").ZodObject<{
191
+ requestId: import("zod").ZodString;
192
+ }, import("zod/v4/core").$strict>;
193
+ readonly output: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
194
+ status: import("zod").ZodLiteral<"FOUND">;
195
+ receipt: import("zod").ZodObject<{
196
+ linkRef: import("zod").ZodString;
197
+ issuanceRequestId: import("zod").ZodString;
198
+ state: import("zod").ZodEnum<{
199
+ ACTIVE: "ACTIVE";
200
+ EXPIRED: "EXPIRED";
201
+ REVOKED: "REVOKED";
202
+ UNAVAILABLE: "UNAVAILABLE";
203
+ }>;
204
+ packageCode: import("zod").ZodString;
205
+ manifestHash: import("zod").ZodString;
206
+ expiresAt: import("zod").ZodString;
207
+ human: import("zod").ZodObject<{
208
+ schemaVersion: import("zod").ZodLiteral<1>;
209
+ interactions: import("zod").ZodArray<import("zod").ZodObject<{
210
+ interactionRef: import("zod").ZodString;
211
+ kind: import("zod").ZodLiteral<"CONTENT_PACKAGE_REVIEW">;
212
+ subjectRef: import("zod").ZodString;
213
+ title: import("zod").ZodString;
214
+ summary: import("zod").ZodString;
215
+ state: import("zod").ZodEnum<{
216
+ APPROVED: "APPROVED";
217
+ PENDING: "PENDING";
218
+ REJECTED: "REJECTED";
219
+ RESOLVED: "RESOLVED";
220
+ }>;
221
+ sourceState: import("zod").ZodString;
222
+ actionDigest: import("zod").ZodString;
223
+ expiresAt: import("zod").ZodNull;
224
+ reviewUrl: import("zod").ZodString;
225
+ canReview: import("zod").ZodBoolean;
226
+ }, import("zod/v4/core").$strict>>;
227
+ links: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
228
+ linkRef: import("zod").ZodString;
229
+ kind: import("zod").ZodLiteral<"READABLE_CONTENT">;
230
+ title: import("zod").ZodString;
231
+ subjectRef: import("zod").ZodString;
232
+ url: import("zod").ZodString;
233
+ access: import("zod").ZodLiteral<"AUTHENTICATED">;
234
+ representation: import("zod").ZodLiteral<"CURRENT_VIEW">;
235
+ expiresAt: import("zod").ZodNull;
236
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
237
+ linkRef: import("zod").ZodString;
238
+ kind: import("zod").ZodLiteral<"READABLE_CONTENT">;
239
+ title: import("zod").ZodString;
240
+ subjectRef: import("zod").ZodString;
241
+ url: import("zod").ZodString;
242
+ access: import("zod").ZodLiteral<"TEMPORARY_PUBLIC_READ">;
243
+ representation: import("zod").ZodLiteral<"SNAPSHOT">;
244
+ snapshotRef: import("zod").ZodString;
245
+ contentSha256: import("zod").ZodString;
246
+ createdAt: import("zod").ZodString;
247
+ expiresAt: import("zod").ZodString;
248
+ }, import("zod/v4/core").$strict>], "access">>;
249
+ }, import("zod/v4/core").$strict>;
250
+ }, import("zod/v4/core").$strict>;
251
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
252
+ status: import("zod").ZodLiteral<"NOT_FOUND">;
253
+ }, import("zod/v4/core").$strict>], "status">;
254
+ readonly readOnly: true;
255
+ };
256
+ readonly 'human revoke-link': {
257
+ readonly name: 'cf_revoke_human_read_link';
258
+ readonly input: import("zod").ZodObject<{
259
+ linkRef: import("zod").ZodString;
260
+ requestId: import("zod").ZodString;
261
+ }, import("zod/v4/core").$strict>;
262
+ readonly output: import("zod").ZodObject<{
263
+ linkRef: import("zod").ZodString;
264
+ issuanceRequestId: import("zod").ZodString;
265
+ state: import("zod").ZodEnum<{
266
+ ACTIVE: "ACTIVE";
267
+ EXPIRED: "EXPIRED";
268
+ REVOKED: "REVOKED";
269
+ UNAVAILABLE: "UNAVAILABLE";
270
+ }>;
271
+ packageCode: import("zod").ZodString;
272
+ manifestHash: import("zod").ZodString;
273
+ expiresAt: import("zod").ZodString;
274
+ human: import("zod").ZodObject<{
275
+ schemaVersion: import("zod").ZodLiteral<1>;
276
+ interactions: import("zod").ZodArray<import("zod").ZodObject<{
277
+ interactionRef: import("zod").ZodString;
278
+ kind: import("zod").ZodLiteral<"CONTENT_PACKAGE_REVIEW">;
279
+ subjectRef: import("zod").ZodString;
280
+ title: import("zod").ZodString;
281
+ summary: import("zod").ZodString;
282
+ state: import("zod").ZodEnum<{
283
+ APPROVED: "APPROVED";
284
+ PENDING: "PENDING";
285
+ REJECTED: "REJECTED";
286
+ RESOLVED: "RESOLVED";
287
+ }>;
288
+ sourceState: import("zod").ZodString;
289
+ actionDigest: import("zod").ZodString;
290
+ expiresAt: import("zod").ZodNull;
291
+ reviewUrl: import("zod").ZodString;
292
+ canReview: import("zod").ZodBoolean;
293
+ }, import("zod/v4/core").$strict>>;
294
+ links: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
295
+ linkRef: import("zod").ZodString;
296
+ kind: import("zod").ZodLiteral<"READABLE_CONTENT">;
297
+ title: import("zod").ZodString;
298
+ subjectRef: import("zod").ZodString;
299
+ url: import("zod").ZodString;
300
+ access: import("zod").ZodLiteral<"AUTHENTICATED">;
301
+ representation: import("zod").ZodLiteral<"CURRENT_VIEW">;
302
+ expiresAt: import("zod").ZodNull;
303
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
304
+ linkRef: import("zod").ZodString;
305
+ kind: import("zod").ZodLiteral<"READABLE_CONTENT">;
306
+ title: import("zod").ZodString;
307
+ subjectRef: import("zod").ZodString;
308
+ url: import("zod").ZodString;
309
+ access: import("zod").ZodLiteral<"TEMPORARY_PUBLIC_READ">;
310
+ representation: import("zod").ZodLiteral<"SNAPSHOT">;
311
+ snapshotRef: import("zod").ZodString;
312
+ contentSha256: import("zod").ZodString;
313
+ createdAt: import("zod").ZodString;
314
+ expiresAt: import("zod").ZodString;
315
+ }, import("zod/v4/core").$strict>], "access">>;
316
+ }, import("zod/v4/core").$strict>;
317
+ }, import("zod/v4/core").$strict>;
318
+ readonly readOnly: false;
319
+ };
320
+ readonly 'human cleanup-links': {
321
+ readonly name: 'cf_cleanup_human_read_links';
322
+ readonly input: import("zod").ZodObject<{
323
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
324
+ }, import("zod/v4/core").$strict>;
325
+ readonly output: import("zod").ZodObject<{
326
+ reclaimed: import("zod").ZodNumber;
327
+ limit: import("zod").ZodNumber;
328
+ }, import("zod/v4/core").$strict>;
329
+ readonly readOnly: false;
330
+ };
331
+ };
332
+ export type HumanCommand = keyof typeof humanCommands;
333
+ export declare function getNativeHumanPresentation(client: Client, resource: string, input: Input<typeof humanPresentationInputSchema>, timeout?: number): Promise<{
334
+ human: {
335
+ schemaVersion: 1;
336
+ interactions: {
337
+ interactionRef: string;
338
+ kind: "CONTENT_PACKAGE_REVIEW";
339
+ subjectRef: string;
340
+ title: string;
341
+ summary: string;
342
+ state: "APPROVED" | "PENDING" | "REJECTED" | "RESOLVED";
343
+ sourceState: string;
344
+ actionDigest: string;
345
+ expiresAt: null;
346
+ reviewUrl: string;
347
+ canReview: boolean;
348
+ }[];
349
+ links: ({
350
+ linkRef: string;
351
+ kind: "READABLE_CONTENT";
352
+ title: string;
353
+ subjectRef: string;
354
+ url: string;
355
+ access: "AUTHENTICATED";
356
+ representation: "CURRENT_VIEW";
357
+ expiresAt: null;
358
+ } | {
359
+ linkRef: string;
360
+ kind: "READABLE_CONTENT";
361
+ title: string;
362
+ subjectRef: string;
363
+ url: string;
364
+ access: "TEMPORARY_PUBLIC_READ";
365
+ representation: "SNAPSHOT";
366
+ snapshotRef: string;
367
+ contentSha256: string;
368
+ createdAt: string;
369
+ expiresAt: string;
370
+ })[];
371
+ };
372
+ }>;
373
+ export declare function issueNativeHumanReadLink(client: Client, resource: string, input: Input<typeof issueHumanReadLinkInputSchema>, timeout?: number): Promise<{
374
+ linkRef: string;
375
+ issuanceRequestId: string;
376
+ state: "ACTIVE" | "EXPIRED" | "REVOKED" | "UNAVAILABLE";
377
+ packageCode: string;
378
+ manifestHash: string;
379
+ expiresAt: string;
380
+ human: {
381
+ schemaVersion: 1;
382
+ interactions: {
383
+ interactionRef: string;
384
+ kind: "CONTENT_PACKAGE_REVIEW";
385
+ subjectRef: string;
386
+ title: string;
387
+ summary: string;
388
+ state: "APPROVED" | "PENDING" | "REJECTED" | "RESOLVED";
389
+ sourceState: string;
390
+ actionDigest: string;
391
+ expiresAt: null;
392
+ reviewUrl: string;
393
+ canReview: boolean;
394
+ }[];
395
+ links: ({
396
+ linkRef: string;
397
+ kind: "READABLE_CONTENT";
398
+ title: string;
399
+ subjectRef: string;
400
+ url: string;
401
+ access: "AUTHENTICATED";
402
+ representation: "CURRENT_VIEW";
403
+ expiresAt: null;
404
+ } | {
405
+ linkRef: string;
406
+ kind: "READABLE_CONTENT";
407
+ title: string;
408
+ subjectRef: string;
409
+ url: string;
410
+ access: "TEMPORARY_PUBLIC_READ";
411
+ representation: "SNAPSHOT";
412
+ snapshotRef: string;
413
+ contentSha256: string;
414
+ createdAt: string;
415
+ expiresAt: string;
416
+ })[];
417
+ };
418
+ }>;
419
+ export declare function getNativeHumanReadLink(client: Client, resource: string, input: Input<typeof humanReadLinkLookupSchema>, timeout?: number): Promise<{
420
+ linkRef: string;
421
+ issuanceRequestId: string;
422
+ state: "ACTIVE" | "EXPIRED" | "REVOKED" | "UNAVAILABLE";
423
+ packageCode: string;
424
+ manifestHash: string;
425
+ expiresAt: string;
426
+ human: {
427
+ schemaVersion: 1;
428
+ interactions: {
429
+ interactionRef: string;
430
+ kind: "CONTENT_PACKAGE_REVIEW";
431
+ subjectRef: string;
432
+ title: string;
433
+ summary: string;
434
+ state: "APPROVED" | "PENDING" | "REJECTED" | "RESOLVED";
435
+ sourceState: string;
436
+ actionDigest: string;
437
+ expiresAt: null;
438
+ reviewUrl: string;
439
+ canReview: boolean;
440
+ }[];
441
+ links: ({
442
+ linkRef: string;
443
+ kind: "READABLE_CONTENT";
444
+ title: string;
445
+ subjectRef: string;
446
+ url: string;
447
+ access: "AUTHENTICATED";
448
+ representation: "CURRENT_VIEW";
449
+ expiresAt: null;
450
+ } | {
451
+ linkRef: string;
452
+ kind: "READABLE_CONTENT";
453
+ title: string;
454
+ subjectRef: string;
455
+ url: string;
456
+ access: "TEMPORARY_PUBLIC_READ";
457
+ representation: "SNAPSHOT";
458
+ snapshotRef: string;
459
+ contentSha256: string;
460
+ createdAt: string;
461
+ expiresAt: string;
462
+ })[];
463
+ };
464
+ }>;
465
+ export declare function getNativeHumanReadLinkReceipt(client: Client, resource: string, input: Input<typeof humanReadLinkReceiptQuerySchema>, timeout?: number): Promise<{
466
+ status: "FOUND";
467
+ receipt: {
468
+ linkRef: string;
469
+ issuanceRequestId: string;
470
+ state: "ACTIVE" | "EXPIRED" | "REVOKED" | "UNAVAILABLE";
471
+ packageCode: string;
472
+ manifestHash: string;
473
+ expiresAt: string;
474
+ human: {
475
+ schemaVersion: 1;
476
+ interactions: {
477
+ interactionRef: string;
478
+ kind: "CONTENT_PACKAGE_REVIEW";
479
+ subjectRef: string;
480
+ title: string;
481
+ summary: string;
482
+ state: "APPROVED" | "PENDING" | "REJECTED" | "RESOLVED";
483
+ sourceState: string;
484
+ actionDigest: string;
485
+ expiresAt: null;
486
+ reviewUrl: string;
487
+ canReview: boolean;
488
+ }[];
489
+ links: ({
490
+ linkRef: string;
491
+ kind: "READABLE_CONTENT";
492
+ title: string;
493
+ subjectRef: string;
494
+ url: string;
495
+ access: "AUTHENTICATED";
496
+ representation: "CURRENT_VIEW";
497
+ expiresAt: null;
498
+ } | {
499
+ linkRef: string;
500
+ kind: "READABLE_CONTENT";
501
+ title: string;
502
+ subjectRef: string;
503
+ url: string;
504
+ access: "TEMPORARY_PUBLIC_READ";
505
+ representation: "SNAPSHOT";
506
+ snapshotRef: string;
507
+ contentSha256: string;
508
+ createdAt: string;
509
+ expiresAt: string;
510
+ })[];
511
+ };
512
+ };
513
+ } | {
514
+ status: "NOT_FOUND";
515
+ }>;
516
+ export declare function revokeNativeHumanReadLink(client: Client, resource: string, input: Input<typeof revokeHumanReadLinkInputSchema>, timeout?: number): Promise<{
517
+ linkRef: string;
518
+ issuanceRequestId: string;
519
+ state: "ACTIVE" | "EXPIRED" | "REVOKED" | "UNAVAILABLE";
520
+ packageCode: string;
521
+ manifestHash: string;
522
+ expiresAt: string;
523
+ human: {
524
+ schemaVersion: 1;
525
+ interactions: {
526
+ interactionRef: string;
527
+ kind: "CONTENT_PACKAGE_REVIEW";
528
+ subjectRef: string;
529
+ title: string;
530
+ summary: string;
531
+ state: "APPROVED" | "PENDING" | "REJECTED" | "RESOLVED";
532
+ sourceState: string;
533
+ actionDigest: string;
534
+ expiresAt: null;
535
+ reviewUrl: string;
536
+ canReview: boolean;
537
+ }[];
538
+ links: ({
539
+ linkRef: string;
540
+ kind: "READABLE_CONTENT";
541
+ title: string;
542
+ subjectRef: string;
543
+ url: string;
544
+ access: "AUTHENTICATED";
545
+ representation: "CURRENT_VIEW";
546
+ expiresAt: null;
547
+ } | {
548
+ linkRef: string;
549
+ kind: "READABLE_CONTENT";
550
+ title: string;
551
+ subjectRef: string;
552
+ url: string;
553
+ access: "TEMPORARY_PUBLIC_READ";
554
+ representation: "SNAPSHOT";
555
+ snapshotRef: string;
556
+ contentSha256: string;
557
+ createdAt: string;
558
+ expiresAt: string;
559
+ })[];
560
+ };
561
+ }>;
562
+ export declare function cleanupNativeHumanReadLinks(client: Client, resource: string, input?: Input<typeof cleanupHumanReadLinksInputSchema>, timeout?: number): Promise<{
563
+ reclaimed: number;
564
+ limit: number;
565
+ }>;
566
+ export declare function runHumanCommand(client: Client, resource: string, name: HumanCommand, input: Record<string, unknown>, timeout: number): Promise<unknown>;
@@ -1,5 +1,6 @@
1
1
  export { withNativeAgentClient, type NativeAgentClient } from './client.js';
2
2
  export { runNetworkCli } from './cli/run.js';
3
+ export { formatNetworkCliResult } from './cli/output.js';
3
4
  export { findAgentCapabilities } from './agent-capabilities.js';
4
5
  export { findNativeCapabilities, describeNativeCapability } from './capabilities.js';
5
6
  export type { CapabilityPage, AgentCapabilityPage, CapabilityDefinition, CapabilityQuery, } from '../contracts/index.js';
@@ -17,6 +18,8 @@ export type { CapabilitySchemaRead, CapabilitySchemaPage } from '../contracts/in
17
18
  export { uploadNativeProjectMedia, uploadNativeMaterial, type NativeMaterialUpload, } from './material-upload.js';
18
19
  export { readNativeProjectMediaFile, projectMediaFileQuerySchema } from './project-media.js';
19
20
  export { readNativePackageFile } from './package-files.js';
21
+ export { getNativeHumanPresentation, issueNativeHumanReadLink, getNativeHumanReadLink, getNativeHumanReadLinkReceipt, revokeNativeHumanReadLink, cleanupNativeHumanReadLinks, } from './human-presentation.js';
22
+ export type { HumanPresentation, HumanInteraction, HumanReadLink, HumanReadableDocument, HumanReadLinkResult, IssueHumanReadLinkInput, } from '../contracts/index.js';
20
23
  export { getNativeClientVersion } from './updates/version.js';
21
24
  export { checkNativeUpdates } from './updates/registry.js';
22
25
  export { assessNativeCompatibility, planNativeUpdate, defaultUpdatePolicy, type NativeClientRelease, type NativeClientIdentity, type NativeRegistryRelease, type NativeCompatibility, type NativeUpdatePolicy, type NativeUpdatePlan, } from '../contracts/index.js';
@@ -26,7 +26,7 @@ export declare function getNativeCliVersion(executablePath?: string): Promise<{
26
26
  apiMajor: number;
27
27
  nodeMajor: number;
28
28
  changes: string[];
29
- sdkVersion: "0.3.7";
29
+ sdkVersion: "0.3.8";
30
30
  }>;
31
31
  export declare function readNativeServerVersion(client: Client): {
32
32
  client: {