@arbidocs/blocks 0.4.103 → 0.4.105

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 (92) hide show
  1. package/dist/agents/index.cjs +207 -207
  2. package/dist/agents/index.js +2 -2
  3. package/dist/agents/runs/AgentSteps.d.ts +3 -3
  4. package/dist/chat/ModelPicker.d.ts +7 -7
  5. package/dist/chat/index.cjs +65 -65
  6. package/dist/chat/index.js +1 -1
  7. package/dist/{chunk-IF6VAYIA.cjs → chunk-24ND4S6Y.cjs} +8 -8
  8. package/dist/chunk-24ND4S6Y.cjs.map +1 -0
  9. package/dist/{chunk-AOFATOT3.cjs → chunk-2A4MDHJR.cjs} +7 -5
  10. package/dist/chunk-2A4MDHJR.cjs.map +1 -0
  11. package/dist/{chunk-DDYXFALG.cjs → chunk-3PCHGUL5.cjs} +5 -5
  12. package/dist/{chunk-DDYXFALG.cjs.map → chunk-3PCHGUL5.cjs.map} +1 -1
  13. package/dist/{chunk-GQTIAATM.js → chunk-4GFB5U3K.js} +3 -3
  14. package/dist/{chunk-GQTIAATM.js.map → chunk-4GFB5U3K.js.map} +1 -1
  15. package/dist/chunk-5FYU7ZIU.cjs +139 -0
  16. package/dist/chunk-5FYU7ZIU.cjs.map +1 -0
  17. package/dist/{chunk-TFDU2KGS.cjs → chunk-7LLLQUM7.cjs} +5 -5
  18. package/dist/{chunk-TFDU2KGS.cjs.map → chunk-7LLLQUM7.cjs.map} +1 -1
  19. package/dist/{chunk-D3QPYKZG.js → chunk-EPHGD4YV.js} +7 -6
  20. package/dist/chunk-EPHGD4YV.js.map +1 -0
  21. package/dist/chunk-HFZ45FD3.js +133 -0
  22. package/dist/chunk-HFZ45FD3.js.map +1 -0
  23. package/dist/{chunk-5NQIBJPP.js → chunk-IU542FPZ.js} +5 -5
  24. package/dist/{chunk-5NQIBJPP.js.map → chunk-IU542FPZ.js.map} +1 -1
  25. package/dist/{chunk-H6DFXG5N.js → chunk-PIT2YZCK.js} +3 -3
  26. package/dist/{chunk-H6DFXG5N.js.map → chunk-PIT2YZCK.js.map} +1 -1
  27. package/dist/{chunk-Z3G65XHZ.js → chunk-S55VDTX3.js} +3 -3
  28. package/dist/{chunk-Z3G65XHZ.js.map → chunk-S55VDTX3.js.map} +1 -1
  29. package/dist/{chunk-ICBAFX5B.js → chunk-S7RHJI5Q.js} +8 -8
  30. package/dist/chunk-S7RHJI5Q.js.map +1 -0
  31. package/dist/{chunk-LENXDIMY.cjs → chunk-SKSE4OT6.cjs} +22 -22
  32. package/dist/{chunk-LENXDIMY.cjs.map → chunk-SKSE4OT6.cjs.map} +1 -1
  33. package/dist/{chunk-N36PWG7A.cjs → chunk-TP3FAP5J.cjs} +5 -5
  34. package/dist/{chunk-N36PWG7A.cjs.map → chunk-TP3FAP5J.cjs.map} +1 -1
  35. package/dist/{chunk-CVYY4X5R.js → chunk-W2RTZOK3.js} +1232 -193
  36. package/dist/chunk-W2RTZOK3.js.map +1 -0
  37. package/dist/{chunk-O33EBMIX.cjs → chunk-ZWWN4CUL.cjs} +1410 -359
  38. package/dist/chunk-ZWWN4CUL.cjs.map +1 -0
  39. package/dist/connect/docx.cjs +8 -7
  40. package/dist/connect/docx.cjs.map +1 -1
  41. package/dist/connect/docx.js +6 -5
  42. package/dist/connect/docx.js.map +1 -1
  43. package/dist/connect/index.cjs +13 -12
  44. package/dist/connect/index.cjs.map +1 -1
  45. package/dist/connect/index.js +6 -5
  46. package/dist/connect/index.js.map +1 -1
  47. package/dist/docx/LinkHoverCard.d.ts +24 -0
  48. package/dist/docx/NativeDocxEditor.d.ts +6 -0
  49. package/dist/docx/beforeSave.d.ts +9 -0
  50. package/dist/docx/definitions/fragment.d.ts +19 -1
  51. package/dist/docx/definitions/port.d.ts +43 -11
  52. package/dist/docx/index.cjs +85 -36
  53. package/dist/docx/index.cjs.map +1 -1
  54. package/dist/docx/index.d.ts +6 -0
  55. package/dist/docx/index.js +5 -4
  56. package/dist/docx/index.js.map +1 -1
  57. package/dist/docx/references/CrossReferences.d.ts +97 -0
  58. package/dist/docx/references/EditorMenus.d.ts +10 -0
  59. package/dist/docx/references/commands.d.ts +119 -0
  60. package/dist/docx/references/numbering.d.ts +49 -0
  61. package/dist/docx/references/passages.d.ts +32 -0
  62. package/dist/docx/references/port.d.ts +20 -0
  63. package/dist/facts/index.cjs +21 -128
  64. package/dist/facts/index.cjs.map +1 -1
  65. package/dist/facts/index.js +2 -124
  66. package/dist/facts/index.js.map +1 -1
  67. package/dist/index.cjs +342 -342
  68. package/dist/index.js +8 -8
  69. package/dist/settings/Billing.d.ts +1 -1
  70. package/dist/settings/PlanCard.d.ts +2 -2
  71. package/dist/settings/QuotaMeter.d.ts +1 -1
  72. package/dist/settings/{ReferralCredit.d.ts → ReferralReward.d.ts} +15 -15
  73. package/dist/settings/SubscriptionParts.d.ts +3 -3
  74. package/dist/settings/Usage.d.ts +7 -11
  75. package/dist/settings/WelcomeDialog.d.ts +1 -1
  76. package/dist/settings/index.cjs +33 -39
  77. package/dist/settings/index.cjs.map +1 -1
  78. package/dist/settings/index.d.ts +2 -2
  79. package/dist/settings/index.js +31 -36
  80. package/dist/settings/index.js.map +1 -1
  81. package/dist/tags/ooxml.d.ts +4 -0
  82. package/dist/workflow-canvas/index.cjs +9 -9
  83. package/dist/workflow-canvas/index.js +2 -2
  84. package/node_modules/@arbidocs/coedit/package.json +1 -1
  85. package/package.json +4 -4
  86. package/src/docx/README.md +22 -0
  87. package/dist/chunk-AOFATOT3.cjs.map +0 -1
  88. package/dist/chunk-CVYY4X5R.js.map +0 -1
  89. package/dist/chunk-D3QPYKZG.js.map +0 -1
  90. package/dist/chunk-ICBAFX5B.js.map +0 -1
  91. package/dist/chunk-IF6VAYIA.cjs.map +0 -1
  92. package/dist/chunk-O33EBMIX.cjs.map +0 -1
