@cloudpftc/opencode-orchestrator 3.6.0 → 3.6.1
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/.opencode/helpers/auto-memory-hook.mjs +104 -0
- package/.opencode/helpers/hook-handler.cjs +223 -0
- package/.opencode/helpers/intelligence.cjs +197 -0
- package/.opencode/helpers/memory.js +83 -0
- package/.opencode/helpers/post-commit +16 -0
- package/.opencode/helpers/pre-commit +26 -0
- package/.opencode/helpers/router.js +66 -0
- package/.opencode/helpers/session.js +127 -0
- package/.opencode/helpers/statusline.cjs +774 -0
- package/.opencode/settings.json +319 -0
- package/package.json +1 -1
- package/v3/@claude-flow/cli/README.md +391 -534
- package/v3/@claude-flow/cli/dist/src/commands/benchmark.js +2 -2
- package/v3/@claude-flow/cli/dist/src/commands/claims.js +1 -1
- package/v3/@claude-flow/cli/dist/src/commands/config.js +1 -1
- package/v3/@claude-flow/cli/dist/src/commands/daemon.js +3 -3
- package/v3/@claude-flow/cli/dist/src/commands/deployment.js +1 -1
- package/v3/@claude-flow/cli/dist/src/commands/doctor.js +1 -1
- package/v3/@claude-flow/cli/dist/src/commands/embeddings.js +1 -1
- package/v3/@claude-flow/cli/dist/src/commands/hooks.js +1 -1
- package/v3/@claude-flow/cli/dist/src/commands/init.js +9 -9
- package/v3/@claude-flow/cli/dist/src/commands/neural.js +1 -1
- package/v3/@claude-flow/cli/dist/src/commands/performance.js +1 -1
- package/v3/@claude-flow/cli/dist/src/commands/plugins.js +1 -1
- package/v3/@claude-flow/cli/dist/src/commands/providers.js +1 -1
- package/v3/@claude-flow/cli/dist/src/commands/security.js +1 -1
- package/v3/@claude-flow/cli/dist/src/commands/start.js +10 -10
- package/v3/@claude-flow/cli/dist/src/commands/status.js +2 -2
- package/v3/@claude-flow/cli/dist/src/commands/transfer-store.js +1 -1
- package/v3/@claude-flow/cli/dist/src/memory/memory-initializer.d.ts +1 -1
- package/v3/@claude-flow/cli/dist/src/memory/memory-initializer.js +1 -1
- package/v3/@claude-flow/cli/dist/src/plugins/store/discovery.js +1 -1
- package/v3/@claude-flow/cli/dist/src/runtime/headless.js +3 -3
- package/v3/@claude-flow/cli/dist/src/services/claim-service.js +1 -1
- package/v3/@claude-flow/cli/dist/src/types.d.ts +1 -1
- package/v3/@claude-flow/cli/dist/src/types.js +1 -1
- package/v3/@claude-flow/cli/package.json +1 -1
- package/v3/@claude-flow/cli/dist/src/init/claudemd-generator.d.ts +0 -25
- package/v3/@claude-flow/cli/dist/src/init/claudemd-generator.js +0 -486
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hooks": {
|
|
3
|
+
"PreToolUse": [
|
|
4
|
+
{
|
|
5
|
+
"matcher": "Bash",
|
|
6
|
+
"hooks": [
|
|
7
|
+
{
|
|
8
|
+
"type": "command",
|
|
9
|
+
"command": "node \"$OPENCODE_PROJECT_DIR/.opencode/helpers/hook-handler.cjs\" pre-bash",
|
|
10
|
+
"timeout": 5000
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"matcher": "Write|Edit|MultiEdit",
|
|
16
|
+
"hooks": [
|
|
17
|
+
{
|
|
18
|
+
"type": "command",
|
|
19
|
+
"command": "node \"$OPENCODE_PROJECT_DIR/.opencode/helpers/hook-handler.cjs\" pre-edit",
|
|
20
|
+
"timeout": 5000
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"PostToolUse": [
|
|
26
|
+
{
|
|
27
|
+
"matcher": "Write|Edit|MultiEdit",
|
|
28
|
+
"hooks": [
|
|
29
|
+
{
|
|
30
|
+
"type": "command",
|
|
31
|
+
"command": "node \"$OPENCODE_PROJECT_DIR/.opencode/helpers/hook-handler.cjs\" post-edit",
|
|
32
|
+
"timeout": 10000
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"matcher": "Bash",
|
|
38
|
+
"hooks": [
|
|
39
|
+
{
|
|
40
|
+
"type": "command",
|
|
41
|
+
"command": "node \"$OPENCODE_PROJECT_DIR/.opencode/helpers/hook-handler.cjs\" post-bash",
|
|
42
|
+
"timeout": 5000
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"UserPromptSubmit": [
|
|
48
|
+
{
|
|
49
|
+
"hooks": [
|
|
50
|
+
{
|
|
51
|
+
"type": "command",
|
|
52
|
+
"command": "node \"$OPENCODE_PROJECT_DIR/.opencode/helpers/hook-handler.cjs\" route",
|
|
53
|
+
"timeout": 10000
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"SessionStart": [
|
|
59
|
+
{
|
|
60
|
+
"hooks": [
|
|
61
|
+
{
|
|
62
|
+
"type": "command",
|
|
63
|
+
"command": "node \"$OPENCODE_PROJECT_DIR/.opencode/helpers/hook-handler.cjs\" session-restore",
|
|
64
|
+
"timeout": 15000
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"type": "command",
|
|
68
|
+
"command": "node \"$OPENCODE_PROJECT_DIR/.opencode/helpers/auto-memory-hook.mjs\" import",
|
|
69
|
+
"timeout": 8000
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"SessionEnd": [
|
|
75
|
+
{
|
|
76
|
+
"hooks": [
|
|
77
|
+
{
|
|
78
|
+
"type": "command",
|
|
79
|
+
"command": "node \"$OPENCODE_PROJECT_DIR/.opencode/helpers/hook-handler.cjs\" session-end",
|
|
80
|
+
"timeout": 10000
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"Stop": [
|
|
86
|
+
{
|
|
87
|
+
"hooks": [
|
|
88
|
+
{
|
|
89
|
+
"type": "command",
|
|
90
|
+
"command": "node \"$OPENCODE_PROJECT_DIR/.opencode/helpers/auto-memory-hook.mjs\" sync",
|
|
91
|
+
"timeout": 10000
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"PreCompact": [
|
|
97
|
+
{
|
|
98
|
+
"matcher": "manual",
|
|
99
|
+
"hooks": [
|
|
100
|
+
{
|
|
101
|
+
"type": "command",
|
|
102
|
+
"command": "node \"$OPENCODE_PROJECT_DIR/.opencode/helpers/hook-handler.cjs\" compact-manual"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"type": "command",
|
|
106
|
+
"command": "node \"$OPENCODE_PROJECT_DIR/.opencode/helpers/hook-handler.cjs\" session-end",
|
|
107
|
+
"timeout": 5000
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"matcher": "auto",
|
|
113
|
+
"hooks": [
|
|
114
|
+
{
|
|
115
|
+
"type": "command",
|
|
116
|
+
"command": "node \"$OPENCODE_PROJECT_DIR/.opencode/helpers/hook-handler.cjs\" compact-auto"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"type": "command",
|
|
120
|
+
"command": "node \"$OPENCODE_PROJECT_DIR/.opencode/helpers/hook-handler.cjs\" session-end",
|
|
121
|
+
"timeout": 6000
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"SubagentStart": [
|
|
127
|
+
{
|
|
128
|
+
"hooks": [
|
|
129
|
+
{
|
|
130
|
+
"type": "command",
|
|
131
|
+
"command": "node \"$OPENCODE_PROJECT_DIR/.opencode/helpers/hook-handler.cjs\" status",
|
|
132
|
+
"timeout": 3000
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"SubagentStop": [
|
|
138
|
+
{
|
|
139
|
+
"hooks": [
|
|
140
|
+
{
|
|
141
|
+
"type": "command",
|
|
142
|
+
"command": "node \"$OPENCODE_PROJECT_DIR/.opencode/helpers/hook-handler.cjs\" post-task",
|
|
143
|
+
"timeout": 5000
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"Notification": [
|
|
149
|
+
{
|
|
150
|
+
"hooks": [
|
|
151
|
+
{
|
|
152
|
+
"type": "command",
|
|
153
|
+
"command": "node \"$OPENCODE_PROJECT_DIR/.opencode/helpers/hook-handler.cjs\" notify",
|
|
154
|
+
"timeout": 3000
|
|
155
|
+
}
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
},
|
|
160
|
+
"statusLine": {
|
|
161
|
+
"type": "command",
|
|
162
|
+
"command": "node \"$OPENCODE_PROJECT_DIR/.opencode/helpers/statusline.cjs\""
|
|
163
|
+
},
|
|
164
|
+
"permissions": {
|
|
165
|
+
"allow": [
|
|
166
|
+
"Bash(npx @claude-flow*)",
|
|
167
|
+
"Bash(npx claude-flow*)",
|
|
168
|
+
"Bash(node .claude/*)",
|
|
169
|
+
"mcp__claude-flow__:*"
|
|
170
|
+
],
|
|
171
|
+
"deny": [
|
|
172
|
+
"Read(./.env)",
|
|
173
|
+
"Read(./.env.*)"
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
"attribution": {
|
|
177
|
+
"commit": "Co-Authored-By: opencode-orchestrator <noreply@cloudpftc.com>",
|
|
178
|
+
"pr": "🤖 Generated with [opencode-orchestrator](https://github.com/pedrocosta95/opencode-orchestrator)"
|
|
179
|
+
},
|
|
180
|
+
"env": {
|
|
181
|
+
"OPENCODE_EXPERIMENTAL_AGENT_TEAMS": "1",
|
|
182
|
+
"OPENCODE_V3_ENABLED": "true",
|
|
183
|
+
"OPENCODE_HOOKS_ENABLED": "true"
|
|
184
|
+
},
|
|
185
|
+
"opencode": {
|
|
186
|
+
"version": "3.0.0",
|
|
187
|
+
"enabled": true,
|
|
188
|
+
"platform": {
|
|
189
|
+
"os": "linux",
|
|
190
|
+
"arch": "x64",
|
|
191
|
+
"shell": "zsh"
|
|
192
|
+
},
|
|
193
|
+
"modelPreferences": {
|
|
194
|
+
"default": "claude-opus-4-6",
|
|
195
|
+
"routing": "claude-haiku-4-5-20251001"
|
|
196
|
+
},
|
|
197
|
+
"agentTeams": {
|
|
198
|
+
"enabled": true,
|
|
199
|
+
"teammateMode": "auto",
|
|
200
|
+
"taskListEnabled": true,
|
|
201
|
+
"mailboxEnabled": true,
|
|
202
|
+
"coordination": {
|
|
203
|
+
"autoAssignOnIdle": true,
|
|
204
|
+
"trainPatternsOnComplete": true,
|
|
205
|
+
"notifyLeadOnComplete": true,
|
|
206
|
+
"sharedMemoryNamespace": "agent-teams"
|
|
207
|
+
},
|
|
208
|
+
"hooks": {
|
|
209
|
+
"teammateIdle": {
|
|
210
|
+
"enabled": true,
|
|
211
|
+
"autoAssign": true,
|
|
212
|
+
"checkTaskList": true
|
|
213
|
+
},
|
|
214
|
+
"taskCompleted": {
|
|
215
|
+
"enabled": true,
|
|
216
|
+
"trainPatterns": true,
|
|
217
|
+
"notifyLead": true
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"swarm": {
|
|
222
|
+
"topology": "hierarchical-mesh",
|
|
223
|
+
"maxAgents": 15
|
|
224
|
+
},
|
|
225
|
+
"memory": {
|
|
226
|
+
"backend": "hybrid",
|
|
227
|
+
"enableHNSW": true,
|
|
228
|
+
"learningBridge": {
|
|
229
|
+
"enabled": true
|
|
230
|
+
},
|
|
231
|
+
"memoryGraph": {
|
|
232
|
+
"enabled": true
|
|
233
|
+
},
|
|
234
|
+
"agentScopes": {
|
|
235
|
+
"enabled": true
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"neural": {
|
|
239
|
+
"enabled": true
|
|
240
|
+
},
|
|
241
|
+
"daemon": {
|
|
242
|
+
"autoStart": true,
|
|
243
|
+
"workers": [
|
|
244
|
+
"map",
|
|
245
|
+
"audit",
|
|
246
|
+
"optimize",
|
|
247
|
+
"consolidate",
|
|
248
|
+
"testgaps",
|
|
249
|
+
"ultralearn",
|
|
250
|
+
"deepdive",
|
|
251
|
+
"document",
|
|
252
|
+
"refactor",
|
|
253
|
+
"benchmark"
|
|
254
|
+
],
|
|
255
|
+
"schedules": {
|
|
256
|
+
"audit": {
|
|
257
|
+
"interval": "1h",
|
|
258
|
+
"priority": "critical"
|
|
259
|
+
},
|
|
260
|
+
"optimize": {
|
|
261
|
+
"interval": "30m",
|
|
262
|
+
"priority": "high"
|
|
263
|
+
},
|
|
264
|
+
"consolidate": {
|
|
265
|
+
"interval": "2h",
|
|
266
|
+
"priority": "low"
|
|
267
|
+
},
|
|
268
|
+
"document": {
|
|
269
|
+
"interval": "1h",
|
|
270
|
+
"priority": "normal",
|
|
271
|
+
"triggers": [
|
|
272
|
+
"adr-update",
|
|
273
|
+
"api-change"
|
|
274
|
+
]
|
|
275
|
+
},
|
|
276
|
+
"deepdive": {
|
|
277
|
+
"interval": "4h",
|
|
278
|
+
"priority": "normal",
|
|
279
|
+
"triggers": [
|
|
280
|
+
"complex-change"
|
|
281
|
+
]
|
|
282
|
+
},
|
|
283
|
+
"ultralearn": {
|
|
284
|
+
"interval": "1h",
|
|
285
|
+
"priority": "normal"
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"learning": {
|
|
290
|
+
"enabled": true,
|
|
291
|
+
"autoTrain": true,
|
|
292
|
+
"patterns": [
|
|
293
|
+
"coordination",
|
|
294
|
+
"optimization",
|
|
295
|
+
"prediction"
|
|
296
|
+
],
|
|
297
|
+
"retention": {
|
|
298
|
+
"shortTerm": "24h",
|
|
299
|
+
"longTerm": "30d"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"adr": {
|
|
303
|
+
"autoGenerate": true,
|
|
304
|
+
"directory": "/docs/adr",
|
|
305
|
+
"template": "madr"
|
|
306
|
+
},
|
|
307
|
+
"ddd": {
|
|
308
|
+
"trackDomains": true,
|
|
309
|
+
"validateBoundedContexts": true,
|
|
310
|
+
"directory": "/docs/ddd"
|
|
311
|
+
},
|
|
312
|
+
"security": {
|
|
313
|
+
"autoScan": true,
|
|
314
|
+
"scanOnEdit": true,
|
|
315
|
+
"cveCheck": true,
|
|
316
|
+
"threatModel": true
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudpftc/opencode-orchestrator",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.1",
|
|
4
4
|
"description": "OpenCode Orchestrator - Enterprise AI agent orchestration platform. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|