@notis_ai/cli 0.2.27 → 0.2.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/config/notis_app_design_rules.json +5 -123
- package/dist/agent-hooks/notis-agent-hook.mjs +2 -2
- package/dist/base-skills/notis-spaces/.notis-base-skill.json +1 -1
- package/dist/base-skills/notis-spaces/SKILL.md +13 -19
- package/dist/base-skills/notis-spaces/references/design.md +11 -45
- package/dist/base-skills/notis-spaces/references/sdk.md +86 -67
- package/dist/base-skills/notis-spaces/references/views.md +12 -1
- package/dist/sdk/src/components/NotisCommentBoundary.tsx +43 -16
- package/dist/sdk/src/components/NotisSelectionBoundary.tsx +26 -1
- package/dist/sdk/src/components/SelectionActionBar.tsx +262 -0
- package/dist/sdk/src/hooks/useCollectionInteractions.ts +5 -2
- package/dist/sdk/src/space.ts +4 -0
- package/dist/sdk/src/ui/icons.tsx +11 -2
- package/dist/sdk/src/words/actions.ts +9 -1
- package/dist/sdk/src/words/keymap.ts +3 -0
- package/dist/space-harness/host.js +172 -134
- package/dist/space-sdk/dist/{chunk-BWHAORT4.js → chunk-BFGB6XXC.js} +2 -2
- package/dist/space-sdk/dist/index.js +2 -2
- package/dist/space-sdk/dist/ui.js +14 -11
- package/dist/space-sdk/src/components/NotisSelectionBoundary.d.ts +7 -0
- package/dist/space-sdk/src/space.ts +4 -0
- package/dist/space-sdk/src/tailwind-candidates.d.ts +117 -13
- package/dist/space-sdk/src/ui/blocks/DataTable.d.ts +86 -0
- package/dist/space-sdk/src/ui/blocks/InfoTip.d.ts +25 -0
- package/dist/space-sdk/src/ui/blocks/Meter.d.ts +39 -0
- package/dist/space-sdk/src/ui/blocks/blocks.d.ts +1 -1
- package/dist/space-sdk/src/ui/blocks/index.d.ts +6 -0
- package/dist/space-sdk/src/ui/charts/Chart.d.ts +15 -2
- package/dist/space-sdk/src/ui/charts/StatRow.d.ts +4 -3
- package/dist/space-sdk/src/ui/charts/chartData.d.ts +6 -0
- package/dist/space-sdk/src/ui/icons.d.ts +1 -1
- package/dist/space-sdk/src/ui/index.d.ts +2 -2
- package/dist/space-sdk/src/ui/list/Row.d.ts +10 -3
- package/dist/space-sdk/src/ui/period/dateFormat.d.ts +14 -0
- package/dist/space-sdk/src/words/actions.ts +9 -1
- package/dist/space-sdk/src/words/keymap.ts +3 -0
- package/dist/view-renderer/dist/host.js +243 -205
- package/package.json +3 -3
- package/src/command-specs/computer.js +3 -3
- package/template/components/ui/button.tsx +1 -1
- package/template/components/ui/native-select.tsx +1 -1
|
@@ -30,4 +30,11 @@ type QuoteRuntime = Pick<NotisRuntime, 'contextSource' | 'captureContextSelectio
|
|
|
30
30
|
* the custom MIME payload and renders a separate quote pill.
|
|
31
31
|
*/
|
|
32
32
|
export declare function NotisSelectionBoundary({ resource, children, className, style, }: NotisSelectionBoundaryProps): React.JSX.Element;
|
|
33
|
+
/** The resource a Space's own boundary names for the text in `range`, as copy would quote it; null outside one. */
|
|
34
|
+
export declare function quoteResourceFor(range: Range): ContextResource | null;
|
|
35
|
+
/**
|
|
36
|
+
* Cite for a Space (truth PRT-087): the selected text goes to chat as the quote copy would make, its Space as source
|
|
37
|
+
* and the boundary's resource when one names it. A Site's runtime has no chat, so it cites nothing.
|
|
38
|
+
*/
|
|
39
|
+
export declare function citeSpaceSelection(runtime: Pick<NotisRuntime, 'contextSource' | 'addContext'> | null, range: Range, text: string): Promise<boolean>;
|
|
33
40
|
export {};
|
|
@@ -537,6 +537,10 @@ export interface SpaceDefinition {
|
|
|
537
537
|
* moment, once that person allowed this Space's agents. Agents' own writes never wake anything.
|
|
538
538
|
*/
|
|
539
539
|
agents?: SpaceAgentDeclaration[];
|
|
540
|
+
/**
|
|
541
|
+
* Lists the database's records as sidebar rows under this Space. Only for a short list people navigate
|
|
542
|
+
* like pages (folders, chapters); a database that keeps growing belongs in the view's `shows` instead.
|
|
543
|
+
*/
|
|
540
544
|
collection?: { database: string; titleProperty: string; parentProperty?: string; allowCreate?: boolean };
|
|
541
545
|
/** Reproducible source dependencies not discovered by the module graph. */
|
|
542
546
|
sourceIncludes?: string[];
|