package/dist/index.js CHANGED
@@ -1,32 +1,32 @@
1
1
  "use client";
2
2
  export { ApplyLabelButton, ApplyLabelDialog, DEFAULT_APPLY_LABEL_DIALOG_LABELS, DEFAULT_RELEVANCE_STEPS, DEFAULT_SEARCH_BAR_LABELS, DEFAULT_SEARCH_EMPTY_STATE_LABELS, DEFAULT_SEARCH_GROUP_HEADER_LABELS, DEFAULT_SEARCH_NO_RESULTS_LABELS, DEFAULT_SEARCH_PAGINATION_LABELS, DEFAULT_SEARCH_TOTALS_LABELS, DOCUMENT_SEARCH_NOUNS, Highlight, RelevanceThreshold, SearchBar, SearchControlsBar, SearchEmptyState, SearchErrorBanner, SearchGroupCard, SearchGroupHeader, SearchNoResults, SearchPageBody, SearchPageFrame, SearchPageHeader, SearchPagination, SearchPillToggle, SearchResultList, SearchResultsInner, SearchResultsMain, SearchToolbarRow, SearchTotalsHeadline, getPageNumbers, highlightTerms, searchNouns, splitByTerms, stripMarkdownLinks } from './chunk-2MJWWPHY.js';
3
- export { ActionCluster, AskField, AskRow, AskTrigger, DEFAULT_ASK_FIELD_LABELS, DEFAULT_INSTALL_PROMPT_LABELS, DEFAULT_MOBILE_BARS_LABELS, DEFAULT_OFFLINE_PILL_LABELS, DEFAULT_REMOTE_CONTROL_PILL_LABELS, DEFAULT_SIDEBAR_LABELS, DEFAULT_TIP_CARD_LABELS, DEFAULT_WORKSPACE_KIND_LABELS, DEFAULT_WORKSPACE_SWITCHER_LABELS, INSTALL_PROMPT_DISMISSED_KEY, InfoBar, InstallPrompt, MobileAppBar, MobileTabBar, NotificationBell, OfflinePill, RemoteControlPill, STATUS_ROW_BASE_CLASS, STATUS_ROW_TONES, Sidebar, SidebarBadgeRow, SidebarRowAction, SidebarRowHoverContext, SplitLayout, StatusBadge, StatusRow, TipCard, UserMenu, WorkspaceIdentity, WorkspaceSwitcher, getInstallInstructions, initInstallPrompt, isIosDevice, promptAppInstall, resolveSidebarLayout, useInstallPrompt, useSidebarContext, useSidebarSettle, workspaceKindColor, workspaceKindMeta } from './chunk-VLOPZHFH.js';
4
3
  export { UsageMeter } from './chunk-D5T53XCL.js';
4
+ export { ActionCluster, AskField, AskRow, AskTrigger, DEFAULT_ASK_FIELD_LABELS, DEFAULT_INSTALL_PROMPT_LABELS, DEFAULT_MOBILE_BARS_LABELS, DEFAULT_OFFLINE_PILL_LABELS, DEFAULT_REMOTE_CONTROL_PILL_LABELS, DEFAULT_SIDEBAR_LABELS, DEFAULT_TIP_CARD_LABELS, DEFAULT_WORKSPACE_KIND_LABELS, DEFAULT_WORKSPACE_SWITCHER_LABELS, INSTALL_PROMPT_DISMISSED_KEY, InfoBar, InstallPrompt, MobileAppBar, MobileTabBar, NotificationBell, OfflinePill, RemoteControlPill, STATUS_ROW_BASE_CLASS, STATUS_ROW_TONES, Sidebar, SidebarBadgeRow, SidebarRowAction, SidebarRowHoverContext, SplitLayout, StatusBadge, StatusRow, TipCard, UserMenu, WorkspaceIdentity, WorkspaceSwitcher, getInstallInstructions, initInstallPrompt, isIosDevice, promptAppInstall, resolveSidebarLayout, useInstallPrompt, useSidebarContext, useSidebarSettle, workspaceKindColor, workspaceKindMeta } from './chunk-VLOPZHFH.js';
5
5
  export { ArticleList, Chart, CheckList, CollectionDetail, CtaBand, DefinitionList, EditorialHeading, EditorialHero, EditorialProse, EditorialSection, Eyebrow, PanelGrid, ProofStrip, PullQuote, Reveal, TagList } from './chunk-LYUO3E6V.js';
6
6
  export { DataTable, DataTableBlock, MetricCard, PageHeader, StatGroup } from './chunk-ZCF2JJFA.js';
7
7
  export { Accordion, AvatarBlock, Banner, BlockImage, BlockLink, CTABanner, Columns, ContactForm, Container, FAQ, FONT_PAIRINGS, FeatureGrid, Footer, Gallery, Hero, ListBlock, LogoCloud, MediaText, Navbar, PricingTable, ProfileCard, RichTextBlock, SectionHeading, Spacer, Steps, THEME_STYLE_ID, Tabs, TeamGrid, Testimonial, TestimonialGrid, ThemeEditor, VideoEmbed, applyFontVars, applyStoredTheme, applyThemeVars, clearFontVars, clearThemeVars, createThemeStore, fontPackages, getFontPairing, matchFontPairing, tid, toEmbedUrl, toHslTriplet } from './chunk-DLBUFHLY.js';
8
8
  export { Timeline } from './chunk-OVEQERPO.js';
9
9
  export { MemberAvatarStack } from './chunk-XNOASBGW.js';
10
- import { DEFAULT_TAG_TABLE_LABELS, rowLinks, TagTableCell } from './chunk-Z3G65XHZ.js';
11
- export { DEFAULT_TAG_COLUMNS_EDITOR_LABELS, DEFAULT_TAG_TABLE_DOCX_LABELS, DEFAULT_TAG_TABLE_LABELS, DEFAULT_THREAD_FOLLOW_LABELS, DEFAULT_WORKSPACE_ACTIVITY_LABELS, DEFAULT_WORKSPACE_NOTIFICATION_MENU_LABELS, TAG_TABLE_DOCX_LANDSCAPE_AFTER, TagColumnsEditor, TagTable, TagTableCell, ThreadFollowButton, ThreadFollowMenuItem, WorkspaceActivityList, WorkspaceNotificationMenu, cellText, cellValue, fieldWrites, isGap, parseCell, rowLinks, tagTableDocumentXml, tagTableDocx, tagTableMarkdown, workspaceActivityHeadline, workspaceActivityTarget } from './chunk-Z3G65XHZ.js';
10
+ import { DEFAULT_TAG_TABLE_LABELS, rowLinks, TagTableCell } from './chunk-S55VDTX3.js';
11
+ export { DEFAULT_TAG_COLUMNS_EDITOR_LABELS, DEFAULT_TAG_TABLE_DOCX_LABELS, DEFAULT_TAG_TABLE_LABELS, DEFAULT_THREAD_FOLLOW_LABELS, DEFAULT_WORKSPACE_ACTIVITY_LABELS, DEFAULT_WORKSPACE_NOTIFICATION_MENU_LABELS, TAG_TABLE_DOCX_LANDSCAPE_AFTER, TagColumnsEditor, TagTable, TagTableCell, ThreadFollowButton, ThreadFollowMenuItem, WorkspaceActivityList, WorkspaceNotificationMenu, cellText, cellValue, fieldWrites, isGap, parseCell, rowLinks, tagTableDocumentXml, tagTableDocx, tagTableMarkdown, workspaceActivityHeadline, workspaceActivityTarget } from './chunk-S55VDTX3.js';
12
12
  import { DetailLoading, DetailBody, DetailSection, DetailFields, DetailField, DetailLinkList, DetailLinkItem, DetailEmpty } from './chunk-ZCOVDK2E.js';
