@codyswann/lisa 4.107.1 → 4.107.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (374) hide show
  1. package/all/copy-overwrite/scripts/lisa-plugin-registration-notice.mjs +190 -0
  2. package/all/copy-overwrite/scripts/lisa-postinstall.mjs +6 -2
  3. package/all/merge/.claude/settings.json +9 -0
  4. package/dist/cli/{ui-ci-quality-jobs-parse.d.ts → ci-workflow-inputs.d.ts} +7 -2
  5. package/dist/cli/ci-workflow-inputs.d.ts.map +1 -0
  6. package/dist/cli/{ui-ci-quality-jobs-parse.js → ci-workflow-inputs.js} +2 -2
  7. package/dist/cli/ci-workflow-inputs.js.map +1 -0
  8. package/dist/cli/{ui-confined-project-read.d.ts → confined-project-read.d.ts} +1 -1
  9. package/dist/cli/confined-project-read.d.ts.map +1 -0
  10. package/dist/cli/{ui-confined-project-read.js → confined-project-read.js} +2 -2
  11. package/dist/cli/confined-project-read.js.map +1 -0
  12. package/dist/cli/detected-stacks.d.ts +10 -0
  13. package/dist/cli/detected-stacks.d.ts.map +1 -0
  14. package/dist/cli/{ui-detected-stacks.js → detected-stacks.js} +8 -27
  15. package/dist/cli/detected-stacks.js.map +1 -0
  16. package/dist/cli/doctor-apply-freshness.d.ts +2 -2
  17. package/dist/cli/doctor-apply-freshness.js +2 -2
  18. package/dist/cli/doctor-coderabbit-labeling.js +1 -1
  19. package/dist/cli/doctor-coderabbit-labeling.js.map +1 -1
  20. package/dist/cli/doctor-coderabbit.js +1 -1
  21. package/dist/cli/doctor-coderabbit.js.map +1 -1
  22. package/dist/cli/doctor-instruction-files.d.ts +11 -0
  23. package/dist/cli/doctor-instruction-files.d.ts.map +1 -0
  24. package/dist/cli/doctor-instruction-files.js +57 -0
  25. package/dist/cli/doctor-instruction-files.js.map +1 -0
  26. package/dist/cli/doctor-plugin-registration.d.ts +25 -0
  27. package/dist/cli/doctor-plugin-registration.d.ts.map +1 -0
  28. package/dist/cli/doctor-plugin-registration.js +63 -0
  29. package/dist/cli/doctor-plugin-registration.js.map +1 -0
  30. package/dist/cli/doctor.d.ts +5 -2
  31. package/dist/cli/doctor.d.ts.map +1 -1
  32. package/dist/cli/doctor.js +11 -56
  33. package/dist/cli/doctor.js.map +1 -1
  34. package/dist/cli/gate-report-ruleset.js +1 -1
  35. package/dist/cli/gate-report-ruleset.js.map +1 -1
  36. package/dist/cli/gate-report-skip-jobs.js +1 -1
  37. package/dist/cli/gate-report-skip-jobs.js.map +1 -1
  38. package/dist/cli/gate-report-types.d.ts +2 -3
  39. package/dist/cli/gate-report-types.d.ts.map +1 -1
  40. package/dist/cli/gh-cli.d.ts +14 -0
  41. package/dist/cli/gh-cli.d.ts.map +1 -0
  42. package/dist/cli/gh-cli.js +32 -0
  43. package/dist/cli/gh-cli.js.map +1 -0
  44. package/dist/cli/index.d.ts +0 -3
  45. package/dist/cli/index.d.ts.map +1 -1
  46. package/dist/cli/index.js +2 -3
  47. package/dist/cli/index.js.map +1 -1
  48. package/dist/cli/removed-ui-cmd.d.ts +18 -0
  49. package/dist/cli/removed-ui-cmd.d.ts.map +1 -0
  50. package/dist/cli/removed-ui-cmd.js +17 -0
  51. package/dist/cli/removed-ui-cmd.js.map +1 -0
  52. package/dist/core/bootstrap-environment.d.ts.map +1 -1
  53. package/dist/core/bootstrap-environment.js +6 -2
  54. package/dist/core/bootstrap-environment.js.map +1 -1
  55. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  56. package/dist/core/lisa-owned-hash-ledger.js +12 -0
  57. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  58. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  59. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  60. package/dist/core/upstream-evidence-manifest.js +36 -97
  61. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  62. package/dist/devin/enforcement-fallback-installer.d.ts +0 -8
  63. package/dist/devin/enforcement-fallback-installer.d.ts.map +1 -1
  64. package/dist/devin/enforcement-fallback-installer.js +0 -26
  65. package/dist/devin/enforcement-fallback-installer.js.map +1 -1
  66. package/dist/health/governance-probes.d.ts.map +1 -1
  67. package/dist/health/governance-probes.js +8 -1
  68. package/dist/health/governance-probes.js.map +1 -1
  69. package/dist/health/plugin-inspection.d.ts +6 -1
  70. package/dist/health/plugin-inspection.d.ts.map +1 -1
  71. package/dist/health/plugin-inspection.js +10 -3
  72. package/dist/health/plugin-inspection.js.map +1 -1
  73. package/dist/health/ruleset-reach-inspection.d.ts.map +1 -1
  74. package/dist/health/ruleset-reach-inspection.js +2 -7
  75. package/dist/health/ruleset-reach-inspection.js.map +1 -1
  76. package/dist/standards/capture.d.ts +1 -1
  77. package/dist/standards/capture.d.ts.map +1 -1
  78. package/dist/standards/capture.js +2 -2
  79. package/dist/standards/capture.js.map +1 -1
  80. package/dist/standards/readiness.d.ts +9 -2
  81. package/dist/standards/readiness.d.ts.map +1 -1
  82. package/dist/standards/readiness.js +12 -3
  83. package/dist/standards/readiness.js.map +1 -1
  84. package/dist/sync/json-path.d.ts +0 -10
  85. package/dist/sync/json-path.d.ts.map +1 -1
  86. package/dist/sync/json-path.js +0 -14
  87. package/dist/sync/json-path.js.map +1 -1
  88. package/dist/sync/sync-population.d.ts +0 -6
  89. package/dist/sync/sync-population.d.ts.map +1 -1
  90. package/dist/sync/sync-population.js +0 -8
  91. package/dist/sync/sync-population.js.map +1 -1
  92. package/dist/utils/marketplace-manifest.d.ts.map +1 -1
  93. package/dist/utils/marketplace-manifest.js +2 -3
  94. package/dist/utils/marketplace-manifest.js.map +1 -1
  95. package/package.json +4 -5
  96. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  97. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  98. package/plugins/lisa/.codex-plugin/skills/lisa-generate-claude-remote-build-script/SKILL.md +5 -18
  99. package/plugins/lisa/.codex-plugin/skills/lisa-setup-automations/SKILL.md +1 -1
  100. package/plugins/lisa/skills/lisa-generate-claude-remote-build-script/SKILL.md +5 -18
  101. package/plugins/lisa/skills/lisa-setup-automations/SKILL.md +1 -1
  102. package/plugins/lisa-agy/plugin.json +1 -1
  103. package/plugins/lisa-agy/skills/lisa-generate-claude-remote-build-script/SKILL.md +5 -18
  104. package/plugins/lisa-agy/skills/lisa-setup-automations/SKILL.md +1 -1
  105. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  106. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  107. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  108. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  109. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  110. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  111. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  112. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  113. package/plugins/lisa-copilot/skills/lisa-generate-claude-remote-build-script/SKILL.md +5 -18
  114. package/plugins/lisa-copilot/skills/lisa-setup-automations/SKILL.md +1 -1
  115. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  116. package/plugins/lisa-cursor/skills/lisa-generate-claude-remote-build-script/SKILL.md +5 -18
  117. package/plugins/lisa-cursor/skills/lisa-setup-automations/SKILL.md +1 -1
  118. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  119. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  120. package/plugins/lisa-devin/skills/lisa-generate-claude-remote-build-script/SKILL.md +5 -18
  121. package/plugins/lisa-devin/skills/lisa-setup-automations/SKILL.md +1 -1
  122. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  123. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  124. package/plugins/lisa-expo-agy/plugin.json +1 -1
  125. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  126. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  127. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  128. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  129. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  130. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  131. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  132. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  133. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  134. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  135. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  136. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  137. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  138. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  139. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  140. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  141. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  142. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  143. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  144. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  145. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  146. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  147. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  148. package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
  149. package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
  150. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  151. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  152. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  153. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  154. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  155. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  156. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  157. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  158. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  159. package/plugins/lisa-rails-agy/plugin.json +1 -1
  160. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  161. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  162. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  163. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  164. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  165. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  166. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  167. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  168. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  169. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  170. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  171. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  172. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  173. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  174. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  175. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  176. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  177. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  178. package/plugins/src/base/skills/lisa-generate-claude-remote-build-script/SKILL.md +5 -18
  179. package/plugins/src/base/skills/lisa-setup-automations/SKILL.md +1 -1
  180. package/scripts/check-derived-artifacts.mjs +0 -1
  181. package/scripts/generate-upstream-evidence-manifest.mjs +0 -1
  182. package/scripts/install-claude-plugins.sh +4 -1
  183. package/scripts/lisa-ruleset-reach.mjs +0 -3
  184. package/scripts/two-channel-couplings.json +1 -1
  185. package/typescript/copy-overwrite/.prettierignore +1 -0
  186. package/dist/cli/gate-report-drift-section.d.ts +0 -8
  187. package/dist/cli/gate-report-drift-section.d.ts.map +0 -1
  188. package/dist/cli/gate-report-drift-section.js +0 -76
  189. package/dist/cli/gate-report-drift-section.js.map +0 -1
  190. package/dist/cli/gate-report-fragment.d.ts +0 -11
  191. package/dist/cli/gate-report-fragment.d.ts.map +0 -1
  192. package/dist/cli/gate-report-fragment.js +0 -106
  193. package/dist/cli/gate-report-fragment.js.map +0 -1
  194. package/dist/cli/gate-report-html.d.ts +0 -47
  195. package/dist/cli/gate-report-html.d.ts.map +0 -1
  196. package/dist/cli/gate-report-html.js +0 -49
  197. package/dist/cli/gate-report-html.js.map +0 -1
  198. package/dist/cli/gate-report-preview.d.ts +0 -9
  199. package/dist/cli/gate-report-preview.d.ts.map +0 -1
  200. package/dist/cli/gate-report-preview.js +0 -55
  201. package/dist/cli/gate-report-preview.js.map +0 -1
  202. package/dist/cli/gate-report-rows.d.ts +0 -39
  203. package/dist/cli/gate-report-rows.d.ts.map +0 -1
  204. package/dist/cli/gate-report-rows.js +0 -227
  205. package/dist/cli/gate-report-rows.js.map +0 -1
  206. package/dist/cli/gate-report-sections.d.ts +0 -38
  207. package/dist/cli/gate-report-sections.d.ts.map +0 -1
  208. package/dist/cli/gate-report-sections.js +0 -225
  209. package/dist/cli/gate-report-sections.js.map +0 -1
  210. package/dist/cli/gate-report-style.d.ts +0 -19
  211. package/dist/cli/gate-report-style.d.ts.map +0 -1
  212. package/dist/cli/gate-report-style.js +0 -100
  213. package/dist/cli/gate-report-style.js.map +0 -1
  214. package/dist/cli/remote-environment-catalog.d.ts +0 -17
  215. package/dist/cli/remote-environment-catalog.d.ts.map +0 -1
  216. package/dist/cli/remote-environment-catalog.js +0 -175
  217. package/dist/cli/remote-environment-catalog.js.map +0 -1
  218. package/dist/cli/remote-environment-contract.d.ts +0 -94
  219. package/dist/cli/remote-environment-contract.d.ts.map +0 -1
  220. package/dist/cli/remote-environment-contract.js +0 -59
  221. package/dist/cli/remote-environment-contract.js.map +0 -1
  222. package/dist/cli/remote-environment-detection.d.ts +0 -23
  223. package/dist/cli/remote-environment-detection.d.ts.map +0 -1
  224. package/dist/cli/remote-environment-detection.js +0 -120
  225. package/dist/cli/remote-environment-detection.js.map +0 -1
  226. package/dist/cli/remote-environment.d.ts +0 -12
  227. package/dist/cli/remote-environment.d.ts.map +0 -1
  228. package/dist/cli/remote-environment.js +0 -73
  229. package/dist/cli/remote-environment.js.map +0 -1
  230. package/dist/cli/ui-automations-adapters.d.ts +0 -72
  231. package/dist/cli/ui-automations-adapters.d.ts.map +0 -1
  232. package/dist/cli/ui-automations-adapters.js +0 -174
  233. package/dist/cli/ui-automations-adapters.js.map +0 -1
  234. package/dist/cli/ui-automations.d.ts +0 -90
  235. package/dist/cli/ui-automations.d.ts.map +0 -1
  236. package/dist/cli/ui-automations.js +0 -149
  237. package/dist/cli/ui-automations.js.map +0 -1
  238. package/dist/cli/ui-ci-quality-jobs-compute.d.ts +0 -44
  239. package/dist/cli/ui-ci-quality-jobs-compute.d.ts.map +0 -1
  240. package/dist/cli/ui-ci-quality-jobs-compute.js +0 -278
  241. package/dist/cli/ui-ci-quality-jobs-compute.js.map +0 -1
  242. package/dist/cli/ui-ci-quality-jobs-parse.d.ts.map +0 -1
  243. package/dist/cli/ui-ci-quality-jobs-parse.js.map +0 -1
  244. package/dist/cli/ui-ci-quality-jobs.d.ts +0 -22
  245. package/dist/cli/ui-ci-quality-jobs.d.ts.map +0 -1
  246. package/dist/cli/ui-ci-quality-jobs.js +0 -160
  247. package/dist/cli/ui-ci-quality-jobs.js.map +0 -1
  248. package/dist/cli/ui-cmd.d.ts +0 -87
  249. package/dist/cli/ui-cmd.d.ts.map +0 -1
  250. package/dist/cli/ui-cmd.js +0 -383
  251. package/dist/cli/ui-cmd.js.map +0 -1
  252. package/dist/cli/ui-config-write-document.d.ts +0 -53
  253. package/dist/cli/ui-config-write-document.d.ts.map +0 -1
  254. package/dist/cli/ui-config-write-document.js +0 -212
  255. package/dist/cli/ui-config-write-document.js.map +0 -1
  256. package/dist/cli/ui-config-write-patch-plan.d.ts +0 -30
  257. package/dist/cli/ui-config-write-patch-plan.d.ts.map +0 -1
  258. package/dist/cli/ui-config-write-patch-plan.js +0 -151
  259. package/dist/cli/ui-config-write-patch-plan.js.map +0 -1
  260. package/dist/cli/ui-config-write-persistence.d.ts +0 -29
  261. package/dist/cli/ui-config-write-persistence.d.ts.map +0 -1
  262. package/dist/cli/ui-config-write-persistence.js +0 -298
  263. package/dist/cli/ui-config-write-persistence.js.map +0 -1
  264. package/dist/cli/ui-config-write-property-edits.d.ts +0 -40
  265. package/dist/cli/ui-config-write-property-edits.d.ts.map +0 -1
  266. package/dist/cli/ui-config-write-property-edits.js +0 -250
  267. package/dist/cli/ui-config-write-property-edits.js.map +0 -1
  268. package/dist/cli/ui-config-write-provenance.d.ts +0 -12
  269. package/dist/cli/ui-config-write-provenance.d.ts.map +0 -1
  270. package/dist/cli/ui-config-write-provenance.js +0 -29
  271. package/dist/cli/ui-config-write-provenance.js.map +0 -1
  272. package/dist/cli/ui-config-write-root-identity.d.ts +0 -25
  273. package/dist/cli/ui-config-write-root-identity.d.ts.map +0 -1
  274. package/dist/cli/ui-config-write-root-identity.js +0 -66
  275. package/dist/cli/ui-config-write-root-identity.js.map +0 -1
  276. package/dist/cli/ui-config-write.d.ts +0 -13
  277. package/dist/cli/ui-config-write.d.ts.map +0 -1
  278. package/dist/cli/ui-config-write.js +0 -341
  279. package/dist/cli/ui-config-write.js.map +0 -1
  280. package/dist/cli/ui-confined-project-read.d.ts.map +0 -1
  281. package/dist/cli/ui-confined-project-read.js.map +0 -1
  282. package/dist/cli/ui-deploy-pipeline-model.d.ts +0 -74
  283. package/dist/cli/ui-deploy-pipeline-model.d.ts.map +0 -1
  284. package/dist/cli/ui-deploy-pipeline-model.js +0 -127
  285. package/dist/cli/ui-deploy-pipeline-model.js.map +0 -1
  286. package/dist/cli/ui-deploy-pipeline.d.ts +0 -25
  287. package/dist/cli/ui-deploy-pipeline.d.ts.map +0 -1
  288. package/dist/cli/ui-deploy-pipeline.js +0 -181
  289. package/dist/cli/ui-deploy-pipeline.js.map +0 -1
  290. package/dist/cli/ui-detected-stacks.d.ts +0 -21
  291. package/dist/cli/ui-detected-stacks.d.ts.map +0 -1
  292. package/dist/cli/ui-detected-stacks.js.map +0 -1
  293. package/dist/cli/ui-enabled-plugins.d.ts +0 -52
  294. package/dist/cli/ui-enabled-plugins.d.ts.map +0 -1
  295. package/dist/cli/ui-enabled-plugins.js +0 -229
  296. package/dist/cli/ui-enabled-plugins.js.map +0 -1
  297. package/dist/cli/ui-gate-report.d.ts +0 -57
  298. package/dist/cli/ui-gate-report.d.ts.map +0 -1
  299. package/dist/cli/ui-gate-report.js +0 -95
  300. package/dist/cli/ui-gate-report.js.map +0 -1
  301. package/dist/cli/ui-github-repo-expected.d.ts +0 -36
  302. package/dist/cli/ui-github-repo-expected.d.ts.map +0 -1
  303. package/dist/cli/ui-github-repo-expected.js +0 -118
  304. package/dist/cli/ui-github-repo-expected.js.map +0 -1
  305. package/dist/cli/ui-github-repo-gh.d.ts +0 -56
  306. package/dist/cli/ui-github-repo-gh.d.ts.map +0 -1
  307. package/dist/cli/ui-github-repo-gh.js +0 -117
  308. package/dist/cli/ui-github-repo-gh.js.map +0 -1
  309. package/dist/cli/ui-github-repo-map.d.ts +0 -25
  310. package/dist/cli/ui-github-repo-map.d.ts.map +0 -1
  311. package/dist/cli/ui-github-repo-map.js +0 -175
  312. package/dist/cli/ui-github-repo-map.js.map +0 -1
  313. package/dist/cli/ui-github-repo.d.ts +0 -51
  314. package/dist/cli/ui-github-repo.d.ts.map +0 -1
  315. package/dist/cli/ui-github-repo.js +0 -117
  316. package/dist/cli/ui-github-repo.js.map +0 -1
  317. package/dist/cli/ui-health.d.ts +0 -18
  318. package/dist/cli/ui-health.d.ts.map +0 -1
  319. package/dist/cli/ui-health.js +0 -101
  320. package/dist/cli/ui-health.js.map +0 -1
  321. package/dist/cli/ui-lisa-version.d.ts +0 -36
  322. package/dist/cli/ui-lisa-version.d.ts.map +0 -1
  323. package/dist/cli/ui-lisa-version.js +0 -82
  324. package/dist/cli/ui-lisa-version.js.map +0 -1
  325. package/dist/cli/ui-observability-checks.d.ts +0 -23
  326. package/dist/cli/ui-observability-checks.d.ts.map +0 -1
  327. package/dist/cli/ui-observability-checks.js +0 -156
  328. package/dist/cli/ui-observability-checks.js.map +0 -1
  329. package/dist/cli/ui-observability-providers.d.ts +0 -69
  330. package/dist/cli/ui-observability-providers.d.ts.map +0 -1
  331. package/dist/cli/ui-observability-providers.js +0 -99
  332. package/dist/cli/ui-observability-providers.js.map +0 -1
  333. package/dist/cli/ui-request-origin.d.ts +0 -8
  334. package/dist/cli/ui-request-origin.d.ts.map +0 -1
  335. package/dist/cli/ui-request-origin.js +0 -41
  336. package/dist/cli/ui-request-origin.js.map +0 -1
  337. package/dist/cli/ui-setup-readiness-config.d.ts +0 -28
  338. package/dist/cli/ui-setup-readiness-config.d.ts.map +0 -1
  339. package/dist/cli/ui-setup-readiness-config.js +0 -116
  340. package/dist/cli/ui-setup-readiness-config.js.map +0 -1
  341. package/dist/cli/ui-setup-readiness-contract.d.ts +0 -32
  342. package/dist/cli/ui-setup-readiness-contract.d.ts.map +0 -1
  343. package/dist/cli/ui-setup-readiness-contract.js +0 -61
  344. package/dist/cli/ui-setup-readiness-contract.js.map +0 -1
  345. package/dist/cli/ui-setup-readiness-install.d.ts +0 -24
  346. package/dist/cli/ui-setup-readiness-install.d.ts.map +0 -1
  347. package/dist/cli/ui-setup-readiness-install.js +0 -211
  348. package/dist/cli/ui-setup-readiness-install.js.map +0 -1
  349. package/dist/cli/ui-setup-readiness-local.d.ts +0 -41
  350. package/dist/cli/ui-setup-readiness-local.d.ts.map +0 -1
  351. package/dist/cli/ui-setup-readiness-local.js +0 -237
  352. package/dist/cli/ui-setup-readiness-local.js.map +0 -1
  353. package/dist/cli/ui-setup-readiness-remote.d.ts +0 -30
  354. package/dist/cli/ui-setup-readiness-remote.d.ts.map +0 -1
  355. package/dist/cli/ui-setup-readiness-remote.js +0 -108
  356. package/dist/cli/ui-setup-readiness-remote.js.map +0 -1
  357. package/dist/cli/ui-setup-readiness.d.ts +0 -52
  358. package/dist/cli/ui-setup-readiness.d.ts.map +0 -1
  359. package/dist/cli/ui-setup-readiness.js +0 -126
  360. package/dist/cli/ui-setup-readiness.js.map +0 -1
  361. package/dist/cli/ui-starter-sync.d.ts +0 -17
  362. package/dist/cli/ui-starter-sync.d.ts.map +0 -1
  363. package/dist/cli/ui-starter-sync.js +0 -75
  364. package/dist/cli/ui-starter-sync.js.map +0 -1
  365. package/dist/cli/ui-status-json.d.ts +0 -29
  366. package/dist/cli/ui-status-json.d.ts.map +0 -1
  367. package/dist/cli/ui-status-json.js +0 -162
  368. package/dist/cli/ui-status-json.js.map +0 -1
  369. package/dist/cli/ui-status.d.ts +0 -42
  370. package/dist/cli/ui-status.d.ts.map +0 -1
  371. package/dist/cli/ui-status.js +0 -221
  372. package/dist/cli/ui-status.js.map +0 -1
  373. package/ui/README.md +0 -443
  374. package/ui/index.html +0 -14392
