oh-my-opencode 0.3.3 → 0.4.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.
Files changed (52) hide show
  1. package/README.ko.md +162 -37
  2. package/README.md +160 -35
  3. package/dist/auth/antigravity/constants.d.ts +36 -0
  4. package/dist/auth/antigravity/fetch.d.ts +68 -0
  5. package/dist/auth/antigravity/index.d.ts +13 -0
  6. package/dist/auth/antigravity/message-converter.d.ts +54 -0
  7. package/dist/auth/antigravity/oauth.d.ts +85 -0
  8. package/dist/auth/antigravity/plugin.d.ts +54 -0
  9. package/dist/auth/antigravity/project.d.ts +20 -0
  10. package/dist/auth/antigravity/request.d.ts +104 -0
  11. package/dist/auth/antigravity/response.d.ts +137 -0
  12. package/dist/auth/antigravity/thinking.d.ts +234 -0
  13. package/dist/auth/antigravity/thought-signature-store.d.ts +52 -0
  14. package/dist/auth/antigravity/token.d.ts +41 -0
  15. package/dist/auth/antigravity/tools.d.ts +119 -0
  16. package/dist/auth/antigravity/types.d.ts +173 -0
  17. package/dist/config/schema.d.ts +454 -80
  18. package/dist/features/background-agent/index.d.ts +2 -0
  19. package/dist/features/background-agent/manager.d.ts +37 -0
  20. package/dist/features/background-agent/types.d.ts +27 -0
  21. package/dist/google-auth.d.ts +3 -0
  22. package/dist/hooks/anthropic-auto-compact/types.d.ts +11 -0
  23. package/dist/hooks/auto-update-checker/cache.d.ts +1 -0
  24. package/dist/hooks/auto-update-checker/checker.d.ts +6 -0
  25. package/dist/hooks/auto-update-checker/constants.d.ts +8 -0
  26. package/dist/hooks/auto-update-checker/index.d.ts +12 -0
  27. package/dist/hooks/auto-update-checker/types.d.ts +19 -0
  28. package/dist/hooks/background-notification/index.d.ts +12 -0
  29. package/dist/hooks/background-notification/types.d.ts +4 -0
  30. package/dist/hooks/index.d.ts +3 -0
  31. package/dist/hooks/rules-injector/constants.d.ts +6 -0
  32. package/dist/hooks/rules-injector/finder.d.ts +45 -0
  33. package/dist/hooks/rules-injector/index.d.ts +22 -0
  34. package/dist/hooks/rules-injector/matcher.d.ts +21 -0
  35. package/dist/hooks/rules-injector/parser.d.ts +18 -0
  36. package/dist/hooks/rules-injector/storage.d.ts +9 -0
  37. package/dist/hooks/rules-injector/types.d.ts +41 -0
  38. package/dist/hooks/session-recovery/storage.d.ts +1 -0
  39. package/dist/index.js +4320 -1445
  40. package/dist/tools/ast-grep/index.d.ts +4 -4
  41. package/dist/tools/ast-grep/tools.d.ts +4 -4
  42. package/dist/tools/background-task/constants.d.ts +3 -0
  43. package/dist/tools/background-task/index.d.ts +3 -0
  44. package/dist/tools/background-task/tools.d.ts +39 -0
  45. package/dist/tools/background-task/types.d.ts +13 -0
  46. package/dist/tools/call-omo-agent/constants.d.ts +2 -0
  47. package/dist/tools/call-omo-agent/index.d.ts +3 -0
  48. package/dist/tools/call-omo-agent/tools.d.ts +22 -0
  49. package/dist/tools/call-omo-agent/types.d.ts +24 -0
  50. package/dist/tools/index.d.ts +47 -6
  51. package/dist/tools/lsp/tools.d.ts +2 -2
  52. package/package.json +11 -3
