elanous 0.3.5 → 0.3.9

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 (2863) hide show
  1. package/catalog/sim-world-device-catalog-fragments/README.md +16 -0
  2. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-APP-CONTRACT-SECRET-ENTROPY-TS.json +24 -0
  3. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-APP-KILL-SWITCH-WORLD-TS.json +20 -0
  4. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-APP-SCRATCH-BOOTSTRAP-TS.json +9 -0
  5. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-APP-UPGRADE-PATH-WORLD-TS.json +9 -0
  6. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-ARG-MACRO-CANVAS-SIM-TS.json +16 -0
  7. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-ASIDE-FEEDBACK-LOOP-TS.json +33 -0
  8. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-AUTHOR-REVIEWER-PRECHECK-DEVICE-TS.json +33 -0
  9. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-BACKEND-TIER-DEVICE-TS.json +29 -0
  10. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-BOOT-DAEMON-TOOLS-PTY-SHELL-DEVICE-TS.json +33 -0
  11. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-BROWSER-HAND-TS.json +33 -0
  12. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-BURST-READY-LADDER-SIM-TS.json +33 -0
  13. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CENSUS-ORACLE-AXIS-WORLD-TS.json +8 -0
  14. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CHAIN-LAND-TS.json +29 -0
  15. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CLASSIC-TUI-SEAT-SCENARIOS-TS.json +33 -0
  16. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CLI-CONFIG-AUDIT-DEVICE-TS.json +33 -0
  17. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CODEX-WIRE-CAPTURE-TS.json +33 -0
  18. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-COMPUTER-USE-TS.json +33 -0
  19. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-DASHBOARD-EVENT-LOOP-STALL-MONITOR-DEVICE-TS.json +33 -0
  20. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-DEVICE-CATALOG-SNAPSHOT-FRAGMENTS-TS.json +12 -0
  21. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-DEVICE-FIDELITY-TS.json +31 -0
  22. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-DRAFT-INVENTORY-BUILDER-TS.json +33 -0
  23. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-EDGE-CREATOR-NIGHTLY-TS.json +11 -0
  24. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-EDGE-CREATOR-TS.json +18 -0
  25. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-EVENT-MONKEY-TS.json +33 -0
  26. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-ABSORB-INGEST-TS.json +9 -0
  27. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-ADB-PHONE-WORLD-TS.json +15 -0
  28. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-AGENT-HOOK-HOST-TS.json +6 -0
  29. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-ANDROID-CLIENT-TS.json +10 -0
  30. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-AUTH-TS.json +29 -0
  31. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-DB-BACKUP-WORLD-TS.json +14 -0
  32. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-DB-WORLD-TS.json +25 -0
  33. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-DRIVE-WORLD-TS.json +23 -0
  34. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-FAILURES-TS.json +9 -0
  35. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-HOST-TS.json +29 -0
  36. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-REALTIME-TS.json +29 -0
  37. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-SOURCE-CONCURRENT-WRITER-TS.json +23 -0
  38. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-SOURCE-WORLD-TS.json +23 -0
  39. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-STORAGE-TS.json +29 -0
  40. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-TRAFFIC-TS.json +29 -0
  41. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-BIN-ARGS-SIM-TS.json +17 -0
  42. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-BIN-TS.json +33 -0
  43. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-BROWSER-PAGE-TS.json +33 -0
  44. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-CLOCK-TS.json +33 -0
  45. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-CLOUD-BILLING-WORLD-TS.json +8 -0
  46. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-CLOUD-VM-TS.json +33 -0
  47. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-DATA-GUARD-BOUNDARY-TS.json +29 -0
  48. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-DNS-CERT-TS.json +29 -0
  49. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-ELEVENLABS-TS.json +29 -0
  50. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-FEEDS-TS.json +9 -0
  51. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-FETCH-TS.json +29 -0
  52. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-FLEET-TS.json +33 -0
  53. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-GH-TS.json +33 -0
  54. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-GOOGLE-DRIVE-WORLD-TS.json +23 -0
  55. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-HERDR-TS.json +33 -0
  56. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-HIGGSFIELD-TS.json +29 -0
  57. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-KUBECTL-TS.json +33 -0
  58. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-LAND-QUEUE-TS.json +33 -0
  59. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-LINEAR-DEVICE-TS.json +33 -0
  60. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-LLM-TS.json +33 -0
  61. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-MEMBER-OIDC-WORLD-TS.json +8 -0
  62. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-MOBILE-TOOLCHAIN-TS.json +9 -0
  63. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-NEXUS-BOARD-SERVER-TS.json +9 -0
  64. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-PAYMENT-TS.json +29 -0
  65. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-PS-TS.json +30 -0
  66. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-RELAY-WORLD-TS.json +20 -0
  67. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-SSH-TS.json +33 -0
  68. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-STT-TS.json +29 -0
  69. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-TELEGRAM-OUTBOUND-TS.json +9 -0
  70. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-TELEGRAM-VIDEO-TS.json +33 -0
  71. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-TEMP-CLEANUP-TS.json +21 -0
  72. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-CRED-EXPIRY-TS.json +33 -0
  73. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-GLM-NO-CREDENTIAL-TS.json +33 -0
  74. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-NEEDS-HUMAN-REASON-REPAIR-TS.json +33 -0
  75. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-NEXTMOVE-DISPATCH-TS.json +33 -0
  76. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-NEXUS-STALL-TS.json +29 -0
  77. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POD-CHILD-RESULT-TS.json +33 -0
  78. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POD-CODEX-503-TS.json +33 -0
  79. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POD-DEATH-TS.json +33 -0
  80. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POD-REUSE-RESIDUE-TS.json +29 -0
  81. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POOL-CAP-TS.json +33 -0
  82. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-SCOPE-ESCAPE-LIFT-TS.json +33 -0
  83. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-SQLITE-BUSY-TS.json +33 -0
  84. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-TUI-400-AUTOHEAL-TS.json +33 -0
  85. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FIXTURES-GIT-WORKTREE-ACCEL-LINUX-JSON.json +33 -0
  86. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FLUTTER-DEPLOY-JOURNEY-TS.json +10 -0
  87. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-IMAGE-LAYERED-DELTA-SIM-TS.json +11 -0
  88. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-IMAGE-PREFLIGHT-RUNTIME-IDENTITY-FLOW-SIM-TS.json +13 -0
  89. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-ROSTER-SECOND-POOL-TS.json +28 -0
  90. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-SHARD-HOST-REROUTE-TS.json +33 -0
  91. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-STEADY-STATE-PROOF-SIM-TS.json +11 -0
  92. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GIT-PUSH-TIMEOUT-PARTIAL-OUTCOME-REMOTE-VERIFY-TS.json +22 -0
  93. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GOAL-DEVICE-TS.json +33 -0
  94. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GOAL-INTERIM-TRACE-TS.json +33 -0
  95. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-DIFF-APPLY-TS.json +9 -0
  96. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-ENGINE-SIM-TS.json +33 -0
  97. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-EVENT-ENTRY-WORLD-TS.json +4 -0
  98. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-PLACEMENT-LEASE-WORLD-TS.json +4 -0
  99. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-RUN-LIFECYCLE-WORLD-TS.json +7 -0
  100. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-RUNTIME-OVERLAY-EVENT-PATH-TS.json +33 -0
  101. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-RUNTIME-OVERLAY-EVENT-PATH-WORKER-TS.json +33 -0
  102. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-TRIGGER-HOOK-DEVICE-TS.json +4 -0
  103. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRID-CHAOS-DRIVER-TS.json +33 -0
  104. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRID-LEDGER-TS.json +33 -0
  105. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRID-READY-TIERS-TS.json +33 -0
  106. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-HEADLESS-TUI-TS.json +33 -0
  107. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-HEAL-REAUTHOR-MATERIALIZED-TS.json +33 -0
  108. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-HOTSPOT-FILE-LEASE-WORLD-TS.json +4 -0
  109. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-HQ-MOVE-SIM-TS.json +30 -0
  110. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-IN-PROCESS-CLI-539-FILE-ADOPTION-SIM-TS.json +17 -0
  111. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-IN-PROCESS-CLI-TS.json +33 -0
  112. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-INPUT-HISTORY-TS.json +33 -0
  113. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-INSTALL-CONSENT-DEVICE-TS.json +31 -0
  114. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-INTERACTION-TS.json +33 -0
  115. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-IOS-CHAT-EDGE-ADAPTER-TS.json +9 -0
  116. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-LINEAR-SECRETARY-TS.json +33 -0
  117. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MAPREDUCE-MULTIHOST-SIM-TS.json +8 -0
  118. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-AUTHORING-FIRST-RUN-CHILD-TS.json +33 -0
  119. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-AUTHORING-FIRST-RUN-TS.json +33 -0
  120. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-DEVICE-REQUESTS-TS.json +33 -0
  121. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SCENARIO-CATALOG-JSON.json +19 -0
  122. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SCENARIO-CATALOG-TS.json +33 -0
  123. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SEAT-PTY-FRAME-CHILD-TS.json +33 -0
  124. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SEAT-PTY-FRAME-TS.json +33 -0
  125. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SEAT-PTY-SEQUENCE-CHILD-TS.json +33 -0
  126. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SEAT-PTY-SEQUENCE-TS.json +33 -0
  127. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MULTI-ACTOR-WORLD-TS.json +9 -0
  128. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MULTI-TENANT-RELAY-WORLD-TS.json +20 -0
  129. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NETWORK-SANDBOX-TS.json +9 -0
  130. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NEXT-TUI-CORE-INPUT-TS.json +9 -0
  131. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NEXT-TUI-ROUTE-DEVICE-TS.json +9 -0
  132. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NEXT-TUI-SEAT-SCENARIOS-TS.json +33 -0
  133. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NL-SCENARIO-TS.json +9 -0
  134. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-ONBOARDING-FIRST-RUN-DEVICE-TS.json +33 -0
  135. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-OUTBOUND-GUARD-SIM-TS.json +7 -0
  136. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PLUGIN-RELEASE-OBSERVE-ROUTE-WORLD-TS.json +11 -0
  137. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PLUGIN-YAML-GEN-WORLD-TS.json +9 -0
  138. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-FEDERATION-SIM-TS.json +9 -0
  139. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-PHASE-PREWARM-TS.json +17 -0
  140. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-REUSE-MATCH-BY-KIND-SIM-TS.json +25 -0
  141. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-REUSE-SHARED-FAKE-BOUNDARY-TS.json +26 -0
  142. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-REUSE-WORLD-TS.json +27 -0
  143. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PR-LAND-DRIFT-AUTOREPAIR-DEVICE-TS.json +17 -0
  144. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PR-LAND-DRIFT-GATE-DEVICE-TS.json +26 -0
  145. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PTY-KEY-MODIFIERS-DEVICE-TS.json +33 -0
  146. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PUBLIC-AUTH-PROVIDER-CLOUD-VM-SIM-TS.json +7 -0
  147. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PWA-PROVENANCE-BADGE-WORLD-TS.json +4 -0
  148. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PWA-RETAINED-ROUTES-WORLD-TS.json +11 -0
  149. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-READINESS-COUNTDOWN-TS.json +24 -0
  150. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-REAL-TARGET-SANDBOX-TS.json +9 -0
  151. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-EVENT-TRACE-TS.json +28 -0
  152. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-PUBLISH-DEVICES-TS.json +28 -0
  153. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-SAME-VERSION-RUN-ADOPTION-SIM-TS.json +15 -0
  154. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-SIM-RIG-SEAT-GUARD-CHILD-TS.json +11 -0
  155. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-SIM-RIG-TS.json +33 -0
  156. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RENDER-FRAME-TS.json +33 -0
  157. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RESEARCH-DECISION-CHAIN-TS.json +33 -0
  158. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RESUME-PICKER-DEVICE-TS.json +33 -0
  159. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RLA-EVENT-RESPONSE-SCORECARD-TS.json +28 -0
  160. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RLA-MACROPHAGE-HEAL-TIMEOUT-STALE-OUTPUT-SIM-TS.json +4 -0
  161. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SAFE-PUBLIC-COPY-PUBLISH-TS.json +33 -0
  162. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SCENARIO-TS.json +33 -0
  163. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SECRET-CANARY-TS.json +29 -0
  164. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SEMINAR-REHEARSAL-TS.json +33 -0
  165. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SERVICE-KEY-SETUP-TS.json +33 -0
  166. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SESSION-ID-SEED-TS.json +33 -0
  167. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SIM-COVERAGE-TS.json +30 -0
  168. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SIM-RECEIPT-TS.json +8 -0
  169. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SKILLS-TOOLS-SHELL-DEVICE-TS.json +33 -0
  170. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SLASH-MENU-FRAMES-TS.json +33 -0
  171. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SMART-MERGE-WORLD-TS.json +17 -0
  172. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SUBAGENT-TOOLS-DEVICE-TS.json +33 -0
  173. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TA-LAND-COUNT-DISPATCHER-SIM-TS.json +17 -0
  174. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TASK-AGENT-PARENT-HOST-DEVICE-TS.json +33 -0
  175. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TASK-AGENT-REJUDGE-ON-HEAD-DEVICE-TS.json +33 -0
  176. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TASK-ORCHESTRATOR-SURFACES-SELF-IMPLEMENT-POD-DEVICE-TS.json +33 -0
  177. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TEMP-GIT-REMOTE-TS.json +33 -0
  178. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TEMP-GIT-REPO-TS.json +29 -0
  179. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TERM-SLASH-DEVICE-TS.json +33 -0
  180. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TOOL-ASYNC-FAIL-LOOP-TS.json +30 -0
  181. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TOOL-ROUTER-WORLD-TS.json +9 -0
  182. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TRAIN-MANAGER-DECISION-SIM-TS.json +18 -0
  183. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TRAIN-MANAGER-WORLD-TS.json +9 -0
  184. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TTY-FOREGROUND-STEAL-CHILD-TS.json +33 -0
  185. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TURN-STATES-TS.json +33 -0
  186. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TURN-THROW-SIM-TS.json +33 -0
  187. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-USER-CONFIG-DEFAULT-SPARSE-SIM-TS.json +11 -0
  188. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-USER-CONFIG-TUI-DIET-SIM-TS.json +11 -0
  189. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WARM-POOL-REUSE-SIM-TS.json +33 -0
  190. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WARM-POOL-REUSE-SWITCH-SIM-TS.json +29 -0
  191. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WARM-SI-REUSE-SIM-TS.json +29 -0
  192. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-CHAOS-RUNTIME-TS.json +31 -0
  193. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-HOST-CHAOS-TS.json +30 -0
  194. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-REGRESSION-SUITE-TS.json +9 -0
  195. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-SCHEMA-TS.json +33 -0
  196. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-SNAPSHOT-TS.json +31 -0
  197. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-STORE-TS.json +33 -0
  198. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-TS.json +33 -0
  199. package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-WATCH-TS.json +27 -0
  200. package/catalog/sim-world-device-catalog-fragments/metadata.json +3 -0
  201. package/catalog/ux-sim/fixtures/adaptive-graph-v1.yaml +18 -0
  202. package/catalog/ux-sim/mock-scenario-catalog-fragments/README.md +15 -0
  203. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00010--scripts-tui-sim-bench-ts-adf79d7e.json +8 -0
  204. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00020--scripts-tui-sim-ts-c9bd7af7.json +8 -0
  205. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00030--scripts-ux-sim-ts-e5b4dead.json +8 -0
  206. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00040--scripts-voice-dogfood-sim-ts-0e5441cd.json +8 -0
  207. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00050--scripts-voice-pwa-sim-ts-831ba2c9.json +8 -0
  208. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00060--scripts-release-loop-gate-autoheal-sim-evidence--1dfbf6e9.json +11 -0
  209. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00070--scripts-release-loop-gate-node-sim-ts-bb18473a.json +11 -0
  210. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00080--scripts-release-loop-gate-bisect-ts-0a24b781.json +11 -0
  211. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00090--scripts-release-loop-gate-bisect-test-ts-93276556.json +11 -0
  212. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00100--scripts-release-loop-gate-bisect-sidecar-ts-8537597a.json +11 -0
  213. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00110--scripts-release-loop-tui-sim-node-ts-81456cc3.json +8 -0
  214. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00120--scripts-lib-pwa-scenarios-acp-replay-ts-f5b22233.json +8 -0
  215. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00130--scripts-lib-pwa-scenarios-cdp-driver-ts-f888fe21.json +8 -0
  216. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00140--scripts-lib-pwa-scenarios-runner-ts-482bae4e.json +8 -0
  217. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00150--scripts-lib-pwa-scenarios-scenarios-ts-b6642642.json +8 -0
  218. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00160--test-fixtures-acp-initialize-stub-ts-dda92993.json +8 -0
  219. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00170--test-fixtures-mock-lsp-server-ts-5607efec.json +8 -0
  220. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00180--test-helpers-intake-fake-repo-ts-313e4fab.json +8 -0
  221. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00190--test-ux-sim-aimock-local-ts-346e03cb.json +8 -0
  222. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00200--scenarios-dashboard-default-yaml-f2d56850.json +8 -0
  223. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00210--scenarios-heap-graph-yaml-d9d0d2a9.json +8 -0
  224. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00220--scenarios-iul-timeline-viewer-yaml-449a5fc2.json +8 -0
  225. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00230--scenarios-ux-sim-provider-4xx-no-provider-yaml-0d620991.json +11 -0
  226. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00240--scenarios-ux-sim-release-sim-rig-yaml-3ec55c14.json +13 -0
  227. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00250--tests-scenarios-4provider-feature-impl-yaml-d76ada66.json +8 -0
  228. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00260--tests-scenarios-capability-level-11-yaml-2f16c5ed.json +8 -0
  229. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00270--tests-scenarios-codex-baseline-yaml-8a635e8e.json +8 -0
  230. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00280--tests-scenarios-codex-opus-2way-yaml-5e0502d6.json +8 -0
  231. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00290--tests-scenarios-codex-variance-w5f-yaml-4ec32047.json +8 -0
  232. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00300--tests-scenarios-multi-turn-cache-rate-yaml-eb8a6f86.json +8 -0
  233. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00310--tests-scenarios-repl-rotation-chain-yaml-6e9a6646.json +8 -0
  234. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00320--tests-scenarios-repl-self-debug-arc-yaml-549e12af.json +8 -0
  235. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00330--tests-scenarios-repl-tool-doom-recovery-yaml-06a7412a.json +8 -0
  236. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00340--src-playground-scenario-default-scenarios-ts-45b5ee3e.json +8 -0
  237. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00350--src-playground-scenario-fake-harness-ts-870235f6.json +8 -0
  238. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00360--src-showroom-outbound-channels-stubs-ts-d2dee3b2.json +8 -0
  239. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00370--test-telegram-surface-hitl-test-ts-1a40e9ff.json +8 -0
  240. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00380--src-ux-sim-author-reviewer-precheck-device-ts-92e65331.json +12 -0
  241. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00390--src-ux-sim-safe-public-copy-publish-ts-fecca28c.json +11 -0
  242. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00400--src-ux-sim-seminar-rehearsal-test-ts-b7d04c41.json +11 -0
  243. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00410--src-ux-sim-aside-feedback-loop-ts-bc55d132.json +8 -0
  244. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00420--src-release-loop-macrophage-heal-ts-30c76fcb.json +11 -0
  245. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00430--src-ux-sim-pod-reuse-world-ts-d8ea8bc8.json +8 -0
  246. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00440--src-ux-sim-pr-land-drift-gate-device-ts-7046aa17.json +8 -0
  247. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00450--src-ux-sim-app-contract-secret-entropy-ts-096d587b.json +11 -0
  248. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00460--src-ux-sim-app-contract-secret-entropy-test-ts-20663c84.json +11 -0
  249. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00470--src-ux-sim-readiness-countdown-ts-7955f662.json +11 -0
  250. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00480--src-ux-sim-readiness-countdown-test-ts-74503e51.json +11 -0
  251. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00490--src-ux-sim-fake-app-drive-world-ts-0628e0fc.json +11 -0
  252. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00500--src-ux-sim-fake-app-drive-world-test-ts-5e5ccb70.json +11 -0
  253. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00510--src-ux-sim-fake-app-source-concurrent-writer-ts-d552ec7a.json +11 -0
  254. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00520--src-ux-sim-fake-app-source-world-ts-8decb8fc.json +11 -0
  255. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00530--src-ux-sim-fake-app-source-world-test-ts-62c86a9c.json +11 -0
  256. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00540--src-ux-sim-fake-google-drive-world-ts-ea35958c.json +11 -0
  257. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00550--src-ux-sim-fake-google-drive-world-test-ts-b1893a04.json +11 -0
  258. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00560--src-ux-sim-git-push-timeout-partial-outcome-remote-verify-ts-bfd2b9a0.json +11 -0
  259. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00570--src-ux-sim-fake-temp-cleanup-ts-78630a27.json +11 -0
  260. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00580--src-ux-sim-fake-temp-cleanup-test-ts-d0ed21bc.json +11 -0
  261. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00590--src-ux-sim-release-same-version-run-adoption-sim-ts-0a0b3e7e.json +11 -0
  262. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00600--src-ux-sim-release-same-version-run-adoption-sim-test-ts-e50288fb.json +11 -0
  263. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00610--src-ux-sim-graph-resume-any-entry-ts-f4e753c4.json +11 -0
  264. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00620--src-ux-sim-graph-resume-any-entry-test-ts-63d01d16.json +11 -0
  265. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00630--src-ux-sim-graph-compose-trigger-sim-test-ts.json +8 -0
  266. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00640--src-ux-sim-graph-run-lifecycle-world-ts-61f58868.json +9 -0
  267. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00650--src-ux-sim-graph-run-lifecycle-world-test-ts-9a932579.json +9 -0
  268. package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00660--scripts-release-loop-gate-node-test-ts.json +11 -0
  269. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00010--scripts-release-loop-gate-node-test-ts.json +4 -0
  270. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00010--src-ux-sim-safe-public-copy-publish-ts-fecca28c.json +4 -0
  271. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00020--src-ux-sim-seminar-rehearsal-test-ts-b7d04c41.json +4 -0
  272. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00030--src-ux-sim-aside-feedback-loop-ts-bc55d132.json +4 -0
  273. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00040--scripts-release-loop-gate-bisect-ts-0a24b781.json +4 -0
  274. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00050--scripts-release-loop-gate-bisect-test-ts-93276556.json +4 -0
  275. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00060--scripts-release-loop-gate-bisect-sidecar-ts-8537597a.json +4 -0
  276. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00070--src-release-loop-macrophage-heal-ts-30c76fcb.json +4 -0
  277. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00080--src-ux-sim-pod-reuse-world-ts-d8ea8bc8.json +4 -0
  278. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00090--src-ux-sim-pr-land-drift-gate-device-ts-7046aa17.json +4 -0
  279. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00100--src-ux-sim-app-contract-secret-entropy-ts-096d587b.json +4 -0
  280. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00110--src-ux-sim-app-contract-secret-entropy-test-ts-20663c84.json +4 -0
  281. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00120--src-ux-sim-readiness-countdown-ts-7955f662.json +4 -0
  282. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00130--src-ux-sim-readiness-countdown-test-ts-74503e51.json +4 -0
  283. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00140--src-ux-sim-fake-app-drive-world-ts-0628e0fc.json +4 -0
  284. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00150--src-ux-sim-fake-app-drive-world-test-ts-5e5ccb70.json +4 -0
  285. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00160--src-ux-sim-fake-app-source-concurrent-writer-ts-d552ec7a.json +4 -0
  286. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00170--src-ux-sim-fake-app-source-world-ts-8decb8fc.json +4 -0
  287. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00180--src-ux-sim-fake-app-source-world-test-ts-62c86a9c.json +4 -0
  288. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00190--src-ux-sim-fake-google-drive-world-ts-ea35958c.json +4 -0
  289. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00200--src-ux-sim-fake-google-drive-world-test-ts-b1893a04.json +4 -0
  290. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00210--src-ux-sim-git-push-timeout-partial-outcome-remote-verify-ts-bfd2b9a0.json +4 -0
  291. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00220--src-ux-sim-fake-temp-cleanup-ts-78630a27.json +4 -0
  292. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00230--src-ux-sim-fake-temp-cleanup-test-ts-d0ed21bc.json +4 -0
  293. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00240--src-ux-sim-release-same-version-run-adoption-sim-ts-0a0b3e7e.json +4 -0
  294. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00250--src-ux-sim-release-same-version-run-adoption-sim-test-ts-e50288fb.json +4 -0
  295. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00260--src-ux-sim-graph-resume-any-entry-ts-f4e753c4.json +4 -0
  296. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00270--src-ux-sim-graph-resume-any-entry-test-ts-63d01d16.json +4 -0
  297. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00280--src-ux-sim-graph-compose-trigger-sim-test-ts.json +4 -0
  298. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00640--src-ux-sim-graph-run-lifecycle-world-ts-61f58868.json +4 -0
  299. package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00650--src-ux-sim-graph-run-lifecycle-world-test-ts-9a932579.json +4 -0
  300. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00000--multi-actor-world-20261110.json +38 -0
  301. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00010--sim-fake-providers-av-4883a32d.json +33 -0
  302. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00020--codex-wire-capture-1bb11a5e.json +27 -0
  303. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00030--fake-app-auth-a12b9d72.json +34 -0
  304. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00040--fake-app-traffic-10bb14b5.json +38 -0
  305. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00050--fake-app-realtime-b675ae5d.json +37 -0
  306. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00060--fake-llm-4e9d0461.json +27 -0
  307. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00070--fake-fetch-24e15acf.json +37 -0
  308. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00080--fake-data-guard-boundary-6d63fa1b.json +27 -0
  309. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00090--fake-executable-0d4932e9.json +52 -0
  310. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00100--fake-payment-36658cf7.json +35 -0
  311. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00110--git-worktree-accel-measure-f2e46787.json +30 -0
  312. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00120--fake-github-4447f89b.json +27 -0
  313. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00121--fake-cred.json +14 -0
  314. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00122--fake-feeds.json +14 -0
  315. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00130--fake-kubectl-1d602089.json +28 -0
  316. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00140--fault-nexus-stall-7854e333.json +29 -0
  317. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00150--warm-pool-reuse-sim-7748cb2f.json +45 -0
  318. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00160--fake-fleet-55e1776a.json +28 -0
  319. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00170--fake-herdr-61d3593c.json +27 -0
  320. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00180--fake-clock-89a347a7.json +26 -0
  321. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00190--fake-dns-cert-b17dcd51.json +36 -0
  322. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00200--fake-ssh-6012493b.json +29 -0
  323. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00210--fake-cloud-vm-990dc784.json +61 -0
  324. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00220--temp-git-remote-03a486eb.json +24 -0
  325. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00230--fake-land-queue-bc0138c9.json +39 -0
  326. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00240--world-runtime-d26d02c9.json +83 -0
  327. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00250--secret-canary-e8fd8f58.json +31 -0
  328. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00260--scenario-runner-a9afa458.json +42 -0
  329. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00270--sim-mailbox-d26bb613.json +27 -0
  330. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00280--draft-inventory-34f59a02.json +38 -0
  331. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00290--linear-secretary-ecf757fe.json +33 -0
  332. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00300--release-graph-rig-069c8c3b.json +133 -0
  333. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00310--graph-engine-selector-1b47d4df.json +27 -0
  334. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00320--sim-event-log-path-74a7df46.json +52 -0
  335. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00330--tui-interaction-8e9968ff.json +65 -0
  336. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00340--fault-injection-60e2a635.json +49 -0
  337. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00350--gate-receipt-file-closure-cas.json +35 -0
  338. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00350--grid-chaos-driver-312fbd1c.json +36 -0
  339. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00360--product-devices-b83cabdd.json +61 -0
  340. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00370--turn-throw-sim-fa6bd37b.json +30 -0
  341. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00380--first-run-and-seminar-f7ec0d9a.json +50 -0
  342. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00390--support-fakes-4ac8f28e.json +67 -0
  343. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00400--author-reviewer-precheck-29e760be.json +36 -0
  344. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00410--research-decision-chain-312201c5.json +30 -0
  345. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00420--sim-universe-world-lifecycle-0ccd91ce.json +32 -0
  346. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00430--sim-universe-world-yaml-schema-3a0c6c68.json +35 -0
  347. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00440--grid-ledger-95b7955f.json +30 -0
  348. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00450--telegram-video-receipt-3b9512a2.json +32 -0
  349. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00451--fake-telegram-outbound-briefing.json +13 -0
  350. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00460--aside-feedback-loop-4e4a0842.json +33 -0
  351. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00470--heal-reauthor-materialized-f16c0ffc.json +28 -0
  352. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00480--device-fidelity-b30563a6.json +28 -0
  353. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00490--install-consent-d43aab59.json +28 -0
  354. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00500--warm-si-reuse-sim-cd2ce529.json +44 -0
  355. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00510--pod-reuse-residue-fault-faeb368d.json +33 -0
  356. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00510--public-auth-provider-cloud-vm-sim-161386f5.json +43 -0
  357. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00510--warm-pool-declare-path-sim-553b1d90.json +37 -0
  358. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00520--fake-ps-d6df0bab.json +28 -0
  359. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00530--fake-app-storage-48587412.json +42 -0
  360. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00540--backend-tier-device-f32db49f.json +23 -0
  361. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00550--fake-higgsfield-b3207190.json +29 -0
  362. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00560--temp-git-repo-114a0526.json +23 -0
  363. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00570--rla-event-response-scorecard-a2c92bfd.json +31 -0
  364. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00580--app-contract-secret-entropy-e9beed1f.json +30 -0
  365. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00590--fake-app-drive-world-f2c3e58c.json +39 -0
  366. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00600--fake-app-source-world-445af8b0.json +32 -0
  367. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00610--fake-google-drive-world-c81301f3.json +40 -0
  368. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00620--fake-temp-cleanup-1d778211.json +36 -0
  369. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00630--git-push-timeout-partial-outcome-remote-verify-f90afeae.json +31 -0
  370. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00640--pod-reuse-match-by-kind-sim-ccc95426.json +37 -0
  371. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00650--pod-reuse-world-e1c91756.json +28 -0
  372. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00660--pr-land-drift-gate-31434d33.json +32 -0
  373. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00670--edge-creator-4d59199b.json +45 -0
  374. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00670--readiness-countdown-db1a7536.json +35 -0
  375. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00680--rla-context-release-status-arrival-event-740d889b.json +28 -0
  376. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00690--sim-catalog-manual-fragment-merge-sim-9a35f50d.json +30 -0
  377. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00700--git-fetch-fresh-skip-10e18190.json +30 -0
  378. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00700--smart-merge-world.json +28 -0
  379. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00710--pod-phase-prewarm-3bc0dd35.json +33 -0
  380. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00710--release-graph-receipt-audit.json +33 -0
  381. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00710--ta-land-count-dispatcher-sim.json +25 -0
  382. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00720--fake-bin-args-sim.json +29 -0
  383. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00730--pr-land-drift-autorepair-device.json +27 -0
  384. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00740--gate-closure-lazy-require-sim.json +36 -0
  385. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00890--worktree-deps-shared-store.json +33 -0
  386. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00900--fake-adb-phone-world.json +37 -0
  387. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00910--fake-android-client-b8b02ae9.json +14 -0
  388. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00910--gate-repair-multi-file-sim.json +14 -0
  389. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00910--phone-pwa-selfheal.json +35 -0
  390. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00910--release-same-version-run-adoption-sim-ff3df430.json +30 -0
  391. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00920--repo-git-maintenance.json +31 -0
  392. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01000--install-one-liner-failsafe.json +31 -0
  393. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01010--relay-edge-first-host-sim.json +33 -0
  394. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01010--seat-mail-wake-4e271489.json +38 -0
  395. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01020--control-serve-lease-default-sim.json +14 -0
  396. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01020--flutter-deploy-journey.json +28 -0
  397. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01020--pod-phase-prewarm-sim.json +32 -0
  398. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01030--pod-phase-prewarm-hit-sim.json +33 -0
  399. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--adaptive-graph-design.json +34 -0
  400. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--app-upgrade-path.json +35 -0
  401. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--fake-market-feed.json +27 -0
  402. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--graph-v2-lowering.json +27 -0
  403. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--light-rc-long-run-device-0d845681.json +26 -0
  404. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--sim-impact-unified-check-804f7466.json +35 -0
  405. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01041--plugin-yaml-gen.json +33 -0
  406. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01050--absorb-graph-v2-rungraph-4b5a6751.json +28 -0
  407. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01050--graph-policy-lint.json +30 -0
  408. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01050--mini-board-card-deb603f7.json +29 -0
  409. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01100--graph-trigger-hook-device.json +32 -0
  410. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01101--graph-trigger-registry-world.json +13 -0
  411. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01103--graph-event-entry-world.json +13 -0
  412. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01104--graph-placement-lease-world.json +13 -0
  413. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01110--sim-mapreduce-multihost.json +14 -0
  414. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01600--fake-absorb-ingest.json +14 -0
  415. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01610--graph-compose-trigger-sim.json +32 -0
  416. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01620--app-scratch-bootstrap.json +13 -0
  417. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01630--nl-scenario-proposal.json +13 -0
  418. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01650--network-sandbox.json +13 -0
  419. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01670--pod-federation-sim.json +13 -0
  420. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01680--fake-mobile-toolchain.json +13 -0
  421. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01690--fake-app-failures.json +21 -0
  422. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01700--sim-receipt-proof-658f05e1.json +38 -0
  423. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01700--world-regression-suite.json +13 -0
  424. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01710--fake-cloud-billing-world.json +41 -0
  425. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01710--fake-member-oidc-world.json +47 -0
  426. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01710--log-volume-world-4cfcdfcd.json +15 -0
  427. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01710--tool-router-world.json +13 -0
  428. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01710--train-manager-world.json +46 -0
  429. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01720--census-oracle-axis-world-6918999a.json +28 -0
  430. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01720--fake-agent-hook-host.json +39 -0
  431. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01720--next-tui-plugin-wizard.json +23 -0
  432. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01730--outbound-guard-sim-b65e7aca.json +26 -0
  433. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01740--graph-run-lifecycle-world-99feb920.json +27 -0
  434. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01750--hotspot-file-lease-world.json +27 -0
  435. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01850--pwa-static-swap.json +32 -0
  436. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01860--pwa-provenance-badge-world-6505d1f7.json +31 -0
  437. package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01870--rla-macrophage-heal-timeout-stale-output.json +28 -0
  438. package/catalog/ux-sim/mock-scenario-catalog-fragments/metadata.json +36 -0
  439. package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00010--test-ux-sim-aimock-local-ts-346e03cb.json +1 -0
  440. package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00020--test-telegram-surface-hitl-test-ts-1a40e9ff.json +1 -0
  441. package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00030--src-ux-sim-safe-public-copy-publish-ts-fecca28c.json +1 -0
  442. package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00040--src-ux-sim-git-push-timeout-partial-outcome-remote-verify-ts-bfd2b9a0.json +1 -0
  443. package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00640--src-ux-sim-graph-run-lifecycle-world-ts-61f58868.json +1 -0
  444. package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00650--src-ux-sim-graph-run-lifecycle-world-test-ts-9a932579.json +1 -0
  445. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-1-fake-agent-hook-host--d684e4e6.json +4 -0
  446. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-1-graph-policy-lint--a3217972.json +4 -0
  447. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-3-mock-catalog-duplicate-36330--00a4c628.json +4 -0
  448. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-3-mock-catalog-glm-fallback-regression--3008ce2b.json +4 -0
  449. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-3-notify-capability--377e3b9b.json +4 -0
  450. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-3-sim-fake-app-failures-android-voice-photo-note--2cf7eecc.json +4 -0
  451. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-4-guardian-train-worker-lifecycle--81fc2727.json +4 -0
  452. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-4-simkit-receipt-badge--403f2c90.json +4 -0
  453. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-brief-graph-contract-36172--adebc8d7.json +4 -0
  454. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/gate-g2-36414-mapreduce-core--3d93d2ed.json +4 -0
  455. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/gate-g2-graph-instance-pause-cancel-fork--03ed48f5.json +4 -0
  456. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/gate-g2-mapreduce-core--8e0f99c7.json +4 -0
  457. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/graph-hook--6004207a.json +4 -0
  458. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/hotspot-file-lease-world--7a989baf.json +4 -0
  459. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/mvp-a-36129-numguard--6bf14d0e.json +4 -0
  460. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/mvp-b-graph-v2-lower--5cfb0e37.json +4 -0
  461. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/mvp-b-train-manager-world--d8aadd96.json +4 -0
  462. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/mvp-c-app-scratch-bootstrap-sim--5bc6aa66.json +4 -0
  463. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/opc-next-tui-core-input--d3b85b0e.json +4 -0
  464. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/opc-next-tui-fold-default--aee623bd.json +4 -0
  465. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/opt-absorb-brief-graph-contract--322f06ec.json +4 -0
  466. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/opt-sim-multi-actor--70a91caa.json +4 -0
  467. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-crawl-mock-catalog-4--6f2ee6aa.json +4 -0
  468. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-crawl-sim-fake-feeds--5f8bba8e.json +4 -0
  469. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-crawl-sim-real-target-sandbox--17a5454a.json +4 -0
  470. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-kaist-deploy-from-tui-pwa--e1c5986f.json +4 -0
  471. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-logvol-census-oracle-axis--eac8e1dd.json +4 -0
  472. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-logvol-gate-no-wallclock-1--a8ad27a8.json +4 -0
  473. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-logvol-log-volume-world--24e1d1ea.json +4 -0
  474. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-mkt-sim-regression-suite--c8633fb2.json +4 -0
  475. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-toolroute-first-party-plugins-all--b202b190.json +4 -0
  476. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-toolroute-graph-route-allowlist--565dc688.json +4 -0
  477. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-toolroute-plugin-multi-active--a95dc218.json +4 -0
  478. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-toolroute-search-only--f91a0e19.json +4 -0
  479. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-toolroute-tool-router-world--4e6a7c56.json +4 -0
  480. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-warmpool-pod-warm-normalize--dc25fd37.json +4 -0
  481. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/sim-fake-cred--ef5d3497.json +4 -0
  482. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/tool-router-low-risk-native--4fcc1519.json +4 -0
  483. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/ux-mini-board-card-projection--1a257324.json +4 -0
  484. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/ux-resource-ledger-public-auth--9372a56f.json +4 -0
  485. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/ux-rla-pwa-formal-update--8b6d47f1.json +4 -0
  486. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/win-1-fake-cloud-billing-world--1dace52e.json +4 -0
  487. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/win-1-fake-market-feed-sim-impact-app-upgrade--7bbacec6.json +4 -0
  488. package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/win-1-outbound-guard-sim--4c230f2f.json +4 -0
  489. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00010--ux-ms-01-73ee5d56.json +19 -0
  490. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00020--ux-ms-02-88d521fa.json +32 -0
  491. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00025--release-macrophage-heal-fd63c32d.json +28 -0
  492. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00030--release-graph-prepub-fanout-1beb8236.json +23 -0
  493. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00035--arg-macro-canvas-sim.json +21 -0
  494. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00036--release-graph-absorb-all-0307.json +26 -0
  495. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00040--release-macro-chain-e2e-1109.json +22 -0
  496. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00040--rla-rehearsal-cloud-resume-sim-1f54baa1.json +22 -0
  497. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00040--ux-ms-03-0888aa4c.json +19 -0
  498. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00050--ux-ms-04-46d9b0ff.json +21 -0
  499. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00060--ux-ms-05-d309d631.json +20 -0
  500. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00070--ux-ms-06-b87b5f50.json +19 -0
  501. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00080--ux-ms-07-45b8212b.json +21 -0
  502. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00090--ux-ms-08-d047fc5e.json +22 -0
  503. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00100--ux-ms-09-75e68cac.json +22 -0
  504. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00110--ux-ms-11-e621d4ea.json +20 -0
  505. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00120--ux-ms-12-af6a74c3.json +22 -0
  506. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00130--night-train-dead-pid-lock-9f67d397.json +21 -0
  507. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00140--author-precheck-applied-4a55eaf2.json +22 -0
  508. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00150--author-precheck-rejected-unprovable-08ab0402.json +22 -0
  509. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00160--safe-public-copy-publish-redaction-e80f0180.json +26 -0
  510. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00170--sw-freeze-d66deac8.json +20 -0
  511. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00180--sim-hq-move-7fc41ad6.json +26 -0
  512. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00190--sim-chain-land-c1305d4c.json +25 -0
  513. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00200--ux-ms-13-995bb160.json +25 -0
  514. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00210--app-contract-secret-entropy-bd4fecf8.json +19 -0
  515. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00220--app-source-snapshot-896a2618.json +21 -0
  516. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00230--app-web-drive-tenant-cd467e6c.json +21 -0
  517. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00240--git-push-timeout-partial-outcome-remote-verify-52419971.json +19 -0
  518. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00250--google-drive-list-readonly-90287835.json +21 -0
  519. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00250--ux-ms-pod-phase-prewarm.json +22 -0
  520. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00260--rla-launch-countdown-1107-f4b4bc86.json +20 -0
  521. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00260--ux-ms-pod-phase-prewarm-hit.json +20 -0
  522. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00270--task-temp-cleanup-a5f4b922.json +19 -0
  523. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00280--sim-release-same-version-run-adoption-0bc8d711.json +22 -0
  524. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00290--simkit-receipt-badge-dcacf46e.json +26 -0
  525. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01010--graph-resume-any-entry-sim-9bc2289f.json +20 -0
  526. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01020--flutter-deploy-journey.json +19 -0
  527. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01020--seat-mail-wake-all-addresses-365812cf.json +22 -0
  528. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01030--graph-run-lifecycle-pause-owner-death-6011d381.json +11 -0
  529. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01031--graph-run-lifecycle-cancel-owner-death-60832435.json +11 -0
  530. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01032--graph-run-lifecycle-fork-owner-death-b857f8a0.json +11 -0
  531. package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01720--fake-agent-hook-host.json +11 -0
  532. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-exclusions/00010--scenarios-ux-sim-mk-ms-01-yaml-917748f2.json +4 -0
  533. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00010--md-ux-sim-aside-feedback-loop-ts-f21f1507.json +10 -0
  534. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00020--md-ux-sim-author-reviewer-precheck-device-ts-b2a9abd6.json +10 -0
  535. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00030--md-ux-sim-backend-tier-device-ts-54b7fd84.json +10 -0
  536. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00040--md-ux-sim-boot-daemon-tools-pty-shell-device-ts-dd80678b.json +10 -0
  537. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00050--md-ux-sim-browser-hand-ts-d06db15a.json +10 -0
  538. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00060--md-ux-sim-burst-ready-ladder-sim-ts-6dad5f6c.json +10 -0
  539. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00070--md-ux-sim-chain-land-ts-0343338c.json +10 -0
  540. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00080--md-ux-sim-classic-tui-seat-scenarios-ts-20fee020.json +10 -0
  541. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00090--md-ux-sim-cli-config-audit-device-ts-ce53777f.json +10 -0
  542. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00100--md-ux-sim-codex-wire-capture-ts-8cda31a6.json +10 -0
  543. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00110--md-ux-sim-computer-use-ts-ce46f504.json +10 -0
  544. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00120--md-ux-sim-dashboard-event-loop-stall-monitor-dev-aa29de9c.json +10 -0
  545. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00130--md-ux-sim-device-fidelity-ts-f5cd1c2c.json +10 -0
  546. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00140--md-ux-sim-draft-inventory-builder-ts-c942f9a2.json +10 -0
  547. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00150--md-ux-sim-event-monkey-ts-7a173131.json +11 -0
  548. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00160--md-ux-sim-fake-app-auth-ts-36fadfd1.json +10 -0
  549. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00170--md-ux-sim-fake-app-host-ts-f97c7aa0.json +11 -0
  550. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00180--md-ux-sim-fake-app-realtime-ts-25496e57.json +10 -0
  551. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00190--md-ux-sim-fake-app-storage-ts-4dd69d8d.json +10 -0
  552. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00200--md-ux-sim-fake-app-traffic-ts-f1f5e552.json +10 -0
  553. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00210--md-ux-sim-fake-bin-ts-cf8e7614.json +10 -0
  554. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00220--md-ux-sim-fake-browser-page-ts-cd408a66.json +10 -0
  555. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00230--md-ux-sim-fake-clock-ts-8ad5fbca.json +12 -0
  556. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00240--md-ux-sim-fake-cloud-vm-ts-6dd59466.json +10 -0
  557. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00250--md-ux-sim-fake-data-guard-boundary-ts-47048355.json +10 -0
  558. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00260--md-ux-sim-fake-dns-cert-ts-32045bf7.json +10 -0
  559. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00270--md-ux-sim-fake-elevenlabs-ts-35e342bf.json +10 -0
  560. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00280--md-ux-sim-fake-fetch-ts-65584925.json +10 -0
  561. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00290--md-ux-sim-fake-fleet-ts-1375b9f5.json +10 -0
  562. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00300--md-ux-sim-fake-gh-ts-7f98dfa3.json +10 -0
  563. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00310--md-ux-sim-fake-herdr-ts-b888704c.json +11 -0
  564. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00320--md-ux-sim-fake-higgsfield-ts-998bff8d.json +10 -0
  565. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00330--md-ux-sim-fake-kubectl-ts-3c86b0f0.json +12 -0
  566. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00340--md-ux-sim-fake-land-queue-ts-8180eab3.json +10 -0
  567. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00350--md-ux-sim-fake-linear-device-ts-b5add3d0.json +10 -0
  568. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00360--md-ux-sim-fake-llm-ts-df79e477.json +10 -0
  569. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00370--md-ux-sim-fake-payment-ts-75de40a0.json +10 -0
  570. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00380--md-ux-sim-fake-ps-ts-a0e17feb.json +10 -0
  571. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00390--md-ux-sim-fake-ssh-ts-6a7a68f5.json +10 -0
  572. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00400--md-ux-sim-fake-stt-ts-a4be8d74.json +10 -0
  573. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00410--md-ux-sim-fake-telegram-video-ts-0a411065.json +10 -0
  574. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00420--md-ux-sim-fault-cred-expiry-ts-46ce5b1a.json +10 -0
  575. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00430--md-ux-sim-fault-glm-no-credential-ts-c9d22ea7.json +10 -0
  576. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00440--md-ux-sim-fault-needs-human-reason-repair-ts-79e657b4.json +10 -0
  577. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00450--md-ux-sim-fault-nextmove-dispatch-ts-732fedbb.json +10 -0
  578. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00460--md-ux-sim-fault-nexus-stall-ts-a9476e07.json +10 -0
  579. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00470--md-ux-sim-fault-pod-child-result-ts-029c2b11.json +10 -0
  580. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00480--md-ux-sim-fault-pod-codex-503-ts-2095dc24.json +10 -0
  581. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00490--md-ux-sim-fault-pod-death-ts-c4332c01.json +11 -0
  582. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00500--md-ux-sim-fault-pod-reuse-residue-ts-f6ec0683.json +10 -0
  583. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00510--md-ux-sim-fault-pool-cap-ts-704a8fd1.json +10 -0
  584. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00520--md-ux-sim-fault-scope-escape-lift-ts-89d70ebb.json +10 -0
  585. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00530--md-ux-sim-fault-sqlite-busy-ts-e55c6596.json +10 -0
  586. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00540--md-ux-sim-fault-tui-400-autoheal-ts-9c8c4c90.json +10 -0
  587. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00550--md-ux-sim-fixtures-git-worktree-accel-linux-json-292d13eb.json +10 -0
  588. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00560--md-ux-sim-gate-roster-second-pool-ts-71ab79a0.json +10 -0
  589. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00570--md-ux-sim-gate-shard-host-reroute-ts-d53fb003.json +10 -0
  590. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00580--md-ux-sim-goal-device-ts-081f27d5.json +10 -0
  591. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00590--md-ux-sim-goal-interim-trace-ts-a294f6eb.json +10 -0
  592. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00600--md-ux-sim-graph-engine-sim-ts-b396d6cd.json +10 -0
  593. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00610--md-ux-sim-graph-runtime-overlay-event-path-ts-85e231ed.json +10 -0
  594. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00620--md-ux-sim-graph-runtime-overlay-event-path-worke-44d01497.json +10 -0
  595. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00630--md-ux-sim-grid-chaos-driver-ts-3aeaa007.json +10 -0
  596. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00640--md-ux-sim-grid-ledger-ts-47aa3bbf.json +11 -0
  597. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00650--md-ux-sim-grid-ready-tiers-ts-ce1a3d02.json +10 -0
  598. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00660--md-ux-sim-headless-tui-ts-efe53045.json +10 -0
  599. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00670--md-ux-sim-heal-reauthor-materialized-ts-f0885108.json +10 -0
  600. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00680--md-ux-sim-hq-move-sim-ts-3f87b093.json +10 -0
  601. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00690--md-ux-sim-in-process-cli-ts-a7cf98f0.json +10 -0
  602. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00700--md-ux-sim-input-history-ts-373c28e3.json +10 -0
  603. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00710--md-ux-sim-install-consent-device-ts-049427b0.json +10 -0
  604. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00720--md-ux-sim-interaction-ts-1864df2b.json +10 -0
  605. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00730--md-ux-sim-linear-secretary-ts-325a38c0.json +10 -0
  606. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00740--md-ux-sim-mock-authoring-first-run-child-ts-58346a8b.json +10 -0
  607. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00750--md-ux-sim-mock-authoring-first-run-ts-f6fa0f7c.json +10 -0
  608. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00760--md-ux-sim-mock-device-requests-ts-eeefc29f.json +10 -0
  609. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00780--md-ux-sim-mock-scenario-catalog-ts-d5697910.json +11 -0
  610. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00790--md-ux-sim-mock-seat-pty-frame-child-ts-a918240e.json +10 -0
  611. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00800--md-ux-sim-mock-seat-pty-frame-ts-64ad26cd.json +10 -0
  612. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00810--md-ux-sim-mock-seat-pty-sequence-child-ts-942048e3.json +10 -0
  613. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00820--md-ux-sim-mock-seat-pty-sequence-ts-6ea89eee.json +10 -0
  614. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00830--md-ux-sim-next-tui-seat-scenarios-ts-f6041f67.json +10 -0
  615. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00840--md-ux-sim-onboarding-first-run-device-ts-04866faf.json +10 -0
  616. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00850--md-ux-sim-pty-key-modifiers-device-ts-c223afb6.json +10 -0
  617. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00860--md-ux-sim-release-event-trace-ts-2a3b45ba.json +10 -0
  618. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00870--md-ux-sim-release-publish-devices-ts-b6bcf64b.json +10 -0
  619. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00880--md-ux-sim-release-sim-rig-ts-05f20f16.json +10 -0
  620. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00890--md-ux-sim-render-frame-ts-275662e1.json +10 -0
  621. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00900--md-ux-sim-research-decision-chain-ts-9ba3915b.json +10 -0
  622. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00910--md-ux-sim-resume-picker-device-ts-9057ce38.json +10 -0
  623. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00920--md-ux-sim-rla-event-response-scorecard-ts-005ca7af.json +10 -0
  624. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00930--md-ux-sim-arg-macro-canvas-sim-ts.json +10 -0
  625. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00930--md-ux-sim-safe-public-copy-publish-ts-b46b6ba6.json +10 -0
  626. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00940--md-ux-sim-scenario-ts-409febfe.json +13 -0
  627. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00950--md-ux-sim-secret-canary-ts-b9d5f354.json +10 -0
  628. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00960--md-ux-sim-seminar-rehearsal-ts-c0dcc1cf.json +10 -0
  629. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00970--md-ux-sim-service-key-setup-ts-fc2578e7.json +10 -0
  630. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00980--md-ux-sim-session-id-seed-ts-12206acb.json +10 -0
  631. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00990--md-ux-sim-sim-coverage-ts-fd46c0fe.json +10 -0
  632. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01000--md-ux-sim-skills-tools-shell-device-ts-a63ab153.json +10 -0
  633. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01010--md-ux-sim-slash-menu-frames-ts-fc04d9ce.json +10 -0
  634. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01020--md-ux-sim-flutter-deploy-journey-ts.json +10 -0
  635. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01020--md-ux-sim-subagent-tools-device-ts-6ecdf005.json +10 -0
  636. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01030--md-ux-sim-task-agent-parent-host-device-ts-7a97b5f6.json +10 -0
  637. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01040--md-ux-sim-task-agent-rejudge-on-head-device-ts-33893bfb.json +10 -0
  638. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01050--md-ux-sim-task-orchestrator-surfaces-self-implem-18bdb425.json +10 -0
  639. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01060--md-ux-sim-temp-git-remote-ts-f64f9359.json +10 -0
  640. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01070--md-ux-sim-temp-git-repo-ts-cd68ece3.json +10 -0
  641. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01080--md-ux-sim-term-slash-device-ts-e7ee79b6.json +10 -0
  642. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01090--md-ux-sim-tool-async-fail-loop-ts-057c354d.json +10 -0
  643. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01100--md-ux-sim-tty-foreground-steal-child-ts-bfe16e86.json +10 -0
  644. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01110--md-ux-sim-turn-states-ts-c18238ab.json +10 -0
  645. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01120--md-ux-sim-turn-throw-sim-ts-36260397.json +10 -0
  646. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01130--md-ux-sim-warm-pool-reuse-sim-ts-47a18b34.json +10 -0
  647. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01140--md-ux-sim-warm-pool-reuse-switch-sim-ts-2b0a1583.json +11 -0
  648. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01150--md-ux-sim-warm-si-reuse-sim-ts-6e790b8d.json +10 -0
  649. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01160--md-ux-sim-world-chaos-runtime-ts-45e1a99c.json +10 -0
  650. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01170--md-ux-sim-world-host-chaos-ts-9d61588e.json +12 -0
  651. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01180--md-ux-sim-world-schema-ts-7b596511.json +10 -0
  652. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01190--md-ux-sim-world-snapshot-ts-7d31ed92.json +11 -0
  653. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01200--md-ux-sim-world-store-ts-64cd54bf.json +10 -0
  654. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01210--md-ux-sim-world-ts-ad60826b.json +11 -0
  655. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01220--md-ux-sim-world-watch-ts-d45007fd.json +10 -0
  656. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01230--md-ux-sim-pod-reuse-world-ts-d8ea8bc8.json +11 -0
  657. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01240--md-ux-sim-app-contract-secret-entropy-ts-e4d19d66.json +10 -0
  658. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01250--md-ux-sim-app-kill-switch-world-ts-e89b604d.json +10 -0
  659. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01260--md-ux-sim-fake-app-db-world-ts-d394fe23.json +10 -0
  660. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01270--md-ux-sim-fake-app-drive-world-ts-f5bb931e.json +10 -0
  661. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01280--md-ux-sim-fake-app-source-concurrent-writer-ts-d342114a.json +10 -0
  662. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01290--md-ux-sim-fake-app-source-world-ts-4cdf1a61.json +10 -0
  663. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01300--md-ux-sim-fake-google-drive-world-ts-11b7f0da.json +10 -0
  664. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01310--md-ux-sim-fake-relay-world-ts-d4c096f5.json +10 -0
  665. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01320--md-ux-sim-fake-temp-cleanup-ts-299fbf77.json +10 -0
  666. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01330--md-ux-sim-git-push-timeout-partial-outcome-remote-verify-ts-c5185fb3.json +10 -0
  667. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01340--md-ux-sim-multi-tenant-relay-world-ts-e2fc28d2.json +10 -0
  668. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01350--md-ux-sim-pod-reuse-match-by-kind-sim-ts-782c5911.json +10 -0
  669. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01360--md-ux-sim-pod-reuse-shared-fake-boundary-ts-a16285a5.json +10 -0
  670. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01370--md-ux-sim-pr-land-drift-gate-device-ts-3df0178e.json +10 -0
  671. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01380--md-ux-sim-readiness-countdown-ts-48cf04b4.json +10 -0
  672. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01390--md-ux-sim-train-manager-decision-sim-ts-9b4695ad.json +10 -0
  673. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01410--md-ux-sim-edge-creator-ts-b25cb517.json +10 -0
  674. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01420--md-ux-sim-pod-phase-prewarm-ts-a137c8d1.json +10 -0
  675. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01420--md-ux-sim-smart-merge-world-ts.json +10 -0
  676. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01430--md-ux-sim-ta-land-count-dispatcher-sim-ts.json +10 -0
  677. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01440--md-ux-sim-fake-bin-args-sim-ts.json +10 -0
  678. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01450--md-ux-sim-pr-land-drift-autorepair-device-ts.json +10 -0
  679. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01460--md-ux-sim-in-process-cli-539-file-adoption-sim-ts.json +10 -0
  680. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01470--md-ux-sim-release-same-version-run-adoption-sim-ts-9e32e7d0.json +10 -0
  681. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01480--md-ux-sim-fake-adb-phone-world-ts-76033333.json +10 -0
  682. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01490--md-ux-sim-fake-app-db-backup-world-ts.json +10 -0
  683. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01500--md-ux-sim-gate-image-preflight-runtime-identity-flow-sim-ts.json +10 -0
  684. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01510--md-ux-sim-device-catalog-snapshot-fragments-ts.json +10 -0
  685. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01520--md-ux-sim-fake-android-client-ts-77f6d965.json +8 -0
  686. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01520--md-ux-sim-plugin-release-observe-route-world-ts.json +10 -0
  687. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01530--md-ux-sim-pwa-retained-routes-world-ts.json +10 -0
  688. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01540--md-ux-sim-gate-image-layered-delta-sim-ts.json +8 -0
  689. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01550--md-ux-sim-user-config-default-sparse-sim-ts.json +8 -0
  690. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01560--md-ux-sim-release-sim-rig-seat-guard-child-ts.json +8 -0
  691. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01570--md-ux-sim-gate-steady-state-proof-sim-ts.json +8 -0
  692. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01580--md-ux-sim-user-config-tui-diet-sim-ts.json +8 -0
  693. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01590--md-ux-sim-edge-creator-nightly-ts.json +8 -0
  694. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01600--md-ux-sim-fake-absorb-ingest-ts.json +8 -0
  695. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01600--md-ux-sim-fake-telegram-outbound.json +8 -0
  696. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01610--md-ux-sim-app-upgrade-path-world-ts.json +8 -0
  697. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01610--md-ux-sim-next-tui-core-input-ts.json +8 -0
  698. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01611--md-ux-sim-plugin-yaml-gen-world-ts.json +8 -0
  699. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01620--md-ux-sim-app-scratch-bootstrap-ts.json +10 -0
  700. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01621--md-ux-sim-fake-nexus-board-server-ts.json +8 -0
  701. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01622--md-ux-sim-graph-diff-apply-ts.json +8 -0
  702. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01623--md-ux-sim-mapreduce-multihost.json +8 -0
  703. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01630--md-ux-sim-ios-chat-edge-adapter-ts.json +8 -0
  704. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01640--md-ux-sim-nl-scenario-ts.json +8 -0
  705. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01650--md-ux-sim-network-sandbox-ts.json +8 -0
  706. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01660--md-ux-sim-next-tui-route-device-ts.json +8 -0
  707. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01670--md-ux-sim-pod-federation-sim-ts.json +8 -0
  708. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01680--md-ux-sim-fake-mobile-toolchain-ts.json +8 -0
  709. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01690--md-ux-sim-fake-feeds-ts.json +8 -0
  710. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01690--md-ux-sim-multi-actor-world-ts.json +8 -0
  711. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01690--md-ux-sim-sim-receipt-ts-fbac5ddd.json +8 -0
  712. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01691--md-ux-sim-fake-app-failures-ts.json +8 -0
  713. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01700--md-ux-sim-world-regression-suite-ts.json +8 -0
  714. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01710--md-ux-sim-fake-cloud-billing-world-ts.json +8 -0
  715. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01710--md-ux-sim-fake-member-oidc-world-ts.json +10 -0
  716. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01710--md-ux-sim-real-target-sandbox-ts.json +8 -0
  717. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01710--md-ux-sim-tool-router-world-ts.json +8 -0
  718. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01710--md-ux-sim-train-manager-world-ts.json +10 -0
  719. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01720--md-ux-sim-census-oracle-axis-world-ts-0dd03008.json +10 -0
  720. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01720--md-ux-sim-fake-agent-hook-host-ts.json +8 -0
  721. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01720--md-ux-sim-next-tui-plugin-wizard-world-ts.json +8 -0
  722. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01730--md-ux-sim-outbound-guard-sim-ts-a885ec98.json +8 -0
  723. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01730--md-ux-sim-public-auth-provider-cloud-vm-sim-ts-6e424ea6.json +8 -0
  724. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01740--md-ux-sim-graph-run-lifecycle-world-ts-61f58868.json +8 -0
  725. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01750--md-ux-sim-hotspot-file-lease-world-ts.json +8 -0
  726. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01750--md-ux-sim-pwa-provenance-badge-world-ts-cf2acbfe.json +8 -0
  727. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01760--md-ux-sim-graph-trigger-hook-device-ts.json +8 -0
  728. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01760--md-ux-sim-rla-macrophage-heal-timeout-stale-output-sim-ts.json +8 -0
  729. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01762--md-ux-sim-graph-event-entry-world-ts.json +8 -0
  730. package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01763--md-ux-sim-graph-placement-lease-world-ts.json +8 -0
  731. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00010--ev-0042-8a37502e.json +5 -0
  732. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00020--ev-0107-09ba5618.json +5 -0
  733. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00030--hq-move-75a88e80.json +5 -0
  734. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00040--rla-er-01-68d954af.json +5 -0
  735. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00050--rla-er-02-1e5e64d1.json +5 -0
  736. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00060--rla-er-03-51a1b3d4.json +5 -0
  737. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00070--rla-er-04-8e22f866.json +5 -0
  738. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00080--rla-er-05-df87c68d.json +5 -0
  739. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00090--rla-er-06-ad13c028.json +5 -0
  740. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00100--rla-er-07-d2204757.json +5 -0
  741. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00110--rla-er-08-5ffce874.json +5 -0
  742. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00120--rla-er-09-f575779c.json +5 -0
  743. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00130--rla-er-10-ac9154fd.json +5 -0
  744. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00140--gate-pools-pinned-sweep-0c5e1f58.json +5 -0
  745. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00150--gate-mshq-unavailable-6f38fbd8.json +5 -0
  746. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00160--gate-both-unavailable-c4956825.json +5 -0
  747. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00170--gate-digest-mismatch-7b971872.json +5 -0
  748. package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00180--gate-no-pinned-image-33bda9d9.json +5 -0
  749. package/graphs/apps/lecture-scrap-extract.yaml +10 -0
  750. package/graphs/apps/recipes.yaml +1 -0
  751. package/graphs/catalog/catalog.yaml +2 -2
  752. package/graphs/demo/kaist-key-feature/kaist-key-feature.yaml +30 -0
  753. package/graphs/demo/kaist-key-feature/recipes.yaml +1 -0
  754. package/graphs/demo/recipes.yaml +13 -0
  755. package/graphs/demo/solar-scene4.yaml +24 -0
  756. package/graphs/heal/heal-loop.yaml +10 -1
  757. package/graphs/heal/recipes.yaml +2 -0
  758. package/graphs/overlays/stop-heal-ladder.yaml +21 -0
  759. package/graphs/release/derive.json +37 -0
  760. package/graphs/release/macrophage-subscriber.yaml +21 -0
  761. package/graphs/release/node-command-bindings.json +18 -0
  762. package/graphs/release/plugin.json +34 -0
  763. package/graphs/release/recipes.yaml +78 -1
  764. package/graphs/release/release-edge-vocabulary.yaml +11 -0
  765. package/graphs/release/release-gate-domain-pack.yaml +9 -0
  766. package/graphs/release/release-graph.schema.yaml +7 -0
  767. package/graphs/release/release-loop-fanout.yaml +107 -0
  768. package/graphs/release/release-loop.yaml +84 -40
  769. package/graphs/release/rla/loop.yaml +30 -0
  770. package/graphs/release/rla/plugin.json +19 -0
  771. package/graphs/release/rla/recipes.yaml +11 -0
  772. package/graphs/release/rla/supervisor.yaml +23 -0
  773. package/graphs/templates/release/plugin.json +132 -0
  774. package/graphs/templates/release/recipes.yaml +20 -0
  775. package/graphs/templates/release/release-step.ts +27 -0
  776. package/graphs/templates/release/release.yaml +24 -0
  777. package/graphs/units/pod-reuse-prep.yaml +17 -0
  778. package/graphs/units/recipes.yaml +3 -0
  779. package/graphs/units/verbs/decide.yaml +19 -0
  780. package/graphs/units/verbs/make.yaml +19 -0
  781. package/graphs/units/verbs/recipes.yaml +10 -0
  782. package/graphs/units/verbs/watch.yaml +18 -0
  783. package/package.json +6 -1
  784. package/packs/gcp-architect-expand/content/decision-table.md +25 -0
  785. package/packs/gcp-architect-expand/content/security-decision-table.md +17 -0
  786. package/packs/gcp-architect-expand/knowledge-pack.json +12 -0
  787. package/plugins/absorb/graph/absorb-brief.yaml +63 -0
  788. package/plugins/absorb/graph/absorb-build.yaml +42 -0
  789. package/plugins/absorb/graph/absorb-ingest.yaml +18 -0
  790. package/plugins/absorb/graph/absorb-suggest-list.yaml +16 -0
  791. package/plugins/absorb/graph/recipes.yaml +1 -0
  792. package/plugins/absorb/graph/units/recipes.yaml +1 -0
  793. package/plugins/absorb/handlers/board-approval.ts +99 -0
  794. package/plugins/absorb/packs/member-apps/pack.yaml +14 -0
  795. package/plugins/absorb/plugin.json +276 -0
  796. package/plugins/absorb/plugin.yaml +102 -0
  797. package/plugins/absorb/sims/absorb-demo-world.yaml +44 -0
  798. package/plugins/absorb/skills/absorb/brief/SKILL.md +10 -0
  799. package/plugins/absorb/skills/absorb/build/SKILL.md +8 -0
  800. package/plugins/absorb/skills/absorb/card/SKILL.md +10 -0
  801. package/plugins/absorb/skills/absorb/suggest/SKILL.md +10 -0
  802. package/plugins/doc-draft/README.md +1 -1
  803. package/plugins/doc-draft/graphs/run-step.ts +7 -11
  804. package/plugins/elanous-app-deploy/plugin.json +34 -0
  805. package/plugins/elanous-app-deploy/skills/app-deploy/SKILL.md +5 -0
  806. package/plugins/elanous-observe/plugin.json +41 -0
  807. package/plugins/elanous-release/plugin.json +41 -0
  808. package/plugins/gcp-architect-expand/README.md +9 -0
  809. package/plugins/gcp-architect-expand/entitlements.json +28 -0
  810. package/plugins/gcp-architect-expand/graph.yaml +22 -0
  811. package/plugins/gcp-architect-expand/plugin.json +15 -0
  812. package/plugins/gcp-architect-expand/recipes.yaml +13 -0
  813. package/plugins/geo-check/README.md +2 -2
  814. package/plugins/geo-check/graphs/run-step.ts +6 -12
  815. package/plugins/graph-instance-view/fixtures/graph.view.json +24 -0
  816. package/plugins/graph-instance-view/fixtures/harness.view.json +21 -0
  817. package/plugins/graph-instance-view/fixtures/release.view.json +23 -0
  818. package/plugins/graph-instance-view/fixtures/resource.view.json +25 -0
  819. package/plugins/graph-instance-view/schema/view-model.v1.schema.json +126 -0
  820. package/plugins/iul-shared/materialize-intent-tool.ts +2 -1
  821. package/plugins/iul-shared/materializer.ts +2 -1
  822. package/plugins/kr-flow-composites/README.md +45 -0
  823. package/plugins/kr-flow-composites/graphs/battery-signal.yaml +22 -0
  824. package/plugins/kr-flow-composites/graphs/etf-price.yaml +12 -0
  825. package/plugins/kr-flow-composites/graphs/recipes.yaml +9 -0
  826. package/plugins/kr-flow-composites/graphs/sector-flow.yaml +18 -0
  827. package/plugins/kr-flow-composites/plugin.json +16 -0
  828. package/plugins/marketplace-market-data/graphs/units/market-ohlcv.yaml +23 -0
  829. package/plugins/marketplace-market-data/graphs/units/market-quote.yaml +21 -0
  830. package/plugins/marketplace-market-data/graphs/units/recipes.yaml +1 -0
  831. package/plugins/marketplace-market-data/plugin.json +23 -0
  832. package/plugins/marketplace-market-data/sims/n8n/execute-workflow-default.json +15 -0
  833. package/plugins/marketplace-market-data/sims/n8n/execute-workflow-explicit-contract.json +18 -0
  834. package/scripts/check-graph-declaration.ts +20 -2
  835. package/scripts/ci-android-unit-tests.ts +46 -2
  836. package/scripts/ci-pwa-build-gate.ts +22 -2
  837. package/scripts/ci-typecheck-changed.ts +22 -8
  838. package/scripts/cli-spawn-sites.ts +114 -0
  839. package/scripts/corpus-process-group.ts +55 -0
  840. package/scripts/corpus-worker-lifecycle.ts +2 -7
  841. package/scripts/cron-run.ts +1 -1
  842. package/scripts/device-real-drive.mjs +216 -0
  843. package/scripts/device-real-drive.test.mjs +168 -0
  844. package/scripts/docs/generate-cli-anatomy.ts +3 -4
  845. package/scripts/fixtures/nl-routing/corpus.jsonl +17 -0
  846. package/scripts/fleet/host-readiness-sim.sh +198 -0
  847. package/scripts/fleet/host-readiness.sh +218 -0
  848. package/scripts/fleet/node-setup.sh +9 -4
  849. package/scripts/fleet/wsl-node-setup.sh +1 -1
  850. package/scripts/gate-contract-shadow-collector.py +417 -0
  851. package/scripts/gate-contract-shadow-collector.test.py +176 -0
  852. package/scripts/generate-conductor-cell-map.ts +73 -0
  853. package/scripts/generate-mock-scenario-catalog.ts +26 -0
  854. package/scripts/generate-sim-world-device-catalogs.ts +38 -17
  855. package/scripts/generate-ux-sim-device-manual.ts +1 -1
  856. package/scripts/graph-dryrun-baseline.ts +166 -0
  857. package/scripts/heal/run-role.ts +8 -3
  858. package/scripts/hq-repo-maintenance-cycle.ts +24 -0
  859. package/scripts/import-graph-scc.ts +54 -8
  860. package/scripts/install.ps1 +234 -50
  861. package/scripts/install.sh +144 -10
  862. package/scripts/isolation-hardcode-baseline.txt +1 -1
  863. package/scripts/kr-flow-composites.ts +86 -0
  864. package/scripts/land-enqueue.test.sh +18 -4
  865. package/scripts/land-preflight.ts +103 -0
  866. package/scripts/lib/deterministic-env.ts +2 -5
  867. package/scripts/lib/install-test-package.ts +31 -0
  868. package/scripts/lib/install-test-tier.ts +13 -0
  869. package/scripts/lib/next-tui-budget.ts +189 -0
  870. package/scripts/lib/nl-routing-screening.ts +13 -0
  871. package/scripts/lib/tui-runtime-static-closure.ts +59 -0
  872. package/scripts/load/app-serve-burst.ts +203 -0
  873. package/scripts/load/app-serve-live.ts +68 -0
  874. package/scripts/load/members-signup-burst.ts +141 -0
  875. package/scripts/marketing/generate-feature-map.ts +14 -6
  876. package/scripts/measure-goal-grounding-corpus.ts +3 -4
  877. package/scripts/measure-nl-routing-corpus.ts +108 -12
  878. package/scripts/measure-tool-display-lines.ts +1 -1
  879. package/scripts/migrate-omni-market-secrets.ts +98 -0
  880. package/scripts/mission-request-judge.ts +6 -0
  881. package/scripts/morning-report.ts +2 -2
  882. package/scripts/next-tui-budget.ts +113 -0
  883. package/scripts/plugin-only-ratchet-baseline.json +267 -0
  884. package/scripts/plugin-only-ratchet.ts +213 -0
  885. package/scripts/plugins/generate-plugin-json.ts +95 -0
  886. package/scripts/public-leak-baseline.txt +0 -1
  887. package/scripts/qwen-pipeline-bench.ts +3 -7
  888. package/scripts/ratchets/test-interference-patterns.allowlist.txt +2 -22
  889. package/scripts/release-build.ts +5 -1
  890. package/scripts/release-loop/adaptive-gate-heal-adapter.ts +132 -0
  891. package/scripts/release-loop/adaptive-gate-heal.ts +191 -0
  892. package/scripts/release-loop/auto-approve-node.ts +35 -5
  893. package/scripts/release-loop/checklist-gate-node.ts +9 -1
  894. package/scripts/release-loop/contract-test-select.ts +127 -0
  895. package/scripts/release-loop/cut-branch.ts +248 -3
  896. package/scripts/release-loop/docs-node.ts +10 -10
  897. package/scripts/release-loop/emergency-publish-authorization.ts +29 -0
  898. package/scripts/release-loop/emergency-publish-gate-node.ts +129 -0
  899. package/scripts/release-loop/emergency-publish-switch-sim.ts +65 -0
  900. package/scripts/release-loop/emergency-publish-switch.ts +46 -0
  901. package/scripts/release-loop/export-check-node.ts +121 -11
  902. package/scripts/release-loop/export-check-remote.ts +146 -0
  903. package/scripts/release-loop/fixtures/gate-0307-key-diff.json +3293 -0
  904. package/scripts/release-loop/formal-receipt-radius.ts +32 -0
  905. package/scripts/release-loop/gate-api-leaf.ts +19 -0
  906. package/scripts/release-loop/gate-append-recheck-plan-node.ts +27 -0
  907. package/scripts/release-loop/gate-autoheal-sim-evidence.ts +2 -1
  908. package/scripts/release-loop/gate-baseline-isolated.ts +80 -0
  909. package/scripts/release-loop/gate-baseline-manifest.ts +12 -0
  910. package/scripts/release-loop/gate-baseline-receipt.ts +52 -14
  911. package/scripts/release-loop/gate-baseline.ts +14 -0
  912. package/scripts/release-loop/gate-bisect-owner-mail.ts +106 -0
  913. package/scripts/release-loop/gate-bisect-sidecar.ts +159 -0
  914. package/scripts/release-loop/gate-bisect.ts +146 -0
  915. package/scripts/release-loop/gate-closure.ts +771 -28
  916. package/scripts/release-loop/gate-constants.ts +2 -0
  917. package/scripts/release-loop/gate-contract-surfaces.json +150 -0
  918. package/scripts/release-loop/gate-cut-snapshot.ts +67 -0
  919. package/scripts/release-loop/gate-cutover-switch-node.ts +32 -0
  920. package/scripts/release-loop/gate-file-receipt-audit-node.ts +142 -0
  921. package/scripts/release-loop/gate-file-receipts.ts +195 -0
  922. package/scripts/release-loop/gate-git.ts +68 -0
  923. package/scripts/release-loop/gate-image-pin-handshake.ts +57 -0
  924. package/scripts/release-loop/gate-image-pin.ts +242 -3
  925. package/scripts/release-loop/gate-image-repair-node.ts +104 -0
  926. package/scripts/release-loop/gate-image-runtime-identity.ts +41 -0
  927. package/scripts/release-loop/gate-key-diff.ts +138 -0
  928. package/scripts/release-loop/gate-lazy-require-measure.ts +55 -0
  929. package/scripts/release-loop/gate-nightly-audits.ts +11 -0
  930. package/scripts/release-loop/gate-node-cli.ts +17 -0
  931. package/scripts/release-loop/gate-node-sim.ts +68 -16
  932. package/scripts/release-loop/gate-node.ts +5 -5157
  933. package/scripts/release-loop/gate-partial.ts +83 -2
  934. package/scripts/release-loop/gate-radius-live.ts +181 -22
  935. package/scripts/release-loop/gate-radius-shadow.ts +19 -4
  936. package/scripts/release-loop/gate-receipt-hash.ts +147 -0
  937. package/scripts/release-loop/gate-recheck-plan-node.ts +9 -4
  938. package/scripts/release-loop/gate-repair-node.ts +549 -0
  939. package/scripts/release-loop/gate-reuse-identity.ts +48 -0
  940. package/scripts/release-loop/gate-runtime.ts +5958 -0
  941. package/scripts/release-loop/gate-same-run-recheck-node.ts +102 -0
  942. package/scripts/release-loop/gate-shard-artifacts.ts +134 -0
  943. package/scripts/release-loop/gate-shard-dispatch.ts +158 -20
  944. package/scripts/release-loop/gate-shard-load-flaky.ts +84 -0
  945. package/scripts/release-loop/gate-shard-receipt-carry.ts +106 -0
  946. package/scripts/release-loop/gate-shard-receipts.ts +547 -30
  947. package/scripts/release-loop/gate-shard-shell.ts +227 -0
  948. package/scripts/release-loop/gate-skip-by-evidence-node.ts +80 -0
  949. package/scripts/release-loop/gate-stalled-evidence.ts +106 -0
  950. package/scripts/release-loop/gate-test-summary.ts +11 -0
  951. package/scripts/release-loop/gate-train-cas-adapter.ts +56 -0
  952. package/scripts/release-loop/gate-train-file-cas.ts +123 -0
  953. package/scripts/release-loop/gate-train-receipts.ts +24 -18
  954. package/scripts/release-loop/gate-triage-node.ts +427 -51
  955. package/scripts/release-loop/gate-triage-types.ts +51 -0
  956. package/scripts/release-loop/gate-types.ts +320 -0
  957. package/scripts/release-loop/gate-warm-artifacts.ts +48 -2
  958. package/scripts/release-loop/hand-response-node.ts +258 -0
  959. package/scripts/release-loop/import-graph-scc-run.ts +46 -1
  960. package/scripts/release-loop/import-graph-scc.ts +2 -1
  961. package/scripts/release-loop/known-issues-node.ts +2 -1
  962. package/scripts/release-loop/mac-smoke-node.ts +1 -1
  963. package/scripts/release-loop/node-verdict.ts +29 -3
  964. package/scripts/release-loop/preflight.ts +148 -51
  965. package/scripts/release-loop/publish-node.ts +43 -7
  966. package/scripts/release-loop/pwa-build-typecheck.ts +183 -0
  967. package/scripts/release-loop/pwa-formal-update-node.ts +19 -0
  968. package/scripts/release-loop/pwa-formal-update.ts +196 -0
  969. package/scripts/release-loop/pwa-remote.ts +29 -0
  970. package/scripts/release-loop/pwa-scenarios-node.ts +38 -4
  971. package/scripts/release-loop/regression-suite-node.ts +44 -0
  972. package/scripts/release-loop/release-readiness.ts +185 -5
  973. package/scripts/release-loop/remote-worktree-setup.sh +53 -0
  974. package/scripts/release-loop/render-warm-control-manifest.ts +33 -4
  975. package/scripts/release-loop/repair-pr-landed.ts +174 -0
  976. package/scripts/release-loop/resume-cap.ts +1 -1
  977. package/scripts/release-loop/resume-release.ts +302 -176
  978. package/scripts/release-loop/resume-types.ts +29 -0
  979. package/scripts/release-loop/resume.ts +38 -36
  980. package/scripts/release-loop/rla-event-response-scorecard-report.ts +277 -0
  981. package/scripts/release-loop/rolling-main-gate.ts +363 -0
  982. package/scripts/release-loop/sweep-cert.ts +300 -0
  983. package/scripts/release-loop/traffic-event-hook-sim.ts +26 -0
  984. package/scripts/release-loop/traffic-event-hook.ts +383 -0
  985. package/scripts/release-loop/train-verdict.ts +162 -0
  986. package/scripts/release-loop/unattended-release.ts +196 -7
  987. package/scripts/release-loop/version-node.ts +205 -25
  988. package/scripts/replay-phone-pwa-selfheal-trace.ts +16 -0
  989. package/scripts/resource-ledger-url.ts +60 -0
  990. package/scripts/seat-worktree-add.sh +32 -0
  991. package/scripts/signal-digest-photo.ts +1 -1
  992. package/scripts/sim-impact-check.ts +119 -0
  993. package/scripts/sim-impact.ts +413 -0
  994. package/scripts/sim-real-target-worker.ts +19 -0
  995. package/scripts/smoke-higgsfield-app-cli-session.ts +90 -0
  996. package/scripts/test-census/similar-search.ts +382 -0
  997. package/scripts/test-census-similar-search.ts +141 -0
  998. package/scripts/test-census.ts +570 -0
  999. package/scripts/test-deterministic.ts +64 -9
  1000. package/scripts/test-diet/node.ts +1 -1
  1001. package/scripts/tsc-diet-measure.ts +225 -0
  1002. package/scripts/update-cli-spawn-allowlist.ts +46 -0
  1003. package/scripts/update-tui-size-ratchet.ts +10 -0
  1004. package/scripts/ux-sim/fixtures/op-snapshot-1109/gate-tier-lanes.py +170 -0
  1005. package/scripts/ux-sim/fixtures/op-snapshot-1109/gate-tier.py +179 -0
  1006. package/scripts/ux-sim/fixtures/op-snapshot-1109/train-batch-live.py +2881 -0
  1007. package/scripts/ux-sim/fixtures/op-snapshot-1109/train-manager.py +1845 -0
  1008. package/scripts/ux-sim/fixtures/train-gate-tier-1109/README.md +9 -0
  1009. package/scripts/ux-sim/fixtures/train-gate-tier-1109/gate-tier.py +179 -0
  1010. package/scripts/ux-sim/fixtures/train-gate-tier-1109/train-batch-live.py +2881 -0
  1011. package/scripts/ux-sim/fixtures/train-gate-tier-1109/train-memory.py +102 -0
  1012. package/scripts/ux-sim/sim-fake-bin-args-evidence.ts +179 -0
  1013. package/scripts/ux-sim/test-train-edge-operational-replay.py +411 -0
  1014. package/scripts/ux-sim/test-train-retry-file-map.py +71 -0
  1015. package/scripts/ux-sim.ts +54 -3
  1016. package/scripts/validate-graph-instance-view.ts +47 -0
  1017. package/scripts/warm-pool-provider-config.ts +201 -23
  1018. package/skills/omni-crawl/SKILL.md +31 -54
  1019. package/skills/omni-crawl/scripts/main.ts +86 -276
  1020. package/skills/omni-crawl/src/free.ts +1 -6
  1021. package/skills/omni-crawl/src/registry.ts +124 -36
  1022. package/skills/omni-crawl/src/router.ts +42 -85
  1023. package/skills/omni-crawl/src/test-fetch-preload.ts +7 -0
  1024. package/skills/omni-crawl/src/types.ts +5 -2
  1025. package/src/acp/acp-surface-channels.ts +3 -2
  1026. package/src/acp/client.ts +14 -14
  1027. package/src/acp/codex-app-server-client.ts +157 -20
  1028. package/src/acp/codex-elicitation-ask.ts +1 -4
  1029. package/src/acp/core-turn-bridge.ts +3 -2
  1030. package/src/acp/event-router.ts +5 -1
  1031. package/src/acp/fs-roots.ts +1 -1
  1032. package/src/acp/multi-llm-bridge.ts +2 -1
  1033. package/src/acp/server.ts +52 -4
  1034. package/src/acp/turn-runner.ts +1 -1
  1035. package/src/ad-pipeline/fixtures/marketing-studio-video.schema.json +154 -0
  1036. package/src/ad-pipeline/fixtures/seedance-2-0.schema.json +143 -0
  1037. package/src/ad-pipeline/higgsfield-backend.ts +2 -1
  1038. package/src/ad-pipeline/model-contracts.ts +1 -4
  1039. package/src/ad-pipeline/product-video-command.ts +27 -0
  1040. package/src/ad-pipeline/production-contract.ts +6 -0
  1041. package/src/ad-pipeline/production.ts +1 -1
  1042. package/src/ad-pipeline/qc.ts +1 -4
  1043. package/src/ad-pipeline/run.ts +4 -6
  1044. package/src/ad-pipeline/shoot-plan.ts +1 -1
  1045. package/src/agent/agent-list-tool.ts +2 -1
  1046. package/src/agent/agent-output-tool.ts +2 -1
  1047. package/src/agent/agent-stop-tool.ts +2 -1
  1048. package/src/agent/app-deploy-plugin.ts +237 -0
  1049. package/src/agent/autonomous-tools.ts +2 -1
  1050. package/src/agent/coding-core-tools.ts +2 -1
  1051. package/src/agent/loader.ts +2 -1
  1052. package/src/agent/monad-agent-turn.ts +1 -1
  1053. package/src/agent/nest-depth.ts +2 -2
  1054. package/src/agent/runner.ts +10 -8
  1055. package/src/agent/shared-app-tools.ts +8 -4
  1056. package/src/agent/subagent-callable.ts +2 -1
  1057. package/src/agent/terminal-surface.ts +2 -1
  1058. package/src/agent/types.ts +2 -1
  1059. package/src/agent-mission/driver.ts +7 -4
  1060. package/src/agent-substrate/acp-implementer.ts +1 -1
  1061. package/src/agent-substrate/pr-reviewer.ts +3 -0
  1062. package/src/agent-substrate/self-review-cli.ts +79 -11
  1063. package/src/agent-team/team-tools.ts +2 -1
  1064. package/src/approval-modal.ts +14 -4
  1065. package/src/ask-user-question/inline-resolver.ts +2 -1
  1066. package/src/ask-user-question/tool.ts +2 -1
  1067. package/src/auth/setup-link-tokens.fixture.ts +10 -1
  1068. package/src/auth/setup-link-tokens.ts +176 -0
  1069. package/src/auto-research/auto-mode/tool-enter.ts +2 -1
  1070. package/src/auto-research/auto-mode/tool-exit.ts +2 -1
  1071. package/src/auto-research/question-ladder-contract.ts +2 -9
  1072. package/src/auto-research/tools/budget.ts +2 -1
  1073. package/src/auto-research/tools/question-queue.ts +2 -1
  1074. package/src/auto-research/tools/research-plan.ts +2 -1
  1075. package/src/auto-research/tools/termination-check.ts +2 -1
  1076. package/src/autopilot/build/llm-conflict-merge.ts +1 -1
  1077. package/src/autopilot/build/nocturnal-deps.ts +1 -1
  1078. package/src/autopilot/elanous-builtin-runner.ts +3 -2
  1079. package/src/autopilot/gh-rest-fallback.ts +8 -4
  1080. package/src/autopilot/lineage/timeline.ts +1 -1
  1081. package/src/autopilot/llm-control-brain.ts +1 -1
  1082. package/src/autopilot/mission-arc-preflight.ts +7 -2
  1083. package/src/autopilot/mission-briefing-live.ts +1 -1
  1084. package/src/autopilot/mission-budget.ts +1 -1
  1085. package/src/autopilot/mission-codebase-gate.ts +9 -17
  1086. package/src/autopilot/mission-decide-tool.ts +2 -1
  1087. package/src/autopilot/mission-engine.ts +1 -1
  1088. package/src/autopilot/mission-grounding-ladder.ts +17 -329
  1089. package/src/autopilot/mission-history.ts +1 -1
  1090. package/src/autopilot/mission-incident-context.ts +2 -1
  1091. package/src/autopilot/mission-loop-policy.ts +1 -1
  1092. package/src/autopilot/mission-notify.ts +1 -1
  1093. package/src/autopilot/mission-origin.ts +1 -1
  1094. package/src/autopilot/mission-phase-budget.ts +1 -1
  1095. package/src/autopilot/mission-registry.ts +3 -7
  1096. package/src/autopilot/mission-route-decision.ts +1 -1
  1097. package/src/autopilot/mission-se-bridge.ts +2 -1
  1098. package/src/autopilot/mission-tool.ts +2 -1
  1099. package/src/autopilot/mission-trace.ts +1 -1
  1100. package/src/autopilot/pr-manager.ts +134 -10
  1101. package/src/autopilot/reuse-existence-explorer.ts +1 -1
  1102. package/src/autopilot/state-paths.ts +2 -2
  1103. package/src/autopilot/tool-registry.ts +2 -1
  1104. package/src/autopilot/track-agent.ts +1 -1
  1105. package/src/autopilot/track-courier.ts +2 -1
  1106. package/src/background-reasoning/patcher-llm-resolver.ts +1 -1
  1107. package/src/boot/daemon-prompt-turn.ts +8 -2
  1108. package/src/boot/daemon-tools/delegate-agent.ts +3 -2
  1109. package/src/boot/daemon-tools/edit.ts +2 -1
  1110. package/src/boot/daemon-tools/grep.ts +2 -1
  1111. package/src/boot/daemon-tools/index.ts +4 -1
  1112. package/src/boot/daemon-tools/plan.ts +2 -1
  1113. package/src/boot/daemon-tools/pty-shell.ts +2 -1
  1114. package/src/boot/daemon-tools/read.ts +2 -1
  1115. package/src/boot/daemon-tools/self-implement.ts +2 -1
  1116. package/src/boot/daemon-tools/types.ts +6 -1
  1117. package/src/boot/daemon-tools/web-search.ts +2 -1
  1118. package/src/boot/daemon-tools/web-terminal.ts +2 -1
  1119. package/src/boot/daemon-tools/write.ts +2 -1
  1120. package/src/briefing/brief-items.ts +3 -6
  1121. package/src/briefing/claim-key.ts +4 -0
  1122. package/src/budget/llm-cost.ts +6 -11
  1123. package/src/capture/capture-tools.ts +2 -1
  1124. package/src/capture/compare-panes.ts +2 -1
  1125. package/src/capture/watch-pane.ts +2 -1
  1126. package/src/cft/tools/andon-list.ts +2 -1
  1127. package/src/cft/tools/emit-process-health.ts +2 -1
  1128. package/src/cft/tools/escalate-ladder.ts +2 -1
  1129. package/src/cft/tools/escalate-signal.ts +2 -1
  1130. package/src/cft/tools/ishikawa-analyze.ts +2 -1
  1131. package/src/cft/tools/pareto-analyze.ts +2 -1
  1132. package/src/cft/tools/quick-kill-triage.ts +2 -1
  1133. package/src/cft/tools/resolve-escalation.ts +2 -1
  1134. package/src/cft/tools/root-cause-analyze.ts +2 -1
  1135. package/src/cft/tools/run-dmaic.ts +2 -1
  1136. package/src/cft/tools/run-fmea.ts +2 -1
  1137. package/src/cft/tools/run-pdca.ts +2 -1
  1138. package/src/cft/tools/write-a3.ts +2 -1
  1139. package/src/channel-bot-token.ts +1 -1
  1140. package/src/chat/chat-cli.ts +4 -1
  1141. package/src/chat/hud-render.ts +1 -1
  1142. package/src/chat/hud-segments-wire.ts +1 -1
  1143. package/src/chat/index.ts +81 -58
  1144. package/src/chat/pickers/state.ts +31 -4
  1145. package/src/chat/solar-scene5-context.ts +65 -0
  1146. package/src/chat/tool-render/dispatch.ts +12 -15
  1147. package/src/chat/tool-render/types.ts +1 -1
  1148. package/src/cli/agent-cli.ts +127 -12
  1149. package/src/cli/app-cli.ts +108 -2
  1150. package/src/cli/brief-cli.ts +1 -1
  1151. package/src/cli/child-plugin-runtime.ts +62 -0
  1152. package/src/cli/control-cli.ts +153 -13
  1153. package/src/cli/cred-cli.ts +144 -0
  1154. package/src/cli/decisions-cli.ts +1 -1
  1155. package/src/cli/doctor-cli.ts +5 -2
  1156. package/src/cli/doctor-readiness.ts +2 -2
  1157. package/src/cli/guardian-cli.ts +1 -1
  1158. package/src/cli/hooks-cli.ts +1 -1
  1159. package/src/cli/hotspot-start-forecast.ts +57 -0
  1160. package/src/cli/intake-source-cli.ts +1 -1
  1161. package/src/cli/light-entry-route.ts +4 -1
  1162. package/src/cli/llm-cli.ts +44 -0
  1163. package/src/cli/llm-detect-cli.ts +31 -6
  1164. package/src/cli/llm-mode-flag.ts +37 -0
  1165. package/src/cli/logs-cli.ts +5 -2
  1166. package/src/cli/logs-timeline.ts +1 -1
  1167. package/src/cli/machine-apply-from-capture.ts +133 -0
  1168. package/src/cli/machine-capture.ts +356 -0
  1169. package/src/cli/machine-cli.ts +14 -1
  1170. package/src/cli/machine-membership.ts +350 -0
  1171. package/src/cli/machine-setup-apply.ts +176 -0
  1172. package/src/cli/machine-setup-plan.ts +392 -0
  1173. package/src/cli/machine-wsl-diagnosis.ts +342 -0
  1174. package/src/cli/machine-wsl-setup.ts +710 -0
  1175. package/src/cli/mcp-diagnose.ts +2 -2
  1176. package/src/cli/mcp-login.ts +41 -14
  1177. package/src/cli/member-key-token-cli.ts +75 -0
  1178. package/src/cli/mission-config.ts +1 -1
  1179. package/src/cli/msg-cli.ts +94 -14
  1180. package/src/cli/msg-list-cli.ts +2 -2
  1181. package/src/cli/nexus-show.ts +9 -210
  1182. package/src/cli/open-guard.ts +95 -0
  1183. package/src/cli/ops-cli.ts +2 -34
  1184. package/src/cli/ops-status-remote.ts +2 -41
  1185. package/src/cli/pod-cli.ts +1 -1
  1186. package/src/cli/pr-cli.ts +373 -44
  1187. package/src/cli/pr-land-conductor-map.ts +99 -0
  1188. package/src/cli/pr-land-contract-shadow.ts +39 -0
  1189. package/src/cli/pr-land-drift-radar.ts +348 -0
  1190. package/src/cli/pr-land-drift-repair.ts +7 -5
  1191. package/src/cli/pr-land-heavy-remote.ts +32 -13
  1192. package/src/cli/pr-land-overlap-evidence.ts +135 -2
  1193. package/src/cli/pr-land-pod-shadow-job.ts +1 -1
  1194. package/src/cli/pr-land-refusal.ts +9 -0
  1195. package/src/cli/pr-land-remote-git.ts +125 -0
  1196. package/src/cli/provider-cli.ts +4 -10
  1197. package/src/cli/pty-drive-cli.ts +1 -1
  1198. package/src/cli/pwa-show-contract.ts +49 -0
  1199. package/src/cli/pwa-show.ts +4 -24
  1200. package/src/cli/pwa-test.ts +3 -3
  1201. package/src/cli/q-cli.ts +124 -0
  1202. package/src/cli/release-checklist-read-cli.ts +40 -3
  1203. package/src/cli/release-checklist-remote.ts +114 -0
  1204. package/src/cli/release-checklist-write.ts +1 -1
  1205. package/src/cli/release-cli.ts +181 -45
  1206. package/src/cli/release-run-status-cli.ts +135 -0
  1207. package/src/cli/remote-eln-pty.ts +1 -1
  1208. package/src/cli/resource-ledger-cli.ts +61 -1
  1209. package/src/cli/review-carry.ts +82 -0
  1210. package/src/cli/role-cli.ts +1 -1
  1211. package/src/cli/secret-cli.test-helpers.ts +7 -0
  1212. package/src/cli/secret-cli.ts +251 -101
  1213. package/src/cli/self-update.ts +22 -6
  1214. package/src/cli/setup-cli.ts +3 -1
  1215. package/src/cli/setup-keys.ts +91 -4
  1216. package/src/cli/shell-confirmation-policy.ts +45 -0
  1217. package/src/cli/sim-cli.ts +190 -8
  1218. package/src/cli/sim-suggest-cli.ts +34 -0
  1219. package/src/cli/tailscale-serve.ts +2 -2
  1220. package/src/cli/task-launch-supervisor.ts +79 -0
  1221. package/src/cli/tasks-cli.ts +185 -44
  1222. package/src/cli/usage-cli.ts +1 -1
  1223. package/src/cli/voice-nl-switch.ts +2 -1
  1224. package/src/cli/voice-status.ts +2 -1
  1225. package/src/clipboard/image-attachment.ts +21 -0
  1226. package/src/clipboard/paste.ts +28 -0
  1227. package/src/code-edit/apply.ts +1 -1
  1228. package/src/code-edit/plan-tool.ts +2 -1
  1229. package/src/code-edit/tools.ts +2 -1
  1230. package/src/codex/setup.ts +2 -4
  1231. package/src/compact/auto.ts +1 -1
  1232. package/src/conductor/tools/classify-goal.ts +2 -1
  1233. package/src/context-bus/context-now-surfaces.ts +9 -4
  1234. package/src/context-bus/context-now.ts +315 -29
  1235. package/src/context-bus/external-events.ts +22 -9
  1236. package/src/control-plane/member-tokens.ts +38 -11
  1237. package/src/control-plane/remote-primary-candidates.ts +58 -0
  1238. package/src/control-plane/server.ts +12 -0
  1239. package/src/conv-substrate/message-block.ts +11 -0
  1240. package/src/core-turn/child-liveness-heartbeat.ts +4 -2
  1241. package/src/core-turn/run-core-turn.ts +8 -6
  1242. package/src/core-turn/run-goal-loop.ts +2 -1
  1243. package/src/core-turn/types.ts +2 -1
  1244. package/src/crawl-capabilities/contracts.ts +130 -0
  1245. package/src/crawl-capabilities/graph-extract.ts +41 -0
  1246. package/src/crawl-capabilities/graph-registry.ts +66 -0
  1247. package/src/crawl-capabilities/reddit.ts +44 -0
  1248. package/src/crawl-capabilities/scrap-extract.ts +11 -0
  1249. package/src/dashboard/acp-active-model.ts +1 -1
  1250. package/src/dashboard/acp-boot.ts +2 -1
  1251. package/src/dashboard/auto-compact-runtime.ts +1 -1
  1252. package/src/dashboard/browser-chord-runtime.ts +3 -13
  1253. package/src/dashboard/chat/acp-chat.ts +1 -1
  1254. package/src/dashboard/classic-sidetab-mission.ts +2 -1
  1255. package/src/dashboard/classic-tui-dispatch.ts +22 -0
  1256. package/src/dashboard/compact-surface-assembly.ts +0 -2
  1257. package/src/dashboard/compact-surface-dispatch.ts +0 -5
  1258. package/src/dashboard/compact-surface-inventory.ts +0 -1
  1259. package/src/dashboard/compact-surface-runtime.ts +0 -2
  1260. package/src/dashboard/first-screen-band.ts +2 -50
  1261. package/src/dashboard/index.ts +258 -2168
  1262. package/src/dashboard/input/chat-main-acp-dispatch.ts +0 -120
  1263. package/src/dashboard/input/chat-main-interaction-opts.ts +0 -32
  1264. package/src/dashboard/input/chat-main-plain-turn-runtime.ts +0 -14
  1265. package/src/dashboard/input/chat-main-visibility.ts +0 -2
  1266. package/src/dashboard/input/dashboard-default-tool-builders.ts +2 -1
  1267. package/src/dashboard/input/dashboard-plain-turn-stream.ts +7 -97
  1268. package/src/dashboard/input/dashboard-priority-key-route.ts +0 -56
  1269. package/src/dashboard/input/dashboard-view-shortcuts.ts +2 -7
  1270. package/src/dashboard/input/mouse-conversation-popup-runtime.ts +1 -1
  1271. package/src/dashboard/input/mouse-modal-hit-runtime.ts +1 -1
  1272. package/src/dashboard/input/mouse-modal-surface-runtime.ts +1 -1
  1273. package/src/dashboard/input/mouse-mode-switch-runtime.ts +1 -1
  1274. package/src/dashboard/input/mouse-pane-hit-runtime.ts +1 -1
  1275. package/src/dashboard/input/mouse-picker-runtime.ts +2 -2
  1276. package/src/dashboard/input/mouse-status-line.ts +134 -0
  1277. package/src/dashboard/input/mouse-wiring-loader.ts +13 -0
  1278. package/src/dashboard/input/mouse-wiring-types.ts +346 -0
  1279. package/src/dashboard/input/mouse-wiring.ts +33 -897
  1280. package/src/dashboard/input/slash-executor.ts +1 -24
  1281. package/src/dashboard/modals/pane.ts +0 -1
  1282. package/src/dashboard/optional-tool-spec-runtime.ts +5 -36
  1283. package/src/dashboard/panes/nav.ts +1 -1
  1284. package/src/dashboard/plan-board-runtime.ts +1 -4
  1285. package/src/dashboard/plan-mode-toggle-action.ts +2 -4
  1286. package/src/dashboard/plugin-route-adapter.ts +350 -0
  1287. package/src/dashboard/preview-widget-runtime.ts +0 -12
  1288. package/src/dashboard/runtime/approvers.ts +14 -0
  1289. package/src/dashboard/runtime/tui-deploy-confirm-channel.ts +59 -0
  1290. package/src/dashboard/scenario-tools-boot.ts +32 -0
  1291. package/src/dashboard/setup-inline.ts +2 -7
  1292. package/src/dashboard/shell-slash-runtime.ts +0 -1
  1293. package/src/dashboard/slash-runtime/dashboard-handlers.ts +32 -194
  1294. package/src/dashboard/slash-runtime/decide-slash.ts +1 -60
  1295. package/src/dashboard/slash-runtime/model-choices.ts +1 -1
  1296. package/src/dashboard/slash-runtime/shell-slash.ts +0 -6
  1297. package/src/dashboard/tool-catalog-observability.ts +2 -1
  1298. package/src/dashboard/turn-lifecycle-runtime.ts +2 -1
  1299. package/src/dashboard/widget-modal-popup.ts +2 -2
  1300. package/src/debug/log.ts +17 -100
  1301. package/src/debug/secret-redaction.ts +98 -0
  1302. package/src/debug/tui-log-tag.ts +2 -7
  1303. package/src/decisions/decide-slash.ts +60 -0
  1304. package/src/decisions/decision-ledger.ts +84 -10
  1305. package/src/decisions/decision-linear-projection.ts +2 -1
  1306. package/src/decisions/discord-decision-cards.ts +1 -1
  1307. package/src/decisions/telegram-decision-cards.ts +1 -1
  1308. package/src/design/open-design-client.ts +2 -1
  1309. package/src/design/screen-contrast.ts +1 -1
  1310. package/src/discord-agent.ts +1 -1
  1311. package/src/discord-self-message.ts +4 -4
  1312. package/src/discord-slash-wire.ts +1 -1
  1313. package/src/discord-test-runner.ts +2 -1
  1314. package/src/discord-voice-wire.ts +1 -1
  1315. package/src/discord.ts +1 -1
  1316. package/src/dispatch/authored-goal-queue.ts +1 -4
  1317. package/src/dispatch/continuation-turn-runner.ts +3 -2
  1318. package/src/dispatch/dig-goal-armer.ts +1 -1
  1319. package/src/dispatch/replay-goal-armer.ts +1 -1
  1320. package/src/display/hit-target.ts +1 -1
  1321. package/src/display/modal-types-registry.ts +2 -7
  1322. package/src/domains/coo-admin-tool.ts +3 -2
  1323. package/src/domains/core-tools.ts +59 -2
  1324. package/src/domains/cron-match.ts +2 -1
  1325. package/src/domains/dart.ts +3 -2
  1326. package/src/domains/dashboard-data.ts +1 -1
  1327. package/src/domains/dig-engine.ts +3 -2
  1328. package/src/domains/elanous-data-dir.ts +7 -3
  1329. package/src/domains/fact-check.ts +2 -1
  1330. package/src/domains/finance-tools.ts +4 -3
  1331. package/src/domains/finance.ts +1 -1
  1332. package/src/domains/guardian-tick.ts +2 -1
  1333. package/src/domains/kg-consolidate.ts +1 -1
  1334. package/src/domains/kg-extract.ts +3 -2
  1335. package/src/domains/knowledge.ts +10 -0
  1336. package/src/domains/logs-tool.ts +2 -1
  1337. package/src/domains/macro-store.ts +1 -1
  1338. package/src/domains/market-posture-store.ts +13 -28
  1339. package/src/domains/market-quote.ts +1 -1
  1340. package/src/domains/morning-detail.ts +96 -1
  1341. package/src/domains/morning-essential.ts +3 -2
  1342. package/src/domains/morning-report.ts +2 -2
  1343. package/src/domains/morning-synthesis.ts +1 -1
  1344. package/src/domains/opportunity-analysis.ts +1 -1
  1345. package/src/domains/ops-facts-tool.ts +2 -1
  1346. package/src/domains/ops-status-tool.ts +2 -1
  1347. package/src/domains/outbound-alert.ts +2 -1
  1348. package/src/domains/regime-db-path.ts +3 -0
  1349. package/src/domains/regime-store.ts +2 -3
  1350. package/src/domains/release-tool.ts +5 -4
  1351. package/src/domains/retro-report.ts +3 -2
  1352. package/src/domains/schedule-health-report.ts +1 -1
  1353. package/src/domains/schedule-manage-tool.ts +2 -1
  1354. package/src/domains/schedule-registry.ts +1 -1
  1355. package/src/domains/schedule-runner.ts +1 -1
  1356. package/src/domains/schedule-state.ts +2 -1
  1357. package/src/domains/se-build-tool.ts +2 -1
  1358. package/src/domains/sec-13f.ts +1 -1
  1359. package/src/domains/self-awareness-tool.ts +2 -1
  1360. package/src/domains/session-query-tool.ts +2 -1
  1361. package/src/domains/taste-capture.ts +1 -1
  1362. package/src/domains/taste-propose.ts +1 -1
  1363. package/src/domains/taste-sentiment.ts +1 -1
  1364. package/src/domains/telegram-channels.ts +1 -1
  1365. package/src/domains/telegram-kind-route.ts +1 -1
  1366. package/src/domains/trade-decision-tool.ts +2 -1
  1367. package/src/domains/trailing-stops.ts +2 -1
  1368. package/src/domains/us-pulse.ts +3 -2
  1369. package/src/domains/watch-default-scheduler.ts +2 -2
  1370. package/src/domains/weekly-alpha.ts +3 -2
  1371. package/src/drag-session-dashboard-wire.ts +1 -2
  1372. package/src/error-report/report.ts +1 -1
  1373. package/src/esc-abort-gate.ts +19 -1
  1374. package/src/eval-prompt-cli.ts +78 -20
  1375. package/src/execution-history.ts +4 -3
  1376. package/src/expression/a11y.ts +1 -1
  1377. package/src/expression/config/layers.ts +3 -11
  1378. package/src/expression/i18n/types.ts +1 -1
  1379. package/src/feedback/media.ts +10 -14
  1380. package/src/finder/finder-modal.ts +1 -11
  1381. package/src/fleet/cloud-burst-auto.ts +265 -0
  1382. package/src/fleet/cloud-burst-runtime.ts +146 -0
  1383. package/src/git-fs/git-cli.ts +508 -10
  1384. package/src/git-fs/runner.ts +252 -1
  1385. package/src/git-fs/worktree.ts +626 -41
  1386. package/src/goals/slash.ts +0 -2
  1387. package/src/graph-kinds/registry.ts +2 -2
  1388. package/src/graph-runner/arg-open-proposal.ts +171 -0
  1389. package/src/graph-runner/arg-supervisor.ts +281 -0
  1390. package/src/graph-runner/capabilities.ts +243 -0
  1391. package/src/graph-runner/capability-providers/market-data/INVENTORY-1109.md +48 -0
  1392. package/src/graph-runner/capability-providers/market-data/README.md +25 -0
  1393. package/src/graph-runner/capability-providers/market-data/arg-stock-all-providers-sim.ts +83 -0
  1394. package/src/graph-runner/capability-providers/market-data/arg-stock-sim.ts +179 -0
  1395. package/src/graph-runner/capability-providers/market-data/coingecko.ts +20 -0
  1396. package/src/graph-runner/capability-providers/market-data/contract.ts +69 -0
  1397. package/src/graph-runner/capability-providers/market-data/ecos.ts +38 -0
  1398. package/src/graph-runner/capability-providers/market-data/eodhd.ts +56 -0
  1399. package/src/graph-runner/capability-providers/market-data/finnhub.ts +49 -0
  1400. package/src/graph-runner/capability-providers/market-data/fred.ts +28 -0
  1401. package/src/graph-runner/capability-providers/market-data/free-declarations.ts +49 -0
  1402. package/src/graph-runner/capability-providers/market-data/index.ts +14 -0
  1403. package/src/graph-runner/capability-providers/market-data/kis.ts +118 -0
  1404. package/src/graph-runner/capability-providers/market-data/kr-daily-sources.ts +42 -0
  1405. package/src/graph-runner/capability-providers/market-data/krx.ts +54 -0
  1406. package/src/graph-runner/capability-providers/market-data/market-secrets.ts +14 -0
  1407. package/src/graph-runner/capability-providers/market-data/omni-sources.ts +133 -0
  1408. package/src/graph-runner/capability-providers/market-data/registry.ts +85 -0
  1409. package/src/graph-runner/capability-providers/market-data/stock-common.ts +54 -0
  1410. package/src/graph-runner/capability-providers/market-data/toss.ts +124 -0
  1411. package/src/graph-runner/capability-providers/market-data/upbit.ts +20 -0
  1412. package/src/graph-runner/capability-providers/notify.ts +138 -0
  1413. package/src/graph-runner/declared-heal-edges.ts +158 -0
  1414. package/src/graph-runner/graph-approval-card.ts +6 -5
  1415. package/src/graph-runner/graph-cli.ts +93 -6
  1416. package/src/graph-runner/graph-events.ts +202 -0
  1417. package/src/graph-runner/graph-grow-llm.ts +2 -1
  1418. package/src/graph-runner/graph-instance.ts +254 -0
  1419. package/src/graph-runner/graph-manifest-loader.ts +254 -0
  1420. package/src/graph-runner/graph-notify.ts +1 -1
  1421. package/src/graph-runner/graph-subscriptions.ts +112 -0
  1422. package/src/graph-runner/graph-tick.ts +103 -27
  1423. package/src/graph-runner/in-process-registry.ts +14 -0
  1424. package/src/graph-runner/plugin-graph-entry.ts +120 -0
  1425. package/src/graph-runner/provider-context.ts +28 -0
  1426. package/src/graph-runner/release-gate-cutover-policy.ts +10 -0
  1427. package/src/graph-runner/release-graph-manifest.ts +237 -0
  1428. package/src/graph-runner/runner-primitives.ts +16 -0
  1429. package/src/graph-runner/runner-routing.ts +136 -0
  1430. package/src/graph-runner/runner-types.ts +243 -0
  1431. package/src/graph-runner/runner.ts +2393 -334
  1432. package/src/graph-runner/unit-shape.ts +76 -0
  1433. package/src/graph-v2/lower.ts +514 -0
  1434. package/src/graph-v2/n8n-import.ts +105 -0
  1435. package/src/graph-wizard/generate.ts +1 -4
  1436. package/src/graph-wizard/steps.ts +2 -2
  1437. package/src/grok/credential.ts +3 -1
  1438. package/src/grok.ts +1 -1
  1439. package/src/grounding/sources-cli.ts +2 -1
  1440. package/src/guardian/host-lease-policy.ts +21 -0
  1441. package/src/guardian/host-lease.ts +219 -0
  1442. package/src/harness/browser-verify.ts +1 -1
  1443. package/src/harness/dispatch-backpressure.ts +1 -1
  1444. package/src/harness/generic-skill-executor.ts +2 -4
  1445. package/src/harness/grounding/mission-grounding-ladder.ts +346 -0
  1446. package/src/harness/harness-cli-command.ts +1 -53
  1447. package/src/harness/harness-salvage-cli.ts +1 -1
  1448. package/src/harness/harness-substrate-default.ts +6 -2
  1449. package/src/harness/helper-repair.ts +2 -1
  1450. package/src/harness/launch-stamp.ts +2 -1
  1451. package/src/harness/nested-elanous-policy.ts +1 -1
  1452. package/src/harness/pod-memory-policy.ts +188 -0
  1453. package/src/harness/repository-name.ts +2 -1
  1454. package/src/hitl/confirm.ts +3 -0
  1455. package/src/hooks/dispatch.ts +2 -2
  1456. package/src/hooks/receiver.ts +2 -1
  1457. package/src/hq/fence.ts +1 -1
  1458. package/src/hq/hq.ts +25 -1
  1459. package/src/hq/promote.ts +1 -1
  1460. package/src/hq/repo-maintenance-schedule.ts +60 -0
  1461. package/src/hq/repo-maintenance.ts +344 -0
  1462. package/src/hq/seats.ts +34 -20
  1463. package/src/hq/transfer.ts +1 -1
  1464. package/src/import/apply.ts +1 -1
  1465. package/src/index.ts +123 -128
  1466. package/src/input-core/audit-tail.ts +1 -1
  1467. package/src/input-core/slash-filter.ts +32 -0
  1468. package/src/instance/child-scope.ts +2 -1
  1469. package/src/instance/test-write-guard.ts +3 -3
  1470. package/src/instance-identity.ts +2 -2
  1471. package/src/intake-plane/absorb-extract.ts +83 -0
  1472. package/src/intake-plane/adapters/discord-ambient.ts +1 -1
  1473. package/src/intake-plane/adapters/telegram-ambient.ts +1 -1
  1474. package/src/intake-plane/ambient.ts +1 -1
  1475. package/src/intake-plane/core.ts +32 -0
  1476. package/src/intake-plane/discord-seat-work.ts +2 -1
  1477. package/src/intake-plane/event-state.ts +61 -0
  1478. package/src/intake-plane/items.ts +92 -37
  1479. package/src/intake-plane/linear-secretary-runtime.ts +4 -3
  1480. package/src/intake-plane/requirement-funnel.ts +4 -3
  1481. package/src/intake-plane/route.ts +5 -62
  1482. package/src/intake-plane/runtime-callables.ts +1 -1
  1483. package/src/intake-plane/slash.ts +2 -1
  1484. package/src/intake-plane/telegram-seat-work.ts +2 -1
  1485. package/src/intake-plane/wish-benchmark-ledger.ts +91 -11
  1486. package/src/intake-plane/wish-reply.ts +1 -1
  1487. package/src/intelligence-map/model-watch-mission.ts +2 -2
  1488. package/src/intelligence-map/tools/intelligence-map.ts +2 -1
  1489. package/src/intelligence-map/tools/route-to-model.ts +2 -1
  1490. package/src/keybindings.ts +2 -9
  1491. package/src/knowhow/pack.ts +1 -4
  1492. package/src/knowledge/tools/knowledge-query.ts +2 -1
  1493. package/src/knowledge/tools/knowledge-write.ts +2 -1
  1494. package/src/light-cli.ts +5 -0
  1495. package/src/llm/bedrock-provider.ts +2 -2
  1496. package/src/llm/difficulty.ts +2 -1
  1497. package/src/llm/hq-proxy-provider.ts +84 -0
  1498. package/src/llm/judge-layer.ts +2 -1
  1499. package/src/llm/model-defaults.ts +2 -1
  1500. package/src/llm/output-budget.ts +19 -0
  1501. package/src/llm/provider-capabilities.ts +80 -0
  1502. package/src/llm/provider-credentials.ts +44 -3
  1503. package/src/llm/provider-detect.ts +2 -1
  1504. package/src/llm/role-llm-cli.ts +2 -7
  1505. package/src/llm/role-stream.ts +57 -0
  1506. package/src/llm/route-decision.ts +1 -1
  1507. package/src/llm/runtime-model-family.ts +1 -1
  1508. package/src/llm/stream-fallback.ts +38 -0
  1509. package/src/llm/stream-text.ts +8 -0
  1510. package/src/llm/subscription-first.ts +4 -3
  1511. package/src/llm/tool-spec.ts +45 -0
  1512. package/src/llm/usable-llm.ts +2 -1
  1513. package/src/llm/wire/harmony.ts +365 -0
  1514. package/src/llm/zai-coding-plan.ts +1 -1
  1515. package/src/llm.ts +174 -534
  1516. package/src/loops/agent-reply.ts +4 -2
  1517. package/src/loops/budget.ts +1 -1
  1518. package/src/loops/checker-contract.ts +39 -0
  1519. package/src/loops/checker.ts +6 -56
  1520. package/src/loops/fixtures/checker-registry-cycle/checker.js +1 -0
  1521. package/src/loops/fixtures/checker-registry-cycle/helper.js +1 -0
  1522. package/src/loops/fixtures/checker-registry-cycle/registry.js +1 -0
  1523. package/src/loops/fixtures/checker-registry-cycle/schedule-checker.js +1 -0
  1524. package/src/loops/fixtures/checker-registry-cycle/schedule-due.js +1 -0
  1525. package/src/loops/graph-trigger-dispatch-lease.ts +227 -0
  1526. package/src/loops/graph-trigger-dispatch.ts +95 -0
  1527. package/src/loops/msg-address.ts +29 -9
  1528. package/src/loops/msg-wake.ts +299 -45
  1529. package/src/loops/orchestrator/coordinator-shadow.ts +4 -1
  1530. package/src/loops/orchestrator/inbox-once.ts +1 -1
  1531. package/src/loops/orchestrator/inbox.ts +1 -1
  1532. package/src/loops/orchestrator/overlap.ts +53 -12
  1533. package/src/loops/orchestrator/seat-share.ts +1 -1
  1534. package/src/loops/orchestrator/sim-impact-audit.ts +67 -0
  1535. package/src/loops/orchestrator/tick.ts +129 -10
  1536. package/src/loops/registry-contract.ts +39 -0
  1537. package/src/loops/registry.ts +27 -36
  1538. package/src/loops/schedule-due.ts +18 -0
  1539. package/src/loops/seat-registry.ts +72 -0
  1540. package/src/loops/train/decisions.ts +242 -0
  1541. package/src/loops/train/hotspot-radius-ordering.ts +63 -0
  1542. package/src/loops/train/worker-lifecycle.ts +228 -0
  1543. package/src/maturity/bot-command-maturity.ts +1 -1
  1544. package/src/maturity/feature-maturity.ts +15 -49
  1545. package/src/maturity/tui-slash-maturity.ts +3 -5
  1546. package/src/mcp/mcp-oauth.ts +168 -145
  1547. package/src/mcp/server.ts +1 -1
  1548. package/src/memory-intent.ts +13 -0
  1549. package/src/memory.ts +5 -1
  1550. package/src/model-tier/auto-route.ts +2 -2
  1551. package/src/model-tier/llm-tier-map.ts +4 -2
  1552. package/src/model-tier/review-effort.ts +1 -1
  1553. package/src/model-tier/setup-suggest.ts +1 -1
  1554. package/src/model-tier/simple-question-fast-route.ts +24 -0
  1555. package/src/model-tier/tier-resolver.ts +1 -1
  1556. package/src/model-tier/turn-tier.ts +2 -2
  1557. package/src/models/prompts.ts +1 -1
  1558. package/src/mouse-action-recipes.ts +5 -362
  1559. package/src/msg/msg-hook.ts +115 -0
  1560. package/src/msg/msg-post-office.ts +145 -11
  1561. package/src/msg/msg-sse-server.ts +45 -1
  1562. package/src/msg/msg-store.ts +22 -10
  1563. package/src/mss/identity-store.ts +62 -0
  1564. package/src/mss/log-enrich.ts +1 -1
  1565. package/src/mss/logging/diagnostic-sink.ts +90 -0
  1566. package/src/mss/logging/gate-correlation.ts +110 -0
  1567. package/src/mss/logging/horizon-watch.ts +4 -4
  1568. package/src/mss/logging/log-federation.ts +19 -9
  1569. package/src/mss/logging/log-safety-net.ts +7 -7
  1570. package/src/mss/logging/log-store.ts +44 -22
  1571. package/src/mss/logging/sinks/otel-genai-sink.ts +2 -2
  1572. package/src/mss/trace-context.ts +1 -1
  1573. package/src/mss/ulid.ts +36 -0
  1574. package/src/mss/uri/builder.ts +1 -1
  1575. package/src/native-tool-catalog.ts +81 -7
  1576. package/src/nexus/api/app-host-scoped-resolver.ts +11 -0
  1577. package/src/nexus/api/audio-stt.ts +15 -13
  1578. package/src/nexus/api/autopilot-api.ts +1 -68
  1579. package/src/nexus/api/board-api.ts +437 -0
  1580. package/src/nexus/api/briefings-api.ts +108 -0
  1581. package/src/nexus/api/channel-ask-op.ts +3 -38
  1582. package/src/nexus/api/chat-tier-intent.ts +2 -1
  1583. package/src/nexus/api/config-model-tier.ts +2 -6
  1584. package/src/nexus/api/consult-requests.ts +2 -1
  1585. package/src/nexus/api/design-check.ts +1 -1
  1586. package/src/nexus/api/discord-trigger-bot.ts +1 -1
  1587. package/src/nexus/api/event-bus.ts +17 -0
  1588. package/src/nexus/api/events.ts +11 -1
  1589. package/src/nexus/api/field-uploads.ts +73 -0
  1590. package/src/nexus/api/graph-approvals-feed.ts +1 -1
  1591. package/src/nexus/api/graph-route-allowlist.ts +8 -0
  1592. package/src/nexus/api/grid.ts +1 -1
  1593. package/src/nexus/api/grokbot-trigger-bot.ts +1 -1
  1594. package/src/nexus/api/hq-llm-proxy.ts +154 -0
  1595. package/src/nexus/api/http-server.ts +500 -87
  1596. package/src/nexus/api/ingest-token.ts +3 -46
  1597. package/src/nexus/api/intake-route.ts +1 -1
  1598. package/src/nexus/api/llm-rotation.ts +2 -11
  1599. package/src/nexus/api/mcp-widget-call-route.ts +22 -20
  1600. package/src/nexus/api/member-event-store.ts +205 -0
  1601. package/src/nexus/api/merge-approvals.ts +1 -1
  1602. package/src/nexus/api/meta-api.ts +12 -1
  1603. package/src/nexus/api/next-fluent-wiring.ts +1 -1
  1604. package/src/nexus/api/openrouter-oauth.ts +184 -0
  1605. package/src/nexus/api/operator.ts +1 -1
  1606. package/src/nexus/api/ops-api.ts +154 -9
  1607. package/src/nexus/api/ops-seats-sources.ts +1 -1
  1608. package/src/nexus/api/outbound-report.ts +1 -1
  1609. package/src/nexus/api/private-file-lock.ts +61 -0
  1610. package/src/nexus/api/public-routes.ts +89 -2
  1611. package/src/nexus/api/resource-ledger.ts +10 -5
  1612. package/src/nexus/api/scraps.ts +154 -0
  1613. package/src/nexus/api/seat-requests.ts +1 -1
  1614. package/src/nexus/api/setup-child-llm.ts +8 -18
  1615. package/src/nexus/api/setup-codex-login.ts +15 -3
  1616. package/src/nexus/api/setup-credentials.fixture.ts +12 -0
  1617. package/src/nexus/api/setup-credentials.ts +144 -0
  1618. package/src/nexus/api/setup-obsidian-skills.ts +2 -1
  1619. package/src/nexus/api/static-app.ts +8 -7
  1620. package/src/nexus/api/telegram-trigger-bot.ts +5 -3
  1621. package/src/nexus/api/tls-edge.ts +23 -0
  1622. package/src/nexus/api/ux-sim-devices.ts +1 -4
  1623. package/src/nexus/api/worktrees.ts +1 -1
  1624. package/src/nexus/apps/app-actions.ts +361 -0
  1625. package/src/nexus/apps/app-auth.ts +204 -0
  1626. package/src/nexus/apps/app-contract.ts +151 -11
  1627. package/src/nexus/apps/app-credential-capability.ts +14 -0
  1628. package/src/nexus/apps/app-db-backup.ts +443 -0
  1629. package/src/nexus/apps/app-db.ts +984 -0
  1630. package/src/nexus/apps/app-deployment-owner.ts +28 -0
  1631. package/src/nexus/apps/app-github-mirror.ts +224 -0
  1632. package/src/nexus/apps/app-host.ts +456 -25
  1633. package/src/nexus/apps/app-jobs.ts +347 -0
  1634. package/src/nexus/apps/app-lifecycle-ledger.race-worker.ts +12 -0
  1635. package/src/nexus/apps/app-lifecycle-ledger.ts +245 -0
  1636. package/src/nexus/apps/app-promote.ts +116 -0
  1637. package/src/nexus/apps/app-publish.ts +231 -0
  1638. package/src/nexus/apps/app-realtime.ts +224 -0
  1639. package/src/nexus/apps/app-screen-render.ts +207 -0
  1640. package/src/nexus/apps/app-simulate.ts +5 -5
  1641. package/src/nexus/apps/app-simulation-db.ts +113 -0
  1642. package/src/nexus/apps/app-simulation-route.ts +104 -0
  1643. package/src/nexus/apps/app-simulation-runner.ts +392 -0
  1644. package/src/nexus/apps/app-simulation.ts +103 -0
  1645. package/src/nexus/apps/app-site-deploy.ts +321 -0
  1646. package/src/nexus/apps/app-source-snapshot.ts +385 -0
  1647. package/src/nexus/apps/app-storage-route.ts +127 -0
  1648. package/src/nexus/apps/app-storage.ts +416 -0
  1649. package/src/nexus/apps/app-upload.ts +49 -0
  1650. package/src/nexus/apps/console-address.ts +41 -0
  1651. package/src/nexus/apps/drive-contract.ts +59 -0
  1652. package/src/nexus/apps/funnel-observe.ts +194 -0
  1653. package/src/nexus/apps/higgsfield-backend.ts +200 -0
  1654. package/src/nexus/apps/higgsfield-cli-session.ts +157 -0
  1655. package/src/nexus/apps/made-with-badge.ts +216 -0
  1656. package/src/nexus/boot/register-mcp-clients.ts +1 -1
  1657. package/src/nexus/config/secrets/app-secret-ledger.ts +241 -0
  1658. package/src/nexus/config/secrets/cred-health.ts +58 -0
  1659. package/src/nexus/config/secrets/cred-owner.ts +116 -0
  1660. package/src/nexus/config/secrets/cred-slot-schema.ts +27 -0
  1661. package/src/nexus/config/secrets/cred-slot-wizard.ts +37 -0
  1662. package/src/nexus/config/secrets/cred-slots.ts +53 -0
  1663. package/src/nexus/config/secrets/file-backend.ts +239 -10
  1664. package/src/nexus/config/secrets/index.ts +80 -2
  1665. package/src/nexus/config/secrets/registry.ts +71 -5
  1666. package/src/nexus/config/secrets/types.ts +8 -0
  1667. package/src/nexus/config/secrets.ts +8 -0
  1668. package/src/nexus/config/types.ts +4 -0
  1669. package/src/nexus/daemon-endpoint.ts +2 -1
  1670. package/src/nexus/index.ts +449 -21
  1671. package/src/nexus/members/google-signin.ts +157 -0
  1672. package/src/nexus/members/member-store.ts +658 -0
  1673. package/src/nexus/members/member-token-api.ts +66 -0
  1674. package/src/nexus/members/members-api.ts +531 -0
  1675. package/src/nexus/outbound/format.ts +2 -0
  1676. package/src/nexus/outbound/grokbot-adapter.ts +1 -1
  1677. package/src/nexus/outbound/router.ts +7 -4
  1678. package/src/nexus/pwa-resolution.ts +116 -0
  1679. package/src/nexus/setup-status.ts +67 -2
  1680. package/src/nexus/state/state.ts +8 -0
  1681. package/src/nexus/static-dir-resolve.ts +1 -1
  1682. package/src/notifications/bell-modal.ts +2 -0
  1683. package/src/notifications/outbound-boot.ts +1 -1
  1684. package/src/notifications/store.ts +2 -1
  1685. package/src/oauth/codex-account-store.ts +27 -15
  1686. package/src/oauth/codex-browser-login.ts +16 -0
  1687. package/src/oauth/codex-owner-mirror.ts +44 -10
  1688. package/src/oauth/codex.ts +1 -0
  1689. package/src/oauth/provider-access-mirror.ts +46 -0
  1690. package/src/oauth/store.ts +102 -10
  1691. package/src/obsidian/vault-write-guard.ts +1 -1
  1692. package/src/onboarding/first-chat-gate.ts +1 -1
  1693. package/src/onboarding/first-run.ts +2 -4
  1694. package/src/onboarding/help/llm.md +13 -0
  1695. package/src/onboarding/key-setup.ts +1 -1
  1696. package/src/onboarding/summary.ts +1 -1
  1697. package/src/onboarding/web-first.ts +13 -8
  1698. package/src/onboarding.ts +2 -5
  1699. package/src/ops/overview-cache.ts +4 -3
  1700. package/src/org/seat-budget.ts +2 -1
  1701. package/src/org/stall-escalation.ts +1 -1
  1702. package/src/plan-mode/tool-enter.ts +5 -3
  1703. package/src/plan-mode/tool-exit.ts +3 -2
  1704. package/src/platform/host-id.ts +1 -1
  1705. package/src/plugin-hooks/events.ts +2 -1
  1706. package/src/plugin-missions/llm-tools.ts +2 -1
  1707. package/src/plugin-routes/llm-tools.ts +2 -1
  1708. package/src/plugin-workflows/llm-tools.ts +2 -1
  1709. package/src/plugins/core/declared-handler.ts +51 -0
  1710. package/src/plugins/core/host.ts +221 -146
  1711. package/src/plugins/core/manifest.ts +61 -1
  1712. package/src/plugins/core/plugin-yaml.ts +157 -0
  1713. package/src/plugins/core/route-adapter.ts +215 -0
  1714. package/src/plugins/core/trust-store.ts +4 -3
  1715. package/src/plugins/core/types.ts +7 -0
  1716. package/src/plugins/install/plugin-install.ts +30 -3
  1717. package/src/plugins/maker/plugin-maker.ts +1 -1
  1718. package/src/policy/llm-policy.ts +2 -1
  1719. package/src/pr-tool/census.ts +32 -10
  1720. package/src/primitives/guards.ts +48 -0
  1721. package/src/prompt-cache/anthropic.ts +2 -1
  1722. package/src/prompt-cache/types.ts +2 -0
  1723. package/src/prompt-enhance/enhance.ts +8 -4
  1724. package/src/prompt-library/chat-conciseness.ts +1 -1
  1725. package/src/prompt-library/registry.ts +1 -1
  1726. package/src/provider-summary.ts +2 -1
  1727. package/src/pty-shell/herdr-prompt.ts +62 -18
  1728. package/src/pty-shell/pty-control-ipc.ts +5 -2
  1729. package/src/registry/discovery/config.ts +2 -1
  1730. package/src/relay/app-kill-switch.ts +310 -0
  1731. package/src/relay/channel.ts +5 -0
  1732. package/src/relay/host-connector.ts +577 -0
  1733. package/src/relay/mux.ts +43 -12
  1734. package/src/relay/relay-cli.ts +131 -6
  1735. package/src/relay/relay-member-verifier.ts +36 -0
  1736. package/src/relay/relay-server.ts +590 -20
  1737. package/src/release-loop/auto-start.ts +32 -7
  1738. package/src/release-loop/checklist.ts +25 -9
  1739. package/src/release-loop/cloud-vm-adapter.ts +64 -0
  1740. package/src/release-loop/feature-store.ts +1 -1
  1741. package/src/release-loop/gate-host-reservation.ts +71 -2
  1742. package/src/release-loop/gate-shard-ledger.ts +195 -6
  1743. package/src/release-loop/gate-shards.ts +85 -15
  1744. package/src/release-loop/gate-timeout-owner-cell.ts +266 -0
  1745. package/src/release-loop/graph-event-adapters.ts +172 -0
  1746. package/src/release-loop/incident-policy-handler.ts +78 -0
  1747. package/src/release-loop/knowhow/pwa-host-heal.ts +92 -0
  1748. package/src/release-loop/light-rc.ts +160 -15
  1749. package/src/release-loop/macrophage-heal-node.ts +309 -0
  1750. package/src/release-loop/macrophage-heal.ts +238 -0
  1751. package/src/release-loop/macrophage-incident-recovery.ts +132 -0
  1752. package/src/release-loop/macrophage-repair-ladder.ts +246 -0
  1753. package/src/release-loop/macrophage-safe-cleanup.ts +150 -0
  1754. package/src/release-loop/merged-pr-checklist.ts +151 -1
  1755. package/src/release-loop/op-channel.ts +117 -0
  1756. package/src/release-loop/placement-ceo-load.ts +72 -0
  1757. package/src/release-loop/placement-config.ts +28 -0
  1758. package/src/release-loop/placement.ts +10 -85
  1759. package/src/release-loop/rehearsal-cloud-host.ts +190 -0
  1760. package/src/release-loop/rehearsal.ts +183 -35
  1761. package/src/release-loop/release-failure-attribution.ts +410 -0
  1762. package/src/release-loop/release-note.ts +1 -4
  1763. package/src/release-loop/release-schedule.ts +6 -3
  1764. package/src/release-loop/rubric.ts +1 -1
  1765. package/src/release-loop/stage-mail.ts +16 -11
  1766. package/src/release-loop/waiver-events.ts +328 -0
  1767. package/src/repl/agent-turn.ts +3 -2
  1768. package/src/repl/dispatch-meta.ts +2 -6
  1769. package/src/repl/index.ts +218 -16
  1770. package/src/repl/next-tui-message-blocks.ts +71 -0
  1771. package/src/repl/shell-snapshot-router.ts +55 -0
  1772. package/src/research/axis-fanout.ts +13 -13
  1773. package/src/research/bloom-exemplars.ts +1 -3
  1774. package/src/research/edge-decision.ts +1 -4
  1775. package/src/research/lenses/working-backwards.ts +2 -9
  1776. package/src/research/plugin-discovery.ts +1 -1
  1777. package/src/research-bridge/crawl.ts +5 -0
  1778. package/src/research-bridge/index.ts +5 -0
  1779. package/src/resource-ledger/guardian-host-lease-heartbeat-worker.ts +27 -0
  1780. package/src/resource-ledger/guardian-reconcile.ts +4 -1
  1781. package/src/resource-ledger/host-readiness.ts +27 -0
  1782. package/src/resource-ledger/resource-ledger.ts +336 -6
  1783. package/src/retro/daily.ts +1 -1
  1784. package/src/roles/machine-name.ts +3 -8
  1785. package/src/roles/machine-profile-contract.ts +8 -0
  1786. package/src/roles/machine-profile.ts +22 -4
  1787. package/src/roles/role-lease-read.ts +1 -0
  1788. package/src/runtime-identity.ts +68 -0
  1789. package/src/scenarios/catalog.ts +1 -4
  1790. package/src/scenarios/shorthand.ts +1 -4
  1791. package/src/seat-dispatch/ceo-intent.ts +1 -1
  1792. package/src/seat-loop/seat-loop.ts +2 -1
  1793. package/src/seat-loop/seat-report.ts +2 -1
  1794. package/src/self-dev/app-scratch-bootstrap.ts +47 -0
  1795. package/src/self-dev/decompose.ts +2 -5
  1796. package/src/self-dev/dev-cli.ts +18 -4
  1797. package/src/self-dev/dev-pipeline.ts +29 -4
  1798. package/src/self-dev/draft-sweep.ts +1 -2
  1799. package/src/self-dev/entrance-baseline.ts +0 -52
  1800. package/src/self-dev/review-provider-fallback.ts +1 -1
  1801. package/src/self-dev/run-record-mirror.ts +1 -1
  1802. package/src/self-dev/run-store-checkpoint.ts +53 -0
  1803. package/src/self-dev/run-store-contract.ts +56 -0
  1804. package/src/self-dev/run-store.ts +11 -110
  1805. package/src/self-dev/run-supervisor.ts +131 -1
  1806. package/src/self-dev/run-types.ts +4 -1
  1807. package/src/self-dev/self-orchestrate-runtime.ts +3 -2
  1808. package/src/self-dev/shard-run.ts +29 -7
  1809. package/src/self-dev/sim-impact-wording.ts +51 -0
  1810. package/src/self-dev/supervisor-verdict-edges.ts +1 -0
  1811. package/src/self-implement/auto-open-pr.ts +1 -1
  1812. package/src/self-implement/budget-gate.ts +2 -6
  1813. package/src/self-implement/child-llm-preference.ts +1 -7
  1814. package/src/self-implement/context-capsule-store.ts +1 -4
  1815. package/src/self-implement/execution-clarification.ts +1 -1
  1816. package/src/self-implement/follow-up-goals.ts +1 -1
  1817. package/src/self-implement/gate-cli.ts +251 -4
  1818. package/src/self-implement/gate-receipt-registry.ts +95 -4
  1819. package/src/self-implement/gate-remote.ts +23 -6
  1820. package/src/self-implement/goal-author-clarification.ts +2 -4
  1821. package/src/self-implement/goal-author-cli.ts +1 -1
  1822. package/src/self-implement/goal-author-decompose.ts +10 -13
  1823. package/src/self-implement/goal-author.ts +38 -20
  1824. package/src/self-implement/goal-documents-dir.ts +2 -1
  1825. package/src/self-implement/graph-authority.ts +1 -1
  1826. package/src/self-implement/graph-overlay-condition.ts +1 -1
  1827. package/src/self-implement/graph-unit-flatten.ts +8 -1
  1828. package/src/self-implement/graph-unit-resolver.ts +64 -16
  1829. package/src/self-implement/graph-yaml.ts +404 -17
  1830. package/src/self-implement/headless-elanous-driver.ts +21 -6
  1831. package/src/self-implement/heal-intake.ts +1 -1
  1832. package/src/self-implement/host-regate.ts +7 -3
  1833. package/src/self-implement/l8-merge-queue.ts +75 -1
  1834. package/src/self-implement/merge-train.ts +294 -28
  1835. package/src/self-implement/observe-only.ts +1 -1
  1836. package/src/self-implement/orchestrator.ts +1 -1
  1837. package/src/self-implement/pod-warm-pool-profile.ts +64 -5
  1838. package/src/self-implement/run-checkpoint.ts +2 -2
  1839. package/src/self-implement/run-ledger-archive.ts +252 -0
  1840. package/src/self-implement/run-ledger-compact.ts +6 -248
  1841. package/src/self-implement/run-ledger-paths.ts +27 -0
  1842. package/src/self-implement/run-ledger.ts +4 -19
  1843. package/src/self-implement/seams.ts +2 -1
  1844. package/src/self-implement/self-implement-cli.ts +1 -1
  1845. package/src/self-implement/self-implement-runtime.ts +3 -2
  1846. package/src/self-implement/stop-autoheal.ts +12 -2
  1847. package/src/self-implement/train-gate-receipt.ts +6 -2
  1848. package/src/session/channel-op-reply-route.ts +12 -0
  1849. package/src/session/chat.ts +50 -14
  1850. package/src/session/compact-session.ts +1 -1
  1851. package/src/session/index.ts +3 -0
  1852. package/src/session/request-size-guard.ts +2 -1
  1853. package/src/session/search-index.ts +16 -4
  1854. package/src/session/session-context.ts +3 -1
  1855. package/src/session-runtime/index.ts +16 -7
  1856. package/src/session-runtime/tier-flip.ts +70 -24
  1857. package/src/setup/cred-import-scan.ts +307 -0
  1858. package/src/setup/llm-env-detect.ts +1 -1
  1859. package/src/setup/service-key-catalog.ts +13 -6
  1860. package/src/setup/service-keys.ts +5 -3
  1861. package/src/shell-runner/index.ts +0 -2
  1862. package/src/sidetab-core/model.ts +2 -1
  1863. package/src/signal/lifecycle-record.ts +1 -8
  1864. package/src/sim-world-device-catalog-history.json +3747 -0
  1865. package/src/skills/connect.ts +2 -1
  1866. package/src/skills/runner.ts +35 -215
  1867. package/src/skills/shared-agent-skill-roots.ts +0 -3
  1868. package/src/skills/skill-manifest.ts +211 -0
  1869. package/src/skills/tools/acp-session.ts +3 -2
  1870. package/src/skills/tools/agent-handoff.ts +2 -1
  1871. package/src/skills/tools/agent-reply.ts +2 -1
  1872. package/src/skills/tools/agent-room.ts +2 -1
  1873. package/src/skills/tools/agent.ts +2 -1
  1874. package/src/skills/tools/announce-completion.ts +2 -1
  1875. package/src/skills/tools/api-call.ts +2 -1
  1876. package/src/skills/tools/ast-grep.ts +2 -1
  1877. package/src/skills/tools/browser-iphone.ts +2 -1
  1878. package/src/skills/tools/budget.ts +2 -1
  1879. package/src/skills/tools/capture-inject.ts +2 -1
  1880. package/src/skills/tools/capture-source.ts +2 -1
  1881. package/src/skills/tools/context.ts +2 -1
  1882. package/src/skills/tools/control.ts +2 -1
  1883. package/src/skills/tools/dashboard-config.ts +2 -1
  1884. package/src/skills/tools/dashboard-slash.ts +2 -1
  1885. package/src/skills/tools/dashboard-state.ts +2 -1
  1886. package/src/skills/tools/dashboard-view.ts +5 -16
  1887. package/src/skills/tools/dashboard-widget.ts +2 -1
  1888. package/src/skills/tools/dev-harness.ts +2 -1
  1889. package/src/skills/tools/edit.ts +2 -1
  1890. package/src/skills/tools/glob.ts +2 -1
  1891. package/src/skills/tools/grep.ts +3 -2
  1892. package/src/skills/tools/index.ts +2 -1
  1893. package/src/skills/tools/input-policy.ts +2 -1
  1894. package/src/skills/tools/kr-flow.ts +2 -1
  1895. package/src/skills/tools/lane-handoff.ts +2 -1
  1896. package/src/skills/tools/list-dir.ts +2 -1
  1897. package/src/skills/tools/llm-install.ts +2 -1
  1898. package/src/skills/tools/llm-manager.ts +2 -1
  1899. package/src/skills/tools/lsp/index.ts +3 -2
  1900. package/src/skills/tools/lsp/pool.ts +1 -1
  1901. package/src/skills/tools/lsp/server-registry.ts +2 -2
  1902. package/src/skills/tools/market-quote.ts +2 -1
  1903. package/src/skills/tools/mermaid-syntax.ts +2 -1
  1904. package/src/skills/tools/mermaid.ts +2 -1
  1905. package/src/skills/tools/msg-ask.ts +2 -1
  1906. package/src/skills/tools/omni-search.ts +2 -1
  1907. package/src/skills/tools/ops-ledger.ts +2 -1
  1908. package/src/skills/tools/persistent-grounding.ts +2 -1
  1909. package/src/skills/tools/phone-adb.ts +497 -0
  1910. package/src/skills/tools/pty.ts +2 -1
  1911. package/src/skills/tools/read.ts +2 -1
  1912. package/src/skills/tools/relay-shell.ts +2 -1
  1913. package/src/skills/tools/route.ts +2 -1
  1914. package/src/skills/tools/run-tests.ts +2 -1
  1915. package/src/skills/tools/schedule-wakeup.ts +2 -3
  1916. package/src/skills/tools/set-hint.ts +2 -1
  1917. package/src/skills/tools/shell-runner.ts +2 -1
  1918. package/src/skills/tools/shell.ts +3 -2
  1919. package/src/skills/tools/solve-mission.ts +2 -1
  1920. package/src/skills/tools/spawn-coding-agent-headless.ts +2 -1
  1921. package/src/skills/tools/terminal-matrix.ts +2 -1
  1922. package/src/skills/tools/terminal-modal-inject.ts +2 -1
  1923. package/src/skills/tools/terminal-modal.ts +2 -1
  1924. package/src/skills/tools/theme-control.ts +2 -1
  1925. package/src/skills/tools/tool-search-route.ts +5 -3
  1926. package/src/skills/tools/tool-search-spec.ts +4 -2
  1927. package/src/skills/tools/tool-search.ts +96 -3
  1928. package/src/skills/tools/tty-snapshot.ts +2 -1
  1929. package/src/skills/tools/web-search.ts +2 -1
  1930. package/src/skills/tools/webfetch.ts +2 -1
  1931. package/src/skills/tools/widget-inspector.ts +2 -1
  1932. package/src/skills/tools/write.ts +2 -1
  1933. package/src/skills/tools/youtube-transcript.ts +2 -1
  1934. package/src/state/bridges/index.ts +0 -2
  1935. package/src/state/bridges/plugin-host.ts +60 -29
  1936. package/src/state/index.ts +0 -1
  1937. package/src/status/bar.ts +0 -43
  1938. package/src/status/popups.ts +2 -3
  1939. package/src/status/status-provider-info.ts +2 -1
  1940. package/src/steward/directive.ts +1 -1
  1941. package/src/steward/rejudge-tick.ts +1 -1
  1942. package/src/steward/triage.ts +1 -1
  1943. package/src/storage/file-lock.ts +6 -3
  1944. package/src/storage/object-store.ts +47 -4
  1945. package/src/storage/s3.ts +1 -1
  1946. package/src/surface/llm-tools.ts +4 -3
  1947. package/src/task-agent/entrance-shadow.ts +1 -4
  1948. package/src/task-agent/map-reduce.ts +103 -12
  1949. package/src/task-agent/map-run-ledger.ts +113 -0
  1950. package/src/task-agent/parent-host.ts +37 -4
  1951. package/src/task-agent/rejudge-on-head.ts +1 -1
  1952. package/src/task-agent/task-hand.ts +1 -1
  1953. package/src/task-agent/task-parent-role-llm.ts +2 -1
  1954. package/src/task-orchestrator/boot.ts +1 -1
  1955. package/src/task-orchestrator/external-policy.ts +1 -1
  1956. package/src/task-orchestrator/runtimes/create.ts +2 -1
  1957. package/src/task-orchestrator/runtimes/decompose.ts +2 -1
  1958. package/src/task-orchestrator/runtimes/dispatch.ts +2 -1
  1959. package/src/task-orchestrator/runtimes/get.ts +2 -1
  1960. package/src/task-orchestrator/runtimes/kill.ts +2 -1
  1961. package/src/task-orchestrator/runtimes/list.ts +2 -1
  1962. package/src/task-orchestrator/runtimes/update.ts +2 -1
  1963. package/src/task-orchestrator/surfaces/pod-command-job.ts +265 -26
  1964. package/src/task-orchestrator/surfaces/pod-config-snapshot.ts +1 -1
  1965. package/src/task-orchestrator/surfaces/pod-gate-deps.ts +19 -2
  1966. package/src/task-orchestrator/surfaces/pod-gate-volume-ref.ts +308 -0
  1967. package/src/task-orchestrator/surfaces/pod-host-acp-review.ts +1 -1
  1968. package/src/task-orchestrator/surfaces/pod-image-source.ts +18 -3
  1969. package/src/task-orchestrator/surfaces/pod-install-slots.ts +110 -0
  1970. package/src/task-orchestrator/surfaces/pod-lease.ts +6 -1
  1971. package/src/task-orchestrator/surfaces/pod-pool.ts +170 -36
  1972. package/src/task-orchestrator/surfaces/pod-si-warm-host.ts +18 -3
  1973. package/src/task-orchestrator/surfaces/pod-si-warm-provider.ts +90 -11
  1974. package/src/task-orchestrator/surfaces/pod-si-warm-runner.ts +10 -1
  1975. package/src/task-orchestrator/surfaces/pod-source-receive.ts +41 -17
  1976. package/src/task-orchestrator/surfaces/pod-warm-provenance.ts +79 -0
  1977. package/src/task-orchestrator/surfaces/pod-warm-switch.ts +176 -5
  1978. package/src/task-orchestrator/surfaces/pod-warm-worker-pod.ts +25 -13
  1979. package/src/task-orchestrator/surfaces/pod-warm-worker-protocol.ts +10 -0
  1980. package/src/task-orchestrator/surfaces/pod-warm-worker-provider.ts +702 -37
  1981. package/src/task-orchestrator/surfaces/pod-warm-worker-runtime.ts +21 -1
  1982. package/src/task-orchestrator/surfaces/self-implement-pod.ts +40 -15
  1983. package/src/task-orchestrator/surfaces/warm-host-probe.ts +31 -0
  1984. package/src/task-orchestrator/tox-loop.ts +1 -1
  1985. package/src/telegram-agent.ts +1 -1
  1986. package/src/telegram-away-command.ts +6 -5
  1987. package/src/telegram-commands.ts +45 -2
  1988. package/src/telegram-project-command.ts +1 -1
  1989. package/src/telegram-report.ts +9 -2
  1990. package/src/telegram-run.ts +1 -1
  1991. package/src/telegram-test-runner.ts +2 -1
  1992. package/src/telegram.ts +80 -17
  1993. package/src/test-utils/temp-dir-cleanup.ts +45 -0
  1994. package/src/time/calendar.ts +70 -0
  1995. package/src/time/clock.ts +21 -0
  1996. package/src/time/format-core.ts +44 -0
  1997. package/src/time/format.ts +7 -227
  1998. package/src/time/time-zone.ts +95 -0
  1999. package/src/tool-router/index.ts +311 -0
  2000. package/src/tool-runtime/artifact-runtimes.ts +2 -1
  2001. package/src/tool-runtime/aside-selection-runtime.ts +2 -1
  2002. package/src/tool-runtime/bash-approval.ts +14 -0
  2003. package/src/tool-runtime/bash-runtime.ts +44 -0
  2004. package/src/tool-runtime/browser-runtime.ts +2 -1
  2005. package/src/tool-runtime/display-control-runtimes.ts +4 -3
  2006. package/src/tool-runtime/elanous-asana-runtimes.ts +2 -1
  2007. package/src/tool-runtime/elanous-autopilot-launch-runtime.ts +3 -2
  2008. package/src/tool-runtime/elanous-control-runtimes.ts +2 -1
  2009. package/src/tool-runtime/elanous-fs-list-runtime.ts +2 -1
  2010. package/src/tool-runtime/elanous-fs-read-runtime.ts +2 -1
  2011. package/src/tool-runtime/elanous-linear-issue-runtime.ts +3 -2
  2012. package/src/tool-runtime/elanous-linear-secretary-runtime.ts +2 -1
  2013. package/src/tool-runtime/elanous-obsidian-info-runtime.ts +2 -1
  2014. package/src/tool-runtime/elanous-obsidian-search-runtime.ts +2 -1
  2015. package/src/tool-runtime/elanous-showroom-broadcast-runtime.ts +2 -1
  2016. package/src/tool-runtime/elanous-skills-list-runtime.ts +2 -1
  2017. package/src/tool-runtime/elanous-task-submit-runtime.ts +2 -1
  2018. package/src/tool-runtime/elanous-ux-sim-devices-runtime.ts +2 -1
  2019. package/src/tool-runtime/find-repo-runtime.ts +2 -1
  2020. package/src/tool-runtime/git-commit-runtime.ts +2 -1
  2021. package/src/tool-runtime/git-pr-runtime.ts +2 -1
  2022. package/src/tool-runtime/git-worktree-runtimes.ts +2 -1
  2023. package/src/tool-runtime/goal-author-runtime.ts +2 -1
  2024. package/src/tool-runtime/graph-mcp-runtimes.ts +2 -1
  2025. package/src/tool-runtime/mcp-proxy-bootstrap.ts +2 -1
  2026. package/src/tool-runtime/mirror-hints.ts +2 -1
  2027. package/src/tool-runtime/pane-runtimes.ts +2 -1
  2028. package/src/tool-runtime/persistent-grounding-runtime.ts +2 -1
  2029. package/src/tool-runtime/pty-recording-runtimes.ts +2 -1
  2030. package/src/tool-runtime/recording-runtimes.ts +2 -1
  2031. package/src/tool-runtime/ref-consult-runtime.ts +2 -1
  2032. package/src/tool-runtime/refs-gc-runtime.ts +2 -1
  2033. package/src/tool-runtime/self-cognition-catalog.ts +1 -0
  2034. package/src/tool-runtime/self-cognition-runtimes.ts +2 -1
  2035. package/src/tool-runtime/set-working-dir-runtime.ts +2 -1
  2036. package/src/tool-runtime/skill-exec-runtime.ts +3 -2
  2037. package/src/tool-runtime/sync-repo-runtime.ts +2 -1
  2038. package/src/tool-runtime/tool-search-runtime.ts +7 -3
  2039. package/src/tool-runtime/truncation-store.ts +1 -1
  2040. package/src/tool-runtime/types.ts +8 -1
  2041. package/src/tool-runtime/undo-turn-runtime.ts +2 -1
  2042. package/src/tool-runtime/web-terminal-live-camera.ts +2 -1
  2043. package/src/tool-runtime/web-terminal-runtimes.ts +2 -1
  2044. package/src/tool-runtime/web-terminal-screenshot.ts +2 -1
  2045. package/src/tui/branches/app/index.ts +125 -0
  2046. package/src/tui/branches/context.ts +102 -0
  2047. package/src/tui/branches/decide.ts +11 -0
  2048. package/src/tui/branches/first-screen.ts +20 -0
  2049. package/src/tui/branches/harness.ts +32 -0
  2050. package/src/tui/branches/memory.ts +9 -0
  2051. package/src/tui/branches/now.ts +25 -0
  2052. package/src/tui/branches/plugin-wizard.ts +149 -0
  2053. package/src/tui/branches/sidetab/mission.ts +298 -0
  2054. package/src/tui/branches/sidetab/route.ts +54 -0
  2055. package/src/tui/branches/status.ts +75 -0
  2056. package/src/tui/branches/term/route.ts +7 -0
  2057. package/src/tui/chat/background-job-status.ts +36 -1
  2058. package/src/tui/chat/execution-badge.ts +1 -1
  2059. package/src/tui/chat/log-view.ts +137 -17
  2060. package/src/tui/chat/message-block-view.ts +115 -0
  2061. package/src/tui/core/agents.ts +87 -0
  2062. package/src/tui/core/input.ts +70 -0
  2063. package/src/tui/core/message-block-raw-ref.ts +53 -0
  2064. package/src/tui/core/message-block-session.ts +33 -0
  2065. package/src/tui/core/queue.ts +67 -0
  2066. package/src/tui/core/registry.ts +426 -0
  2067. package/src/tui/core/render.ts +307 -0
  2068. package/src/tui/core/screen-paint-cache.ts +41 -0
  2069. package/src/tui/core/turn.ts +126 -0
  2070. package/src/tui/entry.ts +1107 -363
  2071. package/src/tui/inline-choice.ts +163 -47
  2072. package/src/tui/input/composer.ts +51 -26
  2073. package/src/tui/input/inline-panel.ts +30 -0
  2074. package/src/tui/input/pickers.ts +16 -218
  2075. package/src/tui/input/slash-complete.ts +27 -0
  2076. package/src/tui/mission-watch.ts +41 -0
  2077. package/src/tui/persistent-user-memory.ts +53 -0
  2078. package/src/tui/sidetab/attach.ts +20 -266
  2079. package/src/tui/sidetab/herdr-portal.ts +7 -10
  2080. package/src/tui/sidetab/remote.ts +1 -1
  2081. package/src/tui/size-contract.ratchet.json +4 -0
  2082. package/src/tui/slash/compact.ts +1 -1
  2083. package/src/tui/slash/mission.ts +546 -0
  2084. package/src/tui/slash/model.ts +49 -0
  2085. package/src/tui/slash/new-session.ts +4 -3
  2086. package/src/tui/slash/term/contracts.ts +273 -0
  2087. package/src/tui/slash/term/handlers.ts +477 -0
  2088. package/src/tui/slash/term.ts +15 -646
  2089. package/src/tui-client/first-screen-guidance.ts +61 -0
  2090. package/src/tui-client/local-chat-turn.ts +221 -18
  2091. package/src/tui-client/mini-board-feed.ts +125 -0
  2092. package/src/tui-client/mini-board-projection.ts +173 -0
  2093. package/src/tui-client/next-shell-approval.ts +130 -0
  2094. package/src/tui-client/next-wakeup.ts +7 -1
  2095. package/src/tui-client/nexus-board-adapter.ts +179 -0
  2096. package/src/tui-render-cache.ts +1 -1
  2097. package/src/tui-terminal-contract.ts +54 -0
  2098. package/src/tui.ts +4 -58
  2099. package/src/ui/chrome/sidebar-shell-presentation.ts +0 -17
  2100. package/src/ui/context-menu-host.ts +1 -2
  2101. package/src/ui/context-menu-presenter.ts +3 -231
  2102. package/src/ui/declarative/builder.ts +2 -16
  2103. package/src/ui/declarative/builtin-view-catalog.ts +0 -22
  2104. package/src/ui/declarative/decode.ts +1 -4
  2105. package/src/ui/declarative/encode-specs.ts +52 -0
  2106. package/src/ui/declarative/encode.ts +8 -42
  2107. package/src/ui/declarative/index.ts +0 -2
  2108. package/src/ui/declarative/presets.ts +0 -23
  2109. package/src/ui/declarative/spec.ts +1 -4
  2110. package/src/ui/drag-machine.ts +1 -2
  2111. package/src/ui/modal-adapter.ts +1 -1
  2112. package/src/ui/view.ts +2 -2
  2113. package/src/ui/widgets/context-menu.ts +1 -1
  2114. package/src/ui/widgets/dialog.ts +1 -1
  2115. package/src/ui/widgets/file-dialog.ts +1 -1
  2116. package/src/ui/widgets/permission-prompt.ts +1 -1
  2117. package/src/ui/widgets/request-user-input-overlay.ts +1 -1
  2118. package/src/ui/widgets/slash-menu.ts +1 -1
  2119. package/src/user-config/chat.ts +316 -0
  2120. package/src/user-config/orchestrator.ts +70 -0
  2121. package/src/user-config/read.ts +103 -0
  2122. package/src/user-config/reader.ts +11 -0
  2123. package/src/user-config/schema.ts +178 -0
  2124. package/src/user-config/shell.ts +8 -0
  2125. package/src/user-config/sparse-config.ts +57 -0
  2126. package/src/user-config/types.ts +1796 -0
  2127. package/src/user-config/write.ts +451 -0
  2128. package/src/user-config.ts +169 -3110
  2129. package/src/user-intent/logger.ts +1 -1
  2130. package/src/ux/ux-config.ts +1 -1
  2131. package/src/ux-sim/absorb-v2-runGraph-sim.ts +634 -0
  2132. package/src/ux-sim/app-contract-secret-entropy.ts +164 -0
  2133. package/src/ux-sim/app-kill-switch-world.ts +69 -0
  2134. package/src/ux-sim/app-scratch-bootstrap.ts +59 -0
  2135. package/src/ux-sim/app-upgrade-path-world.ts +109 -0
  2136. package/src/ux-sim/arg-macro-canvas-sim.ts +145 -0
  2137. package/src/ux-sim/author-reviewer-precheck-device.ts +1 -1
  2138. package/src/ux-sim/census-oracle-axis-world.ts +37 -0
  2139. package/src/ux-sim/chain-land.ts +26 -4
  2140. package/src/ux-sim/classic-tui-seat-scenarios.ts +87 -5
  2141. package/src/ux-sim/cli-config-audit-device.ts +2 -2
  2142. package/src/ux-sim/device-catalog-snapshot-fragments.ts +83 -0
  2143. package/src/ux-sim/device-fidelity.ts +35 -5
  2144. package/src/ux-sim/edge-creator-nightly.ts +611 -0
  2145. package/src/ux-sim/edge-creator.ts +796 -0
  2146. package/src/ux-sim/fake-absorb-ingest.ts +60 -0
  2147. package/src/ux-sim/fake-adb-phone-world.ts +99 -0
  2148. package/src/ux-sim/fake-agent-hook-host.ts +58 -0
  2149. package/src/ux-sim/fake-android-client.ts +111 -0
  2150. package/src/ux-sim/fake-app-auth.ts +12 -11
  2151. package/src/ux-sim/fake-app-db-backup-world.ts +65 -0
  2152. package/src/ux-sim/fake-app-db-world.ts +200 -0
  2153. package/src/ux-sim/fake-app-drive-world.ts +258 -0
  2154. package/src/ux-sim/fake-app-failures.ts +63 -0
  2155. package/src/ux-sim/fake-app-host.ts +51 -3
  2156. package/src/ux-sim/fake-app-source-concurrent-writer.ts +16 -0
  2157. package/src/ux-sim/fake-app-source-world.ts +59 -0
  2158. package/src/ux-sim/fake-app-storage.ts +1 -1
  2159. package/src/ux-sim/fake-bin-args-sim.ts +136 -0
  2160. package/src/ux-sim/fake-bin-install-helper.mjs +1 -1
  2161. package/src/ux-sim/fake-bin.ts +111 -87
  2162. package/src/ux-sim/fake-clock.ts +8 -0
  2163. package/src/ux-sim/fake-cloud-billing-world.ts +518 -0
  2164. package/src/ux-sim/fake-cloud-vm.ts +2 -0
  2165. package/src/ux-sim/fake-cred.ts +78 -0
  2166. package/src/ux-sim/fake-data-guard-boundary.ts +111 -0
  2167. package/src/ux-sim/fake-dns-cert.ts +58 -5
  2168. package/src/ux-sim/fake-feeds.ts +189 -0
  2169. package/src/ux-sim/fake-fetch.ts +47 -4
  2170. package/src/ux-sim/fake-gh.ts +41 -2
  2171. package/src/ux-sim/fake-google-drive-world.ts +81 -0
  2172. package/src/ux-sim/fake-google-oauth.ts +88 -0
  2173. package/src/ux-sim/fake-herdr.ts +39 -0
  2174. package/src/ux-sim/fake-higgsfield.ts +13 -0
  2175. package/src/ux-sim/fake-kubectl.ts +7 -0
  2176. package/src/ux-sim/fake-land-queue.ts +39 -8
  2177. package/src/ux-sim/fake-llm.ts +468 -13
  2178. package/src/ux-sim/fake-market-feed.ts +114 -0
  2179. package/src/ux-sim/fake-member-oidc-world.ts +92 -0
  2180. package/src/ux-sim/fake-mobile-toolchain.ts +72 -0
  2181. package/src/ux-sim/fake-nexus-board-server.ts +68 -0
  2182. package/src/ux-sim/fake-nexus-plugin-wizard.ts +47 -0
  2183. package/src/ux-sim/fake-ps.ts +10 -0
  2184. package/src/ux-sim/fake-relay-world.ts +513 -0
  2185. package/src/ux-sim/fake-telegram-outbound.ts +71 -0
  2186. package/src/ux-sim/fake-temp-cleanup.ts +96 -0
  2187. package/src/ux-sim/fault-pod-codex-503.ts +61 -41
  2188. package/src/ux-sim/fixtures/kaist-child-artifacts/bad-search/search.html +1 -0
  2189. package/src/ux-sim/fixtures/kaist-child-artifacts/home/index.html +1 -0
  2190. package/src/ux-sim/fixtures/kaist-child-artifacts/search/search/index.html +1 -0
  2191. package/src/ux-sim/fixtures/task-launch-entry.mjs +14 -0
  2192. package/src/ux-sim/fixtures/train-manager-decision-v1.json +66 -0
  2193. package/src/ux-sim/flutter-deploy-journey.ts +111 -0
  2194. package/src/ux-sim/gate-closure-lazy-require-sim.ts +102 -0
  2195. package/src/ux-sim/gate-image-layered-delta-sim.ts +93 -0
  2196. package/src/ux-sim/gate-image-pin-handshake-sim.ts +147 -0
  2197. package/src/ux-sim/gate-image-preflight-runtime-identity-flow-sim.ts +270 -0
  2198. package/src/ux-sim/gate-image-preflight-runtime-identity-sim.ts +61 -0
  2199. package/src/ux-sim/gate-receipt-file-closure-cas.ts +183 -0
  2200. package/src/ux-sim/gate-repair-multi-file-sim.ts +132 -0
  2201. package/src/ux-sim/gate-roster-second-pool.ts +220 -0
  2202. package/src/ux-sim/gate-shard-host-reroute.ts +14 -3
  2203. package/src/ux-sim/gate-steady-state-proof-sim.ts +76 -0
  2204. package/src/ux-sim/gcp-architect-expand-fake-world.ts +133 -0
  2205. package/src/ux-sim/git-push-timeout-partial-outcome-remote-verify.ts +45 -0
  2206. package/src/ux-sim/graph-design-sim.ts +260 -0
  2207. package/src/ux-sim/graph-diff-apply.ts +169 -0
  2208. package/src/ux-sim/graph-event-entry-world.ts +71 -0
  2209. package/src/ux-sim/graph-placement-lease-world.ts +109 -0
  2210. package/src/ux-sim/graph-resume-any-entry.ts +134 -0
  2211. package/src/ux-sim/graph-run-lifecycle-world.ts +99 -0
  2212. package/src/ux-sim/graph-trigger-hook-device.ts +146 -0
  2213. package/src/ux-sim/hotspot-file-lease-world.ts +16 -0
  2214. package/src/ux-sim/in-process-cli-539-file-adoption-sim.ts +124 -0
  2215. package/src/ux-sim/in-process-cli.ts +254 -23
  2216. package/src/ux-sim/install-consent-device.ts +8 -5
  2217. package/src/ux-sim/install-one-liner-failsafe-device.ts +157 -0
  2218. package/src/ux-sim/interaction.ts +36 -2
  2219. package/src/ux-sim/ios-chat-edge-adapter.ts +147 -0
  2220. package/src/ux-sim/light-rc-long-run-device.ts +44 -0
  2221. package/src/ux-sim/log-volume-device.ts +41 -0
  2222. package/src/ux-sim/mapreduce-multihost-sim.ts +158 -0
  2223. package/src/ux-sim/mini-board-card.ts +95 -0
  2224. package/src/ux-sim/mock-scenario-catalog.ts +100 -8
  2225. package/src/ux-sim/mock-seat-pty-sequence.ts +9 -4
  2226. package/src/ux-sim/multi-actor-world.ts +206 -0
  2227. package/src/ux-sim/multi-tenant-relay-world.ts +531 -0
  2228. package/src/ux-sim/network-sandbox.ts +31 -0
  2229. package/src/ux-sim/next-tui-core-input.ts +65 -0
  2230. package/src/ux-sim/next-tui-plugin-wizard-world.ts +27 -0
  2231. package/src/ux-sim/next-tui-route-device.ts +20 -0
  2232. package/src/ux-sim/next-tui-seat-scenarios.ts +366 -64
  2233. package/src/ux-sim/nl-scenario.ts +56 -0
  2234. package/src/ux-sim/outbound-guard-sim.ts +82 -0
  2235. package/src/ux-sim/phone-pwa-selfheal.ts +163 -0
  2236. package/src/ux-sim/plugin-release-observe-route-world.ts +92 -0
  2237. package/src/ux-sim/plugin-yaml-gen-world.ts +62 -0
  2238. package/src/ux-sim/pod-federation-sim.ts +196 -0
  2239. package/src/ux-sim/pod-phase-prewarm-sim.ts +12 -0
  2240. package/src/ux-sim/pod-phase-prewarm.ts +36 -0
  2241. package/src/ux-sim/pod-reuse-match-by-kind-sim.ts +56 -0
  2242. package/src/ux-sim/pod-reuse-shared-fake-boundary.ts +69 -0
  2243. package/src/ux-sim/pod-reuse-world.ts +300 -0
  2244. package/src/ux-sim/pr-land-drift-autorepair-device.ts +58 -0
  2245. package/src/ux-sim/pr-land-drift-gate-device.ts +14 -0
  2246. package/src/ux-sim/public-auth-provider-cloud-vm-sim.ts +111 -0
  2247. package/src/ux-sim/pwa-provenance-badge-world.ts +25 -0
  2248. package/src/ux-sim/pwa-retained-routes-world.ts +25 -0
  2249. package/src/ux-sim/pwa-static-swap.ts +28 -0
  2250. package/src/ux-sim/readiness-countdown.ts +332 -0
  2251. package/src/ux-sim/real-target-sandbox.ts +209 -0
  2252. package/src/ux-sim/release-day-0307-replay.ts +529 -0
  2253. package/src/ux-sim/release-event-trace.ts +79 -0
  2254. package/src/ux-sim/release-publish-devices.ts +43 -0
  2255. package/src/ux-sim/release-same-version-run-adoption-sim.ts +186 -0
  2256. package/src/ux-sim/release-sim-rig-seat-guard-child.ts +57 -0
  2257. package/src/ux-sim/release-sim-rig.ts +1780 -121
  2258. package/src/ux-sim/repo-maintenance.ts +142 -0
  2259. package/src/ux-sim/rla-context-release-status-arrival-event.ts +107 -0
  2260. package/src/ux-sim/rla-event-response-scorecard.ts +275 -0
  2261. package/src/ux-sim/rla-macrophage-heal-timeout-stale-output-sim.ts +41 -0
  2262. package/src/ux-sim/scenarios/rla-sim-vocab-node-edge.yaml +23 -0
  2263. package/src/ux-sim/sim-coverage.ts +19 -1
  2264. package/src/ux-sim/sim-receipt.ts +185 -0
  2265. package/src/ux-sim/smart-merge-world.ts +693 -0
  2266. package/src/ux-sim/ta-land-count-dispatcher-sim.ts +93 -0
  2267. package/src/ux-sim/task-orchestrator-surfaces-self-implement-pod-device.ts +1 -1
  2268. package/src/ux-sim/temp-git-remote.ts +25 -2
  2269. package/src/ux-sim/tool-router-world.ts +137 -0
  2270. package/src/ux-sim/train-manager-decision-sim.ts +6 -0
  2271. package/src/ux-sim/train-manager-world.ts +188 -0
  2272. package/src/ux-sim/user-config-default-sparse-sim.ts +68 -0
  2273. package/src/ux-sim/user-config-tui-diet-sim.ts +71 -0
  2274. package/src/ux-sim/warm-pool-declare-path-sim.ts +19 -0
  2275. package/src/ux-sim/warm-pool-reuse-sim.ts +53 -16
  2276. package/src/ux-sim/warm-pool-reuse-switch-sim.ts +111 -4
  2277. package/src/ux-sim/warm-si-reuse-sim.ts +127 -31
  2278. package/src/ux-sim/worktree-deps-shared-store.ts +45 -0
  2279. package/src/ux-sim/world-chaos-runtime.ts +55 -19
  2280. package/src/ux-sim/world-host-chaos.ts +185 -5
  2281. package/src/ux-sim/world-regression-suite.ts +197 -0
  2282. package/src/ux-sim/world-schema.ts +32 -12
  2283. package/src/ux-sim/world-store.ts +7 -2
  2284. package/src/ux-sim/world-watch.ts +95 -0
  2285. package/src/ux-sim/world.ts +1157 -35
  2286. package/src/version/packed-revision.json +1 -1
  2287. package/src/video-pipeline/vflow-reference.ts +1 -2
  2288. package/src/views/config.ts +0 -24
  2289. package/src/views/product-compact-mode.ts +0 -6
  2290. package/src/voice/channel-adapters/discord-voice-channel-adapter.ts +2 -5
  2291. package/src/voice/channel-adapters/discord-voice-channel-commands.ts +1 -1
  2292. package/src/voice/channel-adapters/discord-voice-channel-harness.ts +1 -1
  2293. package/src/voice/voice-streaming-stt-singleton.ts +1 -1
  2294. package/src/voice/voice-tts-singleton.ts +1 -1
  2295. package/src/widget-routing/pane-to-widget.ts +2 -3
  2296. package/src/widget-routing/widget-dispatcher.ts +1 -2
  2297. package/src/widgets/host.ts +2 -3
  2298. package/src/widgets/mini-board.ts +72 -0
  2299. package/src/widgets/types.ts +1 -1
  2300. package/src/workflow-runtime/daemon.ts +11 -0
  2301. package/src/workflow-runtime/executor.ts +1 -3
  2302. package/src/workflow-runtime/parser.ts +3 -2
  2303. package/src/workflow-runtime/schema.ts +1 -4
  2304. package/src/workflow-runtime/triggers/scheduler.ts +1 -1
  2305. package/src/workflow-runtime/triggers/webhook-source.ts +12 -0
  2306. package/src/workspace-types.ts +0 -1
  2307. package/templates/event-landing-editorial/DESIGN.md +12 -0
  2308. package/templates/flutter-app-lecture-scrap/README.md +32 -0
  2309. package/templates/flutter-app-lecture-scrap/android/app/build.gradle.kts +79 -0
  2310. package/templates/flutter-app-lecture-scrap/android/app/src/debug/AndroidManifest.xml +7 -0
  2311. package/templates/flutter-app-lecture-scrap/android/app/src/main/AndroidManifest.xml +46 -0
  2312. package/templates/flutter-app-lecture-scrap/android/app/src/main/kotlin/ai/elanous/lecture_scrap/MainActivity.kt +5 -0
  2313. package/templates/flutter-app-lecture-scrap/android/app/src/main/res/drawable/launch_background.xml +12 -0
  2314. package/templates/flutter-app-lecture-scrap/android/app/src/main/res/drawable-v21/launch_background.xml +12 -0
  2315. package/templates/flutter-app-lecture-scrap/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  2316. package/templates/flutter-app-lecture-scrap/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  2317. package/templates/flutter-app-lecture-scrap/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  2318. package/templates/flutter-app-lecture-scrap/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  2319. package/templates/flutter-app-lecture-scrap/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  2320. package/templates/flutter-app-lecture-scrap/android/app/src/main/res/values/styles.xml +18 -0
  2321. package/templates/flutter-app-lecture-scrap/android/app/src/main/res/values-night/styles.xml +18 -0
  2322. package/templates/flutter-app-lecture-scrap/android/app/src/profile/AndroidManifest.xml +7 -0
  2323. package/templates/flutter-app-lecture-scrap/android/build.gradle.kts +24 -0
  2324. package/templates/flutter-app-lecture-scrap/android/gradle/wrapper/gradle-wrapper.properties +5 -0
  2325. package/templates/flutter-app-lecture-scrap/android/gradle.properties +6 -0
  2326. package/templates/flutter-app-lecture-scrap/android/settings.gradle.kts +26 -0
  2327. package/templates/flutter-app-lecture-scrap/app.yaml +60 -0
  2328. package/templates/flutter-app-lecture-scrap/lib/main.dart +392 -0
  2329. package/templates/flutter-app-lecture-scrap/out/index.html +7 -0
  2330. package/templates/flutter-app-lecture-scrap/pubspec.lock +348 -0
  2331. package/templates/flutter-app-lecture-scrap/pubspec.yaml +14 -0
  2332. package/templates/flutter-app-translator/README.md +41 -0
  2333. package/templates/flutter-app-translator/lib/main.dart +602 -0
  2334. package/templates/flutter-app-translator/lib/recording_cleanup.dart +8 -0
  2335. package/templates/flutter-app-translator/lib/session_epoch.dart +22 -0
  2336. package/templates/flutter-app-translator/pubspec.yaml +24 -0
  2337. package/templates/flutter-app-translator/test/session_lifecycle_test.dart +168 -0
  2338. package/templates/flutter-app-voice-note/README.md +34 -0
  2339. package/templates/flutter-app-voice-note/android/app/build.gradle.kts +85 -0
  2340. package/templates/flutter-app-voice-note/android/app/src/debug/AndroidManifest.xml +7 -0
  2341. package/templates/flutter-app-voice-note/android/app/src/main/AndroidManifest.xml +59 -0
  2342. package/templates/flutter-app-voice-note/android/app/src/main/kotlin/com/example/flutter_app_voice_note/MainActivity.kt +5 -0
  2343. package/templates/flutter-app-voice-note/android/app/src/main/res/drawable/launch_background.xml +12 -0
  2344. package/templates/flutter-app-voice-note/android/app/src/main/res/drawable-v21/launch_background.xml +12 -0
  2345. package/templates/flutter-app-voice-note/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  2346. package/templates/flutter-app-voice-note/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  2347. package/templates/flutter-app-voice-note/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  2348. package/templates/flutter-app-voice-note/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  2349. package/templates/flutter-app-voice-note/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  2350. package/templates/flutter-app-voice-note/android/app/src/main/res/values/styles.xml +18 -0
  2351. package/templates/flutter-app-voice-note/android/app/src/main/res/values-night/styles.xml +18 -0
  2352. package/templates/flutter-app-voice-note/android/app/src/profile/AndroidManifest.xml +7 -0
  2353. package/templates/flutter-app-voice-note/android/build.gradle.kts +24 -0
  2354. package/templates/flutter-app-voice-note/android/gradle/wrapper/gradle-wrapper.properties +5 -0
  2355. package/templates/flutter-app-voice-note/android/gradle.properties +6 -0
  2356. package/templates/flutter-app-voice-note/android/settings.gradle.kts +26 -0
  2357. package/templates/flutter-app-voice-note/app.yaml +18 -0
  2358. package/templates/flutter-app-voice-note/ios/Flutter/AppFrameworkInfo.plist +24 -0
  2359. package/templates/flutter-app-voice-note/ios/Flutter/Debug.xcconfig +1 -0
  2360. package/templates/flutter-app-voice-note/ios/Flutter/Release.xcconfig +1 -0
  2361. package/templates/flutter-app-voice-note/ios/Runner/AppDelegate.swift +16 -0
  2362. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +122 -0
  2363. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png +0 -0
  2364. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png +0 -0
  2365. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png +0 -0
  2366. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png +0 -0
  2367. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png +0 -0
  2368. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png +0 -0
  2369. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png +0 -0
  2370. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png +0 -0
  2371. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png +0 -0
  2372. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png +0 -0
  2373. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png +0 -0
  2374. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png +0 -0
  2375. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png +0 -0
  2376. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png +0 -0
  2377. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png +0 -0
  2378. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +23 -0
  2379. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png +0 -0
  2380. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png +0 -0
  2381. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png +0 -0
  2382. package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md +5 -0
  2383. package/templates/flutter-app-voice-note/ios/Runner/Base.lproj/LaunchScreen.storyboard +37 -0
  2384. package/templates/flutter-app-voice-note/ios/Runner/Base.lproj/Main.storyboard +26 -0
  2385. package/templates/flutter-app-voice-note/ios/Runner/Info.plist +83 -0
  2386. package/templates/flutter-app-voice-note/ios/Runner/Runner-Bridging-Header.h +1 -0
  2387. package/templates/flutter-app-voice-note/ios/Runner/SceneDelegate.swift +6 -0
  2388. package/templates/flutter-app-voice-note/ios/Runner.xcodeproj/project.pbxproj +647 -0
  2389. package/templates/flutter-app-voice-note/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  2390. package/templates/flutter-app-voice-note/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  2391. package/templates/flutter-app-voice-note/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +8 -0
  2392. package/templates/flutter-app-voice-note/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +119 -0
  2393. package/templates/flutter-app-voice-note/ios/Runner.xcworkspace/contents.xcworkspacedata +7 -0
  2394. package/templates/flutter-app-voice-note/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  2395. package/templates/flutter-app-voice-note/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +8 -0
  2396. package/templates/flutter-app-voice-note/ios/RunnerTests/RunnerTests.swift +12 -0
  2397. package/templates/flutter-app-voice-note/lib/main.dart +765 -0
  2398. package/templates/flutter-app-voice-note/lib/voice_note_service.dart +341 -0
  2399. package/templates/flutter-app-voice-note/out/index.html +11 -0
  2400. package/templates/flutter-app-voice-note/pubspec.lock +777 -0
  2401. package/templates/flutter-app-voice-note/pubspec.yaml +24 -0
  2402. package/templates/flutter-app-voice-note/test/voice_note_service_test.dart +559 -0
  2403. package/templates/next-app-lecture-scrap/app/layout.jsx +3 -0
  2404. package/templates/next-app-lecture-scrap/app/notes/new/page.jsx +12 -0
  2405. package/templates/next-app-lecture-scrap/app/page.jsx +9 -0
  2406. package/templates/next-app-lecture-scrap/app/search/page.jsx +10 -0
  2407. package/templates/next-app-lecture-scrap/app.yaml +88 -0
  2408. package/templates/next-app-lecture-scrap/next.config.mjs +1 -0
  2409. package/templates/next-app-lecture-scrap/package.json +20 -0
  2410. package/templates/next-app-shop-studio/app/layout.tsx +15 -0
  2411. package/templates/next-app-shop-studio/app/page.tsx +32 -0
  2412. package/templates/next-app-shop-studio/app.yaml +90 -0
  2413. package/templates/next-app-shop-studio/next.config.ts +8 -0
  2414. package/templates/next-app-shop-studio/package.json +20 -0
  2415. package/templates/next-app-translator/app/layout.tsx +15 -0
  2416. package/templates/next-app-translator/app/page.tsx +16 -0
  2417. package/templates/next-app-translator/app.yaml +69 -0
  2418. package/templates/next-app-translator/next.config.ts +8 -0
  2419. package/templates/next-app-translator/package.json +21 -0
  2420. package/templates/next-app-voice-note/app.yaml +99 -0
  2421. package/templates/next-app-voice-note/package.json +22 -0
  2422. package/apps/pwa/out/404/index.html +0 -1
  2423. package/apps/pwa/out/404.html +0 -1
  2424. package/apps/pwa/out/_next/static/chunks/01af03c4.71e22e1e1aca813e.js +0 -18
  2425. package/apps/pwa/out/_next/static/chunks/0e3e9261.84afa98360d3b889.js +0 -1
  2426. package/apps/pwa/out/_next/static/chunks/1163.de587836684ae0e8.js +0 -74
  2427. package/apps/pwa/out/_next/static/chunks/124-5c8fb000f2fef6fd.js +0 -1
  2428. package/apps/pwa/out/_next/static/chunks/147.48bf376824f7df0a.js +0 -8
  2429. package/apps/pwa/out/_next/static/chunks/1623-0cd4aabb94e3fc0d.js +0 -1
  2430. package/apps/pwa/out/_next/static/chunks/1689-5ee3c3dd16ab8667.js +0 -1
  2431. package/apps/pwa/out/_next/static/chunks/1783.708de9a0182ac571.js +0 -41
  2432. package/apps/pwa/out/_next/static/chunks/1807-778f3031dc089a09.js +0 -1
  2433. package/apps/pwa/out/_next/static/chunks/1911-bc30f2d39d2b318e.js +0 -25
  2434. package/apps/pwa/out/_next/static/chunks/1968.4f77d6f940c26d94.js +0 -1
  2435. package/apps/pwa/out/_next/static/chunks/1985.ab97a36d1b3a9458.js +0 -36
  2436. package/apps/pwa/out/_next/static/chunks/2169.709268f6190a67e4.js +0 -1
  2437. package/apps/pwa/out/_next/static/chunks/2215.90b2a595c9880580.js +0 -1
  2438. package/apps/pwa/out/_next/static/chunks/2233.061c80f2a79abb24.js +0 -1
  2439. package/apps/pwa/out/_next/static/chunks/2466.ff652b24ae9dee2a.js +0 -32
  2440. package/apps/pwa/out/_next/static/chunks/2541-70d25b112ae1960d.js +0 -1
  2441. package/apps/pwa/out/_next/static/chunks/2556-14a3c1858511d4b2.js +0 -1
  2442. package/apps/pwa/out/_next/static/chunks/259.ff45e655e5e41a4d.js +0 -193
  2443. package/apps/pwa/out/_next/static/chunks/2592.cc0b9dc547aca123.js +0 -104
  2444. package/apps/pwa/out/_next/static/chunks/2708-f51dd5bc56aed2a7.js +0 -1
  2445. package/apps/pwa/out/_next/static/chunks/2845ea08.c590f5c7ddc06b98.js +0 -122
  2446. package/apps/pwa/out/_next/static/chunks/2856-d3c6d2706d6cc45e.js +0 -1
  2447. package/apps/pwa/out/_next/static/chunks/2883-5b4aaa3950d416c2.js +0 -1
  2448. package/apps/pwa/out/_next/static/chunks/2999.c462d95ab66dba3a.js +0 -1
  2449. package/apps/pwa/out/_next/static/chunks/2c8c2385.34ce9456dac99420.js +0 -1
  2450. package/apps/pwa/out/_next/static/chunks/3085.59001f746a9a2e8c.js +0 -1
  2451. package/apps/pwa/out/_next/static/chunks/3162-94995e3e8f1524f3.js +0 -1
  2452. package/apps/pwa/out/_next/static/chunks/3176.fcf82fd6b3fcfff5.js +0 -1
  2453. package/apps/pwa/out/_next/static/chunks/3177-151f3b49f3b2d2ef.js +0 -1
  2454. package/apps/pwa/out/_next/static/chunks/3196.4d0730f411899434.js +0 -1
  2455. package/apps/pwa/out/_next/static/chunks/3235.7b9c3e9c55ea6d98.js +0 -1
  2456. package/apps/pwa/out/_next/static/chunks/3414-037ce9f127904fe2.js +0 -1
  2457. package/apps/pwa/out/_next/static/chunks/348.b77e8e6b6ed5230c.js +0 -1
  2458. package/apps/pwa/out/_next/static/chunks/3483-f7f5f9a66e1780ad.js +0 -1
  2459. package/apps/pwa/out/_next/static/chunks/3501.d2b92806ac1d949e.js +0 -287
  2460. package/apps/pwa/out/_next/static/chunks/3552.e6be7ac885976039.js +0 -1
  2461. package/apps/pwa/out/_next/static/chunks/366-eb724714d15eb3f4.js +0 -1
  2462. package/apps/pwa/out/_next/static/chunks/3700.422355522e15e182.js +0 -2
  2463. package/apps/pwa/out/_next/static/chunks/3789.443ac3d6037b503c.js +0 -1
  2464. package/apps/pwa/out/_next/static/chunks/4278.5624379f0c23ee3d.js +0 -1
  2465. package/apps/pwa/out/_next/static/chunks/4365-9e2bea90e6243b8e.js +0 -1
  2466. package/apps/pwa/out/_next/static/chunks/4388.42598a55da8c47cf.js +0 -1
  2467. package/apps/pwa/out/_next/static/chunks/4530.3a14a074896302f2.js +0 -1
  2468. package/apps/pwa/out/_next/static/chunks/4557-3b576c4706df592d.js +0 -1
  2469. package/apps/pwa/out/_next/static/chunks/4647.a6e02754d5dcf398.js +0 -5
  2470. package/apps/pwa/out/_next/static/chunks/4793-a77c3acf9ffc4454.js +0 -1
  2471. package/apps/pwa/out/_next/static/chunks/4806.d7a41078ec5f9e6f.js +0 -1
  2472. package/apps/pwa/out/_next/static/chunks/4881.ad56fcbdcfb39a23.js +0 -1
  2473. package/apps/pwa/out/_next/static/chunks/4983.cb812be748dd07e5.js +0 -1
  2474. package/apps/pwa/out/_next/static/chunks/5054.cef07be26f74f202.js +0 -1
  2475. package/apps/pwa/out/_next/static/chunks/5075.b30af8ae9aadc959.js +0 -226
  2476. package/apps/pwa/out/_next/static/chunks/5323.277ad337906fe70a.js +0 -309
  2477. package/apps/pwa/out/_next/static/chunks/5464-5837a4fba34df983.js +0 -1
  2478. package/apps/pwa/out/_next/static/chunks/5535-3d077c5296902ba6.js +0 -1
  2479. package/apps/pwa/out/_next/static/chunks/5640.b32a01e556340532.js +0 -38
  2480. package/apps/pwa/out/_next/static/chunks/5654.1b52dfa2ffb08352.js +0 -1
  2481. package/apps/pwa/out/_next/static/chunks/6.aa2a99e9454c9a8d.js +0 -1
  2482. package/apps/pwa/out/_next/static/chunks/6208.70eba139a9c68af3.js +0 -1
  2483. package/apps/pwa/out/_next/static/chunks/6251.a547705e850c5149.js +0 -9
  2484. package/apps/pwa/out/_next/static/chunks/6253.d4f0940b616f889d.js +0 -1
  2485. package/apps/pwa/out/_next/static/chunks/6281-8492f70e843316fa.js +0 -1
  2486. package/apps/pwa/out/_next/static/chunks/6289-3c8732cbeeeb62a2.js +0 -1
  2487. package/apps/pwa/out/_next/static/chunks/6332-d5edcc5c35500524.js +0 -1
  2488. package/apps/pwa/out/_next/static/chunks/6433.e0006a1e924a2131.js +0 -1
  2489. package/apps/pwa/out/_next/static/chunks/6437.3cd4d04efb8ab871.js +0 -286
  2490. package/apps/pwa/out/_next/static/chunks/6461-5584cf24a661817a.js +0 -1
  2491. package/apps/pwa/out/_next/static/chunks/6618-9b8d9a46ede0c41e.js +0 -1
  2492. package/apps/pwa/out/_next/static/chunks/6715-f1316dd169ff9f50.js +0 -1
  2493. package/apps/pwa/out/_next/static/chunks/6735-e62669175cce8686.js +0 -1
  2494. package/apps/pwa/out/_next/static/chunks/6841.ed452e7d06f598ee.js +0 -1
  2495. package/apps/pwa/out/_next/static/chunks/6937.0bdc3185f2ace9e4.js +0 -79
  2496. package/apps/pwa/out/_next/static/chunks/6c25ab46.9d19c4994d7f5495.js +0 -160
  2497. package/apps/pwa/out/_next/static/chunks/7015-6abc8f1809ff071f.js +0 -1
  2498. package/apps/pwa/out/_next/static/chunks/7056-c994bfc3e3701439.js +0 -1
  2499. package/apps/pwa/out/_next/static/chunks/712-4496b0c3ac3e4b75.js +0 -1
  2500. package/apps/pwa/out/_next/static/chunks/7151.d2511e5f23155242.js +0 -1
  2501. package/apps/pwa/out/_next/static/chunks/7228.8cb7ac9d98e331d5.js +0 -34
  2502. package/apps/pwa/out/_next/static/chunks/725.63b4017563b04379.js +0 -93
  2503. package/apps/pwa/out/_next/static/chunks/7250-70e47260b60cd47e.js +0 -1
  2504. package/apps/pwa/out/_next/static/chunks/7263-34fefd269746719c.js +0 -1
  2505. package/apps/pwa/out/_next/static/chunks/7663.e4ea6f8c14df314c.js +0 -66
  2506. package/apps/pwa/out/_next/static/chunks/77.b432098b663eb23e.js +0 -1
  2507. package/apps/pwa/out/_next/static/chunks/770.f7b4481b25fe01c4.js +0 -148
  2508. package/apps/pwa/out/_next/static/chunks/7746.c8b9b75e18472c54.js +0 -115
  2509. package/apps/pwa/out/_next/static/chunks/7923.35fed012b66d1420.js +0 -217
  2510. package/apps/pwa/out/_next/static/chunks/7959.4e02edd1fdf86b05.js +0 -1
  2511. package/apps/pwa/out/_next/static/chunks/7974-b134a047264b1e55.js +0 -1
  2512. package/apps/pwa/out/_next/static/chunks/8089-c13a0ed6973e7490.js +0 -1
  2513. package/apps/pwa/out/_next/static/chunks/8101.31728c5a01a6167b.js +0 -77
  2514. package/apps/pwa/out/_next/static/chunks/8231.297058c760d62aee.js +0 -1
  2515. package/apps/pwa/out/_next/static/chunks/8389.af75612ea24ceba6.js +0 -24
  2516. package/apps/pwa/out/_next/static/chunks/8427.085d79f7afbb3825.js +0 -149
  2517. package/apps/pwa/out/_next/static/chunks/8473.20a465ef76441b50.js +0 -1
  2518. package/apps/pwa/out/_next/static/chunks/8541.3a501dabd3140fd0.js +0 -1
  2519. package/apps/pwa/out/_next/static/chunks/8739-f0deba2b3e06427c.js +0 -1
  2520. package/apps/pwa/out/_next/static/chunks/8818.02938c951b1000d1.js +0 -94
  2521. package/apps/pwa/out/_next/static/chunks/8846.3103ace634243ee8.js +0 -64
  2522. package/apps/pwa/out/_next/static/chunks/8847.72b1b3e33bcad95a.js +0 -1
  2523. package/apps/pwa/out/_next/static/chunks/8883-30b5a763ec36eafa.js +0 -1
  2524. package/apps/pwa/out/_next/static/chunks/9052.0be41f794a5fb029.js +0 -86
  2525. package/apps/pwa/out/_next/static/chunks/9086.b691a72402d521d5.js +0 -27
  2526. package/apps/pwa/out/_next/static/chunks/9133.0be4ebb6c50cd78a.js +0 -1
  2527. package/apps/pwa/out/_next/static/chunks/916.3a04c642f0e5ff90.js +0 -1
  2528. package/apps/pwa/out/_next/static/chunks/9240.1637f5e69335d06b.js +0 -62
  2529. package/apps/pwa/out/_next/static/chunks/9298-cd7b117f1a5be480.js +0 -1
  2530. package/apps/pwa/out/_next/static/chunks/9340-c2ac8651b03e94b2.js +0 -1
  2531. package/apps/pwa/out/_next/static/chunks/9376.35941fbddcbfe1d4.js +0 -1
  2532. package/apps/pwa/out/_next/static/chunks/9424.9062e8119fae997a.js +0 -24
  2533. package/apps/pwa/out/_next/static/chunks/9486.8ef4e64969908842.js +0 -1
  2534. package/apps/pwa/out/_next/static/chunks/9488.98d1b3c092da470a.js +0 -23
  2535. package/apps/pwa/out/_next/static/chunks/9648-42f1d4648cfa7eb8.js +0 -1
  2536. package/apps/pwa/out/_next/static/chunks/9781-946d591f1e66da8d.js +0 -1
  2537. package/apps/pwa/out/_next/static/chunks/9844.72bbf73fd214af65.js +0 -90
  2538. package/apps/pwa/out/_next/static/chunks/9850.90badc8e9b213e5a.js +0 -1
  2539. package/apps/pwa/out/_next/static/chunks/9868.027b845025f57183.js +0 -1
  2540. package/apps/pwa/out/_next/static/chunks/9948-dbde92fff6625cad.js +0 -1
  2541. package/apps/pwa/out/_next/static/chunks/9951-b903d4a257c01657.js +0 -1
  2542. package/apps/pwa/out/_next/static/chunks/9ccc18c7-87a6c1410d97d560.js +0 -1
  2543. package/apps/pwa/out/_next/static/chunks/abec6764.4a84c474be416fb7.js +0 -62
  2544. package/apps/pwa/out/_next/static/chunks/app/_not-found/page-a76e282302331a47.js +0 -1
  2545. package/apps/pwa/out/_next/static/chunks/app/approvals/page-9c79d56c52c3b39c.js +0 -1
  2546. package/apps/pwa/out/_next/static/chunks/app/autopilot/page-cd45c61031d63214.js +0 -1
  2547. package/apps/pwa/out/_next/static/chunks/app/board/page-e133c057c3c62663.js +0 -1
  2548. package/apps/pwa/out/_next/static/chunks/app/botlab/page-89ff7827ff5f449f.js +0 -1
  2549. package/apps/pwa/out/_next/static/chunks/app/bots/page-0cd71686fa026045.js +0 -1
  2550. package/apps/pwa/out/_next/static/chunks/app/ceo/page-a0b329a1295e9704.js +0 -1
  2551. package/apps/pwa/out/_next/static/chunks/app/chat/page-f4b64283a86189e3.js +0 -1
  2552. package/apps/pwa/out/_next/static/chunks/app/consult/page-c6567da3170d92b7.js +0 -1
  2553. package/apps/pwa/out/_next/static/chunks/app/control/page-90bff14d4d1104a9.js +0 -1
  2554. package/apps/pwa/out/_next/static/chunks/app/decisions/page-bc7f2d53539f1599.js +0 -1
  2555. package/apps/pwa/out/_next/static/chunks/app/design-check/page-51dd1cfa869e3e9e.js +0 -1
  2556. package/apps/pwa/out/_next/static/chunks/app/editor/page-734e98ce83fcb338.js +0 -1
  2557. package/apps/pwa/out/_next/static/chunks/app/exec/page-0dbd78003825005e.js +0 -1
  2558. package/apps/pwa/out/_next/static/chunks/app/field/page-d716d9e3eebe01c9.js +0 -1
  2559. package/apps/pwa/out/_next/static/chunks/app/healthz/route-a76e282302331a47.js +0 -1
  2560. package/apps/pwa/out/_next/static/chunks/app/inside/page-35ac985a392a23da.js +0 -1
  2561. package/apps/pwa/out/_next/static/chunks/app/intake/page-8169a6d36aca9d00.js +0 -1
  2562. package/apps/pwa/out/_next/static/chunks/app/layout-c07319ebc55c858f.js +0 -1
  2563. package/apps/pwa/out/_next/static/chunks/app/live/page-e74b1236e3318957.js +0 -1
  2564. package/apps/pwa/out/_next/static/chunks/app/live-run/page-f2d9e65f2fa34919.js +0 -1
  2565. package/apps/pwa/out/_next/static/chunks/app/loops/page-e44e85553f3d1747.js +0 -1
  2566. package/apps/pwa/out/_next/static/chunks/app/market/page-9786452dd87449f8.js +0 -1
  2567. package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-c01f73b8ca382e89.js +0 -1
  2568. package/apps/pwa/out/_next/static/chunks/app/morning/page-4ba4b24fc4aa2262.js +0 -1
  2569. package/apps/pwa/out/_next/static/chunks/app/not-found-e4f1cff672c21cf5.js +0 -1
  2570. package/apps/pwa/out/_next/static/chunks/app/observatory/page-7408295e90c5f3da.js +0 -1
  2571. package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-5145d13713aa12ba.js +0 -1
  2572. package/apps/pwa/out/_next/static/chunks/app/ops/release/page-4b40d62f2182addf.js +0 -1
  2573. package/apps/pwa/out/_next/static/chunks/app/ops/resources/page-cbf974b1f9c988e2.js +0 -1
  2574. package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-e63ff6bd28f8c0c9.js +0 -1
  2575. package/apps/pwa/out/_next/static/chunks/app/outputs/page-a9dd827a1ab83e4f.js +0 -1
  2576. package/apps/pwa/out/_next/static/chunks/app/page-367850708c52c660.js +0 -1
  2577. package/apps/pwa/out/_next/static/chunks/app/reflection/page-b1456fb9b51a4fd7.js +0 -1
  2578. package/apps/pwa/out/_next/static/chunks/app/scheduler/page-26867b3d37b1e7a8.js +0 -1
  2579. package/apps/pwa/out/_next/static/chunks/app/sessions/page-82c9de5c8c37b051.js +0 -1
  2580. package/apps/pwa/out/_next/static/chunks/app/settings/devices/page-7f03bb1e52c1a43d.js +0 -1
  2581. package/apps/pwa/out/_next/static/chunks/app/settings/page-8b9f729cfc8ebc14.js +0 -1
  2582. package/apps/pwa/out/_next/static/chunks/app/setup/done/page-f2dec730b93abfab.js +0 -1
  2583. package/apps/pwa/out/_next/static/chunks/app/setup/layout-a76e282302331a47.js +0 -1
  2584. package/apps/pwa/out/_next/static/chunks/app/setup/page-fa6f33a05e473556.js +0 -1
  2585. package/apps/pwa/out/_next/static/chunks/app/share/page-5e0e3113bfda415d.js +0 -1
  2586. package/apps/pwa/out/_next/static/chunks/app/showroom/page-7864eff18ce702ba.js +0 -1
  2587. package/apps/pwa/out/_next/static/chunks/app/tasks/page-e29cc254c3ee0054.js +0 -1
  2588. package/apps/pwa/out/_next/static/chunks/app/term/page-cd2f7856a7dc4849.js +0 -1
  2589. package/apps/pwa/out/_next/static/chunks/app/today/page-2de3d35eb5a86aae.js +0 -1
  2590. package/apps/pwa/out/_next/static/chunks/app/trace/page-cdb70038ead4a184.js +0 -1
  2591. package/apps/pwa/out/_next/static/chunks/app/vault/page-e093c97ee87aca70.js +0 -1
  2592. package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-fb97121241bc7cfc.js +0 -1
  2593. package/apps/pwa/out/_next/static/chunks/app/workflows/page-3072b3b9e14ea04d.js +0 -1
  2594. package/apps/pwa/out/_next/static/chunks/app/workspace/page-a976e10f6c3f82bd.js +0 -1
  2595. package/apps/pwa/out/_next/static/chunks/app/worktrees/page-dfbc7268ba631190.js +0 -1
  2596. package/apps/pwa/out/_next/static/chunks/c9c445f7.15a7d747f61c56e6.js +0 -1
  2597. package/apps/pwa/out/_next/static/chunks/d1dc888b.cc6ca4afda9a5ef8.js +0 -66
  2598. package/apps/pwa/out/_next/static/chunks/dc5145c8.9547e252e2e1d3d1.js +0 -1
  2599. package/apps/pwa/out/_next/static/chunks/e5a2a050-4b51c1f86f5cc4bb.js +0 -1
  2600. package/apps/pwa/out/_next/static/chunks/framework-5a93f9a572271e1c.js +0 -1
  2601. package/apps/pwa/out/_next/static/chunks/main-1c2ba214755ef1d0.js +0 -1
  2602. package/apps/pwa/out/_next/static/chunks/main-app-55b1247a78f22727.js +0 -1
  2603. package/apps/pwa/out/_next/static/chunks/pages/_app-239264d5fa7469e1.js +0 -1
  2604. package/apps/pwa/out/_next/static/chunks/pages/_error-8184168567215c6b.js +0 -1
  2605. package/apps/pwa/out/_next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
  2606. package/apps/pwa/out/_next/static/chunks/webpack-0144ea4a99833df5.js +0 -1
  2607. package/apps/pwa/out/_next/static/css/085673d826b98b62.css +0 -1
  2608. package/apps/pwa/out/_next/static/css/32b8e1b8996dbf5e.css +0 -1
  2609. package/apps/pwa/out/_next/static/css/599369d853c61df7.css +0 -31
  2610. package/apps/pwa/out/_next/static/css/659eccb5db697b76.css +0 -1
  2611. package/apps/pwa/out/_next/static/css/9e19f9d740cf4dcb.css +0 -1
  2612. package/apps/pwa/out/_next/static/iXeJzCRg0ENSSl_RTbGIN/_buildManifest.js +0 -1
  2613. package/apps/pwa/out/_next/static/iXeJzCRg0ENSSl_RTbGIN/_ssgManifest.js +0 -1
  2614. package/apps/pwa/out/_next/static/media/22a5144ee8d83bca-s.p.woff2 +0 -0
  2615. package/apps/pwa/out/_next/static/media/9766a7e9e2e0ad5a-s.woff2 +0 -0
  2616. package/apps/pwa/out/_next/static/media/aa016aab0e6d1295-s.woff2 +0 -0
  2617. package/apps/pwa/out/_next/static/media/b66cf8e69499582a-s.woff2 +0 -0
  2618. package/apps/pwa/out/_next/static/media/f639721981034f88-s.woff2 +0 -0
  2619. package/apps/pwa/out/approvals/index.html +0 -1
  2620. package/apps/pwa/out/approvals/index.txt +0 -33
  2621. package/apps/pwa/out/autopilot/index.html +0 -1
  2622. package/apps/pwa/out/autopilot/index.txt +0 -33
  2623. package/apps/pwa/out/board/index.html +0 -1
  2624. package/apps/pwa/out/board/index.txt +0 -33
  2625. package/apps/pwa/out/botlab/index.html +0 -1
  2626. package/apps/pwa/out/botlab/index.txt +0 -30
  2627. package/apps/pwa/out/bots/index.html +0 -1
  2628. package/apps/pwa/out/bots/index.txt +0 -30
  2629. package/apps/pwa/out/ceo/index.html +0 -1
  2630. package/apps/pwa/out/ceo/index.txt +0 -33
  2631. package/apps/pwa/out/chat/index.html +0 -1
  2632. package/apps/pwa/out/chat/index.txt +0 -30
  2633. package/apps/pwa/out/consult/index.html +0 -1
  2634. package/apps/pwa/out/consult/index.txt +0 -33
  2635. package/apps/pwa/out/control/index.html +0 -1
  2636. package/apps/pwa/out/control/index.txt +0 -33
  2637. package/apps/pwa/out/decisions/index.html +0 -1
  2638. package/apps/pwa/out/decisions/index.txt +0 -30
  2639. package/apps/pwa/out/design-check/index.html +0 -1
  2640. package/apps/pwa/out/design-check/index.txt +0 -33
  2641. package/apps/pwa/out/editor/index.html +0 -1
  2642. package/apps/pwa/out/editor/index.txt +0 -35
  2643. package/apps/pwa/out/exec/index.html +0 -1
  2644. package/apps/pwa/out/exec/index.txt +0 -33
  2645. package/apps/pwa/out/field/index.html +0 -1
  2646. package/apps/pwa/out/field/index.txt +0 -33
  2647. package/apps/pwa/out/fonts/JetBrainsMonoNerdFontMono-Bold.ttf +0 -0
  2648. package/apps/pwa/out/fonts/JetBrainsMonoNerdFontMono-BoldItalic.ttf +0 -0
  2649. package/apps/pwa/out/fonts/JetBrainsMonoNerdFontMono-Italic.ttf +0 -0
  2650. package/apps/pwa/out/fonts/JetBrainsMonoNerdFontMono-Regular.ttf +0 -0
  2651. package/apps/pwa/out/healthz +0 -1
  2652. package/apps/pwa/out/icons/elanous-16.png +0 -0
  2653. package/apps/pwa/out/icons/elanous-180.png +0 -0
  2654. package/apps/pwa/out/icons/elanous-192.png +0 -0
  2655. package/apps/pwa/out/icons/elanous-32.png +0 -0
  2656. package/apps/pwa/out/icons/elanous-512.png +0 -0
  2657. package/apps/pwa/out/index.html +0 -1
  2658. package/apps/pwa/out/index.txt +0 -30
  2659. package/apps/pwa/out/inside/index.html +0 -1
  2660. package/apps/pwa/out/inside/index.txt +0 -32
  2661. package/apps/pwa/out/intake/index.html +0 -1
  2662. package/apps/pwa/out/intake/index.txt +0 -33
  2663. package/apps/pwa/out/live/index.html +0 -1
  2664. package/apps/pwa/out/live/index.txt +0 -35
  2665. package/apps/pwa/out/live-run/index.html +0 -1
  2666. package/apps/pwa/out/live-run/index.txt +0 -35
  2667. package/apps/pwa/out/loops/index.html +0 -1
  2668. package/apps/pwa/out/loops/index.txt +0 -31
  2669. package/apps/pwa/out/manifest.webmanifest +0 -31
  2670. package/apps/pwa/out/market/index.html +0 -1
  2671. package/apps/pwa/out/market/index.txt +0 -30
  2672. package/apps/pwa/out/missions/placeholder/index.html +0 -1
  2673. package/apps/pwa/out/missions/placeholder/index.txt +0 -30
  2674. package/apps/pwa/out/morning/index.html +0 -1
  2675. package/apps/pwa/out/morning/index.txt +0 -33
  2676. package/apps/pwa/out/observatory/index.html +0 -1
  2677. package/apps/pwa/out/observatory/index.txt +0 -33
  2678. package/apps/pwa/out/offline.html +0 -84
  2679. package/apps/pwa/out/ops/checklist/index.html +0 -1
  2680. package/apps/pwa/out/ops/checklist/index.txt +0 -30
  2681. package/apps/pwa/out/ops/release/index.html +0 -1
  2682. package/apps/pwa/out/ops/release/index.txt +0 -30
  2683. package/apps/pwa/out/ops/resources/index.html +0 -1
  2684. package/apps/pwa/out/ops/resources/index.txt +0 -30
  2685. package/apps/pwa/out/ops/seats/index.html +0 -1
  2686. package/apps/pwa/out/ops/seats/index.txt +0 -30
  2687. package/apps/pwa/out/outputs/index.html +0 -1
  2688. package/apps/pwa/out/outputs/index.txt +0 -30
  2689. package/apps/pwa/out/reflection/index.html +0 -1
  2690. package/apps/pwa/out/reflection/index.txt +0 -31
  2691. package/apps/pwa/out/scheduler/index.html +0 -1
  2692. package/apps/pwa/out/scheduler/index.txt +0 -33
  2693. package/apps/pwa/out/sessions/index.html +0 -1
  2694. package/apps/pwa/out/sessions/index.txt +0 -30
  2695. package/apps/pwa/out/settings/devices/index.html +0 -1
  2696. package/apps/pwa/out/settings/devices/index.txt +0 -33
  2697. package/apps/pwa/out/settings/index.html +0 -1
  2698. package/apps/pwa/out/settings/index.txt +0 -33
  2699. package/apps/pwa/out/setup/done/index.html +0 -1
  2700. package/apps/pwa/out/setup/done/index.txt +0 -33
  2701. package/apps/pwa/out/setup/index.html +0 -1
  2702. package/apps/pwa/out/setup/index.txt +0 -33
  2703. package/apps/pwa/out/share/index.html +0 -1
  2704. package/apps/pwa/out/share/index.txt +0 -33
  2705. package/apps/pwa/out/showroom/index.html +0 -1
  2706. package/apps/pwa/out/showroom/index.txt +0 -30
  2707. package/apps/pwa/out/sw-strategies.js +0 -44
  2708. package/apps/pwa/out/sw.js +0 -385
  2709. package/apps/pwa/out/tasks/index.html +0 -1
  2710. package/apps/pwa/out/tasks/index.txt +0 -33
  2711. package/apps/pwa/out/term/index.html +0 -1
  2712. package/apps/pwa/out/term/index.txt +0 -33
  2713. package/apps/pwa/out/today/index.html +0 -1
  2714. package/apps/pwa/out/today/index.txt +0 -33
  2715. package/apps/pwa/out/trace/index.html +0 -1
  2716. package/apps/pwa/out/trace/index.txt +0 -33
  2717. package/apps/pwa/out/vault/index.html +0 -1
  2718. package/apps/pwa/out/vault/index.txt +0 -33
  2719. package/apps/pwa/out/workflows/chat-ui/index.html +0 -1
  2720. package/apps/pwa/out/workflows/chat-ui/index.txt +0 -33
  2721. package/apps/pwa/out/workflows/index.html +0 -1
  2722. package/apps/pwa/out/workflows/index.txt +0 -33
  2723. package/apps/pwa/out/workspace/index.html +0 -1
  2724. package/apps/pwa/out/workspace/index.txt +0 -33
  2725. package/apps/pwa/out/worktrees/index.html +0 -1
  2726. package/apps/pwa/out/worktrees/index.txt +0 -33
  2727. package/plugins/hello/manifest.json +0 -7
  2728. package/plugins/hello/missions/count-to-5/evaluator.sh +0 -32
  2729. package/plugins/hello/missions/count-to-5/mission.md +0 -17
  2730. package/plugins/hello/missions/count-to-5/sandbox.md +0 -10
  2731. package/plugins/hello/plugin.ts +0 -97
  2732. package/src/acp/grok-leader-manager.ts +0 -160
  2733. package/src/autopilot/build/build-status-label.ts +0 -19
  2734. package/src/autopilot/discovery/preexisting-red-rows.ts +0 -83
  2735. package/src/autopilot/mission-replay-decision.ts +0 -136
  2736. package/src/browser-pane/mount.ts +0 -242
  2737. package/src/budget/cost-tier-advisor.ts +0 -91
  2738. package/src/cli/ask-bare.ts +0 -43
  2739. package/src/cli/autopilot-cli.ts +0 -839
  2740. package/src/cli/autopilot-run.ts +0 -176
  2741. package/src/dashboard/auto-tts/auto-tts-controller.ts +0 -347
  2742. package/src/dashboard/auto-tts/auto-tts-host-boot.ts +0 -162
  2743. package/src/dashboard/auto-tts/pfc-voice-runtime.ts +0 -138
  2744. package/src/dashboard/browser-help-runtime.ts +0 -95
  2745. package/src/dashboard/compact-surface-popup.ts +0 -61
  2746. package/src/dashboard/input/chat-main-cache-command.ts +0 -11
  2747. package/src/dashboard/input/chat-main-submit-control.ts +0 -24
  2748. package/src/dashboard/input/control-signal-consumers.ts +0 -46
  2749. package/src/dashboard/input/dashboard-plain-turn-settle-sink.ts +0 -96
  2750. package/src/dashboard/input/dictation-surface-allowlist.ts +0 -78
  2751. package/src/dashboard/input/mouse-shell-rollup-runtime.ts +0 -114
  2752. package/src/dashboard/input/space-longpress-detector.ts +0 -311
  2753. package/src/dashboard/input/voice-dictation.ts +0 -80
  2754. package/src/dashboard/media-preview-surface-runtime.ts +0 -81
  2755. package/src/dashboard/modals/browser-preview-modal-seams.ts +0 -887
  2756. package/src/dashboard/modals/preview.ts +0 -151
  2757. package/src/dashboard/scenario-runtime-boot.ts +0 -113
  2758. package/src/dashboard/shell-rollup-popup.ts +0 -116
  2759. package/src/dashboard/voice-chat/voice-chat-host-boot.ts +0 -418
  2760. package/src/dashboard/voice-chat/voice-chat-mode-controller.ts +0 -148
  2761. package/src/dashboard/voice-chat/voice-chat-pipeline.ts +0 -357
  2762. package/src/dashboard/voice-host-boot.ts +0 -109
  2763. package/src/dashboard/voice-input-host.ts +0 -540
  2764. package/src/dashboard/voice-runtime.ts +0 -174
  2765. package/src/directive/interpretation-card.ts +0 -36
  2766. package/src/display/bounds-validate.ts +0 -113
  2767. package/src/display/image-emit.ts +0 -247
  2768. package/src/display/picker-layout.ts +0 -199
  2769. package/src/display/terminal-capability.ts +0 -161
  2770. package/src/display/terminal-frame.ts +0 -32
  2771. package/src/display/terminal-snapshot.ts +0 -58
  2772. package/src/display/transient-overlay-policy.ts +0 -59
  2773. package/src/domains/alert-audit.ts +0 -271
  2774. package/src/domains/conatus-verify.ts +0 -466
  2775. package/src/domains/proactive-recall.ts +0 -85
  2776. package/src/graph-runner/release-manifest.ts +0 -93
  2777. package/src/grounding/ensure-grounding.ts +0 -131
  2778. package/src/grounding/ref-vector.ts +0 -61
  2779. package/src/harness/artifact-launch-vocabulary.ts +0 -45
  2780. package/src/harness/shell-prompt-watcher.ts +0 -0
  2781. package/src/harness/user-terminal-injector.ts +0 -51
  2782. package/src/input/turn-output-bundle.ts +0 -105
  2783. package/src/intake-plane/ref-prefetch.ts +0 -110
  2784. package/src/intelligence-map/catalog-feed.ts +0 -119
  2785. package/src/intelligence-map/model-bench-scores.ts +0 -102
  2786. package/src/iul/asset-registry.ts +0 -980
  2787. package/src/iul/lab-tabs.ts +0 -283
  2788. package/src/iul/lane-registry.ts +0 -25
  2789. package/src/iul/lane-select-view.ts +0 -62
  2790. package/src/iul/scene-registry.ts +0 -25
  2791. package/src/iul/sidebar-shell-catalog.ts +0 -41
  2792. package/src/iul/sidebar-shell-copy.ts +0 -38
  2793. package/src/iul/sidebar-shell.ts +0 -40
  2794. package/src/iul/theme-lab-lane-view.ts +0 -291
  2795. package/src/iul/top-control-rail.ts +0 -7
  2796. package/src/model-tier/tier-to-model.ts +0 -23
  2797. package/src/mss/identity.ts +0 -105
  2798. package/src/nexus/api/mission-showroom.ts +0 -182
  2799. package/src/nexus/api/missions-emit.ts +0 -214
  2800. package/src/nexus/api/missions.ts +0 -230
  2801. package/src/onboarding/widget-impl.ts +0 -118
  2802. package/src/panes/alt-skip-predicate.ts +0 -40
  2803. package/src/panes/files-pane.ts +0 -39
  2804. package/src/panes/pane-cycle.ts +0 -61
  2805. package/src/panes/skills-pane.ts +0 -47
  2806. package/src/panes/terminal-bg-query.ts +0 -152
  2807. package/src/panes/visibility-badge.ts +0 -50
  2808. package/src/playground/catalog.ts +0 -1306
  2809. package/src/playground/lab.ts +0 -439
  2810. package/src/playground/widget.ts +0 -1588
  2811. package/src/plugins/legacy-classify.ts +0 -479
  2812. package/src/plugins/maker/connector-maker.ts +0 -41
  2813. package/src/plugins/maker/skill-maker.ts +0 -42
  2814. package/src/preview/pager.ts +0 -135
  2815. package/src/preview-pane/mount.ts +0 -202
  2816. package/src/prompt-library/family-prompt-coverage.ts +0 -97
  2817. package/src/release-loop/proposal-auto-place.ts +0 -83
  2818. package/src/seat-dispatch/seat-request-eligibility.ts +0 -19
  2819. package/src/self-dev/decompose-compose-graph.ts +0 -136
  2820. package/src/self-dev/external-call-zero.ts +0 -77
  2821. package/src/self-dev/local-supervisor-judge.ts +0 -185
  2822. package/src/self-dev/shard-pod-run.ts +0 -77
  2823. package/src/self-implement/follow-up-placement.ts +0 -79
  2824. package/src/self-implement/run-controls.ts +0 -74
  2825. package/src/shell-runner/modal-surface.ts +0 -171
  2826. package/src/sim-world-device-catalogs.json +0 -493
  2827. package/src/skills/skill-route-ux.ts +0 -62
  2828. package/src/state/bridges/widget-host-focus.ts +0 -96
  2829. package/src/state/bridges/widget-host.ts +0 -273
  2830. package/src/steward/entrance-dispatch-shadow-adapter-child.ts +0 -26
  2831. package/src/steward/entrance-dispatch-shadow-adapter.ts +0 -196
  2832. package/src/storage/object-store-visibility.ts +0 -169
  2833. package/src/task-orchestrator/surfaces/pod-warm-ta-shadow.ts +0 -85
  2834. package/src/theme/auto-theme.ts +0 -73
  2835. package/src/tool-runtime/widget-schema-runtime.ts +0 -94
  2836. package/src/ui/chrome/tooltip-chrome.ts +0 -16
  2837. package/src/ui/decor.ts +0 -75
  2838. package/src/ui/hover-presenter.ts +0 -202
  2839. package/src/ui/hover-tracker.ts +0 -249
  2840. package/src/ui/layout/dsl.ts +0 -210
  2841. package/src/ui/layout/scroll.ts +0 -104
  2842. package/src/ui/slash-launcher.ts +0 -58
  2843. package/src/ui/submenu-popup-menu-contract.ts +0 -44
  2844. package/src/ui/submenu-popup-pair.ts +0 -175
  2845. package/src/ui/submenu-popup-theme.ts +0 -81
  2846. package/src/ui/widgets/accordion.ts +0 -122
  2847. package/src/ui/widgets/combo-box.ts +0 -221
  2848. package/src/ui/widgets/draggable-list.ts +0 -247
  2849. package/src/ui/widgets/list-view.ts +0 -221
  2850. package/src/ui/widgets/menu-tree-controller.ts +0 -136
  2851. package/src/ui/widgets/progress-bar.ts +0 -164
  2852. package/src/ui/widgets/selection-browse.ts +0 -26
  2853. package/src/ui/widgets/tabs.ts +0 -174
  2854. package/src/ui/widgets/title-bar.ts +0 -149
  2855. package/src/ui/widgets/tooltip.ts +0 -130
  2856. package/src/ui/widgets/tree-view.ts +0 -266
  2857. package/src/ux/ux-learn.ts +0 -58
  2858. package/src/ux-sim/mock-scenario-catalog.json +0 -3898
  2859. package/src/vi-editor.ts +0 -407
  2860. package/src/webclone/qa-table.ts +0 -22
  2861. package/src/widget-routing/terminal-pane-behavior.ts +0 -114
  2862. package/src/widgets/plan-board.ts +0 -124
  2863. /package/src/{dashboard/auto-tts → voice/tts}/sentence-segmenter.ts +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[366],{28604:(e,t,r)=>{function n(e){return{slides:e.slides.map(e=>{let{image:t,caption:r,include:n}=e;return{image:t,caption:r,include:n}}),caption:{hook:e.caption.hook,body:e.caption.body},hashtags:[...e.hashtags],cover:{text:e.cover.text,sub:e.cover.sub},location:e.location}}r.d(t,{$Y:()=>s,LP:()=>i,Mz:()=>n,ll:()=>d,rH:()=>o});class a extends Error{constructor(e,t){super(t),this.status=e,this.name="GraphApprovalsApiError"}}let l={list:"목록을 보려면",decide:"승인하려면",save:"초안을 저장하려면"},s="/app/settings/#bearer-token";function o(e){return e instanceof a&&(401===e.status||403===e.status)}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"decide";return e instanceof a?401===e.status||403===e.status?"".concat(l[t]," 이 기기를 데몬에 연결해야 합니다 — 설정 › 데몬 연결 › 연결 토큰 칸에 토큰을 넣어 주세요."):404===e.status?"이 실행을 찾지 못했습니다. 목록을 다시 확인해 주세요.":409===e.status?"이미 결정된 실행입니다. 목록을 다시 확인해 주세요.":400===e.status?"결정 내용을 확인한 뒤 다시 시도해 주세요.":"승인 요청을 처리하지 못했습니다. 잠시 뒤 다시 시도해 주세요.":e instanceof TypeError?"서버에 연결하지 못했습니다. 연결 상태를 확인해 주세요.":"승인 요청을 처리하지 못했습니다. 잠시 뒤 다시 시도해 주세요."}let c="/v1/graph-approvals";function d(e){var t,r;let n=(null!=(t=e.baseUrl)?t:"").replace(/\/+$/,""),l=null!=(r=e.fetchImpl)?r:fetch;async function s(t,r){let s={...r,headers:{"content-type":"application/json",...e.authHeader?{authorization:e.authHeader}:{}}},o=e.client?await e.client.fetchResponse(t,s):await l("".concat(n).concat(t),s),i=await o.json().catch(()=>null);if(!o.ok){let e=i&&"object"==typeof i&&"error"in i&&"string"==typeof i.error?i.error:"request-failed";throw new a(o.status,e)}return i}return{list:()=>s(c),decide:(e,t,r)=>s("".concat(c,"/").concat(encodeURIComponent(e),"/").concat(encodeURIComponent(t)),{method:"POST",body:JSON.stringify({decision:r})}),saveFeedDraft:(e,t,r)=>s("".concat(c,"/").concat(encodeURIComponent(e),"/").concat(encodeURIComponent(t),"/feed-draft"),{method:"PUT",body:JSON.stringify(r)}),feedMedia:async(t,r,s)=>{let o="".concat(c,"/").concat(encodeURIComponent(t),"/").concat(encodeURIComponent(r),"/media?path=").concat(encodeURIComponent(s)),i={headers:e.authHeader?{authorization:e.authHeader}:{}},d=e.client?await e.client.fetchResponse(o,i):await l("".concat(n).concat(o),i);if(!d.ok)throw new a(d.status,"media-failed");return d.blob()}}}},80366:(e,t,r)=>{r.d(t,{ChatPanel:()=>e4});var n=r(65245),a=r(64297),l=r(35644),s=r(77315),o=r(69599),i=r(1413),c=r(42541),d=r.n(c),u=r(39635),m=r(79836),p=r(95761),h=r(78056);function f(){let{client:e}=(0,m.Q)(),[t,r]=(0,a.useState)([]);if((0,a.useEffect)(()=>{if("undefined"==typeof document)return;let t=!0,n=!1,a=async()=>{if(!t||n||document.hidden)return;n=!0;let a=new Intl.DateTimeFormat("sv-SE",{timeZone:"Asia/Seoul"}).format(new Date),l=await (0,p.Nn)(e,a);n=!1,t&&r((0,h.z)("ready"===l.kind?l.data:null,Date.now()))};r([]),a();let l=globalThis.setInterval(()=>{a()},6e4),s=()=>{document.hidden||a()};return document.addEventListener("visibilitychange",s),()=>{t=!1,globalThis.clearInterval(l),document.removeEventListener("visibilitychange",s)}},[e]),0===t.length)return null;let l=t.map(e=>{let{seat:t,text:r,ago:n}=e;return"".concat(t," ").concat(r," \xb7 ").concat(n)}).join(" | ");return(0,n.jsx)("div",{role:"status","aria-label":"지금 자리들이 하는 일",title:l,className:"h-8 min-h-8 min-w-0 shrink-0 overflow-hidden text-ellipsis whitespace-nowrap border-b border-border bg-background px-3 text-xs leading-8 text-muted-foreground",children:t.map((e,t)=>{let{seat:r,text:a,ago:l}=e;return(0,n.jsxs)("span",{children:[t>0&&" | ",r," ",a," \xb7 ",l]},r)})})}var x=r(2839),g=r(62391);function b(){let{client:e}=(0,m.Q)(),[t,r]=(0,a.useState)(!1),[l,s]=(0,a.useState)(!1),[o,i]=(0,a.useState)(""),c=(0,a.useRef)(!1),d=(0,a.useRef)(0),u=(0,a.useRef)(!1);(0,a.useEffect)(()=>(r("speechSynthesis"in window&&"undefined"!=typeof SpeechSynthesisUtterance),()=>{d.current++,u.current&&"speechSynthesis"in window&&window.speechSynthesis.cancel()}),[]);let p=async()=>{if(c.current||!t)return;c.current=!0;let r=++d.current;s(!0),i(""),u.current&&window.speechSynthesis.cancel(),u.current=!1;try{let t=await e.fetchResponse("/v1/context/now?format=voice",{method:"GET"});if(!t.ok)throw Error("HTTP ".concat(t.status));let n=await t.json();if(!n||"object"!=typeof n||!("text"in n)||"string"!=typeof n.text||!n.text.trim())throw Error("invalid voice summary");if(r!==d.current)return;let a=new SpeechSynthesisUtterance(n.text);a.lang="ko-KR",a.onend=()=>{r===d.current&&(u.current=!1)},a.onerror=()=>{r===d.current&&(u.current=!1)},u.current=!0,window.speechSynthesis.speak(a),(0,g.cY)("chat.now.speak",{outcome:"spoken"})}catch(e){if(r!==d.current)return;u.current=!1,i("지금 상황을 읽지 못했습니다. 다시 시도해 주세요."),(0,g.cY)("chat.now.speak",{outcome:"error",reason:String(e)})}finally{r===d.current&&(c.current=!1,s(!1))}};return(0,n.jsxs)("div",{className:"flex shrink-0 items-center gap-1",children:[(0,n.jsxs)("button",{type:"button","data-elanous-action":"chat-now-speak","aria-label":"지금 상황 듣기",title:t?"지금 상황 두 문장 듣기":"이 브라우저는 음성 읽기를 지원하지 않습니다",disabled:!t||l,onClick:()=>void p(),className:"inline-flex min-h-9 items-center gap-1.5 rounded-full border border-border bg-background px-3 text-xs font-medium text-foreground hover:bg-muted disabled:cursor-not-allowed disabled:opacity-50",children:[(0,n.jsx)(x.A,{className:"h-4 w-4","aria-hidden":"true"}),(0,n.jsx)("span",{children:"지금 상황 듣기"})]}),o&&(0,n.jsx)("span",{role:"alert",className:"text-xs text-rose-600",children:o})]})}var v=r(94238),y=r(28604);function w(){let{mobileOpen:e,onCount:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{client:r}=(0,m.Q)(),l=(0,a.useMemo)(()=>(0,y.ll)({client:r}),[r]),[s,o]=(0,a.useState)({client:r,items:[],pending:0,expanded:!1}),i=(0,a.useRef)(r);i.current=r;let c=(0,a.useRef)(!1),d=(0,a.useRef)(0),u=s.client===r?s:null,p=(0,a.useCallback)(async()=>{if(!c.current||i.current!==r||"undefined"!=typeof document&&document.hidden)return;let e=++d.current;try{let t=await l.list();if(!c.current||i.current!==r||d.current!==e)return;o(n=>i.current===r&&d.current===e?{client:r,items:t.items,pending:t.items.length,expanded:t.items.length>0&&n.client===r&&n.expanded}:n)}catch(t){if(!c.current||i.current!==r||d.current!==e)return;o(t=>i.current===r&&d.current===e?{client:r,items:[],pending:0,expanded:!1}:t)}},[l,r]);if((0,a.useEffect)(()=>{c.current=!0,o({client:r,items:[],pending:0,expanded:!1}),p();let e=globalThis.setInterval(()=>{p()},3e4),t=()=>{document.hidden||p()};return"undefined"!=typeof document&&document.addEventListener("visibilitychange",t),()=>{c.current=!1,d.current+=1,globalThis.clearInterval(e),"undefined"!=typeof document&&document.removeEventListener("visibilitychange",t)}},[r,p]),(0,a.useEffect)(()=>{var e,t;(0,g.cY)("chat.approvals",{pending:null!=(e=null==u?void 0:u.pending)?e:0,expanded:null!=(t=null==u?void 0:u.expanded)&&t})},[null==u?void 0:u.pending,null==u?void 0:u.expanded]),(0,a.useEffect)(()=>{var e;null==t||t(null!=(e=null==u?void 0:u.pending)?e:0)},[t,null==u?void 0:u.pending]),!(null==u?void 0:u.pending)||t&&!e)return null;let h=(0,n.jsx)(v.a,{client:r,approvals:u.items,onDecided:()=>{p()},onPendingChange:e=>{i.current===r&&o(t=>t.client===r?{...t,pending:e,...0===e?{items:[],expanded:!1}:{}}:t)}});return t?(0,n.jsx)("div",{id:"chat-approvals-panel",className:"max-h-[min(50vh,24rem)] overflow-y-auto border-b border-border p-3",children:h}):(0,n.jsxs)("div",{className:"shrink-0 border-b border-border bg-background px-3 py-1.5 text-sm",children:[(0,n.jsxs)("button",{type:"button","aria-expanded":u.expanded,"aria-controls":"chat-approvals-panel",onClick:()=>o(e=>e.client===r?{...e,expanded:!e.expanded}:e),className:"rounded-full border border-border bg-muted px-3 py-1 font-medium text-foreground hover:bg-muted/70",children:["승인 대기 ",u.pending]}),u.expanded&&(0,n.jsx)("div",{id:"chat-approvals-panel",className:"mt-2 max-h-[min(50vh,24rem)] overflow-y-auto rounded-lg border border-border p-3",children:h})]})}var j=r(86746);function k(){var e;let{mobileOpen:t,onCount:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{client:l}=(0,m.Q)(),[s,o]=(0,a.useState)({client:l,items:[],expanded:!1,decided:{},busy:null}),i=(0,a.useRef)(l);i.current=l;let c=(0,a.useRef)(!1),d=(0,a.useRef)(0),u=(0,a.useRef)(null),p=s.client===l?s:null,h=(0,a.useCallback)(async()=>{if(!c.current||i.current!==l||"undefined"!=typeof document&&document.hidden)return;let e=++d.current;try{let t=await (0,j.qK)(l);if(!c.current||i.current!==l||d.current!==e)return;o(e=>e.client===l?{...e,items:[...t,...e.items.filter(r=>e.decided[r.id]&&!t.some(e=>e.id===r.id))],expanded:e.expanded&&(t.length>0||e.items.some(t=>e.decided[t.id]))}:e)}catch(t){if(!c.current||i.current!==l||d.current!==e)return;o(e=>e.client===l?{...e,items:[],expanded:!1}:e)}},[l]);(0,a.useEffect)(()=>{c.current=!0,u.current=null,o({client:l,items:[],expanded:!1,decided:{},busy:null}),h();let e=globalThis.setInterval(()=>{h()},3e4),t=()=>{document.hidden||h()};return"undefined"!=typeof document&&document.addEventListener("visibilitychange",t),()=>{c.current=!1,u.current=null,d.current+=1,globalThis.clearInterval(e),"undefined"!=typeof document&&document.removeEventListener("visibilitychange",t)}},[l,h]);let f=async(e,t)=>{if(!u.current&&!s.busy&&!s.decided[e.id]){u.current=e.id,o(t=>t.client===l?{...t,busy:e.id}:t);try{if(await (0,j.LD)(l,e.id,t.id),!c.current||i.current!==l)return;u.current=null,o(r=>r.client===l?{...r,busy:null,decided:{...r.decided,[e.id]:t.label}}:r),await h()}catch(e){c.current&&i.current===l&&(u.current=null,o(e=>e.client===l?{...e,busy:null}:e))}}},x=null!=(e=null==p?void 0:p.items.filter(e=>!p.decided[e.id]).length)?e:0;if((0,a.useEffect)(()=>{null==r||r(x)},[r,x]),!p||!x&&!(p.expanded&&p.items.some(e=>p.decided[e.id]))||r&&!t)return null;let g=(0,n.jsx)("ul",{id:"chat-decisions-panel",className:"mt-2 max-h-[min(50vh,24rem)] space-y-2 overflow-y-auto rounded-lg border border-border p-3",children:p.items.map(e=>(0,n.jsxs)("li",{className:"rounded-lg border border-border p-3",children:[(0,n.jsx)("h3",{className:"font-semibold",children:e.title}),(0,n.jsx)("p",{className:"truncate text-muted-foreground",title:e.situation,children:e.situation}),p.decided[e.id]?(0,n.jsxs)("p",{role:"status",children:["결정함 — ",p.decided[e.id]]}):(0,n.jsx)("div",{className:"mt-2 flex flex-wrap gap-2",children:e.options.map(t=>(0,n.jsxs)("button",{type:"button",disabled:!!p.busy,onClick:()=>{f(e,t)},className:"rounded-md border border-border px-2 py-1 hover:bg-muted disabled:opacity-50",children:[t.label,"option"in e.recommendation&&e.recommendation.option===t.id&&(0,n.jsx)("span",{className:"ml-1 text-primary",children:"추천"})]},t.id))})]},e.id))});return r?g:(0,n.jsxs)("div",{className:"shrink-0 border-b border-border bg-background px-3 py-1.5 text-sm",children:[(0,n.jsxs)("button",{type:"button","aria-expanded":p.expanded,"aria-controls":"chat-decisions-panel",onClick:()=>o(e=>e.client===l?{...e,expanded:!e.expanded}:e),className:"rounded-full border border-border bg-muted px-3 py-1 font-medium text-foreground hover:bg-muted/70",children:["대표 결정 ",x]}),p.expanded&&g]})}function N(e){let{activity:t,decisions:r,menu:a}=e,l="active"===t.kind?t.run.progressLine||t.run.runId:"quiet"===t.kind?"없음":"loading"===t.kind?"확인 중":"확인 불가";return(0,n.jsxs)("div",{"data-elanous-mobile-chat-status":"",role:"status",className:"flex h-10 min-h-10 min-w-0 items-center gap-3 border-b border-border bg-background px-3 text-xs",children:[(0,n.jsxs)("span",{className:"min-w-0 flex-1 truncate",title:l,children:["지금 도는 일 \xb7 ",l]}),(0,n.jsxs)("span",{className:"shrink-0",children:["대기 결정 \xb7 ",null!=r?r:"—"]}),a]})}var S=r(7637),C=r(34468);function I(e){let{queue:t,onRemove:r,onClear:a}=e;return 0===t.length?null:(0,n.jsxs)("div",{className:"flex shrink-0 flex-wrap items-center gap-1.5 border-t border-border bg-background px-3 py-2","aria-label":"보낼 차례",children:[t.map((e,t)=>(0,n.jsxs)("span",{className:"inline-flex max-w-full items-center gap-1 rounded-full border border-border bg-muted px-2 py-1 text-xs",children:[(0,n.jsxs)("span",{className:"max-w-[160px] truncate",title:e.text,children:[t+1," \xb7 ",Array.from(e.text).slice(0,20).join("")]}),(0,n.jsx)("button",{type:"button",onClick:()=>r(e.id),"aria-label":"".concat(t+1,"번 지우기"),className:"rounded-full px-1 hover:bg-background",children:"\xd7"})]},e.id)),(0,n.jsx)("button",{type:"button",onClick:a,className:"rounded px-2 py-1 text-xs text-muted-foreground hover:bg-muted",children:"모두 지우기"})]})}function E(e){let t={files:[],tooLarge:0,tooMany:0};for(let r of e)r.file.size>0x1400000?t.tooLarge+=1:t.files.length>=10?t.tooMany+=1:t.files.push(r);return t}function R(e){return!!(e&&Array.from(e.types).includes("Files"))}function A(){return(0,n.jsx)("div",{role:"status","aria-label":"여기에 놓으면 첨부","data-elanous-chat-drop-overlay":"",className:"pointer-events-none absolute inset-0 z-30 flex items-center justify-center bg-background/80 backdrop-blur-sm",children:(0,n.jsxs)("div",{className:"mx-4 rounded-2xl border-2 border-dashed border-primary/60 bg-card/90 px-8 py-6 text-center shadow-lg",children:[(0,n.jsx)("p",{className:"text-lg font-semibold text-foreground",children:"여기에 놓으면 첨부"}),(0,n.jsxs)("p",{className:"mt-2 text-sm text-muted-foreground",children:["파일 ",10,"개까지 \xb7 큰 파일은 빠집니다"]})]})})}function D(e,t,r){if("drop"===t||"end"===t||!r)return{visible:!1,depth:0};let n="enter"===t?e.depth+1:Math.max(0,e.depth-1);return{visible:n>0,depth:n}}var q=r(7547),T=r(60115),L=r(64735);class U{list(){return this.client.fetchJson("/v1/projects")}folders(e){return this.client.fetchJson("/v1/projects/folders".concat(void 0===e?"":"?path=".concat(encodeURIComponent(e))))}create(e,t){return this.client.fetchJson("/v1/projects",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({name:e,...void 0!==t?{primaryFolder:t}:{}})})}assign(e,t){return this.client.fetchJson("/v1/sessions/store/".concat(encodeURIComponent(e)),{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify({projectId:t})})}fetchProjectAutopsy(e){return this.client.fetchJson("/v1/projects/".concat(encodeURIComponent(e),"/autopsy"))}constructor(e){this.client=e}}let O="elanous.chat.projectSelection",F="elanous-chat-pending-projects-changed",M="elanous-chat-projects-changed";function P(){window.dispatchEvent(new Event(M))}let Y="elanous.chat.pendingProjects";function _(){try{var e;let t=JSON.parse(null!=(e=localStorage.getItem(Y))?e:"{}");if(t&&"object"==typeof t&&!Array.isArray(t))return Object.fromEntries(Object.entries(t).filter(e=>{let[t,r]=e;return t&&"string"==typeof r&&r}))}catch(e){}return{}}function J(e){try{localStorage.setItem(Y,JSON.stringify(e))}catch(e){return!1}return window.dispatchEvent(new Event(F)),!0}function z(e){let{projects:t,selection:r,onChange:l,onCreate:s,api:o}=e,[i,c]=(0,a.useState)(!1),[d,u]=(0,a.useState)(""),[m,p]=(0,a.useState)(!1),[h,f]=(0,a.useState)(""),[x,g]=(0,a.useState)(null),[b,v]=(0,a.useState)(!1),[y,w]=(0,a.useState)(!1),[j,k]=(0,a.useState)(!1),N=(0,a.useRef)(0),S=(0,a.useRef)(!1),C=async e=>{if(!o)return;let t=++N.current;w(!0),v(!1),g(null);try{let r=await o.folders(e);t===N.current&&g(r)}catch(e){t===N.current&&v(!0)}finally{t===N.current&&w(!1)}};return(0,n.jsxs)("div",{className:"space-y-2",children:[0===t.length&&!i&&(0,n.jsx)("button",{type:"button",onClick:()=>c(!0),className:"text-sm text-muted-foreground hover:text-foreground",children:"+ 프로젝트 만들기"}),t.length>0&&(0,n.jsxs)("select",{"aria-label":"프로젝트 바꾸기",value:r,onChange:e=>{if("create"===e.target.value)return void c(!0);l(e.target.value)},className:"w-full rounded-lg border border-border bg-background px-3 py-2 text-sm",children:[(0,n.jsx)("option",{value:"all",children:"모든 대화"}),(0,n.jsx)("option",{value:"none",children:"받은 대화(프로젝트 없음)"}),t.map(e=>(0,n.jsx)("option",{value:e.id,children:e.name},e.id)),(0,n.jsx)("option",{value:"create",children:"+ 프로젝트 만들기"})]}),i&&(0,n.jsxs)("form",{onSubmit:e=>{e.preventDefault();let t=d.trim();!t||S.current||y||(S.current=!0,k(!0),s(t,h||void 0).then(()=>{N.current++,c(!1),u(""),f(""),g(null),p(!1)}).catch(()=>p(!0)).finally(()=>{S.current=!1,k(!1)}))},className:"flex flex-wrap gap-2",children:[(0,n.jsx)("input",{"aria-label":"프로젝트 이름",autoFocus:!0,value:d,maxLength:80,onChange:e=>u(e.target.value),className:"min-w-0 flex-1 rounded-lg border border-border bg-background px-2 py-1 text-sm"}),(0,n.jsx)("button",{type:"submit",disabled:y||j,className:"rounded-lg border border-border px-2 text-sm",children:"만들기"}),o&&(0,n.jsx)("button",{type:"button","aria-label":"원격 폴더 고르기",disabled:j||y,onClick:()=>void C(),className:"rounded-lg border border-border px-2 text-sm",children:"폴더"}),m&&(0,n.jsx)("span",{role:"alert",children:"프로젝트를 만들지 못했습니다"})]}),i&&x&&(0,n.jsxs)("div",{role:"group","aria-label":"원격 폴더 목록",className:"max-h-48 overflow-y-auto rounded-lg border border-border p-2 text-sm",children:[(0,n.jsx)("p",{className:"break-all",children:x.path}),x.parent&&(0,n.jsx)("button",{type:"button","aria-label":"상위 폴더",onClick:()=>{var e;C(null!=(e=x.parent)?e:void 0)},className:"block w-full py-1 text-left",children:".."}),x.folders.map(e=>(0,n.jsxs)("button",{type:"button",onClick:()=>void C(e.path),className:"block w-full truncate py-1 text-left",children:[e.name,"/"]},e.path)),(0,n.jsx)("button",{type:"button",disabled:y||j,onClick:()=>{N.current++,w(!1),f(x.path),g(null)},className:"rounded border border-border px-2 py-1",children:"이 폴더 선택"})]}),i&&h&&(0,n.jsxs)("p",{className:"break-all text-xs",children:["선택한 폴더: ",h]}),i&&y&&(0,n.jsx)("p",{role:"status",children:"폴더 불러오는 중…"}),i&&b&&(0,n.jsx)("p",{role:"alert",children:"폴더를 불러오지 못했습니다"})]})}function $(e){var t,r;let{compact:l=!1}=e,{client:s,sessionId:o}=(0,m.Q)(),i=(0,L.t)(),[c,d]=(0,a.useState)([]),[u,p]=(0,a.useState)(!0),[h,f]=(0,a.useState)(!1),[x,g]=(0,a.useState)(0),[b,v]=(0,a.useState)(!1),[y,w]=(0,a.useState)(null),[j,k]=(0,a.useState)(!1),[N,S]=(0,a.useState)(!0),[C,I]=(0,a.useState)([]),[E,R]=(0,a.useState)(0),[A,D]=(0,a.useState)(null),q=(0,a.useRef)(null),O=(0,a.useRef)(null),Y=(0,a.useRef)(null),z=(0,a.useRef)(new Set),$=!!(o&&C.includes(o)),Q=(0,a.useRef)(null),G=(0,a.useRef)(o);G.current=o;let[K,W]=(0,a.useState)(""),[H,B]=(0,a.useState)(!1),[Z,V]=(0,a.useState)(""),[X,ee]=(0,a.useState)(""),[et,er]=(0,a.useState)(null),[en,ea]=(0,a.useState)(!1),[el,es]=(0,a.useState)(!1),eo=(0,a.useRef)(0),ei=(0,a.useRef)(!1),ec=async e=>{let t=++eo.current;ea(!1),es(!0),er(null);try{let r=await new U(s).folders(e);t===eo.current&&er(r)}catch(e){t===eo.current&&ea(!0)}finally{t===eo.current&&es(!1)}};(0,a.useEffect)(()=>{let e=!0,t=0;d([]),f(!1);let r=()=>{let r=++t;p(!0),new U(s).list().then(n=>{let{projects:a}=n;e&&r===t&&(d(null!=a?a:[]),f(!1))}).catch(()=>{e&&r===t&&f(!0)}).finally(()=>{e&&r===t&&p(!1)})};return r(),window.addEventListener(M,r),()=>{e=!1,window.removeEventListener(M,r)}},[s,x]),(0,a.useEffect)(()=>{let e=!0;return(S(!0),D(null),k(!1),Q.current=null,w(null),o)?(s.fetchJson("/v1/sessions/store/".concat(encodeURIComponent(o),"?ifExists=1")).then(t=>{var r,n,a,l;e&&(k(!!t.meta),Q.current=null!=(n=null==(r=t.meta)?void 0:r.projectId)?n:null,z.current.has(o)||w(t.meta?null!=(a=t.meta.projectId)?a:null:null!=(l=_()[o])?l:null),D(o),S(!1))}).catch(()=>{e&&(D(null),W("프로젝트를 확인하지 못했습니다"),S(!1))}),()=>{e=!1}):void S(!1)},[s,o,E]),(0,a.useEffect)(()=>{eo.current++,er(null),ee(""),ea(!1),es(!1),W(""),B(!1),q.current=null,Y.current=null},[o]),(0,a.useEffect)(()=>{if(!o)return;let e=()=>{let e=_()[o];e&&(Y.current=null),z.current.has(o)||(A===o&&j&&e!==Q.current?R(e=>e+1):A===o&&w(null!=e?e:null))};return window.addEventListener(F,e),()=>window.removeEventListener(F,e)},[o,A,j]),(0,a.useEffect)(()=>{o&&A===o&&!j&&!$&&q.current!==o&&i.some(e=>e.id===o)&&(q.current=o,D(null),R(e=>e+1))},[o,A,j,$,i]),(0,a.useEffect)(()=>{if(!o||!j||N||$)return;let e=_()[o];!e||z.current.has(o)||O.current===o||Y.current==="".concat(o,":").concat(e)||(O.current=o,new U(s).assign(o,e).then(()=>{G.current===o&&(Q.current=e);let t=_();t[o]===e&&(delete t[o],J(t),G.current!==o||z.current.has(o)||w(e)),(0,T.hG)(s).forceRefresh()}).catch(()=>{Y.current="".concat(o,":").concat(e);let t=_();t[o]===e&&(delete t[o],J(t)),G.current===o&&(w(Q.current),W("프로젝트를 바꾸지 못했습니다"))}).finally(()=>{O.current=null}))},[s,o,j,N,$,E]);let ed=async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!o||A!==o||N||h&&!t||z.current.has(o)||O.current===o)return!1;z.current.add(o),I(e=>[...e,o]),W("");try{if(j){await new U(s).assign(o,e),G.current===o&&(Q.current=e),(0,T.hG)(s).forceRefresh();let t=_();t[o]&&(delete t[o],J(t))}else{let t=_();if(e?t[o]=e:delete t[o],!J(t))throw Error("pending project storage unavailable")}return G.current===o&&w(e),!0}catch(e){return G.current===o&&W("프로젝트를 바꾸지 못했습니다"),!1}finally{z.current.delete(o),I(e=>e.filter(e=>e!==o))}},eu=y?null!=(r=null==(t=c.find(e=>e.id===y))?void 0:t.name)?r:"알 수 없는 프로젝트":"프로젝트 없음";return(0,n.jsxs)("div",{className:l?"relative flex min-w-0 items-center gap-1.5 text-xs":"flex min-w-0 flex-wrap items-center gap-1.5 text-xs",children:[(0,n.jsx)("label",{htmlFor:"chat-current-project",className:l?"sr-only":"shrink-0 text-muted-foreground",children:"프로젝트"}),(0,n.jsxs)("select",{id:"chat-current-project","aria-label":"현재 대화 프로젝트",title:o&&A===o&&!N?"현재 프로젝트: ".concat(eu):"프로젝트 확인 중…",value:o&&A===o&&!N?null!=y?y:"":"loading",disabled:!o||A!==o||N||u||$||O.current===o||h,onChange:e=>{if("create"===e.target.value){u||h||B(!0);return}ed(e.target.value||null)},className:"".concat(l?"w-20 max-w-[24vw]":"max-w-36"," min-w-0 truncate rounded-md border border-border bg-background px-2 py-1 text-foreground focus-visible:outline focus-visible:outline-2 focus-visible:outline-ring"),children:[(!o||A!==o||N)&&(0,n.jsx)("option",{value:"loading",children:"프로젝트 확인 중…"}),(0,n.jsx)("option",{value:"",children:"프로젝트 없음"}),y&&!c.some(e=>e.id===y)&&(0,n.jsx)("option",{value:y,children:"알 수 없는 프로젝트"}),c.map(e=>(0,n.jsx)("option",{value:e.id,children:e.name},e.id)),l&&(0,n.jsx)("option",{value:"create",children:"+ 프로젝트 만들기"})]}),!l&&(0,n.jsx)("button",{type:"button","aria-label":"프로젝트 만들기",title:"프로젝트 만들기",disabled:!o||A!==o||N||u||$||h,onClick:()=>B(e=>!e),className:"shrink-0 rounded px-1 hover:bg-muted",children:"+"}),H&&(0,n.jsxs)("form",{onSubmit:e=>{e.preventDefault();let t=Z.trim();!t||!o||A!==o||N||u||h||$||ei.current||el||(ei.current=!0,v(!0),W(""),new U(s).create(t,X||void 0).then(async e=>{let{project:t}=e;d(e=>[...e,t]);let r=await ed(t.id,!0);P(),r&&(eo.current++,B(!1),V(""),ee(""),er(null))}).catch(()=>W("프로젝트를 만들지 못했습니다")).finally(()=>{ei.current=!1,v(!1)}))},className:l?"absolute right-0 top-full z-50 mt-1 flex flex-wrap items-center gap-1 rounded-lg border border-border bg-popover p-2 shadow-lg":"flex min-w-0 flex-wrap items-center gap-1",children:[(0,n.jsx)("input",{"aria-label":"새 프로젝트 이름",autoFocus:!0,maxLength:80,value:Z,onChange:e=>V(e.target.value),className:"w-24 rounded border border-border bg-background px-1 py-1"}),(0,n.jsx)("button",{type:"submit",disabled:$||b||el||!o||A!==o||u||h,className:"rounded border border-border px-1",children:"만들기"}),(0,n.jsx)("button",{type:"button","aria-label":"원격 폴더 고르기",disabled:b||el,onClick:()=>void ec(),className:"rounded border border-border px-1",children:"폴더"})]}),H&&et&&(0,n.jsxs)("div",{role:"group","aria-label":"원격 폴더 목록",className:l?"absolute right-0 top-full z-50 mt-12 max-h-48 w-64 max-w-[90vw] overflow-y-auto rounded border border-border bg-popover p-2 shadow-lg":"max-h-48 w-64 max-w-[90vw] overflow-y-auto rounded border border-border bg-popover p-2 shadow-lg",children:[(0,n.jsx)("p",{className:"break-all",children:et.path}),et.parent&&(0,n.jsx)("button",{type:"button","aria-label":"상위 폴더",onClick:()=>{var e;ec(null!=(e=et.parent)?e:void 0)},className:"block w-full text-left",children:".."}),et.folders.map(e=>(0,n.jsxs)("button",{type:"button",onClick:()=>void ec(e.path),className:"block w-full truncate text-left",children:[e.name,"/"]},e.path)),(0,n.jsx)("button",{type:"button",disabled:el||b,onClick:()=>{eo.current++,es(!1),ee(et.path),er(null)},className:"rounded border border-border px-1",children:"이 폴더 선택"})]}),H&&X&&(0,n.jsxs)("span",{className:"break-all text-xs",children:["선택한 폴더: ",X]}),H&&el&&(0,n.jsx)("span",{role:"status",children:"폴더 불러오는 중…"}),H&&en&&(0,n.jsx)("span",{role:"alert",children:"폴더를 불러오지 못했습니다"}),(o&&A!==o&&!N||h)&&(0,n.jsx)("button",{type:"button","aria-label":"프로젝트 다시 확인",onClick:()=>{W(""),R(e=>e+1),h&&g(e=>e+1)},className:"rounded border border-border px-1",children:"다시 시도"}),(K||h)&&(0,n.jsx)("span",{role:"alert",className:"text-destructive",children:K||"프로젝트 목록을 불러오지 못했습니다"})]})}var Q=r(43285),G=r(66221);function K(e){let{segmentKey:t,value:r,glyph:a}=e,l=function(e){var t;let r=/(\d{1,3})\s*%/.exec(e);if(!r)return null;let n=Number.parseInt(null!=(t=r[1])?t:"",10);return Number.isFinite(n)?Math.max(0,Math.min(100,n)):null}(r);if(null===l)return(0,n.jsxs)("span",{"data-elanous-hud-key":t,"data-elanous-hud-gauge":"false",className:"inline-flex items-center gap-1 font-mono text-[11px] text-muted-foreground",children:[a?(0,n.jsx)("span",{"aria-hidden":"true",children:a}):null,(0,n.jsx)("span",{children:r})]});let{bar:s,text:o}=l>=80?{bar:"bg-pink-400",text:"text-pink-300"}:l>=60?{bar:"bg-amber-400",text:"text-amber-300"}:{bar:"bg-emerald-500",text:"text-emerald-300"};return(0,n.jsxs)("span",{"data-elanous-hud-key":t,"data-elanous-hud-gauge":"true","data-elanous-hud-percent":String(l),className:"inline-flex items-center gap-1.5 font-mono text-[11px]",children:[a?(0,n.jsx)("span",{"aria-hidden":"true",className:"text-muted-foreground",children:a}):null,(0,n.jsx)("span",{role:"progressbar","aria-valuenow":l,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"".concat(t," ").concat(l,"%"),className:"relative h-2 w-20 overflow-hidden rounded bg-muted/30",children:(0,n.jsx)("span",{"aria-hidden":"true",style:{width:"".concat(l,"%")},className:(0,Q.cn)("block h-full",s)})}),(0,n.jsx)("span",{className:(0,Q.cn)("tabular-nums",o),children:r})]})}let W=new Set(["variant","workspace","model","token-gauge","ctx","agent-activity","agents"]),H=new Set(["token-gauge","ctx"]),B={normal:"text-foreground",warn:"text-amber-300",danger:"text-pink-300",success:"text-emerald-300",info:"text-sky-300",muted:"text-muted-foreground"};function Z(e){var t,r;let{segment:a}=e;if(H.has(a.key))return(0,n.jsx)(K,{segmentKey:a.key,value:a.value,...void 0!==a.glyph?{glyph:a.glyph}:{}});let l=a.tone?B[a.tone]:B.normal;return(0,n.jsxs)("span",{"data-elanous-hud-key":a.key,"data-elanous-hud-tone":null!=(t=a.tone)?t:"normal","data-elanous-hud-priority":String(null!=(r=a.priority)?r:50),className:(0,Q.cn)("inline-flex items-center gap-1 font-mono text-[11px]",l),children:[a.glyph?(0,n.jsx)("span",{"aria-hidden":"true",children:a.glyph}):null,(0,n.jsx)("span",{children:a.value})]})}function V(e){let{segments:t,row:r,className:a}=e;return 0===t.length?null:(0,n.jsx)("div",{"data-elanous-hud-row":r,className:(0,Q.cn)("flex flex-wrap items-center gap-x-3 gap-y-1",a),children:t.map((e,t)=>(0,n.jsxs)("span",{className:"flex items-center gap-x-3",children:[t>0?(0,n.jsx)("span",{"aria-hidden":"true",className:"text-muted-foreground",children:"\xb7"}):null,(0,n.jsx)(Z,{segment:e})]},e.key))})}function X(e){let{segments:t}=e;if(0===t.length)return null;let{top:r,bottom:a}=function(e){let t=[],r=[];for(let n of e)W.has(n.key)?t.push(n):r.push(n);return{top:t,bottom:r}}(t);return(0,n.jsxs)("div",{"data-elanous-hud":"strip",role:"status","aria-label":"HUD status",className:"flex flex-col gap-0.5 border-b border-border/40 bg-muted/10 px-3 py-1.5",children:[(0,n.jsx)(V,{segments:r,row:"top"}),(0,n.jsx)(V,{segments:a,row:"bottom",className:"hidden sm:flex"})]})}let ee=[];function et(){return ee}function er(){let e=(0,a.useSyncExternalStore)(G.er,G.Wl,et);return(0,n.jsx)(X,{segments:e})}function en(e,t){if("string"!=typeof e)return t;let r=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.\d+)?(?:Z|[+-](\d{2}):(\d{2}))$/.exec(e);if(!r)return t;let[,n,a,l,s,o,i,c,d]=r,u=Number(n),m=Number(a),p=Number(l),h=[31,u%4==0&&(u%100!=0||u%400==0)?29:28,31,30,31,30,31,31,30,31,30,31][m-1];if(p<1||void 0===h||p>h||Number(s)>23||Number(o)>59||Number(i)>59||void 0!==c&&(Number(c)>23||Number(d)>59))return t;let f=Date.parse(e);return Number.isFinite(f)?f:t}var ea=r(75117),el=r(97962),es=r(58661),eo=r(14722),ei=r(59363),ec=r(17096),ed=r(17741),eu=r(89565);let em={idle:"음성 대기",connecting:"데몬 연결 중…",listening:"듣는 중",processing:"생각 중…",speaking:"말하는 중",error:"음성 오류"},ep={idle:"마이크를 켜서 대화를 시작하세요.",connecting:"잠시만 기다려주세요.",listening:"문장이 끝나면 자동으로 전송됩니다.",processing:"서버가 응답을 생성하는 중입니다.",speaking:"음성 응답을 재생하는 중입니다.",error:"아래 메시지를 확인하고 다시 시도하세요."},eh={idle:"bg-slate-400",connecting:"bg-amber-500",listening:"bg-emerald-500",processing:"bg-sky-500",speaking:"bg-fuchsia-500",error:"bg-rose-600"};function ef(e){let{active:t,phase:r,errorMsg:a,onToggle:l,ttsSupported:i=!1,ttsMuted:c=!1,onTtsToggle:d,onInterrupt:u}=e,m="speaking"===r&&"function"==typeof u;return(0,n.jsxs)("div",{"data-elanous-voice-overlay":!0,"aria-hidden":!t,className:(0,Q.cn)("pointer-events-none absolute inset-0 z-10 flex items-center justify-center transition-opacity duration-300",t?"pointer-events-auto opacity-100":"opacity-0"),children:[(0,n.jsx)("div",{className:"absolute inset-0 bg-background/60 backdrop-blur-md"}),(0,n.jsxs)("div",{className:"relative mx-4 flex w-full max-w-sm flex-col items-center gap-5 rounded-xl border border-border bg-card px-6 py-7 text-center shadow-xl",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,n.jsx)("span",{className:(0,Q.cn)("h-2.5 w-2.5 rounded-full",eh[r],("listening"===r||"speaking"===r||"connecting"===r)&&"animate-pulse"),"aria-hidden":!0}),(0,n.jsx)("span",{className:"font-medium tracking-wide",children:em[r]})]}),(0,n.jsx)("p",{className:"text-xs text-muted-foreground",children:ep[r]}),(0,n.jsx)("button",{type:"button",onClick:m?u:l,"data-elanous-action":m?"voice-overlay-interrupt":"voice-overlay-toggle",className:(0,Q.cn)("inline-flex h-16 w-16 items-center justify-center rounded-full text-white transition-colors",m?"bg-amber-500 hover:bg-amber-400 animate-pulse":"connecting"===r||"processing"===r?"bg-sky-500 hover:bg-sky-400":"error"===r?"bg-rose-600 hover:bg-rose-500":"bg-rose-500 hover:bg-rose-400"),"aria-label":m?"끼어들기":"마이크 끄기",children:m?(0,n.jsx)(ei.A,{className:"h-7 w-7"}):"connecting"===r||"processing"===r?(0,n.jsx)(ec.A,{className:"h-7 w-7 animate-spin"}):"error"===r?(0,n.jsx)(ed.A,{className:"h-7 w-7"}):(0,n.jsx)(s.A,{className:"h-7 w-7"})}),a&&(0,n.jsx)("p",{className:"max-w-xs text-xs text-rose-500",children:a}),(0,n.jsxs)("div",{className:"flex items-center gap-4",children:[i&&d&&(0,n.jsxs)("button",{type:"button",onClick:d,"data-elanous-action":"voice-overlay-tts-toggle",className:"inline-flex items-center gap-1.5 text-xs text-muted-foreground hover:text-foreground","aria-label":c?"음성 응답 켜기":"음성 응답 끄기","aria-pressed":!c,children:[c?(0,n.jsx)(eu.A,{className:"h-3.5 w-3.5"}):(0,n.jsx)(x.A,{className:"h-3.5 w-3.5"}),(0,n.jsx)("span",{children:c?"음성 응답 OFF":"음성 응답 ON"})]}),(0,n.jsxs)("button",{type:"button",onClick:l,className:"inline-flex items-center gap-1.5 text-xs text-muted-foreground hover:text-foreground","aria-label":"음성 닫고 텍스트로 돌아가기",children:[(0,n.jsx)(o.A,{className:"h-3.5 w-3.5"}),(0,n.jsx)("span",{children:"음성 끄기"})]})]})]})]})}function ex(e){let{open:t,onClose:r,lines:l}=e,[s,o]=(0,a.useState)(""),i=(0,a.useMemo)(()=>{if(!s.trim())return null;try{return RegExp(s,"i")}catch(e){return null}},[s]),c=(0,a.useMemo)(()=>s.trim().toLowerCase(),[s]),d=(0,a.useMemo)(()=>{let e=l.length>200?l.slice(l.length-200):l;return i?e.filter(e=>i.test(e.category)||i.test(e.event)):c?e.filter(e=>e.category.toLowerCase().includes(c)||e.event.toLowerCase().includes(c)):e},[l,i,c]);return(0,n.jsx)("div",{"data-elanous-debug-tap-drawer":t?"open":"closed",className:(0,Q.cn)("fixed bottom-0 left-0 right-0 z-50 transition-transform duration-200 ease-out","pointer-events-none",t?"translate-y-0":"translate-y-full"),role:"region","aria-label":"Debug Tap Drawer","aria-hidden":!t,children:(0,n.jsxs)("div",{className:(0,Q.cn)("pointer-events-auto mx-auto flex max-h-[60vh] w-full max-w-[1100px] flex-col","rounded-t-md border border-b-0 border-border bg-card shadow-xl"),children:[(0,n.jsxs)("header",{className:"flex items-center justify-between gap-2 border-b border-border/60 px-3 py-2",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("span",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:"Debug Tap"}),(0,n.jsxs)("span",{className:"text-[10px] text-muted-foreground/70","data-elanous-debug-tap-count":d.length,"data-elanous-debug-tap-total":l.length,children:[d.length,"/",l.length]})]}),(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("input",{type:"text",placeholder:"regex filter…",value:s,onChange:e=>o(e.target.value),spellCheck:!1,autoComplete:"off",className:(0,Q.cn)("w-40 rounded border border-border bg-background px-2 py-1 text-[11px] font-mono","focus:outline-none focus:ring-1 focus:ring-primary"),"data-elanous-debug-tap-filter":"","aria-label":"Filter debug lines"}),(0,n.jsx)("button",{type:"button",onClick:r,className:"rounded px-2 py-1 text-xs text-muted-foreground hover:bg-muted hover:text-foreground","aria-label":"Close debug drawer","data-elanous-debug-tap-close":"",children:"✕"})]})]}),(0,n.jsx)("ul",{className:"flex-1 overflow-y-auto px-3 py-2 text-[11px] font-mono","data-elanous-debug-tap-list":"",children:0===d.length?(0,n.jsx)("li",{className:"italic text-muted-foreground/60",children:0===l.length?"(no debug lines yet)":"(no matches for filter)"}):d.map((e,t)=>(0,n.jsx)(eg,{line:e},"".concat(e.loggedAt,"-").concat(e.seq,"-").concat(t)))})]})})}function eg(e){let{line:t}=e,r=new Date(t.loggedAt).toISOString().slice(11,23);return(0,n.jsxs)("li",{"data-elanous-debug-tap-line":"","data-elanous-category":t.category,"data-elanous-event":t.event,className:"py-0.5",children:[(0,n.jsxs)("span",{className:"text-muted-foreground/70",children:["[",r,"]"]})," ",(0,n.jsxs)("span",{className:"text-amber-400",children:["[",t.category,"]"]})," ",(0,n.jsx)("span",{className:"text-foreground",children:t.event}),void 0!==t.data&&(0,n.jsxs)("details",{className:"ml-4 text-muted-foreground",children:[(0,n.jsx)("summary",{className:"cursor-pointer select-none text-[10px]",children:"data"}),(0,n.jsx)("pre",{className:"m-0 mt-1 whitespace-pre-wrap break-all text-[10px] text-muted-foreground/80",children:function(e){try{return JSON.stringify(e,null,2)}catch(t){return String(e)}}(t.data)})]})]})}var eb=r(15300),ev=r(25839),ey=r(73697),ew=r(18450),ej=r(39622),ek=r(41486),eN=r(74149);let eS="Other";function eC(e){let{request:t,onSubmit:r,onCancel:a,onChatAboutThis:l}=e;return(0,n.jsx)(ew.lG,{open:null!==t,onOpenChange:e=>{e||a()},children:(0,n.jsx)(ew.Cf,{className:"max-w-2xl",children:t?(0,n.jsx)(eI,{request:t,onSubmit:r,onCancel:a,onChatAboutThis:l}):null})})}function eI(e){let{request:t,onSubmit:r,onCancel:l,onChatAboutThis:s}=e,[o,i]=(0,a.useState)(()=>Object.fromEntries(t.questions.map(e=>[e.id,new Set]))),[c,d]=(0,a.useState)({}),[u,m]=(0,a.useState)({}),p=1===t.questions.length?t.questions[0].header:"Pick options",h=(0,a.useMemo)(()=>{for(let r of t.questions){var e;let t=null!=(e=o[r.id])?e:new Set,n=eA(r,o,u);if(0===t.size&&!n)return!1}return!0},[t.questions,o,u]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(ew.c7,{children:[(0,n.jsx)(ew.L3,{children:p}),1===t.questions.length?(0,n.jsx)(ew.rr,{children:t.questions[0].question}):(0,n.jsxs)(ew.rr,{children:[t.questions.length," questions"]})]}),(0,n.jsx)(eN.F,{className:"max-h-[60vh] pr-2",children:(0,n.jsx)("div",{className:"flex flex-col gap-6 py-2",children:t.questions.map(e=>{var t;return(0,n.jsx)(eE,{question:e,isSelected:t=>{var r,n,a;return r=e.id,null!=(a=null==(n=o[r])?void 0:n.has(t))&&a},onToggle:t=>{i(r=>{var n;let a={...r},l=new Set(null!=(n=a[e.id])?n:[]);return e.multiSelect?l.has(t)?l.delete(t):l.add(t):(l.clear(),l.add(t),m(t=>({...t,[e.id]:!1}))),a[e.id]=l,a})},otherActive:eA(e,o,u),onToggleOther:()=>{e.multiSelect?m(t=>{var r;return{...t,[e.id]:!(null!=(r=t[e.id])&&r)}}):i(t=>{let r={...t};return r[e.id]=new Set([eS]),r})},otherText:null!=(t=c[e.id])?t:"",onOtherText:t=>d(r=>({...r,[e.id]:t}))},e.id)})})}),(0,n.jsxs)(ew.Es,{className:"flex-wrap gap-2 sm:justify-between",children:[(0,n.jsx)(ej.$,{variant:"ghost",onClick:s,"aria-label":"Chat about this",children:"\uD83D\uDCAC Chat about this"}),(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)(ej.$,{variant:"outline",onClick:l,children:"Cancel"}),(0,n.jsx)(ej.$,{onClick:function(){let e={},n={};for(let r of t.questions){var a,l;let t=Array.from(null!=(a=o[r.id])?a:[]);if(eA(r,o,u)&&!t.includes(eS)&&t.push(eS),0!==t.length&&(r.multiSelect?e[r.id]=t:e[r.id]=t[0],t.includes(eS))){let e=(null!=(l=c[r.id])?l:"").trim();e.length>0&&(n[r.id]=e)}}let s={answers:e};Object.keys(n).length>0&&(s.otherText=n),r(s)},disabled:!h,children:"Submit"})]})]})]})}function eE(e){var t,r;let{question:a}=e;return(0,n.jsxs)("section",{className:"flex flex-col gap-2",children:[""!==e.question.id?(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("span",{className:"rounded-full bg-primary/15 px-2 py-0.5 text-xs font-medium text-primary",children:a.header}),a.multiSelect?(0,n.jsx)("span",{className:"text-xs text-muted-foreground",children:"multi-select"}):null]}):null,(0,n.jsxs)("div",{className:"flex flex-col gap-1.5",children:[a.options.map(t=>{var r;return(0,n.jsx)(eR,{multi:null!=(r=a.multiSelect)&&r,option:t,selected:e.isSelected(t.label),onToggle:()=>e.onToggle(t.label)},t.label)}),null==(t=a.includeOther)||t?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eR,{multi:null!=(r=a.multiSelect)&&r,option:{label:"Other",description:"Type your own response"},selected:e.otherActive,onToggle:e.onToggleOther}),e.otherActive?(0,n.jsx)(ek.p,{value:e.otherText,onChange:t=>e.onOtherText(t.target.value),placeholder:"Type your own response","aria-label":"Other response",className:"ml-8"}):null]}):null]})]})}function eR(e){let{multi:t,option:r,selected:a,onToggle:l}=e;return(0,n.jsxs)("button",{type:"button",role:t?"checkbox":"radio","aria-checked":a,onClick:l,className:"\n flex items-start gap-3 rounded-md border p-3 text-left\n transition-colors\n ".concat(a?"border-primary bg-primary/10":"border-border hover:bg-muted/40","\n "),children:[(0,n.jsx)("span",{className:"mt-0.5 flex h-5 w-5 shrink-0 items-center justify-center ".concat(t?"rounded":"rounded-full"," border ").concat(a?"border-primary bg-primary text-primary-foreground":"border-muted-foreground/40"),"aria-hidden":"true",children:a?t?"✓":"●":null}),(0,n.jsxs)("span",{className:"flex flex-col gap-0.5",children:[(0,n.jsx)("span",{className:"font-medium",children:r.label}),(0,n.jsx)("span",{className:"text-sm text-muted-foreground",children:r.description}),r.preview?(0,n.jsx)("span",{className:"mt-1 rounded bg-muted/40 px-2 py-1 text-xs font-mono text-muted-foreground",children:r.preview}):null]})]})}function eA(e,t,r){var n,a,l;return e.multiSelect?null!=(a=r[e.id])&&a:null!=(l=null==(n=t[e.id])?void 0:n.has(eS))&&l}function eD(e){if(void 0===e)return"";if("string"==typeof e)return e;try{var t;return null!=(t=JSON.stringify(e,null,2))?t:""}catch(e){return""}}function eq(e){let{request:t,receivedAt:r,onChoose:l,onCancel:s}=e,[o,i]=(0,a.useState)(()=>Date.now());(0,a.useEffect)(()=>{if(!t)return;i(Date.now());let e=setInterval(()=>i(Date.now()),1e3);return()=>clearInterval(e)},[t]);let c=t?eD(t.toolCall.rawInput):"",d=t?function(e){if(e&&"object"==typeof e&&!Array.isArray(e)){for(let t of["file_path","filePath","path","command","cmd"])if("string"==typeof e[t])return e[t].slice(0,80)}return eD(e).replace(/\s+/g," ").slice(0,80)}(t.toolCall.rawInput):"",u=Math.max(0,Math.ceil((r+6e4-o)/1e3));return(0,n.jsx)(ew.lG,{open:null!==t,onOpenChange:e=>{!e&&t&&s(t)},children:(0,n.jsx)(ew.Cf,{className:"max-w-lg",children:t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(ew.c7,{children:[(0,n.jsx)(ew.L3,{children:"이 작업을 실행할까요?"}),(0,n.jsxs)(ew.rr,{children:["도구: ",t.toolCall.title]})]}),d&&(0,n.jsx)("p",{className:"truncate font-mono text-sm",title:d,children:d}),c&&(0,n.jsxs)("details",{className:"text-sm",children:[(0,n.jsx)("summary",{className:"cursor-pointer",children:"자세히"}),(0,n.jsx)("pre",{className:"mt-2 max-h-48 overflow-auto whitespace-pre-wrap break-all rounded bg-muted p-2",children:c})]}),(0,n.jsxs)("p",{className:"text-xs text-muted-foreground","aria-live":"off",children:["남은 시간: ",u,"초"]}),(0,n.jsxs)(ew.Es,{className:"flex-wrap gap-2",children:[(0,n.jsx)(ej.$,{onClick:()=>l(t,"allow_once"),children:"이번만 허용"}),(0,n.jsx)(ej.$,{variant:"outline",onClick:()=>l(t,"allow_always"),children:"이 도구는 항상 허용"}),(0,n.jsx)(ej.$,{variant:"outline",onClick:()=>l(t,"reject_once"),children:"거절"})]})]})})})}let eT={outcome:{outcome:"cancelled"}},eL=["allow_once","allow_always","reject_once","reject_always"],eU="unverified";var eO=r(26830),eF=r(69298);function eM(e,t){var r;return"error"!==t.kind?null:null!=(r=function(e){if(!e||"object"!=typeof e)return null;let{error:t,message:r,holder:n}=e;return"turn_busy"!==t?null:{message:"string"==typeof r?r:"This session is currently receiving input. Please try again when that turn finishes.",holder:"string"==typeof n&&n.trim()?n:null}}(t.payload))?r:e}var eP=r(58601);function eY(e){return"string"==typeof e.mediaType&&e.mediaType.toLowerCase().startsWith("image/")}async function e_(e,t){let r=e.downloadUrl.startsWith("http")?e.downloadUrl:"".concat(t.baseUrl.replace(/\/$/,"")).concat(e.downloadUrl),n={};t.token&&(n.authorization="Bearer ".concat(t.token));let a=await fetch(r,{headers:n});if(!a.ok)throw Error("fetch attachment ".concat(e.id," failed: ").concat(a.status));return function(e){let t=new Uint8Array(e),r="";for(let e=0;e<t.length;e+=32768)r+=String.fromCharCode(...t.subarray(e,e+32768));return btoa(r)}(await a.arrayBuffer())}async function eJ(e,t,r){if(0===t.length)return null;let n=[];for(let a of(e.length>0&&n.push({type:"text",text:e}),t))if(eY(a))try{let e=await e_(a,r);n.push({type:"image",mimeType:a.mediaType,data:e})}catch(t){let e=t instanceof Error?t.message:String(t);n.push({type:"text",text:"[image fetch failed: ".concat(a.filename," — ").concat(e,"]")})}else n.push({type:"resource_link",uri:a.path?"file://".concat(a.path):a.downloadUrl,mimeType:a.mediaType,name:a.filename});return n}let ez="elanous.pwa.pendingCardFollowups";function e$(e,t){try{var r;let n=JSON.parse(null!=(r=e.getItem(ez))?r:"[]");if(!Array.isArray(n))return[];return n.filter(e=>!!e&&"object"==typeof e&&"string"==typeof e.sessionId&&e.sessionId.length>0&&"string"==typeof e.id&&e.id.length>0&&"number"==typeof e.startedAt&&Number.isFinite(e.startedAt)&&e.startedAt<=t&&t-e.startedAt<9e5)}catch(e){return[]}}function eQ(e,t){try{t.length?e.setItem(ez,JSON.stringify(t)):e.removeItem(ez)}catch(e){}}function eG(){try{return window.localStorage}catch(e){return}}async function eK(e,t,r,n){let a=await e.fetchResponse("/v1/card-followup",{...n?{signal:n}:{},method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({attachmentId:t,...void 0===r?{}:{context:r}})});if(!a.ok)throw Error("card followup start failed: ".concat(a.status));let l=await a.json();if("string"!=typeof l.id||!l.id)throw Error("card followup start returned no id");return l.id}async function eW(e,t){let r,{intervalMs:n=3e3,signal:a,onStatus:l,startedAt:s}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=void 0===s?6e5:Math.max(0,s+9e5-Date.now()),i=Date.now()+o,c={status:"failed"},d=new AbortController,u=a?AbortSignal.any([a,d.signal]):d.signal,m=!1,p=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise((r,n)=>{let l;if(u.aborted){var s;n(null!=(s=null==a?void 0:a.reason)?s:Error("aborted"));return}let o="undefined"==typeof document?void 0:document,i=()=>{clearTimeout(l),null==o||o.removeEventListener("visibilitychange",c),u.removeEventListener("abort",d)},c=()=>{(null==o?void 0:o.visibilityState)!=="hidden"&&(i(),r())},d=()=>{var e;i(),n(null!=(e=null==a?void 0:a.reason)?e:Error("aborted"))};l=setTimeout(()=>{i(),r()},e),t&&(null==o||o.addEventListener("visibilitychange",c)),u.addEventListener("abort",d,{once:!0})})},h=async()=>{for(;Date.now()<i;){var r,s;if(null==a?void 0:a.aborted)throw null!=(r=a.reason)?r:Error("aborted");if("undefined"!=typeof document&&"hidden"===document.visibilityState){await p(i-Date.now(),!0);continue}let o=await e.fetchResponse("/v1/card-followup/".concat(encodeURIComponent(t)),{signal:u});if(!o.ok)throw Error("card followup poll failed: ".concat(o.status));let d=await o.json();if(null==a?void 0:a.aborted)throw null!=(s=a.reason)?s:Error("aborted");if(m)return c;if(null==l||l(d.status),"done"===d.status||"not-card"===d.status||"failed"===d.status)return d;await p(Math.min(Math.max(0,n),Math.max(0,i-Date.now())))}return null==l||l("failed"),c};try{return await Promise.race([h(),new Promise(e=>{r=setTimeout(()=>{m=!0,d.abort(),null==l||l("failed"),e(c)},o)})])}finally{clearTimeout(r)}}function eH(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{compact:c}=(0,u.K)(),[p,h]=(0,a.useState)(!1),[x,v]=(0,a.useState)(!1),[y,j]=(0,a.useState)(0),[T,L]=(0,a.useState)(0),U=(0,a.useRef)(null);(0,a.useEffect)(()=>{if(!p)return;let e=e=>{U.current&&U.current.contains(e.target)||h(!1)},t=e=>{"Escape"===e.key&&h(!1)};return document.addEventListener("pointerdown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("pointerdown",e),document.removeEventListener("keydown",t)}},[p]),(0,a.useEffect)(()=>{c||h(!1)},[c]);let{client:O,config:F,sessionId:M,setSessionId:P}=(0,m.Q)(),[Y,_]=(0,a.useState)([]),[J,z]=(0,a.useState)(),[K,W]=(0,a.useState)(!1),[H,B]=(0,a.useState)([]),Z=(0,a.useRef)([]),V=(0,a.useRef)(M),X=(0,a.useRef)(M),ee=(0,a.useRef)(null),et=(0,a.useRef)(0),ei=(0,a.useRef)(0),ec=(0,a.useRef)(!1),[ed,eu]=(0,a.useState)(null),em=V.current!==M&&ee.current!==M?[]:H;(0,a.useLayoutEffect)(()=>{X.current=M,V.current!==M&&(ee.current!==M&&(et.current++,Z.current=[],B([]),_([]),eS.current&&W(!1)),V.current=M,ee.current=null)},[M]);let ep=e=>{Z.current=e,B(e)},[eh,eg]=(0,a.useState)(null),[ew,ej]=(0,a.useState)(null),[ek,eN]=(0,a.useState)([]),eS=(0,a.useRef)(null),eI=(0,a.useRef)(null);(0,a.useEffect)(()=>()=>{var e;eI.current!==X.current&&(null==(e=eS.current)||e.abort())},[M]),(0,a.useEffect)(()=>()=>{var e;null==(e=eS.current)||e.abort()},[]);let[eE,eR]=(0,a.useState)({visible:!1,depth:0});(0,a.useEffect)(()=>{let e=()=>eR(e=>D(e,"end",!1));return window.addEventListener("dragend",e),()=>window.removeEventListener("dragend",e)},[]);let eA=(0,a.useRef)(!1),eD=(0,a.useRef)(null),e_=(0,a.useRef)(null),[ez,eH]=(0,a.useState)(null),eB=(0,a.useMemo)(()=>{try{let e=new URLSearchParams(window.location.search);return"on"===e.get("debug-tap")}catch(e){return!1}},[]),[eZ,eV]=(0,a.useState)(eB),eX=(0,a.useMemo)(()=>{let e=[];for(let t of Y)if(Array.isArray(t.blocks)){for(let r of t.blocks)if("debug_session"===r.kind)for(let t of r.lines)e.push({seq:t.seq,category:t.category,event:t.event,...void 0!==t.data?{data:t.data}:{},loggedAt:t.loggedAt})}return e},[Y]),e0=(0,a.useRef)(async()=>{}),e1=(0,a.useRef)(!1);e1.current=K;let e2=(0,a.useRef)(async()=>{}),e3=O.voiceWsUrl(),e5=(0,a.useCallback)(e=>{let t=e.trim();if(t){if(e1.current)return void(0,g.cY)("chat.voice.skip-pending",{len:t.length});(0,g.cY)("chat.voice.auto-send",{len:t.length}),e0.current(t)}},[]),e4=(0,ev.sS)({wsUrl:e3,...F.token?{token:F.token}:{},onTranscript:e5}),e6=!!F.baseUrl;e2.current=()=>e4.toggle();let[e8,e7]=(0,a.useState)(!1),e9=(0,ey.$)({enabled:e4.active&&!e8,language:"ko-KR"}),te=(0,a.useCallback)(()=>{null==ew||ew.abort(),(0,g.cY)("webterm.chat.stop",{had:!!ew})},[ew]);(0,a.useEffect)(()=>{if(!ew)return;let e=e=>{var t;if("Escape"!==e.key)return;let r=e.target,n=null==r||null==(t=r.tagName)?void 0:t.toLowerCase();"input"===n||"textarea"===n||null!=r&&r.isContentEditable||(e.preventDefault(),te())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[ew,te]),(0,a.useEffect)(()=>{let e=e=>{"m"===e.key.toLowerCase()&&e.shiftKey&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),(0,g.cY)("chat.voice.shortcut.toggle"),e2.current())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[]);let tt=(0,a.useCallback)(e=>{eN(t=>[...t,...e]),(0,g.cY)("webterm.chat.attach.queue",{added:e.length,filenames:e.map(e=>e.filename)})},[]),tr=async e=>{let{files:t,tooLarge:r,tooMany:n}=e;if(r&&eF.oR.error("".concat(r," files exceed the 20 MB attachment limit")),n&&eF.oR.error("".concat(n," files exceed the 10-file attachment limit")),0===t.length)return;if(!F.baseUrl)return void eF.oR.error("Daemon URL 미설정 — Settings 에서 입력");let a=await (0,eP.K)(t,{baseUrl:F.baseUrl,...F.token?{token:F.token}:{}}),l=a.filter(e=>e.ok).map(e=>e.meta),s=a.filter(e=>!e.ok);l.length&&(tt(l),eF.oR.success(1===l.length?"\uD83D\uDCCE ".concat(l[0].filename):"\uD83D\uDCCE ".concat(l.length," files attached"))),s.length&&eF.oR.error(1===s.length?"업로드 실패: ".concat(s[0].reason.slice(0,80)):"".concat(s.length," 파일 업로드 실패"))};(0,a.useEffect)(()=>{try{let e=window.sessionStorage.getItem("elanous.pwa.shareAttachments");if(!e)return;window.sessionStorage.removeItem("elanous.pwa.shareAttachments");let t=JSON.parse(e);if(!Array.isArray(t)||0===t.length)return;eN(e=>[...e,...t]);let r=1===t.length?"1 file shared from another app":"".concat(t.length," files shared from another app");eF.oR.success(r),(0,g.cY)("pwa.chat.share-attachments.consume",{count:t.length})}catch(e){(0,g.cY)("pwa.chat.share-attachments.parse-failed",{reason:e instanceof Error?e.message:String(e)})}},[]),(0,a.useEffect)(()=>{if(!M)return;let e=!0;return(async()=>{try{let t=await O.fetchJson("/v1/sessions/store/".concat(encodeURIComponent(M),"?ifExists=1"));if(!e||!(null==t?void 0:t.messages)||0===t.messages.length)return;_(e=>e.some(e=>!e.id.startsWith("m-card-resume-"))?e:[...function(e,t){let r,n,a=[],l=[];for(let o of e){var s;if("tool"===o.role){for(let e of(0===l.length&&(n=o.ts),function(e,t){let r,n=function(e,t){var r,n;let a,l=String(null!=(r=e.toolName)?r:"");try{a=JSON.parse(String(null!=(n=e.toolResult)?n:""))}catch(e){a=void 0}let s=a&&"object"==typeof a&&!Array.isArray(a)?a:void 0,o=null==s?void 0:s._meta,i=o&&"object"==typeof o&&!Array.isArray(o)?o.ui:void 0,c=i&&"object"==typeof i&&!Array.isArray(i)?i.resourceUri:void 0,d=null==s?void 0:s["ui/resourceUri"],u="string"==typeof c?c:"string"==typeof d?d:void 0;return void 0!==u&&""!==u.trim()?{kind:"mcp_app",toolId:t,toolName:l,screenUrl:u,...void 0!==a?{toolResult:a}:{}}:{kind:"tool_use",id:t,name:l,status:"done",...void 0!==s&&void 0!==e.toolArgs?{args:{raw:String(e.toolArgs)}}:{}}}(e,t);try{var a;r=JSON.parse(String(null!=(a=e.toolResult)?a:""))}catch(e){r=void 0}let l=(0,G.uS)(r).map(e=>({kind:"image",...e})),s=[];return(0,G.ki)(s,null!=r?r:e.toolResult),[...l,n,...s]}(o,"restore-tool-".concat(l.length,"-").concat(a.length))))"image"===e.kind&&l.some(t=>"image"===t.kind&&t.src===e.src)||l.push(e);continue}if("user"!==o.role&&"assistant"!==o.role)continue;let e=String(null!=(s=o.content)?s:""),i=String(null!=e?e:"").split("\n").filter(e=>!/^\[tool_(use|result)\]$/.test(e.trim())).join("\n"),c="assistant"===o.role?"assistant":"user";if(""===i.trim()){l.length>0&&"assistant"===c&&(a.push({id:"restore-".concat(a.length),role:c,text:"",blocks:l,timestamp:en(n,t+a.length)}),l=[],n=void 0);continue}let d=i!==e,u=void 0!==r&&r.role===c&&r.text===i&&(d||r.wasStripped)&&0===l.length;if(r={role:c,text:i,wasStripped:d},u)continue;let m=l.length>0&&"assistant"===c?[...l,{kind:"text",text:i}]:void 0,p=en(void 0!==m?n:o.ts,t+a.length);void 0!==m&&(l=[],n=void 0),a.push({id:"restore-".concat(a.length),role:c,text:i,...void 0!==m?{blocks:m}:{},timestamp:p})}return l.length>0&&a.push({id:"restore-".concat(a.length),role:"assistant",text:"",blocks:l,timestamp:en(n,t+a.length)}),a}(t.messages,Date.now()),...e])}catch(e){}})(),()=>{e=!1}},[M,O]);let tn=(0,a.useCallback)(e=>{eN(t=>t.filter(t=>t.id!==e))},[]),ta={client:O,sessionId:M,provider:F.provider,setSessionId:P,daemon:{baseUrl:F.baseUrl,...F.token?{token:F.token}:{}},messages:Y},tl=e=>{_(t=>[...t,e])},ts=async(e,t,r,n,a)=>{var l;let s=await eW(O,e,{signal:n.signal,...void 0===a?{}:{startedAt:a},onStatus:e=>(0,g.cY)("pwa.chat.card-followup",{phase:"poll",status:e})});if(n.signal.aborted||X.current!==t)return"terminal";let o=eG();return(o&&function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Date.now();eQ(e,e$(e,n).filter(e=>e.sessionId!==t||e.id!==r))}(o,t,e),"not-card"===s.status)?(_(e=>e.filter(e=>e.id!==r)),(0,g.cY)("pwa.chat.card-followup",{phase:"fallback",status:s.status}),"not-card"):("done"===s.status&&(null==(l=s.replies)?void 0:l.length)===3&&s.replies.every(e=>"string"==typeof e)?(_(e=>[...e.filter(e=>e.id!==r),...s.replies.map((e,t)=>({id:"".concat(r,"-").concat(t),role:"assistant",text:e,timestamp:Date.now(),meta:{provider:F.provider}}))]),(0,g.cY)("pwa.chat.card-followup",{phase:"complete",status:"done"})):(_(e=>e.map(e=>e.id===r?{...e,text:"명함 정리에 실패했습니다 — 다시 보내 주세요"}:e)),(0,g.cY)("pwa.chat.card-followup",{phase:"complete",status:"failed"})),"terminal")};(0,a.useEffect)(()=>{if(!M)return;let e=eG();if(!e)return;let t=(function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now(),n=e$(e,r);return eQ(e,n),n.filter(e=>e.sessionId===t)})(e,M).map(e=>{let{id:t,startedAt:r}=e,n=new AbortController,a="m-card-resume-".concat(t);return _(e=>e.some(e=>e.id===a)?e:[...e,{id:a,role:"assistant",text:"명함 읽는 중… 조사 중…",timestamp:r,meta:{provider:F.provider}}]),ts(t,M,a,n,r).catch(()=>{n.signal.aborted||X.current!==M||_(e=>e.map(e=>e.id===a?{...e,text:"명함 정리에 실패했습니다 — 다시 보내 주세요"}:e))}),n});return()=>{t.forEach(e=>e.abort())}},[O,M]);let to=async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];eg(e=>eM(e,{kind:"turn-begin"})),(0,g.cY)("webterm.chat.input",{len:e.length,attachCount:ek.length});let n=t?[]:ek;t||eN([]);let a=t?{ok:!1}:function(e,t){if(1!==t.length||!t[0]||!eY(t[0])||!t[0].id)return{ok:!1};let r=e.trim();if(!r)return{ok:!0,attachmentId:t[0].id};let n=r.replace(/메일\s*초안/g,"메일초안").split(/[\s,]+/).filter(Boolean);return!n.length||n.some(e=>!/^(?:명함|전략|메일초안|crm)$/i.test(e))?{ok:!1}:{ok:!0,attachmentId:t[0].id,context:r}}(e,n),l=!1;if(a.ok){let t=X.current;if(!t){var s;ee.current=t=(0,ea.f6)(),X.current=t,null==(s=r.onSessionAdopt)||s.call(r,t),P(t)}let o=new AbortController;eS.current=o,eI.current=t,l=!0,e.length>0&&tl((0,G.tw)(e)),tl((0,G.$Q)("\uD83D\uDCCE attached: ".concat(n.map(e=>e.filename).join(", "))));let i="m-card-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,6));tl({id:i,role:"assistant",text:"명함 읽는 중… 조사 중…",timestamp:Date.now(),meta:{provider:F.provider}}),W(!0),(0,g.cY)("pwa.chat.card-followup",{phase:"start",status:"judging"});try{let e=await eK(O,a.attachmentId,a.context,o.signal);if(o.signal.aborted||X.current!==t)return;let r=eG(),n=Date.now();r&&function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now(),n=e$(e,r).filter(e=>e.sessionId!==t.sessionId||e.id!==t.id);if(!t.sessionId||!t.id||!Number.isFinite(t.startedAt)||t.startedAt>r||r-t.startedAt>=9e5)return eQ(e,n);eQ(e,[...n,t])}(r,{sessionId:t,id:e,startedAt:n});let l=await ts(e,t,i,o,n);if("terminal"===l||o.signal.aborted||X.current!==t)return}catch(e){if(o.signal.aborted||X.current!==t)return;_(e=>e.map(e=>e.id===i?{...e,text:"명함 정리에 실패했습니다 — 다시 보내 주세요"}:e)),(0,g.cY)("pwa.chat.card-followup",{phase:"complete",status:"failed"});return}finally{eS.current===o&&(eS.current=null),o.signal.aborted||X.current!==t||(W(!1),eg(e=>eM(e,{kind:"turn-end"})))}}let o=n.filter(eY),i=n.filter(e=>!eY(e)),c=function(e){if(!e)return!0;let t=e.toLowerCase();return!!("auto"===t||t.startsWith("anthropic")||"anthropic"===t||t.startsWith("codex")||"openai-codex"===t||t.startsWith("openai")||"openai"===t||t.startsWith("gemini")||"gemini"===t||t.startsWith("grok")||"grok"===t||t.startsWith("local"))}(F.provider),d=o.length>0&&c;o.length>0&&!c&&eF.oR.warning("이 모델은 이미지 입력을 지원하지 않습니다 — ".concat(o.length,"개 이미지가 무시됩니다. (vision 모델로 전환 후 재첨부)"));let u=i.map(e=>e.path?"[attached] ".concat(e.path):"").filter(e=>e.length>0),m=u.length>0?"".concat(u.join("\n"),"\n\n").concat(e).trimEnd():e,p=null;if(d&&F.baseUrl)try{p=await eJ(m,o,{baseUrl:F.baseUrl,token:F.token})}catch(t){let e=t instanceof Error?t.message:String(t);(0,g.cY)("webterm.chat.attach.contentblock.error",{msg:e}),eF.oR.error("이미지 첨부 변환 실패 — 텍스트만 전송: ".concat(e)),p=null}!l&&(e.length>0&&tl((0,G.tw)(e)),n.length>0&&tl((0,G.$Q)("\uD83D\uDCCE attached: ".concat(n.map(e=>e.filename).join(", ")))));let h=e?await (0,G.yN)(e,ta):null;if(h){if("__CLEAR__"===h.text)_([]);else{let e=(0,G.$Q)(h.text);h.harnessAsk&&(e.blocks=[{kind:"harness_ask",acceptanceId:h.harnessAsk.acceptanceId}]),tl(e)}h.newSessionId&&(et.current++,ep([]),V.current=h.newSessionId,X.current=h.newSessionId,P(h.newSessionId));return}if(!F.baseUrl)return void tl((0,G.$Q)("error: daemon baseUrl not configured. Visit /settings."));W(!0),eA.current=!0;let f="m-stream-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,6));tl({id:f,role:"assistant",text:"",timestamp:Date.now(),meta:{provider:F.provider}});let x=new AbortController;ej(x);let b=0,v=e_.current,y=!!(v&&M&&F.baseUrl),w=null;(0,g.cY)("webterm.chat.runturn.path",{useAcpPath:y,hasAcp:!!v,hasSession:!!M});let j=e=>{_(t=>t.map(t=>t.id===f?{...t,text:e}:t)),e.length>b&&(e9.pushText(e.slice(b)),b=e.length)},k=e=>{_(t=>t.map(t=>t.id===f?{...t,blocks:e}:t))};try{y&&(w=O.connectAcp({sessionId:M}));let{message:e,newSessionId:t}=y?await (0,G.py)(w,m,{...ta,sessionId:await w.ready||M},{signal:x.signal,...p?{userContent:p}:{},onPartial:j,onPartialBlocks:k}):await (0,G.HD)(m,ta,{signal:x.signal,...p?{userContent:p}:{},...eZ?{debugTap:!0}:{},onPartial:j,onPartialBlocks:k,onError:e=>eg(t=>eM(t,{kind:"error",payload:e}))});eg(e=>eM(e,{kind:"turn-end"})),_(t=>t.map(t=>t.id===f?e:t)),t&&t!==M&&X.current===M&&(ee.current=t,X.current=t,P(t)),e9.flush()}catch(r){let e=x.signal.aborted,t=r instanceof Error?r.message:String(r);e9.cancel(),e?(_(e=>e.map(e=>e.id===f?{...e,meta:{...e.meta,stopReason:"aborted"}}:e)),(0,g.cY)("webterm.chat.runturn.stream.abort",{reason:t})):(_(e=>e.filter(e=>e.id!==f)),tl((0,G.$Q)("error: ".concat(t))),eF.oR.error("chat failed: ".concat(t)),(0,g.cY)("webterm.chat.runturn.error",{reason:t,useAcpPath:y}))}finally{null==w||w.close(),W(!1),ej(null),eA.current=!1}},ti=async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(ec.current||!t&&Z.current.length>0){var r,n;if(!t&&(ek.length>0||/^[\s]*[:/]/.test(e))){eF.oR.info("답이 끝난 뒤 보내 주세요"),z(t=>{var r;return{text:e,id:(null!=(r=null==t?void 0:t.id)?r:0)+1}});return}let a=(r=Z.current,(n={id:++ei.current,text:e}).text.trim()?r.length>=5?{queue:[...r],error:"줄이 찼습니다"}:{queue:[...r,{...n,text:n.text.trim()}]}:{queue:[...r]});a.error?(eF.oR.info(a.error),z(t=>{var r;return{text:e,id:(null!=(r=null==t?void 0:t.id)?r:0)+1}})):ep(a.queue);return}ec.current=!0;let a=et.current,l=X.current;try{await to(e,t)}finally{ec.current=!1,a!==et.current&&(0,g.cY)("webterm.chat.queue.session-changed",{turnSessionId:l,currentSessionId:X.current}),eu({generation:et.current,sessionId:X.current})}};(0,a.useEffect)(()=>{var e;if(ec.current||0===Z.current.length||!ed||ed.generation!==et.current||ed.sessionId!==M)return;let{entry:t,queue:r}={entry:(e=Z.current)[0],queue:e.slice(1)};t&&(ep(r),e0.current(t.text,!0))},[ed]),e0.current=ti,(0,a.useEffect)(()=>{eg(e=>eM(e,{kind:"session-change"}))},[M]),(0,a.useEffect)(()=>{if(!M||!F.baseUrl)return;let e=(0,G.lY)(O,M,{isLocalTurnInFlight:()=>eA.current,provider:F.provider,onPlaceholder:e=>{let{sessionId:t}=e;eg(e=>eM(e,{kind:"turn-begin"}));let r="m-obs-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,6)),n={id:r,role:"assistant",text:"",timestamp:Date.now(),meta:{provider:F.provider}};return(0,g.cY)("webterm.chat.observer.placeholder",{id:r,turnSessionId:t}),_(e=>[...e,n]),eD.current=r,r},onPartialBlocks:(e,t)=>{_(r=>r.map(r=>r.id===e?{...r,blocks:t}:r))},onFinalize:(e,t)=>{eg(e=>eM(e,{kind:"turn-end"})),_(r=>r.map(r=>r.id===e?t:r)),eD.current===e&&(eD.current=null)},onError:(e,t)=>{eg(e=>eM(e,{kind:"error",payload:t})),(0,g.cY)("webterm.chat.observer.error",{placeholderId:e,error:t.error}),_(r=>r.map(r=>r.id===e?{...r,meta:{...r.meta,stopReason:t.error}}:r)),eD.current===e&&(eD.current=null)}});return()=>{e()}},[O,M,F.baseUrl,F.provider]),(0,a.useEffect)(()=>{if(!M||!F.baseUrl)return;let e=O.subscribeChatFeedbackEvents(M,{agentStatus:{onFeedback:e=>{_(t=>{if(0===t.length)return t;for(let r=t.length-1;r>=0;r--){if("assistant"!==t[r].role)continue;let n=t[r],a=Array.isArray(n.blocks)?[...n.blocks]:[];if("applied"!==(0,eb.K4)(a,e))break;let l={...n,blocks:a};return[...t.slice(0,r),l,...t.slice(r+1)]}return t})},onError:e=>{(0,g.cY)("webterm.agent-status.error",e)}},hudSegment:{onFeedback:e=>(0,G.Ju)(e),onError:e=>{(0,g.cY)("webterm.hud-segment.error",e)}}});return()=>{e()}},[O,M,F.baseUrl]),(0,a.useEffect)(()=>{if(!M||!F.baseUrl)return;let e=null;try{e=O.connectAcp({sessionId:M,onSession:e=>{if(e&&e!==M){var t;(0,g.cY)("webterm.chat.acp.session-adopt",{previous:M,issued:e}),X.current===M&&(ee.current=e,X.current=e,null==(t=r.onSessionAdopt)||t.call(r,e),P(e))}}})}catch(e){(0,g.cY)("webterm.chat.acp.connect-failed",{reason:String(e)});return}e_.current=e,eH(e);let t=e;(0,g.x8)(async e=>{let r=JSON.parse(e);return await t.send("elanous/debug-logs/ingest",{records:r.records}),!0});let n=(0,G.ZH)(e,M,{isLocalTurnInFlight:()=>eA.current,isRemoteSseTurnInFlight:()=>null!==eD.current,onPlaceholder:e=>{let{sessionId:t}=e;eg(e=>eM(e,{kind:"turn-begin"}));let r="m-acp-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,6)),n={id:r,role:"assistant",text:"",timestamp:Date.now(),meta:{provider:F.provider}};return(0,g.cY)("webterm.chat.acp.foreign-placeholder",{id:r,turnSessionId:t}),_(e=>[...e,n]),r},onPartialBlocks:(e,t)=>{let r=t.find(e=>"text"===e.kind),n=t.some(e=>"image"===e.kind||"tool_use"===e.kind);_(a=>a.map(a=>a.id===e?{...a,...r?{text:r.text}:{},...n?{blocks:t}:{}}:a))},onFinalize:e=>{(0,g.cY)("webterm.chat.acp.foreign-finalize",{placeholderId:e})}});return()=>{n(),(0,g.x8)(null);try{null==e||e.close()}catch(e){}e_.current===e&&(e_.current=null),eH(null)}},[O,M,F.baseUrl,F.provider]);let tc=function(e){var t;let{acp:r,onComposerPrefill:n}=e,[l,s]=(0,a.useState)(null),o=(0,a.useRef)(null),i=(0,a.useCallback)(e=>{o.current=e,s(e)},[]),c=(0,a.useCallback)(e=>{let t=o.current;t&&(t.resolve(e),i(null))},[i]);(0,a.useEffect)(()=>{if(!r)return;let e=r.onRequest("elanous/ask/request",async e=>{let t=function(e){if(!e||"object"!=typeof e||"string"!=typeof e.id||!e.id||!e.request||"object"!=typeof e.request)return null;let t=e.request;return Array.isArray(t.questions)&&0!==t.questions.length?{id:e.id,request:e.request}:null}(e);if(!t)return{answers:{},cancelled:!0};let r=o.current;return r&&r.resolve({answers:{},cancelled:!0}),await new Promise(e=>{i({request:t.request,resolve:e,askId:t.id})})}),t=r.on("sessionUpdate",()=>{}),n=r.onAny(e=>{var t;if("elanous/ask/cancel"!==e.method||void 0!==e.id)return;let r=(t=e.params)&&"object"==typeof t&&"string"==typeof t.id&&t.id?{id:t.id,..."string"==typeof t.reason?{reason:t.reason}:{}}:null;if(!r)return;let n=o.current;n&&n.askId===r.id&&c({answers:{},cancelled:!0})});return()=>{e(),t(),n();let r=o.current;r&&(r.resolve({answers:{},cancelled:!0}),o.current=null)}},[r,i,c]);let d=(0,a.useCallback)(e=>{c(e)},[c]),u=(0,a.useCallback)(()=>{c({answers:{},cancelled:!0})},[c]),m=(0,a.useCallback)(()=>{let e=o.current;e&&n&&n(e.request),c({answers:{},cancelled:!0})},[c,n]);return{pendingRequest:null!=(t=null==l?void 0:l.request)?t:null,submit:d,cancel:u,chatAboutThis:m}}({acp:ez,onComposerPrefill:e=>{let t=e.questions[0];if(!t)return;let r="[ Q: ".concat(t.question.trim()," ]\n\n");(0,el.vn)(r),z(e=>{var t;return{text:r,id:(null!=(t=null==e?void 0:e.id)?t:0)+1}}),eF.oR.info("\uD83D\uDCAC 입력 영역에 질문 prefill 됨 (Chat about this)")}}),td=function(e){var t,r;let{acp:n,sessionId:l}=e,[s,o]=(0,a.useState)(null),i=(0,a.useRef)(null),c=(0,a.useRef)(l);c.current=l;let d=(0,a.useCallback)((e,t,r)=>{let n=i.current;n&&(!r||n.request===r)&&(i.current=null,clearTimeout(n.timer),o(null),(0,g.cY)("pwa.tool-approval.".concat("cancelled"===t?"cancelled":"decided"),{tool:eU,choice:t}),n.resolve(e))},[]);(0,a.useEffect)(()=>{if(!n)return;let e=n.onRequest("session/request_permission",e=>{let t=function(e){try{if(!e||"object"!=typeof e)return null;let t=e.toolCall;if(!t||"object"!=typeof t||"string"!=typeof e.sessionId||!e.sessionId||"string"!=typeof t.toolCallId||!t.toolCallId||"string"!=typeof t.title||!t.title||!Array.isArray(e.options))return null;let r=e.options.map(e=>{if(!e||"object"!=typeof e||"string"!=typeof e.optionId||!e.optionId||"string"!=typeof e.kind||!eL.includes(e.kind))throw Error("invalid option");return{optionId:e.optionId,kind:e.kind}});if(new Set(r.map(e=>e.optionId)).size!==r.length||new Set(r.map(e=>e.kind)).size!==r.length||["allow_once","allow_always","reject_once"].some(e=>!r.some(t=>t.kind===e)))return null;return{sessionId:e.sessionId,toolCall:{toolCallId:t.toolCallId,title:t.title,...void 0!==t.rawInput?{rawInput:t.rawInput}:{}},options:r}}catch(e){return null}}(e);return t&&t.sessionId===c.current?((0,g.cY)("pwa.tool-approval.requested",{tool:eU,choice:null}),d(eT,"cancelled"),new Promise(e=>{let r={request:t,receivedAt:Date.now(),resolve:e,timer:setTimeout(()=>{i.current===r&&d(eT,"cancelled")},6e4)};i.current=r,o(r)})):((0,g.cY)("pwa.tool-approval.cancelled",{tool:eU,choice:"cancelled"}),eT)}),t="function"==typeof n.onState?n.onState(e=>{("CLOSED"===e||"FAILED"===e)&&d(eT,"cancelled")}):()=>{};return()=>{e(),t(),d(eT,"cancelled")}},[n,d]),(0,a.useEffect)(()=>{i.current&&i.current.request.sessionId!==l&&d(eT,"cancelled")},[l,d]);let u=(0,a.useCallback)((e,t)=>{var r;if((null==(r=i.current)?void 0:r.request)!==e)return;let n=e.options.find(e=>e.kind===t);n&&d({outcome:{outcome:"selected",optionId:n.optionId}},t,e)},[d]),m=(0,a.useCallback)(e=>d(eT,"cancelled",e),[d]);return{pendingRequest:null!=(t=null==s?void 0:s.request)?t:null,receivedAt:null!=(r=null==s?void 0:s.receivedAt)?r:0,choose:u,cancel:m}}({acp:ez,sessionId:M}),tu=(0,n.jsxs)("button",{type:"button",onClick:()=>void e4.toggle(),disabled:!e6,title:e6?null!=(e=e4.errorMsg)?e:eO.g[e4.phase]:"daemon URL 미설정 — Settings 에서 Base URL 입력","data-elanous-action":"chat-voice-toggle",className:(0,Q.cn)("inline-flex items-center gap-1.5 rounded-full border px-2.5 py-1 text-xs font-medium transition-colors",e4.active?"border-rose-500/40 bg-rose-500/10 text-rose-600 hover:bg-rose-500/20":"border-border bg-background text-foreground hover:bg-muted",!e6&&"cursor-not-allowed opacity-50"),children:[(0,n.jsx)("span",{className:(0,Q.cn)("h-2 w-2 rounded-full",eO.x[e4.phase],("listening"===e4.phase||"speaking"===e4.phase)&&"animate-pulse"),"aria-hidden":!0}),e4.active?(0,n.jsx)(s.A,{className:"h-3.5 w-3.5"}):(0,n.jsx)(o.A,{className:"h-3.5 w-3.5"}),(0,n.jsx)("span",{className:"hidden sm:inline",children:eO.g[e4.phase]})]});return(0,n.jsxs)("div",{className:"relative flex h-full flex-col",onPaste:e=>{let t=function(e,t){if(!e)return E([]);let r=[];if(e.items.length>0)for(let t of Array.from(e.items)){if("file"!==t.kind)continue;let e=t.getAsFile();e&&r.push(e)}else r.push(...Array.from(e.files));return E(r.map(e=>({file:e,filename:e.name||"paste-".concat(t,".png")})))}(e.clipboardData,Date.now());(0!==t.files.length||0!==t.tooLarge||0!==t.tooMany)&&(e.preventDefault(),tr(t))},onDragEnter:e=>{eR(t=>D(t,"enter",R(e.dataTransfer)))},onDragLeave:e=>{eR(t=>D(t,"leave",R(e.dataTransfer)))},onDragOver:e=>{R(e.dataTransfer)&&e.preventDefault()},onDrop:e=>{var t;eR(t=>D(t,"drop",R(e.dataTransfer)));let r=E((t=e.dataTransfer)?Array.from(t.files,e=>({file:e,filename:e.name})):[]);(0!==r.files.length||0!==r.tooLarge||0!==r.tooMany)&&(e.preventDefault(),tr(r))},children:[eE.visible&&(0,n.jsx)(A,{}),r.mobileSimple&&c&&(0,n.jsx)(N,{activity:null!=(t=r.mobileActivity)?t:{kind:"loading"},decisions:T,menu:(0,n.jsxs)("div",{ref:U,className:"relative shrink-0",children:[(0,n.jsx)("button",{type:"button","aria-label":"채팅 메뉴","aria-expanded":p,"aria-controls":"chat-mobile-menu",onClick:()=>h(e=>!e),className:"rounded-lg p-1 hover:bg-muted",children:(0,n.jsx)(i.A,{className:"h-5 w-5","aria-hidden":"true"})}),p&&(0,n.jsxs)("div",{id:"chat-mobile-menu",className:"absolute right-0 top-full z-50 mt-2 flex max-h-[70dvh] w-[min(19rem,calc(100vw-1rem))] flex-col gap-2 overflow-y-auto rounded-lg border border-border bg-popover p-3 shadow-lg",children:[(0,n.jsxs)("nav",{"aria-label":"채팅 이동",className:"flex gap-3 text-sm",children:[(0,n.jsx)(d(),{href:"/",className:"rounded px-2 py-1 hover:bg-muted",children:"홈"}),(0,n.jsx)(d(),{href:"/workspace",className:"rounded px-2 py-1 hover:bg-muted",children:"워크스페이스"}),(0,n.jsx)(d(),{href:"/settings",className:"rounded px-2 py-1 hover:bg-muted",children:"설정"})]}),r.conversationButton,(0,n.jsx)(q.Qh,{sessionId:M,...r.onAttachRequest?{onAttachRequest:r.onAttachRequest}:{},...r.onForgetRequest?{onForgetRequest:r.onForgetRequest}:{}}),(0,n.jsx)($,{compact:!0}),(0,n.jsx)(b,{}),(0,n.jsx)(l.vG,{children:(0,n.jsx)(es.rm,{})}),(0,n.jsx)(l.vG,{children:(0,n.jsx)(eo.D,{})}),tu]})]})}),c&&!r.mobileSimple?(0,n.jsxs)("div",{"data-elanous-chat-compact-header":"",className:"flex h-11 max-h-11 min-w-0 shrink-0 items-center gap-2 border-b border-border bg-background px-3 whitespace-nowrap",children:[r.leading&&(0,n.jsx)("div",{className:"shrink-0",children:r.leading}),(0,n.jsx)("div",{className:"min-w-0 flex-1 [&>div]:min-w-0 [&>div]:max-w-full [&>div>div:first-child]:min-w-0 [&>div>div:first-child]:max-w-full [&>div>div:first-child]:overflow-hidden [&>div>div:first-child>span:last-child]:shrink-0 [&>div>div:first-child_span]:min-w-0 [&>div>div:first-child_span]:truncate [&>div>div[role=menu]]:max-w-[calc(100vw-4rem)]",children:(0,n.jsx)(q.Qh,{sessionId:M,...r.onAttachRequest?{onAttachRequest:r.onAttachRequest}:{},...r.onForgetRequest?{onForgetRequest:r.onForgetRequest}:{}})}),(0,n.jsx)("div",{className:"min-w-0 shrink-0",children:(0,n.jsx)($,{compact:!0})}),(0,n.jsx)(b,{}),(0,n.jsxs)("div",{ref:U,className:"relative shrink-0",children:[(0,n.jsx)("button",{type:"button","aria-label":"채팅 더보기","aria-expanded":p,"aria-controls":"chat-header-more",onClick:()=>h(e=>!e),className:"inline-flex h-8 w-8 items-center justify-center rounded-lg hover:bg-muted",children:(0,n.jsx)(i.A,{className:"h-5 w-5","aria-hidden":"true"})}),p&&(0,n.jsxs)("div",{id:"chat-header-more",className:"absolute right-0 top-full z-50 mt-1 flex max-w-[calc(100vw-1.5rem)] flex-col gap-2 rounded-lg border border-border bg-popover p-3 shadow-lg",children:[(0,n.jsx)(l.vG,{children:(0,n.jsx)(es.rm,{})}),(0,n.jsx)(l.vG,{children:(0,n.jsx)(eo.D,{})}),tu]})]})]}):r.mobileSimple&&c?null:(0,n.jsxs)("div",{className:"flex shrink-0 items-center justify-between gap-3 border-b border-border bg-background px-4 py-2",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)(q.Qh,{sessionId:M,...r.onAttachRequest?{onAttachRequest:r.onAttachRequest}:{},...r.onForgetRequest?{onForgetRequest:r.onForgetRequest}:{}}),(0,n.jsx)(l.vG,{children:(0,n.jsx)(es.rm,{})}),(0,n.jsx)(l.vG,{children:(0,n.jsx)(eo.D,{})})]}),(0,n.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,n.jsx)($,{}),(0,n.jsx)(b,{}),tu]})]}),!(r.mobileSimple&&c)&&(0,n.jsx)(f,{}),r.mobileSimple&&c&&y+T>0&&(0,n.jsx)("div",{className:"shrink-0 px-3 py-1.5",children:(0,n.jsxs)("button",{type:"button","aria-expanded":x,"aria-controls":"chat-mobile-actions",onClick:()=>v(e=>!e),className:"rounded-full border border-border bg-muted px-3 py-1 text-xs font-medium",children:["승인\xb7결정 ",y+T]})}),r.mobileSimple&&c?(0,n.jsxs)("div",{id:"chat-mobile-actions",children:[(0,n.jsx)(w,{mobileOpen:x,onCount:j}),(0,n.jsx)(k,{mobileOpen:x,onCount:L})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(w,{}),(0,n.jsx)(k,{})]}),!(r.mobileSimple&&c)&&(0,n.jsx)(er,{}),(0,n.jsxs)("div",{className:"relative flex flex-1 min-h-0 flex-col",children:[(0,n.jsx)(S.D,{messages:Y,pending:K,mobileSimple:!!(r.mobileSimple&&c),...r.tabId?{tabId:r.tabId}:{}}),eh&&(0,n.jsxs)("div",{role:"alert",className:"mx-4 mb-3 flex shrink-0 items-start justify-between gap-3 rounded-md border border-amber-500/40 bg-amber-500/10 px-3 py-2 text-sm text-foreground","data-elanous-turn-busy-banner":"",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"font-medium",children:"이 대화는 지금 응답 중입니다"}),(0,n.jsx)("p",{className:"text-muted-foreground",children:eh.message}),(0,n.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:eh.holder?"Current input holder: ".concat(eh.holder):"The current input holder is not available."})]}),(0,n.jsx)("button",{type:"button",onClick:()=>eg(null),className:"rounded px-2 py-1 text-xs text-muted-foreground hover:bg-amber-500/10 hover:text-foreground","aria-label":"응답 중 알림 닫기",children:"Dismiss"})]}),(0,n.jsx)(ef,{active:e4.active,phase:e4.phase,errorMsg:e4.errorMsg,onToggle:()=>void e4.toggle(),ttsSupported:e9.supported,ttsMuted:e8,onTtsToggle:()=>e7(e=>!e),onInterrupt:()=>{try{e9.cancel()}catch(e){}e4.interrupt()}})]}),K&&ew&&(0,n.jsxs)("div",{className:"flex shrink-0 items-center justify-end gap-2 border-t border-border bg-muted/30 px-4 py-1.5 text-xs",children:[(0,n.jsx)("span",{className:"text-muted-foreground",children:"streaming…"}),(0,n.jsx)("button",{type:"button",onClick:te,className:"rounded border border-border bg-background px-2 py-0.5 font-mono hover:bg-muted","data-elanous-action":"chat-stop",title:"Stop the running turn (Esc)",children:"Stop ⎋"})]}),(0,n.jsx)(I,{queue:em,onRemove:e=>{var t;return ep((t=Z.current,t.filter(t=>t.id!==e)))},onClear:()=>ep([])}),(0,n.jsx)(C.V,{onSubmit:ti,prefill:J,attachments:ek,onAttached:tt,onRemoveAttachment:tn,voice:{active:e4.active,phase:e4.phase,dotColor:eO.x[e4.phase],phaseLabel:eO.g[e4.phase],disabled:!e6,onToggle:()=>void e4.toggle()},...r.tabId?{tabId:r.tabId}:{},onListFiles:ez&&M?async e=>{var t,r;let n=await ez.send("elanous/fs/list",{sessionId:M,query:e,limit:50}),a=(null!=(t=n.entries)?t:[]).filter(e=>"string"==typeof(null==e?void 0:e.name)&&"boolean"==typeof(null==e?void 0:e.isDir)&&"string"==typeof(null==e?void 0:e.relPath)).map(e=>({name:e.name,isDir:e.isDir,relPath:e.relPath}));return{cwd:null!=(r=n.cwd)?r:"",entries:a}}:void 0,onListSkills:ez&&M?async e=>{var t;return{entries:(null!=(t=(await ez.send("elanous/skills/list",{sessionId:M,query:e})).entries)?t:[]).filter(e=>"string"==typeof(null==e?void 0:e.name)&&"string"==typeof(null==e?void 0:e.description)).map(e=>({name:e.name,description:e.description}))}}:void 0}),eB&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ex,{open:eZ,onClose:()=>eV(!1),lines:eX}),!eZ&&(0,n.jsxs)("button",{type:"button",onClick:()=>eV(!0),"data-elanous-debug-tap-reopen":"",className:(0,Q.cn)("fixed bottom-3 right-3 z-40 rounded-full border border-border bg-card px-3 py-1.5","text-[11px] font-mono text-muted-foreground shadow hover:bg-muted hover:text-foreground"),"aria-label":"Reopen debug drawer",title:"Reopen Debug Tap drawer",children:["⌁ debug (",eX.length,")"]})]}),(0,n.jsx)(eC,{request:tc.pendingRequest,onSubmit:tc.submit,onCancel:tc.cancel,onChatAboutThis:tc.chatAboutThis}),(0,n.jsx)(eq,{request:td.pendingRequest,receivedAt:td.receivedAt,onChoose:td.choose,onCancel:td.cancel})]})}var eB=r(1348),eZ=r(48624);function eV(e,t){var r,n;return(null==t?void 0:t.trim())||(null==(n=e.lastMsgPreview)||null==(r=n.trim().split(/\r?\n/)[0])?void 0:r.trim())||"대화"}function eX(e,t){try{"undefined"!=typeof localStorage&&localStorage.setItem(e,t)}catch(e){}}function e0(e){let{onSelect:t}=e,r=(0,m.Q)(),l=(0,L.t)({activePoll:!0}),[s,o]=(0,a.useState)({}),[i,c]=(0,a.useState)(""),[d,u]=(0,a.useState)([]),[p,h]=(0,a.useState)("all"),[f,x]=(0,a.useState)([]),[g,b]=(0,a.useState)(_);(0,a.useEffect)(()=>{let e=()=>{b(_()),j({})};return window.addEventListener(F,e),()=>window.removeEventListener(F,e)},[]);let[v,y]=(0,a.useState)({}),[w,j]=(0,a.useState)({}),k=(0,a.useRef)(new Set),N=e=>{let t=e(_());J(t),b(t)};(0,a.useEffect)(()=>{var e;h(null!=(e=function(e){try{return"undefined"==typeof localStorage?null:localStorage.getItem(e)}catch(e){return null}}(O))?e:"all");let t=!0,n=0,a=()=>{let e=++n;new U(r.client).list().then(r=>{var a;t&&e===n&&u(null!=(a=r.projects)?a:[])}).catch(()=>{})};return a(),window.addEventListener(M,a),()=>{t=!1,window.removeEventListener(M,a)}},[r.client]),(0,a.useEffect)(()=>{let e=!0,t=d.length>0&&"all"!==p&&"none"!==p?"?projectId=".concat(encodeURIComponent(p)):"";return r.client.fetchJson("/v1/sessions/store".concat(t)).then(t=>{var r;if(!e)return;let n=null!=(r=t.sessions)?r:[];x(n),o(Object.fromEntries(n.map(e=>[e.id,e.title])))}).catch(()=>{}),()=>{e=!1}},[r.client,l,d,p]),(0,a.useEffect)(()=>{let e=Object.keys(g).filter(e=>l.some(t=>t.id===e)&&!f.some(t=>t.id===e));if(0===e.length)return;let t=!0;for(let n of e)r.client.fetchJson("/v1/sessions/store/".concat(encodeURIComponent(n),"?ifExists=1")).then(e=>{t&&e.meta&&x(t=>t.some(e=>e.id===n)?t:[...t,e.meta])}).catch(()=>{});return()=>{t=!1}},[f,r.client,g,l]),(0,a.useEffect)(()=>{for(let[e,t]of Object.entries(g)){if(e===r.sessionId||w[e]===t||!l.some(t=>t.id===e)||k.current.has(e))continue;let n=f.find(t=>t.id===e);if(n&&_()[e]===t){if(n.projectId===t||v[e]===t){N(t=>{let r={...t};return delete r[e],r});continue}k.current.add(e),new U(r.client).assign(e,t).then(()=>{y(r=>({...r,[e]:t})),x(r=>r.map(r=>r.id===e?{...r,projectId:t}:r)),_()[e]===t&&N(t=>{let r={...t};return delete r[e],r})}).catch(()=>{j(r=>({...r,[e]:t})),_()[e]===t&&N(t=>{let r={...t};return delete r[e],r})}).finally(()=>{k.current.delete(e)})}}},[v,w,f,r.client,r.sessionId,g,l]);let S=d.some(e=>e.id===p)||"none"===p?p:"all",C=0===d.length||"all"===S?l:l.filter(e=>g[e.id]?g[e.id]===S:"none"===S?!f.some(t=>t.id===e.id&&t.projectId)&&!v[e.id]:v[e.id]===S||f.some(t=>t.id===e.id&&t.projectId===S)),I=[...C].filter(e=>{var t;return"".concat(eV(e,s[e.id])," ").concat(null!=(t=e.lastMsgPreview)?t:"").toLocaleLowerCase().includes(i.trim().toLocaleLowerCase())}).sort((e,t)=>Date.parse(t.lastTurnAt)-Date.parse(e.lastTurnAt)),E=()=>{let e=(0,ea.Zr)();d.length>0&&"all"!==S&&"none"!==S&&N(t=>({...t,[e]:S})),r.setSessionId(e),null==t||t()};return(0,n.jsxs)("nav",{"aria-label":"대화 목록",className:"flex h-full min-h-0 flex-col bg-background",children:[(0,n.jsxs)("div",{className:"shrink-0 space-y-3 border-b border-border p-3",children:[(0,n.jsx)(z,{projects:d,selection:S,onChange:e=>{h(e),eX(O,e)},api:new U(r.client),onCreate:async(e,t)=>{let{project:n}=await new U(r.client).create(e,t);u(e=>[...e,n]),h(n.id),eX(O,n.id),P()}}),(0,n.jsxs)("button",{type:"button",onClick:E,className:"flex w-full items-center gap-2 rounded-lg bg-primary px-3 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90",children:[(0,n.jsx)(eB.A,{className:"h-4 w-4","aria-hidden":"true"})," 새 대화"]}),(0,n.jsxs)("label",{className:"flex items-center gap-2 rounded-lg border border-border bg-muted/30 px-2.5 py-2 focus-within:ring-2 focus-within:ring-ring",children:[(0,n.jsx)(eZ.A,{className:"h-4 w-4 shrink-0 text-muted-foreground","aria-hidden":"true"}),(0,n.jsx)("input",{"aria-label":"대화 검색",type:"search",value:i,onChange:e=>c(e.target.value),placeholder:"대화 검색",className:"min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground"})]})]}),(0,n.jsx)("div",{className:"min-h-0 flex-1 overflow-y-auto p-2",children:0===C.length?(0,n.jsxs)("div",{className:"space-y-3 px-2 py-8 text-center text-sm text-muted-foreground",children:[(0,n.jsx)("p",{children:"아직 대화가 없습니다"}),(0,n.jsx)("button",{type:"button",onClick:E,className:"rounded-lg border border-border px-3 py-2 text-foreground hover:bg-muted",children:"+ 새 대화"})]}):0===I.length?(0,n.jsx)("p",{className:"px-2 py-8 text-center text-sm text-muted-foreground",children:"검색 결과가 없습니다"}):(0,n.jsx)("ul",{className:"space-y-1",children:I.map(e=>(0,n.jsx)("li",{children:(0,n.jsxs)("button",{type:"button","aria-current":r.sessionId===e.id?"page":void 0,onClick:()=>{P(),r.setSessionId(e.id),null==t||t()},className:"w-full rounded-lg px-3 py-2.5 text-left transition-colors ".concat(r.sessionId===e.id?"bg-primary/10 text-primary ring-1 ring-inset ring-primary/25":"text-foreground hover:bg-muted"),children:[(0,n.jsx)("span",{className:"block truncate text-sm font-medium",children:eV(e,s[e.id])}),(0,n.jsxs)("span",{className:"mt-1 block truncate text-xs text-muted-foreground",children:[function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),r=Date.parse(e);if(!Number.isFinite(r))return"";let n=Math.max(0,Math.floor((t-r)/6e4));if(n<1)return"방금 전";if(n<60)return"".concat(n,"분 전");let a=Math.floor(n/60);if(a<24)return"".concat(a,"시간 전");let l=Math.floor(a/24);return l<7?"".concat(l,"일 전"):new Date(r).toLocaleDateString()}(e.lastTurnAt)," \xb7 ",e.msgCount,"개 메시지"]})]})},e.id))})})]})}var e1=r(69565),e2=r(46582),e3=r(18125),e5=r(87407);function e4(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{compact:r}=(0,u.K)(),l=!!t.mobileSimple&&r,s=(0,e5.DE)(),o=(0,e3.tg)(),{client:i,sessionId:c,setSessionId:d}=(0,m.Q)(),[p,h]=(0,a.useState)(c||"default"),[f,x]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(!f)return;let e=e=>{"Escape"===e.key&&x(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[f]);let g=(0,a.useRef)(null);(0,a.useEffect)(()=>{if(g.current===c){g.current=null;return}g.current=null,h(c||"default")},[c]);let b=(0,a.useRef)(t.sessionId),v=(0,a.useRef)(c),y=null!=(e=null==o?void 0:o.state.activeId)?e:null;(0,a.useEffect)(()=>{let e=t.sessionId;if(o&&t.tabId&&e&&c){var r,n;let a=function(e){if(!e.isActive||e.tabSessionId===e.daemonSessionId)return"none";let t=e.prevTabSessionId!==e.tabSessionId,r=e.prevDaemonSessionId!==e.daemonSessionId;return t||!r?"adopt-tab":"record-global"}({isActive:y===t.tabId,tabSessionId:e,daemonSessionId:c,prevTabSessionId:null!=(r=b.current)?r:e,prevDaemonSessionId:null!=(n=v.current)?n:c});"adopt-tab"===a?d(e):"record-global"===a&&o.updateChatTab(t.tabId,{sessionId:c})}b.current=t.sessionId,v.current=c},[o,y,t.tabId,t.sessionId,c,d]);let w=o&&t.tabId?()=>o.openPicker({kind:"attachToTab",tabId:t.tabId}):void 0,j=o&&t.sessionId?async()=>{let e=(0,T.hG)(i);await e.forget(t.sessionId)}:void 0,k=(0,n.jsx)("button",{type:"button",onClick:()=>x(!0),"aria-label":"대화 목록","aria-expanded":f,"aria-controls":"chat-conversation-drawer",className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-lg hover:bg-muted",children:(0,n.jsx)(e1.A,{className:"h-4 w-4","aria-hidden":"true"})}),N=(0,n.jsx)(eH,{onSessionAdopt:e=>{g.current=e},...t.showConversationList&&r&&!l?{leading:k}:{},...l?{mobileSimple:l,mobileActivity:s,conversationButton:k}:{},...w?{onAttachRequest:w}:{},...j?{onForgetRequest:j}:{},...t.tabId?{tabId:t.tabId}:{}},p);return t.showConversationList?(0,n.jsxs)("div",{className:"flex h-full min-h-0 min-w-0",children:[(0,n.jsx)("aside",{className:r?"hidden":"hidden h-full w-[260px] shrink-0 border-r border-border md:block",children:(0,n.jsx)(e0,{})}),(0,n.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-1 flex-col",children:[!r&&(0,n.jsx)("div",{className:"shrink-0 border-b border-border bg-background px-3 py-2 md:hidden",children:(0,n.jsxs)("button",{type:"button",onClick:()=>x(!0),"aria-label":"대화 목록","aria-expanded":f,"aria-controls":"chat-conversation-drawer",className:"inline-flex items-center gap-2 rounded-lg px-2 py-1.5 text-sm font-medium hover:bg-muted",children:[(0,n.jsx)(e1.A,{className:"h-4 w-4","aria-hidden":"true"})," 대화 목록"]})}),(0,n.jsx)("div",{className:"min-h-0 min-w-0 flex-1",children:N})]}),f&&(0,n.jsxs)("div",{className:r?"fixed inset-0 z-50":"fixed inset-0 z-50 md:hidden",children:[(0,n.jsx)("button",{type:"button","aria-label":"대화 목록 닫기",onClick:()=>x(!1),className:"absolute inset-0 bg-black/50"}),(0,n.jsxs)("aside",{id:"chat-conversation-drawer",role:"dialog","aria-modal":"true","aria-label":"대화 목록",className:"relative h-full w-[min(260px,85vw)] bg-background shadow-xl",children:[(0,n.jsx)("button",{type:"button","aria-label":"대화 목록 닫기",onClick:()=>x(!1),className:"absolute right-2 top-2 z-10 rounded p-1 hover:bg-muted",children:(0,n.jsx)(e2.A,{className:"h-4 w-4"})}),(0,n.jsx)(e0,{onSelect:()=>x(!1)})]})]})]}):N}},94238:(e,t,r)=>{r.d(t,{a:()=>o});var n=r(65245),a=r(64297),l=r(28604);let s=e=>JSON.stringify([e.graphId,e.runId]);function o(e){let{client:t,approvals:r,onDecided:o,onPendingChange:i}=e,c=(0,a.useMemo)(()=>(0,l.ll)({client:t}),[t]),[d,u]=(0,a.useState)([]),[m,p]=(0,a.useState)({}),[h,f]=(0,a.useState)(null),[x,g]=(0,a.useState)(""),b=(0,a.useRef)(0),v=r.map(s).join("|");function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m;u(e),i(r.filter(r=>!t[s(r)]&&e.some(e=>s(e)===s(r))).length)}async function w(e,t){let n=s(e);if(h||m[n]||!r.some(e=>s(e)===n)||!d.some(e=>s(e)===n))return;let a=b.current;f(n),g("");try{if(await c.decide(e.graphId,e.runId,t),b.current!==a)return;let r={...m,[n]:t};p(r),y(d,r),o();let l=await c.list();b.current===a&&y(l.items,r)}catch(e){b.current===a&&g((0,l.LP)(e,"decide"))}finally{b.current===a&&f(null)}}return((0,a.useEffect)(()=>{let e=++b.current;return(u([]),g(""),v)?(c.list().then(t=>{b.current===e&&y(t.items)}).catch(t=>{b.current===e&&g((0,l.LP)(t,"list"))}),()=>{b.current+=1}):(i(0),()=>{b.current+=1})},[c,v]),0===r.length)?null:(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)("h3",{className:"font-semibold",children:"게시 승인"}),x&&(0,n.jsx)("p",{role:"alert",className:"text-sm text-destructive",children:x}),(0,n.jsx)("ul",{className:"space-y-2",children:r.map(e=>{let t=s(e),r=d.some(e=>s(e)===t);return(0,n.jsxs)("li",{className:"rounded-lg border border-border bg-background px-4 py-3 text-sm",children:[(0,n.jsx)("p",{children:e.message}),m[t]?(0,n.jsx)("p",{className:"mt-2 text-muted-foreground",children:"approved"===m[t]?"승인됨":"보류됨"}):r?(0,n.jsxs)("div",{className:"mt-2 flex gap-2",children:[(0,n.jsx)("button",{type:"button",disabled:null!==h,onClick:()=>void w(e,"approved"),className:"rounded-lg bg-primary px-3 py-1 text-primary-foreground disabled:opacity-50",children:"승인"}),(0,n.jsx)("button",{type:"button",disabled:null!==h,onClick:()=>void w(e,"rejected"),className:"rounded-lg border border-border px-3 py-1 disabled:opacity-50",children:"보류"})]}):(0,n.jsx)("p",{className:"mt-2 text-muted-foreground",children:"대기 중인 승인이 아닙니다."})]},t)})})]})}}}]);
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3700],{53700:(e,t,r)=>{r.r(t),r.d(t,{SHELL_READY_CAP_MS:()=>X,XtermView:()=>q});var n,l,i,s,o,a=r(65245),u=r(64297),c=r(20387),h=class{activate(e){this._terminal=e}dispose(){}fit(){let e=this.proposeDimensions();if(!e||!this._terminal||isNaN(e.cols)||isNaN(e.rows))return;let t=this._terminal._core;(this._terminal.rows!==e.rows||this._terminal.cols!==e.cols)&&(t._renderService.clear(),this._terminal.resize(e.cols,e.rows))}proposeDimensions(){if(!this._terminal||!this._terminal.element||!this._terminal.element.parentElement)return;let e=this._terminal._core._renderService.dimensions;if(0===e.css.cell.width||0===e.css.cell.height)return;let t=0===this._terminal.options.scrollback?0:this._terminal.options.overviewRuler?.width||14,r=window.getComputedStyle(this._terminal.element.parentElement),n=parseInt(r.getPropertyValue("height")),l=Math.max(0,parseInt(r.getPropertyValue("width"))),i=window.getComputedStyle(this._terminal.element),s={top:parseInt(i.getPropertyValue("padding-top")),bottom:parseInt(i.getPropertyValue("padding-bottom")),right:parseInt(i.getPropertyValue("padding-right")),left:parseInt(i.getPropertyValue("padding-left"))},o=s.top+s.bottom;return{cols:Math.max(2,Math.floor((l-(s.right+s.left)-t)/e.css.cell.width)),rows:Math.max(1,Math.floor((n-o)/e.css.cell.height))}}},d=r(16547),f=r(52475),m=0,p=0,g=0,b=0;function _(e){let t=e.toString(16);return t.length<2?"0"+t:t}function C(e,t){return e<t?(t+.05)/(e+.05):(e+.05)/(t+.05)}(e=>{e.toCss=function(e,t,r,n){return void 0!==n?`#${_(e)}${_(t)}${_(r)}${_(n)}`:`#${_(e)}${_(t)}${_(r)}`},e.toRgba=function(e,t,r,n=255){return(e<<24|t<<16|r<<8|n)>>>0},e.toColor=function(t,r,n,l){return{css:e.toCss(t,r,n,l),rgba:e.toRgba(t,r,n,l)}}})(n||={}),(e=>{function t(e,t){return b=Math.round(255*t),[m,p,g]=o.toChannels(e.rgba),{css:n.toCss(m,p,g,b),rgba:n.toRgba(m,p,g,b)}}e.blend=function(e,t){if(1==(b=(255&t.rgba)/255))return{css:t.css,rgba:t.rgba};let r=t.rgba>>24&255,l=t.rgba>>16&255,i=t.rgba>>8&255,s=e.rgba>>24&255,o=e.rgba>>16&255,a=e.rgba>>8&255;return m=s+Math.round((r-s)*b),p=o+Math.round((l-o)*b),g=a+Math.round((i-a)*b),{css:n.toCss(m,p,g),rgba:n.toRgba(m,p,g)}},e.isOpaque=function(e){return(255&e.rgba)==255},e.ensureContrastRatio=function(e,t,r){let l=o.ensureContrastRatio(e.rgba,t.rgba,r);if(l)return n.toColor(l>>24&255,l>>16&255,l>>8&255)},e.opaque=function(e){let t=(255|e.rgba)>>>0;return[m,p,g]=o.toChannels(t),{css:n.toCss(m,p,g),rgba:t}},e.opacity=t,e.multiplyOpacity=function(e,r){return b=255&e.rgba,t(e,b*r/255)},e.toColorRGB=function(e){return[e.rgba>>24&255,e.rgba>>16&255,e.rgba>>8&255]}})(l||={}),(e=>{let t,r;try{let e=document.createElement("canvas");e.width=1,e.height=1;let n=e.getContext("2d",{willReadFrequently:!0});n&&((t=n).globalCompositeOperation="copy",r=t.createLinearGradient(0,0,1,1))}catch{}e.toColor=function(e){if(e.match(/#[\da-f]{3,8}/i))switch(e.length){case 4:return m=parseInt(e.slice(1,2).repeat(2),16),p=parseInt(e.slice(2,3).repeat(2),16),g=parseInt(e.slice(3,4).repeat(2),16),n.toColor(m,p,g);case 5:return m=parseInt(e.slice(1,2).repeat(2),16),p=parseInt(e.slice(2,3).repeat(2),16),g=parseInt(e.slice(3,4).repeat(2),16),b=parseInt(e.slice(4,5).repeat(2),16),n.toColor(m,p,g,b);case 7:return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0};case 9:return{css:e,rgba:parseInt(e.slice(1),16)>>>0}}let l=e.match(/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(0|1|\d?\.(\d+))\s*)?\)/);if(l)return m=parseInt(l[1]),p=parseInt(l[2]),g=parseInt(l[3]),b=Math.round((void 0===l[5]?1:parseFloat(l[5]))*255),n.toColor(m,p,g,b);if(!t||!r||(t.fillStyle=r,t.fillStyle=e,"string"!=typeof t.fillStyle)||(t.fillRect(0,0,1,1),[m,p,g,b]=t.getImageData(0,0,1,1).data,255!==b))throw Error("css.toColor: Unsupported css format");return{rgba:n.toRgba(m,p,g,b),css:e}}})(i||={}),(e=>{function t(e,t,r){let n=e/255,l=t/255,i=r/255;return .2126*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.7152*(l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4))+.0722*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))}e.relativeLuminance=function(e){return t(e>>16&255,e>>8&255,255&e)},e.relativeLuminance2=t})(s||={}),(e=>{function t(e,t,r){let n=e>>24&255,l=e>>16&255,i=e>>8&255,o=t>>24&255,a=t>>16&255,u=t>>8&255,c=C(s.relativeLuminance2(o,a,u),s.relativeLuminance2(n,l,i));for(;c<r&&(o>0||a>0||u>0);)o-=Math.max(0,Math.ceil(.1*o)),a-=Math.max(0,Math.ceil(.1*a)),u-=Math.max(0,Math.ceil(.1*u)),c=C(s.relativeLuminance2(o,a,u),s.relativeLuminance2(n,l,i));return(o<<24|a<<16|u<<8|255)>>>0}function r(e,t,r){let n=e>>24&255,l=e>>16&255,i=e>>8&255,o=t>>24&255,a=t>>16&255,u=t>>8&255,c=C(s.relativeLuminance2(o,a,u),s.relativeLuminance2(n,l,i));for(;c<r&&(o<255||a<255||u<255);)o=Math.min(255,o+Math.ceil((255-o)*.1)),a=Math.min(255,a+Math.ceil((255-a)*.1)),u=Math.min(255,u+Math.ceil((255-u)*.1)),c=C(s.relativeLuminance2(o,a,u),s.relativeLuminance2(n,l,i));return(o<<24|a<<16|u<<8|255)>>>0}e.blend=function(e,t){if(1==(b=(255&t)/255))return t;let r=e>>24&255,l=e>>16&255,i=e>>8&255;return m=r+Math.round(((t>>24&255)-r)*b),p=l+Math.round(((t>>16&255)-l)*b),g=i+Math.round(((t>>8&255)-i)*b),n.toRgba(m,p,g)},e.ensureContrastRatio=function(e,n,l){let i=s.relativeLuminance(e>>8),o=s.relativeLuminance(n>>8);if(C(i,o)<l){if(o<i){let o=t(e,n,l),a=C(i,s.relativeLuminance(o>>8));if(a<l){let t=r(e,n,l);return a>C(i,s.relativeLuminance(t>>8))?o:t}return o}let a=r(e,n,l),u=C(i,s.relativeLuminance(a>>8));if(u<l){let r=t(e,n,l);return u>C(i,s.relativeLuminance(r>>8))?a:r}return a}},e.reduceLuminance=t,e.increaseLuminance=r,e.toChannels=function(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}})(o||={});var w=Object.freeze((()=>{let e=[i.toColor("#2e3436"),i.toColor("#cc0000"),i.toColor("#4e9a06"),i.toColor("#c4a000"),i.toColor("#3465a4"),i.toColor("#75507b"),i.toColor("#06989a"),i.toColor("#d3d7cf"),i.toColor("#555753"),i.toColor("#ef2929"),i.toColor("#8ae234"),i.toColor("#fce94f"),i.toColor("#729fcf"),i.toColor("#ad7fa8"),i.toColor("#34e2e2"),i.toColor("#eeeeec")],t=[0,95,135,175,215,255];for(let r=0;r<216;r++){let l=t[r/36%6|0],i=t[r/6%6|0],s=t[r%6];e.push({css:n.toCss(l,i,s),rgba:n.toRgba(l,i,s)})}for(let t=0;t<24;t++){let r=8+10*t;e.push({css:n.toCss(r,r,r),rgba:n.toRgba(r,r,r)})}return e})());function v(e,t,r){return Math.max(t,Math.min(e,r))}var y=class{constructor(e){this._buffer=e}serialize(e,t){let r=this._buffer.getNullCell(),n=this._buffer.getNullCell(),l=r,i=e.start.y,s=e.end.y,o=e.start.x,a=e.end.x;this._beforeSerialize(s-i,i,s);for(let t=i;t<=s;t++){let i=this._buffer.getLine(t);if(i){let s=t===e.start.y?o:0,u=t===e.end.y?a:i.length;for(let e=s;e<u;e++){let s=i.getCell(e,l===r?n:r);if(!s){console.warn(`Can't get cell at row=${t}, col=${e}`);continue}this._nextCell(s,l,t,e),l=s}}this._rowEnd(t,t===s)}return this._afterSerialize(),this._serializeString(t)}_nextCell(e,t,r,n){}_rowEnd(e,t){}_beforeSerialize(e,t,r){}_afterSerialize(){}_serializeString(e){return""}};function x(e,t){return e.getFgColorMode()===t.getFgColorMode()&&e.getFgColor()===t.getFgColor()}function S(e,t){return e.getBgColorMode()===t.getBgColorMode()&&e.getBgColor()===t.getBgColor()}function R(e,t){return e.isInverse()===t.isInverse()&&e.isBold()===t.isBold()&&e.isUnderline()===t.isUnderline()&&e.isOverline()===t.isOverline()&&e.isBlink()===t.isBlink()&&e.isInvisible()===t.isInvisible()&&e.isItalic()===t.isItalic()&&e.isDim()===t.isDim()&&e.isStrikethrough()===t.isStrikethrough()}var I=class extends y{constructor(e,t){super(e),this._terminal=t,this._rowIndex=0,this._allRows=[],this._allRowSeparators=[],this._currentRow="",this._nullCellCount=0,this._cursorStyle=this._buffer.getNullCell(),this._cursorStyleRow=0,this._cursorStyleCol=0,this._backgroundCell=this._buffer.getNullCell(),this._firstRow=0,this._lastCursorRow=0,this._lastCursorCol=0,this._lastContentCursorRow=0,this._lastContentCursorCol=0,this._thisRowLastChar=this._buffer.getNullCell(),this._thisRowLastSecondChar=this._buffer.getNullCell(),this._nextRowFirstChar=this._buffer.getNullCell()}_beforeSerialize(e,t,r){this._allRows=Array(e),this._lastContentCursorRow=t,this._lastCursorRow=t,this._firstRow=t}_rowEnd(e,t){this._nullCellCount>0&&!S(this._cursorStyle,this._backgroundCell)&&(this._currentRow+=`\x1b[${this._nullCellCount}X`);let r="";if(!t){e-this._firstRow>=this._terminal.rows&&this._buffer.getLine(this._cursorStyleRow)?.getCell(this._cursorStyleCol,this._backgroundCell);let t=this._buffer.getLine(e),n=this._buffer.getLine(e+1);if(n.isWrapped){r="";let l=t.getCell(t.length-1,this._thisRowLastChar),i=t.getCell(t.length-2,this._thisRowLastSecondChar),s=n.getCell(0,this._nextRowFirstChar),o=s.getWidth()>1,a=!1;(s.getChars()&&o?this._nullCellCount<=1:this._nullCellCount<=0)&&((l.getChars()||0===l.getWidth())&&S(l,s)&&(a=!0),o&&(i.getChars()||0===i.getWidth())&&S(l,s)&&S(i,s)&&(a=!0)),a||(r="-".repeat(this._nullCellCount+1)+"\x1b[1D\x1b[1X",this._nullCellCount>0&&(r+=`\x1b[A\x1b[${t.length-this._nullCellCount}C\x1b[${this._nullCellCount}X\x1b[${t.length-this._nullCellCount}D\x1b[B`),this._lastContentCursorRow=e+1,this._lastContentCursorCol=0,this._lastCursorRow=e+1,this._lastCursorCol=0)}else r=`\r
2
- `,this._lastCursorRow=e+1,this._lastCursorCol=0}this._allRows[this._rowIndex]=this._currentRow,this._allRowSeparators[this._rowIndex++]=r,this._currentRow="",this._nullCellCount=0}_diffStyle(e,t){let r=[],n=!x(e,t),l=!S(e,t),i=!R(e,t);if(n||l||i)if(e.isAttributeDefault())t.isAttributeDefault()||r.push(0);else{if(n){let t=e.getFgColor();e.isFgRGB()?r.push(38,2,t>>>16&255,t>>>8&255,255&t):e.isFgPalette()?t>=16?r.push(38,5,t):r.push(8&t?90+(7&t):30+(7&t)):r.push(39)}if(l){let t=e.getBgColor();e.isBgRGB()?r.push(48,2,t>>>16&255,t>>>8&255,255&t):e.isBgPalette()?t>=16?r.push(48,5,t):r.push(8&t?100+(7&t):40+(7&t)):r.push(49)}i&&(e.isInverse()!==t.isInverse()&&r.push(e.isInverse()?7:27),e.isBold()!==t.isBold()&&r.push(e.isBold()?1:22),e.isUnderline()!==t.isUnderline()&&r.push(e.isUnderline()?4:24),e.isOverline()!==t.isOverline()&&r.push(e.isOverline()?53:55),e.isBlink()!==t.isBlink()&&r.push(e.isBlink()?5:25),e.isInvisible()!==t.isInvisible()&&r.push(e.isInvisible()?8:28),e.isItalic()!==t.isItalic()&&r.push(e.isItalic()?3:23),e.isDim()!==t.isDim()&&r.push(e.isDim()?2:22),e.isStrikethrough()!==t.isStrikethrough()&&r.push(e.isStrikethrough()?9:29))}return r}_nextCell(e,t,r,n){if(0===e.getWidth())return;let l=""===e.getChars(),i=this._diffStyle(e,this._cursorStyle);if(l?!S(this._cursorStyle,e):i.length>0){this._nullCellCount>0&&(S(this._cursorStyle,this._backgroundCell)||(this._currentRow+=`\x1b[${this._nullCellCount}X`),this._currentRow+=`\x1b[${this._nullCellCount}C`,this._nullCellCount=0),this._lastContentCursorRow=this._lastCursorRow=r,this._lastContentCursorCol=this._lastCursorCol=n,this._currentRow+=`\x1b[${i.join(";")}m`;let e=this._buffer.getLine(r);void 0!==e&&(e.getCell(n,this._cursorStyle),this._cursorStyleRow=r,this._cursorStyleCol=n)}l?this._nullCellCount+=e.getWidth():(this._nullCellCount>0&&(S(this._cursorStyle,this._backgroundCell)||(this._currentRow+=`\x1b[${this._nullCellCount}X`),this._currentRow+=`\x1b[${this._nullCellCount}C`,this._nullCellCount=0),this._currentRow+=e.getChars(),this._lastContentCursorRow=this._lastCursorRow=r,this._lastContentCursorCol=this._lastCursorCol=n+e.getWidth())}_serializeString(e){let t=this._allRows.length;this._buffer.length-this._firstRow<=this._terminal.rows&&(t=this._lastContentCursorRow+1-this._firstRow,this._lastCursorCol=this._lastContentCursorCol,this._lastCursorRow=this._lastContentCursorRow);let r="";for(let e=0;e<t;e++)r+=this._allRows[e],e+1<t&&(r+=this._allRowSeparators[e]);if(!e){var n,l;let e=this._buffer.baseY+this._buffer.cursorY,t=this._buffer.cursorX;(e!==this._lastCursorRow||t!==this._lastCursorCol)&&((n=e-this._lastCursorRow)>0?r+=`\x1b[${n}B`:n<0&&(r+=`\x1b[${-n}A`),(l=t-this._lastCursorCol)>0?r+=`\x1b[${l}C`:l<0&&(r+=`\x1b[${-l}D`))}let i=this._terminal._core._inputHandler._curAttrData,s=this._diffStyle(i,this._cursorStyle);return s.length>0&&(r+=`\x1b[${s.join(";")}m`),r}},k=class{activate(e){this._terminal=e}_serializeBufferByScrollback(e,t,r){let n=t.length,l=void 0===r?n:v(r+e.rows,0,n);return this._serializeBufferByRange(e,t,{start:n-l,end:n-1},!1)}_serializeBufferByRange(e,t,r,n){return new I(t,e).serialize({start:{x:0,y:"number"==typeof r.start?r.start:r.start.line},end:{x:e.cols,y:"number"==typeof r.end?r.end:r.end.line}},n)}_serializeBufferAsHTML(e,t){let r=e.buffer.active,n=new M(r,e,t),l=t.onlySelection??!1,i=t.range;if(i)return n.serialize({start:{x:i.startCol,y:(i.startLine,i.startLine)},end:{x:e.cols,y:(i.endLine,i.endLine)}});if(!l){let l=r.length,i=t.scrollback,s=void 0===i?l:v(i+e.rows,0,l);return n.serialize({start:{x:0,y:l-s},end:{x:e.cols,y:l-1}})}let s=this._terminal?.getSelectionPosition();return void 0!==s?n.serialize({start:{x:s.start.x,y:s.start.y},end:{x:s.end.x,y:s.end.y}}):""}_serializeModes(e){let t="",r=e.modes;if(r.applicationCursorKeysMode&&(t+="\x1b[?1h"),r.applicationKeypadMode&&(t+="\x1b[?66h"),r.bracketedPasteMode&&(t+="\x1b[?2004h"),r.insertMode&&(t+="\x1b[4h"),r.originMode&&(t+="\x1b[?6h"),r.reverseWraparoundMode&&(t+="\x1b[?45h"),r.sendFocusMode&&(t+="\x1b[?1004h"),!1===r.wraparoundMode&&(t+="\x1b[?7l"),"none"!==r.mouseTrackingMode)switch(r.mouseTrackingMode){case"x10":t+="\x1b[?9h";break;case"vt200":t+="\x1b[?1000h";break;case"drag":t+="\x1b[?1002h";break;case"any":t+="\x1b[?1003h"}return t}serialize(e){if(!this._terminal)throw Error("Cannot use addon until it has been loaded");let t=e?.range?this._serializeBufferByRange(this._terminal,this._terminal.buffer.normal,e.range,!0):this._serializeBufferByScrollback(this._terminal,this._terminal.buffer.normal,e?.scrollback);if(!e?.excludeAltBuffer&&"alternate"===this._terminal.buffer.active.type){let e=this._serializeBufferByScrollback(this._terminal,this._terminal.buffer.alternate,void 0);t+=`\x1b[?1049h\x1b[H${e}`}return e?.excludeModes||(t+=this._serializeModes(this._terminal)),t}serializeAsHTML(e){if(!this._terminal)throw Error("Cannot use addon until it has been loaded");return this._serializeBufferAsHTML(this._terminal,e||{})}dispose(){}},M=class extends y{constructor(e,t,r){super(e),this._terminal=t,this._options=r,this._currentRow="",this._htmlContent="",t._core._themeService?this._ansiColors=t._core._themeService.colors.ansi:this._ansiColors=w}_padStart(e,t,r){return t|=0,r=r??" ",e.length>t?e:((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),r.slice(0,t)+e)}_beforeSerialize(e,t,r){this._htmlContent+="<html><body>\x3c!--StartFragment--\x3e<pre>";let n="#000000",l="#ffffff";this._options.includeGlobalBackground&&(n=this._terminal.options.theme?.foreground??"#ffffff",l=this._terminal.options.theme?.background??"#000000");let i=[];i.push("color: "+n+";"),i.push("background-color: "+l+";"),i.push("font-family: "+this._terminal.options.fontFamily+";"),i.push("font-size: "+this._terminal.options.fontSize+"px;"),this._htmlContent+="<div style='"+i.join(" ")+"'>"}_afterSerialize(){this._htmlContent+="</div>",this._htmlContent+="</pre>\x3c!--EndFragment--\x3e</body></html>"}_rowEnd(e,t){this._htmlContent+="<div><span>"+this._currentRow+"</span></div>",this._currentRow=""}_getHexColor(e,t){let r=t?e.getFgColor():e.getBgColor();return(t?e.isFgRGB():e.isBgRGB())?"#"+[r>>16&255,r>>8&255,255&r].map(e=>this._padStart(e.toString(16),2,"0")).join(""):(t?e.isFgPalette():e.isBgPalette())?this._ansiColors[r].css:void 0}_diffStyle(e,t){let r=[],n=!x(e,t),l=!S(e,t),i=!R(e,t);if(n||l||i){let t=this._getHexColor(e,!0);t&&r.push("color: "+t+";");let n=this._getHexColor(e,!1);return n&&r.push("background-color: "+n+";"),e.isInverse()&&r.push("color: #000000; background-color: #BFBFBF;"),e.isBold()&&r.push("font-weight: bold;"),e.isUnderline()&&e.isOverline()?r.push("text-decoration: overline underline;"):e.isUnderline()?r.push("text-decoration: underline;"):e.isOverline()&&r.push("text-decoration: overline;"),e.isBlink()&&r.push("text-decoration: blink;"),e.isInvisible()&&r.push("visibility: hidden;"),e.isItalic()&&r.push("font-style: italic;"),e.isDim()&&r.push("opacity: 0.5;"),e.isStrikethrough()&&r.push("text-decoration: line-through;"),r}}_nextCell(e,t,r,n){if(0===e.getWidth())return;let l=""===e.getChars(),i=this._diffStyle(e,t);i&&(this._currentRow+=0===i.length?"</span><span>":"</span><span style='"+i.join(" ")+"'>"),l?this._currentRow+=" ":this._currentRow+=function(e){switch(e){case"&":return"&amp;";case"<":return"&lt;"}return e}(e.getChars())}_serializeString(){return this._htmlContent}};r(6903);var E=r(79836),z=r(62391),L=r(97887);let B="elanous.pwa.peerId",N=null;function Y(){if(N)return N;let e=window.sessionStorage.getItem(B);return e&&0!==e.length||(e=function(){if("undefined"!=typeof crypto&&"function"==typeof crypto.getRandomValues){let e=new Uint32Array(2);return crypto.getRandomValues(e),(BigInt(e[0])<<32n|BigInt(e[1])).toString(36).slice(0,8)}return Math.random().toString(36).slice(2,10)}(),window.sessionStorage.setItem(B,e)),N=e,e}var T=r(87996),F=r(10573);let D=/^\x1b\[[?>=][\d;]*[a-zA-Z$]/,A=/^\x1b\[\d+;\d+R$/,$=/^\x1b\[0?n$/,O=/^\x1b\][\d;]+;[^\x07\x1b]*(?:\x07|\x1b\\)$/,P=/^\x1b\[\d+;\d+;\d+t$/;var j=r(89661),G=r(5084);let U="elanous.pwa.termFocusStartDisabled",V="elanous.pwa.termFontSize",W=e=>(e.ctrlKey||e.metaKey)&&e.shiftKey&&!e.altKey;function H(e){return Number.isFinite(e)?Math.min(32,Math.max(9,Math.round(e))):13}var K=r(39635);let X=2e3;function q(e){var t;let{sessionId:n,terminalId:l,clearRequest:i=0,readOnly:s=!1,onForeignInputActivity:o}=e,m=(0,u.useRef)(null),p=(0,u.useRef)(null),g=(0,u.useRef)(null),{compact:b}=(0,K.K)(),[_,C]=(0,u.useState)(!1),w=(0,u.useRef)(_);w.current=_;let v=(0,u.useRef)(!1);(0,u.useEffect)(()=>{var e,t;if(!v.current&&b&&(v.current=!0,null==(e=(t=window).matchMedia)?void 0:e.call(t,"(pointer: coarse)").matches)){let e=null;try{e=window.localStorage}catch(e){}!function(e){try{return(null==e?void 0:e.getItem(U))==="1"}catch(e){return!1}}(e)&&(w.current=!0,C(!0))}},[b]);let y=()=>{let e=w.current;if(w.current=!e,e)try{var t=window.localStorage;try{null==t||t.setItem(U,"1")}catch(e){}}catch(e){}C(!e)},x=(0,u.useRef)(void 0),S=(0,u.useRef)(l);S.current!==l&&(S.current=l,x.current=void 0);let R=(0,u.useRef)(n),I=(0,u.useRef)(o);I.current=o;let{client:M,config:B,setSessionId:N}=(0,E.Q)(),[q,J]=(0,u.useState)(()=>({state:"CONNECTING",terminalId:l,connectingSince:Date.now()})),[Q,Z]=(0,u.useState)(0),ee=(0,u.useRef)(0),[et,er]=(0,u.useState)(()=>Date.now()),[en,el]=(0,u.useState)(null),ei=(null==en?void 0:en.terminalId)===l?en:null,es=q.terminalId===l?q.state:"CONNECTING",eo=q.terminalId===l?q.connectingSince:et;(0,u.useEffect)(()=>{if("CONNECTING"!==es)return;er(Date.now());let e=window.setInterval(()=>er(Date.now()),1e3);return()=>window.clearInterval(e)},[es,l]),(0,u.useEffect)(()=>{var e,t,i;if(!m.current)return;let o=new c.B({fontFamily:'"JetBrainsMono Nerd Font", "JetBrains Mono", monospace',fontSize:function(e){try{let t=null==e?void 0:e.getItem(V);return t?H(Number(t)):13}catch(e){return 13}}(window.localStorage),theme:{background:"#0d0c08",foreground:"#e9e3d4",cursor:"#e9e3d4"},allowProposedApi:!0,scrollback:5e3,cursorBlink:!s,disableStdin:s});(0,z.cY)("webterm.xterm.boot",{sessionId:n,terminalId:l,readOnly:s});let a=new h;o.loadAddon(a),o.loadAddon(new d.c((e,t)=>(0,z.cY)("webterm.link.click",{uri:t}))),o.loadAddon(new f.I);let u=new k;o.loadAddon(u),(async()=>{try{let e=await r.e(7663).then(r.bind(r,17663));o.loadAddon(new e.WebglAddon)}catch(e){(0,z.cY)("webterm.webgl.fallback",{reason:String(e)})}})(),(async()=>{try{let e=await Promise.all([r.e(2233),r.e(4647)]).then(r.bind(r,34647));o.loadAddon(new e.ImageAddon),(0,z.cY)("webterm.image-addon.loaded")}catch(e){(0,z.cY)("webterm.image-addon.fallback",{reason:String(e)})}})(),o.unicode.activeVersion="11",o.open(m.current),p.current=o;let b=g.current;b&&(b.__elanousTerm=o),a.fit();let _=(0,T.o1)("xtermScrollback",l),C=(0,T.N2)(_);"string"==typeof C&&C.length>0&&o.write(C);let w=()=>{},v=!1,y=M.connectAcp({...n?{sessionId:n}:{},onSession:e=>{e&&(v=!0,R.current=e,w(e)),e&&e!==n&&((0,z.cY)("webterm.acp.session.adopted",{from:n,to:e}),N(e))}});(0,z.cY)("webterm.acp.session.attach",{sessionId:n,terminalId:l});let x=y.onState((e,t)=>{let r=Date.now();J(n=>({state:e,terminalId:l,connectingSince:"CONNECTING"===e?r:n.connectingSince,...(null==t?void 0:t.message)?{reason:t.message}:{}})),"OPEN"===e&&(ee.current=0),"CONNECTING"===e&&er(r),(0,z.cY)("webterm.xterm.acp-state",{terminalId:l,state:e,reason:null==t?void 0:t.message})}),S=()=>{},E=!1,B=Date.now(),U=new Promise(e=>{let t=!1;S=r=>{t||(t=!0,(0,z.cY)("webterm.shell.ready",{terminalId:l,via:r,ms:Date.now()-B}),e())}}),W=setTimeout(()=>S("cap-".concat(X,"ms")),X);y.ready.then(e=>e?(v||(R.current=e),queueMicrotask(()=>w(R.current)),y.send("terminal/spawn",{sessionId:R.current,terminalId:l,cols:o.cols,rows:o.rows,replay:!0})):void S("no-session")).then(e=>{if(void 0===e)return;(0,z.cY)("webterm.spawn.result",e);let t="string"!=typeof e.snapshot||0===e.snapshot.trim().length;if("spawned"===e.status||"attached"===e.status&&t?E=!0:S("attached"===e.status?"attached":"status:".concat(String(e.status))),!s&&R.current){try{a.fit()}catch(e){}(0,z.cY)("webterm.xterm.size-sync",{terminalId:l,cols:o.cols,rows:o.rows,status:e.status}),y.send("terminal/resize",{sessionId:R.current,terminalId:l,cols:o.cols,rows:o.rows}).catch(e=>(0,z.cY)("webterm.resize.send-error",{reason:String(e)}))}"attached"===e.status&&"string"==typeof e.snapshot&&e.snapshot.length>0&&((0,z.cY)("webterm.attach.replay",{terminalId:l,bytes:e.snapshot.length}),o.write("\x1b[2J\x1b[H"+e.snapshot.split("\n").join("\r\n")+"\r\n"))}).catch(e=>{(0,z.cY)("webterm.spawn.error",{reason:String(e)}),S("spawn-error")});let K=y.on("sessionUpdate",e=>{var t,r,n;let i=null!=(r=e.params)?r:{},s=R.current;if(i.sessionId&&s&&i.sessionId!==s)return;let a=i.update;if(!a||"agent_thought_chunk"!==a.sessionUpdate)return;let u=(null==(t=a.content)?void 0:t.type)==="text"?a.content.text:null;if(!u)return;let c=(0,L.L)(u);c&&("terminalOutput"===c.method&&c.payload.terminalId===l?((0,z.cY)("webterm.ws.frame.in",{terminalId:l,bytes:c.payload.data.length}),o.write(c.payload.data),E&&(E=!1,S("first-output"))):"terminalExit"===c.method&&c.payload.terminalId===l?((0,z.cY)("webterm.pty.exit",{terminalId:l,code:c.payload.code}),o.write("\r\n\x1b[2m[exit ".concat(c.payload.code,"]\x1b[0m\r\n"))):"terminalInputActivity"===c.method&&c.payload.terminalId===l&&c.payload.peerId!==Y()&&((0,z.cY)("webterm.peer.input",{terminalId:l,peerId:c.payload.peerId.slice(0,4),bytes:c.payload.bytes}),null==(n=I.current)||n.call(I,{peerId:c.payload.peerId,bytes:c.payload.bytes,timestamp:c.payload.timestamp})))}),q=function(e){let t,{send:r,ready:n,getSessionId:l,terminalId:i,getPeerId:s,log:o,shellReady:a}=e,u=!a,c=[],h="",d=!1,f=!1,m=!1,p=!1,g=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(m)return;let r=new TextEncoder().encode(t+c.join("")).length;c.length=0,o("webterm.input.send-error",{reason:String(e),dropped:r})},b=async()=>{if(h&&u&&!f&&!m){f=!0;try{for(;c.length&&!m;){let e=c.shift();try{let t=l();await r("terminal/input",{sessionId:d&&t?t:h,terminalId:i,data:e,peerId:s()})}catch(t){g(t,e);break}}}finally{f=!1}}};return a&&a.then(()=>{u=!0,b()}),n.then(e=>{if(!m){if(!e){p=!0,g(t="ACP handshake returned no session");return}h=e,b()}},e=>{p=!0,t=e,g(e)}),{confirmSession(e){!m&&h&&e&&(d=!0)},push(e){if(!m){if(p)return void g(t,e);c.push(e),b()}},dispose(){m=!0,c.length=0}}}({send:(e,t)=>y.send(e,t),ready:y.ready,shellReady:U,getSessionId:()=>R.current,terminalId:l,getPeerId:Y,log:(e,t)=>{(0,z.cY)(e,t),t.dropped>0&&el({terminalId:l,dropped:t.dropped})}});w=q.confirmSession;let Q=s?null:(0,j.WU)(l,q.push),Z=s?null:(0,j.JW)(l,o),et=s?null:o.onData(e=>{if(e&&!(e.length<2)&&27===e.charCodeAt(0)&&(D.test(e)||A.test(e)||$.test(e)||O.test(e)||P.test(e)))return void(0,z.cY)("webterm.xterm.onData.capability-swallow",{terminalId:l,bytes:e.length});let t=(0,G.Q6)(e)?(0,j.ho)(l):null,r=t?(0,G.KZ)(e,t):e;t&&(0,z.cY)("webterm.modbar.sticky-applied",{ctrl:t.ctrl,alt:t.alt,bytes:new TextEncoder().encode(r).length}),(0,z.cY)("webterm.xterm.onData",{terminalId:l,bytes:e.length}),q.push(r)}),en=s?null:o.onResize(e=>{let{cols:t,rows:r}=e;(0,z.cY)("webterm.xterm.onResize",{terminalId:l,cols:t,rows:r}),y.send("terminal/resize",{sessionId:R.current,terminalId:l,cols:t,rows:r}).catch(e=>(0,z.cY)("webterm.resize.send-error",{reason:String(e)}))}),ei=m.current,es=null,eo=e=>{if(1!==e.touches.length){es=null;return}es={y:e.touches[0].clientY,viewportY:o.buffer.active.viewportY,wheelSent:0,bufferType:o.buffer.active.type}},ea=e=>{var t,r;if(!es||1!==e.touches.length)return;let n=o.buffer.active.type;if(n!==es.bufferType){es={y:e.touches[0].clientY,viewportY:o.buffer.active.viewportY,wheelSent:0,bufferType:n};return}let l=null==(t=o.element)?void 0:t.querySelector(".xterm-screen"),i=o.rows>0?(null!=(r=null==l?void 0:l.getBoundingClientRect().height)?r:0)/o.rows:0;if(!(i>0))return;let s="alternate"===n?(0,F.kI)({startY:es.y,currentY:e.touches[0].clientY,cellHeight:i,sentSteps:es.wheelSent}):(0,F.Yf)({startY:es.y,currentY:e.touches[0].clientY,cellHeight:i,startViewportY:es.viewportY,currentViewportY:o.buffer.active.viewportY}),a=(0,F.BX)({bufferType:n,mouseTracking:o.modes.mouseTrackingMode,lines:s});if("scrollback"===a.kind)o.scrollLines(a.lines),(0,z.cY)("webterm.touch-scroll",{kind:a.kind,lines:a.lines,bufferType:n});else if("wheel"===a.kind){let t=o.element;if(!t)return;(0,F.fb)(t,a.steps,e.touches[0].clientX,e.touches[0].clientY),es.wheelSent+=a.steps,(0,z.cY)("webterm.touch-scroll",{kind:a.kind,steps:a.steps,bufferType:n})}},eu=()=>{es=null};null==(e=ei.addEventListener)||e.call(ei,"touchstart",eo,{passive:!0}),null==(t=ei.addEventListener)||t.call(ei,"touchmove",ea,{passive:!0}),null==(i=ei.addEventListener)||i.call(ei,"touchend",eu,{passive:!0});let ec=function(e){var t,r;let n=null!=(t=e.trailingDebounceMs)?t:32,l=null,i=!1,s=()=>{if((l=null,!i)&&e.onTrailing)try{e.onTrailing()}catch(e){}},o=t=>{var r,o;if(i)return;let a=performance.now(),u=null==(o=e.target)||null==(r=o.getBoundingClientRect)?void 0:r.call(o),c=u?Math.round(u.width):void 0,h=u?Math.round(u.height):void 0;if((null==u?void 0:u.height)===0){null!==l&&(clearTimeout(l),l=null),(0,z.cY)("webterm.resize.skip",{source:t,...void 0!==c?{w:c}:{},h:h,reason:"zero-height"});return}let d=null;try{e.onImmediate()}catch(e){d=e instanceof Error?e.message:String(e)}(0,z.cY)("webterm.resize.trigger",{source:t,dt:Math.round((performance.now()-a)*100)/100,...void 0!==c?{w:c}:{},...void 0!==h?{h:h}:{},...d?{err:d}:{}}),e.onTrailing&&(null!==l&&clearTimeout(l),l=setTimeout(s,n))},a=null;"undefined"!=typeof ResizeObserver&&(a=new ResizeObserver(()=>o("ro"))).observe(e.target);let u=()=>o("win");window.addEventListener("resize",u);let c=null!=(r=window.visualViewport)?r:null,h=()=>o("vv");return c&&c.addEventListener("resize",h),{dispose(){if(!i){if(i=!0,null!==l&&(clearTimeout(l),l=null),a){try{a.disconnect()}catch(e){}a=null}window.removeEventListener("resize",u),c&&c.removeEventListener("resize",h)}},flushPending(){null!==l&&(clearTimeout(l),s())}}}({target:m.current,onImmediate:()=>{try{a.fit()}catch(e){}},onTrailing:()=>{try{a.fit()}catch(e){}}});return()=>{var e,t,r;try{let e=u.serialize();"string"==typeof e&&(0,T.Os)((0,T.o1)("xtermScrollback",l),e)}catch(e){(0,z.cY)("webterm.xterm.snapshot.error",{reason:String(e)})}try{ec.dispose()}catch(e){}null==(e=ei.removeEventListener)||e.call(ei,"touchstart",eo),null==(t=ei.removeEventListener)||t.call(ei,"touchmove",ea),null==(r=ei.removeEventListener)||r.call(ei,"touchend",eu),null==Z||Z(),null==Q||Q(),q.dispose(),clearTimeout(W),K(),x();try{null==et||et.dispose()}catch(e){}try{null==en||en.dispose()}catch(e){}try{y.close()}catch(e){}p.current===o&&(p.current=null),(null==b?void 0:b.__elanousTerm)===o&&delete b.__elanousTerm;try{o.dispose()}catch(e){}(0,z.cY)("webterm.xterm.teardown",{terminalId:l})}},[l,s,M,Q]);let ea="FAILED"===es||"CLOSED"===es?(t=q.reason)&&/auth_failed|\b1008\b|unauthori[sz]ed|\b401\b/i.test(t)?"auth":"transient":null,eu=(0,u.useRef)(B.token);(0,u.useEffect)(()=>{eu.current!==B.token&&(eu.current=B.token,"auth"===ea&&B.token&&((0,z.cY)("webterm.acp.reconnect",{terminalId:l,why:"token-changed"}),Z(e=>e+1)))},[B.token]),(0,u.useEffect)(()=>{var e,t,r;if(null===ea)return;let n=e=>{ee.current+=1,(0,z.cY)("webterm.acp.reconnect",{terminalId:l,why:e,attempt:ee.current,reason:q.reason}),Z(e=>e+1)},i="undefined"==typeof document?null:document,s=window,o=()=>{(null==i?void 0:i.visibilityState)==="visible"&&n("visible")},a=()=>n("online");null==i||null==(e=i.addEventListener)||e.call(i,"visibilitychange",o),null==s||null==(t=s.addEventListener)||t.call(s,"online",a);let u="transient"===ea?setTimeout(()=>n("backoff"),(r=ee.current,Math.min(3e4,1e3*2**Math.max(0,r)))):void 0;return()=>{var e,t;null==i||null==(e=i.removeEventListener)||e.call(i,"visibilitychange",o),null==s||null==(t=s.removeEventListener)||t.call(s,"online",a),void 0!==u&&clearTimeout(u)}},[ea,l]),(0,u.useEffect)(()=>{var e;e=x.current,void 0!==e&&e!==i&&p.current&&(p.current.clear(),(0,z.cY)("webterm.controls.clear.applied",{terminalId:l})),x.current=i},[i,l]);let ec="CONNECTING"===es?ee.current>0?"다시 연결 중(".concat(ee.current,"회)"):"연결 중":"OPEN"===es?"연결됨":"auth"===ea?"토큰 없음":"FAILED"===es?"연결 실패 \xb7 곧 다시 붙습니다":"연결 끊김 \xb7 곧 다시 붙습니다",eh="OPEN"===es?"text-emerald-300":"CONNECTING"===es?"text-amber-300":"text-red-300",ed=l.trim()||"대상 미지정",ef=Math.max(0,Math.floor((et-eo)/1e3));return(0,u.useEffect)(()=>{if("undefined"==typeof document)return;let e=()=>{var e;let t=g.current;if(!t)return!1;let r=document.activeElement;return!!(r&&t.contains(r))||!(r?null==(e=r.closest)?void 0:e.call(r,"[data-xterm-host]"):null)&&document.querySelector("[data-xterm-host]")===t},t=t=>{if(W(t)&&("KeyF"===t.code||"F"===t.key||"f"===t.key)&&e()){t.preventDefault(),t.stopPropagation(),y();return}let r=W(t)?"Equal"===t.code||"NumpadAdd"===t.code||"+"===t.key||"="===t.key?1:"Minus"===t.code||"NumpadSubtract"===t.code||"_"===t.key||"-"===t.key?-1:0:0,n=p.current;if(0!==r&&n&&e()){t.preventDefault(),t.stopPropagation();let e=H((null!=(l=n.options.fontSize)?l:13)+r);n.options.fontSize=e;var l,i=window.localStorage;try{null==i||i.setItem(V,String(H(e)))}catch(e){}(0,z.cY)("webterm.focus-mode",{event:"font",size:e})}};return document.addEventListener("keydown",t,!0),()=>document.removeEventListener("keydown",t,!0)},[]),(0,u.useEffect)(()=>{var e,t,r,n,i;if((0,z.cY)("webterm.focus-mode",{event:_?"on":"off",terminalId:l}),"undefined"!=typeof document){try{_&&!document.fullscreenElement&&(null==(t=(r=document.documentElement).requestFullscreen)||t.call(r).catch(()=>{})),!_&&document.fullscreenElement&&(null==(n=(i=document).exitFullscreen)||n.call(i).catch(()=>{}))}catch(e){}_&&(null==(e=p.current)||e.focus())}},[_,l]),(0,a.jsxs)("div",{ref:g,"data-xterm-host":!0,"data-focus-mode":_?"1":void 0,className:_?"fixed inset-0 z-[90] h-[100dvh] w-screen bg-[#0d0c08]":"relative h-full w-full bg-[#0d0c08]",children:[(0,a.jsx)("div",{ref:m,className:"h-full w-full"}),(0,a.jsx)("button",{type:"button","data-share-hide":!0,onClick:y,"aria-pressed":_,"aria-label":_?"집중 모드 끄기":"집중 모드 — 터미널만 크게",title:_?"집중 모드 끄기 (Ctrl/⌘+Shift+F)":"집중 모드 — 터미널만 크게 (Ctrl/⌘+Shift+F \xb7 글자 Ctrl/⌘+Shift+\xb1)",className:_?"absolute bottom-2 right-2 z-40 rounded bg-black/60 px-2 py-1 text-xs text-[#e9e3d4]/70 hover:text-[#e9e3d4]":"absolute bottom-2 right-2 z-20 rounded bg-black/60 px-2 py-1 text-xs text-[#e9e3d4]/70 hover:text-[#e9e3d4]",children:_?"⤡ 나가기":"⤢ 집중"}),ei&&(0,a.jsxs)("div",{role:"alert",className:"pointer-events-none absolute bottom-2 left-2 right-2 rounded bg-red-950/95 px-3 py-2 text-sm text-red-100",children:["터미널 입력 전송 실패: ",ei.dropped,"바이트가 버려졌습니다. 명령이 일부만 실행됐을 수 있습니다. 입력을 확인하고 다시 입력하세요."]}),"auth"===ea&&(0,a.jsxs)("div",{role:"alert",className:"absolute left-2 right-2 top-10 z-30 space-y-1 rounded bg-amber-950/95 px-3 py-2 text-sm text-amber-100","data-webterm-auth-missing":!0,children:[(0,a.jsx)("p",{children:"이 기기에 소유자 토큰이 없어 터미널에 연결하지 못했습니다 — 설정에서 토큰을 붙이면 바로 연결됩니다."}),(0,a.jsx)("p",{className:"text-xs text-amber-200/90",children:"토큰 얻기: 이미 연결된 기기의 설정 › 연결 토큰 만들기 에서 만들거나, 데몬 기계에서 pbcopy < ~/.elanous/acp-token → 이 기기의 설정 › 데몬 연결 › 연결 토큰 칸에 붙여 넣기"}),(0,a.jsx)("a",{href:"/app/settings/#bearer-token",className:"inline-block font-medium underline","data-webterm-auth-settings":!0,children:"설정 열기 →"})]}),(0,a.jsxs)("span",{"aria-live":"polite",className:"sr-only",children:["ACP: ",ec]}),(0,a.jsxs)("span",{className:"pointer-events-none absolute right-2 top-2 rounded bg-black/70 px-2 py-1 text-xs ".concat(eh),children:["ACP: ",ec,"CONNECTING"===es&&(0,a.jsxs)("span",{"data-share-hide":!0,children:[" \xb7 ","".concat(ef,"초 \xb7 ").concat(ed," \xb7 ").concat(B.baseUrl)]})]})]})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3789],{43789:(t,i,e)=>{e.d(i,{diagram:()=>tn});var s,a=e(93768),n=e(53841);e(31317);var h=e(30356),o=e(77500),r=e(89098),l=e(86396),c=e(18889),g=function(){var t=(0,l.K)(function(t,i,e,s){for(e=e||{},s=t.length;s--;e[t[s]]=i);return e},"o"),i=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],a=[1,5],n=[1,6],h=[1,7],o=[1,5,10,12,14,16,18,19,21,23,36,37,38],r=[1,25],c=[1,26],g=[1,28],u=[1,29],x=[1,30],d=[1,31],p=[1,32],f=[1,33],m=[1,34],y=[1,35],b=[1,36],w=[1,37],C=[1,43],S=[1,42],A=[1,47],k=[1,50],R=[1,10,12,14,16,18,19,21,23,36,37,38],_=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],T=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],D=[1,65],L=[26,28],P={trace:(0,l.K)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:(0,l.K)(function(t,i,e,s,a,n,h){var o=n.length-1;switch(a){case 5:s.setOrientation(n[o]);break;case 9:s.setDiagramTitle(n[o].text.trim());break;case 12:s.setLineData({text:"",type:"text"},n[o]);break;case 13:s.setLineData(n[o-1],n[o]);break;case 14:s.setBarData({text:"",type:"text"},n[o]);break;case 15:s.setBarData(n[o-1],n[o]);break;case 16:this.$=n[o].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=n[o].trim(),s.setAccDescription(this.$);break;case 19:case 29:this.$=n[o-1];break;case 20:case 30:this.$=[n[o-2],...n[o]];break;case 21:case 31:this.$=[n[o]];break;case 22:this.$={value:Number(n[o-1]),label:n[o]};break;case 23:this.$={value:Number(n[o]),label:""};break;case 24:s.setXAxisTitle(n[o]);break;case 25:s.setXAxisTitle(n[o-1]);break;case 26:s.setXAxisTitle({type:"text",text:""});break;case 27:s.setXAxisBand(n[o]);break;case 28:s.setXAxisRangeData(Number(n[o-2]),Number(n[o]));break;case 32:s.setYAxisTitle(n[o]);break;case 33:s.setYAxisTitle(n[o-1]);break;case 34:s.setYAxisTitle({type:"text",text:""});break;case 35:s.setYAxisRangeData(Number(n[o-2]),Number(n[o]));break;case 39:case 40:this.$={text:n[o],type:"text"};break;case 41:this.$={text:n[o],type:"markdown"};break;case 42:this.$=n[o];break;case 43:this.$=n[o-1]+""+n[o]}},"anonymous"),table:[t(i,e,{3:1,4:2,7:4,5:s,36:a,37:n,38:h}),{1:[3]},t(i,e,{4:2,7:4,3:8,5:s,36:a,37:n,38:h}),t(i,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],36:a,37:n,38:h}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(o,[2,36]),t(o,[2,37]),t(o,[2,38]),{1:[2,1]},t(i,e,{4:2,7:4,3:21,5:s,36:a,37:n,38:h}),{1:[2,3]},t(o,[2,5]),t(i,[2,7],{4:22,36:a,37:n,38:h}),{11:23,30:r,39:24,40:c,41:27,42:g,43:u,44:x,45:d,46:p,47:f,48:m,49:y,50:b,51:w},{11:39,13:38,24:C,29:S,30:r,31:40,32:41,39:24,40:c,41:27,42:g,43:u,44:x,45:d,46:p,47:f,48:m,49:y,50:b,51:w},{11:45,15:44,29:A,30:r,35:46,39:24,40:c,41:27,42:g,43:u,44:x,45:d,46:p,47:f,48:m,49:y,50:b,51:w},{11:49,17:48,24:k,30:r,39:24,40:c,41:27,42:g,43:u,44:x,45:d,46:p,47:f,48:m,49:y,50:b,51:w},{11:52,17:51,24:k,30:r,39:24,40:c,41:27,42:g,43:u,44:x,45:d,46:p,47:f,48:m,49:y,50:b,51:w},{20:[1,53]},{22:[1,54]},t(R,[2,18]),{1:[2,2]},t(R,[2,8]),t(R,[2,9]),t(_,[2,39],{41:55,42:g,43:u,44:x,45:d,46:p,47:f,48:m,49:y,50:b,51:w}),t(_,[2,40]),t(_,[2,41]),t(T,[2,42]),t(T,[2,44]),t(T,[2,45]),t(T,[2,46]),t(T,[2,47]),t(T,[2,48]),t(T,[2,49]),t(T,[2,50]),t(T,[2,51]),t(T,[2,52]),t(T,[2,53]),t(R,[2,10]),t(R,[2,24],{32:41,31:56,24:C,29:S}),t(R,[2,26]),t(R,[2,27]),{33:[1,57]},{11:59,30:r,34:58,39:24,40:c,41:27,42:g,43:u,44:x,45:d,46:p,47:f,48:m,49:y,50:b,51:w},t(R,[2,11]),t(R,[2,32],{35:60,29:A}),t(R,[2,34]),{33:[1,61]},t(R,[2,12]),{17:62,24:k},{25:63,27:64,29:D},t(R,[2,14]),{17:66,24:k},t(R,[2,16]),t(R,[2,17]),t(T,[2,43]),t(R,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},t(R,[2,33]),{29:[1,70]},t(R,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},t(L,[2,23],{30:[1,73]}),t(R,[2,15]),t(R,[2,28]),t(R,[2,29]),{11:59,30:r,34:74,39:24,40:c,41:27,42:g,43:u,44:x,45:d,46:p,47:f,48:m,49:y,50:b,51:w},t(R,[2,35]),t(R,[2,19]),{25:75,27:64,29:D},t(L,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:(0,l.K)(function(t,i){if(i.recoverable)this.trace(t);else{var e=Error(t);throw e.hash=i,e}},"parseError"),parse:(0,l.K)(function(t){var i=this,e=[0],s=[],a=[null],n=[],h=this.table,o="",r=0,c=0,g=0,u=n.slice.call(arguments,1),x=Object.create(this.lexer),d={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d[p]=this.yy[p]);x.setInput(t,d),d.lexer=x,d.parser=this,void 0===x.yylloc&&(x.yylloc={});var f=x.yylloc;n.push(f);var m=x.options&&x.options.ranges;function y(){var t;return"number"!=typeof(t=s.pop()||x.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=i.symbols_[t]||t),t}"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,l.K)(function(t){e.length=e.length-2*t,a.length=a.length-t,n.length=n.length-t},"popStack"),(0,l.K)(y,"lex");for(var b,w,C,S,A,k,R,_,T,D={};;){if(C=e[e.length-1],this.defaultActions[C]?S=this.defaultActions[C]:(null==b&&(b=y()),S=h[C]&&h[C][b]),void 0===S||!S.length||!S[0]){var L="";for(k in T=[],h[C])this.terminals_[k]&&k>2&&T.push("'"+this.terminals_[k]+"'");L=x.showPosition?"Parse error on line "+(r+1)+":\n"+x.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(r+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(L,{text:x.match,token:this.terminals_[b]||b,line:x.yylineno,loc:f,expected:T})}if(S[0]instanceof Array&&S.length>1)throw Error("Parse Error: multiple actions possible at state: "+C+", token: "+b);switch(S[0]){case 1:e.push(b),a.push(x.yytext),n.push(x.yylloc),e.push(S[1]),b=null,w?(b=w,w=null):(c=x.yyleng,o=x.yytext,r=x.yylineno,f=x.yylloc,g>0&&g--);break;case 2:if(R=this.productions_[S[1]][1],D.$=a[a.length-R],D._$={first_line:n[n.length-(R||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(R||1)].first_column,last_column:n[n.length-1].last_column},m&&(D._$.range=[n[n.length-(R||1)].range[0],n[n.length-1].range[1]]),void 0!==(A=this.performAction.apply(D,[o,c,r,d,S[1],a,n].concat(u))))return A;R&&(e=e.slice(0,-1*R*2),a=a.slice(0,-1*R),n=n.slice(0,-1*R)),e.push(this.productions_[S[1]][0]),a.push(D.$),n.push(D._$),_=h[e[e.length-2]][e[e.length-1]],e.push(_);break;case 3:return!0}}return!0},"parse")};function v(){this.yy={}}return P.lexer={EOF:1,parseError:(0,l.K)(function(t,i){if(this.yy.parser)this.yy.parser.parseError(t,i);else throw Error(t)},"parseError"),setInput:(0,l.K)(function(t,i){return this.yy=i||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,l.K)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:(0,l.K)(function(t){var i=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),e.length-1&&(this.yylineno-=e.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:e?(e.length===s.length?this.yylloc.first_column:0)+s[s.length-e.length].length-e[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:(0,l.K)(function(){return this._more=!0,this},"more"),reject:(0,l.K)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,l.K)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,l.K)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,l.K)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,l.K)(function(){var t=this.pastInput(),i=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},"showPosition"),test_match:(0,l.K)(function(t,i){var e,s,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack)for(var n in a)this[n]=a[n];return!1},"test_match"),next:(0,l.K)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,i,e,s,a=this._currentRules(),n=0;n<a.length;n++)if((e=this._input.match(this.rules[a[n]]))&&(!i||e[0].length>i[0].length)){if(i=e,s=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,a[n])))return t;if(!this._backtrack)return!1;i=!1;continue}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,a[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,l.K)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,l.K)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,l.K)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,l.K)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,l.K)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,l.K)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,l.K)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,l.K)(function(t,i,e,s){switch(e){case 0:case 1:case 5:case 44:break;case 2:case 3:return this.popState(),36;case 4:return 36;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:case 26:case 28:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:case 15:return 5;case 16:return 8;case 17:return this.pushState("axis_data"),"X_AXIS";case 18:return this.pushState("axis_data"),"Y_AXIS";case 19:return this.pushState("axis_band_data"),24;case 20:return 33;case 21:return this.pushState("data"),16;case 22:return this.pushState("data"),18;case 23:return this.pushState("data_inner"),24;case 24:return 29;case 25:return this.popState(),26;case 27:this.pushState("string");break;case 29:return"STR";case 30:return 24;case 31:return 26;case 32:return 44;case 33:return"COLON";case 34:return 45;case 35:return 28;case 36:return 46;case 37:return 47;case 38:return 49;case 39:return 51;case 40:return 48;case 41:return 42;case 42:return 50;case 43:return 43;case 45:return 37;case 46:return 38}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\})/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}},(0,l.K)(v,"Parser"),v.prototype=P,P.Parser=v,new v}();function u(t){return"bar"===t.type}function x(t){return"band"===t.type}function d(t){return"linear"===t.type}g.parser=g,(0,l.K)(u,"isBarPlot"),(0,l.K)(x,"isBandAxisData"),(0,l.K)(d,"isLinearAxisData");var p=class{constructor(t){this.parentGroup=t}static{(0,l.K)(this,"TextDimensionCalculatorWithFont")}getMaxDimension(t,i){if(!this.parentGroup)return{width:t.reduce((t,i)=>Math.max(i.length,t),0)*i,height:i};let e={width:0,height:0},s=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",i),a=s.node()?.getScreenCTM?.(),h=(0,l.K)(t=>t&&t>0?t:1,"toScale"),o=h(a?.a),r=h(a?.d);for(let a of t){let t=(0,n.W6)(s,1,a),h=t?t.width/o:a.length*i,l=t?t.height/r:i;e.width=Math.max(e.width,h),e.height=Math.max(e.height,l)}return s.remove(),e}},f=class{constructor(t,i,e,s){this.axisConfig=t,this.title=i,this.textDimensionCalculator=e,this.axisThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.normalizedLabelRotationInRad=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.normalizedLabelRotationInRad=this.axisConfig.labelRotation>=-90&&this.axisConfig.labelRotation<=90?this.axisConfig.labelRotation*Math.PI/180:0}static{(0,l.K)(this,"BaseAxis")}setRange(t){this.range=t,"left"===this.axisPosition||"right"===this.axisPosition?this.boundingRect.height=t[1]-t[0]:this.boundingRect.width=t[1]-t[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(t){this.axisPosition=t,this.setRange(this.range)}getTickDistance(){let t=this.getRange();return Math.abs(t[0]-t[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(t=>t.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){.7*this.getTickDistance()>2*this.outerPadding&&(this.outerPadding=Math.floor(.7*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(t){let i=t.height;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let e=this.getLabelDimension(),s=.2*t.width;this.outerPadding=Math.min(e.width/2,s);let a=e.height;"bottom"===this.axisPosition&&0!==this.normalizedLabelRotationInRad&&(a=Math.max(a,Math.abs(Math.sin(this.normalizedLabelRotationInRad)*e.width)+Math.abs(Math.cos(this.normalizedLabelRotationInRad)*e.height))),a+=2*this.axisConfig.labelPadding,this.labelTextHeight=e.height,a<=i&&(i-=a,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width,this.boundingRect.height=t.height-i}calculateSpaceIfDrawnVertical(t){let i=t.width;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let e=this.getLabelDimension(),s=.2*t.height;this.outerPadding=Math.min(e.height/2,s);let a=e.width+2*this.axisConfig.labelPadding;a<=i&&(i-=a,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width-i,this.boundingRect.height=t.height}calculateSpace(t){return"left"===this.axisPosition||"right"===this.axisPosition?this.calculateSpaceIfDrawnVertical(t):this.calculateSpaceIfDrawnHorizontally(t),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateOffsetByRotation(t){let i=this.normalizedLabelRotationInRad;return 0===i?0:Math.sin(i)*this.getLabelDimension()[t]/2}getDrawableElementsForLeftAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(t),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){let i=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${i},${this.getScaleValue(t)} L ${i-this.axisConfig.tickLength},${this.getScaleValue(t)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForBottomAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.y+this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.getScaleValue(t)+this.calculateOffsetByRotation("height"),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0)+Math.abs(this.calculateOffsetByRotation("width")),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:180*this.normalizedLabelRotationInRad/Math.PI,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let i=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${this.getScaleValue(t)},${i} L ${this.getScaleValue(t)},${i+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForTopAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+2*this.axisConfig.titlePadding:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let i=this.boundingRect.y;t.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${this.getScaleValue(t)},${i+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(t)},${i+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElements(){if("left"===this.axisPosition)return this.getDrawableElementsForLeftAxis();if("right"===this.axisPosition)throw Error("Drawing of right axis is not implemented");return"bottom"===this.axisPosition?this.getDrawableElementsForBottomAxis():"top"===this.axisPosition?this.getDrawableElementsForTopAxis():[]}},m=class extends f{static{(0,l.K)(this,"BandAxis")}constructor(t,i,e,s,a){super(t,s,a,i),this.categories=e,this.scale=(0,c.WH)().domain(this.categories).range(this.getRange())}setRange(t){super.setRange(t)}recalculateScale(){this.scale=(0,c.WH)().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),r.R.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(t){return this.scale(t)??this.getRange()[0]}},y=class extends f{static{(0,l.K)(this,"LinearAxis")}constructor(t,i,e,s,a){super(t,s,a,i),this.domain=e,this.scale=(0,c.m4Y)().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let t=[...this.domain];"left"===this.axisPosition&&t.reverse(),this.scale=(0,c.m4Y)().domain(t).range(this.getRange())}getScaleValue(t){return this.scale(t)}};function b(t,i,e,s){let a=new p(s);return x(t)?new m(i,e,t.categories,t.title,a):new y(i,e,[t.min,t.max],t.title,a)}(0,l.K)(b,"getAxis");var w=class{constructor(t,i,e,s){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=e,this.chartThemeConfig=s,this.titleWidth=0,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{(0,l.K)(this,"ChartTitle")}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){let i=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),e=Math.max(i.width,t.width),s=i.height+2*this.chartConfig.titlePadding;return s<=t.height&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=e,this.boundingRect.height=s,this.titleWidth=i.width,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}alignTo(t,i){let e=Math.min(this.titleWidth,this.chartConfig.width)/2,s=Math.min(Math.max((t+i)/2,e),this.chartConfig.width-e);this.boundingRect.x=s-e,this.boundingRect.width=2*e}getDrawableElements(){let t=[];return this.showChartTitle&&t.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),t}};function C(t,i,e,s){return new w(new p(s),t,i,e)}function S(t){return{fontSize:t,markerSize:.75*t,markerSpacing:.35*t,itemSpacing:.5*t}}(0,l.K)(C,"getChartTitleComponent"),(0,l.K)(S,"getLegendLayout");var A=class{constructor(t,i,e,s){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=e,this.chartThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.visiblePlots=[]}static{(0,l.K)(this,"ChartLegend")}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){if(this.visiblePlots=this.chartConfig.showLegend?this.chartData.plots.filter(t=>t.title):[],0===this.visiblePlots.length)return this.boundingRect.width=0,this.boundingRect.height=0,{width:0,height:0};let{fontSize:i,markerSize:e,markerSpacing:s,itemSpacing:a}=S(this.chartConfig.legendFontSize),n=this.textDimensionCalculator.getMaxDimension(this.visiblePlots.map(t=>t.title),i),h=2*this.chartConfig.legendPadding+e+s+n.width,o=2*this.chartConfig.legendPadding+this.visiblePlots.length*i+(this.visiblePlots.length-1)*a;return h<=t.width&&o<=t.height?(this.boundingRect.width=h,this.boundingRect.height=o):(this.visiblePlots=[],this.boundingRect.width=0,this.boundingRect.height=0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(0===this.visiblePlots.length)return[];let{fontSize:t,markerSize:i,markerSpacing:e,itemSpacing:s}=S(this.chartConfig.legendFontSize),a=t+s,n=this.boundingRect.x+this.chartConfig.legendPadding,h=this.boundingRect.y+this.chartConfig.legendPadding,o=[],r=[];for(let[t,e]of this.visiblePlots.entries())if(u(e))o.push({x:n,y:h+t*a,width:i,height:i,fill:e.fill,strokeFill:e.fill,strokeWidth:0});else{let s=h+t*a+i/2;r.push({path:`M ${n},${s} L ${n+i},${s}`,strokeFill:e.strokeFill,strokeWidth:e.strokeWidth})}return[{groupTexts:["legend","markers"],type:"rect",data:o},{groupTexts:["legend","markers"],type:"path",data:r},{groupTexts:["legend","label"],type:"text",data:this.visiblePlots.map((s,o)=>({text:s.title,x:n+i+e,y:h+o*a+i/2,fill:this.chartThemeConfig.legendTextColor,fontSize:t,rotation:0,verticalPos:"middle",horizontalPos:"left"}))}]}};function k(t,i,e,s){return new A(new p(s),t,i,e)}(0,l.K)(k,"getChartLegendComponent");var R=class{constructor(t,i,e,s,a){this.plotData=t,this.xAxis=i,this.yAxis=e,this.orientation=s,this.plotIndex=a}static{(0,l.K)(this,"LinePlot")}getDrawableElement(){let t,i=this.plotData.data.map(t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]);if(!(t="horizontal"===this.orientation?(0,c.n8j)().y(t=>t[0]).x(t=>t[1])(i):(0,c.n8j)().x(t=>t[0]).y(t=>t[1])(i)))return[];let e=[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:t,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}];if(this.plotData.pointLabels&&this.plotData.pointLabels.length>0){let t=[];for(let[e,[s,a]]of i.entries()){let i=this.plotData.pointLabels[e];i&&("horizontal"===this.orientation?t.push({x:a+10,y:s,text:i,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"left",fontSize:12,rotation:0}):t.push({x:s,y:a-10,text:i,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"center",fontSize:12,rotation:0}))}t.length>0&&e.push({groupTexts:["plot",`line-plot-${this.plotIndex}`,"labels"],type:"text",data:t})}return e}},_=class{constructor(t,i,e,s,a,n){this.barData=t,this.boundingRect=i,this.xAxis=e,this.yAxis=s,this.orientation=a,this.plotIndex=n}static{(0,l.K)(this,"BarPlot")}getDrawableElement(){let t=this.barData.data.map(t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]),i=.95*Math.min(2*this.xAxis.getAxisOuterPadding(),this.xAxis.getTickDistance()),e=i/2;return"horizontal"===this.orientation?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(t=>({x:this.boundingRect.x,y:t[0]-e,height:i,width:t[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(t=>({x:t[0]-e,y:t[1],width:i,height:this.boundingRect.y+this.boundingRect.height-t[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},T=class{constructor(t,i,e){this.chartConfig=t,this.chartData=i,this.chartThemeConfig=e,this.boundingRect={x:0,y:0,width:0,height:0}}static{(0,l.K)(this,"BasePlot")}setAxes(t,i){this.xAxis=t,this.yAxis=i}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){return this.boundingRect.width=t.width,this.boundingRect.height=t.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");let t=[];for(let[i,e]of this.chartData.plots.entries())switch(e.type){case"line":{let s=new R(e,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}break;case"bar":{let s=new _(e,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}}return t}};function D(t,i,e){return new T(t,i,e)}(0,l.K)(D,"getPlotComponent");var L=class{constructor(t,i,e,s){this.chartConfig=t,this.chartData=i,this.componentStore={title:C(t,i,e,s),plot:D(t,i,e),legend:k(t,i,e,s),xAxis:b(i.xAxis,t.xAxis,{titleColor:e.xAxisTitleColor,labelColor:e.xAxisLabelColor,tickColor:e.xAxisTickColor,axisLineColor:e.xAxisLineColor},s),yAxis:b(i.yAxis,t.yAxis,{titleColor:e.yAxisTitleColor,labelColor:e.yAxisLabelColor,tickColor:e.yAxisTickColor,axisLineColor:e.yAxisLineColor},s)}}static{(0,l.K)(this,"Orchestrator")}calculateVerticalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,a={width:0,height:0},n=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),h=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),o=this.componentStore.plot.calculateSpace({width:n,height:h});t-=o.width,i-=o.height,s=(o=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i})).height,i-=o.height,this.componentStore.xAxis.setAxisPosition("bottom"),o=this.componentStore.xAxis.calculateSpace({width:t,height:i}),i-=o.height,this.componentStore.yAxis.setAxisPosition("left"),e=(o=this.componentStore.yAxis.calculateSpace({width:t,height:i})).width,t-=o.width,a=this.componentStore.legend.calculateSpace({width:t,height:h}),(t-=a.width)>0&&(n+=t,t=0),i>0&&(h+=i,i=0),this.componentStore.plot.calculateSpace({width:n,height:h}),this.componentStore.plot.setBoundingBoxXY({x:e,y:s}),this.componentStore.title.alignTo(e,e+n),this.componentStore.legend.setBoundingBoxXY({x:e+n,y:s+Math.max((h-a.height)/2,0)}),this.componentStore.xAxis.setRange([e,e+n]),this.componentStore.xAxis.setBoundingBoxXY({x:e,y:s+h}),this.componentStore.yAxis.setRange([s,s+h]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:s}),this.chartData.plots.some(t=>u(t))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,a=0,n={width:0,height:0},h=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),o=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),r=this.componentStore.plot.calculateSpace({width:h,height:o});t-=r.width,i-=r.height,e=(r=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i})).height,i-=r.height,this.componentStore.xAxis.setAxisPosition("left"),r=this.componentStore.xAxis.calculateSpace({width:t,height:i}),t-=r.width,s=r.width,this.componentStore.yAxis.setAxisPosition("top"),r=this.componentStore.yAxis.calculateSpace({width:t,height:i}),i-=r.height,a=e+r.height,n=this.componentStore.legend.calculateSpace({width:t,height:o}),(t-=n.width)>0&&(h+=t,t=0),i>0&&(o+=i,i=0),this.componentStore.plot.calculateSpace({width:h,height:o}),this.componentStore.plot.setBoundingBoxXY({x:s,y:a}),this.componentStore.title.alignTo(s,s+h),this.componentStore.legend.setBoundingBoxXY({x:s+h,y:a+Math.max((o-n.height)/2,0)}),this.componentStore.yAxis.setRange([s,s+h]),this.componentStore.yAxis.setBoundingBoxXY({x:s,y:e}),this.componentStore.xAxis.setRange([a,a+o]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:a}),this.chartData.plots.some(t=>u(t))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){"horizontal"===this.chartConfig.chartOrientation?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let t=[];for(let i of(this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis),Object.values(this.componentStore)))t.push(...i.getDrawableElements());return t}},P=class{static{(0,l.K)(this,"XYChartBuilder")}static build(t,i,e,s){return new L(t,i,e,s).getDrawableElement()}},v=0,E=W(),K=B(),M=F(),I=K.plotColorPalette.split(",").map(t=>t.trim()),z=!1,$=!1;function B(){let t=(0,o.P$)(),i=(0,o.zj)();return(0,h.$t)(t.xyChart,i.themeVariables.xyChart)}function W(){let t=(0,o.zj)();return(0,h.$t)(o.UI.xyChart,t.xyChart)}function F(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}function O(t){let i=(0,o.zj)();return(0,o.jZ)(t.trim(),i)}function N(t){s=t}function X(t){"horizontal"===t?E.chartOrientation="horizontal":E.chartOrientation="vertical"}function V(t){M.xAxis.title=O(t.text)}function Y(t,i){M.xAxis={type:"linear",title:M.xAxis.title,min:t,max:i},z=!0}function H(t){M.xAxis={type:"band",title:M.xAxis.title,categories:t.map(t=>O(t.text))},z=!0}function U(t){M.yAxis.title=O(t.text)}function j(t,i){M.yAxis={type:"linear",title:M.yAxis.title,min:t,max:i},$=!0}function G(t){let i=Math.min(...t),e=Math.max(...t),s=d(M.yAxis)?M.yAxis.min:1/0,a=d(M.yAxis)?M.yAxis.max:-1/0;M.yAxis={type:"linear",title:M.yAxis.title,min:Math.min(s,i),max:Math.max(a,e)}}function Q(t){let i=[];if(0===t.length)return i;if(z||Y(Math.min(d(M.xAxis)?M.xAxis.min:1/0,1),Math.max(d(M.xAxis)?M.xAxis.max:-1/0,t.length)),x(M.xAxis)&&t.length>M.xAxis.categories.length&&(t=t.slice(0,M.xAxis.categories.length)),$||G(t),x(M.xAxis)&&(i=M.xAxis.categories.map((i,e)=>[i,t[e]])),d(M.xAxis)){let e=M.xAxis.min,s=M.xAxis.max;if(1===t.length)i=[[`${e}`,t[0]]];else{let a=(s-e)/(t.length-1);i=t.map((t,i)=>[`${e+i*a}`,t])}}return i}function Z(t){return I[0===t?0:t%I.length]}function q(t,i){let e=i.map(t=>t.value),s=i.map(t=>t.label?O(t.label):""),a=Q(e),n=s.some(t=>""!==t);M.plots.push({type:"line",title:O(t.text),strokeFill:Z(v),strokeWidth:2,data:a,...n?{pointLabels:s}:{}}),v++}function J(t,i){let e=Q(i.map(t=>t.value));M.plots.push({type:"bar",title:O(t.text),fill:Z(v),data:e}),v++}function tt(){if(0===M.plots.length)throw Error("No Plot to render, please provide a plot with some data");return M.title=(0,o.ab)(),P.build(E,M,K,s)}function ti(){return K}function te(){return E}function ts(){return M}(0,l.K)(B,"getChartDefaultThemeConfig"),(0,l.K)(W,"getChartDefaultConfig"),(0,l.K)(F,"getChartDefaultData"),(0,l.K)(O,"textSanitizer"),(0,l.K)(N,"setTmpSVGG"),(0,l.K)(X,"setOrientation"),(0,l.K)(V,"setXAxisTitle"),(0,l.K)(Y,"setXAxisRangeData"),(0,l.K)(H,"setXAxisBand"),(0,l.K)(U,"setYAxisTitle"),(0,l.K)(j,"setYAxisRangeData"),(0,l.K)(G,"setYAxisRangeFromPlotData"),(0,l.K)(Q,"transformDataWithoutCategory"),(0,l.K)(Z,"getPlotColorFromPalette"),(0,l.K)(q,"setLineData"),(0,l.K)(J,"setBarData"),(0,l.K)(tt,"getDrawableElem"),(0,l.K)(ti,"getChartThemeConfig"),(0,l.K)(te,"getChartConfig"),(0,l.K)(ts,"getXYChartData");var ta={getDrawableElem:tt,clear:(0,l.K)(function(){(0,o.IU)(),v=0,E=W(),M=F(),I=(K=B()).plotColorPalette.split(",").map(t=>t.trim()),z=!1,$=!1},"clear"),setAccTitle:o.SV,getAccTitle:o.iN,setDiagramTitle:o.ke,getDiagramTitle:o.ab,getAccDescription:o.m7,setAccDescription:o.EI,setOrientation:X,setXAxisTitle:V,setXAxisRangeData:Y,setXAxisBand:H,setYAxisTitle:U,setYAxisRangeData:j,setLineData:q,setBarData:J,setTmpSVGG:N,getChartThemeConfig:ti,getChartConfig:te,getXYChartData:ts},tn={parser:g,db:ta,renderer:{draw:(0,l.K)((t,i,e,s)=>{let n=s.db,h=n.getChartThemeConfig(),c=n.getChartConfig(),g=n.getXYChartData().plots[0].data.map(t=>t[1]);function u(t){return"top"===t?"text-before-edge":"middle"}function x(t){return"left"===t?"start":"right"===t?"end":"middle"}function d(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}(0,l.K)(u,"getDominantBaseLine"),(0,l.K)(x,"getTextAnchor"),(0,l.K)(d,"getTextTransformation"),r.R.debug("Rendering xychart chart\n"+t);let p=(0,a.D)(i),f=p.append("g").attr("class","main"),m=f.append("rect").attr("width",c.width).attr("height",c.height).attr("class","background");(0,o.a$)(p,c.height,c.width,!0),p.attr("viewBox",`0 0 ${c.width} ${c.height}`),m.attr("fill",h.backgroundColor),n.setTmpSVGG(p.append("g").attr("class","mermaid-tmp-group"));let y=n.getDrawableElem(),b={};function w(t){let i=f,e="";for(let[s]of t.entries()){let a=f;s>0&&b[e]&&(a=b[e]),e+=t[s],(i=b[e])||(i=b[e]=a.append("g").attr("class",t[s]))}return i}for(let t of((0,l.K)(w,"getGroup"),y)){if(0===t.data.length)continue;let i=w(t.groupTexts);switch(t.type){case"rect":if(i.selectAll("rect").data(t.data).enter().append("rect").attr("x",t=>t.x).attr("y",t=>t.y).attr("width",t=>t.width).attr("height",t=>t.height).attr("fill",t=>t.fill).attr("stroke",t=>t.strokeFill).attr("stroke-width",t=>t.strokeWidth),c.showDataLabel){let e=c.showDataLabelOutsideBar;if("horizontal"===c.chartOrientation){let s=function(t,i){let{data:e,label:s}=t;return i*s.length*a<=e.width-n};(0,l.K)(s,"fitsHorizontally");let a=.7,n=10,o=t.data.map((t,i)=>({data:t,label:g[i].toString()})).filter(t=>t.data.width>0&&t.data.height>0),r=Math.floor(Math.min(...o.map(t=>{let{data:i}=t,e=.7*i.height;for(;!s(t,e)&&e>0;)e-=1;return e}))),c=(0,l.K)(t=>e?t.data.x+t.data.width+n:t.data.x+t.data.width-n,"determineLabelXPosition");i.selectAll("text").data(o).enter().append("text").attr("x",c).attr("y",t=>t.data.y+t.data.height/2).attr("text-anchor",e?"start":"end").attr("dominant-baseline","middle").attr("fill",h.dataLabelColor).attr("font-size",`${r}px`).text(t=>t.label)}else{let s=function(t,i,e){let{data:s,label:a}=t,n=i*a.length*.7,h=s.x+s.width/2,o=h-n/2,r=h+n/2,l=o>=s.x&&r<=s.x+s.width,c=s.y+e+i<=s.y+s.height;return l&&c};(0,l.K)(s,"fitsInBar");let a=t.data.map((t,i)=>({data:t,label:g[i].toString()})).filter(t=>t.data.width>0&&t.data.height>0),n=Math.floor(Math.min(...a.map(t=>{let{data:i,label:e}=t,a=i.width/(.7*e.length);for(;!s(t,a,10)&&a>0;)a-=1;return a}))),o=(0,l.K)(t=>e?t.data.y-10:t.data.y+10,"determineLabelYPosition");i.selectAll("text").data(a).enter().append("text").attr("x",t=>t.data.x+t.data.width/2).attr("y",o).attr("text-anchor","middle").attr("dominant-baseline",e?"auto":"hanging").attr("fill",h.dataLabelColor).attr("font-size",`${n}px`).text(t=>t.label)}}break;case"text":i.selectAll("text").data(t.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",t=>t.fill).attr("font-size",t=>t.fontSize).attr("dominant-baseline",t=>u(t.verticalPos)).attr("text-anchor",t=>x(t.horizontalPos)).attr("transform",t=>d(t)).text(t=>t.text);break;case"path":i.selectAll("path").data(t.data).enter().append("path").attr("d",t=>t.path).attr("fill",t=>t.fill?t.fill:"none").attr("stroke",t=>t.strokeFill).attr("stroke-width",t=>t.strokeWidth)}}},"draw")}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4278],{4278:(e,t,r)=>{r.r(t),r.d(t,{applyDagreLayoutResult:()=>rQ,getEdgesToRender:()=>rz,measureDagreLayout:()=>r2,prepareLayoutForDagre:()=>r1,render:()=>r5,runDagreLayoutCore:()=>r3});var n,o=r(60077),a=r(72578),i=r(21123),u=r(44317),d=r(37083);r(3008),r(53841),r(31317),r(44322),r(30356);var c=r(77500),s=r(89098),f=r(86396),l=r(13381),g=r(97643),h=0;let p=function(e){var t=++h;return(0,g.A)(e)+t};var v=r(46209),y=r(67097);let b=function(e){return(null==e?0:e.length)?(0,y.A)(e,1):[]};var A=r(21987),w=r(67525),m=r(73318),x=r(29025);let E=function(e,t){var r=-1,n=(0,x.A)(e)?Array(e.length):[];return(0,m.A)(e,function(e,o,a){n[++r]=t(e,o,a)}),n};var j=r(57222);let L=function(e,t){return((0,j.A)(e)?A.A:E)(e,(0,w.A)(t,3))};var k=Math.ceil,O=Math.max;let R=function(e,t,r,n){for(var o=-1,a=O(k((t-e)/(r||1)),0),i=Array(a);a--;)i[n?a:++o]=e,e+=r;return i};var N=r(68111),P=r(38810),_=r(50086);let C=function(e,t,r){if(!(0,_.A)(r))return!1;var n=typeof t;return("number"==n?!!((0,x.A)(r)&&(0,P.A)(t,r.length)):"string"==n&&t in r)&&(0,N.A)(r[t],e)};var S=/\s/;let M=function(e){for(var t=e.length;t--&&S.test(e.charAt(t)););return t};var X=/^\s+/,D=r(63241),T=0/0,I=/^[-+]0x[0-9a-f]+$/i,B=/^0b[01]+$/i,K=/^0o[0-7]+$/i,G=parseInt;let F=function(e){if("number"==typeof e)return e;if((0,D.A)(e))return T;if((0,_.A)(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=(0,_.A)(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=(t=e)?t.slice(0,M(t)+1).replace(X,""):t;var n=B.test(e);return n||K.test(e)?G(e.slice(2),n?2:8):I.test(e)?T:+e};var U=1/0;let q=function(e){return e?(e=F(e))===U||e===-U?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0},J=function(e,t,r){return r&&"number"!=typeof r&&C(e,t,r)&&(t=r=void 0),e=q(e),void 0===t?(t=e,e=0):t=q(t),r=void 0===r?e<t?1:-1:q(r),R(e,t,r,void 0)};var z=r(44806);class V{constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,t=e._prev;if(t!==e)return Y(t),t}enqueue(e){var t=this._sentinel;e._prev&&e._next&&Y(e),e._next=t._next,t._next._prev=e,t._next=e,e._prev=t}toString(){for(var e=[],t=this._sentinel,r=t._prev;r!==t;)e.push(JSON.stringify(r,$)),r=r._prev;return"["+e.join(", ")+"]"}}function Y(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function $(e,t){if("_next"!==e&&"_prev"!==e)return t}var H=v.A(1);function W(e,t,r,n,o){var a=o?[]:void 0;return l.A(e.inEdges(n.v),function(n){var i=e.edge(n),u=e.node(n.v);o&&a.push({v:n.v,w:n.w}),u.out-=i,Q(t,r,u)}),l.A(e.outEdges(n.v),function(n){var o=e.edge(n),a=n.w,i=e.node(a);i.in-=o,Q(t,r,i)}),e.removeNode(n.v),a}function Q(e,t,r){r.out?r.in?e[r.out-r.in+t].enqueue(r):e[e.length-1].enqueue(r):e[0].enqueue(r)}var Z=r(35970),ee=r(5284);let et=function(e,t,r){"__proto__"==t&&ee.A?(0,ee.A)(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r},er=function(e,t,r){(void 0===r||(0,N.A)(e[t],r))&&(void 0!==r||t in e)||et(e,t,r)};var en=r(75975),eo=r(2502),ea="object"==typeof exports&&exports&&!exports.nodeType&&exports,ei=ea&&"object"==typeof module&&module&&!module.nodeType&&module,eu=ei&&ei.exports===ea?eo.A.Buffer:void 0,ed=eu?eu.allocUnsafe:void 0;let ec=function(e,t){if(t)return e.slice();var r=e.length,n=ed?ed(r):new e.constructor(r);return e.copy(n),n};var es=r(67847);let ef=function(e){var t=new e.constructor(e.byteLength);return new es.A(t).set(new es.A(e)),t},el=function(e,t){var r=t?ef(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)},eg=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t};var eh=Object.create,ep=function(){function e(){}return function(t){if(!(0,_.A)(t))return{};if(eh)return eh(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),ev=(0,r(31452).A)(Object.getPrototypeOf,Object),ey=r(66984);let eb=function(e){return"function"!=typeof e.constructor||(0,ey.A)(e)?{}:ep(ev(e))};var eA=r(82069),ew=r(15374),em=r(98926),ex=r(62009),eE=r(11556),ej=r(50369),eL=Object.prototype,ek=Function.prototype.toString,eO=eL.hasOwnProperty,eR=ek.call(Object);let eN=function(e){if(!(0,ej.A)(e)||"[object Object]"!=(0,eE.A)(e))return!1;var t=ev(e);if(null===t)return!0;var r=eO.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&ek.call(r)==eR};var eP=r(28472);let e_=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var eC=Object.prototype.hasOwnProperty;let eS=function(e,t,r){var n=e[t];eC.call(e,t)&&(0,N.A)(n,r)&&(void 0!==r||t in e)||et(e,t,r)},eM=function(e,t,r,n){var o=!r;r||(r={});for(var a=-1,i=t.length;++a<i;){var u=t[a],d=n?n(r[u],e[u],u,r,e):void 0;void 0===d&&(d=e[u]),o?et(r,u,d):eS(r,u,d)}return r};var eX=r(33766);let eD=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t};var eT=Object.prototype.hasOwnProperty;let eI=function(e){if(!(0,_.A)(e))return eD(e);var t=(0,ey.A)(e),r=[];for(var n in e)"constructor"==n&&(t||!eT.call(e,n))||r.push(n);return r},eB=function(e){return(0,x.A)(e)?(0,eX.A)(e,!0):eI(e)},eK=function(e,t,r,n,o,a,i){var u=e_(e,r),d=e_(t,r),c=i.get(d);if(c)return void er(e,r,c);var s=a?a(u,d,r+"",e,t,i):void 0,f=void 0===s;if(f){var l=(0,j.A)(d),g=!l&&(0,em.A)(d),h=!l&&!g&&(0,eP.A)(d);(s=d,l||g||h)?(0,j.A)(u)?s=u:(0,ew.A)(u)?s=eg(u):g?(f=!1,s=ec(d,!0)):h?(f=!1,s=el(d,!0)):s=[]:eN(d)||(0,eA.A)(d)?(s=u,(0,eA.A)(u))?s=eM(u,eB(u)):(!(0,_.A)(u)||(0,ex.A)(u))&&(s=eb(d)):f=!1}f&&(i.set(d,s),o(s,d,n,a,i),i.delete(d)),er(e,r,s)},eG=function e(t,r,n,o,a){t!==r&&(0,en.A)(r,function(i,u){if(a||(a=new Z.A),(0,_.A)(i))eK(t,r,u,n,e,o,a);else{var d=o?o(e_(t,u),i,u+"",t,r,a):void 0;void 0===d&&(d=i),er(t,u,d)}},eB)};var eF=r(40405),eU=function(e){return(0,eF.A)(function(t,r){var n=-1,o=r.length,a=o>1?r[o-1]:void 0,i=o>2?r[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,i&&C(r[0],r[1],i)&&(a=o<3?void 0:a,o=1),t=Object(t);++n<o;){var u=r[n];u&&e(t,u,n,a)}return t})}(function(e,t,r){eG(e,t,r)}),eq=r(65666),eJ=r(82848),ez=r(60558);let eV=function(e,t,r,n){if(!(0,_.A)(e))return e;t=(0,eJ.A)(t,e);for(var o=-1,a=t.length,i=a-1,u=e;null!=u&&++o<a;){var d=(0,ez.A)(t[o]),c=r;if("__proto__"===d||"constructor"===d||"prototype"===d)break;if(o!=i){var s=u[d];void 0===(c=n?n(s,d,u):void 0)&&(c=(0,_.A)(s)?s:(0,P.A)(t[o+1])?[]:{})}eS(u,d,c),u=u[d]}return e},eY=function(e,t,r){for(var n=-1,o=t.length,a={};++n<o;){var i=t[n],u=(0,eq.A)(e,i);r(u,i)&&eV(a,(0,eJ.A)(i,e),u)}return a};var e$=r(29678),eH=r(56329),eW=r(27096),eQ=function(e){return(0,eW.A)((0,eH.A)(e,void 0,b),e+"")}(function(e,t){return null==e?{}:eY(e,t,function(t,r){return(0,e$.A)(e,r)})}),eZ=Object.prototype,e0=eZ.hasOwnProperty,e1=(0,eF.A)(function(e,t){e=Object(e);var r=-1,n=t.length,o=n>2?t[2]:void 0;for(o&&C(t[0],t[1],o)&&(n=1);++r<n;)for(var a=t[r],i=eB(a),u=-1,d=i.length;++u<d;){var c=i[u],s=e[c];(void 0===s||(0,N.A)(s,eZ[c])&&!e0.call(e,c))&&(e[c]=a[c])}return e});let e2=function(e,t,r){for(var n=-1,o=e.length;++n<o;){var a=e[n],i=t(a);if(null!=i&&(void 0===u?i==i&&!(0,D.A)(i):r(i,u)))var u=i,d=a}return d},e3=function(e,t){return e>t};var e6=r(5931);let e8=function(e){return e&&e.length?e2(e,e6.A,e3):void 0},e5=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0};var e4=r(92846);let e7=function(e,t){var r={};return t=(0,w.A)(t,3),(0,e4.A)(e,function(e,n,o){et(r,n,t(e,n,o))}),r};var e9=r(78595);let te=function(e,t){return e<t},tt=function(e){return e&&e.length?e2(e,e6.A,te):void 0};var tr=Object.prototype.hasOwnProperty;let tn=function(e,t){return null!=e&&tr.call(e,t)};var to=r(63885);let ta=function(e,t){return null!=e&&(0,to.A)(e,t,tn)};function ti(e,t,r,n){var o;do o=p(n);while(e.hasNode(o));return r.dummy=t,e.setNode(o,r),o}function tu(e){var t=new z.T({multigraph:e.isMultigraph()}).setGraph(e.graph());return l.A(e.nodes(),function(r){e.children(r).length||t.setNode(r,e.node(r))}),l.A(e.edges(),function(r){t.setEdge(r,e.edge(r))}),t}function td(e,t){var r,n,o=e.x,a=e.y,i=t.x-o,u=t.y-a,d=e.width/2,c=e.height/2;if(!i&&!u)throw Error("Not possible to find intersection inside of the rectangle");return Math.abs(u)*d>Math.abs(i)*c?(u<0&&(c=-c),r=c*i/u,n=c):(i<0&&(d=-d),r=d,n=d*u/i),{x:o+r,y:a+n}}function tc(e){var t=L(J(tf(e)+1),function(){return[]});return l.A(e.nodes(),function(r){var n=e.node(r),o=n.rank;e9.A(o)||(t[o][n.order]=r)}),t}function ts(e,t,r,n){var o={width:0,height:0};return arguments.length>=4&&(o.rank=r,o.order=n),ti(e,"border",o,t)}function tf(e){return e8(L(e.nodes(),function(t){var r=e.node(t).rank;if(!e9.A(r))return r}))}function tl(e,t){return t()}function tg(e,t,r,n,o,a){var i=o[t][a-1],u=ti(e,"border",{width:0,height:0,rank:a,borderType:t},r);o[t][a]=u,e.setParent(u,n),i&&e.setEdge(i,u,{weight:1})}function th(e){l.A(e.nodes(),function(t){tp(e.node(t))}),l.A(e.edges(),function(t){tp(e.edge(t))})}function tp(e){var t=e.width;e.width=e.height,e.height=t}function tv(e){e.y=-e.y}function ty(e){var t=e.x;e.x=e.y,e.y=t}let tb=function(e,t){return e&&e.length?e2(e,(0,w.A)(t,2),te):void 0};function tA(e){var t={};l.A(e.sources(),function r(n){var o=e.node(n);if(Object.prototype.hasOwnProperty.call(t,n))return o.rank;t[n]=!0;var a=tt(L(e.outEdges(n),function(t){return r(t.w)-e.edge(t).minlen}));return(a===1/0||null==a)&&(a=0),o.rank=a})}function tw(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen}function tm(e){var t,r,n,o,a=new z.T({directed:!1}),i=e.nodes()[0],u=e.nodeCount();for(a.setNode(i,{});t=a,r=e,l.A(t.nodes(),function e(n){l.A(r.nodeEdges(n),function(o){var a=o.v,i=n===a?o.w:a;t.hasNode(i)||tw(r,o)||(t.setNode(i,{}),t.setEdge(n,i,{}),e(i))})}),t.nodeCount()<u;)n=function(e,t){return tb(t.edges(),function(r){if(e.hasNode(r.v)!==e.hasNode(r.w))return tw(t,r)})}(a,e),o=a.hasNode(n.v)?tw(e,n):-tw(e,n),function(e,t,r){l.A(e.nodes(),function(e){t.node(e).rank+=r})}(a,e,o);return a}var tx=r(72685),tE=r(78424);let tj=function(e){var t=q(e),r=t%1;return t==t?r?t-r:t:0};var tL=Math.max,tk=(n=function(e,t,r){var n=null==e?0:e.length;if(!n)return -1;var o=null==r?0:tj(r);return o<0&&(o=tL(n+o,0)),(0,tE.A)(e,(0,w.A)(t,3),o)},function(e,t,r){var o=Object(e);if(!(0,x.A)(e)){var a=(0,w.A)(t,3);e=(0,tx.A)(e),t=function(e){return a(o[e],e,o)}}var i=n(e,t,r);return i>-1?o[a?e[i]:i]:void 0}),tO=r(64988);v.A(1),v.A(1);var tR=r(20430),tN=r(52013),tP=(0,r(15062).A)("length"),t_=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),tC="\ud800-\udfff",tS="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",tM="\ud83c[\udffb-\udfff]",tX="[^"+tC+"]",tD="(?:\ud83c[\udde6-\uddff]){2}",tT="[\ud800-\udbff][\udc00-\udfff]",tI="(?:"+tS+"|"+tM+")?",tB="[\\ufe0e\\ufe0f]?",tK="(?:\\u200d(?:"+[tX,tD,tT].join("|")+")"+tB+tI+")*",tG=RegExp(tM+"(?="+tM+")|"+("(?:"+[tX+tS+"?",tS,tD,tT,"["+tC+"]"].join("|"))+")"+(tB+tI+tK),"g");function tF(){}function tU(e,t,r){j.A(t)||(t=[t]);var n=(e.isDirected()?e.successors:e.neighbors).bind(e),o=[],a={};return l.A(t,function(t){if(!e.hasNode(t))throw Error("Graph does not have node: "+t);!function e(t,r,n,o,a,i){!Object.prototype.hasOwnProperty.call(o,r)&&(o[r]=!0,n||i.push(r),l.A(a(r),function(r){e(t,r,n,o,a,i)}),n&&i.push(r))}(e,t,"post"===r,a,n,o)}),o}function tq(e){t=e,r=new z.T().setGraph(t.graph()),l.A(t.nodes(),function(e){r.setNode(e,t.node(e))}),l.A(t.edges(),function(e){var n=r.edge(e.v,e.w)||{weight:0,minlen:1},o=t.edge(e);r.setEdge(e.v,e.w,{weight:n.weight+o.weight,minlen:Math.max(n.minlen,o.minlen)})}),tA(e=r);var t,r,n,o,a=tm(e);for(tV(a),tJ(a,e);n=tY(a);)o=t$(a,e,n),tH(a,e,n,o)}function tJ(e,t){var r=tU(e,e.nodes(),"post");r=r.slice(0,r.length-1),l.A(r,function(r){var n,o,a,i;n=e,o=t,a=r,i=n.node(a).parent,n.edge(a,i).cutvalue=tz(n,o,a)})}function tz(e,t,r){var n=e.node(r).parent,o=!0,a=t.edge(r,n),i=0;return a||(o=!1,a=t.edge(n,r)),i=a.weight,l.A(t.nodeEdges(r),function(a){var u=a.v===r,d=u?a.w:a.v;if(d!==n){var c,s,f,l=u===o,g=t.edge(a).weight;if(i+=l?g:-g,c=e,s=r,f=d,c.hasEdge(s,f)){var h=e.edge(r,d).cutvalue;i+=l?-h:h}}}),i}function tV(e,t){arguments.length<2&&(t=e.nodes()[0]),function e(t,r,n,o,a){var i=n,u=t.node(o);return r[o]=!0,l.A(t.neighbors(o),function(a){Object.prototype.hasOwnProperty.call(r,a)||(n=e(t,r,n,a,o))}),u.low=i,u.lim=n++,a?u.parent=a:delete u.parent,n}(e,{},1,t)}function tY(e){return tk(e.edges(),function(t){return e.edge(t).cutvalue<0})}function t$(e,t,r){var n=r.v,o=r.w;t.hasEdge(n,o)||(n=r.w,o=r.v);var a=e.node(n),i=e.node(o),u=a,d=!1;return a.lim>i.lim&&(u=i,d=!0),tb(tO.A(t.edges(),function(t){return d===tW(e,e.node(t.v),u)&&d!==tW(e,e.node(t.w),u)}),function(e){return tw(t,e)})}function tH(e,t,r,n){var o,a,i,u,d=r.v,c=r.w;e.removeEdge(d,c),e.setEdge(n.v,n.w,{}),tV(e),tJ(e,t),o=e,a=t,i=tk(o.nodes(),function(e){return!a.node(e).parent}),u=(u=tU(o,i,"pre")).slice(1),l.A(u,function(e){var t=o.node(e).parent,r=a.edge(e,t),n=!1;r||(r=a.edge(t,e),n=!0),a.node(e).rank=a.node(t).rank+(n?r.minlen:-r.minlen)})}function tW(e,t,r){return r.low<=t.lim&&t.lim<=r.lim}tF.prototype=Error(),r(48927),tq.initLowLimValues=tV,tq.initCutValues=tJ,tq.calcCutValue=tz,tq.leaveEdge=tY,tq.enterEdge=t$,tq.exchangeEdges=tH;var tQ=r(82150),tZ=r(74866),t0=r(74750),t1=r(36939),t2=r(40551),t3=r(94330),t6=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,t2.A)(t,(0,t1.A)(e)),e=ev(e);return t}:t3.A,t8=r(79637),t5=r(50696);let t4=function(e){return(0,t5.A)(e,eB,t6)};var t7=Object.prototype.hasOwnProperty;let t9=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&t7.call(e,"index")&&(r.index=e.index,r.input=e.input),r},re=function(e,t){var r=t?ef(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)};var rt=/\w*$/;let rr=function(e){var t=new e.constructor(e.source,rt.exec(e));return t.lastIndex=e.lastIndex,t};var rn=r(19850),ro=rn.A?rn.A.prototype:void 0,ra=ro?ro.valueOf:void 0;let ri=function(e,t,r){var n=e.constructor;switch(t){case"[object ArrayBuffer]":return ef(e);case"[object Boolean]":case"[object Date]":return new n(+e);case"[object DataView]":return re(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return el(e,r);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(e);case"[object RegExp]":return rr(e);case"[object Symbol]":return ra?Object(ra.call(e)):{}}};var ru=r(75166),rd=r(68990),rc=rd.A&&rd.A.isMap,rs=rc?(0,ru.A)(rc):function(e){return(0,ej.A)(e)&&"[object Map]"==(0,tN.A)(e)},rf=rd.A&&rd.A.isSet,rl=rf?(0,ru.A)(rf):function(e){return(0,ej.A)(e)&&"[object Set]"==(0,tN.A)(e)},rg="[object Arguments]",rh="[object Function]",rp="[object Object]",rv={};rv[rg]=rv["[object Array]"]=rv["[object ArrayBuffer]"]=rv["[object DataView]"]=rv["[object Boolean]"]=rv["[object Date]"]=rv["[object Float32Array]"]=rv["[object Float64Array]"]=rv["[object Int8Array]"]=rv["[object Int16Array]"]=rv["[object Int32Array]"]=rv["[object Map]"]=rv["[object Number]"]=rv[rp]=rv["[object RegExp]"]=rv["[object Set]"]=rv["[object String]"]=rv["[object Symbol]"]=rv["[object Uint8Array]"]=rv["[object Uint8ClampedArray]"]=rv["[object Uint16Array]"]=rv["[object Uint32Array]"]=!0,rv["[object Error]"]=rv[rh]=rv["[object WeakMap]"]=!1;let ry=function e(t,r,n,o,a,i){var u,d=1&r,c=2&r,s=4&r;if(n&&(u=a?n(t,o,a,i):n(t)),void 0!==u)return u;if(!(0,_.A)(t))return t;var f=(0,j.A)(t);if(f){if(u=t9(t),!d)return eg(t,u)}else{var l,g,h,p,v=(0,tN.A)(t),y=v==rh||"[object GeneratorFunction]"==v;if((0,em.A)(t))return ec(t,d);if(v==rp||v==rg||y&&!a){if(u=c||y?{}:eb(t),!d)return c?(g=(l=u)&&eM(t,eB(t),l),eM(t,t6(t),g)):(p=(h=u)&&eM(t,(0,tx.A)(t),h),eM(t,(0,t1.A)(t),p))}else{if(!rv[v])return a?t:{};u=ri(t,v,d)}}i||(i=new Z.A);var b=i.get(t);if(b)return b;i.set(t,u),rl(t)?t.forEach(function(o){u.add(e(o,r,n,o,t,i))}):rs(t)&&t.forEach(function(o,a){u.set(a,e(o,r,n,a,t,i))});var A=s?c?t4:t8.A:c?eB:tx.A,w=f?void 0:A(t);return(0,t0.A)(w||t,function(o,a){w&&(o=t[a=o]),eS(u,a,e(o,r,n,a,t,i))}),u},rb=function(e,t,r){for(var n=-1,o=e.length,a=t.length,i={};++n<o;){var u=n<a?t[n]:void 0;r(i,e[n],u)}return i},rA=function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e},rw=function(e,t){if(e!==t){var r=void 0!==e,n=null===e,o=e==e,a=(0,D.A)(e),i=void 0!==t,u=null===t,d=t==t,c=(0,D.A)(t);if(!u&&!c&&!a&&e>t||a&&i&&d&&!u&&!c||n&&i&&d||!r&&d||!o)return 1;if(!n&&!a&&!c&&e<t||c&&r&&o&&!n&&!a||u&&r&&o||!i&&o||!d)return -1}return 0},rm=function(e,t,r){for(var n=-1,o=e.criteria,a=t.criteria,i=o.length,u=r.length;++n<i;){var d=rw(o[n],a[n]);if(d){if(n>=u)return d;return d*("desc"==r[n]?-1:1)}}return e.index-t.index},rx=function(e,t,r){t=t.length?(0,A.A)(t,function(e){return(0,j.A)(e)?function(t){return(0,eq.A)(t,1===e.length?e[0]:e)}:e}):[e6.A];var n=-1;return t=(0,A.A)(t,(0,ru.A)(w.A)),rA(E(e,function(e,r,o){return{criteria:(0,A.A)(t,function(t){return t(e)}),index:++n,value:e}}),function(e,t){return rm(e,t,r)})};var rE=(0,eF.A)(function(e,t){if(null==e)return[];var r=t.length;return r>1&&C(e,t[0],t[1])?t=[]:r>2&&C(t[0],t[1],t[2])&&(t=[t[0]]),rx(e,(0,y.A)(t,1),[])});function rj(e,t,r){for(var n;t.length&&(n=e5(t)).i<=r;)t.pop(),e.push(n.vs),r++;return r}function rL(e,t,r){return L(t,function(t){var n,o;return n=function(e){for(var t;e.hasNode(t=p("_root")););return t}(e),o=new z.T({compound:!0}).setGraph({root:n}).setDefaultNodeLabel(function(t){return e.node(t)}),l.A(e.nodes(),function(a){var i=e.node(a),u=e.parent(a);(i.rank===t||i.minRank<=t&&t<=i.maxRank)&&(o.setNode(a),o.setParent(a,u||n),l.A(e[r](a),function(t){var r=t.v===a?t.w:t.v,n=o.edge(r,a),i=e9.A(n)?0:n.weight;o.setEdge(r,a,{weight:e.edge(t).weight+i})}),Object.prototype.hasOwnProperty.call(i,"minRank")&&o.setNode(a,{borderLeft:i.borderLeft[t],borderRight:i.borderRight[t]}))}),o})}function rk(e,t){l.A(t,function(t){l.A(t,function(t,r){e.node(t).order=r})})}var rO=r(95341);function rR(e,t,r){if(t>r){var n=t;t=r,r=n}Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:!0,configurable:!0,value:{},writable:!0}),Object.defineProperty(e[t],r,{enumerable:!0,configurable:!0,value:!0,writable:!0})}var rN=["nodesep","edgesep","ranksep","marginx","marginy"],rP={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},r_=["acyclicer","ranker","rankdir","align"],rC=["width","height"],rS={width:0,height:0},rM=["minlen","weight","width","height","labeloffset"],rX={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},rD=["labelpos"];function rT(e,t){return e7(eQ(e,t),Number)}function rI(e){var t={};return l.A(e,function(e,r){t[r.toLowerCase()]=e}),t}var rB=(0,f.K)((e,t,r)=>Math.max(t,Math.min(r,e)),"clamp"),rK=(0,f.K)((e="TB")=>{switch(e){case"BT":return"bottom";case"LR":return"right";case"RL":return"left";default:return"top"}},"getDefaultSelfLoopSide"),rG=(0,f.K)(e=>"flowchart"===e||"flowchart-v2"===e||"stateDiagram"===e||"er"===e||"classDiagram"===e,"shouldMergeSelfLoopSegments"),rF=["x","y","width","height","labelBBox","intersect","calcIntersect","diff","clusterNode"],rU=(0,f.K)((e,t,r,n,o)=>{let a=[],i=new Set;if(r.forEach(({start:e,end:t})=>{e!==n&&i.add(e),t!==n&&i.add(t)}),i.forEach(t=>{let r=e.node(t);"number"==typeof r?.x&&"number"==typeof r?.y&&a.push(r)}),0===a.length&&r.forEach(({edge:e})=>{(e.points??[]).forEach(e=>{"number"==typeof e?.x&&"number"==typeof e?.y&&a.push(e)})}),0===a.length)return rK(o);let u=a.reduce((e,t)=>({x:e.x+t.x/a.length,y:e.y+t.y/a.length}),{x:0,y:0}),d=u.x-t.x,c=u.y-t.y;return Math.abs(d)>Math.abs(c)?d>0?"right":"left":Math.abs(c)>0?c>0?"bottom":"top":rK(o)},"getSelfLoopSide"),rq=(0,f.K)((e,t="top",r=0,n=0)=>{let o=e.x,a=e.y-r,i=e.width/2,u=e.height/2,d=Math.max(36,Math.min(100,.8*e.width)),c=rB(Math.max(n,.35*e.width),36,d),s=rB(.45*Math.min(e.width,e.height),24,48);switch(t){case"bottom":{let e=a+u;return[{x:o-c/2,y:e},{x:o-c/2,y:e+s},{x:o+c/2,y:e+s},{x:o+c/2,y:e}]}case"right":{let e=o+i;return[{x:e,y:a-c/2},{x:e+s,y:a-c/2},{x:e+s,y:a+c/2},{x:e,y:a+c/2}]}case"left":{let e=o-i;return[{x:e,y:a-c/2},{x:e-s,y:a-c/2},{x:e-s,y:a+c/2},{x:e,y:a+c/2}]}default:{let e=a-u;return[{x:o-c/2,y:e},{x:o-c/2,y:e-s},{x:o+c/2,y:e-s},{x:o+c/2,y:e}]}}},"getSelfLoopPoints"),rJ=(0,f.K)((e,t,r="top",n=0,o={})=>{let a=e.x,i=e.y-n,u=o.width??0,d=o.height??0;switch(r){case"bottom":return{x:a,y:Math.max(...t.map(e=>e.y))+d/2+4};case"right":return{x:Math.max(...t.map(e=>e.x))+u/2+4,y:i};case"left":return{x:Math.min(...t.map(e=>e.x))-u/2-4,y:i};default:return{x:a,y:Math.min(...t.map(e=>e.y))-d/2-4}}},"getSelfLoopLabelPosition"),rz=(0,f.K)((e,t=0,{mergeSelfLoops:r=!0}={})=>{let n=new Map,o=[],a=e.graph()?.rankdir;return e.edges().forEach(t=>{let a=e.edge(t);if(r&&a.selfLoop){let e=a.selfLoop.id;n.has(e)||n.set(e,[]),n.get(e).push({edge:a,start:t.v,end:t.w})}else o.push({edge:a,start:t.v,end:t.w})}),n.forEach(r=>{if(3!==r.length)return void r.forEach(e=>o.push(e));r.sort((e,t)=>e.edge.selfLoop.order-t.edge.selfLoop.order);let[n,i,u]=r,d=n.edge.originalEdge??i.edge.originalEdge??u.edge.originalEdge??i.edge,c=e.node(d.start);if(!c)return void r.forEach(e=>o.push(e));let s={width:i.edge.width,height:i.edge.height},f=rU(e,c,r,d.start,a),l=rq(c,f,t,s.width??0),g=rJ(c,l,f,t,s),h={...i.edge,...d,id:d.id,points:l,start:d.start,end:d.end,x:g.x,y:g.y,width:s.width,height:s.height,labelStyle:i.edge.labelStyle,fromCluster:n.edge.fromCluster??i.edge.fromCluster??u.edge.fromCluster,toCluster:n.edge.toCluster??i.edge.toCluster??u.edge.toCluster};delete h.selfLoop,delete h.originalEdge,o.push({edge:h,start:h.start,end:h.end})}),o},"getEdgesToRender"),rV=(0,f.K)(async({element:e,graph:t,diagramType:r,id:n,parentCluster:a,siteConfig:c})=>{let l=t.graph().rankdir;s.R.trace("Dir in recursive render - dir:",l);let{clusters:g,edgePaths:h,edgeLabels:p,nodes:v,rootGroups:y}=(0,o.B)(e,{edgePathsClass:"edgePaths"});t.nodes()?s.R.info("Recursive render XXX",t.nodes()):s.R.info("No nodes found for",t),t.edges().length>0&&s.R.info("Recursive edges",t.edge(t.edges()[0]));let b=rG(r);await Promise.all(t.nodes().map(async function(e){let i=t.node(e);if(void 0!==a){let r=JSON.parse(JSON.stringify(a.clusterData));s.R.trace("Setting data for parent cluster XXX\n Node.id = ",e,"\n data=",r.height,"\nParent cluster",a.height),t.setNode(a.id,r),t.parent(e)||(s.R.trace("Setting parent",e,a.id),t.setParent(e,a.id,r))}if(s.R.info("(Insert) Node XXX"+e+": "+JSON.stringify(t.node(e))),i?.clusterNode){s.R.info("Cluster identified XBX",e,i.width,t.node(e));let{ranksep:o,nodesep:a}=t.graph();i.graph.setGraph({...i.graph.graph(),ranksep:o+25,nodesep:a});let f=await r0({element:v,graph:i.graph,diagramType:r,id:n,parentCluster:t.node(e),siteConfig:c}),l=f.elem;(0,d.lC)(i,l),i.diff=f.diff||0,s.R.info("New compound node after recursive render XAX",e,"width",i.width,"height",i.height),(0,u.U7)(l,i)}else t.children(e).length>0?(s.R.trace("Cluster - the non recursive path XBX",e,i.id,i,i.width,"Graph:",t),s.R.trace((0,o.dc)(i.id,t)),o.ju.set(i.id,{id:(0,o.dc)(i.id,t),node:i})):(s.R.trace("Node - the non recursive path XAX",e,v,t.node(e),l),await (0,o.sv)(v,t.node(e),{config:c,dir:l}))}));let A=(0,f.K)(async()=>{let e=t.edges().map(async function(e){let r=t.edge(e.v,e.w,e.name);if(s.R.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),s.R.info("Edge "+e.v+" -> "+e.w+": ",e," ",JSON.stringify(t.edge(e))),s.R.info("Fix",o.ju,"ids:",e.v,e.w,"Translating: ",o.ju.get(e.v),o.ju.get(e.w)),b&&r.selfLoop){if(1!==r.selfLoop.order)return;let e={...r.originalEdge,...r,id:r.selfLoop.id,startLabelLeft:r.originalEdge?.startLabelLeft??r.startLabelLeft,startLabelRight:r.originalEdge?.startLabelRight??r.startLabelRight,endLabelLeft:r.originalEdge?.endLabelLeft??r.endLabelLeft,endLabelRight:r.originalEdge?.endLabelRight??r.endLabelRight};await (0,i.jP)(p,e),r.width=e.width,r.height=e.height,r.labelStyle=e.labelStyle;return}await (0,i.jP)(p,r)});await Promise.all(e)},"processEdges");await A();let{subGraphTitleTotalMargin:w}=(0,u.Oi)(c);return{elem:y,graph:t,groups:{clusters:g,edgePaths:h,edgeLabels:p,nodes:v,rootGroups:y},diagramType:r,id:n,mergeSelfLoops:b,subGraphTitleTotalMargin:w}},"measureDagreGraph"),rY=(0,f.K)(e=>{s.R.info("############################################# XXX"),s.R.info("### Layout ### XXX"),s.R.info("############################################# XXX"),!function(e,t){tl("layout",()=>{var t=tl(" buildLayoutGraph",()=>{var t,r,n;return t=e,r=new z.T({multigraph:!0,compound:!0}),n=rI(t.graph()),r.setGraph(eU({},rP,rT(n,rN),eQ(n,r_))),l.A(t.nodes(),function(e){var n=rI(t.node(e));r.setNode(e,e1(rT(n,rC),rS)),r.setParent(e,t.parent(e))}),l.A(t.edges(),function(e){var n=rI(t.edge(e));r.setEdge(e,eU({},rX,rT(n,rM),eQ(n,rD)))}),r});tl(" runLayout",()=>{var e,r;return e=t,void((r=tl)(" makeSpaceForEdgeLabels",()=>{var t,r;return r=(t=e).graph(),void(r.ranksep/=2,l.A(t.edges(),function(e){var n=t.edge(e);n.minlen*=2,"c"!==n.labelpos.toLowerCase()&&("TB"===r.rankdir||"BT"===r.rankdir?n.width+=n.labeloffset:n.height+=n.labeloffset)}))}),r(" removeSelfEdges",()=>{var t;return t=e,void l.A(t.edges(),function(e){if(e.v===e.w){var r=t.node(e.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e:e,label:t.edge(e)}),t.removeEdge(e)}})}),r(" acyclic",()=>{var t,r,n,o,a,i;return t="greedy"===e.graph().acyclicer?function(e,t){if(1>=e.nodeCount())return[];var r,n,o,a,i,u,d,c=(r=e,n=t||H,o=new z.T,a=0,i=0,l.A(r.nodes(),function(e){o.setNode(e,{v:e,in:0,out:0})}),l.A(r.edges(),function(e){var t=o.edge(e.v,e.w)||0,r=n(e);o.setEdge(e.v,e.w,t+r),i=Math.max(i,o.node(e.v).out+=r),a=Math.max(a,o.node(e.w).in+=r)}),u=J(i+a+3).map(function(){return new V}),d=a+1,l.A(o.nodes(),function(e){Q(u,d,o.node(e))}),{graph:o,buckets:u,zeroIdx:d});return b(L(function(e,t,r){for(var n,o=[],a=t[t.length-1],i=t[0];e.nodeCount();){for(;n=i.dequeue();)W(e,t,r,n);for(;n=a.dequeue();)W(e,t,r,n);if(e.nodeCount()){for(var u=t.length-2;u>0;--u)if(n=t[u].dequeue()){o=o.concat(W(e,t,r,n,!0));break}}}return o}(c.graph,c.buckets,c.zeroIdx),function(t){return e.outEdges(t.v,t.w)}))}(e,(r=e,function(e){return r.edge(e).weight})):(n=e,o=[],a={},i={},l.A(n.nodes(),function e(t){Object.prototype.hasOwnProperty.call(i,t)||(i[t]=!0,a[t]=!0,l.A(n.outEdges(t),function(t){Object.prototype.hasOwnProperty.call(a,t.w)?o.push(t):e(t.w)}),delete a[t])}),o),void l.A(t,function(t){var r=e.edge(t);e.removeEdge(t),r.forwardName=t.name,r.reversed=!0,e.setEdge(t.w,t.v,r,p("rev"))})}),r(" nestingGraph.run",()=>{var t,r,n,o,a,i,u,d;return t=ti(e,"root",{},"_root"),i=e,u={},l.A(i.children(),function(e){!function e(t,r){var n=i.children(t);n&&n.length&&l.A(n,function(t){e(t,r+1)}),u[t]=r}(e,1)}),r=u,o=2*(n=e8(tQ.A(r))-1)+1,e.graph().nestingRoot=t,l.A(e.edges(),function(t){e.edge(t).minlen*=o}),a=(d=e,tZ.A(d.edges(),function(e,t){return e+d.edge(t).weight},0)+1),void(l.A(e.children(),function(i){!function e(t,r,n,o,a,i,u){var d=t.children(u);if(!d.length){u!==r&&t.setEdge(r,u,{weight:0,minlen:n});return}var c=ts(t,"_bt"),s=ts(t,"_bb"),f=t.node(u);t.setParent(c,u),f.borderTop=c,t.setParent(s,u),f.borderBottom=s,l.A(d,function(d){e(t,r,n,o,a,i,d);var f=t.node(d),l=f.borderTop?f.borderTop:d,g=f.borderBottom?f.borderBottom:d,h=f.borderTop?o:2*o,p=l!==g?1:a-i[u]+1;t.setEdge(c,l,{weight:h,minlen:p,nestingEdge:!0}),t.setEdge(g,s,{weight:h,minlen:p,nestingEdge:!0})}),t.parent(u)||t.setEdge(r,c,{weight:0,minlen:a+i[u]})}(e,t,o,a,n,r,i)}),e.graph().nodeRankFactor=o)}),r(" rank",()=>(function(e){switch(e.graph().ranker){case"network-simplex":default:tq(e);break;case"tight-tree":var t;tA(t=e),tm(t);break;case"longest-path":tA(e)}})(tu(e))),r(" injectEdgeLabelProxies",()=>{var t;return t=e,void l.A(t.edges(),function(e){var r=t.edge(e);if(r.width&&r.height){var n=t.node(e.v),o={rank:(t.node(e.w).rank-n.rank)/2+n.rank,e:e};ti(t,"edge-proxy",o,"_ep")}})}),r(" removeEmptyRanks",()=>{var t,r,n,o;return t=tt(L(e.nodes(),function(t){return e.node(t).rank})),r=[],l.A(e.nodes(),function(n){var o=e.node(n).rank-t;r[o]||(r[o]=[]),r[o].push(n)}),n=0,o=e.graph().nodeRankFactor,void l.A(r,function(t,r){e9.A(t)&&r%o!=0?--n:n&&l.A(t,function(t){e.node(t).rank+=n})})}),r(" nestingGraph.cleanup",()=>{var t;return t=e.graph(),void(e.removeNode(t.nestingRoot),delete t.nestingRoot,l.A(e.edges(),function(t){e.edge(t).nestingEdge&&e.removeEdge(t)}))}),r(" normalizeRanks",()=>{var t;return t=tt(L(e.nodes(),function(t){return e.node(t).rank})),void l.A(e.nodes(),function(r){var n=e.node(r);ta(n,"rank")&&(n.rank-=t)})}),r(" assignRankMinMax",()=>{var t,r;return t=e,r=0,void(l.A(t.nodes(),function(e){var n=t.node(e);n.borderTop&&(n.minRank=t.node(n.borderTop).rank,n.maxRank=t.node(n.borderBottom).rank,r=e8(r,n.maxRank))}),t.graph().maxRank=r)}),r(" removeEdgeLabelProxies",()=>{var t;return t=e,void l.A(t.nodes(),function(e){var r=t.node(e);"edge-proxy"===r.dummy&&(t.edge(r.e).labelRank=r.rank,t.removeNode(e))})}),r(" normalize.run",()=>{e.graph().dummyChains=[],l.A(e.edges(),function(t){!function(e,t){var r,n,o=t.v,a=e.node(o).rank,i=t.w,u=e.node(i).rank,d=t.name,c=e.edge(t),s=c.labelRank;if(u!==a+1){e.removeEdge(t);var f=void 0;for(n=0,++a;a<u;++n,++a)c.points=[],r=ti(e,"edge",f={width:0,height:0,edgeLabel:c,edgeObj:t,rank:a},"_d"),a===s&&(f.width=c.width,f.height=c.height,f.dummy="edge-label",f.labelpos=c.labelpos),e.setEdge(o,r,{weight:c.weight},d),0===n&&e.graph().dummyChains.push(r),o=r;e.setEdge(o,i,{weight:c.weight},d)}}(e,t)})}),r(" parentDummyChains",()=>{var t,r,n,o;return r=e,n={},o=0,l.A(r.children(),function e(t){var a=o;l.A(r.children(t),e),n[t]={low:a,lim:o++}}),t=n,void l.A(e.graph().dummyChains,function(r){for(var n=e.node(r),o=n.edgeObj,a=function(e,t,r,n){var o,a,i=[],u=[],d=Math.min(t[r].low,t[n].low),c=Math.max(t[r].lim,t[n].lim);o=r;do i.push(o=e.parent(o));while(o&&(t[o].low>d||c>t[o].lim));for(a=o,o=n;(o=e.parent(o))!==a;)u.push(o);return{path:i.concat(u.reverse()),lca:a}}(e,t,o.v,o.w),i=a.path,u=a.lca,d=0,c=i[0],s=!0;r!==o.w;){if(n=e.node(r),s){for(;(c=i[d])!==u&&e.node(c).maxRank<n.rank;)d++;c===u&&(s=!1)}if(!s){for(;d<i.length-1&&e.node(c=i[d+1]).minRank<=n.rank;)d++;c=i[d]}e.setParent(r,c),r=e.successors(r)[0]}})}),r(" addBorderSegments",()=>{l.A(e.children(),function t(r){var n=e.children(r),o=e.node(r);if(n.length&&l.A(n,t),Object.prototype.hasOwnProperty.call(o,"minRank")){o.borderLeft=[],o.borderRight=[];for(var a=o.minRank,i=o.maxRank+1;a<i;++a)tg(e,"borderLeft","_bl",r,o,a),tg(e,"borderRight","_br",r,o,a)}})}),r(" order",()=>(function(e){var t=tf(e),r=rL(e,J(1,t+1),"inEdges"),n=rL(e,J(t-1,-1,-1),"outEdges"),o=(a={},u=e8(L(i=tO.A(e.nodes(),function(t){return!e.children(t).length}),function(t){return e.node(t).rank})),d=L(J(u+1),function(){return[]}),c=rE(i,function(t){return e.node(t).rank}),l.A(c,function t(r){ta(a,r)||(a[r]=!0,d[e.node(r).rank].push(r),l.A(e.successors(r),t))}),d);rk(e,o);for(var a,i,u,d,c,s,f=1/0,g=0,h=0;h<4;++g,++h){(function(e,t){var r=new z.T;l.A(e,function(e){var n,o,a,i=e.graph().root,u=function e(t,r,n,o){var a,i,u,d,c,s,f,g,h,p,v,y=t.children(r),A=t.node(r),w=A?A.borderLeft:void 0,m=A?A.borderRight:void 0,x={};w&&(y=tO.A(y,function(e){return e!==w&&e!==m}));var E=L(y,function(e){var r=t.inEdges(e);if(!r.length)return{v:e};var n=tZ.A(r,function(e,r){var n=t.edge(r),o=t.node(r.v);return{sum:e.sum+n.weight*o.order,weight:e.weight+n.weight}},{sum:0,weight:0});return{v:e,barycenter:n.sum/n.weight,weight:n.weight}});l.A(E,function(r){if(t.children(r.v).length){var a,i,u=e(t,r.v,n,o);x[r.v]=u,Object.prototype.hasOwnProperty.call(u,"barycenter")&&(a=r,i=u,e9.A(a.barycenter)?(a.barycenter=i.barycenter,a.weight=i.weight):(a.barycenter=(a.barycenter*a.weight+i.barycenter*i.weight)/(a.weight+i.weight),a.weight+=i.weight))}});var j=(a={},l.A(E,function(e,t){var r=a[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:t};e9.A(e.barycenter)||(r.barycenter=e.barycenter,r.weight=e.weight)}),l.A(n.edges(),function(e){var t=a[e.v],r=a[e.w];e9.A(t)||e9.A(r)||(r.indegree++,t.out.push(a[e.w]))}),function(e){for(var t=[];e.length;){var r=e.pop();t.push(r),l.A(r.in.reverse(),function(e){return function(t){!t.merged&&(e9.A(t.barycenter)||e9.A(e.barycenter)||t.barycenter>=e.barycenter)&&function(e,t){var r=0,n=0;e.weight&&(r+=e.barycenter*e.weight,n+=e.weight),t.weight&&(r+=t.barycenter*t.weight,n+=t.weight),e.vs=t.vs.concat(e.vs),e.barycenter=r/n,e.weight=n,e.i=Math.min(t.i,e.i),t.merged=!0}(e,t)}}(r)),l.A(r.out,function(t){return function(r){r.in.push(t),0==--r.indegree&&e.push(r)}}(r))}return L(tO.A(t,function(e){return!e.merged}),function(e){return eQ(e,["vs","i","barycenter","weight"])})}(tO.A(a,function(e){return!e.indegree})));!function(e,t){l.A(e,function(e){e.vs=b(e.vs.map(function(e){return t[e]?t[e].vs:e}))})}(j,x);var k=(c=(i=function(e){return Object.prototype.hasOwnProperty.call(e,"barycenter")},u={lhs:[],rhs:[]},l.A(j,function(e){i(e)?u.lhs.push(e):u.rhs.push(e)}),d=u).lhs,s=rE(d.rhs,function(e){return-e.i}),f=[],g=0,h=0,p=0,c.sort(function(e){return function(t,r){return t.barycenter<r.barycenter?-1:t.barycenter>r.barycenter?1:e?r.i-t.i:t.i-r.i}}(!!o)),p=rj(f,s,p),l.A(c,function(e){p+=e.vs.length,f.push(e.vs),g+=e.barycenter*e.weight,h+=e.weight,p=rj(f,s,p)}),v={vs:b(f)},h&&(v.barycenter=g/h,v.weight=h),v);if(w&&(k.vs=b([w,k.vs,m]),t.predecessors(w).length)){var O=t.node(t.predecessors(w)[0]),R=t.node(t.predecessors(m)[0]);Object.prototype.hasOwnProperty.call(k,"barycenter")||(k.barycenter=0,k.weight=0),k.barycenter=(k.barycenter*k.weight+O.order+R.order)/(k.weight+2),k.weight+=2}return k}(e,i,r,t);l.A(u.vs,function(t,r){e.node(t).order=r}),n=u.vs,a={},l.A(n,function(t){for(var n,i,u=e.parent(t);u;){if((n=e.parent(u))?(i=a[n],a[n]=u):(i=o,o=u),i&&i!==u)return void r.setEdge(i,u);u=n}})})})(g%2?r:n,g%4>=2),o=tc(e);var p=function(e,t){for(var r=0,n=1;n<t.length;++n)r+=function(e,t,r){for(var n=rb(r||[],L(r,function(e,t){return t})||[],eS),o=b(L(t,function(t){return rE(L(e.outEdges(t),function(t){return{pos:n[t.w],weight:e.edge(t).weight}}),"pos")})),a=1;a<r.length;)a<<=1;var i=2*a-1;a-=1;var u=L(Array(i),function(){return 0}),d=0;return l.A(o.forEach(function(e){var t=e.pos+a;u[t]+=e.weight;for(var r=0;t>0;)t%2&&(r+=u[t+1]),t=t-1>>1,u[t]+=e.weight;d+=e.weight*r})),d}(e,t[n-1],t[n]);return r}(e,o);p<f&&(h=0,s=ry(o,5),f=p)}rk(e,s)})(e)),r(" insertSelfEdges",()=>{var t,r;return r=tc(t=e),void l.A(r,function(e){var r=0;l.A(e,function(e,n){var o=t.node(e);o.order=n+r,l.A(o.selfEdges,function(e){ti(t,"selfedge",{width:e.label.width,height:e.label.height,rank:o.rank,order:n+ ++r,e:e.e,label:e.label},"_se")}),delete o.selfEdges})})}),r(" adjustCoordinateSystem",()=>{var t;("lr"===(t=e.graph().rankdir.toLowerCase())||"rl"===t)&&th(e)}),r(" position",()=>{var t,r,n,o,a,i,u,d,c,s,f,g,h,p,v,y,b;v=tc(p=t=tu(t=e)),y=p.graph().ranksep,b=0,l.A(v,function(e){var t=e8(L(e,function(e){return p.node(e).height}));l.A(e,function(e){p.node(e).y=b+t/2}),b+=t+y}),o=tc(r=t),i=eU((a={},tZ.A(o,function(e,t){var n=0,o=0,i=e.length,u=e5(t);return l.A(t,function(e,d){var c=function(e,t){if(e.node(t).dummy)return tk(e.predecessors(t),function(t){return e.node(t).dummy})}(r,e),s=c?r.node(c).order:i;(c||e===u)&&(l.A(t.slice(o,d+1),function(e){l.A(r.predecessors(e),function(t){var o=r.node(t),i=o.order;(i<n||s<i)&&!(o.dummy&&r.node(e).dummy)&&rR(a,t,e)})}),o=d+1,n=s)}),t}),a),function(e,t){var r={};function n(t,n,o,a,i){var u;l.A(J(n,o),function(n){u=t[n],e.node(u).dummy&&l.A(e.predecessors(u),function(t){var n=e.node(t);n.dummy&&(n.order<a||n.order>i)&&rR(r,t,u)})})}return tZ.A(t,function(t,r){var o,a=-1,i=0;return l.A(r,function(u,d){if("border"===e.node(u).dummy){var c=e.predecessors(u);c.length&&(o=e.node(c[0]).order,n(r,i,d,a,o),i=d,a=o)}n(r,i,r.length,o,t.length)}),r}),r}(r,o)),u={},l.A(["u","d"],function(e){n="u"===e?o:tQ.A(o).reverse(),l.A(["l","r"],function(t){"r"===t&&(n=L(n,function(e){return tQ.A(e).reverse()}));var o,a,d,c,s=("u"===e?r.predecessors:r.successors).bind(r),f=(o=n,a={},d={},c={},l.A(o,function(e){l.A(e,function(e,t){a[e]=e,d[e]=e,c[e]=t})}),l.A(o,function(e){var t=-1;l.A(e,function(e){var r=s(e);if(r.length)for(var n=((r=rE(r,function(e){return c[e]})).length-1)/2,o=Math.floor(n),u=Math.ceil(n);o<=u;++o){var f=r[o];d[e]===e&&t<c[f]&&!function(e,t,r){if(t>r){var n=t;t=r,r=n}return!!e[t]&&Object.prototype.hasOwnProperty.call(e[t],r)}(i,e,f)&&(d[f]=e,d[e]=a[e]=a[f],t=c[f])}})}),{root:a,align:d}),g=function(e,t,r,n,o){var a,i,u,d,c,s,f,g,h,p,v={},y=(a=e,i=t,u=r,d=o,g=new z.T,p=(c=(h=a.graph()).nodesep,s=h.edgesep,f=d,function(e,t,r){var n,o,a=e.node(t),i=e.node(r);if(n=0+a.width/2,Object.prototype.hasOwnProperty.call(a,"labelpos"))switch(a.labelpos.toLowerCase()){case"l":o=-a.width/2;break;case"r":o=a.width/2}if(o&&(n+=f?o:-o),o=0,n+=(a.dummy?s:c)/2,n+=(i.dummy?s:c)/2,n+=i.width/2,Object.prototype.hasOwnProperty.call(i,"labelpos"))switch(i.labelpos.toLowerCase()){case"l":o=i.width/2;break;case"r":o=-i.width/2}return o&&(n+=f?o:-o),o=0,n}),l.A(i,function(e){var t;l.A(e,function(e){var r=u[e];if(g.setNode(r),t){var n=u[t],o=g.edge(n,r);g.setEdge(n,r,Math.max(p(a,e,t),o||0))}t=e})}),g),b=o?"borderLeft":"borderRight";function A(e,t){for(var r=y.nodes(),n=r.pop(),o={};n;)o[n]?e(n):(o[n]=!0,r.push(n),r=r.concat(t(n))),n=r.pop()}return A(function(e){v[e]=y.inEdges(e).reduce(function(e,t){return Math.max(e,v[t.v]+y.edge(t))},0)},y.predecessors.bind(y)),A(function(t){var r=y.outEdges(t).reduce(function(e,t){return Math.min(e,v[t.w]-y.edge(t))},1/0),n=e.node(t);r!==1/0&&n.borderType!==b&&(v[t]=Math.max(v[t],r))},y.successors.bind(y)),l.A(n,function(e){v[e]=v[r[e]]}),v}(r,n,f.root,f.align,"r"===t);"r"===t&&(g=e7(g,function(e){return-e})),u[e+t]=g})}),d=tb(tQ.A(u),function(e){var t,n=-1/0,o=1/0;return t=function(e,t){var a,i,u=(a=r,i=t,a.node(i).width/2);n=Math.max(e+u,n),o=Math.min(e-u,o)},null==e||(0,en.A)(e,(0,rO.A)(t),eB),n-o}),s=tt(c=tQ.A(d)),f=e8(c),l.A(["u","d"],function(e){l.A(["l","r"],function(t){var r,n=e+t,o=u[n];if(o!==d){var a=tQ.A(o);(r="l"===t?s-tt(a):f-e8(a))&&(u[n]=e7(o,function(e){return e+r}))}})}),g=r.graph().align,h=e7(u.ul,function(e,t){if(g)return u[g.toLowerCase()][t];var r=rE(L(u,t));return(r[1]+r[2])/2}),h&&(0,e4.A)(h,(0,rO.A)(function(e,r){t.node(r).x=e}))}),r(" positionSelfEdges",()=>{var t;return t=e,void l.A(t.nodes(),function(e){var r=t.node(e);if("selfedge"===r.dummy){var n=t.node(r.e.v),o=n.x+n.width/2,a=n.y,i=r.x-o,u=n.height/2;t.setEdge(r.e,r.label),t.removeNode(e),r.label.points=[{x:o+2*i/3,y:a-u},{x:o+5*i/6,y:a-u},{x:o+i,y:a},{x:o+5*i/6,y:a+u},{x:o+2*i/3,y:a+u}],r.label.x=r.x,r.label.y=r.y}})}),r(" removeBorderNodes",()=>{var t;return t=e,void(l.A(t.nodes(),function(e){if(t.children(e).length){var r=t.node(e),n=t.node(r.borderTop),o=t.node(r.borderBottom),a=t.node(e5(r.borderLeft)),i=t.node(e5(r.borderRight));r.width=Math.abs(i.x-a.x),r.height=Math.abs(o.y-n.y),r.x=a.x+r.width/2,r.y=n.y+r.height/2}}),l.A(t.nodes(),function(e){"border"===t.node(e).dummy&&t.removeNode(e)}))}),r(" normalize.undo",()=>{l.A(e.graph().dummyChains,function(t){var r,n=e.node(t),o=n.edgeLabel;for(e.setEdge(n.edgeObj,o);n.dummy;)r=e.successors(t)[0],e.removeNode(t),o.points.push({x:n.x,y:n.y}),"edge-label"===n.dummy&&(o.x=n.x,o.y=n.y,o.width=n.width,o.height=n.height),t=r,n=e.node(t)})}),r(" fixupEdgeLabelCoords",()=>{var t;return t=e,void l.A(t.edges(),function(e){var r=t.edge(e);if(Object.prototype.hasOwnProperty.call(r,"x"))switch(("l"===r.labelpos||"r"===r.labelpos)&&(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset}})}),r(" undoCoordinateSystem",()=>{var t,r,n;("bt"===(t=e.graph().rankdir.toLowerCase())||"rl"===t)&&(r=e,l.A(r.nodes(),function(e){tv(r.node(e))}),l.A(r.edges(),function(e){var t=r.edge(e);l.A(t.points,tv),Object.prototype.hasOwnProperty.call(t,"y")&&tv(t)})),("lr"===t||"rl"===t)&&(n=e,l.A(n.nodes(),function(e){ty(n.node(e))}),l.A(n.edges(),function(e){var t=n.edge(e);l.A(t.points,ty),Object.prototype.hasOwnProperty.call(t,"x")&&ty(t)}),th(e))}),r(" translateGraph",()=>(function(e){var t=1/0,r=0,n=1/0,o=0,a=e.graph(),i=a.marginx||0,u=a.marginy||0;function d(e){var a=e.x,i=e.y,u=e.width,d=e.height;t=Math.min(t,a-u/2),r=Math.max(r,a+u/2),n=Math.min(n,i-d/2),o=Math.max(o,i+d/2)}l.A(e.nodes(),function(t){d(e.node(t))}),l.A(e.edges(),function(t){var r=e.edge(t);Object.prototype.hasOwnProperty.call(r,"x")&&d(r)}),t-=i,n-=u,l.A(e.nodes(),function(r){var o=e.node(r);o.x-=t,o.y-=n}),l.A(e.edges(),function(r){var o=e.edge(r);l.A(o.points,function(e){e.x-=t,e.y-=n}),Object.prototype.hasOwnProperty.call(o,"x")&&(o.x-=t),Object.prototype.hasOwnProperty.call(o,"y")&&(o.y-=n)}),a.width=r-t+i,a.height=o-n+u})(e)),r(" assignNodeIntersects",()=>{var t;return t=e,void l.A(t.edges(),function(e){var r,n,o=t.edge(e),a=t.node(e.v),i=t.node(e.w);o.points?(r=o.points[0],n=o.points[o.points.length-1]):(o.points=[],r=i,n=a),o.points.unshift(td(a,r)),o.points.push(td(i,n))})}),r(" reversePoints",()=>{var t;return t=e,void l.A(t.edges(),function(e){var r=t.edge(e);r.reversed&&r.points.reverse()})}),r(" acyclic.undo",()=>{l.A(e.edges(),function(t){var r=e.edge(t);if(r.reversed){e.removeEdge(t);var n=r.forwardName;delete r.reversed,delete r.forwardName,e.setEdge(t.w,t.v,r,n)}})}))}),tl(" updateInputGraph",()=>{var r,n;return r=e,n=t,void(l.A(r.nodes(),function(e){var t=r.node(e),o=n.node(e);t&&(t.x=o.x,t.y=o.y,n.children(e).length&&(t.width=o.width,t.height=o.height))}),l.A(r.edges(),function(e){var t=r.edge(e),o=n.edge(e);t.points=o.points,Object.prototype.hasOwnProperty.call(o,"x")&&(t.x=o.x,t.y=o.y)}),r.graph().width=n.graph().width,r.graph().height=n.graph().height)})})}(e)},"runDagreGraphLayout"),r$=(0,f.K)((e,t,r)=>{let n=e.node(t);if(!n)return;let o={...n};return n?.clusterNode?o.y=(n.y??0)+r:e.children(t).length>0?o.height=(n.height??0)+r:o.y=(n.y??0)+r/2,o},"normalizeDagreNode"),rH=(0,f.K)((e,t)=>{rF.forEach(r=>{void 0!==t[r]&&(e[r]=t[r])})},"applyDagreNodeLayout"),rW=(0,f.K)((e,t,r,n)=>({...e,start:e.start??t,end:e.end??r,points:(e.points??[]).map(e=>({...e,y:"number"==typeof e.y?e.y+n:e.y}))}),"normalizeDagreEdge"),rQ=(0,f.K)((e,t)=>{let{graph:r,mergeSelfLoops:n,subGraphTitleTotalMargin:a=0}=t,i=new Map(e.nodes.map(e=>[e.id,e]));(0,o.sc)(r).forEach(e=>{let t=r$(r,e,a);if(!t)return;rH(r.node(e),t);let n=i.get(e);n&&rH(n,t)});let u=a/2;return e.edges=rz(r,u,{mergeSelfLoops:n}).map(({edge:e,start:t,end:r})=>rW(e,t,r,u)),e},"applyDagreLayoutResult"),rZ=(0,f.K)(async({elem:e,graph:t,groups:{clusters:r,edgePaths:n},diagramType:d,id:c,mergeSelfLoops:f,subGraphTitleTotalMargin:l})=>{let g=0;await Promise.all((0,o.sc)(t).map(async function(e){let n=t.node(e);if(s.R.info("Position XBX => "+e+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n?.clusterNode)n.y+=l,s.R.info("A tainted cluster node XBX1",e,n.id,n.width,n.height,n.x,n.y,t.parent(e)),o.ju.get(n.id).node=n,(0,u.U_)(n);else if(t.children(e).length>0){s.R.info("A pure cluster node XBX1",e,n.id,n.x,n.y,n.width,n.height,t.parent(e)),n.height+=l,t.node(n.parentId);let i=n?.padding/2||0,u=n?.labelBBox?.height||0;s.R.debug("OffsetY",u-i||0,"labelHeight",u,"halfPadding",i),await (0,a.U)(r,n),o.ju.get(n.id).node=n}else{let e=t.node(n.parentId);n.y+=l/2,s.R.info("A regular node XBX1 - using the padding",n.id,"parent",n.parentId,n.width,n.height,n.x,n.y,"offsetY",n.offsetY,"parent",e,e?.offsetY,n),(0,u.U_)(n)}}));let h=l/2;return rz(t,h,{mergeSelfLoops:f}).forEach(function({edge:e,start:r,end:a}){s.R.info("Edge "+r+" -> "+a+": "+JSON.stringify(e),e),e.points.forEach(e=>e.y+=h);let u=t.node(r),f=t.node(a),l=(0,i.Jo)(n,e,o.ju,d,u,f,c);(0,i.T_)(e,l)}),t.nodes().forEach(function(e){let r=t.node(e);s.R.info(e,r.type,r.diff),r.isGroup&&(g=r.diff)}),s.R.warn("Returning from recursive render XAX",e,g),{elem:e,diff:g}},"paintDagreLayoutCore"),r0=(0,f.K)(async e=>{let t=await rV(e);return rY(t.graph),await rZ(t)},"renderDagreSubgraph"),r1=(0,f.K)(e=>{let t=new z.T({multigraph:!0,compound:!0}).setGraph({rankdir:e.direction,nodesep:e.config?.nodeSpacing||e.nodeSpacing||e.config?.flowchart?.nodeSpacing,ranksep:e.config?.rankSpacing||e.rankSpacing||e.config?.flowchart?.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});return e.nodes.forEach(e=>{t.setNode(e.id,{...e}),e.parentId&&t.setParent(e.id,e.parentId)}),s.R.debug("Edges:",e.edges),e.edges.forEach(e=>{if(e.start===e.end){let r=e.start,n=r+"---"+r+"---1",o=r+"---"+r+"---2",a=t.node(r);t.setNode(n,{domId:n,id:n,parentId:a.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),t.setParent(n,a.parentId),t.setNode(o,{domId:o,id:o,parentId:a.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),t.setParent(o,a.parentId);let i=structuredClone(e),u=structuredClone(e),d=structuredClone(e),c=structuredClone(e);u.originalEdge=i,u.selfLoop={id:i.id,order:0},d.originalEdge=i,d.selfLoop={id:i.id,order:1},c.originalEdge=i,c.selfLoop={id:i.id,order:2},u.label="",u.arrowTypeEnd="none",u.endLabelLeft="",u.endLabelRight="",u.startLabelLeft="",u.id=r+"-cyclic-special-1",d.startLabelRight="",d.startLabelLeft="",d.endLabelLeft="",d.endLabelRight="",d.arrowTypeStart="none",d.arrowTypeEnd="none",d.id=r+"-cyclic-special-mid",c.label="",c.startLabelRight="",c.startLabelLeft="",c.arrowTypeStart="none",a.isGroup&&(u.fromCluster=r,c.toCluster=r),c.id=r+"-cyclic-special-2",c.arrowTypeStart="none",t.setEdge(r,n,u,r+"-cyclic-special-0"),t.setEdge(n,o,d,r+"-cyclic-special-1"),t.setEdge(o,r,c,r+"-cyclic-special-2")}else t.setEdge(e.start,e.end,{...e},e.id)}),(0,o.OS)(t),{graph:t}},"prepareLayoutForDagre"),r2=(0,f.K)(async(e,{element:t,preparedLayout:r})=>{let n=r??r1(e),o=(0,c.D7)(),a=await rV({element:t,graph:n.graph,diagramType:e.type,id:e.diagramId,parentCluster:void 0,siteConfig:o});return n.measuredLayout=a,a},"measureDagreLayout"),r3=(0,f.K)((e,t)=>{let r=t.preparedLayout?.measuredLayout;if(!r)throw Error("runDagreLayoutCore requires measureDagreLayout to run first");return rY(r.graph),rQ(e,r),r},"runDagreLayoutCore"),r6=(0,f.K)((e,{measure:t})=>(0,o.sc)(t.graph).map(e=>t.graph.node(e)).filter(Boolean),"getDagrePaintNodes"),r8=(0,f.K)((e,t,{measure:r})=>e?r.graph.node(e):void 0,"getDagreEdgeNode"),r5=(0,o.xY)({prepareLayout:r1,measureLayout:r2,runLayoutCore:r3,paintOptions:{clusterDb:o.ju,getNodes:r6,getEdgeNode:r8,skipNode:(0,f.K)((e,{measure:t})=>!t.graph.hasNode(e.id),"skipNode"),isCluster:(0,f.K)((e,{measure:t})=>t.graph.hasNode(e.id)&&(t.graph.children(e.id)??[]).length>0,"isCluster")}})}}]);