@wowok/agent-mcp 2.3.14 → 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.
- package/dist/config/index.d.ts +1 -0
- package/dist/config/index.js +1 -0
- package/dist/config/runtime.d.ts +26 -0
- package/dist/config/runtime.js +217 -0
- package/dist/customer/index.d.ts +9 -0
- package/dist/customer/index.js +9 -0
- package/dist/customer/industry-risks.d.ts +40 -0
- package/dist/customer/industry-risks.js +438 -0
- package/dist/customer/info-puzzle.d.ts +102 -0
- package/dist/customer/info-puzzle.js +312 -0
- package/dist/customer/order-monitor.d.ts +75 -0
- package/dist/customer/order-monitor.js +327 -0
- package/dist/customer/order-strategy.d.ts +36 -0
- package/dist/customer/order-strategy.js +373 -0
- package/dist/customer/post-purchase.d.ts +42 -0
- package/dist/customer/post-purchase.js +350 -0
- package/dist/customer/reminder-system.d.ts +42 -0
- package/dist/customer/reminder-system.js +295 -0
- package/dist/customer/risk-assessment.d.ts +8 -0
- package/dist/customer/risk-assessment.js +337 -0
- package/dist/customer/types.d.ts +193 -0
- package/dist/customer/types.js +13 -0
- package/dist/customer/user-preferences.d.ts +70 -0
- package/dist/customer/user-preferences.js +460 -0
- package/dist/experience/experience-reuse.d.ts +10 -0
- package/dist/experience/experience-reuse.js +103 -0
- package/dist/experience/index.d.ts +6 -0
- package/dist/experience/index.js +5 -0
- package/dist/experience/intent-distill.d.ts +3 -0
- package/dist/experience/intent-distill.js +83 -0
- package/dist/experience/realtime-feedback.d.ts +5 -0
- package/dist/experience/realtime-feedback.js +94 -0
- package/dist/experience/types.d.ts +50 -0
- package/dist/experience/types.js +1 -0
- package/dist/experience/user-profile.d.ts +25 -0
- package/dist/experience/user-profile.js +171 -0
- package/dist/index.js +842 -371
- package/dist/knowledge/acquisition-flywheel.d.ts +53 -0
- package/dist/knowledge/acquisition-flywheel.js +192 -0
- package/dist/knowledge/arbitration-trust.d.ts +24 -0
- package/dist/knowledge/arbitration-trust.js +117 -0
- package/dist/knowledge/audit-rules.d.ts +28 -0
- package/dist/knowledge/audit-rules.js +141 -0
- package/dist/knowledge/demand-matching.d.ts +29 -0
- package/dist/knowledge/demand-matching.js +132 -0
- package/dist/knowledge/dynamic-pricing.d.ts +31 -0
- package/dist/knowledge/dynamic-pricing.js +87 -0
- package/dist/knowledge/flywheel-loop.d.ts +87 -0
- package/dist/knowledge/flywheel-loop.js +378 -0
- package/dist/knowledge/glossary.d.ts +18 -0
- package/dist/knowledge/glossary.js +209 -0
- package/dist/knowledge/guard-ledger.d.ts +19 -0
- package/dist/knowledge/guard-ledger.js +219 -0
- package/dist/knowledge/guard-puzzle.d.ts +93 -0
- package/dist/knowledge/guard-puzzle.js +278 -0
- package/dist/knowledge/guard-risk.d.ts +60 -0
- package/dist/knowledge/guard-risk.js +474 -0
- package/dist/knowledge/guard-translation.d.ts +46 -0
- package/dist/knowledge/guard-translation.js +487 -0
- package/dist/knowledge/index.d.ts +77 -0
- package/dist/knowledge/index.js +79 -0
- package/dist/knowledge/industry-evolution.d.ts +82 -0
- package/dist/knowledge/industry-evolution.js +323 -0
- package/dist/knowledge/industry-generalizer.d.ts +17 -0
- package/dist/knowledge/industry-generalizer.js +381 -0
- package/dist/knowledge/industry-registry.d.ts +48 -0
- package/dist/knowledge/industry-registry.js +187 -0
- package/dist/knowledge/intent-metrics.d.ts +42 -0
- package/dist/knowledge/intent-metrics.js +566 -0
- package/dist/knowledge/process-model.d.ts +24 -0
- package/dist/knowledge/process-model.js +160 -0
- package/dist/knowledge/reputation-rules.d.ts +42 -0
- package/dist/knowledge/reputation-rules.js +99 -0
- package/dist/knowledge/reward-templates.d.ts +25 -0
- package/dist/knowledge/reward-templates.js +125 -0
- package/dist/knowledge/safety-rules.d.ts +36 -0
- package/dist/knowledge/safety-rules.js +232 -0
- package/dist/knowledge/tool-constraints.d.ts +30 -0
- package/dist/knowledge/tool-constraints.js +175 -0
- package/dist/knowledge/trust-metrics.d.ts +37 -0
- package/dist/knowledge/trust-metrics.js +138 -0
- package/dist/loop-engineering/diagnose.d.ts +3 -2
- package/dist/loop-engineering/diagnose.js +94 -0
- package/dist/loop-engineering/improve.d.ts +1 -1
- package/dist/loop-engineering/improve.js +52 -1
- package/dist/project/graph.d.ts +71 -0
- package/dist/project/graph.js +314 -0
- package/dist/project/index.d.ts +62 -0
- package/dist/project/index.js +167 -0
- package/dist/project/namespace.d.ts +62 -0
- package/dist/project/namespace.js +181 -0
- package/dist/project/query.d.ts +40 -0
- package/dist/project/query.js +110 -0
- package/dist/safety/confirm-gate.d.ts +17 -0
- package/dist/safety/confirm-gate.js +88 -0
- package/dist/safety/index.d.ts +3 -0
- package/dist/safety/index.js +3 -0
- package/dist/safety/preview.d.ts +2 -0
- package/dist/safety/preview.js +36 -0
- package/dist/schema/call/allocation.d.ts +39 -14
- package/dist/schema/call/arbitration.d.ts +187 -162
- package/dist/schema/call/base.d.ts +1971 -87
- package/dist/schema/call/base.js +135 -3
- package/dist/schema/call/bridge-handler.js +15 -2
- package/dist/schema/call/bridge.d.ts +1478 -53
- package/dist/schema/call/bridge.js +50 -2
- package/dist/schema/call/contact.d.ts +25 -0
- package/dist/schema/call/demand.d.ts +79 -54
- package/dist/schema/call/guard.d.ts +125 -50
- package/dist/schema/call/handler.d.ts +3 -0
- package/dist/schema/call/handler.js +60 -14
- package/dist/schema/call/machine.d.ts +988 -938
- package/dist/schema/call/order.d.ts +25 -0
- package/dist/schema/call/payment.d.ts +25 -0
- package/dist/schema/call/permission.d.ts +244 -219
- package/dist/schema/call/personal.d.ts +25 -0
- package/dist/schema/call/progress.d.ts +25 -0
- package/dist/schema/call/proof.d.ts +62 -12
- package/dist/schema/call/proof.js +3 -3
- package/dist/schema/call/repository.d.ts +101 -76
- package/dist/schema/call/reward.d.ts +55 -30
- package/dist/schema/call/semantic.d.ts +10 -2
- package/dist/schema/call/semantic.js +616 -11
- package/dist/schema/call/service.d.ts +442 -417
- package/dist/schema/call/treasury.d.ts +25 -0
- package/dist/schema/common/index.js +3 -3
- package/dist/schema/config/index.d.ts +18 -0
- package/dist/schema/config/index.js +17 -0
- package/dist/schema/index.d.ts +6 -0
- package/dist/schema/index.js +5 -0
- package/dist/schema/local/index.d.ts +237 -81
- package/dist/schema/local/index.js +42 -6
- package/dist/schema/messenger/index.d.ts +1018 -79
- package/dist/schema/messenger/index.js +26 -17
- package/dist/schema/operations.d.ts +3192 -1746
- package/dist/schema/operations.js +93 -98
- package/dist/schema/project/index.d.ts +21 -0
- package/dist/schema/project/index.js +32 -0
- package/dist/schema/query/index.d.ts +2762 -1856
- package/dist/schema/query/index.js +38 -35
- package/dist/schema/schema-query/index.d.ts +33 -0
- package/dist/schema/schema-query/index.js +36 -0
- package/dist/schema/schema-version.d.ts +25 -0
- package/dist/schema/schema-version.js +76 -0
- package/dist/schema/trust/index.d.ts +407 -0
- package/dist/schema/trust/index.js +113 -0
- package/dist/schemas/account_operation.output.json +25 -16
- package/dist/schemas/account_operation.schema.json +1 -1
- package/dist/schemas/bridge_operation.output.json +744 -0
- package/dist/schemas/bridge_operation.schema.json +82 -8
- package/dist/schemas/config_operation.output.json +18 -0
- package/dist/schemas/config_operation.schema.json +34 -0
- package/dist/schemas/guard-node-schema.json +82 -0
- package/dist/schemas/guard2file.schema.json +23 -0
- package/dist/schemas/index.json +19 -1
- package/dist/schemas/local_info_operation.output.json +23 -0
- package/dist/schemas/local_info_operation.schema.json +1 -1
- package/dist/schemas/local_mark_operation.output.json +24 -1
- package/dist/schemas/local_mark_operation.schema.json +4 -4
- package/dist/schemas/machineNode2file.schema.json +23 -0
- package/dist/schemas/messenger_operation.output.json +752 -0
- package/dist/schemas/onchain_events.output.json +718 -0
- package/dist/schemas/onchain_operations.output.json +627 -18
- package/dist/schemas/onchain_operations.schema.json +115 -39
- package/dist/schemas/onchain_operations_allocation.schema.json +23 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +23 -0
- package/dist/schemas/onchain_operations_contact.schema.json +23 -0
- package/dist/schemas/onchain_operations_demand.schema.json +23 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +46 -0
- package/dist/schemas/onchain_operations_guard.schema.json +26 -16
- package/dist/schemas/onchain_operations_machine.schema.json +89 -23
- package/dist/schemas/onchain_operations_order.schema.json +23 -0
- package/dist/schemas/onchain_operations_payment.schema.json +23 -0
- package/dist/schemas/onchain_operations_permission.schema.json +23 -0
- package/dist/schemas/onchain_operations_personal.schema.json +23 -0
- package/dist/schemas/onchain_operations_progress.schema.json +23 -0
- package/dist/schemas/onchain_operations_repository.schema.json +23 -0
- package/dist/schemas/onchain_operations_reward.schema.json +23 -0
- package/dist/schemas/onchain_operations_service.schema.json +23 -0
- package/dist/schemas/onchain_operations_treasury.schema.json +23 -0
- package/dist/schemas/onchain_table_data.output.json +939 -69
- package/dist/schemas/onchain_table_data.schema.json +2 -2
- package/dist/schemas/project_operation.output.json +18 -0
- package/dist/schemas/project_operation.schema.json +42 -0
- package/dist/schemas/query_toolkit.schema.json +360 -368
- package/dist/schemas/schema_query.schema.json +6 -3
- package/dist/schemas/trust_score.output.json +327 -0
- package/dist/schemas/trust_score.schema.json +46 -0
- package/package.json +2 -2
|
@@ -342,24 +342,11 @@
|
|
|
342
342
|
}
|
|
343
343
|
},
|
|
344
344
|
"root": {
|
|
345
|
-
"description": "Root definition: either a direct
|
|
345
|
+
"description": "Root definition: either a direct GuardNode computation tree (no type wrapper) or a file reference (type='file'). When type='file', the file can define all Guard fields (namedNew, description, table, root, rely), and schema fields override file content. For the node structure, see guard-node-schema.json for complete GuardNode definitions. IMPORTANT: The root node MUST be a logical operation returning Bool (e.g., logic_and, logic_or, logic_equal, query_reward_record_exists, etc.)",
|
|
346
346
|
"oneOf": [
|
|
347
347
|
{
|
|
348
|
-
"
|
|
349
|
-
"description": "Direct
|
|
350
|
-
"properties": {
|
|
351
|
-
"type": {
|
|
352
|
-
"const": "node"
|
|
353
|
-
},
|
|
354
|
-
"node": {
|
|
355
|
-
"$ref": "guard-node-schema.json",
|
|
356
|
-
"description": "Guard computational tree root node. MUST return a Bool value (pass/fail). See guard-node-schema.json for complete node type definitions including: identifier, query, logic_*, calc_*, convert_*, vec_*, query_reward_record_*, query_progress_history_*, etc."
|
|
357
|
-
}
|
|
358
|
-
},
|
|
359
|
-
"required": [
|
|
360
|
-
"type",
|
|
361
|
-
"node"
|
|
362
|
-
]
|
|
348
|
+
"$ref": "guard-node-schema.json",
|
|
349
|
+
"description": "Direct GuardNode computation tree - the node MUST be a logical operation returning Bool (e.g., logic_and, logic_or, logic_equal, query_reward_record_exists, etc.). No 'type: node' wrapper needed."
|
|
363
350
|
},
|
|
364
351
|
{
|
|
365
352
|
"type": "object",
|
|
@@ -591,6 +578,29 @@
|
|
|
591
578
|
"referrer": {
|
|
592
579
|
"$ref": "#/definitions/env/properties/account",
|
|
593
580
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
|
|
581
|
+
},
|
|
582
|
+
"confirmed": {
|
|
583
|
+
"type": "boolean",
|
|
584
|
+
"description": "Phase 2 ConfirmGate: set to true to proceed after a 'pending_confirmation' result. The operation is NOT executed until you re-call with confirmed=true after user consent."
|
|
585
|
+
},
|
|
586
|
+
"user_intent_phrases": {
|
|
587
|
+
"type": "array",
|
|
588
|
+
"items": {
|
|
589
|
+
"type": "string"
|
|
590
|
+
},
|
|
591
|
+
"description": "Phase 2 ConfirmGate: explicit user intent phrases collected from conversation context (e.g. 'use default account', 'force publish'). Used to bypass confirmation rules whose bypass_on_explicit_intent matches."
|
|
592
|
+
},
|
|
593
|
+
"project": {
|
|
594
|
+
"type": "string",
|
|
595
|
+
"description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
|
|
596
|
+
},
|
|
597
|
+
"client_schema_version": {
|
|
598
|
+
"type": "string",
|
|
599
|
+
"description": "Client-side schema version (semver, e.g. '1.0.0'). When provided, the server checks compatibility and attaches warnings if mismatched."
|
|
600
|
+
},
|
|
601
|
+
"schema_strict_mode": {
|
|
602
|
+
"type": "boolean",
|
|
603
|
+
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
594
604
|
}
|
|
595
605
|
},
|
|
596
606
|
"additionalProperties": false,
|
|
@@ -2212,9 +2222,10 @@
|
|
|
2212
2222
|
"description": "Previous node name"
|
|
2213
2223
|
},
|
|
2214
2224
|
"threshold": {
|
|
2215
|
-
"type":
|
|
2216
|
-
|
|
2217
|
-
|
|
2225
|
+
"type": [
|
|
2226
|
+
"number",
|
|
2227
|
+
"string"
|
|
2228
|
+
],
|
|
2218
2229
|
"description": "Threshold to trigger node advancement. If total Forward weight is greater than or equal to threshold, node advancement is triggered."
|
|
2219
2230
|
},
|
|
2220
2231
|
"forwards": {
|
|
@@ -2227,38 +2238,80 @@
|
|
|
2227
2238
|
"description": "Forward name"
|
|
2228
2239
|
},
|
|
2229
2240
|
"namedOperator": {
|
|
2230
|
-
"
|
|
2241
|
+
"anyOf": [
|
|
2242
|
+
{
|
|
2243
|
+
"type": "string"
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
"type": "null"
|
|
2247
|
+
},
|
|
2248
|
+
{
|
|
2249
|
+
"not": {}
|
|
2250
|
+
}
|
|
2251
|
+
],
|
|
2231
2252
|
"description": "Forward operation permission 1: Namespace (one of the two must be specified); recommended if Progress object operators are different (e.g., different delivery personnel for different orders)."
|
|
2232
2253
|
},
|
|
2233
2254
|
"permissionIndex": {
|
|
2234
|
-
"
|
|
2255
|
+
"anyOf": [
|
|
2256
|
+
{
|
|
2257
|
+
"type": "number"
|
|
2258
|
+
},
|
|
2259
|
+
{
|
|
2260
|
+
"type": "string"
|
|
2261
|
+
},
|
|
2262
|
+
{
|
|
2263
|
+
"type": "null"
|
|
2264
|
+
},
|
|
2265
|
+
{
|
|
2266
|
+
"not": {}
|
|
2267
|
+
}
|
|
2268
|
+
],
|
|
2235
2269
|
"description": "Forward operation permission 2: Permission index (one of the two must be specified); recommended if all Progress object operators are the same (e.g., same reward reviewers for all orders)."
|
|
2236
2270
|
},
|
|
2237
2271
|
"weight": {
|
|
2238
|
-
"type":
|
|
2239
|
-
|
|
2240
|
-
|
|
2272
|
+
"type": [
|
|
2273
|
+
"number",
|
|
2274
|
+
"string"
|
|
2275
|
+
],
|
|
2241
2276
|
"description": "Forward weight"
|
|
2242
2277
|
},
|
|
2243
2278
|
"guard": {
|
|
2244
|
-
"
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
"
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2279
|
+
"anyOf": [
|
|
2280
|
+
{
|
|
2281
|
+
"type": "object",
|
|
2282
|
+
"properties": {
|
|
2283
|
+
"guard": {
|
|
2284
|
+
"type": "string",
|
|
2285
|
+
"description": "Guard object ID"
|
|
2286
|
+
},
|
|
2287
|
+
"retained_submission": {
|
|
2288
|
+
"anyOf": [
|
|
2289
|
+
{
|
|
2290
|
+
"type": "array",
|
|
2291
|
+
"items": {
|
|
2292
|
+
"type": [
|
|
2293
|
+
"number",
|
|
2294
|
+
"string"
|
|
2295
|
+
]
|
|
2296
|
+
}
|
|
2297
|
+
},
|
|
2298
|
+
{
|
|
2299
|
+
"type": "null"
|
|
2300
|
+
}
|
|
2301
|
+
],
|
|
2302
|
+
"description": "Data submitted by user during Guard object verification"
|
|
2303
|
+
}
|
|
2254
2304
|
},
|
|
2255
|
-
"
|
|
2305
|
+
"required": [
|
|
2306
|
+
"guard"
|
|
2307
|
+
],
|
|
2308
|
+
"additionalProperties": false,
|
|
2309
|
+
"description": "Record of Guard object in MachineForwardGuard object"
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
"type": "null"
|
|
2256
2313
|
}
|
|
2257
|
-
},
|
|
2258
|
-
"required": [
|
|
2259
|
-
"guard"
|
|
2260
2314
|
],
|
|
2261
|
-
"additionalProperties": false,
|
|
2262
2315
|
"description": "Guard object ID, if defined, Guard verification must also pass to complete Forward (e.g., completed promised supply chain sub-order)."
|
|
2263
2316
|
}
|
|
2264
2317
|
},
|
|
@@ -8639,6 +8692,29 @@
|
|
|
8639
8692
|
"referrer": {
|
|
8640
8693
|
"$ref": "#/definitions/data_gen_passport/properties/guard/anyOf/0",
|
|
8641
8694
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
|
|
8695
|
+
},
|
|
8696
|
+
"confirmed": {
|
|
8697
|
+
"type": "boolean",
|
|
8698
|
+
"description": "Phase 2 ConfirmGate: set to true to proceed after a 'pending_confirmation' result. The operation is NOT executed until you re-call with confirmed=true after user consent."
|
|
8699
|
+
},
|
|
8700
|
+
"user_intent_phrases": {
|
|
8701
|
+
"type": "array",
|
|
8702
|
+
"items": {
|
|
8703
|
+
"type": "string"
|
|
8704
|
+
},
|
|
8705
|
+
"description": "Phase 2 ConfirmGate: explicit user intent phrases collected from conversation context (e.g. 'use default account', 'force publish'). Used to bypass confirmation rules whose bypass_on_explicit_intent matches."
|
|
8706
|
+
},
|
|
8707
|
+
"project": {
|
|
8708
|
+
"type": "string",
|
|
8709
|
+
"description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
|
|
8710
|
+
},
|
|
8711
|
+
"client_schema_version": {
|
|
8712
|
+
"type": "string",
|
|
8713
|
+
"description": "Client-side schema version (semver, e.g. '1.0.0'). When provided, the server checks compatibility and attaches warnings if mismatched."
|
|
8714
|
+
},
|
|
8715
|
+
"schema_strict_mode": {
|
|
8716
|
+
"type": "boolean",
|
|
8717
|
+
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
8642
8718
|
}
|
|
8643
8719
|
},
|
|
8644
8720
|
"additionalProperties": false,
|
|
@@ -398,6 +398,29 @@
|
|
|
398
398
|
"referrer": {
|
|
399
399
|
"$ref": "#/definitions/env/properties/account",
|
|
400
400
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
|
|
401
|
+
},
|
|
402
|
+
"confirmed": {
|
|
403
|
+
"type": "boolean",
|
|
404
|
+
"description": "Phase 2 ConfirmGate: set to true to proceed after a 'pending_confirmation' result. The operation is NOT executed until you re-call with confirmed=true after user consent."
|
|
405
|
+
},
|
|
406
|
+
"user_intent_phrases": {
|
|
407
|
+
"type": "array",
|
|
408
|
+
"items": {
|
|
409
|
+
"type": "string"
|
|
410
|
+
},
|
|
411
|
+
"description": "Phase 2 ConfirmGate: explicit user intent phrases collected from conversation context (e.g. 'use default account', 'force publish'). Used to bypass confirmation rules whose bypass_on_explicit_intent matches."
|
|
412
|
+
},
|
|
413
|
+
"project": {
|
|
414
|
+
"type": "string",
|
|
415
|
+
"description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
|
|
416
|
+
},
|
|
417
|
+
"client_schema_version": {
|
|
418
|
+
"type": "string",
|
|
419
|
+
"description": "Client-side schema version (semver, e.g. '1.0.0'). When provided, the server checks compatibility and attaches warnings if mismatched."
|
|
420
|
+
},
|
|
421
|
+
"schema_strict_mode": {
|
|
422
|
+
"type": "boolean",
|
|
423
|
+
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
401
424
|
}
|
|
402
425
|
},
|
|
403
426
|
"additionalProperties": false,
|
|
@@ -650,6 +650,29 @@
|
|
|
650
650
|
"referrer": {
|
|
651
651
|
"$ref": "#/definitions/env/properties/account",
|
|
652
652
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
|
|
653
|
+
},
|
|
654
|
+
"confirmed": {
|
|
655
|
+
"type": "boolean",
|
|
656
|
+
"description": "Phase 2 ConfirmGate: set to true to proceed after a 'pending_confirmation' result. The operation is NOT executed until you re-call with confirmed=true after user consent."
|
|
657
|
+
},
|
|
658
|
+
"user_intent_phrases": {
|
|
659
|
+
"type": "array",
|
|
660
|
+
"items": {
|
|
661
|
+
"type": "string"
|
|
662
|
+
},
|
|
663
|
+
"description": "Phase 2 ConfirmGate: explicit user intent phrases collected from conversation context (e.g. 'use default account', 'force publish'). Used to bypass confirmation rules whose bypass_on_explicit_intent matches."
|
|
664
|
+
},
|
|
665
|
+
"project": {
|
|
666
|
+
"type": "string",
|
|
667
|
+
"description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
|
|
668
|
+
},
|
|
669
|
+
"client_schema_version": {
|
|
670
|
+
"type": "string",
|
|
671
|
+
"description": "Client-side schema version (semver, e.g. '1.0.0'). When provided, the server checks compatibility and attaches warnings if mismatched."
|
|
672
|
+
},
|
|
673
|
+
"schema_strict_mode": {
|
|
674
|
+
"type": "boolean",
|
|
675
|
+
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
653
676
|
}
|
|
654
677
|
},
|
|
655
678
|
"additionalProperties": false,
|
|
@@ -337,6 +337,29 @@
|
|
|
337
337
|
"referrer": {
|
|
338
338
|
"$ref": "#/definitions/env/properties/account",
|
|
339
339
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
|
|
340
|
+
},
|
|
341
|
+
"confirmed": {
|
|
342
|
+
"type": "boolean",
|
|
343
|
+
"description": "Phase 2 ConfirmGate: set to true to proceed after a 'pending_confirmation' result. The operation is NOT executed until you re-call with confirmed=true after user consent."
|
|
344
|
+
},
|
|
345
|
+
"user_intent_phrases": {
|
|
346
|
+
"type": "array",
|
|
347
|
+
"items": {
|
|
348
|
+
"type": "string"
|
|
349
|
+
},
|
|
350
|
+
"description": "Phase 2 ConfirmGate: explicit user intent phrases collected from conversation context (e.g. 'use default account', 'force publish'). Used to bypass confirmation rules whose bypass_on_explicit_intent matches."
|
|
351
|
+
},
|
|
352
|
+
"project": {
|
|
353
|
+
"type": "string",
|
|
354
|
+
"description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
|
|
355
|
+
},
|
|
356
|
+
"client_schema_version": {
|
|
357
|
+
"type": "string",
|
|
358
|
+
"description": "Client-side schema version (semver, e.g. '1.0.0'). When provided, the server checks compatibility and attaches warnings if mismatched."
|
|
359
|
+
},
|
|
360
|
+
"schema_strict_mode": {
|
|
361
|
+
"type": "boolean",
|
|
362
|
+
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
340
363
|
}
|
|
341
364
|
},
|
|
342
365
|
"additionalProperties": false,
|
|
@@ -468,6 +468,29 @@
|
|
|
468
468
|
"referrer": {
|
|
469
469
|
"$ref": "#/definitions/env/properties/account",
|
|
470
470
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
|
|
471
|
+
},
|
|
472
|
+
"confirmed": {
|
|
473
|
+
"type": "boolean",
|
|
474
|
+
"description": "Phase 2 ConfirmGate: set to true to proceed after a 'pending_confirmation' result. The operation is NOT executed until you re-call with confirmed=true after user consent."
|
|
475
|
+
},
|
|
476
|
+
"user_intent_phrases": {
|
|
477
|
+
"type": "array",
|
|
478
|
+
"items": {
|
|
479
|
+
"type": "string"
|
|
480
|
+
},
|
|
481
|
+
"description": "Phase 2 ConfirmGate: explicit user intent phrases collected from conversation context (e.g. 'use default account', 'force publish'). Used to bypass confirmation rules whose bypass_on_explicit_intent matches."
|
|
482
|
+
},
|
|
483
|
+
"project": {
|
|
484
|
+
"type": "string",
|
|
485
|
+
"description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
|
|
486
|
+
},
|
|
487
|
+
"client_schema_version": {
|
|
488
|
+
"type": "string",
|
|
489
|
+
"description": "Client-side schema version (semver, e.g. '1.0.0'). When provided, the server checks compatibility and attaches warnings if mismatched."
|
|
490
|
+
},
|
|
491
|
+
"schema_strict_mode": {
|
|
492
|
+
"type": "boolean",
|
|
493
|
+
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
471
494
|
}
|
|
472
495
|
},
|
|
473
496
|
"additionalProperties": false,
|
|
@@ -585,6 +585,29 @@
|
|
|
585
585
|
"referrer": {
|
|
586
586
|
"$ref": "#/definitions/data/properties/guard/anyOf/0",
|
|
587
587
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
|
|
588
|
+
},
|
|
589
|
+
"confirmed": {
|
|
590
|
+
"type": "boolean",
|
|
591
|
+
"description": "Phase 2 ConfirmGate: set to true to proceed after a 'pending_confirmation' result. The operation is NOT executed until you re-call with confirmed=true after user consent."
|
|
592
|
+
},
|
|
593
|
+
"user_intent_phrases": {
|
|
594
|
+
"type": "array",
|
|
595
|
+
"items": {
|
|
596
|
+
"type": "string"
|
|
597
|
+
},
|
|
598
|
+
"description": "Phase 2 ConfirmGate: explicit user intent phrases collected from conversation context (e.g. 'use default account', 'force publish'). Used to bypass confirmation rules whose bypass_on_explicit_intent matches."
|
|
599
|
+
},
|
|
600
|
+
"project": {
|
|
601
|
+
"type": "string",
|
|
602
|
+
"description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
|
|
603
|
+
},
|
|
604
|
+
"client_schema_version": {
|
|
605
|
+
"type": "string",
|
|
606
|
+
"description": "Client-side schema version (semver, e.g. '1.0.0'). When provided, the server checks compatibility and attaches warnings if mismatched."
|
|
607
|
+
},
|
|
608
|
+
"schema_strict_mode": {
|
|
609
|
+
"type": "boolean",
|
|
610
|
+
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
588
611
|
}
|
|
589
612
|
},
|
|
590
613
|
"additionalProperties": false,
|
|
@@ -628,6 +651,29 @@
|
|
|
628
651
|
"referrer": {
|
|
629
652
|
"$ref": "#/definitions/env/properties/account",
|
|
630
653
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
|
|
654
|
+
},
|
|
655
|
+
"confirmed": {
|
|
656
|
+
"type": "boolean",
|
|
657
|
+
"description": "Phase 2 ConfirmGate: set to true to proceed after a 'pending_confirmation' result. The operation is NOT executed until you re-call with confirmed=true after user consent."
|
|
658
|
+
},
|
|
659
|
+
"user_intent_phrases": {
|
|
660
|
+
"type": "array",
|
|
661
|
+
"items": {
|
|
662
|
+
"type": "string"
|
|
663
|
+
},
|
|
664
|
+
"description": "Phase 2 ConfirmGate: explicit user intent phrases collected from conversation context (e.g. 'use default account', 'force publish'). Used to bypass confirmation rules whose bypass_on_explicit_intent matches."
|
|
665
|
+
},
|
|
666
|
+
"project": {
|
|
667
|
+
"type": "string",
|
|
668
|
+
"description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
|
|
669
|
+
},
|
|
670
|
+
"client_schema_version": {
|
|
671
|
+
"type": "string",
|
|
672
|
+
"description": "Client-side schema version (semver, e.g. '1.0.0'). When provided, the server checks compatibility and attaches warnings if mismatched."
|
|
673
|
+
},
|
|
674
|
+
"schema_strict_mode": {
|
|
675
|
+
"type": "boolean",
|
|
676
|
+
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
631
677
|
}
|
|
632
678
|
},
|
|
633
679
|
"additionalProperties": false,
|
|
@@ -78,24 +78,11 @@
|
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
"root": {
|
|
81
|
-
"description": "Root definition: either a direct
|
|
81
|
+
"description": "Root definition: either a direct GuardNode computation tree (no type wrapper) or a file reference (type='file'). When type='file', the file can define all Guard fields (namedNew, description, table, root, rely), and schema fields override file content. For the node structure, see guard-node-schema.json for complete GuardNode definitions. IMPORTANT: The root node MUST be a logical operation returning Bool (e.g., logic_and, logic_or, logic_equal, query_reward_record_exists, etc.)",
|
|
82
82
|
"oneOf": [
|
|
83
83
|
{
|
|
84
|
-
"
|
|
85
|
-
"description": "Direct
|
|
86
|
-
"properties": {
|
|
87
|
-
"type": {
|
|
88
|
-
"const": "node"
|
|
89
|
-
},
|
|
90
|
-
"node": {
|
|
91
|
-
"$ref": "guard-node-schema.json",
|
|
92
|
-
"description": "Guard computational tree root node. MUST return a Bool value (pass/fail). See guard-node-schema.json for complete node type definitions including: identifier, query, logic_*, calc_*, convert_*, vec_*, query_reward_record_*, query_progress_history_*, etc."
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"required": [
|
|
96
|
-
"type",
|
|
97
|
-
"node"
|
|
98
|
-
]
|
|
84
|
+
"$ref": "guard-node-schema.json",
|
|
85
|
+
"description": "Direct GuardNode computation tree - the node MUST be a logical operation returning Bool (e.g., logic_and, logic_or, logic_equal, query_reward_record_exists, etc.). No 'type: node' wrapper needed."
|
|
99
86
|
},
|
|
100
87
|
{
|
|
101
88
|
"type": "object",
|
|
@@ -195,6 +182,29 @@
|
|
|
195
182
|
"referrer": {
|
|
196
183
|
"$ref": "#/definitions/env/properties/account",
|
|
197
184
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
|
|
185
|
+
},
|
|
186
|
+
"confirmed": {
|
|
187
|
+
"type": "boolean",
|
|
188
|
+
"description": "Phase 2 ConfirmGate: set to true to proceed after a 'pending_confirmation' result. The operation is NOT executed until you re-call with confirmed=true after user consent."
|
|
189
|
+
},
|
|
190
|
+
"user_intent_phrases": {
|
|
191
|
+
"type": "array",
|
|
192
|
+
"items": {
|
|
193
|
+
"type": "string"
|
|
194
|
+
},
|
|
195
|
+
"description": "Phase 2 ConfirmGate: explicit user intent phrases collected from conversation context (e.g. 'use default account', 'force publish'). Used to bypass confirmation rules whose bypass_on_explicit_intent matches."
|
|
196
|
+
},
|
|
197
|
+
"project": {
|
|
198
|
+
"type": "string",
|
|
199
|
+
"description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
|
|
200
|
+
},
|
|
201
|
+
"client_schema_version": {
|
|
202
|
+
"type": "string",
|
|
203
|
+
"description": "Client-side schema version (semver, e.g. '1.0.0'). When provided, the server checks compatibility and attaches warnings if mismatched."
|
|
204
|
+
},
|
|
205
|
+
"schema_strict_mode": {
|
|
206
|
+
"type": "boolean",
|
|
207
|
+
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
198
208
|
}
|
|
199
209
|
},
|
|
200
210
|
"additionalProperties": false,
|
|
@@ -291,9 +291,10 @@
|
|
|
291
291
|
"description": "Previous node name"
|
|
292
292
|
},
|
|
293
293
|
"threshold": {
|
|
294
|
-
"type":
|
|
295
|
-
|
|
296
|
-
|
|
294
|
+
"type": [
|
|
295
|
+
"number",
|
|
296
|
+
"string"
|
|
297
|
+
],
|
|
297
298
|
"description": "Threshold to trigger node advancement. If total Forward weight is greater than or equal to threshold, node advancement is triggered."
|
|
298
299
|
},
|
|
299
300
|
"forwards": {
|
|
@@ -306,38 +307,80 @@
|
|
|
306
307
|
"description": "Forward name"
|
|
307
308
|
},
|
|
308
309
|
"namedOperator": {
|
|
309
|
-
"
|
|
310
|
+
"anyOf": [
|
|
311
|
+
{
|
|
312
|
+
"type": "string"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"type": "null"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"not": {}
|
|
319
|
+
}
|
|
320
|
+
],
|
|
310
321
|
"description": "Forward operation permission 1: Namespace (one of the two must be specified); recommended if Progress object operators are different (e.g., different delivery personnel for different orders)."
|
|
311
322
|
},
|
|
312
323
|
"permissionIndex": {
|
|
313
|
-
"
|
|
324
|
+
"anyOf": [
|
|
325
|
+
{
|
|
326
|
+
"type": "number"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"type": "string"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"type": "null"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"not": {}
|
|
336
|
+
}
|
|
337
|
+
],
|
|
314
338
|
"description": "Forward operation permission 2: Permission index (one of the two must be specified); recommended if all Progress object operators are the same (e.g., same reward reviewers for all orders)."
|
|
315
339
|
},
|
|
316
340
|
"weight": {
|
|
317
|
-
"type":
|
|
318
|
-
|
|
319
|
-
|
|
341
|
+
"type": [
|
|
342
|
+
"number",
|
|
343
|
+
"string"
|
|
344
|
+
],
|
|
320
345
|
"description": "Forward weight"
|
|
321
346
|
},
|
|
322
347
|
"guard": {
|
|
323
|
-
"
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
"
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
348
|
+
"anyOf": [
|
|
349
|
+
{
|
|
350
|
+
"type": "object",
|
|
351
|
+
"properties": {
|
|
352
|
+
"guard": {
|
|
353
|
+
"type": "string",
|
|
354
|
+
"description": "Guard object ID"
|
|
355
|
+
},
|
|
356
|
+
"retained_submission": {
|
|
357
|
+
"anyOf": [
|
|
358
|
+
{
|
|
359
|
+
"type": "array",
|
|
360
|
+
"items": {
|
|
361
|
+
"type": [
|
|
362
|
+
"number",
|
|
363
|
+
"string"
|
|
364
|
+
]
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"type": "null"
|
|
369
|
+
}
|
|
370
|
+
],
|
|
371
|
+
"description": "Data submitted by user during Guard object verification"
|
|
372
|
+
}
|
|
333
373
|
},
|
|
334
|
-
"
|
|
374
|
+
"required": [
|
|
375
|
+
"guard"
|
|
376
|
+
],
|
|
377
|
+
"additionalProperties": false,
|
|
378
|
+
"description": "Record of Guard object in MachineForwardGuard object"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"type": "null"
|
|
335
382
|
}
|
|
336
|
-
},
|
|
337
|
-
"required": [
|
|
338
|
-
"guard"
|
|
339
383
|
],
|
|
340
|
-
"additionalProperties": false,
|
|
341
384
|
"description": "Guard object ID, if defined, Guard verification must also pass to complete Forward (e.g., completed promised supply chain sub-order)."
|
|
342
385
|
}
|
|
343
386
|
},
|
|
@@ -796,6 +839,29 @@
|
|
|
796
839
|
"referrer": {
|
|
797
840
|
"$ref": "#/definitions/env/properties/account",
|
|
798
841
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
|
|
842
|
+
},
|
|
843
|
+
"confirmed": {
|
|
844
|
+
"type": "boolean",
|
|
845
|
+
"description": "Phase 2 ConfirmGate: set to true to proceed after a 'pending_confirmation' result. The operation is NOT executed until you re-call with confirmed=true after user consent."
|
|
846
|
+
},
|
|
847
|
+
"user_intent_phrases": {
|
|
848
|
+
"type": "array",
|
|
849
|
+
"items": {
|
|
850
|
+
"type": "string"
|
|
851
|
+
},
|
|
852
|
+
"description": "Phase 2 ConfirmGate: explicit user intent phrases collected from conversation context (e.g. 'use default account', 'force publish'). Used to bypass confirmation rules whose bypass_on_explicit_intent matches."
|
|
853
|
+
},
|
|
854
|
+
"project": {
|
|
855
|
+
"type": "string",
|
|
856
|
+
"description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
|
|
857
|
+
},
|
|
858
|
+
"client_schema_version": {
|
|
859
|
+
"type": "string",
|
|
860
|
+
"description": "Client-side schema version (semver, e.g. '1.0.0'). When provided, the server checks compatibility and attaches warnings if mismatched."
|
|
861
|
+
},
|
|
862
|
+
"schema_strict_mode": {
|
|
863
|
+
"type": "boolean",
|
|
864
|
+
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
799
865
|
}
|
|
800
866
|
},
|
|
801
867
|
"additionalProperties": false,
|
|
@@ -314,6 +314,29 @@
|
|
|
314
314
|
"referrer": {
|
|
315
315
|
"$ref": "#/definitions/env/properties/account",
|
|
316
316
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
|
|
317
|
+
},
|
|
318
|
+
"confirmed": {
|
|
319
|
+
"type": "boolean",
|
|
320
|
+
"description": "Phase 2 ConfirmGate: set to true to proceed after a 'pending_confirmation' result. The operation is NOT executed until you re-call with confirmed=true after user consent."
|
|
321
|
+
},
|
|
322
|
+
"user_intent_phrases": {
|
|
323
|
+
"type": "array",
|
|
324
|
+
"items": {
|
|
325
|
+
"type": "string"
|
|
326
|
+
},
|
|
327
|
+
"description": "Phase 2 ConfirmGate: explicit user intent phrases collected from conversation context (e.g. 'use default account', 'force publish'). Used to bypass confirmation rules whose bypass_on_explicit_intent matches."
|
|
328
|
+
},
|
|
329
|
+
"project": {
|
|
330
|
+
"type": "string",
|
|
331
|
+
"description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
|
|
332
|
+
},
|
|
333
|
+
"client_schema_version": {
|
|
334
|
+
"type": "string",
|
|
335
|
+
"description": "Client-side schema version (semver, e.g. '1.0.0'). When provided, the server checks compatibility and attaches warnings if mismatched."
|
|
336
|
+
},
|
|
337
|
+
"schema_strict_mode": {
|
|
338
|
+
"type": "boolean",
|
|
339
|
+
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
317
340
|
}
|
|
318
341
|
},
|
|
319
342
|
"additionalProperties": false,
|