@wular/coder 0.5.0 → 0.5.2

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 (267) hide show
  1. package/dist/{actions-CkMAM1Km.js → actions-C35tq9KH.js} +2 -2
  2. package/dist/{agent-Bi5nbUhA.js → agent-BZR4Eqdc.js} +1 -1
  3. package/dist/{app-server-BTpa5GBV.js → app-server-dnlLhhZb.js} +1 -1
  4. package/dist/{approvals-CRwkc9vB.js → approvals-C8XV7CK2.js} +1 -1
  5. package/dist/apps-CCqOsEZH.js +18 -0
  6. package/dist/async-BP5q3Une.js +3 -0
  7. package/dist/{auth-oCvlHitk.js → auth-CJOm9_Vh.js} +1 -1
  8. package/dist/builtin/coder/system.md +6 -3
  9. package/dist/{chat-4AiZEqKh.js → chat-BD2Fu3jU.js} +1 -1
  10. package/dist/cli.js +3 -3
  11. package/dist/{cmd-Cu3OquA_.js → cmd-BH1bmZGs.js} +34 -34
  12. package/dist/{config-D_RuO6gX.js → config-_32PHl9g.js} +1 -1
  13. package/dist/{connection-BXjn7gCC.js → connection-DNzNYpha.js} +1 -1
  14. package/dist/{connections-Cswv7r8Z.js → connections-B90TemYf.js} +1 -1
  15. package/dist/{context-CFrDYenS.js → context-DVGPu7f_.js} +1 -1
  16. package/dist/dash/standalone/server/build-index.json +1 -1
  17. package/dist/dash/standalone/server/manifest.json +1406 -1406
  18. package/dist/dash/standalone/server/modules-server-server-react-server/src/client/{index.54c45900f2153d34.js → index.a036e2c6ae93ec75.js} +3 -5
  19. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/api/{load.252f972b42c690e2.js → load.3e1c235ecb89201a.js} +2 -2
  20. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/create/[id]/{page.11efd0e175db9053.js → page.ff03c26886d248d2.js} +3 -3
  21. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{notify.59ae138dc182d7c3.js → notify.5b9c5a4ab975b01e.js} +1 -1
  22. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{page.e9386951cedea737.js → page.6e80433ca86c927d.js} +3 -3
  23. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{sign-out.713d3ec10951fde5.js → sign-out.e419e0eae59a1394.js} +1 -1
  24. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{agents-grid.f989d6f2d9ece6e4.js → agents-grid.53dc6597be8d6049.js} +1 -1
  25. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{page.0f88720e52db99a2.js → page.82a238c790c19a6c.js} +6 -6
  26. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{layout.8d2f0997462fc958.js → layout.4a5c6f90ebaccf6f.js} +7 -7
  27. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{page.bc93891522c8120d.js → page.ed696703c6fb5796.js} +7 -7
  28. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{page.cf5cf9afe38ab0e4.js → page.12dbb62edaa16b4f.js} +11 -11
  29. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{platform-actions.c44c7df7841719f2.js → platform-actions.1e7bb5f00112eeac.js} +3 -3
  30. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{platform-step.6e90cbfe308f28a0.js → platform-step.45adc3fb28e7d33b.js} +1 -1
  31. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{agent-settings-form.61de585104c2be10.js → agent-settings-form.1693e7dc34f5b94a.js} +16 -17
  32. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{page.4d06f759984a63b3.js → page.fbbcdf8fde222f1e.js} +8 -9
  33. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{loading.ea2925eab1d2e594.js → loading.099f0e549e964a5c.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.fb069bf82b727d27.js → page.577e64210260faf2.js} +1 -1
  35. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/usage/{page.0a472a0e269b8c01.js → page.2d10853615403293.js} +3 -3
  36. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{versions-list.7ef7dfd5d8f5de43.js → versions-list.e6088baf4de7f41e.js} +1 -1
  37. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{loading.007326a04f05d46c.js → loading.f0dfaf4552b8cde1.js} +1 -1
  38. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{page.a26aa7bc6ab655f0.js → page.9f09979ad3435fe3.js} +6 -6
  39. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/platforms/[app]/{app-cards.361918fe58349aa1.js → app-cards.adaebe98ec9d32e8.js} +2 -2
  40. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/platforms/[app]/{page.3f60cf67517d0d31.js → page.e2dc60bbcac65b1f.js} +3 -3
  41. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{agent-toggle.ffbf9a8b8b2fbde7.js → agent-toggle.d795b7112534872c.js} +2 -2
  42. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{hero.0ae015a4fbe6321e.js → hero.b74c6eb40c45b498.js} +1 -1
  43. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{connect-repositories.9abe365f0098d358.js → connect-repositories.e27bcba279f82d7b.js} +1 -1
  44. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{editor.6548f8f757578f90.js → editor.288736c2a52c7df4.js} +8 -8
  45. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{import-picker.577b1d84c7ab84e1.js → import-picker.58bad50dd8e60d63.js} +3 -3
  46. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/new/{page.2b326d00ccef5544.js → page.83a490948f585e69.js} +4 -4
  47. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{layout.45a09107b19f0a7e.js → layout.61ad05aceb425910.js} +3 -3
  48. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/{operator-apps.f8d679f2d06b0ebc.js → operator-apps.6f71999915848a2c.js} +6 -6
  49. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/{page.5aa3ddc669366703.js → page.4758811b7fc86d84.js} +5 -5
  50. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{page.5a5188f0fc75dcd2.js → page.7de674df6cd0e824.js} +1 -1
  51. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{advanced-list.73cdadb2968a39d2.js → advanced-list.851275e04f8e7305.js} +1 -1
  52. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{connection-add.353ec01fbb814f78.js → connection-add.45a224c5e612b15f.js} +4 -4
  53. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{connections-list.cf4061ae909272c3.js → connections-list.6cacd41c18de261d.js} +5 -5
  54. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials-list.fc4cff0289267551.js → credentials-list.79a1355d894b8642.js} +4 -4
  55. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials.db01de2581ac65f3.js → credentials.30db114aef2c6ff6.js} +8 -8
  56. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{list.e7d6a422f6a869ea.js → list.fa3b9eff6657bc57.js} +3 -3
  57. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{models-list.acb92b39cab1d11c.js → models-list.2a8f6a5679fc5c4d.js} +6 -6
  58. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{page.95fe939e36e5be55.js → page.7681780b48e2aa3e.js} +13 -13
  59. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{runners-list.5764eac3307d67cc.js → runners-list.e9834546550a3c2c.js} +6 -6
  60. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{secrets-list.d316bb157f747f6c.js → secrets-list.ff9f3b3d88f2b8df.js} +4 -4
  61. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{layout.4eb70f2de8674f93.js → layout.3f8a61434ceaa186.js} +1 -1
  62. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{model-options.dc630cb6e2cbf83a.js → model-options.0d6077fe68db3af9.js} +2 -5
  63. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{model-pick.a143e77f5ed5f9d3.js → model-pick.695538b2edf9dd15.js} +1 -1
  64. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{page.70cad0e981c33fa5.js → page.e439da4bae9d6d6c.js} +1 -1
  65. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{create-link.18bd2b92cd23b73f.js → create-link.371225925a83e900.js} +3 -3
  66. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{outcome-toast.95f7be49430248eb.js → outcome-toast.c7d02e38464dec0b.js} +1 -1
  67. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{page.e39ee9236664d043.js → page.885e5ae7913d8f5b.js} +4 -4
  68. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{activity.441e82ab00344fb2.js → activity.f8d48c80747830ee.js} +1 -1
  69. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{page.24e121ea6eb578ba.js → page.70ce5ef3bcf56310.js} +6 -6
  70. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-actions.4a4052a38db4bad3.js → task-actions.783070d7dbd198e4.js} +4 -4
  71. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-view.0cd3ec2655f44cc7.js → task-view.db256c7f111b8f23.js} +22 -57
  72. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer-data.73225456d60d63e3.js → composer-data.c16854be11a561e4.js} +1 -1
  73. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer.ee326fbf5e526fb1.js → composer.6a331de70f3baff4.js} +24 -82
  74. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{pending-approvals.7607998094780fdd.js → pending-approvals.7ff2eadf13a3ee90.js} +1 -1
  75. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-list.e486cbd16ea3e963.js → tasks-list.57c90c66384141a0.js} +8 -8
  76. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-section.01510523d1556d59.js → tasks-section.22e4f86847e1a3e2.js} +4 -4
  77. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{page.ede64f82388f9480.js → page.c6b9db3ca88aaa1f.js} +3 -3
  78. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{page.0499098badd3f5f8.js → page.743fe359f09f5648.js} +2 -2
  79. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{stream.e3800e736f832124.js → stream.c7ffa724145ce870.js} +1 -1
  80. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{task-toasts.3b7eeee29fc327de.js → task-toasts.b0ba5a1b4976ae27.js} +47 -20
  81. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{action.f22057e7dfac40fe.js → action.44115286faf6c0f8.js} +1 -1
  82. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{client.c8d7efefb6194d7d.js → client.b9225923da59febe.js} +1 -1
  83. package/dist/dash/standalone/static/assets/chunks/{advanced-list-850a950afe4f6996.js → advanced-list-4a393f37c461986f.js} +1 -1
  84. package/dist/dash/standalone/static/assets/chunks/{agent-pills-9f6fa120182db948.js → agent-pills-f07bea43753a9342.js} +1 -1
  85. package/dist/dash/standalone/static/assets/chunks/agent-settings-form-6c1b6776328cd046.js +1 -0
  86. package/dist/dash/standalone/static/assets/chunks/{agent-toggle-521136f20a71400d.js → agent-toggle-dabbca2fe4006852.js} +1 -1
  87. package/dist/dash/standalone/static/assets/chunks/{agents-grid-bcd13cd7a46224a6.js → agents-grid-a9440caa1768bfd8.js} +1 -1
  88. package/dist/dash/standalone/static/assets/chunks/{back-2d67134b122334f4.js → back-8ca96656264a0d1c.js} +1 -1
  89. package/dist/dash/standalone/static/assets/chunks/{chain-hint-53675e299a865420.js → chain-hint-c7994aad798ef430.js} +1 -1
  90. package/dist/dash/standalone/static/assets/chunks/{combo-cb2c62fe580a8903.js → combo-7b125f3927083749.js} +1 -1
  91. package/dist/dash/standalone/static/assets/chunks/composer-3efd63e2e0192937.js +1 -0
  92. package/dist/dash/standalone/static/assets/chunks/composer-a6cf207b9c69b43f.js +1 -0
  93. package/dist/dash/standalone/static/assets/chunks/{composer-data-890f71bade4f0616.js → composer-data-b05f3d93fdc472d7.js} +1 -1
  94. package/dist/dash/standalone/static/assets/chunks/{confirm-d6b2c5b1deccd1e8.js → confirm-6e26ab941d655b9f.js} +1 -1
  95. package/dist/dash/standalone/static/assets/chunks/{connect-repositories-226bf70aa81c29d8.js → connect-repositories-90f1aedea6de7a99.js} +1 -1
  96. package/dist/dash/standalone/static/assets/chunks/{connections-list-a33d6637e2d52fcf.js → connections-list-90935e956e8f4626.js} +1 -1
  97. package/dist/dash/standalone/static/assets/chunks/{copy-294c6052b3b69424.js → copy-38fa78628f39ec10.js} +1 -1
  98. package/dist/dash/standalone/static/assets/chunks/create-link-a3c963721aa06a72.js +1 -0
  99. package/dist/dash/standalone/static/assets/chunks/{credentials-list-90fc1c6d202e1461.js → credentials-list-ae950b9891d30c29.js} +1 -1
  100. package/dist/dash/standalone/static/assets/chunks/{custom-range-efa1b6a71ba84597.js → custom-range-e9185a23187b3fe6.js} +1 -1
  101. package/dist/dash/standalone/static/assets/chunks/{editor-53a3e1a893644fff.js → editor-e0cc472111713852.js} +3 -3
  102. package/dist/dash/standalone/static/assets/chunks/{field-4d374d5ed3f43d7e.js → field-444bab2e16b91c26.js} +1 -1
  103. package/dist/dash/standalone/static/assets/chunks/instructions-7d9131eb37c4619e.js +1 -0
  104. package/dist/dash/standalone/static/assets/chunks/{instructions-d3dc01b2f90820db.js → instructions-9f173d4229d9b77e.js} +1 -1
  105. package/dist/dash/standalone/static/assets/chunks/{list-16247e39898cd20e.js → list-84356c9286747b10.js} +1 -1
  106. package/dist/dash/standalone/static/assets/chunks/model-options-5e07b3318d69d218.js +1 -0
  107. package/dist/dash/standalone/static/assets/chunks/{models-list-6d93523660503dfb.js → models-list-eca9705ab89a2ce5.js} +1 -1
  108. package/dist/dash/standalone/static/assets/chunks/outcome-dialog-3006ae63624b3940.js +1 -0
  109. package/dist/dash/standalone/static/assets/chunks/{outcome-dialog-755fc581cbc2836e.js → outcome-dialog-c4d61a288688f53a.js} +1 -1
  110. package/dist/dash/standalone/static/assets/chunks/outcome-toast-ba59a3c06c25f0fd.js +1 -0
  111. package/dist/dash/standalone/static/assets/chunks/platform-actions-0c61a03082f9d169.js +1 -0
  112. package/dist/dash/standalone/static/assets/chunks/{platform-actions-08e9b3816dcd62b1.js → platform-actions-267a43c805e3c3a6.js} +1 -1
  113. package/dist/dash/standalone/static/assets/chunks/{platform-step-5881a8be1e761e00.js → platform-step-adfc87c1fa86e7e1.js} +1 -1
  114. package/dist/dash/standalone/static/assets/chunks/platform-step-fd1616528b2f6f12.js +1 -0
  115. package/dist/dash/standalone/static/assets/chunks/{runners-list-dd759d408c643a29.js → runners-list-c858c5546c6fd513.js} +1 -1
  116. package/dist/dash/standalone/static/assets/chunks/{runtime-9b28886f3cbe0ed3-1.js → runtime-3fcac605fffcc273-1.js} +1 -1
  117. package/dist/dash/standalone/static/assets/chunks/{secrets-list-be1f634a1b077baa.js → secrets-list-06cd41b5a2627452.js} +1 -1
  118. package/dist/dash/standalone/static/assets/chunks/{segmented-f646bfa8aa0aa449.js → segmented-15503e745dd97f56.js} +1 -1
  119. package/dist/dash/standalone/static/assets/chunks/{shared-init-b42d2c06c25d1e2b.js → shared-init-02666a6f76606589.js} +1 -1
  120. package/dist/dash/standalone/static/assets/chunks/shared-init-3fcac605fffcc273-2.js +1 -0
  121. package/dist/dash/standalone/static/assets/chunks/shared-init-7a7f1e623f0f5861.js +9 -0
  122. package/dist/dash/standalone/static/assets/chunks/{shared-init-953965859f7bf6b9.js → shared-init-a69029db2d72fb52.js} +1 -1
  123. package/dist/dash/standalone/static/assets/chunks/side-toggle-800f7bacd6de5aa8.js +1 -0
  124. package/dist/dash/standalone/static/assets/chunks/{tail-d13c4cc0cf11ffd1.js → tail-3024b828bce41f94.js} +1 -1
  125. package/dist/dash/standalone/static/assets/chunks/{task-423e6a3f2527f534.js → task-1e6f9ba22fb5e29f.js} +1 -1
  126. package/dist/dash/standalone/static/assets/chunks/{task-actions-5917357eac6504ca.js → task-actions-c8fe1201a56901d9.js} +1 -1
  127. package/dist/dash/standalone/static/assets/chunks/task-view-531e243f8222f802.js +3 -0
  128. package/dist/dash/standalone/static/assets/chunks/{tasks-list-2c5ce592e00fda45.js → tasks-list-5373f9a2772a386a.js} +1 -1
  129. package/dist/dash/standalone/static/assets/chunks/{versions-list-177ae397ad64dcea.js → versions-list-6642a24e9cef352b.js} +1 -1
  130. package/dist/dash/standalone/static/assets/chunks/{wular-pnext-9b28886f3cbe0ed3-0.js → wular-pnext-3fcac605fffcc273-0.js} +1 -1
  131. package/dist/dash/standalone/static/assets/{dash-param-org-agents-param-slug-00243b34eb094b95.css → dash-param-org-agents-param-slug-dd4ac319a0d62432.css} +1 -1
  132. package/dist/dash/standalone/static/assets/{dash-param-org-agents-param-slug-settings-9f8faa8f7d714699.css → dash-param-org-agents-param-slug-platforms-9d2e1439f3f7e81b.css} +1 -1
  133. package/dist/dash/standalone/static/assets/{dash-param-org-agents-param-slug-usage-0e037c66e3977f33.css → dash-param-org-agents-param-slug-settings-f21d4fcd3948139b.css} +1 -1
  134. package/dist/dash/standalone/static/assets/{dash-param-org-agents-param-slug-tasks-129adcdc293ceac8.css → dash-param-org-agents-param-slug-tasks-c8d6aa06f6e75f4c.css} +1 -1
  135. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-usage-9cc128ba8af6ef62.css +1 -0
  136. package/dist/dash/standalone/static/assets/{dash-param-org-tasks-8a44e171984d32a1.css → dash-param-org-tasks-be3cb3d64573f3d9.css} +1 -1
  137. package/dist/dash/standalone/static/assets/{dash-param-org-tasks-param-id-b9d3a7a1bd1dd666.css → dash-param-org-tasks-param-id-c20a0537bc82620d.css} +1 -1
  138. package/dist/dash/standalone/static/assets/pnext-client-02b9bb5ae78a37d6.js +1 -0
  139. package/dist/dash/standalone/static/assets/pnext-client-063d14b5b5c893a3.js +1 -0
  140. package/dist/dash/standalone/static/assets/pnext-client-1710a65c5b8280af.js +1 -0
  141. package/dist/dash/standalone/static/assets/pnext-client-2936b44e963219bc.js +1 -0
  142. package/dist/dash/standalone/static/assets/pnext-client-2f14cc4bf71bf456.js +1 -0
  143. package/dist/dash/standalone/static/assets/pnext-client-2f81535a69d0c8a3.js +1 -0
  144. package/dist/dash/standalone/static/assets/pnext-client-368d90341055d7ff.js +1 -0
  145. package/dist/dash/standalone/static/assets/pnext-client-58e0efbceb6c595f.js +1 -0
  146. package/dist/dash/standalone/static/assets/{pnext-client-7ecbd7a0cbe4e231.js → pnext-client-5fc693a6184e48a4.js} +1 -1
  147. package/dist/dash/standalone/static/assets/pnext-client-6ee756a74310a9fe.js +1 -0
  148. package/dist/dash/standalone/static/assets/pnext-client-713f7a6bc55d23fb.js +1 -0
  149. package/dist/dash/standalone/static/assets/pnext-client-7c91f8543cd360fa.js +1 -0
  150. package/dist/dash/standalone/static/assets/pnext-client-827b030f2c8e738e.js +1 -0
  151. package/dist/dash/standalone/static/assets/pnext-client-8b165b7e5c14a1f3.js +1 -0
  152. package/dist/dash/standalone/static/assets/pnext-client-95a81597ac1bdea0.js +1 -0
  153. package/dist/dash/standalone/static/assets/pnext-client-a4c2fb8a94ccce04.js +1 -0
  154. package/dist/dash/standalone/static/assets/pnext-client-a7faaaf8c4cc8145.js +1 -0
  155. package/dist/dash/standalone/static/assets/pnext-client-bab8ffb68e7dd229.js +1 -0
  156. package/dist/dash/standalone/static/assets/pnext-client-d9fab2611c2e7246.js +1 -0
  157. package/dist/dash/standalone/static/assets/pnext-client-f3804c9ffb299fe0.js +1 -0
  158. package/dist/{definition-4on4SG5J.js → definition-D0OpQfGX.js} +1 -1
  159. package/dist/{discover-DvzAbQvU.js → discover-BfYHHJN_.js} +1 -1
  160. package/dist/{dispatch-BaW2X6Sc.js → dispatch-BkoIU4GU.js} +2 -2
  161. package/dist/{docs-CbgaMPvq.js → docs-CxklYa3P.js} +1 -1
  162. package/dist/{drive-Tk6JvQK5.js → drive-MggMiKA0.js} +1 -1
  163. package/dist/env-BwFCHakK.js +1 -0
  164. package/dist/{exec-CAaYFJD1.js → exec-CNygM6yF.js} +2 -2
  165. package/dist/{executor-Chc0zawh.js → executor-Ds4wDCzV.js} +6 -6
  166. package/dist/flow/builtin/review/index.d.ts +2 -2
  167. package/dist/flow/builtin/review/index.js +10 -15
  168. package/dist/flow/index.d.ts +2 -2
  169. package/dist/flow/index.js +1 -1
  170. package/dist/{hook-COWDSO4a.js → hook-CVJU-ZD0.js} +1 -1
  171. package/dist/{index-ezhbF5wC.d.ts → index-CTAQrCRU.d.ts} +71 -66
  172. package/dist/integrations-DSZSa8Rc.js +9 -0
  173. package/dist/lib/broker.js +1 -1
  174. package/dist/{load-PqaDHiHX.js → load-BtIDghgd.js} +2 -2
  175. package/dist/{local-BzZuOwgI.js → local-CqOUpEtl.js} +1 -1
  176. package/dist/{local-BMGcCk8N.js → local-DFrTuJFN.js} +1 -1
  177. package/dist/{login-BDKTNynK.js → login-93jO9qjx.js} +1 -1
  178. package/dist/maintenance-BuDKnfc7.js +1 -0
  179. package/dist/{mcp-BNz_l5TV2.js → mcp-CTVOR7r6.js} +1 -1
  180. package/dist/{mcp-BGam3G_B.js → mcp-EwT2mCaa.js} +1 -1
  181. package/dist/{mcp-BGx48pyR.js → mcp-cEIva8Pd.js} +6 -4
  182. package/dist/{models-D1NXi6ni.js → models-mKyePWrV.js} +1 -1
  183. package/dist/{permission-BkYxjiFR.js → permission-F6F25GJU.js} +1 -1
  184. package/dist/post-DLenID75.js +11 -0
  185. package/dist/{refresh-yfEi5SQs.js → refresh-CWEpTAkD.js} +1 -1
  186. package/dist/{remote-rArUa01V.js → remote-BDMuKaON.js} +1 -1
  187. package/dist/remote-Cl-j8r3W.js +1 -0
  188. package/dist/{runner-DG9jrX5H.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 +49 -45
  193. package/dist/sdk.js +1 -1
  194. package/dist/serve-Cqlkgdfd.js +8 -0
  195. package/dist/{serve-B-5rDiZm.js → serve-DHe6dZM6.js} +1 -1
  196. package/dist/{session-Dtje9y-r.js → session-BMbMzzPu.js} +1 -1
  197. package/dist/{sessions-DIz9fyRN.js → sessions-BGUfSe8L.js} +1 -1
  198. package/dist/{shared--aE4olIO.js → shared-D-KqAi7b.js} +1 -1
  199. package/dist/{sign-in-wWkyaq5X.js → sign-in-Dv-rdYD4.js} +2 -2
  200. package/dist/{state-Br-Fuaxg.js → state-CxAUec80.js} +1 -1
  201. package/dist/store-BpDipcKB.js +349 -0
  202. package/dist/{task-CFt85vTy.js → task-BRHXn5y1.js} +1 -1
  203. package/dist/task-CzXNLREX.js +7 -0
  204. package/dist/{tool-search-BkdgVolu.js → tool-search-C9Ty3hhL.js} +1 -1
  205. package/dist/{tools-oQvFAnh5.js → tools-BCm26CeV.js} +1 -1
  206. package/dist/{tools-DNgEptor.js → tools-C69W1B6S.js} +1 -1
  207. package/dist/{tools-search-D1zArRyJ.js → tools-search-BDaeCoWe.js} +1 -1
  208. package/dist/{turn-Cc-v-eSy.js → turn-eI4iRPsq.js} +1 -1
  209. package/dist/{update-check-UyRob3yy.js → update-check-Bap3dwaj.js} +1 -1
  210. package/dist/{views-3TxH367C.js → views-Bxm_5J6T.js} +1 -1
  211. package/dist/worker-DGhRPDDt.js +7 -0
  212. package/dist/{worker-BMuKKiIa.js → worker-DHNBRRl-.js} +1 -1
  213. package/docs/agents/coder.md +1 -1
  214. package/docs/cli/index.md +5 -3
  215. package/docs/connections.md +1 -1
  216. package/docs/flows.md +1 -1
  217. package/docs/review.md +36 -8
  218. package/docs/self-host.md +2 -1
  219. package/package.json +1 -1
  220. package/plugins/claude/.claude-plugin/plugin.json +1 -1
  221. package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
  222. package/dist/apps-B6mUToTa.js +0 -18
  223. package/dist/async-CNhQ4wyZ.js +0 -3
  224. package/dist/dash/standalone/static/assets/chunks/agent-settings-form-a8ee12513a02b1c5.js +0 -1
  225. package/dist/dash/standalone/static/assets/chunks/composer-4a46a458495ce3ba.js +0 -1
  226. package/dist/dash/standalone/static/assets/chunks/composer-92553de43276510b.js +0 -1
  227. package/dist/dash/standalone/static/assets/chunks/create-link-b2480a7601967e94.js +0 -1
  228. package/dist/dash/standalone/static/assets/chunks/instructions-734d21dfb8f6393e.js +0 -1
  229. package/dist/dash/standalone/static/assets/chunks/model-options-d29e934a3de20ab4.js +0 -1
  230. package/dist/dash/standalone/static/assets/chunks/outcome-dialog-77e13c848000a3dc.js +0 -1
  231. package/dist/dash/standalone/static/assets/chunks/outcome-toast-9d5e9713c23882f5.js +0 -1
  232. package/dist/dash/standalone/static/assets/chunks/platform-actions-832904f5694ef902.js +0 -1
  233. package/dist/dash/standalone/static/assets/chunks/platform-step-29469fd4eaddc42a.js +0 -1
  234. package/dist/dash/standalone/static/assets/chunks/shared-init-926144b364908b3c.js +0 -9
  235. package/dist/dash/standalone/static/assets/chunks/shared-init-9b28886f3cbe0ed3-2.js +0 -1
  236. package/dist/dash/standalone/static/assets/chunks/side-toggle-8c21d39a1e284887.js +0 -1
  237. package/dist/dash/standalone/static/assets/chunks/task-view-c6ee43d2ddb6db90.js +0 -3
  238. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-platforms-25ae07e0b3f5b252.css +0 -1
  239. package/dist/dash/standalone/static/assets/pnext-client-095026242a079175.js +0 -1
  240. package/dist/dash/standalone/static/assets/pnext-client-1dfeb8c3ef155f87.js +0 -1
  241. package/dist/dash/standalone/static/assets/pnext-client-2358423351524403.js +0 -1
  242. package/dist/dash/standalone/static/assets/pnext-client-28a6557216627768.js +0 -1
  243. package/dist/dash/standalone/static/assets/pnext-client-31a4ee73945fee19.js +0 -1
  244. package/dist/dash/standalone/static/assets/pnext-client-3dfdc76bb8712b82.js +0 -1
  245. package/dist/dash/standalone/static/assets/pnext-client-4355ac87961d78c1.js +0 -1
  246. package/dist/dash/standalone/static/assets/pnext-client-43c7a0046572e0c9.js +0 -1
  247. package/dist/dash/standalone/static/assets/pnext-client-53dc7db68d67e0b1.js +0 -1
  248. package/dist/dash/standalone/static/assets/pnext-client-5835cb35488bdf7f.js +0 -1
  249. package/dist/dash/standalone/static/assets/pnext-client-638b390bc23ab1ae.js +0 -1
  250. package/dist/dash/standalone/static/assets/pnext-client-67f832c6c51a66cd.js +0 -1
  251. package/dist/dash/standalone/static/assets/pnext-client-6fc99f0abe77c2ea.js +0 -1
  252. package/dist/dash/standalone/static/assets/pnext-client-7d99965f28ac7604.js +0 -1
  253. package/dist/dash/standalone/static/assets/pnext-client-8250bd3b86d038a3.js +0 -1
  254. package/dist/dash/standalone/static/assets/pnext-client-bfd06805a43c6dee.js +0 -1
  255. package/dist/dash/standalone/static/assets/pnext-client-ce2943f17e9d9ac3.js +0 -1
  256. package/dist/dash/standalone/static/assets/pnext-client-ed31510d4615a5a5.js +0 -1
  257. package/dist/dash/standalone/static/assets/pnext-client-f0496bf51e161ddd.js +0 -1
  258. package/dist/env-_AxrvBXP.js +0 -1
  259. package/dist/integrations-BVmsk64f.js +0 -9
  260. package/dist/maintenance-d43Ml540.js +0 -1
  261. package/dist/remote-BbXx6S9P.js +0 -1
  262. package/dist/serve-CvnrGAj7.js +0 -12
  263. package/dist/store-CzQLgCzt.js +0 -352
  264. package/dist/task-N0qhnKpK.js +0 -7
  265. package/dist/worker-CIHY9L42.js +0 -7
  266. /package/dist/dash/standalone/server/modules-server-server-react-server/src/core/{types.5bf5a41cedb54154.js → types.9d22123d6296f5af.js} +0 -0
  267. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-view.aae9fa481b9015d1.css.pnext-asset.js → task-view.440367ae07204ee7.css.pnext-asset.js} +0 -0
