@mrciphersmith/keryx 0.2.47 → 0.2.49
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 +13 -0
- package/dist/cli.js +5144 -1528
- package/package.json +1 -1
- package/src/gdskills/contracts/subagent-dispatch.schema.json +40 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrciphersmith/keryx",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.49",
|
|
4
4
|
"description": "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -92,6 +92,46 @@
|
|
|
92
92
|
"inherit": { "type": "boolean" }
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
|
+
"runtime": {
|
|
96
|
+
"description": "Which child runtime executes this dispatch (flow 176; docs/requirements/keryx-external-agent-runtime). Additive and optional: an absent block means the native keryx runtime, so every dispatch authored before this package stays valid. Constraints this schema cannot express — the agent resolving in the registry, the sandbox appearing in that agent's supported modes, and read-only versus allowed_actions — are enforced fail-closed by the pure validator in src/harness/external/dispatch.ts.",
|
|
97
|
+
"type": "object",
|
|
98
|
+
"additionalProperties": false,
|
|
99
|
+
"required": ["kind"],
|
|
100
|
+
"properties": {
|
|
101
|
+
"kind": {
|
|
102
|
+
"description": "`keryx` runs the in-process agent loop; `external` spawns a vendor CLI subprocess.",
|
|
103
|
+
"type": "string",
|
|
104
|
+
"enum": ["keryx", "external"]
|
|
105
|
+
},
|
|
106
|
+
"agent": {
|
|
107
|
+
"description": "Registry id of the external agent. Required when kind is `external`.",
|
|
108
|
+
"type": "string",
|
|
109
|
+
"minLength": 1
|
|
110
|
+
},
|
|
111
|
+
"sandbox": {
|
|
112
|
+
"description": "Permission level for the external child. `worktree-write` is schema-valid but refused at runtime in the read-only release, with a reason distinguishable from an unsupported-by-this-agent refusal.",
|
|
113
|
+
"type": "string",
|
|
114
|
+
"enum": ["read-only", "worktree-write"]
|
|
115
|
+
},
|
|
116
|
+
"model": {
|
|
117
|
+
"description": "Model id passed to the external CLI. Omit or null to let the CLI resolve its own default under the operator's active subscription — keryx never pins a model the account may not be entitled to.",
|
|
118
|
+
"type": ["string", "null"],
|
|
119
|
+
"minLength": 1
|
|
120
|
+
},
|
|
121
|
+
"timeoutMs": { "type": ["integer", "null"], "minimum": 1000 },
|
|
122
|
+
"maxCostUnits": { "type": ["number", "null"], "exclusiveMinimum": 0 }
|
|
123
|
+
},
|
|
124
|
+
"allOf": [
|
|
125
|
+
{
|
|
126
|
+
"if": { "properties": { "kind": { "const": "external" } }, "required": ["kind"] },
|
|
127
|
+
"then": { "required": ["agent", "sandbox"] }
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"if": { "properties": { "kind": { "const": "keryx" } }, "required": ["kind"] },
|
|
131
|
+
"then": { "not": { "required": ["agent"] } }
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
},
|
|
95
135
|
"provenance": {
|
|
96
136
|
"type": "object",
|
|
97
137
|
"additionalProperties": true,
|