ndomo 0.1.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/.bun-version +1 -0
- package/.dockerignore +79 -0
- package/.editorconfig +18 -0
- package/.env.example +19 -0
- package/.github/CODEOWNERS +8 -0
- package/.github/ISSUE_TEMPLATE/bug_report.yml +62 -0
- package/.github/ISSUE_TEMPLATE/config.yml +2 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +34 -0
- package/.github/dependabot.yml +36 -0
- package/.github/pull_request_template.md +24 -0
- package/.github/release.yml +30 -0
- package/.github/workflows/gitleaks.yml +28 -0
- package/.github/workflows/release-please.yml +27 -0
- package/.github/workflows/smoke.yml +29 -0
- package/.husky/commit-msg +1 -0
- package/CHANGELOG.md +114 -0
- package/Dockerfile +32 -0
- package/README.es.md +174 -0
- package/README.md +187 -0
- package/agents/chronicler.md +98 -0
- package/agents/ci-smith.md +136 -0
- package/agents/craftsman.md +341 -0
- package/agents/deploy-smith.md +138 -0
- package/agents/foreman.md +377 -0
- package/agents/go-smith.md +164 -0
- package/agents/guild.md +188 -0
- package/agents/inspector.md +83 -0
- package/agents/js-smith.md +127 -0
- package/agents/ops-scout.md +173 -0
- package/agents/painter.md +200 -0
- package/agents/python-smith.md +120 -0
- package/agents/ranger.md +307 -0
- package/agents/release-smith.md +165 -0
- package/agents/rust-smith.md +159 -0
- package/agents/sage.md +178 -0
- package/agents/scout.md +144 -0
- package/agents/scribe.md +156 -0
- package/agents/smith.md +201 -0
- package/agents/vue-smith.md +155 -0
- package/agents/warden.md +216 -0
- package/agents/zig-smith.md +156 -0
- package/bin/ndomo-analyses.ts +4 -0
- package/bin/ndomo-status.ts +4 -0
- package/biome.json +57 -0
- package/bun.lock +514 -0
- package/commitlint.config.js +3 -0
- package/config/ndomo.config.json +258 -0
- package/config/ndomo.schema.json +166 -0
- package/docs/agents.md +375 -0
- package/docs/bugs/plan-create-orphan-fk.md +131 -0
- package/docs/bugs/task_create_batch-order-index-collision.md +158 -0
- package/docs/configuration.md +276 -0
- package/docs/database.md +364 -0
- package/docs/features/feature-flexible-builder-v1.md +724 -0
- package/docs/features/feature-flexible-builder-v2.md +882 -0
- package/docs/features/feature-flexible-builder.md +974 -0
- package/docs/http-server.md +244 -0
- package/docs/installation.md +259 -0
- package/docs/integrations.md +129 -0
- package/docs/operations/anti-pattern-sub-agent-verify-2026-06-21.md +32 -0
- package/docs/operations/audit-v1.md +417 -0
- package/docs/operations/audit-v2.md +197 -0
- package/docs/operations/audit-v3.md +306 -0
- package/docs/operations/db-optimize-foundations.md +123 -0
- package/docs/operations/verify-gate-architecture.md +82 -0
- package/docs/workflows.md +448 -0
- package/opencode.json +5 -0
- package/package.json +65 -0
- package/release-please-config.json +11 -0
- package/scripts/dev-bust-cache.sh +164 -0
- package/scripts/install.sh +688 -0
- package/scripts/smoke-e2e.ts +704 -0
- package/scripts/smoke-hot.ts +417 -0
- package/scripts/smoke-http.sh +228 -0
- package/scripts/smoke-v4.ts +256 -0
- package/scripts/smoke-v5.ts +397 -0
- package/scripts/smoke.sh +9 -0
- package/scripts/uninstall.sh +224 -0
- package/skills/api-security-best-practices/SKILL.md +915 -0
- package/skills/bash-scripting/SKILL.md +201 -0
- package/skills/bun/SKILL.md +313 -0
- package/skills/cavecrew/SKILL.md +82 -0
- package/skills/caveman/SKILL.md +74 -0
- package/skills/caveman-review/README.md +33 -0
- package/skills/caveman-review/SKILL.md +55 -0
- package/skills/find-skills/SKILL.md +142 -0
- package/skills/frontend-design/LICENSE.txt +177 -0
- package/skills/frontend-design/SKILL.md +55 -0
- package/skills/golang-patterns/SKILL.md +674 -0
- package/skills/golang-security/SKILL.md +185 -0
- package/skills/golang-security/evals/evals.json +595 -0
- package/skills/golang-security/references/architecture.md +268 -0
- package/skills/golang-security/references/checklist.md +80 -0
- package/skills/golang-security/references/cookies.md +200 -0
- package/skills/golang-security/references/cryptography.md +424 -0
- package/skills/golang-security/references/filesystem.md +285 -0
- package/skills/golang-security/references/injection.md +315 -0
- package/skills/golang-security/references/logging.md +163 -0
- package/skills/golang-security/references/memory-safety.md +241 -0
- package/skills/golang-security/references/network.md +253 -0
- package/skills/golang-security/references/secrets.md +189 -0
- package/skills/golang-security/references/third-party.md +159 -0
- package/skills/golang-security/references/threat-modeling.md +189 -0
- package/skills/golang-testing/SKILL.md +720 -0
- package/skills/grill-me/SKILL.md +7 -0
- package/skills/javascript-testing-patterns/SKILL.md +537 -0
- package/skills/javascript-testing-patterns/references/advanced-testing-patterns.md +513 -0
- package/skills/modern-javascript-patterns/SKILL.md +43 -0
- package/skills/modern-javascript-patterns/references/advanced-patterns.md +487 -0
- package/skills/modern-javascript-patterns/references/details.md +457 -0
- package/skills/python-anti-patterns/SKILL.md +349 -0
- package/skills/python-design-patterns/SKILL.md +85 -0
- package/skills/python-design-patterns/references/details.md +353 -0
- package/skills/python-error-handling/SKILL.md +193 -0
- package/skills/python-error-handling/references/details.md +171 -0
- package/skills/python-testing-patterns/SKILL.md +278 -0
- package/skills/python-testing-patterns/references/advanced-patterns.md +411 -0
- package/skills/python-testing-patterns/references/details.md +349 -0
- package/skills/rust-patterns/SKILL.md +500 -0
- package/skills/rust-testing/SKILL.md +501 -0
- package/skills/security-review/SKILL.md +504 -0
- package/skills/security-review/cloud-infrastructure-security.md +361 -0
- package/skills/vue-best-practices/SKILL.md +154 -0
- package/skills/vue-best-practices/references/animation-class-based-technique.md +254 -0
- package/skills/vue-best-practices/references/animation-state-driven-technique.md +291 -0
- package/skills/vue-best-practices/references/component-async.md +97 -0
- package/skills/vue-best-practices/references/component-data-flow.md +307 -0
- package/skills/vue-best-practices/references/component-fallthrough-attrs.md +174 -0
- package/skills/vue-best-practices/references/component-keep-alive.md +137 -0
- package/skills/vue-best-practices/references/component-slots.md +216 -0
- package/skills/vue-best-practices/references/component-suspense.md +228 -0
- package/skills/vue-best-practices/references/component-teleport.md +108 -0
- package/skills/vue-best-practices/references/component-transition-group.md +128 -0
- package/skills/vue-best-practices/references/component-transition.md +125 -0
- package/skills/vue-best-practices/references/composables.md +290 -0
- package/skills/vue-best-practices/references/directives.md +162 -0
- package/skills/vue-best-practices/references/perf-avoid-component-abstraction-in-lists.md +159 -0
- package/skills/vue-best-practices/references/perf-v-once-v-memo-directives.md +182 -0
- package/skills/vue-best-practices/references/perf-virtualize-large-lists.md +187 -0
- package/skills/vue-best-practices/references/plugins.md +166 -0
- package/skills/vue-best-practices/references/reactivity.md +344 -0
- package/skills/vue-best-practices/references/render-functions.md +201 -0
- package/skills/vue-best-practices/references/sfc.md +310 -0
- package/skills/vue-best-practices/references/state-management.md +135 -0
- package/skills/vue-best-practices/references/updated-hook-performance.md +187 -0
- package/skills/vue-pinia-best-practices/SKILL.md +21 -0
- package/skills/vue-pinia-best-practices/reference/pinia-no-active-pinia-error.md +248 -0
- package/skills/vue-pinia-best-practices/reference/pinia-setup-store-return-all-state.md +227 -0
- package/skills/vue-pinia-best-practices/reference/pinia-store-destructuring-breaks-reactivity.md +193 -0
- package/skills/vue-pinia-best-practices/reference/state-url-for-ephemeral-filters.md +238 -0
- package/skills/vue-pinia-best-practices/reference/state-use-pinia-for-large-apps.md +262 -0
- package/skills/vue-pinia-best-practices/reference/store-method-binding-parentheses.md +191 -0
- package/skills/zig-0.16/SKILL.md +840 -0
- package/skills/zig-0.16/scripts/check-zig-version.sh +21 -0
- package/src/cli/analyses.ts +280 -0
- package/src/cli/index.ts +108 -0
- package/src/cli/serve.ts +192 -0
- package/src/cli/smoke.ts +131 -0
- package/src/cli/status.test.ts +204 -0
- package/src/cli/status.ts +263 -0
- package/src/cli/vacuum.test.ts +82 -0
- package/src/cli/vacuum.ts +96 -0
- package/src/config/schema.test.ts +88 -0
- package/src/config/schema.ts +64 -0
- package/src/db/analyses-migration.test.ts +210 -0
- package/src/db/analyses.test.ts +466 -0
- package/src/db/analyses.ts +375 -0
- package/src/db/auto-checkpoint.ts +131 -0
- package/src/db/client.test.ts +129 -0
- package/src/db/client.ts +55 -0
- package/src/db/fts-escape.ts +20 -0
- package/src/db/incidents.test.ts +201 -0
- package/src/db/incidents.ts +93 -0
- package/src/db/index.ts +86 -0
- package/src/db/migrations-v13.test.ts +141 -0
- package/src/db/migrations-v8.test.ts +301 -0
- package/src/db/migrations.ts +147 -0
- package/src/db/plan-archive.test.ts +180 -0
- package/src/db/plan-archive.ts +274 -0
- package/src/db/plan-create.test.ts +276 -0
- package/src/db/plan-create.ts +78 -0
- package/src/db/plan-files.test.ts +289 -0
- package/src/db/plan-update-status.ts +287 -0
- package/src/db/plans.test.ts +490 -0
- package/src/db/plans.ts +534 -0
- package/src/db/resolve-project-dir.test.ts +143 -0
- package/src/db/resolve-project-dir.ts +75 -0
- package/src/db/rollbacks.test.ts +150 -0
- package/src/db/rollbacks.ts +67 -0
- package/src/db/schema.ts +907 -0
- package/src/db/sessions.test.ts +80 -0
- package/src/db/sessions.ts +135 -0
- package/src/db/shutdown.test.ts +147 -0
- package/src/db/shutdown.ts +45 -0
- package/src/db/tasks.test.ts +921 -0
- package/src/db/tasks.ts +747 -0
- package/src/db/types.ts +619 -0
- package/src/http/__tests__/auth.test.ts +196 -0
- package/src/http/__tests__/routes.test.ts +465 -0
- package/src/http/__tests__/sse.test.ts +317 -0
- package/src/http/auth.ts +72 -0
- package/src/http/middleware/cors.ts +53 -0
- package/src/http/middleware/security-headers.ts +21 -0
- package/src/http/routes/events.ts +112 -0
- package/src/http/routes/health.ts +51 -0
- package/src/http/routes/plans.ts +66 -0
- package/src/http/routes/sessions.ts +50 -0
- package/src/http/routes/tasks.ts +60 -0
- package/src/http/server.ts +95 -0
- package/src/http/sse.ts +116 -0
- package/src/index.ts +37 -0
- package/src/lib.ts +65 -0
- package/src/mem/scoped.ts +65 -0
- package/src/orchestrator/background.test.ts +268 -0
- package/src/orchestrator/background.ts +293 -0
- package/src/orchestrator/memory-hook.ts +182 -0
- package/src/orchestrator/reconciler.ts +123 -0
- package/src/orchestrator/scheduler.test.ts +300 -0
- package/src/orchestrator/scheduler.ts +243 -0
- package/src/plugin.test.ts +2574 -0
- package/src/plugin.ts +1690 -0
- package/src/sdk/client.ts +66 -0
- package/src/worktrees/manager.ts +236 -0
- package/src/worktrees/state.ts +87 -0
- package/tests/integration/ranger-flow.test.ts +257 -0
- package/tools/analysis_archive.ts +28 -0
- package/tools/analysis_create.ts +55 -0
- package/tools/analysis_get.ts +33 -0
- package/tools/analysis_link_plan.ts +44 -0
- package/tools/analysis_list.ts +48 -0
- package/tools/analysis_search.ts +36 -0
- package/tools/analysis_update.ts +44 -0
- package/tools/plan_approve.ts +31 -0
- package/tools/plan_create.ts +58 -0
- package/tools/plan_get.ts +40 -0
- package/tools/plan_list.ts +37 -0
- package/tools/plan_search.ts +34 -0
- package/tools/plan_update_status.ts +71 -0
- package/tools/session_checkpoint.ts +31 -0
- package/tools/session_end.ts +26 -0
- package/tools/session_start.ts +43 -0
- package/tools/task_create_batch.ts +70 -0
- package/tools/task_list.ts +35 -0
- package/tools/task_next_for_agent.ts +30 -0
- package/tools/task_search.ts +34 -0
- package/tools/task_update_status.ts +37 -0
- package/tsconfig.json +31 -0
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./ndomo.schema.json",
|
|
3
|
+
"plugins": ["ndomo", "opencode-mem"],
|
|
4
|
+
"optionalPlugins": ["@tarquinen/opencode-dcp"],
|
|
5
|
+
"agentRouting": {
|
|
6
|
+
"foreman": {
|
|
7
|
+
"description": "Master orchestrator and scheduler",
|
|
8
|
+
"mode": "primary",
|
|
9
|
+
"delegates_to": [
|
|
10
|
+
"scout",
|
|
11
|
+
"sage",
|
|
12
|
+
"guild",
|
|
13
|
+
"chronicler",
|
|
14
|
+
"inspector"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"craftsman": {
|
|
18
|
+
"description": "Implementador artesano — ejecuta bugs/features/refactors acotados",
|
|
19
|
+
"mode": "primary",
|
|
20
|
+
"delegates_to": [
|
|
21
|
+
"smith",
|
|
22
|
+
"go-smith",
|
|
23
|
+
"js-smith",
|
|
24
|
+
"vue-smith",
|
|
25
|
+
"python-smith",
|
|
26
|
+
"rust-smith",
|
|
27
|
+
"zig-smith",
|
|
28
|
+
"painter",
|
|
29
|
+
"inspector",
|
|
30
|
+
"chronicler",
|
|
31
|
+
"scout",
|
|
32
|
+
"scribe"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"warden": {
|
|
36
|
+
"description": "Custodio de operaciones — CI/CD, deploy, releases, monitoring",
|
|
37
|
+
"mode": "primary",
|
|
38
|
+
"delegates_to": [
|
|
39
|
+
"ci-smith",
|
|
40
|
+
"deploy-smith",
|
|
41
|
+
"release-smith",
|
|
42
|
+
"ops-scout",
|
|
43
|
+
"sage",
|
|
44
|
+
"inspector"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"ranger": {
|
|
48
|
+
"description": "Project analyst/cartographer/onboarding — hybrid scout+sage+scribe via DB analyses",
|
|
49
|
+
"mode": "primary",
|
|
50
|
+
"delegates_to": ["scout", "sage", "scribe"]
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"protectedTools": ["memory", "compress", "task", "todowrite", "skill"],
|
|
54
|
+
"caveman": {
|
|
55
|
+
"intensity": "full",
|
|
56
|
+
"autoClarity": true
|
|
57
|
+
},
|
|
58
|
+
"presets": {
|
|
59
|
+
"default": {
|
|
60
|
+
"foreman": {
|
|
61
|
+
"model": "minimax/MiniMax-M3",
|
|
62
|
+
"temperature": 0.3,
|
|
63
|
+
"reasoning_effort": "high"
|
|
64
|
+
},
|
|
65
|
+
"scout": {
|
|
66
|
+
"model": "opencode/mimo-v2.5-free",
|
|
67
|
+
"temperature": 0.3
|
|
68
|
+
},
|
|
69
|
+
"scribe": {
|
|
70
|
+
"model": "opencode/mimo-v2.5-free",
|
|
71
|
+
"temperature": 0.3
|
|
72
|
+
},
|
|
73
|
+
"painter": {
|
|
74
|
+
"model": "opencode-go/qwen3.7-plus",
|
|
75
|
+
"temperature": 0.2,
|
|
76
|
+
"reasoning_effort": "high"
|
|
77
|
+
},
|
|
78
|
+
"ranger": {
|
|
79
|
+
"model": "minimax/MiniMax-M3",
|
|
80
|
+
"temperature": 0.3,
|
|
81
|
+
"reasoning_effort": "high"
|
|
82
|
+
},
|
|
83
|
+
"smith": {
|
|
84
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
85
|
+
"temperature": 0.1,
|
|
86
|
+
"reasoning_effort": "high"
|
|
87
|
+
},
|
|
88
|
+
"sage": {
|
|
89
|
+
"model": "opencode-go/kimi-k2.7-code",
|
|
90
|
+
"temperature": 0.2,
|
|
91
|
+
"reasoning_effort": "high"
|
|
92
|
+
},
|
|
93
|
+
"guild": {
|
|
94
|
+
"model": "minimax/MiniMax-M3",
|
|
95
|
+
"temperature": 0.3,
|
|
96
|
+
"reasoning_effort": "high"
|
|
97
|
+
},
|
|
98
|
+
"go-smith": {
|
|
99
|
+
"model": "xiaomi-token-plan-sgp/mimo-v2.5-pro",
|
|
100
|
+
"temperature": 0.1,
|
|
101
|
+
"reasoning_effort": "high"
|
|
102
|
+
},
|
|
103
|
+
"js-smith": {
|
|
104
|
+
"model": "xiaomi-token-plan-sgp/mimo-v2.5-pro",
|
|
105
|
+
"temperature": 0.1,
|
|
106
|
+
"reasoning_effort": "high"
|
|
107
|
+
},
|
|
108
|
+
"python-smith": {
|
|
109
|
+
"model": "xiaomi-token-plan-sgp/mimo-v2.5-pro",
|
|
110
|
+
"temperature": 0.1,
|
|
111
|
+
"reasoning_effort": "high"
|
|
112
|
+
},
|
|
113
|
+
"vue-smith": {
|
|
114
|
+
"model": "xiaomi-token-plan-sgp/mimo-v2.5-pro",
|
|
115
|
+
"temperature": 0.1,
|
|
116
|
+
"reasoning_effort": "high"
|
|
117
|
+
},
|
|
118
|
+
"zig-smith": {
|
|
119
|
+
"model": "xiaomi-token-plan-sgp/mimo-v2.5-pro",
|
|
120
|
+
"temperature": 0.1,
|
|
121
|
+
"reasoning_effort": "high"
|
|
122
|
+
},
|
|
123
|
+
"rust-smith": {
|
|
124
|
+
"model": "xiaomi-token-plan-sgp/mimo-v2.5-pro",
|
|
125
|
+
"temperature": 0.1,
|
|
126
|
+
"reasoning_effort": "high"
|
|
127
|
+
},
|
|
128
|
+
"chronicler": {
|
|
129
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
130
|
+
"temperature": 0.2,
|
|
131
|
+
"reasoning_effort": "high"
|
|
132
|
+
},
|
|
133
|
+
"inspector": {
|
|
134
|
+
"model": "opencode-go/kimi-k2.7-code",
|
|
135
|
+
"temperature": 0.2,
|
|
136
|
+
"reasoning_effort": "high"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"budget": {
|
|
140
|
+
"foreman": {
|
|
141
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
142
|
+
"temperature": 0.3,
|
|
143
|
+
"reasoning_effort": "low"
|
|
144
|
+
},
|
|
145
|
+
"scout": {
|
|
146
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
147
|
+
"temperature": 0.3,
|
|
148
|
+
"reasoning_effort": "low"
|
|
149
|
+
},
|
|
150
|
+
"scribe": {
|
|
151
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
152
|
+
"temperature": 0.3,
|
|
153
|
+
"reasoning_effort": "low"
|
|
154
|
+
},
|
|
155
|
+
"painter": {
|
|
156
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
157
|
+
"temperature": 0.2,
|
|
158
|
+
"reasoning_effort": "low"
|
|
159
|
+
},
|
|
160
|
+
"ranger": {
|
|
161
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
162
|
+
"temperature": 0.3,
|
|
163
|
+
"reasoning_effort": "low"
|
|
164
|
+
},
|
|
165
|
+
"smith": {
|
|
166
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
167
|
+
"temperature": 0.1,
|
|
168
|
+
"reasoning_effort": "low"
|
|
169
|
+
},
|
|
170
|
+
"sage": {
|
|
171
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
172
|
+
"temperature": 0.2,
|
|
173
|
+
"reasoning_effort": "low"
|
|
174
|
+
},
|
|
175
|
+
"guild": {
|
|
176
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
177
|
+
"temperature": 0.3,
|
|
178
|
+
"reasoning_effort": "low"
|
|
179
|
+
},
|
|
180
|
+
"go-smith": {
|
|
181
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
182
|
+
"temperature": 0.1,
|
|
183
|
+
"reasoning_effort": "low"
|
|
184
|
+
},
|
|
185
|
+
"js-smith": {
|
|
186
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
187
|
+
"temperature": 0.1,
|
|
188
|
+
"reasoning_effort": "low"
|
|
189
|
+
},
|
|
190
|
+
"python-smith": {
|
|
191
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
192
|
+
"temperature": 0.1,
|
|
193
|
+
"reasoning_effort": "low"
|
|
194
|
+
},
|
|
195
|
+
"vue-smith": {
|
|
196
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
197
|
+
"temperature": 0.1,
|
|
198
|
+
"reasoning_effort": "low"
|
|
199
|
+
},
|
|
200
|
+
"zig-smith": {
|
|
201
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
202
|
+
"temperature": 0.1,
|
|
203
|
+
"reasoning_effort": "low"
|
|
204
|
+
},
|
|
205
|
+
"rust-smith": {
|
|
206
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
207
|
+
"temperature": 0.1,
|
|
208
|
+
"reasoning_effort": "low"
|
|
209
|
+
},
|
|
210
|
+
"chronicler": {
|
|
211
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
212
|
+
"temperature": 0.2,
|
|
213
|
+
"reasoning_effort": "low"
|
|
214
|
+
},
|
|
215
|
+
"inspector": {
|
|
216
|
+
"model": "opencode-go/deepseek-v4-flash",
|
|
217
|
+
"temperature": 0.2,
|
|
218
|
+
"reasoning_effort": "low"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"dcp_overrides": {
|
|
223
|
+
"scout": {
|
|
224
|
+
"minContextLimit": 30000,
|
|
225
|
+
"maxContextLimit": 80000
|
|
226
|
+
},
|
|
227
|
+
"scribe": {
|
|
228
|
+
"minContextLimit": 30000,
|
|
229
|
+
"maxContextLimit": 80000
|
|
230
|
+
},
|
|
231
|
+
"foreman": {
|
|
232
|
+
"minContextLimit": 50000,
|
|
233
|
+
"maxContextLimit": 100000
|
|
234
|
+
},
|
|
235
|
+
"sage": {
|
|
236
|
+
"minContextLimit": 50000,
|
|
237
|
+
"maxContextLimit": 100000
|
|
238
|
+
},
|
|
239
|
+
"guild": {
|
|
240
|
+
"minContextLimit": 50000,
|
|
241
|
+
"maxContextLimit": 100000
|
|
242
|
+
},
|
|
243
|
+
"inspector": {
|
|
244
|
+
"minContextLimit": 40000,
|
|
245
|
+
"maxContextLimit": 90000
|
|
246
|
+
},
|
|
247
|
+
"ranger": {
|
|
248
|
+
"minContextLimit": 50000,
|
|
249
|
+
"maxContextLimit": 100000
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
"mem": {
|
|
253
|
+
"storagePath": "~/.ndomo/mem",
|
|
254
|
+
"defaultScope": "project",
|
|
255
|
+
"autoCaptureEnabled": true,
|
|
256
|
+
"cavemanCompress": true
|
|
257
|
+
}
|
|
258
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "ndomo-config",
|
|
4
|
+
"title": "Ndomo OpenCode Plugin Configuration",
|
|
5
|
+
"description": "Configuration schema for the ndomo multi-agent orchestration plugin.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["$schema", "plugins", "agentRouting", "protectedTools", "caveman", "presets"],
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"properties": {
|
|
10
|
+
"$schema": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "Path to this schema file for editor validation."
|
|
13
|
+
},
|
|
14
|
+
"preset": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": ["default", "budget"],
|
|
17
|
+
"description": "Active preset name. Set by install script --preset flag."
|
|
18
|
+
},
|
|
19
|
+
"plugins": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"description": "Required plugins to load.",
|
|
22
|
+
"items": { "type": "string" },
|
|
23
|
+
"minItems": 1
|
|
24
|
+
},
|
|
25
|
+
"optionalPlugins": {
|
|
26
|
+
"type": "array",
|
|
27
|
+
"description": "Plugins to load if available; failures are ignored.",
|
|
28
|
+
"items": { "type": "string" }
|
|
29
|
+
},
|
|
30
|
+
"agentRouting": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"description": "Agent definitions and delegation graph.",
|
|
33
|
+
"additionalProperties": false,
|
|
34
|
+
"patternProperties": {
|
|
35
|
+
"^[a-z][a-z0-9-]*$": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"required": ["description", "mode", "delegates_to"],
|
|
38
|
+
"additionalProperties": false,
|
|
39
|
+
"properties": {
|
|
40
|
+
"description": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"description": "Human-readable agent purpose."
|
|
43
|
+
},
|
|
44
|
+
"mode": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"enum": ["primary", "subagent", "all"],
|
|
47
|
+
"description": "Agent execution mode."
|
|
48
|
+
},
|
|
49
|
+
"delegates_to": {
|
|
50
|
+
"type": "array",
|
|
51
|
+
"description": "List of agent names this agent can delegate tasks to.",
|
|
52
|
+
"items": { "type": "string" }
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"protectedTools": {
|
|
59
|
+
"type": "array",
|
|
60
|
+
"description": "Tool names that cannot be disabled or overridden by subagents.",
|
|
61
|
+
"items": { "type": "string" }
|
|
62
|
+
},
|
|
63
|
+
"caveman": {
|
|
64
|
+
"type": "object",
|
|
65
|
+
"description": "Caveman communication mode settings.",
|
|
66
|
+
"required": ["intensity", "autoClarity"],
|
|
67
|
+
"additionalProperties": false,
|
|
68
|
+
"properties": {
|
|
69
|
+
"intensity": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"enum": ["lite", "full", "ultra"],
|
|
72
|
+
"description": "Compression intensity level."
|
|
73
|
+
},
|
|
74
|
+
"autoClarity": {
|
|
75
|
+
"type": "boolean",
|
|
76
|
+
"description": "Automatically switch to full verbosity when clarity is needed."
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"presets": {
|
|
81
|
+
"type": "object",
|
|
82
|
+
"description": "Named model presets for agent configurations.",
|
|
83
|
+
"additionalProperties": false,
|
|
84
|
+
"patternProperties": {
|
|
85
|
+
"^[a-z][a-z0-9-]*$": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"description": "Preset containing per-agent model, temperature, and optional reasoning_effort overrides.",
|
|
88
|
+
"additionalProperties": false,
|
|
89
|
+
"patternProperties": {
|
|
90
|
+
"^[a-z][a-z0-9-]*$": {
|
|
91
|
+
"type": "object",
|
|
92
|
+
"required": ["model", "temperature"],
|
|
93
|
+
"additionalProperties": false,
|
|
94
|
+
"properties": {
|
|
95
|
+
"model": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"description": "Model identifier in provider/model-id format."
|
|
98
|
+
},
|
|
99
|
+
"temperature": {
|
|
100
|
+
"type": "number",
|
|
101
|
+
"minimum": 0,
|
|
102
|
+
"maximum": 1,
|
|
103
|
+
"description": "Sampling temperature (0 = deterministic, 1 = creative)."
|
|
104
|
+
},
|
|
105
|
+
"reasoning_effort": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"enum": ["low", "medium", "high", "xhigh", ""],
|
|
108
|
+
"description": "Reasoning effort level for reasoning-capable models (DeepSeek, MiMo, OpenAI). Translated to camelCase 'reasoningEffort' in agent .md frontmatter. Omit for non-reasoning models."
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"dcp_overrides": {
|
|
117
|
+
"type": "object",
|
|
118
|
+
"description": "Dynamic context partition limits per agent.",
|
|
119
|
+
"additionalProperties": false,
|
|
120
|
+
"patternProperties": {
|
|
121
|
+
"^[a-z][a-z0-9-]*$": {
|
|
122
|
+
"type": "object",
|
|
123
|
+
"required": ["minContextLimit", "maxContextLimit"],
|
|
124
|
+
"additionalProperties": false,
|
|
125
|
+
"properties": {
|
|
126
|
+
"minContextLimit": {
|
|
127
|
+
"type": "number",
|
|
128
|
+
"minimum": 0,
|
|
129
|
+
"description": "Minimum context window tokens for this agent."
|
|
130
|
+
},
|
|
131
|
+
"maxContextLimit": {
|
|
132
|
+
"type": "number",
|
|
133
|
+
"minimum": 0,
|
|
134
|
+
"description": "Maximum context window tokens for this agent."
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"mem": {
|
|
141
|
+
"type": "object",
|
|
142
|
+
"description": "Memory persistence and capture settings.",
|
|
143
|
+
"required": ["storagePath", "defaultScope", "autoCaptureEnabled", "cavemanCompress"],
|
|
144
|
+
"additionalProperties": false,
|
|
145
|
+
"properties": {
|
|
146
|
+
"storagePath": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"description": "Path to memory storage directory (supports ~ expansion)."
|
|
149
|
+
},
|
|
150
|
+
"defaultScope": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"enum": ["project", "all-projects"],
|
|
153
|
+
"description": "Default memory retrieval scope."
|
|
154
|
+
},
|
|
155
|
+
"autoCaptureEnabled": {
|
|
156
|
+
"type": "boolean",
|
|
157
|
+
"description": "Automatically capture insights during sessions."
|
|
158
|
+
},
|
|
159
|
+
"cavemanCompress": {
|
|
160
|
+
"type": "boolean",
|
|
161
|
+
"description": "Apply caveman compression to stored memories."
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|