opencode-swarm 7.116.0 → 7.116.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 (40) hide show
  1. package/.opencode/skills/commit-pr/SKILL.md +60 -579
  2. package/dist/cli/{curator-drift-c0by7063.js → curator-drift-7p2ky1th.js} +2 -2
  3. package/dist/cli/{curator-llm-factory-x96dr0zf.js → curator-llm-factory-9qn52fnv.js} +13 -13
  4. package/dist/cli/{curator-7s5yw6hw.js → curator-yxmtp8py.js} +13 -13
  5. package/dist/cli/{evidence-summary-service-ef6kgtev.js → evidence-summary-service-bwt6drb3.js} +5 -5
  6. package/dist/cli/{gate-evidence-thqt0beq.js → gate-evidence-j2m4cd85.js} +3 -2
  7. package/dist/cli/{guardrail-explain-kwqfkwch.js → guardrail-explain-xvyz2eag.js} +14 -14
  8. package/dist/cli/{hive-promoter-rkkx40qv.js → hive-promoter-ykqc60w1.js} +13 -13
  9. package/dist/cli/{index-bbsaxnj5.js → index-0pfqcjp6.js} +4 -0
  10. package/dist/cli/{index-qgeeyy75.js → index-34g1mv3c.js} +1 -1
  11. package/dist/cli/{index-a6f8b0vn.js → index-5bcrp3bc.js} +1 -1
  12. package/dist/cli/{index-k5ey429j.js → index-5h7d37nf.js} +7 -7
  13. package/dist/cli/{index-me46ffm2.js → index-7kcpkm4y.js} +433 -275
  14. package/dist/cli/{index-81vzywh3.js → index-abjjn4yh.js} +1 -1
  15. package/dist/cli/{index-tvgvb5pa.js → index-efdyjgeh.js} +2 -2
  16. package/dist/cli/{index-jtqkh8jf.js → index-fsrp8wp3.js} +10 -1
  17. package/dist/cli/{index-3yh67t1h.js → index-g4p13g8t.js} +3 -3
  18. package/dist/cli/{index-wh8949ef.js → index-kzj3fp7c.js} +3 -3
  19. package/dist/cli/{index-3b8n3dbd.js → index-p9jf8gt8.js} +14 -14
  20. package/dist/cli/{index-jyetmzcn.js → index-t5f01hnz.js} +3 -3
  21. package/dist/cli/{index-8bvh0qfa.js → index-wegc6xwr.js} +3 -3
  22. package/dist/cli/{index-s385axt1.js → index-wxkf3089.js} +3 -3
  23. package/dist/cli/{index-cnrhj56z.js → index-xdsd2hma.js} +6 -6
  24. package/dist/cli/index.js +13 -13
  25. package/dist/cli/{knowledge-escalator-0bq62d34.js → knowledge-escalator-tthw6c9q.js} +6 -6
  26. package/dist/cli/{knowledge-events-cwwky393.js → knowledge-events-hrbmwxxj.js} +4 -3
  27. package/dist/cli/{knowledge-store-q8x4h82m.js → knowledge-store-5cns5sns.js} +4 -4
  28. package/dist/cli/{knowledge-validator-zr0djm02.js → knowledge-validator-xre0s774.js} +5 -5
  29. package/dist/cli/{pending-delegations-rr9x47rd.js → pending-delegations-9cn17983.js} +2 -2
  30. package/dist/cli/{pr-subscriptions-cny2jz2d.js → pr-subscriptions-8a6jwek2.js} +3 -3
  31. package/dist/cli/{skill-generator-mz267btk.js → skill-generator-22nk6c6a.js} +7 -7
  32. package/dist/commands/close.d.ts +12 -0
  33. package/dist/commands/registry.d.ts +6 -6
  34. package/dist/commands/reset-backup.d.ts +32 -0
  35. package/dist/commands/reset-session.d.ts +2 -0
  36. package/dist/commands/reset.d.ts +9 -0
  37. package/dist/evidence/task-file.d.ts +7 -0
  38. package/dist/index.js +187 -184
  39. package/dist/utils/swarm-artifact-cache.d.ts +13 -0
  40. package/package.json +1 -1
@@ -19,5 +19,18 @@ export declare function readCachedTextFileSync(filePath: string, directRead: ()
19
19
  export declare function readCachedTextFile(filePath: string, directRead: () => Promise<string | null>): Promise<string | null>;
20
20
  export declare function readCachedParsedFileSync<T>(filePath: string, namespace: string, readText: () => string | null, parse: (content: string) => T): T | null;
21
21
  export declare function readCachedParsedFile<T>(filePath: string, namespace: string, readText: () => Promise<string | null>, parse: (content: string) => T): Promise<T | null>;
22
+ /**
23
+ * Drop any cached text/parsed entries for `filePath` immediately after a write.
24
+ *
25
+ * The stat-based staleness check (mtimeMs + ctimeMs + size) is a best-effort
26
+ * optimization: a same-size rewrite that lands within one filesystem timestamp
27
+ * tick of a prior cached read can produce an identical stamp, so the very next
28
+ * read-your-own-write can silently return the pre-write value (issue #1729).
29
+ * Writers that read-modify-write the same path twice in quick succession (e.g.
30
+ * a second locked transaction immediately after an atomic write) MUST call
31
+ * this after the write so the next read cannot observe stale content —
32
+ * relying on stat-stamp comparison alone is not sufficient in that window.
33
+ */
34
+ export declare function invalidateCachedArtifact(filePath: string): void;
22
35
  export declare function resetSwarmArtifactCache(): void;
23
36
  export declare function getSwarmArtifactCacheStats(): SwarmArtifactCacheStats;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.116.0",
3
+ "version": "7.116.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",