@wular/coder 0.5.1 → 0.6.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 (246) hide show
  1. package/dist/{actions-DO8MvHwc.js → actions-C35tq9KH.js} +2 -2
  2. package/dist/{agent-Cgala63h.js → agent-BZR4Eqdc.js} +1 -1
  3. package/dist/{apps-BORri-28.js → apps-CCqOsEZH.js} +4 -4
  4. package/dist/{async-BS9tyhva.js → async-BP5q3Une.js} +1 -1
  5. package/dist/{auth-C16ylySv.js → auth-CJOm9_Vh.js} +1 -1
  6. package/dist/{chat-czruXAt3.js → chat-BD2Fu3jU.js} +1 -1
  7. package/dist/cli.js +2 -2
  8. package/dist/{cmd-C1gHyVG7.js → cmd-BH1bmZGs.js} +29 -29
  9. package/dist/{connection-CgA5_NJ7.js → connection-DNzNYpha.js} +1 -1
  10. package/dist/{context-C1XBbfEL.js → context-DVGPu7f_.js} +1 -1
  11. package/dist/dash/standalone/server/build-index.json +1 -1
  12. package/dist/dash/standalone/server/manifest.json +1305 -1297
  13. package/dist/dash/standalone/server/modules-server-server-react-server/src/client/{index.91e126d7a389d4bd.js → index.a036e2c6ae93ec75.js} +3 -2
  14. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/api/{load.858c062c7891a2c1.js → load.3e1c235ecb89201a.js} +1 -1
  15. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/create/[id]/{page.9375ab741dc9791e.js → page.182d84c6c82e23ce.js} +3 -3
  16. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{loading.56c14183236be231.js → loading.d336cb9556ff8727.js} +1 -1
  17. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{notify.c36570a56d279ce2.js → notify.62f2ed40b52a8634.js} +1 -1
  18. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{page.13fdd9cc55ad3a52.js → page.ff2419800c956e8d.js} +4 -4
  19. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{sign-out.38a7f39cddc670f7.js → sign-out.e125b18b5682b3eb.js} +2 -2
  20. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{agent-menu.5c780867b82081b1.js → agent-menu.eae818909ed5becf.js} +1 -1
  21. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{agents-grid.2385ffa8fdad08d6.js → agents-grid.dcc8b20efd8850e6.js} +5 -5
  22. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{loading.0130f8533d8f1b1e.js → loading.061efc737835250f.js} +2 -2
  23. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{page.5ca6921e50484f8c.js → page.6704febb2a60975e.js} +6 -6
  24. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{layout.afc4a8a5a8360975.js → layout.32acdff971049f4d.js} +8 -8
  25. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{page.ba65063a1aa99a62.js → page.1208c1115d309a62.js} +6 -6
  26. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{loading.d56ef50b0694f975.js → loading.e4f77e054d5a5f00.js} +2 -2
  27. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{page.03c5e72b0fe50ba9.js → page.630dd03a59048b88.js} +14 -14
  28. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{platform-actions.7c8c75bd0c05df4a.js → platform-actions.184f6c441ac3d1c7.js} +5 -5
  29. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{platform-step.d6a980d1181dc940.js → platform-step.d97e9a2290dbfae3.js} +1 -1
  30. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{agent-settings-form.b5299f5130a4e8af.js → agent-settings-form.840d93eb2ba648bd.js} +8 -8
  31. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{loading.2800c65e45a4a1d9.js → loading.707d269a647b6f56.js} +1 -1
  32. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{page.fad77cea17947d47.js → page.b79c235f7735fc3e.js} +6 -6
  33. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{loading.4120e6979eaed441.js → loading.10ca51cc6fb65391.js} +1 -1
  34. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{page.474b3524d5ea53b7.js → page.a09314f795d5e740.js} +1 -1
  35. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/usage/{loading.3a615597ca648452.js → loading.10a0ff0d99710f70.js} +2 -2
  36. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/usage/{page.7868a07efcaa26f4.js → page.d88040124d4d2053.js} +4 -4
  37. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{versions-list.ba93a53773cab8a8.js → versions-list.e6088baf4de7f41e.js} +1 -1
  38. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{loading.6e53829bd1f3021d.js → loading.5228229c48332ccd.js} +3 -3
  39. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{page.5798ede8ba8ace97.js → page.c60cf1ea8ede39f6.js} +7 -7
  40. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/platforms/[app]/{app-cards.55778a4b3177846d.js → app-cards.f17ab135e3e31e00.js} +2 -2
  41. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/platforms/[app]/{loading.f0d91d48e2b79e50.js → loading.de17198764c127f5.js} +2 -2
  42. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/platforms/[app]/{page.ce391cad0d78795f.js → page.706499514893c5e0.js} +5 -5
  43. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{agent-pills.1012e04bfbc7bffd.js → agent-pills.bd9808856ef860f3.js} +1 -1
  44. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{agent-toggle.0cec822c6099f058.js → agent-toggle.901667176840cd25.js} +2 -2
  45. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{hero.7151c467e7ecf6a5.js → hero.fd2ffbf999c6c1e9.js} +3 -3
  46. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{connect-repositories.4e121d31ed0cfe02.js → connect-repositories.e27bcba279f82d7b.js} +1 -1
  47. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{editor.f314d92af0bb33b0.js → editor.edcfc2f0692e9059.js} +10 -10
  48. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{import-picker.11028d5329ad537b.js → import-picker.515ab6c14afe14ac.js} +5 -5
  49. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/new/{loading.9b65a8c1cdc8346f.js → loading.0cf7535fa7af7fbd.js} +2 -2
  50. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/new/{page.1476d31e4554e88b.js → page.95eb2cd0671e7f6e.js} +5 -5
  51. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{layout.150d950d191db477.js → layout.87f5bb00d4e34e6b.js} +7 -7
  52. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/{operator-apps.3e72de86b86a7338.js → operator-apps.6a9975e2f64a9e5b.js} +6 -6
  53. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/{page.6a4be3b1a473ff8c.js → page.3691b55916b17d14.js} +6 -6
  54. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{page.262ed73437c17872.js → page.7de674df6cd0e824.js} +1 -1
  55. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{advanced-list.7180570379e2625c.js → advanced-list.c7821de9a79fb144.js} +1 -1
  56. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{connection-add.632b1847c16ecd42.js → connection-add.f102abaca93416ff.js} +7 -7
  57. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{connections-list.4378ae707b2092ed.js → connections-list.098f57fd6b1570d8.js} +8 -8
  58. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials-list.e47897acb6867df8.js → credentials-list.2a2d391b2fc563fc.js} +7 -7
  59. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials.6bd06f96afbe7329.js → credentials.0eeab14f7a6236bb.js} +8 -8
  60. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{list.38e70272eeb98cd0.js → list.5a1847f3ed97bc5b.js} +3 -3
  61. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{models-list.a08cd37d0f7ff86c.js → models-list.d0954eca1a1ca3d2.js} +9 -9
  62. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{page.f096b5a9ac419326.js → page.f0e75930eb08c4bc.js} +14 -14
  63. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{runners-list.0df1f9329df1b67d.js → runners-list.74bcad5271e5de01.js} +6 -6
  64. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{secrets-list.6d2f56fa7d6fcab0.js → secrets-list.d0c1121f216e0bcb.js} +4 -4
  65. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{layout.0fd865c865e5bab4.js → layout.05700d93abe5a3d4.js} +4 -4
  66. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{model-pick.695538b2edf9dd15.js → model-pick.1d99ed9c886cabe5.js} +2 -2
  67. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{page.c57b81c2197cce0f.js → page.e439da4bae9d6d6c.js} +1 -1
  68. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{settings-head.004ced21e02ffa48.js → settings-head.08ab3f9bad326d47.js} +1 -1
  69. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{create-link.60aadbe43ea1e39c.js → create-link.161d0d636ca45721.js} +3 -3
  70. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{outcome-toast.e2b9ef0344b1a1a2.js → outcome-toast.d6d0bd8663377fda.js} +1 -1
  71. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{page.c456ad99c8a9f875.js → page.5f90915ba7faa83d.js} +5 -5
  72. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{activity.2ec05d78d609b7b2.js → activity.f8d48c80747830ee.js} +1 -1
  73. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{loading.779ecdd9c9d2ff09.js → loading.3966ea5aa984c177.js} +4 -4
  74. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{page.578be2f6c89fcba0.js → page.8ad4907125ab2593.js} +16 -10
  75. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-actions.d131453dd2a423c3.js → task-actions.f4e6ea3320e0ae23.js} +14 -22
  76. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-missing.33ec27a4a5eafefe.js → task-missing.66dc41e2c7b199fb.js} +1 -1
  77. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-view.3d72a4ecd2b3826e.js → task-view.b7b9a82526087a6f.js} +83 -22
  78. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer.97be3e67214889c1.js → composer.91fe18526ebad717.js} +10 -10
  79. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{pending-approvals.9175908da02960e1.js → pending-approvals.319cefed5e3adb15.js} +1 -1
  80. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{task.a25847399a4dfb30.js → task.fcd21a71424503e9.js} +27 -7
  81. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-list.028798c79227a366.js → tasks-list.550288bcec62fea5.js} +61 -44
  82. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-section.9a9d13057b326f25.js → tasks-section.7e3bc3398baec1bd.js} +7 -7
  83. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{page.045c6db0c56975b2.js → page.98767f77d0fd9a05.js} +3 -3
  84. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{loading.5b973a8bb29197d5.js → loading.d2482006f8adc43a.js} +2 -2
  85. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{page.938d29ff7edb678d.js → page.26319c38995aceca.js} +4 -4
  86. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{range-bar.0b9038e9df707843.js → range-bar.3086edd9a97046c2.js} +2 -2
  87. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{loading-card.77bea8c5870b5d3c.js → loading-card.94d5645c958c77e9.js} +2 -2
  88. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{page-head.2eb1e0213eb50349.js → page-head.a6bd4a75087e6e53.js} +1 -1
  89. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{stream.2cdb8eabd8f6df70.js → stream.c7ffa724145ce870.js} +1 -1
  90. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{task-toasts.8733901ca0e4c246.js → task-toasts.168a3d3f5fd52cb4.js} +48 -21
  91. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{theme-choices.fc86071c1b634176.js → theme-choices.9d0674c72d0ce188.js} +1 -1
  92. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{back.7aa0ae82dbec38cd.js → back.95ed3b5a6128d557.js} +2 -2
  93. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{org.853d173b55368728.js → org.efcee1c3404f6345.js} +1 -1
  94. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{combo.e4e08287494081a3.js → combo.3acd48652c3a66a6.js} +2 -2
  95. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{filter.0730dccad6332327.js → filter.6468dec3a8faed6f.js} +6 -6
  96. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{menu-items.759a1b1f7c5ee365.js → menu-items.725ede2a88ea76a9.js} +7 -3
  97. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{select.0ee9e8f04ddd8b47.js → select.b712227920cd0845.js} +1 -1
  98. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{action.56cea462eb725c39.js → action.55bd1d3e1b67a67e.js} +1 -1
  99. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{client.685154f230716834.js → client.b9225923da59febe.js} +1 -1
  100. package/dist/dash/standalone/static/assets/chunks/{advanced-list-b75a9c2bd11026de.js → advanced-list-d9a68433a13416df.js} +1 -1
  101. package/dist/dash/standalone/static/assets/chunks/{agent-pills-54564413a57d7fa7.js → agent-pills-1414a96077ec37de.js} +1 -1
  102. package/dist/dash/standalone/static/assets/chunks/{agent-settings-form-55d294dad2ce5a0d.js → agent-settings-form-73da6b4b714e49b4.js} +1 -1
  103. package/dist/dash/standalone/static/assets/chunks/{agent-toggle-b5dcc4ea6292fb3d.js → agent-toggle-d14e2838d11ab0f7.js} +1 -1
  104. package/dist/dash/standalone/static/assets/chunks/{agents-grid-69461c53abbba433.js → agents-grid-aea25444710f2634.js} +1 -1
  105. package/dist/dash/standalone/static/assets/chunks/{back-ba5e4340a9f8bbd2.js → back-57d4a59bf80377e6.js} +1 -1
  106. package/dist/dash/standalone/static/assets/chunks/{chain-hint-491eb09a20a15702.js → chain-hint-dcb6933d6f8a6324.js} +1 -1
  107. package/dist/dash/standalone/static/assets/chunks/{combo-6df61e8a1cc31037.js → combo-460bff876882c694.js} +1 -1
  108. package/dist/dash/standalone/static/assets/chunks/{composer-198b844da57b82a3.js → composer-8d12a215b107c9b3.js} +1 -1
  109. package/dist/dash/standalone/static/assets/chunks/composer-fe63697f84a538c2.js +1 -0
  110. package/dist/dash/standalone/static/assets/chunks/{confirm-14d018653fbe50fc.js → confirm-c0c0642856e64b11.js} +1 -1
  111. package/dist/dash/standalone/static/assets/chunks/{connect-repositories-5118edc019fc7890.js → connect-repositories-3a317a5db3ea50b1.js} +1 -1
  112. package/dist/dash/standalone/static/assets/chunks/{connections-list-5412dad7e0def52f.js → connections-list-0110d160a25b388c.js} +1 -1
  113. package/dist/dash/standalone/static/assets/chunks/{copy-04781f9af4e10f06.js → copy-eeb076af6e19e501.js} +1 -1
  114. package/dist/dash/standalone/static/assets/chunks/create-link-e72ff4dd7ef06e1c.js +1 -0
  115. package/dist/dash/standalone/static/assets/chunks/{credentials-list-e64c973aee5602d3.js → credentials-list-90e6a2436041b18d.js} +1 -1
  116. package/dist/dash/standalone/static/assets/chunks/{custom-range-b6919bab9846ebf7.js → custom-range-721477a24237c90d.js} +1 -1
  117. package/dist/dash/standalone/static/assets/chunks/{editor-68e9ccd1764fc512.js → editor-64f6563f28d53ec5.js} +1 -1
  118. package/dist/dash/standalone/static/assets/chunks/{field-adcb6e6a5f9b7131.js → field-7c895f6d8d5d9eb3.js} +1 -1
  119. package/dist/dash/standalone/static/assets/chunks/{instructions-7b274685ceb26457.js → instructions-7b1485330fc4e8fd.js} +1 -1
  120. package/dist/dash/standalone/static/assets/chunks/instructions-ed61f719baf13b12.js +1 -0
  121. package/dist/dash/standalone/static/assets/chunks/{list-662f042656857c82.js → list-c0633e5e742dff16.js} +1 -1
  122. package/dist/dash/standalone/static/assets/chunks/{models-list-ae1e2eff30d21824.js → models-list-228b3503307bc1ff.js} +1 -1
  123. package/dist/dash/standalone/static/assets/chunks/{outcome-dialog-fd86ded4c44c2de7.js → outcome-dialog-36842dfe50be1c85.js} +1 -1
  124. package/dist/dash/standalone/static/assets/chunks/outcome-dialog-630b20ddff39b01d.js +1 -0
  125. package/dist/dash/standalone/static/assets/chunks/outcome-toast-b7e33ff0d984f359.js +1 -0
  126. package/dist/dash/standalone/static/assets/chunks/{platform-actions-f3979ab69a6ceb53.js → platform-actions-055a2e246fca7af9.js} +1 -1
  127. package/dist/dash/standalone/static/assets/chunks/platform-actions-9e198b0c88df3206.js +1 -0
  128. package/dist/dash/standalone/static/assets/chunks/platform-step-111051da80de6577.js +1 -0
  129. package/dist/dash/standalone/static/assets/chunks/{platform-step-5454b6c0a19caefd.js → platform-step-c7473e57e0b2f824.js} +1 -1
  130. package/dist/dash/standalone/static/assets/chunks/{runners-list-20d42f19fb4bec8a.js → runners-list-973253df985a8306.js} +1 -1
  131. package/dist/dash/standalone/static/assets/chunks/{runtime-3fcac605fffcc273-1.js → runtime-9b28886f3cbe0ed3-1.js} +1 -1
  132. package/dist/dash/standalone/static/assets/chunks/{secrets-list-89f89ee70edb3856.js → secrets-list-4aa6e2bf0fef06d6.js} +1 -1
  133. package/dist/dash/standalone/static/assets/chunks/{segmented-66a8c77c6294fec3.js → segmented-a994b4c20434c0ad.js} +1 -1
  134. package/dist/dash/standalone/static/assets/chunks/shared-init-4f4cac48ca0ef193.js +9 -0
  135. package/dist/dash/standalone/static/assets/chunks/shared-init-5734a91cdb78a173.js +1 -0
  136. package/dist/dash/standalone/static/assets/chunks/shared-init-9b28886f3cbe0ed3-2.js +1 -0
  137. package/dist/dash/standalone/static/assets/chunks/{shared-init-96225b8c7758de9d.js → shared-init-e8cf924a73e46497.js} +1 -1
  138. package/dist/dash/standalone/static/assets/chunks/side-toggle-a2d07f99f136e975.js +1 -0
  139. package/dist/dash/standalone/static/assets/chunks/{tail-40f16e09eade7eee.js → tail-d3ba4c4035c5453e.js} +1 -1
  140. package/dist/dash/standalone/static/assets/chunks/task-3b17e45e271a6480.js +1 -0
  141. package/dist/dash/standalone/static/assets/chunks/task-actions-e0c202536048edc0.js +3 -0
  142. package/dist/dash/standalone/static/assets/chunks/task-view-3822a8fe44f4aa92.js +3 -0
  143. package/dist/dash/standalone/static/assets/chunks/tasks-list-cb838b88110bbbb4.js +1 -0
  144. package/dist/dash/standalone/static/assets/chunks/{versions-list-ceb756236e69b761.js → versions-list-7cb9db8c25cdfaa7.js} +1 -1
  145. package/dist/dash/standalone/static/assets/chunks/{wular-pnext-3fcac605fffcc273-0.js → wular-pnext-9b28886f3cbe0ed3-0.js} +1 -1
  146. package/dist/dash/standalone/static/assets/{dash-param-org-agents-param-slug-dd4ac319a0d62432.css → dash-param-org-agents-param-slug-ea5e0d8593150b35.css} +1 -1
  147. package/dist/dash/standalone/static/assets/{dash-param-org-agents-param-slug-platforms-9d2e1439f3f7e81b.css → dash-param-org-agents-param-slug-platforms-b45dbb9122cc7338.css} +1 -1
  148. package/dist/dash/standalone/static/assets/{dash-param-org-agents-param-slug-usage-9cc128ba8af6ef62.css → dash-param-org-agents-param-slug-settings-2a7be18387a422ff.css} +1 -1
  149. package/dist/dash/standalone/static/assets/{dash-param-org-agents-param-slug-tasks-c8d6aa06f6e75f4c.css → dash-param-org-agents-param-slug-tasks-d12ff8047806bbf5.css} +1 -1
  150. package/dist/dash/standalone/static/assets/{dash-param-org-agents-param-slug-settings-f21d4fcd3948139b.css → dash-param-org-agents-param-slug-usage-72b55bb80667080b.css} +1 -1
  151. package/dist/dash/standalone/static/assets/{dash-param-org-tasks-be3cb3d64573f3d9.css → dash-param-org-tasks-e040b6497646a8a0.css} +1 -1
  152. package/dist/dash/standalone/static/assets/{dash-param-org-tasks-param-id-c20a0537bc82620d.css → dash-param-org-tasks-param-id-7df5e6c891e9e77f.css} +1 -1
  153. package/dist/dash/standalone/static/assets/pnext-client-019fddb658ef621e.js +1 -0
  154. package/dist/dash/standalone/static/assets/pnext-client-025682238ebc1ccd.js +1 -0
  155. package/dist/dash/standalone/static/assets/pnext-client-05cb69349250f079.js +1 -0
  156. package/dist/dash/standalone/static/assets/pnext-client-0abd872e45d259dd.js +1 -0
  157. package/dist/dash/standalone/static/assets/pnext-client-19072249ab9d929f.js +1 -0
  158. package/dist/dash/standalone/static/assets/pnext-client-24b6f98a5e678977.js +1 -0
  159. package/dist/dash/standalone/static/assets/pnext-client-2ed3001f7f4597c0.js +1 -0
  160. package/dist/dash/standalone/static/assets/pnext-client-3028d0d201243815.js +1 -0
  161. package/dist/dash/standalone/static/assets/pnext-client-63d9e54053266337.js +1 -0
  162. package/dist/dash/standalone/static/assets/pnext-client-7bfb634b06062acf.js +1 -0
  163. package/dist/dash/standalone/static/assets/pnext-client-915218deeaa531f2.js +1 -0
  164. package/dist/dash/standalone/static/assets/{pnext-client-b1af82c6f0db0033.js → pnext-client-a62685439dab6db4.js} +1 -1
  165. package/dist/dash/standalone/static/assets/{pnext-client-435db60553fa3a67.js → pnext-client-a793df411dc27890.js} +1 -1
  166. package/dist/dash/standalone/static/assets/pnext-client-ae5f820b1e3add50.js +1 -0
  167. package/dist/dash/standalone/static/assets/pnext-client-ba17d46e9f8417f8.js +1 -0
  168. package/dist/dash/standalone/static/assets/pnext-client-dbca01dae6b3ad8c.js +1 -0
  169. package/dist/dash/standalone/static/assets/pnext-client-ec303fb1cec93d9f.js +1 -0
  170. package/dist/dash/standalone/static/assets/pnext-client-ec8fde62be82a077.js +1 -0
  171. package/dist/dash/standalone/static/assets/pnext-client-f659576f3d4fea61.js +1 -0
  172. package/dist/dash/standalone/static/assets/pnext-client-f715825f54bb8e89.js +1 -0
  173. package/dist/{drive-B7SBFfcb.js → drive-MggMiKA0.js} +1 -1
  174. package/dist/{exec-D9jF2F-H.js → exec-CNygM6yF.js} +1 -1
  175. package/dist/{executor-DBW7R7Tf.js → executor-Ds4wDCzV.js} +1 -1
  176. package/dist/flow/builtin/review/index.js +1 -1
  177. package/dist/flow/index.js +1 -1
  178. package/dist/{hook-DN__zYOG.js → hook-CVJU-ZD0.js} +1 -1
  179. package/dist/{local-BzMvgiwL.js → local-CqOUpEtl.js} +1 -1
  180. package/dist/{local-GIxwz_Or.js → local-DFrTuJFN.js} +1 -1
  181. package/dist/{login-LlZrIlxb.js → login-93jO9qjx.js} +1 -1
  182. package/dist/{maintenance-DyiyHI8S.js → maintenance-BuDKnfc7.js} +1 -1
  183. package/dist/{mcp-CrtKQoVi.js → mcp-CTVOR7r6.js} +1 -1
  184. package/dist/{mcp-Caq72REF.js → mcp-EwT2mCaa.js} +1 -1
  185. package/dist/{models-BVxs3I8o.js → models-mKyePWrV.js} +1 -1
  186. package/dist/{permission-RSZM3DUk.js → permission-F6F25GJU.js} +1 -1
  187. package/dist/remote-Cl-j8r3W.js +1 -0
  188. package/dist/{runner-CKMOh5Q3.js → runner-DK0jnzPr.js} +1 -1
  189. package/dist/runner.json +1 -1
  190. package/dist/runner.tgz +0 -0
  191. package/dist/schema.js +1 -1
  192. package/dist/sdk.d.ts +34 -0
  193. package/dist/sdk.js +1 -1
  194. package/dist/serve-Cqlkgdfd.js +8 -0
  195. package/dist/{serve-YlU04KO7.js → serve-DHe6dZM6.js} +1 -1
  196. package/dist/{session-D7eeJIaH.js → session-BMbMzzPu.js} +1 -1
  197. package/dist/{shared-BzNReirj.js → shared-D-KqAi7b.js} +1 -1
  198. package/dist/{sign-in-Dr6sU7vz.js → sign-in-Dv-rdYD4.js} +1 -1
  199. package/dist/{store-BrnWdtRw.js → store-BpDipcKB.js} +18 -18
  200. package/dist/{task-CyqtCXo3.js → task-BRHXn5y1.js} +1 -1
  201. package/dist/{task-DN4assR8.js → task-CzXNLREX.js} +1 -1
  202. package/dist/{tools-DVtBtED6.js → tools-BCm26CeV.js} +1 -1
  203. package/dist/{tools-Ck-ZWtmB.js → tools-C69W1B6S.js} +1 -1
  204. package/dist/{tools-search-BNDea9vZ.js → tools-search-BDaeCoWe.js} +1 -1
  205. package/dist/{worker-DeuC38Vp.js → worker-DGhRPDDt.js} +2 -2
  206. package/dist/{worker-DJANNSCT.js → worker-DHNBRRl-.js} +1 -1
  207. package/package.json +1 -1
  208. package/plugins/claude/.claude-plugin/plugin.json +1 -1
  209. package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
  210. package/dist/dash/standalone/static/assets/chunks/composer-b26a3332a1243461.js +0 -1
  211. package/dist/dash/standalone/static/assets/chunks/create-link-0651addf1461f901.js +0 -1
  212. package/dist/dash/standalone/static/assets/chunks/instructions-0022dd3bdd57c13f.js +0 -1
  213. package/dist/dash/standalone/static/assets/chunks/outcome-dialog-546fe090efc129c2.js +0 -1
  214. package/dist/dash/standalone/static/assets/chunks/outcome-toast-c00becdb638cd9a8.js +0 -1
  215. package/dist/dash/standalone/static/assets/chunks/platform-actions-2be223e68e648134.js +0 -1
  216. package/dist/dash/standalone/static/assets/chunks/platform-step-9a52703f4c4f6a31.js +0 -1
  217. package/dist/dash/standalone/static/assets/chunks/shared-init-3fcac605fffcc273-2.js +0 -1
  218. package/dist/dash/standalone/static/assets/chunks/shared-init-96cde32cd50254c0.js +0 -1
  219. package/dist/dash/standalone/static/assets/chunks/shared-init-abd7653140f37a0c.js +0 -9
  220. package/dist/dash/standalone/static/assets/chunks/side-toggle-8a410cc6d6bd9b1d.js +0 -1
  221. package/dist/dash/standalone/static/assets/chunks/task-396d849e58e50d59.js +0 -1
  222. package/dist/dash/standalone/static/assets/chunks/task-actions-0b3054dc0f8d17c0.js +0 -3
  223. package/dist/dash/standalone/static/assets/chunks/task-view-9e026dc5da58af5b.js +0 -3
  224. package/dist/dash/standalone/static/assets/chunks/tasks-list-04c6568d7f7237b7.js +0 -1
  225. package/dist/dash/standalone/static/assets/pnext-client-07b41bfab64b61c0.js +0 -1
  226. package/dist/dash/standalone/static/assets/pnext-client-0d388d56250f9f46.js +0 -1
  227. package/dist/dash/standalone/static/assets/pnext-client-1443e45181b60bb0.js +0 -1
  228. package/dist/dash/standalone/static/assets/pnext-client-27207e4f43f9a21b.js +0 -1
  229. package/dist/dash/standalone/static/assets/pnext-client-523dd4071aa294ba.js +0 -1
  230. package/dist/dash/standalone/static/assets/pnext-client-5f6bda3919f68382.js +0 -1
  231. package/dist/dash/standalone/static/assets/pnext-client-684fd8ad16563ed3.js +0 -1
  232. package/dist/dash/standalone/static/assets/pnext-client-6b952cdda9a1eb2b.js +0 -1
  233. package/dist/dash/standalone/static/assets/pnext-client-6fe9e98f7dd8dcbf.js +0 -1
  234. package/dist/dash/standalone/static/assets/pnext-client-730c2c507a159f9e.js +0 -1
  235. package/dist/dash/standalone/static/assets/pnext-client-7c46573e45b67166.js +0 -1
  236. package/dist/dash/standalone/static/assets/pnext-client-83a865c3d75705bd.js +0 -1
  237. package/dist/dash/standalone/static/assets/pnext-client-907d1db4fb398a1d.js +0 -1
  238. package/dist/dash/standalone/static/assets/pnext-client-9baf701f3e641d09.js +0 -1
  239. package/dist/dash/standalone/static/assets/pnext-client-a57705e4e1047a9e.js +0 -1
  240. package/dist/dash/standalone/static/assets/pnext-client-cede3bd7b2735942.js +0 -1
  241. package/dist/dash/standalone/static/assets/pnext-client-d9a3996f22b6816b.js +0 -1
  242. package/dist/dash/standalone/static/assets/pnext-client-f95364a0073ca4ce.js +0 -1
  243. package/dist/remote-CY-qYX2C.js +0 -1
  244. package/dist/serve-D23JqDip.js +0 -12
  245. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-view.440367ae07204ee7.css.pnext-asset.js → task-view.61d4afa987d59596.css.pnext-asset.js} +0 -0
  246. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-list.f3737549b4696cc8.css.pnext-asset.js → tasks-list.835b11dc95c95cb5.css.pnext-asset.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import { Button } from "../../../../comps/ui/button.b62fa52e18fa338b.js";
