@intentic/sandbox-contract 1.239.0 → 1.240.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.
@@ -278,7 +278,6 @@ export declare const agentContract: {
278
278
  preTokens?: number | undefined;
279
279
  postTokens?: number | undefined;
280
280
  } | {
281
- kind: "plan";
282
281
  requestId: string;
283
282
  text: string;
284
283
  document?: {
@@ -288,8 +287,8 @@ export declare const agentContract: {
288
287
  truncated?: boolean | undefined;
289
288
  plan?: boolean | undefined;
290
289
  } | undefined;
290
+ kind: "plan";
291
291
  } | {
292
- kind: "question";
293
292
  requestId: string;
294
293
  questions: {
295
294
  question: string;
@@ -308,6 +307,7 @@ export declare const agentContract: {
308
307
  truncated?: boolean | undefined;
309
308
  plan?: boolean | undefined;
310
309
  } | undefined;
310
+ kind: "question";
311
311
  } | {
312
312
  toolName: string;
313
313
  title?: string | undefined;
@@ -326,21 +326,20 @@ export declare const agentContract: {
326
326
  }[];
327
327
  } | undefined;
328
328
  explain?: string | undefined;
329
- kind: "permission";
330
329
  requestId: string;
330
+ kind: "permission";
331
331
  } | {
332
- kind: "browser_help";
333
332
  requestId: string;
334
333
  session: string;
335
334
  account: string;
336
335
  message: string;
336
+ kind: "browser_help";
337
337
  } | {
338
- kind: "terminal_help";
339
338
  requestId: string;
340
339
  session: string;
341
340
  message: string;
341
+ kind: "terminal_help";
342
342
  } | {
343
- kind: "service_offer";
344
343
  requestId: string;
345
344
  offer: {
346
345
  slug: string;
@@ -357,6 +356,7 @@ export declare const agentContract: {
357
356
  request: string;
358
357
  why?: string | undefined;
359
358
  };
359
+ kind: "service_offer";
360
360
  } | {
361
361
  kind: "service_event";
362
362
  requestId: string;
@@ -368,26 +368,25 @@ export declare const agentContract: {
368
368
  data: unknown;
369
369
  };
370
370
  } | {
371
- kind: "service_receipt";
372
- requestId: string;
373
371
  outcome: "ok" | "refunded" | "refused";
374
372
  credits: number;
375
373
  remaining?: number | undefined;
374
+ kind: "service_receipt";
375
+ requestId: string;
376
376
  } | {
377
- kind: "capability_offer";
378
377
  requestId: string;
379
378
  offer: {
380
379
  card: string;
381
380
  name: string;
382
381
  why?: string | undefined;
383
382
  };
383
+ kind: "capability_offer";
384
384
  } | {
385
- kind: "capability_outcome";
386
- requestId: string;
387
385
  outcome: "connected" | "unfinished";
388
386
  id?: string | undefined;
387
+ kind: "capability_outcome";
388
+ requestId: string;
389
389
  } | {
390
- kind: "payment_offer";
391
390
  requestId: string;
392
391
  offer: {
393
392
  url: string;
@@ -401,13 +400,14 @@ export declare const agentContract: {
401
400
  dailyCapUsd: string;
402
401
  why?: string | undefined;
403
402
  };
403
+ kind: "payment_offer";
404
404
  } | {
405
- kind: "payment_receipt";
406
- requestId: string;
407
405
  outcome: "failed" | "paid";
408
406
  amountUsd: string;
409
407
  transaction?: string | undefined;
410
408
  network?: string | undefined;
409
+ kind: "payment_receipt";
410
+ requestId: string;
411
411
  } | {
412
412
  kind: "resolved";
413
413
  requestId: string;
@@ -693,7 +693,6 @@ export declare const agentContract: {
693
693
  preTokens?: number | undefined;
694
694
  postTokens?: number | undefined;
695
695
  } | {
696
- kind: "plan";
697
696
  requestId: string;
698
697
  text: string;
699
698
  document?: {
@@ -703,8 +702,8 @@ export declare const agentContract: {
703
702
  truncated?: boolean | undefined;
704
703
  plan?: boolean | undefined;
705
704
  } | undefined;
705
+ kind: "plan";
706
706
  } | {
707
- kind: "question";
708
707
  requestId: string;
709
708
  questions: {
710
709
  question: string;
@@ -723,6 +722,7 @@ export declare const agentContract: {
723
722
  truncated?: boolean | undefined;
724
723
  plan?: boolean | undefined;
725
724
  } | undefined;
725
+ kind: "question";
726
726
  } | {
727
727
  toolName: string;
728
728
  title?: string | undefined;
@@ -741,21 +741,20 @@ export declare const agentContract: {
741
741
  }[];
742
742
  } | undefined;
743
743
  explain?: string | undefined;
744
- kind: "permission";
745
744
  requestId: string;
745
+ kind: "permission";
746
746
  } | {
747
- kind: "browser_help";
748
747
  requestId: string;
749
748
  session: string;
750
749
  account: string;
751
750
  message: string;
751
+ kind: "browser_help";
752
752
  } | {
753
- kind: "terminal_help";
754
753
  requestId: string;
755
754
  session: string;
756
755
  message: string;
756
+ kind: "terminal_help";
757
757
  } | {
758
- kind: "service_offer";
759
758
  requestId: string;
760
759
  offer: {
761
760
  slug: string;
@@ -772,6 +771,7 @@ export declare const agentContract: {
772
771
  request: string;
773
772
  why?: string | undefined;
774
773
  };
774
+ kind: "service_offer";
775
775
  } | {
776
776
  kind: "service_event";
777
777
  requestId: string;
@@ -783,26 +783,25 @@ export declare const agentContract: {
783
783
  data: unknown;
784
784
  };
785
785
  } | {
786
- kind: "service_receipt";
787
- requestId: string;
788
786
  outcome: "ok" | "refunded" | "refused";
789
787
  credits: number;
790
788
  remaining?: number | undefined;
789
+ kind: "service_receipt";
790
+ requestId: string;
791
791
  } | {
792
- kind: "capability_offer";
793
792
  requestId: string;
794
793
  offer: {
795
794
  card: string;
796
795
  name: string;
797
796
  why?: string | undefined;
798
797
  };
798
+ kind: "capability_offer";
799
799
  } | {
800
- kind: "capability_outcome";
801
- requestId: string;
802
800
  outcome: "connected" | "unfinished";
803
801
  id?: string | undefined;
802
+ kind: "capability_outcome";
803
+ requestId: string;
804
804
  } | {
805
- kind: "payment_offer";
806
805
  requestId: string;
807
806
  offer: {
808
807
  url: string;
@@ -816,13 +815,14 @@ export declare const agentContract: {
816
815
  dailyCapUsd: string;
817
816
  why?: string | undefined;
818
817
  };
818
+ kind: "payment_offer";
819
819
  } | {
820
- kind: "payment_receipt";
821
- requestId: string;
822
820
  outcome: "failed" | "paid";
823
821
  amountUsd: string;
824
822
  transaction?: string | undefined;
825
823
  network?: string | undefined;
824
+ kind: "payment_receipt";
825
+ requestId: string;
826
826
  } | {
827
827
  kind: "resolved";
828
828
  requestId: string;