13
13
  export { DEFAULT_DETAIL_PANEL_LABELS, DetailBody, DetailEmpty, DetailField, DetailFields, DetailLinkItem, DetailLinkList, DetailLoading, DetailPanel, DetailSection } from './chunk-ZCOVDK2E.js';
14
- import { groupDefinitions, compareDefinitions, minuteUtc, page, cell, documentXml, paragraph, docxPackage, TABLE_DOCUMENT_STYLES } from './chunk-D3QPYKZG.js';
15
- export { DEFINITIONS_LABEL, DEFINITION_BOOKMARK_PREFIX, compareDefinitions, compareTerms, definitionBookmark, definitionIdOfBookmark, definitionLabels, filterTermGroups, groupDefinitions, parseDefinition, termKey, toDefinition } from './chunk-D3QPYKZG.js';
14
+ import { groupDefinitions, compareDefinitions, minuteUtc, page, cell, documentXml, paragraph, docxPackage, TABLE_DOCUMENT_STYLES } from './chunk-EPHGD4YV.js';
15
+ export { DEFINITIONS_LABEL, DEFINITION_BOOKMARK_PREFIX, compareDefinitions, compareTerms, definitionBookmark, definitionIdOfBookmark, definitionLabels, filterTermGroups, groupDefinitions, parseDefinition, termKey, toDefinition } from './chunk-EPHGD4YV.js';
16
16
  export { DEFAULT_SEARCH_HIT_LABELS, SearchHit } from './chunk-A2YAC22G.js';
17
17
  export { TIMELINE_ZOOM, TimelineCalendar, TimelineGantt, TimelineZoomControl, dayKey, formatSpan, monthLabel, parseIso, utcDay } from './chunk-4EZVCGRL.js';
18
18
  import './chunk-AF6RDAJF.js';
19
19
  export { Callout } from './chunk-UJE32SST.js';
20
- export { AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, AgentSelect, AgentTypeSelector, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_AGENT_STEPS_LABELS, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, EntityChip, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadNotifyDialog, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowThreadStartedBy, WorkflowThreadStrip, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, groupThreadActivity, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, isAgenticWorkflow, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isoToLocalInput, linkedRunsFromActivity, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, resolveScopeInputs, skillSlug, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, useWorkflowPreview, workflowFromSkillMarkdown, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowToSkillMarkdown, workflowTriggerType, workflowWhen } from './chunk-5NQIBJPP.js';
20
+ export { AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, AgentSelect, AgentTypeSelector, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_AGENT_STEPS_LABELS, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, EntityChip, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadNotifyDialog, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowThreadStartedBy, WorkflowThreadStrip, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, groupThreadActivity, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, isAgenticWorkflow, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isoToLocalInput, linkedRunsFromActivity, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, resolveScopeInputs, skillSlug, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, useWorkflowPreview, workflowFromSkillMarkdown, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowToSkillMarkdown, workflowTriggerType, workflowWhen } from './chunk-IU542FPZ.js';
21
21
  import './chunk-4XJZ6AAY.js';
22
22
  export { EmptyState } from './chunk-P6GHJSLR.js';
23
23
  export { ActionStepBody, ApprovalEvidence, AssigneeLine, DEFAULT_ASSIGNEE_WORDING, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_STEP_BAR_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_STEP_PARTS_LABELS, EMPTY_WORKFLOW_SCOPE, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, SchemaForm, SendBackControl, TaskActivityTimeline, WorkflowRunner, activeStepId, assigneeName, buildLaunch, canAssign, composeStepPrompt, composeWorkflowPrompt, defaultInputs, dependsOn, fieldToFrontmatter, fillRunText, fillStepInputs, fromPlanAssignee, fromPlanDocumentRef, fromPlanSteps, initialRunInputs, inputsFromContext, isEmptyWorkflowScope, isIncompleteSignal, isPersonAction, isPersonStep, isRunFinished, isSteppedWorkflow, isWorkflowScope, layoutFromPlanSteps, nextAction, orderSteps, promptFieldName, reviewInstructions, runFields, runFieldsOf, runThreadTitle, sendBackTargets, skillToWorkflow, splitDocRef, stepConfigProblems, stepDependencies, stepFields, stepLevels, stepPhase, stepStatesFromActivity, stepWindow, taskActivityHeadline, toPlanAssignee, toPlanDocumentRef, toPlanSteps, upstreamSteps, useWorkflowView, validateInputs, validateStep, validateWorkflowGraph, workflowAccepts, workflowFromFrontmatter, workflowSteps, workflowsAccepting, workflowsForHost } from './chunk-PGDL26TQ.js';
24
24
  import './chunk-6S5FLMWG.js';
25
- export { DEFAULT_TAB_HEADER_LABELS, TabHeader } from './chunk-4WWM3GQ5.js';
26
25
  import './chunk-RFXJYIDV.js';
27
26
  export { Dot, ToneBadge } from './chunk-5LXQPP2K.js';
28
27
  import './chunk-EVUEIBNU.js';
29
28
  export { TONES, isTone } from './chunk-AUS3KBHJ.js';
29
+ export { DEFAULT_TAB_HEADER_LABELS, TabHeader } from './chunk-4WWM3GQ5.js';
30
30
  import './chunk-NUNKSZKU.js';
31
31
  export { DEFAULT_FILTER_FIELDS, DEFAULT_FILTER_INPUT_LABELS, FilterInput } from './chunk-YU2KUMGE.js';
32
32
  import './chunk-DDF5GPIJ.js';
@@ -34,7 +34,7 @@ import './chunk-XD2M6LIG.js';
34
34
  export { ActionLink } from './chunk-S7PSMMRG.js';