@@ -5,6 +5,7 @@ export declare const builtinTools: {
5
5
  args: {
6
6
  pattern: import("zod").ZodString;
7
7
  lang: import("zod").ZodEnum<{
8
+ bash: "bash";
8
9
  typescript: "typescript";
9
10
  csharp: "csharp";
10
11
  rust: "rust";
@@ -23,7 +24,6 @@ export declare const builtinTools: {
23
24
  json: "json";
24
25
  html: "html";
25
26
  css: "css";
26
- bash: "bash";
27
27
  haskell: "haskell";
28
28
  kotlin: "kotlin";
29
29
  nix: "nix";
@@ -37,7 +37,7 @@ export declare const builtinTools: {
37
37
  };
38
38
  execute(args: {
39
39
  pattern: string;
40
- lang: "typescript" | "csharp" | "rust" | "php" | "python" | "javascript" | "go" | "c" | "cpp" | "java" | "ruby" | "lua" | "swift" | "elixir" | "yaml" | "json" | "html" | "css" | "bash" | "haskell" | "kotlin" | "nix" | "scala" | "solidity" | "tsx";
40
+ lang: "bash" | "typescript" | "csharp" | "rust" | "php" | "python" | "javascript" | "go" | "c" | "cpp" | "java" | "ruby" | "lua" | "swift" | "elixir" | "yaml" | "json" | "html" | "css" | "haskell" | "kotlin" | "nix" | "scala" | "solidity" | "tsx";
41
41
  paths?: string[] | undefined;
42
42
  globs?: string[] | undefined;
43
43
  context?: number | undefined;
@@ -49,6 +49,7 @@ export declare const builtinTools: {
49
49
  pattern: import("zod").ZodString;
50
50
  rewrite: import("zod").ZodString;
51
51
  lang: import("zod").ZodEnum<{
52
+ bash: "bash";
52
53
  typescript: "typescript";
53
54
  csharp: "csharp";
54
55
  rust: "rust";
@@ -67,7 +68,6 @@ export declare const builtinTools: {
67
68
  json: "json";
68
69
  html: "html";
69
70
  css: "css";
70
- bash: "bash";
71
71
  haskell: "haskell";
72
72
  kotlin: "kotlin";
73
73
  nix: "nix";
@@ -82,7 +82,7 @@ export declare const builtinTools: {
82
82
  execute(args: {
83
83
  pattern: string;
84
84
  rewrite: string;
85
- lang: "typescript" | "csharp" | "rust" | "php" | "python" | "javascript" | "go" | "c" | "cpp" | "java" | "ruby" | "lua" | "swift" | "elixir" | "yaml" | "json" | "html" | "css" | "bash" | "haskell" | "kotlin" | "nix" | "scala" | "solidity" | "tsx";
85
+ lang: "bash" | "typescript" | "csharp" | "rust" | "php" | "python" | "javascript" | "go" | "c" | "cpp" | "java" | "ruby" | "lua" | "swift" | "elixir" | "yaml" | "json" | "html" | "css" | "haskell" | "kotlin" | "nix" | "scala" | "solidity" | "tsx";
86
86
  paths?: string[] | undefined;
87
87
  globs?: string[] | undefined;
88
88
  dryRun?: boolean | undefined;
@@ -3,6 +3,7 @@ export declare const ast_grep_search: {
3
3
  args: {
4
4
  pattern: import("zod").ZodString;
5
5
  lang: import("zod").ZodEnum<{
6
+ bash: "bash";
6
7
  typescript: "typescript";
7
8
  csharp: "csharp";
8
9
  rust: "rust";
@@ -21,7 +22,6 @@ export declare const ast_grep_search: {
21
22
  json: "json";
22
23
  html: "html";
23
24
  css: "css";
24
- bash: "bash";
25
25
  haskell: "haskell";
26
26
  kotlin: "kotlin";
27
27
  nix: "nix";
@@ -35,7 +35,7 @@ export declare const ast_grep_search: {
35
35
  };
36
36
  execute(args: {
37
37
  pattern: string;
38
- lang: "typescript" | "csharp" | "rust" | "php" | "python" | "javascript" | "go" | "c" | "cpp" | "java" | "ruby" | "lua" | "swift" | "elixir" | "yaml" | "json" | "html" | "css" | "bash" | "haskell" | "kotlin" | "nix" | "scala" | "solidity" | "tsx";
38
+ lang: "bash" | "typescript" | "csharp" | "rust" | "php" | "python" | "javascript" | "go" | "c" | "cpp" | "java" | "ruby" | "lua" | "swift" | "elixir" | "yaml" | "json" | "html" | "css" | "haskell" | "kotlin" | "nix" | "scala" | "solidity" | "tsx";
39
39
  paths?: string[] | undefined;
40
40
  globs?: string[] | undefined;
41
41
  context?: number | undefined;
@@ -47,6 +47,7 @@ export declare const ast_grep_replace: {
47
47
  pattern: import("zod").ZodString;
48
48
  rewrite: import("zod").ZodString;
49
49
  lang: import("zod").ZodEnum<{
50
+ bash: "bash";
50
51
  typescript: "typescript";
51
52
  csharp: "csharp";
52
53
  rust: "rust";
@@ -65,7 +66,6 @@ export declare const ast_grep_replace: {
65
66
  json: "json";
66
67
  html: "html";
67
68
  css: "css";
68
- bash: "bash";
69
69
  haskell: "haskell";
70
70
  kotlin: "kotlin";
71
71
  nix: "nix";
@@ -80,7 +80,7 @@ export declare const ast_grep_replace: {
80
80
  execute(args: {
81
81
  pattern: string;
82
82
  rewrite: string;
83
- lang: "typescript" | "csharp" | "rust" | "php" | "python" | "javascript" | "go" | "c" | "cpp" | "java" | "ruby" | "lua" | "swift" | "elixir" | "yaml" | "json" | "html" | "css" | "bash" | "haskell" | "kotlin" | "nix" | "scala" | "solidity" | "tsx";
83
+ lang: "bash" | "typescript" | "csharp" | "rust" | "php" | "python" | "javascript" | "go" | "c" | "cpp" | "java" | "ruby" | "lua" | "swift" | "elixir" | "yaml" | "json" | "html" | "css" | "haskell" | "kotlin" | "nix" | "scala" | "solidity" | "tsx";
84
84
  paths?: string[] | undefined;
85
85
  globs?: string[] | undefined;
86
86
  dryRun?: boolean | undefined;
@@ -0,0 +1,3 @@
1
+ export declare const BACKGROUND_TASK_DESCRIPTION = "Launch a background agent task that runs asynchronously.\n\nThe task runs in a separate session while you continue with other work. The system will notify you when the task completes.\n\nUse this for:\n- Long-running research tasks\n- Complex analysis that doesn't need immediate results\n- Parallel workloads to maximize throughput\n\nArguments:\n- description: Short task description (shown in status)\n- prompt: Full detailed prompt for the agent\n- agent: Agent type to use (any agent allowed)\n\nReturns immediately with task ID and session info. Use `background_output` to check progress or retrieve results.";
2
+ export declare const BACKGROUND_OUTPUT_DESCRIPTION = "Get output from a background task.\n\nArguments:\n- task_id: Required task ID to get output from\n- block: If true, wait for task completion. If false (default), return current status immediately.\n- timeout: Max wait time in ms when blocking (default: 60000, max: 600000)\n\nReturns:\n- When not blocking: Returns current status with task ID, description, agent, status, duration, and progress info\n- When blocking: Waits for completion, then returns full result\n\nIMPORTANT: The system automatically notifies the main session when background tasks complete.\nYou typically don't need block=true - just use block=false to check status, and the system will notify you when done.\n\nUse this to:\n- Check task progress (block=false) - returns full status info, NOT empty\n- Wait for and retrieve task result (block=true) - only when you explicitly need to wait\n- Set custom timeout for long tasks";
3
+ export declare const BACKGROUND_CANCEL_DESCRIPTION = "Cancel a running background task.\n\nOnly works for tasks with status \"running\". Aborts the background session and marks the task as cancelled.\n\nArguments:\n- taskId: Required task ID to cancel.";
@@ -0,0 +1,3 @@
1
+ export { createBackgroundTask, createBackgroundOutput, createBackgroundCancel, } from "./tools";
2
+ export type * from "./types";
3
+ export * from "./constants";
@@ -0,0 +1,39 @@
1
+ import { type PluginInput } from "@opencode-ai/plugin";
2
+ import type { BackgroundManager } from "../../features/background-agent";
3
+ type OpencodeClient = PluginInput["client"];
4
+ export declare function createBackgroundTask(manager: BackgroundManager): {
5
+ description: string;
6
+ args: {
7
+ description: import("zod").ZodString;
8
+ prompt: import("zod").ZodString;
9
+ agent: import("zod").ZodString;
10
+ };
11
+ execute(args: {
12
+ description: string;
13
+ prompt: string;
14
+ agent: string;
15
+ }, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
16
+ };
17
+ export declare function createBackgroundOutput(manager: BackgroundManager, client: OpencodeClient): {
18
+ description: string;
19
+ args: {
20
+ task_id: import("zod").ZodString;
21
+ block: import("zod").ZodOptional<import("zod").ZodBoolean>;
22
+ timeout: import("zod").ZodOptional<import("zod").ZodNumber>;
23
+ };
24
+ execute(args: {
25
+ task_id: string;
26
+ block?: boolean | undefined;
27
+ timeout?: number | undefined;
28
+ }, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
29
+ };
30
+ export declare function createBackgroundCancel(manager: BackgroundManager, client: OpencodeClient): {
31
+ description: string;
32
+ args: {
33
+ taskId: import("zod").ZodString;
34
+ };
35
+ execute(args: {
36
+ taskId: string;
37
+ }, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
38
+ };
39
+ export {};
@@ -0,0 +1,13 @@
1
+ export interface BackgroundTaskArgs {
2
+ description: string;
3
+ prompt: string;
4
+ agent: string;
5
+ }
6
+ export interface BackgroundOutputArgs {
7
+ task_id: string;
8
+ block?: boolean;
9
+ timeout?: number;
10
+ }
11
+ export interface BackgroundCancelArgs {
12
+ taskId: string;
13
+ }
@@ -0,0 +1,2 @@
1
+ export declare const ALLOWED_AGENTS: readonly ["explore", "librarian"];
2
+ export declare const CALL_OMO_AGENT_DESCRIPTION = "Launch a new agent to handle complex, multi-step tasks autonomously.\n\nThis is a restricted version of the Task tool that only allows spawning explore and librarian agents.\n\nAvailable agent types:\n{agents}\n\nWhen using this tool, you must specify a subagent_type parameter to select which agent type to use.\n\n**IMPORTANT: run_in_background parameter is REQUIRED**\n- `run_in_background=true`: Task runs asynchronously in background. Returns immediately with task_id.\n The system will notify you when the task completes.\n Use `background_output` tool with task_id to check progress (block=false returns full status info).\n- `run_in_background=false`: Task runs synchronously. Waits for completion and returns full result.\n\nUsage notes:\n1. Launch multiple agents concurrently whenever possible, to maximize performance\n2. When the agent is done, it will return a single message back to you\n3. Each agent invocation is stateless unless you provide a session_id\n4. Your prompt should contain a highly detailed task description for the agent to perform autonomously\n5. Clearly tell the agent whether you expect it to write code or just to do research\n6. For long-running research tasks, use run_in_background=true to avoid blocking";
@@ -0,0 +1,3 @@
1
+ export * from "./types";
2
+ export * from "./constants";
3
+ export { createCallOmoAgent } from "./tools";
@@ -0,0 +1,22 @@
1
+ import { type PluginInput } from "@opencode-ai/plugin";
2
+ import type { BackgroundManager } from "../../features/background-agent";
3
+ export declare function createCallOmoAgent(ctx: PluginInput, backgroundManager: BackgroundManager): {
4
+ description: string;
5
+ args: {
6
+ description: import("zod").ZodString;
7
+ prompt: import("zod").ZodString;
8
+ subagent_type: import("zod").ZodEnum<{
9
+ librarian: "librarian";
10
+ explore: "explore";
11
+ }>;
12
+ run_in_background: import("zod").ZodBoolean;
13
+ session_id: import("zod").ZodOptional<import("zod").ZodString>;
14
+ };
15
+ execute(args: {
16
+ description: string;
17
+ prompt: string;
18
+ subagent_type: "librarian" | "explore";
19
+ run_in_background: boolean;
20
+ session_id?: string | undefined;
21
+ }, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
22
+ };
@@ -0,0 +1,24 @@
1
+ import type { ALLOWED_AGENTS } from "./constants";
2
+ export type AllowedAgentType = (typeof ALLOWED_AGENTS)[number];
3
+ export interface CallOmoAgentArgs {
4
+ description: string;
5
+ prompt: string;
6
+ subagent_type: string;
7
+ run_in_background: boolean;
8
+ session_id?: string;
9
+ }
10
+ export interface CallOmoAgentSyncResult {
11
+ title: string;
12
+ metadata: {
13
+ summary?: Array<{
14
+ id: string;
15
+ tool: string;
16
+ state: {
17
+ status: string;
18
+ title?: string;
19
+ };
20
+ }>;
21
+ sessionId: string;
22
+ };
23
+ output: string;
24
+ }
@@ -1,3 +1,44 @@
1
+ import type { PluginInput } from "@opencode-ai/plugin";
2
+ import type { BackgroundManager } from "../features/background-agent";
3
+ type OpencodeClient = PluginInput["client"];
4
+ export { createCallOmoAgent } from "./call-omo-agent";
5
+ export declare function createBackgroundTools(manager: BackgroundManager, client: OpencodeClient): {
6
+ background_task: {
7
+ description: string;
8
+ args: {
9
+ description: import("zod").ZodString;
10
+ prompt: import("zod").ZodString;
11
+ agent: import("zod").ZodString;
12
+ };
13
+ execute(args: {
14
+ description: string;
15
+ prompt: string;
16
+ agent: string;
17
+ }, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
18
+ };
19
+ background_output: {
20
+ description: string;
21
+ args: {
22
+ task_id: import("zod").ZodString;
23
+ block: import("zod").ZodOptional<import("zod").ZodBoolean>;
24
+ timeout: import("zod").ZodOptional<import("zod").ZodNumber>;
25
+ };
26
+ execute(args: {
27
+ task_id: string;
28
+ block?: boolean | undefined;
29
+ timeout?: number | undefined;
30
+ }, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
31
+ };
32
+ background_cancel: {
33
+ description: string;
34
+ args: {
35
+ taskId: import("zod").ZodString;
36
+ };
37
+ execute(args: {
38
+ taskId: string;
39
+ }, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
40
+ };
41
+ };
1
42
  export declare const builtinTools: {
2
43
  lsp_hover: {
3
44
  description: string;
@@ -67,8 +108,8 @@ export declare const builtinTools: {
67
108
  args: {
68
109
  filePath: import("zod").ZodString;
69
110
  severity: import("zod").ZodOptional<import("zod").ZodEnum<{
70
- all: "all";
71
111
  error: "error";
112
+ all: "all";
72
113
  warning: "warning";
73
114
  information: "information";
74
115
  hint: "hint";
@@ -76,7 +117,7 @@ export declare const builtinTools: {
76
117
  };
77
118
  execute(args: {
78
119
  filePath: string;
79
- severity?: "all" | "error" | "warning" | "information" | "hint" | undefined;
120
+ severity?: "error" | "all" | "warning" | "information" | "hint" | undefined;
80
121
  }, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
81
122
  };
82
123
  lsp_servers: {
@@ -156,6 +197,7 @@ export declare const builtinTools: {
156
197
  args: {
157
198
  pattern: import("zod").ZodString;
158
199
  lang: import("zod").ZodEnum<{
200
+ bash: "bash";
159
201
  typescript: "typescript";
160
202
  csharp: "csharp";
161
203
  rust: "rust";
@@ -174,7 +216,6 @@ export declare const builtinTools: {
174
216
  json: "json";
175
217
  html: "html";
176
218
  css: "css";
177
- bash: "bash";
178
219
  haskell: "haskell";
179
220
  kotlin: "kotlin";
180
221
  nix: "nix";
@@ -188,7 +229,7 @@ export declare const builtinTools: {
188
229
  };
189
230
  execute(args: {
190
231
  pattern: string;
191
- lang: "typescript" | "csharp" | "rust" | "php" | "python" | "javascript" | "go" | "c" | "cpp" | "java" | "ruby" | "lua" | "swift" | "elixir" | "yaml" | "json" | "html" | "css" | "bash" | "haskell" | "kotlin" | "nix" | "scala" | "solidity" | "tsx";
232
+ lang: "bash" | "typescript" | "csharp" | "rust" | "php" | "python" | "javascript" | "go" | "c" | "cpp" | "java" | "ruby" | "lua" | "swift" | "elixir" | "yaml" | "json" | "html" | "css" | "haskell" | "kotlin" | "nix" | "scala" | "solidity" | "tsx";
192
233
  paths?: string[] | undefined;
193
234
  globs?: string[] | undefined;
194
235
  context?: number | undefined;
@@ -200,6 +241,7 @@ export declare const builtinTools: {
200
241
  pattern: import("zod").ZodString;
201
242
  rewrite: import("zod").ZodString;
202
243
  lang: import("zod").ZodEnum<{
244
+ bash: "bash";
203
245
  typescript: "typescript";
204
246
  csharp: "csharp";
205
247
  rust: "rust";
@@ -218,7 +260,6 @@ export declare const builtinTools: {
218
260
  json: "json";
219
261
  html: "html";
220
262
  css: "css";
221
- bash: "bash";
222
263
  haskell: "haskell";
223
264
  kotlin: "kotlin";
224
265
  nix: "nix";
@@ -233,7 +274,7 @@ export declare const builtinTools: {
233
274
  execute(args: {
234
275
  pattern: string;
235
276
  rewrite: string;
236
- lang: "typescript" | "csharp" | "rust" | "php" | "python" | "javascript" | "go" | "c" | "cpp" | "java" | "ruby" | "lua" | "swift" | "elixir" | "yaml" | "json" | "html" | "css" | "bash" | "haskell" | "kotlin" | "nix" | "scala" | "solidity" | "tsx";
277
+ lang: "bash" | "typescript" | "csharp" | "rust" | "php" | "python" | "javascript" | "go" | "c" | "cpp" | "java" | "ruby" | "lua" | "swift" | "elixir" | "yaml" | "json" | "html" | "css" | "haskell" | "kotlin" | "nix" | "scala" | "solidity" | "tsx";
237
278
  paths?: string[] | undefined;
238
279
  globs?: string[] | undefined;
239
280
  dryRun?: boolean | undefined;
@@ -66,8 +66,8 @@ export declare const lsp_diagnostics: {
66
66
  args: {
67
67
  filePath: import("zod").ZodString;
68
68
  severity: import("zod").ZodOptional<import("zod").ZodEnum<{
69
- all: "all";
70
69
  error: "error";
70
+ all: "all";
71
71
  warning: "warning";
72
72
  information: "information";
73
73
  hint: "hint";
@@ -75,7 +75,7 @@ export declare const lsp_diagnostics: {
75
75
  };
76
76
  execute(args: {
77
77
  filePath: string;
78
- severity?: "all" | "error" | "warning" | "information" | "hint" | undefined;
78
+ severity?: "error" | "all" | "warning" | "information" | "hint" | undefined;
79
79
  }, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
80
80
  };
81
81
  export declare const lsp_servers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-opencode",
3
- "version": "0.3.3",
3
+ "version": "0.4.0",
4
4
  "description": "OpenCode plugin - custom agents (oracle, librarian) and enhanced features",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,10 +13,14 @@
13
13
  "types": "./dist/index.d.ts",
14
14
  "import": "./dist/index.js"
15
15
  },
16
+ "./google-auth": {
17
+ "types": "./dist/google-auth.d.ts",
18
+ "import": "./dist/google-auth.js"
19
+ },
16
20
  "./schema.json": "./dist/oh-my-opencode.schema.json"
17
21
  },
18
22
  "scripts": {
19
- "build": "bun build src/index.ts --outdir dist --target bun --format esm --external @ast-grep/napi && tsc --emitDeclarationOnly && bun run build:schema",
23
+ "build": "bun build src/index.ts src/google-auth.ts --outdir dist --target bun --format esm --external @ast-grep/napi && tsc --emitDeclarationOnly && bun run build:schema",
20
24
  "build:schema": "bun run script/build-schema.ts",
21
25
  "clean": "rm -rf dist",
22
26
  "prepublishOnly": "bun run clean && bun run build",
@@ -45,11 +49,15 @@
45
49
  "@ast-grep/cli": "^0.40.0",
46
50
  "@ast-grep/napi": "^0.40.0",
47
51
  "@code-yeongyu/comment-checker": "^0.5.0",
48
- "@opencode-ai/plugin": "^1.0.7",
52
+ "@opencode-ai/plugin": "^1.0.150",
53
+ "@openauthjs/openauth": "^0.4.3",
54
+ "hono": "^4.10.4",
55
+ "picomatch": "^4.0.2",
49
56
  "xdg-basedir": "^5.1.0",
50
57
  "zod": "^4.1.8"
51
58
  },
52
59
  "devDependencies": {
60
+ "@types/picomatch": "^3.0.2",
53
61
  "bun-types": "latest",
54
62
  "oh-my-opencode": "^0.1.30",
55
63
  "typescript": "^5.7.3"