lazycodex-ai 4.19.2 → 4.19.4

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 (152) hide show
  1. package/dist/cli/config-migrate.d.ts +8 -0
  2. package/dist/cli/doctor/checks/deprecated-reasoning-keys.d.ts +2 -0
  3. package/dist/cli/doctor/checks/legacy-config-leftovers.d.ts +10 -0
  4. package/dist/cli/doctor/checks/model-resolution-config.d.ts +1 -1
  5. package/dist/cli/doctor/checks/tools-lsp.d.ts +1 -1
  6. package/dist/cli/doctor/framework/constants.d.ts +1 -1
  7. package/dist/cli/index.js +95684 -92814
  8. package/dist/cli-node/index.js +95650 -92780
  9. package/package.json +1 -1
  10. package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
  11. package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +21 -3
  12. package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
  13. package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
  14. package/packages/omo-codex/plugin/components/codegraph/AGENTS.md +11 -5
  15. package/packages/omo-codex/plugin/components/codegraph/NOTICE +1 -1
  16. package/packages/omo-codex/plugin/components/codegraph/dist/cli.js +10373 -2570
  17. package/packages/omo-codex/plugin/components/codegraph/dist/serve.js +7502 -574
  18. package/packages/omo-codex/plugin/components/codegraph/package.json +2 -2
  19. package/packages/omo-codex/plugin/components/codegraph/src/hook-input.ts +33 -0
  20. package/packages/omo-codex/plugin/components/codegraph/src/hook-types.ts +36 -10
  21. package/packages/omo-codex/plugin/components/codegraph/src/hook.ts +164 -159
  22. package/packages/omo-codex/plugin/components/codegraph/src/post-tool-use-hook.ts +34 -0
  23. package/packages/omo-codex/plugin/components/codegraph/src/serve.ts +20 -2
  24. package/packages/omo-codex/plugin/components/codegraph/src/session-start-command.ts +106 -0
  25. package/packages/omo-codex/plugin/components/codegraph/src/session-start-cooldown.ts +145 -0
  26. package/packages/omo-codex/plugin/components/codegraph/src/session-start-hook-runtime.ts +21 -0
  27. package/packages/omo-codex/plugin/components/codegraph/src/session-start-lock.ts +139 -0
  28. package/packages/omo-codex/plugin/components/codegraph/src/session-start-outcome.ts +15 -0
  29. package/packages/omo-codex/plugin/components/codegraph/src/session-start-paths.ts +32 -0
  30. package/packages/omo-codex/plugin/components/codegraph/src/session-start-project.ts +109 -0
  31. package/packages/omo-codex/plugin/components/codegraph/src/session-start-worker-result.ts +148 -0
  32. package/packages/omo-codex/plugin/components/codegraph/src/session-start-worker.ts +126 -175
  33. package/packages/omo-codex/plugin/components/codegraph/test/hook-exclusion.test.ts +4 -4
  34. package/packages/omo-codex/plugin/components/codegraph/test/hook-session-start-guard.test.ts +160 -0
  35. package/packages/omo-codex/plugin/components/codegraph/test/hook-store-upgrade.test.ts +12 -138
  36. package/packages/omo-codex/plugin/components/codegraph/test/hook.test.ts +34 -24
  37. package/packages/omo-codex/plugin/components/codegraph/test/mcp-bridge-fixtures.ts +3 -3
  38. package/packages/omo-codex/plugin/components/codegraph/test/package-runtime.test.ts +2 -2
  39. package/packages/omo-codex/plugin/components/codegraph/test/provisioned-node-guard.test.ts +5 -5
  40. package/packages/omo-codex/plugin/components/codegraph/test/serve-mcp-bridge.test.ts +3 -3
  41. package/packages/omo-codex/plugin/components/codegraph/test/serve-mcp-facade.test.ts +1 -1
  42. package/packages/omo-codex/plugin/components/codegraph/test/serve-provision.test.ts +45 -0
  43. package/packages/omo-codex/plugin/components/codegraph/test/serve-unavailable.test.ts +2 -2
  44. package/packages/omo-codex/plugin/components/codegraph/test/session-start-node-support.test.ts +70 -13
  45. package/packages/omo-codex/plugin/components/codegraph/test/session-start-project.test.ts +58 -0
  46. package/packages/omo-codex/plugin/components/codegraph/test/session-start-state.test.ts +104 -0
  47. package/packages/omo-codex/plugin/components/codegraph/test/session-start-trust-boundary.test.ts +4 -2
  48. package/packages/omo-codex/plugin/components/codegraph/test/session-start-worker-cooldown.test.ts +116 -0
  49. package/packages/omo-codex/plugin/components/codegraph/test/session-start-worker-flow.test.ts +58 -57
  50. package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
  51. package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
  52. package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
  53. package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
  54. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
  55. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
  56. package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
  57. package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
  58. package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
  59. package/packages/omo-codex/plugin/components/rules/dist/cli.js +32 -15
  60. package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
  61. package/packages/omo-codex/plugin/components/rules/package.json +1 -1
  62. package/packages/omo-codex/plugin/components/rules/src/post-compact-budget.ts +1 -1
  63. package/packages/omo-codex/plugin/components/start-work-continuation/hooks/hooks.json +2 -2
  64. package/packages/omo-codex/plugin/components/start-work-continuation/package.json +1 -1
  65. package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
  66. package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
  67. package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
  68. package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
  69. package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
  70. package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
  71. package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/SKILL.md +1 -1
  72. package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +4 -4
  73. package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
  74. package/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/SKILL.md +17 -0
  75. package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
  76. package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
  77. package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
  78. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-codegraph-init-guidance.json +1 -1
  79. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
  80. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
  81. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
  82. package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
  83. package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
  84. package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
  85. package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
  86. package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
  87. package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
  88. package/packages/omo-codex/plugin/hooks/session-start-checking-codegraph-bootstrap.json +1 -1
  89. package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
  90. package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
  91. package/packages/omo-codex/plugin/hooks/stop-checking-start-work-continuation.json +1 -1
  92. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
  93. package/packages/omo-codex/plugin/hooks/subagent-stop-checking-start-work-continuation.json +1 -1
  94. package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
  95. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
  96. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
  97. package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
  98. package/packages/omo-codex/plugin/package-lock.json +42 -41
  99. package/packages/omo-codex/plugin/package.json +1 -1
  100. package/packages/omo-codex/plugin/scripts/sync-skills.mjs +6 -0
  101. package/packages/omo-codex/plugin/shared/src/config-loader.ts +165 -16
  102. package/packages/omo-codex/plugin/shared/src/config-migration.ts +162 -0
  103. package/packages/omo-codex/plugin/shared/test/config-loader.test.ts +186 -9
  104. package/packages/omo-codex/plugin/skills/coding-agent-sessions/SKILL.md +4 -3
  105. package/packages/omo-codex/plugin/skills/coding-agent-sessions/references/all-platforms.md +3 -1
  106. package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/aside_scanner.py +140 -0
  107. package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +3 -0
  108. package/packages/omo-codex/plugin/skills/data-scientist/SKILL.md +243 -0
  109. package/packages/omo-codex/plugin/skills/data-scientist/agents/openai.yaml +2 -0
  110. package/packages/omo-codex/plugin/skills/data-scientist/references/common-scenarios.md +176 -0
  111. package/packages/omo-codex/plugin/skills/data-scientist/references/execution-templates.md +197 -0
  112. package/packages/omo-codex/plugin/skills/data-scientist/references/integration-patterns.md +153 -0
  113. package/packages/omo-codex/plugin/skills/data-scientist/references/performance-benchmarks.md +37 -0
  114. package/packages/omo-codex/plugin/skills/data-scientist/references/uv-setup.md +78 -0
  115. package/packages/omo-codex/plugin/skills/data-scientist/scripts/quick-query.py +111 -0
  116. package/packages/omo-codex/plugin/skills/data-scientist/scripts/setup-uv.ps1 +53 -0
  117. package/packages/omo-codex/plugin/skills/data-scientist/scripts/setup-uv.sh +60 -0
  118. package/packages/omo-codex/plugin/skills/debugging/SKILL.md +1 -1
  119. package/packages/omo-codex/plugin/skills/frontend/ATTRIBUTION.md +7 -0
  120. package/packages/omo-codex/plugin/skills/frontend/SKILL.md +4 -1
  121. package/packages/omo-codex/plugin/skills/frontend/references/design/README.md +8 -0
  122. package/packages/omo-codex/plugin/skills/frontend/references/design/_INDEX.md +14 -1
  123. package/packages/omo-codex/plugin/skills/frontend/references/design/interaction-skill.md +144 -0
  124. package/packages/omo-codex/plugin/skills/programming/SKILL.md +1 -2
  125. package/packages/omo-codex/plugin/skills/ulw-loop/SKILL.md +17 -0
  126. package/packages/omo-codex/plugin/skills/ulw-plan/SKILL.md +1 -1
  127. package/packages/omo-codex/plugin/skills/ulw-research/SKILL.md +121 -11
  128. package/packages/omo-codex/plugin/test/sync-skills-test-support.mjs +7 -0
  129. package/packages/omo-codex/plugin/test/sync-skills.test.mjs +12 -0
  130. package/packages/omo-codex/scripts/install-dist/install-local.mjs +24 -5
  131. package/packages/shared-skills/skills/coding-agent-sessions/SKILL.md +4 -3
  132. package/packages/shared-skills/skills/coding-agent-sessions/references/all-platforms.md +3 -1
  133. package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/aside_scanner.py +140 -0
  134. package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +3 -0
  135. package/packages/shared-skills/skills/data-scientist/SKILL.md +243 -0
  136. package/packages/shared-skills/skills/data-scientist/references/common-scenarios.md +176 -0
  137. package/packages/shared-skills/skills/data-scientist/references/execution-templates.md +197 -0
  138. package/packages/shared-skills/skills/data-scientist/references/integration-patterns.md +153 -0
  139. package/packages/shared-skills/skills/data-scientist/references/performance-benchmarks.md +37 -0
  140. package/packages/shared-skills/skills/data-scientist/references/uv-setup.md +78 -0
  141. package/packages/shared-skills/skills/data-scientist/scripts/quick-query.py +111 -0
  142. package/packages/shared-skills/skills/data-scientist/scripts/setup-uv.ps1 +53 -0
  143. package/packages/shared-skills/skills/data-scientist/scripts/setup-uv.sh +60 -0
  144. package/packages/shared-skills/skills/debugging/SKILL.md +1 -1
  145. package/packages/shared-skills/skills/frontend/ATTRIBUTION.md +7 -0
  146. package/packages/shared-skills/skills/frontend/SKILL.md +4 -1
  147. package/packages/shared-skills/skills/frontend/references/design/README.md +8 -0
  148. package/packages/shared-skills/skills/frontend/references/design/_INDEX.md +14 -1
  149. package/packages/shared-skills/skills/frontend/references/design/interaction-skill.md +144 -0
  150. package/packages/shared-skills/skills/programming/SKILL.md +1 -2
  151. package/packages/shared-skills/skills/ulw-plan/SKILL.md +1 -1
  152. package/packages/shared-skills/skills/ulw-research/SKILL.md +122 -11
