opencode-swarm 6.86.7 → 6.86.9
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/README.md +28 -0
- package/dist/cli/index.js +430 -234
- package/dist/config/cache-paths.d.ts +11 -0
- package/dist/config/schema.d.ts +1 -0
- package/dist/db/global-db.d.ts +1 -1
- package/dist/db/project-db.d.ts +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.js +4976 -4772
- package/dist/services/diagnose-service.d.ts +1 -1
- package/dist/services/version-check.d.ts +28 -0
- package/package.json +2 -2
- package/dist/tools/check-gate-status.prefix.test.d.ts +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The platform config directory used by this plugin.
|
|
3
|
+
* Mirrors CONFIG_DIR in src/cli/index.ts.
|
|
4
|
+
*/
|
|
5
|
+
export declare function getPluginConfigDir(): string;
|
|
6
|
+
/**
|
|
7
|
+
* All known locations where OpenCode may cache the opencode-swarm plugin.
|
|
8
|
+
* Order: newest/canonical first so status reporting shows the most relevant
|
|
9
|
+
* path at the top.
|
|
10
|
+
*/
|
|
11
|
+
export declare function getPluginCachePaths(): readonly string[];
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -1048,6 +1048,7 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
1048
1048
|
}, z.core.$strip>>;
|
|
1049
1049
|
turbo_mode: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1050
1050
|
quiet: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1051
|
+
version_check: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1051
1052
|
full_auto: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
1052
1053
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1053
1054
|
critic_model: z.ZodOptional<z.ZodString>;
|
package/dist/db/global-db.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* rules and agent prompt sections. Per-project QA gate profiles live in the
|
|
6
6
|
* project DB (see `./project-db.ts`), not here.
|
|
7
7
|
*/
|
|
8
|
-
import { Database } from 'bun:sqlite';
|
|
8
|
+
import type { Database } from 'bun:sqlite';
|
|
9
9
|
/**
|
|
10
10
|
* Run all pending migrations on the provided database.
|
|
11
11
|
* Idempotent: existing migrations are not re-applied.
|
package/dist/db/project-db.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* constraints and QA gate profiles. One cached instance per normalized
|
|
6
6
|
* directory path.
|
|
7
7
|
*/
|
|
8
|
-
import { Database } from 'bun:sqlite';
|
|
8
|
+
import type { Database } from 'bun:sqlite';
|
|
9
9
|
/**
|
|
10
10
|
* Run all pending migrations on the provided database.
|
|
11
11
|
* Idempotent: existing migrations are not re-applied.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Plugin } from '@opencode-ai/plugin';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
declare const _default: {
|
|
3
|
+
id: "opencode-swarm";
|
|
4
|
+
server: Plugin;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
6
7
|
export type { AgentDefinition } from './agents';
|
|
7
8
|
export type { AgentName, AutomationCapabilities, AutomationConfig, AutomationMode, PipelineAgentName, PluginConfig, QAAgentName, } from './config';
|