// Provider and context
export { StigmerProvider } from "./provider.js";
export { StigmerContext } from "./context.js";
// Runner adapter
export { useRunnerAdapter } from "./runner-adapter.js";
// Construction helper lives in @stigmer/sdk (framework-agnostic); re-exported
// here so React embedders import it alongside the adapter interface.
export { createRunnerAdapter } from "@stigmer/sdk";
// Fetch cache
export { FetchCacheProvider } from "./internal/FetchCacheProvider.js";
// Hooks
export { useStigmer } from "./hooks.js";
// Color mode
export { ColorModeContext, useColorMode } from "./color-mode.js";
// Portal container
export { useStigmerPortalContainer } from "./portal-container.js";
// Deployment mode and resource availability
export { DeploymentModeContext, useDeploymentMode, useResourceAvailable, } from "./deployment-mode.js";
export { isResourceAvailable, ApiResourceKind } from "@stigmer/sdk";
export { CloudFeatureNotice } from "./internal/CloudFeatureNotice.js";
// Models — data hook, styled components, and registry data
export { DEFAULT_MODEL_ID, DEFAULT_CURSOR_MODEL_ID, DISABLED_PROVIDERS, modelKey, parseModelKey, fetchModelRegistry, parseRegistryJson, useModelRegistry, ModelRegistryContext, ModelSelector, HarnessSelector, DEFAULT_HARNESS, HARNESS_LABELS, toProtoHarness, fromProtoHarness, } from "./models/index.js";
// Workspace — behavior hooks and styled components
export { useWorkspaceEntries, useWorkspaceFiles, useWorkspaceFileContent, useWorkspaceFileSearch, useWorkspaceContentSearch, useWorkspaceSources, MAX_WORKSPACE_FILE_READ_BYTES, WorkspaceEditor, WorkspaceFileSearch, WorkspaceContentSearch, WorkspaceSummary, FileViewer, WorkspaceSurface, ExplorerTree, virtualEntryId, isVirtualEntryId, } from "./workspace/index.js";
// Session — data hooks, behavior hooks, utilities (Session aggregate + conversation lifecycle)
export { useCreateSession, useUpdateSession, useSession, useSessionList, useSessionExecutions, useSessionConversation, useSessionArtifacts, useSessionWriteBacks, useSessionFileChanges, useSessionUsage, useAgentRefFromSession, useNewSessionFlow, useSessionPageFlow, usePersistedModel, useEditSessionPrep, CREATOR_AGENTS, parseDraftType, parseDraftParams, groupSessionsByTime, groupSearchResultsByTime, useSessionSearch, PENDING_SUBJECT, resolvedSubject, SessionViewer, NewSessionViewer, useSessionPanel, usePlanDraft, planDraftKey, PlanEditor, PlanStreamingDocument, PLAN_DOCUMENT_ENTRY_ID, PLAN_DOCUMENT_PATH, SetupTab, } from "./session/index.js";
// Activity — unified recent activity (sessions + workflow executions)
export { useRecentActivity, groupRecentActivityByTime, } from "./activity/index.js";
// Execution — behavior hooks, styled components, and utilities (AgentExecution aggregate)
export { isTerminalPhase, useCreateAgentExecution, useExecutionStream, useAgentExecutionActions, useSubmitApproval, useFileReview, fileDecisionKey, fileReviewability, changeSetReviewability, deriveEffectiveVerdicts, changeForRowPath, fileReviewRowState, foldFileReviewEventStream, displayFileChangeSets, toDisplayFileChange, ExecutionPhaseBadge, InteractionModeBadge, SetupProgress, ExecutionProgress, TodoList, TodoCard, TodoInProgressIcon, findActiveTodo, todoCompletionSummary, UsageWidget, ContextGauge, SummarizationBadge, SummarizationCard, PlanCompletionCard, PlanArtifactCard, PlanStreamingCard, PlanDocumentMessage, useContextWindow, formatCost, formatTokenCount, ToolCallGroup, ToolCallDetail, ResultView, summarizeResultView, TerminalSession, useToolPresentation, registerToolPresenter, getToolPresenter, resolveToolCategory, resolveToolCategoryFromCall, resolveToolCategoryFromKind, toolKindToCategoryInfo, defaultDisclosureForCategory, extractPrimaryArg, McpToolDetail, parseMcpResult, formatDuration, humanizeToolName, ToolCallItem, SubAgentSection, MessageEntry, MessageThread, ThreadSkeleton, FollowUpInput, ApprovalCard, ApprovalCardHeader, ApprovalCardBody, FileReviewCard, FileReviewDock, FileChangeProgressBar, ApprovalContext, useApproval, FileReviewContext, useFileReviewRowState, ArtifactCard, ArtifactContentRenderer, ArtifactPreviewContent, ArtifactPreviewModal, ArtifactsWidget, WriteBacksWidget, ToolArgsView, McpArgsView, McpMetadataRow, FilePathLink, FilePathContext, classifyPath, resolveGitBrowseUrl, resolvePathAction, useSessionVariables, SessionVariablesInput, useExecutionArtifacts, useArtifactContent, useArtifactDownloadUrl, useArtifactDownload, useArtifactCopy, useToolOutputContent, useFileChangeContent, execIdFromStorageKey, useWorkspaceWriteBacks, WriteBackCard, FileChangesView, FileChangeDiff, EmptyChangeNotice, isTextArtifact, formatArtifactSize, getArtifactExtension, getFileExtension, getArtifactRenderMode, } from "./execution/index.js";
export { ExecutionArtifactKind } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/enum_pb";
// Attachment — file upload behavior hook and styled chip list
export { useAttachments, AttachmentChipList, MAX_ATTACHMENT_BYTES, detectContentType, formatFileSize, validateAttachmentSize, } from "./attachment/index.js";
// File Reference — workspace file-reference behavior hook and styled chip list
export { useFileReferences, FileReferenceChipList, } from "./file-reference/index.js";
export { FILE_REF_MIME } from "./internal/file-tree/index.js";
// Composer — unified message input with model, workspace, and file attachments
export { useComposer, SessionComposer, InteractionModePicker, } from "./composer/index.js";
// MCP Server — data hook, count hook, list hook, search hook, picker, config panel, tool selector, detail view, setup orchestration, OAuth connect, and update
export { useMcpServer, useMcpServerCount, useMcpServerList, useMcpServerSearch, useMcpServerSetup, useMcpServerConnect, useMcpServerOAuthConnect, useMcpServerCredentials, useOAuthGrantStatus, useDisconnectOAuth, OAuthCallbackHandler, McpServerPicker, McpServerConfigPanel, McpServerDetailView, McpServerConnectDialog, McpServerCreationWizard, McpToolSelector, useCreateMcpServer, useUpdateMcpServer, mcpServerToInput, toServerKey, } from "./mcp-server/index.js";
// Skill — data hooks, upload, file browser, and mutation
export { useSkill, useSkillCount, useSkillList, useSkillSearch, SkillPicker, SkillDetailView, usePushSkill, useSkillUpload, useSkillArtifact, useSkillVersions, useSkillDiff, useSkillDuplicateCheck, SkillUploader, SkillFileBrowser, SkillDiffDialog, } from "./skill/index.js";
// GitHub — OAuth connection, repo picker, tree lister, and hooks
export { useGitHubConnection, useGitHubRepos, useGitHubSearch, useGitHubTreeLister, useGitHubFileReader, parseGitUrl, GitHubRepoPicker, GITHUB_CALLBACK_MESSAGE_TYPE, } from "./github/index.js";
// Agent — data hook, count hook, list hook, search hook, picker, detail view, env form, setup orchestration, env diffing, default agent, creation wizard, update
export { useAgent, useAgentCount, useAgentList, useAgentSearch, AgentPicker, AgentDetailView, AgentEnvForm, diffEnv, useAgentSetup, useDefaultAgent, useCreateAgent, useUpdateAgent, agentToInput, AgentCreationWizard, } from "./agent/index.js";
// Environment — data hooks, list hook, personal convenience hook, secret reveal, variable management, env var form, system env vars, and styled components
export { useEnvironment, useEnvironmentList, usePersonalEnvironment, useCreateEnvironment, useUpdateEnvironment, useUpdateEnvironmentVariables, useRemoveEnvironmentVariables, useRevealSecretValue, EnvironmentVariableEditor, EnvironmentListPanel, CreateEnvironmentForm, EnvVarForm, useSessionEnvPool, SYSTEM_ENV_VAR_KEYS, toGrpcAddress, buildSystemEnvVars, resolveSystemEnvVarValues, resolveDeclaredSystemEnvVars, EnvironmentPicker, } from "./environment/index.js";
// Identity Account — gate hook for ensuring the caller's identity account exists before app render
export { useIdentityAccountGate, } from "./identity-account/index.js";
// IAM Policy — data hooks, behavior hooks, headless hook, and styled components for access management
export { useGrantableRoles, useRoleSelector, useResourceAccess, usePrincipalsCount, useWhoAmI, useCreateIamPolicy, useDeleteIamPolicy, useRevokeOrgAccess, useShareFlow, useCheckPermission, RoleSelector, PrincipalPicker, ProviderBadge, providerLabel, GrantAccessForm, PeopleWithAccess, OrgMembersPanel, SharePanel, PermissionGate, } from "./iam-policy/index.js";
// Access — unified "Manage access" experience (visibility + people) as one
// dialog, with a kebab hook and a visible-button trigger.
export { ManageAccessDialog, ManageAccessButton, useManageAccess, } from "./access/index.js";
// Organization — context provider, hooks, data hooks, behavior hooks, styled form, profile panel, and org switcher
export { OrgProvider, useOrg, useActiveOrgSlug, useActiveOrgId, useOrgGate, useOrganization, useCreateOrganization, useUpdateOrganization, CreateOrganizationForm, OrgProfilePanel, OrgSwitcher, } from "./organization/index.js";
// Billing — data hooks, behavior hooks, styled components, catalog, and formatting utilities
export { useBillingAccount, useCreditLedger, useBillingUsageReport, useCustomerModelPricing, useCreateCheckoutSession, useCreateBillingPortalSession, useSetAutoRechargeConfig, BillingSection, CreditBalanceCard, PaymentMethodCard, AutoRechargeCard, CreditPackGrid, CreditLedgerTable, LowBalanceBanner, CREDIT_PACKS, formatPackPrice, formatCreditCount, formatCreditBalance, formatLedgerAmount, ledgerEntryLabel, isCredit, isHold, formatLedgerDate, } from "./billing/index.js";
// Settings — navigation structure + section components shared across app shells
export { SETTINGS_NAV_GROUPS } from "./settings/index.js";
export { ApiKeysSection } from "./settings/index.js";
export { MembersSection } from "./settings/index.js";
export { OrgProfileSection } from "./settings/index.js";
export { EnvironmentsSection } from "./settings/index.js";
export { InvitationsSection } from "./settings/index.js";
export { IdentityProvidersSection } from "./settings/index.js";
export { PlatformClientsSection } from "./settings/index.js";
export { OAuthAppsSection } from "./settings/index.js";
export { UsageSection } from "./settings/index.js";
// User — app shell user menu
export { UserMenu } from "./user/index.js";
// API Key — data hooks, behavior hooks, and styled components for API key lifecycle
export { useApiKeyList, useCreateApiKey, useDeleteApiKey, ApiKeyListPanel, CreateApiKeyForm, ApiKeyCreatedAlert, } from "./api-key/index.js";
// Platform Client — data hooks, mutation hooks, and styled components for platform client lifecycle
export { usePlatformClientList, usePlatformClient, useCreatePlatformClient, useUpdatePlatformClient, useDeletePlatformClient, useRotatePlatformClientSecret, PlatformClientListPanel, CreatePlatformClientForm, PlatformClientDetailPanel, PlatformClientSecretAlert, } from "./platform-client/index.js";
// OAuth App — data hooks, mutation hooks, and styled components for OAuth app management
export { useOAuthAppList, useCreateOAuthApp, useUpdateOAuthApp, useDeleteOAuthApp, OAuthAppListPanel, CreateOAuthAppForm, OAuthAppDetailPanel, } from "./oauth-app/index.js";
// Identity Provider — data hooks, mutation hooks, styled components, presets, and guided wizard for IdP management and SSO discovery
export { useIdentityProviderList, useIdentityProvider, useSsoProvider, useCreateIdentityProvider, useUpdateIdentityProvider, useDeleteIdentityProvider, IdentityProviderListPanel, CreateIdentityProviderForm, PROVIDER_PRESETS, getPreset, ProviderPicker, IdentityProviderWizard, IdentityProviderDetailPanel, SsoLoginPrompt, } from "./identity-provider/index.js";
// Invitation — data hooks, behavior hooks, and feature components for org invite links
export { useOrgInvitations, useCreateInvitation, useRevokeInvitation, useInvitationPreview, useRedeemInvitation, InvitationCreatedAlert, InvitationManager, InvitationRedemption, } from "./invitation/index.js";
// Error — structured error display with classification, retry, and contextual guidance
export { ErrorMessage, SecretFlowErrorGuide, isSecretFlowError } from "./error/index.js";
// Library — cross-resource UI components, resource detection, apply flow, browsing, and visibility management
export { LibraryBreadcrumbProvider, useBreadcrumbLabel, useBreadcrumbOverride, ScopeToggle, ResourceCountCard, detectStigmerResource, useDetectStigmerResource, isSkillPackage, detectSkillPackage, useDetectSkillPackage, isPlanArtifact, isPlanArtifactName, findPlanArtifact, findLatestSessionPlan, findStreamingPlan, PLAN_ARTIFACT_NAME, PLAN_ARTIFACT_SUFFIX, parseResourceYaml, serializeAgentYaml, serializeMcpServerYaml, serializeAgentInputYaml, serializeMcpServerInputYaml, useApplyResource, useExportResource, useImportResource, ImportResourceDialog, VisibilitySelector, VisibilityBadge, blueprintVisibilityLevels, INSTANCE_VISIBILITY_LEVELS, visibilityLabel, useUpdateVisibility, } from "./library/index.js";
// Action menu — compound component for resource item actions
export { ActionMenu } from "./action-menu/index.js";
// Feedback — toast notification system wrapping Sonner
export { StigmerToaster, toast } from "./feedback/index.js";
// Empty state — reusable empty/zero/permission/error state primitives
export { EmptyState, useEmptyState } from "./empty-state/index.js";
// Usage — org-level usage report hook, dashboard panel, and date-range utilities
export { useOrgUsageReport, OrgUsagePanel, CreditRunwayIndicator, AgentBreakdownList, HarnessSplitCard, useExportCSV, ExportButton, DATE_RANGE_PRESETS, dateRangeFromPreset, formatDateRange, presetLabel, } from "./usage/index.js";
// Agent Instance — data hooks, mutation hooks, management components, and behavior hook
export { useAgentInstance, useAgentInstanceList, useAgentInstances, usePersonalAgentInstance, useCreateAgentInstance, useUpdateAgentInstance, useDeleteAgentInstance, AgentInstanceList, AgentInstanceEmptyState, CreateAgentInstanceDialog, AgentInstanceDetailPanel, } from "./agent-instance/index.js";
// Tabs — accessible tabbed panel primitive
export { Tabs } from "./tabs/index.js";
// Resource Detail — headless hooks, action bar, and composed shell for resource detail pages
export { useCopyResource, useConfirmAction, useDeleteResource, ResourceActionBar, ResourceDetailShell, Section, ConfirmDialog, } from "./resource-detail/index.js";
// Resource Creation — shared wizard infrastructure for multi-step creation flows
export { useWizardState, useTemplateFilter, WizardShell, WizardNav, StepIndicator, TemplateCard, TemplateGallery, CreationPicker, TEMPLATE_CATEGORY_LABELS, AGENT_TEMPLATES, MCP_SERVER_TEMPLATES, WORKFLOW_TEMPLATES, } from "./resource-creation/index.js";
// Dependency Graph — visual tree of agent dependencies (MCP servers, skills, sub-agents)
export { DependencyGraph, useDependencyGraph } from "./dependency-graph/index.js";
// Version History — generic timeline, diff infrastructure for versioned resources
export { VersionTimeline, VersionTimelineEntry, DiffViewer, DiffFileList, DiffSummary, MultiFileDiffView, computeDiff, computeMultiFileDiff, } from "./version-history/index.js";
// Inline Edit — click-to-edit field primitives for detail page inline editing
export { InlineEditText, InlineEditTextarea, InlineEditImage, InlineEditSelect, InlineEditKeyValue, InlineEditResourceList, useInlineFieldSave, } from "./inline-edit/index.js";
// Resource Workbench — headless hooks, view components, and composed shell for resource collection management
export { useViewPreference, useResourceCollection, useResourceFilters, useResourceSelection, StatusBadge, ColumnHeader, SelectionCheckbox, ResourceTable, ResourceCards, ResourceList, BulkActionBar, FilterBar, ViewSwitcher, ResourceInspector, ResourceWorkbench, ResourceAvatar, } from "./resource-workbench/index.js";
// Workflow — data hooks, styled components, task kind registry
export { TaskKindRegistryContext, useTaskKindRegistry, useWorkflow, useWorkflowList, useWorkflowCount, useWorkflowInstances, useWorkflowExecutionList, useWorkflowExecution, useWorkflowExecutionEventLog, useWorkflowExecutionArtifacts, useWorkflowExecutionEventStream, useWorkflowExecutionActions, WorkflowExecutionPhaseBadge, WorkflowTaskList, WorkflowDetailView, WorkflowExecutionViewer, WorkflowExecutionHeader, WorkflowExecutionTimeline, WorkflowExecutionTaskPanel, WorkflowExecutionCostPanel, WorkflowExecutionArtifactPanel, WorkflowExecutionApprovalCard, WorkflowFileReviewList, serializeWorkflowYaml, parseWorkflowYaml, useWorkflowYaml, useWorkflowSave, useWorkflowValidation, useWorkflowTopology, WorkflowYamlEditor, WorkflowCodePreviewGraph, useWorkflowEditor, WorkflowEditorView, useRunWorkflowFlow, WorkflowRunForm, WorkflowRunDialog, useWorkflowDashboardSummary, usePendingApprovals, ExecutionSummaryWidget, PendingApprovalsWidget, FailedRunsWidget, WorkflowDashboard, START_NODE_ID, END_NODE_ID, yamlToGraph, graphToYaml, graphToWorkflowInput, useWorkflowCanvas, TASK_KIND_DRAG_MIME, WorkflowCanvasEditor, WorkflowTaskPalette, TaskPickerPopover, CanvasContextMenu, WorkflowInspectorPanel, TaskConfigForm, BranchConditionBuilder, ApprovalFormBuilder, useResolveAgentExecutionSession, CostByWorkflowChart, ExecutionTrendChart, extractWorkflowYaml, useWorkflowArchitectFlow, WorkflowArchitectDialog, useRefineWorkflowFlow, WorkflowRefinePanel, computeUnifiedDiff, useDiagnoseExecutionFlow, WorkflowRepairCard, STARTER_WORKFLOW_YAML, useElkLayoutEngine, 
// T13: Execution history
deriveExecutionRow, deriveExecutionRows, sortExecutionRows, filterExecutionRows, deriveFailureAnalysis, useExecutionHistoryData, ExecutionHistoryTable, ExecutionFilterBar, HealthMetricsStrip, FailureAnalysisPanel, WorkflowExecutionHistory, 
// Workflow Instance management
useWorkflowInstance, useCreateWorkflowInstance, useUpdateWorkflowInstance, useUpdateWorkflowInstanceExecutionVisibility, useDeleteWorkflowInstance, WorkflowInstanceEmptyState, WorkflowInstanceList, CreateWorkflowInstanceDialog, WorkflowInstanceDetailPanel, RunVisibilityControl, 
// T15: Workflow Template Gallery
PATTERN_LABELS, WORKFLOW_CATEGORY_LABELS, deriveTemplateMeta, WorkflowTemplateCard, WorkflowTemplatePreview, WorkflowTemplateGallery, } from "./workflow/index.js";
// ─── Dashboard (Unified Platform) ──────────────────────────────────────────
export { 
// Data Hooks
useAgentExecutionSummary, AgentExecutionSummaryTimeWindow, useDashboardSummary, useDashboardFailedRuns, 
// Styled Components
DashboardKPICards, DashboardFailedRuns, OperationalDashboard, } from "./dashboard/index.js";
//# sourceMappingURL=index.js.map