@wular/coder 0.4.11 → 0.4.13

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 (485) hide show
  1. package/README.md +4 -2
  2. package/dist/actions-D12xDiQS.js +4 -0
  3. package/dist/{adapter-DYxjaefw.js → adapter-Bz0E-DAY.js} +2 -2
  4. package/dist/{adapter-CkL4PqXE.js → adapter-CsacmMmv.js} +1 -1
  5. package/dist/adapter-DzpdWewB.js +1 -0
  6. package/dist/{agent-6GooVMsq.js → agent-JJStALIx.js} +2 -2
  7. package/dist/apps-Bnk7F3A2.js +379 -0
  8. package/dist/args-Dqf5Y1RP.js +1 -0
  9. package/dist/async-Tj4zKHXR.js +3 -0
  10. package/dist/auth-BhpnOCbn.js +1 -0
  11. package/dist/base64url-CsVsW4Id.js +1 -0
  12. package/dist/builtin/coder/agent.json +0 -1
  13. package/dist/builtin/coder/system.md +1 -1
  14. package/dist/chat-CSepnsrK.js +13 -0
  15. package/dist/cli.js +19 -1
  16. package/dist/{client-sqXb-y09.js → client-C4QCT6cG.js} +2 -2
  17. package/dist/cmd-BHZwhrfa.js +118 -0
  18. package/dist/connection-BkYTuJjV.js +1 -0
  19. package/dist/context-zhSlmXOp.js +7 -0
  20. package/dist/dash/standalone/node_modules/contextjsx/dist/index.mjs +1 -0
  21. package/dist/dash/standalone/node_modules/contextjsx/dist/jsx-runtime.mjs +1 -0
  22. package/dist/dash/standalone/node_modules/contextjsx/dist/src-BJ0QFeB8.mjs +2 -0
  23. package/dist/dash/standalone/node_modules/contextjsx/package.json +70 -0
  24. package/dist/dash/standalone/server/build-index.json +1 -1
  25. package/dist/dash/standalone/server/manifest.json +1302 -1282
  26. package/dist/dash/standalone/server/modules-server-server-react-server/src/agent/context/turn.6bb73458768e222e.js +129 -0
  27. package/dist/dash/standalone/server/modules-server-server-react-server/src/client/{index.0de14cb4e30bd70d.js → index.de1f1311bab4252f.js} +12 -6
  28. package/dist/dash/standalone/server/modules-server-server-react-server/src/core/{defaults.1b615366c56838a1.js → defaults.e972c134a1ae918f.js} +3 -5
  29. package/dist/dash/standalone/server/modules-server-server-react-server/src/core/task/{log-view.60308a11f7001eb7.js → log-view.ec6391dbf3063330.js} +40 -48
  30. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/api/{load.be791a5eaf328738.js → load.30ed8c28774a1a82.js} +4 -4
  31. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/connect/{page.0fbfdba5254f7ae5.js → page.04762872666a6f0a.js} +1 -1
  32. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/create/[id]/{page.70913bd4075da914.js → page.118a70787eff1761.js} +23 -3
  33. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{loading.e348ec45e9ed951b.js → loading.fcdfd50c21031895.js} +1 -1
  34. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{notify.61aab176baeefebd.js → notify.98dfcd316c306258.js} +1 -1
  35. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{page.815371ed0d5dd4fa.js → page.74c59322f5fe8a2c.js} +4 -4
  36. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{sign-out.1d6af804f9ec043d.js → sign-out.730aa96b086ac996.js} +1 -1
  37. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{agent-menu.2ed0e66d131fc148.js → agent-menu.1be5795272b245c8.js} +1 -1
  38. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{agents-grid.f43bcc1148ce3650.js → agents-grid.2c30ace077893029.js} +6 -6
  39. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{connect-apps.f3af8cc8540719d7.js → connect-apps.8a20501ccb244421.js} +3 -3
  40. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{loading.fac1132ad9c4248e.js → loading.733f0acc2af5ceda.js} +2 -2
  41. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{page.5f88059c03cf82b4.js → page.d066b77dd3187026.js} +9 -9
  42. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{layout.b7392d534ce0410e.js → layout.b26006f060cd48f0.js} +9 -9
  43. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{page.5aae24bbfd90c434.js → page.4b23e9df21433bd3.js} +10 -10
  44. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{loading.4da9e2ba3fea937f.js → loading.e06845585ca67abc.js} +2 -2
  45. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{page.91c992fdd3b4a493.js → page.4048048acb374c67.js} +35 -23
  46. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{platform-actions.8e7ca54dd1821e98.js → platform-actions.000f2f87a48bfbc6.js} +36 -10
  47. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{agent-settings-form.eb707a9e32718374.js → agent-settings-form.ee0bb2dc4d403ec3.js} +9 -9
  48. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{loading.ad1a4c9b000d269a.js → loading.0e3641f3e4abaa7c.js} +1 -1
  49. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{page.9ec1ec08ba05da59.js → page.649b4ba135ded99b.js} +7 -7
  50. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{loading.dd9088a4581b1d65.js → loading.195e168e8e41d797.js} +1 -1
  51. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{page.71dc042821133e82.js → page.96f7573208644f40.js} +1 -1
  52. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/usage/{loading.8f998a9c511e1fb3.js → loading.905293c9aa9afbc9.js} +2 -2
  53. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/usage/{page.45e18b6dc3019af4.js → page.5f2b8585db8b27ad.js} +4 -4
  54. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{versions-list.c8d76988c734dda2.js → versions-list.8700f0106f4e8c15.js} +1 -1
  55. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{loading.b1367e864b4fb406.js → loading.f94b2f9ab04aaf21.js} +3 -3
  56. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{page.e3179ddf20a7e55d.js → page.e898c4b5ef16ecb0.js} +7 -7
  57. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{agent-pills.f987c12bcbc5c850.js → agent-pills.44e689e546fb042b.js} +1 -1
  58. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{agent-toggle.1579dc8acbaacf92.js → agent-toggle.4c67dfbb7d28a416.js} +2 -2
  59. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{hero.ad5cc342db794e5d.js → hero.9740a8e2f4b41f28.js} +5 -5
  60. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{connect-repositories.43b4b28f194ea842.js → connect-repositories.ff8b78a03153239b.js} +1 -1
  61. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{editor.62cb8207218e6437.js → editor.471af698b8060eba.js} +32 -21
  62. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{import-picker.eafa5b41a2ed571f.js → import-picker.b7b5c89e618e8f89.js} +5 -5
  63. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/new/{loading.ee001af7a96e3972.js → loading.ecb9dfd4d0f9d107.js} +2 -2
  64. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/new/{page.dffb05f2d256d81a.js → page.880bdac7fe843635.js} +5 -5
  65. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{layout.393cf7429eea189e.js → layout.81f7e055829854a3.js} +5 -5
  66. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/operator-apps.09bf294d753ee9d7.js +115 -0
  67. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/{page.980adfb7c5714752.js → page.8f8697b1b6b34ad7.js} +36 -9
  68. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{page.24a1987405ed7b17.js → page.fe608b8e661aba1d.js} +1 -1
  69. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{connections-list.21ec9dc73ce68656.js → connections-list.97381888bfdd711b.js} +8 -8
  70. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials-list.683476f62a9ecde7.js → credentials-list.a4d8338c7f6a5702.js} +10 -8
  71. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials.b43dd3d97c536c2a.js → credentials.1443bbed1ff1d441.js} +8 -8
  72. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{engines-list.9e116751bd34e2cc.js → engines-list.d47db60d7dc01ebd.js} +2 -2
  73. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{list.083f5c665df04b1b.js → list.a5b273558fb7f0f0.js} +4 -4
  74. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{models-list.537f63f8e5dd085d.js → models-list.31d369f1b7ab45da.js} +66 -32
  75. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{page.dfed4ae6ffc74434.js → page.805d0f8a2c5817d6.js} +15 -15
  76. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{runners-list.3afa989490bbe77c.js → runners-list.1e83449aa6593224.js} +6 -6
  77. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{secrets-list.0d175ee815b22cd7.js → secrets-list.17ac06593005b8ba.js} +4 -4
  78. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{layout.3e8289f888fa444c.js → layout.8c4a2b31b194ba3e.js} +5 -5
  79. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{page.06feaa5fbb06f1e6.js → page.a77996786278cda0.js} +1 -1
  80. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{settings-head.bbc7ced8dd5491eb.js → settings-head.705be0b1129b97af.js} +1 -1
  81. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{create-link.ff95e4b6977d0474.js → create-link.19b4c50ef497aca1.js} +3 -3
  82. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{outcome-dialog.894c73f9abee3ce1.js → outcome-dialog.18cf32fa42247b91.js} +1 -1
  83. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{page.f06fda0df59beeb5.js → page.616f0b36bf7925bc.js} +5 -5
  84. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{activity.3c79cf14feff12bf.js → activity.a911169a820ba604.js} +1 -1
  85. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{loading.56520888d5270b88.js → loading.76f851da5cc5268d.js} +5 -5
  86. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{page.25b29e72df84806b.js → page.ddb594bb6567ee13.js} +6 -6
  87. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/task-actions.51fbeac76459433a.js +240 -0
  88. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-view.f2e902c8208b2e78.js → task-view.3276538e8306fd8a.js} +28 -28
  89. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer-data.309a194fc7fa34be.js → composer-data.05fc39e1a7fd1ab7.js} +2 -2
  90. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer.b0bb1faaac8e0b6c.js → composer.dbf06b05c5e2eba3.js} +9 -9
  91. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{status.16190fdd5fd7daad.js → status.cb704b48ce86cc7d.js} +6 -3
  92. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{task.a0c68180db5fb4c1.js → task.f089c1c122ed6dd2.js} +17 -4
  93. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-list.b52a49fb5faeefd0.js → tasks-list.5a00d69851dae119.js} +37 -22
  94. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-section.80f9c9a42ecae854.js → tasks-section.36e70c93f7d0feee.js} +7 -7
  95. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{page.20b5c22658eae312.js → page.185b1ba0c803db3f.js} +4 -4
  96. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{loading.97d277dbab9c15cf.js → loading.a7e0ec01bfa769e3.js} +2 -2
  97. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{page.fb21ebe90d49dac1.js → page.d41fea7676e37bfc.js} +4 -4
  98. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{range-bar.2197d8f43216d104.js → range-bar.69e68c9dae09f238.js} +2 -2
  99. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{layout.185dbc99875e208a.js → layout.296d70b95894209f.js} +1 -1
  100. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{foreign-link.1f4217895ff1e835.js → foreign-link.8c6adf9c5a6f467c.js} +1 -1
  101. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{loading-card.cc76fc9708142525.js → loading-card.1cea8a722c10b998.js} +2 -2
  102. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{page-head.85f15db7b648d48c.js → page-head.87b92529dbb53ceb.js} +3 -3
  103. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{stream.e2915852cf82c86b.js → stream.c32d78562f75db25.js} +1 -1
  104. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{task-toasts.0ed8ccaae81b9d53.js → task-toasts.44075fa7e04575e8.js} +5 -5
  105. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{back.180765bdadf6d602.js → back.d6109e72fbd04b45.js} +2 -2
  106. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{org.572ad93c7707ab27.js → org.d3abfd4053b711ce.js} +1 -1
  107. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{confirm.c1281f9b12854210.js → confirm.29e198be34578222.js} +1 -1
  108. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{filter.3a452a262f040973.js → filter.81bb9a5c60cd1089.js} +1 -1
  109. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{modal.25d53e5b41b9c4e5.js → modal.0b69c7fd9db025b9.js} +1 -1
  110. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{segmented.a08dc08338d080e9.js → segmented.633abe26ff760e37.js} +1 -1
  111. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{sentinel.17cffebfc3103b9f.js → sentinel.0ddf515b8f09ef9f.js} +1 -1
  112. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{tabs.66b2e54963f6901b.js → tabs.1600a0b563a5c7dd.js} +1 -1
  113. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{toolbar.24036899654de6df.js → toolbar.8b3a460a65edf85a.js} +1 -1
  114. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{action.b9a5c37272250e82.js → action.67dd6f8ab1ae067d.js} +1 -1
  115. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{client.a3928fa2dcd27b75.js → client.78267fa3d7905d17.js} +1 -1
  116. package/dist/dash/standalone/static/assets/chunks/action-a76e495fb39a73d3.js +1 -0
  117. package/dist/dash/standalone/static/assets/chunks/{agent-pills-bd32cb89331aff7e.js → agent-pills-4d3c6a2aa9eb1522.js} +1 -1
  118. package/dist/dash/standalone/static/assets/chunks/agent-settings-form-f7231a66e391f6b6.js +1 -0
  119. package/dist/dash/standalone/static/assets/chunks/{agent-toggle-a45b95908d62f926.js → agent-toggle-d7d27123f2070f18.js} +1 -1
  120. package/dist/dash/standalone/static/assets/chunks/{agents-grid-9f79b5074899c8be.js → agents-grid-185ecb3d86c6c447.js} +1 -1
  121. package/dist/dash/standalone/static/assets/chunks/{back-b0cd2b85c9d8403e.js → back-e29cb10f5548ddae.js} +1 -1
  122. package/dist/dash/standalone/static/assets/chunks/{combo-1050768988cd0347.js → combo-702c94817bf6ac17.js} +1 -1
  123. package/dist/dash/standalone/static/assets/chunks/composer-56ebf36d63400423.js +1 -0
  124. package/dist/dash/standalone/static/assets/chunks/{composer-87f138e21d68370d.js → composer-a686289a79f64bae.js} +1 -1
  125. package/dist/dash/standalone/static/assets/chunks/composer-data-f46a9bc7a14b4f9a.js +1 -0
  126. package/dist/dash/standalone/static/assets/chunks/{confirm-01d5814b1c5f7721.js → confirm-a78147b6ecef3847.js} +1 -1
  127. package/dist/dash/standalone/static/assets/chunks/connect-apps-696726aedab42c96.js +1 -0
  128. package/dist/dash/standalone/static/assets/chunks/{connect-repositories-49098298b3a82647.js → connect-repositories-7770ab805160028d.js} +1 -1
  129. package/dist/dash/standalone/static/assets/chunks/connections-list-07559f145f3e3da3.js +1 -0
  130. package/dist/dash/standalone/static/assets/chunks/{copy-5db9d328f8f65d82.js → copy-bdc60bdafe336316.js} +1 -1
  131. package/dist/dash/standalone/static/assets/chunks/create-link-426b0a5871ee41dd.js +1 -0
  132. package/dist/dash/standalone/static/assets/chunks/credentials-list-f07d090410104148.js +1 -0
  133. package/dist/dash/standalone/static/assets/chunks/{custom-range-fdf1946aac09cfc3.js → custom-range-6618f32ef6cd4e80.js} +1 -1
  134. package/dist/dash/standalone/static/assets/chunks/editor-0860e370cbfc6b03.js +6 -0
  135. package/dist/dash/standalone/static/assets/chunks/engines-list-31b9bb7885924b05.js +1 -0
  136. package/dist/dash/standalone/static/assets/chunks/{field-c530e261587d94df.js → field-bb8191aa02d07282.js} +1 -1
  137. package/dist/dash/standalone/static/assets/chunks/instructions-06b63e558f879da5.js +1 -0
  138. package/dist/dash/standalone/static/assets/chunks/{instructions-3ea5afeea1992bf2.js → instructions-2d9fbcbfadac4f40.js} +1 -1
  139. package/dist/dash/standalone/static/assets/chunks/list-2773686bf8df64c7.js +1 -0
  140. package/dist/dash/standalone/static/assets/chunks/models-list-03611e64b6a07efe.js +1 -0
  141. package/dist/dash/standalone/static/assets/chunks/{notice-8939183c8a889bae.js → notice-d14fdac28139c0a8.js} +1 -1
  142. package/dist/dash/standalone/static/assets/chunks/outcome-dialog-d3ba8ef89c59f801.js +1 -0
  143. package/dist/dash/standalone/static/assets/chunks/{outcome-dialog-6323cb5300b6d3c9.js → outcome-dialog-fde11a52c282301d.js} +1 -1
  144. package/dist/dash/standalone/static/assets/chunks/platform-actions-2a71c62b9f7eaef3.js +1 -0
  145. package/dist/dash/standalone/static/assets/chunks/platform-actions-70600c9943320152.js +1 -0
  146. package/dist/dash/standalone/static/assets/chunks/runners-list-edf536eb8003eab5.js +1 -0
  147. package/dist/dash/standalone/static/assets/chunks/{runtime-71b727f8f5906f08-1.js → runtime-6e12333f12903a62-1.js} +1 -1
  148. package/dist/dash/standalone/static/assets/chunks/secrets-list-e86122f73525ff95.js +1 -0
  149. package/dist/dash/standalone/static/assets/chunks/segmented-0b6dc6b93c35e0f5.js +1 -0
  150. package/dist/dash/standalone/static/assets/chunks/shared-init-6e12333f12903a62-2.js +1 -0
  151. package/dist/dash/standalone/static/assets/chunks/shared-init-b281027d465e004f.js +5 -0
  152. package/dist/dash/standalone/static/assets/chunks/shared-init-c3bd249cf1eca6d1.js +2 -0
  153. package/dist/dash/standalone/static/assets/chunks/side-toggle-9b3af821cfe4c824.js +1 -0
  154. package/dist/dash/standalone/static/assets/chunks/{tail-81b69d49bfebfd4c.js → tail-f8804b80cf32f8d0.js} +1 -1
  155. package/dist/dash/standalone/static/assets/chunks/task-a37e7c26e82eb77d.js +1 -0
  156. package/dist/dash/standalone/static/assets/chunks/task-actions-705395565f2d83b8.js +1 -0
  157. package/dist/dash/standalone/static/assets/chunks/task-view-cb21169f38b56d15.js +6 -0
  158. package/dist/dash/standalone/static/assets/chunks/tasks-list-d7dccfd7e0623ae0.js +1 -0
  159. package/dist/dash/standalone/static/assets/chunks/{versions-list-fbeed95c0b4e5f0f.js → versions-list-f8f2e71df691efda.js} +1 -1
  160. package/dist/dash/standalone/static/assets/chunks/{wular-pnext-71b727f8f5906f08-0.js → wular-pnext-6e12333f12903a62-0.js} +1 -1
  161. package/dist/dash/standalone/static/assets/create-param-id-c2c756f652f2fc30.css +1 -0
  162. package/dist/dash/standalone/static/assets/{dash-param-org-account-9471bec93c444232.css → dash-param-org-account-702f8a1b213e4026.css} +1 -1
  163. package/dist/dash/standalone/static/assets/dash-param-org-agents-aad2f9f93c06e9ab.css +1 -0
  164. package/dist/dash/standalone/static/assets/dash-param-org-agents-new-f9dcbcec36586f2b.css +1 -0
  165. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-8ff47f5d622c1f9b.css +1 -0
  166. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-edit-907036d553cfeb36.css +1 -0
  167. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-platforms-5cc77badad15f00c.css +1 -0
  168. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-settings-705d7c15868b4fd6.css +1 -0
  169. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-tasks-04e189c045098772.css +1 -0
  170. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-usage-76fcd1ce7b3dae71.css +1 -0
  171. package/dist/dash/standalone/static/assets/{dash-param-org-bcfa3de29341d5ba.css → dash-param-org-eccb6bb9297a53e6.css} +1 -1
  172. package/dist/dash/standalone/static/assets/dash-param-org-operator-635a121f7a9a95bd.css +1 -0
  173. package/dist/dash/standalone/static/assets/{dash-param-org-settings-6d6902345d88a687.css → dash-param-org-settings-a3297dc4d9e0c961.css} +1 -1
  174. package/dist/dash/standalone/static/assets/dash-param-org-settings-param-tab-bcb06f81d9e8268d.css +1 -0
  175. package/dist/dash/standalone/static/assets/{dash-param-org-setup-173efecd7b990c2e.css → dash-param-org-setup-df4be8b188b9777f.css} +1 -1
  176. package/dist/dash/standalone/static/assets/dash-param-org-tasks-16f9866a1b4801cd.css +1 -0
  177. package/dist/dash/standalone/static/assets/dash-param-org-tasks-param-id-02ae551dcd852b57.css +1 -0
  178. package/dist/dash/standalone/static/assets/dash-param-org-usage-f2175403069aab99.css +1 -0
  179. package/dist/dash/standalone/static/assets/{global-87e1762113874559.css → global-e1de614478b64717.css} +1 -1
  180. package/dist/dash/standalone/static/assets/pnext-client-0dc829ba60df5c26.js +1 -0
  181. package/dist/dash/standalone/static/assets/pnext-client-14d191f7f1da6602.js +1 -0
  182. package/dist/dash/standalone/static/assets/pnext-client-169eaa63783b71fd.js +1 -0
  183. package/dist/dash/standalone/static/assets/pnext-client-1e34cfefafa70fac.js +1 -0
  184. package/dist/dash/standalone/static/assets/pnext-client-285d61f00a80f40b.js +1 -0
  185. package/dist/dash/standalone/static/assets/pnext-client-35b89c3ba23ee845.js +1 -0
  186. package/dist/dash/standalone/static/assets/pnext-client-6c42784e005d4b87.js +1 -0
  187. package/dist/dash/standalone/static/assets/pnext-client-6cd93f9bd4cf6ffd.js +1 -0
  188. package/dist/dash/standalone/static/assets/pnext-client-7355f473fade532d.js +1 -0
  189. package/dist/dash/standalone/static/assets/pnext-client-815c3c297f75efb0.js +1 -0
  190. package/dist/dash/standalone/static/assets/pnext-client-87fe73c10a4dc33c.js +1 -0
  191. package/dist/dash/standalone/static/assets/pnext-client-98b56a142d441260.js +1 -0
  192. package/dist/dash/standalone/static/assets/pnext-client-b4bafe68a40f720b.js +1 -0
  193. package/dist/dash/standalone/static/assets/pnext-client-bf61ff39bdc0db48.js +1 -0
  194. package/dist/dash/standalone/static/assets/pnext-client-c9fa86c244813f74.js +1 -0
  195. package/dist/dash/standalone/static/assets/pnext-client-d2e7a75e16221224.js +1 -0
  196. package/dist/dash/standalone/static/assets/pnext-client-d34e774405ea8da8.js +1 -0
  197. package/dist/dash/standalone/static/assets/pnext-client-d511822afdb41d1d.js +1 -0
  198. package/dist/dash/standalone/static/assets/pnext-client-e113aa2f25ecfe01.js +1 -0
  199. package/dist/dash/standalone/static/assets/{pnext-client-e4c659a371f4cd79.js → pnext-client-eb62f461d0c32266.js} +1 -1
  200. package/dist/discover-CHfF4cEz.js +1 -0
  201. package/dist/docs-KHc0_gFX.js +2 -0
  202. package/dist/drive-Bwl7Bjme.js +1 -0
  203. package/dist/emit-BrkJJPUE.js +11 -0
  204. package/dist/env-6Y-NNnYD.js +1 -0
  205. package/dist/errors-DO_IltpP.js +16 -0
  206. package/dist/exec-BmTa0vcO.js +4 -0
  207. package/dist/executor-ufWRqhdS.js +11 -0
  208. package/dist/flow/builtin/review/index.d.ts +2 -0
  209. package/dist/flow/builtin/review/index.js +16 -0
  210. package/dist/flow/index.d.ts +1 -1
  211. package/dist/flow/index.js +1 -1
  212. package/dist/hook-CIipj9MJ.js +1 -0
  213. package/dist/http-Cg8PSe-c.js +1 -0
  214. package/dist/{types-C6NAqGqn.d.ts → index-ChcxzFdB.d.ts} +734 -285
  215. package/dist/integrations-I7fRDk_l.js +4 -0
  216. package/dist/lib/broker.js +2 -2
  217. package/dist/load-BDlEFetB.js +2 -0
  218. package/dist/local-COlczLwI.js +5 -0
  219. package/dist/log-view-CfX9lakH.js +4 -0
  220. package/dist/maintenance-CKCIWOvn.js +1 -0
  221. package/dist/{match-BwcxeAZF.js → match-CufHAZQH.js} +1 -1
  222. package/dist/mcp-BkwmRHI9.js +2 -0
  223. package/dist/mcp-CGU7aoJ-.js +1 -0
  224. package/dist/mcp-DAHbhfUh.js +13 -0
  225. package/dist/models-CzggS7p2.js +1 -0
  226. package/dist/output-SNqdgh9A.js +17 -0
  227. package/dist/permission-MWFjKxqX.js +1 -0
  228. package/dist/prompt-CIx4jwQF.js +8 -0
  229. package/dist/refresh-CxsaX5R9.js +1 -0
  230. package/dist/remote-C9Hj2cby.js +2 -0
  231. package/dist/remote-HUZCWgfl.js +3 -0
  232. package/dist/runner-DYysY1-G.js +1 -0
  233. package/dist/runner.json +1 -1
  234. package/dist/runner.tgz +0 -0
  235. package/dist/runners-CfaGE0nV.js +36 -0
  236. package/dist/schema.d.ts +1 -1
  237. package/dist/schema.js +8 -1
  238. package/dist/sdk.d.ts +12733 -4
  239. package/dist/sdk.js +1 -1
  240. package/dist/serve-DdAdw7Su.js +4 -0
  241. package/dist/serve-NQykWAKV.js +1 -0
  242. package/dist/serve-vKNqVaVy.js +12 -0
  243. package/dist/slack-BtKvW_4v.js +5 -0
  244. package/dist/task-CFxs0E_J.js +1 -0
  245. package/dist/task-iuYQ0zAK.js +7 -0
  246. package/dist/tools-B6ZxcqRi.js +2 -0
  247. package/dist/tools-FVop8XYG.js +1 -0
  248. package/dist/tools-search-kjKKolwp.js +1 -0
  249. package/dist/turn-DQ13lkPF.js +2 -0
  250. package/dist/types-DPtbvoo3.js +1 -0
  251. package/dist/types-DmThhjcW.js +1 -0
  252. package/dist/views-CMHXBMJp.js +3 -0
  253. package/dist/{wire-nJ7sEi-M.js → wire-C9CupY_A.js} +1 -1
  254. package/dist/worker-BQpx1dPr.js +9 -0
  255. package/dist/worker-sTJL2eoe.js +1 -0
  256. package/docs/access.md +33 -0
  257. package/docs/agents/coder.md +0 -11
  258. package/docs/agents/index.md +18 -20
  259. package/docs/cli/agent.md +137 -0
  260. package/docs/cli/auth.md +48 -0
  261. package/docs/cli/connection.md +89 -0
  262. package/docs/cli/credentials.md +58 -0
  263. package/docs/cli/flow.md +158 -0
  264. package/docs/cli/index.md +139 -0
  265. package/docs/cli/model.md +118 -0
  266. package/docs/cli/runner.md +92 -0
  267. package/docs/cli/server.md +89 -0
  268. package/docs/cli/task.md +273 -0
  269. package/docs/config.md +5 -15
  270. package/docs/flows.md +1 -7
  271. package/docs/mcp.md +8 -8
  272. package/docs/models.md +7 -6
  273. package/docs/review.md +4 -0
  274. package/docs/sdk.md +29 -29
  275. package/docs/self-host.md +25 -25
  276. package/package.json +3 -1
  277. package/plugins/agents/skills/coder/SKILL.md +16 -1
  278. package/plugins/claude/.claude-plugin/plugin.json +1 -1
  279. package/plugins/claude/.mcp.json +5 -0
  280. package/plugins/claude/skills/dispatch/SKILL.md +16 -1
  281. package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
  282. package/plugins/cursor/skills/coder/SKILL.md +16 -1
  283. package/dist/actions-Cwe3IDVs.js +0 -2
  284. package/dist/adapter-Bi768A94.js +0 -1
  285. package/dist/add-B6vPKZEr.js +0 -1
  286. package/dist/add-n6c9OINP.js +0 -2
  287. package/dist/add-v1Pv00HX.js +0 -1
  288. package/dist/add-wC8ByRgM.js +0 -6
  289. package/dist/agent-BkxXgha0.js +0 -1
  290. package/dist/alias-A8ObWElH.js +0 -2
  291. package/dist/app-CaxTL1H3.js +0 -1
  292. package/dist/approvals-h5lytkey.js +0 -2
  293. package/dist/approve-BNhg0MLi.js +0 -2
  294. package/dist/approve-BiHM8kSo.js +0 -1
  295. package/dist/apps-BNe86LfS.js +0 -367
  296. package/dist/archive-CMHRsVYf.js +0 -4
  297. package/dist/archive-H2B7Me8E.js +0 -3
  298. package/dist/args-CURX44CA.js +0 -1
  299. package/dist/ask-D8TIVhPl.js +0 -4
  300. package/dist/auth-BSMPjhnz.js +0 -1
  301. package/dist/auth-D3quZAKT.js +0 -1
  302. package/dist/chat-3AvUDOwf.js +0 -13
  303. package/dist/chat-bridge-BmqYsASZ.js +0 -2
  304. package/dist/cli-BBlH53hA.js +0 -9
  305. package/dist/config-K6Rrjsee.js +0 -3
  306. package/dist/connection-B-IB8tlP.js +0 -1
  307. package/dist/connection-BXBDeoax.js +0 -1
  308. package/dist/create-CP_JmJnh.js +0 -1
  309. package/dist/credentials-BRFajC0d.js +0 -1
  310. package/dist/dash/standalone/server/modules-server-server-react-server/src/core/event-prompt.87f064ca0141e796.js +0 -30
  311. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/operator-apps.a244f3199e7cf09c.js +0 -144
  312. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/task-actions.587da79d68ab8d14.js +0 -151
  313. package/dist/dash/standalone/static/assets/chunks/action-fc8716cda7527d8c.js +0 -1
  314. package/dist/dash/standalone/static/assets/chunks/agent-settings-form-f5576a2c50fce094.js +0 -1
  315. package/dist/dash/standalone/static/assets/chunks/composer-8f0e8b1d07e74aad.js +0 -1
  316. package/dist/dash/standalone/static/assets/chunks/composer-data-5fed6c271a4791ca.js +0 -1
  317. package/dist/dash/standalone/static/assets/chunks/connect-apps-857dc9fa3f6f5bbc.js +0 -1
  318. package/dist/dash/standalone/static/assets/chunks/connections-list-46d48443d8fc8a0d.js +0 -1
  319. package/dist/dash/standalone/static/assets/chunks/create-link-6b6e9eeac436c4af.js +0 -1
  320. package/dist/dash/standalone/static/assets/chunks/credentials-list-3cccc85ef335cb22.js +0 -1
  321. package/dist/dash/standalone/static/assets/chunks/defaults-52f30e83d7666f7a.js +0 -1
  322. package/dist/dash/standalone/static/assets/chunks/editor-d2460c315bb1fd32.js +0 -6
  323. package/dist/dash/standalone/static/assets/chunks/engines-list-0159c8baa0b3e711.js +0 -1
  324. package/dist/dash/standalone/static/assets/chunks/instructions-d8884576a18e6cdb.js +0 -1
  325. package/dist/dash/standalone/static/assets/chunks/list-b67ce61483dd6acb.js +0 -1
  326. package/dist/dash/standalone/static/assets/chunks/models-list-98c956ba00913a73.js +0 -1
  327. package/dist/dash/standalone/static/assets/chunks/outcome-dialog-be3fbe8c4b43d180.js +0 -1
  328. package/dist/dash/standalone/static/assets/chunks/platform-actions-aafbf038008de64f.js +0 -1
  329. package/dist/dash/standalone/static/assets/chunks/platform-actions-ed27388f722b4a4c.js +0 -1
  330. package/dist/dash/standalone/static/assets/chunks/runners-list-a13d0f8f6583c6d2.js +0 -1
  331. package/dist/dash/standalone/static/assets/chunks/secrets-list-53a0c079492199c9.js +0 -1
  332. package/dist/dash/standalone/static/assets/chunks/segmented-a3642b8169857fb1.js +0 -1
  333. package/dist/dash/standalone/static/assets/chunks/shared-init-6cad28f8cc696d91.js +0 -2
  334. package/dist/dash/standalone/static/assets/chunks/shared-init-71b727f8f5906f08-2.js +0 -1
  335. package/dist/dash/standalone/static/assets/chunks/shared-init-94883db7bc70a5a8.js +0 -5
  336. package/dist/dash/standalone/static/assets/chunks/side-toggle-a2f67a8671a0309b.js +0 -1
  337. package/dist/dash/standalone/static/assets/chunks/task-95daa40d39de664f.js +0 -1
  338. package/dist/dash/standalone/static/assets/chunks/task-actions-25c70b47b5a53cd2.js +0 -1
  339. package/dist/dash/standalone/static/assets/chunks/task-view-e5ee0ada38552918.js +0 -5
  340. package/dist/dash/standalone/static/assets/chunks/tasks-list-d58f3063ae31d9d2.js +0 -1
  341. package/dist/dash/standalone/static/assets/create-param-id-da3f7e20689fe51a.css +0 -1
  342. package/dist/dash/standalone/static/assets/dash-param-org-agents-64500e78caae32df.css +0 -1
  343. package/dist/dash/standalone/static/assets/dash-param-org-agents-new-c067c22928a2d7cc.css +0 -1
  344. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-9dec87710e04f949.css +0 -1
  345. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-edit-779c474301e04440.css +0 -1
  346. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-platforms-c7d594b5232630c2.css +0 -1
  347. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-settings-a80e62570716fdb9.css +0 -1
  348. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-tasks-ce278252012297b9.css +0 -1
  349. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-usage-d3b6d701eb8e1403.css +0 -1
  350. package/dist/dash/standalone/static/assets/dash-param-org-operator-b7bc6447cc27c9ce.css +0 -1
  351. package/dist/dash/standalone/static/assets/dash-param-org-settings-param-tab-85c7af9a89eef06e.css +0 -1
  352. package/dist/dash/standalone/static/assets/dash-param-org-tasks-ae0bc03f468e63cc.css +0 -1
  353. package/dist/dash/standalone/static/assets/dash-param-org-tasks-param-id-7325d8cff5be3592.css +0 -1
  354. package/dist/dash/standalone/static/assets/dash-param-org-usage-517b2a7ae462ac57.css +0 -1
  355. package/dist/dash/standalone/static/assets/pnext-client-037852a9f274c8c8.js +0 -1
  356. package/dist/dash/standalone/static/assets/pnext-client-10eac8df53f62104.js +0 -1
  357. package/dist/dash/standalone/static/assets/pnext-client-12635905e9754177.js +0 -1
  358. package/dist/dash/standalone/static/assets/pnext-client-12955733c71cc641.js +0 -1
  359. package/dist/dash/standalone/static/assets/pnext-client-26999113ea61d5b9.js +0 -1
  360. package/dist/dash/standalone/static/assets/pnext-client-27b6e4b7d1697094.js +0 -1
  361. package/dist/dash/standalone/static/assets/pnext-client-34fec171024dd082.js +0 -1
  362. package/dist/dash/standalone/static/assets/pnext-client-44eb6d4096f7e875.js +0 -1
  363. package/dist/dash/standalone/static/assets/pnext-client-4c558a168b95d9b1.js +0 -1
  364. package/dist/dash/standalone/static/assets/pnext-client-5d21f3dd3f4407af.js +0 -1
  365. package/dist/dash/standalone/static/assets/pnext-client-5fe04a4e1dff28a3.js +0 -1
  366. package/dist/dash/standalone/static/assets/pnext-client-88bbc009041aa776.js +0 -1
  367. package/dist/dash/standalone/static/assets/pnext-client-b36106c6b8a6cd35.js +0 -1
  368. package/dist/dash/standalone/static/assets/pnext-client-b47dda1cd4cfac04.js +0 -1
  369. package/dist/dash/standalone/static/assets/pnext-client-b556f5611fdcf545.js +0 -1
  370. package/dist/dash/standalone/static/assets/pnext-client-b8485144ca29d436.js +0 -1
  371. package/dist/dash/standalone/static/assets/pnext-client-c5c3c90b3518c5a8.js +0 -1
  372. package/dist/dash/standalone/static/assets/pnext-client-f139547dc55d7d76.js +0 -1
  373. package/dist/dash/standalone/static/assets/pnext-client-fd280710b31af681.js +0 -1
  374. package/dist/default-Ojx5oFuw.js +0 -1
  375. package/dist/delete-D1hEPpsk.js +0 -2
  376. package/dist/delete-UyzcQPoG.js +0 -4
  377. package/dist/disable-Dml_Slph.js +0 -1
  378. package/dist/discover-CyIfIBGD.js +0 -3
  379. package/dist/dispatch-CFZ9Crvg.js +0 -8
  380. package/dist/docs-BUHKbQjM.js +0 -2
  381. package/dist/docs-CvjWiada.js +0 -2
  382. package/dist/drive-BqunNi9n.js +0 -1
  383. package/dist/enable-xye-Nanc.js +0 -1
  384. package/dist/env-BgE9ipvN.js +0 -1
  385. package/dist/exec-Cprez703.js +0 -3
  386. package/dist/executor-3QMa-XRY.js +0 -11
  387. package/dist/flow/builtin/review.d.ts +0 -2
  388. package/dist/flow/builtin/review.js +0 -12
  389. package/dist/flow-CtillCQY.js +0 -1
  390. package/dist/history-C53URBjs.js +0 -8
  391. package/dist/http-CDZKt5ln.js +0 -1
  392. package/dist/hub-B0WCXtsP.js +0 -2
  393. package/dist/init-HdSVUozH.js +0 -1
  394. package/dist/integrations-BdLs4W6o.js +0 -1
  395. package/dist/integrations-IGnXBrPw.js +0 -2
  396. package/dist/list-1IMeVNg3.js +0 -1
  397. package/dist/list-BTjIMvNs.js +0 -1
  398. package/dist/list-BlOB32n6.js +0 -4
  399. package/dist/list-CZGTVKcS.js +0 -4
  400. package/dist/list-CquHtsmW.js +0 -3
  401. package/dist/list-CxjPT0Il.js +0 -1
  402. package/dist/list-DvFVuGT_.js +0 -1
  403. package/dist/list-gFnOS9Hk.js +0 -2
  404. package/dist/load-Q9fL4VC6.js +0 -2
  405. package/dist/local-Bzdmzc1o.js +0 -5
  406. package/dist/log-view-CL3_S0IQ.js +0 -3
  407. package/dist/login-C723kHh6.js +0 -1
  408. package/dist/login-Dq3r6gh6.js +0 -1
  409. package/dist/logout-DEg0aTmq.js +0 -1
  410. package/dist/maintenance-DYOstY6V.js +0 -1
  411. package/dist/mcp-CKqinFkk.js +0 -1
  412. package/dist/mcp-Dsl3Xdd3.js +0 -13
  413. package/dist/mcp-server-BlP9lACI.js +0 -1
  414. package/dist/model-Bs27g5EX.js +0 -1
  415. package/dist/models-Cb0ZTKZ7.js +0 -1
  416. package/dist/output-BKeyLbvt.js +0 -5
  417. package/dist/prompt-PEgcMJO7.js +0 -8
  418. package/dist/prompts-Bj4Fbd_n.js +0 -78
  419. package/dist/push-DpEW4XbQ.js +0 -1
  420. package/dist/reconnect-BmP_XXDv.js +0 -1
  421. package/dist/refresh-SHNJq9Cx.js +0 -1
  422. package/dist/remote-D3JZ4MMQ.js +0 -3
  423. package/dist/remove-BZZgJq8Z.js +0 -1
  424. package/dist/remove-CId1EwPg.js +0 -1
  425. package/dist/remove-Ci87WQq0.js +0 -1
  426. package/dist/remove-DxCv9BB4.js +0 -1
  427. package/dist/rename-DJaf5SwH.js +0 -1
  428. package/dist/result-BesDQ-b1.js +0 -5
  429. package/dist/result-D0dpv2O_.js +0 -18
  430. package/dist/resume-2Y0uC5MM.js +0 -3
  431. package/dist/review-DIm9oK_W.js +0 -7
  432. package/dist/review-Dxs-idTn.d.ts +0 -566
  433. package/dist/rotate-key-CS1G6ReH.js +0 -1
  434. package/dist/run-BKUd6B8S.js +0 -2
  435. package/dist/run-DjTTb8oA.js +0 -5
  436. package/dist/run-UPW-7pKo.js +0 -2
  437. package/dist/runner-BLS_ReEw.js +0 -1
  438. package/dist/runner-BM_98EQl.js +0 -1
  439. package/dist/runners-DyLnqHKy.js +0 -36
  440. package/dist/schema-CjHmulYJ.js +0 -8
  441. package/dist/sdk-B4Cl0Hbw.d.ts +0 -12551
  442. package/dist/serve-BApfeXk8.js +0 -12
  443. package/dist/serve-DE1cKoGa.js +0 -1
  444. package/dist/serve-lF97RlpX.js +0 -2
  445. package/dist/serve-mXTjboT1.js +0 -1
  446. package/dist/server-CUsxAflx.js +0 -1
  447. package/dist/setup-host-tlsilI6C.js +0 -6
  448. package/dist/show-Dn7zTz-9.js +0 -1
  449. package/dist/show-uyUpeqa9.js +0 -1
  450. package/dist/slack-DhPhLuWb.js +0 -5
  451. package/dist/status-D_1VGn9F.js +0 -1
  452. package/dist/steer-CMp-a7v2.js +0 -4
  453. package/dist/stop-C7YjN2sB.js +0 -1
  454. package/dist/stop-D8G7AtdY.js +0 -3
  455. package/dist/task-DJ6nruuA.js +0 -1
  456. package/dist/task-DeFLNmQH.js +0 -1
  457. package/dist/task-bkoi8_NN.js +0 -7
  458. package/dist/test-BD9rvefN.js +0 -1
  459. package/dist/tools-CdWkwI1g.js +0 -1
  460. package/dist/types-D_xnfP7m.js +0 -1
  461. package/dist/unalias-bL5t8Isc.js +0 -1
  462. package/dist/update-DIYW08ME.js +0 -2
  463. package/dist/upgrade-3fH6dGJw.js +0 -2
  464. package/dist/usage-Dr8F0xt0.js +0 -1
  465. package/dist/views-CE2d9x6T.js +0 -5
  466. package/dist/watch-BiyN4NxE.js +0 -5
  467. package/dist/watch-DJXu13jK.js +0 -9
  468. package/dist/worker-CHD_OiQS.js +0 -1
  469. package/dist/worker-KfrTK_Dk.js +0 -2
  470. package/dist/workflow-C21qQ4rT.js +0 -1
  471. package/docs/agents/prompt.md +0 -231
  472. package/docs/cli.md +0 -155
  473. /package/dist/dash/standalone/server/modules-server-server-react-server/src/core/{errors.0a735590a5412ea6.js → errors.1bd0542d832ae0c0.js} +0 -0
  474. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{page.c811938ae8a8f1df.css.pnext-asset.js → page.107e622830bff31d.css.pnext-asset.js} +0 -0
  475. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{hero.1bef5dca89b5942c.css.pnext-asset.js → hero.243d85cac1f22df2.css.pnext-asset.js} +0 -0
  476. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{editor.c496247a81ed832c.css.pnext-asset.js → editor.1eb1bce282b289c9.css.pnext-asset.js} +0 -0
  477. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{model-options.a96c11d11674f598.js → model-options.73f8d0d54f79d8e3.js} +0 -0
  478. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-view.57990cfd2bdf5c11.css.pnext-asset.js → task-view.42337a0d7c6ad0b6.css.pnext-asset.js} +0 -0
  479. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-list.abbbc9ace4d866e5.css.pnext-asset.js → tasks-list.2f90c4410f843fff.css.pnext-asset.js} +0 -0
  480. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{globals.c8fd2b8b01e7077b.css.pnext-asset.js → globals.f8ac779f0ebf888b.css.pnext-asset.js} +0 -0
  481. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{page-head.364ec93a8e7857b3.css.pnext-asset.js → page-head.9fcc49ddf7119d75.css.pnext-asset.js} +0 -0
  482. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{modal.9db07d368dcf5981.css.pnext-asset.js → modal.a533234c7c831be4.css.pnext-asset.js} +0 -0
  483. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{segmented.0bd8652fdbc05eb0.css.pnext-asset.js → segmented.c6f30b839fd27f35.css.pnext-asset.js} +0 -0
  484. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{sentinel.1e3ec9bd6008d811.css.pnext-asset.js → sentinel.d17e2bfcbeb9df31.css.pnext-asset.js} +0 -0
  485. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{tabs.ca13e40ff54128d0.css.pnext-asset.js → tabs.025b532d6cc51736.css.pnext-asset.js} +0 -0
