strray-ai 1.12.0 → 1.13.2
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/commands/mode-switch.md +4 -4
- package/.opencode/enforcer-config.json +82 -18
- package/.opencode/plugins/strray-codex-injection.js +736 -0
- package/.opencode/strray/features.json +2 -3
- package/.opencode/strray/integrations.json +3 -3
- package/.opencode/strray/routing-mappings.json +181 -32
- package/README.md +20 -19
- package/dist/benchmark/performance-benchmark.d.ts.map +1 -1
- package/dist/benchmark/performance-benchmark.js +4 -3
- package/dist/benchmark/performance-benchmark.js.map +1 -1
- package/dist/cli/index.js +3 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/core/activity-logger.d.ts +65 -0
- package/dist/core/activity-logger.d.ts.map +1 -0
- package/dist/core/activity-logger.js +207 -0
- package/dist/core/activity-logger.js.map +1 -0
- package/dist/core/boot-orchestrator.d.ts.map +1 -1
- package/dist/core/boot-orchestrator.js +21 -35
- package/dist/core/boot-orchestrator.js.map +1 -1
- package/dist/core/codex-injector.d.ts.map +1 -1
- package/dist/core/codex-injector.js +5 -0
- package/dist/core/codex-injector.js.map +1 -1
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +1 -0
- package/dist/core/index.js.map +1 -1
- package/dist/core/strray-activation.d.ts.map +1 -1
- package/dist/core/strray-activation.js +19 -7
- package/dist/core/strray-activation.js.map +1 -1
- package/dist/core/tool-event-emitter.d.ts +31 -0
- package/dist/core/tool-event-emitter.d.ts.map +1 -0
- package/dist/core/tool-event-emitter.js +91 -0
- package/dist/core/tool-event-emitter.js.map +1 -0
- package/dist/mcps/agent-resolver.d.ts.map +1 -1
- package/dist/mcps/agent-resolver.js +4 -3
- package/dist/mcps/agent-resolver.js.map +1 -1
- package/dist/mcps/estimation.server.d.ts.map +1 -1
- package/dist/mcps/estimation.server.js +1 -2
- package/dist/mcps/estimation.server.js.map +1 -1
- package/dist/mcps/framework-help.server.js +1 -1
- package/dist/mcps/simulation/server-simulations.js +1 -1
- package/dist/mcps/state-manager.server.d.ts.map +1 -1
- package/dist/mcps/state-manager.server.js +2 -2
- package/dist/mcps/state-manager.server.js.map +1 -1
- package/dist/orchestrator/enhanced-multi-agent-orchestrator.d.ts.map +1 -1
- package/dist/orchestrator/enhanced-multi-agent-orchestrator.js +1 -1
- package/dist/orchestrator/enhanced-multi-agent-orchestrator.js.map +1 -1
- package/dist/orchestrator/orchestrator.d.ts.map +1 -1
- package/dist/orchestrator/orchestrator.js +5 -5
- package/dist/orchestrator/orchestrator.js.map +1 -1
- package/dist/plugin/strray-codex-injection.d.ts +2 -0
- package/dist/plugin/strray-codex-injection.d.ts.map +1 -1
- package/dist/plugin/strray-codex-injection.js +106 -18
- package/dist/plugin/strray-codex-injection.js.map +1 -1
- package/dist/postprocessor/PostProcessor.d.ts.map +1 -1
- package/dist/postprocessor/PostProcessor.js +14 -11
- package/dist/postprocessor/PostProcessor.js.map +1 -1
- package/dist/postprocessor/triggers/GitHookTrigger.d.ts.map +1 -1
- package/dist/postprocessor/triggers/GitHookTrigger.js +13 -7
- package/dist/postprocessor/triggers/GitHookTrigger.js.map +1 -1
- package/dist/processors/processor-manager.d.ts.map +1 -1
- package/dist/processors/processor-manager.js +8 -5
- package/dist/processors/processor-manager.js.map +1 -1
- package/dist/reporting/framework-reporting-system.d.ts.map +1 -1
- package/dist/reporting/framework-reporting-system.js +9 -9
- package/dist/reporting/framework-reporting-system.js.map +1 -1
- package/dist/utils/path-resolver.d.ts.map +1 -1
- package/dist/utils/path-resolver.js +3 -9
- package/dist/utils/path-resolver.js.map +1 -1
- package/opencode.json +85 -29
- package/package.json +2 -2
- package/scripts/node/postinstall.cjs +134 -5
- package/scripts/node/universal-version-manager.js +4 -4
- package/.opencode/OpenCode.json +0 -59
- package/.opencode/agents/architect.md +0 -22
- package/.opencode/agents/bug-triage-specialist.md +0 -22
- package/.opencode/agents/code-reviewer.md +0 -24
- package/.opencode/agents/document-writer.md +0 -63
- package/.opencode/agents/enforcer.md +0 -22
- package/.opencode/agents/frontend-ui-ux-engineer.md +0 -65
- package/.opencode/agents/librarian.md +0 -61
- package/.opencode/agents/multimodal-looker.md +0 -61
- package/.opencode/agents/orchestrator.md +0 -22
- package/.opencode/agents/refactorer.md +0 -24
- package/.opencode/agents/security-auditor.md +0 -23
- package/.opencode/agents/storyteller-growth-strategy.md +0 -281
- package/.opencode/agents/storyteller-style-guide.md +0 -296
- package/.opencode/agents/test-architect.md +0 -25
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mode-switch
|
|
3
|
-
description: Switch between full (
|
|
3
|
+
description: Switch between full (26 agents) and lite (26 agents) modes dynamically
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
#!/bin/bash
|
|
@@ -20,7 +20,7 @@ DISABLED_COUNT=$(jq '.agent | map(select(.disable == true)) | length' opencode.j
|
|
|
20
20
|
if [ "$DISABLED_COUNT" -eq 0 ] || [ -z "$DISABLED_COUNT" ]; then
|
|
21
21
|
CURRENT_MODE="full"
|
|
22
22
|
echo "🎯 Current Mode: $CURRENT_MODE"
|
|
23
|
-
echo "📝 Description: All
|
|
23
|
+
echo "📝 Description: All 26 agents active for comprehensive development support"
|
|
24
24
|
echo "🤖 Active Agents: 8"
|
|
25
25
|
echo " enforcer architect orchestrator bug-triage-specialist code-reviewer security-auditor refactorer testing-lead"
|
|
26
26
|
elif [ "$DISABLED_COUNT" -eq 4 ]; then
|
|
@@ -62,7 +62,7 @@ local new_mode="$1"
|
|
|
62
62
|
jq '.disabled_agents = []' "$ENFORCER_CONFIG_FILE" > "${ENFORCER_CONFIG_FILE}.tmp" && mv "${ENFORCER_CONFIG_FILE}.tmp" "$ENFORCER_CONFIG_FILE"
|
|
63
63
|
fi
|
|
64
64
|
else
|
|
65
|
-
# Set disabled_agents for lite mode (
|
|
65
|
+
# Set disabled_agents for lite mode (26 agents disabled)
|
|
66
66
|
jq '.disabled_agents = ["security-auditor", "refactorer", "testing-lead", "bug-triage-specialist"]' "$CONFIG_FILE" > "${CONFIG_FILE}.tmp" && mv "${CONFIG_FILE}.tmp" "$CONFIG_FILE"
|
|
67
67
|
if [ -f "$ENFORCER_CONFIG_FILE" ]; then
|
|
68
68
|
jq '.disabled_agents = ["security-auditor", "refactorer", "testing-lead", "bug-triage-specialist"]' "$ENFORCER_CONFIG_FILE" > "${ENFORCER_CONFIG_FILE}.tmp" && mv "${ENFORCER_CONFIG_FILE}.tmp" "$ENFORCER_CONFIG_FILE"
|
|
@@ -81,7 +81,7 @@ case "$1" in
|
|
|
81
81
|
"")
|
|
82
82
|
show_current_mode
|
|
83
83
|
echo "Usage: mode-switch [full|lite]"
|
|
84
|
-
echo " full - All
|
|
84
|
+
echo " full - All 26 agents active"
|
|
85
85
|
echo " lite - 4 core agents active"
|
|
86
86
|
;;
|
|
87
87
|
"full"|"lite")
|
|
@@ -45,16 +45,37 @@
|
|
|
45
45
|
},
|
|
46
46
|
"automation": {
|
|
47
47
|
"hooks": {
|
|
48
|
-
"preCommit": [
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
|
|
48
|
+
"preCommit": [
|
|
49
|
+
"pre-commit-introspection"
|
|
50
|
+
],
|
|
51
|
+
"postCommit": [
|
|
52
|
+
"auto-format"
|
|
53
|
+
],
|
|
54
|
+
"daily": [
|
|
55
|
+
"enforcer-daily-scan"
|
|
56
|
+
],
|
|
57
|
+
"security": [
|
|
58
|
+
"security-scan"
|
|
59
|
+
],
|
|
60
|
+
"deployment": [
|
|
61
|
+
"post-deployment-audit"
|
|
62
|
+
]
|
|
53
63
|
},
|
|
54
64
|
"workflows": {
|
|
55
|
-
"ci": [
|
|
56
|
-
|
|
57
|
-
|
|
65
|
+
"ci": [
|
|
66
|
+
"lint",
|
|
67
|
+
"typecheck",
|
|
68
|
+
"test",
|
|
69
|
+
"security-scan"
|
|
70
|
+
],
|
|
71
|
+
"cd": [
|
|
72
|
+
"build",
|
|
73
|
+
"post-deployment-audit"
|
|
74
|
+
],
|
|
75
|
+
"daily": [
|
|
76
|
+
"enforcer-daily-scan",
|
|
77
|
+
"security-scan"
|
|
78
|
+
]
|
|
58
79
|
}
|
|
59
80
|
},
|
|
60
81
|
"agents": {
|
|
@@ -64,7 +85,11 @@
|
|
|
64
85
|
"threshold-enforcement",
|
|
65
86
|
"automation-orchestration"
|
|
66
87
|
],
|
|
67
|
-
"triggers": [
|
|
88
|
+
"triggers": [
|
|
89
|
+
"file-changes",
|
|
90
|
+
"schedule",
|
|
91
|
+
"deployment"
|
|
92
|
+
]
|
|
68
93
|
},
|
|
69
94
|
"architect": {
|
|
70
95
|
"capabilities": [
|
|
@@ -72,7 +97,10 @@
|
|
|
72
97
|
"architecture-validation",
|
|
73
98
|
"dependency-analysis"
|
|
74
99
|
],
|
|
75
|
-
"triggers": [
|
|
100
|
+
"triggers": [
|
|
101
|
+
"code-reviews",
|
|
102
|
+
"new-features"
|
|
103
|
+
]
|
|
76
104
|
},
|
|
77
105
|
"orchestrator": {
|
|
78
106
|
"capabilities": [
|
|
@@ -80,7 +108,10 @@
|
|
|
80
108
|
"multi-agent-orchestration",
|
|
81
109
|
"workflow-management"
|
|
82
110
|
],
|
|
83
|
-
"triggers": [
|
|
111
|
+
"triggers": [
|
|
112
|
+
"complex-tasks",
|
|
113
|
+
"integration-events"
|
|
114
|
+
]
|
|
84
115
|
},
|
|
85
116
|
"bug-triage-specialist": {
|
|
86
117
|
"capabilities": [
|
|
@@ -88,7 +119,10 @@
|
|
|
88
119
|
"root-cause-identification",
|
|
89
120
|
"fix-suggestions"
|
|
90
121
|
],
|
|
91
|
-
"triggers": [
|
|
122
|
+
"triggers": [
|
|
123
|
+
"test-failures",
|
|
124
|
+
"error-reports"
|
|
125
|
+
]
|
|
92
126
|
},
|
|
93
127
|
"code-reviewer": {
|
|
94
128
|
"capabilities": [
|
|
@@ -96,7 +130,10 @@
|
|
|
96
130
|
"best-practice-validation",
|
|
97
131
|
"security-review"
|
|
98
132
|
],
|
|
99
|
-
"triggers": [
|
|
133
|
+
"triggers": [
|
|
134
|
+
"pull-requests",
|
|
135
|
+
"code-commits"
|
|
136
|
+
]
|
|
100
137
|
},
|
|
101
138
|
"refactorer": {
|
|
102
139
|
"capabilities": [
|
|
@@ -104,7 +141,10 @@
|
|
|
104
141
|
"debt-reduction",
|
|
105
142
|
"consolidation"
|
|
106
143
|
],
|
|
107
|
-
"triggers": [
|
|
144
|
+
"triggers": [
|
|
145
|
+
"legacy-code-detection",
|
|
146
|
+
"complexity-alerts"
|
|
147
|
+
]
|
|
108
148
|
},
|
|
109
149
|
"security-auditor": {
|
|
110
150
|
"capabilities": [
|
|
@@ -112,7 +152,10 @@
|
|
|
112
152
|
"threat-analysis",
|
|
113
153
|
"security-validation"
|
|
114
154
|
],
|
|
115
|
-
"triggers": [
|
|
155
|
+
"triggers": [
|
|
156
|
+
"security-scans",
|
|
157
|
+
"dependency-updates"
|
|
158
|
+
]
|
|
116
159
|
},
|
|
117
160
|
"testing-lead": {
|
|
118
161
|
"capabilities": [
|
|
@@ -120,7 +163,10 @@
|
|
|
120
163
|
"coverage-optimization",
|
|
121
164
|
"behavioral-testing"
|
|
122
165
|
],
|
|
123
|
-
"triggers": [
|
|
166
|
+
"triggers": [
|
|
167
|
+
"new-features",
|
|
168
|
+
"code-changes"
|
|
169
|
+
]
|
|
124
170
|
}
|
|
125
171
|
},
|
|
126
172
|
"mcps": {
|
|
@@ -175,7 +221,25 @@
|
|
|
175
221
|
},
|
|
176
222
|
"codex": {
|
|
177
223
|
"version": "1.10.0",
|
|
178
|
-
"terms": [
|
|
224
|
+
"terms": [
|
|
225
|
+
1,
|
|
226
|
+
2,
|
|
227
|
+
3,
|
|
228
|
+
4,
|
|
229
|
+
5,
|
|
230
|
+
6,
|
|
231
|
+
7,
|
|
232
|
+
8,
|
|
233
|
+
9,
|
|
234
|
+
10,
|
|
235
|
+
15,
|
|
236
|
+
24,
|
|
237
|
+
29,
|
|
238
|
+
32,
|
|
239
|
+
38,
|
|
240
|
+
42,
|
|
241
|
+
43
|
|
242
|
+
],
|
|
179
243
|
"principles": [
|
|
180
244
|
"progressive-prod-ready-code",
|
|
181
245
|
"no-patches-boiler-stubs",
|
|
@@ -218,4 +282,4 @@
|
|
|
218
282
|
"strategist",
|
|
219
283
|
"multimodal-looker"
|
|
220
284
|
]
|
|
221
|
-
}
|
|
285
|
+
}
|