@nextclaw/ui 0.27.5-beta.0 → 0.27.5-beta.1

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 (55) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/.vite/manifest.json +99 -99
  3. package/dist/assets/{account-panel-DgqicWMm.js → account-panel-C83GDFuy.js} +1 -1
  4. package/dist/assets/agents-CJA15zzv.js +1 -0
  5. package/dist/assets/{agents-CTSR4ZKb.js → agents-Dr2KkEp2.js} +1 -1
  6. package/dist/assets/{app-presenter-provider-DdD2Q7jZ.js → app-presenter-provider-Cx9MwMtb.js} +12 -12
  7. package/dist/assets/{appearance-settings-page-CSWYLrsR.js → appearance-settings-page-3IfIzjic.js} +1 -1
  8. package/dist/assets/apps-CvIlb9Rn.js +1 -0
  9. package/dist/assets/{confirm-dialog-jz2cQKId.js → confirm-dialog-D30HJBXN.js} +1 -1
  10. package/dist/assets/{context-menu-C0qywo73.js → context-menu-C6m-WNpl.js} +65 -65
  11. package/dist/assets/cron-BWZWu80t.js +1 -0
  12. package/dist/assets/{dialog-DMKYZDFu.js → dialog-DB_l9LK0.js} +1 -1
  13. package/dist/assets/doc-browser-DQDsmRlr.js +1 -0
  14. package/dist/assets/inbox-CIsD65lW.js +1 -0
  15. package/dist/assets/{keyboard-shortcuts-settings-page-BCxB9m69.js → keyboard-shortcuts-settings-page-L4kLGuB8.js} +1 -1
  16. package/dist/assets/{main-C6VGoYNO.js → main-BNWRrWc_.js} +2 -2
  17. package/dist/assets/{marketplace-CXCLbyho.js → marketplace-BH1Sq8dL.js} +1 -1
  18. package/dist/assets/mcp-marketplace-page-BA-InAbJ.js +1 -0
  19. package/dist/assets/{model-config-page-CeVvZ29o.js → model-config-page-zqVWyIT0.js} +1 -1
  20. package/dist/assets/panel-apps-CMX4iWwQ.js +1 -0
  21. package/dist/assets/{panelStandalone-DomappXm.js → panelStandalone-C38o5B4Q.js} +1 -1
  22. package/dist/assets/{projects-BWM-oEo0.js → projects-DNe43T2d.js} +1 -1
  23. package/dist/assets/{provider-models-D8WOdsdu.js → provider-models-zGsDUBHG.js} +1 -1
  24. package/dist/assets/{provider-scoped-model-input-BOPkUOtD.js → provider-scoped-model-input-DpEyP1h8.js} +1 -1
  25. package/dist/assets/{providers-config-page-BilPL0kF.js → providers-config-page-J-1auWPu.js} +1 -1
  26. package/dist/assets/{pwa-Cp7pPvsZ.js → pwa-jmuWbrqH.js} +1 -1
  27. package/dist/assets/remote-C7H2o46-.js +1 -0
  28. package/dist/assets/{runtime-config-page-Dx6lWn3_.js → runtime-config-page-CJhqeDcu.js} +1 -1
  29. package/dist/assets/{service-apps-panel-9khaUSFI.js → service-apps-panel-Dj9okUgp.js} +1 -1
  30. package/dist/assets/{theme-provider-BsJ6HxeX.js → theme-provider-D4rd-tCP.js} +1 -1
  31. package/dist/index.html +10 -10
  32. package/dist/panel-standalone.html +4 -4
  33. package/package.json +7 -7
  34. package/src/features/marketplace/components/detail-doc/__tests__/marketplace-detail-doc.test.tsx +2 -0
  35. package/src/features/panel-apps/components/panel-app-runtime-surface.tsx +3 -1
  36. package/src/features/panel-apps/utils/panel-app-doc-browser.utils.tsx +25 -10
  37. package/src/features/right-panel-resources/components/__tests__/system-object-resource.test.tsx +25 -3
  38. package/src/features/right-panel-resources/components/native-object-resource.tsx +3 -1
  39. package/src/features/right-panel-resources/components/system-object-resource.tsx +15 -1
  40. package/src/features/right-panel-resources/pages/resource-page.tsx +29 -2
  41. package/src/shared/components/doc-browser/__tests__/doc-browser.test.tsx +16 -13
  42. package/src/shared/components/doc-browser/doc-browser-renderer.types.ts +3 -0
  43. package/src/shared/components/doc-browser/doc-browser.tsx +7 -1
  44. package/src/shared/components/ui/context-menu/context-menu-items.tsx +1 -0
  45. package/src/shared/components/ui/context-menu/context-menu.tsx +9 -0
  46. package/dist/assets/agents-i7167DcF.js +0 -1
  47. package/dist/assets/apps-DUP3aPpu.js +0 -1
  48. package/dist/assets/cron-DPBUHn7j.js +0 -1
  49. package/dist/assets/doc-browser-C7kvXGc_.js +0 -1
  50. package/dist/assets/inbox-C09MQO9k.js +0 -1
  51. package/dist/assets/mcp-marketplace-page-ZAm380SB.js +0 -1
  52. package/dist/assets/panel-apps-BQlyeAId.js +0 -1
  53. package/dist/assets/remote-DngM8iep.js +0 -1
  54. package/src/features/panel-apps/components/__tests__/panel-app-toolbar.test.tsx +0 -108
  55. package/src/features/panel-apps/components/panel-app-toolbar.tsx +0 -89
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @nextclaw/ui
2
2
 
3
+ ## 0.27.5-beta.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 40087f5: 右侧面板中的 Panel App 现在统一从宿主标签的更多操作中手动刷新,不再占用附加标题行。更新后的页面资源无需关闭应用即可生效,并保留应用数据和授权。
8
+ - Updated dependencies [32a38da]
9
+ - @nextclaw/agent-chat-ui@0.12.4-beta.0
10
+ - @nextclaw/ncp-toolkit@0.6.28
11
+ - @nextclaw/client-sdk@0.12.14-beta.1
12
+
3
13
  ## 0.27.5-beta.0
4
14
 
5
15
  ### Patch Changes
@@ -1191,26 +1191,26 @@
1191
1191
  "src": "../../node_modules/.pnpm/xlsx@https+++cdn.sheetjs.com+xlsx-0.20.3+xlsx-0.20.3.tgz/node_modules/xlsx/xlsx.mjs",
1192
1192
  "isDynamicEntry": true
