oh-my-opencode-slim 1.1.1 → 1.1.2

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 (61) hide show
  1. package/README.ja-JP.md +638 -0
  2. package/README.ko-KR.md +634 -0
  3. package/README.md +44 -13
  4. package/README.zh-CN.md +627 -0
  5. package/dist/cli/background-subagents.d.ts +13 -0
  6. package/dist/cli/index.js +65 -92
  7. package/dist/cli/skills.d.ts +2 -30
  8. package/dist/cli/types.d.ts +0 -1
  9. package/dist/config/fallback-chains.d.ts +1 -0
  10. package/dist/config/schema.d.ts +7 -0
  11. package/dist/hooks/auto-update-checker/checker.d.ts +7 -1
  12. package/dist/hooks/auto-update-checker/constants.d.ts +1 -0
  13. package/dist/hooks/auto-update-checker/types.d.ts +10 -0
  14. package/dist/hooks/deepwork/index.d.ts +13 -0
  15. package/dist/index.js +300 -121
  16. package/dist/tools/ast-grep/tools.d.ts +1 -1
  17. package/dist/tools/cancel-task.d.ts +16 -0
  18. package/dist/tools/preset-manager.d.ts +6 -7
  19. package/dist/tools/subtask/tools.d.ts +6 -1
  20. package/dist/tui.js +17 -62
  21. package/dist/utils/background-job-board.d.ts +90 -0
  22. package/oh-my-opencode-slim.schema.json +11 -0
  23. package/package.json +6 -3
  24. package/dist/agents/council-master.d.ts +0 -2
  25. package/dist/background/background-manager.d.ts +0 -203
  26. package/dist/background/index.d.ts +0 -3
  27. package/dist/background/multiplexer-session-manager.d.ts +0 -70
  28. package/dist/background/subagent-depth.d.ts +0 -35
  29. package/dist/cli/divoom.d.ts +0 -23
  30. package/dist/goal/index.d.ts +0 -3
  31. package/dist/goal/manager.d.ts +0 -41
  32. package/dist/goal/prompts.d.ts +0 -4
  33. package/dist/goal/store.d.ts +0 -15
  34. package/dist/goal/types.d.ts +0 -28
  35. package/dist/integrations/divoom/index.d.ts +0 -3
  36. package/dist/integrations/divoom/status-manager.d.ts +0 -31
  37. package/dist/integrations/divoom/swift-helper-source.d.ts +0 -1
  38. package/dist/integrations/divoom/swift-transport.d.ts +0 -26
  39. package/dist/integrations/divoom/types.d.ts +0 -41
  40. package/dist/tools/background.d.ts +0 -13
  41. package/dist/tools/fork/command.d.ts +0 -28
  42. package/dist/tools/fork/files.d.ts +0 -33
  43. package/dist/tools/fork/index.d.ts +0 -10
  44. package/dist/tools/fork/state.d.ts +0 -7
  45. package/dist/tools/fork/tools.d.ts +0 -23
  46. package/dist/tools/fork/vendor.d.ts +0 -28
  47. package/dist/tools/handoff/command.d.ts +0 -29
  48. package/dist/tools/handoff/files.d.ts +0 -33
  49. package/dist/tools/handoff/index.d.ts +0 -10
  50. package/dist/tools/handoff/state.d.ts +0 -7
  51. package/dist/tools/handoff/tools.d.ts +0 -23
  52. package/dist/tools/handoff/vendor.d.ts +0 -28
  53. package/dist/tools/lsp/client.d.ts +0 -81
  54. package/dist/tools/lsp/config-store.d.ts +0 -29
  55. package/dist/tools/lsp/config.d.ts +0 -5
  56. package/dist/tools/lsp/constants.d.ts +0 -24
  57. package/dist/tools/lsp/index.d.ts +0 -4
  58. package/dist/tools/lsp/tools.d.ts +0 -5
  59. package/dist/tools/lsp/types.d.ts +0 -45
  60. package/dist/tools/lsp/utils.d.ts +0 -34
  61. package/dist/utils/tmux-debug-log.d.ts +0 -2
