@claudexor/schema 5.1.0 → 6.1.1

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.
Files changed (130) hide show
  1. package/dist/account-routing-evidence.d.ts +68 -0
  2. package/dist/account-routing-evidence.d.ts.map +1 -1
  3. package/dist/attempt-execution.d.ts +23 -0
  4. package/dist/attempt-execution.d.ts.map +1 -1
  5. package/dist/attempt-execution.js +2 -0
  6. package/dist/attempt-execution.js.map +1 -1
  7. package/dist/control-harness-list.d.ts +34 -0
  8. package/dist/control-harness-list.d.ts.map +1 -1
  9. package/dist/control-harness-models.d.ts +122 -0
  10. package/dist/control-harness-models.d.ts.map +1 -1
  11. package/dist/control-harness-models.js +2 -0
  12. package/dist/control-harness-models.js.map +1 -1
  13. package/dist/control-operation-responses.d.ts +21 -0
  14. package/dist/control-operation-responses.d.ts.map +1 -1
  15. package/dist/control-pending-interaction.d.ts +96 -0
  16. package/dist/control-pending-interaction.d.ts.map +1 -0
  17. package/dist/control-pending-interaction.js +42 -0
  18. package/dist/control-pending-interaction.js.map +1 -0
  19. package/dist/control-run-detail.d.ts +92 -0
  20. package/dist/control-run-detail.d.ts.map +1 -1
  21. package/dist/control-run-detail.js +2 -1
  22. package/dist/control-run-detail.js.map +1 -1
  23. package/dist/control-run-failure.d.ts +11 -0
  24. package/dist/control-run-failure.d.ts.map +1 -1
  25. package/dist/control-run-failure.js +6 -0
  26. package/dist/control-run-failure.js.map +1 -1
  27. package/dist/control-run-message.js +1 -1
  28. package/dist/control-run-message.js.map +1 -1
  29. package/dist/control.d.ts +30 -81
  30. package/dist/control.d.ts.map +1 -1
  31. package/dist/control.js +9 -26
  32. package/dist/control.js.map +1 -1
  33. package/dist/credential-profile-snapshot.d.ts +136 -0
  34. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  35. package/dist/events.d.ts.map +1 -1
  36. package/dist/events.js +4 -6
  37. package/dist/events.js.map +1 -1
  38. package/dist/harness-interaction.d.ts +12 -0
  39. package/dist/harness-interaction.d.ts.map +1 -1
  40. package/dist/harness-interaction.js +11 -0
  41. package/dist/harness-interaction.js.map +1 -1
  42. package/dist/harness-maintenance.d.ts +3561 -717
  43. package/dist/harness-maintenance.d.ts.map +1 -1
  44. package/dist/harness-maintenance.js +107 -111
  45. package/dist/harness-maintenance.js.map +1 -1
  46. package/dist/harness-program.d.ts +2164 -0
  47. package/dist/harness-program.d.ts.map +1 -0
  48. package/dist/harness-program.js +110 -0
  49. package/dist/harness-program.js.map +1 -0
  50. package/dist/harness.d.ts +67 -0
  51. package/dist/harness.d.ts.map +1 -1
  52. package/dist/harness.js +9 -0
  53. package/dist/harness.js.map +1 -1
  54. package/dist/index.d.ts +3 -0
  55. package/dist/index.d.ts.map +1 -1
  56. package/dist/index.js +3 -0
  57. package/dist/index.js.map +1 -1
  58. package/dist/mcp-run-result.d.ts +90 -0
  59. package/dist/mcp-run-result.d.ts.map +1 -1
  60. package/dist/mcp-run-wait.d.ts +5 -0
  61. package/dist/mcp-run-wait.d.ts.map +1 -1
  62. package/dist/mcp-run-wait.js +3 -2
  63. package/dist/mcp-run-wait.js.map +1 -1
  64. package/dist/model-operation.d.ts +1590 -0
  65. package/dist/model-operation.d.ts.map +1 -1
  66. package/dist/model-operation.js +41 -0
  67. package/dist/model-operation.js.map +1 -1
  68. package/dist/quota.d.ts +3 -2
  69. package/dist/quota.d.ts.map +1 -1
  70. package/dist/quota.js +3 -2
  71. package/dist/quota.js.map +1 -1
  72. package/dist/rate-limit.js +1 -1
  73. package/dist/rate-limit.js.map +1 -1
  74. package/dist/readiness.d.ts +26 -0
  75. package/dist/readiness.d.ts.map +1 -1
  76. package/dist/run-observation.d.ts +70 -0
  77. package/dist/run-observation.d.ts.map +1 -1
  78. package/dist/run-observation.js +31 -12
  79. package/dist/run-observation.js.map +1 -1
  80. package/dist/start-lookup.d.ts +268 -0
  81. package/dist/start-lookup.d.ts.map +1 -0
  82. package/dist/start-lookup.js +86 -0
  83. package/dist/start-lookup.js.map +1 -0
  84. package/dist/telemetry.d.ts +56 -0
  85. package/dist/telemetry.d.ts.map +1 -1
  86. package/dist/telemetry.js +2 -0
  87. package/dist/telemetry.js.map +1 -1
  88. package/dist/thread-history.d.ts +108 -0
  89. package/dist/thread-history.d.ts.map +1 -1
  90. package/generated/AttemptExecutionEvidence.schema.json +35 -0
  91. package/generated/ConformanceReport.schema.json +26 -0
  92. package/generated/ControlCredentialProfilesQueryResponse.schema.json +26 -0
  93. package/generated/ControlCredentialProfilesResourcesResponse.schema.json +26 -0
  94. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +26 -0
  95. package/generated/ControlHarnessAccountCatalog.schema.json +27 -0
  96. package/generated/ControlHarnessAccountModelsResponse.schema.json +27 -0
  97. package/generated/ControlHarnessListResponse.schema.json +26 -0
  98. package/generated/ControlHarnessMaintenanceCreateRequest.schema.json +2 -28
  99. package/generated/ControlHarnessMaintenanceInventory.schema.json +547 -184
  100. package/generated/ControlHarnessMaintenanceOperation.schema.json +211 -63
  101. package/generated/ControlHarnessModelsQueryResponse.schema.json +30 -0
  102. package/generated/ControlHarnessModelsResponse.schema.json +27 -0
  103. package/generated/ControlModelAccountCatalogResponse.schema.json +27 -0
  104. package/generated/ControlModelCatalogQueryResponse.schema.json +27 -0
  105. package/generated/ControlModelCatalogResponse.schema.json +27 -0
  106. package/generated/ControlModelOperationDetail.schema.json +103 -0
  107. package/generated/ControlPendingInteraction.schema.json +10 -1
  108. package/generated/ControlRunDetail.schema.json +66 -1
  109. package/generated/ControlRunListResponse.schema.json +21 -0
  110. package/generated/ControlRunMessageResponse.schema.json +1 -1
  111. package/generated/ControlRunSummary.schema.json +21 -0
  112. package/generated/ControlStartLookupResponse.schema.json +278 -0
  113. package/generated/ControlThreadDetail.schema.json +5 -0
  114. package/generated/HarnessEvent.schema.json +42 -1
  115. package/generated/HarnessManifest.schema.json +26 -0
  116. package/generated/HarnessProgram.schema.json +278 -0
  117. package/generated/HarnessProgramIdentity.schema.json +25 -0
  118. package/generated/HarnessStatusDto.schema.json +26 -0
  119. package/generated/McpAccountsToolResult.schema.json +26 -0
  120. package/generated/McpRunHandleResult.schema.json +51 -0
  121. package/generated/McpRunToolResult.schema.json +51 -0
  122. package/generated/McpRunWaitResult.schema.json +11 -2
  123. package/generated/NativeProgramEvidence.schema.json +38 -0
  124. package/generated/RunFailure.schema.json +16 -0
  125. package/generated/RunTelemetry.schema.json +35 -0
  126. package/generated/RunWaitManyInput.schema.json +4 -0
  127. package/generated/RunWaitManyResult.schema.json +30 -0
  128. package/generated/SelectedHarnessProgram.schema.json +56 -0
  129. package/generated/ThreadHistoryPage.schema.json +24 -0
  130. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"control-harness-models.js","sourceRoot":"","sources":["../src/control-harness-models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC;KAC1C,MAAM,CAAC;IACN,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IAC/D,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,YAAY,CAAC;SACnB,OAAO,CAAC,EAAE,CAAC;SACX,QAAQ,CAAC,sEAAsE,CAAC;IACnF,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;SACjC,QAAQ,CACP,uKAAuK,CACxK;IACH;2EACuE;IACvE,eAAe,EAAE,CAAC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vB,UAAU,EAAE,YAAY,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC1C,qGAAqG,CACtG;IACD,UAAU,EAAE,cAAc;CAC3B,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC;KACjD,MAAM,CAAC;IACN,SAAS,EAAE,EAAE;IACb,QAAQ,EAAE,CAAC,CAAC,KAAK,CACf,0BAA0B,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,4BAA4B,CAAC,QAAQ,EAAE,EAAE,CAAC,CACxF;IACD,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;CACrB,CAAC;KACD,MAAM,EAAE,CAAC;AAIZ,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC;IACvD,4BAA4B,CAAC,MAAM,EAAE;IACrC,mCAAmC;CACpC,CAAC,CAAC"}
