oh-my-opencode-slim 2.0.0-beta.1 → 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.
Files changed (55) hide show
  1. package/README.md +2 -2
  2. package/dist/cli/index.js +6 -0
  3. package/dist/hooks/deepwork/index.d.ts +13 -0
  4. package/dist/hooks/{session-goal → goal}/index.d.ts +1 -1
  5. package/dist/hooks/index.d.ts +2 -1
  6. package/dist/index.js +497 -923
  7. package/dist/tools/index.d.ts +0 -2
  8. package/dist/tui.js +6 -0
  9. package/package.json +3 -2
  10. package/src/skills/codemap.md +3 -2
  11. package/src/skills/deepwork/SKILL.md +92 -0
  12. package/dist/agents/council-master.d.ts +0 -2
  13. package/dist/background/background-manager.d.ts +0 -203
  14. package/dist/background/index.d.ts +0 -3
  15. package/dist/background/multiplexer-session-manager.d.ts +0 -70
  16. package/dist/background/subagent-depth.d.ts +0 -35
  17. package/dist/cli/divoom.d.ts +0 -23
  18. package/dist/goal/index.d.ts +0 -3
  19. package/dist/goal/manager.d.ts +0 -41
  20. package/dist/goal/prompts.d.ts +0 -4
  21. package/dist/goal/store.d.ts +0 -15
  22. package/dist/goal/types.d.ts +0 -28
  23. package/dist/integrations/divoom/index.d.ts +0 -3
  24. package/dist/integrations/divoom/status-manager.d.ts +0 -31
  25. package/dist/integrations/divoom/swift-helper-source.d.ts +0 -1
  26. package/dist/integrations/divoom/swift-transport.d.ts +0 -26
  27. package/dist/integrations/divoom/types.d.ts +0 -41
  28. package/dist/tools/background.d.ts +0 -13
  29. package/dist/tools/fork/command.d.ts +0 -28
  30. package/dist/tools/fork/files.d.ts +0 -33
  31. package/dist/tools/fork/index.d.ts +0 -10
  32. package/dist/tools/fork/state.d.ts +0 -7
  33. package/dist/tools/fork/tools.d.ts +0 -23
  34. package/dist/tools/fork/vendor.d.ts +0 -28
  35. package/dist/tools/handoff/command.d.ts +0 -29
  36. package/dist/tools/handoff/files.d.ts +0 -33
  37. package/dist/tools/handoff/index.d.ts +0 -10
  38. package/dist/tools/handoff/state.d.ts +0 -7
  39. package/dist/tools/handoff/tools.d.ts +0 -23
  40. package/dist/tools/handoff/vendor.d.ts +0 -28
  41. package/dist/tools/lsp/client.d.ts +0 -81
  42. package/dist/tools/lsp/config-store.d.ts +0 -29
  43. package/dist/tools/lsp/config.d.ts +0 -5
  44. package/dist/tools/lsp/constants.d.ts +0 -24
  45. package/dist/tools/lsp/index.d.ts +0 -4
  46. package/dist/tools/lsp/tools.d.ts +0 -5
  47. package/dist/tools/lsp/types.d.ts +0 -45
  48. package/dist/tools/lsp/utils.d.ts +0 -34
  49. package/dist/tools/subtask/command.d.ts +0 -30
  50. package/dist/tools/subtask/files.d.ts +0 -34
  51. package/dist/tools/subtask/index.d.ts +0 -11
  52. package/dist/tools/subtask/state.d.ts +0 -7
  53. package/dist/tools/subtask/tools.d.ts +0 -23
  54. package/dist/tools/subtask/vendor.d.ts +0 -27
  55. package/dist/utils/tmux-debug-log.d.ts +0 -2
package/README.md CHANGED
@@ -499,10 +499,10 @@ Use this section as a map: start with installation, then jump to features, confi
499
499
  | **[V2 Background Orchestration](docs/v2-background-orchestration.md)** | Scheduler-first orchestrator model built around native background subagents |
500
500
  | **[Multiplexer Integration](docs/multiplexer-integration.md)** | Watch agents work live in Tmux or Zellij panes |
