oh-my-opencode 3.5.5 → 3.6.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 (88) hide show
  1. package/dist/agents/prometheus/identity-constraints.d.ts +1 -1
  2. package/dist/agents/prometheus/plan-template.d.ts +1 -1
  3. package/dist/agents/prometheus/system-prompt.d.ts +1 -1
  4. package/dist/cli/index.js +103 -21
  5. package/dist/cli/run/types.d.ts +1 -1
  6. package/dist/features/background-agent/constants.d.ts +1 -1
  7. package/dist/features/background-agent/message-dir.d.ts +1 -1
  8. package/dist/features/background-agent/result-handler.d.ts +1 -1
  9. package/dist/features/claude-code-mcp-loader/loader.d.ts +1 -1
  10. package/dist/features/hook-message-injector/constants.d.ts +1 -3
  11. package/dist/features/hook-message-injector/index.d.ts +1 -1
  12. package/dist/features/hook-message-injector/injector.d.ts +51 -3
  13. package/dist/features/tmux-subagent/manager.d.ts +0 -1
  14. package/dist/hooks/agent-usage-reminder/constants.d.ts +0 -1
  15. package/dist/hooks/anthropic-context-window-limit-recovery/client.d.ts +3 -34
  16. package/dist/hooks/anthropic-context-window-limit-recovery/deduplication-recovery.d.ts +4 -1
  17. package/dist/hooks/anthropic-context-window-limit-recovery/empty-content-recovery-sdk.d.ts +11 -0
  18. package/dist/hooks/anthropic-context-window-limit-recovery/message-builder.d.ts +4 -1
  19. package/dist/hooks/anthropic-context-window-limit-recovery/message-storage-directory.d.ts +5 -1
  20. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-deduplication.d.ts +4 -1
  21. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-tool-output-truncation.d.ts +5 -2
  22. package/dist/hooks/anthropic-context-window-limit-recovery/storage-paths.d.ts +2 -2
  23. package/dist/hooks/anthropic-context-window-limit-recovery/storage.d.ts +1 -0
  24. package/dist/hooks/anthropic-context-window-limit-recovery/target-token-truncation.d.ts +4 -1
  25. package/dist/hooks/anthropic-context-window-limit-recovery/tool-result-storage-sdk.d.ts +29 -0
  26. package/dist/hooks/atlas/session-last-agent.d.ts +4 -1
  27. package/dist/hooks/atlas/tool-execute-before.d.ts +2 -0
  28. package/dist/hooks/context-window-monitor.d.ts +1 -1
  29. package/dist/hooks/directory-agents-injector/constants.d.ts +0 -1
  30. package/dist/hooks/directory-readme-injector/constants.d.ts +0 -1
  31. package/dist/hooks/interactive-bash-session/constants.d.ts +0 -1
  32. package/dist/hooks/prometheus-md-only/agent-resolution.d.ts +4 -1
  33. package/dist/hooks/ralph-loop/message-storage-directory.d.ts +1 -1
  34. package/dist/hooks/rules-injector/constants.d.ts +0 -1
  35. package/dist/hooks/session-recovery/constants.d.ts +1 -3
  36. package/dist/hooks/session-recovery/recover-empty-content-message-sdk.d.ts +13 -0
  37. package/dist/hooks/session-recovery/recover-empty-content-message.d.ts +1 -1
  38. package/dist/hooks/session-recovery/recover-thinking-block-order.d.ts +1 -1
  39. package/dist/hooks/session-recovery/recover-thinking-disabled-violation.d.ts +1 -1
  40. package/dist/hooks/session-recovery/storage/empty-text.d.ts +5 -0
  41. package/dist/hooks/session-recovery/storage/message-dir.d.ts +1 -1
  42. package/dist/hooks/session-recovery/storage/messages-reader.d.ts +4 -0
  43. package/dist/hooks/session-recovery/storage/parts-reader.d.ts +4 -0
  44. package/dist/hooks/session-recovery/storage/text-part-injector.d.ts +4 -0
  45. package/dist/hooks/session-recovery/storage/thinking-prepend.d.ts +4 -0
  46. package/dist/hooks/session-recovery/storage/thinking-strip.d.ts +4 -0
  47. package/dist/hooks/session-recovery/storage.d.ts +7 -0
  48. package/dist/hooks/sisyphus-junior-notepad/hook.d.ts +1 -1
  49. package/dist/hooks/todo-continuation-enforcer/constants.d.ts +2 -0
  50. package/dist/hooks/todo-continuation-enforcer/message-directory.d.ts +1 -1
  51. package/dist/hooks/todo-continuation-enforcer/types.d.ts +2 -1
  52. package/dist/index.js +22648 -21699
  53. package/dist/plugin-config.d.ts +1 -1
  54. package/dist/plugin-handlers/agent-key-remapper.d.ts +1 -0
  55. package/dist/shared/agent-display-names.d.ts +5 -0
  56. package/dist/shared/index.d.ts +6 -1
  57. package/dist/shared/model-name-matcher.d.ts +0 -1
  58. package/dist/shared/normalize-sdk-response.d.ts +4 -0
  59. package/dist/shared/opencode-http-api.d.ts +3 -0
  60. package/dist/shared/opencode-storage-detection.d.ts +2 -0
  61. package/dist/shared/opencode-storage-paths.d.ts +4 -0
  62. package/dist/shared/opencode-version.d.ts +5 -0
  63. package/dist/shared/session-utils.d.ts +2 -2
  64. package/dist/tools/background-task/create-background-cancel.d.ts +1 -1
  65. package/dist/tools/background-task/create-background-task.d.ts +2 -2
  66. package/dist/tools/background-task/message-dir.d.ts +1 -1
  67. package/dist/tools/background-task/modules/background-cancel.d.ts +1 -1
  68. package/dist/tools/background-task/modules/utils.d.ts +2 -1
  69. package/dist/tools/call-omo-agent/background-agent-executor.d.ts +2 -1
  70. package/dist/tools/call-omo-agent/background-executor.d.ts +2 -1
  71. package/dist/tools/call-omo-agent/message-dir.d.ts +1 -1
  72. package/dist/tools/call-omo-agent/message-storage-directory.d.ts +1 -1
  73. package/dist/tools/delegate-task/parent-context-resolver.d.ts +2 -1
  74. package/dist/tools/delegate-task/sisyphus-junior-agent.d.ts +1 -1
  75. package/dist/tools/session-manager/constants.d.ts +1 -4
  76. package/dist/tools/session-manager/session-formatter.d.ts +1 -1
  77. package/dist/tools/session-manager/storage.d.ts +5 -2
  78. package/dist/tools/session-manager/types.d.ts +1 -1
  79. package/dist/tools/task/todo-sync.d.ts +2 -2
  80. package/package.json +8 -8
  81. package/dist/tools/task/task-action-create.d.ts +0 -4
  82. package/dist/tools/task/task-action-delete.d.ts +0 -2
  83. package/dist/tools/task/task-action-get.d.ts +0 -2
  84. package/dist/tools/task/task-action-list.d.ts +0 -2
  85. package/dist/tools/task/task-action-update.d.ts +0 -2
  86. package/dist/tools/task/task-id-validator.d.ts +0 -1
  87. package/dist/tools/task/task.d.ts +0 -3
  88. /package/dist/{features/background-agent/message-storage-locator.d.ts → shared/opencode-message-dir.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { type OhMyOpenCodeConfig } from "./config";
2
2
  export declare function parseConfigPartially(rawConfig: Record<string, unknown>): OhMyOpenCodeConfig | null;
3
- export declare function loadConfigFromPath(configPath: string, ctx: unknown): OhMyOpenCodeConfig | null;
3
+ export declare function loadConfigFromPath(configPath: string, _ctx: unknown): OhMyOpenCodeConfig | null;
4
4
  export declare function mergeConfigs(base: OhMyOpenCodeConfig, override: OhMyOpenCodeConfig): OhMyOpenCodeConfig;
5
5
  export declare function loadPluginConfig(directory: string, ctx: unknown): OhMyOpenCodeConfig;
@@ -0,0 +1 @@
1
+ export declare function remapAgentKeysToDisplayNames(agents: Record<string, unknown>): Record<string, unknown>;
@@ -10,3 +10,8 @@ export declare const AGENT_DISPLAY_NAMES: Record<string, string>;
10
10
  * Returns original key if not found.
11
11
  */
12
12
  export declare function getAgentDisplayName(configKey: string): string;
13
+ /**
14
+ * Resolve an agent name (display name or config key) to its lowercase config key.
15
+ * "Atlas (Plan Executor)" → "atlas", "atlas" → "atlas", "unknown" → "unknown"
16
+ */
17
+ export declare function getAgentConfigKey(agentName: string): string;
@@ -18,6 +18,7 @@ export * from "./migration";
18
18
  export * from "./opencode-config-dir";
19
19
  export type { OpenCodeBinaryType, OpenCodeConfigDirOptions, OpenCodeConfigPaths, } from "./opencode-config-dir-types";
20
20
  export * from "./opencode-version";
21
+ export * from "./opencode-storage-detection";
21
22
  export * from "./permission-compat";
22
23
  export * from "./external-plugin-detector";
23
24
  export * from "./zip-extractor";
@@ -30,14 +31,18 @@ export * from "./agent-tool-restrictions";
30
31
  export * from "./model-requirements";
31
32
  export * from "./model-resolver";
32
33
  export { resolveModelPipeline } from "./model-resolution-pipeline";
33
- export type { ModelResolutionRequest, ModelResolutionProvenance, ModelResolutionResult as ModelResolutionPipelineResult, } from "./model-resolution-types";
34
+ export type { ModelResolutionRequest, ModelResolutionProvenance, ModelResolutionResult, } from "./model-resolution-types";
34
35
  export * from "./model-availability";
35
36
  export * from "./connected-providers-cache";
36
37
  export * from "./session-utils";
37
38
  export * from "./tmux";
38
39
  export * from "./model-suggestion-retry";
39
40
  export * from "./opencode-server-auth";
41
+ export * from "./opencode-http-api";
40
42
  export * from "./port-utils";
41
43
  export * from "./git-worktree";
42
44
  export * from "./safe-create-hook";
43
45
  export * from "./truncate-description";
46
+ export * from "./opencode-storage-paths";
47
+ export * from "./opencode-message-dir";
48
+ export * from "./normalize-sdk-response";
@@ -1,2 +1 @@
1
1
  export declare function fuzzyMatchModel(target: string, available: Set<string>, providers?: string[]): string | null;
2
- export declare function isModelAvailable(targetModel: string, availableModels: Set<string>): boolean;
@@ -0,0 +1,4 @@
1
+ export interface NormalizeSDKResponseOptions {
2
+ preferResponseOnMissingData?: boolean;
3
+ }
4
+ export declare function normalizeSDKResponse<TData>(response: unknown, fallback: TData, options?: NormalizeSDKResponseOptions): TData;
@@ -0,0 +1,3 @@
1
+ export declare function getServerBaseUrl(client: unknown): string | null;
2
+ export declare function patchPart(client: unknown, sessionID: string, messageID: string, partID: string, body: Record<string, unknown>): Promise<boolean>;
3
+ export declare function deletePart(client: unknown, sessionID: string, messageID: string, partID: string): Promise<boolean>;
@@ -0,0 +1,2 @@
1
+ export declare function isSqliteBackend(): boolean;
2
+ export declare function resetSqliteBackendCache(): void;
@@ -0,0 +1,4 @@
1
+ export declare const OPENCODE_STORAGE: string;
2
+ export declare const MESSAGE_STORAGE: string;
3
+ export declare const PART_STORAGE: string;
4
+ export declare const SESSION_STORAGE: string;
@@ -11,6 +11,11 @@ export declare const MINIMUM_OPENCODE_VERSION = "1.1.1";
11
11
  * is auto-disabled to prevent duplicate AGENTS.md loading.
12
12
  */
13
13
  export declare const OPENCODE_NATIVE_AGENTS_INJECTION_VERSION = "1.1.37";
14
+ /**
15
+ * OpenCode version that introduced SQLite backend for storage.
16
+ * When this version is detected AND opencode.db exists, SQLite backend is used.
17
+ */
18
+ export declare const OPENCODE_SQLITE_VERSION = "1.1.53";
14
19
  export declare function parseVersion(version: string): number[];
15
20
  export declare function compareVersions(a: string, b: string): -1 | 0 | 1;
16
21
  export declare function getOpenCodeVersion(): string | null;
@@ -1,2 +1,2 @@
1
- export declare function getMessageDir(sessionID: string): string | null;
2
- export declare function isCallerOrchestrator(sessionID?: string): boolean;
1
+ import type { PluginInput } from "@opencode-ai/plugin";
2
+ export declare function isCallerOrchestrator(sessionID?: string, client?: PluginInput["client"]): Promise<boolean>;
@@ -1,4 +1,4 @@
1
1
  import { type ToolDefinition } from "@opencode-ai/plugin";
2
2
  import type { BackgroundManager } from "../../features/background-agent";
3
3
  import type { BackgroundCancelClient } from "./clients";
4
- export declare function createBackgroundCancel(manager: BackgroundManager, client: BackgroundCancelClient): ToolDefinition;
4
+ export declare function createBackgroundCancel(manager: BackgroundManager, _client: BackgroundCancelClient): ToolDefinition;
@@ -1,3 +1,3 @@
1
- import { type ToolDefinition } from "@opencode-ai/plugin";
1
+ import { type PluginInput, type ToolDefinition } from "@opencode-ai/plugin";
2
2
  import type { BackgroundManager } from "../../features/background-agent";
3
- export declare function createBackgroundTask(manager: BackgroundManager): ToolDefinition;
3
+ export declare function createBackgroundTask(manager: BackgroundManager, client: PluginInput["client"]): ToolDefinition;
@@ -1 +1 @@
1
- export declare function getMessageDir(sessionID: string): string | null;
1
+ export { getMessageDir } from "../../shared/opencode-message-dir";
@@ -1,4 +1,4 @@
1
1
  import { type ToolDefinition } from "@opencode-ai/plugin";
2
2
  import type { BackgroundCancelClient } from "../types";
3
3
  import type { BackgroundManager } from "../../../features/background-agent";
4
- export declare function createBackgroundCancel(manager: BackgroundManager, client: BackgroundCancelClient): ToolDefinition;
4
+ export declare function createBackgroundCancel(manager: BackgroundManager, _client: BackgroundCancelClient): ToolDefinition;
@@ -1,4 +1,5 @@
1
- export declare function getMessageDir(sessionID: string): string | null;
1
+ import { getMessageDir } from "../../../shared";
2
+ export { getMessageDir };
2
3
  export declare function formatDuration(start: Date, end?: Date): string;
3
4
  export declare function truncateText(text: string, maxLength: number): string;
4
5
  export declare function delay(ms: number): Promise<void>;
@@ -1,4 +1,5 @@
1
1
  import type { BackgroundManager } from "../../features/background-agent";
2
+ import type { PluginInput } from "@opencode-ai/plugin";
2
3
  import type { CallOmoAgentArgs } from "./types";
3
4
  import type { ToolContextWithMetadata } from "./tool-context-with-metadata";
4
- export declare function executeBackgroundAgent(args: CallOmoAgentArgs, toolContext: ToolContextWithMetadata, manager: BackgroundManager): Promise<string>;
5
+ export declare function executeBackgroundAgent(args: CallOmoAgentArgs, toolContext: ToolContextWithMetadata, manager: BackgroundManager, client: PluginInput["client"]): Promise<string>;
@@ -1,5 +1,6 @@
1
1
  import type { CallOmoAgentArgs } from "./types";
2
2
  import type { BackgroundManager } from "../../features/background-agent";
3
+ import type { PluginInput } from "@opencode-ai/plugin";
3
4
  export declare function executeBackground(args: CallOmoAgentArgs, toolContext: {
4
5
  sessionID: string;
5
6
  messageID: string;
@@ -9,4 +10,4 @@ export declare function executeBackground(args: CallOmoAgentArgs, toolContext: {
9
10
  title?: string;
10
11
  metadata?: Record<string, unknown>;
11
12
  }) => void;
12
- }, manager: BackgroundManager): Promise<string>;
13
+ }, manager: BackgroundManager, client: PluginInput["client"]): Promise<string>;
@@ -1 +1 @@
1
- export declare function getMessageDir(sessionID: string): string | null;
1
+ export { getMessageDir } from "../../shared/opencode-message-dir";
@@ -1 +1 @@
1
- export declare function getMessageDir(sessionID: string): string | null;
1
+ export { getMessageDir } from "../../shared";
@@ -1,3 +1,4 @@
1
1
  import type { ToolContextWithMetadata } from "./types";
