@flood-md/agent 0.2.8 → 0.2.10
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/DESIGN.md +26 -4
- package/README.md +40 -1
- package/SKILL.md +46 -4
- package/dist/catalog.json +7136 -0
- package/dist/materials/component-accordion.md +42 -0
- package/dist/materials/component-alert-dialog.md +46 -0
- package/dist/materials/component-alert.md +41 -0
- package/dist/materials/component-aspect-ratio.md +36 -0
- package/dist/materials/component-avatar-group.md +39 -0
- package/dist/materials/component-avatar.md +40 -0
- package/dist/materials/component-badge.md +37 -0
- package/dist/materials/component-blockquote.md +35 -0
- package/dist/materials/component-breadcrumb.md +36 -0
- package/dist/materials/component-button-group.md +39 -0
- package/dist/materials/component-button.md +43 -0
- package/dist/materials/component-calendar.md +59 -0
- package/dist/materials/component-card.md +46 -0
- package/dist/materials/component-center.md +39 -0
- package/dist/materials/component-character-count.md +42 -0
- package/dist/materials/component-check-card.md +39 -0
- package/dist/materials/component-checkbox-group.md +48 -0
- package/dist/materials/component-checkbox.md +37 -0
- package/dist/materials/component-code-snippet.md +37 -0
- package/dist/materials/component-collapsible.md +40 -0
- package/dist/materials/component-color-picker.md +49 -0
- package/dist/materials/component-color-swatch.md +35 -0
- package/dist/materials/component-combobox.md +50 -0
- package/dist/materials/component-command-list.md +48 -0
- package/dist/materials/component-container.md +36 -0
- package/dist/materials/component-context-menu.md +43 -0
- package/dist/materials/component-copy-button.md +42 -0
- package/dist/materials/component-data-list-item.md +40 -0
- package/dist/materials/component-data-list.md +38 -0
- package/dist/materials/component-data-table.md +58 -0
- package/dist/materials/component-date-field.md +57 -0
- package/dist/materials/component-date-picker.md +66 -0
- package/dist/materials/component-date-range-field.md +62 -0
- package/dist/materials/component-date-range-picker.md +72 -0
- package/dist/materials/component-date-time-picker.md +60 -0
- package/dist/materials/component-date-time-range-picker.md +66 -0
- package/dist/materials/component-description-list.md +42 -0
- package/dist/materials/component-dialog.md +45 -0
- package/dist/materials/component-divider.md +37 -0
- package/dist/materials/component-drawer.md +50 -0
- package/dist/materials/component-dropzone.md +45 -0
- package/dist/materials/component-editable.md +57 -0
- package/dist/materials/component-empty-state.md +41 -0
- package/dist/materials/component-error-summary.md +40 -0
- package/dist/materials/component-field.md +46 -0
- package/dist/materials/component-fieldset.md +46 -0
- package/dist/materials/component-figure.md +36 -0
- package/dist/materials/component-file-input.md +45 -0
- package/dist/materials/component-file-item.md +48 -0
- package/dist/materials/component-file-list.md +39 -0
- package/dist/materials/component-file-meta.md +36 -0
- package/dist/materials/component-flood-root.md +33 -0
- package/dist/materials/component-grid.md +38 -0
- package/dist/materials/component-heading.md +38 -0
- package/dist/materials/component-hover-card.md +48 -0
- package/dist/materials/component-icon-button.md +41 -0
- package/dist/materials/component-icon-slot.md +37 -0
- package/dist/materials/component-image-preview.md +50 -0
- package/dist/materials/component-image.md +37 -0
- package/dist/materials/component-inline-code.md +36 -0
- package/dist/materials/component-inline.md +39 -0
- package/dist/materials/component-input-group.md +43 -0
- package/dist/materials/component-input.md +39 -0
- package/dist/materials/component-kbd.md +34 -0
- package/dist/materials/component-label.md +37 -0
- package/dist/materials/component-link.md +35 -0
- package/dist/materials/component-list-box.md +57 -0
- package/dist/materials/component-list.md +40 -0
- package/dist/materials/component-menu.md +54 -0
- package/dist/materials/component-meter.md +43 -0
- package/dist/materials/component-metric.md +39 -0
- package/dist/materials/component-multi-select.md +52 -0
- package/dist/materials/component-navigation-list.md +38 -0
- package/dist/materials/component-navigation-tree.md +43 -0
- package/dist/materials/component-number-input.md +47 -0
- package/dist/materials/component-pagination.md +44 -0
- package/dist/materials/component-password-input.md +43 -0
- package/dist/materials/component-pin-input.md +45 -0
- package/dist/materials/component-popover.md +47 -0
- package/dist/materials/component-progress.md +42 -0
- package/dist/materials/component-radio-card.md +43 -0
- package/dist/materials/component-radio-group.md +49 -0
- package/dist/materials/component-radio.md +39 -0
- package/dist/materials/component-range-calendar.md +58 -0
- package/dist/materials/component-rating.md +46 -0
- package/dist/materials/component-resizable-panels.md +48 -0
- package/dist/materials/component-scroll-area.md +42 -0
- package/dist/materials/component-search-input.md +40 -0
- package/dist/materials/component-section.md +42 -0
- package/dist/materials/component-segmented-control.md +51 -0
- package/dist/materials/component-select.md +45 -0
- package/dist/materials/component-skeleton.md +42 -0
- package/dist/materials/component-skip-link.md +37 -0
- package/dist/materials/component-slider.md +51 -0
- package/dist/materials/component-spinner.md +37 -0
- package/dist/materials/component-split.md +40 -0
- package/dist/materials/component-stack.md +37 -0
- package/dist/materials/component-status-indicator.md +38 -0
- package/dist/materials/component-steps.md +40 -0
- package/dist/materials/component-surface.md +37 -0
- package/dist/materials/component-switch.md +35 -0
- package/dist/materials/component-table.md +46 -0
- package/dist/materials/component-tabs.md +43 -0
- package/dist/materials/component-tag-input.md +46 -0
- package/dist/materials/component-tag.md +40 -0
- package/dist/materials/component-text.md +39 -0
- package/dist/materials/component-textarea.md +38 -0
- package/dist/materials/component-time-field.md +56 -0
- package/dist/materials/component-time-picker.md +60 -0
- package/dist/materials/component-timeline.md +38 -0
- package/dist/materials/component-toast-region.md +42 -0
- package/dist/materials/component-toggle-group.md +44 -0
- package/dist/materials/component-toggle.md +39 -0
- package/dist/materials/component-toolbar.md +42 -0
- package/dist/materials/component-tooltip.md +40 -0
- package/dist/materials/component-tree-select.md +56 -0
- package/dist/materials/component-tree.md +52 -0
- package/dist/materials/component-upload-item.md +52 -0
- package/dist/materials/component-upload-list.md +40 -0
- package/dist/materials/component-visually-hidden.md +37 -0
- package/dist/materials/guide-agent-knowledge.md +88 -0
- package/dist/materials/guide-agents.md +96 -0
- package/dist/materials/guide-faq.md +84 -0
- package/dist/materials/guide-foundations.md +232 -0
- package/dist/materials/guide-installation.md +79 -0
- package/dist/materials/guide-interface-content.md +76 -0
- package/dist/materials/guide-introduction.md +40 -0
- package/dist/materials/guide-layout.md +193 -0
- package/dist/materials/guide-privacy.md +23 -0
- package/dist/materials/guide-project-ui.md +127 -0
- package/dist/materials/guide-skills.md +108 -0
- package/dist/materials/guide-theming.md +73 -0
- package/dist/materials/recipe-command-palette.md +66 -0
- package/dist/materials/recipe-filter-bar.md +59 -0
- package/dist/materials/recipe-form-submission.md +39 -0
- package/dist/materials/recipe-grouped-form.md +66 -0
- package/dist/materials/recipe-select-all.md +31 -0
- package/dist/materials/recipe-split-button.md +26 -0
- package/dist/materials/recipe-table-bulk-actions.md +88 -0
- package/dist/materials/recipe-workspace-review.md +134 -0
- package/dist/materials/token-sys.color.accent.content.json +41 -0
- package/dist/materials/token-sys.color.action.danger.content.json +42 -0
- package/dist/materials/token-sys.color.action.ghost.content.json +41 -0
- package/dist/materials/token-sys.color.action.ghost.disabled-content.json +41 -0
- package/dist/materials/token-sys.color.action.ghost.disabled.json +41 -0
- package/dist/materials/token-sys.color.action.ghost.hover.json +41 -0
- package/dist/materials/token-sys.color.action.ghost.pressed.json +41 -0
- package/dist/materials/token-sys.color.action.ghost.rest.json +41 -0
- package/dist/materials/token-sys.color.action.on-surface.content.json +39 -0
- package/dist/materials/token-sys.color.action.on-surface.disabled-content.json +39 -0
- package/dist/materials/token-sys.color.action.on-surface.disabled.json +39 -0
- package/dist/materials/token-sys.color.action.on-surface.hover.json +39 -0
- package/dist/materials/token-sys.color.action.on-surface.pressed.json +39 -0
- package/dist/materials/token-sys.color.action.on-surface.rest.json +39 -0
- package/dist/materials/token-sys.color.action.primary.content.json +39 -0
- package/dist/materials/token-sys.color.action.primary.disabled-content.json +39 -0
- package/dist/materials/token-sys.color.action.primary.disabled.json +39 -0
- package/dist/materials/token-sys.color.action.primary.hover.json +39 -0
- package/dist/materials/token-sys.color.action.primary.pressed.json +39 -0
- package/dist/materials/token-sys.color.action.primary.rest.json +39 -0
- package/dist/materials/token-sys.color.action.subtle.content.json +39 -0
- package/dist/materials/token-sys.color.action.subtle.disabled-content.json +39 -0
- package/dist/materials/token-sys.color.action.subtle.disabled.json +39 -0
- package/dist/materials/token-sys.color.action.subtle.hover.json +39 -0
- package/dist/materials/token-sys.color.action.subtle.pressed.json +39 -0
- package/dist/materials/token-sys.color.action.subtle.rest.json +39 -0
- package/dist/materials/token-sys.color.border.decorative.json +42 -0
- package/dist/materials/token-sys.color.border.default.json +39 -0
- package/dist/materials/token-sys.color.border.floating.json +39 -0
- package/dist/materials/token-sys.color.border.strong.json +39 -0
- package/dist/materials/token-sys.color.content.default.json +41 -0
- package/dist/materials/token-sys.color.content.helper.json +39 -0
- package/dist/materials/token-sys.color.content.subtle.json +43 -0
- package/dist/materials/token-sys.color.divider.decorative.json +41 -0
- package/dist/materials/token-sys.color.feedback.error.json +39 -0
- package/dist/materials/token-sys.color.feedback.info.json +39 -0
- package/dist/materials/token-sys.color.feedback.success.json +39 -0
- package/dist/materials/token-sys.color.feedback.warning.json +39 -0
- package/dist/materials/token-sys.color.field.background.json +39 -0
- package/dist/materials/token-sys.color.field.border.json +39 -0
- package/dist/materials/token-sys.color.field.boundary.json +39 -0
- package/dist/materials/token-sys.color.field.content.json +39 -0
- package/dist/materials/token-sys.color.field.disabled-content.json +39 -0
- package/dist/materials/token-sys.color.field.disabled.json +39 -0
- package/dist/materials/token-sys.color.field.placeholder.json +39 -0
- package/dist/materials/token-sys.color.focus.ring.json +39 -0
- package/dist/materials/token-sys.color.indicator.accent.json +39 -0
- package/dist/materials/token-sys.color.indicator.fill.json +39 -0
- package/dist/materials/token-sys.color.indicator.track.json +39 -0
- package/dist/materials/token-sys.color.loading.placeholder.json +42 -0
- package/dist/materials/token-sys.color.scrollbar.thumb-hover.json +39 -0
- package/dist/materials/token-sys.color.scrollbar.thumb.json +39 -0
- package/dist/materials/token-sys.color.selection.background.json +39 -0
- package/dist/materials/token-sys.color.selection.content.json +39 -0
- package/dist/materials/token-sys.color.selection.floating.json +39 -0
- package/dist/materials/token-sys.color.shadow.floating.json +39 -0
- package/dist/materials/token-sys.color.surface.canvas.json +39 -0
- package/dist/materials/token-sys.color.surface.default.json +39 -0
- package/dist/materials/token-sys.color.surface.floating-translucent.json +39 -0
- package/dist/materials/token-sys.color.surface.floating.json +39 -0
- package/dist/materials/token-sys.color.surface.overlay.json +39 -0
- package/dist/materials/token-sys.color.surface.raised.json +39 -0
- package/dist/materials/token-sys.control.2xl.gap.json +34 -0
- package/dist/materials/token-sys.control.2xl.height.json +34 -0
- package/dist/materials/token-sys.control.2xl.icon-size.json +34 -0
- package/dist/materials/token-sys.control.2xl.line-height.json +31 -0
- package/dist/materials/token-sys.control.2xl.padding-inline.json +34 -0
- package/dist/materials/token-sys.control.2xl.text-size.json +34 -0
- package/dist/materials/token-sys.control.2xs.gap.json +34 -0
- package/dist/materials/token-sys.control.2xs.height.json +34 -0
- package/dist/materials/token-sys.control.2xs.icon-size.json +34 -0
- package/dist/materials/token-sys.control.2xs.line-height.json +31 -0
- package/dist/materials/token-sys.control.2xs.padding-inline.json +34 -0
- package/dist/materials/token-sys.control.2xs.text-size.json +34 -0
- package/dist/materials/token-sys.control.lg.gap.json +34 -0
- package/dist/materials/token-sys.control.lg.height.json +34 -0
- package/dist/materials/token-sys.control.lg.icon-size.json +34 -0
- package/dist/materials/token-sys.control.lg.line-height.json +31 -0
- package/dist/materials/token-sys.control.lg.padding-inline.json +34 -0
- package/dist/materials/token-sys.control.lg.text-size.json +34 -0
- package/dist/materials/token-sys.control.md.gap.json +34 -0
- package/dist/materials/token-sys.control.md.height.json +34 -0
- package/dist/materials/token-sys.control.md.icon-size.json +34 -0
- package/dist/materials/token-sys.control.md.line-height.json +31 -0
- package/dist/materials/token-sys.control.md.padding-inline.json +34 -0
- package/dist/materials/token-sys.control.md.text-size.json +34 -0
- package/dist/materials/token-sys.control.sm.gap.json +34 -0
- package/dist/materials/token-sys.control.sm.height.json +34 -0
- package/dist/materials/token-sys.control.sm.icon-size.json +34 -0
- package/dist/materials/token-sys.control.sm.line-height.json +31 -0
- package/dist/materials/token-sys.control.sm.padding-inline.json +34 -0
- package/dist/materials/token-sys.control.sm.text-size.json +34 -0
- package/dist/materials/token-sys.control.xl.gap.json +34 -0
- package/dist/materials/token-sys.control.xl.height.json +34 -0
- package/dist/materials/token-sys.control.xl.icon-size.json +34 -0
- package/dist/materials/token-sys.control.xl.line-height.json +31 -0
- package/dist/materials/token-sys.control.xl.padding-inline.json +34 -0
- package/dist/materials/token-sys.control.xl.text-size.json +34 -0
- package/dist/materials/token-sys.control.xs.gap.json +34 -0
- package/dist/materials/token-sys.control.xs.height.json +34 -0
- package/dist/materials/token-sys.control.xs.icon-size.json +34 -0
- package/dist/materials/token-sys.control.xs.line-height.json +31 -0
- package/dist/materials/token-sys.control.xs.padding-inline.json +34 -0
- package/dist/materials/token-sys.control.xs.text-size.json +34 -0
- package/dist/materials/token-sys.effect.floating.blur.json +34 -0
- package/dist/materials/token-sys.effect.floating.saturation.json +31 -0
- package/dist/materials/token-sys.effect.floating.shadow-blur.json +34 -0
- package/dist/materials/token-sys.effect.floating.shadow-offset.json +34 -0
- package/dist/materials/token-sys.focus.offset.json +34 -0
- package/dist/materials/token-sys.focus.width.json +34 -0
- package/dist/materials/token-sys.font.mono.json +36 -0
- package/dist/materials/token-sys.font.sans.json +35 -0
- package/dist/materials/token-sys.layer.base.json +31 -0
- package/dist/materials/token-sys.layer.modal.json +31 -0
- package/dist/materials/token-sys.layer.popover.json +31 -0
- package/dist/materials/token-sys.layer.sticky.json +31 -0
- package/dist/materials/token-sys.layer.toast.json +31 -0
- package/dist/materials/token-sys.motion.duration-fast.json +34 -0
- package/dist/materials/token-sys.motion.duration-normal.json +34 -0
- package/dist/materials/token-sys.motion.duration-reduced.json +34 -0
- package/dist/materials/token-sys.motion.easing.json +36 -0
- package/dist/materials/token-sys.radius.action.json +34 -0
- package/dist/materials/token-sys.radius.block.json +34 -0
- package/dist/materials/token-sys.radius.field.json +34 -0
- package/dist/materials/token-sys.radius.indicator.json +34 -0
- package/dist/materials/token-sys.radius.surface.json +34 -0
- package/dist/materials/token-sys.scrollbar.inset.json +34 -0
- package/dist/materials/token-sys.scrollbar.min-thumb.json +34 -0
- package/dist/materials/token-sys.scrollbar.size.json +34 -0
- package/dist/materials/token-sys.size.choice.json +34 -0
- package/dist/materials/token-sys.size.container.lg.json +37 -0
- package/dist/materials/token-sys.size.container.md.json +37 -0
- package/dist/materials/token-sys.size.container.sm.json +37 -0
- package/dist/materials/token-sys.size.grid.min-item.json +37 -0
- package/dist/materials/token-sys.size.indicator.lg.json +34 -0
- package/dist/materials/token-sys.size.indicator.md.json +34 -0
- package/dist/materials/token-sys.size.indicator.sm.json +34 -0
- package/dist/materials/token-sys.size.keycap.lg.json +34 -0
- package/dist/materials/token-sys.size.keycap.md.json +34 -0
- package/dist/materials/token-sys.size.keycap.sm.json +34 -0
- package/dist/materials/token-sys.size.switch-height.json +34 -0
- package/dist/materials/token-sys.size.switch-thumb.json +34 -0
- package/dist/materials/token-sys.size.switch-width.json +34 -0
- package/dist/materials/token-sys.size.touch.json +34 -0
- package/dist/materials/token-sys.space.0.json +34 -0
- package/dist/materials/token-sys.space.1.json +34 -0
- package/dist/materials/token-sys.space.12.json +34 -0
- package/dist/materials/token-sys.space.2.json +34 -0
- package/dist/materials/token-sys.space.3.json +34 -0
- package/dist/materials/token-sys.space.4.json +34 -0
- package/dist/materials/token-sys.space.6.json +34 -0
- package/dist/materials/token-sys.space.8.json +34 -0
- package/dist/materials/token-sys.stroke.width.json +34 -0
- package/dist/materials/token-sys.type.body.line-height.json +31 -0
- package/dist/materials/token-sys.type.body.size.json +34 -0
- package/dist/materials/token-sys.type.body.tracking.json +34 -0
- package/dist/materials/token-sys.type.body.weight.json +31 -0
- package/dist/materials/token-sys.type.compact.line-height.json +31 -0
- package/dist/materials/token-sys.type.compact.size.json +34 -0
- package/dist/materials/token-sys.type.compact.tracking.json +34 -0
- package/dist/materials/token-sys.type.compact.weight.json +31 -0
- package/dist/materials/token-sys.type.control.line-height.json +31 -0
- package/dist/materials/token-sys.type.control.size.json +34 -0
- package/dist/materials/token-sys.type.control.tracking.json +34 -0
- package/dist/materials/token-sys.type.control.weight.json +31 -0
- package/dist/materials/token-sys.type.dialog-title.line-height.json +33 -0
- package/dist/materials/token-sys.type.dialog-title.size.json +36 -0
- package/dist/materials/token-sys.type.dialog-title.tracking.json +36 -0
- package/dist/materials/token-sys.type.dialog-title.weight.json +33 -0
- package/dist/materials/token-sys.type.display.line-height.json +31 -0
- package/dist/materials/token-sys.type.display.size.json +34 -0
- package/dist/materials/token-sys.type.display.tracking.json +34 -0
- package/dist/materials/token-sys.type.display.weight.json +31 -0
- package/dist/materials/token-sys.type.field-label.line-height.json +33 -0
- package/dist/materials/token-sys.type.field-label.size.json +36 -0
- package/dist/materials/token-sys.type.field-label.tracking.json +36 -0
- package/dist/materials/token-sys.type.field-label.weight.json +33 -0
- package/dist/materials/token-sys.type.group-title.line-height.json +33 -0
- package/dist/materials/token-sys.type.group-title.size.json +36 -0
- package/dist/materials/token-sys.type.group-title.tracking.json +36 -0
- package/dist/materials/token-sys.type.group-title.weight.json +33 -0
- package/dist/materials/token-sys.type.helper.line-height.json +31 -0
- package/dist/materials/token-sys.type.helper.size.json +34 -0
- package/dist/materials/token-sys.type.helper.tracking.json +34 -0
- package/dist/materials/token-sys.type.helper.weight.json +31 -0
- package/dist/materials/token-sys.type.label.line-height.json +31 -0
- package/dist/materials/token-sys.type.label.size.json +34 -0
- package/dist/materials/token-sys.type.label.tracking.json +34 -0
- package/dist/materials/token-sys.type.label.weight.json +31 -0
- package/dist/materials/token-sys.type.large.line-height.json +31 -0
- package/dist/materials/token-sys.type.large.size.json +34 -0
- package/dist/materials/token-sys.type.large.tracking.json +34 -0
- package/dist/materials/token-sys.type.large.weight.json +31 -0
- package/dist/materials/token-sys.type.lead.line-height.json +31 -0
- package/dist/materials/token-sys.type.lead.size.json +34 -0
- package/dist/materials/token-sys.type.lead.tracking.json +34 -0
- package/dist/materials/token-sys.type.lead.weight.json +31 -0
- package/dist/materials/token-sys.type.page.line-height.json +31 -0
- package/dist/materials/token-sys.type.page.size.json +34 -0
- package/dist/materials/token-sys.type.page.tracking.json +34 -0
- package/dist/materials/token-sys.type.page.weight.json +31 -0
- package/dist/materials/token-sys.type.section.line-height.json +31 -0
- package/dist/materials/token-sys.type.section.size.json +34 -0
- package/dist/materials/token-sys.type.section.tracking.json +34 -0
- package/dist/materials/token-sys.type.section.weight.json +31 -0
- package/knowledge.json +409 -0
- package/lib/index.d.ts +33 -0
- package/lib/index.mjs +144 -0
- package/lib/inspect.d.ts +12 -0
- package/lib/inspect.mjs +187 -0
- package/manifest.json +91 -1
- package/package.json +9 -1
- package/references/flood-accessibility/SKILL.md +40 -0
- package/references/flood-composition/SKILL.md +30 -0
- package/references/flood-data-display/SKILL.md +69 -0
- package/references/flood-feedback/SKILL.md +58 -0
- package/references/flood-forms/SKILL.md +94 -0
- package/references/flood-foundations/SKILL.md +44 -0
- package/references/flood-hierarchy/SKILL.md +87 -0
- package/references/flood-interface-content/SKILL.md +142 -0
- package/references/flood-navigation/SKILL.md +35 -0
- package/references/flood-overlays/SKILL.md +52 -0
- package/references/flood-records/SKILL.md +108 -0
- package/references/flood-spacing/SKILL.md +62 -0
- package/references/flood-verification/SKILL.md +99 -0
- package/references/interface-content-examples.md +47 -0
- package/references/knowledge.md +49 -0
- package/references/record-decisions.md +25 -0
- package/references/rendered-review.md +97 -0
- package/references/routing.md +1 -0
- package/rules.json +454 -2
- package/workflows.json +152 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"role": "sys.type.section.line-height",
|
|
3
|
+
"cssName": "--flood-sys-type-section-line-height",
|
|
4
|
+
"description": "section text line-height",
|
|
5
|
+
"contexts": [
|
|
6
|
+
{
|
|
7
|
+
"preset": "neutral",
|
|
8
|
+
"theme": "dark",
|
|
9
|
+
"id": "sys.type.section.line-height",
|
|
10
|
+
"type": "number",
|
|
11
|
+
"cssName": "--flood-sys-type-section-line-height",
|
|
12
|
+
"description": "section text line-height",
|
|
13
|
+
"status": "experimental",
|
|
14
|
+
"visibility": "public",
|
|
15
|
+
"owner": "foundations",
|
|
16
|
+
"since": "0.2.0",
|
|
17
|
+
"usage": {
|
|
18
|
+
"allowed": [
|
|
19
|
+
"section text line-height"
|
|
20
|
+
],
|
|
21
|
+
"avoid": []
|
|
22
|
+
},
|
|
23
|
+
"value": 1.4,
|
|
24
|
+
"alias": "ref.type.section.line-height",
|
|
25
|
+
"dependencies": [
|
|
26
|
+
"ref.type.section.line-height"
|
|
27
|
+
],
|
|
28
|
+
"dependents": []
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"role": "sys.type.section.size",
|
|
3
|
+
"cssName": "--flood-sys-type-section-size",
|
|
4
|
+
"description": "section text size",
|
|
5
|
+
"contexts": [
|
|
6
|
+
{
|
|
7
|
+
"preset": "neutral",
|
|
8
|
+
"theme": "dark",
|
|
9
|
+
"id": "sys.type.section.size",
|
|
10
|
+
"type": "dimension",
|
|
11
|
+
"cssName": "--flood-sys-type-section-size",
|
|
12
|
+
"description": "section text size",
|
|
13
|
+
"status": "experimental",
|
|
14
|
+
"visibility": "public",
|
|
15
|
+
"owner": "foundations",
|
|
16
|
+
"since": "0.2.0",
|
|
17
|
+
"usage": {
|
|
18
|
+
"allowed": [
|
|
19
|
+
"section text size"
|
|
20
|
+
],
|
|
21
|
+
"avoid": []
|
|
22
|
+
},
|
|
23
|
+
"value": {
|
|
24
|
+
"value": 1.25,
|
|
25
|
+
"unit": "rem"
|
|
26
|
+
},
|
|
27
|
+
"alias": "ref.type.section.size",
|
|
28
|
+
"dependencies": [
|
|
29
|
+
"ref.type.section.size"
|
|
30
|
+
],
|
|
31
|
+
"dependents": []
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"role": "sys.type.section.tracking",
|
|
3
|
+
"cssName": "--flood-sys-type-section-tracking",
|
|
4
|
+
"description": "section text tracking",
|
|
5
|
+
"contexts": [
|
|
6
|
+
{
|
|
7
|
+
"preset": "neutral",
|
|
8
|
+
"theme": "dark",
|
|
9
|
+
"id": "sys.type.section.tracking",
|
|
10
|
+
"type": "dimension",
|
|
11
|
+
"cssName": "--flood-sys-type-section-tracking",
|
|
12
|
+
"description": "section text tracking",
|
|
13
|
+
"status": "experimental",
|
|
14
|
+
"visibility": "public",
|
|
15
|
+
"owner": "foundations",
|
|
16
|
+
"since": "0.2.0",
|
|
17
|
+
"usage": {
|
|
18
|
+
"allowed": [
|
|
19
|
+
"section text tracking"
|
|
20
|
+
],
|
|
21
|
+
"avoid": []
|
|
22
|
+
},
|
|
23
|
+
"value": {
|
|
24
|
+
"value": -0.015,
|
|
25
|
+
"unit": "em"
|
|
26
|
+
},
|
|
27
|
+
"alias": "ref.type.section.tracking",
|
|
28
|
+
"dependencies": [
|
|
29
|
+
"ref.type.section.tracking"
|
|
30
|
+
],
|
|
31
|
+
"dependents": []
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"role": "sys.type.section.weight",
|
|
3
|
+
"cssName": "--flood-sys-type-section-weight",
|
|
4
|
+
"description": "section text weight",
|
|
5
|
+
"contexts": [
|
|
6
|
+
{
|
|
7
|
+
"preset": "neutral",
|
|
8
|
+
"theme": "dark",
|
|
9
|
+
"id": "sys.type.section.weight",
|
|
10
|
+
"type": "fontWeight",
|
|
11
|
+
"cssName": "--flood-sys-type-section-weight",
|
|
12
|
+
"description": "section text weight",
|
|
13
|
+
"status": "experimental",
|
|
14
|
+
"visibility": "public",
|
|
15
|
+
"owner": "foundations",
|
|
16
|
+
"since": "0.2.0",
|
|
17
|
+
"usage": {
|
|
18
|
+
"allowed": [
|
|
19
|
+
"section text weight"
|
|
20
|
+
],
|
|
21
|
+
"avoid": []
|
|
22
|
+
},
|
|
23
|
+
"value": 500,
|
|
24
|
+
"alias": "ref.type.section.weight",
|
|
25
|
+
"dependencies": [
|
|
26
|
+
"ref.type.section.weight"
|
|
27
|
+
],
|
|
28
|
+
"dependents": []
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
package/knowledge.json
ADDED
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"groups": [
|
|
4
|
+
{
|
|
5
|
+
"id": "foundations",
|
|
6
|
+
"name": "Foundations",
|
|
7
|
+
"description": "Semantic colors, type, geometry, spacing and scoped customization."
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"id": "composition",
|
|
11
|
+
"name": "Composition",
|
|
12
|
+
"description": "Layout and task recipes assembled from existing primitives."
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"id": "interaction",
|
|
16
|
+
"name": "Interaction",
|
|
17
|
+
"description": "Forms, selection, navigation and transient layers."
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"id": "data-feedback",
|
|
21
|
+
"name": "Data & feedback",
|
|
22
|
+
"description": "Structured content, files and honest operation states."
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "quality",
|
|
26
|
+
"name": "Quality",
|
|
27
|
+
"description": "Accessibility, evidence and regression checks."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "motion",
|
|
31
|
+
"name": "Motion",
|
|
32
|
+
"description": "Existing motion tokens; page-transition workflows are not provided."
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"workflows": {
|
|
36
|
+
"composition": [
|
|
37
|
+
"composition"
|
|
38
|
+
],
|
|
39
|
+
"spacing": [
|
|
40
|
+
"foundations",
|
|
41
|
+
"composition"
|
|
42
|
+
],
|
|
43
|
+
"foundations": [
|
|
44
|
+
"foundations"
|
|
45
|
+
],
|
|
46
|
+
"accessibility": [
|
|
47
|
+
"quality"
|
|
48
|
+
],
|
|
49
|
+
"forms": [
|
|
50
|
+
"interaction"
|
|
51
|
+
],
|
|
52
|
+
"overlays": [
|
|
53
|
+
"interaction"
|
|
54
|
+
],
|
|
55
|
+
"navigation": [
|
|
56
|
+
"interaction"
|
|
57
|
+
],
|
|
58
|
+
"data-display": [
|
|
59
|
+
"data-feedback"
|
|
60
|
+
],
|
|
61
|
+
"feedback": [
|
|
62
|
+
"data-feedback"
|
|
63
|
+
],
|
|
64
|
+
"verification": [
|
|
65
|
+
"quality"
|
|
66
|
+
],
|
|
67
|
+
"interface-content": [
|
|
68
|
+
"composition",
|
|
69
|
+
"quality"
|
|
70
|
+
],
|
|
71
|
+
"hierarchy": [
|
|
72
|
+
"foundations",
|
|
73
|
+
"composition"
|
|
74
|
+
],
|
|
75
|
+
"records": [
|
|
76
|
+
"data-feedback",
|
|
77
|
+
"composition"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"references": [
|
|
81
|
+
{
|
|
82
|
+
"id": "guide:entry",
|
|
83
|
+
"source": "SKILL.md",
|
|
84
|
+
"groups": [
|
|
85
|
+
"composition"
|
|
86
|
+
],
|
|
87
|
+
"name": "Flood agent entry",
|
|
88
|
+
"description": "Start with host instructions and the installed version, then choose only relevant guidance."
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": "guide:design",
|
|
92
|
+
"source": "DESIGN.md",
|
|
93
|
+
"groups": [
|
|
94
|
+
"foundations",
|
|
95
|
+
"composition"
|
|
96
|
+
],
|
|
97
|
+
"name": "Installed design contract",
|
|
98
|
+
"description": "The version-matched component, token and ownership contract."
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"id": "reference:routing",
|
|
102
|
+
"source": "references/routing.md",
|
|
103
|
+
"groups": [
|
|
104
|
+
"quality"
|
|
105
|
+
],
|
|
106
|
+
"name": "Sources and routing",
|
|
107
|
+
"description": "Choose which installed source governs a task and how to verify it."
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "reference:composition",
|
|
111
|
+
"source": "references/composition.md",
|
|
112
|
+
"groups": [
|
|
113
|
+
"composition"
|
|
114
|
+
],
|
|
115
|
+
"name": "Screen composition",
|
|
116
|
+
"description": "Assemble application layouts and native forms from existing Flood primitives."
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"id": "reference:spacing",
|
|
120
|
+
"source": "references/spacing.md",
|
|
121
|
+
"groups": [
|
|
122
|
+
"foundations",
|
|
123
|
+
"composition"
|
|
124
|
+
],
|
|
125
|
+
"name": "Spacing reference",
|
|
126
|
+
"description": "Measure relationships, density, nesting and usable targets."
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "reference:accessibility",
|
|
130
|
+
"source": "references/accessibility.md",
|
|
131
|
+
"groups": [
|
|
132
|
+
"quality"
|
|
133
|
+
],
|
|
134
|
+
"name": "Accessibility reference",
|
|
135
|
+
"description": "Names, keyboard, focus, reflow and perception checks for the actual host."
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"id": "reference:customization",
|
|
139
|
+
"source": "references/customization.md",
|
|
140
|
+
"groups": [
|
|
141
|
+
"foundations"
|
|
142
|
+
],
|
|
143
|
+
"name": "Scoped customization",
|
|
144
|
+
"description": "Apply a host brand through scoped semantic overrides without editing dependencies or creating a parallel token system."
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "reference:verification",
|
|
148
|
+
"source": "references/verification.md",
|
|
149
|
+
"groups": [
|
|
150
|
+
"quality"
|
|
151
|
+
],
|
|
152
|
+
"name": "Verification reference",
|
|
153
|
+
"description": "Turn applicable guidance into executed checks and report their limits."
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "reference:knowledge",
|
|
157
|
+
"source": "references/knowledge.md",
|
|
158
|
+
"groups": [
|
|
159
|
+
"quality"
|
|
160
|
+
],
|
|
161
|
+
"name": "Knowledge discovery and growth",
|
|
162
|
+
"description": "Read matching guidance, preserve host customizations and extend the knowledge catalog without silent drift."
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "reference:rules",
|
|
166
|
+
"source": "rules.json",
|
|
167
|
+
"groups": [
|
|
168
|
+
"quality"
|
|
169
|
+
],
|
|
170
|
+
"name": "Observable rule index",
|
|
171
|
+
"description": "Find stable rule IDs and their applicable checks; this index is not execution evidence."
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"id": "reference:workflow-index",
|
|
175
|
+
"source": "workflows.json",
|
|
176
|
+
"groups": [
|
|
177
|
+
"quality"
|
|
178
|
+
],
|
|
179
|
+
"name": "Workflow applicability index",
|
|
180
|
+
"description": "Find applicable component-family workflows without treating applicability as proof."
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"id": "reference:interface-content-examples",
|
|
184
|
+
"source": "references/interface-content-examples.md",
|
|
185
|
+
"groups": [
|
|
186
|
+
"composition",
|
|
187
|
+
"quality"
|
|
188
|
+
],
|
|
189
|
+
"name": "Interface content decisions",
|
|
190
|
+
"description": "Contextual examples of removing filler while preserving labels, consequences, recovery and document content."
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"id": "reference:rendered-review",
|
|
194
|
+
"source": "references/rendered-review.md",
|
|
195
|
+
"groups": [
|
|
196
|
+
"quality",
|
|
197
|
+
"composition"
|
|
198
|
+
],
|
|
199
|
+
"name": "Rendered interface review",
|
|
200
|
+
"description": "Read-only DOM observations for icon ownership and mixed-row alignment, with separate contextual copy and hierarchy review."
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"id": "reference:record-decisions",
|
|
204
|
+
"source": "references/record-decisions.md",
|
|
205
|
+
"groups": [
|
|
206
|
+
"data-feedback",
|
|
207
|
+
"composition"
|
|
208
|
+
],
|
|
209
|
+
"name": "Record metadata decisions",
|
|
210
|
+
"description": "Contextual list/detail, comparison, category/state, priority and timestamp decisions across different tasks."
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"componentGroups": {
|
|
214
|
+
"setup": [
|
|
215
|
+
"foundations"
|
|
216
|
+
],
|
|
217
|
+
"typography": [
|
|
218
|
+
"foundations"
|
|
219
|
+
],
|
|
220
|
+
"layout": [
|
|
221
|
+
"composition"
|
|
222
|
+
],
|
|
223
|
+
"actions": [
|
|
224
|
+
"interaction"
|
|
225
|
+
],
|
|
226
|
+
"forms": [
|
|
227
|
+
"interaction"
|
|
228
|
+
],
|
|
229
|
+
"overlays": [
|
|
230
|
+
"interaction"
|
|
231
|
+
],
|
|
232
|
+
"navigation": [
|
|
233
|
+
"interaction"
|
|
234
|
+
],
|
|
235
|
+
"content": [
|
|
236
|
+
"data-feedback"
|
|
237
|
+
],
|
|
238
|
+
"feedback": [
|
|
239
|
+
"data-feedback"
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
"capabilities": [
|
|
243
|
+
{
|
|
244
|
+
"id": "dark-foundations",
|
|
245
|
+
"status": "available",
|
|
246
|
+
"description": "The existing neutral dark profile and scoped semantic customization.",
|
|
247
|
+
"materials": [
|
|
248
|
+
"workflow:foundations",
|
|
249
|
+
"reference:customization"
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": "component-motion-tokens",
|
|
254
|
+
"status": "available",
|
|
255
|
+
"description": "Existing short-transition and reduced-motion tokens; not a route-transition implementation.",
|
|
256
|
+
"materials": [
|
|
257
|
+
"token:sys.motion.duration-fast",
|
|
258
|
+
"token:sys.motion.duration-normal",
|
|
259
|
+
"token:sys.motion.duration-reduced",
|
|
260
|
+
"token:sys.motion.easing"
|
|
261
|
+
]
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"id": "page-transitions",
|
|
265
|
+
"status": "not-provided",
|
|
266
|
+
"description": "No Flood page-transition component or router-lifecycle workflow is supplied.",
|
|
267
|
+
"materials": []
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"id": "additional-foundation-themes",
|
|
271
|
+
"status": "not-provided",
|
|
272
|
+
"description": "The new foundations profile provides dark only; legacy light controls do not add another foundation theme.",
|
|
273
|
+
"materials": []
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"documentGroups": {
|
|
277
|
+
"README.md": [
|
|
278
|
+
"composition"
|
|
279
|
+
],
|
|
280
|
+
"installation.md": [
|
|
281
|
+
"quality"
|
|
282
|
+
],
|
|
283
|
+
"project-ui.md": [
|
|
284
|
+
"composition"
|
|
285
|
+
],
|
|
286
|
+
"foundations.md": [
|
|
287
|
+
"foundations"
|
|
288
|
+
],
|
|
289
|
+
"layout.md": [
|
|
290
|
+
"composition"
|
|
291
|
+
],
|
|
292
|
+
"theming.md": [
|
|
293
|
+
"foundations"
|
|
294
|
+
],
|
|
295
|
+
"agents.md": [
|
|
296
|
+
"quality"
|
|
297
|
+
],
|
|
298
|
+
"skills.md": [
|
|
299
|
+
"quality"
|
|
300
|
+
],
|
|
301
|
+
"agent-knowledge.md": [
|
|
302
|
+
"quality"
|
|
303
|
+
],
|
|
304
|
+
"faq.md": [
|
|
305
|
+
"quality"
|
|
306
|
+
],
|
|
307
|
+
"privacy.md": [
|
|
308
|
+
"quality"
|
|
309
|
+
],
|
|
310
|
+
"recipes/command-palette.md": [
|
|
311
|
+
"composition",
|
|
312
|
+
"interaction"
|
|
313
|
+
],
|
|
314
|
+
"recipes/select-all.md": [
|
|
315
|
+
"composition",
|
|
316
|
+
"interaction"
|
|
317
|
+
],
|
|
318
|
+
"recipes/split-button.md": [
|
|
319
|
+
"composition",
|
|
320
|
+
"interaction"
|
|
321
|
+
],
|
|
322
|
+
"recipes/form-submission.md": [
|
|
323
|
+
"composition",
|
|
324
|
+
"interaction"
|
|
325
|
+
],
|
|
326
|
+
"recipes/filter-bar.md": [
|
|
327
|
+
"composition",
|
|
328
|
+
"data-feedback"
|
|
329
|
+
],
|
|
330
|
+
"recipes/workspace-review.md": [
|
|
331
|
+
"composition",
|
|
332
|
+
"interaction"
|
|
333
|
+
],
|
|
334
|
+
"recipes/table-bulk-actions.md": [
|
|
335
|
+
"composition",
|
|
336
|
+
"data-feedback",
|
|
337
|
+
"interaction"
|
|
338
|
+
],
|
|
339
|
+
"interface-content.md": [
|
|
340
|
+
"composition",
|
|
341
|
+
"quality"
|
|
342
|
+
],
|
|
343
|
+
"recipes/grouped-form.md": [
|
|
344
|
+
"composition",
|
|
345
|
+
"interaction"
|
|
346
|
+
]
|
|
347
|
+
},
|
|
348
|
+
"prerequisites": {
|
|
349
|
+
"workflow:forms": [
|
|
350
|
+
"workflow:composition"
|
|
351
|
+
],
|
|
352
|
+
"workflow:overlays": [
|
|
353
|
+
"workflow:composition"
|
|
354
|
+
],
|
|
355
|
+
"workflow:data-display": [
|
|
356
|
+
"workflow:composition"
|
|
357
|
+
],
|
|
358
|
+
"recipe:command-palette": [
|
|
359
|
+
"workflow:composition",
|
|
360
|
+
"workflow:overlays",
|
|
361
|
+
"workflow:navigation"
|
|
362
|
+
],
|
|
363
|
+
"recipe:select-all": [
|
|
364
|
+
"workflow:composition",
|
|
365
|
+
"workflow:forms"
|
|
366
|
+
],
|
|
367
|
+
"recipe:split-button": [
|
|
368
|
+
"workflow:composition",
|
|
369
|
+
"workflow:navigation"
|
|
370
|
+
],
|
|
371
|
+
"recipe:form-submission": [
|
|
372
|
+
"workflow:composition",
|
|
373
|
+
"workflow:forms",
|
|
374
|
+
"workflow:feedback"
|
|
375
|
+
],
|
|
376
|
+
"recipe:filter-bar": [
|
|
377
|
+
"workflow:composition",
|
|
378
|
+
"workflow:forms",
|
|
379
|
+
"workflow:data-display"
|
|
380
|
+
],
|
|
381
|
+
"recipe:workspace-review": [
|
|
382
|
+
"workflow:composition",
|
|
383
|
+
"workflow:forms",
|
|
384
|
+
"workflow:overlays"
|
|
385
|
+
],
|
|
386
|
+
"recipe:table-bulk-actions": [
|
|
387
|
+
"workflow:composition",
|
|
388
|
+
"workflow:data-display",
|
|
389
|
+
"workflow:navigation"
|
|
390
|
+
],
|
|
391
|
+
"recipe:grouped-form": [
|
|
392
|
+
"workflow:composition",
|
|
393
|
+
"workflow:forms",
|
|
394
|
+
"workflow:interface-content",
|
|
395
|
+
"workflow:hierarchy"
|
|
396
|
+
],
|
|
397
|
+
"workflow:verification": [
|
|
398
|
+
"workflow:interface-content"
|
|
399
|
+
],
|
|
400
|
+
"workflow:hierarchy": [
|
|
401
|
+
"workflow:interface-content"
|
|
402
|
+
],
|
|
403
|
+
"workflow:records": [
|
|
404
|
+
"workflow:composition",
|
|
405
|
+
"workflow:interface-content",
|
|
406
|
+
"workflow:hierarchy"
|
|
407
|
+
]
|
|
408
|
+
}
|
|
409
|
+
}
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export type KnowledgeKind = 'guide' | 'workflow' | 'reference' | 'component' | 'recipe' | 'token';
|
|
2
|
+
export interface KnowledgeGroup { id: string; name: string; description: string; }
|
|
3
|
+
export interface KnowledgeCapability { id: string; status: 'available' | 'not-provided'; description: string; materials: string[]; }
|
|
4
|
+
export interface KnowledgeMaterial {
|
|
5
|
+
id: string; kind: KnowledgeKind; name: string; description: string; groups: string[];
|
|
6
|
+
status: 'available'; file: string; bytes: number; sha256: string; links: string[];
|
|
7
|
+
requires: string[]; installedTarget?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface KnowledgeCatalog { schemaVersion: 1; version: string; groups: KnowledgeGroup[]; capabilities: KnowledgeCapability[]; materials: KnowledgeMaterial[]; }
|
|
10
|
+
export type KnowledgeSummary = Omit<KnowledgeMaterial, 'file' | 'bytes' | 'sha256' | 'links' | 'installedTarget'> & {relatedCount: number};
|
|
11
|
+
export interface KnowledgePage {
|
|
12
|
+
schemaVersion: 1; version: string; fingerprint: string;
|
|
13
|
+
query: {kind: KnowledgeKind | null; group: string | null; search: string};
|
|
14
|
+
total: number; items: KnowledgeSummary[]; truncated: boolean; nextCursor: string | null;
|
|
15
|
+
}
|
|
16
|
+
export interface KnowledgeRead extends KnowledgeSummary {
|
|
17
|
+
schemaVersion: 1; version: string; fingerprint: string; source: 'package'; sha256: string;
|
|
18
|
+
installedTarget: string | null; links: string[]; linksOffset: number; nextLinksOffset: number | null; text: string; offset: number;
|
|
19
|
+
totalCharacters: number; truncated: boolean; nextOffset: number | null;
|
|
20
|
+
}
|
|
21
|
+
export interface KnowledgeInfo {
|
|
22
|
+
schemaVersion: 1; version: string; fingerprint: string; materialCount: number;
|
|
23
|
+
groups: (KnowledgeGroup & {count:number})[]; kinds: {kind:KnowledgeKind; count:number}[];
|
|
24
|
+
capabilities: KnowledgeCapability[];
|
|
25
|
+
}
|
|
26
|
+
export interface KnowledgeReader {
|
|
27
|
+
info(): Promise<KnowledgeInfo>;
|
|
28
|
+
list(query?: {kind?: KnowledgeKind; group?: string; search?: string; limit?: number; cursor?: string}): Promise<KnowledgePage>;
|
|
29
|
+
/** Offsets and lengths count Unicode code points, not UTF-8 bytes. */
|
|
30
|
+
read(id: string, range?: {offset?: number; length?: number; linksOffset?: number}): Promise<KnowledgeRead>;
|
|
31
|
+
}
|
|
32
|
+
export function validateKnowledgeCatalog(catalog: unknown): KnowledgeCatalog;
|
|
33
|
+
export function createKnowledgeReader(options?: {root?: string}): KnowledgeReader;
|