1193
1193
  },
1194
- "_agents-CTSR4ZKb.js": {
1195
- "file": "assets/agents-CTSR4ZKb.js",
1194
+ "_agents-Dr2KkEp2.js": {
1195
+ "file": "assets/agents-Dr2KkEp2.js",
1196
1196
  "name": "agents",
1197
1197
  "imports": [
1198
1198
  "_chunk-DF37yw5_.js",
1199
1199
  "_dist-D9h2cWk3.js",
1200
- "_app-presenter-provider-DdD2Q7jZ.js",
1201
- "_context-menu-C0qywo73.js",
1200
+ "_app-presenter-provider-Cx9MwMtb.js",
1201
+ "_context-menu-C6m-WNpl.js",
1202
1202
  "_api-CXWxExzS.js",
1203
1203
  "_createLucideIcon-C3LSyx-e.js",
1204
- "_provider-scoped-model-input-BOPkUOtD.js",
1204
+ "_provider-scoped-model-input-DpEyP1h8.js",
1205
1205
  "_inbox-CI8ATevA.js",
1206
1206
  "_plus-C42o6xrD.js",
1207
1207
  "_settings-2-D3-m8a3v.js",
1208
1208
  "_trash-2-BVQs-0ji.js",
1209
1209
  "_navigation-link-O9Wm0epj.js",
1210
1210
  "_tag-chip-DFzDSvcF.js",
1211
- "_dialog-DMKYZDFu.js",
1211
+ "_dialog-DB_l9LK0.js",
1212
1212
  "_card-eFBmxYiI.js",
1213
- "_provider-models-D8WOdsdu.js",
1213
+ "_provider-models-zGsDUBHG.js",
1214
1214
  "_select-BJ-EjmCz.js",
1215
1215
  "_use-config-M1L4xn8c.js",
1216
1216
  "_i18n-ByVUrt9w.js"
@@ -1224,24 +1224,20 @@
1224
1224
  "_i18n-ByVUrt9w.js"
1225
1225
  ]
1226
1226
  },
1227
- "_app-presenter-provider-D3BuuOyZ.css": {
1228
- "file": "assets/app-presenter-provider-D3BuuOyZ.css",
1229
- "src": "_app-presenter-provider-D3BuuOyZ.css"
1230
- },
1231
- "_app-presenter-provider-DdD2Q7jZ.js": {
1232
- "file": "assets/app-presenter-provider-DdD2Q7jZ.js",
1227
+ "_app-presenter-provider-Cx9MwMtb.js": {
1228
+ "file": "assets/app-presenter-provider-Cx9MwMtb.js",
1233
1229
  "name": "app-presenter-provider",
1234
1230
  "imports": [
1235
1231
  "_chunk-DF37yw5_.js",
1236
1232
  "_preload-helper-DWTEM3RW.js",
1237
1233
  "_dist-D9h2cWk3.js",
1238
- "_context-menu-C0qywo73.js",
1234
+ "_context-menu-C6m-WNpl.js",
1239
1235
  "_api-CXWxExzS.js",
1240
1236
  "_createLucideIcon-C3LSyx-e.js",
1241
1237
  "_puzzle-DmKVREoh.js",
1242
1238
  "_search-Dpgv--de.js",
1243
1239
  "_book-open-B3Ac0voD.js",
1244
- "_theme-provider-BsJ6HxeX.js",
1240
+ "_theme-provider-D4rd-tCP.js",
1245
1241
  "_download-C2gYe8n1.js",
1246
1242
  "_external-link-DZzwHRHW.js",
1247
1243
  "_inbox-CI8ATevA.js",
@@ -1256,10 +1252,10 @@
1256
1252
  "_status-dot-DlELD18e.js",
1257
1253
  "_doc-browser-context-CoVMIiU8.js",
1258
1254
  "_tag-chip-DFzDSvcF.js",
1259
- "_dialog-DMKYZDFu.js",
1255
+ "_dialog-DB_l9LK0.js",
1260
1256
  "_card-eFBmxYiI.js",
1261
- "_confirm-dialog-jz2cQKId.js",
1262
- "_provider-models-D8WOdsdu.js",
1257
+ "_confirm-dialog-D30HJBXN.js",
1258
+ "_provider-models-zGsDUBHG.js",
1263
1259
  "_select-BJ-EjmCz.js",
1264
1260
  "_use-config-M1L4xn8c.js",
1265
1261
  "_host-capabilities-B107nwS3.js",
@@ -1271,8 +1267,8 @@
1271
1267
  "../../node_modules/.pnpm/@aiden0z+pptx-renderer@1.2.4/node_modules/@aiden0z/pptx-renderer/dist/aiden0z-pptx-renderer.es.js",
1272
1268
  "../../node_modules/.pnpm/xlsx@https+++cdn.sheetjs.com+xlsx-0.20.3+xlsx-0.20.3.tgz/node_modules/xlsx/xlsx.mjs",
1273
1269
  "src/features/service-apps/components/service-apps-panel.tsx",
1274
- "_app-presenter-provider-DdD2Q7jZ.js",
1275
- "_agents-CTSR4ZKb.js",
1270
+ "_app-presenter-provider-Cx9MwMtb.js",
1271
+ "_agents-Dr2KkEp2.js",
1276
1272
  "src/features/projects/index.ts",
1277
1273
  "src/features/account/components/account-panel.tsx"
1278
1274
  ],
@@ -1280,6 +1276,10 @@
1280
1276
  "assets/app-presenter-provider-D3BuuOyZ.css"
1281
1277
  ]
1282
1278
  },
1279
+ "_app-presenter-provider-D3BuuOyZ.css": {
1280
+ "file": "assets/app-presenter-provider-D3BuuOyZ.css",
1281
+ "src": "_app-presenter-provider-D3BuuOyZ.css"
1282
+ },
1283
1283
  "_arc-cmSdpq1Z.js": {
1284
1284
  "file": "assets/arc-cmSdpq1Z.js",
1285
1285
  "name": "arc",
@@ -1707,18 +1707,18 @@
1707
1707
  "_i18n-ByVUrt9w.js"
1708
1708
  ]
1709
1709
  },