2
+ import type { OpencodeClient } from "./types";
2
3
  import type { ParentContext } from "./executor-types";
3
- export declare function resolveParentContext(ctx: ToolContextWithMetadata): ParentContext;
4
+ export declare function resolveParentContext(ctx: ToolContextWithMetadata, client: OpencodeClient): Promise<ParentContext>;
@@ -1 +1 @@
1
- export declare const SISYPHUS_JUNIOR_AGENT = "sisyphus-junior";
1
+ export declare const SISYPHUS_JUNIOR_AGENT: string;
@@ -1,7 +1,4 @@
1
- export declare const OPENCODE_STORAGE: string;
2
- export declare const MESSAGE_STORAGE: string;
3
- export declare const PART_STORAGE: string;
4
- export declare const SESSION_STORAGE: string;
1
+ export { OPENCODE_STORAGE, MESSAGE_STORAGE, PART_STORAGE, SESSION_STORAGE } from "../../shared";
5
2
  export declare const TODO_DIR: string;
6
3
  export declare const TRANSCRIPT_DIR: string;
7
4
  export declare const SESSION_LIST_DESCRIPTION = "List all OpenCode sessions with optional filtering.\n\nReturns a list of available session IDs with metadata including message count, date range, and agents used.\n\nArguments:\n- limit (optional): Maximum number of sessions to return\n- from_date (optional): Filter sessions from this date (ISO 8601 format)\n- to_date (optional): Filter sessions until this date (ISO 8601 format)\n\nExample output:\n| Session ID | Messages | First | Last | Agents |\n|------------|----------|-------|------|--------|\n| ses_abc123 | 45 | 2025-12-20 | 2025-12-24 | build, oracle |\n| ses_def456 | 12 | 2025-12-19 | 2025-12-19 | build |";