2
2
  import { Suspense } from "../../../../../../../../../node_modules/preact/compat/dist/compat.mjs";
3
- import { load, orgOf } from "../../../../api/load.858c062c7891a2c1.js";
4
- import { Page } from "../../../../comps/frame/page-head.2eb1e0213eb50349.js";
3
+ import { load, orgOf } from "../../../../api/load.3e1c235ecb89201a.js";
4
+ import { Page } from "../../../../comps/frame/page-head.a6bd4a75087e6e53.js";
5
5
  import { Tabs } from "../../../../comps/ui/tabs.1600a0b563a5c7dd.js";
6
- import { SETTINGS, SettingsHead } from "./settings-head.004ced21e02ffa48.js";
7
- import { RememberedBack } from "../../../../comps/nav/back.7aa0ae82dbec38cd.js";
6
+ import { SETTINGS, SettingsHead } from "./settings-head.08ab3f9bad326d47.js";
7
+ import { RememberedBack } from "../../../../comps/nav/back.95ed3b5a6128d557.js";
8
8
  import { rememberedBack } from "../../../../comps/nav/back-cookie.942c0904e944d8d6.js";
9
9
  import { jsx as _jsx, jsxs as _jsxs } from "../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
10
10
  async function Members({ me }) {
@@ -4,8 +4,8 @@ import { Fragment } from "../../../../../../../../../node_modules/preact/dist/pr
4
4
  import { useId } from "../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
5
5
  import { Icon } from "../../../../comps/ui/icon.0874ca2f58f7db14.js";
6
6
  import { iDown, iPlus, iRight } from "../../../../comps/ui/icons.f769275420d072ce.js";
7
- import { MenuItem, MenuLink, MenuPanel, MenuRadio, MenuRow } from "../../../../comps/ui/menu-items.759a1b1f7c5ee365.js";
8
- import { useOrg } from "../../../../comps/nav/org.853d173b55368728.js";
7
+ import { MenuItem, MenuLink, MenuPanel, MenuRadio, MenuRow } from "../../../../comps/ui/menu-items.725ede2a88ea76a9.js";
8
+ import { useOrg } from "../../../../comps/nav/org.efcee1c3404f6345.js";
9
9
  import { EFFORTS, ENGINES, ENGINE_NAMES, joinSpec, modelsByEngine, ownEffort, splitSpec } from "./model-options.0d6077fe68db3af9.js";
10
10
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
11
11
  /** A model menu's rows: the no-model row, then each engine's names; a row's effort opens its choices beside it, and the list ends in Add models. */
@@ -1,5 +1,5 @@
1
1
  import { redirect } from "../../../../../../../../../node_modules/@wular/pnext/src/api/navigation.ts";
2
- import { orgOf } from "../../../../api/load.858c062c7891a2c1.js";
2
+ import { orgOf } from "../../../../api/load.3e1c235ecb89201a.js";
3
3
  /** Settings opens on its first tab. */
4
4
  export default function SettingsPage({ request }) {
5
5
  if (!request) return null;
@@ -1,4 +1,4 @@
1
- import { PageHead } from "../../../../comps/frame/page-head.2eb1e0213eb50349.js";
1
+ import { PageHead } from "../../../../comps/frame/page-head.a6bd4a75087e6e53.js";
2
2
  import { jsx as _jsx } from "../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
3
3
  export const SETTINGS = [
4
4
  {
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { useEffect, useState } from "../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
3
- import { client } from "../../../../utils/client.685154f230716834.js";
4
- import { toastFailure } from "../../../../utils/action.56cea462eb725c39.js";
3
+ import { client } from "../../../../utils/client.b9225923da59febe.js";
4
+ import { toastFailure } from "../../../../utils/action.55bd1d3e1b67a67e.js";
5
5
  import { Loading } from "../../../../comps/ui/card.c0030eafd76587e3.js";
6
6
  import { Button } from "../../../../comps/ui/button.b62fa52e18fa338b.js";
7
- import { CreateDialog, createForm } from "../agents/[slug]/(tabs)/platforms/platform-actions.7c8c75bd0c05df4a.js";
7
+ import { CreateDialog, createForm } from "../agents/[slug]/(tabs)/platforms/platform-actions.184f6c441ac3d1c7.js";
8
8
  import { jsx as _jsx } from "../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
9
9
  /** A create link opened outside the Platforms tab: its form here, or the platform's own. */
10
10
  export function CreateLink({ integration, state, info }) {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { useEffect } from "../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
3
- import { showToast, toastError } from "../../../../comps/frame/task-toasts.8733901ca0e4c246.js";
3
+ import { showToast, toastError } from "../../../../comps/frame/task-toasts.168a3d3f5fd52cb4.js";
4
4
  /** Keys a sign-in's outcome brings back in the address. */
5
5
  const OUTCOME_KEYS = [
6
6
  "status",
@@ -1,15 +1,15 @@
1
1
  import { dynamic } from "../../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
2
2
  import { LinkButton } from "../../../../comps/ui/button.b62fa52e18fa338b.js";
3
- import { load, orgOf } from "../../../../api/load.858c062c7891a2c1.js";
4
- import { Page, PageHead } from "../../../../comps/frame/page-head.2eb1e0213eb50349.js";
5
- import { Settle } from "../../../../comps/frame/stream.2cdb8eabd8f6df70.js";
3
+ import { load, orgOf } from "../../../../api/load.3e1c235ecb89201a.js";
4
+ import { Page, PageHead } from "../../../../comps/frame/page-head.a6bd4a75087e6e53.js";
5
+ import { Settle } from "../../../../comps/frame/stream.c7ffa724145ce870.js";
6
6
  import { TunnelGuide } from "../settings/tunnel-guide.1bc6bff9d8019098.js";
7
7
  import { Outcome, readOutcome } from "./outcome.22a83d756e4020a7.js";
8
8
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
9
- const CreateLink = dynamic(() => import("./create-link.60aadbe43ea1e39c.js").then((m) => m.CreateLink), undefined, {
9
+ const CreateLink = dynamic(() => import("./create-link.161d0d636ca45721.js").then((m) => m.CreateLink), undefined, {
10
10
  "file": decodeURIComponent(new URL("../../../../../../../../../../../../src/server/dash/app/dash/[org]/setup/create-link.tsx", import.meta.url).pathname),
11
11
  "exportName": "CreateLink",
12
- "id": "c-04bda7a066"
12
+ "id": "c-ee8792ce85"
13
13
  });
14
14
  /** Where a create link starts, and where create, install and link flows end when they know no agent. */
15
15
  export default function SetupPage({ request }) {
@@ -6,7 +6,7 @@ import { iActivity, iAlert, iChart, iCheck, iDown, iKey, iMessage, iRight, iSpar
6
6
  import { Icon } from "../../../../../comps/ui/icon.0874ca2f58f7db14.js";
7
7
  import { Loading } from "../../../../../comps/ui/card.c0030eafd76587e3.js";
8
8
  import { ago, formatDuration, formatTime } from "../../../../../utils/format.ceeaafa10a0563f3.js";
9
- import { usePoll } from "../../../../../utils/client.685154f230716834.js";
9
+ import { usePoll } from "../../../../../utils/client.b9225923da59febe.js";
10
10
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
11
11
  const ICONS = {
12
12
  assistant: iMessage,
@@ -1,9 +1,9 @@
1
- import { Page } from "../../../../../comps/frame/page-head.2eb1e0213eb50349.js";
2
- import { OrgBack } from "../../../../../comps/nav/org.853d173b55368728.js";
1
+ import { Page } from "../../../../../comps/frame/page-head.a6bd4a75087e6e53.js";
2
+ import { OrgBack } from "../../../../../comps/nav/org.efcee1c3404f6345.js";
3
3
  import { Loading } from "../../../../../comps/ui/card.c0030eafd76587e3.js";
4
4
  import { LoadingTabs } from "../../../../../comps/ui/tabs.1600a0b563a5c7dd.js";
5
- import { BLANK } from "../../../../../comps/frame/loading-card.77bea8c5870b5d3c.js";
6
- import { TASK_TABS } from "../list/task.a25847399a4dfb30.js";
5
+ import { BLANK } from "../../../../../comps/frame/loading-card.94d5645c958c77e9.js";
6
+ import { TASK_TABS } from "../list/task.fcd21a71424503e9.js";
7
7
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
8
8
  export default function TaskLoading() {
9
9
  return /* @__PURE__ */ _jsx(Page, { children: /* @__PURE__ */ _jsx(LoadingTask, {}) });
@@ -1,17 +1,17 @@
1
- import "./task-view.440367ae07204ee7.css.pnext-asset.js";
1
+ import "./task-view.61d4afa987d59596.css.pnext-asset.js";
2
2
  import { dynamic } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
3
3
  import { zoneOf } from "../../../../../utils/format.ceeaafa10a0563f3.js";
4
- import { ClientError } from "../../../../../../../client/index.91e126d7a389d4bd.js";
5
- import { load } from "../../../../../api/load.858c062c7891a2c1.js";
6
- import { Page } from "../../../../../comps/frame/page-head.2eb1e0213eb50349.js";
7
- import { Settle } from "../../../../../comps/frame/stream.2cdb8eabd8f6df70.js";
8
- import { TaskMissing } from "./task-missing.33ec27a4a5eafefe.js";
4
+ import { ClientError } from "../../../../../../../client/index.a036e2c6ae93ec75.js";
5
+ import { load } from "../../../../../api/load.3e1c235ecb89201a.js";
6
+ import { Page } from "../../../../../comps/frame/page-head.a6bd4a75087e6e53.js";
7
+ import { Settle } from "../../../../../comps/frame/stream.c7ffa724145ce870.js";
8
+ import { TaskMissing } from "./task-missing.66dc41e2c7b199fb.js";
9
9
  import { jsx as _jsx } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
10
10
  // Hydrates with the page: the reply box is focused and the activity follows the run at once.
11
- const TaskView = dynamic(() => import("./task-view.3d72a4ecd2b3826e.js").then((m) => m.TaskView), undefined, {
11
+ const TaskView = dynamic(() => import("./task-view.b7b9a82526087a6f.js").then((m) => m.TaskView), undefined, {
12
12
  "file": decodeURIComponent(new URL("../../../../../../../../../../../../../src/server/dash/app/dash/[org]/tasks/[id]/task-view.tsx", import.meta.url).pathname),
13
13
  "exportName": "TaskView",
14
- "id": "c-67cea92de5"
14
+ "id": "c-b5abe1d5a9"
15
15
  });
16
16
  export default async function TaskPage({ request, params }) {
17
17
  if (!request) return null;
@@ -19,11 +19,17 @@ export default async function TaskPage({ request, params }) {
19
19
  const id = Array.isArray(raw) ? raw[0] : raw;
20
20
  const task = load(request).tasks.get(id);
21
21
  const me = load(request).me().catch(() => ({}));
22
+ const catalog = load(request).integrations.list().catch(() => []);
22
23
  const tz = zoneOf(request);
23
- return /* @__PURE__ */ _jsx(Page, { children: /* @__PURE__ */ _jsx(Settle, { load: () => Promise.all([task, me]).then(([row, who]) => /* @__PURE__ */ _jsx(TaskView, {
24
+ return /* @__PURE__ */ _jsx(Page, { children: /* @__PURE__ */ _jsx(Settle, { load: () => Promise.all([
25
+ task,
26
+ me,
27
+ catalog
28
+ ]).then(([row, who, integrations]) => /* @__PURE__ */ _jsx(TaskView, {
24
29
  initial: row,
25
30
  tz,
26
- me: who
31
+ me: who,
32
+ brand: integrations.find((entry) => entry.id === row.task.event?.integration)?.brand
27
33
  }), (error) => {
28
34
  if (error instanceof ClientError && error.status === 404) return /* @__PURE__ */ _jsx(TaskMissing, {});
29
35
  throw error;
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import "./task-view.440367ae07204ee7.css.pnext-asset.js";
2
+ import "./task-view.61d4afa987d59596.css.pnext-asset.js";
3
3
  import { useState } from "../../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
4
4
  import { Link } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/link.tsx";
5
- import { client } from "../../../../../utils/client.685154f230716834.js";
6
- import { useAction } from "../../../../../utils/action.56cea462eb725c39.js";
5
+ import { client } from "../../../../../utils/client.b9225923da59febe.js";
6
+ import { useAction } from "../../../../../utils/action.55bd1d3e1b67a67e.js";
7
7
  import { useRouter, useSearchParams } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/client-navigation.ts";
8
- import { useOrg } from "../../../../../comps/nav/org.853d173b55368728.js";
8
+ import { useOrg } from "../../../../../comps/nav/org.efcee1c3404f6345.js";
9
9
  import { isAdmin } from "../../../../../api/types.79f9092cdb5a00d1.js";
10
10
  import { Button } from "../../../../../comps/ui/button.b62fa52e18fa338b.js";
11
11
  import { Card } from "../../../../../comps/ui/card.c0030eafd76587e3.js";
@@ -14,11 +14,10 @@ import { ConfirmDialog } from "../../../../../comps/ui/confirm.e21b7f5e486dafb8.
14
14
  import { Menu } from "../../../../../comps/ui/menu.7f558c7c6f6345d5.js";
15
15
  import { Modal } from "../../../../../comps/ui/modal.08ac85d31f4c76c1.js";
16
16
  import { Segmented } from "../../../../../comps/ui/segmented.633abe26ff760e37.js";
17
- import { MenuItem } from "../../../../../comps/ui/menu-items.759a1b1f7c5ee365.js";
17
+ import { MenuItem } from "../../../../../comps/ui/menu-items.725ede2a88ea76a9.js";
18
18
  import { Icon } from "../../../../../comps/ui/icon.0874ca2f58f7db14.js";
19
19
  import { iAgent, iDots, iUser } from "../../../../../comps/ui/icons.f769275420d072ce.js";
20
- import { showToast } from "../../../../../comps/frame/task-toasts.8733901ca0e4c246.js";
21
- import { taskTitle } from "../list/task.a25847399a4dfb30.js";
20
+ import { taskTitle } from "../list/task.fcd21a71424503e9.js";
22
21
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
23
22
  /** Archive, Stop while it runs, and Delete behind the ⋯ menu; phones keep Archive in the menu too, away from Stop. */
24
23
  export function TaskActions({ task, live }) {
@@ -67,21 +66,14 @@ export function TaskActions({ task, live }) {
67
66
  summary: /* @__PURE__ */ _jsx(Icon, { d: iDots }),
68
67
  button: "icon",
69
68
  label: "More actions",
70
- children: [
71
- live && !archived ? /* @__PURE__ */ _jsx(MenuItem, {
72
- title: "Archive",
73
- onClick: archive
74
- }) : null,
75
- /* @__PURE__ */ _jsx(MenuItem, {
76
- title: "Copy task id",
77
- onClick: () => void navigator.clipboard.writeText(task.task.id).then(() => showToast("Copied", task.task.id))
78
- }),
79
- /* @__PURE__ */ _jsx(MenuItem, {
80
- title: "Delete",
81
- danger: true,
82
- onClick: () => setConfirming(true)
83
- })
84
- ]
69
+ children: [live && !archived ? /* @__PURE__ */ _jsx(MenuItem, {
70
+ title: "Archive",
71
+ onClick: archive
72
+ }) : null, /* @__PURE__ */ _jsx(MenuItem, {
73
+ title: "Delete",
74
+ danger: true,
75
+ onClick: () => setConfirming(true)
76
+ })]
85
77
  }),
86
78
  /* @__PURE__ */ _jsx(ConfirmDialog, {
87
79
  open: confirming,
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { useRouter } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/client-navigation.ts";
3
- import { useOrg } from "../../../../../comps/nav/org.853d173b55368728.js";
3
+ import { useOrg } from "../../../../../comps/nav/org.efcee1c3404f6345.js";
4
4
  import { Button, LinkButton } from "../../../../../comps/ui/button.b62fa52e18fa338b.js";
5
5
  import { Empty } from "../../../../../comps/ui/card.c0030eafd76587e3.js";
6
6
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
@@ -1,33 +1,35 @@
1
1
  "use client";
2
- import "./task-view.440367ae07204ee7.css.pnext-asset.js";
2
+ import "./task-view.61d4afa987d59596.css.pnext-asset.js";
3
3
  import { Fragment } from "../../../../../../../../../../node_modules/preact/dist/preact.mjs";
4
4
  import { useEffect, useMemo, useRef, useState } from "../../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
5
5
  import { useFollowEnd } from "../../../../../utils/follow.bfb9bcff3c1366d7.js";
6
6
  import { serverEvents } from "../../../../../../../client/http.e78b470f4ecf125b.js";
7
7
  import { LogView, EMPTY_MESSAGE, EMPTY_MESSAGE_NOTICE, SKIPPED, eventMessages } from "../../../../../../../core/task/view.e20379d8f741754a.js";
8
- import { client } from "../../../../../utils/client.685154f230716834.js";
8
+ import { client } from "../../../../../utils/client.b9225923da59febe.js";
9
9
  import { formatDate, formatDuration, reasonText } from "../../../../../utils/format.ceeaafa10a0563f3.js";
10
10
  import { Link } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/link.tsx";
11
11
  import { useSearchParams } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/client-navigation.ts";
12
- import { useOrg } from "../../../../../comps/nav/org.853d173b55368728.js";
12
+ import { useOrg } from "../../../../../comps/nav/org.efcee1c3404f6345.js";
13
13
  import { iAgent, iClock, iDown, iFolder, iPlug, iRight, iTerminal } from "../../../../../comps/ui/icons.f769275420d072ce.js";
14
14
  import { Badge } from "../../../../../comps/ui/badge.9f63fd615cf0ee22.js";
15
15
  import { Button } from "../../../../../comps/ui/button.b62fa52e18fa338b.js";
16
16
  import { Card, Loading } from "../../../../../comps/ui/card.c0030eafd76587e3.js";
17
17
  import { Collapse } from "../../../../../comps/ui/collapse.eb578fdf42029754.js";
18
+ import { CopyButton } from "../../../../../comps/ui/copy.043e0695c08c72f9.js";
18
19
  import { Icon } from "../../../../../comps/ui/icon.0874ca2f58f7db14.js";
19
20
  import { Menu } from "../../../../../comps/ui/menu.7f558c7c6f6345d5.js";
20
- import { MenuRadio } from "../../../../../comps/ui/menu-items.759a1b1f7c5ee365.js";
21
- import { Back, PageHead } from "../../../../../comps/frame/page-head.2eb1e0213eb50349.js";
21
+ import { MenuRadio } from "../../../../../comps/ui/menu-items.725ede2a88ea76a9.js";
22
+ import { BrandIcon } from "../../agents/agent/agent-pills.bd9808856ef860f3.js";
23
+ import { Back, PageHead } from "../../../../../comps/frame/page-head.a6bd4a75087e6e53.js";
22
24
  import { markdown } from "../../agents/agent/instructions.1b8c9189961c5a4f.js";
23
25
  import { ReadOnlyBadge, Status } from "../list/status.d2c05c397780b833.js";
24
- import { folderName, replyRequired, sourceLabel, taskActive, taskModel, taskTitle, TASK_TABS } from "../list/task.a25847399a4dfb30.js";
25
- import { useAction } from "../../../../../utils/action.56cea462eb725c39.js";
26
+ import { folderName, replyRequired, sourceLabel, taskActive, taskModel, taskOrigin, taskTitle, TASK_TABS } from "../list/task.fcd21a71424503e9.js";
27
+ import { useAction } from "../../../../../utils/action.55bd1d3e1b67a67e.js";
26
28
  import { useZone } from "../../../../zone.0515a688ee5ff6ca.js";
27
- import { Approval, ApprovalEntry, DecisionTurn, TaskActions, raisedIn } from "./task-actions.d131453dd2a423c3.js";
28
- import { Activity, RunPreview, runSummary } from "./activity.2ec05d78d609b7b2.js";
29
- import { toastError, useTaskEvents, watchTask } from "../../../../../comps/frame/task-toasts.8733901ca0e4c246.js";
30
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
29
+ import { Approval, ApprovalEntry, DecisionTurn, TaskActions, raisedIn } from "./task-actions.f4e6ea3320e0ae23.js";
30
+ import { Activity, RunPreview, runSummary } from "./activity.f8d48c80747830ee.js";
31
+ import { toastError, useTaskEvents, watchTask } from "../../../../../comps/frame/task-toasts.168a3d3f5fd52cb4.js";
32
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
31
33
  /** A fallback's model as people read it: the model part of its spec. */
32
34
  const modelOf = (spec) => spec.split("/")[1] ?? spec;
33
35
  function messageOf(value, fallback) {
@@ -100,13 +102,57 @@ function TaskBack() {
100
102
  back: search.get("back")
101
103
  });
102
104
  }
103
- /** The task's one-row head: back, title, status, source and agent, its actions, and a muted line with created time, source, folder, and the agent with its model. */
104
- function TaskHead({ task, tz }) {
105
+ /** The Details tab: the task's id, who started it and how it ran. */
106
+ function TaskDetails({ task, tz }) {
107
+ const org = useOrg();
108
+ const { what } = taskOrigin(task);
109
+ const { id, event, context, parent, cwd } = task.task;
110
+ const rows = [
111
+ ["ID", /* @__PURE__ */ _jsxs("span", {
112
+ class: "detail-id",
113
+ children: [/* @__PURE__ */ _jsx("code", { children: id }), /* @__PURE__ */ _jsx(CopyButton, {
114
+ value: id,
115
+ label: "Copy ID"
116
+ })]
117
+ })],
118
+ ["Requested by", context?.user ? /* @__PURE__ */ _jsxs(_Fragment, { children: [context.user.name, context.user.email ? /* @__PURE__ */ _jsxs("span", {
119
+ class: "fact-dim",
120
+ children: [" ", context.user.email]
121
+ }) : null] }) : null],
122
+ ["Account", event?.actor?.login ? `${event.actor.login} on ${sourceLabel(event.integration)}` : null],
123
+ ["Started from", what],
124
+ ["Flow", task.task.flow && task.task.flow !== "default" ? task.task.flow : null],
125
+ ["Agent", task.task.agent],
126
+ ["Model", taskModel(task)],
127
+ ["Credential", task.credential],
128
+ ["Access", task.task.access ?? "auto"],
129
+ ["Folder", cwd],
130
+ ["Parent", parent ? /* @__PURE__ */ _jsx(Link, {
131
+ class: "link",
132
+ href: "/dash/[org]/tasks/[id]",
133
+ params: {
134
+ org,
135
+ id: parent
136
+ },
137
+ children: parent
138
+ }) : null],
139
+ ["Created", formatDate(task.createdAt, tz)],
140
+ ["Started", task.startedAt ? formatDate(task.startedAt, tz) : null],
141
+ ["Finished", task.finishedAt ? formatDate(task.finishedAt, tz) : null],
142
+ ["Attempts", task.attempts > 1 ? String(task.attempts) : null]
143
+ ];
144
+ return /* @__PURE__ */ _jsx(Card, { children: /* @__PURE__ */ _jsx("dl", {
145
+ class: "kv task-details",
146
+ children: rows.filter(([, value]) => value).map(([label, value]) => /* @__PURE__ */ _jsxs(Fragment, { children: [/* @__PURE__ */ _jsx("dt", { children: label }), /* @__PURE__ */ _jsx("dd", { children: value })] }, label))
147
+ }) });
148
+ }
149
+ /** The task's one-row head: back, title, status, its actions, and a muted line with created time, what started it and who, folder, and the agent with its model. */
150
+ function TaskHead({ task, tz, brand }) {
105
151
  const org = useOrg();
106
152
  const live = taskActive(task);
107
153
  const model = taskModel(task);
108
154
  const source = task.task.event?.integration ?? task.task.source;
109
- const kind = task.task.event?.type ?? (task.task.flow !== "default" ? task.task.flow : undefined);
155
+ const { what, by } = taskOrigin(task);
110
156
  const title = useMemo(() => taskTitle(task).split("\n")[0], [task.task, task.turns]);
111
157
  return /* @__PURE__ */ _jsx(PageHead, {
112
158
  back: /* @__PURE__ */ _jsx(TaskBack, {}),
@@ -131,8 +177,8 @@ function TaskHead({ task, tz }) {
131
177
  }),
132
178
  /* @__PURE__ */ _jsxs("span", {
133
179
  class: "fact",
134
- title: "Source",
135
- children: [/* @__PURE__ */ _jsx(Icon, { d: task.task.event ? iPlug : iTerminal }), kind ? `${sourceLabel(source)} ${kind}` : sourceLabel(source)]
180
+ title: sourceLabel(source),
181
+ children: [brand ? /* @__PURE__ */ _jsx(BrandIcon, { brand }) : /* @__PURE__ */ _jsx(Icon, { d: task.task.event ? iPlug : iTerminal }), by ? `${what} by ${by}` : what]
136
182
  }),
137
183
  task.task.cwd ? /* @__PURE__ */ _jsxs("span", {
138
184
  class: "fact",
@@ -181,7 +227,7 @@ function useDisplayRows(lines) {
181
227
  }, [lines]);
182
228
  }
183
229
  /** A task as a conversation with its activity; the box at the bottom steers, asks, or continues. */
184
- export function TaskView({ initial, tz: serverZone, me }) {
230
+ export function TaskView({ initial, tz: serverZone, me, brand }) {
185
231
  const tz = useZone(serverZone);
186
232
  const [task, setTask] = useState(initial);
187
233
  const [lines, setLines] = useState(initial.logs ?? []);
@@ -230,11 +276,21 @@ export function TaskView({ initial, tz: serverZone, me }) {
230
276
  if (live && replies) input.current?.focus();
231
277
  }, []);
232
278
  const [visible, setVisible] = useState(true);
279
+ const [focused, setFocused] = useState(true);
233
280
  useEffect(() => {
234
- const sync = () => setVisible(document.visibilityState === "visible");
281
+ const sync = () => {
282
+ setVisible(document.visibilityState === "visible");
283
+ setFocused(document.hasFocus());
284
+ };
235
285
  sync();
236
286
  addEventListener("visibilitychange", sync);
237
- return () => removeEventListener("visibilitychange", sync);
287
+ addEventListener("focus", sync);
288
+ addEventListener("blur", sync);
289
+ return () => {
290
+ removeEventListener("visibilitychange", sync);
291
+ removeEventListener("focus", sync);
292
+ removeEventListener("blur", sync);
293
+ };
238
294
  }, []);
239
295
  // Logs stream from when the task runs until the stream ends them, which waits for logs still arriving.
240
296
  const [streaming, setStreaming] = useState(live || !caughtUp);
@@ -305,7 +361,7 @@ export function TaskView({ initial, tz: serverZone, me }) {
305
361
  // Missed events: refetch the task and catch up its logs from the cursor.
306
362
  catchUp
307
363
  );
308
- // A hidden tab holds no log stream and resumes from its cursor.
364
+ // Logs poll every second while the page has focus, every 5 s while only visible, and not while hidden.
309
365
  useEffect(() => {
310
366
  if (!streaming || !visible) return;
311
367
  const abort = new AbortController();
@@ -330,7 +386,7 @@ export function TaskView({ initial, tz: serverZone, me }) {
330
386
  if (abort.signal.aborted) return;
331
387
  console.error("coder dashboard: task stream", reason);
332
388
  }
333
- await new Promise((done) => setTimeout(done, 1e3));
389
+ await new Promise((done) => setTimeout(done, focused ? 1e3 : 5e3));
334
390
  }
335
391
  };
336
392
  void follow();
@@ -338,6 +394,7 @@ export function TaskView({ initial, tz: serverZone, me }) {
338
394
  }, [
339
395
  streaming,
340
396
  visible,
397
+ focused,
341
398
  round,
342
399
  follows
343
400
  ]);
@@ -427,7 +484,8 @@ export function TaskView({ initial, tz: serverZone, me }) {
427
484
  return /* @__PURE__ */ _jsxs(_Fragment, { children: [
428
485
  /* @__PURE__ */ _jsx(TaskHead, {
429
486
  task,
430
- tz
487
+ tz,
488
+ brand
431
489
  }),
432
490
  task.fallbacks?.map((fallback, index) => /* @__PURE__ */ _jsxs("p", {
433
491
  class: "flash",
@@ -464,6 +522,9 @@ export function TaskView({ initial, tz: serverZone, me }) {
464
522
  live,
465
523
  tz,
466
524
  at
525
+ }) : tab === "details" ? /* @__PURE__ */ _jsx(TaskDetails, {
526
+ task,
527
+ tz
467
528
  }) : /* @__PURE__ */ _jsxs(_Fragment, { children: [/* @__PURE__ */ _jsx(Approval, {
468
529
  task,
469
530
  me
@@ -1,25 +1,25 @@
1
1
  "use client";
2
2
  import "./composer.33d49ad218253703.css.pnext-asset.js";
3
3
  import { useEffect, useId, useLayoutEffect, useRef, useState } from "../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
4
- import { client } from "../../../../utils/client.685154f230716834.js";
5
- import { toastFailure, useAction } from "../../../../utils/action.56cea462eb725c39.js";
4
+ import { client } from "../../../../utils/client.b9225923da59febe.js";
5
+ import { toastFailure, useAction } from "../../../../utils/action.55bd1d3e1b67a67e.js";
6
6
  import { iAlert, iPlus, iRight, iSliders, iSteer, iX } from "../../../../comps/ui/icons.f769275420d072ce.js";
7
7
  import { useRouter, useSearchParams } from "../../../../../../../../../node_modules/@wular/pnext/src/api/client-navigation.ts";
8
- import { useOrg } from "../../../../comps/nav/org.853d173b55368728.js";
8
+ import { useOrg } from "../../../../comps/nav/org.efcee1c3404f6345.js";
9
9
  import { Loading } from "../../../../comps/ui/card.c0030eafd76587e3.js";
10
10
  import { Button, IconButton } from "../../../../comps/ui/button.b62fa52e18fa338b.js";
11
11
  import { reasonText } from "../../../../utils/format.ceeaafa10a0563f3.js";
12
12
  import { Icon } from "../../../../comps/ui/icon.0874ca2f58f7db14.js";
13
- import { Select } from "../../../../comps/ui/select.0ee9e8f04ddd8b47.js";
14
- import { MenuItem, MenuLabel, MenuNote, MenuOption, MenuPanel, MenuRadio, MenuRow } from "../../../../comps/ui/menu-items.759a1b1f7c5ee365.js";
15
- import { connectRepositories } from "../agents/editor/connect-repositories.4e121d31ed0cfe02.js";
13
+ import { Select } from "../../../../comps/ui/select.b712227920cd0845.js";
14
+ import { MenuItem, MenuLabel, MenuNote, MenuOption, MenuPanel, MenuRadio, MenuRow } from "../../../../comps/ui/menu-items.725ede2a88ea76a9.js";
15
+ import { connectRepositories } from "../agents/editor/connect-repositories.e27bcba279f82d7b.js";
16
16
  import { ACCESS, EFFORTS, specName } from "../settings/model-options.0d6077fe68db3af9.js";
17
- import { ModelChoices, placeBeside } from "../settings/model-pick.695538b2edf9dd15.js";
18
- import { folderName } from "./list/task.a25847399a4dfb30.js";
19
- import { watchTask } from "../../../../comps/frame/task-toasts.8733901ca0e4c246.js";
17
+ import { ModelChoices, placeBeside } from "../settings/model-pick.1d99ed9c886cabe5.js";
18
+ import { folderName } from "./list/task.fcd21a71424503e9.js";
19
+ import { watchTask } from "../../../../comps/frame/task-toasts.168a3d3f5fd52cb4.js";
20
20
  import { CHOICE, PLACEHOLDER, loadComposer, savedChoice, usableAgent } from "./composer-data.c16854be11a561e4.js";
21
21
  import { Notice } from "../../../../comps/ui/notice.f395f231cbb96445.js";
22
- import { CredentialsLink } from "../../../../comps/nav/back.7aa0ae82dbec38cd.js";
22
+ import { CredentialsLink } from "../../../../comps/nav/back.95ed3b5a6128d557.js";
23
23
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
24
24
  /** A spec with `effort` in place of its own. */
25
25
  export const withEffort = (spec, effort) => [...spec.split("/").filter((part) => !EFFORTS.some(([key]) => key === part)), effort].join("/");
@@ -3,7 +3,7 @@ import "./pending-approvals.07e59a9cae7ccf29.css.pnext-asset.js";
3
3
  import { useState } from "../../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
4
4
  import { Button } from "../../../../../comps/ui/button.b62fa52e18fa338b.js";
5
5
  import { Card } from "../../../../../comps/ui/card.c0030eafd76587e3.js";
6
- import { Approval, pendingApproval } from "../[id]/task-actions.d131453dd2a423c3.js";
6
+ import { Approval, pendingApproval } from "../[id]/task-actions.f4e6ea3320e0ae23.js";
7
7
  import { jsx as _jsx } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
8
8
  /** Rows the queue shows before Show all. */
9
9
  const FOLDED_ROWS = 3;
@@ -1,18 +1,19 @@
1
1
  import { byListKey, listRank, promptTitle } from "../../../../../../../core/task/view.e20379d8f741754a.js";
2
2
  import { replyRequired as turnReplyRequired } from "../../../../../../../agent/event-json.856d33f567e58d0e.js";
3
3
  /** A task page's tabs, the loading frame's too. */
4
- export const TASK_TABS = ["Conversation", "Activity"];
5
- /** Task statuses a list filters by. */
4
+ export const TASK_TABS = [
5
+ "Conversation",
6
+ "Activity",
7
+ "Details"
8
+ ];
9
+ /** Task statuses a list filters by; the filter menu lists the first three, outcomes behind More. */
6
10
  export const STATUSES = [
7
11
  ["", "Recent"],
8
- ["active", "Active"],
9
12
  ["waiting", "Needs approval"],
10
- ["running", "Running"],
11
- ["queued", "Queued"],
13
+ ["archived", "Archived"],
12
14
  ["completed", "Completed"],
13
15
  ["failed", "Failed"],
14
- ["cancelled", "Cancelled"],
15
- ["archived", "Archived"]
16
+ ["cancelled", "Cancelled"]
16
17
  ];
17
18
  /** The list request's filters; "archived" is its own switch, not a status. */
18
19
  export function listFilters(filters) {
@@ -33,6 +34,25 @@ export const SOURCES = [
33
34
  ["schedule", "Schedule"]
34
35
  ];
35
36
  export const sourceLabel = (value) => (SOURCES.find(([key]) => key === value) ?? [value, value])[1];
37
+ const STARTS = {
38
+ dashboard: "Dashboard task",
39
+ cli: "CLI task",
40
+ schedule: "Scheduled task"
41
+ };
42
+ const EVENT_NAMES = {
43
+ pull_request: "Pull request",
44
+ dm: "DM"
45
+ };
46
+ /** What started a task, as "Pull request" or "Dashboard task", and who: its member, else the platform account. */
47
+ export function taskOrigin(task) {
48
+ const type = task.task.event?.type;
49
+ const what = type ? EVENT_NAMES[type] ?? type[0].toUpperCase() + type.slice(1).replace(/_/g, " ") : STARTS[task.task.source] ?? `${sourceLabel(task.task.source)} task`;
50
+ const by = task.task.context?.user?.name || task.task.event?.actor?.login;
51
+ return {
52
+ what,
53
+ by
54
+ };
55
+ }
36
56
  export const taskActive = (task) => task.status === "queued" || task.status === "running" || task.status === "waiting";
37
57
  const listKey = (row) => ({
38
58
  rank: listRank(row.status),