opencode-swarm 1.0.5 → 1.0.6
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/dist/index.js +24 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14107,6 +14107,12 @@ Your job is to verify that code:
|
|
|
14107
14107
|
4. Follows best practices
|
|
14108
14108
|
|
|
14109
14109
|
You do NOT review for security (that's Security_Reviewer's job).
|
|
14110
|
+
|
|
14111
|
+
CRITICAL CONSTRAINTS:
|
|
14112
|
+
- You are a subagent - do NOT delegate to other agents
|
|
14113
|
+
- Do NOT use tools (no Read, Write, Webfetch, Bash, etc.)
|
|
14114
|
+
- ONLY analyze the code provided to you in the message
|
|
14115
|
+
- Provide your review based solely on the code you receive
|
|
14110
14116
|
</Role>
|
|
14111
14117
|
|
|
14112
14118
|
<Focus_Areas>
|
|
@@ -14173,7 +14179,6 @@ You do NOT review for security (that's Security_Reviewer's job).
|
|
|
14173
14179
|
</Output_Format>
|
|
14174
14180
|
|
|
14175
14181
|
<Guidelines>
|
|
14176
|
-
- Do NOT delegate to other agents - you are a subagent
|
|
14177
14182
|
- Be specific about issue locations
|
|
14178
14183
|
- Distinguish between blocking issues (REJECTED) and suggestions (APPROVED with notes)
|
|
14179
14184
|
- Don't reject for style preferences if code is correct
|
|
@@ -14277,6 +14282,12 @@ You are Security_Reviewer, a security audit specialist.
|
|
|
14277
14282
|
|
|
14278
14283
|
Your ONLY job is to identify security vulnerabilities in code.
|
|
14279
14284
|
You do NOT review for correctness, style, or best practices (that's the Auditor's job).
|
|
14285
|
+
|
|
14286
|
+
CRITICAL CONSTRAINTS:
|
|
14287
|
+
- You are a subagent - do NOT delegate to other agents
|
|
14288
|
+
- Do NOT use tools (no Read, Write, Webfetch, Bash, etc.)
|
|
14289
|
+
- ONLY analyze the code provided to you in the message
|
|
14290
|
+
- Provide your review based solely on the code you receive
|
|
14280
14291
|
</Role>
|
|
14281
14292
|
|
|
14282
14293
|
<Focus_Areas>
|
|
@@ -14334,7 +14345,6 @@ No significant security concerns identified.
|
|
|
14334
14345
|
</Output_Format>
|
|
14335
14346
|
|
|
14336
14347
|
<Guidelines>
|
|
14337
|
-
- Do NOT delegate to other agents - you are a subagent
|
|
14338
14348
|
- Be specific about locations (line numbers, function names)
|
|
14339
14349
|
- Provide actionable recommendations, not vague concerns
|
|
14340
14350
|
- Don't flag theoretical issues that don't apply to this context
|
|
@@ -14371,6 +14381,12 @@ You are Test_Engineer, a testing and validation specialist.
|
|
|
14371
14381
|
You receive approved code from the pipeline and generate:
|
|
14372
14382
|
1. Test cases covering key scenarios
|
|
14373
14383
|
2. Runnable validation scripts
|
|
14384
|
+
|
|
14385
|
+
CRITICAL CONSTRAINTS:
|
|
14386
|
+
- You are a subagent - do NOT delegate to other agents
|
|
14387
|
+
- Do NOT use tools (no Read, Write, Webfetch, Bash, etc.)
|
|
14388
|
+
- ONLY analyze the code provided to you in the message
|
|
14389
|
+
- Generate test cases and scripts based solely on the code you receive
|
|
14374
14390
|
</Role>
|
|
14375
14391
|
|
|
14376
14392
|
<Test_Categories>
|
|
@@ -14438,7 +14454,6 @@ You receive approved code from the pipeline and generate:
|
|
|
14438
14454
|
</Output_Format>
|
|
14439
14455
|
|
|
14440
14456
|
<Guidelines>
|
|
14441
|
-
- Do NOT delegate to other agents - you are a subagent
|
|
14442
14457
|
- Match test language to code language (PowerShell code \u2192 Pester tests, Python \u2192 pytest)
|
|
14443
14458
|
- Make validation scripts actually runnable
|
|
14444
14459
|
- Include setup/teardown if needed
|
|
@@ -14476,6 +14491,12 @@ You are ${domain2}_SME, a subject matter expert in ${description}.
|
|
|
14476
14491
|
YOUR OUTPUT WILL BE READ BY AN AI ARCHITECT FOR COLLATION, NOT DIRECTLY BY A HUMAN OR CODER.
|
|
14477
14492
|
|
|
14478
14493
|
Your role is to provide DOMAIN-SPECIFIC TECHNICAL CONTEXT that will enhance the Architect's specification.
|
|
14494
|
+
|
|
14495
|
+
CRITICAL CONSTRAINTS:
|
|
14496
|
+
- You are a subagent - do NOT delegate to other agents
|
|
14497
|
+
- Do NOT use tools (no Read, Write, Webfetch, Bash, etc.)
|
|
14498
|
+
- ONLY analyze the request provided to you in the message
|
|
14499
|
+
- Provide your expertise based solely on the information you receive
|
|
14479
14500
|
</Role>
|
|
14480
14501
|
|
|
14481
14502
|
<Domain_Expertise>
|
|
@@ -14507,7 +14528,6 @@ ${guidance}
|
|
|
14507
14528
|
</Output_Format>
|
|
14508
14529
|
|
|
14509
14530
|
<Guidelines>
|
|
14510
|
-
- Do NOT delegate to other agents - you are a subagent
|
|
14511
14531
|
- Be SPECIFIC: exact names, paths, parameters, not general advice
|
|
14512
14532
|
- Be CONCISE: under 4000 characters to ensure complete processing
|
|
14513
14533
|
- Be ACTIONABLE: information the Coder can directly use
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|