@@ -1,7 +1,7 @@
1
1
  import type { SessionInfo, SessionMessage, SearchResult } from "./types";
2
2
  export declare function formatSessionList(sessionIDs: string[]): Promise<string>;
3
3
  export declare function formatSessionMessages(messages: SessionMessage[], includeTodos?: boolean, todos?: Array<{
4
- id: string;
4
+ id?: string;
5
5
  content: string;
6
6
  status: string;
7
7
  }>): string;
@@ -1,11 +1,14 @@
1
+ import type { PluginInput } from "@opencode-ai/plugin";
1
2
  import type { SessionMessage, SessionInfo, TodoItem, SessionMetadata } from "./types";
2
3
  export interface GetMainSessionsOptions {
3
4
  directory?: string;
4
5
  }
6
+ export declare function setStorageClient(client: PluginInput["client"]): void;
7
+ export declare function resetStorageClient(): void;
5
8
  export declare function getMainSessions(options: GetMainSessionsOptions): Promise<SessionMetadata[]>;
6
9
  export declare function getAllSessions(): Promise<string[]>;
7
- export declare function getMessageDir(sessionID: string): string;
8
- export declare function sessionExists(sessionID: string): boolean;
10
+ export { getMessageDir } from "../../shared/opencode-message-dir";
11
+ export declare function sessionExists(sessionID: string): Promise<boolean>;
9
12
  export declare function readSessionMessages(sessionID: string): Promise<SessionMessage[]>;
