@wowok/agent-mcp 2.6.0 → 2.6.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.
- package/README.md +5 -3
- package/dist/extensions/capability-manifest.d.ts +125 -0
- package/dist/extensions/capability-manifest.js +594 -0
- package/dist/extensions/constraint-registry.d.ts +24 -0
- package/dist/extensions/constraint-registry.js +196 -0
- package/dist/extensions/index.d.ts +12 -0
- package/dist/extensions/index.js +6 -0
- package/dist/extensions/metric-registry.d.ts +26 -0
- package/dist/extensions/metric-registry.js +257 -0
- package/dist/extensions/mode-evaluator.d.ts +15 -0
- package/dist/extensions/mode-evaluator.js +170 -0
- package/dist/extensions/modes.d.ts +2 -0
- package/dist/extensions/modes.js +407 -0
- package/dist/extensions/registry.d.ts +48 -0
- package/dist/extensions/registry.js +629 -0
- package/dist/extensions/types.d.ts +218 -0
- package/dist/extensions/types.js +1 -0
- package/dist/knowledge/deployment-scanner.d.ts +3 -0
- package/dist/knowledge/deployment-scanner.js +64 -3
- package/dist/knowledge/guard-risk.d.ts +13 -0
- package/dist/knowledge/guard-risk.js +57 -0
- package/dist/knowledge/guard-templates.js +278 -0
- package/dist/knowledge/machine-templates.js +20 -1
- package/dist/knowledge/service-confirm.d.ts +14 -5
- package/dist/knowledge/service-confirm.js +116 -8
- package/dist/knowledge/tool-constraints.js +6 -2
- package/dist/project/deployment-bridge.d.ts +1 -1
- package/dist/project/deployment-bridge.js +27 -4
- package/dist/project/deployment-doc.d.ts +3 -0
- package/dist/project/deployment-doc.js +72 -10
- package/dist/project/evaluation.d.ts +2 -0
- package/dist/project/evaluation.js +569 -84
- package/dist/project/graph-builder.d.ts +4 -1
- package/dist/project/graph-builder.js +126 -61
- package/dist/project/graph.d.ts +1 -0
- package/dist/project/handlers.d.ts +219 -5
- package/dist/project/handlers.js +819 -9
- package/dist/project/stage-gate.d.ts +4 -0
- package/dist/project/stage-gate.js +64 -5
- package/dist/project/task-tracker.d.ts +26 -0
- package/dist/project/task-tracker.js +78 -0
- package/dist/safety/preview.js +16 -0
- package/dist/schema/call/allocation.d.ts +16 -16
- package/dist/schema/call/base.d.ts +21 -13
- package/dist/schema/call/base.js +27 -6
- package/dist/schema/call/bridge.d.ts +5 -5
- package/dist/schema/call/bridge.js +3 -1
- package/dist/schema/call/demand.d.ts +23 -31
- package/dist/schema/call/guard.js +1 -1
- package/dist/schema/call/machine.d.ts +402 -376
- package/dist/schema/call/order.d.ts +149 -228
- package/dist/schema/call/order.js +7 -3
- package/dist/schema/call/payment.d.ts +183 -3
- package/dist/schema/call/payment.js +21 -3
- package/dist/schema/call/personal.d.ts +241 -52
- package/dist/schema/call/progress.d.ts +53 -61
- package/dist/schema/call/progress.js +18 -4
- package/dist/schema/call/repository.d.ts +23 -31
- package/dist/schema/call/semantic.d.ts +1 -1
- package/dist/schema/call/semantic.js +30 -1
- package/dist/schema/call/service.d.ts +95 -119
- package/dist/schema/call/service.js +22 -1
- package/dist/schema/common/index.d.ts +11 -2
- package/dist/schema/common/index.js +43 -14
- package/dist/schema/local/index.d.ts +32 -35
- package/dist/schema/local/index.js +23 -5
- package/dist/schema/messenger/index.d.ts +274 -46
- package/dist/schema/operations.d.ts +680 -539
- package/dist/schema/operations.js +22 -0
- package/dist/schema/project/index.d.ts +1796 -80
- package/dist/schema/project/index.js +304 -14
- package/dist/schema/query/index.d.ts +705 -349
- package/dist/schema/query/index.js +164 -31
- package/dist/schema/schema-query/index.d.ts +15 -3
- package/dist/schema/schema-query/index.js +23 -5
- package/dist/schema/utils/node-parser.js +7 -4
- package/dist/schema-query/index.d.ts +7 -1
- package/dist/schema-query/index.js +204 -4
- package/dist/schemas/account_operation.output.json +7 -1
- package/dist/schemas/account_operation.schema.json +2 -2
- package/dist/schemas/bridge_operation.output.json +6 -0
- package/dist/schemas/bridge_operation.schema.json +1 -1
- package/dist/schemas/guard-templates.json +379 -0
- package/dist/schemas/guard2file.schema.json +1 -1
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/local_info_operation.output.json +6 -0
- package/dist/schemas/local_mark_operation.output.json +7 -1
- package/dist/schemas/local_mark_operation.schema.json +1 -1
- package/dist/schemas/machineNode2file.schema.json +1 -1
- package/dist/schemas/messenger_operation.schema.json +4 -4
- package/dist/schemas/onchain_events.output.json +1 -1
- package/dist/schemas/onchain_operations.schema.json +348 -296
- package/dist/schemas/onchain_operations_allocation.schema.json +34 -25
- package/dist/schemas/onchain_operations_arbitration.schema.json +8 -8
- package/dist/schemas/onchain_operations_contact.schema.json +8 -8
- package/dist/schemas/onchain_operations_demand.schema.json +8 -8
- package/dist/schemas/onchain_operations_gen_passport.schema.json +14 -14
- package/dist/schemas/onchain_operations_gen_proof.schema.json +2 -2
- package/dist/schemas/onchain_operations_guard.schema.json +1 -1
- package/dist/schemas/onchain_operations_machine.schema.json +41 -33
- package/dist/schemas/onchain_operations_order.schema.json +71 -77
- package/dist/schemas/onchain_operations_payment.schema.json +141 -111
- package/dist/schemas/onchain_operations_permission.schema.json +2 -2
- package/dist/schemas/onchain_operations_personal.schema.json +7 -7
- package/dist/schemas/onchain_operations_progress.schema.json +8 -8
- package/dist/schemas/onchain_operations_proof.schema.json +7 -7
- package/dist/schemas/onchain_operations_repository.schema.json +8 -8
- package/dist/schemas/onchain_operations_reward.schema.json +10 -10
- package/dist/schemas/onchain_operations_service.schema.json +46 -35
- package/dist/schemas/onchain_operations_treasury.schema.json +8 -8
- package/dist/schemas/onchain_table_data.output.json +33 -25
- package/dist/schemas/onchain_table_data.schema.json +12 -12
- package/dist/schemas/project_operation.output.json +1175 -23
- package/dist/schemas/project_operation.schema.json +40 -4
- package/dist/schemas/query_toolkit.output.json +104 -76
- package/dist/schemas/query_toolkit.schema.json +9 -9
- package/dist/schemas/schema_query.output.json +7 -3
- package/dist/schemas/schema_query.schema.json +17 -3
- package/dist/tools/handlers/local.js +20 -5
- package/dist/tools/handlers/onchain.js +23 -0
- package/dist/tools/handlers/project.js +52 -3
- package/dist/tools/handlers/query.js +27 -0
- package/dist/tools/handlers/schema-query.js +19 -0
- package/dist/tools/handlers/task-status.d.ts +170 -0
- package/dist/tools/handlers/task-status.js +55 -0
- package/dist/tools/handlers/wip.js +47 -1
- package/dist/tools/index.js +211 -7
- package/dist/tools/retry.d.ts +8 -0
- package/dist/tools/retry.js +85 -0
- package/dist/tools/wip-deploy-assist.d.ts +28 -0
- package/dist/tools/wip-deploy-assist.js +278 -0
- package/package.json +2 -2
- package/dist/schemas/guard-node-examples.md +0 -199
|
@@ -60,7 +60,7 @@ export declare const CallOrder_DataSchema: z.ZodObject<{
|
|
|
60
60
|
check_all_founded?: boolean | undefined;
|
|
61
61
|
}>>;
|
|
62
62
|
required_info: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
|
|
63
|
-
progress: z.ZodOptional<z.ZodObject<{
|
|
63
|
+
progress: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
64
64
|
operation: z.ZodObject<{
|
|
65
65
|
next_node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
66
66
|
forward: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -87,7 +87,14 @@ export declare const CallOrder_DataSchema: z.ZodObject<{
|
|
|
87
87
|
next_node_name: string;
|
|
88
88
|
};
|
|
89
89
|
message?: string | undefined;
|
|
90
|
-
}
|
|
90
|
+
}>, {
|
|
91
|
+
op: "next" | "hold" | "unhold" | "adminUnhold";
|
|
92
|
+
operation: {
|
|
93
|
+
forward: string;
|
|
94
|
+
next_node_name: string;
|
|
95
|
+
};
|
|
96
|
+
message?: string | undefined;
|
|
97
|
+
}, unknown>>;
|
|
91
98
|
arb_confirm: z.ZodOptional<z.ZodObject<{
|
|
92
99
|
arb: z.ZodEffects<z.ZodString, string, string>;
|
|
93
100
|
confirm: z.ZodBoolean;
|
|
@@ -121,81 +128,51 @@ export declare const CallOrder_DataSchema: z.ZodObject<{
|
|
|
121
128
|
}, {
|
|
122
129
|
arb: string;
|
|
123
130
|
}>>;
|
|
124
|
-
receive: z.ZodOptional<z.ZodObject<{
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}>, "many">;
|
|
141
|
-
}, "strict", z.ZodTypeAny, {
|
|
142
|
-
received: {
|
|
143
|
-
id: string;
|
|
144
|
-
balance: string | number;
|
|
145
|
-
payment: string;
|
|
146
|
-
}[];
|
|
147
|
-
balance: string | number;
|
|
148
|
-
token_type: string;
|
|
149
|
-
}, {
|
|
150
|
-
received: {
|
|
151
|
-
id: string;
|
|
152
|
-
balance: string | number;
|
|
153
|
-
payment: string;
|
|
154
|
-
}[];
|
|
155
|
-
balance: string | number;
|
|
156
|
-
token_type: string;
|
|
157
|
-
}>, z.ZodArray<z.ZodObject<{
|
|
131
|
+
receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
132
|
+
id: z.ZodString;
|
|
133
|
+
type: z.ZodString;
|
|
134
|
+
content_raw: z.ZodOptional<z.ZodAny>;
|
|
135
|
+
}, "strict", z.ZodTypeAny, {
|
|
136
|
+
type: string;
|
|
137
|
+
id: string;
|
|
138
|
+
content_raw?: any;
|
|
139
|
+
}, {
|
|
140
|
+
type: string;
|
|
141
|
+
id: string;
|
|
142
|
+
content_raw?: any;
|
|
143
|
+
}>, "many">, z.ZodObject<{
|
|
144
|
+
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
145
|
+
token_type: z.ZodEffects<z.ZodString, string, string>;
|
|
146
|
+
received: z.ZodArray<z.ZodObject<{
|
|
158
147
|
id: z.ZodString;
|
|
159
|
-
|
|
160
|
-
|
|
148
|
+
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
149
|
+
payment: z.ZodString;
|
|
161
150
|
}, "strict", z.ZodTypeAny, {
|
|
162
|
-
type: string;
|
|
163
151
|
id: string;
|
|
164
|
-
|
|
152
|
+
balance: string | number;
|
|
153
|
+
payment: string;
|
|
165
154
|
}, {
|
|
166
|
-
type: string;
|
|
167
155
|
id: string;
|
|
168
|
-
content_raw?: any;
|
|
169
|
-
}>, "many">]>;
|
|
170
|
-
}, "strict", z.ZodTypeAny, {
|
|
171
|
-
result: {
|
|
172
|
-
received: {
|
|
173
|
-
id: string;
|
|
174
|
-
balance: string | number;
|
|
175
|
-
payment: string;
|
|
176
|
-
}[];
|
|
177
156
|
balance: string | number;
|
|
178
|
-
|
|
179
|
-
}
|
|
180
|
-
|
|
157
|
+
payment: string;
|
|
158
|
+
}>, "many">;
|
|
159
|
+
}, "strict", z.ZodTypeAny, {
|
|
160
|
+
received: {
|
|
181
161
|
id: string;
|
|
182
|
-
|
|
162
|
+
balance: string | number;
|
|
163
|
+
payment: string;
|
|
183
164
|
}[];
|
|
165
|
+
balance: string | number;
|
|
166
|
+
token_type: string;
|
|
184
167
|
}, {
|
|
185
|
-
|
|
186
|
-
received: {
|
|
187
|
-
id: string;
|
|
188
|
-
balance: string | number;
|
|
189
|
-
payment: string;
|
|
190
|
-
}[];
|
|
191
|
-
balance: string | number;
|
|
192
|
-
token_type: string;
|
|
193
|
-
} | {
|
|
194
|
-
type: string;
|
|
168
|
+
received: {
|
|
195
169
|
id: string;
|
|
196
|
-
|
|
170
|
+
balance: string | number;
|
|
171
|
+
payment: string;
|
|
197
172
|
}[];
|
|
198
|
-
|
|
173
|
+
balance: string | number;
|
|
174
|
+
token_type: string;
|
|
175
|
+
}>, z.ZodLiteral<"recently">]>>;
|
|
199
176
|
transfer_to: z.ZodOptional<z.ZodObject<{
|
|
200
177
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
201
178
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -217,20 +194,18 @@ export declare const CallOrder_DataSchema: z.ZodObject<{
|
|
|
217
194
|
message?: string | undefined;
|
|
218
195
|
} | undefined;
|
|
219
196
|
receive?: {
|
|
220
|
-
|
|
221
|
-
received: {
|
|
222
|
-
id: string;
|
|
223
|
-
balance: string | number;
|
|
224
|
-
payment: string;
|
|
225
|
-
}[];
|
|
226
|
-
balance: string | number;
|
|
227
|
-
token_type: string;
|
|
228
|
-
} | {
|
|
229
|
-
type: string;
|
|
197
|
+
received: {
|
|
230
198
|
id: string;
|
|
231
|
-
|
|
199
|
+
balance: string | number;
|
|
200
|
+
payment: string;
|
|
232
201
|
}[];
|
|
233
|
-
|
|
202
|
+
balance: string | number;
|
|
203
|
+
token_type: string;
|
|
204
|
+
} | "recently" | {
|
|
205
|
+
type: string;
|
|
206
|
+
id: string;
|
|
207
|
+
content_raw?: any;
|
|
208
|
+
}[] | undefined;
|
|
234
209
|
agent?: {
|
|
235
210
|
entities: {
|
|
236
211
|
name_or_address?: string | undefined;
|
|
@@ -258,29 +233,20 @@ export declare const CallOrder_DataSchema: z.ZodObject<{
|
|
|
258
233
|
} | undefined;
|
|
259
234
|
}, {
|
|
260
235
|
object: string;
|
|
261
|
-
progress?:
|
|
262
|
-
op: "next" | "hold" | "unhold" | "adminUnhold";
|
|
263
|
-
operation: {
|
|
264
|
-
forward: string;
|
|
265
|
-
next_node_name: string;
|
|
266
|
-
};
|
|
267
|
-
message?: string | undefined;
|
|
268
|
-
} | undefined;
|
|
236
|
+
progress?: unknown;
|
|
269
237
|
receive?: {
|
|
270
|
-
|
|
271
|
-
received: {
|
|
272
|
-
id: string;
|
|
273
|
-
balance: string | number;
|
|
274
|
-
payment: string;
|
|
275
|
-
}[];
|
|
276
|
-
balance: string | number;
|
|
277
|
-
token_type: string;
|
|
278
|
-
} | {
|
|
279
|
-
type: string;
|
|
238
|
+
received: {
|
|
280
239
|
id: string;
|
|
281
|
-
|
|
240
|
+
balance: string | number;
|
|
241
|
+
payment: string;
|
|
282
242
|
}[];
|
|
283
|
-
|
|
243
|
+
balance: string | number;
|
|
244
|
+
token_type: string;
|
|
245
|
+
} | "recently" | {
|
|
246
|
+
type: string;
|
|
247
|
+
id: string;
|
|
248
|
+
content_raw?: any;
|
|
249
|
+
}[] | undefined;
|
|
284
250
|
agent?: {
|
|
285
251
|
entities: {
|
|
286
252
|
name_or_address?: string | undefined;
|
|
@@ -336,7 +302,7 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
|
|
|
336
302
|
check_all_founded?: boolean | undefined;
|
|
337
303
|
}>>;
|
|
338
304
|
required_info: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
|
|
339
|
-
progress: z.ZodOptional<z.ZodObject<{
|
|
305
|
+
progress: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
340
306
|
operation: z.ZodObject<{
|
|
341
307
|
next_node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
342
308
|
forward: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -363,7 +329,14 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
|
|
|
363
329
|
next_node_name: string;
|
|
364
330
|
};
|
|
365
331
|
message?: string | undefined;
|
|
366
|
-
}
|
|
332
|
+
}>, {
|
|
333
|
+
op: "next" | "hold" | "unhold" | "adminUnhold";
|
|
334
|
+
operation: {
|
|
335
|
+
forward: string;
|
|
336
|
+
next_node_name: string;
|
|
337
|
+
};
|
|
338
|
+
message?: string | undefined;
|
|
339
|
+
}, unknown>>;
|
|
367
340
|
arb_confirm: z.ZodOptional<z.ZodObject<{
|
|
368
341
|
arb: z.ZodEffects<z.ZodString, string, string>;
|
|
369
342
|
confirm: z.ZodBoolean;
|
|
@@ -397,81 +370,51 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
|
|
|
397
370
|
}, {
|
|
398
371
|
arb: string;
|
|
399
372
|
}>>;
|
|
400
|
-
receive: z.ZodOptional<z.ZodObject<{
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
}>, "many">;
|
|
417
|
-
}, "strict", z.ZodTypeAny, {
|
|
418
|
-
received: {
|
|
419
|
-
id: string;
|
|
420
|
-
balance: string | number;
|
|
421
|
-
payment: string;
|
|
422
|
-
}[];
|
|
423
|
-
balance: string | number;
|
|
424
|
-
token_type: string;
|
|
425
|
-
}, {
|
|
426
|
-
received: {
|
|
427
|
-
id: string;
|
|
428
|
-
balance: string | number;
|
|
429
|
-
payment: string;
|
|
430
|
-
}[];
|
|
431
|
-
balance: string | number;
|
|
432
|
-
token_type: string;
|
|
433
|
-
}>, z.ZodArray<z.ZodObject<{
|
|
373
|
+
receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
374
|
+
id: z.ZodString;
|
|
375
|
+
type: z.ZodString;
|
|
376
|
+
content_raw: z.ZodOptional<z.ZodAny>;
|
|
377
|
+
}, "strict", z.ZodTypeAny, {
|
|
378
|
+
type: string;
|
|
379
|
+
id: string;
|
|
380
|
+
content_raw?: any;
|
|
381
|
+
}, {
|
|
382
|
+
type: string;
|
|
383
|
+
id: string;
|
|
384
|
+
content_raw?: any;
|
|
385
|
+
}>, "many">, z.ZodObject<{
|
|
386
|
+
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
387
|
+
token_type: z.ZodEffects<z.ZodString, string, string>;
|
|
388
|
+
received: z.ZodArray<z.ZodObject<{
|
|
434
389
|
id: z.ZodString;
|
|
435
|
-
|
|
436
|
-
|
|
390
|
+
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
391
|
+
payment: z.ZodString;
|
|
437
392
|
}, "strict", z.ZodTypeAny, {
|
|
438
|
-
type: string;
|
|
439
393
|
id: string;
|
|
440
|
-
|
|
394
|
+
balance: string | number;
|
|
395
|
+
payment: string;
|
|
441
396
|
}, {
|
|
442
|
-
type: string;
|
|
443
397
|
id: string;
|
|
444
|
-
content_raw?: any;
|
|
445
|
-
}>, "many">]>;
|
|
446
|
-
}, "strict", z.ZodTypeAny, {
|
|
447
|
-
result: {
|
|
448
|
-
received: {
|
|
449
|
-
id: string;
|
|
450
|
-
balance: string | number;
|
|
451
|
-
payment: string;
|
|
452
|
-
}[];
|
|
453
398
|
balance: string | number;
|
|
454
|
-
|
|
455
|
-
}
|
|
456
|
-
|
|
399
|
+
payment: string;
|
|
400
|
+
}>, "many">;
|
|
401
|
+
}, "strict", z.ZodTypeAny, {
|
|
402
|
+
received: {
|
|
457
403
|
id: string;
|
|
458
|
-
|
|
404
|
+
balance: string | number;
|
|
405
|
+
payment: string;
|
|
459
406
|
}[];
|
|
407
|
+
balance: string | number;
|
|
408
|
+
token_type: string;
|
|
460
409
|
}, {
|
|
461
|
-
|
|
462
|
-
received: {
|
|
463
|
-
id: string;
|
|
464
|
-
balance: string | number;
|
|
465
|
-
payment: string;
|
|
466
|
-
}[];
|
|
467
|
-
balance: string | number;
|
|
468
|
-
token_type: string;
|
|
469
|
-
} | {
|
|
470
|
-
type: string;
|
|
410
|
+
received: {
|
|
471
411
|
id: string;
|
|
472
|
-
|
|
412
|
+
balance: string | number;
|
|
413
|
+
payment: string;
|
|
473
414
|
}[];
|
|
474
|
-
|
|
415
|
+
balance: string | number;
|
|
416
|
+
token_type: string;
|
|
417
|
+
}>, z.ZodLiteral<"recently">]>>;
|
|
475
418
|
transfer_to: z.ZodOptional<z.ZodObject<{
|
|
476
419
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
477
420
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -493,20 +436,18 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
|
|
|
493
436
|
message?: string | undefined;
|
|
494
437
|
} | undefined;
|
|
495
438
|
receive?: {
|
|
496
|
-
|
|
497
|
-
received: {
|
|
498
|
-
id: string;
|
|
499
|
-
balance: string | number;
|
|
500
|
-
payment: string;
|
|
501
|
-
}[];
|
|
502
|
-
balance: string | number;
|
|
503
|
-
token_type: string;
|
|
504
|
-
} | {
|
|
505
|
-
type: string;
|
|
439
|
+
received: {
|
|
506
440
|
id: string;
|
|
507
|
-
|
|
441
|
+
balance: string | number;
|
|
442
|
+
payment: string;
|
|
508
443
|
}[];
|
|
509
|
-
|
|
444
|
+
balance: string | number;
|
|
445
|
+
token_type: string;
|
|
446
|
+
} | "recently" | {
|
|
447
|
+
type: string;
|
|
448
|
+
id: string;
|
|
449
|
+
content_raw?: any;
|
|
450
|
+
}[] | undefined;
|
|
510
451
|
agent?: {
|
|
511
452
|
entities: {
|
|
512
453
|
name_or_address?: string | undefined;
|
|
@@ -534,29 +475,20 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
|
|
|
534
475
|
} | undefined;
|
|
535
476
|
}, {
|
|
536
477
|
object: string;
|
|
537
|
-
progress?:
|
|
538
|
-
op: "next" | "hold" | "unhold" | "adminUnhold";
|
|
539
|
-
operation: {
|
|
540
|
-
forward: string;
|
|
541
|
-
next_node_name: string;
|
|
542
|
-
};
|
|
543
|
-
message?: string | undefined;
|
|
544
|
-
} | undefined;
|
|
478
|
+
progress?: unknown;
|
|
545
479
|
receive?: {
|
|
546
|
-
|
|
547
|
-
received: {
|
|
548
|
-
id: string;
|
|
549
|
-
balance: string | number;
|
|
550
|
-
payment: string;
|
|
551
|
-
}[];
|
|
552
|
-
balance: string | number;
|
|
553
|
-
token_type: string;
|
|
554
|
-
} | {
|
|
555
|
-
type: string;
|
|
480
|
+
received: {
|
|
556
481
|
id: string;
|
|
557
|
-
|
|
482
|
+
balance: string | number;
|
|
483
|
+
payment: string;
|
|
558
484
|
}[];
|
|
559
|
-
|
|
485
|
+
balance: string | number;
|
|
486
|
+
token_type: string;
|
|
487
|
+
} | "recently" | {
|
|
488
|
+
type: string;
|
|
489
|
+
id: string;
|
|
490
|
+
content_raw?: any;
|
|
491
|
+
}[] | undefined;
|
|
560
492
|
agent?: {
|
|
561
493
|
entities: {
|
|
562
494
|
name_or_address?: string | undefined;
|
|
@@ -812,20 +744,18 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
|
|
|
812
744
|
message?: string | undefined;
|
|
813
745
|
} | undefined;
|
|
814
746
|
receive?: {
|
|
815
|
-
|
|
816
|
-
received: {
|
|
817
|
-
id: string;
|
|
818
|
-
balance: string | number;
|
|
819
|
-
payment: string;
|
|
820
|
-
}[];
|
|
821
|
-
balance: string | number;
|
|
822
|
-
token_type: string;
|
|
823
|
-
} | {
|
|
824
|
-
type: string;
|
|
747
|
+
received: {
|
|
825
748
|
id: string;
|
|
826
|
-
|
|
749
|
+
balance: string | number;
|
|
750
|
+
payment: string;
|
|
827
751
|
}[];
|
|
828
|
-
|
|
752
|
+
balance: string | number;
|
|
753
|
+
token_type: string;
|
|
754
|
+
} | "recently" | {
|
|
755
|
+
type: string;
|
|
756
|
+
id: string;
|
|
757
|
+
content_raw?: any;
|
|
758
|
+
}[] | undefined;
|
|
829
759
|
agent?: {
|
|
830
760
|
entities: {
|
|
831
761
|
name_or_address?: string | undefined;
|
|
@@ -895,29 +825,20 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
|
|
|
895
825
|
}, {
|
|
896
826
|
data: {
|
|
897
827
|
object: string;
|
|
898
|
-
progress?:
|
|
899
|
-
op: "next" | "hold" | "unhold" | "adminUnhold";
|
|
900
|
-
operation: {
|
|
901
|
-
forward: string;
|
|
902
|
-
next_node_name: string;
|
|
903
|
-
};
|
|
904
|
-
message?: string | undefined;
|
|
905
|
-
} | undefined;
|
|
828
|
+
progress?: unknown;
|
|
906
829
|
receive?: {
|
|
907
|
-
|
|
908
|
-
received: {
|
|
909
|
-
id: string;
|
|
910
|
-
balance: string | number;
|
|
911
|
-
payment: string;
|
|
912
|
-
}[];
|
|
913
|
-
balance: string | number;
|
|
914
|
-
token_type: string;
|
|
915
|
-
} | {
|
|
916
|
-
type: string;
|
|
830
|
+
received: {
|
|
917
831
|
id: string;
|
|
918
|
-
|
|
832
|
+
balance: string | number;
|
|
833
|
+
payment: string;
|
|
919
834
|
}[];
|
|
920
|
-
|
|
835
|
+
balance: string | number;
|
|
836
|
+
token_type: string;
|
|
837
|
+
} | "recently" | {
|
|
838
|
+
type: string;
|
|
839
|
+
id: string;
|
|
840
|
+
content_raw?: any;
|
|
841
|
+
}[] | undefined;
|
|
921
842
|
agent?: {
|
|
922
843
|
entities: {
|
|
923
844
|
name_or_address?: string | undefined;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { CallEnvSchema, SubmissionCallSchema } from "./base.js";
|
|
3
3
|
import { OperateSchema } from "./progress.js";
|
|
4
|
-
import { AccountOrMark_AddressSchema, DescriptionSchema, LongNameSchema, ManyAccountOrMark_AddressSchema, NameOrAddressSchema } from "../common/index.js";
|
|
5
|
-
import { QueryReceivedResultSchema } from "../common/index.js";
|
|
4
|
+
import { AccountOrMark_AddressSchema, DescriptionSchema, LongNameSchema, ManyAccountOrMark_AddressSchema, NameOrAddressSchema, ReceivedObjectsOrRecentlySchema } from "../common/index.js";
|
|
6
5
|
export const ArbConfirmSchema = z.object({
|
|
7
6
|
arb: NameOrAddressSchema.describe("Arb object ID or name."),
|
|
8
7
|
confirm: z.boolean().describe("Whether to confirm that the submitted arbitration materials are valid for arbitration."),
|
|
@@ -24,7 +23,12 @@ export const CallOrder_DataSchema = z.object({
|
|
|
24
23
|
arb_confirm: ArbConfirmSchema.optional().describe("Submit compensation request and apply for arbitration"),
|
|
25
24
|
arb_objection: ArbObjectionSchema.optional().describe("Oppose and appeal the arbitration result, request re-arbitration."),
|
|
26
25
|
arb_claim_compensation: ArbClaimCompensationSchema.optional().describe("Specify the adjudicated Arb object to obtain order compensation."),
|
|
27
|
-
receive:
|
|
26
|
+
receive: ReceivedObjectsOrRecentlySchema.optional().describe("Unwrap CoinWrapper objects or other objects received by the order and transfer them to the order owner. " +
|
|
27
|
+
"ACCEPTED FORMATS (consistent with `owner_receive` on other objects — see arbitration/contact/demand/machine/permission/repository/reward/service/treasury):\n" +
|
|
28
|
+
"• 'recently' (string) — auto-query and receive all recently received objects\n" +
|
|
29
|
+
"• ReceivedNormal[] (array) — explicit list of received objects: [{id, type, content_raw?}]\n" +
|
|
30
|
+
"• ReceivedBalance ({token_type, balance, received: [{id, balance, payment}]}) — received balance record\n" +
|
|
31
|
+
"DO NOT wrap in {result: ...} — pass directly (NOT {result: [...]})"),
|
|
28
32
|
transfer_to: AccountOrMark_AddressSchema.optional().describe("Set new owner of the order. Requires order owner permission to set."),
|
|
29
33
|
}).strict().describe("On-chain, operate on an Order object.");
|
|
30
34
|
export const CallOrder_InputSchema = z.object({
|