prismalens 0.5.3 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (488) hide show
  1. package/README.md +7 -5
  2. package/THIRD_PARTY_NOTICES.txt +381 -3
  3. package/dist/{chunk-2BLEMVIB.js → chunk-7JTFOLGT.js} +9 -4
  4. package/dist/{chunk-32MOXOOZ.js → chunk-IEPD6EMA.js} +15 -7
  5. package/dist/{chunk-2SF6M3PV.js → chunk-IJ2EB73U.js} +10 -0
  6. package/dist/{chunk-B34NMVBM.js → chunk-JK7AMZSE.js} +34 -1
  7. package/dist/{chunk-7JF4AL64.js → chunk-NXTEM2HN.js} +3 -2
  8. package/dist/src/cli/doctor.js +53 -184
  9. package/dist/src/cli/pair.js +8 -3
  10. package/dist/src/cli/service-unit.js +1 -1
  11. package/dist/src/cli/service.js +4 -4
  12. package/dist/src/cli/tailscale.js +3 -1
  13. package/dist/src/cli/up-console.js +7 -3
  14. package/dist/src/cli/up.js +23 -4
  15. package/dist/src/cli/upgrade-trial.js +1 -1
  16. package/dist/src/cli/upgrade.js +4 -4
  17. package/node_modules/@prismalens/agent-adapters/THIRD_PARTY_LICENSES/@agentclientprotocol/sdk/2.1.0/LICENSE +191 -0
  18. package/node_modules/@prismalens/agent-adapters/THIRD_PARTY_LICENSES/@anthropic-ai/claude-agent-sdk/README.md +2 -2
  19. package/node_modules/@prismalens/agent-adapters/dist/adapters/bundled.json +6 -6
  20. package/node_modules/@prismalens/agent-adapters/dist/adapters/claude-agent-acp.mjs +3840 -1504
  21. package/node_modules/@prismalens/agent-adapters/dist/adapters/codex-acp.mjs +3247 -1158
  22. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/README.md +2 -2
  23. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/bridge.mjs +81 -86
  24. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/browser-sdk.js +76 -83
  25. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/core-07pvccxf.mjs +43 -0
  26. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/core-0rjxgk9e.mjs +18 -0
  27. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/core-fpeb751h.mjs +33 -0
  28. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/core-jf0rbr11.mjs +17 -0
  29. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/core.d.ts +1 -0
  30. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/core.mjs +12 -21
  31. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/manifest.json +19 -24
  32. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/manifest.zst.json +23 -28
  33. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/package.json +7 -7
  34. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/sdk-tools.d.ts +11 -0
  35. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/sdk.d.ts +139 -36
  36. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/sdk.mjs +68 -73
  37. package/node_modules/@prismalens/agent-adapters/package.json +1 -1
  38. package/node_modules/@prismalens/agent-host/dist/launch.js +81 -12
  39. package/node_modules/@prismalens/agent-host/dist/probe.js +76 -24
  40. package/node_modules/@prismalens/agent-host/dist/registry/agents.js +17 -1
  41. package/node_modules/@prismalens/agent-host/dist/workspace/git.js +20 -5
  42. package/node_modules/@prismalens/agent-host/dist/workspace/index.js +26 -4
  43. package/node_modules/@prismalens/api/dist/src/app.module.js +14 -0
  44. package/node_modules/@prismalens/api/dist/src/core/auth/auth.guard.js +7 -3
  45. package/node_modules/@prismalens/api/dist/src/core/auth/instance-identity.js +12 -0
  46. package/node_modules/@prismalens/api/dist/src/core/auth/operator.controller.js +1 -1
  47. package/node_modules/@prismalens/api/dist/src/core/auth/owner.js +18 -0
  48. package/node_modules/@prismalens/api/dist/src/core/auth/pairing.controller.js +11 -7
  49. package/node_modules/@prismalens/api/dist/src/core/harness/git-credential.js +18 -0
  50. package/node_modules/@prismalens/api/dist/src/core/harness/git-env.js +3 -20
  51. package/node_modules/@prismalens/api/dist/src/core/harness/git-spawn.js +22 -4
  52. package/node_modules/@prismalens/api/dist/src/core/harness/harness.service.js +81 -1
  53. package/node_modules/@prismalens/api/dist/src/core/harness/ready-harness.js +26 -0
  54. package/node_modules/@prismalens/api/dist/src/core/harness/repo-source.service.js +46 -9
  55. package/node_modules/@prismalens/api/dist/src/core/harness/run-worktree.js +22 -5
  56. package/node_modules/@prismalens/api/dist/src/core/lifecycle/admission.service.js +35 -0
  57. package/node_modules/@prismalens/api/dist/src/core/lifecycle/restart-exit.js +8 -0
  58. package/node_modules/@prismalens/api/dist/src/core/lifecycle/runtime-lifecycle.module.js +28 -0
  59. package/node_modules/@prismalens/api/dist/src/core/lifecycle/runtime-lifecycle.service.js +186 -0
  60. package/node_modules/@prismalens/api/dist/src/core/lifecycle/workspace-lock-shutdown.service.js +4 -0
  61. package/node_modules/@prismalens/api/dist/src/core/live/live-changes.js +25 -12
  62. package/node_modules/@prismalens/api/dist/src/core/prisma/prisma.service.js +54 -0
  63. package/node_modules/@prismalens/api/dist/src/core/settings/about.service.js +17 -3
  64. package/node_modules/@prismalens/api/dist/src/core/settings/diagnostics.service.js +61 -0
  65. package/node_modules/@prismalens/api/dist/src/core/settings/settings.controller.js +52 -15
  66. package/node_modules/@prismalens/api/dist/src/core/settings/settings.module.js +3 -1
  67. package/node_modules/@prismalens/api/dist/src/core/settings/settings.service.js +0 -4
  68. package/node_modules/@prismalens/api/dist/src/core/settings/update-handoff.js +201 -0
  69. package/node_modules/@prismalens/api/dist/src/core/settings/update.service.js +373 -0
  70. package/node_modules/@prismalens/api/dist/src/core/telemetry/telemetry.service.js +16 -7
  71. package/node_modules/@prismalens/api/dist/src/infrastructure/dispatch/checkout-lease.js +203 -0
  72. package/node_modules/@prismalens/api/dist/src/infrastructure/dispatch/checkout-status.js +125 -0
  73. package/node_modules/@prismalens/api/dist/src/infrastructure/dispatch/dispatch.service.js +962 -81
  74. package/node_modules/@prismalens/api/dist/src/infrastructure/dispatch/dispatcher.js +66 -22
  75. package/node_modules/@prismalens/api/dist/src/infrastructure/dispatch/event-bus.js +6 -0
  76. package/node_modules/@prismalens/api/dist/src/infrastructure/dispatch/folder-lock.js +140 -0
  77. package/node_modules/@prismalens/api/dist/src/infrastructure/dispatch/harness-receipt.js +312 -0
  78. package/node_modules/@prismalens/api/dist/src/infrastructure/dispatch/in-process-runner.js +27 -5
  79. package/node_modules/@prismalens/api/dist/src/infrastructure/dispatch/investigation-run.js +683 -60
  80. package/node_modules/@prismalens/api/dist/src/infrastructure/dispatch/job-store.js +72 -9
  81. package/node_modules/@prismalens/api/dist/src/infrastructure/dispatch/pre-run-context.js +7 -1
  82. package/node_modules/@prismalens/api/dist/src/infrastructure/dispatch/restart-recovery.js +112 -0
  83. package/node_modules/@prismalens/api/dist/src/infrastructure/dispatch/run-abort.js +2 -0
  84. package/node_modules/@prismalens/api/dist/src/main.js +16 -3
  85. package/node_modules/@prismalens/api/dist/src/middlewares/cross-site.middleware.js +79 -0
  86. package/node_modules/@prismalens/api/dist/src/middlewares/host-allowlist.middleware.js +18 -3
  87. package/node_modules/@prismalens/api/dist/src/modules/alerts/alert-pull.service.js +20 -8
  88. package/node_modules/@prismalens/api/dist/src/modules/alerts/alerts.service.js +12 -3
  89. package/node_modules/@prismalens/api/dist/src/modules/asks/asks.contract.js +6 -0
  90. package/node_modules/@prismalens/api/dist/src/modules/asks/asks.service.js +303 -0
  91. package/node_modules/@prismalens/api/dist/src/modules/composer/composer.controller.js +64 -0
  92. package/node_modules/@prismalens/api/dist/src/modules/composer/composer.module.js +54 -0
  93. package/node_modules/@prismalens/api/dist/src/modules/composer/drafts.service.js +169 -0
  94. package/node_modules/@prismalens/api/dist/src/modules/delivery/report-delivery.controller.js +5 -1
  95. package/node_modules/@prismalens/api/dist/src/modules/events/events.service.js +27 -1
  96. package/node_modules/@prismalens/api/dist/src/modules/fixes/fixes.service.js +12 -4
  97. package/node_modules/@prismalens/api/dist/src/modules/gateway/gateway.service.js +1034 -80
  98. package/node_modules/@prismalens/api/dist/src/modules/gateway/runbooks.js +2 -0
  99. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/artifacts.js +30 -0
  100. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/asks.js +94 -0
  101. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/attachments.js +128 -0
  102. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/history.js +42 -0
  103. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/incident.js +74 -0
  104. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/index.js +32 -4
  105. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/knowledge.js +18 -10
  106. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/propose.js +36 -0
  107. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/record.js +80 -0
  108. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/report.js +41 -0
  109. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/rules.js +3 -0
  110. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/run.js +24 -0
  111. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/runbooks.js +18 -12
  112. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/serves.js +11 -0
  113. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/services.js +24 -0
  114. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/thread-tree.js +99 -0
  115. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/threads.js +85 -0
  116. package/node_modules/@prismalens/api/dist/src/modules/gateway/tools/watches.js +75 -0
  117. package/node_modules/@prismalens/api/dist/src/modules/images/image-fetch.js +100 -0
  118. package/node_modules/@prismalens/api/dist/src/modules/images/images.controller.js +50 -0
  119. package/node_modules/@prismalens/api/dist/src/modules/images/images.module.js +22 -0
  120. package/node_modules/@prismalens/api/dist/src/modules/images/images.service.js +211 -0
  121. package/node_modules/@prismalens/api/dist/src/modules/incidents/incidents.controller.js +75 -34
  122. package/node_modules/@prismalens/api/dist/src/modules/incidents/incidents.module.js +2 -0
  123. package/node_modules/@prismalens/api/dist/src/modules/incidents/incidents.service.js +89 -46
  124. package/node_modules/@prismalens/api/dist/src/modules/integrations/host-repositories.service.js +76 -0
  125. package/node_modules/@prismalens/api/dist/src/modules/integrations/integrations.controller.js +67 -7
  126. package/node_modules/@prismalens/api/dist/src/modules/integrations/integrations.module.js +4 -1
  127. package/node_modules/@prismalens/api/dist/src/modules/integrations/telemetry-snapshot.service.js +11 -1
  128. package/node_modules/@prismalens/api/dist/src/modules/investigations/attachments.service.js +157 -49
  129. package/node_modules/@prismalens/api/dist/src/modules/investigations/context-pack.service.js +39 -7
  130. package/node_modules/@prismalens/api/dist/src/modules/investigations/dto/investigation-result.dto.js +3 -3
  131. package/node_modules/@prismalens/api/dist/src/modules/investigations/investigation-trigger.service.js +4 -1
  132. package/node_modules/@prismalens/api/dist/src/modules/investigations/investigations.controller.js +301 -21
  133. package/node_modules/@prismalens/api/dist/src/modules/investigations/investigations.module.js +17 -0
  134. package/node_modules/@prismalens/api/dist/src/modules/investigations/investigations.service.js +165 -30
  135. package/node_modules/@prismalens/api/dist/src/modules/investigations/promotion.js +5 -0
  136. package/node_modules/@prismalens/api/dist/src/modules/investigations/run-scope.js +31 -0
  137. package/node_modules/@prismalens/api/dist/src/modules/investigations/run-views.js +333 -0
  138. package/node_modules/@prismalens/api/dist/src/modules/investigations/subagent-sessions.js +28 -0
  139. package/node_modules/@prismalens/api/dist/src/modules/investigations/tool-asks.service.js +193 -0
  140. package/node_modules/@prismalens/api/dist/src/modules/investigations/worktree-changes.js +324 -0
  141. package/node_modules/@prismalens/api/dist/src/modules/openapi/build-spec.js +42 -0
  142. package/node_modules/@prismalens/api/dist/src/modules/openapi/openapi.controller.js +8 -87
  143. package/node_modules/@prismalens/api/dist/src/modules/overlay/overlay.service.js +36 -24
  144. package/node_modules/@prismalens/api/dist/src/modules/push/ask-state.js +6 -3
  145. package/node_modules/@prismalens/api/dist/src/modules/push/push-outbox.js +4 -1
  146. package/node_modules/@prismalens/api/dist/src/modules/push/push.service.js +13 -3
  147. package/node_modules/@prismalens/api/dist/src/modules/references/file-list.js +135 -0
  148. package/node_modules/@prismalens/api/dist/src/modules/references/monitoring.provider.js +200 -0
  149. package/node_modules/@prismalens/api/dist/src/modules/references/ranking.js +42 -0
  150. package/node_modules/@prismalens/api/dist/src/modules/references/records.provider.js +463 -0
  151. package/node_modules/@prismalens/api/dist/src/modules/references/reference-provider.js +9 -0
  152. package/node_modules/@prismalens/api/dist/src/modules/references/references.service.js +341 -0
  153. package/node_modules/@prismalens/api/dist/src/modules/references/work-items.provider.js +83 -0
  154. package/node_modules/@prismalens/api/dist/src/modules/repositories/folder-browser.js +150 -0
  155. package/node_modules/@prismalens/api/dist/src/modules/repositories/project-scripts.js +100 -0
  156. package/node_modules/@prismalens/api/dist/src/modules/repositories/repo-icon-scan.js +180 -0
  157. package/node_modules/@prismalens/api/dist/src/modules/repositories/repositories.controller.js +51 -4
  158. package/node_modules/@prismalens/api/dist/src/modules/repositories/repositories.module.js +5 -3
  159. package/node_modules/@prismalens/api/dist/src/modules/repositories/repositories.service.js +91 -15
  160. package/node_modules/@prismalens/api/dist/src/modules/repositories/repository-icon.service.js +271 -0
  161. package/node_modules/@prismalens/api/dist/src/modules/repositories/serialize-repository.js +5 -3
  162. package/node_modules/@prismalens/api/dist/src/modules/repositories/start-git.js +204 -0
  163. package/node_modules/@prismalens/api/dist/src/modules/run-workspaces/editors.js +122 -0
  164. package/node_modules/@prismalens/api/dist/src/modules/run-workspaces/run-workspaces.controller.js +15 -16
  165. package/node_modules/@prismalens/api/dist/src/modules/run-workspaces/run-workspaces.service.js +29 -1
  166. package/node_modules/@prismalens/api/dist/src/modules/schedules/allowed-asks.js +17 -0
  167. package/node_modules/@prismalens/api/dist/src/modules/schedules/decide.js +54 -0
  168. package/node_modules/@prismalens/api/dist/src/modules/schedules/recurrence.js +85 -0
  169. package/node_modules/@prismalens/api/dist/src/modules/schedules/schedule-text.js +111 -0
  170. package/node_modules/@prismalens/api/dist/src/modules/schedules/schedules.controller.js +83 -0
  171. package/node_modules/@prismalens/api/dist/src/modules/schedules/schedules.module.js +23 -0
  172. package/node_modules/@prismalens/api/dist/src/modules/schedules/schedules.service.js +898 -0
  173. package/node_modules/@prismalens/api/dist/src/modules/services/services.controller.js +24 -5
  174. package/node_modules/@prismalens/api/dist/src/modules/services/services.module.js +2 -1
  175. package/node_modules/@prismalens/api/dist/src/modules/services/services.service.js +11 -6
  176. package/node_modules/@prismalens/api/dist/src/modules/terminal/local-request.js +61 -0
  177. package/node_modules/@prismalens/api/dist/src/modules/terminal/pty.js +75 -0
  178. package/node_modules/@prismalens/api/dist/src/modules/terminal/terminal-gate.js +57 -0
  179. package/node_modules/@prismalens/api/dist/src/modules/terminal/terminal-key-issue.js +22 -0
  180. package/node_modules/@prismalens/api/dist/src/modules/terminal/terminal-socket.js +162 -0
  181. package/node_modules/@prismalens/api/dist/src/modules/terminal/terminal.controller.js +94 -0
  182. package/node_modules/@prismalens/api/dist/src/modules/terminal/terminal.module.js +20 -0
  183. package/node_modules/@prismalens/api/dist/src/modules/terminal/terminal.service.js +54 -0
  184. package/node_modules/@prismalens/api/dist/src/modules/thread-tree/pending-actions.service.js +465 -0
  185. package/node_modules/@prismalens/api/dist/src/modules/thread-tree/proposals.service.js +234 -0
  186. package/node_modules/@prismalens/api/dist/src/modules/thread-tree/put-off.js +19 -0
  187. package/node_modules/@prismalens/api/dist/src/modules/thread-tree/thread-tree.controller.js +68 -0
  188. package/node_modules/@prismalens/api/dist/src/modules/thread-tree/thread-tree.module.js +46 -0
  189. package/node_modules/@prismalens/api/dist/src/modules/thread-tree/thread-tree.service.js +972 -0
  190. package/node_modules/@prismalens/api/dist/src/modules/thread-tree/tree-gateway.service.js +85 -0
  191. package/node_modules/@prismalens/api/dist/src/modules/thread-tree/tree-io.service.js +98 -0
  192. package/node_modules/@prismalens/api/dist/src/modules/thread-tree/tree-settings.service.js +49 -0
  193. package/node_modules/@prismalens/api/dist/src/modules/threads/links.service.js +258 -0
  194. package/node_modules/@prismalens/api/dist/src/modules/threads/pr-hosts.js +359 -0
  195. package/node_modules/@prismalens/api/dist/src/modules/threads/pr-url.js +74 -0
  196. package/node_modules/@prismalens/api/dist/src/modules/threads/pull-requests.service.js +471 -0
  197. package/node_modules/@prismalens/api/dist/src/modules/threads/thread-context-settings.controller.js +58 -0
  198. package/node_modules/@prismalens/api/dist/src/modules/threads/thread-context-settings.js +28 -0
  199. package/node_modules/@prismalens/api/dist/src/modules/threads/thread-context.service.js +250 -0
  200. package/node_modules/@prismalens/api/dist/src/modules/threads/thread-sections.js +82 -0
  201. package/node_modules/@prismalens/api/dist/src/modules/threads/thread-titles.js +56 -0
  202. package/node_modules/@prismalens/api/dist/src/modules/threads/thread-watches.service.js +329 -0
  203. package/node_modules/@prismalens/api/dist/src/modules/threads/threads.controller.js +81 -0
  204. package/node_modules/@prismalens/api/dist/src/modules/threads/threads.module.js +53 -0
  205. package/node_modules/@prismalens/api/dist/src/modules/threads/threads.service.js +623 -0
  206. package/node_modules/@prismalens/api/dist/src/modules/threads/work-items.js +171 -0
  207. package/node_modules/@prismalens/api/dist/src/modules/timeline/timeline.service.js +2 -0
  208. package/node_modules/@prismalens/api/dist/src/modules/wakes/agent-wakes.js +17 -0
  209. package/node_modules/@prismalens/api/dist/src/modules/wakes/session-lifecycle.service.js +376 -0
  210. package/node_modules/@prismalens/api/dist/src/modules/wakes/session.js +124 -0
  211. package/node_modules/@prismalens/api/dist/src/modules/wakes/wakes.module.js +28 -0
  212. package/node_modules/@prismalens/api/dist/src/modules/wakes/wakes.service.js +129 -0
  213. package/node_modules/@prismalens/api/dist/src/modules/webhooks/dto/generic-webhook.dto.js +12 -0
  214. package/node_modules/@prismalens/api/dist/src/modules/webhooks/webhooks.controller.js +7 -1
  215. package/node_modules/@prismalens/api/dist/src/modules/webhooks/webhooks.module.js +2 -0
  216. package/node_modules/@prismalens/api/dist/src/modules/webhooks/webhooks.service.js +103 -41
  217. package/node_modules/@prismalens/api/dist/src/shared/utils/literal-like.js +5 -0
  218. package/node_modules/@prismalens/api/public/THIRD_PARTY_NOTICES.txt +381 -3
  219. package/node_modules/@prismalens/api/public/assets/AddProjectDialog-BEBKziDJ.js +1 -0
  220. package/node_modules/@prismalens/api/public/assets/AgentDetail-DNNZ2RSQ.js +6 -0
  221. package/node_modules/@prismalens/api/public/assets/AlertsBlank-M7HkWlgo.js +1 -0
  222. package/node_modules/@prismalens/api/public/assets/Composer-MAXlRLhF.js +1 -0
  223. package/node_modules/@prismalens/api/public/assets/CopyButton-DKP5JHET.js +1 -0
  224. package/node_modules/@prismalens/api/public/assets/HelperThread-BmGnmkL5.js +1 -0
  225. package/node_modules/@prismalens/api/public/assets/Hint-BCpVhAvV.js +1 -0
  226. package/node_modules/@prismalens/api/public/assets/HomeComposer-BI6Vhge8.js +1 -0
  227. package/node_modules/@prismalens/api/public/assets/HypothesesCard-HKxfxVbG.js +1 -0
  228. package/node_modules/@prismalens/api/public/assets/IncidentHeader-BIYafwD0.js +2 -0
  229. package/node_modules/@prismalens/api/public/assets/KeptWorkspaces-ozJb7lRG.js +1 -0
  230. package/node_modules/@prismalens/api/public/assets/MergeDialog-DRjChRQQ.js +1 -0
  231. package/node_modules/@prismalens/api/public/assets/NewThread-HisGwIRc.js +2 -0
  232. package/node_modules/@prismalens/api/public/assets/PageHeader-CL1AN9BA.js +1 -0
  233. package/node_modules/@prismalens/api/public/assets/PanelShell-BHpdPx3P.js +1 -0
  234. package/node_modules/@prismalens/api/public/assets/ProjectList-lAMigyat.js +1 -0
  235. package/node_modules/@prismalens/api/public/assets/ResolveDialog-DbMNHrwo.js +1 -0
  236. package/node_modules/@prismalens/api/public/assets/RingTick-DkMvLoUV.js +1 -0
  237. package/node_modules/@prismalens/api/public/assets/Row-B3HLhwlw.js +1 -0
  238. package/node_modules/@prismalens/api/public/assets/RunStrip-CLaYEj2D.js +1 -0
  239. package/node_modules/@prismalens/api/public/assets/RunsMenu-CD4Yy4jT.js +1 -0
  240. package/node_modules/@prismalens/api/public/assets/ScheduleDialog-DPYtmK0g.js +2 -0
  241. package/node_modules/@prismalens/api/public/assets/ServiceFormDialog-9-qDnObk.js +1 -0
  242. package/node_modules/@prismalens/api/public/assets/SettingsFrame-D4eE2n4w.js +1 -0
  243. package/node_modules/@prismalens/api/public/assets/State-CCKzehkH.js +1 -0
  244. package/node_modules/@prismalens/api/public/assets/SubagentPane-exGNOprU.js +1574 -0
  245. package/node_modules/@prismalens/api/public/assets/TickDot-m_aEzdkj.js +1 -0
  246. package/node_modules/@prismalens/api/public/assets/Transcript-2ke3pjya.js +159 -0
  247. package/node_modules/@prismalens/api/public/assets/TriggerCard-BIAznpA9.js +1 -0
  248. package/node_modules/@prismalens/api/public/assets/WebhookCopy-C8w9xwD6.js +1 -0
  249. package/node_modules/@prismalens/api/public/assets/{WorkspaceFields-CiyyjkGf.js → WorkspaceFields-DCSJCThm.js} +6 -6
  250. package/node_modules/@prismalens/api/public/assets/___design-8brlEBqd.js +1 -0
  251. package/node_modules/@prismalens/api/public/assets/_authenticated-BETuqAeS.js +22 -0
  252. package/node_modules/@prismalens/api/public/assets/_authenticated-BVT266zx.js +1 -0
  253. package/node_modules/@prismalens/api/public/assets/_authenticated-BrP-ENHg.css +1 -0
  254. package/node_modules/@prismalens/api/public/assets/_id-B8v8uWe_.js +1 -0
  255. package/node_modules/@prismalens/api/public/assets/_id-BeO8QWfB.js +1 -0
  256. package/node_modules/@prismalens/api/public/assets/_id-Cnh_sXTf.js +1 -0
  257. package/node_modules/@prismalens/api/public/assets/_id-Crvjv3cl.js +1 -0
  258. package/node_modules/@prismalens/api/public/assets/_id-DiQnst4D.js +1 -0
  259. package/node_modules/@prismalens/api/public/assets/_id-VgE-Xeq5.js +1 -0
  260. package/node_modules/@prismalens/api/public/assets/_id-y5y3CxjT.js +1 -0
  261. package/node_modules/@prismalens/api/public/assets/_id_.runs._runId-U4P5LH-M.js +1 -0
  262. package/node_modules/@prismalens/api/public/assets/alerts-BI1l8Cxn.js +1 -0
  263. package/node_modules/@prismalens/api/public/assets/app-DmCziBS9.css +2 -0
  264. package/node_modules/@prismalens/api/public/assets/automation-FhFtuS5_.js +1 -0
  265. package/node_modules/@prismalens/api/public/assets/boxes-Dh2QZfJa.js +1 -0
  266. package/node_modules/@prismalens/api/public/assets/button-DmIfWVZ8.js +1 -0
  267. package/node_modules/@prismalens/api/public/assets/check-DfKru7HJ.js +1 -0
  268. package/node_modules/@prismalens/api/public/assets/chevron-left-DWLaEwl8.js +1 -0
  269. package/node_modules/@prismalens/api/public/assets/chevron-right-tPbGnTHi.js +1 -0
  270. package/node_modules/@prismalens/api/public/assets/circle-BqIhGHXt.js +1 -0
  271. package/node_modules/@prismalens/api/public/assets/command-chip-5Lf0FARB.js +1 -0
  272. package/node_modules/@prismalens/api/public/assets/conversation-CXkaesO_.js +1 -0
  273. package/node_modules/@prismalens/api/public/assets/copy-BUnkkIK-.js +1 -0
  274. package/node_modules/@prismalens/api/public/assets/desktop-Bqso9PNq.js +9 -0
  275. package/node_modules/@prismalens/api/public/assets/{device-name-uZQ3wSgk.js → device-name-CZPntaj6.js} +1 -1
  276. package/node_modules/@prismalens/api/public/assets/dist-CQz4Osl1.js +1 -0
  277. package/node_modules/@prismalens/api/public/assets/dist-CYLssYEL.js +1 -0
  278. package/node_modules/@prismalens/api/public/assets/dropdown-menu-Db9u3UIb.js +1 -0
  279. package/node_modules/@prismalens/api/public/assets/ellipsis-d1vABf4v.js +1 -0
  280. package/node_modules/@prismalens/api/public/assets/evidence-files-C9UcJR1J.js +1 -0
  281. package/node_modules/@prismalens/api/public/assets/fixes-CgjsPkfr.js +1 -0
  282. package/node_modules/@prismalens/api/public/assets/folder-git-2-DRsiaeAx.js +1 -0
  283. package/node_modules/@prismalens/api/public/assets/globe-D2S-zGel.js +1 -0
  284. package/node_modules/@prismalens/api/public/assets/harness-CokJrRXZ.js +55 -0
  285. package/node_modules/@prismalens/api/public/assets/highlighted-body-JLMTFACH-B_v9yJZa.js +1 -0
  286. package/node_modules/@prismalens/api/public/assets/incidents-B0KnIveX.js +1 -0
  287. package/node_modules/@prismalens/api/public/assets/index-DZMj9YK4.js +23 -0
  288. package/node_modules/@prismalens/api/public/assets/input-CXxt1dAV.js +1 -0
  289. package/node_modules/@prismalens/api/public/assets/key-CjFGD02m.js +1 -0
  290. package/node_modules/@prismalens/api/public/assets/lazyRouteComponent-DkcTE9Kh.js +1 -0
  291. package/node_modules/@prismalens/api/public/assets/live-refresh-C5Jfxdxb.js +1 -0
  292. package/node_modules/@prismalens/api/public/assets/mermaid-WFAXDIZX-CqliGVff.js +1 -0
  293. package/node_modules/@prismalens/api/public/assets/needs-find-DPugLWCN.js +1 -0
  294. package/node_modules/@prismalens/api/public/assets/new-Ci475pgf.js +1 -0
  295. package/node_modules/@prismalens/api/public/assets/pair-CobM73_c.js +1 -0
  296. package/node_modules/@prismalens/api/public/assets/pencil-BwNhunJy.js +1 -0
  297. package/node_modules/@prismalens/api/public/assets/plus-DWSahnrj.js +1 -0
  298. package/node_modules/@prismalens/api/public/assets/preload-helper-BLdHbfdN.js +1 -0
  299. package/node_modules/@prismalens/api/public/assets/projects-CIckRlw8.js +1 -0
  300. package/node_modules/@prismalens/api/public/assets/record-context-CoIOStXx.js +1 -0
  301. package/node_modules/@prismalens/api/public/assets/restart-40l7XMmi.js +1 -0
  302. package/node_modules/@prismalens/api/public/assets/route-Bg17GbpR.js +1 -0
  303. package/node_modules/@prismalens/api/public/assets/route-DX3TI7JD.js +1 -0
  304. package/node_modules/@prismalens/api/public/assets/route-Dvao2bBW.js +1 -0
  305. package/node_modules/@prismalens/api/public/assets/{route-CCkTDfa6.js → route-ah1SnYbH.js} +1 -1
  306. package/node_modules/@prismalens/api/public/assets/run-details-DTzMO1X0.js +1 -0
  307. package/node_modules/@prismalens/api/public/assets/run-labels-ubQZmnqd.js +2 -0
  308. package/node_modules/@prismalens/api/public/assets/select-98_n4DVz.js +1 -0
  309. package/node_modules/@prismalens/api/public/assets/service-detail.utils-ulWHS1Ao.js +1 -0
  310. package/node_modules/@prismalens/api/public/assets/service-lanes-BfHIrySn.js +1 -0
  311. package/node_modules/@prismalens/api/public/assets/services-CZQMzqYj.js +1 -0
  312. package/node_modules/@prismalens/api/public/assets/settings-QPxeIS82.js +1 -0
  313. package/node_modules/@prismalens/api/public/assets/source-words-B5oOdiQU.js +4 -0
  314. package/node_modules/@prismalens/api/public/assets/state-tone-DEsvSFn6.js +1 -0
  315. package/node_modules/@prismalens/api/public/assets/strip-inline-markdown-d6Movgzo.js +1 -0
  316. package/node_modules/@prismalens/api/public/assets/switch-DpPkkZxw.js +1 -0
  317. package/node_modules/@prismalens/api/public/assets/theme-provider-C9jvt7JX.js +1 -0
  318. package/node_modules/@prismalens/api/public/assets/threads-BqAHgCGd.js +1 -0
  319. package/node_modules/@prismalens/api/public/assets/tick-copy-B7dbIrfQ.js +1 -0
  320. package/node_modules/@prismalens/api/public/assets/trigger-DVo1oKMX.js +1 -0
  321. package/node_modules/@prismalens/api/public/assets/{use-back-VWIQYM2j.js → use-back-R0oWqfab.js} +1 -1
  322. package/node_modules/@prismalens/api/public/assets/use-operator-BH6GxjAY.js +1 -0
  323. package/node_modules/@prismalens/api/public/assets/use-repositories-orpc-c6hPOKjE.js +41 -0
  324. package/node_modules/@prismalens/api/public/assets/use-threads-orpc-rBrvQXJf.js +1 -0
  325. package/node_modules/@prismalens/api/public/assets/useInvestigationRun-xdB0R08B.js +1 -0
  326. package/node_modules/@prismalens/api/public/assets/useLocation-CXMqJKgu.js +1 -0
  327. package/node_modules/@prismalens/api/public/assets/{useSearch-Bq5sxYI3.js → useMatch-B0f9tdXB.js} +1 -1
  328. package/node_modules/@prismalens/api/public/assets/useQueries-CGpidxif.js +1 -0
  329. package/node_modules/@prismalens/api/public/assets/useSearch-BBl0vmEJ.js +1 -0
  330. package/node_modules/@prismalens/api/public/index.html +5 -3
  331. package/node_modules/@prismalens/auth/dist/index.js +2 -1
  332. package/node_modules/@prismalens/auth/dist/pairing.js +31 -6
  333. package/node_modules/@prismalens/auth/dist/terminal-key.js +25 -0
  334. package/node_modules/@prismalens/config/dist/acp-registry.json +151 -103
  335. package/node_modules/@prismalens/config/dist/index.js +3 -0
  336. package/node_modules/@prismalens/config/dist/providers/harness.js +61 -6
  337. package/node_modules/@prismalens/config/dist/utils/app-data.js +14 -13
  338. package/node_modules/@prismalens/config/dist/utils/background-service.js +9 -4
  339. package/node_modules/@prismalens/config/dist/utils/diagnostics.js +247 -0
  340. package/node_modules/@prismalens/config/dist/utils/node-version.js +29 -0
  341. package/node_modules/@prismalens/config/dist/utils/update-install.js +160 -0
  342. package/node_modules/@prismalens/contracts/dist/contracts/composer.js +70 -0
  343. package/node_modules/@prismalens/contracts/dist/contracts/incidents.js +3 -2
  344. package/node_modules/@prismalens/contracts/dist/contracts/index.js +16 -0
  345. package/node_modules/@prismalens/contracts/dist/contracts/investigations.js +184 -2
  346. package/node_modules/@prismalens/contracts/dist/contracts/live.js +8 -1
  347. package/node_modules/@prismalens/contracts/dist/contracts/pairing.js +6 -0
  348. package/node_modules/@prismalens/contracts/dist/contracts/push.js +1 -1
  349. package/node_modules/@prismalens/contracts/dist/contracts/repositories.js +41 -1
  350. package/node_modules/@prismalens/contracts/dist/contracts/run-workspaces.js +11 -0
  351. package/node_modules/@prismalens/contracts/dist/contracts/schedules.js +84 -0
  352. package/node_modules/@prismalens/contracts/dist/contracts/settings.js +99 -1
  353. package/node_modules/@prismalens/contracts/dist/contracts/sources.js +19 -19
  354. package/node_modules/@prismalens/contracts/dist/contracts/terminal.js +43 -0
  355. package/node_modules/@prismalens/contracts/dist/contracts/thread-tree.js +87 -0
  356. package/node_modules/@prismalens/contracts/dist/contracts/threads.js +239 -0
  357. package/node_modules/@prismalens/contracts/dist/schemas/ask-projection.js +107 -0
  358. package/node_modules/@prismalens/contracts/dist/schemas/asks.js +211 -0
  359. package/node_modules/@prismalens/contracts/dist/schemas/composer.js +139 -0
  360. package/node_modules/@prismalens/contracts/dist/schemas/context-pack.js +6 -2
  361. package/node_modules/@prismalens/contracts/dist/schemas/impact.js +2 -0
  362. package/node_modules/@prismalens/contracts/dist/schemas/incident.js +29 -2
  363. package/node_modules/@prismalens/contracts/dist/schemas/index.js +12 -0
  364. package/node_modules/@prismalens/contracts/dist/schemas/investigation.js +642 -39
  365. package/node_modules/@prismalens/contracts/dist/schemas/pull-request.js +176 -0
  366. package/node_modules/@prismalens/contracts/dist/schemas/recommendation.js +2 -1
  367. package/node_modules/@prismalens/contracts/dist/schemas/references.js +104 -0
  368. package/node_modules/@prismalens/contracts/dist/schemas/repository.js +69 -2
  369. package/node_modules/@prismalens/contracts/dist/schemas/run-views.js +168 -0
  370. package/node_modules/@prismalens/contracts/dist/schemas/schedule.js +172 -0
  371. package/node_modules/@prismalens/contracts/dist/schemas/service.js +4 -1
  372. package/node_modules/@prismalens/contracts/dist/schemas/settings.js +101 -1
  373. package/node_modules/@prismalens/contracts/dist/schemas/source-type.js +25 -1
  374. package/node_modules/@prismalens/contracts/dist/schemas/subagents.js +31 -0
  375. package/node_modules/@prismalens/contracts/dist/schemas/terminal.js +78 -0
  376. package/node_modules/@prismalens/contracts/dist/schemas/thread-context.js +222 -0
  377. package/node_modules/@prismalens/contracts/dist/schemas/thread-tree.js +172 -0
  378. package/node_modules/@prismalens/contracts/dist/schemas/thread.js +159 -0
  379. package/node_modules/@prismalens/database/dist/prisma/generated/internal/class.js +4 -4
  380. package/node_modules/@prismalens/database/dist/prisma/generated/internal/prismaNamespace.js +231 -1
  381. package/node_modules/@prismalens/database/dist/prisma/generated/models/CheckoutLease.js +2 -0
  382. package/node_modules/@prismalens/database/dist/prisma/generated/models/ComposerDraft.js +2 -0
  383. package/node_modules/@prismalens/database/dist/prisma/generated/models/PendingAction.js +2 -0
  384. package/node_modules/@prismalens/database/dist/prisma/generated/models/PrWatch.js +2 -0
  385. package/node_modules/@prismalens/database/dist/prisma/generated/models/Proposal.js +2 -0
  386. package/node_modules/@prismalens/database/dist/prisma/generated/models/PullRequest.js +2 -0
  387. package/node_modules/@prismalens/database/dist/prisma/generated/models/ReferenceUse.js +2 -0
  388. package/node_modules/@prismalens/database/dist/prisma/generated/models/Schedule.js +2 -0
  389. package/node_modules/@prismalens/database/dist/prisma/generated/models/ScheduleEvent.js +2 -0
  390. package/node_modules/@prismalens/database/dist/prisma/generated/models/ScheduleTick.js +2 -0
  391. package/node_modules/@prismalens/database/dist/prisma/generated/models/SecretRequested.js +2 -0
  392. package/node_modules/@prismalens/database/dist/prisma/generated/models/SubagentSession.js +2 -0
  393. package/node_modules/@prismalens/database/dist/prisma/generated/models/ThreadMessage.js +2 -0
  394. package/node_modules/@prismalens/database/dist/prisma/generated/models/ThreadWait.js +2 -0
  395. package/node_modules/@prismalens/database/dist/prisma/generated/models/ThreadWake.js +2 -0
  396. package/node_modules/@prismalens/database/dist/prisma/generated/models/ToolAsk.js +2 -0
  397. package/node_modules/@prismalens/database/dist/prisma/generated/models/TreeAllowance.js +2 -0
  398. package/node_modules/@prismalens/database/dist/prisma/sqlite/schema/20261028083515_scheduled_tasks/migration.sql +148 -0
  399. package/node_modules/@prismalens/database/dist/prisma/sqlite/schema/20261102044114_investigation_service_set_null/migration.sql +57 -0
  400. package/node_modules/@prismalens/database/dist/prisma/sqlite/schema/20261102202000_thread_subjects/migration.sql +78 -0
  401. package/node_modules/@prismalens/database/dist/prisma/sqlite/schema/20261103010000_thread_list/migration.sql +3 -0
  402. package/node_modules/@prismalens/database/dist/prisma/sqlite/schema/20261103090000_thread_titles/migration.sql +2 -0
  403. package/node_modules/@prismalens/database/dist/prisma/sqlite/schema/20261103200000_helper_place/migration.sql +2 -0
  404. package/node_modules/@prismalens/database/dist/prisma/sqlite/schema/20261104010000_project_kinds/migration.sql +3 -0
  405. package/node_modules/@prismalens/database/dist/prisma/sqlite/schema/20261104200000_schedule_subjects/migration.sql +41 -0
  406. package/node_modules/@prismalens/database/dist/prisma/sqlite/schema/20261107100000_composer/migration.sql +40 -0
  407. package/node_modules/@prismalens/database/dist/prisma/sqlite/schema/20261107110000_session_wake/migration.sql +26 -0
  408. package/node_modules/@prismalens/database/dist/prisma/sqlite/schema/20261107120000_thread_context/migration.sql +32 -0
  409. package/node_modules/@prismalens/database/dist/prisma/sqlite/schema/20261107130000_app_sources/migration.sql +4 -0
  410. package/node_modules/@prismalens/database/dist/prisma/sqlite/schema/20261107140000_thread_tree/migration.sql +166 -0
  411. package/node_modules/@prismalens/database/dist/prisma/sqlite/schema/20261108100000_subagents/migration.sql +51 -0
  412. package/node_modules/@prismalens/database/dist/prisma/sqlite/schema/20261108110000_in_place/migration.sql +15 -0
  413. package/node_modules/@prismalens/database/dist/prisma/sqlite/schema/app.prisma +391 -7
  414. package/node_modules/@prismalens/engine/dist/adapter/acp-adapter.js +380 -31
  415. package/node_modules/@prismalens/engine/dist/index.js +2 -0
  416. package/node_modules/@prismalens/engine/dist/launch/policy.js +29 -9
  417. package/node_modules/@prismalens/engine/dist/run/conductor.js +5 -1
  418. package/node_modules/@prismalens/engine/dist/run/elicitation.js +244 -0
  419. package/node_modules/@prismalens/engine/dist/run/fence.js +23 -5
  420. package/node_modules/@prismalens/engine/dist/run/findings.js +203 -0
  421. package/node_modules/@prismalens/engine/dist/run/handoff.js +86 -2
  422. package/node_modules/@prismalens/engine/dist/run/harness-doctor.js +46 -6
  423. package/node_modules/@prismalens/engine/dist/run/investigate.js +403 -57
  424. package/node_modules/@prismalens/engine/dist/run/local-default.js +13 -4
  425. package/node_modules/@prismalens/engine/dist/run/permission.js +192 -14
  426. package/node_modules/@prismalens/engine/dist/run/prompt.js +126 -12
  427. package/node_modules/@prismalens/engine/dist/run/redact.js +52 -0
  428. package/node_modules/@prismalens/engine/dist/run/usage-limit.js +91 -9
  429. package/node_modules/@prismalens/engine/dist/runner/acp-client.js +238 -16
  430. package/node_modules/@prismalens/integrations/dist/engine/oauth2-flow.js +12 -0
  431. package/node_modules/@prismalens/integrations/dist/harness/index.js +8 -0
  432. package/node_modules/@prismalens/integrations/dist/harness/mcp-server.js +60 -0
  433. package/node_modules/@prismalens/integrations/dist/harness/registry.js +127 -0
  434. package/node_modules/@prismalens/integrations/dist/harness/replay.js +67 -0
  435. package/node_modules/@prismalens/integrations/dist/harness/search.js +113 -0
  436. package/node_modules/@prismalens/integrations/dist/harness/tool.js +64 -0
  437. package/node_modules/@prismalens/integrations/dist/index.js +2 -0
  438. package/node_modules/@prismalens/integrations/dist/providers/host-repositories.js +193 -0
  439. package/node_modules/@prismalens/integrations/package.json +4 -0
  440. package/package.json +12 -5
  441. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/core-4pv47a2z.mjs +0 -27
  442. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/core-bz5kkzv0.mjs +0 -40
  443. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/core-c86d180z.mjs +0 -52
  444. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/core-pzfwbvz7.mjs +0 -26
  445. package/node_modules/@prismalens/api/dist/src/modules/gateway/mcp-delivery.js +0 -39
  446. package/node_modules/@prismalens/api/public/assets/Field-BQic-QnX.js +0 -1
  447. package/node_modules/@prismalens/api/public/assets/Hint-B9ocVmjH.js +0 -41
  448. package/node_modules/@prismalens/api/public/assets/KeptWorkspaces-mrbq8M-h.js +0 -1
  449. package/node_modules/@prismalens/api/public/assets/MergeDialog-BO_TSjSe.js +0 -1
  450. package/node_modules/@prismalens/api/public/assets/NewIncident-DWw1jRp3.js +0 -1
  451. package/node_modules/@prismalens/api/public/assets/PageHeader-DmwtlO5o.js +0 -1
  452. package/node_modules/@prismalens/api/public/assets/ResolveDialog-nVfxRJOp.js +0 -1
  453. package/node_modules/@prismalens/api/public/assets/RunsMenu-DrVYxtD6.js +0 -3
  454. package/node_modules/@prismalens/api/public/assets/ServiceFormDialog-CM8ibEPP.js +0 -1
  455. package/node_modules/@prismalens/api/public/assets/_authenticated-BIX9FmcY.js +0 -1
  456. package/node_modules/@prismalens/api/public/assets/_authenticated-g2XLlfqP.js +0 -1
  457. package/node_modules/@prismalens/api/public/assets/_id-Bs75xuEI.js +0 -1
  458. package/node_modules/@prismalens/api/public/assets/_id-CbGZLynL.js +0 -1
  459. package/node_modules/@prismalens/api/public/assets/_id-D7TdCttn.js +0 -1
  460. package/node_modules/@prismalens/api/public/assets/_id-asM5UbQq.js +0 -1
  461. package/node_modules/@prismalens/api/public/assets/alerts-C2Ii6YGg.js +0 -1
  462. package/node_modules/@prismalens/api/public/assets/app-DpX-DlR8.css +0 -2
  463. package/node_modules/@prismalens/api/public/assets/button-BX6aOWvu.js +0 -1
  464. package/node_modules/@prismalens/api/public/assets/conversation-MWIw1Mcu.js +0 -461
  465. package/node_modules/@prismalens/api/public/assets/desktop-CcO1sAJv.js +0 -63
  466. package/node_modules/@prismalens/api/public/assets/dist-NPKXzqzH.js +0 -1
  467. package/node_modules/@prismalens/api/public/assets/dropdown-menu-C2eZATbR.js +0 -1
  468. package/node_modules/@prismalens/api/public/assets/fixes-qbD9HTI7.js +0 -1
  469. package/node_modules/@prismalens/api/public/assets/format-time-CGRUxfR2.js +0 -1
  470. package/node_modules/@prismalens/api/public/assets/get-error-message-XWlcOfOx.js +0 -1
  471. package/node_modules/@prismalens/api/public/assets/highlighted-body-JLMTFACH-DrFHe1nT.js +0 -1
  472. package/node_modules/@prismalens/api/public/assets/incident-attention-DvrvH6ZE.js +0 -1
  473. package/node_modules/@prismalens/api/public/assets/incidents-tNIOIUJ9.js +0 -1
  474. package/node_modules/@prismalens/api/public/assets/index-Bkua5FuI.js +0 -26
  475. package/node_modules/@prismalens/api/public/assets/loader-circle-BxgKP4dD.js +0 -1
  476. package/node_modules/@prismalens/api/public/assets/mermaid-WFAXDIZX-BJN6kGuM.js +0 -1
  477. package/node_modules/@prismalens/api/public/assets/pair-CyzQzNhd.js +0 -1
  478. package/node_modules/@prismalens/api/public/assets/plus-C-sWiVlr.js +0 -1
  479. package/node_modules/@prismalens/api/public/assets/route-9A2eeVtZ.js +0 -1
  480. package/node_modules/@prismalens/api/public/assets/route-BpObCIuc.js +0 -1
  481. package/node_modules/@prismalens/api/public/assets/route-CAqkvl37.js +0 -1
  482. package/node_modules/@prismalens/api/public/assets/services-B9GdE4hP.js +0 -1
  483. package/node_modules/@prismalens/api/public/assets/settings-DsCNpTCk.js +0 -1
  484. package/node_modules/@prismalens/api/public/assets/state-tone-B3RGc3XM.js +0 -1
  485. package/node_modules/@prismalens/api/public/assets/switch-UJRRev_z.js +0 -3
  486. package/node_modules/@prismalens/api/public/assets/use-first-open-rsFZV7FY.js +0 -1
  487. package/node_modules/@prismalens/api/public/assets/useInvestigationRun-7torOSoz.js +0 -1
  488. package/node_modules/@prismalens/api/public/assets/useLocation-D-akr70j.js +0 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # prismalens
