oh-my-opencode 5.1.65 → 5.1.68

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 (98) hide show
  1. package/dist/cli/index.js +210 -158
  2. package/dist/cli/service-auth/account-home.d.ts +47 -0
  3. package/dist/cli/service-auth/account-home.fixture.d.ts +1 -0
  4. package/dist/cli/service-auth/credential-lock.d.ts +2 -0
  5. package/dist/cli/service-auth/index.d.ts +1 -1
  6. package/dist/cli-node/index.js +210 -158
  7. package/dist/config/schema/oh-my-opencode-config.d.ts +1 -0
  8. package/dist/config/schema/runtime-fallback.d.ts +1 -0
  9. package/dist/hooks/runtime-fallback/constants.d.ts +11 -10
  10. package/dist/index.js +385 -405
  11. package/dist/oh-my-opencode.schema.json +4 -0
  12. package/dist/skills/browser/ATTRIBUTION.md +11 -7
  13. package/dist/skills/browser/SKILL.md +21 -6
  14. package/dist/skills/browser/references/commands.md +41 -4
  15. package/dist/skills/browser/references/owned-engine/frames-and-humans.md +15 -4
  16. package/dist/skills/browser/references/recipes/1password.md +4 -2
  17. package/dist/skills/browser/runtime/omowright/LICENSE +21 -0
  18. package/dist/skills/browser/runtime/omowright/manifest.json +4 -3
  19. package/dist/skills/debugging/references/tools/browser-qa.md +4 -3
  20. package/dist/skills/ultimate-browsing/SKILL.md +1 -1
  21. package/dist/skills/ulw-research/SKILL.md +6 -6
  22. package/dist/skills/ulw-research/references/research-collection.md +2 -2
  23. package/dist/skills/visual-qa/references/browser-setup.md +5 -4
  24. package/dist/tui.js +55 -105
  25. package/package.json +14 -14
  26. package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
  27. package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +1 -1
  28. package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
  29. package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
  30. package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
  31. package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
  32. package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
  33. package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
  34. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
  35. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
  36. package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
  37. package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
  38. package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
  39. package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
  40. package/packages/omo-codex/plugin/components/rules/package.json +1 -1
  41. package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
  42. package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
  43. package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
  44. package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
  45. package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
  46. package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
  47. package/packages/omo-codex/plugin/components/ulw-execute-continuation/hooks/hooks.json +1 -1
  48. package/packages/omo-codex/plugin/components/ulw-execute-continuation/package.json +1 -1
  49. package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +5 -5
  50. package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
  51. package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
  52. package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
  53. package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
  54. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
  55. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
  56. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
  57. package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
  58. package/packages/omo-codex/plugin/hooks/post-tool-use-recording-spawn-admission.json +1 -1
  59. package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
  60. package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
  61. package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
  62. package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
  63. package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
  64. package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
  65. package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
  66. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-execute-continuation.json +1 -1
  67. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
  68. package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
  69. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
  70. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
  71. package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
  72. package/packages/omo-codex/plugin/package-lock.json +12 -12
  73. package/packages/omo-codex/plugin/package.json +1 -1
  74. package/packages/omo-codex/plugin/skills/browser/ATTRIBUTION.md +11 -7
  75. package/packages/omo-codex/plugin/skills/browser/SKILL.md +21 -6
  76. package/packages/omo-codex/plugin/skills/browser/references/commands.md +41 -4
  77. package/packages/omo-codex/plugin/skills/browser/references/owned-engine/frames-and-humans.md +15 -4
  78. package/packages/omo-codex/plugin/skills/browser/references/recipes/1password.md +4 -2
  79. package/packages/omo-codex/plugin/skills/browser/runtime/omowright/LICENSE +21 -0
  80. package/packages/omo-codex/plugin/skills/browser/runtime/omowright/manifest.json +4 -3
  81. package/packages/omo-codex/plugin/skills/debugging/references/tools/browser-qa.md +4 -3
  82. package/packages/omo-codex/plugin/skills/ultimate-browsing/SKILL.md +1 -1
  83. package/packages/omo-codex/plugin/skills/ulw-research/SKILL.md +6 -6
  84. package/packages/omo-codex/plugin/skills/ulw-research/references/research-collection.md +2 -2
  85. package/packages/omo-codex/plugin/skills/visual-qa/references/browser-setup.md +5 -4
  86. package/packages/omo-codex/scripts/install-dist/install-local.mjs +3 -3
  87. package/packages/shared-skills/skills/browser/ATTRIBUTION.md +11 -7
  88. package/packages/shared-skills/skills/browser/SKILL.md +21 -6
  89. package/packages/shared-skills/skills/browser/references/commands.md +41 -4
  90. package/packages/shared-skills/skills/browser/references/owned-engine/frames-and-humans.md +15 -4
  91. package/packages/shared-skills/skills/browser/references/recipes/1password.md +4 -2
  92. package/packages/shared-skills/skills/browser/runtime/omowright/LICENSE +21 -0
  93. package/packages/shared-skills/skills/browser/runtime/omowright/manifest.json +4 -3
  94. package/packages/shared-skills/skills/debugging/references/tools/browser-qa.md +4 -3
  95. package/packages/shared-skills/skills/ultimate-browsing/SKILL.md +1 -1
  96. package/packages/shared-skills/skills/ulw-research/SKILL.md +6 -6
  97. package/packages/shared-skills/skills/ulw-research/references/research-collection.md +2 -2
  98. package/packages/shared-skills/skills/visual-qa/references/browser-setup.md +5 -4
