@intentic/sandbox-contract 1.242.0 → 1.244.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/agent-catalog.d.ts +2 -1
- package/dist/agent-catalog.d.ts.map +1 -1
- package/dist/agent-catalog.js +3 -2
- package/dist/agent-catalog.js.map +1 -1
- package/dist/card-status.d.ts.map +1 -1
- package/dist/card-status.js +8 -1
- package/dist/card-status.js.map +1 -1
- package/dist/chores/stack.d.ts.map +1 -1
- package/dist/chores/stack.js +2 -2
- package/dist/chores/stack.js.map +1 -1
- package/dist/command-classes.d.ts +1 -0
- package/dist/command-classes.d.ts.map +1 -1
- package/dist/command-classes.js +2 -2
- package/dist/command-classes.js.map +1 -1
- package/dist/contracts/agent.contract.d.ts +106 -0
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.d.ts +50 -0
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/runner.contract.d.ts +138 -92
- package/dist/contracts/runner.contract.d.ts.map +1 -1
- package/dist/contracts/secrets.contract.d.ts +50 -0
- package/dist/contracts/secrets.contract.d.ts.map +1 -1
- package/dist/contracts/secrets.contract.js +36 -1
- package/dist/contracts/secrets.contract.js.map +1 -1
- package/dist/contracts/sessions.contract.d.ts +37 -0
- package/dist/contracts/sessions.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.d.ts +12 -0
- package/dist/contracts/settings.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.d.ts +39 -0
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/definition.d.ts +8 -0
- package/dist/definition.d.ts.map +1 -1
- package/dist/events.d.ts +440 -1
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +40 -4
- package/dist/events.js.map +1 -1
- package/dist/index.d.ts +294 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/plan-pools.d.ts +1 -0
- package/dist/plan-pools.d.ts.map +1 -1
- package/dist/plan-pools.js +1 -0
- package/dist/plan-pools.js.map +1 -1
- package/dist/safety-policy.d.ts +6 -0
- package/dist/safety-policy.d.ts.map +1 -1
- package/dist/safety-policy.js +1 -0
- package/dist/safety-policy.js.map +1 -1
- package/dist/schemas/agents.d.ts +4 -0
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/agents.js +3 -0
- package/dist/schemas/agents.js.map +1 -1
- package/dist/schemas/automations.d.ts +1 -0
- package/dist/schemas/automations.d.ts.map +1 -1
- package/dist/schemas/computers.d.ts +9 -0
- package/dist/schemas/computers.d.ts.map +1 -1
- package/dist/schemas/computers.js +9 -0
- package/dist/schemas/computers.js.map +1 -1
- package/dist/schemas/engines.d.ts +2 -0
- package/dist/schemas/engines.d.ts.map +1 -1
- package/dist/schemas/engines.js +1 -0
- package/dist/schemas/engines.js.map +1 -1
- package/dist/schemas/plan-limits.d.ts +4 -0
- package/dist/schemas/plan-limits.d.ts.map +1 -1
- package/dist/schemas/plan-limits.js +7 -0
- package/dist/schemas/plan-limits.js.map +1 -1
- package/dist/schemas/secrets.d.ts +75 -0
- package/dist/schemas/secrets.d.ts.map +1 -1
- package/dist/schemas/secrets.js +44 -0
- package/dist/schemas/secrets.js.map +1 -1
- package/dist/schemas/settings.d.ts +6 -0
- package/dist/schemas/settings.d.ts.map +1 -1
- package/dist/schemas/settings.js +7 -0
- package/dist/schemas/settings.js.map +1 -1
- package/dist/transcript-fold.d.ts.map +1 -1
- package/dist/transcript-fold.js +11 -0
- package/dist/transcript-fold.js.map +1 -1
- package/package.json +4 -4
- package/src/agent-catalog.test.ts +21 -4
- package/src/agent-catalog.ts +37 -13
- package/src/card-status.ts +13 -1
- package/src/chores/stack.test.ts +36 -0
- package/src/chores/stack.ts +13 -2
- package/src/command-classes.ts +8 -3
- package/src/contracts/secrets.contract.ts +67 -1
- package/src/events.ts +100 -11
- package/src/plan-pools.ts +10 -0
- package/src/safety-policy.ts +23 -0
- package/src/schemas/agents.ts +6 -0
- package/src/schemas/computers.ts +39 -4
- package/src/schemas/engines.ts +1 -0
- package/src/schemas/plan-limits.ts +19 -0
- package/src/schemas/secrets.ts +110 -0
- package/src/schemas/settings.ts +45 -11
- package/src/transcript-fold.test.ts +47 -0
- package/src/transcript-fold.ts +11 -0
|
@@ -50,37 +50,6 @@ export declare const runnerContract: {
|
|
|
50
50
|
bytesBase64: z.ZodString;
|
|
51
51
|
}, z.core.$strip>>>;
|
|
52
52
|
}, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
53
|
-
requestId: string;
|
|
54
|
-
text: string;
|
|
55
|
-
document?: {
|
|
56
|
-
path: string;
|
|
57
|
-
title: string;
|
|
58
|
-
markdown: string;
|
|
59
|
-
truncated?: boolean | undefined;
|
|
60
|
-
plan?: boolean | undefined;
|
|
61
|
-
} | undefined;
|
|
62
|
-
kind: "plan";
|
|
63
|
-
} | {
|
|
64
|
-
requestId: string;
|
|
65
|
-
questions: {
|
|
66
|
-
question: string;
|
|
67
|
-
header: string;
|
|
68
|
-
multiSelect: boolean;
|
|
69
|
-
options: {
|
|
70
|
-
label: string;
|
|
71
|
-
description: string;
|
|
72
|
-
preview?: string | undefined;
|
|
73
|
-
}[];
|
|
74
|
-
}[];
|
|
75
|
-
document?: {
|
|
76
|
-
path: string;
|
|
77
|
-
title: string;
|
|
78
|
-
markdown: string;
|
|
79
|
-
truncated?: boolean | undefined;
|
|
80
|
-
plan?: boolean | undefined;
|
|
81
|
-
} | undefined;
|
|
82
|
-
kind: "question";
|
|
83
|
-
} | {
|
|
84
53
|
kind: "session";
|
|
85
54
|
sessionId: string;
|
|
86
55
|
account?: string | undefined;
|
|
@@ -275,6 +244,37 @@ export declare const runnerContract: {
|
|
|
275
244
|
trigger: string;
|
|
276
245
|
preTokens?: number | undefined;
|
|
277
246
|
postTokens?: number | undefined;
|
|
247
|
+
} | {
|
|
248
|
+
requestId: string;
|
|
249
|
+
text: string;
|
|
250
|
+
document?: {
|
|
251
|
+
path: string;
|
|
252
|
+
title: string;
|
|
253
|
+
markdown: string;
|
|
254
|
+
truncated?: boolean | undefined;
|
|
255
|
+
plan?: boolean | undefined;
|
|
256
|
+
} | undefined;
|
|
257
|
+
kind: "plan";
|
|
258
|
+
} | {
|
|
259
|
+
requestId: string;
|
|
260
|
+
questions: {
|
|
261
|
+
question: string;
|
|
262
|
+
header: string;
|
|
263
|
+
multiSelect: boolean;
|
|
264
|
+
options: {
|
|
265
|
+
label: string;
|
|
266
|
+
description: string;
|
|
267
|
+
preview?: string | undefined;
|
|
268
|
+
}[];
|
|
269
|
+
}[];
|
|
270
|
+
document?: {
|
|
271
|
+
path: string;
|
|
272
|
+
title: string;
|
|
273
|
+
markdown: string;
|
|
274
|
+
truncated?: boolean | undefined;
|
|
275
|
+
plan?: boolean | undefined;
|
|
276
|
+
} | undefined;
|
|
277
|
+
kind: "question";
|
|
278
278
|
} | {
|
|
279
279
|
requestId: string;
|
|
280
280
|
session: string;
|
|
@@ -337,6 +337,18 @@ export declare const runnerContract: {
|
|
|
337
337
|
why?: string | undefined;
|
|
338
338
|
};
|
|
339
339
|
kind: "payment_offer";
|
|
340
|
+
} | {
|
|
341
|
+
requestId: string;
|
|
342
|
+
offer: {
|
|
343
|
+
subject: string;
|
|
344
|
+
kind: "capability" | "secret";
|
|
345
|
+
lane: "browser" | "code" | "otp" | "session" | "shell";
|
|
346
|
+
detail?: string | undefined;
|
|
347
|
+
why?: string | undefined;
|
|
348
|
+
approvers: string[];
|
|
349
|
+
scope: "conversation" | "use";
|
|
350
|
+
};
|
|
351
|
+
kind: "credential_offer";
|
|
340
352
|
} | {
|
|
341
353
|
kind: "resolved";
|
|
342
354
|
requestId: string;
|
|
@@ -377,6 +389,10 @@ export declare const runnerContract: {
|
|
|
377
389
|
kind: "payment_offer";
|
|
378
390
|
requestId: string;
|
|
379
391
|
approve: boolean;
|
|
392
|
+
} | {
|
|
393
|
+
kind: "credential_offer";
|
|
394
|
+
requestId: string;
|
|
395
|
+
approve: boolean;
|
|
380
396
|
} | undefined;
|
|
381
397
|
} | {
|
|
382
398
|
kind: "mode";
|
|
@@ -402,6 +418,17 @@ export declare const runnerContract: {
|
|
|
402
418
|
} | undefined;
|
|
403
419
|
} | {
|
|
404
420
|
kind: "done";
|
|
421
|
+
} | {
|
|
422
|
+
status: "allowed" | "allowed_warning" | "rejected";
|
|
423
|
+
resetsAt?: number | undefined;
|
|
424
|
+
rateLimitType?: string | undefined;
|
|
425
|
+
utilization?: number | undefined;
|
|
426
|
+
kind: "rate_limit_info";
|
|
427
|
+
account?: string | undefined;
|
|
428
|
+
} | {
|
|
429
|
+
tokens: number;
|
|
430
|
+
contextWindow: number;
|
|
431
|
+
kind: "context_usage";
|
|
405
432
|
} | {
|
|
406
433
|
toolName: string;
|
|
407
434
|
title?: string | undefined;
|
|
@@ -422,17 +449,6 @@ export declare const runnerContract: {
|
|
|
422
449
|
explain?: string | undefined;
|
|
423
450
|
requestId: string;
|
|
424
451
|
kind: "permission";
|
|
425
|
-
} | {
|
|
426
|
-
status: "allowed" | "allowed_warning" | "rejected";
|
|
427
|
-
resetsAt?: number | undefined;
|
|
428
|
-
rateLimitType?: string | undefined;
|
|
429
|
-
utilization?: number | undefined;
|
|
430
|
-
kind: "rate_limit_info";
|
|
431
|
-
account?: string | undefined;
|
|
432
|
-
} | {
|
|
433
|
-
tokens: number;
|
|
434
|
-
contextWindow: number;
|
|
435
|
-
kind: "context_usage";
|
|
436
452
|
} | {
|
|
437
453
|
outcome: "ok" | "refunded" | "refused";
|
|
438
454
|
credits: number;
|
|
@@ -451,58 +467,12 @@ export declare const runnerContract: {
|
|
|
451
467
|
network?: string | undefined;
|
|
452
468
|
kind: "payment_receipt";
|
|
453
469
|
requestId: string;
|
|
454
|
-
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
455
|
-
requestId: string;
|
|
456
|
-
text: string;
|
|
457
|
-
document?: {
|
|
458
|
-
path: string;
|
|
459
|
-
title: string;
|
|
460
|
-
markdown: string;
|
|
461
|
-
truncated?: boolean | undefined;
|
|
462
|
-
plan?: boolean | undefined;
|
|
463
|
-
} | undefined;
|
|
464
|
-
kind: "plan";
|
|
465
470
|
} | {
|
|
471
|
+
outcome: "refused" | "released";
|
|
472
|
+
approvedBy?: string | undefined;
|
|
473
|
+
kind: "credential_receipt";
|
|
466
474
|
requestId: string;
|
|
467
|
-
|
|
468
|
-
question: string;
|
|
469
|
-
header: string;
|
|
470
|
-
multiSelect: boolean;
|
|
471
|
-
options: {
|
|
472
|
-
label: string;
|
|
473
|
-
description: string;
|
|
474
|
-
preview?: string | undefined;
|
|
475
|
-
}[];
|
|
476
|
-
}[];
|
|
477
|
-
document?: {
|
|
478
|
-
path: string;
|
|
479
|
-
title: string;
|
|
480
|
-
markdown: string;
|
|
481
|
-
truncated?: boolean | undefined;
|
|
482
|
-
plan?: boolean | undefined;
|
|
483
|
-
} | undefined;
|
|
484
|
-
kind: "question";
|
|
485
|
-
} | {
|
|
486
|
-
toolName: string;
|
|
487
|
-
title?: string | undefined;
|
|
488
|
-
displayName?: string | undefined;
|
|
489
|
-
description?: string | undefined;
|
|
490
|
-
reason?: string | undefined;
|
|
491
|
-
path?: string | undefined;
|
|
492
|
-
alwaysLabel?: string | undefined;
|
|
493
|
-
program?: {
|
|
494
|
-
text: string;
|
|
495
|
-
language: "bash" | "javascript";
|
|
496
|
-
truncated: boolean;
|
|
497
|
-
spans: {
|
|
498
|
-
start: number;
|
|
499
|
-
end: number;
|
|
500
|
-
}[];
|
|
501
|
-
} | undefined;
|
|
502
|
-
explain?: string | undefined;
|
|
503
|
-
requestId: string;
|
|
504
|
-
kind: "permission";
|
|
505
|
-
} | {
|
|
475
|
+
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
506
476
|
kind: "session";
|
|
507
477
|
sessionId: string;
|
|
508
478
|
account?: string | undefined;
|
|
@@ -697,6 +667,37 @@ export declare const runnerContract: {
|
|
|
697
667
|
trigger: string;
|
|
698
668
|
preTokens?: number | undefined;
|
|
699
669
|
postTokens?: number | undefined;
|
|
670
|
+
} | {
|
|
671
|
+
requestId: string;
|
|
672
|
+
text: string;
|
|
673
|
+
document?: {
|
|
674
|
+
path: string;
|
|
675
|
+
title: string;
|
|
676
|
+
markdown: string;
|
|
677
|
+
truncated?: boolean | undefined;
|
|
678
|
+
plan?: boolean | undefined;
|
|
679
|
+
} | undefined;
|
|
680
|
+
kind: "plan";
|
|
681
|
+
} | {
|
|
682
|
+
requestId: string;
|
|
683
|
+
questions: {
|
|
684
|
+
question: string;
|
|
685
|
+
header: string;
|
|
686
|
+
multiSelect: boolean;
|
|
687
|
+
options: {
|
|
688
|
+
label: string;
|
|
689
|
+
description: string;
|
|
690
|
+
preview?: string | undefined;
|
|
691
|
+
}[];
|
|
692
|
+
}[];
|
|
693
|
+
document?: {
|
|
694
|
+
path: string;
|
|
695
|
+
title: string;
|
|
696
|
+
markdown: string;
|
|
697
|
+
truncated?: boolean | undefined;
|
|
698
|
+
plan?: boolean | undefined;
|
|
699
|
+
} | undefined;
|
|
700
|
+
kind: "question";
|
|
700
701
|
} | {
|
|
701
702
|
requestId: string;
|
|
702
703
|
session: string;
|
|
@@ -759,6 +760,18 @@ export declare const runnerContract: {
|
|
|
759
760
|
why?: string | undefined;
|
|
760
761
|
};
|
|
761
762
|
kind: "payment_offer";
|
|
763
|
+
} | {
|
|
764
|
+
requestId: string;
|
|
765
|
+
offer: {
|
|
766
|
+
subject: string;
|
|
767
|
+
kind: "capability" | "secret";
|
|
768
|
+
lane: "browser" | "code" | "otp" | "session" | "shell";
|
|
769
|
+
detail?: string | undefined;
|
|
770
|
+
why?: string | undefined;
|
|
771
|
+
approvers: string[];
|
|
772
|
+
scope: "conversation" | "use";
|
|
773
|
+
};
|
|
774
|
+
kind: "credential_offer";
|
|
762
775
|
} | {
|
|
763
776
|
kind: "resolved";
|
|
764
777
|
requestId: string;
|
|
@@ -799,6 +812,10 @@ export declare const runnerContract: {
|
|
|
799
812
|
kind: "payment_offer";
|
|
800
813
|
requestId: string;
|
|
801
814
|
approve: boolean;
|
|
815
|
+
} | {
|
|
816
|
+
kind: "credential_offer";
|
|
817
|
+
requestId: string;
|
|
818
|
+
approve: boolean;
|
|
802
819
|
} | undefined;
|
|
803
820
|
} | {
|
|
804
821
|
kind: "mode";
|
|
@@ -835,6 +852,26 @@ export declare const runnerContract: {
|
|
|
835
852
|
tokens: number;
|
|
836
853
|
contextWindow: number;
|
|
837
854
|
kind: "context_usage";
|
|
855
|
+
} | {
|
|
856
|
+
toolName: string;
|
|
857
|
+
title?: string | undefined;
|
|
858
|
+
displayName?: string | undefined;
|
|
859
|
+
description?: string | undefined;
|
|
860
|
+
reason?: string | undefined;
|
|
861
|
+
path?: string | undefined;
|
|
862
|
+
alwaysLabel?: string | undefined;
|
|
863
|
+
program?: {
|
|
864
|
+
text: string;
|
|
865
|
+
language: "bash" | "javascript";
|
|
866
|
+
truncated: boolean;
|
|
867
|
+
spans: {
|
|
868
|
+
start: number;
|
|
869
|
+
end: number;
|
|
870
|
+
}[];
|
|
871
|
+
} | undefined;
|
|
872
|
+
explain?: string | undefined;
|
|
873
|
+
requestId: string;
|
|
874
|
+
kind: "permission";
|
|
838
875
|
} | {
|
|
839
876
|
outcome: "ok" | "refunded" | "refused";
|
|
840
877
|
credits: number;
|
|
@@ -853,6 +890,11 @@ export declare const runnerContract: {
|
|
|
853
890
|
network?: string | undefined;
|
|
854
891
|
kind: "payment_receipt";
|
|
855
892
|
requestId: string;
|
|
893
|
+
} | {
|
|
894
|
+
outcome: "refused" | "released";
|
|
895
|
+
approvedBy?: string | undefined;
|
|
896
|
+
kind: "credential_receipt";
|
|
897
|
+
requestId: string;
|
|
856
898
|
}, unknown, void>>, Record<never, never>, Record<never, never>>;
|
|
857
899
|
reply: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
858
900
|
kind: z.ZodLiteral<"plan">;
|
|
@@ -895,6 +937,10 @@ export declare const runnerContract: {
|
|
|
895
937
|
kind: z.ZodLiteral<"payment_offer">;
|
|
896
938
|
requestId: z.ZodString;
|
|
897
939
|
approve: z.ZodBoolean;
|
|
940
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
941
|
+
kind: z.ZodLiteral<"credential_offer">;
|
|
942
|
+
requestId: z.ZodString;
|
|
943
|
+
approve: z.ZodBoolean;
|
|
898
944
|
}, z.core.$strip>], "kind">, z.ZodObject<{
|
|
899
945
|
applied: z.ZodBoolean;
|
|
900
946
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runner.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/runner.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmBxB,eAAO,MAAM,cAAc;IAIvB,QAAQ;;;;;;IAGR,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGb,OAAO
|
|
1
|
+
{"version":3,"file":"runner.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/runner.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmBxB,eAAO,MAAM,cAAc;IAIvB,QAAQ;;;;;;IAGR,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGb,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASP,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIL,KAAK;;;;;;;;;;;;;;IAgBL,eAAe;;;;;IAEf,SAAS;;;;;IAET,IAAI;;;CACP,CAAC"}
|
|
@@ -46,6 +46,14 @@ export declare const secretsContract: {
|
|
|
46
46
|
shell: "shell";
|
|
47
47
|
}>;
|
|
48
48
|
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
49
|
+
approvedBy: import("zod").ZodOptional<import("zod").ZodString>;
|
|
50
|
+
}, import("zod/v4/core").$strip>>;
|
|
51
|
+
gate: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
52
|
+
approvers: import("zod").ZodArray<import("zod").ZodString>;
|
|
53
|
+
scope: import("zod").ZodEnum<{
|
|
54
|
+
conversation: "conversation";
|
|
55
|
+
use: "use";
|
|
56
|
+
}>;
|
|
49
57
|
}, import("zod/v4/core").$strip>>;
|
|
50
58
|
}, import("zod/v4/core").$strip>>;
|
|
51
59
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -54,5 +62,47 @@ export declare const secretsContract: {
|
|
|
54
62
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
55
63
|
value: import("zod").ZodString;
|
|
56
64
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
65
|
+
gates: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
66
|
+
gates: import("zod").ZodArray<import("zod").ZodObject<{
|
|
67
|
+
subject: import("zod").ZodString;
|
|
68
|
+
kind: import("zod").ZodEnum<{
|
|
69
|
+
capability: "capability";
|
|
70
|
+
secret: "secret";
|
|
71
|
+
}>;
|
|
72
|
+
approvers: import("zod").ZodArray<import("zod").ZodString>;
|
|
73
|
+
scope: import("zod").ZodEnum<{
|
|
74
|
+
conversation: "conversation";
|
|
75
|
+
use: "use";
|
|
76
|
+
}>;
|
|
77
|
+
}, import("zod/v4/core").$strip>>;
|
|
78
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
79
|
+
setGate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
80
|
+
subject: import("zod").ZodString;
|
|
81
|
+
kind: import("zod").ZodEnum<{
|
|
82
|
+
capability: "capability";
|
|
83
|
+
secret: "secret";
|
|
84
|
+
}>;
|
|
85
|
+
approvers: import("zod").ZodArray<import("zod").ZodString>;
|
|
86
|
+
scope: import("zod").ZodEnum<{
|
|
87
|
+
conversation: "conversation";
|
|
88
|
+
use: "use";
|
|
89
|
+
}>;
|
|
90
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
91
|
+
ok: import("zod").ZodLiteral<true>;
|
|
92
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
93
|
+
removeGate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
94
|
+
subject: import("zod").ZodString;
|
|
95
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
96
|
+
ok: import("zod").ZodLiteral<true>;
|
|
97
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
98
|
+
request: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
99
|
+
subject: import("zod").ZodString;
|
|
100
|
+
why: import("zod").ZodOptional<import("zod").ZodString>;
|
|
101
|
+
conversationId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
102
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
103
|
+
granted: import("zod").ZodLiteral<true>;
|
|
104
|
+
approvedBy: import("zod").ZodString;
|
|
105
|
+
message: import("zod").ZodString;
|
|
106
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
57
107
|
};
|
|
58
108
|
//# sourceMappingURL=secrets.contract.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secrets.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/secrets.contract.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"secrets.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/secrets.contract.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,eAAe;IACxB,GAAG;;;;;;IAUH,IAAI;;;IAQJ,MAAM;;;;;IASN,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAST,MAAM;;;;;IA2BN,KAAK;;;;;;;;;;;;;;IASL,OAAO;;;;;;;;;;;;;;IAUP,UAAU;;;;;IASV,OAAO;;;;;;;;;CAUV,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { oc } from "@orpc/contract";
|
|
2
|
-
import { SecretInventorySchema, SecretKeyParamSchema, SecretKeysSchema, SecretRevealSchema, SecretSetSchema } from "../schemas/secrets.js";
|
|
2
|
+
import { CredentialGateSchema, CredentialGateSubjectParamSchema, CredentialGatesSchema, CredentialGrantSchema, CredentialRequestSchema, SecretInventorySchema, SecretKeyParamSchema, SecretKeysSchema, SecretRevealSchema, SecretSetSchema, } from "../schemas/secrets.js";
|
|
3
3
|
import { OkSchema } from "../schemas/shared.js";
|
|
4
4
|
export const secretsContract = {
|
|
5
5
|
set: oc
|
|
@@ -45,5 +45,40 @@ export const secretsContract = {
|
|
|
45
45
|
})
|
|
46
46
|
.input(SecretKeyParamSchema)
|
|
47
47
|
.output(SecretRevealSchema),
|
|
48
|
+
gates: oc
|
|
49
|
+
.route({
|
|
50
|
+
method: "GET",
|
|
51
|
+
path: "/secrets/gates",
|
|
52
|
+
summary: "Which credentials need somebody's approval",
|
|
53
|
+
description: "What is gated and who may release it. Names and addresses only, never values, and the agent may read it too: knowing a credential needs Bob is what stops it concluding the account is simply not connected.",
|
|
54
|
+
})
|
|
55
|
+
.output(CredentialGatesSchema),
|
|
56
|
+
setGate: oc
|
|
57
|
+
.route({
|
|
58
|
+
method: "PUT",
|
|
59
|
+
path: "/secrets/gates/{subject}",
|
|
60
|
+
summary: "Put a credential behind named approvers",
|
|
61
|
+
description: "Names exactly who may release one secret or one connected account, and how far a single release goes. The owner's call alone. A signed-in browser or a mounted server cannot be released for one use, so those are always for the rest of the conversation.",
|
|
62
|
+
})
|
|
63
|
+
.input(CredentialGateSchema)
|
|
64
|
+
.output(OkSchema),
|
|
65
|
+
removeGate: oc
|
|
66
|
+
.route({
|
|
67
|
+
method: "DELETE",
|
|
68
|
+
path: "/secrets/gates/{subject}",
|
|
69
|
+
summary: "Stop requiring approval for a credential",
|
|
70
|
+
description: "Removes one gate, so the agent can use that credential the way it uses any other. The owner's call alone.",
|
|
71
|
+
})
|
|
72
|
+
.input(CredentialGateSubjectParamSchema)
|
|
73
|
+
.output(OkSchema),
|
|
74
|
+
request: oc
|
|
75
|
+
.route({
|
|
76
|
+
method: "POST",
|
|
77
|
+
path: "/secrets/request",
|
|
78
|
+
summary: "Ask a named person to release a credential",
|
|
79
|
+
description: "Raises the release card in the live conversation and waits for one of the people named on it. Refused, rather than held, when there is nobody to ask: an unattended turn, no live conversation, or a click with no verified identity behind it.",
|
|
80
|
+
})
|
|
81
|
+
.input(CredentialRequestSchema)
|
|
82
|
+
.output(CredentialGrantSchema),
|
|
48
83
|
};
|
|
49
84
|
//# sourceMappingURL=secrets.contract.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secrets.contract.js","sourceRoot":"","sources":["../../src/contracts/secrets.contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,
|
|
1
|
+
{"version":3,"file":"secrets.contract.js","sourceRoot":"","sources":["../../src/contracts/secrets.contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EACH,oBAAoB,EACpB,gCAAgC,EAChC,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,GAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAOhD,MAAM,CAAC,MAAM,eAAe,GAAG;IAC3B,GAAG,EAAE,EAAE;SACF,KAAK,CAAC;QACH,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,gBAAgB;QACzB,WAAW,EACP,qKAAqK;KAC5K,CAAC;SACD,KAAK,CAAC,eAAe,CAAC;SACtB,MAAM,CAAC,QAAQ,CAAC;IACrB,IAAI,EAAE,EAAE;SACH,KAAK,CAAC;QACH,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,6BAA6B;QACtC,WAAW,EAAE,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C3H,CAAC;SACD,KAAK,CAAC,gCAAgC,CAAC;SACvC,MAAM,CAAC,QAAQ,CAAC;IACrB,OAAO,EAAE,EAAE;SACN,KAAK,CAAC;QACH,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,4CAA4C;QACrD,WAAW,EACP,iPAAiP;KACxP,CAAC;SACD,KAAK,CAAC,uBAAuB,CAAC;SAC9B,MAAM,CAAC,qBAAqB,CAAC;CACrC,CAAC"}
|
|
@@ -250,6 +250,43 @@ export declare const sessionsContract: {
|
|
|
250
250
|
network: z.ZodOptional<z.ZodString>;
|
|
251
251
|
}, z.core.$strip>>;
|
|
252
252
|
}, z.core.$strip>>;
|
|
253
|
+
credentialOffer: z.ZodOptional<z.ZodObject<{
|
|
254
|
+
requestId: z.ZodString;
|
|
255
|
+
offer: z.ZodObject<{
|
|
256
|
+
subject: z.ZodString;
|
|
257
|
+
kind: z.ZodEnum<{
|
|
258
|
+
capability: "capability";
|
|
259
|
+
secret: "secret";
|
|
260
|
+
}>;
|
|
261
|
+
lane: z.ZodEnum<{
|
|
262
|
+
browser: "browser";
|
|
263
|
+
code: "code";
|
|
264
|
+
otp: "otp";
|
|
265
|
+
session: "session";
|
|
266
|
+
shell: "shell";
|
|
267
|
+
}>;
|
|
268
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
269
|
+
why: z.ZodOptional<z.ZodString>;
|
|
270
|
+
approvers: z.ZodArray<z.ZodString>;
|
|
271
|
+
scope: z.ZodEnum<{
|
|
272
|
+
conversation: "conversation";
|
|
273
|
+
use: "use";
|
|
274
|
+
}>;
|
|
275
|
+
}, z.core.$strip>;
|
|
276
|
+
status: z.ZodEnum<{
|
|
277
|
+
approved: "approved";
|
|
278
|
+
cancelled: "cancelled";
|
|
279
|
+
pending: "pending";
|
|
280
|
+
skipped: "skipped";
|
|
281
|
+
}>;
|
|
282
|
+
receipt: z.ZodOptional<z.ZodObject<{
|
|
283
|
+
outcome: z.ZodEnum<{
|
|
284
|
+
refused: "refused";
|
|
285
|
+
released: "released";
|
|
286
|
+
}>;
|
|
287
|
+
approvedBy: z.ZodOptional<z.ZodString>;
|
|
288
|
+
}, z.core.$strip>>;
|
|
289
|
+
}, z.core.$strip>>;
|
|
253
290
|
}, z.core.$strip>>;
|
|
254
291
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
255
292
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessions.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/sessions.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,gBAAgB;IACzB,IAAI;;;;;;;;;;;;;;;;;IAUJ,GAAG
|
|
1
|
+
{"version":3,"file":"sessions.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/sessions.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,gBAAgB;IACzB,IAAI;;;;;;;;;;;;;;;;;IAUJ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASN,CAAC"}
|
|
@@ -135,6 +135,12 @@ export declare const settingsContract: {
|
|
|
135
135
|
deny: "deny";
|
|
136
136
|
hold: "hold";
|
|
137
137
|
}>>>;
|
|
138
|
+
commandJudge: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
139
|
+
off: "off";
|
|
140
|
+
on: "on";
|
|
141
|
+
watch: "watch";
|
|
142
|
+
}>>;
|
|
143
|
+
commandJudgeModels: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
138
144
|
subagentsAtOnce: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
139
145
|
subagentsPerTurn: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
140
146
|
subagentDepth: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
@@ -275,6 +281,12 @@ export declare const settingsContract: {
|
|
|
275
281
|
deny: "deny";
|
|
276
282
|
hold: "hold";
|
|
277
283
|
}>>>;
|
|
284
|
+
commandJudge: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
285
|
+
off: "off";
|
|
286
|
+
on: "on";
|
|
287
|
+
watch: "watch";
|
|
288
|
+
}>>;
|
|
289
|
+
commandJudgeModels: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
278
290
|
subagentsAtOnce: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
279
291
|
subagentsPerTurn: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
280
292
|
subagentDepth: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/settings.contract.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,gBAAgB;IACzB,GAAG
|
|
1
|
+
{"version":3,"file":"settings.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/settings.contract.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,gBAAgB;IACzB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASH,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUP,aAAa;;;;;;;;;IAab,OAAO;CASV,CAAC"}
|
|
@@ -180,6 +180,7 @@ export declare const systemContract: {
|
|
|
180
180
|
permission: boolean;
|
|
181
181
|
service: boolean;
|
|
182
182
|
capability: boolean;
|
|
183
|
+
credential: boolean;
|
|
183
184
|
conflict: boolean;
|
|
184
185
|
};
|
|
185
186
|
turns?: number | undefined;
|
|
@@ -379,6 +380,7 @@ export declare const systemContract: {
|
|
|
379
380
|
permission: boolean;
|
|
380
381
|
service: boolean;
|
|
381
382
|
capability: boolean;
|
|
383
|
+
credential: boolean;
|
|
382
384
|
conflict: boolean;
|
|
383
385
|
};
|
|
384
386
|
turns?: number | undefined;
|
|
@@ -806,6 +808,43 @@ export declare const systemContract: {
|
|
|
806
808
|
network: z.ZodOptional<z.ZodString>;
|
|
807
809
|
}, z.core.$strip>>;
|
|
808
810
|
}, z.core.$strip>>;
|
|
811
|
+
credentialOffer: z.ZodOptional<z.ZodObject<{
|
|
812
|
+
requestId: z.ZodString;
|
|
813
|
+
offer: z.ZodObject<{
|
|
814
|
+
subject: z.ZodString;
|
|
815
|
+
kind: z.ZodEnum<{
|
|
816
|
+
capability: "capability";
|
|
817
|
+
secret: "secret";
|
|
818
|
+
}>;
|
|
819
|
+
lane: z.ZodEnum<{
|
|
820
|
+
browser: "browser";
|
|
821
|
+
code: "code";
|
|
822
|
+
otp: "otp";
|
|
823
|
+
session: "session";
|
|
824
|
+
shell: "shell";
|
|
825
|
+
}>;
|
|
826
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
827
|
+
why: z.ZodOptional<z.ZodString>;
|
|
828
|
+
approvers: z.ZodArray<z.ZodString>;
|
|
829
|
+
scope: z.ZodEnum<{
|
|
830
|
+
conversation: "conversation";
|
|
831
|
+
use: "use";
|
|
832
|
+
}>;
|
|
833
|
+
}, z.core.$strip>;
|
|
834
|
+
status: z.ZodEnum<{
|
|
835
|
+
approved: "approved";
|
|
836
|
+
cancelled: "cancelled";
|
|
837
|
+
pending: "pending";
|
|
838
|
+
skipped: "skipped";
|
|
839
|
+
}>;
|
|
840
|
+
receipt: z.ZodOptional<z.ZodObject<{
|
|
841
|
+
outcome: z.ZodEnum<{
|
|
842
|
+
refused: "refused";
|
|
843
|
+
released: "released";
|
|
844
|
+
}>;
|
|
845
|
+
approvedBy: z.ZodOptional<z.ZodString>;
|
|
846
|
+
}, z.core.$strip>>;
|
|
847
|
+
}, z.core.$strip>>;
|
|
809
848
|
}, z.core.$strip>>;
|
|
810
849
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
811
850
|
manageMachineSandbox: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/system.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA4BxB,eAAO,MAAM,cAAc;IACvB,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;IAYJ,gBAAgB;;;;;;;;;;;;;IAWhB,OAAO;;;;;IASP,MAAM
|
|
1
|
+
{"version":3,"file":"system.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/system.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA4BxB,eAAO,MAAM,cAAc;IACvB,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;IAYJ,gBAAgB;;;;;;;;;;;;;IAWhB,OAAO;;;;;IASP,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 @@ export declare const SandboxDefinitionSchema: z.ZodObject<{
|
|
|
420
420
|
workflow: "allow" | "deny";
|
|
421
421
|
};
|
|
422
422
|
actionRules: Record<string, "allow" | "deny" | "hold">;
|
|
423
|
+
commandJudge: "off" | "on" | "watch";
|
|
424
|
+
commandJudgeModels: string[];
|
|
423
425
|
subagentsAtOnce: number;
|
|
424
426
|
subagentsPerTurn: number;
|
|
425
427
|
subagentDepth: number;
|
|
@@ -491,6 +493,8 @@ export declare const SandboxDefinitionSchema: z.ZodObject<{
|
|
|
491
493
|
workflow: "allow" | "deny";
|
|
492
494
|
};
|
|
493
495
|
actionRules: Record<string, "allow" | "deny" | "hold">;
|
|
496
|
+
commandJudge: "off" | "on" | "watch";
|
|
497
|
+
commandJudgeModels: string[];
|
|
494
498
|
subagentsAtOnce: number;
|
|
495
499
|
subagentsPerTurn: number;
|
|
496
500
|
subagentDepth: number;
|
|
@@ -944,6 +948,8 @@ export declare const BundleManifestSchema: z.ZodObject<{
|
|
|
944
948
|
workflow: "allow" | "deny";
|
|
945
949
|
};
|
|
946
950
|
actionRules: Record<string, "allow" | "deny" | "hold">;
|
|
951
|
+
commandJudge: "off" | "on" | "watch";
|
|
952
|
+
commandJudgeModels: string[];
|
|
947
953
|
subagentsAtOnce: number;
|
|
948
954
|
subagentsPerTurn: number;
|
|
949
955
|
subagentDepth: number;
|
|
@@ -1015,6 +1021,8 @@ export declare const BundleManifestSchema: z.ZodObject<{
|
|
|
1015
1021
|
workflow: "allow" | "deny";
|
|
1016
1022
|
};
|
|
1017
1023
|
actionRules: Record<string, "allow" | "deny" | "hold">;
|
|
1024
|
+
commandJudge: "off" | "on" | "watch";
|
|
1025
|
+
commandJudgeModels: string[];
|
|
1018
1026
|
subagentsAtOnce: number;
|
|
1019
1027
|
subagentsPerTurn: number;
|
|
1020
1028
|
subagentDepth: number;
|
package/dist/definition.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definition.d.ts","sourceRoot":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