@wowok/agent-mcp 2.3.16 → 2.3.18

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 (106) hide show
  1. package/dist/customer/index.d.ts +9 -0
  2. package/dist/customer/index.js +9 -0
  3. package/dist/customer/industry-risks.d.ts +4 -0
  4. package/dist/customer/industry-risks.js +14 -0
  5. package/dist/customer/user-preferences.d.ts +3 -0
  6. package/dist/customer/user-preferences.js +9 -0
  7. package/dist/experience/realtime-feedback.js +17 -0
  8. package/dist/index.js +360 -273
  9. package/dist/knowledge/acquisition-flywheel.d.ts +3 -0
  10. package/dist/knowledge/acquisition-flywheel.js +9 -0
  11. package/dist/knowledge/guard-ledger.d.ts +19 -0
  12. package/dist/knowledge/guard-ledger.js +219 -0
  13. package/dist/knowledge/guard-puzzle.d.ts +93 -0
  14. package/dist/knowledge/guard-puzzle.js +278 -0
  15. package/dist/knowledge/guard-risk.d.ts +60 -0
  16. package/dist/knowledge/guard-risk.js +474 -0
  17. package/dist/knowledge/guard-translation.d.ts +46 -0
  18. package/dist/knowledge/guard-translation.js +487 -0
  19. package/dist/knowledge/index.d.ts +13 -0
  20. package/dist/knowledge/index.js +13 -0
  21. package/dist/knowledge/industry-registry.d.ts +1 -2
  22. package/dist/knowledge/industry-registry.js +23 -3
  23. package/dist/knowledge/safety-rules.js +61 -0
  24. package/dist/knowledge/tool-constraints.js +12 -22
  25. package/dist/safety/confirm-gate.d.ts +4 -2
  26. package/dist/safety/confirm-gate.js +48 -4
  27. package/dist/schema/call/allocation.d.ts +24 -14
  28. package/dist/schema/call/arbitration.d.ts +142 -132
  29. package/dist/schema/call/base.d.ts +901 -43
  30. package/dist/schema/call/base.js +66 -2
  31. package/dist/schema/call/bridge-handler.js +15 -2
  32. package/dist/schema/call/bridge.d.ts +769 -1
  33. package/dist/schema/call/bridge.js +37 -0
  34. package/dist/schema/call/contact.d.ts +10 -0
  35. package/dist/schema/call/demand.d.ts +10 -0
  36. package/dist/schema/call/guard.d.ts +76 -46
  37. package/dist/schema/call/handler.js +46 -14
  38. package/dist/schema/call/machine.d.ts +158 -138
  39. package/dist/schema/call/order.d.ts +10 -0
  40. package/dist/schema/call/payment.d.ts +10 -0
  41. package/dist/schema/call/permission.d.ts +232 -222
  42. package/dist/schema/call/personal.d.ts +10 -0
  43. package/dist/schema/call/progress.d.ts +10 -0
  44. package/dist/schema/call/proof.d.ts +20 -0
  45. package/dist/schema/call/repository.d.ts +32 -22
  46. package/dist/schema/call/reward.d.ts +10 -0
  47. package/dist/schema/call/semantic.d.ts +9 -2
  48. package/dist/schema/call/semantic.js +409 -21
  49. package/dist/schema/call/service.d.ts +20 -10
  50. package/dist/schema/call/treasury.d.ts +10 -0
  51. package/dist/schema/config/index.d.ts +18 -0
  52. package/dist/schema/config/index.js +17 -0
  53. package/dist/schema/index.d.ts +6 -0
  54. package/dist/schema/index.js +5 -0
  55. package/dist/schema/local/index.d.ts +9 -9
  56. package/dist/schema/local/index.js +9 -0
  57. package/dist/schema/messenger/index.d.ts +350 -29
  58. package/dist/schema/messenger/index.js +17 -17
  59. package/dist/schema/operations.d.ts +1667 -545
  60. package/dist/schema/operations.js +91 -96
  61. package/dist/schema/project/index.d.ts +21 -0
  62. package/dist/schema/project/index.js +32 -0
  63. package/dist/schema/query/index.d.ts +1074 -168
  64. package/dist/schema/query/index.js +8 -8
  65. package/dist/schema/schema-query/index.d.ts +33 -0
  66. package/dist/schema/schema-query/index.js +36 -0
  67. package/dist/schema/schema-version.d.ts +25 -0
  68. package/dist/schema/schema-version.js +76 -0
  69. package/dist/schema/trust/index.d.ts +407 -0
  70. package/dist/schema/trust/index.js +113 -0
  71. package/dist/schemas/bridge_operation.output.json +224 -0
  72. package/dist/schemas/bridge_operation.schema.json +67 -8
  73. package/dist/schemas/config_operation.output.json +18 -0
  74. package/dist/schemas/config_operation.schema.json +34 -0
  75. package/dist/schemas/guard-node-schema.json +82 -0
  76. package/dist/schemas/guard2file.schema.json +8 -0
  77. package/dist/schemas/index.json +19 -1
  78. package/dist/schemas/machineNode2file.schema.json +8 -0
  79. package/dist/schemas/messenger_operation.output.json +224 -0
  80. package/dist/schemas/onchain_events.output.json +718 -0
  81. package/dist/schemas/onchain_operations.output.json +277 -2
  82. package/dist/schemas/onchain_operations.schema.json +19 -16
  83. package/dist/schemas/onchain_operations_allocation.schema.json +8 -0
  84. package/dist/schemas/onchain_operations_arbitration.schema.json +8 -0
  85. package/dist/schemas/onchain_operations_contact.schema.json +8 -0
  86. package/dist/schemas/onchain_operations_demand.schema.json +8 -0
  87. package/dist/schemas/onchain_operations_gen_passport.schema.json +16 -0
  88. package/dist/schemas/onchain_operations_guard.schema.json +11 -16
  89. package/dist/schemas/onchain_operations_machine.schema.json +8 -0
  90. package/dist/schemas/onchain_operations_order.schema.json +8 -0
  91. package/dist/schemas/onchain_operations_payment.schema.json +8 -0
  92. package/dist/schemas/onchain_operations_permission.schema.json +8 -0
  93. package/dist/schemas/onchain_operations_personal.schema.json +8 -0
  94. package/dist/schemas/onchain_operations_progress.schema.json +8 -0
  95. package/dist/schemas/onchain_operations_repository.schema.json +8 -0
  96. package/dist/schemas/onchain_operations_reward.schema.json +8 -0
  97. package/dist/schemas/onchain_operations_service.schema.json +8 -0
  98. package/dist/schemas/onchain_operations_treasury.schema.json +8 -0
  99. package/dist/schemas/onchain_table_data.output.json +718 -0
  100. package/dist/schemas/project_operation.output.json +18 -0
  101. package/dist/schemas/project_operation.schema.json +42 -0
  102. package/dist/schemas/query_toolkit.schema.json +360 -368
  103. package/dist/schemas/schema_query.schema.json +6 -3
  104. package/dist/schemas/trust_score.output.json +327 -0
  105. package/dist/schemas/trust_score.schema.json +46 -0
  106. package/package.json +2 -2