@@ -3613,6 +3613,7 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
3613
3613
  max_fallback_attempts: z.ZodOptional<z.ZodNumber>;
3614
3614
  cooldown_seconds: z.ZodOptional<z.ZodNumber>;
3615
3615
  timeout_seconds: z.ZodOptional<z.ZodNumber>;
3616
+ first_prompt_timeout_seconds: z.ZodOptional<z.ZodNumber>;
3616
3617
  notify_on_fallback: z.ZodOptional<z.ZodBoolean>;
3617
3618
  restore_primary_after_cooldown: z.ZodOptional<z.ZodBoolean>;
3618
3619
  }, z.core.$strip>]>>;
@@ -5,6 +5,7 @@ export declare const RuntimeFallbackConfigSchema: z.ZodObject<{
5
5
  max_fallback_attempts: z.ZodOptional<z.ZodNumber>;
6
6
  cooldown_seconds: z.ZodOptional<z.ZodNumber>;
7
7
  timeout_seconds: z.ZodOptional<z.ZodNumber>;
8
+ first_prompt_timeout_seconds: z.ZodOptional<z.ZodNumber>;
8
9
  notify_on_fallback: z.ZodOptional<z.ZodBoolean>;
9
10
  restore_primary_after_cooldown: z.ZodOptional<z.ZodBoolean>;
10
11
  }, z.core.$strip>;
@@ -4,6 +4,17 @@
4
4
  * Default values and configuration constants for the runtime fallback feature.
5
5
  */
6
6
  import type { RuntimeFallbackConfig } from "../../config";
7
+ /**
8
+ * First-prompt watchdog: how long to wait for the first sign of progress
9
+ * (assistant text/reasoning/finish) from a subagent session before assuming
10
+ * the provider is silently stuck and dispatching the configured fallback.
11
+ *
12
+ * Reasoning-heavy models and relays legitimately take longer than 90 s before
13
+ * their first progress event (#11887), so this matches the 300 s stream-start
14
+ * bound the engines themselves use; it stays well below the 30-minute outer
15
+ * poll timeout. `runtime_fallback.first_prompt_timeout_seconds` overrides it.
16
+ */
17
+ export declare const DEFAULT_FIRST_PROMPT_WATCHDOG_MS = 300000;
7
18
  /**
8
19
  * Default configuration values for runtime fallback
9
20
  */
@@ -17,14 +28,4 @@ export declare const RETRYABLE_ERROR_PATTERNS: readonly [RegExp, RegExp, RegExp,
17
28
  * Hook name for identification and logging
18
29
  */
19
30
  export declare const HOOK_NAME = "runtime-fallback";
20
- /**
21
- * First-prompt watchdog: how long to wait for the first sign of progress
22
- * (assistant text/reasoning/finish) from a subagent session before assuming
23
- * the provider is silently stuck and dispatching the configured fallback.
24
- *
25
- * Tuned to be longer than typical first-token latency (well under 30s in
26
- * practice) yet much shorter than the 30-minute outer poll timeout that
27
- * would otherwise be the only safety net.
28
- */
29
- export declare const DEFAULT_FIRST_PROMPT_WATCHDOG_MS = 90000;
30
31
  export declare const COMPACTION_WATCHDOG_BUDGET_MS = 600000;