opencode-swarm 7.126.2 → 7.126.3
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/engineering-conventions/SKILL.md +1 -1
- package/.opencode/skills/swarm-pr-feedback/SKILL.md +14 -3
- package/.opencode/skills/swarm-pr-review/SKILL.md +28 -7
- package/dist/background/pr-event-delivery.d.ts +1 -1
- package/dist/cli/{curator-qfh9xty4.js → curator-jm9ehfkg.js} +1 -1
- package/dist/cli/{curator-llm-factory-0rf29gfq.js → curator-llm-factory-3cy0h9yw.js} +1 -1
- package/dist/cli/{guardrail-explain-jsrjqps1.js → guardrail-explain-va0kj05m.js} +2 -2
- package/dist/cli/{hive-promoter-ktt17fyf.js → hive-promoter-h9c4kyv0.js} +1 -1
- package/dist/cli/{index-d88y17ht.js → index-5n868tw8.js} +28 -15
- package/dist/cli/{index-z8ftpav0.js → index-6t5sa6v0.js} +1 -1
- package/dist/cli/{index-5nq8dp63.js → index-b16153py.js} +2 -2
- package/dist/cli/index.js +1 -1
- package/dist/config/bundled-skills.d.ts +3 -2
- package/dist/hooks/init-orphan-recovery.d.ts +1 -1
- package/dist/hooks/pr-workflow-auto-wake.d.ts +31 -0
- package/dist/hooks/pr-workflow-gate.d.ts +1 -1
- package/dist/hooks/pr-workflow-response-gate.d.ts +4 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +142 -142
- package/dist/tools/repo-graph/builder.d.ts +5 -4
- package/dist/utils/timeout.d.ts +8 -4
- package/package.json +1 -1
|
@@ -16,12 +16,13 @@ import { extractFileOntology } from './ontology';
|
|
|
16
16
|
import { safeRealpathSync } from './safe-realpath';
|
|
17
17
|
import type { BuildWorkspaceGraphOptions, GraphEdge, GraphNode, RepoGraph, RepoGraphDiagnostics, SymbolEdge } from './types';
|
|
18
18
|
/**
|
|
19
|
-
* _internals DI seam for
|
|
20
|
-
* Defaults to the real
|
|
21
|
-
*
|
|
22
|
-
* in Bun's shared test-runner process.
|
|
19
|
+
* _internals DI seam for the walk clock and graph helpers.
|
|
20
|
+
* Defaults to the real implementations. Tests can override these to inject
|
|
21
|
+
* deterministic behavior without calling mock.module(...) which leaks across
|
|
22
|
+
* test files in Bun's shared test-runner process.
|
|
23
23
|
*/
|
|
24
24
|
export declare const _internals: {
|
|
25
|
+
now: () => number;
|
|
25
26
|
safeRealpathSync: typeof safeRealpathSync;
|
|
26
27
|
extractTSSymbols: typeof extractTSSymbols;
|
|
27
28
|
extractPythonSymbols: typeof extractPythonSymbols;
|
package/dist/utils/timeout.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Timeout primitives used by the plugin init path.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Deadline timers must call `unref()` and every Promise.race must clear its
|
|
5
|
+
* timer in `finally`, so timeouts never pin or leak a process handle. Awaited
|
|
6
|
+
* cooperative-yield timers are deliberately ref'ed: unref'ing the only handle
|
|
7
|
+
* can strand their caller before the awaited promise resolves.
|
|
7
8
|
*/
|
|
8
9
|
/**
|
|
9
10
|
* Race a promise against a timeout. The timer is cleared in `finally` so the
|
|
@@ -18,6 +19,9 @@
|
|
|
18
19
|
export declare function withTimeout<T>(promise: Promise<T>, ms: number, timeoutError: Error): Promise<T>;
|
|
19
20
|
/**
|
|
20
21
|
* Yield to the macrotask queue. Works under both Node and Bun runtimes,
|
|
21
|
-
* unlike `setImmediate` which is Node-only.
|
|
22
|
+
* unlike `setImmediate` which is Node-only. The timer intentionally remains
|
|
23
|
+
* ref'ed: callers await this promise, so unref'ing its only handle can strand a
|
|
24
|
+
* direct async caller when no unrelated host handle is active. Detached startup
|
|
25
|
+
* work is made non-pinning at its outer scheduling boundary instead.
|
|
22
26
|
*/
|
|
23
27
|
export declare function yieldToEventLoop(): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "7.126.
|
|
3
|
+
"version": "7.126.3",
|
|
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",
|