@@ -0,0 +1,8 @@
1
+ export type ConfigMigrateOptions = {
2
+ readonly cwd?: string;
3
+ readonly dryRun?: boolean;
4
+ readonly environment?: Readonly<Record<string, string | undefined>>;
5
+ readonly json?: boolean;
6
+ readonly output?: (line: string) => void;
7
+ };
8
+ export declare function runConfigMigrate(options?: ConfigMigrateOptions): number;
@@ -0,0 +1,2 @@
1
+ import type { CheckResult } from "../framework/types";
2
+ export declare function checkDeprecatedReasoningKeys(): Promise<CheckResult>;
@@ -0,0 +1,10 @@
1
+ import type { ConfigMigrationPathOperations } from "../../../config-migration";
2
+ import type { DoctorIssue } from "../framework/types";
3
+ export type LegacyConfigLeftoverOptions = {
4
+ readonly cwd: string;
5
+ readonly environment?: Readonly<Record<string, string | undefined>>;
6
+ readonly homeDir: string;
7
+ readonly pathOperations?: ConfigMigrationPathOperations;
8
+ };
9
+ export declare function findLegacyConfigLeftovers(options: LegacyConfigLeftoverOptions): readonly string[];
10
+ export declare function legacyConfigLeftoverWarning(paths: readonly string[]): DoctorIssue | undefined;
@@ -1,2 +1,2 @@
1
1
  import type { OmoConfig } from "./model-resolution-types";
2
- export declare function loadOmoConfig(): OmoConfig | null;
2
+ export declare function loadOmoConfig(): OmoConfig;
@@ -1,6 +1,6 @@
1
1
  type InstalledLspServersOptions = {
2
- readonly configDirectory?: string;
3
2
  readonly cwd?: string;
3
+ readonly homeDir?: string;
4
4
  };
5
5
  export declare function getInstalledLspServers(options?: InstalledLspServersOptions): Array<{
6
6
  id: string;
@@ -29,5 +29,5 @@ export declare const EXIT_CODES: {
29
29
  readonly FAILURE: 1;
30
30
  };
31
31
  export declare const MIN_OPENCODE_VERSION = "1.4.0";
32
- export declare const PACKAGE_NAME: string;
32
+ export declare const PACKAGE_NAME = "oh-my-openagent";
33
33
  export declare const OPENCODE_BINARIES: readonly ["opencode", "opencode-desktop"];