1710
- "_confirm-dialog-jz2cQKId.js": {
1711
- "file": "assets/confirm-dialog-jz2cQKId.js",
1710
+ "_confirm-dialog-D30HJBXN.js": {
1711
+ "file": "assets/confirm-dialog-D30HJBXN.js",
1712
1712
  "name": "confirm-dialog",
1713
1713
  "imports": [
1714
1714
  "_chunk-DF37yw5_.js",
1715
1715
  "_api-CXWxExzS.js",
1716
- "_dialog-DMKYZDFu.js",
1716
+ "_dialog-DB_l9LK0.js",
1717
1717
  "_i18n-ByVUrt9w.js"
1718
1718
  ]
1719
1719
  },
1720
- "_context-menu-C0qywo73.js": {
1721
- "file": "assets/context-menu-C0qywo73.js",
1720
+ "_context-menu-C6m-WNpl.js": {
1721
+ "file": "assets/context-menu-C6m-WNpl.js",
1722
1722
  "name": "context-menu",
1723
1723
  "imports": [
1724
1724
  "_chunk-DF37yw5_.js",
@@ -1829,12 +1829,12 @@
1829
1829
  "file": "assets/defaultLocale-Bmxjp-V_.js",
1830
1830
  "name": "defaultLocale"
1831
1831
  },
1832
- "_dialog-DMKYZDFu.js": {
1833
- "file": "assets/dialog-DMKYZDFu.js",
1832
+ "_dialog-DB_l9LK0.js": {
1833
+ "file": "assets/dialog-DB_l9LK0.js",
1834
1834
  "name": "dialog",
1835
1835
  "imports": [
1836
1836
  "_chunk-DF37yw5_.js",
1837
- "_context-menu-C0qywo73.js",
1837
+ "_context-menu-C6m-WNpl.js",
1838
1838
  "_api-CXWxExzS.js",
1839
1839
  "_x-waP-WLuT.js",
1840
1840
  "_i18n-ByVUrt9w.js"
@@ -2049,24 +2049,24 @@
2049
2049
  "file": "assets/preload-helper-DWTEM3RW.js",
2050
2050
  "name": "preload-helper"
2051
2051
  },
2052
- "_provider-models-D8WOdsdu.js": {
2053
- "file": "assets/provider-models-D8WOdsdu.js",
2052
+ "_provider-models-zGsDUBHG.js": {
2053
+ "file": "assets/provider-models-zGsDUBHG.js",
2054
2054
  "name": "provider-models",
2055
2055
  "imports": [
2056
2056
  "_chunk-DF37yw5_.js",
2057
- "_context-menu-C0qywo73.js",
2057
+ "_context-menu-C6m-WNpl.js",
2058
2058
  "_api-CXWxExzS.js"
2059
2059
  ]
2060
2060
  },
2061
- "_provider-scoped-model-input-BOPkUOtD.js": {
2062
- "file": "assets/provider-scoped-model-input-BOPkUOtD.js",
2061
+ "_provider-scoped-model-input-DpEyP1h8.js": {
2062
+ "file": "assets/provider-scoped-model-input-DpEyP1h8.js",
2063
2063
  "name": "provider-scoped-model-input",
2064
2064
  "imports": [
2065
2065
  "_chunk-DF37yw5_.js",
2066
2066
  "_dist-D9h2cWk3.js",
2067
2067
  "_api-CXWxExzS.js",
2068
2068
  "_createLucideIcon-C3LSyx-e.js",
2069
- "_provider-models-D8WOdsdu.js",
2069
+ "_provider-models-zGsDUBHG.js",
2070
2070
  "_select-BJ-EjmCz.js",
2071
2071
  "_i18n-ByVUrt9w.js"
2072
2072
  ]
@@ -2078,13 +2078,13 @@
2078
2078
  "_createLucideIcon-C3LSyx-e.js"
2079
2079
  ]
2080
2080
  },
2081
- "_pwa-Cp7pPvsZ.js": {
2082
- "file": "assets/pwa-Cp7pPvsZ.js",
2081
+ "_pwa-jmuWbrqH.js": {
2082
+ "file": "assets/pwa-jmuWbrqH.js",
2083
2083
  "name": "pwa",
2084
2084
  "imports": [
2085
2085
  "_api-CXWxExzS.js",
2086
2086
  "_createLucideIcon-C3LSyx-e.js",
2087
- "_theme-provider-BsJ6HxeX.js",
2087
+ "_theme-provider-D4rd-tCP.js",
2088
2088
  "_download-C2gYe8n1.js",
2089
2089
  "_x-waP-WLuT.js",
2090
2090
  "_i18n-ByVUrt9w.js"
@@ -2162,15 +2162,15 @@
2162
2162
  "_api-CXWxExzS.js"
2163
2163
  ]
2164
2164
  },
2165
- "_theme-provider-BsJ6HxeX.js": {
2166
- "file": "assets/theme-provider-BsJ6HxeX.js",
2165
+ "_theme-provider-D4rd-tCP.js": {
2166
+ "file": "assets/theme-provider-D4rd-tCP.js",
2167
2167
  "name": "theme-provider",
2168
2168
  "imports": [
2169
2169
  "_chunk-DF37yw5_.js",
2170
- "_context-menu-C0qywo73.js",
2170
+ "_context-menu-C6m-WNpl.js",
2171
2171
  "_api-CXWxExzS.js",
2172
2172
  "_createLucideIcon-C3LSyx-e.js",
2173
- "_dialog-DMKYZDFu.js",
2173
+ "_dialog-DB_l9LK0.js",
2174
2174
  "_i18n-ByVUrt9w.js",
2175
2175
  "_navigation-history-CCnxsAKR.js"
2176
2176
  ]
@@ -2215,7 +2215,7 @@
2215
2215
  ]
2216
2216
  },
2217
2217
  "index.html": {
2218
- "file": "assets/main-C6VGoYNO.js",
2218
+ "file": "assets/main-BNWRrWc_.js",
2219
2219
  "name": "main",
2220
2220
  "src": "index.html",
2221
2221
  "isEntry": true,
@@ -2223,13 +2223,13 @@
2223
2223
  "_chunk-DF37yw5_.js",
2224
2224
  "_client-BDS360Kz.js",
2225
2225
  "_preload-helper-DWTEM3RW.js",
2226
- "_app-presenter-provider-DdD2Q7jZ.js",
2227
- "_context-menu-C0qywo73.js",
2226
+ "_app-presenter-provider-Cx9MwMtb.js",
2227
+ "_context-menu-C6m-WNpl.js",
2228
2228
  "_api-CXWxExzS.js",
2229
- "_theme-provider-BsJ6HxeX.js",
2230
- "_agents-CTSR4ZKb.js",
2229
+ "_theme-provider-D4rd-tCP.js",
2230
+ "_agents-Dr2KkEp2.js",
2231
2231
  "_use-viewport-layout-Bnm5W5Qz.js",
2232
- "_pwa-Cp7pPvsZ.js",
2232
+ "_pwa-jmuWbrqH.js",
2233
2233
  "_navigation-link-O9Wm0epj.js",
2234
2234
  "_login-page--Njgbmpm.js",
2235
2235
  "_doc-browser-context-CoVMIiU8.js",
@@ -2250,14 +2250,14 @@
2250
2250
  "src/features/settings/pages/secrets-config-page.tsx",
2251
2251
  "src/features/settings/pages/privacy-settings-page.tsx",
2252
2252
  "src/features/desktop-capabilities/pages/desktop-capabilities-page.tsx",
2253
- "_app-presenter-provider-DdD2Q7jZ.js"
2253
+ "_app-presenter-provider-Cx9MwMtb.js"
2254
2254
  ],
2255
2255
  "css": [
2256
2256
  "assets/main-kp_0b1bg.css"
2257
2257
  ]
2258
2258
  },
2259
2259
  "panel-standalone.html": {
2260
- "file": "assets/panelStandalone-DomappXm.js",
2260
+ "file": "assets/panelStandalone-C38o5B4Q.js",
2261
2261
  "name": "panelStandalone",
2262
2262
  "src": "panel-standalone.html",
2263
2263
  "isEntry": true,
@@ -2266,7 +2266,7 @@
2266
2266
  "_client-BDS360Kz.js",
2267
2267
  "_preload-helper-DWTEM3RW.js",
2268
2268
  "_api-CXWxExzS.js",
2269
- "_theme-provider-BsJ6HxeX.js",
2269
+ "_theme-provider-D4rd-tCP.js",
2270
2270
  "_i18n-ByVUrt9w.js"
2271
2271
  ],
2272
2272
  "dynamicImports": [
@@ -2277,17 +2277,17 @@
2277
2277
  ]
2278
2278
  },
2279
2279
  "src/features/account/components/account-panel.tsx": {
2280
- "file": "assets/account-panel-DgqicWMm.js",
2280
+ "file": "assets/account-panel-C83GDFuy.js",
2281
2281
  "name": "account-panel",
2282
2282
  "src": "src/features/account/components/account-panel.tsx",
2283
2283
  "isDynamicEntry": true,
2284
2284
  "imports": [
2285
2285
  "_chunk-DF37yw5_.js",
2286
- "_app-presenter-provider-DdD2Q7jZ.js",
2286
+ "_app-presenter-provider-Cx9MwMtb.js",
2287
2287
  "_api-CXWxExzS.js",
2288
2288
  "_createLucideIcon-C3LSyx-e.js",
2289
2289
  "_use-viewport-layout-Bnm5W5Qz.js",
2290
- "_dialog-DMKYZDFu.js",
2290
+ "_dialog-DB_l9LK0.js",
2291
2291
  "_i18n-ByVUrt9w.js"
2292
2292
  ]
2293
2293
  },
@@ -2301,21 +2301,21 @@
2301
2301
  ]
2302
2302
  },
2303
2303
  "src/features/agents/index.ts": {
2304
- "file": "assets/agents-i7167DcF.js",
2304
+ "file": "assets/agents-CJA15zzv.js",
2305
2305
  "name": "agents",
2306
2306
  "src": "src/features/agents/index.ts",
2307
2307
  "isDynamicEntry": true,
2308
2308
  "imports": [
2309
- "_agents-CTSR4ZKb.js"
2309
+ "_agents-Dr2KkEp2.js"
2310
2310
  ]
2311
2311
  },
2312
2312
  "src/features/apps/index.ts": {
2313
- "file": "assets/apps-DUP3aPpu.js",
2313
+ "file": "assets/apps-CvIlb9Rn.js",
2314
2314
  "name": "apps",
2315
2315
  "src": "src/features/apps/index.ts",
2316
2316
  "isDynamicEntry": true,
2317
2317
  "imports": [
2318
- "_app-presenter-provider-DdD2Q7jZ.js"
2318
+ "_app-presenter-provider-Cx9MwMtb.js"
2319
2319
  ]
2320
2320
  },
2321
2321
  "src/features/channels/pages/channels-list-page.tsx": {
@@ -2345,12 +2345,12 @@
2345
2345
  ]
2346
2346
  },
2347
2347
  "src/features/cron/index.ts": {
2348
- "file": "assets/cron-DPBUHn7j.js",
2348
+ "file": "assets/cron-BWZWu80t.js",
2349
2349
  "name": "cron",
2350
2350
  "src": "src/features/cron/index.ts",
2351
2351
  "isDynamicEntry": true,
2352
2352
  "imports": [
2353
- "_app-presenter-provider-DdD2Q7jZ.js"
2353
+ "_app-presenter-provider-Cx9MwMtb.js"
2354
2354
  ]
2355
2355
  },
2356
2356
  "src/features/desktop-capabilities/pages/desktop-capabilities-page.tsx": {
@@ -2378,53 +2378,53 @@
2378
2378
  ]
2379
2379
  },
2380
2380
  "src/features/inbox/index.ts": {
2381
- "file": "assets/inbox-C09MQO9k.js",
2381
+ "file": "assets/inbox-CIsD65lW.js",
2382
2382
  "name": "inbox",
2383
2383
  "src": "src/features/inbox/index.ts",
2384
2384
  "isDynamicEntry": true,
2385
2385
  "imports": [
2386
- "_app-presenter-provider-DdD2Q7jZ.js"
2386
+ "_app-presenter-provider-Cx9MwMtb.js"
2387
2387
  ]
2388
2388
  },
2389
2389
  "src/features/marketplace/components/mcp/mcp-marketplace-page.tsx": {
2390
- "file": "assets/mcp-marketplace-page-ZAm380SB.js",
2390
+ "file": "assets/mcp-marketplace-page-BA-InAbJ.js",
2391
2391
  "name": "mcp-marketplace-page",
2392
2392
  "src": "src/features/marketplace/components/mcp/mcp-marketplace-page.tsx",
2393
2393
  "isDynamicEntry": true,
2394
2394
  "imports": [
2395
- "_app-presenter-provider-DdD2Q7jZ.js"
2395
+ "_app-presenter-provider-Cx9MwMtb.js"
2396
2396
  ]
2397
2397
  },
2398
2398
  "src/features/marketplace/index.ts": {
2399
- "file": "assets/marketplace-CXCLbyho.js",
2399
+ "file": "assets/marketplace-BH1Sq8dL.js",
2400
2400
  "name": "marketplace",
2401
2401
  "src": "src/features/marketplace/index.ts",
2402
2402
  "isDynamicEntry": true,
2403
2403
  "imports": [
2404
- "_app-presenter-provider-DdD2Q7jZ.js",
2404
+ "_app-presenter-provider-Cx9MwMtb.js",
2405
2405
  "_api-CXWxExzS.js"
2406
2406
  ]
2407
2407
  },
2408
2408
  "src/features/panel-apps/index.ts": {
2409
- "file": "assets/panel-apps-BQlyeAId.js",
2409
+ "file": "assets/panel-apps-CMX4iWwQ.js",
2410
2410
  "name": "panel-apps",
2411
2411
  "src": "src/features/panel-apps/index.ts",
2412
2412
  "isDynamicEntry": true,
2413
2413
  "imports": [
2414
- "_app-presenter-provider-DdD2Q7jZ.js",
2415
- "_theme-provider-BsJ6HxeX.js"
2414
+ "_app-presenter-provider-Cx9MwMtb.js",
2415
+ "_theme-provider-D4rd-tCP.js"
2416
2416
  ]
2417
2417
  },
2418
2418
  "src/features/projects/index.ts": {
2419
- "file": "assets/projects-BWM-oEo0.js",
2419
+ "file": "assets/projects-DNe43T2d.js",
2420
2420
  "name": "projects",
2421
2421
  "src": "src/features/projects/index.ts",
2422
2422
  "isDynamicEntry": true,
2423
2423
  "imports": [
2424
2424
  "_chunk-DF37yw5_.js",
2425
2425
  "_dist-D9h2cWk3.js",
2426
- "_app-presenter-provider-DdD2Q7jZ.js",
2427
- "_context-menu-C0qywo73.js",
2426
+ "_app-presenter-provider-Cx9MwMtb.js",
2427
+ "_context-menu-C6m-WNpl.js",
2428
2428
  "_api-CXWxExzS.js",
2429
2429
  "_createLucideIcon-C3LSyx-e.js",
2430
2430
  "_circle-dashed-KGwElDWV.js",
@@ -2435,73 +2435,73 @@
2435
2435
  "_trash-2-BVQs-0ji.js",
2436
2436
  "_navigation-link-O9Wm0epj.js",
2437
2437
  "_tag-chip-DFzDSvcF.js",
2438
- "_dialog-DMKYZDFu.js",
2438
+ "_dialog-DB_l9LK0.js",
2439
2439
  "_card-eFBmxYiI.js",
2440
- "_confirm-dialog-jz2cQKId.js",
2440
+ "_confirm-dialog-D30HJBXN.js",
2441
2441
  "_select-BJ-EjmCz.js",
2442
2442
  "_i18n-ByVUrt9w.js"
2443
2443
  ]
2444
2444
  },
2445
2445
  "src/features/remote/index.ts": {
2446
- "file": "assets/remote-DngM8iep.js",
2446
+ "file": "assets/remote-C7H2o46-.js",
2447
2447
  "name": "remote",
2448
2448
  "src": "src/features/remote/index.ts",
2449
2449
  "isDynamicEntry": true,
2450
2450
  "imports": [
2451
- "_app-presenter-provider-DdD2Q7jZ.js"
2451
+ "_app-presenter-provider-Cx9MwMtb.js"
2452
2452
  ]
2453
2453
  },
2454
2454
  "src/features/service-apps/components/service-apps-panel.tsx": {
2455
- "file": "assets/service-apps-panel-9khaUSFI.js",
2455
+ "file": "assets/service-apps-panel-Dj9okUgp.js",
2456
2456
  "name": "service-apps-panel",
2457
2457
  "src": "src/features/service-apps/components/service-apps-panel.tsx",
2458
2458
  "isDynamicEntry": true,
2459
2459
  "imports": [
2460
2460
  "_chunk-DF37yw5_.js",
2461
2461
  "_dist-D9h2cWk3.js",
2462
- "_app-presenter-provider-DdD2Q7jZ.js",
2463
- "_context-menu-C0qywo73.js",
2462
+ "_app-presenter-provider-Cx9MwMtb.js",
2463
+ "_context-menu-C6m-WNpl.js",
2464
2464
  "_api-CXWxExzS.js",
2465
2465
  "_createLucideIcon-C3LSyx-e.js",
2466
- "_theme-provider-BsJ6HxeX.js",
2466
+ "_theme-provider-D4rd-tCP.js",
2467
2467
  "_circle-dashed-KGwElDWV.js",
2468
2468
  "_x-waP-WLuT.js",
2469
2469
  "_refresh-cw-DOg2pWGu.js",
2470
2470
  "_trash-2-BVQs-0ji.js",
2471
- "_dialog-DMKYZDFu.js",
2472
- "_provider-models-D8WOdsdu.js",
2471
+ "_dialog-DB_l9LK0.js",
2472
+ "_provider-models-zGsDUBHG.js",
2473
2473
  "_i18n-ByVUrt9w.js"
2474
2474
  ]
2475
2475
  },
2476
2476
  "src/features/settings/pages/appearance-settings-page.tsx": {
2477
- "file": "assets/appearance-settings-page-CSWYLrsR.js",
2477
+ "file": "assets/appearance-settings-page-3IfIzjic.js",
2478
2478
  "name": "appearance-settings-page",
2479
2479
  "src": "src/features/settings/pages/appearance-settings-page.tsx",
2480
2480
  "isDynamicEntry": true,
2481
2481
  "imports": [
2482
2482
  "_chunk-DF37yw5_.js",
2483
2483
  "_dist-D9h2cWk3.js",
2484
- "_app-presenter-provider-DdD2Q7jZ.js",
2484
+ "_app-presenter-provider-Cx9MwMtb.js",
2485
2485
  "_api-CXWxExzS.js",
2486
- "_theme-provider-BsJ6HxeX.js",
2486
+ "_theme-provider-D4rd-tCP.js",
2487
2487
  "_select-BJ-EjmCz.js",
2488
2488
  "_i18n-ByVUrt9w.js"
2489
2489
  ]
2490
2490
  },
2491
2491
  "src/features/settings/pages/keyboard-shortcuts-settings-page.tsx": {
2492
- "file": "assets/keyboard-shortcuts-settings-page-BCxB9m69.js",
2492
+ "file": "assets/keyboard-shortcuts-settings-page-L4kLGuB8.js",
2493
2493
  "name": "keyboard-shortcuts-settings-page",
2494
2494
  "src": "src/features/settings/pages/keyboard-shortcuts-settings-page.tsx",
2495
2495
  "isDynamicEntry": true,
2496
2496
  "imports": [
2497
- "_app-presenter-provider-DdD2Q7jZ.js",
2497
+ "_app-presenter-provider-Cx9MwMtb.js",
2498
2498
  "_api-CXWxExzS.js",
2499
2499
  "_use-viewport-layout-Bnm5W5Qz.js",
2500
2500
  "_i18n-ByVUrt9w.js"
2501
2501
  ]
2502
2502
  },
2503
2503
  "src/features/settings/pages/model-config-page.tsx": {
2504
- "file": "assets/model-config-page-CeVvZ29o.js",
2504
+ "file": "assets/model-config-page-zqVWyIT0.js",
2505
2505
  "name": "model-config-page",
2506
2506
  "src": "src/features/settings/pages/model-config-page.tsx",
2507
2507
  "isDynamicEntry": true,
@@ -2509,12 +2509,12 @@
2509
2509
  "_chunk-DF37yw5_.js",
2510
2510
  "_api-CXWxExzS.js",
2511
2511
  "_book-open-B3Ac0voD.js",
2512
- "_provider-scoped-model-input-BOPkUOtD.js",
2512
+ "_provider-scoped-model-input-DpEyP1h8.js",
2513
2513
  "_x-waP-WLuT.js",
2514
2514
  "_navigation-link-O9Wm0epj.js",
2515
2515
  "_doc-browser-context-CoVMIiU8.js",
2516
2516
  "_form-actions-CZxcWXSm.js",
2517
- "_provider-models-D8WOdsdu.js",
2517
+ "_provider-models-zGsDUBHG.js",
2518
2518
  "_use-config-M1L4xn8c.js",
2519
2519
  "_config-hints-CaB3I7KP.js",
2520
2520
  "_i18n-ByVUrt9w.js"
@@ -2533,14 +2533,14 @@
2533
2533
  ]
2534
2534
  },