@@ -150,6 +150,67 @@ export const CONFIRMATION_RULES = [
150
150
  "用默认账户即可",
151
151
  ],
152
152
  },
153
+ {
154
+ id: "guard_create_immutable",
155
+ when: (ot, data, _env) => {
156
+ if (ot === "guard")
157
+ return true;
158
+ return false;
159
+ },
160
+ level: "irreversible",
161
+ preview: (ot, data, env) => {
162
+ const table = data?.table ?? [];
163
+ const root = data?.root;
164
+ const rely = data?.rely;
165
+ const rootType = typeof root === 'object' && root !== null && 'type' in root
166
+ ? root.type
167
+ : typeof root === 'object' && root !== null && 'type' in root && root.type === 'file'
168
+ ? 'file'
169
+ : 'unknown';
170
+ const immutable_fields = ['table', 'root'];
171
+ if (rely)
172
+ immutable_fields.push('rely');
173
+ return {
174
+ level: "irreversible",
175
+ operation: ot,
176
+ object: data?.namedNew?.name,
177
+ network: env?.network,
178
+ account: env?.account ?? "",
179
+ immutable_after: immutable_fields,
180
+ irreversible: true,
181
+ warnings: [
182
+ ...collectDefaultWarnings(env, data),
183
+ `Guard is CREATE-only and immutable — cannot be edited or deleted after creation`,
184
+ `Table entries: ${table.length} (max 256)`,
185
+ `Root node type: ${rootType} (must return Bool)`,
186
+ ...(rely ? [`Rely dependencies: ${rely.guards?.length ?? 0} (max 4, AND/OR logic)`] : []),
187
+ `To modify later: export via guard2file → edit → CREATE new → rebind`,
188
+ ],
189
+ };
190
+ },
191
+ bypass_on_explicit_intent: [],
192
+ },
193
+ {
194
+ id: "guard_gen_passport_test",
195
+ when: (ot, _data, _env) => {
196
+ if (ot === "gen_passport")
197
+ return true;
198
+ return false;
199
+ },
200
+ level: "standard",
201
+ preview: (ot, data, env) => ({
202
+ level: "standard",
203
+ operation: ot,
204
+ object: data?.guard,
205
+ network: env?.network,
206
+ account: env?.account ?? "",
207
+ warnings: [
208
+ ...collectDefaultWarnings(env, data),
209
+ "gen_passport will consume gas for static testing",
210
+ ],
211
+ }),
212
+ bypass_on_explicit_intent: ["test guard", "测试 guard", "gen passport", "生成 passport"],
213
+ },
153
214
  ];