@@ -3,31 +3,31 @@ import { Fragment } from "../../../../../../../../../../../node_modules/preact/d
3
3
  import { dynamic } from "../../../../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
4
4
  import { formatDay, zoneOf } from "../../../../../../utils/format.ceeaafa10a0563f3.js";
5
5
  import { Button, LinkButton } from "../../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
6
- import { load, orgOf } from "../../../../../../api/load.be791a5eaf328738.js";
6
+ import { load, orgOf } from "../../../../../../api/load.30ed8c28774a1a82.js";
7
7
  import { Card, Empty } from "../../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
8
- import { Settle } from "../../../../../../comps/frame/stream.e2915852cf82c86b.js";
9
- import { loadAgent } from "../../../../../../api/load.be791a5eaf328738.js";
8
+ import { Settle } from "../../../../../../comps/frame/stream.c32d78562f75db25.js";
9
+ import { loadAgent } from "../../../../../../api/load.30ed8c28774a1a82.js";
10
10
  import { editableAgent } from "../../../../../../api/types.79f9092cdb5a00d1.js";
11
11
  import { LIST_PAGE } from "../../../../../../utils/paged.0e54c3044f8ca567.js";
12
- import { defaultLabel } from "../../../settings/model-options.a96c11d11674f598.js";
13
- import { DEFAULT_ENGINE } from "../../../../../../../../core/defaults.1b615366c56838a1.js";
14
- import { NeedsCredential } from "../../../tasks/composer.b0bb1faaac8e0b6c.js";
12
+ import { defaultLabel } from "../../../settings/model-options.73f8d0d54f79d8e3.js";
13
+ import { DEFAULT_ENGINE } from "../../../../../../../../core/defaults.e972c134a1ae918f.js";
14
+ import { NeedsCredential } from "../../../tasks/composer.dbf06b05c5e2eba3.js";
15
15
  import { Notice } from "../../../../../../comps/ui/notice.f395f231cbb96445.js";