2
2
 
3
- PrismaLens is a self-hosted incident investigator. When an alert arrives, the
3
+ PrismaLens is an incident investigator that runs as an app on your machine. When an alert arrives, the
4
4
  coding agent you already use reads a snapshot of the service's code, under a
5
5
  permission level you pick, and writes an ordered-evidence report: hypotheses
6
6
  ranked by the evidence behind them, with no numeric confidence scores. The run,
@@ -10,12 +10,12 @@ app, checks a machine, pairs devices and manages a background service.
10
10
 
11
11
  ## Install
12
12
 
13
- PrismaLens is alpha: any 0.x release may break, so read the
13
+ PrismaLens is alpha and changes often, so read the
14
14
  [release notes](https://github.com/prismalens/prismalens/releases) before upgrading.
15
15
 
16
16
  ### npm
17
17
 
18
- Needs Node.js 24+.
18
+ Needs Node.js; `pl doctor` says if yours is too old.
19
19
 
20
20
  ```bash
21
21
  npm install -g prismalens
@@ -58,8 +58,10 @@ pl doctor
58
58
  pl up
59
59
  ```
60
60
 
61
- `pl up` serves the dashboard on http://localhost:6473 and opens your browser
62
- on a one-time link that pairs it; there is no account. Investigations need a
61
+ `pl up` serves the dashboard on http://127.0.0.1:6473 and prints a one-time
62
+ link that pairs your browser; there is no account. It opens that link for you,
63
+ except under WSL and wherever no browser can open: open the printed link
64
+ yourself there. Investigations need a
63
65
  coding agent: Settings → Agent in the app lists the ones that can run, and
64
66
  Add agent sets one up. `pl doctor` checks PrismaLens's own setup, not agents.
65
67
 
@@ -1051,6 +1051,199 @@ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
1051
1051
  CONDITIONS OF ANY KIND, either express or implied. See the License for the
1052
1052
  specific language governing permissions and limitations under the License.
1053
1053
 
1054
+ ========================================================================
1055
+ @pierre/trees@1.0.0-beta.6 (apache-2.0)
1056
+
1057
+ Apache License
1058
+ Version 2.0, January 2004
1059
+ http://www.apache.org/licenses/
1060
+
1061
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1062
+
1063
+ 1. Definitions.
1064
+
1065
+ "License" shall mean the terms and conditions for use, reproduction, and
1066
+ distribution as defined by Sections 1 through 9 of this document.
1067
+
1068
+ "Licensor" shall mean the copyright owner or entity authorized by the
1069
+ copyright owner that is granting the License.
1070
+
1071
+ "Legal Entity" shall mean the union of the acting entity and all other
1072
+ entities that control, are controlled by, or are under common control with
1073
+ that entity. For the purposes of this definition, "control" means (i) the
1074
+ power, direct or indirect, to cause the direction or management of such
1075
+ entity, whether by contract or otherwise, or (ii) ownership of fifty percent
1076
+ (50%) or more of the outstanding shares, or (iii) beneficial ownership of
1077
+ such entity.
1078
+
1079
+ "You" (or "Your") shall mean an individual or Legal Entity exercising
1080
+ permissions granted by this License.
1081
+
1082
+ "Source" form shall mean the preferred form for making modifications,
1083
+ including but not limited to software source code, documentation source, and
1084
+ configuration files.
1085
+
1086
+ "Object" form shall mean any form resulting from mechanical transformation
1087
+ or translation of a Source form, including but not limited to compiled
1088
+ object code, generated documentation, and conversions to other media types.
1089
+
1090
+ "Work" shall mean the work of authorship, whether in Source or Object form,
1091
+ made available under the License, as indicated by a copyright notice that is
1092
+ included in or attached to the work (an example is provided in the Appendix
1093
+ below).
1094
+
1095
+ "Derivative Works" shall mean any work, whether in Source or Object form,
1096
+ that is based on (or derived from) the Work and for which the editorial
1097
+ revisions, annotations, elaborations, or other modifications represent, as a
1098
+ whole, an original work of authorship. For the purposes of this License,
1099
+ Derivative Works shall not include works that remain separable from, or
1100
+ merely link (or bind by name) to the interfaces of, the Work and Derivative
1101
+ Works thereof.
1102
+
1103
+ "Contribution" shall mean any work of authorship, including the original
1104
+ version of the Work and any modifications or additions to that Work or
1105
+ Derivative Works thereof, that is intentionally submitted to Licensor for
1106
+ inclusion in the Work by the copyright owner or by an individual or Legal
1107
+ Entity authorized to submit on behalf of the copyright owner. For the
1108
+ purposes of this definition, "submitted" means any form of electronic,
1109
+ verbal, or written communication sent to the Licensor or its
1110
+ representatives, including but not limited to communication on electronic
1111
+ mailing lists, source code control systems, and issue tracking systems that
1112
+ are managed by, or on behalf of, the Licensor for the purpose of discussing
1113
+ and improving the Work, but excluding communication that is conspicuously
1114
+ marked or otherwise designated in writing by the copyright owner as "Not a
1115
+ Contribution."
1116
+
1117
+ "Contributor" shall mean Licensor and any individual or Legal Entity on
1118
+ behalf of whom a Contribution has been received by Licensor and subsequently
1119
+ incorporated within the Work.
1120
+
1121
+ 2. Grant of Copyright License. Subject to the terms and conditions of this
1122
+ License, each Contributor hereby grants to You a perpetual, worldwide,
1123
+ non-exclusive, no-charge, royalty-free, irrevocable copyright license to
1124
+ reproduce, prepare Derivative Works of, publicly display, publicly perform,
1125
+ sublicense, and distribute the Work and such Derivative Works in Source or
1126
+ Object form.
1127
+
1128
+ 3. Grant of Patent License. Subject to the terms and conditions of this
1129
+ License, each Contributor hereby grants to You a perpetual, worldwide,
1130
+ non-exclusive, no-charge, royalty-free, irrevocable (except as stated in
1131
+ this section) patent license to make, have made, use, offer to sell, sell,
1132
+ import, and otherwise transfer the Work, where such license applies only to
1133
+ those patent claims licensable by such Contributor that are necessarily
1134
+ infringed by their Contribution(s) alone or by combination of their
1135
+ Contribution(s) with the Work to which such Contribution(s) was submitted.
1136
+ If You institute patent litigation against any entity (including a
1137
+ cross-claim or counterclaim in a lawsuit) alleging that the Work or a
1138
+ Contribution incorporated within the Work constitutes direct or contributory
1139
+ patent infringement, then any patent licenses granted to You under this
1140
+ License for that Work shall terminate as of the date such litigation is
1141
+ filed.
1142
+
1143
+ 4. Redistribution. You may reproduce and distribute copies of the Work or
1144
+ Derivative Works thereof in any medium, with or without modifications, and
1145
+ in Source or Object form, provided that You meet the following conditions:
1146
+
1147
+ (a) You must give any other recipients of the Work or Derivative Works a
1148
+ copy of this License; and
1149
+
1150
+ (b) You must cause any modified files to carry prominent notices stating
1151
+ that You changed the files; and
1152
+
1153
+ (c) You must retain, in the Source form of any Derivative Works that You
1154
+ distribute, all copyright, patent, trademark, and attribution notices from
1155
+ the Source form of the Work, excluding those notices that do not pertain to
1156
+ any part of the Derivative Works; and
1157
+
1158
+ (d) If the Work includes a "NOTICE" text file as part of its distribution,
1159
+ then any Derivative Works that You distribute must include a readable copy
1160
+ of the attribution notices contained within such NOTICE file, excluding
1161
+ those notices that do not pertain to any part of the Derivative Works, in at
1162
+ least one of the following places: within a NOTICE text file distributed as
1163
+ part of the Derivative Works; within the Source form or documentation, if
1164
+ provided along with the Derivative Works; or, within a display generated by
1165
+ the Derivative Works, if and wherever such third-party notices normally
1166
+ appear. The contents of the NOTICE file are for informational purposes only
1167
+ and do not modify the License. You may add Your own attribution notices
1168
+ within Derivative Works that You distribute, alongside or as an addendum to
1169
+ the NOTICE text from the Work, provided that such additional attribution
1170
+ notices cannot be construed as modifying the License.
1171
+
1172
+ You may add Your own copyright statement to Your modifications and may
1173
+ provide additional or different license terms and conditions for use,
1174
+ reproduction, or distribution of Your modifications, or for any such
1175
+ Derivative Works as a whole, provided Your use, reproduction, and
1176
+ distribution of the Work otherwise complies with the conditions stated in
1177
+ this License.
1178
+
1179
+ 5. Submission of Contributions. Unless You explicitly state otherwise, any
1180
+ Contribution intentionally submitted for inclusion in the Work by You to the
1181
+ Licensor shall be under the terms and conditions of this License, without
1182
+ any additional terms or conditions. Notwithstanding the above, nothing
1183
+ herein shall supersede or modify the terms of any separate license agreement
1184
+ you may have executed with Licensor regarding such Contributions.
1185
+
1186
+ 6. Trademarks. This License does not grant permission to use the trade names,
1187
+ trademarks, service marks, or product names of the Licensor, except as
1188
+ required for reasonable and customary use in describing the origin of the
1189
+ Work and reproducing the content of the NOTICE file.
1190
+
1191
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in
1192
+ writing, Licensor provides the Work (and each Contributor provides its
1193
+ Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1194
+ KIND, either express or implied, including, without limitation, any
1195
+ warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or
1196
+ FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining
1197
+ the appropriateness of using or redistributing the Work and assume any risks
1198
+ associated with Your exercise of permissions under this License.
1199
+
1200
+ 8. Limitation of Liability. In no event and under no legal theory, whether in
1201
+ tort (including negligence), contract, or otherwise, unless required by
1202
+ applicable law (such as deliberate and grossly negligent acts) or agreed to
1203
+ in writing, shall any Contributor be liable to You for damages, including
1204
+ any direct, indirect, special, incidental, or consequential damages of any
1205
+ character arising as a result of this License or out of the use or inability
1206
+ to use the Work (including but not limited to damages for loss of goodwill,
1207
+ work stoppage, computer failure or malfunction, or any and all other
1208
+ commercial damages or losses), even if such Contributor has been advised of
1209
+ the possibility of such damages.
1210
+
1211
+ 9. Accepting Warranty or Additional Liability. While redistributing the Work or
1212
+ Derivative Works thereof, You may choose to offer, and charge a fee for,
1213
+ acceptance of support, warranty, indemnity, or other liability obligations
1214
+ and/or rights consistent with this License. However, in accepting such
1215
+ obligations, You may act only on Your own behalf and on Your sole
1216
+ responsibility, not on behalf of any other Contributor, and only if You
1217
+ agree to indemnify, defend, and hold each Contributor harmless for any
1218
+ liability incurred by, or claims asserted against, such Contributor by
1219
+ reason of your accepting any such warranty or additional liability.
1220
+
1221
+ END OF TERMS AND CONDITIONS
1222
+
1223
+ APPENDIX: How to apply the Apache License to your work.
1224
+
1225
+ To apply the Apache License to your work, attach the following
1226
+ boilerplate notice, with the fields enclosed by brackets "[]"
1227
+ replaced with your own identifying information. (Don't include
1228
+ the brackets!) The text should be enclosed in the appropriate
1229
+ comment syntax for the file format. We also recommend that a
1230
+ file or class name and description of purpose be included on the
1231
+ same "printed page" as the copyright notice for easier
1232
+ identification within third-party archives.
1233
+
1234
+ Copyright 2025 Pierre Computer Company
1235
+
1236
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
1237
+ this file except in compliance with the License. You may obtain a copy of the
1238
+ License at
1239
+
1240
+ http://www.apache.org/licenses/LICENSE-2.0
1241
+
1242
+ Unless required by applicable law or agreed to in writing, software distributed
1243
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
1244
+ CONDITIONS OF ANY KIND, either express or implied. See the License for the
1245
+ specific language governing permissions and limitations under the License.
1246
+
1054
1247
  ========================================================================
1055
1248
  @radix-ui/number@1.1.3 (MIT)
1056
1249
 
@@ -2235,7 +2428,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2235
2428
  SOFTWARE.
2236
2429
 
2237
2430
  ========================================================================
2238
- @tanstack/query-core@5.105.0 (MIT)
2431
+ @tanstack/query-core@5.106.1 (MIT)
2239
2432
 
2240
2433
  MIT License
2241
2434
 
@@ -2260,7 +2453,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2260
2453
  SOFTWARE.
2261
2454
 
2262
2455
  ========================================================================
2263
- @tanstack/react-query@5.105.0 (MIT)
2456
+ @tanstack/react-query@5.106.1 (MIT)
2264
2457
 
2265
2458
  MIT License
2266
2459
 
@@ -2285,7 +2478,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2285
2478
  SOFTWARE.
2286
2479
 
2287
2480
  ========================================================================
2288
- @tanstack/react-query-devtools@5.105.0 (MIT)
2481
+ @tanstack/react-query-devtools@5.106.1 (MIT)
2289
2482
 
2290
2483
  MIT License
2291
2484
 
@@ -2503,6 +2696,100 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
2503
2696
  OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2504
2697
  PERFORMANCE OF THIS SOFTWARE.
2505
2698
 
2699
+ ========================================================================
2700
+ @xterm/addon-fit@0.11.0 (MIT)
2701
+
2702
+ Copyright (c) 2019, The xterm.js authors (https://github.com/xtermjs/xterm.js)
2703
+
2704
+ Permission is hereby granted, free of charge, to any person obtaining a copy
2705
+ of this software and associated documentation files (the "Software"), to deal
2706
+ in the Software without restriction, including without limitation the rights
2707
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2708
+ copies of the Software, and to permit persons to whom the Software is
2709
+ furnished to do so, subject to the following conditions:
2710
+
2711
+ The above copyright notice and this permission notice shall be included in
2712
+ all copies or substantial portions of the Software.
2713
+
2714
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2715
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2716
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2717
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2718
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2719
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2720
+ THE SOFTWARE.
2721
+
2722
+ ========================================================================
2723
+ @xterm/addon-unicode11@0.9.0 (MIT)
2724
+
2725
+ Copyright (c) 2019, The xterm.js authors (https://github.com/xtermjs/xterm.js)
2726
+
2727
+ Permission is hereby granted, free of charge, to any person obtaining a copy
2728
+ of this software and associated documentation files (the "Software"), to deal
2729
+ in the Software without restriction, including without limitation the rights
2730
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2731
+ copies of the Software, and to permit persons to whom the Software is
2732
+ furnished to do so, subject to the following conditions:
2733
+
2734
+ The above copyright notice and this permission notice shall be included in
2735
+ all copies or substantial portions of the Software.
2736
+
2737
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2738
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2739
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2740
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2741
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2742
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2743
+ THE SOFTWARE.
2744
+
2745
+ ========================================================================
2746
+ @xterm/addon-web-links@0.12.0 (MIT)
2747
+
2748
+ Copyright (c) 2017, The xterm.js authors (https://github.com/xtermjs/xterm.js)
2749
+
2750
+ Permission is hereby granted, free of charge, to any person obtaining a copy
2751
+ of this software and associated documentation files (the "Software"), to deal
2752
+ in the Software without restriction, including without limitation the rights
2753
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2754
+ copies of the Software, and to permit persons to whom the Software is
2755
+ furnished to do so, subject to the following conditions:
2756
+
2757
+ The above copyright notice and this permission notice shall be included in
2758
+ all copies or substantial portions of the Software.
2759
+
2760
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2761
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2762
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2763
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2764
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2765
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2766
+ THE SOFTWARE.
2767
+
2768
+ ========================================================================
2769
+ @xterm/xterm@6.0.0 (MIT)
2770
+
2771
+ Copyright (c) 2017-2019, The xterm.js authors (https://github.com/xtermjs/xterm.js)
2772
+ Copyright (c) 2014-2016, SourceLair Private Company (https://www.sourcelair.com)
2773
+ Copyright (c) 2012-2013, Christopher Jeffrey (https://github.com/chjj/)
2774
+
2775
+ Permission is hereby granted, free of charge, to any person obtaining a copy
2776
+ of this software and associated documentation files (the "Software"), to deal
2777
+ in the Software without restriction, including without limitation the rights
2778
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2779
+ copies of the Software, and to permit persons to whom the Software is
2780
+ furnished to do so, subject to the following conditions:
2781
+
2782
+ The above copyright notice and this permission notice shall be included in
2783
+ all copies or substantial portions of the Software.
2784
+
2785
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2786
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2787
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2788
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2789
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2790
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2791
+ THE SOFTWARE.
2792
+
2506
2793
  ========================================================================
2507
2794
  aria-hidden@1.2.6 (MIT)
2508
2795
 
@@ -4579,6 +4866,56 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
4579
4866
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
4580
4867
  THE SOFTWARE.
4581
4868
 
4869
+ ========================================================================
4870
+ preact@11.0.0-beta.0 (MIT)
4871
+
4872
+ The MIT License (MIT)
4873
+
4874
+ Copyright (c) 2015-present Jason Miller
4875
+
4876
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4877
+ of this software and associated documentation files (the "Software"), to deal
4878
+ in the Software without restriction, including without limitation the rights
4879
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
4880
+ copies of the Software, and to permit persons to whom the Software is
4881
+ furnished to do so, subject to the following conditions:
4882
+
4883
+ The above copyright notice and this permission notice shall be included in all
4884
+ copies or substantial portions of the Software.
4885
+
4886
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
4887
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
4888
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
4889
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
4890
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
4891
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
4892
+ SOFTWARE.
4893
+
4894
+ ========================================================================
4895
+ preact-render-to-string@6.6.5 (MIT)
4896
+
4897
+ The MIT License (MIT)
4898
+
4899
+ Copyright (c) 2015 Jason Miller
4900
+
4901
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4902
+ of this software and associated documentation files (the "Software"), to deal
4903
+ in the Software without restriction, including without limitation the rights
4904
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
4905
+ copies of the Software, and to permit persons to whom the Software is
4906
+ furnished to do so, subject to the following conditions:
4907
+
4908
+ The above copyright notice and this permission notice shall be included in all
4909
+ copies or substantial portions of the Software.
4910
+
4911
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
4912
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
4913
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
4914
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
4915
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
4916
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
4917
+ SOFTWARE.
4918
+
4582
4919
  ========================================================================
4583
4920
  property-information@7.2.0 (MIT)
4584
4921
 
@@ -4685,6 +5022,31 @@ react-remove-scroll-bar@2.3.8 (MIT)
4685
5022
 
4686
5023
  (The package ships no licence file; its package.json declares MIT.)
4687
5024
 
5025
+ ========================================================================
5026
+ react-resizable-panels@4.18.1 (MIT)
5027
+
5028
+ The MIT License (MIT)
5029
+
5030
+ Copyright (c) 2018 Brian Vaughn
5031
+
5032
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5033
+ of this software and associated documentation files (the "Software"), to deal
5034
+ in the Software without restriction, including without limitation the rights
5035
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
5036
+ copies of the Software, and to permit persons to whom the Software is
5037
+ furnished to do so, subject to the following conditions:
5038
+
5039
+ The above copyright notice and this permission notice shall be included in all
5040
+ copies or substantial portions of the Software.
5041
+
5042
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
5043
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
5044
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
5045
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
5046
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
5047
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5048
+ SOFTWARE.
5049
+
4688
5050
  ========================================================================
4689
5051
  react-style-singleton@2.2.3 (MIT)
4690
5052
 
@@ -5354,6 +5716,22 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
5354
5716
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
5355
5717
  PERFORMANCE OF THIS SOFTWARE.
5356
5718
 
5719
+ ========================================================================
5720
+ tslib@2.9.1 (0BSD)
5721
+
5722
+ Copyright (c) Microsoft Corporation.
5723
+
5724
+ Permission to use, copy, modify, and/or distribute this software for any
5725
+ purpose with or without fee is hereby granted.
5726
+
5727
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
5728
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
5729
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
5730
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
5731
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
5732
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
5733
+ PERFORMANCE OF THIS SOFTWARE.
5734
+
5357
5735
  ========================================================================
5358
5736
  unified@11.0.5 (MIT)
5359
5737
 
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  healthUrl,
3
3
  waitForReady
4
- } from "./chunk-B34NMVBM.js";
4
+ } from "./chunk-JK7AMZSE.js";
5
5
  import {
6
6
  fetchInstance,
7
7
  readOutcome
8
- } from "./chunk-2SF6M3PV.js";
8
+ } from "./chunk-IJ2EB73U.js";
9
9
  import {
10
10
  assertKnownFlags
11
11
  } from "./chunk-PTBCAI34.js";
@@ -22,7 +22,7 @@ import {
22
22
  resolveLauncher,
23
23
  servicePath,
24
24
  steps
25
- } from "./chunk-7JF4AL64.js";
25
+ } from "./chunk-NXTEM2HN.js";
26
26
 
27
27
  // src/cli/service.ts
28
28
  import { spawnSync } from "node:child_process";
@@ -168,6 +168,10 @@ var install = defineCommand({
168
168
  description: "Port to listen on (default: the workspace's port)"
169
169
  },
170
170
  host: { type: "string", description: "Host to bind (default 127.0.0.1)" },
171
+ lan: {
172
+ type: "boolean",
173
+ description: "Serve plain HTTP to your local network on every start (see `pl up --lan`)"
174
+ },
171
175
  "tailscale-serve": {
172
176
  type: "boolean",
173
177
  description: "Publish the service on your tailnet over HTTPS with `tailscale serve`, on every start"
@@ -225,7 +229,8 @@ var install = defineCommand({
225
229
  host,
226
230
  path: servicePath(process.env.PATH ?? "", process.execPath),
227
231
  env: process.env,
228
- tailscaleServe: Boolean(args["tailscale-serve"])
232
+ tailscaleServe: Boolean(args["tailscale-serve"]),
233
+ lan: Boolean(args.lan)
229
234
  });
230
235
  mkdirSync(dirname(unitPath), { recursive: true });
231
236
  mkdirSync(dirname(plan.logPath), { recursive: true });
@@ -1,5 +1,6 @@
1
1
  // src/cli/tailscale.ts
2
2
  import { spawnSync } from "node:child_process";
3
+ import { hostname } from "node:os";
3
4
  var TailscaleError = class extends Error {
4
5
  };
5
6
  var runTailscale = (args) => {
@@ -65,13 +66,13 @@ function tailnetHostname(run = runTailscale) {
65
66
  }
66
67
  return name.toLowerCase();
67
68
  }
68
- function currentServeTarget(hostname, run = runTailscale) {
69
+ function currentServeTarget(hostname2, run = runTailscale) {
69
70
  const result = run(["serve", "status", "--json"]);
70
71
  if (result.status !== 0) throw failure(result, "serve status");
71
72
  if (!result.stdout.trim()) return null;
72
73
  try {
73
74
  const config = JSON.parse(result.stdout);
74
- const root = config.Web?.[`${hostname}:443`]?.Handlers?.["/"];
75
+ const root = config.Web?.[`${hostname2}:443`]?.Handlers?.["/"];
75
76
  if (!root) return null;
76
77
  return root.Proxy ?? "a non-proxy (text or path) handler";
77
78
  } catch {
@@ -81,9 +82,9 @@ function currentServeTarget(hostname, run = runTailscale) {
81
82
  }
82
83
  }
83
84
  function ensureServe(target, run = runTailscale) {
84
- const hostname = tailnetHostname(run);
85
- const url = `https://${hostname}`;
86
- const existing = currentServeTarget(hostname, run);
85
+ const hostname2 = tailnetHostname(run);
86
+ const url = `https://${hostname2}`;
87
+ const existing = currentServeTarget(hostname2, run);
87
88
  if (existing && sameTarget(existing, target)) return { url, created: false };
88
89
  if (existing) {
89
90
  const port = localPort(existing);
@@ -124,10 +125,16 @@ function serveTarget(host, port) {
124
125
  }
125
126
  return `http://127.0.0.1:${port}`;
126
127
  }
127
- function withAllowedHost(current, hostname) {
128
+ function machineHostnames(name = hostname()) {
129
+ const host = name.trim().toLowerCase().replace(/\.$/, "");
130
+ if (!host) return [];
131
+ const short = host.split(".")[0] ?? host;
132
+ return [.../* @__PURE__ */ new Set([host, short, `${short}.local`])];
133
+ }
134
+ function withAllowedHost(current, hostname2) {
128
135
  if (current?.trim() === "*") return current;
129
136
  const entries = (current ?? "").split(",").map((s) => s.trim()).filter(Boolean);
130
- if (!entries.includes(hostname)) entries.push(hostname);
137
+ if (!entries.includes(hostname2)) entries.push(hostname2);
131
138
  return entries.join(",");
132
139
  }
133
140
 
@@ -139,5 +146,6 @@ export {
139
146
  ensureServe,
140
147
  removeServe,
141
148
  serveTarget,
149
+ machineHostnames,
142
150
  withAllowedHost
143
151
  };
@@ -29,6 +29,16 @@ var TRIAL_FILE = "trial.json";
29
29
  var RESTORE_MARKER = "RESTORE";
30
30
  var OUTCOME_FILE = "upgrade-outcome.json";
31
31
  function fsyncPath(path) {
32
+ if (process.platform === "win32") {
33
+ if (statSync(path).isDirectory()) return;
34
+ const fd2 = openSync(path, "r+");
35
+ try {
36
+ fsyncSync(fd2);
37
+ } finally {
38
+ closeSync(fd2);
39
+ }
40
+ return;
41
+ }
32
42
  const fd = openSync(path, "r");
33
43
  try {
34
44
  fsyncSync(fd);
@@ -1,6 +1,9 @@
1
1
  // src/cli/up-console.ts
2
+ import { randomBytes } from "node:crypto";
3
+ import { mkdirSync, rmSync, writeFileSync } from "node:fs";
2
4
  import { createServer, isIP } from "node:net";
3
5
  import { join } from "node:path";
6
+ import { pathToFileURL } from "node:url";
4
7
  import {
5
8
  isOnPath,
6
9
  resolveOnPath,
@@ -22,7 +25,7 @@ function resolveBind(env, port) {
22
25
  var isWildcard = (host) => host === "0.0.0.0" || host === "::";
23
26
  var urlHost = (host) => host.includes(":") ? `[${host}]` : host;
24
27
  function displayUrl(bind) {
25
- const shown = isWildcard(bind.host) || bind.host === "127.0.0.1" ? "localhost" : urlHost(bind.host);
28
+ const shown = isWildcard(bind.host) ? "127.0.0.1" : urlHost(bind.host);
26
29
  return `${bind.protocol}://${shown}:${bind.port}`;
27
30
  }
28
31
  function networkBindWarning(bind) {
@@ -71,6 +74,34 @@ function noAgentLine(agents) {
71
74
  return agents.some((a) => a.installed) ? null : "No coding agent can run: investigations need one. Add one in Settings \u2192 Agent.";
72
75
  }
73
76
  var WSL_POWERSHELL = "/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe";
77
+ function writeRedirectFile(url, dir) {
78
+ mkdirSync(dir, { recursive: true, mode: 448 });
79
+ const file = join(dir, `open-${randomBytes(8).toString("hex")}.html`);
80
+ const target = JSON.stringify(url).replaceAll("<", "\\u003c");
81
+ const html = `<!doctype html><meta charset="utf-8"><meta name="referrer" content="no-referrer"><title>Opening PrismaLens</title><script>location.replace(${target})</script>`;
82
+ writeFileSync(file, html, { mode: 384, flag: "wx" });
83
+ return file;
84
+ }
85
+ function openTarget(url, workspaceDir, proc = process) {
86
+ if (proc.env.WSL_DISTRO_NAME || proc.env.WSL_INTEROP) return null;
87
+ let file;
88
+ try {
89
+ file = writeRedirectFile(url, join(workspaceDir, "run"));
90
+ } catch {
91
+ return null;
92
+ }
93
+ const drop = () => rmSync(file, { force: true });
94
+ setTimeout(drop, 12e4).unref();
95
+ for (const event of [
96
+ "exit",
97
+ "SIGINT",
98
+ "SIGTERM",
99
+ ...proc.platform === "win32" ? ["SIGBREAK"] : []
100
+ ]) {
101
+ proc.once(event, drop);
102
+ }
103
+ return pathToFileURL(file).href;
104
+ }
74
105
  var NO_BROWSER_LINE = "Couldn't open a browser on this machine. Open the link above.";
75
106
  function whichAnywhere(bin, env) {
76
107
  const path = env.PATH ?? "";
@@ -165,6 +196,8 @@ export {
165
196
  TELEMETRY_NOTICE,
166
197
  noAgentLine,
167
198
  WSL_POWERSHELL,
199
+ writeRedirectFile,
200
+ openTarget,
168
201
  NO_BROWSER_LINE,
169
202
  browserCommand,
170
203
  watchPairings,
@@ -1,5 +1,5 @@
1
1
  // src/cli/service-unit.ts
2
- import { dirname, join } from "node:path";
2
+ import { dirname, join } from "node:path/posix";
3
3
  import {
4
4
  LAUNCHD_LABEL,
5
5
  SYSTEMD_UNIT_NAME
@@ -28,7 +28,8 @@ function buildPlan(input) {
28
28
  input.launcher,
29
29
  "up",
30
30
  "--no-open",
31
- ...input.tailscaleServe ? ["--tailscale-serve"] : []
31
+ ...input.tailscaleServe ? ["--tailscale-serve"] : [],
32
+ ...input.lan ? ["--lan"] : []
32
33
  ],
33
34
  env,
34
35
  logPath: join(input.workspace, "logs", "service.log")