opencode-swarm 7.112.2 → 7.113.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.
Files changed (66) hide show
  1. package/.opencode/skills/brainstorm/SKILL.md +1 -0
  2. package/.opencode/skills/ci-failure-batching/SKILL.md +2 -1
  3. package/.opencode/skills/ci-fix-monitor/SKILL.md +203 -0
  4. package/.opencode/skills/clarify/SKILL.md +1 -0
  5. package/.opencode/skills/clarify-spec/SKILL.md +1 -0
  6. package/.opencode/skills/codebase-review-swarm/SKILL.md +1 -0
  7. package/.opencode/skills/commit-pr/SKILL.md +15 -0
  8. package/.opencode/skills/consult/SKILL.md +1 -0
  9. package/.opencode/skills/council/SKILL.md +1 -0
  10. package/.opencode/skills/critic-gate/SKILL.md +1 -0
  11. package/.opencode/skills/deep-dive/SKILL.md +1 -0
  12. package/.opencode/skills/deep-research/SKILL.md +1 -0
  13. package/.opencode/skills/design-docs/SKILL.md +2 -1
  14. package/.opencode/skills/discover/SKILL.md +1 -0
  15. package/.opencode/skills/engineering-conventions/SKILL.md +2 -1
  16. package/.opencode/skills/execute/SKILL.md +1 -0
  17. package/.opencode/skills/fork-pr-operations/SKILL.md +136 -0
  18. package/.opencode/skills/gate-attribution/SKILL.md +2 -1
  19. package/.opencode/skills/issue-ingest/SKILL.md +1 -0
  20. package/.opencode/skills/loop/SKILL.md +7 -6
  21. package/.opencode/skills/merge-queue-readiness/SKILL.md +2 -1
  22. package/.opencode/skills/parallel-work-check/SKILL.md +133 -0
  23. package/.opencode/skills/phase-wrap/SKILL.md +1 -0
  24. package/.opencode/skills/plan/SKILL.md +1 -0
  25. package/.opencode/skills/pre-phase-briefing/SKILL.md +1 -0
  26. package/.opencode/skills/resume/SKILL.md +1 -0
  27. package/.opencode/skills/running-tests/SKILL.md +1 -0
  28. package/.opencode/skills/skill-edit-validation/SKILL.md +2 -1
  29. package/.opencode/skills/specify/SKILL.md +1 -0
  30. package/.opencode/skills/swarm/SKILL.md +1 -0
  31. package/.opencode/skills/swarm-ci-monitor/SKILL.md +5 -4
  32. package/.opencode/skills/swarm-implement/SKILL.md +4 -4
  33. package/.opencode/skills/swarm-pr-feedback/SKILL.md +26 -5
  34. package/.opencode/skills/swarm-pr-review/SKILL.md +2 -1
  35. package/.opencode/skills/swarm-pr-subscribe/SKILL.md +1 -0
  36. package/.opencode/skills/test-file-split/SKILL.md +102 -0
  37. package/.opencode/skills/worktree-retry-cleanup/SKILL.md +2 -1
  38. package/.opencode/skills/writing-tests/SKILL.md +43 -0
  39. package/dist/cli/{config-doctor-mmw4c50z.js → config-doctor-az11cwf5.js} +2 -2
  40. package/dist/cli/{curator-llm-factory-5bns4xy6.js → curator-llm-factory-nmhzc774.js} +5 -5
  41. package/dist/cli/{curator-snvp9542.js → curator-nm2c9y1p.js} +5 -5
  42. package/dist/cli/{guardrail-explain-4s7djf9p.js → guardrail-explain-q1np1xaw.js} +6 -6
  43. package/dist/cli/{guardrail-log-xjgr00eq.js → guardrail-log-hysxdwg9.js} +3 -3
  44. package/dist/cli/{hive-promoter-zs295trk.js → hive-promoter-z4dezw62.js} +5 -5
  45. package/dist/cli/{index-xehrmy76.js → index-0gf6de8b.js} +1 -1
  46. package/dist/cli/{index-cq2hgvd2.js → index-1ey3dxq7.js} +9 -1
  47. package/dist/cli/{index-npxmfj48.js → index-8f256d7t.js} +1 -1
  48. package/dist/cli/{index-82v0d72f.js → index-h389ed8y.js} +424 -87
  49. package/dist/cli/{index-9fjpecax.js → index-ky8eb4q6.js} +2 -2
  50. package/dist/cli/{index-snmfqhez.js → index-npd9rypp.js} +2009 -958
  51. package/dist/cli/{index-w84stmkx.js → index-r9fjzr3k.js} +1 -1
  52. package/dist/cli/{index-k6wd3chp.js → index-rqpm9cwe.js} +7 -7
  53. package/dist/cli/index.js +5 -5
  54. package/dist/cli/{schema-2p15yrvn.js → schema-qb313fyy.js} +1 -1
  55. package/dist/cli/{skill-generator-fe6q8xgm.js → skill-generator-nnwn4sq0.js} +1 -1
  56. package/dist/commands/loop.d.ts +1 -1
  57. package/dist/commands/registry.d.ts +1 -1
  58. package/dist/config/bundled-skills.d.ts +15 -5
  59. package/dist/config/project-init.d.ts +1 -1
  60. package/dist/config/schema.d.ts +2 -0
  61. package/dist/hooks/skill-propagation-gate.d.ts +45 -5
  62. package/dist/hooks/skill-scoring.d.ts +22 -1
  63. package/dist/index.js +88 -88
  64. package/dist/sast/rules/index.d.ts +0 -9
  65. package/dist/utils/gitignore-warning.d.ts +8 -4
  66. package/package.json +5 -1
