oh-my-opencode-slim 2.0.0-beta.0 → 2.0.0-beta.3
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 +2 -2
- package/dist/cli/index.js +6 -0
- package/dist/config/constants.d.ts +1 -1
- package/dist/hooks/deepwork/index.d.ts +13 -0
- package/dist/hooks/{session-goal → goal}/index.d.ts +1 -1
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/phase-reminder/index.d.ts +1 -1
- package/dist/index.js +517 -918
- package/dist/tools/index.d.ts +0 -2
- package/dist/tui.js +7 -3
- package/package.json +3 -2
- package/src/skills/codemap.md +3 -2
- package/src/skills/deepwork/SKILL.md +92 -0
- package/dist/agents/council-master.d.ts +0 -2
- package/dist/background/background-manager.d.ts +0 -203
- package/dist/background/index.d.ts +0 -3
- package/dist/background/multiplexer-session-manager.d.ts +0 -70
- package/dist/background/subagent-depth.d.ts +0 -35
- package/dist/cli/divoom.d.ts +0 -23
- package/dist/goal/index.d.ts +0 -3
- package/dist/goal/manager.d.ts +0 -41
- package/dist/goal/prompts.d.ts +0 -4
- package/dist/goal/store.d.ts +0 -15
- package/dist/goal/types.d.ts +0 -28
- package/dist/integrations/divoom/index.d.ts +0 -3
- package/dist/integrations/divoom/status-manager.d.ts +0 -31
- package/dist/integrations/divoom/swift-helper-source.d.ts +0 -1
- package/dist/integrations/divoom/swift-transport.d.ts +0 -26
- package/dist/integrations/divoom/types.d.ts +0 -41
- package/dist/tools/background.d.ts +0 -13
- package/dist/tools/fork/command.d.ts +0 -28
- package/dist/tools/fork/files.d.ts +0 -33
- package/dist/tools/fork/index.d.ts +0 -10
- package/dist/tools/fork/state.d.ts +0 -7
- package/dist/tools/fork/tools.d.ts +0 -23
- package/dist/tools/fork/vendor.d.ts +0 -28
- package/dist/tools/handoff/command.d.ts +0 -29
- package/dist/tools/handoff/files.d.ts +0 -33
- package/dist/tools/handoff/index.d.ts +0 -10
- package/dist/tools/handoff/state.d.ts +0 -7
- package/dist/tools/handoff/tools.d.ts +0 -23
- package/dist/tools/handoff/vendor.d.ts +0 -28
- package/dist/tools/lsp/client.d.ts +0 -81
- package/dist/tools/lsp/config-store.d.ts +0 -29
- package/dist/tools/lsp/config.d.ts +0 -5
- package/dist/tools/lsp/constants.d.ts +0 -24
- package/dist/tools/lsp/index.d.ts +0 -4
- package/dist/tools/lsp/tools.d.ts +0 -5
- package/dist/tools/lsp/types.d.ts +0 -45
- package/dist/tools/lsp/utils.d.ts +0 -34
- package/dist/tools/subtask/command.d.ts +0 -30
- package/dist/tools/subtask/files.d.ts +0 -34
- package/dist/tools/subtask/index.d.ts +0 -11
- package/dist/tools/subtask/state.d.ts +0 -7
- package/dist/tools/subtask/tools.d.ts +0 -23
- package/dist/tools/subtask/vendor.d.ts +0 -27
- package/dist/utils/tmux-debug-log.d.ts +0 -2
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tool definitions for subtask functionality.
|
|
3
|
-
*
|
|
4
|
-
* Factory functions that create tool definitions with injected dependencies:
|
|
5
|
-
* - createSubtaskTool: Create a new session with subtask prompt
|
|
6
|
-
* - createReadSessionTool: Read conversation transcript from a session
|
|
7
|
-
*/
|
|
8
|
-
import type { PluginInput, ToolDefinition } from '@opencode-ai/plugin';
|
|
9
|
-
import type { SubagentDepthTracker } from '../../utils/subagent-depth';
|
|
10
|
-
import type { SubtaskState } from './state';
|
|
11
|
-
export type OpencodeClient = PluginInput['client'];
|
|
12
|
-
/**
|
|
13
|
-
* Create the subtask tool.
|
|
14
|
-
*
|
|
15
|
-
* Takes the OpenCode client as a dependency for TUI and session operations.
|
|
16
|
-
*/
|
|
17
|
-
export declare function createSubtaskTool(ctx: PluginInput, state: SubtaskState, depthTracker?: SubagentDepthTracker): ToolDefinition;
|
|
18
|
-
/**
|
|
19
|
-
* Create the read_session tool.
|
|
20
|
-
*
|
|
21
|
-
* Takes the OpenCode client as a dependency for session.messages() calls.
|
|
22
|
-
*/
|
|
23
|
-
export declare function createReadSessionTool(client: OpencodeClient, state: SubtaskState): ToolDefinition;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Vendored read-format helpers from OpenCode.
|
|
3
|
-
*
|
|
4
|
-
* Source: https://github.com/sst/opencode
|
|
5
|
-
* File: packages/opencode/src/tool/read.ts
|
|
6
|
-
*
|
|
7
|
-
* These functions and constants are copied to ensure synthetic file parts
|
|
8
|
-
* match OpenCode's Read tool output exactly.
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* Constants from OpenCode's ReadTool
|
|
12
|
-
*/
|
|
13
|
-
export declare const DEFAULT_READ_LIMIT = 2000;
|
|
14
|
-
export declare const MAX_LINE_LENGTH = 2000;
|
|
15
|
-
export declare const MAX_BYTES: number;
|
|
16
|
-
/**
|
|
17
|
-
* Check if a file is binary (copied from OpenCode's ReadTool)
|
|
18
|
-
*/
|
|
19
|
-
export declare function isBinaryFile(filepath: string): Promise<boolean>;
|
|
20
|
-
/**
|
|
21
|
-
* Format file content matching OpenCode's Read tool output format.
|
|
22
|
-
*
|
|
23
|
-
* @param _filepath - Absolute path to the file (used as `<path>` in the output)
|
|
24
|
-
* @param content - File content as string
|
|
25
|
-
* @returns Formatted output with line numbers in <file> tags
|
|
26
|
-
*/
|
|
27
|
-
export declare function formatFileContent(_filepath: string, content: string): string;
|