opencode-swarm 7.58.1 → 7.59.0
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/dist/agents/agent-output-schema.d.ts +1 -1
- package/dist/cli/index.js +4 -4
- package/dist/config/constants.d.ts +1 -1
- package/dist/config/schema.d.ts +42 -0
- package/dist/index.js +963 -314
- package/dist/memory/schema.d.ts +1 -1
- package/dist/tools/lean-turbo-run-phase.d.ts +2 -1
- package/dist/turbo/lean/index.d.ts +4 -1
- package/dist/turbo/lean/merge-back.d.ts +180 -0
- package/dist/turbo/lean/runner.d.ts +47 -1
- package/dist/turbo/lean/state.d.ts +10 -0
- package/dist/turbo/lean/worktree.d.ts +194 -0
- package/package.json +1 -1
|
@@ -4,10 +4,10 @@ export declare const AgentOutputMemorySchema: z.ZodObject<{
|
|
|
4
4
|
memoryProposals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5
5
|
operation: z.ZodEnum<{
|
|
6
6
|
ignore: "ignore";
|
|
7
|
+
merge: "merge";
|
|
7
8
|
add: "add";
|
|
8
9
|
delete: "delete";
|
|
9
10
|
update: "update";
|
|
10
|
-
merge: "merge";
|
|
11
11
|
supersede: "supersede";
|
|
12
12
|
}>;
|
|
13
13
|
kind: z.ZodOptional<z.ZodEnum<{
|
package/dist/cli/index.js
CHANGED
|
@@ -52,7 +52,7 @@ var package_default;
|
|
|
52
52
|
var init_package = __esm(() => {
|
|
53
53
|
package_default = {
|
|
54
54
|
name: "opencode-swarm",
|
|
55
|
-
version: "7.
|
|
55
|
+
version: "7.59.0",
|
|
56
56
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
57
57
|
main: "dist/index.js",
|
|
58
58
|
types: "dist/index.d.ts",
|
|
@@ -18141,9 +18141,9 @@ var init_schema = __esm(() => {
|
|
|
18141
18141
|
phase_critic: exports_external.boolean().default(true),
|
|
18142
18142
|
integrated_diff_required: exports_external.boolean().default(true),
|
|
18143
18143
|
allow_docs_only_without_reviewer: exports_external.boolean().default(false),
|
|
18144
|
-
worktree_isolation: exports_external.boolean().default(false)
|
|
18145
|
-
|
|
18146
|
-
|
|
18144
|
+
worktree_isolation: exports_external.boolean().default(false),
|
|
18145
|
+
merge_strategy: exports_external.enum(["merge", "rebase", "cherry-pick"]).default("merge").optional(),
|
|
18146
|
+
worktree_dir: exports_external.string().optional()
|
|
18147
18147
|
});
|
|
18148
18148
|
StandardTurboConfigSchema = exports_external.object({
|
|
18149
18149
|
strategy: exports_external.literal("standard"),
|
|
@@ -74,7 +74,7 @@ export declare const FULL_AUTO_BANNER = "## \u26A1 FULL-AUTO MODE ACTIVE\n\nYou
|
|
|
74
74
|
/**
|
|
75
75
|
* Canonical default Lean Turbo configuration.
|
|
76
76
|
*
|
|
77
|
-
* This is the single source of truth for all
|
|
77
|
+
* This is the single source of truth for all LeanTurboConfig fields.
|
|
78
78
|
* Consumers MUST reference this constant instead of hardcoding their own
|
|
79
79
|
* defaults — see v7.4.x config-drift fix (3 of 9 fields disagreed across
|
|
80
80
|
* runner.ts, lean-turbo-plan-lanes.ts, lean-turbo-status.ts, and the
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -835,6 +835,12 @@ export declare const LeanTurboConfigSchema: z.ZodObject<{
|
|
|
835
835
|
integrated_diff_required: z.ZodDefault<z.ZodBoolean>;
|
|
836
836
|
allow_docs_only_without_reviewer: z.ZodDefault<z.ZodBoolean>;
|
|
837
837
|
worktree_isolation: z.ZodDefault<z.ZodBoolean>;
|
|
838
|
+
merge_strategy: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
839
|
+
merge: "merge";
|
|
840
|
+
rebase: "rebase";
|
|
841
|
+
"cherry-pick": "cherry-pick";
|
|
842
|
+
}>>>;
|
|
843
|
+
worktree_dir: z.ZodOptional<z.ZodString>;
|
|
838
844
|
}, z.core.$strip>;
|
|
839
845
|
export type LeanTurboConfig = z.infer<typeof LeanTurboConfigSchema>;
|
|
840
846
|
export declare const StandardTurboConfigSchema: z.ZodObject<{
|
|
@@ -852,6 +858,12 @@ export declare const StandardTurboConfigSchema: z.ZodObject<{
|
|
|
852
858
|
integrated_diff_required: z.ZodDefault<z.ZodBoolean>;
|
|
853
859
|
allow_docs_only_without_reviewer: z.ZodDefault<z.ZodBoolean>;
|
|
854
860
|
worktree_isolation: z.ZodDefault<z.ZodBoolean>;
|
|
861
|
+
merge_strategy: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
862
|
+
merge: "merge";
|
|
863
|
+
rebase: "rebase";
|
|
864
|
+
"cherry-pick": "cherry-pick";
|
|
865
|
+
}>>>;
|
|
866
|
+
worktree_dir: z.ZodOptional<z.ZodString>;
|
|
855
867
|
}, z.core.$strip>>;
|
|
856
868
|
}, z.core.$strip>;
|
|
857
869
|
export declare const LeanTurboStrategyConfigSchema: z.ZodObject<{
|
|
@@ -869,6 +881,12 @@ export declare const LeanTurboStrategyConfigSchema: z.ZodObject<{
|
|
|
869
881
|
integrated_diff_required: z.ZodDefault<z.ZodBoolean>;
|
|
870
882
|
allow_docs_only_without_reviewer: z.ZodDefault<z.ZodBoolean>;
|
|
871
883
|
worktree_isolation: z.ZodDefault<z.ZodBoolean>;
|
|
884
|
+
merge_strategy: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
885
|
+
merge: "merge";
|
|
886
|
+
rebase: "rebase";
|
|
887
|
+
"cherry-pick": "cherry-pick";
|
|
888
|
+
}>>>;
|
|
889
|
+
worktree_dir: z.ZodOptional<z.ZodString>;
|
|
872
890
|
}, z.core.$strip>;
|
|
873
891
|
}, z.core.$strip>;
|
|
874
892
|
export declare const TurboConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -886,6 +904,12 @@ export declare const TurboConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
886
904
|
integrated_diff_required: z.ZodDefault<z.ZodBoolean>;
|
|
887
905
|
allow_docs_only_without_reviewer: z.ZodDefault<z.ZodBoolean>;
|
|
888
906
|
worktree_isolation: z.ZodDefault<z.ZodBoolean>;
|
|
907
|
+
merge_strategy: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
908
|
+
merge: "merge";
|
|
909
|
+
rebase: "rebase";
|
|
910
|
+
"cherry-pick": "cherry-pick";
|
|
911
|
+
}>>>;
|
|
912
|
+
worktree_dir: z.ZodOptional<z.ZodString>;
|
|
889
913
|
}, z.core.$strip>>;
|
|
890
914
|
}, z.core.$strip>, z.ZodObject<{
|
|
891
915
|
strategy: z.ZodLiteral<"lean">;
|
|
@@ -902,6 +926,12 @@ export declare const TurboConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
902
926
|
integrated_diff_required: z.ZodDefault<z.ZodBoolean>;
|
|
903
927
|
allow_docs_only_without_reviewer: z.ZodDefault<z.ZodBoolean>;
|
|
904
928
|
worktree_isolation: z.ZodDefault<z.ZodBoolean>;
|
|
929
|
+
merge_strategy: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
930
|
+
merge: "merge";
|
|
931
|
+
rebase: "rebase";
|
|
932
|
+
"cherry-pick": "cherry-pick";
|
|
933
|
+
}>>>;
|
|
934
|
+
worktree_dir: z.ZodOptional<z.ZodString>;
|
|
905
935
|
}, z.core.$strip>;
|
|
906
936
|
}, z.core.$strip>], "strategy">;
|
|
907
937
|
export type TurboConfig = z.infer<typeof TurboConfigSchema>;
|
|
@@ -1466,6 +1496,12 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
1466
1496
|
integrated_diff_required: z.ZodDefault<z.ZodBoolean>;
|
|
1467
1497
|
allow_docs_only_without_reviewer: z.ZodDefault<z.ZodBoolean>;
|
|
1468
1498
|
worktree_isolation: z.ZodDefault<z.ZodBoolean>;
|
|
1499
|
+
merge_strategy: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1500
|
+
merge: "merge";
|
|
1501
|
+
rebase: "rebase";
|
|
1502
|
+
"cherry-pick": "cherry-pick";
|
|
1503
|
+
}>>>;
|
|
1504
|
+
worktree_dir: z.ZodOptional<z.ZodString>;
|
|
1469
1505
|
}, z.core.$strip>>;
|
|
1470
1506
|
}, z.core.$strip>, z.ZodObject<{
|
|
1471
1507
|
strategy: z.ZodLiteral<"lean">;
|
|
@@ -1482,6 +1518,12 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
1482
1518
|
integrated_diff_required: z.ZodDefault<z.ZodBoolean>;
|
|
1483
1519
|
allow_docs_only_without_reviewer: z.ZodDefault<z.ZodBoolean>;
|
|
1484
1520
|
worktree_isolation: z.ZodDefault<z.ZodBoolean>;
|
|
1521
|
+
merge_strategy: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1522
|
+
merge: "merge";
|
|
1523
|
+
rebase: "rebase";
|
|
1524
|
+
"cherry-pick": "cherry-pick";
|
|
1525
|
+
}>>>;
|
|
1526
|
+
worktree_dir: z.ZodOptional<z.ZodString>;
|
|
1485
1527
|
}, z.core.$strip>;
|
|
1486
1528
|
}, z.core.$strip>], "strategy">>;
|
|
1487
1529
|
turbo_mode: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|