@burdenoff/microfe-vibecontrols 2026.1008.2 → 2026.1010.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1983) hide show
  1. package/dist/VibeControlsRoot.js +0 -2
  2. package/dist/VibeControlsRoutes.js +0 -2
  3. package/dist/components/actions/ActionCard.js +0 -2
  4. package/dist/components/actions/ActionForm.js +0 -2
  5. package/dist/components/actions/ActionSchedulesList.js +0 -2
  6. package/dist/components/actions/ActionTypeBadge.js +0 -2
  7. package/dist/components/actions/ActionWebhookEndpoint.js +0 -2
  8. package/dist/components/actions/ExecutionHistory.js +0 -2
  9. package/dist/components/actions/RemoteExecutionEnableNotice.js +0 -2
  10. package/dist/components/agent-manager/AgentManagerAdminBar.js +0 -2
  11. package/dist/components/agent-manager/AgentManagerBookmarksDrawer.js +0 -2
  12. package/dist/components/agent-manager/AgentManagerBulkActions.js +0 -2
  13. package/dist/components/agent-manager/AgentManagerCenter.js +0 -2
  14. package/dist/components/agent-manager/AgentManagerChatPane.js +0 -2
  15. package/dist/components/agent-manager/AgentManagerDetailPanel.js +0 -2
  16. package/dist/components/agent-manager/AgentManagerInputArea.js +0 -2
  17. package/dist/components/agent-manager/AgentManagerLayout.js +0 -2
  18. package/dist/components/agent-manager/AgentManagerMessageItem.js +0 -2
  19. package/dist/components/agent-manager/AgentManagerMessageList.js +0 -2
  20. package/dist/components/agent-manager/AgentManagerSessionItem.js +0 -2
  21. package/dist/components/agent-manager/AgentManagerSessionList.js +0 -2
  22. package/dist/components/agent-manager/AgentManagerSidebar.js +0 -2
  23. package/dist/components/agent-manager/AgentManagerStreamingIndicator.js +0 -2
  24. package/dist/components/agent-manager/AgentManagerTab.js +0 -2
  25. package/dist/components/agent-manager/AgentManagerTabBar.js +0 -2
  26. package/dist/components/agent-manager/BridleConfigPanel.js +0 -2
  27. package/dist/components/agent-manager/ChatInsertPicker.js +0 -2
  28. package/dist/components/agent-manager/FilePickerModal.js +0 -2
  29. package/dist/components/agent-manager/PluginInstallModal.js +0 -2
  30. package/dist/components/agent-manager/ProfilesPanel.js +0 -2
  31. package/dist/components/agent-manager/controls/AutonomySelector.js +0 -2
  32. package/dist/components/agent-manager/controls/ContextLevelToggle.js +0 -2
  33. package/dist/components/agent-manager/controls/FileAttachButton.js +0 -2
  34. package/dist/components/agent-manager/controls/McpServerSelector.js +0 -2
  35. package/dist/components/agent-manager/controls/ModelSelector.js +0 -2
  36. package/dist/components/agent-manager/controls/SdkSelector.js +0 -2
  37. package/dist/components/agent-manager/controls/VoiceToggle.js +0 -2
  38. package/dist/components/agent-manager/controls/createDropHandlers.js +0 -2
  39. package/dist/components/agent-manager/detail/SessionConfigPanel.js +0 -2
  40. package/dist/components/agent-manager/detail/SessionLogsPanel.js +0 -2
  41. package/dist/components/agent-manager/detail/SessionStatsPanel.js +0 -2
  42. package/dist/components/agent-manager/detail/SessionToolsPanel.js +0 -2
  43. package/dist/components/agent-manager/dialogs/ExportSessionDialog.js +0 -2
  44. package/dist/components/agent-manager/dialogs/NewSessionDialog.js +0 -2
  45. package/dist/components/agent-manager/dialogs/RenameSessionDialog.js +0 -2
  46. package/dist/components/agent-manager/dialogs/SessionSearchDialog.js +0 -2
  47. package/dist/components/agent-manager/modelDefaults.js +0 -2
  48. package/dist/components/agents/AgentCard.js +0 -2
  49. package/dist/components/agents/AgentConnectionRecovery.js +0 -2
  50. package/dist/components/agents/AgentForm.js +0 -2
  51. package/dist/components/agents/AgentList.js +0 -2
  52. package/dist/components/agents/AgentMaintenanceTab.js +0 -2
  53. package/dist/components/agents/AgentStatusBadge.js +0 -2
  54. package/dist/components/agents/AgentStorageConfig.js +0 -2
  55. package/dist/components/agents/AgentVisibilityCard.js +0 -2
  56. package/dist/components/agents/ConfigureAgentDialog.js +0 -2
  57. package/dist/components/agents/ConnectionLogPanel.js +0 -2
  58. package/dist/components/agents/CreateSessionDialog.js +0 -2
  59. package/dist/components/agents/GatewayAuthCard.js +0 -2
  60. package/dist/components/agents/OpenInBrowserEditorButton.js +0 -2
  61. package/dist/components/agents/OpenInEditorMenu.js +0 -2
  62. package/dist/components/agents/PluginUIPanel.js +0 -2
  63. package/dist/components/agents/RemoteTaskPermissionsCard.js +0 -2
  64. package/dist/components/agents/VibeOpenInEditorMenu.js +0 -2
  65. package/dist/components/agents/agentStatus.js +0 -2
  66. package/dist/components/agents/backup/AgentBackupTab.js +0 -2
  67. package/dist/components/agents/idePresets.js +0 -2
  68. package/dist/components/ai/AIContextsTab.js +0 -2
  69. package/dist/components/ai/AIKeysTab.js +0 -2
  70. package/dist/components/ai/AIModeToggle.js +0 -2
  71. package/dist/components/ai/AIOverviewTab.js +0 -2
  72. package/dist/components/ai/AIPlanPanel.js +0 -2
  73. package/dist/components/ai/AIPlaygroundTab.js +0 -2
  74. package/dist/components/ai/AIPromptsTab.js +0 -2
  75. package/dist/components/ai/AIProviderCredentialsCard.js +0 -2
  76. package/dist/components/ai/AIQueueTab.js +0 -2
  77. package/dist/components/ai/AISessionsTab.js +0 -2
  78. package/dist/components/ai/AIStatsTab.js +0 -2
  79. package/dist/components/ai/AITasksTab.js +0 -2
  80. package/dist/components/ai/AITemplatesTab.js +0 -2
  81. package/dist/components/ai/AiSectionTabs.js +0 -2
  82. package/dist/components/ai/BridleTab.js +0 -2
  83. package/dist/components/ai/ClaudeCredentialsCard.js +0 -2
  84. package/dist/components/ai/InstructionFilesManager.js +0 -2
  85. package/dist/components/ai/PluginHarnessPicker.js +0 -2
  86. package/dist/components/ai/aiProviderCredentials.js +0 -2
  87. package/dist/components/aliases/AliasManager.js +0 -2
  88. package/dist/components/aliases/aliasReservedNames.js +0 -2
  89. package/dist/components/analytics/AnalyticsBreakdownChart.js +0 -2
  90. package/dist/components/analytics/AnalyticsBreakdownTable.js +0 -2
  91. package/dist/components/analytics/AnalyticsEntityTabs.js +0 -2
  92. package/dist/components/analytics/AnalyticsFilterBar.js +0 -2
  93. package/dist/components/analytics/AnalyticsKpiGrid.js +0 -2
  94. package/dist/components/analytics/AnalyticsTimeSeriesChart.js +0 -2
  95. package/dist/components/analytics/SandboxAnalyticsSection.js +0 -2
  96. package/dist/components/analytics/types.js +0 -2
  97. package/dist/components/assistant/AIAssistantPanel.js +0 -2
  98. package/dist/components/assistant/AiCreditsMeter.js +0 -2
  99. package/dist/components/assistant/ProductMarkdown.js +0 -2
  100. package/dist/components/assistant/assistantProduct.js +0 -2
  101. package/dist/components/assistant/recordAdapters.js +0 -2
  102. package/dist/components/audit/AuditExportButton.js +0 -2
  103. package/dist/components/audit/AuditLogDetail.js +0 -2
  104. package/dist/components/audit/AuditLogFilters.js +0 -2
  105. package/dist/components/audit/AuditLogStats.js +0 -2
  106. package/dist/components/audit/AuditLogTable.js +0 -2
  107. package/dist/components/catalog/CatalogCard.js +0 -2
  108. package/dist/components/catalog/CatalogForm.js +0 -2
  109. package/dist/components/common/ActionAgentTargetNotice.js +0 -2
  110. package/dist/components/common/CommandEditor.js +0 -2
  111. package/dist/components/common/actionAgentTarget.js +0 -2
  112. package/dist/components/common/commandHighlight.js +0 -2
  113. package/dist/components/components/ComponentHealthCell.js +0 -2
  114. package/dist/components/components/ComponentTierBadge.js +0 -2
  115. package/dist/components/components/ComponentsTable.js +0 -2
  116. package/dist/components/docs/DocsCompileStatus.js +0 -2
  117. package/dist/components/docs/DocsEditPanel.js +0 -2
  118. package/dist/components/docs/DocsEmptyState.js +0 -2
  119. package/dist/components/docs/DocsFullScreenViewer.js +0 -2
  120. package/dist/components/docs/DocsPageEditor.js +0 -2
  121. package/dist/components/docs/DocsPageTree.js +0 -2
  122. package/dist/components/docs/DocsPreviewPanel.js +0 -2
  123. package/dist/components/docs/DocsRevisionHistory.js +0 -2
  124. package/dist/components/docs/DocsSettingsPanel.js +0 -2
  125. package/dist/components/docs/DocsTabPanel.js +0 -2
  126. package/dist/components/docs/previewHtml.js +0 -2
  127. package/dist/components/docs/types.js +0 -2
  128. package/dist/components/gitops/CIDurationChart.js +0 -2
  129. package/dist/components/gitops/CIFailedRuns.js +0 -2
  130. package/dist/components/gitops/CIPipelineRunsTable.js +0 -2
  131. package/dist/components/gitops/CISuccessRateChart.js +0 -2
  132. package/dist/components/gitops/CITab.js +0 -2
  133. package/dist/components/gitops/CIWorkflowList.js +0 -2
  134. package/dist/components/gitops/GitOpsProviderPicker.js +0 -2
  135. package/dist/components/gitops/GitOpsSetup.js +0 -2
  136. package/dist/components/gitops/GitOpsSkeleton.js +0 -2
  137. package/dist/components/gitops/GitOpsStatusBadge.js +0 -2
  138. package/dist/components/gitops/ProviderIcon.js +0 -2
  139. package/dist/components/gitops/RepoActivityCard.js +0 -2
  140. package/dist/components/gitops/RepoIssuesCard.js +0 -2
  141. package/dist/components/gitops/RepoLanguagesCard.js +0 -2
  142. package/dist/components/gitops/RepoOverviewCard.js +0 -2
  143. package/dist/components/gitops/RepoPullRequestsCard.js +0 -2
  144. package/dist/components/gitops/RepoSecurityCard.js +0 -2
  145. package/dist/components/gitops/RepoStatsTab.js +0 -2
  146. package/dist/components/gitops/VibeGitOpsTab.js +0 -2
  147. package/dist/components/gitops/types.js +0 -2
  148. package/dist/components/graph/ConnectionPermissionsDialog.js +0 -2
  149. package/dist/components/graph/MeshAgentNode.js +0 -2
  150. package/dist/components/graph/MeshDeployWizard.js +0 -2
  151. package/dist/components/graph/MeshGraphView.js +0 -2
  152. package/dist/components/graph/MeshNodeActions.js +0 -2
  153. package/dist/components/graph/MeshRequestPanel.js +0 -2
  154. package/dist/components/graph/meshTypes.js +0 -2
  155. package/dist/components/graph/nodeIcons.js +0 -2
  156. package/dist/components/idp-components/ComponentCard.js +0 -2
  157. package/dist/components/idp-components/ComponentForm.js +0 -2
  158. package/dist/components/idp-components/DependencyGraphTab.js +0 -2
  159. package/dist/components/logs/LogViewer.js +0 -2
  160. package/dist/components/notes/NoteCard.js +0 -2
  161. package/dist/components/notes/NoteEditor.js +0 -2
  162. package/dist/components/notes/NoteList.js +0 -2
  163. package/dist/components/notes/NotesTabPanel.js +0 -2
  164. package/dist/components/overview/FleetActivityAreaChart.js +0 -2
  165. package/dist/components/overview/FleetActivityChart.js +0 -2
  166. package/dist/components/overview/FleetHealthCard.js +0 -2
  167. package/dist/components/overview/QuickActionsCard.js +0 -2
  168. package/dist/components/overview/useFleetAnalytics.js +0 -2
  169. package/dist/components/plugins/AddTabDialog.js +0 -2
  170. package/dist/components/plugins/FleetRolloutDialog.js +0 -2
  171. package/dist/components/plugins/PluginIframeMount.js +0 -2
  172. package/dist/components/plugins/useFleetPluginMatrix.js +0 -2
  173. package/dist/components/scorecard/MetricTrend.js +0 -2
  174. package/dist/components/scorecard/ScorecardEmptyState.js +0 -2
  175. package/dist/components/scorecard/ScorecardPanel.js +0 -2
  176. package/dist/components/scorecard/ScorecardsOverviewPanel.js +0 -2
  177. package/dist/components/scorecard/scorecardConstants.js +0 -2
  178. package/dist/components/security/SecurityRunButton.js +0 -2
  179. package/dist/components/security/SecurityScanList.js +0 -2
  180. package/dist/components/security/SecurityTabPanel.js +0 -2
  181. package/dist/components/security/agentClient.js +0 -2
  182. package/dist/components/security/hooks.js +0 -2
  183. package/dist/components/security/types.js +0 -2
  184. package/dist/components/sessions/CollaboratorsList.js +0 -2
  185. package/dist/components/sessions/ControlStatusBar.js +0 -2
  186. package/dist/components/sessions/EntityInfoPopover.js +0 -2
  187. package/dist/components/sessions/SessionCard.js +0 -2
  188. package/dist/components/sessions/SessionGroup.js +0 -2
  189. package/dist/components/sessions/SessionInfoPanel.js +0 -2
  190. package/dist/components/sessions/SessionList.js +0 -2
  191. package/dist/components/sessions/SessionPublicLinkPanel.js +0 -2
  192. package/dist/components/sessions/SessionShareDialog.js +0 -2
  193. package/dist/components/sessions/SessionStatusBadge.js +0 -2
  194. package/dist/components/sessions/SessionWorkbenchDrawer.js +0 -2
  195. package/dist/components/sessions/SessionsCommandPalette.js +0 -2
  196. package/dist/components/sessions/SharedTerminalPanel.js +0 -2
  197. package/dist/components/sessions/ShortcutCheatsheet.js +0 -2
  198. package/dist/components/sessions/TerminalIframe.js +0 -2
  199. package/dist/components/sessions/TerminalPanel.js +0 -2
  200. package/dist/components/sessions/groupSessions.js +0 -2
  201. package/dist/components/sessions/sessionShortcuts.js +0 -2
  202. package/dist/components/settings/AdvancedSection.js +0 -2
  203. package/dist/components/settings/IdePreferencesSection.js +0 -2
  204. package/dist/components/settings/NotificationsSection.js +0 -2
  205. package/dist/components/settings/SettingsForm.js +0 -2
  206. package/dist/components/settings/WorkspaceDefaultsSection.js +0 -2
  207. package/dist/components/shared/ActionMenu.js +0 -2
  208. package/dist/components/shared/AgentEventsConnector.js +0 -2
  209. package/dist/components/shared/AgentSelector.js +0 -2
  210. package/dist/components/shared/AgentSetupBanner.js +0 -2
  211. package/dist/components/shared/Card.js +0 -2
  212. package/dist/components/shared/ConfirmDialog.js +0 -2
  213. package/dist/components/shared/EmptyState.js +0 -2
  214. package/dist/components/shared/EnableRemoteTaskDialog.js +0 -2
  215. package/dist/components/shared/EntityTagPicker.js +0 -2
  216. package/dist/components/shared/EntityVibeLinkControl.js +0 -2
  217. package/dist/components/shared/ErrorState.js +0 -2
  218. package/dist/components/shared/FilterDropdown.js +0 -2
  219. package/dist/components/shared/GetHelpButton.js +0 -2
  220. package/dist/components/shared/InstallTabs.js +0 -2
  221. package/dist/components/shared/LinkToVibePanel.js +0 -2
  222. package/dist/components/shared/LoadingState.js +0 -2
  223. package/dist/components/shared/MotionTabPanel.js +0 -2
  224. package/dist/components/shared/NotificationToast.js +0 -2
  225. package/dist/components/shared/PageHeader.js +0 -2
  226. package/dist/components/shared/PageSkeleton.js +0 -2
  227. package/dist/components/shared/PlatformIcon.js +0 -2
  228. package/dist/components/shared/PluginGate.js +0 -2
  229. package/dist/components/shared/PromptDialog.js +0 -2
  230. package/dist/components/shared/QuotaExhaustedDialog.js +0 -2
  231. package/dist/components/shared/RequireAgentReachable.js +0 -2
  232. package/dist/components/shared/SearchInput.js +0 -2
  233. package/dist/components/shared/SearchableSelect.js +0 -2
  234. package/dist/components/shared/SelectionCheckbox.js +0 -2
  235. package/dist/components/shared/SessionNotificationBanner.js +0 -2
  236. package/dist/components/shared/StatCard.js +0 -2
  237. package/dist/components/shared/StatusBadge.js +0 -2
  238. package/dist/components/shared/TagFilter.js +0 -2
  239. package/dist/components/shared/cardMotion.js +0 -2
  240. package/dist/components/shared/platformIconPaths.js +0 -2
  241. package/dist/components/sharing/EntityShareButton.js +0 -2
  242. package/dist/components/sharing/NoteShareDialog.js +0 -2
  243. package/dist/components/sharing/SharedWithMePanel.js +0 -2
  244. package/dist/components/sharing/VibeShareButton.js +0 -2
  245. package/dist/components/sharing/entityShareOps.js +0 -2
  246. package/dist/components/sharing/shareControllerTypes.js +0 -2
  247. package/dist/components/sharing/shareRegistry.js +0 -2
  248. package/dist/components/sharing/useEntityShareController.js +0 -2
  249. package/dist/components/sharing/useNoteShareController.js +0 -2
  250. package/dist/components/sharing/useVibeShareController.js +0 -2
  251. package/dist/components/targets/TargetCard.js +0 -2
  252. package/dist/components/templates/PublishTemplateForm.js +0 -2
  253. package/dist/components/templates/TemplateCard.js +0 -2
  254. package/dist/components/templates/TemplateVariableEditor.js +0 -2
  255. package/dist/components/templates/TemplateWizard.js +0 -2
  256. package/dist/components/tunnels/DomainVerificationBadge.js +0 -2
  257. package/dist/components/tunnels/ProviderBadge.js +0 -2
  258. package/dist/components/tunnels/TunnelCard.js +0 -2
  259. package/dist/components/tunnels/TunnelConnectionCard.js +0 -2
  260. package/dist/components/tunnels/TunnelCopyButton.js +0 -2
  261. package/dist/components/tunnels/TunnelCreateWizard.js +0 -2
  262. package/dist/components/tunnels/TunnelMetricTiles.js +0 -2
  263. package/dist/components/tunnels/TunnelPublicAccessPanel.js +0 -2
  264. package/dist/components/tunnels/TunnelSparkline.js +0 -2
  265. package/dist/components/tunnels/TunnelStatusBadge.js +0 -2
  266. package/dist/components/tunnels/tunnelEndpoints.js +0 -2
  267. package/dist/components/tunnels/tunnelMetrics.js +0 -2
  268. package/dist/components/vibe/VibeAgentEmptyState.js +0 -2
  269. package/dist/components/vibe/VibeAgentSwitcher.js +0 -2
  270. package/dist/components/vibe/VibeEnvVarsPanel.js +0 -2
  271. package/dist/components/vibe/VibeLinkedEntitiesPanel.js +0 -2
  272. package/dist/components/vibe/VibeLlmContextAdminPanel.js +0 -2
  273. package/dist/components/vibe/VibeLlmContextTabPanel.js +0 -2
  274. package/dist/components/vibecalendar/LogsDrawer.js +0 -2
  275. package/dist/components/vibecalendar/ScheduleTaskModal.js +0 -2
  276. package/dist/components/vibecalendar/VibeCalAgendaView.js +0 -2
  277. package/dist/components/vibecalendar/VibeCalDayView.js +0 -2
  278. package/dist/components/vibecalendar/VibeCalMonthView.js +0 -2
  279. package/dist/components/vibecalendar/VibeCalWeekView.js +0 -2
  280. package/dist/components/vibecalendar/VibeCalendarHeader.js +0 -2
  281. package/dist/components/vibecalendar/VibeTaskBlock.js +0 -2
  282. package/dist/components/vibecalendar/expandOccurrences.js +0 -2
  283. package/dist/components/vibecalendar/types.js +0 -2
  284. package/dist/components/vibedeck/VibeDeckButtonForm.js +0 -2
  285. package/dist/components/vibedeck/VibeDeckButtonTile.js +0 -2
  286. package/dist/components/vibedeck/VibeDeckExecutionLog.js +0 -2
  287. package/dist/components/vibedeck/VibeDeckForm.js +0 -2
  288. package/dist/components/vibedeck/VibeDeckGrid.js +0 -2
  289. package/dist/components/vibedeck/VibeDeckPublicLinkPanel.js +0 -2
  290. package/dist/components/vibedeck/VibeDeckShareDialog.js +0 -2
  291. package/dist/components/vibedeck/VibeDeckSwitcher.js +0 -2
  292. package/dist/components/vibes/DeleteVibeDialog.js +0 -2
  293. package/dist/components/vibes/VibeCard.js +0 -2
  294. package/dist/components/vibes/VibeList.js +0 -2
  295. package/dist/components/vibes/icons.js +0 -2
  296. package/dist/components/webhooks/types.js +0 -2
  297. package/dist/config/assistantUsecases.js +0 -2
  298. package/dist/config/index.js +0 -2
  299. package/dist/constants/aiTabs.js +0 -2
  300. package/dist/constants/permissions.js +0 -2
  301. package/dist/constants/pluginCatalog.js +0 -2
  302. package/dist/generated/wspace-operations.js +0 -2
  303. package/dist/generated/wspace-types.js +0 -2
  304. package/dist/hooks/useActiveAgentProfile.js +0 -2
  305. package/dist/hooks/useAgentConnectivity.js +0 -2
  306. package/dist/hooks/useAgentEvents.js +0 -2
  307. package/dist/hooks/useAgentManagerKeyboard.js +0 -2
  308. package/dist/hooks/useAgentManagerStreaming.js +0 -2
  309. package/dist/hooks/useAiCreditsQuota.js +0 -2
  310. package/dist/hooks/useCachedInitialData.js +0 -2
  311. package/dist/hooks/useDraftEntityTags.js +0 -2
  312. package/dist/hooks/useEntityTags.js +0 -2
  313. package/dist/hooks/useGitops.js +0 -2
  314. package/dist/hooks/useInitialDataLoader.js +0 -2
  315. package/dist/hooks/useOfferedAssistantMode.js +0 -2
  316. package/dist/hooks/useOpenAssistantHelp.js +0 -2
  317. package/dist/hooks/usePluginAvailability.js +0 -2
  318. package/dist/hooks/useQueryBackedTab.js +0 -2
  319. package/dist/hooks/useTenantContext.js +0 -2
  320. package/dist/hooks/useTerminalCapabilityUrl.js +0 -2
  321. package/dist/hooks/useToggleAgentBookmark.js +0 -2
  322. package/dist/hooks/useVoiceMode.js +0 -2
  323. package/dist/hooks/useWorkspaceWriteAccess.js +0 -2
  324. package/dist/lib/apolloCache.js +0 -2
  325. package/dist/lib/toast.js +0 -2
  326. package/dist/lib/vibeFeatures.js +0 -2
  327. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js +0 -2
  328. package/dist/node_modules/@apollo/client/errors/ServerError.js +0 -2
  329. package/dist/node_modules/@apollo/client/errors/ServerParseError.js +0 -2
  330. package/dist/node_modules/@apollo/client/errors/utils.js +0 -2
  331. package/dist/node_modules/@apollo/client/link/batch/batchLink.js +0 -2
  332. package/dist/node_modules/@apollo/client/link/batch/batching.js +0 -2
  333. package/dist/node_modules/@apollo/client/link/batch-http/BaseBatchHttpLink.js +0 -2
  334. package/dist/node_modules/@apollo/client/link/batch-http/batchHttpLink.js +0 -2
  335. package/dist/node_modules/@apollo/client/link/client-awareness/ClientAwarenessLink.js +0 -2
  336. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js +0 -2
  337. package/dist/node_modules/@apollo/client/link/http/checkFetcher.js +0 -2
  338. package/dist/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js +0 -2
  339. package/dist/node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js +0 -2
  340. package/dist/node_modules/@apollo/client/link/http/selectURI.js +0 -2
  341. package/dist/node_modules/@apollo/client/link/utils/createOperation.js +0 -2
  342. package/dist/node_modules/@apollo/client/link/utils/filterOperationVariables.js +0 -2
  343. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js +0 -2
  344. package/dist/node_modules/@apollo/client/utilities/graphql/print.js +0 -2
  345. package/dist/node_modules/@apollo/client/utilities/internal/caches.js +0 -2
  346. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js +0 -2
  347. package/dist/node_modules/@apollo/client/utilities/internal/compact.js +0 -2
  348. package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js +0 -2
  349. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +0 -2
  350. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js +0 -2
  351. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +0 -2
  352. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js +0 -2
  353. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +0 -2
  354. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +0 -2
  355. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js +0 -2
  356. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +0 -2
  357. package/dist/node_modules/@apollo/client/utilities/invariant/index.js +0 -2
  358. package/dist/node_modules/@apollo/client/version.js +0 -2
  359. package/dist/node_modules/@wry/caches/lib/weak.js +0 -2
  360. package/dist/node_modules/@wry/trie/lib/index.js +0 -2
  361. package/dist/node_modules/clsx/dist/clsx.js +0 -2
  362. package/dist/node_modules/d3-array/src/ascending.js +0 -2
  363. package/dist/node_modules/d3-array/src/bisect.js +0 -2
  364. package/dist/node_modules/d3-array/src/bisector.js +0 -2
  365. package/dist/node_modules/d3-array/src/descending.js +0 -2
  366. package/dist/node_modules/d3-array/src/max.js +0 -2
  367. package/dist/node_modules/d3-array/src/min.js +0 -2
  368. package/dist/node_modules/d3-array/src/number.js +0 -2
  369. package/dist/node_modules/d3-array/src/quantile.js +0 -2
  370. package/dist/node_modules/d3-array/src/quickselect.js +0 -2
  371. package/dist/node_modules/d3-array/src/range.js +0 -2
  372. package/dist/node_modules/d3-array/src/sort.js +0 -2
  373. package/dist/node_modules/d3-array/src/ticks.js +0 -2
  374. package/dist/node_modules/d3-color/src/color.js +0 -2
  375. package/dist/node_modules/d3-color/src/define.js +0 -2
  376. package/dist/node_modules/d3-format/src/defaultLocale.js +0 -2
  377. package/dist/node_modules/d3-format/src/exponent.js +0 -2
  378. package/dist/node_modules/d3-format/src/formatDecimal.js +0 -2
  379. package/dist/node_modules/d3-format/src/formatGroup.js +0 -2
  380. package/dist/node_modules/d3-format/src/formatNumerals.js +0 -2
  381. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -2
  382. package/dist/node_modules/d3-format/src/formatRounded.js +0 -2
  383. package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -2
  384. package/dist/node_modules/d3-format/src/formatTrim.js +0 -2
  385. package/dist/node_modules/d3-format/src/formatTypes.js +0 -2
  386. package/dist/node_modules/d3-format/src/identity.js +0 -2
  387. package/dist/node_modules/d3-format/src/locale.js +0 -2
  388. package/dist/node_modules/d3-format/src/precisionFixed.js +0 -2
  389. package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -2
  390. package/dist/node_modules/d3-format/src/precisionRound.js +0 -2
  391. package/dist/node_modules/d3-interpolate/src/array.js +0 -2
  392. package/dist/node_modules/d3-interpolate/src/basis.js +0 -2
  393. package/dist/node_modules/d3-interpolate/src/basisClosed.js +0 -2
  394. package/dist/node_modules/d3-interpolate/src/color.js +0 -2
  395. package/dist/node_modules/d3-interpolate/src/constant.js +0 -2
  396. package/dist/node_modules/d3-interpolate/src/date.js +0 -2
  397. package/dist/node_modules/d3-interpolate/src/number.js +0 -2
  398. package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -2
  399. package/dist/node_modules/d3-interpolate/src/object.js +0 -2
  400. package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -2
  401. package/dist/node_modules/d3-interpolate/src/rgb.js +0 -2
  402. package/dist/node_modules/d3-interpolate/src/round.js +0 -2
  403. package/dist/node_modules/d3-interpolate/src/string.js +0 -2
  404. package/dist/node_modules/d3-interpolate/src/value.js +0 -2
  405. package/dist/node_modules/d3-path/src/path.js +0 -2
  406. package/dist/node_modules/d3-scale/src/band.js +0 -2
  407. package/dist/node_modules/d3-scale/src/constant.js +0 -2
  408. package/dist/node_modules/d3-scale/src/continuous.js +0 -2
  409. package/dist/node_modules/d3-scale/src/diverging.js +0 -2
  410. package/dist/node_modules/d3-scale/src/identity.js +0 -2
  411. package/dist/node_modules/d3-scale/src/init.js +0 -2
  412. package/dist/node_modules/d3-scale/src/linear.js +0 -2
  413. package/dist/node_modules/d3-scale/src/log.js +0 -2
  414. package/dist/node_modules/d3-scale/src/nice.js +0 -2
  415. package/dist/node_modules/d3-scale/src/number.js +0 -2
  416. package/dist/node_modules/d3-scale/src/ordinal.js +0 -2
  417. package/dist/node_modules/d3-scale/src/pow.js +0 -2
  418. package/dist/node_modules/d3-scale/src/quantile.js +0 -2
  419. package/dist/node_modules/d3-scale/src/quantize.js +0 -2
  420. package/dist/node_modules/d3-scale/src/radial.js +0 -2
  421. package/dist/node_modules/d3-scale/src/sequential.js +0 -2
  422. package/dist/node_modules/d3-scale/src/sequentialQuantile.js +0 -2
  423. package/dist/node_modules/d3-scale/src/symlog.js +0 -2
  424. package/dist/node_modules/d3-scale/src/threshold.js +0 -2
  425. package/dist/node_modules/d3-scale/src/tickFormat.js +0 -2
  426. package/dist/node_modules/d3-scale/src/time.js +0 -2
  427. package/dist/node_modules/d3-scale/src/utcTime.js +0 -2
  428. package/dist/node_modules/d3-shape/src/area.js +0 -2
  429. package/dist/node_modules/d3-shape/src/array.js +0 -2
  430. package/dist/node_modules/d3-shape/src/constant.js +0 -2
  431. package/dist/node_modules/d3-shape/src/curve/basis.js +0 -2
  432. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -2
  433. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -2
  434. package/dist/node_modules/d3-shape/src/curve/bump.js +0 -2
  435. package/dist/node_modules/d3-shape/src/curve/linear.js +0 -2
  436. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -2
  437. package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -2
  438. package/dist/node_modules/d3-shape/src/curve/natural.js +0 -2
  439. package/dist/node_modules/d3-shape/src/curve/step.js +0 -2
  440. package/dist/node_modules/d3-shape/src/line.js +0 -2
  441. package/dist/node_modules/d3-shape/src/math.js +0 -2
  442. package/dist/node_modules/d3-shape/src/noop.js +0 -2
  443. package/dist/node_modules/d3-shape/src/offset/expand.js +0 -2
  444. package/dist/node_modules/d3-shape/src/offset/none.js +0 -2
  445. package/dist/node_modules/d3-shape/src/offset/silhouette.js +0 -2
  446. package/dist/node_modules/d3-shape/src/offset/wiggle.js +0 -2
  447. package/dist/node_modules/d3-shape/src/order/none.js +0 -2
  448. package/dist/node_modules/d3-shape/src/path.js +0 -2
  449. package/dist/node_modules/d3-shape/src/point.js +0 -2
  450. package/dist/node_modules/d3-shape/src/stack.js +0 -2
  451. package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -2
  452. package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -2
  453. package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -2
  454. package/dist/node_modules/d3-shape/src/symbol/square.js +0 -2
  455. package/dist/node_modules/d3-shape/src/symbol/star.js +0 -2
  456. package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -2
  457. package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -2
  458. package/dist/node_modules/d3-shape/src/symbol.js +0 -2
  459. package/dist/node_modules/d3-time/src/day.js +0 -2
  460. package/dist/node_modules/d3-time/src/duration.js +0 -2
  461. package/dist/node_modules/d3-time/src/hour.js +0 -2
  462. package/dist/node_modules/d3-time/src/interval.js +0 -2
  463. package/dist/node_modules/d3-time/src/millisecond.js +0 -2
  464. package/dist/node_modules/d3-time/src/minute.js +0 -2
  465. package/dist/node_modules/d3-time/src/month.js +0 -2
  466. package/dist/node_modules/d3-time/src/second.js +0 -2
  467. package/dist/node_modules/d3-time/src/ticks.js +0 -2
  468. package/dist/node_modules/d3-time/src/week.js +0 -2
  469. package/dist/node_modules/d3-time/src/year.js +0 -2
  470. package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -2
  471. package/dist/node_modules/d3-time-format/src/locale.js +0 -2
  472. package/dist/node_modules/dagre/index.js +0 -2
  473. package/dist/node_modules/dagre/lib/acyclic.js +0 -2
  474. package/dist/node_modules/dagre/lib/add-border-segments.js +0 -2
  475. package/dist/node_modules/dagre/lib/coordinate-system.js +0 -2
  476. package/dist/node_modules/dagre/lib/data/list.js +0 -2
  477. package/dist/node_modules/dagre/lib/debug.js +0 -2
  478. package/dist/node_modules/dagre/lib/graphlib.js +0 -2
  479. package/dist/node_modules/dagre/lib/greedy-fas.js +0 -2
  480. package/dist/node_modules/dagre/lib/layout.js +0 -2
  481. package/dist/node_modules/dagre/lib/lodash.js +0 -2
  482. package/dist/node_modules/dagre/lib/nesting-graph.js +0 -2
  483. package/dist/node_modules/dagre/lib/normalize.js +0 -2
  484. package/dist/node_modules/dagre/lib/order/add-subgraph-constraints.js +0 -2
  485. package/dist/node_modules/dagre/lib/order/barycenter.js +0 -2
  486. package/dist/node_modules/dagre/lib/order/build-layer-graph.js +0 -2
  487. package/dist/node_modules/dagre/lib/order/cross-count.js +0 -2
  488. package/dist/node_modules/dagre/lib/order/index.js +0 -2
  489. package/dist/node_modules/dagre/lib/order/init-order.js +0 -2
  490. package/dist/node_modules/dagre/lib/order/resolve-conflicts.js +0 -2
  491. package/dist/node_modules/dagre/lib/order/sort-subgraph.js +0 -2
  492. package/dist/node_modules/dagre/lib/order/sort.js +0 -2
  493. package/dist/node_modules/dagre/lib/parent-dummy-chains.js +0 -2
  494. package/dist/node_modules/dagre/lib/position/bk.js +0 -2
  495. package/dist/node_modules/dagre/lib/position/index.js +0 -2
  496. package/dist/node_modules/dagre/lib/rank/feasible-tree.js +0 -2
  497. package/dist/node_modules/dagre/lib/rank/index.js +0 -2
  498. package/dist/node_modules/dagre/lib/rank/network-simplex.js +0 -2
  499. package/dist/node_modules/dagre/lib/rank/util.js +0 -2
  500. package/dist/node_modules/dagre/lib/util.js +0 -2
  501. package/dist/node_modules/dagre/lib/version.js +0 -2
  502. package/dist/node_modules/decimal.js-light/decimal.js +0 -2
  503. package/dist/node_modules/eventemitter3/index.js +0 -2
  504. package/dist/node_modules/fast-equals/dist/es/index.js +0 -2
  505. package/dist/node_modules/graphlib/index.js +0 -2
  506. package/dist/node_modules/graphlib/lib/alg/components.js +0 -2
  507. package/dist/node_modules/graphlib/lib/alg/dfs.js +0 -2
  508. package/dist/node_modules/graphlib/lib/alg/dijkstra-all.js +0 -2
  509. package/dist/node_modules/graphlib/lib/alg/dijkstra.js +0 -2
  510. package/dist/node_modules/graphlib/lib/alg/find-cycles.js +0 -2
  511. package/dist/node_modules/graphlib/lib/alg/floyd-warshall.js +0 -2
  512. package/dist/node_modules/graphlib/lib/alg/index.js +0 -2
  513. package/dist/node_modules/graphlib/lib/alg/is-acyclic.js +0 -2
  514. package/dist/node_modules/graphlib/lib/alg/postorder.js +0 -2
  515. package/dist/node_modules/graphlib/lib/alg/preorder.js +0 -2
  516. package/dist/node_modules/graphlib/lib/alg/prim.js +0 -2
  517. package/dist/node_modules/graphlib/lib/alg/tarjan.js +0 -2
  518. package/dist/node_modules/graphlib/lib/alg/topsort.js +0 -2
  519. package/dist/node_modules/graphlib/lib/data/priority-queue.js +0 -2
  520. package/dist/node_modules/graphlib/lib/graph.js +0 -2
  521. package/dist/node_modules/graphlib/lib/index.js +0 -2
  522. package/dist/node_modules/graphlib/lib/json.js +0 -2
  523. package/dist/node_modules/graphlib/lib/lodash.js +0 -2
  524. package/dist/node_modules/graphlib/lib/version.js +0 -2
  525. package/dist/node_modules/internmap/src/index.js +0 -2
  526. package/dist/node_modules/lodash/_DataView.js +0 -2
  527. package/dist/node_modules/lodash/_Hash.js +0 -2
  528. package/dist/node_modules/lodash/_ListCache.js +0 -2
  529. package/dist/node_modules/lodash/_Map.js +0 -2
  530. package/dist/node_modules/lodash/_MapCache.js +0 -2
  531. package/dist/node_modules/lodash/_Promise.js +0 -2
  532. package/dist/node_modules/lodash/_Set.js +0 -2
  533. package/dist/node_modules/lodash/_SetCache.js +0 -2
  534. package/dist/node_modules/lodash/_Stack.js +0 -2
  535. package/dist/node_modules/lodash/_Symbol.js +0 -2
  536. package/dist/node_modules/lodash/_Uint8Array.js +0 -2
  537. package/dist/node_modules/lodash/_WeakMap.js +0 -2
  538. package/dist/node_modules/lodash/_apply.js +0 -2
  539. package/dist/node_modules/lodash/_arrayEach.js +0 -2
  540. package/dist/node_modules/lodash/_arrayEvery.js +0 -2
  541. package/dist/node_modules/lodash/_arrayFilter.js +0 -2
  542. package/dist/node_modules/lodash/_arrayIncludes.js +0 -2
  543. package/dist/node_modules/lodash/_arrayIncludesWith.js +0 -2
  544. package/dist/node_modules/lodash/_arrayLikeKeys.js +0 -2
  545. package/dist/node_modules/lodash/_arrayMap.js +0 -2
  546. package/dist/node_modules/lodash/_arrayPush.js +0 -2
  547. package/dist/node_modules/lodash/_arrayReduce.js +0 -2
  548. package/dist/node_modules/lodash/_arraySome.js +0 -2
  549. package/dist/node_modules/lodash/_asciiSize.js +0 -2
  550. package/dist/node_modules/lodash/_asciiToArray.js +0 -2
  551. package/dist/node_modules/lodash/_assignMergeValue.js +0 -2
  552. package/dist/node_modules/lodash/_assignValue.js +0 -2
  553. package/dist/node_modules/lodash/_assocIndexOf.js +0 -2
  554. package/dist/node_modules/lodash/_baseAssign.js +0 -2
  555. package/dist/node_modules/lodash/_baseAssignIn.js +0 -2
  556. package/dist/node_modules/lodash/_baseAssignValue.js +0 -2
  557. package/dist/node_modules/lodash/_baseClone.js +0 -2
  558. package/dist/node_modules/lodash/_baseCreate.js +0 -2
  559. package/dist/node_modules/lodash/_baseEach.js +0 -2
  560. package/dist/node_modules/lodash/_baseEvery.js +0 -2
  561. package/dist/node_modules/lodash/_baseExtremum.js +0 -2
  562. package/dist/node_modules/lodash/_baseFilter.js +0 -2
  563. package/dist/node_modules/lodash/_baseFindIndex.js +0 -2
  564. package/dist/node_modules/lodash/_baseFlatten.js +0 -2
  565. package/dist/node_modules/lodash/_baseFor.js +0 -2
  566. package/dist/node_modules/lodash/_baseForOwn.js +0 -2
  567. package/dist/node_modules/lodash/_baseGet.js +0 -2
  568. package/dist/node_modules/lodash/_baseGetAllKeys.js +0 -2
  569. package/dist/node_modules/lodash/_baseGetTag.js +0 -2
  570. package/dist/node_modules/lodash/_baseGt.js +0 -2
  571. package/dist/node_modules/lodash/_baseHas.js +0 -2
  572. package/dist/node_modules/lodash/_baseHasIn.js +0 -2
  573. package/dist/node_modules/lodash/_baseIndexOf.js +0 -2
  574. package/dist/node_modules/lodash/_baseIsArguments.js +0 -2
  575. package/dist/node_modules/lodash/_baseIsEqual.js +0 -2
  576. package/dist/node_modules/lodash/_baseIsEqualDeep.js +0 -2
  577. package/dist/node_modules/lodash/_baseIsMap.js +0 -2
  578. package/dist/node_modules/lodash/_baseIsMatch.js +0 -2
  579. package/dist/node_modules/lodash/_baseIsNaN.js +0 -2
  580. package/dist/node_modules/lodash/_baseIsNative.js +0 -2
  581. package/dist/node_modules/lodash/_baseIsSet.js +0 -2
  582. package/dist/node_modules/lodash/_baseIsTypedArray.js +0 -2
  583. package/dist/node_modules/lodash/_baseIteratee.js +0 -2
  584. package/dist/node_modules/lodash/_baseKeys.js +0 -2
  585. package/dist/node_modules/lodash/_baseKeysIn.js +0 -2
  586. package/dist/node_modules/lodash/_baseLt.js +0 -2
  587. package/dist/node_modules/lodash/_baseMap.js +0 -2
  588. package/dist/node_modules/lodash/_baseMatches.js +0 -2
  589. package/dist/node_modules/lodash/_baseMatchesProperty.js +0 -2
  590. package/dist/node_modules/lodash/_baseMerge.js +0 -2
  591. package/dist/node_modules/lodash/_baseMergeDeep.js +0 -2
  592. package/dist/node_modules/lodash/_baseOrderBy.js +0 -2
  593. package/dist/node_modules/lodash/_basePick.js +0 -2
  594. package/dist/node_modules/lodash/_basePickBy.js +0 -2
  595. package/dist/node_modules/lodash/_baseProperty.js +0 -2
  596. package/dist/node_modules/lodash/_basePropertyDeep.js +0 -2
  597. package/dist/node_modules/lodash/_baseRange.js +0 -2
  598. package/dist/node_modules/lodash/_baseReduce.js +0 -2
  599. package/dist/node_modules/lodash/_baseRest.js +0 -2
  600. package/dist/node_modules/lodash/_baseSet.js +0 -2
  601. package/dist/node_modules/lodash/_baseSetToString.js +0 -2
  602. package/dist/node_modules/lodash/_baseSlice.js +0 -2
  603. package/dist/node_modules/lodash/_baseSome.js +0 -2
  604. package/dist/node_modules/lodash/_baseSortBy.js +0 -2
  605. package/dist/node_modules/lodash/_baseTimes.js +0 -2
  606. package/dist/node_modules/lodash/_baseToString.js +0 -2
  607. package/dist/node_modules/lodash/_baseTrim.js +0 -2
  608. package/dist/node_modules/lodash/_baseUnary.js +0 -2
  609. package/dist/node_modules/lodash/_baseUniq.js +0 -2
  610. package/dist/node_modules/lodash/_baseValues.js +0 -2
  611. package/dist/node_modules/lodash/_baseZipObject.js +0 -2
  612. package/dist/node_modules/lodash/_cacheHas.js +0 -2
  613. package/dist/node_modules/lodash/_castFunction.js +0 -2
  614. package/dist/node_modules/lodash/_castPath.js +0 -2
  615. package/dist/node_modules/lodash/_castSlice.js +0 -2
  616. package/dist/node_modules/lodash/_cloneArrayBuffer.js +0 -2
  617. package/dist/node_modules/lodash/_cloneBuffer.js +0 -2
  618. package/dist/node_modules/lodash/_cloneDataView.js +0 -2
  619. package/dist/node_modules/lodash/_cloneRegExp.js +0 -2
  620. package/dist/node_modules/lodash/_cloneSymbol.js +0 -2
  621. package/dist/node_modules/lodash/_cloneTypedArray.js +0 -2
  622. package/dist/node_modules/lodash/_compareAscending.js +0 -2
  623. package/dist/node_modules/lodash/_compareMultiple.js +0 -2
  624. package/dist/node_modules/lodash/_copyArray.js +0 -2
  625. package/dist/node_modules/lodash/_copyObject.js +0 -2
  626. package/dist/node_modules/lodash/_copySymbols.js +0 -2
  627. package/dist/node_modules/lodash/_copySymbolsIn.js +0 -2
  628. package/dist/node_modules/lodash/_coreJsData.js +0 -2
  629. package/dist/node_modules/lodash/_createAssigner.js +0 -2
  630. package/dist/node_modules/lodash/_createBaseEach.js +0 -2
  631. package/dist/node_modules/lodash/_createBaseFor.js +0 -2
  632. package/dist/node_modules/lodash/_createCaseFirst.js +0 -2
  633. package/dist/node_modules/lodash/_createFind.js +0 -2
  634. package/dist/node_modules/lodash/_createRange.js +0 -2
  635. package/dist/node_modules/lodash/_createSet.js +0 -2
  636. package/dist/node_modules/lodash/_defineProperty.js +0 -2
  637. package/dist/node_modules/lodash/_equalArrays.js +0 -2
  638. package/dist/node_modules/lodash/_equalByTag.js +0 -2
  639. package/dist/node_modules/lodash/_equalObjects.js +0 -2
  640. package/dist/node_modules/lodash/_flatRest.js +0 -2
  641. package/dist/node_modules/lodash/_freeGlobal.js +0 -2
  642. package/dist/node_modules/lodash/_getAllKeys.js +0 -2
  643. package/dist/node_modules/lodash/_getAllKeysIn.js +0 -2
  644. package/dist/node_modules/lodash/_getMapData.js +0 -2
  645. package/dist/node_modules/lodash/_getMatchData.js +0 -2
  646. package/dist/node_modules/lodash/_getNative.js +0 -2
  647. package/dist/node_modules/lodash/_getPrototype.js +0 -2
  648. package/dist/node_modules/lodash/_getRawTag.js +0 -2
  649. package/dist/node_modules/lodash/_getSymbols.js +0 -2
  650. package/dist/node_modules/lodash/_getSymbolsIn.js +0 -2
  651. package/dist/node_modules/lodash/_getTag.js +0 -2
  652. package/dist/node_modules/lodash/_getValue.js +0 -2
  653. package/dist/node_modules/lodash/_hasPath.js +0 -2
  654. package/dist/node_modules/lodash/_hasUnicode.js +0 -2
  655. package/dist/node_modules/lodash/_hashClear.js +0 -2
  656. package/dist/node_modules/lodash/_hashDelete.js +0 -2
  657. package/dist/node_modules/lodash/_hashGet.js +0 -2
  658. package/dist/node_modules/lodash/_hashHas.js +0 -2
  659. package/dist/node_modules/lodash/_hashSet.js +0 -2
  660. package/dist/node_modules/lodash/_initCloneArray.js +0 -2
  661. package/dist/node_modules/lodash/_initCloneByTag.js +0 -2
  662. package/dist/node_modules/lodash/_initCloneObject.js +0 -2
  663. package/dist/node_modules/lodash/_isFlattenable.js +0 -2
  664. package/dist/node_modules/lodash/_isIndex.js +0 -2
  665. package/dist/node_modules/lodash/_isIterateeCall.js +0 -2
  666. package/dist/node_modules/lodash/_isKey.js +0 -2
  667. package/dist/node_modules/lodash/_isKeyable.js +0 -2
  668. package/dist/node_modules/lodash/_isMasked.js +0 -2
  669. package/dist/node_modules/lodash/_isPrototype.js +0 -2
  670. package/dist/node_modules/lodash/_isStrictComparable.js +0 -2
  671. package/dist/node_modules/lodash/_listCacheClear.js +0 -2
  672. package/dist/node_modules/lodash/_listCacheDelete.js +0 -2
  673. package/dist/node_modules/lodash/_listCacheGet.js +0 -2
  674. package/dist/node_modules/lodash/_listCacheHas.js +0 -2
  675. package/dist/node_modules/lodash/_listCacheSet.js +0 -2
  676. package/dist/node_modules/lodash/_mapCacheClear.js +0 -2
  677. package/dist/node_modules/lodash/_mapCacheDelete.js +0 -2
  678. package/dist/node_modules/lodash/_mapCacheGet.js +0 -2
  679. package/dist/node_modules/lodash/_mapCacheHas.js +0 -2
  680. package/dist/node_modules/lodash/_mapCacheSet.js +0 -2
  681. package/dist/node_modules/lodash/_mapToArray.js +0 -2
  682. package/dist/node_modules/lodash/_matchesStrictComparable.js +0 -2
  683. package/dist/node_modules/lodash/_memoizeCapped.js +0 -2
  684. package/dist/node_modules/lodash/_nativeCreate.js +0 -2
  685. package/dist/node_modules/lodash/_nativeKeys.js +0 -2
  686. package/dist/node_modules/lodash/_nativeKeysIn.js +0 -2
  687. package/dist/node_modules/lodash/_nodeUtil.js +0 -2
  688. package/dist/node_modules/lodash/_objectToString.js +0 -2
  689. package/dist/node_modules/lodash/_overArg.js +0 -2
  690. package/dist/node_modules/lodash/_overRest.js +0 -2
  691. package/dist/node_modules/lodash/_root.js +0 -2
  692. package/dist/node_modules/lodash/_safeGet.js +0 -2
  693. package/dist/node_modules/lodash/_setCacheAdd.js +0 -2
  694. package/dist/node_modules/lodash/_setCacheHas.js +0 -2
  695. package/dist/node_modules/lodash/_setToArray.js +0 -2
  696. package/dist/node_modules/lodash/_setToString.js +0 -2
  697. package/dist/node_modules/lodash/_shortOut.js +0 -2
  698. package/dist/node_modules/lodash/_stackClear.js +0 -2
  699. package/dist/node_modules/lodash/_stackDelete.js +0 -2
  700. package/dist/node_modules/lodash/_stackGet.js +0 -2
  701. package/dist/node_modules/lodash/_stackHas.js +0 -2
  702. package/dist/node_modules/lodash/_stackSet.js +0 -2
  703. package/dist/node_modules/lodash/_strictIndexOf.js +0 -2
  704. package/dist/node_modules/lodash/_stringSize.js +0 -2
  705. package/dist/node_modules/lodash/_stringToArray.js +0 -2
  706. package/dist/node_modules/lodash/_stringToPath.js +0 -2
  707. package/dist/node_modules/lodash/_toKey.js +0 -2
  708. package/dist/node_modules/lodash/_toSource.js +0 -2
  709. package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -2
  710. package/dist/node_modules/lodash/_unicodeSize.js +0 -2
  711. package/dist/node_modules/lodash/_unicodeToArray.js +0 -2
  712. package/dist/node_modules/lodash/clone.js +0 -2
  713. package/dist/node_modules/lodash/cloneDeep.js +0 -2
  714. package/dist/node_modules/lodash/constant.js +0 -2
  715. package/dist/node_modules/lodash/debounce.js +0 -2
  716. package/dist/node_modules/lodash/defaults.js +0 -2
  717. package/dist/node_modules/lodash/each.js +0 -2
  718. package/dist/node_modules/lodash/eq.js +0 -2
  719. package/dist/node_modules/lodash/every.js +0 -2
  720. package/dist/node_modules/lodash/filter.js +0 -2
  721. package/dist/node_modules/lodash/find.js +0 -2
  722. package/dist/node_modules/lodash/findIndex.js +0 -2
  723. package/dist/node_modules/lodash/flatMap.js +0 -2
  724. package/dist/node_modules/lodash/flatten.js +0 -2
  725. package/dist/node_modules/lodash/forEach.js +0 -2
  726. package/dist/node_modules/lodash/forIn.js +0 -2
  727. package/dist/node_modules/lodash/get.js +0 -2
  728. package/dist/node_modules/lodash/has.js +0 -2
  729. package/dist/node_modules/lodash/hasIn.js +0 -2
  730. package/dist/node_modules/lodash/identity.js +0 -2
  731. package/dist/node_modules/lodash/isArguments.js +0 -2
  732. package/dist/node_modules/lodash/isArray.js +0 -2
  733. package/dist/node_modules/lodash/isArrayLike.js +0 -2
  734. package/dist/node_modules/lodash/isArrayLikeObject.js +0 -2
  735. package/dist/node_modules/lodash/isBoolean.js +0 -2
  736. package/dist/node_modules/lodash/isBuffer.js +0 -2
  737. package/dist/node_modules/lodash/isEmpty.js +0 -2
  738. package/dist/node_modules/lodash/isEqual.js +0 -2
  739. package/dist/node_modules/lodash/isFunction.js +0 -2
  740. package/dist/node_modules/lodash/isLength.js +0 -2
  741. package/dist/node_modules/lodash/isMap.js +0 -2
  742. package/dist/node_modules/lodash/isNaN.js +0 -2
  743. package/dist/node_modules/lodash/isNil.js +0 -2
  744. package/dist/node_modules/lodash/isNumber.js +0 -2
  745. package/dist/node_modules/lodash/isObject.js +0 -2
  746. package/dist/node_modules/lodash/isObjectLike.js +0 -2
  747. package/dist/node_modules/lodash/isPlainObject.js +0 -2
  748. package/dist/node_modules/lodash/isSet.js +0 -2
  749. package/dist/node_modules/lodash/isString.js +0 -2
  750. package/dist/node_modules/lodash/isSymbol.js +0 -2
  751. package/dist/node_modules/lodash/isTypedArray.js +0 -2
  752. package/dist/node_modules/lodash/isUndefined.js +0 -2
  753. package/dist/node_modules/lodash/keys.js +0 -2
  754. package/dist/node_modules/lodash/keysIn.js +0 -2
  755. package/dist/node_modules/lodash/last.js +0 -2
  756. package/dist/node_modules/lodash/map.js +0 -2
  757. package/dist/node_modules/lodash/mapValues.js +0 -2
  758. package/dist/node_modules/lodash/max.js +0 -2
  759. package/dist/node_modules/lodash/maxBy.js +0 -2
  760. package/dist/node_modules/lodash/memoize.js +0 -2
  761. package/dist/node_modules/lodash/merge.js +0 -2
  762. package/dist/node_modules/lodash/min.js +0 -2
  763. package/dist/node_modules/lodash/minBy.js +0 -2
  764. package/dist/node_modules/lodash/noop.js +0 -2
  765. package/dist/node_modules/lodash/now.js +0 -2
  766. package/dist/node_modules/lodash/pick.js +0 -2
  767. package/dist/node_modules/lodash/property.js +0 -2
  768. package/dist/node_modules/lodash/range.js +0 -2
  769. package/dist/node_modules/lodash/reduce.js +0 -2
  770. package/dist/node_modules/lodash/size.js +0 -2
  771. package/dist/node_modules/lodash/some.js +0 -2
  772. package/dist/node_modules/lodash/sortBy.js +0 -2
  773. package/dist/node_modules/lodash/stubArray.js +0 -2
  774. package/dist/node_modules/lodash/stubFalse.js +0 -2
  775. package/dist/node_modules/lodash/throttle.js +0 -2
  776. package/dist/node_modules/lodash/toFinite.js +0 -2
  777. package/dist/node_modules/lodash/toInteger.js +0 -2
  778. package/dist/node_modules/lodash/toNumber.js +0 -2
  779. package/dist/node_modules/lodash/toPlainObject.js +0 -2
  780. package/dist/node_modules/lodash/toString.js +0 -2
  781. package/dist/node_modules/lodash/transform.js +0 -2
  782. package/dist/node_modules/lodash/union.js +0 -2
  783. package/dist/node_modules/lodash/uniqBy.js +0 -2
  784. package/dist/node_modules/lodash/uniqueId.js +0 -2
  785. package/dist/node_modules/lodash/upperFirst.js +0 -2
  786. package/dist/node_modules/lodash/values.js +0 -2
  787. package/dist/node_modules/lodash/zipObject.js +0 -2
  788. package/dist/node_modules/object-assign/index.js +0 -2
  789. package/dist/node_modules/prop-types/checkPropTypes.js +0 -2
  790. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -2
  791. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -2
  792. package/dist/node_modules/prop-types/index.js +0 -2
  793. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -2
  794. package/dist/node_modules/prop-types/lib/has.js +0 -2
  795. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -2
  796. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -2
  797. package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -2
  798. package/dist/node_modules/react-is/cjs/react-is.development.js +0 -2
  799. package/dist/node_modules/react-is/cjs/react-is.production.min.js +0 -2
  800. package/dist/node_modules/react-is/index.js +0 -2
  801. package/dist/node_modules/react-smooth/es6/Animate.js +0 -2
  802. package/dist/node_modules/react-smooth/es6/AnimateManager.js +0 -2
  803. package/dist/node_modules/react-smooth/es6/configUpdate.js +0 -2
  804. package/dist/node_modules/react-smooth/es6/easing.js +0 -2
  805. package/dist/node_modules/react-smooth/es6/index.js +0 -2
  806. package/dist/node_modules/react-smooth/es6/setRafTimeout.js +0 -2
  807. package/dist/node_modules/react-smooth/es6/util.js +0 -2
  808. package/dist/node_modules/recharts/es6/cartesian/Area.js +0 -2
  809. package/dist/node_modules/recharts/es6/cartesian/Bar.js +0 -2
  810. package/dist/node_modules/recharts/es6/cartesian/Brush.js +0 -2
  811. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +0 -2
  812. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +0 -2
  813. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +0 -2
  814. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +0 -2
  815. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +0 -2
  816. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +0 -2
  817. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +0 -2
  818. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +0 -2
  819. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +0 -2
  820. package/dist/node_modules/recharts/es6/cartesian/getTicks.js +0 -2
  821. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +0 -2
  822. package/dist/node_modules/recharts/es6/chart/AreaChart.js +0 -2
  823. package/dist/node_modules/recharts/es6/chart/PieChart.js +0 -2
  824. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +0 -2
  825. package/dist/node_modules/recharts/es6/component/Cell.js +0 -2
  826. package/dist/node_modules/recharts/es6/component/Cursor.js +0 -2
  827. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +0 -2
  828. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +0 -2
  829. package/dist/node_modules/recharts/es6/component/Label.js +0 -2
  830. package/dist/node_modules/recharts/es6/component/LabelList.js +0 -2
  831. package/dist/node_modules/recharts/es6/component/Legend.js +0 -2
  832. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +0 -2
  833. package/dist/node_modules/recharts/es6/component/Text.js +0 -2
  834. package/dist/node_modules/recharts/es6/component/Tooltip.js +0 -2
  835. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +0 -2
  836. package/dist/node_modules/recharts/es6/container/Layer.js +0 -2
  837. package/dist/node_modules/recharts/es6/container/Surface.js +0 -2
  838. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +0 -2
  839. package/dist/node_modules/recharts/es6/polar/Pie.js +0 -2
  840. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +0 -2
  841. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +0 -2
  842. package/dist/node_modules/recharts/es6/shape/Cross.js +0 -2
  843. package/dist/node_modules/recharts/es6/shape/Curve.js +0 -2
  844. package/dist/node_modules/recharts/es6/shape/Dot.js +0 -2
  845. package/dist/node_modules/recharts/es6/shape/Polygon.js +0 -2
  846. package/dist/node_modules/recharts/es6/shape/Rectangle.js +0 -2
  847. package/dist/node_modules/recharts/es6/shape/Sector.js +0 -2
  848. package/dist/node_modules/recharts/es6/shape/Symbols.js +0 -2
  849. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +0 -2
  850. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +0 -2
  851. package/dist/node_modules/recharts/es6/util/BarUtils.js +0 -2
  852. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +0 -2
  853. package/dist/node_modules/recharts/es6/util/ChartUtils.js +0 -2
  854. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +0 -2
  855. package/dist/node_modules/recharts/es6/util/DOMUtils.js +0 -2
  856. package/dist/node_modules/recharts/es6/util/DataUtils.js +0 -2
  857. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +0 -2
  858. package/dist/node_modules/recharts/es6/util/Events.js +0 -2
  859. package/dist/node_modules/recharts/es6/util/Global.js +0 -2
  860. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +0 -2
  861. package/dist/node_modules/recharts/es6/util/LogUtils.js +0 -2
  862. package/dist/node_modules/recharts/es6/util/PolarUtils.js +0 -2
  863. package/dist/node_modules/recharts/es6/util/ReactUtils.js +0 -2
  864. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +0 -2
  865. package/dist/node_modules/recharts/es6/util/ShallowEqual.js +0 -2
  866. package/dist/node_modules/recharts/es6/util/TickUtils.js +0 -2
  867. package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -2
  868. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +0 -2
  869. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +0 -2
  870. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +0 -2
  871. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +0 -2
  872. package/dist/node_modules/recharts/es6/util/getLegendProps.js +0 -2
  873. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +0 -2
  874. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +0 -2
  875. package/dist/node_modules/recharts/es6/util/tooltip/translate.js +0 -2
  876. package/dist/node_modules/recharts/es6/util/types.js +0 -2
  877. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +0 -2
  878. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +0 -2
  879. package/dist/node_modules/recharts-scale/es6/util/utils.js +0 -2
  880. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js +0 -2
  881. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js +0 -2
  882. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +0 -2
  883. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +0 -2
  884. package/dist/node_modules/rxjs/dist/esm5/internal/config.js +0 -2
  885. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js +0 -2
  886. package/dist/node_modules/rxjs/dist/esm5/internal/observable/throwError.js +0 -2
  887. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +0 -2
  888. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js +0 -2
  889. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +0 -2
  890. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +0 -2
  891. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +0 -2
  892. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +0 -2
  893. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +0 -2
  894. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +0 -2
  895. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +0 -2
  896. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js +0 -2
  897. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +0 -2
  898. package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js +0 -2
  899. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +0 -2
  900. package/dist/node_modules/victory-vendor/es/d3-scale.js +0 -2
  901. package/dist/pages/ActionsPage.js +0 -2
  902. package/dist/pages/AgentDetailsPage.js +0 -2
  903. package/dist/pages/AgentGraphPage.js +0 -2
  904. package/dist/pages/AgentsLandingPage.js +0 -2
  905. package/dist/pages/AgentsPage.js +0 -2
  906. package/dist/pages/AnalyticsPage.js +0 -2
  907. package/dist/pages/CatalogDetailPage.js +0 -2
  908. package/dist/pages/CatalogDocsPage.js +0 -2
  909. package/dist/pages/CatalogPage.js +0 -2
  910. package/dist/pages/ComponentDetailPage.js +0 -2
  911. package/dist/pages/ComponentDocsPage.js +0 -2
  912. package/dist/pages/ComponentsPage.js +0 -2
  913. package/dist/pages/EnvTopologyPage.js +0 -2
  914. package/dist/pages/GettingStartedPage.js +0 -2
  915. package/dist/pages/HealthPage.js +0 -2
  916. package/dist/pages/LogsPage.js +0 -2
  917. package/dist/pages/NoteDetailsPage.js +0 -2
  918. package/dist/pages/OverviewPage.js +0 -2
  919. package/dist/pages/PluginDetailPage.js +0 -2
  920. package/dist/pages/PluginsCatalogPage.js +0 -2
  921. package/dist/pages/ScheduledJobDetailPage.js +0 -2
  922. package/dist/pages/SessionDetailsPage.js +0 -2
  923. package/dist/pages/SessionsPage.js +0 -2
  924. package/dist/pages/SettingsPage.js +0 -2
  925. package/dist/pages/SharedSessionPage.js +0 -2
  926. package/dist/pages/SharedVibeDeckPage.js +0 -2
  927. package/dist/pages/TargetDetailsPage.js +0 -2
  928. package/dist/pages/TargetsPage.js +0 -2
  929. package/dist/pages/TemplateDetailPage.js +0 -2
  930. package/dist/pages/TemplatesPage.js +0 -2
  931. package/dist/pages/TunnelsLandingPage.js +0 -2
  932. package/dist/pages/VibeAuditPage.js +0 -2
  933. package/dist/pages/VibeCalendarPage.js +0 -2
  934. package/dist/pages/VibeDeckPage.js +0 -2
  935. package/dist/pages/VibeDetailsPage.js +0 -2
  936. package/dist/pages/VibeDocsPage.js +0 -2
  937. package/dist/pages/VibeTaskDetailPage.js +0 -2
  938. package/dist/pages/VibesPage.js +0 -2
  939. package/dist/pages/WebhooksPage.js +0 -2
  940. package/dist/pages/ai/AIBookmarksPage.js +0 -2
  941. package/dist/pages/ai/AIBuilderPage.js +0 -2
  942. package/dist/pages/ai/AIPage.js +0 -2
  943. package/dist/pages/ai/AISessionDetailPage.js +0 -2
  944. package/dist/pages/ai/AgentManagerPage.js +0 -2
  945. package/dist/pages/tunnels/AuditTab.js +0 -2
  946. package/dist/pages/tunnels/DomainsTab.js +0 -2
  947. package/dist/pages/tunnels/ProvidersTab.js +0 -2
  948. package/dist/pages/tunnels/SessionsTab.js +0 -2
  949. package/dist/pages/tunnels/TunnelDetailsPage.js +0 -2
  950. package/dist/pages/tunnels/TunnelsTab.js +0 -2
  951. package/dist/pages/tunnels/UsageTab.js +0 -2
  952. package/dist/pages/tunnels/tabs/TunnelAuditTab.js +0 -2
  953. package/dist/pages/tunnels/tabs/TunnelCliTab.js +0 -2
  954. package/dist/pages/tunnels/tabs/TunnelDomainsTab.js +0 -2
  955. package/dist/pages/tunnels/tabs/TunnelEndpointsTab.js +0 -2
  956. package/dist/pages/tunnels/tabs/TunnelOverviewTab.js +0 -2
  957. package/dist/pages/tunnels/tabs/TunnelSessionsTab.js +0 -2
  958. package/dist/pages/tunnels/tabs/TunnelSettingsTab.js +0 -2
  959. package/dist/pages/tunnels/tabs/TunnelUsageTab.js +0 -2
  960. package/dist/plugin.js +0 -2
  961. package/dist/providers/AgentEventsProvider.js +0 -2
  962. package/dist/providers/QuotaExhaustedProvider.js +0 -2
  963. package/dist/providers/VibeControlsProvider.js +0 -2
  964. package/dist/services/agentRemoteTaskGates.js +0 -2
  965. package/dist/services/aiApi.js +0 -2
  966. package/dist/services/assistantApi.js +0 -2
  967. package/dist/services/createSandboxAssistantTransport.js +0 -2
  968. package/dist/services/gitopsApi.js +0 -2
  969. package/dist/services/iframeToken.js +0 -2
  970. package/dist/services/planApi.js +0 -2
  971. package/dist/services/schedulerApi.js +0 -2
  972. package/dist/shared/hooks/useField.js +0 -2
  973. package/dist/shared/hooks/useTr.js +0 -2
  974. package/dist/store/agentManagerStore.js +0 -2
  975. package/dist/store/vibeControlsStore.js +0 -2
  976. package/dist/translations/en.js +0 -2
  977. package/dist/types/assistant.js +0 -2
  978. package/dist/utils/agentApiPath.js +0 -2
  979. package/dist/utils/agentHealth.js +0 -2
  980. package/dist/utils/agentStatus.js +0 -2
  981. package/dist/utils/agentVisibility.js +0 -2
  982. package/dist/utils/aiCredits.js +0 -2
  983. package/dist/utils/aiCreditsLedger.js +0 -2
  984. package/dist/utils/aiSessionNotFound.js +0 -2
  985. package/dist/utils/assistantPrompt.js +0 -2
  986. package/dist/utils/onboardingUtils.js +0 -2
  987. package/dist/utils/pageContext.js +0 -2
  988. package/dist/utils/quotaUtils.js +0 -2
  989. package/dist/utils/randomSessionName.js +0 -2
  990. package/dist/utils/relativeTime.js +0 -2
  991. package/dist/utils/shareUrl.js +0 -2
  992. package/package.json +4 -3
  993. package/dist/VibeControlsRoot.js.map +0 -1
  994. package/dist/VibeControlsRoutes.js.map +0 -1
  995. package/dist/components/actions/ActionCard.js.map +0 -1
  996. package/dist/components/actions/ActionForm.js.map +0 -1
  997. package/dist/components/actions/ActionSchedulesList.js.map +0 -1
  998. package/dist/components/actions/ActionTypeBadge.js.map +0 -1
  999. package/dist/components/actions/ActionWebhookEndpoint.js.map +0 -1
  1000. package/dist/components/actions/ExecutionHistory.js.map +0 -1
  1001. package/dist/components/actions/RemoteExecutionEnableNotice.js.map +0 -1
  1002. package/dist/components/agent-manager/AgentManagerAdminBar.js.map +0 -1
  1003. package/dist/components/agent-manager/AgentManagerBookmarksDrawer.js.map +0 -1
  1004. package/dist/components/agent-manager/AgentManagerBulkActions.js.map +0 -1
  1005. package/dist/components/agent-manager/AgentManagerCenter.js.map +0 -1
  1006. package/dist/components/agent-manager/AgentManagerChatPane.js.map +0 -1
  1007. package/dist/components/agent-manager/AgentManagerDetailPanel.js.map +0 -1
  1008. package/dist/components/agent-manager/AgentManagerInputArea.js.map +0 -1
  1009. package/dist/components/agent-manager/AgentManagerLayout.js.map +0 -1
  1010. package/dist/components/agent-manager/AgentManagerMessageItem.js.map +0 -1
  1011. package/dist/components/agent-manager/AgentManagerMessageList.js.map +0 -1
  1012. package/dist/components/agent-manager/AgentManagerSessionItem.js.map +0 -1
  1013. package/dist/components/agent-manager/AgentManagerSessionList.js.map +0 -1
  1014. package/dist/components/agent-manager/AgentManagerSidebar.js.map +0 -1
  1015. package/dist/components/agent-manager/AgentManagerStreamingIndicator.js.map +0 -1
  1016. package/dist/components/agent-manager/AgentManagerTab.js.map +0 -1
  1017. package/dist/components/agent-manager/AgentManagerTabBar.js.map +0 -1
  1018. package/dist/components/agent-manager/BridleConfigPanel.js.map +0 -1
  1019. package/dist/components/agent-manager/ChatInsertPicker.js.map +0 -1
  1020. package/dist/components/agent-manager/FilePickerModal.js.map +0 -1
  1021. package/dist/components/agent-manager/PluginInstallModal.js.map +0 -1
  1022. package/dist/components/agent-manager/ProfilesPanel.js.map +0 -1
  1023. package/dist/components/agent-manager/controls/AutonomySelector.js.map +0 -1
  1024. package/dist/components/agent-manager/controls/ContextLevelToggle.js.map +0 -1
  1025. package/dist/components/agent-manager/controls/FileAttachButton.js.map +0 -1
  1026. package/dist/components/agent-manager/controls/McpServerSelector.js.map +0 -1
  1027. package/dist/components/agent-manager/controls/ModelSelector.js.map +0 -1
  1028. package/dist/components/agent-manager/controls/SdkSelector.js.map +0 -1
  1029. package/dist/components/agent-manager/controls/VoiceToggle.js.map +0 -1
  1030. package/dist/components/agent-manager/controls/createDropHandlers.js.map +0 -1
  1031. package/dist/components/agent-manager/detail/SessionConfigPanel.js.map +0 -1
  1032. package/dist/components/agent-manager/detail/SessionLogsPanel.js.map +0 -1
  1033. package/dist/components/agent-manager/detail/SessionStatsPanel.js.map +0 -1
  1034. package/dist/components/agent-manager/detail/SessionToolsPanel.js.map +0 -1
  1035. package/dist/components/agent-manager/dialogs/ExportSessionDialog.js.map +0 -1
  1036. package/dist/components/agent-manager/dialogs/NewSessionDialog.js.map +0 -1
  1037. package/dist/components/agent-manager/dialogs/RenameSessionDialog.js.map +0 -1
  1038. package/dist/components/agent-manager/dialogs/SessionSearchDialog.js.map +0 -1
  1039. package/dist/components/agent-manager/modelDefaults.js.map +0 -1
  1040. package/dist/components/agents/AgentCard.js.map +0 -1
  1041. package/dist/components/agents/AgentConnectionRecovery.js.map +0 -1
  1042. package/dist/components/agents/AgentForm.js.map +0 -1
  1043. package/dist/components/agents/AgentList.js.map +0 -1
  1044. package/dist/components/agents/AgentMaintenanceTab.js.map +0 -1
  1045. package/dist/components/agents/AgentStatusBadge.js.map +0 -1
  1046. package/dist/components/agents/AgentStorageConfig.js.map +0 -1
  1047. package/dist/components/agents/AgentVisibilityCard.js.map +0 -1
  1048. package/dist/components/agents/ConfigureAgentDialog.js.map +0 -1
  1049. package/dist/components/agents/ConnectionLogPanel.js.map +0 -1
  1050. package/dist/components/agents/CreateSessionDialog.js.map +0 -1
  1051. package/dist/components/agents/GatewayAuthCard.js.map +0 -1
  1052. package/dist/components/agents/OpenInBrowserEditorButton.js.map +0 -1
  1053. package/dist/components/agents/OpenInEditorMenu.js.map +0 -1
  1054. package/dist/components/agents/PluginUIPanel.js.map +0 -1
  1055. package/dist/components/agents/RemoteTaskPermissionsCard.js.map +0 -1
  1056. package/dist/components/agents/VibeOpenInEditorMenu.js.map +0 -1
  1057. package/dist/components/agents/agentStatus.js.map +0 -1
  1058. package/dist/components/agents/backup/AgentBackupTab.js.map +0 -1
  1059. package/dist/components/agents/idePresets.js.map +0 -1
  1060. package/dist/components/ai/AIContextsTab.js.map +0 -1
  1061. package/dist/components/ai/AIKeysTab.js.map +0 -1
  1062. package/dist/components/ai/AIModeToggle.js.map +0 -1
  1063. package/dist/components/ai/AIOverviewTab.js.map +0 -1
  1064. package/dist/components/ai/AIPlanPanel.js.map +0 -1
  1065. package/dist/components/ai/AIPlaygroundTab.js.map +0 -1
  1066. package/dist/components/ai/AIPromptsTab.js.map +0 -1
  1067. package/dist/components/ai/AIProviderCredentialsCard.js.map +0 -1
  1068. package/dist/components/ai/AIQueueTab.js.map +0 -1
  1069. package/dist/components/ai/AISessionsTab.js.map +0 -1
  1070. package/dist/components/ai/AIStatsTab.js.map +0 -1
  1071. package/dist/components/ai/AITasksTab.js.map +0 -1
  1072. package/dist/components/ai/AITemplatesTab.js.map +0 -1
  1073. package/dist/components/ai/AiSectionTabs.js.map +0 -1
  1074. package/dist/components/ai/BridleTab.js.map +0 -1
  1075. package/dist/components/ai/ClaudeCredentialsCard.js.map +0 -1
  1076. package/dist/components/ai/InstructionFilesManager.js.map +0 -1
  1077. package/dist/components/ai/PluginHarnessPicker.js.map +0 -1
  1078. package/dist/components/ai/aiProviderCredentials.js.map +0 -1
  1079. package/dist/components/aliases/AliasManager.js.map +0 -1
  1080. package/dist/components/aliases/aliasReservedNames.js.map +0 -1
  1081. package/dist/components/analytics/AnalyticsBreakdownChart.js.map +0 -1
  1082. package/dist/components/analytics/AnalyticsBreakdownTable.js.map +0 -1
  1083. package/dist/components/analytics/AnalyticsEntityTabs.js.map +0 -1
  1084. package/dist/components/analytics/AnalyticsFilterBar.js.map +0 -1
  1085. package/dist/components/analytics/AnalyticsKpiGrid.js.map +0 -1
  1086. package/dist/components/analytics/AnalyticsTimeSeriesChart.js.map +0 -1
  1087. package/dist/components/analytics/SandboxAnalyticsSection.js.map +0 -1
  1088. package/dist/components/analytics/types.js.map +0 -1
  1089. package/dist/components/assistant/AIAssistantPanel.js.map +0 -1
  1090. package/dist/components/assistant/AiCreditsMeter.js.map +0 -1
  1091. package/dist/components/assistant/ProductMarkdown.js.map +0 -1
  1092. package/dist/components/assistant/assistantProduct.js.map +0 -1
  1093. package/dist/components/assistant/recordAdapters.js.map +0 -1
  1094. package/dist/components/audit/AuditExportButton.js.map +0 -1
  1095. package/dist/components/audit/AuditLogDetail.js.map +0 -1
  1096. package/dist/components/audit/AuditLogFilters.js.map +0 -1
  1097. package/dist/components/audit/AuditLogStats.js.map +0 -1
  1098. package/dist/components/audit/AuditLogTable.js.map +0 -1
  1099. package/dist/components/catalog/CatalogCard.js.map +0 -1
  1100. package/dist/components/catalog/CatalogForm.js.map +0 -1
  1101. package/dist/components/common/ActionAgentTargetNotice.js.map +0 -1
  1102. package/dist/components/common/CommandEditor.js.map +0 -1
  1103. package/dist/components/common/actionAgentTarget.js.map +0 -1
  1104. package/dist/components/common/commandHighlight.js.map +0 -1
  1105. package/dist/components/components/ComponentHealthCell.js.map +0 -1
  1106. package/dist/components/components/ComponentTierBadge.js.map +0 -1
  1107. package/dist/components/components/ComponentsTable.js.map +0 -1
  1108. package/dist/components/docs/DocsCompileStatus.js.map +0 -1
  1109. package/dist/components/docs/DocsEditPanel.js.map +0 -1
  1110. package/dist/components/docs/DocsEmptyState.js.map +0 -1
  1111. package/dist/components/docs/DocsFullScreenViewer.js.map +0 -1
  1112. package/dist/components/docs/DocsPageEditor.js.map +0 -1
  1113. package/dist/components/docs/DocsPageTree.js.map +0 -1
  1114. package/dist/components/docs/DocsPreviewPanel.js.map +0 -1
  1115. package/dist/components/docs/DocsRevisionHistory.js.map +0 -1
  1116. package/dist/components/docs/DocsSettingsPanel.js.map +0 -1
  1117. package/dist/components/docs/DocsTabPanel.js.map +0 -1
  1118. package/dist/components/docs/previewHtml.js.map +0 -1
  1119. package/dist/components/docs/types.js.map +0 -1
  1120. package/dist/components/gitops/CIDurationChart.js.map +0 -1
  1121. package/dist/components/gitops/CIFailedRuns.js.map +0 -1
  1122. package/dist/components/gitops/CIPipelineRunsTable.js.map +0 -1
  1123. package/dist/components/gitops/CISuccessRateChart.js.map +0 -1
  1124. package/dist/components/gitops/CITab.js.map +0 -1
  1125. package/dist/components/gitops/CIWorkflowList.js.map +0 -1
  1126. package/dist/components/gitops/GitOpsProviderPicker.js.map +0 -1
  1127. package/dist/components/gitops/GitOpsSetup.js.map +0 -1
  1128. package/dist/components/gitops/GitOpsSkeleton.js.map +0 -1
  1129. package/dist/components/gitops/GitOpsStatusBadge.js.map +0 -1
  1130. package/dist/components/gitops/ProviderIcon.js.map +0 -1
  1131. package/dist/components/gitops/RepoActivityCard.js.map +0 -1
  1132. package/dist/components/gitops/RepoIssuesCard.js.map +0 -1
  1133. package/dist/components/gitops/RepoLanguagesCard.js.map +0 -1
  1134. package/dist/components/gitops/RepoOverviewCard.js.map +0 -1
  1135. package/dist/components/gitops/RepoPullRequestsCard.js.map +0 -1
  1136. package/dist/components/gitops/RepoSecurityCard.js.map +0 -1
  1137. package/dist/components/gitops/RepoStatsTab.js.map +0 -1
  1138. package/dist/components/gitops/VibeGitOpsTab.js.map +0 -1
  1139. package/dist/components/gitops/types.js.map +0 -1
  1140. package/dist/components/graph/ConnectionPermissionsDialog.js.map +0 -1
  1141. package/dist/components/graph/MeshAgentNode.js.map +0 -1
  1142. package/dist/components/graph/MeshDeployWizard.js.map +0 -1
  1143. package/dist/components/graph/MeshGraphView.js.map +0 -1
  1144. package/dist/components/graph/MeshNodeActions.js.map +0 -1
  1145. package/dist/components/graph/MeshRequestPanel.js.map +0 -1
  1146. package/dist/components/graph/meshTypes.js.map +0 -1
  1147. package/dist/components/graph/nodeIcons.js.map +0 -1
  1148. package/dist/components/idp-components/ComponentCard.js.map +0 -1
  1149. package/dist/components/idp-components/ComponentForm.js.map +0 -1
  1150. package/dist/components/idp-components/DependencyGraphTab.js.map +0 -1
  1151. package/dist/components/logs/LogViewer.js.map +0 -1
  1152. package/dist/components/notes/NoteCard.js.map +0 -1
  1153. package/dist/components/notes/NoteEditor.js.map +0 -1
  1154. package/dist/components/notes/NoteList.js.map +0 -1
  1155. package/dist/components/notes/NotesTabPanel.js.map +0 -1
  1156. package/dist/components/overview/FleetActivityAreaChart.js.map +0 -1
  1157. package/dist/components/overview/FleetActivityChart.js.map +0 -1
  1158. package/dist/components/overview/FleetHealthCard.js.map +0 -1
  1159. package/dist/components/overview/QuickActionsCard.js.map +0 -1
  1160. package/dist/components/overview/useFleetAnalytics.js.map +0 -1
  1161. package/dist/components/plugins/AddTabDialog.js.map +0 -1
  1162. package/dist/components/plugins/FleetRolloutDialog.js.map +0 -1
  1163. package/dist/components/plugins/PluginIframeMount.js.map +0 -1
  1164. package/dist/components/plugins/useFleetPluginMatrix.js.map +0 -1
  1165. package/dist/components/scorecard/MetricTrend.js.map +0 -1
  1166. package/dist/components/scorecard/ScorecardEmptyState.js.map +0 -1
  1167. package/dist/components/scorecard/ScorecardPanel.js.map +0 -1
  1168. package/dist/components/scorecard/ScorecardsOverviewPanel.js.map +0 -1
  1169. package/dist/components/scorecard/scorecardConstants.js.map +0 -1
  1170. package/dist/components/security/SecurityRunButton.js.map +0 -1
  1171. package/dist/components/security/SecurityScanList.js.map +0 -1
  1172. package/dist/components/security/SecurityTabPanel.js.map +0 -1
  1173. package/dist/components/security/agentClient.js.map +0 -1
  1174. package/dist/components/security/hooks.js.map +0 -1
  1175. package/dist/components/security/types.js.map +0 -1
  1176. package/dist/components/sessions/CollaboratorsList.js.map +0 -1
  1177. package/dist/components/sessions/ControlStatusBar.js.map +0 -1
  1178. package/dist/components/sessions/EntityInfoPopover.js.map +0 -1
  1179. package/dist/components/sessions/SessionCard.js.map +0 -1
  1180. package/dist/components/sessions/SessionGroup.js.map +0 -1
  1181. package/dist/components/sessions/SessionInfoPanel.js.map +0 -1
  1182. package/dist/components/sessions/SessionList.js.map +0 -1
  1183. package/dist/components/sessions/SessionPublicLinkPanel.js.map +0 -1
  1184. package/dist/components/sessions/SessionShareDialog.js.map +0 -1
  1185. package/dist/components/sessions/SessionStatusBadge.js.map +0 -1
  1186. package/dist/components/sessions/SessionWorkbenchDrawer.js.map +0 -1
  1187. package/dist/components/sessions/SessionsCommandPalette.js.map +0 -1
  1188. package/dist/components/sessions/SharedTerminalPanel.js.map +0 -1
  1189. package/dist/components/sessions/ShortcutCheatsheet.js.map +0 -1
  1190. package/dist/components/sessions/TerminalIframe.js.map +0 -1
  1191. package/dist/components/sessions/TerminalPanel.js.map +0 -1
  1192. package/dist/components/sessions/groupSessions.js.map +0 -1
  1193. package/dist/components/sessions/sessionShortcuts.js.map +0 -1
  1194. package/dist/components/settings/AdvancedSection.js.map +0 -1
  1195. package/dist/components/settings/IdePreferencesSection.js.map +0 -1
  1196. package/dist/components/settings/NotificationsSection.js.map +0 -1
  1197. package/dist/components/settings/SettingsForm.js.map +0 -1
  1198. package/dist/components/settings/WorkspaceDefaultsSection.js.map +0 -1
  1199. package/dist/components/shared/ActionMenu.js.map +0 -1
  1200. package/dist/components/shared/AgentEventsConnector.js.map +0 -1
  1201. package/dist/components/shared/AgentSelector.js.map +0 -1
  1202. package/dist/components/shared/AgentSetupBanner.js.map +0 -1
  1203. package/dist/components/shared/Card.js.map +0 -1
  1204. package/dist/components/shared/ConfirmDialog.js.map +0 -1
  1205. package/dist/components/shared/EmptyState.js.map +0 -1
  1206. package/dist/components/shared/EnableRemoteTaskDialog.js.map +0 -1
  1207. package/dist/components/shared/EntityTagPicker.js.map +0 -1
  1208. package/dist/components/shared/EntityVibeLinkControl.js.map +0 -1
  1209. package/dist/components/shared/ErrorState.js.map +0 -1
  1210. package/dist/components/shared/FilterDropdown.js.map +0 -1
  1211. package/dist/components/shared/GetHelpButton.js.map +0 -1
  1212. package/dist/components/shared/InstallTabs.js.map +0 -1
  1213. package/dist/components/shared/LinkToVibePanel.js.map +0 -1
  1214. package/dist/components/shared/LoadingState.js.map +0 -1
  1215. package/dist/components/shared/MotionTabPanel.js.map +0 -1
  1216. package/dist/components/shared/NotificationToast.js.map +0 -1
  1217. package/dist/components/shared/PageHeader.js.map +0 -1
  1218. package/dist/components/shared/PageSkeleton.js.map +0 -1
  1219. package/dist/components/shared/PlatformIcon.js.map +0 -1
  1220. package/dist/components/shared/PluginGate.js.map +0 -1
  1221. package/dist/components/shared/PromptDialog.js.map +0 -1
  1222. package/dist/components/shared/QuotaExhaustedDialog.js.map +0 -1
  1223. package/dist/components/shared/RequireAgentReachable.js.map +0 -1
  1224. package/dist/components/shared/SearchInput.js.map +0 -1
  1225. package/dist/components/shared/SearchableSelect.js.map +0 -1
  1226. package/dist/components/shared/SelectionCheckbox.js.map +0 -1
  1227. package/dist/components/shared/SessionNotificationBanner.js.map +0 -1
  1228. package/dist/components/shared/StatCard.js.map +0 -1
  1229. package/dist/components/shared/StatusBadge.js.map +0 -1
  1230. package/dist/components/shared/TagFilter.js.map +0 -1
  1231. package/dist/components/shared/cardMotion.js.map +0 -1
  1232. package/dist/components/shared/platformIconPaths.js.map +0 -1
  1233. package/dist/components/sharing/EntityShareButton.js.map +0 -1
  1234. package/dist/components/sharing/NoteShareDialog.js.map +0 -1
  1235. package/dist/components/sharing/SharedWithMePanel.js.map +0 -1
  1236. package/dist/components/sharing/VibeShareButton.js.map +0 -1
  1237. package/dist/components/sharing/entityShareOps.js.map +0 -1
  1238. package/dist/components/sharing/shareControllerTypes.js.map +0 -1
  1239. package/dist/components/sharing/shareRegistry.js.map +0 -1
  1240. package/dist/components/sharing/useEntityShareController.js.map +0 -1
  1241. package/dist/components/sharing/useNoteShareController.js.map +0 -1
  1242. package/dist/components/sharing/useVibeShareController.js.map +0 -1
  1243. package/dist/components/targets/TargetCard.js.map +0 -1
  1244. package/dist/components/templates/PublishTemplateForm.js.map +0 -1
  1245. package/dist/components/templates/TemplateCard.js.map +0 -1
  1246. package/dist/components/templates/TemplateVariableEditor.js.map +0 -1
  1247. package/dist/components/templates/TemplateWizard.js.map +0 -1
  1248. package/dist/components/tunnels/DomainVerificationBadge.js.map +0 -1
  1249. package/dist/components/tunnels/ProviderBadge.js.map +0 -1
  1250. package/dist/components/tunnels/TunnelCard.js.map +0 -1
  1251. package/dist/components/tunnels/TunnelConnectionCard.js.map +0 -1
  1252. package/dist/components/tunnels/TunnelCopyButton.js.map +0 -1
  1253. package/dist/components/tunnels/TunnelCreateWizard.js.map +0 -1
  1254. package/dist/components/tunnels/TunnelMetricTiles.js.map +0 -1
  1255. package/dist/components/tunnels/TunnelPublicAccessPanel.js.map +0 -1
  1256. package/dist/components/tunnels/TunnelSparkline.js.map +0 -1
  1257. package/dist/components/tunnels/TunnelStatusBadge.js.map +0 -1
  1258. package/dist/components/tunnels/tunnelEndpoints.js.map +0 -1
  1259. package/dist/components/tunnels/tunnelMetrics.js.map +0 -1
  1260. package/dist/components/vibe/VibeAgentEmptyState.js.map +0 -1
  1261. package/dist/components/vibe/VibeAgentSwitcher.js.map +0 -1
  1262. package/dist/components/vibe/VibeEnvVarsPanel.js.map +0 -1
  1263. package/dist/components/vibe/VibeLinkedEntitiesPanel.js.map +0 -1
  1264. package/dist/components/vibe/VibeLlmContextAdminPanel.js.map +0 -1
  1265. package/dist/components/vibe/VibeLlmContextTabPanel.js.map +0 -1
  1266. package/dist/components/vibecalendar/LogsDrawer.js.map +0 -1
  1267. package/dist/components/vibecalendar/ScheduleTaskModal.js.map +0 -1
  1268. package/dist/components/vibecalendar/VibeCalAgendaView.js.map +0 -1
  1269. package/dist/components/vibecalendar/VibeCalDayView.js.map +0 -1
  1270. package/dist/components/vibecalendar/VibeCalMonthView.js.map +0 -1
  1271. package/dist/components/vibecalendar/VibeCalWeekView.js.map +0 -1
  1272. package/dist/components/vibecalendar/VibeCalendarHeader.js.map +0 -1
  1273. package/dist/components/vibecalendar/VibeTaskBlock.js.map +0 -1
  1274. package/dist/components/vibecalendar/expandOccurrences.js.map +0 -1
  1275. package/dist/components/vibecalendar/types.js.map +0 -1
  1276. package/dist/components/vibedeck/VibeDeckButtonForm.js.map +0 -1
  1277. package/dist/components/vibedeck/VibeDeckButtonTile.js.map +0 -1
  1278. package/dist/components/vibedeck/VibeDeckExecutionLog.js.map +0 -1
  1279. package/dist/components/vibedeck/VibeDeckForm.js.map +0 -1
  1280. package/dist/components/vibedeck/VibeDeckGrid.js.map +0 -1
  1281. package/dist/components/vibedeck/VibeDeckPublicLinkPanel.js.map +0 -1
  1282. package/dist/components/vibedeck/VibeDeckShareDialog.js.map +0 -1
  1283. package/dist/components/vibedeck/VibeDeckSwitcher.js.map +0 -1
  1284. package/dist/components/vibes/DeleteVibeDialog.js.map +0 -1
  1285. package/dist/components/vibes/VibeCard.js.map +0 -1
  1286. package/dist/components/vibes/VibeList.js.map +0 -1
  1287. package/dist/components/vibes/icons.js.map +0 -1
  1288. package/dist/components/webhooks/types.js.map +0 -1
  1289. package/dist/config/assistantUsecases.js.map +0 -1
  1290. package/dist/config/index.js.map +0 -1
  1291. package/dist/constants/aiTabs.js.map +0 -1
  1292. package/dist/constants/permissions.js.map +0 -1
  1293. package/dist/constants/pluginCatalog.js.map +0 -1
  1294. package/dist/generated/wspace-operations.js.map +0 -1
  1295. package/dist/generated/wspace-types.js.map +0 -1
  1296. package/dist/hooks/useActiveAgentProfile.js.map +0 -1
  1297. package/dist/hooks/useAgentConnectivity.js.map +0 -1
  1298. package/dist/hooks/useAgentEvents.js.map +0 -1
  1299. package/dist/hooks/useAgentManagerKeyboard.js.map +0 -1
  1300. package/dist/hooks/useAgentManagerStreaming.js.map +0 -1
  1301. package/dist/hooks/useAiCreditsQuota.js.map +0 -1
  1302. package/dist/hooks/useCachedInitialData.js.map +0 -1
  1303. package/dist/hooks/useDraftEntityTags.js.map +0 -1
  1304. package/dist/hooks/useEntityTags.js.map +0 -1
  1305. package/dist/hooks/useGitops.js.map +0 -1
  1306. package/dist/hooks/useInitialDataLoader.js.map +0 -1
  1307. package/dist/hooks/useOfferedAssistantMode.js.map +0 -1
  1308. package/dist/hooks/useOpenAssistantHelp.js.map +0 -1
  1309. package/dist/hooks/usePluginAvailability.js.map +0 -1
  1310. package/dist/hooks/useQueryBackedTab.js.map +0 -1
  1311. package/dist/hooks/useTenantContext.js.map +0 -1
  1312. package/dist/hooks/useTerminalCapabilityUrl.js.map +0 -1
  1313. package/dist/hooks/useToggleAgentBookmark.js.map +0 -1
  1314. package/dist/hooks/useVoiceMode.js.map +0 -1
  1315. package/dist/hooks/useWorkspaceWriteAccess.js.map +0 -1
  1316. package/dist/lib/apolloCache.js.map +0 -1
  1317. package/dist/lib/toast.js.map +0 -1
  1318. package/dist/lib/vibeFeatures.js.map +0 -1
  1319. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +0 -1
  1320. package/dist/node_modules/@apollo/client/errors/ServerError.js.map +0 -1
  1321. package/dist/node_modules/@apollo/client/errors/ServerParseError.js.map +0 -1
  1322. package/dist/node_modules/@apollo/client/errors/utils.js.map +0 -1
  1323. package/dist/node_modules/@apollo/client/link/batch/batchLink.js.map +0 -1
  1324. package/dist/node_modules/@apollo/client/link/batch/batching.js.map +0 -1
  1325. package/dist/node_modules/@apollo/client/link/batch-http/BaseBatchHttpLink.js.map +0 -1
  1326. package/dist/node_modules/@apollo/client/link/batch-http/batchHttpLink.js.map +0 -1
  1327. package/dist/node_modules/@apollo/client/link/client-awareness/ClientAwarenessLink.js.map +0 -1
  1328. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +0 -1
  1329. package/dist/node_modules/@apollo/client/link/http/checkFetcher.js.map +0 -1
  1330. package/dist/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js.map +0 -1
  1331. package/dist/node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js.map +0 -1
  1332. package/dist/node_modules/@apollo/client/link/http/selectURI.js.map +0 -1
  1333. package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +0 -1
  1334. package/dist/node_modules/@apollo/client/link/utils/filterOperationVariables.js.map +0 -1
  1335. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +0 -1
  1336. package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +0 -1
  1337. package/dist/node_modules/@apollo/client/utilities/internal/caches.js.map +0 -1
  1338. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +0 -1
  1339. package/dist/node_modules/@apollo/client/utilities/internal/compact.js.map +0 -1
  1340. package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +0 -1
  1341. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +0 -1
  1342. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +0 -1
  1343. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +0 -1
  1344. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +0 -1
  1345. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +0 -1
  1346. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +0 -1
  1347. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js.map +0 -1
  1348. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +0 -1
  1349. package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +0 -1
  1350. package/dist/node_modules/@apollo/client/version.js.map +0 -1
  1351. package/dist/node_modules/@wry/caches/lib/weak.js.map +0 -1
  1352. package/dist/node_modules/@wry/trie/lib/index.js.map +0 -1
  1353. package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
  1354. package/dist/node_modules/d3-array/src/ascending.js.map +0 -1
  1355. package/dist/node_modules/d3-array/src/bisect.js.map +0 -1
  1356. package/dist/node_modules/d3-array/src/bisector.js.map +0 -1
  1357. package/dist/node_modules/d3-array/src/descending.js.map +0 -1
  1358. package/dist/node_modules/d3-array/src/max.js.map +0 -1
  1359. package/dist/node_modules/d3-array/src/min.js.map +0 -1
  1360. package/dist/node_modules/d3-array/src/number.js.map +0 -1
  1361. package/dist/node_modules/d3-array/src/quantile.js.map +0 -1
  1362. package/dist/node_modules/d3-array/src/quickselect.js.map +0 -1
  1363. package/dist/node_modules/d3-array/src/range.js.map +0 -1
  1364. package/dist/node_modules/d3-array/src/sort.js.map +0 -1
  1365. package/dist/node_modules/d3-array/src/ticks.js.map +0 -1
  1366. package/dist/node_modules/d3-color/src/color.js.map +0 -1
  1367. package/dist/node_modules/d3-color/src/define.js.map +0 -1
  1368. package/dist/node_modules/d3-format/src/defaultLocale.js.map +0 -1
  1369. package/dist/node_modules/d3-format/src/exponent.js.map +0 -1
  1370. package/dist/node_modules/d3-format/src/formatDecimal.js.map +0 -1
  1371. package/dist/node_modules/d3-format/src/formatGroup.js.map +0 -1
  1372. package/dist/node_modules/d3-format/src/formatNumerals.js.map +0 -1
  1373. package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +0 -1
  1374. package/dist/node_modules/d3-format/src/formatRounded.js.map +0 -1
  1375. package/dist/node_modules/d3-format/src/formatSpecifier.js.map +0 -1
  1376. package/dist/node_modules/d3-format/src/formatTrim.js.map +0 -1
  1377. package/dist/node_modules/d3-format/src/formatTypes.js.map +0 -1
  1378. package/dist/node_modules/d3-format/src/identity.js.map +0 -1
  1379. package/dist/node_modules/d3-format/src/locale.js.map +0 -1
  1380. package/dist/node_modules/d3-format/src/precisionFixed.js.map +0 -1
  1381. package/dist/node_modules/d3-format/src/precisionPrefix.js.map +0 -1
  1382. package/dist/node_modules/d3-format/src/precisionRound.js.map +0 -1
  1383. package/dist/node_modules/d3-interpolate/src/array.js.map +0 -1
  1384. package/dist/node_modules/d3-interpolate/src/basis.js.map +0 -1
  1385. package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +0 -1
  1386. package/dist/node_modules/d3-interpolate/src/color.js.map +0 -1
  1387. package/dist/node_modules/d3-interpolate/src/constant.js.map +0 -1
  1388. package/dist/node_modules/d3-interpolate/src/date.js.map +0 -1
  1389. package/dist/node_modules/d3-interpolate/src/number.js.map +0 -1
  1390. package/dist/node_modules/d3-interpolate/src/numberArray.js.map +0 -1
  1391. package/dist/node_modules/d3-interpolate/src/object.js.map +0 -1
  1392. package/dist/node_modules/d3-interpolate/src/piecewise.js.map +0 -1
  1393. package/dist/node_modules/d3-interpolate/src/rgb.js.map +0 -1
  1394. package/dist/node_modules/d3-interpolate/src/round.js.map +0 -1
  1395. package/dist/node_modules/d3-interpolate/src/string.js.map +0 -1
  1396. package/dist/node_modules/d3-interpolate/src/value.js.map +0 -1
  1397. package/dist/node_modules/d3-path/src/path.js.map +0 -1
  1398. package/dist/node_modules/d3-scale/src/band.js.map +0 -1
  1399. package/dist/node_modules/d3-scale/src/constant.js.map +0 -1
  1400. package/dist/node_modules/d3-scale/src/continuous.js.map +0 -1
  1401. package/dist/node_modules/d3-scale/src/diverging.js.map +0 -1
  1402. package/dist/node_modules/d3-scale/src/identity.js.map +0 -1
  1403. package/dist/node_modules/d3-scale/src/init.js.map +0 -1
  1404. package/dist/node_modules/d3-scale/src/linear.js.map +0 -1
  1405. package/dist/node_modules/d3-scale/src/log.js.map +0 -1
  1406. package/dist/node_modules/d3-scale/src/nice.js.map +0 -1
  1407. package/dist/node_modules/d3-scale/src/number.js.map +0 -1
  1408. package/dist/node_modules/d3-scale/src/ordinal.js.map +0 -1
  1409. package/dist/node_modules/d3-scale/src/pow.js.map +0 -1
  1410. package/dist/node_modules/d3-scale/src/quantile.js.map +0 -1
  1411. package/dist/node_modules/d3-scale/src/quantize.js.map +0 -1
  1412. package/dist/node_modules/d3-scale/src/radial.js.map +0 -1
  1413. package/dist/node_modules/d3-scale/src/sequential.js.map +0 -1
  1414. package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +0 -1
  1415. package/dist/node_modules/d3-scale/src/symlog.js.map +0 -1
  1416. package/dist/node_modules/d3-scale/src/threshold.js.map +0 -1
  1417. package/dist/node_modules/d3-scale/src/tickFormat.js.map +0 -1
  1418. package/dist/node_modules/d3-scale/src/time.js.map +0 -1
  1419. package/dist/node_modules/d3-scale/src/utcTime.js.map +0 -1
  1420. package/dist/node_modules/d3-shape/src/area.js.map +0 -1
  1421. package/dist/node_modules/d3-shape/src/array.js.map +0 -1
  1422. package/dist/node_modules/d3-shape/src/constant.js.map +0 -1
  1423. package/dist/node_modules/d3-shape/src/curve/basis.js.map +0 -1
  1424. package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +0 -1
  1425. package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +0 -1
  1426. package/dist/node_modules/d3-shape/src/curve/bump.js.map +0 -1
  1427. package/dist/node_modules/d3-shape/src/curve/linear.js.map +0 -1
  1428. package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +0 -1
  1429. package/dist/node_modules/d3-shape/src/curve/monotone.js.map +0 -1
  1430. package/dist/node_modules/d3-shape/src/curve/natural.js.map +0 -1
  1431. package/dist/node_modules/d3-shape/src/curve/step.js.map +0 -1
  1432. package/dist/node_modules/d3-shape/src/line.js.map +0 -1
  1433. package/dist/node_modules/d3-shape/src/math.js.map +0 -1
  1434. package/dist/node_modules/d3-shape/src/noop.js.map +0 -1
  1435. package/dist/node_modules/d3-shape/src/offset/expand.js.map +0 -1
  1436. package/dist/node_modules/d3-shape/src/offset/none.js.map +0 -1
  1437. package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +0 -1
  1438. package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +0 -1
  1439. package/dist/node_modules/d3-shape/src/order/none.js.map +0 -1
  1440. package/dist/node_modules/d3-shape/src/path.js.map +0 -1
  1441. package/dist/node_modules/d3-shape/src/point.js.map +0 -1
  1442. package/dist/node_modules/d3-shape/src/stack.js.map +0 -1
  1443. package/dist/node_modules/d3-shape/src/symbol/circle.js.map +0 -1
  1444. package/dist/node_modules/d3-shape/src/symbol/cross.js.map +0 -1
  1445. package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +0 -1
  1446. package/dist/node_modules/d3-shape/src/symbol/square.js.map +0 -1
  1447. package/dist/node_modules/d3-shape/src/symbol/star.js.map +0 -1
  1448. package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +0 -1
  1449. package/dist/node_modules/d3-shape/src/symbol/wye.js.map +0 -1
  1450. package/dist/node_modules/d3-shape/src/symbol.js.map +0 -1
  1451. package/dist/node_modules/d3-time/src/day.js.map +0 -1
  1452. package/dist/node_modules/d3-time/src/duration.js.map +0 -1
  1453. package/dist/node_modules/d3-time/src/hour.js.map +0 -1
  1454. package/dist/node_modules/d3-time/src/interval.js.map +0 -1
  1455. package/dist/node_modules/d3-time/src/millisecond.js.map +0 -1
  1456. package/dist/node_modules/d3-time/src/minute.js.map +0 -1
  1457. package/dist/node_modules/d3-time/src/month.js.map +0 -1
  1458. package/dist/node_modules/d3-time/src/second.js.map +0 -1
  1459. package/dist/node_modules/d3-time/src/ticks.js.map +0 -1
  1460. package/dist/node_modules/d3-time/src/week.js.map +0 -1
  1461. package/dist/node_modules/d3-time/src/year.js.map +0 -1
  1462. package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +0 -1
  1463. package/dist/node_modules/d3-time-format/src/locale.js.map +0 -1
  1464. package/dist/node_modules/dagre/index.js.map +0 -1
  1465. package/dist/node_modules/dagre/lib/acyclic.js.map +0 -1
  1466. package/dist/node_modules/dagre/lib/add-border-segments.js.map +0 -1
  1467. package/dist/node_modules/dagre/lib/coordinate-system.js.map +0 -1
  1468. package/dist/node_modules/dagre/lib/data/list.js.map +0 -1
  1469. package/dist/node_modules/dagre/lib/debug.js.map +0 -1
  1470. package/dist/node_modules/dagre/lib/graphlib.js.map +0 -1
  1471. package/dist/node_modules/dagre/lib/greedy-fas.js.map +0 -1
  1472. package/dist/node_modules/dagre/lib/layout.js.map +0 -1
  1473. package/dist/node_modules/dagre/lib/lodash.js.map +0 -1
  1474. package/dist/node_modules/dagre/lib/nesting-graph.js.map +0 -1
  1475. package/dist/node_modules/dagre/lib/normalize.js.map +0 -1
  1476. package/dist/node_modules/dagre/lib/order/add-subgraph-constraints.js.map +0 -1
  1477. package/dist/node_modules/dagre/lib/order/barycenter.js.map +0 -1
  1478. package/dist/node_modules/dagre/lib/order/build-layer-graph.js.map +0 -1
  1479. package/dist/node_modules/dagre/lib/order/cross-count.js.map +0 -1
  1480. package/dist/node_modules/dagre/lib/order/index.js.map +0 -1
  1481. package/dist/node_modules/dagre/lib/order/init-order.js.map +0 -1
  1482. package/dist/node_modules/dagre/lib/order/resolve-conflicts.js.map +0 -1
  1483. package/dist/node_modules/dagre/lib/order/sort-subgraph.js.map +0 -1
  1484. package/dist/node_modules/dagre/lib/order/sort.js.map +0 -1
  1485. package/dist/node_modules/dagre/lib/parent-dummy-chains.js.map +0 -1
  1486. package/dist/node_modules/dagre/lib/position/bk.js.map +0 -1
  1487. package/dist/node_modules/dagre/lib/position/index.js.map +0 -1
  1488. package/dist/node_modules/dagre/lib/rank/feasible-tree.js.map +0 -1
  1489. package/dist/node_modules/dagre/lib/rank/index.js.map +0 -1
  1490. package/dist/node_modules/dagre/lib/rank/network-simplex.js.map +0 -1
  1491. package/dist/node_modules/dagre/lib/rank/util.js.map +0 -1
  1492. package/dist/node_modules/dagre/lib/util.js.map +0 -1
  1493. package/dist/node_modules/dagre/lib/version.js.map +0 -1
  1494. package/dist/node_modules/decimal.js-light/decimal.js.map +0 -1
  1495. package/dist/node_modules/eventemitter3/index.js.map +0 -1
  1496. package/dist/node_modules/fast-equals/dist/es/index.js.map +0 -1
  1497. package/dist/node_modules/graphlib/index.js.map +0 -1
  1498. package/dist/node_modules/graphlib/lib/alg/components.js.map +0 -1
  1499. package/dist/node_modules/graphlib/lib/alg/dfs.js.map +0 -1
  1500. package/dist/node_modules/graphlib/lib/alg/dijkstra-all.js.map +0 -1
  1501. package/dist/node_modules/graphlib/lib/alg/dijkstra.js.map +0 -1
  1502. package/dist/node_modules/graphlib/lib/alg/find-cycles.js.map +0 -1
  1503. package/dist/node_modules/graphlib/lib/alg/floyd-warshall.js.map +0 -1
  1504. package/dist/node_modules/graphlib/lib/alg/index.js.map +0 -1
  1505. package/dist/node_modules/graphlib/lib/alg/is-acyclic.js.map +0 -1
  1506. package/dist/node_modules/graphlib/lib/alg/postorder.js.map +0 -1
  1507. package/dist/node_modules/graphlib/lib/alg/preorder.js.map +0 -1
  1508. package/dist/node_modules/graphlib/lib/alg/prim.js.map +0 -1
  1509. package/dist/node_modules/graphlib/lib/alg/tarjan.js.map +0 -1
  1510. package/dist/node_modules/graphlib/lib/alg/topsort.js.map +0 -1
  1511. package/dist/node_modules/graphlib/lib/data/priority-queue.js.map +0 -1
  1512. package/dist/node_modules/graphlib/lib/graph.js.map +0 -1
  1513. package/dist/node_modules/graphlib/lib/index.js.map +0 -1
  1514. package/dist/node_modules/graphlib/lib/json.js.map +0 -1
  1515. package/dist/node_modules/graphlib/lib/lodash.js.map +0 -1
  1516. package/dist/node_modules/graphlib/lib/version.js.map +0 -1
  1517. package/dist/node_modules/internmap/src/index.js.map +0 -1
  1518. package/dist/node_modules/lodash/_DataView.js.map +0 -1
  1519. package/dist/node_modules/lodash/_Hash.js.map +0 -1
  1520. package/dist/node_modules/lodash/_ListCache.js.map +0 -1
  1521. package/dist/node_modules/lodash/_Map.js.map +0 -1
  1522. package/dist/node_modules/lodash/_MapCache.js.map +0 -1
  1523. package/dist/node_modules/lodash/_Promise.js.map +0 -1
  1524. package/dist/node_modules/lodash/_Set.js.map +0 -1
  1525. package/dist/node_modules/lodash/_SetCache.js.map +0 -1
  1526. package/dist/node_modules/lodash/_Stack.js.map +0 -1
  1527. package/dist/node_modules/lodash/_Symbol.js.map +0 -1
  1528. package/dist/node_modules/lodash/_Uint8Array.js.map +0 -1
  1529. package/dist/node_modules/lodash/_WeakMap.js.map +0 -1
  1530. package/dist/node_modules/lodash/_apply.js.map +0 -1
  1531. package/dist/node_modules/lodash/_arrayEach.js.map +0 -1
  1532. package/dist/node_modules/lodash/_arrayEvery.js.map +0 -1
  1533. package/dist/node_modules/lodash/_arrayFilter.js.map +0 -1
  1534. package/dist/node_modules/lodash/_arrayIncludes.js.map +0 -1
  1535. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +0 -1
  1536. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +0 -1
  1537. package/dist/node_modules/lodash/_arrayMap.js.map +0 -1
  1538. package/dist/node_modules/lodash/_arrayPush.js.map +0 -1
  1539. package/dist/node_modules/lodash/_arrayReduce.js.map +0 -1
  1540. package/dist/node_modules/lodash/_arraySome.js.map +0 -1
  1541. package/dist/node_modules/lodash/_asciiSize.js.map +0 -1
  1542. package/dist/node_modules/lodash/_asciiToArray.js.map +0 -1
  1543. package/dist/node_modules/lodash/_assignMergeValue.js.map +0 -1
  1544. package/dist/node_modules/lodash/_assignValue.js.map +0 -1
  1545. package/dist/node_modules/lodash/_assocIndexOf.js.map +0 -1
  1546. package/dist/node_modules/lodash/_baseAssign.js.map +0 -1
  1547. package/dist/node_modules/lodash/_baseAssignIn.js.map +0 -1
  1548. package/dist/node_modules/lodash/_baseAssignValue.js.map +0 -1
  1549. package/dist/node_modules/lodash/_baseClone.js.map +0 -1
  1550. package/dist/node_modules/lodash/_baseCreate.js.map +0 -1
  1551. package/dist/node_modules/lodash/_baseEach.js.map +0 -1
  1552. package/dist/node_modules/lodash/_baseEvery.js.map +0 -1
  1553. package/dist/node_modules/lodash/_baseExtremum.js.map +0 -1
  1554. package/dist/node_modules/lodash/_baseFilter.js.map +0 -1
  1555. package/dist/node_modules/lodash/_baseFindIndex.js.map +0 -1
  1556. package/dist/node_modules/lodash/_baseFlatten.js.map +0 -1
  1557. package/dist/node_modules/lodash/_baseFor.js.map +0 -1
  1558. package/dist/node_modules/lodash/_baseForOwn.js.map +0 -1
  1559. package/dist/node_modules/lodash/_baseGet.js.map +0 -1
  1560. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +0 -1
  1561. package/dist/node_modules/lodash/_baseGetTag.js.map +0 -1
  1562. package/dist/node_modules/lodash/_baseGt.js.map +0 -1
  1563. package/dist/node_modules/lodash/_baseHas.js.map +0 -1
  1564. package/dist/node_modules/lodash/_baseHasIn.js.map +0 -1
  1565. package/dist/node_modules/lodash/_baseIndexOf.js.map +0 -1
  1566. package/dist/node_modules/lodash/_baseIsArguments.js.map +0 -1
  1567. package/dist/node_modules/lodash/_baseIsEqual.js.map +0 -1
  1568. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +0 -1
  1569. package/dist/node_modules/lodash/_baseIsMap.js.map +0 -1
  1570. package/dist/node_modules/lodash/_baseIsMatch.js.map +0 -1
  1571. package/dist/node_modules/lodash/_baseIsNaN.js.map +0 -1
  1572. package/dist/node_modules/lodash/_baseIsNative.js.map +0 -1
  1573. package/dist/node_modules/lodash/_baseIsSet.js.map +0 -1
  1574. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +0 -1
  1575. package/dist/node_modules/lodash/_baseIteratee.js.map +0 -1
  1576. package/dist/node_modules/lodash/_baseKeys.js.map +0 -1
  1577. package/dist/node_modules/lodash/_baseKeysIn.js.map +0 -1
  1578. package/dist/node_modules/lodash/_baseLt.js.map +0 -1
  1579. package/dist/node_modules/lodash/_baseMap.js.map +0 -1
  1580. package/dist/node_modules/lodash/_baseMatches.js.map +0 -1
  1581. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +0 -1
  1582. package/dist/node_modules/lodash/_baseMerge.js.map +0 -1
  1583. package/dist/node_modules/lodash/_baseMergeDeep.js.map +0 -1
  1584. package/dist/node_modules/lodash/_baseOrderBy.js.map +0 -1
  1585. package/dist/node_modules/lodash/_basePick.js.map +0 -1
  1586. package/dist/node_modules/lodash/_basePickBy.js.map +0 -1
  1587. package/dist/node_modules/lodash/_baseProperty.js.map +0 -1
  1588. package/dist/node_modules/lodash/_basePropertyDeep.js.map +0 -1
  1589. package/dist/node_modules/lodash/_baseRange.js.map +0 -1
  1590. package/dist/node_modules/lodash/_baseReduce.js.map +0 -1
  1591. package/dist/node_modules/lodash/_baseRest.js.map +0 -1
  1592. package/dist/node_modules/lodash/_baseSet.js.map +0 -1
  1593. package/dist/node_modules/lodash/_baseSetToString.js.map +0 -1
  1594. package/dist/node_modules/lodash/_baseSlice.js.map +0 -1
  1595. package/dist/node_modules/lodash/_baseSome.js.map +0 -1
  1596. package/dist/node_modules/lodash/_baseSortBy.js.map +0 -1
  1597. package/dist/node_modules/lodash/_baseTimes.js.map +0 -1
  1598. package/dist/node_modules/lodash/_baseToString.js.map +0 -1
  1599. package/dist/node_modules/lodash/_baseTrim.js.map +0 -1
  1600. package/dist/node_modules/lodash/_baseUnary.js.map +0 -1
  1601. package/dist/node_modules/lodash/_baseUniq.js.map +0 -1
  1602. package/dist/node_modules/lodash/_baseValues.js.map +0 -1
  1603. package/dist/node_modules/lodash/_baseZipObject.js.map +0 -1
  1604. package/dist/node_modules/lodash/_cacheHas.js.map +0 -1
  1605. package/dist/node_modules/lodash/_castFunction.js.map +0 -1
  1606. package/dist/node_modules/lodash/_castPath.js.map +0 -1
  1607. package/dist/node_modules/lodash/_castSlice.js.map +0 -1
  1608. package/dist/node_modules/lodash/_cloneArrayBuffer.js.map +0 -1
  1609. package/dist/node_modules/lodash/_cloneBuffer.js.map +0 -1
  1610. package/dist/node_modules/lodash/_cloneDataView.js.map +0 -1
  1611. package/dist/node_modules/lodash/_cloneRegExp.js.map +0 -1
  1612. package/dist/node_modules/lodash/_cloneSymbol.js.map +0 -1
  1613. package/dist/node_modules/lodash/_cloneTypedArray.js.map +0 -1
  1614. package/dist/node_modules/lodash/_compareAscending.js.map +0 -1
  1615. package/dist/node_modules/lodash/_compareMultiple.js.map +0 -1
  1616. package/dist/node_modules/lodash/_copyArray.js.map +0 -1
  1617. package/dist/node_modules/lodash/_copyObject.js.map +0 -1
  1618. package/dist/node_modules/lodash/_copySymbols.js.map +0 -1
  1619. package/dist/node_modules/lodash/_copySymbolsIn.js.map +0 -1
  1620. package/dist/node_modules/lodash/_coreJsData.js.map +0 -1
  1621. package/dist/node_modules/lodash/_createAssigner.js.map +0 -1
  1622. package/dist/node_modules/lodash/_createBaseEach.js.map +0 -1
  1623. package/dist/node_modules/lodash/_createBaseFor.js.map +0 -1
  1624. package/dist/node_modules/lodash/_createCaseFirst.js.map +0 -1
  1625. package/dist/node_modules/lodash/_createFind.js.map +0 -1
  1626. package/dist/node_modules/lodash/_createRange.js.map +0 -1
  1627. package/dist/node_modules/lodash/_createSet.js.map +0 -1
  1628. package/dist/node_modules/lodash/_defineProperty.js.map +0 -1
  1629. package/dist/node_modules/lodash/_equalArrays.js.map +0 -1
  1630. package/dist/node_modules/lodash/_equalByTag.js.map +0 -1
  1631. package/dist/node_modules/lodash/_equalObjects.js.map +0 -1
  1632. package/dist/node_modules/lodash/_flatRest.js.map +0 -1
  1633. package/dist/node_modules/lodash/_freeGlobal.js.map +0 -1
  1634. package/dist/node_modules/lodash/_getAllKeys.js.map +0 -1
  1635. package/dist/node_modules/lodash/_getAllKeysIn.js.map +0 -1
  1636. package/dist/node_modules/lodash/_getMapData.js.map +0 -1
  1637. package/dist/node_modules/lodash/_getMatchData.js.map +0 -1
  1638. package/dist/node_modules/lodash/_getNative.js.map +0 -1
  1639. package/dist/node_modules/lodash/_getPrototype.js.map +0 -1
  1640. package/dist/node_modules/lodash/_getRawTag.js.map +0 -1
  1641. package/dist/node_modules/lodash/_getSymbols.js.map +0 -1
  1642. package/dist/node_modules/lodash/_getSymbolsIn.js.map +0 -1
  1643. package/dist/node_modules/lodash/_getTag.js.map +0 -1
  1644. package/dist/node_modules/lodash/_getValue.js.map +0 -1
  1645. package/dist/node_modules/lodash/_hasPath.js.map +0 -1
  1646. package/dist/node_modules/lodash/_hasUnicode.js.map +0 -1
  1647. package/dist/node_modules/lodash/_hashClear.js.map +0 -1
  1648. package/dist/node_modules/lodash/_hashDelete.js.map +0 -1
  1649. package/dist/node_modules/lodash/_hashGet.js.map +0 -1
  1650. package/dist/node_modules/lodash/_hashHas.js.map +0 -1
  1651. package/dist/node_modules/lodash/_hashSet.js.map +0 -1
  1652. package/dist/node_modules/lodash/_initCloneArray.js.map +0 -1
  1653. package/dist/node_modules/lodash/_initCloneByTag.js.map +0 -1
  1654. package/dist/node_modules/lodash/_initCloneObject.js.map +0 -1
  1655. package/dist/node_modules/lodash/_isFlattenable.js.map +0 -1
  1656. package/dist/node_modules/lodash/_isIndex.js.map +0 -1
  1657. package/dist/node_modules/lodash/_isIterateeCall.js.map +0 -1
  1658. package/dist/node_modules/lodash/_isKey.js.map +0 -1
  1659. package/dist/node_modules/lodash/_isKeyable.js.map +0 -1
  1660. package/dist/node_modules/lodash/_isMasked.js.map +0 -1
  1661. package/dist/node_modules/lodash/_isPrototype.js.map +0 -1
  1662. package/dist/node_modules/lodash/_isStrictComparable.js.map +0 -1
  1663. package/dist/node_modules/lodash/_listCacheClear.js.map +0 -1
  1664. package/dist/node_modules/lodash/_listCacheDelete.js.map +0 -1
  1665. package/dist/node_modules/lodash/_listCacheGet.js.map +0 -1
  1666. package/dist/node_modules/lodash/_listCacheHas.js.map +0 -1
  1667. package/dist/node_modules/lodash/_listCacheSet.js.map +0 -1
  1668. package/dist/node_modules/lodash/_mapCacheClear.js.map +0 -1
  1669. package/dist/node_modules/lodash/_mapCacheDelete.js.map +0 -1
  1670. package/dist/node_modules/lodash/_mapCacheGet.js.map +0 -1
  1671. package/dist/node_modules/lodash/_mapCacheHas.js.map +0 -1
  1672. package/dist/node_modules/lodash/_mapCacheSet.js.map +0 -1
  1673. package/dist/node_modules/lodash/_mapToArray.js.map +0 -1
  1674. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +0 -1
  1675. package/dist/node_modules/lodash/_memoizeCapped.js.map +0 -1
  1676. package/dist/node_modules/lodash/_nativeCreate.js.map +0 -1
  1677. package/dist/node_modules/lodash/_nativeKeys.js.map +0 -1
  1678. package/dist/node_modules/lodash/_nativeKeysIn.js.map +0 -1
  1679. package/dist/node_modules/lodash/_nodeUtil.js.map +0 -1
  1680. package/dist/node_modules/lodash/_objectToString.js.map +0 -1
  1681. package/dist/node_modules/lodash/_overArg.js.map +0 -1
  1682. package/dist/node_modules/lodash/_overRest.js.map +0 -1
  1683. package/dist/node_modules/lodash/_root.js.map +0 -1
  1684. package/dist/node_modules/lodash/_safeGet.js.map +0 -1
  1685. package/dist/node_modules/lodash/_setCacheAdd.js.map +0 -1
  1686. package/dist/node_modules/lodash/_setCacheHas.js.map +0 -1
  1687. package/dist/node_modules/lodash/_setToArray.js.map +0 -1
  1688. package/dist/node_modules/lodash/_setToString.js.map +0 -1
  1689. package/dist/node_modules/lodash/_shortOut.js.map +0 -1
  1690. package/dist/node_modules/lodash/_stackClear.js.map +0 -1
  1691. package/dist/node_modules/lodash/_stackDelete.js.map +0 -1
  1692. package/dist/node_modules/lodash/_stackGet.js.map +0 -1
  1693. package/dist/node_modules/lodash/_stackHas.js.map +0 -1
  1694. package/dist/node_modules/lodash/_stackSet.js.map +0 -1
  1695. package/dist/node_modules/lodash/_strictIndexOf.js.map +0 -1
  1696. package/dist/node_modules/lodash/_stringSize.js.map +0 -1
  1697. package/dist/node_modules/lodash/_stringToArray.js.map +0 -1
  1698. package/dist/node_modules/lodash/_stringToPath.js.map +0 -1
  1699. package/dist/node_modules/lodash/_toKey.js.map +0 -1
  1700. package/dist/node_modules/lodash/_toSource.js.map +0 -1
  1701. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +0 -1
  1702. package/dist/node_modules/lodash/_unicodeSize.js.map +0 -1
  1703. package/dist/node_modules/lodash/_unicodeToArray.js.map +0 -1
  1704. package/dist/node_modules/lodash/clone.js.map +0 -1
  1705. package/dist/node_modules/lodash/cloneDeep.js.map +0 -1
  1706. package/dist/node_modules/lodash/constant.js.map +0 -1
  1707. package/dist/node_modules/lodash/debounce.js.map +0 -1
  1708. package/dist/node_modules/lodash/defaults.js.map +0 -1
  1709. package/dist/node_modules/lodash/each.js.map +0 -1
  1710. package/dist/node_modules/lodash/eq.js.map +0 -1
  1711. package/dist/node_modules/lodash/every.js.map +0 -1
  1712. package/dist/node_modules/lodash/filter.js.map +0 -1
  1713. package/dist/node_modules/lodash/find.js.map +0 -1
  1714. package/dist/node_modules/lodash/findIndex.js.map +0 -1
  1715. package/dist/node_modules/lodash/flatMap.js.map +0 -1
  1716. package/dist/node_modules/lodash/flatten.js.map +0 -1
  1717. package/dist/node_modules/lodash/forEach.js.map +0 -1
  1718. package/dist/node_modules/lodash/forIn.js.map +0 -1
  1719. package/dist/node_modules/lodash/get.js.map +0 -1
  1720. package/dist/node_modules/lodash/has.js.map +0 -1
  1721. package/dist/node_modules/lodash/hasIn.js.map +0 -1
  1722. package/dist/node_modules/lodash/identity.js.map +0 -1
  1723. package/dist/node_modules/lodash/isArguments.js.map +0 -1
  1724. package/dist/node_modules/lodash/isArray.js.map +0 -1
  1725. package/dist/node_modules/lodash/isArrayLike.js.map +0 -1
  1726. package/dist/node_modules/lodash/isArrayLikeObject.js.map +0 -1
  1727. package/dist/node_modules/lodash/isBoolean.js.map +0 -1
  1728. package/dist/node_modules/lodash/isBuffer.js.map +0 -1
  1729. package/dist/node_modules/lodash/isEmpty.js.map +0 -1
  1730. package/dist/node_modules/lodash/isEqual.js.map +0 -1
  1731. package/dist/node_modules/lodash/isFunction.js.map +0 -1
  1732. package/dist/node_modules/lodash/isLength.js.map +0 -1
  1733. package/dist/node_modules/lodash/isMap.js.map +0 -1
  1734. package/dist/node_modules/lodash/isNaN.js.map +0 -1
  1735. package/dist/node_modules/lodash/isNil.js.map +0 -1
  1736. package/dist/node_modules/lodash/isNumber.js.map +0 -1
  1737. package/dist/node_modules/lodash/isObject.js.map +0 -1
  1738. package/dist/node_modules/lodash/isObjectLike.js.map +0 -1
  1739. package/dist/node_modules/lodash/isPlainObject.js.map +0 -1
  1740. package/dist/node_modules/lodash/isSet.js.map +0 -1
  1741. package/dist/node_modules/lodash/isString.js.map +0 -1
  1742. package/dist/node_modules/lodash/isSymbol.js.map +0 -1
  1743. package/dist/node_modules/lodash/isTypedArray.js.map +0 -1
  1744. package/dist/node_modules/lodash/isUndefined.js.map +0 -1
  1745. package/dist/node_modules/lodash/keys.js.map +0 -1
  1746. package/dist/node_modules/lodash/keysIn.js.map +0 -1
  1747. package/dist/node_modules/lodash/last.js.map +0 -1
  1748. package/dist/node_modules/lodash/map.js.map +0 -1
  1749. package/dist/node_modules/lodash/mapValues.js.map +0 -1
  1750. package/dist/node_modules/lodash/max.js.map +0 -1
  1751. package/dist/node_modules/lodash/maxBy.js.map +0 -1
  1752. package/dist/node_modules/lodash/memoize.js.map +0 -1
  1753. package/dist/node_modules/lodash/merge.js.map +0 -1
  1754. package/dist/node_modules/lodash/min.js.map +0 -1
  1755. package/dist/node_modules/lodash/minBy.js.map +0 -1
  1756. package/dist/node_modules/lodash/noop.js.map +0 -1
  1757. package/dist/node_modules/lodash/now.js.map +0 -1
  1758. package/dist/node_modules/lodash/pick.js.map +0 -1
  1759. package/dist/node_modules/lodash/property.js.map +0 -1
  1760. package/dist/node_modules/lodash/range.js.map +0 -1
  1761. package/dist/node_modules/lodash/reduce.js.map +0 -1
  1762. package/dist/node_modules/lodash/size.js.map +0 -1
  1763. package/dist/node_modules/lodash/some.js.map +0 -1
  1764. package/dist/node_modules/lodash/sortBy.js.map +0 -1
  1765. package/dist/node_modules/lodash/stubArray.js.map +0 -1
  1766. package/dist/node_modules/lodash/stubFalse.js.map +0 -1
  1767. package/dist/node_modules/lodash/throttle.js.map +0 -1
  1768. package/dist/node_modules/lodash/toFinite.js.map +0 -1
  1769. package/dist/node_modules/lodash/toInteger.js.map +0 -1
  1770. package/dist/node_modules/lodash/toNumber.js.map +0 -1
  1771. package/dist/node_modules/lodash/toPlainObject.js.map +0 -1
  1772. package/dist/node_modules/lodash/toString.js.map +0 -1
  1773. package/dist/node_modules/lodash/transform.js.map +0 -1
  1774. package/dist/node_modules/lodash/union.js.map +0 -1
  1775. package/dist/node_modules/lodash/uniqBy.js.map +0 -1
  1776. package/dist/node_modules/lodash/uniqueId.js.map +0 -1
  1777. package/dist/node_modules/lodash/upperFirst.js.map +0 -1
  1778. package/dist/node_modules/lodash/values.js.map +0 -1
  1779. package/dist/node_modules/lodash/zipObject.js.map +0 -1
  1780. package/dist/node_modules/object-assign/index.js.map +0 -1
  1781. package/dist/node_modules/prop-types/checkPropTypes.js.map +0 -1
  1782. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +0 -1
  1783. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +0 -1
  1784. package/dist/node_modules/prop-types/index.js.map +0 -1
  1785. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +0 -1
  1786. package/dist/node_modules/prop-types/lib/has.js.map +0 -1
  1787. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  1788. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
  1789. package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +0 -1
  1790. package/dist/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  1791. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
  1792. package/dist/node_modules/react-is/index.js.map +0 -1
  1793. package/dist/node_modules/react-smooth/es6/Animate.js.map +0 -1
  1794. package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +0 -1
  1795. package/dist/node_modules/react-smooth/es6/configUpdate.js.map +0 -1
  1796. package/dist/node_modules/react-smooth/es6/easing.js.map +0 -1
  1797. package/dist/node_modules/react-smooth/es6/index.js.map +0 -1
  1798. package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +0 -1
  1799. package/dist/node_modules/react-smooth/es6/util.js.map +0 -1
  1800. package/dist/node_modules/recharts/es6/cartesian/Area.js.map +0 -1
  1801. package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +0 -1
  1802. package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +0 -1
  1803. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +0 -1
  1804. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +0 -1
  1805. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +0 -1
  1806. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +0 -1
  1807. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +0 -1
  1808. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +0 -1
  1809. package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +0 -1
  1810. package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +0 -1
  1811. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +0 -1
  1812. package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +0 -1
  1813. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +0 -1
  1814. package/dist/node_modules/recharts/es6/chart/AreaChart.js.map +0 -1
  1815. package/dist/node_modules/recharts/es6/chart/PieChart.js.map +0 -1
  1816. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +0 -1
  1817. package/dist/node_modules/recharts/es6/component/Cell.js.map +0 -1
  1818. package/dist/node_modules/recharts/es6/component/Cursor.js.map +0 -1
  1819. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +0 -1
  1820. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +0 -1
  1821. package/dist/node_modules/recharts/es6/component/Label.js.map +0 -1
  1822. package/dist/node_modules/recharts/es6/component/LabelList.js.map +0 -1
  1823. package/dist/node_modules/recharts/es6/component/Legend.js.map +0 -1
  1824. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +0 -1
  1825. package/dist/node_modules/recharts/es6/component/Text.js.map +0 -1
  1826. package/dist/node_modules/recharts/es6/component/Tooltip.js.map +0 -1
  1827. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +0 -1
  1828. package/dist/node_modules/recharts/es6/container/Layer.js.map +0 -1
  1829. package/dist/node_modules/recharts/es6/container/Surface.js.map +0 -1
  1830. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +0 -1
  1831. package/dist/node_modules/recharts/es6/polar/Pie.js.map +0 -1
  1832. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js.map +0 -1
  1833. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js.map +0 -1
  1834. package/dist/node_modules/recharts/es6/shape/Cross.js.map +0 -1
  1835. package/dist/node_modules/recharts/es6/shape/Curve.js.map +0 -1
  1836. package/dist/node_modules/recharts/es6/shape/Dot.js.map +0 -1
  1837. package/dist/node_modules/recharts/es6/shape/Polygon.js.map +0 -1
  1838. package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +0 -1
  1839. package/dist/node_modules/recharts/es6/shape/Sector.js.map +0 -1
  1840. package/dist/node_modules/recharts/es6/shape/Symbols.js.map +0 -1
  1841. package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +0 -1
  1842. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +0 -1
  1843. package/dist/node_modules/recharts/es6/util/BarUtils.js.map +0 -1
  1844. package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +0 -1
  1845. package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +0 -1
  1846. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +0 -1
  1847. package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +0 -1
  1848. package/dist/node_modules/recharts/es6/util/DataUtils.js.map +0 -1
  1849. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +0 -1
  1850. package/dist/node_modules/recharts/es6/util/Events.js.map +0 -1
  1851. package/dist/node_modules/recharts/es6/util/Global.js.map +0 -1
  1852. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +0 -1
  1853. package/dist/node_modules/recharts/es6/util/LogUtils.js.map +0 -1
  1854. package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +0 -1
  1855. package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +0 -1
  1856. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +0 -1
  1857. package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +0 -1
  1858. package/dist/node_modules/recharts/es6/util/TickUtils.js.map +0 -1
  1859. package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +0 -1
  1860. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +0 -1
  1861. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +0 -1
  1862. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +0 -1
  1863. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +0 -1
  1864. package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +0 -1
  1865. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +0 -1
  1866. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +0 -1
  1867. package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +0 -1
  1868. package/dist/node_modules/recharts/es6/util/types.js.map +0 -1
  1869. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +0 -1
  1870. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +0 -1
  1871. package/dist/node_modules/recharts-scale/es6/util/utils.js.map +0 -1
  1872. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +0 -1
  1873. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js.map +0 -1
  1874. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +0 -1
  1875. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +0 -1
  1876. package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +0 -1
  1877. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +0 -1
  1878. package/dist/node_modules/rxjs/dist/esm5/internal/observable/throwError.js.map +0 -1
  1879. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +0 -1
  1880. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +0 -1
  1881. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +0 -1
  1882. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +0 -1
  1883. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +0 -1
  1884. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +0 -1
  1885. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +0 -1
  1886. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +0 -1
  1887. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +0 -1
  1888. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +0 -1
  1889. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +0 -1
  1890. package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +0 -1
  1891. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +0 -1
  1892. package/dist/node_modules/victory-vendor/es/d3-scale.js.map +0 -1
  1893. package/dist/pages/ActionsPage.js.map +0 -1
  1894. package/dist/pages/AgentDetailsPage.js.map +0 -1
  1895. package/dist/pages/AgentGraphPage.js.map +0 -1
  1896. package/dist/pages/AgentsLandingPage.js.map +0 -1
  1897. package/dist/pages/AgentsPage.js.map +0 -1
  1898. package/dist/pages/AnalyticsPage.js.map +0 -1
  1899. package/dist/pages/CatalogDetailPage.js.map +0 -1
  1900. package/dist/pages/CatalogDocsPage.js.map +0 -1
  1901. package/dist/pages/CatalogPage.js.map +0 -1
  1902. package/dist/pages/ComponentDetailPage.js.map +0 -1
  1903. package/dist/pages/ComponentDocsPage.js.map +0 -1
  1904. package/dist/pages/ComponentsPage.js.map +0 -1
  1905. package/dist/pages/EnvTopologyPage.js.map +0 -1
  1906. package/dist/pages/GettingStartedPage.js.map +0 -1
  1907. package/dist/pages/HealthPage.js.map +0 -1
  1908. package/dist/pages/LogsPage.js.map +0 -1
  1909. package/dist/pages/NoteDetailsPage.js.map +0 -1
  1910. package/dist/pages/OverviewPage.js.map +0 -1
  1911. package/dist/pages/PluginDetailPage.js.map +0 -1
  1912. package/dist/pages/PluginsCatalogPage.js.map +0 -1
  1913. package/dist/pages/ScheduledJobDetailPage.js.map +0 -1
  1914. package/dist/pages/SessionDetailsPage.js.map +0 -1
  1915. package/dist/pages/SessionsPage.js.map +0 -1
  1916. package/dist/pages/SettingsPage.js.map +0 -1
  1917. package/dist/pages/SharedSessionPage.js.map +0 -1
  1918. package/dist/pages/SharedVibeDeckPage.js.map +0 -1
  1919. package/dist/pages/TargetDetailsPage.js.map +0 -1
  1920. package/dist/pages/TargetsPage.js.map +0 -1
  1921. package/dist/pages/TemplateDetailPage.js.map +0 -1
  1922. package/dist/pages/TemplatesPage.js.map +0 -1
  1923. package/dist/pages/TunnelsLandingPage.js.map +0 -1
  1924. package/dist/pages/VibeAuditPage.js.map +0 -1
  1925. package/dist/pages/VibeCalendarPage.js.map +0 -1
  1926. package/dist/pages/VibeDeckPage.js.map +0 -1
  1927. package/dist/pages/VibeDetailsPage.js.map +0 -1
  1928. package/dist/pages/VibeDocsPage.js.map +0 -1
  1929. package/dist/pages/VibeTaskDetailPage.js.map +0 -1
  1930. package/dist/pages/VibesPage.js.map +0 -1
  1931. package/dist/pages/WebhooksPage.js.map +0 -1
  1932. package/dist/pages/ai/AIBookmarksPage.js.map +0 -1
  1933. package/dist/pages/ai/AIBuilderPage.js.map +0 -1
  1934. package/dist/pages/ai/AIPage.js.map +0 -1
  1935. package/dist/pages/ai/AISessionDetailPage.js.map +0 -1
  1936. package/dist/pages/ai/AgentManagerPage.js.map +0 -1
  1937. package/dist/pages/tunnels/AuditTab.js.map +0 -1
  1938. package/dist/pages/tunnels/DomainsTab.js.map +0 -1
  1939. package/dist/pages/tunnels/ProvidersTab.js.map +0 -1
  1940. package/dist/pages/tunnels/SessionsTab.js.map +0 -1
  1941. package/dist/pages/tunnels/TunnelDetailsPage.js.map +0 -1
  1942. package/dist/pages/tunnels/TunnelsTab.js.map +0 -1
  1943. package/dist/pages/tunnels/UsageTab.js.map +0 -1
  1944. package/dist/pages/tunnels/tabs/TunnelAuditTab.js.map +0 -1
  1945. package/dist/pages/tunnels/tabs/TunnelCliTab.js.map +0 -1
  1946. package/dist/pages/tunnels/tabs/TunnelDomainsTab.js.map +0 -1
  1947. package/dist/pages/tunnels/tabs/TunnelEndpointsTab.js.map +0 -1
  1948. package/dist/pages/tunnels/tabs/TunnelOverviewTab.js.map +0 -1
  1949. package/dist/pages/tunnels/tabs/TunnelSessionsTab.js.map +0 -1
  1950. package/dist/pages/tunnels/tabs/TunnelSettingsTab.js.map +0 -1
  1951. package/dist/pages/tunnels/tabs/TunnelUsageTab.js.map +0 -1
  1952. package/dist/plugin.js.map +0 -1
  1953. package/dist/providers/AgentEventsProvider.js.map +0 -1
  1954. package/dist/providers/QuotaExhaustedProvider.js.map +0 -1
  1955. package/dist/providers/VibeControlsProvider.js.map +0 -1
  1956. package/dist/services/agentRemoteTaskGates.js.map +0 -1
  1957. package/dist/services/aiApi.js.map +0 -1
  1958. package/dist/services/assistantApi.js.map +0 -1
  1959. package/dist/services/createSandboxAssistantTransport.js.map +0 -1
  1960. package/dist/services/gitopsApi.js.map +0 -1
  1961. package/dist/services/iframeToken.js.map +0 -1
  1962. package/dist/services/planApi.js.map +0 -1
  1963. package/dist/services/schedulerApi.js.map +0 -1
  1964. package/dist/shared/hooks/useField.js.map +0 -1
  1965. package/dist/shared/hooks/useTr.js.map +0 -1
  1966. package/dist/store/agentManagerStore.js.map +0 -1
  1967. package/dist/store/vibeControlsStore.js.map +0 -1
  1968. package/dist/translations/en.js.map +0 -1
  1969. package/dist/types/assistant.js.map +0 -1
  1970. package/dist/utils/agentApiPath.js.map +0 -1
  1971. package/dist/utils/agentHealth.js.map +0 -1
  1972. package/dist/utils/agentStatus.js.map +0 -1
  1973. package/dist/utils/agentVisibility.js.map +0 -1
  1974. package/dist/utils/aiCredits.js.map +0 -1
  1975. package/dist/utils/aiCreditsLedger.js.map +0 -1
  1976. package/dist/utils/aiSessionNotFound.js.map +0 -1
  1977. package/dist/utils/assistantPrompt.js.map +0 -1
  1978. package/dist/utils/onboardingUtils.js.map +0 -1
  1979. package/dist/utils/pageContext.js.map +0 -1
  1980. package/dist/utils/quotaUtils.js.map +0 -1
  1981. package/dist/utils/randomSessionName.js.map +0 -1
  1982. package/dist/utils/relativeTime.js.map +0 -1
  1983. package/dist/utils/shareUrl.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"useActiveAgentProfile.js","names":[],"sources":["../../src/hooks/useActiveAgentProfile.ts"],"sourcesContent":["/**\n * useActiveAgentProfile — Phase 5B (multi-profile-per-daemon).\n *\n * Lists `AgentProfile` rows for an agent and tracks the currently-active\n * profile name in the VibeControls Zustand store (`activeProfilePerAgent`).\n *\n * Active-selection rules:\n * 1. If the user has explicitly selected a profile for this agent, use it.\n * 2. Otherwise, fall back to the profile flagged `isDefault`.\n * 3. Otherwise, fall back to the first profile in the list.\n * 4. Otherwise, fall back to the literal string \"default\" so callers can\n * build canonical paths even before any AgentProfile rows exist\n * (server-side compatibility shim).\n *\n * NOTE: The Apollo `gql` document is inlined here (not generated) so this\n * hook compiles cleanly even before the Phase 5A svc work has published\n * the AgentProfile schema to Hive. Once published, the inline document\n * can be replaced with the generated `useVibecontrolsAgentProfilesQuery`\n * hook without touching callsites.\n */\n\nimport { useEffect, useMemo } from 'react';\nimport { gql } from '@apollo/client';\nimport { useQuery } from '@apollo/client/react';\nimport { useVibeControlsStore } from '@/store/vibeControlsStore';\n\nexport interface AgentProfile {\n id: string;\n agentId: string;\n name: string;\n isDefault: boolean;\n port: number | null;\n status: string | null;\n tunnelUrl: string | null;\n createdAt: string;\n updatedAt: string;\n}\n\ninterface VibecontrolsAgentProfilesData {\n vibecontrolsAgentProfiles: AgentProfile[];\n}\n\ninterface VibecontrolsAgentProfilesVars {\n agentId: string;\n}\n\nconst VIBECONTROLS_AGENT_PROFILES_QUERY = gql`\n query VibecontrolsAgentProfiles($agentId: ID!) {\n vibecontrolsAgentProfiles(agentId: $agentId) {\n id\n agentId\n name\n isDefault\n port\n status\n tunnelUrl\n createdAt\n updatedAt\n }\n }\n`;\n\nexport interface UseActiveAgentProfileResult {\n /** All profiles for the agent (empty until svc Phase 5A is live). */\n profiles: AgentProfile[];\n /** The currently-selected profile name for this agent. */\n active: string;\n /** Persist a new active profile for this agent into the store. */\n setActive: (profile: string) => void;\n loading: boolean;\n error: Error | null;\n /**\n * Re-fetch the profile list. Resolves when the round-trip settles and\n * never rejects (failures are swallowed), so it is safe to call\n * fire-and-forget.\n */\n refetch: () => Promise<void>;\n}\n\n/**\n * A profile is \"ready\" when its CLI is actually started/running. `healthy`\n * is included because the rest of the UI (e.g. the profile status dot)\n * treats it as a running state; excluding it here would mark a `healthy`\n * profile unusable and make it unselectable via `isUsableProfile`.\n */\nfunction isReadyStatus(status: string | null): boolean {\n const v = (status ?? '').toLowerCase();\n return v === 'ready' || v === 'running' || v === 'active' || v === 'healthy';\n}\n\n/**\n * A profile is a valid *active* target only when it's usable — i.e. the\n * daemon can actually serve profile-scoped requests for it. A never-started\n * `awaiting-config` profile is NOT usable; sitting on it confuses the user\n * and breaks profile-scoped features (Open Editor, Logs, …) with 404s.\n *\n * `default`/`isDefault` are NOT exempt from the readiness check: the boot\n * profile is not always running (its persisted status can be\n * `awaiting-config`), so treating it as usable regardless of status let the\n * stored-selection path preserve an unready `default` and target a\n * non-running profile. We only trust `default`/`isDefault` unconditionally\n * when the svc reports *no* status at all (Phase 5A compat shim: status\n * null/empty), so the UI still works before statuses are populated.\n */\nexport function isUsableProfile(p: AgentProfile): boolean {\n if (isReadyStatus(p.status)) return true;\n const hasKnownStatus = (p.status ?? '').trim().length > 0;\n return !hasKnownStatus && (p.isDefault || p.name === 'default');\n}\n\nexport function useActiveAgentProfile(\n agentId: string | null | undefined\n): UseActiveAgentProfileResult {\n const setActiveProfile = useVibeControlsStore((s) => s.setActiveProfile);\n const storedActive = useVibeControlsStore((s) =>\n agentId ? (s.activeProfilePerAgent[agentId] ?? null) : null\n );\n\n const { data, loading, error, refetch } = useQuery<\n VibecontrolsAgentProfilesData,\n VibecontrolsAgentProfilesVars\n >(VIBECONTROLS_AGENT_PROFILES_QUERY, {\n variables: { agentId: agentId ?? '' },\n skip: !agentId,\n fetchPolicy: 'cache-and-network',\n // The svc Phase 5A schema may not be published yet; swallow schema\n // errors so consumers still render with the canonical \"default\"\n // fallback instead of the whole tree blowing up.\n errorPolicy: 'ignore',\n });\n\n const profiles = useMemo<AgentProfile[]>(() => data?.vibecontrolsAgentProfiles ?? [], [data]);\n\n const defaultProfile = useMemo<AgentProfile | null>(() => {\n if (profiles.length === 0) return null;\n // Resolution order prefers a *usable* profile, because the boot profile\n // named \"default\" is NOT always running (it can be `awaiting-config`),\n // and selecting an unready profile breaks profile-scoped features with a\n // misleading 404. Prefer, in order: the explicitly-default profile if\n // ready, the boot \"default\" profile if ready, then any ready/running\n // profile. Only when nothing is ready do we fall back to the configured\n // default / boot default / first profile as a last resort (something\n // must be returned so callers can still build a canonical path).\n return (\n profiles.find((p) => p.isDefault && isReadyStatus(p.status)) ??\n profiles.find((p) => p.name === 'default' && isReadyStatus(p.status)) ??\n profiles.find((p) => isReadyStatus(p.status)) ??\n profiles.find((p) => p.isDefault) ??\n profiles.find((p) => p.name === 'default') ??\n profiles[0] ??\n null\n );\n }, [profiles]);\n\n const active: string = useMemo(() => {\n // While the profile list is still unknown (loading / none), honor the\n // stored choice rather than flicker to \"default\".\n if (profiles.length === 0) return storedActive ?? 'default';\n // Honor the stored selection only while it still points to a usable\n // profile. If it was deleted or is a never-started profile, fall back to\n // the resolved default so the UI never sits on a dead/awaiting-config\n // profile (which previously broke Open Editor with a misleading 404).\n if (storedActive) {\n const sp = profiles.find((p) => p.name === storedActive);\n if (sp && isUsableProfile(sp)) return storedActive;\n }\n return defaultProfile?.name ?? 'default';\n }, [profiles, storedActive, defaultProfile]);\n\n // Self-heal the persisted selection: when it's absent, deleted, or points\n // to an unusable (never-started) profile, replace it with the resolved\n // active so the store — and the \"Active\" badge — reflect a real, usable\n // profile, and downstream store-first readers match this hook.\n useEffect(() => {\n if (!agentId || profiles.length === 0) return;\n if (storedActive !== active) {\n setActiveProfile(agentId, active);\n }\n }, [agentId, profiles.length, storedActive, active, setActiveProfile]);\n\n const setActive = (profile: string): void => {\n if (!agentId) return;\n setActiveProfile(agentId, profile);\n };\n\n return {\n profiles,\n active,\n setActive,\n loading,\n error: (error as Error | undefined) ?? null,\n // Non-throwing by contract: refetch failures are swallowed here so no\n // caller — including fire-and-forget callsites like the Profiles \"Refresh\"\n // button — can produce an unhandled promise rejection. The list simply\n // stays stale until the next successful fetch.\n refetch: async () => {\n try {\n await refetch();\n } catch {\n /* swallowed — see above */\n }\n },\n };\n}\n"],"mappings":";;;;;AA8CA,IAAM,IAAoC,CAAG;;;;;;;;;;;;;;;AAuC7C,SAAS,EAAc,GAAgC;CACrD,IAAM,KAAK,KAAU,IAAI,aAAa;AACtC,QAAO,MAAM,WAAW,MAAM,aAAa,MAAM,YAAY,MAAM;;AAiBrE,SAAgB,EAAgB,GAA0B;AAGxD,QAFI,EAAc,EAAE,OAAO,GAAS,KAE7B,GADiB,EAAE,UAAU,IAAI,MAAM,CAAC,SAAS,OAC7B,EAAE,aAAa,EAAE,SAAS;;AAGvD,SAAgB,EACd,GAC6B;CAC7B,IAAM,IAAmB,GAAsB,MAAM,EAAE,iBAAiB,EAClE,IAAe,GAAsB,MACzC,IAAW,EAAE,sBAAsB,MAAY,OAAQ,KACxD,EAEK,EAAE,SAAM,YAAS,UAAO,eAAY,EAGxC,GAAmC;EACnC,WAAW,EAAE,SAAS,KAAW,IAAI;EACrC,MAAM,CAAC;EACP,aAAa;EAIb,aAAa;EACd,CAAC,EAEI,IAAW,QAA8B,GAAM,6BAA6B,EAAE,EAAE,CAAC,EAAK,CAAC,EAEvF,IAAiB,QACjB,EAAS,WAAW,IAAU,OAUhC,EAAS,MAAM,MAAM,EAAE,aAAa,EAAc,EAAE,OAAO,CAAC,IAC5D,EAAS,MAAM,MAAM,EAAE,SAAS,aAAa,EAAc,EAAE,OAAO,CAAC,IACrE,EAAS,MAAM,MAAM,EAAc,EAAE,OAAO,CAAC,IAC7C,EAAS,MAAM,MAAM,EAAE,UAAU,IACjC,EAAS,MAAM,MAAM,EAAE,SAAS,UAAU,IAC1C,EAAS,MACT,MAED,CAAC,EAAS,CAAC,EAER,IAAiB,QAAc;AAGnC,MAAI,EAAS,WAAW,EAAG,QAAO,KAAgB;AAKlD,MAAI,GAAc;GAChB,IAAM,IAAK,EAAS,MAAM,MAAM,EAAE,SAAS,EAAa;AACxD,OAAI,KAAM,EAAgB,EAAG,CAAE,QAAO;;AAExC,SAAO,GAAgB,QAAQ;IAC9B;EAAC;EAAU;EAAc;EAAe,CAAC;AAkB5C,QAZA,QAAgB;AACV,GAAC,KAAW,EAAS,WAAW,KAChC,MAAiB,KACnB,EAAiB,GAAS,EAAO;IAElC;EAAC;EAAS,EAAS;EAAQ;EAAc;EAAQ;EAAiB,CAAC,EAO/D;EACL;EACA;EACA,YARiB,MAA0B;AACtC,QACL,EAAiB,GAAS,EAAQ;;EAOlC;EACA,OAAQ,KAA+B;EAKvC,SAAS,YAAY;AACnB,OAAI;AACF,UAAM,GAAS;WACT;;EAIX"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useAgentConnectivity.js","names":[],"sources":["../../src/hooks/useAgentConnectivity.ts"],"sourcesContent":["/**\n * useAgentConnectivity — single source of truth for \"is this agent reachable\".\n *\n * Reads from the workspace-wide `vibecontrolsAgentHealthProbes` GraphQL query\n * (the same probe the Targets & Agents page polls). The backend hits\n * /health/ready (deep check: ttyd + tunnel + session + db + lifecycle)\n * and reports a per-agent {healthy, errorMessage} payload.\n *\n * Why this hook exists:\n * - Multiple AI surfaces (AIPage, AgentManagerPage, AISessionDetailPage)\n * need to render a friendly \"agent not connected\" card before the\n * install-button surfaces (PluginGate, PluginHarnessPicker) try to\n * fetch plugin lists from the agent.\n * - Earlier this hook did its own raw-fetch probe via /health/ready\n * through the gateway. That created a race between mounts where the\n * initial render saw `agentId=''` (cache hydration mid-flight),\n * flipped status to \"unreachable\", and then never recovered for the\n * user even after the agent id became known. Worse, the per-mount\n * probe meant a sidenav navigate-back would re-run the fetch from\n * scratch and briefly show \"Agent not connected\" before settling.\n * - Routing through the cached GraphQL query eliminates both races:\n * Apollo's cache-and-network policy returns the last-known result\n * instantly on remount, and the 30s pollInterval keeps it fresh.\n */\n\nimport { useCallback, useMemo } from 'react';\nimport {\n useVibecontrolsAgentHealthProbesQuery,\n useVibecontrolsAgentHealthProbeStreamSubscription,\n} from '@/generated/wspace-operations';\n\nexport type AgentConnectivityStatus = 'unknown' | 'probing' | 'reachable' | 'unreachable';\n\nexport interface UseAgentConnectivityResult {\n status: AgentConnectivityStatus;\n /** True when at least one probe has settled (reachable or unreachable). */\n hasProbed: boolean;\n /** True while an in-flight probe is running. */\n probing: boolean;\n /** True iff the most recent probe says the agent is reachable. */\n reachable: boolean;\n /** Sanitized, user-friendly hint for unreachable case. Never raw fetch text. */\n hint: string | null;\n /** Re-runs the probe. Resolves once the new probe settles. */\n retry: () => Promise<void>;\n}\n\nconst UNREACHABLE_PATTERNS: readonly string[] = [\n 'typo in the url',\n 'unable to connect',\n 'failedtoopensocket',\n 'failed to open socket',\n 'econnrefused',\n 'enotfound',\n 'getaddrinfo',\n 'fetch failed',\n 'agent unreachable',\n 'http 503',\n 'agent returned 503',\n 'connection refused',\n 'connection reset',\n 'tunnel is unreachable',\n 'cloudflare tunnel error',\n];\n\nexport function isUnreachableError(message: string | null | undefined): boolean {\n if (!message) return false;\n const m = message.toLowerCase();\n return UNREACHABLE_PATTERNS.some((p) => m.includes(p));\n}\n\n/**\n * Translate a raw error message into a short, user-safe hint key.\n * The full technical detail goes to console.error elsewhere — return\n * value here is for direct UI rendering.\n */\nexport function sanitizeConnectivityHint(raw: string | null | undefined): string | null {\n if (!raw) return null;\n if (isUnreachableError(raw)) return 'agent_unreachable';\n if (raw.toLowerCase().includes('agent not yet configured')) return 'agent_awaiting_config';\n if (raw.toLowerCase().includes('initializing')) return 'agent_initializing';\n return 'agent_unreachable';\n}\n\nexport function useAgentConnectivity(agentId: string | null): UseAgentConnectivityResult {\n // 1) Initial query: gives us cached/first-paint data instantly so the\n // UI has something to render before the subscription delivers its\n // first event. cache-and-network so a sidenav navigate-back returns\n // the cached probe instantly while a fresh fetch refreshes.\n // 2) Subscription: replaces the prior 30s pollInterval. Backend pushes\n // the full health-probe array on every change + a 30s heartbeat,\n // so the FE sees status flips in <1s instead of ≤30s.\n const { data: queryData, loading } = useVibecontrolsAgentHealthProbesQuery({\n fetchPolicy: 'cache-and-network',\n nextFetchPolicy: 'cache-first',\n notifyOnNetworkStatusChange: true,\n skip: !agentId,\n });\n const { data: streamData } = useVibecontrolsAgentHealthProbeStreamSubscription({\n skip: !agentId,\n });\n\n const probe = useMemo(() => {\n if (!agentId) return null;\n // Prefer the streamed snapshot when available — it's strictly newer\n // than the initial query result.\n const probes =\n streamData?.vibecontrolsAgentHealthProbeStream ??\n queryData?.vibecontrolsAgentHealthProbes ??\n [];\n return probes.find((p: { agentId: string }) => p.agentId === agentId) ?? null;\n }, [streamData, queryData, agentId]);\n\n const status: AgentConnectivityStatus = useMemo(() => {\n if (!agentId) return 'unreachable';\n // Until the probe query has any data for this agent, show 'probing' —\n // do NOT optimistically claim 'reachable' or 'unreachable' before\n // we've heard from the backend.\n if (!probe) {\n return loading ? 'probing' : 'unknown';\n }\n return probe.healthy ? 'reachable' : 'unreachable';\n }, [agentId, probe, loading]);\n\n const hint = useMemo(() => {\n if (!agentId) return 'agent_unreachable';\n if (!probe || probe.healthy) return null;\n return sanitizeConnectivityHint(probe.errorMessage);\n }, [agentId, probe]);\n\n // The pollInterval refreshes every 30s; expose a manual refetch via a\n // no-op since direct callers historically expected `retry()` to settle\n // before resolving. Apollo's notifyOnNetworkStatusChange will trigger\n // a re-render once the next poll arrives.\n const retry = useCallback(async (): Promise<void> => {\n /* polling handles refresh; manual retry is a soft no-op */\n }, []);\n\n return {\n status,\n hasProbed: status === 'reachable' || status === 'unreachable',\n probing: status === 'probing',\n reachable: status === 'reachable',\n hint,\n retry,\n };\n}\n"],"mappings":";;;AA+CA,IAAM,IAA0C;CAC9C;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAED,SAAgB,EAAmB,GAA6C;AAC9E,KAAI,CAAC,EAAS,QAAO;CACrB,IAAM,IAAI,EAAQ,aAAa;AAC/B,QAAO,EAAqB,MAAM,MAAM,EAAE,SAAS,EAAE,CAAC;;AAQxD,SAAgB,EAAyB,GAA+C;AAKtF,QAJK,IACD,EAAmB,EAAI,GAAS,sBAChC,EAAI,aAAa,CAAC,SAAS,2BAA2B,GAAS,0BAC/D,EAAI,aAAa,CAAC,SAAS,eAAe,GAAS,uBAChD,sBAJU;;AAOnB,SAAgB,EAAqB,GAAoD;CAQvF,IAAM,EAAE,MAAM,GAAW,eAAY,EAAsC;EACzE,aAAa;EACb,iBAAiB;EACjB,6BAA6B;EAC7B,MAAM,CAAC;EACR,CAAC,EACI,EAAE,MAAM,MAAe,EAAkD,EAC7E,MAAM,CAAC,GACR,CAAC,EAEI,IAAQ,QACP,KAIH,GAAY,sCACZ,GAAW,iCACX,EAAE,EACU,MAAM,MAA2B,EAAE,YAAY,EAAQ,IAAI,OAPpD,MAQpB;EAAC;EAAY;EAAW;EAAQ,CAAC,EAE9B,IAAkC,QACjC,IAIA,IAGE,EAAM,UAAU,cAAc,gBAF5B,IAAU,YAAY,YALV,eAQpB;EAAC;EAAS;EAAO;EAAQ,CAAC,EAEvB,IAAO,QACN,IACD,CAAC,KAAS,EAAM,UAAgB,OAC7B,EAAyB,EAAM,aAAa,GAF9B,qBAGpB,CAAC,GAAS,EAAM,CAAC,EAMd,IAAQ,EAAY,YAA2B,IAElD,EAAE,CAAC;AAEN,QAAO;EACL;EACA,WAAW,MAAW,eAAe,MAAW;EAChD,SAAS,MAAW;EACpB,WAAW,MAAW;EACtB;EACA;EACD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useAgentEvents.js","names":[],"sources":["../../src/hooks/useAgentEvents.ts"],"sourcesContent":["/**\n * useAgentEvents Hook\n *\n * Apollo subscription wrapper around `recentAiToolEventsStream` — the\n * backend publishes via Redis-Streams-backed pubsub (be-sdk), so each\n * agent's events fan out to every replica's subscribers and the gateway\n * delivers them to this hook over SSE. Replaces the prior 3s setInterval\n * `RecentAiToolEvents` query that fired multiple times per second across\n * every mounted page (BOFF-2649).\n *\n * The hook keeps the same public surface as the polling version\n * (`status`/`error`/`notifications`/`reconnect`/`disconnect`/...) so\n * `AgentEventsProvider` and the toast UI don't change.\n */\nimport { useCallback, useEffect, useMemo, useRef, useState } from 'react';\n\nimport { useRecentAiToolEventsStreamSubscription } from '@/generated/wspace-operations';\n\nexport type AgentEventType =\n | 'connected'\n | 'session:created'\n | 'session:updated'\n | 'session:terminated'\n | 'session:output'\n | 'tunnel:started'\n | 'tunnel:stopped'\n | 'tunnel:error'\n | 'notification:new'\n | 'notification:read'\n | 'file:changed'\n | 'task:started'\n | 'task:completed'\n | 'task:failed'\n | 'plugin:installed'\n | 'plugin:removed'\n | 'plugin:reloaded'\n | 'agent:heartbeat'\n | 'log:entry'\n | 'pong';\n\nexport interface AiToolNotification {\n id: string;\n source: string;\n eventType: string;\n title: string;\n message: string;\n timestamp: string;\n properties?: Record<string, unknown>;\n}\n\nexport interface AgentEvent<T = unknown> {\n type: AgentEventType;\n payload: T;\n timestamp: string;\n}\n\nexport type ConnectionStatus = 'disconnected' | 'connecting' | 'connected' | 'error';\n\nexport interface UseAgentEventsOptions {\n agentId: string | null;\n enabled?: boolean;\n /** Cap on most-recent events the server replays on subscribe. */\n limit?: number;\n /**\n * Retained for API compatibility with the polling implementation but\n * no longer drives a timer — Apollo's link-level retry handles\n * transport reconnect. Kept on the type so existing consumers\n * compile unchanged.\n */\n reconnectDelay?: number;\n maxReconnectAttempts?: number;\n onNotification?: (notification: AiToolNotification) => void;\n onEvent?: (event: AgentEvent) => void;\n onStatusChange?: (status: ConnectionStatus) => void;\n}\n\nexport interface UseAgentEventsReturn {\n status: ConnectionStatus;\n error: string | null;\n notifications: AiToolNotification[];\n reconnect: () => void;\n disconnect: () => void;\n clearNotifications: () => void;\n dismissNotification: (id: string) => void;\n}\n\nconst MAX_NOTIFICATIONS = 50;\nconst DEFAULT_LIMIT = 20;\n\ninterface RecentAiToolEvent {\n id: string;\n source: string;\n eventType: string;\n payload?: Record<string, unknown> | null;\n createdAt: string;\n}\n\nfunction toNotification(event: RecentAiToolEvent): AiToolNotification {\n const payload = event.payload ?? {};\n return {\n id: event.id,\n source: event.source,\n eventType: event.eventType,\n title: typeof payload.title === 'string' ? payload.title : `${event.source} event`,\n message:\n typeof payload.message === 'string'\n ? payload.message\n : typeof payload.summary === 'string'\n ? payload.summary\n : event.eventType,\n timestamp: event.createdAt,\n properties: payload,\n };\n}\n\nexport function useAgentEvents(options: UseAgentEventsOptions): UseAgentEventsReturn {\n const {\n agentId,\n enabled = true,\n limit = DEFAULT_LIMIT,\n onNotification,\n onEvent,\n onStatusChange,\n } = options;\n\n const [notifications, setNotifications] = useState<AiToolNotification[]>([]);\n const [intentionallyDisconnected, setIntentionallyDisconnected] = useState(false);\n // Bumped by `reconnect()` to force Apollo to tear down the existing\n // subscription and start a fresh one — `skip` toggling alone would\n // race with in-flight messages on the same Apollo observable.\n const [subscriptionEpoch, setSubscriptionEpoch] = useState(0);\n\n const seenEventIdsRef = useRef<Set<string>>(new Set());\n const lastStatusRef = useRef<ConnectionStatus | null>(null);\n // Latched callbacks so the subscription doesn't tear down every time\n // a parent re-renders with a new closure identity for `onEvent` etc.\n const onNotificationRef = useRef(onNotification);\n const onEventRef = useRef(onEvent);\n const onStatusChangeRef = useRef(onStatusChange);\n useEffect(() => {\n onNotificationRef.current = onNotification;\n }, [onNotification]);\n useEffect(() => {\n onEventRef.current = onEvent;\n }, [onEvent]);\n useEffect(() => {\n onStatusChangeRef.current = onStatusChange;\n }, [onStatusChange]);\n\n const shouldSubscribe = enabled && !!agentId && !intentionallyDisconnected;\n\n const { data, error, loading } = useRecentAiToolEventsStreamSubscription({\n variables: { agentId: agentId ?? '', limit },\n skip: !shouldSubscribe,\n // `subscriptionEpoch` participates so a bump of the epoch swaps the\n // observable identity (the generated hook doesn't expose a manual\n // restart, but a variables-shape change triggers Apollo's internal\n // resubscribe path).\n context: { _epoch: subscriptionEpoch },\n });\n\n // Translate Apollo state into the polling-era status enum so the\n // toast UI keeps rendering the same status pill copy.\n const status: ConnectionStatus = useMemo(() => {\n if (!shouldSubscribe) return 'disconnected';\n if (error) return 'error';\n if (loading || !data) return 'connecting';\n return 'connected';\n }, [shouldSubscribe, error, loading, data]);\n\n useEffect(() => {\n if (lastStatusRef.current === status) return;\n lastStatusRef.current = status;\n onStatusChangeRef.current?.(status);\n }, [status]);\n\n // Reset the seen-event memo whenever we switch agents — leaving it\n // populated would mean the first batch from the new agent gets\n // silently de-duped against the previous agent's IDs.\n useEffect(() => {\n seenEventIdsRef.current = new Set();\n setNotifications([]);\n }, [agentId]);\n\n // Fold each subscription frame into the notification list. The\n // server emits the full most-recent-N array, so we use the seen-ID\n // set to skip notifications already surfaced to the user (and so\n // `onNotification` fires once per real event, not on every heartbeat).\n useEffect(() => {\n if (!shouldSubscribe) return;\n const events = data?.recentAiToolEventsStream;\n if (!events || events.length === 0) return;\n\n const incoming: AiToolNotification[] = [];\n // Walk oldest-first so the in-memory order matches arrival order.\n for (const event of [...events].reverse()) {\n if (seenEventIdsRef.current.has(event.id)) continue;\n seenEventIdsRef.current.add(event.id);\n const notification = toNotification(event);\n incoming.push(notification);\n onNotificationRef.current?.(notification);\n onEventRef.current?.({\n type: 'notification:new',\n payload: notification,\n timestamp: event.createdAt,\n });\n }\n\n if (incoming.length > 0) {\n setNotifications((prev) => [...incoming.reverse(), ...prev].slice(0, MAX_NOTIFICATIONS));\n }\n }, [data, shouldSubscribe]);\n\n const clearNotifications = useCallback(() => {\n setNotifications([]);\n }, []);\n\n const dismissNotification = useCallback((id: string) => {\n setNotifications((prev) => prev.filter((notification) => notification.id !== id));\n }, []);\n\n const disconnect = useCallback(() => {\n setIntentionallyDisconnected(true);\n }, []);\n\n const reconnect = useCallback(() => {\n seenEventIdsRef.current = new Set();\n setIntentionallyDisconnected(false);\n setSubscriptionEpoch((n) => n + 1);\n }, []);\n\n return {\n status,\n error: error ? error.message : null,\n notifications,\n reconnect,\n disconnect,\n clearNotifications,\n dismissNotification,\n };\n}\n"],"mappings":"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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useAgentManagerKeyboard.js","names":[],"sources":["../../src/hooks/useAgentManagerKeyboard.ts"],"sourcesContent":["/**\n * Keyboard shortcuts for the Agent Manager.\n *\n * Registers global key handlers for common operations:\n * - Ctrl+Shift+N: new session\n * - Ctrl+K: open session search\n * - Ctrl+F: open in-session search (only when not focused on textarea/input)\n * - Escape: cancel streaming\n */\n\nimport { useEffect, useCallback } from 'react';\nimport { useAgentManagerStore } from '@/store/agentManagerStore';\n\ninterface UseAgentManagerKeyboardParams {\n onCancelStream?: () => void;\n onOpenSearch?: () => void;\n onOpenInSessionSearch?: () => void;\n}\n\nexport function useAgentManagerKeyboard({\n onCancelStream,\n onOpenSearch,\n onOpenInSessionSearch,\n}: UseAgentManagerKeyboardParams = {}): void {\n const openSession = useAgentManagerStore((s) => s.openSession);\n const tabs = useAgentManagerStore((s) => s.tabs);\n const setActiveTab = useAgentManagerStore((s) => s.setActiveTab);\n\n const handleKeyDown = useCallback(\n (e: KeyboardEvent) => {\n const isCtrlOrMeta = e.ctrlKey || e.metaKey;\n\n // Alt+1-9: switch to tab by index\n if (e.altKey && e.key >= '1' && e.key <= '9') {\n e.preventDefault();\n const index = parseInt(e.key, 10) - 1;\n if (index < tabs.length) {\n setActiveTab(tabs[index].sessionId);\n }\n return;\n }\n\n // Alt+ArrowLeft / Alt+ArrowRight: cycle through tabs\n if (e.altKey && (e.key === 'ArrowLeft' || e.key === 'ArrowRight')) {\n e.preventDefault();\n if (tabs.length === 0) return;\n const activeSessionId = useAgentManagerStore.getState().activeTabSessionId;\n const currentIndex = tabs.findIndex((t) => t.sessionId === activeSessionId);\n let nextIndex: number;\n if (e.key === 'ArrowLeft') {\n nextIndex = currentIndex <= 0 ? tabs.length - 1 : currentIndex - 1;\n } else {\n nextIndex = currentIndex >= tabs.length - 1 ? 0 : currentIndex + 1;\n }\n setActiveTab(tabs[nextIndex].sessionId);\n return;\n }\n\n // Ctrl+Shift+N: new session\n if (isCtrlOrMeta && e.shiftKey && e.key === 'N') {\n e.preventDefault();\n const sessionId = `session-${Date.now()}-${Math.random().toString(36).slice(2, 7)}`;\n openSession(sessionId);\n return;\n }\n\n // Ctrl+K: open session search\n if (isCtrlOrMeta && e.key === 'k') {\n e.preventDefault();\n onOpenSearch?.();\n return;\n }\n\n // Ctrl+F: open in-session search (only when not focused on textarea/input)\n if (isCtrlOrMeta && e.key === 'f') {\n const tag = (document.activeElement as HTMLElement)?.tagName?.toLowerCase();\n if (tag === 'textarea' || tag === 'input') return;\n e.preventDefault();\n onOpenInSessionSearch?.();\n return;\n }\n\n // Escape: cancel streaming\n if (e.key === 'Escape') {\n onCancelStream?.();\n }\n },\n [openSession, tabs, setActiveTab, onCancelStream, onOpenSearch, onOpenInSessionSearch]\n );\n\n useEffect(() => {\n window.addEventListener('keydown', handleKeyDown);\n return () => {\n window.removeEventListener('keydown', handleKeyDown);\n };\n }, [handleKeyDown]);\n}\n"],"mappings":";;;AAmBA,SAAgB,EAAwB,EACtC,mBACA,iBACA,6BACiC,EAAE,EAAQ;CAC3C,IAAM,IAAc,GAAsB,MAAM,EAAE,YAAY,EACxD,IAAO,GAAsB,MAAM,EAAE,KAAK,EAC1C,IAAe,GAAsB,MAAM,EAAE,aAAa,EAE1D,IAAgB,GACnB,MAAqB;EACpB,IAAM,IAAe,EAAE,WAAW,EAAE;AAGpC,MAAI,EAAE,UAAU,EAAE,OAAO,OAAO,EAAE,OAAO,KAAK;AAC5C,KAAE,gBAAgB;GAClB,IAAM,IAAQ,SAAS,EAAE,KAAK,GAAG,GAAG;AACpC,GAAI,IAAQ,EAAK,UACf,EAAa,EAAK,GAAO,UAAU;AAErC;;AAIF,MAAI,EAAE,WAAW,EAAE,QAAQ,eAAe,EAAE,QAAQ,eAAe;AAEjE,OADA,EAAE,gBAAgB,EACd,EAAK,WAAW,EAAG;GACvB,IAAM,IAAkB,EAAqB,UAAU,CAAC,oBAClD,IAAe,EAAK,WAAW,MAAM,EAAE,cAAc,EAAgB,EACvE;AAMJ,GALA,AAGE,IAHE,EAAE,QAAQ,cACA,KAAgB,IAAI,EAAK,SAAS,IAAI,IAAe,IAErD,KAAgB,EAAK,SAAS,IAAI,IAAI,IAAe,GAEnE,EAAa,EAAK,GAAW,UAAU;AACvC;;AAIF,MAAI,KAAgB,EAAE,YAAY,EAAE,QAAQ,KAAK;AAG/C,GAFA,EAAE,gBAAgB,EAElB,EADkB,WAAW,KAAK,KAAK,CAAC,GAAG,KAAK,QAAQ,CAAC,SAAS,GAAG,CAAC,MAAM,GAAG,EAAE,GAC3D;AACtB;;AAIF,MAAI,KAAgB,EAAE,QAAQ,KAAK;AAEjC,GADA,EAAE,gBAAgB,EAClB,KAAgB;AAChB;;AAIF,MAAI,KAAgB,EAAE,QAAQ,KAAK;GACjC,IAAM,IAAO,SAAS,eAA+B,SAAS,aAAa;AAC3E,OAAI,MAAQ,cAAc,MAAQ,QAAS;AAE3C,GADA,EAAE,gBAAgB,EAClB,KAAyB;AACzB;;AAIF,EAAI,EAAE,QAAQ,YACZ,KAAkB;IAGtB;EAAC;EAAa;EAAM;EAAc;EAAgB;EAAc;EAAsB,CACvF;AAED,UACE,OAAO,iBAAiB,WAAW,EAAc,QACpC;AACX,SAAO,oBAAoB,WAAW,EAAc;KAErD,CAAC,EAAc,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useAgentManagerStreaming.js","names":[],"sources":["../../src/hooks/useAgentManagerStreaming.ts"],"sourcesContent":["/**\n * Hook for streaming management in Agent Manager sessions.\n *\n * Manages the send/receive lifecycle: adds user message to store,\n * creates a placeholder assistant message, calls sendPromptToSession,\n * updates the placeholder with the response, and handles cancellation.\n */\n\nimport { useRef, useCallback } from 'react';\nimport { useAgentManagerStore } from '@/store/agentManagerStore';\nimport { sendPromptToSession, type AgentRef } from '@/services/aiApi';\nimport type { AgentManagerMessage } from '@/types/agentManager';\n\ninterface UseAgentManagerStreamingParams {\n agent: AgentRef;\n sessionId: string;\n}\n\ninterface UseAgentManagerStreamingReturn {\n sendMessage: (prompt: string) => Promise<void>;\n cancelStream: () => void;\n isStreaming: boolean;\n}\n\nfunction generateId(): string {\n return `${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;\n}\n\nexport function useAgentManagerStreaming({\n agent,\n sessionId,\n}: UseAgentManagerStreamingParams): UseAgentManagerStreamingReturn {\n const abortRef = useRef<AbortController | null>(null);\n\n const addMessage = useAgentManagerStore((s) => s.addMessage);\n const updateMessage = useAgentManagerStore((s) => s.updateMessage);\n const setSessionStatus = useAgentManagerStore((s) => s.setSessionStatus);\n const sessionState = useAgentManagerStore((s) => s.sessionStates[sessionId]);\n\n const isStreaming = sessionState?.status === 'streaming' || sessionState?.status === 'processing';\n\n const sendMessage = useCallback(\n async (prompt: string) => {\n // Get current session state for SDK, model, and history limit\n const currentState = useAgentManagerStore.getState().sessionStates[sessionId];\n const currentSdk = currentState?.sdk;\n const currentModel = currentState?.model;\n const currentMode = currentState?.mode;\n const currentPermissionMode = currentState?.permissionMode;\n const historyLimit = currentState?.contextHistoryLimit ?? 20;\n\n // Add user message with SDK info\n const userMsg: AgentManagerMessage = {\n id: generateId(),\n role: 'user',\n content: prompt,\n timestamp: new Date().toISOString(),\n sdk: currentSdk,\n };\n addMessage(sessionId, userMsg);\n\n // Build conversation history from last N messages (excluding the one just added)\n const messages = currentState?.messages ?? [];\n const historyMessages = messages\n .filter((m) => m.role === 'user' || m.role === 'assistant')\n .slice(-historyLimit)\n .map((m) => ({ role: m.role, content: m.content }));\n\n // Map attached session contexts → the agent provider's context payload\n // ({ id, type, content, metadata }). Files materialised on the server pass\n // their path (+ inline text when small); prompts/contexts pass their body.\n const contextItems = currentState?.contexts ?? [];\n const contextsPayload = contextItems.map((c) => ({\n id: c.sourceId ?? c.id,\n type: c.kind,\n content: c.content ?? (c.path ? `File available on the server at: ${c.path}` : ''),\n metadata: c.path ? { path: c.path, label: c.label } : { label: c.label },\n }));\n\n // Add placeholder assistant message\n const assistantMsgId = generateId();\n const placeholderMsg: AgentManagerMessage = {\n id: assistantMsgId,\n role: 'assistant',\n content: '',\n timestamp: new Date().toISOString(),\n sdk: currentSdk,\n };\n addMessage(sessionId, placeholderMsg);\n\n // Set status to streaming\n setSessionStatus(sessionId, 'streaming');\n\n // Create abort controller\n const controller = new AbortController();\n abortRef.current = controller;\n\n try {\n const result = await sendPromptToSession(\n agent,\n sessionId,\n prompt,\n contextsPayload.length > 0 ? contextsPayload : undefined,\n {\n agentType: currentSdk,\n model: currentModel,\n mode: currentMode,\n // Autonomy applies in CLI mode only; don't send it for SDK sessions\n // so the \"ignored in SDK mode\" contract holds at the transport layer.\n permissionMode: currentMode === 'cli' ? currentPermissionMode : undefined,\n conversationHistory: historyMessages.length > 0 ? historyMessages : undefined,\n }\n );\n\n // Check if aborted\n if (controller.signal.aborted) return;\n\n // Update the placeholder message with the response\n updateMessage(sessionId, assistantMsgId, result.response);\n\n // Patch the assistant message with tokens, model, and SDK used\n {\n const store = useAgentManagerStore.getState();\n const session = store.sessionStates[sessionId];\n if (session) {\n const responseModel = (result as Record<string, unknown>).model as string | undefined;\n const responseSdk = (\n (result as Record<string, unknown>).metadata as Record<string, unknown>\n )?.provider as string | undefined;\n const updatedMessages = session.messages.map((m) =>\n m.id === assistantMsgId\n ? {\n ...m,\n content: result.response,\n tokens: result.tokens,\n model: responseModel || m.model,\n sdk: (responseSdk as AgentManagerMessage['sdk']) || currentSdk,\n }\n : m\n );\n useAgentManagerStore.setState((prev) => ({\n sessionStates: {\n ...prev.sessionStates,\n [sessionId]: { ...session, messages: updatedMessages },\n },\n }));\n }\n }\n\n setSessionStatus(sessionId, 'idle');\n } catch (error: unknown) {\n if (controller.signal.aborted) return;\n\n const errorMessage = error instanceof Error ? error.message : 'An error occurred';\n\n // SDK auth not configured → surface a credentials prompt instead of\n // a dead-end error message. The chat surface watches the store's\n // sdkAuthPrompt field and opens AIProviderCredentialsCard inline.\n if (\n errorMessage.includes('Claude SDK auth is not configured') ||\n errorMessage.includes('ANTHROPIC_API_KEY') ||\n errorMessage.includes('ANTHROPIC_AUTH_TOKEN')\n ) {\n useAgentManagerStore.getState().setSdkAuthPrompt({\n agentId: agent.id,\n reason: errorMessage,\n });\n updateMessage(\n sessionId,\n assistantMsgId,\n 'Set your Anthropic API key or auth token to continue. A prompt has been opened below.'\n );\n setSessionStatus(sessionId, 'idle');\n } else {\n updateMessage(sessionId, assistantMsgId, `Error: ${errorMessage}`);\n setSessionStatus(sessionId, 'error');\n\n // Reset to idle after a brief period\n setTimeout(() => {\n setSessionStatus(sessionId, 'idle');\n }, 3000);\n }\n } finally {\n abortRef.current = null;\n }\n },\n [agent, sessionId, addMessage, updateMessage, setSessionStatus]\n );\n\n const cancelStream = useCallback(() => {\n if (abortRef.current) {\n abortRef.current.abort();\n abortRef.current = null;\n }\n setSessionStatus(sessionId, 'idle');\n }, [sessionId, setSessionStatus]);\n\n return { sendMessage, cancelStream, isStreaming };\n}\n"],"mappings":"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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useAiCreditsQuota.js","names":[],"sources":["../../src/hooks/useAiCreditsQuota.ts"],"sourcesContent":["import { useEffect } from 'react';\nimport { useQuery, useQueryClient, type QueryClient } from '@tanstack/react-query';\nimport { useSafeGatewayClient, type ApolloClient } from '@burdenoff/fe-libs/shared/graphql';\nimport { getWorkspaceId } from '@burdenoff/fe-libs/shared/assistant/context';\nimport {\n GetAiCreditsLedgerDocument,\n type GetAiCreditsLedgerQuery,\n type GetAiCreditsLedgerQueryVariables,\n} from '@/generated/wspace-operations';\nimport { AI_CREDITS_UPDATED_EVENT } from '@/utils/aiCredits';\nimport {\n summarizeAiCreditsLedger,\n type AiCreditsLedgerRow,\n type AiCreditsQuota,\n} from '@/utils/aiCreditsLedger';\n\nexport type { AiCreditsQuota } from '@/utils/aiCreditsLedger';\n\n/** Prefix of every workspace's meter query; the charge event invalidates all of them. */\nexport const AI_CREDITS_QUERY_KEY = ['vibecontrols', 'ai-credits-quota'] as const;\n\n/** One read of the workspace ledger, as the Apollo result reports it. */\nexport interface AiCreditsLedgerResult {\n data?: GetAiCreditsLedgerQuery | null;\n error?: unknown;\n}\n\nexport type ReadAiCreditsLedger = (workspaceId: string) => Promise<AiCreditsLedgerResult>;\n\n/**\n * Reads the meter's `used / limit` from the ledger `reportAiTokenUsage` charges.\n *\n * Null — the meter hides — when there is no workspace, when the read errors\n * (FORBIDDEN, a gateway 500, a network failure), or when the workspace has no\n * active `vibecontrols.ai.credits` assignment. A failed read must never render\n * a number: \"0 used\" would read as \"nothing spent\" when the truth is \"unknown\".\n */\nexport async function readAiCreditsQuota(\n workspaceId: string,\n readLedger: ReadAiCreditsLedger\n): Promise<AiCreditsQuota | null> {\n if (!workspaceId) return null;\n\n let result: AiCreditsLedgerResult;\n try {\n result = await readLedger(workspaceId);\n } catch {\n return null;\n }\n if (result.error) return null;\n\n const rows: readonly AiCreditsLedgerRow[] | undefined = result.data?.workspaceQuotaAssignments;\n if (!rows) return null;\n\n return summarizeAiCreditsLedger(rows);\n}\n\n/**\n * The ledger read over the wspace gateway client. `errorPolicy: 'all'` makes a\n * GraphQL error come back as `result.error` instead of a rejection, and\n * `readAiCreditsQuota` hides the meter on either.\n */\nexport function wspaceLedgerReader(client: ApolloClient): ReadAiCreditsLedger {\n return (workspaceId) =>\n client.query<GetAiCreditsLedgerQuery, GetAiCreditsLedgerQueryVariables>({\n query: GetAiCreditsLedgerDocument,\n variables: { workspaceId },\n fetchPolicy: 'network-only',\n errorPolicy: 'all',\n });\n}\n\n/**\n * React Query options for the meter. The workspace is part of the key, so a\n * workspace switch never shows the previous workspace's balance; the query is\n * disabled until there is both a wspace client and a workspace.\n */\nexport function aiCreditsQueryOptions(client: ApolloClient | null, workspaceId: string) {\n return {\n queryKey: [...AI_CREDITS_QUERY_KEY, workspaceId] as const,\n enabled: !!client && !!workspaceId,\n staleTime: 30_000,\n queryFn: (): Promise<AiCreditsQuota | null> =>\n client ? readAiCreditsQuota(workspaceId, wspaceLedgerReader(client)) : Promise.resolve(null),\n };\n}\n\n/**\n * Refetches every meter query whenever an assistant turn charges credits\n * (AI_CREDITS_UPDATED_EVENT). Returns the unsubscribe function.\n */\nexport function refetchOnAiCreditsUpdated(\n target: EventTarget,\n queryClient: QueryClient\n): () => void {\n const handler = () => {\n void queryClient.invalidateQueries({ queryKey: AI_CREDITS_QUERY_KEY });\n };\n target.addEventListener(AI_CREDITS_UPDATED_EVENT, handler);\n return () => target.removeEventListener(AI_CREDITS_UPDATED_EVENT, handler);\n}\n\n/**\n * Live AI-credits usage for the active workspace.\n *\n * ★★ Reads wspace-activity `workspaceQuotaAssignments` — the rows\n * `reportAiTokenUsage` increments via `trackUsage` and the `checkAiCredits`\n * pre-flight enforces against. It used to read global-billing\n * `getQuotaUsageAndLimit`, which nothing on the charge path writes, and which\n * answered INTERNAL_SERVER_ERROR in prod, so the meter never showed (BOFF-7305).\n * Multiple active rows are summed the way the pre-flight sums them; see\n * `summarizeAiCreditsLedger`.\n *\n * The workspace is the one the assistant sends turns to (`getWorkspaceId`).\n */\nexport function useAiCreditsQuota(): { data: AiCreditsQuota | null; loading: boolean } {\n const workspaceClient = useSafeGatewayClient('workspace');\n const queryClient = useQueryClient();\n const query = useQuery(aiCreditsQueryOptions(workspaceClient, getWorkspaceId()));\n\n useEffect(() => refetchOnAiCreditsUpdated(window, queryClient), [queryClient]);\n\n return { data: query.data ?? null, loading: query.isLoading };\n}\n"],"mappings":";;;;;;;;AAmBA,IAAa,IAAuB,CAAC,gBAAgB,mBAAmB;AAkBxE,eAAsB,EACpB,GACA,GACgC;AAChC,KAAI,CAAC,EAAa,QAAO;CAEzB,IAAI;AACJ,KAAI;AACF,MAAS,MAAM,EAAW,EAAY;SAChC;AACN,SAAO;;AAET,KAAI,EAAO,MAAO,QAAO;CAEzB,IAAM,IAAkD,EAAO,MAAM;AAGrE,QAFK,IAEE,EAAyB,EAAK,GAFnB;;AAUpB,SAAgB,EAAmB,GAA2C;AAC5E,SAAQ,MACN,EAAO,MAAiE;EACtE,OAAO;EACP,WAAW,EAAE,gBAAa;EAC1B,aAAa;EACb,aAAa;EACd,CAAC;;AAQN,SAAgB,EAAsB,GAA6B,GAAqB;AACtF,QAAO;EACL,UAAU,CAAC,GAAG,GAAsB,EAAY;EAChD,SAAS,CAAC,CAAC,KAAU,CAAC,CAAC;EACvB,WAAW;EACX,eACE,IAAS,EAAmB,GAAa,EAAmB,EAAO,CAAC,GAAG,QAAQ,QAAQ,KAAK;EAC/F;;AAOH,SAAgB,EACd,GACA,GACY;CACZ,IAAM,UAAgB;AACf,IAAY,kBAAkB,EAAE,UAAU,GAAsB,CAAC;;AAGxE,QADA,EAAO,iBAAiB,GAA0B,EAAQ,QAC7C,EAAO,oBAAoB,GAA0B,EAAQ;;AAgB5E,SAAgB,IAAuE;CACrF,IAAM,IAAkB,EAAqB,YAAY,EACnD,IAAc,GAAgB,EAC9B,IAAQ,EAAS,EAAsB,GAAiB,GAAgB,CAAC,CAAC;AAIhF,QAFA,QAAgB,EAA0B,QAAQ,EAAY,EAAE,CAAC,EAAY,CAAC,EAEvE;EAAE,MAAM,EAAM,QAAQ;EAAM,SAAS,EAAM;EAAW"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCachedInitialData.js","names":[],"sources":["../../src/hooks/useCachedInitialData.ts"],"sourcesContent":["/**\n * useCachedInitialData\n *\n * Hook to read the prefetched initial data from Apollo cache.\n * This uses cache-only to avoid any network requests - data should already\n * be present from the useInitialDataLoader in VibeControlsProvider.\n *\n * This hook is the primary way components should access shared data\n * (agents, vibes, sessions, notes) instead of making independent queries.\n *\n * NOTE: `targets` was removed from the VibeControlsInitialData query because\n * the targets subgraph caused persistent 25s OPERATION_TIMEOUT errors at mount.\n * Pages needing targets should issue their own lazy query.\n */\n\nimport { useMemo, useCallback } from 'react';\nimport { useVibeControls } from '../providers/VibeControlsProvider';\nimport type { AgentVisibility } from '../utils/agentVisibility';\nimport {\n useVibeControlsInitialDataQuery,\n type VibeControlsInitialDataQuery,\n type VibeControlsInitialDataQueryVariables,\n} from '../generated/wspace-operations';\n\n/**\n * Return type for cached initial data\n */\ninterface CachedInitialData {\n /** The full cached query result */\n data?: VibeControlsInitialDataQuery;\n /** Whether the data is still loading (should be false if cached) */\n loading: boolean;\n /** Whether there was an error (cached data might still be available) */\n error?: Error;\n /** All agents from cache */\n agents: Array<{\n id: string;\n name: string;\n hostname: string;\n platform: string;\n architecture?: string;\n isActive: boolean;\n tunnelUrl?: string | null;\n tunnelStatus?: string | null;\n lastHeartbeat?: string | null;\n version?: string;\n createdAt?: string;\n updatedAt?: string;\n /** jsonb metadata; carries the canonical CLI `profile` field. */\n metadata?: Record<string, unknown> | null;\n /** Owner of the agent; null for a legacy ownerless (shared) agent. */\n ownerUserId: string | null;\n /** Who can see and use the agent — the authority for private/shared UI. */\n visibility: AgentVisibility | null;\n }>;\n /** All vibes from cache. Multi-agent: vibes carry an `agents` list now. */\n vibes: Array<{\n id: string;\n name: string;\n description?: string;\n path?: string;\n status: string;\n /**\n * Agents currently attached to this vibe. Empty when none — agent-dependent\n * features (sessions, tunnels, gitops, plugins) are disabled in the UI.\n * Each entry carries `ownerUserId` so the picker can partition usable vs\n * locked agents (personal agents only the owner can use).\n */\n agents: Array<{\n id: string;\n name: string;\n isActive: boolean;\n ownerUserId?: string | null;\n }>;\n type?: string;\n tags?: string[];\n gitBranch?: string | null;\n createdAt?: string;\n updatedAt?: string;\n }>;\n /** All sessions from cache */\n sessions: Array<{\n id: string;\n name: string;\n status: string;\n agentId?: string | null;\n vibeId?: string | null;\n type?: string;\n startedAt?: string | null;\n metadata?: Record<string, unknown> | null;\n createdAt?: string;\n updatedAt?: string;\n }>;\n /** All targets from cache */\n targets: Array<{\n id: string;\n workspaceId?: string;\n name: string;\n type?: string;\n status: string;\n host?: string | null;\n port?: number | null;\n username?: string | null;\n connectionId?: string | null;\n label?: string | null;\n tags?: string[];\n metadata?: Record<string, unknown> | null;\n createdAt?: string;\n updatedAt?: string;\n agents?: Array<{\n id: string;\n name: string;\n version?: string | null;\n isActive: boolean;\n tunnelUrl?: string | null;\n }>;\n }>;\n /** All notes from cache */\n notes: Array<{\n id: string;\n title: string;\n isPinned: boolean;\n }>;\n /** Totals for stats */\n totals: {\n agents: number;\n vibes: number;\n sessions: number;\n targets: number;\n notes: number;\n };\n /** Refetch all initial data from network */\n refetch: () => void;\n}\n\n/**\n * Hook to access cached initial data.\n * Returns data from Apollo cache with cache-only policy.\n * If data is not yet in cache, returns empty arrays.\n *\n * Usage:\n * ```tsx\n * function MyComponent() {\n * const { agents, vibes, sessions, loading } = useCachedInitialData();\n *\n * if (loading) return <Loading />;\n *\n * return (\n * <select>\n * {agents.map(a => <option key={a.id}>{a.name}</option>)}\n * </select>\n * );\n * }\n * ```\n */\nexport function useCachedInitialData(): CachedInitialData {\n const { workspaceId } = useVibeControls();\n\n const {\n data,\n loading: queryLoading,\n error,\n refetch: apolloRefetch,\n } = useVibeControlsInitialDataQuery({\n variables: { workspaceId: workspaceId || '' } as VibeControlsInitialDataQueryVariables,\n // cache-and-network: serve cached data immediately for fast paint, then\n // re-issue the network request on every mount so cross-page mutations\n // (e.g. createTarget on TargetsPage → user navigates to AgentsPage) show\n // up without a manual reload. Previously cache-first held stale data\n // until refetch() was explicitly invoked.\n fetchPolicy: 'cache-and-network',\n nextFetchPolicy: 'cache-first',\n skip: !workspaceId,\n });\n\n const refetch = useCallback(() => {\n void apolloRefetch();\n }, [apolloRefetch]);\n\n // If cache-only returns no data and isn't loading, it means the initial\n // network fetch hasn't populated the cache yet — treat as loading to\n // prevent counts flickering from 0 to actual values.\n const loading = queryLoading || (!data && !error && !!workspaceId);\n\n // Memoize the transformed data\n const result = useMemo<CachedInitialData>(() => {\n const rawAgents = data?.vibecontrolsAgents;\n const agents = Array.isArray(rawAgents)\n ? rawAgents.map((a: NonNullable<(typeof rawAgents)[number]>) => ({\n id: a.id,\n name: a.name,\n hostname: a.hostname,\n platform: a.platform,\n isActive: a.isActive,\n tunnelUrl: a.tunnelUrl,\n tunnelStatus: a.tunnelStatus,\n lastHeartbeat: a.lastHeartbeat,\n version: a.version,\n architecture: a.architecture,\n createdAt: a.createdAt,\n updatedAt: a.updatedAt,\n metadata:\n ((a as { metadata?: unknown }).metadata as Record<string, unknown> | null) ?? null,\n ownerUserId: a.ownerUserId ?? null,\n visibility: a.visibility ?? null,\n }))\n : [];\n\n const rawVibes = data?.vibes?.items;\n const vibes = Array.isArray(rawVibes)\n ? rawVibes.map((v: NonNullable<(typeof rawVibes)[number]>) => ({\n id: v.id,\n name: v.name,\n description: v.description,\n path: v.path,\n status: v.status,\n // Multi-agent: zero, one, or many attached. ownerUserId carried\n // through for the personal-vs-shared picker logic.\n agents: Array.isArray(v.agents)\n ? v.agents.map((a: NonNullable<(typeof v.agents)[number]>) => ({\n id: a.id,\n name: a.name,\n isActive: a.isActive,\n ownerUserId: a.ownerUserId ?? null,\n }))\n : [],\n type: v.type,\n tags: v.tags,\n gitBranch: v.gitBranch,\n createdAt: v.createdAt,\n updatedAt: v.updatedAt,\n }))\n : [];\n\n const rawSessions = data?.sessions?.items;\n const sessions = Array.isArray(rawSessions)\n ? rawSessions.map((s: NonNullable<(typeof rawSessions)[number]>) => ({\n id: s.id,\n name: s.name,\n status: s.status,\n agentId: s.agentId,\n vibeId: s.vibeId,\n type: s.type,\n startedAt: s.startedAt,\n metadata: (s.metadata as Record<string, unknown> | null) ?? null,\n createdAt: s.createdAt,\n updatedAt: s.updatedAt,\n }))\n : [];\n\n // Targets were removed from VibeControlsInitialData to eliminate the 25s\n // OPERATION_TIMEOUT on mount. Pages that need targets must issue their own query.\n const targets: CachedInitialData['targets'] = [];\n\n const rawNotes = data?.notes?.items;\n const notes = Array.isArray(rawNotes)\n ? rawNotes.map((n: NonNullable<(typeof rawNotes)[number]>) => ({\n id: n.id,\n title: n.title,\n isPinned: n.isPinned,\n }))\n : [];\n\n return {\n data,\n loading,\n error: error as Error | undefined,\n agents,\n vibes,\n sessions,\n targets,\n notes,\n totals: {\n agents: data?.vibecontrolsAgents?.length ?? 0,\n vibes: data?.vibes?.total ?? 0,\n sessions: data?.sessions?.total ?? 0,\n targets: 0,\n notes: data?.notes?.total ?? 0,\n },\n refetch,\n };\n }, [data, loading, error, refetch]);\n\n return result;\n}\n\nexport default useCachedInitialData;\n"],"mappings":";;;;AA2JA,SAAgB,IAA0C;CACxD,IAAM,EAAE,mBAAgB,GAAiB,EAEnC,EACJ,SACA,SAAS,GACT,UACA,SAAS,MACP,EAAgC;EAClC,WAAW,EAAE,aAAa,KAAe,IAAI;EAM7C,aAAa;EACb,iBAAiB;EACjB,MAAM,CAAC;EACR,CAAC,EAEI,IAAU,QAAkB;AAC3B,KAAe;IACnB,CAAC,EAAc,CAAC,EAKb,IAAU,KAAiB,CAAC,KAAQ,CAAC,KAAS,CAAC,CAAC;AAqGtD,QAlGe,QAAiC;EAC9C,IAAM,IAAY,GAAM,oBAClB,IAAS,MAAM,QAAQ,EAAU,GACnC,EAAU,KAAK,OAAgD;GAC7D,IAAI,EAAE;GACN,MAAM,EAAE;GACR,UAAU,EAAE;GACZ,UAAU,EAAE;GACZ,UAAU,EAAE;GACZ,WAAW,EAAE;GACb,cAAc,EAAE;GAChB,eAAe,EAAE;GACjB,SAAS,EAAE;GACX,cAAc,EAAE;GAChB,WAAW,EAAE;GACb,WAAW,EAAE;GACb,UACI,EAA6B,YAA+C;GAChF,aAAa,EAAE,eAAe;GAC9B,YAAY,EAAE,cAAc;GAC7B,EAAE,GACH,EAAE,EAEA,IAAW,GAAM,OAAO,OACxB,IAAQ,MAAM,QAAQ,EAAS,GACjC,EAAS,KAAK,OAA+C;GAC3D,IAAI,EAAE;GACN,MAAM,EAAE;GACR,aAAa,EAAE;GACf,MAAM,EAAE;GACR,QAAQ,EAAE;GAGV,QAAQ,MAAM,QAAQ,EAAE,OAAO,GAC3B,EAAE,OAAO,KAAK,OAA+C;IAC3D,IAAI,EAAE;IACN,MAAM,EAAE;IACR,UAAU,EAAE;IACZ,aAAa,EAAE,eAAe;IAC/B,EAAE,GACH,EAAE;GACN,MAAM,EAAE;GACR,MAAM,EAAE;GACR,WAAW,EAAE;GACb,WAAW,EAAE;GACb,WAAW,EAAE;GACd,EAAE,GACH,EAAE,EAEA,IAAc,GAAM,UAAU,OAC9B,IAAW,MAAM,QAAQ,EAAY,GACvC,EAAY,KAAK,OAAkD;GACjE,IAAI,EAAE;GACN,MAAM,EAAE;GACR,QAAQ,EAAE;GACV,SAAS,EAAE;GACX,QAAQ,EAAE;GACV,MAAM,EAAE;GACR,WAAW,EAAE;GACb,UAAW,EAAE,YAA+C;GAC5D,WAAW,EAAE;GACb,WAAW,EAAE;GACd,EAAE,GACH,EAAE,EAIA,IAAwC,EAAE,EAE1C,IAAW,GAAM,OAAO;AAS9B,SAAO;GACL;GACA;GACO;GACP;GACA;GACA;GACA;GACA,OAhBY,MAAM,QAAQ,EAAS,GACjC,EAAS,KAAK,OAA+C;IAC3D,IAAI,EAAE;IACN,OAAO,EAAE;IACT,UAAU,EAAE;IACb,EAAE,GACH,EAAE;GAWJ,QAAQ;IACN,QAAQ,GAAM,oBAAoB,UAAU;IAC5C,OAAO,GAAM,OAAO,SAAS;IAC7B,UAAU,GAAM,UAAU,SAAS;IACnC,SAAS;IACT,OAAO,GAAM,OAAO,SAAS;IAC9B;GACD;GACD;IACA;EAAC;EAAM;EAAS;EAAO;EAAQ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useDraftEntityTags.js","names":[],"sources":["../../src/hooks/useDraftEntityTags.ts"],"sourcesContent":["import { useState, useCallback } from 'react';\n\nimport { useTagEntity } from './useEntityTags';\n\nexport type VibecontrolsEntityType =\n | 'VIBECONTROLS_NOTE'\n | 'VIBECONTROLS_VIBE'\n | 'VIBECONTROLS_SESSION'\n | 'VIBECONTROLS_AGENT'\n | 'VIBECONTROLS_TARGET'\n | 'VIBECONTROLS_VIBEDECK'\n | 'VIBECONTROLS_DOCSSITE'\n | 'VIBECONTROLS_DOCSPAGE'\n | 'VIBECONTROLS_TUNNEL'\n | 'VIBECONTROLS_TUNNELDOMAIN'\n | 'VIBECONTROLS_CATALOG'\n | 'VIBECONTROLS_COMPONENT'\n | 'VIBECONTROLS_TEMPLATE'\n | 'VIBECONTROLS_WEBHOOK'\n | 'VIBECONTROLS_SCORECARD'\n | 'VIBECONTROLS_GITOPSPROVIDER'\n | 'VIBECONTROLS_CONFIGURATION'\n | 'VIBECONTROLS_AIPROMPT'\n | 'VIBECONTROLS_UISESSION'\n | 'VIBECONTROLS_ACTION';\n\nexport function useDraftEntityTags(entityType: VibecontrolsEntityType) {\n const [draftTagIds, setDraftTagIds] = useState<string[]>([]);\n const [tagEntity] = useTagEntity();\n\n const flushTags = useCallback(\n async (entityId: string): Promise<void> => {\n if (!entityId || draftTagIds.length === 0) return;\n try {\n await Promise.allSettled(\n draftTagIds.map((tagId) =>\n tagEntity({ variables: { input: { entityType, entityId, tagId } } })\n )\n );\n } finally {\n setDraftTagIds([]);\n }\n },\n [draftTagIds, entityType, tagEntity]\n );\n\n return { draftTagIds, setDraftTagIds, flushTags };\n}\n"],"mappings":";;;AA0BA,SAAgB,EAAmB,GAAoC;CACrE,IAAM,CAAC,GAAa,KAAkB,EAAmB,EAAE,CAAC,EACtD,CAAC,KAAa,GAAc;AAkBlC,QAAO;EAAE;EAAa;EAAgB,WAhBpB,EAChB,OAAO,MAAoC;AACrC,UAAC,KAAY,EAAY,WAAW,GACxC,KAAI;AACF,UAAM,QAAQ,WACZ,EAAY,KAAK,MACf,EAAU,EAAE,WAAW,EAAE,OAAO;KAAE;KAAY;KAAU;KAAO,EAAE,EAAE,CAAC,CACrE,CACF;aACO;AACR,MAAe,EAAE,CAAC;;KAGtB;GAAC;GAAa;GAAY;GAAU,CACrC;EAEgD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useEntityTags.js","names":[],"sources":["../../src/hooks/useEntityTags.ts"],"sourcesContent":["import {\n useEntityTagPickerGetEntityTagsQuery,\n useEntityTagPickerAvailableTagsQuery,\n useEntityTagPickerSearchTagsLazyQuery,\n useEntityTagPickerTagEntityMutation,\n useEntityTagPickerUntagEntityMutation,\n useEntityTagPickerCreateTagMutation,\n type EntityTagPickerGetEntityTagsQuery as GetEntityTagsData,\n type EntityTagPickerAvailableTagsQuery as AvailableTagsData,\n type EntityTagPickerSearchTagsQuery as SearchTagsData,\n type EntityTagPickerTagEntityMutation as TagEntityData,\n type EntityTagPickerUntagEntityMutation as UntagEntityData,\n} from '@/generated/wspace-operations';\n\nexport interface AvailableTag {\n id: string;\n key: string;\n label: string;\n color: string | null;\n}\n\nexport interface EntityTagInfo {\n id: string;\n key?: string | null;\n label?: string | null;\n color?: string | null;\n}\n\nexport interface EntityTagAssignment {\n id: string;\n tagId: string;\n tagInfo?: EntityTagInfo | null;\n tag?: { id: string } | null;\n entityType: string;\n entityId: string;\n source: string;\n assignedBy: string | null;\n assignedAt: string | null;\n}\n\ninterface TagEntityVars {\n input: { entityType: string; entityId: string; tagId: string };\n}\n\ninterface UntagEntityVars {\n input: { entityType: string; entityId: string; tagId: string };\n}\n\nexport function useGetEntityTags(entityType: string, entityId: string) {\n return useEntityTagPickerGetEntityTagsQuery({\n variables: { input: { entityType, entityId } },\n skip: !entityId,\n fetchPolicy: 'cache-and-network',\n });\n}\n\nexport function useAvailableTags(limit: number, options: { skip?: boolean } = {}) {\n return useEntityTagPickerAvailableTagsQuery({\n variables: { limit },\n skip: options.skip ?? false,\n });\n}\n\nexport function useSearchTags() {\n return useEntityTagPickerSearchTagsLazyQuery();\n}\n\nexport function useTagEntity() {\n return useEntityTagPickerTagEntityMutation();\n}\n\nexport function useUntagEntity() {\n return useEntityTagPickerUntagEntityMutation();\n}\n\n/**\n * Create a new tag inline. `vocabularyId` is intentionally omitted — the\n * backend resolves/creates a default workspace VibeControls vocabulary, so\n * callers only need a label (and optional color).\n */\nexport function useCreateVibecontrolsTag() {\n return useEntityTagPickerCreateTagMutation();\n}\n"],"mappings":";;AAgDA,SAAgB,EAAiB,GAAoB,GAAkB;AACrE,QAAO,EAAqC;EAC1C,WAAW,EAAE,OAAO;GAAE;GAAY;GAAU,EAAE;EAC9C,MAAM,CAAC;EACP,aAAa;EACd,CAAC;;AAGJ,SAAgB,EAAiB,GAAe,IAA8B,EAAE,EAAE;AAChF,QAAO,EAAqC;EAC1C,WAAW,EAAE,UAAO;EACpB,MAAM,EAAQ,QAAQ;EACvB,CAAC;;AAGJ,SAAgB,IAAgB;AAC9B,QAAO,GAAuC;;AAGhD,SAAgB,IAAe;AAC7B,QAAO,GAAqC;;AAG9C,SAAgB,IAAiB;AAC/B,QAAO,GAAuC;;AAQhD,SAAgB,IAA2B;AACzC,QAAO,GAAqC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useGitops.js","names":[],"sources":["../../src/hooks/useGitops.ts"],"sourcesContent":["/**\n * React Query hooks over the GitOps agent REST API.\n *\n * F4 Wave C: hooks now route through the svc-side `agentGitopsProxy` /\n * `agentGitopsMutate` GraphQL fields via Apollo Client. The browser no\n * longer holds the agent API key — svc owns it.\n *\n * All cache keys include the agent identity (workspace + agentId + profile)\n * so two simultaneously-active vibes against different agents stay isolated.\n */\nimport { type ApolloClient } from '@apollo/client';\nimport { useApolloClient } from '@apollo/client/react';\nimport {\n useMutation,\n useQuery,\n useQueryClient,\n type UseMutationResult,\n type UseQueryOptions,\n type UseQueryResult,\n} from '@tanstack/react-query';\n\nimport { gitopsApi, GitopsApiError, type GitopsApiOpts } from '@/services/gitopsApi';\nimport type {\n AuthInput,\n AuthValidation,\n Contributor,\n HealthSnapshot,\n IssueSummary,\n NormalisedRepo,\n PipelineAnalytics,\n PipelineRun,\n ProviderName,\n ProviderSnapshot,\n PullRequest,\n PullRequestAnalytics,\n RepoFqn,\n RepoPage,\n SecurityAlert,\n} from '@/components/gitops/types';\n\nexport interface UseGitopsContext {\n /** Required: agent profile name (vibe metadata). */\n profile: string;\n /** Workspace id — cache scope. */\n workspaceId: string;\n /** Agent id — cache scope + svc proxy target. */\n agentId: string;\n}\n\nfunction ensureOpts(ctx: UseGitopsContext, apolloClient: ApolloClient): GitopsApiOpts | null {\n if (!ctx.agentId) return null;\n return { agentId: ctx.agentId, profile: ctx.profile, apolloClient };\n}\n\nfunction key(ctx: UseGitopsContext, ...rest: unknown[]) {\n return ['gitops', ctx.workspaceId, ctx.agentId, ctx.profile, ...rest];\n}\n\n// ── meta ───────────────────────────────────────────────────────────────\n\nexport function useGitopsProviders(\n ctx: UseGitopsContext,\n options?: Omit<UseQueryOptions<ProviderSnapshot[]>, 'queryKey' | 'queryFn'>\n): UseQueryResult<ProviderSnapshot[]> {\n const apollo = useApolloClient();\n return useQuery({\n queryKey: key(ctx, 'providers'),\n enabled: !!ensureOpts(ctx, apollo),\n queryFn: async () => {\n const opts = ensureOpts(ctx, apollo);\n if (!opts) return [];\n const res = await gitopsApi.listProviders(opts);\n return res.providers;\n },\n ...options,\n });\n}\n\nexport function useGitopsActiveProvider(ctx: UseGitopsContext): UseQueryResult<{ name?: string }> {\n const apollo = useApolloClient();\n return useQuery({\n queryKey: key(ctx, 'active'),\n enabled: !!ensureOpts(ctx, apollo),\n queryFn: async () => {\n const opts = ensureOpts(ctx, apollo);\n if (!opts) return {};\n return gitopsApi.getActive(opts);\n },\n });\n}\n\nexport function useGitopsSetActive(\n ctx: UseGitopsContext\n): UseMutationResult<{ success: boolean }, GitopsApiError, ProviderName> {\n const apollo = useApolloClient();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (provider: ProviderName) => {\n const opts = ensureOpts(ctx, apollo);\n if (!opts) throw new GitopsApiError('INVALID', 0, 'no agent opts');\n return gitopsApi.setActive(opts, provider);\n },\n onSuccess: () => {\n void qc.invalidateQueries({ queryKey: key(ctx) });\n },\n });\n}\n\n// ── auth ───────────────────────────────────────────────────────────────\n\nexport function useGitopsAuth(\n ctx: UseGitopsContext\n): UseMutationResult<AuthValidation, GitopsApiError, { provider: ProviderName; input: AuthInput }> {\n const apollo = useApolloClient();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async ({ provider, input }) => {\n const opts = ensureOpts(ctx, apollo);\n if (!opts) throw new GitopsApiError('INVALID', 0, 'no agent opts');\n return gitopsApi.saveAuth(opts, provider, input);\n },\n onSuccess: () => {\n void qc.invalidateQueries({ queryKey: key(ctx) });\n },\n });\n}\n\nexport function useGitopsHealth(\n ctx: UseGitopsContext,\n provider: ProviderName | null\n): UseQueryResult<HealthSnapshot> {\n const apollo = useApolloClient();\n return useQuery({\n queryKey: key(ctx, 'health', provider),\n enabled: !!ensureOpts(ctx, apollo) && !!provider,\n queryFn: async () => {\n const opts = ensureOpts(ctx, apollo);\n if (!opts || !provider) throw new GitopsApiError('INVALID', 0, 'missing');\n return gitopsApi.health(opts, provider);\n },\n });\n}\n\n// ── repos ──────────────────────────────────────────────────────────────\n\nexport function useGitopsRepos(\n ctx: UseGitopsContext,\n provider: ProviderName | null,\n params: { org?: string; limit?: number } = {}\n): UseQueryResult<RepoPage> {\n const apollo = useApolloClient();\n return useQuery({\n queryKey: key(ctx, 'repos', provider, params.org, params.limit),\n enabled: !!ensureOpts(ctx, apollo) && !!provider,\n queryFn: async () => {\n const opts = ensureOpts(ctx, apollo);\n if (!opts || !provider) throw new GitopsApiError('INVALID', 0, 'missing');\n return gitopsApi.listRepos(opts, provider, params);\n },\n });\n}\n\nexport function useGitopsRepo(\n ctx: UseGitopsContext,\n provider: ProviderName | null,\n fqn: RepoFqn | null\n): UseQueryResult<NormalisedRepo> {\n const apollo = useApolloClient();\n return useQuery({\n queryKey: key(ctx, 'repo', provider, fqn),\n enabled: !!ensureOpts(ctx, apollo) && !!provider && !!fqn,\n queryFn: async () => {\n const opts = ensureOpts(ctx, apollo);\n if (!opts || !provider || !fqn) throw new GitopsApiError('INVALID', 0, 'missing');\n return gitopsApi.getRepo(opts, provider, fqn);\n },\n });\n}\n\nexport function useGitopsLanguages(\n ctx: UseGitopsContext,\n provider: ProviderName | null,\n fqn: RepoFqn | null\n): UseQueryResult<Record<string, number>> {\n const apollo = useApolloClient();\n return useQuery({\n queryKey: key(ctx, 'langs', provider, fqn),\n enabled: !!ensureOpts(ctx, apollo) && !!provider && !!fqn,\n queryFn: async () => {\n const opts = ensureOpts(ctx, apollo);\n if (!opts || !provider || !fqn) throw new GitopsApiError('INVALID', 0, 'missing');\n return gitopsApi.listLanguages(opts, provider, fqn);\n },\n });\n}\n\nexport function useGitopsContributors(\n ctx: UseGitopsContext,\n provider: ProviderName | null,\n fqn: RepoFqn | null,\n limit = 20\n): UseQueryResult<Contributor[]> {\n const apollo = useApolloClient();\n return useQuery({\n queryKey: key(ctx, 'contrib', provider, fqn, limit),\n enabled: !!ensureOpts(ctx, apollo) && !!provider && !!fqn,\n queryFn: async () => {\n const opts = ensureOpts(ctx, apollo);\n if (!opts || !provider || !fqn) throw new GitopsApiError('INVALID', 0, 'missing');\n return gitopsApi.listContributors(opts, provider, fqn, limit);\n },\n });\n}\n\n// ── PRs ────────────────────────────────────────────────────────────────\n\nexport function useGitopsPullRequests(\n ctx: UseGitopsContext,\n provider: ProviderName | null,\n fqn: RepoFqn | null,\n params: { state?: 'open' | 'closed' | 'all'; limit?: number } = {}\n): UseQueryResult<PullRequest[]> {\n const apollo = useApolloClient();\n return useQuery({\n queryKey: key(ctx, 'prs', provider, fqn, params.state, params.limit),\n enabled: !!ensureOpts(ctx, apollo) && !!provider && !!fqn,\n queryFn: async () => {\n const opts = ensureOpts(ctx, apollo);\n if (!opts || !provider || !fqn) throw new GitopsApiError('INVALID', 0, 'missing');\n return gitopsApi.listPullRequests(opts, provider, fqn, params);\n },\n });\n}\n\nexport function useGitopsPrAnalytics(\n ctx: UseGitopsContext,\n provider: ProviderName | null,\n fqn: RepoFqn | null\n): UseQueryResult<PullRequestAnalytics> {\n const apollo = useApolloClient();\n return useQuery({\n queryKey: key(ctx, 'pr-analytics', provider, fqn),\n enabled: !!ensureOpts(ctx, apollo) && !!provider && !!fqn,\n queryFn: async () => {\n const opts = ensureOpts(ctx, apollo);\n if (!opts || !provider || !fqn) throw new GitopsApiError('INVALID', 0, 'missing');\n return gitopsApi.prAnalytics(opts, provider, fqn);\n },\n });\n}\n\n// ── issues ─────────────────────────────────────────────────────────────\n\nexport function useGitopsIssues(\n ctx: UseGitopsContext,\n provider: ProviderName | null,\n fqn: RepoFqn | null,\n params: { state?: 'open' | 'closed'; limit?: number } = {}\n): UseQueryResult<IssueSummary[]> {\n const apollo = useApolloClient();\n return useQuery({\n queryKey: key(ctx, 'issues', provider, fqn, params.state, params.limit),\n enabled: !!ensureOpts(ctx, apollo) && !!provider && !!fqn,\n queryFn: async () => {\n const opts = ensureOpts(ctx, apollo);\n if (!opts || !provider || !fqn) throw new GitopsApiError('INVALID', 0, 'missing');\n return gitopsApi.listIssues(opts, provider, fqn, params);\n },\n });\n}\n\n// ── CI ─────────────────────────────────────────────────────────────────\n\nexport function useGitopsRuns(\n ctx: UseGitopsContext,\n provider: ProviderName | null,\n fqn: RepoFqn | null,\n params: { limit?: number; branch?: string } = {}\n): UseQueryResult<PipelineRun[]> {\n const apollo = useApolloClient();\n return useQuery({\n queryKey: key(ctx, 'runs', provider, fqn, params.limit, params.branch),\n enabled: !!ensureOpts(ctx, apollo) && !!provider && !!fqn,\n queryFn: async () => {\n const opts = ensureOpts(ctx, apollo);\n if (!opts || !provider || !fqn) throw new GitopsApiError('INVALID', 0, 'missing');\n return gitopsApi.listRuns(opts, provider, fqn, params);\n },\n });\n}\n\nexport function useGitopsPipelineAnalytics(\n ctx: UseGitopsContext,\n provider: ProviderName | null,\n fqn: RepoFqn | null\n): UseQueryResult<PipelineAnalytics> {\n const apollo = useApolloClient();\n return useQuery({\n queryKey: key(ctx, 'pipeline-analytics', provider, fqn),\n enabled: !!ensureOpts(ctx, apollo) && !!provider && !!fqn,\n queryFn: async () => {\n const opts = ensureOpts(ctx, apollo);\n if (!opts || !provider || !fqn) throw new GitopsApiError('INVALID', 0, 'missing');\n return gitopsApi.pipelineAnalytics(opts, provider, fqn);\n },\n });\n}\n\n// ── security ───────────────────────────────────────────────────────────\n\nexport function useGitopsSecurityAlerts(\n ctx: UseGitopsContext,\n provider: ProviderName | null,\n fqn: RepoFqn | null,\n kind?: SecurityAlert['type']\n): UseQueryResult<SecurityAlert[]> {\n const apollo = useApolloClient();\n return useQuery({\n queryKey: key(ctx, 'security', provider, fqn, kind),\n enabled: !!ensureOpts(ctx, apollo) && !!provider && !!fqn,\n queryFn: async () => {\n const opts = ensureOpts(ctx, apollo);\n if (!opts || !provider || !fqn) throw new GitopsApiError('INVALID', 0, 'missing');\n return gitopsApi.listSecurityAlerts(opts, provider, fqn, kind);\n },\n });\n}\n"],"mappings":"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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useInitialDataLoader.js","names":[],"sources":["../../src/hooks/useInitialDataLoader.ts"],"sourcesContent":["/**\n * useInitialDataLoader\n *\n * Hook that prefetches all commonly-used data in a single GraphQL query.\n * This runs once when the VibeControls microfrontend mounts and workspaceId is available.\n * The data is stored in Apollo's normalized cache, making it available to all\n * components via useQuery with cache-only fetch policy.\n *\n * This eliminates the need for multiple components to independently fetch\n * agents, vibes, sessions, targets, and notes - reducing GraphQL calls from\n * 10+ per page to just 1 on initial load.\n */\n\nimport { useCallback } from 'react';\nimport { useVibeControls } from '../providers/VibeControlsProvider';\nimport {\n useVibeControlsInitialDataQuery,\n type VibeControlsInitialDataQuery,\n type VibeControlsInitialDataQueryVariables,\n} from '../generated/wspace-operations';\n\n/**\n * Options for useInitialDataLoader\n */\ninterface UseInitialDataLoaderOptions {\n /** Workspace ID to use when the hook is called outside provider context */\n workspaceId?: string | null;\n /** Fetch policy for the initial query */\n fetchPolicy?: 'cache-first' | 'network-only' | 'cache-only';\n}\n\n/**\n * Return type for useInitialDataLoader\n */\ninterface UseInitialDataLoaderResult {\n /** Whether the initial data is still loading */\n loading: boolean;\n /** Any error that occurred during the initial fetch */\n error?: Error;\n /** Refetch function to manually refresh all initial data */\n refetch: () => void;\n /** The loaded data (raw from Apollo cache) */\n data?: VibeControlsInitialDataQuery;\n}\n\n/**\n * Hook that prefetches all initial data for the VibeControls microfrontend.\n *\n * Usage:\n * ```tsx\n * function MyComponent() {\n * const { loading, error, refetch } = useInitialDataLoader();\n *\n * if (loading) return <Loading />;\n * if (error) return <Error error={error} />;\n *\n * // Data is available in Apollo cache for other components\n * return <div>Loaded!</div>;\n * }\n * ```\n */\nexport function useInitialDataLoader(\n options: UseInitialDataLoaderOptions = {}\n): UseInitialDataLoaderResult {\n const { workspaceId: workspaceIdOverride, fetchPolicy = 'cache-first' } = options;\n // Intentionally passes null when no override is provided — this hook runs inside\n // VibeControlsProvider before useVibeControls() context is available, so it cannot\n // fall back to context.workspaceId. The null causes skip:true on the query, which\n // is the correct behavior until workspaceId is explicitly provided.\n const workspaceId = workspaceIdOverride ?? null;\n\n // Main query to fetch all initial data\n const { loading, error, data, refetch } = useVibeControlsInitialDataQuery({\n variables: { workspaceId: workspaceId || '' } as VibeControlsInitialDataQueryVariables,\n fetchPolicy,\n skip: !workspaceId,\n notifyOnNetworkStatusChange: true,\n errorPolicy: 'all',\n });\n\n const handleRefetch = useCallback(() => {\n void refetch();\n }, [refetch]);\n\n return {\n loading,\n error: error as Error | undefined,\n data,\n refetch: handleRefetch,\n };\n}\n\n/**\n * Simplified hook for components that just need to know if initial data is loaded.\n * Useful for components that will read from cache using useQuery with cache-only.\n */\nexport function useIsInitialDataLoaded(): boolean {\n const { workspaceId } = useVibeControls();\n\n const { loading } = useVibeControlsInitialDataQuery({\n variables: { workspaceId: workspaceId || '' } as VibeControlsInitialDataQueryVariables,\n fetchPolicy: 'cache-only',\n skip: !workspaceId,\n });\n\n return !loading;\n}\n\nexport default useInitialDataLoader;\n"],"mappings":";;;;AA6DA,SAAgB,EACd,IAAuC,EAAE,EACb;CAC5B,IAAM,EAAE,aAAa,GAAqB,iBAAc,kBAAkB,GAKpE,IAAc,KAAuB,MAGrC,EAAE,YAAS,UAAO,SAAM,eAAY,EAAgC;EACxE,WAAW,EAAE,aAAa,KAAe,IAAI;EAC7C;EACA,MAAM,CAAC;EACP,6BAA6B;EAC7B,aAAa;EACd,CAAC;AAMF,QAAO;EACL;EACO;EACP;EACA,SARoB,QAAkB;AACjC,MAAS;KACb,CAAC,EAAQ,CAAC;EAOZ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOfferedAssistantMode.js","names":[],"sources":["../../src/hooks/useOfferedAssistantMode.ts"],"sourcesContent":["/**\n * useOfferedAssistantMode\n *\n * Keeps the SHARED assistant store's mode on one VibeControls offers. A stored\n * mode that no longer exists (the retired `general`, from before Ask / Take\n * action / Build) is moved to Ask the moment it is seen: at mount, after a\n * profile rehydrates the store, and when an old conversation is reopened\n * (`setActiveConversation` copies that conversation's mode into the store).\n *\n * ★★ Why the product does this when fe-libs already resets unknown modes.\n * fe-libs' reset in `AssistantChatArea` runs only AFTER the `myRoles` check\n * settles, because the same effect also resets admin-only modes and must not\n * throw an admin out of Take action while the check is in flight. Until then\n * the store still holds `general`, and a send in that window starts a turn in\n * it. Get help makes the window real: it queues a prompt that the chat area\n * sends from its MOUNT effect, before any role response can arrive. This hook\n * closes the window for modes that do not exist, and leaves the admin question\n * to fe-libs.\n *\n * ★ A LAYOUT effect, deliberately. The shared panel is a child of the component\n * calling this, and React runs every layout effect before any passive effect,\n * so the store is corrected before the chat area's mount effect reads it. A\n * plain `useEffect` here runs AFTER the child's, which is the bug.\n * `useOfferedAssistantMode.test.tsx` pins that order.\n *\n * ★ It subscribes to the store rather than selecting from it, so the wrapper\n * does not re-render the whole panel on every mode change just to check it.\n */\nimport { useLayoutEffect } from 'react';\n/**\n * ★ The SHARED store, from the DEEP subpath. The panel VibeControls mounts reads\n * its mode from here, and it is the only assistant store there is. The barrel\n * would pull react-markdown in too.\n */\nimport { useAssistantStore } from '@burdenoff/fe-libs/shared/assistant/store';\nimport { resolveOfferedMode } from '@/config/assistantUsecases';\n\nfunction landOnOfferedMode(mode: string): void {\n const offered = resolveOfferedMode(mode);\n if (offered !== mode) useAssistantStore.getState().setMode(offered);\n}\n\nexport function useOfferedAssistantMode(): void {\n useLayoutEffect(() => {\n landOnOfferedMode(useAssistantStore.getState().mode);\n return useAssistantStore.subscribe((state, previous) => {\n if (state.mode !== previous.mode) landOnOfferedMode(state.mode);\n });\n }, []);\n}\n"],"mappings":";;;;AAqCA,SAAS,EAAkB,GAAoB;CAC7C,IAAM,IAAU,EAAmB,EAAK;AACxC,CAAI,MAAY,KAAM,EAAkB,UAAU,CAAC,QAAQ,EAAQ;;AAGrE,SAAgB,IAAgC;AAC9C,UACE,EAAkB,EAAkB,UAAU,CAAC,KAAK,EAC7C,EAAkB,WAAW,GAAO,MAAa;AACtD,EAAI,EAAM,SAAS,EAAS,QAAM,EAAkB,EAAM,KAAK;GAC/D,GACD,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOpenAssistantHelp.js","names":[],"sources":["../../src/hooks/useOpenAssistantHelp.ts"],"sourcesContent":["/**\n * useOpenAssistantHelp\n *\n * Returns a callback that opens the AI assistant panel (via the shell's\n * global `vc:toggle-ai-assistant` event) and queues a prompt that the chat\n * area will auto-send on next render. It deliberately leaves the MODE alone —\n * see the note in the callback.\n *\n * Used by the shared `GetHelpButton` that appears next to \"Add X\" buttons\n * in empty states so users can ask the assistant to explain concepts like\n * \"What is a Target?\" without any typing.\n */\nimport { useCallback } from 'react';\n/**\n * ★★ The SHARED store, the only assistant store there is.\n *\n * The panel this product mounts is fe-libs' `AIAssistantPanel`, and its chat\n * area consumes `pendingPrompt` from `fe-libs/shared/assistant/store`. This hook\n * used to queue into the pre-migration fork's own store, persisted and read by\n * nobody, so every Get Help button opened an empty panel. That store is deleted.\n *\n * ★ Imported from the DEEP subpath, not the barrel. The barrel star-exports the\n * panel components and pulls react-markdown in with them.\n */\nimport { useAssistantStore } from '@burdenoff/fe-libs/shared/assistant/store';\n\nexport function useOpenAssistantHelp() {\n return useCallback((prompt: string) => {\n // ★ Do NOT change the mode.\n //\n // This used to force `general`. That call went to the fork's store, so it\n // never reached the shared panel; moved across with the queue it would take\n // effect for the first time. The shared store PERSISTS `mode`, so one press\n // of a Get Help button would silently move the user out of the mode they\n // chose — Ask, Take action, Build — for every later turn too.\n //\n // Whatever mode the user is in already answers \"what is this page for\".\n //\n // Open FIRST, queue on the next macrotask. This is a contract, pinned by the\n // test \"the prompt is not queued until after the open event\", not a race\n // guard. The chat area picks the prompt up in either order: its\n // `pendingPrompt` subscriber if it is mounted, its mount-time\n // `consumePendingPrompt()` if it mounts later. `pendingPrompt` is not\n // persisted, so rehydration cannot clear it.\n //\n // The ordering matters only for a shell that toggles and ignores `open`.\n // Pressed with the panel open, that shell closes it; a prompt queued in the\n // same tick would reach the still-mounted chat area and start a turn in a\n // panel about to unmount. Queued a macrotask later, it waits in the store\n // and is sent on the next open.\n //\n // `open: true` OPENS; it does not toggle. vibecontrols-app's overlay honours\n // it from BOFF-7292, so pressed with the panel already open it stays open.\n window.dispatchEvent(\n new CustomEvent('vc:toggle-ai-assistant', {\n detail: { open: true },\n })\n );\n setTimeout(() => {\n useAssistantStore.getState().submitPrompt(prompt);\n }, 0);\n }, []);\n}\n"],"mappings":";;;AA0BA,SAAgB,IAAuB;AACrC,QAAO,GAAa,MAAmB;AA+BrC,EALA,OAAO,cACL,IAAI,YAAY,0BAA0B,EACxC,QAAQ,EAAE,MAAM,IAAM,EACvB,CAAC,CACH,EACD,iBAAiB;AACf,KAAkB,UAAU,CAAC,aAAa,EAAO;KAChD,EAAE;IACJ,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePluginAvailability.js","names":[],"sources":["../../src/hooks/usePluginAvailability.ts"],"sourcesContent":["/**\n * usePluginAvailability — query + install helpers for vibecontrols-agent plugins.\n *\n * Wraps the existing backend-proxied GraphQL ops (AgentPlugins query +\n * InstallAgentPlugin mutation) and exposes a small state surface that\n * gating components can render against.\n *\n * Live updates: subscribes to `vibecontrolsAgentPluginStream` so the\n * installed map reflects out-of-band installs (CLI, other tabs,\n * agent-side changes) without per-tab polling. The initial AgentPlugins\n * query is still used for first paint so the gate can render before\n * the WebSocket completes its handshake.\n */\n\nimport { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { useApolloClient } from '@apollo/client/react';\nimport {\n AgentPluginsDocument,\n useInstallAgentPluginMutation,\n useVibecontrolsAgentPluginStreamSubscription,\n type AgentPluginsQuery,\n} from '@/generated/wspace-operations';\nimport { isQuotaExhaustedError, markQuotaHandledLocally } from '@/utils/quotaUtils';\n\n/**\n * Classifies transient \"the agent itself isn't ready\" errors so the UI can\n * render a dedicated waiting state instead of an install CTA. These errors\n * are not the user's to fix via an install click — they resolve on their\n * own (or require Agents-page intervention).\n */\nfunction classifyAgentStateError(message: string | null | undefined): boolean {\n if (!message) return false;\n const m = message.toLowerCase();\n return (\n m.includes('agent not yet configured') ||\n m.includes('awaiting-config') ||\n m.includes('initializing') ||\n m.includes('agent unreachable') ||\n m.includes('agent returned 503') ||\n m.includes('http 503') ||\n m.includes('plugin routes are unavailable') ||\n m.includes('econnrefused') ||\n m.includes('rate_limited') ||\n m.includes('rate limited') ||\n m.includes('operation timeout') ||\n m.includes('operation_timeout') ||\n // Bun's fetch surfaces these human-friendly strings when the agent\n // socket isn't accepting connections. Without this branch, the raw\n // text would leak into the install card as the error chip.\n m.includes('typo in the url') ||\n m.includes('unable to connect') ||\n m.includes('failed to open socket') ||\n m.includes('failedtoopensocket') ||\n m.includes('fetch failed') ||\n m.includes('enotfound') ||\n m.includes('getaddrinfo')\n // Note: \"operation was aborted\" is deliberately NOT classified as an\n // agent-state error. Apollo aborts previous in-flight queries when\n // the same lazy query is re-fired (common in React Strict Mode\n // double-mount). Those aborts are transient and not about agent\n // state; the follow-up fetch succeeds normally.\n );\n}\n\n/**\n * Translate raw error strings (especially Bun fetch's human-friendly but\n * jargon-y errors) into a short, user-safe message. Used right before we\n * stash anything into the surfaced `error` field — guarantees we never\n * render \"Was there a typo in the url or port?\" or similar into the DOM.\n */\nfunction sanitizeAgentStateError(raw: string): string {\n const m = raw.toLowerCase();\n if (\n m.includes('typo in the url') ||\n m.includes('unable to connect') ||\n m.includes('failed to open socket') ||\n m.includes('failedtoopensocket') ||\n m.includes('econnrefused') ||\n m.includes('enotfound') ||\n m.includes('getaddrinfo') ||\n m.includes('fetch failed') ||\n m.includes('agent unreachable')\n ) {\n return 'Agent unreachable. Make sure the vibecontrols-agent is running locally.';\n }\n if (m.includes('agent not yet configured') || m.includes('awaiting-config')) {\n return 'Agent is waiting for configuration. Finish setup in the Agents page.';\n }\n if (m.includes('initializing')) {\n return 'Agent is starting up. Try again in a moment.';\n }\n if (m.includes('http 503') || m.includes('agent returned 503')) {\n return 'Agent service unavailable. It may be restarting.';\n }\n return raw.length > 200 ? `${raw.slice(0, 200)}…` : raw;\n}\n\nexport interface UsePluginAvailabilityResult {\n loading: boolean;\n /**\n * True while the very first fetch is in flight (or before it has begun).\n * Consumers should render a loading spinner instead of the install CTA in\n * this state so users don't see a flash of \"plugin required / Install\"\n * followed by a flash of the real content.\n */\n initialLoading: boolean;\n installed: Record<string, boolean>;\n missing: string[];\n anyInstalled: boolean;\n allInstalled: boolean;\n installing: string | null;\n install: (packageName: string) => Promise<boolean>;\n error: string | null;\n /** True when `error` points to the agent itself not being ready. */\n errorIsAgentState: boolean;\n quotaExhausted: boolean;\n clearQuotaExhausted: () => void;\n refetch: () => Promise<void>;\n}\n\nexport function usePluginAvailability(\n packages: readonly string[],\n agentId: string | null\n): UsePluginAvailabilityResult {\n const apollo = useApolloClient();\n const [installPluginMutation] = useInstallAgentPluginMutation();\n\n // Read cached data synchronously so the first render already has the\n // installed map populated when another consumer has primed the cache.\n const cachedInstalledSet = useMemo(() => {\n if (!agentId) return null;\n try {\n const cached = apollo.readQuery<AgentPluginsQuery>({\n query: AgentPluginsDocument,\n variables: { agentId },\n });\n const installedList = cached?.agentPlugins?.installed ?? null;\n if (!installedList) return null;\n return new Set(installedList.map((p: { packageName: string }) => p.packageName));\n } catch {\n return null;\n }\n }, [apollo, agentId]);\n\n const [loading, setLoading] = useState(false);\n const [hasFetchedOnce, setHasFetchedOnce] = useState(() => cachedInstalledSet !== null);\n const [installedMap, setInstalledMap] = useState<Record<string, boolean>>(() => {\n const next: Record<string, boolean> = {};\n if (cachedInstalledSet) {\n for (const pkg of packages) next[pkg] = cachedInstalledSet.has(pkg);\n }\n return next;\n });\n const [installing, setInstalling] = useState<string | null>(null);\n const [error, setError] = useState<string | null>(null);\n const [quotaExhausted, setQuotaExhausted] = useState(false);\n const errorTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n // Stable key so we re-run only when the *set* of requested packages changes.\n const packagesKey = useMemo(() => packages.slice().sort().join('|'), [packages]);\n\n // Re-seed local state whenever the agent changes so consumers never\n // render the previous agent's installed map during the refetch window.\n useEffect(() => {\n let cached: Set<string> | null = null;\n if (agentId) {\n try {\n const c = apollo.readQuery<AgentPluginsQuery>({\n query: AgentPluginsDocument,\n variables: { agentId },\n });\n const list = c?.agentPlugins?.installed ?? null;\n if (list) cached = new Set(list.map((p: { packageName: string }) => p.packageName));\n } catch {\n cached = null;\n }\n }\n const next: Record<string, boolean> = {};\n if (cached) for (const pkg of packages) next[pkg] = cached.has(pkg);\n setInstalledMap(next);\n setHasFetchedOnce(cached !== null);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [agentId, packagesKey, apollo]);\n\n const refetch = useCallback(async () => {\n if (!agentId) {\n setInstalledMap({});\n return;\n }\n setLoading(true);\n try {\n // Use the Apollo client directly with `network-only` so out-of-band\n // installs (CLI, other tabs, agent-side changes) are always picked\n // up. `useAgentPluginsLazyQuery`'s lazy execute() doesn't accept\n // per-call fetchPolicy in Apollo v4; `apollo.query()` does.\n const { data } = await apollo.query<AgentPluginsQuery>({\n query: AgentPluginsDocument,\n variables: { agentId },\n fetchPolicy: 'network-only',\n });\n const next: Record<string, boolean> = {};\n const installedList = data?.agentPlugins?.installed ?? [];\n const pluginError = data?.agentPlugins?.error ?? null;\n const installedSet = new Set(\n installedList.map((p: { packageName: string }) => p.packageName)\n );\n for (const pkg of packages) next[pkg] = installedSet.has(pkg);\n if (pluginError) {\n if (!classifyAgentStateError(pluginError)) {\n setInstalledMap(next);\n }\n // Log the raw error for debugging, but only surface a sanitized\n // version to the UI. Raw Bun fetch errors (\"Was there a typo in\n // the url or port?\") would otherwise leak into the install card.\n // eslint-disable-next-line no-console -- intentional: keep technical detail for debugging\n console.error('[ai] agentPlugins returned error', pluginError);\n setError(sanitizeAgentStateError(pluginError));\n if (errorTimerRef.current) clearTimeout(errorTimerRef.current);\n if (!classifyAgentStateError(pluginError)) {\n errorTimerRef.current = setTimeout(() => setError(null), 5000);\n }\n return;\n }\n setInstalledMap(next);\n // Clear any lingering error from a previously-aborted fetch so the\n // gate doesn't keep showing \"Agent not ready\" after a successful\n // subsequent request (e.g. React Strict Mode double-mount).\n setError(null);\n if (errorTimerRef.current) {\n clearTimeout(errorTimerRef.current);\n errorTimerRef.current = null;\n }\n } catch (err) {\n const msg =\n err instanceof Error ? err.message : 'Agent unreachable — unable to read plugin list';\n const isAgentStateError = classifyAgentStateError(msg);\n // Keep the last known installed state while the agent is restarting or\n // finalizing. Otherwise a transient 503 flashes an install CTA for an\n // already-installed plugin.\n if (!isAgentStateError) {\n setInstalledMap({});\n }\n // eslint-disable-next-line no-console -- intentional: keep technical detail for debugging\n console.error('[ai] agentPlugins fetch failed', err);\n setError(sanitizeAgentStateError(msg));\n // State-related errors stay visible until resolved; transient\n // network/GraphQL errors auto-dismiss so the UI stays tidy.\n if (errorTimerRef.current) clearTimeout(errorTimerRef.current);\n if (!isAgentStateError) {\n errorTimerRef.current = setTimeout(() => setError(null), 5000);\n }\n } finally {\n setLoading(false);\n setHasFetchedOnce(true);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [agentId, apollo, packagesKey]);\n\n useEffect(() => {\n void refetch();\n }, [refetch]);\n\n // Subscribe to the push stream. The svc emits the installed list\n // whenever it diverges from its previous snapshot, so we only update\n // local state on payloads — and we also write through to the Apollo\n // cache so other consumers reading `agentPlugins` directly see fresh\n // data without their own refetch.\n useVibecontrolsAgentPluginStreamSubscription({\n variables: { agentId: agentId ?? '' },\n skip: !agentId,\n onData: ({ data }) => {\n const installedList = data.data?.vibecontrolsAgentPluginStream;\n if (!installedList || !agentId) return;\n const installedSet = new Set(\n installedList.map((p: { packageName: string }) => p.packageName)\n );\n setInstalledMap((prev) => {\n const next: Record<string, boolean> = { ...prev };\n let changed = false;\n for (const pkg of packages) {\n const has = installedSet.has(pkg);\n if (next[pkg] !== has) {\n next[pkg] = has;\n changed = true;\n }\n }\n return changed ? next : prev;\n });\n setHasFetchedOnce(true);\n // Mirror into Apollo cache so consumers that read AgentPluginsQuery\n // directly (e.g. PluginHarnessPicker) see the same fresh list.\n try {\n const existing = apollo.readQuery<AgentPluginsQuery>({\n query: AgentPluginsDocument,\n variables: { agentId },\n });\n apollo.writeQuery<AgentPluginsQuery>({\n query: AgentPluginsDocument,\n variables: { agentId },\n data: {\n agentPlugins: {\n __typename: 'AgentPluginListResult',\n installed: installedList,\n available: existing?.agentPlugins?.available ?? [],\n error: null,\n },\n },\n });\n } catch {\n // Cache may not have been primed yet — the next refetch will\n // populate `available` and we'll write again on the next event.\n }\n },\n });\n\n // Also refetch when the tab regains focus so installs made elsewhere flow in.\n useEffect(() => {\n const onFocus = () => void refetch();\n window.addEventListener('focus', onFocus);\n return () => window.removeEventListener('focus', onFocus);\n }, [refetch]);\n\n useEffect(() => {\n return () => {\n if (errorTimerRef.current) clearTimeout(errorTimerRef.current);\n };\n }, []);\n\n const install = useCallback(\n async (packageName: string): Promise<boolean> => {\n if (!agentId) return false;\n setInstalling(packageName);\n setError(null);\n try {\n const { data } = await installPluginMutation({\n variables: { agentId, packageName },\n });\n if (data?.installAgentPlugin?.success) {\n setInstalledMap((prev) => ({ ...prev, [packageName]: true }));\n // Don't immediately refetch — the mutation returns success the\n // moment the agent's plugin manager accepts the install, but the\n // npm-level fetch + manifest publish takes a beat. An eager\n // refetch races that and overwrites our optimistic flip with a\n // stale \"not installed\" result, putting the install card right\n // back up.\n //\n // The subscription stream is the primary signal; this delayed\n // refetch is the fallback for environments where the SSE upgrade\n // is slow. 1200ms is enough for the agent to publish the new\n // entry on the plugin stream in the common case, short enough\n // that the user doesn't notice when AgentManagerPage's\n // onInstalled fires a window.location.reload() at 1500ms.\n setTimeout(() => void refetch(), 1200);\n return true;\n }\n throw new Error(data?.installAgentPlugin?.error || 'Install failed');\n } catch (err) {\n if (isQuotaExhaustedError(err)) {\n markQuotaHandledLocally();\n setQuotaExhausted(true);\n return false;\n }\n const msg = err instanceof Error ? err.message : 'Failed to install plugin';\n // eslint-disable-next-line no-console -- intentional: keep technical detail for debugging\n console.error('[ai] plugin install failed', err);\n setError(sanitizeAgentStateError(msg));\n if (errorTimerRef.current) clearTimeout(errorTimerRef.current);\n if (!classifyAgentStateError(msg)) {\n errorTimerRef.current = setTimeout(() => setError(null), 5000);\n }\n return false;\n } finally {\n setInstalling(null);\n }\n },\n [agentId, installPluginMutation, refetch]\n );\n\n const clearQuotaExhausted = useCallback(() => setQuotaExhausted(false), []);\n\n const missing = useMemo(\n () => packages.filter((pkg) => !installedMap[pkg]),\n [packages, installedMap]\n );\n const anyInstalled = useMemo(\n () => packages.some((pkg) => installedMap[pkg]),\n [packages, installedMap]\n );\n const allInstalled = missing.length === 0 && packages.length > 0;\n\n return {\n loading,\n initialLoading: !hasFetchedOnce,\n installed: installedMap,\n missing,\n anyInstalled,\n allInstalled,\n installing,\n install,\n error,\n errorIsAgentState: classifyAgentStateError(error),\n quotaExhausted,\n clearQuotaExhausted,\n refetch,\n };\n}\n"],"mappings":"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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useQueryBackedTab.js","names":[],"sources":["../../src/hooks/useQueryBackedTab.ts"],"sourcesContent":["import { useCallback, useMemo } from 'react';\nimport { useSearchParams } from 'react-router';\n\nexport function useQueryBackedTab<T extends string>(\n validTabs: readonly T[],\n defaultTab: T,\n paramName = 'tab'\n): [T, (tab: T) => void] {\n const [searchParams, setSearchParams] = useSearchParams();\n const validTabSet = useMemo(() => new Set(validTabs), [validTabs]);\n const tabParam = searchParams.get(paramName);\n const activeTab = tabParam && validTabSet.has(tabParam as T) ? (tabParam as T) : defaultTab;\n\n const setActiveTab = useCallback(\n (tab: T) => {\n const next = new URLSearchParams(\n typeof window === 'undefined' ? searchParams.toString() : window.location.search\n );\n if (tab === defaultTab) {\n next.delete(paramName);\n } else {\n next.set(paramName, tab);\n }\n setSearchParams(next, { replace: true });\n },\n [defaultTab, paramName, searchParams, setSearchParams]\n );\n\n return [activeTab, setActiveTab];\n}\n"],"mappings":";;;AAGA,SAAgB,EACd,GACA,GACA,IAAY,OACW;CACvB,IAAM,CAAC,GAAc,KAAmB,GAAiB,EACnD,IAAc,QAAc,IAAI,IAAI,EAAU,EAAE,CAAC,EAAU,CAAC,EAC5D,IAAW,EAAa,IAAI,EAAU;AAkB5C,QAAO,CAjBW,KAAY,EAAY,IAAI,EAAc,GAAI,IAAiB,GAE5D,GAClB,MAAW;EACV,IAAM,IAAO,IAAI,gBACf,OAAO,SAAW,MAAc,EAAa,UAAU,GAAG,OAAO,SAAS,OAC3E;AAMD,EALI,MAAQ,IACV,EAAK,OAAO,EAAU,GAEtB,EAAK,IAAI,GAAW,EAAI,EAE1B,EAAgB,GAAM,EAAE,SAAS,IAAM,CAAC;IAE1C;EAAC;EAAY;EAAW;EAAc;EAAgB,CACvD,CAE+B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTenantContext.js","names":[],"sources":["../../src/hooks/useTenantContext.ts"],"sourcesContent":["import { useMemo } from 'react';\nimport { useSearchParams } from 'react-router';\n\n/**\n * Support deep-link flow: callers pass `?org=…&tenant=…` in the URL\n * to override the workspace/tenant the Apollo auth link would read\n * from storage. Return value is shaped for direct use as the Apollo\n * `context` option on a query/mutation so the headers reach the\n * gateway on a per-request basis. `undefined` means no overrides\n * are present, so callers can spread it without adding empty\n * headers to every request.\n *\n * Security boundary: these headers DO NOT grant cross-tenant access.\n * `wspace-public-gateway` lists `x-tenant-id` (and the other\n * `x-actor-*` headers) in `SPOOF_SENSITIVE_HEADERS` and scrubs them\n * from `req.headers` before injecting the gateway-verified set, so\n * a crafted deep-link (`?org=victim&tenant=victim`) does NOT\n * authenticate the victim's session as the attacker's chosen tenant\n * — the actor identity in `x-actor-id` is always gateway-derived\n * from the auth token, and every subgraph enforces `@rbac` against\n * that. The override is honoured at the gateway only for\n * `super_admin` callers (latency hint on token issuance); for\n * regular users it's effectively informational and the RBAC\n * directive on the resolver decides. See\n * `gateways/wspace-public-gateway/src/handlers.ts:574-668`.\n */\nexport function useTenantContext(): { headers: Record<string, string> } | undefined {\n const [searchParams] = useSearchParams();\n return useMemo(() => {\n const orgFromUrl = searchParams.get('org');\n const tenantFromUrl = searchParams.get('tenant');\n const headers: Record<string, string> = {};\n if (orgFromUrl) headers['x-org-id'] = orgFromUrl;\n if (tenantFromUrl) headers['x-tenant-id'] = tenantFromUrl;\n return Object.keys(headers).length > 0 ? { headers } : undefined;\n }, [searchParams]);\n}\n"],"mappings":";;;AA0BA,SAAgB,IAAoE;CAClF,IAAM,CAAC,KAAgB,GAAiB;AACxC,QAAO,QAAc;EACnB,IAAM,IAAa,EAAa,IAAI,MAAM,EACpC,IAAgB,EAAa,IAAI,SAAS,EAC1C,IAAkC,EAAE;AAG1C,SAFI,MAAY,EAAQ,cAAc,IAClC,MAAe,EAAQ,iBAAiB,IACrC,OAAO,KAAK,EAAQ,CAAC,SAAS,IAAI,EAAE,YAAS,GAAG,KAAA;IACtD,CAAC,EAAa,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTerminalCapabilityUrl.js","names":[],"sources":["../../src/hooks/useTerminalCapabilityUrl.ts"],"sourcesContent":["/**\n * useTerminalCapabilityUrl — F3 helper.\n *\n * Takes a session's bare ttyd tunnel URL plus its owning agentId and\n * returns an iframe-ready URL with `#vt=<short-lived-token>` appended\n * (or null while the mint is in flight / failed).\n *\n * The mint flow is identical to the one inlined into SessionDetailsPage:\n * 1. Strip any legacy `?apiKey=` from `baseTtydUrl` (defensive).\n * 2. Call `mintAgentCapability(TERMINAL_SESSION, resourceId=sessionId)`\n * to mint a short-lived (60s) HMAC ticket path-scoped to\n * `/terminal/<sessionId>`.\n * 3. Return `${baseTtydUrl}#vt=${encodeURIComponent(token)}` — the\n * fragment never leaves the browser, so the token stays out of\n * proxy logs, Referer, and history.\n *\n * The hook owns its own loading + error state. Bump `remintNonce` to\n * force a re-mint (used on iframe error / 10-min cookie expiry).\n */\nimport { useCallback, useEffect, useMemo, useState } from 'react';\n\nimport { useMintAgentCapabilityMutation } from '@/generated/wspace-operations';\nimport { AgentCapabilityScope } from '@/generated/wspace-types';\n\nexport interface UseTerminalCapabilityUrlResult {\n /** iframe-ready URL with #vt= appended, or null while loading. */\n url: string | null;\n /** Mint error from the latest attempt. */\n error: string | null;\n /** Mint is in flight. */\n loading: boolean;\n /** Force a re-mint (call on iframe error / refresh). */\n remint: () => void;\n}\n\nfunction stripApiKey(url: string): string {\n try {\n const u = new URL(url);\n u.searchParams.delete('apiKey');\n return u.toString();\n } catch {\n return url;\n }\n}\n\nexport function useTerminalCapabilityUrl(\n agentId: string | null | undefined,\n sessionId: string | null | undefined,\n baseTtydUrl: string | null | undefined,\n profile: string = 'default'\n): UseTerminalCapabilityUrlResult {\n const [mintAgentCapability] = useMintAgentCapabilityMutation();\n const [token, setToken] = useState<string | null>(null);\n const [error, setError] = useState<string | null>(null);\n const [loading, setLoading] = useState(false);\n const [nonce, setNonce] = useState(0);\n\n const remint = useCallback(() => setNonce((n) => n + 1), []);\n\n const sanitizedBase = useMemo(\n () => (baseTtydUrl ? stripApiKey(baseTtydUrl) : null),\n [baseTtydUrl]\n );\n\n useEffect(() => {\n let cancelled = false;\n if (!agentId || !sessionId || !sanitizedBase) {\n setToken(null);\n setError(null);\n return undefined;\n }\n setLoading(true);\n setError(null);\n mintAgentCapability({\n variables: {\n agentId,\n profile,\n scope: AgentCapabilityScope.TerminalSession,\n resourceId: sessionId,\n ttlSeconds: 60,\n },\n })\n .then((res) => {\n if (cancelled) return;\n const minted = res.data?.mintAgentCapability?.token ?? null;\n if (!minted) {\n setError('Failed to mint terminal capability');\n setToken(null);\n } else {\n setToken(minted);\n }\n })\n .catch((err) => {\n if (cancelled) return;\n setError(err instanceof Error ? err.message : 'Failed to mint terminal capability');\n setToken(null);\n })\n .finally(() => {\n if (!cancelled) setLoading(false);\n });\n return () => {\n cancelled = true;\n };\n }, [agentId, sessionId, sanitizedBase, nonce, profile, mintAgentCapability]);\n\n const url = sanitizedBase && token ? `${sanitizedBase}#vt=${encodeURIComponent(token)}` : null;\n\n return { url, error, loading, remint };\n}\n"],"mappings":";;;;AAmCA,SAAS,EAAY,GAAqB;AACxC,KAAI;EACF,IAAM,IAAI,IAAI,IAAI,EAAI;AAEtB,SADA,EAAE,aAAa,OAAO,SAAS,EACxB,EAAE,UAAU;SACb;AACN,SAAO;;;AAIX,SAAgB,EACd,GACA,GACA,GACA,IAAkB,WACc;CAChC,IAAM,CAAC,KAAuB,GAAgC,EACxD,CAAC,GAAO,KAAY,EAAwB,KAAK,EACjD,CAAC,GAAO,KAAY,EAAwB,KAAK,EACjD,CAAC,GAAS,KAAc,EAAS,GAAM,EACvC,CAAC,GAAO,KAAY,EAAS,EAAE,EAE/B,IAAS,QAAkB,GAAU,MAAM,IAAI,EAAE,EAAE,EAAE,CAAC,EAEtD,IAAgB,QACb,IAAc,EAAY,EAAY,GAAG,MAChD,CAAC,EAAY,CACd;AA6CD,QA3CA,QAAgB;EACd,IAAI,IAAY;AAChB,MAAI,CAAC,KAAW,CAAC,KAAa,CAAC,GAAe;AAE5C,GADA,EAAS,KAAK,EACd,EAAS,KAAK;AACd;;AA+BF,SA7BA,EAAW,GAAK,EAChB,EAAS,KAAK,EACd,EAAoB,EAClB,WAAW;GACT;GACA;GACA,OAAO,EAAqB;GAC5B,YAAY;GACZ,YAAY;GACb,EACF,CAAC,CACC,MAAM,MAAQ;AACb,OAAI,EAAW;GACf,IAAM,IAAS,EAAI,MAAM,qBAAqB,SAAS;AACvD,GAAK,IAIH,EAAS,EAAO,IAHhB,EAAS,qCAAqC,EAC9C,EAAS,KAAK;IAIhB,CACD,OAAO,MAAQ;AACV,SACJ,EAAS,aAAe,QAAQ,EAAI,UAAU,qCAAqC,EACnF,EAAS,KAAK;IACd,CACD,cAAc;AACb,GAAK,KAAW,EAAW,GAAM;IACjC,QACS;AACX,OAAY;;IAEb;EAAC;EAAS;EAAW;EAAe;EAAO;EAAS;EAAoB,CAAC,EAIrE;EAAE,KAFG,KAAiB,IAAQ,GAAG,EAAc,MAAM,mBAAmB,EAAM,KAAK;EAE5E;EAAO;EAAS;EAAQ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useToggleAgentBookmark.js","names":[],"sources":["../../src/hooks/useToggleAgentBookmark.ts"],"sourcesContent":["import { useCallback, useMemo } from 'react';\n\nimport {\n useCreateAgentMessageBookmarkMutation,\n useDeleteAgentMessageBookmarkMutation,\n useMyAgentMessageBookmarksQuery,\n type AgentMessageBookmarkFieldsFragment,\n} from '../generated/wspace-operations';\n\ninterface ToggleArgs {\n agentId: string;\n sessionId: string;\n messageId: string;\n}\n\ninterface UseToggleAgentBookmarkResult {\n bookmarkedIds: Set<string>;\n bookmarkIdByMessageId: Map<string, string>;\n toggle: (args: ToggleArgs) => Promise<void>;\n isLoading: boolean;\n refetch: () => Promise<unknown>;\n}\n\nexport const useToggleAgentBookmark = (\n sessionId: string | null | undefined\n): UseToggleAgentBookmarkResult => {\n const { data, loading, refetch } = useMyAgentMessageBookmarksQuery({\n variables: { filter: { sessionId: sessionId ?? null } },\n skip: !sessionId,\n fetchPolicy: 'cache-and-network',\n });\n\n const items = useMemo(\n () => data?.myAgentMessageBookmarks.items ?? [],\n [data?.myAgentMessageBookmarks.items]\n );\n\n const bookmarkedIds = useMemo(\n () => new Set<string>(items.map((b: AgentMessageBookmarkFieldsFragment) => b.messageId)),\n [items]\n );\n const bookmarkIdByMessageId = useMemo(\n () =>\n new Map<string, string>(\n items.map((b: AgentMessageBookmarkFieldsFragment) => [b.messageId, b.id])\n ),\n [items]\n );\n\n const [createMutation, { loading: creating }] = useCreateAgentMessageBookmarkMutation({\n refetchQueries: ['MyAgentMessageBookmarks'],\n });\n\n const [deleteMutation, { loading: deleting }] = useDeleteAgentMessageBookmarkMutation({\n refetchQueries: ['MyAgentMessageBookmarks'],\n });\n\n const toggle = useCallback(\n async ({ agentId, sessionId: sid, messageId }: ToggleArgs) => {\n const existingId = bookmarkIdByMessageId.get(messageId);\n if (existingId) {\n await deleteMutation({ variables: { id: existingId } });\n } else {\n await createMutation({\n variables: { input: { agentId, sessionId: sid, messageId } },\n });\n }\n },\n [bookmarkIdByMessageId, createMutation, deleteMutation]\n );\n\n return {\n bookmarkedIds,\n bookmarkIdByMessageId,\n toggle,\n isLoading: loading || creating || deleting,\n refetch,\n };\n};\n"],"mappings":";;;AAuBA,IAAa,KACX,MACiC;CACjC,IAAM,EAAE,SAAM,YAAS,eAAY,EAAgC;EACjE,WAAW,EAAE,QAAQ,EAAE,WAAW,KAAa,MAAM,EAAE;EACvD,MAAM,CAAC;EACP,aAAa;EACd,CAAC,EAEI,IAAQ,QACN,GAAM,wBAAwB,SAAS,EAAE,EAC/C,CAAC,GAAM,wBAAwB,MAAM,CACtC,EAEK,IAAgB,QACd,IAAI,IAAY,EAAM,KAAK,MAA0C,EAAE,UAAU,CAAC,EACxF,CAAC,EAAM,CACR,EACK,IAAwB,QAE1B,IAAI,IACF,EAAM,KAAK,MAA0C,CAAC,EAAE,WAAW,EAAE,GAAG,CAAC,CAC1E,EACH,CAAC,EAAM,CACR,EAEK,CAAC,GAAgB,EAAE,SAAS,OAAc,EAAsC,EACpF,gBAAgB,CAAC,0BAA0B,EAC5C,CAAC,EAEI,CAAC,GAAgB,EAAE,SAAS,OAAc,EAAsC,EACpF,gBAAgB,CAAC,0BAA0B,EAC5C,CAAC;AAgBF,QAAO;EACL;EACA;EACA,QAjBa,EACb,OAAO,EAAE,YAAS,WAAW,GAAK,mBAA4B;GAC5D,IAAM,IAAa,EAAsB,IAAI,EAAU;AACvD,GAAI,IACF,MAAM,EAAe,EAAE,WAAW,EAAE,IAAI,GAAY,EAAE,CAAC,GAEvD,MAAM,EAAe,EACnB,WAAW,EAAE,OAAO;IAAE;IAAS,WAAW;IAAK;IAAW,EAAE,EAC7D,CAAC;KAGN;GAAC;GAAuB;GAAgB;GAAe,CACxD;EAMC,WAAW,KAAW,KAAY;EAClC;EACD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useVoiceMode.js","names":[],"sources":["../../src/hooks/useVoiceMode.ts"],"sourcesContent":["/**\n * Web Speech API integration hook.\n *\n * Provides speech-to-text (SpeechRecognition) and text-to-speech\n * (SpeechSynthesis) capabilities with browser compatibility checks.\n */\n\nimport { useState, useRef, useCallback, useEffect } from 'react';\n\ninterface SpeechRecognitionEvent extends Event {\n results: SpeechRecognitionResultList;\n resultIndex: number;\n}\n\ninterface SpeechRecognitionErrorEvent extends Event {\n error: string;\n message: string;\n}\n\n/** Browser SpeechRecognition constructor (prefixed or standard) */\ntype SpeechRecognitionConstructor = new () => SpeechRecognitionInstance;\n\ninterface SpeechRecognitionInstance extends EventTarget {\n continuous: boolean;\n interimResults: boolean;\n lang: string;\n start(): void;\n stop(): void;\n abort(): void;\n onresult: ((event: SpeechRecognitionEvent) => void) | null;\n onerror: ((event: SpeechRecognitionErrorEvent) => void) | null;\n onend: (() => void) | null;\n}\n\nfunction getSpeechRecognitionConstructor(): SpeechRecognitionConstructor | null {\n if (typeof window === 'undefined') return null;\n const win = window as unknown as Record<string, unknown>;\n return (\n (win.SpeechRecognition as SpeechRecognitionConstructor | undefined) ??\n (win.webkitSpeechRecognition as SpeechRecognitionConstructor | undefined) ??\n null\n );\n}\n\ninterface UseVoiceModeReturn {\n isListening: boolean;\n transcript: string;\n startListening: () => void;\n stopListening: () => void;\n speak: (text: string) => void;\n isSupported: boolean;\n}\n\nexport function useVoiceMode(): UseVoiceModeReturn {\n const [isListening, setIsListening] = useState(false);\n const [transcript, setTranscript] = useState('');\n const recognitionRef = useRef<SpeechRecognitionInstance | null>(null);\n\n const RecognitionCtor = getSpeechRecognitionConstructor();\n const isSupported =\n RecognitionCtor !== null && typeof window !== 'undefined' && 'speechSynthesis' in window;\n\n // Cleanup on unmount\n useEffect(() => {\n return () => {\n if (recognitionRef.current) {\n recognitionRef.current.abort();\n recognitionRef.current = null;\n }\n };\n }, []);\n\n const startListening = useCallback(() => {\n if (!RecognitionCtor) return;\n\n const recognition = new RecognitionCtor();\n recognition.continuous = true;\n recognition.interimResults = true;\n recognition.lang = 'en-US';\n\n recognition.onresult = (event: SpeechRecognitionEvent) => {\n let finalTranscript = '';\n for (let i = event.resultIndex; i < event.results.length; i++) {\n const result = event.results[i];\n if (result.isFinal) {\n finalTranscript += result[0].transcript;\n }\n }\n if (finalTranscript) {\n setTranscript((prev) => (prev ? `${prev} ${finalTranscript}` : finalTranscript));\n }\n };\n\n recognition.onerror = () => {\n setIsListening(false);\n recognitionRef.current = null;\n };\n\n recognition.onend = () => {\n setIsListening(false);\n recognitionRef.current = null;\n };\n\n recognitionRef.current = recognition;\n recognition.start();\n setIsListening(true);\n }, [RecognitionCtor]);\n\n const stopListening = useCallback(() => {\n if (recognitionRef.current) {\n recognitionRef.current.stop();\n recognitionRef.current = null;\n }\n setIsListening(false);\n }, []);\n\n const speak = useCallback((text: string) => {\n if (typeof window === 'undefined' || !('speechSynthesis' in window)) return;\n\n // Cancel any ongoing speech\n window.speechSynthesis.cancel();\n\n const utterance = new SpeechSynthesisUtterance(text);\n utterance.rate = 1;\n utterance.pitch = 1;\n window.speechSynthesis.speak(utterance);\n }, []);\n\n return {\n isListening,\n transcript,\n startListening,\n stopListening,\n speak,\n isSupported,\n };\n}\n"],"mappings":";;AAkCA,SAAS,IAAuE;AAC9E,KAAI,OAAO,SAAW,IAAa,QAAO;CAC1C,IAAM,IAAM;AACZ,QACG,EAAI,qBACJ,EAAI,2BACL;;AAaJ,SAAgB,IAAmC;CACjD,IAAM,CAAC,GAAa,KAAkB,EAAS,GAAM,EAC/C,CAAC,GAAY,KAAiB,EAAS,GAAG,EAC1C,IAAiB,EAAyC,KAAK,EAE/D,IAAkB,GAAiC,EACnD,IACJ,MAAoB,QAAQ,OAAO,SAAW,OAAe,qBAAqB;AAoEpF,QAjEA,cACe;AACX,EAEE,EAAe,aADf,EAAe,QAAQ,OAAO,EACL;IAG5B,EAAE,CAAC,EA0DC;EACL;EACA;EACA,gBA3DqB,QAAkB;AACvC,OAAI,CAAC,EAAiB;GAEtB,IAAM,IAAc,IAAI,GAAiB;AA8BzC,GA7BA,EAAY,aAAa,IACzB,EAAY,iBAAiB,IAC7B,EAAY,OAAO,SAEnB,EAAY,YAAY,MAAkC;IACxD,IAAI,IAAkB;AACtB,SAAK,IAAI,IAAI,EAAM,aAAa,IAAI,EAAM,QAAQ,QAAQ,KAAK;KAC7D,IAAM,IAAS,EAAM,QAAQ;AAC7B,KAAI,EAAO,YACT,KAAmB,EAAO,GAAG;;AAGjC,IAAI,KACF,GAAe,MAAU,IAAO,GAAG,EAAK,GAAG,MAAoB,EAAiB;MAIpF,EAAY,gBAAgB;AAE1B,IADA,EAAe,GAAM,EACrB,EAAe,UAAU;MAG3B,EAAY,cAAc;AAExB,IADA,EAAe,GAAM,EACrB,EAAe,UAAU;MAG3B,EAAe,UAAU,GACzB,EAAY,OAAO,EACnB,EAAe,GAAK;KACnB,CAAC,EAAgB,CAAC;EA0BnB,eAxBoB,QAAkB;AAKtC,GAJA,AAEE,EAAe,aADf,EAAe,QAAQ,MAAM,EACJ,OAE3B,EAAe,GAAM;KACpB,EAAE,CAAC;EAmBJ,OAjBY,GAAa,MAAiB;AAC1C,OAAI,OAAO,SAAW,OAAe,EAAE,qBAAqB,QAAS;AAGrE,UAAO,gBAAgB,QAAQ;GAE/B,IAAM,IAAY,IAAI,yBAAyB,EAAK;AAGpD,GAFA,EAAU,OAAO,GACjB,EAAU,QAAQ,GAClB,OAAO,gBAAgB,MAAM,EAAU;KACtC,EAAE,CAAC;EAQJ;EACD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useWorkspaceWriteAccess.js","names":[],"sources":["../../src/hooks/useWorkspaceWriteAccess.ts"],"sourcesContent":["/**\n * VibeControls' write-access probe.\n *\n * ★ The mechanism lives in `fe-libs/shared/assistant`; the RESOURCE TYPES stay\n * here, because which resources prove \"this user can write in this workspace\"\n * is the product's answer. The shared hook takes them with no default, so\n * another product cannot accidentally probe VibeControls' vibes — or the other\n * way round.\n */\nimport { useWorkspaceWriteAccess as useShared } from '@burdenoff/fe-libs/shared/assistant/useWorkspaceWriteAccess';\nexport type { WorkspaceWriteAccess } from '@burdenoff/fe-libs/shared/assistant/useWorkspaceWriteAccess';\n\n/**\n * Resources an api-calls turn is most likely to write. Not exhaustive — the\n * assistant can reach far more — but a representative probe. The shared hook\n * asks `checkPermissions` for `action: \"create\"` on each.\n *\n * ★★ These are the names the BACKEND enforces, which are unprefixed:\n * vibe `createVibe` @rbac(action: \"create\", resource: \"vibe\")\n * session `createSession` @rbac(action: \"create\", resource: \"session\")\n * agent `createVibecontrolsAgent` @rbac(action: \"create\", resource: \"agent\")\n * (wspace-vibecontrols-svc, and the composed `graphql/wspace.graphql` here) —\n * and the RBAC service seeds exactly these resource types.\n *\n * They were `vibecontrols_vibe` / `_session` / `_agent`, copied from\n * HealthyBowl's `healthybowl_crop` convention. No such resource type exists in\n * VibeControls' schema or RBAC seed, so no seeded role grants them, RBAC falls\n * through to default-DENY, and the composer's warning said nothing about the\n * permissions a Take-action turn actually needs.\n *\n * Still advisory, never a gate: the shared panel only shows a warning.\n * `useWorkspaceWriteAccess.test.ts` checks these against the schema.\n */\nexport const PROBE_RESOURCES = ['vibe', 'session', 'agent'] as const;\n\nexport function useWorkspaceWriteAccess(actorId: string | null, workspaceId: string | null) {\n return useShared(actorId, workspaceId, PROBE_RESOURCES);\n}\n"],"mappings":";;AAiCA,IAAa,IAAkB;CAAC;CAAQ;CAAW;CAAQ;AAE3D,SAAgB,EAAwB,GAAwB,GAA4B;AAC1F,QAAO,EAAU,GAAS,GAAa,EAAgB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"apolloCache.js","names":[],"sources":["../../src/lib/apolloCache.ts"],"sourcesContent":["/**\n * Apollo InMemoryCache for the VibeControls MFE.\n *\n * `typePolicies` make cross-query normalization explicit so the provider's\n * `VibeControlsInitialData` agents/vibes/sessions and the per-page list queries\n * (ListAgents/ListTargets/…) write into the SAME normalized objects — pages then\n * paint instantly from cache. `AgentHealthProbeResult` has no `id`, so it needs\n * an explicit `keyFields` for the probe query + the live subscription to share\n * objects (otherwise they collide as un-normalized embedded values).\n */\n\nimport { InMemoryCache } from '@apollo/client';\n\nexport function buildVibeControlsCache(): InMemoryCache {\n return new InMemoryCache({\n typePolicies: {\n // id-bearing types are auto-normalized by Apollo; declaring keyFields is\n // explicit + future-proof and lets cache.modify target them reliably.\n VibecontrolsAgent: { keyFields: ['id'] },\n Target: { keyFields: ['id'] },\n Vibe: { keyFields: ['id'] },\n Session: { keyFields: ['id'] },\n AiPrompt: { keyFields: ['id'] },\n AiContext: { keyFields: ['id'] },\n AgentInstructionFile: { keyFields: ['id'] },\n // No `id` field — key on agentId so the probe query result and the\n // health-probe-stream subscription update the same normalized object.\n AgentHealthProbeResult: { keyFields: ['agentId'] },\n },\n });\n}\n"],"mappings":";;AAaA,SAAgB,IAAwC;AACtD,QAAO,IAAI,EAAc,EACvB,cAAc;EAGZ,mBAAmB,EAAE,WAAW,CAAC,KAAK,EAAE;EACxC,QAAQ,EAAE,WAAW,CAAC,KAAK,EAAE;EAC7B,MAAM,EAAE,WAAW,CAAC,KAAK,EAAE;EAC3B,SAAS,EAAE,WAAW,CAAC,KAAK,EAAE;EAC9B,UAAU,EAAE,WAAW,CAAC,KAAK,EAAE;EAC/B,WAAW,EAAE,WAAW,CAAC,KAAK,EAAE;EAChC,sBAAsB,EAAE,WAAW,CAAC,KAAK,EAAE;EAG3C,wBAAwB,EAAE,WAAW,CAAC,UAAU,EAAE;EACnD,EACF,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"toast.js","names":[],"sources":["../../src/lib/toast.ts"],"sourcesContent":["import { toast } from 'sonner';\n\n/**\n * Module-wide toast API. sonner is a global singleton; the matching <Toaster>\n * is owned by the HOST — the production app shell mounts a single one via\n * AppShellProvider, and the standalone dev harness mounts its own (see\n * VibeControlsRoot's `renderToaster`). Every page/component must emit feedback\n * through these helpers instead of hand-rolling fixed-position toast markup.\n *\n * Durations follow the notification spec: success/info auto-dismiss,\n * errors stay until the user dismisses them (sonner renders a close\n * button and announces via aria-live).\n */\nexport const notify = {\n success(message: string, description?: string): void {\n toast.success(message, { description, duration: 4000 });\n },\n info(message: string, description?: string): void {\n toast.info(message, { description, duration: 4000 });\n },\n warning(message: string, description?: string): void {\n toast.warning(message, { description, duration: 8000 });\n },\n error(message: string, description?: string): void {\n toast.error(message, { description, duration: Infinity, closeButton: true });\n },\n dismiss(id?: string | number): void {\n toast.dismiss(id);\n },\n};\n\nexport { toast };\n"],"mappings":";;AAaA,IAAa,IAAS;CACpB,QAAQ,GAAiB,GAA4B;AACnD,IAAM,QAAQ,GAAS;GAAE;GAAa,UAAU;GAAM,CAAC;;CAEzD,KAAK,GAAiB,GAA4B;AAChD,IAAM,KAAK,GAAS;GAAE;GAAa,UAAU;GAAM,CAAC;;CAEtD,QAAQ,GAAiB,GAA4B;AACnD,IAAM,QAAQ,GAAS;GAAE;GAAa,UAAU;GAAM,CAAC;;CAEzD,MAAM,GAAiB,GAA4B;AACjD,IAAM,MAAM,GAAS;GAAE;GAAa,UAAU;GAAU,aAAa;GAAM,CAAC;;CAE9E,QAAQ,GAA4B;AAClC,IAAM,QAAQ,EAAG;;CAEpB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"vibeFeatures.js","names":[],"sources":["../../src/lib/vibeFeatures.ts"],"sourcesContent":["/**\n * Per-vibe feature flag helpers (frontend mirror of the backend catalog).\n *\n * The runtime source of truth for the catalog is the `vibeFeatureCatalog`\n * GraphQL query, but we keep a static fallback so the UI can render\n * deterministically before the catalog query resolves and so TypeScript can\n * narrow tab ids.\n */\n\nexport interface VibeFeatureDefinition {\n id: string;\n label: string;\n defaultEnabled: boolean;\n}\n\nexport const DEFAULT_VIBE_FEATURE_CATALOG: readonly VibeFeatureDefinition[] = [\n { id: 'git', label: 'Git', defaultEnabled: true },\n { id: 'sessions', label: 'Sessions', defaultEnabled: true },\n { id: 'browserEditor', label: 'Browser Editor', defaultEnabled: true },\n { id: 'notes', label: 'Notes', defaultEnabled: true },\n { id: 'docs', label: 'Docs', defaultEnabled: true },\n { id: 'scorecard', label: 'Scorecard', defaultEnabled: true },\n { id: 'catalogs', label: 'Catalogs', defaultEnabled: true },\n { id: 'graphqlPlayground', label: 'GraphQL Playground', defaultEnabled: true },\n { id: 'gitops', label: 'GitOps', defaultEnabled: true },\n { id: 'related', label: 'Related', defaultEnabled: true },\n { id: 'costManagement', label: 'Cost Management', defaultEnabled: false },\n] as const;\n\n/**\n * Determine if a feature is enabled for a vibe.\n *\n * Resolution order:\n * 1. Server-provided `effectiveFeatureFlags` (already merged backend-side)\n * 2. Stored `featureFlags` overrides\n * 3. Catalog `defaultEnabled`\n * 4. `true` (unknown ids fail open so adding a new tab does not require a\n * backend deploy first)\n */\nexport function isVibeFeatureEnabled(\n vibe:\n | {\n featureFlags?: Record<string, unknown> | null;\n effectiveFeatureFlags?: Record<string, unknown> | null;\n }\n | null\n | undefined,\n featureId: string,\n catalog: readonly VibeFeatureDefinition[] = DEFAULT_VIBE_FEATURE_CATALOG\n): boolean {\n if (!vibe) {\n const def = catalog.find((f) => f.id === featureId);\n return def ? def.defaultEnabled : true;\n }\n\n const effective = vibe.effectiveFeatureFlags;\n if (effective && typeof effective === 'object' && featureId in effective) {\n const value = (effective as Record<string, unknown>)[featureId];\n if (typeof value === 'boolean') {\n return value;\n }\n }\n\n const stored = vibe.featureFlags;\n if (stored && typeof stored === 'object' && featureId in stored) {\n const value = (stored as Record<string, unknown>)[featureId];\n if (typeof value === 'boolean') {\n return value;\n }\n }\n\n const def = catalog.find((f) => f.id === featureId);\n return def ? def.defaultEnabled : true;\n}\n"],"mappings":";AAeA,IAAa,IAAiE;CAC5E;EAAE,IAAI;EAAO,OAAO;EAAO,gBAAgB;EAAM;CACjD;EAAE,IAAI;EAAY,OAAO;EAAY,gBAAgB;EAAM;CAC3D;EAAE,IAAI;EAAiB,OAAO;EAAkB,gBAAgB;EAAM;CACtE;EAAE,IAAI;EAAS,OAAO;EAAS,gBAAgB;EAAM;CACrD;EAAE,IAAI;EAAQ,OAAO;EAAQ,gBAAgB;EAAM;CACnD;EAAE,IAAI;EAAa,OAAO;EAAa,gBAAgB;EAAM;CAC7D;EAAE,IAAI;EAAY,OAAO;EAAY,gBAAgB;EAAM;CAC3D;EAAE,IAAI;EAAqB,OAAO;EAAsB,gBAAgB;EAAM;CAC9E;EAAE,IAAI;EAAU,OAAO;EAAU,gBAAgB;EAAM;CACvD;EAAE,IAAI;EAAW,OAAO;EAAW,gBAAgB;EAAM;CACzD;EAAE,IAAI;EAAkB,OAAO;EAAmB,gBAAgB;EAAO;CAC1E;AAYD,SAAgB,EACd,GAOA,GACA,IAA4C,GACnC;AACT,KAAI,CAAC,GAAM;EACT,IAAM,IAAM,EAAQ,MAAM,MAAM,EAAE,OAAO,EAAU;AACnD,SAAO,IAAM,EAAI,iBAAiB;;CAGpC,IAAM,IAAY,EAAK;AACvB,KAAI,KAAa,OAAO,KAAc,YAAY,KAAa,GAAW;EACxE,IAAM,IAAS,EAAsC;AACrD,MAAI,OAAO,KAAU,UACnB,QAAO;;CAIX,IAAM,IAAS,EAAK;AACpB,KAAI,KAAU,OAAO,KAAW,YAAY,KAAa,GAAQ;EAC/D,IAAM,IAAS,EAAmC;AAClD,MAAI,OAAO,KAAU,UACnB,QAAO;;CAIX,IAAM,IAAM,EAAQ,MAAM,MAAM,EAAE,OAAO,EAAU;AACnD,QAAO,IAAM,EAAI,iBAAiB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CombinedGraphQLErrors.js","names":[],"sources":["../../../../../node_modules/@apollo/client/errors/CombinedGraphQLErrors.js"],"sourcesContent":["import { brand, isBranded } from \"./utils.js\";\nfunction defaultFormatMessage(errors) {\n return (errors\n // Handle non-spec-compliant servers: See #1185\n .filter((e) => e)\n .map((e) => e.message || \"Error message not found.\")\n .join(\"\\n\"));\n}\n/**\n * Represents the combined list of GraphQL errors returned from the server in a\n * GraphQL response. This error type is used when your GraphQL operation returns\n * errors in the `errors` field of the response.\n *\n * @remarks\n *\n * When your GraphQL operation encounters errors on the server side (such as\n * resolver errors, validation errors, or syntax errors), the server returns\n * these errors in the `errors` array of the GraphQL response. Apollo Client\n * wraps these errors in a `CombinedGraphQLErrors` object, which provides access\n * to the individual errors while maintaining additional context about the\n * response.\n *\n * @example\n *\n * ```ts\n * import { CombinedGraphQLErrors } from \"@apollo/client/errors\";\n *\n * // Check if an error is a CombinedGraphQLErrors object\n * if (CombinedGraphQLErrors.is(error)) {\n * // Access individual GraphQL errors\n * error.errors.forEach((graphQLError) => {\n * console.log(graphQLError.message);\n * console.log(graphQLError.path);\n * console.log(graphQLError.locations);\n * });\n *\n * // Access the original GraphQL result\n * console.log(error.result);\n * }\n * ```\n */\nexport class CombinedGraphQLErrors extends Error {\n /**\n * A method that determines whether an error is a `CombinedGraphQLErrors`\n * object. This method enables TypeScript to narrow the error type.\n * \n * @example\n * \n * ```ts\n * if (CombinedGraphQLErrors.is(error)) {\n * // TypeScript now knows `error` is a `CombinedGraphQLErrors` object\n * console.log(error.errors);\n * }\n * ```\n */\n static is(error) {\n return isBranded(error, \"CombinedGraphQLErrors\");\n }\n /**\n * A function that formats the error message used for the error's `message`\n * property. Override this method to provide your own formatting.\n * \n * @remarks\n * \n * The `formatMessage` function is called by the `CombinedGraphQLErrors`\n * constructor to provide a formatted message as the `message` property of the\n * `CombinedGraphQLErrors` object. Follow the [\"Providing a custom message\n * formatter\"](https://www.apollographql.com/docs/react/api/errors/CombinedGraphQLErrors#providing-a-custom-message-formatter) guide to learn how to modify the message format.\n * \n * @param errors - The array of GraphQL errors returned from the server in\n * the `errors` field of the response.\n * @param options - Additional context that could be useful when formatting\n * the message.\n */\n static formatMessage = defaultFormatMessage;\n /**\n * The raw list of GraphQL errors returned by the `errors` field in the GraphQL response.\n */\n errors;\n /**\n * Partial data returned in the `data` field of the GraphQL response.\n */\n data;\n /**\n * Extensions returned by the `extensions` field in the GraphQL response.\n */\n extensions;\n constructor(result, errors = result.errors || []) {\n super(CombinedGraphQLErrors.formatMessage(errors, {\n result,\n defaultFormatMessage,\n }));\n this.errors = errors;\n this.data = result.data;\n this.extensions = result.extensions;\n this.name = \"CombinedGraphQLErrors\";\n brand(this);\n Object.setPrototypeOf(this, CombinedGraphQLErrors.prototype);\n }\n}\n//# sourceMappingURL=CombinedGraphQLErrors.js.map\n"],"x_google_ignoreList":[0],"mappings":";;AACA,SAAS,EAAqB,GAAQ;AAClC,QAAQ,EAEH,QAAQ,MAAM,EAAE,CAChB,KAAK,MAAM,EAAE,WAAW,2BAA2B,CACnD,KAAK,KAAK;;AAmCnB,IAAa,IAAb,MAAa,UAA8B,MAAM;CAc7C,OAAO,GAAG,GAAO;AACb,SAAO,EAAU,GAAO,wBAAwB;;CAkBpD,OAAO,gBAAgB;CAIvB;CAIA;CAIA;CACA,YAAY,GAAQ,IAAS,EAAO,UAAU,EAAE,EAAE;AAU9C,EATA,MAAM,EAAsB,cAAc,GAAQ;GAC9C;GACA;GACH,CAAC,CAAC,EACH,KAAK,SAAS,GACd,KAAK,OAAO,EAAO,MACnB,KAAK,aAAa,EAAO,YACzB,KAAK,OAAO,yBACZ,EAAM,KAAK,EACX,OAAO,eAAe,MAAM,EAAsB,UAAU"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ServerError.js","names":[],"sources":["../../../../../node_modules/@apollo/client/errors/ServerError.js"],"sourcesContent":["import { brand, isBranded } from \"./utils.js\";\n/**\n * Represents an error when a non-200 HTTP status code is returned from the\n * server according to the [GraphQL Over HTTP specification](https://graphql.github.io/graphql-over-http/draft/). This error\n * contains the full server response, including status code and body text.\n *\n * @remarks\n *\n * This error occurs when your GraphQL server responds with an HTTP status code\n * other than 200 (such as 4xx or 5xx status codes) with any media type other\n * than [`application/graphql-response+json`](https://graphql.github.io/graphql-over-http/draft/#sec-application-graphql-response-json).\n *\n * Servers that return non-200 status codes with other media types are not\n * guaranteed to contain a well-formed GraphQL response and may indicate issues\n * at the HTTP level, such as authentication failures, server unavailability,\n * or other HTTP-level problems.\n *\n * @example\n *\n * ```ts\n * import { ServerError } from \"@apollo/client/errors\";\n *\n * // Check if an error is a ServerError instance\n * if (ServerError.is(error)) {\n * console.log(`Server returned status: ${error.statusCode}`);\n * console.log(`Response body: ${error.bodyText}`);\n *\n * // Handle specific status codes\n * if (error.statusCode === 401) {\n * // Handle unauthorized access\n * }\n * }\n * ```\n */\nexport class ServerError extends Error {\n /**\n * A method that determines whether an error is a `ServerError` object. This\n * method enables TypeScript to narrow the error type.\n *\n * @example\n *\n * ```ts\n * if (ServerError.is(error)) {\n * // TypeScript now knows `error` is a ServerError object\n * console.log(error.errors);\n * }\n * ```\n */\n static is(error) {\n return isBranded(error, \"ServerError\");\n }\n /**\n * The raw [`Response`](https://developer.mozilla.org/en-US/docs/Web/API/Response) object provided by the [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API).\n */\n response;\n /**\n * The status code returned by the server in the response. This is provided as\n * a shortcut for `response.status`.\n */\n statusCode;\n /**\n * The raw response body text.\n */\n bodyText;\n constructor(message, options) {\n super(message);\n this.name = \"ServerError\";\n this.response = options.response;\n this.statusCode = options.response.status;\n this.bodyText = options.bodyText;\n brand(this);\n Object.setPrototypeOf(this, ServerError.prototype);\n }\n}\n//# sourceMappingURL=ServerError.js.map\n"],"x_google_ignoreList":[0],"mappings":";;AAkCA,IAAa,IAAb,MAAa,UAAoB,MAAM;CAcnC,OAAO,GAAG,GAAO;AACb,SAAO,EAAU,GAAO,cAAc;;CAK1C;CAKA;CAIA;CACA,YAAY,GAAS,GAAS;AAO1B,EANA,MAAM,EAAQ,EACd,KAAK,OAAO,eACZ,KAAK,WAAW,EAAQ,UACxB,KAAK,aAAa,EAAQ,SAAS,QACnC,KAAK,WAAW,EAAQ,UACxB,EAAM,KAAK,EACX,OAAO,eAAe,MAAM,EAAY,UAAU"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ServerParseError.js","names":[],"sources":["../../../../../node_modules/@apollo/client/errors/ServerParseError.js"],"sourcesContent":["import { brand, isBranded } from \"./utils.js\";\n/**\n * Represents a failure to parse the response as JSON from the server. This\n * error helps debug issues where the server returns malformed JSON or non-JSON\n * content.\n *\n * @remarks\n *\n * This error occurs when Apollo Client receives a response from the server but\n * cannot parse it as valid JSON. This typically happens when the server returns\n * HTML error pages, plain text responses, or malformed JSON instead of the\n * expected GraphQL JSON response format.\n *\n * @example\n *\n * ```ts\n * import { ServerParseError } from \"@apollo/client/errors\";\n *\n * // Check if an error is a ServerParseError instance\n * if (ServerParseError.is(error)) {\n * console.log(`Failed to parse response from ${error.response.url}`);\n * console.log(`Raw response: ${error.bodyText}`);\n * console.log(`Status code: ${error.statusCode}`);\n *\n * // Access the original parse error\n * console.log(`Parse error: ${error.cause}`);\n * }\n * ```\n */\nexport class ServerParseError extends Error {\n /**\n * A method that determines whether an error is a `ServerParseError`\n * object. This method enables TypeScript to narrow the error type.\n *\n * @example\n *\n * ```ts\n * if (ServerParseError.is(error)) {\n * // TypeScript now knows `error` is a ServerParseError object\n * console.log(error.statusCode);\n * }\n * ```\n */\n static is(error) {\n return isBranded(error, \"ServerParseError\");\n }\n /**\n * The raw [`Response`](https://developer.mozilla.org/en-US/docs/Web/API/Response) object provided by the [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API).\n */\n response;\n /**\n * The status code returned by the server in the response. This is provided\n * as a shortcut for `response.status`.\n */\n statusCode;\n /**\n * The raw response body text.\n */\n bodyText;\n constructor(originalParseError, options) {\n super(originalParseError instanceof Error ?\n originalParseError.message\n : \"Could not parse server response\", { cause: originalParseError });\n this.name = \"ServerParseError\";\n this.response = options.response;\n this.statusCode = options.response.status;\n this.bodyText = options.bodyText;\n brand(this);\n Object.setPrototypeOf(this, ServerParseError.prototype);\n }\n}\n//# sourceMappingURL=ServerParseError.js.map\n"],"x_google_ignoreList":[0],"mappings":";;AA6BA,IAAa,IAAb,MAAa,UAAyB,MAAM;CAcxC,OAAO,GAAG,GAAO;AACb,SAAO,EAAU,GAAO,mBAAmB;;CAK/C;CAKA;CAIA;CACA,YAAY,GAAoB,GAAS;AASrC,EARA,MAAM,aAA8B,QAChC,EAAmB,UACjB,mCAAmC,EAAE,OAAO,GAAoB,CAAC,EACvE,KAAK,OAAO,oBACZ,KAAK,WAAW,EAAQ,UACxB,KAAK,aAAa,EAAQ,SAAS,QACnC,KAAK,WAAW,EAAQ,UACxB,EAAM,KAAK,EACX,OAAO,eAAe,MAAM,EAAiB,UAAU"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","names":[],"sources":["../../../../../node_modules/@apollo/client/errors/utils.js"],"sourcesContent":["export function isBranded(error, name) {\n return (typeof error === \"object\" &&\n error !== null &&\n error[Symbol.for(\"apollo.error\")] === name);\n}\nexport function brand(error) {\n Object.defineProperty(error, Symbol.for(\"apollo.error\"), {\n value: error.name,\n enumerable: false,\n writable: false,\n configurable: false,\n });\n}\n//# sourceMappingURL=utils.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAgB,EAAU,GAAO,GAAM;AACnC,QAAQ,OAAO,KAAU,cACrB,KACA,EAAM,OAAO,IAAI,eAAe,MAAM;;AAE9C,SAAgB,EAAM,GAAO;AACzB,QAAO,eAAe,GAAO,OAAO,IAAI,eAAe,EAAE;EACrD,OAAO,EAAM;EACb,YAAY;EACZ,UAAU;EACV,cAAc;EACjB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"batchLink.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/link/batch/batchLink.js"],"sourcesContent":["import { EMPTY } from \"rxjs\";\nimport { ApolloLink } from \"@apollo/client/link\";\nimport { OperationBatcher } from \"./batching.js\";\n/**\n * `BatchLink` is a non-terminating link that provides the core batching\n * functionality for grouping multiple GraphQL operations into batches based\n * on configurable timing and key-based grouping strategies. It serves as a base\n * link to `BatchHttpLink`.\n *\n * @remarks\n *\n * > [!NOTE]\n * > You will not generally use `BatchLink` on your own unless you need to\n * > provide batching capabilities to third-party terminating links. Prefer\n * > using `BatchHttpLink` to batch GraphQL operations over HTTP.\n *\n * @example\n *\n * ```ts\n * import { BatchLink } from \"@apollo/client/link/batch\";\n *\n * const link = new BatchLink({\n * batchInterval: 20,\n * batchMax: 5,\n * batchHandler: (operations, forwards) => {\n * // Custom logic to process batch of operations\n * return handleBatch(operations, forwards);\n * },\n * });\n * ```\n */\nexport class BatchLink extends ApolloLink {\n batcher;\n constructor(options) {\n super();\n const { batchDebounce, batchInterval = 10, batchMax = 0, batchHandler = () => EMPTY, batchKey = () => \"\", } = options || {};\n this.batcher = new OperationBatcher({\n batchDebounce,\n batchInterval,\n batchMax,\n batchHandler,\n batchKey,\n });\n }\n request(operation, forward) {\n return this.batcher.enqueueRequest({ operation, forward });\n }\n}\n//# sourceMappingURL=batchLink.js.map"],"x_google_ignoreList":[0],"mappings":";;;;AA+BA,IAAa,IAAb,cAA+B,EAAW;CACtC;CACA,YAAY,GAAS;AACjB,SAAO;EACP,IAAM,EAAE,kBAAe,mBAAgB,IAAI,cAAW,GAAG,wBAAqB,GAAO,oBAAiB,OAAQ,KAAW,EAAE;AAC3H,OAAK,UAAU,IAAI,EAAiB;GAChC;GACA;GACA;GACA;GACA;GACH,CAAC;;CAEN,QAAQ,GAAW,GAAS;AACxB,SAAO,KAAK,QAAQ,eAAe;GAAE;GAAW;GAAS,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"batching.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/link/batch/batching.js"],"sourcesContent":["import { Observable } from \"rxjs\";\n// QueryBatcher doesn't fire requests immediately. Requests that were enqueued within\n// a certain amount of time (configurable through `batchInterval`) will be batched together\n// into one query.\nexport class OperationBatcher {\n // Queue on which the QueryBatcher will operate on a per-tick basis.\n batchesByKey = new Map();\n scheduledBatchTimerByKey = new Map();\n batchDebounce;\n batchInterval;\n batchMax;\n //This function is called to the queries in the queue to the server.\n batchHandler;\n batchKey;\n constructor({ batchDebounce, batchInterval, batchMax, batchHandler, batchKey, }) {\n this.batchDebounce = batchDebounce;\n this.batchInterval = batchInterval;\n this.batchMax = batchMax || 0;\n this.batchHandler = batchHandler;\n this.batchKey = batchKey || (() => \"\");\n }\n enqueueRequest(request) {\n const requestCopy = {\n ...request,\n next: [],\n error: [],\n complete: [],\n subscribers: new Set(),\n };\n const key = this.batchKey(request.operation);\n if (!requestCopy.observable) {\n requestCopy.observable = new Observable((observer) => {\n let batch = this.batchesByKey.get(key);\n if (!batch)\n this.batchesByKey.set(key, (batch = new Set()));\n // These booleans seem to me (@benjamn) like they might always be the\n // same (and thus we could do with only one of them), but I'm not 100%\n // sure about that.\n const isFirstEnqueuedRequest = batch.size === 0;\n const isFirstSubscriber = requestCopy.subscribers.size === 0;\n requestCopy.subscribers.add(observer);\n if (isFirstSubscriber) {\n batch.add(requestCopy);\n }\n // called for each subscriber, so need to save all listeners (next, error, complete)\n if (observer.next) {\n requestCopy.next.push(observer.next.bind(observer));\n }\n if (observer.error) {\n requestCopy.error.push(observer.error.bind(observer));\n }\n if (observer.complete) {\n requestCopy.complete.push(observer.complete.bind(observer));\n }\n // The first enqueued request triggers the queue consumption after `batchInterval` milliseconds.\n if (isFirstEnqueuedRequest || this.batchDebounce) {\n this.scheduleQueueConsumption(key);\n }\n // When amount of requests reaches `batchMax`, trigger the queue consumption without waiting on the `batchInterval`.\n if (batch.size === this.batchMax) {\n this.consumeQueue(key);\n }\n return () => {\n // If this is last subscriber for this request, remove request from queue\n if (requestCopy.subscribers.delete(observer) &&\n requestCopy.subscribers.size < 1) {\n // If this is last request from queue, remove queue entirely\n if (batch.delete(requestCopy) && batch.size < 1) {\n this.consumeQueue(key);\n // If queue was in flight, cancel it\n batch.subscription?.unsubscribe();\n }\n }\n };\n });\n }\n return requestCopy.observable;\n }\n // Consumes the queue.\n // Returns a list of promises (one for each query).\n consumeQueue(key = \"\") {\n const batch = this.batchesByKey.get(key);\n // Delete this batch and process it below.\n this.batchesByKey.delete(key);\n if (!batch || !batch.size) {\n // No requests to be processed.\n return;\n }\n const operations = [];\n const forwards = [];\n const observables = [];\n const nexts = [];\n const errors = [];\n const completes = [];\n // Even though batch is a Set, it preserves the order of first insertion\n // when iterating (per ECMAScript specification), so these requests will be\n // handled in the order they were enqueued (minus any deleted ones).\n batch.forEach((request) => {\n operations.push(request.operation);\n forwards.push(request.forward);\n observables.push(request.observable);\n nexts.push(request.next);\n errors.push(request.error);\n completes.push(request.complete);\n });\n const batchedObservable = this.batchHandler(operations, forwards);\n const onError = (error) => {\n //each callback list in batch\n errors.forEach((rejecters) => {\n if (rejecters) {\n //each subscriber to request\n rejecters.forEach((e) => e(error));\n }\n });\n };\n batch.subscription = batchedObservable.subscribe({\n next: (results) => {\n if (!Array.isArray(results)) {\n results = [results];\n }\n if (nexts.length !== results.length) {\n const error = new Error(`server returned results with length ${results.length}, expected length of ${nexts.length}`);\n error.result = results;\n return onError(error);\n }\n results.forEach((result, index) => {\n if (nexts[index]) {\n nexts[index].forEach((next) => next(result));\n }\n });\n },\n error: onError,\n complete: () => {\n completes.forEach((complete) => {\n if (complete) {\n //each subscriber to request\n complete.forEach((c) => c());\n }\n });\n },\n });\n return observables;\n }\n scheduleQueueConsumption(key) {\n clearTimeout(this.scheduledBatchTimerByKey.get(key));\n this.scheduledBatchTimerByKey.set(key, setTimeout(() => {\n this.consumeQueue(key);\n this.scheduledBatchTimerByKey.delete(key);\n }, this.batchInterval));\n }\n}\n//# sourceMappingURL=batching.js.map"],"x_google_ignoreList":[0],"mappings":"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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseBatchHttpLink.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/link/batch-http/BaseBatchHttpLink.js"],"sourcesContent":["import { Observable, throwError } from \"rxjs\";\nimport { ApolloLink } from \"@apollo/client/link\";\nimport { BatchLink } from \"@apollo/client/link/batch\";\nimport { checkFetcher, defaultPrinter, fallbackHttpConfig, parseAndCheckHttpResponse, selectHttpOptionsAndBodyInternal, selectURI, } from \"@apollo/client/link/http\";\nimport { filterOperationVariables } from \"@apollo/client/link/utils\";\nimport { __DEV__ } from \"@apollo/client/utilities/environment\";\nimport { compact } from \"@apollo/client/utilities/internal\";\nimport { maybe } from \"@apollo/client/utilities/internal/globals\";\nconst backupFetch = maybe(() => fetch);\n/**\n * `BaseBatchHttpLink` is a terminating link that batches array of individual\n * GraphQL operations into a single HTTP request that's sent to a single GraphQL\n * endpoint. It serves as a base link to `BatchHttpLink`.\n *\n * @remarks\n *\n * > [!NOTE]\n * > Prefer using `BatchHttpLink` over `BaseBatchHttpLink`. Use\n * > `BaseBatchHttpLink` when you need to disable client awareness features and\n * > would like to tree-shake the implementation of `ClientAwarenessLink` out\n * > of your app bundle.\n *\n * @example\n *\n * ```ts\n * import { BaseBatchHttpLink } from \"@apollo/client/link/batch-http\";\n *\n * const link = new BaseBatchHttpLink({\n * uri: \"http://localhost:4000/graphql\",\n * batchMax: 5, // No more than 5 operations per batch\n * batchInterval: 20, // Wait no more than 20ms after first batched operation\n * });\n * ```\n */\nexport class BaseBatchHttpLink extends ApolloLink {\n batchDebounce;\n batchInterval;\n batchMax;\n batcher;\n constructor(options = {}) {\n super();\n let { uri = \"/graphql\", \n // use default global fetch if nothing is passed in\n fetch: preferredFetch, print = defaultPrinter, includeExtensions, preserveHeaderCase, batchInterval, batchDebounce, batchMax, batchKey, includeUnusedVariables = false, ...requestOptions } = options;\n if (__DEV__) {\n // Make sure at least one of preferredFetch, window.fetch, or backupFetch\n // is defined, so requests won't fail at runtime.\n checkFetcher(preferredFetch || backupFetch);\n }\n const linkConfig = {\n http: compact({ includeExtensions, preserveHeaderCase }),\n options: requestOptions.fetchOptions,\n credentials: requestOptions.credentials,\n headers: requestOptions.headers,\n };\n this.batchDebounce = batchDebounce;\n this.batchInterval = batchInterval || 10;\n this.batchMax = batchMax || 10;\n const batchHandler = (operations) => {\n const chosenURI = selectURI(operations[0], uri);\n const context = operations[0].getContext();\n const contextConfig = {\n http: context.http,\n options: context.fetchOptions,\n credentials: context.credentials,\n headers: context.headers,\n };\n //uses fallback, link, and then context to build options\n const optsAndBody = operations.map((operation) => {\n const result = selectHttpOptionsAndBodyInternal(operation, print, fallbackHttpConfig, linkConfig, contextConfig);\n if (result.body.variables && !includeUnusedVariables) {\n result.body.variables = filterOperationVariables(result.body.variables, operation.query);\n }\n return result;\n });\n const loadedBody = optsAndBody.map(({ body }) => body);\n const options = optsAndBody[0].options;\n // There's no spec for using GET with batches.\n if (options.method === \"GET\") {\n return throwError(() => new Error(\"apollo-link-batch-http does not support GET requests\"));\n }\n try {\n options.body = JSON.stringify(loadedBody);\n }\n catch (parseError) {\n return throwError(() => parseError);\n }\n let controller;\n if (!options.signal && typeof AbortController !== \"undefined\") {\n controller = new AbortController();\n options.signal = controller.signal;\n }\n return new Observable((observer) => {\n // Prefer BatchHttpLink.Options.fetch (preferredFetch) if provided, and\n // otherwise fall back to the *current* global window.fetch function\n // (see issue #7832), or (if all else fails) the backupFetch function we\n // saved when this module was first evaluated. This last option protects\n // against the removal of window.fetch, which is unlikely but not\n // impossible.\n const currentFetch = preferredFetch || maybe(() => fetch) || backupFetch;\n currentFetch(chosenURI, options)\n .then((response) => {\n // Make the raw response available in the context.\n operations.forEach((operation) => operation.setContext({ response }));\n return response;\n })\n .then(parseAndCheckHttpResponse(operations))\n .then((result) => {\n controller = undefined;\n // we have data and can send it to back up the link chain\n observer.next(result);\n observer.complete();\n return result;\n })\n .catch((err) => {\n controller = undefined;\n observer.error(err);\n });\n return () => {\n // XXX support canceling this request\n // https://developers.google.com/web/updates/2017/09/abortable-fetch\n if (controller)\n controller.abort();\n };\n });\n };\n batchKey =\n batchKey ||\n ((operation) => {\n const context = operation.getContext();\n const contextConfig = {\n http: context.http,\n options: context.fetchOptions,\n credentials: context.credentials,\n headers: context.headers,\n };\n //may throw error if config not serializable\n return selectURI(operation, uri) + JSON.stringify(contextConfig);\n });\n this.batcher = new BatchLink({\n batchDebounce: this.batchDebounce,\n batchInterval: this.batchInterval,\n batchMax: this.batchMax,\n batchKey,\n batchHandler,\n });\n }\n request(operation, forward) {\n return this.batcher.request(operation, forward);\n }\n}\n//# sourceMappingURL=BaseBatchHttpLink.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;AAQA,IAAM,IAAc,QAAY,MAAM,EA0BzB,IAAb,cAAuC,EAAW;CAC9C;CACA;CACA;CACA;CACA,YAAY,IAAU,EAAE,EAAE;AACtB,SAAO;EACP,IAAI,EAAE,SAAM,YAEZ,OAAO,GAAgB,WAAQ,GAAgB,sBAAmB,uBAAoB,kBAAe,kBAAe,aAAU,aAAU,4BAAyB,IAAO,GAAG,MAAmB,GAMxL,IAAa;GACf,MAAM,EAAQ;IAAE;IAAmB;IAAoB,CAAC;GACxD,SAAS,EAAe;GACxB,aAAa,EAAe;GAC5B,SAAS,EAAe;GAC3B;AAqFD,EApFA,KAAK,gBAAgB,GACrB,KAAK,gBAAgB,KAAiB,IACtC,KAAK,WAAW,KAAY,IAqE5B,QAEU,MAAc;GACZ,IAAM,IAAU,EAAU,YAAY,EAChC,IAAgB;IAClB,MAAM,EAAQ;IACd,SAAS,EAAQ;IACjB,aAAa,EAAQ;IACrB,SAAS,EAAQ;IACpB;AAED,UAAO,EAAU,GAAW,EAAI,GAAG,KAAK,UAAU,EAAc;MAE5E,KAAK,UAAU,IAAI,EAAU;GACzB,eAAe,KAAK;GACpB,eAAe,KAAK;GACpB,UAAU,KAAK;GACf;GACA,eAtFkB,MAAe;IACjC,IAAM,IAAY,EAAU,EAAW,IAAI,EAAI,EACzC,IAAU,EAAW,GAAG,YAAY,EACpC,IAAgB;KAClB,MAAM,EAAQ;KACd,SAAS,EAAQ;KACjB,aAAa,EAAQ;KACrB,SAAS,EAAQ;KACpB,EAEK,IAAc,EAAW,KAAK,MAAc;KAC9C,IAAM,IAAS,EAAiC,GAAW,GAAO,GAAoB,GAAY,EAAc;AAIhH,YAHI,EAAO,KAAK,aAAa,CAAC,MAC1B,EAAO,KAAK,YAAY,EAAyB,EAAO,KAAK,WAAW,EAAU,MAAM,GAErF;MACT,EACI,IAAa,EAAY,KAAK,EAAE,cAAW,EAAK,EAChD,IAAU,EAAY,GAAG;AAE/B,QAAI,EAAQ,WAAW,MACnB,QAAO,QAAiB,gBAAI,MAAM,uDAAuD,CAAC;AAE9F,QAAI;AACA,OAAQ,OAAO,KAAK,UAAU,EAAW;aAEtC,GAAY;AACf,YAAO,QAAiB,EAAW;;IAEvC,IAAI;AAKJ,WAJI,CAAC,EAAQ,UAAU,OAAO,kBAAoB,QAC9C,IAAa,IAAI,iBAAiB,EAClC,EAAQ,SAAS,EAAW,SAEzB,IAAI,GAAY,QAOE,KAAkB,QAAY,MAAM,IAAI,GAChD,GAAW,EAAQ,CAC3B,MAAM,OAEP,EAAW,SAAS,MAAc,EAAU,WAAW,EAAE,aAAU,CAAC,CAAC,EAC9D,GACT,CACG,KAAK,EAA0B,EAAW,CAAC,CAC3C,MAAM,OACP,IAAa,KAAA,GAEb,EAAS,KAAK,EAAO,EACrB,EAAS,UAAU,EACZ,GACT,CACG,OAAO,MAAQ;AAEhB,KADA,IAAa,KAAA,GACb,EAAS,MAAM,EAAI;MACrB,QACW;AAGT,KAAI,KACA,EAAW,OAAO;OAE5B;;GAqBL,CAAC;;CAEN,QAAQ,GAAW,GAAS;AACxB,SAAO,KAAK,QAAQ,QAAQ,GAAW,EAAQ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"batchHttpLink.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/link/batch-http/batchHttpLink.js"],"sourcesContent":["import { ApolloLink } from \"@apollo/client/link\";\nimport { ClientAwarenessLink } from \"@apollo/client/link/client-awareness\";\nimport { BaseBatchHttpLink } from \"./BaseBatchHttpLink.js\";\n/**\n * `BatchHttpLink` is a terminating link that batches array of individual\n * GraphQL operations into a single HTTP request that's sent to a single GraphQL\n * endpoint. It combines the functionality of `BaseBatchHttpLink` and\n * `ClientAwarenessLink` into a single link.\n *\n * @remarks\n *\n * If you use `BatchHttpLink` instead of `HttpLink` as your terminating link,\n * Apollo Client automatically batches executed GraphQL operations and transmits\n * them to your server according to the batching options you provide.\n *\n * @example\n *\n * ```ts\n * import { BatchHttpLink } from \"@apollo/client/link/batch-http\";\n *\n * const link = new BatchHttpLink({\n * uri: \"http://localhost:4000/graphql\",\n * batchMax: 5, // No more than 5 operations per batch\n * batchInterval: 20, // Wait no more than 20ms after first batched operation\n * });\n * ```\n */\nexport class BatchHttpLink extends ApolloLink {\n constructor(options = {}) {\n const { left, right, request } = ApolloLink.from([\n new ClientAwarenessLink(options),\n new BaseBatchHttpLink(options),\n ]);\n super(request);\n Object.assign(this, { left, right });\n }\n}\n//# sourceMappingURL=batchHttpLink.js.map"],"x_google_ignoreList":[0],"mappings":";;;;AA2BA,IAAa,IAAb,cAAmC,EAAW;CAC1C,YAAY,IAAU,EAAE,EAAE;EACtB,IAAM,EAAE,SAAM,UAAO,eAAY,EAAW,KAAK,CAC7C,IAAI,EAAoB,EAAQ,EAChC,IAAI,EAAkB,EAAQ,CACjC,CAAC;AAEF,EADA,MAAM,EAAQ,EACd,OAAO,OAAO,MAAM;GAAE;GAAM;GAAO,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClientAwarenessLink.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/link/client-awareness/ClientAwarenessLink.js"],"sourcesContent":["import { ApolloLink } from \"@apollo/client/link\";\nimport { compact } from \"@apollo/client/utilities/internal\";\n/**\n * `ClientAwarenessLink` provides support for providing client awareness\n * features.\n *\n * @remarks\n *\n * Client awareness adds identifying information about the client to HTTP\n * requests for use with metrics reporting tools, such as [Apollo GraphOS](https://apollographql.com/docs/graphos/platform).\n * It is included in the functionality of [`HttpLink`](https://apollographql.com/docs/react/api/link/apollo-link-http) by default.\n *\n * Client awareness distinguishes between user-provided client awareness\n * (provided by the `clientAwareness` option) and enhanced client awareness\n * (provided by the `enhancedClientAwareness` option). User-provided client\n * awareness enables you to set a customized client name and version for\n * identification in metrics reporting tools. Enhanced client awareness enables\n * the identification of the Apollo Client package name and version.\n *\n * @example\n *\n * ```ts\n * import { ClientAwarenessLink } from \"@apollo/client/link/client-awareness\";\n *\n * const link = new ClientAwarenessLink({\n * clientAwareness: {\n * name: \"My Client\",\n * version: \"1\",\n * },\n * enhancedClientAwareness: {\n * transport: \"extensions\",\n * },\n * });\n * ```\n */\nexport class ClientAwarenessLink extends ApolloLink {\n constructor(options = {}) {\n super((operation, forward) => {\n const client = operation.client;\n const clientOptions = client[\"queryManager\"].clientOptions;\n const context = operation.getContext();\n {\n const { name, version, transport = \"headers\", } = compact({}, clientOptions.clientAwareness, options.clientAwareness, context.clientAwareness);\n if (transport === \"headers\") {\n operation.setContext(({ headers }) => {\n return {\n headers: compact(\n // setting these first so that they can be overridden by user-provided headers\n {\n \"apollographql-client-name\": name,\n \"apollographql-client-version\": version,\n }, headers),\n };\n });\n }\n }\n {\n const { transport = \"extensions\" } = compact({}, clientOptions.enhancedClientAwareness, options.enhancedClientAwareness);\n if (transport === \"extensions\") {\n operation.extensions = compact(\n // setting these first so that it can be overridden by user-provided extensions\n {\n clientLibrary: {\n name: \"@apollo/client\",\n version: client.version,\n },\n }, operation.extensions);\n }\n if (transport === \"headers\") {\n operation.setContext(({ headers }) => {\n return {\n headers: compact(\n // setting these first so that they can be overridden by user-provided headers\n {\n \"apollographql-library-name\": \"@apollo/client\",\n \"apollographql-library-version\": client.version,\n }, headers),\n };\n });\n }\n }\n return forward(operation);\n });\n }\n}\n//# sourceMappingURL=ClientAwarenessLink.js.map"],"x_google_ignoreList":[0],"mappings":";;;AAmCA,IAAa,IAAb,cAAyC,EAAW;CAChD,YAAY,IAAU,EAAE,EAAE;AACtB,SAAO,GAAW,MAAY;GAC1B,IAAM,IAAS,EAAU,QACnB,IAAgB,EAAO,aAAgB,eACvC,IAAU,EAAU,YAAY;GACtC;IACI,IAAM,EAAE,SAAM,YAAS,eAAY,cAAe,EAAQ,EAAE,EAAE,EAAc,iBAAiB,EAAQ,iBAAiB,EAAQ,gBAAgB;AAC9I,IAAI,MAAc,aACd,EAAU,YAAY,EAAE,kBACb,EACH,SAAS,EAET;KACI,6BAA6B;KAC7B,gCAAgC;KACnC,EAAE,EAAQ,EACd,EACH;;GAGV;IACI,IAAM,EAAE,eAAY,iBAAiB,EAAQ,EAAE,EAAE,EAAc,yBAAyB,EAAQ,wBAAwB;AAWxH,IAVI,MAAc,iBACd,EAAU,aAAa,EAEvB,EACI,eAAe;KACX,MAAM;KACN,SAAS,EAAO;KACnB,EACJ,EAAE,EAAU,WAAW,GAExB,MAAc,aACd,EAAU,YAAY,EAAE,kBACb,EACH,SAAS,EAET;KACI,8BAA8B;KAC9B,iCAAiC,EAAO;KAC3C,EAAE,EAAQ,EACd,EACH;;AAGV,UAAO,EAAQ,EAAU;IAC3B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ApolloLink.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/link/core/ApolloLink.js"],"sourcesContent":["import { EMPTY } from \"rxjs\";\nimport { createOperation } from \"@apollo/client/link/utils\";\nimport { __DEV__ } from \"@apollo/client/utilities/environment\";\nimport { invariant, newInvariantError, } from \"@apollo/client/utilities/invariant\";\n/**\n * The base class for all links in Apollo Client. A link represents either a\n * self-contained modification to a GraphQL operation or a side effect (such as\n * logging).\n *\n * @remarks\n *\n * Links enable you to customize Apollo Client's request flow by composing\n * together different pieces of functionality into a chain of links. Each\n * link represents a specific capability, such as adding authentication headers,\n * retrying failed requests, batching operations, or sending requests to a\n * GraphQL server.\n *\n * Every link must define a request handler via its constructor or by extending\n * this class and implementing the `request` method.\n *\n * @example\n *\n * ```ts\n * import { ApolloLink } from \"@apollo/client\";\n *\n * const link = new ApolloLink((operation, forward) => {\n * console.log(\"Operation:\", operation.operationName);\n * return forward(operation);\n * });\n * ```\n */\nexport class ApolloLink {\n /**\n * Creates a link that completes immediately and does not emit a result.\n *\n * @example\n *\n * ```ts\n * const link = ApolloLink.empty();\n * ```\n */\n static empty() {\n return new ApolloLink(() => EMPTY);\n }\n /**\n * Composes multiple links into a single composed link that executes each\n * provided link in serial order.\n *\n * @example\n *\n * ```ts\n * import { from, HttpLink, ApolloLink } from \"@apollo/client\";\n * import { RetryLink } from \"@apollo/client/link/retry\";\n * import MyAuthLink from \"../auth\";\n *\n * const link = ApolloLink.from([\n * new RetryLink(),\n * new MyAuthLink(),\n * new HttpLink({ uri: \"http://localhost:4000/graphql\" }),\n * ]);\n * ```\n *\n * @param links - An array of `ApolloLink` instances or request handlers that\n * are executed in serial order.\n */\n static from(links) {\n if (links.length === 0)\n return ApolloLink.empty();\n const [first, ...rest] = links;\n return first.concat(...rest);\n }\n /**\n * Creates a link that conditionally routes a request to different links.\n *\n * @example\n *\n * ```ts\n * import { ApolloLink, HttpLink } from \"@apollo/client\";\n *\n * const link = ApolloLink.split(\n * (operation) => operation.getContext().version === 1,\n * new HttpLink({ uri: \"http://localhost:4000/v1/graphql\" }),\n * new HttpLink({ uri: \"http://localhost:4000/v2/graphql\" })\n * );\n * ```\n *\n * @param test - A predicate function that receives the current `operation`\n * and returns a boolean indicating which link to execute. Returning `true`\n * executes the `left` link. Returning `false` executes the `right` link.\n *\n * @param left - The link that executes when the `test` function returns\n * `true`.\n *\n * @param right - The link that executes when the `test` function returns\n * `false`. If the `right` link is not provided, the request is forwarded to\n * the next link in the chain.\n */\n static split(test, left, right = new ApolloLink((op, forward) => forward(op))) {\n const link = new ApolloLink((operation, forward) => {\n const result = test(operation);\n if (__DEV__) {\n if (typeof result !== \"boolean\") {\n __DEV__ && invariant.warn(63, result);\n }\n }\n return result ?\n left.request(operation, forward)\n : right.request(operation, forward);\n });\n return Object.assign(link, { left, right });\n }\n /**\n * Executes a GraphQL request against a link. The `execute` function begins\n * the request by calling the request handler of the link.\n *\n * @example\n *\n * ```ts\n * const observable = ApolloLink.execute(link, { query, variables }, { client });\n *\n * observable.subscribe({\n * next(value) {\n * console.log(\"Received\", value);\n * },\n * error(error) {\n * console.error(\"Oops got error\", error);\n * },\n * complete() {\n * console.log(\"Request complete\");\n * },\n * });\n * ```\n *\n * @param link - The `ApolloLink` instance to execute the request.\n *\n * @param request - The GraphQL request details, such as the `query` and\n * `variables`.\n *\n * @param context - The execution context for the request, such as the\n * `client` making the request.\n */\n static execute(link, request, context) {\n return link.request(createOperation(request, context), () => {\n if (__DEV__) {\n __DEV__ && invariant.warn(64);\n }\n return EMPTY;\n });\n }\n /**\n * Combines multiple links into a single composed link.\n *\n * @example\n *\n * ```ts\n * const link = ApolloLink.concat(firstLink, secondLink, thirdLink);\n * ```\n *\n * @param links - The links to concatenate into a single link. Each link will\n * execute in serial order.\n *\n * @deprecated Use `ApolloLink.from` instead. `ApolloLink.concat` will be\n * removed in a future major version.\n */\n static concat(...links) {\n return ApolloLink.from(links);\n }\n constructor(request) {\n if (request)\n this.request = request;\n }\n /**\n * Concatenates a link that conditionally routes a request to different links.\n *\n * @example\n *\n * ```ts\n * import { ApolloLink, HttpLink } from \"@apollo/client\";\n *\n * const previousLink = new ApolloLink((operation, forward) => {\n * // Handle the request\n *\n * return forward(operation);\n * });\n *\n * const link = previousLink.split(\n * (operation) => operation.getContext().version === 1,\n * new HttpLink({ uri: \"http://localhost:4000/v1/graphql\" }),\n * new HttpLink({ uri: \"http://localhost:4000/v2/graphql\" })\n * );\n * ```\n *\n * @param test - A predicate function that receives the current `operation`\n * and returns a boolean indicating which link to execute. Returning `true`\n * executes the `left` link. Returning `false` executes the `right` link.\n *\n * @param left - The link that executes when the `test` function returns\n * `true`.\n *\n * @param right - The link that executes when the `test` function returns\n * `false`. If the `right` link is not provided, the request is forwarded to\n * the next link in the chain.\n */\n split(test, left, right) {\n return this.concat(ApolloLink.split(test, left, right));\n }\n /**\n * Combines the link with other links into a single composed link.\n *\n * @example\n *\n * ```ts\n * import { ApolloLink, HttpLink } from \"@apollo/client\";\n *\n * const previousLink = new ApolloLink((operation, forward) => {\n * // Handle the request\n *\n * return forward(operation);\n * });\n *\n * const link = previousLink.concat(\n * link1,\n * link2,\n * new HttpLink({ uri: \"http://localhost:4000/graphql\" })\n * );\n * ```\n */\n concat(...links) {\n if (links.length === 0) {\n return this;\n }\n return links.reduce(this.combine.bind(this), this);\n }\n combine(left, right) {\n const link = new ApolloLink((operation, forward) => {\n return left.request(operation, (op) => right.request(op, forward));\n });\n return Object.assign(link, { left, right });\n }\n /**\n * Runs the request handler for the provided operation.\n *\n * > [!NOTE]\n * > This is called by the `ApolloLink.execute` function for you and should\n * > not be called directly. Prefer using `ApolloLink.execute` to make the\n * > request instead.\n */\n request(operation, forward) {\n throw newInvariantError(65);\n }\n /**\n * @internal\n * Used to iterate through all links that are concatenations or `split` links.\n * \n * @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.\n */\n left;\n /**\n * @internal\n * Used to iterate through all links that are concatenations or `split` links.\n * \n * @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.\n */\n right;\n}\n//# sourceMappingURL=ApolloLink.js.map\n"],"x_google_ignoreList":[0],"mappings":";;;;AA+BA,IAAa,IAAb,MAAa,EAAW;CAUpB,OAAO,QAAQ;AACX,SAAO,IAAI,QAAiB,EAAM;;CAuBtC,OAAO,KAAK,GAAO;AACf,MAAI,EAAM,WAAW,EACjB,QAAO,EAAW,OAAO;EAC7B,IAAM,CAAC,GAAO,GAAG,KAAQ;AACzB,SAAO,EAAM,OAAO,GAAG,EAAK;;CA4BhC,OAAO,MAAM,GAAM,GAAM,IAAQ,IAAI,GAAY,GAAI,MAAY,EAAQ,EAAG,CAAC,EAAE;EAC3E,IAAM,IAAO,IAAI,GAAY,GAAW,MACrB,EAAK,EAAU,GAO1B,EAAK,QAAQ,GAAW,EAAQ,GAC9B,EAAM,QAAQ,GAAW,EAAQ,CACzC;AACF,SAAO,OAAO,OAAO,GAAM;GAAE;GAAM;GAAO,CAAC;;CAgC/C,OAAO,QAAQ,GAAM,GAAS,GAAS;AACnC,SAAO,EAAK,QAAQ,EAAgB,GAAS,EAAQ,QAI1C,EACT;;CAiBN,OAAO,OAAO,GAAG,GAAO;AACpB,SAAO,EAAW,KAAK,EAAM;;CAEjC,YAAY,GAAS;AACjB,EAAI,MACA,KAAK,UAAU;;CAkCvB,MAAM,GAAM,GAAM,GAAO;AACrB,SAAO,KAAK,OAAO,EAAW,MAAM,GAAM,GAAM,EAAM,CAAC;;CAuB3D,OAAO,GAAG,GAAO;AAIb,SAHI,EAAM,WAAW,IACV,OAEJ,EAAM,OAAO,KAAK,QAAQ,KAAK,KAAK,EAAE,KAAK;;CAEtD,QAAQ,GAAM,GAAO;EACjB,IAAM,IAAO,IAAI,GAAY,GAAW,MAC7B,EAAK,QAAQ,IAAY,MAAO,EAAM,QAAQ,GAAI,EAAQ,CAAC,CACpE;AACF,SAAO,OAAO,OAAO,GAAM;GAAE;GAAM;GAAO,CAAC;;CAU/C,QAAQ,GAAW,GAAS;AACxB,QAAM,EAAkB,GAAG;;CAQ/B;CAOA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkFetcher.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/link/http/checkFetcher.js"],"sourcesContent":["import { invariant } from \"@apollo/client/utilities/invariant\";\nexport const checkFetcher = (fetcher) => {\n invariant(fetcher || typeof fetch !== \"undefined\", 61);\n};\n//# sourceMappingURL=checkFetcher.js.map\n"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAa,KAAgB,MAAY;AACrC,GAAU,KAAW,OAAO,QAAU,KAAa,GAAG"}