agentxchain 2.135.0 → 2.136.0
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/bin/agentxchain.js +10 -1
- package/package.json +4 -2
- package/scripts/release-preflight.sh +2 -0
- package/src/commands/connector.js +136 -0
- package/src/commands/mission.js +250 -103
- package/src/commands/restart.js +3 -0
- package/src/commands/resume.js +15 -0
- package/src/commands/step.js +12 -0
- package/src/lib/connector-validate.js +6 -0
- package/src/lib/context-section-parser.js +52 -0
- package/src/lib/continuous-run.js +60 -5
- package/src/lib/dispatch-bundle.js +14 -0
- package/src/lib/gate-evaluator.js +18 -1
- package/src/lib/governed-state.js +182 -52
- package/src/lib/intake.js +23 -52
- package/src/lib/intent-startup-migration.js +151 -0
- package/src/lib/normalized-config.js +5 -0
- package/src/lib/runtime-capabilities.js +101 -81
- package/src/lib/schemas/agentxchain-config.schema.json +391 -0
- package/src/lib/schemas/connector-capabilities-output.schema.json +104 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://agentxchain.dev/schemas/connector-capabilities-output.schema.json",
|
|
4
|
+
"title": "AgentXchain Connector Capabilities Output",
|
|
5
|
+
"description": "Output schema for `connector capabilities [runtime_id] --json`. Covers single-runtime, multi-runtime (--all), and error responses.",
|
|
6
|
+
"oneOf": [
|
|
7
|
+
{ "$ref": "#/$defs/single_runtime_response" },
|
|
8
|
+
{ "$ref": "#/$defs/multi_runtime_response" },
|
|
9
|
+
{ "$ref": "#/$defs/error_response" }
|
|
10
|
+
],
|
|
11
|
+
"$defs": {
|
|
12
|
+
"write_capability": {
|
|
13
|
+
"enum": ["direct", "proposal_only", "tool_defined", "unknown"]
|
|
14
|
+
},
|
|
15
|
+
"proposal_capability": {
|
|
16
|
+
"enum": ["none", "optional", "native", "tool_defined", "unknown"]
|
|
17
|
+
},
|
|
18
|
+
"ownership_capability": {
|
|
19
|
+
"enum": ["yes", "no", "proposal_apply_required", "tool_defined", "unknown"]
|
|
20
|
+
},
|
|
21
|
+
"merged_contract": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"required": ["runtime_type", "transport", "can_write_files", "proposal_support", "requires_local_binary", "workflow_artifact_ownership"],
|
|
24
|
+
"properties": {
|
|
25
|
+
"runtime_type": { "type": "string" },
|
|
26
|
+
"transport": { "type": "string" },
|
|
27
|
+
"can_write_files": { "$ref": "#/$defs/write_capability" },
|
|
28
|
+
"review_only_behavior": { "type": "string" },
|
|
29
|
+
"proposal_support": { "$ref": "#/$defs/proposal_capability" },
|
|
30
|
+
"requires_local_binary": { "type": "boolean" },
|
|
31
|
+
"workflow_artifact_ownership": { "$ref": "#/$defs/ownership_capability" }
|
|
32
|
+
},
|
|
33
|
+
"additionalProperties": false
|
|
34
|
+
},
|
|
35
|
+
"declared_capabilities": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"properties": {
|
|
38
|
+
"can_write_files": { "$ref": "#/$defs/write_capability" },
|
|
39
|
+
"proposal_support": { "$ref": "#/$defs/proposal_capability" },
|
|
40
|
+
"workflow_artifact_ownership": { "$ref": "#/$defs/ownership_capability" }
|
|
41
|
+
},
|
|
42
|
+
"additionalProperties": false
|
|
43
|
+
},
|
|
44
|
+
"role_binding": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"required": ["role_id", "role_write_authority", "effective_write_path", "workflow_artifact_ownership", "notes"],
|
|
47
|
+
"properties": {
|
|
48
|
+
"role_id": { "type": "string" },
|
|
49
|
+
"role_write_authority": {
|
|
50
|
+
"enum": ["authoritative", "proposed", "review_only", "unknown"]
|
|
51
|
+
},
|
|
52
|
+
"effective_write_path": { "type": "string" },
|
|
53
|
+
"workflow_artifact_ownership": { "type": "string" },
|
|
54
|
+
"notes": {
|
|
55
|
+
"type": "array",
|
|
56
|
+
"items": { "type": "string" }
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"additionalProperties": false
|
|
60
|
+
},
|
|
61
|
+
"single_runtime_response": {
|
|
62
|
+
"type": "object",
|
|
63
|
+
"required": ["runtime_id", "runtime_type", "declared_capabilities", "merged_contract", "declaration_warnings", "role_bindings"],
|
|
64
|
+
"properties": {
|
|
65
|
+
"runtime_id": { "type": "string" },
|
|
66
|
+
"runtime_type": { "type": "string" },
|
|
67
|
+
"declared_capabilities": { "$ref": "#/$defs/declared_capabilities" },
|
|
68
|
+
"merged_contract": { "$ref": "#/$defs/merged_contract" },
|
|
69
|
+
"declaration_warnings": {
|
|
70
|
+
"type": "array",
|
|
71
|
+
"items": { "type": "string" }
|
|
72
|
+
},
|
|
73
|
+
"role_bindings": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": { "$ref": "#/$defs/role_binding" }
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"additionalProperties": false
|
|
79
|
+
},
|
|
80
|
+
"multi_runtime_response": {
|
|
81
|
+
"type": "object",
|
|
82
|
+
"required": ["runtimes"],
|
|
83
|
+
"properties": {
|
|
84
|
+
"runtimes": {
|
|
85
|
+
"type": "array",
|
|
86
|
+
"items": { "$ref": "#/$defs/single_runtime_response" }
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"additionalProperties": false
|
|
90
|
+
},
|
|
91
|
+
"error_response": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"required": ["error"],
|
|
94
|
+
"properties": {
|
|
95
|
+
"error": { "type": "string" },
|
|
96
|
+
"available_runtimes": {
|
|
97
|
+
"type": "array",
|
|
98
|
+
"items": { "type": "string" }
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"additionalProperties": false
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|