@@ -1,17 +1,17 @@
1
- import "./task-view.aae9fa481b9015d1.css.pnext-asset.js";
1
+ import "./task-view.440367ae07204ee7.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.54c45900f2153d34.js";
5
- import { load } from "../../../../../api/load.252f972b42c690e2.js";
4
+ import { ClientError } from "../../../../../../../client/index.a036e2c6ae93ec75.js";
5
+ import { load } from "../../../../../api/load.3e1c235ecb89201a.js";
6
6
  import { Page } from "../../../../../comps/frame/page-head.2eb1e0213eb50349.js";
7
- import { Settle } from "../../../../../comps/frame/stream.e3800e736f832124.js";
7
+ import { Settle } from "../../../../../comps/frame/stream.c7ffa724145ce870.js";
8
8
  import { TaskMissing } from "./task-missing.33ec27a4a5eafefe.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.0cd3ec2655f44cc7.js").then((m) => m.TaskView), undefined, {
11
+ const TaskView = dynamic(() => import("./task-view.db256c7f111b8f23.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-8d9096190f"
14
+ "id": "c-5716781834"
15
15
  });
16
16
  export default async function TaskPage({ request, params }) {
17
17
  if (!request) return null;
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import "./task-view.aae9fa481b9015d1.css.pnext-asset.js";
2
+ import "./task-view.440367ae07204ee7.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.c8d7efefb6194d7d.js";
6
- import { useAction } from "../../../../../utils/action.f22057e7dfac40fe.js";
5
+ import { client } from "../../../../../utils/client.b9225923da59febe.js";
6
+ import { useAction } from "../../../../../utils/action.44115286faf6c0f8.js";
7
7
  import { useRouter, useSearchParams } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/client-navigation.ts";
8
8
  import { useOrg } from "../../../../../comps/nav/org.853d173b55368728.js";
9
9
  import { isAdmin } from "../../../../../api/types.79f9092cdb5a00d1.js";
@@ -17,7 +17,7 @@ import { Segmented } from "../../../../../comps/ui/segmented.633abe26ff760e37.js
17
17
  import { MenuItem } from "../../../../../comps/ui/menu-items.759a1b1f7c5ee365.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.3b7eeee29fc327de.js";
20
+ import { showToast } from "../../../../../comps/frame/task-toasts.b0ba5a1b4976ae27.js";
21
21
  import { taskTitle } from "../list/task.a25847399a4dfb30.js";
22
22
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
23
23
  /** Archive, Stop while it runs, and Delete behind the ⋯ menu; phones keep Archive in the menu too, away from Stop. */
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import "./task-view.aae9fa481b9015d1.css.pnext-asset.js";
2
+ import "./task-view.440367ae07204ee7.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.c8d7efefb6194d7d.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";
@@ -22,12 +22,12 @@ import { Back, PageHead } from "../../../../../comps/frame/page-head.2eb1e0213eb
22
22
  import { markdown } from "../../agents/agent/instructions.1b8c9189961c5a4f.js";
23
23
  import { ReadOnlyBadge, Status } from "../list/status.d2c05c397780b833.js";
24
24
  import { folderName, replyRequired, sourceLabel, taskActive, taskModel, taskTitle, TASK_TABS } from "../list/task.a25847399a4dfb30.js";
25
- import { useAction } from "../../../../../utils/action.f22057e7dfac40fe.js";
25
+ import { useAction } from "../../../../../utils/action.44115286faf6c0f8.js";
26
26
  import { useZone } from "../../../../zone.0515a688ee5ff6ca.js";
27
- import { Approval, ApprovalEntry, DecisionTurn, TaskActions, raisedIn } from "./task-actions.4a4052a38db4bad3.js";
28
- import { Activity, RunPreview, runSummary } from "./activity.441e82ab00344fb2.js";
29
- import { toastError, useTaskEvents, watchTask } from "../../../../../comps/frame/task-toasts.3b7eeee29fc327de.js";
30
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
27
+ import { Approval, ApprovalEntry, DecisionTurn, TaskActions, raisedIn } from "./task-actions.783070d7dbd198e4.js";
28
+ import { Activity, RunPreview, runSummary } from "./activity.f8d48c80747830ee.js";
29
+ import { toastError, useTaskEvents, watchTask } from "../../../../../comps/frame/task-toasts.b0ba5a1b4976ae27.js";
30
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
31
31
  /** A fallback's model as people read it: the model part of its spec. */
32
32
  const modelOf = (spec) => spec.split("/")[1] ?? spec;
33
33
  function messageOf(value, fallback) {
@@ -69,51 +69,6 @@ function isEmpty(text) {
69
69
  const bare = text.trim().replace(/^`+|`+$/g, "");
70
70
  return bare.trim() === EMPTY_MESSAGE;
71
71
  }
72
- const isFindings = (json) => typeof json === "object" && json !== null && Array.isArray(json.findings) && json.findings.every((f) => typeof f === "object" && f !== null && "file" in f && "summary" in f);
73
- /** A review.s findings, one per changed line, worst first. */
74
- function Findings({ findings }) {
75
- if (!findings.length) return /* @__PURE__ */ _jsx("p", {
76
- class: "body muted",
77
- children: "No findings."
78
- });
79
- return /* @__PURE__ */ _jsx("ul", {
80
- class: "findings",
81
- children: findings.map((f, index) => /* @__PURE__ */ _jsxs("li", {
82
- class: `finding ${f.severity}`,
83
- children: [
84
- /* @__PURE__ */ _jsxs("p", {
85
- class: "finding-head",
86
- children: [
87
- /* @__PURE__ */ _jsx("span", {
88
- class: "sev",
89
- children: f.severity
90
- }),
91
- /* @__PURE__ */ _jsxs("span", {
92
- class: "loc",
93
- children: [
94
- f.file,
95
- ":",
96
- f.line
97
- ]
98
- }),
99
- f.category ? /* @__PURE__ */ _jsx("span", {
100
- class: "cat",
101
- children: f.category
102
- }) : null
103
- ]
104
- }),
105
- /* @__PURE__ */ _jsx("p", {
106
- class: "finding-sum",
107
- children: f.summary
108
- }),
109
- f.failure_scenario ? /* @__PURE__ */ _jsx("p", {
110
- class: "finding-why muted",
111
- children: f.failure_scenario
112
- }) : null
113
- ]
114
- }, index))
115
- });
116
- }
117
72
  /** A result as the platform got it: an empty answer is the notice when a reply was due, else the skip. */
118
73
  function ResultBody({ value, required }) {
119
74
  const text = messageOf(value, "Result received.");
@@ -125,7 +80,6 @@ function ResultBody({ value, required }) {
125
80
  if (/^\s*[[{]/.test(text)) try {
126
81
  json = JSON.parse(text);
127
82
  } catch {}
128
- if (isFindings(json)) return /* @__PURE__ */ _jsx(Findings, { findings: json.findings });
129
83
  if (json && typeof json === "object") return /* @__PURE__ */ _jsx("pre", {
130
84
  class: "body json",
131
85
  children: JSON.stringify(json, null, 2)
@@ -276,11 +230,21 @@ export function TaskView({ initial, tz: serverZone, me }) {
276
230
  if (live && replies) input.current?.focus();
277
231
  }, []);
278
232
  const [visible, setVisible] = useState(true);
233
+ const [focused, setFocused] = useState(true);
279
234
  useEffect(() => {
280
- const sync = () => setVisible(document.visibilityState === "visible");
235
+ const sync = () => {
236
+ setVisible(document.visibilityState === "visible");
237
+ setFocused(document.hasFocus());
238
+ };
281
239
  sync();
282
240
  addEventListener("visibilitychange", sync);
283
- return () => removeEventListener("visibilitychange", sync);
241
+ addEventListener("focus", sync);
242
+ addEventListener("blur", sync);
243
+ return () => {
244
+ removeEventListener("visibilitychange", sync);
245
+ removeEventListener("focus", sync);
246
+ removeEventListener("blur", sync);
247
+ };
284
248
  }, []);
285
249
  // Logs stream from when the task runs until the stream ends them, which waits for logs still arriving.
286
250
  const [streaming, setStreaming] = useState(live || !caughtUp);
@@ -351,7 +315,7 @@ export function TaskView({ initial, tz: serverZone, me }) {
351
315
  // Missed events: refetch the task and catch up its logs from the cursor.
352
316
  catchUp
353
317
  );
354
- // A hidden tab holds no log stream and resumes from its cursor.
318
+ // Logs poll every second while the page has focus, every 5 s while only visible, and not while hidden.
355
319
  useEffect(() => {
356
320
  if (!streaming || !visible) return;
357
321
  const abort = new AbortController();
@@ -376,7 +340,7 @@ export function TaskView({ initial, tz: serverZone, me }) {
376
340
  if (abort.signal.aborted) return;
377
341
  console.error("coder dashboard: task stream", reason);
378
342
  }
379
- await new Promise((done) => setTimeout(done, 1e3));
343
+ await new Promise((done) => setTimeout(done, focused ? 1e3 : 5e3));
380
344
  }
381
345
  };
382
346
  void follow();
@@ -384,6 +348,7 @@ export function TaskView({ initial, tz: serverZone, me }) {
384
348
  }, [
385
349
  streaming,
386
350
  visible,
351
+ focused,
387
352
  round,
388
353
  follows
389
354
  ]);
@@ -1,5 +1,5 @@
1
1
  import { localServer } from "../../../../api/types.79f9092cdb5a00d1.js";
2
- import { modelsByEngine } from "../settings/model-options.dc630cb6e2cbf83a.js";
2
+ import { modelsByEngine } from "../settings/model-options.0d6077fe68db3af9.js";
3
3
  export const PLACEHOLDER = "What should the agent do? Type / for flows and reviews.";
4
4
  export const CHOICE = {
5
5
  repo: "",
@@ -1,9 +1,8 @@
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.c8d7efefb6194d7d.js";
5
- import { toastFailure, useAction } from "../../../../utils/action.f22057e7dfac40fe.js";
6
- import { formatDate } from "../../../../utils/format.ceeaafa10a0563f3.js";
4
+ import { client } from "../../../../utils/client.b9225923da59febe.js";
5
+ import { toastFailure, useAction } from "../../../../utils/action.44115286faf6c0f8.js";
7
6
  import { iAlert, iPlus, iRight, iSliders, iSteer, iX } from "../../../../comps/ui/icons.f769275420d072ce.js";
8
7
  import { useRouter, useSearchParams } from "../../../../../../../../../node_modules/@wular/pnext/src/api/client-navigation.ts";
9
8
  import { useOrg } from "../../../../comps/nav/org.853d173b55368728.js";
@@ -13,12 +12,12 @@ import { reasonText } from "../../../../utils/format.ceeaafa10a0563f3.js";
13
12
  import { Icon } from "../../../../comps/ui/icon.0874ca2f58f7db14.js";
14
13
  import { Select } from "../../../../comps/ui/select.0ee9e8f04ddd8b47.js";
15
14
  import { MenuItem, MenuLabel, MenuNote, MenuOption, MenuPanel, MenuRadio, MenuRow } from "../../../../comps/ui/menu-items.759a1b1f7c5ee365.js";
16
- import { connectRepositories } from "../agents/editor/connect-repositories.9abe365f0098d358.js";
17
- import { ACCESS, EFFORTS, specName } from "../settings/model-options.dc630cb6e2cbf83a.js";
18
- import { ModelChoices, placeBeside } from "../settings/model-pick.a143e77f5ed5f9d3.js";
15
+ import { connectRepositories } from "../agents/editor/connect-repositories.e27bcba279f82d7b.js";
16
+ import { ACCESS, EFFORTS, specName } from "../settings/model-options.0d6077fe68db3af9.js";
17
+ import { ModelChoices, placeBeside } from "../settings/model-pick.695538b2edf9dd15.js";
19
18
  import { folderName } from "./list/task.a25847399a4dfb30.js";
20
- import { watchTask } from "../../../../comps/frame/task-toasts.3b7eeee29fc327de.js";
21
- import { CHOICE, PLACEHOLDER, loadComposer, savedChoice, usableAgent } from "./composer-data.73225456d60d63e3.js";
19
+ import { watchTask } from "../../../../comps/frame/task-toasts.b0ba5a1b4976ae27.js";
20
+ import { CHOICE, PLACEHOLDER, loadComposer, savedChoice, usableAgent } from "./composer-data.c16854be11a561e4.js";
22
21
  import { Notice } from "../../../../comps/ui/notice.f395f231cbb96445.js";
23
22
  import { CredentialsLink } from "../../../../comps/nav/back.7aa0ae82dbec38cd.js";
24
23
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
@@ -30,8 +29,8 @@ const REFRESH = "+refresh";
30
29
  const OTHER = "+other";
31
30
  const PICK = "+pick";
32
31
  const CLONE = "+clone";
33
- /** `/review 40` or `/flow release pr=12`: the command, its first word, and the rest. */
34
- const COMMAND = /^\/(review|flow)(?:\s+(\S+))?\s*([\s\S]*)$/;
32
+ /** `/flow release pr=12`: the command, its first word, and the rest. */
33
+ const COMMAND = /^\/(flow)(?:\s+(\S+))?\s*([\s\S]*)$/;
35
34
  /** A select's options: its unset value, then the picked value, then the rest, so it shows its label before the list loads. */
36
35
  const optionsOf = (fallback, value, values) => [["", fallback], ...[...new Set([value, ...values])].filter(Boolean).map((each) => [each, each])];
37
36
  /** Unset runs in the server's own folder; then recent and chosen ones, then the machine's dialog or a path box, then a repository URL box. A saved folder the list lacks still shows. */
@@ -148,8 +147,8 @@ export function NeedsCredential({ reason, label }) {
148
147
  ]
149
148
  });
150
149
  }
151
- /** The dashboard's one box: type and press Enter to start a task, or `/` for reviews and flows. */
152
- function Composer({ initial, data, defaults, missing, connectLabel, tz }) {
150
+ /** The dashboard's one box: type and press Enter to start a task, or `/` for flows. */
151
+ function Composer({ initial, data, defaults, missing, connectLabel }) {
153
152
  const nav = useRouter();
154
153
  const org = useOrg();
155
154
  const [choice, setChoice] = useState(() => usableAgent({
@@ -157,7 +156,7 @@ function Composer({ initial, data, defaults, missing, connectLabel, tz }) {
157
156
  ...initial
158
157
  }, data));
159
158
  const [lists, setLists] = useState(data);
160
- const [pulls, setPulls] = useState();
159
+ const flowsRepo = useRef();
161
160
  const [busy, setBusy] = useState(false);
162
161
  // Why no credential can run it, once a start says so.
163
162
  const [needs, setNeeds] = useState();
@@ -184,21 +183,10 @@ function Composer({ initial, data, defaults, missing, connectLabel, tz }) {
184
183
  // A restored draft waits for typing before its slash menu opens.
185
184
  setDismissed(true);
186
185
  }, []);
187
- // Once a command is typed: the repository's open pull requests and its own flows, or the repositories to pick.
186
+ // Once a command is typed, read the repository's own flows.
188
187
  const prefetch = (value, repo = choice.repo) => {
189
- if (!repo && /^\/review\s/.test(value)) readRepos();
190
- if (!value.startsWith("/") || !repo || pulls?.repo === repo) return;
191
- setPulls({ repo });
192
- void client.pulls.list(repo).then((items) => setPulls({
193
- repo,
194
- items
195
- })).catch((reason) => {
196
- setPulls({
197
- repo,
198
- items: []
199
- });
200
- toastFailure(reason);
201
- });
188
+ if (!value.startsWith("/") || !repo || flowsRepo.current === repo) return;
189
+ flowsRepo.current = repo;
202
190
  void client.flows.list(repo).then((flows) => setLists((current) => ({
203
191
  ...current,
204
192
  flows: flows.map((flow) => flow.name)
@@ -293,13 +281,11 @@ function Composer({ initial, data, defaults, missing, connectLabel, tz }) {
293
281
  field.focus();
294
282
  field.setSelectionRange(value.length, value.length);
295
283
  };
296
- const start = async (pr) => {
284
+ const start = async () => {
297
285
  const text = box.current?.value.trim() ?? "";
298
- if (busy || cloning || lists.agentsOff || !(text || pr)) return;
286
+ if (busy || cloning || lists.agentsOff || !text) return;
299
287
  const [, command, name = "", args = ""] = COMMAND.exec(text) ?? [];
300
- if (!pr && command && !(command === "flow" ? name : /^#?\d+$/.test(name))) return void setDismissed(false);
301
- const review = pr ?? (command === "review" ? Number(name.replace("#", "")) : undefined);
302
- if (review && !choice.repo) return toastFailure("Pick a repository first.");
288
+ if (command && !name) return void setDismissed(false);
303
289
  const { agent, model, effort, access, runner } = choice;
304
290
  const [repo, cwd] = lists.folders ? ["", choice.cwd] : [choice.repo, ""];
305
291
  // An effort on the Default row goes on the chain's first model; the rest still follow.
@@ -313,11 +299,7 @@ function Composer({ initial, data, defaults, missing, connectLabel, tz }) {
313
299
  }).filter(([, value]) => value));
314
300
  setBusy(true);
315
301
  try {
316
- const created = review ? await client.review({
317
- ...fields,
318
- repo: choice.repo,
319
- pr: review
320
- }) : command === "flow" ? await client.flows.run(name, {
302
+ const created = command === "flow" ? await client.flows.run(name, {
321
303
  ...fields,
322
304
  agent,
323
305
  args: argsOf(args)
@@ -326,8 +308,8 @@ function Composer({ initial, data, defaults, missing, connectLabel, tz }) {
326
308
  agent,
327
309
  prompt: text
328
310
  });
329
- if (!pr || command) localStorage.removeItem(DRAFT);
330
- watchTask(created.task.id, "queued", text || `Review of #${review}`);
311
+ localStorage.removeItem(DRAFT);
312
+ watchTask(created.task.id, "queued", text);
331
313
  nav.push("/dash/[org]/tasks/[id]", { params: {
332
314
  org,
333
315
  id: created.task.id
@@ -338,17 +320,12 @@ function Composer({ initial, data, defaults, missing, connectLabel, tz }) {
338
320
  else toastFailure(reason);
339
321
  }
340
322
  };
341
- // The slash menu for what is typed so far: commands, then a flow, a repository or a pull request.
323
+ // The slash menu for what is typed so far: commands, then a flow.
342
324
  const menu = (() => {
343
325
  const word = /^\/(\S*)$/.exec(text)?.[1]?.toLowerCase();
344
326
  if (word !== undefined) return {
345
327
  label: "Commands",
346
- entries: [{
347
- key: "review",
348
- label: "/review",
349
- hint: "Review a pull request",
350
- pick: () => draft("/review ")
351
- }, ...lists.flows.map((flow) => ({
328
+ entries: [...lists.flows.map((flow) => ({
352
329
  key: `flow ${flow}`,
353
330
  label: `/flow ${flow}`,
354
331
  hint: `Run the ${flow} flow`,
@@ -367,40 +344,6 @@ function Composer({ initial, data, defaults, missing, connectLabel, tz }) {
367
344
  })),
368
345
  note: "No flow matches."
369
346
  };
370
- const number = /^\/review\s+#?(\S*)$/.exec(text)?.[1];
371
- if (number === undefined) return undefined;
372
- if (!choice.repo) return {
373
- label: "Pick a repository",
374
- entries: [...(lists.repos ?? []).filter((repo) => repo.includes(number)).map((repo) => ({
375
- key: repo,
376
- label: repo,
377
- pick: () => pick("repo", repo)
378
- })), {
379
- key: CONNECT,
380
- label: connectLabel,
381
- pick: () => pick("repo", CONNECT)
382
- }]
383
- };
384
- if (!pulls?.items) return {
385
- label: `Pull requests in ${choice.repo}`,
386
- entries: [],
387
- note: "loading"
388
- };
389
- return {
390
- label: `Pull requests in ${choice.repo}`,
391
- entries: [...pulls.items.filter((pull) => String(pull.number).startsWith(number) || pull.title.toLowerCase().includes(number.toLowerCase())).sort((a, b) => Number(String(b.number) === number) - Number(String(a.number) === number)).map((pull) => ({
392
- key: `#${pull.number}`,
393
- label: `#${pull.number} ${pull.title}`,
394
- hint: [pull.author, pull.createdAt ? formatDate(Date.parse(pull.createdAt), tz) : ""].filter(Boolean).join(" · "),
395
- pick: () => void start(pull.number)
396
- })), ...number ? [] : [{
397
- key: "",
398
- label: choice.repo,
399
- hint: "Pick another repository",
400
- pick: () => apply({ repo: "" })
401
- }]],
402
- note: pulls.items.length ? "No open pull request matches." : "No open pull requests."
403
- };
404
347
  })();
405
348
  const open = Boolean(menu && !dismissed);
406
349
  const active = menu ? Math.min(at, Math.max(0, menu.entries.length - 1)) : 0;
@@ -697,8 +640,7 @@ export function NewTaskButton({ agent }) {
697
640
  initial: {
698
641
  ...savedChoice(document.cookie),
699
642
  ...agent ? { agent } : {}
700
- },
701
- tz: Intl.DateTimeFormat().resolvedOptions().timeZone
643
+ }
702
644
  }) : error ? /* @__PURE__ */ _jsx("p", {
703
645
  class: "flash err",
704
646
  role: "alert",
@@ -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.4a4052a38db4bad3.js";
6
+ import { Approval, pendingApproval } from "../[id]/task-actions.783070d7dbd198e4.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;
@@ -3,18 +3,18 @@ import "./tasks-list.f3737549b4696cc8.css.pnext-asset.js";
3
3
  import { Fragment } from "../../../../../../../../../../node_modules/preact/dist/preact.mjs";
4
4
  import { dynamic } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/dynamic.tsx";
5
5
  import { useEffect, useRef, useState } from "../../../../../../../../../../node_modules/preact/hooks/dist/hooks.mjs";
6
- import { client } from "../../../../../utils/client.c8d7efefb6194d7d.js";
7
- import { useAction } from "../../../../../utils/action.f22057e7dfac40fe.js";
6
+ import { client } from "../../../../../utils/client.b9225923da59febe.js";
7
+ import { useAction } from "../../../../../utils/action.44115286faf6c0f8.js";
8
8
  import { formatCount, formatDate, formatDay, formatDuration } from "../../../../../utils/format.ceeaafa10a0563f3.js";
9
9
  import { iAgent, iClock, iDots, iFolder, iMonitor, iPlug, iPlus, iTerminal } from "../../../../../comps/ui/icons.f769275420d072ce.js";
10
10
  import { Menu } from "../../../../../comps/ui/menu.7f558c7c6f6345d5.js";
11
11
  import { MenuItem } from "../../../../../comps/ui/menu-items.759a1b1f7c5ee365.js";
12
12
  import { Link } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/link.tsx";
13
- import { PendingApprovals } from "./pending-approvals.7607998094780fdd.js";
13
+ import { PendingApprovals } from "./pending-approvals.7ff2eadf13a3ee90.js";
14
14
  import { useRouter } from "../../../../../../../../../../node_modules/@wular/pnext/src/api/client-navigation.ts";
15
15
  import { usePaged } from "../../../../../utils/paged.0e54c3044f8ca567.js";
16
16
  import { useZone } from "../../../../zone.0515a688ee5ff6ca.js";
17
- import { pendingApproval } from "../[id]/task-actions.4a4052a38db4bad3.js";
17
+ import { pendingApproval } from "../[id]/task-actions.783070d7dbd198e4.js";
18
18
  import { BrandIcon } from "../../agents/agent/agent-pills.1012e04bfbc7bffd.js";
19
19
  import { Button } from "../../../../../comps/ui/button.b62fa52e18fa338b.js";
20
20
  import { Card, Empty } from "../../../../../comps/ui/card.c0030eafd76587e3.js";
@@ -29,11 +29,11 @@ import { LIST_PAGE } from "../../../../../utils/paged.0e54c3044f8ca567.js";
29
29
  import { Search, Toolbar, queryOf, useFilters } from "../../../../../comps/ui/toolbar.ff8367c641d28c1e.js";
30
30
  import { Tail } from "../../../../../comps/ui/tail.7eb303330802ac18.js";
31
31
  import { SOURCES, STATUSES, folderName, listFilters, sourceLabel } from "./task.a25847399a4dfb30.js";
32
- import { NeedsCredential } from "../composer.ee326fbf5e526fb1.js";
33
- import { useTaskEvents } from "../../../../../comps/frame/task-toasts.3b7eeee29fc327de.js";
32
+ import { NeedsCredential } from "../composer.6a331de70f3baff4.js";
33
+ import { useTaskEvents } from "../../../../../comps/frame/task-toasts.b0ba5a1b4976ae27.js";
34
34
  import { useOrg } from "../../../../../comps/nav/org.853d173b55368728.js";
35
35
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
36
- const NewTaskButton = dynamic(() => import("../composer.ee326fbf5e526fb1.js").then((m) => m.NewTaskButton), {
36
+ const NewTaskButton = dynamic(() => import("../composer.6a331de70f3baff4.js").then((m) => m.NewTaskButton), {
37
37
  // TODO: stays disabled after client navigation until pnext SSRs nested dynamic() like Next.js.
38
38
  loading: () => /* @__PURE__ */ _jsx(Button, {
39
39
  class: "new-task",
@@ -43,7 +43,7 @@ loading: () => /* @__PURE__ */ _jsx(Button, {
43
43
  }) }, {
44
44
  "file": decodeURIComponent(new URL("../../../../../../../../../../../../../src/server/dash/app/dash/[org]/tasks/composer.tsx", import.meta.url).pathname),
45
45
  "exportName": "NewTaskButton",
46
- "id": "c-2a236216a0"
46
+ "id": "c-6ad71039d9"
47
47
  });
48
48
  const SOURCE_ICONS = {
49
49
  dashboard: iMonitor,
@@ -2,19 +2,19 @@ import "./tasks-list.f3737549b4696cc8.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
4
  import { FILTER_ROWS, LIST_PAGE } from "../../../../../utils/paged.0e54c3044f8ca567.js";
5
- import { load } from "../../../../../api/load.252f972b42c690e2.js";
6
- import { Settle } from "../../../../../comps/frame/stream.e3800e736f832124.js";
5
+ import { load } from "../../../../../api/load.3e1c235ecb89201a.js";
6
+ import { Settle } from "../../../../../comps/frame/stream.c7ffa724145ce870.js";
7
7
  import { LoadingCard, LoadingToolbar } from "../../../../../comps/frame/loading-card.77bea8c5870b5d3c.js";
8
8
  import { listFilters } from "./task.a25847399a4dfb30.js";
9
9
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
10
10
  // Rows arrive rendered; paging and filters hydrate once the list is in view.
11
- const TasksList = dynamic(() => import("./tasks-list.e486cbd16ea3e963.js").then((m) => m.TasksList), {
11
+ const TasksList = dynamic(() => import("./tasks-list.57c90c66384141a0.js").then((m) => m.TasksList), {
12
12
  load: "visible",
13
13
  ssr: true
14
14
  }, {
15
15
  "file": decodeURIComponent(new URL("../../../../../../../../../../../../../src/server/dash/app/dash/[org]/tasks/list/tasks-list.tsx", import.meta.url).pathname),
16
16
  "exportName": "TasksList",
17
- "id": "c-35847fbe08"
17
+ "id": "c-ca3ddc4b71"
18
18
  });
19
19
  /** A task list before it arrives; an agent's own tab has no head and no agent filter. */
20
20
  export function TasksLoading({ head }) {
@@ -1,8 +1,8 @@
1
- import { load } from "../../../../api/load.252f972b42c690e2.js";
1
+ import { load } from "../../../../api/load.3e1c235ecb89201a.js";
2
2
  import { HEADS } from "../../../../comps/frame/heads.37e35439c02fc636.js";
3
3
  import { Page } from "../../../../comps/frame/page-head.2eb1e0213eb50349.js";
4
- import { TasksSection, loadTasks } from "./list/tasks-section.01510523d1556d59.js";
5
- import { credentialMissing } from "./composer-data.73225456d60d63e3.js";
4
+ import { TasksSection, loadTasks } from "./list/tasks-section.22e4f86847e1a3e2.js";
5
+ import { credentialMissing } from "./composer-data.c16854be11a561e4.js";
6
6
  import { jsx as _jsx } from "../../../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";
7
7
  /** Every task, with New task in the head, and for an admin the changes waiting for their approval. */
8
8
  export default function TasksPage({ request }) {
@@ -2,11 +2,11 @@ import "./@/comps/ui/segmented.41728247cda62f82.css.pnext-asset.js";
2
2
  import "./@/app/dash/[org]/usage/range-bar.85d30ec5f022f124.css.pnext-asset.js";
3
3
  import { formatCompact, formatCount, formatDuration, zoneOf } from "../../../../utils/format.ceeaafa10a0563f3.js";
4
4
  import { daysIn, rangeFor } from "../../../../utils/range.f73ba9cac0a60af1.js";
5
- import { load, orgOf } from "../../../../api/load.252f972b42c690e2.js";
5
+ import { load, orgOf } from "../../../../api/load.3e1c235ecb89201a.js";
6
6
  import { Card } from "../../../../comps/ui/card.c0030eafd76587e3.js";
7
7
  import { Page, PageHead } from "../../../../comps/frame/page-head.2eb1e0213eb50349.js";
8
8
  import { Stat, Stats } from "./stats.de820599cf126120.js";
9
- import { Settle } from "../../../../comps/frame/stream.e3800e736f832124.js";
9
+ import { Settle } from "../../../../comps/frame/stream.c7ffa724145ce870.js";
10
10
  import { HEADS } from "../../../../comps/frame/heads.37e35439c02fc636.js";
11
11
  import { TopAgents } from "./top-agents.93c916167299ffb6.js";
12
12
  import { DayChart } from "./day-chart.20faaaf57c81ad9e.js";
@@ -1,5 +1,5 @@
1
1
  import { Suspense } from "../../../../../../../node_modules/preact/compat/dist/compat.mjs";
2
- import { signedOut } from "../../api/load.252f972b42c690e2.js";
2
+ import { signedOut } from "../../api/load.3e1c235ecb89201a.js";
3
3
  import { Card } from "../ui/card.c0030eafd76587e3.js";
4
4
  import { reasonText } from "../../utils/format.ceeaafa10a0563f3.js";
5
5
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "../../../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs";