@wowok/agent-mcp 3.3.6 → 3.3.7
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/chain-semantics/eval-order.js +1 -1
- package/dist/chain-semantics/field-capability.js +1 -1
- package/dist/chain-semantics/fund-flow.js +1 -1
- package/dist/chain-semantics/guard-verbs.js +1 -1
- package/dist/chain-semantics/object-graph.js +1 -1
- package/dist/composition/audit.js +1 -1
- package/dist/composition/compile.d.ts +2 -1
- package/dist/composition/compile.js +1 -1
- package/dist/composition/materialize.js +1 -1
- package/dist/data/projection/facets.spec.js +1 -1
- package/dist/evaluation/match-policy.d.ts +30 -6
- package/dist/evaluation/match-policy.js +1 -1
- package/dist/evaluation/match-policy.spec.js +1 -1
- package/dist/extensions/business-modules.js +1 -1
- package/dist/harness/recover.js +1 -1
- package/dist/intent/types.d.ts +1 -1
- package/dist/intent/types.js +1 -1
- package/dist/keeper/detectors.d.ts +3 -0
- package/dist/keeper/detectors.js +1 -1
- package/dist/keeper/keeper.spec.js +1 -1
- package/dist/knowledge/allocator-rail-verifier.js +1 -1
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/rules/plan.json +97 -2
- package/dist/knowledge/builtin-templates.d.ts +6 -1
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/event-semantics.js +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/guard-templates.d.ts +1 -1
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/industry-generalizer.d.ts +4 -0
- package/dist/knowledge/industry-generalizer.js +1 -1
- package/dist/knowledge/semantic-ir.d.ts +113 -0
- package/dist/knowledge/semantic-ir.js +1 -0
- package/dist/knowledge/strategy-manuals.js +1 -1
- package/dist/knowledge/template-loader.d.ts +34 -0
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-prose.d.ts +50 -0
- package/dist/knowledge/template-prose.js +1 -0
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.d.ts +1 -1
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/monitor/normalize.d.ts +1 -1
- package/dist/monitor/normalize.js +1 -1
- package/dist/monitor/types.js +1 -1
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.d.ts +4 -0
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/migration-planner.d.ts +2 -1
- package/dist/playbooks/service-build/migration-planner.js +1 -1
- package/dist/playbooks/service-build/mode-actions.d.ts +7 -0
- package/dist/playbooks/service-build/mode-actions.js +1 -1
- package/dist/playbooks/service-build/object-panorama.d.ts +22 -1
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/relationship-profile.js +1 -1
- package/dist/playbooks/service-build/reverse-mapping-nk4.spec.js +1 -1
- package/dist/playbooks/service-build/reverse-mapping.d.ts +1 -0
- package/dist/playbooks/service-build/reverse-mapping.js +1 -1
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/service-quote.js +1 -1
- package/dist/review/index.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +64 -10
- package/dist/schema/benchmark-migration/index.js +1 -1
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.d.ts +8 -0
- package/dist/schema/call/bridge.d.ts +2 -0
- package/dist/schema/call/error-codes.d.ts +1 -1
- package/dist/schema/call/error-codes.js +1 -1
- package/dist/schema/call/reward.d.ts +10 -0
- package/dist/schema/call/reward.js +1 -1
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/evaluation/index.d.ts +152 -0
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/goal/index.d.ts +2 -0
- package/dist/schema/goal/planning.d.ts +3 -0
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +62 -0
- package/dist/schema/industry-pack/modes.d.ts +62 -0
- package/dist/schema/industry-pack/modes.js +1 -1
- package/dist/schema/intent-radar/index.d.ts +3 -0
- package/dist/schema/intent-radar/index.js +1 -1
- package/dist/schema/local/index.d.ts +20 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/operations.d.ts +5 -0
- package/dist/schema/query/index.d.ts +145 -47
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +2 -0
- package/dist/schemas/benchmark_migration_operation.output.json +42 -0
- package/dist/schemas/benchmark_migration_operation.schema.json +208 -5
- package/dist/schemas/bridge_operation.output.json +2 -0
- package/dist/schemas/evaluation_operation.output.json +240 -0
- package/dist/schemas/evaluation_operation.schema.json +397 -1
- package/dist/schemas/goal_operation.schema.json +18 -10
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/industry_pack_operation.output.json +86 -2
- package/dist/schemas/industry_pack_operation.schema.json +199 -0
- package/dist/schemas/intent_radar.output.json +2 -0
- package/dist/schemas/intent_radar.schema.json +1 -0
- package/dist/schemas/local_cache_operation.output.json +2 -0
- package/dist/schemas/local_history_operation.output.json +2 -0
- package/dist/schemas/local_info_operation.output.json +2 -0
- package/dist/schemas/local_mark_operation.output.json +2 -0
- package/dist/schemas/onchain_events.output.json +281 -11
- package/dist/schemas/onchain_events.schema.json +5 -1
- package/dist/schemas/onchain_operations.output.json +2 -0
- package/dist/schemas/onchain_operations.schema.json +37 -3
- package/dist/schemas/onchain_operations_arbitration.schema.json +1 -1
- package/dist/schemas/onchain_operations_reward.schema.json +35 -1
- package/dist/schemas/onchain_operations_service.schema.json +1 -1
- package/dist/schemas/query_toolkit.output.json +34 -0
- package/dist/tools/handlers/benchmark-migration.d.ts +1 -0
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/evaluation.spec.js +1 -1
- package/dist/tools/handlers/intent-radar.js +1 -1
- package/dist/tools/handlers/messenger.d.ts +1 -0
- package/dist/tools/handlers/messenger.js +1 -1
- package/dist/tools/handlers/onchain.d.ts +1 -0
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/wip.js +1 -1
- package/dist/tools/registry/agent.js +1 -1
- package/dist/tools/registry/query.js +1 -1
- package/dist/tools/wip-verify-ledger.d.ts +14 -0
- package/dist/tools/wip-verify-ledger.js +1 -0
- package/dist/tools/wrap.d.ts +4 -0
- package/dist/tools/wrap.js +1 -1
- package/package.json +2 -2
|
@@ -1137,8 +1137,12 @@
|
|
|
1137
1137
|
"description": "Review reward pool funding, smallest-unit string (required when the effective review mode is review_reward).",
|
|
1138
1138
|
"type": "string"
|
|
1139
1139
|
},
|
|
1140
|
+
"reward_claim_amount": {
|
|
1141
|
+
"description": "Per-claim reward bounty mounted on the claim guard_add, smallest-unit string (BK15-F09: schema-required on the mount; the kernel never fabricates a real-money parameter).",
|
|
1142
|
+
"type": "string"
|
|
1143
|
+
},
|
|
1140
1144
|
"after_sales_mode": {
|
|
1141
|
-
"description": "Per-build after-sales mode (D12
|
|
1145
|
+
"description": "Per-build after-sales mode (D12 refactor 4). Absent = the template's declared after_sales_mode applies. Declaring a mode with no backing rail in machine_shape is a compile blocker (AFTER_SALES_RAIL_MISSING).",
|
|
1142
1146
|
"type": "string",
|
|
1143
1147
|
"enum": [
|
|
1144
1148
|
"return",
|
|
@@ -1148,7 +1152,7 @@
|
|
|
1148
1152
|
]
|
|
1149
1153
|
},
|
|
1150
1154
|
"acceptance_mode": {
|
|
1151
|
-
"description": "Per-build acceptance/judging mode (D12
|
|
1155
|
+
"description": "Per-build acceptance/judging mode (D12 refactor 2). Absent = the template's declared acceptance_mode applies. A judge-decided mode (contest/bounty/agent) without arbitration_mode 'third_party' is a compile blocker (ACCEPTANCE_JUDGE_NOT_INDEPENDENT); a finite revision_rounds_max with no counter Repository guard is a compile blocker (ACCEPTANCE_REVISION_UNBOUNDED).",
|
|
1152
1156
|
"type": "string",
|
|
1153
1157
|
"enum": [
|
|
1154
1158
|
"milestone",
|
|
@@ -1159,7 +1163,7 @@
|
|
|
1159
1163
|
]
|
|
1160
1164
|
},
|
|
1161
1165
|
"installment_mode": {
|
|
1162
|
-
"description": "Per-build installment/deposit mode (D12
|
|
1166
|
+
"description": "Per-build installment/deposit mode (D12 refactor 3). Absent = the template's declared installment_mode applies. A capture forward with no fund-gate Guard is a compile blocker (INSTALLMENT_FUNDING_UNGATED); a deposit-held state with no exit rail is a compile blocker (INSTALLMENT_DEPOSIT_STRANDED).",
|
|
1163
1167
|
"type": "string",
|
|
1164
1168
|
"enum": [
|
|
1165
1169
|
"deposit_balance",
|
|
@@ -1168,7 +1172,7 @@
|
|
|
1168
1172
|
]
|
|
1169
1173
|
},
|
|
1170
1174
|
"affiliate_mode": {
|
|
1171
|
-
"description": "Per-build affiliate commission overlay (D12
|
|
1175
|
+
"description": "Per-build affiliate commission overlay (D12 batch 5). Absent = the template's declared affiliate_mode applies. A declared commission overlay with no commission rail is a compile blocker (AFFILIATE_RAIL_MISSING); a commission with no post-lock no-clawback disclosure build_note is a compile blocker (AFFILIATE_CLAWBACK_UNDISCLOSED).",
|
|
1172
1176
|
"type": "string",
|
|
1173
1177
|
"enum": [
|
|
1174
1178
|
"commission",
|
|
@@ -1176,7 +1180,7 @@
|
|
|
1176
1180
|
]
|
|
1177
1181
|
},
|
|
1178
1182
|
"crowdfunding_mode": {
|
|
1179
|
-
"description": "Per-build crowdfunding campaign overlay (D12
|
|
1183
|
+
"description": "Per-build crowdfunding campaign overlay (D12 batch 7). Absent = the template's declared crowdfunding_mode applies. A declared threshold/flexible overlay with no two-leg escrow-exit gate (release XOR refund, D-BUG-2) is a compile blocker (CROWDFUNDING_THRESHOLD_GATE_MISSING); a threshold gate whose aggregate is NOT a writer-bound sum-where (id_from signer) is a compile blocker (CROWDFUNDING_AGGREGATE_UNBOUND); a missing L-04/L-01/L-05 disclosure build_note is a compile blocker (CROWDFUNDING_DISCLOSURE_MISSING).",
|
|
1180
1184
|
"type": "string",
|
|
1181
1185
|
"enum": [
|
|
1182
1186
|
"threshold",
|
|
@@ -1337,8 +1341,12 @@
|
|
|
1337
1341
|
"description": "Step 6 confirmation: review reward pool funding, smallest-unit string (required when the effective review mode is review_reward).",
|
|
1338
1342
|
"type": "string"
|
|
1339
1343
|
},
|
|
1344
|
+
"reward_claim_amount": {
|
|
1345
|
+
"description": "Step 6 confirmation: per-claim reward bounty on the claim guard_add, smallest-unit string (BK15-F09).",
|
|
1346
|
+
"type": "string"
|
|
1347
|
+
},
|
|
1340
1348
|
"after_sales_mode": {
|
|
1341
|
-
"description": "Step 6 confirmation: per-build after-sales mode (D12
|
|
1349
|
+
"description": "Step 6 confirmation: per-build after-sales mode (D12 refactor 4). Absent = the template's declared after_sales_mode applies.",
|
|
1342
1350
|
"type": "string",
|
|
1343
1351
|
"enum": [
|
|
1344
1352
|
"return",
|
|
@@ -1348,7 +1356,7 @@
|
|
|
1348
1356
|
]
|
|
1349
1357
|
},
|
|
1350
1358
|
"acceptance_mode": {
|
|
1351
|
-
"description": "Step 6 confirmation: per-build acceptance/judging mode (D12
|
|
1359
|
+
"description": "Step 6 confirmation: per-build acceptance/judging mode (D12 refactor 2). Absent = the template's declared acceptance_mode applies.",
|
|
1352
1360
|
"type": "string",
|
|
1353
1361
|
"enum": [
|
|
1354
1362
|
"milestone",
|
|
@@ -1359,7 +1367,7 @@
|
|
|
1359
1367
|
]
|
|
1360
1368
|
},
|
|
1361
1369
|
"installment_mode": {
|
|
1362
|
-
"description": "Step 6 confirmation: per-build installment/deposit mode (D12
|
|
1370
|
+
"description": "Step 6 confirmation: per-build installment/deposit mode (D12 refactor 3). Absent = the template's declared installment_mode applies.",
|
|
1363
1371
|
"type": "string",
|
|
1364
1372
|
"enum": [
|
|
1365
1373
|
"deposit_balance",
|
|
@@ -1368,7 +1376,7 @@
|
|
|
1368
1376
|
]
|
|
1369
1377
|
},
|
|
1370
1378
|
"affiliate_mode": {
|
|
1371
|
-
"description": "Step 6 confirmation: per-build affiliate commission overlay (D12
|
|
1379
|
+
"description": "Step 6 confirmation: per-build affiliate commission overlay (D12 batch 5). Absent = the template's declared affiliate_mode applies.",
|
|
1372
1380
|
"type": "string",
|
|
1373
1381
|
"enum": [
|
|
1374
1382
|
"commission",
|
|
@@ -1376,7 +1384,7 @@
|
|
|
1376
1384
|
]
|
|
1377
1385
|
},
|
|
1378
1386
|
"crowdfunding_mode": {
|
|
1379
|
-
"description": "Step 6 confirmation: per-build crowdfunding campaign overlay (D12
|
|
1387
|
+
"description": "Step 6 confirmation: per-build crowdfunding campaign overlay (D12 batch 7). Absent = the template's declared crowdfunding_mode applies.",
|
|
1380
1388
|
"type": "string",
|
|
1381
1389
|
"enum": [
|
|
1382
1390
|
"threshold",
|
package/dist/schemas/index.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"title": "WoWok MCP Schema Index",
|
|
4
4
|
"description": "Index of all available JSON schemas for WoWok MCP tools",
|
|
5
|
-
"generatedAt": "2026-10-
|
|
5
|
+
"generatedAt": "2026-10-26T13:22:02.877Z",
|
|
6
6
|
"tools": [
|
|
7
7
|
{
|
|
8
8
|
"name": "onchain_operations",
|
|
@@ -856,14 +856,88 @@
|
|
|
856
856
|
},
|
|
857
857
|
"inference_confidence": {
|
|
858
858
|
"type": "number",
|
|
859
|
-
"description": "Inference confidence 0-1 (
|
|
859
|
+
"description": "Inference confidence 0-1 (evidenced trait count / 10; IR evidence counts when supplied)."
|
|
860
|
+
},
|
|
861
|
+
"inference_source": {
|
|
862
|
+
"type": "string",
|
|
863
|
+
"enum": [
|
|
864
|
+
"keywords",
|
|
865
|
+
"semantic_ir",
|
|
866
|
+
"semantic_ir+keywords"
|
|
867
|
+
],
|
|
868
|
+
"description": "Which layer produced the trait evidence: 'keywords' = English lexicon only; 'semantic_ir' = caller-supplied IR only; 'semantic_ir+keywords' = both (IR won any conflict)."
|
|
860
869
|
},
|
|
861
870
|
"matched_keywords": {
|
|
862
871
|
"type": "array",
|
|
863
872
|
"items": {
|
|
864
873
|
"type": "string"
|
|
865
874
|
},
|
|
866
|
-
"description": "Keywords that triggered trait inference (
|
|
875
|
+
"description": "Keywords from the intent text that triggered trait inference (English canonical lexicon)."
|
|
876
|
+
},
|
|
877
|
+
"semantic_ir": {
|
|
878
|
+
"description": "Canonical IR artifact echoed back for freeze/replay (present only when semantic_ir was supplied).",
|
|
879
|
+
"type": "object",
|
|
880
|
+
"propertyNames": {
|
|
881
|
+
"type": "string"
|
|
882
|
+
},
|
|
883
|
+
"additionalProperties": {}
|
|
884
|
+
},
|
|
885
|
+
"semantic_ir_digest": {
|
|
886
|
+
"description": "sha256 of the canonical IR artifact; identical claims in any array order yield the same digest.",
|
|
887
|
+
"type": "string"
|
|
888
|
+
},
|
|
889
|
+
"semantic_ir_issues": {
|
|
890
|
+
"description": "IR claims dropped/clamped/conflicting during validation (unknown vocabulary, inverted span, sub-threshold confidence).",
|
|
891
|
+
"type": "array",
|
|
892
|
+
"items": {
|
|
893
|
+
"type": "string"
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
"semantic_ir_conflicts": {
|
|
897
|
+
"description": "Dimensions where the keyword lexicon and the IR disagreed; the IR value was applied.",
|
|
898
|
+
"type": "array",
|
|
899
|
+
"items": {
|
|
900
|
+
"type": "object",
|
|
901
|
+
"properties": {
|
|
902
|
+
"trait": {
|
|
903
|
+
"type": "string"
|
|
904
|
+
},
|
|
905
|
+
"keyword_value": {
|
|
906
|
+
"anyOf": [
|
|
907
|
+
{
|
|
908
|
+
"type": "boolean"
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"type": "string"
|
|
912
|
+
}
|
|
913
|
+
]
|
|
914
|
+
},
|
|
915
|
+
"keyword_confidence": {
|
|
916
|
+
"type": "number"
|
|
917
|
+
},
|
|
918
|
+
"ir_value": {
|
|
919
|
+
"anyOf": [
|
|
920
|
+
{
|
|
921
|
+
"type": "boolean"
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"type": "string"
|
|
925
|
+
}
|
|
926
|
+
]
|
|
927
|
+
},
|
|
928
|
+
"ir_confidence": {
|
|
929
|
+
"type": "number"
|
|
930
|
+
}
|
|
931
|
+
},
|
|
932
|
+
"required": [
|
|
933
|
+
"trait",
|
|
934
|
+
"keyword_value",
|
|
935
|
+
"keyword_confidence",
|
|
936
|
+
"ir_value",
|
|
937
|
+
"ir_confidence"
|
|
938
|
+
],
|
|
939
|
+
"additionalProperties": false
|
|
940
|
+
}
|
|
867
941
|
},
|
|
868
942
|
"domain_priors": {
|
|
869
943
|
"description": "Domain vocabulary matches that boosted the named industries (domain evidence, not a trait claim).",
|
|
@@ -888,6 +962,15 @@
|
|
|
888
962
|
},
|
|
889
963
|
"boost": {
|
|
890
964
|
"type": "number"
|
|
965
|
+
},
|
|
966
|
+
"source": {
|
|
967
|
+
"description": "Which layer produced the prior; 'both' means keyword and IR agreed.",
|
|
968
|
+
"type": "string",
|
|
969
|
+
"enum": [
|
|
970
|
+
"keyword",
|
|
971
|
+
"semantic_ir",
|
|
972
|
+
"both"
|
|
973
|
+
]
|
|
891
974
|
}
|
|
892
975
|
},
|
|
893
976
|
"required": [
|
|
@@ -1143,6 +1226,7 @@
|
|
|
1143
1226
|
"intent",
|
|
1144
1227
|
"inferred_traits",
|
|
1145
1228
|
"inference_confidence",
|
|
1229
|
+
"inference_source",
|
|
1146
1230
|
"matched_keywords",
|
|
1147
1231
|
"strategy_intents",
|
|
1148
1232
|
"lever_suggestions",
|
|
@@ -113,6 +113,205 @@
|
|
|
113
113
|
}
|
|
114
114
|
]
|
|
115
115
|
},
|
|
116
|
+
"semantic_ir": {
|
|
117
|
+
"description": "Canonical Semantic IR for recommend_industry, produced by the CALLING agent (this server runs no LLM). Use it when the intent is not English, or is phrased outside the English keyword lexicon: translate the business description into this fixed shape and let the server decide. The server validates the IR, merges it with keyword inference (IR evidence wins conflicts, keywords remain the fallback) and echoes the canonical artifact + sha256 digest for freeze/replay. Shape: {schema_version: 1, locale: '<BCP-47>', traits: [{trait, value, confidence: 0..1, span?: {start,end}, quote?}], domains: [{domain, confidence?}], claims: [{key, value, confidence?}], provenance: {source: 'caller_llm', model?, prompt_version?}}. traits vocabulary (10 dimensions): has_logistics, communication_heavy, pure_digital, long_cycle, deposit_required, multi_tier_allocation (boolean); regulatory_intensity, trust_sensitivity (low|medium|high); consumption_frequency (one_time|occasional|frequent); avg_ticket_size (micro|small|medium|large). domains vocabulary: travel_accommodation. claims vocabulary: reward_pool_amount. Rules: emit evidence only (no free-form prose), one entry per dimension, confidence below 0.5 is recorded but not applied, unknown traits/domains/values are dropped and reported in semantic_ir_issues.",
|
|
118
|
+
"type": "object",
|
|
119
|
+
"properties": {
|
|
120
|
+
"schema_version": {
|
|
121
|
+
"type": "number",
|
|
122
|
+
"const": 1
|
|
123
|
+
},
|
|
124
|
+
"locale": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"minLength": 2,
|
|
127
|
+
"maxLength": 35
|
|
128
|
+
},
|
|
129
|
+
"traits": {
|
|
130
|
+
"maxItems": 20,
|
|
131
|
+
"type": "array",
|
|
132
|
+
"items": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"properties": {
|
|
135
|
+
"trait": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"maxLength": 64
|
|
138
|
+
},
|
|
139
|
+
"value": {
|
|
140
|
+
"anyOf": [
|
|
141
|
+
{
|
|
142
|
+
"type": "boolean"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"type": "string",
|
|
146
|
+
"maxLength": 32
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
"confidence": {
|
|
151
|
+
"type": "number"
|
|
152
|
+
},
|
|
153
|
+
"span": {
|
|
154
|
+
"type": "object",
|
|
155
|
+
"properties": {
|
|
156
|
+
"start": {
|
|
157
|
+
"type": "integer",
|
|
158
|
+
"minimum": 0,
|
|
159
|
+
"maximum": 9007199254740991
|
|
160
|
+
},
|
|
161
|
+
"end": {
|
|
162
|
+
"type": "integer",
|
|
163
|
+
"minimum": 0,
|
|
164
|
+
"maximum": 9007199254740991
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"required": [
|
|
168
|
+
"start",
|
|
169
|
+
"end"
|
|
170
|
+
],
|
|
171
|
+
"additionalProperties": false
|
|
172
|
+
},
|
|
173
|
+
"quote": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"maxLength": 300
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"required": [
|
|
179
|
+
"trait",
|
|
180
|
+
"value",
|
|
181
|
+
"confidence"
|
|
182
|
+
],
|
|
183
|
+
"additionalProperties": false
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"domains": {
|
|
187
|
+
"maxItems": 10,
|
|
188
|
+
"type": "array",
|
|
189
|
+
"items": {
|
|
190
|
+
"type": "object",
|
|
191
|
+
"properties": {
|
|
192
|
+
"domain": {
|
|
193
|
+
"type": "string",
|
|
194
|
+
"maxLength": 64
|
|
195
|
+
},
|
|
196
|
+
"confidence": {
|
|
197
|
+
"type": "number"
|
|
198
|
+
},
|
|
199
|
+
"span": {
|
|
200
|
+
"type": "object",
|
|
201
|
+
"properties": {
|
|
202
|
+
"start": {
|
|
203
|
+
"type": "integer",
|
|
204
|
+
"minimum": 0,
|
|
205
|
+
"maximum": 9007199254740991
|
|
206
|
+
},
|
|
207
|
+
"end": {
|
|
208
|
+
"type": "integer",
|
|
209
|
+
"minimum": 0,
|
|
210
|
+
"maximum": 9007199254740991
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"required": [
|
|
214
|
+
"start",
|
|
215
|
+
"end"
|
|
216
|
+
],
|
|
217
|
+
"additionalProperties": false
|
|
218
|
+
},
|
|
219
|
+
"quote": {
|
|
220
|
+
"type": "string",
|
|
221
|
+
"maxLength": 300
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
"required": [
|
|
225
|
+
"domain"
|
|
226
|
+
],
|
|
227
|
+
"additionalProperties": false
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"claims": {
|
|
231
|
+
"maxItems": 10,
|
|
232
|
+
"type": "array",
|
|
233
|
+
"items": {
|
|
234
|
+
"type": "object",
|
|
235
|
+
"properties": {
|
|
236
|
+
"key": {
|
|
237
|
+
"type": "string",
|
|
238
|
+
"maxLength": 64
|
|
239
|
+
},
|
|
240
|
+
"value": {
|
|
241
|
+
"type": "number"
|
|
242
|
+
},
|
|
243
|
+
"confidence": {
|
|
244
|
+
"type": "number"
|
|
245
|
+
},
|
|
246
|
+
"span": {
|
|
247
|
+
"type": "object",
|
|
248
|
+
"properties": {
|
|
249
|
+
"start": {
|
|
250
|
+
"type": "integer",
|
|
251
|
+
"minimum": 0,
|
|
252
|
+
"maximum": 9007199254740991
|
|
253
|
+
},
|
|
254
|
+
"end": {
|
|
255
|
+
"type": "integer",
|
|
256
|
+
"minimum": 0,
|
|
257
|
+
"maximum": 9007199254740991
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"required": [
|
|
261
|
+
"start",
|
|
262
|
+
"end"
|
|
263
|
+
],
|
|
264
|
+
"additionalProperties": false
|
|
265
|
+
},
|
|
266
|
+
"quote": {
|
|
267
|
+
"type": "string",
|
|
268
|
+
"maxLength": 300
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"required": [
|
|
272
|
+
"key",
|
|
273
|
+
"value"
|
|
274
|
+
],
|
|
275
|
+
"additionalProperties": false
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"provenance": {
|
|
279
|
+
"type": "object",
|
|
280
|
+
"properties": {
|
|
281
|
+
"source": {
|
|
282
|
+
"type": "string",
|
|
283
|
+
"enum": [
|
|
284
|
+
"caller_llm",
|
|
285
|
+
"human"
|
|
286
|
+
]
|
|
287
|
+
},
|
|
288
|
+
"model": {
|
|
289
|
+
"type": "string",
|
|
290
|
+
"maxLength": 120
|
|
291
|
+
},
|
|
292
|
+
"prompt_version": {
|
|
293
|
+
"type": "string",
|
|
294
|
+
"maxLength": 60
|
|
295
|
+
},
|
|
296
|
+
"generated_at": {
|
|
297
|
+
"type": "integer",
|
|
298
|
+
"minimum": 0,
|
|
299
|
+
"maximum": 9007199254740991
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"required": [
|
|
303
|
+
"source"
|
|
304
|
+
],
|
|
305
|
+
"additionalProperties": false
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
"required": [
|
|
309
|
+
"schema_version",
|
|
310
|
+
"locale",
|
|
311
|
+
"provenance"
|
|
312
|
+
],
|
|
313
|
+
"additionalProperties": false
|
|
314
|
+
},
|
|
116
315
|
"mode_source": {
|
|
117
316
|
"description": "Source builtin mode name for derive_user_mode (e.g. 'freelance'). Call list_modes to see available modes.",
|
|
118
317
|
"type": "string"
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"enum": [
|
|
57
57
|
"NewOrderEvent",
|
|
58
58
|
"ProgressEvent",
|
|
59
|
+
"ThresholdPendingEvent",
|
|
59
60
|
"DemandPresentEvent",
|
|
60
61
|
"DemandFeedbackEvent",
|
|
61
62
|
"DemandChangedEvent",
|
|
@@ -155,6 +156,7 @@
|
|
|
155
156
|
"enum": [
|
|
156
157
|
"NewOrderEvent",
|
|
157
158
|
"ProgressEvent",
|
|
159
|
+
"ThresholdPendingEvent",
|
|
158
160
|
"DemandPresentEvent",
|
|
159
161
|
"DemandFeedbackEvent",
|
|
160
162
|
"DemandChangedEvent",
|