501
501
  | **[Session Management](docs/session-management.md)** | Reuse recent child-agent sessions with short aliases instead of starting over |
502
- | **[Session Goal](docs/session-goal.md)** | Pin a session objective with `/goal` so todos, delegation, and verification stay aligned |
502
+ | **[Goal](docs/goal.md)** | Pin an objective with `/goal` so todos, delegation, and verification stay aligned |
503
503
  | **[Todo Continuation](docs/todo-continuation.md)** | Auto-continue orchestrator sessions with cooldowns and safety checks |
504
504
  | **[Preset Switching](docs/preset-switching.md)** | Switch agent model presets at runtime with `/preset` |
505
- | **[Subtask](docs/subtask.md)** | Run a bounded child worker with `/subtask` and return a structured summary to the main session |
505
+
506
506
  | **[Codemap](docs/codemap.md)** | Generate hierarchical codemaps to understand large codebases faster |
507
507
  | **[Clonedeps](docs/clonedeps.md)** | Clone selected dependency source into an ignored local workspace for inspection |
508
508
  | **[Interview](docs/interview.md)** | Turn rough ideas into a structured markdown spec through a browser-based Q&A flow |
package/dist/cli/index.js CHANGED
@@ -473,6 +473,12 @@ var CUSTOM_SKILLS = [
473
473
  description: "Clone important dependency source for local inspection",
474
474
  allowedAgents: ["orchestrator"],
475
475
  sourcePath: "src/skills/clonedeps"
476
+ },
477
+ {
478
+ name: "deepwork",
479
+ description: "Heavy/complex coding sessions and large modifications workflow",
480
+ allowedAgents: ["orchestrator"],
481
+ sourcePath: "src/skills/deepwork"
476
482
  }
477
483
  ];
478
484
  function getCustomSkillsDir() {
@@ -0,0 +1,13 @@
1
+ export declare function createDeepworkCommandHook(): {
2
+ registerCommand: (config: Record<string, unknown>) => void;
3
+ handleCommandExecuteBefore: (input: {
4
+ command: string;
5
+ sessionID: string;
6
+ arguments: string;
7
+ }, output: {
8
+ parts: Array<{
9
+ type: string;
10
+ text?: string;
11
+ }>;
12
+ }) => Promise<void>;
13
+ };
@@ -10,7 +10,7 @@ interface GoalState {
10
10
  interface SystemTransformOutput {
11
11
  system: string[];
12
12
  }
13
- export declare function createSessionGoalHook(ctx: PluginInput, config: PluginConfig, options?: {
13
+ export declare function createGoalHook(ctx: PluginInput, config: PluginConfig, options?: {
14
14
  getAgentName?: (sessionID: string) => string | undefined;
15
15
  }): {
16
16
  registerCommand: (config: Record<string, unknown>) => void;
@@ -2,13 +2,14 @@ export { createApplyPatchHook } from './apply-patch';
2
2
  export type { AutoUpdateCheckerOptions } from './auto-update-checker';
3
3
  export { createAutoUpdateCheckerHook } from './auto-update-checker';
4
4
  export { createChatHeadersHook } from './chat-headers';
5
+ export { createDeepworkCommandHook } from './deepwork';
5
6
  export { createDelegateTaskRetryHook } from './delegate-task-retry';
6
7
  export { createFilterAvailableSkillsHook } from './filter-available-skills';
7
8
  export { ForegroundFallbackManager, isRateLimitError, } from './foreground-fallback';
9
+ export { createGoalHook } from './goal';
8
10
  export { processImageAttachments } from './image-hook';
9
11
  export { createJsonErrorRecoveryHook } from './json-error-recovery';
10
12
  export { createPhaseReminderHook } from './phase-reminder';
11
13
  export { createPostFileToolNudgeHook } from './post-file-tool-nudge';
12
- export { createSessionGoalHook } from './session-goal';
13
14
  export { createTaskSessionManagerHook } from './task-session-manager';
14
15
  export { createTodoContinuationHook } from './todo-continuation';