@moreih29/nexus-core 0.11.0 → 0.13.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/README.md +48 -63
- package/assets/agents/architect/body.ko.md +177 -0
- package/{agents → assets/agents}/architect/body.md +16 -0
- package/assets/agents/designer/body.ko.md +125 -0
- package/{agents → assets/agents}/designer/body.md +16 -0
- package/assets/agents/engineer/body.ko.md +106 -0
- package/{agents → assets/agents}/engineer/body.md +14 -0
- package/assets/agents/lead/body.ko.md +70 -0
- package/assets/agents/lead/body.md +70 -0
- package/assets/agents/postdoc/body.ko.md +122 -0
- package/{agents → assets/agents}/postdoc/body.md +16 -0
- package/assets/agents/researcher/body.ko.md +137 -0
- package/{agents → assets/agents}/researcher/body.md +15 -0
- package/assets/agents/reviewer/body.ko.md +138 -0
- package/{agents → assets/agents}/reviewer/body.md +15 -0
- package/assets/agents/strategist/body.ko.md +116 -0
- package/{agents → assets/agents}/strategist/body.md +16 -0
- package/assets/agents/tester/body.ko.md +195 -0
- package/{agents → assets/agents}/tester/body.md +15 -0
- package/assets/agents/writer/body.ko.md +122 -0
- package/{agents → assets/agents}/writer/body.md +14 -0
- package/assets/capability-matrix.yml +198 -0
- package/assets/hooks/agent-bootstrap/handler.test.ts +368 -0
- package/assets/hooks/agent-bootstrap/handler.ts +119 -0
- package/assets/hooks/agent-bootstrap/meta.yml +10 -0
- package/assets/hooks/agent-finalize/handler.test.ts +368 -0
- package/assets/hooks/agent-finalize/handler.ts +76 -0
- package/assets/hooks/agent-finalize/meta.yml +10 -0
- package/assets/hooks/capability-matrix.yml +313 -0
- package/assets/hooks/post-tool-telemetry/handler.test.ts +302 -0
- package/assets/hooks/post-tool-telemetry/handler.ts +49 -0
- package/assets/hooks/post-tool-telemetry/meta.yml +11 -0
- package/assets/hooks/prompt-router/handler.test.ts +801 -0
- package/assets/hooks/prompt-router/handler.ts +261 -0
- package/assets/hooks/prompt-router/meta.yml +11 -0
- package/assets/hooks/session-init/handler.test.ts +274 -0
- package/assets/hooks/session-init/handler.ts +30 -0
- package/assets/hooks/session-init/meta.yml +9 -0
- package/assets/lsp-servers.json +55 -0
- package/assets/schema/lsp-servers.schema.json +67 -0
- package/assets/skills/nx-init/body.ko.md +197 -0
- package/{skills → assets/skills}/nx-init/body.md +11 -0
- package/assets/skills/nx-plan/body.ko.md +361 -0
- package/{skills → assets/skills}/nx-plan/body.md +13 -0
- package/assets/skills/nx-run/body.ko.md +161 -0
- package/{skills → assets/skills}/nx-run/body.md +11 -0
- package/assets/skills/nx-sync/body.ko.md +92 -0
- package/{skills → assets/skills}/nx-sync/body.md +10 -0
- package/assets/tools/tool-name-map.yml +353 -0
- package/dist/hooks/opencode-mount.d.ts +35 -0
- package/dist/hooks/opencode-mount.d.ts.map +1 -0
- package/dist/hooks/opencode-mount.js +332 -0
- package/dist/hooks/opencode-mount.js.map +1 -0
- package/dist/hooks/runtime.d.ts +37 -0
- package/dist/hooks/runtime.d.ts.map +1 -0
- package/dist/hooks/runtime.js +274 -0
- package/dist/hooks/runtime.js.map +1 -0
- package/dist/hooks/types.d.ts +196 -0
- package/dist/hooks/types.d.ts.map +1 -0
- package/dist/hooks/types.js +85 -0
- package/dist/hooks/types.js.map +1 -0
- package/dist/lsp/cache.d.ts +9 -0
- package/dist/lsp/cache.d.ts.map +1 -0
- package/dist/lsp/cache.js +216 -0
- package/dist/lsp/cache.js.map +1 -0
- package/dist/lsp/client.d.ts +24 -0
- package/dist/lsp/client.d.ts.map +1 -0
- package/dist/lsp/client.js +166 -0
- package/dist/lsp/client.js.map +1 -0
- package/dist/lsp/detect.d.ts +77 -0
- package/dist/lsp/detect.d.ts.map +1 -0
- package/dist/lsp/detect.js +116 -0
- package/dist/lsp/detect.js.map +1 -0
- package/dist/mcp/server.d.ts +5 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +34 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/tools/artifact.d.ts +4 -0
- package/dist/mcp/tools/artifact.d.ts.map +1 -0
- package/dist/mcp/tools/artifact.js +36 -0
- package/dist/mcp/tools/artifact.js.map +1 -0
- package/dist/mcp/tools/history.d.ts +3 -0
- package/dist/mcp/tools/history.d.ts.map +1 -0
- package/dist/mcp/tools/history.js +29 -0
- package/dist/mcp/tools/history.js.map +1 -0
- package/dist/mcp/tools/lsp.d.ts +13 -0
- package/dist/mcp/tools/lsp.d.ts.map +1 -0
- package/dist/mcp/tools/lsp.js +225 -0
- package/dist/mcp/tools/lsp.js.map +1 -0
- package/dist/mcp/tools/plan.d.ts +3 -0
- package/dist/mcp/tools/plan.d.ts.map +1 -0
- package/dist/mcp/tools/plan.js +317 -0
- package/dist/mcp/tools/plan.js.map +1 -0
- package/dist/mcp/tools/task.d.ts +3 -0
- package/dist/mcp/tools/task.d.ts.map +1 -0
- package/dist/mcp/tools/task.js +252 -0
- package/dist/mcp/tools/task.js.map +1 -0
- package/dist/shared/invocations.d.ts +74 -0
- package/dist/shared/invocations.d.ts.map +1 -0
- package/dist/shared/invocations.js +247 -0
- package/dist/shared/invocations.js.map +1 -0
- package/dist/shared/json-store.d.ts +37 -0
- package/dist/shared/json-store.d.ts.map +1 -0
- package/dist/shared/json-store.js +163 -0
- package/dist/shared/json-store.js.map +1 -0
- package/dist/shared/mcp-utils.d.ts +3 -0
- package/dist/shared/mcp-utils.d.ts.map +1 -0
- package/dist/shared/mcp-utils.js +6 -0
- package/dist/shared/mcp-utils.js.map +1 -0
- package/dist/shared/paths.d.ts +21 -0
- package/dist/shared/paths.d.ts.map +1 -0
- package/dist/shared/paths.js +81 -0
- package/dist/shared/paths.js.map +1 -0
- package/dist/shared/tool-log.d.ts +8 -0
- package/dist/shared/tool-log.d.ts.map +1 -0
- package/dist/shared/tool-log.js +22 -0
- package/dist/shared/tool-log.js.map +1 -0
- package/dist/types/state.d.ts +862 -0
- package/dist/types/state.d.ts.map +1 -0
- package/dist/types/state.js +66 -0
- package/dist/types/state.js.map +1 -0
- package/docs/consuming/codex-lead-merge.md +106 -0
- package/docs/plugin-guide.md +360 -0
- package/docs/plugin-template/claude/.github/workflows/build.yml +60 -0
- package/docs/plugin-template/claude/README.md +110 -0
- package/docs/plugin-template/claude/package.json +16 -0
- package/docs/plugin-template/codex/.github/workflows/build.yml +51 -0
- package/docs/plugin-template/codex/README.md +147 -0
- package/docs/plugin-template/codex/package.json +17 -0
- package/docs/plugin-template/opencode/.github/workflows/build.yml +61 -0
- package/docs/plugin-template/opencode/README.md +121 -0
- package/docs/plugin-template/opencode/package.json +25 -0
- package/package.json +21 -21
- package/scripts/build-agents.test.ts +1279 -0
- package/scripts/build-agents.ts +978 -0
- package/scripts/build-hooks.test.ts +1385 -0
- package/scripts/build-hooks.ts +584 -0
- package/scripts/cli.test.ts +367 -0
- package/scripts/cli.ts +547 -0
- package/agents/architect/meta.yml +0 -13
- package/agents/designer/meta.yml +0 -13
- package/agents/engineer/meta.yml +0 -11
- package/agents/postdoc/meta.yml +0 -13
- package/agents/researcher/meta.yml +0 -12
- package/agents/reviewer/meta.yml +0 -12
- package/agents/strategist/meta.yml +0 -13
- package/agents/tester/meta.yml +0 -12
- package/agents/writer/meta.yml +0 -11
- package/conformance/README.md +0 -311
- package/conformance/examples/plan.extension.schema.example.json +0 -25
- package/conformance/lifecycle/README.md +0 -48
- package/conformance/lifecycle/agent-complete.json +0 -44
- package/conformance/lifecycle/agent-resume.json +0 -43
- package/conformance/lifecycle/agent-spawn.json +0 -36
- package/conformance/lifecycle/memory-access-record.json +0 -27
- package/conformance/lifecycle/session-end.json +0 -48
- package/conformance/scenarios/full-plan-cycle.json +0 -147
- package/conformance/scenarios/task-deps-ordering.json +0 -95
- package/conformance/schema/fixture.schema.json +0 -354
- package/conformance/state-schemas/agent-tracker.schema.json +0 -63
- package/conformance/state-schemas/history.schema.json +0 -134
- package/conformance/state-schemas/memory-access.schema.json +0 -36
- package/conformance/state-schemas/plan.schema.json +0 -77
- package/conformance/state-schemas/tasks.schema.json +0 -98
- package/conformance/tools/artifact-write.json +0 -97
- package/conformance/tools/context.json +0 -172
- package/conformance/tools/history-search.json +0 -219
- package/conformance/tools/plan-decide.json +0 -139
- package/conformance/tools/plan-start.json +0 -81
- package/conformance/tools/plan-status.json +0 -127
- package/conformance/tools/plan-update.json +0 -341
- package/conformance/tools/task-add.json +0 -156
- package/conformance/tools/task-close.json +0 -161
- package/conformance/tools/task-list.json +0 -177
- package/conformance/tools/task-update.json +0 -167
- package/docs/behavioral-contracts.md +0 -145
- package/docs/consumer-implementation-guide.md +0 -852
- package/docs/memory-lifecycle-contract.md +0 -119
- package/docs/nexus-layout.md +0 -224
- package/docs/nexus-outputs-contract.md +0 -344
- package/docs/nexus-state-overview.md +0 -170
- package/docs/nexus-tools-contract.md +0 -438
- package/manifest.json +0 -449
- package/schema/README.md +0 -69
- package/schema/agent.schema.json +0 -23
- package/schema/common.schema.json +0 -17
- package/schema/manifest.schema.json +0 -78
- package/schema/memory-policy.schema.json +0 -98
- package/schema/skill.schema.json +0 -54
- package/schema/task-exceptions.schema.json +0 -40
- package/schema/vocabulary.schema.json +0 -167
- package/scripts/.gitkeep +0 -0
- package/scripts/conformance-coverage.ts +0 -466
- package/scripts/import-from-claude-nexus.ts +0 -403
- package/scripts/lib/frontmatter.ts +0 -71
- package/scripts/lib/lint.ts +0 -348
- package/scripts/lib/structure.ts +0 -159
- package/scripts/lib/validate.ts +0 -794
- package/scripts/validate.ts +0 -90
- package/skills/nx-init/meta.yml +0 -8
- package/skills/nx-plan/meta.yml +0 -10
- package/skills/nx-run/meta.yml +0 -9
- package/skills/nx-sync/meta.yml +0 -7
- package/vocabulary/capabilities.yml +0 -65
- package/vocabulary/categories.yml +0 -11
- package/vocabulary/invocations.yml +0 -147
- package/vocabulary/memory_policy.yml +0 -88
- package/vocabulary/resume-tiers.yml +0 -11
- package/vocabulary/tags.yml +0 -60
- package/vocabulary/task-exceptions.yml +0 -29
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://moreih29/nexus-core/schema/memory-policy.schema.json",
|
|
4
|
-
"title": "Nexus Memory Policy",
|
|
5
|
-
"description": "Schema for vocabulary/memory_policy.yml — canonical memory policy for .nexus/memory/.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"additionalProperties": false,
|
|
8
|
-
"required": ["categories", "naming", "access_tracking", "forgetting", "merge"],
|
|
9
|
-
"properties": {
|
|
10
|
-
"categories": {
|
|
11
|
-
"type": "array",
|
|
12
|
-
"items": {
|
|
13
|
-
"type": "object",
|
|
14
|
-
"additionalProperties": false,
|
|
15
|
-
"required": ["id", "prefix", "description"],
|
|
16
|
-
"properties": {
|
|
17
|
-
"id": { "type": "string", "minLength": 1 },
|
|
18
|
-
"prefix": { "type": "string", "minLength": 1 },
|
|
19
|
-
"description": { "type": "string", "minLength": 1 }
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"naming": {
|
|
24
|
-
"type": "object",
|
|
25
|
-
"additionalProperties": false,
|
|
26
|
-
"required": ["pattern", "description", "optional_prefix"],
|
|
27
|
-
"properties": {
|
|
28
|
-
"pattern": { "type": "string", "minLength": 1 },
|
|
29
|
-
"description": { "type": "string", "minLength": 1 },
|
|
30
|
-
"optional_prefix": { "type": "boolean" }
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"access_tracking": {
|
|
34
|
-
"type": "object",
|
|
35
|
-
"additionalProperties": false,
|
|
36
|
-
"required": [
|
|
37
|
-
"observation_primitive",
|
|
38
|
-
"scope",
|
|
39
|
-
"description",
|
|
40
|
-
"information_accumulated",
|
|
41
|
-
"storage_contract_reference"
|
|
42
|
-
],
|
|
43
|
-
"properties": {
|
|
44
|
-
"observation_primitive": { "type": "string", "minLength": 1 },
|
|
45
|
-
"scope": { "type": "string", "minLength": 1 },
|
|
46
|
-
"description": { "type": "string", "minLength": 1 },
|
|
47
|
-
"information_accumulated": {
|
|
48
|
-
"type": "array",
|
|
49
|
-
"items": {
|
|
50
|
-
"type": "object",
|
|
51
|
-
"additionalProperties": false,
|
|
52
|
-
"required": ["name", "meaning"],
|
|
53
|
-
"properties": {
|
|
54
|
-
"name": { "type": "string", "minLength": 1 },
|
|
55
|
-
"meaning": { "type": "string", "minLength": 1 }
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"storage_contract_reference": { "type": "string", "minLength": 1 }
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"forgetting": {
|
|
63
|
-
"type": "object",
|
|
64
|
-
"additionalProperties": false,
|
|
65
|
-
"required": [
|
|
66
|
-
"manual_gate_default",
|
|
67
|
-
"description",
|
|
68
|
-
"automatic_deletion_structure",
|
|
69
|
-
"recoverable_deletion_requirement",
|
|
70
|
-
"recoverable_deletion_description"
|
|
71
|
-
],
|
|
72
|
-
"properties": {
|
|
73
|
-
"manual_gate_default": { "type": "boolean" },
|
|
74
|
-
"description": { "type": "string", "minLength": 1 },
|
|
75
|
-
"automatic_deletion_structure": {
|
|
76
|
-
"type": "object",
|
|
77
|
-
"additionalProperties": false,
|
|
78
|
-
"required": ["principle", "description"],
|
|
79
|
-
"properties": {
|
|
80
|
-
"principle": { "type": "string", "minLength": 1 },
|
|
81
|
-
"description": { "type": "string", "minLength": 1 }
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"recoverable_deletion_requirement": { "type": "string", "minLength": 1 },
|
|
85
|
-
"recoverable_deletion_description": { "type": "string", "minLength": 1 }
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
"merge": {
|
|
89
|
-
"type": "object",
|
|
90
|
-
"additionalProperties": false,
|
|
91
|
-
"required": ["principle", "description"],
|
|
92
|
-
"properties": {
|
|
93
|
-
"principle": { "type": "string", "minLength": 1 },
|
|
94
|
-
"description": { "type": "string", "minLength": 1 }
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
package/schema/skill.schema.json
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "skill.schema.json",
|
|
4
|
-
"title": "Nexus Skill meta.yml",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"required": ["id", "name", "description"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"id": { "$ref": "common.schema.json#/$defs/id" },
|
|
10
|
-
"name": { "type": "string", "minLength": 1 },
|
|
11
|
-
"description": { "$ref": "common.schema.json#/$defs/description" },
|
|
12
|
-
"triggers": {
|
|
13
|
-
"type": "array",
|
|
14
|
-
"minItems": 1,
|
|
15
|
-
"items": { "$ref": "common.schema.json#/$defs/id" }
|
|
16
|
-
},
|
|
17
|
-
"alias_ko": { "type": "string" },
|
|
18
|
-
"manual_only": {
|
|
19
|
-
"type": "boolean",
|
|
20
|
-
"default": false,
|
|
21
|
-
"description": "When true, this skill MUST NOT be auto-invoked by the LLM from natural language inference. Only explicit user-initiated triggers (slash command or bracket tag typed by the user) may activate it."
|
|
22
|
-
},
|
|
23
|
-
"summary": {
|
|
24
|
-
"type": "string",
|
|
25
|
-
"minLength": 10,
|
|
26
|
-
"maxLength": 120,
|
|
27
|
-
"description": "Short one-line identity for UI/catalog rendering. Not a substitute for description."
|
|
28
|
-
},
|
|
29
|
-
"harness_docs_refs": {
|
|
30
|
-
"type": "array",
|
|
31
|
-
"items": { "type": "string", "minLength": 1 },
|
|
32
|
-
"description": "List of harness-specific documentation keys that consumers should surface when rendering this skill. Keys reference entries in a consumer-local harness-docs directory."
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"allOf": [
|
|
36
|
-
{
|
|
37
|
-
"if": {
|
|
38
|
-
"properties": { "manual_only": { "const": true } },
|
|
39
|
-
"required": ["manual_only"]
|
|
40
|
-
},
|
|
41
|
-
"then": {},
|
|
42
|
-
"else": {
|
|
43
|
-
"properties": {
|
|
44
|
-
"triggers": {
|
|
45
|
-
"type": "array",
|
|
46
|
-
"minItems": 1,
|
|
47
|
-
"items": { "$ref": "common.schema.json#/$defs/id" }
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"required": ["triggers"]
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
]
|
|
54
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://moreih29/nexus-core/schema/task-exceptions.schema.json",
|
|
4
|
-
"title": "Nexus Task Exceptions vocabulary file",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"required": ["task_exceptions"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"task_exceptions": {
|
|
10
|
-
"type": "array",
|
|
11
|
-
"items": {
|
|
12
|
-
"type": "object",
|
|
13
|
-
"additionalProperties": false,
|
|
14
|
-
"required": ["id", "description", "applies_when", "treatment", "rationale"],
|
|
15
|
-
"properties": {
|
|
16
|
-
"id": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"pattern": "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*)?$"
|
|
19
|
-
},
|
|
20
|
-
"description": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"minLength": 1
|
|
23
|
-
},
|
|
24
|
-
"applies_when": {
|
|
25
|
-
"type": "string",
|
|
26
|
-
"minLength": 1
|
|
27
|
-
},
|
|
28
|
-
"treatment": {
|
|
29
|
-
"type": "string",
|
|
30
|
-
"minLength": 1
|
|
31
|
-
},
|
|
32
|
-
"rationale": {
|
|
33
|
-
"type": "string",
|
|
34
|
-
"minLength": 1
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "vocabulary.schema.json",
|
|
4
|
-
"title": "Nexus Vocabulary files",
|
|
5
|
-
"$defs": {
|
|
6
|
-
"capabilityEntry": {
|
|
7
|
-
"type": "object",
|
|
8
|
-
"additionalProperties": false,
|
|
9
|
-
"required": ["id", "description", "intent", "blocks_semantic_classes", "prose_guidance"],
|
|
10
|
-
"properties": {
|
|
11
|
-
"id": { "$ref": "common.schema.json#/$defs/id" },
|
|
12
|
-
"description": { "$ref": "common.schema.json#/$defs/description" },
|
|
13
|
-
"intent": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"minLength": 1,
|
|
16
|
-
"pattern": "^[a-z][a-z0-9_]*$"
|
|
17
|
-
},
|
|
18
|
-
"blocks_semantic_classes": {
|
|
19
|
-
"type": "array",
|
|
20
|
-
"minItems": 1,
|
|
21
|
-
"items": { "type": "string", "pattern": "^[a-z][a-z0-9_]*$" }
|
|
22
|
-
},
|
|
23
|
-
"prose_guidance": {
|
|
24
|
-
"type": "string",
|
|
25
|
-
"minLength": 40
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"capabilityFile": {
|
|
30
|
-
"type": "object",
|
|
31
|
-
"additionalProperties": false,
|
|
32
|
-
"required": ["capabilities"],
|
|
33
|
-
"properties": {
|
|
34
|
-
"capabilities": { "type": "array", "items": { "$ref": "#/$defs/capabilityEntry" } }
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"simpleEntry": {
|
|
38
|
-
"type": "object",
|
|
39
|
-
"additionalProperties": false,
|
|
40
|
-
"required": ["id", "description"],
|
|
41
|
-
"properties": {
|
|
42
|
-
"id": { "$ref": "common.schema.json#/$defs/id" },
|
|
43
|
-
"description": { "$ref": "common.schema.json#/$defs/description" }
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"categoryFile": {
|
|
47
|
-
"type": "object",
|
|
48
|
-
"additionalProperties": false,
|
|
49
|
-
"required": ["categories"],
|
|
50
|
-
"properties": {
|
|
51
|
-
"categories": { "type": "array", "items": { "$ref": "#/$defs/simpleEntry" } }
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"resumeTierFile": {
|
|
55
|
-
"type": "object",
|
|
56
|
-
"additionalProperties": false,
|
|
57
|
-
"required": ["resume_tiers"],
|
|
58
|
-
"properties": {
|
|
59
|
-
"resume_tiers": { "type": "array", "items": { "$ref": "#/$defs/simpleEntry" } }
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"tagEntry": {
|
|
63
|
-
"type": "object",
|
|
64
|
-
"additionalProperties": false,
|
|
65
|
-
"required": ["id", "trigger", "type", "description"],
|
|
66
|
-
"properties": {
|
|
67
|
-
"id": { "$ref": "common.schema.json#/$defs/id" },
|
|
68
|
-
"trigger": { "type": "string", "minLength": 1 },
|
|
69
|
-
"type": { "type": "string", "enum": ["skill", "inline_action"] },
|
|
70
|
-
"description": { "$ref": "common.schema.json#/$defs/description" },
|
|
71
|
-
"skill": { "$ref": "common.schema.json#/$defs/id" },
|
|
72
|
-
"handler": { "type": "string", "minLength": 1 },
|
|
73
|
-
"variants": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
|
74
|
-
"prose_guidance": { "type": "string", "minLength": 40 }
|
|
75
|
-
},
|
|
76
|
-
"if": {
|
|
77
|
-
"properties": { "type": { "const": "skill" } },
|
|
78
|
-
"required": ["type"]
|
|
79
|
-
},
|
|
80
|
-
"then": {
|
|
81
|
-
"properties": { "skill": {} },
|
|
82
|
-
"required": ["skill"]
|
|
83
|
-
},
|
|
84
|
-
"else": {
|
|
85
|
-
"properties": { "handler": {} },
|
|
86
|
-
"required": ["handler"]
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
"tagFile": {
|
|
90
|
-
"type": "object",
|
|
91
|
-
"additionalProperties": false,
|
|
92
|
-
"required": ["tags"],
|
|
93
|
-
"properties": {
|
|
94
|
-
"tags": { "type": "array", "items": { "$ref": "#/$defs/tagEntry" } }
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"invocationParam": {
|
|
98
|
-
"type": "object",
|
|
99
|
-
"additionalProperties": false,
|
|
100
|
-
"required": ["name", "description", "required"],
|
|
101
|
-
"properties": {
|
|
102
|
-
"name": { "type": "string", "minLength": 1, "pattern": "^[a-z][a-z0-9_]*$" },
|
|
103
|
-
"description": { "$ref": "common.schema.json#/$defs/description" },
|
|
104
|
-
"required": { "type": "boolean" },
|
|
105
|
-
"value_type": { "type": "string", "minLength": 1 }
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
"invocationEntry": {
|
|
109
|
-
"type": "object",
|
|
110
|
-
"additionalProperties": false,
|
|
111
|
-
"required": ["id", "description", "intent", "semantic_params", "prose_guidance", "fallback_behavior"],
|
|
112
|
-
"properties": {
|
|
113
|
-
"id": { "$ref": "common.schema.json#/$defs/id" },
|
|
114
|
-
"description": { "$ref": "common.schema.json#/$defs/description" },
|
|
115
|
-
"intent": {
|
|
116
|
-
"type": "string",
|
|
117
|
-
"minLength": 1,
|
|
118
|
-
"pattern": "^[a-z][a-z0-9_]*$"
|
|
119
|
-
},
|
|
120
|
-
"semantic_params": {
|
|
121
|
-
"type": "array",
|
|
122
|
-
"items": { "$ref": "#/$defs/invocationParam" }
|
|
123
|
-
},
|
|
124
|
-
"prose_guidance": {
|
|
125
|
-
"type": "string",
|
|
126
|
-
"minLength": 40
|
|
127
|
-
},
|
|
128
|
-
"fallback_behavior": {
|
|
129
|
-
"type": "string",
|
|
130
|
-
"minLength": 20
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
"invocationFile": {
|
|
135
|
-
"type": "object",
|
|
136
|
-
"additionalProperties": false,
|
|
137
|
-
"required": ["invocations"],
|
|
138
|
-
"properties": {
|
|
139
|
-
"invocations": { "type": "array", "items": { "$ref": "#/$defs/invocationEntry" } }
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
"taskExceptionEntry": {
|
|
143
|
-
"type": "object",
|
|
144
|
-
"additionalProperties": false,
|
|
145
|
-
"required": ["id", "description", "applies_when", "treatment", "rationale"],
|
|
146
|
-
"properties": {
|
|
147
|
-
"id": {
|
|
148
|
-
"type": "string",
|
|
149
|
-
"pattern": "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*)?$"
|
|
150
|
-
},
|
|
151
|
-
"description": { "type": "string", "minLength": 1 },
|
|
152
|
-
"applies_when": { "type": "string", "minLength": 1 },
|
|
153
|
-
"treatment": { "type": "string", "minLength": 1 },
|
|
154
|
-
"rationale": { "type": "string", "minLength": 1 }
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
"taskExceptionFile": {
|
|
158
|
-
"type": "object",
|
|
159
|
-
"additionalProperties": false,
|
|
160
|
-
"required": ["task_exceptions"],
|
|
161
|
-
"properties": {
|
|
162
|
-
"task_exceptions": { "type": "array", "items": { "$ref": "#/$defs/taskExceptionEntry" } }
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
"memoryPolicyFile": { "$ref": "memory-policy.schema.json" }
|
|
166
|
-
}
|
|
167
|
-
}
|
package/scripts/.gitkeep
DELETED
|
File without changes
|