@@ -534,6 +534,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
534
534
  runDir: z.ZodOptional<z.ZodString>;
535
535
  error: z.ZodOptional<z.ZodString>;
536
536
  failure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
537
+ lastVendorError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
537
538
  requestRefusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
538
539
  scope: z.ZodLiteral<"turn_text">;
539
540
  unit: z.ZodLiteral<"unicode_scalars">;
@@ -786,6 +787,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
786
787
  source: string;
787
788
  }>>>;
788
789
  poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
790
+ lastVendorError: z.ZodOptional<z.ZodString>;
789
791
  harnessId: z.ZodString;
790
792
  profileId: z.ZodNullable<z.ZodString>;
791
793
  profileDisplayName: z.ZodNullable<z.ZodString>;
@@ -810,6 +812,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
810
812
  source: string;
811
813
  }>>;
812
814
  }, "strip", z.ZodTypeAny, {
815
+ lastVendorError?: string | undefined;
813
816
  harnessId: string;
814
817
  profileId: string | null;
815
818
  profileDisplayName: string | null;
@@ -826,6 +829,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
826
829
  source: string;
827
830
  } | null;
828
831
  }, {
832
+ lastVendorError?: string | undefined;
829
833
  harnessId: string;
830
834
  profileId: string | null;
831
835
  profileDisplayName: string | null;
@@ -844,6 +848,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
844
848
  }>, "many">>;
