oh-my-opencode 5.1.4 → 5.1.6

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 (68) hide show
  1. package/dist/cli/index.js +465 -187
  2. package/dist/cli-node/index.js +465 -187
  3. package/dist/config/prune-plugin-view.d.ts +18 -0
  4. package/dist/config/validate.d.ts +3 -1
  5. package/dist/index.js +11196 -10939
  6. package/dist/plugin-config/omo-config-chain.d.ts +4 -6
  7. package/dist/skills/browser/runtime/omowright/manifest.json +1 -1
  8. package/dist/skills/ulw-execute/SKILL.md +1 -1
  9. package/dist/tui.js +549 -276
  10. package/package.json +14 -14
  11. package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
  12. package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +309 -133
  13. package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
  14. package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
  15. package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
  16. package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
  17. package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
  18. package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
  19. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
  20. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
  21. package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
  22. package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
  23. package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
  24. package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
  25. package/packages/omo-codex/plugin/components/rules/package.json +1 -1
  26. package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
  27. package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
  28. package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
  29. package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
  30. package/packages/omo-codex/plugin/components/ultrawork/dist/cli.js +25 -18
  31. package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
  32. package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
  33. package/packages/omo-codex/plugin/components/ultrawork/src/directive-content.ts +1 -1
  34. package/packages/omo-codex/plugin/components/ulw-execute-continuation/hooks/hooks.json +1 -1
  35. package/packages/omo-codex/plugin/components/ulw-execute-continuation/package.json +1 -1
  36. package/packages/omo-codex/plugin/components/ulw-loop/directive.md +25 -18
  37. package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +5 -5
  38. package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
  39. package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
  40. package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
  41. package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
  42. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
  43. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
  44. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
  45. package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
  46. package/packages/omo-codex/plugin/hooks/post-tool-use-recording-spawn-admission.json +1 -1
  47. package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
  48. package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
  49. package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
  50. package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
  51. package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
  52. package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
  53. package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
  54. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-execute-continuation.json +1 -1
  55. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
  56. package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
  57. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
  58. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
  59. package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
  60. package/packages/omo-codex/plugin/package-lock.json +12 -12
  61. package/packages/omo-codex/plugin/package.json +1 -1
  62. package/packages/omo-codex/plugin/skills/browser/runtime/omowright/manifest.json +1 -1
  63. package/packages/omo-codex/plugin/skills/ultrawork/SKILL.md +25 -18
  64. package/packages/omo-codex/plugin/skills/ulw-execute/SKILL.md +1 -1
  65. package/packages/omo-codex/scripts/install-dist/install-local.mjs +311 -135
  66. package/packages/prompts-core/prompts/ultrawork/codex.md +25 -18
  67. package/packages/shared-skills/skills/browser/runtime/omowright/manifest.json +1 -1
  68. package/packages/shared-skills/skills/ulw-execute/SKILL.md +1 -1
@@ -0,0 +1,18 @@
1
+ import type * as z from "zod";
2
+ export type PrunedPluginView = {
3
+ readonly config: Record<string, unknown>;
4
+ /** Plugin-schema issues left standing: non-empty only when the view could not be pruned into shape. */
5
+ readonly issues: readonly z.core.$ZodIssue[];
6
+ readonly warnings: readonly string[];
7
+ };
8
+ /**
9
+ * Drop only the values of one OpenCode view that fail the plugin schema, with one warning per
10
+ * dropped key named by its dotted path in the file (`keyPrefix` places a harness-block or profile
11
+ * view inside it). A view that cannot be pruned into shape is returned as-is with its issues.
12
+ */
13
+ export declare function prunePluginView(input: {
14
+ readonly config: Record<string, unknown>;
15
+ readonly homeDir: string | undefined;
16
+ readonly keyPrefix: string;
17
+ readonly path: string;
18
+ }): PrunedPluginView;
@@ -1,8 +1,10 @@
1
- import type { OmoConfigEnv } from "@oh-my-opencode/omo-config-core";
1
+ import { type OmoConfigEnv } from "@oh-my-opencode/omo-config-core";
2
2
  import { type OhMyOpenCodeConfig } from "./schema";
3
3
  export type PluginConfigValidation = {
4
4
  readonly valid: boolean;
5
5
  readonly messages: readonly string[];
6
+ /** One line per value that was ignored while the rest of its file still loaded. */
7
+ readonly warnings: readonly string[];
6
8
  readonly path: string | null;
7
9
  readonly config: OhMyOpenCodeConfig;
8
10
  };