@monoes/monomindcli 1.11.8 → 1.11.9
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/.claude/agents/github/issue-tracker.md +5 -5
- package/.claude/agents/github/pr-manager.md +5 -5
- package/.claude/agents/github/release-manager.md +3 -3
- package/.claude/agents/github/repo-architect.md +3 -3
- package/.claude/agents/github/swarm-issue.md +1 -1
- package/.claude/agents/github/sync-coordinator.md +1 -1
- package/.claude/agents/github/workflow-automation.md +1 -1
- package/.claude/commands/github/repo-architect.md +1 -1
- package/.claude/commands/github/sync-coordinator.md +1 -1
- package/.claude/commands/mastermind/createorg.md +4 -1
- package/.claude/commands/mastermind/help.md +2 -2
- package/.claude/commands/mastermind/orgs.md +21 -0
- package/.claude/commands/mastermind/orgstatus.md +59 -0
- package/.claude/commands/mastermind/runorg.md +4 -2
- package/.claude/commands/mastermind/stoporg.md +78 -0
- package/.claude/commands/mastermind/swarm.md +1 -1
- package/.claude/helpers/handlers/gates-handler.cjs +135 -0
- package/.claude/helpers/handlers/task-handler.cjs +7 -3
- package/.claude/helpers/hook-handler.cjs +11 -2
- package/.claude/helpers/intelligence.cjs +87 -0
- package/.claude/helpers/learning-service.mjs +60 -0
- package/.claude/helpers/memory.cjs +69 -0
- package/.claude/helpers/router.cjs +68 -0
- package/.claude/helpers/session.cjs +63 -0
- package/.claude/helpers/utils/monograph.cjs +4 -2
- package/.claude/helpers/utils/telemetry.cjs +3 -2
- package/.claude/skills/agentic-jujutsu/SKILL.md +1 -1
- package/.claude/skills/hive-mind-advanced/SKILL.md +4 -4
- package/.claude/skills/mastermind/_agent-select.md +2 -2
- package/.claude/skills/mastermind/access.md +11 -11
- package/.claude/skills/mastermind/adapter-manager.md +13 -13
- package/.claude/skills/mastermind/adapters.md +7 -7
- package/.claude/skills/mastermind/agent-detail.md +1 -1
- package/.claude/skills/mastermind/agents.md +5 -5
- package/.claude/skills/mastermind/approval-detail.md +6 -6
- package/.claude/skills/mastermind/approve.md +9 -10
- package/.claude/skills/mastermind/backup.md +2 -2
- package/.claude/skills/mastermind/bootstrap.md +2 -2
- package/.claude/skills/mastermind/companies.md +7 -7
- package/.claude/skills/mastermind/createorg.md +213 -8
- package/.claude/skills/mastermind/diagnose.md +4 -4
- package/.claude/skills/mastermind/env.md +1 -1
- package/.claude/skills/mastermind/environments.md +8 -8
- package/.claude/skills/mastermind/export.md +12 -3
- package/.claude/skills/mastermind/goal-detail.md +9 -9
- package/.claude/skills/mastermind/goals.md +4 -4
- package/.claude/skills/mastermind/heartbeat.md +1 -1
- package/.claude/skills/mastermind/idea.md +4 -4
- package/.claude/skills/mastermind/import.md +8 -8
- package/.claude/skills/mastermind/inbox.md +4 -4
- package/.claude/skills/mastermind/instance-settings.md +9 -9
- package/.claude/skills/mastermind/instance.md +9 -7
- package/.claude/skills/mastermind/invite-landing.md +5 -5
- package/.claude/skills/mastermind/invites.md +12 -12
- package/.claude/skills/mastermind/issue-detail.md +8 -8
- package/.claude/skills/mastermind/monitor.md +11 -11
- package/.claude/skills/mastermind/my-issues.md +6 -6
- package/.claude/skills/mastermind/new-agent.md +4 -4
- package/.claude/skills/mastermind/org-chart.md +8 -6
- package/.claude/skills/mastermind/org-settings.md +58 -21
- package/.claude/skills/mastermind/orgs.md +98 -0
- package/.claude/skills/mastermind/orgstatus.md +194 -0
- package/.claude/skills/mastermind/plan-to-tasks.md +1 -1
- package/.claude/skills/mastermind/plugin-manager.md +12 -12
- package/.claude/skills/mastermind/plugin-settings.md +5 -5
- package/.claude/skills/mastermind/plugins.md +5 -5
- package/.claude/skills/mastermind/profile.md +2 -2
- package/.claude/skills/mastermind/project-detail.md +12 -12
- package/.claude/skills/mastermind/project-workspace.md +4 -4
- package/.claude/skills/mastermind/projects.md +4 -4
- package/.claude/skills/mastermind/review.md +50 -0
- package/.claude/skills/mastermind/routine-detail.md +3 -3
- package/.claude/skills/mastermind/routines.md +7 -6
- package/.claude/skills/mastermind/runorg.md +178 -8
- package/.claude/skills/mastermind/search.md +6 -6
- package/.claude/skills/mastermind/secrets.md +6 -6
- package/.claude/skills/mastermind/skills.md +4 -4
- package/.claude/skills/mastermind/stoporg.md +138 -0
- package/.claude/skills/mastermind/workspace-detail.md +5 -5
- package/.claude/skills/mastermind/workspaces.md +9 -9
- package/.claude/skills/performance-analysis/SKILL.md +3 -3
- package/.claude/skills/sparc-methodology/SKILL.md +2 -2
- package/.claude/skills/swarm-advanced/SKILL.md +4 -4
- package/README.md +129 -376
- package/dist/src/agents/registry-builder.d.ts +27 -1
- package/dist/src/agents/registry-builder.d.ts.map +1 -1
- package/dist/src/agents/registry-builder.js +2 -2
- package/dist/src/agents/registry-builder.js.map +1 -1
- package/dist/src/commands/agent.d.ts.map +1 -1
- package/dist/src/commands/agent.js +4 -9
- package/dist/src/commands/agent.js.map +1 -1
- package/dist/src/commands/analyze.d.ts +1 -1
- package/dist/src/commands/analyze.js +1 -1
- package/dist/src/commands/claims.d.ts +1 -1
- package/dist/src/commands/claims.js +2 -2
- package/dist/src/commands/claims.js.map +1 -1
- package/dist/src/commands/cleanup.d.ts +1 -1
- package/dist/src/commands/cleanup.js +1 -1
- package/dist/src/commands/completions.d.ts +1 -1
- package/dist/src/commands/completions.js +1 -1
- package/dist/src/commands/deployment.d.ts +1 -1
- package/dist/src/commands/deployment.js +2 -2
- package/dist/src/commands/deployment.js.map +1 -1
- package/dist/src/commands/doctor.d.ts +1 -1
- package/dist/src/commands/doctor.d.ts.map +1 -1
- package/dist/src/commands/doctor.js +69 -4
- package/dist/src/commands/doctor.js.map +1 -1
- package/dist/src/commands/guidance.d.ts.map +1 -1
- package/dist/src/commands/guidance.js +129 -0
- package/dist/src/commands/guidance.js.map +1 -1
- package/dist/src/commands/index.d.ts.map +1 -1
- package/dist/src/commands/index.js +4 -0
- package/dist/src/commands/index.js.map +1 -1
- package/dist/src/commands/init.d.ts.map +1 -1
- package/dist/src/commands/init.js +18 -0
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/monovector/import.d.ts +1 -1
- package/dist/src/commands/monovector/import.js +1 -1
- package/dist/src/commands/monovector/index.d.ts +1 -1
- package/dist/src/commands/monovector/index.js +1 -1
- package/dist/src/commands/monovector/setup.d.ts +1 -1
- package/dist/src/commands/monovector/setup.js +2 -2
- package/dist/src/commands/neural.d.ts +1 -1
- package/dist/src/commands/neural.js +2 -2
- package/dist/src/commands/neural.js.map +1 -1
- package/dist/src/commands/performance.d.ts +1 -1
- package/dist/src/commands/performance.js +2 -2
- package/dist/src/commands/performance.js.map +1 -1
- package/dist/src/commands/platforms.d.ts +1 -1
- package/dist/src/commands/platforms.js +1 -1
- package/dist/src/commands/plugins.d.ts +1 -1
- package/dist/src/commands/plugins.d.ts.map +1 -1
- package/dist/src/commands/plugins.js +2 -4
- package/dist/src/commands/plugins.js.map +1 -1
- package/dist/src/commands/providers.d.ts +1 -1
- package/dist/src/commands/providers.js +2 -2
- package/dist/src/commands/providers.js.map +1 -1
- package/dist/src/commands/route.d.ts +1 -1
- package/dist/src/commands/route.d.ts.map +1 -1
- package/dist/src/commands/route.js +5 -11
- package/dist/src/commands/route.js.map +1 -1
- package/dist/src/commands/security.d.ts +1 -1
- package/dist/src/commands/security.d.ts.map +1 -1
- package/dist/src/commands/security.js +140 -91
- package/dist/src/commands/security.js.map +1 -1
- package/dist/src/dlq/dlq-replayer.d.ts +7 -1
- package/dist/src/dlq/dlq-replayer.d.ts.map +1 -1
- package/dist/src/dlq/dlq-replayer.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +10 -26
- package/dist/src/index.js.map +1 -1
- package/dist/src/init/claudemd-generator.js +2 -2
- package/dist/src/init/claudemd-generator.js.map +1 -1
- package/dist/src/init/executor.js +3 -3
- package/dist/src/init/settings-generator.js +2 -2
- package/dist/src/init/settings-generator.js.map +1 -1
- package/dist/src/mcp-client.d.ts +5 -0
- package/dist/src/mcp-client.d.ts.map +1 -1
- package/dist/src/mcp-client.js +7 -0
- package/dist/src/mcp-client.js.map +1 -1
- package/dist/src/mcp-server.d.ts.map +1 -1
- package/dist/src/mcp-server.js +17 -1
- package/dist/src/mcp-server.js.map +1 -1
- package/dist/src/mcp-tools/a2a-tools.js +6 -6
- package/dist/src/mcp-tools/a2a-tools.js.map +1 -1
- package/dist/src/mcp-tools/auto-install.d.ts +2 -2
- package/dist/src/mcp-tools/auto-install.js +1 -1
- package/dist/src/mcp-tools/auto-install.js.map +1 -1
- package/dist/src/mcp-tools/hive-mind-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/hive-mind-tools.js +1 -52
- package/dist/src/mcp-tools/hive-mind-tools.js.map +1 -1
- package/dist/src/mcp-tools/index.d.ts +4 -0
- package/dist/src/mcp-tools/index.d.ts.map +1 -1
- package/dist/src/mcp-tools/index.js +4 -0
- package/dist/src/mcp-tools/index.js.map +1 -1
- package/dist/src/mcp-tools/monograph-compat.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph-compat.js +1 -2
- package/dist/src/mcp-tools/monograph-compat.js.map +1 -1
- package/dist/src/mcp-tools/monograph-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph-tools.js +107 -5
- package/dist/src/mcp-tools/monograph-tools.js.map +1 -1
- package/dist/src/mcp-tools/security-tools.d.ts +6 -6
- package/dist/src/mcp-tools/security-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/security-tools.js +48 -61
- package/dist/src/mcp-tools/security-tools.js.map +1 -1
- package/dist/src/memory/memory-bridge.d.ts +0 -1
- package/dist/src/memory/memory-bridge.d.ts.map +1 -1
- package/dist/src/memory/memory-bridge.js +232 -57
- package/dist/src/memory/memory-bridge.js.map +1 -1
- package/dist/src/memory/memory-initializer.d.ts.map +1 -1
- package/dist/src/memory/memory-initializer.js +3 -32
- package/dist/src/memory/memory-initializer.js.map +1 -1
- package/dist/src/plugins/store/discovery.d.ts.map +1 -1
- package/dist/src/plugins/store/discovery.js +0 -69
- package/dist/src/plugins/store/discovery.js.map +1 -1
- package/dist/src/routing/embed-worker.d.ts +2 -0
- package/dist/src/routing/embed-worker.d.ts.map +1 -0
- package/dist/src/routing/embed-worker.js +55 -0
- package/dist/src/routing/embed-worker.js.map +1 -0
- package/dist/src/routing/embedder.d.ts +31 -0
- package/dist/src/routing/embedder.d.ts.map +1 -0
- package/dist/src/routing/embedder.js +0 -0
- package/dist/src/routing/embedder.js.map +1 -0
- package/dist/src/routing/llm-caller.d.ts +1 -1
- package/dist/src/routing/llm-caller.d.ts.map +1 -1
- package/dist/src/routing/llm-caller.js +18 -3
- package/dist/src/routing/llm-caller.js.map +1 -1
- package/dist/src/routing/route-layer-factory.d.ts +9 -0
- package/dist/src/routing/route-layer-factory.d.ts.map +1 -0
- package/dist/src/routing/route-layer-factory.js +151 -0
- package/dist/src/routing/route-layer-factory.js.map +1 -0
- package/dist/src/services/worker-daemon.d.ts.map +1 -1
- package/dist/src/services/worker-daemon.js +0 -1
- package/dist/src/services/worker-daemon.js.map +1 -1
- package/dist/src/suggest.d.ts +1 -1
- package/dist/src/suggest.js +1 -1
- package/dist/src/ui/server.mjs +5 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -10
- package/scripts/publish-registry.ts +0 -2
- package/scripts/understand-analyze.mjs +1 -1
|
@@ -88,13 +88,13 @@ else
|
|
|
88
88
|
|
|
89
89
|
while IFS= read -r proj; do
|
|
90
90
|
[ -z "$proj" ] && continue
|
|
91
|
-
projName=$([ -f "$projectsFile" ] && jq -r --arg pid "$proj" '.projects[] | select(.id == $pid) | .name // $pid' "$projectsFile" || echo "$proj")
|
|
91
|
+
projName=$([ -f "$projectsFile" ] && jq -r --arg pid "$proj" '(.projects // [])[] | select(.id == $pid) | .name // $pid' "$projectsFile" || echo "$proj")
|
|
92
92
|
echo ""
|
|
93
93
|
echo " PROJECT: $projName"
|
|
94
94
|
echo " ──────────────────────────────────────────────────"
|
|
95
95
|
printf " %-18s %-14s %-18s %-12s %-6s %s\n" "ID" "STATUS" "AGENT" "BRANCH" "SVCS" "PATH"
|
|
96
96
|
|
|
97
|
-
jq -r --arg pid "$proj" '.workspaces[] | select(.project_id == $pid) |
|
|
97
|
+
jq -r --arg pid "$proj" '(.workspaces // [])[] | select(.project_id == $pid) |
|
|
98
98
|
[.id, (.status // "unknown"), (.agent_id // "(none)"),
|
|
99
99
|
(.branch // "?"), ((.services // []) | length | tostring),
|
|
100
100
|
(.worktree_path // "-")]
|
|
@@ -112,7 +112,7 @@ echo "Total: $total workspace(s)"
|
|
|
112
112
|
|
|
113
113
|
```bash
|
|
114
114
|
[ -z "$workspace_id" ] && { echo "ERROR: --workspace-id required."; exit 1; }
|
|
115
|
-
wsDef=$(jq -r --arg id "$workspace_id" '.workspaces[] | select(.id == $id)' "$wsFile")
|
|
115
|
+
wsDef=$(jq -r --arg id "$workspace_id" '(.workspaces // [])[] | select(.id == $id)' "$wsFile")
|
|
116
116
|
[ -z "$wsDef" ] && { echo "ERROR: Workspace '$workspace_id' not found."; exit 1; }
|
|
117
117
|
|
|
118
118
|
echo "WORKSPACE STATUS — $workspace_id"
|
|
@@ -186,7 +186,7 @@ echo " Path: $worktree_path"
|
|
|
186
186
|
[ -z "$workspace_id" ] && { echo "ERROR: --workspace-id required."; exit 1; }
|
|
187
187
|
tmp="${wsFile}.tmp"
|
|
188
188
|
jq --arg id "$workspace_id" \
|
|
189
|
-
'.workspaces = [.workspaces[] | if .id == $id then .status = "detached" else . end]' \
|
|
189
|
+
'.workspaces = [(.workspaces // [])[] | if .id == $id then .status = "detached" else . end]' \
|
|
190
190
|
"$wsFile" > "$tmp" && mv "$tmp" "$wsFile"
|
|
191
191
|
echo "Workspace '$workspace_id' → detached. The worktree is preserved on disk."
|
|
192
192
|
```
|
|
@@ -195,7 +195,7 @@ echo "Workspace '$workspace_id' → detached. The worktree is preserved on disk.
|
|
|
195
195
|
|
|
196
196
|
```bash
|
|
197
197
|
[ -z "$workspace_id" ] && { echo "ERROR: --workspace-id required."; exit 1; }
|
|
198
|
-
wsDef=$(jq -r --arg id "$workspace_id" '.workspaces[] | select(.id == $id)' "$wsFile")
|
|
198
|
+
wsDef=$(jq -r --arg id "$workspace_id" '(.workspaces // [])[] | select(.id == $id)' "$wsFile")
|
|
199
199
|
[ -z "$wsDef" ] && { echo "ERROR: Workspace '$workspace_id' not found."; exit 1; }
|
|
200
200
|
|
|
201
201
|
services=$(echo "$wsDef" | jq -r '(.services // [])[]')
|
|
@@ -208,7 +208,7 @@ fi
|
|
|
208
208
|
|
|
209
209
|
tmp="${wsFile}.tmp"
|
|
210
210
|
jq --arg id "$workspace_id" --arg ts "$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
|
|
211
|
-
'.workspaces = [.workspaces[] | if .id == $id then .status = "stopped" | .services = [] | .lastActiveAt = $ts else . end]' \
|
|
211
|
+
'.workspaces = [(.workspaces // [])[] | if .id == $id then .status = "stopped" | .services = [] | .lastActiveAt = $ts else . end]' \
|
|
212
212
|
"$wsFile" > "$tmp" && mv "$tmp" "$wsFile"
|
|
213
213
|
|
|
214
214
|
echo "Workspace '$workspace_id' stopped."
|
|
@@ -224,7 +224,7 @@ removed=0
|
|
|
224
224
|
orphaned=0
|
|
225
225
|
|
|
226
226
|
tmp="${wsFile}.tmp"
|
|
227
|
-
jq '.workspaces = [.workspaces[] | select(.status != "stopped" and .status != "detached")]' \
|
|
227
|
+
jq '.workspaces = [(.workspaces // [])[] | select(.status != "stopped" and .status != "detached")]' \
|
|
228
228
|
"$wsFile" > "$tmp" && mv "$tmp" "$wsFile"
|
|
229
229
|
|
|
230
230
|
after=$(jq '.workspaces | length' "$wsFile")
|
|
@@ -232,9 +232,9 @@ removed=$((before - after))
|
|
|
232
232
|
|
|
233
233
|
# Find orphaned worktrees (path gone)
|
|
234
234
|
while IFS= read -r path; do
|
|
235
|
-
[ -z "$path" ] || [ "$path" = "null" ] && continue
|
|
235
|
+
{ [ -z "$path" ] || [ "$path" = "null" ]; } && continue
|
|
236
236
|
[ ! -d "$path" ] && orphaned=$((orphaned + 1))
|
|
237
|
-
done < <(jq -r '.workspaces[].worktree_path // ""' "$wsFile")
|
|
237
|
+
done < <(jq -r '(.workspaces // [])[].worktree_path // ""' "$wsFile")
|
|
238
238
|
|
|
239
239
|
echo " Removed $removed stopped/detached workspace record(s)."
|
|
240
240
|
[ "$orphaned" -gt 0 ] && echo " WARNING: $orphaned workspace(s) have missing worktree paths. Run --action status to investigate."
|
|
@@ -547,9 +547,9 @@ npx monomind bottleneck detect --fix
|
|
|
547
547
|
|
|
548
548
|
## See Also
|
|
549
549
|
|
|
550
|
-
- [Bottleneck Detection Guide](https://github.com/
|
|
551
|
-
- [Performance Report Guide](https://github.com/
|
|
552
|
-
- [Performance Bottlenecks Overview](https://github.com/
|
|
550
|
+
- [Bottleneck Detection Guide](https://github.com/monoes/monomind/wiki/bottleneck-detect)
|
|
551
|
+
- [Performance Report Guide](https://github.com/monoes/monomind/wiki/performance-report)
|
|
552
|
+
- [Performance Bottlenecks Overview](https://github.com/monoes/monomind/wiki/performance-bottlenecks)
|
|
553
553
|
- [Swarm Monitoring Documentation](../swarm-orchestration/SKILL.md)
|
|
554
554
|
- [Memory Management Documentation](../memory-management/SKILL.md)
|
|
555
555
|
|
|
@@ -901,8 +901,8 @@ mcp__monomind__token_usage {
|
|
|
901
901
|
|
|
902
902
|
## Support and Resources
|
|
903
903
|
|
|
904
|
-
- **Documentation**: https://github.com/
|
|
905
|
-
- **Issues**: https://github.com/
|
|
904
|
+
- **Documentation**: https://github.com/monoes/monomind
|
|
905
|
+
- **Issues**: https://github.com/monoes/monomind/issues
|
|
906
906
|
- **NPM Package**: https://www.npmjs.com/package/monomind
|
|
907
907
|
- **Community**: Discord server (link in repository)
|
|
908
908
|
|
|
@@ -924,10 +924,10 @@ mcp__monomind__swarm_init({ topology: "mesh", maxAgents: 4 })
|
|
|
924
924
|
|
|
925
925
|
## References
|
|
926
926
|
|
|
927
|
-
- [Monomind Documentation](https://github.com/
|
|
928
|
-
- [Swarm Orchestration Guide](https://github.com/
|
|
929
|
-
- [MCP Tools Reference](https://github.com/
|
|
930
|
-
- [Performance Optimization](https://github.com/
|
|
927
|
+
- [Monomind Documentation](https://github.com/monoes/monomind)
|
|
928
|
+
- [Swarm Orchestration Guide](https://github.com/monoes/monomind/wiki/swarm)
|
|
929
|
+
- [MCP Tools Reference](https://github.com/monoes/monomind/wiki/mcp)
|
|
930
|
+
- [Performance Optimization](https://github.com/monoes/monomind/wiki/performance)
|
|
931
931
|
|
|
932
932
|
---
|
|
933
933
|
|