845
849
  nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
846
850
  }, "strip", z.ZodTypeAny, {
851
+ lastVendorError?: string | null | undefined;
847
852
  requestRefusal?: {
848
853
  scope: "turn_text";
849
854
  unit: "unicode_scalars";
@@ -927,6 +932,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
927
932
  source: string;
928
933
  } | null;
929
934
  poolAttempts: {
935
+ lastVendorError?: string | undefined;
930
936
  harnessId: string;
931
937
  profileId: string | null;
932
938
  profileDisplayName: string | null;
@@ -945,6 +951,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
945
951
  }[];
946
952
  nextActions: string[];
947
953
  }, {
954
+ lastVendorError?: string | null | undefined;
948
955
  requestRefusal?: {
949
956
  scope: "turn_text";
950
957
  unit: "unicode_scalars";
@@ -1028,6 +1035,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1028
1035
  source: string;
1029
1036
  } | null | undefined;
1030
1037
  poolAttempts?: {
1038
+ lastVendorError?: string | undefined;
1031
1039
  harnessId: string;
1032
1040
  profileId: string | null;
1033
1041
  profileDisplayName: string | null;
@@ -1458,6 +1466,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1458
1466
  } | undefined;
1459
1467
  }>>>;
1460
1468
  waitingOnUser: z.ZodDefault<z.ZodBoolean>;
