lazycodex-ai 5.1.44 → 5.1.46
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.
- package/README.de.md +0 -5
- package/README.es.md +0 -5
- package/README.fr.md +0 -5
- package/README.it.md +0 -5
- package/README.ja.md +0 -5
- package/README.ko.md +0 -5
- package/README.md +4 -5
- package/README.pt-br.md +0 -5
- package/README.ru.md +0 -6
- package/README.zh-cn.md +0 -5
- package/dist/cli/index.js +865 -413
- package/dist/cli/service-auth/keystore.d.ts +4 -2
- package/dist/cli-node/index.js +865 -413
- package/docs/reference/web-terminal-visual-qa.md +8 -0
- package/package.json +1 -1
- package/packages/lsp-daemon/dist/cli.js +7 -7
- package/packages/lsp-daemon/dist/client.js +7 -7
- package/packages/lsp-daemon/dist/index.js +7 -7
- package/packages/lsp-daemon/package.json +3 -3
- package/packages/lsp-tools-mcp/dist/cli.js +7 -7
- package/packages/lsp-tools-mcp/dist/mcp.js +7 -7
- package/packages/lsp-tools-mcp/dist/tools.js +4 -4
- package/packages/lsp-tools-mcp/package.json +3 -3
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +77 -26
- package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/src/hook.ts +1 -1
- package/packages/omo-codex/plugin/components/comment-checker/biome.json +1 -21
- package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/comment-checker/package.json +4 -4
- package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/biome.json +1 -21
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +4 -4
- package/packages/omo-codex/plugin/components/lsp/biome.json +1 -21
- package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +3 -3
- package/packages/omo-codex/plugin/components/lsp/dist/cli.js +4 -4
- package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/package.json +4 -4
- package/packages/omo-codex/plugin/components/lsp/scripts/build-runtime.mjs +0 -1
- package/packages/omo-codex/plugin/components/lsp/test/codex-hook-not-installed.test.ts +1 -1
- package/packages/omo-codex/plugin/components/rules/biome.json +1 -21
- package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
- package/packages/omo-codex/plugin/components/rules/package.json +4 -4
- package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/biome.json +1 -21
- package/packages/omo-codex/plugin/components/telemetry/dist/cli.js +90 -1
- package/packages/omo-codex/plugin/components/telemetry/dist/posthog.js +91 -1
- package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/package.json +4 -4
- package/packages/omo-codex/plugin/components/ultrawork/agents/lazycodex-gate-reviewer.toml +2 -2
- package/packages/omo-codex/plugin/components/ultrawork/biome.json +1 -21
- package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/package.json +4 -4
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/biome.json +1 -21
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/directive.md +1 -1
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/package.json +4 -4
- package/packages/omo-codex/plugin/components/ulw-loop/biome.json +1 -21
- package/packages/omo-codex/plugin/components/ulw-loop/dist/checkpoint.js +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/dist/cli.js +7 -7
- package/packages/omo-codex/plugin/components/ulw-loop/dist/codex-goal-instruction.js +5 -5
- package/packages/omo-codex/plugin/components/ulw-loop/dist/stop-resume-hook.js +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +5 -5
- package/packages/omo-codex/plugin/components/ulw-loop/package.json +4 -4
- package/packages/omo-codex/plugin/components/ulw-loop/src/checkpoint.ts +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/src/codex-goal-instruction.ts +5 -5
- package/packages/omo-codex/plugin/components/ulw-loop/src/stop-resume-hook.ts +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/test/fixtures/commit-mutations.mjs +2 -0
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-recording-spawn-admission.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-ulw-execute-continuation.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
- package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/package-lock.json +12 -12
- package/packages/omo-codex/plugin/package.json +1 -1
- package/packages/omo-codex/plugin/scripts/sync-skills.mjs +14 -9
- package/packages/omo-codex/plugin/skills/ast-grep/AGENTS.md +1 -1
- package/packages/omo-codex/plugin/skills/browser/SKILL.md +21 -22
- package/packages/omo-codex/plugin/skills/browser/references/commands.md +2 -9
- package/packages/omo-codex/plugin/skills/browser/references/install.md +1 -2
- package/packages/omo-codex/plugin/skills/browser/runtime/omowright/manifest.json +1 -1
- package/packages/omo-codex/plugin/skills/browser/scripts/browser-doctor.mjs +2 -2
- package/packages/omo-codex/plugin/skills/browser/scripts/browser-engine-guard.mjs +63 -487
- package/packages/omo-codex/plugin/skills/browser/scripts/browser-install.mjs +1 -1
- package/packages/omo-codex/plugin/skills/browser/scripts/omowright.mjs +1 -10
- package/packages/omo-codex/plugin/skills/frontend/ATTRIBUTION.md +2 -2
- package/packages/omo-codex/plugin/skills/frontend/SKILL.md +79 -118
- package/packages/omo-codex/plugin/skills/frontend/references/design/README.md +75 -224
- package/packages/omo-codex/plugin/skills/frontend/references/design/stylegallery.md +32 -27
- package/packages/omo-codex/plugin/skills/frontend/references/perfection/README.md +2 -2
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/check-accent-stripes.ts +8 -24
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/check-draft-guard.ts +40 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/collect-files.ts +53 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/draft-guard/findings.ts +16 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/draft-guard/lint.ts +38 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/draft-guard/rules.ts +69 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/draft-guard/text-nodes.ts +121 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/draft-guard/negative/attr-lookalikes.tsx +10 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/draft-guard/negative/bound-values.tsx +12 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/draft-guard/negative/const-generics.tsx +3 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/draft-guard/negative/generics.tsx +7 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/draft-guard/negative/measured-stats.html +6 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/draft-guard/negative/plain-copy.html +9 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/draft-guard/negative/state-copy.html +11 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/draft-guard/positive/attribute-edges.html +7 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/draft-guard/positive/components.tsx +16 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/draft-guard/positive/decorative-badge.vue +7 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/draft-guard/positive/emoji-icons.tsx +9 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/draft-guard/positive/jsx-edges.tsx +1 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/draft-guard/positive/promo-copy.html +6 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/draft-guard/positive/promo-copy.tsx +8 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/draft-guard/positive/vanity-stats.html +5 -0
- package/packages/omo-codex/plugin/skills/init-deep/SKILL.md +1 -1
- package/packages/omo-codex/plugin/skills/programming/SKILL.md +10 -7
- package/packages/omo-codex/plugin/skills/programming/references/typescript/README.md +10 -7
- package/packages/omo-codex/plugin/skills/programming/references/typescript/bootstrap.md +9 -23
- package/packages/omo-codex/plugin/skills/programming/references/typescript/oxc-lint.md +130 -0
- package/packages/omo-codex/plugin/skills/programming/references/typescript/tsconfig-strict.md +6 -62
- package/packages/omo-codex/plugin/skills/programming/scripts/typescript/check-no-excuse-rules.ts +12 -12
- package/packages/omo-codex/plugin/skills/programming/scripts/typescript/new-project.ts +20 -81
- package/packages/omo-codex/plugin/skills/programming/scripts/typescript/oxc/.oxfmtrc.json +9 -0
- package/packages/omo-codex/plugin/skills/programming/scripts/typescript/oxc/.oxlintrc.json +46 -0
- package/packages/omo-codex/plugin/skills/programming/scripts/typescript/oxc/lint/oxlint-plugin/LICENSE +21 -0
- package/packages/omo-codex/plugin/skills/programming/scripts/typescript/oxc/lint/oxlint-plugin/index.js +10 -0
- package/packages/omo-codex/plugin/skills/programming/scripts/typescript/oxc/lint/oxlint-plugin/no-em-dash-copy.js +28 -0
- package/packages/omo-codex/plugin/skills/programming/scripts/typescript/oxc/lint/oxlint-plugin/require-suppression-reason.js +62 -0
- package/packages/omo-codex/plugin/skills/programming/scripts/typescript/oxc/tsconfig.json +29 -0
- package/packages/omo-codex/plugin/skills/refactor/SKILL.md +14 -14
- package/packages/omo-codex/plugin/skills/remove-ai-slops/SKILL.md +1 -1
- package/packages/omo-codex/plugin/skills/review-work/SKILL.md +2 -2
- package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/AGENTS.md +1 -1
- package/packages/omo-codex/plugin/skills/ulw-execute/SKILL.md +2 -2
- package/packages/omo-codex/plugin/skills/ulw-loop/SKILL.md +1 -1
- package/packages/omo-codex/plugin/skills/ulw-research/AGENTS.md +21 -3
- package/packages/omo-codex/plugin/skills/ulw-research/SKILL.md +37 -12
- package/packages/omo-codex/plugin/skills/ulw-research/references/deliverable-phase.md +77 -16
- package/packages/omo-codex/plugin/skills/ulw-research/references/fact-ledger-grammar.md +134 -0
- package/packages/omo-codex/plugin/skills/ulw-research/references/fact-ledger.md +95 -0
- package/packages/omo-codex/plugin/skills/ulw-research/references/fidelity-claim-kinds.md +19 -0
- package/packages/omo-codex/plugin/skills/ulw-research/references/report-gates.md +68 -3
- package/packages/omo-codex/plugin/skills/ulw-research/references/report-visualization.md +2 -0
- package/packages/omo-codex/plugin/skills/ulw-research/references/unit-rules.md +157 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/claim-kinds.mjs +116 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/claims-index.mjs +125 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/cli-support.mjs +19 -5
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/contracts.mjs +89 -3
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fact-commands-meaning.mjs +191 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fact-commands-verify.mjs +164 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fact-commands.mjs +239 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fact-derive.mjs +66 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fact-expr.mjs +108 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fact-fill.mjs +194 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fact-ledger-kinds.mjs +250 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fact-ledger-schema.mjs +221 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fact-ledger.mjs +123 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fact-locate.mjs +231 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fact-pairs.mjs +187 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fact-recompute.mjs +89 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fidelity-binding.mjs +130 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fidelity-brief.mjs +150 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fidelity-claims.mjs +89 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fidelity-lexicon.mjs +145 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fidelity-records.mjs +163 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fidelity-state.mjs +64 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fidelity-trace.mjs +85 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/fidelity-values.mjs +229 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/gates-fidelity.mjs +113 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/gates-static.mjs +29 -9
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/gates-structure.mjs +1 -1
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/gates-text.mjs +1 -27
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/html-lite.mjs +2 -2
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/html-markup.mjs +182 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/lexicon.mjs +47 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/md-lite.mjs +193 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/meaning-check.mjs +196 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/numerals.mjs +226 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/outcome.mjs +8 -8
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/particles-ko.mjs +108 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/placeholder.mjs +184 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/polish-apply.mjs +115 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/polish-diff.mjs +31 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/polish-project.mjs +125 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/polish-rules.mjs +170 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/rational.mjs +139 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/report-tools-commands.mjs +21 -10
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/report-tools.mjs +15 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/sentence-split.mjs +77 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/source-commands.mjs +140 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/source-snapshot.mjs +176 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/text-normalize.mjs +82 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/text-similarity.mjs +28 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/unit-algebra.mjs +101 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/unit-errors.mjs +23 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/unit-metadata.mjs +31 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/unit-pairs.mjs +72 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/unit-precision.mjs +44 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/unit-rules-shapes.mjs +64 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/unit-rules.mjs +173 -0
- package/packages/omo-codex/plugin/skills/ulw-research/scripts/units.mjs +105 -0
- package/packages/omo-codex/plugin/skills/visual-qa/SKILL.md +71 -64
- package/packages/omo-codex/plugin/test/component-bundled-cli.test.mjs +4 -1
- package/packages/omo-codex/plugin/test/sync-skills-codex-compatibility.test.mjs +19 -0
- package/packages/omo-codex/plugin/test/sync-skills-test-support.mjs +12 -8
- package/packages/omo-codex/scripts/install-dist/install-local.mjs +169 -30
- package/packages/shared-skills/skills/ast-grep/AGENTS.md +1 -1
- package/packages/shared-skills/skills/browser/SKILL.md +21 -22
- package/packages/shared-skills/skills/browser/references/commands.md +2 -9
- package/packages/shared-skills/skills/browser/references/install.md +1 -2
- package/packages/shared-skills/skills/browser/runtime/omowright/manifest.json +1 -1
- package/packages/shared-skills/skills/browser/scripts/browser-doctor.mjs +2 -2
- package/packages/shared-skills/skills/browser/scripts/browser-engine-guard.mjs +63 -487
- package/packages/shared-skills/skills/browser/scripts/browser-install.mjs +1 -1
- package/packages/shared-skills/skills/browser/scripts/omowright.mjs +1 -10
- package/packages/shared-skills/skills/frontend/ATTRIBUTION.md +2 -2
- package/packages/shared-skills/skills/frontend/SKILL.md +79 -118
- package/packages/shared-skills/skills/frontend/references/design/README.md +75 -224
- package/packages/shared-skills/skills/frontend/references/design/stylegallery.md +32 -27
- package/packages/shared-skills/skills/frontend/references/perfection/README.md +2 -2
- package/packages/shared-skills/skills/frontend/scripts/perfection/check-accent-stripes.ts +8 -24
- package/packages/shared-skills/skills/frontend/scripts/perfection/check-draft-guard.test.ts +101 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/check-draft-guard.ts +40 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/collect-files.test.ts +50 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/collect-files.ts +53 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/draft-guard/findings.ts +16 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/draft-guard/lint.ts +38 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/draft-guard/rules.ts +69 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/draft-guard/text-nodes.ts +121 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/draft-guard/negative/attr-lookalikes.tsx +10 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/draft-guard/negative/bound-values.tsx +12 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/draft-guard/negative/const-generics.tsx +3 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/draft-guard/negative/generics.tsx +7 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/draft-guard/negative/measured-stats.html +6 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/draft-guard/negative/plain-copy.html +9 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/draft-guard/negative/state-copy.html +11 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/draft-guard/positive/attribute-edges.html +7 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/draft-guard/positive/components.tsx +16 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/draft-guard/positive/decorative-badge.vue +7 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/draft-guard/positive/emoji-icons.tsx +9 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/draft-guard/positive/jsx-edges.tsx +1 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/draft-guard/positive/promo-copy.html +6 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/draft-guard/positive/promo-copy.tsx +8 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/draft-guard/positive/vanity-stats.html +5 -0
- package/packages/shared-skills/skills/programming/SKILL.md +10 -7
- package/packages/shared-skills/skills/programming/references/typescript/README.md +10 -7
- package/packages/shared-skills/skills/programming/references/typescript/bootstrap.md +9 -23
- package/packages/shared-skills/skills/programming/references/typescript/oxc-lint.md +130 -0
- package/packages/shared-skills/skills/programming/references/typescript/tsconfig-strict.md +6 -62
- package/packages/shared-skills/skills/programming/scripts/typescript/check-no-excuse-rules.ts +12 -12
- package/packages/shared-skills/skills/programming/scripts/typescript/new-project.test.ts +162 -0
- package/packages/shared-skills/skills/programming/scripts/typescript/new-project.ts +20 -81
- package/packages/shared-skills/skills/programming/scripts/typescript/oxc/.oxfmtrc.json +9 -0
- package/packages/shared-skills/skills/programming/scripts/typescript/oxc/.oxlintrc.json +46 -0
- package/packages/shared-skills/skills/programming/scripts/typescript/oxc/lint/oxlint-plugin/LICENSE +21 -0
- package/packages/shared-skills/skills/programming/scripts/typescript/oxc/lint/oxlint-plugin/index.js +10 -0
- package/packages/shared-skills/skills/programming/scripts/typescript/oxc/lint/oxlint-plugin/no-em-dash-copy.js +28 -0
- package/packages/shared-skills/skills/programming/scripts/typescript/oxc/lint/oxlint-plugin/require-suppression-reason.js +62 -0
- package/packages/shared-skills/skills/programming/scripts/typescript/oxc/tsconfig.json +29 -0
- package/packages/shared-skills/skills/refactor/SKILL.md +13 -13
- package/packages/shared-skills/skills/ultimate-browsing/engine/AGENTS.md +1 -1
- package/packages/shared-skills/skills/ulw-execute/SKILL.md +1 -1
- package/packages/shared-skills/skills/ulw-research/AGENTS.md +21 -3
- package/packages/shared-skills/skills/ulw-research/SKILL.md +37 -12
- package/packages/shared-skills/skills/ulw-research/references/deliverable-phase.md +77 -16
- package/packages/shared-skills/skills/ulw-research/references/fact-ledger-grammar.md +134 -0
- package/packages/shared-skills/skills/ulw-research/references/fact-ledger.md +95 -0
- package/packages/shared-skills/skills/ulw-research/references/fidelity-claim-kinds.md +19 -0
- package/packages/shared-skills/skills/ulw-research/references/report-gates.md +68 -3
- package/packages/shared-skills/skills/ulw-research/references/report-visualization.md +2 -0
- package/packages/shared-skills/skills/ulw-research/references/unit-rules.md +157 -0
- package/packages/shared-skills/skills/ulw-research/scripts/claim-kinds.mjs +116 -0
- package/packages/shared-skills/skills/ulw-research/scripts/claim-kinds.test.ts +193 -0
- package/packages/shared-skills/skills/ulw-research/scripts/claims-index.mjs +125 -0
- package/packages/shared-skills/skills/ulw-research/scripts/claims-index.test.ts +149 -0
- package/packages/shared-skills/skills/ulw-research/scripts/cli-support.mjs +19 -5
- package/packages/shared-skills/skills/ulw-research/scripts/cli-support.test.ts +13 -2
- package/packages/shared-skills/skills/ulw-research/scripts/contracts.mjs +89 -3
- package/packages/shared-skills/skills/ulw-research/scripts/contracts.test.ts +100 -12
- package/packages/shared-skills/skills/ulw-research/scripts/copy-returns.test.ts +183 -0
- package/packages/shared-skills/skills/ulw-research/scripts/delivery-barrier.test.ts +245 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-commands-meaning.mjs +191 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-commands-verify.mjs +164 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-commands.mjs +239 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-derive.mjs +66 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-derive.test.ts +375 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-expr.mjs +108 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-fill.mjs +194 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-fill.test.ts +221 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-ledger-grammar.test.ts +197 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-ledger-kinds.mjs +250 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-ledger-kinds.test.ts +156 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-ledger-legacy.test.ts +160 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-ledger-schema.mjs +221 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-ledger-schema.test.ts +43 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-ledger.mjs +123 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-ledger.test.ts +254 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-locate.mjs +231 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-locate.test.ts +118 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-pairs.mjs +187 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-pairs.test.ts +167 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-recompute.mjs +89 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-unit-dimensions.test.ts +409 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fact-unit-rules.test.ts +388 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fidelity-binding.mjs +130 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fidelity-binding.test.ts +81 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fidelity-brief.mjs +150 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fidelity-brief.test.ts +179 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fidelity-claims.mjs +89 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fidelity-lexicon.mjs +145 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fidelity-lexicon.test.ts +117 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fidelity-records.mjs +163 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fidelity-state.mjs +64 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fidelity-state.test.ts +46 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fidelity-trace.mjs +85 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fidelity-trace.test.ts +58 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fidelity-values.mjs +229 -0
- package/packages/shared-skills/skills/ulw-research/scripts/fidelity-values.test.ts +270 -0
- package/packages/shared-skills/skills/ulw-research/scripts/gates-context.test.ts +64 -0
- package/packages/shared-skills/skills/ulw-research/scripts/gates-fidelity.mjs +113 -0
- package/packages/shared-skills/skills/ulw-research/scripts/gates-fidelity.test.ts +73 -0
- package/packages/shared-skills/skills/ulw-research/scripts/gates-static.mjs +29 -9
- package/packages/shared-skills/skills/ulw-research/scripts/gates-structure.mjs +1 -1
- package/packages/shared-skills/skills/ulw-research/scripts/gates-text.mjs +1 -27
- package/packages/shared-skills/skills/ulw-research/scripts/html-lite.mjs +2 -2
- package/packages/shared-skills/skills/ulw-research/scripts/html-markup.mjs +182 -0
- package/packages/shared-skills/skills/ulw-research/scripts/lexicon.mjs +47 -0
- package/packages/shared-skills/skills/ulw-research/scripts/lexicon.test.ts +57 -0
- package/packages/shared-skills/skills/ulw-research/scripts/md-lite.mjs +193 -0
- package/packages/shared-skills/skills/ulw-research/scripts/md-lite.test.ts +271 -0
- package/packages/shared-skills/skills/ulw-research/scripts/meaning-check.mjs +196 -0
- package/packages/shared-skills/skills/ulw-research/scripts/meaning-check.test.ts +228 -0
- package/packages/shared-skills/skills/ulw-research/scripts/numerals.mjs +226 -0
- package/packages/shared-skills/skills/ulw-research/scripts/numerals.test.ts +120 -0
- package/packages/shared-skills/skills/ulw-research/scripts/outcome.mjs +8 -8
- package/packages/shared-skills/skills/ulw-research/scripts/outcome.test.ts +29 -0
- package/packages/shared-skills/skills/ulw-research/scripts/particles-ko.mjs +108 -0
- package/packages/shared-skills/skills/ulw-research/scripts/particles-ko.test.ts +86 -0
- package/packages/shared-skills/skills/ulw-research/scripts/placeholder.mjs +184 -0
- package/packages/shared-skills/skills/ulw-research/scripts/placeholder.test.ts +77 -0
- package/packages/shared-skills/skills/ulw-research/scripts/polish-apply.mjs +115 -0
- package/packages/shared-skills/skills/ulw-research/scripts/polish-apply.test.ts +363 -0
- package/packages/shared-skills/skills/ulw-research/scripts/polish-diff.mjs +31 -0
- package/packages/shared-skills/skills/ulw-research/scripts/polish-diff.test.ts +168 -0
- package/packages/shared-skills/skills/ulw-research/scripts/polish-markup.test.ts +187 -0
- package/packages/shared-skills/skills/ulw-research/scripts/polish-project.mjs +125 -0
- package/packages/shared-skills/skills/ulw-research/scripts/polish-rules.mjs +170 -0
- package/packages/shared-skills/skills/ulw-research/scripts/rational.mjs +139 -0
- package/packages/shared-skills/skills/ulw-research/scripts/rational.test.ts +46 -0
- package/packages/shared-skills/skills/ulw-research/scripts/report-tools-commands.mjs +21 -10
- package/packages/shared-skills/skills/ulw-research/scripts/report-tools.mjs +15 -0
- package/packages/shared-skills/skills/ulw-research/scripts/report-tools.test.ts +458 -2
- package/packages/shared-skills/skills/ulw-research/scripts/sentence-split.mjs +77 -0
- package/packages/shared-skills/skills/ulw-research/scripts/sentence-split.test.ts +109 -0
- package/packages/shared-skills/skills/ulw-research/scripts/source-commands.mjs +140 -0
- package/packages/shared-skills/skills/ulw-research/scripts/source-snapshot.mjs +176 -0
- package/packages/shared-skills/skills/ulw-research/scripts/source-snapshot.test.ts +113 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/assets/share.csv +3 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/claim-graph.md +13 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/gen-legacy-dev.mjs +89 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/ledger-basic.json +223 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/ledger-legacy-dev.json +859 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/ledger-verify.json +420 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/report-bad.html +19 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/report-good.html +39 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/sources/S4/acronyms.json +3 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/sources/S4/meta.json +9 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/sources/S4/sentences.jsonl +7 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/sources/S4/text.txt +7 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/sources/S4.html +19 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/sources/S5/acronyms.json +1 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/sources/S5/meta.json +9 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/sources/S5/sentences.jsonl +1 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/sources/S5/text.txt +1 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity/sources/S9.txt +1 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity-brief-locked.md +17 -0
- package/packages/shared-skills/skills/ulw-research/scripts/tests/fixtures/fidelity-brief-pending.md +17 -0
- package/packages/shared-skills/skills/ulw-research/scripts/text-normalize.mjs +82 -0
- package/packages/shared-skills/skills/ulw-research/scripts/text-normalize.test.ts +73 -0
- package/packages/shared-skills/skills/ulw-research/scripts/text-similarity.mjs +28 -0
- package/packages/shared-skills/skills/ulw-research/scripts/text-similarity.test.ts +38 -0
- package/packages/shared-skills/skills/ulw-research/scripts/unit-algebra.mjs +101 -0
- package/packages/shared-skills/skills/ulw-research/scripts/unit-errors.mjs +23 -0
- package/packages/shared-skills/skills/ulw-research/scripts/unit-metadata.mjs +31 -0
- package/packages/shared-skills/skills/ulw-research/scripts/unit-pairs.mjs +72 -0
- package/packages/shared-skills/skills/ulw-research/scripts/unit-precision.mjs +44 -0
- package/packages/shared-skills/skills/ulw-research/scripts/unit-rules-shapes.mjs +64 -0
- package/packages/shared-skills/skills/ulw-research/scripts/unit-rules.mjs +173 -0
- package/packages/shared-skills/skills/ulw-research/scripts/units.mjs +105 -0
- package/packages/shared-skills/skills/ulw-research/scripts/units.test.ts +83 -0
- package/packages/shared-skills/skills/visual-qa/SKILL.md +70 -63
- package/packages/shared-skills/skills/visual-qa/scripts/skill-doc-fields.test.ts +34 -0
- package/script/qa/web-terminal-visual-qa.mjs +6 -2
- package/script/qa/xterm-live-terminal.mjs +26 -3
|
@@ -32,6 +32,14 @@ node script/qa/web-terminal-visual-qa.mjs --title "menu nav" --command "my-tui"
|
|
|
32
32
|
--dwell-ms 2000 --evidence-dir .omo/evidence/run/menu
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
+
A TUI that takes a while to start can drop the first keystrokes. Put `{WaitFor:<text>}` before them: it polls the rendered xterm buffer until `<text>` appears, then continues. If the text never appears within `--wait-for-timeout-ms` (default 10000), the capture fails with an error that names the text and the timeout:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
node script/qa/web-terminal-visual-qa.mjs --title "mcp" --command "senpi" \
|
|
39
|
+
--input "{WaitFor:❯}" --input "/mcp" --input "{Enter}" --input "{WaitFor:MCP servers}" \
|
|
40
|
+
--evidence-dir .omo/evidence/run/mcp
|
|
41
|
+
```
|
|
42
|
+
|
|
35
43
|
## Redaction Contract
|
|
36
44
|
|
|
37
45
|
The helper redacts terminal content before writing `terminal.txt`, `terminal-ansi.txt`, and - when a rule matches - re-renders the masked stream so `terminal.png` never shows the secret. Built-in rules cover common authorization headers, token/password/key assignments, GitHub tokens, and OpenAI-style `sk-...` tokens.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lazycodex-ai",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.46",
|
|
4
4
|
"description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -4893,7 +4893,7 @@ function formatInstallOptions(serverId, installHint) {
|
|
|
4893
4893
|
return ["To install, run:", ` ${installHint}`];
|
|
4894
4894
|
}
|
|
4895
4895
|
return [
|
|
4896
|
-
"To install in THIS repository (preferred
|
|
4896
|
+
"To install in THIS repository (preferred, no global install needed):",
|
|
4897
4897
|
` ${localHint}`,
|
|
4898
4898
|
"",
|
|
4899
4899
|
"Or install it globally:",
|
|
@@ -4906,7 +4906,7 @@ function formatNotInstalled(result) {
|
|
|
4906
4906
|
const decision = loadInstallDecision(server.id)?.decision;
|
|
4907
4907
|
const context = lspRequestContext();
|
|
4908
4908
|
if (decision === "declined") {
|
|
4909
|
-
return `LSP server '${server.id}' (${extensions}) is NOT INSTALLED; user previously declined installation
|
|
4909
|
+
return `LSP server '${server.id}' (${extensions}) is NOT INSTALLED; user previously declined installation: proceed without LSP.`;
|
|
4910
4910
|
}
|
|
4911
4911
|
const header = [
|
|
4912
4912
|
`LSP server '${server.id}' for ${extensions} is NOT INSTALLED.`,
|
|
@@ -4928,7 +4928,7 @@ function formatNotInstalled(result) {
|
|
|
4928
4928
|
...header,
|
|
4929
4929
|
...installOptions,
|
|
4930
4930
|
"",
|
|
4931
|
-
"ACTION REQUIRED
|
|
4931
|
+
"ACTION REQUIRED: ASK THE USER whether to install this LSP server.",
|
|
4932
4932
|
"Install-decision recording is unavailable in this harness; proceed without LSP if the user declines."
|
|
4933
4933
|
].join(`
|
|
4934
4934
|
`);
|
|
@@ -4937,7 +4937,7 @@ function formatNotInstalled(result) {
|
|
|
4937
4937
|
...header,
|
|
4938
4938
|
...installOptions,
|
|
4939
4939
|
"",
|
|
4940
|
-
"ACTION REQUIRED
|
|
4940
|
+
"ACTION REQUIRED: ASK THE USER whether to install this LSP server.",
|
|
4941
4941
|
"- If the user agrees: run the install command above, then retry this tool.",
|
|
4942
4942
|
"- If the user declines, OR has NOT explicitly asked for LSP installation:",
|
|
4943
4943
|
` call lsp_install_decision { server_id: "${server.id}", decision: "declined" },`,
|
|
@@ -6299,6 +6299,7 @@ function coerceToolArguments(value) {
|
|
|
6299
6299
|
// ../lsp-core/src/mcp.ts
|
|
6300
6300
|
var SERVER_NAME = "lsp";
|
|
6301
6301
|
var SERVER_VERSION = "0.1.0";
|
|
6302
|
+
var PROTOCOL_VERSIONS = ["2025-06-18", "2025-03-26", "2024-11-05"];
|
|
6302
6303
|
async function handleLspMcpRequest(input, options = {}) {
|
|
6303
6304
|
if (!isPlainRecord(input)) {
|
|
6304
6305
|
return errorResponse(null, -32600, "Invalid Request");
|
|
@@ -6355,9 +6356,8 @@ function describeTool(tool) {
|
|
|
6355
6356
|
};
|
|
6356
6357
|
}
|
|
6357
6358
|
function requestedProtocolVersion(params) {
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
return params["protocolVersion"];
|
|
6359
|
+
const requested = isPlainRecord(params) ? params["protocolVersion"] : undefined;
|
|
6360
|
+
return typeof requested === "string" && PROTOCOL_VERSIONS.includes(requested) ? requested : "2025-06-18";
|
|
6361
6361
|
}
|
|
6362
6362
|
|
|
6363
6363
|
// src/daemon-client.ts
|
|
@@ -5129,7 +5129,7 @@ function formatInstallOptions(serverId, installHint) {
|
|
|
5129
5129
|
return ["To install, run:", ` ${installHint}`];
|
|
5130
5130
|
}
|
|
5131
5131
|
return [
|
|
5132
|
-
"To install in THIS repository (preferred
|
|
5132
|
+
"To install in THIS repository (preferred, no global install needed):",
|
|
5133
5133
|
` ${localHint}`,
|
|
5134
5134
|
"",
|
|
5135
5135
|
"Or install it globally:",
|
|
@@ -5142,7 +5142,7 @@ function formatNotInstalled(result) {
|
|
|
5142
5142
|
const decision = loadInstallDecision(server.id)?.decision;
|
|
5143
5143
|
const context = lspRequestContext();
|
|
5144
5144
|
if (decision === "declined") {
|
|
5145
|
-
return `LSP server '${server.id}' (${extensions}) is NOT INSTALLED; user previously declined installation
|
|
5145
|
+
return `LSP server '${server.id}' (${extensions}) is NOT INSTALLED; user previously declined installation: proceed without LSP.`;
|
|
5146
5146
|
}
|
|
5147
5147
|
const header = [
|
|
5148
5148
|
`LSP server '${server.id}' for ${extensions} is NOT INSTALLED.`,
|
|
@@ -5164,7 +5164,7 @@ function formatNotInstalled(result) {
|
|
|
5164
5164
|
...header,
|
|
5165
5165
|
...installOptions,
|
|
5166
5166
|
"",
|
|
5167
|
-
"ACTION REQUIRED
|
|
5167
|
+
"ACTION REQUIRED: ASK THE USER whether to install this LSP server.",
|
|
5168
5168
|
"Install-decision recording is unavailable in this harness; proceed without LSP if the user declines."
|
|
5169
5169
|
].join(`
|
|
5170
5170
|
`);
|
|
@@ -5173,7 +5173,7 @@ function formatNotInstalled(result) {
|
|
|
5173
5173
|
...header,
|
|
5174
5174
|
...installOptions,
|
|
5175
5175
|
"",
|
|
5176
|
-
"ACTION REQUIRED
|
|
5176
|
+
"ACTION REQUIRED: ASK THE USER whether to install this LSP server.",
|
|
5177
5177
|
"- If the user agrees: run the install command above, then retry this tool.",
|
|
5178
5178
|
"- If the user declines, OR has NOT explicitly asked for LSP installation:",
|
|
5179
5179
|
` call lsp_install_decision { server_id: "${server.id}", decision: "declined" },`,
|
|
@@ -6535,6 +6535,7 @@ function coerceToolArguments(value) {
|
|
|
6535
6535
|
// ../lsp-core/src/mcp.ts
|
|
6536
6536
|
var SERVER_NAME = "lsp";
|
|
6537
6537
|
var SERVER_VERSION = "0.1.0";
|
|
6538
|
+
var PROTOCOL_VERSIONS = ["2025-06-18", "2025-03-26", "2024-11-05"];
|
|
6538
6539
|
async function handleLspMcpRequest(input, options = {}) {
|
|
6539
6540
|
if (!isPlainRecord(input)) {
|
|
6540
6541
|
return errorResponse(null, -32600, "Invalid Request");
|
|
@@ -6591,9 +6592,8 @@ function describeTool(tool) {
|
|
|
6591
6592
|
};
|
|
6592
6593
|
}
|
|
6593
6594
|
function requestedProtocolVersion(params) {
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
return params["protocolVersion"];
|
|
6595
|
+
const requested = isPlainRecord(params) ? params["protocolVersion"] : undefined;
|
|
6596
|
+
return typeof requested === "string" && PROTOCOL_VERSIONS.includes(requested) ? requested : "2025-06-18";
|
|
6597
6597
|
}
|
|
6598
6598
|
|
|
6599
6599
|
// src/request-routing.ts
|
|
@@ -5124,7 +5124,7 @@ function formatInstallOptions(serverId, installHint) {
|
|
|
5124
5124
|
return ["To install, run:", ` ${installHint}`];
|
|
5125
5125
|
}
|
|
5126
5126
|
return [
|
|
5127
|
-
"To install in THIS repository (preferred
|
|
5127
|
+
"To install in THIS repository (preferred, no global install needed):",
|
|
5128
5128
|
` ${localHint}`,
|
|
5129
5129
|
"",
|
|
5130
5130
|
"Or install it globally:",
|
|
@@ -5137,7 +5137,7 @@ function formatNotInstalled(result) {
|
|
|
5137
5137
|
const decision = loadInstallDecision(server.id)?.decision;
|
|
5138
5138
|
const context = lspRequestContext();
|
|
5139
5139
|
if (decision === "declined") {
|
|
5140
|
-
return `LSP server '${server.id}' (${extensions}) is NOT INSTALLED; user previously declined installation
|
|
5140
|
+
return `LSP server '${server.id}' (${extensions}) is NOT INSTALLED; user previously declined installation: proceed without LSP.`;
|
|
5141
5141
|
}
|
|
5142
5142
|
const header = [
|
|
5143
5143
|
`LSP server '${server.id}' for ${extensions} is NOT INSTALLED.`,
|
|
@@ -5159,7 +5159,7 @@ function formatNotInstalled(result) {
|
|
|
5159
5159
|
...header,
|
|
5160
5160
|
...installOptions,
|
|
5161
5161
|
"",
|
|
5162
|
-
"ACTION REQUIRED
|
|
5162
|
+
"ACTION REQUIRED: ASK THE USER whether to install this LSP server.",
|
|
5163
5163
|
"Install-decision recording is unavailable in this harness; proceed without LSP if the user declines."
|
|
5164
5164
|
].join(`
|
|
5165
5165
|
`);
|
|
@@ -5168,7 +5168,7 @@ function formatNotInstalled(result) {
|
|
|
5168
5168
|
...header,
|
|
5169
5169
|
...installOptions,
|
|
5170
5170
|
"",
|
|
5171
|
-
"ACTION REQUIRED
|
|
5171
|
+
"ACTION REQUIRED: ASK THE USER whether to install this LSP server.",
|
|
5172
5172
|
"- If the user agrees: run the install command above, then retry this tool.",
|
|
5173
5173
|
"- If the user declines, OR has NOT explicitly asked for LSP installation:",
|
|
5174
5174
|
` call lsp_install_decision { server_id: "${server.id}", decision: "declined" },`,
|
|
@@ -6530,6 +6530,7 @@ function coerceToolArguments(value) {
|
|
|
6530
6530
|
// ../lsp-core/src/mcp.ts
|
|
6531
6531
|
var SERVER_NAME = "lsp";
|
|
6532
6532
|
var SERVER_VERSION = "0.1.0";
|
|
6533
|
+
var PROTOCOL_VERSIONS = ["2025-06-18", "2025-03-26", "2024-11-05"];
|
|
6533
6534
|
async function handleLspMcpRequest(input, options = {}) {
|
|
6534
6535
|
if (!isPlainRecord(input)) {
|
|
6535
6536
|
return errorResponse(null, -32600, "Invalid Request");
|
|
@@ -6586,9 +6587,8 @@ function describeTool(tool) {
|
|
|
6586
6587
|
};
|
|
6587
6588
|
}
|
|
6588
6589
|
function requestedProtocolVersion(params) {
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
return params["protocolVersion"];
|
|
6590
|
+
const requested = isPlainRecord(params) ? params["protocolVersion"] : undefined;
|
|
6591
|
+
return typeof requested === "string" && PROTOCOL_VERSIONS.includes(requested) ? requested : "2025-06-18";
|
|
6592
6592
|
}
|
|
6593
6593
|
|
|
6594
6594
|
// src/request-routing.ts
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"test": "vitest --run",
|
|
31
31
|
"test:watch": "vitest",
|
|
32
32
|
"typecheck": "tsc --noEmit",
|
|
33
|
-
"lint": "biome
|
|
34
|
-
"lint:fix": "biome
|
|
35
|
-
"check": "tsc --noEmit && biome
|
|
33
|
+
"lint": "biome format .",
|
|
34
|
+
"lint:fix": "biome format --write .",
|
|
35
|
+
"check": "tsc --noEmit && biome format . && npm run build"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@vitest/coverage-v8": "5.0.1",
|
|
@@ -4462,7 +4462,7 @@ function formatInstallOptions(serverId, installHint) {
|
|
|
4462
4462
|
return ["To install, run:", ` ${installHint}`];
|
|
4463
4463
|
}
|
|
4464
4464
|
return [
|
|
4465
|
-
"To install in THIS repository (preferred
|
|
4465
|
+
"To install in THIS repository (preferred, no global install needed):",
|
|
4466
4466
|
` ${localHint}`,
|
|
4467
4467
|
"",
|
|
4468
4468
|
"Or install it globally:",
|
|
@@ -4475,7 +4475,7 @@ function formatNotInstalled(result) {
|
|
|
4475
4475
|
const decision = loadInstallDecision(server.id)?.decision;
|
|
4476
4476
|
const context = lspRequestContext();
|
|
4477
4477
|
if (decision === "declined") {
|
|
4478
|
-
return `LSP server '${server.id}' (${extensions}) is NOT INSTALLED; user previously declined installation
|
|
4478
|
+
return `LSP server '${server.id}' (${extensions}) is NOT INSTALLED; user previously declined installation: proceed without LSP.`;
|
|
4479
4479
|
}
|
|
4480
4480
|
const header = [
|
|
4481
4481
|
`LSP server '${server.id}' for ${extensions} is NOT INSTALLED.`,
|
|
@@ -4497,7 +4497,7 @@ function formatNotInstalled(result) {
|
|
|
4497
4497
|
...header,
|
|
4498
4498
|
...installOptions,
|
|
4499
4499
|
"",
|
|
4500
|
-
"ACTION REQUIRED
|
|
4500
|
+
"ACTION REQUIRED: ASK THE USER whether to install this LSP server.",
|
|
4501
4501
|
"Install-decision recording is unavailable in this harness; proceed without LSP if the user declines."
|
|
4502
4502
|
].join(`
|
|
4503
4503
|
`);
|
|
@@ -4506,7 +4506,7 @@ function formatNotInstalled(result) {
|
|
|
4506
4506
|
...header,
|
|
4507
4507
|
...installOptions,
|
|
4508
4508
|
"",
|
|
4509
|
-
"ACTION REQUIRED
|
|
4509
|
+
"ACTION REQUIRED: ASK THE USER whether to install this LSP server.",
|
|
4510
4510
|
"- If the user agrees: run the install command above, then retry this tool.",
|
|
4511
4511
|
"- If the user declines, OR has NOT explicitly asked for LSP installation:",
|
|
4512
4512
|
` call lsp_install_decision { server_id: "${server.id}", decision: "declined" },`,
|
|
@@ -5868,6 +5868,7 @@ function coerceToolArguments(value) {
|
|
|
5868
5868
|
// ../lsp-core/src/mcp.ts
|
|
5869
5869
|
var SERVER_NAME = "lsp";
|
|
5870
5870
|
var SERVER_VERSION = "0.1.0";
|
|
5871
|
+
var PROTOCOL_VERSIONS = ["2025-06-18", "2025-03-26", "2024-11-05"];
|
|
5871
5872
|
async function handleLspMcpRequest(input, options = {}) {
|
|
5872
5873
|
if (!isPlainRecord(input)) {
|
|
5873
5874
|
return errorResponse(null, -32600, "Invalid Request");
|
|
@@ -5935,9 +5936,8 @@ function describeTool(tool) {
|
|
|
5935
5936
|
};
|
|
5936
5937
|
}
|
|
5937
5938
|
function requestedProtocolVersion(params) {
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
return params["protocolVersion"];
|
|
5939
|
+
const requested = isPlainRecord(params) ? params["protocolVersion"] : undefined;
|
|
5940
|
+
return typeof requested === "string" && PROTOCOL_VERSIONS.includes(requested) ? requested : "2025-06-18";
|
|
5941
5941
|
}
|
|
5942
5942
|
// src/cli.ts
|
|
5943
5943
|
async function main() {
|
|
@@ -4458,7 +4458,7 @@ function formatInstallOptions(serverId, installHint) {
|
|
|
4458
4458
|
return ["To install, run:", ` ${installHint}`];
|
|
4459
4459
|
}
|
|
4460
4460
|
return [
|
|
4461
|
-
"To install in THIS repository (preferred
|
|
4461
|
+
"To install in THIS repository (preferred, no global install needed):",
|
|
4462
4462
|
` ${localHint}`,
|
|
4463
4463
|
"",
|
|
4464
4464
|
"Or install it globally:",
|
|
@@ -4471,7 +4471,7 @@ function formatNotInstalled(result) {
|
|
|
4471
4471
|
const decision = loadInstallDecision(server.id)?.decision;
|
|
4472
4472
|
const context = lspRequestContext();
|
|
4473
4473
|
if (decision === "declined") {
|
|
4474
|
-
return `LSP server '${server.id}' (${extensions}) is NOT INSTALLED; user previously declined installation
|
|
4474
|
+
return `LSP server '${server.id}' (${extensions}) is NOT INSTALLED; user previously declined installation: proceed without LSP.`;
|
|
4475
4475
|
}
|
|
4476
4476
|
const header = [
|
|
4477
4477
|
`LSP server '${server.id}' for ${extensions} is NOT INSTALLED.`,
|
|
@@ -4493,7 +4493,7 @@ function formatNotInstalled(result) {
|
|
|
4493
4493
|
...header,
|
|
4494
4494
|
...installOptions,
|
|
4495
4495
|
"",
|
|
4496
|
-
"ACTION REQUIRED
|
|
4496
|
+
"ACTION REQUIRED: ASK THE USER whether to install this LSP server.",
|
|
4497
4497
|
"Install-decision recording is unavailable in this harness; proceed without LSP if the user declines."
|
|
4498
4498
|
].join(`
|
|
4499
4499
|
`);
|
|
@@ -4502,7 +4502,7 @@ function formatNotInstalled(result) {
|
|
|
4502
4502
|
...header,
|
|
4503
4503
|
...installOptions,
|
|
4504
4504
|
"",
|
|
4505
|
-
"ACTION REQUIRED
|
|
4505
|
+
"ACTION REQUIRED: ASK THE USER whether to install this LSP server.",
|
|
4506
4506
|
"- If the user agrees: run the install command above, then retry this tool.",
|
|
4507
4507
|
"- If the user declines, OR has NOT explicitly asked for LSP installation:",
|
|
4508
4508
|
` call lsp_install_decision { server_id: "${server.id}", decision: "declined" },`,
|
|
@@ -5864,6 +5864,7 @@ function coerceToolArguments(value) {
|
|
|
5864
5864
|
// ../lsp-core/src/mcp.ts
|
|
5865
5865
|
var SERVER_NAME = "lsp";
|
|
5866
5866
|
var SERVER_VERSION = "0.1.0";
|
|
5867
|
+
var PROTOCOL_VERSIONS = ["2025-06-18", "2025-03-26", "2024-11-05"];
|
|
5867
5868
|
async function handleLspMcpRequest(input, options = {}) {
|
|
5868
5869
|
if (!isPlainRecord(input)) {
|
|
5869
5870
|
return errorResponse(null, -32600, "Invalid Request");
|
|
@@ -5931,9 +5932,8 @@ function describeTool(tool) {
|
|
|
5931
5932
|
};
|
|
5932
5933
|
}
|
|
5933
5934
|
function requestedProtocolVersion(params) {
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
return params["protocolVersion"];
|
|
5935
|
+
const requested = isPlainRecord(params) ? params["protocolVersion"] : undefined;
|
|
5936
|
+
return typeof requested === "string" && PROTOCOL_VERSIONS.includes(requested) ? requested : "2025-06-18";
|
|
5937
5937
|
}
|
|
5938
5938
|
export {
|
|
5939
5939
|
handleLspMcpRequest,
|
|
@@ -4146,7 +4146,7 @@ function formatInstallOptions(serverId, installHint) {
|
|
|
4146
4146
|
return ["To install, run:", ` ${installHint}`];
|
|
4147
4147
|
}
|
|
4148
4148
|
return [
|
|
4149
|
-
"To install in THIS repository (preferred
|
|
4149
|
+
"To install in THIS repository (preferred, no global install needed):",
|
|
4150
4150
|
` ${localHint}`,
|
|
4151
4151
|
"",
|
|
4152
4152
|
"Or install it globally:",
|
|
@@ -4159,7 +4159,7 @@ function formatNotInstalled(result) {
|
|
|
4159
4159
|
const decision = loadInstallDecision(server.id)?.decision;
|
|
4160
4160
|
const context = lspRequestContext();
|
|
4161
4161
|
if (decision === "declined") {
|
|
4162
|
-
return `LSP server '${server.id}' (${extensions}) is NOT INSTALLED; user previously declined installation
|
|
4162
|
+
return `LSP server '${server.id}' (${extensions}) is NOT INSTALLED; user previously declined installation: proceed without LSP.`;
|
|
4163
4163
|
}
|
|
4164
4164
|
const header = [
|
|
4165
4165
|
`LSP server '${server.id}' for ${extensions} is NOT INSTALLED.`,
|
|
@@ -4181,7 +4181,7 @@ function formatNotInstalled(result) {
|
|
|
4181
4181
|
...header,
|
|
4182
4182
|
...installOptions,
|
|
4183
4183
|
"",
|
|
4184
|
-
"ACTION REQUIRED
|
|
4184
|
+
"ACTION REQUIRED: ASK THE USER whether to install this LSP server.",
|
|
4185
4185
|
"Install-decision recording is unavailable in this harness; proceed without LSP if the user declines."
|
|
4186
4186
|
].join(`
|
|
4187
4187
|
`);
|
|
@@ -4190,7 +4190,7 @@ function formatNotInstalled(result) {
|
|
|
4190
4190
|
...header,
|
|
4191
4191
|
...installOptions,
|
|
4192
4192
|
"",
|
|
4193
|
-
"ACTION REQUIRED
|
|
4193
|
+
"ACTION REQUIRED: ASK THE USER whether to install this LSP server.",
|
|
4194
4194
|
"- If the user agrees: run the install command above, then retry this tool.",
|
|
4195
4195
|
"- If the user declines, OR has NOT explicitly asked for LSP installation:",
|
|
4196
4196
|
` call lsp_install_decision { server_id: "${server.id}", decision: "declined" },`,
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"test": "vitest --run",
|
|
37
37
|
"test:watch": "vitest",
|
|
38
38
|
"typecheck": "tsc --noEmit",
|
|
39
|
-
"lint": "biome
|
|
40
|
-
"lint:fix": "biome
|
|
41
|
-
"check": "tsc --noEmit && biome
|
|
39
|
+
"lint": "biome format .",
|
|
40
|
+
"lint:fix": "biome format --write .",
|
|
41
|
+
"check": "tsc --noEmit && biome format . && npm run build"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@vitest/coverage-v8": "5.0.1",
|