oh-my-opencode 2.9.0 → 2.10.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 (42) hide show
  1. package/README.ja.md +13 -1
  2. package/README.ko.md +13 -1
  3. package/README.md +32 -1
  4. package/README.zh-cn.md +13 -1
  5. package/dist/agents/sisyphus-prompt-builder.d.ts +7 -2
  6. package/dist/agents/sisyphus.d.ts +2 -2
  7. package/dist/agents/utils.d.ts +7 -1
  8. package/dist/cli/doctor/checks/gh.d.ts +13 -0
  9. package/dist/cli/doctor/checks/gh.test.d.ts +1 -0
  10. package/dist/cli/doctor/checks/index.d.ts +1 -0
  11. package/dist/cli/doctor/constants.d.ts +1 -0
  12. package/dist/cli/index.js +148 -4
  13. package/dist/config/schema.d.ts +9 -0
  14. package/dist/features/builtin-skills/types.d.ts +2 -0
  15. package/dist/features/opencode-skill-loader/loader.test.d.ts +1 -0
  16. package/dist/features/opencode-skill-loader/types.d.ts +3 -0
  17. package/dist/features/skill-mcp-manager/index.d.ts +2 -0
  18. package/dist/features/skill-mcp-manager/manager.d.ts +21 -0
  19. package/dist/features/skill-mcp-manager/manager.test.d.ts +1 -0
  20. package/dist/features/skill-mcp-manager/types.d.ts +11 -0
  21. package/dist/google-auth.js +3 -3
  22. package/dist/hooks/anthropic-context-window-limit-recovery/types.d.ts +1 -1
  23. package/dist/hooks/auto-slash-command/constants.d.ts +5 -0
  24. package/dist/hooks/auto-slash-command/detector.d.ts +9 -0
  25. package/dist/hooks/auto-slash-command/detector.test.d.ts +1 -0
  26. package/dist/hooks/auto-slash-command/executor.d.ts +7 -0
  27. package/dist/hooks/auto-slash-command/index.d.ts +8 -0
  28. package/dist/hooks/auto-slash-command/index.test.d.ts +1 -0
  29. package/dist/hooks/auto-slash-command/types.d.ts +27 -0
  30. package/dist/hooks/index.d.ts +1 -0
  31. package/dist/hooks/keyword-detector/detector.d.ts +5 -0
  32. package/dist/hooks/keyword-detector/index.d.ts +2 -1
  33. package/dist/index.js +25840 -13026
  34. package/dist/tools/index.d.ts +1 -0
  35. package/dist/tools/skill/tools.test.d.ts +1 -0
  36. package/dist/tools/skill/types.d.ts +5 -0
  37. package/dist/tools/skill-mcp/constants.d.ts +2 -0
  38. package/dist/tools/skill-mcp/index.d.ts +3 -0
  39. package/dist/tools/skill-mcp/tools.d.ts +11 -0
  40. package/dist/tools/skill-mcp/tools.test.d.ts +1 -0
  41. package/dist/tools/skill-mcp/types.d.ts +8 -0
  42. package/package.json +4 -1
@@ -22,3 +22,4 @@ export { createInteractiveBashSessionHook } from "./interactive-bash-session";
22
22
  export { createEmptyMessageSanitizerHook } from "./empty-message-sanitizer";
23
23
  export { createThinkingBlockValidatorHook } from "./thinking-block-validator";
24
24
  export { createRalphLoopHook, type RalphLoopHook } from "./ralph-loop";
25
+ export { createAutoSlashCommandHook } from "./auto-slash-command";
@@ -1,5 +1,10 @@
1
+ export interface DetectedKeyword {
2
+ type: "ultrawork" | "search" | "analyze";
3
+ message: string;
4
+ }
1
5
  export declare function removeCodeBlocks(text: string): string;
2
6
  export declare function detectKeywords(text: string): string[];
7
+ export declare function detectKeywordsWithType(text: string): DetectedKeyword[];
3
8
  export declare function extractPromptText(parts: Array<{
4
9
  type: string;
5
10
  text?: string;
@@ -1,7 +1,8 @@
1
+ import type { PluginInput } from "@opencode-ai/plugin";
1
2
  export * from "./detector";
2
3
  export * from "./constants";
3
4
  export * from "./types";
4
- export declare function createKeywordDetectorHook(): {
5
+ export declare function createKeywordDetectorHook(ctx: PluginInput): {
5
6
  "chat.message": (input: {
6
7
  sessionID: string;
7
8
  agent?: string;