1469
+ asyncQuestionsOnly: z.ZodDefault<z.ZodBoolean>;
1461
1470
  processScope: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1462
1471
  settled: z.ZodBoolean;
1463
1472
  coverage: z.ZodEnum<["marker+capture", "marker", "tree_only"]>;
@@ -1723,6 +1732,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1723
1732
  runDir?: string | undefined;
1724
1733
  error?: string | undefined;
1725
1734
  failure: {
1735
+ lastVendorError?: string | null | undefined;
1726
1736
  requestRefusal?: {
1727
1737
  scope: "turn_text";
1728
1738
  unit: "unicode_scalars";
@@ -1806,6 +1816,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1806
1816
  source: string;
1807
1817
  } | null;
1808
1818
  poolAttempts: {
1819
+ lastVendorError?: string | undefined;
1809
1820
  harnessId: string;
1810
1821
  profileId: string | null;
1811
1822
  profileDisplayName: string | null;
@@ -1968,6 +1979,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1968
1979
  } | undefined;
1969
1980
  } | null;
1970
1981
  waitingOnUser: boolean;
1982
+ asyncQuestionsOnly: boolean;
1971
1983
  processScope: {
1972
1984
  settled: boolean;
1973
1985
  coverage: "marker" | "marker+capture" | "tree_only";
@@ -2094,6 +2106,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2094
2106
  runDir?: string | undefined;
2095
2107
  error?: string | undefined;
2096
2108
  failure?: {
2109
+ lastVendorError?: string | null | undefined;
2097
2110
  requestRefusal?: {
2098
2111
  scope: "turn_text";
2099
2112
  unit: "unicode_scalars";
@@ -2177,6 +2190,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2177
2190
  source: string;
2178
2191
  } | null | undefined;
2179
2192
  poolAttempts?: {
2193
+ lastVendorError?: string | undefined;
2180
2194
  harnessId: string;
2181
2195
  profileId: string | null;
2182
2196
  profileDisplayName: string | null;
@@ -2339,6 +2353,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2339
2353
  } | undefined;
2340
2354
  } | null | undefined;
2341
2355
  waitingOnUser?: boolean | undefined;
2356
+ asyncQuestionsOnly?: boolean | undefined;
2342
2357
  processScope?: {
2343
2358
  settled: boolean;
2344
2359
  coverage: "marker" | "marker+capture" | "tree_only";
@@ -2475,6 +2490,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2475
2490
  runDir?: string | undefined;
2476
2491
  error?: string | undefined;
2477
2492
  failure: {
2493
+ lastVendorError?: string | null | undefined;
2478
2494
  requestRefusal?: {
2479
2495
  scope: "turn_text";
2480
2496
  unit: "unicode_scalars";
@@ -2558,6 +2574,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2558
2574
  source: string;
2559
2575
  } | null;
2560
2576
  poolAttempts: {
2577
+ lastVendorError?: string | undefined;
2561
2578
  harnessId: string;
2562
2579
  profileId: string | null;
2563
2580
  profileDisplayName: string | null;
@@ -2720,6 +2737,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2720
2737
  } | undefined;
2721
2738
  } | null;
2722
2739
  waitingOnUser: boolean;
2740
+ asyncQuestionsOnly: boolean;
2723
2741
  processScope: {
2724
2742
  settled: boolean;
2725
2743
  coverage: "marker" | "marker+capture" | "tree_only";
@@ -2850,6 +2868,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2850
2868
  runDir?: string | undefined;
2851
2869
  error?: string | undefined;
2852
2870
  failure?: {
2871
+ lastVendorError?: string | null | undefined;
2853
2872
  requestRefusal?: {
2854
2873
  scope: "turn_text";
2855
2874
  unit: "unicode_scalars";
@@ -2933,6 +2952,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
2933
2952
  source: string;
2934
2953
  } | null | undefined;
2935
2954
  poolAttempts?: {
2955
+ lastVendorError?: string | undefined;
2936
2956
  harnessId: string;
2937
2957
  profileId: string | null;
2938
2958
  profileDisplayName: string | null;
@@ -3095,6 +3115,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
3095
3115
  } | undefined;
3096
3116
  } | null | undefined;
3097
3117
  waitingOnUser?: boolean | undefined;
3118
+ asyncQuestionsOnly?: boolean | undefined;
3098
3119
  processScope?: {
3099
3120
  settled: boolean;
3100
3121
  coverage: "marker" | "marker+capture" | "tree_only";
@@ -1 +1 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEnC,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyC6D,CAAC;AACnG,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEhF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgBsC,CAAC;AAC7E,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
@@ -0,0 +1,96 @@
1
+ import { z } from "zod/v3";
2
+ /** A live interaction awaiting the user's answer (snapshot projection). */
3
+ export declare const ControlPendingInteraction: z.ZodObject<{
4
+ interactionId: z.ZodString;
5
+ runId: z.ZodString;
6
+ attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
7
+ harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
8
+ sourceTool: z.ZodDefault<z.ZodNullable<z.ZodString>>;
9
+ questions: z.ZodDefault<z.ZodArray<z.ZodObject<{
10
+ id: z.ZodString;
11
+ question: z.ZodString;
12
+ header: z.ZodDefault<z.ZodNullable<z.ZodString>>;
13
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
14
+ label: z.ZodString;
15
+ description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ label: string;
18
+ description: string | null;
19
+ }, {
20
+ label: string;
21
+ description?: string | null | undefined;
22
+ }>, "many">>;
23
+ multi_select: z.ZodDefault<z.ZodBoolean>;
24
+ }, "strip", z.ZodTypeAny, {
25
+ id: string;
26
+ question: string;
27
+ header: string | null;
28
+ options: {
29
+ label: string;
30
+ description: string | null;
31
+ }[];
32
+ multi_select: boolean;
33
+ }, {
34
+ id: string;
35
+ question: string;
36
+ header?: string | null | undefined;
37
+ options?: {
38
+ label: string;
39
+ description?: string | null | undefined;
40
+ }[] | undefined;
41
+ multi_select?: boolean | undefined;
42
+ }>, "many">>;
43
+ requestedAt: z.ZodString;
44
+ timeoutAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
45
+ delivery: z.ZodDefault<z.ZodEnum<["blocking", "async"]>>;
46
+ }, "strip", z.ZodTypeAny, {
47
+ interactionId: string;
48
+ runId: string;
49
+ attemptId: string | null;
50
+ harnessId: string | null;
51
+ sourceTool: string | null;
52
+ questions: {
53
+ id: string;
54
+ question: string;
55
+ header: string | null;
56
+ options: {
57
+ label: string;
58
+ description: string | null;
59
+ }[];
60
+ multi_select: boolean;
61
+ }[];
62
+ requestedAt: string;
63
+ timeoutAt: string | null;
64
+ delivery: "async" | "blocking";
65
+ }, {
66
+ interactionId: string;
67
+ runId: string;
68
+ attemptId?: string | null | undefined;
69
+ harnessId?: string | null | undefined;
70
+ sourceTool?: string | null | undefined;
71
+ questions?: {
72
+ id: string;
73
+ question: string;
74
+ header?: string | null | undefined;
75
+ options?: {
76
+ label: string;
77
+ description?: string | null | undefined;
78
+ }[] | undefined;
79
+ multi_select?: boolean | undefined;
80
+ }[] | undefined;
81
+ requestedAt: string;
82
+ timeoutAt?: string | null | undefined;
83
+ delivery?: "async" | "blocking" | undefined;
84
+ }>;
85
+ export type ControlPendingInteraction = z.infer<typeof ControlPendingInteraction>;
86
+ /**
87
+ * The one derivation of a run's question attention from its pending rows:
88
+ * `waitingOnUser` while any question is pending, `asyncQuestionsOnly` while
89
+ * questions are pending and none of them holds the agent. A mixed set is never
90
+ * async-only, so a blocking question cannot hide behind a non-blocking one.
91
+ */
92
+ export declare function pendingQuestionAttention(pending: readonly Pick<ControlPendingInteraction, "delivery">[]): {
93
+ waitingOnUser: boolean;
94
+ asyncQuestionsOnly: boolean;
95
+ };
96
+ //# sourceMappingURL=control-pending-interaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"control-pending-interaction.d.ts","sourceRoot":"","sources":["../src/control-pending-interaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,2EAA2E;AAC3E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BsD,CAAC;AAC7F,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAElF;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,SAAS,IAAI,CAAC,yBAAyB,EAAE,UAAU,CAAC,EAAE,GAC9D;IAAE,aAAa,EAAE,OAAO,CAAC;IAAC,kBAAkB,EAAE,OAAO,CAAA;CAAE,CAMzD"}
@@ -0,0 +1,42 @@
1
+ import { z } from "zod/v3";
2
+ import { InteractionDelivery, InteractionQuestion } from "./harness.js";
3
+ import { Id } from "./primitives.js";
4
+ /** A live interaction awaiting the user's answer (snapshot projection). */
5
+ export const ControlPendingInteraction = z
6
+ .object({
7
+ interactionId: Id.describe("Interaction id used to answer."),
8
+ runId: Id.describe("Run the interaction belongs to."),
9
+ attemptId: z
10
+ .string()
11
+ .nullable()
12
+ .default(null)
13
+ .describe("Attempt the interaction was raised in, when known."),
14
+ harnessId: z.string().nullable().default(null).describe("Harness that raised the interaction."),
15
+ sourceTool: z
16
+ .string()
17
+ .nullable()
18
+ .default(null)
19
+ .describe("Native tool that raised the request."),
20
+ questions: z.array(InteractionQuestion).default([]).describe("Questions awaiting answers."),
21
+ requestedAt: z.string().describe("When the interaction was requested."),
22
+ timeoutAt: z
23
+ .string()
24
+ .nullable()
25
+ .default(null)
26
+ .describe("When the interaction expires unanswered; null = no automatic expiry. A blocking question then declines benignly; an async one closes and nothing is sent."),
27
+ delivery: InteractionDelivery.default("blocking"),
28
+ })
29
+ .describe("A live interactive question awaiting the user's answer (snapshot projection).");
30
+ /**
31
+ * The one derivation of a run's question attention from its pending rows:
32
+ * `waitingOnUser` while any question is pending, `asyncQuestionsOnly` while
33
+ * questions are pending and none of them holds the agent. A mixed set is never
34
+ * async-only, so a blocking question cannot hide behind a non-blocking one.
35
+ */
36
+ export function pendingQuestionAttention(pending) {
37
+ return {
38
+ waitingOnUser: pending.length > 0,
39
+ asyncQuestionsOnly: pending.length > 0 && pending.every((interaction) => interaction.delivery === "async"),
40
+ };
41
+ }
42
+ //# sourceMappingURL=control-pending-interaction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"control-pending-interaction.js","sourceRoot":"","sources":["../src/control-pending-interaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACxE,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAErC,2EAA2E;AAC3E,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC;KACvC,MAAM,CAAC;IACN,aAAa,EAAE,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;IAC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