2535
2535
  "src/features/settings/pages/providers-config-page.tsx": {
2536
- "file": "assets/providers-config-page-BilPL0kF.js",
2536
+ "file": "assets/providers-config-page-J-1auWPu.js",
2537
2537
  "name": "providers-config-page",
2538
2538
  "src": "src/features/settings/pages/providers-config-page.tsx",
2539
2539
  "isDynamicEntry": true,
2540
2540
  "imports": [
2541
2541
  "_chunk-DF37yw5_.js",
2542
2542
  "_dist-D9h2cWk3.js",
2543
- "_context-menu-C0qywo73.js",
2543
+ "_context-menu-C6m-WNpl.js",
2544
2544
  "_api-CXWxExzS.js",
2545
2545
  "_createLucideIcon-C3LSyx-e.js",
2546
2546
  "_search-Dpgv--de.js",
@@ -2554,8 +2554,8 @@
2554
2554
  "_status-dot-DlELD18e.js",
2555
2555
  "_config-split-page-BaHtm9OW.js",
2556
2556
  "_form-actions-CZxcWXSm.js",
2557
- "_confirm-dialog-jz2cQKId.js",
2558
- "_provider-models-D8WOdsdu.js",
2557
+ "_confirm-dialog-D30HJBXN.js",
2558
+ "_provider-models-zGsDUBHG.js",
2559
2559
  "_select-BJ-EjmCz.js",
2560
2560
  "_use-config-M1L4xn8c.js",
2561
2561
  "_config-hints-CaB3I7KP.js",
@@ -2624,20 +2624,20 @@
2624
2624
  ]
2625
2625
  },
