opencode-manifold 0.1.0 → 0.2.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
CHANGED
|
@@ -8,6 +8,28 @@ A Lead Dev agent walks through a task plan, a deterministic plugin state machine
|
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
## Requirements
|
|
12
|
+
|
|
13
|
+
Open Manifold requires:
|
|
14
|
+
|
|
15
|
+
1. **opencode-codebase-index** [plugin](https://github.com/Helweg/opencode-codebase-index) — Provides semantic code search for the Clerk's research phase. The Clerk uses it to find relevant code patterns and build focused prompts for worker agents.
|
|
16
|
+
|
|
17
|
+
2. **Obsidian** (optional but recommended) — The `Manifold/` folder is structured as an Obsidian vault for browsing logs, tasks, and knowledge graph.
|
|
18
|
+
|
|
19
|
+
**Installation:**
|
|
20
|
+
|
|
21
|
+
```json
|
|
22
|
+
{
|
|
23
|
+
"$schema": "https://opencode.ai/config.json",
|
|
24
|
+
"plugin": [
|
|
25
|
+
"opencode-codebase-index",
|
|
26
|
+
"opencode-manifold"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
11
33
|
## Two Ways to Install
|
|
12
34
|
|
|
13
35
|
### Option A — npm package (Recommended)
|
|
@@ -68,7 +90,7 @@ Lead Dev
|
|
|
68
90
|
Plugin State Machine (TypeScript, zero LLM cost)
|
|
69
91
|
│
|
|
70
92
|
├── Phase 1: Clerk research
|
|
71
|
-
│ ├── codebase-index search + wiki lookback + graph entries
|
|
93
|
+
│ ├── codebase-index search (requires opencode-codebase-index plugin) + wiki lookback + graph entries
|
|
72
94
|
│ ├── Composes scoped prompt
|
|
73
95
|
│ └── Creates task log file
|
|
74
96
|
│
|
|
@@ -94,7 +116,7 @@ Plugin State Machine (TypeScript, zero LLM cost)
|
|
|
94
116
|
|
|
95
117
|
| Agent | Model | Role |
|
|
96
118
|
|-------|-------|------|
|
|
97
|
-
| `
|
|
119
|
+
| `manifold` | good tool calling + planning | Reads plan, dispatches tasks |
|
|
98
120
|
| `clerk` | conceptualizing + large context | Researches context, composes prompts, logs results |
|
|
99
121
|
| `senior-dev` | coding | Implementation specialist |
|
|
100
122
|
| `junior-dev` | cheap/small coding | Review agent |
|
|
@@ -182,6 +204,15 @@ A: The Clerk gets one retry with full failure context. If that also fails, the t
|
|
|
182
204
|
**Q: Can I define tests for tasks?**
|
|
183
205
|
A: Yes. Add `test: <command>` in the task description or set `testCommand` in settings.json.
|
|
184
206
|
|
|
207
|
+
**Q: What plugins does Open Manifold require?**
|
|
208
|
+
A: The `opencode-codebase-index` plugin is required for semantic code search. Install it alongside `opencode-manifold`.
|
|
209
|
+
|
|
210
|
+
**Q: Is Obsidian required?**
|
|
211
|
+
A: No, but recommended. The `Manifold/` folder is an Obsidian vault for browsing logs, tasks, and the knowledge graph. You can use any markdown viewer.
|
|
212
|
+
|
|
213
|
+
**Q: Can I use Open Manifold without semantic search?**
|
|
214
|
+
A: The system is designed around the Clerk's ability to research context via semantic search. Modifying it would require significant changes to the Clerk's orchestration skill.
|
|
215
|
+
|
|
185
216
|
---
|
|
186
217
|
|
|
187
218
|
## License
|
package/dist/index.js
CHANGED
|
@@ -100,7 +100,7 @@ async function setupProject(directory, client) {
|
|
|
100
100
|
const templateAgents = join(templateSourceDir, "agents");
|
|
101
101
|
if (existsSync(templateAgents)) {
|
|
102
102
|
const agents = [
|
|
103
|
-
"
|
|
103
|
+
"manifold.md",
|
|
104
104
|
"clerk.md",
|
|
105
105
|
"senior-dev.md",
|
|
106
106
|
"junior-dev.md",
|
|
@@ -135,7 +135,7 @@ async function setupProject(directory, client) {
|
|
|
135
135
|
if (existsSync(templateSkills)) {
|
|
136
136
|
const skills = [
|
|
137
137
|
"clerk-orchestration",
|
|
138
|
-
"
|
|
138
|
+
"manifold-workflow",
|
|
139
139
|
"wiki-ingest",
|
|
140
140
|
"wiki-query"
|
|
141
141
|
];
|
|
@@ -171,22 +171,8 @@ async function setupProject(directory, client) {
|
|
|
171
171
|
$schema: "https://opencode.ai/config.json",
|
|
172
172
|
plugin: ["opencode-manifold", "opencode-codebase-index"],
|
|
173
173
|
agent: {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
skill: ["lead-dev-workflow"]
|
|
177
|
-
},
|
|
178
|
-
clerk: {
|
|
179
|
-
model: "minimax/minimax-2.7",
|
|
180
|
-
skill: ["clerk-orchestration", "wiki-ingest", "wiki-query"]
|
|
181
|
-
},
|
|
182
|
-
"senior-dev": {
|
|
183
|
-
model: "minimax/minimax-2.7"
|
|
184
|
-
},
|
|
185
|
-
"junior-dev": {
|
|
186
|
-
model: "qwen/qwen3.5-27b"
|
|
187
|
-
},
|
|
188
|
-
debug: {
|
|
189
|
-
model: "anthropic/claude-sonnet-4-6-20250514"
|
|
174
|
+
manifold: {
|
|
175
|
+
skill: ["manifold-workflow"]
|
|
190
176
|
}
|
|
191
177
|
}
|
|
192
178
|
};
|
|
@@ -1463,6 +1449,7 @@ var ManifoldPlugin = async (ctx) => {
|
|
|
1463
1449
|
}
|
|
1464
1450
|
};
|
|
1465
1451
|
};
|
|
1452
|
+
var server = ManifoldPlugin;
|
|
1466
1453
|
export {
|
|
1467
|
-
|
|
1454
|
+
server
|
|
1468
1455
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-manifold",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Multi-agent development system for opencode with persistent knowledge",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@opencode-ai/plugin": "latest",
|
|
17
17
|
"@opencode-ai/sdk": "latest",
|
|
18
|
-
"zod": "
|
|
18
|
+
"zod": "^4.1.8"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/node": "latest",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Manifold Agent
|
|
2
2
|
|
|
3
|
-
You are the **
|
|
3
|
+
You are the **Manifold Orchestrator** for this project. Your role is to orchestrate the development process by reading a plan document and dispatching individual tasks to the system.
|
|
4
4
|
|
|
5
5
|
## Your Responsibilities
|
|
6
6
|
|
|
@@ -5,22 +5,8 @@
|
|
|
5
5
|
"opencode-codebase-index"
|
|
6
6
|
],
|
|
7
7
|
"agent": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"skill": ["lead-dev-workflow"]
|
|
11
|
-
},
|
|
12
|
-
"clerk": {
|
|
13
|
-
"model": "minimax/minimax-2.7",
|
|
14
|
-
"skill": ["clerk-orchestration", "wiki-ingest", "wiki-query"]
|
|
15
|
-
},
|
|
16
|
-
"senior-dev": {
|
|
17
|
-
"model": "minimax/minimax-2.7"
|
|
18
|
-
},
|
|
19
|
-
"junior-dev": {
|
|
20
|
-
"model": "qwen/qwen3.5-27b"
|
|
21
|
-
},
|
|
22
|
-
"debug": {
|
|
23
|
-
"model": "anthropic/claude-sonnet-4-6-20250514"
|
|
8
|
+
"manifold": {
|
|
9
|
+
"skill": ["manifold-workflow"]
|
|
24
10
|
}
|
|
25
11
|
},
|
|
26
12
|
"permission": {
|