16
16
  import { Icon } from "../../../../../../comps/ui/icon.0874ca2f58f7db14.js";
17
17
  import { iAlert } from "../../../../../../comps/ui/icons.e36c72f54750663a.js";
18
18
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
19
- const VersionsList = dynamic(() => import("./versions-list.c8d76988c734dda2.js").then((m) => m.VersionsList), {
19
+ const VersionsList = dynamic(() => import("./versions-list.8700f0106f4e8c15.js").then((m) => m.VersionsList), {
20
20
  load: "visible",
21
21
  ssr: true
22
22
  }, {
23
23
  "file": decodeURIComponent(new URL("../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/versions-list.tsx", import.meta.url).pathname),
24
24
  "exportName": "VersionsList",
25
- "id": "c-165dc36564"
25
+ "id": "c-dd94f4faf3"
26
26
  });
27
27
  const Instructions = dynamic(() => import("../../agent/instructions.85b1cd986a9edbb5.js").then((m) => m.Instructions), undefined, {
28
28
  "file": decodeURIComponent(new URL("../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/agents/agent/instructions.tsx", import.meta.url).pathname),
29
29
  "exportName": "Instructions",
30
- "id": "c-9c0994e737"
30
+ "id": "c-80b5a7ec6a"
31
31
  });
32
32
  const KIND = {
33
33
  builtin: "Built-in agent",
@@ -90,7 +90,7 @@ function OverviewBody({ agent, org, history, defaults, tz }) {
90
90
  /* @__PURE__ */ _jsxs("div", { children: [/* @__PURE__ */ _jsx("dt", { children: "Engine" }), /* @__PURE__ */ _jsx("dd", { children: engine ?? defaultLabel("first available engine") })] }),
91
91
  /* @__PURE__ */ _jsxs("div", { children: [/* @__PURE__ */ _jsx("dt", { children: "Model" }), /* @__PURE__ */ _jsx("dd", { children: agent.settings?.model ?? definition?.model ?? defaultLabel(base?.model) })] }),
92
92
  /* @__PURE__ */ _jsxs("div", { children: [/* @__PURE__ */ _jsx("dt", { children: "Effort" }), /* @__PURE__ */ _jsx("dd", { children: agent.settings?.effort ?? definition?.effort ?? defaultLabel(base?.effort) })] }),
93
- /* @__PURE__ */ _jsxs("div", { children: [/* @__PURE__ */ _jsx("dt", { children: "Permissions" }), /* @__PURE__ */ _jsx("dd", { children: agent.settings?.permissions ?? definition?.permissions ?? defaultLabel("read-only") })] }),
93
+ /* @__PURE__ */ _jsxs("div", { children: [/* @__PURE__ */ _jsx("dt", { children: "Permissions" }), /* @__PURE__ */ _jsx("dd", { children: agent.settings?.permissions ?? definition?.permissions ?? defaultLabel("auto") })] }),
94
94
  agent.local ? agent.commit && /* @__PURE__ */ _jsxs("div", { children: [/* @__PURE__ */ _jsx("dt", { children: "Commit" }), /* @__PURE__ */ _jsx("dd", { children: agent.commit.slice(0, 7) })] }) : /* @__PURE__ */ _jsxs("div", { children: [/* @__PURE__ */ _jsx("dt", { children: "Version" }), /* @__PURE__ */ _jsxs("dd", { children: [
95
95
  "v",
96
96
  agent.currentVersion,
@@ -1,5 +1,5 @@
1
- import { LoadingCard } from "../../../../../../../comps/frame/loading-card.cc76fc9708142525.js";
2
- import { OrgLink } from "../../../../../../../comps/nav/org.572ad93c7707ab27.js";
1
+ import { LoadingCard } from "../../../../../../../comps/frame/loading-card.1cea8a722c10b998.js";
2
+ import { OrgLink } from "../../../../../../../comps/nav/org.d3abfd4053b711ce.js";
3
3
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
4
4
  export const Lead = () => /* @__PURE__ */ _jsxs("p", {
5
5
  class: "tab-lead",
@@ -1,43 +1,43 @@
1
- import "./page.c811938ae8a8f1df.css.pnext-asset.js";
1
+ import "./page.107e622830bff31d.css.pnext-asset.js";
2
2
  import { dynamic } from "../../../../../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
3
- import { encodeDefinition, load, orgOf, unwrap } from "../../../../../../../api/load.be791a5eaf328738.js";
3
+ import { encodeDefinition, load, orgOf, unwrap } from "../../../../../../../api/load.30ed8c28774a1a82.js";
4
4
  import { Card, Empty } from "../../../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
5
5
  import { Badge, Chips } from "../../../../../../../comps/ui/badge.c0bc352791a95fd6.js";
6
6
  import { Button, LinkButton } from "../../../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
7
7
  import { Icon } from "../../../../../../../comps/ui/icon.0874ca2f58f7db14.js";
8
8
  import { iAlert } from "../../../../../../../comps/ui/icons.e36c72f54750663a.js";
9
9
  import { InfoTip, MoreList } from "../../../../../../../comps/ui/menu.ee45bace979944b6.js";
10
- import { Settle } from "../../../../../../../comps/frame/stream.e2915852cf82c86b.js";
11
- import { loadAgent } from "../../../../../../../api/load.be791a5eaf328738.js";
10
+ import { Settle } from "../../../../../../../comps/frame/stream.c32d78562f75db25.js";
11
+ import { loadAgent } from "../../../../../../../api/load.30ed8c28774a1a82.js";
12
12
  import { needsTunnel } from "../../../../../../../api/types.79f9092cdb5a00d1.js";
13
13
  import { editableAgent, eventNames } from "../../../../../../../api/types.79f9092cdb5a00d1.js";
14
14
  import { TunnelGuide } from "../../../../settings/tunnel-guide.29eee1a0b1852168.js";
15
- import { Platform } from "../../../agent/agent-pills.f987c12bcbc5c850.js";
15
+ import { Platform } from "../../../agent/agent-pills.44e689e546fb042b.js";
16
16
  import { outcomeName, outcomeText, outcomeTitle, readOutcome, succeeded } from "../../../../setup/outcome.cbbc8cd1bbbee01b.js";
17
- import { ConnectionsLine, Lead } from "./loading.4da9e2ba3fea937f.js";
17
+ import { ConnectionsLine, Lead } from "./loading.e06845585ca67abc.js";
18
18
  import { Notice } from "../../../../../../../comps/ui/notice.f395f231cbb96445.js";
19
- import { NeedsCredential } from "../../../../tasks/composer.b0bb1faaac8e0b6c.js";
20
- import { CredentialsLink } from "../../../../../../../comps/nav/back.180765bdadf6d602.js";
19
+ import { NeedsCredential } from "../../../../tasks/composer.dbf06b05c5e2eba3.js";
20
+ import { CredentialsLink } from "../../../../../../../comps/nav/back.d6109e72fbd04b45.js";
21
21
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
22
- const PlatformActions = dynamic(() => import("./platform-actions.8e7ca54dd1821e98.js").then((m) => m.PlatformActions), undefined, {
22
+ const PlatformActions = dynamic(() => import("./platform-actions.000f2f87a48bfbc6.js").then((m) => m.PlatformActions), undefined, {
23
23
  "file": decodeURIComponent(new URL("../../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/platform-actions.tsx", import.meta.url).pathname),
24
24
  "exportName": "PlatformActions",
25
- "id": "c-5ee3648746"
25
+ "id": "c-59cc90648b"
26
26
  });
27
- const InstallButton = dynamic(() => import("./platform-actions.8e7ca54dd1821e98.js").then((m) => m.InstallButton), undefined, {
27
+ const InstallButton = dynamic(() => import("./platform-actions.000f2f87a48bfbc6.js").then((m) => m.InstallButton), undefined, {
28
28
  "file": decodeURIComponent(new URL("../../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/platform-actions.tsx", import.meta.url).pathname),
29
29
  "exportName": "InstallButton",
30
- "id": "c-61854541ef"
30
+ "id": "c-e6e93d0a3d"
31
31
  });
32
- const DriftQueue = dynamic(() => import("./platform-actions.8e7ca54dd1821e98.js").then((m) => m.DriftQueue), undefined, {
32
+ const DriftQueue = dynamic(() => import("./platform-actions.000f2f87a48bfbc6.js").then((m) => m.DriftQueue), undefined, {
33
33
  "file": decodeURIComponent(new URL("../../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/platform-actions.tsx", import.meta.url).pathname),
34
34
  "exportName": "DriftQueue",
35
- "id": "c-18a0dc9be5"
35
+ "id": "c-1107d96360"
36
36
  });
37
- const OutcomeDialog = dynamic(() => import("../../../../setup/outcome-dialog.894c73f9abee3ce1.js").then((m) => m.OutcomeDialog), undefined, {
37
+ const OutcomeDialog = dynamic(() => import("../../../../setup/outcome-dialog.18cf32fa42247b91.js").then((m) => m.OutcomeDialog), undefined, {
38
38
  "file": decodeURIComponent(new URL("../../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/setup/outcome-dialog.tsx", import.meta.url).pathname),
39
39
  "exportName": "OutcomeDialog",
40
- "id": "c-bb95fb5cd0"
40
+ "id": "c-d6a383147e"
41
41
  });
42
42
  /** Outcomes the person fixes by installing again. */
43
43
  const RETRY = new Set([
@@ -96,6 +96,13 @@ function Platforms({ agent, org, apps, installations, catalog, operator = false,
96
96
  }
97
97
  return `/create/${encodeURIComponent(integration)}?${params}`;
98
98
  };
99
+ // One Install with a menu makes every Install a split button, so they line up.
100
+ const split = order.some((id) => {
101
+ const own = apps.filter((app) => app.integration === id);
102
+ const installed = installations.some((entry) => !entry.uninstalled && own.some((app) => app.id === entry.app));
103
+ const shared = builtin && catalog.find((entry) => entry.id === id)?.builtinApp !== "own";
104
+ return own.length > 0 && !installed && (own.length > 1 || !shared);
105
+ });
99
106
  return /* @__PURE__ */ _jsx(Card, {
100
107
  title: "Handles",
101
108
  count: order.filter((id) => catalog.some((entry) => entry.id === id)).length,
@@ -162,9 +169,9 @@ function Platforms({ agent, org, apps, installations, catalog, operator = false,
162
169
  }, app.id)) : null }),
163
170
  /* @__PURE__ */ _jsx("td", {
164
171
  class: "where",
165
- children: installs.length ? /* @__PURE__ */ _jsxs(_Fragment, { children: [installs.slice(0, 2).map(place), installs.length > 2 ? /* @__PURE__ */ _jsx(MoreList, {
166
- label: `+${installs.length - 2} more`,
167
- children: installs.slice(2).map(place)
172
+ children: installs.length ? /* @__PURE__ */ _jsxs(_Fragment, { children: [place(installs[0]), installs.length > 1 ? /* @__PURE__ */ _jsx(MoreList, {
173
+ label: `+${installs.length - 1} more`,
174
+ children: installs.slice(1).map(place)
168
175
  }) : null] }) : own.length ? /* @__PURE__ */ _jsx("span", {
169
176
  class: "muted",
170
177
  children: "Not installed"
@@ -195,10 +202,14 @@ function Platforms({ agent, org, apps, installations, catalog, operator = false,
195
202
  })] }) : /* @__PURE__ */ _jsxs(_Fragment, { children: [gone ? /* @__PURE__ */ _jsx(Badge, {
196
203
  tone: "warn",
197
204
  children: "uninstalled"
198
- }) : /* @__PURE__ */ _jsx(Badge, {
199
- tone: REACH_BADGE[state].tone,
200
- children: REACH_BADGE[state].label
201
- }), /* @__PURE__ */ _jsx(PlatformActions, {
205
+ }) : state === "created" && builtin && info.builtinApp !== "own" ? null : /* @__PURE__ */ _jsx(
206
+ Badge,
207
+ // A shared app is never created by this workspace, only installed.
208
+ {
209
+ tone: REACH_BADGE[state].tone,
210
+ children: REACH_BADGE[state].label
211
+ }
212
+ ), /* @__PURE__ */ _jsx(PlatformActions, {
202
213
  integration: id,
203
214
  name: info?.name ?? id,
204
215
  apps: own.map((app) => ({
@@ -216,6 +227,7 @@ function Platforms({ agent, org, apps, installations, catalog, operator = false,
216
227
  organizationApps: info?.organizationApps,
217
228
  shared: builtin && info.builtinApp !== "own",
218
229
  appUpdate: info.appUpdate,
230
+ split,
219
231
  failed: failed?.platform === id ? {
220
232
  name: info?.name ?? id,
221
233
  app: failed.appId,
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { useEffect, useRef, useState } from "../../../../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
3
3
  import { useRouter } from "../../../../../../../../../../../../node_modules/@wular/pnext/src/api/client-navigation.ts";
4
- import { client } from "../../../../../../../utils/client.a3928fa2dcd27b75.js";
5
- import { useAction } from "../../../../../../../utils/action.b9a5c37272250e82.js";
4
+ import { client } from "../../../../../../../utils/client.78267fa3d7905d17.js";
5
+ import { useAction } from "../../../../../../../utils/action.67dd6f8ab1ae067d.js";
6
6
  import { iDots, iDown, iOut, iPlus, iSpark, iSteer, iUpload, iX } from "../../../../../../../comps/ui/icons.e36c72f54750663a.js";
7
- import { Modal } from "../../../../../../../comps/ui/modal.25d53e5b41b9c4e5.js";
7
+ import { Modal } from "../../../../../../../comps/ui/modal.0b69c7fd9db025b9.js";
8
8
  import { reasonText } from "../../../../../../../utils/format.ceeaafa10a0563f3.js";
9
- import { ConfirmDialog } from "../../../../../../../comps/ui/confirm.c1281f9b12854210.js";
9
+ import { ConfirmDialog } from "../../../../../../../comps/ui/confirm.29e198be34578222.js";
10
10
  import { Badge } from "../../../../../../../comps/ui/badge.c0bc352791a95fd6.js";
11
11
  import { Button } from "../../../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
12
12
  import { CopyButton, CopyLine } from "../../../../../../../comps/ui/copy.bd6fc1577a393965.js";
@@ -14,10 +14,10 @@ import { Field } from "../../../../../../../comps/ui/field.75588c33b72824a7.js";
14
14
  import { Icon } from "../../../../../../../comps/ui/icon.0874ca2f58f7db14.js";
15
15
  import { Menu } from "../../../../../../../comps/ui/menu.ee45bace979944b6.js";
16
16
  import { MenuItem } from "../../../../../../../comps/ui/menu-items.1d082ac4dae8f3d4.js";
17
- import { Segmented } from "../../../../../../../comps/ui/segmented.a08dc08338d080e9.js";
17
+ import { Segmented } from "../../../../../../../comps/ui/segmented.633abe26ff760e37.js";
18
18
  import { Select } from "../../../../../../../comps/ui/select.2eb33e5bea28d804.js";
19
- import { showToast, toastError } from "../../../../../../../comps/frame/task-toasts.0ed8ccaae81b9d53.js";
20
- import { OutcomeDialog } from "../../../../setup/outcome-dialog.894c73f9abee3ce1.js";
19
+ import { showToast, toastError } from "../../../../../../../comps/frame/task-toasts.44075fa7e04575e8.js";
20
+ import { OutcomeDialog } from "../../../../setup/outcome-dialog.18cf32fa42247b91.js";
21
21
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
22
22
  /** Who can install a new app, as the create link's `public`, with what owning it then means. */
23
23
  const WHO = {
@@ -451,7 +451,7 @@ function FailedDialog({ name, issues, title = `Setting up ${name} failed`, text
451
451
  });
452
452
  }
453
453
  /** The one next step for a platform, and the rarer ones in its row menu. */
454
- export function PlatformActions({ integration, name, apps, installed, reinstall, createUrl, create, unreachable, publicApps = false, organizationApps = false, shared = false, appUpdate, failed }) {
454
+ export function PlatformActions({ integration, name, apps, installed, reinstall, createUrl, create, unreachable, publicApps = false, organizationApps = false, shared = false, appUpdate, split = false, failed }) {
455
455
  const nav = useRouter();
456
456
  const { busy, install } = useInstall();
457
457
  const [leaving, setLeaving] = useState(false);
@@ -534,6 +534,32 @@ export function PlatformActions({ integration, name, apps, installed, reinstall,
534
534
  where,
535
535
  failure
536
536
  ] });
537
+ // Installing is the only action: a plain button, or the split shape with a disabled caret when other rows' Install has a menu.
538
+ if (shared && !installed && apps.length === 1) {
539
+ const installButton = /* @__PURE__ */ _jsx(Button, {
540
+ size: "sm",
541
+ loading: busy,
542
+ onClick: () => install(main.id),
543
+ children: reinstall ? "Reinstall" : "Install"
544
+ });
545
+ return /* @__PURE__ */ _jsxs(_Fragment, { children: [
546
+ split ? /* @__PURE__ */ _jsxs("span", {
547
+ class: "split",
548
+ children: [installButton, /* @__PURE__ */ _jsx("span", {
549
+ class: "menu",
550
+ children: /* @__PURE__ */ _jsx(Button, {
551
+ size: "sm",
552
+ class: "split-more",
553
+ disabled: true,
554
+ "aria-label": "No more actions",
555
+ children: /* @__PURE__ */ _jsx(Icon, { d: iDown })
556
+ })
557
+ })]
558
+ }) : installButton,
559
+ where,
560
+ failure
561
+ ] });
562
+ }
537
563
  return /* @__PURE__ */ _jsxs(_Fragment, { children: [
538
564
  /* @__PURE__ */ _jsxs("span", {
539
565
  class: "split",
@@ -557,8 +583,8 @@ export function PlatformActions({ integration, name, apps, installed, reinstall,
557
583
  const named = apps.length > 1 ? ` ${app.name}` : "";
558
584
  return /* @__PURE__ */ _jsx(MenuItem, {
559
585
  icon: iPlus,
560
- title: `Install${named}`,
561
- sub: `On its owner's account, or any account if it is public on ${name}.`,
586
+ title: installed ? `Install${named} on another account` : `Install${named}`,
587
+ sub: shared ? `Any ${name} account can add it.` : `Any ${name} account if the app is public, else only the account that owns it.`,
562
588
  onClick: () => install(app.id)
563
589
  }, app.id);
564
590
  }),
@@ -1,20 +1,20 @@
1
1
  "use client";
2
2
  import "./agent-settings-form.ca926c58d15044aa.css.pnext-asset.js";
3
3
  import { useLayoutEffect, useRef, useState } from "../../../../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
4
- import { client } from "../../../../../../../utils/client.a3928fa2dcd27b75.js";
5
- import { useAction } from "../../../../../../../utils/action.b9a5c37272250e82.js";
4
+ import { client } from "../../../../../../../utils/client.78267fa3d7905d17.js";
5
+ import { useAction } from "../../../../../../../utils/action.67dd6f8ab1ae067d.js";
6
6
  import { useRouter } from "../../../../../../../../../../../../node_modules/@wular/pnext/src/api/client-navigation.ts";
7
- import { useOrg } from "../../../../../../../comps/nav/org.572ad93c7707ab27.js";
7
+ import { useOrg } from "../../../../../../../comps/nav/org.d3abfd4053b711ce.js";
8
8
  import { Link } from "../../../../../../../../../../../../node_modules/@wular/pnext/src/api/link.tsx";
9
9
  import { editableAgent, eventNames } from "../../../../../../../api/types.79f9092cdb5a00d1.js";
10
- import { ConfirmDialog } from "../../../../../../../comps/ui/confirm.c1281f9b12854210.js";
11
- import { BrandIcon } from "../../../agent/agent-pills.f987c12bcbc5c850.js";
12
- import { AgentToggle } from "../../../agent/agent-toggle.1579dc8acbaacf92.js";
10
+ import { ConfirmDialog } from "../../../../../../../comps/ui/confirm.29e198be34578222.js";
11
+ import { BrandIcon } from "../../../agent/agent-pills.44e689e546fb042b.js";
12
+ import { AgentToggle } from "../../../agent/agent-toggle.4c67dfbb7d28a416.js";
13
13
  import { Field } from "../../../../../../../comps/ui/field.75588c33b72824a7.js";
14
14
  import { Button } from "../../../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
15
15
  import { Select } from "../../../../../../../comps/ui/select.2eb33e5bea28d804.js";
16
- import { Search } from "../../../../../../../comps/ui/toolbar.24036899654de6df.js";
17
- import { EFFORTS, ENGINE_NAMES, PERMISSIONS, defaultLabel, modelHeadings, modelOptions, modelValue, splitModel } from "../../../../settings/model-options.a96c11d11674f598.js";
16
+ import { Search } from "../../../../../../../comps/ui/toolbar.8b3a460a65edf85a.js";
17
+ import { EFFORTS, ENGINE_NAMES, PERMISSIONS, defaultLabel, modelHeadings, modelOptions, modelValue, splitModel } from "../../../../settings/model-options.73f8d0d54f79d8e3.js";
18
18
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
19
19
  const ACCESS = [["read", "Read-only"], ["write", "Read-write"]];
20
20
  function Choice({ name, label, hint, value, options, blank }) {
@@ -184,7 +184,7 @@ export function AgentSettingsForm({ agent, catalog, models, defaults, runners, c
184
184
  hint: "what the runner may change in the checkout",
185
185
  value: settings.permissions,
186
186
  options: PERMISSIONS,
187
- blank: defaultLabel(own?.permissions ?? "read-only")
187
+ blank: defaultLabel(own?.permissions ?? "auto")
188
188
  }),
189
189
  /* @__PURE__ */ _jsx(Choice, {
190
190
  name: "access",
@@ -1,4 +1,4 @@
1
- import { LoadingCard } from "../../../../../../../comps/frame/loading-card.cc76fc9708142525.js";
1
+ import { LoadingCard } from "../../../../../../../comps/frame/loading-card.1cea8a722c10b998.js";
2
2
  import { jsx as _jsx } from "../../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
3
3
  export default function AgentSettingsLoading() {
4
4
  return /* @__PURE__ */ _jsx(LoadingCard, {
@@ -1,14 +1,14 @@
1
1
  import { dynamic } from "../../../../../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
2
- import { load } from "../../../../../../../api/load.be791a5eaf328738.js";
3
- import { Settle } from "../../../../../../../comps/frame/stream.e2915852cf82c86b.js";
4
- import { loadAgent, loadRunDefaults } from "../../../../../../../api/load.be791a5eaf328738.js";
5
- import { runnerOptions } from "../../../../tasks/composer-data.309a194fc7fa34be.js";
6
- import { NeedsCredential } from "../../../../tasks/composer.b0bb1faaac8e0b6c.js";
2
+ import { load } from "../../../../../../../api/load.30ed8c28774a1a82.js";
3
+ import { Settle } from "../../../../../../../comps/frame/stream.c32d78562f75db25.js";
4
+ import { loadAgent, loadRunDefaults } from "../../../../../../../api/load.30ed8c28774a1a82.js";
5
+ import { runnerOptions } from "../../../../tasks/composer-data.05fc39e1a7fd1ab7.js";
6
+ import { NeedsCredential } from "../../../../tasks/composer.dbf06b05c5e2eba3.js";
7
7
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
8
- const AgentSettingsForm = dynamic(() => import("./agent-settings-form.eb707a9e32718374.js").then((m) => m.AgentSettingsForm), undefined, {
8
+ const AgentSettingsForm = dynamic(() => import("./agent-settings-form.ee0bb2dc4d403ec3.js").then((m) => m.AgentSettingsForm), undefined, {
9
9
  "file": decodeURIComponent(new URL("../../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/agent-settings-form.tsx", import.meta.url).pathname),
10
10
  "exportName": "AgentSettingsForm",
11
- "id": "c-8ac5bd4461"
11
+ "id": "c-f43e9245d5"
12
12
  });
13
13
  export default async function AgentSettingsPage({ request, params }) {
14
14
  if (!request) return null;
@@ -1,4 +1,4 @@
1
- import { TasksLoading } from "../../../../tasks/list/tasks-section.80f9c9a42ecae854.js";
1
+ import { TasksLoading } from "../../../../tasks/list/tasks-section.36e70c93f7d0feee.js";
2
2
  import { jsx as _jsx } from "../../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
3
3
  export default function AgentTasksLoading() {
4
4
  return /* @__PURE__ */ _jsx(TasksLoading, {});
@@ -1,4 +1,4 @@
1
- import { TasksSection, loadTasks } from "../../../../tasks/list/tasks-section.80f9c9a42ecae854.js";
1
+ import { TasksSection, loadTasks } from "../../../../tasks/list/tasks-section.36e70c93f7d0feee.js";
2
2
  import { jsx as _jsx } from "../../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
3
3
  export default async function AgentTasksPage({ request, params }) {
4
4
  if (!request) return null;
@@ -1,9 +1,9 @@
1
1
  import "./@/comps/ui/segmented.2cb43dc7d1f1588a.css.pnext-asset.js";
2
2
  import "./@/app/dash/[org]/usage/range-bar.e8f6f0c7ee443262.css.pnext-asset.js";
3
- import { LoadingRange } from "../../../../usage/range-bar.2197d8f43216d104.js";
3
+ import { LoadingRange } from "../../../../usage/range-bar.69e68c9dae09f238.js";
4
4
  import { Stat, Stats } from "../../../../usage/stats.de820599cf126120.js";
5
5
  import { Card, Loading } from "../../../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
6
- import { BLANK } from "../../../../../../../comps/frame/loading-card.cc76fc9708142525.js";
6
+ import { BLANK } from "../../../../../../../comps/frame/loading-card.1cea8a722c10b998.js";
7
7
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
8
8
  /** The usage tab's shape before its numbers arrive: totals, the day chart, the two breakdowns and the deliveries, blank. */
9
9
  export default function AgentUsageLoading() {
@@ -3,13 +3,13 @@ import "./@/app/dash/[org]/usage/range-bar.e8f6f0c7ee443262.css.pnext-asset.js";
3
3
  import "./page.80adb3d2ea31d080.css.pnext-asset.js";
4
4
  import { formatCompact, formatCount, formatDate, formatDuration, zoneOf } from "../../../../../../../utils/format.ceeaafa10a0563f3.js";
5
5
  import { daysIn, rangeFor } from "../../../../../../../utils/range.f73ba9cac0a60af1.js";
6
- import { load, loadAgent, orgOf } from "../../../../../../../api/load.be791a5eaf328738.js";
6
+ import { load, loadAgent, orgOf } from "../../../../../../../api/load.30ed8c28774a1a82.js";
7
7
  import { Card, Empty } from "../../../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
8
8
  import { Stat, Stats } from "../../../../usage/stats.de820599cf126120.js";
9
- import { Settle } from "../../../../../../../comps/frame/stream.e2915852cf82c86b.js";
10
- import { unwrap } from "../../../../../../../api/load.be791a5eaf328738.js";
9
+ import { Settle } from "../../../../../../../comps/frame/stream.c32d78562f75db25.js";
10
+ import { unwrap } from "../../../../../../../api/load.30ed8c28774a1a82.js";
11
11
  import { DayChart } from "../../../../usage/day-chart.261b6651df2d3966.js";
12
- import { RangeBar } from "../../../../usage/range-bar.2197d8f43216d104.js";
12
+ import { RangeBar } from "../../../../usage/range-bar.69e68c9dae09f238.js";
13
13
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
14
14
  function Breakdown({ title, head, rows, label }) {
15
15
  const sorted = [...rows].sort((a, b) => b.tokenCount - a.tokenCount || b.tasks - a.tasks);
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { client } from "../../../../../../utils/client.a3928fa2dcd27b75.js";
2
+ import { client } from "../../../../../../utils/client.78267fa3d7905d17.js";
3
3
  import { formatDate } from "../../../../../../utils/format.ceeaafa10a0563f3.js";
4
4
  import { usePaged } from "../../../../../../utils/paged.0e54c3044f8ca567.js";
5
5
  import { Badge } from "../../../../../../comps/ui/badge.c0bc352791a95fd6.js";
@@ -1,7 +1,7 @@
1
1
  import { iUpload } from "../../../../../../comps/ui/icons.e36c72f54750663a.js";
2
- import { LoadingCard } from "../../../../../../comps/frame/loading-card.cc76fc9708142525.js";
3
- import { LoadingHero } from "../../agent/hero.ad5cc342db794e5d.js";
4
- import { LoadingBack, Page } from "../../../../../../comps/frame/page-head.85f15db7b648d48c.js";
2
+ import { LoadingCard } from "../../../../../../comps/frame/loading-card.1cea8a722c10b998.js";
3
+ import { LoadingHero } from "../../agent/hero.9740a8e2f4b41f28.js";
4
+ import { LoadingBack, Page } from "../../../../../../comps/frame/page-head.87b92529dbb53ceb.js";
5
5
  import { Button } from "../../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
6
6
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
7
7
  export default function AgentEditLoading() {
@@ -1,16 +1,16 @@
1
1
  import { dynamic } from "../../../../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
2
- import { load, orgOf } from "../../../../../../api/load.be791a5eaf328738.js";
2
+ import { load, orgOf } from "../../../../../../api/load.30ed8c28774a1a82.js";
3
3
  import { Card } from "../../../../../../comps/ui/card.9f0d45b73bc78b4f.js";
4
- import { Back, Page } from "../../../../../../comps/frame/page-head.85f15db7b648d48c.js";
5
- import { Settle } from "../../../../../../comps/frame/stream.e2915852cf82c86b.js";
6
- import { Hero } from "../../agent/hero.ad5cc342db794e5d.js";
7
- import { loadAgent, loadRunDefaults } from "../../../../../../api/load.be791a5eaf328738.js";
4
+ import { Back, Page } from "../../../../../../comps/frame/page-head.87b92529dbb53ceb.js";
5
+ import { Settle } from "../../../../../../comps/frame/stream.c32d78562f75db25.js";
6
+ import { Hero } from "../../agent/hero.9740a8e2f4b41f28.js";
7
+ import { loadAgent, loadRunDefaults } from "../../../../../../api/load.30ed8c28774a1a82.js";
8
8
  import { editableAgent } from "../../../../../../api/types.79f9092cdb5a00d1.js";
9
9
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
10
- const AgentEditor = dynamic(() => import("../../editor/editor.62cb8207218e6437.js").then((m) => m.AgentEditor), undefined, {
10
+ const AgentEditor = dynamic(() => import("../../editor/editor.471af698b8060eba.js").then((m) => m.AgentEditor), undefined, {
11
11
  "file": decodeURIComponent(new URL("../../../../../../../../../../../../../../src/server/dash/app/dash/[org]/agents/editor/editor.tsx", import.meta.url).pathname),
12
12
  "exportName": "AgentEditor",
13
- "id": "c-521cfaedd3"
13
+ "id": "c-50e54fead0"
14
14
  });
15
15
  function EditedElsewhere({ agent }) {
16
16
  return /* @__PURE__ */ _jsx(Card, {
@@ -4,7 +4,7 @@ import { iGit } from "../../../../../comps/ui/icons.e36c72f54750663a.js";
4
4
  import { Badge, COLLAPSE_FROM, COLLAPSED } from "../../../../../comps/ui/badge.c0bc352791a95fd6.js";
5
5
  import { Icon } from "../../../../../comps/ui/icon.0874ca2f58f7db14.js";
6
6
  import { MoreList } from "../../../../../comps/ui/menu.ee45bace979944b6.js";
7
- import { OrgLink } from "../../../../../comps/nav/org.572ad93c7707ab27.js";
7
+ import { OrgLink } from "../../../../../comps/nav/org.d3abfd4053b711ce.js";
8
8
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
9
9
  /** Official marks carry gradient ids; each copy on a page gets its own so they never shadow one another. */
10
10
  const scoped = (svg, suffix) => svg.replace(/\bid="([^"]+)"/g, `id="$1${suffix}"`).replace(/url\(#([^)]+)\)/g, `url(#$1${suffix})`).replace(/href="#([^"]+)"/g, `href="#$1${suffix}"`);
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { useState } from "../../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
3
- import { client } from "../../../../../utils/client.a3928fa2dcd27b75.js";
3
+ import { client } from "../../../../../utils/client.78267fa3d7905d17.js";
4
4
  import { Button } from "../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
5
- import { useAction } from "../../../../../utils/action.b9a5c37272250e82.js";
5
+ import { useAction } from "../../../../../utils/action.67dd6f8ab1ae067d.js";
6
6
  import { jsx as _jsx } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
7
7
  /** Disable or Enable the agent in this workspace; its other settings stay. `link` shows it as a text link. */
8
8
  export function AgentToggle({ agent, link }) {
@@ -1,10 +1,10 @@
1
- import "./hero.1bef5dca89b5942c.css.pnext-asset.js";
2
- import { BLANK } from "../../../../../comps/frame/loading-card.cc76fc9708142525.js";
1
+ import "./hero.243d85cac1f22df2.css.pnext-asset.js";
2
+ import { BLANK } from "../../../../../comps/frame/loading-card.1cea8a722c10b998.js";
3
3
  import { initial } from "../../../../../utils/format.ceeaafa10a0563f3.js";
4
- import { AgentPills } from "./agent-pills.f987c12bcbc5c850.js";
5
- import { AgentToggle } from "./agent-toggle.1579dc8acbaacf92.js";
4
+ import { AgentPills } from "./agent-pills.44e689e546fb042b.js";
5
+ import { AgentToggle } from "./agent-toggle.4c67dfbb7d28a416.js";
6
6
  import { MoreList } from "../../../../../comps/ui/menu.ee45bace979944b6.js";
7
- import { Sentinel } from "../../../../../comps/ui/sentinel.17cffebfc3103b9f.js";
7
+ import { Sentinel } from "../../../../../comps/ui/sentinel.0ddf515b8f09ef9f.js";
8
8
  import { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
9
9
  /** Handles shown before the rest fold behind +N more. */
10
10
  const SHOWN = 2;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { client } from "../../../../../utils/client.a3928fa2dcd27b75.js";
2
+ import { client } from "../../../../../utils/client.78267fa3d7905d17.js";
3
3
  /** Installs the app that reaches repositories, a built-in one first, and comes back to `back`. */
4
4
  export async function connectRepositories(back) {
5
5
  const [apps, catalog] = await Promise.all([client.apps.list(), client.integrations.list()]);
@@ -1,38 +1,47 @@
1
1
  "use client";
2
- import "./editor.c496247a81ed832c.css.pnext-asset.js";
2
+ import "./editor.1eb1bce282b289c9.css.pnext-asset.js";
3
3
  // The preview is the same card the agents list draws.
4
4
  import "./@/app/dash/[org]/agents/(list)/page.81c825592da30a32.css.pnext-asset.js";
5
5
  import { useEffect, useState } from "../../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
6
- import { client } from "../../../../../utils/client.a3928fa2dcd27b75.js";
7
- import { useAction } from "../../../../../utils/action.b9a5c37272250e82.js";
6
+ import { client } from "../../../../../utils/client.78267fa3d7905d17.js";
7
+ import { useAction } from "../../../../../utils/action.67dd6f8ab1ae067d.js";
8
8
  import { iDown, iPlus, iShuffle, iUpload } from "../../../../../comps/ui/icons.e36c72f54750663a.js";
9
9
  import { useRouter } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/client-navigation.ts";
10
- import { useOrg } from "../../../../../comps/nav/org.572ad93c7707ab27.js";
10
+ import { useOrg } from "../../../../../comps/nav/org.d3abfd4053b711ce.js";
11
11
  import { Link } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/link.tsx";
12
- import { BrandIcon, DisabledBadge, PlatformLine } from "../agent/agent-pills.f987c12bcbc5c850.js";
13
- import { Hero } from "../agent/hero.ad5cc342db794e5d.js";
14
- import { Back, PageHead } from "../../../../../comps/frame/page-head.85f15db7b648d48c.js";
12
+ import { BrandIcon, DisabledBadge, PlatformLine } from "../agent/agent-pills.44e689e546fb042b.js";
13
+ import { Hero } from "../agent/hero.9740a8e2f4b41f28.js";
14
+ import { Back, PageHead } from "../../../../../comps/frame/page-head.87b92529dbb53ceb.js";
15
15
  import { HEADS } from "../../../../../comps/frame/heads.37e35439c02fc636.js";
16
16
  import { initial } from "../../../../../utils/format.ceeaafa10a0563f3.js";
17
17
  import { eventNames } from "../../../../../api/types.79f9092cdb5a00d1.js";
18
18
  import { Field } from "../../../../../comps/ui/field.75588c33b72824a7.js";
19
- import { showToast, toastError } from "../../../../../comps/frame/task-toasts.0ed8ccaae81b9d53.js";
19
+ import { showToast, toastError } from "../../../../../comps/frame/task-toasts.44075fa7e04575e8.js";
20
20
  import { Badge, Chip, Chips } from "../../../../../comps/ui/badge.c0bc352791a95fd6.js";
21
21
  import { Button, LinkButton } from "../../../../../comps/ui/button.ce9e6cdb08ca86db.js";
22
22
  import { Icon } from "../../../../../comps/ui/icon.0874ca2f58f7db14.js";
23
23
  import { Select } from "../../../../../comps/ui/select.2eb33e5bea28d804.js";
24
- import { Segmented } from "../../../../../comps/ui/segmented.a08dc08338d080e9.js";
25
- import { Search } from "../../../../../comps/ui/toolbar.24036899654de6df.js";
26
- import { ImportPicker } from "./import-picker.eafa5b41a2ed571f.js";
24
+ import { Segmented } from "../../../../../comps/ui/segmented.633abe26ff760e37.js";
25
+ import { Search } from "../../../../../comps/ui/toolbar.8b3a460a65edf85a.js";
26
+ import { ImportPicker } from "./import-picker.b7b5c89e618e8f89.js";
27
27
  import { markdown } from "../agent/instructions.85b1cd986a9edbb5.js";
28
- import { EFFORTS, ENGINE_NAMES, PERMISSIONS, defaultLabel, modelHeadings, modelOptions, modelValue, splitModel } from "../../settings/model-options.a96c11d11674f598.js";
28
+ import { EFFORTS, ENGINE_NAMES, PERMISSIONS, defaultLabel, modelHeadings, modelOptions, modelValue, splitModel } from "../../settings/model-options.73f8d0d54f79d8e3.js";
29
29
  import { suggestName } from "./names.1ee5bba8d2b6ac41.js";
30
30
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
31
+ const NEVER_ASKS = "never asks you; anything outside its sandbox fails";
31
32
  const PERMISSION_HINTS = {
32
- "read-only": "reads the repository and changes nothing",
33
- "workspace-write": "edits files inside the repository",
34
- auto: "edits files, reaches the network, and asks when it needs more"
33
+ "read-only": `reads the repository and changes nothing; ${NEVER_ASKS}`,
34
+ "workspace-write": `edits files inside the repository; ${NEVER_ASKS}`,
35
+ auto: "edits files, reaches the network, and asks you when it needs more"
35
36
  };
37
+ const PERMISSION_OPTIONS = PERMISSIONS.map(([key, label]) => key === "auto" ? [key, /* @__PURE__ */ _jsxs(_Fragment, { children: [
38
+ label,
39
+ " ",
40
+ /* @__PURE__ */ _jsx(Badge, {
41
+ tone: "acc",
42
+ children: "escalates"
43
+ })
44
+ ] })] : [key, label]);
36
45
  const ACCESS = [["read", "Read-only"], ["write", "Read-write"]];
37
46
  const ACCESS_HINTS = {
38
47
  read: "reads its platforms and connections; replies and reacts in the conversation",
@@ -70,7 +79,7 @@ function draftOf(agent, suggested, catalog) {
70
79
  events: {},
71
80
  match: {},
72
81
  access: definition?.access ?? "write",
73
- permissions: definition?.permissions ?? "read-only",
82
+ permissions: definition?.permissions ?? "auto",
74
83
  systemPrompt: agent?.systemPrompt ?? "",
75
84
  engine: definition?.engine ?? "",
76
85
  model: definition?.model ?? "",
@@ -627,16 +636,18 @@ export function AgentEditor({ catalog, agent, suggested = "", section, models, d
627
636
  onChange: (value) => set("effort", value)
628
637
  })
629
638
  })]
630
- }), /* @__PURE__ */ _jsx(Field, {
639
+ }), /* @__PURE__ */ _jsxs(Field, {
631
640
  label: "Repository access",
632
- hint: PERMISSION_HINTS[draft.permissions],
633
641
  group: true,
634
- children: /* @__PURE__ */ _jsx(Segmented, {
642
+ children: [/* @__PURE__ */ _jsx("p", {
643
+ class: draft.permissions === "auto" ? "access-note" : "access-note warn-hint",
644
+ children: PERMISSION_HINTS[draft.permissions]
645
+ }), /* @__PURE__ */ _jsx(Segmented, {
635
646
  label: "Repository access",
636
- options: PERMISSIONS,
647
+ options: PERMISSION_OPTIONS,
637
648
  value: draft.permissions,
638
649
  onChange: (value) => set("permissions", value)
639
- })
650
+ })]
640
651
  })]
641
652
  })]
642
653
  })