35
35
  export { AccountRecoveryDialog, AuthAlert, AuthConsent, AuthDivider, AuthField, AuthFieldBadge, AuthFooterLinks, AuthHeading, AuthHero, AuthInput, AuthLayout, AuthLink, AuthNote, AuthOfflineBadge, AuthSubmitButton, AuthTabs, DEFAULT_ACCOUNT_RECOVERY_DIALOG_LABELS, DEFAULT_AUTH_CONSENT_LABELS, DEFAULT_AUTH_FOOTER_LINKS_LABELS, DEFAULT_AUTH_OFFLINE_BADGE_LABELS, DEFAULT_RECOVERY_KEY_DIALOG_LABELS, DEFAULT_REVEALABLE_PASSWORD_INPUT_LABELS, DEFAULT_SSO_LOGIN_BUTTON_LABELS, RecoveryKeyDialog, RevealablePasswordInput, SsoLoginButton } from './chunk-SFXVNFES.js';
36
36
  export { DEFAULT_PASSWORD_STRENGTH_INPUT_LABELS, PasswordStrengthInput } from './chunk-VILAPTCB.js';
37
- export { AssistantToaster, BranchControls, ComposerAccessories, ComposerTools, ContextActionButton, ContextCheckRow, ContextPanelContent, ContextPanelFooter, ContextPanelTabs, ContextPickerList, ContextPickerRow, ContextSearchInput, ContextSelectList, ContextSelectRow, Conversation, ConversationBody, ConversationHeader, ConversationHeaderActions, ConversationHistoryPane, ConversationLoading, ConversationMain, ConversationRoot, ConversationSearchView, ConversationSettingsButton, DEFAULT_BRANCH_CONTROLS_LABELS, DEFAULT_CONVERSATION_LAYOUT_LABELS, DEFAULT_CONVERSATION_PARTS_LABELS, DEFAULT_CONVERSATION_SEARCH_LABELS, DEFAULT_LABEL_PIN_ROW_LABELS, DEFAULT_MODEL_PRICING_TIP_LABELS, DEFAULT_PENDING_ANSWER_BAR_LABELS, DEFAULT_PINNED_DOC_CHIP_LABELS, DEFAULT_SLASH_MENU_LABELS, DEFAULT_THREAD_MAP_LABELS, LabelPinRow, ModelAutoIcon, ModelConfigureButton, ModelDot, ModelMenuDivider, ModelMenuMessage, ModelOption, ModelOptionLabel, ModelPickerPopover, ModelPickerTrigger, ModelPricingTip, ModelTierIcon, ModelTierOption, ModelTriggerContent, NewChatButton, NewPaChatButton, PaModeBadge, PendingAnswerBar, PinnedDocChip, SlashMenu, ThreadMap, ThreadMapDiagram, ThreadMapError, ThreadMapLoading, getParticipantTints, hasMessageBody, isLongPastedText, useDismissibleCard, useLongPaste, useRecipientDraft } from './chunk-ICBAFX5B.js';
37
+ export { AssistantToaster, BranchControls, ComposerAccessories, ComposerTools, ContextActionButton, ContextCheckRow, ContextPanelContent, ContextPanelFooter, ContextPanelTabs, ContextPickerList, ContextPickerRow, ContextSearchInput, ContextSelectList, ContextSelectRow, Conversation, ConversationBody, ConversationHeader, ConversationHeaderActions, ConversationHistoryPane, ConversationLoading, ConversationMain, ConversationRoot, ConversationSearchView, ConversationSettingsButton, DEFAULT_BRANCH_CONTROLS_LABELS, DEFAULT_CONVERSATION_LAYOUT_LABELS, DEFAULT_CONVERSATION_PARTS_LABELS, DEFAULT_CONVERSATION_SEARCH_LABELS, DEFAULT_LABEL_PIN_ROW_LABELS, DEFAULT_MODEL_PRICING_TIP_LABELS, DEFAULT_PENDING_ANSWER_BAR_LABELS, DEFAULT_PINNED_DOC_CHIP_LABELS, DEFAULT_SLASH_MENU_LABELS, DEFAULT_THREAD_MAP_LABELS, LabelPinRow, ModelAutoIcon, ModelConfigureButton, ModelDot, ModelMenuDivider, ModelMenuMessage, ModelOption, ModelOptionLabel, ModelPickerPopover, ModelPickerTrigger, ModelPricingTip, ModelTierIcon, ModelTierOption, ModelTriggerContent, NewChatButton, NewPaChatButton, PaModeBadge, PendingAnswerBar, PinnedDocChip, SlashMenu, ThreadMap, ThreadMapDiagram, ThreadMapError, ThreadMapLoading, getParticipantTints, hasMessageBody, isLongPastedText, useDismissibleCard, useLongPaste, useRecipientDraft } from './chunk-S7RHJI5Q.js';
38
38
  export { DEFAULT_DOCK_WIDTH, Toaster } from './chunk-BV7FEMSI.js';
39
39
  export { AssistantDock, AssistantDockToggle, AssistantModeToggle, ChatDocuments, ChatMessageContent, ChatPage, ChatThreadList, ChatThreadSelect, CitationMark, Composer, ComposerBranchingNotice, ComposerContainer, ComposerDock, ComposerFrame, ComposerInput, ComposerRoot, ComposerSend, ComposerToolbar, ComposerVoiceButton, ContextChip, ConversationEmpty, DEFAULT_ASSISTANT_MODE_TOGGLE_LABELS, DEFAULT_CHAT_PAGE_LABELS, DEFAULT_COMPOSER_LABELS, DEFAULT_CONVERSATION_EMPTY_LABELS, DEFAULT_MESSAGE_ALERT_LABELS, DEFAULT_MESSAGE_LABELS, DEFAULT_MESSAGE_LIST_LABELS, DEFAULT_WORKFLOW_STEP_CHIP_LABELS, Message, MessageActionButton, MessageActionMenu, MessageAlert, MessageBody, MessageBubble, MessageByline, MessageContent, MessageFooter, MessageList, MessageListBanner, MessageListEmpty, MessageListRoot, MessageListRow, MessageListRows, MessageListStatus, MessageListTail, MessageNarration, MessageRoot, MessageSources, MessageSubagentBadge, ScrollToBottom, SourceChip, WorkflowStepChip, toSpeakableText, useAssistantDock, useChatSurface, useRegisterEmbeddedChat, useStreamAnnouncement } from './chunk-EWSEQEPL.js';
40
40
  export { BlocksTooltipProvider, DEFAULT_OVERLAY_ZONE_ID, DEFAULT_PAGE_CONTAINER_PADDING, DEFAULT_SIDEBAR_TOGGLE_BUTTON_LABELS, PageContainer, SHELL_BOTTOM_INSET_VAR, Shell, SidebarToggleButton, ToolButton, useDrawerBehavior, useOverlayZoneId, useShellBottomInset } from './chunk-KZJAG7T3.js';
@@ -65,7 +65,7 @@ export interface DailyCapFieldProps {
65
65
  isSaving?: boolean;
66
66
  labels?: Partial<DailyCapFieldLabels>;
67
67
  }
68
- /** Per-collaborator daily credit cap input; Enter or Save commits, empty means no limit. */
68
+ /** Per-collaborator daily AI usage cap (£) input; Enter or Save commits, empty means no limit. */
69
69
  export declare function DailyCapField({ value, onChange, onSave, canSave, isSaving, labels, }: DailyCapFieldProps): import("react").JSX.Element;
