@arbidocs/blocks 0.3.184 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +100 -0
- package/dist/agents/approvals/AuthorizeAgentParts.d.ts +79 -0
- package/dist/agents/approvals/ConsentPage.d.ts +76 -0
- package/dist/agents/approvals/ConsentParts.d.ts +37 -0
- package/dist/agents/approvals/index.d.ts +3 -0
- package/dist/agents/config/ConfigField.d.ts +43 -0
- package/dist/agents/config/ConfigForm.d.ts +35 -0
- package/dist/agents/config/TupleArrayField.d.ts +32 -0
- package/dist/agents/config/index.d.ts +4 -0
- package/dist/agents/config/schema-utils.d.ts +28 -0
- package/dist/agents/definitions/AgentCard.d.ts +63 -0
- package/dist/agents/definitions/AgentCreator.d.ts +118 -0
- package/dist/agents/definitions/AgentEditorParts.d.ts +63 -0
- package/dist/agents/definitions/AgentGallery.d.ts +29 -0
- package/dist/agents/definitions/index.d.ts +4 -0
- package/dist/agents/index.cjs +595 -0
- package/dist/agents/index.cjs.map +1 -0
- package/dist/agents/index.d.ts +7 -0
- package/dist/agents/index.js +14 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/agents/runs/AgentBar.d.ts +103 -0
- package/dist/agents/runs/AgentSteps.d.ts +157 -0
- package/dist/agents/runs/SubagentRoster.d.ts +37 -0
- package/dist/agents/runs/index.d.ts +3 -0
- package/dist/agents/skills/SkillBrowserParts.d.ts +70 -0
- package/dist/agents/skills/SkillCard.d.ts +48 -0
- package/dist/agents/skills/SkillForms.d.ts +64 -0
- package/dist/agents/skills/SkillParts.d.ts +31 -0
- package/dist/agents/skills/SkillRow.d.ts +34 -0
- package/dist/agents/skills/index.d.ts +5 -0
- package/dist/agents/tasks/LiveRunsBanner.d.ts +26 -0
- package/dist/agents/tasks/RecurrenceBuilder.d.ts +36 -0
- package/dist/agents/tasks/TaskComposer.d.ts +108 -0
- package/dist/agents/tasks/TaskPlan.d.ts +78 -0
- package/dist/agents/tasks/TaskRowActions.d.ts +43 -0
- package/dist/agents/tasks/TaskRunsDialog.d.ts +45 -0
- package/dist/agents/tasks/TasksChrome.d.ts +36 -0
- package/dist/agents/tasks/UploadTaskItem.d.ts +39 -0
- package/dist/agents/tasks/UploadTaskList.d.ts +35 -0
- package/dist/agents/tasks/elapsed.d.ts +2 -0
- package/dist/agents/tasks/index.d.ts +13 -0
- package/dist/agents/tasks/rrule.d.ts +36 -0
- package/dist/agents/tasks/taskColumns.d.ts +68 -0
- package/dist/agents/tasks/taskLabels.d.ts +26 -0
- package/dist/agents/workflows/AgentSelect.d.ts +33 -0
- package/dist/agents/workflows/SchemaForm.d.ts +37 -0
- package/dist/agents/workflows/WorkflowConfigDialog.d.ts +73 -0
- package/dist/agents/workflows/WorkflowLauncher.d.ts +38 -0
- package/dist/agents/workflows/index.d.ts +6 -0
- package/dist/agents/workflows/types.d.ts +125 -0
- package/dist/agents/workflows/workflow.d.ts +62 -0
- package/dist/auth/AuthFooter.d.ts +56 -0
- package/dist/auth/AuthForm.d.ts +105 -0
- package/dist/auth/AuthLayout.d.ts +46 -0
- package/dist/auth/PasswordStrengthInput.d.ts +44 -0
- package/dist/auth/RecoveryDialogs.d.ts +90 -0
- package/dist/auth/SsoLoginButton.d.ts +19 -0
- package/dist/auth/index.cjs +123 -0
- package/dist/auth/index.cjs.map +1 -0
- package/dist/auth/index.d.ts +6 -0
- package/dist/auth/index.js +6 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/builder/AgentsPanel.d.ts +9 -0
- package/dist/builder/ModuleManager.d.ts +6 -0
- package/dist/builder/VerticalBuilder.d.ts +32 -0
- package/dist/builder/agents/store.d.ts +21 -0
- package/dist/builder/export.d.ts +30 -0
- package/dist/builder/modules/registry.d.ts +11 -0
- package/dist/builder/modules/store.d.ts +29 -0
- package/dist/builder/modules/types.d.ts +29 -0
- package/dist/builder/types.d.ts +28 -0
- package/dist/chat/BranchControls.d.ts +33 -0
- package/dist/chat/Composer.d.ts +156 -0
- package/dist/chat/ContextChip.d.ts +19 -0
- package/dist/chat/ContextPanel.d.ts +108 -0
- package/dist/chat/ConversationEmpty.d.ts +53 -0
- package/dist/chat/ConversationLayout.d.ts +40 -0
- package/dist/chat/ConversationParts.d.ts +62 -0
- package/dist/chat/ConversationSearchView.d.ts +57 -0
- package/dist/chat/LabelPinRow.d.ts +30 -0
- package/dist/chat/Message.d.ts +189 -0
- package/dist/chat/MessageAlert.d.ts +25 -0
- package/dist/chat/MessageList.d.ts +102 -0
- package/dist/chat/ModelPicker.d.ts +103 -0
- package/dist/chat/PendingAnswerBar.d.ts +36 -0
- package/dist/chat/PinnedDocChip.d.ts +22 -0
- package/dist/chat/SlashMenu.d.ts +57 -0
- package/dist/chat/ThreadMap.d.ts +45 -0
- package/dist/chat/index.cjs +423 -0
- package/dist/chat/index.cjs.map +1 -0
- package/dist/chat/index.d.ts +21 -0
- package/dist/chat/index.js +6 -0
- package/dist/chat/index.js.map +1 -0
- package/dist/chat/test-id.d.ts +16 -0
- package/dist/chat/useStreamAnnouncement.d.ts +19 -0
- package/dist/chunk-223D4727.cjs +50 -0
- package/dist/chunk-223D4727.cjs.map +1 -0
- package/dist/chunk-4EZVCGRL.js +803 -0
- package/dist/chunk-4EZVCGRL.js.map +1 -0
- package/dist/chunk-54Q3RNJU.cjs +516 -0
- package/dist/chunk-54Q3RNJU.cjs.map +1 -0
- package/dist/chunk-5B4PXAKI.cjs +287 -0
- package/dist/chunk-5B4PXAKI.cjs.map +1 -0
- package/dist/chunk-5TYEJOXY.js +1762 -0
- package/dist/chunk-5TYEJOXY.js.map +1 -0
- package/dist/chunk-6ALISABK.cjs +677 -0
- package/dist/chunk-6ALISABK.cjs.map +1 -0
- package/dist/chunk-6HIPFEID.cjs +574 -0
- package/dist/chunk-6HIPFEID.cjs.map +1 -0
- package/dist/chunk-76JDDMSP.js +31 -0
- package/dist/chunk-76JDDMSP.js.map +1 -0
- package/dist/chunk-7F6CBP3Z.js +12 -0
- package/dist/chunk-7F6CBP3Z.js.map +1 -0
- package/dist/chunk-7G2LJMUG.cjs +45 -0
- package/dist/chunk-7G2LJMUG.cjs.map +1 -0
- package/dist/chunk-7G3JNSJB.cjs +1809 -0
- package/dist/chunk-7G3JNSJB.cjs.map +1 -0
- package/dist/chunk-A2YAC22G.js +93 -0
- package/dist/chunk-A2YAC22G.js.map +1 -0
- package/dist/chunk-ADOKTJHV.cjs +262 -0
- package/dist/chunk-ADOKTJHV.cjs.map +1 -0
- package/dist/chunk-AXIZ2MDV.js +751 -0
- package/dist/chunk-AXIZ2MDV.js.map +1 -0
- package/dist/chunk-AZQDNYH4.js +2865 -0
- package/dist/chunk-AZQDNYH4.js.map +1 -0
- package/dist/chunk-C54XEN5T.cjs +34 -0
- package/dist/chunk-C54XEN5T.cjs.map +1 -0
- package/dist/chunk-CQCC7LE7.js +210 -0
- package/dist/chunk-CQCC7LE7.js.map +1 -0
- package/dist/chunk-CRIKTUEU.cjs +47 -0
- package/dist/chunk-CRIKTUEU.cjs.map +1 -0
- package/dist/chunk-CTZ5745I.js +564 -0
- package/dist/chunk-CTZ5745I.js.map +1 -0
- package/dist/chunk-DPLRHEJZ.js +78 -0
- package/dist/chunk-DPLRHEJZ.js.map +1 -0
- package/dist/chunk-DVLEQURC.js +672 -0
- package/dist/chunk-DVLEQURC.js.map +1 -0
- package/dist/chunk-ELR74ME6.cjs +68 -0
- package/dist/chunk-ELR74ME6.cjs.map +1 -0
- package/dist/{chunk-DBAUZD7A.cjs → chunk-FZQJ2S6P.cjs} +244 -1123
- package/dist/chunk-FZQJ2S6P.cjs.map +1 -0
- package/dist/chunk-G3G7LZPM.cjs +205 -0
- package/dist/chunk-G3G7LZPM.cjs.map +1 -0
- package/dist/chunk-GDFWJ73C.cjs +2973 -0
- package/dist/chunk-GDFWJ73C.cjs.map +1 -0
- package/dist/chunk-ITGHMJOM.js +5528 -0
- package/dist/chunk-ITGHMJOM.js.map +1 -0
- package/dist/chunk-K4BGOPGG.js +79 -0
- package/dist/chunk-K4BGOPGG.js.map +1 -0
- package/dist/chunk-KUA3BCT2.cjs +272 -0
- package/dist/chunk-KUA3BCT2.cjs.map +1 -0
- package/dist/chunk-LGBAZD37.js +341 -0
- package/dist/chunk-LGBAZD37.js.map +1 -0
- package/dist/chunk-MHVNT4J3.cjs +15 -0
- package/dist/chunk-MHVNT4J3.cjs.map +1 -0
- package/dist/chunk-MMYCZRKT.cjs +168 -0
- package/dist/chunk-MMYCZRKT.cjs.map +1 -0
- package/dist/chunk-NBV56SGU.js +42 -0
- package/dist/chunk-NBV56SGU.js.map +1 -0
- package/dist/chunk-NPLYHR2E.js +13 -0
- package/dist/chunk-NPLYHR2E.js.map +1 -0
- package/dist/chunk-NUNKSZKU.js +203 -0
- package/dist/chunk-NUNKSZKU.js.map +1 -0
- package/dist/chunk-OB5F4577.cjs +40 -0
- package/dist/chunk-OB5F4577.cjs.map +1 -0
- package/dist/chunk-OUW6G4O2.cjs +96 -0
- package/dist/chunk-OUW6G4O2.cjs.map +1 -0
- package/dist/chunk-OVEQERPO.js +66 -0
- package/dist/chunk-OVEQERPO.js.map +1 -0
- package/dist/chunk-P6GHJSLR.js +34 -0
- package/dist/chunk-P6GHJSLR.js.map +1 -0
- package/dist/chunk-PCB2BPN3.cjs +41 -0
- package/dist/chunk-PCB2BPN3.cjs.map +1 -0
- package/dist/chunk-PPCATBOY.cjs +15 -0
- package/dist/chunk-PPCATBOY.cjs.map +1 -0
- package/dist/chunk-QN42OA5J.js +887 -0
- package/dist/chunk-QN42OA5J.js.map +1 -0
- package/dist/{chunk-FZ2S6VAZ.js → chunk-RBXZYNVB.js} +223 -1102
- package/dist/chunk-RBXZYNVB.js.map +1 -0
- package/dist/chunk-RC6VTY2H.js +47 -0
- package/dist/chunk-RC6VTY2H.js.map +1 -0
- package/dist/chunk-RFIBUWLF.cjs +232 -0
- package/dist/chunk-RFIBUWLF.cjs.map +1 -0
- package/dist/chunk-S5T7ZTX2.js +266 -0
- package/dist/chunk-S5T7ZTX2.js.map +1 -0
- package/dist/chunk-S7PSMMRG.js +38 -0
- package/dist/chunk-S7PSMMRG.js.map +1 -0
- package/dist/chunk-SCFYPAG6.cjs +18 -0
- package/dist/chunk-SCFYPAG6.cjs.map +1 -0
- package/dist/chunk-SYDHKKRZ.cjs +818 -0
- package/dist/chunk-SYDHKKRZ.cjs.map +1 -0
- package/dist/chunk-TX2ZICS7.js +139 -0
- package/dist/chunk-TX2ZICS7.js.map +1 -0
- package/dist/chunk-TYZUCAT7.js +787 -0
- package/dist/chunk-TYZUCAT7.js.map +1 -0
- package/dist/chunk-U2E3WT3J.js +45 -0
- package/dist/chunk-U2E3WT3J.js.map +1 -0
- package/dist/chunk-UBNVIIBT.js +284 -0
- package/dist/chunk-UBNVIIBT.js.map +1 -0
- package/dist/chunk-UFHMLHIR.cjs +66 -0
- package/dist/chunk-UFHMLHIR.cjs.map +1 -0
- package/dist/chunk-UJE32SST.js +39 -0
- package/dist/chunk-UJE32SST.js.map +1 -0
- package/dist/chunk-ULWRNGGE.cjs +146 -0
- package/dist/chunk-ULWRNGGE.cjs.map +1 -0
- package/dist/chunk-UTWX2X2A.js +165 -0
- package/dist/chunk-UTWX2X2A.js.map +1 -0
- package/dist/chunk-UWGIB3VQ.js +64 -0
- package/dist/chunk-UWGIB3VQ.js.map +1 -0
- package/dist/chunk-V4ISCZJ7.cjs +207 -0
- package/dist/chunk-V4ISCZJ7.cjs.map +1 -0
- package/dist/chunk-VFUWWH52.cjs +83 -0
- package/dist/chunk-VFUWWH52.cjs.map +1 -0
- package/dist/chunk-VILAPTCB.js +259 -0
- package/dist/chunk-VILAPTCB.js.map +1 -0
- package/dist/chunk-VLCY46K6.cjs +82 -0
- package/dist/chunk-VLCY46K6.cjs.map +1 -0
- package/dist/chunk-VPPX5XUF.cjs +813 -0
- package/dist/chunk-VPPX5XUF.cjs.map +1 -0
- package/dist/chunk-WJMEXTVD.cjs +122 -0
- package/dist/chunk-WJMEXTVD.cjs.map +1 -0
- package/dist/chunk-WTNMWEBC.js +504 -0
- package/dist/chunk-WTNMWEBC.js.map +1 -0
- package/dist/chunk-WW6EOVZA.js +112 -0
- package/dist/chunk-WW6EOVZA.js.map +1 -0
- package/dist/chunk-XNBAXRY7.cjs +5673 -0
- package/dist/chunk-XNBAXRY7.cjs.map +1 -0
- package/dist/chunk-XQ7PKKDY.cjs +787 -0
- package/dist/chunk-XQ7PKKDY.cjs.map +1 -0
- package/dist/chunk-XZIYRKLW.cjs +347 -0
- package/dist/chunk-XZIYRKLW.cjs.map +1 -0
- package/dist/chunk-YBXCZEWS.js +187 -0
- package/dist/chunk-YBXCZEWS.js.map +1 -0
- package/dist/chunk-YDHO4AVL.js +16 -0
- package/dist/chunk-YDHO4AVL.js.map +1 -0
- package/dist/chunk-ZORQ5M3W.cjs +934 -0
- package/dist/chunk-ZORQ5M3W.cjs.map +1 -0
- package/dist/chunk-ZW6FPIFC.cjs +36 -0
- package/dist/chunk-ZW6FPIFC.cjs.map +1 -0
- package/dist/citations/CitationEditor.d.ts +58 -0
- package/dist/citations/PassagePill.d.ts +49 -0
- package/dist/citations/QuietMarks.d.ts +81 -0
- package/dist/citations/index.cjs +47 -0
- package/dist/citations/index.cjs.map +1 -0
- package/dist/citations/index.d.ts +3 -0
- package/dist/citations/index.js +6 -0
- package/dist/citations/index.js.map +1 -0
- package/dist/collaboration/contacts/AddContactsParts.d.ts +46 -0
- package/dist/collaboration/contacts/index.d.ts +1 -0
- package/dist/collaboration/direct-messages/DirectMessages.d.ts +33 -0
- package/dist/collaboration/direct-messages/DmParts.d.ts +139 -0
- package/dist/collaboration/direct-messages/index.d.ts +2 -0
- package/dist/collaboration/index.cjs +141 -0
- package/dist/collaboration/index.cjs.map +1 -0
- package/dist/collaboration/index.d.ts +5 -0
- package/dist/collaboration/index.js +8 -0
- package/dist/collaboration/index.js.map +1 -0
- package/dist/collaboration/mail/MailFolderTree.d.ts +34 -0
- package/dist/collaboration/mail/index.d.ts +2 -0
- package/dist/collaboration/mail/mailFolders.d.ts +25 -0
- package/dist/collaboration/members/WorkspaceMembers.d.ts +74 -0
- package/dist/collaboration/members/index.d.ts +1 -0
- package/dist/collaboration/sharing/ShareControl.d.ts +38 -0
- package/dist/collaboration/sharing/index.d.ts +1 -0
- package/dist/components/Accordion.d.ts +12 -0
- package/dist/components/ActionLink.d.ts +18 -0
- package/dist/components/AskBar.d.ts +48 -0
- package/dist/components/AvatarBlock.d.ts +9 -0
- package/dist/components/Banner.d.ts +12 -0
- package/dist/components/BlockImage.d.ts +18 -0
- package/dist/components/CTABanner.d.ts +17 -0
- package/dist/components/Callout.d.ts +9 -0
- package/dist/components/Chart.d.ts +27 -0
- package/dist/components/CollectionDetail.d.ts +23 -0
- package/dist/components/Columns.d.ts +11 -0
- package/dist/components/ContactForm.d.ts +42 -0
- package/dist/components/Container.d.ts +11 -0
- package/dist/components/DataTable.d.ts +47 -0
- package/dist/components/DataTableBlock.d.ts +26 -0
- package/dist/components/EmptyState.d.ts +11 -0
- package/dist/components/EntityChip.d.ts +24 -0
- package/dist/components/EntityIdentityBar.d.ts +90 -0
- package/dist/components/EntityTooltip.d.ts +43 -0
- package/dist/components/FAQ.d.ts +14 -0
- package/dist/components/FeatureGrid.d.ts +18 -0
- package/dist/components/Footer.d.ts +25 -0
- package/dist/components/Gallery.d.ts +15 -0
- package/dist/components/Hero.d.ts +35 -0
- package/dist/components/ListBlock.d.ts +10 -0
- package/dist/components/LogoCloud.d.ts +12 -0
- package/dist/components/MediaText.d.ts +15 -0
- package/dist/components/MemberAvatarStack.d.ts +36 -0
- package/dist/components/MetricCard.d.ts +28 -0
- package/dist/components/Navbar.d.ts +39 -0
- package/dist/components/PageHeader.d.ts +15 -0
- package/dist/components/PricingTable.d.ts +19 -0
- package/dist/components/RichTextBlock.d.ts +10 -0
- package/dist/components/SectionHeading.d.ts +11 -0
- package/dist/components/Spacer.d.ts +7 -0
- package/dist/components/StatGroup.d.ts +12 -0
- package/dist/components/Steps.d.ts +12 -0
- package/dist/components/Tabs.d.ts +15 -0
- package/dist/components/TeamGrid.d.ts +18 -0
- package/dist/components/Testimonial.d.ts +9 -0
- package/dist/components/TestimonialGrid.d.ts +13 -0
- package/dist/components/ToneBadge.d.ts +18 -0
- package/dist/components/Toolbar.d.ts +11 -0
- package/dist/components/UsageMeter.d.ts +21 -0
- package/dist/components/VideoEmbed.d.ts +16 -0
- package/dist/components/assetImage.d.ts +16 -0
- package/dist/components/assetResolver.d.ts +57 -0
- package/dist/components/blockLink.d.ts +26 -0
- package/dist/components/tones.d.ts +14 -0
- package/dist/connect/index.cjs +65 -0
- package/dist/connect/index.cjs.map +1 -0
- package/dist/connect/index.d.ts +8 -0
- package/dist/connect/index.js +28 -0
- package/dist/connect/index.js.map +1 -0
- package/dist/connection/ArbiAppProvider.d.ts +16 -0
- package/dist/connection/ConnectionProvider.d.ts +50 -0
- package/dist/connection/ai.d.ts +99 -0
- package/dist/connection/types.d.ts +54 -0
- package/dist/connection/useImageGen.d.ts +22 -0
- package/dist/facts/FactComposer.d.ts +75 -0
- package/dist/facts/FactDateInput.d.ts +34 -0
- package/dist/facts/FactLabelsCell.d.ts +35 -0
- package/dist/facts/FactPassages.d.ts +52 -0
- package/dist/facts/FactRowActions.d.ts +18 -0
- package/dist/facts/FactSearchParts.d.ts +80 -0
- package/dist/facts/FactSourceGroup.d.ts +26 -0
- package/dist/facts/FactTimelineViews.d.ts +37 -0
- package/dist/facts/FactsBulkBar.d.ts +53 -0
- package/dist/facts/FactsEmptyState.d.ts +38 -0
- package/dist/facts/FactsFieldsButton.d.ts +21 -0
- package/dist/facts/FactsFilterInput.d.ts +46 -0
- package/dist/facts/FactsTable.d.ts +28 -0
- package/dist/facts/FactsToolbar.d.ts +53 -0
- package/dist/facts/FactsViewToggle.d.ts +36 -0
- package/dist/facts/fact-date.d.ts +22 -0
- package/dist/facts/fact-text.d.ts +14 -0
- package/dist/facts/factColumns.d.ts +88 -0
- package/dist/facts/index.cjs +2372 -0
- package/dist/facts/index.cjs.map +1 -0
- package/dist/facts/index.d.ts +34 -0
- package/dist/facts/index.js +2316 -0
- package/dist/facts/index.js.map +1 -0
- package/dist/facts/timezone.d.ts +4 -0
- package/dist/files/AiReviewDialog.d.ts +77 -0
- package/dist/files/DocStatusIcon.d.ts +12 -0
- package/dist/files/DocumentGrid.d.ts +27 -0
- package/dist/files/Explorer.d.ts +10 -0
- package/dist/files/ExplorerSurface.d.ts +34 -0
- package/dist/files/ExplorerTile.d.ts +142 -0
- package/dist/files/ExportParts.d.ts +114 -0
- package/dist/files/FieldParts.d.ts +64 -0
- package/dist/files/FilesPage.d.ts +20 -0
- package/dist/files/FilesToolbar.d.ts +59 -0
- package/dist/files/FolderPicker.d.ts +82 -0
- package/dist/files/GridView.d.ts +59 -0
- package/dist/files/HtmlViewerParts.d.ts +183 -0
- package/dist/files/MoveToFolderDialog.d.ts +32 -0
- package/dist/files/RedlineParts.d.ts +72 -0
- package/dist/files/SelectionBar.d.ts +65 -0
- package/dist/files/StatusPill.d.ts +23 -0
- package/dist/files/TagPassagePanel.d.ts +60 -0
- package/dist/files/UploadDropzone.d.ts +33 -0
- package/dist/files/UploadFooter.d.ts +59 -0
- package/dist/files/UploadParts.d.ts +78 -0
- package/dist/files/UploadSources.d.ts +77 -0
- package/dist/files/VersionTimeline.d.ts +60 -0
- package/dist/files/ViewToggle.d.ts +49 -0
- package/dist/files/ViewerChrome.d.ts +155 -0
- package/dist/files/ViewerLayout.d.ts +32 -0
- package/dist/files/ViewerParts.d.ts +62 -0
- package/dist/files/bulk/BulkActionsBar.d.ts +76 -0
- package/dist/files/bulk/FolderFilterButton.d.ts +35 -0
- package/dist/files/bulk/index.d.ts +2 -0
- package/dist/files/cells/DocumentNameCell.d.ts +31 -0
- package/dist/files/cells/FolderCell.d.ts +25 -0
- package/dist/files/cells/HoverIconCell.d.ts +21 -0
- package/dist/files/cells/LabelMultiSelect.d.ts +50 -0
- package/dist/files/cells/RelatedDocsCell.d.ts +22 -0
- package/dist/files/cells/TagColumnParts.d.ts +29 -0
- package/dist/files/cells/index.d.ts +6 -0
- package/dist/files/documentGridLayout.d.ts +31 -0
- package/dist/files/grid-test-ids.d.ts +18 -0
- package/dist/files/import/CalendarImportRow.d.ts +26 -0
- package/dist/files/import/ImportParts.d.ts +114 -0
- package/dist/files/import/TaskSection.d.ts +51 -0
- package/dist/files/import/UrlInputDialogView.d.ts +63 -0
- package/dist/files/import/VendorLogo.d.ts +15 -0
- package/dist/files/import/index.d.ts +5 -0
- package/dist/files/index.cjs +7589 -0
- package/dist/files/index.cjs.map +1 -0
- package/dist/files/index.d.ts +34 -0
- package/dist/files/index.js +7374 -0
- package/dist/files/index.js.map +1 -0
- package/dist/files/page/FilesAddMenu.d.ts +30 -0
- package/dist/files/page/FilesPageParts.d.ts +24 -0
- package/dist/files/page/FilesPageTitle.d.ts +24 -0
- package/dist/files/page/index.d.ts +3 -0
- package/dist/files/tags/BulkTagEditor.d.ts +136 -0
- package/dist/files/tags/DocTagPopover.d.ts +113 -0
- package/dist/files/tags/TagManager.d.ts +54 -0
- package/dist/files/tags/index.d.ts +3 -0
- package/dist/files/views/FieldsEditorParts.d.ts +151 -0
- package/dist/files/views/FieldsManagerParts.d.ts +17 -0
- package/dist/files/views/TagFormParts.d.ts +109 -0
- package/dist/files/views/ViewSelectorMenu.d.ts +66 -0
- package/dist/files/views/fieldsEditorModel.d.ts +43 -0
- package/dist/files/views/index.d.ts +5 -0
- package/dist/home/ActionMenuDialog.d.ts +26 -0
- package/dist/home/AddFilesFirst.d.ts +22 -0
- package/dist/home/CardHeaderBar.d.ts +40 -0
- package/dist/home/CollapsibleSection.d.ts +43 -0
- package/dist/home/CreateTile.d.ts +17 -0
- package/dist/home/DashboardParts.d.ts +32 -0
- package/dist/home/FactsStrip.d.ts +41 -0
- package/dist/home/FoldSection.d.ts +19 -0
- package/dist/home/GettingStartedStrip.d.ts +49 -0
- package/dist/home/Greeting.d.ts +18 -0
- package/dist/home/HomeLayout.d.ts +28 -0
- package/dist/home/KeyValueRow.d.ts +43 -0
- package/dist/home/ProjectBandParts.d.ts +70 -0
- package/dist/home/QuickActionDialogHeader.d.ts +21 -0
- package/dist/home/RecentList.d.ts +48 -0
- package/dist/home/ScopePicker.d.ts +65 -0
- package/dist/home/StartTiles.d.ts +33 -0
- package/dist/home/index.cjs +854 -0
- package/dist/home/index.cjs.map +1 -0
- package/dist/home/index.d.ts +37 -0
- package/dist/home/index.js +763 -0
- package/dist/home/index.js.map +1 -0
- package/dist/home/sections.d.ts +33 -0
- package/dist/index.cjs +1932 -5547
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +71 -1716
- package/dist/index.js +142 -5316
- package/dist/index.js.map +1 -1
- package/dist/lib/balanced-columns.d.ts +8 -0
- package/dist/lib/format.d.ts +37 -0
- package/dist/lib/observe-resize.d.ts +6 -0
- package/dist/lib/password-strength.d.ts +24 -0
- package/dist/lib/sidebar-mode.d.ts +46 -0
- package/dist/lib/testid.d.ts +7 -0
- package/dist/lib/use-drawer.d.ts +11 -0
- package/dist/lib/useControllableState.d.ts +5 -0
- package/dist/lib/useDismissibleCard.d.ts +15 -0
- package/dist/lib/useListKeyNav.d.ts +42 -0
- package/dist/lib/useLongPaste.d.ts +15 -0
- package/dist/lib/useRestoreFocus.d.ts +11 -0
- package/dist/lib/useScopeSelection.d.ts +34 -0
- package/dist/nav/types.d.ts +19 -0
- package/dist/provider/BlocksProvider.d.ts +20 -0
- package/dist/provider/TooltipScope.d.ts +9 -0
- package/dist/record/index.cjs +2 -4
- package/dist/record/index.cjs.map +1 -1
- package/dist/record/index.d.ts +12 -16
- package/dist/record/index.js +2 -4
- package/dist/record/index.js.map +1 -1
- package/dist/retrieval/HighlightText.d.ts +21 -0
- package/dist/retrieval/SearchEmptyState.d.ts +39 -0
- package/dist/retrieval/SearchGroupHeader.d.ts +21 -0
- package/dist/retrieval/SearchHit.d.ts +36 -0
- package/dist/retrieval/SearchPage.d.ts +187 -0
- package/dist/retrieval/SearchPagination.d.ts +21 -0
- package/dist/retrieval/highlight.d.ts +21 -0
- package/dist/retrieval/index.cjs +160 -0
- package/dist/retrieval/index.cjs.map +1 -0
- package/dist/retrieval/index.d.ts +7 -0
- package/dist/retrieval/index.js +7 -0
- package/dist/retrieval/index.js.map +1 -0
- package/dist/settings/AccountDialogs.d.ts +89 -0
- package/dist/settings/AvatarPicker.d.ts +25 -0
- package/dist/settings/Billing.d.ts +113 -0
- package/dist/settings/ConfigSwitcherBar.d.ts +46 -0
- package/dist/settings/ConfirmDialog.d.ts +28 -0
- package/dist/settings/ConnectionCard.d.ts +58 -0
- package/dist/settings/ConversationSettingsParts.d.ts +53 -0
- package/dist/settings/DocumentPicker.d.ts +57 -0
- package/dist/settings/EmailWorkspaceDialogView.d.ts +60 -0
- package/dist/settings/ErrorDialog.d.ts +36 -0
- package/dist/settings/FloatingPanel.d.ts +32 -0
- package/dist/settings/JsonTree.d.ts +24 -0
- package/dist/settings/LogoutDialog.d.ts +51 -0
- package/dist/settings/ModalBreadcrumbHeader.d.ts +32 -0
- package/dist/settings/ModalScaffold.d.ts +60 -0
- package/dist/settings/MultiSelect.d.ts +111 -0
- package/dist/settings/NotificationCategoryList.d.ts +26 -0
- package/dist/settings/PanelFrame.d.ts +47 -0
- package/dist/settings/PasswordChangeDialog.d.ts +64 -0
- package/dist/settings/PlanBadge.d.ts +14 -0
- package/dist/settings/PlanCard.d.ts +97 -0
- package/dist/settings/PremiumModelsFrame.d.ts +17 -0
- package/dist/settings/ProfileCard.d.ts +67 -0
- package/dist/settings/Projects.d.ts +108 -0
- package/dist/settings/QuotaMeter.d.ts +31 -0
- package/dist/settings/ReferralCredit.d.ts +46 -0
- package/dist/settings/SegmentedControl.d.ts +20 -0
- package/dist/settings/ServerConnectionControls.d.ts +31 -0
- package/dist/settings/SettingsPanel.d.ts +61 -0
- package/dist/settings/SettingsSwitchRow.d.ts +21 -0
- package/dist/settings/SubscriptionParts.d.ts +215 -0
- package/dist/settings/SupportPanel.d.ts +32 -0
- package/dist/settings/SyncDialogParts.d.ts +155 -0
- package/dist/settings/ThreadPreviewDialog.d.ts +18 -0
- package/dist/settings/TipsEditorDialog.d.ts +94 -0
- package/dist/settings/TriStateFilterMenu.d.ts +66 -0
- package/dist/settings/Usage.d.ts +102 -0
- package/dist/settings/WelcomeDialog.d.ts +79 -0
- package/dist/settings/index.cjs +5131 -0
- package/dist/settings/index.cjs.map +1 -0
- package/dist/settings/index.d.ts +38 -0
- package/dist/settings/index.js +4922 -0
- package/dist/settings/index.js.map +1 -0
- package/dist/shell/ActionCluster.d.ts +28 -0
- package/dist/shell/AskField.d.ts +71 -0
- package/dist/shell/InfoBar.d.ts +20 -0
- package/dist/shell/MobileBars.d.ts +47 -0
- package/dist/shell/OfflinePill.d.ts +28 -0
- package/dist/shell/RemoteControlPill.d.ts +23 -0
- package/dist/shell/Shell.d.ts +123 -0
- package/dist/shell/Sidebar.d.ts +104 -0
- package/dist/shell/SidebarBadgeRow.d.ts +29 -0
- package/dist/shell/SidebarRowAction.d.ts +24 -0
- package/dist/shell/StatusRow.d.ts +20 -0
- package/dist/shell/TabHeader.d.ts +70 -0
- package/dist/shell/TipCard.d.ts +46 -0
- package/dist/shell/ToolButton.d.ts +12 -0
- package/dist/shell/Workspace.d.ts +90 -0
- package/dist/shell/index.cjs +187 -0
- package/dist/shell/index.cjs.map +1 -0
- package/dist/shell/index.d.ts +20 -0
- package/dist/shell/index.js +10 -0
- package/dist/shell/index.js.map +1 -0
- package/dist/shell/sidebar-context.d.ts +19 -0
- package/dist/shell/types.d.ts +48 -0
- package/dist/site/index.cjs +113 -90
- package/dist/site/index.d.ts +59 -4
- package/dist/site/index.js +8 -1
- package/dist/studio/PageRenderer.d.ts +35 -0
- package/dist/studio/Section.d.ts +24 -0
- package/dist/studio/StudioEditor.d.ts +32 -0
- package/dist/studio/aiFields.d.ts +17 -0
- package/dist/studio/blockKit.d.ts +36 -0
- package/dist/studio/blocksConfig.d.ts +42 -0
- package/dist/studio/imageFields.d.ts +14 -0
- package/dist/studio/index.cjs +3353 -0
- package/dist/studio/index.cjs.map +1 -0
- package/dist/studio/index.d.ts +32 -0
- package/dist/studio/index.js +3297 -0
- package/dist/studio/index.js.map +1 -0
- package/dist/studio/liveData.d.ts +4 -0
- package/dist/studio/liveWidgetRuntime.d.ts +41 -0
- package/dist/studio/persistence.d.ts +38 -0
- package/dist/studio/publish.d.ts +39 -0
- package/dist/studio/siteBlocks.d.ts +14 -0
- package/dist/studio/types.d.ts +46 -0
- package/dist/studio/websiteBlocks.d.ts +4 -0
- package/dist/studio/widgets.d.ts +20 -0
- package/dist/theme/ThemeEditor.d.ts +16 -0
- package/dist/theme/fontPairings.d.ts +48 -0
- package/dist/theme/store.d.ts +53 -0
- package/dist/theme/tokens.d.ts +105 -0
- package/dist/timeline/Timeline.d.ts +27 -0
- package/dist/timeline/TimelineCalendar.d.ts +54 -0
- package/dist/timeline/TimelineGantt.d.ts +71 -0
- package/dist/timeline/TimelineZoomControl.d.ts +17 -0
- package/dist/timeline/index.cjs +50 -0
- package/dist/timeline/index.cjs.map +1 -0
- package/dist/timeline/index.d.ts +13 -0
- package/dist/timeline/index.js +5 -0
- package/dist/timeline/index.js.map +1 -0
- package/dist/timeline/span.d.ts +29 -0
- package/dist/timeline/types.d.ts +30 -0
- package/dist/workspaces/WorkspaceBadges.d.ts +27 -0
- package/dist/workspaces/WorkspaceCard.d.ts +142 -0
- package/dist/workspaces/WorkspaceFormParts.d.ts +98 -0
- package/dist/workspaces/WorkspaceGroup.d.ts +31 -0
- package/dist/workspaces/WorkspaceSettingsParts.d.ts +70 -0
- package/dist/workspaces/index.cjs +690 -0
- package/dist/workspaces/index.cjs.map +1 -0
- package/dist/workspaces/index.d.ts +9 -0
- package/dist/workspaces/index.js +661 -0
- package/dist/workspaces/index.js.map +1 -0
- package/package.json +164 -9
- package/src/blocks.css +348 -0
- package/src/components/grid.css +60 -107
- package/src/source.css +20 -0
- package/src/studio/studio.css +3 -3
- package/src/tokens.css +226 -0
- package/dist/chunk-DBAUZD7A.cjs.map +0 -1
- package/dist/chunk-FZ2S6VAZ.js.map +0 -1
- package/dist/index-DduoEosi.d.cts +0 -846
- package/dist/index-DduoEosi.d.ts +0 -846
- package/dist/index.d.cts +0 -1717
- package/dist/record/index.d.cts +0 -96
- package/dist/site/index.d.cts +0 -4
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export { ACTION_LABELS, 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, 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_LIVE_RUNS_BANNER_LABELS, DEFAULT_RECURRENCE, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SCHEMA_FORM_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_COLUMN_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_ROW_ACTIONS_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, EMPTY_WORKFLOW_SCOPE, GoalCriteria, LiveRunsBanner, NewTaskEmptyAction, RecurrenceBuilder, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, STATUS_LABELS, SchemaForm, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TRIGGER_LABELS, TaskComposer, TaskPlan, TaskRowActions, TaskRunsDialog, TasksBulkBar, TasksToolbar, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WorkflowConfigDialog, WorkflowLauncher, buildLaunch, buildRRule, composeWorkflowPrompt, createTaskColumns, defaultInputs, defaultTaskComposerValues, deriveAgentName, describeRRule, formatElapsed, goalProgress, humanizeSection, inferType, inputsFromContext, isEmptyWorkflowScope, isOutOfBounds, isValidAgentName, isWorkflowScope, nextCriterionId, parseRRule, prettifyKey, promptFieldName, skillToWorkflow, statusBadgeVariant, summarizeAgent, summarizeCapabilities, validateInputs, workflowAccepts, workflowFromFrontmatter, workflowsAccepting, workflowsForHost } from '../chunk-ITGHMJOM.js';
|
|
3
|
+
import '../chunk-WTNMWEBC.js';
|
|
4
|
+
import '../chunk-CQCC7LE7.js';
|
|
5
|
+
import '../chunk-P6GHJSLR.js';
|
|
6
|
+
import '../chunk-S7PSMMRG.js';
|
|
7
|
+
import '../chunk-TX2ZICS7.js';
|
|
8
|
+
import '../chunk-NUNKSZKU.js';
|
|
9
|
+
import '../chunk-UBNVIIBT.js';
|
|
10
|
+
import '../chunk-NPLYHR2E.js';
|
|
11
|
+
import '../chunk-76JDDMSP.js';
|
|
12
|
+
import '../chunk-7F6CBP3Z.js';
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { type ButtonHTMLAttributes, type ReactNode, type Ref, type UIEventHandler } from 'react';
|
|
2
|
+
/** Every fixed string of the agent bar parts. Pass a partial `labels` to a part to reword. */
|
|
3
|
+
export interface AgentBarLabels {
|
|
4
|
+
steps: string;
|
|
5
|
+
hideSteps: string;
|
|
6
|
+
showSteps: string;
|
|
7
|
+
/** Step toggle text: "Step 3". */
|
|
8
|
+
stepN: (count: number) => string;
|
|
9
|
+
checkingIn: string;
|
|
10
|
+
agentActions: string;
|
|
11
|
+
queuedMessage: string;
|
|
12
|
+
statusUpdate: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const DEFAULT_AGENT_BAR_LABELS: AgentBarLabels;
|
|
15
|
+
export interface AgentBarProps {
|
|
16
|
+
/** The turn is still running (tonal surface); a settled bar is a hairline outline. */
|
|
17
|
+
isStreaming: boolean;
|
|
18
|
+
testId?: string;
|
|
19
|
+
/** Mirrors run-control state onto `data-control-state`. */
|
|
20
|
+
controlState?: string;
|
|
21
|
+
/** Number of rows the steps drawer would show; 0 hides the toggle. */
|
|
22
|
+
stepCount: number;
|
|
23
|
+
isDrawerOpen: boolean;
|
|
24
|
+
onToggleDrawer: () => void;
|
|
25
|
+
/** The steps list. Rendered in a drawer that opens UPWARD above the bar row. */
|
|
26
|
+
drawer?: ReactNode;
|
|
27
|
+
drawerRef?: Ref<HTMLDivElement>;
|
|
28
|
+
onDrawerScroll?: UIEventHandler<HTMLDivElement>;
|
|
29
|
+
/** Left: what the agent is doing now ({@link AgentBarStatus}), or "Answered in Xs". */
|
|
30
|
+
status: ReactNode;
|
|
31
|
+
/** Run totals (tool calls) shown beside the controls. */
|
|
32
|
+
stats?: ReactNode;
|
|
33
|
+
/** Right: Stop and the actions menu. */
|
|
34
|
+
controls?: ReactNode;
|
|
35
|
+
/** Under the bar row: queued message, status-update answer. */
|
|
36
|
+
below?: ReactNode;
|
|
37
|
+
className?: string;
|
|
38
|
+
labels?: Partial<AgentBarLabels>;
|
|
39
|
+
/** Test id of the steps toggle. */
|
|
40
|
+
stepsToggleTestId?: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The agent turn bar: current step + timer, steps drawer, stop and actions. One chrome for the
|
|
44
|
+
* live bar above the composer and the settled bar inside a message, so it is learned once.
|
|
45
|
+
*/
|
|
46
|
+
export declare function AgentBar({ isStreaming, testId, controlState, stepCount, isDrawerOpen, onToggleDrawer, drawer, drawerRef, onDrawerScroll, status, stats, controls, below, className, labels, stepsToggleTestId, }: AgentBarProps): import("react").JSX.Element;
|
|
47
|
+
export type AgentBarState = 'pausing' | 'paused' | 'resuming';
|
|
48
|
+
export interface AgentBarStatusProps {
|
|
49
|
+
/** Run-control state other than `running`. */
|
|
50
|
+
state?: AgentBarState;
|
|
51
|
+
stateLabel?: string;
|
|
52
|
+
/** A status probe is awaiting the agent's answer. */
|
|
53
|
+
isProbing?: boolean;
|
|
54
|
+
/** Waiting on delegated sub-agents: names who. */
|
|
55
|
+
waitingLabel?: string;
|
|
56
|
+
/** Current step: icon + description. */
|
|
57
|
+
stepLabel?: string;
|
|
58
|
+
stepIcon?: ReactNode;
|
|
59
|
+
/** Live elapsed-seconds ticker. */
|
|
60
|
+
timer?: ReactNode;
|
|
61
|
+
labels?: Partial<AgentBarLabels>;
|
|
62
|
+
/** Per-variant test ids; defaults are the current ids. */
|
|
63
|
+
testIds?: Partial<{
|
|
64
|
+
control: string;
|
|
65
|
+
probe: string;
|
|
66
|
+
waiting: string;
|
|
67
|
+
step: string;
|
|
68
|
+
}>;
|
|
69
|
+
}
|
|
70
|
+
/** The left-hand status line. Exactly one of its variants renders, in priority order. */
|
|
71
|
+
export declare function AgentBarStatus({ state, stateLabel, isProbing, waitingLabel, stepLabel, stepIcon, timer, labels, testIds, }: AgentBarStatusProps): import("react").JSX.Element;
|
|
72
|
+
/** Small icon button in the bar's control cluster (44px on touch). */
|
|
73
|
+
export declare const AgentBarIconButton: import("react").ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
74
|
+
export interface AgentBarMenuItem {
|
|
75
|
+
id: string;
|
|
76
|
+
label: string;
|
|
77
|
+
icon?: ReactNode;
|
|
78
|
+
onSelect: () => void;
|
|
79
|
+
disabled?: boolean;
|
|
80
|
+
testId?: string;
|
|
81
|
+
}
|
|
82
|
+
/** The ⋮ menu. Non-modal: the composer stays usable while it is open. */
|
|
83
|
+
export declare function AgentBarMenu({ items, labels, testId, }: {
|
|
84
|
+
items: ReadonlyArray<AgentBarMenuItem>;
|
|
85
|
+
labels?: Partial<AgentBarLabels>;
|
|
86
|
+
testId?: string;
|
|
87
|
+
}): import("react").JSX.Element;
|
|
88
|
+
/** Wrapper for the notes under the bar row. */
|
|
89
|
+
export declare function AgentBarNotes({ children, className, }: {
|
|
90
|
+
children: ReactNode;
|
|
91
|
+
className?: string;
|
|
92
|
+
}): import("react").JSX.Element;
|
|
93
|
+
export declare function AgentBarQueuedNote({ text, isAcknowledged, labels, testId, }: {
|
|
94
|
+
text: string;
|
|
95
|
+
isAcknowledged: boolean;
|
|
96
|
+
labels?: Partial<AgentBarLabels>;
|
|
97
|
+
testId?: string;
|
|
98
|
+
}): import("react").JSX.Element;
|
|
99
|
+
export declare function AgentBarProbeAnswer({ answer, labels, testId, }: {
|
|
100
|
+
answer: string;
|
|
101
|
+
labels?: Partial<AgentBarLabels>;
|
|
102
|
+
testId?: string;
|
|
103
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface StepTraceProps {
|
|
3
|
+
/** The rows (StepRow / SubAgentLane). */
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/** Totals footer (see StepTraceSummary). */
|
|
6
|
+
summary?: ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
/** Root id (default `agent-steps`). */
|
|
9
|
+
testId?: string;
|
|
10
|
+
/** List id (default `agent-steps-list`). */
|
|
11
|
+
listTestId?: string;
|
|
12
|
+
}
|
|
13
|
+
/** The agent's step timeline: a numbered list with a rail, plus an optional totals footer. */
|
|
14
|
+
export declare function StepTrace({ children, summary, className, testId, listTestId }: StepTraceProps): import("react").JSX.Element;
|
|
15
|
+
/** Every fixed string of the agent step parts. Pass a partial `labels` to a part to reword. */
|
|
16
|
+
export interface AgentStepsLabels {
|
|
17
|
+
nearBudget: string;
|
|
18
|
+
goalMet: string;
|
|
19
|
+
reviewingGoal: string;
|
|
20
|
+
subAgent: string;
|
|
21
|
+
running: string;
|
|
22
|
+
failed: string;
|
|
23
|
+
done: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const DEFAULT_AGENT_STEPS_LABELS: AgentStepsLabels;
|
|
26
|
+
export interface StepTraceSummaryProps {
|
|
27
|
+
/** "3 steps · 2 tool calls · 12.0s ..." */
|
|
28
|
+
left: string;
|
|
29
|
+
/** Shows the "near shared credit budget" warning. */
|
|
30
|
+
isNearBudget?: boolean;
|
|
31
|
+
/** "Total: 1.2 credits" */
|
|
32
|
+
total: string;
|
|
33
|
+
labels?: Partial<AgentStepsLabels>;
|
|
34
|
+
testId?: string;
|
|
35
|
+
}
|
|
36
|
+
export declare function StepTraceSummary({ left, isNearBudget, total, labels, testId, }: StepTraceSummaryProps): import("react").JSX.Element;
|
|
37
|
+
/** Tone classes of a step's icon node. */
|
|
38
|
+
export interface StepAccentClasses {
|
|
39
|
+
bg: string;
|
|
40
|
+
fg: string;
|
|
41
|
+
ring: string;
|
|
42
|
+
}
|
|
43
|
+
export interface StepRowProps {
|
|
44
|
+
/** Step index: drives `agent-step-{index}`. */
|
|
45
|
+
index: number;
|
|
46
|
+
/** Display number ("3" or "3.2"). */
|
|
47
|
+
number: string;
|
|
48
|
+
depth: number;
|
|
49
|
+
/** The last row has no rail below it. */
|
|
50
|
+
isLast: boolean;
|
|
51
|
+
/** The step running right now: pending treatment + ping. */
|
|
52
|
+
isActive: boolean;
|
|
53
|
+
accent: StepAccentClasses;
|
|
54
|
+
icon: ReactNode;
|
|
55
|
+
/** Row semantic identity (`narration`, `goal`, `tool`...), mirrored as data-step. */
|
|
56
|
+
kind: string;
|
|
57
|
+
/** The step's title. */
|
|
58
|
+
title: ReactNode;
|
|
59
|
+
/** Test id of the title text (set on the active row). */
|
|
60
|
+
titleTestId?: string;
|
|
61
|
+
/** Prefix of the row id: `<prefix>-<index>` (default `agent-step`). */
|
|
62
|
+
testIdPrefix?: string;
|
|
63
|
+
/** Tier glyph beside the title (host wraps its tooltip). */
|
|
64
|
+
badge?: ReactNode;
|
|
65
|
+
/** Right-aligned meta: model, tokens, credits, duration. */
|
|
66
|
+
meta?: ReactNode;
|
|
67
|
+
/** Summary, detail lines, outcome, criteria, folded sub-steps. */
|
|
68
|
+
children?: ReactNode;
|
|
69
|
+
}
|
|
70
|
+
/** One step: number gutter, rail, icon node, title row, then body parts. */
|
|
71
|
+
export declare function StepRow({ index, number, depth, isLast, isActive, accent, icon, kind, title, titleTestId, testIdPrefix, badge, meta, children, }: StepRowProps): import("react").JSX.Element;
|
|
72
|
+
/** One-line summary under a step title (clamped unless multi-line). */
|
|
73
|
+
export declare function StepSummary({ index, multiLine, children, testIdPrefix, }: {
|
|
74
|
+
index: number;
|
|
75
|
+
multiLine?: boolean;
|
|
76
|
+
children: ReactNode;
|
|
77
|
+
/** Default `agent-step-summary` (`<prefix>-<index>`). */
|
|
78
|
+
testIdPrefix?: string;
|
|
79
|
+
}): import("react").JSX.Element;
|
|
80
|
+
/** Narration (the model writing prose to the user); the host renders the markdown. */
|
|
81
|
+
export declare function StepNarration({ index, children, testIdPrefix, }: {
|
|
82
|
+
index: number;
|
|
83
|
+
children: ReactNode;
|
|
84
|
+
/** Default `agent-step-summary` (`<prefix>-<index>`). */
|
|
85
|
+
testIdPrefix?: string;
|
|
86
|
+
}): import("react").JSX.Element;
|
|
87
|
+
/** What the narrative displaced: the tool's target or a plan's checklist line. */
|
|
88
|
+
export declare function StepDetail({ index, children, testIdPrefix, }: {
|
|
89
|
+
index: number;
|
|
90
|
+
children: ReactNode;
|
|
91
|
+
/** Default `agent-step-detail` (`<prefix>-<index>`). */
|
|
92
|
+
testIdPrefix?: string;
|
|
93
|
+
}): import("react").JSX.Element;
|
|
94
|
+
/** Outcome chip: neutral tick, or a warning when the step failed. */
|
|
95
|
+
export declare function StepOutcome({ index, failed, children, testIdPrefix, }: {
|
|
96
|
+
index: number;
|
|
97
|
+
failed: boolean;
|
|
98
|
+
children: ReactNode;
|
|
99
|
+
/** Default `agent-step-outcome` (`<prefix>-<index>`). */
|
|
100
|
+
testIdPrefix?: string;
|
|
101
|
+
}): import("react").JSX.Element;
|
|
102
|
+
/** Raw tool params (developer affordance). */
|
|
103
|
+
export declare function StepParams({ children }: {
|
|
104
|
+
children: ReactNode;
|
|
105
|
+
}): import("react").JSX.Element;
|
|
106
|
+
export interface GoalCriterionView {
|
|
107
|
+
key: string;
|
|
108
|
+
text: string;
|
|
109
|
+
note?: string;
|
|
110
|
+
met: boolean;
|
|
111
|
+
}
|
|
112
|
+
/** The goal gate's criteria as ticked / unticked checkboxes plus the overall verdict. */
|
|
113
|
+
export declare function GoalCriteria({ criteria, labels, testIds, }: {
|
|
114
|
+
criteria: GoalCriterionView[];
|
|
115
|
+
labels?: Partial<AgentStepsLabels>;
|
|
116
|
+
/** Part ids; defaults are the current ids. */
|
|
117
|
+
testIds?: Partial<Record<'list' | 'verdict', string>>;
|
|
118
|
+
}): import("react").JSX.Element;
|
|
119
|
+
export interface SubStepGroupProps {
|
|
120
|
+
/** Parent step index. */
|
|
121
|
+
parentIndex: number;
|
|
122
|
+
/** "3 searches, 2 reads". */
|
|
123
|
+
summary: string;
|
|
124
|
+
/** Colour class applied to the summary while open (the parent's accent). */
|
|
125
|
+
openClassName?: string;
|
|
126
|
+
/** Rendered only while open. */
|
|
127
|
+
renderSteps: () => ReactNode;
|
|
128
|
+
/** Prefixes (`<prefix>-<parent index>`); defaults `sub-steps-toggle` / `sub-steps`. */
|
|
129
|
+
testIds?: Partial<Record<'toggle' | 'list', string>>;
|
|
130
|
+
}
|
|
131
|
+
/** Inner steps of a sub-agent, folded under their parent (collapsed, self-describing). */
|
|
132
|
+
export declare function SubStepGroup({ parentIndex, summary, openClassName, renderSteps, testIds, }: SubStepGroupProps): import("react").JSX.Element;
|
|
133
|
+
export type SubAgentStatus = 'running' | 'failed' | 'done';
|
|
134
|
+
export interface SubAgentLaneProps {
|
|
135
|
+
handle: string;
|
|
136
|
+
/** Display number of the lane row. */
|
|
137
|
+
number: number;
|
|
138
|
+
/** The lane's job name, never the raw handle. */
|
|
139
|
+
job: string;
|
|
140
|
+
/** The child's task (tooltip). */
|
|
141
|
+
task?: string;
|
|
142
|
+
status: SubAgentStatus;
|
|
143
|
+
/** Count of the child's own steps. */
|
|
144
|
+
innerCount: number;
|
|
145
|
+
/** What the child is doing right now (shown while collapsed and running). */
|
|
146
|
+
liveFocus?: string;
|
|
147
|
+
/** Rendered only while open. */
|
|
148
|
+
renderSteps: () => ReactNode;
|
|
149
|
+
labels?: Partial<AgentStepsLabels>;
|
|
150
|
+
/**
|
|
151
|
+
* Prefixes (`<prefix>-<handle>`); defaults `subagent-lane`, `subagent-lane-toggle`,
|
|
152
|
+
* `subagent-lane-status`, `subagent-lane-live`.
|
|
153
|
+
*/
|
|
154
|
+
testIds?: Partial<Record<'lane' | 'toggle' | 'status' | 'live', string>>;
|
|
155
|
+
}
|
|
156
|
+
/** A concurrently-running sub-agent as its own live lane; collapsed by default, expands on demand. */
|
|
157
|
+
export declare function SubAgentLane({ handle, number, job, task, status, innerCount, liveFocus, renderSteps, labels, testIds, }: SubAgentLaneProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { SubAgentStatus } from './AgentSteps';
|
|
3
|
+
/** One sub-agent line of the roster. */
|
|
4
|
+
export interface SubagentRosterLane {
|
|
5
|
+
handle: string;
|
|
6
|
+
status: SubAgentStatus;
|
|
7
|
+
/** The delegated task (or its job name): the line's text and tooltip. */
|
|
8
|
+
task: string;
|
|
9
|
+
/** Count of the child's own steps; a child with none has nothing to expand. */
|
|
10
|
+
stepCount: number;
|
|
11
|
+
/** Present when the child has its own thread to step into. */
|
|
12
|
+
canOpenThread?: boolean;
|
|
13
|
+
}
|
|
14
|
+
/** Every fixed string of the roster. */
|
|
15
|
+
export interface SubagentRosterLabels {
|
|
16
|
+
badge: string;
|
|
17
|
+
hideSteps: string;
|
|
18
|
+
showSteps: string;
|
|
19
|
+
openThread: string;
|
|
20
|
+
openThreadAria: string;
|
|
21
|
+
}
|
|
22
|
+
export declare const DEFAULT_SUBAGENT_ROSTER_LABELS: SubagentRosterLabels;
|
|
23
|
+
export interface SubagentRosterProps {
|
|
24
|
+
lanes: SubagentRosterLane[];
|
|
25
|
+
/** The child's own steps, rendered only while its line is expanded. */
|
|
26
|
+
renderSteps: (handle: string) => ReactNode;
|
|
27
|
+
onOpenThread: (handle: string) => void;
|
|
28
|
+
className?: string;
|
|
29
|
+
labels?: Partial<SubagentRosterLabels>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Live roster of a turn's sub-agents, indented under the agent's status line: one compact line
|
|
33
|
+
* per child (static dot while running, check / alert once settled), each expandable to its own
|
|
34
|
+
* steps. Ids: `running-subagents`, `running-subagent-<h>`, `-toggle-<h>`, `-open-thread-<h>`,
|
|
35
|
+
* `-steps-<h>`.
|
|
36
|
+
*/
|
|
37
|
+
export declare function SubagentRoster({ lanes, renderSteps, onOpenThread, className, labels, }: SubagentRosterProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { AgentBar, AgentBarStatus, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarQueuedNote, AgentBarProbeAnswer, DEFAULT_AGENT_BAR_LABELS, type AgentBarLabels, type AgentBarProps, type AgentBarState, type AgentBarStatusProps, type AgentBarMenuItem, } from './AgentBar';
|
|
2
|
+
export { GoalCriteria, DEFAULT_AGENT_STEPS_LABELS, type AgentStepsLabels, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, type GoalCriterionView, type StepAccentClasses, type StepRowProps, type StepTraceProps, type StepTraceSummaryProps, type SubAgentLaneProps, type SubAgentStatus, type SubStepGroupProps, } from './AgentSteps';
|
|
3
|
+
export { SubagentRoster, DEFAULT_SUBAGENT_ROSTER_LABELS, type SubagentRosterProps, type SubagentRosterLane, type SubagentRosterLabels, } from './SubagentRoster';
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface SkillFilterOption {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
/** How many skills this filter would show. */
|
|
6
|
+
count?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface SkillFilterChipsProps {
|
|
9
|
+
options: SkillFilterOption[];
|
|
10
|
+
value: string;
|
|
11
|
+
onChange: (id: string) => void;
|
|
12
|
+
/** Accessible name of the group. */
|
|
13
|
+
label: string;
|
|
14
|
+
/** Chip ids are `<prefix>-<option id>`. */
|
|
15
|
+
testIdPrefix?: string;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
/** A single-choice row of filter chips (a radio group): 44px targets on touch, wraps on phones. */
|
|
19
|
+
export declare function SkillFilterChips({ options, value, onChange, label, testIdPrefix, className, }: SkillFilterChipsProps): import("react").JSX.Element;
|
|
20
|
+
export type SkillBrowserView = 'gallery' | 'list';
|
|
21
|
+
export interface SkillViewToggleLabels {
|
|
22
|
+
group: string;
|
|
23
|
+
gallery: string;
|
|
24
|
+
list: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const DEFAULT_SKILL_VIEW_TOGGLE_LABELS: SkillViewToggleLabels;
|
|
27
|
+
export interface SkillViewToggleProps {
|
|
28
|
+
value: SkillBrowserView;
|
|
29
|
+
onChange: (view: SkillBrowserView) => void;
|
|
30
|
+
labels?: Partial<SkillViewToggleLabels>;
|
|
31
|
+
testId?: string;
|
|
32
|
+
}
|
|
33
|
+
/** Gallery / list switch. */
|
|
34
|
+
export declare function SkillViewToggle({ value, onChange, labels, testId }: SkillViewToggleProps): import("react").JSX.Element;
|
|
35
|
+
export interface SkillTileProps {
|
|
36
|
+
name: string;
|
|
37
|
+
description: string;
|
|
38
|
+
/** Where it comes from: "Built in", "Yours", "Shared". */
|
|
39
|
+
sourceLabel: string;
|
|
40
|
+
/** Shown as a small pill when it is not plain instructions. */
|
|
41
|
+
type?: string;
|
|
42
|
+
icon?: ReactNode;
|
|
43
|
+
layout: SkillBrowserView;
|
|
44
|
+
selected?: boolean;
|
|
45
|
+
onSelect: () => void;
|
|
46
|
+
testId?: string;
|
|
47
|
+
}
|
|
48
|
+
/** One skill in the gallery (a card) or the list (a row). Selecting it opens its detail. */
|
|
49
|
+
export declare function SkillTile({ name, description, sourceLabel, type, icon, layout, selected, onSelect, testId, }: SkillTileProps): import("react").JSX.Element;
|
|
50
|
+
export interface SkillDetailProps {
|
|
51
|
+
title: string;
|
|
52
|
+
sourceLabel: string;
|
|
53
|
+
description: string;
|
|
54
|
+
icon?: ReactNode;
|
|
55
|
+
/** A line under the title ("Your copy is used instead of the original"). */
|
|
56
|
+
notice?: ReactNode;
|
|
57
|
+
/** Sections: the form it asks for, the instructions. */
|
|
58
|
+
children?: ReactNode;
|
|
59
|
+
/** The action buttons, as a toolbar. */
|
|
60
|
+
actions?: ReactNode;
|
|
61
|
+
testId?: string;
|
|
62
|
+
}
|
|
63
|
+
/** The detail pane of one skill: a header, sections and a sticky action bar. */
|
|
64
|
+
export declare function SkillDetail({ title, sourceLabel, description, icon, notice, children, actions, testId, }: SkillDetailProps): import("react").JSX.Element;
|
|
65
|
+
/** A titled block inside the detail pane. */
|
|
66
|
+
export declare function SkillDetailSection({ title, children, testId, }: {
|
|
67
|
+
title: string;
|
|
68
|
+
children: ReactNode;
|
|
69
|
+
testId?: string;
|
|
70
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { HTMLAttributes, MouseEvent, ReactNode } from 'react';
|
|
2
|
+
import { type SkillGlobalBadgeLabels } from './SkillParts';
|
|
3
|
+
export interface SkillCardLabels extends SkillGlobalBadgeLabels {
|
|
4
|
+
preview: string;
|
|
5
|
+
edit: string;
|
|
6
|
+
export: string;
|
|
7
|
+
makePrivate: string;
|
|
8
|
+
makePrivateTooltip: string;
|
|
9
|
+
publish: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const DEFAULT_SKILL_CARD_LABELS: SkillCardLabels;
|
|
12
|
+
export interface SkillCardTestIds {
|
|
13
|
+
root: string;
|
|
14
|
+
preview: string;
|
|
15
|
+
edit: string;
|
|
16
|
+
export: string;
|
|
17
|
+
toggleVisibility: string;
|
|
18
|
+
}
|
|
19
|
+
export interface SkillCardProps {
|
|
20
|
+
name: string;
|
|
21
|
+
description: string;
|
|
22
|
+
/** Skill type; a small badge is shown when not `markdown`. */
|
|
23
|
+
type?: string;
|
|
24
|
+
/** `global` shows a badge and drives the publish toggle. */
|
|
25
|
+
visibility?: 'mine' | 'global';
|
|
26
|
+
/** Only owners see the publish toggle. */
|
|
27
|
+
isOwner?: boolean;
|
|
28
|
+
/** Leading icon (the app supplies its skill entity icon). */
|
|
29
|
+
icon?: ReactNode;
|
|
30
|
+
/** Invoke the skill (row click / Enter / Space). */
|
|
31
|
+
onClick: () => void;
|
|
32
|
+
onPreview: (e: MouseEvent) => void;
|
|
33
|
+
onEdit: (e: MouseEvent) => void;
|
|
34
|
+
onExport: (e: MouseEvent) => void;
|
|
35
|
+
/** Publish / unpublish. Owner-only; omit to hide. */
|
|
36
|
+
onToggleVisibility?: (e: MouseEvent) => void;
|
|
37
|
+
/** Destination of the skill; the name becomes a real link (modified clicks go to the browser). */
|
|
38
|
+
href?: string;
|
|
39
|
+
labels?: Partial<SkillCardLabels>;
|
|
40
|
+
testId?: string;
|
|
41
|
+
testIds?: Partial<SkillCardTestIds>;
|
|
42
|
+
className?: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Horizontal skill row: icon + `/name` + badges + description, with preview / edit / export /
|
|
46
|
+
* publish actions. All actions are always visible (nothing is hover-only).
|
|
47
|
+
*/
|
|
48
|
+
export declare function SkillCard({ name, description, type, visibility, isOwner, icon, onClick, onPreview, onEdit, onExport, onToggleVisibility, href, labels, testId, testIds, className, ...rest }: SkillCardProps & Omit<HTMLAttributes<HTMLDivElement>, keyof SkillCardProps | 'onClick'>): import("react").JSX.Element;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export interface SkillGenerateFormLabels {
|
|
3
|
+
title: string;
|
|
4
|
+
hint: string;
|
|
5
|
+
placeholder: string;
|
|
6
|
+
generate: string;
|
|
7
|
+
writeManually: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const DEFAULT_SKILL_GENERATE_FORM_LABELS: SkillGenerateFormLabels;
|
|
10
|
+
export interface SkillGenerateFormTestIds {
|
|
11
|
+
description: string;
|
|
12
|
+
generate: string;
|
|
13
|
+
writeManually: string;
|
|
14
|
+
}
|
|
15
|
+
export interface SkillGenerateFormProps {
|
|
16
|
+
/** Describe what the skill should do; the app routes it to the agent. */
|
|
17
|
+
onGenerate: (description: string) => void;
|
|
18
|
+
/** Escape hatch to the blank editor. */
|
|
19
|
+
onManual: () => void;
|
|
20
|
+
/** Icon on the generate button. */
|
|
21
|
+
icon?: ReactNode;
|
|
22
|
+
labels?: Partial<SkillGenerateFormLabels>;
|
|
23
|
+
testIds?: Partial<SkillGenerateFormTestIds>;
|
|
24
|
+
}
|
|
25
|
+
/** AI-first skill creation: describe it, or write it manually. */
|
|
26
|
+
export declare function SkillGenerateForm({ onGenerate, onManual, icon, labels, testIds, }: SkillGenerateFormProps): import("react").JSX.Element;
|
|
27
|
+
export interface SkillEditFormLabels {
|
|
28
|
+
name: string;
|
|
29
|
+
namePlaceholder: string;
|
|
30
|
+
/** Receives the typed name (empty when nothing is typed yet). */
|
|
31
|
+
invokedAs: (name: string) => ReactNode;
|
|
32
|
+
description: string;
|
|
33
|
+
descriptionPlaceholder: string;
|
|
34
|
+
instructions: string;
|
|
35
|
+
cancel: string;
|
|
36
|
+
saving: string;
|
|
37
|
+
saveChanges: string;
|
|
38
|
+
create: string;
|
|
39
|
+
}
|
|
40
|
+
export declare const DEFAULT_SKILL_EDIT_FORM_LABELS: SkillEditFormLabels;
|
|
41
|
+
export interface SkillEditFormTestIds {
|
|
42
|
+
name: string;
|
|
43
|
+
description: string;
|
|
44
|
+
save: string;
|
|
45
|
+
}
|
|
46
|
+
export interface SkillEditFormProps {
|
|
47
|
+
name: string;
|
|
48
|
+
onNameChange: (name: string) => void;
|
|
49
|
+
/** Existing skills cannot be renamed. */
|
|
50
|
+
isNameLocked?: boolean;
|
|
51
|
+
nameError?: string | null;
|
|
52
|
+
description: string;
|
|
53
|
+
onDescriptionChange: (description: string) => void;
|
|
54
|
+
/** The instructions editor (the app supplies its markdown editor). */
|
|
55
|
+
editor: ReactNode;
|
|
56
|
+
isSaving?: boolean;
|
|
57
|
+
isEditing: boolean;
|
|
58
|
+
onSave: () => void;
|
|
59
|
+
onCancel: () => void;
|
|
60
|
+
labels?: Partial<SkillEditFormLabels>;
|
|
61
|
+
testIds?: Partial<SkillEditFormTestIds>;
|
|
62
|
+
}
|
|
63
|
+
/** Skill editor chrome: name + description + editor slot + Cancel / Save footer. */
|
|
64
|
+
export declare function SkillEditForm({ name, onNameChange, isNameLocked, nameError, description, onDescriptionChange, editor, isSaving, isEditing, onSave, onCancel, labels, testIds, }: SkillEditFormProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { MouseEvent, ReactNode } from 'react';
|
|
2
|
+
/** Small tonal pill showing a non-markdown skill type. */
|
|
3
|
+
export declare function SkillTypeBadge({ type, className }: {
|
|
4
|
+
type: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
}): import("react").JSX.Element;
|
|
7
|
+
export interface SkillGlobalBadgeLabels {
|
|
8
|
+
global: string;
|
|
9
|
+
globalTitle: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const DEFAULT_SKILL_GLOBAL_BADGE_LABELS: SkillGlobalBadgeLabels;
|
|
12
|
+
/** "Global" marketplace pill. */
|
|
13
|
+
export declare function SkillGlobalBadge({ className, labels, }: {
|
|
14
|
+
className?: string;
|
|
15
|
+
labels?: Partial<SkillGlobalBadgeLabels>;
|
|
16
|
+
}): import("react").JSX.Element;
|
|
17
|
+
export interface SkillActionButtonProps {
|
|
18
|
+
label: string;
|
|
19
|
+
/** Tooltip text; defaults to `label`. */
|
|
20
|
+
tooltip?: string;
|
|
21
|
+
onClick: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
22
|
+
children: ReactNode;
|
|
23
|
+
testId?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Icon action inside a clickable skill row. Stops propagation so the row's invoke handler does
|
|
27
|
+
* not fire, and meets the 44px touch target on coarse pointers.
|
|
28
|
+
*/
|
|
29
|
+
export declare function SkillActionButton({ label, tooltip, onClick, children, testId, }: SkillActionButtonProps): import("react").JSX.Element;
|
|
30
|
+
/** Activate a role="button" row with Enter/Space, ignoring keys that bubble from inner controls. */
|
|
31
|
+
export declare function activateOnKey(handler: () => void): (e: React.KeyboardEvent<HTMLElement>) => void;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { type SkillGlobalBadgeLabels } from './SkillParts';
|
|
3
|
+
export interface SkillRowLabels extends SkillGlobalBadgeLabels {
|
|
4
|
+
preview: string;
|
|
5
|
+
edit: string;
|
|
6
|
+
makePrivate: string;
|
|
7
|
+
publish: string;
|
|
8
|
+
delete: string;
|
|
9
|
+
/** Row tooltip; receives the skill name. */
|
|
10
|
+
insertTitle: (name: string) => string;
|
|
11
|
+
}
|
|
12
|
+
export declare const DEFAULT_SKILL_ROW_LABELS: SkillRowLabels;
|
|
13
|
+
export interface SkillRowProps {
|
|
14
|
+
name: string;
|
|
15
|
+
description?: string;
|
|
16
|
+
type?: string;
|
|
17
|
+
isGlobal?: boolean;
|
|
18
|
+
icon?: ReactNode;
|
|
19
|
+
/** Invoke the skill (inserts `/name` into the chat). */
|
|
20
|
+
onInvoke: () => void;
|
|
21
|
+
onPreview: () => void;
|
|
22
|
+
/** Owner-only actions: omit to hide. */
|
|
23
|
+
onEdit?: () => void;
|
|
24
|
+
onTogglePublish?: () => void;
|
|
25
|
+
onDelete?: () => void;
|
|
26
|
+
/** Destination of the skill; the name becomes a real link (modified clicks go to the browser). */
|
|
27
|
+
href?: string;
|
|
28
|
+
labels?: Partial<SkillRowLabels>;
|
|
29
|
+
/** Overrides the default `skills-panel-row-{name}` id. */
|
|
30
|
+
testId?: string;
|
|
31
|
+
className?: string;
|
|
32
|
+
}
|
|
33
|
+
/** Compact two-line skill row for side panels. Actions are always visible. */
|
|
34
|
+
export declare function SkillRow({ name, description, type, isGlobal, icon, onInvoke, onPreview, onEdit, onTogglePublish, onDelete, href, labels, testId, className, ...rest }: SkillRowProps & Omit<HTMLAttributes<HTMLDivElement>, keyof SkillRowProps | 'onClick'>): import("react").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { SkillCard, DEFAULT_SKILL_CARD_LABELS, type SkillCardProps, type SkillCardLabels, type SkillCardTestIds, } from './SkillCard';
|
|
2
|
+
export { SkillRow, DEFAULT_SKILL_ROW_LABELS, type SkillRowProps, type SkillRowLabels, } from './SkillRow';
|
|
3
|
+
export { SkillTypeBadge, SkillGlobalBadge, SkillActionButton, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, type SkillGlobalBadgeLabels, type SkillActionButtonProps, } from './SkillParts';
|
|
4
|
+
export { SkillGenerateForm, SkillEditForm, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, type SkillGenerateFormLabels, type SkillGenerateFormTestIds, type SkillEditFormLabels, type SkillEditFormTestIds, type SkillGenerateFormProps, type SkillEditFormProps, } from './SkillForms';
|
|
5
|
+
export { SkillFilterChips, SkillViewToggle, SkillTile, SkillDetail, SkillDetailSection, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, type SkillFilterOption, type SkillFilterChipsProps, type SkillBrowserView, type SkillViewToggleLabels, type SkillViewToggleProps, type SkillTileProps, type SkillDetailProps, } from './SkillBrowserParts';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
|
+
export interface LiveRun {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
}
|
|
6
|
+
export interface LiveRunsBannerProps {
|
|
7
|
+
runs: LiveRun[];
|
|
8
|
+
/** Jump into a running task's conversation to watch it stream. */
|
|
9
|
+
onWatch: (id: string) => void;
|
|
10
|
+
/** Test ids; `watchRun` derives one per run (default `task-watch-run-{id}`). */
|
|
11
|
+
testIds?: Partial<{
|
|
12
|
+
root: string;
|
|
13
|
+
watchRun: (id: string) => string;
|
|
14
|
+
}>;
|
|
15
|
+
labels?: Partial<LiveRunsBannerLabels>;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface LiveRunsBannerLabels {
|
|
19
|
+
/** Count text, e.g. "2 running". */
|
|
20
|
+
running: (count: number) => string;
|
|
21
|
+
/** Watch button text for a run. */
|
|
22
|
+
watch: (name: string) => string;
|
|
23
|
+
}
|
|
24
|
+
export declare const DEFAULT_LIVE_RUNS_BANNER_LABELS: LiveRunsBannerLabels;
|
|
25
|
+
/** Strip of currently running tasks with a Watch action each. Renders nothing when idle. */
|
|
26
|
+
export declare function LiveRunsBanner({ runs, onWatch, testIds, labels, className, ...rest }: LiveRunsBannerProps & Omit<HTMLAttributes<HTMLDivElement>, 'children'>): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type Weekday } from './rrule';
|
|
2
|
+
/** Fixed strings of the recurrence builder. */
|
|
3
|
+
export interface RecurrenceBuilderLabels {
|
|
4
|
+
rruleLabel: string;
|
|
5
|
+
rrulePlaceholder: string;
|
|
6
|
+
backToSimple: string;
|
|
7
|
+
repeat: string;
|
|
8
|
+
daily: string;
|
|
9
|
+
weekly: string;
|
|
10
|
+
monthly: string;
|
|
11
|
+
onDay: string;
|
|
12
|
+
at: string;
|
|
13
|
+
on: string;
|
|
14
|
+
advanced: string;
|
|
15
|
+
/** Single-letter weekday chips. */
|
|
16
|
+
weekdayShort: Record<Weekday, string>;
|
|
17
|
+
}
|
|
18
|
+
export declare const DEFAULT_RECURRENCE_BUILDER_LABELS: RecurrenceBuilderLabels;
|
|
19
|
+
export interface RecurrenceBuilderTestIds {
|
|
20
|
+
rruleRaw: string;
|
|
21
|
+
simple: string;
|
|
22
|
+
builder: string;
|
|
23
|
+
frequency: string;
|
|
24
|
+
monthDay: string;
|
|
25
|
+
time: string;
|
|
26
|
+
advanced: string;
|
|
27
|
+
/** Per weekday chip (default `task-weekday-{MO..SU}`). */
|
|
28
|
+
weekday: (day: Weekday) => string;
|
|
29
|
+
}
|
|
30
|
+
export interface RecurrenceBuilderProps {
|
|
31
|
+
rrule: string;
|
|
32
|
+
onChange: (rrule: string) => void;
|
|
33
|
+
testIds?: Partial<RecurrenceBuilderTestIds>;
|
|
34
|
+
labels?: Partial<RecurrenceBuilderLabels>;
|
|
35
|
+
}
|
|
36
|
+
export declare function RecurrenceBuilder({ rrule, onChange, testIds, labels }: RecurrenceBuilderProps): import("react").JSX.Element;
|