@@ -1,250 +0,0 @@
1
- /**
2
- * @file ui-config-write-property-edits.ts
3
- * @description Minimal strict-JSON property edits against original source offsets.
4
- * @module cli/ui-config-write-property-edits
5
- */
6
- import { findNodeAtLocation, } from "jsonc-parser";
7
- /**
8
- * Plan direct child changes inside one original object.
9
- * @param text - Original strict JSON text
10
- * @param tree - Original syntax tree
11
- * @param group - Direct removals and insertions for one object
12
- * @returns Minimal edits for this object, all against original offsets
13
- */
14
- export function planObjectPatchEdits(text, tree, group) {
15
- const objectNode = findObjectNode(tree, group.parentPath);
16
- const properties = objectNode.children ?? [];
17
- const kept = properties.filter(property => !group.removals.includes(propertyKey(property)));
18
- if (properties.length > 0 &&
19
- kept.length === 0 &&
20
- group.insertions.length > 0) {
21
- const first = requireNode(properties[0]);
22
- const last = requireNode(properties.at(-1));
23
- return [
24
- {
25
- offset: first.offset,
26
- length: nodeEnd(last) - first.offset,
27
- content: renderInsertedProperties(text, objectNode, group.insertions),
28
- },
29
- ];
30
- }
31
- return [
32
- ...planPropertyRemovals(text, properties, group.removals),
33
- ...planPropertyInsertions(text, objectNode, properties, kept, group.insertions),
34
- ];
35
- }
36
- /**
37
- * Serialize a JSON value while refusing the impossible `undefined` result.
38
- * @param value - Registry-validated JSON value
39
- * @returns Strict JSON syntax for only the targeted value span
40
- */
41
- export function serializeConfigValue(value) {
42
- const serialized = JSON.stringify(value);
43
- if (serialized === undefined) {
44
- throw new Error("Config value is not JSON-serializable");
45
- }
46
- return serialized;
47
- }
48
- /**
49
- * Resolve and require an original object node at a property path.
50
- * @param tree - Original strict-JSON syntax tree
51
- * @param path - Object property path
52
- * @returns Original object node at that path
53
- */
54
- function findObjectNode(tree, path) {
55
- const node = path.length === 0 ? tree : findNodeAtLocation(tree, [...path]);
56
- if (node?.type !== "object") {
57
- throw new Error("Config surgical edit parent is not an object");
58
- }
59
- return node;
60
- }
61
- /**
62
- * Require a syntax node that an earlier length check proved exists.
63
- * @param node - Candidate property node
64
- * @returns Present node or a deterministic planning failure
65
- */
66
- function requireNode(node) {
67
- if (node === undefined) {
68
- throw new Error("Config surgical edit lost its source property");
69
- }
70
- return node;
71
- }
72
- /**
73
- * Read a property node's decoded key.
74
- * @param property - Original direct property node
75
- * @returns Decoded strict-JSON property name
76
- */
77
- function propertyKey(property) {
78
- const key = property.children?.[0]?.value;
79
- if (property.type !== "property" || typeof key !== "string") {
80
- throw new Error("Config surgical edit encountered an invalid property");
81
- }
82
- return key;
83
- }
84
- /**
85
- * Compute a node's exclusive original-text end offset.
86
- * @param node - Original syntax-tree node
87
- * @returns First source offset after the node
88
- */
89
- function nodeEnd(node) {
90
- return node.offset + node.length;
91
- }
92
- /**
93
- * Delete consecutive target properties with one delimiter-aware edit per run.
94
- * @param text - Original strict JSON text
95
- * @param properties - Direct properties in original source order
96
- * @param removalKeys - Direct keys absent from the prospective object
97
- * @returns Non-overlapping deletions that retain every kept property byte
98
- */
99
- function planPropertyRemovals(text, properties, removalKeys) {
100
- const indices = properties
101
- .map((property, index) => removalKeys.includes(propertyKey(property)) ? index : -1)
102
- .filter(index => index >= 0);
103
- const runs = indices.reduce((result, index) => {
104
- const previous = result.at(-1);
105
- return previous !== undefined && previous[1] + 1 === index
106
- ? [...result.slice(0, -1), [previous[0], index]]
107
- : [...result, [index, index]];
108
- }, []);
109
- return runs.map(([firstIndex, lastIndex]) => {
110
- const first = requireNode(properties[firstIndex]);
111
- const last = requireNode(properties[lastIndex]);
112
- const next = properties[lastIndex + 1];
113
- if (next !== undefined) {
114
- return {
115
- offset: first.offset,
116
- length: next.offset - first.offset,
117
- content: "",
118
- };
119
- }
120
- const previous = properties[firstIndex - 1];
121
- if (previous === undefined) {
122
- return {
123
- offset: first.offset,
124
- length: nodeEnd(last) - first.offset,
125
- content: "",
126
- };
127
- }
128
- const comma = requireComma(text, nodeEnd(previous), first.offset);
129
- return { offset: comma, length: nodeEnd(last) - comma, content: "" };
130
- });
131
- }
132
- /**
133
- * Locate the strict-JSON comma separating adjacent property nodes.
134
- * @param text - Original strict JSON text
135
- * @param start - End offset of the preceding property
136
- * @param end - Start offset of the following property
137
- * @returns Comma offset between those properties
138
- */
139
- function requireComma(text, start, end) {
140
- const comma = text.indexOf(",", start);
141
- if (comma === -1 || comma >= end) {
142
- throw new Error("Config surgical edit could not locate a property comma");
143
- }
144
- return comma;
145
- }
146
- /**
147
- * Insert missing properties beside a retained anchor or inside an empty object.
148
- * @param text - Original strict JSON text
149
- * @param objectNode - Original parent object
150
- * @param properties - All original direct properties
151
- * @param kept - Direct properties not removed by this transaction
152
- * @param insertions - Missing properties with final prospective values
153
- * @returns Zero or one source-relative insertion
154
- */
155
- function planPropertyInsertions(text, objectNode, properties, kept, insertions) {
156
- if (insertions.length === 0)
157
- return [];
158
- const content = renderInsertedProperties(text, objectNode, insertions);
159
- const anchor = kept.at(-1);
160
- if (anchor !== undefined) {
161
- return [
162
- {
163
- offset: nodeEnd(anchor),
164
- length: 0,
165
- content: `${inferPropertySeparator(text, objectNode, properties)}${content}`,
166
- },
167
- ];
168
- }
169
- const interior = text.slice(objectNode.offset + 1, nodeEnd(objectNode) - 1);
170
- const prefix = interior.includes("\n")
171
- ? `${inferEol(text)}${inferChildIndent(text, objectNode)}`
172
- : "";
173
- return [
174
- {
175
- offset: objectNode.offset + 1,
176
- length: 0,
177
- content: `${prefix}${content}`,
178
- },
179
- ];
180
- }
181
- /**
182
- * Render only new property syntax; existing property text never enters here.
183
- * @param text - Original strict JSON text
184
- * @param objectNode - Parent object supplying separator style
185
- * @param insertions - Missing properties in stable request order
186
- * @returns Strict JSON property fragments
187
- */
188
- function renderInsertedProperties(text, objectNode, insertions) {
189
- const separator = inferPropertySeparator(text, objectNode, objectNode.children ?? []);
190
- return insertions
191
- .map(patch => {
192
- const key = patch.path.at(-1);
193
- if (key === undefined || patch.value === undefined) {
194
- throw new Error("Config insertion is missing a property value");
195
- }
196
- return `${JSON.stringify(key)}: ${serializeConfigValue(patch.value)}`;
197
- })
198
- .join(separator);
199
- }
200
- /**
201
- * Reuse an original property separator, falling back to inferred indentation.
202
- * @param text - Original strict JSON text
203
- * @param objectNode - Parent object supplying the fallback style
204
- * @param properties - Original direct properties
205
- * @returns Comma plus whitespace before the next property
206
- */
207
- function inferPropertySeparator(text, objectNode, properties) {
208
- const [first, second] = properties;
209
- if (first !== undefined && second !== undefined) {
210
- const comma = requireComma(text, nodeEnd(first), second.offset);
211
- return text.slice(comma, second.offset);
212
- }
213
- if (first === undefined)
214
- return ",";
215
- const prefix = text.slice(objectNode.offset + 1, first.offset);
216
- if (prefix.includes("\n")) {
217
- return `,${inferEol(text)}${lineIndentAt(text, first.offset)}`;
218
- }
219
- return prefix.length > 0 ? `,${prefix}` : ",";
220
- }
221
- /**
222
- * Infer the original newline sequence without normalizing source bytes.
223
- * @param text - Original strict JSON text
224
- * @returns CRLF when present, otherwise LF
225
- */
226
- function inferEol(text) {
227
- return text.includes("\r\n") ? "\r\n" : "\n";
228
- }
229
- /**
230
- * Read exact indentation immediately before a node on its source line.
231
- * @param text - Original strict JSON text
232
- * @param offset - Node start offset
233
- * @returns Whitespace-only line prefix, or empty for inline nodes
234
- */
235
- function lineIndentAt(text, offset) {
236
- const lineStart = text.lastIndexOf("\n", offset - 1) + 1;
237
- const prefix = text.slice(lineStart, offset);
238
- return /^[ \t]*$/u.test(prefix) ? prefix : "";
239
- }
240
- /**
241
- * Infer one child indentation level for a genuinely empty multiline object.
242
- * @param text - Original strict JSON text
243
- * @param objectNode - Empty object receiving its first property
244
- * @returns Parent indentation plus the document's indentation unit
245
- */
246
- function inferChildIndent(text, objectNode) {
247
- const indentation = /\r?\n([ \t]+)"/u.exec(text)?.[1] ?? " ";
248
- return `${lineIndentAt(text, objectNode.offset)}${indentation}`;
249
- }
250
- //# sourceMappingURL=ui-config-write-property-edits.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ui-config-write-property-edits.js","sourceRoot":"","sources":["../../src/cli/ui-config-write-property-edits.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACL,kBAAkB,GAGnB,MAAM,cAAc,CAAC;AAuBtB;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAClC,IAAY,EACZ,IAAc,EACd,KAAuB;IAEvB,MAAM,UAAU,GAAG,cAAc,CAAC,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAC1D,MAAM,UAAU,GAAG,UAAU,CAAC,QAAQ,IAAI,EAAE,CAAC;IAC7C,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAC5B,QAAQ,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ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SAAS,gBAAgB,CAAC,IAAY,EAAE,UAAoB;IAC1D,MAAM,WAAW,GAAG,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;IAC9D,OAAO,GAAG,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,WAAW,EAAE,CAAC;AAClE,CAAC"}
@@ -1,12 +0,0 @@
1
- /**
2
- * Provenance cleanup routing for human-authored UI config writes.
3
- * @module cli/ui-config-write-provenance
4
- */
5
- import type { JsonValue } from "../sync/json-path.js";
6
- /**
7
- * Resolve descendant human edits to literal registry-owner provenance paths.
8
- * @param changes - Committed registry-root or descendant edits
9
- * @returns Unique exact paths under `_lisaSync.populated`
10
- */
11
- export declare function provenanceRemovals(changes: Readonly<Record<string, JsonValue>>): readonly (readonly string[])[];
12
- //# sourceMappingURL=ui-config-write-provenance.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ui-config-write-provenance.d.ts","sourceRoot":"","sources":["../../src/cli/ui-config-write-provenance.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAItD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,GAC3C,SAAS,CAAC,SAAS,MAAM,EAAE,CAAC,EAAE,CAKhC"}
@@ -1,29 +0,0 @@
1
- import { SYNC_REGISTRY } from "../sync/registry.js";
2
- import { populationPropertyPath } from "../sync/sync-population.js";
3
- /**
4
- * Resolve descendant human edits to literal registry-owner provenance paths.
5
- * @param changes - Committed registry-root or descendant edits
6
- * @returns Unique exact paths under `_lisaSync.populated`
7
- */
8
- export function provenanceRemovals(changes) {
9
- const owners = Object.keys(changes)
10
- .map(syncOwnerKey)
11
- .filter((owner) => owner !== undefined);
12
- return [...new Set(owners)].map(populationPropertyPath);
13
- }
14
- /**
15
- * Find the most specific registry owner for one already-routed key.
16
- * @param key - Registry root or descendant dot path
17
- * @returns Owning registry key, when present
18
- */
19
- function syncOwnerKey(key) {
20
- return SYNC_REGISTRY.reduce((owner, entry) => {
21
- if (key !== entry.key && !key.startsWith(`${entry.key}.`)) {
22
- return owner;
23
- }
24
- return owner === undefined || entry.key.length > owner.length
25
- ? entry.key
26
- : owner;
27
- }, undefined);
28
- }
29
- //# sourceMappingURL=ui-config-write-provenance.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ui-config-write-provenance.js","sourceRoot":"","sources":["../../src/cli/ui-config-write-provenance.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEpE;;;;GAIG;AACH,MAAM,UAAU,kBAAkB,CAChC,OAA4C;IAE5C,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;SAChC,GAAG,CAAC,YAAY,CAAC;SACjB,MAAM,CAAC,CAAC,KAAK,EAAmB,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC;IAC3D,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC;AAC1D,CAAC;AAED;;;;GAIG;AACH,SAAS,YAAY,CAAC,GAAW;IAC/B,OAAO,aAAa,CAAC,MAAM,CAAqB,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;QAC/D,IAAI,GAAG,KAAK,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,GAAG,GAAG,CAAC,EAAE,CAAC;YAC1D,OAAO,KAAK,CAAC;QACf,CAAC;QACD,OAAO,KAAK,KAAK,SAAS,IAAI,KAAK,CAAC,GAAG,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM;YAC3D,CAAC,CAAC,KAAK,CAAC,GAAG;YACX,CAAC,CAAC,KAAK,CAAC;IACZ,CAAC,EAAE,SAAS,CAAC,CAAC;AAChB,CAAC"}
@@ -1,25 +0,0 @@
1
- /** Canonical path and stable metadata used to detect directory replacement. */
2
- export interface ProjectRootIdentity {
3
- readonly path: string;
4
- readonly dev: bigint;
5
- readonly ino: bigint;
6
- readonly birthtimeNs: bigint;
7
- readonly mode: bigint;
8
- readonly uid: bigint;
9
- readonly gid: bigint;
10
- }
11
- /**
12
- * Capture and immediately revalidate an existing project directory.
13
- * @param projectRoot - Project path supplied by the UI server
14
- * @returns Canonical directory identity for all later transaction boundaries
15
- */
16
- export declare function requireCanonicalProjectRoot(projectRoot: string): Promise<ProjectRootIdentity>;
17
- /**
18
- * Revalidate the path against its initial directory identity. A realpath
19
- * sandwich catches ancestor redirection during metadata capture; stable
20
- * device/inode/birth/ownership metadata catches a byte-identical replacement
21
- * at the same canonical spelling.
22
- * @param expected - Identity captured before locking and file access
23
- */
24
- export declare function assertProjectRootIdentity(expected: ProjectRootIdentity): Promise<void>;
25
- //# sourceMappingURL=ui-config-write-root-identity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ui-config-write-root-identity.d.ts","sourceRoot":"","sources":["../../src/cli/ui-config-write-root-identity.ts"],"names":[],"mappings":"AAcA,+EAA+E;AAC/E,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACtB;AAED;;;;GAIG;AACH,wBAAsB,2BAA2B,CAC/C,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,mBAAmB,CAAC,CAiB9B;AAED;;;;;;GAMG;AACH,wBAAsB,yBAAyB,CAC7C,QAAQ,EAAE,mBAAmB,GAC5B,OAAO,CAAC,IAAI,CAAC,CAsBf"}
@@ -1,66 +0,0 @@
1
- /**
2
- * @file ui-config-write-root-identity.ts
3
- * @description Portable fail-closed identity checks for UI config roots.
4
- *
5
- * Node exposes path-based filesystem calls but no portable `openat`/`renameat`
6
- * equivalents. A canonical realpath sandwich plus stable directory metadata is
7
- * therefore the strongest portable anchor available at each call boundary;
8
- * callers must still disclose the same-user race inside a final check-to-use
9
- * gap instead of claiming descriptor-relative protection.
10
- * @module cli/ui-config-write-root-identity
11
- */
12
- import { lstat, realpath } from "node:fs/promises";
13
- import * as path from "node:path";
14
- /**
15
- * Capture and immediately revalidate an existing project directory.
16
- * @param projectRoot - Project path supplied by the UI server
17
- * @returns Canonical directory identity for all later transaction boundaries
18
- */
19
- export async function requireCanonicalProjectRoot(projectRoot) {
20
- const canonical = await realpath(path.resolve(projectRoot));
21
- const metadata = await lstat(canonical, { bigint: true });
22
- if (!metadata.isDirectory()) {
23
- throw new Error("Config project root must be a directory");
24
- }
25
- const identity = {
26
- path: canonical,
27
- dev: metadata.dev,
28
- ino: metadata.ino,
29
- birthtimeNs: metadata.birthtimeNs,
30
- mode: metadata.mode,
31
- uid: metadata.uid,
32
- gid: metadata.gid,
33
- };
34
- await assertProjectRootIdentity(identity);
35
- return identity;
36
- }
37
- /**
38
- * Revalidate the path against its initial directory identity. A realpath
39
- * sandwich catches ancestor redirection during metadata capture; stable
40
- * device/inode/birth/ownership metadata catches a byte-identical replacement
41
- * at the same canonical spelling.
42
- * @param expected - Identity captured before locking and file access
43
- */
44
- export async function assertProjectRootIdentity(expected) {
45
- try {
46
- const canonicalBefore = await realpath(expected.path);
47
- const current = await lstat(expected.path, { bigint: true });
48
- const canonicalAfter = await realpath(expected.path);
49
- if (canonicalBefore !== expected.path ||
50
- canonicalAfter !== expected.path ||
51
- !current.isDirectory() ||
52
- current.isSymbolicLink() ||
53
- current.dev !== expected.dev ||
54
- current.ino !== expected.ino ||
55
- current.birthtimeNs !== expected.birthtimeNs ||
56
- current.mode !== expected.mode ||
57
- current.uid !== expected.uid ||
58
- current.gid !== expected.gid) {
59
- throw new Error("identity mismatch");
60
- }
61
- }
62
- catch {
63
- throw new Error("Config project root changed during write");
64
- }
65
- }
66
- //# sourceMappingURL=ui-config-write-root-identity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ui-config-write-root-identity.js","sourceRoot":"","sources":["../../src/cli/ui-config-write-root-identity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAalC;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAC/C,WAAmB;IAEnB,MAAM,SAAS,GAAG,MAAM,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;IAC5D,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IAC1D,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,EAAE,CAAC;QAC5B,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;IAC7D,CAAC;IACD,MAAM,QAAQ,GAAwB;QACpC,IAAI,EAAE,SAAS;QACf,GAAG,EAAE,QAAQ,CAAC,GAAG;QACjB,GAAG,EAAE,QAAQ,CAAC,GAAG;QACjB,WAAW,EAAE,QAAQ,CAAC,WAAW;QACjC,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,GAAG,EAAE,QAAQ,CAAC,GAAG;QACjB,GAAG,EAAE,QAAQ,CAAC,GAAG;KAClB,CAAC;IACF,MAAM,yBAAyB,CAAC,QAAQ,CAAC,CAAC;IAC1C,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAC7C,QAA6B;IAE7B,IAAI,CAAC;QACH,MAAM,eAAe,GAAG,MAAM,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACtD,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;QAC7D,MAAM,cAAc,GAAG,MAAM,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACrD,IACE,eAAe,KAAK,QAAQ,CAAC,IAAI;YACjC,cAAc,KAAK,QAAQ,CAAC,IAAI;YAChC,CAAC,OAAO,CAAC,WAAW,EAAE;YACtB,OAAO,CAAC,cAAc,EAAE;YACxB,OAAO,CAAC,GAAG,KAAK,QAAQ,CAAC,GAAG;YAC5B,OAAO,CAAC,GAAG,KAAK,QAAQ,CAAC,GAAG;YAC5B,OAAO,CAAC,WAAW,KAAK,QAAQ,CAAC,WAAW;YAC5C,OAAO,CAAC,IAAI,KAAK,QAAQ,CAAC,IAAI;YAC9B,OAAO,CAAC,GAAG,KAAK,QAAQ,CAAC,GAAG;YAC5B,OAAO,CAAC,GAAG,KAAK,QAAQ,CAAC,GAAG,EAC5B,CAAC;YACD,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;QACvC,CAAC;IACH,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;IAC9D,CAAC;AACH,CAAC"}
@@ -1,13 +0,0 @@
1
- /**
2
- * Same-origin config write endpoint for `lisa ui`.
3
- * @module cli/ui-config-write
4
- */
5
- import * as http from "node:http";
6
- /**
7
- * Serve the same-origin config write endpoint.
8
- * @param request - Incoming loopback request
9
- * @param response - Response associated with the request
10
- * @param destDir - Project root whose committed config is written
11
- */
12
- export declare function serveConfigWrite(request: http.IncomingMessage, response: http.ServerResponse, destDir: string): void;
13
- //# sourceMappingURL=ui-config-write.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ui-config-write.d.ts","sourceRoot":"","sources":["../../src/cli/ui-config-write.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAuUlC;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,IAAI,CAAC,eAAe,EAC7B,QAAQ,EAAE,IAAI,CAAC,cAAc,EAC7B,OAAO,EAAE,MAAM,GACd,IAAI,CA8DN"}