10
13
  export declare function readSessionTodos(sessionID: string): Promise<TodoItem[]>;
11
14
  export declare function readSessionTranscript(sessionID: string): Promise<number>;
@@ -31,7 +31,7 @@ export interface SessionInfo {
31
31
  transcript_entries?: number;
32
32
  }
33
33
  export interface TodoItem {
34
- id: string;
34
+ id?: string;
35
35
  content: string;
36
36
  status: "pending" | "in_progress" | "completed" | "cancelled";
37
37
  priority?: string;
@@ -1,7 +1,7 @@
1
1
  import type { PluginInput } from "@opencode-ai/plugin";
2
2
  import type { Task } from "../../features/claude-tasks/types.ts";
3
3
  export interface TodoInfo {
4
- id: string;
4
+ id?: string;
5
5
  content: string;
6
6
  status: "pending" | "in_progress" | "completed" | "cancelled";
7
7
  priority?: "low" | "medium" | "high";
@@ -12,5 +12,5 @@ type TodoWriter = (input: {
12
12
  }) => Promise<void>;
13
13
  export declare function syncTaskToTodo(task: Task): TodoInfo | null;
14
14
  export declare function syncTaskTodoUpdate(ctx: PluginInput | undefined, task: Task, sessionID: string, writer?: TodoWriter): Promise<void>;
15
- export declare function syncAllTasksToTodos(ctx: PluginInput, tasks: Task[], sessionID?: string): Promise<void>;
15
+ export declare function syncAllTasksToTodos(ctx: PluginInput, tasks: Task[], sessionID?: string, writer?: TodoWriter): Promise<void>;
16
16
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-opencode",
3
- "version": "3.5.5",
3
+ "version": "3.6.0",
4
4
  "description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -74,13 +74,13 @@
74
74
  "typescript": "^5.7.3"
75
75
  },
76
76
  "optionalDependencies": {
77
- "oh-my-opencode-darwin-arm64": "3.5.5",
78
- "oh-my-opencode-darwin-x64": "3.5.5",
79
- "oh-my-opencode-linux-arm64": "3.5.5",
80
- "oh-my-opencode-linux-arm64-musl": "3.5.5",
81
- "oh-my-opencode-linux-x64": "3.5.5",
82
- "oh-my-opencode-linux-x64-musl": "3.5.5",
83
- "oh-my-opencode-windows-x64": "3.5.5"
77
+ "oh-my-opencode-darwin-arm64": "3.6.0",
78
+ "oh-my-opencode-darwin-x64": "3.6.0",
79
+ "oh-my-opencode-linux-arm64": "3.6.0",
80
+ "oh-my-opencode-linux-arm64-musl": "3.6.0",
81
+ "oh-my-opencode-linux-x64": "3.6.0",
82
+ "oh-my-opencode-linux-x64-musl": "3.6.0",
83
+ "oh-my-opencode-windows-x64": "3.6.0"
84
84
  },
85
85
  "trustedDependencies": [
86
86
  "@ast-grep/cli",
@@ -1,4 +0,0 @@
1
- import type { OhMyOpenCodeConfig } from "../../config/schema";
2
- export declare function handleCreate(args: Record<string, unknown>, config: Partial<OhMyOpenCodeConfig>, context: {
3
- sessionID: string;
4
- }): Promise<string>;
@@ -1,2 +0,0 @@
1
- import type { OhMyOpenCodeConfig } from "../../config/schema";
2
- export declare function handleDelete(args: Record<string, unknown>, config: Partial<OhMyOpenCodeConfig>): Promise<string>;
@@ -1,2 +0,0 @@
1
- import type { OhMyOpenCodeConfig } from "../../config/schema";
2
- export declare function handleGet(args: Record<string, unknown>, config: Partial<OhMyOpenCodeConfig>): Promise<string>;
@@ -1,2 +0,0 @@
1
- import type { OhMyOpenCodeConfig } from "../../config/schema";
2
- export declare function handleList(args: Record<string, unknown>, config: Partial<OhMyOpenCodeConfig>): Promise<string>;
@@ -1,2 +0,0 @@
1
- import type { OhMyOpenCodeConfig } from "../../config/schema";
2
- export declare function handleUpdate(args: Record<string, unknown>, config: Partial<OhMyOpenCodeConfig>): Promise<string>;
@@ -1 +0,0 @@
1
- export declare function parseTaskId(id: string): string | null;
@@ -1,3 +0,0 @@
1
- import { type ToolDefinition } from "@opencode-ai/plugin/tool";
2
- import type { OhMyOpenCodeConfig } from "../../config/schema";
3
- export declare function createTask(config: Partial<OhMyOpenCodeConfig>): ToolDefinition;