@uibot/mcp-server 0.18.1 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/README.md +34 -0
  2. package/dist/http.js +93 -93
  3. package/dist/resources/bundle.json +1 -1
  4. package/dist/resources/design-md/frontend-principles.design.md +12 -0
  5. package/dist/resources/shells/shadcn-admin-shell.yaml +5 -4
  6. package/dist/resources/templates/auth.yaml +84 -67
  7. package/dist/resources/templates/shadcn-admin.yaml +12210 -122
  8. package/dist/server.d.ts +3 -0
  9. package/dist/server.js +93 -93
  10. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/licenses/UIBot-LICENSE +21 -0
  11. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/licenses/blocks-icons-LICENSE +46 -0
  12. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/licenses/shadcn-THIRD_PARTY_LICENSE +21 -0
  13. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-apps.json +61 -0
  14. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-chats.json +54 -0
  15. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-dashboard.json +70 -0
  16. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-error-401.json +54 -0
  17. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-error-403.json +54 -0
  18. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-error-404.json +54 -0
  19. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-error-500.json +54 -0
  20. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-error-503.json +54 -0
  21. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-forgot-password.json +59 -0
  22. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-help.json +53 -0
  23. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-otp.json +59 -0
  24. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-overview.json +62 -0
  25. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-settings-account.json +61 -0
  26. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-settings-appearance.json +61 -0
  27. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-settings-display.json +61 -0
  28. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-settings-notifications.json +61 -0
  29. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-settings-profile.json +61 -0
  30. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-settings.json +65 -0
  31. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-shell.json +173 -0
  32. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-sign-in-2.json +67 -0
  33. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-sign-in.json +59 -0
  34. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-sign-up.json +59 -0
  35. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-tasks.json +66 -0
  36. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/admin-users.json +66 -0
  37. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/ai-chat.json +74 -0
  38. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/analytics-dashboard.json +65 -0
  39. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/app-shell-floating.json +54 -0
  40. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/app-shell-icon-rail.json +54 -0
  41. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/app-shell-inset.json +54 -0
  42. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/app-shell-settings.json +54 -0
  43. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/app-shell-sidebar.json +54 -0
  44. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/app-shell-workspace.json +54 -0
  45. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/auth-centered.json +61 -0
  46. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/auth-enterprise.json +61 -0
  47. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/auth-recovery.json +64 -0
  48. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/auth-registration.json +63 -0
  49. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/auth-split.json +67 -0
  50. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/auth.json +61 -0
  51. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/blog.json +64 -0
  52. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/charts.json +238 -0
  53. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/chat-artifact.json +49 -0
  54. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/chat-focused.json +49 -0
  55. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/chat-history.json +49 -0
  56. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/chat-knowledge.json +49 -0
  57. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/chat-support.json +49 -0
  58. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/chat-workspace.json +136 -0
  59. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/collection-shared.json +23 -0
  60. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/commerce-workspace.json +69 -0
  61. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/console-billing.json +68 -0
  62. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/console-page.json +289 -0
  63. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/console-shell.json +29 -0
  64. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/content.json +444 -0
  65. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/creation-shared.json +24 -0
  66. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/crm-workspace.json +73 -0
  67. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/crm.json +67 -0
  68. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/dashboard-01.json +78 -0
  69. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/dashboard.json +257 -0
  70. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/data-studio.json +368 -0
  71. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/data-table.json +352 -0
  72. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/data.json +405 -0
  73. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/document-assistant.json +54 -0
  74. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/document-library.json +49 -0
  75. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/document-reading.json +49 -0
  76. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/document-workspace.json +164 -0
  77. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/document-writing.json +49 -0
  78. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/drilldown-menu.json +233 -0
  79. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/ecommerce.json +65 -0
  80. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/education-workspace.json +82 -0
  81. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/feedback.json +344 -0
  82. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/field.json +164 -0
  83. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/form.json +429 -0
  84. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/grid.json +188 -0
  85. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/interactive.json +355 -0
  86. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/item-grid.json +219 -0
  87. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/kanban.json +154 -0
  88. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/layout.json +790 -0
  89. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/lms.json +74 -0
  90. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/marketing.json +402 -0
  91. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/nav.json +285 -0
  92. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/portfolio.json +62 -0
  93. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/presentation.json +454 -0
  94. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/pricing.json +63 -0
  95. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/primitives.json +360 -0
  96. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/saas-landing.json +60 -0
  97. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sections.json +734 -0
  98. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/settings.json +72 -0
  99. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/shadcn-admin-shell.json +49 -0
  100. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/shadcn-admin.json +77 -0
  101. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-01.json +42 -0
  102. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-02.json +42 -0
  103. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-03.json +30 -0
  104. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-04.json +30 -0
  105. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-05.json +36 -0
  106. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-06.json +42 -0
  107. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-07.json +54 -0
  108. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-08.json +54 -0
  109. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-09.json +36 -0
  110. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-10.json +66 -0
  111. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-11.json +30 -0
  112. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-12.json +48 -0
  113. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-13.json +30 -0
  114. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-14.json +30 -0
  115. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-15.json +84 -0
  116. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-16.json +66 -0
  117. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-drilldown.json +29 -0
  118. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/sidebar-primitives.json +155 -0
  119. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/store.json +75 -0
  120. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/support-inbox.json +63 -0
  121. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/team-directory.json +59 -0
  122. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/uibot-base.json +30 -0
  123. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/r/workspace.json +181 -0
  124. package/dist/snapshots/4501a880e17691677109b35118b89434252d4e65aa7b9a7c3a174a38ce2b418f/snapshot.json +1 -0
  125. package/package.json +10 -9
@@ -0,0 +1,289 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "console-page",
4
+ "type": "registry:ui",
5
+ "description": "Console reference pages.",
6
+ "dependencies": [
7
+ "react@19.3.0",
8
+ "@shikijs/langs@4.5.0",
9
+ "@shikijs/themes@4.5.0",
10
+ "class-variance-authority@0.7.1",
11
+ "clsx@2.1.1",
12
+ "lucide-react@1.56.0",
13
+ "radix-ui@1.4.3",
14
+ "shiki@4.5.0",
15
+ "tailwind-merge@3.7.0",
16
+ "yaml@2.9.1"
17
+ ],
18
+ "registryDependencies": [
19
+ "@uibot/uibot-base"
20
+ ],
21
+ "files": [
22
+ {
23
+ "path": "components/uibot/console-page.tsx",
24
+ "target": "components/uibot/console-page.tsx",
25
+ "content": "import { PreferencesPages, type PreferencesPageView } from \"./console/preferences\";\nimport { TelemetryPage } from \"./console/telemetry\";\nimport type { RendererComponent } from \"@/lib/uibot-renderer\";\nimport { emit, text } from \"./interaction\";\nimport { AgentsOverview, MessagesOverview, ResourcesOverview } from \"./console/overviews\";\nimport { CONSOLE_CSS } from \"./console/styles\";\nimport { Dashboard, Notifications } from \"./console/dashboard\";\nimport { AgentsPages, type AgentsPageView } from \"./console/agents\";\nimport { MessagesPages } from \"./console/messages\";\nimport { ResourcesPages } from \"./console/resources\";\nimport { SettingsPages, type SettingsPageView } from \"./console/settings\";\nimport { IdentityPages, type IdentityPageView } from \"./console/identity\";\n\n/** Console page views; host events are opt-in, never an implicit service client. */\nexport const ConsolePage: RendererComponent = (props, ctx) => {\n const view = text(props.view, \"messages\");\n const actions = {\n ...(ctx.element.events?.onAction?.length\n ? {\n onAction: (action: string, values?: Record<string, string>) =>\n emit(ctx, \"onAction\", { action, ...values }, action),\n }\n : {}),\n };\n const supplied =\n props.options && typeof props.options === \"object\" && !Array.isArray(props.options)\n ? (props.options as Record<string, unknown>)\n : {};\n const choices = Object.fromEntries(\n [\"agents\", \"deployments\", \"environments\", \"vaults\", \"resources\", \"models\", \"skills\"].map(\n (key) => [\n key,\n Array.isArray(supplied[key])\n ? (supplied[key] as unknown[])\n .filter(\n (value): value is string =>\n typeof value === \"string\" && value.length > 0 && value.length <= 256,\n )\n .slice(0, 256)\n : [],\n ],\n ),\n );\n const content =\n view === \"dashboard\" ? (\n <Dashboard {...actions} />\n ) : view === \"notifications\" ? (\n <Notifications />\n ) : view === \"messages\" ? (\n <MessagesOverview {...actions} />\n ) : view === \"agents\" ? (\n <AgentsOverview {...actions} />\n ) : view === \"resources\" ? (\n <ResourcesOverview {...actions} />\n ) : [\"playground\", \"batches\", \"logs\"].includes(view) ? (\n <MessagesPages view={view as \"playground\" | \"batches\" | \"logs\"} {...actions} />\n ) : [\"files\", \"skills\", \"webhooks\", \"app-integrations\"].includes(view) ? (\n <ResourcesPages\n view={view as \"files\" | \"skills\" | \"webhooks\" | \"app-integrations\"}\n {...actions}\n />\n ) : view === \"telemetry\" ? (\n <TelemetryPage {...actions} />\n ) : [\n \"profile\",\n \"organization\",\n \"workspaces\",\n \"workspace-new\",\n \"capabilities\",\n \"code-settings\",\n ].includes(view) ? (\n <PreferencesPages view={view as PreferencesPageView} {...actions} />\n ) : [\"api-keys\", \"privacy\"].includes(view) ? (\n <SettingsPages view={view as SettingsPageView} {...actions} />\n ) : [\"service-accounts\", \"workload-identity\"].includes(view) ? (\n <IdentityPages view={view as IdentityPageView} {...actions} />\n ) : (\n <AgentsPages view={view as AgentsPageView} {...choices} {...actions} />\n );\n return (\n <article className=\"uibot-console csl-content\" data-view={view} data-uibot-type=\"ConsolePage\">\n <style>{CONSOLE_CSS}</style>\n {content}\n </article>\n );\n};\n",
26
+ "type": "registry:ui"
27
+ },
28
+ {
29
+ "path": "components/uibot/console/preferences.tsx",
30
+ "target": "components/uibot/console/preferences.tsx",
31
+ "content": "import {\n useId,\n useRef,\n useState,\n type ChangeEvent,\n type CSSProperties,\n type FormEvent,\n type ReactNode,\n} from \"react\";\nimport {\n Check,\n ArrowUp,\n ArrowDown,\n MoreHorizontal,\n ChevronRight,\n Clipboard,\n Laptop,\n Moon,\n Search,\n Sun,\n Trash2,\n Upload,\n UserRound,\n} from \"lucide-react\";\nimport {\n ConsoleButton,\n ConsoleCard,\n ConsoleHeader,\n ConsoleLink,\n ConsoleModal,\n ConsoleSelect,\n type ConsoleActions,\n} from \"./ui\";\n\nexport type PreferencesPageView =\n | \"profile\"\n | \"organization\"\n | \"workspaces\"\n | \"workspace-new\"\n | \"capabilities\"\n | \"code-settings\";\n\nexport interface PreferencesPagesProps extends ConsoleActions {\n view: PreferencesPageView;\n /** File data is passed only through this explicit host port. */\n onUploadAvatar?: (file: File) => void;\n}\n\nexport function PreferencesPages({ view, onAction, onUploadAvatar }: PreferencesPagesProps) {\n switch (view) {\n case \"profile\":\n return <ProfilePage onAction={onAction} onUploadAvatar={onUploadAvatar} />;\n case \"organization\":\n return <OrganizationPage onAction={onAction} />;\n case \"workspaces\":\n return <WorkspacesPage />;\n case \"workspace-new\":\n return <WorkspaceNewPage onAction={onAction} />;\n case \"capabilities\":\n return <CapabilitiesPage onAction={onAction} />;\n case \"code-settings\":\n return <CodeSettingsPage onAction={onAction} />;\n }\n}\n\nfunction HostRequest({ children }: { children: ReactNode }) {\n return (\n <p className=\"csl-settings-request\" role=\"status\">\n <Check aria-hidden=\"true\" />\n {children}\n </p>\n );\n}\n\nfunction HostNote({ connected }: { connected: boolean }) {\n return connected ? null : (\n <p className=\"csl-host-note\">Connect a host action to enable changes.</p>\n );\n}\n\nfunction PreferenceRow({\n label,\n description,\n children,\n}: {\n label: string;\n description?: string;\n children: ReactNode;\n}) {\n return (\n <section className=\"csl-preference-row\">\n <div className=\"csl-preference-copy\">\n <h2>{label}</h2>\n {description && <p className=\"csl-muted\">{description}</p>}\n </div>\n <div className=\"csl-preference-control\">{children}</div>\n </section>\n );\n}\n\nfunction Field({\n label,\n htmlFor,\n hint,\n children,\n}: {\n label: string;\n htmlFor?: string | undefined;\n hint?: string | undefined;\n children: ReactNode;\n}) {\n return (\n <div className=\"csl-field\">\n {htmlFor ? (\n <label htmlFor={htmlFor}>{label}</label>\n ) : (\n <span className=\"csl-pref-label\">{label}</span>\n )}\n {children}\n {hint && <small className=\"csl-muted\">{hint}</small>}\n </div>\n );\n}\n\nfunction ProfilePage({\n onAction,\n onUploadAvatar,\n}: {\n onAction?: ConsoleActions[\"onAction\"] | undefined;\n onUploadAvatar?: PreferencesPagesProps[\"onUploadAvatar\"] | undefined;\n}) {\n const fullNameId = useId();\n const displayNameId = useId();\n const photoInput = useRef<HTMLInputElement>(null);\n const [fullName, setFullName] = useState(\"\");\n const [displayName, setDisplayName] = useState(\"\");\n const [appearance, setAppearance] = useState(\"System\");\n const [photoName, setPhotoName] = useState(\"\");\n const [photoError, setPhotoError] = useState(\"\");\n const [requested, setRequested] = useState(false);\n const [photoRequested, setPhotoRequested] = useState(false);\n const choosePhoto = () => photoInput.current?.click();\n const submit = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n if (!onAction || requested || !fullName.trim() || !displayName.trim()) return;\n onAction(\"update-profile\", {\n fullName: fullName.trim(),\n displayName: displayName.trim(),\n appearance,\n });\n setRequested(true);\n };\n const onPhotoChange = (event: ChangeEvent<HTMLInputElement>) => {\n const file = event.target.files?.[0];\n setPhotoError(\"\");\n setPhotoRequested(false);\n if (!file || !onUploadAvatar) return;\n const acceptedTypes = [\"image/png\", \"image/jpeg\", \"image/webp\"];\n if (!acceptedTypes.includes(file.type)) {\n setPhotoError(\"Choose a PNG, JPEG or WebP image.\");\n event.target.value = \"\";\n setPhotoName(\"\");\n return;\n }\n if (file.size > 10 * 1024 * 1024) {\n setPhotoError(\"The photo must be 10 MB or smaller.\");\n event.target.value = \"\";\n setPhotoName(\"\");\n return;\n }\n setPhotoName(file.name);\n };\n const uploadPhoto = () => {\n const file = photoInput.current?.files?.[0];\n if (!file || !onUploadAvatar) return;\n onUploadAvatar(file);\n setPhotoRequested(true);\n };\n\n return (\n <div className=\"csl-page csl-settings-page csl-preferences-page\">\n <ConsoleHeader title=\"Profile\" description=\"Manage your personal details and preferences.\" />\n <form className=\"csl-profile-rows\" onSubmit={submit}>\n <PreferenceRow label=\"Profile photo\" description=\"PNG, JPEG or WebP · up to 10 MB\">\n <div className=\"csl-profile-photo-control\">\n <div className=\"csl-profile-avatar\" aria-hidden=\"true\">\n <UserRound />\n </div>\n <div className=\"csl-profile-photo-copy\">\n <input\n ref={photoInput}\n type=\"file\"\n accept=\"image/png,image/jpeg,image/webp,.png,.jpg,.jpeg,.webp\"\n className=\"csl-visually-hidden-file\"\n aria-label=\"Choose a profile photo\"\n disabled={!onUploadAvatar}\n onChange={onPhotoChange}\n />\n <ConsoleButton disabled={!onUploadAvatar} onClick={choosePhoto}>\n <Upload aria-hidden=\"true\" />\n Upload photo\n </ConsoleButton>\n {photoName && (\n <>\n <span className=\"csl-muted csl-profile-file-name\">{photoName}</span>\n <ConsoleButton\n primary\n disabled={!onUploadAvatar || photoRequested}\n onClick={uploadPhoto}\n >\n Confirm upload\n </ConsoleButton>\n </>\n )}\n {photoError && (\n <span className=\"csl-form-error\" role=\"alert\">\n {photoError}\n </span>\n )}\n <HostNote connected={Boolean(onUploadAvatar)} />\n {photoRequested && (\n <HostRequest>Photo sent to the host; completion is not confirmed here.</HostRequest>\n )}\n </div>\n </div>\n </PreferenceRow>\n <PreferenceRow\n label=\"Full name\"\n description=\"Your full name, as it appears on your account.\"\n >\n <input\n id={fullNameId}\n className=\"csl-input\"\n aria-label=\"Full name\"\n autoComplete=\"name\"\n required\n maxLength={120}\n value={fullName}\n onChange={(event) => {\n setFullName(event.target.value);\n setRequested(false);\n }}\n />\n </PreferenceRow>\n <PreferenceRow\n label=\"What should we call you?\"\n description=\"This is the name people will see when collaborating with you.\"\n >\n <input\n id={displayNameId}\n className=\"csl-input\"\n aria-label=\"What should we call you?\"\n autoComplete=\"nickname\"\n required\n maxLength={80}\n value={displayName}\n onChange={(event) => {\n setDisplayName(event.target.value);\n setRequested(false);\n }}\n />\n </PreferenceRow>\n <PreferenceRow label=\"Email\" description=\"Your account email address.\">\n <p className=\"csl-pref-value\" aria-label=\"Email address\">\n person@example.com\n </p>\n </PreferenceRow>\n <PreferenceRow\n label=\"Appearance\"\n description=\"Choose how the console looks on this device.\"\n >\n <div className=\"csl-appearance-options\" role=\"group\" aria-label=\"Appearance\">\n {[\n { label: \"System\", Icon: Laptop },\n { label: \"Light\", Icon: Sun },\n { label: \"Dark\", Icon: Moon },\n ].map(({ label, Icon }) => (\n <button\n className=\"csl-appearance-option\"\n type=\"button\"\n key={label}\n title={label}\n aria-label={label}\n aria-pressed={appearance === label}\n onClick={() => {\n setAppearance(label);\n setRequested(false);\n }}\n >\n <Icon aria-hidden=\"true\" />\n </button>\n ))}\n </div>\n </PreferenceRow>\n <footer className=\"csl-form-footer\">\n <HostNote connected={Boolean(onAction)} />\n <ConsoleButton\n primary\n type=\"submit\"\n disabled={!onAction || requested || !fullName.trim() || !displayName.trim()}\n >\n Save changes\n </ConsoleButton>\n </footer>\n {requested && (\n <HostRequest>\n Profile update sent to the host; changes are not confirmed here.\n </HostRequest>\n )}\n </form>\n </div>\n );\n}\n\nfunction OrganizationPage({ onAction }: { onAction?: ConsoleActions[\"onAction\"] | undefined }) {\n const addressIds = [useId(), useId(), useId(), useId(), useId(), useId()];\n const [address, setAddress] = useState({\n line1: \"\",\n line2: \"\",\n city: \"\",\n state: \"\",\n postal: \"\",\n country: \"United States\",\n });\n const [addressRequested, setAddressRequested] = useState(false);\n const [confirmRequested, setConfirmRequested] = useState(false);\n const [confirm, setConfirm] = useState<\"delete\" | \"convert\" | null>(null);\n const [deleteConfirmation, setDeleteConfirmation] = useState(\"\");\n const [copied, setCopied] = useState(false);\n const orgId = \"org_example\";\n const change = (key: keyof typeof address, value: string) => {\n setAddress((current) => ({ ...current, [key]: value }));\n setAddressRequested(false);\n };\n const saveAddress = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n if (!onAction || addressRequested) return;\n onAction(\"update-organization-address\", address);\n setAddressRequested(true);\n };\n const confirmAction = () => {\n if (\n !onAction ||\n !confirm ||\n confirmRequested ||\n (confirm === \"delete\" && deleteConfirmation !== \"DELETE\")\n )\n return;\n onAction(confirm === \"delete\" ? \"delete-organization\" : \"convert-organization-to-team\", {\n organizationId: orgId,\n organizationName: \"Acme\",\n });\n setConfirmRequested(true);\n };\n const copyId = async () => {\n if (typeof navigator === \"undefined\" || !navigator.clipboard?.writeText) return;\n try {\n await navigator.clipboard.writeText(orgId);\n setCopied(true);\n } catch {\n setCopied(false);\n }\n };\n\n return (\n <div className=\"csl-page csl-settings-page csl-preferences-page\">\n <ConsoleHeader\n title=\"Organization\"\n description=\"Manage organization details and account type.\"\n />\n <form className=\"csl-organization-rows\" onSubmit={saveAddress}>\n <PreferenceRow\n label=\"Organization name\"\n description=\"Organization names are managed by your organization owner.\"\n >\n <input className=\"csl-input\" value=\"Acme\" readOnly aria-label=\"Organization name\" />\n </PreferenceRow>\n <PreferenceRow label=\"Primary business address\" description=\"Optional billing address.\">\n <div className=\"csl-address-lines\">\n <input\n id={addressIds[0]}\n className=\"csl-input\"\n aria-label=\"Address line 1\"\n autoComplete=\"address-line1\"\n value={address.line1}\n onChange={(event) => change(\"line1\", event.target.value)}\n />\n <input\n id={addressIds[1]}\n className=\"csl-input\"\n aria-label=\"Address line 2\"\n autoComplete=\"address-line2\"\n value={address.line2}\n onChange={(event) => change(\"line2\", event.target.value)}\n />\n </div>\n </PreferenceRow>\n <PreferenceRow label=\"City, state and postal code\">\n <div className=\"csl-address-city-row\">\n <input\n id={addressIds[2]}\n className=\"csl-input\"\n aria-label=\"City\"\n autoComplete=\"address-level2\"\n value={address.city}\n onChange={(event) => change(\"city\", event.target.value)}\n />\n <input\n id={addressIds[3]}\n className=\"csl-input\"\n aria-label=\"State or province\"\n autoComplete=\"address-level1\"\n value={address.state}\n onChange={(event) => change(\"state\", event.target.value)}\n />\n <input\n id={addressIds[4]}\n className=\"csl-input\"\n aria-label=\"Postal code\"\n autoComplete=\"postal-code\"\n value={address.postal}\n onChange={(event) => change(\"postal\", event.target.value)}\n />\n </div>\n </PreferenceRow>\n <PreferenceRow label=\"Country\">\n <ConsoleSelect\n label=\"Country\"\n value={address.country}\n options={[\n \"United States\",\n \"Canada\",\n \"United Kingdom\",\n \"Australia\",\n \"Germany\",\n \"France\",\n ]}\n onChange={(value) => change(\"country\", value)}\n />\n </PreferenceRow>\n <PreferenceRow label=\"Organization ID\" description=\"Example organization identifier.\">\n <div className=\"csl-copy-value\">\n <code>{orgId}</code>\n <ConsoleButton\n aria-label={copied ? \"Organization ID copied\" : \"Copy organization ID\"}\n onClick={() => void copyId()}\n >\n {copied ? <Check aria-hidden=\"true\" /> : <Clipboard aria-hidden=\"true\" />}\n {copied ? \"Copied\" : \"Copy\"}\n </ConsoleButton>\n </div>\n </PreferenceRow>\n <footer className=\"csl-organization-address-footer\">\n <HostNote connected={Boolean(onAction)} />\n <ConsoleButton primary type=\"submit\" disabled={!onAction || addressRequested}>\n Save address\n </ConsoleButton>\n </footer>\n {addressRequested && (\n <HostRequest>\n Address update sent to the host; changes are not confirmed here.\n </HostRequest>\n )}\n <section className=\"csl-organization-danger-row\">\n <div className=\"csl-preference-copy\">\n <h2>Delete organization</h2>\n <p className=\"csl-muted\">Permanently delete this organization and its data.</p>\n </div>\n <ConsoleButton\n className=\"csl-danger\"\n onClick={() => {\n setDeleteConfirmation(\"\");\n setConfirmRequested(false);\n setConfirm(\"delete\");\n }}\n >\n <Trash2 aria-hidden=\"true\" />\n Delete organization\n </ConsoleButton>\n </section>\n <section className=\"csl-organization-convert-row\">\n <div className=\"csl-preference-copy\">\n <h2>Convert to a team</h2>\n <p className=\"csl-muted\">This changes the account type for the organization.</p>\n </div>\n <ConsoleButton\n onClick={() => {\n setConfirmRequested(false);\n setConfirm(\"convert\");\n }}\n >\n Convert organization\n </ConsoleButton>\n </section>\n </form>\n <ConsoleModal\n open={confirm !== null}\n onOpenChange={(open) => {\n if (!open) setConfirm(null);\n }}\n title={confirm === \"delete\" ? \"Delete organization?\" : \"Convert organization to a team?\"}\n description={\n confirm === \"delete\"\n ? \"This request affects the entire organization. Confirm with your host before it makes changes.\"\n : \"This request changes the organization account type. Confirm with your host before it makes changes.\"\n }\n >\n <div className=\"csl-form\">\n <p className=\"csl-muted\">Organization: Acme ({orgId})</p>\n {confirm === \"delete\" && (\n <Field label='Type \"DELETE\" to confirm' htmlFor=\"delete-organization-confirmation\">\n <input\n id=\"delete-organization-confirmation\"\n className=\"csl-input\"\n autoComplete=\"off\"\n value={deleteConfirmation}\n onChange={(event) => setDeleteConfirmation(event.target.value)}\n disabled={confirmRequested}\n />\n </Field>\n )}\n {confirmRequested && (\n <HostRequest>\n Request sent to the host; the organization state is not confirmed here.\n </HostRequest>\n )}\n <footer className=\"csl-form-footer\">\n <ConsoleButton disabled={confirmRequested} onClick={() => setConfirm(null)}>\n Cancel\n </ConsoleButton>\n <ConsoleButton\n className={confirm === \"delete\" ? \"csl-danger\" : \"\"}\n primary={confirm === \"convert\"}\n disabled={\n !onAction ||\n confirmRequested ||\n (confirm === \"delete\" && deleteConfirmation !== \"DELETE\")\n }\n onClick={confirmAction}\n >\n {confirm === \"delete\" ? \"Send delete request\" : \"Send conversion request\"}\n </ConsoleButton>\n </footer>\n </div>\n </ConsoleModal>\n </div>\n );\n}\n\nconst workspaceExample = {\n name: \"Default\",\n id: \"ws_example\",\n created: \"—\",\n apiKeys: \"—\",\n tag: \"Default\",\n};\n\nfunction WorkspacesPage() {\n const [query, setQuery] = useState(\"\");\n const [status, setStatus] = useState(\"Active\");\n const [detailsOpen, setDetailsOpen] = useState(false);\n const [copied, setCopied] = useState(false);\n const copyWorkspaceId = async () => {\n try {\n await navigator.clipboard.writeText(workspaceExample.id);\n setCopied(true);\n } catch {\n setCopied(false);\n }\n };\n const showRow =\n (status === \"Active\" || status === \"All\") &&\n `${workspaceExample.name} ${workspaceExample.id}`\n .toLowerCase()\n .includes(query.trim().toLowerCase());\n return (\n <div className=\"csl-page csl-settings-page csl-preferences-page\">\n <ConsoleHeader\n title=\"Workspaces\"\n description=\"Organize API resources and access by workspace.\"\n >\n <ConsoleLink className=\"csl-button csl-primary\" href=\"/settings/workspaces/new\">\n Create workspace\n </ConsoleLink>\n </ConsoleHeader>\n <p className=\"csl-settings-example\">\n <span>Workspace list preview · example row</span>\n </p>\n <div className=\"csl-workspace-toolbar\">\n <label className=\"csl-search-input\">\n <Search aria-hidden=\"true\" />\n <input\n aria-label=\"Search workspaces\"\n placeholder=\"Search workspaces\"\n value={query}\n onChange={(event) => setQuery(event.target.value)}\n />\n </label>\n <ConsoleSelect\n label=\"Status\"\n value={status}\n onChange={setStatus}\n options={[\"Active\", \"All\"]}\n />\n </div>\n <ConsoleCard className=\"csl-settings-table csl-workspaces-table-card\">\n <table className=\"csl-table csl-workspaces-table\">\n <thead>\n <tr>\n <th scope=\"col\">Name</th>\n <th scope=\"col\">ID</th>\n <th scope=\"col\">Created</th>\n <th scope=\"col\">API keys</th>\n <th scope=\"col\">Tags</th>\n <th scope=\"col\">\n <span className=\"sr-only\">Actions</span>\n </th>\n </tr>\n </thead>\n <tbody>\n {showRow ? (\n <tr>\n <td>\n <button\n className=\"csl-table-text-button\"\n type=\"button\"\n onClick={() => setDetailsOpen(true)}\n >\n {workspaceExample.name}\n </button>\n </td>\n <td>\n <code>{workspaceExample.id}</code>\n </td>\n <td>{workspaceExample.created}</td>\n <td>{workspaceExample.apiKeys}</td>\n <td>\n <span className=\"csl-tag\">{workspaceExample.tag}</span>\n </td>\n <td>\n <ConsoleButton\n aria-label=\"Open Default workspace details\"\n onClick={() => setDetailsOpen(true)}\n >\n <ChevronRight aria-hidden=\"true\" />\n </ConsoleButton>\n </td>\n </tr>\n ) : (\n <tr>\n <td className=\"csl-workspaces-no-results\" colSpan={6}>\n {query ? \"No workspaces match this search.\" : \"No workspaces in this status.\"}\n </td>\n </tr>\n )}\n </tbody>\n </table>\n </ConsoleCard>\n <ConsoleModal\n open={detailsOpen}\n onOpenChange={setDetailsOpen}\n title=\"Default workspace\"\n description=\"Example workspace details. Connect your host to load current workspace data.\"\n drawer\n >\n <div className=\"csl-workspace-details\">\n <header className=\"csl-workspace-drawer-toolbar\">\n <span>Workspace</span>\n <ConsoleButton\n aria-label={copied ? \"Workspace ID copied\" : \"Copy workspace ID\"}\n onClick={() => void copyWorkspaceId()}\n >\n {copied ? <Check /> : <Clipboard />}\n </ConsoleButton>\n <ConsoleButton aria-label=\"Previous workspace\" disabled>\n <ArrowUp />\n </ConsoleButton>\n <ConsoleButton aria-label=\"Next workspace\" disabled>\n <ArrowDown />\n </ConsoleButton>\n </header>\n <div className=\"csl-workspace-drawer-heading\">\n <h2>Default</h2>\n <ConsoleButton aria-label=\"Workspace actions\" disabled>\n <MoreHorizontal />\n </ConsoleButton>\n </div>\n <dl className=\"csl-workspace-metadata\">\n <div>\n <dt>Created</dt>\n <dd>\n Oct 1, 2026 <span className=\"csl-muted\">(example)</span>\n </dd>\n </div>\n <div>\n <dt>API keys</dt>\n <dd>\n <ConsoleLink href=\"/settings/keys\">0</ConsoleLink>\n </dd>\n </div>\n </dl>\n <div className=\"csl-workspace-detail-id\">\n <span className=\"csl-muted\">Workspace ID</span>\n <code>{workspaceExample.id}</code>\n </div>\n <div className=\"csl-workspace-detail-links\">\n <ConsoleLink href=\"/settings/keys\">\n API keys <ChevronRight aria-hidden=\"true\" />\n </ConsoleLink>\n <ConsoleLink href=\"/limits\">\n Rate limits <ChevronRight aria-hidden=\"true\" />\n </ConsoleLink>\n <ConsoleLink href=\"/settings/privacy\">\n Security &amp; data <ChevronRight aria-hidden=\"true\" />\n </ConsoleLink>\n </div>\n <section className=\"csl-workspace-security\">\n <h3>Security</h3>\n <dl className=\"csl-workspace-metadata\">\n <div>\n <dt>Workspace geo</dt>\n <dd>United States</dd>\n </div>\n <div>\n <dt>Inference geo</dt>\n <dd>Global by default, any geo allowed.</dd>\n </div>\n </dl>\n </section>\n <p className=\"csl-host-note\">\n Workspace values shown here are illustrative, not live account data.\n </p>\n </div>\n </ConsoleModal>\n </div>\n );\n}\n\nconst workspaceColors = [\n { name: \"Blue\", color: \"#5b8def\" },\n { name: \"Orange\", color: \"#f08b51\" },\n { name: \"Green\", color: \"#55a875\" },\n { name: \"Yellow\", color: \"#e4bc4d\" },\n { name: \"Pink\", color: \"#d979a1\" },\n { name: \"Violet\", color: \"#8a76d8\" },\n] as const;\n\nfunction WorkspaceNewPage({ onAction }: { onAction?: ConsoleActions[\"onAction\"] | undefined }) {\n const nameId = useId();\n const [name, setName] = useState(\"\");\n const [color, setColor] = useState<(typeof workspaceColors)[number][\"name\"]>(\"Blue\");\n const [requested, setRequested] = useState(false);\n const submit = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n if (!onAction || requested || !name.trim()) return;\n onAction(\"create-workspace\", { name: name.trim(), color, region: \"United States\" });\n setRequested(true);\n };\n return (\n <div className=\"csl-page csl-settings-page csl-preferences-page csl-workspace-new-page\">\n <nav className=\"csl-breadcrumb\" aria-label=\"Breadcrumb\">\n <ConsoleLink href=\"/settings/workspaces\">Workspaces</ConsoleLink>\n <ChevronRight aria-hidden=\"true\" />\n <span>New workspace</span>\n </nav>\n <ConsoleHeader\n title=\"Create workspace\"\n description=\"Create a workspace to organize API resources and access.\"\n />\n <form className=\"csl-form\" onSubmit={submit}>\n <Field label=\"Workspace name\" htmlFor={nameId}>\n <input\n id={nameId}\n className=\"csl-input\"\n autoComplete=\"off\"\n required\n maxLength={80}\n value={name}\n onChange={(event) => {\n setName(event.target.value);\n setRequested(false);\n }}\n />\n </Field>\n <fieldset className=\"csl-workspace-color-fieldset\">\n <legend>Workspace color</legend>\n <div className=\"csl-workspace-colors\" role=\"radiogroup\" aria-label=\"Workspace color\">\n {workspaceColors.map((choice) => (\n <label className=\"csl-workspace-color\" key={choice.name} title={choice.name}>\n <input\n type=\"radio\"\n name=\"workspace-color\"\n aria-label={choice.name}\n value={choice.name}\n checked={color === choice.name}\n onChange={() => setColor(choice.name)}\n />\n <span\n className=\"csl-workspace-color-dot\"\n aria-hidden=\"true\"\n style={{ \"--workspace-color\": choice.color } as CSSProperties}\n />\n </label>\n ))}\n </div>\n </fieldset>\n <Field label=\"Workspace geo\" hint=\"Workspace region is assigned by your organization.\">\n <ConsoleSelect\n label=\"Workspace geo\"\n value=\"United States\"\n options={[\"United States\"]}\n disabled\n />\n </Field>\n <HostNote connected={Boolean(onAction)} />\n {requested && (\n <HostRequest>\n Workspace creation request sent to the host; creation is not confirmed here.\n </HostRequest>\n )}\n <footer className=\"csl-form-footer\">\n <ConsoleLink className=\"csl-button\" href=\"/settings/workspaces\">\n Cancel\n </ConsoleLink>\n <ConsoleButton primary type=\"submit\" disabled={!onAction || requested || !name.trim()}>\n Create workspace\n </ConsoleButton>\n </footer>\n </form>\n </div>\n );\n}\n\ntype RestrictionMode = \"No restrictions\" | \"Allowed domains\" | \"Blocked domains\";\n\nfunction SwitchRow({\n label,\n description,\n checked,\n onChange,\n}: {\n label: string;\n description: string;\n checked: boolean;\n onChange: (checked: boolean) => void;\n}) {\n return (\n <div className=\"csl-pref-switch-row\">\n <div>\n <h3>{label}</h3>\n <p className=\"csl-muted\">{description}</p>\n </div>\n <button\n className=\"csl-switch\"\n type=\"button\"\n role=\"switch\"\n aria-label={label}\n aria-checked={checked}\n onClick={() => onChange(!checked)}\n >\n <span />\n </button>\n </div>\n );\n}\n\nfunction Restrictions({\n label,\n value,\n domains,\n error,\n onValue,\n onDomains,\n}: {\n label: string;\n value: RestrictionMode;\n domains: string;\n error: string;\n onValue: (value: RestrictionMode) => void;\n onDomains: (value: string) => void;\n}) {\n const id = useId();\n const options: RestrictionMode[] = [\"No restrictions\", \"Allowed domains\", \"Blocked domains\"];\n return (\n <fieldset className=\"csl-restrictions\">\n <legend>{label}</legend>\n <div className=\"csl-option-list\">\n {options.map((option) => (\n <label key={option}>\n <input\n type=\"radio\"\n name={`${id}-mode`}\n value={option}\n checked={value === option}\n onChange={() => onValue(option)}\n />\n <span>{option}</span>\n </label>\n ))}\n </div>\n {value !== \"No restrictions\" && (\n <Field\n label=\"Domains\"\n htmlFor={`${id}-domains`}\n hint=\"Enter hostnames separated by commas or new lines, for example example.com.\"\n >\n <textarea\n id={`${id}-domains`}\n className=\"csl-input\"\n rows={3}\n value={domains}\n aria-invalid={Boolean(error)}\n aria-describedby={error ? `${id}-error` : undefined}\n onChange={(event) => onDomains(event.target.value)}\n />\n {error && (\n <small className=\"csl-form-error\" id={`${id}-error`}>\n {error}\n </small>\n )}\n </Field>\n )}\n </fieldset>\n );\n}\n\nfunction parseDomains(input: string): string[] {\n return input\n .split(/[\\n,]+/)\n .map((domain) => domain.trim().toLowerCase())\n .filter(Boolean);\n}\n\nfunction domainError(domains: string, mode: RestrictionMode): string {\n if (mode === \"No restrictions\") return \"\";\n const values = parseDomains(domains);\n if (!values.length) return \"Enter at least one domain.\";\n const invalid = values.some(\n (value) =>\n value.length > 253 ||\n !/^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z]{2,63}$/i.test(value),\n );\n return invalid ? \"Enter valid hostnames such as example.com; do not include a URL or path.\" : \"\";\n}\n\nfunction CapabilitiesPage({ onAction }: { onAction?: ConsoleActions[\"onAction\"] | undefined }) {\n const [webSearch, setWebSearch] = useState(true);\n const [webFetch, setWebFetch] = useState(true);\n const [searchMode, setSearchMode] = useState<RestrictionMode>(\"No restrictions\");\n const [fetchMode, setFetchMode] = useState<RestrictionMode>(\"No restrictions\");\n const [searchDomains, setSearchDomains] = useState(\"\");\n const [fetchDomains, setFetchDomains] = useState(\"\");\n const [requested, setRequested] = useState(false);\n const searchError = domainError(searchDomains, searchMode);\n const fetchError = domainError(fetchDomains, fetchMode);\n const save = () => {\n if (!onAction || requested || searchError || fetchError) return;\n onAction(\"update-capabilities\", {\n webSearch: String(webSearch),\n webFetch: String(webFetch),\n webSearchRestriction: searchMode,\n webSearchDomains: JSON.stringify(parseDomains(searchDomains)),\n webFetchRestriction: fetchMode,\n webFetchDomains: JSON.stringify(parseDomains(fetchDomains)),\n });\n setRequested(true);\n };\n return (\n <div className=\"csl-page csl-settings-page csl-preferences-page csl-capabilities-page\">\n <ConsoleHeader\n title=\"Capabilities\"\n description=\"Control which network capabilities are available to your organization.\"\n />\n <div className=\"csl-preference-stack\">\n <ConsoleCard title=\"Web search\" caption=\"Search the web for current information\">\n <SwitchRow\n label=\"Web search\"\n description=\"Allow models to search the web when answering requests.\"\n checked={webSearch}\n onChange={(value) => {\n setWebSearch(value);\n setRequested(false);\n }}\n />\n <Restrictions\n label=\"Web search domain restrictions\"\n value={searchMode}\n domains={searchDomains}\n error={searchError}\n onValue={(value) => {\n setSearchMode(value);\n setRequested(false);\n }}\n onDomains={(value) => {\n setSearchDomains(value);\n setRequested(false);\n }}\n />\n </ConsoleCard>\n <ConsoleCard title=\"Web fetch\" caption=\"Fetch content from URLs supplied in a request\">\n <SwitchRow\n label=\"Web fetch\"\n description=\"Allow models to fetch content from permitted web pages.\"\n checked={webFetch}\n onChange={(value) => {\n setWebFetch(value);\n setRequested(false);\n }}\n />\n <Restrictions\n label=\"Web fetch domain restrictions\"\n value={fetchMode}\n domains={fetchDomains}\n error={fetchError}\n onValue={(value) => {\n setFetchMode(value);\n setRequested(false);\n }}\n onDomains={(value) => {\n setFetchDomains(value);\n setRequested(false);\n }}\n />\n </ConsoleCard>\n </div>\n <footer className=\"csl-preferences-save\">\n <HostNote connected={Boolean(onAction)} />\n <ConsoleButton\n primary\n disabled={!onAction || requested || Boolean(searchError || fetchError)}\n onClick={save}\n >\n Save changes\n </ConsoleButton>\n </footer>\n {requested && (\n <HostRequest>\n Capability settings sent to the host; changes are not confirmed here.\n </HostRequest>\n )}\n </div>\n );\n}\n\nfunction CodeSettingsPage({ onAction }: { onAction?: ConsoleActions[\"onAction\"] | undefined }) {\n const [fastMode, setFastMode] = useState(true);\n const [dynamicWorkflows, setDynamicWorkflows] = useState(true);\n const [requested, setRequested] = useState(false);\n const save = () => {\n if (!onAction || requested) return;\n onAction(\"update-claude-code-settings\", {\n fastMode: String(fastMode),\n dynamicWorkflows: String(dynamicWorkflows),\n });\n setRequested(true);\n };\n return (\n <div className=\"csl-page csl-settings-page csl-preferences-page csl-code-settings-page\">\n <ConsoleHeader\n title=\"Claude Code settings\"\n description=\"Configure organization defaults for Claude Code.\"\n />\n <p className=\"csl-settings-example\">\n <span>Claude Code preferences · example defaults</span>\n </p>\n <ConsoleCard>\n <SwitchRow\n label=\"Fast mode\"\n description=\"Use faster model responses in Claude Code when supported.\"\n checked={fastMode}\n onChange={(value) => {\n setFastMode(value);\n setRequested(false);\n }}\n />\n <SwitchRow\n label=\"Dynamic workflows\"\n description=\"Allow Claude Code to adapt its workflow to the task.\"\n checked={dynamicWorkflows}\n onChange={(value) => {\n setDynamicWorkflows(value);\n setRequested(false);\n }}\n />\n </ConsoleCard>\n <footer className=\"csl-preferences-save\">\n <HostNote connected={Boolean(onAction)} />\n <ConsoleButton primary disabled={!onAction || requested} onClick={save}>\n Save changes\n </ConsoleButton>\n </footer>\n {requested && (\n <HostRequest>\n Claude Code settings sent to the host; changes are not confirmed here.\n </HostRequest>\n )}\n </div>\n );\n}\n",
32
+ "type": "registry:ui"
33
+ },
34
+ {
35
+ "path": "components/uibot/console/ui.tsx",
36
+ "target": "components/uibot/console/ui.tsx",
37
+ "content": "import type { ButtonHTMLAttributes, ReactNode } from \"react\";\nimport { useRef } from \"react\";\nimport type { LucideIcon } from \"lucide-react\";\nimport { Check, ChevronDown } from \"lucide-react\";\nimport { Select as SelectPrimitive, Tabs as TabsPrimitive } from \"radix-ui\";\nimport {\n Dialog,\n DialogContent,\n DialogDescription,\n DialogHeader,\n DialogTitle,\n} from \"../sidebars/ui-dialog\";\n\nexport interface ConsoleActions {\n onAction?: (action: string, values?: Record<string, string>) => void;\n demo?: boolean;\n}\nexport function ConsoleSelect({\n label,\n value,\n onChange,\n options,\n placeholder,\n disabled = false,\n}: {\n label: string;\n value?: string;\n onChange?: (value: string) => void;\n options: string[];\n placeholder?: string;\n disabled?: boolean;\n}) {\n return (\n <SelectPrimitive.Root value={value} onValueChange={onChange} disabled={disabled}>\n <SelectPrimitive.Trigger className=\"csl-select\" aria-label={label}>\n <span className=\"csl-muted\">{label}</span>\n <SelectPrimitive.Value placeholder={placeholder} />\n <SelectPrimitive.Icon>\n <ChevronDown size={14} />\n </SelectPrimitive.Icon>\n </SelectPrimitive.Trigger>\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n className=\"csl-popup csl-select-menu\"\n position=\"popper\"\n sideOffset={5}\n >\n <SelectPrimitive.Viewport>\n {options.filter(Boolean).map((option) => (\n <SelectPrimitive.Item key={option} value={option} className=\"csl-select-item\">\n <SelectPrimitive.ItemText>{option}</SelectPrimitive.ItemText>\n <SelectPrimitive.ItemIndicator>\n <Check size={14} />\n </SelectPrimitive.ItemIndicator>\n </SelectPrimitive.Item>\n ))}\n {options.length === 0 && (\n <div className=\"csl-muted csl-select-item\">No options available</div>\n )}\n </SelectPrimitive.Viewport>\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n </SelectPrimitive.Root>\n );\n}\nexport function ConsoleTabs({\n label,\n value,\n onChange,\n options,\n segmented = false,\n}: {\n label: string;\n value: string;\n onChange: (value: string) => void;\n options: string[];\n segmented?: boolean;\n}) {\n return (\n <TabsPrimitive.Root value={value} onValueChange={onChange}>\n <TabsPrimitive.List aria-label={label} className={segmented ? \"csl-segmented\" : \"csl-tabs\"}>\n {options.map((option) => (\n <TabsPrimitive.Trigger key={option} value={option}>\n {option}\n </TabsPrimitive.Trigger>\n ))}\n </TabsPrimitive.List>\n </TabsPrimitive.Root>\n );\n}\nexport function ConsoleButton({\n primary = false,\n className = \"\",\n title,\n ...props\n}: ButtonHTMLAttributes<HTMLButtonElement> & { primary?: boolean }) {\n return (\n <button\n type=\"button\"\n className={`csl-button ${primary ? \"csl-primary\" : \"\"} ${className}`}\n title={title ?? props[\"aria-label\"]}\n {...props}\n />\n );\n}\nexport function ConsoleLink({\n href,\n children,\n className = \"\",\n}: {\n href: string;\n children: ReactNode;\n className?: string;\n}) {\n return (\n <a href={href} className={`csl-link ${className}`}>\n {children}\n </a>\n );\n}\nexport function ConsoleHeader({\n title,\n description,\n children,\n}: {\n title: ReactNode;\n description: string;\n children?: ReactNode;\n}) {\n return (\n <header className=\"csl-page-heading\">\n <div>\n <h1>{title}</h1>\n <p className=\"csl-muted\">{description}</p>\n </div>\n <div className=\"csl-actions\">{children}</div>\n </header>\n );\n}\nexport function ConsoleCard({\n title,\n caption,\n action,\n children,\n className = \"\",\n}: {\n title?: string;\n caption?: string;\n action?: ReactNode;\n children?: ReactNode;\n className?: string;\n}) {\n return (\n <section className={`csl-card ${className}`}>\n {(title || action) && (\n <header className=\"csl-card-heading\">\n <h2>\n {title}\n {caption && <span className=\"csl-muted csl-caption\">{caption}</span>}\n </h2>\n {action}\n </header>\n )}\n {children}\n </section>\n );\n}\nexport function ConsoleTag({ children, tone }: { children: ReactNode; tone?: \"blue\" | \"amber\" }) {\n return <span className={`csl-tag ${tone ? `csl-tag-${tone}` : \"\"}`}>{children}</span>;\n}\nexport function ConsoleEmpty({\n icon: Icon,\n title,\n description,\n children,\n compact = false,\n}: {\n icon: LucideIcon;\n title: string;\n description: string;\n children?: ReactNode;\n compact?: boolean;\n}) {\n return (\n <div className={`csl-empty ${compact ? \"csl-empty-compact\" : \"\"}`}>\n <Icon aria-hidden=\"true\" className=\"csl-empty-icon\" strokeWidth={1.1} />\n <h3>{title}</h3>\n <p className=\"csl-muted\">{description}</p>\n {children && <div className=\"csl-empty-action\">{children}</div>}\n </div>\n );\n}\nexport function ConsoleModal({\n open,\n onOpenChange,\n title,\n description,\n children,\n drawer = false,\n size = \"default\",\n}: {\n open: boolean;\n onOpenChange: (open: boolean) => void;\n title: string;\n description?: string;\n children: ReactNode;\n drawer?: boolean;\n size?: \"default\" | \"wide\";\n}) {\n const contentRef = useRef<HTMLDivElement>(null);\n const returnFocusRef = useRef<HTMLElement | null>(null);\n return (\n <Dialog open={open} onOpenChange={onOpenChange}>\n <DialogContent\n ref={contentRef}\n className={`csl-popup csl-modal ${drawer ? \"csl-drawer\" : \"\"}`}\n data-size={size}\n {...(description ? {} : { \"aria-describedby\": undefined })}\n onOpenAutoFocus={() => {\n const active = contentRef.current?.ownerDocument.activeElement;\n returnFocusRef.current = active instanceof HTMLElement ? active : null;\n }}\n onCloseAutoFocus={(event) => {\n const target = returnFocusRef.current;\n returnFocusRef.current = null;\n if (\n target?.isConnected &&\n !target.closest(\"[hidden], [inert]\") &&\n !target.matches(\":disabled\")\n ) {\n event.preventDefault();\n target.focus({ preventScroll: true });\n }\n }}\n >\n <DialogHeader className={drawer ? \"sr-only\" : \"csl-modal-heading\"}>\n <DialogTitle>{title}</DialogTitle>\n {description && <DialogDescription>{description}</DialogDescription>}\n </DialogHeader>\n <div className=\"csl-modal-body\">{children}</div>\n </DialogContent>\n </Dialog>\n );\n}\n",
38
+ "type": "registry:ui"
39
+ },
40
+ {
41
+ "path": "components/uibot/sidebars/ui-dialog.tsx",
42
+ "target": "components/uibot/sidebars/ui-dialog.tsx",
43
+ "content": "// Adapted from shadcn/ui (MIT). See THIRD_PARTY_LICENSE and provenance.json.\n\"use client\";\n\nimport type * as React from \"react\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"./utils\";\nimport { XIcon } from \"lucide-react\";\nimport { Dialog as DialogPrimitive } from \"radix-ui\";\n\nimport { Button } from \"./ui-button\";\n\nfunction Dialog({ ...props }: ComponentProps<typeof DialogPrimitive.Root>) {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />;\n}\n\nfunction DialogTrigger({ ...props }: ComponentProps<typeof DialogPrimitive.Trigger>) {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />;\n}\n\nfunction DialogPortal({ ...props }: ComponentProps<typeof DialogPrimitive.Portal>) {\n return <DialogPrimitive.Portal data-slot=\"dialog-portal\" {...props} />;\n}\n\nfunction DialogClose({ ...props }: ComponentProps<typeof DialogPrimitive.Close>) {\n return <DialogPrimitive.Close data-slot=\"dialog-close\" {...props} />;\n}\n\nfunction DialogOverlay({\n className,\n ...props\n}: ComponentProps<typeof DialogPrimitive.Overlay>) {\n return (\n <DialogPrimitive.Overlay\n data-slot=\"dialog-overlay\"\n className={cn(\n \"fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction DialogContent({\n className,\n children,\n showCloseButton = true,\n closeLabel = \"Close\",\n ...props\n}: ComponentProps<typeof DialogPrimitive.Content> & {\n showCloseButton?: boolean;\n closeLabel?: string;\n}) {\n return (\n <DialogPortal data-slot=\"dialog-portal\">\n <DialogOverlay />\n <DialogPrimitive.Content\n data-slot=\"dialog-content\"\n className={cn(\n \"fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 outline-none data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:max-w-lg\",\n className,\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close\n data-slot=\"dialog-close\"\n className=\"absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\"\n >\n <XIcon />\n <span className=\"sr-only\">{closeLabel}</span>\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </DialogPortal>\n );\n}\n\nfunction DialogHeader({ className, ...props }: ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"dialog-header\"\n className={cn(\"flex flex-col gap-2 text-center sm:text-left\", className)}\n {...props}\n />\n );\n}\n\nfunction DialogFooter({\n className,\n showCloseButton = false,\n closeLabel = \"Close\",\n children,\n ...props\n}: ComponentProps<\"div\"> & {\n showCloseButton?: boolean;\n closeLabel?: string;\n}) {\n return (\n <div\n data-slot=\"dialog-footer\"\n className={cn(\"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\", className)}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close asChild>\n <Button variant=\"outline\">{closeLabel}</Button>\n </DialogPrimitive.Close>\n )}\n </div>\n );\n}\n\nfunction DialogTitle({ className, ...props }: ComponentProps<typeof DialogPrimitive.Title>) {\n return (\n <DialogPrimitive.Title\n data-slot=\"dialog-title\"\n className={cn(\"text-lg leading-none font-semibold\", className)}\n {...props}\n />\n );\n}\n\nfunction DialogDescription({\n className,\n ...props\n}: ComponentProps<typeof DialogPrimitive.Description>) {\n return (\n <DialogPrimitive.Description\n data-slot=\"dialog-description\"\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n );\n}\n\nexport {\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n};\n",
44
+ "type": "registry:ui"
45
+ },
46
+ {
47
+ "path": "components/uibot/sidebars/utils.ts",
48
+ "target": "components/uibot/sidebars/utils.ts",
49
+ "content": "import { clsx, type ClassValue } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n",
50
+ "type": "registry:ui"
51
+ },
52
+ {
53
+ "path": "components/uibot/sidebars/ui-button.tsx",
54
+ "target": "components/uibot/sidebars/ui-button.tsx",
55
+ "content": "// Adapted from shadcn/ui (MIT). See THIRD_PARTY_LICENSE and provenance.json.\nimport type * as React from \"react\";\nimport type { ComponentProps } from \"react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { cn } from \"./utils\";\nimport { Slot } from \"radix-ui\";\n\nconst buttonVariants = cva(\n \"inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n {\n variants: {\n variant: {\n default: \"bg-primary text-primary-foreground hover:bg-primary/90\",\n destructive:\n \"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40\",\n outline:\n \"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50\",\n secondary: \"bg-secondary text-secondary-foreground hover:bg-secondary/80\",\n ghost: \"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50\",\n link: \"text-primary underline-offset-4 hover:underline\",\n },\n size: {\n default: \"h-9 px-4 py-2 has-[>svg]:px-3\",\n xs: \"h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3\",\n sm: \"h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5\",\n lg: \"h-10 rounded-md px-6 has-[>svg]:px-4\",\n icon: \"size-9\",\n \"icon-xs\": \"size-6 rounded-md [&_svg:not([class*='size-'])]:size-3\",\n \"icon-sm\": \"size-8\",\n \"icon-lg\": \"size-10\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n },\n);\n\nfunction Button({\n className,\n variant = \"default\",\n size = \"default\",\n asChild = false,\n ...props\n}: ComponentProps<\"button\"> &\n VariantProps<typeof buttonVariants> & {\n asChild?: boolean;\n }) {\n const Comp = asChild ? Slot.Root : \"button\";\n\n return (\n <Comp\n data-slot=\"button\"\n data-variant={variant}\n data-size={size}\n className={cn(buttonVariants({ variant, size, className }))}\n {...props}\n />\n );\n}\n\nexport { Button, buttonVariants };\n",
56
+ "type": "registry:ui"
57
+ },
58
+ {
59
+ "path": "components/uibot/console/telemetry.tsx",
60
+ "target": "components/uibot/console/telemetry.tsx",
61
+ "content": "import { useRef, useState, type FormEvent } from \"react\";\nimport { Plus, Trash2 } from \"lucide-react\";\nimport {\n ConsoleButton,\n ConsoleCard,\n ConsoleEmpty,\n ConsoleLink,\n ConsoleModal,\n ConsoleSelect,\n type ConsoleActions,\n} from \"./ui\";\n\nexport type TelemetryContentMode = \"Metadata only\" | \"Full content\";\nexport type TelemetryWorkspaceScope = \"All\" | \"Selected\" | \"All except\";\n\nexport interface TelemetryHeader {\n key: string;\n value: string;\n}\n\nexport interface TelemetryDestinationConfig {\n provider: string;\n name: string;\n endpoint: string;\n headers: TelemetryHeader[];\n content: TelemetryContentMode;\n workspaceScope: TelemetryWorkspaceScope;\n workspaces: string[];\n tracesEndpoint?: string;\n}\n\nexport interface TelemetryPageProps extends ConsoleActions {\n /** Receives the complete configuration, including header values, through an explicit host adapter. */\n onConfigureTelemetry?: (config: TelemetryDestinationConfig) => void | Promise<void>;\n}\n\nconst providers = [\n \"Arize\",\n \"Braintrust\",\n \"Databricks\",\n \"Datadog\",\n \"Dynatrace\",\n \"Elastic\",\n \"Grafana Cloud\",\n \"Honeycomb\",\n \"Langfuse\",\n \"LangSmith\",\n \"New Relic\",\n \"PostHog\",\n \"Pydantic Logfire\",\n \"Sentry\",\n \"Snowflake\",\n \"Splunk\",\n \"Custom\",\n];\n\nconst docsUrl = \"https://platform.claude.com/docs/en/manage-claude/opentelemetry/api\";\n\nexport function TelemetryPage({ onAction, onConfigureTelemetry }: TelemetryPageProps) {\n const [open, setOpen] = useState(false);\n const [provider, setProvider] = useState(\"Custom\");\n const [name, setName] = useState(\"\");\n const [endpoint, setEndpoint] = useState(\"\");\n const [headers, setHeaders] = useState<TelemetryHeader[]>([{ key: \"\", value: \"\" }]);\n const [content, setContent] = useState<TelemetryContentMode>(\"Metadata only\");\n const [workspaceScope, setWorkspaceScope] = useState<TelemetryWorkspaceScope>(\"All\");\n const [defaultWorkspace, setDefaultWorkspace] = useState(true);\n const [advancedOpen, setAdvancedOpen] = useState(false);\n const [tracesEndpoint, setTracesEndpoint] = useState(\"\");\n const [validationMessage, setValidationMessage] = useState(\"\");\n const [pending, setPending] = useState(false);\n const [awaitingHostConfirmation, setAwaitingHostConfirmation] = useState(false);\n const submitLock = useRef(false);\n const [workspaceFilter, setWorkspaceFilter] = useState(\"All\");\n\n const hasHeaderValues = headers.some((header) => header.key.trim() || header.value.trim());\n const hasIntentAdapter = Boolean(onConfigureTelemetry || onAction);\n const requiresSecureAdapter = hasHeaderValues || content === \"Full content\";\n const canSubmit =\n hasIntentAdapter &&\n (!requiresSecureAdapter || Boolean(onConfigureTelemetry)) &&\n validateTelemetryHeaders(headers) &&\n (Boolean(onConfigureTelemetry) ||\n !onAction ||\n canUseTelemetryAction({ endpoint, tracesEndpoint, headers, content }));\n const safeEndpoint = isHttpsUrl(endpoint, { allowQuery: Boolean(onConfigureTelemetry) });\n const safeTracesEndpoint =\n !tracesEndpoint.trim() ||\n isHttpsUrl(tracesEndpoint, { allowQuery: Boolean(onConfigureTelemetry) });\n const valid = safeEndpoint && safeTracesEndpoint;\n\n async function submit(event: FormEvent<HTMLFormElement>) {\n event.preventDefault();\n if (!valid || !canSubmit || submitLock.current || pending || awaitingHostConfirmation) {\n setValidationMessage(\n !safeEndpoint\n ? \"Enter a valid HTTPS OTLP endpoint URL.\"\n : !safeTracesEndpoint\n ? \"Enter a valid HTTPS traces endpoint URL.\"\n : !validateTelemetryHeaders(headers)\n ? \"Complete every request header and remove duplicate header names.\"\n : \"Connect a secure host adapter to submit headers or full content settings.\",\n );\n return;\n }\n const config: TelemetryDestinationConfig = {\n provider,\n name: name.trim(),\n endpoint: endpoint.trim(),\n headers: headers\n .filter((header) => header.key.trim() && header.value.trim())\n .map((header) => ({ key: header.key.trim(), value: header.value })),\n content,\n workspaceScope,\n workspaces: workspaceScope === \"All\" ? [] : defaultWorkspace ? [\"Default\"] : [],\n ...(tracesEndpoint.trim() ? { tracesEndpoint: tracesEndpoint.trim() } : {}),\n };\n\n submitLock.current = true;\n setPending(true);\n setValidationMessage(\"\");\n try {\n if (onConfigureTelemetry) {\n await onConfigureTelemetry(config);\n } else {\n onAction?.(\"add-telemetry-destination\", toTelemetryActionValues(config));\n }\n setAwaitingHostConfirmation(true);\n } catch {\n submitLock.current = false;\n setValidationMessage(\"The host could not accept this telemetry configuration.\");\n } finally {\n setPending(false);\n }\n }\n\n function resetAndOpen() {\n setProvider(\"Custom\");\n setName(\"\");\n setEndpoint(\"\");\n setHeaders([{ key: \"\", value: \"\" }]);\n setContent(\"Metadata only\");\n setWorkspaceScope(\"All\");\n setDefaultWorkspace(true);\n setAdvancedOpen(false);\n setTracesEndpoint(\"\");\n setValidationMessage(\"\");\n setOpen(true);\n }\n\n return (\n <div className=\"csl-page csl-telemetry-page\">\n <header className=\"csl-page-heading\">\n <div>\n <h1>OpenTelemetry</h1>\n <p className=\"csl-muted\">\n Export OpenTelemetry traces of your Messages API requests and Managed Agents sessions to\n your own observability backend.{\" \"}\n <ConsoleLink href={docsUrl}>View documentation</ConsoleLink>\n </p>\n </div>\n <div className=\"csl-actions\">\n <ConsoleButton primary onClick={resetAndOpen}>\n <Plus aria-hidden=\"true\" /> Add destination\n </ConsoleButton>\n </div>\n </header>\n <div className=\"csl-telemetry-filter-row\">\n <ConsoleSelect\n label=\"Workspace\"\n value={workspaceFilter}\n options={[\"All\", \"Default\"]}\n onChange={setWorkspaceFilter}\n />\n </div>\n <ConsoleCard className=\"csl-telemetry-card\">\n <div className=\"csl-table-wrap\">\n <table className=\"csl-table csl-telemetry-table\">\n <thead>\n <tr>\n <th>Name</th>\n <th>Endpoint</th>\n <th>Content</th>\n <th>Workspaces</th>\n <th>Delivery</th>\n <th>Created</th>\n </tr>\n </thead>\n </table>\n </div>\n <ConsoleEmpty icon={Plus} title=\"No telemetry destinations yet\" description=\"\" compact>\n <p className=\"csl-telemetry-empty-description\">\n Add a destination to start exporting traces to your observability backend.\n </p>\n <div className=\"csl-telemetry-empty-actions\">\n <ConsoleButton onClick={resetAndOpen}>\n <Plus aria-hidden=\"true\" />\n Add a destination…\n </ConsoleButton>\n <ConsoleLink href={docsUrl}>Learn more</ConsoleLink>\n </div>\n </ConsoleEmpty>\n </ConsoleCard>\n\n <ConsoleModal\n open={open}\n onOpenChange={setOpen}\n title=\"Add destination\"\n description=\"Send organization traces to a third-party OTLP/HTTP provider. Configure the destination and choose which workspaces can access it.\"\n size=\"wide\"\n >\n <form className=\"csl-form csl-telemetry-form\" onSubmit={submit} noValidate>\n <p className=\"csl-telemetry-modal-docs\">\n Learn about{\" \"}\n <ConsoleLink href={docsUrl}>OpenTelemetry setup and requirements</ConsoleLink>.\n </p>\n <label className=\"csl-field\">\n <span className=\"csl-field-heading\">Provider</span>\n <ConsoleSelect\n label=\"Provider\"\n value={provider}\n options={providers}\n onChange={setProvider}\n />\n </label>\n\n <label className=\"csl-field\">\n <span className=\"csl-field-heading\">\n Name <span className=\"csl-muted\">(optional)</span>\n </span>\n <input\n className=\"csl-telemetry-input\"\n value={name}\n onChange={(event) => setName(event.target.value)}\n placeholder=\"Observability backend\"\n />\n </label>\n\n <label className=\"csl-field\">\n <span className=\"csl-field-heading\">\n OTLP endpoint URL <span aria-hidden=\"true\">*</span>\n </span>\n <input\n className=\"csl-telemetry-input\"\n type=\"url\"\n inputMode=\"url\"\n autoComplete=\"url\"\n value={endpoint}\n onChange={(event) => {\n setEndpoint(event.target.value);\n setValidationMessage(\"\");\n }}\n placeholder=\"https://otlp.example.com\"\n aria-invalid={Boolean(endpoint) && !safeEndpoint}\n required\n />\n </label>\n\n <section className=\"csl-field csl-telemetry-headers\">\n <div className=\"csl-field-heading\">\n <span>Request headers</span>\n <span className=\"csl-muted\">(optional)</span>\n </div>\n <p className=\"csl-muted\">Header values are sent only through a secure host adapter.</p>\n {headers.map((header, index) => (\n <div className=\"csl-telemetry-header-row\" key={index}>\n <label>\n <span className=\"sr-only\">Header name</span>\n <input\n className=\"csl-telemetry-input\"\n value={header.key}\n aria-label={`Header name ${index + 1}`}\n onChange={(event) =>\n setHeaders((current) =>\n current.map((item, itemIndex) =>\n itemIndex === index ? { ...item, key: event.target.value } : item,\n ),\n )\n }\n placeholder=\"Header name (e.g. x-api-key)\"\n autoComplete=\"off\"\n />\n </label>\n <label>\n <span className=\"sr-only\">Header value</span>\n <input\n className=\"csl-telemetry-input\"\n type=\"password\"\n value={header.value}\n aria-label={`Header value ${index + 1}`}\n onChange={(event) =>\n setHeaders((current) =>\n current.map((item, itemIndex) =>\n itemIndex === index ? { ...item, value: event.target.value } : item,\n ),\n )\n }\n placeholder=\"Value\"\n autoComplete=\"new-password\"\n />\n </label>\n <ConsoleButton\n aria-label={`Remove header ${index + 1}`}\n className=\"csl-telemetry-remove-header\"\n onClick={() => setHeaders((current) => current.filter((_, i) => i !== index))}\n >\n <Trash2 aria-hidden=\"true\" />\n </ConsoleButton>\n </div>\n ))}\n <ConsoleButton\n className=\"csl-telemetry-add-header\"\n onClick={() => setHeaders((current) => [...current, { key: \"\", value: \"\" }])}\n >\n <Plus aria-hidden=\"true\" /> Add header\n </ConsoleButton>\n {hasHeaderValues && !onConfigureTelemetry && (\n <p className=\"csl-form-error\" role=\"status\">\n A secure host adapter is required to submit header values.\n </p>\n )}\n {hasHeaderValues && !validateTelemetryHeaders(headers) && (\n <p className=\"csl-form-error\" role=\"status\">\n Complete every header name and value, and use each header name only once.\n </p>\n )}\n </section>\n\n <fieldset className=\"csl-telemetry-choice-group\">\n <legend>Content</legend>\n <label className=\"csl-telemetry-choice\">\n <input\n type=\"radio\"\n name=\"telemetry-content\"\n checked={content === \"Metadata only\"}\n onChange={() => setContent(\"Metadata only\")}\n />\n <span>\n <strong>Metadata only</strong>\n <small>Export request and session metadata without message content.</small>\n </span>\n </label>\n <label className=\"csl-telemetry-choice\">\n <input\n type=\"radio\"\n name=\"telemetry-content\"\n checked={content === \"Full content\"}\n onChange={() => setContent(\"Full content\")}\n />\n <span>\n <strong>Full content</strong>\n <small>Includes message and tool content, which may contain sensitive data.</small>\n </span>\n </label>\n {content === \"Full content\" && (\n <p className=\"csl-telemetry-sensitive-note\" role=\"note\">\n Full content can include sensitive information. Confirm your provider and workspace\n access before enabling this option.\n </p>\n )}\n </fieldset>\n\n <fieldset className=\"csl-telemetry-choice-group\">\n <legend>Workspaces</legend>\n {([\"All\", \"Selected\", \"All except\"] as const).map((scope) => (\n <label className=\"csl-telemetry-choice\" key={scope}>\n <input\n type=\"radio\"\n name=\"telemetry-workspaces\"\n checked={workspaceScope === scope}\n onChange={() => setWorkspaceScope(scope)}\n />\n <span>{scope}</span>\n </label>\n ))}\n {workspaceScope !== \"All\" && (\n <label className=\"csl-check-row csl-telemetry-workspace-choice\">\n <input\n type=\"checkbox\"\n checked={defaultWorkspace}\n onChange={(event) => setDefaultWorkspace(event.target.checked)}\n />\n <span>Default</span>\n </label>\n )}\n </fieldset>\n\n <details\n className=\"csl-telemetry-advanced\"\n open={advancedOpen}\n onToggle={(event) => setAdvancedOpen(event.currentTarget.open)}\n >\n <summary>Advanced settings</summary>\n <label className=\"csl-field\">\n <span className=\"csl-field-heading\">OTLP traces endpoint URL (optional)</span>\n <input\n className=\"csl-telemetry-input\"\n type=\"url\"\n inputMode=\"url\"\n value={tracesEndpoint}\n onChange={(event) => {\n setTracesEndpoint(event.target.value);\n setValidationMessage(\"\");\n }}\n placeholder=\"https://otlp.example.com/custom/traces\"\n aria-invalid={Boolean(tracesEndpoint) && !safeTracesEndpoint}\n />\n </label>\n </details>\n\n {validationMessage && (\n <p className=\"csl-form-error\" role=\"alert\">\n {validationMessage}\n </p>\n )}\n {!hasIntentAdapter && (\n <p className=\"csl-host-note\" role=\"status\">\n Connect a host adapter to configure a telemetry destination.\n </p>\n )}\n {requiresSecureAdapter && !onConfigureTelemetry && !hasHeaderValues && (\n <p className=\"csl-form-error\" role=\"status\">\n A secure host adapter is required to submit full content settings.\n </p>\n )}\n {!onConfigureTelemetry &&\n onAction &&\n !canUseTelemetryAction({ endpoint, tracesEndpoint, headers, content }) && (\n <p className=\"csl-form-error\" role=\"status\">\n Headers, full content, and URLs with query parameters require a secure host adapter.\n </p>\n )}\n <div className=\"csl-form-footer\">\n <ConsoleButton onClick={() => setOpen(false)}>Cancel</ConsoleButton>\n <ConsoleButton\n primary\n type=\"submit\"\n disabled={!canSubmit || !valid || pending || awaitingHostConfirmation}\n >\n {pending ? \"Submitting…\" : \"Add destination\"}\n </ConsoleButton>\n </div>\n </form>\n </ConsoleModal>\n </div>\n );\n}\n\nexport function isHttpsUrl(value: string, options: { allowQuery?: boolean } = {}): boolean {\n if (!value.trim()) return false;\n try {\n const url = new URL(value);\n return (\n url.protocol === \"https:\" &&\n !url.username &&\n !url.password &&\n !url.hash &&\n (options.allowQuery === true || (!url.search && !value.includes(\"?\")))\n );\n } catch {\n return false;\n }\n}\n\nexport function validateTelemetryHeaders(headers: TelemetryHeader[]): boolean {\n const names = new Set<string>();\n for (const header of headers) {\n const key = header.key.trim();\n const value = header.value.trim();\n if (!key && !value) continue;\n if (!key || !value) return false;\n const normalizedKey = key.toLowerCase();\n if (names.has(normalizedKey)) return false;\n names.add(normalizedKey);\n }\n return true;\n}\n\nexport function canUseTelemetryAction(config: {\n endpoint: string;\n tracesEndpoint: string;\n headers: TelemetryHeader[];\n content: TelemetryContentMode;\n}): boolean {\n return (\n config.content === \"Metadata only\" &&\n !config.headers.some((header) => header.key.trim() || header.value.trim()) &&\n isHttpsUrl(config.endpoint) &&\n (!config.tracesEndpoint.trim() || isHttpsUrl(config.tracesEndpoint))\n );\n}\n\nexport function toTelemetryActionValues(\n config: TelemetryDestinationConfig,\n): Record<string, string> {\n if (\n !canUseTelemetryAction({\n endpoint: config.endpoint,\n tracesEndpoint: config.tracesEndpoint ?? \"\",\n headers: config.headers,\n content: config.content,\n })\n ) {\n throw new Error(\"Telemetry configuration contains values that require a secure host adapter.\");\n }\n return {\n provider: config.provider,\n name: config.name,\n endpoint: config.endpoint,\n content: config.content,\n workspaceScope: config.workspaceScope,\n workspaces: config.workspaces.join(\",\"),\n tracesEndpoint: config.tracesEndpoint ?? \"\",\n };\n}\n",
62
+ "type": "registry:ui"
63
+ },
64
+ {
65
+ "path": "components/uibot/interaction.ts",
66
+ "target": "components/uibot/interaction.ts",
67
+ "content": "import type { RendererComponent } from \"@/lib/uibot-renderer\";\nexport type BlockContext = Parameters<RendererComponent>[1];\nexport type Chain = Parameters<NonNullable<BlockContext[\"dispatch\"]>>[0];\nexport type EventValue = string | number | boolean | null;\nexport function emit(\n ctx: BlockContext,\n name: string,\n values: Record<string, EventValue | EventValue[]> = {},\n value?: EventValue,\n): void {\n const element = ctx.element as { events?: Record<string, Chain> };\n const chain = element.events?.[name];\n if (chain?.length)\n void ctx.dispatch?.(chain, {\n event: { type: name, values, ...(value !== undefined ? { value } : {}) },\n });\n}\nexport function text(value: unknown, fallback = \"\"): string {\n return value == null ? fallback : String(value);\n}\nexport function records(value: unknown): Record<string, unknown>[] {\n return Array.isArray(value)\n ? value.filter(\n (v): v is Record<string, unknown> => !!v && typeof v === \"object\" && !Array.isArray(v),\n )\n : [];\n}\n\nconst submissions = new WeakMap<object, { payload: string; key: string }>();\n/** A new owner represents a new user intent; an unchanged failed submission keeps its key. */\nexport function submissionKey(owner: object, values: unknown): string {\n const payload = JSON.stringify(values);\n const previous = submissions.get(owner);\n if (previous?.payload === payload) return previous.key;\n const key = crypto.randomUUID();\n submissions.set(owner, { payload, key });\n return key;\n}\n",
68
+ "type": "registry:ui"
69
+ },
70
+ {
71
+ "path": "components/uibot/console/overviews.tsx",
72
+ "target": "components/uibot/console/overviews.tsx",
73
+ "content": "import {\n Activity,\n BrainCircuit,\n Braces,\n BriefcaseBusiness,\n ChartLine,\n Code2,\n ChevronRight,\n FileText,\n Globe2,\n KeyRound,\n Webhook,\n Workflow,\n ChevronDown,\n AppWindow,\n} from \"lucide-react\";\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuTrigger,\n} from \"../sidebars/ui-dropdown-menu\";\nimport {\n ConsoleButton,\n ConsoleCard,\n ConsoleEmpty,\n ConsoleHeader,\n ConsoleLink,\n ConsoleTag,\n type ConsoleActions,\n} from \"./ui\";\n\nconst messageTemplates = [\n {\n title: \"Extract structured data\",\n description: \"Parses unstructured text into a typed JSON schema.\",\n capability: \"Structured outputs\",\n Icon: Braces,\n },\n {\n title: \"Deep research\",\n description: \"Multi-step web research with source synthesis and citations.\",\n capability: \"Web search\",\n Icon: Globe2,\n },\n {\n title: \"Adaptive thinking\",\n description: \"Reviews a spec for hidden contradictions, reasoning visibly.\",\n capability: \"Extended thinking\",\n Icon: BrainCircuit,\n },\n {\n title: \"Crunch a dataset\",\n description: \"Runs Python in a sandbox to compute real statistics.\",\n capability: \"Code execution\",\n Icon: Code2,\n },\n];\n\nexport function MessagesOverview({ onAction }: ConsoleActions) {\n return (\n <div className=\"csl-page csl-messages-overview\">\n <ConsoleHeader title=\"Messages\" description=\"Direct API requests: keys and batches.\">\n <ConsoleLink href=\"/workspaces/default/playground\" className=\"csl-button\">\n Open playground\n </ConsoleLink>\n </ConsoleHeader>\n\n <section className=\"csl-section\">\n <h2>Start from a template</h2>\n <div className=\"csl-templates csl-grid csl-grid-4\">\n {messageTemplates.map(({ title, description, capability, Icon }) => (\n <ConsoleLink\n key={title}\n href=\"/workspaces/default/playground\"\n className=\"csl-card csl-template-card\"\n >\n <h3>{title}</h3>\n <p className=\"csl-muted\">{description}</p>\n <ConsoleTag>\n <Icon aria-hidden=\"true\" />\n {capability}\n </ConsoleTag>\n </ConsoleLink>\n ))}\n </div>\n </section>\n\n <ConsoleCard className=\"csl-create-key\">\n <ConsoleEmpty\n icon={KeyRound}\n title=\"Create an API key\"\n description=\"Use it to send requests from this workspace.\"\n >\n <ConsoleButton disabled={!onAction} onClick={() => onAction?.(\"create-api-key\")}>\n Create key\n </ConsoleButton>\n </ConsoleEmpty>\n </ConsoleCard>\n\n <section className=\"csl-section\">\n <h2>Resources</h2>\n <div className=\"csl-grid csl-grid-3\">\n <ConsoleCard className=\"csl-resource-card\">\n <ConsoleLink href=\"/workspaces/default/files\" className=\"csl-resource-row\">\n <span className=\"csl-resource-icon\">\n <FileText aria-hidden=\"true\" />\n </span>\n <span>\n <strong>Files</strong>\n <span className=\"csl-muted\">Upload once, use in any request.</span>\n </span>\n <ChevronRight aria-hidden=\"true\" />\n </ConsoleLink>\n </ConsoleCard>\n <ConsoleCard className=\"csl-resource-card\">\n <ConsoleLink href=\"/workspaces/default/skills\" className=\"csl-resource-row\">\n <span className=\"csl-resource-icon\">\n <BriefcaseBusiness aria-hidden=\"true\" />\n </span>\n <span>\n <strong>Skills</strong>\n <span className=\"csl-muted\">Package instructions, tools, and files.</span>\n </span>\n <ChevronRight aria-hidden=\"true\" />\n </ConsoleLink>\n </ConsoleCard>\n <ConsoleCard className=\"csl-resource-card\">\n <ConsoleLink href=\"/limits\" className=\"csl-resource-row\">\n <span className=\"csl-resource-icon\">\n <Activity aria-hidden=\"true\" />\n </span>\n <span>\n <strong>Rate limits</strong>\n <span className=\"csl-muted\">Requests and tokens per minute.</span>\n </span>\n <ChevronRight aria-hidden=\"true\" />\n </ConsoleLink>\n </ConsoleCard>\n </div>\n </section>\n </div>\n );\n}\n\nconst agentMetrics = [\n { label: \"Sessions\", value: \"0\", detail: \"Last 30 days\" },\n { label: \"Error rate\", value: \"—\", detail: \"No sessions in the last 30 days\" },\n { label: \"Agents\", value: \"0\", detail: \"With sessions in the last 30 days\" },\n];\n\nexport function AgentsOverview(_props: ConsoleActions) {\n return (\n <div className=\"csl-page csl-agents-overview\">\n <ConsoleHeader\n title=\"Agents\"\n description=\"Agents run your prompts, tools, and knowledge on Anthropic infrastructure.\"\n >\n <ConsoleRouteMenu\n label=\"Create\"\n items={[\n [\"Agent\", \"/workspaces/default/agents/new\"],\n [\"Session\", \"/workspaces/default/sessions\"],\n [\"Deployment\", \"/workspaces/default/deployments/new\"],\n [\"Environment\", \"/workspaces/default/environments/new\"],\n [\"Memory store\", \"/workspaces/default/memory-stores\"],\n ]}\n />\n </ConsoleHeader>\n\n <section className=\"csl-grid csl-grid-3 csl-agent-metrics\" aria-label=\"Agent metrics\">\n {agentMetrics.map((metric) => (\n <ConsoleCard key={metric.label} title={metric.label}>\n <div className=\"csl-metric\">\n <strong>{metric.value}</strong>\n <span className=\"csl-muted\">{metric.detail}</span>\n </div>\n </ConsoleCard>\n ))}\n </section>\n\n <ConsoleCard className=\"csl-agent-empty-state\">\n <ConsoleEmpty\n icon={Workflow}\n title=\"Create your first agent\"\n description=\"Describe what you want to build, or start from a template.\"\n >\n <ConsoleLink\n href=\"/workspaces/default/agent-quickstart\"\n className=\"csl-button csl-primary\"\n >\n Get started\n </ConsoleLink>\n </ConsoleEmpty>\n </ConsoleCard>\n\n <ConsoleCard\n title=\"Sessions over time\"\n caption=\"Sessions started each day in the last 30 days, by agent.\"\n className=\"csl-agent-sessions\"\n >\n <ConsoleEmpty\n compact\n icon={ChartLine}\n title=\"Sessions per day will appear here once an agent runs.\"\n description=\"\"\n />\n </ConsoleCard>\n </div>\n );\n}\n\nconst sampleSkills = [\"xlsx\", \"pptx\", \"docx\"];\n\nexport function ResourcesOverview(_actions: ConsoleActions) {\n return (\n <div className=\"csl-page csl-resources-overview\">\n <ConsoleHeader\n title=\"Resources\"\n description=\"The files, skills, and other resources set up in this workspace.\"\n >\n <ConsoleRouteMenu\n label=\"Add\"\n items={[\n [\"File\", \"/workspaces/default/files\"],\n [\"Skill\", \"/workspaces/default/skills\"],\n [\"Webhook endpoint\", \"/settings/workspaces/default/webhooks\"],\n [\"App integration\", \"/settings/workspaces/default/app-integrations\"],\n ]}\n />\n </ConsoleHeader>\n\n <div className=\"csl-grid csl-resource-overview-grid\">\n <ConsoleCard\n title=\"Files 0\"\n action={<ConsoleLink href=\"/workspaces/default/files\">View all files</ConsoleLink>}\n className=\"csl-resource-overview-card\"\n >\n <ConsoleEmpty\n compact\n icon={FileText}\n title=\"No files yet\"\n description=\"Upload a file once and reference it across requests.\"\n />\n </ConsoleCard>\n\n <ConsoleCard\n title=\"Skills 4\"\n action={<ConsoleLink href=\"/workspaces/default/skills\">View all skills</ConsoleLink>}\n className=\"csl-resource-overview-card\"\n >\n <div className=\"csl-skill-list\">\n {sampleSkills.map((skill) => (\n <ConsoleLink key={skill} href=\"/workspaces/default/skills\" className=\"csl-skill-row\">\n <span>{skill}</span>\n <span className=\"csl-muted\">Anthropic</span>\n </ConsoleLink>\n ))}\n </div>\n </ConsoleCard>\n\n <ConsoleCard\n title=\"Webhooks 0\"\n action={\n <ConsoleLink href=\"/settings/workspaces/default/webhooks\">\n View all webhooks\n </ConsoleLink>\n }\n className=\"csl-resource-overview-card\"\n >\n <ConsoleEmpty\n compact\n icon={Webhook}\n title=\"No webhook endpoints yet\"\n description=\"Webhook endpoints receive event notifications when things happen in your workspace.\"\n />\n </ConsoleCard>\n <ConsoleCard\n title=\"App integrations 0\"\n action={\n <ConsoleLink href=\"/settings/workspaces/default/app-integrations\">\n View all app integrations\n </ConsoleLink>\n }\n className=\"csl-resource-overview-card\"\n >\n <ConsoleEmpty\n compact\n icon={AppWindow}\n title=\"Add your first app\"\n description=\"Register an iOS or macOS app to authenticate requests using App Attest.\"\n />\n </ConsoleCard>\n </div>\n </div>\n );\n}\n\nfunction ConsoleRouteMenu({ label, items }: { label: string; items: Array<[string, string]> }) {\n return (\n <DropdownMenu>\n <DropdownMenuTrigger asChild>\n <button type=\"button\" className=\"csl-button csl-primary\">\n {label}\n <ChevronDown size={14} />\n </button>\n </DropdownMenuTrigger>\n <DropdownMenuContent className=\"csl-popup csl-menu\" align=\"end\">\n {items.map(([title, href]) => (\n <DropdownMenuItem key={href} asChild>\n <a href={href}>{title}</a>\n </DropdownMenuItem>\n ))}\n </DropdownMenuContent>\n </DropdownMenu>\n );\n}\n",
74
+ "type": "registry:ui"
75
+ },
76
+ {
77
+ "path": "components/uibot/sidebars/ui-dropdown-menu.tsx",
78
+ "target": "components/uibot/sidebars/ui-dropdown-menu.tsx",
79
+ "content": "// Adapted from shadcn/ui (MIT). See THIRD_PARTY_LICENSE and provenance.json.\n\"use client\";\n\nimport type * as React from \"react\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"./utils\";\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from \"lucide-react\";\nimport { DropdownMenu as DropdownMenuPrimitive } from \"radix-ui\";\n\nfunction DropdownMenu({ ...props }: ComponentProps<typeof DropdownMenuPrimitive.Root>) {\n return <DropdownMenuPrimitive.Root data-slot=\"dropdown-menu\" {...props} />;\n}\n\nfunction DropdownMenuPortal({\n ...props\n}: ComponentProps<typeof DropdownMenuPrimitive.Portal>) {\n return <DropdownMenuPrimitive.Portal data-slot=\"dropdown-menu-portal\" {...props} />;\n}\n\nfunction DropdownMenuTrigger({\n ...props\n}: ComponentProps<typeof DropdownMenuPrimitive.Trigger>) {\n return <DropdownMenuPrimitive.Trigger data-slot=\"dropdown-menu-trigger\" {...props} />;\n}\n\nfunction DropdownMenuContent({\n className,\n sideOffset = 4,\n container,\n ...props\n}: ComponentProps<typeof DropdownMenuPrimitive.Content> & {\n container?: ComponentProps<typeof DropdownMenuPrimitive.Portal>[\"container\"];\n}) {\n return (\n <DropdownMenuPrimitive.Portal {...(container ? { container } : {})}>\n <DropdownMenuPrimitive.Content\n data-slot=\"dropdown-menu-content\"\n sideOffset={sideOffset}\n className={cn(\n \"z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95\",\n className,\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n );\n}\n\nfunction DropdownMenuGroup({ ...props }: ComponentProps<typeof DropdownMenuPrimitive.Group>) {\n return <DropdownMenuPrimitive.Group data-slot=\"dropdown-menu-group\" {...props} />;\n}\n\nfunction DropdownMenuItem({\n className,\n inset,\n variant = \"default\",\n ...props\n}: ComponentProps<typeof DropdownMenuPrimitive.Item> & {\n inset?: boolean;\n variant?: \"default\" | \"destructive\";\n}) {\n return (\n <DropdownMenuPrimitive.Item\n data-slot=\"dropdown-menu-item\"\n data-inset={inset}\n data-variant={variant}\n className={cn(\n \"relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground data-[variant=destructive]:*:[svg]:text-destructive!\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction DropdownMenuCheckboxItem({\n className,\n children,\n checked,\n ...props\n}: ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>) {\n return (\n <DropdownMenuPrimitive.CheckboxItem\n data-slot=\"dropdown-menu-checkbox-item\"\n className={cn(\n \"relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n checked={checked}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n );\n}\n\nfunction DropdownMenuRadioGroup({\n ...props\n}: ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>) {\n return <DropdownMenuPrimitive.RadioGroup data-slot=\"dropdown-menu-radio-group\" {...props} />;\n}\n\nfunction DropdownMenuRadioItem({\n className,\n children,\n ...props\n}: ComponentProps<typeof DropdownMenuPrimitive.RadioItem>) {\n return (\n <DropdownMenuPrimitive.RadioItem\n data-slot=\"dropdown-menu-radio-item\"\n className={cn(\n \"relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <CircleIcon className=\"size-2 fill-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n );\n}\n\nfunction DropdownMenuLabel({\n className,\n inset,\n ...props\n}: ComponentProps<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean;\n}) {\n return (\n <DropdownMenuPrimitive.Label\n data-slot=\"dropdown-menu-label\"\n data-inset={inset}\n className={cn(\"px-2 py-1.5 text-sm font-medium data-[inset]:pl-8\", className)}\n {...props}\n />\n );\n}\n\nfunction DropdownMenuSeparator({\n className,\n ...props\n}: ComponentProps<typeof DropdownMenuPrimitive.Separator>) {\n return (\n <DropdownMenuPrimitive.Separator\n data-slot=\"dropdown-menu-separator\"\n className={cn(\"-mx-1 my-1 h-px bg-border\", className)}\n {...props}\n />\n );\n}\n\nfunction DropdownMenuShortcut({ className, ...props }: ComponentProps<\"span\">) {\n return (\n <span\n data-slot=\"dropdown-menu-shortcut\"\n className={cn(\"ml-auto text-xs tracking-widest text-muted-foreground\", className)}\n {...props}\n />\n );\n}\n\nfunction DropdownMenuSub({ ...props }: ComponentProps<typeof DropdownMenuPrimitive.Sub>) {\n return <DropdownMenuPrimitive.Sub data-slot=\"dropdown-menu-sub\" {...props} />;\n}\n\nfunction DropdownMenuSubTrigger({\n className,\n inset,\n children,\n ...props\n}: ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n}) {\n return (\n <DropdownMenuPrimitive.SubTrigger\n data-slot=\"dropdown-menu-sub-trigger\"\n data-inset={inset}\n className={cn(\n \"flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[inset]:pl-8 data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground\",\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto size-4\" />\n </DropdownMenuPrimitive.SubTrigger>\n );\n}\n\nfunction DropdownMenuSubContent({\n className,\n ...props\n}: ComponentProps<typeof DropdownMenuPrimitive.SubContent>) {\n return (\n <DropdownMenuPrimitive.SubContent\n data-slot=\"dropdown-menu-sub-content\"\n className={cn(\n \"z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95\",\n className,\n )}\n {...props}\n />\n );\n}\n\nexport {\n DropdownMenu,\n DropdownMenuPortal,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuLabel,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuSub,\n DropdownMenuSubTrigger,\n DropdownMenuSubContent,\n};\n",
80
+ "type": "registry:ui"
81
+ },
82
+ {
83
+ "path": "components/uibot/console/styles.ts",
84
+ "target": "components/uibot/console/styles.ts",
85
+ "content": "import { CONSOLE_SHELL_CSS } from \"./shell-styles\";\nimport { CONSOLE_AGENT_CSS } from \"./agent-styles\";\nimport { CONSOLE_PREFERENCES_CSS } from \"./preferences-styles\";\nimport { CONSOLE_TELEMETRY_CSS } from \"./telemetry-styles\";\nimport { CONSOLE_ACCOUNT_CSS } from \"./account-styles\";\nimport { CONSOLE_CODE_CSS } from \"./code-styles\";\nimport { CONSOLE_INTERACTION_CSS } from \"./interaction-styles\";\nimport { CONSOLE_SETTINGS_CSS } from \"./settings-styles\";\n\n/** Scoped console styles; portable source registry includes this module. */\nexport const CONSOLE_CSS = `\n${CONSOLE_SHELL_CSS}\n.csl-content{width:100%;margin:auto}.csl-content[data-view=dashboard]{max-width:944px;padding-top:24px}.uibot-console .uibot-drilldown{--background:var(--csl-nav);--foreground:var(--csl-fg);--muted:var(--csl-selected);--muted-foreground:var(--csl-muted);--border:var(--csl-line);font-size:14px}.uibot-console .uibot-drilldown-back{justify-content:flex-start;position:relative;min-height:30px;margin-bottom:12px}.uibot-console .uibot-drilldown-back h2{position:absolute;inset-inline:38px;text-align:center;font-size:14px;pointer-events:none}.uibot-console .uibot-drilldown-row{min-height:36px;padding:7px 8px;color:var(--csl-fg);gap:12px}.uibot-console .uibot-drilldown-section+.uibot-drilldown-section{margin-top:14px}.uibot-console .uibot-drilldown-label{padding:12px 8px 8px;font-size:12px}.uibot-console .uibot-drilldown-footer{padding:14px 16px}.csl-workspace-picker{width:100%;display:flex;align-items:center;gap:10px;padding:7px 10px;border:1px solid var(--csl-line);border-radius:8px;background:var(--csl-button);color:inherit;margin:0 0 12px}.csl-workspace-picker svg:last-child{margin-left:auto}.csl-account{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;color:inherit;text-align:left}.csl-account small{display:block;color:var(--csl-muted);font-size:12px}.csl-account>svg:last-child{margin-left:auto}.csl-workspace-mark{color:#a498eb}\n.csl-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:36px}.csl-page-heading h1{margin:0 0 8px;font-size:23px;font-weight:550;letter-spacing:-.4px;line-height:1.3}.csl-page-heading p{margin:0}.csl-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.csl-muted{color:var(--csl-muted)}.csl-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:6px 12px;min-height:32px;border:1px solid transparent;border-radius:8px;background:var(--csl-button);color:var(--csl-fg);line-height:20px;text-decoration:none;white-space:nowrap}.csl-primary{background:var(--csl-fg);color:var(--csl-bg)}.csl-button svg{width:17px;height:17px}.csl-link{color:#497cae;text-underline-offset:4px}.dark .csl-link{color:#8bb6ed}.csl-card{min-width:0;border:1px solid var(--csl-line);border-radius:14px;padding:16px;background:transparent}.csl-card-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:20px}.csl-card-heading h2{font-size:14px;font-weight:500;margin:0}.csl-card-heading .csl-caption{font-weight:400;margin-left:8px}.csl-card-heading>a{flex-shrink:0}.csl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.csl-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.csl-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.csl-section{margin-top:28px}.csl-section>h2{font-size:15px;font-weight:500;margin:0 0 16px}.csl-metric{font-size:24px;font-weight:550;margin:28px 0 0}.csl-metric+p{margin:0}.csl-empty{min-height:298px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:40px 20px}.csl-empty h3{font-size:15px;font-weight:500;margin:4px 0 0}.csl-empty p{max-width:440px;margin:0}.csl-empty-icon{width:60px;height:60px;margin-bottom:10px}.csl-empty-action{margin-top:8px}.csl-empty-compact{min-height:160px}.csl-empty-compact .csl-empty-icon{display:none}.csl-templates .csl-card{display:flex;flex-direction:column;gap:10px;padding:14px}.csl-templates h3{font-size:14px;font-weight:500;margin:0}.csl-templates p{margin:0 0 6px;font-size:13px;line-height:1.35;flex:1}.csl-templates a{color:inherit;text-decoration:none}.csl-tag{display:inline-flex;align-items:center;gap:5px;border-radius:4px;padding:1px 7px;font-size:12px;line-height:18px;background:var(--csl-button);width:fit-content}.csl-tag svg{width:13px;height:13px}.csl-tag-blue{color:#377ab9;background:#c9e3fc}.dark .csl-tag-blue{color:#80b4ed;background:#092440}.csl-tag-amber{color:#9a650a;background:#ffe5b0}.dark .csl-tag-amber{color:#e3a230;background:#3b2406}.csl-resource-row{display:flex;align-items:center;gap:16px;min-width:0;color:inherit;text-decoration:none}.csl-resource-row>svg:first-child{width:36px;height:36px;flex:none;background:#cbe5fc;color:#4c8cc5;padding:8px;border-radius:8px}.dark .csl-resource-row>svg:first-child{background:#082747;color:#719bd2}.csl-resource-row>svg:last-child{margin-left:auto;width:16px;color:var(--csl-muted);flex:none}.csl-resource-row p{margin:0}.csl-skill-row{padding:8px 0;border-bottom:1px solid var(--csl-line)}.csl-skill-row:last-child{border:0}.csl-skill-row p{margin:0}.csl-skill-row button{display:block;padding:0;text-align:left;background:none;border:0;color:inherit;width:100%}.csl-input{width:100%;background:transparent;border:1px solid var(--csl-line);border-radius:7px;padding:8px 12px;color:inherit;min-width:0}.csl-input::placeholder{color:var(--csl-muted)}.csl-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.csl-toolbar .csl-input{max-width:300px}.csl-popup{--background:var(--csl-bg);--foreground:var(--csl-fg);--border:var(--csl-line);border-color:var(--csl-line)}.csl-modal{max-height:calc(100dvh - 32px);overflow:auto;gap:20px}.csl-drawer{display:flex;flex-direction:column;translate:none!important;left:auto!important;right:0!important;top:0!important;transform:none!important;width:min(560px,100%)!important;max-width:100%!important;height:100dvh;max-height:100dvh;border-radius:0!important}.csl-form{display:grid;gap:20px}.csl-form label{display:grid;gap:6px;font-weight:500}.csl-form label small{font-weight:400}.csl-form-footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;border-top:1px solid var(--csl-line);padding-top:16px}.csl-tabs{display:flex;gap:24px;border-bottom:1px solid var(--csl-line);margin-bottom:20px}.csl-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:var(--csl-muted);padding:12px 0}.csl-tabs button[aria-selected=true]{border-color:var(--csl-fg);color:var(--csl-fg)}.csl-menu{min-width:210px}.csl-mobile-trigger{display:none}\n.csl-account{min-height:34px}.csl-account>span{line-height:1.4}.csl-resource-row>span>strong,.csl-resource-row>span>.csl-muted{display:block}.csl-resource-row>span>.csl-muted{font-size:12px;margin-top:2px}.csl-resource-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:8px;background:#cbe5fc;color:#4c8cc5}.dark .csl-resource-icon{background:#082747;color:#719bd2}.csl-resource-icon svg{width:18px;height:18px}.csl-link.csl-button{color:var(--csl-fg);text-decoration:none}.csl-link.csl-primary{color:var(--csl-bg)}.csl-create-key{margin-top:20px}.csl-agent-empty-state{margin-top:20px}.csl-agent-empty-state .csl-empty{min-height:270px}.csl-metric strong{display:block;font-size:24px;font-weight:550}.csl-metric span{display:block;font-size:12px;font-weight:400;margin-top:4px}.csl-resource-overview-card .csl-card-heading{margin-bottom:12px}.csl-resource-overview-card .csl-empty{min-height:200px}.csl-skill-list .csl-resource-row{border-bottom:1px solid var(--csl-line);padding:12px 0}.csl-skill-list .csl-resource-row:last-child{border:0}.csl-agent-sessions .csl-empty-icon{display:block;width:22px;height:22px}.csl-agent-sessions .csl-empty{min-height:270px}\n.csl-select{display:inline-flex;align-items:center;gap:8px;min-height:32px;border:1px solid var(--csl-line);border-radius:7px;padding:5px 10px;color:inherit;background:var(--csl-button);font:inherit;white-space:nowrap}.csl-select>span:last-child{display:flex;margin-left:auto}.csl-select-menu{z-index:80;min-width:var(--radix-select-trigger-width);max-height:320px;overflow:auto;padding:5px;border:1px solid var(--csl-line);border-radius:8px;box-shadow:0 8px 30px #0003}.csl-select-item{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:7px 10px;border-radius:5px;outline:none;cursor:pointer}.csl-select-item[data-highlighted]{background:var(--csl-selected)}.csl-segmented{display:inline-flex;gap:2px;padding:3px;border-radius:9px;background:var(--csl-button)}.csl-segmented button{border:0;border-radius:7px;padding:4px 10px;background:none;color:var(--csl-muted)}.csl-segmented button[data-state=active]{background:var(--csl-selected);color:var(--csl-fg);box-shadow:0 0 0 1px var(--csl-line)}\n.csl-filter-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}.csl-search-input{display:flex;align-items:center;gap:8px;padding:6px 10px;background:var(--csl-button);border:1px solid var(--csl-line);border-radius:7px;min-width:220px}.csl-search-input svg{width:15px;height:15px;color:var(--csl-muted)}.csl-search-input input{width:100%;background:none;border:0;outline:none;color:inherit;min-width:0}.csl-list-empty{border:1px solid var(--csl-line);border-radius:14px}.csl-list-empty .csl-empty{min-height:330px}.csl-breadcrumb{display:flex;gap:7px;margin-bottom:24px;color:var(--csl-muted)}.csl-breadcrumb a{color:inherit}.csl-create-page{max-width:900px;margin:auto}.csl-create-page>.csl-page-heading{margin-bottom:36px}.csl-form-layout{display:grid;gap:32px}.csl-form-section{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;border-top:1px solid var(--csl-line);padding-top:26px}.csl-form-section-heading h2{font-size:15px;font-weight:500;margin:0 0 6px}.csl-form-section-heading p{margin:0;font-size:13px;color:var(--csl-muted)}.csl-form-section-fields{display:grid;gap:20px}.csl-field{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.csl-field input:not([type=checkbox]),.csl-field textarea{border:1px solid var(--csl-line);border-radius:7px;background:var(--csl-button);color:inherit;padding:8px 10px;min-width:0;width:100%;font:inherit}.csl-field textarea{resize:vertical;min-height:72px}.csl-field small{font-size:12px;font-weight:400;color:var(--csl-muted)}.csl-field-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.csl-form-error{color:#d57b6b}.csl-host-note,.csl-trigger-help{font-size:12px;color:var(--csl-muted);line-height:1.5}.csl-trigger-help code{word-break:break-all}.csl-form-layout>.csl-form-footer{position:sticky;bottom:-24px;background:var(--csl-bg);padding:16px 0;margin-top:20px}.csl-schedule-fields,.csl-network-fields{display:grid;gap:14px}.csl-time-row,.csl-cron-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.csl-next-runs{padding:14px;border:1px solid var(--csl-line);border-radius:8px;font-size:12px}.csl-next-runs ul{padding-left:16px;margin-bottom:0}.csl-check-row{display:flex!important;align-items:center;gap:8px!important;font-weight:400!important}.csl-check-row input{width:15px;height:15px;accent-color:var(--csl-fg)}.csl-warning{padding:12px;border:1px solid #a97d36;border-radius:8px;color:#bc8b3c;font-size:12px}.csl-agent-starting-point{padding:20px;border:1px solid var(--csl-line);border-radius:12px;display:grid;gap:18px}.csl-quick-description{display:flex;flex-direction:column;gap:12px}.csl-quick-description textarea{min-height:100px}.csl-agent-start-templates{max-height:260px;overflow:auto}.csl-template-option{padding:14px;color:inherit;text-align:left;background:transparent;font:inherit;cursor:pointer}.csl-agent-config{margin-top:28px}.csl-config-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.csl-config-heading h2{font-size:16px}.csl-agent-config details{border-bottom:1px solid var(--csl-line);padding:16px 0}.csl-agent-config summary{cursor:pointer}.csl-agent-config details>div{padding-top:20px}.csl-raw-placeholder{width:100%;min-height:250px;background:var(--csl-button);border:1px solid var(--csl-line);color:inherit;border-radius:8px;padding:12px;font:13px ui-monospace,monospace}.csl-tools-optional{display:grid;gap:14px}.csl-agent-quickstart{max-width:900px;margin:20px auto}.csl-quickstart-intro{text-align:center;margin-bottom:28px}.csl-quickstart-intro h1{font:32px Georgia,serif}.csl-quickstart-intro p{color:var(--csl-muted)}.csl-quickstart-prompt{padding:16px;border:1px solid var(--csl-line);border-radius:14px;margin-bottom:32px}.csl-quickstart-prompt textarea{width:100%;min-height:90px;border:0;background:none;color:inherit;resize:vertical;padding:4px;outline:none}.csl-quickstart-prompt button{margin-left:auto;display:flex}.csl-quickstart-templates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.csl-quickstart-template{display:flex;flex-direction:column;gap:10px;border:1px solid var(--csl-line);border-radius:10px;padding:16px;text-align:left;background:none;color:inherit}.csl-quickstart-template strong{font-size:13px}.csl-quickstart-template span{color:var(--csl-muted);font-size:12px}\n.csl-dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 8px 16px}.csl-dashboard-heading h1{font:26px/1.3 Georgia,serif;margin:0}.csl-dashboard-metrics .csl-card{padding:16px;min-height:136px}.csl-dashboard-metrics .csl-card-heading{margin-bottom:24px}.csl-balance{display:flex;align-items:center;justify-content:space-between;gap:8px}.csl-balance strong{font-size:24px;font-weight:550}.csl-balance p{margin:2px 0 0;font-size:13px}.csl-text-button{padding:0;min-height:24px;background:none;color:var(--csl-muted);font-size:12px}.csl-danger{color:#c47365;text-decoration:underline}.csl-reset{margin-left:8px}.csl-progress-ring{display:block;width:48px;height:48px;border:4px solid var(--csl-line);border-radius:50%;flex:none}.csl-token-card{margin-top:12px}.csl-token-card .csl-card-heading{margin-bottom:30px}.csl-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding:0 8px}.csl-section-heading h2{font-size:15px;font-weight:500;margin:0}.csl-models{gap:12px}.csl-model{border:1px solid var(--csl-line);border-radius:13px;overflow:hidden;color:inherit;text-decoration:none}.csl-model-art{height:90px;display:flex;align-items:center;justify-content:center}.csl-model-art img{height:70px;width:72px;object-fit:contain}.csl-model-copy{padding:14px 16px}.csl-model-copy h3{font-size:14px;font-weight:550;margin:0 0 8px}.csl-model-copy>div{display:flex;gap:4px;flex-wrap:wrap}.csl-model-copy .csl-tag{font-size:11px;padding:0 6px}.csl-dashboard-resources{gap:12px}.csl-dashboard-resources .csl-card{display:flex;flex-direction:column;gap:10px}.csl-dashboard-resources h3{display:flex;gap:8px;align-items:center;font-size:14px;font-weight:500;margin:0}.csl-dashboard-resources p{font-size:12px;line-height:1.4;margin:0;flex:1}.csl-dashboard-resources .csl-button{align-self:flex-start;padding:4px 8px;font-size:13px;min-height:28px}.csl-dashboard-footer{display:flex;justify-content:center;align-items:center;gap:18px;margin:30px 0 0}.csl-dashboard-footer a{font-size:12px;color:var(--csl-muted)}\n.csl-workbench{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--csl-line);margin:0 -24px -24px;min-height:calc(100dvh - 156px)}.csl-request{display:flex;flex-direction:column;border-right:1px solid var(--csl-line);min-width:0}.csl-workbench-heading{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-bottom:1px solid var(--csl-line)}.csl-request-body{padding:16px 20px;flex:1}.csl-request .csl-toolbar{align-items:start;flex-wrap:wrap}.csl-request .csl-select>span:first-child{display:none}.csl-request .csl-field textarea{min-height:36px}.csl-run-bar{padding:12px 20px;border-top:1px solid var(--csl-line);display:flex;justify-content:flex-end}.csl-run-bar kbd{font-size:11px;border:1px solid var(--csl-line);border-radius:4px;padding:0 4px}.csl-response{padding:24px 20px}.csl-response-intro{text-align:center;padding:60px 0 28px}.csl-response-intro>svg{color:#dc8b6e}.csl-response-intro h2{font-size:16px;font-weight:500;margin:12px 0 6px}.csl-response-intro p{margin:0}.csl-playground>.csl-page-heading{margin-bottom:16px}.csl-tool-options{padding:12px;background:var(--csl-button);border-radius:8px;display:grid;gap:10px;margin-bottom:20px}.csl-code{font:13px/1.7 ui-monospace,SFMono-Regular,monospace;white-space:pre;overflow:auto;margin:0;padding:16px 0;color:var(--csl-fg)}.csl-batch-code{background:var(--csl-button);border:0;border-radius:8px;margin-top:12px}.csl-batch-code .csl-toolbar{margin-bottom:0}.csl-notification-title{font-size:23px;font-weight:550}\n.csl-visually-hidden-file{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.csl-selected-file{min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center}.csl-selected-file>svg{width:52px;height:52px;stroke-width:1}.csl-selected-file h2{font-size:16px;font-weight:500;margin:0;overflow-wrap:anywhere}.csl-selected-file p{margin:0;font-size:13px}.csl-selected-file-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.csl-table-wrap{overflow:auto}.csl-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px;text-align:left}.csl-table :is(th,td){padding:12px 16px;border-bottom:1px solid var(--csl-line);font-weight:400}.csl-table :is(th,td):first-child{padding-left:0;width:28px}.csl-table th{color:var(--csl-muted)}.csl-table tbody tr:last-child td{border:0}.csl-table-text-button{border:0;background:none;color:inherit;font:13px ui-monospace,monospace;padding:0;text-align:left}.csl-source-badge,.csl-latest-badge{display:inline-block;background:#cbe5fc;color:#377ab9;padding:2px 7px;border-radius:5px;font-size:12px}.dark :is(.csl-source-badge,.csl-latest-badge){background:#082747;color:#8bb6ed}.csl-table-empty{text-align:center;padding:40px!important}.csl-skill-detail{display:flex;flex-direction:column;gap:20px}.csl-skill-detail-toolbar{padding-right:28px;display:flex;justify-content:space-between;align-items:center}.csl-skill-detail-title{display:flex;align-items:center;gap:8px;font-size:16px}.csl-skill-detail-title h2{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:500;margin:0}.csl-skill-detail-title>button{margin-left:auto}.csl-skill-detail-toolbar>span{display:flex;gap:8px;align-items:center}.csl-skill-detail-toolbar>span>svg{width:16px;height:16px}.csl-metadata-row:has(button){grid-template-columns:100px 1fr auto}.csl-skill-detail-title svg{width:18px}.csl-metadata-row{display:grid;grid-template-columns:130px 1fr;gap:12px;margin:10px 0;font-size:13px}.csl-metadata-row dt{color:var(--csl-muted)}.csl-metadata-row dd{margin:0;min-width:0}.csl-skill-description h3,.csl-skill-versions h3{font-size:14px;font-weight:500;margin:8px 0 12px}.csl-skill-description>p{padding:12px;border-radius:8px;background:var(--csl-button);font-size:13px;line-height:1.55}.csl-skill-version{display:flex;gap:10px;align-items:center;font-size:12px;flex-wrap:wrap}.csl-skill-api{position:relative;padding:16px 0}.csl-skill-api-request{display:flex;gap:10px;align-items:center;margin-bottom:20px}.csl-skill-api-request code{font-size:12px}.csl-skill-api-request a{margin-left:auto;color:var(--csl-muted);font-size:12px}.csl-skill-api>button{position:absolute;right:8px;top:80px}.csl-skill-api .csl-raw-json{padding:16px;padding-right:44px;overflow:auto}.csl-skill-view-switch{display:flex;justify-content:flex-end;margin-top:24px}.csl-skill-rendered-note,.csl-skill-api-note{font-size:12px;color:var(--csl-muted)}.csl-webhook-form,.csl-app-integration-form{display:grid;gap:20px}.csl-event-picker{border:1px solid var(--csl-line);border-radius:9px;padding:14px}.csl-event-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.csl-event-note{font-size:12px;color:var(--csl-muted)}.csl-event-group{padding:12px 0;border-top:1px solid var(--csl-line)}.csl-event-group h4{font-size:13px;margin:0 0 10px}.csl-event-row{display:flex;align-items:center;gap:8px;margin:7px 0;font-size:12px}.csl-apple-identifiers{border-top:1px solid var(--csl-line);padding-top:16px}.csl-bundle-id-fields{display:flex;flex-direction:column;gap:10px}.csl-search-results{display:flex;flex-direction:column;max-height:400px;overflow:auto}.csl-search-results>p{font-size:12px;margin:0 0 8px}.csl-search-results a{padding:8px;border-radius:6px;color:inherit;text-decoration:none}.csl-search-results a:focus-visible{background:var(--csl-selected)}.csl-skill-row{display:flex;align-items:center;justify-content:space-between;text-decoration:none!important;color:inherit!important}.csl-resource-overview-card .csl-empty-compact{min-height:200px}\n\n.csl-created-filter,.csl-package-actions,.csl-edit-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.csl-edit-row input{flex:1;min-width:90px}.csl-edit-row button{flex:none}.csl-option-list{display:grid;gap:10px}.csl-option-list label{display:flex;gap:8px;align-items:center}.csl-schedule-summary{font-size:12px;padding:12px;border:1px solid var(--csl-line);border-radius:8px}.csl-raw-json{white-space:pre;overflow:auto;font:12px/1.6 ui-monospace,monospace;padding:16px;background:var(--csl-button);border-radius:8px}.csl-optional-accordion{padding:16px 0;border-bottom:1px solid var(--csl-line)}.csl-optional-accordion summary{cursor:pointer;font-weight:500}.csl-optional-accordion>div{padding-top:16px}\n@media(max-width:1000px){.csl-dashboard-heading{align-items:start;flex-direction:column}.csl-form-section{grid-template-columns:180px minmax(0,1fr);gap:20px}.csl-workbench{grid-template-columns:1fr}.csl-request{border-right:0;border-bottom:1px solid var(--csl-line)}.csl-response-intro{padding-top:20px}}\n@media(max-width:767px){.csl-dashboard-heading h1{font-size:25px}.csl-dashboard-heading .csl-actions{flex-wrap:wrap}.csl-dashboard-metrics .csl-card{min-height:120px}.csl-form-section{grid-template-columns:1fr;gap:18px}.csl-quickstart-templates{grid-template-columns:1fr}.csl-agent-quickstart{margin-top:0}.csl-filter-row .csl-search-input{width:100%}.csl-workbench{margin:0 -16px -20px}.csl-request-body,.csl-response{padding:16px}.csl-dashboard-footer{flex-wrap:wrap}.csl-form-layout>.csl-form-footer{bottom:-20px}}\n\n@media(max-width:1000px){.csl-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.csl-topbar-actions{gap:12px}.csl-documentation{display:none!important}.csl-content[data-view=dashboard]{padding-top:8px}}\n@media(max-width:767px){.csl-sidebar{display:none}.csl-mobile-trigger{display:inline-flex}.csl-topbar{padding:0 12px;gap:8px}.csl-brand{font-size:20px}.csl-topbar .csl-search-trigger{position:static;transform:none;width:28px;height:28px;border:0;padding:4px;margin-left:auto}.csl-search-trigger>span,.csl-search-trigger kbd{display:none}.csl-topbar-actions{margin-left:0;gap:8px}.csl-topbar-actions .csl-credit{display:none}.csl-main{padding:20px 16px}.csl-grid,.csl-grid-3,.csl-grid-4{grid-template-columns:1fr}.csl-page-heading{gap:16px;flex-wrap:wrap;margin-bottom:24px}.csl-page-heading h1{font-size:22px}.csl-page-heading .csl-actions{margin-left:auto}.csl-section{margin-top:24px}.csl-card{padding:16px}.csl-empty{padding:32px 12px;min-height:280px}.csl-empty-compact{min-height:160px}.csl-toolbar{flex-wrap:wrap}.csl-toolbar .csl-input{max-width:none}.csl-tabs{gap:18px;overflow:auto;white-space:nowrap}.csl-popup{font-size:14px}}\n.csl-form .csl-field{margin-bottom:0}\n.csl-form>.csl-field>p,.csl-field>p,.csl-host-note,.csl-form-error{margin:0;font-size:13px;line-height:1.5}\n.csl-form label{display:block;line-height:1.5}\n.csl-form>label{display:grid;gap:8px}\n.csl-field-heading{align-items:baseline;flex-wrap:wrap;gap:4px 12px;font-weight:500;line-height:20px}\n.csl-field-heading .csl-muted{font-weight:400}\n.csl-field-heading a{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:400;text-decoration:none}\n.csl-field-heading a svg{width:13px;height:13px;flex:none}\n.csl-field>.csl-select{width:100%;min-height:36px;text-align:left}\n.csl-field>.csl-select>span:first-child{display:none}\n.csl-field input:not([type=checkbox]),.csl-field textarea{line-height:20px}\n.csl-form .csl-field input:not([type=checkbox]){padding:5px 10px;min-height:32px}\n.csl-template-tags{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:auto}\n.csl-form :is(input,textarea)::placeholder{color:var(--csl-muted);opacity:1}\n.csl-form-section-heading :is(h2,h3){margin:0 0 6px;font-size:15px;line-height:22px;font-weight:500}\n.csl-agent-starting-point h2{display:flex;align-items:center;gap:8px}\n.csl-agent-starting-point h2>svg{width:16px;height:16px;flex:none}\n.csl-warning{display:flex;align-items:flex-start;gap:10px}\n.csl-warning>svg{width:16px;height:16px;flex:none;margin-top:2px}\n.csl-warning p{margin:0;line-height:20px}\n.csl-form .csl-check-row{display:flex;align-items:flex-start;gap:8px;font-weight:400}\n.csl-form input[type=checkbox]{width:15px;height:15px;margin:3px 0 0;flex:none;accent-color:var(--csl-fg)}\n.csl-popup.csl-modal{\n display:flex;flex-direction:column;gap:0;padding:0;width:calc(100% - 32px);max-width:512px;\n max-height:calc(100dvh - 32px);overflow:hidden;border-radius:14px;\n}\n.csl-popup.csl-modal[data-size=wide]{max-width:640px}\n.csl-popup.csl-drawer{max-height:100dvh}\n.csl-modal-heading{flex:none;gap:8px;padding:24px 52px 20px 24px;text-align:left}\n.csl-modal-heading [data-slot=dialog-title]{margin:0;font-size:22px;line-height:28px;font-weight:550;letter-spacing:-.3px}\n.csl-modal-heading [data-slot=dialog-description]{margin:0;font-size:13px;line-height:20px;color:var(--csl-muted)}\n.csl-modal-body{display:flex;flex-direction:column;gap:20px;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 24px 24px;scroll-padding-block:16px}\n.csl-modal-body>.csl-form{gap:20px;min-width:0}\n.csl-modal-body .csl-form-footer{\n position:sticky;bottom:-24px;z-index:1;flex:none;min-width:0;min-height:68px;\n margin:4px -24px -24px;padding:16px 24px;background:var(--csl-bg);\n}\n.csl-modal .csl-form-footer .csl-button{min-width:76px}\n.csl-modal .csl-apple-identifiers{display:flex;flex-direction:column;gap:20px;padding-top:20px}\n.csl-modal .csl-bundle-id-fields{gap:12px}\n.csl-bundle-id-fields>.csl-button{align-self:flex-start}\n.csl-heading-count{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;margin-left:6px;border-radius:999px;background:var(--csl-button);color:var(--csl-muted);font-size:13px;font-weight:400;letter-spacing:0}\n.csl-bundle-id-group{border:0;padding:0;margin:0;min-width:0}\n.csl-bundle-id-group legend{font-weight:500;margin-bottom:8px;padding:0}\n.csl-bundle-id-row{display:flex;align-items:center;gap:8px;min-width:0}\n.csl-bundle-id-row input{flex:1}\n.csl-bundle-id-row>.csl-button{flex:none;width:32px;padding:6px;background:transparent}\n.csl-modal-body .csl-form-footer-plain{position:static;border-top:0;min-height:32px;margin:4px 0 0;padding:0;background:transparent}\n.csl-webhook-form .csl-event-picker{border:0;padding:0}\n.csl-event-picker-heading{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:8px}\n.csl-event-picker-heading h3{margin:0 auto 0 0;font-size:14px;line-height:20px;font-weight:500}\n.csl-form .csl-event-picker-heading label,.csl-form .csl-event-group legend label{display:flex;align-items:center;gap:8px;font-size:13px}\n.csl-event-picker input[type=checkbox]{margin:0}\n.csl-event-groups{border:1px solid var(--csl-line);border-radius:10px;padding:0 16px}\n.csl-event-group{min-width:0;margin:0;padding:14px 0;border:0}\n.csl-event-group+.csl-event-group{border-top:1px solid var(--csl-line)}\n.csl-event-group legend{float:left;width:100%;padding:0;margin-bottom:8px}\n.csl-event-group legend label{padding:0;font-weight:500}\n.csl-event-group legend .csl-muted{margin-left:auto;font-weight:400}\n.csl-form .csl-event-row{display:flex;align-items:center;gap:8px;padding:4px 6px;margin:0 -6px 0 18px;border-radius:6px;min-height:28px;line-height:20px}\n.csl-form .csl-event-row label{display:flex;flex:1;flex-wrap:wrap;align-items:baseline;gap:0 8px;min-width:0;font-size:13px;font-weight:400;cursor:pointer}\n.csl-event-row code{font-size:12px;line-height:18px;color:var(--csl-muted);overflow-wrap:anywhere}\n.csl-event-row>.csl-event-copy{flex:none;min-height:24px;width:24px;padding:4px;border:0;background:transparent;color:var(--csl-muted)}\n.csl-event-copy svg{width:13px;height:13px}\n.csl-event-feedback{margin:8px 0 0;font-size:12px;overflow-wrap:anywhere}\n@media(hover:hover){.csl-event-copy{opacity:0}.csl-event-row:hover>.csl-event-copy,.csl-event-row:focus-within>.csl-event-copy{opacity:1}}\n.csl-option-list label{padding:8px;border-radius:7px;line-height:20px}\n.csl-option-list label:has(input:checked){background:var(--csl-selected)}\n.csl-event-group legend label,.csl-event-picker-heading label,.csl-option-list label{cursor:pointer}\n.csl-event-row:focus-within{background:var(--csl-hover)}\n@media(hover:hover){\n .csl-form .csl-event-row:hover,.csl-option-list label:hover{background:var(--csl-hover)}\n .csl-option-list label:has(input:checked):hover{background:var(--csl-selected)}\n}\n.csl-drawer .csl-modal-body{padding-top:24px}\n.csl-skill-metadata{display:grid;gap:12px}\n.csl-skill-metadata .csl-metadata-row{margin:0;align-items:center;grid-template-columns:100px minmax(0,1fr)}\n.csl-skill-metadata .csl-metadata-row:has(button){grid-template-columns:100px minmax(0,1fr) auto}\n.csl-skill-metadata :is(p,dd){margin:0;overflow-wrap:anywhere}\n.csl-skill-api-request a{display:inline-flex;align-items:center;gap:4px}\n.csl-skill-api-request a svg{width:13px;height:13px;flex:none}\n@media(max-width:480px){\n .csl-modal-heading{padding:20px 48px 16px 20px}\n .csl-modal-body{padding-inline:20px;padding-bottom:20px}\n .csl-modal-body .csl-form-footer{bottom:-20px;margin-inline:-20px;margin-bottom:-20px;padding-inline:20px;flex-wrap:wrap}\n .csl-event-picker{padding:12px}\n .csl-modal .csl-grid-2{grid-template-columns:1fr}\n .csl-field-heading a{font-size:12px}\n}\n${CONSOLE_INTERACTION_CSS}\n${CONSOLE_SETTINGS_CSS}\n${CONSOLE_ACCOUNT_CSS}\n${CONSOLE_CODE_CSS}\n${CONSOLE_PREFERENCES_CSS}\n${CONSOLE_TELEMETRY_CSS}\n${CONSOLE_AGENT_CSS}\n\n.csl-model-panel{--csl-slider-fill:#c7c7c5;position:fixed;z-index:70;top:68px;right:12px;bottom:12px;width:368px;max-width:calc(100% - 24px);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--csl-line);border-radius:14px;box-shadow:0 2px 12px #0002;outline:none}\n.dark .csl-model-panel{--csl-slider-fill:#5a5a57}\n.csl-model-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px 16px;flex:none}\n.csl-model-panel-heading h2{font-size:15px;font-weight:550;line-height:24px;margin:0;outline:none}\n.csl-model-panel-heading>.csl-button{padding:4px;min-height:28px;width:28px;background:transparent}\n.csl-model-panel-body{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-padding-block:16px}\n.csl-model-section{display:flex;flex-direction:column;gap:24px;padding:16px 20px 24px}\n.csl-model-section+.csl-model-section{border-top:1px solid var(--csl-line);padding-top:24px}\n.csl-model-section h3{margin:0;font-size:14px;font-weight:550;line-height:22px}\n.csl-model-field{display:flex;flex-direction:column;gap:10px;min-width:0}\n.csl-model-label{display:flex;align-items:center;gap:8px;min-width:0;font-size:14px;font-weight:500}\n.csl-model-label .csl-tag{font-weight:400}\n.csl-model-help{display:inline-flex;align-items:center;justify-content:center;flex:none;width:20px;height:20px;border:0;border-radius:5px;padding:3px;background:transparent;color:var(--csl-muted)}\n.csl-model-help svg{width:14px;height:14px}\n.csl-model-help:hover{color:var(--csl-fg);background:var(--csl-button)}\n.csl-model-tooltip{z-index:110;max-width:280px;padding:10px 12px;font-size:12px;line-height:18px;border:1px solid var(--csl-line);border-radius:8px;box-shadow:0 4px 16px #0002}\n.csl-model-picker{display:flex;justify-content:space-between;min-width:0;width:100%;border:1px solid var(--csl-line);background:transparent;text-align:left}\n.csl-model-picker>span{overflow:hidden;text-overflow:ellipsis}\n.csl-model-picker svg{flex:none;width:14px;height:14px;color:var(--csl-muted)}\n.csl-model-section>.csl-model-picker{min-height:40px}\n.csl-model-fallback{display:flex;gap:4px;min-width:0;align-items:center}\n.csl-model-fallback .csl-model-picker{flex:1}\n.csl-model-fallback>.csl-button:last-child:not(.csl-model-picker){background:transparent;padding:4px;width:28px;flex:none}\n.csl-model-menu{z-index:100;width:360px;max-width:calc(100vw - 24px);border:1px solid var(--csl-line);border-radius:10px;box-shadow:0 6px 24px #0003;overflow:hidden}\n.csl-model-search{width:100%;padding:12px;border:0;border-bottom:1px solid var(--csl-line);background:transparent;color:var(--csl-fg);outline:none}\n.csl-model-search::placeholder{color:var(--csl-muted)}\n.csl-model-menu [role=listbox]{padding:5px;max-height:280px;overflow:auto}\n.csl-model-menu [role=option]{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:9px 10px;border:0;border-radius:6px;background:transparent;color:inherit;text-align:left}\n.csl-model-menu [role=option]:is(:hover,[data-active=true]){background:var(--csl-selected)}\n.csl-model-menu [role=option] strong{display:block;font-size:13px;font-weight:500;line-height:20px}\n.csl-model-menu [role=option] small{display:block;color:var(--csl-muted);font-size:12px;line-height:18px}\n.csl-model-menu [role=option] svg{width:15px;height:15px;flex:none}\n.csl-model-menu [role=status]{padding:12px;font-size:13px}\n.csl-model-segments{display:flex;align-self:flex-start;gap:2px;padding:3px;border-radius:9px;background:var(--csl-button)}\n.csl-model-segments button{padding:4px 10px;min-height:28px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--csl-muted)}\n.csl-model-segments button[data-state=checked]{background:var(--csl-bg);border-color:var(--csl-line);box-shadow:0 1px 2px #0001;color:var(--csl-fg)}\n.csl-model-segments button:not([data-state=checked]):hover{color:var(--csl-fg)}\n.csl-model-row,.csl-model-token-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}\n.csl-model-token-value{width:112px;text-align:left;padding:4px 10px;line-height:20px}\n.csl-model-token-slider{appearance:none;display:block;width:100%;height:28px;flex:none;border-radius:8px;margin:0;cursor:pointer}\n.csl-model-token-slider::-webkit-slider-thumb{appearance:none;width:24px;height:28px;border-radius:8px;background:var(--csl-bg);border:1px solid var(--csl-line);box-shadow:0 1px 3px #0002}\n.csl-model-token-slider::-moz-range-thumb{width:24px;height:26px;border-radius:8px;background:var(--csl-bg);border:1px solid var(--csl-line);box-shadow:0 1px 3px #0002}\n.csl-model-row>.csl-select{background:transparent;min-width:112px}\n.csl-model-row>.csl-select>span:first-child{display:none}\n.csl-model-disclosure{display:flex;align-items:center;gap:10px;text-align:left;background:transparent;border:0;color:var(--csl-muted);padding:0;min-height:24px}\n.csl-model-disclosure svg{width:16px;height:16px;transform:rotate(-90deg)}\n.csl-model-disclosure[aria-expanded=true] svg{transform:none}\n.csl-model-disclosure:hover{color:var(--csl-fg)}\n.csl-model-advanced-body{display:flex;flex-direction:column;gap:14px}\n.csl-model-advanced-body[hidden]{display:none}\n.csl-model-advanced-body p{font-size:13px;line-height:20px;margin:0}\n.csl-model-advanced-body>.csl-model-row:last-child{margin-top:8px}\n.csl-model-stop{display:flex;align-items:center;gap:6px;min-width:0}\n.csl-model-stop .csl-input{flex:1;min-width:0;padding:5px 10px}\n.csl-model-stop>.csl-button{width:28px;padding:4px;background:transparent;flex:none}\n.csl-model-advanced .csl-text-button{background:transparent}\n.csl-model-switch{display:flex;align-items:center;flex:none;width:36px;height:22px;padding:2px;border:0;border-radius:999px;background:var(--csl-selected)}\n.csl-model-switch[data-state=checked]{background:#347fce}\n.csl-model-switch>span{display:block;width:18px;height:18px;border-radius:50%;background:white;box-shadow:0 1px 2px #0002;transform:translateX(0)}\n.csl-model-switch[data-state=checked]>span{transform:translateX(14px)}\n.csl-model-reference a{display:inline-flex;align-items:center;gap:6px;width:fit-content;font-size:13px}\n.csl-model-reference svg{width:13px;height:13px}\n.csl-request .csl-toolbar>.csl-actions:first-child{flex:1;min-width:0;max-width:340px}\n.csl-request .csl-model-settings-trigger{width:32px;padding:6px;flex:none}\n@media(max-width:767px){.csl-model-panel{top:64px;right:8px;bottom:8px;max-width:calc(100% - 16px)}.csl-model-panel-heading{padding:16px 20px}.csl-model-section{padding-inline:16px}.csl-model-panel .csl-model-token-value{width:105px}.csl-model-label{gap:6px}}\n`;\n",
86
+ "type": "registry:ui"
87
+ },
88
+ {
89
+ "path": "components/uibot/console/shell-styles.ts",
90
+ "target": "components/uibot/console/shell-styles.ts",
91
+ "content": "/** Shared shell rules. Business page styles stay with their author modules. */\nexport const CONSOLE_SHELL_CSS = `\n.uibot-console,.csl-popup{--csl-bg:#fcfcfa;--csl-nav:#fafaf8;--csl-line:#e6e6e2;--csl-muted:#878780;--csl-fg:#242421;--csl-button:#eeeeea;--csl-selected:#e8e8e4;color:var(--csl-fg);background:var(--csl-bg);font:14px/1.45 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",sans-serif}\n.dark .uibot-console,.dark .csl-popup{--csl-bg:#141414;--csl-nav:#101010;--csl-line:#303030;--csl-muted:#92928b;--csl-fg:#e9e9e4;--csl-button:#303030;--csl-selected:#363636}\n.uibot-console *,.csl-popup *{box-sizing:border-box}.uibot-console button,.uibot-console input,.uibot-console textarea,.csl-popup button,.csl-popup input,.csl-popup textarea{font:inherit}.uibot-console :is(button,a,input,textarea):focus-visible,.csl-popup :is(button,a,input,textarea):focus-visible{outline:2px solid var(--csl-focus,#8a80df);outline-offset:3px}.uibot-console button:not(:disabled),.csl-popup button:not(:disabled){cursor:pointer}.uibot-console button:disabled,.csl-popup button:disabled{opacity:.45;cursor:not-allowed}\n.csl-topbar{height:48px;display:flex;align-items:center;gap:20px;padding:0 16px;border-bottom:1px solid var(--csl-line);background:var(--csl-nav);flex:none}.csl-brand{font:23px Georgia,serif;color:inherit;text-decoration:none;white-space:nowrap}.csl-topbar .csl-search-trigger{position:absolute;left:50%;transform:translateX(-50%);width:min(448px,35vw)}.csl-search-trigger{border:1px solid var(--csl-line);border-radius:8px;height:32px;display:flex;align-items:center;gap:10px;padding:0 10px;background:var(--csl-bg);color:var(--csl-muted)}.csl-search-trigger kbd{margin-left:auto;font:11px inherit;border:1px solid var(--csl-line);border-radius:3px;padding:0 4px}.csl-topbar-actions{margin-left:auto;display:flex;align-items:center;gap:20px}.csl-topbar-actions a{display:flex;align-items:center;gap:7px;color:inherit;text-decoration:none}.csl-topbar svg{width:18px;height:18px}.csl-icon-button{border:0;background:transparent;color:inherit;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px}.csl-body{display:flex;flex:1;min-height:0;overflow:hidden}.csl-sidebar{width:256px;flex:none;border-right:1px solid var(--csl-line);background:var(--csl-nav);min-height:0}.csl-main{flex:1;min-width:0;overflow:auto;padding:24px}\n.uibot-console{--background:var(--csl-bg);--foreground:var(--csl-fg);--border:var(--csl-line);--muted:var(--csl-button);--muted-foreground:var(--csl-muted)}\n.csl-sidebar{display:flex;flex-direction:column}.csl-sidebar-navigation{flex:1;min-height:0;overflow:auto}.csl-sidebar-navigation>.uibot-drilldown{height:100%;border:0}.csl-sidebar-account{padding:16px;border-top:1px solid var(--csl-line);flex:none}.csl-mobile-sidebar{height:calc(100dvh - 4rem);display:flex;flex-direction:column}\n.csl-shell{display:flex;flex-direction:column;height:100dvh;min-width:0}.csl-mobile-trigger{display:none}.csl-shell-workspace,.csl-shell-footer{padding:12px 16px}.csl-shell-drawer{position:fixed;inset:0 auto 0 0;margin:0;width:288px;max-width:85vw;height:100dvh;max-height:100dvh;padding:0;border:0;border-right:1px solid var(--csl-line);box-shadow:0 12px 36px #0004}.csl-shell-overlay{position:fixed;inset:0;background:#0008;z-index:49}.csl-shell-drawer{z-index:50}.csl-shell-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.csl-shell-close{margin:12px;padding:6px 12px;border:1px solid var(--csl-line);border-radius:6px;color:inherit;background:transparent}.csl-shell .csl-brand{min-width:0;overflow-wrap:anywhere;white-space:normal}.csl-shell .csl-topbar-actions{min-width:0}\n@media(max-width:767px){.csl-sidebar{display:none}.csl-mobile-trigger{display:inline-flex;flex:none}.csl-topbar{padding:0 12px;gap:8px}.csl-brand{font-size:20px}.csl-topbar .csl-search-trigger{position:static;transform:none;width:28px;height:28px;border:0;padding:4px;margin-left:auto}.csl-search-trigger>span,.csl-search-trigger kbd{display:none}.csl-topbar-actions{gap:8px}.csl-main{padding:20px 16px}}\n`;\n",
92
+ "type": "registry:ui"
93
+ },
94
+ {
95
+ "path": "components/uibot/console/agent-styles.ts",
96
+ "target": "components/uibot/console/agent-styles.ts",
97
+ "content": "/** Agent draft forms and read-only template previews. */\nexport const CONSOLE_AGENT_CSS = `\n.csl-agent-new>h1{font-size:24px;line-height:32px;font-weight:550;letter-spacing:-.4px;margin:0}\n.csl-agent-new>.csl-page-subtitle{margin:8px 0 0;font-size:14px;line-height:22px}\n.csl-agent-new .csl-quick-description textarea{border:1px solid var(--csl-line);background:color-mix(in srgb,var(--csl-fg) 3%,var(--csl-bg));border-radius:8px;padding:12px;color:inherit;line-height:22px;resize:vertical}\n.csl-agent-new .csl-quick-description>.csl-button{align-self:flex-end}\n.csl-agent-config details.csl-agent-section{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;padding-block:24px;border-bottom:0;border-top:1px solid var(--csl-line)}\n.csl-agent-section>summary{display:grid;grid-template-columns:220px minmax(0,1fr);grid-column:1/-1;gap:32px;list-style:none}\n.csl-agent-section>summary::-webkit-details-marker{display:none}\n.csl-agent-section[open]>summary{display:block;grid-column:1}\n.csl-agent-section-heading h2{display:flex;align-items:center;gap:6px;font-size:14px;line-height:20px;font-weight:500;margin:0}\n.csl-agent-section-heading h2>svg{width:14px;height:14px;transform:rotate(-90deg);flex:none}\n.csl-agent-section[open] .csl-agent-section-heading h2>svg{transform:none}\n.csl-agent-section-heading p{display:none;margin:10px 0 0 20px;font-size:13px;line-height:20px}\n.csl-agent-section[open] .csl-agent-section-heading p{display:block}\n.csl-agent-section[open] .csl-agent-section-summary{display:none}\n.csl-agent-section-summary{font-size:13px;line-height:20px}\n.csl-agent-config details.csl-agent-section>.csl-form-section-fields{padding-top:0;grid-column:2;grid-row:1}\n.csl-agent-new .csl-agent-starting-point{display:block;padding:16px 20px;margin-block:28px 32px}\n.csl-agent-starting-toggle{display:flex;align-items:center;gap:8px;width:100%;padding:0;background:transparent;border:0;color:inherit;text-align:left;font-weight:500;min-height:24px}\n.csl-agent-starting-toggle>svg{width:16px;height:16px;transition:transform .15s}\n.csl-agent-starting-toggle[aria-expanded=false]>svg{transform:rotate(-90deg)}\n.csl-agent-starting-toggle>span{margin-left:8px;font-weight:400}\n.csl-agent-starting-body{display:grid;gap:20px;margin-top:18px}\n.csl-agent-starting-body[hidden]{display:none}\n.csl-agent-new .csl-agent-start-templates{max-height:320px;gap:12px}\n.csl-agent-new .csl-template-option{min-height:108px;display:flex;flex-direction:column;gap:8px;text-align:left;color:inherit;transition:background-color .12s,border-color .12s}\n.csl-agent-new .csl-template-option:hover{background:var(--csl-selected);border-color:var(--csl-muted)}\n.csl-agent-new .csl-template-option strong{font-size:14px;font-weight:500}\n.csl-agent-new .csl-template-option>span{font-size:13px;line-height:1.5}\n.csl-agent-config>.csl-form-section{margin:0;padding-block:26px;gap:32px}\n.csl-agent-config>.csl-form-section h2{font-size:14px;line-height:20px}\n.csl-agent-config .csl-form-section-heading>p{font-size:13px;line-height:20px;margin-top:8px}\n.csl-agent-config .csl-form-section-fields{gap:20px}\n.csl-agent-config textarea{line-height:1.55;resize:vertical;min-height:82px}\n.csl-agent-config textarea.csl-agent-system-prompt{min-height:136px}\n.csl-agent-model-trigger{width:100%;justify-content:flex-start;border:1px solid var(--csl-line);background:transparent;min-height:38px;flex-wrap:wrap;text-align:left}\n.csl-agent-model-trigger>svg:last-child{margin-left:auto;width:14px;height:14px}\n.csl-agent-model-menu{min-width:260px;max-width:min(340px,calc(100vw - 24px));max-height:var(--radix-dropdown-menu-content-available-height,70vh);overflow:auto}\n.csl-agent-menu-hint{font-size:12px;line-height:18px;color:var(--csl-muted);font-weight:400;margin:6px 10px 10px;max-width:240px}\n.csl-menu-value{margin-left:auto;color:var(--csl-muted)}\n.csl-agent-config .csl-field input:not([type=checkbox]),.csl-agent-config .csl-field textarea{background:color-mix(in srgb,var(--csl-fg) 3%,var(--csl-bg))}\n.csl-agent-section>summary:focus-visible,.csl-agent-permissions>summary:focus-visible,.csl-agent-tool-definition>summary:focus-visible{outline:2px solid var(--csl-focus,#8a80df);outline-offset:4px;border-radius:4px}\n.csl-agent-config .csl-field{margin-bottom:0}\n.csl-agent-tool-editor{display:grid;gap:12px;min-width:0}\n.csl-agent-tool-editor details{padding:0;border-bottom:0}\n.csl-agent-tool-editor details>div{padding-top:12px}\n.csl-agent-tool-card{border:1px solid var(--csl-line);border-radius:9px;min-width:0;overflow:hidden}\n.csl-agent-tool-heading{display:flex;align-items:center;gap:10px;padding:14px}\n.csl-agent-tool-heading .csl-icon-button,.csl-agent-code-toolbar .csl-icon-button{padding:4px;flex:none}\n.csl-agent-tool-heading>svg{width:18px;height:18px;flex:none;color:var(--csl-muted)}\n.csl-agent-tool-heading>div{min-width:0;flex:1}\n.csl-agent-tool-heading strong{font-weight:500}\n.csl-agent-tool-heading small,.csl-agent-permission small,.csl-agent-orchestration small,.csl-agent-orchestration-options small{display:block;font-size:12px;line-height:18px;font-weight:400;margin-top:4px;overflow-wrap:anywhere}\n.csl-agent-permissions{border-top:1px solid var(--csl-line)}\n.csl-agent-permissions>summary,.csl-agent-tool-definition>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;padding:10px 14px;font-size:13px}\n.csl-agent-permissions>summary::-webkit-details-marker,.csl-agent-tool-definition>summary::-webkit-details-marker{display:none}\n.csl-agent-permissions>summary:hover,.csl-agent-tool-definition>summary:hover{background:var(--csl-selected)}\n.csl-agent-permissions>summary>svg,.csl-agent-tool-definition>summary>svg{width:14px;height:14px;margin-left:auto;transform:rotate(-90deg)}\n.csl-agent-permissions[open]>summary>svg,.csl-agent-tool-definition[open]>summary>svg{transform:none}\n.csl-agent-permission{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-top:1px solid var(--csl-line)}\n.csl-agent-permission strong{font-size:13px;font-weight:500}\n.csl-agent-permission .csl-select{min-width:130px;background:transparent}\n.csl-agent-permission .csl-select>span:first-child{display:none}\n.csl-agent-tool-definition>.csl-option-list{padding:6px 14px 16px;gap:16px}\n.csl-agent-tool-definition input,.csl-agent-tool-definition textarea{width:100%;color:inherit;border:1px solid var(--csl-line);border-radius:7px;padding:8px 10px;background:transparent;font-weight:400}\n.csl-agent-schema{font:12px/20px ui-monospace,SFMono-Regular,monospace!important;min-height:104px!important}\n.csl-agent-tool-actions{flex-wrap:wrap}\n.csl-agent-tool-actions>.csl-button{background:transparent;border:1px solid var(--csl-line);font-size:13px}\n.csl-agent-orchestration{align-items:flex-start!important;padding:12px;border:1px solid var(--csl-line);border-radius:8px}\n.csl-agent-orchestration:hover{background:var(--csl-selected)}\n.csl-agent-orchestration input{margin-top:4px}\n.csl-agent-orchestration strong,.csl-agent-orchestration-options>strong{font-size:13px;font-weight:500}\n.csl-agent-orchestration-options{display:grid;gap:14px;margin:0 0 8px;padding:12px;border-left:2px solid var(--csl-line)}\n.csl-agent-code{border:1px solid var(--csl-line);border-radius:9px;background:color-mix(in srgb,var(--csl-fg) 3%,var(--csl-bg));min-width:0;overflow:hidden}\n.csl-agent-code-toolbar{display:flex;align-items:center;gap:6px;padding:8px 12px;border-bottom:1px solid var(--csl-line);font-size:13px}\n.csl-agent-code-toolbar>strong{font-weight:500;margin-right:auto}\n.csl-agent-code-toolbar .csl-select{background:transparent;min-width:0;font-size:12px}\n.csl-agent-code-toolbar .csl-select>span:first-child{display:none}\n.csl-agent-code-content{padding:16px;max-height:400px;overflow:auto}\n.csl-agent-code-content .csl-syntax{font-size:12px;line-height:20px;overflow:visible}\n.csl-agent-raw{min-width:0}\n.csl-agent-raw>.csl-agent-code-toolbar{padding-inline:0;border:0}\n.csl-agent-raw .csl-agent-code-toolbar>.csl-muted{flex:1;min-width:0;font-size:12px;line-height:18px}\n.csl-agent-code-editor{position:relative;height:400px;min-height:240px}\n.csl-agent-code-highlight{position:absolute;inset:0;padding:16px;overflow:hidden;pointer-events:none}\n.csl-agent-code-highlight .csl-syntax{font:12px/20px ui-monospace,SFMono-Regular,monospace;overflow:visible;tab-size:2}\n.csl-agent-config .csl-agent-code-editor>textarea{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:16px;border:0;border-radius:0;background:transparent;color:transparent;caret-color:var(--csl-fg);font:12px/20px ui-monospace,SFMono-Regular,monospace;white-space:pre;resize:none;overflow:auto;tab-size:2}\n.csl-agent-code-editor>textarea::selection{background:color-mix(in srgb,var(--csl-focus,#8a80df) 30%,transparent)}\n.csl-agent-editor-help{font-size:12px;line-height:20px;margin:0;padding:10px 16px;border-top:1px solid var(--csl-line)}\n@media(forced-colors:active){.csl-agent-code-highlight{display:none}.csl-agent-config .csl-agent-code-editor>textarea{color:CanvasText;caret-color:CanvasText}}\n.csl-popup.csl-modal[data-size=wide]:has(.csl-agent-template-preview){width:calc(100vw - 48px);max-width:1024px}\n.csl-agent-template-preview{display:grid;gap:24px}\n.csl-modal:has(.csl-agent-template-preview) .csl-modal-heading [data-slot=dialog-description]{font-size:14px}\n.csl-agent-template-preview .csl-agent-code-content{min-height:min(400px,45dvh)}\n.csl-agent-template-preview .csl-syntax{white-space:pre-wrap;overflow-wrap:anywhere}\n.csl-modal-body .csl-agent-template-preview>.csl-form-footer{position:static;min-height:32px;margin:0;padding:0;border:0;background:transparent;gap:8px}\n.csl-agent-outcome>div{display:flex;align-items:center;justify-content:space-between;gap:12px}\n.csl-agent-outcome p{margin:12px 0;font-size:14px;line-height:1.6}\n.csl-agent-outcome summary{font-size:13px;cursor:pointer;color:var(--csl-muted)}\n.csl-agent-outcome li{font-size:13px;line-height:1.7}\n.csl-agent-quickstart{max-width:896px}\n.csl-agent-quickstart .csl-quickstart-intro{max-width:672px}\n.csl-agent-quickstart .csl-quickstart-intro:has(>.csl-host-note){margin-bottom:8px}\n.csl-agent-quickstart .csl-quickstart-intro h1{font-size:22px;line-height:30px;font-weight:500;letter-spacing:-.3px}\n.csl-agent-quickstart .csl-quickstart-prompt{position:relative;background:color-mix(in srgb,var(--csl-fg) 5%,var(--csl-bg));margin-top:28px;padding:12px 14px}\n.csl-agent-quickstart .csl-quickstart-prompt textarea{font-size:16px;line-height:22px;min-height:66px;padding:0 36px 20px 0}\n.csl-agent-quickstart .csl-quickstart-prompt-footer{position:absolute;right:8px;bottom:8px;padding:0}\n.csl-agent-quickstart .csl-quickstart-templates{gap:16px}\n.csl-agent-quickstart .csl-quickstart-prompt-footer{justify-content:flex-end}\n.csl-agent-quickstart .csl-quickstart-template{color:inherit;text-align:left}\n.csl-agent-quickstart .csl-quickstart-template-main>strong{font-size:14px}\n.csl-agent-quickstart .csl-quickstart-template-main>.csl-muted{font-size:13px;line-height:20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}\n.csl-agent-quickstart .csl-quickstart-feature{margin-left:auto}\n.csl-agent-quickstart .csl-quickstart-template{position:relative;min-height:128px;padding:0;gap:0;transition:background-color .12s,border-color .12s}\n.csl-quickstart-template:has(.csl-quickstart-template-main:focus-visible){outline:2px solid var(--csl-focus,#8a80df);outline-offset:3px}\n.csl-quickstart-template-main{display:flex;flex:1;flex-direction:column;gap:8px;padding:14px 14px 44px;width:100%;text-align:left;border:0;background:transparent;color:inherit;border-radius:inherit;cursor:pointer}\n.csl-agent-quickstart .csl-quickstart-template-main:focus-visible{outline:none}\n.csl-agent-quickstart .csl-quickstart-template>.csl-quickstart-feature{position:absolute;bottom:14px;right:14px;background:transparent;border:0;color:var(--csl-muted);padding:0;font-size:13px;line-height:20px;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px;cursor:pointer}\n.csl-agent-quickstart .csl-quickstart-feature:hover{color:var(--csl-fg)}\n.csl-agent-template-integrations{position:absolute;left:14px;bottom:14px;display:flex;align-items:center;gap:8px;pointer-events:none}\n.csl-agent-provider-stack{display:inline-flex;align-items:center;isolation:isolate}\n.csl-agent-quickstart .csl-agent-provider{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid var(--csl-line);border-radius:50%;background:var(--csl-button);color:var(--csl-fg);box-sizing:border-box}\n.csl-agent-provider+.csl-agent-provider{margin-left:-8px}\n.csl-agent-provider>svg{width:16px;height:16px;flex:none}\n.csl-agent-provider[data-provider=sentry]>svg{color:#9e63d8}\n.csl-agent-provider[data-provider=atlassian]>svg{color:#2684ff}\n.csl-agent-provider[data-provider=asana]>svg{color:#f06a6a}\n.csl-agent-provider[data-provider=box]>svg{color:#2684ff}\n.csl-agent-provider[data-provider=amplitude]>svg{padding:3px;border-radius:50%;box-sizing:content-box;color:white;background:#2463eb}\n.csl-agent-provider[data-provider=slack] path:nth-of-type(2){stroke:#36c5f0}\n.csl-agent-provider[data-provider=slack] path:nth-of-type(3){stroke:#2eb67d}\n.csl-agent-provider[data-provider=slack] path:nth-of-type(4){stroke:#ecb22e}\n.csl-agent-provider[data-provider=slack] path:nth-of-type(5){stroke:#e01e5a}\n.csl-agent-quickstart .csl-agent-file-badge{display:inline-flex;align-items:center;gap:5px;padding:1px 6px;border-radius:5px;background:var(--csl-selected);font-size:12px;line-height:18px}\n.csl-agent-file-badge>svg{width:13px;height:13px}\n@media(hover:hover){.csl-agent-quickstart .csl-quickstart-template:has(.csl-quickstart-template-main:hover){background:color-mix(in srgb,var(--csl-fg) 3%,var(--csl-bg));border-color:var(--csl-muted)}}\n.csl-agent-feature-popover{max-width:min(280px,calc(100vw - 24px));padding:14px;border:1px solid var(--csl-line);border-radius:9px;box-shadow:0 8px 24px #0002;z-index:70;font-size:13px}\n.csl-agent-feature-popover p{margin:0;color:var(--csl-muted);line-height:20px}\n.csl-agent-mcp-picker{width:min(400px,calc(100vw - 32px));padding:12px;border:1px solid var(--csl-line);border-radius:10px;box-shadow:0 8px 24px #0002;z-index:70}\n.csl-agent-mcp-picker .csl-input{font-size:13px;padding:10px;background:transparent}\n.csl-agent-mcp-picker p{margin:10px 0 0;font-size:12px;line-height:18px}\n.csl-agent-mcp-options{display:grid;max-height:280px;overflow:auto;gap:4px;margin-top:8px}\n.csl-agent-mcp-options>button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 8px;border:0;border-radius:6px;background:transparent;color:inherit;text-align:left}\n.csl-agent-mcp-options>button:hover{background:var(--csl-selected)}\n.csl-agent-mcp-options>button>svg{width:18px;height:18px;flex:none;color:var(--csl-muted)}\n.csl-agent-mcp-options>button>svg:last-child{margin-left:auto;width:14px;height:14px}\n.csl-agent-mcp-options strong{font-size:13px;font-weight:500;display:block}\n.csl-agent-mcp-options small{font-size:11px;line-height:18px;color:var(--csl-muted);overflow-wrap:anywhere}\n@media(max-width:767px){.csl-agent-config details.csl-agent-section{grid-template-columns:1fr;gap:16px}.csl-agent-section>summary{grid-template-columns:1fr auto;gap:12px}.csl-agent-config details.csl-agent-section>.csl-form-section-fields{grid-column:1;grid-row:auto}.csl-agent-new .csl-agent-starting-point{padding:14px}.csl-agent-new .csl-agent-start-templates{grid-template-columns:1fr}.csl-agent-config>.csl-form-section{gap:16px}.csl-agent-permission{flex-wrap:wrap}.csl-agent-code-content{max-height:50dvh}.csl-agent-model-trigger{font-size:12px}.csl-agent-quickstart .csl-quickstart-intro{margin-bottom:28px}}\n@media(prefers-reduced-motion:reduce){.csl-agent-starting-toggle>svg{transition:none}}\n`;\n",
98
+ "type": "registry:ui"
99
+ },
100
+ {
101
+ "path": "components/uibot/console/preferences-styles.ts",
102
+ "target": "components/uibot/console/preferences-styles.ts",
103
+ "content": "/** Profile, organization, workspace and capability settings styles. */\nexport const CONSOLE_PREFERENCES_CSS = `\n.csl-preferences-page{max-width:1120px;margin-inline:auto}\n.csl-preferences-page>.csl-page-heading{margin-bottom:28px}\n.csl-preferences-page .csl-settings-example{margin:0 0 18px}\n.csl-pref-label,.csl-field>label{font-size:13px;font-weight:500;line-height:20px}\n.csl-copy-value{display:flex;align-items:center;gap:8px;min-width:0}\n.csl-copy-value code{flex:1;min-width:0;overflow-wrap:anywhere;border:1px solid var(--csl-line);border-radius:7px;background:var(--csl-button);padding:8px 10px;font:12px/20px ui-monospace,SFMono-Regular,monospace}\n.csl-copy-value .csl-button{flex:none}\n.csl-visually-hidden-file{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}\n.csl-profile-rows{display:grid;gap:0;max-width:768px}\n.csl-preference-row{display:grid;grid-template-columns:minmax(210px,1fr) minmax(0,1fr);gap:32px;align-items:center;min-width:0;padding:22px 0;border-bottom:1px solid var(--csl-line)}\n.csl-profile-rows>.csl-preference-row:first-child{padding-top:4px}\n.csl-preference-copy h2{font-size:14px;font-weight:500;line-height:21px;margin:0 0 5px}\n.csl-preference-copy p{font-size:12px;line-height:19px;margin:0}\n.csl-preference-control{min-width:0}\n.csl-preference-control>.csl-input{width:100%}\n.csl-profile-photo-control{display:flex;align-items:center;gap:18px}\n.csl-profile-photo-copy{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}\n.csl-profile-photo-copy>.csl-host-note,.csl-profile-photo-copy>.csl-settings-request{flex-basis:100%;margin:0}\n.csl-profile-photo-copy .csl-profile-file-name{flex-basis:100%}\n.csl-profile-avatar{display:grid;place-items:center;width:64px;height:64px;flex:none;border:1px solid var(--csl-line);border-radius:50%;background:var(--csl-button);color:var(--csl-muted)}\n.csl-profile-avatar svg{width:31px;height:31px;stroke-width:1.3}\n.csl-profile-file-name{max-width:100%;font-size:12px;overflow-wrap:anywhere}\n.csl-profile-rows>.csl-form-footer{display:flex;justify-content:flex-end;align-items:center;gap:14px;padding:18px 0 0}\n.csl-profile-rows>.csl-settings-request{margin-top:14px}\n.csl-pref-value{margin:0;font-size:14px;line-height:22px;overflow-wrap:anywhere}\n.csl-appearance-options{display:flex;justify-content:flex-end;gap:2px;width:fit-content;margin-left:auto;padding:3px;border:1px solid var(--csl-line);border-radius:9px;background:var(--csl-button)}\n.csl-appearance-option{display:grid;place-items:center;width:34px;height:30px;min-height:30px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--csl-muted)}\n.csl-appearance-option svg{width:16px;height:16px}\n.csl-appearance-option[aria-pressed=true]{background:var(--csl-bg);color:var(--csl-fg);box-shadow:0 0 0 1px var(--csl-line)}\n.csl-organization-rows{display:grid;gap:0;max-width:960px}\n.csl-organization-rows>.csl-preference-row{grid-template-columns:minmax(230px,1fr) minmax(0,1.2fr);padding:18px 0}\n.csl-address-lines{display:grid;gap:10px}\n.csl-address-city-row{display:grid;grid-template-columns:1.1fr 1fr .8fr;gap:10px}\n.csl-organization-rows .csl-select{width:100%;justify-content:space-between}\n.csl-organization-rows .csl-copy-value{max-width:440px}\n.csl-organization-address-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:18px 0 28px}\n.csl-organization-address-footer .csl-host-note{margin:0 auto 0 0}\n.csl-organization-danger-row,.csl-organization-convert-row{display:grid;grid-template-columns:minmax(230px,1fr) minmax(0,1.2fr);align-items:center;gap:32px;padding:24px 0;border-top:1px solid var(--csl-line)}\n.csl-organization-danger-row>.csl-button,.csl-organization-convert-row>.csl-button{justify-self:start}\n.csl-organization-danger-row>.csl-danger{border-color:#bd3c36;background:transparent;color:#bd3c36}\n.csl-organization-danger-row>.csl-danger svg{width:15px;height:15px}\n.csl-workspace-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:18px}\n.csl-workspace-toolbar>.csl-search-input{flex:1;max-width:360px;background:transparent}\n.csl-workspaces-table-card{padding:0;overflow:auto}\n.csl-workspaces-table{min-width:740px}\n.csl-workspaces-table th,.csl-workspaces-table td{padding:13px 16px}\n.csl-workspaces-table th:first-child,.csl-workspaces-table td:first-child{padding-left:20px}\n.csl-workspaces-table td:last-child{width:58px;text-align:right}\n.csl-workspaces-table .csl-button{min-width:32px;padding:5px}\n.csl-workspaces-table .csl-button svg{width:15px;height:15px}\n.csl-workspaces-table code{font:12px ui-monospace,SFMono-Regular,monospace;color:var(--csl-muted)}\n.csl-workspaces-no-results{text-align:center!important;padding:54px 16px!important;color:var(--csl-muted)}\n.csl-workspace-details{display:grid;align-content:start;gap:24px}\n.csl-workspace-drawer-toolbar{display:flex;align-items:center;gap:4px;padding:4px 32px 14px 0;border-bottom:1px solid var(--csl-line)}.csl-workspace-drawer-toolbar>span{margin-right:auto;font-weight:500}.csl-workspace-drawer-toolbar .csl-button{padding:4px;min-height:28px;background:transparent}.csl-workspace-drawer-heading{display:flex;align-items:center;justify-content:space-between}.csl-workspace-drawer-heading h2{font-size:22px;font-weight:550;margin:0}.csl-workspace-drawer-heading .csl-button{padding:5px;background:transparent}.csl-workspace-metadata{display:grid;gap:16px;margin:0}.csl-workspace-metadata>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px}.csl-workspace-metadata dt{color:var(--csl-muted)}.csl-workspace-metadata dd{margin:0}.csl-workspace-security h3{font-size:14px;font-weight:500;margin:0 0 20px}\n.csl-workspace-detail-id{display:grid;gap:8px}\n.csl-workspace-detail-id code{font:12px ui-monospace,SFMono-Regular,monospace;overflow-wrap:anywhere}\n.csl-workspace-detail-links{display:grid;border-top:1px solid var(--csl-line)}\n.csl-workspace-detail-links a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 2px;border-bottom:1px solid var(--csl-line);color:inherit;text-decoration:none}\n.csl-workspace-detail-links svg{width:16px;height:16px;color:var(--csl-muted)}\n.csl-workspace-details>.csl-host-note{font-size:12px;line-height:19px}\n.csl-workspace-new-page{max-width:760px}\n.csl-workspace-new-page>.csl-breadcrumb{margin-bottom:18px}\n.csl-workspace-new-page>.csl-page-heading{margin-bottom:28px}\n.csl-workspace-new-page>.csl-form{gap:24px}\n.csl-workspace-color-fieldset{border:0;padding:0;margin:0}\n.csl-workspace-color-fieldset legend,.csl-restrictions legend{font-size:14px;font-weight:500;padding:0}\n.csl-workspace-colors{display:flex;align-items:center;gap:10px;margin-top:12px}\n.csl-workspace-color{position:relative;display:grid!important;place-items:center;width:30px;height:30px;padding:0;border:1px solid transparent;border-radius:50%;font-size:0!important;cursor:pointer}\n.csl-workspace-color:has(input:checked){border-color:var(--csl-fg)}\n.csl-workspace-color input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}\n.csl-workspace-color-dot{width:16px;height:16px;border:1px solid color-mix(in srgb,var(--workspace-color) 75%,var(--csl-fg));border-radius:50%;background:var(--workspace-color);pointer-events:none}\n.csl-workspace-color input:focus-visible+.csl-workspace-color-dot{outline:2px solid var(--csl-focus);outline-offset:3px}\n.csl-workspace-new-page .csl-form-footer{border-top:1px solid var(--csl-line);padding-top:18px}\n.csl-preferences-page .csl-pref-switch-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0;border-bottom:1px solid var(--csl-line)}\n.csl-preferences-page .csl-pref-switch-row:first-child{padding-top:0}\n.csl-preferences-page .csl-pref-switch-row:last-child{border-bottom:0;padding-bottom:0}\n.csl-pref-switch-row h3{font-size:14px;font-weight:500;line-height:21px;margin:0 0 4px}\n.csl-pref-switch-row p{font-size:13px;line-height:20px;margin:0;max-width:680px}\n.csl-capabilities-page .csl-card-heading{margin-bottom:18px}\n.csl-restrictions{border:0;border-top:1px solid var(--csl-line);padding:18px 0 0;margin:18px 0 0;min-width:0}\n.csl-restrictions .csl-option-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}\n.csl-restrictions .csl-option-list label{display:flex;align-items:center;gap:8px;min-height:38px;padding:8px;border-radius:7px;font-size:12px;line-height:18px}\n.csl-restrictions .csl-option-list input{accent-color:var(--csl-fg);flex:none}\n.csl-restrictions>.csl-field{margin:14px 0 0}\n.csl-restrictions textarea{resize:vertical}\n.csl-preferences-save{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:22px}\n.csl-preferences-save .csl-host-note{margin:0 auto 0 0}\n.csl-code-settings-page>.csl-settings-example{margin-top:-10px}\n.csl-code-settings-page>.csl-card{max-width:900px}\n@media(max-width:767px){\n .csl-preference-row,.csl-organization-rows>.csl-preference-row,.csl-organization-danger-row,.csl-organization-convert-row{grid-template-columns:1fr;gap:12px;padding:18px 0}\n .csl-profile-photo-control{justify-content:space-between}\n .csl-profile-photo-copy{flex:1}\n .csl-appearance-options{margin-left:0}\n .csl-address-city-row{grid-template-columns:1fr 1fr}\n .csl-address-city-row>.csl-input:first-child{grid-column:1/-1}\n .csl-organization-address-footer{align-items:flex-start;flex-direction:column}\n .csl-organization-address-footer>.csl-button{align-self:flex-end}\n .csl-workspace-toolbar{align-items:stretch;flex-wrap:wrap}\n .csl-workspace-toolbar>.csl-search-input{max-width:none;flex-basis:100%}\n .csl-restrictions .csl-option-list{grid-template-columns:1fr}\n .csl-preferences-save{align-items:flex-start;flex-direction:column}\n .csl-preferences-save>.csl-button{align-self:flex-end}\n}\n`;\n",
104
+ "type": "registry:ui"
105
+ },
106
+ {
107
+ "path": "components/uibot/console/telemetry-styles.ts",
108
+ "target": "components/uibot/console/telemetry-styles.ts",
109
+ "content": "export const CONSOLE_TELEMETRY_CSS = `\n.csl-telemetry-page{max-width:1160px;margin-inline:auto}\n.csl-telemetry-filter-row{display:flex;justify-content:flex-end;margin:-4px 0 14px}\n.csl-telemetry-filter-row>.csl-select{min-width:150px}\n.csl-telemetry-card{padding:0;overflow:hidden}\n.csl-telemetry-table{min-width:760px}\n.csl-telemetry-table th{width:16.66%;padding:13px 16px;font-weight:500}\n.csl-telemetry-table th:first-child{padding-left:20px}\n.csl-telemetry-card>.csl-empty{min-height:260px;border-top:1px solid var(--csl-line)}\n.csl-telemetry-empty-actions{display:flex;align-items:center;gap:16px}\n.csl-telemetry-empty-description{margin:0 0 14px;font-size:13px;line-height:20px;color:var(--csl-muted)}\n.csl-telemetry-empty-actions>.csl-button{display:inline-flex;align-items:center;gap:7px}\n.csl-telemetry-empty-actions>.csl-button svg,.csl-telemetry-add-header svg{width:15px;height:15px}\n.csl-telemetry-empty-actions>.csl-link{font-size:13px}\n.csl-telemetry-form{gap:18px}\n.csl-telemetry-modal-docs{margin:-4px 0 0;font-size:12px;line-height:19px;color:var(--csl-muted)}\n.csl-telemetry-modal-docs a{color:inherit}\n.csl-telemetry-form>.csl-field{gap:8px}\n.csl-telemetry-input{display:block;width:100%;min-width:0;min-height:38px;padding:8px 10px;border:1px solid var(--csl-line);border-radius:7px;background:var(--csl-bg);color:var(--csl-fg);font:inherit;font-size:13px;line-height:20px}\n.csl-telemetry-input::placeholder{color:var(--csl-muted);opacity:.8}\n.csl-telemetry-input:focus-visible{outline:2px solid var(--csl-focus);outline-offset:1px}\n.csl-telemetry-input[aria-invalid=true]{border-color:#c74740}\n.csl-telemetry-headers{display:grid;gap:9px}\n.csl-telemetry-headers>p{margin:0;font-size:12px;line-height:18px}\n.csl-telemetry-header-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) 36px;align-items:center;gap:8px}\n.csl-telemetry-header-row label{min-width:0}\n.csl-telemetry-remove-header{width:36px;min-height:36px;padding:0}\n.csl-telemetry-remove-header svg{width:15px;height:15px}\n.csl-telemetry-add-header{width:max-content;display:inline-flex;align-items:center;gap:6px}\n.csl-telemetry-choice-group{display:grid;gap:10px;margin:0;padding:0;border:0}\n.csl-telemetry-choice-group legend{margin-bottom:2px;font-size:13px;font-weight:500}\n.csl-telemetry-choice{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border:1px solid var(--csl-line);border-radius:8px;cursor:pointer}\n.csl-telemetry-choice:focus-within{outline:2px solid var(--csl-focus);outline-offset:1px}\n.csl-telemetry-choice input{flex:none;margin:3px 0 0;accent-color:var(--csl-focus)}\n.csl-telemetry-choice>span{display:grid;gap:3px;font-size:13px;line-height:19px}\n.csl-telemetry-choice strong{font-weight:500}\n.csl-telemetry-choice small{color:var(--csl-muted);font-size:12px;line-height:18px}\n.csl-telemetry-sensitive-note{margin:0;padding:10px 12px;border-radius:7px;background:color-mix(in srgb,#d59332 10%,var(--csl-bg));font-size:12px;line-height:19px}\n.csl-telemetry-workspace-choice{margin-top:4px}\n.csl-telemetry-advanced{border-top:1px solid var(--csl-line);padding-top:15px}\n.csl-telemetry-advanced summary{width:max-content;margin-bottom:14px;cursor:pointer;font-size:13px;font-weight:500}\n.csl-telemetry-advanced summary:focus-visible{outline:2px solid var(--csl-focus);outline-offset:3px;border-radius:2px}\n.csl-telemetry-advanced[open] summary{margin-bottom:14px}\n@media(max-width:640px){\n .csl-telemetry-page>.csl-page-heading{gap:14px}\n .csl-telemetry-header-row{grid-template-columns:minmax(0,1fr) 36px}\n .csl-telemetry-header-row label:nth-child(2){grid-column:1}\n .csl-telemetry-header-row>.csl-button{grid-column:2;grid-row:1/3}\n .csl-telemetry-empty-actions{flex-direction:column;gap:12px}\n}\n`;\n",
110
+ "type": "registry:ui"
111
+ },
112
+ {
113
+ "path": "components/uibot/console/account-styles.ts",
114
+ "target": "components/uibot/console/account-styles.ts",
115
+ "content": "export const CONSOLE_ACCOUNT_CSS = `\n.csl-account{padding:7px;border-radius:8px}.csl-account:hover,.csl-account[data-state=open]{background:var(--csl-selected)}\n.csl-account-mark{width:34px;height:34px;flex:none;display:grid;place-items:center;border:1px solid var(--csl-line);background:var(--csl-button);border-radius:8px}\n.csl-account-menu{width:288px;max-width:calc(100vw - 24px);padding:8px;border-radius:12px;box-shadow:0 6px 20px #0002}\n.csl-account-menu [data-slot=dropdown-menu-item],.csl-account-menu [data-slot=dropdown-menu-sub-trigger]{min-height:34px;gap:10px;padding:7px 8px;font-size:14px;cursor:pointer}\n.csl-account-menu [data-slot=dropdown-menu-separator]{height:1px;margin:7px 4px;background:var(--csl-line)}\n.csl-account-email{padding:0 8px 6px;color:var(--csl-muted);font-size:12px;overflow-wrap:anywhere}\n.csl-account-organization{padding-block:7px!important}.csl-account-menu small{display:block;color:var(--csl-muted);font-size:12px;line-height:1.4}\n.csl-account-menu .csl-account-check{margin-left:auto;color:#4285df}.csl-account-menu .csl-account-trailing{margin-left:auto;width:14px;height:14px}\n.csl-language-search{position:relative}.csl-language-search>svg{position:absolute;left:12px;top:11px;color:var(--csl-muted)}.csl-language-search input{padding-left:36px}\n.csl-language-count{font-size:12px;margin:12px 0 8px}.csl-languages{max-height:380px;overflow:auto;margin-inline:-8px;padding-inline:8px;overscroll-behavior:contain}\n.csl-language{display:flex;align-items:center;gap:12px;min-height:54px;padding:8px;border-radius:6px;cursor:pointer}.csl-language:hover,.csl-language:focus-within{background:var(--csl-selected)}.csl-language small{display:block;color:var(--csl-muted);font-size:12px}.csl-language input{accent-color:var(--csl-fg);flex:none}\n.csl-feedback-rating{margin:0;padding:0;border:0}.csl-feedback-rating legend{font-weight:500;margin-bottom:12px}.csl-feedback-rating>div{display:flex;justify-content:space-between;gap:12px}.csl-feedback-rating label{position:relative;cursor:pointer}.csl-feedback-rating input{position:absolute;opacity:0;width:100%;height:100%;margin:0}.csl-feedback-rating span{display:grid;place-items:center;width:52px;height:48px;border:1px solid var(--csl-line);border-radius:8px;font-size:26px}.csl-feedback-rating input:checked+span{border-color:var(--csl-fg);background:var(--csl-selected)}.csl-feedback-rating input:focus-visible+span{outline:2px solid var(--csl-focus,#8a80df);outline-offset:3px}.csl-feedback-rating label:hover span{background:var(--csl-selected)}.csl-feedback-note{font-size:12px;line-height:1.6;margin:0}\n@media(max-width:400px){.csl-feedback-rating>div{gap:6px}.csl-feedback-rating span{width:42px;height:44px}}\n`;\n",
116
+ "type": "registry:ui"
117
+ },
118
+ {
119
+ "path": "components/uibot/console/code-styles.ts",
120
+ "target": "components/uibot/console/code-styles.ts",
121
+ "content": "/** Scoped syntax token styling for ConsoleCode. */\nexport const CONSOLE_CODE_CSS = `\n:is(.uibot-console,.csl-popup) .csl-syntax{font:13px/1.7 ui-monospace,SFMono-Regular,monospace;white-space:pre;overflow:auto;margin:0;color:var(--csl-fg)}\n:is(.uibot-console,.csl-popup) .csl-syntax-token{color:var(--csl-token-light,var(--csl-fg));background-color:var(--csl-token-light-bg,transparent)}\n.dark :is(.uibot-console,.csl-popup) .csl-syntax-token{color:var(--csl-token-dark,var(--csl-fg));background-color:var(--csl-token-dark-bg,transparent)}\n`;\n",
122
+ "type": "registry:ui"
123
+ },
124
+ {
125
+ "path": "components/uibot/console/interaction-styles.ts",
126
+ "target": "components/uibot/console/interaction-styles.ts",
127
+ "content": "/** Shared interaction states for Console pages and portalled controls. */\nexport const CONSOLE_INTERACTION_CSS = `\n.uibot-console,.csl-popup{\n --csl-hover:#f2f2ee;--csl-button-hover:#e4e4de;--csl-pressed:#dcdcd4;\n --csl-border-hover:#c7c7bd;--csl-focus:#7466b5;--csl-primary-hover:#41413c;\n --csl-primary-pressed:#55554d;--csl-selected-line:#98988c;\n --accent:var(--csl-selected);--accent-foreground:var(--csl-fg);\n --popover:var(--csl-bg);--popover-foreground:var(--csl-fg);--ring:var(--csl-focus);\n}\n.dark .uibot-console,.dark .csl-popup{\n --csl-hover:#222222;--csl-button-hover:#3c3c38;--csl-pressed:#484842;\n --csl-border-hover:#5b5b53;--csl-focus:#b4a3ee;--csl-primary-hover:#d3d3c9;\n --csl-primary-pressed:#bbbbb0;--csl-selected-line:#99998a;\n}\n:is(.uibot-console,.csl-popup) :where(button,a,input,textarea,summary,[role=option],tr){\n transition-property:background-color,border-color,color,box-shadow;\n transition-duration:140ms;transition-timing-function:ease;\n}\n:is(.uibot-console,.csl-popup) :is(button,a,input,textarea,summary):focus-visible{\n outline:2px solid var(--csl-focus);outline-offset:3px;\n}\n:is(.uibot-console,.csl-popup) :is(button,input,textarea):disabled,\n:is(.uibot-console,.csl-popup) [aria-disabled=true]{cursor:not-allowed}\n:is(.uibot-console,.csl-popup) :is(input,textarea):disabled{opacity:.45}\n.uibot-console .uibot-drilldown-row:focus-visible{outline-offset:-2px}\n.csl-account{border-radius:7px;min-height:40px}\n.csl-resource-row,.csl-skill-row{border-radius:7px}\n.csl-tabs button,.csl-segmented button{border-radius:5px 5px 0 0}\n.csl-segmented button{border-radius:6px}\n.csl-select[data-state=open],.csl-workspace-picker[data-state=open]{\n background:var(--csl-selected);border-color:var(--csl-border-hover);\n}\n.csl-account[data-state=open]{background:var(--csl-selected)}\n.csl-icon-button[aria-expanded=true]{background:var(--csl-selected)}\n.csl-card[aria-pressed=true]{\n background:var(--csl-selected);border-color:var(--csl-selected-line);\n box-shadow:inset 0 0 0 1px var(--csl-selected-line);\n}\n.csl-table tbody tr:has(input[type=checkbox]:checked){background:var(--csl-selected)}\n.csl-table tbody tr:focus-within{background:var(--csl-hover)}\n.csl-search-input:focus-within{border-color:var(--csl-focus)}\n.csl-search-input:has(input:focus-visible){outline:2px solid var(--csl-focus);outline-offset:3px}\n:is(.uibot-console,.csl-popup) .csl-search-input input:focus-visible{outline:none}\n:is(.uibot-console,.csl-popup) input[type=checkbox]:not(:disabled){cursor:pointer}\n.csl-modal>[data-slot=dialog-close]{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:6px}\n@media(hover:hover){\n .csl-button:not(:disabled):not([aria-disabled=true]):hover,\n .csl-select:not(:disabled):hover,.csl-workspace-picker:not(:disabled):hover{\n background:var(--csl-button-hover);border-color:var(--csl-border-hover);\n }\n .csl-primary:not(:disabled):not([aria-disabled=true]):hover{\n background:var(--csl-primary-hover);color:var(--csl-bg);border-color:transparent;\n }\n .csl-text-button:not(:disabled):hover{background:transparent;color:var(--csl-fg);border-color:transparent;text-decoration:underline;text-underline-offset:3px}\n .csl-icon-button:not(:disabled):hover,.csl-account:hover,\n .csl-modal>[data-slot=dialog-close]:not(:disabled):hover{background:var(--csl-button-hover)}\n .csl-search-trigger:hover{background:var(--csl-hover);border-color:var(--csl-border-hover);color:var(--csl-fg)}\n .csl-topbar-actions .csl-documentation:hover{color:var(--csl-muted)}\n .uibot-console .uibot-drilldown-row:not(:disabled):not([aria-disabled=true]):hover{background:var(--csl-hover)}\n .uibot-console .uibot-drilldown-row[data-active=true]:not(:disabled):hover{background:var(--csl-selected)}\n :is(button,a).csl-card:not(:disabled):not([aria-disabled=true]):hover,\n .csl-model:hover{background:var(--csl-hover);border-color:var(--csl-border-hover)}\n .csl-card[aria-pressed=true]:not(:disabled):hover{background:var(--csl-selected);border-color:var(--csl-selected-line)}\n .csl-segmented button:not(:disabled):not([data-state=active]):hover{color:var(--csl-fg);background:var(--csl-hover)}\n .csl-tabs button:not(:disabled):not([aria-selected=true]):hover{color:var(--csl-fg);border-color:var(--csl-border-hover)}\n .csl-input:not(:disabled):hover,.csl-search-input:hover,\n .csl-field input:not(:disabled):not([type=checkbox]):hover,.csl-field textarea:not(:disabled):hover{border-color:var(--csl-border-hover)}\n .csl-resource-row:hover,.csl-skill-row:hover,.csl-search-results a:hover,\n .csl-table tbody tr:has(:is(button,a,input):not(:disabled)):hover{background:var(--csl-hover)}\n .csl-table tbody tr:has(input[type=checkbox]:checked):hover{background:var(--csl-selected)}\n .csl-table-text-button:not(:disabled):hover,.csl-link:not(.csl-button):not(.csl-card):hover,.csl-dashboard-footer a:hover{\n text-decoration:underline;text-underline-offset:3px;\n }\n .csl-table-text-button:not(:disabled):hover,.csl-dashboard-footer a:hover{color:var(--csl-fg)}\n .csl-agent-config summary:hover,.csl-optional-accordion summary:hover{color:var(--csl-muted)}\n}\n.csl-button:not(:disabled):not([aria-disabled=true]):active,\n.csl-icon-button:not(:disabled):active,.csl-select:not(:disabled):active,\n.csl-workspace-picker:not(:disabled):active,.csl-account:active{background:var(--csl-pressed)}\n.csl-primary:not(:disabled):not([aria-disabled=true]):active{background:var(--csl-primary-pressed);color:var(--csl-bg)}\n.csl-text-button:not(:disabled):active{background:transparent;color:var(--csl-fg)}\n:is(button,a).csl-card:not(:disabled):not([aria-disabled=true]):active,.csl-model:active{background:var(--csl-selected)}\n.csl-select:disabled,.csl-workspace-picker:disabled{background:var(--csl-button);border-color:var(--csl-line)}\n@media(prefers-reduced-motion:reduce){\n :is(.uibot-console,.csl-popup) :where(button,a,input,textarea,summary,[role=option],tr){transition-duration:0s}\n}\n`;\n",
128
+ "type": "registry:ui"
129
+ },
130
+ {
131
+ "path": "components/uibot/console/settings-styles.ts",
132
+ "target": "components/uibot/console/settings-styles.ts",
133
+ "content": "/** Settings layouts and the agent composer share the Console interaction palette. */\nexport const CONSOLE_SETTINGS_CSS = `\n.csl-settings-page{max-width:1120px;margin-inline:auto}\n.csl-settings-example{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:-16px 0 26px;color:var(--csl-muted);font-size:12px}\n.csl-settings-example .csl-tag{color:var(--csl-muted)}\n.csl-settings-table{padding:0;overflow:hidden}\n.csl-settings-table:has(.csl-table){overflow-x:auto}\n.csl-settings-table .csl-table{min-width:580px}\n.csl-settings-table .csl-table th{padding:12px 16px;font-size:12px;font-weight:400}\n.csl-settings-table .csl-table th:first-child{width:auto;padding-left:20px}\n.csl-settings-avatar{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--csl-line);border-radius:9px;background:var(--csl-nav)}\n.csl-settings-avatar svg{width:19px;height:19px}\n.csl-settings-field{display:grid;gap:8px}\n.csl-settings-field small{font-size:12px;line-height:19px}\n.csl-key-intro{display:grid;gap:18px}\n.csl-key-intro h3{font-size:16px;line-height:24px;font-weight:500;margin:0}\n.csl-key-intro p{font-size:13px;line-height:21px;margin:0}\n.csl-key-benefits{padding:0;margin:0;list-style:none;display:grid;gap:12px}\n.csl-key-benefits li{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:20px}\n.csl-key-benefits svg{width:16px;height:16px;flex:none;margin-top:2px;color:var(--csl-muted)}\n.csl-key-intro>.csl-button{width:100%}\n.csl-retention-page{max-width:920px;margin-inline:auto}\n.csl-retention-explanation{padding-left:20px;line-height:23px;font-size:13px;margin:0 0 30px}\n.csl-retention-explanation li+li{margin-top:8px}\n.csl-retention-default{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;padding:8px 0 32px;border-bottom:1px solid var(--csl-line)}\n.csl-retention-default>div{flex:1;min-width:230px}\n.csl-retention-default h2,.csl-retention-feedback h2{font-size:16px;font-weight:500;line-height:24px;margin:0 0 8px}\n.csl-retention-default p{font-size:13px;line-height:21px;margin:0}\n.csl-retention-default>.csl-link{font-size:13px;white-space:nowrap}\n.csl-retention-feedback{margin-top:32px}\n.csl-retention-row{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px}\n.csl-retention-row>div{flex:1;min-width:0}\n.csl-retention-row h3{font-size:14px;line-height:22px;font-weight:500;margin:0 0 6px}\n.csl-retention-row p{font-size:13px;line-height:22px;margin:0}\n.csl-retention-row>.csl-button{flex:none}\n.csl-switch{display:inline-flex;align-items:center;flex:none;width:36px;height:21px;border:1px solid var(--csl-line);border-radius:20px;padding:2px;background:var(--csl-button);transition:background 140ms}\n.csl-switch span{display:block;width:15px;height:15px;border-radius:50%;background:var(--csl-fg);box-shadow:0 1px 2px #0002}\n.csl-switch[aria-checked=true]{background:#337ac6;border-color:#337ac6}\n.csl-switch[aria-checked=true] span{transform:translateX(14px);background:#fff}\n.csl-danger{background:#bd3c36;color:#fff}\n@media(hover:hover){.csl-danger:not(:disabled):hover{background:#a22e29;color:#fff}}\n.csl-popup .csl-check-label{display:flex;align-items:flex-start;gap:8px;font-size:13px;font-weight:400;line-height:20px}\n.csl-check-label input{margin:3px 0 0;flex:none}\n.csl-identity-workspaces{border:0;min-width:0;margin:0;padding:0;display:grid;gap:10px}\n.csl-identity-workspaces legend{margin-bottom:10px;font-size:13px}\n.csl-identity-form h2{font-size:16px;line-height:24px;font-weight:500;margin:0 0 8px}\n.csl-identity-form p{font-size:13px;line-height:21px;margin:0}\n.csl-identity-steps{display:flex;gap:8px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid var(--csl-line)}\n.csl-identity-steps .csl-tag:not(.csl-tag-blue){opacity:.5}\n.csl-identity-provider{min-height:110px;padding:12px;gap:6px}\n.csl-identity-provider>svg{width:20px;height:20px;margin-bottom:2px;color:var(--csl-muted)}\n.csl-identity-provider small{font-size:11px;line-height:16px}\n.csl-radio-choice-disabled{opacity:.45}\n.csl-check-row strong{font-size:13px;font-weight:500}\n.csl-check-row small{display:block;font-size:12px;color:var(--csl-muted)}\n.csl-settings-request{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:20px;color:var(--csl-muted);margin:16px 0 0}\n.csl-settings-request svg{width:16px;height:16px;flex:none;margin-top:2px}\n.csl-agent-quickstart{max-width:1080px;margin:40px auto 24px}\n.csl-quickstart-intro{max-width:976px;margin:0 auto 40px}\n.csl-quickstart-intro h1{font:500 26px/1.3 ui-sans-serif,system-ui,sans-serif;letter-spacing:-.5px;margin:0 0 12px}\n.csl-quickstart-intro>p{font-size:14px;line-height:22px;margin:0}\n.csl-quickstart-intro>.csl-host-note{font-size:12px;margin:10px 0;text-align:left}\n.csl-quickstart-prompt{margin:24px 0 0;padding:12px 16px;border-radius:16px;background:color-mix(in srgb,var(--csl-fg) 4%,var(--csl-bg));box-shadow:0 2px 5px #00000008;transition:border-color 140ms,box-shadow 140ms;text-align:left}\n.csl-quickstart-prompt:focus-within{border-color:var(--csl-focus);box-shadow:0 0 0 3px color-mix(in srgb,var(--csl-focus) 12%,transparent)}\n.csl-quickstart-prompt textarea{display:block;min-height:38px;max-height:320px;line-height:24px;padding:4px 2px 10px;field-sizing:content;resize:none}\n.csl-quickstart-prompt textarea::placeholder{color:var(--csl-muted);opacity:.85}\n.uibot-console .csl-quickstart-prompt textarea:focus-visible{outline:0}\n.csl-quickstart-prompt-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:4px;font-size:11px;line-height:18px;font-variant-numeric:tabular-nums}\n.csl-quickstart-prompt-footer>.csl-button{flex:none;width:32px;height:32px;min-height:32px;padding:0;border-radius:9px;background:#c16b45;color:#fff}\n@media(hover:hover){.csl-quickstart-prompt-footer>.csl-button:not(:disabled):hover{background:#ae5b38;color:#fff}}\n.csl-quickstart-selection{display:flex;align-items:center;gap:6px;max-width:100%;width:fit-content;padding:3px 4px 3px 9px;background:var(--csl-selected);border-radius:8px;margin:0 0 10px;font-size:12px;line-height:20px}\n.csl-quickstart-selection>svg{width:13px;height:13px;flex:none;color:var(--csl-muted)}\n.csl-quickstart-selection>span{overflow-wrap:anywhere}\n.csl-quickstart-selection .csl-icon-button{width:24px;height:24px;min-height:24px;padding:0;flex:none;margin:0}\n.csl-quickstart-selection .csl-icon-button svg{width:13px;height:13px}\n.csl-quickstart-template-heading{font-size:13px;font-weight:500;line-height:20px;margin:0 0 14px;color:var(--csl-muted)}\n.csl-quickstart-template{gap:8px;padding:16px;min-height:130px}\n.csl-quickstart-template strong{line-height:20px;font-weight:500}\n.csl-quickstart-template span{line-height:19px}\n.csl-quickstart-template>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}\n.csl-quickstart-feature{display:flex;align-items:center;gap:5px;margin-top:auto;margin-left:auto;font-size:11px;line-height:18px;color:var(--csl-muted)}\n.csl-quickstart-feature svg{width:12px;height:12px}\n.csl-quickstart-blank{text-align:center;font-size:13px;color:var(--csl-muted);margin:24px 0 0}\n@media(max-width:767px){\n .csl-agent-quickstart{margin:8px auto 24px}\n .csl-quickstart-intro h1{font-size:24px}\n .csl-quickstart-hint{display:none}\n .csl-retention-page>.csl-page-heading{flex-direction:column;gap:14px}\n .csl-retention-row{gap:16px}\n .csl-identity-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}\n}\n`;\n",
134
+ "type": "registry:ui"
135
+ },
136
+ {
137
+ "path": "components/uibot/console/dashboard.tsx",
138
+ "target": "components/uibot/console/dashboard.tsx",
139
+ "content": "import {\n Bell,\n BookOpen,\n Database,\n KeyRound,\n MessageCircle,\n Sparkles,\n Workflow,\n Zap,\n} from \"lucide-react\";\nimport { useState } from \"react\";\nimport { MODEL_ART } from \"./model-art\";\nimport {\n ConsoleButton,\n ConsoleCard,\n ConsoleEmpty,\n ConsoleLink,\n ConsoleTabs,\n ConsoleTag,\n type ConsoleActions,\n} from \"./ui\";\n\nconst workspace = \"/workspaces/default\";\nconst models = [\n {\n name: \"Fable 5.1\",\n art: MODEL_ART.head,\n color: \"#6c9fe5\",\n tags: [\"Most capable\", \"Research\", \"Multi-day tasks\"],\n },\n {\n name: \"Opus 5.5\",\n art: MODEL_ART.cursor,\n color: \"#ef9b7b\",\n tags: [\"Complex projects\", \"Agents\", \"Coding\"],\n },\n {\n name: \"Sonnet 5.5\",\n art: MODEL_ART.bubble,\n color: \"#efeee5\",\n tags: [\"Everyday tasks\", \"Writing\", \"Cost-efficient\"],\n },\n {\n name: \"Haiku 5.5\",\n art: MODEL_ART.bird,\n color: \"#bed4cc\",\n tags: [\"Fastest\", \"Lowest cost\", \"High volume\"],\n fresh: true,\n },\n];\nconst resources = [\n {\n title: \"Advisor tool\",\n Icon: Sparkles,\n description:\n \"Increase intelligence while minimizing cost and token usage. A cheaper model consults a stronger advisor mid-task.\",\n href: `${workspace}/playground`,\n label: \"Try in playground\",\n beta: true,\n },\n {\n title: \"Fast mode\",\n Icon: Zap,\n description:\n \"Up to 2.5x faster output on supported models, at premium pricing. Same model, same intelligence.\",\n href: \"https://platform.claude.com/docs/en/build-with-claude/fast-mode\",\n label: \"Open docs\",\n },\n {\n title: \"Batch API\",\n Icon: Workflow,\n description: \"Move async workloads to the Batch API and save 50% on standard API prices.\",\n href: `${workspace}/batches`,\n label: \"Open batches\",\n },\n {\n title: \"Prompt caching\",\n Icon: Database,\n description: \"Reuse prompt prefixes across API calls. Most orgs see input costs drop 50–90%.\",\n href: \"https://platform.claude.com/docs/en/build-with-claude/prompt-caching\",\n label: \"Open docs\",\n },\n];\n\nexport function Dashboard({ onAction }: ConsoleActions) {\n return (\n <div className=\"csl-dashboard\">\n <header className=\"csl-dashboard-heading\">\n <h1>Good evening, Acme</h1>\n <div className=\"csl-actions\">\n <ConsoleButton disabled={!onAction} onClick={() => onAction?.(\"create-api-key\")}>\n <KeyRound />\n Get API key\n </ConsoleButton>\n <ConsoleLink className=\"csl-button csl-primary\" href={`${workspace}/agent-quickstart`}>\n <Workflow />\n Build an agent\n </ConsoleLink>\n </div>\n </header>\n <div className=\"csl-grid csl-grid-3 csl-dashboard-metrics\">\n <ConsoleCard title=\"Organization credits\">\n <div className=\"csl-balance\">\n <strong>$100.00</strong>\n <ConsoleButton disabled={!onAction} onClick={() => onAction?.(\"add-funds\")}>\n Add funds\n </ConsoleButton>\n </div>\n <ConsoleButton\n className=\"csl-text-button csl-danger\"\n disabled={!onAction}\n onClick={() => onAction?.(\"auto-reload\")}\n >\n Turn on auto-reload\n </ConsoleButton>\n </ConsoleCard>\n <ConsoleCard title=\"Spend this month\">\n <div className=\"csl-balance\">\n <div>\n <strong>$0.00</strong>\n <p className=\"csl-muted\">\n of $500 tier limit <span className=\"csl-reset\">resets Nov 1</span>\n </p>\n </div>\n <span\n className=\"csl-progress-ring\"\n role=\"meter\"\n aria-label=\"Share of spend limit used\"\n aria-valuenow={0}\n aria-valuemin={0}\n aria-valuemax={100}\n />\n </div>\n </ConsoleCard>\n <ConsoleCard title=\"Prompt caching\" action={<ConsoleTag>Not enabled</ConsoleTag>}>\n <div className=\"csl-balance\">\n <div>\n <strong className=\"csl-muted\">—</strong>\n <p className=\"csl-muted\">tokens reused</p>\n </div>\n <ConsoleLink\n className=\"csl-button\"\n href=\"https://platform.claude.com/docs/en/build-with-claude/prompt-caching\"\n >\n Set up\n </ConsoleLink>\n </div>\n </ConsoleCard>\n </div>\n <ConsoleCard title=\"Token volume\" className=\"csl-token-card\">\n <div className=\"csl-balance\">\n <div>\n <strong className=\"csl-muted\">—</strong>\n <p className=\"csl-muted\">No activity in the last 7 days</p>\n </div>\n <ConsoleLink className=\"csl-button\" href={`${workspace}/playground`}>\n Try a prompt\n </ConsoleLink>\n </div>\n </ConsoleCard>\n <section className=\"csl-section\">\n <header className=\"csl-section-heading\">\n <h2>Models</h2>\n <ConsoleLink href=\"https://platform.claude.com/docs/en/about-claude/models/overview\">\n Compare models\n </ConsoleLink>\n </header>\n <div className=\"csl-grid csl-grid-4 csl-models\">\n {models.map((model) => (\n <a key={model.name} className=\"csl-model\" href={`${workspace}/playground`}>\n <div className=\"csl-model-art\" style={{ background: model.color }}>\n <img src={model.art} alt=\"\" />\n </div>\n <div className=\"csl-model-copy\">\n <h3>\n {model.name} {model.fresh && <ConsoleTag tone=\"blue\">New</ConsoleTag>}\n </h3>\n <div>\n {model.tags.map((tag) => (\n <ConsoleTag key={tag}>{tag}</ConsoleTag>\n ))}\n </div>\n </div>\n </a>\n ))}\n </div>\n </section>\n <section className=\"csl-section\">\n <h2>Resources</h2>\n <div className=\"csl-grid csl-grid-4 csl-dashboard-resources\">\n {resources.map(({ title, Icon, description, href, label, beta }) => (\n <ConsoleCard key={title}>\n <h3>\n <Icon size={18} />\n {title}\n {beta && <ConsoleTag tone=\"blue\">Beta</ConsoleTag>}\n </h3>\n <p className=\"csl-muted\">{description}</p>\n <ConsoleLink href={href} className=\"csl-button\">\n {label === \"Try in playground\" ? (\n <MessageCircle size={17} />\n ) : (\n <BookOpen size={17} />\n )}{\" \"}\n {label}\n </ConsoleLink>\n </ConsoleCard>\n ))}\n </div>\n </section>\n <footer className=\"csl-dashboard-footer\">\n <ConsoleLink href=\"https://status.claude.com\">API status</ConsoleLink>\n <ConsoleLink href=\"https://support.claude.com\">Help and support</ConsoleLink>\n <ConsoleButton\n className=\"csl-text-button\"\n disabled={!onAction}\n onClick={() => onAction?.(\"feedback\")}\n >\n Feedback\n </ConsoleButton>\n </footer>\n </div>\n );\n}\n\nexport function Notifications() {\n const [tab, setTab] = useState(\"Updates\");\n return (\n <>\n <h1 className=\"csl-notification-title\">Notifications</h1>\n <ConsoleTabs\n label=\"Notification type\"\n value={tab}\n onChange={setTab}\n options={[\"Updates\", \"Requests\"]}\n />\n <ConsoleEmpty\n icon={Bell}\n title=\"You're all caught up\"\n description={tab === \"Updates\" ? \"No updates to show.\" : \"No pending requests.\"}\n />\n </>\n );\n}\n",
140
+ "type": "registry:ui"
141
+ },
142
+ {
143
+ "path": "components/uibot/console/model-art.ts",
144
+ "target": "components/uibot/console/model-art.ts",
145
+ "content": "/** Reference illustrations from platform.claude.com/dashboard, captured 2026-10-29.\n * Anthropic artwork; retained for the Console reference template, not UIBot branding. */\nexport const MODEL_ART = {\n head: \"data:image/svg+xml;base64,PHN2ZyBvdmVyZmxvdz0idmlzaWJsZSIgdmlld0JveD0iMCAwIDUxLjI4MjkgNTkuMjM4MyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Ikdyb3VwIj4KPHBhdGggaWQ9IlNoYXBlIiBkPSJNMjQuNjcwOCAzMy45OTNDMjQuNDI3OCAzNC4wMjMgMjQuMTkyMiAzNC4wNDAxIDIzLjk2OTYgMzMuOTA4M0MyMy43MjkzIDMzLjk0MTcgMjMuNTAzMyAzMy44ODkxIDIzLjI2NTcgMzMuODI3QzIyLjk5MzMgMzMuODgzNyAyMi43OTggMzQuMDY4OCAyMi42MzY5IDM0LjI5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IwMSA1NC45NDYgMjcuMDMxMyA1NC4wMjMgMjUuMDFDNTMuMTc3MiAyMy4xNTgxIDUxLjg3MTMgMjEuMDQ4OCA1MC42MzAyIDE5LjQ2MzdDNDkuNzM5MyAxOC4zMjU3IDQ4LjcyMTQgMTcuMjMzNSA0Ny44Njg4IDE2LjA5NzZDNDcuNjgxIDE1Ljg0NzggNDcuMjU0MyAxNS40MzgyIDQ3LjAxNDcgMTUuMjAzNEM0Ni44NzEzIDE1LjA2MjggNDYuNzQ4NCAxNS4wMDQxIDQ2LjY0MTkgMTQuODk5NkM0Ni41OTQ4IDE0Ljg1MzIgNDUuOTc3IDEzLjkyNDEgNDUuOTU1OSAxMy44NjU0QzQ1Ljg4NjkgMTMuNjc0OSA0NS45NjI3IDEzLjQ2NzUgNDUuOTIzMSAxMy4zMjk2QzQ1LjkxMjIgMTMuMjkxMyA0NS44MzcxIDEzLjI5NDcgNDUuODIgMTMuMjQ0OUM0NS40NzM5IDEyLjIzNjcgNDYuNzA4MiAxMS40NDk2IDQ3LjMxNTEgMTAuODAzOEM0Ny45NzkzIDEwLjA5NjYgNDguNTExOCA5LjUzOTYyIDQ4Ljg2OTYgOC42Mjc2M0M0OS4xMzMxIDcuOTU1OTIgNDkuMjQ5OCA3LjIyMDAzIDQ5LjUyMDEgNi41NzQ5NEM1MC4xMDUyIDUuMTc5NjUgNTEuNjk1OCAzLjA3NDQ3IDUyLjkxNzggMi4xODcwNkM1My4yMDMyIDEuOTc5NTQgNTMuNTc0NSAxLjg1MTg0IDUzLjg1MTcgMS42MjU4OUg1My44NTA0WiIgZmlsbD0idmFyKC0tZmlsbC0wLCAjMTQxNDEzKSIvPgo8L2c+Cjwvc3ZnPgo=\",\n} as const;\n",
146
+ "type": "registry:ui"
147
+ },
148
+ {
149
+ "path": "components/uibot/console/agents.tsx",
150
+ "target": "components/uibot/console/agents.tsx",
151
+ "content": "import {\n Children,\n Fragment,\n cloneElement,\n isValidElement,\n useId,\n useRef,\n useState,\n type FormEvent,\n type ReactNode,\n} from \"react\";\nimport {\n ArrowUp,\n ArrowUpRight,\n CalendarDays,\n ChevronDown,\n Cloud,\n Database,\n KeyRound,\n MessageCircle,\n Plus,\n Search,\n ShieldAlert,\n Workflow,\n X,\n Sparkles,\n} from \"lucide-react\";\nimport {\n ConsoleButton,\n ConsoleCard,\n ConsoleEmpty,\n ConsoleHeader,\n ConsoleLink,\n ConsoleModal,\n ConsoleSelect,\n ConsoleTabs,\n type ConsoleActions,\n} from \"./ui\";\n\nimport { AgentTemplateIntegrations } from \"./agent-template-icons\";\nimport {\n AgentModelPicker,\n AgentOptionalSection,\n AgentToolsEditor,\n AgentOrchestrationEditor,\n DEFAULT_AGENT_TOOLS,\n DEFAULT_AGENT_ORCHESTRATION,\n agentToolsError,\n agentToolsParameters,\n} from \"./agent-config\";\nimport {\n AGENT_TEMPLATES,\n AgentTemplateFeature,\n AgentTemplatePreview,\n type AgentTemplate,\n} from \"./agent-templates\";\nimport { AgentConfigEditor, useAgentDraftEditor } from \"./agent-editor\";\nimport { draftTools } from \"./agent-draft\";\n\nconst workspace = \"/workspaces/default\";\nconst routes = {\n agents: `${workspace}/agents`,\n agentNew: `${workspace}/agents/new`,\n agentQuickstart: `${workspace}/agent-quickstart`,\n sessions: `${workspace}/sessions`,\n deployments: `${workspace}/deployments`,\n deploymentNew: `${workspace}/deployments/new`,\n environments: `${workspace}/environments`,\n environmentNew: `${workspace}/environments/new`,\n memory: `${workspace}/memory-stores`,\n vaults: `${workspace}/vaults`,\n};\n\nexport type AgentsPageView =\n | \"agent-list\"\n | \"sessions\"\n | \"deployments\"\n | \"deployment-new\"\n | \"environments\"\n | \"environment-new\"\n | \"memory\"\n | \"vaults\"\n | \"agent-new\"\n | \"agent-quickstart\";\n\nexport type AgentsPagesProps = ConsoleActions & {\n view: AgentsPageView;\n agents?: string[];\n deployments?: string[];\n environments?: string[];\n vaults?: string[];\n resources?: string[];\n models?: string[];\n skills?: string[];\n};\n\nexport function AgentsPages({ view, ...props }: AgentsPagesProps) {\n switch (view) {\n case \"agent-list\":\n return <AgentListPage />;\n case \"sessions\":\n return <SessionsPage {...props} />;\n case \"deployments\":\n return <DeploymentsPage {...props} />;\n case \"deployment-new\":\n return <DeploymentNewPage {...props} />;\n case \"environments\":\n return <EnvironmentsPage />;\n case \"environment-new\":\n return <EnvironmentNewPage {...props} />;\n case \"memory\":\n return <MemoryPage {...props} />;\n case \"vaults\":\n return <VaultsPage {...props} />;\n case \"agent-new\":\n return <AgentNewPage {...props} />;\n case \"agent-quickstart\":\n return <AgentQuickstartPage {...props} />;\n }\n}\n\ntype AgentOptions = Omit<AgentsPagesProps, \"view\">;\n\nfunction CreatedFilter({ value, onChange }: { value: string; onChange: (value: string) => void }) {\n const [open, setOpen] = useState(false);\n const [from, setFrom] = useState(\"\");\n const [to, setTo] = useState(\"\");\n const [customRange, setCustomRange] = useState(\"\");\n const activeCustomRange =\n customRange ||\n (value.startsWith(\"Custom range:\") ? value.slice(\"Custom range:\".length).trim() : \"\");\n const preset = activeCustomRange\n ? \"Custom range\"\n : [\"All time\", \"Last 7 days\", \"Last 30 days\"].includes(value)\n ? value\n : \"All time\";\n\n const applyRange = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n if (!from || !to || from > to) return;\n const label = `${from} – ${to}`;\n setCustomRange(label);\n onChange(`Custom range: ${label}`);\n setOpen(false);\n };\n\n return (\n <div className=\"csl-created-filter\">\n <ConsoleSelect\n label=\"Created\"\n value={preset}\n onChange={(next) => {\n if (next === \"Custom range\") return;\n setCustomRange(\"\");\n onChange(next);\n }}\n options={[\n \"All time\",\n \"Last 7 days\",\n \"Last 30 days\",\n ...(activeCustomRange ? [\"Custom range\"] : []),\n ]}\n />\n <ConsoleButton onClick={() => setOpen(true)}>\n {activeCustomRange || \"Custom range\"}\n </ConsoleButton>\n <ConsoleModal\n open={open}\n onOpenChange={setOpen}\n title=\"Custom date range\"\n description=\"Choose the dates to include.\"\n >\n <form className=\"csl-form\" onSubmit={applyRange}>\n <div className=\"csl-grid csl-grid-2\">\n <Field label=\"From\" required>\n <input\n required\n type=\"date\"\n value={from}\n onChange={(event) => setFrom(event.target.value)}\n />\n </Field>\n <Field label=\"To\" required>\n <input\n required\n type=\"date\"\n min={from || undefined}\n value={to}\n onChange={(event) => setTo(event.target.value)}\n />\n </Field>\n </div>\n {from && to && from > to && (\n <p role=\"alert\" className=\"csl-form-error\">\n The end date must be on or after the start date.\n </p>\n )}\n <div className=\"csl-form-footer\">\n <ConsoleButton onClick={() => setOpen(false)}>Cancel</ConsoleButton>\n <ConsoleButton primary type=\"submit\" disabled={!from || !to || from > to}>\n Apply range\n </ConsoleButton>\n </div>\n </form>\n </ConsoleModal>\n </div>\n );\n}\n\nfunction ResourcePicker({\n options,\n selected,\n onChange,\n title = \"Add resources\",\n}: {\n options: string[];\n selected: string[];\n onChange: (values: string[]) => void;\n title?: string;\n}) {\n const [open, setOpen] = useState(false);\n const [draftSelected, setDraftSelected] = useState(selected);\n const openPicker = () => {\n setDraftSelected([...selected]);\n setOpen(true);\n };\n return (\n <>\n <ConsoleButton disabled={options.length === 0} onClick={openPicker}>\n <Plus />\n {selected.length ? `${selected.length} resources selected` : \"Add resource\"}\n <ChevronDown aria-hidden=\"true\" />\n </ConsoleButton>\n {options.length === 0 && (\n <p className=\"csl-muted\">No resources are available in this workspace.</p>\n )}\n <ConsoleModal\n open={open}\n onOpenChange={(nextOpen) => {\n if (nextOpen) setDraftSelected([...selected]);\n setOpen(nextOpen);\n }}\n title={title}\n >\n <div className=\"csl-option-list\">\n {options.map((option) => (\n <label className=\"csl-check-row\" key={option}>\n <input\n type=\"checkbox\"\n checked={draftSelected.includes(option)}\n onChange={(event) =>\n setDraftSelected(\n event.target.checked\n ? [...draftSelected, option]\n : draftSelected.filter((value) => value !== option),\n )\n }\n />\n <span>{option}</span>\n </label>\n ))}\n </div>\n <div className=\"csl-form-footer\">\n <ConsoleButton onClick={() => setOpen(false)}>Cancel</ConsoleButton>\n <ConsoleButton\n primary\n onClick={() => {\n onChange(draftSelected);\n setOpen(false);\n }}\n >\n Apply\n </ConsoleButton>\n </div>\n </ConsoleModal>\n </>\n );\n}\n\nfunction FilterBar({ children }: { children: ReactNode }) {\n return <div className=\"csl-filter-row\">{children}</div>;\n}\n\nfunction SearchInput({ label, placeholder }: { label: string; placeholder: string }) {\n const [value, setValue] = useState(\"\");\n return (\n <label className=\"csl-search-input\">\n <Search aria-hidden=\"true\" />\n <span className=\"sr-only\">{label}</span>\n <input\n aria-label={label}\n value={value}\n onChange={(event) => setValue(event.target.value)}\n placeholder={placeholder}\n />\n </label>\n );\n}\n\nfunction PageIntro({\n title,\n description,\n children,\n}: {\n title: string;\n description: string;\n children?: ReactNode;\n}) {\n return (\n <ConsoleHeader title={title} description={description}>\n {children}\n </ConsoleHeader>\n );\n}\n\nfunction AgentListPage() {\n const [createdBy, setCreatedBy] = useState(\"Anyone\");\n const [created, setCreated] = useState(\"All time\");\n const [status, setStatus] = useState(\"Active\");\n return (\n <div className=\"csl-page csl-agents-list\">\n <PageIntro title=\"Agents\" description=\"Create and manage autonomous agents.\">\n <ConsoleLink href={routes.agentNew} className=\"csl-button csl-primary\">\n <Plus />\n Create agent\n </ConsoleLink>\n </PageIntro>\n <FilterBar>\n <SearchInput label=\"Search agents\" placeholder=\"Search by name or exact ID\" />\n <ConsoleSelect\n label=\"Created by\"\n value={createdBy}\n onChange={setCreatedBy}\n options={[\"Anyone\", \"You\"]}\n />\n <CreatedFilter value={created} onChange={setCreated} />\n <ConsoleSelect\n label=\"Status\"\n value={status}\n onChange={setStatus}\n options={[\"Active\", \"All\"]}\n />\n </FilterBar>\n <ConsoleCard className=\"csl-list-empty\">\n <ConsoleEmpty icon={Workflow} title=\"No agents yet\" description=\"\">\n <ConsoleLink href={routes.agentQuickstart} className=\"csl-button\">\n Get started with agents\n </ConsoleLink>\n </ConsoleEmpty>\n </ConsoleCard>\n </div>\n );\n}\n\nfunction SessionsPage({\n onAction,\n agents = [],\n deployments = [],\n environments = [],\n vaults = [],\n resources = [],\n}: AgentOptions) {\n const [agent, setAgent] = useState(\"All\");\n const [deployment, setDeployment] = useState(\"All\");\n const [status, setStatus] = useState(\"Active\");\n const [createdBy, setCreatedBy] = useState(\"Anyone\");\n const [created, setCreated] = useState(\"All time\");\n const [createOpen, setCreateOpen] = useState(false);\n const [title, setTitle] = useState(\"\");\n const [selectedAgent, setSelectedAgent] = useState(\"\");\n const [environment, setEnvironment] = useState(\"\");\n const [vault, setVault] = useState(\"\");\n const [selectedResources, setSelectedResources] = useState<string[]>([]);\n const [budget, setBudget] = useState(\"\");\n const [formError, setFormError] = useState(\"\");\n const submit = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n if (!agents.length || !environments.length) {\n setFormError(\"Add an agent and environment to this workspace before creating a session.\");\n return;\n }\n if (!agents.includes(selectedAgent) || !environments.includes(environment)) {\n setFormError(\"Select an agent and environment before creating a session.\");\n return;\n }\n setFormError(\"\");\n onAction?.(\"create-session\", {\n title,\n agent: selectedAgent,\n environment,\n vaults: JSON.stringify(vault ? [vault] : []),\n budget,\n resources: JSON.stringify(selectedResources),\n });\n };\n return (\n <div className=\"csl-page csl-sessions-page\">\n <PageIntro title=\"Sessions\" description=\"Trace and debug Claude Managed Agents sessions.\">\n <ConsoleButton primary onClick={() => setCreateOpen(true)}>\n <Plus />\n Create session\n </ConsoleButton>\n </PageIntro>\n <FilterBar>\n <SearchInput label=\"Find session by ID\" placeholder=\"Find session by ID\" />\n <ConsoleSelect\n label=\"Created by\"\n value={createdBy}\n onChange={setCreatedBy}\n options={[\"Anyone\", \"You\"]}\n />\n <CreatedFilter value={created} onChange={setCreated} />\n <ConsoleSelect\n label=\"Agent\"\n value={agent}\n onChange={setAgent}\n options={[\"All\", ...agents]}\n />\n <ConsoleSelect\n label=\"Deployment\"\n value={deployment}\n onChange={setDeployment}\n options={[\"All\", ...deployments]}\n />\n <ConsoleSelect\n label=\"Status\"\n value={status}\n onChange={setStatus}\n options={[\"Active\", \"All\"]}\n />\n </FilterBar>\n <ConsoleCard className=\"csl-list-empty\">\n <ConsoleEmpty\n icon={MessageCircle}\n title={status === \"Active\" ? \"No active sessions\" : \"No sessions\"}\n description=\"New sessions will appear here. Archived and terminated sessions are hidden from this view.\"\n >\n {status === \"Active\" && (\n <ConsoleButton onClick={() => setStatus(\"All\")}>Show all sessions</ConsoleButton>\n )}\n </ConsoleEmpty>\n </ConsoleCard>\n <ConsoleModal\n open={createOpen}\n onOpenChange={setCreateOpen}\n title=\"Create session\"\n size=\"wide\"\n description=\"Set up an instance of your agent in its environment.\"\n >\n <form className=\"csl-form csl-form-layout\" onSubmit={submit}>\n <Field label=\"Title\" optional>\n <input\n value={title}\n onChange={(event) => setTitle(event.target.value)}\n placeholder=\"Name this run\"\n />\n </Field>\n <Field\n label=\"Agent\"\n action={\n <ConsoleLink href={routes.agents}>\n Manage agents <ArrowUpRight aria-hidden=\"true\" />\n </ConsoleLink>\n }\n >\n <ConsoleSelect\n label=\"Select an agent\"\n value={selectedAgent}\n onChange={setSelectedAgent}\n options={agents}\n placeholder={agents.length ? \"Select an agent\" : \"No agents available\"}\n disabled={agents.length === 0}\n />\n {agents.length === 0 && (\n <p className=\"csl-muted\">Create an agent before starting a session.</p>\n )}\n </Field>\n <Field\n label=\"Environment\"\n action={\n <ConsoleLink href={routes.environments}>\n Manage environments <ArrowUpRight aria-hidden=\"true\" />\n </ConsoleLink>\n }\n >\n <ConsoleSelect\n label=\"Select an environment\"\n value={environment}\n onChange={setEnvironment}\n options={environments}\n placeholder={\n environments.length ? \"Select an environment\" : \"No environments available\"\n }\n disabled={environments.length === 0}\n />\n {environments.length === 0 && (\n <p className=\"csl-muted\">Create an environment before starting a session.</p>\n )}\n </Field>\n <Field\n label=\"Credential vaults\"\n optional\n action={\n <ConsoleLink href={routes.vaults}>\n Manage credential vaults <ArrowUpRight aria-hidden=\"true\" />\n </ConsoleLink>\n }\n >\n <ConsoleSelect\n label=\"Credential vaults\"\n value={vault}\n onChange={setVault}\n options={vaults}\n placeholder={vaults.length ? \"Add vault\" : \"No vaults available\"}\n disabled={vaults.length === 0}\n />\n </Field>\n <Field label=\"Budget\" optional>\n <p className=\"csl-muted\">\n Stop the session once it reaches this cost, priced at public list rates. Leave empty\n for no limit. Agents may occasionally exceed the budget by at most one turn.\n </p>\n <input\n type=\"number\"\n min=\"0\"\n step=\"0.01\"\n value={budget}\n onChange={(event) => setBudget(event.target.value)}\n placeholder=\"$\"\n />\n </Field>\n <Field label=\"Resources\">\n <p className=\"csl-muted\">\n Mount files, GitHub repositories, or memory stores into the session.\n </p>\n <ResourcePicker\n options={resources}\n selected={selectedResources}\n onChange={setSelectedResources}\n />\n </Field>\n {formError && (\n <p role=\"alert\" className=\"csl-form-error\">\n {formError}\n </p>\n )}\n <FormEndNote onAction={onAction} />\n <div className=\"csl-form-footer\">\n <ConsoleButton onClick={() => setCreateOpen(false)}>Cancel</ConsoleButton>\n <ConsoleButton\n primary\n type=\"submit\"\n disabled={!onAction || !agents.length || !environments.length}\n >\n Create session\n </ConsoleButton>\n </div>\n </form>\n </ConsoleModal>\n </div>\n );\n}\n\nfunction DeploymentsPage({ agents = [] }: AgentOptions) {\n const [agent, setAgent] = useState(\"All\");\n const [status, setStatus] = useState(\"Active\");\n const [createdBy, setCreatedBy] = useState(\"Anyone\");\n const [created, setCreated] = useState(\"All time\");\n return (\n <div className=\"csl-page csl-deployments-page\">\n <PageIntro\n title=\"Deployments\"\n description=\"A deployment binds an agent to credentials, an environment, and a schedule so it can run on its own.\"\n >\n <ConsoleLink href={routes.deploymentNew} className=\"csl-button csl-primary\">\n <Plus />\n Create deployment\n </ConsoleLink>\n </PageIntro>\n <FilterBar>\n <SearchInput label=\"Search deployments\" placeholder=\"Search by name or exact ID\" />\n <ConsoleSelect\n label=\"Created by\"\n value={createdBy}\n onChange={setCreatedBy}\n options={[\"Anyone\", \"You\"]}\n />\n <CreatedFilter value={created} onChange={setCreated} />\n <ConsoleSelect\n label=\"Agent\"\n value={agent}\n onChange={setAgent}\n options={[\"All\", ...agents]}\n />\n <ConsoleSelect\n label=\"Status\"\n value={status}\n onChange={setStatus}\n options={[\"Active\", \"All\"]}\n />\n </FilterBar>\n <ConsoleCard className=\"csl-list-empty\">\n <ConsoleEmpty\n icon={CalendarDays}\n title=\"No deployments\"\n description=\"A deployment binds an agent to an environment, credentials, and a schedule so it can run on its own.\"\n >\n <ConsoleLink href={routes.deploymentNew} className=\"csl-button\">\n <Plus />\n Create deployment\n </ConsoleLink>\n </ConsoleEmpty>\n </ConsoleCard>\n </div>\n );\n}\n\nfunction DeploymentNewPage({\n onAction,\n agents = [],\n environments = [],\n vaults = [],\n resources = [],\n}: AgentOptions) {\n const [name, setName] = useState(\"\");\n const [agent, setAgent] = useState(\"\");\n const [environment, setEnvironment] = useState(\"\");\n const [vault, setVault] = useState(\"\");\n const [selectedResources, setSelectedResources] = useState<string[]>([]);\n const [initialMessage, setInitialMessage] = useState(\"\");\n const [budget, setBudget] = useState(\"\");\n const [trigger, setTrigger] = useState(\"Manual\");\n const [frequency, setFrequency] = useState(\"Weekdays\");\n const [timezone, setTimezone] = useState(\"(GMT+08:00) Asia/Shanghai\");\n const [time, setTime] = useState(\"09:00\");\n const [meridiem, setMeridiem] = useState(\"AM\");\n const [cron, setCron] = useState(\"0 9 * * 1-5\");\n const [customCron, setCustomCron] = useState(false);\n const [showCron, setShowCron] = useState(false);\n const [error, setError] = useState(\"\");\n const submit = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n if (\n !name.trim() ||\n !agent ||\n !environment ||\n !agents.includes(agent) ||\n !environments.includes(environment)\n ) {\n setError(\"Enter a name and select an agent and environment.\");\n return;\n }\n setError(\"\");\n onAction?.(\"create-deployment\", {\n name: name.trim(),\n agent,\n environment,\n vaults: JSON.stringify(vault ? [vault] : []),\n resources: JSON.stringify(selectedResources),\n initialMessage,\n budget,\n trigger,\n ...(trigger === \"Schedule\"\n ? { frequency, timezone, time, meridiem, ...(customCron ? { cron } : {}) }\n : {}),\n });\n };\n return (\n <div className=\"csl-page csl-create-page csl-deployment-new\">\n <div className=\"csl-breadcrumb\">\n <ConsoleLink href={routes.deployments}>Deployments</ConsoleLink>\n <span>/</span>\n <span>New deployment</span>\n </div>\n <PageIntro\n title=\"Create deployment\"\n description=\"Deploy an agent with a trigger, environment, and credentials.\"\n />\n <form className=\"csl-form csl-form-layout\" onSubmit={submit}>\n <FormSection title=\"General\" description=\"What this deployment runs and where.\">\n <Field label=\"Name\" required>\n <input\n required\n value={name}\n onChange={(event) => setName(event.target.value)}\n placeholder=\"Nightly inbox triage\"\n />\n </Field>\n <Field\n label=\"Agent\"\n action={\n <ConsoleLink href={routes.agents}>\n Manage agents <ArrowUpRight aria-hidden=\"true\" />\n </ConsoleLink>\n }\n >\n <ConsoleSelect\n label=\"Select an agent\"\n value={agent}\n onChange={setAgent}\n options={agents}\n placeholder={agents.length ? \"Select an agent\" : \"No agents available\"}\n disabled={agents.length === 0}\n />\n {agents.length === 0 && (\n <p className=\"csl-muted\">Create an agent before creating a deployment.</p>\n )}\n </Field>\n <Field\n label=\"Environment\"\n action={\n <ConsoleLink href={routes.environments}>\n Manage environments <ArrowUpRight aria-hidden=\"true\" />\n </ConsoleLink>\n }\n >\n <ConsoleSelect\n label=\"Select an environment\"\n value={environment}\n onChange={setEnvironment}\n options={environments}\n placeholder={\n environments.length ? \"Select an environment\" : \"No environments available\"\n }\n disabled={environments.length === 0}\n />\n {environments.length === 0 && (\n <p className=\"csl-muted\">Create an environment before creating a deployment.</p>\n )}\n </Field>\n <Field label=\"Initial message\" optional>\n <textarea\n value={initialMessage}\n onChange={(event) => setInitialMessage(event.target.value)}\n placeholder=\"Summarize today’s support tickets and post to #digest\"\n />\n <p className=\"csl-muted\">Sent to the agent at the start of every run.</p>\n </Field>\n <Field label=\"Budget\" optional>\n <p className=\"csl-muted\">\n Stop the session once it reaches this cost, priced at public list rates. Leave empty\n for no limit. Agents may occasionally exceed the budget by at most one turn.\n </p>\n <input\n type=\"number\"\n min=\"0\"\n step=\"0.01\"\n value={budget}\n onChange={(event) => setBudget(event.target.value)}\n placeholder=\"$\"\n />\n </Field>\n </FormSection>\n <FormSection title=\"Trigger\" description=\"Start runs on demand or on a schedule.\">\n <ConsoleTabs\n label=\"Trigger\"\n value={trigger}\n onChange={setTrigger}\n options={[\"Manual\", \"Schedule\"]}\n segmented\n />\n {trigger === \"Manual\" && (\n <p className=\"csl-trigger-help\">\n Trigger runs from this Console with the Run now button, or via the API with{\" \"}\n <code>POST /v1/deployments/:id/run</code>.\n </p>\n )}\n {trigger === \"Schedule\" && (\n <div className=\"csl-tab-content csl-schedule-fields\">\n <div className=\"csl-grid csl-grid-2\">\n <Field label=\"Frequency\">\n <ConsoleSelect\n label=\"Frequency\"\n value={frequency}\n onChange={setFrequency}\n options={[\"Weekdays\"]}\n />\n </Field>\n <Field label=\"Timezone\">\n <ConsoleSelect\n label=\"Timezone\"\n value={timezone}\n onChange={setTimezone}\n options={[\"(GMT+08:00) Asia/Shanghai\"]}\n />\n </Field>\n </div>\n <Field label=\"At\">\n <div className=\"csl-time-row\">\n <input\n type=\"time\"\n value={time}\n onChange={(event) => setTime(event.target.value)}\n />\n <ConsoleTabs\n label=\"AM or PM\"\n value={meridiem}\n onChange={setMeridiem}\n options={[\"AM\", \"PM\"]}\n segmented\n />\n </div>\n </Field>\n <div className=\"csl-cron-row\">\n {customCron && !showCron && <code>{cron}</code>}\n <ConsoleButton\n onClick={() => {\n setShowCron((value) => !value);\n setCustomCron(true);\n }}\n >\n {showCron ? \"Close cron editor\" : \"Edit cron\"}\n </ConsoleButton>\n </div>\n {showCron && (\n <Field label=\"Cron expression\">\n <input value={cron} onChange={(event) => setCron(event.target.value)} />\n </Field>\n )}\n <div className=\"csl-schedule-summary\">\n <CalendarDays aria-hidden=\"true\" />\n <p>\n Runs {frequency.toLowerCase()} at {time} {meridiem} ({timezone}).\n {customCron ? ` Custom cron: ${cron}.` : \"\"} The host calculates upcoming run\n times.\n </p>\n </div>\n </div>\n )}\n </FormSection>\n <FormSection\n title=\"Resources\"\n description=\"Credentials and resources available to each run.\"\n >\n <Field\n label=\"Credential vaults\"\n optional\n action={\n <ConsoleLink href={routes.vaults}>\n Manage credential vaults <ArrowUpRight aria-hidden=\"true\" />\n </ConsoleLink>\n }\n >\n <ConsoleSelect\n label=\"Credential vaults\"\n value={vault}\n onChange={setVault}\n options={vaults}\n placeholder={vaults.length ? \"Add vault\" : \"No vaults available\"}\n disabled={vaults.length === 0}\n />\n </Field>\n <Field label=\"Session resources\" optional>\n <p className=\"csl-muted\">\n Files, GitHub repositories, or memory stores mounted into each run.\n </p>\n <ResourcePicker\n options={resources}\n selected={selectedResources}\n onChange={setSelectedResources}\n />\n </Field>\n </FormSection>\n {error && (\n <p role=\"alert\" className=\"csl-form-error\">\n {error}\n </p>\n )}\n <FormEndNote onAction={onAction} />\n <div className=\"csl-form-footer\">\n <ConsoleLink href={routes.deployments} className=\"csl-button\">\n Cancel\n </ConsoleLink>\n <ConsoleButton\n primary\n type=\"submit\"\n disabled={!onAction || !agents.length || !environments.length}\n >\n Create deployment\n </ConsoleButton>\n </div>\n </form>\n </div>\n );\n}\n\nfunction EnvironmentsPage() {\n const [status, setStatus] = useState(\"Active\");\n return (\n <div className=\"csl-page csl-environments-page\">\n <PageIntro\n title=\"Environments\"\n description=\"Configuration template for containers, such as sessions or code execution.\"\n >\n <ConsoleLink href={routes.environmentNew} className=\"csl-button csl-primary\">\n <Plus />\n Create environment\n </ConsoleLink>\n </PageIntro>\n <FilterBar>\n <SearchInput label=\"Search environments\" placeholder=\"Search by name or exact ID\" />\n <ConsoleSelect\n label=\"Status\"\n value={status}\n onChange={setStatus}\n options={[\"Active\", \"All\"]}\n />\n </FilterBar>\n <ConsoleCard className=\"csl-list-empty\">\n <ConsoleEmpty\n icon={Cloud}\n title=\"No environments yet\"\n description=\"Create your first environment to get started.\"\n />\n </ConsoleCard>\n </div>\n );\n}\n\nfunction EnvironmentNewPage({ onAction }: ConsoleActions) {\n const [hosting, setHosting] = useState(\"Cloud\");\n const [name, setName] = useState(\"\");\n const [description, setDescription] = useState(\"\");\n const [networking, setNetworking] = useState(\"Limited\");\n const [allowPackageManagers, setAllowPackageManagers] = useState(false);\n const [allowMcpServers, setAllowMcpServers] = useState(false);\n const [allowedHosts, setAllowedHosts] = useState(\"\");\n const [packages, setPackages] = useState<Array<{ manager: string; value: string }>>([]);\n const [metadata, setMetadata] = useState<Array<{ key: string; value: string }>>([]);\n const [error, setError] = useState(\"\");\n const submit = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n if (!name.trim()) {\n setError(\"Enter an environment name.\");\n return;\n }\n setError(\"\");\n onAction?.(\"create-environment\", {\n hosting,\n name: name.trim(),\n description,\n networking,\n allowPackageManagers: String(allowPackageManagers),\n allowMcpServers: String(allowMcpServers),\n allowedHosts,\n packages: JSON.stringify(packages.filter((item) => item.value.trim())),\n metadata: JSON.stringify(metadata.filter((item) => item.key.trim())),\n });\n };\n return (\n <div className=\"csl-page csl-create-page csl-environment-new\">\n <div className=\"csl-breadcrumb\">\n <ConsoleLink href={routes.environments}>Environments</ConsoleLink>\n <span>/</span>\n <span>New environment</span>\n </div>\n <PageIntro\n title=\"Create environment\"\n description=\"A reusable container template for sessions.\"\n />\n <form className=\"csl-form csl-form-layout\" onSubmit={submit}>\n <FormSection title=\"General\" description=\"What this environment is, and where it runs.\">\n <Field label=\"Hosting\">\n <ConsoleTabs\n label=\"Hosting\"\n value={hosting}\n onChange={setHosting}\n options={[\"Cloud\", \"Self-hosted\"]}\n segmented\n />\n <p className=\"csl-muted\">Can’t be changed after creation.</p>\n </Field>\n <Field label=\"Name\" required>\n <input\n required\n value={name}\n onChange={(event) => setName(event.target.value)}\n placeholder=\"E.g. data-analysis\"\n />\n </Field>\n <Field label=\"Description\" optional>\n <textarea\n value={description}\n onChange={(event) => setDescription(event.target.value)}\n placeholder=\"What sessions in this environment are for\"\n />\n </Field>\n </FormSection>\n <FormSection\n title=\"Networking\"\n optional\n description=\"What the container can reach over the network.\"\n >\n <ConsoleTabs\n label=\"Networking access\"\n value={networking}\n onChange={setNetworking}\n options={[\"Unrestricted\", \"Limited\"]}\n segmented\n />\n {networking === \"Limited\" && (\n <div className=\"csl-tab-content csl-network-fields\">\n <p className=\"csl-muted\">\n Outbound traffic is blocked except for what’s allowed below.\n </p>\n <label className=\"csl-check-row\">\n <input\n type=\"checkbox\"\n checked={allowPackageManagers}\n onChange={(event) => setAllowPackageManagers(event.target.checked)}\n />\n <span>\n <strong>Allow package managers</strong>\n <small>Reach PyPI, npm, and other package registries.</small>\n </span>\n </label>\n <label className=\"csl-check-row\">\n <input\n type=\"checkbox\"\n checked={allowMcpServers}\n onChange={(event) => setAllowMcpServers(event.target.checked)}\n />\n <span>\n <strong>Allow MCP servers</strong>\n <small>Reach the MCP servers configured on the agent.</small>\n </span>\n </label>\n <Field label=\"Allowed hosts\" optional>\n <span className=\"csl-muted\">\n {allowedHosts.split(\"\\n\").filter(Boolean).length}/16\n </span>\n <textarea\n value={allowedHosts}\n onChange={(event) =>\n setAllowedHosts(event.target.value.split(\"\\n\").slice(0, 16).join(\"\\n\"))\n }\n placeholder={\"api.example.com\\n*.internal.example.com\"}\n />\n <p className=\"csl-muted\">\n Hostnames or IPv4 addresses, one per line. *.example.com covers subdomains.\n </p>\n </Field>\n </div>\n )}\n </FormSection>\n <FormSection\n title=\"Packages\"\n optional\n collapsible\n description=\"Installed into the container before sessions start.\"\n >\n <p className=\"csl-muted\">No packages beyond the standard image.</p>\n <div className=\"csl-package-actions\">\n {[\"Python pip\", \"Node.js npm\", \"System apt\", \"Rust cargo\", \"Ruby gem\", \"Go go\"].map(\n (manager) => (\n <ConsoleButton\n key={manager}\n onClick={() => setPackages((current) => [...current, { manager, value: \"\" }])}\n >\n Add {manager}\n </ConsoleButton>\n ),\n )}\n </div>\n {packages.map((item, index) => (\n <div className=\"csl-edit-row\" key={`${item.manager}-${index}`}>\n <span>{item.manager}</span>\n <input\n aria-label={`${item.manager} package ${index + 1}`}\n value={item.value}\n onChange={(event) =>\n setPackages((current) =>\n current.map((entry, itemIndex) =>\n itemIndex === index ? { ...entry, value: event.target.value } : entry,\n ),\n )\n }\n placeholder=\"Package name\"\n />\n <ConsoleButton\n aria-label={`Remove ${item.manager} package ${index + 1}`}\n onClick={() =>\n setPackages((current) => current.filter((_, itemIndex) => itemIndex !== index))\n }\n >\n Remove\n </ConsoleButton>\n </div>\n ))}\n </FormSection>\n <FormSection\n title=\"Metadata\"\n optional\n collapsible\n description=\"Key-value pairs for your own bookkeeping, not shown to the agent.\"\n >\n {metadata.map((item, index) => (\n <div className=\"csl-edit-row\" key={`metadata-${index}`}>\n <input\n aria-label={`Metadata key ${index + 1}`}\n value={item.key}\n onChange={(event) =>\n setMetadata((current) =>\n current.map((entry, itemIndex) =>\n itemIndex === index ? { ...entry, key: event.target.value } : entry,\n ),\n )\n }\n placeholder=\"Key\"\n />\n <input\n aria-label={`Metadata value ${index + 1}`}\n value={item.value}\n onChange={(event) =>\n setMetadata((current) =>\n current.map((entry, itemIndex) =>\n itemIndex === index ? { ...entry, value: event.target.value } : entry,\n ),\n )\n }\n placeholder=\"Value\"\n />\n <ConsoleButton\n aria-label={`Remove metadata row ${index + 1}`}\n onClick={() =>\n setMetadata((current) => current.filter((_, itemIndex) => itemIndex !== index))\n }\n >\n Remove\n </ConsoleButton>\n </div>\n ))}\n <ConsoleButton\n onClick={() => setMetadata((current) => [...current, { key: \"\", value: \"\" }])}\n >\n <Plus /> Add metadata\n </ConsoleButton>\n </FormSection>\n {error && (\n <p role=\"alert\" className=\"csl-form-error\">\n {error}\n </p>\n )}\n <FormEndNote onAction={onAction} />\n <div className=\"csl-form-footer\">\n <ConsoleLink href={routes.environments} className=\"csl-button\">\n Cancel\n </ConsoleLink>\n <ConsoleButton primary type=\"submit\" disabled={!onAction}>\n Create environment\n </ConsoleButton>\n </div>\n </form>\n </div>\n );\n}\n\nfunction MemoryPage({ onAction }: ConsoleActions) {\n const [created, setCreated] = useState(\"All time\");\n const [status, setStatus] = useState(\"Active\");\n const [open, setOpen] = useState(false);\n const [name, setName] = useState(\"\");\n const [description, setDescription] = useState(\"\");\n const [error, setError] = useState(\"\");\n const [requested, setRequested] = useState(false);\n const submit = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n if (!onAction || requested) return;\n if (!name.trim()) {\n setError(\"Enter a memory store name.\");\n return;\n }\n setError(\"\");\n onAction?.(\"create-memory-store\", { name: name.trim(), description });\n setRequested(true);\n };\n return (\n <div className=\"csl-page csl-memory-page\">\n <PageIntro\n title=\"Memory stores\"\n description=\"Browse and manage persistent memory for your agents.\"\n >\n <ConsoleButton primary onClick={() => setOpen(true)}>\n <Plus />\n Create memory store\n </ConsoleButton>\n </PageIntro>\n <FilterBar>\n <SearchInput label=\"Search memory stores\" placeholder=\"Search by name or exact ID\" />\n <CreatedFilter value={created} onChange={setCreated} />\n <ConsoleSelect\n label=\"Status\"\n value={status}\n onChange={setStatus}\n options={[\"Active\", \"All\"]}\n />\n </FilterBar>\n <ConsoleCard className=\"csl-list-empty\">\n <ConsoleEmpty\n icon={Database}\n title=\"No memory stores yet\"\n description=\"Memory stores give agents persistent, cross-session memory.\"\n />\n </ConsoleCard>\n <ConsoleModal open={open} onOpenChange={setOpen} title=\"Create memory store\">\n <form className=\"csl-form\" onSubmit={submit} onChange={() => setRequested(false)}>\n <Field label=\"Name\" required>\n <input\n required\n value={name}\n onChange={(event) => setName(event.target.value)}\n placeholder=\"My memory store\"\n />\n </Field>\n <Field label=\"Description\" optional>\n <textarea\n value={description}\n onChange={(event) => setDescription(event.target.value)}\n placeholder=\"What this store contains and how agents should use it\"\n />\n </Field>\n <p className=\"csl-muted\">\n Name and description are rendered in the agent system prompt when this store is\n attached.\n </p>\n {error && (\n <p role=\"alert\" className=\"csl-form-error\">\n {error}\n </p>\n )}\n <FormEndNote onAction={onAction} />\n {requested && (\n <p role=\"status\" className=\"csl-host-note\">\n Request sent. Waiting for host confirmation.\n </p>\n )}\n <div className=\"csl-form-footer csl-form-footer-plain\">\n <ConsoleButton primary type=\"submit\" disabled={!onAction || !name.trim() || requested}>\n Create memory store\n </ConsoleButton>\n </div>\n </form>\n </ConsoleModal>\n </div>\n );\n}\n\nfunction VaultsPage({ onAction }: ConsoleActions) {\n const [createdBy, setCreatedBy] = useState(\"Anyone\");\n const [status, setStatus] = useState(\"Active\");\n const [open, setOpen] = useState(false);\n const [name, setName] = useState(\"\");\n const [error, setError] = useState(\"\");\n const [requested, setRequested] = useState(false);\n const submit = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n if (!onAction || requested) return;\n if (!name.trim()) {\n setError(\"Enter a vault name.\");\n return;\n }\n if (name.length > 255) {\n setError(\"Vault names must be 255 characters or fewer.\");\n return;\n }\n setError(\"\");\n onAction?.(\"create-vault\", { name: name.trim() });\n setRequested(true);\n };\n return (\n <div className=\"csl-page csl-vaults-page\">\n <PageIntro\n title=\"Credential vaults\"\n description=\"Manage credential vaults that provide your agents with access to MCP servers and other tools.\"\n >\n <ConsoleButton primary onClick={() => setOpen(true)}>\n <Plus />\n Create vault\n </ConsoleButton>\n </PageIntro>\n <FilterBar>\n <SearchInput label=\"Search credential vaults\" placeholder=\"Search by name or exact ID\" />\n <ConsoleSelect\n label=\"Created by\"\n value={createdBy}\n onChange={setCreatedBy}\n options={[\"Anyone\", \"You\"]}\n />\n <ConsoleSelect\n label=\"Status\"\n value={status}\n onChange={setStatus}\n options={[\"Active\", \"All\"]}\n />\n </FilterBar>\n <ConsoleCard className=\"csl-list-empty\">\n <ConsoleEmpty\n icon={KeyRound}\n title=\"No vaults yet\"\n description=\"Create your first vault to get started.\"\n />\n </ConsoleCard>\n <ConsoleModal open={open} onOpenChange={setOpen} title=\"Create vault\">\n <form className=\"csl-form\" onSubmit={submit} onChange={() => setRequested(false)}>\n <div className=\"csl-warning\">\n <ShieldAlert aria-hidden=\"true\" />\n <p>\n Vaults are shared across this workspace. Credentials added to this vault will be\n usable by anyone with API key access.{\" \"}\n <a\n className=\"csl-link\"\n href=\"https://platform.claude.com/docs/en/managed-agents/vaults\"\n target=\"_blank\"\n rel=\"noreferrer\"\n >\n Learn more about vaults\n </a>\n .\n </p>\n </div>\n <Field label=\"Name\" required>\n <input\n required\n maxLength={255}\n value={name}\n onChange={(event) => setName(event.target.value)}\n placeholder=\"Production vault\"\n />\n <p className=\"csl-muted\">255 characters or fewer.</p>\n </Field>\n {error && (\n <p role=\"alert\" className=\"csl-form-error\">\n {error}\n </p>\n )}\n <FormEndNote onAction={onAction} />\n {requested && (\n <p role=\"status\" className=\"csl-host-note\">\n Request sent. Waiting for host confirmation.\n </p>\n )}\n <div className=\"csl-form-footer csl-form-footer-plain\">\n <ConsoleButton primary type=\"submit\" disabled={!onAction || !name.trim() || requested}>\n Continue\n </ConsoleButton>\n </div>\n </form>\n </ConsoleModal>\n </div>\n );\n}\n\nfunction AgentNewPage({ onAction, models = [], skills = [], agents = [] }: AgentOptions) {\n const nameRef = useRef<HTMLInputElement>(null);\n const [startingOpen, setStartingOpen] = useState(true);\n const [requested, setRequested] = useState(false);\n const [startMode, setStartMode] = useState(\"Describe your agent\");\n const [descriptionPrompt, setDescriptionPrompt] = useState(\"\");\n const [selectedTemplate, setSelectedTemplate] = useState(\"\");\n const [configMode, setConfigMode] = useState(\"Rendered\");\n const [name, setName] = useState(\"Untitled agent\");\n const modelOptions = [\n ...new Set(\n (models.length ? models : [\"claude-opus-5-5\", \"claude-sonnet-5-5\", \"claude-haiku-5-5\"]).map(\n (item) => item.replace(/ (?:Default|Low|Medium|High|Extra high|Max) effort$/, \"\"),\n ),\n ),\n ];\n const [model, setModel] = useState({\n model: modelOptions[0] ?? \"claude-opus-5-5\",\n effort: \"Low\",\n fast: false,\n });\n const [tools, setTools] = useState(DEFAULT_AGENT_TOOLS);\n const [orchestration, setOrchestration] = useState(DEFAULT_AGENT_ORCHESTRATION);\n const [description, setDescription] = useState(\"A blank starting point with the core toolset.\");\n const [systemPrompt, setSystemPrompt] = useState(\n \"You are a general-purpose agent that can research, write code, run commands, and use connected tools to complete the user’s task end to end.\",\n );\n const [selectedSkills, setSelectedSkills] = useState<string[]>([]);\n const [selectedAgents, setSelectedAgents] = useState<string[]>([]);\n const [error, setError] = useState(\"\");\n const activeModel = modelOptions.includes(model.model)\n ? model.model\n : (modelOptions[0] ?? model.model);\n const toolsError = agentToolsError(tools);\n const rawConfiguration = {\n name,\n model: activeModel,\n effort: model.effort,\n speed: model.fast && activeModel === \"claude-opus-5-5\" ? \"fast\" : \"standard\",\n description,\n system_prompt: systemPrompt,\n tools: toolsError ? { error: toolsError } : agentToolsParameters(tools),\n skills: selectedSkills,\n subagents: orchestration.subagents || orchestration.workflows ? selectedAgents : [],\n multiagent: {\n ...orchestration,\n advisorModel: modelOptions.includes(orchestration.advisorModel)\n ? orchestration.advisorModel\n : modelOptions[0],\n },\n };\n const rawEditor = useAgentDraftEditor(\n rawConfiguration,\n { models: modelOptions, skills, agents },\n (draft) => {\n setName(draft.name);\n setModel({ model: draft.model, effort: draft.effort, fast: draft.speed === \"fast\" });\n setDescription(draft.description);\n setSystemPrompt(draft.system_prompt);\n setTools(draftTools(draft.tools));\n setSelectedSkills(draft.skills);\n setSelectedAgents(draft.subagents);\n setOrchestration(draft.multiagent);\n setRequested(false);\n setError(\"\");\n },\n );\n const applyTemplate = (template: AgentTemplate) => {\n rawEditor.reset();\n setSelectedTemplate(template.title);\n setName(template.title === \"Blank agent\" ? \"Untitled agent\" : template.title);\n setDescription(\n template.title === \"Blank agent\"\n ? \"A blank starting point with the core toolset.\"\n : template.description,\n );\n setSystemPrompt(template.prompt);\n setModel({ model: modelOptions[0] ?? \"claude-opus-5-5\", effort: \"Low\", fast: false });\n setTools(DEFAULT_AGENT_TOOLS);\n setOrchestration(DEFAULT_AGENT_ORCHESTRATION);\n setSelectedSkills([]);\n setSelectedAgents([]);\n setError(\"\");\n setRequested(false);\n setStartingOpen(false);\n nameRef.current?.focus();\n };\n const submit = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n if (!onAction || requested) return;\n if (!name.trim() || toolsError || rawEditor.error) {\n setError(rawEditor.error || toolsError || \"Enter an agent name.\");\n return;\n }\n setError(\"\");\n onAction?.(\"create-agent\", {\n name: name.trim(),\n model: activeModel,\n description,\n systemPrompt,\n prompt: descriptionPrompt,\n template: selectedTemplate,\n skills: JSON.stringify(selectedSkills),\n subagents: JSON.stringify(rawConfiguration.subagents),\n configuration: JSON.stringify(rawConfiguration),\n });\n setRequested(true);\n };\n return (\n <div className=\"csl-page csl-create-page csl-agent-new\">\n <div className=\"csl-breadcrumb\">\n <ConsoleLink href={routes.agents}>Agents</ConsoleLink>\n <span>/</span>\n <span>New agent</span>\n </div>\n <h1>Create agent</h1>\n <p className=\"csl-muted csl-page-subtitle\">\n Start from a template or describe what you need.\n </p>\n <section className=\"csl-agent-starting-point\">\n <button\n type=\"button\"\n className=\"csl-agent-starting-toggle\"\n aria-label=\"Starting point\"\n aria-expanded={startingOpen}\n onClick={() => setStartingOpen(!startingOpen)}\n >\n <ChevronDown aria-hidden=\"true\" /> Starting point\n {!startingOpen && selectedTemplate && (\n <span className=\"csl-muted\">{selectedTemplate}</span>\n )}\n </button>\n <div className=\"csl-agent-starting-body\" hidden={!startingOpen}>\n <ConsoleTabs\n label=\"Starting point\"\n value={startMode}\n onChange={setStartMode}\n options={[\"Describe your agent\", \"Template\"]}\n segmented\n />\n {startMode === \"Describe your agent\" ? (\n <div className=\"csl-quick-description\">\n <textarea\n aria-label=\"Describe your agent\"\n maxLength={8000}\n value={descriptionPrompt}\n onChange={(event) => setDescriptionPrompt(event.target.value)}\n placeholder=\"Summarizes new GitHub PRs and posts a digest to Slack.\"\n />\n <ConsoleButton\n primary\n disabled={!onAction || !descriptionPrompt.trim()}\n onClick={() =>\n onAction?.(\"generate-agent-config\", { description: descriptionPrompt })\n }\n >\n Generate\n </ConsoleButton>\n </div>\n ) : (\n <div className=\"csl-grid csl-grid-3 csl-agent-start-templates\">\n {AGENT_TEMPLATES.slice(0, 6).map((template) => (\n <button\n type=\"button\"\n key={template.title}\n aria-label={template.title}\n className=\"csl-card csl-template-option\"\n aria-pressed={selectedTemplate === template.title}\n onClick={() => applyTemplate(template)}\n >\n <strong>{template.title}</strong>\n <span className=\"csl-muted\">{template.description}</span>\n </button>\n ))}\n </div>\n )}\n </div>\n </section>\n <form\n className=\"csl-form csl-agent-config\"\n onSubmit={submit}\n onChange={() => {\n setRequested(false);\n setError(\"\");\n }}\n >\n <div className=\"csl-config-heading\">\n <h2>Agent config</h2>\n <ConsoleTabs\n label=\"Agent config view\"\n value={configMode}\n onChange={(value) => {\n if (!rawEditor.error) setConfigMode(value);\n }}\n options={[\"Rendered\", \"Raw\"]}\n segmented\n />\n </div>\n {configMode === \"Rendered\" ? (\n <>\n <FormSection title=\"General\" description=\"What this agent is and how it’s prompted.\">\n <Field label=\"Name\">\n <input\n required\n maxLength={255}\n placeholder=\"Descriptive name for this agent\"\n ref={nameRef}\n value={name}\n onChange={(event) => setName(event.target.value)}\n />\n </Field>\n <Field label=\"Model\">\n <AgentModelPicker\n value={{ ...model, model: activeModel }}\n models={modelOptions}\n onChange={(value) => {\n setModel(value);\n setRequested(false);\n }}\n />\n </Field>\n <Field label=\"Description\" optional>\n <textarea\n value={description}\n placeholder=\"What this agent does, for humans and other agents\"\n onChange={(event) => setDescription(event.target.value)}\n />\n </Field>\n <Field label=\"System prompt\" optional>\n <textarea\n value={systemPrompt}\n placeholder=\"System prompt for the agent\"\n className=\"csl-agent-system-prompt\"\n onChange={(event) => setSystemPrompt(event.target.value)}\n />\n </Field>\n </FormSection>\n <AgentOptionalSection\n title=\"Tools\"\n summary={\n tools.builtin\n ? \"Built-in tools\"\n : `${tools.custom.length + tools.servers.length} tools`\n }\n description=\"Built-in tools, MCP servers, and custom tools this agent can use.\"\n >\n <AgentToolsEditor\n value={tools}\n onChange={(value) => {\n setTools(value);\n setRequested(false);\n setError(\"\");\n }}\n />\n </AgentOptionalSection>\n <AgentOptionalSection\n title=\"Skills\"\n summary={selectedSkills.length ? `${selectedSkills.length} selected` : \"None\"}\n description=\"Instructions and scripts this agent loads when it needs them.\"\n >\n {skills.length ? (\n <div className=\"csl-option-list\">\n {skills.map((skill) => (\n <label className=\"csl-check-row\" key={skill}>\n <input\n type=\"checkbox\"\n checked={selectedSkills.includes(skill)}\n onChange={(event) =>\n setSelectedSkills((current) =>\n event.target.checked\n ? [...current, skill]\n : current.filter((value) => value !== skill),\n )\n }\n />\n <span>{skill}</span>\n </label>\n ))}\n </div>\n ) : (\n <p className=\"csl-muted\">No skills are available in this workspace.</p>\n )}\n </AgentOptionalSection>\n <AgentOptionalSection\n title=\"Multiagent\"\n summary={\n [\n orchestration.workflows && \"Workflows\",\n orchestration.subagents && \"Subagents\",\n orchestration.advisor && \"Advisor\",\n ]\n .filter(Boolean)\n .join(\", \") || \"None\"\n }\n description=\"Subagents this agent can hand work to.\"\n >\n <AgentOrchestrationEditor\n value={orchestration}\n onChange={(value) => {\n setOrchestration(value);\n setRequested(false);\n }}\n models={modelOptions}\n >\n {agents.length ? (\n <div className=\"csl-option-list\">\n {agents.map((candidate) => (\n <label className=\"csl-check-row\" key={candidate}>\n <input\n type=\"checkbox\"\n checked={selectedAgents.includes(candidate)}\n onChange={(event) =>\n setSelectedAgents((current) =>\n event.target.checked\n ? [...current, candidate]\n : current.filter((value) => value !== candidate),\n )\n }\n />\n <span>{candidate}</span>\n </label>\n ))}\n </div>\n ) : (\n <p className=\"csl-muted\">No other agents are available in this workspace.</p>\n )}\n </AgentOrchestrationEditor>\n </AgentOptionalSection>\n </>\n ) : (\n <AgentConfigEditor configuration={rawConfiguration} editor={rawEditor} />\n )}\n {requested && (\n <p role=\"status\" className=\"csl-host-note\">\n Request sent. Waiting for host confirmation.\n </p>\n )}\n {error && (\n <p role=\"alert\" className=\"csl-form-error\">\n {error}\n </p>\n )}\n <FormEndNote onAction={onAction} />\n <div className=\"csl-form-footer\">\n <ConsoleLink href={routes.agents} className=\"csl-button\">\n Cancel\n </ConsoleLink>\n <ConsoleButton\n primary\n type=\"submit\"\n disabled={!onAction || requested || !!rawEditor.error}\n >\n Create agent\n </ConsoleButton>\n </div>\n </form>\n </div>\n );\n}\n\nfunction AgentQuickstartPage({ onAction }: ConsoleActions) {\n const [previewTemplate, setPreviewTemplate] = useState<AgentTemplate | null>(null);\n const [description, setDescription] = useState(\"\");\n const [selectedTemplate, setSelectedTemplate] = useState(\"\");\n const [requested, setRequested] = useState(false);\n const promptRef = useRef<HTMLTextAreaElement>(null);\n const helpId = useId();\n const submit = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n if ((!description.trim() && !selectedTemplate) || !onAction || requested) return;\n onAction(\"create-agent\", { description: description.trim(), template: selectedTemplate });\n setRequested(true);\n };\n return (\n <div className=\"csl-page csl-agent-quickstart\">\n <section className=\"csl-quickstart-intro\">\n <h1>What do you want to build?</h1>\n <p className=\"csl-muted\">Describe your agent, or pick a template to start from.</p>\n <form className=\"csl-quickstart-prompt\" onSubmit={submit}>\n {selectedTemplate && (\n <div className=\"csl-quickstart-selection\">\n <Sparkles aria-hidden=\"true\" />\n <span>{selectedTemplate}</span>\n <ConsoleButton\n className=\"csl-icon-button\"\n aria-label=\"Clear selected template\"\n onClick={() => {\n setSelectedTemplate(\"\");\n setRequested(false);\n promptRef.current?.focus();\n }}\n >\n <X aria-hidden=\"true\" />\n </ConsoleButton>\n </div>\n )}\n <textarea\n ref={promptRef}\n value={description}\n onChange={(event) => {\n setDescription(event.target.value);\n setRequested(false);\n }}\n placeholder=\"A support agent that answers questions from our docs and escalates to Slack when it’s stuck…\"\n aria-label=\"Describe your agent\"\n aria-describedby={helpId}\n maxLength={8000}\n />\n <div className=\"csl-quickstart-prompt-footer\">\n <span id={helpId} className=\"sr-only\">\n {description.length} / 8000\n <span className=\"csl-quickstart-hint\">\n {\" \"}\n · Describe the goal, tools and expected outcome\n </span>\n </span>\n <ConsoleButton\n primary\n type=\"submit\"\n disabled={!onAction || requested || (!description.trim() && !selectedTemplate)}\n aria-label=\"Start agent creation\"\n >\n <ArrowUp aria-hidden=\"true\" />\n </ConsoleButton>\n </div>\n </form>\n {!onAction && (\n <p className=\"csl-host-note\">Connect a host action to enable agent creation.</p>\n )}\n {requested && (\n <p role=\"status\" className=\"csl-host-note\">\n Request sent to the host. Agent creation is not confirmed here.\n </p>\n )}\n </section>\n <div\n className=\"csl-grid csl-grid-3 csl-quickstart-templates\"\n role=\"group\"\n aria-label=\"Agent templates\"\n >\n {AGENT_TEMPLATES.slice(1).map((template) => (\n <div className=\"csl-card csl-quickstart-template\" key={template.title}>\n <button\n type=\"button\"\n className=\"csl-quickstart-template-main\"\n aria-label={template.title}\n aria-haspopup=\"dialog\"\n onClick={() => setPreviewTemplate(template)}\n >\n <strong>{template.title}</strong>\n <span className=\"csl-muted\">{template.description}</span>\n </button>\n <AgentTemplateIntegrations title={template.title} />\n <AgentTemplateFeature title={template.title} interactive />\n </div>\n ))}\n </div>\n <AgentTemplatePreview\n template={previewTemplate}\n onClose={() => setPreviewTemplate(null)}\n onUse={(template) => {\n setSelectedTemplate(template.title);\n setRequested(false);\n setPreviewTemplate(null);\n }}\n />\n <p className=\"csl-quickstart-blank\">\n Or <ConsoleLink href={routes.agentNew}>start from a blank agent</ConsoleLink>.\n </p>\n </div>\n );\n}\n\nfunction Field({\n label,\n required = false,\n optional = false,\n action,\n children,\n}: {\n label: string;\n required?: boolean;\n optional?: boolean;\n action?: ReactNode;\n children: ReactNode;\n}) {\n const generatedId = useId();\n const { children: linkedChildren, controlId } = linkFirstControl(children, generatedId);\n return (\n <div className=\"csl-field\">\n <div className=\"csl-field-heading\">\n {controlId ? (\n <label htmlFor={controlId}>\n {label}\n {required ? (\n <span aria-hidden=\"true\"> *</span>\n ) : optional ? (\n <span className=\"csl-muted\"> (optional)</span>\n ) : null}\n </label>\n ) : (\n <span>\n {label}\n {required ? (\n <span aria-hidden=\"true\"> *</span>\n ) : optional ? (\n <span className=\"csl-muted\"> (optional)</span>\n ) : null}\n </span>\n )}\n {action}\n </div>\n {linkedChildren}\n </div>\n );\n}\n\nfunction linkFirstControl(children: ReactNode, generatedId: string) {\n let controlId: string | undefined;\n const link = (child: ReactNode): ReactNode => {\n if (!isValidElement<Record<string, unknown>>(child)) return child;\n\n if (child.type === Fragment) {\n return cloneElement(child, undefined, Children.map(child.props.children as ReactNode, link));\n }\n if (typeof child.type !== \"string\") return child;\n\n if ([\"input\", \"select\", \"textarea\"].includes(child.type) && !controlId) {\n if (child.type === \"input\" && child.props.type === \"hidden\") return child;\n controlId =\n typeof child.props.id === \"string\" && child.props.id.length > 0\n ? child.props.id\n : generatedId;\n return child.props.id === controlId ? child : cloneElement(child, { id: controlId });\n }\n\n if (child.props.children === undefined) return child;\n return cloneElement(child, undefined, Children.map(child.props.children as ReactNode, link));\n };\n\n return { children: Children.map(children, link), controlId };\n}\n\nfunction FormSection({\n title,\n description,\n optional = false,\n collapsible = false,\n children,\n}: {\n title: string;\n description: string;\n optional?: boolean;\n collapsible?: boolean;\n children: ReactNode;\n}) {\n const heading = (\n <div className=\"csl-form-section-heading\">\n <h2>\n {title}\n {optional && <span className=\"csl-muted\"> (optional)</span>}\n </h2>\n <p className=\"csl-muted\">{description}</p>\n </div>\n );\n\n if (collapsible) {\n return (\n <details className=\"csl-form-section csl-optional-accordion\">\n <summary>{heading}</summary>\n <div className=\"csl-form-section-fields\">{children}</div>\n </details>\n );\n }\n\n return (\n <section className=\"csl-form-section\">\n {heading}\n <div className=\"csl-form-section-fields\">{children}</div>\n </section>\n );\n}\n\nfunction FormEndNote({ onAction }: { onAction: ConsoleActions[\"onAction\"] }) {\n return onAction ? null : (\n <p className=\"csl-muted csl-host-note\">Connect a host action to enable creation.</p>\n );\n}\n",
152
+ "type": "registry:ui"
153
+ },
154
+ {
155
+ "path": "components/uibot/console/agent-template-icons.tsx",
156
+ "target": "components/uibot/console/agent-template-icons.tsx",
157
+ "content": "import { FileText } from \"lucide-react\";\nimport { BrandIcon } from \"../brand-icons\";\n\n// Provider marks identify template examples, not live connections or permissions.\n// Sentry, Linear, Box, Asana, Intercom, Atlassian: Simple Icons (CC0-1.0),\n// https://github.com/simple-icons/simple-icons/tree/develop/icons\n// Amplitude logomark: https://brand.amplitude.com/creative/logo\nconst PROVIDER_PATHS: Record<string, readonly string[]> = {\n sentry: [\n \"M13.91 2.505c-.873-1.448-2.972-1.448-3.844 0L6.904 7.92a15.478 15.478 0 0 1 8.53 12.811h-2.221A13.301 13.301 0 0 0 5.784 9.814l-2.926 5.06a7.65 7.65 0 0 1 4.435 5.848H2.194a.365.365 0 0 1-.298-.534l1.413-2.402a5.16 5.16 0 0 0-1.614-.913L.296 19.275a2.182 2.182 0 0 0 .812 2.999 2.24 2.24 0 0 0 1.086.288h6.983a9.322 9.322 0 0 0-3.845-8.318l1.11-1.922a11.47 11.47 0 0 1 4.95 10.24h5.915a17.242 17.242 0 0 0-7.885-15.28l2.244-3.845a.37.37 0 0 1 .504-.13c.255.14 9.75 16.708 9.928 16.9a.365.365 0 0 1-.327.543h-2.287c.029.612.029 1.223 0 1.831h2.297a2.206 2.206 0 0 0 1.922-3.31z\",\n ],\n linear: [\n \"M2.886 4.18A11.982 11.982 0 0 1 11.99 0C18.624 0 24 5.376 24 12.009c0 3.64-1.62 6.903-4.18 9.105L2.887 4.18ZM1.817 5.626l16.556 16.556c-.524.33-1.075.62-1.65.866L.951 7.277c.247-.575.537-1.126.866-1.65ZM.322 9.163l14.515 14.515c-.71.172-1.443.282-2.195.322L0 11.358a12 12 0 0 1 .322-2.195Zm-.17 4.862 9.823 9.824a12.02 12.02 0 0 1-9.824-9.824Z\",\n ],\n box: [\n \"M.959 5.523c-.54 0-.959.42-.959.899v7.549a4.59 4.59 0 004.613 4.494 4.717 4.717 0 004.135-2.457c.779 1.438 2.337 2.457 4.074 2.457 2.577 0 4.674-2.037 4.674-4.613.06-2.457-2.037-4.495-4.613-4.495-1.738 0-3.295.959-4.074 2.397-.78-1.438-2.338-2.397-4.135-2.397-1.079 0-2.038.36-2.817.899V6.422a.92.92 0 00-.898-.899zM17.602 9.26a.95.95 0 00-.704.158c-.36.3-.479.899-.18 1.318l2.397 3.116-2.396 3.115c-.3.42-.24.96.18 1.26.419.3 1.016.298 1.316-.122l2.039-2.636 2.096 2.697c.3.36.899.419 1.318.12.36-.3.42-.84.121-1.259l-2.338-3.115 2.338-3.057c.3-.419.298-1.018-.121-1.318-.48-.3-1.019-.24-1.318.18l-2.096 2.576-2.04-2.695c-.149-.18-.373-.3-.612-.338zM4.613 11.154c1.558 0 2.817 1.26 2.817 2.758 0 1.558-1.259 2.756-2.817 2.756-1.558 0-2.816-1.198-2.816-2.756 0-1.498 1.258-2.758 2.816-2.758zm8.27 0c1.558 0 2.816 1.26 2.816 2.758-.06 1.558-1.318 2.756-2.816 2.756-1.558 0-2.817-1.198-2.817-2.756 0-1.498 1.259-2.758 2.817-2.758Z\",\n ],\n asana: [\n \"M18.78 12.653c-2.882 0-5.22 2.336-5.22 5.22s2.338 5.22 5.22 5.22 5.22-2.34 5.22-5.22-2.336-5.22-5.22-5.22zm-13.56 0c-2.88 0-5.22 2.337-5.22 5.22s2.338 5.22 5.22 5.22 5.22-2.338 5.22-5.22-2.336-5.22-5.22-5.22zm12-6.525c0 2.883-2.337 5.22-5.22 5.22-2.882 0-5.22-2.337-5.22-5.22 0-2.88 2.338-5.22 5.22-5.22 2.883 0 5.22 2.34 5.22 5.22z\",\n ],\n intercom: [\n \"M21 0H3C1.343 0 0 1.343 0 3v18c0 1.658 1.343 3 3 3h18c1.658 0 3-1.342 3-3V3c0-1.657-1.342-3-3-3zm-5.801 4.399c0-.44.36-.8.802-.8.44 0 .8.36.8.8v10.688c0 .442-.36.801-.8.801-.443 0-.802-.359-.802-.801V4.399zM11.2 3.994c0-.44.357-.799.8-.799s.8.359.8.799v11.602c0 .44-.357.8-.8.8s-.8-.36-.8-.8V3.994zm-4 .405c0-.44.359-.8.799-.8.443 0 .802.36.802.8v10.688c0 .442-.36.801-.802.801-.44 0-.799-.359-.799-.801V4.399zM3.199 6c0-.442.36-.8.802-.8.44 0 .799.358.799.8v7.195c0 .441-.359.8-.799.8-.443 0-.802-.36-.802-.8V6zM20.52 18.202c-.123.105-3.086 2.593-8.52 2.593-5.433 0-8.397-2.486-8.521-2.593-.335-.288-.375-.792-.086-1.128.285-.334.79-.375 1.125-.09.047.041 2.693 2.211 7.481 2.211 4.848 0 7.456-2.186 7.479-2.207.334-.289.839-.25 1.128.086.289.336.25.84-.086 1.128zm.281-5.007c0 .441-.36.8-.801.8-.441 0-.801-.36-.801-.8V6c0-.442.361-.8.801-.8.441 0 .801.357.801.8v7.195z\",\n ],\n atlassian: [\n \"M7.12 11.084a.683.683 0 00-1.16.126L.075 22.974a.703.703 0 00.63 1.018h8.19a.678.678 0 00.63-.39c1.767-3.65.696-9.203-2.406-12.52zM11.434.386a15.515 15.515 0 00-.906 15.317l3.95 7.9a.703.703 0 00.628.388h8.19a.703.703 0 00.63-1.017L12.63.38a.664.664 0 00-1.196.006z\",\n ],\n};\nconst AMPLITUDE_PATHS = [\n \"M773.575 373.633c-76.338-6.021-179.593-9.656-276.438-11.85-29.35-114.631-91.769-323.152-168.83-323.152-80.571 0-139.592 156.882-179.238 318.938l-111.067-1.583C17.125 355.688.042 372.53.042 393.41c0 20.67 16.756 37.428 37.427 37.428h94.952c-11.216 53.078-19.708 97.669-26.205 139.498-2.312 14.888 9.226 28.317 24.293 28.317a24.57 24.57 0 0 0 23.529-17.48c21.537-71.402 46.65-150.118 46.65-150.118H436.36c33.205 121.272 79.286 323.071 157.404 323.071 69.22 0 103.547-84.633 132.62-215.018 4.263-19.115 8.785-35.807 13.415-50.409 2.527-7.968-3.422-16.085-11.761-16.152-5.342-.043-10.062 3.494-11.91 8.506-8.003 21.714-14.975 41.964-20.18 56.533-31.776 88.938-48.116 143.925-83.269 143.925-46.451 0-80.229-176.587-98.65-250.456h257.256c15.881 0 28.756-12.875 28.756-28.756 0-14.995-11.517-27.487-26.466-28.666m-555.838-15.192c37.429-146.485 82.677-247.63 107.744-247.63 22.637 0 60.359 133.789 91.697 249.433-106.331-1.708-190.795-1.799-199.44-1.803Z\",\n];\n\nconst TEMPLATE_PROVIDERS: Record<string, readonly string[]> = {\n \"Field monitor\": [\"Notion\"],\n \"Support agent\": [\"Notion\", \"Slack\"],\n \"Incident commander\": [\"Sentry\", \"Linear\", \"Slack\", \"GitHub\"],\n \"Contract tracker\": [\"Box\", \"Asana\"],\n \"Sprint retro facilitator\": [\"Linear\", \"Slack\"],\n \"Support-to-eng escalator\": [\"Intercom\", \"Atlassian\", \"Slack\"],\n \"Data analyst\": [\"Amplitude\"],\n};\n\nfunction ProviderMark({ name }: { name: string }) {\n const key = name.toLowerCase();\n return (\n <span className=\"csl-agent-provider\" data-provider={key} role=\"img\" aria-label={name}>\n {PROVIDER_PATHS[key] || key === \"amplitude\" ? (\n <svg\n viewBox={key === \"amplitude\" ? \"0 0 800 800\" : \"0 0 24 24\"}\n fill=\"currentColor\"\n aria-hidden=\"true\"\n >\n {(PROVIDER_PATHS[key] ?? AMPLITUDE_PATHS).map((path) => (\n <path key={path} d={path} />\n ))}\n </svg>\n ) : (\n <BrandIcon name={key} />\n )}\n </span>\n );\n}\n\nexport function AgentTemplateIntegrations({ title }: { title: string }) {\n const providers = TEMPLATE_PROVIDERS[title];\n if (!providers) return null;\n return (\n <div className=\"csl-agent-template-integrations\">\n <span className=\"csl-agent-provider-stack\">\n {providers.map((name) => (\n <ProviderMark key={name} name={name} />\n ))}\n </span>\n {title === \"Sprint retro facilitator\" && (\n <span className=\"csl-agent-file-badge\">\n <FileText aria-hidden=\"true\" />\n docx\n </span>\n )}\n </div>\n );\n}\n",
158
+ "type": "registry:ui"
159
+ },
160
+ {
161
+ "path": "components/uibot/brand-icons.tsx",
162
+ "target": "components/uibot/brand-icons.tsx",
163
+ "content": "/*\nMIT License\n\nCopyright (c) 2024 Sat Naing\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\nBrand icon artwork adapted from the supplied shadcn-admin reference.\n*/\nimport type { SVGProps } from \"react\";\nfunction brandClass(...values: (string | undefined)[]) {\n return values.filter(Boolean).join(\" \");\n}\n\nexport function IconDiscord({ className, ...props }: SVGProps<SVGSVGElement>) {\n return (\n <svg\n role=\"img\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n className={brandClass(\"[&>path]:stroke-current\", className)}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <title>Discord</title>\n <path strokeWidth=\"0\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M8 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0\" />\n <path d=\"M14 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0\" />\n <path d=\"M15.5 17c0 1 1.5 3 2 3c1.5 0 2.833 -1.667 3.5 -3c.667 -1.667 .5 -5.833 -1.5 -11.5c-1.457 -1.015 -3 -1.34 -4.5 -1.5l-.972 1.923a11.913 11.913 0 0 0 -4.053 0l-.975 -1.923c-1.5 .16 -3.043 .485 -4.5 1.5c-2 5.667 -2.167 9.833 -1.5 11.5c.667 1.333 2 3 3.5 3c.5 0 2 -2 2 -3\" />\n <path d=\"M7 16.5c3.5 1 6.5 1 10 0\" />\n </svg>\n );\n}\n\nexport function IconDocker({ className, ...props }: SVGProps<SVGSVGElement>) {\n return (\n <svg\n role=\"img\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n className={brandClass(\"[&>path]:stroke-current\", className)}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <title>Docker</title>\n <path strokeWidth=\"0\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M22 12.54c-1.804 -.345 -2.701 -1.08 -3.523 -2.94c-.487 .696 -1.102 1.568 -.92 2.4c.028 .238 -.32 1 -.557 1h-14c0 5.208 3.164 7 6.196 7c4.124 .022 7.828 -1.376 9.854 -5c1.146 -.101 2.296 -1.505 2.95 -2.46z\" />\n <path d=\"M5 10h3v3h-3z\" />\n <path d=\"M8 10h3v3h-3z\" />\n <path d=\"M11 10h3v3h-3z\" />\n <path d=\"M8 7h3v3h-3z\" />\n <path d=\"M11 7h3v3h-3z\" />\n <path d=\"M11 4h3v3h-3z\" />\n <path d=\"M4.571 18c1.5 0 2.047 -.074 2.958 -.78\" />\n <path d=\"M10 16l0 .01\" />\n </svg>\n );\n}\n\nexport function IconFacebook({ className, ...props }: SVGProps<SVGSVGElement>) {\n return (\n <svg\n role=\"img\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n className={brandClass(\"[&>path]:stroke-current\", className)}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <title>Facebook</title>\n <path strokeWidth=\"0\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M7 10v4h3v7h4v-7h3l1 -4h-4v-2a1 1 0 0 1 1 -1h3v-4h-3a5 5 0 0 0 -5 5v2h-3\" />\n </svg>\n );\n}\n\nexport function IconFigma({ className, ...props }: SVGProps<SVGSVGElement>) {\n return (\n <svg\n role=\"img\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n className={brandClass(\"[&>path]:stroke-current\", className)}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <title>Figma</title>\n <path strokeWidth=\"0\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M15 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0\" />\n <path d=\"M6 3m0 3a3 3 0 0 1 3 -3h6a3 3 0 0 1 3 3v0a3 3 0 0 1 -3 3h-6a3 3 0 0 1 -3 -3z\" />\n <path d=\"M9 9a3 3 0 0 0 0 6h3m-3 0a3 3 0 1 0 3 3v-15\" />\n </svg>\n );\n}\n\nexport function IconGithub({ className, ...props }: SVGProps<SVGSVGElement>) {\n return (\n <svg\n role=\"img\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n className={brandClass(\"[&>path]:stroke-current\", className)}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <title>GitHub</title>\n <path strokeWidth=\"0\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5\" />\n </svg>\n );\n}\n\nexport function IconGitlab({ className, ...props }: SVGProps<SVGSVGElement>) {\n return (\n <svg\n role=\"img\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n className={brandClass(\"[&>path]:stroke-current\", className)}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <title>GitLab</title>\n <path strokeWidth=\"0\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M21 14l-9 7l-9 -7l3 -11l3 7h6l3 -7z\" />\n </svg>\n );\n}\n\nexport function IconGmail({ className, ...props }: SVGProps<SVGSVGElement>) {\n return (\n <svg\n role=\"img\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n className={brandClass(\"[&>path]:stroke-current\", className)}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <title>Gmail</title>\n <path strokeWidth=\"0\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M16 20h3a1 1 0 0 0 1 -1v-14a1 1 0 0 0 -1 -1h-3v16z\" />\n <path d=\"M5 20h3v-16h-3a1 1 0 0 0 -1 1v14a1 1 0 0 0 1 1z\" />\n <path d=\"M16 4l-4 4l-4 -4\" />\n <path d=\"M4 6.5l8 7.5l8 -7.5\" />\n </svg>\n );\n}\n\nexport function IconMedium({ className, ...props }: SVGProps<SVGSVGElement>) {\n return (\n <svg\n role=\"img\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n className={brandClass(\"[&>path]:stroke-current\", className)}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <title>Medium</title>\n <path strokeWidth=\"0\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z\" />\n <path d=\"M8 9h1l3 3l3 -3h1\" />\n <path d=\"M8 15l2 0\" />\n <path d=\"M14 15l2 0\" />\n <path d=\"M9 9l0 6\" />\n <path d=\"M15 9l0 6\" />\n </svg>\n );\n}\n\nexport function IconNotion({ className, ...props }: SVGProps<SVGSVGElement>) {\n return (\n <svg\n role=\"img\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n className={brandClass(\"[&>path]:stroke-current\", className)}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <title>Notion</title>\n <path strokeWidth=\"0\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M11 17.5v-6.5h.5l4 6h.5v-6.5\" />\n <path d=\"M19.077 20.071l-11.53 .887a1 1 0 0 1 -.876 -.397l-2.471 -3.294a1 1 0 0 1 -.2 -.6v-10.741a1 1 0 0 1 .923 -.997l11.389 -.876a2 2 0 0 1 1.262 .33l1.535 1.023a2 2 0 0 1 .891 1.664v12.004a1 1 0 0 1 -.923 .997z\" />\n <path d=\"M4.5 5.5l2.5 2.5\" />\n <path d=\"M20 7l-13 1v12.5\" />\n </svg>\n );\n}\n\nexport function IconSkype({ className, ...props }: SVGProps<SVGSVGElement>) {\n return (\n <svg\n role=\"img\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n className={brandClass(\"[&>path]:stroke-current\", className)}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <title>Skype</title>\n <path strokeWidth=\"0\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M12 3a9 9 0 0 1 8.603 11.65a4.5 4.5 0 0 1 -5.953 5.953a9 9 0 0 1 -11.253 -11.253a4.5 4.5 0 0 1 5.953 -5.954a8.987 8.987 0 0 1 2.65 -.396z\" />\n <path d=\"M8 14.5c.5 2 2.358 2.5 4 2.5c2.905 0 4 -1.187 4 -2.5c0 -1.503 -1.927 -2.5 -4 -2.5s-4 -1 -4 -2.5c0 -1.313 1.095 -2.5 4 -2.5c1.642 0 3.5 .5 4 2.5\" />\n </svg>\n );\n}\n\nexport function IconSlack({ className, ...props }: SVGProps<SVGSVGElement>) {\n return (\n <svg\n role=\"img\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n className={brandClass(\"[&>path]:stroke-current\", className)}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <title>Slack</title>\n <path strokeWidth=\"0\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M12 12v-6a2 2 0 0 1 4 0v6m0 -2a2 2 0 1 1 2 2h-6\" />\n <path d=\"M12 12h6a2 2 0 0 1 0 4h-6m2 0a2 2 0 1 1 -2 2v-6\" />\n <path d=\"M12 12v6a2 2 0 0 1 -4 0v-6m0 2a2 2 0 1 1 -2 -2h6\" />\n <path d=\"M12 12h-6a2 2 0 0 1 0 -4h6m-2 0a2 2 0 1 1 2 -2v6\" />\n </svg>\n );\n}\n\nexport function IconStripe({ className, ...props }: SVGProps<SVGSVGElement>) {\n return (\n <svg\n role=\"img\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n className={brandClass(\"[&>path]:stroke-current\", className)}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <title>Stripe</title>\n <path strokeWidth=\"0\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M11.453 8.056c0 -.623 .518 -.979 1.442 -.979c1.69 0 3.41 .343 4.605 .923l.5 -4c-.948 -.449 -2.82 -1 -5.5 -1c-1.895 0 -3.373 .087 -4.5 1c-1.172 .956 -2 2.33 -2 4c0 3.03 1.958 4.906 5 6c1.961 .69 3 .743 3 1.5c0 .735 -.851 1.5 -2 1.5c-1.423 0 -3.963 -.609 -5.5 -1.5l-.5 4c1.321 .734 3.474 1.5 6 1.5c2 0 3.957 -.468 5.084 -1.36c1.263 -.979 1.916 -2.268 1.916 -4.14c0 -3.096 -1.915 -4.547 -5 -5.637c-1.646 -.605 -2.544 -1.07 -2.544 -1.807z\" />\n </svg>\n );\n}\n\nexport function IconTelegram({ className, ...props }: SVGProps<SVGSVGElement>) {\n return (\n <svg\n role=\"img\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n className={brandClass(\"[&>path]:stroke-current\", className)}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <title>Telegram</title>\n <path strokeWidth=\"0\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M15 10l-4 4l6 6l4 -16l-18 7l4 2l2 6l3 -4\" />\n </svg>\n );\n}\n\nexport function IconTrello({ className, ...props }: SVGProps<SVGSVGElement>) {\n return (\n <svg\n role=\"img\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n className={brandClass(\"[&>path]:stroke-current\", className)}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <title>Trello</title>\n <path strokeWidth=\"0\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z\" />\n <path d=\"M7 7h3v10h-3z\" />\n <path d=\"M14 7h3v6h-3z\" />\n </svg>\n );\n}\n\nexport function IconWhatsapp({ className, ...props }: SVGProps<SVGSVGElement>) {\n return (\n <svg\n role=\"img\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n className={brandClass(\"[&>path]:stroke-current\", className)}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <title>WhatsApp</title>\n <path strokeWidth=\"0\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M3 21l1.65 -3.8a9 9 0 1 1 3.4 2.9l-5.05 .9\" />\n <path d=\"M9 10a.5 .5 0 0 0 1 0v-1a.5 .5 0 0 0 -1 0v1a5 5 0 0 0 5 5h1a.5 .5 0 0 0 0 -1h-1a.5 .5 0 0 0 0 1\" />\n </svg>\n );\n}\n\nexport function IconZoom({ className, ...props }: SVGProps<SVGSVGElement>) {\n return (\n <svg\n role=\"img\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n className={brandClass(\"[&>path]:stroke-current\", className)}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <title>Zoom</title>\n <path strokeWidth=\"0\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M17.011 9.385v5.128l3.989 3.487v-12z\" />\n <path d=\"M3.887 6h10.08c1.468 0 3.033 1.203 3.033 2.803v8.196a.991 .991 0 0 1 -.975 1h-10.373c-1.667 0 -2.652 -1.5 -2.652 -3l.01 -8a.882 .882 0 0 1 .208 -.71a.841 .841 0 0 1 .67 -.287z\" />\n </svg>\n );\n}\n\nconst brands = {\n discord: IconDiscord,\n docker: IconDocker,\n facebook: IconFacebook,\n figma: IconFigma,\n github: IconGithub,\n gitlab: IconGitlab,\n gmail: IconGmail,\n medium: IconMedium,\n notion: IconNotion,\n skype: IconSkype,\n slack: IconSlack,\n stripe: IconStripe,\n telegram: IconTelegram,\n trello: IconTrello,\n whatsapp: IconWhatsapp,\n zoom: IconZoom,\n};\nexport function BrandIcon({ name }: { name: string }) {\n const Component = brands[name as keyof typeof brands];\n return Component ? <Component aria-hidden=\"true\" /> : null;\n}\n",
164
+ "type": "registry:ui"
165
+ },
166
+ {
167
+ "path": "components/uibot/console/agent-config.tsx",
168
+ "target": "components/uibot/console/agent-config.tsx",
169
+ "content": "import { Popover } from \"radix-ui\";\nimport { useId, useState, type ReactNode } from \"react\";\nimport { ChevronDown, Code2, Globe, Plus, Terminal, X, Zap } from \"lucide-react\";\nimport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuSub,\n DropdownMenuSubTrigger,\n DropdownMenuSubContent,\n DropdownMenuCheckboxItem,\n} from \"../sidebars/ui-dropdown-menu\";\nimport { ConsoleButton, ConsoleSelect } from \"./ui\";\n\nexport interface AgentModelValue {\n model: string;\n effort: string;\n fast: boolean;\n}\nexport function AgentModelPicker({\n value,\n models,\n onChange,\n}: {\n value: AgentModelValue;\n models: string[];\n onChange: (value: AgentModelValue) => void;\n}) {\n return (\n <DropdownMenu>\n <DropdownMenuTrigger asChild>\n <ConsoleButton className=\"csl-agent-model-trigger\" aria-label=\"Model\">\n <span>{value.model}</span>\n <span className=\"csl-muted\">{value.effort} effort</span>\n {value.fast && <Zap aria-label=\"Fast\" />}\n <ChevronDown aria-hidden=\"true\" />\n </ConsoleButton>\n </DropdownMenuTrigger>\n <DropdownMenuContent className=\"csl-popup csl-menu csl-agent-model-menu\" align=\"start\">\n <DropdownMenuRadioGroup\n value={value.model}\n onValueChange={(model) => onChange({ ...value, model, fast: false })}\n >\n {models.map((model) => (\n <DropdownMenuRadioItem key={model} value={model}>\n {model}\n </DropdownMenuRadioItem>\n ))}\n </DropdownMenuRadioGroup>\n <DropdownMenuSeparator />\n <DropdownMenuSub>\n <DropdownMenuSubTrigger>\n Effort <span className=\"csl-menu-value\">{value.effort}</span>\n </DropdownMenuSubTrigger>\n <DropdownMenuSubContent className=\"csl-popup csl-menu csl-agent-model-menu\">\n <p className=\"csl-agent-menu-hint\">\n How thoroughly Claude responds; lower effort saves tokens.\n </p>\n <DropdownMenuRadioGroup\n value={value.effort}\n onValueChange={(effort) => onChange({ ...value, effort })}\n >\n {[\"Default\", \"Low\", \"Medium\", \"High\", \"Extra high\", \"Max\"].map((effort) => (\n <DropdownMenuRadioItem key={effort} value={effort}>\n {effort}\n </DropdownMenuRadioItem>\n ))}\n </DropdownMenuRadioGroup>\n </DropdownMenuSubContent>\n </DropdownMenuSub>\n <DropdownMenuSeparator />\n <p className=\"csl-agent-menu-hint\">Speed</p>\n <DropdownMenuCheckboxItem\n checked={value.fast}\n disabled={value.model !== \"claude-opus-5-5\"}\n onCheckedChange={(fast) => onChange({ ...value, fast })}\n >\n <Zap aria-hidden=\"true\" /> Fast\n </DropdownMenuCheckboxItem>\n <p className=\"csl-agent-menu-hint\">Quicker output at a higher price.</p>\n </DropdownMenuContent>\n </DropdownMenu>\n );\n}\n\nconst toolNames = [\n [\"bash\", \"Execute bash commands\"],\n [\"read\", \"Read files\"],\n [\"write\", \"Write files\"],\n [\"edit\", \"String replacement in files\"],\n [\"glob\", \"File pattern matching\"],\n [\"grep\", \"Text search with regex\"],\n [\"web_fetch\", \"Fetch URL content\"],\n [\"web_search\", \"Search the web\"],\n] as const;\nconst permissions = [\"Auto\", \"Always allow\", \"Always ask\", \"Always deny\"];\nexport interface AgentToolsValue {\n builtin: boolean;\n permissions: Record<string, string>;\n servers: { id: number; name: string; url: string }[];\n custom: { id: number; name: string; description: string; schema: string }[];\n}\nexport const DEFAULT_AGENT_TOOLS: AgentToolsValue = {\n builtin: true,\n permissions: {},\n servers: [],\n custom: [],\n};\nexport function agentToolsError(value: AgentToolsValue) {\n const names = new Set<string>();\n for (const tool of value.custom) {\n if (tool.schema.length > 32768) return \"Tool schemas must be 32,768 characters or fewer.\";\n if (!/^[a-zA-Z_][a-zA-Z0-9_-]{0,63}$/.test(tool.name) || names.has(tool.name))\n return \"Custom tools need unique names containing only letters, numbers, underscores or hyphens.\";\n names.add(tool.name);\n try {\n const schema: unknown = JSON.parse(tool.schema);\n if (\n !schema ||\n typeof schema !== \"object\" ||\n Array.isArray(schema) ||\n !(\"type\" in schema) ||\n schema.type !== \"object\"\n )\n return \"Each tool input schema must be a JSON object with type object.\";\n const pending: { value: unknown; depth: number }[] = [{ value: schema, depth: 0 }];\n let nodes = 0;\n while (pending.length) {\n const item = pending.pop();\n if (!item) break;\n if (++nodes > 4096 || item.depth > 32) return \"Tool input schema is too complex.\";\n if (item.value && typeof item.value === \"object\") {\n for (const child of Object.values(item.value))\n pending.push({ value: child, depth: item.depth + 1 });\n }\n }\n } catch {\n return \"Enter valid JSON for each tool input schema.\";\n }\n }\n return \"\";\n}\nexport function agentToolsParameters(value: AgentToolsValue) {\n return {\n builtin: value.builtin,\n permissions: value.builtin ? value.permissions : {},\n mcp_servers: value.servers.map(({ name, url }) => ({ name, url })),\n custom: value.custom.map(({ name, description, schema }) => ({\n name,\n description,\n input_schema: JSON.parse(schema) as unknown,\n })),\n };\n}\nexport function AgentToolsEditor({\n value,\n onChange,\n}: {\n value: AgentToolsValue;\n onChange: (value: AgentToolsValue) => void;\n}) {\n const [serverOpen, setServerOpen] = useState(false);\n const [serverUrl, setServerUrl] = useState(\"\");\n const [error, setError] = useState(\"\");\n const nextId = () =>\n Math.max(0, ...value.servers.map((item) => item.id), ...value.custom.map((item) => item.id)) +\n 1;\n const prefix = useId();\n const addServer = (name?: string, address = serverUrl) => {\n if (!address.trim()) return;\n let url: URL;\n try {\n url = new URL(address);\n } catch {\n setError(\"Enter a valid HTTPS server URL.\");\n return;\n }\n if (url.protocol !== \"https:\" || url.username || url.password || url.search || url.hash) {\n setError(\"Use an HTTPS URL without credentials, query parameters or a fragment.\");\n return;\n }\n if (value.servers.some((server) => server.url === url.href)) {\n setError(\"This server is already in the draft.\");\n return;\n }\n onChange({\n ...value,\n servers: [...value.servers, { id: nextId(), name: name ?? url.hostname, url: url.href }],\n });\n setServerOpen(false);\n };\n const updateCustom = (id: number, change: Partial<AgentToolsValue[\"custom\"][number]>) =>\n onChange({\n ...value,\n custom: value.custom.map((tool) => (tool.id === id ? { ...tool, ...change } : tool)),\n });\n return (\n <div className=\"csl-agent-tool-editor\">\n {value.builtin ? (\n <div className=\"csl-agent-tool-card\">\n <div className=\"csl-agent-tool-heading\">\n <Terminal aria-hidden=\"true\" />\n <div>\n <strong>Built-in tools</strong>\n <small className=\"csl-muted\">agent_toolset_20260401</small>\n </div>\n <ConsoleButton\n className=\"csl-icon-button\"\n aria-label=\"Disable built-in tools\"\n onClick={() => onChange({ ...value, builtin: false })}\n >\n <X aria-hidden=\"true\" />\n </ConsoleButton>\n </div>\n <details className=\"csl-agent-permissions\">\n <summary>\n Tool permissions <span className=\"csl-tag\">8</span>\n <ChevronDown aria-hidden=\"true\" />\n </summary>\n {toolNames.map(([name, description]) => (\n <div className=\"csl-agent-permission\" key={name}>\n <div>\n <strong>{name}</strong>\n <small className=\"csl-muted\">{description}</small>\n </div>\n <ConsoleSelect\n label={`Permission for ${name}`}\n value={value.permissions[name] ?? \"Auto\"}\n options={permissions}\n onChange={(permission) =>\n onChange({\n ...value,\n permissions: { ...value.permissions, [name]: permission },\n })\n }\n />\n </div>\n ))}\n </details>\n </div>\n ) : (\n <ConsoleButton onClick={() => onChange({ ...value, builtin: true })}>\n <Plus aria-hidden=\"true\" />\n Enable built-in tools\n </ConsoleButton>\n )}\n {value.servers.map((server) => (\n <div className=\"csl-agent-tool-card csl-agent-tool-heading\" key={server.id}>\n <Globe aria-hidden=\"true\" />\n <div>\n <strong>{server.name}</strong>\n <small className=\"csl-muted\">{server.url}</small>\n </div>\n <ConsoleButton\n className=\"csl-icon-button\"\n aria-label={`Remove ${server.name}`}\n onClick={() =>\n onChange({ ...value, servers: value.servers.filter((item) => item.id !== server.id) })\n }\n >\n <X aria-hidden=\"true\" />\n </ConsoleButton>\n </div>\n ))}\n {value.custom.map((tool) => (\n <div className=\"csl-agent-tool-card\" key={tool.id}>\n <div className=\"csl-agent-tool-heading\">\n <Code2 aria-hidden=\"true\" />\n <div>\n <strong>{tool.name || \"Custom tool\"}</strong>\n <small className=\"csl-muted\">custom</small>\n </div>\n <ConsoleButton\n className=\"csl-icon-button\"\n aria-label={`Remove ${tool.name || \"custom tool\"}`}\n onClick={() =>\n onChange({ ...value, custom: value.custom.filter((item) => item.id !== tool.id) })\n }\n >\n <X aria-hidden=\"true\" />\n </ConsoleButton>\n </div>\n <details className=\"csl-agent-tool-definition\">\n <summary>\n Definition <ChevronDown aria-hidden=\"true\" />\n </summary>\n <div className=\"csl-option-list\">\n <label htmlFor={`${prefix}-${tool.id}-name`}>\n Name\n <input\n id={`${prefix}-${tool.id}-name`}\n value={tool.name}\n maxLength={64}\n onChange={(event) => updateCustom(tool.id, { name: event.target.value })}\n />\n </label>\n <label htmlFor={`${prefix}-${tool.id}-description`}>\n Description\n <textarea\n id={`${prefix}-${tool.id}-description`}\n value={tool.description}\n onChange={(event) => updateCustom(tool.id, { description: event.target.value })}\n />\n </label>\n <label htmlFor={`${prefix}-${tool.id}-schema`}>\n Input schema\n <textarea\n id={`${prefix}-${tool.id}-schema`}\n className=\"csl-agent-schema\"\n spellCheck={false}\n value={tool.schema}\n onChange={(event) => updateCustom(tool.id, { schema: event.target.value })}\n />\n </label>\n </div>\n </details>\n </div>\n ))}\n <div className=\"csl-actions csl-agent-tool-actions\">\n <Popover.Root\n open={serverOpen}\n onOpenChange={(open) => {\n setServerOpen(open);\n setServerUrl(\"\");\n setError(\"\");\n }}\n >\n <Popover.Trigger asChild>\n <ConsoleButton aria-label=\"Add MCP server\">\n <Plus aria-hidden=\"true\" />\n Add MCP server\n </ConsoleButton>\n </Popover.Trigger>\n <Popover.Portal>\n <Popover.Content\n className=\"csl-popup csl-agent-mcp-picker\"\n align=\"start\"\n sideOffset={6}\n aria-label=\"Add MCP server\"\n >\n <input\n className=\"csl-input\"\n aria-label=\"Search MCP servers or enter a URL\"\n placeholder=\"Search MCP servers or enter a URL\"\n value={serverUrl}\n onChange={(event) => {\n setServerUrl(event.target.value);\n setError(\"\");\n }}\n onKeyDown={(event) => {\n if (event.key === \"Enter\") {\n event.preventDefault();\n event.stopPropagation();\n addServer();\n }\n }}\n />\n <div className=\"csl-agent-mcp-options\">\n {[\n [\"Google Drive\", \"https://drivemcp.googleapis.com/mcp/v1\"],\n [\"Gmail\", \"https://gmailmcp.googleapis.com/mcp/v1\"],\n [\"Canva\", \"https://mcp.canva.com/mcp\"],\n [\"Notion\", \"https://mcp.notion.com/mcp\"],\n ]\n .filter(([name, url]) =>\n `${name} ${url}`.toLowerCase().includes(serverUrl.trim().toLowerCase()),\n )\n .map(([name, url]) => (\n <button type=\"button\" key={url} onClick={() => addServer(name, url)}>\n <Globe aria-hidden=\"true\" />\n <span>\n <strong>{name}</strong>\n <small>{url}</small>\n </span>\n <Plus aria-hidden=\"true\" />\n </button>\n ))}\n {serverUrl.trim() && (\n <ConsoleButton onClick={() => addServer()}>\n <Plus aria-hidden=\"true\" />\n Add server URL\n </ConsoleButton>\n )}\n </div>\n {error && (\n <p className=\"csl-form-error\" role=\"alert\">\n {error}\n </p>\n )}\n <p className=\"csl-host-note\">\n Configure this draft only. Your host connects and authorizes the server.\n </p>\n </Popover.Content>\n </Popover.Portal>\n </Popover.Root>\n <ConsoleButton\n onClick={() => {\n const id = nextId();\n let suffix = id;\n let name = \"new_tool\";\n while (value.custom.some((tool) => tool.name === name)) name = `new_tool_${suffix++}`;\n onChange({\n ...value,\n custom: [\n ...value.custom,\n {\n id,\n name,\n description: \"\",\n schema: '{\\n \"type\": \"object\",\\n \"properties\": {}\\n}',\n },\n ],\n });\n }}\n >\n <Plus aria-hidden=\"true\" />\n Add custom tool\n </ConsoleButton>\n </div>\n </div>\n );\n}\n\nexport interface AgentOrchestrationValue {\n workflows: boolean;\n subagents: boolean;\n advisor: boolean;\n defineAgents: boolean;\n advisorModel: string;\n}\nexport const DEFAULT_AGENT_ORCHESTRATION: AgentOrchestrationValue = {\n workflows: false,\n subagents: false,\n advisor: false,\n defineAgents: true,\n advisorModel: \"claude-haiku-5-5\",\n};\nexport function AgentOrchestrationEditor({\n value,\n onChange,\n children,\n models,\n}: {\n value: AgentOrchestrationValue;\n onChange: (value: AgentOrchestrationValue) => void;\n children: ReactNode;\n models: string[];\n}) {\n return (\n <div className=\"csl-option-list\">\n {(\n [\n [\n \"workflows\",\n \"Workflows\",\n \"Plans the work itself, then runs it as a workflow of agents working in parallel.\",\n ],\n [\"subagents\", \"Subagents\", \"Hands tasks to other agents, each in a thread of its own.\"],\n [\"advisor\", \"Advisor\", \"A stronger model this agent consults mid-turn.\"],\n ] as const\n ).map(([key, title, description]) => (\n <label className=\"csl-check-row csl-agent-orchestration\" key={key}>\n <input\n type=\"checkbox\"\n checked={value[key]}\n onChange={(event) => onChange({ ...value, [key]: event.target.checked })}\n />\n <span>\n <strong>{title}</strong>\n <small className=\"csl-muted\">{description}</small>\n </span>\n </label>\n ))}\n {(value.workflows || value.subagents) && (\n <div className=\"csl-agent-orchestration-options\">\n <label className=\"csl-check-row\">\n <input\n type=\"checkbox\"\n checked={value.defineAgents}\n onChange={(event) => onChange({ ...value, defineAgents: event.target.checked })}\n />\n <span>\n Can define its own agents\n <small className=\"csl-muted\">Agents it writes for one task. They aren’t saved.</small>\n </span>\n </label>\n <strong>Saved agents it can use</strong>\n {children}\n </div>\n )}\n {value.advisor && (\n <ConsoleSelect\n label=\"Advisor model\"\n value={models.includes(value.advisorModel) ? value.advisorModel : (models[0] ?? \"\")}\n options={models}\n onChange={(advisorModel) => onChange({ ...value, advisorModel })}\n />\n )}\n </div>\n );\n}\n\nexport function AgentOptionalSection({\n title,\n description,\n summary,\n children,\n}: {\n title: string;\n description: string;\n summary: string;\n children: ReactNode;\n}) {\n return (\n <details className=\"csl-agent-section\">\n <summary>\n <div className=\"csl-agent-section-heading\">\n <h2>\n <ChevronDown aria-hidden=\"true\" />\n {title} <span className=\"csl-muted\">(optional)</span>\n </h2>\n <p className=\"csl-muted\">{description}</p>\n </div>\n <span className=\"csl-agent-section-summary csl-muted\">{summary}</span>\n </summary>\n <div className=\"csl-form-section-fields\">{children}</div>\n </details>\n );\n}\n",
170
+ "type": "registry:ui"
171
+ },
172
+ {
173
+ "path": "components/uibot/console/agent-templates.tsx",
174
+ "target": "components/uibot/console/agent-templates.tsx",
175
+ "content": "import { Popover } from \"radix-ui\";\nimport { useState } from \"react\";\nimport { Check, Copy, SearchCheck, Clock3, Shuffle } from \"lucide-react\";\nimport { ConsoleCode, type ConsoleCodeLanguage } from \"./code\";\nimport { ConsoleButton, ConsoleModal, ConsoleSelect } from \"./ui\";\n\nexport const AGENT_TEMPLATES = [\n {\n title: \"Blank agent\",\n description: \"Start from scratch with just the core toolset and a generic prompt.\",\n prompt:\n \"You are a general-purpose agent that can research, write code, run commands, and use connected tools to complete the user’s task end to end.\",\n },\n {\n title: \"Deep researcher\",\n description: \"Conducts multi-step web research with source synthesis and citations.\",\n prompt:\n \"Research the question, compare reliable sources, and produce a clear report with citations. Distinguish evidence from assumptions.\",\n },\n {\n title: \"Structured extractor\",\n description: \"Parses unstructured text into a typed JSON schema.\",\n prompt:\n \"Extract structured records from the provided text. Return valid JSON matching the requested schema. Identify missing information without inventing values.\",\n },\n {\n title: \"Field monitor\",\n description: \"Scans software blogs for a topic and writes a weekly what-changed brief.\",\n prompt:\n \"Review the supplied sources for new developments. Write a concise change report with dates and links.\",\n },\n {\n title: \"Support agent\",\n description:\n \"Answers customer questions from your docs and knowledge base, and escalates unresolved issues.\",\n prompt:\n \"Answer support questions using the connected documentation. Cite relevant guidance and escalate when the available information is insufficient.\",\n },\n {\n title: \"Incident commander\",\n description:\n \"Triages alerts, organizes incident response, and coordinates updates across connected tools.\",\n prompt:\n \"Triage the reported incident, summarize impact and evidence, and propose next steps. Ask for confirmation before changing external systems.\",\n },\n {\n title: \"Contract tracker\",\n description: \"Extracts clauses, tracks obligations, and prepares deadline reminders.\",\n prompt:\n \"Review the provided contract, extract obligations and deadlines, and flag ambiguities for review.\",\n },\n {\n title: \"Sprint retro facilitator\",\n description: \"Synthesizes a closed sprint into themes, decisions, and actionable follow-ups.\",\n prompt:\n \"Summarize sprint evidence, identify recurring themes, and prepare a retrospective with concrete follow-ups.\",\n },\n {\n title: \"Support-to-eng escalator\",\n description:\n \"Investigates support conversations and prepares reproducible engineering reports.\",\n prompt:\n \"Review a support report, collect reproduction steps, and prepare an engineering handoff grounded in the supplied evidence.\",\n },\n {\n title: \"Data analyst\",\n description: \"Explores data, builds reports, and answers questions with clear visualizations.\",\n prompt:\n \"Analyze the provided data, check assumptions and data quality, and explain findings with reproducible calculations.\",\n },\n {\n title: \"Bug hunter\",\n description: \"Scans a codebase and reports only the bugs it can prove.\",\n prompt:\n \"Inspect the supplied code and report reproducible defects with evidence, impact, and a focused fix.\",\n },\n {\n title: \"Stock watchlist scanner\",\n description: \"Reports what changed for each stock since the last close.\",\n prompt:\n \"Summarize sourced changes for the supplied watchlist. Include timestamps and distinguish reported facts from interpretation.\",\n },\n {\n title: \"Video explainer maker\",\n description: \"Turns a topic into a short captioned video plan with music direction.\",\n prompt:\n \"Prepare a concise video script, scene plan, captions, and music direction for the requested topic.\",\n },\n] as const;\nexport type AgentTemplate = (typeof AGENT_TEMPLATES)[number];\nexport function AgentTemplateFeature({\n title,\n interactive = false,\n}: {\n title: string;\n interactive?: boolean;\n}) {\n const feature =\n title === \"Deep researcher\"\n ? ([SearchCheck, \"Outcome-optimizing\"] as const)\n : [\"Field monitor\", \"Sprint retro facilitator\"].includes(title)\n ? ([Clock3, \"Recurring\"] as const)\n : [\"Bug hunter\", \"Stock watchlist scanner\", \"Video explainer maker\"].includes(title)\n ? ([Shuffle, \"Dynamic workflow\"] as const)\n : null;\n if (!feature) return null;\n const [Icon, label] = feature;\n const content = (\n <>\n <Icon aria-hidden=\"true\" />\n {label}\n </>\n );\n if (!interactive) return <small className=\"csl-quickstart-feature\">{content}</small>;\n const descriptions: Record<string, string> = {\n \"Outcome-optimizing\":\n \"Define the desired outcome and review the criteria used to judge the result.\",\n Recurring: \"Designed for repeated work. Scheduling and execution are configured by the host.\",\n \"Dynamic workflow\": \"Plans work as a workflow of agents that can work in parallel.\",\n };\n return (\n <Popover.Root>\n <Popover.Trigger asChild>\n <button type=\"button\" className=\"csl-quickstart-feature\" aria-label={`About ${label}`}>\n {content}\n </button>\n </Popover.Trigger>\n <Popover.Portal>\n <Popover.Content\n className=\"csl-popup csl-agent-feature-popover\"\n sideOffset={8}\n align=\"end\"\n collisionPadding={12}\n aria-label={label}\n >\n <p>{descriptions[label]}</p>\n </Popover.Content>\n </Popover.Portal>\n </Popover.Root>\n );\n}\n\nfunction yamlValue(value: unknown, depth = 0): string {\n const indent = \" \".repeat(depth);\n if (Array.isArray(value))\n return value.length\n ? value\n .map(\n (item) =>\n `${indent}- ${typeof item === \"object\" && item !== null ? `\\n${yamlValue(item, depth + 1)}` : JSON.stringify(item)}`,\n )\n .join(\"\\n\")\n : `${indent}[]`;\n if (value !== null && typeof value === \"object\")\n return (\n Object.entries(value)\n .map(\n ([key, item]) =>\n `${indent}${JSON.stringify(key)}:${typeof item === \"object\" && item !== null ? `\\n${yamlValue(item, depth + 1)}` : ` ${JSON.stringify(item)}`}`,\n )\n .join(\"\\n\") || `${indent}{}`\n );\n return `${indent}${JSON.stringify(value)}`;\n}\nexport function AgentConfigCode({ configuration }: { configuration: Record<string, unknown> }) {\n const [format, setFormat] = useState(\"YAML\");\n const [copyStatus, setCopyStatus] = useState(\"\");\n const json = JSON.stringify(configuration, null, 2);\n const formats: Record<string, { code: string; language: ConsoleCodeLanguage }> = {\n YAML: { code: yamlValue(configuration), language: \"yaml\" },\n TypeScript: { code: `const agentConfig = ${json} as const;`, language: \"typescript\" },\n Python: {\n code: `import json\\n\\nagent_config = json.loads(${JSON.stringify(json)})`,\n language: \"python\",\n },\n JSON: { code: json, language: \"json\" },\n };\n const current = formats[format] ?? { code: json, language: \"json\" as const };\n return (\n <div className=\"csl-agent-code\">\n <div className=\"csl-agent-code-toolbar\">\n <strong>Agent config</strong>\n <ConsoleSelect\n label=\"Code format\"\n value={format}\n options={Object.keys(formats)}\n onChange={(value) => {\n setFormat(value);\n setCopyStatus(\"\");\n }}\n />\n <ConsoleButton\n className=\"csl-icon-button\"\n aria-label=\"Copy agent config\"\n onClick={async () => {\n try {\n await navigator.clipboard.writeText(current.code);\n setCopyStatus(\"Copied agent config.\");\n } catch {\n setCopyStatus(\"Could not copy. Select the code and copy it manually.\");\n }\n }}\n >\n {copyStatus === \"Copied agent config.\" ? (\n <Check aria-hidden=\"true\" />\n ) : (\n <Copy aria-hidden=\"true\" />\n )}\n </ConsoleButton>\n </div>\n <div\n className=\"csl-agent-code-content\"\n tabIndex={0}\n role=\"region\"\n aria-label=\"Read-only agent configuration\"\n >\n <ConsoleCode code={current.code} language={current.language} />\n </div>\n <span role=\"status\" className=\"sr-only\">\n {copyStatus}\n </span>\n </div>\n );\n}\nexport function AgentTemplatePreview({\n template,\n onClose,\n onUse,\n}: {\n template: AgentTemplate | null;\n onClose: () => void;\n onUse: (template: AgentTemplate) => void;\n}) {\n return (\n <ConsoleModal\n open={!!template}\n onOpenChange={(open) => {\n if (!open) onClose();\n }}\n title={template?.title ?? \"Agent template\"}\n description={template?.description ?? \"Preview the template configuration before using it.\"}\n size=\"wide\"\n >\n {template && (\n <div className=\"csl-agent-template-preview\">\n {template.title === \"Deep researcher\" && (\n <section className=\"csl-agent-outcome\">\n <div>\n <strong>Outcome</strong>\n <AgentTemplateFeature title={template.title} />\n </div>\n <p>\n A research report that answers the question with reliable sources and clear\n citations.\n </p>\n <details>\n <summary>How the result is judged</summary>\n <ul>\n <li>Addresses the research question.</li>\n <li>Uses relevant, verifiable sources.</li>\n <li>Explains conflicting evidence.</li>\n <li>Connects conclusions to citations.</li>\n </ul>\n </details>\n </section>\n )}\n <AgentConfigCode\n key={template.title}\n configuration={{\n name: template.title,\n description: template.description,\n model: \"claude-opus-5-5\",\n system_prompt: template.prompt,\n tools: [\"Built-in tools\"],\n }}\n />\n <div className=\"csl-form-footer\">\n <ConsoleButton onClick={onClose}>Cancel</ConsoleButton>\n <ConsoleButton primary onClick={() => onUse(template)}>\n Use this template\n </ConsoleButton>\n </div>\n </div>\n )}\n </ConsoleModal>\n );\n}\n",
176
+ "type": "registry:ui"
177
+ },
178
+ {
179
+ "path": "components/uibot/console/code.tsx",
180
+ "target": "components/uibot/console/code.tsx",
181
+ "content": "import { useEffect, useState } from \"react\";\nimport type { CSSProperties } from \"react\";\nimport { createHighlighterCore } from \"shiki/core\";\nimport { createJavaScriptRegexEngine } from \"shiki/engine/javascript\";\nimport javascript from \"@shikijs/langs/javascript\";\nimport json from \"@shikijs/langs/json\";\nimport python from \"@shikijs/langs/python\";\nimport shellscript from \"@shikijs/langs/shellscript\";\nimport typescript from \"@shikijs/langs/typescript\";\nimport yaml from \"@shikijs/langs/yaml\";\nimport githubDark from \"@shikijs/themes/github-dark\";\nimport githubLight from \"@shikijs/themes/github-light\";\n\nexport type ConsoleCodeLanguage =\n | \"json\"\n | \"shellscript\"\n | \"python\"\n | \"javascript\"\n | \"typescript\"\n | \"yaml\";\n\ntype CodeLine = Awaited<\n ReturnType<Awaited<ReturnType<typeof getHighlighter>>[\"codeToTokensWithThemes\"]>\n>[number];\n\nconst highlighter = getHighlighter();\n\nfunction getHighlighter() {\n return createHighlighterCore({\n engine: createJavaScriptRegexEngine(),\n langs: [...json, ...shellscript, ...python, ...javascript, ...typescript, ...yaml],\n themes: [githubLight, githubDark],\n });\n}\n\nfunction useHighlightedCode(code: string, language: ConsoleCodeLanguage) {\n const [highlighted, setHighlighted] = useState<{\n code: string;\n language: ConsoleCodeLanguage;\n lines: CodeLine[];\n } | null>(null);\n\n useEffect(() => {\n let active = true;\n void highlighter\n .then((instance) =>\n instance.codeToTokensWithThemes(code, {\n lang: language,\n themes: { light: \"github-light\", dark: \"github-dark\" },\n }),\n )\n .then((result) => {\n if (active) setHighlighted({ code, language, lines: result });\n })\n .catch(() => {\n if (active) setHighlighted(null);\n });\n return () => {\n active = false;\n };\n }, [code, language]);\n\n return highlighted?.code === code && highlighted.language === language ? highlighted.lines : null;\n}\n\nfunction tokenStyle(\n light?: { color?: string; bgColor?: string; fontStyle?: unknown },\n dark?: { color?: string; bgColor?: string },\n): CSSProperties {\n const fontStyle = typeof light?.fontStyle === \"number\" ? light.fontStyle : 0;\n return {\n ...(light?.color ? { \"--csl-token-light\": light.color } : {}),\n ...(light?.bgColor ? { \"--csl-token-light-bg\": light.bgColor } : {}),\n ...(dark?.color ? { \"--csl-token-dark\": dark.color } : {}),\n ...(dark?.bgColor ? { \"--csl-token-dark-bg\": dark.bgColor } : {}),\n ...(fontStyle & 2 ? { fontWeight: 700 } : {}),\n ...(fontStyle & 1 ? { fontStyle: \"italic\" } : {}),\n ...(fontStyle & 4 ? { textDecoration: \"underline\" } : {}),\n } as CSSProperties;\n}\n\n/** Syntax-highlighted, copyable-by-host read-only code content. */\nexport function ConsoleCode({\n code,\n language,\n className = \"\",\n}: {\n code: string;\n language: ConsoleCodeLanguage;\n className?: string;\n}) {\n const lines = useHighlightedCode(code, language);\n\n return (\n <pre className={`csl-syntax ${className}`.trim()} data-language={language}>\n <code>\n {lines\n ? lines.map((line, lineIndex) => (\n <span\n className=\"csl-syntax-line\"\n key={`${lineIndex}-${line.map((token) => token.content).join(\"\")}`}\n >\n {line.map((token, tokenIndex) => {\n const light = token.variants.light;\n const dark = token.variants.dark;\n const style = tokenStyle(light, dark);\n return (\n <span\n className=\"csl-syntax-token\"\n key={`${tokenIndex}-${token.offset}-${token.content}`}\n style={style}\n >\n {token.content}\n </span>\n );\n })}\n {lineIndex < lines.length - 1 ? \"\\n\" : null}\n </span>\n ))\n : code}\n </code>\n </pre>\n );\n}\n",
182
+ "type": "registry:ui"
183
+ },
184
+ {
185
+ "path": "components/uibot/console/agent-editor.tsx",
186
+ "target": "components/uibot/console/agent-editor.tsx",
187
+ "content": "import { useId, useRef, useState } from \"react\";\nimport { Check, Copy, RotateCcw } from \"lucide-react\";\nimport { ConsoleCode } from \"./code\";\nimport { ConsoleButton, ConsoleSelect } from \"./ui\";\nimport { AgentConfigCode } from \"./agent-templates\";\nimport {\n parseAgentDraft,\n serializeAgentDraft,\n type AgentDraft,\n type AgentDraftFormat,\n type AgentDraftOptions,\n} from \"./agent-draft\";\n\nexport function useAgentDraftEditor(\n configuration: Record<string, unknown>,\n options: AgentDraftOptions,\n onApply: (value: AgentDraft) => void,\n) {\n const [format, setFormat] = useState<AgentDraftFormat>(\"YAML\");\n const [draft, setDraft] = useState<{\n source: string;\n key: string;\n format: AgentDraftFormat;\n error: string;\n } | null>(null);\n const key = JSON.stringify(configuration);\n // Rejected source is user work, even when the host changes the available model.\n const current = draft && (draft.error || draft.key === key) ? draft : null;\n const source =\n current?.format === format ? current.source : serializeAgentDraft(configuration, format);\n const error = current?.error ?? \"\";\n return {\n source,\n format,\n error,\n reset: () => setDraft(null),\n setFormat: (value: string) => {\n if (!error && (value === \"YAML\" || value === \"JSON\")) setFormat(value);\n },\n change: (value: string) => {\n try {\n const parsed = parseAgentDraft(value, format, options);\n setDraft({ source: value, key: JSON.stringify(parsed), format, error: \"\" });\n onApply(parsed);\n } catch (cause) {\n setDraft({\n source: value,\n key,\n format,\n error: cause instanceof Error ? cause.message : \"Invalid configuration.\",\n });\n }\n },\n };\n}\n\nexport function AgentConfigEditor({\n editor,\n configuration,\n}: {\n editor: ReturnType<typeof useAgentDraftEditor>;\n configuration: Record<string, unknown>;\n}) {\n const [view, setView] = useState(\"Edit\");\n const [copyStatus, setCopyStatus] = useState(\"\");\n const highlight = useRef<HTMLDivElement>(null);\n const helpId = useId();\n return (\n <div className=\"csl-agent-raw\">\n <div className=\"csl-agent-code-toolbar\">\n <strong>Agent config</strong>\n <ConsoleSelect\n label=\"Configuration view\"\n value={view}\n options={[\"Edit\", \"Read-only export\"]}\n onChange={(value) => {\n if (!editor.error) setView(value);\n }}\n />\n </div>\n {view === \"Read-only export\" ? (\n <AgentConfigCode configuration={configuration} />\n ) : (\n <div className=\"csl-agent-code\">\n <div className=\"csl-agent-code-toolbar\">\n <span className=\"csl-muted\">Changes sync with the form.</span>\n <ConsoleSelect\n label=\"Code format\"\n value={editor.format}\n options={[\"YAML\", \"JSON\"]}\n onChange={(value) => {\n editor.setFormat(value);\n setCopyStatus(\"\");\n }}\n />\n <ConsoleButton\n className=\"csl-icon-button\"\n aria-label=\"Restore last valid configuration\"\n onClick={() => {\n editor.reset();\n setCopyStatus(\"\");\n }}\n >\n <RotateCcw aria-hidden=\"true\" />\n </ConsoleButton>\n <ConsoleButton\n className=\"csl-icon-button\"\n aria-label=\"Copy agent config\"\n onClick={async () => {\n try {\n await navigator.clipboard.writeText(editor.source);\n setCopyStatus(\"Copied agent config.\");\n } catch {\n setCopyStatus(\"Could not copy. Select the code and copy it manually.\");\n }\n }}\n >\n {copyStatus === \"Copied agent config.\" ? (\n <Check aria-hidden=\"true\" />\n ) : (\n <Copy aria-hidden=\"true\" />\n )}\n </ConsoleButton>\n </div>\n <div className=\"csl-agent-code-editor\">\n <div className=\"csl-agent-code-highlight\" ref={highlight} aria-hidden=\"true\">\n <ConsoleCode\n code={`${editor.source}\\n`}\n language={editor.format === \"YAML\" ? \"yaml\" : \"json\"}\n />\n </div>\n <textarea\n aria-label=\"Agent configuration source\"\n aria-describedby={helpId}\n aria-invalid={!!editor.error}\n value={editor.source}\n spellCheck={false}\n autoCapitalize=\"off\"\n autoCorrect=\"off\"\n wrap=\"off\"\n onChange={(event) => {\n editor.change(event.target.value);\n setCopyStatus(\"\");\n }}\n onScroll={(event) => {\n if (highlight.current) {\n highlight.current.scrollTop = event.currentTarget.scrollTop;\n highlight.current.scrollLeft = event.currentTarget.scrollLeft;\n }\n }}\n />\n </div>\n <p\n id={helpId}\n className={`csl-agent-editor-help ${editor.error ? \"csl-form-error\" : \"csl-muted\"}`}\n role={editor.error ? \"alert\" : undefined}\n >\n {editor.error ||\n \"YAML / JSON data only. Fix errors before switching views or creating the agent.\"}\n </p>\n <span role=\"status\" className=\"sr-only\">\n {copyStatus}\n </span>\n </div>\n )}\n </div>\n );\n}\n",
188
+ "type": "registry:ui"
189
+ },
190
+ {
191
+ "path": "components/uibot/console/agent-draft.ts",
192
+ "target": "components/uibot/console/agent-draft.ts",
193
+ "content": "import { parseDocument, stringify } from \"yaml\";\nimport {\n agentToolsError,\n type AgentToolsValue,\n type AgentOrchestrationValue,\n} from \"./agent-config\";\n\nexport type AgentDraftFormat = \"YAML\" | \"JSON\";\nexport interface AgentDraft {\n name: string;\n model: string;\n effort: string;\n speed: string;\n description: string;\n system_prompt: string;\n tools: ReturnType<typeof import(\"./agent-config\").agentToolsParameters>;\n skills: string[];\n subagents: string[];\n multiagent: AgentOrchestrationValue;\n}\nexport interface AgentDraftOptions {\n models: string[];\n skills: string[];\n agents: string[];\n}\nexport const AGENT_DRAFT_LIMIT = 131072;\n\nexport function serializeAgentDraft(value: Record<string, unknown>, format: AgentDraftFormat) {\n return format === \"JSON\" ? JSON.stringify(value, null, 2) : stringify(value, { lineWidth: 0 });\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n if (!value || typeof value !== \"object\" || Array.isArray(value)) return false;\n const prototype = Object.getPrototypeOf(value);\n return prototype === Object.prototype || prototype === null;\n}\nfunction record(value: unknown, path: string): Record<string, unknown> {\n if (!isRecord(value)) throw Error(`${path} must be an object.`);\n return value;\n}\nfunction keys(value: Record<string, unknown>, allowed: string[], path: string) {\n if (Object.keys(value).some((key) => !allowed.includes(key)))\n throw Error(`${path} contains an unsupported field. Remove it before applying.`);\n}\nfunction text(value: unknown, path: string, fallback = \"\", limit = 32768) {\n if (value === undefined) return fallback;\n if (typeof value !== \"string\" || value.length > limit)\n throw Error(`${path} must be text, no more than ${limit} characters.`);\n return value;\n}\nfunction choice(value: unknown, allowed: string[], path: string, fallback: string) {\n const result = text(value, path, fallback);\n if (!allowed.includes(result)) throw Error(`Select an available ${path}.`);\n return result;\n}\nfunction flag(value: unknown, path: string, fallback = false) {\n if (value === undefined) return fallback;\n if (typeof value !== \"boolean\") throw Error(`${path} must be true or false.`);\n return value;\n}\nfunction list(value: unknown, allowed: string[], path: string) {\n if (value === undefined) return [];\n if (\n !Array.isArray(value) ||\n value.length > 128 ||\n value.some((item) => typeof item !== \"string\" || !allowed.includes(item)) ||\n new Set(value).size !== value.length\n )\n throw Error(`${path} must contain unique, available workspace items.`);\n return value as string[];\n}\nfunction bounded(value: unknown) {\n const pending = [{ value, depth: 0 }];\n let count = 0;\n while (pending.length) {\n const item = pending.pop();\n if (!item) break;\n if (++count > 8192 || item.depth > 32) throw Error(\"Configuration is too complex.\");\n if (typeof item.value === \"number\" && !Number.isFinite(item.value))\n throw Error(\"Configuration numbers must be finite.\");\n if (item.value && typeof item.value === \"object\") {\n if (!Array.isArray(item.value) && !isRecord(item.value))\n throw Error(\"Configuration supports only JSON data types.\");\n for (const child of Object.values(item.value))\n pending.push({ value: child, depth: item.depth + 1 });\n }\n }\n}\nexport function draftTools(value: AgentDraft[\"tools\"]): AgentToolsValue {\n return {\n builtin: value.builtin,\n permissions: value.permissions,\n servers: value.mcp_servers.map((server, index) => ({ ...server, id: index + 1 })),\n custom: value.custom.map(({ input_schema, ...tool }, index) => ({\n ...tool,\n id: value.mcp_servers.length + index + 1,\n schema: JSON.stringify(input_schema, null, 2),\n })),\n };\n}\n\n/** Parse data only; never execute exported JavaScript/Python or resolve remote references. */\nexport function parseAgentDraft(\n source: string,\n format: AgentDraftFormat,\n options: AgentDraftOptions,\n): AgentDraft {\n if (source.length > AGENT_DRAFT_LIMIT)\n throw Error(\"Configuration must be 131,072 characters or fewer.\");\n let parsed: unknown;\n if (format === \"JSON\") {\n try {\n parsed = JSON.parse(source);\n } catch {\n throw Error(\"Enter valid JSON.\");\n }\n if (parseDocument(source, { uniqueKeys: true }).errors.length)\n throw Error(\"Enter valid JSON with unique keys.\");\n } else {\n const document = parseDocument(source, {\n version: \"1.2\",\n schema: \"core\",\n resolveKnownTags: false,\n stringKeys: true,\n uniqueKeys: true,\n });\n if (document.errors.length || document.warnings.length) {\n const line = document.errors[0]?.linePos?.[0]?.line;\n throw Error(\n `Enter valid YAML with unique keys and standard data types${line ? ` (line ${line})` : \"\"}.`,\n );\n }\n try {\n parsed = document.toJS({ maxAliasCount: 0 });\n } catch {\n throw Error(\"YAML aliases and recursive references are not supported.\");\n }\n }\n bounded(parsed);\n const root = record(parsed, \"Configuration\");\n keys(\n root,\n [\n \"name\",\n \"model\",\n \"effort\",\n \"speed\",\n \"description\",\n \"system_prompt\",\n \"tools\",\n \"skills\",\n \"subagents\",\n \"multiagent\",\n ],\n \"Configuration\",\n );\n const name = text(root.name, \"name\", \"\", 255);\n if (!name.trim()) throw Error(\"Enter an agent name.\");\n const model = choice(root.model, options.models, \"model\", options.models[0] ?? \"\");\n const speed = choice(root.speed, [\"standard\", \"fast\"], \"speed\", \"standard\");\n if (speed === \"fast\" && model !== \"claude-opus-5-5\")\n throw Error(\"Fast speed requires claude-opus-5-5.\");\n const tool = record(root.tools ?? {}, \"tools\");\n keys(tool, [\"builtin\", \"permissions\", \"mcp_servers\", \"custom\"], \"tools\");\n const permissions = record(tool.permissions ?? {}, \"tools.permissions\");\n keys(\n permissions,\n [\"bash\", \"read\", \"write\", \"edit\", \"glob\", \"grep\", \"web_fetch\", \"web_search\"],\n \"tools.permissions\",\n );\n const permissionValues: Record<string, string> = {};\n for (const [key, permission] of Object.entries(permissions))\n permissionValues[key] = choice(\n permission,\n [\"Auto\", \"Always allow\", \"Always ask\", \"Always deny\"],\n \"tool permission\",\n \"Auto\",\n );\n const items = (value: unknown, path: string) => {\n if (value === undefined) return [];\n if (!Array.isArray(value) || value.length > 128)\n throw Error(`${path} must be a list of no more than 128 items.`);\n return value as unknown[];\n };\n const urls = new Set<string>();\n const mcp_servers = items(tool.mcp_servers, \"tools.mcp_servers\").map((item) => {\n const server = record(item, \"MCP server\");\n keys(server, [\"name\", \"url\"], \"MCP server\");\n let url: URL;\n try {\n url = new URL(text(server.url, \"MCP URL\"));\n } catch {\n throw Error(\"Enter a valid HTTPS MCP URL.\");\n }\n if (\n url.protocol !== \"https:\" ||\n url.username ||\n url.password ||\n url.search ||\n url.hash ||\n urls.has(url.href)\n )\n throw Error(\n \"MCP URLs must be unique HTTPS addresses without credentials, query parameters or fragments.\",\n );\n urls.add(url.href);\n return { name: text(server.name, \"MCP name\", url.hostname, 255), url: url.href };\n });\n const custom = items(tool.custom, \"tools.custom\").map((item) => {\n const definition = record(item, \"Custom tool\");\n keys(definition, [\"name\", \"description\", \"input_schema\"], \"Custom tool\");\n return {\n name: text(definition.name, \"Tool name\", \"\", 64),\n description: text(definition.description, \"Tool description\"),\n input_schema: record(definition.input_schema, \"Tool input_schema\"),\n };\n });\n const tools = {\n builtin: flag(tool.builtin, \"tools.builtin\", true),\n permissions: permissionValues,\n mcp_servers,\n custom,\n };\n if (!tools.builtin && Object.keys(permissions).length)\n throw Error(\"Enable built-in tools before configuring their permissions.\");\n const toolsError = agentToolsError(draftTools(tools));\n if (toolsError) throw Error(toolsError);\n const multi = record(root.multiagent ?? {}, \"multiagent\");\n keys(multi, [\"workflows\", \"subagents\", \"advisor\", \"defineAgents\", \"advisorModel\"], \"multiagent\");\n const multiagent = {\n workflows: flag(multi.workflows, \"multiagent.workflows\"),\n subagents: flag(multi.subagents, \"multiagent.subagents\"),\n advisor: flag(multi.advisor, \"multiagent.advisor\"),\n defineAgents: flag(multi.defineAgents, \"multiagent.defineAgents\", true),\n advisorModel: choice(\n multi.advisorModel,\n options.models,\n \"advisor model\",\n options.models[0] ?? \"\",\n ),\n };\n const subagents = list(root.subagents, options.agents, \"subagents\");\n if (subagents.length && !multiagent.workflows && !multiagent.subagents)\n throw Error(\"Enable workflows or subagents before selecting agents.\");\n return {\n name,\n model,\n effort: choice(\n root.effort,\n [\"Default\", \"Low\", \"Medium\", \"High\", \"Extra high\", \"Max\"],\n \"effort\",\n \"Default\",\n ),\n speed,\n description: text(root.description, \"description\"),\n system_prompt: text(root.system_prompt, \"system_prompt\"),\n tools,\n skills: list(root.skills, options.skills, \"skills\"),\n subagents,\n multiagent,\n };\n}\n",
194
+ "type": "registry:ui"
195
+ },
196
+ {
197
+ "path": "components/uibot/console/messages.tsx",
198
+ "target": "components/uibot/console/messages.tsx",
199
+ "content": "import { useId, useState } from \"react\";\nimport {\n Braces,\n BookOpen,\n BrainCircuit,\n ChevronDown,\n Database,\n Network,\n Terminal,\n Trash2,\n Copy,\n Globe2,\n ListTree,\n MoreVertical,\n Paperclip,\n Play,\n Plus,\n RefreshCw,\n Sparkles,\n} from \"lucide-react\";\nimport { ConsoleCode } from \"./code\";\nimport {\n DEFAULT_MESSAGE_MODEL_SETTINGS,\n MessageModelPanel,\n MessageModelPicker,\n messageModelBetas,\n messageModelParameters,\n validMessageModelSettings,\n} from \"./message-settings\";\nimport {\n ConsoleButton,\n ConsoleCard,\n ConsoleEmpty,\n ConsoleHeader,\n ConsoleSelect,\n ConsoleTabs,\n ConsoleTag,\n type ConsoleActions,\n} from \"./ui\";\n\nconst presets = [\n [\n \"Extract structured data\",\n \"Parses unstructured text into a typed JSON schema.\",\n \"Structured outputs\",\n \"Extract names, dates and amounts as JSON.\",\n ],\n [\n \"Deep research\",\n \"Multi-step web research with source synthesis and citations.\",\n \"Web search\",\n \"Research a topic and cite the sources you use.\",\n ],\n [\n \"Answer from a PDF\",\n \"Quotes and cites pages from an attached document.\",\n \"PDF attachment\",\n \"Answer questions about an attached document.\",\n ],\n [\n \"Adaptive thinking\",\n \"Reviews a spec for hidden contradictions, reasoning visibly.\",\n \"Extended thinking\",\n \"Review the following specification for contradictions.\",\n ],\n [\n \"Spreadsheet skill\",\n \"Loads the xlsx skill and produces a downloadable file with formulas.\",\n \"Skills\",\n \"Analyze the attached spreadsheet and summarize the findings.\",\n ],\n [\n \"Advisor tool\",\n \"Pairs a fast worker model with a smarter advisor for optimal speed and cost.\",\n \"Advisor tool\",\n \"Solve a complex problem, consulting an advisor when needed.\",\n ],\n] as const;\n\nfunction RequestPlayground({ onAction }: ConsoleActions) {\n const systemId = useId();\n const [mode, setMode] = useState(\"Form\");\n const [modelSettings, setModelSettings] = useState(DEFAULT_MESSAGE_MODEL_SETTINGS);\n const [system, setSystem] = useState(\"\");\n const [showSystem, setShowSystem] = useState(true);\n const [selectedPreset, setSelectedPreset] = useState<string | null>(null);\n const [prompt, setPrompt] = useState(\"\");\n const [assistant, setAssistant] = useState<string | null>(null);\n const [settings, setSettings] = useState(false);\n const [add, setAdd] = useState(false);\n const [tools, setTools] = useState<string[]>([]);\n const [attachment, setAttachment] = useState(\"\");\n const [notice, setNotice] = useState(\"\");\n const validSettings = validMessageModelSettings(modelSettings);\n const code = JSON.stringify(\n {\n model: modelSettings.model,\n ...messageModelParameters(modelSettings),\n ...(system ? { system } : {}),\n messages: [\n { role: \"user\", content: prompt },\n ...(assistant !== null ? [{ role: \"assistant\", content: assistant }] : []),\n ],\n },\n null,\n 2,\n );\n const reset = () => {\n setModelSettings(DEFAULT_MESSAGE_MODEL_SETTINGS);\n setSystem(\"\");\n setShowSystem(true);\n setSelectedPreset(null);\n setPrompt(\"\");\n setAssistant(null);\n setTools([]);\n setAttachment(\"\");\n setNotice(\"\");\n };\n const runRequest = () => {\n if (!onAction || !prompt.trim() || !validSettings) return;\n onAction(\"run-request\", {\n request: code,\n tools: JSON.stringify(tools),\n attachment,\n betas: JSON.stringify(messageModelBetas(modelSettings)),\n });\n };\n return (\n <div\n className=\"csl-playground\"\n onKeyDown={(event) => {\n if (\n (event.metaKey || event.ctrlKey) &&\n event.shiftKey &&\n (event.key === \",\" || event.code === \"Comma\") &&\n !event.repeat\n ) {\n event.preventDefault();\n setSettings((current) => !current);\n return;\n }\n if (\n (event.metaKey || event.ctrlKey) &&\n event.key === \"Enter\" &&\n !event.repeat &&\n !settings\n ) {\n event.preventDefault();\n runRequest();\n }\n }}\n >\n <ConsoleHeader\n title=\"Playground\"\n description=\"Send a Messages API request, see Claude's response, and copy the code to ship.\"\n >\n <ConsoleButton disabled={!onAction} onClick={() => onAction?.(\"share-request\")}>\n Share\n </ConsoleButton>\n <ConsoleButton disabled={!onAction} onClick={() => onAction?.(\"request-history\")}>\n History\n </ConsoleButton>\n <ConsoleButton onClick={reset}>\n <Plus />\n New\n </ConsoleButton>\n </ConsoleHeader>\n <div className=\"csl-workbench\">\n <section className=\"csl-request\">\n <header className=\"csl-workbench-heading\">\n <strong>Build your request</strong>\n <ConsoleTabs\n label=\"Request format\"\n value={mode}\n onChange={setMode}\n options={[\"Form\", \"Code\"]}\n segmented\n />\n </header>\n <div className=\"csl-request-body\">\n {mode === \"Code\" ? (\n <>\n <div className=\"csl-actions\">\n <ConsoleButton\n onClick={async () => {\n try {\n await navigator.clipboard.writeText(code);\n setNotice(\"Copied request\");\n } catch {\n setNotice(\"Could not copy request\");\n }\n }}\n >\n <Copy />\n Copy\n </ConsoleButton>\n </div>\n <ConsoleCode code={code} language=\"json\" className=\"csl-code\" />\n </>\n ) : (\n <>\n <div className=\"csl-toolbar\">\n <div className=\"csl-actions\">\n <MessageModelPicker\n value={modelSettings.model}\n onChange={(model) =>\n setModelSettings((current) => ({\n ...current,\n model,\n fallback: \"\",\n speed: \"standard\",\n thinking: \"adaptive\",\n }))\n }\n />\n <MessageModelPanel\n open={settings}\n onOpenChange={setSettings}\n value={modelSettings}\n onChange={setModelSettings}\n />\n </div>\n <div className=\"csl-actions\">\n <ConsoleButton aria-expanded={add} onClick={() => setAdd(!add)}>\n Add <ChevronDown aria-hidden=\"true\" />\n </ConsoleButton>\n <ConsoleButton aria-label=\"More request options\" onClick={() => setAdd(!add)}>\n <MoreVertical />\n </ConsoleButton>\n </div>\n </div>\n {add && (\n <div className=\"csl-tool-options\">\n {[\"Web search\", \"Code execution\", \"Skills\", \"Structured outputs\"].map(\n (tool) => (\n <label key={tool} className=\"csl-check-row\">\n <input\n type=\"checkbox\"\n checked={tools.includes(tool)}\n onChange={(e) =>\n setTools(\n e.target.checked\n ? [...tools, tool]\n : tools.filter((value) => value !== tool),\n )\n }\n />\n {tool}\n </label>\n ),\n )}\n </div>\n )}\n {showSystem ? (\n <div className=\"csl-field\">\n <div className=\"csl-field-heading\">\n <label htmlFor={systemId}>System</label>\n <ConsoleButton\n className=\"csl-icon-button csl-text-button\"\n aria-label=\"Remove system prompt\"\n onClick={() => {\n setSystem(\"\");\n setShowSystem(false);\n }}\n >\n <Trash2 aria-hidden=\"true\" />\n </ConsoleButton>\n </div>\n <textarea\n id={systemId}\n aria-label=\"System prompt\"\n className=\"csl-input\"\n placeholder=\"Instructions that apply to every turn (optional)\"\n value={system}\n onChange={(e) => setSystem(e.target.value)}\n />\n </div>\n ) : (\n <ConsoleButton onClick={() => setShowSystem(true)}>\n <Plus aria-hidden=\"true\" />\n Add system prompt\n </ConsoleButton>\n )}\n <div className=\"csl-field\">\n <strong>Messages</strong>\n <div className=\"csl-field-heading\">\n <ConsoleTag>user</ConsoleTag>\n <label className=\"csl-icon-button\" title=\"Attach a file\">\n <Paperclip size={17} />\n <input\n className=\"sr-only\"\n type=\"file\"\n aria-label=\"Attach a file\"\n onChange={(e) => setAttachment(e.target.files?.[0]?.name ?? \"\")}\n />\n </label>\n </div>\n <textarea\n aria-label=\"User message\"\n className=\"csl-input\"\n placeholder=\"What the user says to Claude\"\n value={prompt}\n onChange={(e) => setPrompt(e.target.value)}\n />\n {attachment && (\n <small className=\"csl-muted\">{attachment} · Selected locally</small>\n )}\n </div>\n {assistant !== null && (\n <label className=\"csl-field\">\n assistant\n <textarea\n className=\"csl-input\"\n value={assistant}\n onChange={(e) => setAssistant(e.target.value)}\n />\n <ConsoleButton onClick={() => setAssistant(null)}>\n Remove assistant message\n </ConsoleButton>\n </label>\n )}\n <ConsoleButton onClick={() => setAssistant(\"\")} disabled={assistant !== null}>\n Add assistant message\n </ConsoleButton>\n </>\n )}\n <p role=\"status\" className=\"csl-muted\">\n {notice}\n </p>\n </div>\n <footer className=\"csl-run-bar\">\n <ConsoleButton\n primary\n disabled={!onAction || !prompt.trim() || !validSettings}\n onClick={runRequest}\n >\n <Play />\n Run <kbd>⌘ ↵</kbd>\n </ConsoleButton>\n </footer>\n </section>\n <section className=\"csl-response\">\n <div className=\"csl-response-intro\">\n <Sparkles size={44} />\n <h2>Start with a template</h2>\n <p className=\"csl-muted\">Build your request and press Run.</p>\n </div>\n <div className=\"csl-grid csl-templates\">\n {presets.map(([title, description, tag, text]) => (\n <button\n type=\"button\"\n key={title}\n className=\"csl-card csl-template-option\"\n aria-pressed={selectedPreset === title}\n onClick={() => {\n setSelectedPreset(title);\n setPrompt(text);\n setTools(tag === \"Skills\" ? [tag, \"Code execution\"] : [tag]);\n }}\n >\n <h3>{title}</h3>\n <p className=\"csl-muted\">{description}</p>\n <div className=\"csl-template-tags\">\n <ConsoleTag>\n {tag === \"Structured outputs\" ? (\n <Braces />\n ) : tag === \"Web search\" ? (\n <Globe2 />\n ) : tag === \"Skills\" ? (\n <BookOpen />\n ) : tag === \"Extended thinking\" ? (\n <BrainCircuit />\n ) : tag === \"Advisor tool\" ? (\n <Network />\n ) : (\n <Paperclip />\n )}\n {tag}\n </ConsoleTag>\n {tag === \"PDF attachment\" && (\n <ConsoleTag>\n <Database />\n Prompt caching\n </ConsoleTag>\n )}\n {tag === \"Skills\" && (\n <ConsoleTag>\n <Terminal />\n Code execution\n </ConsoleTag>\n )}\n </div>\n </button>\n ))}\n </div>\n </section>\n </div>\n </div>\n );\n}\n\nfunction Batches() {\n const [language, setLanguage] = useState(\"Python\");\n const [query, setQuery] = useState(\"\");\n const [notice, setNotice] = useState(\"\");\n const code =\n language === \"Python\"\n ? `import anthropic\\n\\n# Set ANTHROPIC_API_KEY in your environment\\nclient = anthropic.Anthropic()\\n\\nmessage_batch = client.messages.batches.create(\\n requests=[\\n {\\n \"custom_id\": \"first-prompt-in-my-batch\",\\n \"params\": {\\n \"model\": \"claude-haiku-5-5\",\\n \"max_tokens\": 100,\\n \"messages\": [{\\n \"role\": \"user\",\\n \"content\": \"Tell me a short fun fact about video games!\"\\n }]\\n }\\n }\\n ]\\n)`\n : `curl https://api.anthropic.com/v1/messages/batches \\\\\\n -H 'x-api-key: YOUR_API_KEY' \\\\\\n -H 'anthropic-version: 2023-06-01' \\\\\\n -H 'content-type: application/json' \\\\\\n -d '{\"requests\":[{\"custom_id\":\"first-prompt-in-my-batch\",\"params\":{\"model\":\"claude-haiku-5-5\",\"max_tokens\":100,\"messages\":[{\"role\":\"user\",\"content\":\"Hi\"}]}}]}'`;\n return (\n <>\n <ConsoleHeader\n title=\"Batches\"\n description=\"Asynchronously process large volumes of Messages requests.\"\n />\n <div className=\"csl-toolbar\">\n <input\n className=\"csl-input\"\n aria-label=\"Find batch by ID\"\n placeholder=\"Find batch by ID\"\n value={query}\n onChange={(e) => setQuery(e.target.value)}\n />\n </div>\n <p className=\"csl-muted\">\n {query\n ? \"No batch matches this ID.\"\n : \"No batches have been created in the Default workspace. Copy the template below to set up your first batch:\"}\n </p>\n <ConsoleCard className=\"csl-batch-code\">\n <div className=\"csl-toolbar\">\n <ConsoleSelect\n label=\"Language\"\n value={language}\n onChange={setLanguage}\n options={[\"Python\", \"cURL\"]}\n />\n <ConsoleButton\n aria-label=\"Copy batch code\"\n onClick={async () => {\n try {\n await navigator.clipboard.writeText(code);\n setNotice(\"Copied\");\n } catch {\n setNotice(\"Could not copy\");\n }\n }}\n >\n <Copy />\n </ConsoleButton>\n </div>\n <ConsoleCode\n code={code}\n language={language === \"Python\" ? \"python\" : \"shellscript\"}\n className=\"csl-code\"\n />\n </ConsoleCard>\n <p role=\"status\">{notice}</p>\n </>\n );\n}\nfunction Logs({ onAction }: ConsoleActions) {\n return (\n <>\n <ConsoleHeader\n title=\"Logs\"\n description=\"Messages API requests and playground runs from the last 30 days. Batch, Claude Code, and Managed Agents requests aren't included. New requests usually appear within a minute of completing.\"\n />\n <ConsoleCard>\n <ConsoleEmpty\n icon={ListTree}\n title=\"No logs yet\"\n description=\"Logs will appear here once requests are made to the Messages API.\"\n >\n <ConsoleButton\n className=\"csl-text-button\"\n disabled={!onAction}\n onClick={() => onAction?.(\"refresh-logs\")}\n >\n Refresh\n <RefreshCw size={14} />\n </ConsoleButton>\n </ConsoleEmpty>\n </ConsoleCard>\n </>\n );\n}\nexport function MessagesPages({\n view,\n ...actions\n}: ConsoleActions & { view: \"playground\" | \"batches\" | \"logs\" }) {\n return view === \"playground\" ? (\n <RequestPlayground {...actions} />\n ) : view === \"batches\" ? (\n <Batches />\n ) : (\n <Logs {...actions} />\n );\n}\n",
200
+ "type": "registry:ui"
201
+ },
202
+ {
203
+ "path": "components/uibot/console/message-settings.tsx",
204
+ "target": "components/uibot/console/message-settings.tsx",
205
+ "content": "import { useId, useRef, useState } from \"react\";\nimport { Check, ChevronDown, ExternalLink, Info, Plus, SlidersHorizontal, X } from \"lucide-react\";\nimport { Dialog, Popover, RadioGroup, Switch, Tooltip } from \"radix-ui\";\nimport { ConsoleButton, ConsoleSelect, ConsoleTag } from \"./ui\";\n\nconst models = [\n { id: \"claude-haiku-5-5\", description: \"Fastest model for daily tasks\" },\n { id: \"claude-sonnet-5-5\", description: \"Smart, efficient model for everyday use\" },\n { id: \"claude-opus-5-5\", description: \"Powerful, large model for complex challenges\" },\n];\nconst fallbackModels = [\n { id: \"claude-opus-5\", description: \"Claude Opus 5\" },\n { id: \"claude-opus-4-8\", description: \"Claude Opus 4.8\" },\n];\nexport interface MessageModelSettings {\n model: string;\n tokens: string;\n fallback: string;\n thinking: \"adaptive\" | \"disabled\";\n prefix: \"drop\" | \"error\";\n speed: \"standard\" | \"fast\";\n effort: string;\n stream: boolean;\n stops: { id: number; value: string }[];\n}\nexport const DEFAULT_MESSAGE_MODEL_SETTINGS: MessageModelSettings = {\n model: \"claude-opus-5-5\",\n tokens: \"20000\",\n fallback: \"\",\n thinking: \"adaptive\",\n prefix: \"drop\",\n speed: \"standard\",\n effort: \"Default\",\n stream: true,\n stops: [],\n};\nexport function validMessageModelSettings(value: MessageModelSettings) {\n return (\n value.tokens.trim() !== \"\" &&\n Number.isInteger(Number(value.tokens)) &&\n Number(value.tokens) >= 0 &&\n Number(value.tokens) <= 128000\n );\n}\nexport function messageModelParameters(value: MessageModelSettings) {\n const adaptive = value.thinking === \"adaptive\";\n const stops = value.stops.map(({ value: text }) => text.replaceAll(\"\\\\n\", \"\\n\")).filter(Boolean);\n return {\n max_tokens: Number(value.tokens),\n thinking: {\n type: value.thinking,\n ...(adaptive && value.prefix === \"error\"\n ? {\n block_binding: { prefix_mismatch_behavior: \"error\" },\n }\n : {}),\n },\n ...(value.speed === \"fast\" && value.model === \"claude-opus-5-5\" ? { speed: \"fast\" } : {}),\n ...(value.fallback && value.model !== \"claude-haiku-5-5\"\n ? {\n fallbacks: [{ model: value.fallback }],\n }\n : {}),\n ...(value.effort !== \"Default\"\n ? {\n output_config: {\n effort: value.effort === \"Extra high\" ? \"xhigh\" : value.effort.toLowerCase(),\n },\n }\n : {}),\n ...(stops.length ? { stop_sequences: stops } : {}),\n stream: Number(value.tokens) === 0 ? false : value.stream,\n };\n}\nexport function messageModelBetas(value: MessageModelSettings) {\n return [\n ...(value.thinking === \"adaptive\" && value.prefix === \"error\"\n ? [\"thinking-binding-controls-2026-08-01\"]\n : []),\n ...(value.speed === \"fast\" && value.model === \"claude-opus-5-5\"\n ? [\"fast-mode-2026-02-01\"]\n : []),\n ...(value.fallback && value.model !== \"claude-haiku-5-5\"\n ? [\"server-side-fallback-2026-07-01\"]\n : []),\n ];\n}\n\nexport function MessageModelPicker({\n value,\n onChange,\n fallback = false,\n}: {\n value: string;\n onChange: (value: string) => void;\n fallback?: boolean;\n}) {\n const [open, setOpen] = useState(false);\n const [query, setQuery] = useState(\"\");\n const [active, setActive] = useState(0);\n const id = useId();\n const options = (fallback ? fallbackModels : models).filter((item) =>\n `${item.id} ${item.description}`.toLowerCase().includes(query.trim().toLowerCase()),\n );\n const choose = (model: string) => {\n onChange(model);\n setOpen(false);\n };\n return (\n <Popover.Root\n open={open}\n onOpenChange={(next) => {\n setOpen(next);\n setQuery(\"\");\n setActive(\n Math.max(\n 0,\n (fallback ? fallbackModels : models).findIndex((item) => item.id === value),\n ),\n );\n }}\n >\n <Popover.Trigger asChild>\n <ConsoleButton\n className=\"csl-model-picker\"\n role=\"combobox\"\n aria-label={fallback ? \"Fallback model\" : \"Model\"}\n aria-expanded={open}\n aria-controls={`${id}-list`}\n >\n <span className={value ? \"\" : \"csl-muted\"}>{value || \"Search models\"}</span>\n <ChevronDown aria-hidden=\"true\" />\n </ConsoleButton>\n </Popover.Trigger>\n <Popover.Portal>\n <Popover.Content\n className=\"csl-popup csl-model-menu\"\n align=\"start\"\n sideOffset={6}\n collisionPadding={12}\n >\n <input\n className=\"csl-model-search\"\n role=\"combobox\"\n aria-label={fallback ? \"Search fallback models\" : \"Search models\"}\n placeholder=\"Search models\"\n value={query}\n aria-expanded=\"true\"\n aria-autocomplete=\"list\"\n aria-controls={`${id}-list`}\n aria-activedescendant={options[active] ? `${id}-${active}` : undefined}\n onChange={(event) => {\n setQuery(event.target.value);\n setActive(0);\n }}\n onKeyDown={(event) => {\n if ([\"ArrowDown\", \"ArrowUp\", \"Home\", \"End\"].includes(event.key)) {\n event.preventDefault();\n setActive((current) =>\n event.key === \"Home\"\n ? 0\n : event.key === \"End\"\n ? options.length - 1\n : (current + (event.key === \"ArrowDown\" ? 1 : -1) + options.length) %\n Math.max(1, options.length),\n );\n } else if (event.key === \"Enter\" && options[active]) {\n event.preventDefault();\n choose(options[active].id);\n }\n }}\n />\n <div\n role=\"listbox\"\n aria-label={fallback ? \"Fallback models\" : \"Models\"}\n id={`${id}-list`}\n >\n {options.map((item, index) => (\n <button\n type=\"button\"\n role=\"option\"\n aria-selected={item.id === value}\n id={`${id}-${index}`}\n key={item.id}\n tabIndex={-1}\n data-active={index === active}\n onPointerMove={() => setActive(index)}\n onClick={() => choose(item.id)}\n >\n <span>\n <strong>{item.id}</strong>\n <small>{item.description}</small>\n </span>\n {item.id === value && <Check aria-hidden=\"true\" />}\n </button>\n ))}\n {!options.length && (\n <p role=\"status\" className=\"csl-muted\">\n No models found.\n </p>\n )}\n </div>\n </Popover.Content>\n </Popover.Portal>\n </Popover.Root>\n );\n}\n\nfunction Help({ label, children }: { label: string; children: string }) {\n const [open, setOpen] = useState(false);\n return (\n <Tooltip.Root open={open} onOpenChange={setOpen}>\n <Tooltip.Trigger asChild>\n <button\n type=\"button\"\n className=\"csl-model-help\"\n aria-label={`More info about ${label}`}\n onClick={() => setOpen(!open)}\n >\n <Info aria-hidden=\"true\" />\n </button>\n </Tooltip.Trigger>\n <Tooltip.Portal>\n <Tooltip.Content\n className=\"csl-popup csl-model-tooltip\"\n sideOffset={6}\n collisionPadding={12}\n >\n {children}\n </Tooltip.Content>\n </Tooltip.Portal>\n </Tooltip.Root>\n );\n}\nfunction Segments({\n label,\n value,\n options,\n onChange,\n}: {\n label: string;\n value: string;\n options: string[];\n onChange: (value: string) => void;\n}) {\n return (\n <RadioGroup.Root\n className=\"csl-model-segments\"\n aria-label={label}\n value={value}\n onValueChange={onChange}\n orientation=\"horizontal\"\n >\n {options.map((option) => (\n <RadioGroup.Item key={option} value={option}>\n {option}\n </RadioGroup.Item>\n ))}\n </RadioGroup.Root>\n );\n}\nexport function MessageModelPanel({\n open,\n onOpenChange,\n value,\n onChange,\n}: {\n open: boolean;\n onOpenChange: (open: boolean) => void;\n value: MessageModelSettings;\n onChange: (value: MessageModelSettings) => void;\n}) {\n const title = useRef<HTMLHeadingElement>(null);\n const stopInputs = useRef(new Map<number, HTMLInputElement>());\n const nextStop = useRef(0);\n const pendingStop = useRef<number | null>(null);\n const [advanced, setAdvanced] = useState(false);\n const [editingTokens, setEditingTokens] = useState(false);\n const advancedId = useId();\n const tokenErrorId = useId();\n const valid = validMessageModelSettings(value);\n const update = (patch: Partial<MessageModelSettings>) => onChange({ ...value, ...patch });\n const selectModel = (model: string) =>\n update({ model, fallback: \"\", speed: \"standard\", thinking: \"adaptive\" });\n const removeStop = (id: number) => {\n const index = value.stops.findIndex((item) => item.id === id);\n const next = value.stops[index + 1] ?? value.stops[index - 1];\n update({ stops: value.stops.filter((item) => item.id !== id) });\n if (next) stopInputs.current.get(next.id)?.focus();\n };\n return (\n <Dialog.Root\n modal={false}\n open={open}\n onOpenChange={(next) => {\n if (!next) setEditingTokens(false);\n onOpenChange(next);\n }}\n >\n <Dialog.Trigger asChild>\n <ConsoleButton\n aria-label=\"Model settings\"\n aria-keyshortcuts=\"Meta+Shift+, Control+Shift+,\"\n title=\"Model settings (⌘⇧, / Ctrl+Shift+,)\"\n className=\"csl-model-settings-trigger\"\n >\n <SlidersHorizontal aria-hidden=\"true\" />\n </ConsoleButton>\n </Dialog.Trigger>\n <Dialog.Portal>\n <Dialog.Content\n className=\"csl-popup csl-model-panel\"\n aria-describedby={undefined}\n onOpenAutoFocus={(event) => {\n event.preventDefault();\n title.current?.focus();\n }}\n >\n <header className=\"csl-model-panel-heading\">\n <Dialog.Title ref={title} tabIndex={-1}>\n Model\n </Dialog.Title>\n <Dialog.Close asChild>\n <ConsoleButton\n className=\"csl-icon-button csl-text-button\"\n aria-label=\"Close settings\"\n >\n <X aria-hidden=\"true\" />\n </ConsoleButton>\n </Dialog.Close>\n </header>\n <Tooltip.Provider delayDuration={250}>\n <div className=\"csl-model-panel-body\">\n <section className=\"csl-model-section\">\n <MessageModelPicker value={value.model} onChange={selectModel} />\n {value.model !== \"claude-haiku-5-5\" && (\n <div className=\"csl-model-field\">\n <div className=\"csl-model-label\">\n Fallback model <ConsoleTag tone=\"amber\">Beta</ConsoleTag>\n <Help label=\"Fallback model\">\n If the primary model refuses, the API retries on this model and bills at its\n rate.\n </Help>\n </div>\n <div className=\"csl-model-fallback\">\n <MessageModelPicker\n fallback\n value={value.fallback}\n onChange={(fallback) => update({ fallback })}\n />\n {value.fallback && (\n <ConsoleButton\n className=\"csl-icon-button csl-text-button\"\n aria-label=\"Clear fallback model\"\n onClick={() => update({ fallback: \"\" })}\n >\n <X aria-hidden=\"true\" />\n </ConsoleButton>\n )}\n </div>\n </div>\n )}\n <div className=\"csl-model-field\">\n <div className=\"csl-model-label\">\n Thinking{\" \"}\n <Help label=\"Thinking\">\n Adaptive thinking lets the model decide when and how much to think.\n </Help>\n {value.thinking === \"adaptive\" && value.prefix === \"drop\" && (\n <ConsoleTag>Default</ConsoleTag>\n )}\n </div>\n <Segments\n label=\"Thinking\"\n value={value.thinking === \"adaptive\" ? \"Adaptive\" : \"Disabled\"}\n options={\n value.model === \"claude-haiku-5-5\" ? [\"Disabled\", \"Adaptive\"] : [\"Adaptive\"]\n }\n onChange={(thinking) =>\n update({ thinking: thinking === \"Adaptive\" ? \"adaptive\" : \"disabled\" })\n }\n />\n </div>\n {value.thinking === \"adaptive\" && (\n <div className=\"csl-model-field\">\n <div className=\"csl-model-label\">\n Prefix mismatch{\" \"}\n <Help label=\"Prefix mismatch\">\n Choose whether to drop an incompatible thinking block or return an error\n when its prompt prefix changes.\n </Help>\n </div>\n <Segments\n label=\"Prefix mismatch\"\n value={value.prefix === \"drop\" ? \"Drop block\" : \"Error\"}\n options={[\"Drop block\", \"Error\"]}\n onChange={(prefix) =>\n update({ prefix: prefix === \"Error\" ? \"error\" : \"drop\" })\n }\n />\n </div>\n )}\n {value.model === \"claude-opus-5-5\" && (\n <div className=\"csl-model-field\">\n <div className=\"csl-model-label\">\n Speed{\" \"}\n <Help label=\"Speed\">\n Fast mode generates tokens faster and uses different pricing.\n </Help>\n </div>\n <Segments\n label=\"Speed\"\n value={value.speed === \"fast\" ? \"Fast\" : \"Standard\"}\n options={[\"Standard\", \"Fast\"]}\n onChange={(speed) =>\n update({ speed: speed === \"Fast\" ? \"fast\" : \"standard\" })\n }\n />\n </div>\n )}\n <div className=\"csl-model-field\">\n <div className=\"csl-model-token-heading\">\n <div className=\"csl-model-label\">\n Max tokens{\" \"}\n <Help label=\"Max tokens\">\n The maximum number of tokens to generate. Set to 0 to populate the prompt\n cache without generating a response.\n </Help>\n </div>\n <input\n className=\"csl-input csl-model-token-value\"\n inputMode=\"numeric\"\n aria-label=\"Max tokens value\"\n aria-invalid={!valid}\n aria-describedby={!valid ? tokenErrorId : undefined}\n value={\n editingTokens || !valid\n ? value.tokens\n : Number(value.tokens).toLocaleString(\"en-US\")\n }\n onBlur={() => setEditingTokens(false)}\n onChange={(event) => {\n setEditingTokens(true);\n update({ tokens: event.target.value.replaceAll(\",\", \"\") });\n }}\n />\n </div>\n <input\n type=\"range\"\n aria-label=\"Max tokens\"\n min={0}\n max={128000}\n step={1}\n className=\"csl-model-token-slider\"\n value={valid ? Number(value.tokens) : 0}\n onChange={(event) => update({ tokens: event.target.value })}\n style={{\n background: `linear-gradient(to right,var(--csl-slider-fill) ${valid ? Number(value.tokens) / 1280 : 0}%,var(--csl-button) 0%)`,\n }}\n />\n {!valid && (\n <p role=\"alert\" id={tokenErrorId} className=\"csl-form-error\">\n Use 0–128,000 whole tokens.\n </p>\n )}\n </div>\n </section>\n <section className=\"csl-model-section\">\n <h3>Output config</h3>\n <div className=\"csl-model-row\">\n <div className=\"csl-model-label\">\n Effort{\" \"}\n <Help label=\"effort\">\n Higher effort can produce more thorough responses but takes longer.\n </Help>\n </div>\n <ConsoleSelect\n label=\"Effort\"\n value={value.effort}\n onChange={(effort) => update({ effort })}\n options={[\"Default\", \"Low\", \"Medium\", \"High\", \"Extra high\", \"Max\"]}\n />\n </div>\n </section>\n <section className=\"csl-model-section csl-model-advanced\">\n <button\n className=\"csl-model-disclosure\"\n type=\"button\"\n aria-expanded={advanced}\n aria-controls={advancedId}\n onClick={() => setAdvanced(!advanced)}\n >\n <ChevronDown aria-hidden=\"true\" />\n Advanced\n </button>\n <div hidden={!advanced} id={advancedId} className=\"csl-model-advanced-body\">\n <div className=\"csl-model-row\">\n <span>Stop sequences</span>\n <ConsoleButton\n className=\"csl-text-button\"\n onClick={() => {\n const id = nextStop.current++;\n pendingStop.current = id;\n update({ stops: [...value.stops, { id, value: \"\" }] });\n }}\n >\n <Plus aria-hidden=\"true\" />\n Add\n </ConsoleButton>\n </div>\n {value.stops.map((item, index) => (\n <div className=\"csl-model-stop\" key={item.id}>\n <input\n ref={(element) => {\n if (element) {\n stopInputs.current.set(item.id, element);\n if (pendingStop.current === item.id) {\n pendingStop.current = null;\n element.focus();\n }\n } else stopInputs.current.delete(item.id);\n }}\n className=\"csl-input\"\n aria-label={`Stop sequence ${index + 1}`}\n value={item.value}\n onChange={(event) =>\n update({\n stops: value.stops.map((stop) =>\n stop.id === item.id ? { ...stop, value: event.target.value } : stop,\n ),\n })\n }\n />\n <ConsoleButton\n className=\"csl-icon-button csl-text-button\"\n aria-label={`Remove stop sequence ${index + 1}`}\n onClick={() => removeStop(item.id)}\n >\n <X aria-hidden=\"true\" />\n </ConsoleButton>\n </div>\n ))}\n <p className=\"csl-muted\">\n Generation ends when any of these strings is emitted. Use {\"\\\\n\"} for newlines.\n </p>\n <div className=\"csl-model-row\">\n <div className=\"csl-model-label\">\n Streaming{\" \"}\n <Help label=\"Streaming\">\n Receive the response incrementally as it is generated. Unavailable when max\n tokens is 0.\n </Help>\n </div>\n <Switch.Root\n className=\"csl-model-switch\"\n aria-label=\"Streaming\"\n checked={Number(value.tokens) !== 0 && value.stream}\n disabled={Number(value.tokens) === 0}\n onCheckedChange={(stream) => update({ stream })}\n >\n <Switch.Thumb />\n </Switch.Root>\n </div>\n </div>\n </section>\n <footer className=\"csl-model-section csl-model-reference\">\n <a\n className=\"csl-link\"\n href=\"https://platform.claude.com/docs/en/api/messages/create\"\n target=\"_blank\"\n rel=\"noreferrer\"\n >\n View API reference <ExternalLink aria-hidden=\"true\" />\n </a>\n </footer>\n </div>\n </Tooltip.Provider>\n </Dialog.Content>\n </Dialog.Portal>\n </Dialog.Root>\n );\n}\n",
206
+ "type": "registry:ui"
207
+ },
208
+ {
209
+ "path": "components/uibot/console/resources.tsx",
210
+ "target": "components/uibot/console/resources.tsx",
211
+ "content": "import {\n Children,\n cloneElement,\n isValidElement,\n useEffect,\n useId,\n useRef,\n useState,\n type FormEvent,\n type ReactElement,\n type ReactNode,\n} from \"react\";\nimport {\n ArrowUpRight,\n BookOpen,\n ChevronLeft,\n ChevronRight,\n Copy,\n FileStack,\n FileText,\n Plus,\n RadioTower,\n Search,\n Smartphone,\n Upload,\n Check,\n X,\n} from \"lucide-react\";\nimport { ConsoleCode } from \"./code\";\nimport {\n ConsoleButton,\n ConsoleCard,\n ConsoleEmpty,\n ConsoleHeader,\n ConsoleModal,\n ConsoleTabs,\n type ConsoleActions,\n} from \"./ui\";\n\nexport type ResourcesPageView = \"files\" | \"skills\" | \"webhooks\" | \"app-integrations\";\n\nexport function ResourcesPages({\n view,\n onUploadFile,\n ...actions\n}: ConsoleActions & {\n view: ResourcesPageView;\n onUploadFile?: (file: File) => void;\n}) {\n switch (view) {\n case \"files\":\n return <FilesPage onUploadFile={onUploadFile} />;\n case \"skills\":\n return <SkillsPage onAction={actions.onAction} />;\n case \"webhooks\":\n return <WebhooksPage onAction={actions.onAction} />;\n case \"app-integrations\":\n return <AppIntegrationsPage onAction={actions.onAction} />;\n }\n}\n\nfunction ResourceHeader({\n title,\n description,\n children,\n}: {\n title: ReactNode;\n description: string;\n children?: ReactNode;\n}) {\n return (\n <ConsoleHeader title={title} description={description}>\n {children}\n </ConsoleHeader>\n );\n}\n\nfunction FilesPage({ onUploadFile }: { onUploadFile: ((file: File) => void) | undefined }) {\n const fileInput = useRef<HTMLInputElement>(null);\n const [file, setFile] = useState<File | null>(null);\n const [uploadRequested, setUploadRequested] = useState(false);\n const [query, setQuery] = useState(\"\");\n const chooseFile = () => {\n if (!fileInput.current) return;\n fileInput.current.value = \"\";\n fileInput.current.click();\n };\n const upload = () => {\n if (!file || !onUploadFile) return;\n onUploadFile(file);\n setUploadRequested(true);\n };\n return (\n <div className=\"csl-page csl-files-page\">\n <ResourceHeader\n title=\"Files\"\n description=\"Upload and manage files to use with the Claude API.\"\n >\n <ConsoleButton primary onClick={chooseFile}>\n <Upload />\n Upload file\n </ConsoleButton>\n </ResourceHeader>\n <input\n ref={fileInput}\n className=\"csl-visually-hidden-file\"\n type=\"file\"\n aria-label=\"Choose a file to upload\"\n onChange={(event) => {\n setFile(event.target.files?.[0] ?? null);\n setUploadRequested(false);\n }}\n />\n <SearchBoxWithState\n label=\"Find file by ID\"\n placeholder=\"Find file by ID\"\n value={query}\n onChange={setQuery}\n />\n <ConsoleCard className=\"csl-list-empty csl-files-empty\">\n {file ? (\n <div className=\"csl-selected-file\">\n <FileText aria-hidden=\"true\" />\n <h2>{file.name}</h2>\n <p className=\"csl-muted\">Selected locally · not uploaded</p>\n <div className=\"csl-selected-file-actions\">\n <ConsoleButton onClick={chooseFile}>Choose another file</ConsoleButton>\n <ConsoleButton primary disabled={!onUploadFile} onClick={upload}>\n Upload file\n </ConsoleButton>\n </div>\n {!onUploadFile && (\n <p className=\"csl-muted\">Connect a file upload host to enable upload.</p>\n )}\n {uploadRequested && (\n <p role=\"status\" className=\"csl-muted\">\n Upload handed to the host; completion is not confirmed here.\n </p>\n )}\n </div>\n ) : (\n <ConsoleEmpty\n icon={FileStack}\n title={query ? \"No files found\" : \"No files yet\"}\n description={query ? \"Try another file ID.\" : \"Upload one here or through the API.\"}\n >\n <ConsoleButton onClick={chooseFile}>\n <Upload />\n Upload file\n </ConsoleButton>\n </ConsoleEmpty>\n )}\n </ConsoleCard>\n </div>\n );\n}\n\nconst skillRows = [\n { id: \"xlsx\", source: \"Anthropic\", updated: \"Oct 28\" },\n { id: \"pptx\", source: \"Anthropic\", updated: \"Oct 24\" },\n { id: \"pdf\", source: \"Anthropic\", updated: \"Jul 11\" },\n { id: \"docx\", source: \"Anthropic\", updated: \"Sep 30\" },\n] as const;\n\nconst xlsxDescription =\n \"Use this skill any time a spreadsheet file is the primary input or output. This includes opening, reading, editing, or fixing spreadsheet files; creating a spreadsheet from scratch or other data sources; and cleaning or restructuring messy tabular data.\";\n\nfunction SkillsPage({ onAction }: { onAction: ConsoleActions[\"onAction\"] }) {\n const [query, setQuery] = useState(\"\");\n const [selectedSkill, setSelectedSkill] = useState<string | null>(null);\n const filtered = skillRows.filter((skill) => skill.id.includes(query.trim().toLowerCase()));\n const selectedIndex = skillRows.findIndex((skill) => skill.id === selectedSkill);\n const selectSkill = (offset: number) => {\n if (selectedIndex < 0) return;\n const nextIndex = (selectedIndex + offset + skillRows.length) % skillRows.length;\n setSelectedSkill(skillRows[nextIndex]?.id ?? null);\n };\n return (\n <div className=\"csl-page csl-skills-page\">\n <ResourceHeader\n title=\"Skills\"\n description=\"Skills are repeatable and customizable instructions that Claude API can follow.\"\n >\n <ConsoleButton primary disabled={!onAction} onClick={() => onAction?.(\"create-skill\")}>\n <Plus aria-hidden=\"true\" />\n Create skill\n </ConsoleButton>\n </ResourceHeader>\n <SearchBoxWithState\n label=\"Find skill by ID\"\n placeholder=\"Find skill by ID\"\n value={query}\n onChange={setQuery}\n />\n <div className=\"csl-table-wrap\">\n <table className=\"csl-table csl-skills-table\">\n <thead>\n <tr>\n <th aria-label=\"Select all skills\">\n <input type=\"checkbox\" disabled />\n </th>\n <th>ID</th>\n <th>Name</th>\n <th>Source</th>\n <th>Latest version ID</th>\n <th>Updated</th>\n <th aria-label=\"Actions\" />\n </tr>\n </thead>\n <tbody>\n {filtered.map((skill) => (\n <tr key={skill.id} onClick={() => setSelectedSkill(skill.id)}>\n <td>\n <input\n type=\"checkbox\"\n aria-label={`Select ${skill.id}`}\n onClick={(event) => event.stopPropagation()}\n />\n </td>\n <td>\n <button\n className=\"csl-table-text-button\"\n type=\"button\"\n onClick={(event) => {\n event.stopPropagation();\n setSelectedSkill(skill.id);\n }}\n >\n {skill.id}\n </button>\n </td>\n <td>\n <button\n className=\"csl-table-text-button\"\n type=\"button\"\n onClick={(event) => {\n event.stopPropagation();\n setSelectedSkill(skill.id);\n }}\n >\n {skill.id}\n </button>\n </td>\n <td>\n <span className=\"csl-source-badge\">{skill.source}</span>\n </td>\n <td>\n <code>{`skver_demo_${skill.id}_1`}</code>\n </td>\n <td>{skill.updated}</td>\n <td>\n <ConsoleButton\n aria-label={`Open ${skill.id}`}\n onClick={(event) => {\n event.stopPropagation();\n setSelectedSkill(skill.id);\n }}\n >\n Details\n </ConsoleButton>\n </td>\n </tr>\n ))}\n {filtered.length === 0 && (\n <tr>\n <td colSpan={7} className=\"csl-muted csl-table-empty\">\n No skills found.\n </td>\n </tr>\n )}\n </tbody>\n </table>\n </div>\n <ConsoleModal\n open={selectedSkill !== null}\n onOpenChange={(open) => {\n if (!open) setSelectedSkill(null);\n }}\n title={selectedSkill ?? \"Skill\"}\n drawer\n >\n {selectedSkill && (\n <SkillDetails\n skillId={selectedSkill}\n source={skillRows.find((skill) => skill.id === selectedSkill)?.source ?? \"Anthropic\"}\n updated={skillRows.find((skill) => skill.id === selectedSkill)?.updated ?? \"\"}\n onPrevious={() => selectSkill(-1)}\n onNext={() => selectSkill(1)}\n />\n )}\n </ConsoleModal>\n </div>\n );\n}\n\nfunction SkillDetails({\n skillId,\n source,\n updated,\n onPrevious,\n onNext,\n}: {\n skillId: string;\n source: string;\n updated: string;\n onPrevious: () => void;\n onNext: () => void;\n}) {\n const [mode, setMode] = useState(\"Rendered\");\n const [copyStatus, setCopyStatus] = useState(\"\");\n const [copyError, setCopyError] = useState(\"\");\n const copyRequest = useRef<{ skillId: string; mode: string } | null>(null);\n useEffect(() => {\n copyRequest.current = { skillId, mode };\n setCopyStatus(\"\");\n setCopyError(\"\");\n return () => {\n copyRequest.current = null;\n };\n }, [skillId, mode]);\n const isKnown = skillId === \"xlsx\";\n const apiExample = JSON.stringify(\n {\n id: skillId,\n display_name: skillId,\n source: { type: source.toLowerCase() },\n latest_version_id: `skver_demo_${skillId}_1`,\n },\n null,\n 2,\n );\n const copyValue = async (value: string) => {\n const request = { skillId, mode };\n copyRequest.current = request;\n try {\n await navigator.clipboard.writeText(value);\n if (request !== copyRequest.current) return;\n setCopyStatus(\"Copied\");\n setCopyError(\"\");\n } catch {\n if (request !== copyRequest.current) return;\n setCopyStatus(\"\");\n setCopyError(\"Clipboard access is unavailable.\");\n }\n };\n const copyFeedback = copyStatus ? (\n <p role=\"status\" className=\"csl-muted\">\n {copyStatus}\n </p>\n ) : copyError ? (\n <p role=\"alert\" className=\"csl-form-error\">\n {copyError}\n </p>\n ) : null;\n return (\n <div className=\"csl-skill-detail\">\n <div className=\"csl-skill-detail-toolbar\">\n <span>\n <BookOpen aria-hidden=\"true\" />\n Skill <code>{skillId}</code>\n </span>\n <div>\n <ConsoleButton aria-label=\"Previous skill\" onClick={onPrevious}>\n <ChevronLeft />\n </ConsoleButton>\n <ConsoleButton aria-label=\"Next skill\" onClick={onNext}>\n <ChevronRight />\n </ConsoleButton>\n </div>\n </div>\n <div className=\"csl-skill-detail-title\">\n <h2>\n <BookOpen aria-hidden=\"true\" />\n {skillId}\n </h2>\n <ConsoleButton disabled>Update</ConsoleButton>\n </div>\n {mode === \"Rendered\" ? (\n <>\n <div className=\"csl-skill-metadata\">\n <MetadataRow\n label=\"ID\"\n value={skillId}\n action={\n <ConsoleButton onClick={() => copyValue(skillId)}>\n {copyStatus ? <Check aria-hidden=\"true\" /> : <Copy aria-hidden=\"true\" />}\n Copy {skillId}\n </ConsoleButton>\n }\n />\n {copyFeedback}\n <MetadataRow\n label=\"Created\"\n value={skillId === \"xlsx\" ? \"Oct 14, 2025, 4:41 PM\" : \"—\"}\n />\n <MetadataRow label=\"Updated\" value={updated || \"—\"} />\n <MetadataRow label=\"Source\" value={source} />\n </div>\n <section className=\"csl-skill-description\">\n <h3>Description</h3>\n <p>\n {isKnown\n ? xlsxDescription\n : \"Connect the skill provider to load its full instructions.\"}\n </p>\n </section>\n <section className=\"csl-skill-versions\">\n <h3>Versions</h3>\n {(skillId === \"xlsx\"\n ? [\"2 days ago\", \"Sep 15\", \"Aug 29\", \"Aug 28\", \"Aug 4\", \"Jul 31\", \"Jul 22\"]\n : [updated || \"Latest\"]\n ).map((date, index) => (\n <div className=\"csl-skill-version\" key={`${skillId}-${date}`}>\n <code>{`skver_demo_${skillId}_${index + 1}`}</code>\n <span>{date}</span>\n {index === 0 && <span className=\"csl-latest-badge\">Latest</span>}\n </div>\n ))}\n </section>\n </>\n ) : (\n <section className=\"csl-skill-api\">\n <div className=\"csl-skill-api-request\">\n <span className=\"csl-tag\">GET</span>\n <code>{`/v1/skills/${skillId}`}</code>\n <a\n href=\"https://platform.claude.com/docs/en/api/beta/skills/retrieve\"\n target=\"_blank\"\n rel=\"noreferrer\"\n >\n Docs <ArrowUpRight aria-hidden=\"true\" />\n </a>\n </div>\n <p className=\"csl-muted\">Example metadata</p>\n <ConsoleButton aria-label=\"Copy example JSON\" onClick={() => copyValue(apiExample)}>\n {copyStatus ? <Check aria-hidden=\"true\" /> : <Copy aria-hidden=\"true\" />}\n </ConsoleButton>\n <ConsoleCode code={apiExample} language=\"json\" className=\"csl-raw-json\" />\n {copyFeedback}\n </section>\n )}\n <div className=\"csl-skill-view-switch\">\n <ConsoleTabs\n label=\"Skill representation\"\n value={mode}\n onChange={setMode}\n options={[\"Rendered\", \"API\"]}\n segmented\n />\n </div>\n </div>\n );\n}\n\nfunction MetadataRow({\n label,\n value,\n action,\n}: {\n label: string;\n value: string;\n action?: ReactNode;\n}) {\n return (\n <div className=\"csl-metadata-row\">\n <span className=\"csl-muted\">{label}</span>\n <span>{value}</span>\n {action}\n </div>\n );\n}\n\nfunction SearchBoxWithState({\n label,\n placeholder,\n value,\n onChange,\n}: {\n label: string;\n placeholder: string;\n value: string;\n onChange: (value: string) => void;\n}) {\n return (\n <label className=\"csl-search-input\">\n <Search aria-hidden=\"true\" />\n <span className=\"sr-only\">{label}</span>\n <input\n aria-label={label}\n value={value}\n onChange={(event) => onChange(event.target.value)}\n placeholder={placeholder}\n />\n </label>\n );\n}\n\nconst webhookGroups = [\n {\n label: \"Session lifecycle\",\n events: [\n [\"Run started\", \"session.status_run_started\"],\n [\"Rescheduled\", \"session.status_rescheduled\"],\n [\"Idled\", \"session.status_idled\"],\n [\"Terminated\", \"session.status_terminated\"],\n ],\n },\n {\n label: \"Threads\",\n events: [\n [\"Created\", \"session.thread_created\"],\n [\"Idled\", \"session.thread_idled\"],\n [\"Terminated\", \"session.thread_terminated\"],\n ],\n },\n { label: \"Outcomes\", events: [[\"Evaluation ended\", \"session.outcome_evaluation_ended\"]] },\n { label: \"Budgets\", events: [[\"Budget reached\", \"session.budget_reached\"]] },\n {\n label: \"Session record\",\n events: [\n [\"Updated\", \"session.updated\"],\n [\"Deleted\", \"session.deleted\"],\n ],\n },\n {\n label: \"Vault lifecycle\",\n events: [\n [\"Created\", \"vault.created\"],\n [\"Archived\", \"vault.archived\"],\n [\"Deleted\", \"vault.deleted\"],\n ],\n },\n {\n label: \"Credential lifecycle\",\n events: [\n [\"Created\", \"vault_credential.created\"],\n [\"Archived\", \"vault_credential.archived\"],\n [\"Deleted\", \"vault_credential.deleted\"],\n [\"Refresh failed\", \"vault_credential.refresh_failed\"],\n ],\n },\n {\n label: \"Agent lifecycle\",\n events: [\n [\"Created\", \"agent.created\"],\n [\"Updated\", \"agent.updated\"],\n [\"Archived\", \"agent.archived\"],\n [\"Deleted\", \"agent.deleted\"],\n ],\n },\n {\n label: \"Deployment lifecycle\",\n events: [\n [\"Created\", \"deployment.created\"],\n [\"Updated\", \"deployment.updated\"],\n [\"Paused\", \"deployment.paused\"],\n [\"Unpaused\", \"deployment.unpaused\"],\n [\"Archived\", \"deployment.archived\"],\n [\"Deleted\", \"deployment.deleted\"],\n ],\n },\n {\n label: \"Deployment runs\",\n events: [\n [\"Started\", \"deployment_run.started\"],\n [\"Succeeded\", \"deployment_run.succeeded\"],\n [\"Failed\", \"deployment_run.failed\"],\n ],\n },\n {\n label: \"Environment lifecycle\",\n events: [\n [\"Created\", \"environment.created\"],\n [\"Updated\", \"environment.updated\"],\n [\"Archived\", \"environment.archived\"],\n [\"Deleted\", \"environment.deleted\"],\n ],\n },\n {\n label: \"Memory store lifecycle\",\n events: [\n [\"Created\", \"memory_store.created\"],\n [\"Archived\", \"memory_store.archived\"],\n [\"Deleted\", \"memory_store.deleted\"],\n ],\n },\n] as const;\n\nconst visibleWebhookEvents = webhookGroups.flatMap((group) => group.events.map(([, id]) => id));\n\nfunction EventGroupCheckbox({\n selected,\n total,\n onChange,\n}: {\n selected: number;\n total: number;\n onChange: (checked: boolean) => void;\n}) {\n return (\n <input\n type=\"checkbox\"\n checked={selected === total}\n ref={(element) => {\n if (element) element.indeterminate = selected > 0 && selected < total;\n }}\n onChange={(event) => onChange(event.target.checked)}\n />\n );\n}\n\nfunction WebhooksPage({ onAction }: { onAction: ConsoleActions[\"onAction\"] }) {\n const [query, setQuery] = useState(\"\");\n const [createOpen, setCreateOpen] = useState(false);\n const [endpointUrl, setEndpointUrl] = useState(\"\");\n const [name, setName] = useState(\"\");\n const [description, setDescription] = useState(\"\");\n const [selectedEvents, setSelectedEvents] = useState<string[]>([]);\n const [requested, setRequested] = useState(false);\n const [copiedEvent, setCopiedEvent] = useState(\"\");\n const [copyError, setCopyError] = useState(\"\");\n const eventId = useId();\n const [error, setError] = useState(\"\");\n const selectAllVisible = (checked: boolean) =>\n setSelectedEvents(checked ? [...visibleWebhookEvents] : []);\n const toggleGroup = (events: readonly (readonly [string, string])[], checked: boolean) => {\n const ids = events.map(([, id]) => id);\n setSelectedEvents((current) =>\n checked ? [...new Set([...current, ...ids])] : current.filter((id) => !ids.includes(id)),\n );\n };\n const toggleEvent = (id: string, checked: boolean) =>\n setSelectedEvents((current) =>\n checked ? [...new Set([...current, id])] : current.filter((eventId) => eventId !== id),\n );\n const submit = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n if (!onAction || requested) return;\n if (!endpointUrl.trim() || selectedEvents.length === 0) {\n setError(\"Enter an endpoint URL and select at least one event.\");\n return;\n }\n setError(\"\");\n onAction?.(\"create-webhook-endpoint\", {\n endpointUrl: endpointUrl.trim(),\n name: name.trim(),\n description,\n events: selectedEvents.join(\",\"),\n });\n setRequested(true);\n };\n return (\n <div className=\"csl-page csl-webhooks-page\">\n <ResourceHeader\n title=\"Webhooks\"\n description=\"Webhook endpoints receive event notifications when things happen in your workspace.\"\n >\n <ConsoleButton primary onClick={() => setCreateOpen(true)}>\n <Plus aria-hidden=\"true\" />\n Add webhook endpoint\n </ConsoleButton>\n </ResourceHeader>\n <SearchBoxWithState\n label=\"Find webhook by ID\"\n placeholder=\"Find webhook by ID\"\n value={query}\n onChange={setQuery}\n />\n <ConsoleCard className=\"csl-list-empty csl-webhook-empty\">\n <ConsoleEmpty\n icon={RadioTower}\n title={query ? \"No webhooks found\" : \"No webhook endpoints yet\"}\n description={\n query ? \"Try another webhook ID.\" : \"Create one to start receiving event notifications.\"\n }\n >\n {!query && (\n <ConsoleButton onClick={() => setCreateOpen(true)}>\n <Plus aria-hidden=\"true\" />\n Add webhook endpoint\n </ConsoleButton>\n )}\n </ConsoleEmpty>\n </ConsoleCard>\n <ConsoleModal open={createOpen} onOpenChange={setCreateOpen} title=\"Create webhook endpoint\">\n <form\n className=\"csl-form csl-webhook-form\"\n onSubmit={submit}\n onChange={() => setRequested(false)}\n >\n <FormField label=\"Endpoint URL\" required>\n <input\n required\n type=\"url\"\n value={endpointUrl}\n onChange={(event) => setEndpointUrl(event.target.value)}\n placeholder=\"https://example.com/webhooks\"\n />\n </FormField>\n <FormField label=\"Name\" optional>\n <input\n value={name}\n onChange={(event) => setName(event.target.value)}\n placeholder=\"My webhook endpoint\"\n />\n </FormField>\n <FormField label=\"Description\" optional>\n <textarea\n value={description}\n onChange={(event) => setDescription(event.target.value)}\n placeholder=\"Receives session lifecycle events\"\n />\n </FormField>\n <section className=\"csl-event-picker\">\n <header className=\"csl-event-picker-heading\">\n <h3>Events to subscribe</h3>\n <label>\n <EventGroupCheckbox\n selected={selectedEvents.length}\n total={visibleWebhookEvents.length}\n onChange={selectAllVisible}\n />\n Select all\n </label>\n <span className=\"csl-muted\">\n {selectedEvents.length} of {visibleWebhookEvents.length}\n </span>\n </header>\n <div className=\"csl-event-groups\">\n {webhookGroups.map((group) => {\n const groupIds = group.events.map(([, id]) => id);\n const groupSelected = groupIds.filter((id) => selectedEvents.includes(id)).length;\n return (\n <fieldset className=\"csl-event-group\" key={group.label}>\n <legend>\n <label>\n <EventGroupCheckbox\n selected={groupSelected}\n total={groupIds.length}\n onChange={(checked) => toggleGroup(group.events, checked)}\n />\n {group.label}\n <span className=\"csl-muted\">\n {groupSelected} of {group.events.length}\n </span>\n </label>\n </legend>\n {group.events.map(([label, id]) => (\n <div className=\"csl-event-row\" key={id}>\n <input\n id={`${eventId}-${id}`}\n type=\"checkbox\"\n checked={selectedEvents.includes(id)}\n onChange={(event) => toggleEvent(id, event.target.checked)}\n />\n <label htmlFor={`${eventId}-${id}`}>\n <span>{label}</span>\n <code>{id}</code>\n </label>\n <ConsoleButton\n className=\"csl-event-copy\"\n aria-label={`Copy ${id}`}\n onClick={async () => {\n try {\n await navigator.clipboard.writeText(id);\n setCopiedEvent(id);\n setCopyError(\"\");\n } catch {\n setCopiedEvent(\"\");\n setCopyError(\"Clipboard access is unavailable.\");\n }\n }}\n >\n {copiedEvent === id ? (\n <Check aria-hidden=\"true\" />\n ) : (\n <Copy aria-hidden=\"true\" />\n )}\n </ConsoleButton>\n </div>\n ))}\n </fieldset>\n );\n })}\n </div>\n {copiedEvent && (\n <p role=\"status\" className=\"csl-muted csl-event-feedback\">\n Copied {copiedEvent}\n </p>\n )}\n {copyError && (\n <p role=\"alert\" className=\"csl-form-error csl-event-feedback\">\n {copyError}\n </p>\n )}\n </section>\n {error && (\n <p role=\"alert\" className=\"csl-form-error\">\n {error}\n </p>\n )}\n {!onAction && (\n <p className=\"csl-host-note\">Connect a host action to enable endpoint creation.</p>\n )}\n {requested && (\n <p role=\"status\" className=\"csl-host-note\">\n Request sent. Waiting for host confirmation.\n </p>\n )}\n <div className=\"csl-form-footer csl-form-footer-plain\">\n <ConsoleButton\n primary\n type=\"submit\"\n disabled={\n !onAction || !endpointUrl.trim() || selectedEvents.length === 0 || requested\n }\n >\n Create webhook endpoint\n </ConsoleButton>\n </div>\n </form>\n </ConsoleModal>\n </div>\n );\n}\n\nfunction AppIntegrationsPage({ onAction }: { onAction: ConsoleActions[\"onAction\"] }) {\n const [query, setQuery] = useState(\"\");\n const [createOpen, setCreateOpen] = useState(false);\n const [name, setName] = useState(\"\");\n const [teamId, setTeamId] = useState(\"\");\n const [bundleIds, setBundleIds] = useState([{ id: 0, value: \"\" }]);\n const nextBundleId = useRef(1);\n const bundleInputs = useRef(new Map<number, HTMLInputElement>());\n const pendingBundleFocus = useRef<number | null>(null);\n const bundleHintId = useId();\n const [requested, setRequested] = useState(false);\n const [error, setError] = useState(\"\");\n const addBundleId = () => {\n const id = nextBundleId.current++;\n pendingBundleFocus.current = id;\n setBundleIds((current) => [...current, { id, value: \"\" }]);\n };\n const removeBundleId = (id: number) => {\n if (bundleIds.length < 2) return;\n const index = bundleIds.findIndex((item) => item.id === id);\n const next = bundleIds[index + 1] ?? bundleIds[index - 1];\n setBundleIds((current) => current.filter((item) => item.id !== id));\n setRequested(false);\n if (next) bundleInputs.current.get(next.id)?.focus();\n };\n const changeBundleId = (index: number, value: string) =>\n setBundleIds((current) =>\n current.map((item, itemIndex) => (itemIndex === index ? { ...item, value } : item)),\n );\n const submit = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n if (!onAction || requested) return;\n if (\n !name.trim() ||\n teamId.trim().length !== 10 ||\n bundleIds.some((item) => !item.value.trim())\n ) {\n setError(\"Enter an integration name, a 10-character Team ID, and every Bundle ID.\");\n return;\n }\n setError(\"\");\n onAction?.(\"create-app-integration\", {\n name: name.trim(),\n teamId: teamId.trim(),\n bundleIds: bundleIds.map((item) => item.value.trim()).join(\",\"),\n });\n setRequested(true);\n };\n return (\n <div className=\"csl-page csl-app-integrations-page\">\n <ResourceHeader\n title={\n <>\n App integrations <span className=\"csl-heading-count\">0</span>\n </>\n }\n description=\"Register your iOS or macOS apps so genuine installs can authenticate with App Attest, Apple’s hardware attestation, and call the API billed to your organization.\"\n >\n <ConsoleButton primary onClick={() => setCreateOpen(true)}>\n <Plus aria-hidden=\"true\" />\n Create app integration\n </ConsoleButton>\n <a\n className=\"csl-button\"\n aria-label=\"View documentation\"\n title=\"View documentation\"\n href=\"https://platform.claude.com/docs/en/cli-sdks-libraries/libraries/apple-foundation-models#app-attest-production\"\n target=\"_blank\"\n rel=\"noreferrer\"\n >\n <BookOpen aria-hidden=\"true\" />\n </a>\n </ResourceHeader>\n <SearchBoxWithState\n label=\"Search app integrations\"\n placeholder=\"Search by name, Client ID, or Bundle ID\"\n value={query}\n onChange={setQuery}\n />\n <ConsoleCard className=\"csl-list-empty csl-app-integrations-empty\">\n <ConsoleEmpty\n icon={Smartphone}\n title={query ? \"No app integrations found\" : \"Add your first app\"}\n description={\n query\n ? \"Try another app name, Client ID, or Bundle ID.\"\n : \"Register your first iOS or macOS app to authenticate genuine installs and call the API billed to your organization.\"\n }\n >\n {!query && (\n <ConsoleButton onClick={() => setCreateOpen(true)}>\n <Plus aria-hidden=\"true\" />\n Create app integration\n </ConsoleButton>\n )}\n </ConsoleEmpty>\n </ConsoleCard>\n <ConsoleModal\n open={createOpen}\n onOpenChange={setCreateOpen}\n title=\"Create app integration\"\n size=\"wide\"\n description=\"Your Team ID and Bundle IDs are baked into every App Attest assertion and verified server-side, so they must match your Xcode project exactly.\"\n >\n <form\n className=\"csl-form csl-app-integration-form\"\n onSubmit={submit}\n onChange={() => setRequested(false)}\n >\n <FormField label=\"Integration name\" required>\n <input\n required\n value={name}\n onChange={(event) => setName(event.target.value)}\n placeholder=\"e.g. Trailmap\"\n />\n </FormField>\n <section className=\"csl-form-section csl-apple-identifiers\">\n <div className=\"csl-form-section-heading\">\n <h3>Apple identifiers</h3>\n <p className=\"csl-muted\">\n In your Apple Developer account, under Certificates, Identifiers &amp; Profiles.\n </p>\n </div>\n <FormField label=\"Team ID\" required>\n <input\n required\n minLength={10}\n maxLength={10}\n value={teamId}\n onChange={(event) => setTeamId(event.target.value)}\n placeholder=\"ABCDE12345\"\n />\n <p className=\"csl-muted\">\n Your 10-character Apple Developer Team ID. Found under Membership in your developer\n account.\n </p>\n </FormField>\n <div className=\"csl-bundle-id-fields\">\n <fieldset className=\"csl-field csl-bundle-id-group\">\n <legend>Bundle IDs</legend>\n <p id={bundleHintId} className=\"csl-muted\">\n The Bundle IDs for each build of your app: production, staging, and development.\n </p>\n {bundleIds.map((bundleId, index) => (\n <div className=\"csl-bundle-id-row\" key={bundleId.id}>\n <input\n ref={(element) => {\n if (element) {\n bundleInputs.current.set(bundleId.id, element);\n if (pendingBundleFocus.current === bundleId.id) {\n pendingBundleFocus.current = null;\n element.focus();\n }\n } else bundleInputs.current.delete(bundleId.id);\n }}\n required\n aria-label={`Bundle ID ${index + 1}`}\n aria-describedby={bundleHintId}\n value={bundleId.value}\n onChange={(event) => changeBundleId(index, event.target.value)}\n placeholder=\"com.yourcompany.app\"\n />\n {bundleIds.length > 1 && (\n <ConsoleButton\n aria-label={`Remove Bundle ID ${index + 1}`}\n onClick={() => removeBundleId(bundleId.id)}\n >\n <X aria-hidden=\"true\" />\n </ConsoleButton>\n )}\n </div>\n ))}\n </fieldset>\n <ConsoleButton onClick={addBundleId}>\n <Plus aria-hidden=\"true\" />\n Add Bundle ID\n </ConsoleButton>\n </div>\n </section>\n {error && (\n <p role=\"alert\" className=\"csl-form-error\">\n {error}\n </p>\n )}\n {!onAction && (\n <p className=\"csl-host-note\">\n Connect a host action to enable app integration creation.\n </p>\n )}\n {requested && (\n <p role=\"status\" className=\"csl-host-note\">\n Request sent. Waiting for host confirmation.\n </p>\n )}\n <div className=\"csl-form-footer\">\n <ConsoleButton onClick={() => setCreateOpen(false)}>Cancel</ConsoleButton>\n <ConsoleButton\n primary\n type=\"submit\"\n disabled={\n !onAction ||\n !name.trim() ||\n teamId.trim().length !== 10 ||\n bundleIds.some((item) => !item.value.trim()) ||\n requested\n }\n >\n Create app integration\n </ConsoleButton>\n </div>\n </form>\n </ConsoleModal>\n </div>\n );\n}\n\nfunction FormField({\n label,\n required = false,\n optional = false,\n children,\n}: {\n label: string;\n required?: boolean;\n optional?: boolean;\n children: ReactNode;\n}) {\n const fieldId = useId();\n const nodes = Children.toArray(children);\n const isControl = (\n node: ReactNode,\n ): node is ReactElement<{\n id?: string;\n \"aria-label\"?: string;\n \"aria-describedby\"?: string | undefined;\n }> =>\n isValidElement(node) &&\n typeof node.type === \"string\" &&\n [\"input\", \"textarea\", \"select\"].includes(node.type);\n const first = nodes.findIndex(isControl);\n const firstNode = nodes[first];\n const controlId = isControl(firstNode)\n ? (firstNode.props.id ?? `${fieldId}-${first}`)\n : undefined;\n const isHint = (node: ReactNode): node is ReactElement<{ id?: string }> =>\n isValidElement(node) && node.type === \"p\";\n const hintIds = nodes.flatMap((node, index) =>\n isHint(node) ? [node.props.id ?? `${fieldId}-hint-${index}`] : [],\n );\n return (\n <div className=\"csl-field\">\n <div className=\"csl-field-heading\">\n <label htmlFor={controlId}>\n {label}\n {required ? (\n <span aria-hidden=\"true\"> *</span>\n ) : optional ? (\n <span className=\"csl-muted\"> (optional)</span>\n ) : null}\n </label>\n </div>\n {nodes.map((node, index) =>\n isControl(node)\n ? cloneElement(node, {\n id: node.props.id ?? `${fieldId}-${index}`,\n \"aria-describedby\":\n [node.props[\"aria-describedby\"], ...hintIds].filter(Boolean).join(\" \") || undefined,\n ...(node.props[\"aria-label\"] || index === first ? {} : { \"aria-label\": label }),\n })\n : isHint(node)\n ? cloneElement(node, { id: node.props.id ?? `${fieldId}-hint-${index}` })\n : node,\n )}\n </div>\n );\n}\n",
212
+ "type": "registry:ui"
213
+ },
214
+ {
215
+ "path": "components/uibot/console/settings.tsx",
216
+ "target": "components/uibot/console/settings.tsx",
217
+ "content": "import { useState, type FormEvent } from \"react\";\nimport { Check, KeyRound, LockKeyhole, Plus } from \"lucide-react\";\nimport {\n ConsoleButton,\n ConsoleCard,\n ConsoleEmpty,\n ConsoleHeader,\n ConsoleLink,\n ConsoleModal,\n ConsoleSelect,\n ConsoleTag,\n type ConsoleActions,\n} from \"./ui\";\n\nexport type SettingsPageView = \"api-keys\" | \"privacy\";\n\n/** Organization settings are presentation and host intents, never an account service. */\nexport function SettingsPages({ view, ...actions }: ConsoleActions & { view: SettingsPageView }) {\n switch (view) {\n case \"api-keys\":\n return <ApiKeysPage {...actions} />;\n case \"privacy\":\n return <PrivacyPage {...actions} />;\n }\n}\n\nfunction ExampleLabel() {\n return (\n <p className=\"csl-settings-example\">\n <ConsoleTag>Example organization</ConsoleTag>\n <span>Illustrative settings and account data</span>\n </p>\n );\n}\n\nfunction RequestStatus({ requested }: { requested: boolean }) {\n return requested ? (\n <p className=\"csl-settings-request\" role=\"status\">\n <Check aria-hidden=\"true\" />\n Request sent to the host. Changes are not confirmed here.\n </p>\n ) : null;\n}\n\nfunction HostNote({ connected }: { connected: boolean }) {\n return !connected ? (\n <p className=\"csl-host-note\">Connect a host action to enable changes.</p>\n ) : null;\n}\n\nfunction ApiKeysPage({ onAction }: ConsoleActions) {\n const [open, setOpen] = useState(false);\n const [step, setStep] = useState<\"intro\" | \"form\">(\"intro\");\n const [name, setName] = useState(\"\");\n const [expiresIn, setExpiresIn] = useState(\"30 days\");\n const [expiresOn, setExpiresOn] = useState(\"\");\n const [workspace, setWorkspace] = useState(\"Default\");\n const [requested, setRequested] = useState(false);\n const resetRequest = () => setRequested(false);\n const submit = (event: FormEvent) => {\n event.preventDefault();\n if (!name.trim() || !onAction || requested || (expiresIn === \"Custom\" && !expiresOn)) return;\n onAction(\"create-api-key\", {\n name: name.trim(),\n workspace: \"Default\",\n expiresIn,\n account: \"Example user\",\n scope: \"Default workspace\",\n ...(expiresIn === \"Custom\" ? { expiresOn } : {}),\n });\n setRequested(true);\n };\n const create = () => {\n setName(\"\");\n setExpiresIn(\"30 days\");\n setExpiresOn(\"\");\n setRequested(false);\n setStep(\"intro\");\n setOpen(true);\n };\n return (\n <div className=\"csl-page csl-settings-page\">\n <ConsoleHeader\n title=\"API keys\"\n description=\"Keys act as their linked user or service account. Workspace keys stay with the workspace.\"\n >\n <ConsoleButton primary onClick={create}>\n <Plus aria-hidden=\"true\" />\n Create key\n </ConsoleButton>\n </ConsoleHeader>\n <ExampleLabel />\n <div className=\"csl-filter-row\">\n <ConsoleSelect\n label=\"Workspace\"\n value={workspace}\n onChange={setWorkspace}\n options={[\"Default\", \"All workspaces\"]}\n />\n </div>\n <ConsoleCard className=\"csl-list-empty csl-key-empty\">\n <ConsoleEmpty\n icon={KeyRound}\n title=\"Create an API key\"\n description=\"Build with the Claude API directly or through a client SDK.\"\n >\n <ConsoleButton onClick={create}>\n <Plus aria-hidden=\"true\" />\n Create key\n </ConsoleButton>\n </ConsoleEmpty>\n </ConsoleCard>\n <ConsoleModal\n open={open}\n onOpenChange={setOpen}\n title=\"Create API key\"\n {...(step === \"form\"\n ? { description: \"Configure the identity, lifetime and scope of this key.\" }\n : {})}\n >\n {step === \"intro\" ? (\n <div className=\"csl-key-intro\">\n <span className=\"csl-settings-avatar\">\n <LockKeyhole aria-hidden=\"true\" />\n </span>\n <h3>With identity federation, you don’t need an API key</h3>\n <p className=\"csl-muted\">\n Authenticate using short-lived tokens from your cloud or CI provider.\n </p>\n <ul className=\"csl-key-benefits\">\n <li>\n <Check aria-hidden=\"true\" />\n No static secret to store in configuration\n </li>\n <li>\n <Check aria-hidden=\"true\" />\n Automatic rotation with short token lifetimes\n </li>\n <li>\n <Check aria-hidden=\"true\" />\n Cloud and CI identity providers supported\n </li>\n </ul>\n <p className=\"csl-host-note\">\n An API key can still be useful for local scripts, third-party tools and environments\n without an identity provider.\n </p>\n <ConsoleLink\n className=\"csl-button csl-primary\"\n href=\"/settings/workload-identity-federation\"\n >\n Set up identity federation\n </ConsoleLink>\n <ConsoleButton className=\"csl-text-button\" onClick={() => setStep(\"form\")}>\n Continue with an API key\n </ConsoleButton>\n </div>\n ) : (\n <form className=\"csl-form\" onSubmit={submit}>\n <label>\n Name\n <input\n className=\"csl-input\"\n aria-label=\"Key name\"\n placeholder=\"my-secret-key\"\n required\n maxLength={100}\n value={name}\n onChange={(event) => {\n setName(event.target.value);\n resetRequest();\n }}\n />\n </label>\n <ConsoleSelect\n label=\"Expires\"\n options={[\"3 hours\", \"1 day\", \"7 days\", \"30 days\", \"Custom\", \"Never\"]}\n value={expiresIn}\n onChange={(value) => {\n setExpiresIn(value);\n resetRequest();\n }}\n />\n {expiresIn === \"Custom\" && (\n <label>\n Expiration date\n <input\n className=\"csl-input\"\n aria-label=\"Expiration date\"\n type=\"date\"\n required\n min={new Date().toISOString().slice(0, 10)}\n value={expiresOn}\n onChange={(event) => {\n setExpiresOn(event.target.value);\n resetRequest();\n }}\n />\n </label>\n )}\n <div className=\"csl-settings-field\">\n <ConsoleSelect\n label=\"Linked account\"\n value=\"Example user\"\n options={[\"Example user\"]}\n />\n <small className=\"csl-muted\">\n Requests act as this user. The key stops working if the user leaves the\n organization.\n </small>\n </div>\n <div className=\"csl-settings-field\">\n <ConsoleSelect\n label=\"Scope\"\n value=\"Default workspace\"\n options={[\"Default workspace\"]}\n />\n <small className=\"csl-muted\">\n This key is limited to the Default workspace and cannot use the Admin API.\n </small>\n </div>\n <HostNote connected={!!onAction} />\n <RequestStatus requested={requested} />\n <div className=\"csl-form-footer\">\n <ConsoleButton onClick={() => setStep(\"intro\")}>Back</ConsoleButton>\n <ConsoleButton\n primary\n type=\"submit\"\n disabled={\n !onAction || !name.trim() || requested || (expiresIn === \"Custom\" && !expiresOn)\n }\n >\n Create key\n </ConsoleButton>\n </div>\n </form>\n )}\n </ConsoleModal>\n </div>\n );\n}\n\nfunction PrivacyPage({ onAction }: ConsoleActions) {\n const [confirmation, setConfirmation] = useState<\"delete\" | \"join\" | null>(null);\n const [deleteText, setDeleteText] = useState(\"\");\n const [accepted, setAccepted] = useState(false);\n const [requested, setRequested] = useState(false);\n const [pendingSettings, setPendingSettings] = useState<Record<string, boolean>>({});\n const requestSetting = (setting: \"feedback\" | \"metrics\", enabled: boolean) => {\n if (!onAction || pendingSettings[setting]) return;\n onAction(\"change-privacy-setting\", { setting, enabled: String(enabled) });\n setPendingSettings((current) => ({ ...current, [setting]: true }));\n };\n const submit = (event: FormEvent) => {\n event.preventDefault();\n if (!onAction || requested || (confirmation === \"delete\" ? deleteText !== \"DELETE\" : !accepted))\n return;\n onAction(\n confirmation === \"delete\" ? \"delete-metrics-data\" : \"request-development-partner-program\",\n );\n setRequested(true);\n };\n const open = (kind: \"delete\" | \"join\") => {\n setRequested(false);\n setDeleteText(\"\");\n setAccepted(false);\n setConfirmation(kind);\n };\n return (\n <div className=\"csl-page csl-retention-page\">\n <ConsoleHeader\n title=\"Data retention\"\n description=\"Manage how organization inputs, outputs and other data are retained.\"\n >\n <ConsoleSelect label=\"Scope\" value=\"Organization\" options={[\"Organization\"]} />\n </ConsoleHeader>\n <ExampleLabel />\n <ul className=\"csl-retention-explanation csl-muted\">\n <li>Standard retention keeps data for a limited period for safety and security review.</li>\n <li>\n Zero Data Retention is subject to eligibility and your service agreement.{\" \"}\n <ConsoleLink href=\"https://platform.claude.com/docs/en/manage-claude/api-and-data-retention\">\n Learn about Zero Data Retention\n </ConsoleLink>\n .\n </li>\n </ul>\n <section className=\"csl-retention-default\">\n <div>\n <h2>Organization default</h2>\n <p className=\"csl-muted\">\n Example policy: inputs, outputs and other data are retained for 30 days.\n </p>\n </div>\n <ConsoleTag tone=\"blue\">On · 30 days</ConsoleTag>\n <ConsoleLink href=\"https://claude.com/contact-sales\">Contact support ↗</ConsoleLink>\n </section>\n <section className=\"csl-retention-feedback\">\n <h2>Usage data and feedback</h2>\n <div className=\"csl-retention-row\">\n <div>\n <h3>Join our Development Partner Program to help improve Claude</h3>\n <p className=\"csl-muted\">\n Choose whether to share your organization’s Claude Code sessions for product and model\n improvements. Review the program terms before joining. Previously shared data may not\n be removable.\n </p>\n </div>\n <ConsoleButton onClick={() => open(\"join\")}>Join</ConsoleButton>\n </div>\n <div className=\"csl-retention-row\">\n <div>\n <h3>Allow user feedback</h3>\n <p className=\"csl-muted\">\n Feedback reports may include the prompt, model response and comments.\n </p>\n </div>\n <button\n className=\"csl-switch\"\n type=\"button\"\n role=\"switch\"\n aria-label=\"Allow user feedback\"\n aria-checked={false}\n disabled={!onAction || pendingSettings.feedback}\n onClick={() => requestSetting(\"feedback\", true)}\n >\n <span />\n </button>\n </div>\n <div className=\"csl-retention-row\">\n <div>\n <h3>Allow Claude Code metrics logging</h3>\n <p className=\"csl-muted\">\n Collect organization usage metrics to review productivity and usage patterns.\n </p>\n </div>\n <button\n className=\"csl-switch\"\n type=\"button\"\n role=\"switch\"\n aria-label=\"Allow Claude Code metrics logging\"\n aria-checked={true}\n disabled={!onAction || pendingSettings.metrics}\n onClick={() => requestSetting(\"metrics\", false)}\n >\n <span />\n </button>\n </div>\n <div className=\"csl-retention-row\">\n <p className=\"csl-muted\">Delete all collected metrics data. This cannot be undone.</p>\n <ConsoleButton className=\"csl-danger\" onClick={() => open(\"delete\")}>\n Delete data\n </ConsoleButton>\n </div>\n </section>\n <HostNote connected={!!onAction} />\n <RequestStatus requested={Object.values(pendingSettings).some(Boolean)} />\n <ConsoleModal\n open={confirmation !== null}\n onOpenChange={(value) => {\n if (!value) setConfirmation(null);\n }}\n title={confirmation === \"delete\" ? \"Delete metrics data?\" : \"Development Partner Program\"}\n description={\n confirmation === \"delete\"\n ? \"This request permanently removes collected metrics. It cannot be undone.\"\n : \"Review the sharing terms before requesting enrollment.\"\n }\n >\n <form className=\"csl-form\" onSubmit={submit}>\n {confirmation === \"delete\" ? (\n <label>\n Type DELETE to confirm\n <input\n className=\"csl-input\"\n aria-label=\"Deletion confirmation\"\n autoComplete=\"off\"\n value={deleteText}\n onChange={(event) => setDeleteText(event.target.value)}\n />\n </label>\n ) : (\n <>\n <p className=\"csl-muted\">\n Participation shares Claude Code session data with the service provider. Your host\n must present the current terms and obtain your organization’s authorization before\n enrollment.\n </p>\n <label className=\"csl-check-label\">\n <input\n type=\"checkbox\"\n checked={accepted}\n onChange={(event) => setAccepted(event.target.checked)}\n />\n I understand what data will be shared\n </label>\n </>\n )}\n <HostNote connected={!!onAction} />\n <RequestStatus requested={requested} />\n <div className=\"csl-form-footer\">\n <ConsoleButton onClick={() => setConfirmation(null)}>Cancel</ConsoleButton>\n <ConsoleButton\n primary\n className={confirmation === \"delete\" ? \"csl-danger\" : \"\"}\n type=\"submit\"\n disabled={\n !onAction ||\n requested ||\n (confirmation === \"delete\" ? deleteText !== \"DELETE\" : !accepted)\n }\n >\n {confirmation === \"delete\" ? \"Delete data\" : \"Request enrollment\"}\n </ConsoleButton>\n </div>\n </form>\n </ConsoleModal>\n </div>\n );\n}\n",
218
+ "type": "registry:ui"
219
+ },
220
+ {
221
+ "path": "components/uibot/console/identity.tsx",
222
+ "target": "components/uibot/console/identity.tsx",
223
+ "content": "import { useState, type FormEvent } from \"react\";\nimport {\n Activity,\n ArrowRight,\n Check,\n CircleHelp,\n Cloud,\n Fingerprint,\n GitBranch,\n KeyRound,\n Layers,\n LockKeyhole,\n Plus,\n ShieldCheck,\n UserRound,\n} from \"lucide-react\";\nimport {\n ConsoleButton,\n ConsoleCard,\n ConsoleEmpty,\n ConsoleHeader,\n ConsoleModal,\n ConsoleSelect,\n ConsoleTabs,\n ConsoleTag,\n type ConsoleActions,\n} from \"./ui\";\n\nexport type IdentityPageView = \"service-accounts\" | \"workload-identity\";\n\n/** Organization identity pages send explicit host intents and keep no service state. */\nexport function IdentityPages({ view, ...actions }: ConsoleActions & { view: IdentityPageView }) {\n return view === \"service-accounts\" ? (\n <ServiceAccountsPage {...actions} />\n ) : (\n <WorkloadIdentityPage {...actions} />\n );\n}\n\nconst accountTabs = [\"Active\", \"Archived\"];\nconst identityTabs = [\"Issuers\", \"Rules\", \"Authentication events\"];\n\nfunction ExampleLabel() {\n return (\n <p className=\"csl-settings-example\">\n <ConsoleTag>Example organization</ConsoleTag>\n <span>Illustrative identity settings</span>\n </p>\n );\n}\n\nfunction HostNote({ connected }: { connected: boolean }) {\n return connected ? null : (\n <p className=\"csl-host-note\">Connect a host action to enable changes.</p>\n );\n}\n\nfunction RequestStatus({ requested }: { requested: boolean }) {\n return requested ? (\n <p className=\"csl-settings-request\" role=\"status\">\n <Check aria-hidden=\"true\" />\n Request sent to the host. Changes are not confirmed here.\n </p>\n ) : null;\n}\n\nfunction ServiceAccountsPage({ onAction }: ConsoleActions) {\n const [tab, setTab] = useState(\"Active\");\n const [open, setOpen] = useState(false);\n const [name, setName] = useState(\"\");\n const [description, setDescription] = useState(\"\");\n const [role, setRole] = useState(\"Developer\");\n const [workspaceSelected, setWorkspaceSelected] = useState(false);\n const [requested, setRequested] = useState(false);\n const validName = /^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(name);\n\n const create = () => {\n setName(\"\");\n setDescription(\"\");\n setRole(\"Developer\");\n setWorkspaceSelected(false);\n setRequested(false);\n setOpen(true);\n };\n const submit = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n if (!onAction || !validName || requested) return;\n onAction(\"create-service-account\", {\n name,\n description: description.trim(),\n role,\n workspaces: JSON.stringify(workspaceSelected ? [\"Default\"] : []),\n });\n setRequested(true);\n };\n\n return (\n <div className=\"csl-page csl-settings-page\">\n <ConsoleHeader\n title=\"Service accounts\"\n description=\"Named non-human identities for workload and CI federation.\"\n >\n <ConsoleButton primary onClick={create}>\n <Plus aria-hidden=\"true\" />\n Create service account\n </ConsoleButton>\n </ConsoleHeader>\n <ExampleLabel />\n <ConsoleTabs\n label=\"Service account status\"\n options={accountTabs}\n value={tab}\n onChange={setTab}\n segmented\n />\n <ConsoleCard className=\"csl-settings-table\">\n <table className=\"csl-table\">\n <thead>\n <tr>\n <th scope=\"col\">ID</th>\n <th scope=\"col\">Name</th>\n <th scope=\"col\">Role</th>\n <th scope=\"col\">Rules</th>\n <th scope=\"col\">Created</th>\n <th scope=\"col\">\n <span className=\"sr-only\">Actions</span>\n </th>\n </tr>\n </thead>\n </table>\n <ConsoleEmpty\n compact\n icon={UserRound}\n title={tab === \"Archived\" ? \"No archived service accounts\" : \"No service accounts yet\"}\n description=\"Create one to use as a federation rule target.\"\n >\n {tab === \"Active\" && (\n <ConsoleButton onClick={create}>\n <Plus aria-hidden=\"true\" />\n Create service account\n </ConsoleButton>\n )}\n </ConsoleEmpty>\n </ConsoleCard>\n <ConsoleModal\n open={open}\n onOpenChange={setOpen}\n title=\"Create service account\"\n description=\"Create a non-human identity for workloads and CI.\"\n >\n <form className=\"csl-form\" onSubmit={submit}>\n <label>\n Name\n <input\n className=\"csl-input\"\n aria-label=\"Service account name\"\n autoComplete=\"off\"\n maxLength={63}\n pattern=\"[a-z0-9]+(-[a-z0-9]+)*\"\n placeholder=\"deployment-bot\"\n required\n value={name}\n onChange={(event) => {\n setName(event.target.value);\n setRequested(false);\n }}\n />\n <small className=\"csl-muted\">\n Use lowercase letters, numbers, and single hyphens. This name cannot be changed.\n </small>\n </label>\n <label>\n Description <span className=\"csl-muted\">Optional</span>\n <textarea\n className=\"csl-input\"\n aria-label=\"Service account description\"\n maxLength={500}\n rows={3}\n value={description}\n onChange={(event) => {\n setDescription(event.target.value);\n setRequested(false);\n }}\n />\n </label>\n <ConsoleSelect\n label=\"Organization role\"\n options={[\"Developer\", \"Admin\"]}\n value={role}\n onChange={(value) => {\n setRole(value);\n setRequested(false);\n }}\n />\n <fieldset className=\"csl-identity-workspaces\">\n <legend>\n Workspaces <span className=\"csl-muted\">Optional</span>\n </legend>\n <label className=\"csl-check-row\">\n <input\n type=\"checkbox\"\n checked={workspaceSelected}\n onChange={(event) => {\n setWorkspaceSelected(event.target.checked);\n setRequested(false);\n }}\n />\n <span>Default</span>\n </label>\n </fieldset>\n <HostNote connected={!!onAction} />\n <RequestStatus requested={requested} />\n <div className=\"csl-form-footer\">\n <ConsoleButton onClick={() => setOpen(false)}>Cancel</ConsoleButton>\n <ConsoleButton primary type=\"submit\" disabled={!onAction || !validName || requested}>\n Create service account\n </ConsoleButton>\n </div>\n </form>\n </ConsoleModal>\n </div>\n );\n}\n\nconst providers = [\n { name: \"GitHub Actions\", detail: \"CI/CD workflows\", icon: GitBranch },\n { name: \"AWS\", detail: \"EC2, Lambda, EKS via STS\", icon: Cloud },\n { name: \"Google Cloud\", detail: \"GKE, Cloud Run, GCE\", icon: Cloud },\n { name: \"Microsoft Entra\", detail: \"Azure / Entra ID\", icon: ShieldCheck },\n { name: \"Kubernetes\", detail: \"Self-managed clusters\", icon: Layers },\n { name: \"Custom OIDC\", detail: \"Bring your own issuer\", icon: CircleHelp },\n] as const;\n\nfunction issuerUrlFor(provider: string): string {\n return provider === \"GitHub Actions\" ? \"https://token.actions.githubusercontent.com\" : \"\";\n}\n\nfunction WorkloadIdentityPage({ onAction }: ConsoleActions) {\n const [tab, setTab] = useState(\"Issuers\");\n const [status, setStatus] = useState(\"Active\");\n const [registerOpen, setRegisterOpen] = useState(false);\n const [connectOpen, setConnectOpen] = useState(false);\n const [discardOpen, setDiscardOpen] = useState(false);\n const [provider, setProvider] = useState(\"\");\n const [issuerUrl, setIssuerUrl] = useState(\"\");\n const [requested, setRequested] = useState(false);\n const validIssuerUrl = /^https:\\/\\/[^\\s/]+(?:\\/[^\\s]*)?$/.test(issuerUrl.trim());\n const closeConnect = () => {\n if (provider && !requested) setDiscardOpen(true);\n else setConnectOpen(false);\n };\n\n const beginConnect = () => {\n setProvider(\"\");\n setIssuerUrl(\"\");\n setRequested(false);\n setDiscardOpen(false);\n setConnectOpen(true);\n };\n const beginRegister = () => {\n setProvider(\"\");\n setIssuerUrl(\"\");\n setRequested(false);\n setRegisterOpen(true);\n };\n const chooseProvider = (name: string) => {\n setProvider(name);\n setIssuerUrl(issuerUrlFor(name));\n setRequested(false);\n };\n const requestIssuer = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n if (!onAction || !provider || !validIssuerUrl || requested) return;\n onAction(\"register-issuer\", { provider, issuerUrl: issuerUrl.trim() });\n setRequested(true);\n };\n\n const registerForm = (compact = false) => (\n <form className=\"csl-form csl-identity-form\" onSubmit={requestIssuer}>\n {!compact && (\n <div className=\"csl-identity-steps\" aria-label=\"Connection steps\">\n {[\"1 Issuer\", \"2 Federation rule\", \"3 Target\", \"4 Test\"].map((step, index) => (\n <ConsoleTag key={step} {...(index === 0 ? { tone: \"blue\" as const } : {})}>\n {step}\n </ConsoleTag>\n ))}\n </div>\n )}\n <div>\n <h2>\n {compact ? \"Register an OIDC issuer\" : \"Where do these workloads get their identity?\"}\n </h2>\n <p className=\"csl-muted\">\n Select a provider and review its issuer URL before asking your host to register it.\n </p>\n </div>\n <label className=\"csl-check-row csl-radio-choice-disabled\">\n <input type=\"radio\" name=\"issuer-choice\" disabled />\n <span>\n <strong>Use a registered issuer</strong>\n <small>No issuers registered yet</small>\n </span>\n </label>\n <label className=\"csl-check-row\">\n <input type=\"radio\" name=\"issuer-choice\" checked readOnly />\n <span>\n <strong>Connect a new provider</strong>\n <small>Register an OIDC issuer through your host.</small>\n </span>\n </label>\n <div className=\"csl-grid csl-grid-3 csl-identity-provider-grid\">\n {providers.map(({ name, detail, icon: Icon }) => (\n <button\n key={name}\n type=\"button\"\n className=\"csl-card csl-quickstart-template csl-identity-provider\"\n aria-pressed={provider === name}\n onClick={() => chooseProvider(name)}\n >\n <Icon aria-hidden=\"true\" />\n <strong>{name}</strong>\n <small className=\"csl-muted\">{detail}</small>\n </button>\n ))}\n </div>\n {provider && (\n <div className=\"csl-form\">\n <label>\n Issuer URL\n <input\n className=\"csl-input\"\n aria-label=\"Issuer URL\"\n type=\"url\"\n maxLength={2048}\n pattern=\"https://.*\"\n required\n value={issuerUrl}\n placeholder=\"https://issuer.example.com\"\n onChange={(event) => {\n setIssuerUrl(event.target.value);\n setRequested(false);\n }}\n />\n </label>\n <label>\n Audience\n <input\n className=\"csl-input\"\n aria-label=\"Audience\"\n value=\"https://api.anthropic.com\"\n readOnly\n />\n </label>\n <p className=\"csl-settings-request\">\n <LockKeyhole aria-hidden=\"true\" />\n Registration is requested from the host. This preview does not verify or register an\n issuer.\n </p>\n </div>\n )}\n <HostNote connected={!!onAction} />\n <RequestStatus requested={requested} />\n <div className=\"csl-form-footer\">\n <ConsoleButton onClick={() => (compact ? setRegisterOpen(false) : closeConnect())}>\n Cancel\n </ConsoleButton>\n <ConsoleButton\n primary\n type=\"submit\"\n disabled={!onAction || !provider || !validIssuerUrl || requested}\n >\n {compact ? \"Register issuer\" : \"Apply and continue\"}\n {!compact && <ArrowRight aria-hidden=\"true\" />}\n </ConsoleButton>\n </div>\n </form>\n );\n\n return (\n <div className=\"csl-page csl-settings-page\">\n <ConsoleHeader\n title=\"Workload identity federation\"\n description=\"Register OIDC issuers you trust, then create rules that map their tokens to API access.\"\n >\n <ConsoleButton primary onClick={beginConnect}>\n <Plus aria-hidden=\"true\" />\n Connect workload\n </ConsoleButton>\n </ConsoleHeader>\n <ExampleLabel />\n <ConsoleTabs\n label=\"Workload identity sections\"\n options={[...identityTabs]}\n value={tab}\n onChange={setTab}\n />\n {tab === \"Issuers\" && (\n <>\n <div className=\"csl-toolbar\">\n <ConsoleTabs\n label=\"Issuer status\"\n options={accountTabs}\n value={status}\n onChange={setStatus}\n segmented\n />\n <ConsoleButton primary onClick={beginRegister}>\n <Plus aria-hidden=\"true\" />\n Register issuer\n </ConsoleButton>\n </div>\n <ConsoleCard className=\"csl-settings-table\">\n <table className=\"csl-table\">\n <thead>\n <tr>\n <th scope=\"col\">ID</th>\n <th scope=\"col\">Issuer</th>\n <th scope=\"col\">Issuer URL</th>\n <th scope=\"col\">JWKS source</th>\n <th scope=\"col\">Rules</th>\n <th scope=\"col\">Created</th>\n <th scope=\"col\">\n <span className=\"sr-only\">Actions</span>\n </th>\n </tr>\n </thead>\n </table>\n <ConsoleEmpty\n compact\n icon={Fingerprint}\n title={status === \"Archived\" ? \"No archived issuers\" : \"No issuers registered\"}\n description=\"Register an OIDC identity provider to begin configuring federation rules.\"\n >\n {status === \"Active\" && (\n <ConsoleButton onClick={beginRegister}>\n <Plus aria-hidden=\"true\" />\n Register issuer\n </ConsoleButton>\n )}\n </ConsoleEmpty>\n </ConsoleCard>\n </>\n )}\n {tab === \"Rules\" && (\n <ConsoleCard className=\"csl-settings-table\">\n <ConsoleEmpty\n compact\n icon={KeyRound}\n title=\"No federation rules yet\"\n description=\"Register an issuer and service account before configuring a federation rule.\"\n >\n <ConsoleButton onClick={beginConnect}>\n <Plus aria-hidden=\"true\" />\n Connect workload\n </ConsoleButton>\n </ConsoleEmpty>\n </ConsoleCard>\n )}\n {tab === \"Authentication events\" && (\n <ConsoleCard className=\"csl-settings-table\">\n <ConsoleEmpty\n compact\n icon={Activity}\n title=\"No authentication events\"\n description=\"Events will appear here when your host supplies authentication activity.\"\n />\n </ConsoleCard>\n )}\n <ConsoleModal\n open={registerOpen}\n onOpenChange={setRegisterOpen}\n title=\"Register issuer\"\n description=\"Add an OIDC provider to your organization.\"\n >\n {registerForm(true)}\n </ConsoleModal>\n <ConsoleModal\n open={connectOpen}\n onOpenChange={(value) => {\n if (!value && discardOpen) setDiscardOpen(false);\n else if (!value) closeConnect();\n else setConnectOpen(true);\n }}\n title={discardOpen ? \"Discard changes?\" : \"Connect workload\"}\n description={\n discardOpen\n ? \"Closing discards your issuer and rule details.\"\n : \"Set up identity federation for a workload.\"\n }\n size=\"wide\"\n >\n {discardOpen ? (\n <div className=\"csl-form\">\n <div className=\"csl-form-footer\">\n <ConsoleButton onClick={() => setDiscardOpen(false)}>Cancel</ConsoleButton>\n <ConsoleButton\n primary\n onClick={() => {\n setDiscardOpen(false);\n setConnectOpen(false);\n }}\n >\n Discard\n </ConsoleButton>\n </div>\n </div>\n ) : (\n registerForm()\n )}\n </ConsoleModal>\n </div>\n );\n}\n",
224
+ "type": "registry:ui"
225
+ },
226
+ {
227
+ "path": "components/uibot/console-page.uibot.json",
228
+ "target": "components/uibot/console-page.uibot.json",
229
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"console-page\",\n \"channel\": \"public\",\n \"components\": [\n {\n \"name\": \"ConsolePage\",\n \"export\": \"ConsolePage\",\n \"module\": \"console-page.tsx\",\n \"catalog\": {\n \"name\": \"ConsolePage\",\n \"description\": \"Console reference pages.\",\n \"category\": \"composite\",\n \"level\": \"L2\",\n \"tags\": [\n \"console\",\n \"workspace\",\n \"interactive\"\n ],\n \"props\": {\n \"view\": {\n \"type\": \"string\"\n },\n \"options\": {\n \"type\": \"object\"\n }\n },\n \"events\": {\n \"onAction\": {\n \"description\": \"Serializable values in event.values\"\n }\n }\n }\n }\n ]\n}\n",
230
+ "type": "registry:ui"
231
+ }
232
+ ],
233
+ "meta": {
234
+ "category": "composite",
235
+ "level": "L2",
236
+ "props": {
237
+ "view": {
238
+ "type": "string"
239
+ },
240
+ "options": {
241
+ "type": "object"
242
+ }
243
+ },
244
+ "events": {
245
+ "onAction": {
246
+ "description": "Serializable values in event.values"
247
+ }
248
+ },
249
+ "provides": [
250
+ "ConsolePage"
251
+ ],
252
+ "uibot": {
253
+ "schema": "uibot.registry.item.v1",
254
+ "item": "console-page",
255
+ "channel": "public",
256
+ "components": [
257
+ {
258
+ "name": "ConsolePage",
259
+ "export": "ConsolePage",
260
+ "module": "console-page.tsx",
261
+ "catalog": {
262
+ "name": "ConsolePage",
263
+ "description": "Console reference pages.",
264
+ "category": "composite",
265
+ "level": "L2",
266
+ "tags": [
267
+ "console",
268
+ "workspace",
269
+ "interactive"
270
+ ],
271
+ "props": {
272
+ "view": {
273
+ "type": "string"
274
+ },
275
+ "options": {
276
+ "type": "object"
277
+ }
278
+ },
279
+ "events": {
280
+ "onAction": {
281
+ "description": "Serializable values in event.values"
282
+ }
283
+ }
284
+ }
285
+ }
286
+ ]
287
+ }
288
+ }
289
+ }