oh-my-opencode 2.5.3 → 2.5.4
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.ja.md +14 -15
- package/README.ko.md +14 -15
- package/README.md +14 -15
- package/README.zh-cn.md +14 -15
- package/dist/cli/index.js +185 -25
- package/dist/cli/run/events.d.ts +4 -0
- package/dist/cli/run/types.d.ts +26 -0
- package/dist/config/schema.d.ts +5 -7
- package/dist/features/background-agent/types.d.ts +8 -0
- package/dist/hooks/anthropic-auto-compact/executor.test.d.ts +1 -0
- package/dist/index.js +347 -294
- package/package.json +1 -1
package/dist/config/schema.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare const OverridableAgentNameSchema: z.ZodEnum<{
|
|
|
18
18
|
"multimodal-looker": "multimodal-looker";
|
|
19
19
|
build: "build";
|
|
20
20
|
plan: "plan";
|
|
21
|
-
"Builder
|
|
21
|
+
"OpenCode-Builder": "OpenCode-Builder";
|
|
22
22
|
"Planner-Sisyphus": "Planner-Sisyphus";
|
|
23
23
|
}>;
|
|
24
24
|
export declare const AgentNameSchema: z.ZodEnum<{
|
|
@@ -242,7 +242,7 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
242
242
|
}>>;
|
|
243
243
|
}, z.core.$strip>>;
|
|
244
244
|
}, z.core.$strip>>;
|
|
245
|
-
"Builder
|
|
245
|
+
"OpenCode-Builder": z.ZodOptional<z.ZodObject<{
|
|
246
246
|
model: z.ZodOptional<z.ZodString>;
|
|
247
247
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
248
248
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
@@ -628,9 +628,8 @@ export declare const ClaudeCodeConfigSchema: z.ZodObject<{
|
|
|
628
628
|
}, z.core.$strip>;
|
|
629
629
|
export declare const SisyphusAgentConfigSchema: z.ZodObject<{
|
|
630
630
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
631
|
-
|
|
631
|
+
default_builder_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
632
632
|
planner_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
633
|
-
replace_build: z.ZodOptional<z.ZodBoolean>;
|
|
634
633
|
replace_plan: z.ZodOptional<z.ZodBoolean>;
|
|
635
634
|
}, z.core.$strip>;
|
|
636
635
|
export declare const ExperimentalConfigSchema: z.ZodObject<{
|
|
@@ -821,7 +820,7 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
821
820
|
}>>;
|
|
822
821
|
}, z.core.$strip>>;
|
|
823
822
|
}, z.core.$strip>>;
|
|
824
|
-
"Builder
|
|
823
|
+
"OpenCode-Builder": z.ZodOptional<z.ZodObject<{
|
|
825
824
|
model: z.ZodOptional<z.ZodString>;
|
|
826
825
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
827
826
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1208,9 +1207,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1208
1207
|
google_auth: z.ZodOptional<z.ZodBoolean>;
|
|
1209
1208
|
sisyphus_agent: z.ZodOptional<z.ZodObject<{
|
|
1210
1209
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1211
|
-
|
|
1210
|
+
default_builder_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1212
1211
|
planner_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1213
|
-
replace_build: z.ZodOptional<z.ZodBoolean>;
|
|
1214
1212
|
replace_plan: z.ZodOptional<z.ZodBoolean>;
|
|
1215
1213
|
}, z.core.$strip>>;
|
|
1216
1214
|
experimental: z.ZodOptional<z.ZodObject<{
|
|
@@ -20,6 +20,10 @@ export interface BackgroundTask {
|
|
|
20
20
|
result?: string;
|
|
21
21
|
error?: string;
|
|
22
22
|
progress?: TaskProgress;
|
|
23
|
+
parentModel?: {
|
|
24
|
+
providerID: string;
|
|
25
|
+
modelID: string;
|
|
26
|
+
};
|
|
23
27
|
}
|
|
24
28
|
export interface LaunchInput {
|
|
25
29
|
description: string;
|
|
@@ -27,4 +31,8 @@ export interface LaunchInput {
|
|
|
27
31
|
agent: string;
|
|
28
32
|
parentSessionID: string;
|
|
29
33
|
parentMessageID: string;
|
|
34
|
+
parentModel?: {
|
|
35
|
+
providerID: string;
|
|
36
|
+
modelID: string;
|
|
37
|
+
};
|
|
30
38
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|