openpond 0.0.30-bootstrap.0

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 (193) hide show
  1. package/CHANGELOG.md +128 -0
  2. package/LICENSE +21 -0
  3. package/README.md +162 -0
  4. package/RELEASE.md +20 -0
  5. package/dist/api/core.d.ts +22 -0
  6. package/dist/api/deployments.d.ts +30 -0
  7. package/dist/api/types.d.ts +624 -0
  8. package/dist/api.d.ts +90 -0
  9. package/dist/cache.d.ts +22 -0
  10. package/dist/chunks/app-layer-YKXEQGOW.js +163 -0
  11. package/dist/chunks/apps-GGSIN2ZF.js +539 -0
  12. package/dist/chunks/chunk-3CC6MH35.js +1663 -0
  13. package/dist/chunks/chunk-3Y4EL3P6.js +1090 -0
  14. package/dist/chunks/chunk-4HYJG2JE.js +3875 -0
  15. package/dist/chunks/chunk-5G4E547X.js +294 -0
  16. package/dist/chunks/chunk-74O6FGVN.js +598 -0
  17. package/dist/chunks/chunk-AUJLPKGI.js +632 -0
  18. package/dist/chunks/chunk-BYAPLT37.js +744 -0
  19. package/dist/chunks/chunk-FUP7EGT7.js +1845 -0
  20. package/dist/chunks/chunk-I6HN3ZGW.js +88 -0
  21. package/dist/chunks/chunk-KRKGHVMQ.js +294 -0
  22. package/dist/chunks/chunk-LHYK6QO2.js +1300 -0
  23. package/dist/chunks/chunk-NLBKZZEK.js +224 -0
  24. package/dist/chunks/chunk-OG75GMVO.js +1 -0
  25. package/dist/chunks/chunk-Q57SVPEH.js +11663 -0
  26. package/dist/chunks/chunk-UACZUFIA.js +47 -0
  27. package/dist/chunks/chunk-VQX33YAG.js +5135 -0
  28. package/dist/chunks/chunk-W5GKHH77.js +168 -0
  29. package/dist/chunks/chunk-WYDVQOBL.js +17581 -0
  30. package/dist/chunks/chunk-XSAXENQD.js +4167 -0
  31. package/dist/chunks/chunk-Y6G6WRTG.js +210 -0
  32. package/dist/chunks/cli-NVKNE4AZ.js +11 -0
  33. package/dist/chunks/cli-X3HPLSOV.js +19 -0
  34. package/dist/chunks/core-commands-IM2UKLU4.js +41 -0
  35. package/dist/chunks/extend-YXCBULPO.js +84 -0
  36. package/dist/chunks/harness-GMK6IY2U.js +140 -0
  37. package/dist/chunks/help-LMH5FGT2.js +65 -0
  38. package/dist/chunks/opchat-BWXZ32GX.js +169 -0
  39. package/dist/chunks/organizations-4ISQRGMQ.js +738 -0
  40. package/dist/chunks/profile-NLDZDT3L.js +1110 -0
  41. package/dist/chunks/project-agent-ZPVO25HA.js +892 -0
  42. package/dist/chunks/sandbox-command-5GFJ2U3V.js +1652 -0
  43. package/dist/chunks/sandbox-template-LZN4F55Z.js +1646 -0
  44. package/dist/chunks/src-3RBI4DNN.js +3595 -0
  45. package/dist/chunks/src-EYXQS6XD.js +73427 -0
  46. package/dist/chunks/teams-bot-WP3FHKGA.js +137 -0
  47. package/dist/cli.js +77 -0
  48. package/dist/client-types.d.ts +222 -0
  49. package/dist/client.d.ts +19 -0
  50. package/dist/config.d.ts +184 -0
  51. package/dist/hosted-chat.d.ts +162 -0
  52. package/dist/index.d.ts +5 -0
  53. package/dist/index.js +25481 -0
  54. package/dist/indicators.d.ts +38 -0
  55. package/dist/opchat-smoke.d.ts +47 -0
  56. package/dist/private-json-file.d.ts +3 -0
  57. package/dist/profile/local-profile-types.d.ts +160 -0
  58. package/dist/profile/local-profile.d.ts +69 -0
  59. package/dist/profile/profile-catalog.d.ts +14 -0
  60. package/dist/profile/profile-git.d.ts +17 -0
  61. package/dist/profile/profile-promotion.d.ts +21 -0
  62. package/dist/profile/profile-setup-gate.d.ts +22 -0
  63. package/dist/profile/profile-skills.d.ts +30 -0
  64. package/dist/profile/profile-source-upload.d.ts +29 -0
  65. package/dist/profile/source-upload-cache.d.ts +29 -0
  66. package/dist/sandbox/async-request-options.d.ts +2 -0
  67. package/dist/sandbox/client-handles.d.ts +113 -0
  68. package/dist/sandbox/client.d.ts +348 -0
  69. package/dist/sandbox/runtime-handle.d.ts +36 -0
  70. package/dist/sandbox/sandbox-instance-client.d.ts +72 -0
  71. package/dist/sandbox/smoke.d.ts +3 -0
  72. package/dist/sandbox/stream.d.ts +7 -0
  73. package/dist/sandbox/types/billing.d.ts +176 -0
  74. package/dist/sandbox/types/client.d.ts +103 -0
  75. package/dist/sandbox/types/core.d.ts +140 -0
  76. package/dist/sandbox/types/index.d.ts +14 -0
  77. package/dist/sandbox/types/io.d.ts +240 -0
  78. package/dist/sandbox/types/microsoft-teams-bot.d.ts +51 -0
  79. package/dist/sandbox/types/org-project-agent.d.ts +610 -0
  80. package/dist/sandbox/types/record.d.ts +53 -0
  81. package/dist/sandbox/types/responses.d.ts +295 -0
  82. package/dist/sandbox/types/runtime-profiles.d.ts +15 -0
  83. package/dist/sandbox/types/runtime.d.ts +152 -0
  84. package/dist/sandbox/types/schedules.d.ts +141 -0
  85. package/dist/sandbox/types/snapshots.d.ts +205 -0
  86. package/dist/sandbox/types/workflow-modes.d.ts +1 -0
  87. package/dist/sandbox/types/workload-sources.d.ts +20 -0
  88. package/dist/sandbox/url.d.ts +2 -0
  89. package/dist/sandbox-template/manifest.d.ts +304 -0
  90. package/dist/sandbox-template/manifest.js +18381 -0
  91. package/dist/skills/openpond-cli/SKILL.md +49 -0
  92. package/dist/skills/openpond-desktop-harness/SKILL.md +113 -0
  93. package/dist/skills/openpond-desktop-harness/agents/openai.yaml +4 -0
  94. package/dist/skills/openpond-taskset-authoring/SKILL.md +38 -0
  95. package/dist/skills/openpond-taskset-authoring/references/graders-and-rewards.md +11 -0
  96. package/dist/skills/openpond-taskset-authoring/references/method-selection.md +12 -0
  97. package/dist/skills/openpond-taskset-authoring/references/privacy-and-provenance.md +8 -0
  98. package/dist/skills/openpond-taskset-authoring/references/task-design.md +13 -0
  99. package/dist/stream.d.ts +20 -0
  100. package/dist/types.d.ts +57 -0
  101. package/dist/urls.d.ts +4 -0
  102. package/dist/web/assets/AppsView-Bu-Nc3Ew.js +1 -0
  103. package/dist/web/assets/AppsView-DIhprTIC.css +1 -0
  104. package/dist/web/assets/BrowserSidebar-CCguQ-DR.js +1 -0
  105. package/dist/web/assets/BrowserSidebar-D9i7gQzw.css +1 -0
  106. package/dist/web/assets/CloudWorkView-DNoPIlMj.css +1 -0
  107. package/dist/web/assets/CloudWorkView-Dr3xqLE5.js +1 -0
  108. package/dist/web/assets/CommandMenu-CnodJFHD.js +1 -0
  109. package/dist/web/assets/CommandMenu-hNQCm8mw.css +1 -0
  110. package/dist/web/assets/CommunityView-CIbjNUZr.js +1 -0
  111. package/dist/web/assets/CommunityView-DSik4sd2.css +1 -0
  112. package/dist/web/assets/GetStartedView-C3ZrnEz5.css +1 -0
  113. package/dist/web/assets/GetStartedView-C8nyH_PT.js +1 -0
  114. package/dist/web/assets/LabsExtensions-GtJzxDnK.js +1 -0
  115. package/dist/web/assets/LabsProfile-DG7rWYur.js +1 -0
  116. package/dist/web/assets/LabsRoute-D6MDHBzq.js +2 -0
  117. package/dist/web/assets/LabsRoute-TEt9j1vB.css +1 -0
  118. package/dist/web/assets/LabsSignals-BfsDN86w.js +1 -0
  119. package/dist/web/assets/LabsSignals-D6iA6Ryl.css +1 -0
  120. package/dist/web/assets/NewProjectDialog-CaKiCoVS.js +1 -0
  121. package/dist/web/assets/ProfileSettingsSection-DTQS2DVL.css +1 -0
  122. package/dist/web/assets/ProfileSettingsSection-DxEzoF3K.js +1 -0
  123. package/dist/web/assets/ProfileView-CEscW7Ru.js +1 -0
  124. package/dist/web/assets/SettingsView-DwbGu8Kj.css +1 -0
  125. package/dist/web/assets/SettingsView-JIRR_FO4.js +63 -0
  126. package/dist/web/assets/TeamChatView-B5M1ThhJ.js +3 -0
  127. package/dist/web/assets/TeamChatView-Bx44q3WV.css +1 -0
  128. package/dist/web/assets/TerminalOverlay-C1iP4OS1.js +19 -0
  129. package/dist/web/assets/TerminalOverlay-DwBiZLwk.css +1 -0
  130. package/dist/web/assets/TrainingSettingsSection-BDYvI2te.js +1 -0
  131. package/dist/web/assets/TrainingView-CoCFK6W3.js +5 -0
  132. package/dist/web/assets/WorkspaceDiffPanel-CMxKQeo7.js +14 -0
  133. package/dist/web/assets/WorkspaceEnvironmentMenu-B8JJbwIz.js +32 -0
  134. package/dist/web/assets/WorkspaceEnvironmentMenu-DGIFdG3o.css +1 -0
  135. package/dist/web/assets/WorkspaceGitDialogs-B4sp9BGn.js +1 -0
  136. package/dist/web/assets/WorkspaceMonacoEditor-BBqimG5X.js +845 -0
  137. package/dist/web/assets/WorkspaceMonacoEditor-BwKcXIZw.css +1 -0
  138. package/dist/web/assets/boxes-DAaDUabq.js +1 -0
  139. package/dist/web/assets/codicon-ngg6Pgfi.ttf +0 -0
  140. package/dist/web/assets/css.worker-DBVD8oXr.js +93 -0
  141. package/dist/web/assets/cssMode-CBF1mieJ.js +1 -0
  142. package/dist/web/assets/dockerfile-BG73LgW2.js +1 -0
  143. package/dist/web/assets/editor.worker-CdQrwHl8.js +26 -0
  144. package/dist/web/assets/git-commit-horizontal-CAickXpN.js +1 -0
  145. package/dist/web/assets/git-dialogs-BZDqS1eT.css +1 -0
  146. package/dist/web/assets/html.worker-CwpTb9lJ.js +470 -0
  147. package/dist/web/assets/htmlMode-2u8OHtWO.js +1 -0
  148. package/dist/web/assets/index-BdY6A-YN.css +1 -0
  149. package/dist/web/assets/index-CU2qhUYV.js +195 -0
  150. package/dist/web/assets/index-Dz2B3-4C.js +1 -0
  151. package/dist/web/assets/info-CQNTh78o.js +1 -0
  152. package/dist/web/assets/json.worker-BoL8UZqY.js +58 -0
  153. package/dist/web/assets/jsonMode-C4CWXViX.js +7 -0
  154. package/dist/web/assets/lspLanguageFeatures-CBs_BOlB.js +4 -0
  155. package/dist/web/assets/markdown-BFxVWTOG.js +1 -0
  156. package/dist/web/assets/monaco.contribution-C1LUxAKf.js +2 -0
  157. package/dist/web/assets/monaco.contribution-Cpf6dWsh.js +2 -0
  158. package/dist/web/assets/monaco.contribution-lOXpG2xQ.js +2 -0
  159. package/dist/web/assets/monaco.contribution-sd3cFkcN.js +2 -0
  160. package/dist/web/assets/monitor-DsIswrMV.js +1 -0
  161. package/dist/web/assets/play-CeRw21NV.js +1 -0
  162. package/dist/web/assets/python-CXYq3BUl.js +1 -0
  163. package/dist/web/assets/refresh-cw-N5b_6AP5.js +1 -0
  164. package/dist/web/assets/reply-BSKjZrJg.js +1 -0
  165. package/dist/web/assets/save-D0oHH1a3.js +1 -0
  166. package/dist/web/assets/settings-lists-BEg6LMcy.css +1 -0
  167. package/dist/web/assets/shell-DiJ1NA_G.js +1 -0
  168. package/dist/web/assets/toggleHighContrast-B7NOMXDY.css +1 -0
  169. package/dist/web/assets/toggleHighContrast-DRjlcwes.js +62 -0
  170. package/dist/web/assets/training-model-data-BPrc68VG.js +1 -0
  171. package/dist/web/assets/ts.worker-BH9nVgjN.js +67718 -0
  172. package/dist/web/assets/tsMode-x-1A7ZcB.js +11 -0
  173. package/dist/web/assets/wifi-off-Dt52ofzh.js +1 -0
  174. package/dist/web/assets/workers-Ciff6Dzi.js +1 -0
  175. package/dist/web/assets/yaml-CB67Kxnz.js +1 -0
  176. package/dist/web/connected-apps/github.svg +3 -0
  177. package/dist/web/connected-apps/google.svg +6 -0
  178. package/dist/web/connected-apps/linear.svg +3 -0
  179. package/dist/web/connected-apps/microsoft.svg +6 -0
  180. package/dist/web/connected-apps/notion.svg +3 -0
  181. package/dist/web/connected-apps/openpond-mcp.svg +4 -0
  182. package/dist/web/connected-apps/slack.svg +6 -0
  183. package/dist/web/connected-apps/x.svg +3 -0
  184. package/dist/web/favicon-16x16.png +0 -0
  185. package/dist/web/favicon-32x32.png +0 -0
  186. package/dist/web/index.html +16 -0
  187. package/dist/web/openpond-icon.png +0 -0
  188. package/dist/web/openpond-wordlogo-white.png +0 -0
  189. package/dist/web/tokens/eth.svg +1 -0
  190. package/dist/web/tokens/usdc.svg +1 -0
  191. package/docs/agent-edit-check-status-json.md +132 -0
  192. package/docs/command-reference.md +695 -0
  193. package/package.json +84 -0
