lazycodex-ai 5.0.0-beta.82 → 5.0.0-beta.84

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 (110) hide show
  1. package/README.ja.md +2 -2
  2. package/README.ko.md +2 -2
  3. package/README.md +4 -4
  4. package/README.ru.md +2 -2
  5. package/README.zh-cn.md +2 -2
  6. package/dist/cli/index.js +707 -146
  7. package/dist/cli/install-native/index.d.ts +4 -0
  8. package/dist/cli/install-native/plan.d.ts +11 -0
  9. package/dist/cli/install-native/run-native-install.d.ts +23 -0
  10. package/dist/cli/install-native-dev/index.d.ts +4 -0
  11. package/dist/cli/native-dev-platform-flag.d.ts +5 -0
  12. package/dist/cli/native-edition-hint.d.ts +10 -0
  13. package/dist/cli/types.d.ts +3 -2
  14. package/dist/cli-node/index.js +707 -146
  15. package/package.json +1 -1
  16. package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
  17. package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +84 -11
  18. package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
  19. package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
  20. package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
  21. package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
  22. package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
  23. package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
  24. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
  25. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
  26. package/packages/omo-codex/plugin/components/lcx/skills/lcx-contribute-bug-fix/SKILL.md +1 -1
  27. package/packages/omo-codex/plugin/components/lcx/skills/lcx-doctor/SKILL.md +3 -3
  28. package/packages/omo-codex/plugin/components/lcx/skills/lcx-report-bug/SKILL.md +5 -5
  29. package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
  30. package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
  31. package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
  32. package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
  33. package/packages/omo-codex/plugin/components/rules/package.json +1 -1
  34. package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
  35. package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
  36. package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
  37. package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
  38. package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
  39. package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
  40. package/packages/omo-codex/plugin/components/ulw-execute-continuation/hooks/hooks.json +1 -1
  41. package/packages/omo-codex/plugin/components/ulw-execute-continuation/package.json +1 -1
  42. package/packages/omo-codex/plugin/components/ulw-loop/dist/cli.js +24 -10
  43. package/packages/omo-codex/plugin/components/ulw-loop/dist/spawn-guard.js +8 -6
  44. package/packages/omo-codex/plugin/components/ulw-loop/dist/surface.d.ts +2 -0
  45. package/packages/omo-codex/plugin/components/ulw-loop/dist/surface.js +21 -4
  46. package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +5 -5
  47. package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
  48. package/packages/omo-codex/plugin/components/ulw-loop/src/spawn-guard.ts +10 -5
  49. package/packages/omo-codex/plugin/components/ulw-loop/src/surface.ts +24 -6
  50. package/packages/omo-codex/plugin/components/ulw-loop/test/spawn-guard-native-reviewer.test.ts +207 -0
  51. package/packages/omo-codex/plugin/components/ulw-loop/test/spawn-guard.test.ts +6 -4
  52. package/packages/omo-codex/plugin/components/ulw-loop/test/surface.test.ts +43 -4
  53. package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
  54. package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
  55. package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
  56. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
  57. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
  58. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
  59. package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
  60. package/packages/omo-codex/plugin/hooks/post-tool-use-recording-spawn-admission.json +1 -1
  61. package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
  62. package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
  63. package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
  64. package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
  65. package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
  66. package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
  67. package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
  68. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-execute-continuation.json +1 -1
  69. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
  70. package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
  71. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
  72. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
  73. package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
  74. package/packages/omo-codex/plugin/package-lock.json +12 -12
  75. package/packages/omo-codex/plugin/package.json +1 -1
  76. package/packages/omo-codex/plugin/skills/browser/ATTRIBUTION.md +25 -0
  77. package/packages/omo-codex/plugin/skills/browser/SKILL.md +89 -0
  78. package/packages/omo-codex/plugin/skills/browser/agents/openai.yaml +2 -0
  79. package/packages/omo-codex/plugin/skills/browser/references/commands.md +90 -0
  80. package/packages/omo-codex/plugin/skills/browser/references/install.md +71 -0
  81. package/packages/omo-codex/plugin/skills/browser/references/owned-engine/README.md +42 -0
  82. package/packages/omo-codex/plugin/skills/browser/references/owned-engine/frames-and-humans.md +39 -0
  83. package/packages/omo-codex/plugin/skills/browser/references/owned-engine/ladder.md +59 -0
  84. package/packages/omo-codex/plugin/skills/browser/references/owned-engine/network.md +42 -0
  85. package/packages/omo-codex/plugin/skills/browser/references/recipes/1password.md +59 -0
  86. package/packages/omo-codex/plugin/skills/browser/references/remote.md +24 -0
  87. package/packages/omo-codex/plugin/skills/browser/scripts/browser-doctor.mjs +41 -0
  88. package/packages/omo-codex/plugin/skills/browser/scripts/browser-env.mjs +41 -0
  89. package/packages/omo-codex/plugin/skills/browser/scripts/browser-install.mjs +51 -0
  90. package/packages/omo-codex/plugin/skills/lcx-contribute-bug-fix/SKILL.md +1 -1
  91. package/packages/omo-codex/plugin/skills/lcx-doctor/SKILL.md +3 -3
  92. package/packages/omo-codex/plugin/skills/lcx-report-bug/SKILL.md +5 -5
  93. package/packages/omo-codex/plugin/test/sync-skills-test-support.mjs +1 -0
  94. package/packages/omo-codex/scripts/install-dist/install-local.mjs +90 -17
  95. package/packages/shared-skills/skills/browser/ATTRIBUTION.md +25 -0
  96. package/packages/shared-skills/skills/browser/SKILL.md +89 -0
  97. package/packages/shared-skills/skills/browser/references/commands.md +90 -0
  98. package/packages/shared-skills/skills/browser/references/install.md +71 -0
  99. package/packages/shared-skills/skills/browser/references/owned-engine/README.md +42 -0
  100. package/packages/shared-skills/skills/browser/references/owned-engine/frames-and-humans.md +39 -0
  101. package/packages/shared-skills/skills/browser/references/owned-engine/ladder.md +59 -0
  102. package/packages/shared-skills/skills/browser/references/owned-engine/network.md +42 -0
  103. package/packages/shared-skills/skills/browser/references/recipes/1password.md +59 -0
  104. package/packages/shared-skills/skills/browser/references/remote.md +24 -0
  105. package/packages/shared-skills/skills/browser/scripts/browser-doctor.mjs +41 -0
  106. package/packages/shared-skills/skills/browser/scripts/browser-env.mjs +41 -0
  107. package/packages/shared-skills/skills/browser/scripts/browser-install.mjs +51 -0
  108. package/dist/cli/install-senpi/index.d.ts +0 -1
  109. package/dist/cli/senpi-edition-hint.d.ts +0 -10
  110. package/dist/cli/senpi-platform-flag.d.ts +0 -4