2626
2626
  "src/features/system-status/pages/runtime-config-page.tsx": {
2627
- "file": "assets/runtime-config-page-Dx6lWn3_.js",
2627
+ "file": "assets/runtime-config-page-CJhqeDcu.js",
2628
2628
  "name": "runtime-config-page",
2629
2629
  "src": "src/features/system-status/pages/runtime-config-page.tsx",
2630
2630
  "isDynamicEntry": true,
2631
2631
  "imports": [
2632
2632
  "_chunk-DF37yw5_.js",
2633
- "_app-presenter-provider-DdD2Q7jZ.js",
2634
- "_context-menu-C0qywo73.js",
2633
+ "_app-presenter-provider-Cx9MwMtb.js",
2634
+ "_context-menu-C6m-WNpl.js",
2635
2635
  "_api-CXWxExzS.js",
2636
2636
  "_x-waP-WLuT.js",
2637
2637
  "_plus-C42o6xrD.js",
2638
2638
  "_rotate-cw-CWFIat29.js",
2639
2639
  "_save-C1G0ZU-G.js",
2640
- "_pwa-Cp7pPvsZ.js",
2640
+ "_pwa-jmuWbrqH.js",
2641
2641
  "_trash-2-BVQs-0ji.js",
2642
2642
  "_form-actions-CZxcWXSm.js",
2643
2643
  "_select-BJ-EjmCz.js",
@@ -2646,12 +2646,12 @@
2646
2646
  ]
2647
2647
  },
