@automaton-labs/aib 0.0.7 → 0.0.8
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.md +36 -257
- package/config/agent-dx-policy.default.json +31 -0
- package/config/control-plane-client.default.json +3 -0
- package/dist/agent-dx/agent-dx.js +805 -0
- package/dist/agent-dx/presentation.js +32 -0
- package/dist/alias-advisor/analyze.js +982 -0
- package/dist/alias-advisor/exact-text-cost.js +74 -0
- package/dist/alias-advisor/lexical.js +240 -0
- package/dist/alias-advisor/model.js +2 -0
- package/dist/alias-advisor/path-identity.js +49 -0
- package/dist/alias-advisor/ranking.js +171 -0
- package/dist/alias-advisor/token-estimator.js +85 -0
- package/dist/bin/aib.js +5 -1
- package/dist/bin/cli.js +811 -4
- package/dist/commands/add-missing-imports-preview-cache.js +99 -2
- package/dist/commands/add-missing-imports.js +241 -2
- package/dist/commands/apply-module-plan.js +1319 -3
- package/dist/commands/background-command.js +378 -2
- package/dist/commands/captured-input.js +74 -1
- package/dist/commands/config-command.js +314 -2
- package/dist/commands/config-output.js +357 -10
- package/dist/commands/control-plane-command.js +183 -1
- package/dist/commands/declaration-command.js +1209 -7
- package/dist/commands/declaration-execution-cache.js +79 -1
- package/dist/commands/declaration-format.js +221 -1
- package/dist/commands/declaration-preview-cache.js +114 -2
- package/dist/commands/diagnostics-command.js +70 -3
- package/dist/commands/doctor.js +137 -3
- package/dist/commands/execution-command.js +117 -1
- package/dist/commands/exports-star-collapse-command.js +178 -0
- package/dist/commands/exports-star-command.js +252 -0
- package/dist/commands/exports-star-preview-cache.js +84 -0
- package/dist/commands/feedback-command.js +176 -3
- package/dist/commands/file-move-to-dir-execution-cache.js +92 -1
- package/dist/commands/file-move-to-dir-preview-cache.js +125 -2
- package/dist/commands/file-move-to-dir-worker.js +54 -0
- package/dist/commands/file-move-to-dir.js +1073 -5
- package/dist/commands/file-mutation-runtime.js +102 -1
- package/dist/commands/file-mutation-worker-apply.js +180 -0
- package/dist/commands/file-refactor-batch-execution-cache.js +90 -1
- package/dist/commands/file-refactor-batch-preview-cache.js +125 -2
- package/dist/commands/file-refactor-batch-worker.js +54 -0
- package/dist/commands/file-refactor-batch.js +1154 -5
- package/dist/commands/file-rename-execution-cache.js +92 -1
- package/dist/commands/file-rename-preview-cache.js +125 -2
- package/dist/commands/file-rename-worker.js +54 -0
- package/dist/commands/file-rename.js +1053 -5
- package/dist/commands/file-text-edit-executor.js +205 -0
- package/dist/commands/find-importers.js +52 -1
- package/dist/commands/find-unused-imports.js +55 -1
- package/dist/commands/generate-docs-command.js +244 -6
- package/dist/commands/help-command.js +460 -7
- package/dist/commands/import-specifier-policy.js +391 -0
- package/dist/commands/imports-command.js +68 -1
- package/dist/commands/imports-rebase.js +1138 -0
- package/dist/commands/init-skill-usage.js +92 -3
- package/dist/commands/init-workspace.js +30 -1
- package/dist/commands/inspect-alias-candidates.js +413 -0
- package/dist/commands/inspect-cycles.js +811 -5
- package/dist/commands/inspect-direct-usages.js +98 -0
- package/dist/commands/inspect-duplicates-format.js +229 -0
- package/dist/commands/inspect-format-primitives.js +127 -0
- package/dist/commands/inspect-format.js +1590 -18
- package/dist/commands/inspect-graph.js +1553 -9
- package/dist/commands/inspect-imports.js +339 -2
- package/dist/commands/inspect-mixed-format.js +524 -0
- package/dist/commands/inspect-module-plan-format.js +216 -0
- package/dist/commands/inspect-module-plan-serialization.js +402 -0
- package/dist/commands/inspect-reference-path-format.js +157 -0
- package/dist/commands/inspect-request-values.js +599 -0
- package/dist/commands/inspect-selector-kind.js +21 -0
- package/dist/commands/inspect-selector.js +50 -0
- package/dist/commands/inspect-symbol-format.js +90 -0
- package/dist/commands/inspect-topology.js +435 -0
- package/dist/commands/inspect-tree.js +827 -5
- package/dist/commands/inspect-usages-detail.js +793 -0
- package/dist/commands/inspect-usages-evidence.js +31 -0
- package/dist/commands/inspect-usages-format.js +367 -0
- package/dist/commands/inspect.js +1450 -16
- package/dist/commands/internal-command.js +64 -0
- package/dist/commands/json-file-input.js +60 -1
- package/dist/commands/module-plan-cache.js +156 -2
- package/dist/commands/module-plan-standalone.js +208 -0
- package/dist/commands/module-plan-timeout.js +77 -1
- package/dist/commands/move-preview-cache.js +101 -2
- package/dist/commands/mutate-aggregate-output.js +996 -0
- package/dist/commands/mutate-child-execution.js +374 -0
- package/dist/commands/mutate-command.js +1394 -0
- package/dist/commands/mutate-declaration-output.js +313 -0
- package/dist/commands/mutate-domain-adapters.js +638 -0
- package/dist/commands/mutate-execution-cache.js +114 -0
- package/dist/commands/mutate-execution-status.js +598 -0
- package/dist/commands/mutate-failure-output.js +531 -0
- package/dist/commands/mutate-file-view.js +151 -0
- package/dist/commands/mutate-object-output.js +91 -0
- package/dist/commands/mutate-output-values.js +97 -0
- package/dist/commands/mutate-preview-cache.js +86 -0
- package/dist/commands/mutate-response-replay.js +153 -0
- package/dist/commands/mutate-result-projection.js +818 -0
- package/dist/commands/mutation-eta.js +28 -0
- package/dist/commands/mutation-execution-cache.js +140 -3
- package/dist/commands/mutation-recovery-journal.js +195 -0
- package/dist/commands/normalize-imports.js +1120 -4
- package/dist/commands/object-pack-command.js +546 -0
- package/dist/commands/object-pack-preview-cache.js +88 -0
- package/dist/commands/observability-command.js +47 -3
- package/dist/commands/ota-command.js +403 -2
- package/dist/commands/print-config.js +10 -1
- package/dist/commands/quick-read.js +1113 -11
- package/dist/commands/refactor-batch-builder.js +265 -1
- package/dist/commands/refactor-batch-execution-cache.js +85 -1
- package/dist/commands/refactor-batch-preview-cache.js +96 -2
- package/dist/commands/refactor-batch.js +461 -4
- package/dist/commands/rename-entities.js +794 -4
- package/dist/commands/rename-execution-cache.js +49 -1
- package/dist/commands/rename-input.js +22 -1
- package/dist/commands/rename-polling-policy.js +68 -0
- package/dist/commands/rename-preview-cache.js +96 -2
- package/dist/commands/result-view.js +993 -7
- package/dist/commands/reveal-command.js +445 -5
- package/dist/commands/selector-suggestions.js +93 -0
- package/dist/commands/session-workspace.js +1836 -31
- package/dist/commands/shared.js +2 -1
- package/dist/commands/skills-command.js +315 -0
- package/dist/commands/sync-command.js +59 -2
- package/dist/commands/worker-command.js +173 -1
- package/dist/commands/workspace-cache.js +55 -1
- package/dist/config/defaults.js +26 -1
- package/dist/config/env-vars.js +77 -1
- package/dist/config/glob-match.js +44 -1
- package/dist/config/import-rules.js +165 -1
- package/dist/config/local-config.js +293 -3
- package/dist/config/mutation-comments.js +51 -1
- package/dist/config/path-aliases.js +165 -1
- package/dist/config/path-display.js +84 -1
- package/dist/config/product-storage.js +37 -1
- package/dist/config/request-env.js +21 -0
- package/dist/config/request-routing-context.js +23 -0
- package/dist/config/resolve-command-alias.js +74 -1
- package/dist/config/resolve.js +24 -1
- package/dist/config/tsconfig-discovery.js +113 -1
- package/dist/config/typescript-preferences.js +131 -0
- package/dist/config/workspace-root.js +310 -3
- package/dist/config/workspace-state.js +254 -1
- package/dist/content/content-bundle.js +88 -1
- package/dist/diagnostics/module-plan-timeline.js +75 -2
- package/dist/diagnostics/readiness-text.js +45 -8
- package/dist/dsl/aib-dsl.js +838 -1
- package/dist/dsl/declaration-dsl.js +264 -1
- package/dist/dsl/file-move-to-dir-dsl.js +123 -1
- package/dist/dsl/file-refactor-batch-dsl.js +203 -1
- package/dist/dsl/file-rename-dsl.js +135 -1
- package/dist/dsl/mutate-dsl.js +746 -0
- package/dist/help/bootstrap.bash.md +176 -341
- package/dist/help/bootstrap.md +175 -340
- package/dist/help/bootstrap.pwsh.md +176 -341
- package/dist/help/docs/basics.md +1 -1
- package/dist/help/docs/config-setup.import-normalize.md +65 -65
- package/dist/help/docs/config-setup.import-rules.md +6 -5
- package/dist/help/docs/first-setup.md +6 -5
- package/dist/help/docs/help-protocol.md +4 -3
- package/dist/help/docs/import.base.md +38 -0
- package/dist/help/docs/import.rebase.md +85 -0
- package/dist/help/docs/inspect.aliasCandidates.md +39 -0
- package/dist/help/docs/inspect.code.md +1 -7
- package/dist/help/docs/inspect.file.md +10 -19
- package/dist/help/docs/inspect.graph.md +3 -17
- package/dist/help/{dsl/docs/inspect.md → docs/inspect.shared.md} +13 -12
- package/dist/help/docs/modulePlan.md +24 -28
- package/dist/help/docs/move.md +19 -22
- package/dist/help/{dsl/topics/file.move.md → docs/moveToDir.md} +36 -34
- package/dist/help/docs/mutate.mixed.md +34 -0
- package/dist/help/docs/mutation.shared.md +55 -0
- package/dist/help/docs/patterns.md +3 -12
- package/dist/help/docs/qr.md +12 -6
- package/dist/help/docs/quick-map.md +36 -24
- package/dist/help/docs/recipe.file-layout.md +10 -10
- package/dist/help/docs/recipe.import-boundary.md +92 -0
- package/dist/help/docs/recipe.safe-artifact-probing.md +68 -0
- package/dist/help/docs/recipe.unfamiliar-area.md +64 -0
- package/dist/help/docs/recipes.md +20 -0
- package/dist/help/docs/rename.md +19 -27
- package/dist/help/docs/renameFile.md +36 -0
- package/dist/help/docs/rules.md +26 -0
- package/dist/help/dsl/bootstrap.bash.md +176 -341
- package/dist/help/dsl/bootstrap.md +175 -340
- package/dist/help/dsl/bootstrap.pwsh.md +176 -341
- package/dist/help/dsl/docs/basics.md +1 -1
- package/dist/help/dsl/docs/config-setup.import-normalize.md +65 -65
- package/dist/help/dsl/docs/config-setup.import-rules.md +6 -5
- package/dist/help/dsl/docs/first-setup.md +6 -5
- package/dist/help/dsl/docs/help-protocol.md +4 -3
- package/dist/help/dsl/docs/import.base.md +38 -0
- package/dist/help/dsl/docs/import.rebase.md +85 -0
- package/dist/help/dsl/docs/inspect.aliasCandidates.md +39 -0
- package/dist/help/dsl/docs/inspect.code.md +1 -7
- package/dist/help/dsl/docs/inspect.file.md +10 -19
- package/dist/help/dsl/docs/inspect.graph.md +3 -17
- package/dist/help/{docs/inspect.md → dsl/docs/inspect.shared.md} +13 -12
- package/dist/help/dsl/docs/modulePlan.md +24 -28
- package/dist/help/dsl/docs/move.md +19 -22
- package/dist/help/{topics/file.move.md → dsl/docs/moveToDir.md} +36 -34
- package/dist/help/dsl/docs/mutate.mixed.md +34 -0
- package/dist/help/dsl/docs/mutation.shared.md +55 -0
- package/dist/help/dsl/docs/patterns.md +3 -12
- package/dist/help/dsl/docs/qr.md +12 -6
- package/dist/help/dsl/docs/quick-map.md +36 -24
- package/dist/help/dsl/docs/recipe.file-layout.md +10 -10
- package/dist/help/dsl/docs/recipe.import-boundary.md +92 -0
- package/dist/help/dsl/docs/recipe.safe-artifact-probing.md +68 -0
- package/dist/help/dsl/docs/recipe.unfamiliar-area.md +64 -0
- package/dist/help/dsl/docs/recipes.md +20 -0
- package/dist/help/dsl/docs/rename.md +19 -27
- package/dist/help/dsl/docs/renameFile.md +36 -0
- package/dist/help/dsl/docs/rules.md +26 -0
- package/dist/help/dsl/full.md +175 -340
- package/dist/help/dsl/help-index.md +48 -43
- package/dist/help/dsl/snippets/agents.md +2 -2
- package/dist/help/dsl/tokens/qr.inline.examples.md +1 -1
- package/dist/help/dsl/topics/basics.md +1 -1
- package/dist/help/dsl/topics/config-setup.import-normalize.md +65 -65
- package/dist/help/dsl/topics/config-setup.import-rules.md +6 -5
- package/dist/help/dsl/topics/first-setup.md +6 -5
- package/dist/help/dsl/topics/help-protocol.md +4 -3
- package/dist/help/dsl/topics/import.base.md +36 -0
- package/dist/help/dsl/topics/import.rebase.md +83 -0
- package/dist/help/dsl/topics/inspect.aliasCandidates.md +37 -0
- package/dist/help/dsl/topics/inspect.code.md +1 -7
- package/dist/help/dsl/topics/inspect.file.md +10 -19
- package/dist/help/dsl/topics/inspect.graph.md +3 -17
- package/dist/help/dsl/topics/{inspect.md → inspect.shared.md} +13 -12
- package/dist/help/dsl/topics/modulePlan.md +21 -26
- package/dist/help/dsl/topics/move.md +17 -18
- package/dist/help/{docs/file.move.md → dsl/topics/moveToDir.md} +33 -35
- package/dist/help/dsl/topics/mutate.mixed.md +32 -0
- package/dist/help/dsl/topics/mutation.shared.md +53 -0
- package/dist/help/dsl/topics/patterns.md +3 -12
- package/dist/help/dsl/topics/qr.md +12 -6
- package/dist/help/dsl/topics/quick-map.md +36 -24
- package/dist/help/dsl/topics/recipe.file-layout.md +10 -10
- package/dist/help/dsl/topics/recipe.import-boundary.md +90 -0
- package/dist/help/dsl/topics/recipe.safe-artifact-probing.md +66 -0
- package/dist/help/dsl/topics/recipe.unfamiliar-area.md +62 -0
- package/dist/help/dsl/topics/recipes.md +18 -0
- package/dist/help/dsl/topics/rename.md +15 -15
- package/dist/help/dsl/topics/renameFile.md +34 -0
- package/dist/help/dsl/topics/rules.md +24 -0
- package/dist/help/full.md +175 -340
- package/dist/help/help-index.md +48 -43
- package/dist/help/help-meta.json +98 -48
- package/dist/help/index.md +52 -20
- package/dist/help/snippets/agents.md +2 -2
- package/dist/help/tokens/qr.inline.examples.md +1 -1
- package/dist/help/topics/basics.md +1 -1
- package/dist/help/topics/config-setup.import-normalize.md +65 -65
- package/dist/help/topics/config-setup.import-rules.md +6 -5
- package/dist/help/topics/first-setup.md +6 -5
- package/dist/help/topics/help-protocol.md +4 -3
- package/dist/help/topics/import.base.md +36 -0
- package/dist/help/topics/import.rebase.md +83 -0
- package/dist/help/topics/inspect.aliasCandidates.md +37 -0
- package/dist/help/topics/inspect.code.md +1 -7
- package/dist/help/topics/inspect.file.md +10 -19
- package/dist/help/topics/inspect.graph.md +3 -17
- package/dist/help/topics/{inspect.md → inspect.shared.md} +13 -12
- package/dist/help/topics/modulePlan.md +21 -26
- package/dist/help/topics/move.md +17 -18
- package/dist/help/{dsl/docs/file.move.md → topics/moveToDir.md} +33 -35
- package/dist/help/topics/mutate.mixed.md +32 -0
- package/dist/help/topics/mutation.shared.md +53 -0
- package/dist/help/topics/patterns.md +3 -12
- package/dist/help/topics/qr.md +12 -6
- package/dist/help/topics/quick-map.md +36 -24
- package/dist/help/topics/recipe.file-layout.md +10 -10
- package/dist/help/topics/recipe.import-boundary.md +90 -0
- package/dist/help/topics/recipe.safe-artifact-probing.md +66 -0
- package/dist/help/topics/recipe.unfamiliar-area.md +62 -0
- package/dist/help/topics/recipes.md +18 -0
- package/dist/help/topics/rename.md +15 -15
- package/dist/help/topics/renameFile.md +34 -0
- package/dist/help/topics/rules.md +24 -0
- package/dist/host/capabilities.js +56 -1
- package/dist/imports/standalone-import-analysis.js +602 -0
- package/dist/imports/standalone-import-model.js +2 -0
- package/dist/imports/standalone-import-process.js +66 -0
- package/dist/imports/standalone-import-worker.js +27 -0
- package/dist/imports/standalone-ts-project.js +147 -0
- package/dist/inspect/inspect-duplicates-service.js +526 -0
- package/dist/inspect/inspect-reverse-module-closure.js +338 -0
- package/dist/inspect/inspect-source-ranges.js +82 -0
- package/dist/inspect/inspect-source-shape.js +649 -0
- package/dist/inspect/standalone-inspect-analysis.js +319 -0
- package/dist/inspect/standalone-inspect-model.js +9 -0
- package/dist/inspect/standalone-inspect-process.js +55 -0
- package/dist/inspect/standalone-inspect-usages.js +274 -0
- package/dist/inspect/standalone-inspect-worker.js +13 -0
- package/dist/metrics/central-metrics.js +101 -2
- package/dist/mutation/concrete-edit-plan.js +157 -0
- package/dist/mutation/exports-star-collapse-preview.js +361 -0
- package/dist/mutation/exports-star-expand-apply.js +373 -0
- package/dist/mutation/exports-star-expand-preview.js +807 -0
- package/dist/mutation/file-impact-scan.js +182 -0
- package/dist/mutation/file-mutation-discovery.js +674 -0
- package/dist/mutation/file-mutation-eta.js +99 -0
- package/dist/mutation/file-mutation-standalone-apply.js +584 -0
- package/dist/mutation/file-mutation-standalone-planner.js +500 -0
- package/dist/mutation/file-mutation-tsserver-session.js +473 -0
- package/dist/mutation/mutation-estimate.js +45 -0
- package/dist/mutation/mutation-plan.js +467 -0
- package/dist/mutation/object-mutation-foundation.js +2 -0
- package/dist/mutation/object-mutation-partition.js +148 -0
- package/dist/mutation/object-pack-semantic-apply.js +507 -0
- package/dist/mutation/object-pack-semantic-preview.js +984 -0
- package/dist/mutation/object-unpack-semantic-preview.js +993 -0
- package/dist/mutation/package-manifest-impact.js +176 -0
- package/dist/mutation/rename-owner-worker-child.js +37 -0
- package/dist/mutation/rename-owner-worker.js +122 -0
- package/dist/mutation/runtime-cycle-query.js +66 -0
- package/dist/mutation/semantic-execution-progress.js +63 -0
- package/dist/mutation/semantic-export-index.js +474 -0
- package/dist/mutation/semantic-impact-scan.js +434 -0
- package/dist/mutation/semantic-model.js +2 -0
- package/dist/mutation/semantic-move-best-effort-planner.js +209 -0
- package/dist/mutation/semantic-move-config-worker-child.js +61 -0
- package/dist/mutation/semantic-move-config-worker.js +449 -0
- package/dist/mutation/semantic-move-declarations.js +94 -0
- package/dist/mutation/semantic-move-metrics.js +119 -0
- package/dist/mutation/semantic-move-model.js +2 -0
- package/dist/mutation/semantic-move-owner-authority.js +122 -0
- package/dist/mutation/semantic-move-owner-candidates.js +300 -0
- package/dist/mutation/semantic-move-owner-divergence-harness.js +474 -0
- package/dist/mutation/semantic-move-owner-divergence-runner.js +162 -0
- package/dist/mutation/semantic-move-plan-hash.js +56 -0
- package/dist/mutation/semantic-move-policy.js +360 -0
- package/dist/mutation/semantic-move-process.js +218 -0
- package/dist/mutation/semantic-move-provider-diagnostics.js +27 -0
- package/dist/mutation/semantic-move-standalone-engine.js +919 -0
- package/dist/mutation/semantic-move-standalone-planner.js +1553 -0
- package/dist/mutation/semantic-move-transaction.js +639 -0
- package/dist/mutation/semantic-mutation-engine.js +478 -0
- package/dist/mutation/semantic-mutation-runtime.js +521 -0
- package/dist/mutation/semantic-planner-retry.js +26 -0
- package/dist/mutation/semantic-program-roots.js +69 -0
- package/dist/mutation/semantic-rename-commonjs.js +229 -0
- package/dist/mutation/semantic-rename-config-worker-child.js +46 -0
- package/dist/mutation/semantic-rename-config-worker.js +498 -0
- package/dist/mutation/semantic-rename-locations.js +192 -0
- package/dist/mutation/semantic-rename-model.js +2 -0
- package/dist/mutation/semantic-rename-process.js +210 -0
- package/dist/mutation/semantic-rename-standalone-engine.js +302 -0
- package/dist/mutation/semantic-rename-standalone-planner.js +567 -0
- package/dist/mutation/semantic-rename-transaction.js +333 -0
- package/dist/mutation/semantic-unused-import-cleanup.js +248 -0
- package/dist/mutation/semantic-worker-retry.js +40 -0
- package/dist/mutation/semantic-workspace.js +804 -0
- package/dist/mutation/targeted-import-canonicalizer.js +359 -0
- package/dist/observability/config.js +206 -1
- package/dist/observability/context.js +59 -1
- package/dist/observability/failure-snapshot.js +124 -2
- package/dist/observability/recent.js +63 -2
- package/dist/payloads/read-stdin-json.js +212 -1
- package/dist/rg-wrapper/core.js +714 -6
- package/dist/rg-wrapper/options.js +125 -1
- package/dist/rtk-wrapper/core.js +144 -2
- package/dist/rtk-wrapper/git-safety.js +203 -0
- package/dist/rtk-wrapper/output-adapter.js +106 -0
- package/dist/runtime/buffered-process.js +114 -0
- package/dist/runtime/bundled-node.js +97 -1
- package/dist/runtime/command-lifecycle.js +2 -0
- package/dist/runtime/input-source.js +238 -1
- package/dist/runtime/node-cli-identity.js +37 -0
- package/dist/runtime/run-command.js +191 -1
- package/dist/selectors/parse-entities.js +84 -1
- package/dist/semantic/semantic-context-pool.js +830 -0
- package/dist/semantic/semantic-context-provider.js +416 -0
- package/dist/semantic/semantic-resident-admission.js +38 -0
- package/dist/semantic/semantic-worker-child.js +40 -0
- package/dist/semantic/semantic-worker-manager.js +460 -0
- package/dist/semantic/semantic-worker-protocol.js +2 -0
- package/dist/semantic/semantic-worker-runtime.js +38 -0
- package/dist/semantic/workspace-semantic-context-pools.js +136 -0
- package/dist/session/client.js +359 -1
- package/dist/session/daemon-state.js +185 -2
- package/dist/session/external-tool-coordinator.js +88 -0
- package/dist/session/external-tool-request.js +52 -0
- package/dist/session/lane-owner.js +116 -0
- package/dist/session/paths.js +71 -1
- package/dist/session/runtime-lifecycle.js +225 -0
- package/dist/session/runtime-shutdown.js +95 -0
- package/dist/session/server.js +1194 -7
- package/dist/session/session-health.js +27 -0
- package/dist/shared/agent-text.js +29 -1
- package/dist/shared/errors.js +496 -30
- package/dist/shared/event-loop.js +6 -1
- package/dist/shared/hints.js +37 -1
- package/dist/shared/metrics.js +43 -1
- package/dist/shared/presentation.js +69 -4
- package/dist/shared/stdin-examples.js +77 -1
- package/dist/shared/stdout.js +6 -2
- package/dist/shared/types.js +23 -1
- package/dist/tool-runtime/runtime-tools.js +120 -1
- package/dist/topology/availability.js +663 -0
- package/dist/topology/cache.js +130 -0
- package/dist/topology/candidates.js +372 -0
- package/dist/topology/core.js +903 -0
- package/dist/topology/dependency-snapshot.js +189 -0
- package/dist/topology/model.js +2 -0
- package/dist/topology/scope.js +100 -0
- package/dist/topology/ts-oracle-batch.js +529 -0
- package/dist/topology/ts-oracle-host.js +69 -0
- package/dist/topology/ts-oracle-model.js +2 -0
- package/dist/topology/ts-oracle.js +224 -0
- package/dist/topology/tsconfig-loader.js +105 -0
- package/dist/topology/workspace-project-index.js +542 -0
- package/dist/tracing/config.js +192 -2
- package/dist/tracing/failure-summary.js +100 -0
- package/dist/tracing/trace.js +318 -5
- package/dist/tsc-wrapper/core.js +697 -0
- package/dist/workers/control-plane/aib-control-plane-worker.cjs +32 -32
- package/dist/workers/control-plane/client-config.default.json +3 -3
- package/dist/workers/lexical-worker-child.js +27 -0
- package/dist/workers/lexical-worker-manager.js +394 -0
- package/dist/workers/lexical-worker-protocol.js +2 -0
- package/dist/workers/lexical-worker-runtime.js +25 -0
- package/dist/workers/owned-one-shot-process.js +115 -0
- package/dist/workers/product-storage.js +23 -1
- package/dist/workers/registry.js +241 -1
- package/package.json +8 -13
- package/scripts/postinstall.cjs +29 -29
- package/scripts/provision-runtime.cjs +411 -459
- package/dist/client/http-client.js +0 -1
- package/dist/client/transport-options.js +0 -1
- package/dist/client/websocket-client.js +0 -1
- package/dist/commands/entity-resolution.js +0 -1
- package/dist/commands/file-command.js +0 -1
- package/dist/commands/host-command.js +0 -1
- package/dist/commands/inspect-symbol-query.js +0 -1
- package/dist/commands/list-instances.js +0 -1
- package/dist/commands/module-plan-command.js +0 -1
- package/dist/commands/move-command.js +0 -1
- package/dist/commands/move-to-file.js +0 -2
- package/dist/commands/ping.js +0 -1
- package/dist/commands/refactor-command.js +0 -1
- package/dist/commands/rename-command.js +0 -1
- package/dist/commands/runtime-command.js +0 -4
- package/dist/commands/runtime-info.js +0 -1
- package/dist/commands/validate-module-plan.js +0 -2
- package/dist/compatibility/policy.js +0 -1
- package/dist/config/auto-start-ide.js +0 -1
- package/dist/discovery/registry.js +0 -1
- package/dist/discovery/select-instance.js +0 -1
- package/dist/help/docs/file.rename.md +0 -35
- package/dist/help/docs/mutation.md +0 -60
- package/dist/help/docs/refactor.batch.md +0 -44
- package/dist/help/dsl/docs/file.rename.md +0 -35
- package/dist/help/dsl/docs/mutation.md +0 -60
- package/dist/help/dsl/docs/refactor.batch.md +0 -44
- package/dist/help/dsl/topics/file.rename.md +0 -33
- package/dist/help/dsl/topics/mutation.md +0 -58
- package/dist/help/dsl/topics/refactor.batch.md +0 -33
- package/dist/help/topics/file.rename.md +0 -33
- package/dist/help/topics/mutation.md +0 -58
- package/dist/help/topics/refactor.batch.md +0 -33
- package/dist/ide-launch/common.cjs +0 -162
- package/dist/managed-host/extension-vsix-resolver.js +0 -1
- package/dist/managed-host/manage-serve-web-host.cjs +0 -141
- package/dist/managed-host/serve-web-autostart.js +0 -1
- package/dist/managed-host/serve-web-host.cjs +0 -2115
- package/dist/runtime/managed-runtime-provisioning.js +0 -1
- package/dist/shared/diagnostic-catalog.js +0 -1
- package/dist/shared/diagnostics.js +0 -1
- package/dist/shared/operations.js +0 -1
- package/dist/shared/protocol.js +0 -1
- package/dist/shared/routes.js +0 -1
- package/extension/vscode-refactor-bridge-extension.vsix +0 -0
- package/runtimes/launcher/linux-x64/aib +0 -0
- package/runtimes/launcher/win-x64/aib.exe +0 -0
package/dist/help/help-index.md
CHANGED
|
@@ -1,44 +1,49 @@
|
|
|
1
|
-
Run as: aib help <topic...>
|
|
2
|
-
|
|
3
|
-
Start here if this is your first AIB pass:
|
|
4
|
-
bootstrap
|
|
5
|
-
|
|
6
|
-
Always after context compaction:
|
|
7
|
-
aib help help-protocol quick-map
|
|
8
|
-
aib config aliases
|
|
9
|
-
|
|
10
|
-
Help conventions:
|
|
11
|
-
help-format
|
|
12
|
-
|
|
13
|
-
Refresh workflow model:
|
|
14
|
-
basics patterns
|
|
15
|
-
|
|
16
|
-
Core focused topics:
|
|
17
|
-
session
|
|
18
|
-
|
|
19
|
-
selectors
|
|
20
|
-
dsl
|
|
21
|
-
inspect
|
|
22
|
-
mutation
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
inspect.
|
|
27
|
-
inspect.
|
|
28
|
-
inspect.
|
|
29
|
-
inspect.
|
|
30
|
-
inspect.
|
|
31
|
-
inspect.
|
|
32
|
-
inspect.
|
|
33
|
-
inspect.
|
|
34
|
-
inspect.
|
|
35
|
-
inspect.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
1
|
+
Run as: aib help <topic...>
|
|
2
|
+
|
|
3
|
+
Start here if this is your first AIB pass:
|
|
4
|
+
bootstrap
|
|
5
|
+
|
|
6
|
+
Always after context compaction:
|
|
7
|
+
aib help help-protocol quick-map recipes rules
|
|
8
|
+
aib config aliases
|
|
9
|
+
|
|
10
|
+
Help conventions:
|
|
11
|
+
help-format
|
|
12
|
+
|
|
13
|
+
Refresh workflow model:
|
|
14
|
+
basics patterns
|
|
15
|
+
|
|
16
|
+
Core focused topics:
|
|
17
|
+
session
|
|
18
|
+
rules
|
|
19
|
+
selectors
|
|
20
|
+
dsl
|
|
21
|
+
inspect.shared
|
|
22
|
+
mutation.shared
|
|
23
|
+
recipes
|
|
24
|
+
|
|
25
|
+
Feature topics:
|
|
26
|
+
inspect.file
|
|
27
|
+
inspect.imports
|
|
28
|
+
inspect.exports
|
|
29
|
+
inspect.members
|
|
30
|
+
inspect.code
|
|
31
|
+
inspect.deps
|
|
32
|
+
inspect.usages
|
|
33
|
+
inspect.graph
|
|
34
|
+
inspect.tree
|
|
35
|
+
inspect.aliasCandidates
|
|
36
|
+
inspect.duplicates
|
|
37
|
+
inspect.cycles
|
|
38
|
+
rename
|
|
39
|
+
move
|
|
40
|
+
moveToDir
|
|
41
|
+
renameFile
|
|
42
|
+
mutate.mixed
|
|
43
|
+
modulePlan
|
|
44
|
+
import.rebase
|
|
45
|
+
imports.normalize
|
|
46
|
+
view
|
|
47
|
+
qr
|
|
48
|
+
rg
|
|
44
49
|
reveal
|
package/dist/help/help-meta.json
CHANGED
|
@@ -1,37 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"helpVersion": "0.1.0",
|
|
4
|
-
"generatedAt": "2026-
|
|
5
|
-
"sourceCommit": "
|
|
6
|
-
"contentHash": "sha256:
|
|
4
|
+
"generatedAt": "2026-07-19T22:17:11+03:00",
|
|
5
|
+
"sourceCommit": "def0b5c5",
|
|
6
|
+
"contentHash": "sha256:147abf680d58c3b4d2624fb4a9cf3893a7cca28310446d7925d68283b03b255a",
|
|
7
7
|
"topics": {
|
|
8
8
|
"help-format": {
|
|
9
9
|
"contentHash": "sha256:b1a0a6ca2a5ac2e61285854e8dd3c951a329073f139ccca50ebe519c2ca0484e",
|
|
10
10
|
"docsHash": "sha256:44a26ac23ba47f1cff5cedcf61bba16df2d3403db01cf73627da02a3eff0986e"
|
|
11
11
|
},
|
|
12
12
|
"help-protocol": {
|
|
13
|
-
"contentHash": "sha256:
|
|
14
|
-
"docsHash": "sha256:
|
|
13
|
+
"contentHash": "sha256:ffad525ca26ac24f7d80e07c75c10943e35789d261f11c64dd4835ecf27f8312",
|
|
14
|
+
"docsHash": "sha256:6bfde3e500e79bdf975a5864a3434c7d228cc3b042c5186279703b15e2e20a30"
|
|
15
15
|
},
|
|
16
16
|
"quick-map": {
|
|
17
|
-
"contentHash": "sha256:
|
|
18
|
-
"docsHash": "sha256:
|
|
17
|
+
"contentHash": "sha256:4e5725ef19aa3d9468f0ccb0a52aecde9f3fc605b11f6ff86d38d9f3bfd1889a",
|
|
18
|
+
"docsHash": "sha256:b9a92518a96b95edc7d6475f9f07aafb2ddf31b30b26242a65eb6a562b4222ca"
|
|
19
|
+
},
|
|
20
|
+
"rules": {
|
|
21
|
+
"contentHash": "sha256:5871420f7523cc06c39d96ed361ef18174e4dd3cbaced0a8600d720df675ad76",
|
|
22
|
+
"docsHash": "sha256:4e3060b71b5926e114be04d207790abb14b01bdf1e3fb5faaf304ba8602ff95e"
|
|
19
23
|
},
|
|
20
24
|
"basics": {
|
|
21
|
-
"contentHash": "sha256:
|
|
22
|
-
"docsHash": "sha256:
|
|
25
|
+
"contentHash": "sha256:dbda7e409b83d50b12e2e56472472170b25610d63ea8fbfa720d087bdf2f44a0",
|
|
26
|
+
"docsHash": "sha256:1df59df1e4da9762cfd78f4e44ab5c10c159dfb2dbe5206ae602bec3c1b0d0d4"
|
|
23
27
|
},
|
|
24
28
|
"first-setup": {
|
|
25
|
-
"contentHash": "sha256:
|
|
26
|
-
"docsHash": "sha256:
|
|
29
|
+
"contentHash": "sha256:118c8889e53caae9a83bf47b191adaa752f860c1be1c90abe6cd73c01fffd859",
|
|
30
|
+
"docsHash": "sha256:2b287ae4a4c6572159db63942fe09b523ede5859cb818df2042cf310d24b0a8c"
|
|
27
31
|
},
|
|
28
32
|
"config-setup.import-rules": {
|
|
29
|
-
"contentHash": "sha256:
|
|
30
|
-
"docsHash": "sha256:
|
|
33
|
+
"contentHash": "sha256:1d4a2478b6c7089f2c6208dcd696f8e9af6ab5fd88649311bb8ebf41283c477e",
|
|
34
|
+
"docsHash": "sha256:b8e71b46112d31c89102c3a64e9412f05915fbbf5ff2eef59c1739a8e71d5f51"
|
|
31
35
|
},
|
|
32
36
|
"config-setup.import-normalize": {
|
|
33
|
-
"contentHash": "sha256:
|
|
34
|
-
"docsHash": "sha256:
|
|
37
|
+
"contentHash": "sha256:257a9ec29169fb94bb6f2026ed591a0d284a28d4618399ff1cb725c2e6308782",
|
|
38
|
+
"docsHash": "sha256:4ae11442f7b6182fd3f92ffa8fb38690a8658664c6ddb0ec27c41d39ff255eee"
|
|
35
39
|
},
|
|
36
40
|
"config-setup.aliases": {
|
|
37
41
|
"contentHash": "sha256:15a461a8c37a0793864338f84a30614c082217dcd195a1d396c1548a05a75c8e",
|
|
@@ -50,8 +54,8 @@
|
|
|
50
54
|
"docsHash": "sha256:735401d4b8845b0d54f1151395f07fc1144b4370690ffd80f5ee40ae83a00d2c"
|
|
51
55
|
},
|
|
52
56
|
"patterns": {
|
|
53
|
-
"contentHash": "sha256:
|
|
54
|
-
"docsHash": "sha256:
|
|
57
|
+
"contentHash": "sha256:12fd63674a32f54c988ce64e060b78ac1a6cc6caf53150e8f7448d59533d5882",
|
|
58
|
+
"docsHash": "sha256:48c04c7d0e134116a58f38453170196957747f0f33841f21a10209e41a82b21c"
|
|
55
59
|
},
|
|
56
60
|
"session": {
|
|
57
61
|
"contentHash": "sha256:f91f49c531f30b0590e6a711dd906b0debcc8a66dabf2999fce43612072826bb",
|
|
@@ -66,8 +70,8 @@
|
|
|
66
70
|
"docsHash": "sha256:3cfd022c10ad50634b4daca32ac5511146f32af3b66b632582914b106e8b9619"
|
|
67
71
|
},
|
|
68
72
|
"qr": {
|
|
69
|
-
"contentHash": "sha256:
|
|
70
|
-
"docsHash": "sha256:
|
|
73
|
+
"contentHash": "sha256:31ab2f8e7b30025bb4a19cda81e42056a0e900f23795834ce076933c713c8298",
|
|
74
|
+
"docsHash": "sha256:7124c6cbf2bccf5615dc197fdc2305ccfabd0f4fd31eb6d7d428167e2f7c6004"
|
|
71
75
|
},
|
|
72
76
|
"rg": {
|
|
73
77
|
"contentHash": "sha256:c91568738b7942f1586bfa698265e9886052f084a694d14d3eb3ae6282060c25",
|
|
@@ -81,49 +85,73 @@
|
|
|
81
85
|
"contentHash": "sha256:b8897c49113766bd0762cc1f09478418f9228686acba60a853a82f63d4f4939b",
|
|
82
86
|
"docsHash": "sha256:75f83ac3defc745931e1899819456b19c0663c99b8ffd1930416716b2f029309"
|
|
83
87
|
},
|
|
84
|
-
"mutation": {
|
|
85
|
-
"contentHash": "sha256:
|
|
86
|
-
"docsHash": "sha256:
|
|
88
|
+
"mutation.shared": {
|
|
89
|
+
"contentHash": "sha256:a89a81978d27d97f3c87726cb5a91e2574b2169b8a9aaef4bd5f5763ed2ac2b7",
|
|
90
|
+
"docsHash": "sha256:405381e2ccbbed86e353d7b3553b709f790ddc91392d68439f3a25807d62d3f7"
|
|
87
91
|
},
|
|
88
92
|
"rename": {
|
|
89
|
-
"contentHash": "sha256:
|
|
90
|
-
"docsHash": "sha256:
|
|
93
|
+
"contentHash": "sha256:c527d5b768468b2a4fc03908362632daa15f13810c3bc196456e556e0479e52d",
|
|
94
|
+
"docsHash": "sha256:35ccaee7bf51f2ef2cc01dc33d1d465b39dad15c62401fb38a4e84c97078a1a2"
|
|
91
95
|
},
|
|
92
96
|
"move": {
|
|
93
|
-
"contentHash": "sha256:
|
|
94
|
-
"docsHash": "sha256:
|
|
97
|
+
"contentHash": "sha256:ef95ff2597abe09954c05a3a4ad324ca82c1e2dcc5576af994e82fc6240cd4d3",
|
|
98
|
+
"docsHash": "sha256:ec563acf784d398d1961349ab2ded49ad9191448725b373c87e636e7f9a7ab26"
|
|
95
99
|
},
|
|
96
100
|
"modulePlan": {
|
|
97
|
-
"contentHash": "sha256:
|
|
98
|
-
"docsHash": "sha256:
|
|
101
|
+
"contentHash": "sha256:a5ac78deaa93d6df1207d44fdf48533b2c365fe311b9ce848485d24f2a3e5b41",
|
|
102
|
+
"docsHash": "sha256:0194f416e7ba216643ddb22c0d7fa89b8b8b7a5e5ea7f830498747f7a696e9d1"
|
|
103
|
+
},
|
|
104
|
+
"mutate.mixed": {
|
|
105
|
+
"contentHash": "sha256:d3571ad65083d2c43267111d2d044c96431a20162ff2187d6a6a38046f31a925",
|
|
106
|
+
"docsHash": "sha256:c8b6f6ce5fa5b3c49a1233b623c0ba5acc01933baad695f1e84f1901ae97031c"
|
|
99
107
|
},
|
|
100
|
-
"
|
|
101
|
-
"contentHash": "sha256:
|
|
102
|
-
"docsHash": "sha256:
|
|
108
|
+
"moveToDir": {
|
|
109
|
+
"contentHash": "sha256:9c0e7a4e9a88a99be92c99bfa29df535b4eac6e42e2b49caeb0c2a3aab342e10",
|
|
110
|
+
"docsHash": "sha256:1ad6edcc0da41c79064256059d12309a4dcd7ec71e9d264ab495e8fa6cf429e5"
|
|
103
111
|
},
|
|
104
|
-
"
|
|
105
|
-
"contentHash": "sha256:
|
|
106
|
-
"docsHash": "sha256:
|
|
112
|
+
"renameFile": {
|
|
113
|
+
"contentHash": "sha256:f948399464164fae8c06798dc54882e263f8b8f107b1780d39f234da52753e92",
|
|
114
|
+
"docsHash": "sha256:c2b9371f2ec4e7e23c7263264753a9e5a8a37f1609be3ef4bada107d56719651"
|
|
107
115
|
},
|
|
108
|
-
"
|
|
109
|
-
"contentHash": "sha256:
|
|
110
|
-
"docsHash": "sha256:
|
|
116
|
+
"recipes": {
|
|
117
|
+
"contentHash": "sha256:45f6bde6b3b499cbf3d83dfe9736a52d189a862c0a3e3d714d387721f50e073e",
|
|
118
|
+
"docsHash": "sha256:2857ebe0e40d522261228654e24a2dd6ae041b1ac0eb9a39ee730727e3b5706d"
|
|
111
119
|
},
|
|
112
120
|
"recipe.file-layout": {
|
|
113
|
-
"contentHash": "sha256:
|
|
114
|
-
"docsHash": "sha256:
|
|
121
|
+
"contentHash": "sha256:2781f734ed162e240175e38a26ee82745232888311cf5cc9886a6b535f219271",
|
|
122
|
+
"docsHash": "sha256:533ba664b42af5afd60f6ee7c952613ac43f400cf1b8e66bdb38bb998beb385d"
|
|
123
|
+
},
|
|
124
|
+
"recipe.import-boundary": {
|
|
125
|
+
"contentHash": "sha256:148d0a094e269c5087867b3ad35ad0ba9af6657978ed32ae45d69c4d102f1184",
|
|
126
|
+
"docsHash": "sha256:6b67c6d833243ea1108f92ea796d200e7f2c5850f4a0fa8fd5241a19a80f9f5f"
|
|
127
|
+
},
|
|
128
|
+
"recipe.unfamiliar-area": {
|
|
129
|
+
"contentHash": "sha256:c4f28cf150a429ffb0146c79e819e42d6666812cb9fd82f092bd6e7cb728abfd",
|
|
130
|
+
"docsHash": "sha256:8dfce4f4d483e37f2f3cf0d3a2b0ec29562937a28d9a093a1af8c2440949f534"
|
|
131
|
+
},
|
|
132
|
+
"recipe.safe-artifact-probing": {
|
|
133
|
+
"contentHash": "sha256:21d0cd84dd7ed8fbc6fe4cf34befc32efe694ae1dee2d2883b2189dbfa6976e0",
|
|
134
|
+
"docsHash": "sha256:72029c983e8c73624067cbf1a37568e8d139ba110b4b9d5f2408b070d4035911"
|
|
115
135
|
},
|
|
116
136
|
"imports.normalize": {
|
|
117
137
|
"contentHash": "sha256:e0f3e6720307cfff1b68db1a6125e222f9798f1e29c5bcec3aab069acf1ba940",
|
|
118
138
|
"docsHash": "sha256:21f8143b5f840ded4bb124ff17106dcc5a80b9131381c09f95a86c438f95a965"
|
|
119
139
|
},
|
|
120
|
-
"
|
|
121
|
-
"contentHash": "sha256:
|
|
122
|
-
"docsHash": "sha256:
|
|
140
|
+
"import.base": {
|
|
141
|
+
"contentHash": "sha256:59f37222b0b267203e6e9fcabe15be5e1c0df06a422783e220c706073190b6ab",
|
|
142
|
+
"docsHash": "sha256:7717c0f727cdaa932109277ba79fe013efac61ed6509fff4c2f723951db31600"
|
|
143
|
+
},
|
|
144
|
+
"import.rebase": {
|
|
145
|
+
"contentHash": "sha256:4cfbc2764f44b34713b8391d5c5d5be5d305b0c59e87eaf8c15e758576bc0b05",
|
|
146
|
+
"docsHash": "sha256:2de70575d7a8c3e3bf89ebba6f003d7c88df3887c125ae357b28edc8bf718a7e"
|
|
147
|
+
},
|
|
148
|
+
"inspect.shared": {
|
|
149
|
+
"contentHash": "sha256:3b6f188a4b6eecc343f93613e6c9dc570d95dc5c855fe9adb573555263eb7a93",
|
|
150
|
+
"docsHash": "sha256:0b02c9bce1fbf0e8af6100a9e9a0a93ebb6494517439b477fc006ab6d278269a"
|
|
123
151
|
},
|
|
124
152
|
"inspect.file": {
|
|
125
|
-
"contentHash": "sha256:
|
|
126
|
-
"docsHash": "sha256:
|
|
153
|
+
"contentHash": "sha256:fc8e9d2f1382da147a313c8b619592e7355575bbfdea2ff354f54bb0f1ea17bb",
|
|
154
|
+
"docsHash": "sha256:b1ef88e471b473d183ae8aab1729ee1d340110ddfb9232158029248663dac146"
|
|
127
155
|
},
|
|
128
156
|
"inspect.imports": {
|
|
129
157
|
"contentHash": "sha256:cbd03ab54f1373727cc6f62cf4140eb081e417c3cd9705c76aabb83e42954a7e",
|
|
@@ -138,8 +166,8 @@
|
|
|
138
166
|
"docsHash": "sha256:1157d2721c1ec09e5ee92ec5c8f94bd621ff0d4b9cbb76fbf6de22d08def22b0"
|
|
139
167
|
},
|
|
140
168
|
"inspect.code": {
|
|
141
|
-
"contentHash": "sha256:
|
|
142
|
-
"docsHash": "sha256:
|
|
169
|
+
"contentHash": "sha256:10557da3f692dcdca2d00bae2ed5d72b69fa3ab753a4d766e6bbbbaf64c80d1b",
|
|
170
|
+
"docsHash": "sha256:fd05f42fb487c1fcd3dcc60485338f0de96ff9c66a017aaf4368b4725efd2470"
|
|
143
171
|
},
|
|
144
172
|
"inspect.deps": {
|
|
145
173
|
"contentHash": "sha256:d7e17ad4d37f085073a0843ecdb893de2dccfd2e9ade79ddd50670530c002fea",
|
|
@@ -150,13 +178,17 @@
|
|
|
150
178
|
"docsHash": "sha256:9b82674122c986159ca0ec82d89e4b382d0ed786b66a1cc3c9dd4f5f93bfef47"
|
|
151
179
|
},
|
|
152
180
|
"inspect.graph": {
|
|
153
|
-
"contentHash": "sha256:
|
|
154
|
-
"docsHash": "sha256:
|
|
181
|
+
"contentHash": "sha256:da8ececaabe778f2fb288c5d5bb26d1b21cb54da1adbde9c00d49c0bf07314ee",
|
|
182
|
+
"docsHash": "sha256:ad98b65afbcf234a7b8090f7f29aa11a1bed277255d87d6a71ad71f6ac05b6ca"
|
|
155
183
|
},
|
|
156
184
|
"inspect.tree": {
|
|
157
185
|
"contentHash": "sha256:db064a9b7ddc8ba2530fadc7aebf214d0cf9551f2fc771b113cbd4b4511254d1",
|
|
158
186
|
"docsHash": "sha256:91c81dae81527cc7e1ddce28810540543a19487a49294402787d384c7abd4a9d"
|
|
159
187
|
},
|
|
188
|
+
"inspect.aliasCandidates": {
|
|
189
|
+
"contentHash": "sha256:832c83527abe3e26a88793322be871c0b96f0add8a5d6226376e07d660e48301",
|
|
190
|
+
"docsHash": "sha256:3eb52f184a744cbee796977ac6d718b8e1c06cc5b9f78570d110596f16a4a95b"
|
|
191
|
+
},
|
|
160
192
|
"inspect.duplicates": {
|
|
161
193
|
"contentHash": "sha256:08b6216d3c4ccd2460befec53559451b34af7157f2742b026bfe2a6babda1033",
|
|
162
194
|
"docsHash": "sha256:4b57e3557cf4fdfbc7e13a1ebc1a27be2fbfd9f6d828f2807c1097f722bc5e25"
|
|
@@ -165,5 +197,23 @@
|
|
|
165
197
|
"contentHash": "sha256:429bd6fa5b91e66516264ad1dab6cf09cf5446e1ea547d342f1d4abb71b94526",
|
|
166
198
|
"docsHash": "sha256:f7cc3dc73f6aa4cde94b0cc206520568b242abe16453b69f045baa20a8c37146"
|
|
167
199
|
}
|
|
200
|
+
},
|
|
201
|
+
"skills": {
|
|
202
|
+
"recipe.unfamiliar-area": {
|
|
203
|
+
"target": "codex",
|
|
204
|
+
"name": "aib-unfamiliar-area",
|
|
205
|
+
"description": "Use when entering a codebase or when about to debug, modify, or extend code in an unfamiliar area.",
|
|
206
|
+
"topic": "recipe.unfamiliar-area",
|
|
207
|
+
"body": "When you do not already have enough recipe context to follow the workflow, read and use:\n\naib help recipe.unfamiliar-area\n\nIf the workflow is already in context, continue from it without rereading.",
|
|
208
|
+
"contentHash": "sha256:d61a78dd07211fa0362941ce2ad7a1f68b165257bf0dc830358288a72c2e9f1d"
|
|
209
|
+
},
|
|
210
|
+
"recipe.safe-artifact-probing": {
|
|
211
|
+
"target": "codex",
|
|
212
|
+
"name": "aib-safe-artifact-probing",
|
|
213
|
+
"description": "Use before probing generated, bundled, minified, dependency/vendor, lock/patch, or huge-line artifacts with tools or runtimes.",
|
|
214
|
+
"topic": "recipe.safe-artifact-probing",
|
|
215
|
+
"body": "When you do not already have enough recipe context to follow the workflow, read and use:\n\naib help recipe.safe-artifact-probing\n\nIf the workflow is already in context, continue from it without rereading.",
|
|
216
|
+
"contentHash": "sha256:c79fde3bc3a8c3630000f50820a9309ec5f67284a2977ac9f462884118395d72"
|
|
217
|
+
}
|
|
168
218
|
}
|
|
169
219
|
}
|
package/dist/help/index.md
CHANGED
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
- Docs help-protocol: [File](<docs/help-protocol.md>)
|
|
17
17
|
- Help quick-map: [File](<topics/quick-map.md>)
|
|
18
18
|
- Docs quick-map: [File](<docs/quick-map.md>)
|
|
19
|
+
- Help rules: [File](<topics/rules.md>)
|
|
20
|
+
- Docs rules: [File](<docs/rules.md>)
|
|
19
21
|
- Help basics: [File](<topics/basics.md>)
|
|
20
22
|
- Docs basics: [File](<docs/basics.md>)
|
|
21
23
|
- Help first-setup: [File](<topics/first-setup.md>)
|
|
@@ -48,26 +50,38 @@
|
|
|
48
50
|
- Docs reveal: [File](<docs/reveal.md>)
|
|
49
51
|
- Help selectors: [File](<topics/selectors.md>)
|
|
50
52
|
- Docs selectors: [File](<docs/selectors.md>)
|
|
51
|
-
- Help mutation: [File](<topics/mutation.md>)
|
|
52
|
-
- Docs mutation: [File](<docs/mutation.md>)
|
|
53
|
+
- Help mutation.shared: [File](<topics/mutation.shared.md>)
|
|
54
|
+
- Docs mutation.shared: [File](<docs/mutation.shared.md>)
|
|
53
55
|
- Help rename: [File](<topics/rename.md>)
|
|
54
56
|
- Docs rename: [File](<docs/rename.md>)
|
|
55
57
|
- Help move: [File](<topics/move.md>)
|
|
56
58
|
- Docs move: [File](<docs/move.md>)
|
|
57
59
|
- Help modulePlan: [File](<topics/modulePlan.md>)
|
|
58
60
|
- Docs modulePlan: [File](<docs/modulePlan.md>)
|
|
59
|
-
- Help
|
|
60
|
-
- Docs
|
|
61
|
-
- Help
|
|
62
|
-
- Docs
|
|
63
|
-
- Help
|
|
64
|
-
- Docs
|
|
61
|
+
- Help mutate.mixed: [File](<topics/mutate.mixed.md>)
|
|
62
|
+
- Docs mutate.mixed: [File](<docs/mutate.mixed.md>)
|
|
63
|
+
- Help moveToDir: [File](<topics/moveToDir.md>)
|
|
64
|
+
- Docs moveToDir: [File](<docs/moveToDir.md>)
|
|
65
|
+
- Help renameFile: [File](<topics/renameFile.md>)
|
|
66
|
+
- Docs renameFile: [File](<docs/renameFile.md>)
|
|
67
|
+
- Help recipes: [File](<topics/recipes.md>)
|
|
68
|
+
- Docs recipes: [File](<docs/recipes.md>)
|
|
65
69
|
- Help recipe.file-layout: [File](<topics/recipe.file-layout.md>)
|
|
66
70
|
- Docs recipe.file-layout: [File](<docs/recipe.file-layout.md>)
|
|
71
|
+
- Help recipe.import-boundary: [File](<topics/recipe.import-boundary.md>)
|
|
72
|
+
- Docs recipe.import-boundary: [File](<docs/recipe.import-boundary.md>)
|
|
73
|
+
- Help recipe.unfamiliar-area: [File](<topics/recipe.unfamiliar-area.md>)
|
|
74
|
+
- Docs recipe.unfamiliar-area: [File](<docs/recipe.unfamiliar-area.md>)
|
|
75
|
+
- Help recipe.safe-artifact-probing: [File](<topics/recipe.safe-artifact-probing.md>)
|
|
76
|
+
- Docs recipe.safe-artifact-probing: [File](<docs/recipe.safe-artifact-probing.md>)
|
|
67
77
|
- Help imports.normalize: [File](<topics/imports.normalize.md>)
|
|
68
78
|
- Docs imports.normalize: [File](<docs/imports.normalize.md>)
|
|
69
|
-
- Help
|
|
70
|
-
- Docs
|
|
79
|
+
- Help import.base: [File](<topics/import.base.md>)
|
|
80
|
+
- Docs import.base: [File](<docs/import.base.md>)
|
|
81
|
+
- Help import.rebase: [File](<topics/import.rebase.md>)
|
|
82
|
+
- Docs import.rebase: [File](<docs/import.rebase.md>)
|
|
83
|
+
- Help inspect.shared: [File](<topics/inspect.shared.md>)
|
|
84
|
+
- Docs inspect.shared: [File](<docs/inspect.shared.md>)
|
|
71
85
|
- Help inspect.file: [File](<topics/inspect.file.md>)
|
|
72
86
|
- Docs inspect.file: [File](<docs/inspect.file.md>)
|
|
73
87
|
- Help inspect.imports: [File](<topics/inspect.imports.md>)
|
|
@@ -86,6 +100,8 @@
|
|
|
86
100
|
- Docs inspect.graph: [File](<docs/inspect.graph.md>)
|
|
87
101
|
- Help inspect.tree: [File](<topics/inspect.tree.md>)
|
|
88
102
|
- Docs inspect.tree: [File](<docs/inspect.tree.md>)
|
|
103
|
+
- Help inspect.aliasCandidates: [File](<topics/inspect.aliasCandidates.md>)
|
|
104
|
+
- Docs inspect.aliasCandidates: [File](<docs/inspect.aliasCandidates.md>)
|
|
89
105
|
- Help inspect.duplicates: [File](<topics/inspect.duplicates.md>)
|
|
90
106
|
- Docs inspect.duplicates: [File](<docs/inspect.duplicates.md>)
|
|
91
107
|
- Help inspect.cycles: [File](<topics/inspect.cycles.md>)
|
|
@@ -107,6 +123,8 @@
|
|
|
107
123
|
- dsl Docs help-protocol: [File](<dsl/docs/help-protocol.md>)
|
|
108
124
|
- dsl Help quick-map: [File](<dsl/topics/quick-map.md>)
|
|
109
125
|
- dsl Docs quick-map: [File](<dsl/docs/quick-map.md>)
|
|
126
|
+
- dsl Help rules: [File](<dsl/topics/rules.md>)
|
|
127
|
+
- dsl Docs rules: [File](<dsl/docs/rules.md>)
|
|
110
128
|
- dsl Help basics: [File](<dsl/topics/basics.md>)
|
|
111
129
|
- dsl Docs basics: [File](<dsl/docs/basics.md>)
|
|
112
130
|
- dsl Help first-setup: [File](<dsl/topics/first-setup.md>)
|
|
@@ -139,26 +157,38 @@
|
|
|
139
157
|
- dsl Docs reveal: [File](<dsl/docs/reveal.md>)
|
|
140
158
|
- dsl Help selectors: [File](<dsl/topics/selectors.md>)
|
|
141
159
|
- dsl Docs selectors: [File](<dsl/docs/selectors.md>)
|
|
142
|
-
- dsl Help mutation: [File](<dsl/topics/mutation.md>)
|
|
143
|
-
- dsl Docs mutation: [File](<dsl/docs/mutation.md>)
|
|
160
|
+
- dsl Help mutation.shared: [File](<dsl/topics/mutation.shared.md>)
|
|
161
|
+
- dsl Docs mutation.shared: [File](<dsl/docs/mutation.shared.md>)
|
|
144
162
|
- dsl Help rename: [File](<dsl/topics/rename.md>)
|
|
145
163
|
- dsl Docs rename: [File](<dsl/docs/rename.md>)
|
|
146
164
|
- dsl Help move: [File](<dsl/topics/move.md>)
|
|
147
165
|
- dsl Docs move: [File](<dsl/docs/move.md>)
|
|
148
166
|
- dsl Help modulePlan: [File](<dsl/topics/modulePlan.md>)
|
|
149
167
|
- dsl Docs modulePlan: [File](<dsl/docs/modulePlan.md>)
|
|
150
|
-
- dsl Help
|
|
151
|
-
- dsl Docs
|
|
152
|
-
- dsl Help
|
|
153
|
-
- dsl Docs
|
|
154
|
-
- dsl Help
|
|
155
|
-
- dsl Docs
|
|
168
|
+
- dsl Help mutate.mixed: [File](<dsl/topics/mutate.mixed.md>)
|
|
169
|
+
- dsl Docs mutate.mixed: [File](<dsl/docs/mutate.mixed.md>)
|
|
170
|
+
- dsl Help moveToDir: [File](<dsl/topics/moveToDir.md>)
|
|
171
|
+
- dsl Docs moveToDir: [File](<dsl/docs/moveToDir.md>)
|
|
172
|
+
- dsl Help renameFile: [File](<dsl/topics/renameFile.md>)
|
|
173
|
+
- dsl Docs renameFile: [File](<dsl/docs/renameFile.md>)
|
|
174
|
+
- dsl Help recipes: [File](<dsl/topics/recipes.md>)
|
|
175
|
+
- dsl Docs recipes: [File](<dsl/docs/recipes.md>)
|
|
156
176
|
- dsl Help recipe.file-layout: [File](<dsl/topics/recipe.file-layout.md>)
|
|
157
177
|
- dsl Docs recipe.file-layout: [File](<dsl/docs/recipe.file-layout.md>)
|
|
178
|
+
- dsl Help recipe.import-boundary: [File](<dsl/topics/recipe.import-boundary.md>)
|
|
179
|
+
- dsl Docs recipe.import-boundary: [File](<dsl/docs/recipe.import-boundary.md>)
|
|
180
|
+
- dsl Help recipe.unfamiliar-area: [File](<dsl/topics/recipe.unfamiliar-area.md>)
|
|
181
|
+
- dsl Docs recipe.unfamiliar-area: [File](<dsl/docs/recipe.unfamiliar-area.md>)
|
|
182
|
+
- dsl Help recipe.safe-artifact-probing: [File](<dsl/topics/recipe.safe-artifact-probing.md>)
|
|
183
|
+
- dsl Docs recipe.safe-artifact-probing: [File](<dsl/docs/recipe.safe-artifact-probing.md>)
|
|
158
184
|
- dsl Help imports.normalize: [File](<dsl/topics/imports.normalize.md>)
|
|
159
185
|
- dsl Docs imports.normalize: [File](<dsl/docs/imports.normalize.md>)
|
|
160
|
-
- dsl Help
|
|
161
|
-
- dsl Docs
|
|
186
|
+
- dsl Help import.base: [File](<dsl/topics/import.base.md>)
|
|
187
|
+
- dsl Docs import.base: [File](<dsl/docs/import.base.md>)
|
|
188
|
+
- dsl Help import.rebase: [File](<dsl/topics/import.rebase.md>)
|
|
189
|
+
- dsl Docs import.rebase: [File](<dsl/docs/import.rebase.md>)
|
|
190
|
+
- dsl Help inspect.shared: [File](<dsl/topics/inspect.shared.md>)
|
|
191
|
+
- dsl Docs inspect.shared: [File](<dsl/docs/inspect.shared.md>)
|
|
162
192
|
- dsl Help inspect.file: [File](<dsl/topics/inspect.file.md>)
|
|
163
193
|
- dsl Docs inspect.file: [File](<dsl/docs/inspect.file.md>)
|
|
164
194
|
- dsl Help inspect.imports: [File](<dsl/topics/inspect.imports.md>)
|
|
@@ -177,6 +207,8 @@
|
|
|
177
207
|
- dsl Docs inspect.graph: [File](<dsl/docs/inspect.graph.md>)
|
|
178
208
|
- dsl Help inspect.tree: [File](<dsl/topics/inspect.tree.md>)
|
|
179
209
|
- dsl Docs inspect.tree: [File](<dsl/docs/inspect.tree.md>)
|
|
210
|
+
- dsl Help inspect.aliasCandidates: [File](<dsl/topics/inspect.aliasCandidates.md>)
|
|
211
|
+
- dsl Docs inspect.aliasCandidates: [File](<dsl/docs/inspect.aliasCandidates.md>)
|
|
180
212
|
- dsl Help inspect.duplicates: [File](<dsl/topics/inspect.duplicates.md>)
|
|
181
213
|
- dsl Docs inspect.duplicates: [File](<dsl/docs/inspect.duplicates.md>)
|
|
182
214
|
- dsl Help inspect.cycles: [File](<dsl/topics/inspect.cycles.md>)
|
|
@@ -10,5 +10,5 @@ Use {{docsPath}} when working with TS/JS code.
|
|
|
10
10
|
Help fallback:
|
|
11
11
|
For TS/JS code work, use aib. Start with {{docsPath}}. If local docs are not enough, run `aib help bootstrap`.
|
|
12
12
|
|
|
13
|
-
Refactor-focused:
|
|
14
|
-
When changing TS/JS code, use aib for semantic discovery, usages, graph,
|
|
13
|
+
Refactor-focused:
|
|
14
|
+
When changing TS/JS code, use aib for semantic discovery, usages, graph, and mutate DSL. Start with {{docsPath}}.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
Inline:
|
|
2
|
-
aib qr @scripts/a.txt h=80 @scripts/b.py
|
|
2
|
+
aib qr @svc/users.ts s=3:42,66:84,92 @scripts/a.txt h=80 @scripts/b.py r=300:50,500 .prettierrc all
|
|
@@ -8,5 +8,5 @@ Prefer batch DSL instead of one-off inline calls.
|
|
|
8
8
|
One request can inspect/mutate several files/entities and save reusable artifacts when supported.
|
|
9
9
|
Use one-off commands only for small checks/changes.
|
|
10
10
|
|
|
11
|
-
For mutations, aib asks
|
|
11
|
+
For mutations, aib asks TypeScript semantic refactors to update affected references and imports.
|
|
12
12
|
After a successful mutation, do not manually patch the same imports unless aib reports a follow-up or the build/checks show a real issue.
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
Configure import normalization intent.
|
|
2
|
-
|
|
3
|
-
importNormalize defines default normalization rules for explicit aib imports normalize commands.
|
|
4
|
-
Use it before broad or important import cleanup so the scope, target style, preferred alias, and excludes are stored in aib.json instead of repeated in command arguments.
|
|
5
|
-
|
|
6
|
-
It does not run automatically during move/modulePlan.
|
|
7
|
-
Use importRules for mutation-time import cleanup.
|
|
8
|
-
|
|
9
|
-
Set importNormalize when the intended cleanup has project meaning:
|
|
10
|
-
- adopting a new tsconfig alias across a project area;
|
|
11
|
-
- converting an area to aliases;
|
|
12
|
-
- converting scripts/tools or extracted modules to relative imports;
|
|
13
|
-
- excluding generated or bundled output from normalization.
|
|
14
|
-
|
|
15
|
-
For tiny one-file checks, inline options are fine.
|
|
1
|
+
Configure import normalization intent.
|
|
2
|
+
|
|
3
|
+
importNormalize defines default normalization rules for explicit aib imports normalize commands.
|
|
4
|
+
Use it before broad or important import cleanup so the scope, target style, preferred alias, and excludes are stored in aib.json instead of repeated in command arguments.
|
|
5
|
+
|
|
6
|
+
It does not run automatically during move/modulePlan.
|
|
7
|
+
Use importRules for mutation-time import cleanup.
|
|
8
|
+
|
|
9
|
+
Set importNormalize when the intended cleanup has project meaning:
|
|
10
|
+
- adopting a new tsconfig alias across a project area;
|
|
11
|
+
- converting an area to aliases;
|
|
12
|
+
- converting scripts/tools or extracted modules to relative imports;
|
|
13
|
+
- excluding generated or bundled output from normalization.
|
|
14
|
+
|
|
15
|
+
For tiny one-file checks, inline options are fine.
|
|
16
16
|
Before wider cleanup, put the intended rule in config and preview the smallest useful scope.
|
|
17
17
|
|
|
18
18
|
Fields:
|
|
@@ -29,56 +29,56 @@ shortestAlias rewrite to the shortest valid alias specifier
|
|
|
29
29
|
preferAlias:
|
|
30
30
|
@shared/* prefer one alias pattern when several aliases can resolve the same file
|
|
31
31
|
|
|
32
|
-
Alias cleanup:
|
|
33
|
-
|
|
34
|
-
"importNormalize": [
|
|
35
|
-
{
|
|
36
|
-
"scope": "src",
|
|
37
|
-
"to": "shortestAlias",
|
|
38
|
-
"preferAlias": "@/*",
|
|
39
|
-
"exclude": [
|
|
40
|
-
"src/generated",
|
|
41
|
-
"src/**/dist"
|
|
42
|
-
]
|
|
43
|
-
}
|
|
32
|
+
Alias cleanup:
|
|
33
|
+
|
|
34
|
+
"importNormalize": [
|
|
35
|
+
{
|
|
36
|
+
"scope": "src",
|
|
37
|
+
"to": "shortestAlias",
|
|
38
|
+
"preferAlias": "@/*",
|
|
39
|
+
"exclude": [
|
|
40
|
+
"src/generated",
|
|
41
|
+
"src/**/dist"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
|
|
46
|
+
Relative cleanup for scripts/tools:
|
|
47
|
+
|
|
48
|
+
"importNormalize": [
|
|
49
|
+
{
|
|
50
|
+
"scope": "scripts",
|
|
51
|
+
"to": "relative",
|
|
52
|
+
"exclude": [
|
|
53
|
+
"scripts/**/*.cjs",
|
|
54
|
+
"scripts/**/*.mjs"
|
|
55
|
+
]
|
|
56
|
+
}
|
|
44
57
|
]
|
|
45
58
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
aib
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
aib
|
|
70
|
-
|
|
71
|
-
Preview shows counts, sample import rewrites, a planId, and the apply command.
|
|
72
|
-
It does not change project files.
|
|
73
|
-
|
|
74
|
-
If preview changes imports outside the intended area, narrow scope or add exclude.
|
|
75
|
-
|
|
76
|
-
If preview does not use the expected alias, check tsconfig aliases:
|
|
77
|
-
|
|
78
|
-
aib reveal tsaliases
|
|
79
|
-
|
|
80
|
-
If the config and aliases look correct but preview still looks stale or strange, run:
|
|
81
|
-
|
|
82
|
-
aib sync
|
|
83
|
-
|
|
59
|
+
If you have not just checked config rules, run:
|
|
60
|
+
|
|
61
|
+
aib config rules
|
|
62
|
+
|
|
63
|
+
After editing aib.json, run:
|
|
64
|
+
|
|
65
|
+
aib sync
|
|
66
|
+
|
|
67
|
+
Then preview the smallest useful scope before applying:
|
|
68
|
+
|
|
69
|
+
aib imports normalize preview <scope>
|
|
70
|
+
|
|
71
|
+
Preview shows counts, sample import rewrites, a planId, and the apply command.
|
|
72
|
+
It does not change project files.
|
|
73
|
+
|
|
74
|
+
If preview changes imports outside the intended area, narrow scope or add exclude.
|
|
75
|
+
|
|
76
|
+
If preview does not use the expected alias, check tsconfig aliases:
|
|
77
|
+
|
|
78
|
+
aib reveal tsaliases
|
|
79
|
+
|
|
80
|
+
If the config and aliases look correct but preview still looks stale or strange, run:
|
|
81
|
+
|
|
82
|
+
aib sync
|
|
83
|
+
|
|
84
84
|
Then preview again.
|
|
@@ -7,11 +7,12 @@ Check current config:
|
|
|
7
7
|
|
|
8
8
|
aib config rules
|
|
9
9
|
|
|
10
|
-
importRules control imports created or expanded by move/modulePlan mutation cleanup.
|
|
11
|
-
They do not rewrite the whole project.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
importRules control imports created or expanded by move/modulePlan mutation cleanup.
|
|
11
|
+
They do not rewrite the whole project.
|
|
12
|
+
|
|
13
|
+
A non-empty importRules block in aib.json is the complete AIB import-style authority.
|
|
14
|
+
Omitted fields keep TypeScript/AIB defaults; they are not filled from editor settings.
|
|
15
|
+
When importRules is empty, AIB may reuse explicit workspace-local IDE/TS preferences.
|
|
15
16
|
Do not assume IDE/TS defaults match the repo style.
|
|
16
17
|
|
|
17
18
|
Fields:
|