@@ -0,0 +1,4 @@
1
+ export { formatNativeInstallCommand, NATIVE_PACKAGE_SPEC, NATIVE_RECOMMENDED_RUNTIME_NOTE, NATIVE_SETUP_COMMAND, resolveNativeInstallPlan, } from "./plan";
2
+ export type { NativeInstallPlan, NativePackageManager } from "./plan";
3
+ export { nativeInstallFailureLines, nativeInstallSuccessLine, runNativeInstall, } from "./run-native-install";
4
+ export type { NativeInstallDependencies, NativeInstallFailure, NativeInstallOutcome, NativeInstallSpawn, NativeInstallSpawnResult, } from "./run-native-install";
@@ -0,0 +1,11 @@
1
+ export declare const NATIVE_PACKAGE_SPEC = "omo-ai@beta";
2
+ export declare const NATIVE_SETUP_COMMAND = "omo setup";
3
+ export declare const NATIVE_RECOMMENDED_RUNTIME_NOTE = "bun is the recommended runtime for OmO Native; npm works, but bun is what the beta channel is tested on.";
4
+ export type NativePackageManager = "bun" | "npm";
5
+ export interface NativeInstallPlan {
6
+ readonly packageManager: NativePackageManager;
7
+ readonly command: string;
8
+ readonly args: readonly string[];
9
+ }
10
+ export declare function resolveNativeInstallPlan(bunAvailable: boolean): NativeInstallPlan;
11
+ export declare function formatNativeInstallCommand(plan: NativeInstallPlan): string;
@@ -0,0 +1,23 @@
1
+ import type { NativeInstallPlan } from "./plan";
2
+ export interface NativeInstallSpawnResult {
3
+ readonly exitCode: number;
4
+ readonly stderr?: string;
5
+ }
6
+ export type NativeInstallSpawn = (command: string, args: readonly string[]) => Promise<NativeInstallSpawnResult>;
7
+ export interface NativeInstallDependencies {
8
+ readonly isBunAvailable: () => boolean | Promise<boolean>;
9
+ readonly spawn: NativeInstallSpawn;
10
+ }
11
+ export interface NativeInstallFailure {
12
+ readonly reason: string;
13
+ readonly manualCommand: string;
14
+ }
15
+ export interface NativeInstallOutcome {
16
+ readonly ok: boolean;
17
+ readonly plan: NativeInstallPlan;
18
+ readonly notes: readonly string[];
19
+ readonly failure?: NativeInstallFailure;
20
+ }
21
+ export declare function runNativeInstall(dependencies?: NativeInstallDependencies): Promise<NativeInstallOutcome>;
22
+ export declare function nativeInstallSuccessLine(): string;
23
+ export declare function nativeInstallFailureLines(failure: NativeInstallFailure): readonly string[];
@@ -0,0 +1,4 @@
1
+ import { runSenpiInstaller } from "@oh-my-opencode/omo-senpi/install";
2
+ export type NativeDevInstallOptions = NonNullable<Parameters<typeof runSenpiInstaller>[0]>;
3
+ export type NativeDevInstallResult = Awaited<ReturnType<typeof runSenpiInstaller>>;
4
+ export declare function runNativeDevInstaller(options?: NativeDevInstallOptions): Promise<NativeDevInstallResult>;
@@ -0,0 +1,5 @@
1
+ import type { InstallPlatform } from "./types";
2
+ export declare const NATIVE_DEV_PLATFORM_ENV_FLAG = "OMO_ENABLE_NATIVE_DEV_PLATFORM";
3
+ export declare const LEGACY_NATIVE_DEV_PLATFORM_ENV_FLAG = "OMO_ENABLE_SENPI_PLATFORM";
4
+ export declare function isNativeDevPlatformEnabled(env?: NodeJS.ProcessEnv): boolean;
5
+ export declare function availableInstallPlatforms(env?: NodeJS.ProcessEnv): InstallPlatform[];
@@ -0,0 +1,10 @@
1
+ import type { InstallConfig } from "./types";
2
+ export declare const NATIVE_EDITION_INSTALL_COMMAND = "bun add -g omo-ai@beta";
3
+ export declare const NATIVE_EDITION_GUIDE_URL = "https://github.com/code-yeongyu/oh-my-openagent/blob/dev/docs/guide/installation.md#omo-native-beta-omo-via-omo-ai";
4
+ export declare const NATIVE_EDITION_HINT_TITLE = "OmO Native (beta)";
5
+ export type NativeEditionHintPaint = {
6
+ readonly command: (text: string) => string;
7
+ readonly link: (text: string) => string;
8
+ };
9
+ export declare function shouldShowNativeEditionHint(config: Pick<InstallConfig, "hasNative" | "hasNativeDev">): boolean;
10
+ export declare function nativeEditionHintLines(paint?: NativeEditionHintPaint): readonly string[];
@@ -1,6 +1,6 @@
1
1
  export type ClaudeSubscription = "no" | "yes" | "max20";
2
2
  export type BooleanArg = "no" | "yes";
3
- export type InstallPlatform = "opencode" | "codex" | "both" | "senpi";
3
+ export type InstallPlatform = "opencode" | "codex" | "both" | "native" | "native-dev";
4
4
  export interface InstallArgs {
5
5
  tui: boolean;
6
6
  platform?: InstallPlatform;
@@ -28,7 +28,8 @@ export interface InstallConfig {
28
28
  hasGemini: boolean;
29
29
  hasCopilot: boolean;
30
30
  hasCodex: boolean;
31
- hasSenpi: boolean;
31
+ hasNative: boolean;
32
+ hasNativeDev: boolean;
32
33
  hasOpencodeZen: boolean;
33
34
  hasZaiCodingPlan: boolean;
34
35
  hasKimiForCoding: boolean;