@@ -1,45 +0,0 @@
1
- import type { CreateFile, DeleteFile, Diagnostic, DocumentSymbol, Location, LocationLink, Position, Range, RenameFile, SymbolInformation as SymbolInfo, TextDocumentEdit, TextDocumentIdentifier, TextEdit, VersionedTextDocumentIdentifier, WorkspaceEdit } from 'vscode-languageserver-protocol';
2
- /**
3
- * Root function type - mirrors OpenCode core's RootFunction.
4
- * Returns the project root directory for a given file, or undefined if not applicable.
5
- */
6
- export type RootFunction = (file: string) => string | undefined;
7
- export interface LSPServerConfig {
8
- id: string;
9
- command: string[];
10
- extensions: string[];
11
- root?: RootFunction;
12
- disabled?: boolean;
13
- env?: Record<string, string>;
14
- initialization?: Record<string, unknown>;
15
- }
16
- export interface ResolvedServer {
17
- id: string;
18
- command: string[];
19
- extensions: string[];
20
- root?: RootFunction;
21
- env?: Record<string, string>;
22
- initialization?: Record<string, unknown>;
23
- }
24
- export type ServerLookupResult = {
25
- status: 'found';
26
- server: ResolvedServer;
27
- } | {
28
- status: 'not_configured';
29
- extension: string;
30
- } | {
31
- status: 'not_installed';
32
- server: ResolvedServer;
33
- installHint: string;
34
- };
35
- export type { CreateFile, DeleteFile, Diagnostic, DocumentSymbol, Location, LocationLink, Position, Range, RenameFile, SymbolInfo, TextDocumentEdit, TextDocumentIdentifier, TextEdit, VersionedTextDocumentIdentifier, WorkspaceEdit, };
36
- export interface DocumentDiagnosticReportFull {
37
- kind: 'full';
38
- items: Diagnostic[];
39
- resultId?: string;
40
- }
41
- export interface DocumentDiagnosticReportUnchanged {
42
- kind: 'unchanged';
43
- resultId?: string;
44
- }
45
- export type DocumentDiagnosticReport = DocumentDiagnosticReportFull | DocumentDiagnosticReportUnchanged;
@@ -1,34 +0,0 @@
1
- import type { LSPClient } from './client';
2
- import type { Diagnostic, Location, LocationLink, ResolvedServer, ServerLookupResult, WorkspaceEdit } from './types';
3
- /**
4
- * Find the project root for a specific LSP server using its root function.
5
- * Mirrors OpenCode core's RootFunction approach.
6
- *
7
- * @param filePath - The file to find the root for
8
- * @param server - The LSP server config with root function
9
- * @returns The project root directory, or file's directory if no root function
10
- */
11
- export declare function findServerProjectRoot(filePath: string, server: ResolvedServer): string;
12
- /**
13
- * Legacy function for backward compatibility.
14
- * @deprecated Use findServerProjectRoot with server-specific patterns instead.
15
- */
16
- export declare function findWorkspaceRoot(filePath: string): string;
17
- export declare function uriToPath(uri: string): string;
18
- export declare function formatServerLookupError(result: Exclude<ServerLookupResult, {
19
- status: 'found';
20
- }>): string;
21
- export declare function withLspClient<T>(filePath: string, fn: (client: LSPClient) => Promise<T>): Promise<T>;
22
- export declare function formatLocation(loc: Location | LocationLink): string;
23
- export declare function formatSymbolKind(kind: number): string;
24
- export declare function formatSeverity(severity: number | undefined): string;
25
- export declare function formatDiagnostic(diag: Diagnostic): string;
26
- export declare function filterDiagnosticsBySeverity(diagnostics: Diagnostic[], severityFilter?: 'error' | 'warning' | 'information' | 'hint' | 'all'): Diagnostic[];
27
- export interface ApplyResult {
28
- success: boolean;
29
- filesModified: string[];
30
- totalEdits: number;
31
- errors: string[];
32
- }
33
- export declare function applyWorkspaceEdit(edit: WorkspaceEdit | null): ApplyResult;
34
- export declare function formatApplyResult(result: ApplyResult): string;
@@ -1,2 +0,0 @@
1
- export declare function logTmuxDebug(event: string, data?: unknown): void;
2
- export declare function getTmuxDebugLogPath(): string;