70
70
  export interface MemberProjectRowProps {
71
71
  icon: ReactNode;
@@ -17,7 +17,7 @@ export interface PlanCardLabels {
17
17
  pricingExplainer: string;
18
18
  /** One short line per idea, shown as a list. */
19
19
  explainerTiers: string[];
20
- explainerCredits: string;
20
+ explainerAiUsage: string;
21
21
  seeModelList: string;
22
22
  }
23
23
  export declare const DEFAULT_PLAN_CARD_LABELS: PlanCardLabels;
@@ -49,7 +49,7 @@ export interface PlanCardView {
49
49
  isSelected?: boolean;
50
50
  isPopular?: boolean;
51
51
  price?: PlanCardPrice;
52
- /** Entitlement lines, e.g. "2,000 AI Credits / mo". */
52
+ /** Entitlement lines, e.g. "£10 of AI usage / mo". */
53
53
  features: string[];
54
54
  }
55
55
  export interface PlanCardProps {
@@ -27,5 +27,5 @@ export interface QuotaMeterProps {
27
27
  */
28
28
  testIds?: Partial<Record<'root' | 'badge', string>>;
29
29
  }
30
- /** Credits / storage / collaborators readout, in a compact row or as stat tiles. */
30
+ /** AI usage / storage / collaborators readout, in a compact row or as stat tiles. */
31
31
  export declare function QuotaMeter({ items, size, showTooltips, showBars, showPercent, className, testIds, }: QuotaMeterProps): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
- /** Every fixed string of the referral-credit parts. `amount` is the formatted reward. */
2
- export interface ReferralCreditLabels {
1
+ /** Every fixed string of the referral-reward parts. `amount` is the formatted reward. */
2
+ export interface ReferralRewardLabels {
3
3
  badgeTitle: string;
4
4
  badge: (amount: string) => string;
5
5
  subtotal: string;
@@ -9,38 +9,38 @@ export interface ReferralCreditLabels {
9
9
  applied: (amount: string) => string;
10
10
  note: (amount: string) => string;
11
11
  }
12
- export declare const DEFAULT_REFERRAL_CREDIT_LABELS: ReferralCreditLabels;
12
+ export declare const DEFAULT_REFERRAL_REWARD_LABELS: ReferralRewardLabels;
13
13
  /** Standing pill: the user's available referral reward. */
14
- export declare function ReferralCreditBadge({ amountLabel, labels, testId, }: {
14
+ export declare function ReferralRewardBadge({ amountLabel, labels, testId, }: {
15
15
  amountLabel: string;
16
- labels?: Partial<ReferralCreditLabels>;
17
- /** Default `referral-credit-badge` / `referral-credit-note` per part. */
16
+ labels?: Partial<ReferralRewardLabels>;
17
+ /** Default `referral-reward-badge` / `referral-reward-note` per part. */
18
18
  testId?: string;
19
19
  }): import("react").JSX.Element;
20
- export interface ReferralCreditBreakdown {
20
+ export interface ReferralRewardBreakdown {
21
21
  subtotal: string;
22
22
  reward: string;
23
23
  youPay: string;
24
24
  /** Set when part of the reward rolls over to the next invoice. */
25
25
  rollover?: string;
26
26
  }
27
- export interface ReferralCreditSummaryProps {
27
+ export interface ReferralRewardSummaryProps {
28
28
  /** The reward amount, formatted. */
29
29
  amountLabel: string;
30
30
  /** When the exact charge is known; otherwise a one-line note is shown. */
31
- breakdown?: ReferralCreditBreakdown;
32
- labels?: Partial<ReferralCreditLabels>;
33
- /** Root test id (default `referral-credit-summary`). */
31
+ breakdown?: ReferralRewardBreakdown;
32
+ labels?: Partial<ReferralRewardLabels>;
33
+ /** Root test id (default `referral-reward-summary`). */
34
34
  testId?: string;
35
35
  /** Breakdown rows; defaults are the current ids. */
36
36
  testIds?: Partial<Record<'applied' | 'youPay', string>>;
37
37
  }
38
38
  /** Reward applied to a purchase: subtotal / reward / you pay now, or a one-line note. */
39
- export declare function ReferralCreditSummary({ amountLabel, breakdown, labels, testId, testIds, }: ReferralCreditSummaryProps): import("react").JSX.Element;
39
+ export declare function ReferralRewardSummary({ amountLabel, breakdown, labels, testId, testIds, }: ReferralRewardSummaryProps): import("react").JSX.Element;
40
40
  /** One-line note for charges whose exact amount is a proration computed server-side. */
41
- export declare function ReferralCreditNote({ amountLabel, labels, testId, }: {
41
+ export declare function ReferralRewardNote({ amountLabel, labels, testId, }: {
42
42
  amountLabel: string;
43
- labels?: Partial<ReferralCreditLabels>;
44
- /** Default `referral-credit-badge` / `referral-credit-note` per part. */
43
+ labels?: Partial<ReferralRewardLabels>;
44
+ /** Default `referral-reward-badge` / `referral-reward-note` per part. */
45
45
  testId?: string;
46
46
  }): import("react").JSX.Element;
@@ -59,7 +59,7 @@ export interface SubscriptionStatusViewProps {
59
59
  labels?: Partial<SubscriptionStatusLabels>;
60
60
  }
61
61
  export interface SubscriptionStatusLabels {
62
- creditsReset: (date: string) => string;
62
+ aiUsageResets: (date: string) => string;
63
63
  cancelsAtPeriodEnd: string;
64
64
  cancelsAtEndOfBillingPeriod: string;
65
65
  }
@@ -118,7 +118,7 @@ export interface QuotaExceededDialogViewProps {
118
118
  /** Absent while the dialog closes (no usage to show). */
119
119
  usage?: {
120
120
  percent: number;
121
- /** "1,200 credits of 2,000 credits". */
121
+ /** "£7.60 of £10". */
122
122
  readout: string;
123
123
  projectId?: string | null;
124
124
  };
@@ -204,7 +204,7 @@ export declare function UsageActionButton({ label, icon, onClick, }: {
204
204
  icon: ReactNode;
205
205
  onClick: () => void;
206
206
  }): import("react").JSX.Element;
207
- /** "(12% of quota)" after the credits stat label. */
207
+ /** "(12% of quota)" after the AI usage stat label. */
208
208
  export declare function UsageQuotaHint({ children }: {
209
209
  children: ReactNode;
210
210
  }): import("react").JSX.Element;
@@ -8,8 +8,8 @@ export declare const DEFAULT_USAGE_LINE_CHART_LABELS: UsageLineChartLabels;
8
8
  export interface UsageProportionBarLabels {
9
9
  /** Bar tooltip when the metric is tokens: "3k tokens". */
10
10
  tokens: (formatted: string) => string;
11
- /** Bar tooltip when the metric is credits: "1,200 credits". */
12
- credits: (formatted: string) => string;
11
+ /** Bar tooltip when the metric is £: "£12.40". */
12
+ gbp: (formatted: string) => string;
13
13
  /** Row suffix: "3k tok". */
14
14
  tokensShort: (formatted: string) => string;
15
15
  }
@@ -41,17 +41,17 @@ export declare function UsageLineChart({ dates, series, formatDate, formatValue,
41
41
  export declare function UsageLegend({ series }: {
42
42
  series: UsageSeries[];
43
43
  }): import("react").JSX.Element | null;
44
- export type UsageMetric = 'credits' | 'tokens';
44
+ export type UsageMetric = 'gbp' | 'tokens';
45
45
  export interface UsageShare {
46
46
  label: string;
47
47
  /** Raw amount in the active metric, for the bar width. */
48
48
  amount: number;
49
- /** Formatted credits, e.g. "1,200". */
50
- credits: string;
49
+ /** Formatted £ amount, e.g. "£12.40". */
50
+ gbp: string;
51
51
  /** Formatted tokens, e.g. "3k". */
52
52
  tokens: string;
53
53
  }
54
- /** Stacked proportion bar plus a per-item list with credits, tokens and share. */
54
+ /** Stacked proportion bar plus a per-item list with £, tokens and share. */
55
55
  export declare function UsageProportionBar({ items, metric, labels, }: {
56
56
  items: UsageShare[];
57
57
  metric: UsageMetric;
@@ -62,14 +62,10 @@ export interface UsageStat {
62
62
  value: ReactNode;
63
63
  label: ReactNode;
64
64
  }
65
- /** Row of summary tiles (credits, requests, tokens). */
65
+ /** Row of summary tiles (£, requests, tokens). */
66
66
  export declare function UsageSummary({ stats }: {
67
67
  stats: UsageStat[];
68
68
  }): import("react").JSX.Element;
69
- /** Credit coin glyph used beside credit amounts. */
70
- export declare function CreditsGlyph({ className }: {
71
- className?: string;
72
- }): import("react").JSX.Element;
73
69
  export interface UsageToggleProps<T extends string> {
74
70
  value: T;
75
71
  onChange: (value: T) => void;
@@ -42,7 +42,7 @@ export interface WelcomeDialogProps {
42
42
  /** Show the gift icon (a reward balance exists) instead of the sparkles. */
43
43
  hasReward: boolean;
44
44
  /**
45
- * Corner picker naming the project the numbers belong to (credits are per project). The host
45
+ * Corner picker naming the project the numbers belong to (AI usage is per project). The host
46
46
  * supplies it, since the choice of control and its state are the host's.
47
47
  */
48
48
  projectPicker?: ReactNode;
@@ -6,9 +6,9 @@ var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
6
6
  var chunk46IU3UPF_cjs = require('../chunk-46IU3UPF.cjs');
7
7
  var chunkS5HZBXZA_cjs = require('../chunk-S5HZBXZA.cjs');
8
8
  var chunkN26CXGXC_cjs = require('../chunk-N26CXGXC.cjs');
9
- var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
10
9
  var chunkDVUZTGVL_cjs = require('../chunk-DVUZTGVL.cjs');
11
10
  var chunk32HW2Q33_cjs = require('../chunk-32HW2Q33.cjs');
11
+ var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
12
12
  require('../chunk-ADOKTJHV.cjs');
13
13
  require('../chunk-PPCATBOY.cjs');
14
14
  var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
@@ -1497,13 +1497,13 @@ var DEFAULT_PLAN_CARD_LABELS = {
1497
1497
  enterCode: "Enter code",
1498
1498
  pricingExplainer: "How pricing works",
1499
1499
  explainerTiers: [
1500
- "Credits and storage are shared by everyone in the project. Credits reset monthly.",
1501
- "Need more? Add 1,000 credits or 10 GB at a time. Add-ons renew until you remove them.",
1500
+ "AI usage and storage are shared by everyone in the project. AI usage resets monthly.",
1501
+ "Need more? Add \xA310 of AI usage or 10 GB at a time. Add-ons renew until you remove them.",
1502
1502
  "Automatic add-ons stay within your monthly add-on budget (\xA3250 by default, \xA30 turns them off).",
1503
1503
  "Upgrades start now: you pay the difference for the rest of this period. Downgrades start at the end of the period. No refunds.",
1504
1504
  "Prices are shown + VAT; the total for your country is shown before you pay."
1505
1505
  ],
1506
- explainerCredits: "About 1 credit buys one moderately complex request, or reading ~25 documents, on a Standard model. Premium models can cost 10\u2013100\xD7 more.",
1506
+ explainerAiUsage: "About 1p of AI usage buys one moderately complex request, or reading ~25 documents, on a Standard model. Premium models can cost 10\u2013100\xD7 more.",
1507
1507
  seeModelList: "AI model prices \u2192"
1508
1508
  };
1509
1509
  function PlanCard({ plan, onSelect, labels }) {
@@ -1715,7 +1715,7 @@ function PlanInfoPopover({
1715
1715
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base font-semibold", children: l.pricingExplainer }),
1716
1716
  /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "list-disc space-y-1 pl-4", children: l.explainerTiers.map((line) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: line }, line)) }),
1717
1717
  /* @__PURE__ */ jsxRuntime.jsxs("p", { children: [
1718
- l.explainerCredits,
1718
+ l.explainerAiUsage,
1719
1719
  " ",
1720
1720
  /* @__PURE__ */ jsxRuntime.jsx(
1721
1721
  "button",
@@ -1732,7 +1732,7 @@ function PlanInfoPopover({
1732
1732
  )
1733
1733
  ] });
1734
1734
  }
1735
- var DEFAULT_REFERRAL_CREDIT_LABELS = {
1735
+ var DEFAULT_REFERRAL_REWARD_LABELS = {
1736
1736
  badgeTitle: "Reward \u2014 automatically applied to your invoice period",
1737
1737
  badge: (amount) => `${amount} reward`,
1738
1738
  subtotal: "Subtotal",
@@ -1742,18 +1742,18 @@ var DEFAULT_REFERRAL_CREDIT_LABELS = {
1742
1742
  applied: (amount) => `${amount} reward applied automatically to your invoice period.`,
1743
1743
  note: (amount) => `Your ${amount} reward applies to your invoice period.`
1744
1744
  };
1745
- function ReferralCreditBadge({
1745
+ function ReferralRewardBadge({
1746
1746
  amountLabel,
1747
1747
  labels,
1748
1748
  testId
1749
1749
  }) {
1750
- const l = react.useMemo(() => ({ ...DEFAULT_REFERRAL_CREDIT_LABELS, ...labels }), [labels]);
1750
+ const l = react.useMemo(() => ({ ...DEFAULT_REFERRAL_REWARD_LABELS, ...labels }), [labels]);
1751
1751
  return /* @__PURE__ */ jsxRuntime.jsxs(
1752
1752
  "span",
1753
1753
  {
1754
1754
  className: "flex h-8 items-center gap-1.5 rounded-full bg-green-bg px-2.5 text-sm font-medium text-green-text",
1755
1755
  title: l.badgeTitle,
1756
- "data-testid": chunkMHVNT4J3_cjs.testIdOr(testId, { testId: "referral-credit-badge" }),
1756
+ "data-testid": chunkMHVNT4J3_cjs.testIdOr(testId, { testId: "referral-reward-badge" }),
1757
1757
  children: [
1758
1758
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Gift, { className: "h-3.5 w-3.5" }),
1759
1759
  l.badge(amountLabel)
@@ -1761,19 +1761,19 @@ function ReferralCreditBadge({
1761
1761
  }
1762
1762
  );
1763
1763
  }
1764
- function ReferralCreditSummary({
1764
+ function ReferralRewardSummary({
1765
1765
  amountLabel,
1766
1766
  breakdown,
1767
1767
  labels,
1768
1768
  testId,
1769
1769
  testIds
1770
1770
  }) {
1771
- const l = react.useMemo(() => ({ ...DEFAULT_REFERRAL_CREDIT_LABELS, ...labels }), [labels]);
1771
+ const l = react.useMemo(() => ({ ...DEFAULT_REFERRAL_REWARD_LABELS, ...labels }), [labels]);
1772
1772
  return /* @__PURE__ */ jsxRuntime.jsx(
1773
1773
  "div",
1774
1774
  {
1775
1775
  className: "rounded-lg bg-green-bg/60 p-3 text-sm",
1776
- "data-testid": chunkMHVNT4J3_cjs.testIdOr(testId, { testId: "referral-credit-summary" }),
1776
+ "data-testid": chunkMHVNT4J3_cjs.testIdOr(testId, { testId: "referral-reward-summary" }),
1777
1777
  children: breakdown ? /* @__PURE__ */ jsxRuntime.jsxs("dl", { className: "space-y-1 tabular-nums", children: [
1778
1778
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between text-muted-foreground", children: [
1779
1779
  /* @__PURE__ */ jsxRuntime.jsx("dt", { children: l.subtotal }),
@@ -1784,14 +1784,14 @@ function ReferralCreditSummary({
1784
1784
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Gift, { className: "h-3.5 w-3.5" }),
1785
1785
  l.reward
1786
1786
  ] }),
1787
- /* @__PURE__ */ jsxRuntime.jsxs("dd", { "data-testid": chunkMHVNT4J3_cjs.testIdOr(testIds?.applied, { testId: "referral-credit-applied" }), children: [
1787
+ /* @__PURE__ */ jsxRuntime.jsxs("dd", { "data-testid": chunkMHVNT4J3_cjs.testIdOr(testIds?.applied, { testId: "referral-reward-applied" }), children: [
1788
1788
  "\u2212",
1789
1789
  breakdown.reward
1790
1790
  ] })
1791
1791
  ] }),
1792
1792
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t border-green-border pt-1 font-semibold text-foreground", children: [
1793
1793
  /* @__PURE__ */ jsxRuntime.jsx("dt", { children: l.youPayNow }),
1794
- /* @__PURE__ */ jsxRuntime.jsx("dd", { "data-testid": chunkMHVNT4J3_cjs.testIdOr(testIds?.youPay, { testId: "referral-credit-you-pay" }), children: breakdown.youPay })
1794
+ /* @__PURE__ */ jsxRuntime.jsx("dd", { "data-testid": chunkMHVNT4J3_cjs.testIdOr(testIds?.youPay, { testId: "referral-reward-you-pay" }), children: breakdown.youPay })
1795
1795
  ] }),
1796
1796
  breakdown.rollover && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "pt-0.5 text-xs font-normal text-muted-foreground", children: l.rollover(breakdown.rollover) })
1797
1797
  ] }) : /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "flex items-center gap-1.5 font-medium text-green-text", children: [
@@ -1801,17 +1801,17 @@ function ReferralCreditSummary({
1801
1801
  }
1802
1802
  );
1803
1803
  }
1804
- function ReferralCreditNote({
1804
+ function ReferralRewardNote({
1805
1805
  amountLabel,
1806
1806
  labels,
1807
1807
  testId
1808
1808
  }) {
1809
- const l = react.useMemo(() => ({ ...DEFAULT_REFERRAL_CREDIT_LABELS, ...labels }), [labels]);
1809
+ const l = react.useMemo(() => ({ ...DEFAULT_REFERRAL_REWARD_LABELS, ...labels }), [labels]);
1810
1810
  return /* @__PURE__ */ jsxRuntime.jsxs(
1811
1811
  "p",
1812
1812
  {
1813
1813
  className: "flex items-center gap-1.5 text-sm text-green-text",
1814
- "data-testid": chunkMHVNT4J3_cjs.testIdOr(testId, { testId: "referral-credit-note" }),
1814
+ "data-testid": chunkMHVNT4J3_cjs.testIdOr(testId, { testId: "referral-reward-note" }),
1815
1815
  children: [
1816
1816
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Gift, { className: "h-3.5 w-3.5 shrink-0" }),
1817
1817
  l.note(amountLabel)
@@ -2348,7 +2348,7 @@ var DEFAULT_USAGE_LINE_CHART_LABELS = {
2348
2348
  };
2349
2349
  var DEFAULT_USAGE_PROPORTION_BAR_LABELS = {
2350
2350
  tokens: (formatted) => `${formatted} tokens`,
2351
- credits: (formatted) => `${formatted} credits`,
2351
+ gbp: (formatted) => formatted,
2352
2352
  tokensShort: (formatted) => `${formatted} tok`
2353
2353
  };
2354
2354
  var DEFAULT_USAGE_PANEL_LABELS = {
@@ -2505,7 +2505,7 @@ function UsageProportionBar({
2505
2505
  {
2506
2506
  className: ui.cn("h-full first:rounded-l-full last:rounded-r-full", styleAt(i).bg),
2507
2507
  style: { width: `${pct}%` },
2508
- title: `${item.label}: ${metric === "tokens" ? l.tokens(item.tokens) : l.credits(item.credits)}`
2508
+ title: `${item.label}: ${metric === "tokens" ? l.tokens(item.tokens) : l.gbp(item.gbp)}`
2509
2509
  },
2510
2510
  item.label
2511
2511
  );
@@ -2521,17 +2521,14 @@ function UsageProportionBar({
2521
2521
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children: item.label })
2522
2522
  ] }),
2523
2523
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ml-2 flex flex-shrink-0 items-center gap-2 tabular-nums", children: [
2524
- /* @__PURE__ */ jsxRuntime.jsxs(
2524
+ /* @__PURE__ */ jsxRuntime.jsx(
2525
2525
  "span",
2526
2526
  {
2527
2527
  className: ui.cn(
2528
2528
  "flex items-center gap-0.5",
2529
- metric === "credits" ? "font-medium text-muted-foreground" : "text-muted-foreground/60"
2529
+ metric === "gbp" ? "font-medium text-muted-foreground" : "text-muted-foreground/60"
2530
2530
  ),
2531
- children: [
2532
- item.credits,
2533
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.BadgeCent, { className: "h-3 w-3 text-yellow-500" })
2534
- ]
2531
+ children: item.gbp
2535
2532
  }
2536
2533
  ),
2537
2534
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2555,9 +2552,6 @@ function UsageSummary({ stats }) {
2555
2552
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm text-muted-foreground", children: stat.label })
2556
2553
  ] }, stat.key)) });
2557
2554
  }
2558
- function CreditsGlyph({ className }) {
2559
- return /* @__PURE__ */ jsxRuntime.jsx(lucideReact.BadgeCent, { className: ui.cn("h-4 w-4 text-yellow-500", className) });
2560
- }
2561
2555
  function UsageToggle({
2562
2556
  value,
2563
2557
  onChange,
@@ -2623,8 +2617,8 @@ var DEFAULT_INVOICES_DIALOG_LABELS = {
2623
2617
  };
2624
2618
  var DEFAULT_DAILY_CAP_FIELD_LABELS = {
2625
2619
  noLimit: "No limit",
2626
- ariaLabel: "Daily credit limit per collaborator",
2627
- unit: "credits / user / day",
2620
+ ariaLabel: "Daily AI usage limit per collaborator (\xA3)",
2621
+ unit: "\xA3 / user / day",
2628
2622
  save: "Save"
2629
2623
  };
2630
2624
  var DEFAULT_MEMBER_PROJECT_ROW_LABELS = {
@@ -2713,6 +2707,7 @@ function DailyCapField({
2713
2707
  {
2714
2708
  type: "number",
2715
2709
  min: 0,
2710
+ step: 0.01,
2716
2711
  value,
2717
2712
  onChange: (e) => onChange(e.target.value),
2718
2713
  onKeyDown: (e) => {
@@ -3097,7 +3092,7 @@ function PlanActionButton({
3097
3092
  );
3098
3093
  }
3099
3094
  var DEFAULT_SUBSCRIPTION_STATUS_LABELS = {
3100
- creditsReset: (date) => `Credits reset ${date}`,
3095
+ aiUsageResets: (date) => `AI usage resets ${date}`,
3101
3096
  cancelsAtPeriodEnd: "\xB7 Cancels at period end",
3102
3097
  cancelsAtEndOfBillingPeriod: "Cancels at end of billing period"
3103
3098
  };
@@ -3111,7 +3106,7 @@ function SubscriptionStatusView({
3111
3106
  const l = { ...DEFAULT_SUBSCRIPTION_STATUS_LABELS, ...labels };
3112
3107
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "subscription-status", className: "space-y-3", children: [
3113
3108
  resetDate && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-sm text-muted-foreground", children: [
3114
- l.creditsReset(resetDate),
3109
+ l.aiUsageResets(resetDate),
3115
3110
  isCanceling && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ml-2 text-yellow-text", children: l.cancelsAtPeriodEnd })
3116
3111
  ] }),
3117
3112
  !resetDate && isCanceling && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-yellow-text", children: l.cancelsAtEndOfBillingPeriod }),
@@ -3207,9 +3202,9 @@ function CheckoutDialogFrame({
3207
3202
  ) });
3208
3203
  }
3209
3204
  var DEFAULT_QUOTA_EXCEEDED_DIALOG_LABELS = {
3210
- title: "Out of AI credits",
3205
+ title: "AI usage used up",
3211
3206
  projectUsage: "Project usage",
3212
- progress: "AI credits used this month",
3207
+ progress: "AI usage this month",
3213
3208
  project: "Project:",
3214
3209
  close: "Not now",
3215
3210
  upgrade: "Upgrade"
@@ -3673,7 +3668,6 @@ exports.ConnectionsEmpty = ConnectionsEmpty;
3673
3668
  exports.ConnectionsError = ConnectionsError;
3674
3669
  exports.ConnectionsLoading = ConnectionsLoading;
3675
3670
  exports.ConversationTitleSection = ConversationTitleSection;
3676
- exports.CreditsGlyph = CreditsGlyph;
3677
3671
  exports.DEFAULT_CHECKOUT_DIALOG_LABELS = DEFAULT_CHECKOUT_DIALOG_LABELS;
3678
3672
  exports.DEFAULT_CONFIG_SWITCHER_BAR_LABELS = DEFAULT_CONFIG_SWITCHER_BAR_LABELS;
3679
3673
  exports.DEFAULT_CONFIRM_DIALOG_LABELS = DEFAULT_CONFIRM_DIALOG_LABELS;
@@ -3692,7 +3686,7 @@ exports.DEFAULT_PROJECT_CARD_VIEW_LABELS = DEFAULT_PROJECT_CARD_VIEW_LABELS;
3692
3686
  exports.DEFAULT_PROJECT_DETAIL_HEADER_LABELS = DEFAULT_PROJECT_DETAIL_HEADER_LABELS;
3693
3687
  exports.DEFAULT_PROJECT_LIST_LABELS = DEFAULT_PROJECT_LIST_LABELS;
3694
3688
  exports.DEFAULT_QUOTA_EXCEEDED_DIALOG_LABELS = DEFAULT_QUOTA_EXCEEDED_DIALOG_LABELS;
3695
- exports.DEFAULT_REFERRAL_CREDIT_LABELS = DEFAULT_REFERRAL_CREDIT_LABELS;
3689
+ exports.DEFAULT_REFERRAL_REWARD_LABELS = DEFAULT_REFERRAL_REWARD_LABELS;
3696
3690
  exports.DEFAULT_RENAME_DIALOG_LABELS = DEFAULT_RENAME_DIALOG_LABELS;
3697
3691
  exports.DEFAULT_SHARED_PROJECTS_SECTION_LABELS = DEFAULT_SHARED_PROJECTS_SECTION_LABELS;
3698
3692
  exports.DEFAULT_SUBSCRIPTION_SECTION_LABELS = DEFAULT_SUBSCRIPTION_SECTION_LABELS;
@@ -3751,9 +3745,9 @@ exports.ProjectRowActions = ProjectRowActions;
3751
3745
  exports.PromoCodeInput = PromoCodeInput;
3752
3746
  exports.QuotaExceededDialogView = QuotaExceededDialogView;
3753
3747
  exports.QuotaMeter = QuotaMeter;
3754
- exports.ReferralCreditBadge = ReferralCreditBadge;
3755
- exports.ReferralCreditNote = ReferralCreditNote;
3756
- exports.ReferralCreditSummary = ReferralCreditSummary;
3748
+ exports.ReferralRewardBadge = ReferralRewardBadge;
3749
+ exports.ReferralRewardNote = ReferralRewardNote;
3750
+ exports.ReferralRewardSummary = ReferralRewardSummary;
3757
3751
  exports.RenameDialog = RenameDialog;
3758
3752
  exports.RowButton = RowButton;
3759
3753
  exports.RowIconAction = RowIconAction;