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,62 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6017],{37083:(t,e,a)=>{a.d(e,{DA:()=>R,FA:()=>F,I7:()=>B,Zk:()=>w,aP:()=>ez,lC:()=>m,nM:()=>A,nq:()=>e_});var r=a(3008),l=a(53841),i=a(31317),n=a(44322),s=a(30356),o=a(77500),h=a(89098),d=a(86396),c=a(18889),g=a(77700);async function y(t){let e=t.getElementsByTagName("img");if(!e||0===e.length)return;let a=!u(t);await Promise.all([...e].map(t=>new Promise(e=>{function r(){if(t.style.display="flex",t.style.flexDirection="column",a){let e=(0,o.D7)().fontSize?(0,o.D7)().fontSize:window.getComputedStyle(document.body).fontSize,[a=o.UI.fontSize]=(0,s.I5)(e),r=5*a+"px";t.style.minWidth=r,t.style.maxWidth=r}else t.style.width="100%";e(t)}(0,d.K)(r,"setupImage"),setTimeout(()=>{t.complete&&r()}),t.addEventListener("error",r),t.addEventListener("load",r)})))}function u(t){return 3===t.nodeType?t.textContent?.trim()!=="":1===t.nodeType&&"img"!==t.tagName.toLowerCase()&&[...t.childNodes].some(u)}(0,d.K)(y,"configureLabelImages"),(0,d.K)(u,"hasTextBesidesImages");var p=(0,d.K)(async(t,e,a)=>{let r=(0,o.D7)(),i=t.insert("g").attr("class",a??"node default").attr("id",e.domId||e.id),n=i.insert("g").attr("class","label").attr("style",(0,s.KL)(e.labelStyle)),h=[{text:"string"==typeof e.label?e.label:e.label?.[0]??"",cssClass:"c4-name"},{text:e.stereotype,cssClass:"c4-type"},...(e.description??[]).map(t=>({text:t,cssClass:"c4-descr"}))].filter(t=>t.text),d=e.width?Math.max(e.width-2*(e.padding??0),32):(0,o.D7)().flowchart?.wrappingWidth??200,g=r.c4?.wrap??!0?d:1/0,y=await Promise.all(h.map(async t=>{let a=n.append("g").attr("class",t.cssClass),i=await (0,l.GZ)(a,(0,o.jZ)((0,s.Sm)(t.text??""),r),{useHtmlLabels:!1,markdown:!1,isNode:!0,width:g,style:e.labelStyle},r);return(0,c.Ltv)(i).selectAll("tspan.text-outer-tspan").attr("text-anchor","middle"),(0,c.Ltv)(i).selectAll("tspan.text-inner-tspan").attr("font-weight",null).attr("font-style",null),{el:a,box:a.node().getBBox()}})),u=Math.max(...y.map(({box:t})=>t.width),0),p=0;for(let{el:t,box:e}of y)t.attr("transform",`translate(${u/2-e.x-e.width/2}, ${p-e.y})`),p+=e.height+3;let f=y.length>0?p-3:0;return n.insert("rect",":first-child"),n.attr("transform",`translate(${-u/2}, ${-f/2})`),{shapeSvg:i,bbox:n.node().getBBox(),halfPadding:(e.padding??0)/2,label:n}},"c4LabelHelper"),f=(0,d.K)((t,e)=>{let{x:a,y:r,width:l,height:i}=t;return l>=e?t:"left"in t?{x:a,y:r,width:e,height:i,top:r,left:a,bottom:r+i,right:a+e,toJSON:(0,d.K)(()=>({}),"toJSON")}:{x:a-(e-l)/2,y:r,width:e,height:i}},"withMinWidth"),w=(0,d.K)(async(t,e,a)=>{let r,i,n;if(void 0!==e.stereotype)return p(t,e,a);let h=e.useHtmlLabels||(0,o._3)((0,o.D7)()?.htmlLabels);r=a||"node default";let d=t.insert("g").attr("class",r).attr("id",e.domId||e.id),g=d.insert("g").attr("class","label").attr("style",(0,s.KL)(e.labelStyle));i=void 0===e.label?"":"string"==typeof e.label?e.label:e.label[0];let u=!!e.icon||!!e.img,w="markdown"===e.labelType,x=i&&!e.width?e.minWidth??0:0,m=await (0,l.GZ)(g,(0,o.jZ)((0,s.Sm)(i),(0,o.D7)()),{useHtmlLabels:h,width:e.width||e.wrappingWidth||(0,o.D7)().flowchart?.wrappingWidth,minWidth:x,classes:w?"markdown-node-label":"",style:e.labelStyle,addSvgBackground:u,markdown:w},(0,o.D7)()),b=(e?.padding??0)/2;if(h){let t=m.children[0],e=(0,c.Ltv)(m);await y(t),n=f(n=await l.lT.measure(()=>t.getBoundingClientRect()),x),e.attr("width",n.width),e.attr("height",n.height)}else n=f(n=await l.lT.measure(()=>m.getBBox()),x);return h?g.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"):g.attr("transform","translate(0, "+-n.height/2+")"),e.centerLabel&&g.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),g.insert("rect",":first-child"),{shapeSvg:d,bbox:n,halfPadding:b,label:g}},"labelHelper"),x=(0,d.K)(async(t,e,a)=>{let r,i=a.useHtmlLabels??(0,o.E)((0,o.D7)()),n=t.insert("g").attr("class","label").attr("style",a.labelStyle||""),h=await (0,l.GZ)(n,(0,o.jZ)((0,s.Sm)(e),(0,o.D7)()),{useHtmlLabels:i,width:a.width||(0,o.D7)()?.flowchart?.wrappingWidth,style:a.labelStyle,addSvgBackground:!!a.icon||!!a.img}),d=a.padding/2;if((0,o.E)((0,o.D7)())){let t=h.children[0],e=(0,c.Ltv)(h);r=await l.lT.measure(()=>t.getBoundingClientRect()),e.attr("width",r.width),e.attr("height",r.height)}else r=await l.lT.measure(()=>h.getBBox());return i?n.attr("transform","translate("+-r.width/2+", "+-r.height/2+")"):n.attr("transform","translate(0, "+-r.height/2+")"),a.centerLabel&&n.attr("transform","translate("+-r.width/2+", "+-r.height/2+")"),n.insert("rect",":first-child"),{shapeSvg:t,bbox:r,halfPadding:d,label:n}},"insertLabel"),m=(0,d.K)((t,e,a)=>{if(a){t.width=a.width,t.height=a.height;return}let r=e.node().getBBox();t.width=r.width,t.height=r.height},"updateNodeBounds"),b=(0,d.K)((t,e)=>("handDrawn"===t.look?"rough-node":"node")+" "+t.cssClasses+" "+(e||""),"getNodeClasses");function $(t){let e=t.map((t,e)=>`${0===e?"M":"L"}${t.x},${t.y}`);return e.push("Z"),e.join(" ")}function k(t,e,a,r,l,i){let n=[],s=a-t,o=2*Math.PI/(s/i),h=e+(r-e)/2;for(let e=0;e<=50;e++){let a=t+e/50*s,r=h+l*Math.sin(o*(a-t));n.push({x:a,y:r})}return n}function M(t,e,a,r,l,i){let n=[],s=l*Math.PI/180,o=(i*Math.PI/180-s)/(r-1);for(let l=0;l<r;l++){let r=s+l*o,i=t+a*Math.cos(r),h=e+a*Math.sin(r);n.push({x:-i,y:-h})}return n}function D(t){let e=Array.from(t.childNodes).filter(t=>"path"===t.tagName),a=document.createElementNS("http://www.w3.org/2000/svg","path"),r=e.map(t=>t.getAttribute("d")).filter(t=>null!==t).join(" ");a.setAttribute("d",r);let l=e.find(t=>"none"!==t.getAttribute("fill")),i=e.find(t=>"none"!==t.getAttribute("stroke")),n=(0,d.K)((t,e)=>t?.getAttribute(e)??void 0,"getAttr");l&&Object.entries({fill:n(l,"fill"),"fill-opacity":n(l,"fill-opacity")??"1"}).forEach(([t,e])=>{e&&a.setAttribute(t,e)}),i&&Object.entries({stroke:n(i,"stroke"),"stroke-width":n(i,"stroke-width")??"1","stroke-opacity":n(i,"stroke-opacity")??"1"}).forEach(([t,e])=>{e&&a.setAttribute(t,e)});let s=document.createElementNS("http://www.w3.org/2000/svg","g");return s.appendChild(a),s}(0,d.K)($,"createPathFromPoints"),(0,d.K)(k,"generateFullSineWavePoints"),(0,d.K)(M,"generateCirclePoints"),(0,d.K)(D,"mergePaths");var A=(0,d.K)((t,e)=>{var a,r,l=t.x,i=t.y,n=e.x-l,s=e.y-i,o=t.width/2,h=t.height/2;return Math.abs(s)*o>Math.abs(n)*h?(s<0&&(h=-h),a=0===s?0:h*n/s,r=h):(n<0&&(o=-o),a=o,r=0===n?0:o*s/n),{x:l+a,y:i+r}},"intersectRect");function S(t,e){return t.intersect(e)}function v(t,e,a,r){var l=t.x,i=t.y,n=l-r.x,s=i-r.y,o=Math.sqrt(e*e*s*s+a*a*n*n),h=Math.abs(e*a*n/o);r.x<l&&(h=-h);var d=Math.abs(e*a*s/o);return r.y<i&&(d=-d),{x:l+h,y:i+d}}function K(t,e,a){return v(t,e,e,a)}function C(t,e,a,r){{let l=e.y-t.y,i=t.x-e.x,n=e.x*t.y-t.x*e.y,s=l*a.x+i*a.y+n,o=l*r.x+i*r.y+n;if(0!==s&&0!==o&&L(s,o))return;let h=r.y-a.y,d=a.x-r.x,c=r.x*a.y-a.x*r.y,g=h*t.x+d*t.y+c,y=h*e.x+d*e.y+c;if(1e-6>Math.abs(g)&&1e-6>Math.abs(y)&&L(g,y))return;let u=l*d-h*i;if(0===u)return;return{x:(i*c-d*n)/u,y:(h*n-l*c)/u}}}function L(t,e){return t*e>0}function N(t,e,a){let r=t.x,l=t.y,i=[],n=1/0,s=1/0;"function"==typeof e.forEach?e.forEach(function(t){n=Math.min(n,t.x),s=Math.min(s,t.y)}):(n=Math.min(n,e.x),s=Math.min(s,e.y));let o=r-t.width/2-n,h=l-t.height/2-s;for(let r=0;r<e.length;r++){let l=e[r],n=e[r<e.length-1?r+1:0],s=C(t,a,{x:o+l.x,y:h+l.y},{x:o+n.x,y:h+n.y});s&&i.push(s)}return i.length?(i.length>1&&i.sort(function(t,e){let r=t.x-a.x,l=t.y-a.y,i=Math.sqrt(r*r+l*l),n=e.x-a.x,s=e.y-a.y,o=Math.sqrt(n*n+s*s);return i<o?-1:+(i!==o)}),i[0]):t}(0,d.K)(S,"intersectNode"),(0,d.K)(v,"intersectEllipse"),(0,d.K)(K,"intersectCircle"),(0,d.K)(C,"intersectLine"),(0,d.K)(L,"sameSign"),(0,d.K)(N,"intersectPolygon");var B={node:S,circle:K,ellipse:v,polygon:N,rect:A},F=(0,d.K)((t,e,a,r,l)=>["M",t+l,e,"H",t+a-l,"A",l,l,"0 0 1",t+a,e+l,"V",e+r-l,"A",l,l,"0 0 1",t+a-l,e+r,"H",t+l,"A",l,l,"0 0 1",t,e+r-l,"V",e+l,"A",l,l,"0 0 1",t+l,e,"Z"].join(" "),"createRoundedRectPathD"),R=(0,d.K)(async(t,e,a,r=!1,i=!1)=>{let n=e||"";"object"==typeof n&&(n=n[0]);let s=(0,o.D7)(),h=(0,o.E)(s);return await (0,l.GZ)(t,n,{style:a,isTitle:r,useHtmlLabels:h,markdown:!1,isNode:i,width:1/0},s)},"createLabel");function P(t,e){let{labelStyles:a}=(0,r.GX)(e);e.labelStyle=a;let l=b(e),i=l;l||(i="anchor");let n=t.insert("g").attr("class",i).attr("id",e.domId||e.id),{cssStyles:o}=e,d=g.A.svg(n),c=(0,r.Fr)(e,{fill:"black",stroke:"none",fillStyle:"solid"});"handDrawn"!==e.look&&(c.roughness=0);let y=d.circle(0,0,2,c),u=n.insert(()=>y,":first-child");return u.attr("class","anchor").attr("style",(0,s.KL)(o)),m(e,u),e.intersect=function(t){return h.R.info("Circle intersect",e,1,t),B.circle(e,1,t)},n}function X(t,e,a,r,l,i,n){let s=Math.atan2(r-e,a-t),o=Math.sqrt(((a-t)/2/l)**2+((r-e)/2/i)**2);if(o>1)throw Error("The given radii are too small to create an arc between the points.");let h=Math.sqrt(1-o**2),d=(t+a)/2+h*i*Math.sin(s)*(n?-1:1),c=(e+r)/2-h*l*Math.cos(s)*(n?-1:1),g=Math.atan2((e-c)/i,(t-d)/l),y=Math.atan2((r-c)/i,(a-d)/l)-g;n&&y<0&&(y+=2*Math.PI),!n&&y>0&&(y-=2*Math.PI);let u=[];for(let t=0;t<20;t++){let e=g+t/19*y,a=d+l*Math.cos(e),r=c+i*Math.sin(e);u.push({x:a,y:r})}return u}function G(t,e,a){let[r,l]=[e,a].sort((t,e)=>e-t);return l*(1-Math.sqrt(1-(t/r/2)**2))}async function I(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i=e.padding??0,n="neo"===e.look?16:i,s="neo"===e.look?12:i,o=(0,d.K)(t=>t+s,"calcTotalHeight"),h=(0,d.K)(t=>{let e=t/2;return[e/(2.5+t/50),e]},"calcEllipseRadius"),{shapeSvg:c,bbox:y}=await w(t,e,b(e)),u=o(e?.height?e?.height:y.height),[p,f]=h(u),x=G(u,p,f),k=(e?.width?e?.width:y.width)+2*n+x-x,{cssStyles:M}=e,D=[{x:k/2,y:-u/2},{x:-k/2,y:-u/2},...X(-k/2,-u/2,-k/2,u/2,p,f,!1),{x:k/2,y:u/2},...X(k/2,u/2,k/2,-u/2,p,f,!0)],A=g.A.svg(c),S=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(S.roughness=0,S.fillStyle="solid");let v=$(D),K=A.path(v,S),C=c.insert(()=>K,":first-child");return C.attr("class","basic label-container outer-path"),M&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",M),l&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",l),C.attr("transform",`translate(${p/2}, 0)`),m(e,C),e.intersect=function(t){return B.polygon(e,D,t)},c}async function W(t,e,{config:{themeVariables:a}}){let{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let{shapeSvg:n,bbox:s,label:o}=await w(t,e,b(e)),h=a?.nodeBorder??a?.lineColor??"currentColor",c=e.padding??12,y=Math.max(s.width+2*c,e.width??0,80),u=Math.max(Math.min(.08*y,12),5),p=Math.max(s.height+2*c+u,e.height??0),f=-p/2+u,x=p/2,$=.72*y,k=`M${-y/2},${f} L${-$/2},${x} A${$/2},${u} 0 0 0 ${$/2},${x} L${y/2},${f} A${y/2},${u} 0 0 0 ${-y/2},${f} Z`,{cssStyles:M}=e,D=n.insert("g",":first-child").attr("class","basic label-container");if("handDrawn"===e.look){let t=g.A.svg(n).path(k,(0,r.Fr)(e,{}));D.node()?.appendChild(t),M&&D.attr("style",M)}else D.append("path").attr("d",k).attr("style",i);D.append("ellipse").attr("cx",0).attr("cy",f).attr("rx",y/2).attr("ry",u).attr("style",`fill:none;stroke:${h};stroke-width:1px`),m(e,D);let A=f+(x-f)/2;o.attr("transform",`translate(${-(s.width/2)-(s.x-(s.left??0))}, ${A-s.height/2-(s.y-(s.top??0))})`);let S=(0,d.K)((t,e,a)=>Array.from({length:13},(r,l)=>{let i=Math.PI-l*Math.PI/12;return{x:t*Math.cos(i),y:e+a*u*Math.sin(i)}}),"arc"),v=[...S(y/2,f,-1),...S($/2,x,1).reverse()];return e.intersect=function(t){return B.polygon(e,v,t)},n}function H(t){let{themeVariables:e}=(0,o.D7)(),a=e.clusterBkg,r=e.clusterBorder;return"flow"===t?{rx:10,fill:"none",stroke:e.flowContainerStroke||e.secondaryBorderColor,strokeWidth:.75,cssClass:"flow-collapsed"}:{rx:8,fill:a,stroke:r,cssClass:"collapsed-group"}}async function T(t,e){let a,l=H(e.metadata?.containerType),{fill:i,stroke:h}=l,{nodeStyles:d}=(0,r.GX)(e),{shapeSvg:c,bbox:y}=await w(t,e,b(e)),{theme:u,themeVariables:p}=(0,o.D7)();(0,n.XE)(c,e.colorIndex,u,p.borderColorArray);let f=e.padding??8,x=y.height,$=Math.max(y.width+2*f,80,e?.width??0),k=Math.max(x+8+20+2*f,e?.height??0),M=-$/2,D=-k/2,A=c.select(".label");if(A&&(e.useHtmlLabels??(0,o.E)((0,o.D7)())?A.attr("transform",`translate(${-y.width/2}, ${-y.height/2+-14})`):A.attr("transform",`translate(0, ${-y.height/2+-14})`)),"handDrawn"===e.look){let t=g.A.svg(c),n=(0,r.Fr)(e,{fill:i,stroke:h,...void 0===l.strokeWidth?{}:{strokeWidth:l.strokeWidth},..."none"===i?{fillWeight:0}:{fillStyle:"solid"}}),o=t.path(F(M,D,$,k,l.rx),n);(a=c.insert(()=>o,":first-child")).attr("class","basic label-container "+l.cssClass).attr("style",(0,s.KL)(e.cssStyles))}else(a=c.insert("rect",":first-child")).attr("class","basic label-container "+l.cssClass).attr("style",d).attr("rx",l.rx).attr("ry",l.rx).attr("x",M).attr("y",D).attr("width",$).attr("height",k).attr("fill",i).attr("stroke",h),void 0!==l.strokeWidth&&a.attr("stroke-width",l.strokeWidth+"px");let S=D+f+x+8;c.append("line").attr("class","collapsed-separator").attr("x1",M+8).attr("y1",S).attr("x2",M+$-8).attr("y2",S).attr("stroke",h).attr("stroke-dasharray","3, 3");let v=S+10;for(let t=-1;t<=1;t++)c.append("circle").attr("class","collapsed-indicator").attr("cx",10*t).attr("cy",v).attr("r",2.5).attr("fill",h);return m(e,a),e.calcIntersect=function(t,e){return B.rect(t,e)},e.intersect=function(t){return B.rect(e,t)},c}function E(t,e,a,r){return t.insert("polygon",":first-child").attr("points",r.map(function(t){return t.x+","+t.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+a/2+")")}(0,d.K)(P,"anchor"),(0,d.K)(X,"generateArcPoints"),(0,d.K)(G,"calculateArcSagitta"),(0,d.K)(I,"bowTieRect"),(0,d.K)(W,"bucket"),(0,d.K)(H,"getCollapsedStyle"),(0,d.K)(T,"collapsedGroup"),(0,d.K)(E,"insertPolygonShape");var j=["right","left","up","down"],q="point",Z=(0,d.K)(t=>{let e=new Set;for(let a of t)switch(a){case"x":e.add("right"),e.add("left");break;case"y":e.add("up"),e.add("down");break;default:e.add(a)}return e},"expandAndDeduplicateDirections"),_=(0,d.K)(t=>j.filter(e=>t.has(e)).join("|")||q,"getDirectionKey"),z={"right|left|up|down":(0,d.K)(({height:t,midpoint:e,padding:a,width:r})=>[{x:0,y:0},{x:e,y:0},{x:r/2,y:2*a},{x:r-e,y:0},{x:r,y:0},{x:r,y:-t/3},{x:r+2*a,y:-t/2},{x:r,y:-2*t/3},{x:r,y:-t},{x:r-e,y:-t},{x:r/2,y:-t-2*a},{x:e,y:-t},{x:0,y:-t},{x:0,y:-2*t/3},{x:-2*a,y:-t/2},{x:0,y:-t/3}],"right|left|up|down"),"right|left|up":(0,d.K)(({height:t,midpoint:e,width:a})=>[{x:e,y:0},{x:a-e,y:0},{x:a,y:-t/2},{x:a-e,y:-t},{x:e,y:-t},{x:0,y:-t/2}],"right|left|up"),"right|left|down":(0,d.K)(({height:t,midpoint:e,width:a})=>[{x:0,y:0},{x:e,y:-t},{x:a-e,y:-t},{x:a,y:0}],"right|left|down"),"right|up|down":(0,d.K)(({height:t,midpoint:e,width:a})=>[{x:0,y:0},{x:a,y:-e},{x:a,y:-t+e},{x:0,y:-t}],"right|up|down"),"left|up|down":(0,d.K)(({height:t,midpoint:e,width:a})=>[{x:a,y:0},{x:0,y:-e},{x:0,y:-t+e},{x:a,y:-t}],"left|up|down"),"right|left":(0,d.K)(({height:t,midpoint:e,padding:a,width:r})=>[{x:e,y:0},{x:e,y:-a},{x:r-e,y:-a},{x:r-e,y:0},{x:r,y:-t/2},{x:r-e,y:-t},{x:r-e,y:-t+a},{x:e,y:-t+a},{x:e,y:-t},{x:0,y:-t/2}],"right|left"),"up|down":(0,d.K)(({height:t,midpoint:e,padding:a,width:r})=>[{x:r/2,y:0},{x:0,y:-a},{x:e,y:-a},{x:e,y:-t+a},{x:0,y:-t+a},{x:r/2,y:-t},{x:r,y:-t+a},{x:r-e,y:-t+a},{x:r-e,y:-a},{x:r,y:-a}],"up|down"),"right|up":(0,d.K)(({height:t,midpoint:e,width:a})=>[{x:0,y:0},{x:a,y:-e},{x:0,y:-t}],"right|up"),"right|down":(0,d.K)(({height:t,width:e})=>[{x:0,y:0},{x:e,y:0},{x:0,y:-t}],"right|down"),"left|up":(0,d.K)(({height:t,midpoint:e,width:a})=>[{x:a,y:0},{x:0,y:-e},{x:a,y:-t}],"left|up"),"left|down":(0,d.K)(({height:t,width:e})=>[{x:e,y:0},{x:0,y:0},{x:e,y:-t}],"left|down"),right:(0,d.K)(({height:t,midpoint:e,padding:a,width:r})=>[{x:e,y:-a},{x:e,y:-a},{x:r-e,y:-a},{x:r-e,y:0},{x:r,y:-t/2},{x:r-e,y:-t},{x:r-e,y:-t+a},{x:e,y:-t+a},{x:e,y:-t+a}],"right"),left:(0,d.K)(({height:t,midpoint:e,padding:a,width:r})=>[{x:e,y:0},{x:e,y:-a},{x:r-e,y:-a},{x:r-e,y:-t+a},{x:e,y:-t+a},{x:e,y:-t},{x:0,y:-t/2}],"left"),up:(0,d.K)(({height:t,midpoint:e,padding:a,width:r})=>[{x:e,y:-a},{x:e,y:-t+a},{x:0,y:-t+a},{x:r/2,y:-t},{x:r,y:-t+a},{x:r-e,y:-t+a},{x:r-e,y:-a}],"up"),down:(0,d.K)(({height:t,midpoint:e,padding:a,width:r})=>[{x:r/2,y:0},{x:0,y:-a},{x:e,y:-a},{x:e,y:-t+a},{x:r-e,y:-t+a},{x:r-e,y:-a},{x:r,y:-a}],"down"),[q]:()=>[{x:0,y:0}]},O=(0,d.K)((t,e,a,r)=>{let l=Z(t),i=(a.padding??0)/2,n=e.height+4*i,s=n/2,o=r??e.width+2*s+2*i;return(z[_(l)]??z[q])({height:n,midpoint:s,padding:i,width:o})},"getArrowPoints");async function V(t,e){let{shapeSvg:a,bbox:r}=await w(t,e,b(e)),l=e.padding??0,i=r.height+2*l,n=i/2,s=r.width+2*n+l,o=e.width??0,h=e.positioned&&(e.widthInColumns??1)>1&&o>s?o:s,d=O(e.directions??[],r,e,h),c=E(a,h,i,d);return c.attr("style",e.style??null),m(e,c),e.intersect=function(t){return B.polygon(e,d,t)},a}async function Y(t,e,{config:{themeVariables:a}}){let{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let{shapeSvg:n,bbox:s,label:o}=await w(t,e,b(e)),h=a?.nodeBorder??a?.lineColor??"currentColor",d=e.padding??12,c=Math.max(s.width+2*d,e.width??0,90),y=Math.max(s.height+2*d+18,e.height??0),u=-y/2,{cssStyles:p}=e,f=n.insert("g",":first-child").attr("class","basic label-container");if("handDrawn"===e.look){let t=g.A.svg(n).path(F(-c/2,u,c,y,12),(0,r.Fr)(e,{}));f.node()?.appendChild(t),p&&f.attr("style",p)}else f.append("rect").attr("x",-c/2).attr("y",u).attr("width",c).attr("height",y).attr("rx",12).attr("ry",12).attr("style",i);f.append("line").attr("x1",-c/2).attr("y1",u+18).attr("x2",c/2).attr("y2",u+18).attr("style",`stroke:${h};stroke-width:1px`);for(let t=0;t<3;t++)f.append("circle").attr("cx",-c/2+12+9*t).attr("cy",u+9).attr("r",2.5).attr("style",`fill:${h};stroke:none`);f.append("rect").attr("class","browser-address-bar").attr("x",-c/2+44).attr("y",u+4).attr("width",Math.max(c-56,10)).attr("height",10).attr("rx",3).attr("ry",3).attr("style",`fill:none;stroke:${h};stroke-width:1px;opacity:0.6`),m(e,f);let x=u+18+(y-18)/2;return o.attr("transform",`translate(${-(s.width/2)-(s.x-(s.left??0))}, ${x-s.height/2-(s.y-(s.top??0))})`),e.intersect=function(t){return B.rect(e,t)},n}async function J(t,e){let a,{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let n=e.padding??0,s="neo"===e.look?28:n,o="neo"===e.look?24:n,{shapeSvg:h,bbox:d}=await w(t,e,b(e)),c=(e?.width??d.width)+("neo"===e.look?2*s:s+12),y=(e?.height??d.height)+("neo"===e.look?2*o:o),u=-y,p=[{x:12,y:u},{x:c,y:u},{x:c,y:0},{x:0,y:0},{x:0,y:u+12},{x:12,y:u}],{cssStyles:f}=e;if("handDrawn"===e.look){let t=g.A.svg(h),l=(0,r.Fr)(e,{}),i=$(p),n=t.path(i,l);a=h.insert(()=>n,":first-child").attr("transform",`translate(${-c/2}, ${y/2})`),f&&a.attr("style",f)}else a=E(h,c,y,p);return i&&a.attr("style",i),m(e,a),e.intersect=function(t){return B.polygon(e,p,t)},h}function U(t,e){let{nodeStyles:a}=(0,r.GX)(e);e.label="";let l=t.insert("g").attr("class",b(e)).attr("id",e.domId??e.id),{cssStyles:i}=e,n=Math.max(28,e.width??0),s=[{x:0,y:n/2},{x:n/2,y:0},{x:0,y:-n/2},{x:-n/2,y:0}],o=g.A.svg(l),h=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(h.roughness=0,h.fillStyle="solid");let d=$(s),c=o.path(d,h),y=l.insert(()=>c,":first-child");return i&&"handDrawn"!==e.look&&y.selectAll("path").attr("style",i),a&&"handDrawn"!==e.look&&y.selectAll("path").attr("style",a),e.width=28,e.height=28,e.intersect=function(t){return B.polygon(e,s,t)},l}async function Q(t,e,a){let l,{labelStyles:i,nodeStyles:n}=(0,r.GX)(e);e.labelStyle=i;let{shapeSvg:o,bbox:d,halfPadding:c}=await w(t,e,b(e)),y=a?.padding??c,u=Math.sqrt(d.width**2+d.height**2)/2,p="neo"===e.look?u+32:u+y,{cssStyles:f}=e;if("handDrawn"===e.look){let t=g.A.svg(o),a=(0,r.Fr)(e,{}),i=t.circle(0,0,2*p,a);(l=o.insert(()=>i,":first-child")).attr("class","basic label-container").attr("style",(0,s.KL)(f))}else l=o.insert("circle",":first-child").attr("class","basic label-container").attr("style",n).attr("r",p).attr("cx",0).attr("cy",0);return m(e,l),e.calcIntersect=function(t,e){let a=t.width/2;return B.circle(t,a,e)},e.intersect=function(t){return h.R.info("Circle intersect",e,p,t),B.circle(e,p,t)},o}async function tt(t,e){let a=["node",e.cssClasses,e.class].filter(Boolean).join(" "),{shapeSvg:r,bbox:l,halfPadding:i}=await w(t,e,a),n=r.insert("rect",":first-child"),s=e.padding??0,o=e.positioned?e.width??0:l.width+s,h=e.positioned?e.height??0:l.height+s,d=e.positioned?-o/2:-l.width/2-i,c=e.positioned?-h/2:-l.height/2-i;return n.attr("class","basic cluster composite label-container").attr("style",e.style??null).attr("rx",e.rx??null).attr("ry",e.ry??null).attr("x",d).attr("y",c).attr("width",o).attr("height",h),m(e,n),e.intersect=function(t){return B.rect(e,t)},r}async function te(t,e,{config:{themeVariables:a}}){let{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let{shapeSvg:n,bbox:s,label:o}=await w(t,e,b(e)),h=a?.nodeBorder??a?.lineColor??"currentColor",d=e.padding??12,c=Math.max(s.width+2*d,e.width??0,90),y=Math.max(s.height+2*d+20,e.height??0),u=-y/2,{cssStyles:p}=e,f=n.insert("g",":first-child").attr("class","basic label-container");if("handDrawn"===e.look){let t=g.A.svg(n).path(F(-c/2,u,c,y,12),(0,r.Fr)(e,{}));f.node()?.appendChild(t),p&&f.attr("style",p)}else f.append("rect").attr("x",-c/2).attr("y",u).attr("width",c).attr("height",y).attr("rx",12).attr("ry",12).attr("style",i);f.append("text").attr("x",-c/2+12).attr("y",u+16).attr("class","console-glyph").attr("style",`font-family:monospace;font-weight:bold;font-size:14px;fill:${h}`).text(">_"),m(e,f);let x=u+20+(y-20)/2;return o.attr("transform",`translate(${-(s.width/2)-(s.x-(s.left??0))}, ${x-s.height/2-(s.y-(s.top??0))})`),e.intersect=function(t){return B.rect(e,t)},n}function ta(t){let e=Math.cos(Math.PI/4),a=Math.sin(Math.PI/4),r=2*t,l={x:r/2*e,y:r/2*a},i={x:-(r/2)*e,y:r/2*a},n={x:-(r/2)*e,y:-(r/2)*a},s={x:r/2*e,y:-(r/2)*a};return`M ${i.x},${i.y} L ${s.x},${s.y}
2
- M ${l.x},${l.y} L ${n.x},${n.y}`}function tr(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a,e.label="";let i=t.insert("g").attr("class",b(e)).attr("id",e.domId??e.id),n=Math.max(30,e?.width??0),{cssStyles:s}=e,o=g.A.svg(i),d=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(d.roughness=0,d.fillStyle="solid");let c=o.circle(0,0,2*n,d),y=ta(n),u=o.path(y,d),p=i.insert(()=>c,":first-child");return p.insert(()=>u),p.attr("class","outer-path"),s&&"handDrawn"!==e.look&&p.selectAll("path").attr("style",s),l&&"handDrawn"!==e.look&&p.selectAll("path").attr("style",l),m(e,p),e.intersect=function(t){return h.R.info("crossedCircle intersect",e,{radius:n,point:t}),B.circle(e,n,t)},i}function tl(t,e,a,r=100,l=0,i=180){let n=[],s=l*Math.PI/180,o=(i*Math.PI/180-s)/(r-1);for(let l=0;l<r;l++){let r=s+l*o,i=t+a*Math.cos(r),h=e+a*Math.sin(r);n.push({x:-i,y:-h})}return n}async function ti(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let{shapeSvg:i,bbox:n,label:s}=await w(t,e,b(e)),o="neo"===e.look?18:e.padding??0,h="neo"===e.look?12:e.padding??0,d=n.width+o,c=n.height+h,y=Math.max(5,.1*c),{cssStyles:u}=e,p=[...tl(d/2,-c/2,y,30,-90,0),{x:-d/2-y,y:y},...tl(d/2+2*y,-y,y,20,-180,-270),...tl(d/2+2*y,y,y,20,-90,-180),{x:-d/2-y,y:-c/2},...tl(d/2,c/2,y,20,0,90)],f=[{x:d/2,y:-c/2-y},{x:-d/2,y:-c/2-y},...tl(d/2,-c/2,y,20,-90,0),{x:-d/2-y,y:-y},...tl(d/2+.1*d,-y,y,20,-180,-270),...tl(d/2+.1*d,y,y,20,-90,-180),{x:-d/2-y,y:c/2},...tl(d/2,c/2,y,20,0,90),{x:-d/2,y:c/2+y},{x:d/2,y:c/2+y}],x=g.A.svg(i),k=(0,r.Fr)(e,{fill:"none"});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let M=$(p).replace("Z",""),D=x.path(M,k),A=$(f),S=x.path(A,{...k}),v=i.insert("g",":first-child");return v.insert(()=>S,":first-child").attr("stroke-opacity",0),v.insert(()=>D,":first-child"),v.attr("class","text"),u&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",u),l&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",l),v.attr("transform",`translate(${y}, 0)`),s.attr("transform",`translate(${-d/2+y-(n.x-(n.left??0))},${-c/2+(e.padding??0)/2-(n.y-(n.top??0))})`),m(e,v),e.intersect=function(t){return B.polygon(e,f,t)},i}function tn(t,e,a,r=100,l=0,i=180){let n=[],s=l*Math.PI/180,o=(i*Math.PI/180-s)/(r-1);for(let l=0;l<r;l++){let r=s+l*o,i=t+a*Math.cos(r),h=e+a*Math.sin(r);n.push({x:i,y:h})}return n}async function ts(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let{shapeSvg:i,bbox:n,label:s}=await w(t,e,b(e)),o="neo"===e.look?18:e.padding??0,h="neo"===e.look?12:e.padding??0,d=n.width+("neo"===e.look?2*o:o),c=n.height+("neo"===e.look?2*h:h),y=Math.max(5,.1*c),{cssStyles:u}=e,p=[...tn(d/2,-c/2,y,20,-90,0),{x:d/2+y,y:-y},...tn(d/2+2*y,-y,y,20,-180,-270),...tn(d/2+2*y,y,y,20,-90,-180),{x:d/2+y,y:c/2},...tn(d/2,c/2,y,20,0,90)],f=[{x:-d/2,y:-c/2-y},{x:d/2,y:-c/2-y},...tn(d/2,-c/2,y,20,-90,0),{x:d/2+y,y:-y},...tn(d/2+2*y,-y,y,20,-180,-270),...tn(d/2+2*y,y,y,20,-90,-180),{x:d/2+y,y:c/2},...tn(d/2,c/2,y,20,0,90),{x:d/2,y:c/2+y},{x:-d/2,y:c/2+y}],x=g.A.svg(i),k=(0,r.Fr)(e,{fill:"none"});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let M=$(p).replace("Z",""),D=x.path(M,k),A=$(f),S=x.path(A,{...k}),v=i.insert("g",":first-child");return v.insert(()=>S,":first-child").attr("stroke-opacity",0),v.insert(()=>D,":first-child"),v.attr("class","text"),u&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",u),l&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",l),v.attr("transform",`translate(${-y}, 0)`),s.attr("transform",`translate(${-d/2+(e.padding??0)/2-(n.x-(n.left??0))},${-c/2+(e.padding??0)/2-(n.y-(n.top??0))})`),m(e,v),e.intersect=function(t){return B.polygon(e,f,t)},i}function to(t,e,a,r=100,l=0,i=180){let n=[],s=l*Math.PI/180,o=(i*Math.PI/180-s)/(r-1);for(let l=0;l<r;l++){let r=s+l*o,i=t+a*Math.cos(r),h=e+a*Math.sin(r);n.push({x:-i,y:-h})}return n}async function th(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let{shapeSvg:i,bbox:n,label:s}=await w(t,e,b(e)),o="neo"===e.look?18:e.padding??0,h="neo"===e.look?12:e.padding??0,d=n.width+("neo"===e.look?2*o:o),c=n.height+("neo"===e.look?2*h:h),y=Math.max(5,.1*c),{cssStyles:u}=e,p=[...to(d/2,-c/2,y,30,-90,0),{x:-d/2-y,y:y},...to(d/2+2*y,-y,y,20,-180,-270),...to(d/2+2*y,y,y,20,-90,-180),{x:-d/2-y,y:-c/2},...to(d/2,c/2,y,20,0,90)],f=[...to(-d/2+y+y/2,-c/2,y,20,-90,-180),{x:d/2-y/2,y:y},...to(-d/2-y/2,-y,y,20,0,90),...to(-d/2-y/2,y,y,20,-90,0),{x:d/2-y/2,y:-y},...to(-d/2+y+y/2,c/2,y,30,-180,-270)],x=[{x:d/2,y:-c/2-y},{x:-d/2,y:-c/2-y},...to(d/2,-c/2,y,20,-90,0),{x:-d/2-y,y:-y},...to(d/2+2*y,-y,y,20,-180,-270),...to(d/2+2*y,y,y,20,-90,-180),{x:-d/2-y,y:c/2},...to(d/2,c/2,y,20,0,90),{x:-d/2,y:c/2+y},{x:d/2-y-y/2,y:c/2+y},...to(-d/2+y+y/2,-c/2,y,20,-90,-180),{x:d/2-y/2,y:y},...to(-d/2-y/2,-y,y,20,0,90),...to(-d/2-y/2,y,y,20,-90,0),{x:d/2-y/2,y:-y},...to(-d/2+y+y/2,c/2,y,30,-180,-270)],k=g.A.svg(i),M=(0,r.Fr)(e,{fill:"none"});"handDrawn"!==e.look&&(M.roughness=0,M.fillStyle="solid");let D=$(p).replace("Z",""),A=k.path(D,M),S=$(f).replace("Z",""),v=k.path(S,M),K=$(x),C=k.path(K,{...M}),L=i.insert("g",":first-child");return L.insert(()=>C,":first-child").attr("stroke-opacity",0),L.insert(()=>A,":first-child"),L.insert(()=>v,":first-child"),L.attr("class","text"),u&&"handDrawn"!==e.look&&L.selectAll("path").attr("style",u),l&&"handDrawn"!==e.look&&L.selectAll("path").attr("style",l),L.attr("transform",`translate(${y-y/4}, 0)`),s.attr("transform",`translate(${-d/2+(e.padding??0)/2-(n.x-(n.left??0))},${-c/2+(e.padding??0)/2-(n.y-(n.top??0))})`),m(e,L),e.intersect=function(t){return B.polygon(e,x,t)},i}async function td(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i=e.padding??0,n="neo"===e.look?16:i,s="neo"===e.look?12:i,{shapeSvg:o,bbox:h}=await w(t,e,b(e)),d=Math.max(5,h.height+2*s,e?.height??0),c=d/2,y=Math.max(d/4,c-Math.sqrt(Math.max(0,c**2-(h.height/2)**2))),u=Math.max(20,h.width+2*n+2*y,(h.width+2*n)*1.25,e?.width??0),{cssStyles:p}=e,f=g.A.svg(o),x=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let k=u-c,D=d/4,A=[{x:k,y:0},{x:D,y:0},{x:0,y:d/2},{x:D,y:d},{x:k,y:d},...M(-k,-d/2,c,50,270,90)],S=$(A),v=f.path(S,x),K=o.insert(()=>v,":first-child");return K.attr("class","basic label-container outer-path"),p&&"handDrawn"!==e.look&&K.selectChildren("path").attr("style",p),l&&"handDrawn"!==e.look&&K.selectChildren("path").attr("style",l),K.attr("transform",`translate(${-u/2}, ${-d/2})`),m(e,K),e.intersect=function(t){return B.polygon(e,A,t)},o}async function tc(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let{shapeSvg:i,bbox:n,label:s}=await w(t,e,b(e)),o=e.padding??20,h=Math.max(n.width+2*o,e.width??0,100),d=Math.min(Math.max(.23*h,16),56),c=.27*d,y=Math.max(n.height+2*o,e.height?e.height-(2*d-c):0),u=Math.min(.177*h,.45*y),p=y+2*d-c,f=-p/2,x=f+2*d-c,$=i.insert("g",":first-child").attr("class","basic label-container"),{cssStyles:k}=e;if("handDrawn"===e.look){let t=g.A.svg(i),a=(0,r.Fr)(e,{}),l=t.path(F(-h/2,x,h,y,u),a),n=t.circle(0,f+d,2*d,a);$.insert(()=>n,":first-child"),$.insert(()=>l,":first-child"),k&&$.attr("style",k)}else $.append("rect").attr("x",-h/2).attr("y",x).attr("width",h).attr("height",y).attr("rx",u).attr("ry",u).attr("style",l),$.append("circle").attr("cx",0).attr("cy",f+d).attr("r",d).attr("style",l);m(e,$);let D=x+y/2;s.attr("transform",`translate(${-(n.width/2)-(n.x-(n.left??0))}, ${D-n.height/2-(n.y-(n.top??0))})`);let A=f+d,S=180*Math.asin(Math.min(1,(x-A)/d))/Math.PI,v=[...M(0,-A,d,24,180+S,-S),...M(-(-h/2+u),-(x+u),u,12,90,0),...M(-(-h/2+u),-(p/2-u),u,12,360,270),...M(-(h/2-u),-(p/2-u),u,12,270,180),...M(-(h/2-u),-(x+u),u,12,180,90)];return e.intersect=function(t){return B.polygon(e,v,t)},i}(0,d.K)(V,"block_arrow"),(0,d.K)(Y,"browser"),(0,d.K)(J,"card"),(0,d.K)(U,"choice"),(0,d.K)(Q,"circle"),(0,d.K)(tt,"composite"),(0,d.K)(te,"consoleWindow"),(0,d.K)(ta,"createLine"),(0,d.K)(tr,"crossedCircle"),(0,d.K)(tl,"generateCirclePoints"),(0,d.K)(ti,"curlyBraceLeft"),(0,d.K)(tn,"generateCirclePoints"),(0,d.K)(ts,"curlyBraceRight"),(0,d.K)(to,"generateCirclePoints"),(0,d.K)(th,"curlyBraces"),(0,d.K)(td,"curvedTrapezoid"),(0,d.K)(tc,"person");var tg=(0,d.K)((t,e,a,r,l,i)=>`M${t},${e+i} a${l},${i} 0,0,0 ${a},0 a${l},${i} 0,0,0 ${-a},0 l0,${r} a${l},${i} 0,0,0 ${a},0 l0,${-r}`,"createCylinderPathD"),ty=(0,d.K)((t,e,a,r,l,i)=>`M${t},${e+i} M${t+a},${e+i} a${l},${i} 0,0,0 ${-a},0 l0,${r} a${l},${i} 0,0,0 ${a},0 l0,${-r}`,"createOuterCylinderPathD"),tu=(0,d.K)((t,e,a,r,l,i)=>`M${t-a/2},${-r/2} a${l},${i} 0,0,0 ${a},0`,"createInnerCylinderPathD");async function tp(t,e){let a,{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let n=e.padding??0,o="neo"===e.look?24:n,h="neo"===e.look?24:n,d=e.width??0;e.width&&(e.width=e.width-h,e.width<8&&(e.width=8)),e.height&&(e.height=e.height-o-d/2/(2.5+d/50)*3,e.height<8&&(e.height=8));let{shapeSvg:c,bbox:y,label:u}=await w(t,e,b(e)),p=Math.max(e.width??0,y.width)+h,f=p/2,x=f/(2.5+p/50),$=Math.max(e.height??0,y.height)+o+x,{cssStyles:k}=e;if("handDrawn"===e.look){let t=g.A.svg(c),l=ty(0,0,p,$,f,x),i=tu(0,x,p,$,f,x),n=(0,r.Fr)(e,{}),s=t.path(l,n),o=t.path(i,(0,r.Fr)(e,{fill:"none"}));a=c.insert(()=>o,":first-child"),(a=c.insert(()=>s,":first-child")).attr("class","basic label-container"),k&&a.attr("style",k)}else{let t=tg(0,0,p,$,f,x);a=c.insert("path",":first-child").attr("d",t).attr("class","basic label-container outer-path").attr("style",(0,s.KL)(k)).attr("style",i)}return a.attr("label-offset-y",x),a.attr("transform",`translate(${-p/2}, ${-($/2+x)})`),m(e,a),u.attr("transform",`translate(${-(y.width/2)-(y.x-(y.left??0))}, ${-(y.height/2)+(e.padding??0)/1.5-(y.y-(y.top??0))})`),e.intersect=function(t){let a=B.rect(e,t),r=a.x-(e.x??0);if(0!=f&&(Math.abs(r)<(e.width??0)/2||Math.abs(r)==(e.width??0)/2&&Math.abs(a.y-(e.y??0))>(e.height??0)/2-x)){let l=x*x*(1-r*r/(f*f));l>0&&(l=Math.sqrt(l)),l=x-l,t.y-(e.y??0)>0&&(l=-l),a.y+=l}return a},c}async function tf(t,e,a){let l,{labelStyles:i,nodeStyles:n}=(0,r.GX)(e);e.labelStyle=i;let{shapeSvg:o,bbox:h}=await w(t,e,b(e)),d=Math.max(h.width+2*a.labelPaddingX,e?.width||0),c=Math.max(h.height+2*a.labelPaddingY,e?.height||0),y=-d/2,u=-c/2,{rx:p,ry:f}=e,{cssStyles:x}=e;if(a?.rx&&a.ry&&(p=a.rx,f=a.ry),"handDrawn"===e.look){let t=g.A.svg(o),a=(0,r.Fr)(e,{}),i=p||f?t.path(F(y,u,d,c,p||0),a):t.rectangle(y,u,d,c,a);(l=o.insert(()=>i,":first-child")).attr("class","basic label-container").attr("style",(0,s.KL)(x))}else(l=o.insert("rect",":first-child")).attr("class","basic label-container").attr("style",n).attr("rx",(0,s.KL)(p)).attr("ry",(0,s.KL)(f)).attr("x",y).attr("y",u).attr("width",d).attr("height",c);return m(e,l,"handDrawn"===e.look?void 0:{width:d,height:c}),e.calcIntersect=function(t,e){return B.rect(t,e)},e.intersect=function(t){return B.rect(e,t)},o}async function tw(t,e){let{cssClasses:a,labelPaddingX:l,labelPaddingY:i,padding:n,width:s,height:o}=e,h=await tf(t,e,{rx:0,ry:0,classes:a??"",labelPaddingX:l??(n??0)*2,labelPaddingY:i??n??0});if("handDrawn"===e.look){let t=g.A.svg(h),a=(0,r.Fr)(e,{}),l=h.select(".basic.label-container > path:nth-child(2)"),i=l.node();if(!i)return h;let n=null;return i instanceof SVGGraphicsElement&&(n=i.getBBox(),h.insert(()=>t.line(n.x,n.y,n.x+n.width,n.y,a),".basic.label-container g.label"),h.insert(()=>t.line(n.x,n.y+n.height,n.x+n.width,n.y+n.height,a),".basic.label-container g.label"),l.remove()),h}let d=h.select(".basic.label-container"),c=(Number(d.attr("width"))||s)??0,y=(Number(d.attr("height"))||o)??0;return c>0&&y>0&&d.attr("stroke-dasharray",`${c} ${y}`),h}async function tx(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i="neo"===e.look?16:e.padding??0,n="neo"===e.look?16:e.padding??0,{shapeSvg:s,bbox:o,label:h}=await w(t,e,b(e)),d=o.width+i,c=o.height+n,y=.2*c,u=-d/2,p=-c/2-y/2,{cssStyles:f}=e,x=g.A.svg(s),$=(0,r.Fr)(e,{});"handDrawn"!==e.look&&($.roughness=0,$.fillStyle="solid");let k=x.polygon([{x:u,y:p+y},{x:-u,y:p+y},{x:-u,y:-p},{x:u,y:-p},{x:u,y:p},{x:-u,y:p},{x:-u,y:p+y}].map(t=>[t.x,t.y]),$),M=s.insert(()=>k,":first-child");return M.attr("class","basic label-container outer-path"),f&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",f),l&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",l),h.attr("transform",`translate(${u+(e.padding??0)/2-(o.x-(o.left??0))}, ${p+y+(e.padding??0)/2-(o.y-(o.top??0))})`),m(e,M),e.intersect=function(t){return B.rect(e,t)},s}async function tm(t,e){let a,{labelStyles:l,nodeStyles:i}=(0,r.GX)(e),n="neo"===e.look?12:5;e.labelStyle=l;let o=e.padding??0,d="neo"===e.look?16:o,{shapeSvg:c,bbox:y}=await w(t,e,b(e)),u=Math.sqrt(y.width**2+y.height**2)/2,p=(e?.width?e?.width/2:u)+(d??0),f=p+n,{cssStyles:x}=e;if("handDrawn"===e.look){let t=g.A.svg(c),l=(0,r.Fr)(e,{roughness:.2,strokeWidth:2.5}),i=(0,r.Fr)(e,{roughness:.2,strokeWidth:1.5}),n=t.circle(0,0,2*f,l),o=t.circle(0,0,2*p,i);(a=c.insert("g",":first-child")).attr("class",(0,s.KL)(e.cssClasses)).attr("style",(0,s.KL)(x)),a.node()?.appendChild(n),a.node()?.appendChild(o)}else{let t=(a=c.insert("g",":first-child")).insert("circle",":first-child"),e=a.insert("circle");a.attr("class","basic label-container").attr("style",i),t.attr("class","outer-circle").attr("style",i).attr("r",f).attr("cx",0).attr("cy",0),e.attr("class","inner-circle").attr("style",i).attr("r",p).attr("cx",0).attr("cy",0)}return m(e,a),e.intersect=function(t){return h.R.info("DoubleCircle intersect",e,f,t),B.circle(e,f,t)},c}async function tb(t,e){let a,{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let{shapeSvg:s,bbox:h,halfPadding:d}=await w(t,e,b(e)),{theme:c,themeVariables:y}=(0,o.D7)();(0,n.XE)(s,e.colorIndex,c,y.borderColorArray);let u=d??10,p=h.width/2+2*u,f=h.height/2+2*u,{cssStyles:x}=e;if("handDrawn"===e.look){let t=g.A.svg(s),l=(0,r.Fr)(e,{}),i=t.ellipse(0,0,2*p,2*f,l);(a=s.insert(()=>i,":first-child")).attr("class","basic label-container"),x&&a.attr("style",x)}else a=s.insert("ellipse",":first-child").attr("class","basic label-container").attr("style",i).attr("rx",p).attr("ry",f).attr("cx",0).attr("cy",0);return e.width=2*p,e.height=2*f,m(e,a),e.calcIntersect=function(t,e){let a=t.width/2,r=t.height/2;return B.ellipse(t,a,r,e)},e.intersect=function(t){return B.ellipse(e,p,f,t)},s}function t$(t,e,{config:{themeVariables:a}}){let{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.label="",e.labelStyle=l;let n=t.insert("g").attr("class",b(e)).attr("id",e.domId??e.id),{cssStyles:s}=e,o=g.A.svg(n),{nodeBorder:d}=a,c=(0,r.Fr)(e,{fillStyle:"solid"});"handDrawn"!==e.look&&(c.roughness=0);let y=o.circle(0,0,14,c),u=n.insert(()=>y,":first-child");return u.selectAll("path").attr("style",`fill: ${d} !important;`),s&&s.length>0&&"handDrawn"!==e.look&&u.selectAll("path").attr("style",s),i&&"handDrawn"!==e.look&&u.selectAll("path").attr("style",i),m(e,u),e.intersect=function(t){return h.R.info("filledCircle intersect",e,{radius:7,point:t}),B.circle(e,7,t)},n}async function tk(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i=e.padding??0,n="neo"===e.look?2*i:i;(e.width||e.height)&&(e.height=e?.height??0,e.height<10&&(e.height=10),e.width=(e?.width??0)-n-n/2,e.width<10&&(e.width=10));let{shapeSvg:s,bbox:o,label:d}=await w(t,e,b(e)),c=(e?.width?e?.width:o.width)+(n??0),y=e?.height?e?.height:c+o.height,u=[{x:0,y:-y},{x:y,y:-y},{x:y/2,y:0}],{cssStyles:p}=e,f=g.A.svg(s),x=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let k=$(u),M=f.path(k,x),D=s.insert(()=>M,":first-child").attr("transform",`translate(${-y/2}, ${y/2})`).attr("class","outer-path");return p&&"handDrawn"!==e.look&&D.selectChildren("path").attr("style",p),l&&"handDrawn"!==e.look&&D.selectChildren("path").attr("style",l),e.width=c,e.height=y,m(e,D),d.attr("transform",`translate(${-o.width/2-(o.x-(o.left??0))}, ${-y/2+(e.padding??0)/2+(o.y-(o.top??0))})`),e.intersect=function(t){return h.R.info("Triangle intersect",e,u,t),B.polygon(e,u,t)},s}async function tM(t,e){let a,{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let{shapeSvg:n,bbox:s,label:o}=await w(t,e,b(e)),h=e.padding??12,d=Math.max(s.width+2*h,e.width??0,90),c=s.height+2*h,y=Math.max(Math.min(.16*c,14),8),u=Math.max(c+y,e.height??0),p=u-y,f=Math.max(.38*d,28),x=-u/2,$=[{x:-d/2,y:x},{x:-d/2+f,y:x},{x:-d/2+f,y:x+y},{x:d/2,y:x+y},{x:d/2,y:u/2},{x:-d/2,y:u/2}],k=[`M${$[0].x},${$[0].y}`,...$.slice(1).map(t=>`L${t.x},${t.y}`),"Z"].join(" "),{cssStyles:M}=e;if("handDrawn"===e.look){let t=g.A.svg(n).path(k,(0,r.Fr)(e,{}));a=n.insert(()=>t,":first-child").attr("class","basic label-container"),M&&a.attr("style",M)}else a=n.insert("path",":first-child").attr("d",k).attr("class","basic label-container").attr("style",i);return"handDrawn"===e.look?m(e,a):m(e,a,{width:d,height:u}),o.attr("transform",`translate(${-(s.width/2)-(s.x-(s.left??0))}, ${x+y+p/2-s.height/2-(s.y-(s.top??0))})`),e.intersect=function(t){return B.polygon(e,$,t)},n}function tD(t,e,{dir:a,config:{state:l,themeVariables:i}}){let{nodeStyles:n}=(0,r.GX)(e);e.label="";let s=t.insert("g").attr("class",b(e)).attr("id",e.domId??e.id),{cssStyles:o}=e,h=Math.max(70,e?.width??0),d=Math.max(10,e?.height??0);("LR"===a||"RL"===a)&&(h=Math.max(10,e?.width??0),d=Math.max(70,e?.height??0));let c=-1*h/2,y=-1*d/2,u=g.A.svg(s),p=(0,r.Fr)(e,{stroke:i.lineColor,fill:i.lineColor});"handDrawn"!==e.look&&(p.roughness=0,p.fillStyle="solid");let f=u.rectangle(c,y,h,d,p),w=s.insert(()=>f,":first-child");o&&"handDrawn"!==e.look&&w.selectAll("path").attr("style",o),n&&"handDrawn"!==e.look&&w.selectAll("path").attr("style",n),m(e,w);let x=l?.padding??0;return e.width&&e.height&&(e.width+=x/2||0,e.height+=x/2||0),e.intersect=function(t){return B.rect(e,t)},s}async function tA(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i="neo"===e.look?16:e.padding??0,n="neo"===e.look?12:e.padding??0;(e.width||e.height)&&(e.height=(e?.height??0)-2*n,e.height<10&&(e.height=10),e.width=(e?.width??0)-2*i,e.width<15&&(e.width=15));let{shapeSvg:s,bbox:o}=await w(t,e,b(e)),d=(e?.height?e?.height:Math.max(10,o.height))+2*n,c=d/2,y=c-Math.sqrt(Math.max(0,c**2-(o.height/2)**2)),u=(e?.width?e?.width:Math.max(15,o.width)+2*y)+2*i,{cssStyles:p}=e,f=g.A.svg(s),x=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let k=[{x:-u/2,y:-d/2},{x:u/2-c,y:-d/2},...M(-u/2+c,0,c,50,90,270),{x:u/2-c,y:d/2},{x:-u/2,y:d/2}],D=$(k),A=f.path(D,x),S=s.insert(()=>A,":first-child");return S.attr("class","basic label-container outer-path"),p&&"handDrawn"!==e.look&&S.selectChildren("path").attr("style",p),l&&"handDrawn"!==e.look&&S.selectChildren("path").attr("style",l),m(e,S),e.intersect=function(t){return h.R.info("Pill intersect",e,{radius:c,point:t}),B.polygon(e,k,t)},s}(0,d.K)(tp,"cylinder"),(0,d.K)(tf,"drawRect"),(0,d.K)(tw,"datastore"),(0,d.K)(tx,"dividedRectangle"),(0,d.K)(tm,"doublecircle"),(0,d.K)(tb,"usecaseEllipse"),(0,d.K)(t$,"filledCircle"),(0,d.K)(tk,"flippedTriangle"),(0,d.K)(tM,"folder"),(0,d.K)(tD,"forkJoin"),(0,d.K)(tA,"halfRoundedRectangle");var tS=(0,d.K)((t,e,a,r,l)=>`M${t+l},${e} L${t+a-l},${e} L${t+a},${e-r/2} L${t+a-l},${e-r} L${t+l},${e-r} L${t},${e-r/2} Z`,"createHexagonPathD");async function tv(t,e){let a,{labelStyles:l,nodeStyles:i}=(0,r.GX)(e),n="neo"===e.look?3.5:4;e.labelStyle=l;let s=e.padding??0,o="neo"===e.look?70:s,h="neo"===e.look?32:s;if(e.width||e.height){let t=e.height??0;e.width=(e?.width??0)-t/n*2-h,e.height=(e.height??0)-o}let{shapeSvg:d,bbox:c}=await w(t,e,b(e)),y=(e?.height?e?.height:c.height)+o,u=y/n,p=(e?.width?e?.width:c.width)+2*u+h,f=[{x:u,y:0},{x:p-u,y:0},{x:p,y:-y/2},{x:p-u,y:-y},{x:u,y:-y},{x:0,y:-y/2}],{cssStyles:x}=e;if("handDrawn"===e.look){let t=g.A.svg(d),l=(0,r.Fr)(e,{}),i=tS(0,0,p,y,u),n=t.path(i,l);a=d.insert(()=>n,":first-child").attr("transform",`translate(${-p/2}, ${y/2})`),x&&a.attr("style",x)}else a=E(d,p,y,f);return i&&a.attr("style",i),e.width=p,e.height=y,m(e,a),e.intersect=function(t){return B.polygon(e,f,t)},d}async function tK(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.label="",e.labelStyle=a;let{shapeSvg:i}=await w(t,e,b(e)),n=Math.max(30,e?.width??0),s=Math.max(30,e?.height??0),{cssStyles:o}=e,d=g.A.svg(i),c=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(c.roughness=0,c.fillStyle="solid");let y=[{x:0,y:0},{x:n,y:0},{x:0,y:s},{x:n,y:s}],u=$(y),p=d.path(u,c),f=i.insert(()=>p,":first-child");return f.attr("class","basic label-container outer-path"),o&&"handDrawn"!==e.look&&f.selectChildren("path").attr("style",o),l&&"handDrawn"!==e.look&&f.selectChildren("path").attr("style",l),f.attr("transform",`translate(${-n/2}, ${-s/2})`),m(e,f),e.intersect=function(t){return h.R.info("Pill intersect",e,{points:y}),B.polygon(e,y,t)},i}async function tC(t,e,{config:{themeVariables:a,flowchart:l}}){let{labelStyles:n}=(0,r.GX)(e);e.labelStyle=n;let s=Math.max(e.assetHeight??48,e.assetWidth??48);e.width=Math.max(s,l?.wrappingWidth??0);let{shapeSvg:o,bbox:d,label:c}=await w(t,e,"icon-shape default"),y="t"===e.pos,{nodeBorder:u}=a,{stylesMap:p}=(0,r.WW)(e),f=-s/2,x=-s/2,b=8*!!e.label,$=g.A.svg(o),k=(0,r.Fr)(e,{stroke:"none",fill:"none"});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let M=$.rectangle(f,x,s,s,k),D=Math.max(s,d.width),A=s+d.height+b,S=$.rectangle(-D/2,-A/2,D,A,{...k,fill:"transparent",stroke:"none"}),v=o.insert(()=>M,":first-child"),K=o.insert(()=>S);if(e.icon){let t=o.append("g");t.html(`<g>${await (0,i.WY)(e.icon,{height:s,width:s,fallbackPrefix:""})}</g>`);let a=t.node().getBBox(),r=a.width,l=a.height,n=a.x,h=a.y;t.attr("transform",`translate(${-r/2-n},${y?d.height/2+b/2-l/2-h:-d.height/2-b/2-l/2-h})`),t.attr("style",`color: ${p.get("stroke")??u};`)}return c.attr("transform",`translate(${-d.width/2-(d.x-(d.left??0))},${y?-A/2:A/2-d.height})`),v.attr("transform",`translate(0,${y?d.height/2+b/2:-d.height/2-b/2})`),m(e,K),e.intersect=function(t){if(h.R.info("iconSquare intersect",e,t),!e.label)return B.rect(e,t);let a=e.x??0,r=e.y??0,l=e.height??0,i=[];return i=y?[{x:a-d.width/2,y:r-l/2},{x:a+d.width/2,y:r-l/2},{x:a+d.width/2,y:r-l/2+d.height+b},{x:a+s/2,y:r-l/2+d.height+b},{x:a+s/2,y:r+l/2},{x:a-s/2,y:r+l/2},{x:a-s/2,y:r-l/2+d.height+b},{x:a-d.width/2,y:r-l/2+d.height+b}]:[{x:a-s/2,y:r-l/2},{x:a+s/2,y:r-l/2},{x:a+s/2,y:r-l/2+s},{x:a+d.width/2,y:r-l/2+s},{x:a+d.width/2/2,y:r+l/2},{x:a-d.width/2,y:r+l/2},{x:a-d.width/2,y:r-l/2+s},{x:a-s/2,y:r-l/2+s}],B.polygon(e,i,t)},o}async function tL(t,e,{config:{themeVariables:a,flowchart:l}}){let{labelStyles:n}=(0,r.GX)(e);e.labelStyle=n;let s=Math.max(e.assetHeight??48,e.assetWidth??48);e.width=Math.max(s,l?.wrappingWidth??0);let{shapeSvg:o,bbox:d,label:c}=await w(t,e,"icon-shape default"),y=8*!!e.label,u="t"===e.pos,{nodeBorder:p,mainBkg:f}=a,{stylesMap:x}=(0,r.WW)(e),b=g.A.svg(o),$=(0,r.Fr)(e,{});"handDrawn"!==e.look&&($.roughness=0,$.fillStyle="solid"),$.stroke=x.get("fill")??f;let k=o.append("g");e.icon&&k.html(`<g>${await (0,i.WY)(e.icon,{height:s,width:s,fallbackPrefix:""})}</g>`);let M=k.node().getBBox(),D=M.width,A=M.height,S=M.x,v=M.y,K=Math.max(D,A)*Math.SQRT2+40,C=b.circle(0,0,K,$),L=Math.max(K,d.width),N=K+d.height+y,F=b.rectangle(-L/2,-N/2,L,N,{...$,fill:"transparent",stroke:"none"}),R=o.insert(()=>C,":first-child"),P=o.insert(()=>F);return k.attr("transform",`translate(${-D/2-S},${u?d.height/2+y/2-A/2-v:-d.height/2-y/2-A/2-v})`),k.attr("style",`color: ${x.get("stroke")??p};`),c.attr("transform",`translate(${-d.width/2-(d.x-(d.left??0))},${u?-N/2:N/2-d.height})`),R.attr("transform",`translate(0,${u?d.height/2+y/2:-d.height/2-y/2})`),m(e,P),e.intersect=function(t){return h.R.info("iconSquare intersect",e,t),B.rect(e,t)},o}async function tN(t,e,{config:{themeVariables:a,flowchart:l}}){let{labelStyles:n}=(0,r.GX)(e);e.labelStyle=n;let s=Math.max(e.assetHeight??48,e.assetWidth??48);e.width=Math.max(s,l?.wrappingWidth??0);let{shapeSvg:o,bbox:d,halfPadding:c,label:y}=await w(t,e,"icon-shape default"),u="t"===e.pos,p=s+2*c,f=s+2*c,{nodeBorder:x,mainBkg:b}=a,{stylesMap:$}=(0,r.WW)(e),k=8*!!e.label,M=g.A.svg(o),D=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(D.roughness=0,D.fillStyle="solid"),D.stroke=$.get("fill")??b;let A=M.path(F(-f/2,-p/2,f,p,5),D),S=Math.max(f,d.width),v=p+d.height+k,K=M.rectangle(-S/2,-v/2,S,v,{...D,fill:"transparent",stroke:"none"}),C=o.insert(()=>A,":first-child").attr("class","icon-shape2"),L=o.insert(()=>K);if(e.icon){let t=o.append("g");t.html(`<g>${await (0,i.WY)(e.icon,{height:s,width:s,fallbackPrefix:""})}</g>`);let a=t.node().getBBox(),r=a.width,l=a.height,n=a.x,h=a.y;t.attr("transform",`translate(${-r/2-n},${u?d.height/2+k/2-l/2-h:-d.height/2-k/2-l/2-h})`),t.attr("style",`color: ${$.get("stroke")??x};`)}return y.attr("transform",`translate(${-d.width/2-(d.x-(d.left??0))},${u?-v/2:v/2-d.height})`),C.attr("transform",`translate(0,${u?d.height/2+k/2:-d.height/2-k/2})`),m(e,L),e.intersect=function(t){if(h.R.info("iconSquare intersect",e,t),!e.label)return B.rect(e,t);let a=e.x??0,r=e.y??0,l=e.height??0,i=[];return i=u?[{x:a-d.width/2,y:r-l/2},{x:a+d.width/2,y:r-l/2},{x:a+d.width/2,y:r-l/2+d.height+k},{x:a+f/2,y:r-l/2+d.height+k},{x:a+f/2,y:r+l/2},{x:a-f/2,y:r+l/2},{x:a-f/2,y:r-l/2+d.height+k},{x:a-d.width/2,y:r-l/2+d.height+k}]:[{x:a-f/2,y:r-l/2},{x:a+f/2,y:r-l/2},{x:a+f/2,y:r-l/2+p},{x:a+d.width/2,y:r-l/2+p},{x:a+d.width/2/2,y:r+l/2},{x:a-d.width/2,y:r+l/2},{x:a-d.width/2,y:r-l/2+p},{x:a-f/2,y:r-l/2+p}],B.polygon(e,i,t)},o}async function tB(t,e,{config:{themeVariables:a,flowchart:l}}){let{labelStyles:n}=(0,r.GX)(e);e.labelStyle=n;let s=Math.max(e.assetHeight??48,e.assetWidth??48);e.width=Math.max(s,l?.wrappingWidth??0);let{shapeSvg:o,bbox:d,halfPadding:c,label:y}=await w(t,e,"icon-shape default"),u="t"===e.pos,p=s+2*c,f=s+2*c,{nodeBorder:x,mainBkg:b}=a,{stylesMap:$}=(0,r.WW)(e),k=8*!!e.label,M=g.A.svg(o),D=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(D.roughness=0,D.fillStyle="solid"),D.stroke=$.get("fill")??b;let A=M.path(F(-f/2,-p/2,f,p,.1),D),S=Math.max(f,d.width),v=p+d.height+k,K=M.rectangle(-S/2,-v/2,S,v,{...D,fill:"transparent",stroke:"none"}),C=o.insert(()=>A,":first-child"),L=o.insert(()=>K);if(e.icon){let t=o.append("g");t.html(`<g>${await (0,i.WY)(e.icon,{height:s,width:s,fallbackPrefix:""})}</g>`);let a=t.node().getBBox(),r=a.width,l=a.height,n=a.x,h=a.y;t.attr("transform",`translate(${-r/2-n},${u?d.height/2+k/2-l/2-h:-d.height/2-k/2-l/2-h})`),t.attr("style",`color: ${$.get("stroke")??x};`)}return y.attr("transform",`translate(${-d.width/2-(d.x-(d.left??0))},${u?-v/2:v/2-d.height})`),C.attr("transform",`translate(0,${u?d.height/2+k/2:-d.height/2-k/2})`),m(e,L),e.intersect=function(t){if(h.R.info("iconSquare intersect",e,t),!e.label)return B.rect(e,t);let a=e.x??0,r=e.y??0,l=e.height??0,i=[];return i=u?[{x:a-d.width/2,y:r-l/2},{x:a+d.width/2,y:r-l/2},{x:a+d.width/2,y:r-l/2+d.height+k},{x:a+f/2,y:r-l/2+d.height+k},{x:a+f/2,y:r+l/2},{x:a-f/2,y:r+l/2},{x:a-f/2,y:r-l/2+d.height+k},{x:a-d.width/2,y:r-l/2+d.height+k}]:[{x:a-f/2,y:r-l/2},{x:a+f/2,y:r-l/2},{x:a+f/2,y:r-l/2+p},{x:a+d.width/2,y:r-l/2+p},{x:a+d.width/2/2,y:r+l/2},{x:a-d.width/2,y:r+l/2},{x:a-d.width/2,y:r-l/2+p},{x:a-f/2,y:r-l/2+p}],B.polygon(e,i,t)},o}async function tF(t,e,{config:{flowchart:a}}){let l=new Image;l.src=e?.img??"",await l.decode();let i=Number(l.naturalWidth.toString().replace("px","")),n=Number(l.naturalHeight.toString().replace("px",""));e.imageAspectRatio=i/n;let{labelStyles:s}=(0,r.GX)(e);e.labelStyle=s;let o=a?.wrappingWidth;e.defaultWidth=a?.wrappingWidth;let d=Math.max(e.label?o??0:0,e?.assetWidth??i),c="on"===e.constraint&&e?.assetHeight?e.assetHeight*e.imageAspectRatio:d,y="on"===e.constraint?c/e.imageAspectRatio:e?.assetHeight??n;e.width=Math.max(c,o??0);let{shapeSvg:u,bbox:p,label:f}=await w(t,e,"image-shape default"),x="t"===e.pos,b=-c/2,$=8*!!e.label,k=g.A.svg(u),M=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(M.roughness=0,M.fillStyle="solid");let D=k.rectangle(b,-y/2,c,y,M),A=Math.max(c,p.width),S=y+p.height+$,v=k.rectangle(-A/2,-S/2,A,S,{...M,fill:"none",stroke:"none"}),K=u.insert(()=>D,":first-child"),C=u.insert(()=>v);if(e.img){let t=u.append("image");t.attr("href",e.img),t.attr("width",c),t.attr("height",y),t.attr("preserveAspectRatio","none"),t.attr("transform",`translate(${-c/2},${x?S/2-y:-S/2})`)}return f.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${x?-y/2-p.height/2-$/2:y/2-p.height/2+$/2})`),K.attr("transform",`translate(0,${x?p.height/2+$/2:-p.height/2-$/2})`),m(e,C),e.intersect=function(t){if(h.R.info("iconSquare intersect",e,t),!e.label)return B.rect(e,t);let a=e.x??0,r=e.y??0,l=e.height??0,i=[];return i=x?[{x:a-p.width/2,y:r-l/2},{x:a+p.width/2,y:r-l/2},{x:a+p.width/2,y:r-l/2+p.height+$},{x:a+c/2,y:r-l/2+p.height+$},{x:a+c/2,y:r+l/2},{x:a-c/2,y:r+l/2},{x:a-c/2,y:r-l/2+p.height+$},{x:a-p.width/2,y:r-l/2+p.height+$}]:[{x:a-c/2,y:r-l/2},{x:a+c/2,y:r-l/2},{x:a+c/2,y:r-l/2+y},{x:a+p.width/2,y:r-l/2+y},{x:a+p.width/2/2,y:r+l/2},{x:a-p.width/2,y:r+l/2},{x:a-p.width/2,y:r-l/2+y},{x:a-c/2,y:r-l/2+y}],B.polygon(e,i,t)},u}async function tR(t,e){let a,{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let n=e.padding??0,s="neo"===e.look?2*n:n,{shapeSvg:o,bbox:h}=await w(t,e,b(e)),d=Math.max(h.height+2*n,e.height??0),c=Math.max(h.width+2*s,(e.width??0)-d),y=[{x:0,y:0},{x:c,y:0},{x:c+3*d/6,y:-d},{x:-3*d/6,y:-d}],{cssStyles:u}=e;if("handDrawn"===e.look){let t=g.A.svg(o),l=(0,r.Fr)(e,{}),i=$(y),n=t.path(i,l);a=o.insert(()=>n,":first-child").attr("transform",`translate(${-c/2}, ${d/2})`),u&&a.attr("style",u)}else a=E(o,c,d,y);return i&&a.attr("style",i),e.width=c,e.height=d,m(e,a),e.intersect=function(t){return B.polygon(e,y,t)},o}async function tP(t,e){let{shapeSvg:a,bbox:r,label:l}=await w(t,e,"label"),i=a.insert("rect",":first-child");return i.attr("width",.1).attr("height",.1),a.attr("class","label edgeLabel"),l.attr("transform",`translate(${-(r.width/2)-(r.x-(r.left??0))}, ${-(r.height/2)-(r.y-(r.top??0))})`),m(e,i),e.intersect=function(t){return B.rect(e,t)},a}async function tX(t,e){let a,{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let n=e.padding??0,s="neo"===e.look?2*n:n,{shapeSvg:o,bbox:h}=await w(t,e,b(e)),d=Math.max(h.height+n,e.height??0),c=Math.max(h.width+s,(e.width??0)-d),y=[{x:0,y:0},{x:c+3*d/6,y:0},{x:c,y:-d},{x:-(3*d)/6,y:-d}],{cssStyles:u}=e;if("handDrawn"===e.look){let t=g.A.svg(o),l=(0,r.Fr)(e,{}),i=$(y),n=t.path(i,l);a=o.insert(()=>n,":first-child").attr("transform",`translate(${-c/2}, ${d/2})`),u&&a.attr("style",u)}else a=E(o,c,d,y);return i&&a.attr("style",i),e.width=c,e.height=d,m(e,a),e.intersect=function(t){return B.polygon(e,y,t)},o}async function tG(t,e){let a,{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let n=e.padding??0,s="neo"===e.look?2*n:n,{shapeSvg:o,bbox:h}=await w(t,e,b(e)),d=Math.max(h.height+n,e.height??0),c=Math.max(h.width+s,(e.width??0)-d),y=[{x:-3*d/6,y:0},{x:c,y:0},{x:c+3*d/6,y:-d},{x:0,y:-d}],{cssStyles:u}=e;if("handDrawn"===e.look){let t=g.A.svg(o),l=(0,r.Fr)(e,{}),i=$(y),n=t.path(i,l);a=o.insert(()=>n,":first-child").attr("transform",`translate(${-c/2}, ${d/2})`),u&&a.attr("style",u)}else a=E(o,c,d,y);return i&&a.attr("style",i),e.width=c,e.height=d,m(e,a),e.intersect=function(t){return B.polygon(e,y,t)},o}function tI(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.label="",e.labelStyle=a;let i=t.insert("g").attr("class",b(e)).attr("id",e.domId??e.id),{cssStyles:n}=e,s=Math.max(35,e?.width??0),o=Math.max(35,e?.height??0),d=[{x:s,y:0},{x:0,y:o+3.5},{x:s-14,y:o+3.5},{x:0,y:2*o},{x:s,y:o-3.5},{x:14,y:o-3.5}],c=g.A.svg(i),y=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(y.roughness=0,y.fillStyle="solid");let u=$(d),p=c.path(u,y),f=i.insert(()=>p,":first-child");return f.attr("class","outer-path"),n&&"handDrawn"!==e.look&&f.selectAll("path").attr("style",n),l&&"handDrawn"!==e.look&&f.selectAll("path").attr("style",l),f.attr("transform",`translate(-${s/2},${-o})`),m(e,f),e.intersect=function(t){return h.R.info("lightningBolt intersect",e,t),B.polygon(e,d,t)},i}(0,d.K)(tv,"hexagon"),(0,d.K)(tK,"hourglass"),(0,d.K)(tC,"icon"),(0,d.K)(tL,"iconCircle"),(0,d.K)(tN,"iconRounded"),(0,d.K)(tB,"iconSquare"),(0,d.K)(tF,"imageSquare"),(0,d.K)(tR,"inv_trapezoid"),(0,d.K)(tP,"labelRect"),(0,d.K)(tX,"lean_left"),(0,d.K)(tG,"lean_right"),(0,d.K)(tI,"lightningBolt");var tW=(0,d.K)((t,e,a,r,l,i,n)=>`M${t},${e+i} a${l},${i} 0,0,0 ${a},0 a${l},${i} 0,0,0 ${-a},0 l0,${r} a${l},${i} 0,0,0 ${a},0 l0,${-r} M${t},${e+i+n} a${l},${i} 0,0,0 ${a},0`,"createCylinderPathD"),tH=(0,d.K)((t,e,a,r,l,i,n)=>`M${t},${e+i} M${t+a},${e+i} a${l},${i} 0,0,0 ${-a},0 l0,${r} a${l},${i} 0,0,0 ${a},0 l0,${-r} M${t},${e+i+n} a${l},${i} 0,0,0 ${a},0`,"createOuterCylinderPathD"),tT=(0,d.K)((t,e,a,r,l,i)=>`M${t-a/2},${-r/2} a${l},${i} 0,0,0 ${a},0`,"createInnerCylinderPathD");async function tE(t,e){let a,{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let n=e.padding??0,o="neo"===e.look?16:n,h="neo"===e.look?24:n;if(e.width||e.height){let t=e.width??0;e.width=(e.width??0)-o,e.width<10&&(e.width=10),e.height=(e.height??0)-h-t/2/(2.5+t/50)*3,e.height<10&&(e.height=10)}let{shapeSvg:d,bbox:c,label:y}=await w(t,e,b(e)),u=(e?.width?e?.width:c.width)+2*o,p=u/2,f=p/(2.5+u/50),x=(e?.height?e?.height:c.height)+f+2*h,$=.1*x,{cssStyles:k}=e;if("handDrawn"===e.look){let t=g.A.svg(d),l=tH(0,0,u,x,p,f,$),i=tT(0,f,u,x,p,f),n=(0,r.Fr)(e,{}),s=t.path(l,n),o=t.path(i,n);d.insert(()=>o,":first-child").attr("class","line"),(a=d.insert(()=>s,":first-child")).attr("class","basic label-container"),k&&a.attr("style",k)}else{let t=tW(0,0,u,x,p,f,$);a=d.insert("path",":first-child").attr("d",t).attr("class","basic label-container outer-path").attr("style",(0,s.KL)(k)).attr("style",i)}return a.attr("label-offset-y",f),a.attr("transform",`translate(${-u/2}, ${-(x/2+f)})`),m(e,a),y.attr("transform",`translate(${-(c.width/2)-(c.x-(c.left??0))}, ${-(c.height/2)+f-(c.y-(c.top??0))})`),e.intersect=function(t){let a=B.rect(e,t),r=a.x-(e.x??0);if(0!=p&&(Math.abs(r)<(e.width??0)/2||Math.abs(r)==(e.width??0)/2&&Math.abs(a.y-(e.y??0))>(e.height??0)/2-f)){let l=f*f*(1-r*r/(p*p));l>0&&(l=Math.sqrt(l)),l=f-l,t.y-(e.y??0)>0&&(l=-l),a.y+=l}return a},d}async function tj(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i=e.padding??0,n="neo"===e.look?16:i,s="neo"===e.look?12:i;if(e.width||e.height){let t=e.width;e.width=(t??0)*10/11-2*n,e.width<10&&(e.width=10),e.height=(e?.height??0)-2*s,e.height<10&&(e.height=10)}let{shapeSvg:o,bbox:h,label:d}=await w(t,e,b(e)),c=(e?.width?e?.width:h.width)+(n??0)*2,y=(e?.height?e?.height:h.height)+(s??0)*2,u="neo"===e.look?y/4:y/8,p=y+u,{cssStyles:f}=e,x=g.A.svg(o),$=(0,r.Fr)(e,{});"handDrawn"!==e.look&&($.roughness=0,$.fillStyle="solid");let M=[{x:-c/2-c/2*.1,y:-p/2},{x:-c/2-c/2*.1,y:p/2},...k(-c/2-c/2*.1,p/2,c/2+c/2*.1,p/2,u,.8),{x:c/2+c/2*.1,y:-p/2},{x:-c/2-c/2*.1,y:-p/2},{x:-c/2,y:-p/2},{x:-c/2,y:p/2*1.1},{x:-c/2,y:-p/2}],D=x.polygon(M.map(t=>[t.x,t.y]),$),A=o.insert(()=>D,":first-child");return A.attr("class","basic label-container outer-path"),f&&"handDrawn"!==e.look&&A.selectAll("path").attr("style",f),l&&"handDrawn"!==e.look&&A.selectAll("path").attr("style",l),A.attr("transform",`translate(0,${-u/2})`),d.attr("transform",`translate(${-c/2+(e.padding??0)+c/2*.1/2-(h.x-(h.left??0))},${-y/2+(e.padding??0)-u-(h.y-(h.top??0))})`),m(e,A),e.intersect=function(t){return B.polygon(e,M,t)},o}(0,d.K)(tE,"linedCylinder"),(0,d.K)(tj,"linedWaveEdgedRect");var tq={normal:"usecase-actor-shape usecase-actor-normal",hollow:"usecase-actor-hollow",awesome:"usecase-actor-awesome",icon:"usecase-actor-icon"},tZ=Math.PI/3,t_=(0,d.K)((t,e)=>{let a=.6*e,r=e*Math.sqrt(.64),l=Math.cos(tZ),i=-Math.sin(tZ),n=-(a*i),s=t+a*l,o=r*l,h=r*i;return`M ${n-o} ${s-h} L ${n+o} ${s+h}`},"businessMarkerPathForCircle"),tz={normal:t_(-24,12),hollow:t_(-23,9),awesome:t_(-21,13),icon:"M 12 -8 L 26 -26"},tO=(0,d.K)((t,e,a)=>{let r=(e.x??0)-(e.left??0),l=(e.y??0)-(e.top??0);t.attr("transform",`translate(${-e.width/2-r},${a-e.height/2-l})`)},"positionLabel"),tV=(0,d.K)((t,e,a,l,i=!1)=>{if("handDrawn"===e.look){let n=g.A.svg(t).path(a,(0,r.Fr)(e,i?{fill:"none"}:{}));return t.insert(()=>n,":first-child").attr("class",l)}let n=t.append("path").attr("class",l).attr("d",a);return i&&n.attr("fill","none"),n},"appendActorPath"),tY=(0,d.K)((t,e,a,l,i,n,s=!1)=>{if("handDrawn"===e.look){let o=g.A.svg(t).circle(a,l,2*i,(0,r.Fr)(e,s?{fill:"none"}:{}));return t.insert(()=>o,":first-child").attr("class",n)}let o=t.append("circle").attr("class",n).attr("cx",a).attr("cy",l).attr("r",i);return s&&o.attr("fill","none"),o},"appendActorCircle"),tJ=(0,d.K)((t,e,a)=>{e.business&&t.append("path").attr("class","usecase-business-marker usecase-actor-business-marker").attr("d",tz[a]).attr("fill","none").attr("style","stroke: inherit !important; stroke-width: inherit !important")},"appendBusinessActorMarker");async function tU(t,e,a,l){let i,s,{labelStyles:h,nodeStyles:d}=(0,r.GX)(e);e.labelStyle=h;let c="icon"===a||void 0!==e.stereotype?{...e,icon:"icon"===a?void 0:e.icon,stereotype:void 0}:e,{shapeSvg:g,bbox:y,label:u}=await w(t,c,b(e,`usecase-actor-variant usecase-actor-${a}`)),p=e.accessibleName??e.label;p&&g.attr("role","img").attr("aria-label",p),u.attr("class","label actor-label usecase-actor-label");let{theme:f,themeVariables:$}=(0,o.D7)();if((0,n.XE)(g,e.colorIndex,f,$.borderColorArray),e.stereotype){let t=await x(g,`\xab${e.stereotype}\xbb`,{labelStyle:h,useHtmlLabels:e.useHtmlLabels,padding:0,centerLabel:!0,width:e.wrappingWidth});i=t.label.attr("class","label usecase-stereotype"),s=t.bbox}let k=g.append("g").attr("class",`usecase-actor-glyph ${tq[a]}`).attr("style",d||null);await l(k,e),tJ(k,e,a);let M=e.padding??8,D=s?.height??0,A=80+y.height+(s?D+2:0),S=Math.max(56,y.width,s?.width??0)+2*M,v=A+2*M,K=-A/2;k.attr("transform",`translate(0,${K+36})`);let C=K+72+8;return i&&s&&(tO(i,s,C+=D/2),C+=D/2+2),tO(u,y,C+y.height/2),m(e,g.insert("rect",":first-child").attr("class","usecase-actor-outline").attr("x",-S/2).attr("y",-v/2).attr("width",S).attr("height",v).attr("opacity",0).attr("aria-hidden","true")),e.intersect=t=>B.rect(e,t),g}async function tQ(t,e){return tU(t,e,"normal",(t,e)=>{tV(t,e,"M 0 -12 C 6.627 -12 12 -17.373 12 -24 C 12 -30.627 6.627 -36 0 -36 C -6.627 -36 -12 -30.627 -12 -24 C -12 -17.373 -6.627 -12 0 -12 Z M 0 -12 V 8 M -17 -5 H 17 M 0 8 L -15 28 M 0 8 L 15 28","usecase-actor-stick")})}async function t0(t,e){return tU(t,e,"awesome",(t,e)=>{tV(t,e,"M 0 -34 C 7.18 -34 13 -28.18 13 -21 C 13 -13.82 7.18 -8 0 -8 C -7.18 -8 -13 -13.82 -13 -21 C -13 -28.18 -7.18 -34 0 -34 Z M -24 25 C -24 7 -14 -3 0 -3 C 14 -3 24 7 24 25 C 24 28 21 30 18 30 H -18 C -21 30 -24 28 -24 25 Z","usecase-actor-awesome-silhouette")})}async function t2(t,e){return tU(t,e,"hollow",(t,e)=>{tY(t,e,0,-23,9,"usecase-actor-hollow-head",!0),tV(t,e,"M -22 -10 H 22 V 0 H 6 L 22 17 L 13 28 L 0 13 L -13 28 L -22 17 L -6 0 H -22 Z","usecase-actor-hollow-body",!0)})}(0,d.K)(tU,"renderUsecaseActor"),(0,d.K)(tQ,"usecaseActor"),(0,d.K)(t0,"usecaseActorAwesome"),(0,d.K)(t2,"usecaseActorHollow");var t1=(0,d.K)(async(t,e)=>{if("handDrawn"===e.look){let a=g.A.svg(t).rectangle(-26,-28,52,52,(0,r.Fr)(e,{}));t.insert(()=>a,":first-child").attr("class","usecase-actor-icon-frame")}else t.append("rect").attr("class","usecase-actor-icon-frame").attr("x",-26).attr("y",-28).attr("width",52).attr("height",52).attr("rx",4).attr("ry",4);let a=e.icon??"",l=await (0,i.dn)(a.includes(":")?a:`fa:${a}`),n=await (0,i.WY)(a,{height:42,width:42,fallbackPrefix:"fa"}),s=t.append("g").attr("class",`usecase-actor-icon-symbol${l?"":" usecase-actor-icon-fallback"}`).attr("aria-hidden","true").html(`<g>${n}</g>`),o=s.node()?.getBBox();o&&s.attr("transform",`translate(${-o.width/2-o.x},${-2-o.height/2-o.y})`)},"drawIconActor");async function t5(t,e){return tU(t,e,"icon",t1)}(0,d.K)(t5,"usecaseActorIcon");var t8=(0,d.K)((t,e,a)=>{let r=(e.x??0)-(e.left??0),l=(e.y??0)-(e.top??0);t.attr("transform",`translate(${-e.width/2-r},${a-e.height/2-l})`)},"positionLabel");async function t3(t,e){let a,l,i,{labelStyles:s,nodeStyles:h}=(0,r.GX)(e);e.labelStyle=s;let d=e.stereotype?{...e,stereotype:void 0}:e,{shapeSvg:c,bbox:y,halfPadding:u,label:p}=await w(t,d,b(e,"usecase-business-shape"));p.attr("class","label usecase-label");let{theme:f,themeVariables:$}=(0,o.D7)();if((0,n.XE)(c,e.colorIndex,f,$.borderColorArray),e.stereotype){let t=await x(c,`\xab${e.stereotype}\xbb`,{labelStyle:s,useHtmlLabels:e.useHtmlLabels,padding:0,centerLabel:!0,width:e.wrappingWidth});a=t.label.attr("class","label usecase-stereotype"),l=t.bbox}let k=2*!!l,M=y.height+(l?.height??0)+k,D=Math.max(y.width,l?.width??0),A=u??10,S=D/2+2*A,v=M/2+2*A,K=Math.min(Math.max(A/5,1),A/2),C=D/2+K,L=S-K,N=C/S,F=L/S,R=v*Math.sqrt(Math.max(0,1-N*N)),P=-v*Math.sqrt(Math.max(0,1-F*F));if(a&&l&&t8(a,l,-M/2+l.height/2),t8(p,y,M/2-y.height/2),"handDrawn"===e.look){let t=g.A.svg(c).ellipse(0,0,2*S,2*v,(0,r.Fr)(e,{}));i=c.insert(()=>t,":first-child").attr("class","basic label-container usecase-business-ellipse")}else i=c.insert("ellipse",":first-child").attr("class","basic label-container usecase-business-ellipse").attr("style",h).attr("rx",S).attr("ry",v).attr("cx",0).attr("cy",0);c.append("path").attr("class","usecase-business-marker").attr("d",`M ${C} ${R} L ${L} ${P}`).attr("fill","none").attr("style",h||null);let X=e.accessibleName??e.label;return X&&c.attr("role","img").attr("aria-label",X),m(e,i),e.calcIntersect=(t,e)=>B.ellipse(t,t.width/2,t.height/2,e),e.intersect=t=>B.ellipse(e,S,v,t),c}(0,d.K)(t3,"usecaseBusiness");var t4=(0,d.K)((t,e,a,r)=>{let l=(e.x??0)-(e.left??0),i=(e.y??0)-(e.top??0);t.attr("transform",`translate(${a-e.width/2-l},${r-e.height/2-i})`)},"positionLabel"),t7=(0,d.K)(t=>{let e=Number.parseFloat(t??"");return Number.isFinite(e)&&e>=0?e:1},"numericStrokeWidth");async function t6(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e),{stylesMap:i}=(0,r.WW)(e);e.labelStyle=a;let{shapeSvg:n,bbox:s,label:o}=await w(t,e,b(e,"usecase-json-table"));n.attr("role","img"),e.accessibleName&&n.attr("aria-label",e.accessibleName),o.attr("class","label usecase-json-title");let h=n.append("g").attr("class","usecase-json-table-grid"),c=[];for(let t of e.jsonRows??[]){let r=await x(h,t.key,{labelStyle:a,useHtmlLabels:e.useHtmlLabels,padding:0,centerLabel:!0}),l=await x(h,t.value,{labelStyle:a,useHtmlLabels:e.useHtmlLabels,padding:0,centerLabel:!0});c.push({key:{label:r.label.attr("class","label usecase-json-key"),bbox:r.bbox},value:{label:l.label.attr("class","label usecase-json-value"),bbox:l.bbox}})}let y=Math.max(0,...c.map(({key:t})=>t.bbox.width))+16,u=Math.max(0,...c.map(({value:t})=>t.bbox.width))+16,p=Math.max(s.width+16,y+u),f=u+Math.max(0,p-y-u),$=s.height+8,k=c.map(({key:t,value:e})=>Math.max(t.bbox.height,e.bbox.height)+8),M=$+k.reduce((t,e)=>t+e,0),D=t7(i.get("stroke-width")),A=p+2*D,S=M+2*D,v=-p/2,K=-M/2,C="handDrawn"===e.look?g.A.svg(n):void 0,L=C?(0,r.Fr)(e,{}):void 0,N=(0,d.K)((t,e,a,r,i,n)=>{if(C&&L){let l=C.rectangle(a,r,i,n,L);return t.insert(()=>l,":first-child").attr("class",e)}return t.insert("rect",":first-child").attr("class",e).attr("x",a).attr("y",r).attr("width",i).attr("height",n).attr("style",l)},"insertCell"),F=N(n,"label-container usecase-json-border",-A/2,-S/2,A,S);N(h,"usecase-json-cell usecase-json-title-cell",v,K,p,$),h.node()?.append(o.node()),t4(o,s,0,K+$/2);let R=K+$;return c.forEach(({key:t,value:e},a)=>{let r=k[a],l=h.append("g").attr("class","usecase-json-row").attr("data-row-index",a).attr("transform",`translate(0,${R})`);N(l,"usecase-json-cell usecase-json-key-cell",v,0,y,r),N(l,"usecase-json-cell usecase-json-value-cell",v+y,0,f,r),l.node()?.append(t.label.node(),e.label.node()),t4(t.label,t.bbox,v+y/2,r/2),t4(e.label,e.bbox,v+y+f/2,r/2),R+=r}),m(e,F),e.intersect=t=>B.rect(e,t),n}async function t9(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i=e.padding??0,n="neo"===e.look?16:i,s="neo"===e.look?12:i,o="neo"===e.look?10:5;(e.width||e.height)&&(e.width=Math.max((e?.width??0)-2*n-2*o,10),e.height=Math.max((e?.height??0)-2*s-2*o,10));let{shapeSvg:h,bbox:d,label:c}=await w(t,e,b(e)),y=(e?.width?e?.width:d.width)+2*n+2*o,u=(e?.height?e?.height:d.height)+2*s+2*o,p=y-2*o,f=u-2*o,x=-p/2,k=-f/2,{cssStyles:M}=e,A=g.A.svg(h),S=(0,r.Fr)(e,{}),v=[{x:x-o,y:k+o},{x:x-o,y:k+f+o},{x:x+p-o,y:k+f+o},{x:x+p-o,y:k+f},{x:x+p,y:k+f},{x:x+p,y:k+f-o},{x:x+p+o,y:k+f-o},{x:x+p+o,y:k-o},{x:x+o,y:k-o},{x:x+o,y:k},{x,y:k},{x,y:k+o}];"handDrawn"!==e.look&&(S.roughness=0,S.fillStyle="solid");let K=$(v),C=A.path(K,S),L=$([{x,y:k+o},{x:x+p-o,y:k+o},{x:x+p-o,y:k+f},{x:x+p,y:k+f},{x:x+p,y:k},{x,y:k}]),N=A.path(L,S);"handDrawn"!==e.look&&(C=D(C),N=D(N));let F=h.insert("g",":first-child");return F.insert(()=>C),F.insert(()=>N),F.attr("class","basic label-container outer-path"),M&&"handDrawn"!==e.look&&F.selectAll("path").attr("style",M),l&&"handDrawn"!==e.look&&F.selectAll("path").attr("style",l),c.attr("transform",`translate(${-(d.width/2)-o-(d.x-(d.left??0))}, ${-(d.height/2)+o-(d.y-(d.top??0))})`),m(e,F),e.intersect=function(t){return B.polygon(e,v,t)},h}async function et(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let{shapeSvg:i,bbox:n,label:s}=await w(t,e,b(e)),o=e.padding??0,h="neo"===e.look?16:o,d="neo"===e.look?12:o,c=!0;(e.width||e.height)&&(c=!1,e.width=(e?.width??0)-2*h,e.height=(e?.height??0)-3*d);let y=Math.max(n.width,e?.width??0)+2*h,u=Math.max(n.height,e?.height??0)+3*d,p="neo"===e.look?u/4:u/8,f=u+(c?p/2:-p/2),x=-y/2,M=-f/2,{cssStyles:D}=e,A=k(x-10,M+f+10,x+y-10,M+f+10,p,.8),S=A?.[A.length-1],v=[{x:x-10,y:M+10},{x:x-10,y:M+f+10},...A,{x:x+y-10,y:S.y-10},{x:x+y,y:S.y-10},{x:x+y,y:S.y-20},{x:x+y+10,y:S.y-20},{x:x+y+10,y:M-10},{x:x+10,y:M-10},{x:x+10,y:M},{x,y:M},{x,y:M+10}],K=[{x,y:M+10},{x:x+y-10,y:M+10},{x:x+y-10,y:S.y-10},{x:x+y,y:S.y-10},{x:x+y,y:M},{x,y:M}],C=g.A.svg(i),L=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(L.roughness=0,L.fillStyle="solid");let N=$(v),F=C.path(N,L),R=$(K),P=C.path(R,L),X=i.insert(()=>F,":first-child");return X.insert(()=>P),X.attr("class","basic label-container outer-path"),D&&"handDrawn"!==e.look&&X.selectAll("path").attr("style",D),l&&"handDrawn"!==e.look&&X.selectAll("path").attr("style",l),X.attr("transform",`translate(0,${-p/2})`),s.attr("transform",`translate(${-(n.width/2)-10-(n.x-(n.left??0))}, ${-(n.height/2)+10-p-(n.y-(n.top??0))})`),m(e,X),e.intersect=function(t){return B.polygon(e,v,t)},i}async function ee(t,e,{config:{themeVariables:a}}){let{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l,e.useHtmlLabels||(0,o.E)((0,o.zj)())||(e.centerLabel=!0);let{shapeSvg:n,bbox:s,label:h}=await w(t,e,b(e)),d=Math.max(s.width+(e.padding??0)*2,e?.width??0),c=Math.max(s.height+(e.padding??0)*2,e?.height??0),{cssStyles:y}=e,u=g.A.svg(n),p=(0,r.Fr)(e,{fill:a.noteBkgColor,stroke:a.noteBorderColor});"handDrawn"!==e.look&&(p.roughness=0,p.fillStyle="solid");let f=u.rectangle(-d/2,-c/2,d,c,p),x=n.insert(()=>f,":first-child");return x.attr("class","basic label-container outer-path"),h.attr("class","label noteLabel"),y&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",y),i&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",i),h.attr("transform",`translate(${-s.width/2-(s.x-(s.left??0))}, ${-(s.height/2)-(s.y-(s.top??0))})`),m(e,x),e.intersect=function(t){return B.rect(e,t)},n}(0,d.K)(t6,"usecaseJsonTable"),(0,d.K)(t9,"multiRect"),(0,d.K)(et,"multiWaveEdgedRectangle"),(0,d.K)(ee,"note");var ea=(0,d.K)((t,e,a)=>`M${t+a/2},${e} L${t+a},${e-a/2} L${t+a/2},${e-a} L${t},${e-a/2} Z`,"createDecisionBoxPathD");async function er(t,e){let a,{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let{shapeSvg:n,bbox:s}=await w(t,e,b(e)),o=s.width+(e.padding??0)+(s.height+(e.padding??0)),h=[{x:o/2,y:0},{x:o,y:-o/2},{x:o/2,y:-o},{x:0,y:-o/2}],{cssStyles:d}=e;if("handDrawn"===e.look){let t=g.A.svg(n),l=(0,r.Fr)(e,{}),i=ea(0,0,o),s=t.path(i,l);a=n.insert(()=>s,":first-child").attr("transform",`translate(${-o/2+.5}, ${o/2})`),d&&a.attr("style",d)}else(a=E(n,o,o,h)).attr("transform",`translate(${-o/2+.5}, ${o/2})`);return i&&a.attr("style",i),m(e,a),e.calcIntersect=function(t,e){let a=t.width;return B.polygon(t,[{x:a/2,y:0},{x:a,y:-a/2},{x:a/2,y:-a},{x:0,y:-a/2}],e)},e.intersect=function(t){return this.calcIntersect(e,t)},n}async function el(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i=e.padding??0,n="neo"===e.look?21:i??0,s="neo"===e.look?12:i??0,{shapeSvg:o,bbox:h,label:d}=await w(t,e,b(e)),c=h.width+("neo"===e.look?2*n:n),y=Math.max(h.height+("neo"===e.look?2*s:s),e.height??0),u=-Math.max(c,(e.width??0)-y/4)/2,p=-y/2,f=p/2,x=[{x:u+f,y:p},{x:u,y:0},{x:u+f,y:-p},{x:-u,y:-p},{x:-u,y:p}],{cssStyles:k}=e,M=g.A.svg(o),D=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(D.roughness=0,D.fillStyle="solid");let A=$(x),S=M.path(A,D),v=o.insert(()=>S,":first-child");return v.attr("class","basic label-container outer-path"),k&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",k),l&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",l),v.attr("transform",`translate(${-f/2},0)`),d.attr("transform",`translate(${-f/2-h.width/2-(h.x-(h.left??0))}, ${-(h.height/2)-(h.y-(h.top??0))})`),m(e,v),e.intersect=function(t){return B.polygon(e,x,t)},o}async function ei(t,e){let a,l,i,{labelStyles:n,nodeStyles:s}=(0,r.GX)(e);e.labelStyle=n,a=e.cssClasses?"node "+e.cssClasses:"node default";let d=t.insert("g").attr("class",a).attr("id",e.domId||e.id),y=d.insert("g"),u=d.insert("g").attr("class","label").attr("style",s),p=e.description,f=e.label,w=await R(u,f,e.labelStyle,!0,!0),x={width:0,height:0};if((0,o.E)((0,o.D7)())){let t=w.children[0],e=(0,c.Ltv)(w);x=t.getBoundingClientRect(),e.attr("width",x.width),e.attr("height",x.height)}h.R.info("Text 2",p);let b=p||[],$=w.getBBox(),k=await R(u,Array.isArray(b)?b.join("<br/>"):b,e.labelStyle,!0,!0),M=k.children[0],D=(0,c.Ltv)(k);x=M.getBoundingClientRect(),D.attr("width",x.width),D.attr("height",x.height);let A=(e.padding||0)/2;(0,c.Ltv)(k).attr("transform","translate( "+(x.width>$.width?0:($.width-x.width)/2)+", "+($.height+A+5)+")"),(0,c.Ltv)(w).attr("transform","translate( "+(x.width<$.width?0:-($.width-x.width)/2)+", 0)"),x=u.node().getBBox(),u.attr("transform","translate("+-x.width/2+", "+(-x.height/2-A+3)+")");let S=x.width+(e.padding||0),v=x.height+(e.padding||0),K=-x.width/2-A,C=-x.height/2-A;if("handDrawn"===e.look){let t=g.A.svg(d),a=(0,r.Fr)(e,{}),n=t.path(F(K,C,S,v,e.rx||0),a),s=t.line(-x.width/2-A,-x.height/2-A+$.height+A,x.width/2+A,-x.height/2-A+$.height+A,a);i=d.insert(()=>(h.R.debug("Rough node insert CXC",n),s),":first-child"),l=d.insert(()=>(h.R.debug("Rough node insert CXC",n),n),":first-child")}else l=y.insert("rect",":first-child"),i=y.insert("line"),l.attr("class","outer title-state").attr("style",s).attr("x",-x.width/2-A).attr("y",-x.height/2-A).attr("width",x.width+(e.padding||0)).attr("height",x.height+(e.padding||0)),i.attr("class","divider").attr("x1",-x.width/2-A).attr("x2",x.width/2+A).attr("y1",-x.height/2-A+$.height+A).attr("y2",-x.height/2-A+$.height+A);return m(e,l),e.intersect=function(t){return B.rect(e,t)},d}async function en(t,e,{config:{themeVariables:a}}){let r=a?.radius??5,l={rx:r,ry:r,classes:"",labelPaddingX:(e?.padding??0)*1,labelPaddingY:(e?.padding??0)*1};return tf(t,e,l)}async function es(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i="neo"===e.look?16:e.padding??0,n="neo"===e.look?12:e.padding??0,{shapeSvg:o,bbox:h,label:d}=await w(t,e,b(e)),c=(e?.width??h.width)+2*i+("neo"===e.look?8:16),y=(e?.height??h.height)+2*n,u=c-8,p=8-c/2,f=-y/2,{cssStyles:x}=e,$=g.A.svg(o),k=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let M=$.polygon([{x:p,y:f},{x:p+u,y:f},{x:p+u,y:f+y},{x:p-8,y:f+y},{x:p-8,y:f},{x:p,y:f},{x:p,y:f+y}].map(t=>[t.x,t.y]),k),D=o.insert(()=>M,":first-child");return D.attr("class","basic label-container outer-path").attr("style",(0,s.KL)(x)),l&&"handDrawn"!==e.look&&D.selectAll("path").attr("style",l),x&&"handDrawn"!==e.look&&D.selectAll("path").attr("style",l),d.attr("transform",`translate(${4-h.width/2-(h.x-(h.left??0))}, ${-(h.height/2)-(h.y-(h.top??0))})`),m(e,D),e.intersect=function(t){return B.rect(e,t)},o}async function eo(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i=e.padding??0,n="neo"===e.look?16:i,s="neo"===e.look?12:i;(e.width||e.height)&&(e.width=Math.max((e?.width??0)-2*n,10),e.height=Math.max((e?.height??0)/1.5-2*s,10));let{shapeSvg:o,bbox:h,label:d}=await w(t,e,b(e)),c=(e?.width?e?.width:h.width)+2*n,y=((e?.height?e?.height:h.height)+2*s)*1.5/1.5,u=-c/2,p=-y/2,{cssStyles:f}=e,x=g.A.svg(o),k=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let M=[{x:u,y:p},{x:u,y:p+y},{x:u+c,y:p+y},{x:u+c,y:p-y/2}],D=$(M),A=x.path(D,k),S=o.insert(()=>A,":first-child");return S.attr("class","basic label-container outer-path"),f&&"handDrawn"!==e.look&&S.selectChildren("path").attr("style",f),l&&"handDrawn"!==e.look&&S.selectChildren("path").attr("style",l),S.attr("transform",`translate(0, ${y/4})`),d.attr("transform",`translate(${-c/2+(e.padding??0)-(h.x-(h.left??0))}, ${-y/4+(e.padding??0)-(h.y-(h.top??0))})`),m(e,S),e.intersect=function(t){return B.polygon(e,M,t)},o}async function eh(t,e){let a=e.padding??0,r="neo"===e.look?16:2*a,l="neo"===e.look?12:a,i={rx:0,ry:0,classes:"",labelPaddingX:e.labelPaddingX??r,labelPaddingY:l},s=await tf(t,e,i);if(void 0!==e.colorIndex){let{theme:t,themeVariables:a}=(0,o.D7)();(0,n.XE)(s,e.colorIndex,t,a.borderColorArray)}return s}(0,d.K)(er,"question"),(0,d.K)(el,"rect_left_inv_arrow"),(0,d.K)(ei,"rectWithTitle"),(0,d.K)(en,"roundedRect"),(0,d.K)(es,"shadedProcess"),(0,d.K)(eo,"slopedRect"),(0,d.K)(eh,"squareRect");var ed=(0,d.K)((t,e,a)=>{let r=t.height+a,l=r*Math.cos(Math.PI/98),i=Math.sqrt(Math.max(0,l**2-t.height**2));return{w:Math.max(t.width+r/4+e,1.5*r+(r-l),t.width+e+r-i),h:r}},"stadiumDimensions");async function ec(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i=e.padding??0,n="neo"===e.look?40:i,s="neo"===e.look?24:i,{shapeSvg:o,bbox:h}=await w(t,e,b(e)),{w:d,h:c}=ed(h,n,s),y=c/2,{cssStyles:u}=e,p=g.A.svg(o),f=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(f.roughness=0,f.fillStyle="solid");let x=[{x:-d/2+y,y:-c/2},{x:d/2-y,y:-c/2},...M(-d/2+y,0,y,50,90,270),{x:d/2-y,y:c/2},...M(d/2-y,0,y,50,270,450)],k=$(x),D=p.path(k,f),A=o.insert(()=>D,":first-child");return A.attr("class","basic label-container outer-path"),u&&"handDrawn"!==e.look&&A.selectChildren("path").attr("style",u),l&&"handDrawn"!==e.look&&A.selectChildren("path").attr("style",l),m(e,A),e.intersect=function(t){return B.polygon(e,x,t)},o}async function eg(t,e){let a={rx:"neo"===e.look?3:5,ry:"neo"===e.look?3:5,classes:"flowchart-node"};return tf(t,e,a)}function ey(t,e,{config:{themeVariables:a}}){let{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let{cssStyles:n}=e,{lineColor:s,stateBorder:o,nodeBorder:h,nodeShadow:d}=a;(e.width||e.height)&&((e.width??0)<14&&(e.width=14),(e.height??0)<14&&(e.height=14)),e.width||(e.width=14),e.height||(e.height=14);let c=t.insert("g").attr("class","node default").attr("id",e.domId??e.id),y=g.A.svg(c),u=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(u.roughness=0,u.fillStyle="solid");let p=y.circle(0,0,e.width,{...u,stroke:s,strokeWidth:2}),f=o??h,w=(e.width??0)*5/14,x=y.circle(0,0,w,{...u,fill:f,stroke:f,strokeWidth:2,fillStyle:"solid"}),b=c.insert(()=>p,":first-child");if(b.insert(()=>x),"handDrawn"!==e.look&&b.attr("class","outer-path"),n&&b.selectAll("path").attr("style",n),i&&b.selectAll("path").attr("style",i),e.width<25&&d&&"handDrawn"!==e.look){let e=t.node()?.ownerSVGElement?.id??"",a=e?`${e}-drop-shadow-small`:"drop-shadow-small";b.attr("style",`filter:url(#${a})`)}return m(e,b),e.intersect=function(t){return B.circle(e,(e.width??0)/2,t)},c}function eu(t,e,{config:{themeVariables:a}}){let l,{lineColor:i,nodeShadow:n}=a;(e.width||e.height)&&((e.width??0)<14&&(e.width=14),(e.height??0)<14&&(e.height=14)),e.width||(e.width=14),e.height||(e.height=14);let s=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);if("handDrawn"===e.look){let t=g.A.svg(s).circle(0,0,e.width,(0,r.ue)(i));(l=s.insert(()=>t)).attr("class","state-start").attr("r",(e.width??7)/2).attr("width",e.width??14).attr("height",e.height??14)}else(l=s.insert("circle",":first-child")).attr("class","state-start").attr("r",(e.width??7)/2).attr("width",e.width??14).attr("height",e.height??14);if(e.width<25&&n&&"handDrawn"!==e.look){let e=t.node()?.ownerSVGElement?.id??"",a=e?`${e}-drop-shadow-small`:"drop-shadow-small";l.attr("style",`filter:url(#${a})`)}return m(e,l),e.intersect=function(t){return B.circle(e,(e.width??7)/2,t)},s}async function ep(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i=e?.padding??8,n="neo"===e.look?28:i,o="neo"===e.look?12:i,{shapeSvg:h,bbox:d}=await w(t,e,b(e)),c=Math.max(d.width+16+n,e.width??0),y=Math.max(d.height+o,e.height??0),u=c-16,p=-c/2,f=-y/2,x=[{x:0,y:0},{x:u,y:0},{x:u,y:-y},{x:0,y:-y},{x:0,y:0},{x:-8,y:0},{x:u+8,y:0},{x:u+8,y:-y},{x:-8,y:-y},{x:-8,y:0}];if("handDrawn"===e.look){let t=g.A.svg(h),a=(0,r.Fr)(e,{}),l=t.rectangle(p,f,u+16,y,a),i=t.line(p+8,f,p+8,f+y,a),n=t.line(p+8+u,f,p+8+u,f+y,a);h.insert(()=>i,":first-child"),h.insert(()=>n,":first-child");let o=h.insert(()=>l,":first-child"),{cssStyles:d}=e;o.attr("class","basic label-container").attr("style",(0,s.KL)(d)),m(e,o)}else{let t=E(h,u,y,x);l&&t.attr("style",l),m(e,t)}return e.intersect=function(t){return B.polygon(e,x,t)},h}async function ef(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i=e.padding??0,n="neo"===e.look?16:i,s="neo"===e.look?12:i;(e.width||e.height)&&(e.height=Math.max((e?.height??0)-2*s,10),e.width=Math.max((e?.width??0)-2*n-.2*(e.height+2*s),10));let{shapeSvg:o,bbox:h}=await w(t,e,b(e)),d=(e?.height?e?.height:h.height)+2*s,c=.2*d,y=(e?.width?e?.width:h.width)+2*n+c-c,u=-y/2,p=-d/2,{cssStyles:f}=e,x=g.A.svg(o),k=(0,r.Fr)(e,{}),M=[{x:u-c/2,y:p},{x:u+y+c/2,y:p},{x:u+y+c/2,y:p+d},{x:u-c/2,y:p+d}];"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let D=$(M),A=x.path(D,k),S=$([{x:u+y-c/2,y:p+d},{x:u+y+c/2,y:p+d},{x:u+y+c/2,y:p+d-.2*d}]),v=x.path(S,{...k,fillStyle:"solid"}),K=o.insert(()=>v,":first-child");return K.insert(()=>A,":first-child"),K.attr("class","basic label-container outer-path"),f&&"handDrawn"!==e.look&&K.selectAll("path").attr("style",f),l&&"handDrawn"!==e.look&&K.selectAll("path").attr("style",l),m(e,K),e.intersect=function(t){return B.polygon(e,M,t)},o}async function ew(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let{shapeSvg:i,bbox:n,label:s}=await w(t,e,b(e)),o=Math.max(n.width+(e.padding??0)*2,e?.width??0),h=Math.max(n.height+(e.padding??0)*2,e?.height??0),d=h/8,c=.2*o,y=.2*h,u=h+d,{cssStyles:p}=e,f=g.A.svg(i),x=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let M=[{x:-o/2-o/2*.1,y:u/2},...k(-o/2-o/2*.1,u/2,o/2+o/2*.1,u/2,d,.8),{x:o/2+o/2*.1,y:-u/2},{x:-o/2-o/2*.1,y:-u/2}],D=-o/2+o/2*.1,A=-u/2-.4*y,S=[{x:D+o-c,y:(A+h)*1.3},{x:D+o,y:A+h-y},{x:D+o,y:(A+h)*.9},...k(D+o,(A+h)*1.25,D+o-c,(A+h)*1.3,-(.02*h),.5)],v=$(M),K=f.path(v,x),C=$(S),L=f.path(C,{...x,fillStyle:"solid"}),N=i.insert(()=>L,":first-child");return N.insert(()=>K,":first-child"),N.attr("class","basic label-container outer-path"),p&&"handDrawn"!==e.look&&N.selectAll("path").attr("style",p),l&&"handDrawn"!==e.look&&N.selectAll("path").attr("style",l),N.attr("transform",`translate(0,${-d/2})`),s.attr("transform",`translate(${-o/2+(e.padding??0)-(n.x-(n.left??0))},${-h/2+(e.padding??0)-d/2-(n.y-(n.top??0))})`),m(e,N),e.intersect=function(t){return B.polygon(e,M,t)},i}async function ex(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let{shapeSvg:i,bbox:n}=await w(t,e,b(e)),s=Math.max(n.width+(e.padding??0),e?.width||0),o=Math.max(n.height+(e.padding??0),e?.height||0),h=i.insert("rect",":first-child");return h.attr("class","text").attr("style",l).attr("rx",0).attr("ry",0).attr("x",-s/2).attr("y",-o/2).attr("width",s).attr("height",o),m(e,h),e.intersect=function(t){return B.rect(e,t)},i}(0,d.K)(ec,"stadium"),(0,d.K)(eg,"state"),(0,d.K)(ey,"stateEnd"),(0,d.K)(eu,"stateStart"),(0,d.K)(ep,"subroutine"),(0,d.K)(ef,"taggedRect"),(0,d.K)(ew,"taggedWaveEdgedRectangle"),(0,d.K)(ex,"text");var em=(0,d.K)((t,e,a,r,l,i)=>`M${t},${e}
3
- a${l},${i} 0,0,1 0,${-r}
4
- l${a},0
5
- a${l},${i} 0,0,1 0,${r}
6
- M${a},${-r}
7
- a${l},${i} 0,0,0 0,${r}
8
- l${-a},0`,"createCylinderPathD"),eb=(0,d.K)((t,e,a,r,l,i)=>`M${t},${e} M${t+a},${e} a${l},${i} 0,0,0 0,${-r} l${-a},0 a${l},${i} 0,0,0 0,${r} l${a},0`,"createOuterCylinderPathD"),e$=(0,d.K)((t,e,a,r,l,i)=>`M${t+a/2},${-r/2} a${l},${i} 0,0,0 0,${r}`,"createInnerCylinderPathD");async function ek(t,e){let a,{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let n=e.padding??0,o="neo"===e.look?12:n/2,h=e.height??0;e.height&&(e.height=e.height-o,e.height<5&&(e.height=5)),e.width&&(e.width=e.width-o-h/2/(2.5+h/50)*3,e.width<10&&(e.width=10));let{shapeSvg:d,bbox:c,label:y}=await w(t,e,b(e)),u=Math.max(e.height??0,c.height)+o,p=u/2,f=p/(2.5+u/50),x=Math.max(e.width??0,c.width)+f+o,{cssStyles:$}=e;if("handDrawn"===e.look){let t=g.A.svg(d),l=eb(0,0,x,u,f,p),i=e$(0,0,x,u,f,p),n=t.path(l,(0,r.Fr)(e,{})),s=t.path(i,(0,r.Fr)(e,{fill:"none"}));a=d.insert(()=>s,":first-child"),(a=d.insert(()=>n,":first-child")).attr("class","basic label-container"),$&&a.attr("style",$)}else{let t=em(0,0,x,u,f,p);(a=d.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,s.KL)($)).attr("style",i)).attr("class","basic label-container outer-path"),$&&a.selectAll("path").attr("style",$),i&&a.selectAll("path").attr("style",i)}return a.attr("label-offset-x",f),a.attr("transform",`translate(${-x/2}, ${u/2} )`),y.attr("transform",`translate(${-(c.width/2)-f-(c.x-(c.left??0))}, ${-(c.height/2)-(c.y-(c.top??0))})`),m(e,a),e.intersect=function(t){let a=B.rect(e,t),r=a.y-(e.y??0);if(0!=p&&(Math.abs(r)<(e.height??0)/2||Math.abs(r)==(e.height??0)/2&&Math.abs(a.x-(e.x??0))>(e.width??0)/2-f)){let l=f*f*(1-r*r/(p*p));0!=l&&(l=Math.sqrt(Math.abs(l))),l=f-l,t.x-(e.x??0)>0&&(l=-l),a.x+=l}return a},d}async function eM(t,e){let a,{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let n=e.padding??0,s=(e.look,n),o="neo"===e.look?2*n:n,{shapeSvg:h,bbox:d}=await w(t,e,b(e)),c=Math.max(d.height+s,e.height??0),y=Math.max(d.width+o,(e.width??0)-c),u=[{x:-3*c/6,y:0},{x:y+3*c/6,y:0},{x:y,y:-c},{x:0,y:-c}],{cssStyles:p}=e;if("handDrawn"===e.look){let t=g.A.svg(h),l=(0,r.Fr)(e,{}),i=$(u),n=t.path(i,l);a=h.insert(()=>n,":first-child").attr("transform",`translate(${-y/2}, ${c/2})`),p&&a.attr("style",p)}else a=E(h,y,c,u);return i&&a.attr("style",i),e.width=y,e.height=c,m(e,a),e.intersect=function(t){return B.polygon(e,u,t)},h}async function eD(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i=e.padding??0,n="neo"===e.look?16:i,s="neo"===e.look?12:i;(e.width||e.height)&&(e.height=(e.height??0)-2*s,e.height<5&&(e.height=5),e.width=(e.width??0)-2*n,e.width<15&&(e.width=15));let{shapeSvg:o,bbox:h}=await w(t,e,b(e)),d=(e?.width?e?.width:h.width)+2*n,c=(e?.height?e?.height:h.height)+2*s,{cssStyles:y}=e,u=g.A.svg(o),p=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(p.roughness=0,p.fillStyle="solid");let f=[{x:-d/2*.8,y:-c/2},{x:d/2*.8,y:-c/2},{x:d/2,y:-c/2*.6},{x:d/2,y:c/2},{x:-d/2,y:c/2},{x:-d/2,y:-c/2*.6}],x=$(f),k=u.path(x,p),M=o.insert(()=>k,":first-child");return M.attr("class","basic label-container outer-path"),y&&"handDrawn"!==e.look&&M.selectChildren("path").attr("style",y),l&&"handDrawn"!==e.look&&M.selectChildren("path").attr("style",l),m(e,M),e.intersect=function(t){return B.polygon(e,f,t)},o}async function eA(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i=e.padding??0,n="neo"===e.look?2*i:i;(e.width||e.height)&&(e.width=((e?.width??0)-n)/2,e.width<10&&(e.width=10),e.height=e?.height??0,e.height<10&&(e.height=10));let{shapeSvg:s,bbox:d,label:c}=await w(t,e,b(e)),y=(0,o._3)((0,o.D7)().flowchart?.htmlLabels),u=(e?.width?e?.width:d.width)+n,p=e?.height?e?.height:u+d.height,f=[{x:0,y:0},{x:p,y:0},{x:p/2,y:-p}],{cssStyles:x}=e,k=g.A.svg(s),M=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(M.roughness=0,M.fillStyle="solid");let D=$(f),A=k.path(D,M),S=s.insert(()=>A,":first-child").attr("transform",`translate(${-p/2}, ${p/2})`).attr("class","outer-path");return x&&"handDrawn"!==e.look&&S.selectChildren("path").attr("style",x),l&&"handDrawn"!==e.look&&S.selectChildren("path").attr("style",l),e.width=u,e.height=p,m(e,S),c.attr("transform",`translate(${-d.width/2-(d.x-(d.left??0))}, ${p/2-(d.height+(e.padding??0)/(y?2:1)-(d.y-(d.top??0)))})`),e.intersect=function(t){return h.R.info("Triangle intersect",e,f,t),B.polygon(e,f,t)},s}async function eS(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i=e.padding??0,n="neo"===e.look?16:i,s="neo"===e.look?12:i,o=!0;(e.width||e.height)&&(o=!1,e.width=(e?.width??0)-2*n,e.width<10&&(e.width=10),e.height=(e?.height??0)-2*s,e.height<10&&(e.height=10));let{shapeSvg:h,bbox:d,label:c}=await w(t,e,b(e)),y=(e?.width?e?.width:d.width)+(n??0)*2,u=(e?.height?e?.height:d.height)+(s??0)*2,p="neo"===e.look?u/4:u/8,f=u+(o?p:-p),{cssStyles:x}=e,M=14-y,D=M>0?M/2:0,A=g.A.svg(h),S=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(S.roughness=0,S.fillStyle="solid");let v=[{x:-y/2-D,y:f/2},...k(-y/2-D,f/2,y/2+D,f/2,p,.8),{x:y/2+D,y:-f/2},{x:-y/2-D,y:-f/2}],K=$(v),C=A.path(K,S),L=h.insert(()=>C,":first-child");return L.attr("class","basic label-container outer-path"),x&&"handDrawn"!==e.look&&L.selectAll("path").attr("style",x),l&&"handDrawn"!==e.look&&L.selectAll("path").attr("style",l),L.attr("transform",`translate(0,${-p/2})`),c.attr("transform",`translate(${-y/2+(e.padding??0)-(d.x-(d.left??0))},${-u/2+(e.padding??0)-p-(d.y-(d.top??0))})`),m(e,L),e.intersect=function(t){return B.polygon(e,v,t)},h}async function ev(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i=e.padding??0,n="neo"===e.look?16:i,s="neo"===e.look?20:i;if(e.width||e.height){e.width=e?.width??0,e.width<20&&(e.width=20),e.height=e?.height??0,e.height<10&&(e.height=10);let t=Math.min(.2*e.height,e.height/4);e.height=Math.ceil(e.height-s-20/9*t),e.width=e.width-2*n}let{shapeSvg:o,bbox:h}=await w(t,e,b(e)),d=(e?.width?e?.width:h.width)+2*n,c=(e?.height?e?.height:h.height)+s,y=c/8,u=c+2*y,{cssStyles:p}=e,f=g.A.svg(o),x=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let M=[{x:-d/2,y:u/2},...k(-d/2,u/2,d/2,u/2,y,1),{x:d/2,y:-u/2},...k(d/2,-u/2,-d/2,-u/2,y,-1)],D=$(M),A=f.path(D,x),S=o.insert(()=>A,":first-child");return S.attr("class","basic label-container"),p&&"handDrawn"!==e.look&&S.selectAll("path").attr("style",p),l&&"handDrawn"!==e.look&&S.selectAll("path").attr("style",l),m(e,S),e.intersect=function(t){return B.polygon(e,M,t)},o}async function eK(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let i="neo"===e.look?16:e.padding??0,n="neo"===e.look?12:e.padding??0;(e.width||e.height)&&(e.width=Math.max((e?.width??0)-2*i-10,10),e.height=Math.max((e?.height??0)-2*n-10,10));let{shapeSvg:s,bbox:o,label:h}=await w(t,e,b(e)),d=(e?.width?e?.width:o.width)+2*i+10,c=(e?.height?e?.height:o.height)+2*n+10,y=d-10,u=c-10,p=-y/2,f=-u/2,{cssStyles:x}=e,$=g.A.svg(s),k=(0,r.Fr)(e,{}),M=[{x:p-10,y:f-10},{x:p-10,y:f+u},{x:p+y,y:f+u},{x:p+y,y:f-10}],D=`M${p-10},${f-10} L${p+y},${f-10} L${p+y},${f+u} L${p-10},${f+u} L${p-10},${f-10}
9
- M${p-10},${f} L${p+y},${f}
10
- M${p},${f-10} L${p},${f+u}`;"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let A=$.path(D,k),S=s.insert(()=>A,":first-child");return S.attr("transform","translate(5, 5)"),S.attr("class","basic label-container outer-path"),x&&"handDrawn"!==e.look&&S.selectAll("path").attr("style",x),l&&"handDrawn"!==e.look&&S.selectAll("path").attr("style",l),h.attr("transform",`translate(${-(o.width/2)+5-(o.x-(o.left??0))}, ${-(o.height/2)+5-(o.y-(o.top??0))})`),m(e,S),e.intersect=function(t){return B.polygon(e,M,t)},s}(0,d.K)(ek,"tiltedCylinder"),(0,d.K)(eM,"trapezoid"),(0,d.K)(eD,"trapezoidalPentagon"),(0,d.K)(eA,"triangle"),(0,d.K)(eS,"waveEdgedRectangle"),(0,d.K)(ev,"waveRectangle"),(0,d.K)(eK,"windowPane");var eC=new Set(["redux-color","redux-dark-color"]),eL=new Set(["redux","redux-dark","redux-color","redux-dark-color"]);async function eN(t,e){e.alias&&(e.label=e.alias);let{theme:a,themeVariables:l}=(0,o.zj)(),{rowEven:i,rowOdd:n,nodeBorder:h,borderColorArray:d}=l;if("handDrawn"===e.look){let{themeVariables:a}=(0,o.zj)(),{background:r}=a,l={...e,id:e.id+"-background",domId:(e.domId||e.id)+"-background",look:"default",cssStyles:["stroke: none",`fill: ${r}`]};await eN(t,l)}let y=(0,o.zj)();e.useHtmlLabels=y.htmlLabels;let u=y.er?.diagramPadding??10,p=y.er?.entityPadding??6,{cssStyles:f}=e,{labelStyles:w,nodeStyles:x}=(0,r.GX)(e);if(0===e.attributes.length&&e.label){let r={rx:0,ry:0,labelPaddingX:u,labelPaddingY:1.5*u,classes:""};(0,s.Un)(e.label,y)+2*r.labelPaddingX<y.er.minEntityWidth&&(e.width=y.er.minEntityWidth);let l=await tf(t,e,r);if(null!=a&&eC.has(a)){let t=e.colorIndex??0;l.attr("data-color-id",`color-${t%d.length}`)}if(!(0,o._3)(y.htmlLabels)){let t=l.select("text"),e=t.node()?.getBBox();t.attr("transform",`translate(${-e.width/2}, 0)`)}return l}y.htmlLabels||(u*=1.25,p*=1.25);let $=b(e);$||($="node default");let k=t.insert("g").attr("class",$).attr("id",e.domId||e.id),M=await eB(k,e.label??"",y,0,0,["name"],w);M.height+=p;let D=0,A=[],S=[],v=0,K=0,C=0,L=0,N=!0,F=!0;for(let t of e.attributes){let e=await eB(k,t.type,y,0,D,["attribute-type"],w);v=Math.max(v,e.width+u);let a=await eB(k,t.name,y,0,D,["attribute-name"],w);K=Math.max(K,a.width+u);let r=await eB(k,t.keys.join(),y,0,D,["attribute-keys"],w);C=Math.max(C,r.width+u);let l=await eB(k,t.comment,y,0,D,["attribute-comment"],w);L=Math.max(L,l.width+u);let i=Math.max(e.height,a.height,r.height,l.height)+p;S.push({yOffset:D,rowHeight:i}),D+=i}let R=4;C<=u&&(N=!1,C=0,R--),L<=u&&(F=!1,L=0,R--);let P=k.node().getBBox();if(M.width+2*u-(v+K+C+L)>0){let t=M.width+2*u-(v+K+C+L);v+=t/R,K+=t/R,C>0&&(C+=t/R),L>0&&(L+=t/R)}let X=v+K+C+L,G=g.A.svg(k),I=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(I.roughness=0,I.fillStyle="solid");let W=0;S.length>0&&(W=S.reduce((t,e)=>t+(e?.rowHeight??0),0));let H=Math.max(P.width+2*u,e?.width||0,X),T=Math.max((W??0)+M.height,e?.height||0),E=-H/2,j=-T/2;if(k.selectAll("g:not(:first-child)").each((t,e,a)=>{let r=(0,c.Ltv)(a[e]),l=r.attr("transform"),i=0,n=0;if(l){let t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(l);t&&(i=parseFloat(t[1]),n=parseFloat(t[2]),r.attr("class").includes("attribute-name")?i+=v:r.attr("class").includes("attribute-keys")?i+=v+K:r.attr("class").includes("attribute-comment")&&(i+=v+K+C))}r.attr("transform",`translate(${E+u/2+i}, ${n+j+M.height+p/2})`)}),k.select(".name").attr("transform","translate("+-M.width/2+", "+(j+p/2)+")"),null!=a&&eC.has(a)){let t=e.colorIndex??0;k.attr("data-color-id",`color-${t%d.length}`)}let q=G.rectangle(E,j,H,T,I),Z=k.insert(()=>q,":first-child").attr("class","outer-path").attr("style",f.join(""));for(let[t,e]of(A.push(0),S.entries())){let a=(t+1)%2==0&&0!==e.yOffset,r=G.rectangle(E,M.height+j+e?.yOffset,H,e?.rowHeight,{...I,fill:a?i:n,stroke:h});k.insert(()=>r,"g.label").attr("style",f.join("")).attr("class",`row-rect-${a?"even":"odd"}`)}let _=eF(E,M.height+j,H+E,M.height+j,1e-4),z=G.polygon(_.map(t=>[t.x,t.y]),I);if(k.insert(()=>z).attr("class","divider"),_=eF(v+E,M.height+j,v+E,T+j,1e-4),z=G.polygon(_.map(t=>[t.x,t.y]),I),k.insert(()=>z).attr("class","divider"),N){let t=v+K+E;_=eF(t,M.height+j,t,T+j,1e-4),z=G.polygon(_.map(t=>[t.x,t.y]),I),k.insert(()=>z).attr("class","divider")}if(F){let t=v+K+C+E;_=eF(t,M.height+j,t,T+j,1e-4),z=G.polygon(_.map(t=>[t.x,t.y]),I),k.insert(()=>z).attr("class","divider")}for(let t of A){let e=M.height+j+t;_=eF(E,e,H+E,e,1e-4),z=G.polygon(_.map(t=>[t.x,t.y]),I),k.insert(()=>z).attr("class","divider")}if(m(e,Z),x&&"handDrawn"!==e.look)if(null!=a&&eL.has(a))k.selectAll("path").attr("style",x);else{let t=x.split(";"),e=t?.filter(t=>t.includes("stroke"))?.map(t=>`${t}`).join("; ");k.selectAll("path").attr("style",e??""),k.selectAll(".row-rect-even path").attr("style",x)}return e.intersect=function(t){return B.rect(e,t)},k}async function eB(t,e,a,r=0,i=0,n=[],h=""){let d=t.insert("g").attr("class",`label ${n.join(" ")}`).attr("transform",`translate(${r}, ${i})`).attr("style",h);e!==(0,o.QO)(e)&&(e=(e=(0,o.QO)(e)).replaceAll("<","&lt;").replaceAll(">","&gt;"));let g=d.node().appendChild(await (0,l.GZ)(d,e,{width:(0,s.Un)(e,a)+100,style:h,useHtmlLabels:a.htmlLabels},a));if(e.includes("&lt;")||e.includes("&gt;")){let t=g.children[0];for(t.textContent=t.textContent.replaceAll("&lt;","<").replaceAll("&gt;",">");t.childNodes[0];)(t=t.childNodes[0]).textContent=t.textContent.replaceAll("&lt;","<").replaceAll("&gt;",">")}let y=g.getBBox();if((0,o._3)(a.htmlLabels)){let t=g.children[0];t.style.textAlign="start";let e=(0,c.Ltv)(g);y=t.getBoundingClientRect(),e.attr("width",y.width),e.attr("height",y.height)}return y}function eF(t,e,a,r,l){return t===a?[{x:t-l/2,y:e},{x:t+l/2,y:e},{x:a+l/2,y:r},{x:a-l/2,y:r}]:[{x:t,y:e-l/2},{x:t,y:e+l/2},{x:a,y:r+l/2},{x:a,y:r-l/2}]}async function eR(t,e,a,r,l=a.class.padding??12){let i=3*!r,n=t.insert("g").attr("class",b(e)).attr("id",e.domId||e.id),s=null,o=null,h=null,d=null,c=0,g=0,y=0;if(s=n.insert("g").attr("class","annotation-group text"),e.annotations.length>0){let t=e.annotations[0];await eP(s,{text:`\xab${t}\xbb`},0),c=s.node().getBBox().height}o=n.insert("g").attr("class","label-group text"),await eP(o,e,0,["font-weight: bolder"]);let u=o.node().getBBox();g=u.height,h=n.insert("g").attr("class","members-group text");let p=0;for(let t of e.members){let e=await eP(h,t,p,[t.parseClassifier()]);p+=e+i}(y=h.node().getBBox().height)<=0&&(y=l/2),d=n.insert("g").attr("class","methods-group text");let f=0;for(let t of e.methods){let e=await eP(d,t,f,[t.parseClassifier()]);f+=e+i}let w=n.node().getBBox();if(null!==s){let t=s.node().getBBox();s.attr("transform",`translate(${-t.width/2})`)}return o.attr("transform",`translate(${-u.width/2}, ${c})`),w=n.node().getBBox(),h.attr("transform",`translate(0, ${c+g+2*l})`),w=n.node().getBBox(),d.attr("transform",`translate(0, ${c+g+(y?y+4*l:2*l)})`),w=n.node().getBBox(),{shapeSvg:n,bbox:w}}async function eP(t,e,a,r=[]){let i,n=t.insert("g").attr("class","label").attr("style",r.join("; ")),h=(0,o.zj)(),d="useHtmlLabels"in e?e.useHtmlLabels:(0,o._3)(h.htmlLabels)??!0,g="";g="text"in e?e.text:e.label,!d&&g.startsWith("\\")&&(g=g.substring(1)),(0,o.Wi)(g)&&(d=!0);let u=await (0,l.GZ)(n,(0,o.oB)((0,s.Sm)(g)),{width:(0,s.Un)(g,h)+50,classes:"markdown-node-label",useHtmlLabels:d},h),p=1;if(d){let t=u.children[0],e=(0,c.Ltv)(u);p=t.innerHTML.split("<br>").length,t.innerHTML.includes("</math>")&&(p+=t.innerHTML.split("<mrow>").length-1),await y(t),i=t.getBoundingClientRect(),e.attr("width",i.width),e.attr("height",i.height)}else{r.includes("font-weight: bolder")&&(0,c.Ltv)(u).selectAll("tspan").attr("font-weight",""),p=u.children.length;let t=u.children[0];(""===u.textContent||u.textContent.includes("&gt"))&&(t.textContent=g[0]+g.substring(1).replaceAll("&gt;",">").replaceAll("&lt;","<").trim()," "===g[1]&&(t.textContent=t.textContent[0]+" "+t.textContent.substring(1))),"undefined"===t.textContent&&(t.textContent=""),i=u.getBBox()}return n.attr("transform","translate(0,"+(-i.height/(2*p)+a)+")"),i.height}async function eX(t,e){let a=(0,o.D7)(),{theme:l,themeVariables:i}=a,{useGradient:s,borderColorArray:h}=i,d=a.class.padding??12,y=e.useHtmlLabels??(0,o._3)(a.htmlLabels)??!0;e.annotations=e.annotations??[],e.members=e.members??[],e.methods=e.methods??[];let{shapeSvg:u,bbox:p}=await eR(t,e,a,y,d);(0,n.XE)(u,e.colorIndex,l,h);let{labelStyles:f,nodeStyles:w}=(0,r.GX)(e);e.labelStyle=f,e.cssStyles=e.styles||"";let x=e.styles?.join(";")||w||"";e.cssStyles||(e.cssStyles=x.replaceAll("!important","").split(";"));let b=0===e.members.length&&0===e.methods.length&&!a.class?.hideEmptyMembersBox,$=g.A.svg(u),k=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let M=Math.max(e.width??0,p.width),D=Math.max(e.height??0,p.height),A=(e.height??0)>p.height;0===e.members.length&&0===e.methods.length?D+=d:e.members.length>0&&0===e.methods.length&&(D+=2*d);let S=-M/2,v=-D/2,K=b?2*d:0===e.members.length&&0===e.methods.length?-d:0;A&&(K=2*d);let C=$.rectangle(S-d,v-d-(b?d:0===e.members.length&&0===e.methods.length?-d/2:0),M+2*d,D+2*d+K,k),L=u.insert(()=>C,":first-child");L.attr("class","basic label-container outer-path");let N=L.node().getBBox(),F=u.select(".annotation-group").node().getBBox().height-(b?d/2:0)||0,R=u.select(".label-group").node().getBBox().height-(b?d/2:0)||0,P=u.select(".members-group").node().getBBox().height-(b?d/2:0)||0,X=(F+R+v+d-(v-d-(b?d:0===e.members.length&&0===e.methods.length?-d/2:0)))/2;if(u.selectAll(".text").each((t,r,l)=>{let i=(0,c.Ltv)(l[r]),n=i.attr("transform"),s=0;if(n){let t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(n);t&&(s=parseFloat(t[2]))}let o=s+v+d-(b?d:0===e.members.length&&0===e.methods.length?-d/2:0);if(i.attr("class").includes("methods-group")){let t=Math.max(P,d/2);o=A?Math.max(X,F+R+t+v+2*d+d)+2*d:F+R+t+v+4*d+d}0===e.members.length&&0===e.methods.length&&a.class?.hideEmptyMembersBox&&(o=e.annotations.length>0?s-d:s),y||(o-=4);let h=S;(i.attr("class").includes("label-group")||i.attr("class").includes("annotation-group"))&&(h=-i.node()?.getBBox().width/2||0,u.selectAll("text").each(function(t,e,a){"middle"===window.getComputedStyle(a[e]).textAnchor&&(h=0)})),i.attr("transform",`translate(${h}, ${o})`)}),e.members.length>0||e.methods.length>0||b){let t=F+R+v+d,a=$.line(N.x,t,N.x+N.width,t+.001,k);u.insert(()=>a).attr("class",`divider${"neo"===e.look&&!s?" neo-line":""}`).attr("style",x)}if(b||e.members.length>0||e.methods.length>0){let t=F+R+P+v+2*d+d,a=$.line(N.x,A?Math.max(X,t):t,N.x+N.width,(A?Math.max(X,t):t)+.001,k);u.insert(()=>a).attr("class",`divider${"neo"===e.look&&!s?" neo-line":""}`).attr("style",x)}if("handDrawn"!==e.look&&u.selectAll("path").attr("style",x),L.select(":nth-child(2)").attr("style",x),u.selectAll(".divider").select("path").attr("style",x),e.labelStyle?u.selectAll("span").attr("style",e.labelStyle):u.selectAll("span").attr("style",x),!y){let t=RegExp(/color\s*:\s*([^;]*)/),e=t.exec(x);if(e){let t=e[0].replace("color","fill");u.selectAll("tspan").attr("style",t)}else if(f){let e=t.exec(f);if(e){let t=e[0].replace("color","fill");u.selectAll("tspan").attr("style",t)}}}return m(e,L),e.intersect=function(t){return B.rect(e,t)},u}async function eG(t,e){let a,{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let n="verifyMethod"in e,s=b(e),h=(0,o.D7)(),{themeVariables:d}=h,{borderColorArray:y,requirementEdgeLabelBackground:u}=d,p="elk"===h.layout?"start":"center",f=t.insert("g").attr("class",s).attr("id",e.domId??e.id),w=a=n?await eI(f,`&lt;&lt;${e.type}&gt;&gt;`,0,e.labelStyle):await eI(f,"&lt;&lt;Element&gt;&gt;",0,e.labelStyle),x=await eI(f,e.name,w,e.labelStyle+"; font-weight: bold;");if(w+=x+20,n){let t=await eI(f,`${e.requirementId?`ID: ${e.requirementId}`:""}`,w,e.labelStyle,p);w+=t;let a=await eI(f,`${e.text?`Text: ${e.text}`:""}`,w,e.labelStyle,p);w+=a;let r=await eI(f,`${e.risk?`Risk: ${e.risk}`:""}`,w,e.labelStyle,p);w+=r,await eI(f,`${e.verifyMethod?`Verification: ${e.verifyMethod}`:""}`,w,e.labelStyle,p)}else{let t=await eI(f,`${e.type?`Type: ${e.type}`:""}`,w,e.labelStyle,p);w+=t,await eI(f,`${e.docRef?`Doc Ref: ${e.docRef}`:""}`,w,e.labelStyle,p)}let $=(f.node()?.getBBox().width??200)+20,k=(f.node()?.getBBox().height??200)+20,M=-$/2,D=-k/2,A=g.A.svg(f),S=(0,r.Fr)(e,{});"handDrawn"!==e.look&&(S.roughness=0,S.fillStyle="solid");let v=A.rectangle(M,D,$,k,S),K=f.insert(()=>v,":first-child");if(K.attr("class","basic label-container outer-path").attr("style",i),y?.length){let t=e.colorIndex??0;f.attr("data-color-id",`color-${t%y.length}`)}if(f.selectAll(".label").each((t,e,a)=>{let r=(0,c.Ltv)(a[e]),l=r.attr("transform"),i=0,n=0;if(l){let t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(l);t&&(i=parseFloat(t[1]),n=parseFloat(t[2]))}let s=n-k/2,o=M+10;(0===e||1===e)&&(o=i),r.attr("transform",`translate(${o}, ${s+20})`)}),w>a+x+20){let t,r=D+a+x+20;if("neo"===e.look){let e=[[M,r],[M+$,r],[M+$,r+.001],[M,r+.001]];t=A.polygon(e,S)}else t=A.line(M,r,M+$,r,S);f.insert(()=>t).attr("class","divider")}return m(e,K),e.intersect=function(t){return B.rect(e,t)},i&&"handDrawn"!==e.look&&(u||y?.length)&&f.selectAll("path").attr("style",i),f}async function eI(t,e,a,r="",i="center"){let n;if(""===e)return 0;let h=t.insert("g").attr("class","label").attr("style",r),d=(0,o.D7)(),g=d.htmlLabels??!0,y=await (0,l.GZ)(h,(0,o.oB)((0,s.Sm)(e)),{width:(0,s.Un)(e,d)+50,classes:"markdown-node-label",useHtmlLabels:g,style:r},d);if(g){let t=y.children[0],e=(0,c.Ltv)(y);"start"===i&&(0,c.Ltv)(t).style("text-align","left"),n=t.getBoundingClientRect(),e.attr("width",n.width),e.attr("height",n.height)}else{let t=y.children[0];for(let e of t.children)r&&e.setAttribute("style",r);if("start"===i)for(let e of(t.setAttribute("text-anchor","start"),t.children))e.setAttribute("text-anchor","start");n=y.getBBox(),n.height+=6}return h.attr("transform",`translate(${-n.width/2},${-n.height/2+a})`),n.height}(0,d.K)(eN,"erBox"),(0,d.K)(eB,"addText"),(0,d.K)(eF,"lineToPolygon"),(0,d.K)(eR,"textHelper"),(0,d.K)(eP,"addText"),(0,d.K)(eX,"classBox"),(0,d.K)(eG,"requirementBox"),(0,d.K)(eI,"addText");var eW=(0,d.K)(t=>{switch(t){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}},"colorFromPriority");async function eH(t,e,{config:a}){let l,i,n,s,{labelStyles:o,nodeStyles:h}=(0,r.GX)(e);e.labelStyle=o||"";let d=e.width;e.width=(e.width??200)-10;let{shapeSvg:c,bbox:y,label:u}=await w(t,e,b(e)),p=e.padding||10,f="";"ticket"in e&&e.ticket&&a?.kanban?.ticketBaseUrl&&(f=a?.kanban?.ticketBaseUrl.replace("#TICKET#",e.ticket),l=c.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",f).attr("target","_blank"));let $={useHtmlLabels:e.useHtmlLabels,labelStyle:e.labelStyle||"",width:e.width,img:e.img,padding:e.padding||8,centerLabel:!1};l?{label:i,bbox:n}=await x(l,"ticket"in e&&e.ticket||"",$):{label:i,bbox:n}=await x(c,"ticket"in e&&e.ticket||"",$);let{label:k,bbox:M}=await x(c,"assigned"in e&&e.assigned||"",$);e.width=d;let D=e?.width||0,A=Math.max(n.height,M.height)/2,S=Math.max(y.height+20,e?.height||0)+A,v=-D/2,K=-S/2;u.attr("transform","translate("+(p-D/2)+", "+(-A-y.height/2)+")"),i.attr("transform","translate("+(p-D/2)+", "+(-A+y.height/2)+")"),k.attr("transform","translate("+(p+D/2-M.width-20)+", "+(-A+y.height/2)+")");let{rx:C,ry:L}=e,{cssStyles:N}=e;if("handDrawn"===e.look){let t=g.A.svg(c),a=(0,r.Fr)(e,{}),l=C||L?t.path(F(v,K,D,S,C||0),a):t.rectangle(v,K,D,S,a);(s=c.insert(()=>l,":first-child")).attr("class","basic label-container").attr("style",N||null)}else{(s=c.insert("rect",":first-child")).attr("class","basic label-container __APA__").attr("style",h).attr("rx",C??5).attr("ry",L??5).attr("x",v).attr("y",K).attr("width",D).attr("height",S);let t="priority"in e&&e.priority;if(t){let e=c.append("line"),a=v+2,r=K+Math.floor((C??0)/2),l=K+S-Math.floor((C??0)/2);e.attr("x1",a).attr("y1",r).attr("x2",a).attr("y2",l).attr("stroke-width","4").attr("stroke",eW(t))}}return m(e,s),e.height=S,e.intersect=function(t){return B.rect(e,t)},c}async function eT(t,e){let a,{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let{shapeSvg:n,bbox:o,halfPadding:d,label:c}=await w(t,e,b(e)),y=o.width+10*d,u=o.height+8*d,p=.15*y,{cssStyles:f}=e,x=o.width+20,$=o.height+20,k=Math.max(y,x),M=Math.max(u,$);c.attr("transform",`translate(${-o.width/2}, ${-o.height/2})`);let D=`M0 0
11
- a${p},${p} 1 0,0 ${.25*k},${-1*M*.1}
12
- a${p},${p} 1 0,0 ${.25*k},0
13
- a${p},${p} 1 0,0 ${.25*k},0
14
- a${p},${p} 1 0,0 ${.25*k},${.1*M}
15
-
16
- a${p},${p} 1 0,0 ${.15*k},${.33*M}
17
- a${.8*p},${.8*p} 1 0,0 0,${.34*M}
18
- a${p},${p} 1 0,0 ${-1*k*.15},${.33*M}
19
-
20
- a${p},${p} 1 0,0 ${-1*k*.25},${.15*M}
21
- a${p},${p} 1 0,0 ${-1*k*.25},0
22
- a${p},${p} 1 0,0 ${-1*k*.25},0
23
- a${p},${p} 1 0,0 ${-1*k*.25},${-1*M*.15}
24
-
25
- a${p},${p} 1 0,0 ${-1*k*.1},${-1*M*.33}
26
- a${.8*p},${.8*p} 1 0,0 0,${-1*M*.34}
27
- a${p},${p} 1 0,0 ${.1*k},${-1*M*.33}
28
- H0 V0 Z`;if("handDrawn"===e.look){let t=g.A.svg(n),l=(0,r.Fr)(e,{}),i=t.path(D,l);(a=n.insert(()=>i,":first-child")).attr("class","basic label-container").attr("style",(0,s.KL)(f))}else a=n.insert("path",":first-child").attr("class","basic label-container").attr("style",i).attr("d",D);return a.attr("transform",`translate(${-k/2}, ${-M/2})`),m(e,a),e.calcIntersect=function(t,e){return B.rect(t,e)},e.intersect=function(t){return h.R.info("Bang intersect",e,t),B.rect(e,t)},n}async function eE(t,e){let a,{labelStyles:l,nodeStyles:i}=(0,r.GX)(e);e.labelStyle=l;let{shapeSvg:n,bbox:o,halfPadding:d,label:c}=await w(t,e,b(e)),y=o.width+2*d,u=o.height+2*d,p=.15*y,f=.25*y,x=.35*y,$=.2*y,{cssStyles:k}=e,M=`M0 0
29
- a${p},${p} 0 0,1 ${.25*y},${-1*y*.1}
30
- a${x},${x} 1 0,1 ${.4*y},${-1*y*.1}
31
- a${f},${f} 1 0,1 ${.35*y},${.2*y}
32
-
33
- a${p},${p} 1 0,1 ${.15*y},${.35*u}
34
- a${$},${$} 1 0,1 ${-1*y*.15},${.65*u}
35
-
36
- a${f},${p} 1 0,1 ${-1*y*.25},${.15*y}
37
- a${x},${x} 1 0,1 ${-1*y*.5},0
38
- a${p},${p} 1 0,1 ${-1*y*.25},${-1*y*.15}
39
-
40
- a${p},${p} 1 0,1 ${-1*y*.1},${-1*u*.35}
41
- a${$},${$} 1 0,1 ${.1*y},${-1*u*.65}
42
- H0 V0 Z`;if("handDrawn"===e.look){let t=g.A.svg(n),l=(0,r.Fr)(e,{}),i=t.path(M,l);(a=n.insert(()=>i,":first-child")).attr("class","basic label-container").attr("style",(0,s.KL)(k))}else a=n.insert("path",":first-child").attr("class","basic label-container").attr("style",i).attr("d",M);return c.attr("transform",`translate(${-o.width/2}, ${-o.height/2})`),a.attr("transform",`translate(${-y/2}, ${-u/2})`),m(e,a),e.calcIntersect=function(t,e){return B.rect(t,e)},e.intersect=function(t){return h.R.info("Cloud intersect",e,t),B.rect(e,t)},n}async function ej(t,e){let{labelStyles:a,nodeStyles:l}=(0,r.GX)(e);e.labelStyle=a;let{shapeSvg:i,bbox:n,halfPadding:s,label:o}=await w(t,e,b(e)),h=n.width+8*s,d=n.height+2*s,c="neo"===e.look?`
43
- M${-h/2} ${d/2-5}
44
- v${-d+10}
45
- q0,-5 5,-5
46
- h${h-10}
47
- q5,0 5,5
48
- v${d-5}
49
- H${-h/2}
50
- Z
51
- `:`
52
- M${-h/2} ${d/2-5}
53
- v${-d+10}
54
- q0,-5 5,-5
55
- h${h-10}
56
- q5,0 5,5
57
- v${d-10}
58
- q0,5 -5,5
59
- h${-(h-10)}
60
- q-5,0 -5,-5
61
- Z
62
- `;if(!e.domId)throw Error(`defaultMindmapNode: node "${e.id}" is missing a domId \u2014 was render.ts domId prefixing skipped?`);let g=i.append("path").attr("id",e.domId).attr("class","node-bkg node-"+e.type).attr("style",l).attr("d",c);return i.append("line").attr("class","node-line-").attr("x1",-h/2).attr("y1",d/2).attr("x2",h/2).attr("y2",d/2),o.attr("transform",`translate(${-n.width/2}, ${-n.height/2})`),i.append(()=>o.node()),m(e,g),e.calcIntersect=function(t,e){return B.rect(t,e)},e.intersect=function(t){return B.rect(e,t)},i}async function eq(t,e){let a={padding:e.padding??0};return Q(t,e,a)}(0,d.K)(eH,"kanbanItem"),(0,d.K)(eT,"bang"),(0,d.K)(eE,"cloud"),(0,d.K)(ej,"defaultMindmapNode"),(0,d.K)(eq,"mindmapCircle");var eZ=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:eh},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:en},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:ec},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:ep},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:tp},{semanticName:"Data Store",name:"Data Store",shortName:"datastore",description:"Data flow diagram data store",aliases:["data-store"],handler:tw},{semanticName:"Folder",name:"Folder",shortName:"folder",description:"Folder or directory",aliases:["directory"],handler:tM},{semanticName:"Bucket",name:"Bucket",shortName:"bucket",description:"Object storage bucket",handler:W},{semanticName:"Console",name:"Console (terminal window)",shortName:"console",description:"Terminal or console window",handler:te},{semanticName:"Browser",name:"Browser",shortName:"browser",description:"Browser window",handler:Y},{semanticName:"Person",name:"Person",shortName:"person",description:"Person (circular head above a rounded body)",handler:tc},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:Q},{semanticName:"Bang",name:"Bang",shortName:"bang",description:"Bang",aliases:["bang"],handler:eT},{semanticName:"Cloud",name:"Cloud",shortName:"cloud",description:"cloud",aliases:["cloud"],handler:eE},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:er},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:tv},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:tG},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:tX},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:eM},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:tR},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:tm},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:ex},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:J},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:es},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:eu},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:ey},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:tD},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:tK},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:ti},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:ts},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:th},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:tI},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:eS},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:tA},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:ek},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:tE},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:td},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:tx},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:eA},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:eK},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:t$},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:eD},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:tk},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:eo},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:et},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:t9},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:I},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:tr},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:ew},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:ef},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:ev},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:el},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:tj}],e_=(0,d.K)(()=>Object.fromEntries([...Object.entries({state:eg,choice:U,note:ee,composite:tt,rectWithTitle:ei,labelRect:tP,block_arrow:V,collapsedGroup:T,iconSquare:tB,iconCircle:tL,icon:tC,iconRounded:tN,imageSquare:tF,anchor:P,kanbanItem:eH,mindmapCircle:eq,defaultMindmapNode:ej,classBox:eX,erBox:eN,requirementBox:eG,usecaseActor:tQ,usecaseActorHollow:t2,usecaseActorAwesome:t0,usecaseActorIcon:t5,usecaseBusiness:t3,usecaseEllipse:tb,usecaseJsonTable:t6}),...eZ.flatMap(t=>[t.shortName,..."aliases"in t?t.aliases:[],..."internalAliases"in t?t.internalAliases:[]].map(e=>[e,t.handler]))]),"generateShapeMap")();function ez(t){return t in e_}(0,d.K)(ez,"isValidShape")}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3787,6815,9492],{54131:()=>{}},_=>{_.O(0,[6396,5535,7358],()=>_(_.s=54131)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6605],{16169:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=a(64297);let n=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return t.filter((e,t,a)=>!!e&&""!==e.trim()&&a.indexOf(e)===t).join(" ").trim()},s=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,a)=>a?a.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,r.createContext)({}),c=(0,r.forwardRef)((e,t)=>{var a,s,c;let{color:i,size:d,strokeWidth:u,absoluteStrokeWidth:m,className:p="",children:h,iconNode:b,...x}=e,{size:f=24,strokeWidth:g=2,absoluteStrokeWidth:w=!1,color:y="currentColor",className:v=""}=null!=(a=(0,r.useContext)(o))?a:{},N=(null!=m?m:w)?24*Number(null!=u?u:g)/Number(null!=d?d:f):null!=u?u:g;return(0,r.createElement)("svg",{ref:t,...l,width:null!=(s=null!=d?d:f)?s:l.width,height:null!=(c=null!=d?d:f)?c:l.height,stroke:null!=i?i:y,strokeWidth:N,className:n("lucide",v,p),...!h&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(x)&&{"aria-hidden":"true"},...x},[...b.map(e=>{let[t,a]=e;return(0,r.createElement)(t,a)}),...Array.isArray(h)?h:[h]])}),i=(e,t)=>{let a=(0,r.forwardRef)((a,l)=>{let{className:o,...i}=a;return(0,r.createElement)(c,{ref:l,iconNode:t,className:n("lucide-".concat(s(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),o),...i})});return a.displayName=s(e),a}},17096:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(16169).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},24331:(e,t,a)=>{"use strict";a.d(t,{GM:()=>o,J3:()=>l,WF:()=>r,bR:()=>s,m:()=>c,r5:()=>n});let r="/v1/devices",n="/v1/approvals/merges",s="/v1/templates/capability-preview",l="/v1/idle-nudge/preview",o="/v1/morning-digest/showroom",c="/v1/next-fluent/dispatch"},28604:(e,t,a)=>{"use strict";function r(e){return{slides:e.slides.map(e=>{let{image:t,caption:a,include:r}=e;return{image:t,caption:a,include:r}}),caption:{hook:e.caption.hook,body:e.caption.body},hashtags:[...e.hashtags],cover:{text:e.cover.text,sub:e.cover.sub},location:e.location}}a.d(t,{$Y:()=>l,LP:()=>c,Mz:()=>r,ll:()=>d,rH:()=>o});class n extends Error{constructor(e,t){super(t),this.status=e,this.name="GraphApprovalsApiError"}}let s={list:"목록을 보려면",decide:"승인하려면",save:"초안을 저장하려면"},l="/app/settings/#bearer-token";function o(e){return e instanceof n&&(401===e.status||403===e.status)}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"decide";return e instanceof n?401===e.status||403===e.status?"".concat(s[t]," 이 기기를 데몬에 연결해야 합니다 — 설정 › 데몬 연결 › 연결 토큰 칸에 토큰을 넣어 주세요."):404===e.status?"이 실행을 찾지 못했습니다. 목록을 다시 확인해 주세요.":409===e.status?"이미 결정된 실행입니다. 목록을 다시 확인해 주세요.":400===e.status?"결정 내용을 확인한 뒤 다시 시도해 주세요.":"승인 요청을 처리하지 못했습니다. 잠시 뒤 다시 시도해 주세요.":e instanceof TypeError?"서버에 연결하지 못했습니다. 연결 상태를 확인해 주세요.":"승인 요청을 처리하지 못했습니다. 잠시 뒤 다시 시도해 주세요."}let i="/v1/graph-approvals";function d(e){var t,a;let r=(null!=(t=e.baseUrl)?t:"").replace(/\/+$/,""),s=null!=(a=e.fetchImpl)?a:fetch;async function l(t,a){let l={...a,headers:{"content-type":"application/json",...e.authHeader?{authorization:e.authHeader}:{}}},o=e.client?await e.client.fetchResponse(t,l):await s("".concat(r).concat(t),l),c=await o.json().catch(()=>null);if(!o.ok){let e=c&&"object"==typeof c&&"error"in c&&"string"==typeof c.error?c.error:"request-failed";throw new n(o.status,e)}return c}return{list:()=>l(i),decide:(e,t,a)=>l("".concat(i,"/").concat(encodeURIComponent(e),"/").concat(encodeURIComponent(t)),{method:"POST",body:JSON.stringify({decision:a})}),saveFeedDraft:(e,t,a)=>l("".concat(i,"/").concat(encodeURIComponent(e),"/").concat(encodeURIComponent(t),"/feed-draft"),{method:"PUT",body:JSON.stringify(a)}),feedMedia:async(t,a,l)=>{let o="".concat(i,"/").concat(encodeURIComponent(t),"/").concat(encodeURIComponent(a),"/media?path=").concat(encodeURIComponent(l)),c={headers:e.authHeader?{authorization:e.authHeader}:{}},d=e.client?await e.client.fetchResponse(o,c):await s("".concat(r).concat(o),c);if(!d.ok)throw new n(d.status,"media-failed");return d.blob()}}}},30233:(e,t,a)=>{Promise.resolve().then(a.bind(a,82105))},75117:(e,t,a)=>{"use strict";a.d(t,{Zr:()=>l,f6:()=>n,oD:()=>s});let r="elanous.daemon.sessionId";function n(){return"undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"s-".concat(Date.now().toString(36),"-").concat(Math.random().toString(36).slice(2,10))}function s(){let e=function(){let e=new URLSearchParams(window.location.search).get("session");return e?(localStorage.setItem(r,e),e):localStorage.getItem(r)}();if(e)return e;let t=n();return localStorage.setItem(r,t),t}function l(){let e=n();return localStorage.setItem(r,e),e}},79836:(e,t,a)=>{"use strict";a.d(t,{C:()=>i,DaemonProvider:()=>d,Q:()=>u});var r=a(65245),n=a(64297),s=a(67890),l=a(75117),o=a(79948),c=a(62391);let i=(0,n.createContext)(null);function d(e){let{children:t}=e,a={baseUrl:"",token:"",provider:""},[d,u]=(0,n.useState)(a),[m,p]=(0,n.useState)(""),[h]=(0,n.useState)(()=>new o.ki(a));(0,n.useEffect)(()=>{let e=(0,s.Fp)();u(e),h.updateConfig(e),p((0,l.oD)()),(0,c.cY)("webterm.provider.daemon.init",{baseUrl:e.baseUrl,hasToken:!!e.token})},[h]),(0,n.useEffect)(()=>{let e=e=>{if("elanous.daemon.token"===e.key||"elanous.nexus.baseUrl"===e.key){let t=(0,s.Fp)();h.updateConfig(t),u(t),(0,c.cY)("webterm.provider.daemon.config-cross-tab",{key:e.key,hasToken:!!t.token});return}"elanous.daemon.sessionId"===e.key&&e.newValue&&p(t=>t===e.newValue?t:((0,c.cY)("webterm.provider.daemon.session-cross-tab",{previous:t||"(empty)",next:e.newValue}),e.newValue))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[h]);let b=e=>{u(t=>{let a={...t,...e};return(0,s.Qc)(e),h.updateConfig(a),(0,c.cY)("webterm.provider.daemon.config-update",{keys:Object.keys(e)}),a})},x=e=>{p(e),localStorage.setItem("elanous.daemon.sessionId",e),(0,c.cY)("webterm.provider.daemon.session-set",{sessionId:e})},f=(0,n.useMemo)(()=>({config:d,setConfig:b,client:h,sessionId:m,setSessionId:x}),[d,h,m]);return(0,r.jsx)(i.Provider,{value:f,children:t})}function u(){let e=(0,n.useContext)(i);if(!e)throw Error("useDaemon must be used inside <DaemonProvider>");return e}},82105:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>j});var r=a(65245),n=a(64297),s=a(51190),l=a(55433),o=a(79836),c=a(94087),i=a(89356);function d(e,t){return"UNKNOWN"===t&&e<3?3e3:null}async function u(e,t){let a,r=0,n=d(0,"UNKNOWN");for(;null!==n;){var s,l,o;if(await t.sleep(n),t.isActive&&!t.isActive())break;r++;try{a=await e(),null==(l=t.onDetail)||l.call(t,a)}catch(e){}null==(s=t.onAttempt)||s.call(t),n=d(r,null!=(o=null==a?void 0:a.mergeable)?o:"UNKNOWN")}return{attempts:r,...a?{last:a}:{}}}var m=a(17096);function p(e){let{view:t,target:a}=e,[s]=(0,n.useState)(()=>Date.now()),[l,o]=(0,n.useState)(s);(0,n.useEffect)(()=>{let e=window.setInterval(()=>o(Date.now()),100);return()=>window.clearInterval(e)},[]);let c=function(e,t,a){let r="".concat((Math.max(0,e)/1e3).toFixed(1),"초");return{title:"merged"===t?"GitHub 에서 반영된 코드 변경을 읽고 있습니다":a?"GitHub 에서 승인을 기다리는 코드 변경과 #".concat(a," 카드를 읽고 있습니다"):"GitHub 에서 승인을 기다리는 코드 변경을 읽고 있습니다",clock:r,hint:e>=8e3?"평소(2~5초)보다 오래 걸립니다 — GitHub 응답을 기다리는 중이며 멈추지 않았습니다.":null}}(l-s,t,a);return(0,r.jsxs)("section",{role:"status","aria-live":"polite","aria-busy":"true",className:"space-y-3","data-approvals-loading":!0,children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 rounded-xl border border-blue-500/40 bg-blue-500/5 p-4",children:[(0,r.jsx)(m.A,{className:"h-6 w-6 shrink-0 text-blue-500 motion-safe:animate-spin","aria-hidden":!0}),(0,r.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,r.jsx)("p",{className:"font-medium",children:c.title}),c.hint&&(0,r.jsx)("p",{className:"mt-1 text-sm text-amber-600 dark:text-amber-400",children:c.hint})]}),(0,r.jsx)("span",{className:"font-mono text-lg tabular-nums text-blue-600 dark:text-blue-300","aria-label":"경과 시간",children:c.clock})]}),(0,r.jsx)("div",{className:"h-1 overflow-hidden rounded-full bg-muted","aria-hidden":!0,children:(0,r.jsx)("div",{className:"h-full w-1/3 rounded-full bg-blue-500 motion-safe:animate-[approvals-slide_1.2s_ease-in-out_infinite]"})}),(0,r.jsx)("style",{children:"@keyframes approvals-slide{0%{transform:translateX(-100%)}100%{transform:translateX(300%)}}"}),[0,1].map(e=>(0,r.jsxs)("div",{className:"space-y-3 rounded-xl border border-border bg-card p-5 motion-safe:animate-pulse","aria-hidden":!0,children:[(0,r.jsx)("div",{className:"h-4 w-2/3 rounded bg-muted"}),(0,r.jsx)("div",{className:"h-3 w-full rounded bg-muted"}),(0,r.jsx)("div",{className:"h-3 w-5/6 rounded bg-muted"})]},e))]})}function h(e){let{view:t,onChange:a}=e,n=(e,n)=>(0,r.jsx)("button",{type:"button",role:"tab","aria-selected":t===e,onClick:()=>a(e),className:"rounded-md px-3 py-1 text-sm ".concat(t===e?"bg-foreground text-background":"bg-muted text-foreground"),children:n});return(0,r.jsxs)("div",{role:"tablist","aria-label":"승인 목록 보기",className:"flex gap-2",children:[n("open","승인 대기"),n("merged","완료")]})}function b(e){let{brief:t,lineage:a,summary:n}=e;return(0,r.jsxs)(r.Fragment,{children:[null!==t?(0,r.jsx)("section",{"aria-label":"승인 요약",className:"mt-3 break-words text-sm leading-relaxed [&_a]:text-blue-600 [&_a]:underline [&_blockquote]:border-l-2 [&_blockquote]:pl-3 [&_h3]:mt-3 [&_h3]:font-semibold [&_li]:ml-5 [&_li]:list-disc [&_p]:my-2 [&_table]:block [&_table]:overflow-x-auto",children:(0,r.jsx)(s.oz,{remarkPlugins:[l.A],components:{a:e=>{let{href:t,children:a}=e;return(0,r.jsx)("a",{href:t,target:"_blank",rel:"noreferrer",children:a})}},children:t})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"mt-3 rounded border border-amber-500/40 bg-amber-500/15 p-3 text-sm text-amber-800 dark:text-amber-300",children:"승인 요약 내용이 없습니다 — GitHub 본문을 보거나 발사자에게 요청하세요"}),(0,r.jsx)("p",{className:"mt-3 whitespace-pre-wrap text-sm",children:n})]}),a&&(0,r.jsxs)("p",{className:"mt-3 text-sm text-muted-foreground",children:["아이디어 원장: ",a]})]})}function x(e){var t;let{gate:a,busy:n,blocked:s,mergeLabel:l,onCheck:o,onMerge:c}=e;return(0,r.jsxs)("div",{className:"mt-3 space-y-2","aria-label":"머지 전 검사",children:["none"===a.status&&(0,r.jsx)("button",{type:"button",onClick:o,disabled:n,className:"rounded-lg border px-3 py-2 text-sm disabled:opacity-50",children:"머지 전 검사 시작"}),"running"===a.status&&(0,r.jsx)("p",{role:"status",className:"text-sm",children:"검사 중…"}),"passed"===a.status&&(0,r.jsxs)("p",{className:"text-sm text-green-700 dark:text-green-400",children:["검사 통과 (",null!=(t=a.os)?t:"unknown",")",a.baseDrifted?" \xb7 검사 뒤 main 이 움직였다 — 머지 때 겹치는 파일이 있으면 다시 검사를 요구한다":""]}),("failed"===a.status||"unmeasured"===a.status)&&(0,r.jsxs)("div",{role:"alert",className:"text-sm text-red-600",children:[(0,r.jsx)("p",{children:"failed"===a.status?"검사 실패":"검사 측정 불가"}),(0,r.jsx)("ul",{className:"list-inside list-disc",children:a.failures.map((e,t)=>(0,r.jsx)("li",{children:e},t))}),(0,r.jsx)("button",{type:"button",onClick:o,disabled:n,className:"mt-2 rounded-lg border px-3 py-2 disabled:opacity-50",children:"머지 전 검사 다시 시작"})]}),(0,r.jsx)("button",{type:"button",onClick:c,disabled:n||s||"passed"!==a.status,className:"rounded-lg bg-blue-600 px-4 py-2 text-sm font-medium text-white disabled:cursor-not-allowed disabled:opacity-50",children:null!=l?l:"승인하고 머지"})]})}function f(e){let{card:t,api:a,attempt:r,onAttempt:s,onUpdate:l}=e,o="UNKNOWN"===t.mergeable&&!t.merged&&"OPEN"===t.state;return(0,n.useEffect)(()=>{if(!o||r>0)return;let e=!0,n=[];return u(()=>a.get(t.number),{sleep:e=>new Promise(t=>{n.push(window.setTimeout(t,e))}),isActive:()=>e,onDetail:a=>{e&&l(a,t.headSha)},onAttempt:()=>{e&&s(t.number)}}),()=>{for(let t of(e=!1,n))window.clearTimeout(t)}},[a,t.number,o,r,s,l]),null}function g(){let e=(0,c.In)(),{client:t}=(0,o.Q)(),a=(0,n.useMemo)(()=>(0,i.tV)({client:t}),[t]),[s,l]=(0,n.useState)([]),[u,m]=(0,n.useState)(!0),[g,w]=(0,n.useState)(null),[y,v]=(0,n.useState)(null),[N,j]=(0,n.useState)({}),[k,S]=(0,n.useState)({}),[C,I]=(0,n.useState)(null),[E,U]=(0,n.useState)("open"),L=(0,n.useCallback)(e=>{S(t=>{var a;return{...t,[e]:(null!=(a=t[e])?a:0)+1}})},[]),R=(0,n.useCallback)((e,t)=>{l(a=>a.map(a=>a.number!==e.number||a.headSha!==t?a:{...e,gate:e.headSha===t?e.gate:{status:"none",failures:[]},merged:a.merged}))},[]);async function O(e){v(e.number),j(t=>({...t,[e.number]:""}));try{let{gate:t}=await a.check(e.number,e.headSha);l(a=>a.map(a=>a.number===e.number&&a.headSha===e.headSha?{...a,gate:t}:a))}catch(t){j(a=>({...a,[e.number]:(0,i.V5)(t,"검사를 시작하지 못했습니다.").text}))}finally{v(null)}}async function M(e){if(window.confirm("#".concat(e.number," ").concat(e.title,"\n현재 확인한 변경을 승인하고 머지할까요?"))){v(e.number),j(t=>({...t,[e.number]:""}));try{await a.merge(e.number,e.headSha),l(t=>t.map(t=>t.number===e.number?{...t,merged:!0,state:"MERGED"}:t))}catch(t){j(a=>({...a,[e.number]:(0,i.V5)(t,"머지하지 못했습니다.").text}))}finally{v(null)}}}return((0,n.useEffect)(()=>{let e=s.filter(e=>"OPEN"===e.state&&("running"===e.gate.status||"passed"===e.gate.status));if("open"!==E||!e.length)return;let t=!0,r=window.setInterval(()=>{for(let r of e)a.get(r.number).then(e=>{t&&R(e,r.headSha)}).catch(e=>{t&&j(t=>({...t,[r.number]:(0,i.V5)(e,"검사 상태를 불러오지 못했습니다.").text}))})},1e4);return()=>{t=!1,window.clearInterval(r)}},[a,s,R,E]),(0,n.useEffect)(()=>{let e=!0,t=Number(new URLSearchParams(window.location.search).get("pr")),r=Number.isSafeInteger(t)&&t>0?t:null;return(m(!0),w(null),I(r),"merged"===E)?(a.list("merged").then(t=>{let{items:a}=t;e&&l(a)}).catch(t=>{e&&w((0,i.V5)(t,"목록을 불러오지 못했습니다."))}).finally(()=>{e&&m(!1)}),()=>{e=!1}):(a.list().then(async t=>{let{items:n}=t;if(!e)return;let s=n.find(e=>e.number===r);if(r&&!s)try{let t=await a.get(r);e&&l([t,...n])}catch(t){e&&w((0,i.V5)(t,"PR 을 불러오지 못했습니다.")),e&&l(n)}else l(r?[...n].sort((e,t)=>Number(t.number===r)-Number(e.number===r)):n)}).catch(t=>{e&&w((0,i.V5)(t,"목록을 불러오지 못했습니다."))}).finally(()=>{e&&m(!1)}),()=>{e=!1})},[a,E]),"owner"===e||"open"!==E||u||s.length||g)?(0,r.jsxs)("main",{className:"mx-auto max-w-3xl space-y-5 p-4 pb-20 text-foreground sm:p-8",children:[(0,r.jsxs)("header",{children:[(0,r.jsx)("h1",{className:"text-2xl font-semibold",children:"코드 변경 승인"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"자동으로 만든 코드 변경(PR)을 확인하고 승인합니다."})]}),(0,r.jsx)(h,{view:E,onChange:e=>{l([]),U(e)}}),u&&(0,r.jsx)(p,{view:E,target:C}),g&&(0,r.jsxs)("p",{role:"alert",className:"text-red-600","data-approvals-error":!0,children:[g.text,g.href&&(0,r.jsxs)(r.Fragment,{children:[" ",(0,r.jsx)("a",{href:g.href,className:"font-semibold underline underline-offset-2","data-approvals-settings":!0,children:"설정 열기 →"})]})]}),!u&&!s.length&&!g&&(0,r.jsx)("p",{children:"merged"===E?"승인해 반영된 코드 변경이 아직 없습니다.":"승인을 기다리는 코드 변경이 없습니다."}),s.map(e=>{var t,n;let s=e.merged||"MERGED"===e.state,l="OPEN"!==e.state&&!s,o=e.draft?"초안 PR 은 머지할 수 없습니다. GitHub에서 초안을 해제한 뒤 다시 확인하세요.":e.checks.failure>0?"실패한 검사가 있습니다.":e.checks.pending>0?"검사가 아직 끝나지 않았습니다.":"CONFLICTING"===e.mergeable?"머지 충돌이 있습니다.":"MERGEABLE"!==e.mergeable?"머지 가능 여부가 아직 확인되지 않았습니다.":"main"!==e.base?"대상 브랜치가 main 이 아닙니다.":"",c=C===e.number,i=null!=(t=k[e.number])?t:0;return(0,r.jsxs)("article",{className:"rounded-xl border bg-card p-5 shadow-sm ".concat(c?"border-blue-500 ring-2 ring-blue-500/30":"border-border"),children:[(0,r.jsx)(f,{card:e,api:a,attempt:i,onAttempt:L,onUpdate:R}),(0,r.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-2",children:[(0,r.jsxs)("h2",{className:"font-semibold",children:["#",e.number," \xb7 ",e.title]}),(0,r.jsx)("span",{className:"rounded bg-muted px-2 py-1 text-xs",children:s?function(e){if(!e)return"머지됨";let t=new Date(e);if(Number.isNaN(t.getTime()))return"머지됨";let a=new Date(t.getTime()+324e5).toISOString();return"머지됨 ".concat(a.slice(5,10)," ").concat(a.slice(11,16)," KST")}(e.mergedAt):l?"닫힘":e.draft?"초안":"열림"})]}),(0,r.jsx)(b,{brief:e.brief,lineage:e.lineage,summary:e.summary}),(0,r.jsxs)("p",{className:"mt-3 text-sm text-muted-foreground",children:["+",e.additions," 추가 / −",e.deletions," 삭제 \xb7 파일 ",e.changedFiles]}),(0,r.jsxs)("div",{className:"mt-2 flex flex-wrap gap-2 text-xs","aria-label":"검사 상태",children:[(0,r.jsxs)("span",{className:"rounded bg-green-500/15 px-2 py-1",children:["성공 ",e.checks.success]}),(0,r.jsxs)("span",{className:"rounded bg-red-500/15 px-2 py-1",children:["실패 ",e.checks.failure]}),(0,r.jsxs)("span",{className:"rounded bg-yellow-500/15 px-2 py-1",children:["대기 ",e.checks.pending]}),e.checks.success+e.checks.failure+e.checks.pending===0&&(0,r.jsx)("span",{className:"rounded bg-slate-500/15 px-2 py-1",children:"GitHub 검사 없음 — 머지 전 검사는 아래에서 별도로 실행"})]}),(0,r.jsxs)("details",{open:c,className:"mt-3 text-sm",children:[(0,r.jsx)("summary",{className:"cursor-pointer",children:"바뀐 파일 보기"}),(0,r.jsx)("ul",{className:"mt-2 list-inside list-disc break-all",children:e.files.map(e=>(0,r.jsx)("li",{children:e},e))})]}),(0,r.jsxs)("div",{className:"mt-4 flex flex-wrap items-center gap-4",children:[(0,r.jsx)("a",{className:"text-sm text-blue-600 underline",href:e.url,target:"_blank",rel:"noopener noreferrer",children:"GitHub 에서 보기"}),!s&&!l&&(0,r.jsx)(x,{gate:e.gate,busy:null!==y,blocked:!!o,mergeLabel:y===e.number?"머지 중…":"UNKNOWN"!==(n=e.mergeable)?"승인하고 머지":null===d(i,n)?"확인 종료":"확인 중…",onCheck:()=>O(e),onMerge:()=>M(e)})]}),o&&!s&&!l&&(0,r.jsxs)("p",{className:"mt-2 text-sm text-amber-600",children:[o,"UNKNOWN"===e.mergeable&&i>=3?" 자동 확인이 끝났습니다. 최신 상태는 페이지를 새로고침하세요.":""]}),N[e.number]&&(0,r.jsx)("p",{role:"alert",className:"mt-2 text-sm text-red-600",children:N[e.number]})]},e.number)})]}):null}var w=a(28604);function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),a="release-loop"===e.graphId?"릴리스 발행":"announce-loop"===e.graphId?"공지":e.graphId,r=Date.parse(e.since),n=Number.isNaN(r)?0:Math.max(0,Math.floor((t-r)/6e4)),s=n<1?"방금 전":n<60?"".concat(n,"분 전"):n<1440?"".concat(Math.floor(n/60),"시간 전"):"".concat(Math.floor(n/1440),"일 전");return{title:a,nodeId:e.nodeId,waiting:s,message:e.message,recent:e.recent.map(e=>"".concat(e.ok&&"fail"!==e.outcome&&"error"!==e.outcome?"✓":"✗"," ").concat(e.nodeId).concat(e.outcome?" \xb7 ".concat(e.outcome):"").concat(e.summary?" \xb7 ".concat(e.summary):""))}}function v(e){var t,a,s,l,o,c,i;let{item:d,api:u,onDecided:m,confirm:p}=e,[h,b]=(0,n.useState)(d.feed),[x,f]=(0,n.useState)(()=>(0,w.Mz)(d.feed)),[g,y]=(0,n.useState)(!1),[v,N]=(0,n.useState)(0),[j,k]=(0,n.useState)(!1),[S,C]=(0,n.useState)(!1),[I,E]=(0,n.useState)(""),[U,L]=(0,n.useState)(""),[R,O]=(0,n.useState)(!1),M=(e,t)=>{L((0,w.LP)(e,t)),O((0,w.rH)(e))},[D,A]=(0,n.useState)({}),P=(0,n.useRef)(null),_=null!=p?p:e=>window.confirm(e),H=(i=(0,w.Mz)(h),JSON.stringify(x)!==JSON.stringify(i)),G=(0,n.useMemo)(()=>(function(e,t){let a=[];for(let r of(e.cover.image&&a.push({image:e.cover.image,isCover:!0}),t.slides))r.include&&a.push({image:r.image,caption:r.caption});return a})(h,x),[h,x]),T=G[Math.min(v,Math.max(0,G.length-1))],F=(0,n.useMemo)(()=>[h.cover.image,...h.slides.map(e=>e.image)].filter(e=>!!e),[h]);function V(e){N(t=>Math.max(0,Math.min(G.length-1,t+e)))}function z(e,t){f(a=>({...a,slides:a.slides.map((a,r)=>r===e?{...a,...t}:a)}))}function W(e,t){f(a=>{let r=e+t;if(r<0||r>=a.slides.length)return a;let n=[...a.slides];return[n[e],n[r]]=[n[r],n[e]],{...a,slides:n}})}async function Y(){C(!0),L(""),O(!1),E("");try{let e=await u.saveFeedDraft(d.graphId,d.runId,x);return b(e.feed),f((0,w.Mz)(e.feed)),E("저장했어요 \xb7 수정 ".concat(e.feed.revision," \xb7 아직 게시 전입니다")),!0}catch(e){return M(e,"save"),!1}finally{C(!1)}}async function J(){if(_("게시할까요? 승인하면 이 초안으로 게시 준비 묶음이 텔레그램으로 갑니다.")&&(!H||await Y())){C(!0),L("");try{await u.decide(d.graphId,d.runId,"approved"),m()}catch(e){M(e,"decide")}finally{C(!1)}}}async function K(){if(_("이 게시 초안을 거절할까요?")){C(!0),L("");try{await u.decide(d.graphId,d.runId,"rejected"),m()}catch(e){M(e,"decide")}finally{C(!1)}}}(0,n.useEffect)(()=>{let e=!0,t=[],a="undefined"!=typeof URL&&"function"==typeof URL.createObjectURL;return Promise.all(F.map(async r=>{try{let n=await u.feedMedia(d.graphId,d.runId,r);if(!e||!a)return null;let s=URL.createObjectURL(n);return t.push(s),[r,s]}catch(e){return null}})).then(t=>{e&&A(Object.fromEntries(t.filter(e=>!!e)))}),()=>{e=!1,a&&"function"==typeof URL.revokeObjectURL&&t.forEach(e=>URL.revokeObjectURL(e))}},[u,d.graphId,d.runId,F]);let $=(null==(t=h.brand)?void 0:t.name)||"브랜드",q=$.trim().charAt(0).toUpperCase()||"\xb7",Q=x.hashtags.join(" "),X=x.cover.text!==(null!=(s=h.cover.renderedText)?s:h.cover.text)||x.cover.sub!==(null!=(l=h.cover.renderedSub)?l:h.cover.sub);return(0,r.jsxs)("article",{"aria-label":"피드 미리보기","data-feed-revision":h.revision,className:"mx-auto w-full max-w-md overflow-hidden rounded-xl border border-border bg-card text-foreground shadow-sm",children:[(0,r.jsxs)("header",{className:"flex items-center gap-3 px-3 py-2",children:[(0,r.jsx)("span",{"aria-hidden":!0,className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-muted text-sm font-semibold",children:q}),(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("p",{className:"truncate text-sm font-semibold",children:$}),(null==(a=h.brand)?void 0:a.handle)&&(0,r.jsx)("p",{className:"truncate text-xs text-muted-foreground",children:h.brand.handle})]}),(0,r.jsxs)("span",{className:"ml-auto shrink-0 text-xs text-muted-foreground",children:["수정 ",h.revision,H?" \xb7 저장 안 됨":""]})]}),(0,r.jsxs)("div",{className:"relative aspect-[4/5] w-full touch-pan-y select-none overflow-hidden bg-muted",onTouchStart:e=>{var t,a;P.current=null!=(a=null==(t=e.touches[0])?void 0:t.clientX)?a:null},onTouchEnd:e=>{var t;let a=P.current;P.current=null;let r=null==(t=e.changedTouches[0])?void 0:t.clientX;null==a||null==r||40>Math.abs(r-a)||V(r<a?1:-1)},children:[(null==T?void 0:T.image)&&D[T.image]?(0,r.jsx)("img",{src:D[T.image],alt:T.isCover?x.cover.text:null!=(o=T.caption)?o:"",className:"h-full w-full object-cover"}):(0,r.jsx)("div",{className:"flex h-full w-full items-center justify-center text-sm text-muted-foreground",children:"이미지 불러오는 중"}),G.length>1&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{type:"button","aria-label":"이전 장",disabled:0===v,onClick:()=>V(-1),className:"absolute left-2 top-1/2 -translate-y-1/2 rounded-full bg-black/40 px-2 py-1 text-white disabled:opacity-0",children:"‹"}),(0,r.jsx)("button",{type:"button","aria-label":"다음 장",disabled:v>=G.length-1,onClick:()=>V(1),className:"absolute right-2 top-1/2 -translate-y-1/2 rounded-full bg-black/40 px-2 py-1 text-white disabled:opacity-0",children:"›"})]})]}),G.length>1&&(0,r.jsx)("div",{"aria-label":"장 표시",className:"flex justify-center gap-1.5 py-2",children:G.map((e,t)=>(0,r.jsx)("span",{"data-dot":t===v?"on":"off",className:"h-1.5 w-1.5 rounded-full ".concat(t===v?"bg-primary":"bg-muted-foreground/40")},t))}),X&&(0,r.jsxs)("p",{"data-cover-pending":!0,className:"mx-3 mb-2 rounded border border-dashed border-border px-2 py-1 text-xs text-muted-foreground",children:["커버 문구 변경 — \xab",x.cover.text,x.cover.sub?" \xb7 ".concat(x.cover.sub):"","\xbb \xb7 게시 때 커버를 다시 그립니다"]}),(0,r.jsxs)("div",{className:"space-y-2 px-3 pb-3 text-sm",children:[(0,r.jsxs)("p",{className:"break-words",children:[(0,r.jsx)("span",{className:"font-semibold",children:$})," ",x.caption.hook]}),x.caption.body&&(j?(0,r.jsx)("p",{className:"whitespace-pre-wrap break-words",children:x.caption.body}):(0,r.jsx)("button",{type:"button",onClick:()=>k(!0),className:"text-muted-foreground",children:"더 보기"})),x.hashtags.length>0&&(0,r.jsx)("p",{className:"flex flex-wrap gap-x-1.5 text-primary",children:x.hashtags.map((e,t)=>(0,r.jsx)("span",{className:"whitespace-nowrap",children:e},"".concat(e,"-").concat(t)))}),x.location&&(0,r.jsxs)("p",{className:"text-xs text-muted-foreground",children:["\uD83D\uDCCD ",x.location]})]}),g&&(0,r.jsxs)("section",{"aria-label":"초안 편집",className:"space-y-3 border-t border-border px-3 py-3 text-sm",children:[(0,r.jsxs)("label",{className:"block",children:["커버 문구",(0,r.jsx)("input",{value:x.cover.text,onChange:e=>f({...x,cover:{...x.cover,text:e.target.value}}),className:"mt-1 w-full rounded border border-border bg-background px-2 py-1"})]}),(0,r.jsxs)("label",{className:"block",children:["커버 부제",(0,r.jsx)("input",{value:x.cover.sub,onChange:e=>f({...x,cover:{...x.cover,sub:e.target.value}}),className:"mt-1 w-full rounded border border-border bg-background px-2 py-1"})]}),(0,r.jsxs)("label",{className:"block",children:["첫 줄",(0,r.jsx)("input",{value:x.caption.hook,onChange:e=>f({...x,caption:{...x.caption,hook:e.target.value}}),className:"mt-1 w-full rounded border border-border bg-background px-2 py-1"})]}),(0,r.jsxs)("label",{className:"block",children:["본문",(0,r.jsx)("textarea",{value:x.caption.body,rows:4,onChange:e=>f({...x,caption:{...x.caption,body:e.target.value}}),className:"mt-1 w-full rounded border border-border bg-background px-2 py-1"})]}),(0,r.jsxs)("label",{className:"block",children:["해시태그(띄어쓰기로 구분)",(0,r.jsx)("input",{value:Q,onChange:e=>f({...x,hashtags:e.target.value.split(/\s+/).filter(Boolean)}),className:"mt-1 w-full rounded border border-border bg-background px-2 py-1"})]}),(0,r.jsxs)("label",{className:"block",children:["위치(비우면 없음)",(0,r.jsx)("input",{value:null!=(c=x.location)?c:"",onChange:e=>f({...x,location:e.target.value.trim()?e.target.value:null}),className:"mt-1 w-full rounded border border-border bg-background px-2 py-1"})]}),(0,r.jsx)("ol",{"aria-label":"사진 순서",className:"space-y-2",children:x.slides.map((e,t)=>(0,r.jsxs)("li",{"data-slide":e.image,className:"rounded border border-border p-2 ".concat(e.include?"":"opacity-50"),children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"w-6 shrink-0 text-xs text-muted-foreground",children:t+1}),(0,r.jsx)("input",{"aria-label":"".concat(t+1,"번 사진 설명"),value:e.caption,onChange:e=>z(t,{caption:e.target.value}),className:"min-w-0 flex-1 rounded border border-border bg-background px-2 py-1"})]}),(0,r.jsxs)("div",{className:"mt-2 flex gap-2",children:[(0,r.jsx)("button",{type:"button",disabled:0===t,onClick:()=>W(t,-1),className:"rounded border px-2 py-0.5 disabled:opacity-40",children:"앞으로"}),(0,r.jsx)("button",{type:"button",disabled:t===x.slides.length-1,onClick:()=>W(t,1),className:"rounded border px-2 py-0.5 disabled:opacity-40",children:"뒤로"}),(0,r.jsx)("button",{type:"button",onClick:()=>z(t,{include:!e.include}),className:"rounded border px-2 py-0.5",children:e.include?"빼기":"되살리기"})]})]},e.image))})]}),(I||U)&&(0,r.jsx)("p",{role:U?"alert":"status",className:"px-3 pb-2 text-sm ".concat(U?"text-red-600":"text-muted-foreground"),children:U||I}),U&&R&&(0,r.jsx)("p",{className:"px-3 pb-2 text-sm",children:(0,r.jsx)("a",{href:w.$Y,className:"font-medium underline","data-connect-token-link":!0,children:"연결 토큰 칸 열기 →"})}),(0,r.jsxs)("footer",{className:"flex flex-wrap gap-2 border-t border-border px-3 py-3",children:[(0,r.jsx)("button",{type:"button",disabled:S,onClick:()=>y(e=>!e),className:"rounded-lg border px-3 py-2 text-sm disabled:opacity-50",children:g?"편집 닫기":"편집"}),(0,r.jsx)("button",{type:"button",disabled:S||!H,onClick:()=>{Y()},className:"rounded-lg border px-3 py-2 text-sm disabled:opacity-50",children:"수정 저장"}),(0,r.jsx)("button",{type:"button",disabled:S,onClick:()=>{J()},className:"rounded-lg bg-blue-600 px-3 py-2 text-sm font-medium text-white disabled:opacity-50",children:"최종 게시"}),(0,r.jsx)("button",{type:"button",disabled:S,onClick:()=>{K()},className:"ml-auto rounded-lg px-3 py-2 text-sm text-muted-foreground disabled:opacity-50",children:"거절"})]})]})}function N(){let e,{client:t}=(0,o.Q)(),a=(0,n.useMemo)(()=>(0,w.ll)({client:t}),[t]),[s,l]=(0,n.useState)([]),[c,i]=(0,n.useState)(""),[d,u]=(0,n.useState)(!1),[m,p]=(0,n.useState)(!1),h=(0,n.useRef)((e=0,{begin:()=>e+=1,isLatest:t=>t===e})).current,b=(0,n.useCallback)(async()=>{let e=h.begin();try{let t=await a.list();if(!h.isLatest(e))return;l(t.items),i(""),u(!1)}catch(t){h.isLatest(e)&&(i((0,w.LP)(t,"list")),u((0,w.rH)(t)))}},[a,h]);async function x(e,t){if("rejected"!==t||window.confirm("".concat(y(e).title," 실행을 거절할까요?"))){p(!0),i(""),h.begin();try{await a.decide(e.graphId,e.runId,t),await b()}catch(e){i((0,w.LP)(e,"decide")),u((0,w.rH)(e))}finally{p(!1)}}}(0,n.useEffect)(()=>{b();let e=window.setInterval(()=>{b()},3e4);return()=>window.clearInterval(e)},[b]);let f=s.filter(e=>!!e.feed),g=s.filter(e=>!e.feed);return s.length||c?(0,r.jsxs)(r.Fragment,{children:[f.length>0&&(0,r.jsxs)("section",{"aria-label":"게시 대기",className:"mx-auto max-w-3xl space-y-4 px-4 pt-6 text-foreground sm:px-8",children:[(0,r.jsx)("h2",{className:"text-xl font-semibold",children:"게시 대기"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"고쳐서 저장해도 대기열에 남습니다. \xab최종 게시\xbb를 눌러야만 올라갑니다."}),f.map(e=>(0,r.jsx)(v,{item:e,api:a,onDecided:()=>{h.begin(),b()}},"".concat(e.graphId,"/").concat(e.runId)))]}),(g.length>0||c)&&(0,r.jsxs)("section",{"aria-label":"실행 승인",className:"mx-auto max-w-3xl space-y-4 px-4 pt-6 text-foreground sm:px-8",children:[(0,r.jsx)("h2",{className:"text-xl font-semibold",children:"실행 승인"}),c&&(0,r.jsx)("p",{role:"alert",className:"text-sm text-red-600",children:c}),c&&d&&(0,r.jsx)("p",{className:"text-sm",children:(0,r.jsx)("a",{href:w.$Y,className:"font-medium underline","data-connect-token-link":!0,children:"연결 토큰 칸 열기 →"})}),g.map(e=>{let t=y(e);return(0,r.jsxs)("article",{className:"rounded-xl border border-border bg-card p-5 shadow-sm",children:[(0,r.jsx)("h3",{className:"font-semibold",children:t.title}),(0,r.jsxs)("p",{className:"mt-1 text-sm text-muted-foreground",children:["멈춘 단계: ",t.nodeId," \xb7 ",t.waiting,"부터 대기 중"]}),(0,r.jsx)("p",{className:"mt-3 whitespace-pre-wrap break-words text-sm",children:t.message}),t.recent.length>0&&(0,r.jsxs)("div",{className:"mt-3 text-sm",children:[(0,r.jsx)("p",{className:"font-medium",children:"최근 단계"}),(0,r.jsx)("ul",{className:"mt-1 space-y-1",children:t.recent.map((e,t)=>(0,r.jsx)("li",{className:"break-words",children:e},t))})]}),(0,r.jsxs)("div",{className:"mt-4 flex gap-2",children:[(0,r.jsx)("button",{type:"button",disabled:m,onClick:()=>{x(e,"approved")},className:"rounded-lg bg-blue-600 px-4 py-2 text-sm font-medium text-white disabled:opacity-50",children:"승인"}),(0,r.jsx)("button",{type:"button",disabled:m,onClick:()=>{x(e,"rejected")},className:"rounded-lg border px-4 py-2 text-sm disabled:opacity-50",children:"거절"})]})]},"".concat(e.graphId,"/").concat(e.runId))})]})]}):null}function j(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(N,{}),(0,r.jsx)(g,{})]})}},89356:(e,t,a)=>{"use strict";a.d(t,{V5:()=>s,tV:()=>l});var r=a(24331);class n extends Error{constructor(e,t,a){super(a||t),this.status=e,this.error=t,this.reason=a,this.name="MergeApprovalsApiError"}}function s(e,t){return e instanceof n?401===e.status||"unauthorized"===e.error?{text:"이 기기에 소유자 토큰이 없어 승인 목록을 못 읽었습니다 — 이미 연결된 기기의 설정 › 연결 토큰 만들기 에서 토큰을 만들어, 이 기기의 설정 › 데몬 연결 › 연결 토큰 칸에 붙이면 바로 보입니다.",href:"/app/settings/#bearer-token"}:"gh-failed"===e.error?{text:"데몬이 GitHub 를 읽지 못했습니다(데몬 기계의 gh 로그인\xb7네트워크) — 잠시 뒤 다시 열어 보세요.".concat(e.reason?" 사유: ".concat(e.reason.split("\n")[0].slice(0,160)):"")}:"gh-invalid-response"===e.error?{text:"GitHub 응답을 해석하지 못했습니다 — 잠시 뒤 다시 열어 보세요."}:"approvals-repo-unknown"===e.error?{text:"승인할 저장소를 모릅니다 — 데몬 설정 intake.approvals.repo(예: owner/repo)를 채워 주세요.",href:"/app/settings/"}:e.reason?{text:e.reason}:{text:"".concat(t," (").concat(e.status," ").concat(e.error,")")}:e instanceof TypeError?{text:"데몬에 닿지 못했습니다 — 데몬이 켜져 있는지, 이 기기가 같은 네트워크(tailnet)에 있는지 확인하세요."}:{text:e instanceof Error&&e.message?e.message:t}}function l(e){var t,a;let s=null!=(t=e.fetchImpl)?t:fetch,l=(null!=(a=e.baseUrl)?a:"").replace(/\/+$/,"");async function o(t,a){let r={...a,headers:{"content-type":"application/json",...e.authHeader?{authorization:e.authHeader}:{}}},o=e.client?await e.client.fetchResponse(t,r):await s("".concat(l).concat(t),r),c=await o.json().catch(()=>null);if(!o.ok){var i;let e=c&&"object"==typeof c?c:{};throw new n(o.status,null!=(i=e.error)?i:"request-failed",e.reason)}return c}return{list:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"open";return o("merged"===e?"".concat(r.r5,"?state=merged"):r.r5)},get:e=>o("".concat(r.r5,"/").concat(e)),check:(e,t)=>o("".concat(r.r5,"/").concat(e,"/check"),{method:"POST",body:JSON.stringify({headSha:t})}),merge:(e,t)=>o("".concat(r.r5,"/").concat(e,"/merge"),{method:"POST",body:JSON.stringify({headSha:t})})}}},94087:(e,t,a)=>{"use strict";a.d(t,{GC:()=>n,In:()=>i,OG:()=>o});var r=a(64297);let n="elanous.pwa.role",s="elanous:pwa-role";function l(){try{let e=window.localStorage.getItem(n);if("owner"===e||"contributor"===e||"general"===e)return e}catch(e){}return"general"}function o(e){try{window.localStorage.setItem(n,e)}catch(e){}"function"==typeof window.dispatchEvent&&window.dispatchEvent(new Event(s))}function c(e){if("function"!=typeof window.addEventListener)return()=>{};window.addEventListener(s,e);let t=t=>{(t.key===n||null===t.key)&&e()};return window.addEventListener("storage",t),()=>{window.removeEventListener(s,e),window.removeEventListener("storage",t)}}function i(){return(0,r.useSyncExternalStore)(c,l,()=>"general")}}},e=>{e.O(0,[5464,9948,6396,5535,7358],()=>e(e.s=30233)),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2922],{342:(e,t,n)=>{"use strict";function r(e){let t=e.filter(e=>"cron"===e.kind&&e.id).map(e=>e.id);return t.length?"/scheduler?ids=".concat(t.map(encodeURIComponent).join(",")):null}n.d(t,{NE:()=>l,Yt:()=>o,on:()=>r});let s=["task","goal-loop","single-shot"],a=["scheduler","monitor-trigger"];function i(e){var t,n,r,i,o,l,d;let c=e.autopilot,u=null!=(t=null==c?void 0:c.executionModel)?t:null;return{id:e.id,goal:e.title||e.description||e.id,source:null!=(n=null==c?void 0:c.origin)?n:"human",status:null!=(r=null==c?void 0:c.apmStatus)?r:e.status,model:u,tier:null!=(i=null==c?void 0:c.tier)?i:null,engine:null!=(o=null==c?void 0:c.engine)?o:null,kind:(d=null!=(l=null==c?void 0:c.executionModel)?l:null)&&s.includes(d)?"finite":d&&a.includes(d)?"continuous":"other",reviewDue:!1,createdAt:new Date(e.createdAt).toISOString(),updatedAt:e.updatedAt,derived:e.derived,isAutopilot:null!=c,toxStatus:e.status,taskCount:e.taskCount,taskCounts:e.taskStatusCounts}}class o{async triagePreview(e,t){return this.client.fetchJson("/v1/autopilot/triage-preview",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({goal:e,...t?{category:t}:{}})})}async commitMission(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"intake",n=arguments.length>2?arguments[2]:void 0;return this.client.fetchJson("/v1/autopilot/triage-preview",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({goal:e,commit:!0,source:t,...n?{category:n}:{}})})}async missionsUnified(e){var t,n;let r=new URLSearchParams({...e?{status:e}:{}}).toString(),s=await this.client.fetchJson("/v1/missions".concat(r?"?".concat(r):"")),a=null!=(t=s.missions)?t:[];return{ok:!0,total:null!=(n=s.total)?n:a.length,missions:a.map(i)}}async trace(e){return this.client.fetchJson("/v1/autopilot/trace?id=".concat(encodeURIComponent(e)))}async missionArcMap(){var e,t,n;let r=await this.client.fetchJson("/v1/missions"),s=new Map;for(let a of null!=(e=r.missions)?e:[]){let e=null==(t=a.autopilot)?void 0:t.arcs;e&&e.length>0&&s.set(a.id,{apmStatus:null==(n=a.autopilot)?void 0:n.apmStatus,arcs:e})}return s}async missionAction(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.client.fetchJson("/v1/autopilot/mission-action",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({id:e,action:t,...n})})}async autonomy(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:50,t=arguments.length>1?arguments[1]:void 0,n=new URLSearchParams({limit:String(e),...t?{loop:t}:{}});return this.client.fetchJson("/v1/autopilot/autonomy?".concat(n.toString()))}async arming(){return this.client.fetchJson("/v1/autopilot/arming")}constructor(e){this.client=e}}let l={task:{label:"작업 분해",tone:"bg-sky-500/15 text-sky-200 ring-sky-500/30"},"goal-loop":{label:"목표 루프",tone:"bg-violet-500/15 text-violet-200 ring-violet-500/30"},scheduler:{label:"스케줄러",tone:"bg-emerald-500/15 text-emerald-200 ring-emerald-500/30"},"monitor-trigger":{label:"감시 트리거",tone:"bg-amber-500/15 text-amber-200 ring-amber-500/30"},hybrid:{label:"하이브리드",tone:"bg-fuchsia-500/15 text-fuchsia-200 ring-fuchsia-500/30"},fanout:{label:"병렬 팬아웃",tone:"bg-cyan-500/15 text-cyan-200 ring-cyan-500/30"},"single-shot":{label:"즉답",tone:"bg-muted text-muted-foreground ring-border"},"hitl-delegate":{label:"HITL 위임",tone:"bg-rose-500/15 text-rose-200 ring-rose-500/30"}}},39622:(e,t,n)=>{"use strict";n.d(t,{$:()=>l});var r=n(65245),s=n(49928),a=n(73783),i=n(43285);let o=(0,a.F)("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}});function l(e){let{className:t,variant:n="default",size:a="default",...l}=e;return(0,r.jsx)(s.$,{"data-slot":"button",className:(0,i.cn)(o({variant:n,size:a,className:t})),...l})}},43285:(e,t,n)=>{"use strict";n.d(t,{cn:()=>a});var r=n(89675),s=n(56335);function a(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.QP)((0,r.$)(t))}},59112:(e,t,n)=>{"use strict";n.d(t,{r:()=>o});var r=n(65245),s=n(42541),a=n.n(s);let i=[{key:"autopilot",href:"/autopilot",num:"①",label:"미션",sub:"Autopilot"},{key:"tasks",href:"/tasks",num:"②",label:"작업",sub:"Tasks"},{key:"scheduler",href:"/scheduler",num:"③",label:"스케줄",sub:"Schedules"}];function o(e){let{active:t}=e;return(0,r.jsxs)("nav",{"aria-label":"Mission Fabric 파이프라인","data-testid":"fabric-stage-header",className:"flex flex-wrap items-center gap-1 text-xs",children:[(0,r.jsx)("span",{className:"mr-1 text-muted-foreground",children:"Missions"}),i.map((e,n)=>(0,r.jsxs)("span",{className:"flex items-center gap-1",children:[(0,r.jsxs)(a(),{href:e.href,"aria-current":e.key===t?"page":void 0,className:["rounded px-2 py-1 ring-1 transition-colors",e.key===t?"bg-primary/15 font-medium text-foreground ring-primary/40":"text-muted-foreground ring-border hover:bg-muted hover:text-foreground"].join(" "),children:[(0,r.jsx)("span",{className:"mr-1",children:e.num}),e.label,(0,r.jsx)("span",{className:"ml-1 text-[10px] opacity-70",children:e.sub})]}),n<i.length-1&&(0,r.jsx)("span",{className:"text-muted-foreground/50","aria-hidden":!0,children:"→"})]},e.key))]})}},67598:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>I});var r=n(65245),s=n(64297),a=n(79836),i=n(39622);let o=["dig","backtest","trade","retro","replay","delegate","autopilot"],l={trade:"bg-rose-500/15 text-rose-300 ring-rose-500/30",dig:"bg-sky-500/15 text-sky-200 ring-sky-500/30",backtest:"bg-violet-500/15 text-violet-200 ring-violet-500/30",retro:"bg-amber-500/15 text-amber-200 ring-amber-500/30",replay:"bg-indigo-500/15 text-indigo-200 ring-indigo-500/30",delegate:"bg-emerald-500/15 text-emerald-200 ring-emerald-500/30",autopilot:"bg-fuchsia-500/15 text-fuchsia-200 ring-fuchsia-500/30"};function d(e){let{api:t}=e,[n,a]=(0,s.useState)([]),[d,c]=(0,s.useState)(null),[u,m]=(0,s.useState)(!0),x=(0,s.useCallback)(async()=>{m(!0);try{var e;let n=await t.autonomy(80,null!=d?d:void 0);a(null!=(e=n.actions)?e:[])}catch(e){}finally{m(!1)}},[t,d]);return(0,s.useEffect)(()=>{x()},[x]),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,r.jsx)("button",{type:"button",onClick:()=>c(null),className:["rounded px-2 py-0.5 text-xs ring-1",null===d?"bg-primary/20 text-foreground ring-primary/40":"bg-muted text-muted-foreground ring-border"].join(" "),children:"전체"}),o.map(e=>{var t;return(0,r.jsx)("button",{type:"button",onClick:()=>c(e),className:["rounded px-2 py-0.5 text-xs ring-1",d===e?null!=(t=l[e])?t:"bg-primary/20 ring-primary/40":"bg-muted text-muted-foreground ring-border"].join(" "),children:e},e)}),(0,r.jsx)(i.$,{size:"sm",variant:"outline",className:"ml-auto",onClick:()=>void x(),children:"새로고침"})]}),u?(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"불러오는 중…"}):0===n.length?(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"아직 기록된 자율행동이 없습니다. 자율루프가 돌면 여기에 “무엇을 왜 했나”가 쌓입니다."}):(0,r.jsx)("ul",{className:"space-y-2",children:n.map((e,t)=>{var n;return(0,r.jsxs)("li",{className:"rounded-lg border border-border bg-card/50 p-3",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:["rounded px-2 py-0.5 text-xs ring-1",null!=(n=l[e.loop])?n:"bg-muted text-muted-foreground ring-border"].join(" "),children:e.loop}),(0,r.jsx)("span",{className:"text-xs text-muted-foreground",children:function(e){try{return new Intl.DateTimeFormat("ko-KR",{timeZone:"Asia/Seoul",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}).format(new Date(e))}catch(t){return e.slice(5,16)}}(e.ts)}),e.importance>=8&&(0,r.jsx)("span",{className:"rounded bg-rose-500/15 px-1.5 text-[10px] text-rose-300 ring-1 ring-rose-500/30",children:"중요"})]}),(0,r.jsx)("pre",{className:"mt-1.5 whitespace-pre-wrap font-sans text-sm text-foreground/90",children:e.text})]},"".concat(e.ts,"-").concat(t))})})]})}var c=n(42541),u=n.n(c),m=n(342);let x=new Set(["done","failed","disarmed","rejected","completed","cancelled"]);function p(e){return x.has(null!=e?e:"")}function g(){return"갱신이 ".concat(14,"일 넘게 없으면 \xab멈춤\xbb으로 본다 — 마지막 갱신 이후 진행 흔적이 없다는 뜻이다.")}function h(e){return null==e?"파생 미측정":"파생 ".concat(e.total)}let b={ok:{icon:"✅",tone:"text-emerald-300",label:"정상"},done:{icon:"✅",tone:"text-emerald-300",label:"완료"},stale:{icon:"⏰",tone:"text-amber-300",label:"밀림"},error:{icon:"❌",tone:"text-rose-400",label:"실패"},active:{icon:"\uD83D\uDD35",tone:"text-sky-300",label:"실행중"},pending:{icon:"⏳",tone:"text-muted-foreground",label:"대기"}},f={cron:"크론",task:"태스크",action:"자율행동"};function v(e){var t;let{counts:n,total:s}=e,a=Object.entries(null!=n?n:{}).filter(e=>{let[,t]=e;return t>0});if(!s||0===s)return(0,r.jsx)("span",{className:"text-xs text-muted-foreground",children:"태스크 0"});let i=null!=(t=null==n?void 0:n.done)?t:0;return(0,r.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,r.jsxs)("span",{className:"text-xs text-muted-foreground",children:["태스크 ",i,"/",s]}),a.map(e=>{let[t,n]=e;return(0,r.jsxs)("span",{className:"text-[11px] text-muted-foreground",children:[t,":",n]},t)})]})}function y(e){let{r:t}=e;if(!t||0===t.total)return(0,r.jsx)("span",{className:"text-xs text-muted-foreground",...t?{}:{title:"서버가 파생 롤업을 싣지 않았다 — \xab파생 0\xbb이 아니라 \xab못 잰\xbb 값이다(구 서버 \xb7 집계 실패)."},children:h(t)});let n=(e,t)=>e>0?(0,r.jsxs)("span",{className:["text-xs",b[t].tone].join(" "),children:[b[t].icon,e]},t):null;return(0,r.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,r.jsx)("span",{className:"text-xs text-muted-foreground",children:h(t)}),n(t.ok,"ok"),n(t.stale,"stale"),n(t.error,"error"),n(t.active,"active"),n(t.pending,"pending")]})}function j(e){let{api:t,m:n,onDone:a}=e,o="scheduler"===n.model,l="task"===n.model,[d,c]=(0,s.useState)(""),[u,m]=(0,s.useState)(""),[x,p]=(0,s.useState)(""),[g,h]=(0,s.useState)(null),[b,f]=(0,s.useState)(null);if(!o&&!l)return(0,r.jsxs)("p",{className:"text-xs text-muted-foreground",children:["이 실행모델(",n.model,")은 지속 잡을 만들지 않아 구체화 대상이 아닙니다."]});let v=async e=>{h(e),f(null);let r=o?{command:d.trim(),...u.trim()?{cron:u.trim()}:{}}:{...x.trim()?{prompt:x.trim()}:{}};try{let i=await t.missionAction(n.id,e,r);if(i.error)f("오류: ".concat(i.error));else{var s;f("arm"===e?"승인\xb7arming ON 시 자동 실행":"구체화 완료(".concat(null!=(s=i.engine)?s:"",")")),a()}}catch(e){f(e instanceof Error?e.message:String(e))}finally{h(null)}};return(0,r.jsxs)("div",{className:"mt-3 space-y-2 rounded-md border border-border bg-background/50 p-2.5",children:[o&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("input",{value:d,onChange:e=>c(e.target.value),placeholder:"실행할 명령 (예: scripts/foo.ts) — 필수",className:"w-full rounded border border-border bg-background px-2 py-1 text-xs"}),(0,r.jsx)("input",{value:u,onChange:e=>m(e.target.value),placeholder:"cron (선택 \xb7 비우면 골에서 추론)",className:"w-full rounded border border-border bg-background px-2 py-1 font-mono text-xs"})]}),l&&(0,r.jsx)("input",{value:x,onChange:e=>p(e.target.value),placeholder:"태스크 내용 (선택 \xb7 비우면 골 사용)",className:"w-full rounded border border-border bg-background px-2 py-1 text-xs"}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(i.$,{size:"sm",disabled:!!g||o&&!d.trim(),onClick:()=>void v("materialize"),children:"materialize"===g?"…":"지금 구체화"}),(0,r.jsx)(i.$,{size:"sm",variant:"outline",disabled:!!g||o&&!d.trim(),onClick:()=>void v("arm"),children:"arm"===g?"…":"승인(arm)"}),b&&(0,r.jsx)("span",{className:"text-xs text-muted-foreground",children:b})]})]})}function N(e){let{api:t,m:n,onMutate:a}=e,o=!1===n.isAutopilot,[l,d]=(0,s.useState)(!1),[c,x]=(0,s.useState)(null),[h,N]=(0,s.useState)(!1),k=n.model?m.NE[n.model]:null,w=function(e,t,n){var r;if(void 0===e||!Number.isFinite(e)||!Number.isFinite(t))return null;let s=new Date(e);if(!Number.isFinite(s.getTime()))return null;let a=new Intl.DateTimeFormat("en-CA",{timeZone:null==n?void 0:n.timeZone,year:"numeric",month:"2-digit",day:"2-digit"}).formatToParts(s),i=e=>{var t;return null==(t=a.find(t=>t.type===e))?void 0:t.value},o="".concat(i("year"),"-").concat(i("month"),"-").concat(i("day")),l=Math.floor((t-e)/864e5);return{stale:!p(null==n?void 0:n.status)&&l>=(null!=(r=null==n?void 0:n.thresholdDays)?r:14),days:l,lastUpdated:o}}(n.updatedAt,Date.now(),{status:n.status}),S=(null==w?void 0:w.stale)?w:null,[C,z]=(0,s.useState)(!1),A=(0,s.useCallback)(async()=>{N(!0);try{x(await t.trace(n.id))}catch(e){}finally{N(!1)}},[t,n.id]),[E,D]=(0,s.useState)(!1),[I,O]=(0,s.useState)(!1),[P,U]=(0,s.useState)(null),M=!o&&"proposed"===n.status,T=(0,s.useCallback)(async()=>{let e=!l;d(e),!e||c||o||await A()},[l,c,A,o]),$=(0,s.useCallback)(async()=>{D(!0),U(null);try{await t.missionAction(n.id,"cancel"),z(!1),await A(),a()}catch(e){}finally{D(!1)}},[t,n.id,A,a]),J=(0,s.useCallback)(async()=>{O(!0),U(null);try{var e;let r=await t.missionAction(n.id,"approve");r.error?U("오류: ".concat(r.error)):U("✅ 승인 — 태스크 ".concat(null!=(e=r.activated)?e:0,"건 실행 시작(ready). 미션 running.")),await A()}catch(e){U(e instanceof Error?e.message:String(e))}finally{O(!1)}},[t,n.id,A]);return(0,r.jsxs)("div",{className:"rounded-lg border border-border bg-card/50",children:[(0,r.jsxs)("div",{className:"flex items-start",children:[(0,r.jsxs)("button",{type:"button",onClick:()=>void T(),className:"flex min-w-0 flex-1 items-start gap-3 p-3 text-left",children:[(0,r.jsx)("span",{className:"mt-0.5 text-muted-foreground",children:l?"▾":"▸"}),(0,r.jsxs)("div",{className:"min-w-0 flex-1 space-y-1.5",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[o?(0,r.jsx)("span",{className:"rounded bg-slate-500/15 px-2 py-0.5 text-xs font-medium text-slate-300 ring-1 ring-slate-500/30",children:"사람 \xb7 intake"}):k&&(0,r.jsx)("span",{className:["rounded px-2 py-0.5 text-xs font-medium ring-1",k.tone].join(" "),children:k.label}),!o&&"continuous"===n.kind&&(0,r.jsx)("span",{className:"rounded bg-sky-500/15 px-1.5 py-0.5 text-[11px] text-sky-300 ring-1 ring-sky-500/30",children:"상시"}),!o&&"finite"===n.kind&&(0,r.jsx)("span",{className:"rounded bg-violet-500/15 px-1.5 py-0.5 text-[11px] text-violet-300 ring-1 ring-violet-500/30",children:"유한"}),(0,r.jsx)("span",{className:"rounded bg-muted px-1.5 py-0.5 text-[11px] text-muted-foreground ring-1 ring-border",children:n.source}),M?(0,r.jsx)("span",{className:"rounded bg-amber-500/15 px-1.5 py-0.5 text-[11px] font-medium text-amber-300 ring-1 ring-amber-500/40",children:"승인 대기"}):(0,r.jsx)("span",{className:"rounded bg-muted px-1.5 py-0.5 text-[11px] text-muted-foreground ring-1 ring-border",children:n.status}),n.reviewDue&&(0,r.jsx)("span",{className:"rounded bg-amber-500/15 px-1.5 py-0.5 text-[11px] text-amber-300 ring-1 ring-amber-500/30",children:"⚠ 30일+ 리뷰"}),o?(0,r.jsx)(v,{counts:n.taskCounts,total:n.taskCount}):(0,r.jsx)(y,{r:n.derived}),S&&(0,r.jsx)("span",{className:"rounded bg-amber-500/15 px-1.5 py-0.5 text-[11px] font-medium text-amber-300 ring-1 ring-amber-500/30",title:g(),children:"".concat(S.days,"일 멈춤 \xb7 마지막 갱신 ").concat(S.lastUpdated)})]}),(0,r.jsx)("p",{className:"truncate text-sm text-foreground/90",children:n.goal}),(0,r.jsx)("p",{className:"font-mono text-[10px] text-muted-foreground",children:n.id})]})]}),S&&!o&&(0,r.jsxs)("div",{className:"mr-3 mt-3 flex shrink-0 flex-col items-end gap-1.5",children:[(0,r.jsx)(i.$,{size:"sm",variant:"outline",disabled:E,onClick:()=>z(e=>!e),"aria-expanded":C,"aria-controls":"mission-close-confirm-".concat(n.id),className:"border-amber-500/40 text-amber-300 hover:text-amber-200",children:E?"종료 중…":"닫기 제안"}),C&&(0,r.jsxs)("div",{id:"mission-close-confirm-".concat(n.id),role:"group","aria-label":"미션 종료 확인",className:"w-60 space-y-1.5 rounded-md border border-amber-500/40 bg-amber-500/5 p-2",children:[(0,r.jsx)("p",{className:"text-[11px] leading-snug text-amber-200/90",children:g()}),(0,r.jsxs)("p",{className:"text-[11px] leading-snug text-muted-foreground",children:[S.days,"일째 갱신 없음 \xb7 파생 잡까지 release 되며 되돌릴 수 없다."]}),(0,r.jsxs)("div",{className:"flex items-center justify-end gap-1.5",children:[(0,r.jsx)(i.$,{size:"sm",variant:"ghost",disabled:E,className:"h-7 px-2 text-[11px] text-muted-foreground",onClick:()=>z(!1),children:"취소"}),(0,r.jsx)(i.$,{size:"sm",variant:"outline",disabled:E,className:"h-7 border-rose-500/50 px-2 text-[11px] text-rose-300 hover:text-rose-200",onClick:()=>void $(),children:E?"종료 중…":"종료 확인"})]})]})]}),S&&o&&(0,r.jsxs)("div",{className:"mr-3 mt-3 flex shrink-0 flex-col items-end gap-1.5",children:[(0,r.jsx)(u(),{href:"/tasks",title:"".concat(S.days,"일째 갱신 없음 \xb7 ").concat(g()),className:"inline-flex h-8 items-center rounded-md border border-amber-500/40 px-3 text-xs font-medium text-amber-300 hover:text-amber-200",children:"닫기 제안 — 작업 보드"}),(0,r.jsxs)("span",{className:"max-w-[15rem] text-right text-[11px] leading-snug text-muted-foreground",children:[S.days,"일째 갱신 없음 \xb7 사람 미션은 작업 보드에서 닫습니다"]})]})]}),l&&o&&(0,r.jsxs)("div",{className:"border-t border-border px-4 py-3 space-y-2",children:[(0,r.jsx)("p",{className:"text-xs text-muted-foreground",children:"사람이 Intake 로 만든 미션입니다. 실행은 Task 보드에서 진행됩니다."}),(0,r.jsx)(v,{counts:n.taskCounts,total:n.taskCount}),(0,r.jsx)(u(),{href:"/tasks",className:"inline-block text-xs text-primary hover:underline",children:"② 작업 보드에서 보기 →"})]}),l&&!o&&(0,r.jsxs)("div",{className:"border-t border-border px-4 py-3",children:[M&&(0,r.jsxs)("div",{className:"mb-3 space-y-2 rounded-md border border-amber-500/30 bg-amber-500/5 p-3",children:[(0,r.jsx)("p",{className:"text-sm font-medium text-amber-200",children:"자동 분해 완료 \xb7 승인 대기"}),(0,r.jsxs)("p",{className:"text-xs text-muted-foreground",children:["골을 태스크로 자동 구체화했습니다(아직 ",(0,r.jsx)("b",{children:"실행 안 함"}),"). 승인하면 실행이 시작됩니다.","scheduler"===n.model&&" 반복 스케줄은 승인 후 배선됩니다."]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(i.$,{size:"sm",disabled:I||E,onClick:()=>void J(),children:I?"승인 중…":"✅ 승인(실행 시작)"}),(0,r.jsx)(i.$,{size:"sm",variant:"ghost",disabled:I||E,onClick:()=>void $(),className:"text-rose-400 hover:text-rose-300",children:E?"거절 중…":"거절"}),P&&(0,r.jsx)("span",{className:"text-xs text-muted-foreground",children:P})]})]}),h&&(0,r.jsx)("p",{className:"text-xs text-muted-foreground",children:"계보 조회 중…"}),c&&0===c.derived.length&&(0,r.jsx)("p",{className:"text-xs text-muted-foreground",children:c.note}),c&&(0,m.on)(c.derived)&&(0,r.jsxs)(u(),{href:(0,m.on)(c.derived),className:"mb-2 inline-block text-xs text-primary hover:underline","data-mission-schedules":!0,children:["이 미션을 부르는 스케줄 ",c.derived.filter(e=>"cron"===e.kind&&e.id).length," →"]}),c&&c.derived.length>0&&(0,r.jsx)("ul",{className:"space-y-1.5",children:c.derived.map((e,t)=>{let n=b[e.status];return(0,r.jsxs)("li",{className:"flex items-start gap-2 text-sm",children:[(0,r.jsx)("span",{className:n.tone,children:n.icon}),(0,r.jsx)("span",{className:"rounded bg-muted px-1.5 py-0.5 text-[10px] text-muted-foreground ring-1 ring-border",children:f[e.kind]}),(0,r.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,r.jsx)("span",{className:"text-foreground/90",children:e.name}),e.detail&&(0,r.jsx)("span",{className:"ml-2 text-xs text-muted-foreground",children:e.detail})]})]},t)})}),c&&!p(n.status)&&!M&&(0,r.jsxs)("div",{className:"mt-2 flex items-center gap-2",children:[(0,r.jsx)(i.$,{size:"sm",variant:"ghost",disabled:E,onClick:()=>void $(),className:"text-rose-400 hover:text-rose-300",children:E?"종료 중…":"미션 종료(파생 잡 release)"}),"continuous"===n.kind&&(0,r.jsx)("span",{className:"text-[11px] text-muted-foreground",children:"상시 미션 — 종료 전까지 계속 실행"})]}),c&&!M&&(0,r.jsx)(j,{api:t,m:n,onDone:()=>void A()})]})]})}function k(e){let{api:t,onCommitted:n}=e,[a,o]=(0,s.useState)(""),[l,d]=(0,s.useState)(null),[c,u]=(0,s.useState)(!1),[x,p]=(0,s.useState)(!1),[g,h]=(0,s.useState)(null),b=(0,s.useCallback)(async()=>{let e=a.trim();if(e){u(!0),h(null);try{d((await t.triagePreview(e)).triage)}catch(e){h(e instanceof Error?e.message:String(e))}finally{u(!1)}}},[t,a]),f=(0,s.useCallback)(async()=>{let e=a.trim();if(e){p(!0),h(null);try{(await t.commitMission(e,"intake")).missionId?(o(""),d(null),n()):h("미션 생성 실패")}catch(e){h(e instanceof Error?e.message:String(e))}finally{p(!1)}}},[t,a,n]),v=l?m.NE[l.executionModel]:null;return(0,r.jsxs)("div",{className:"space-y-2 rounded-lg border border-border bg-card/40 p-3",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsxs)("span",{className:"text-sm font-medium",children:["골 던지기 ",(0,r.jsx)("span",{className:"text-xs font-normal text-muted-foreground",children:"— 소망을 말하면 미션이 됩니다"})]}),(0,r.jsx)("span",{className:"text-[11px] text-muted-foreground",children:"텔레그램에선 “미션:” 마커로"})]}),(0,r.jsx)("textarea",{value:a,onChange:e=>o(e.target.value),onKeyDown:e=>{"Enter"===e.key&&(e.metaKey||e.ctrlKey)&&b()},placeholder:"예: 삼성전자 급락하면 매매 검토 / 이 주제 끝까지 파봐 / 매일 아침 반도체 뉴스 정리",className:"min-h-[60px] w-full resize-y rounded-md border border-border bg-background px-3 py-2 text-sm"}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,r.jsx)(i.$,{onClick:()=>void b(),disabled:c||!a.trim(),size:"sm",variant:"outline",children:c?"분류 중…":"Triage (⌘↵)"}),(0,r.jsx)(i.$,{onClick:()=>void f(),disabled:x||!a.trim(),size:"sm",children:x?"커밋 중…":"미션 커밋 →"}),l&&v&&(0,r.jsxs)("span",{className:"flex flex-wrap items-center gap-1.5 text-xs",children:[(0,r.jsx)("span",{className:["rounded px-2 py-0.5 ring-1",v.tone].join(" "),children:v.label}),(0,r.jsx)("span",{className:"rounded bg-muted px-1.5 py-0.5 text-muted-foreground ring-1 ring-border",children:"heavy"===l.tier?"무거움":"가벼움"}),(0,r.jsx)("span",{className:"text-muted-foreground",children:l.rationale})]}),g&&(0,r.jsx)("span",{className:"text-xs text-rose-400",children:g})]})]})}function w(e){var t,n;let{api:a}=e,[o,l]=(0,s.useState)(null),[d,c]=(0,s.useState)(null),[u,m]=(0,s.useState)(!1),x=(0,s.useCallback)(async()=>{m(!0),c(null);try{let e=[...(await a.missionsUnified()).missions].sort((e,t)=>e.createdAt<t.createdAt?1:-1);l(e)}catch(e){c(e instanceof Error?e.message:String(e))}finally{m(!1)}},[a]);(0,s.useEffect)(()=>{x()},[x]);let p=(0,s.useCallback)(()=>{x()},[x]),g=null!=(t=null==o?void 0:o.filter(e=>e.isAutopilot).length)?t:0,h=(null!=(n=null==o?void 0:o.length)?n:0)-g;return(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsxs)("p",{className:"text-sm text-muted-foreground",children:["모든 미션(사람 intake + 자율)의 계보\xb7실행 상태.",o&&(0,r.jsxs)("span",{className:"ml-1 text-[11px]",children:["자율 ",g," \xb7 사람 ",h]})]}),(0,r.jsx)(i.$,{onClick:()=>void x(),disabled:u,size:"sm",variant:"outline",children:u?"…":"새로고침"})]}),(0,r.jsx)(k,{api:a,onCommitted:()=>void x()}),d&&(0,r.jsx)("p",{className:"text-xs text-rose-400",children:d}),o&&0===o.length&&(0,r.jsx)("p",{className:"rounded-lg border border-dashed border-border p-6 text-center text-sm text-muted-foreground",children:"아직 미션이 없습니다. 위 “골 던지기”로 자율 미션을 만들거나, Intake 에서 메모를 포착하세요."}),o&&o.length>0&&(0,r.jsx)("div",{className:"space-y-2",children:o.map(e=>(0,r.jsx)(N,{api:a,m:e,onMutate:p},e.id))})]})}var S=n(86746);function C(e){let{client:t}=e,[n,a]=(0,s.useState)({total:0,items:[],error:null,loading:!0});return(0,s.useEffect)(()=>{let e=!0;return a({total:0,items:[],error:null,loading:!0}),(0,S.qK)(t).then(t=>{let n=[...t].sort((e,t)=>{var n,r;return(e.dueAt?Date.parse(e.dueAt):1/0)-(t.dueAt?Date.parse(t.dueAt):1/0)||(null!=(n=e.raisedAt)?n:"").localeCompare(null!=(r=t.raisedAt)?r:"")});e&&a({total:n.length,items:n.slice(0,3),error:null,loading:!1})}).catch(t=>{e&&a({total:0,items:[],error:t instanceof Error?t.message:String(t),loading:!1})}),()=>{e=!1}},[t]),(0,r.jsxs)("section",{"aria-label":"결정 대기",className:"mb-4 rounded-xl border border-border bg-card p-4",children:[n.loading?(0,r.jsx)("p",{role:"status",children:"결정 대기 읽는 중"}):n.error?(0,r.jsxs)("p",{role:"alert",children:["결정 대기 못 읽음 \xb7 ",n.error]}):0===n.total?(0,r.jsx)("p",{children:"열린 결정 없음"}):(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-sm font-medium",children:"결정 대기 ".concat(n.total,"건").concat(n.total>n.items.length?" \xb7 상위 3건 표시":"")}),(0,r.jsx)("ol",{className:"mt-2 space-y-1",children:n.items.map(e=>(0,r.jsx)("li",{className:"text-sm break-words",children:(0,r.jsx)("span",{"aria-label":e.title,children:"".concat(e.title).concat(e.dueAt?" \xb7 기한 ".concat(e.dueAt):"")})},e.id))})]}),(0,r.jsx)("a",{href:"/decisions",className:"mt-2 inline-block text-sm underline",children:"결정 대기 카드 열기"})]})}var z=n(59112);let A=[{id:"missions",label:"Missions"},{id:"autonomy",label:"자율행동"}];function E(e){var t;let{arming:n}=e;if(!n)return null;let s=(e,t)=>(0,r.jsxs)("span",{className:["rounded px-2 py-0.5 text-xs ring-1",e?"bg-emerald-500/15 text-emerald-300 ring-emerald-500/30":"bg-muted text-muted-foreground ring-border"].join(" "),children:[t," ",e?"ON":"OFF"]});return(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2 text-xs text-muted-foreground",children:[(0,r.jsx)("span",{children:"자율 경계:"}),s(n.absorb,"흡수 PR초안(".concat(n.absorbBackend,")")),s(n.merge,"mandate merge"),s(n.reboot,"재부팅"),s(null!=(t=n.materialize)&&t,"자율 구체화"),(0,r.jsx)("span",{className:"text-[11px]",children:"\xb7 재부팅은 항상 HITL \xb7 기본 disarmed(fail-closed)"})]})}function D(){let{client:e}=(0,a.Q)(),t=(0,s.useMemo)(()=>new m.Yt(e),[e]),[n,i]=(0,s.useState)("missions"),[o,l]=(0,s.useState)(null);return(0,s.useEffect)(()=>{let e=!0;return t.arming().then(t=>{e&&l(t.arming)}).catch(()=>{}),()=>{e=!1}},[t]),(0,r.jsxs)("div",{className:"mx-auto max-w-[1400px] px-4 pt-4",children:[(0,r.jsx)("div",{className:"mb-3",children:(0,r.jsx)(z.r,{active:"autopilot"})}),(0,r.jsxs)("div",{className:"mb-3 space-y-2",children:[(0,r.jsxs)("h1",{className:"text-lg font-semibold",children:["Missions ",(0,r.jsx)("span",{className:"text-sm font-normal text-muted-foreground",children:"미션 지휘 센터 \xb7 Autopilot"})]}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"미션(사람 + 자율)의 계보\xb7상태\xb7자율행동. 아래 “골 던지기” 또는 텔레그램 “미션:” 마커로 소망을 던지면 미션이 됩니다."}),(0,r.jsx)(E,{arming:o})]}),(0,r.jsx)(C,{client:e}),(0,r.jsx)("div",{className:"flex gap-1 border-b border-border",children:A.map(e=>(0,r.jsx)("button",{type:"button",onClick:()=>i(e.id),className:["-mb-px border-b-2 px-4 py-2 text-sm font-medium transition-colors",n===e.id?"border-primary text-foreground":"border-transparent text-muted-foreground hover:text-foreground"].join(" "),children:e.label},e.id))}),(0,r.jsxs)("div",{className:"py-4",children:["missions"===n&&(0,r.jsx)(w,{api:t}),"autonomy"===n&&(0,r.jsx)(d,{api:t})]})]})}function I(){return(0,r.jsx)(D,{})}},75117:(e,t,n)=>{"use strict";n.d(t,{Zr:()=>i,f6:()=>s,oD:()=>a});let r="elanous.daemon.sessionId";function s(){return"undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"s-".concat(Date.now().toString(36),"-").concat(Math.random().toString(36).slice(2,10))}function a(){let e=function(){let e=new URLSearchParams(window.location.search).get("session");return e?(localStorage.setItem(r,e),e):localStorage.getItem(r)}();if(e)return e;let t=s();return localStorage.setItem(r,t),t}function i(){let e=s();return localStorage.setItem(r,e),e}},79596:(e,t,n)=>{Promise.resolve().then(n.bind(n,67598))},79836:(e,t,n)=>{"use strict";n.d(t,{C:()=>d,DaemonProvider:()=>c,Q:()=>u});var r=n(65245),s=n(64297),a=n(67890),i=n(75117),o=n(79948),l=n(62391);let d=(0,s.createContext)(null);function c(e){let{children:t}=e,n={baseUrl:"",token:"",provider:""},[c,u]=(0,s.useState)(n),[m,x]=(0,s.useState)(""),[p]=(0,s.useState)(()=>new o.ki(n));(0,s.useEffect)(()=>{let e=(0,a.Fp)();u(e),p.updateConfig(e),x((0,i.oD)()),(0,l.cY)("webterm.provider.daemon.init",{baseUrl:e.baseUrl,hasToken:!!e.token})},[p]),(0,s.useEffect)(()=>{let e=e=>{if("elanous.daemon.token"===e.key||"elanous.nexus.baseUrl"===e.key){let t=(0,a.Fp)();p.updateConfig(t),u(t),(0,l.cY)("webterm.provider.daemon.config-cross-tab",{key:e.key,hasToken:!!t.token});return}"elanous.daemon.sessionId"===e.key&&e.newValue&&x(t=>t===e.newValue?t:((0,l.cY)("webterm.provider.daemon.session-cross-tab",{previous:t||"(empty)",next:e.newValue}),e.newValue))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[p]);let g=e=>{u(t=>{let n={...t,...e};return(0,a.Qc)(e),p.updateConfig(n),(0,l.cY)("webterm.provider.daemon.config-update",{keys:Object.keys(e)}),n})},h=e=>{x(e),localStorage.setItem("elanous.daemon.sessionId",e),(0,l.cY)("webterm.provider.daemon.session-set",{sessionId:e})},b=(0,s.useMemo)(()=>({config:c,setConfig:g,client:p,sessionId:m,setSessionId:h}),[c,p,m]);return(0,r.jsx)(d.Provider,{value:b,children:t})}function u(){let e=(0,s.useContext)(d);if(!e)throw Error("useDaemon must be used inside <DaemonProvider>");return e}},86746:(e,t,n)=>{"use strict";async function r(e){let t=await e.fetchResponse("/v1/ops-board/notices");if(!t.ok)throw Error("notices list failed: ".concat(t.status));return(await t.json()).notices}async function s(e,t,n){let r=await e.fetchResponse("/v1/ops-board/notices",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({noticeId:t,body:n})});if(!r.ok)throw Error("notice reply failed: ".concat(r.status));return(await r.json()).reply}async function a(e){let t=await e.fetchResponse("/v1/decisions?status=open");if(!t.ok)throw Error("decisions list failed: ".concat(t.status));return(await t.json()).decisions}async function i(e,t,n,r){let s=await e.fetchResponse("/v1/decisions/".concat(encodeURIComponent(t),"/decide"),{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({choice:n,...void 0===r?{}:{note:r}})});if(!s.ok)throw Error("decision failed: ".concat(s.status));return s.json()}n.d(t,{LD:()=>i,aj:()=>s,kh:()=>r,qK:()=>a})}},e=>{e.O(0,[3177,3162,2541,9948,6396,5535,7358],()=>e(e.s=79596)),_N_E=e.O()}]);