@@ -9,7 +9,6 @@ export interface SastRule {
9
9
  languages: string[];
10
10
  description: string;
11
11
  remediation?: string;
12
- query?: string;
13
12
  pattern?: RegExp;
14
13
  validate?: (match: SastMatch, context: SastContext) => boolean;
15
14
  }
@@ -25,8 +24,6 @@ export interface SastContext {
25
24
  filePath: string;
26
25
  content: string;
27
26
  language: string;
28
- parser?: unknown;
29
- tree?: unknown;
30
27
  }
31
28
  export interface SastFinding {
32
29
  rule_id: string;
@@ -46,7 +43,6 @@ export declare const _internals: {
46
43
  getRuleById: typeof getRuleById;
47
44
  findPatternMatches: typeof findPatternMatches;
48
45
  executeRulesSync: typeof executeRulesSync;
49
- executeRules: typeof executeRules;
50
46
  getRuleStats: typeof getRuleStats;
51
47
  };
52
48
  /**
@@ -70,11 +66,6 @@ declare function findPatternMatches(content: string, pattern: RegExp): SastMatch
70
66
  * This is the primary execution method for offline SAST
71
67
  */
72
68
  export declare function executeRulesSync(filePath: string, content: string, language: string): SastFinding[];
73
- /**
74
- * Execute rules against a file (async version with tree-sitter support)
75
- * Falls back to pattern matching if tree-sitter is unavailable
76
- */
77
- export declare function executeRules(filePath: string, content: string, language: string): Promise<SastFinding[]>;
78
69
  /**
79
70
  * Get statistics about rules
80
71
  */
@@ -31,14 +31,15 @@ export declare function resetSwarmGitExcludedState(): void;
31
31
  /**
32
32
  * Checks whether `.swarm/` is covered by `.gitignore` or `.git/info/exclude`
33
33
  * in the git repo rooted at or above `directory`. If not covered, emits a
34
- * single `console.warn` (unless `quiet` is true). Fires at most once per process.
34
+ * single advisory via `advisoryWarn` (buffered for `/swarm diagnose` + debug
35
+ * log). Fires at most once per process.
35
36
  *
36
37
  * Never throws — any file-system error silently skips the check.
37
38
  *
38
39
  * @deprecated Use `ensureSwarmGitExcluded` instead. This function only recognises
39
40
  * `.git` as a directory and does NOT handle Git worktrees or submodules.
40
41
  */
41
- export declare function warnIfSwarmNotGitignored(directory: string, quiet?: boolean): void;
42
+ export declare function warnIfSwarmNotGitignored(directory: string, _quiet?: boolean): void;
42
43
  export interface EnsureSwarmGitExcludedOptions {
43
44
  quiet?: boolean;
44
45
  }
@@ -83,7 +84,10 @@ export declare const ENSURE_SWARM_GIT_EXCLUDED_PER_CALL_TIMEOUT_MS = 1500;
83
84
  *
84
85
  * Never throws. Fires at most once per process.
85
86
  *
86
- * quiet option: only suppresses cosmetic logs. The exclude write and tracked-file
87
- * warning are never suppressed regardless of quiet mode.
87
+ * quiet option: deprecated/no-op since epic #1752 PR2 cosmetic advisories now
88
+ * route through `advisoryWarn` (buffered for `/swarm diagnose` + debug log)
89
+ * regardless of quiet. The exclude write always runs; the tracked-file warning
90
+ * (step 6) is intentionally always emitted as raw `console.warn` because it is
91
+ * a must-see security/hygiene remediation, not a recoverable advisory.
88
92
  */
89
93
  export declare function ensureSwarmGitExcluded(directory: string, options?: EnsureSwarmGitExcludedOptions): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.112.2",
3
+ "version": "7.113.1",
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",
@@ -76,6 +76,10 @@
76
76
  ".opencode/skills/swarm",
77
77
  ".opencode/skills/swarm-ci-monitor",
78
78
  ".opencode/skills/worktree-retry-cleanup",
79
+ ".opencode/skills/test-file-split",
80
+ ".opencode/skills/fork-pr-operations",
81
+ ".opencode/skills/parallel-work-check",
82
+ ".opencode/skills/ci-fix-monitor",
79
83
  "tests/fixtures/memory-recall",
80
84
  "README.md",
81
85
  "LICENSE"