@@ -0,0 +1 @@
1
+ .get-started-view{display:grid;align-content:start;width:min(1040px,calc(100% - 56px));min-width:0;justify-self:center;padding:34px 0 54px;color:var(--text)}.get-started-shell{display:grid;min-width:0;gap:16px}.get-started-tabs{grid-auto-columns:minmax(118px,1fr)}.get-started-icon-button:focus-visible,.get-started-progress-button:focus-visible{outline:2px solid rgba(6,182,212,.52);outline-offset:2px}.get-started-tabs span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.get-started-deck{display:grid;min-width:0;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#070707}.get-started-deck-body{display:grid;grid-template-columns:minmax(260px,.88fr) minmax(300px,1.12fr);gap:24px;min-height:414px;min-width:0;padding:26px}.get-started-deck-copy{display:grid;align-content:center;gap:20px;min-width:0}.get-started-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#929292;font-size:13px;font-weight:520}.get-started-accent-dot{width:8px;height:8px;border-radius:999px}.get-started-slide-copy{display:grid;gap:12px}.get-started-slide-copy h2{margin:0;color:#f5f5f5;font-size:32px;font-weight:620;line-height:1.12}.get-started-slide-copy p{margin:0;color:#c8c8c8;font-size:15px;line-height:1.65}.get-started-slide-copy p:last-child{color:#888;font-size:13px}.get-started-deck-footer{display:grid;gap:12px;border-top:1px solid rgba(255,255,255,.08);padding:14px}.get-started-progress{display:grid;gap:7px}.get-started-progress-button{height:8px;min-width:24px;overflow:hidden;border:0;border-radius:999px;background:#ffffff1a;padding:0}.get-started-progress-fill{display:block;width:100%;height:100%;border-radius:inherit;transform:scaleX(0);transform-origin:left center;transition:transform .18s ease}.get-started-progress-fill.filled{transform:scaleX(1)}.get-started-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.get-started-control-group{display:inline-flex;align-items:center;gap:3px}.get-started-icon-button{display:grid;place-items:center;width:31px;height:31px;border:0;border-radius:7px;background:transparent;color:var(--muted);padding:0}.get-started-icon-button:hover{background:#ffffff14;color:var(--text)}.get-started-time{color:#777;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.get-started-visual{position:relative;display:grid;min-height:310px;min-width:0;overflow:hidden;border-radius:8px;background:#0d0d0d;box-shadow:inset 0 0 0 1px #ffffff0b}.get-started-visual-accent{display:none}.get-started-visual-inner{display:grid;min-width:0;padding:18px}.accent-cyan,.accent-cyan .get-started-visual-accent{background:#22d3ee}.get-started-visual.accent-cyan{background:#0d0d0d}.get-started-visual.accent-cyan{--get-started-accent: #22d3ee;--get-started-accent-soft: rgba(34, 211, 238, .12)}.get-started-diagram{position:relative;display:grid;align-items:center;min-height:100%;min-width:0;isolation:isolate}.get-started-diagram:before{position:absolute;inset:0;z-index:-1;border-radius:8px;border:1px dashed rgba(255,255,255,.055);content:""}.get-started-diagram-node{position:relative;z-index:1;display:grid;align-content:start;gap:6px;min-height:72px;min-width:0;overflow:hidden;border:1px solid rgba(255,255,255,.105);border-radius:8px;background:#101010;box-shadow:inset 0 1px #ffffff0d,0 12px 28px #00000038;padding:11px}.get-started-diagram-node.tone-source,.get-started-diagram-node.tone-state,.get-started-diagram-node.tone-review,.get-started-diagram-node.tone-hosted,.get-started-diagram-node.tone-warn{border-color:#ffffff20}.get-started-diagram-node.tone-gate{border-color:#22d3ee5c;background:#101010}.get-started-diagram-node.variant-hub{align-content:center;justify-items:center;min-height:132px;text-align:center}.get-started-diagram-node.variant-compact{min-height:54px;padding:9px 10px}.get-started-node-heading{display:flex;align-items:center;gap:7px;min-width:0}.get-started-node-heading strong{overflow:hidden;color:#f2f2f2;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:620}.get-started-diagram-node>span{overflow:hidden;color:#9f9f9f;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.get-started-mini-rows{display:grid;gap:5px;margin-top:3px}.get-started-mini-rows span,.get-started-consumer-strip span,.get-started-insights-toolbar span,.get-started-router-results span{overflow:hidden;border-radius:6px;background:#fff1;color:#cfcfcf;text-overflow:ellipsis;white-space:nowrap;padding:6px 8px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px}.get-started-connector{display:grid;align-items:center;justify-items:center;gap:3px;min-width:28px;color:var(--get-started-accent)}.get-started-connector>span{width:100%;min-width:18px;border-top:1px dashed rgba(255,255,255,.24)}.get-started-connector em{max-width:64px;overflow:hidden;color:#8f8f8f;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-style:normal}.get-started-flow-graph,.get-started-insights-loop,.get-started-subagent-handoff-graph,.get-started-review-graph,.get-started-sync-graph,.get-started-publish-graph{display:flex;align-items:center;gap:8px;min-width:0}.get-started-flow-graph>.get-started-diagram-node,.get-started-insights-loop>.get-started-diagram-node,.get-started-subagent-handoff-graph>.get-started-diagram-node,.get-started-review-graph>.get-started-diagram-node,.get-started-sync-graph>.get-started-diagram-node,.get-started-publish-graph>.get-started-diagram-node{flex:1 1 0}.get-started-hub-graph{position:relative;display:grid;grid-template-columns:minmax(112px,.9fr) minmax(132px,.8fr) minmax(124px,1fr);align-items:center;gap:12px;min-width:0}.get-started-hub-graph:before{position:absolute;top:50%;right:20%;left:20%;border-top:1px dashed rgba(255,255,255,.2);content:""}.get-started-node-stack{display:grid;gap:10px;min-width:0}.get-started-node-stack.compact{gap:7px}.get-started-loop-graph,.get-started-state-graph{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:74px 14px;min-height:274px;min-width:0}.get-started-loop-ring{position:absolute;top:50%;left:50%;width:178px;height:178px;border:1px dashed rgba(255,255,255,.2);border-radius:999px;transform:translate(-50%,-50%)}.get-started-loop-ring:after{position:absolute;top:18px;right:18px;width:10px;height:10px;border-top:2px solid var(--get-started-accent);border-right:2px solid var(--get-started-accent);content:"";transform:rotate(38deg)}.get-started-loop-center,.get-started-state-core,.get-started-sandbox-core,.get-started-gate-decision,.get-started-router-core,.get-started-boundary-wall{display:grid;place-items:center;gap:6px;border:1px solid rgba(255,255,255,.13);border-radius:8px;background:#101010;color:#f1f1f1;padding:13px;text-align:center;box-shadow:inset 0 1px #ffffff0d}.get-started-loop-center,.get-started-state-core{position:absolute;top:50%;left:50%;z-index:2;width:132px;min-height:92px;transform:translate(-50%,-50%)}.get-started-loop-center strong,.get-started-state-core strong,.get-started-sandbox-core strong,.get-started-gate-decision strong,.get-started-router-core strong,.get-started-boundary-wall span{color:#f4f4f4;font-size:13px;font-weight:620}.get-started-state-core span,.get-started-sandbox-core span,.get-started-gate-decision span,.get-started-router-core span{color:#9d9d9d;font-size:12px}.get-started-contract-graph,.get-started-gate-graph{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);align-items:center;gap:8px;min-width:0}.get-started-consumer-strip{grid-column:1 / -1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.get-started-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.get-started-check-cell{display:grid;gap:4px;min-width:0;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#ffffff0e;padding:9px}.get-started-check-cell strong,.get-started-check-cell span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.get-started-check-cell strong{color:#f0f0f0;font-size:12px}.get-started-check-cell span{color:#929292;font-size:11px}.get-started-gate-graph{grid-template-columns:minmax(104px,.8fr) minmax(168px,1.05fr) minmax(104px,.8fr)}.get-started-boundary-graph,.get-started-apps-graph,.get-started-insights-list,.get-started-setup-graph,.get-started-subagent-settings-graph,.get-started-router-graph{display:grid;align-items:center;gap:12px;min-width:0}.get-started-boundary-graph{grid-template-columns:minmax(0,1fr) minmax(82px,.42fr) minmax(0,1fr)}.get-started-apps-graph{grid-template-columns:minmax(0,1fr) minmax(136px,.65fr)}.get-started-app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:0}.get-started-app-icon-tile{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden;border:1px solid rgba(255,255,255,.095);border-radius:8px;background:#ffffff0e;color:#d6d6d6;padding:8px 9px}.get-started-app-icon{display:grid;flex:0 0 auto;place-items:center;width:24px;height:24px;border:1px solid rgba(255,255,255,.16);border-radius:7px;background:#f7f7f7}.get-started-app-icon img{display:block;width:16px;height:16px;object-fit:contain}.get-started-app-icon-tile>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:560}.get-started-insights-list{align-content:center;gap:8px}.get-started-insights-toolbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.get-started-insight-row{display:grid;grid-template-columns:minmax(64px,.34fr) minmax(0,1fr) minmax(92px,.52fr);align-items:center;gap:8px;min-width:0;border:1px solid rgba(255,255,255,.095);border-radius:8px;background:#ffffff0e;padding:8px 10px}.get-started-insight-row span,.get-started-insight-row strong,.get-started-insight-row em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.get-started-insight-row span,.get-started-insight-row em{color:#9a9a9a;font-size:12px;font-style:normal}.get-started-insight-row strong{color:#eee;font-size:12px;font-weight:600}.get-started-boundary-wall{min-height:132px}.get-started-dual-source-graph{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}.get-started-sandbox-core,.get-started-dual-source-graph>.get-started-diagram-node:last-child{grid-column:1 / -1}.get-started-sandbox-core{min-height:70px}.get-started-timeline-graph{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:10px;min-width:0}.get-started-timeline-graph:before{position:absolute;top:28px;right:8%;left:8%;border-top:1px dashed rgba(255,255,255,.22);content:""}.get-started-timeline-step{position:relative;z-index:1;display:grid;justify-items:center;gap:6px;min-width:0;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#111;padding:12px 8px;text-align:center}.get-started-timeline-step strong,.get-started-timeline-step span{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.get-started-timeline-step strong{color:#f2f2f2;font-size:12px}.get-started-timeline-step span{color:#969696;font-size:11px}.get-started-setup-graph{grid-template-columns:minmax(0,1.18fr) minmax(128px,.62fr)}.get-started-subagent-settings-graph{grid-template-columns:minmax(128px,.56fr) minmax(0,1fr) minmax(128px,.56fr)}.get-started-subagent-role-table{display:grid;gap:7px;min-width:0}.get-started-subagent-role-row{display:grid;grid-template-columns:minmax(68px,.42fr) minmax(92px,.58fr) minmax(104px,.62fr);align-items:center;gap:8px;min-height:39px;min-width:0;border:1px solid rgba(255,255,255,.095);border-radius:8px;background:#ffffff0e;padding:8px 9px}.get-started-subagent-role-row strong,.get-started-subagent-role-row span,.get-started-subagent-role-row em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.get-started-subagent-role-row strong{color:#eee;font-size:12px;font-weight:620}.get-started-subagent-role-row span,.get-started-subagent-role-row em{color:#9a9a9a;font-size:11px;font-style:normal}.get-started-setup-table{display:grid;gap:7px;min-width:0}.get-started-setup-table .get-started-setup-row{display:grid;grid-template-columns:minmax(72px,.46fr) minmax(0,1fr) minmax(64px,.36fr);align-items:center;gap:8px;min-height:38px;border:1px solid rgba(255,255,255,.095);border-radius:8px;background:#ffffff0e;padding:7px 9px}.get-started-gate-decision{min-height:164px}.get-started-router-graph{grid-template-columns:minmax(0,1fr) minmax(124px,.72fr) minmax(0,1fr)}.get-started-channel-list,.get-started-router-results{display:grid;gap:7px;min-width:0}.get-started-router-core{min-height:146px}@media(max-width:900px){.get-started-view{width:min(100% - 28px,1040px);padding-top:24px}.get-started-deck-body{grid-template-columns:minmax(0,1fr);min-height:0;padding:20px}.get-started-deck-copy{align-content:start}.get-started-slide-copy h2{font-size:26px}.get-started-flow-graph,.get-started-insights-loop,.get-started-subagent-handoff-graph,.get-started-review-graph,.get-started-sync-graph,.get-started-publish-graph{align-items:stretch}.get-started-hub-graph{grid-template-columns:minmax(128px,.95fr) minmax(142px,.86fr) minmax(136px,1fr)}}@media(max-width:620px){.get-started-tabs{grid-auto-columns:minmax(132px,45vw)}.get-started-deck-body{padding:16px}.get-started-slide-copy h2{font-size:23px}.get-started-visual-inner{padding:14px}.get-started-flow-graph,.get-started-insights-loop,.get-started-review-graph,.get-started-sync-graph,.get-started-publish-graph{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.get-started-connector{min-height:16px;min-width:0}.get-started-connector>span{width:38px;min-width:0;height:1px;border-top:1px dashed rgba(255,255,255,.24)}.get-started-connector em{max-width:100%}.get-started-hub-graph,.get-started-contract-graph,.get-started-gate-graph,.get-started-boundary-graph,.get-started-apps-graph,.get-started-dual-source-graph,.get-started-setup-graph,.get-started-subagent-settings-graph,.get-started-router-graph{grid-template-columns:minmax(0,1fr)}.get-started-hub-graph:before,.get-started-timeline-graph:before{display:none}.get-started-loop-graph,.get-started-state-graph{grid-template-columns:minmax(0,1fr);gap:8px;min-height:0}.get-started-loop-ring{display:none}.get-started-loop-center,.get-started-state-core{position:static;width:auto;min-height:72px;transform:none}.get-started-contract-graph>.get-started-connector{order:2}.get-started-contract-graph>.get-started-diagram-node:last-of-type{order:3}.get-started-consumer-strip{grid-template-columns:repeat(2,minmax(0,1fr));order:4}.get-started-check-grid,.get-started-insights-toolbar,.get-started-timeline-graph{grid-template-columns:repeat(2,minmax(0,1fr))}.get-started-insight-row{grid-template-columns:minmax(0,1fr)}.get-started-controls{align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:reduce){.get-started-progress-fill,.get-started-tabs button,.get-started-icon-button{transition:none}}
@@ -0,0 +1 @@
1
+ import{j as e,r as d,b4 as A,b6 as L,U as I,w as R,aG as M}from"./index-CU2qhUYV.js";import{P as D}from"./play-CeRw21NV.js";function _({accent:t,kind:s}){switch(s){case"goal-state":return e.jsx(r,{accent:t,children:e.jsx(x,{inputs:[{title:"Local goal",detail:"session state",tone:"state"},{title:"Hosted goal",detail:"work item state",tone:"hosted"}],center:{title:"Shared goal record",detail:"same lifecycle language",tone:"gate"},outputs:[{title:"objective",detail:"what success means"},{title:"evidence",detail:"files, checks, logs"},{title:"blockers",detail:"approval or setup"},{title:"completion",detail:"evidence-backed"}]})});case"goal-evidence":return e.jsx(r,{accent:t,children:e.jsx(H,{center:"evidence state",nodes:[{title:"Prompt",detail:"objective captured"},{title:"Tools",detail:"files, shell, apps"},{title:"Events",detail:"logs and checks",tone:"gate"},{title:"Review",detail:"approval state"}]})});case"goal-controls":return e.jsx(r,{accent:t,children:e.jsx(O,{})});case"goal-context":return e.jsx(r,{accent:t,children:e.jsx(x,{inputs:[{title:"Chat turns",detail:"requests and approvals"},{title:"Workspace",detail:"files and source refs",tone:"source"}],center:{title:"Goal context",detail:"inspectable record",tone:"gate"},outputs:[{title:"messages",detail:"conversation trace"},{title:"checks",detail:"command output"},{title:"resources",detail:"linked files"},{title:"approval notes",detail:"what changed"}]})});case"subagent-router":return e.jsx(r,{accent:t,children:e.jsx(B,{})});case"subagent-handoff":return e.jsx(r,{accent:t,children:e.jsx(K,{})});case"subagent-settings":return e.jsx(r,{accent:t,children:e.jsx(U,{})});case"create-plan":return e.jsx(r,{accent:t,children:e.jsx(y,{nodes:[{title:"Ask",detail:"short request"},{title:"Clarify",detail:"focused questions",tone:"warn"},{title:"Plan",detail:"agent/action shape"},{title:"Review gate",detail:"confirm before source",tone:"gate"}]})});case"source-tree":return e.jsx(r,{accent:t,children:e.jsx(k,{heading:"profiles/default",sourceRows:["agent/agent.ts","agent/actions/*","agent/evals/*"],artifactRows:["action-registry.json","inspect.json","validation.json"]})});case"check-stack":return e.jsx(r,{accent:t,children:e.jsx($,{})});case"catalog":return e.jsx(r,{accent:t,children:e.jsx(q,{})});case"edit-review":return e.jsx(r,{accent:t,children:e.jsx(F,{})});case"profile-source":return e.jsx(r,{accent:t,children:e.jsx(k,{heading:"openpond-profile",sourceRows:["openpond-profile.json","profiles/default/agent","profiles/default/settings"],artifactRows:["artifact-index.json","manifest.json","eval-results.json"]})});case"profile-sync":return e.jsx(r,{accent:t,children:e.jsx(W,{})});case"secret-boundary":return e.jsx(r,{accent:t,children:e.jsx(z,{})});case"dual-source":return e.jsx(r,{accent:t,children:e.jsx(V,{})});case"work-item":return e.jsx(r,{accent:t,children:e.jsx(J,{})});case"publish-snapshot":return e.jsx(r,{accent:t,children:e.jsx(Q,{})});case"setup-gate":return e.jsx(r,{accent:t,children:e.jsx(X,{})});case"insights-loop":return e.jsx(r,{accent:t,children:e.jsx(Y,{})});case"insights-list":return e.jsx(r,{accent:t,children:e.jsx(Z,{})});case"apps-grid":return e.jsx(r,{accent:t,children:e.jsx(ee,{})});case"channel-router":return e.jsx(r,{accent:t,children:e.jsx(te,{})});default:return e.jsx(r,{accent:t,children:e.jsx(y,{nodes:[{title:"Profile source",detail:"agent code",tone:"source"},{title:"Checks",detail:"inspect and eval",tone:"gate"},{title:"Catalog",detail:"available actions"}]})})}}function r({accent:t,children:s}){return e.jsxs("div",{className:`get-started-visual accent-${t}`,children:[e.jsx("div",{className:"get-started-visual-accent"}),e.jsx("div",{className:"get-started-visual-inner",children:e.jsx("div",{className:"get-started-diagram",children:s})})]})}function y({nodes:t}){return e.jsx("div",{className:"get-started-flow-graph",children:t.map((s,i)=>e.jsx(re,{isLast:i===t.length-1,children:e.jsx(a,{...s})},s.title))})}function H({center:t,nodes:s}){return e.jsxs("div",{className:"get-started-loop-graph",children:[e.jsx("div",{className:"get-started-loop-ring"}),e.jsxs("div",{className:"get-started-loop-center",children:[e.jsx("strong",{children:t}),e.jsx("span",{children:"updated each turn"})]}),s.map(i=>d.createElement(a,{...i,key:i.title}))]})}function O(){return e.jsxs("div",{className:"get-started-state-graph",children:[e.jsx(a,{title:"active",detail:"next continuation allowed",tone:"state"}),e.jsx(a,{title:"paused",detail:"user stopped the loop",tone:"warn"}),e.jsxs("div",{className:"get-started-state-core",children:[e.jsx("strong",{children:"runtime controls"}),e.jsx("span",{children:"pause, resume, clear, complete"})]}),e.jsx(a,{title:"blocked",detail:"needs input or setup",tone:"warn"}),e.jsx(a,{title:"complete",detail:"evidence-backed finish",tone:"gate"})]})}function x({center:t,inputs:s,outputs:i}){return e.jsxs("div",{className:"get-started-hub-graph",children:[e.jsx("div",{className:"get-started-node-stack",children:s.map(n=>d.createElement(a,{...n,key:n.title}))}),e.jsx(a,{...t,variant:"hub"}),e.jsx("div",{className:"get-started-node-stack compact",children:i.map(n=>d.createElement(a,{...n,key:n.title,variant:"compact"}))})]})}function k({artifactRows:t,heading:s,sourceRows:i}){return e.jsxs("div",{className:"get-started-contract-graph",children:[e.jsx(a,{title:s,detail:"profile source",tone:"source",children:e.jsx(g,{rows:i})}),e.jsx(u,{label:"generates"}),e.jsx(a,{title:".openpond artifacts",detail:"machine-readable contract",tone:"gate",children:e.jsx(g,{rows:t})}),e.jsx("div",{className:"get-started-consumer-strip",children:["app","CLI","checks","hosted"].map(n=>e.jsx("span",{children:n},n))})]})}function $(){return e.jsxs("div",{className:"get-started-gate-graph",children:[e.jsx(a,{title:"source change",detail:"candidate profile state",tone:"source"}),e.jsx("div",{className:"get-started-check-grid",children:[["inspect","passed"],["build","passed"],["validate","passed"],["eval","setup ready"]].map(([t,s])=>e.jsxs("div",{className:"get-started-check-cell",children:[e.jsx("strong",{children:t}),e.jsx("span",{children:s})]},t))}),e.jsx(a,{title:"activate",detail:"catalog can refresh",tone:"gate"})]})}function q(){return e.jsx(x,{inputs:[{title:"manifest",detail:"checked snapshot",tone:"gate"},{title:"setup state",detail:"ready or required",tone:"warn"}],center:{title:"Profile action catalog",detail:"generated menu",tone:"state"},outputs:[{title:"default.chat",detail:"local chat"},{title:"support.open-items",detail:"connected app"},{title:"release-notes.generate",detail:"hosted action"}]})}function F(){return e.jsxs("div",{className:"get-started-review-graph",children:[e.jsx(a,{title:"patch plan",detail:"what will change"}),e.jsx(u,{label:"edits"}),e.jsx(a,{title:"source diff",detail:"+ actions, evals, settings",tone:"source",children:e.jsx(g,{rows:["+ agent/actions/support.ts","+ agent/evals/support.eval.ts","~ settings/profile.yaml"]})}),e.jsx(u,{label:"checks"}),e.jsx(a,{title:"review gate",detail:"commit, push, publish",tone:"gate",children:e.jsx(g,{rows:["source diff","check output","setup rows"]})})]})}function B(){return e.jsx(x,{inputs:[{title:"Goal",detail:"objective + state",tone:"state"},{title:"OpenAI GPT-5.6",detail:"orchestration model",tone:"hosted"}],center:{title:"Main agent",detail:"routes sub agents",tone:"gate"},outputs:[{title:"GLM coding",detail:"copy-on-write edits"},{title:"Research sub agent",detail:"findings + refs"},{title:"Review sub agent",detail:"ranked findings"},{title:"Test sub agent",detail:"validation evidence"}]})}function K(){return e.jsxs("div",{className:"get-started-subagent-handoff-graph",children:[e.jsx(a,{title:"sub agent run",detail:"bounded assignment",tone:"hosted"}),e.jsx(u,{label:"send"}),e.jsx(a,{title:"sub agent message",detail:"short receipt + details",tone:"gate",children:e.jsx(g,{rows:["summary","message id","run id"]})}),e.jsx(u,{label:"wake"}),e.jsx(a,{title:"parent decides",detail:"reply, route, join, cancel",tone:"state"})]})}function U(){return e.jsxs("div",{className:"get-started-subagent-settings-graph",children:[e.jsx(a,{title:"default model",detail:"shared sub agent model",tone:"gate"}),e.jsx("div",{className:"get-started-subagent-role-table",children:[["coding","GLM","copy-on-write"],["research","OpenAI","read only"],["review","default","goal scoped"]].map(([t,s,i])=>e.jsxs("div",{className:"get-started-subagent-role-row",children:[e.jsx("strong",{children:t}),e.jsx("span",{children:s}),e.jsx("em",{children:i})]},t))}),e.jsx(a,{title:"limits",detail:"concurrency + token caps",tone:"warn"})]})}function W(){return e.jsxs("div",{className:"get-started-sync-graph",children:[e.jsx(a,{title:"local profile",detail:"source + checks",tone:"source"}),e.jsx(u,{label:"push"}),e.jsx(a,{title:"hosted profile ref",detail:"uploaded source",tone:"hosted"}),e.jsx(u,{label:"check"}),e.jsx(a,{title:"published catalog",detail:"manifest snapshot",tone:"gate"})]})}function z(){return e.jsxs("div",{className:"get-started-boundary-graph",children:[e.jsx(a,{title:"source declares",detail:"requirements, not values",tone:"source",children:e.jsx(g,{rows:["SLACK_CHANNEL","drive scope","volume: reports"]})}),e.jsxs("div",{className:"get-started-boundary-wall",children:[e.jsx("strong",{children:"binding boundary"}),e.jsx("span",{children:"values stay outside Git"})]}),e.jsx(a,{title:"platform stores",detail:"runtime setup state",tone:"gate",children:e.jsx(g,{rows:["OAuth lease","secret ref","volume binding"]})})]})}function V(){return e.jsxs("div",{className:"get-started-dual-source-graph",children:[e.jsx(a,{title:"/openpond/profile",detail:"agent profile source",tone:"source",children:e.jsx(g,{rows:["agent/agent.ts",".openpond/*"]})}),e.jsx(a,{title:"/workspace",detail:"target project source",tone:"source",children:e.jsx(g,{rows:["src/*","package.json"]})}),e.jsxs("div",{className:"get-started-sandbox-core",children:[e.jsx("strong",{children:"hosted sandbox"}),e.jsx("span",{children:"runs work item with separate mounts"})]}),e.jsx(a,{title:"review output",detail:"diffs, logs, checks, setup rows",tone:"gate"})]})}function J(){return e.jsx("div",{className:"get-started-timeline-graph",children:[["goal","running"],["logs","captured"],["checks","pending review"],["approval","publish blocked"]].map(([t,s])=>e.jsxs("div",{className:"get-started-timeline-step",children:[e.jsx("strong",{children:t}),e.jsx("span",{children:s})]},t))})}function Q(){return e.jsxs("div",{className:"get-started-publish-graph",children:[e.jsx(a,{title:"source ref",detail:"reviewed profile state",tone:"source"}),e.jsx(u,{label:"hash"}),e.jsx(a,{title:"manifest hash",detail:"immutable contract",tone:"gate"}),e.jsx(u,{label:"publish"}),e.jsx(a,{title:"hosted catalog",detail:"runtime action menu",tone:"hosted"})]})}function X(){return e.jsxs("div",{className:"get-started-setup-graph",children:[e.jsx("div",{className:"get-started-setup-table",children:[["integration","Slack lease","missing"],["secret","REPORT_BUCKET","ready"],["volume","reports","optional"],["target repo","/workspace","required"]].map(([t,s,i])=>e.jsxs("div",{className:"get-started-setup-row",children:[e.jsx("span",{children:t}),e.jsx("strong",{children:s}),e.jsx("em",{children:i})]},s))}),e.jsxs("div",{className:"get-started-gate-decision",children:[e.jsx("strong",{children:"setup-required"}),e.jsx("span",{children:"block before run or publish"})]})]})}function Y(){return e.jsxs("div",{className:"get-started-insights-loop",children:[e.jsx(a,{title:"create_pipeline.updated",detail:"runtime event stream",tone:"source"}),e.jsx(u,{label:"scan"}),e.jsx(a,{title:"detector",detail:"waiting, blocked, failed",tone:"gate"}),e.jsx(u,{label:"persist"}),e.jsx(a,{title:"insight_items",detail:"active rows + fingerprints",tone:"state"})]})}function Z(){return e.jsxs("div",{className:"get-started-insights-list",children:[e.jsxs("div",{className:"get-started-insights-toolbar",children:[e.jsx("span",{children:"All"}),e.jsx("span",{children:"Active"}),e.jsx("span",{children:"Blocker"}),e.jsx("span",{children:"Scan"})]}),[["Blocker","failed","Create agent failed"],["Concern","awaiting approval","Edit agent needs plan approval"],["Concern","awaiting answers","Create agent is waiting for input"]].map(([t,s,i])=>e.jsxs("div",{className:"get-started-insight-row",children:[e.jsx("span",{children:t}),e.jsx("strong",{children:i}),e.jsx("em",{children:s})]},i))]})}function ee(){return e.jsxs("div",{className:"get-started-apps-graph",children:[e.jsx("div",{className:"get-started-app-grid",children:se.map(t=>e.jsx(G,{app:t},t.id))}),e.jsxs("div",{className:"get-started-router-core",children:[e.jsx("strong",{children:"profile catalog"}),e.jsx("span",{children:"actions + setup + permissions"})]})]})}function te(){return e.jsxs("div",{className:"get-started-router-graph",children:[e.jsx("div",{className:"get-started-channel-list",children:ae.map(t=>e.jsx(G,{app:t},t.id))}),e.jsxs("div",{className:"get-started-router-core",children:[e.jsx("strong",{children:"profile router"}),e.jsx("span",{children:"team + profile + catalog"})]}),e.jsx("div",{className:"get-started-router-results",children:["direct answer","profile action","work item","setup-required"].map(t=>e.jsx("span",{children:t},t))})]})}const se=[{id:"github",label:"GitHub"},{id:"google",label:"Google Drive"},{id:"slack",label:"Slack"},{id:"microsoft_teams",label:"Microsoft Teams"},{id:"mcp",label:"MCP"}],ae=[{id:"web",label:"Web"},{id:"slack",label:"Slack"},{id:"microsoft_teams",label:"Microsoft Teams"},{id:"mcp",label:"MCP"}];function G({app:t}){return e.jsxs("span",{className:"get-started-app-icon-tile",children:[e.jsx("span",{className:"get-started-app-icon",children:e.jsx("img",{alt:"",src:ie(t.id)})}),e.jsx("span",{children:t.label})]})}function ie(t){return t==="web"?A:L(t)}function a({children:t,detail:s,title:i,tone:n="default",variant:h="default"}){return e.jsxs("div",{className:`get-started-diagram-node tone-${n} variant-${h}`,children:[e.jsx("div",{className:"get-started-node-heading",children:e.jsx("strong",{children:i})}),e.jsx("span",{children:s}),t]})}function u({label:t}){return e.jsxs("div",{className:"get-started-connector","aria-hidden":t?void 0:!0,children:[e.jsx("span",{}),t?e.jsx("em",{children:t}):null]})}function re({children:t,isLast:s}){return e.jsxs(e.Fragment,{children:[t,s?null:e.jsx(u,{})]})}function g({rows:t}){return e.jsx("div",{className:"get-started-mini-rows",children:t.map(s=>e.jsx("span",{children:s},s))})}const v=5,N=v*1e3;function ne({deck:t,resetToken:s=0}){const i=oe(),[n,h]=d.useState(0),[p,m]=d.useState(!1),o=t.slides[n]??t.slides[0],f=n*v,C=t.slides.length*v;d.useEffect(()=>{h(0),m(!1)},[t.id,s]),d.useEffect(()=>{if(!p||i)return;const c=window.setTimeout(()=>{h(j=>j===t.slides.length-1?0:j+1)},N);return()=>window.clearTimeout(c)},[n,t.slides.length,p,i]),d.useEffect(()=>{i&&m(!1)},[i]);function E(){h(c=>c===0?t.slides.length-1:c-1)}function P(){h(c=>c===t.slides.length-1?0:c+1)}return e.jsxs("section",{className:"get-started-deck","aria-label":`${t.label} deck`,children:[e.jsxs("div",{className:"get-started-deck-body",children:[e.jsxs("div",{className:"get-started-deck-copy",children:[e.jsxs("div",{className:"get-started-eyebrow",children:[e.jsx("span",{className:`get-started-accent-dot accent-${o.accent}`}),e.jsx("span",{children:o.eyebrow})]}),e.jsxs("div",{className:"get-started-slide-copy",children:[e.jsx("h2",{children:o.title}),o.body?e.jsx("p",{children:o.body}):null,o.detail?e.jsx("p",{children:o.detail}):null]})]}),e.jsx(_,{accent:o.accent,kind:o.visual})]}),e.jsxs("div",{className:"get-started-deck-footer",children:[e.jsx("div",{className:"get-started-progress",style:{gridTemplateColumns:`repeat(${t.slides.length}, minmax(0, 1fr))`},children:t.slides.map((c,j)=>{const w=j===n,T=j<n;return e.jsx("button",{"aria-label":`Show ${c.title}`,className:"get-started-progress-button",onClick:()=>h(j),type:"button",children:e.jsx("span",{className:`get-started-progress-fill accent-${c.accent} ${w||T?"filled":""}`,style:{transitionDuration:w&&p&&!i?`${N}ms`:"180ms"}})},c.id)})}),e.jsxs("div",{className:"get-started-controls",children:[e.jsxs("div",{className:"get-started-control-group",children:[e.jsx("button",{"aria-label":"Previous slide",className:"get-started-icon-button",onClick:E,type:"button",children:e.jsx(I,{size:16})}),e.jsx("button",{"aria-label":p?"Pause slides":"Play slides",className:"get-started-icon-button",onClick:()=>m(c=>!c),type:"button",children:p?e.jsx(R,{size:16}):e.jsx(D,{size:16})}),e.jsx("button",{"aria-label":"Next slide",className:"get-started-icon-button",onClick:P,type:"button",children:e.jsx(M,{size:16})})]}),e.jsxs("div",{className:"get-started-time",children:[S(f)," / ",S(C)]})]})]})]})}function S(t){const s=Math.floor(t/60),i=t%60;return`${s}:${String(i).padStart(2,"0")}`}function oe(){const[t,s]=d.useState(!1);return d.useEffect(()=>{if(!window.matchMedia)return;const i=window.matchMedia("(prefers-reduced-motion: reduce)");s(i.matches);const n=()=>s(i.matches);return i.addEventListener("change",n),()=>i.removeEventListener("change",n)},[]),t}const l="cyan",b=[{id:"goal",label:"Goal loop",description:"How local and hosted goals share durable objective state.",slides:[{id:"goal-durable-objective",eyebrow:"Goal state",title:"Goals are durable objectives",body:"A goal is saved state for a local session or hosted work item, not just prompt text.",detail:"Local and hosted goals use the same lifecycle language: objective, evidence, blockers, approvals, checks, and completion.",visual:"goal-state",accent:l}]},{id:"orchestration",label:"Orchestration",description:"How the main agent delegates bounded work to addressable sub agents.",slides:[{id:"orchestration-delegate",eyebrow:"Model routing",title:"OpenAI GPT-5.6 can coordinate GLM coding",body:"Use a strong orchestration model to split a goal into sub agents, then route coding, research, review, testing, docs, or planning to the role and model that fit.",detail:"For example: OpenAI GPT-5.6 coordinates the goal, GLM handles coding in copy-on-write isolation, and every sub agent reports receipts back to the main chat.",visual:"subagent-router",accent:l},{id:"orchestration-handoff",eyebrow:"Handoffs",title:"Sub agents report back deliberately",body:"Sub agents can send compact handoffs back to the parent chat when a blocker, decision, important finding, or final result should return control.",detail:"The parent sees a short sub agent receipt and can respond, message the sub agent, join or cancel, update the goal, or route follow-up work.",visual:"subagent-handoff",accent:l},{id:"orchestration-settings",eyebrow:"Harness settings",title:"Configure each sub agent role",body:"Sub agents have a default model plus per-role provider and model overrides, tool policies, isolation modes, concurrency caps, token caps, and peer-message rules.",detail:"Copy-on-write is the default for write-capable sub agents so parallel edits stay reviewable before merge or handoff; roles can also use worktrees or no isolation.",visual:"subagent-settings",accent:l}]},{id:"build",label:"Create/Edit Loop",description:"How first-class Create and Edit agents are specific implementations on top of goals.",slides:[{id:"build-one-loop",eyebrow:"First-class agents",title:"Create/Edit is built on goals",body:"Create and Edit are first-class agents specifically designed as implementations on top of the goal loop.",detail:"They add source-aware planning, evidence, approvals, checks, and completion before profile files change.",visual:"create-plan",accent:l},{id:"build-profile-source",eyebrow:"Source",title:"Approved work changes profile source",body:"Create generates SDK-backed files. Edit patches existing agent source. Neither becomes loose chat memory.",detail:"Agents, actions, prompts, evals, and non-secret setup declarations live in the profile source tree.",visual:"source-tree",accent:l}]},{id:"insights",label:"Insights Loop",description:"How Insights is a specific implementation on top of goals and create/edit pipeline state.",slides:[{id:"insights-detect",eyebrow:"Detector",title:"Insights runs on top of goals",body:"Insights is a specific implementation on top of goals: it watches `create_pipeline.updated` events and turns stuck create/edit states into active rows.",detail:"Awaiting questions, plan approval, blocked, and failed states become concern or blocker rows tied back to the source event.",visual:"insights-loop",accent:l},{id:"insights-action",eyebrow:"Action",title:"Insights stay actionable",body:"Observation scanning is off by default. Turn it on in Lab → Signals, then review, resolve, or dismiss the resulting observations there.",detail:"Rows persist in `insight_items` and resolve when the pipeline moves forward or the user marks them handled.",visual:"insights-list",accent:l}]},{id:"profile",label:"Profile",description:"How one Git-backed profile repository makes agents portable.",slides:[{id:"profile-git-repo",eyebrow:"Git-backed source",title:"One agent repository travels with you",body:"The profile repo stores agents, actions, prompts, evals, settings, and non-secret config as source.",detail:"Because it is Git-backed, local app, CLI, checks, and hosted runtime can inspect the same durable agent repository.",visual:"profile-source",accent:l},{id:"profile-portable-artifacts",eyebrow:"Portability",title:"Artifacts make agents portable",body:"The SDK emits a manifest, action registry, inspect output, validation report, and eval results from that repo.",detail:"Those contracts let the same agent run locally, publish hosted, or appear in connected apps without rebuilding it by hand.",visual:"source-tree",accent:l}]},{id:"local-hosted",label:"Local <> Hosted",description:"How hosted work keeps sources separate and publishes reviewed snapshots.",slides:[{id:"local-hosted-mounts",eyebrow:"Sandbox",title:"Hosted work keeps sources separate",body:"A hosted work item can mount profile source for the agent and target source for the project being changed.",detail:"The profile mount is `/openpond/profile`. The target project mount is `/workspace` when a target repo is needed.",visual:"dual-source",accent:l},{id:"local-hosted-publish",eyebrow:"Publish",title:"Published snapshots avoid source drift",body:"A checked manifest snapshot becomes the runtime source for hosted profile actions.",detail:"The hosted catalog should point at a reviewed snapshot, not an ambiguous latest file tree.",visual:"publish-snapshot",accent:l}]},{id:"connect-apps",label:"Connect 3rd party apps",description:"How connected apps bind into the same profile catalog.",slides:[{id:"connect-apps-grid",eyebrow:"Apps",title:"Apps connect to the profile catalog",visual:"apps-grid",accent:l},{id:"connect-channels",eyebrow:"Channels",title:"Web, Slack, Teams, and MCP use the same router",visual:"channel-router",accent:l}]}];function de(t){const[s,i]=d.useState("goal"),[n,h]=d.useState(0),p=d.useMemo(()=>b.find(o=>o.id===s)??b[0],[s]);function m(o){i(o),h(f=>f+1)}return e.jsx("section",{className:"get-started-view","aria-label":"Get started",children:e.jsxs("div",{className:"get-started-shell",children:[e.jsx("div",{className:"surface-tabs get-started-tabs",role:"tablist","aria-label":"Get started topics",children:b.map(o=>e.jsx("button",{"aria-selected":p.id===o.id,className:p.id===o.id?"active":"",onClick:()=>m(o.id),role:"tab",type:"button",children:e.jsx("span",{children:o.label})},o.id))}),e.jsx(ne,{deck:p,resetToken:n},p.id)]})})}export{de as GetStartedView};
@@ -0,0 +1 @@
1
+ import{j as s}from"./index-CU2qhUYV.js";import{B as a}from"./boxes-DAaDUabq.js";function i(){return s.jsxs("section",{className:"labs-placeholder","aria-label":"Extensions unavailable",children:[s.jsx("span",{className:"labs-placeholder-icon",children:s.jsx(a,{size:24})}),s.jsx("h2",{children:"Your mutable harness modules will live here"}),s.jsx("p",{children:"The tab is mounted now so Lab has a stable home for extensions. Catalog discovery, compatibility, bindings, activation, and rollback are not available yet."}),s.jsxs("div",{className:"labs-placeholder-status",children:[s.jsx("span",{}),"Extension runtime unavailable"]})]})}export{i as LabsExtensions};
@@ -0,0 +1 @@
1
+ import{_ as p,$ as h,Y as v,V as x,j as a,aG as f}from"./index-CU2qhUYV.js";import{B as j}from"./boxes-DAaDUabq.js";import{ProfileView as y}from"./ProfileView-CEscW7Ru.js";import"./ProfileSettingsSection-DxEzoF3K.js";import"./git-commit-horizontal-CAickXpN.js";import"./refresh-cw-N5b_6AP5.js";import"./play-CeRw21NV.js";/* empty css */function A({insightsError:c,insightsEnabled:n,insightsItems:m,insightsScanning:g,onTabChange:u,profileView:i,training:t}){const o=i.payload?.profile??null,e=t.payload,r=m.filter(l=>l.status==="active").length,d=e?.candidates.length??0,b=[{id:"signals",label:"Signals",value:n?g?"Scanning":String(r+d):"Off",detail:n?`${r} active observations · ${d} AI suggestions`:"Turn on observation scanning in Signals",tone:c?"warning":void 0,Icon:p},{id:"evals",label:"Evals",value:t.loading&&!e?"Loading":String(e?.tasksets.length??0),detail:e?`${e.baselineReports.length} baseline reports`:"No Tasksets loaded",tone:t.error?"warning":void 0,Icon:h},{id:"models",label:"Models",value:t.loading&&!e?"Loading":String(e?.models.length??0),detail:e?`${e.jobs.length} training jobs · ${e.artifacts.length} artifacts`:"No training state loaded",tone:t.error?"warning":void 0,Icon:v},{id:"agents",label:"Agents",value:o?.mode==="local"?String(o.agents.length):"—",detail:o?.mode==="local"?`${o.actionCatalog.length} available action${o.actionCatalog.length===1?"":"s"}`:"Load a Profile to see agents",Icon:x},{id:"extensions",label:"Extensions",value:"Not available yet",detail:"The extension catalog and runtime arrive in the focused extension phase",tone:"muted",Icon:j}];return a.jsx("div",{className:"labs-profile",children:a.jsx(y,{...i,overviewContent:a.jsx("section",{className:"labs-summary-grid","aria-label":"Profile system summary",children:b.map(({Icon:l,...s})=>a.jsxs("button",{className:`labs-summary-card${s.tone?` ${s.tone}`:""}`,type:"button",onClick:()=>u(s.id),children:[a.jsx("span",{className:"labs-summary-card-icon",children:a.jsx(l,{size:17})}),a.jsxs("span",{className:"labs-summary-card-copy",children:[a.jsx("span",{children:s.label}),a.jsx("strong",{children:s.value}),a.jsx("small",{children:s.detail})]}),a.jsx(f,{className:"labs-summary-card-arrow",size:15})]},s.id))}),section:"all"})})}export{A as LabsProfile};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./LabsProfile-DG7rWYur.js","./index-CU2qhUYV.js","./index-BdY6A-YN.css","./boxes-DAaDUabq.js","./ProfileView-CEscW7Ru.js","./ProfileSettingsSection-DxEzoF3K.js","./git-commit-horizontal-CAickXpN.js","./refresh-cw-N5b_6AP5.js","./play-CeRw21NV.js","./ProfileSettingsSection-DTQS2DVL.css","./settings-lists-BEg6LMcy.css","./LabsExtensions-GtJzxDnK.js","./LabsSignals-BfsDN86w.js","./TrainingView-CoCFK6W3.js","./training-model-data-BPrc68VG.js","./TrainingSettingsSection-BDYvI2te.js","./LabsSignals-D6iA6Ryl.css"])))=>i.map(i=>d[i]);
2
+ import{r as t,j as s,h as x,aT as u}from"./index-CU2qhUYV.js";function _(e){return!e||e.mode!=="local"?!1:!!(e.git?.dirty||e.summary.state==="dirty"||e.summary.state==="pending_commit")}const r=[{id:"profile",label:"Profile"},{id:"signals",label:"Signals"},{id:"evals",label:"Evals"},{id:"models",label:"Models"},{id:"agents",label:"Agents"},{id:"extensions",label:"Extensions"}];function h({activeTab:e,children:a,onNewModel:m,onTabChange:n,profileHasUncommittedChanges:i=!1}){const o=t.useRef([]);function p(l,d){if(!["ArrowLeft","ArrowRight","Home","End"].includes(l.key))return;l.preventDefault();const c=r.length-1,b=l.key==="Home"?0:l.key==="End"?c:l.key==="ArrowLeft"?(d-1+r.length)%r.length:(d+1)%r.length,f=r[b];f&&(n(f.id),o.current[b]?.focus())}return s.jsxs("section",{className:"labs-route","aria-label":"Lab",children:[s.jsxs("header",{className:"labs-header",children:[s.jsx("nav",{className:"labs-tabs",role:"tablist","aria-label":"Lab sections",children:r.map((l,d)=>s.jsx("button",{"aria-controls":"labs-active-panel","aria-selected":e===l.id,className:e===l.id?"active":void 0,id:`labs-tab-${l.id}`,ref:c=>{o.current[d]=c},role:"tab",tabIndex:e===l.id?0:-1,title:l.id==="profile"&&i?"Profile has local changes that are not committed":void 0,type:"button",onClick:()=>n(l.id),onKeyDown:c=>p(c,d),children:s.jsxs("span",{className:"labs-tab-label",children:[l.label,l.id==="profile"&&i?s.jsx("span",{"aria-hidden":"true",className:"labs-profile-change-dot"}):null]})},l.id))}),s.jsxs("button",{className:"labs-new-model-button",type:"button",onClick:m,children:[s.jsx(x,{size:14}),s.jsx("span",{children:"New model"})]})]}),s.jsx("div",{"aria-labelledby":`labs-tab-${e}`,className:"labs-panel",id:"labs-active-panel",role:"tabpanel",children:a})]})}const L=t.lazy(()=>u(()=>import("./LabsProfile-DG7rWYur.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url).then(e=>({default:e.LabsProfile}))),j=t.lazy(()=>u(()=>import("./LabsExtensions-GtJzxDnK.js"),__vite__mapDeps([11,1,2,3]),import.meta.url).then(e=>({default:e.LabsExtensions}))),g=t.lazy(()=>u(()=>import("./LabsSignals-BfsDN86w.js"),__vite__mapDeps([12,1,2,7,13,8,14,15,10,16]),import.meta.url).then(e=>({default:e.LabsSignals}))),E=t.lazy(()=>u(()=>import("./ProfileView-CEscW7Ru.js"),__vite__mapDeps([4,1,2,5,6,7,8,9,10]),import.meta.url).then(e=>({default:e.ProfileView}))),y=t.lazy(()=>u(()=>import("./TrainingView-CoCFK6W3.js"),__vite__mapDeps([13,1,2,8,7,14,15,10]),import.meta.url).then(e=>({default:e.TrainingView})));function N({activeTab:e,insights:a,onNewModel:m,onTabChange:n,profileView:i,training:o}){return s.jsx(h,{activeTab:e,onNewModel:m,onTabChange:n,profileHasUncommittedChanges:_(i.payload?.profile),children:s.jsx(t.Suspense,{fallback:s.jsx(P,{}),children:e==="profile"?s.jsx(L,{insightsError:a.error,insightsEnabled:a.enabled,insightsItems:a.items,insightsScanning:a.scanning||a.scanRunning,onTabChange:n,profileView:i,training:o.training}):e==="agents"?s.jsx("div",{className:"labs-focused-profile-panel",children:s.jsx(E,{...i,section:"agents"})}):e==="extensions"?s.jsx(j,{}):e==="models"||e==="evals"?s.jsx(y,{...o,section:e,onSectionChange:n}):s.jsx(g,{insights:a,training:o,onOpenLabsSection:n})})})}function P(){return s.jsx("div",{className:"labs-panel-loading",role:"status",children:"Loading Lab…"})}export{N as LabsRoute};
@@ -0,0 +1 @@
1
+ .labs-route{display:grid;grid-template-rows:auto minmax(0,1fr);width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;background:var(--bg);color:var(--text)}.main-pane.page-active>.labs-route{grid-column:1;grid-row:1}.main-pane.page-active.terminal-open{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) var(--terminal-panel-height);align-content:stretch;overflow:hidden}.main-pane.page-active.diff-open>.labs-route{max-height:100%}.labs-header{display:flex;align-items:stretch;gap:14px;min-width:0;border-bottom:1px solid var(--border);padding:0 28px;background:color-mix(in srgb,var(--bg) 94%,var(--panel))}.labs-tabs{display:flex;flex:1 1 auto;min-width:0;gap:2px;overflow-x:auto;scrollbar-width:none}.labs-new-model-button{display:inline-flex;align-items:center;align-self:center;flex:0 0 auto;min-height:30px;gap:7px;border:1px solid color-mix(in srgb,var(--text) 18%,var(--border));border-radius:7px;background:var(--panel-soft);color:var(--text);padding:0 11px;font:inherit;font-size:12px;font-weight:560;cursor:pointer}.labs-new-model-button:hover,.labs-new-model-button:focus-visible{border-color:color-mix(in srgb,var(--text) 30%,var(--border));background:var(--panel-hover)}.labs-new-model-button:focus-visible{outline:2px solid color-mix(in srgb,var(--cyan, #22d3ee) 58%,transparent);outline-offset:2px}.labs-tabs::-webkit-scrollbar{display:none}.labs-tabs button,.labs-subtabs button{flex:0 0 auto;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);padding:11px 12px 12px;font:inherit;font-size:13px;cursor:pointer}.labs-tabs button:hover,.labs-tabs button:focus-visible,.labs-subtabs button:hover,.labs-subtabs button:focus-visible{color:var(--text)}.labs-tabs button:focus-visible,.labs-subtabs button:focus-visible,.labs-summary-card:focus-visible{outline:2px solid color-mix(in srgb,var(--cyan, #22d3ee) 58%,transparent);outline-offset:-2px}.labs-tabs button.active,.labs-subtabs button.active{border-bottom-color:var(--text);color:var(--text)}.labs-tab-label{display:inline-flex;align-items:center;gap:7px}.labs-profile-change-dot{flex:0 0 auto;width:7px;height:7px;border-radius:999px;background:#f4c542;box-shadow:0 0 0 2px #f4c54224}.labs-panel{min-width:0;min-height:0;overflow:auto;scrollbar-color:rgba(255,255,255,.24) transparent;scrollbar-width:thin}.labs-panel-loading{display:grid;min-height:240px;place-items:center;color:var(--muted);font-size:12px}.labs-profile{width:min(1120px,calc(100% - 72px));margin-inline:auto;padding:32px 0 64px}.labs-placeholder h2{margin:0;font-size:24px;font-weight:620;letter-spacing:-.025em}.labs-placeholder p{max-width:720px;margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.55;overflow-wrap:anywhere}.labs-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.labs-summary-card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;min-width:0;min-height:142px;gap:10px;border:1px solid var(--border);border-radius:9px;background:var(--panel);color:var(--text);padding:13px;text-align:left;cursor:pointer;transition:border-color .12s ease,background .12s ease,transform .12s ease}.labs-summary-card:hover{border-color:color-mix(in srgb,var(--text) 24%,var(--border));background:var(--panel-soft);transform:translateY(-1px)}.labs-summary-card.warning{border-color:color-mix(in srgb,#f6b65d 34%,var(--border))}.labs-summary-card.muted{border-style:dashed}.labs-summary-card-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:var(--panel-soft);color:var(--muted)}.labs-summary-card-copy{display:grid;min-width:0;gap:5px}.labs-summary-card-copy>span{color:var(--muted);font-size:10px;font-weight:600}.labs-summary-card-copy strong{overflow:hidden;font-size:16px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.labs-summary-card-copy small{display:-webkit-box;overflow:hidden;color:var(--muted);font-size:10px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}.labs-summary-card-arrow{position:absolute;right:12px;bottom:12px;color:var(--muted)}.labs-profile>.profile-view,.labs-focused-profile-panel .profile-view{width:100%;padding:0}.labs-profile .account-settings,.labs-focused-profile-panel .account-settings{max-width:none}.labs-profile .profile-control-toolbar{justify-content:flex-end}.labs-profile .profile-control-actions{gap:8px}.labs-focused-profile-panel{width:min(960px,calc(100% - 72px));margin-inline:auto;padding:32px 0 64px}.labs-placeholder{display:grid;justify-items:center;width:min(620px,calc(100% - 40px));margin:min(14vh,120px) auto 48px;border:1px dashed var(--border);border-radius:12px;background:var(--panel);padding:44px;text-align:center}.labs-placeholder-icon{display:grid;width:48px;height:48px;margin-bottom:18px;place-items:center;border:1px solid var(--border);border-radius:12px;background:var(--panel-soft);color:var(--muted)}.labs-placeholder-status{display:inline-flex;align-items:center;gap:7px;margin-top:22px;border:1px solid var(--border);border-radius:999px;padding:5px 9px;color:var(--muted);font-size:10px}.labs-placeholder-status span{width:6px;height:6px;border-radius:999px;background:#f0bd77}.labs-signals{min-height:100%}.labs-subtabs{display:flex;gap:2px;border-bottom:1px solid var(--border);padding:0 28px}.labs-subtabs button span{margin-left:5px;color:var(--muted)}.training-header.actions-only{justify-content:flex-end}@media(max-width:1080px){.labs-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:860px){.labs-header{padding:0 18px}.labs-profile,.labs-focused-profile-panel{width:calc(100% - 36px);padding:24px 0 40px}.labs-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.labs-summary-grid{grid-template-columns:1fr}.labs-summary-card{min-height:112px}.labs-placeholder{padding:32px 22px}}@media(prefers-reduced-motion:reduce){.labs-summary-card{transition:none}}
@@ -0,0 +1 @@
1
+ import{r as o,j as e,R as V,X as B}from"./index-CU2qhUYV.js";import{R as q}from"./refresh-cw-N5b_6AP5.js";import{TrainingView as X}from"./TrainingView-CoCFK6W3.js";import"./play-CeRw21NV.js";import"./training-model-data-BPrc68VG.js";import"./TrainingSettingsSection-BDYvI2te.js";/* empty css */function Y({enabled:s,items:n,runs:a,nextScanAt:i,scanRunning:t,scanStartedAt:r,scanning:c,savingEnabled:l,error:S,onEnabledChange:k,onPatchStatus:y,onOpenSession:f}){const[u,F]=o.useState("all"),[v,A]=o.useState("all"),[h,M]=o.useState("all"),[g,E]=o.useState("all"),[x,$]=o.useState("all"),[O,P]=o.useState(()=>Date.now());o.useEffect(()=>{const d=window.setInterval(()=>P(Date.now()),1e3);return()=>window.clearInterval(d)},[]);const j=o.useMemo(()=>n.filter(d=>!(u!=="all"&&d.status!==u||v!=="all"&&d.severity!==v||h!=="all"&&w(d)!==h)),[n,v,h,u]),L=o.useMemo(()=>a.filter(d=>!(g!=="all"&&d.status!==g||x!=="all"&&d.trigger!==x||h!=="all"&&!d.evidenceSources.includes(h))),[g,x,a,h]),U=o.useMemo(()=>j.filter(d=>d.status==="active"),[j]),D=o.useMemo(()=>j.filter(d=>d.status!=="active"),[j]),K=u==="all"||u==="active",z=u==="all"||u!=="active",m=c||t,R=`${u}:${v}:${h}`,G=`${g}:${x}:${h}`;return e.jsxs("section",{className:"insights-view","aria-label":"Insights",children:[e.jsxs("section",{className:"insights-scan-preference","aria-label":"Observation scanning",children:[e.jsxs("div",{children:[e.jsx("strong",{children:"Observation scanning"}),e.jsx("span",{children:"Periodically review selected work, failures, and corrections for signals. It stays off until you turn it on."})]}),e.jsxs("div",{className:"insights-scan-controls",children:[e.jsxs("span",{className:`insights-scan-countdown ${m?"running":""}`,children:[e.jsx("span",{className:"insights-scan-dot","aria-hidden":"true"}),s?te(i,O,m):"Scanning is off"]}),e.jsx("button",{"aria-pressed":s,className:s?"active":void 0,disabled:l||m,type:"button",onClick:()=>{k(!s)},children:l?"Saving":s?"On":"Turn on"})]})]}),e.jsxs("div",{className:"insights-filters","aria-label":"Insight filters",children:[e.jsx(b,{label:"Observation status",options:Z,value:u,onChange:F}),e.jsx(b,{label:"Severity",options:H,value:v,onChange:A}),e.jsx(b,{label:"Source",options:J,value:h,onChange:M}),e.jsx(b,{label:"Run status",options:Q,value:g,onChange:E}),e.jsx(b,{label:"Run trigger",options:W,value:x,onChange:$})]}),m?e.jsxs("div",{className:"insights-active-scan",role:"status",children:[e.jsx("span",{className:"insights-scan-dot","aria-hidden":"true"}),e.jsxs("div",{children:[e.jsx("strong",{children:"Active scan"}),e.jsx("span",{children:r?`Started ${N(r)}`:"Scanning insights now"})]})]}):null,S?e.jsx("div",{className:"insights-error",children:S}):null,e.jsx(ee,{runs:L,paginationKey:G,onOpenSession:f}),K?e.jsx(I,{title:"Active",emptyText:"No active create/edit insights match the filters.",items:U,paginationKey:R,onPatchStatus:y,onOpenSession:f}):null,z?e.jsx(I,{title:"Recent",emptyText:"No resolved or dismissed insights match the filters.",items:D,paginationKey:R,onPatchStatus:y,onOpenSession:f}):null]})}const Z=[{value:"all",label:"All"},{value:"active",label:"Active"},{value:"resolved",label:"Resolved"},{value:"dismissed",label:"Dismissed"}],H=[{value:"all",label:"All"},{value:"blocker",label:"Blocker"},{value:"concern",label:"Concern"},{value:"nit",label:"Nit"}],J=[{value:"all",label:"All"},{value:"create_edit",label:"Create/edit"},{value:"stuck_turn",label:"Stuck turns"},{value:"tool_failure",label:"Tools"},{value:"abandoned_goal",label:"Goals"},{value:"user_correction",label:"Corrections"},{value:"unresolved_conversation",label:"Unresolved"},{value:"usage_anomaly",label:"Usage"}],Q=[{value:"all",label:"All"},{value:"running",label:"Running"},{value:"completed",label:"Completed"},{value:"failed",label:"Failed"},{value:"skipped",label:"Skipped"}],W=[{value:"all",label:"All"},{value:"manual",label:"Manual"},{value:"interval",label:"Interval"},{value:"startup",label:"Startup"},{value:"slash_command",label:"Slash"}];function b({label:s,options:n,value:a,onChange:i}){return e.jsxs("label",{className:"insights-filter-group",children:[e.jsx("span",{children:s}),e.jsx("select",{value:a,onChange:t=>i(t.target.value),children:n.map(t=>e.jsx("option",{value:t.value,children:t.label},t.value))})]})}function I({title:s,emptyText:n,items:a,paginationKey:i,onPatchStatus:t,onOpenSession:r}){const c=_(a,i);return e.jsxs("section",{className:"insights-section",children:[e.jsx("h2",{children:s}),a.length===0?e.jsx("p",{className:"insights-empty",children:n}):e.jsxs("div",{className:"insights-table-frame",children:[e.jsx("div",{className:"insights-table-scroll",children:e.jsxs("table",{className:"insights-table insights-observations-table",children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:"Severity"}),e.jsx("th",{scope:"col",children:"Status"}),e.jsx("th",{scope:"col",children:"Observation"}),e.jsx("th",{scope:"col",children:"Updated"}),e.jsx("th",{scope:"col",children:"Actions"})]})}),e.jsx("tbody",{children:c.pageItems.map(l=>e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("span",{className:`insights-severity ${l.severity}`,children:se(l.severity)})}),e.jsx("td",{children:e.jsxs("div",{className:"insights-status-stack",children:[e.jsx("span",{children:l.status}),e.jsx("small",{children:le(w(l))})]})}),e.jsx("td",{children:e.jsxs("div",{className:"insights-copy",children:[e.jsx("strong",{children:l.title}),e.jsx("span",{children:l.summary})]})}),e.jsx("td",{className:"insights-time",children:N(l.updatedAt)}),e.jsx("td",{children:e.jsxs("div",{className:"insights-actions",children:[C(l.payload.sessionId)?e.jsx("button",{type:"button",className:"insights-text-action",onClick:()=>r(C(l.payload.sessionId)),children:"Source"}):null,l.lastRunSessionId?e.jsx("button",{type:"button",className:"insights-text-action",onClick:()=>r(l.lastRunSessionId),children:"Run"}):null,l.status==="active"?e.jsxs(e.Fragment,{children:[e.jsx("button",{type:"button",title:"Resolve observation","aria-label":"Resolve observation",onClick:()=>{t(l.id,"resolved")},children:e.jsx(V,{size:15})}),e.jsx("button",{type:"button",title:"Dismiss observation","aria-label":"Dismiss observation",onClick:()=>{t(l.id,"dismissed")},children:e.jsx(B,{size:15})})]}):e.jsx("button",{type:"button",title:"Reopen observation","aria-label":"Reopen observation",onClick:()=>{t(l.id,"active")},children:e.jsx(q,{size:15})})]})})]},l.id))})]})}),e.jsx(T,{label:s,...c})]})]})}function ee({runs:s,paginationKey:n,onOpenSession:a}){const i=_(s,n);return e.jsxs("section",{className:"insights-section",children:[e.jsx("h2",{children:"Runs"}),s.length===0?e.jsx("p",{className:"insights-empty",children:"No Insights runs yet."}):e.jsxs("div",{className:"insights-table-frame",children:[e.jsx("div",{className:"insights-table-scroll",children:e.jsxs("table",{className:"insights-table insights-runs-table",children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:"Trigger"}),e.jsx("th",{scope:"col",children:"Status"}),e.jsx("th",{scope:"col",children:"Model"}),e.jsx("th",{scope:"col",children:"Summary"}),e.jsx("th",{scope:"col",children:"Completed"}),e.jsx("th",{scope:"col",children:"Actions"})]})}),e.jsx("tbody",{children:i.pageItems.map(t=>e.jsxs("tr",{children:[e.jsx("td",{children:ne(t.trigger)}),e.jsx("td",{className:"insights-status",children:t.status}),e.jsx("td",{className:"insights-status",children:ie(t)}),e.jsx("td",{children:e.jsxs("div",{className:"insights-copy",children:[e.jsx("strong",{children:t.summary??`${t.findingCount} finding${t.findingCount===1?"":"s"}`}),e.jsxs("span",{children:[t.createdCount," new / ",t.updatedCount," updated / ",t.resolvedCount," resolved"]})]})}),e.jsx("td",{className:"insights-time",children:N(t.completedAt??t.startedAt)}),e.jsx("td",{children:e.jsx("div",{className:"insights-actions",children:e.jsx("button",{type:"button",className:"insights-text-action",onClick:()=>a(t.sessionId),children:"Open run"})})})]},t.turnId))})]})}),e.jsx(T,{label:"Runs",...i})]})]})}const p=10;function _(s,n){const[a,i]=o.useState(0);o.useEffect(()=>i(0),[n]);const t=Math.max(1,Math.ceil(s.length/p)),r=Math.min(a,t-1),c=r*p;return{pageItems:s.slice(c,c+p),pageIndex:r,pageCount:t,pageStart:c,pageSize:p,totalItems:s.length,onPageChange:i}}function T({label:s,pageIndex:n,pageCount:a,pageStart:i,pageSize:t,totalItems:r,onPageChange:c}){return e.jsxs("nav",{className:"insights-pagination","aria-label":`${s} pagination`,children:[e.jsxs("span",{children:[i+1,"–",Math.min(i+t,r)," of ",r]}),e.jsxs("div",{children:[e.jsx("button",{type:"button",disabled:n===0,onClick:()=>c(n-1),children:"Previous"}),e.jsxs("span",{children:["Page ",n+1," of ",a]}),e.jsx("button",{type:"button",disabled:n>=a-1,onClick:()=>c(n+1),children:"Next"})]})]})}function se(s){return s==="blocker"?"Blocker":s==="concern"?"Concern":"Nit"}function te(s,n,a){if(a)return"Scanning now";if(!s)return"Next scan not scheduled";const i=new Date(s).getTime();if(Number.isNaN(i))return"Next scan not scheduled";const t=i-n;if(t<=0)return"Next scan starting soon";const r=Math.ceil(t/6e4);return`${r} minute${r===1?"":"s"} till next scan`}function ne(s){return s==="slash_command"?"Slash command":s==="startup"?"Startup":s==="interval"?"Interval":"Manual"}function ie(s){return s.modelRef?`${s.modelRef.providerId} / ${s.modelRef.modelId}`:"Default"}function w(s){const n=s.payload.evidenceSource;return n==="create_edit"||n==="stuck_turn"||n==="tool_failure"||n==="abandoned_goal"||n==="user_correction"||n==="unresolved_conversation"||n==="usage_anomaly"?n:"create_edit"}function le(s){return s==="stuck_turn"?"Stuck turn":s==="tool_failure"?"Tool failures":s==="abandoned_goal"?"Abandoned goal":s==="user_correction"?"Corrections":s==="unresolved_conversation"?"Unresolved chat":s==="usage_anomaly"?"Usage":"Create/edit"}function C(s){return typeof s=="string"&&s.trim()?s:null}function N(s){const n=new Date(s);return Number.isNaN(n.getTime())?s:new Intl.DateTimeFormat(void 0,{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"}).format(n)}function ve({insights:s,training:n,onOpenLabsSection:a}){const[i,t]=o.useState("observations"),r=s.items.filter(l=>l.status==="active").length,c=n.training.payload?.candidates.length??0;return e.jsxs("section",{className:"labs-signals","aria-label":"Signals",children:[e.jsxs("div",{className:"labs-subtabs",role:"tablist","aria-label":"Signal types",children:[e.jsxs("button",{"aria-selected":i==="observations",className:i==="observations"?"active":void 0,role:"tab",type:"button",onClick:()=>t("observations"),children:["Observations ",e.jsx("span",{children:r})]}),e.jsxs("button",{"aria-selected":i==="suggestions",className:i==="suggestions"?"active":void 0,role:"tab",type:"button",onClick:()=>t("suggestions"),children:["AI Suggestions ",e.jsx("span",{children:c})]})]}),i==="observations"?e.jsx(Y,{...s}):e.jsx(X,{...n,section:"suggestions",onSectionChange:a})]})}export{ve as LabsSignals};
@@ -0,0 +1 @@
1
+ .insights-view{display:grid;align-content:start;gap:24px;width:min(980px,calc(100% - 72px));min-width:0;justify-self:center;padding:42px 0 64px}.insights-empty,.insights-error{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.insights-scan-preference{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px;min-width:0}.insights-scan-preference>div:first-child{display:grid;gap:4px;min-width:0}.insights-scan-preference strong{color:var(--text);font-size:13px;font-weight:600}.insights-scan-preference span{color:var(--muted);font-size:12px;line-height:1.45}.insights-scan-controls{display:inline-flex;align-items:center;justify-content:flex-end;gap:12px;flex:0 0 auto}.insights-scan-preference button{flex:0 0 auto;min-width:72px;min-height:32px;border:1px solid var(--border);border-radius:8px;background:transparent;color:var(--muted);padding:0 11px}.insights-scan-preference button:hover:not(:disabled){background:var(--panel-hover);color:var(--text)}.insights-scan-preference button.active{border-color:color-mix(in srgb,#67d59a 40%,var(--border));background:color-mix(in srgb,#67d59a 9%,transparent);color:#79d8a4}.insights-scan-preference button:disabled{opacity:.65}.insights-scan-countdown{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;white-space:nowrap}.insights-scan-dot{width:7px;height:7px;border-radius:999px;background:#f0d77a}.insights-scan-countdown.running .insights-scan-dot{background:#6ee7a8}.insights-active-scan{display:inline-flex;align-items:center;gap:10px;width:fit-content;max-width:100%;border:1px solid rgba(110,231,168,.24);border-radius:8px;background:#6ee7a812;color:var(--muted-strong);padding:9px 11px}.insights-active-scan .insights-scan-dot{background:#6ee7a8}.insights-active-scan div{display:grid;gap:2px;min-width:0}.insights-active-scan strong{color:var(--text);font-size:13px;font-weight:600}.insights-active-scan span:not(.insights-scan-dot){color:var(--muted);font-size:12px}.insights-error{color:#ff8a84}.insights-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));align-items:end;gap:12px;min-width:0}.insights-filter-group{display:grid;gap:6px;min-width:0}.insights-filter-group>span{color:var(--muted);font-size:12px}.insights-filter-group select{width:100%;min-width:0;min-height:34px;border:1px solid var(--border);border-radius:8px;background:var(--panel);color:var(--text);padding:0 30px 0 10px;font:inherit;font-size:12px}.insights-filter-group select:hover{border-color:color-mix(in srgb,var(--text) 22%,var(--border))}.insights-filter-group select:focus-visible{outline:2px solid color-mix(in srgb,var(--accent, #7aa2ff) 55%,transparent);outline-offset:1px}.insights-section{display:grid;gap:10px;min-width:0}.insights-section h2{margin:0;color:var(--muted-strong);font-size:13px;font-weight:600}.insights-table-frame{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--panel)}.insights-table-scroll{width:100%;overflow-x:auto}.insights-table{width:100%;min-width:760px;border-collapse:collapse;color:var(--text);font-size:12px;text-align:left}.insights-runs-table{min-width:880px}.insights-table th,.insights-table td{min-width:0;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}.insights-table th{padding:9px 12px;background:var(--panel-soft);color:var(--muted);font-size:12px;font-weight:500;white-space:nowrap}.insights-table td{padding:11px 12px}.insights-table tbody tr:last-child td{border-bottom:0}.insights-table tbody tr:hover{background:var(--panel-soft)}.insights-observations-table th:nth-child(1),.insights-observations-table td:nth-child(1){width:92px}.insights-observations-table th:nth-child(2),.insights-observations-table td:nth-child(2){width:110px}.insights-observations-table th:nth-child(4),.insights-observations-table td:nth-child(4){width:132px}.insights-observations-table th:nth-child(5),.insights-observations-table td:nth-child(5){width:150px}.insights-runs-table th:nth-child(1),.insights-runs-table td:nth-child(1){width:112px}.insights-runs-table th:nth-child(2),.insights-runs-table td:nth-child(2){width:98px}.insights-runs-table th:nth-child(3),.insights-runs-table td:nth-child(3){width:160px}.insights-runs-table th:nth-child(5),.insights-runs-table td:nth-child(5){width:136px}.insights-runs-table th:nth-child(6),.insights-runs-table td:nth-child(6){width:112px}.insights-severity{display:inline-flex;align-items:center;min-height:22px;border-radius:7px;padding:0 7px;font-size:12px}.insights-severity.nit{background:#3aa3ff1f;color:#8bc7ff}.insights-severity.concern{background:#f4c5421f;color:#f0d77a}.insights-severity.blocker{background:#ff706a24;color:#ff9b96}.insights-status,.insights-status-stack,.insights-time{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.insights-status-stack{display:grid;gap:3px}.insights-status-stack small{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis}.insights-copy{display:grid;gap:4px;min-width:0}.insights-copy strong,.insights-copy span{min-width:0;overflow-wrap:anywhere}.insights-copy strong{color:var(--text);font-size:13px;font-weight:600}.insights-copy span{color:var(--muted-strong);line-height:1.4}.insights-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0}.insights-actions button{display:inline-grid;place-items:center;width:28px;height:28px;border:0;border-radius:7px;background:transparent;color:var(--muted);padding:0}.insights-actions .insights-text-action{width:auto;min-width:28px;padding:0 8px;white-space:nowrap}.insights-actions button:hover{background:#ffffff14;color:var(--text)}.insights-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--border);padding:8px 10px;color:var(--muted);font-size:12px}.insights-pagination>div{display:inline-flex;align-items:center;gap:10px}.insights-pagination button{min-height:28px;border:1px solid var(--border);border-radius:7px;background:transparent;color:var(--muted-strong);padding:0 9px;font-size:12px}.insights-pagination button:hover:not(:disabled){background:var(--panel-hover);color:var(--text)}.insights-pagination button:disabled{opacity:.42}@media(max-width:900px){.insights-filters{grid-template-columns:repeat(3,minmax(140px,1fr))}}@media(max-width:780px){.insights-view{width:min(100% - 32px,980px);padding:26px 0 42px}.insights-scan-preference{align-items:stretch;flex-direction:column;gap:12px}.insights-scan-controls{justify-content:space-between}.insights-filters{grid-template-columns:repeat(2,minmax(130px,1fr))}}@media(max-width:480px){.insights-filters{grid-template-columns:minmax(0,1fr)}}
@@ -0,0 +1 @@
1
+ import{j as e,X as N,C as b,s as P,a4 as f}from"./index-CU2qhUYV.js";function w({open:d,mode:i="local",name:s,path:r,directory:n,busy:t,onNameChange:c,onPathChange:j,onClose:p,onSubmit:g}){if(!d)return null;const o=i==="cloud",l=i==="existing-local",u=o?b:l?P:f,x=o?"New Cloud Project":l?"Use Existing Folder":"New Local Project",h=o?"Create a hosted project in OpenPond Cloud.":l?"Add an existing local project folder to Projects.":"Create a new local Git project and add it to Projects.",m=t||(l?!r.trim():!s.trim()),C=t?l?"Adding":"Creating":o?"Create Cloud Project":l?"Add project":"Create project";return e.jsx("div",{className:"git-dialog-backdrop",role:"presentation",children:e.jsxs("form",{className:"git-dialog new-project-dialog","aria-label":l?"Add existing project":"Create project",onSubmit:a=>{a.preventDefault(),g()},children:[e.jsx("button",{className:"git-dialog-close",disabled:t,type:"button",onClick:p,children:e.jsx(N,{size:14})}),e.jsx("div",{className:"git-dialog-icon",children:e.jsx(u,{size:18})}),e.jsx("h2",{children:x}),e.jsx("p",{children:h}),l?e.jsxs("label",{className:"git-dialog-field",children:[e.jsx("span",{children:"Folder path"}),e.jsx("input",{autoFocus:!0,disabled:t,placeholder:"/home/user/project",value:r,onChange:a=>j(a.target.value)})]}):e.jsxs(e.Fragment,{children:[e.jsxs("label",{className:"git-dialog-field",children:[e.jsx("span",{children:"Project name"}),e.jsx("input",{autoFocus:!0,disabled:t,placeholder:"New project",value:s,onChange:a=>c(a.target.value)})]}),e.jsxs("div",{className:"git-dialog-row",children:[e.jsx("span",{children:"Location"}),e.jsx("strong",{className:"git-dialog-path",children:o?"OpenPond Cloud":n})]})]}),e.jsx("button",{className:"git-dialog-primary full",disabled:m,type:"submit",children:C})]})})}export{w as NewProjectDialog};
@@ -0,0 +1 @@
1
+ .settings-shell{position:relative;display:grid;grid-template-columns:300px minmax(0,1fr);height:100%;min-height:0;background:var(--bg)}.settings-window-controls{position:absolute;z-index:4;top:12px;right:12px;display:inline-flex;align-items:center;height:20px;-webkit-app-region:no-drag;app-region:no-drag}.settings-drag-region{position:absolute;z-index:2;top:0;right:0;left:300px;height:43px;-webkit-app-region:drag;app-region:drag}.settings-sidebar{min-height:0;border-right:1px solid var(--border);background:#101010;padding:12px 7px 0}.settings-shell.platform-macos .settings-sidebar{padding-top:43px}.settings-back{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;width:100%;min-height:32px;border:0;border-radius:12px;background:transparent;color:#8e8e8e;padding:0 10px;text-align:left;font-size:13px}.settings-back span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-back:hover{color:var(--text);background:#ffffff0f}.settings-nav{display:grid;gap:3px;margin-top:10px}.settings-nav-group{display:grid;gap:3px}.settings-nav-group+.settings-nav-group{margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.06)}.settings-nav-heading{padding:3px 10px 5px;color:#8a8a8a;font-size:11px;font-weight:600}.settings-nav-item{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;min-height:29px;border:0;border-radius:10px;background:transparent;color:#f5f5f5;padding:0 10px;text-align:left;font-size:13px}.settings-nav-item.active{background:#2a2a2a}.settings-content{min-width:0;min-height:0;overflow:auto;padding:64px max(48px,12vw);scrollbar-width:none}.settings-content::-webkit-scrollbar{display:none}.account-settings{display:grid;gap:28px;max-width:760px}.account-settings h1{margin:0 0 24px;color:#f7f7f7;font-size:22px;font-weight:500;letter-spacing:0}.account-settings-title{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 24px}.account-settings-title h1{margin:0}
@@ -0,0 +1 @@
1
+ import{d as _,r as m,m as b,j as e,V as I,w as W,ah as $,an as T,h as U,X as z,aB as B}from"./index-CU2qhUYV.js";import{G as R}from"./git-commit-horizontal-CAickXpN.js";import{R as q}from"./refresh-cw-N5b_6AP5.js";import{P as V}from"./play-CeRw21NV.js";const Q=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],X=_("rotate-ccw",Q),J=5e3;function K(t){const[a,s]=m.useState([]),[n,l]=m.useState(!1),[i,o]=m.useState(null),[r,g]=m.useState(()=>new Set);m.useEffect(()=>{if(!t){s([]),o(null),l(!1);return}let c=!1,u=null;async function N(h){if(!(!t||c)){h&&l(!0);try{const f=await b.localAgentSchedules(t);if(c)return;s(f.schedules),o(null)}catch(f){c||o(A(f))}finally{!c&&h&&l(!1)}}}return N(!0),u=window.setInterval(()=>{N(!1)},J),()=>{c=!0,u!==null&&window.clearInterval(u)}},[t]);async function p(){if(t){l(!0);try{const c=await b.syncLocalAgentSchedules(t);s(c.schedules),o(null)}catch(c){o(A(c))}finally{l(!1)}}}async function x(c){if(!(!t||r.has(c.id))){j(c.id,!0);try{await b.runLocalAgentSchedule(t,c.id);const u=await b.localAgentSchedules(t);s(u.schedules),o(null)}catch(u){o(A(u))}finally{j(c.id,!1)}}}async function d(c){if(!(!t||r.has(c.id))){j(c.id,!0);try{await b.patchLocalAgentSchedule(t,c.id,{enabled:!c.enabled});const u=await b.localAgentSchedules(t);s(u.schedules),o(null)}catch(u){o(A(u))}finally{j(c.id,!1)}}}function j(c,u){g(N=>{const h=new Set(N);return u?h.add(c):h.delete(c),h})}return{error:i,loading:n,pendingScheduleIds:r,refresh:p,run:x,schedules:a,toggle:d}}function A(t){return t instanceof Error?t.message:String(t)}function Y({connection:t,profile:a,selectedDefaultTeamId:s}){const n=K(t);return e.jsxs("div",{className:"account-list profile-agent-list","aria-label":"Profile agents",children:[e.jsxs("div",{className:"account-list-heading profile-agent-list-heading",children:[e.jsx("span",{children:"Agents"}),e.jsx("div",{className:"profile-skill-heading-actions",children:e.jsx("small",{children:te(n.schedules.length,n.loading)})})]}),a.agents.length||n.schedules.length?e.jsx("div",{className:"profile-agent-table-frame",children:e.jsxs("table",{className:"profile-agent-table","aria-label":"Profile agents table",children:[e.jsxs("colgroup",{children:[e.jsx("col",{className:"profile-agent-column"}),e.jsx("col",{className:"profile-action-column"}),e.jsx("col",{className:"profile-check-column"}),e.jsx("col",{className:"profile-sync-column"})]}),e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:"Agent"}),e.jsx("th",{scope:"col",children:"Action"}),e.jsx("th",{scope:"col",children:"Check"}),e.jsx("th",{scope:"col",children:"Sync"})]})}),e.jsxs("tbody",{children:[a.agents.map(l=>e.jsx(Z,{agent:l,defaultAction:a.summary.defaultAction,profile:a,selectedDefaultTeamId:s},l.id)),n.schedules.map(l=>e.jsx(ee,{pending:n.pendingScheduleIds.has(l.id),schedule:l,refreshing:n.loading,onRefresh:()=>{n.refresh()},onRun:()=>{n.run(l)},onToggle:()=>{n.toggle(l)}},l.id))]})]})}):e.jsxs("div",{className:"empty-account-list",children:[e.jsx("strong",{children:"No profile agents found"}),e.jsx("span",{children:"Create an agent, then run Profile checks to add it to the catalog."})]}),n.error?e.jsxs("div",{className:"profile-footline warning profile-agent-list-note",children:["Local schedules: ",n.error]}):null]})}function Z({agent:t,defaultAction:a,profile:s,selectedDefaultTeamId:n}){const l=ne(s,t,n);return e.jsxs("tr",{className:"profile-agent-row",children:[e.jsx("td",{children:e.jsxs("div",{className:"profile-agent-identity",children:[e.jsx(I,{size:18}),e.jsxs("div",{children:[e.jsx("strong",{children:t.name}),e.jsx("span",{title:t.path,children:t.path})]})]})}),e.jsx("td",{children:e.jsx("div",{className:"profile-agent-action",children:e.jsx("span",{children:a??"None"})})}),e.jsx("td",{children:e.jsx(H,{status:l.check})}),e.jsx("td",{children:e.jsx(H,{status:l.sync})})]})}function ee({pending:t,refreshing:a,schedule:s,onRefresh:n,onRun:l,onToggle:i}){const o=se(s),r=s.enabled?"Pause schedule":"Resume schedule";return e.jsxs("tr",{className:"profile-agent-row profile-schedule-agent-row",children:[e.jsx("td",{children:e.jsxs("div",{className:"profile-agent-identity",children:[e.jsx(I,{size:18}),e.jsxs("div",{children:[e.jsx("strong",{children:s.localProjectName}),e.jsxs("span",{title:s.scheduleName,children:["schedule: ",s.scheduleName]})]})]})}),e.jsx("td",{children:e.jsx("div",{className:"profile-agent-action",children:e.jsx("span",{title:s.targetAction,children:s.targetAction})})}),e.jsx("td",{children:e.jsx(H,{status:o})}),e.jsx("td",{children:e.jsxs("div",{className:"profile-schedule-actions",children:[e.jsx("span",{className:"profile-schedule-expression",title:ae(s),children:s.enabled?s.scheduleExpression:"Paused"}),e.jsxs("div",{className:"profile-schedule-controls","aria-label":`${s.scheduleName} schedule controls`,children:[e.jsx("button",{className:"settings-icon-button profile-schedule-button",disabled:a,type:"button",title:"Refresh local schedules","aria-label":"Refresh local schedules",onClick:n,children:e.jsx(q,{size:14,className:a?"settings-spin":void 0})}),e.jsx("button",{className:"settings-icon-button profile-schedule-button",disabled:t,type:"button",title:"Run now","aria-label":`Run ${s.scheduleName} now`,onClick:l,children:e.jsx(X,{size:14})}),e.jsx("button",{className:"settings-icon-button profile-schedule-button",disabled:t,type:"button",title:r,"aria-label":`${r}: ${s.scheduleName}`,onClick:i,children:s.enabled?e.jsx(W,{size:14}):e.jsx(V,{size:14})})]})]})})]})}function H({status:t}){return e.jsx("span",{className:`profile-status-text ${t.state}`,children:t.label})}function te(t,a){return a&&t===0?"Loading schedules":a?`${t} scheduled, refreshing`:t===1?"1 scheduled":t>1?`${t} scheduled`:"No schedules"}function se(t){return t.enabled?t.lastError||t.lastRunStatus==="failed"?{state:"warning",label:"Failed"}:t.lastRunStatus==="running"?{state:"loading",label:"Running"}:t.lastRunStatus==="queued"?{state:"loading",label:"Queued"}:t.lastRunStatus==="skipped"?{state:"warning",label:"Skipped"}:t.lastRunStatus==="succeeded"?{state:"ready",label:"Succeeded"}:{state:"loading",label:"Scheduled"}:{state:"disabled",label:"Paused"}}function ae(t){const a=[`${t.scheduleType}: ${t.scheduleExpression}`];return t.nextRunAt&&a.push(`next ${E(t.nextRunAt)}`),t.lastRunAt&&a.push(`last ${E(t.lastRunAt)}`),a.join(" - ")}function E(t){const a=new Date(t);return Number.isFinite(a.getTime())?a.toLocaleString(void 0,{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"}):t}function ne(t,a,s){if(!a.enabled)return{check:{state:"disabled",label:"Disabled"},sync:{state:"disabled",label:"Disabled"}};if(t.error)return{check:{state:"warning",label:"Error"},sync:{state:"warning",label:"Blocked"}};if(t.setupGate.blockingCount>0)return{check:{state:"warning",label:"Setup"},sync:{state:"warning",label:"Blocked"}};if(t.git?.dirty||ie(t,a)>0)return{check:{state:"loading",label:"Pending"},sync:{state:"warning",label:"Changed"}};if(t.catalog.stale)return{check:{state:"loading",label:"Stale"},sync:{state:"loading",label:"Waiting"}};if(!t.lastCheck)return{check:{state:"loading",label:"Unchecked"},sync:{state:"loading",label:"Waiting"}};if(t.lastCheck.status==="failed")return{check:{state:"warning",label:"Failed"},sync:{state:"warning",label:"Blocked"}};if(!t.summary.checkFresh)return{check:{state:"loading",label:"Stale"},sync:{state:"loading",label:"Waiting"}};if(le(t,s))return{check:{state:"ready",label:"Passed"},sync:{state:"warning",label:"Sync acct"}};const n=t.summary.localHead??t.git?.head??null,l=t.hosted?.lastPushedLocalHead??null;return!(t.summary.hostedHead??t.hosted?.sourceCommitSha??null)&&!l?{check:{state:"ready",label:"Passed"},sync:{state:"loading",label:"Not synced"}}:n&&l&&n!==l?{check:{state:"ready",label:"Passed"},sync:{state:"loading",label:"Needed"}}:{check:{state:"ready",label:"Passed"},sync:{state:"ready",label:"Synced"}}}function le(t,a){const s=t.hosted?.teamId?.trim()??"";return!!(s&&a&&s!==a)}function ie(t,a){let s=0;t.diff.changedAgents.includes(a.id)&&(s+=1),t.diff.newAgents.includes(a.id)&&(s+=1),t.diff.deletedAgents.includes(a.id)&&(s+=1);const n=a.path.replace(/^profiles\/[^/]+\//,"");for(const l of t.diff.files){const i=l.path.replace(/^profiles\/[^/]+\//,"");(i===n||i.startsWith(`${n}/`)||i.startsWith(`agents/${a.id}/`))&&(s+=1)}return s}function ye({section:t="all",payload:a,connection:s,onPayload:n,onError:l,onToast:i,onSkillCommand:o,overviewContent:r}){const[g,p]=m.useState(""),[x,d]=m.useState("default"),[j,c]=m.useState(""),[u,N]=m.useState(null),h=a?.profile??null,f=a?.preferences.defaultTeamId?.trim()||"";m.useEffect(()=>{h&&(p(y=>y||h.repoPath||""),d(y=>y||h.activeProfile||"default"))},[h]);async function v(y){s&&(n(await b.bootstrap(s)),i?.(y,"success"))}async function C(y,G){if(!(!s||u)){N(y),l(null);try{await G()}catch(L){l(L instanceof Error?L.message:String(L))}finally{N(null)}}}function k(){C("init",async()=>{await b.profileInit(s,{path:g.trim()||null,profile:x.trim()||"default"}),await v("Profile initialized")})}function P(){C("load",async()=>{const y=g.trim();if(!y)throw new Error("Profile repo path is required.");await b.profileLoad(s,{path:y,profile:x.trim()||null}),await v("Profile loaded")})}function S(){C("commit",async()=>{await b.profileCommit(s,{message:j.trim()||null}),c(""),await v("Profile commit complete")})}function D(){C("push",async()=>{if(!f)throw new Error("Select a default team before syncing a hosted profile.");await b.profileCheck(s,{kind:"all"}),await b.profilePush(s,{teamId:f,ensureHosted:!0,message:null}),await v("Profile synced to hosted profile repo")})}return e.jsx("section",{className:"account-settings",children:h?.mode==="local"?e.jsxs(e.Fragment,{children:[t!=="agents"?e.jsxs(e.Fragment,{children:[e.jsx(M,{connection:s,profile:h,profileBusy:u,profileCommitMessage:j,profileName:x,profilePath:g,selectedDefaultTeamId:f,syncDisabledReason:ge(h,f),setProfileCommitMessage:c,setProfileName:d,setProfilePath:p,submitProfileCommit:S,submitProfileInit:k,submitProfileLoad:P,submitProfilePush:D}),r]}):null,t!=="profile"?e.jsx(Y,{connection:s,profile:h,selectedDefaultTeamId:f}):null,t!=="agents"?e.jsx(de,{onSkillCommand:o,profile:h}):null]}):t==="agents"?e.jsxs("div",{className:"account-list",children:[e.jsxs("div",{className:"account-list-heading",children:[e.jsx("span",{children:"Agents"}),e.jsx("small",{children:"Profile required"})]}),e.jsxs("div",{className:"empty-account-list",children:[e.jsx("strong",{children:"No local Profile loaded"}),e.jsx("span",{children:"Open the Profile tab to create or load a Profile before managing agents."})]})]}):e.jsxs("div",{className:"account-list",children:[e.jsxs("div",{className:"account-list-heading",children:[e.jsx("span",{children:"Summary"}),e.jsx("small",{children:"Not loaded"})]}),e.jsxs("div",{className:"empty-account-list",children:[e.jsx("strong",{children:"No local profile loaded"}),e.jsx("span",{children:"Create a default profile here, or load an existing profile repo path."}),e.jsx(M,{connection:s,inline:!0,profile:null,profileBusy:u,profileCommitMessage:j,profileName:x,profilePath:g,selectedDefaultTeamId:f,syncDisabledReason:"Load a local profile before syncing.",setProfileCommitMessage:c,setProfileName:d,setProfilePath:p,submitProfileCommit:S,submitProfileInit:k,submitProfileLoad:P,submitProfilePush:D})]})]})})}function M({connection:t,inline:a=!1,profile:s,profileBusy:n,profileCommitMessage:l,profileName:i,profilePath:o,selectedDefaultTeamId:r,syncDisabledReason:g,setProfileCommitMessage:p,setProfileName:x,setProfilePath:d,submitProfileCommit:j,submitProfileInit:c,submitProfileLoad:u,submitProfilePush:N}){const[h,f]=m.useState(!1),[v,C]=m.useState(!1),[k,P]=m.useState(!1),S=!t||!!n;return e.jsxs("div",{className:`profile-control-panel ${a?"inline":""}`,children:[e.jsx("div",{className:"profile-control-toolbar",children:e.jsxs("div",{className:"profile-control-actions",children:[a?null:e.jsxs(e.Fragment,{children:[e.jsxs("button",{className:"settings-secondary",disabled:S,type:"button",onClick:()=>C(!0),children:[e.jsx(R,{size:14}),e.jsx("span",{children:n==="commit"?"Committing":"Commit"})]}),e.jsxs("button",{className:"settings-secondary",disabled:S||!s,type:"button",onClick:()=>P(!0),children:[e.jsx($,{size:14}),e.jsx("span",{children:n==="push"?"Syncing":"Sync"})]})]}),e.jsxs("button",{className:"settings-secondary",disabled:!!n,type:"button",onClick:()=>f(!0),children:[e.jsx(T,{size:14}),e.jsx("span",{children:"Repo"})]}),!a&&s?e.jsxs("span",{className:"profile-hosted-status",title:`Hosted profile status: ${F(s,r)}`,children:[e.jsx($,{size:14}),e.jsx("span",{children:"Hosted"}),e.jsx("strong",{children:F(s,r)})]}):null]})}),h?e.jsx(re,{disabled:S,profileBusy:n,profileName:i,profilePath:o,setProfileName:x,setProfilePath:d,submitProfileInit:c,submitProfileLoad:u,onClose:()=>f(!1)}):null,v?e.jsx(oe,{disabled:S,profileBusy:n,profileCommitMessage:l,setProfileCommitMessage:p,submitProfileCommit:j,onClose:()=>C(!1)}):null,k&&s?e.jsx(ce,{disabled:S,profile:s,profileBusy:n,selectedDefaultTeamId:r,syncDisabledReason:g,submitProfilePush:N,onClose:()=>P(!1)}):null]})}function oe({disabled:t,profileBusy:a,profileCommitMessage:s,setProfileCommitMessage:n,submitProfileCommit:l,onClose:i}){function o(r){r.preventDefault(),!t&&(l(),i())}return e.jsx("div",{className:"git-dialog-backdrop",role:"presentation",onMouseDown:i,children:e.jsxs("form",{className:"git-dialog profile-commit-dialog",role:"dialog","aria-modal":"true","aria-labelledby":"profile-commit-dialog-title",onMouseDown:r=>r.stopPropagation(),onSubmit:o,children:[e.jsx("button",{className:"git-dialog-close",disabled:!!a,type:"button",title:"Close","aria-label":"Close",onClick:i,children:e.jsx(z,{size:14})}),e.jsx("div",{className:"git-dialog-icon",children:e.jsx(R,{size:18})}),e.jsx("h2",{id:"profile-commit-dialog-title",children:"Commit profile"}),e.jsxs("label",{className:"git-dialog-field",children:[e.jsx("span",{children:"Commit message"}),e.jsx("input",{autoFocus:!0,value:s,disabled:!!a,placeholder:"Update OpenPond profile",onChange:r=>n(r.target.value)})]}),e.jsxs("div",{className:"git-dialog-footer",children:[e.jsx("button",{className:"git-dialog-secondary",disabled:!!a,type:"button",onClick:i,children:"Cancel"}),e.jsxs("button",{className:"git-dialog-primary",disabled:t,type:"submit",children:[e.jsx(R,{size:14}),e.jsx("span",{children:a==="commit"?"Committing":"Commit"})]})]})]})})}function ce({disabled:t,profile:a,profileBusy:s,selectedDefaultTeamId:n,syncDisabledReason:l,submitProfilePush:i,onClose:o}){const r=fe(a,n),g=r.reduce((d,j)=>d+j.count,0),p=!t&&!l;function x(d){d.preventDefault(),p&&(i(),o())}return e.jsx("div",{className:"git-dialog-backdrop",role:"presentation",onMouseDown:o,children:e.jsxs("form",{className:"git-dialog profile-sync-dialog",role:"dialog","aria-modal":"true","aria-labelledby":"profile-sync-dialog-title",onMouseDown:d=>d.stopPropagation(),onSubmit:x,children:[e.jsx("button",{className:"git-dialog-close",disabled:!!s,type:"button",title:"Close","aria-label":"Close",onClick:o,children:e.jsx(z,{size:14})}),e.jsx("div",{className:"git-dialog-icon",children:e.jsx($,{size:18})}),e.jsx("h2",{id:"profile-sync-dialog-title",children:"Sync profile"}),e.jsxs("div",{className:"profile-dialog-summary",children:[e.jsxs("strong",{children:[g," ",g===1?"item":"items"," out of sync"]}),e.jsxs("span",{children:["Local ",w(a.summary.localHead??a.git?.head)," - Last pushed"," ",w(a.hosted?.lastPushedLocalHead)]})]}),r.length?e.jsx("div",{className:"profile-dialog-diff-list","aria-label":"Profile sync differences",children:r.map(d=>e.jsxs("div",{className:`profile-dialog-diff-row ${d.tone??""}`,children:[e.jsx("strong",{children:d.label}),e.jsx("span",{children:d.detail})]},d.label))}):e.jsx("div",{className:"profile-dialog-diff-list","aria-label":"Profile sync differences",children:e.jsxs("div",{className:"profile-dialog-diff-row",children:[e.jsx("strong",{children:"Aligned"}),e.jsx("span",{children:"Current local profile source has already been pushed."})]})}),l?e.jsx("div",{className:"profile-dialog-warning",children:l}):null,e.jsxs("div",{className:"git-dialog-footer",children:[e.jsx("button",{className:"git-dialog-secondary",disabled:!!s,type:"button",onClick:o,children:"Cancel"}),e.jsxs("button",{className:"git-dialog-primary",disabled:!p,type:"submit",children:[e.jsx($,{size:14}),e.jsx("span",{children:s==="push"?"Syncing":"Confirm sync"})]})]})]})})}function re({disabled:t,profileBusy:a,profileName:s,profilePath:n,setProfileName:l,setProfilePath:i,submitProfileInit:o,submitProfileLoad:r,onClose:g}){function p(d){d.preventDefault(),!(t||!n.trim())&&(r(),g())}function x(){t||(o(),g())}return e.jsx("div",{className:"git-dialog-backdrop",role:"presentation",onMouseDown:g,children:e.jsxs("form",{className:"git-dialog profile-path-dialog",role:"dialog","aria-modal":"true","aria-labelledby":"profile-path-dialog-title",onMouseDown:d=>d.stopPropagation(),onSubmit:p,children:[e.jsx("button",{className:"git-dialog-close",disabled:!!a,type:"button",title:"Close","aria-label":"Close",onClick:g,children:e.jsx(z,{size:14})}),e.jsx("div",{className:"git-dialog-icon",children:e.jsx(T,{size:18})}),e.jsx("h2",{id:"profile-path-dialog-title",children:"Profile repo"}),e.jsxs("label",{className:"git-dialog-field",children:[e.jsx("span",{children:"Profile repo path"}),e.jsx("input",{value:n,disabled:!!a,placeholder:"~/.openpond/profiles/default-repo",onChange:d=>i(d.target.value)})]}),e.jsxs("label",{className:"git-dialog-field",children:[e.jsx("span",{children:"Active profile"}),e.jsx("input",{value:s,disabled:!!a,placeholder:"default",onChange:d=>l(d.target.value)})]}),e.jsxs("div",{className:"git-dialog-footer",children:[e.jsx("button",{className:"git-dialog-secondary",disabled:!!a,type:"button",onClick:g,children:"Close"}),e.jsxs("button",{className:"git-dialog-secondary",disabled:t,type:"button",onClick:x,children:[e.jsx(U,{size:14}),e.jsx("span",{children:a==="init"?"Creating":"Create"})]}),e.jsxs("button",{className:"git-dialog-primary",disabled:t||!n.trim(),type:"submit",children:[e.jsx(q,{size:14,className:a==="load"?"settings-spin":void 0}),e.jsx("span",{children:a==="load"?"Loading":"Load"})]})]})]})})}function de({onSkillCommand:t,profile:a}){const s=a.skills.slice().sort((i,o)=>i.name.localeCompare(o.name)),n=!t;function l(i){t?.(i)}return e.jsxs("div",{className:"account-list profile-skill-list",children:[e.jsxs("div",{className:"account-list-heading profile-agent-list-heading",children:[e.jsx("span",{children:"Skills"}),e.jsxs("div",{className:"profile-skill-heading-actions",children:[e.jsxs("small",{children:[a.skillCatalog.skillCount," tracked"]}),e.jsxs("button",{className:"settings-secondary",disabled:n,type:"button",title:"Create profile skill",onClick:()=>l("/skill create "),children:[e.jsx(U,{size:14}),e.jsx("span",{children:"Create"})]})]})]}),s.length?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"profile-skill-table-head","aria-hidden":"true",children:[e.jsx("span",{children:"Skill"}),e.jsx("span",{children:"Trigger"}),e.jsx("span",{children:"Status"}),e.jsx("span",{children:"Source"}),e.jsx("span",{children:"Actions"})]}),s.map(i=>e.jsx(ue,{commandDisabled:n,onSkillCommand:l,skill:i},i.name))]}):e.jsxs("div",{className:"empty-account-list",children:[e.jsx("strong",{children:"No profile skills found"}),e.jsx("span",{children:"Use /skill create to add reusable profile instructions."})]})]})}function ue({commandDisabled:t,onSkillCommand:a,skill:s}){const n=s.validationStatus==="valid"?{state:"ready",label:"valid"}:{state:"warning",label:s.validationStatus};return e.jsxs("div",{className:"product-row profile-skill-row",children:[e.jsxs("div",{className:"profile-agent-identity",children:[e.jsx(B,{size:18}),e.jsxs("div",{children:[e.jsx("strong",{children:s.name}),e.jsx("span",{title:s.path,children:s.path})]})]}),e.jsx("div",{className:"profile-skill-description",title:s.description,children:s.description||"No description"}),e.jsx(he,{status:n}),e.jsx("div",{className:"profile-agent-action",children:e.jsx("span",{title:s.sourcePath,children:s.sourcePath})}),e.jsxs("div",{className:"profile-skill-actions",children:[e.jsx("button",{className:"settings-secondary compact",disabled:t||!s.enabled,type:"button",title:`Use ${s.name}`,onClick:()=>a(`$${s.name} `),children:e.jsx("span",{children:"Use"})}),e.jsx("button",{className:"settings-secondary compact",disabled:t,type:"button",title:`Edit ${s.name}`,onClick:()=>a(`/skill edit ${s.name} `),children:e.jsx("span",{children:"Edit"})})]})]})}function he({status:t}){return e.jsx("span",{className:`profile-status-text ${t.state}`,children:t.label})}function w(t){return t?t.slice(0,10):"None"}function F(t,a){return O(t,a)?"Sync this account":t.hosted?.sourceCommitSha?`${t.hosted.promotionStatus??"uploaded"} ${w(t.hosted.sourceCommitSha)}`:"Not pushed"}function ge(t,a){return a?t.git?.head?t.git.dirty?"Commit local profile changes before syncing.":null:"Commit the profile before syncing.":"Select a default team before syncing."}function fe(t,a){const s=[],n=t.summary.localHead??t.git?.head??null,l=t.hosted?.lastPushedLocalHead??null,i=t.summary.hostedHead??t.hosted?.sourceCommitSha??null;if(O(t,a)&&s.push({label:"Account",detail:"Hosted profile metadata was synced under a different default team.",count:1,tone:"warning"}),!i&&!l?s.push({label:"Hosted source",detail:"No hosted profile commit has been recorded.",count:1}):n&&l&&n!==l&&s.push({label:"Commit",detail:`Local ${w(n)} has not been pushed since ${w(l)}.`,count:1}),t.git?.dirty){const r=t.git.files.length||t.diff.files.length||1;s.push({label:"Uncommitted files",detail:`${r} local ${r===1?"file":"files"} changed.`,count:r,tone:"warning"})}const o=t.diff.changedAgents.length+t.diff.newAgents.length+t.diff.deletedAgents.length+t.diff.changedSkills.length+t.diff.changedActions.length+t.diff.changedExtensions.length+t.diff.setupChanges.length+t.diff.envRequirementChanges.length;return o>0&&s.push({label:"Profile changes",detail:me(t),count:o,tone:t.git?.dirty?"warning":void 0}),t.catalog.stale&&s.push({label:"Catalog",detail:"Action catalog artifacts are stale or missing.",count:1,tone:"warning"}),t.setupGate.blockingCount>0&&s.push({label:"Setup",detail:`${t.setupGate.blockingCount} blocking setup ${t.setupGate.blockingCount===1?"requirement":"requirements"}.`,count:t.setupGate.blockingCount,tone:"warning"}),s}function me(t){const a=[],s=t.diff.changedAgents.length+t.diff.newAgents.length+t.diff.deletedAgents.length;return s&&a.push(`${s} agent ${s===1?"change":"changes"}`),t.diff.changedActions.length&&a.push(`${t.diff.changedActions.length} action ${t.diff.changedActions.length===1?"change":"changes"}`),t.diff.changedSkills.length&&a.push(`${t.diff.changedSkills.length} skill ${t.diff.changedSkills.length===1?"change":"changes"}`),t.diff.changedExtensions.length&&a.push(`${t.diff.changedExtensions.length} extension ${t.diff.changedExtensions.length===1?"change":"changes"}`),t.diff.setupChanges.length&&a.push(`${t.diff.setupChanges.length} setup ${t.diff.setupChanges.length===1?"change":"changes"}`),t.diff.envRequirementChanges.length&&a.push(`${t.diff.envRequirementChanges.length} env ${t.diff.envRequirementChanges.length===1?"change":"changes"}`),a.join(", ")||"Profile source has local changes."}function O(t,a){const s=t.hosted?.teamId?.trim()??"";return!!(s&&a&&s!==a)}export{ye as P,X as R};
@@ -0,0 +1 @@
1
+ import{j as r}from"./index-CU2qhUYV.js";import{P as n}from"./ProfileSettingsSection-DxEzoF3K.js";/* empty css */import"./git-commit-horizontal-CAickXpN.js";import"./refresh-cw-N5b_6AP5.js";import"./play-CeRw21NV.js";function g({section:i="all",payload:e,connection:o,onPayload:t,onError:s,onToast:l,onSkillCommand:m,overviewContent:a}){return r.jsx("section",{className:"profile-view","aria-label":i==="agents"?"Agents":"Profile",children:r.jsx(n,{section:i,payload:e,connection:o,onPayload:t,onError:s,onToast:l,onSkillCommand:m,overviewContent:a})})}export{g as ProfileView};
@@ -0,0 +1 @@
1
+ .remote-access-summary{align-items:flex-start}.remote-access-summary .account-summary-actions{flex-wrap:wrap}.remote-access-icon,.remote-access-peer-dot{display:grid;place-items:center;width:34px;height:34px;border-radius:17px;background:#ffffff12;color:#9d9d9d}.remote-access-icon.configured{background:#3aa3ff21;color:#77bdff}.remote-access-icon.online{background:#50c87821;color:#8ddfa8}.remote-access-link-heading{align-items:center}.remote-access-link-heading>div{display:grid;gap:3px;min-width:0}.remote-access-link-heading span,.remote-access-link-heading small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remote-access-value-row{align-items:flex-start}.remote-access-value-row div{gap:6px}.remote-access-value-row strong.flash{animation:remote-access-title-flash 1.5s ease-out}.remote-access-value-row code{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#dcdcdc;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.remote-access-peer-row{grid-template-columns:38px minmax(0,1fr) auto auto}.remote-access-environment{display:grid}.remote-access-environment-row{display:grid;min-height:62px;border-bottom:1px solid rgba(255,255,255,.06)}.remote-access-environment-row:last-child{border-bottom:0}.remote-access-environment-row.three{grid-template-columns:repeat(3,minmax(0,1fr))}.remote-access-environment-row.two{grid-template-columns:repeat(2,minmax(0,1fr))}.remote-access-environment-cell{display:grid;align-content:center;gap:5px;min-width:0;padding:12px 16px;border-right:1px solid rgba(255,255,255,.06)}.remote-access-environment-cell:last-child{border-right:0}.remote-access-environment-cell strong,.remote-access-environment-cell span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remote-access-environment-cell strong{color:#f6f6f6;font-size:13px;font-weight:550}.remote-access-environment-cell span{color:#9b9b9b;font-size:12px}.remote-access-peer-dot{width:11px;height:11px;justify-self:center;border-radius:999px;background:#555}.remote-access-peer-dot.online{background:#58d68d;box-shadow:0 0 0 4px #58d68d1f}.remote-access-config{overflow:hidden;border:1px solid var(--border);border-radius:16px;background:#181818}.remote-access-config pre{max-height:260px;margin:0;overflow:auto;background:#0f0f0f;color:#dcdcdc;padding:14px 16px;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;white-space:pre}@keyframes remote-access-title-flash{0%,to{color:#f6f6f6;text-shadow:none}18%,55%{color:#ffbc8f;text-shadow:0 0 12px rgba(255,156,86,.35)}}@media(max-width:720px){.remote-access-environment-row.three,.remote-access-environment-row.two{grid-template-columns:1fr}.remote-access-environment-cell{min-height:56px;border-right:0;border-bottom:1px solid rgba(255,255,255,.06)}.remote-access-environment-cell:last-child{border-bottom:0}}.usage-settings{max-width:1120px;gap:22px}.usage-settings .account-list,.usage-settings .settings-footnote{border-radius:8px}.usage-settings-title{justify-content:space-between;margin-bottom:2px}.usage-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.usage-range-control{display:inline-flex;flex-wrap:wrap;gap:3px;min-width:0;border:1px solid var(--border);border-radius:8px;background:#181818;padding:3px}.usage-range-control button{min-height:30px;border:0;border-radius:6px;background:transparent;color:#b8b8b8;padding:0 10px;font-size:12px}.usage-range-control button.active{background:#2a2a2a;color:#f5f5f5}.usage-range-control button:disabled,.usage-filter-control select:disabled{opacity:.55}.usage-filter-control{display:grid;gap:5px;min-width:150px}.usage-filter-control span{color:#9b9b9b;font-size:12px}.usage-filter-control select{height:38px;border:1px solid var(--border);border-radius:8px;outline:0;background:#181818;color:#f5f5f5;padding:0 10px;font-size:13px}.usage-filter-control select:focus{border-color:#fff3}.usage-load-state{padding:12px 14px}.usage-metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:8px}.usage-metric{display:grid;gap:5px;min-width:0;min-height:72px;border:1px solid var(--border);border-radius:8px;background:#181818;padding:12px}.usage-metric span{min-width:0;overflow:hidden;color:#9b9b9b;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.usage-metric strong{min-width:0;overflow:hidden;color:#f5f5f5;font-size:17px;font-weight:560;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.usage-panel{overflow:hidden}.usage-chart-frame{height:304px;min-height:304px;padding:8px 10px 6px 4px}.usage-chart-empty{display:flex;align-items:center;justify-content:center;gap:8px;height:260px;color:#9b9b9b;font-size:13px}.usage-chart-tooltip{display:grid;gap:6px;max-width:260px;border:1px solid var(--border);border-radius:8px;background:#181818;padding:10px;box-shadow:0 10px 28px #00000047}.usage-chart-tooltip strong{color:#f5f5f5;font-size:12px;font-weight:560}.usage-chart-tooltip div{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:7px}.usage-chart-tooltip div>span{width:8px;height:8px;border-radius:2px}.usage-chart-tooltip small,.usage-chart-tooltip em{min-width:0;overflow:hidden;color:#cfcfcf;font-size:11px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.usage-chart-tooltip em{color:#f5f5f5}.usage-empty-state{display:grid;gap:5px;padding:16px}.usage-empty-state strong{color:#f5f5f5;font-size:13px;font-weight:560}.usage-empty-state span{color:#9b9b9b;font-size:12px}.usage-breakdown-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.usage-table-panel{overflow:hidden}.usage-table-scroll{overflow-x:auto}.usage-table{width:100%;min-width:720px;border-collapse:collapse}.usage-table-panel.compact .usage-table{min-width:360px}.usage-table th,.usage-table td{min-width:0;padding:11px 12px;border-top:1px solid rgba(255,255,255,.06);text-align:left;vertical-align:middle}.usage-table th{color:#8f8f8f;font-size:11px;font-weight:560;letter-spacing:0;white-space:nowrap}.usage-table td{color:#dedede;font-size:12px}.usage-table .align-end{text-align:right}.usage-primary-cell{display:grid;gap:2px;min-width:0;max-width:260px}.usage-primary-cell strong,.usage-primary-cell small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.usage-primary-cell strong{color:#f5f5f5;font-size:12px;font-weight:560}.usage-primary-cell small{color:#9b9b9b;font-size:11px}.usage-source-action{width:28px;height:28px}.usage-table-empty{padding:16px;color:#9b9b9b;font-size:13px}.usage-table-footer{padding:10px 12px 12px;border-top:1px solid rgba(255,255,255,.06);color:#9b9b9b;font-size:12px}@media(max-width:920px){.usage-breakdown-grid{grid-template-columns:1fr}.usage-filter-control{flex:1 1 160px}.usage-chart-frame{height:260px;min-height:260px}}@media(max-width:640px){.usage-toolbar{display:grid}.usage-range-control{width:100%}.usage-range-control button{flex:1 1 auto}}.compute-settings{gap:16px}.compute-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.compute-title-row h1{margin:0}.compute-summary-main{grid-template-columns:minmax(0,1fr)}.compute-device-default{padding-top:0}.model-storage-picker{display:grid;gap:6px;max-width:640px;padding:14px 16px 16px}.model-storage-label{color:#9b9b9b;font-size:12px;white-space:nowrap}.model-storage-control-row{display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:center;gap:8px}.model-storage-select{width:100%;min-width:0;height:36px;border:1px solid rgba(255,255,255,.08);border-radius:8px;outline:0;appearance:none;background:linear-gradient(45deg,transparent 50%,#9b9b9b 50%) calc(100% - 16px) 50% / 5px 5px no-repeat,linear-gradient(135deg,#9b9b9b 50%,transparent 50%) calc(100% - 11px) 50% / 5px 5px no-repeat,#101010;color:var(--text);padding:0 32px 0 10px;font-size:13px}.model-storage-select:focus{border-color:#06b6d480}.model-storage-add{width:36px;height:36px}.model-storage-dialog{width:min(520px,calc(100vw - 34px))}.model-storage-dialog-note{border:1px solid rgba(143,200,255,.16);border-radius:9px;background:#8fc8ff12;color:#b4cae0;padding:9px 10px;font-size:12px;line-height:1.45}.compute-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 16px;border-top:1px solid var(--border)}.compute-row:first-of-type{border-top:0}.compute-row>div{display:grid;gap:4px;min-width:0}.compute-row strong{color:#f1f1f1;font-size:13px;font-weight:570}.compute-row small{overflow-wrap:anywhere;color:#9b9b9b;font-size:12px}.compute-row>span{flex:0 0 auto;color:#b7b7b7;font-size:12px}.compute-diagnostics{border:1px solid var(--border);border-radius:12px;color:#b7b7b7;padding:12px 14px;font-size:12px}.compute-diagnostics summary{color:#dedede;cursor:pointer}.compute-diagnostics ul{margin:10px 0 0;padding-left:18px}.compute-heading-actions{display:flex;align-items:center;gap:8px}.compute-download-row{display:grid;gap:10px;padding:13px 16px;border-top:1px solid var(--border)}.compute-download-row>div{display:grid;gap:4px}.compute-download-row strong{color:#f1f1f1;font-size:13px}.compute-download-row small{overflow-wrap:anywhere;color:#9b9b9b;font-size:12px}.compute-download-row progress{width:100%;height:5px;accent-color:var(--cyan)}@media(max-width:720px){.compute-row{align-items:flex-start;flex-direction:column;gap:7px}}.notification-settings-card{overflow:hidden}.notification-mode-list{display:grid}.notification-mode-option{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:11px;min-height:66px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.06);background:transparent;cursor:pointer}.notification-mode-option:last-child{border-bottom:0}.notification-mode-option:hover{background:#ffffff09}.notification-mode-option.selected{background:#3aa3ff13}.notification-mode-option input{width:15px;height:15px;margin:2px 0 0;accent-color:#3aa3ff}.notification-mode-option>span,.notification-thread-copy{display:grid;min-width:0;gap:4px}.notification-mode-option strong,.notification-thread-copy strong{color:#f4f4f4;font-size:13px;font-weight:560}.notification-mode-option small,.notification-thread-copy small{color:#9b9b9b;font-size:12px;line-height:1.4}.notification-thread-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:66px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.06)}.notification-thread-row:last-of-type{border-bottom:0}.notification-thread-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#3aa3ff1c;color:#8fc8ff}.notification-thread-icon.muted{background:#ffffff0f;color:#929292}.notification-settings-error{padding:11px 16px;border-top:1px solid rgba(255,98,98,.2);background:#ff626212;color:#ffb0b0;font-size:12px}@media(max-width:760px){.notification-thread-row{grid-template-columns:32px minmax(0,1fr)}.notification-thread-row>.settings-secondary{grid-column:2;justify-self:start}}.wallet-view{display:grid;gap:18px;width:min(920px,calc(100% - 96px));min-width:0;justify-self:center}.wallet-credit-card{display:grid;gap:28px;width:min(520px,100%);min-height:258px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#202322;color:#f7f7f7;padding:20px;box-shadow:0 18px 48px #00000047}.wallet-card-top,.wallet-card-bottom,.wallet-panel-header,.wallet-address-row,.wallet-asset-row{display:flex;align-items:center}.wallet-card-top,.wallet-panel-header,.wallet-address-row,.wallet-asset-row{justify-content:space-between;gap:14px}.wallet-card-brand{display:inline-flex;align-items:center;gap:8px;color:#d7f0df;font-size:13px;font-weight:650}.wallet-card-balance{display:grid;gap:5px}.wallet-card-balance span,.wallet-card-bottom span,.wallet-panel-header span,.wallet-card-address span,.wallet-address-row span,.wallet-asset-row span{color:#9b9b9b;font-size:12px}.wallet-card-balance strong{color:#f9f9f9;font-size:32px;font-weight:600;letter-spacing:0}.wallet-card-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,auto);align-items:end;gap:18px}.wallet-card-bottom>div,.wallet-panel-header div,.wallet-asset-row>div:not(.wallet-asset-identity){display:grid;gap:4px;min-width:0}.wallet-address-row>div{display:grid;gap:4px;min-width:0;width:100%}.wallet-card-bottom strong,.wallet-panel-header strong,.wallet-asset-row strong{min-width:0;overflow:hidden;color:#f3f3f3;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:550}.wallet-card-products{justify-items:end;text-align:right}.wallet-card-products strong{max-width:220px}.wallet-content-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);align-items:start;gap:14px}.wallet-side-stack{display:grid;gap:14px;min-width:0}.wallet-panel{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#181818}.wallet-panel-header{min-height:62px;padding:14px 16px;border-bottom:1px solid var(--border)}.wallet-address-list,.wallet-asset-list{display:grid}.wallet-address-row,.wallet-asset-row{min-height:64px;padding:13px 16px;border-bottom:1px solid rgba(255,255,255,.06)}.wallet-address-row{justify-content:stretch}.wallet-address-row:last-child,.wallet-asset-row:last-child{border-bottom:0}.wallet-card-address{display:grid;gap:6px;margin-top:12px}.wallet-card-address>div{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%}.wallet-card-address code{display:block;min-width:0;flex:0 1 auto;overflow:hidden;color:#e8e8e8;text-overflow:ellipsis;white-space:nowrap;filter:blur(5px);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;transition:filter .14s ease;-webkit-user-select:none;user-select:none}.wallet-card-address:hover code,.wallet-card-address:focus-within code{filter:blur(0);-webkit-user-select:text;user-select:text}.wallet-card-address.empty code{color:#777;filter:none;font-family:inherit;-webkit-user-select:auto;user-select:auto}.wallet-address-row code{display:block;min-width:0;flex:1 1 auto;overflow:hidden;color:#e8e8e8;text-overflow:ellipsis;white-space:nowrap;filter:blur(5px);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;transition:filter .14s ease;-webkit-user-select:none;user-select:none}.wallet-address-line{display:flex;align-items:center;gap:6px;min-width:0;width:100%}.wallet-address-row:hover code,.wallet-address-row:focus-within code{filter:blur(0);-webkit-user-select:text;user-select:text}.wallet-address-row.empty code{color:#777;filter:none;font-family:inherit;-webkit-user-select:auto;user-select:auto}.wallet-copy-button{display:inline-grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border:0;border-radius:8px;background:#252525;color:#a8a8a8;padding:0}.wallet-copy-button.ghost{background:transparent;color:#c7c7c7}.wallet-copy-button:hover:not(:disabled),.wallet-copy-button:focus-visible{outline:0;background:#303030;color:var(--text)}.wallet-copy-button.ghost:hover:not(:disabled),.wallet-copy-button.ghost:focus-visible{background:#ffffff14}.wallet-copy-button:disabled{opacity:.42}.wallet-asset-row>span{flex:0 0 auto;color:#8ddfa8}.wallet-asset-row.empty{justify-content:flex-start}.wallet-asset-values{display:grid;justify-items:end;gap:4px;min-width:120px;text-align:right}.wallet-asset-values strong{max-width:180px}.wallet-asset-values span{color:#8ddfa8}.wallet-asset-identity{display:inline-flex;align-items:center;gap:10px;min-width:0;flex:1 1 auto;overflow:hidden;white-space:nowrap}.wallet-asset-identity strong{color:#f3f3f3;font-size:14px;font-weight:550;overflow:hidden;text-overflow:ellipsis}.wallet-asset-identity>span:not(.wallet-token-fallback){flex:0 0 auto;color:#9b9b9b;font-size:12px;font-weight:450}.wallet-asset-identity img,.wallet-token-fallback{width:24px;height:24px;flex:0 0 24px;border-radius:999px}.wallet-token-fallback{display:inline-grid;place-items:center;background:#2a2d2c;color:#d7f0df;font-size:11px;font-weight:650}