opencode-swarm 7.114.0 → 7.114.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/skills/brainstorm/SKILL.md +10 -8
- package/.opencode/skills/ci-fix-monitor/SKILL.md +2 -2
- package/.opencode/skills/clarify/SKILL.md +2 -2
- package/.opencode/skills/clarify-spec/SKILL.md +4 -4
- package/.opencode/skills/commit-pr/SKILL.md +32 -20
- package/.opencode/skills/council/SKILL.md +1 -1
- package/.opencode/skills/deep-dive/SKILL.md +3 -3
- package/.opencode/skills/design-docs/SKILL.md +2 -1
- package/.opencode/skills/discover/SKILL.md +2 -2
- package/.opencode/skills/engineering-conventions/SKILL.md +54 -1
- package/.opencode/skills/gate-attribution/SKILL.md +11 -8
- package/.opencode/skills/issue-ingest/SKILL.md +18 -14
- package/.opencode/skills/loop/SKILL.md +3 -4
- package/.opencode/skills/merge-queue-readiness/SKILL.md +6 -13
- package/.opencode/skills/phase-wrap/SKILL.md +30 -28
- package/.opencode/skills/plan/SKILL.md +8 -7
- package/.opencode/skills/resume/SKILL.md +5 -5
- package/.opencode/skills/running-tests/SKILL.md +3 -4
- package/.opencode/skills/specify/SKILL.md +2 -1
- package/.opencode/skills/swarm/SKILL.md +8 -0
- package/.opencode/skills/swarm-ci-monitor/SKILL.md +4 -4
- package/.opencode/skills/swarm-pr-feedback/SKILL.md +55 -38
- package/.opencode/skills/swarm-pr-subscribe/SKILL.md +2 -0
- package/.opencode/skills/test-file-split/SKILL.md +2 -4
- package/.opencode/skills/writing-tests/SKILL.md +97 -27
- package/README.md +2 -2
- package/dist/cli/{curator-wvv628sv.js → curator-2g6v327b.js} +1 -1
- package/dist/cli/{curator-llm-factory-awp6xgvt.js → curator-llm-factory-31e6dsqe.js} +1 -1
- package/dist/cli/{guardrail-explain-hhdtrm60.js → guardrail-explain-ygvp1aj9.js} +2 -2
- package/dist/cli/{hive-promoter-1qkybw79.js → hive-promoter-bxngckjh.js} +1 -1
- package/dist/cli/{index-zezjy05g.js → index-64168f15.js} +16 -20
- package/dist/cli/{index-p35ayncy.js → index-fdwtf08h.js} +2 -2
- package/dist/cli/{index-jhdv0jdf.js → index-tnm0e2vb.js} +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/commands/council.d.ts +0 -1
- package/dist/commands/registry.d.ts +3 -3
- package/dist/index.js +16 -12
- package/dist/tools/test-runner.d.ts +0 -1
- package/dist/utils/path-security.d.ts +13 -0
- package/package.json +1 -3
|
@@ -29,6 +29,19 @@ export declare function validateDirectory(directory: string): void;
|
|
|
29
29
|
* Resolves symlinks via realpathSync for both the target path and the root,
|
|
30
30
|
* then verifies the resolved target is within the resolved root.
|
|
31
31
|
*
|
|
32
|
+
* The non-existent-path fallback uses path.resolve (not path.normalize):
|
|
33
|
+
* path.resolve anchors a rootless-absolute path (e.g. POSIX-style '/foo/bar'
|
|
34
|
+
* passed on Windows) to the current drive, matching what realpathSync would
|
|
35
|
+
* produce for a path that DOES exist. path.normalize does not add a drive
|
|
36
|
+
* letter. Without this, a case where exactly one of targetPath/rootPath
|
|
37
|
+
* happens to exist on disk (e.g. leftover state from an unrelated test, or
|
|
38
|
+
* any incidental real path) resolves that side via realpathSync (drive
|
|
39
|
+
* letter attached) while the other falls back to normalize (no drive
|
|
40
|
+
* letter) — an apples-to-oranges comparison that spuriously throws
|
|
41
|
+
* regardless of whether a real boundary escape occurred. Using resolve for
|
|
42
|
+
* both fallback branches keeps the comparison basis consistent whether
|
|
43
|
+
* realpathSync succeeds or not, independent of incidental filesystem state.
|
|
44
|
+
*
|
|
32
45
|
* @param targetPath - The path to validate (absolute)
|
|
33
46
|
* @param rootPath - The root directory boundary (absolute)
|
|
34
47
|
* @throws Error if the resolved target escapes the root boundary
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "7.114.
|
|
3
|
+
"version": "7.114.2",
|
|
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",
|
|
@@ -74,8 +74,6 @@
|
|
|
74
74
|
".opencode/skills/gate-attribution",
|
|
75
75
|
".opencode/skills/merge-queue-readiness",
|
|
76
76
|
".opencode/skills/skill-edit-validation",
|
|
77
|
-
".opencode/skills/swarm",
|
|
78
|
-
".opencode/skills/swarm-ci-monitor",
|
|
79
77
|
".opencode/skills/worktree-retry-cleanup",
|
|
80
78
|
".opencode/skills/test-file-split",
|
|
81
79
|
".opencode/skills/fork-pr-operations",
|