2648
2648
  "src/shared/components/doc-browser/doc-browser.tsx": {
2649
- "file": "assets/doc-browser-C7kvXGc_.js",
2649
+ "file": "assets/doc-browser-DQDsmRlr.js",
2650
2650
  "name": "doc-browser",
2651
2651
  "src": "src/shared/components/doc-browser/doc-browser.tsx",
2652
2652
  "isDynamicEntry": true,
2653
2653
  "imports": [
2654
- "_app-presenter-provider-DdD2Q7jZ.js"
2654
+ "_app-presenter-provider-Cx9MwMtb.js"
2655
2655
  ]
2656
2656
  },
2657
2657
  "src/shared/lib/i18n/configs/main-i18n-catalog.config.ts": {
@@ -1 +1 @@
1
- import{i as e}from"./chunk-DF37yw5_.js";import{Gt as t,Wt as n,Yt as r,ur as i,xr as a}from"./api-CXWxExzS.js";import{I as o,Qt as s,c,ft as l,r as u}from"./app-presenter-provider-DdD2Q7jZ.js";import{t as d}from"./createLucideIcon-C3LSyx-e.js";import{i as f}from"./use-viewport-layout-Bnm5W5Qz.js";import{n as p,s as m}from"./i18n-ByVUrt9w.js";import{a as h,n as g,o as _,r as v,t as y}from"./dialog-DMKYZDFu.js";var b=d(`LogOut`,[[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}],[`polyline`,{points:`16 17 21 12 16 7`,key:`1gabdz`}],[`line`,{x1:`21`,x2:`9`,y1:`12`,y2:`12`,key:`1uyos4`}]]),x=e(a(),1),S=i();function C({label:e,value:t}){return(0,S.jsxs)(`div`,{className:`flex items-start justify-between gap-4 py-2 text-sm`,children:[(0,S.jsx)(`span`,{className:`text-gray-500`,children:e}),(0,S.jsx)(`span`,{className:`text-right text-gray-900`,children:t?.trim()||`-`})]})}function w(e){let{email:i,username:a,role:o,canSubmitUsername:c,savingUsername:u,usernameDraft:d,onUsernameDraftChange:f,onSubmitUsername:p,onOpenDeviceList:h,onLogout:g}=e;return(0,S.jsxs)(`div`,{className:`space-y-4`,children:[(0,S.jsx)(l,{tone:`success`,title:m(`accountPanelSignedInTitle`),description:m(`accountPanelSignedInDescription`)}),(0,S.jsxs)(l,{tone:`neutral`,children:[(0,S.jsx)(C,{label:m(`remoteAccountEmail`),value:i}),(0,S.jsx)(C,{label:m(`remoteAccountUsername`),value:a}),(0,S.jsx)(C,{label:m(`remoteAccountRole`),value:o})]}),a?(0,S.jsx)(`p`,{className:`text-xs text-gray-500`,children:m(`remoteAccountUsernameLockedHelp`)}):(0,S.jsxs)(l,{tone:`warning`,title:m(`remoteAccountUsernameRequiredTitle`),description:m(`remoteAccountUsernameRequiredDescription`),children:[(0,S.jsxs)(`div`,{className:`mt-4 space-y-2`,children:[(0,S.jsx)(n,{htmlFor:`account-panel-username`,children:m(`remoteAccountUsername`)}),(0,S.jsx)(t,{id:`account-panel-username`,value:d,onChange:e=>f(e.target.value),placeholder:m(`remoteAccountUsernamePlaceholder`),autoCapitalize:`none`,autoCorrect:`off`,spellCheck:!1})]}),(0,S.jsx)(`div`,{className:`mt-4 flex flex-wrap gap-3`,children:(0,S.jsx)(r,{disabled:!c,onClick:()=>void p(),children:m(u?`remoteAccountUsernameSaving`:`remoteAccountUsernameSave`)})})]}),(0,S.jsxs)(`div`,{className:`flex flex-wrap gap-3`,children:[(0,S.jsxs)(r,{onClick:()=>void h(),children:[(0,S.jsx)(s,{className:`mr-2 h-4 w-4`}),m(`remoteOpenDeviceList`)]}),(0,S.jsxs)(r,{variant:`outline`,onClick:()=>void g(),children:[(0,S.jsx)(b,{className:`mr-2 h-4 w-4`}),m(`remoteLogout`)]})]})]})}function T(e){let{authSessionId:t,authExpiresAt:n,authStatusMessage:i,authVerificationUri:a,onStartBrowserSignIn:o,onResumeBrowserSignIn:s}=e;return(0,S.jsxs)(`div`,{className:`space-y-4`,children:[(0,S.jsx)(l,{tone:`neutral`,title:m(`accountPanelSignedOutTitle`),description:m(`accountPanelSignedOutDescription`),children:t?(0,S.jsxs)(`div`,{className:`mt-3 border-t border-white/80 pt-3`,children:[(0,S.jsx)(C,{label:m(`remoteBrowserAuthSession`),value:t}),(0,S.jsx)(C,{label:m(`remoteBrowserAuthExpiresAt`),value:n?p(n):`-`})]}):null}),i?(0,S.jsx)(`p`,{className:`text-sm text-gray-600`,children:i}):null,(0,S.jsxs)(`div`,{className:`flex flex-wrap gap-3`,children:[(0,S.jsx)(r,{onClick:()=>void o(),children:m(t?`remoteBrowserAuthActionRetry`:`remoteBrowserAuthAction`)}),a?(0,S.jsx)(r,{variant:`outline`,onClick:()=>void s(),children:m(`remoteBrowserAuthResume`)}):null]})]})}function E(){let e=u(),t=o(),n=c(e=>e.panelOpen),r=c(e=>e.authSessionId),i=c(e=>e.authVerificationUri),a=c(e=>e.authExpiresAt),s=c(e=>e.authStatusMessage),l=t.data,[d,p]=(0,x.useState)(``),[b,C]=(0,x.useState)(!1);(0,x.useEffect)(()=>{e.accountManager.syncRemoteStatus(l)},[e,l]);let E=!b&&d.trim().length>0&&!l?.account.username;return(0,S.jsx)(y,{open:n,onOpenChange:t=>t?e.accountManager.openAccountPanel():e.accountManager.closeAccountPanel(),children:(0,S.jsxs)(g,{className:`max-w-xl`,children:[(0,S.jsxs)(h,{children:[(0,S.jsxs)(_,{className:`flex items-center gap-2`,children:[(0,S.jsx)(f,{className:`h-5 w-5 text-primary`}),m(`accountPanelTitle`)]}),(0,S.jsx)(v,{children:m(`accountPanelDescription`)})]}),l?.account.loggedIn?(0,S.jsx)(w,{email:l.account.email,username:l.account.username,role:l.account.role,canSubmitUsername:E,savingUsername:b,usernameDraft:d,onUsernameDraftChange:p,onSubmitUsername:async()=>{C(!0);try{await e.accountManager.updateUsername(d)}finally{C(!1)}},onOpenDeviceList:()=>e.accountManager.openNextClawWeb(`/account`),onLogout:()=>e.accountManager.logout()}):(0,S.jsx)(T,{authSessionId:r,authExpiresAt:a,authStatusMessage:s,authVerificationUri:i,onStartBrowserSignIn:()=>e.accountManager.startBrowserSignIn(),onResumeBrowserSignIn:()=>e.accountManager.resumeBrowserSignIn()})]})})}export{E as AccountPanel};
1
+ import{i as e}from"./chunk-DF37yw5_.js";import{Gt as t,Wt as n,Yt as r,ur as i,xr as a}from"./api-CXWxExzS.js";import{I as o,Qt as s,c,ft as l,r as u}from"./app-presenter-provider-Cx9MwMtb.js";import{t as d}from"./createLucideIcon-C3LSyx-e.js";import{i as f}from"./use-viewport-layout-Bnm5W5Qz.js";import{n as p,s as m}from"./i18n-ByVUrt9w.js";import{a as h,n as g,o as _,r as v,t as y}from"./dialog-DB_l9LK0.js";var b=d(`LogOut`,[[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}],[`polyline`,{points:`16 17 21 12 16 7`,key:`1gabdz`}],[`line`,{x1:`21`,x2:`9`,y1:`12`,y2:`12`,key:`1uyos4`}]]),x=e(a(),1),S=i();function C({label:e,value:t}){return(0,S.jsxs)(`div`,{className:`flex items-start justify-between gap-4 py-2 text-sm`,children:[(0,S.jsx)(`span`,{className:`text-gray-500`,children:e}),(0,S.jsx)(`span`,{className:`text-right text-gray-900`,children:t?.trim()||`-`})]})}function w(e){let{email:i,username:a,role:o,canSubmitUsername:c,savingUsername:u,usernameDraft:d,onUsernameDraftChange:f,onSubmitUsername:p,onOpenDeviceList:h,onLogout:g}=e;return(0,S.jsxs)(`div`,{className:`space-y-4`,children:[(0,S.jsx)(l,{tone:`success`,title:m(`accountPanelSignedInTitle`),description:m(`accountPanelSignedInDescription`)}),(0,S.jsxs)(l,{tone:`neutral`,children:[(0,S.jsx)(C,{label:m(`remoteAccountEmail`),value:i}),(0,S.jsx)(C,{label:m(`remoteAccountUsername`),value:a}),(0,S.jsx)(C,{label:m(`remoteAccountRole`),value:o})]}),a?(0,S.jsx)(`p`,{className:`text-xs text-gray-500`,children:m(`remoteAccountUsernameLockedHelp`)}):(0,S.jsxs)(l,{tone:`warning`,title:m(`remoteAccountUsernameRequiredTitle`),description:m(`remoteAccountUsernameRequiredDescription`),children:[(0,S.jsxs)(`div`,{className:`mt-4 space-y-2`,children:[(0,S.jsx)(n,{htmlFor:`account-panel-username`,children:m(`remoteAccountUsername`)}),(0,S.jsx)(t,{id:`account-panel-username`,value:d,onChange:e=>f(e.target.value),placeholder:m(`remoteAccountUsernamePlaceholder`),autoCapitalize:`none`,autoCorrect:`off`,spellCheck:!1})]}),(0,S.jsx)(`div`,{className:`mt-4 flex flex-wrap gap-3`,children:(0,S.jsx)(r,{disabled:!c,onClick:()=>void p(),children:m(u?`remoteAccountUsernameSaving`:`remoteAccountUsernameSave`)})})]}),(0,S.jsxs)(`div`,{className:`flex flex-wrap gap-3`,children:[(0,S.jsxs)(r,{onClick:()=>void h(),children:[(0,S.jsx)(s,{className:`mr-2 h-4 w-4`}),m(`remoteOpenDeviceList`)]}),(0,S.jsxs)(r,{variant:`outline`,onClick:()=>void g(),children:[(0,S.jsx)(b,{className:`mr-2 h-4 w-4`}),m(`remoteLogout`)]})]})]})}function T(e){let{authSessionId:t,authExpiresAt:n,authStatusMessage:i,authVerificationUri:a,onStartBrowserSignIn:o,onResumeBrowserSignIn:s}=e;return(0,S.jsxs)(`div`,{className:`space-y-4`,children:[(0,S.jsx)(l,{tone:`neutral`,title:m(`accountPanelSignedOutTitle`),description:m(`accountPanelSignedOutDescription`),children:t?(0,S.jsxs)(`div`,{className:`mt-3 border-t border-white/80 pt-3`,children:[(0,S.jsx)(C,{label:m(`remoteBrowserAuthSession`),value:t}),(0,S.jsx)(C,{label:m(`remoteBrowserAuthExpiresAt`),value:n?p(n):`-`})]}):null}),i?(0,S.jsx)(`p`,{className:`text-sm text-gray-600`,children:i}):null,(0,S.jsxs)(`div`,{className:`flex flex-wrap gap-3`,children:[(0,S.jsx)(r,{onClick:()=>void o(),children:m(t?`remoteBrowserAuthActionRetry`:`remoteBrowserAuthAction`)}),a?(0,S.jsx)(r,{variant:`outline`,onClick:()=>void s(),children:m(`remoteBrowserAuthResume`)}):null]})]})}function E(){let e=u(),t=o(),n=c(e=>e.panelOpen),r=c(e=>e.authSessionId),i=c(e=>e.authVerificationUri),a=c(e=>e.authExpiresAt),s=c(e=>e.authStatusMessage),l=t.data,[d,p]=(0,x.useState)(``),[b,C]=(0,x.useState)(!1);(0,x.useEffect)(()=>{e.accountManager.syncRemoteStatus(l)},[e,l]);let E=!b&&d.trim().length>0&&!l?.account.username;return(0,S.jsx)(y,{open:n,onOpenChange:t=>t?e.accountManager.openAccountPanel():e.accountManager.closeAccountPanel(),children:(0,S.jsxs)(g,{className:`max-w-xl`,children:[(0,S.jsxs)(h,{children:[(0,S.jsxs)(_,{className:`flex items-center gap-2`,children:[(0,S.jsx)(f,{className:`h-5 w-5 text-primary`}),m(`accountPanelTitle`)]}),(0,S.jsx)(v,{children:m(`accountPanelDescription`)})]}),l?.account.loggedIn?(0,S.jsx)(w,{email:l.account.email,username:l.account.username,role:l.account.role,canSubmitUsername:E,savingUsername:b,usernameDraft:d,onUsernameDraftChange:p,onSubmitUsername:async()=>{C(!0);try{await e.accountManager.updateUsername(d)}finally{C(!1)}},onOpenDeviceList:()=>e.accountManager.openNextClawWeb(`/account`),onLogout:()=>e.accountManager.logout()}):(0,S.jsx)(T,{authSessionId:r,authExpiresAt:a,authStatusMessage:s,authVerificationUri:i,onStartBrowserSignIn:()=>e.accountManager.startBrowserSignIn(),onResumeBrowserSignIn:()=>e.accountManager.resumeBrowserSignIn()})]})})}export{E as AccountPanel};
@@ -0,0 +1 @@
1
+ import{t as e}from"./agents-Dr2KkEp2.js";export{e as AgentsPage};