@knowledge-medium/agent-cli 0.1.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/LICENSE +21 -0
- package/README.md +161 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +908 -0
- package/dist/cli.js.map +1 -0
- package/dist/config.d.ts +29 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +91 -0
- package/dist/config.js.map +1 -0
- package/dist/kernel-types/assets.d.ts +14 -0
- package/dist/kernel-types/packages/agent-cli/src/protocol.d.ts +470 -0
- package/dist/kernel-types/packages/agent-cli/src/protocol.d.ts.map +1 -0
- package/dist/kernel-types/src/App.d.ts +3 -0
- package/dist/kernel-types/src/App.d.ts.map +1 -0
- package/dist/kernel-types/src/components/BlockComponent.d.ts +21 -0
- package/dist/kernel-types/src/components/BlockComponent.d.ts.map +1 -0
- package/dist/kernel-types/src/components/BlockEditor.d.ts +18 -0
- package/dist/kernel-types/src/components/BlockEditor.d.ts.map +1 -0
- package/dist/kernel-types/src/components/BlockLoadingPlaceholder.d.ts +15 -0
- package/dist/kernel-types/src/components/BlockLoadingPlaceholder.d.ts.map +1 -0
- package/dist/kernel-types/src/components/BlockProperties.d.ts +12 -0
- package/dist/kernel-types/src/components/BlockProperties.d.ts.map +1 -0
- package/dist/kernel-types/src/components/Header.d.ts +2 -0
- package/dist/kernel-types/src/components/Header.d.ts.map +1 -0
- package/dist/kernel-types/src/components/LazyBlockComponent.d.ts +29 -0
- package/dist/kernel-types/src/components/LazyBlockComponent.d.ts.map +1 -0
- package/dist/kernel-types/src/components/Login.d.ts +12 -0
- package/dist/kernel-types/src/components/Login.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyEditors/RefPropertyEditor.d.ts +13 -0
- package/dist/kernel-types/src/components/propertyEditors/RefPropertyEditor.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyEditors/RefTargetTypePicker.d.ts +7 -0
- package/dist/kernel-types/src/components/propertyEditors/RefTargetTypePicker.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyEditors/TypesPropertyEditor.d.ts +3 -0
- package/dist/kernel-types/src/components/propertyEditors/TypesPropertyEditor.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyEditors/defaults.d.ts +84 -0
- package/dist/kernel-types/src/components/propertyEditors/defaults.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyEditors/kernelValuePresets.d.ts +7 -0
- package/dist/kernel-types/src/components/propertyEditors/kernelValuePresets.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyEditors/refPropertyEditorOverride.d.ts +9 -0
- package/dist/kernel-types/src/components/propertyEditors/refPropertyEditorOverride.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyEditors/typesPropertyUi.d.ts +7 -0
- package/dist/kernel-types/src/components/propertyEditors/typesPropertyUi.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/AddPropertyForm.d.ts +16 -0
- package/dist/kernel-types/src/components/propertyPanel/AddPropertyForm.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/PropertyPicker.d.ts +54 -0
- package/dist/kernel-types/src/components/propertyPanel/PropertyPicker.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/PropertyRow.d.ts +21 -0
- package/dist/kernel-types/src/components/propertyPanel/PropertyRow.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/Rows.d.ts +8 -0
- package/dist/kernel-types/src/components/propertyPanel/Rows.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/actions.d.ts +26 -0
- package/dist/kernel-types/src/components/propertyPanel/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/layout.d.ts +7 -0
- package/dist/kernel-types/src/components/propertyPanel/layout.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/model.d.ts +58 -0
- package/dist/kernel-types/src/components/propertyPanel/model.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/shapeUi.d.ts +32 -0
- package/dist/kernel-types/src/components/propertyPanel/shapeUi.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/shapes.d.ts +6 -0
- package/dist/kernel-types/src/components/propertyPanel/shapes.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/visibility.d.ts +10 -0
- package/dist/kernel-types/src/components/propertyPanel/visibility.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanelSections.d.ts +20 -0
- package/dist/kernel-types/src/components/propertyPanelSections.d.ts.map +1 -0
- package/dist/kernel-types/src/components/references/BlockEmbed.d.ts +4 -0
- package/dist/kernel-types/src/components/references/BlockEmbed.d.ts.map +1 -0
- package/dist/kernel-types/src/components/references/BlockRef.d.ts +6 -0
- package/dist/kernel-types/src/components/references/BlockRef.d.ts.map +1 -0
- package/dist/kernel-types/src/components/references/cycleGuard.d.ts +6 -0
- package/dist/kernel-types/src/components/references/cycleGuard.d.ts.map +1 -0
- package/dist/kernel-types/src/components/references/cycleGuardContext.d.ts +2 -0
- package/dist/kernel-types/src/components/references/cycleGuardContext.d.ts.map +1 -0
- package/dist/kernel-types/src/components/references/useBlockRefAncestors.d.ts +2 -0
- package/dist/kernel-types/src/components/references/useBlockRefAncestors.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/BlockTypeBlockRenderer.d.ts +12 -0
- package/dist/kernel-types/src/components/renderer/BlockTypeBlockRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/CodeMirrorContentRenderer.d.ts +3 -0
- package/dist/kernel-types/src/components/renderer/CodeMirrorContentRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/CodeMirrorExtensionBlockRenderer.d.ts +3 -0
- package/dist/kernel-types/src/components/renderer/CodeMirrorExtensionBlockRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/DefaultBlockRenderer.d.ts +26 -0
- package/dist/kernel-types/src/components/renderer/DefaultBlockRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/LayoutRenderer.d.ts +7 -0
- package/dist/kernel-types/src/components/renderer/LayoutRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/MarkdownContentRenderer.d.ts +9 -0
- package/dist/kernel-types/src/components/renderer/MarkdownContentRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/MissingDataRenderer.d.ts +7 -0
- package/dist/kernel-types/src/components/renderer/MissingDataRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/PanelRenderer.d.ts +7 -0
- package/dist/kernel-types/src/components/renderer/PanelRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/PropertySchemaBlockRenderer.d.ts +12 -0
- package/dist/kernel-types/src/components/renderer/PropertySchemaBlockRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/TopLevelRenderer.d.ts +7 -0
- package/dist/kernel-types/src/components/renderer/TopLevelRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/TypesPageBlockRenderer.d.ts +7 -0
- package/dist/kernel-types/src/components/renderer/TypesPageBlockRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/anchored-floating.d.ts +25 -0
- package/dist/kernel-types/src/components/ui/anchored-floating.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/button.d.ts +15 -0
- package/dist/kernel-types/src/components/ui/button.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/card.d.ts +27 -0
- package/dist/kernel-types/src/components/ui/card.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/checkbox.d.ts +8 -0
- package/dist/kernel-types/src/components/ui/checkbox.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/collapsible.d.ts +6 -0
- package/dist/kernel-types/src/components/ui/collapsible.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/command.d.ts +45 -0
- package/dist/kernel-types/src/components/ui/command.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/context-menu.d.ts +52 -0
- package/dist/kernel-types/src/components/ui/context-menu.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/dialog.d.ts +32 -0
- package/dist/kernel-types/src/components/ui/dialog.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/dropdown-menu.d.ts +52 -0
- package/dist/kernel-types/src/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/floating-listbox.d.ts +20 -0
- package/dist/kernel-types/src/components/ui/floating-listbox.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/index.d.ts +6 -0
- package/dist/kernel-types/src/components/ui/index.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/input.d.ts +8 -0
- package/dist/kernel-types/src/components/ui/input.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/kbd.d.ts +4 -0
- package/dist/kernel-types/src/components/ui/kbd.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/label.d.ts +11 -0
- package/dist/kernel-types/src/components/ui/label.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/textarea.d.ts +8 -0
- package/dist/kernel-types/src/components/ui/textarea.d.ts.map +1 -0
- package/dist/kernel-types/src/components/util/LazyViewportMount.d.ts +22 -0
- package/dist/kernel-types/src/components/util/LazyViewportMount.d.ts.map +1 -0
- package/dist/kernel-types/src/components/util/error.d.ts +4 -0
- package/dist/kernel-types/src/components/util/error.d.ts.map +1 -0
- package/dist/kernel-types/src/components/util/suspense.d.ts +2 -0
- package/dist/kernel-types/src/components/util/suspense.d.ts.map +1 -0
- package/dist/kernel-types/src/components/workspace/CreateWorkspaceDialog.d.ts +9 -0
- package/dist/kernel-types/src/components/workspace/CreateWorkspaceDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/components/workspace/PendingInvitations.d.ts +2 -0
- package/dist/kernel-types/src/components/workspace/PendingInvitations.d.ts.map +1 -0
- package/dist/kernel-types/src/components/workspace/WorkspaceSettingsDialog.d.ts +10 -0
- package/dist/kernel-types/src/components/workspace/WorkspaceSettingsDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/components/workspace/WorkspaceSwitcher.d.ts +4 -0
- package/dist/kernel-types/src/components/workspace/WorkspaceSwitcher.d.ts.map +1 -0
- package/dist/kernel-types/src/context/block.d.ts +13 -0
- package/dist/kernel-types/src/context/block.d.ts.map +1 -0
- package/dist/kernel-types/src/context/repo.d.ts +7 -0
- package/dist/kernel-types/src/context/repo.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/blockData.d.ts +73 -0
- package/dist/kernel-types/src/data/api/blockData.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/blockType.d.ts +19 -0
- package/dist/kernel-types/src/data/api/blockType.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/changeScope.d.ts +62 -0
- package/dist/kernel-types/src/data/api/changeScope.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/codecs.d.ts +72 -0
- package/dist/kernel-types/src/data/api/codecs.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/errors.d.ts +108 -0
- package/dist/kernel-types/src/data/api/errors.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/events.d.ts +19 -0
- package/dist/kernel-types/src/data/api/events.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/handle.d.ts +17 -0
- package/dist/kernel-types/src/data/api/handle.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/index.d.ts +20 -0
- package/dist/kernel-types/src/data/api/index.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/mutator.d.ts +42 -0
- package/dist/kernel-types/src/data/api/mutator.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/processor.d.ts +115 -0
- package/dist/kernel-types/src/data/api/processor.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/propertySchema.d.ts +90 -0
- package/dist/kernel-types/src/data/api/propertySchema.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/query.d.ts +81 -0
- package/dist/kernel-types/src/data/api/query.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/sameTxProcessor.d.ts +112 -0
- package/dist/kernel-types/src/data/api/sameTxProcessor.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/schema.d.ts +8 -0
- package/dist/kernel-types/src/data/api/schema.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/tx.d.ts +142 -0
- package/dist/kernel-types/src/data/api/tx.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/typedBlockQuery.d.ts +115 -0
- package/dist/kernel-types/src/data/api/typedBlockQuery.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/user.d.ts +9 -0
- package/dist/kernel-types/src/data/api/user.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/valuePresets.d.ts +56 -0
- package/dist/kernel-types/src/data/api/valuePresets.d.ts.map +1 -0
- package/dist/kernel-types/src/data/block.d.ts +140 -0
- package/dist/kernel-types/src/data/block.d.ts.map +1 -0
- package/dist/kernel-types/src/data/blockCache.d.ts +114 -0
- package/dist/kernel-types/src/data/blockCache.d.ts.map +1 -0
- package/dist/kernel-types/src/data/blockSchema.d.ts +102 -0
- package/dist/kernel-types/src/data/blockSchema.d.ts.map +1 -0
- package/dist/kernel-types/src/data/blockTypes.d.ts +21 -0
- package/dist/kernel-types/src/data/blockTypes.d.ts.map +1 -0
- package/dist/kernel-types/src/data/facets.d.ts +67 -0
- package/dist/kernel-types/src/data/facets.d.ts.map +1 -0
- package/dist/kernel-types/src/data/globalState.d.ts +72 -0
- package/dist/kernel-types/src/data/globalState.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/clientSchema.d.ts +273 -0
- package/dist/kernel-types/src/data/internals/clientSchema.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/commitPipeline.d.ts +127 -0
- package/dist/kernel-types/src/data/internals/commitPipeline.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/coreProperties.d.ts +16 -0
- package/dist/kernel-types/src/data/internals/coreProperties.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/handleStore.d.ts +366 -0
- package/dist/kernel-types/src/data/internals/handleStore.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/kernelInvalidation.d.ts +77 -0
- package/dist/kernel-types/src/data/internals/kernelInvalidation.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/kernelMutators.d.ts +174 -0
- package/dist/kernel-types/src/data/internals/kernelMutators.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/kernelProcessors.d.ts +3 -0
- package/dist/kernel-types/src/data/internals/kernelProcessors.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/kernelQueries.d.ts +225 -0
- package/dist/kernel-types/src/data/internals/kernelQueries.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/mergeProperties.d.ts +21 -0
- package/dist/kernel-types/src/data/internals/mergeProperties.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/normalizeReferencesProcessor.d.ts +28 -0
- package/dist/kernel-types/src/data/internals/normalizeReferencesProcessor.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/processorRunner.d.ts +95 -0
- package/dist/kernel-types/src/data/internals/processorRunner.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/rowEventsTail.d.ts +70 -0
- package/dist/kernel-types/src/data/internals/rowEventsTail.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/timingMetrics.d.ts +115 -0
- package/dist/kernel-types/src/data/internals/timingMetrics.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/treeQueries.d.ts +87 -0
- package/dist/kernel-types/src/data/internals/treeQueries.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/txEngine.d.ts +155 -0
- package/dist/kernel-types/src/data/internals/txEngine.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/txSnapshots.d.ts +32 -0
- package/dist/kernel-types/src/data/internals/txSnapshots.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/typedBlockQuery.d.ts +37 -0
- package/dist/kernel-types/src/data/internals/typedBlockQuery.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/undoManager.d.ts +88 -0
- package/dist/kernel-types/src/data/internals/undoManager.d.ts.map +1 -0
- package/dist/kernel-types/src/data/invalidation.d.ts +47 -0
- package/dist/kernel-types/src/data/invalidation.d.ts.map +1 -0
- package/dist/kernel-types/src/data/kernelDataExtension.d.ts +32 -0
- package/dist/kernel-types/src/data/kernelDataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/data/kernelPage.d.ts +36 -0
- package/dist/kernel-types/src/data/kernelPage.d.ts.map +1 -0
- package/dist/kernel-types/src/data/localSchema.d.ts +5 -0
- package/dist/kernel-types/src/data/localSchema.d.ts.map +1 -0
- package/dist/kernel-types/src/data/metricsConsoleHook.d.ts +22 -0
- package/dist/kernel-types/src/data/metricsConsoleHook.d.ts.map +1 -0
- package/dist/kernel-types/src/data/orderKey.d.ts +38 -0
- package/dist/kernel-types/src/data/orderKey.d.ts.map +1 -0
- package/dist/kernel-types/src/data/pluginStateExtensions.d.ts +27 -0
- package/dist/kernel-types/src/data/pluginStateExtensions.d.ts.map +1 -0
- package/dist/kernel-types/src/data/properties.d.ts +137 -0
- package/dist/kernel-types/src/data/properties.d.ts.map +1 -0
- package/dist/kernel-types/src/data/propertiesPage.d.ts +8 -0
- package/dist/kernel-types/src/data/propertiesPage.d.ts.map +1 -0
- package/dist/kernel-types/src/data/repo.d.ts +745 -0
- package/dist/kernel-types/src/data/repo.d.ts.map +1 -0
- package/dist/kernel-types/src/data/repoProvider.d.ts +35 -0
- package/dist/kernel-types/src/data/repoProvider.d.ts.map +1 -0
- package/dist/kernel-types/src/data/stateBlocks.d.ts +57 -0
- package/dist/kernel-types/src/data/stateBlocks.d.ts.map +1 -0
- package/dist/kernel-types/src/data/targets.d.ts +130 -0
- package/dist/kernel-types/src/data/targets.d.ts.map +1 -0
- package/dist/kernel-types/src/data/typeExtraction.d.ts +136 -0
- package/dist/kernel-types/src/data/typeExtraction.d.ts.map +1 -0
- package/dist/kernel-types/src/data/typesPage.d.ts +8 -0
- package/dist/kernel-types/src/data/typesPage.d.ts.map +1 -0
- package/dist/kernel-types/src/data/userPrefs.d.ts +7 -0
- package/dist/kernel-types/src/data/userPrefs.d.ts.map +1 -0
- package/dist/kernel-types/src/data/userSchemasService.d.ts +73 -0
- package/dist/kernel-types/src/data/userSchemasService.d.ts.map +1 -0
- package/dist/kernel-types/src/data/userTypesService.d.ts +70 -0
- package/dist/kernel-types/src/data/userTypesService.d.ts.map +1 -0
- package/dist/kernel-types/src/data/workspaceSchema.d.ts +49 -0
- package/dist/kernel-types/src/data/workspaceSchema.d.ts.map +1 -0
- package/dist/kernel-types/src/data/workspaces.d.ts +39 -0
- package/dist/kernel-types/src/data/workspaces.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/AppRuntimeProvider.d.ts +6 -0
- package/dist/kernel-types/src/extensions/AppRuntimeProvider.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/BlockFocusShellDecorator.d.ts +4 -0
- package/dist/kernel-types/src/extensions/BlockFocusShellDecorator.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/ExtensionRenderBoundary.d.ts +6 -0
- package/dist/kernel-types/src/extensions/ExtensionRenderBoundary.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/api.d.ts +25 -0
- package/dist/kernel-types/src/extensions/api.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/blockInteraction.d.ts +147 -0
- package/dist/kernel-types/src/extensions/blockInteraction.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/compileExtensionModule.d.ts +39 -0
- package/dist/kernel-types/src/extensions/compileExtensionModule.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/core.d.ts +99 -0
- package/dist/kernel-types/src/extensions/core.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/defaultEditorInteractions.d.ts +5 -0
- package/dist/kernel-types/src/extensions/defaultEditorInteractions.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/defaultRenderers.d.ts +5 -0
- package/dist/kernel-types/src/extensions/defaultRenderers.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/dialogAppMount.d.ts +4 -0
- package/dist/kernel-types/src/extensions/dialogAppMount.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/discoverToggleTree.d.ts +34 -0
- package/dist/kernel-types/src/extensions/discoverToggleTree.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/dynamicExtensions.d.ts +59 -0
- package/dist/kernel-types/src/extensions/dynamicExtensions.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/editor.d.ts +11 -0
- package/dist/kernel-types/src/extensions/editor.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/editorAutocomplete.d.ts +11 -0
- package/dist/kernel-types/src/extensions/editorAutocomplete.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/exampleExtensions.d.ts +19 -0
- package/dist/kernel-types/src/extensions/exampleExtensions.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/extensionLoadErrors.d.ts +28 -0
- package/dist/kernel-types/src/extensions/extensionLoadErrors.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/extensionLookup.d.ts +25 -0
- package/dist/kernel-types/src/extensions/extensionLookup.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/facet.d.ts +84 -0
- package/dist/kernel-types/src/extensions/facet.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/overridesCache.d.ts +36 -0
- package/dist/kernel-types/src/extensions/overridesCache.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/pluginIds.d.ts +20 -0
- package/dist/kernel-types/src/extensions/pluginIds.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/resolveAppRuntime.d.ts +50 -0
- package/dist/kernel-types/src/extensions/resolveAppRuntime.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/runtimeActions.d.ts +4 -0
- package/dist/kernel-types/src/extensions/runtimeActions.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/runtimeContext.d.ts +4 -0
- package/dist/kernel-types/src/extensions/runtimeContext.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/runtimeEvents.d.ts +3 -0
- package/dist/kernel-types/src/extensions/runtimeEvents.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/staticAppExtensions.d.ts +6 -0
- package/dist/kernel-types/src/extensions/staticAppExtensions.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/staticDataExtensions.d.ts +6 -0
- package/dist/kernel-types/src/extensions/staticDataExtensions.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/toastAppMount.d.ts +4 -0
- package/dist/kernel-types/src/extensions/toastAppMount.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/togglable.d.ts +79 -0
- package/dist/kernel-types/src/extensions/togglable.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/useOverrides.d.ts +36 -0
- package/dist/kernel-types/src/extensions/useOverrides.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/useShortcutSurfaceActivations.d.ts +22 -0
- package/dist/kernel-types/src/extensions/useShortcutSurfaceActivations.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/variantFacet.d.ts +70 -0
- package/dist/kernel-types/src/extensions/variantFacet.d.ts.map +1 -0
- package/dist/kernel-types/src/hooks/block.d.ts +153 -0
- package/dist/kernel-types/src/hooks/block.d.ts.map +1 -0
- package/dist/kernel-types/src/hooks/propertySchemas.d.ts +6 -0
- package/dist/kernel-types/src/hooks/propertySchemas.d.ts.map +1 -0
- package/dist/kernel-types/src/hooks/useIsFocalRender.d.ts +24 -0
- package/dist/kernel-types/src/hooks/useIsFocalRender.d.ts.map +1 -0
- package/dist/kernel-types/src/hooks/usePendingInvitations.d.ts +8 -0
- package/dist/kernel-types/src/hooks/usePendingInvitations.d.ts.map +1 -0
- package/dist/kernel-types/src/hooks/useRendererRegistry.d.ts +5 -0
- package/dist/kernel-types/src/hooks/useRendererRegistry.d.ts.map +1 -0
- package/dist/kernel-types/src/hooks/useWorkspaces.d.ts +19 -0
- package/dist/kernel-types/src/hooks/useWorkspaces.d.ts.map +1 -0
- package/dist/kernel-types/src/initData.d.ts +26 -0
- package/dist/kernel-types/src/initData.d.ts.map +1 -0
- package/dist/kernel-types/src/lib/utils.d.ts +3 -0
- package/dist/kernel-types/src/lib/utils.d.ts.map +1 -0
- package/dist/kernel-types/src/main.d.ts +2 -0
- package/dist/kernel-types/src/main.d.ts.map +1 -0
- package/dist/kernel-types/src/markdown/MarkdownImage.d.ts +6 -0
- package/dist/kernel-types/src/markdown/MarkdownImage.d.ts.map +1 -0
- package/dist/kernel-types/src/markdown/defaultMarkdownExtension.d.ts +4 -0
- package/dist/kernel-types/src/markdown/defaultMarkdownExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/markdown/extensions.d.ts +18 -0
- package/dist/kernel-types/src/markdown/extensions.d.ts.map +1 -0
- package/dist/kernel-types/src/minimal-editor.d.ts +2 -0
- package/dist/kernel-types/src/minimal-editor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/account-header/AccountHeaderItem.d.ts +2 -0
- package/dist/kernel-types/src/plugins/account-header/AccountHeaderItem.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/account-header/index.d.ts +6 -0
- package/dist/kernel-types/src/plugins/account-header/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/AgentTokensDialog.d.ts +11 -0
- package/dist/kernel-types/src/plugins/agent-runtime/AgentTokensDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/authoringCatalog.d.ts +78 -0
- package/dist/kernel-types/src/plugins/agent-runtime/authoringCatalog.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/bridge.d.ts +5 -0
- package/dist/kernel-types/src/plugins/agent-runtime/bridge.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/commands.d.ts +5 -0
- package/dist/kernel-types/src/plugins/agent-runtime/commands.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/describeRuntime.d.ts +156 -0
- package/dist/kernel-types/src/plugins/agent-runtime/describeRuntime.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/extensionLint.d.ts +37 -0
- package/dist/kernel-types/src/plugins/agent-runtime/extensionLint.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/index.d.ts +11 -0
- package/dist/kernel-types/src/plugins/agent-runtime/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/protocol.d.ts +144 -0
- package/dist/kernel-types/src/plugins/agent-runtime/protocol.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/serialization.d.ts +11 -0
- package/dist/kernel-types/src/plugins/agent-runtime/serialization.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/tokens.d.ts +39 -0
- package/dist/kernel-types/src/plugins/agent-runtime/tokens.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/alias/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/alias/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/alias/index.d.ts +16 -0
- package/dist/kernel-types/src/plugins/alias/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/alias/syncProcessor.d.ts +54 -0
- package/dist/kernel-types/src/plugins/alias/syncProcessor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/app-intents/appIntents.d.ts +44 -0
- package/dist/kernel-types/src/plugins/app-intents/appIntents.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/app-intents/index.d.ts +24 -0
- package/dist/kernel-types/src/plugins/app-intents/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/BacklinkEntry.d.ts +6 -0
- package/dist/kernel-types/src/plugins/backlinks/BacklinkEntry.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/BacklinkFilters.d.ts +14 -0
- package/dist/kernel-types/src/plugins/backlinks/BacklinkFilters.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/BacklinksFilterPropertyEditor.d.ts +4 -0
- package/dist/kernel-types/src/plugins/backlinks/BacklinksFilterPropertyEditor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/LinkedReferences.d.ts +3 -0
- package/dist/kernel-types/src/plugins/backlinks/LinkedReferences.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/backlinkBreadcrumbShortcuts.d.ts +19 -0
- package/dist/kernel-types/src/plugins/backlinks/backlinkBreadcrumbShortcuts.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/dailyNoteDefaults.d.ts +13 -0
- package/dist/kernel-types/src/plugins/backlinks/dailyNoteDefaults.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/backlinks/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/filterProperty.d.ts +13 -0
- package/dist/kernel-types/src/plugins/backlinks/filterProperty.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/backlinks/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/propertyEditorOverride.d.ts +2 -0
- package/dist/kernel-types/src/plugins/backlinks/propertyEditorOverride.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/propertyFilter.d.ts +35 -0
- package/dist/kernel-types/src/plugins/backlinks/propertyFilter.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/query.d.ts +38 -0
- package/dist/kernel-types/src/plugins/backlinks/query.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/useBacklinks.d.ts +5 -0
- package/dist/kernel-types/src/plugins/backlinks/useBacklinks.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/useStoredBacklinkFilter.d.ts +11 -0
- package/dist/kernel-types/src/plugins/backlinks/useStoredBacklinkFilter.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks-view/BacklinksEmptyState.d.ts +5 -0
- package/dist/kernel-types/src/plugins/backlinks-view/BacklinksEmptyState.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks-view/BacklinksViewSection.d.ts +30 -0
- package/dist/kernel-types/src/plugins/backlinks-view/BacklinksViewSection.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks-view/facet.d.ts +23 -0
- package/dist/kernel-types/src/plugins/backlinks-view/facet.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks-view/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/backlinks-view/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks-view/prop.d.ts +20 -0
- package/dist/kernel-types/src/plugins/backlinks-view/prop.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/block-tagging/AddTagDialog.d.ts +6 -0
- package/dist/kernel-types/src/plugins/block-tagging/AddTagDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/block-tagging/BlockTagsConfigEditor.d.ts +3 -0
- package/dist/kernel-types/src/plugins/block-tagging/BlockTagsConfigEditor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/block-tagging/addTagAction.d.ts +7 -0
- package/dist/kernel-types/src/plugins/block-tagging/addTagAction.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/block-tagging/appendTag.d.ts +22 -0
- package/dist/kernel-types/src/plugins/block-tagging/appendTag.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/block-tagging/config.d.ts +21 -0
- package/dist/kernel-types/src/plugins/block-tagging/config.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/block-tagging/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/block-tagging/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/block-tagging/index.d.ts +6 -0
- package/dist/kernel-types/src/plugins/block-tagging/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/block-tagging/propertyEditorOverride.d.ts +2 -0
- package/dist/kernel-types/src/plugins/block-tagging/propertyEditorOverride.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/BreadcrumbList.d.ts +16 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/BreadcrumbList.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/BreadcrumbRenderer.d.ts +7 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/BreadcrumbRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/Breadcrumbs.d.ts +5 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/breadcrumbPreview.d.ts +2 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/breadcrumbPreview.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/index.d.ts +9 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/command-palette/CommandPalette.d.ts +2 -0
- package/dist/kernel-types/src/plugins/command-palette/CommandPalette.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/command-palette/HeaderItem.d.ts +2 -0
- package/dist/kernel-types/src/plugins/command-palette/HeaderItem.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/command-palette/context.d.ts +7 -0
- package/dist/kernel-types/src/plugins/command-palette/context.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/command-palette/events.d.ts +2 -0
- package/dist/kernel-types/src/plugins/command-palette/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/command-palette/index.d.ts +24 -0
- package/dist/kernel-types/src/plugins/command-palette/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/command-palette/useCommandPaletteActions.d.ts +8 -0
- package/dist/kernel-types/src/plugins/command-palette/useCommandPaletteActions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/CalendarGrid.d.ts +39 -0
- package/dist/kernel-types/src/plugins/daily-notes/CalendarGrid.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/DailyNotePicker.d.ts +2 -0
- package/dist/kernel-types/src/plugins/daily-notes/DailyNotePicker.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/DateKeyboardScrubController.d.ts +2 -0
- package/dist/kernel-types/src/plugins/daily-notes/DateKeyboardScrubController.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/DateScrubOverlay.d.ts +2 -0
- package/dist/kernel-types/src/plugins/daily-notes/DateScrubOverlay.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/HeaderItem.d.ts +2 -0
- package/dist/kernel-types/src/plugins/daily-notes/HeaderItem.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/ReschedulePicker.d.ts +2 -0
- package/dist/kernel-types/src/plugins/daily-notes/ReschedulePicker.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/SpreadDatesDialog.d.ts +9 -0
- package/dist/kernel-types/src/plugins/daily-notes/SpreadDatesDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/actions.d.ts +59 -0
- package/dist/kernel-types/src/plugins/daily-notes/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/blockDateAdapter.d.ts +45 -0
- package/dist/kernel-types/src/plugins/daily-notes/blockDateAdapter.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/calendar.d.ts +26 -0
- package/dist/kernel-types/src/plugins/daily-notes/calendar.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/dailyNotes.d.ts +67 -0
- package/dist/kernel-types/src/plugins/daily-notes/dailyNotes.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/daily-notes/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/dateScrubGesture.d.ts +32 -0
- package/dist/kernel-types/src/plugins/daily-notes/dateScrubGesture.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/events.d.ts +15 -0
- package/dist/kernel-types/src/plugins/daily-notes/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/index.d.ts +71 -0
- package/dist/kernel-types/src/plugins/daily-notes/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/landing.d.ts +21 -0
- package/dist/kernel-types/src/plugins/daily-notes/landing.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/localSchema.d.ts +4 -0
- package/dist/kernel-types/src/plugins/daily-notes/localSchema.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/referenceDateAdapter.d.ts +20 -0
- package/dist/kernel-types/src/plugins/daily-notes/referenceDateAdapter.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/rescheduleAction.d.ts +6 -0
- package/dist/kernel-types/src/plugins/daily-notes/rescheduleAction.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/rescheduleEvents.d.ts +25 -0
- package/dist/kernel-types/src/plugins/daily-notes/rescheduleEvents.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/schema.d.ts +11 -0
- package/dist/kernel-types/src/plugins/daily-notes/schema.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/spreadBlockDates.d.ts +37 -0
- package/dist/kernel-types/src/plugins/daily-notes/spreadBlockDates.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/spreadDatesAction.d.ts +7 -0
- package/dist/kernel-types/src/plugins/daily-notes/spreadDatesAction.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/wikilinkDateDecorator.d.ts +3 -0
- package/dist/kernel-types/src/plugins/daily-notes/wikilinkDateDecorator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/ExtensionsOverridesEditor.d.ts +19 -0
- package/dist/kernel-types/src/plugins/extensions-settings/ExtensionsOverridesEditor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/ExtensionsSettings.d.ts +28 -0
- package/dist/kernel-types/src/plugins/extensions-settings/ExtensionsSettings.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/actions.d.ts +16 -0
- package/dist/kernel-types/src/plugins/extensions-settings/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/config.d.ts +19 -0
- package/dist/kernel-types/src/plugins/extensions-settings/config.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/extensions-settings/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/effect.d.ts +36 -0
- package/dist/kernel-types/src/plugins/extensions-settings/effect.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/index.d.ts +13 -0
- package/dist/kernel-types/src/plugins/extensions-settings/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/propertyEditorOverride.d.ts +3 -0
- package/dist/kernel-types/src/plugins/extensions-settings/propertyEditorOverride.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/useToggleTree.d.ts +21 -0
- package/dist/kernel-types/src/plugins/extensions-settings/useToggleTree.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extract-type/ExtractTypeDialog.d.ts +17 -0
- package/dist/kernel-types/src/plugins/extract-type/ExtractTypeDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extract-type/FindTypeInstancesDialog.d.ts +18 -0
- package/dist/kernel-types/src/plugins/extract-type/FindTypeInstancesDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extract-type/PropertyShapePicker.d.ts +78 -0
- package/dist/kernel-types/src/plugins/extract-type/PropertyShapePicker.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extract-type/action.d.ts +19 -0
- package/dist/kernel-types/src/plugins/extract-type/action.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extract-type/events.d.ts +16 -0
- package/dist/kernel-types/src/plugins/extract-type/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extract-type/index.d.ts +22 -0
- package/dist/kernel-types/src/plugins/extract-type/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/find-replace/FindReplaceDialog.d.ts +2 -0
- package/dist/kernel-types/src/plugins/find-replace/FindReplaceDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/find-replace/HeaderItem.d.ts +2 -0
- package/dist/kernel-types/src/plugins/find-replace/HeaderItem.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/find-replace/dataExtension.d.ts +25 -0
- package/dist/kernel-types/src/plugins/find-replace/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/find-replace/events.d.ts +2 -0
- package/dist/kernel-types/src/plugins/find-replace/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/find-replace/index.d.ts +13 -0
- package/dist/kernel-types/src/plugins/find-replace/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/find-replace/search.d.ts +15 -0
- package/dist/kernel-types/src/plugins/find-replace/search.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/find-replace/types.d.ts +33 -0
- package/dist/kernel-types/src/plugins/find-replace/types.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/LocationPropertyEditor.d.ts +14 -0
- package/dist/kernel-types/src/plugins/geo/LocationPropertyEditor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/MapView.d.ts +29 -0
- package/dist/kernel-types/src/plugins/geo/MapView.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/blockTypes.d.ts +15 -0
- package/dist/kernel-types/src/plugins/geo/blockTypes.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/codeMirrorExtensions.d.ts +17 -0
- package/dist/kernel-types/src/plugins/geo/codeMirrorExtensions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/codecs.d.ts +16 -0
- package/dist/kernel-types/src/plugins/geo/codecs.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/createOrFindPlace.d.ts +36 -0
- package/dist/kernel-types/src/plugins/geo/createOrFindPlace.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/currentLocation.d.ts +34 -0
- package/dist/kernel-types/src/plugins/geo/currentLocation.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/dataExtension.d.ts +7 -0
- package/dist/kernel-types/src/plugins/geo/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/geoContentDecorator.d.ts +18 -0
- package/dist/kernel-types/src/plugins/geo/geoContentDecorator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/googlePlacesClient.d.ts +102 -0
- package/dist/kernel-types/src/plugins/geo/googlePlacesClient.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/index.d.ts +11 -0
- package/dist/kernel-types/src/plugins/geo/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/locationsPage.d.ts +11 -0
- package/dist/kernel-types/src/plugins/geo/locationsPage.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/pickCurrentLocation.d.ts +23 -0
- package/dist/kernel-types/src/plugins/geo/pickCurrentLocation.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/placeAutocomplete.d.ts +103 -0
- package/dist/kernel-types/src/plugins/geo/placeAutocomplete.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/properties.d.ts +33 -0
- package/dist/kernel-types/src/plugins/geo/properties.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/propertyEditorOverrides.d.ts +6 -0
- package/dist/kernel-types/src/plugins/geo/propertyEditorOverrides.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/query.d.ts +48 -0
- package/dist/kernel-types/src/plugins/geo/query.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/usePlaceSearch.d.ts +43 -0
- package/dist/kernel-types/src/plugins/geo/usePlaceSearch.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/GroupHeaderActionButton.d.ts +27 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/GroupHeaderActionButton.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/GroupedBacklinksConfigEditor.d.ts +4 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/GroupedBacklinksConfigEditor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/GroupedLinkedReferences.d.ts +3 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/GroupedLinkedReferences.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/config.d.ts +24 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/config.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/facet.d.ts +31 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/facet.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/grouping.d.ts +23 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/grouping.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/propertyEditorOverride.d.ts +3 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/propertyEditorOverride.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/query.d.ts +34 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/query.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/useGroupedBacklinks.d.ts +6 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/useGroupedBacklinks.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/useGroupedBacklinksConfig.d.ts +4 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/useGroupedBacklinksConfig.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/left-sidebar/HeaderItem.d.ts +2 -0
- package/dist/kernel-types/src/plugins/left-sidebar/HeaderItem.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/left-sidebar/LeftSidebar.d.ts +5 -0
- package/dist/kernel-types/src/plugins/left-sidebar/LeftSidebar.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/left-sidebar/actions.d.ts +5 -0
- package/dist/kernel-types/src/plugins/left-sidebar/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/left-sidebar/events.d.ts +7 -0
- package/dist/kernel-types/src/plugins/left-sidebar/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/left-sidebar/facet.d.ts +11 -0
- package/dist/kernel-types/src/plugins/left-sidebar/facet.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/left-sidebar/index.d.ts +14 -0
- package/dist/kernel-types/src/plugins/left-sidebar/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/left-sidebar/shortcuts.d.ts +5 -0
- package/dist/kernel-types/src/plugins/left-sidebar/shortcuts.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/merge-blocks/MergePicker.d.ts +2 -0
- package/dist/kernel-types/src/plugins/merge-blocks/MergePicker.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/merge-blocks/events.d.ts +17 -0
- package/dist/kernel-types/src/plugins/merge-blocks/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/merge-blocks/index.d.ts +5 -0
- package/dist/kernel-types/src/plugins/merge-blocks/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/merge-blocks/mergeAction.d.ts +4 -0
- package/dist/kernel-types/src/plugins/merge-blocks/mergeAction.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/merge-blocks/strategy.d.ts +13 -0
- package/dist/kernel-types/src/plugins/merge-blocks/strategy.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/Button.d.ts +9 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/Button.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/MobileBottomNav.d.ts +2 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/MobileBottomNav.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/defaultItems.d.ts +9 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/defaultItems.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/facet.d.ts +12 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/facet.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/index.d.ts +9 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/MobileKeyboardToolbar.d.ts +7 -0
- package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/MobileKeyboardToolbar.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/actions.d.ts +5 -0
- package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/index.d.ts +7 -0
- package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/plain-outliner/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/plain-outliner/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/plain-outliner/interactions.d.ts +4 -0
- package/dist/kernel-types/src/plugins/plain-outliner/interactions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/quick-find/HeaderItem.d.ts +2 -0
- package/dist/kernel-types/src/plugins/quick-find/HeaderItem.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/quick-find/QuickFind.d.ts +2 -0
- package/dist/kernel-types/src/plugins/quick-find/QuickFind.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/quick-find/events.d.ts +2 -0
- package/dist/kernel-types/src/plugins/quick-find/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/quick-find/index.d.ts +13 -0
- package/dist/kernel-types/src/plugins/quick-find/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/quick-find/recents.d.ts +13 -0
- package/dist/kernel-types/src/plugins/quick-find/recents.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/quick-find/selection.d.ts +40 -0
- package/dist/kernel-types/src/plugins/quick-find/selection.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/codeMirrorExtensions.d.ts +9 -0
- package/dist/kernel-types/src/plugins/references/codeMirrorExtensions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/references/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/references/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/invalidation.d.ts +4 -0
- package/dist/kernel-types/src/plugins/references/invalidation.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/localSchema.d.ts +21 -0
- package/dist/kernel-types/src/plugins/references/localSchema.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/markdown/blockrefs/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/references/markdown/blockrefs/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/markdown/blockrefs/remark-blockrefs.d.ts +3 -0
- package/dist/kernel-types/src/plugins/references/markdown/blockrefs/remark-blockrefs.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/markdown/wikilinks/Wikilink.d.ts +14 -0
- package/dist/kernel-types/src/plugins/references/markdown/wikilinks/Wikilink.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/markdown/wikilinks/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/references/markdown/wikilinks/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/markdown/wikilinks/remark-wikilinks.d.ts +6 -0
- package/dist/kernel-types/src/plugins/references/markdown/wikilinks/remark-wikilinks.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/markdown/wikilinks/wikilinkDecorator.d.ts +49 -0
- package/dist/kernel-types/src/plugins/references/markdown/wikilinks/wikilinkDecorator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/referenceParser.d.ts +84 -0
- package/dist/kernel-types/src/plugins/references/referenceParser.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/referenceProjection.d.ts +3 -0
- package/dist/kernel-types/src/plugins/references/referenceProjection.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/referencesProcessor.d.ts +59 -0
- package/dist/kernel-types/src/plugins/references/referencesProcessor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/renameProcessor.d.ts +56 -0
- package/dist/kernel-types/src/plugins/references/renameProcessor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/action.d.ts +6 -0
- package/dist/kernel-types/src/plugins/roam-import/action.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/content.d.ts +9 -0
- package/dist/kernel-types/src/plugins/roam-import/content.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/effect.d.ts +7 -0
- package/dist/kernel-types/src/plugins/roam-import/effect.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/ids.d.ts +9 -0
- package/dist/kernel-types/src/plugins/roam-import/ids.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/import.d.ts +37 -0
- package/dist/kernel-types/src/plugins/roam-import/import.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/index.d.ts +8 -0
- package/dist/kernel-types/src/plugins/roam-import/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/plan.d.ts +82 -0
- package/dist/kernel-types/src/plugins/roam-import/plan.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/plugin.d.ts +23 -0
- package/dist/kernel-types/src/plugins/roam-import/plugin.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/promotion.d.ts +39 -0
- package/dist/kernel-types/src/plugins/roam-import/promotion.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/properties.d.ts +62 -0
- package/dist/kernel-types/src/plugins/roam-import/properties.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/references.d.ts +2 -0
- package/dist/kernel-types/src/plugins/roam-import/references.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/report.d.ts +25 -0
- package/dist/kernel-types/src/plugins/roam-import/report.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/roamMemo.d.ts +35 -0
- package/dist/kernel-types/src/plugins/roam-import/roamMemo.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/runtime.d.ts +24 -0
- package/dist/kernel-types/src/plugins/roam-import/runtime.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/schemaReconciliation.d.ts +75 -0
- package/dist/kernel-types/src/plugins/roam-import/schemaReconciliation.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/srsMarkers.d.ts +22 -0
- package/dist/kernel-types/src/plugins/roam-import/srsMarkers.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/todo.d.ts +7 -0
- package/dist/kernel-types/src/plugins/roam-import/todo.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/typeCandidates.d.ts +26 -0
- package/dist/kernel-types/src/plugins/roam-import/typeCandidates.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/types.d.ts +32 -0
- package/dist/kernel-types/src/plugins/roam-import/types.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/PanelFocusRecovery.d.ts +38 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/PanelFocusRecovery.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/ShellDecorator.d.ts +35 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/ShellDecorator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/actions.d.ts +7 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/index.d.ts +5 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/shell.d.ts +3 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/shell.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/surface.d.ts +4 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/surface.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/walker.d.ts +131 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/walker.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/RescheduleToast.d.ts +14 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/RescheduleToast.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/index.d.ts +19 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/indicator.d.ts +9 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/indicator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/moveSrsState.d.ts +8 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/moveSrsState.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/rescheduleDecorator.d.ts +3 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/rescheduleDecorator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/scheduler.d.ts +24 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/scheduler.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/schema.d.ts +17 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/schema.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/srsBlockDateAdapter.d.ts +3 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/srsBlockDateAdapter.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/srsClipboard.d.ts +9 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/srsClipboard.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/swipeRightDecorator.d.ts +6 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/swipeRightDecorator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/SwipeActionMenu.d.ts +15 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/SwipeActionMenu.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/actions.d.ts +46 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/anchor.d.ts +9 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/anchor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/events.d.ts +31 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/index.d.ts +6 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/swipeGesture.d.ts +13 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/swipeGesture.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/sync-status/RejectionDialog.d.ts +7 -0
- package/dist/kernel-types/src/plugins/sync-status/RejectionDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/sync-status/SyncStatusHeaderItem.d.ts +2 -0
- package/dist/kernel-types/src/plugins/sync-status/SyncStatusHeaderItem.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/sync-status/index.d.ts +5 -0
- package/dist/kernel-types/src/plugins/sync-status/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/sync-status/model.d.ts +27 -0
- package/dist/kernel-types/src/plugins/sync-status/model.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/sync-status/rejectedHelpers.d.ts +25 -0
- package/dist/kernel-types/src/plugins/sync-status/rejectedHelpers.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/theme-toggle/ThemeToggle.d.ts +2 -0
- package/dist/kernel-types/src/plugins/theme-toggle/ThemeToggle.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/theme-toggle/index.d.ts +7 -0
- package/dist/kernel-types/src/plugins/theme-toggle/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/theme-toggle/theme.d.ts +6 -0
- package/dist/kernel-types/src/plugins/theme-toggle/theme.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/todo/actions.d.ts +9 -0
- package/dist/kernel-types/src/plugins/todo/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/todo/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/todo/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/todo/index.d.ts +6 -0
- package/dist/kernel-types/src/plugins/todo/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/todo/schema.d.ts +7 -0
- package/dist/kernel-types/src/plugins/todo/schema.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/update-indicator/UpdateIndicator.d.ts +5 -0
- package/dist/kernel-types/src/plugins/update-indicator/UpdateIndicator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/update-indicator/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/update-indicator/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/update-indicator/loadTimes.d.ts +17 -0
- package/dist/kernel-types/src/plugins/update-indicator/loadTimes.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/VideoPlayerRenderer.d.ts +15 -0
- package/dist/kernel-types/src/plugins/video-player/VideoPlayerRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/VideoTimeStamp.d.ts +7 -0
- package/dist/kernel-types/src/plugins/video-player/VideoTimeStamp.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/actions.d.ts +17 -0
- package/dist/kernel-types/src/plugins/video-player/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/events.d.ts +13 -0
- package/dist/kernel-types/src/plugins/video-player/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/video-player/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/markdown.d.ts +3 -0
- package/dist/kernel-types/src/plugins/video-player/markdown.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/notes.d.ts +4 -0
- package/dist/kernel-types/src/plugins/video-player/notes.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/remark-timestamps.d.ts +4 -0
- package/dist/kernel-types/src/plugins/video-player/remark-timestamps.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/view.d.ts +5 -0
- package/dist/kernel-types/src/plugins/video-player/view.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/vim-normal-mode/actions.d.ts +10 -0
- package/dist/kernel-types/src/plugins/vim-normal-mode/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/vim-normal-mode/index.d.ts +7 -0
- package/dist/kernel-types/src/plugins/vim-normal-mode/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/vim-normal-mode/interactions.d.ts +5 -0
- package/dist/kernel-types/src/plugins/vim-normal-mode/interactions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/visual-navigation/VisualNavigationShellDecorator.d.ts +3 -0
- package/dist/kernel-types/src/plugins/visual-navigation/VisualNavigationShellDecorator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/visual-navigation/actions.d.ts +7 -0
- package/dist/kernel-types/src/plugins/visual-navigation/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/visual-navigation/index.d.ts +7 -0
- package/dist/kernel-types/src/plugins/visual-navigation/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/visual-navigation/navigation.d.ts +69 -0
- package/dist/kernel-types/src/plugins/visual-navigation/navigation.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/visual-navigation/shell.d.ts +3 -0
- package/dist/kernel-types/src/plugins/visual-navigation/shell.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/workspace-header/index.d.ts +8 -0
- package/dist/kernel-types/src/plugins/workspace-header/index.d.ts.map +1 -0
- package/dist/kernel-types/src/registerServiceWorker.d.ts +15 -0
- package/dist/kernel-types/src/registerServiceWorker.d.ts.map +1 -0
- package/dist/kernel-types/src/services/powersync.d.ts +49 -0
- package/dist/kernel-types/src/services/powersync.d.ts.map +1 -0
- package/dist/kernel-types/src/services/supabase.d.ts +6 -0
- package/dist/kernel-types/src/services/supabase.d.ts.map +1 -0
- package/dist/kernel-types/src/services/uploadErrorClassifier.d.ts +16 -0
- package/dist/kernel-types/src/services/uploadErrorClassifier.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/ActiveContexts.d.ts +26 -0
- package/dist/kernel-types/src/shortcuts/ActiveContexts.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/HotkeyReconciler.d.ts +24 -0
- package/dist/kernel-types/src/shortcuts/HotkeyReconciler.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/blockActions.d.ts +39 -0
- package/dist/kernel-types/src/shortcuts/blockActions.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/defaultContexts.d.ts +3 -0
- package/dist/kernel-types/src/shortcuts/defaultContexts.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/defaultShortcuts.d.ts +22 -0
- package/dist/kernel-types/src/shortcuts/defaultShortcuts.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/effectiveActions.d.ts +7 -0
- package/dist/kernel-types/src/shortcuts/effectiveActions.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/runAction.d.ts +20 -0
- package/dist/kernel-types/src/shortcuts/runAction.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/types.d.ts +118 -0
- package/dist/kernel-types/src/shortcuts/types.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/useActionContext.d.ts +25 -0
- package/dist/kernel-types/src/shortcuts/useActionContext.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/utils.d.ts +90 -0
- package/dist/kernel-types/src/shortcuts/utils.d.ts.map +1 -0
- package/dist/kernel-types/src/tutorial/outline.d.ts +39 -0
- package/dist/kernel-types/src/tutorial/outline.d.ts.map +1 -0
- package/dist/kernel-types/src/types.d.ts +104 -0
- package/dist/kernel-types/src/types.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/AliasCollisionToast.d.ts +13 -0
- package/dist/kernel-types/src/utils/AliasCollisionToast.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/ClientLocalSettings.d.ts +47 -0
- package/dist/kernel-types/src/utils/ClientLocalSettings.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/array.d.ts +9 -0
- package/dist/kernel-types/src/utils/array.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/async.d.ts +7 -0
- package/dist/kernel-types/src/utils/async.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/backlinkAutocomplete.d.ts +33 -0
- package/dist/kernel-types/src/utils/backlinkAutocomplete.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/blockrefAutocomplete.d.ts +18 -0
- package/dist/kernel-types/src/utils/blockrefAutocomplete.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/callbackSet.d.ts +29 -0
- package/dist/kernel-types/src/utils/callbackSet.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/codemirror.d.ts +46 -0
- package/dist/kernel-types/src/utils/codemirror.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/codemirrorCompletion.d.ts +3 -0
- package/dist/kernel-types/src/utils/codemirrorCompletion.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/copy.d.ts +8 -0
- package/dist/kernel-types/src/utils/copy.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/dailyPage.d.ts +7 -0
- package/dist/kernel-types/src/utils/dailyPage.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/dialogs.d.ts +38 -0
- package/dist/kernel-types/src/utils/dialogs.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/dom.d.ts +4 -0
- package/dist/kernel-types/src/utils/dom.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/exportSqliteDb.d.ts +29 -0
- package/dist/kernel-types/src/utils/exportSqliteDb.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/lastWorkspace.d.ts +4 -0
- package/dist/kernel-types/src/utils/lastWorkspace.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/layoutSessionId.d.ts +11 -0
- package/dist/kernel-types/src/utils/layoutSessionId.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/linkTargetAutocomplete.d.ts +61 -0
- package/dist/kernel-types/src/utils/linkTargetAutocomplete.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/markdownParser.d.ts +12 -0
- package/dist/kernel-types/src/utils/markdownParser.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/navigation.d.ts +64 -0
- package/dist/kernel-types/src/utils/navigation.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/object.d.ts +7 -0
- package/dist/kernel-types/src/utils/object.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/panelHistory.d.ts +70 -0
- package/dist/kernel-types/src/utils/panelHistory.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/panelLayoutProjection.d.ts +70 -0
- package/dist/kernel-types/src/utils/panelLayoutProjection.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/paste.d.ts +22 -0
- package/dist/kernel-types/src/utils/paste.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/processorRejectionToast.d.ts +26 -0
- package/dist/kernel-types/src/utils/processorRejectionToast.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/propertyCreation.d.ts +4 -0
- package/dist/kernel-types/src/utils/propertyCreation.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/propertyNavigation.d.ts +20 -0
- package/dist/kernel-types/src/utils/propertyNavigation.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/react.d.ts +2 -0
- package/dist/kernel-types/src/utils/react.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/relativeDate.d.ts +42 -0
- package/dist/kernel-types/src/utils/relativeDate.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/routing.d.ts +23 -0
- package/dist/kernel-types/src/utils/routing.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/safeMode.d.ts +5 -0
- package/dist/kernel-types/src/utils/safeMode.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/scheduleIdle.d.ts +14 -0
- package/dist/kernel-types/src/utils/scheduleIdle.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/selection.d.ts +74 -0
- package/dist/kernel-types/src/utils/selection.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/state.d.ts +17 -0
- package/dist/kernel-types/src/utils/state.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/templateLiterals.d.ts +6 -0
- package/dist/kernel-types/src/utils/templateLiterals.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/time.d.ts +3 -0
- package/dist/kernel-types/src/utils/time.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/toast.d.ts +65 -0
- package/dist/kernel-types/src/utils/toast.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/types.d.ts +6 -0
- package/dist/kernel-types/src/utils/types.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/viewTransition.d.ts +29 -0
- package/dist/kernel-types/src/utils/viewTransition.d.ts.map +1 -0
- package/dist/kernelDts.d.ts +13 -0
- package/dist/kernelDts.d.ts.map +1 -0
- package/dist/kernelDts.js +47 -0
- package/dist/kernelDts.js.map +1 -0
- package/dist/protocol.d.ts +470 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +365 -0
- package/dist/protocol.js.map +1 -0
- package/dist/server.d.ts +3 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +554 -0
- package/dist/server.js.map +1 -0
- package/package.json +59 -0
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { FacetRuntime } from '@/extensions/facet.js';
|
|
2
|
+
import { ActionConfig } from '@/shortcuts/types.js';
|
|
3
|
+
import { Repo } from '@/data/repo';
|
|
4
|
+
import { type AuthoringCatalog } from './authoringCatalog.ts';
|
|
5
|
+
export interface DescribeRuntimeContext {
|
|
6
|
+
repo: Repo;
|
|
7
|
+
runtime: FacetRuntime;
|
|
8
|
+
safeMode: boolean;
|
|
9
|
+
actions: readonly ActionConfig[];
|
|
10
|
+
renderers: Record<string, unknown>;
|
|
11
|
+
document?: Document;
|
|
12
|
+
}
|
|
13
|
+
export interface FacetContributionSummary {
|
|
14
|
+
source: string | undefined;
|
|
15
|
+
precedence: number | undefined;
|
|
16
|
+
valueSummary: string;
|
|
17
|
+
}
|
|
18
|
+
export interface FacetSummary {
|
|
19
|
+
id: string;
|
|
20
|
+
contributionCount: number;
|
|
21
|
+
contributions: FacetContributionSummary[];
|
|
22
|
+
/** Source of the facet's `validate` predicate, if it has one. Tells
|
|
23
|
+
* agent authors what shape a contribution must have — e.g. that
|
|
24
|
+
* `headerItemsFacet` requires `region: 'start'|'end'` and a
|
|
25
|
+
* `component: function`. Truncated to keep output readable. */
|
|
26
|
+
validate?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface ApiSurfaceSummary {
|
|
29
|
+
module: string;
|
|
30
|
+
exports: string[];
|
|
31
|
+
}
|
|
32
|
+
export interface ActionSummary {
|
|
33
|
+
id: string;
|
|
34
|
+
description: string;
|
|
35
|
+
context: string;
|
|
36
|
+
hasDefaultBinding: boolean;
|
|
37
|
+
/** Whether `yarn agent run-action` can dispatch this action. False
|
|
38
|
+
* for contexts whose dependencies are live UI handles (CodeMirror
|
|
39
|
+
* view, focused input). */
|
|
40
|
+
runnableFromCli: boolean;
|
|
41
|
+
/** Dependency keys the action handler receives at runtime. */
|
|
42
|
+
expectedDependencies: readonly string[];
|
|
43
|
+
/** Keys the CLI `depsJson` payload accepts. Empty when
|
|
44
|
+
* runnableFromCli is false. */
|
|
45
|
+
cliDependencyKeys: readonly string[];
|
|
46
|
+
/** Extra context about CLI invocability, when worth noting. */
|
|
47
|
+
cliDependencyNotes?: string;
|
|
48
|
+
}
|
|
49
|
+
export interface RuntimeDescription {
|
|
50
|
+
activeWorkspaceId: string | null;
|
|
51
|
+
currentUser: {
|
|
52
|
+
id: string;
|
|
53
|
+
name?: string;
|
|
54
|
+
};
|
|
55
|
+
safeMode: boolean;
|
|
56
|
+
actions: ActionSummary[];
|
|
57
|
+
renderers: string[];
|
|
58
|
+
facets: FacetSummary[];
|
|
59
|
+
apiSurface: ApiSurfaceSummary;
|
|
60
|
+
authoring: AuthoringCatalog;
|
|
61
|
+
}
|
|
62
|
+
export interface RuntimeDescriptionFilters {
|
|
63
|
+
actions?: string[];
|
|
64
|
+
facets?: string[];
|
|
65
|
+
guides?: string[];
|
|
66
|
+
modules?: string[];
|
|
67
|
+
components?: string[];
|
|
68
|
+
storage?: boolean;
|
|
69
|
+
/** When true, return the authoring sections (guides, storage,
|
|
70
|
+
* apiSurface) without the bulky runtime introspection sections
|
|
71
|
+
* (actions, facets, renderers, modules, components). The CLI sets
|
|
72
|
+
* this implicitly when `--guide` is passed alone, so an agent
|
|
73
|
+
* fetching extension-authoring guidance doesn't get 350KB of
|
|
74
|
+
* unrelated runtime detail in the response. */
|
|
75
|
+
brief?: boolean;
|
|
76
|
+
}
|
|
77
|
+
export interface RuntimePing {
|
|
78
|
+
ok: true;
|
|
79
|
+
activeWorkspaceId: string | null;
|
|
80
|
+
currentUser: {
|
|
81
|
+
id: string;
|
|
82
|
+
name?: string;
|
|
83
|
+
};
|
|
84
|
+
safeMode: boolean;
|
|
85
|
+
}
|
|
86
|
+
export interface RuntimeSummary {
|
|
87
|
+
activeWorkspaceId: string | null;
|
|
88
|
+
currentUser: {
|
|
89
|
+
id: string;
|
|
90
|
+
name?: string;
|
|
91
|
+
};
|
|
92
|
+
safeMode: boolean;
|
|
93
|
+
commands: {
|
|
94
|
+
baseline: string[];
|
|
95
|
+
dataAccess: string[];
|
|
96
|
+
diagnostics: string[];
|
|
97
|
+
};
|
|
98
|
+
capabilities: {
|
|
99
|
+
actions: {
|
|
100
|
+
count: number;
|
|
101
|
+
byContext: Record<string, number>;
|
|
102
|
+
examples: Array<{
|
|
103
|
+
id: string;
|
|
104
|
+
description: string;
|
|
105
|
+
context: string;
|
|
106
|
+
}>;
|
|
107
|
+
};
|
|
108
|
+
renderers: {
|
|
109
|
+
count: number;
|
|
110
|
+
ids: string[];
|
|
111
|
+
};
|
|
112
|
+
facets: {
|
|
113
|
+
count: number;
|
|
114
|
+
contributionCount: number;
|
|
115
|
+
largest: Array<{
|
|
116
|
+
id: string;
|
|
117
|
+
contributionCount: number;
|
|
118
|
+
}>;
|
|
119
|
+
};
|
|
120
|
+
apiSurface: {
|
|
121
|
+
module: string;
|
|
122
|
+
exportCount: number;
|
|
123
|
+
examples: string[];
|
|
124
|
+
};
|
|
125
|
+
authoring: {
|
|
126
|
+
guideCount: number;
|
|
127
|
+
moduleCount: number;
|
|
128
|
+
componentCount: number;
|
|
129
|
+
guides: string[];
|
|
130
|
+
};
|
|
131
|
+
/** Storage decision tree, surfaced inline because picking the
|
|
132
|
+
* wrong shape (e.g. localStorage for non-credential config) is
|
|
133
|
+
* the single most common extension-authoring mistake and the
|
|
134
|
+
* fix is a one-line rule, not a multi-step pattern lookup.
|
|
135
|
+
* Agents should consult this *before* writing any new
|
|
136
|
+
* storage-touching extension code. */
|
|
137
|
+
storage: {
|
|
138
|
+
principles: string[];
|
|
139
|
+
patterns: Array<{
|
|
140
|
+
id: string;
|
|
141
|
+
when: string;
|
|
142
|
+
}>;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
more: Array<{
|
|
146
|
+
need: string;
|
|
147
|
+
command: string;
|
|
148
|
+
}>;
|
|
149
|
+
}
|
|
150
|
+
export declare const describeFacets: (runtime: FacetRuntime) => FacetSummary[];
|
|
151
|
+
export declare const getApiSurface: () => Promise<ApiSurfaceSummary>;
|
|
152
|
+
export declare const __resetApiSurfaceCacheForTest: () => void;
|
|
153
|
+
export declare const describeRuntime: (context: DescribeRuntimeContext, filters?: RuntimeDescriptionFilters) => Promise<RuntimeDescription>;
|
|
154
|
+
export declare const pingRuntime: (context: DescribeRuntimeContext) => RuntimePing;
|
|
155
|
+
export declare const describeRuntimeSummary: (context: DescribeRuntimeContext) => Promise<RuntimeSummary>;
|
|
156
|
+
//# sourceMappingURL=describeRuntime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"describeRuntime.d.ts","sourceRoot":"","sources":["../../../../../../../src/plugins/agent-runtime/describeRuntime.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source-level lint for extension blocks. Surfaces anti-patterns the
|
|
3
|
+
* agent is likely to fall into when not reading the authoring catalog
|
|
4
|
+
* carefully — every rule names a canonical replacement (catalog
|
|
5
|
+
* pattern id + a one-liner "what to do instead").
|
|
6
|
+
*
|
|
7
|
+
* The lint runs at `install-extension --verify` time. It's
|
|
8
|
+
* non-blocking — warnings are returned alongside the verification
|
|
9
|
+
* facets/actions so the agent can see them at install time, decide
|
|
10
|
+
* whether to fix, and re-run install if it does. Lint warnings being
|
|
11
|
+
* advisory (not errors) lets a one-off / experimental extension still
|
|
12
|
+
* land; the agent's choice to ignore is visible and reversible.
|
|
13
|
+
*
|
|
14
|
+
* Each rule has two parts:
|
|
15
|
+
* - `match(source)` — quick regex/text check. Cheap.
|
|
16
|
+
* - `applies(source, hits)` — optional second-pass refinement. Skips
|
|
17
|
+
* the warning if the hits are actually OK (e.g. localStorage key
|
|
18
|
+
* contains a credential-looking substring).
|
|
19
|
+
*/
|
|
20
|
+
export interface ExtensionLintWarning {
|
|
21
|
+
/** Stable rule id, e.g. `config-in-localstorage`. Lets agents
|
|
22
|
+
* suppress / acknowledge specific rules per extension via comments
|
|
23
|
+
* if we ever need that escape hatch. */
|
|
24
|
+
rule: string;
|
|
25
|
+
/** One-line problem statement. */
|
|
26
|
+
message: string;
|
|
27
|
+
/** Catalog pattern id that solves this — agent can fetch the full
|
|
28
|
+
* example via `yarn agent describe-runtime --guide block-backed-config`
|
|
29
|
+
* or read the principles from `runtime-summary.capabilities.storage`. */
|
|
30
|
+
catalogPattern: string;
|
|
31
|
+
/** First line of source that matched, for at-a-glance "where". */
|
|
32
|
+
example?: string;
|
|
33
|
+
}
|
|
34
|
+
/** Run all lint rules against the extension source. Returns the
|
|
35
|
+
* warnings sorted by rule id for stable output across runs. */
|
|
36
|
+
export declare const lintExtensionSource: (source: string) => ExtensionLintWarning[];
|
|
37
|
+
//# sourceMappingURL=extensionLint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensionLint.d.ts","sourceRoot":"","sources":["../../../../../../../src/plugins/agent-runtime/extensionLint.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,WAAW,oBAAoB;IACnC;;6CAEyC;IACzC,IAAI,EAAE,MAAM,CAAA;IACZ,kCAAkC;IAClC,OAAO,EAAE,MAAM,CAAA;IACf;;8EAE0E;IAC1E,cAAc,EAAE,MAAM,CAAA;IACtB,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAsGD;gEACgE;AAChE,eAAO,MAAM,mBAAmB,GAC9B,QAAQ,MAAM,KACb,oBAAoB,EA6BtB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type AppEffect, type AppMountContribution } from '@/extensions/core.js';
|
|
2
|
+
import type { AppExtension } from '@/extensions/facet.js';
|
|
3
|
+
import { ActionContextTypes, type ActionConfig } from '@/shortcuts/types.js';
|
|
4
|
+
export { openAgentTokensDialogEvent } from './AgentTokensDialog.tsx';
|
|
5
|
+
export { agentRuntimeBridgeRestartEvent } from './bridge.ts';
|
|
6
|
+
export declare const agentRuntimeBridgeEffect: AppEffect;
|
|
7
|
+
export declare const agentRuntimeTokensDialogMount: AppMountContribution;
|
|
8
|
+
export declare const restartAgentRuntimeBridgeAction: ActionConfig<typeof ActionContextTypes.GLOBAL>;
|
|
9
|
+
export declare const manageAgentTokensAction: ActionConfig<typeof ActionContextTypes.GLOBAL>;
|
|
10
|
+
export declare const agentRuntimePlugin: AppExtension;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/plugins/agent-runtime/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,oBAAoB,EAC1B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,EAAE,kBAAkB,EAAE,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAI5E,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAA;AACpE,OAAO,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAA;AAE5D,eAAO,MAAM,wBAAwB,EAAE,SAGtC,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,oBAG3C,CAAA;AAED,eAAO,MAAM,+BAA+B,EAAE,YAAY,CAAC,OAAO,kBAAkB,CAAC,MAAM,CAO1F,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,YAAY,CAAC,OAAO,kBAAkB,CAAC,MAAM,CAOlF,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,YAS/B,CAAA"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type ReactDOM from 'react-dom';
|
|
3
|
+
import type { Block } from '@/data/block';
|
|
4
|
+
import type { Repo } from '@/data/repo';
|
|
5
|
+
import type { BlockData } from '@/data/api';
|
|
6
|
+
import type { FacetRuntime } from '@/extensions/facet.js';
|
|
7
|
+
import type { blockRenderersFacet } from '@/extensions/core.js';
|
|
8
|
+
import type { ActionConfig } from '@/shortcuts/types.js';
|
|
9
|
+
import type { BlockProperties } from '@/types.js';
|
|
10
|
+
import type { refreshAppRuntime } from '@/extensions/runtimeEvents.js';
|
|
11
|
+
export type SqlMode = 'all' | 'get' | 'optional' | 'execute';
|
|
12
|
+
export type BlockPosition = 'first' | 'last' | number;
|
|
13
|
+
export interface AgentRuntimeCommand {
|
|
14
|
+
commandId: string;
|
|
15
|
+
type: string;
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
export interface CreateBlockInput {
|
|
19
|
+
parentId?: string;
|
|
20
|
+
position?: BlockPosition;
|
|
21
|
+
data?: Partial<BlockData>;
|
|
22
|
+
content?: string;
|
|
23
|
+
properties?: BlockProperties;
|
|
24
|
+
}
|
|
25
|
+
export interface UpdateBlockInput {
|
|
26
|
+
id: string;
|
|
27
|
+
content?: string;
|
|
28
|
+
properties?: BlockProperties;
|
|
29
|
+
replaceProperties?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface InstallExtensionInput {
|
|
32
|
+
source: string;
|
|
33
|
+
label?: string;
|
|
34
|
+
/** Optional human-readable description shown in Extensions settings.
|
|
35
|
+
* Written to `extension:description` on the block. */
|
|
36
|
+
description?: string;
|
|
37
|
+
parentId?: string;
|
|
38
|
+
id?: string;
|
|
39
|
+
reload?: boolean;
|
|
40
|
+
verify?: boolean;
|
|
41
|
+
}
|
|
42
|
+
export interface ExtensionVerificationError {
|
|
43
|
+
blockId: string;
|
|
44
|
+
message: string;
|
|
45
|
+
name?: string;
|
|
46
|
+
}
|
|
47
|
+
export interface ExtensionLintWarning {
|
|
48
|
+
rule: string;
|
|
49
|
+
message: string;
|
|
50
|
+
catalogPattern: string;
|
|
51
|
+
example?: string;
|
|
52
|
+
}
|
|
53
|
+
export interface ExtensionVerificationResult {
|
|
54
|
+
ok: boolean;
|
|
55
|
+
errors: ExtensionVerificationError[];
|
|
56
|
+
actions: Array<{
|
|
57
|
+
id: string;
|
|
58
|
+
description: string;
|
|
59
|
+
context: string;
|
|
60
|
+
}>;
|
|
61
|
+
facets: Array<{
|
|
62
|
+
id: string;
|
|
63
|
+
contributionCount: number;
|
|
64
|
+
}>;
|
|
65
|
+
/** Ids of the facet contributions this specific extension owns —
|
|
66
|
+
* useful when an extension's verify lists facets/actions inherited
|
|
67
|
+
* from other extensions and the agent needs to confirm what this
|
|
68
|
+
* install actually added. Errors above include any structural
|
|
69
|
+
* problems found in these contributions (e.g. a renderer whose
|
|
70
|
+
* `renderer` field is not a function). */
|
|
71
|
+
contributions: {
|
|
72
|
+
renderers: string[];
|
|
73
|
+
appMounts: string[];
|
|
74
|
+
appEffects: string[];
|
|
75
|
+
};
|
|
76
|
+
/** Source-level lint warnings — anti-patterns the agent is likely
|
|
77
|
+
* to fall into when not reading the authoring catalog carefully
|
|
78
|
+
* (e.g. storing config in localStorage instead of a prefs block).
|
|
79
|
+
* Advisory, not blocking: `ok` reflects only structural errors. */
|
|
80
|
+
warnings?: ExtensionLintWarning[];
|
|
81
|
+
}
|
|
82
|
+
export interface InstallExtensionResult {
|
|
83
|
+
id: string;
|
|
84
|
+
inserted: boolean;
|
|
85
|
+
label: string | null;
|
|
86
|
+
reloaded?: boolean;
|
|
87
|
+
verification?: ExtensionVerificationResult;
|
|
88
|
+
}
|
|
89
|
+
export interface SetExtensionEnabledInput {
|
|
90
|
+
/** Extension block id. Either `id` or `label` is required. */
|
|
91
|
+
id?: string;
|
|
92
|
+
/** Extension alias (the label passed at install time). */
|
|
93
|
+
label?: string;
|
|
94
|
+
enabled: boolean;
|
|
95
|
+
}
|
|
96
|
+
export interface SetExtensionEnabledResult {
|
|
97
|
+
id: string;
|
|
98
|
+
label: string | null;
|
|
99
|
+
enabled: boolean;
|
|
100
|
+
/** Whether the override map actually changed. False when the extension
|
|
101
|
+
* was already in the requested state. */
|
|
102
|
+
changed: boolean;
|
|
103
|
+
}
|
|
104
|
+
export interface UninstallExtensionInput {
|
|
105
|
+
/** Extension block id. Either `id` or `label` is required. */
|
|
106
|
+
id?: string;
|
|
107
|
+
/** Extension alias (the label passed at install time). */
|
|
108
|
+
label?: string;
|
|
109
|
+
}
|
|
110
|
+
export interface UninstallExtensionResult {
|
|
111
|
+
id: string;
|
|
112
|
+
label: string | null;
|
|
113
|
+
/** True when the block was newly soft-deleted by this call. False when
|
|
114
|
+
* the extension wasn't found or was already deleted. */
|
|
115
|
+
removed: boolean;
|
|
116
|
+
}
|
|
117
|
+
export interface AgentRuntimeContext {
|
|
118
|
+
repo: Repo;
|
|
119
|
+
db: Repo['db'];
|
|
120
|
+
runtime: FacetRuntime;
|
|
121
|
+
safeMode: boolean;
|
|
122
|
+
sql: (sql: string, params?: unknown[], mode?: SqlMode) => Promise<unknown>;
|
|
123
|
+
block: (id: string) => Block;
|
|
124
|
+
getBlock: (id: string) => Promise<BlockData | null>;
|
|
125
|
+
getSubtree: (rootId: string) => Promise<BlockData[]>;
|
|
126
|
+
createBlock: (input?: CreateBlockInput) => Promise<BlockData | null>;
|
|
127
|
+
updateBlock: (input: UpdateBlockInput) => Promise<BlockData | null>;
|
|
128
|
+
installExtension: (input: InstallExtensionInput) => Promise<InstallExtensionResult>;
|
|
129
|
+
setExtensionEnabled: (input: SetExtensionEnabledInput) => Promise<SetExtensionEnabledResult>;
|
|
130
|
+
uninstallExtension: (input: UninstallExtensionInput) => Promise<UninstallExtensionResult>;
|
|
131
|
+
actions: readonly ActionConfig[];
|
|
132
|
+
renderers: ReturnType<typeof blockRenderersFacet.empty>;
|
|
133
|
+
refreshAppRuntime: typeof refreshAppRuntime;
|
|
134
|
+
React: typeof React;
|
|
135
|
+
ReactDOM: typeof ReactDOM;
|
|
136
|
+
window: Window;
|
|
137
|
+
document: Document;
|
|
138
|
+
}
|
|
139
|
+
export interface AgentRuntimeBridgeOptions {
|
|
140
|
+
repo: Repo;
|
|
141
|
+
runtime: FacetRuntime;
|
|
142
|
+
safeMode: boolean;
|
|
143
|
+
}
|
|
144
|
+
//# sourceMappingURL=protocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../../../../../../src/plugins/agent-runtime/protocol.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const serializeError: (error: unknown) => {
|
|
2
|
+
name: string;
|
|
3
|
+
message: string;
|
|
4
|
+
stack: string | undefined;
|
|
5
|
+
} | {
|
|
6
|
+
name: string;
|
|
7
|
+
message: string;
|
|
8
|
+
stack?: undefined;
|
|
9
|
+
};
|
|
10
|
+
export declare const serializeValue: (value: unknown, seen?: WeakSet<object>) => unknown;
|
|
11
|
+
//# sourceMappingURL=serialization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serialization.d.ts","sourceRoot":"","sources":["../../../../../../../src/plugins/agent-runtime/serialization.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,GAAI,OAAO,OAAO;;;;;;;;CAa5C,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,OAAO,OAAO,EAAE,sBAA4B,KAAG,OAgE7E,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/** Local-only registry of bridge auth tokens. A token authorizes
|
|
2
|
+
* whoever holds it to drive the agent runtime bridge as if they were
|
|
3
|
+
* this user, in this workspace, on this device. Stored in
|
|
4
|
+
* localStorage (device-scoped, not synced) keyed by
|
|
5
|
+
* (userId, workspaceId).
|
|
6
|
+
*
|
|
7
|
+
* Tokens are stored in the clear: the security boundary is the
|
|
8
|
+
* browser's same-origin model + the bridge listening on
|
|
9
|
+
* 127.0.0.1. Anyone who can read this localStorage already has the
|
|
10
|
+
* user's session and can do anything from the running app. */
|
|
11
|
+
import { ClientLocalSettings } from '@/utils/ClientLocalSettings.js';
|
|
12
|
+
export interface AgentToken {
|
|
13
|
+
/** Random secret. Treat as a credential. */
|
|
14
|
+
token: string;
|
|
15
|
+
/** User-supplied label, e.g. "claude-cli" or "scripted-export". */
|
|
16
|
+
label: string;
|
|
17
|
+
/** read-only tokens can inspect state but cannot enqueue mutations/eval. */
|
|
18
|
+
scope?: AgentTokenScope;
|
|
19
|
+
createdAt: number;
|
|
20
|
+
/** Last time we observed a registration with this token. Updated by
|
|
21
|
+
* the bridge handshake reply, so users can see which tokens are
|
|
22
|
+
* actively in use. */
|
|
23
|
+
lastSeenAt?: number | null;
|
|
24
|
+
}
|
|
25
|
+
export type AgentTokenScope = 'read-write' | 'read-only';
|
|
26
|
+
export declare class AgentTokenStore {
|
|
27
|
+
private readonly settings;
|
|
28
|
+
constructor(settings?: ClientLocalSettings);
|
|
29
|
+
list(userId: string, workspaceId: string): AgentToken[];
|
|
30
|
+
create(userId: string, workspaceId: string, label: string, scope?: AgentTokenScope): AgentToken;
|
|
31
|
+
revoke(userId: string, workspaceId: string, token: string): void;
|
|
32
|
+
touch(userId: string, workspaceId: string, token: string): void;
|
|
33
|
+
}
|
|
34
|
+
export declare const agentTokenStore: AgentTokenStore;
|
|
35
|
+
export declare const agentTokensChangedEvent = "agent-runtime-bridge:tokens-changed";
|
|
36
|
+
/** Notify any listeners (e.g. the bridge hook) that the persisted
|
|
37
|
+
* token set changed and registration should be re-sent. */
|
|
38
|
+
export declare const notifyAgentTokensChanged: () => void;
|
|
39
|
+
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../../../../../src/plugins/agent-runtime/tokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;+DAS+D;AAC/D,OAAO,EAAE,mBAAmB,EAAuB,MAAM,gCAAgC,CAAA;AAEzF,MAAM,WAAW,UAAU;IACzB,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAA;IACb,mEAAmE;IACnE,KAAK,EAAE,MAAM,CAAA;IACb,4EAA4E;IAC5E,KAAK,CAAC,EAAE,eAAe,CAAA;IACvB,SAAS,EAAE,MAAM,CAAA;IACjB;;2BAEuB;IACvB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B;AAED,MAAM,MAAM,eAAe,GAAG,YAAY,GAAG,WAAW,CAAA;AAuBxD,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,GAAE,mBAAyC;IAEhF,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,UAAU,EAAE;IAMvD,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,KAAK,GAAE,eAA8B,GACpC,UAAU;IAiBb,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAWhE,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;CAUhE;AAED,eAAO,MAAM,eAAe,iBAAwB,CAAA;AAEpD,eAAO,MAAM,uBAAuB,wCAAwC,CAAA;AAE5E;4DAC4D;AAC5D,eAAO,MAAM,wBAAwB,YAEpC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataExtension.d.ts","sourceRoot":"","sources":["../../../../../../../src/plugins/alias/dataExtension.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAGzD,eAAO,MAAM,kBAAkB,EAAE,YAEhC,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Alias plugin — owns same-block content↔aliases reconciliation.
|
|
3
|
+
*
|
|
4
|
+
* The `aliasDataExtension` (in `dataExtension.ts`) registers the
|
|
5
|
+
* `alias.sync` post-commit processor. Cross-block alias-rename
|
|
6
|
+
* backlink rewriting lives in the references plugin
|
|
7
|
+
* (`@/plugins/references`), which already owns the
|
|
8
|
+
* `block_references` projection needed to find source blocks; the
|
|
9
|
+
* two processors compose via the field-watcher (sync's alias write
|
|
10
|
+
* re-fires the watcher and lets rename act on the swap diff).
|
|
11
|
+
*/
|
|
12
|
+
import type { AppExtension } from '@/extensions/facet.js';
|
|
13
|
+
export declare const aliasPlugin: AppExtension;
|
|
14
|
+
export { aliasDataExtension } from './dataExtension.ts';
|
|
15
|
+
export { ALIAS_SYNC_PROCESSOR, aliasSyncProcessor } from './syncProcessor.ts';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/plugins/alias/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAIzD,eAAO,MAAM,WAAW,EAAE,YAIC,CAAA;AAE3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Alias sync — same-tx processor (spec: docs/alias-rename-cases.html).
|
|
3
|
+
*
|
|
4
|
+
* Reconciles `content` ↔ `aliases` on the same block when one side
|
|
5
|
+
* changes. Collision detection (refusing a tx that would claim a
|
|
6
|
+
* taken alias) is enforced at the storage layer by the
|
|
7
|
+
* `block_aliases_workspace_alias_unique` trigger; the tx engine
|
|
8
|
+
* translates the trigger's RAISE into a `ProcessorRejection` with
|
|
9
|
+
* `code: 'alias.collision'`. That arrangement means every write path
|
|
10
|
+
* (local mutators, `tx.create`, `tx.restore`, undo replay, future
|
|
11
|
+
* plugins) gets the uniqueness check for free — this processor only
|
|
12
|
+
* needs to worry about keeping the two representations in agreement.
|
|
13
|
+
*
|
|
14
|
+
* Decision ladder:
|
|
15
|
+
* 1. Content changed, old value ∈ aliases (A1, A2) → replace that
|
|
16
|
+
* entry with new content. Dedupe.
|
|
17
|
+
* 2. Content changed, old value ∉ aliases (A3 — drift heal) → add
|
|
18
|
+
* new content as a fresh alias.
|
|
19
|
+
* 3. Alias diff is a 1-for-1 swap AND content === removed alias
|
|
20
|
+
* (AR1) → rewrite content to the added alias.
|
|
21
|
+
* 4. Otherwise → no sync write.
|
|
22
|
+
*
|
|
23
|
+
* Placement (same-tx vs post-commit):
|
|
24
|
+
* Sync runs inside the user's writeTransaction so content + alias
|
|
25
|
+
* writes commit atomically. Rename remains post-commit (see
|
|
26
|
+
* `@/plugins/references/renameProcessor.ts`) — the cross-block
|
|
27
|
+
* rewrites are too expensive to inline on the typing path, and
|
|
28
|
+
* eventual consistency is fine for backlink display text.
|
|
29
|
+
*
|
|
30
|
+
* The "stale plan" guard that the post-commit version needed
|
|
31
|
+
* (re-read row at apply time, skip on divergence) is gone here —
|
|
32
|
+
* we're inside the same tx, so the snapshot we plan against IS
|
|
33
|
+
* the live state.
|
|
34
|
+
*/
|
|
35
|
+
import { type AnySameTxProcessor, type ChangedRow } from '@/data/api';
|
|
36
|
+
export declare const ALIAS_SYNC_PROCESSOR = "alias.sync";
|
|
37
|
+
/** What the write phase should do for one row. `null` on either side
|
|
38
|
+
* means no-op for that direction. */
|
|
39
|
+
interface SyncPlan {
|
|
40
|
+
id: string;
|
|
41
|
+
contentNext: string | null;
|
|
42
|
+
aliasesNext: readonly string[] | null;
|
|
43
|
+
}
|
|
44
|
+
/** Build the plan for one row. Returns null when nothing should be
|
|
45
|
+
* written — the row was created/deleted in this commit, no rule
|
|
46
|
+
* applies, the rule's output is identical to current state, or the
|
|
47
|
+
* rule would propagate a blank value. Collision is a separate
|
|
48
|
+
* concern handled by the storage-layer trigger; this planner doesn't
|
|
49
|
+
* need to consider it. */
|
|
50
|
+
export declare const planSync: (row: ChangedRow) => SyncPlan | null;
|
|
51
|
+
export declare const aliasSyncProcessor: import("@/data/api").SameTxProcessor;
|
|
52
|
+
export declare const aliasSameTxProcessors: ReadonlyArray<AnySameTxProcessor>;
|
|
53
|
+
export {};
|
|
54
|
+
//# sourceMappingURL=syncProcessor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"syncProcessor.d.ts","sourceRoot":"","sources":["../../../../../../../src/plugins/alias/syncProcessor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EAEvB,KAAK,UAAU,EAGhB,MAAM,YAAY,CAAA;AAGnB,eAAO,MAAM,oBAAoB,eAAe,CAAA;AAEhD;sCACsC;AACtC,UAAU,QAAQ;IAChB,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,WAAW,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAAA;CACtC;AA6BD;;;;;2BAK2B;AAC3B,eAAO,MAAM,QAAQ,GAAI,KAAK,UAAU,KAAG,QAAQ,GAAG,IAyDrD,CAAA;AAeD,eAAO,MAAM,kBAAkB,sCAU7B,CAAA;AAEF,eAAO,MAAM,qBAAqB,EAAE,aAAa,CAAC,kBAAkB,CAEnE,CAAA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PWA-shortcut and Web Share Target dispatcher.
|
|
3
|
+
*
|
|
4
|
+
* The manifest exposes URL surfaces that land back in the SPA:
|
|
5
|
+
* - shortcuts → `./?intent=new-daily-block`
|
|
6
|
+
* `./?intent=open-picker`
|
|
7
|
+
* `./?intent=quick-find`
|
|
8
|
+
* - share_target action → `./?intent=share&title=…&text=…&url=…`
|
|
9
|
+
* - note_taking.new_note_url → `./?intent=new-daily-block`
|
|
10
|
+
*
|
|
11
|
+
* `new-daily-block` and `share` drop the user into a freshly-created
|
|
12
|
+
* block on today's daily note (the share-target variant pre-fills
|
|
13
|
+
* it with the shared payload); we delegate to
|
|
14
|
+
* `appendTodayDailyBlockInStack` so the UX matches Ctrl+Shift+N
|
|
15
|
+
* exactly. `open-picker` and `quick-find` just fire the same global
|
|
16
|
+
* events the matching keyboard actions / header buttons do, so the
|
|
17
|
+
* launcher entry points are 1:1 with the in-app affordances.
|
|
18
|
+
*
|
|
19
|
+
* The dispatcher runs once per page load (module-level `consumed`
|
|
20
|
+
* flag), fired by `appIntentsBootstrapEffect` once the workspace's
|
|
21
|
+
* UI-state and layout-session blocks are resolvable. It strips the
|
|
22
|
+
* consumed query params via `history.replaceState` so reloads (or a
|
|
23
|
+
* later share landing on the same tab) don't replay the intent.
|
|
24
|
+
*
|
|
25
|
+
* Lives in its own plugin (rather than inside daily-notes) because
|
|
26
|
+
* the intent surface is a property of the app shell, not of daily
|
|
27
|
+
* notes — when future intents resolve to a different target
|
|
28
|
+
* (e.g. an "open last panel" or a tag-quick-add flow) they can grow
|
|
29
|
+
* here without daily-notes owning them all.
|
|
30
|
+
*/
|
|
31
|
+
import type { Block } from '@/data/block';
|
|
32
|
+
import type { Repo } from '@/data/repo';
|
|
33
|
+
/** Test-only: reset the module-level "already handled this load" flag. */
|
|
34
|
+
export declare const __resetAppIntentForTesting: () => void;
|
|
35
|
+
/** Combine the Web Share API's title/text/url fields into a single
|
|
36
|
+
* block-content string. Skips empty parts, and dedupes when the
|
|
37
|
+
* same value lands in multiple fields — Android Chrome puts a
|
|
38
|
+
* shared URL into `text` (not `url`) when the source page omits
|
|
39
|
+
* the `url` share field, so naive concatenation would emit it
|
|
40
|
+
* twice. Joins with newlines; the block editor handles multi-line
|
|
41
|
+
* content. */
|
|
42
|
+
export declare const formatSharedContent: (title: string | null, text: string | null, url: string | null) => string;
|
|
43
|
+
export declare const consumeAppIntent: (repo: Repo, layoutSessionBlock: Block) => Promise<void>;
|
|
44
|
+
//# sourceMappingURL=appIntents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appIntents.d.ts","sourceRoot":"","sources":["../../../../../../../src/plugins/app-intents/appIntents.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAWvC,0EAA0E;AAC1E,eAAO,MAAM,0BAA0B,QAAO,IAE7C,CAAA;AAgBD;;;;;;eAMe;AACf,eAAO,MAAM,mBAAmB,GAC9B,OAAO,MAAM,GAAG,IAAI,EACpB,MAAM,MAAM,GAAG,IAAI,EACnB,KAAK,MAAM,GAAG,IAAI,KACjB,MAaF,CAAA;AAED,eAAO,MAAM,gBAAgB,GAC3B,MAAM,IAAI,EACV,oBAAoB,KAAK,KACxB,OAAO,CAAC,IAAI,CAkDd,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* App-intents plugin — handles PWA-shortcut, Web Share Target, and
|
|
3
|
+
* `note_taking.new_note_url` boot-time dispatch.
|
|
4
|
+
*
|
|
5
|
+
* Public surface:
|
|
6
|
+
* - `consumeAppIntent(repo, layoutSessionBlock)` — pure-function
|
|
7
|
+
* entry point (used by `appIntentsBootstrapEffect` and tests).
|
|
8
|
+
* - `formatSharedContent` — exported for tests and any future
|
|
9
|
+
* plugin that wants to format Web Share API payloads the same
|
|
10
|
+
* way.
|
|
11
|
+
*
|
|
12
|
+
* `appIntentsPlugin` (AppExtension) contributes one `AppEffect`:
|
|
13
|
+
* - `appIntentsBootstrapEffect` — runs once per workspace mount.
|
|
14
|
+
* It resolves the layout-session block from the repo's
|
|
15
|
+
* UI-state, then hands off to `consumeAppIntent`. Effect-scoped
|
|
16
|
+
* errors are caught by `AppRuntimeProvider`'s effect loop and
|
|
17
|
+
* logged.
|
|
18
|
+
*/
|
|
19
|
+
import { type AppEffect } from '@/extensions/core.js';
|
|
20
|
+
import type { AppExtension } from '@/extensions/facet.js';
|
|
21
|
+
export { consumeAppIntent, formatSharedContent, __resetAppIntentForTesting, } from './appIntents.ts';
|
|
22
|
+
export declare const appIntentsBootstrapEffect: AppEffect;
|
|
23
|
+
export declare const appIntentsPlugin: AppExtension;
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/plugins/app-intents/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAMzD,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,iBAAiB,CAAA;AAExB,eAAO,MAAM,yBAAyB,EAAE,SAUvC,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,YAO7B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BacklinkEntry.d.ts","sourceRoot":"","sources":["../../../../../../../src/plugins/backlinks/BacklinkEntry.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAA;AAsMpC,eAAO,MAAM,gBAAgB,GAAI,4BAG9B;IACD,KAAK,EAAE,KAAK,CAAA;IACZ,cAAc,CAAC,EAAE,SAAS,KAAK,EAAE,CAAA;CAClC,4CAWA,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type BacklinksFilter } from './query.ts';
|
|
2
|
+
interface BacklinkFiltersProps {
|
|
3
|
+
workspaceId: string;
|
|
4
|
+
filter: BacklinksFilter;
|
|
5
|
+
onChange: (filter: BacklinksFilter) => void;
|
|
6
|
+
baseFilter?: BacklinksFilter;
|
|
7
|
+
baseLabel?: string;
|
|
8
|
+
baseConfigLabel?: string;
|
|
9
|
+
onBaseConfigClick?: () => void;
|
|
10
|
+
readOnly?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare function BacklinkFilters({ workspaceId, filter, onChange, baseFilter, baseLabel, baseConfigLabel, onBaseConfigClick, readOnly, }: BacklinkFiltersProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=BacklinkFilters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BacklinkFilters.d.ts","sourceRoot":"","sources":["../../../../../../../src/plugins/backlinks/BacklinkFilters.tsx"],"names":[],"mappings":"AAgCA,OAAO,EAEL,KAAK,eAAe,EACrB,MAAM,YAAY,CAAA;AAOnB,UAAU,oBAAoB;IAC5B,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,eAAe,CAAA;IACvB,QAAQ,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAA;IAC3C,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAgcD,wBAAgB,eAAe,CAAC,EAC9B,WAAW,EACX,MAAM,EACN,QAAQ,EACR,UAAU,EACV,SAAsB,EACtB,eAAwC,EACxC,iBAAiB,EACjB,QAAgB,GACjB,EAAE,oBAAoB,2CAuKtB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type PropertyEditorProps } from '@/data/api';
|
|
2
|
+
import type { StoredBacklinksFilter } from './filterProperty.ts';
|
|
3
|
+
export declare const BacklinksFilterPropertyEditor: ({ value, onChange, block, }: PropertyEditorProps<StoredBacklinksFilter>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=BacklinksFilterPropertyEditor.d.ts.map
|