oh-my-opencode-slim 0.9.13 → 0.9.15

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 (43) hide show
  1. package/README.md +116 -56
  2. package/dist/agents/orchestrator.d.ts +2 -1
  3. package/dist/background/background-manager.d.ts +9 -1
  4. package/dist/background/multiplexer-session-manager.d.ts +2 -0
  5. package/dist/cli/index.js +49 -50
  6. package/dist/cli/types.d.ts +0 -1
  7. package/dist/config/schema.d.ts +5 -0
  8. package/dist/index.js +1090 -125694
  9. package/dist/multiplexer/factory.d.ts +5 -1
  10. package/dist/multiplexer/tmux/index.d.ts +3 -1
  11. package/dist/multiplexer/types.d.ts +2 -2
  12. package/dist/multiplexer/zellij/index.d.ts +1 -1
  13. package/dist/tools/smartfetch/utils.d.ts +1 -1
  14. package/dist/utils/agent-variant.d.ts +15 -1
  15. package/oh-my-opencode-slim.schema.json +12 -0
  16. package/package.json +5 -3
  17. package/src/skills/simplify/README.md +19 -0
  18. package/src/skills/simplify/SKILL.md +138 -0
  19. package/dist/background/tmux-session-manager.d.ts +0 -63
  20. package/dist/cli/chutes-selection.d.ts +0 -3
  21. package/dist/cli/dynamic-model-selection.d.ts +0 -14
  22. package/dist/cli/external-rankings.d.ts +0 -8
  23. package/dist/cli/model-selection.d.ts +0 -30
  24. package/dist/cli/opencode-models.d.ts +0 -18
  25. package/dist/cli/opencode-selection.d.ts +0 -3
  26. package/dist/cli/precedence-resolver.d.ts +0 -16
  27. package/dist/cli/scoring-v2/engine.d.ts +0 -4
  28. package/dist/cli/scoring-v2/features.d.ts +0 -3
  29. package/dist/cli/scoring-v2/index.d.ts +0 -4
  30. package/dist/cli/scoring-v2/types.d.ts +0 -17
  31. package/dist/cli/scoring-v2/weights.d.ts +0 -2
  32. package/dist/hooks/autopilot/index.d.ts +0 -43
  33. package/dist/hooks/post-read-nudge/index.d.ts +0 -18
  34. package/dist/interview/repository.d.ts +0 -12
  35. package/dist/interview/schemas.d.ts +0 -27
  36. package/dist/tools/grep/cli.d.ts +0 -3
  37. package/dist/tools/grep/constants.d.ts +0 -18
  38. package/dist/tools/grep/downloader.d.ts +0 -3
  39. package/dist/tools/grep/index.d.ts +0 -5
  40. package/dist/tools/grep/tools.d.ts +0 -2
  41. package/dist/tools/grep/types.d.ts +0 -35
  42. package/dist/tools/grep/utils.d.ts +0 -2
  43. package/dist/utils/tmux.d.ts +0 -32
@@ -1,5 +0,0 @@
1
- export { runRg, runRgCount } from './cli';
2
- export { resolveGrepCli, resolveGrepCliWithAutoInstall } from './constants';
3
- export { downloadAndInstallRipgrep, getInstalledRipgrepPath, } from './downloader';
4
- export { grep } from './tools';
5
- export type { CountResult, GrepMatch, GrepOptions, GrepResult } from './types';
@@ -1,2 +0,0 @@
1
- import { type ToolDefinition } from '@opencode-ai/plugin/tool';
2
- export declare const grep: ToolDefinition;
@@ -1,35 +0,0 @@
1
- export interface GrepMatch {
2
- file: string;
3
- line: number;
4
- text: string;
5
- }
6
- export interface GrepResult {
7
- matches: GrepMatch[];
8
- totalMatches: number;
9
- filesSearched: number;
10
- truncated: boolean;
11
- error?: string;
12
- }
13
- export interface CountResult {
14
- file: string;
15
- count: number;
16
- }
17
- export interface GrepOptions {
18
- pattern: string;
19
- paths?: string[];
20
- globs?: string[];
21
- excludeGlobs?: string[];
22
- context?: number;
23
- caseSensitive?: boolean;
24
- wholeWord?: boolean;
25
- fixedStrings?: boolean;
26
- multiline?: boolean;
27
- hidden?: boolean;
28
- noIgnore?: boolean;
29
- fileType?: string[];
30
- maxDepth?: number;
31
- maxFilesize?: string;
32
- maxCount?: number;
33
- maxColumns?: number;
34
- timeout?: number;
35
- }
@@ -1,2 +0,0 @@
1
- import type { GrepResult } from './types';
2
- export declare function formatGrepResult(result: GrepResult): string;
@@ -1,32 +0,0 @@
1
- import type { TmuxConfig } from '../config/schema';
2
- /**
3
- * Reset the server availability cache (useful when server might have started)
4
- */
5
- export declare function resetServerCheck(): void;
6
- /**
7
- * Get cached tmux path, initializing if needed
8
- */
9
- export declare function getTmuxPath(): Promise<string | null>;
10
- /**
11
- * Check if we're running inside tmux
12
- */
13
- export declare function isInsideTmux(): boolean;
14
- export interface SpawnPaneResult {
15
- success: boolean;
16
- paneId?: string;
17
- }
18
- /**
19
- * Spawn a new tmux pane running `opencode attach <serverUrl> --session <sessionId>`
20
- * This connects the new TUI to the existing server so it receives streaming updates.
21
- * After spawning, applies the configured layout to auto-rebalance all panes.
22
- * Returns the pane ID so it can be closed later.
23
- */
24
- export declare function spawnTmuxPane(sessionId: string, description: string, config: TmuxConfig, serverUrl: string): Promise<SpawnPaneResult>;
25
- /**
26
- * Close a tmux pane by its ID and reapply layout to rebalance remaining panes
27
- */
28
- export declare function closeTmuxPane(paneId: string): Promise<boolean>;
29
- /**
30
- * Start background check for tmux availability
31
- */
32
- export declare function startTmuxCheck(): void;