opencode-swarm 7.50.4 → 7.51.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.
@@ -91,6 +91,7 @@ export type TestScope = 'all' | 'convention' | 'graph' | 'impact';
91
91
  export interface BuildTestCommandOpts {
92
92
  scope?: TestScope;
93
93
  coverage?: boolean;
94
+ bail?: boolean;
94
95
  }
95
96
  /**
96
97
  * Selected web/UI framework for a project (PROJECT_FRAMEWORK template
@@ -0,0 +1,21 @@
1
+ import type { tool } from '@opencode-ai/plugin';
2
+ export interface BlameLine {
3
+ line: number;
4
+ sha: string;
5
+ author: string;
6
+ date: string;
7
+ summary: string;
8
+ content: string;
9
+ }
10
+ export interface GitBlameResult {
11
+ file: string;
12
+ lineCount: number;
13
+ lines: BlameLine[];
14
+ }
15
+ export interface GitBlameError {
16
+ error: string;
17
+ file: string;
18
+ lineCount: 0;
19
+ lines: [];
20
+ }
21
+ export declare const git_blame: ReturnType<typeof tool>;
@@ -19,6 +19,7 @@ export { evidence_check } from './evidence-check';
19
19
  export { extract_code_blocks } from './file-extractor';
20
20
  export { get_approved_plan } from './get-approved-plan';
21
21
  export { get_qa_gate_profile } from './get-qa-gate-profile';
22
+ export { git_blame } from './git-blame';
22
23
  export { fetchGitingest, type GitingestArgs, gitingest } from './gitingest';
23
24
  export { imports } from './imports';
24
25
  export { knowledge_ack } from './knowledge-ack';
@@ -53,6 +53,7 @@ export declare const TOOL_MANIFEST: {
53
53
  mutation_test: () => ToolDefinition;
54
54
  generate_mutants: () => ToolDefinition;
55
55
  detect_domains: () => ToolDefinition;
56
+ git_blame: () => ToolDefinition;
56
57
  gitingest: () => ToolDefinition;
57
58
  retrieve_summary: () => ToolDefinition;
58
59
  extract_code_blocks: () => ToolDefinition;
@@ -33,5 +33,6 @@ export interface ChangeDescription {
33
33
  export interface SuggestPatchArgs {
34
34
  targetFiles: string[];
35
35
  changes: ChangeDescription[];
36
+ format?: 'json' | 'unified';
36
37
  }
37
38
  export declare const suggestPatch: ToolDefinition;
@@ -25,6 +25,7 @@ export interface TestRunnerArgs {
25
25
  coverage?: boolean;
26
26
  timeout_ms?: number;
27
27
  allow_full_suite?: boolean;
28
+ bail?: boolean;
28
29
  }
29
30
  export type RegressionOutcome = 'pass' | 'skip' | 'regression' | 'scope_exceeded' | 'error';
30
31
  export interface TestTotals {
@@ -83,7 +84,7 @@ export declare function detectTestFrameworkViaDispatch(cwd: string): Promise<Tes
83
84
  * Returns null on framework=`none` or when dispatch fails — callers (the
84
85
  * test-runner) then surface "no test command available".
85
86
  */
86
- export declare function buildTestCommandViaDispatch(framework: TestFramework, scope: 'all' | 'convention' | 'graph' | 'impact', files: string[], coverage: boolean, baseDir: string): Promise<string[] | null>;
87
+ export declare function buildTestCommandViaDispatch(framework: TestFramework, scope: 'all' | 'convention' | 'graph' | 'impact', files: string[], coverage: boolean, baseDir: string, bail: boolean): Promise<string[] | null>;
87
88
  /**
88
89
  * Parse test output via the LanguageBackend dispatch path. Calls
89
90
  * `backend.parseTestOutput` for the directory's resolved backend and
@@ -127,7 +128,7 @@ export declare function isLanguageSpecificTestFile(basename: string): boolean;
127
128
  * Exported for unit tests.
128
129
  */
129
130
  export declare function getTestFilesFromConvention(sourceFiles: string[], workingDir?: string): string[];
130
- export declare function runTests(framework: TestFramework, scope: 'all' | 'convention' | 'graph' | 'impact', files: string[], coverage: boolean, timeout_ms: number, cwd: string): Promise<TestResult>;
131
+ export declare function runTests(framework: TestFramework, scope: 'all' | 'convention' | 'graph' | 'impact', files: string[], coverage: boolean, timeout_ms: number, cwd: string, bail: boolean): Promise<TestResult>;
131
132
  declare function selectHistoryForAnalysis(history: ReturnType<typeof getAllHistory>): TestRunRecord[];
132
133
  export declare const test_runner: ReturnType<typeof tool>;
133
134
  export declare const _internals: {
@@ -143,6 +143,10 @@ export declare const TOOL_METADATA: {
143
143
  description: string;
144
144
  agents: ("docs" | "explorer" | "sme" | "critic" | "critic_oversight" | "architect" | "docs_design" | "critic_sounding_board" | "critic_drift_verifier" | "critic_hallucination_verifier")[];
145
145
  };
146
+ git_blame: {
147
+ description: string;
148
+ agents: ("reviewer" | "explorer" | "architect")[];
149
+ };
146
150
  gitingest: {
147
151
  description: string;
148
152
  agents: ("docs" | "explorer" | "architect")[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.50.4",
3
+ "version": "7.51.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",