154
215
  function extractAmount(data) {
155
216
  if (!data)
@@ -26,10 +26,16 @@ export const TOOL_CONSTRAINTS = [
26
26
  constraints: [
27
27
  {
28
28
  field: "node.nodes",
29
- description: "Machine must have at least one node",
30
- severity: "error",
31
- check: (d) => Array.isArray(d?.node?.nodes) && d.node.nodes.length > 0,
32
- message: () => "Machine has no nodes. A workflow template requires at least one node.",
29
+ description: "Machine should have at least one node when published",
30
+ severity: "warning",
31
+ check: (d) => {
32
+ if (typeof d?.object === "string")
33
+ return true;
34
+ if (!d?.publish)
35
+ return true;
36
+ return Array.isArray(d?.node?.nodes) && d.node.nodes.length > 0;
37
+ },
38
+ message: () => "Publishing a Machine without nodes — a workflow template requires at least one node. Consider adding nodes before publish, or publish later after adding nodes.",
33
39
  },
34
40
  ],
35
41
  },
@@ -55,15 +61,7 @@ export const TOOL_CONSTRAINTS = [
55
61
  },
56
62
  {
57
63
  operation_type: "order",
58
- constraints: [
59
- {
60
- field: "service",
61
- description: "Order must reference a service",
62
- severity: "error",
63
- check: (d) => !!d?.service,
64
- message: () => "Order requires a 'service' field pointing to the service being ordered.",
65
- },
66
- ],
64
+ constraints: [],
67
65
  },
68
66
  {
69
67
  operation_type: "reward",
@@ -120,15 +118,7 @@ export const TOOL_CONSTRAINTS = [
120
118
  },
121
119
  {
122
120
  operation_type: "progress",
123
- constraints: [
124
- {
125
- field: "parent",
126
- description: "Progress must reference a parent machine",
127
- severity: "error",
128
- check: (d) => !!d?.parent,
129
- message: () => "Progress requires a 'parent' field pointing to the Machine.",
130
- },
131
- ],
121
+ constraints: [],
132
122
  },
133
123
  ];
134
124
  const CONSTRAINT_INDEX = new Map(TOOL_CONSTRAINTS.map((c) => [c.operation_type, c]));
@@ -1,14 +1,16 @@
1
1
  import type { CallEnv } from "../schema/call/base.js";
2
- import { type ConfirmationRule, type OperationPreview } from "../knowledge/safety-rules.js";
2
+ import { type ConfirmLevel, type OperationPreview } from "../knowledge/safety-rules.js";
3
3
  export declare function isConfirmGateEnabled(): boolean;
4
+ export type FailMode = "open" | "closed";
4
5
  export type ConfirmResult = {
5
6
  pass: true;
6
7
  } | {
7
8
  pass: false;
8
- level: ConfirmationRule["level"];
9
+ level: ConfirmLevel;
9
10
  preview: OperationPreview;
10
11
  rule_id: string;
11
12
  };
13
+ export declare function getFailMode(level: ConfirmLevel): FailMode;
12
14
  export declare function confirmGate(operation_type: string, data: any, env: any, userIntentPhrases?: string[]): ConfirmResult;
13
15
  export declare function isExplicitlyConfirmed(env: CallEnv & {
14
16
  confirmed?: boolean;
@@ -3,24 +3,64 @@ import { isEnabled as isRuntimeEnabled } from "../config/index.js";
3
3
  export function isConfirmGateEnabled() {
4
4
  return isRuntimeEnabled("confirm_gate");
5
5
  }
6
+ const internalErrorCounts = {};
7
+ function logInternalError(context, error) {
8
+ const key = context;
9
+ internalErrorCounts[key] = (internalErrorCounts[key] ?? 0) + 1;
10
+ const count = internalErrorCounts[key];
11
+ console.warn(`[ConfirmGate] internal_error context="${context}" count=${count} error=${error instanceof Error ? error.message : String(error)}`);
12
+ }
13
+ export function getFailMode(level) {
14
+ switch (level) {
15
+ case "irreversible":
16
+ case "publish":
17
+ case "amount":
18
+ return "closed";
19
+ case "standard":
20
+ case "none":
21
+ default:
22
+ return "open";
23
+ }
24
+ }
25
+ function buildInternalErrorResult() {
26
+ return {
27
+ pass: false,
28
+ level: "irreversible",
29
+ preview: {
30
+ level: "irreversible",
31
+ operation: "unknown",
32
+ irreversible: true,
33
+ },
34
+ rule_id: "internal_error",
35
+ };
36
+ }
6
37
  export function confirmGate(operation_type, data, env, userIntentPhrases) {
7
38
  if (!isConfirmGateEnabled())
8
39
  return { pass: true };
9
40
  if (env?.confirmed === true)
10
41
  return { pass: true };
11
42
  let matched;
43
+ let ruleSearchError = null;
12
44
  try {
13
45
  matched = CONFIRMATION_RULES.find((r) => {
14
46
  try {
15
47
  return r.when(operation_type, data, env);
16
48
  }
17
- catch {
49
+ catch (e) {
50
+ logInternalError(`rule_when:${r.id}`, e);
51
+ if (getFailMode(r.level) === "closed") {
52
+ throw e;
53
+ }
18
54
  return false;
19
55
  }
20
56
  });
21
57
  }
22
- catch {
23
- return { pass: true };
58
+ catch (e) {
59
+ ruleSearchError = e;
60
+ }
61
+ if (ruleSearchError) {
62
+ logInternalError("rule_search", ruleSearchError);
63
+ return buildInternalErrorResult();
24
64
  }
25
65
  if (!matched)
26
66
  return { pass: true };
@@ -34,7 +74,11 @@ export function confirmGate(operation_type, data, env, userIntentPhrases) {
34
74
  try {
35
75
  preview = matched.preview(operation_type, data, env);
36
76
  }
37
- catch {
77
+ catch (e) {
78
+ logInternalError(`rule_preview:${matched.id}`, e);
79
+ if (getFailMode(matched.level) === "closed") {
80
+ return buildInternalErrorResult();
81
+ }
38
82
  return { pass: true };
39
83
  }
40
84
  return { pass: false, level: matched.level, preview, rule_id: matched.id };
@@ -130,6 +130,7 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
130
130
  }>, "many">;
131
131
  }, "strip", z.ZodTypeAny, {
132
132
  description: string;
133
+ threshold: string | number;
133
134
  allocators: {
134
135
  guard: string;
135
136
  sharing: {
@@ -149,9 +150,9 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
149
150
  max?: string | number | null | undefined;
150
151
  fix?: string | number | undefined;
151
152
  }[];
152
- threshold: string | number;
153
153
  }, {
154
154
  description: string;
155
+ threshold: string | number;
155
156
  allocators: {
156
157
  guard: string;
157
158
  sharing: {
@@ -171,7 +172,6 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
171
172
  max?: string | number | null | undefined;
172
173
  fix?: string | number | undefined;
173
174
  }[];
174
- threshold: string | number;
175
175
  }>;
176
176
  coin: z.ZodUnion<[z.ZodObject<{
177
177
  balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
@@ -217,6 +217,7 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
217
217
  };
218
218
  allocators: {
219
219
  description: string;
220
+ threshold: string | number;
220
221
  allocators: {
221
222
  guard: string;
222
223
  sharing: {
@@ -236,7 +237,6 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
236
237
  max?: string | number | null | undefined;
237
238
  fix?: string | number | undefined;
238
239
  }[];
239
- threshold: string | number;
240
240
  };
241
241
  payment_info: {
242
242
  index: string | number;
@@ -259,6 +259,7 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
259
259
  };
260
260
  allocators: {
261
261
  description: string;
262
+ threshold: string | number;
262
263
  allocators: {
263
264
  guard: string;
264
265
  sharing: {
@@ -278,7 +279,6 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
278
279
  max?: string | number | null | undefined;
279
280
  fix?: string | number | undefined;
280
281
  }[];
281
- threshold: string | number;
282
282
  };
283
283
  payment_info: {
284
284
  index: string | number;
@@ -479,6 +479,7 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
479
479
  }>, "many">;
480
480
  }, "strip", z.ZodTypeAny, {
481
481
  description: string;
482
+ threshold: string | number;
482
483
  allocators: {
483
484
  guard: string;
484
485
  sharing: {
@@ -498,9 +499,9 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
498
499
  max?: string | number | null | undefined;
499
500
  fix?: string | number | undefined;
500
501
  }[];
501
- threshold: string | number;
502
502
  }, {
503
503
  description: string;
504
+ threshold: string | number;
504
505
  allocators: {
505
506
  guard: string;
506
507
  sharing: {
@@ -520,7 +521,6 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
520
521
  max?: string | number | null | undefined;
521
522
  fix?: string | number | undefined;
522
523
  }[];
523
- threshold: string | number;
524
524
  }>;
525
525
  coin: z.ZodUnion<[z.ZodObject<{
526
526
  balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
@@ -566,6 +566,7 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
566
566
  };
567
567
  allocators: {
568
568
  description: string;
569
+ threshold: string | number;
569
570
  allocators: {
570
571
  guard: string;
571
572
  sharing: {
@@ -585,7 +586,6 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
585
586
  max?: string | number | null | undefined;
586
587
  fix?: string | number | undefined;
587
588
  }[];
588
- threshold: string | number;
589
589
  };
590
590
  payment_info: {
591
591
  index: string | number;
@@ -608,6 +608,7 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
608
608
  };
609
609
  allocators: {
610
610
  description: string;
611
+ threshold: string | number;
611
612
  allocators: {
612
613
  guard: string;
613
614
  sharing: {
@@ -627,7 +628,6 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<[z.ZodObject<{
627
628
  max?: string | number | null | undefined;
628
629
  fix?: string | number | undefined;
629
630
  }[];
630
- threshold: string | number;
631
631
  };
632
632
  payment_info: {
633
633
  index: string | number;
@@ -828,6 +828,7 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
828
828
  }>, "many">;
829
829
  }, "strip", z.ZodTypeAny, {
830
830
  description: string;
831
+ threshold: string | number;
831
832
  allocators: {
832
833
  guard: string;
833
834
  sharing: {
@@ -847,9 +848,9 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
847
848
  max?: string | number | null | undefined;
848
849
  fix?: string | number | undefined;
849
850
  }[];
850
- threshold: string | number;
851
851
  }, {
852
852
  description: string;
853
+ threshold: string | number;
853
854
  allocators: {
854
855
  guard: string;
855
856
  sharing: {
@@ -869,7 +870,6 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
869
870
  max?: string | number | null | undefined;
870
871
  fix?: string | number | undefined;
871
872
  }[];
872
- threshold: string | number;
873
873
  }>;
874
874
  coin: z.ZodUnion<[z.ZodObject<{
875
875
  balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
@@ -915,6 +915,7 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
915
915
  };
916
916
  allocators: {
917
917
  description: string;
918
+ threshold: string | number;
918
919
  allocators: {
919
920
  guard: string;
920
921
  sharing: {
@@ -934,7 +935,6 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
934
935
  max?: string | number | null | undefined;
935
936
  fix?: string | number | undefined;
936
937
  }[];
937
- threshold: string | number;
938
938
  };
939
939
  payment_info: {
940
940
  index: string | number;
@@ -957,6 +957,7 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
957
957
  };
958
958
  allocators: {
959
959
  description: string;
960
+ threshold: string | number;
960
961
  allocators: {
961
962
  guard: string;
962
963
  sharing: {
@@ -976,7 +977,6 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
976
977
  max?: string | number | null | undefined;
977
978
  fix?: string | number | undefined;
978
979
  }[];
979
- threshold: string | number;
980
980
  };
981
981
  payment_info: {
982
982
  index: string | number;
@@ -1054,6 +1054,8 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1054
1054
  confirmed: z.ZodOptional<z.ZodBoolean>;
1055
1055
  user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1056
1056
  project: z.ZodOptional<z.ZodString>;
1057
+ client_schema_version: z.ZodOptional<z.ZodString>;
1058
+ schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
1057
1059
  }, "strict", z.ZodTypeAny, {
1058
1060
  account: string;
1059
1061
  no_cache?: boolean | undefined;
@@ -1063,6 +1065,8 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1063
1065
  confirmed?: boolean | undefined;
1064
1066
  user_intent_phrases?: string[] | undefined;
1065
1067
  project?: string | undefined;
1068
+ client_schema_version?: string | undefined;
1069
+ schema_strict_mode?: boolean | undefined;
1066
1070
  }, {
1067
1071
  no_cache?: boolean | undefined;
1068
1072
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
@@ -1072,6 +1076,8 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1072
1076
  confirmed?: boolean | undefined;
1073
1077
  user_intent_phrases?: string[] | undefined;
1074
1078
  project?: string | undefined;
1079
+ client_schema_version?: string | undefined;
1080
+ schema_strict_mode?: boolean | undefined;
1075
1081
  }>>;
1076
1082
  submission: z.ZodOptional<z.ZodObject<{
1077
1083
  type: z.ZodLiteral<"submission">;
@@ -1269,6 +1275,7 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1269
1275
  };
1270
1276
  allocators: {
1271
1277
  description: string;
1278
+ threshold: string | number;
1272
1279
  allocators: {
1273
1280
  guard: string;
1274
1281
  sharing: {
@@ -1288,7 +1295,6 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1288
1295
  max?: string | number | null | undefined;
1289
1296
  fix?: string | number | undefined;
1290
1297
  }[];
1291
- threshold: string | number;
1292
1298
  };
1293
1299
  payment_info: {
1294
1300
  index: string | number;
@@ -1345,6 +1351,8 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1345
1351
  confirmed?: boolean | undefined;
1346
1352
  user_intent_phrases?: string[] | undefined;
1347
1353
  project?: string | undefined;
1354
+ client_schema_version?: string | undefined;
1355
+ schema_strict_mode?: boolean | undefined;
1348
1356
  } | undefined;
1349
1357
  }, {
1350
1358
  data: {
@@ -1362,6 +1370,7 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1362
1370
  };
1363
1371
  allocators: {
1364
1372
  description: string;
1373
+ threshold: string | number;
1365
1374
  allocators: {
1366
1375
  guard: string;
1367
1376
  sharing: {
@@ -1381,7 +1390,6 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1381
1390
  max?: string | number | null | undefined;
1382
1391
  fix?: string | number | undefined;
1383
1392
  }[];
1384
- threshold: string | number;
1385
1393
  };
1386
1394
  payment_info: {
1387
1395
  index: string | number;
@@ -1438,6 +1446,8 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1438
1446
  confirmed?: boolean | undefined;
1439
1447
  user_intent_phrases?: string[] | undefined;
1440
1448
  project?: string | undefined;
1449
+ client_schema_version?: string | undefined;
1450
+ schema_strict_mode?: boolean | undefined;
1441
1451
  } | undefined;
1442
1452
  }>;
1443
1453
  export type CallAllocation_Create = z.infer<typeof CallAllocation_CreateSchema>;