@notis_ai/cli 0.2.18 → 0.2.20
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 +542 -146
- package/bin/check-runtime.js +15 -0
- package/bin/notis.js +2 -0
- package/config/notis_app_design_rules.json +320 -0
- package/config/portal-route-roots.json +45 -0
- package/dist/agent-hooks/notis-agent-hook.mjs +42325 -18273
- package/dist/base-skills/notis-cli/.notis-base-skill.json +1 -0
- package/dist/base-skills/notis-cli/SKILL.md +51 -280
- package/dist/base-skills/notis-cli/references/app-delivery.md +17 -0
- package/dist/base-skills/notis-cli/references/intelligence.md +94 -0
- package/dist/base-skills/notis-cli/references/native-databases.md +21 -0
- package/dist/base-skills/notis-cli/references/tool-examples.md +56 -0
- package/dist/base-skills/notis-cli/references/troubleshooting.md +67 -0
- package/dist/base-skills/notis-query/.notis-base-skill.json +1 -0
- package/dist/base-skills/notis-query/SKILL.md +35 -699
- package/dist/base-skills/notis-query/references/database-discovery.md +59 -0
- package/dist/base-skills/notis-query/references/documents.md +74 -0
- package/dist/base-skills/notis-query/references/query.md +76 -0
- package/dist/base-skills/notis-spaces/.notis-base-skill.json +1 -0
- package/dist/base-skills/notis-spaces/SKILL.md +218 -0
- package/dist/base-skills/notis-spaces/references/architecture.md +116 -0
- package/dist/base-skills/notis-spaces/references/context.md +81 -0
- package/dist/base-skills/notis-spaces/references/design.md +141 -0
- package/dist/base-skills/notis-spaces/references/fixtures.md +29 -0
- package/dist/base-skills/notis-spaces/references/memory.md +58 -0
- package/dist/base-skills/notis-spaces/references/reading.md +73 -0
- package/dist/base-skills/notis-spaces/references/release.md +120 -0
- package/dist/base-skills/notis-spaces/references/reports.md +77 -0
- package/dist/base-skills/notis-spaces/references/sdk.md +273 -0
- package/dist/base-skills/notis-spaces/references/store.md +118 -0
- package/dist/base-skills/notis-spaces/references/troubleshooting.md +28 -0
- package/dist/base-skills/notis-spaces/references/views.md +229 -0
- package/{template/packages → dist}/sdk/package.json +9 -10
- package/dist/sdk/src/agentContext.ts +36 -0
- package/dist/sdk/src/bundleModule.ts +175 -0
- package/dist/sdk/src/components/Dialog.tsx +103 -0
- package/dist/sdk/src/components/DocumentEditor.tsx +113 -0
- package/dist/sdk/src/components/DocumentPage.tsx +184 -0
- package/{template/packages → dist}/sdk/src/components/Markdown.tsx +9 -3
- package/{template/packages → dist}/sdk/src/components/MarkdownEditor.tsx +26 -5
- package/{template/packages → dist}/sdk/src/components/MultiSelectActionBar.tsx +95 -12
- package/{template/packages → dist}/sdk/src/components/MultiSelectCheckbox.tsx +4 -2
- package/dist/sdk/src/components/NotisCommentBoundary.tsx +172 -0
- package/{template/packages → dist}/sdk/src/components/NotisSelectionBoundary.tsx +9 -5
- package/dist/sdk/src/components/RecordComponents.tsx +111 -0
- package/dist/sdk/src/components/Skeleton.tsx +38 -0
- package/dist/sdk/src/config.ts +31 -0
- package/{template/packages → dist}/sdk/src/documents.ts +21 -6
- package/dist/sdk/src/hooks/useAction.ts +28 -0
- package/dist/sdk/src/hooks/useAgentContext.ts +23 -0
- package/{template/packages → dist}/sdk/src/hooks/useBackend.ts +3 -2
- package/dist/sdk/src/hooks/useCloudComputer.ts +94 -0
- package/dist/sdk/src/hooks/useCloudComputerShell.ts +114 -0
- package/{template/packages → dist}/sdk/src/hooks/useCollectionInteractions.ts +157 -147
- package/dist/sdk/src/hooks/useDatabaseSchema.ts +50 -0
- package/{template/packages → dist}/sdk/src/hooks/useDatabaseSubscription.ts +2 -2
- package/dist/sdk/src/hooks/useDocument.ts +51 -0
- package/{template/packages → dist}/sdk/src/hooks/useDocuments.ts +25 -59
- package/{template/packages → dist}/sdk/src/hooks/useHandover.ts +7 -7
- package/dist/sdk/src/hooks/useLongPressSelection.ts +79 -0
- package/dist/sdk/src/hooks/useMarqueeSelection.ts +194 -0
- package/{template/packages → dist}/sdk/src/hooks/useMultiSelect.ts +2 -8
- package/dist/sdk/src/hooks/useNativeDocumentBody.ts +50 -0
- package/dist/sdk/src/hooks/useNativeDocuments.ts +143 -0
- package/{template/packages → dist}/sdk/src/hooks/useNotis.ts +6 -1
- package/dist/sdk/src/hooks/useNotisNavigation.ts +70 -0
- package/dist/sdk/src/hooks/useQuery.ts +81 -0
- package/dist/sdk/src/hooks/useToolQuery.ts +12 -0
- package/dist/sdk/src/hooks/useTopBarSearch.ts +102 -0
- package/dist/sdk/src/hooks/useTopBarTitleLeaf.ts +75 -0
- package/{template/packages → dist}/sdk/src/hooks/useUpsertDocument.ts +1 -1
- package/dist/sdk/src/hooks/useViewParams.ts +195 -0
- package/dist/sdk/src/hooks/useViewerReads.ts +129 -0
- package/{template/packages → dist}/sdk/src/index.ts +64 -1
- package/{template/packages → dist}/sdk/src/interactions/actions.ts +14 -1
- package/{template/packages → dist}/sdk/src/interactions/shortcuts.tsx +129 -23
- package/dist/sdk/src/interactions/visibility.ts +13 -0
- package/{template/packages → dist}/sdk/src/interactions.ts +5 -1
- package/dist/sdk/src/nativeData.ts +39 -0
- package/{template/packages → dist}/sdk/src/provider.tsx +9 -4
- package/dist/sdk/src/queryCache.ts +292 -0
- package/dist/sdk/src/queryErrors.ts +51 -0
- package/dist/sdk/src/runtime.ts +675 -0
- package/dist/sdk/src/runtimeModules.ts +33 -0
- package/dist/sdk/src/space.ts +442 -0
- package/dist/sdk/src/standardViewParams.ts +36 -0
- package/{template/packages → dist}/sdk/src/styles.css +81 -16
- package/dist/sdk/src/tailwind.ts +66 -0
- package/dist/sdk/src/ui/charts/RenderChartData.tsx +25 -0
- package/dist/sdk/src/ui/engine/core.ts +392 -0
- package/dist/sdk/src/ui/engine/dom.ts +183 -0
- package/dist/sdk/src/ui/engine/hooks.ts +195 -0
- package/dist/sdk/src/ui/engine/instance.ts +63 -0
- package/dist/sdk/src/ui/engine/keycapContext.ts +2 -0
- package/dist/sdk/src/ui/engine/registry.ts +262 -0
- package/dist/sdk/src/ui/engine/types.ts +62 -0
- package/dist/sdk/src/ui/icons.tsx +91 -0
- package/dist/sdk/src/ui/util.ts +83 -0
- package/dist/sdk/src/viewPeriod.ts +26 -0
- package/dist/sdk/src/vite.ts +92 -0
- package/dist/sdk/src/words/actions.ts +295 -0
- package/dist/sdk/src/words/clashes.ts +158 -0
- package/dist/sdk/src/words/format.ts +136 -0
- package/dist/sdk/src/words/index.ts +13 -0
- package/dist/sdk/src/words/keymap.ts +72 -0
- package/dist/sdk/src/words/keys.ts +297 -0
- package/dist/sdk/src/words/shell.ts +46 -0
- package/dist/sdk/src/words/types.ts +65 -0
- package/dist/skill-sync/index.js +832 -151
- package/dist/skill-sync/index.js.map +4 -4
- package/dist/skill-sync-worker.mjs +3941 -0
- package/dist/space-harness/host.js +1460 -0
- package/dist/space-sdk/dist/chunk-ZSN57ATH.js +5 -0
- package/dist/space-sdk/dist/index.js +15 -0
- package/dist/space-sdk/dist/ui.js +18 -0
- package/dist/space-sdk/package.json +33 -0
- package/dist/space-sdk/src/agentContext.d.ts +36 -0
- package/dist/space-sdk/src/components/Dialog.d.ts +20 -0
- package/dist/space-sdk/src/components/DocumentEditor.d.ts +46 -0
- package/dist/space-sdk/src/components/DocumentPage.d.ts +53 -0
- package/dist/space-sdk/src/components/Markdown.d.ts +18 -0
- package/dist/space-sdk/src/components/MarkdownEditor.d.ts +11 -0
- package/dist/space-sdk/src/components/MultiSelectActionBar.d.ts +31 -0
- package/dist/space-sdk/src/components/MultiSelectCheckbox.d.ts +14 -0
- package/dist/space-sdk/src/components/MultiSelectDragOverlay.d.ts +8 -0
- package/dist/space-sdk/src/components/NotisCommentBoundary.d.ts +36 -0
- package/dist/space-sdk/src/components/NotisSelectionBoundary.d.ts +16 -0
- package/dist/space-sdk/src/components/RecordComponents.d.ts +64 -0
- package/dist/space-sdk/src/components/ShortcutHints.d.ts +12 -0
- package/dist/space-sdk/src/components/Skeleton.d.ts +23 -0
- package/dist/space-sdk/src/config.ts +31 -0
- package/dist/space-sdk/src/documents.d.ts +59 -0
- package/dist/space-sdk/src/hooks/useAction.d.ts +8 -0
- package/dist/space-sdk/src/hooks/useActiveResource.d.ts +3 -0
- package/dist/space-sdk/src/hooks/useAgentContext.d.ts +7 -0
- package/dist/space-sdk/src/hooks/useBackend.d.ts +23 -0
- package/dist/space-sdk/src/hooks/useCloudComputer.d.ts +45 -0
- package/dist/space-sdk/src/hooks/useCloudComputerShell.d.ts +49 -0
- package/dist/space-sdk/src/hooks/useCollectionInteractions.d.ts +118 -0
- package/dist/space-sdk/src/hooks/useDatabaseSchema.d.ts +14 -0
- package/dist/space-sdk/src/hooks/useDatabaseSubscription.d.ts +26 -0
- package/dist/space-sdk/src/hooks/useDocument.d.ts +22 -0
- package/dist/space-sdk/src/hooks/useDocuments.d.ts +31 -0
- package/dist/space-sdk/src/hooks/useHandover.d.ts +43 -0
- package/dist/space-sdk/src/hooks/useLongPressSelection.d.ts +9 -0
- package/dist/space-sdk/src/hooks/useMarqueeSelection.d.ts +57 -0
- package/dist/space-sdk/src/hooks/useMultiSelect.d.ts +51 -0
- package/dist/space-sdk/src/hooks/useNativeDocumentBody.d.ts +24 -0
- package/dist/space-sdk/src/hooks/useNativeDocuments.d.ts +55 -0
- package/dist/space-sdk/src/hooks/useNotis.d.ts +25 -0
- package/dist/space-sdk/src/hooks/useNotisNavigation.d.ts +33 -0
- package/dist/space-sdk/src/hooks/useQuery.d.ts +22 -0
- package/dist/space-sdk/src/hooks/useTool.d.ts +20 -0
- package/dist/space-sdk/src/hooks/useToolQuery.d.ts +3 -0
- package/dist/space-sdk/src/hooks/useTools.d.ts +15 -0
- package/dist/space-sdk/src/hooks/useTopBarSearch.d.ts +48 -0
- package/dist/space-sdk/src/hooks/useTopBarTitleLeaf.d.ts +24 -0
- package/dist/space-sdk/src/hooks/useUpsertDocument.d.ts +27 -0
- package/dist/space-sdk/src/hooks/useViewParams.d.ts +76 -0
- package/dist/space-sdk/src/hooks/useViewerReads.d.ts +38 -0
- package/dist/space-sdk/src/index.d.ts +98 -0
- package/dist/space-sdk/src/interactions/actions.d.ts +33 -0
- package/dist/space-sdk/src/interactions/shortcuts.d.ts +42 -0
- package/dist/space-sdk/src/interactions/visibility.d.ts +2 -0
- package/dist/space-sdk/src/nativeData.d.ts +66 -0
- package/dist/space-sdk/src/provider.d.ts +17 -0
- package/dist/space-sdk/src/queryCache.d.ts +45 -0
- package/dist/space-sdk/src/queryErrors.ts +51 -0
- package/dist/space-sdk/src/runtime.d.ts +615 -0
- package/dist/space-sdk/src/runtimeModules.ts +33 -0
- package/dist/space-sdk/src/space.ts +442 -0
- package/dist/space-sdk/src/standardViewParams.d.ts +15 -0
- package/dist/space-sdk/src/tailwind-candidates.d.ts +3418 -0
- package/dist/space-sdk/src/tailwind.ts +66 -0
- package/dist/space-sdk/src/ui/actions/ActionToast.d.ts +15 -0
- package/dist/space-sdk/src/ui/actions/actionWords.d.ts +16 -0
- package/dist/space-sdk/src/ui/actions/index.d.ts +7 -0
- package/dist/space-sdk/src/ui/actions/useActions.d.ts +69 -0
- package/dist/space-sdk/src/ui/actions/useToast.d.ts +41 -0
- package/dist/space-sdk/src/ui/blocks/Tabs.d.ts +139 -0
- package/dist/space-sdk/src/ui/blocks/blocks.d.ts +217 -0
- package/dist/space-sdk/src/ui/blocks/index.d.ts +4 -0
- package/dist/space-sdk/src/ui/board/BoardView.d.ts +36 -0
- package/dist/space-sdk/src/ui/board/boardModel.d.ts +46 -0
- package/dist/space-sdk/src/ui/board/boardWords.d.ts +9 -0
- package/dist/space-sdk/src/ui/board/index.d.ts +5 -0
- package/dist/space-sdk/src/ui/calendar/CalendarView.d.ts +49 -0
- package/dist/space-sdk/src/ui/calendar/DayPicker.d.ts +23 -0
- package/dist/space-sdk/src/ui/calendar/calendarMath.d.ts +81 -0
- package/dist/space-sdk/src/ui/charts/Chart.d.ts +203 -0
- package/dist/space-sdk/src/ui/charts/ChartTable.d.ts +37 -0
- package/dist/space-sdk/src/ui/charts/RenderChartData.d.ts +16 -0
- package/dist/space-sdk/src/ui/charts/StatRow.d.ts +59 -0
- package/dist/space-sdk/src/ui/charts/chartData.d.ts +84 -0
- package/dist/space-sdk/src/ui/comments/CommentPane.d.ts +58 -0
- package/dist/space-sdk/src/ui/comments/commentModel.d.ts +157 -0
- package/dist/space-sdk/src/ui/comments/commentWords.d.ts +60 -0
- package/dist/space-sdk/src/ui/comments/index.d.ts +4 -0
- package/dist/space-sdk/src/ui/comments/useComments.d.ts +146 -0
- package/dist/space-sdk/src/ui/engine/HelpSheet.d.ts +12 -0
- package/dist/space-sdk/src/ui/engine/KeyboardEngine.d.ts +27 -0
- package/dist/space-sdk/src/ui/engine/core.d.ts +73 -0
- package/dist/space-sdk/src/ui/engine/hooks.d.ts +64 -0
- package/dist/space-sdk/src/ui/engine/index.d.ts +14 -0
- package/dist/space-sdk/src/ui/engine/instance.d.ts +21 -0
- package/dist/space-sdk/src/ui/engine/keycapContext.d.ts +2 -0
- package/dist/space-sdk/src/ui/engine/registry.d.ts +77 -0
- package/dist/space-sdk/src/ui/engine/step.d.ts +11 -0
- package/dist/space-sdk/src/ui/engine/types.d.ts +54 -0
- package/dist/space-sdk/src/ui/fields/fieldWords.d.ts +56 -0
- package/dist/space-sdk/src/ui/fields/fields.d.ts +162 -0
- package/dist/space-sdk/src/ui/fields/index.d.ts +5 -0
- package/dist/space-sdk/src/ui/fields/useFieldDraft.d.ts +22 -0
- package/dist/space-sdk/src/ui/gallery/AttachmentGallery.d.ts +53 -0
- package/dist/space-sdk/src/ui/gallery/ImageViewer.d.ts +27 -0
- package/dist/space-sdk/src/ui/gallery/galleryWords.d.ts +95 -0
- package/dist/space-sdk/src/ui/gallery/index.d.ts +5 -0
- package/dist/space-sdk/src/ui/icons.d.ts +13 -0
- package/dist/space-sdk/src/ui/index.d.ts +54 -0
- package/dist/space-sdk/src/ui/keycap/Keycap.d.ts +22 -0
- package/dist/space-sdk/src/ui/keycap/index.d.ts +2 -0
- package/dist/space-sdk/src/ui/layout/Panels.d.ts +50 -0
- package/dist/space-sdk/src/ui/layout/chatPanelEdge.d.ts +77 -0
- package/dist/space-sdk/src/ui/layout/index.d.ts +5 -0
- package/dist/space-sdk/src/ui/layout/panelMath.d.ts +91 -0
- package/dist/space-sdk/src/ui/list/ListReader.d.ts +380 -0
- package/dist/space-sdk/src/ui/list/Row.d.ts +145 -0
- package/dist/space-sdk/src/ui/list/SelectionBar.d.ts +65 -0
- package/dist/space-sdk/src/ui/list/index.d.ts +14 -0
- package/dist/space-sdk/src/ui/list/rowState.d.ts +22 -0
- package/dist/space-sdk/src/ui/list/useListKeys.d.ts +89 -0
- package/dist/space-sdk/src/ui/list/useReorder.d.ts +86 -0
- package/dist/space-sdk/src/ui/list/useSelection.d.ts +90 -0
- package/dist/space-sdk/src/ui/open/OpenAsMenu.d.ts +15 -0
- package/dist/space-sdk/src/ui/open/index.d.ts +6 -0
- package/dist/space-sdk/src/ui/open/openModeStore.d.ts +39 -0
- package/dist/space-sdk/src/ui/open/useOpenMode.d.ts +17 -0
- package/dist/space-sdk/src/ui/overlay/Menu.d.ts +88 -0
- package/dist/space-sdk/src/ui/overlay/Popover.d.ts +28 -0
- package/dist/space-sdk/src/ui/overlay/Tooltip.d.ts +19 -0
- package/dist/space-sdk/src/ui/overlay/index.d.ts +9 -0
- package/dist/space-sdk/src/ui/overlay/layerRoot.d.ts +24 -0
- package/dist/space-sdk/src/ui/overlay/position.d.ts +31 -0
- package/dist/space-sdk/src/ui/period/PeriodPicker.d.ts +30 -0
- package/dist/space-sdk/src/ui/period/dateFormat.d.ts +50 -0
- package/dist/space-sdk/src/ui/period/dateWords.d.ts +88 -0
- package/dist/space-sdk/src/ui/period/periods.d.ts +70 -0
- package/dist/space-sdk/src/ui/period/usePeriod.d.ts +23 -0
- package/dist/space-sdk/src/ui/present/index.d.ts +3 -0
- package/dist/space-sdk/src/ui/present/presentWords.d.ts +27 -0
- package/dist/space-sdk/src/ui/present/screens.d.ts +36 -0
- package/dist/space-sdk/src/ui/present/useAudienceScreen.d.ts +38 -0
- package/dist/space-sdk/src/ui/styles.d.ts +21 -0
- package/dist/space-sdk/src/ui/timeline/TimelineView.d.ts +44 -0
- package/dist/space-sdk/src/ui/timeline/timelineMath.d.ts +123 -0
- package/dist/space-sdk/src/viewPeriod.d.ts +8 -0
- package/dist/space-sdk/src/vite.ts +92 -0
- package/dist/space-sdk/src/words/actions.ts +295 -0
- package/dist/space-sdk/src/words/clashes.ts +158 -0
- package/dist/space-sdk/src/words/format.ts +136 -0
- package/dist/space-sdk/src/words/index.ts +13 -0
- package/dist/space-sdk/src/words/keymap.ts +72 -0
- package/dist/space-sdk/src/words/keys.ts +297 -0
- package/dist/space-sdk/src/words/shell.ts +46 -0
- package/dist/space-sdk/src/words/types.ts +65 -0
- package/dist/view-renderer/dist/host.css +1 -0
- package/dist/view-renderer/dist/host.js +2374 -0
- package/dist/view-renderer/dist/theme.css +73 -0
- package/dist/view-renderer/src/dom.js +212 -0
- package/dist/view-renderer/src/errors.js +8 -0
- package/dist/view-renderer/src/host.tsx +250 -0
- package/dist/view-renderer/src/index.js +4 -0
- package/dist/view-renderer/src/png.js +213 -0
- package/dist/view-renderer/src/pool.js +110 -0
- package/dist/view-renderer/src/remote-broker.js +59 -0
- package/dist/view-renderer/src/renderer.js +279 -0
- package/package.json +21 -11
- package/skills/notis-cli/AGENT_INSTRUCTIONS.md +63 -12
- package/skills/notis-onboarding/BRIEF.md +14 -9
- package/skills/notis-query/cli.md +1 -1
- package/skills/notis-spaces/cli.md +540 -0
- package/src/cli.js +8 -8
- package/src/command-specs/agents.js +121 -8
- package/src/command-specs/auth.js +3 -3
- package/src/command-specs/diagnostics.js +97 -20
- package/src/command-specs/documents.js +158 -0
- package/src/command-specs/files.js +29 -0
- package/src/command-specs/handover.js +331 -79
- package/src/command-specs/helpers.js +50 -40
- package/src/command-specs/index.js +14 -5
- package/src/command-specs/meta.js +38 -9
- package/src/command-specs/onboarding.js +1 -1
- package/src/command-specs/profile.js +42 -1
- package/src/command-specs/skills.js +314 -9
- package/src/command-specs/smoke.js +16 -4
- package/src/command-specs/spaces.js +783 -0
- package/src/command-specs/tools.js +118 -21
- package/src/command-specs/version-history.js +20 -0
- package/src/command-specs/views.js +69 -0
- package/src/runtime/agent-browser.js +178 -267
- package/src/runtime/agent-setup.js +172 -13
- package/src/runtime/app-boundary-validator.js +338 -2
- package/src/runtime/app-data-literals.js +82 -0
- package/src/runtime/app-platform.js +750 -1570
- package/src/runtime/auth-recovery.js +17 -0
- package/src/runtime/base-skills.d.ts +11 -0
- package/src/runtime/base-skills.js +100 -3
- package/src/runtime/computer-identity.d.ts +30 -0
- package/src/runtime/computer-identity.js +151 -0
- package/src/runtime/config-lock.js +135 -0
- package/src/runtime/confined-space-build.js +74 -0
- package/src/runtime/confined-space-verify.js +49 -0
- package/src/runtime/delegated-context.js +5 -21
- package/src/runtime/native-record-files.js +47 -0
- package/src/runtime/oauth.js +342 -31
- package/src/runtime/profiles.js +19 -112
- package/src/runtime/retired-sdk-files.js +24 -0
- package/src/runtime/retry.js +150 -0
- package/src/runtime/skill-sync/cloud-client.ts +33 -8
- package/src/runtime/skill-sync/index.ts +443 -106
- package/src/runtime/skill-sync/local-scanner.ts +248 -32
- package/src/runtime/skill-sync/native-identity.ts +102 -0
- package/src/runtime/skill-sync/native-plan.ts +70 -0
- package/src/runtime/skill-sync/symlink-manager.ts +66 -16
- package/src/runtime/skill-sync/sync-plan.ts +34 -2
- package/src/runtime/skill-sync/types.ts +54 -0
- package/src/runtime/skill-sync/write-cloud-skill.ts +4 -4
- package/src/runtime/skill-sync-service.js +109 -0
- package/src/runtime/source-root.js +32 -0
- package/src/runtime/space-collection-scaffold.js +107 -0
- package/src/runtime/space-database-structures.js +229 -0
- package/src/runtime/space-fixture-broker.js +68 -0
- package/src/runtime/space-lock.js +337 -0
- package/src/runtime/space-platform.js +133 -0
- package/src/runtime/space-source.js +290 -0
- package/src/runtime/space-test-server.js +354 -0
- package/src/runtime/space-verification.js +94 -0
- package/src/runtime/space-verify-browser-worker.js +51 -0
- package/src/runtime/space-view-manifest.js +368 -0
- package/src/runtime/sync-skills.d.ts +5 -1
- package/src/runtime/sync-skills.js +11 -2
- package/src/runtime/tool-confirmation.js +138 -0
- package/src/runtime/transport.js +118 -24
- package/src/runtime/upsell.js +219 -0
- package/src/runtime/view-render.js +49 -0
- package/src/skill-sync-worker-entry.js +2 -0
- package/src/skill-sync-worker.js +114 -0
- package/src/space-harness-host.ts +122 -0
- package/template/.harness/index.html.tmpl +9 -352
- package/template/app/globals.css +29 -3
- package/template/app/layout.tsx +2 -6
- package/template/components/ui/badge.tsx +7 -4
- package/template/components/ui/button.tsx +1 -1
- package/template/components/ui/native-select.tsx +24 -0
- package/template/notis.config.ts +4 -36
- package/template/package-lock.json +1800 -1867
- package/template/package.json +16 -14
- package/template/postcss.config.mjs +1 -1
- package/template/tailwind.config.ts +1 -6
- package/template/tsconfig.json +1 -0
- package/template/vite.config.ts +2 -2
- package/dist/base-skills/notis-apps/SKILL.md +0 -613
- package/skills/notis-apps/cli.md +0 -285
- package/src/command-specs/apps.js +0 -3011
- package/src/runtime/app-changelog.js +0 -79
- package/src/runtime/app-dev-consumers.js +0 -154
- package/src/runtime/app-dev-host-lock.js +0 -80
- package/src/runtime/app-dev-process-identity.js +0 -111
- package/src/runtime/app-dev-roots.js +0 -284
- package/src/runtime/app-dev-server.js +0 -1140
- package/src/runtime/app-dev-sessions.js +0 -185
- package/src/runtime/app-registry-scaffolds.js +0 -367
- package/src/runtime/assets/store-screenshot-dark.png +0 -0
- package/src/runtime/cli-mode.generated.js +0 -5
- package/src/runtime/cli-mode.js +0 -34
- package/src/runtime/store-screenshot.js +0 -143
- package/template/CHANGELOG.md +0 -5
- package/template/app/page.tsx +0 -60
- package/template/components/ui/card.tsx +0 -56
- package/template/packages/sdk/src/components/DocumentEditor.tsx +0 -103
- package/template/packages/sdk/src/config.ts +0 -259
- package/template/packages/sdk/src/hooks/useCloudComputer.ts +0 -97
- package/template/packages/sdk/src/hooks/useDatabaseSchema.ts +0 -85
- package/template/packages/sdk/src/hooks/useDocument.ts +0 -78
- package/template/packages/sdk/src/hooks/useNotisNavigation.ts +0 -52
- package/template/packages/sdk/src/hooks/useTopBarSearch.ts +0 -73
- package/template/packages/sdk/src/runtime.ts +0 -439
- package/template/packages/sdk/src/vite.ts +0 -56
- package/template/packages/sdk/tsconfig.json +0 -15
- /package/{template/packages → dist}/sdk/src/components/MultiSelectDragOverlay.tsx +0 -0
- /package/{template/packages → dist}/sdk/src/components/ShortcutHints.tsx +0 -0
- /package/{template/packages → dist}/sdk/src/hooks/useActiveResource.ts +0 -0
- /package/{template/packages → dist}/sdk/src/hooks/useTool.ts +0 -0
- /package/{template/packages → dist}/sdk/src/hooks/useTools.ts +0 -0
- /package/{template/packages → dist}/sdk/src/ui.ts +0 -0
package/README.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# @notis_ai/cli
|
|
2
2
|
|
|
3
|
-
Agent-first Notis CLI for
|
|
3
|
+
Agent-first Notis CLI for Spaces, Skills and generic tool execution.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
+
Requires Node.js 22.12.0 or newer (Node 24 LTS recommended). Update Node.js before installing or running the CLI; the CLI never upgrades your host runtime.
|
|
8
|
+
|
|
7
9
|
Use the Notis CLI through NPX; do not rely on an installed `notis` command. Run `notis login` once to authorize a scoped, revocable OAuth credential in the browser — that is how the CLI signs in everywhere, including on a machine that also runs Notis Desktop.
|
|
8
10
|
|
|
9
11
|
After local login, the CLI idempotently adds static Notis guidance to detected Codex and Claude Code user instruction files without changing their hooks. Run `notis agents install` when you explicitly want memory hooks that load the user's profile at session start, recall only new relevant memories before prompts, and save completed turns as automatic cross-session context. Codex then asks you to review and trust those hooks once in `/hooks`.
|
|
@@ -16,7 +18,7 @@ For CI, hosted agents, or internal scripts, pass a non-persisted token with `NOT
|
|
|
16
18
|
npx --package @notis_ai/cli@latest -- notis --help
|
|
17
19
|
npx --package @notis_ai/cli@latest -- notis login
|
|
18
20
|
npx --package @notis_ai/cli@latest -- notis doctor
|
|
19
|
-
npx --package @notis_ai/cli@latest -- notis
|
|
21
|
+
npx --package @notis_ai/cli@latest -- notis spaces list
|
|
20
22
|
npx --package @notis_ai/cli@latest -- notis tools search "list Notis databases"
|
|
21
23
|
```
|
|
22
24
|
|
|
@@ -59,8 +61,9 @@ The CLI defaults to `json` output in agent or non-TTY contexts and `table` outpu
|
|
|
59
61
|
- `--non-interactive` — Disable prompts
|
|
60
62
|
- `--profile <name>` — Run as a stored profile instead of the active one
|
|
61
63
|
- `--api-base <url>` — Override the API base for one invocation
|
|
62
|
-
- `--timeout-ms <n>` —
|
|
64
|
+
- `--timeout-ms <n>` — Time limit in milliseconds for each call, automatic retries included
|
|
63
65
|
- `--idempotency-key <key>` — Override the generated idempotency key for mutating commands
|
|
66
|
+
- `--no-retry` (or `NOTIS_NO_RETRY=1`): turn off automatic retries. By default the CLI retries an interrupted tool call (network error, timeout, 502, 503 or 504) when repeating it is safe: a read, or a write with an idempotency key. It makes up to 3 attempts within `--timeout-ms` and reports the count in `meta.attempts`, or `error.details.attempts` on a failure.
|
|
64
67
|
|
|
65
68
|
## Authentication
|
|
66
69
|
|
|
@@ -76,7 +79,7 @@ Options:
|
|
|
76
79
|
- `--mode <mode>` — auto (default) hands the browser callback to a background listener when this command cannot wait; browser waits in-process; code shows a one-time code to copy.
|
|
77
80
|
- `--paste-code` — Alias for --mode code.
|
|
78
81
|
- `--timeout-seconds <n>` — Authorization lifetime in seconds (default 300 while waiting in a terminal; 1800 for detached or code hand-offs).
|
|
79
|
-
- `--scope <scope>` — OAuth permission to request (repeatable).
|
|
82
|
+
- `--scope <scope>` — OAuth permission to request (repeatable). Default: every permission Notis offers the CLI.
|
|
80
83
|
- `--code <code>` — Redeem the code shown in the browser after a non-interactive login.
|
|
81
84
|
|
|
82
85
|
Examples:
|
|
@@ -90,9 +93,9 @@ Examples:
|
|
|
90
93
|
|
|
91
94
|
### `npx --package @notis_ai/cli@latest -- notis logout`
|
|
92
95
|
|
|
93
|
-
|
|
96
|
+
Sign this computer out of one CLI profile: revoke and remove its OAuth credential.
|
|
94
97
|
|
|
95
|
-
When to use: Use this to disconnect a single account.
|
|
98
|
+
When to use: Use this to disconnect a single account on this computer. Its sign-ins on other computers stay, and other profiles keep their credentials unless you pass --all-profiles.
|
|
96
99
|
|
|
97
100
|
Options:
|
|
98
101
|
- `--all-profiles` — Clear OAuth credentials and pending authorizations from every CLI profile.
|
|
@@ -109,22 +112,117 @@ Examples:
|
|
|
109
112
|
|
|
110
113
|
Install Notis instructions and recall/capture hooks for local Codex and Claude Code.
|
|
111
114
|
|
|
112
|
-
When to use: Run after login to give local coding agents durable Notis CLI guidance, session-start profile context, deduplicated relevant recall, and automatic completed-turn capture. Hosted Notis sandboxes
|
|
115
|
+
When to use: Run after login to give local coding agents durable Notis CLI guidance, session-start profile context, deduplicated relevant recall, and automatic completed-turn capture. Hosted Notis sandboxes are skipped unless --recall-only is given: that mode installs only recall hooks into the hosted agent's own config folder, signed in with the session's injected credential.
|
|
113
116
|
|
|
114
117
|
Options:
|
|
115
118
|
- `--codex-only` — Configure only Codex.
|
|
116
119
|
- `--claude-only` — Configure only Claude Code.
|
|
117
120
|
- `--no-memory-hooks` — Install static instructions and remove Notis recall/capture hooks.
|
|
121
|
+
- `--recall-only` — Hosted coding agents: install only recall hooks (no capture, no instructions) into CODEX_HOME or CLAUDE_CONFIG_DIR, signed in with the injected NOTIS_JWT.
|
|
122
|
+
- `--env-file <path>` — With --recall-only: a shell file each hook sources first to pick up the current injected sign-in.
|
|
118
123
|
|
|
119
124
|
Examples:
|
|
120
125
|
- `npx --package @notis_ai/cli@latest -- notis agents install`
|
|
121
126
|
- `npx --package @notis_ai/cli@latest -- notis agents install --codex-only`
|
|
122
127
|
- `npx --package @notis_ai/cli@latest -- notis agents install --claude-only`
|
|
123
128
|
- `npx --package @notis_ai/cli@latest -- notis agents install --no-memory-hooks`
|
|
129
|
+
- `npx --package @notis_ai/cli@latest -- notis agents install --recall-only --codex-only`
|
|
124
130
|
|
|
125
131
|
|
|
126
132
|
## Skills
|
|
127
133
|
|
|
134
|
+
### `npx --package @notis_ai/cli@latest -- notis skills list`
|
|
135
|
+
|
|
136
|
+
List every Skill you can see, with its kind, editability and Space links.
|
|
137
|
+
|
|
138
|
+
When to use: Find a Skill and its exact edit target before reading or editing it, or see what a Space and its sub-Spaces list. Links to Spaces you cannot open are omitted; an unavailable link gives no access.
|
|
139
|
+
|
|
140
|
+
Options:
|
|
141
|
+
- `--space <id>` — Only Skills listed by this Space and, by default, its sub-Spaces.
|
|
142
|
+
- `--no-child-spaces` — With --space: direct links of that Space only.
|
|
143
|
+
- `--include-disabled` — Include Skills you disabled.
|
|
144
|
+
- `--after <cursor>` — Continue from the next cursor of the previous page.
|
|
145
|
+
- `--limit <n>` — Page size between 1 and 100 (default 50).
|
|
146
|
+
|
|
147
|
+
Examples:
|
|
148
|
+
- `npx --package @notis_ai/cli@latest -- notis skills list`
|
|
149
|
+
- `npx --package @notis_ai/cli@latest -- notis skills list --space <space-id> --no-child-spaces --json`
|
|
150
|
+
|
|
151
|
+
### `npx --package @notis_ai/cli@latest -- notis skills create <file>`
|
|
152
|
+
|
|
153
|
+
Create a native Skill, standalone or linked to an editable Space.
|
|
154
|
+
|
|
155
|
+
When to use: Create complete instructions or files without provider installation. Choose an optional Space destination, dry-run, and keep the exact request key on retry.
|
|
156
|
+
|
|
157
|
+
Options:
|
|
158
|
+
- `--request-id <key>` — Stable creation intent key; reuse after an uncertain reply.
|
|
159
|
+
- `--dry-run` — Validate without creating an identity or uploading files.
|
|
160
|
+
|
|
161
|
+
Examples:
|
|
162
|
+
- `npx --package @notis_ai/cli@latest -- notis skills create ./skill.json --request-id create-1 --dry-run`
|
|
163
|
+
|
|
164
|
+
### `npx --package @notis_ai/cli@latest -- notis skills settings read <skill-id>`
|
|
165
|
+
|
|
166
|
+
Read a native Skill personal enablement, agent targets and settings revision.
|
|
167
|
+
|
|
168
|
+
When to use: Inspect direct-owner preferences without changing shared instructions or Space access.
|
|
169
|
+
|
|
170
|
+
Examples:
|
|
171
|
+
|
|
172
|
+
### `npx --package @notis_ai/cli@latest -- notis skills settings update <file>`
|
|
173
|
+
|
|
174
|
+
Update personal native Skill settings with a current revision and stable retry key.
|
|
175
|
+
|
|
176
|
+
When to use: Enable or disable your agents without changing a shared Skill definition or another Space.
|
|
177
|
+
|
|
178
|
+
Options:
|
|
179
|
+
- `--request-id <key>` — Stable settings intent; reuse after a lost reply.
|
|
180
|
+
- `--dry-run` — Validate current ownership and revision without changing settings.
|
|
181
|
+
|
|
182
|
+
Examples:
|
|
183
|
+
|
|
184
|
+
### `npx --package @notis_ai/cli@latest -- notis skills read [skill-id]`
|
|
185
|
+
|
|
186
|
+
Inspect a native Skill through direct ownership or an editable Space link.
|
|
187
|
+
|
|
188
|
+
When to use: Read the exact target and content version before editing. A Space target uses its current Editor authority, never a personal fallback.
|
|
189
|
+
|
|
190
|
+
Options:
|
|
191
|
+
- `--files` — Include every verified supporting file as base64.
|
|
192
|
+
- `--target <json>` — Exact {skill_id} or {space_id,binding_id} read target; do not combine with a Skill ID.
|
|
193
|
+
|
|
194
|
+
Examples:
|
|
195
|
+
- `npx --package @notis_ai/cli@latest -- notis skills read <skill-id> --files`
|
|
196
|
+
- `npx --package @notis_ai/cli@latest -- notis skills read --target '{"space_id":"<id>","binding_id":"<binding>"}' --files`
|
|
197
|
+
|
|
198
|
+
### `npx --package @notis_ai/cli@latest -- notis skills update <file>`
|
|
199
|
+
|
|
200
|
+
Edit a native Skill through its direct or Space target, preserving its ID and supporting files.
|
|
201
|
+
|
|
202
|
+
When to use: Use the target/version from skills list or skills read, dry-run, then reuse the same request key and bytes to save or recover a lost reply. The same edit file works for a standalone or a Space target; an optional links key changes where the Skill is listed in the same transaction.
|
|
203
|
+
|
|
204
|
+
Options:
|
|
205
|
+
- `--request-id <key>` — Stable edit intent key; reuse after lost replies.
|
|
206
|
+
- `--dry-run` — Check current access, content and revisions without uploading or saving.
|
|
207
|
+
|
|
208
|
+
Examples:
|
|
209
|
+
- `npx --package @notis_ai/cli@latest -- notis skills update ./skill-edit.json --request-id edit-1 --dry-run`
|
|
210
|
+
|
|
211
|
+
### `npx --package @notis_ai/cli@latest -- notis skills links <skill-id>`
|
|
212
|
+
|
|
213
|
+
Add, remove or move a Skill between Spaces; the Skill keeps its ID.
|
|
214
|
+
|
|
215
|
+
When to use: Change where a Skill is listed without editing its content. A move is one add plus one remove in one transaction. You must be an Editor of every Space you touch and able to edit the Skill; removing its last available link keeps it as your own standalone Skill.
|
|
216
|
+
|
|
217
|
+
Options:
|
|
218
|
+
- `--add <json>` — JSON array of {space_id, space_revision, alias?} links to add; alias defaults to the Skill name.
|
|
219
|
+
- `--remove <json>` — JSON array of {binding_id, binding_revision} links to remove, from skills list.
|
|
220
|
+
- `--request-id <key>` — Stable intent key; reuse it unchanged when retrying this change.
|
|
221
|
+
|
|
222
|
+
Examples:
|
|
223
|
+
- `npx --package @notis_ai/cli@latest -- notis skills links <skill-id> --add '[{"space_id":"<space-id>","space_revision":3}]' --request-id link-1`
|
|
224
|
+
- `npx --package @notis_ai/cli@latest -- notis skills links <skill-id> --add '[{"space_id":"<to-space-id>","space_revision":3}]' --remove '[{"binding_id":"<binding-id>","binding_revision":2}]' --request-id move-1`
|
|
225
|
+
|
|
128
226
|
### `npx --package @notis_ai/cli@latest -- notis skills sync`
|
|
129
227
|
|
|
130
228
|
Synchronize account skills and keep the three Notis base skills current.
|
|
@@ -139,263 +237,560 @@ Examples:
|
|
|
139
237
|
- `npx --package @notis_ai/cli@latest -- notis skills sync --json`
|
|
140
238
|
|
|
141
239
|
|
|
142
|
-
##
|
|
240
|
+
## Spaces
|
|
241
|
+
|
|
242
|
+
Build, verify and publish Space views, their linked Skills and resources. The product `notis-spaces` skill owns the workflow and the consequences of links, moves and the bin.
|
|
243
|
+
|
|
244
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces history list <space-id>`
|
|
245
|
+
|
|
246
|
+
Read a Space’s saved view versions, newest first.
|
|
247
|
+
|
|
248
|
+
When to use: Inspect when and by whom a view changed, before restoring or undoing a change.
|
|
249
|
+
|
|
250
|
+
Options:
|
|
251
|
+
- `--before <revision>` — Read versions before this cursor.
|
|
252
|
+
|
|
253
|
+
Examples:
|
|
254
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces history list <space-id>`
|
|
255
|
+
|
|
256
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces history restore <space-id>`
|
|
257
|
+
|
|
258
|
+
Republish a saved view and its settings as a new version; records stay unchanged.
|
|
259
|
+
|
|
260
|
+
When to use: Restore a chosen version, or undo your last change using the version immediately before it.
|
|
261
|
+
|
|
262
|
+
Options:
|
|
263
|
+
- `--target-revision <revision>` — The saved version to restore.
|
|
264
|
+
- `--revision <revision>` — Current Space metadata revision from history list.
|
|
265
|
+
- `--request-id <id>` — Stable restore request ID; reuse on retry.
|
|
266
|
+
- `--dry-run` — Check current access, bindings and saved source without publishing.
|
|
267
|
+
|
|
268
|
+
Examples:
|
|
269
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces history restore <space-id> --target-revision 2 --revision 5 --request-id undo-last-change --dry-run`
|
|
270
|
+
|
|
271
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces history read <space-id>`
|
|
272
|
+
|
|
273
|
+
Read the files of one saved Space version.
|
|
274
|
+
|
|
275
|
+
When to use: See exactly what a saved version contained, before comparing or restoring it. Editors only.
|
|
276
|
+
|
|
277
|
+
Options:
|
|
278
|
+
- `--revision <revision>` — The saved version from history list.
|
|
279
|
+
- `--path <path>` — Read only this file or folder.
|
|
280
|
+
|
|
281
|
+
Examples:
|
|
282
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces history read <space-id> --revision 3 --path app/page.tsx`
|
|
283
|
+
|
|
284
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces history diff <space-id>`
|
|
285
|
+
|
|
286
|
+
Compare two saved Space versions, or one with the current version.
|
|
287
|
+
|
|
288
|
+
When to use: See what changed between versions. Prints the unified diff; pass --json for the full comparison.
|
|
289
|
+
|
|
290
|
+
Options:
|
|
291
|
+
- `--from <revision>` — The older saved version.
|
|
292
|
+
- `--to <revision>` — The newer saved version, or current (default).
|
|
293
|
+
- `--path <path>` — Compare only this file or folder.
|
|
294
|
+
|
|
295
|
+
Examples:
|
|
296
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces history diff <space-id> --from 3`
|
|
297
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces history diff <space-id> --from 3 --to 5 --json`
|
|
298
|
+
|
|
299
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces history name <space-id>`
|
|
300
|
+
|
|
301
|
+
Name a saved Space version, or clear its name.
|
|
302
|
+
|
|
303
|
+
When to use: Mark a version worth keeping, such as a launch. Named versions are kept past the usual retention.
|
|
304
|
+
|
|
305
|
+
Options:
|
|
306
|
+
- `--revision <revision>` — The saved version from history list.
|
|
307
|
+
- `--name <name>` — The version name.
|
|
308
|
+
- `--clear` — Remove the version name.
|
|
309
|
+
|
|
310
|
+
Examples:
|
|
311
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces history name <space-id> --revision 3 --name "Launch"`
|
|
312
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces history name <space-id> --revision 3 --clear`
|
|
313
|
+
|
|
314
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces history delete <space-id>`
|
|
315
|
+
|
|
316
|
+
Delete one saved Space version for good.
|
|
317
|
+
|
|
318
|
+
When to use: Only when the user asked to delete this version. It cannot be restored afterwards.
|
|
319
|
+
|
|
320
|
+
Options:
|
|
321
|
+
- `--revision <revision>` — The saved version from history list.
|
|
322
|
+
- `--yes` — Confirm the user asked to delete this version for good.
|
|
323
|
+
|
|
324
|
+
Examples:
|
|
325
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces history delete <space-id> --revision 3 --yes`
|
|
326
|
+
|
|
327
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces screenshot <url>`
|
|
328
|
+
|
|
329
|
+
Capture a full-height PNG of a live view with your current access.
|
|
330
|
+
|
|
331
|
+
When to use: Check the actual deployed view; writes are blocked and current access is checked again before any output is saved.
|
|
332
|
+
|
|
333
|
+
Options:
|
|
334
|
+
- `--width <pixels>` — 1440 (default) or 390.
|
|
335
|
+
- `--output-dir <path>` — New output directory; defaults to a unique .notis/renders directory. Existing files are never overwritten.
|
|
336
|
+
|
|
337
|
+
Examples:
|
|
338
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces screenshot <view-link> --width 390`
|
|
339
|
+
|
|
340
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces init <name> [dir]`
|
|
341
|
+
|
|
342
|
+
Scaffold an editable collection view with first-party record components.
|
|
343
|
+
|
|
344
|
+
When to use: Start a local Space collection source for an existing linked database. Does not create or deploy remote resources.
|
|
345
|
+
|
|
346
|
+
Options:
|
|
347
|
+
- `--database-key <key>` — Portable key of the database this Space links.
|
|
348
|
+
- `--path <path>` — Descriptive view path; defaults to records.
|
|
349
|
+
- `--title-property <id>` — Canonical title/number property ID, or the title column (default).
|
|
350
|
+
|
|
351
|
+
Examples:
|
|
352
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces init Notes ./notes --database-key notes --path notes`
|
|
353
|
+
|
|
354
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces navigation bind <space-id>`
|
|
143
355
|
|
|
144
|
-
|
|
356
|
+
Bind a named destination for the next source publication without granting target access.
|
|
145
357
|
|
|
146
|
-
|
|
358
|
+
When to use: Connect a portable navigation alias to an existing Space or exact record before building and publishing.
|
|
147
359
|
|
|
148
|
-
|
|
360
|
+
Options:
|
|
361
|
+
- `--alias <name>` — Declared portable navigation alias.
|
|
362
|
+
- `--target <json>` — Exact {space_id,document_id?}, or null to remove the draft binding.
|
|
363
|
+
- `--revision <number>` — Current source Space metadata revision.
|
|
364
|
+
- `--dry-run` — Check current source/target access and revision without changing anything.
|
|
149
365
|
|
|
150
366
|
Examples:
|
|
151
|
-
- `npx --package @notis_ai/cli@latest -- notis
|
|
152
|
-
- `npx --package @notis_ai/cli@latest -- notis apps list --json`
|
|
367
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces navigation bind <space-id> --alias history --target '{"space_id":"<history-id>"}' --revision 2 --dry-run`
|
|
153
368
|
|
|
154
|
-
### `npx --package @notis_ai/cli@latest -- notis
|
|
369
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces resources name <space-id> <binding-id>`
|
|
155
370
|
|
|
156
|
-
|
|
371
|
+
Give an included resource a portable alias before the first source revision.
|
|
157
372
|
|
|
158
|
-
When to use:
|
|
373
|
+
When to use: Prepare staged resources for source authoring without replacing their IDs, scope or owners.
|
|
159
374
|
|
|
160
375
|
Options:
|
|
161
|
-
- `--
|
|
376
|
+
- `--alias <name>` — Stable lowercase alias to use in source.
|
|
377
|
+
- `--revision <number>` — Current Space metadata revision.
|
|
378
|
+
- `--dry-run` — Check naming, current access and revision without changing metadata.
|
|
379
|
+
|
|
380
|
+
Examples:
|
|
381
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces resources name <space-id> <binding-id> --alias weekly-report --revision 0 --dry-run`
|
|
382
|
+
|
|
383
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces links list <space-id>`
|
|
384
|
+
|
|
385
|
+
List the databases, Skills, automations and records linked into one Space.
|
|
386
|
+
|
|
387
|
+
When to use: Find a link binding and its revision before removing it, including a link left behind by a deleted Skill.
|
|
162
388
|
|
|
163
389
|
Examples:
|
|
164
|
-
- `npx --package @notis_ai/cli@latest -- notis
|
|
165
|
-
- `npx --package @notis_ai/cli@latest -- notis apps init "Mind the Flo"`
|
|
166
|
-
- `npx --package @notis_ai/cli@latest -- notis apps init "My CRM" --from databases`
|
|
167
|
-
- `npx --package @notis_ai/cli@latest -- notis apps init "My App" ~/code/my-app`
|
|
390
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces links list <space-id>`
|
|
168
391
|
|
|
169
|
-
### `npx --package @notis_ai/cli@latest -- notis
|
|
392
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces links remove <space-id> <binding-id>`
|
|
170
393
|
|
|
171
|
-
|
|
394
|
+
Remove one database, Skill or automation link from a Space by its binding.
|
|
172
395
|
|
|
173
|
-
When to use:
|
|
396
|
+
When to use: Unlist a resource from a Space you edit, including a link whose Skill was deleted. The resource keeps its ID; removing the last available link of a live resource keeps it as its owner's standalone resource.
|
|
174
397
|
|
|
175
398
|
Options:
|
|
176
|
-
- `--
|
|
399
|
+
- `--revision <number>` — Current binding revision from spaces links list.
|
|
400
|
+
- `--request-id <key>` — Stable intent key; reuse it unchanged when retrying this removal.
|
|
177
401
|
|
|
178
402
|
Examples:
|
|
179
|
-
- `npx --package @notis_ai/cli@latest -- notis
|
|
180
|
-
- `npx --package @notis_ai/cli@latest -- notis apps scaffolds list --search journal`
|
|
181
|
-
- `npx --package @notis_ai/cli@latest -- notis apps init "My App" --from databases`
|
|
403
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces links remove <space-id> <binding-id> --revision 1 --request-id remove-link-1`
|
|
182
404
|
|
|
183
|
-
### `npx --package @notis_ai/cli@latest -- notis
|
|
405
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces aliases list`
|
|
184
406
|
|
|
185
|
-
|
|
407
|
+
List the old App page links you manage and the Space each one opens.
|
|
186
408
|
|
|
187
|
-
When to use:
|
|
409
|
+
When to use: Find an old App page link that opens a binned Space (trashed: true) before repointing it.
|
|
410
|
+
|
|
411
|
+
Options:
|
|
412
|
+
- `--legacy-id <id>` — Old App ID the links belong to.
|
|
413
|
+
- `--kind <kind>` — app (default), report or html.
|
|
188
414
|
|
|
189
415
|
Examples:
|
|
190
|
-
- `npx --package @notis_ai/cli@latest -- notis
|
|
191
|
-
- `npx --package @notis_ai/cli@latest -- notis apps create "My App" .`
|
|
416
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces aliases list --legacy-id <app-id>`
|
|
192
417
|
|
|
193
|
-
### `npx --package @notis_ai/cli@latest -- notis
|
|
418
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces aliases repoint`
|
|
194
419
|
|
|
195
|
-
|
|
420
|
+
Point one old App page link at a live Space you edit.
|
|
196
421
|
|
|
197
|
-
When to use:
|
|
422
|
+
When to use: Repair an old App page link whose Space was binned. You must own the old App or edit the Space the link opens now, and edit the new Space; everyone who opens the link still needs their own access to it.
|
|
198
423
|
|
|
199
424
|
Options:
|
|
200
|
-
- `--
|
|
201
|
-
- `--
|
|
202
|
-
- `--
|
|
203
|
-
- `--
|
|
425
|
+
- `--legacy-id <id>` — Old App ID the link belongs to.
|
|
426
|
+
- `--route <slug>` — Old App page route from spaces aliases list.
|
|
427
|
+
- `--space <space-id>` — Live Space the old link should open.
|
|
428
|
+
- `--expected-space <space-id>` — Space the link opens now; the change is refused if it moved since you listed it.
|
|
429
|
+
- `--selection-param <name>` — Declared view parameter that receives the old page selection, if any.
|
|
430
|
+
- `--request-id <key>` — Stable intent key; reuse it unchanged when retrying this change.
|
|
431
|
+
- `--dry-run` — Check authority and the new Space without changing the link.
|
|
204
432
|
|
|
205
433
|
Examples:
|
|
206
|
-
- `npx --package @notis_ai/cli@latest -- notis
|
|
207
|
-
- `npx --package @notis_ai/cli@latest -- notis apps dev ./my-app`
|
|
208
|
-
- `npx --package @notis_ai/cli@latest -- notis apps dev ./workspace --port 5200`
|
|
209
|
-
- `npx --package @notis_ai/cli@latest -- notis apps dev --scratch # isolated resources for fixture or schema experiments`
|
|
434
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces aliases repoint --legacy-id <app-id> --route pages --space <space-id> --expected-space <binned-space-id> --request-id repoint-pages --dry-run`
|
|
210
435
|
|
|
211
|
-
### `npx --package @notis_ai/cli@latest -- notis
|
|
436
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces pull <space-id> [dir]`
|
|
212
437
|
|
|
213
|
-
|
|
438
|
+
Pull one editable Space source snapshot, its resource list and its Skill folders into an empty directory.
|
|
214
439
|
|
|
215
|
-
When to use:
|
|
440
|
+
When to use: Edit a Space you can administer: the source, its links (resources.json) and every editable linked Skill (skills/<alias>/) arrive together, with a local lock file so a later deploy sends only what you changed.
|
|
441
|
+
|
|
442
|
+
Options:
|
|
443
|
+
- `--revision <number>` — Exact published source revision; defaults to the current one.
|
|
216
444
|
|
|
217
445
|
Examples:
|
|
218
|
-
- `npx --package @notis_ai/cli@latest -- notis
|
|
446
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces pull <space-id> ./space-source`
|
|
219
447
|
|
|
220
|
-
### `npx --package @notis_ai/cli@latest -- notis
|
|
448
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces verify [dir]`
|
|
221
449
|
|
|
222
|
-
|
|
450
|
+
Render one frozen Space with offline fixtures and validate its current action authorizations.
|
|
223
451
|
|
|
224
|
-
When to use:
|
|
452
|
+
When to use: Check immutable build bytes and authoring compatibility without executing actions or publishing.
|
|
453
|
+
|
|
454
|
+
Options:
|
|
455
|
+
- `--space <key>` — Exact source key from the workspace index.
|
|
456
|
+
- `--space-id <id>` — Exact existing destination Space.
|
|
457
|
+
- `--reuse-grants <json>` — Explicit action-key to saved-grant-ID map. Otherwise your own connections are used.
|
|
458
|
+
- `--reuse-grants-only` — Never authorize new actions. Reuse only the supplied saved grants; other declarations remain unavailable. Requires existing bound databases.
|
|
225
459
|
|
|
226
460
|
Examples:
|
|
227
|
-
- `npx --package @notis_ai/cli@latest -- notis
|
|
461
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces verify . --space overview --space-id <space-id>`
|
|
228
462
|
|
|
229
|
-
### `npx --package @notis_ai/cli@latest -- notis
|
|
463
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces preview [dir]`
|
|
230
464
|
|
|
231
|
-
|
|
465
|
+
Seal a checked unpublished revision of the same Space and return its authenticated preview link.
|
|
232
466
|
|
|
233
|
-
When to use:
|
|
467
|
+
When to use: Review a checked candidate using current Editor access without changing live source or cloning the Space.
|
|
468
|
+
|
|
469
|
+
Options:
|
|
470
|
+
- `--space <key>` — Exact source key from the workspace index.
|
|
471
|
+
- `--space-id <id>` — Exact existing destination Space.
|
|
472
|
+
- `--reuse-grants <json>` — Explicit action-key to saved-grant-ID map. Otherwise your own connections are used.
|
|
473
|
+
- `--reuse-grants-only` — Never authorize new actions. Reuse only the supplied saved grants; other declarations remain unavailable. Requires existing bound databases.
|
|
474
|
+
- `--request-id <key>` — Stable intent key. Reuse after timeouts or lost replies.
|
|
475
|
+
- `--dry-run` — Validate without uploading or publishing.
|
|
234
476
|
|
|
235
477
|
Examples:
|
|
236
|
-
- `npx --package @notis_ai/cli@latest -- notis
|
|
237
|
-
- `npx --package @notis_ai/cli@latest -- notis apps build ./my-app`
|
|
478
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces preview . --space overview --space-id <space-id> --request-id release-1`
|
|
238
479
|
|
|
239
|
-
### `npx --package @notis_ai/cli@latest -- notis
|
|
480
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces deploy [dir]`
|
|
240
481
|
|
|
241
|
-
|
|
482
|
+
Publish one built Space with a retry-safe, independent source revision.
|
|
242
483
|
|
|
243
|
-
When to use:
|
|
484
|
+
When to use: Update only the selected existing Space; this does not publish to the Store or change siblings.
|
|
244
485
|
|
|
245
486
|
Options:
|
|
246
|
-
- `--
|
|
247
|
-
- `--
|
|
248
|
-
- `--
|
|
249
|
-
- `--
|
|
250
|
-
- `--
|
|
251
|
-
- `--
|
|
252
|
-
- `--keep-open` — Leave server + browser session running after report (for manual triage).
|
|
487
|
+
- `--space <key>` — Exact source key from the workspace index.
|
|
488
|
+
- `--space-id <id>` — Exact existing destination Space.
|
|
489
|
+
- `--reuse-grants <json>` — Explicit action-key to saved-grant-ID map. Otherwise your own connections are used.
|
|
490
|
+
- `--reuse-grants-only` — Never authorize new actions. Reuse only the supplied saved grants; other declarations remain unavailable. Requires existing bound databases.
|
|
491
|
+
- `--request-id <key>` — Stable intent key. Reuse after timeouts or lost replies.
|
|
492
|
+
- `--dry-run` — Validate without uploading or publishing.
|
|
253
493
|
|
|
254
494
|
Examples:
|
|
255
|
-
- `npx --package @notis_ai/cli@latest -- notis
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
495
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces deploy . --space overview --space-id <space-id> --request-id release-1`
|
|
496
|
+
|
|
497
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces promote <release-id> [dir]`
|
|
498
|
+
|
|
499
|
+
Publish the exact sealed Space revision, with its pending Skill and link changes, after current permission and concurrency checks.
|
|
500
|
+
|
|
501
|
+
When to use: Finish a reviewed preview without rebuilding or substituting a different candidate. The Skill edits, new Skills and list changes the preview carried go live in the same transaction.
|
|
502
|
+
|
|
503
|
+
Examples:
|
|
504
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces promote <release-id>`
|
|
505
|
+
|
|
506
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces abandon <release-id>`
|
|
260
507
|
|
|
261
|
-
|
|
508
|
+
Close an unpublished Space preview without changing its live source, Skills or links, or deleting action history.
|
|
262
509
|
|
|
263
|
-
|
|
510
|
+
When to use: Stop using a candidate while preserving live source and completed effects.
|
|
264
511
|
|
|
265
|
-
|
|
512
|
+
Examples:
|
|
513
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces abandon <release-id>`
|
|
514
|
+
|
|
515
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces list`
|
|
516
|
+
|
|
517
|
+
List Spaces currently available to your account.
|
|
518
|
+
|
|
519
|
+
When to use: Discover accessible Spaces without exposing an issuer-wide resource catalogue.
|
|
520
|
+
|
|
521
|
+
Examples:
|
|
522
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces list`
|
|
523
|
+
|
|
524
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces get <space-id>`
|
|
525
|
+
|
|
526
|
+
Read one accessible Space and its scoped resources.
|
|
527
|
+
|
|
528
|
+
When to use: Inspect the current published revision and named capabilities before executing.
|
|
266
529
|
|
|
267
530
|
Options:
|
|
268
|
-
- `--
|
|
269
|
-
- `--port <n>` — Loopback port. Default: auto-pick.
|
|
270
|
-
- `--width <px>` — Viewport width. Default: 2000.
|
|
271
|
-
- `--height <px>` — Viewport height. Default: 1250 (16:10).
|
|
272
|
-
- `--output-dir <dir>` — Where to write screenshot-N.png. Default: metadata/.
|
|
273
|
-
- `--mode <mode>` — stub | live. Default stub. Live renders against real data via the CLI JWT (requires a linked app), so screenshots show actual content instead of empty states.
|
|
274
|
-
- `--raw` — Write the unframed harness capture instead of the default Store presentation.
|
|
275
|
-
- `--skip-build` — Skip notis apps build; reuse existing .notis/output/.
|
|
531
|
+
- `--record <record-key>` — Fixed record context, when this is a record-scoped Space.
|
|
276
532
|
|
|
277
533
|
Examples:
|
|
278
|
-
- `npx --package @notis_ai/cli@latest -- notis
|
|
279
|
-
- `npx --package @notis_ai/cli@latest -- notis apps screenshot --routes home,history`
|
|
280
|
-
- `npx --package @notis_ai/cli@latest -- notis apps screenshot --mode live # populated screenshots from real data`
|
|
281
|
-
- `npx --package @notis_ai/cli@latest -- notis apps screenshot --raw # diagnostic capture without Store framing`
|
|
534
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces get <space-id>`
|
|
282
535
|
|
|
283
|
-
### `npx --package @notis_ai/cli@latest -- notis
|
|
536
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces action <space-id> <action-id>`
|
|
284
537
|
|
|
285
|
-
|
|
538
|
+
Execute a declared action using its saved authorization.
|
|
286
539
|
|
|
287
|
-
When to use:
|
|
540
|
+
When to use: Use Space capabilities as the actual actor, with the saved issuer connection and payer.
|
|
541
|
+
|
|
542
|
+
Options:
|
|
543
|
+
- `--revision <number>` — Exact published source revision.
|
|
544
|
+
- `--preview-release <id>` — Exact sealed candidate ID; requires current Editor access.
|
|
545
|
+
- `--schema-revision <number>` — Native schema revision; required for native row writes.
|
|
546
|
+
- `--inputs <json>` — Declared action input values; defaults to {}.
|
|
547
|
+
- `--record <record-key>` — Fixed record context, when this is a record-scoped Space.
|
|
548
|
+
- `--request-id <key>` — Stable intent key. Reuse after timeouts or lost replies.
|
|
549
|
+
- `--dry-run` — Validate current access and action inputs without executing or billing.
|
|
288
550
|
|
|
289
551
|
Examples:
|
|
290
|
-
- `npx --package @notis_ai/cli@latest -- notis
|
|
291
|
-
- `npx --package @notis_ai/cli@latest -- notis apps link abc123 ./my-app`
|
|
552
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces action <space-id> refresh --revision 1 --inputs '{}' --request-id refresh-1 --dry-run`
|
|
292
553
|
|
|
293
|
-
### `npx --package @notis_ai/cli@latest -- notis
|
|
554
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces viewer-read <space-id> <operation>`
|
|
294
555
|
|
|
295
|
-
|
|
556
|
+
Run one declared viewer read as yourself.
|
|
296
557
|
|
|
297
|
-
When to use:
|
|
558
|
+
When to use: Check what an explorer Space shows you: the databases or Skills you can open, with your own access and never an issuer grant.
|
|
298
559
|
|
|
299
560
|
Options:
|
|
300
|
-
- `--
|
|
301
|
-
- `--
|
|
561
|
+
- `--revision <number>` — Exact published source revision.
|
|
562
|
+
- `--preview-release <id>` — Exact sealed candidate ID; requires current Editor access.
|
|
563
|
+
- `--input <json>` — Read input, e.g. {"database_id":"<id>"}; defaults to {}.
|
|
564
|
+
- `--record <record-key>` — Fixed record context, when this is a record-scoped Space.
|
|
302
565
|
|
|
303
566
|
Examples:
|
|
304
|
-
- `npx --package @notis_ai/cli@latest -- notis
|
|
305
|
-
- `npx --package @notis_ai/cli@latest -- notis
|
|
567
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces viewer-read <space-id> list_databases --revision 3`
|
|
568
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces viewer-read <space-id> query_database --revision 3 --input '{"database_id":"<id>","request":{"page_size":20}}'`
|
|
306
569
|
|
|
307
|
-
### `npx --package @notis_ai/cli@latest -- notis
|
|
570
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces grants list <space-id>`
|
|
308
571
|
|
|
309
|
-
|
|
572
|
+
Inspect authorization records for a Space you can edit.
|
|
310
573
|
|
|
311
|
-
When to use:
|
|
574
|
+
When to use: Inspect issuers and exact constraints without exposing connection secrets.
|
|
312
575
|
|
|
313
576
|
Options:
|
|
314
|
-
- `--
|
|
315
|
-
- `--skip-build` — Skip the build step (use existing .notis/output/).
|
|
316
|
-
- `--direct` — Explicitly upload to Supabase storage, bypassing the backend server.
|
|
577
|
+
- `--record <record-key>` — Fixed record context, when this is a record-scoped Space.
|
|
317
578
|
|
|
318
579
|
Examples:
|
|
319
|
-
- `npx --package @notis_ai/cli@latest -- notis
|
|
320
|
-
- `npx --package @notis_ai/cli@latest -- notis apps deploy --skip-build`
|
|
321
|
-
- `npx --package @notis_ai/cli@latest -- notis apps deploy --app-id abc123`
|
|
322
|
-
- `npx --package @notis_ai/cli@latest -- notis apps deploy --direct`
|
|
580
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces grants list <space-id>`
|
|
323
581
|
|
|
324
|
-
### `npx --package @notis_ai/cli@latest -- notis
|
|
582
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces grants create <space-id>`
|
|
325
583
|
|
|
326
|
-
|
|
584
|
+
Authorize an exact template using your current connection.
|
|
327
585
|
|
|
328
|
-
When to use:
|
|
586
|
+
When to use: Create a Space-bound authorization; the server resolves the signed-in issuer connection.
|
|
329
587
|
|
|
330
588
|
Options:
|
|
331
|
-
- `--
|
|
332
|
-
- `--
|
|
589
|
+
- `--template <file>` — Canonical action template JSON file.
|
|
590
|
+
- `--record <record-key>` — Fixed record context, when this is a record-scoped Space.
|
|
591
|
+
- `--request-id <key>` — Stable intent key. Reuse after timeouts or lost replies.
|
|
592
|
+
- `--dry-run` — Validate the template and Editor access without creating a grant.
|
|
333
593
|
|
|
334
594
|
Examples:
|
|
335
|
-
- `npx --package @notis_ai/cli@latest -- notis
|
|
336
|
-
|
|
595
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces grants create <space-id> --template action.json --request-id grant-1 --dry-run`
|
|
596
|
+
|
|
597
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces grants revoke <grant-id>`
|
|
337
598
|
|
|
338
|
-
|
|
599
|
+
Revoke one saved Space authorization.
|
|
339
600
|
|
|
340
|
-
|
|
601
|
+
When to use: Stop future dispatches for an authorization you issued or can administer.
|
|
341
602
|
|
|
342
|
-
|
|
603
|
+
Examples:
|
|
604
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces grants revoke <grant-id>`
|
|
605
|
+
|
|
606
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces store list`
|
|
607
|
+
|
|
608
|
+
List Space Store listings you can see.
|
|
609
|
+
|
|
610
|
+
When to use: Find Space templates published to your team or approved for everyone, and your own listings.
|
|
343
611
|
|
|
344
612
|
Options:
|
|
345
|
-
- `--
|
|
346
|
-
|
|
347
|
-
|
|
613
|
+
- `--channel <team|public>` — Only one channel.
|
|
614
|
+
|
|
615
|
+
Examples:
|
|
616
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces store list --channel team`
|
|
617
|
+
|
|
618
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces store get <listing-id>`
|
|
619
|
+
|
|
620
|
+
Read one Store listing with its versions and your installs.
|
|
621
|
+
|
|
622
|
+
When to use: Check what a listing contains, its review state and whether your copies have an update.
|
|
348
623
|
|
|
349
624
|
Examples:
|
|
350
|
-
- `npx --package @notis_ai/cli@latest -- notis
|
|
351
|
-
- `npx --package @notis_ai/cli@latest -- notis apps duplicate --app-id abc123 --name "Bookmarks" --copy-documents none`
|
|
625
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces store get <listing-id>`
|
|
352
626
|
|
|
353
|
-
### `npx --package @notis_ai/cli@latest -- notis
|
|
627
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces store installs`
|
|
354
628
|
|
|
355
|
-
|
|
629
|
+
List the Spaces you installed from the Store.
|
|
356
630
|
|
|
357
|
-
When to use:
|
|
631
|
+
When to use: See which installed copies have an update or conflicts to resolve.
|
|
358
632
|
|
|
359
633
|
Examples:
|
|
360
|
-
- `npx --package @notis_ai/cli@latest -- notis
|
|
361
|
-
|
|
634
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces store installs`
|
|
635
|
+
|
|
636
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces store publish <space-id>`
|
|
637
|
+
|
|
638
|
+
Publish a Space and its sub-Spaces as the next Store version.
|
|
639
|
+
|
|
640
|
+
When to use: Share a Space you own as an installable template: team listings publish at once, public ones wait for review. Notis runs the same safety scan and Owner check as the submission page and explains any refusal.
|
|
641
|
+
|
|
642
|
+
Options:
|
|
643
|
+
- `--channel <team|public>` — Where to publish.
|
|
644
|
+
- `--metadata <json>` — Listing name, tagline, description, category, icon, accent.
|
|
645
|
+
- `--starter <json>` — Starter row IDs per database ({"<database-id>":["<record-key>"]}).
|
|
646
|
+
- `--notes <text>` — Release notes for this version.
|
|
647
|
+
- `--request-id <key>` — Stable intent key. Reuse after timeouts or lost replies.
|
|
648
|
+
- `--dry-run` — Show the package counts and review diff without publishing.
|
|
362
649
|
|
|
650
|
+
Examples:
|
|
651
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces store publish <space-id> --channel team --request-id publish-1 --dry-run`
|
|
652
|
+
|
|
653
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces store install <listing-id>`
|
|
654
|
+
|
|
655
|
+
Install a Store listing as your own independent copy.
|
|
656
|
+
|
|
657
|
+
When to use: Add a published Space template to your account; your copy keeps your changes on later updates.
|
|
658
|
+
|
|
659
|
+
Options:
|
|
660
|
+
- `--name <name>` — Name of the installed top Space.
|
|
661
|
+
- `--parent <space-id>` — Install under one of your Spaces.
|
|
662
|
+
- `--request-id <key>` — Stable intent key. Reuse after timeouts or lost replies.
|
|
663
|
+
- `--dry-run` — Show what the copy contains without installing.
|
|
664
|
+
|
|
665
|
+
Examples:
|
|
666
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces store install <listing-id> --request-id install-1`
|
|
667
|
+
|
|
668
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces store update <install-id>`
|
|
669
|
+
|
|
670
|
+
Update an installed copy, keeping your changes, or resolve its conflicts.
|
|
671
|
+
|
|
672
|
+
When to use: Take a newer Store version: unchanged parts update, your edits stay, and parts both sides changed become conflicts you resolve.
|
|
673
|
+
|
|
674
|
+
Options:
|
|
675
|
+
- `--resolve <json>` — Per conflict key: "keep_mine" or "take_theirs".
|
|
676
|
+
- `--request-id <key>` — Stable intent key. Reuse after timeouts or lost replies.
|
|
677
|
+
- `--dry-run` — Show the three-way plan without changing anything.
|
|
678
|
+
|
|
679
|
+
Examples:
|
|
680
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces store update <install-id> --request-id update-1 --dry-run`
|
|
681
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces store update <install-id> --resolve '{"skill:<key>":"keep_mine"}' --request-id resolve-1`
|
|
682
|
+
|
|
683
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces store unpublish <listing-id>`
|
|
684
|
+
|
|
685
|
+
Stop new installs of a Store listing.
|
|
686
|
+
|
|
687
|
+
When to use: Withdraw a listing: existing copies keep working and a version waiting for review is withdrawn.
|
|
688
|
+
|
|
689
|
+
Options:
|
|
690
|
+
- `--request-id <key>` — Stable intent key. Reuse after timeouts or lost replies.
|
|
691
|
+
|
|
692
|
+
Examples:
|
|
693
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces store unpublish <listing-id> --request-id unpublish-1`
|
|
694
|
+
|
|
695
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces build [dir]`
|
|
696
|
+
|
|
697
|
+
Build one independent Space and save its frozen source/artifact snapshot.
|
|
698
|
+
|
|
699
|
+
When to use: Prepare a selected Space for verification without publishing it or changing siblings.
|
|
700
|
+
|
|
701
|
+
Options:
|
|
702
|
+
- `--space <key>` — Exact source key from the workspace Space index.
|
|
703
|
+
|
|
704
|
+
Examples:
|
|
705
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces build . --space overview`
|
|
706
|
+
|
|
707
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces inspect [dir]`
|
|
708
|
+
|
|
709
|
+
Inspect one local Space definition and its declared capabilities.
|
|
710
|
+
|
|
711
|
+
When to use: Read the selected source definition without loading sibling definitions or account resources.
|
|
712
|
+
|
|
713
|
+
Options:
|
|
714
|
+
- `--space <key>` — Exact source key from the workspace Space index.
|
|
715
|
+
|
|
716
|
+
Examples:
|
|
717
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces inspect . --space overview`
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
## Views
|
|
721
|
+
|
|
722
|
+
### `npx --package @notis_ai/cli@latest -- notis views find`
|
|
723
|
+
|
|
724
|
+
Find the views you can open for a record, database, view link, Space or search.
|
|
725
|
+
|
|
726
|
+
When to use: Get fresh view-qualified links and declared URL parameters before citing or opening a view.
|
|
727
|
+
|
|
728
|
+
Options:
|
|
729
|
+
- `--record-key <id>` — Find views that show this exact native record.
|
|
730
|
+
- `--database-id <id>` — Find views over this database.
|
|
731
|
+
- `--url <url>` — Resolve this view link and its current parameters.
|
|
732
|
+
- `--space-id <id>` — Describe this Space view.
|
|
733
|
+
- `--query <text>` — Search accessible view names, descriptions and readable context.
|
|
734
|
+
|
|
735
|
+
Examples:
|
|
736
|
+
- `npx --package @notis_ai/cli@latest -- notis views find --record-key <record-key>`
|
|
737
|
+
- `npx --package @notis_ai/cli@latest -- notis views find --url <view-link>`
|
|
738
|
+
- `npx --package @notis_ai/cli@latest -- notis views find --query inbox`
|
|
739
|
+
|
|
740
|
+
### `npx --package @notis_ai/cli@latest -- notis views render <url>`
|
|
741
|
+
|
|
742
|
+
Render a live view as Markdown and a full-height PNG with your current access.
|
|
743
|
+
|
|
744
|
+
When to use: Check the actual deployed view; writes are blocked and current access is checked again before any output is saved.
|
|
745
|
+
|
|
746
|
+
Options:
|
|
747
|
+
- `--outputs <kinds>` — Comma-separated markdown,screenshot (default both).
|
|
748
|
+
- `--width <pixels>` — 1440 (default) or 390.
|
|
749
|
+
- `--output-dir <path>` — New output directory; defaults to a unique .notis/renders directory. Existing files are never overwritten.
|
|
750
|
+
|
|
751
|
+
Examples:
|
|
752
|
+
- `npx --package @notis_ai/cli@latest -- notis views render <view-link> --outputs markdown,screenshot`
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
## Reports and saved HTML
|
|
756
|
+
|
|
757
|
+
Create independently authored interactive reports as Space views with the product `notis-spaces` guidance and its reports reference. Build and verify the selected source, deploy within the user's authorization, then render its current view link.
|
|
758
|
+
|
|
759
|
+
Save self-contained HTML pages and reports in Notis Notes with the Save HTML Skill that comes with it; pages and reports saved before Spaces open there too. Its generic file upload is attached to an existing note with a separate revision-checked write; a raw download URL is not a saved page link.
|
|
363
760
|
|
|
364
761
|
## Hand-over
|
|
365
762
|
|
|
366
|
-
Give the branch you are on to a Notis agent, which continues the work in a git worktree on the Notis cloud computer.
|
|
763
|
+
Give the branch you are on to a Notis agent, which continues the work in a git worktree on the Notis cloud computer. The caller chooses who runs it and how from the user's words and passes all three: `--route` (notis, codex or claude), `--intelligence` (low, medium or high) and `--speed` (normal, priority or flex, flex on Notis only). None has a default; `auto` leaves the agent or the intelligence to Notis, only when the user asks for that. `--branch-mode same` makes the agent commit onto your branch; the default cuts a new branch from it. The hand-over starts a Notis thread, shown in the Manager; follow it with `notis handover status <request-id>`. When a start cannot say whether the work began, check `notis handover status` before handing it over again.
|
|
367
764
|
|
|
368
765
|
### `npx --package @notis_ai/cli@latest -- notis handover start <task>`
|
|
369
766
|
|
|
370
767
|
Hand the current branch to a Notis agent and keep working.
|
|
371
768
|
|
|
372
|
-
When to use: Use this when you want Notis to continue work on the branch you are on -- long refactors, test fixing, or anything that should keep running after you close the laptop.
|
|
769
|
+
When to use: Use this when you want Notis to continue work on the branch you are on -- long refactors, test fixing, or anything that should keep running after you close the laptop. Choose the agent, intelligence and speed yourself from the user's words, even loose ones ("get Claude on it", "this one is tricky", "no rush"), and pass all three; with no agent named, codex for code work. Use auto only when the user asks Notis to pick.
|
|
373
770
|
|
|
374
771
|
Options:
|
|
772
|
+
- `--route <agent>` — Required. Which agent runs it: notis, codex or claude, or auto only when the user asks Notis to pick.
|
|
773
|
+
- `--intelligence <level>` — Required. low (quick, simple tasks), medium (most multi-step work and coding), high (hard reasoning, investigations, complex code), or auto only when the user asks Notis to pick.
|
|
774
|
+
- `--speed <speed>` — Required. normal (the usual choice), priority (faster, costs more; for Codex or Claude only when the user asks for their fast mode) or flex (cheaper and slower, Notis only).
|
|
375
775
|
- `--branch-mode <mode>` — same = the agent commits onto your branch. new = the agent cuts a new branch from it (default).
|
|
376
|
-
- `--route <target>` — Which agent runs it: notis (hosted, default), codex_cloud, claude_cloud, codex_local, claude_local, or auto.
|
|
377
776
|
- `--repo <slug>` — Configured repository slug on the cloud computer, when you know it.
|
|
378
777
|
- `--no-wip` — Refuse on a dirty tree instead of committing the changes first.
|
|
379
778
|
|
|
380
779
|
Examples:
|
|
381
|
-
- `npx --package @notis_ai/cli@latest -- notis handover start "fix the failing auth tests"`
|
|
382
|
-
- `npx --package @notis_ai/cli@latest -- notis handover start "finish the migration" --branch-mode same --route
|
|
383
|
-
- `npx --package @notis_ai/cli@latest -- notis handover start "add integration tests" --route
|
|
384
|
-
- `npx --package @notis_ai/cli@latest -- notis handover start "review and clean up this branch" --route
|
|
385
|
-
|
|
386
|
-
### `npx --package @notis_ai/cli@latest -- notis handover status`
|
|
780
|
+
- `npx --package @notis_ai/cli@latest -- notis handover start "fix the failing auth tests" --route codex --intelligence medium --speed normal`
|
|
781
|
+
- `npx --package @notis_ai/cli@latest -- notis handover start "finish the migration" --branch-mode same --route codex --intelligence high --speed normal`
|
|
782
|
+
- `npx --package @notis_ai/cli@latest -- notis handover start "add integration tests" --route claude --intelligence medium --speed normal`
|
|
783
|
+
- `npx --package @notis_ai/cli@latest -- notis handover start "review and clean up this branch" --route notis --intelligence low --speed flex`
|
|
387
784
|
|
|
388
|
-
|
|
785
|
+
### `npx --package @notis_ai/cli@latest -- notis handover status [request-id]`
|
|
389
786
|
|
|
390
|
-
|
|
787
|
+
Follow a hand-over, or list the work Notis is running for you.
|
|
391
788
|
|
|
392
|
-
|
|
393
|
-
- `--provider <provider>` — Filter to codex or claude_code.
|
|
394
|
-
- `--refresh` — Force a live refresh instead of cached state.
|
|
789
|
+
When to use: Use this after a hand-over. Pass the request_id `handover start` returned to read its progress and result; with no id it lists the threads still running.
|
|
395
790
|
|
|
396
791
|
Examples:
|
|
397
792
|
- `npx --package @notis_ai/cli@latest -- notis handover status`
|
|
398
|
-
- `npx --package @notis_ai/cli@latest -- notis handover status
|
|
793
|
+
- `npx --package @notis_ai/cli@latest -- notis handover status 6f1c2e8a-4b7d-5c3e-9a1f-2d8b7e6c5a4f`
|
|
399
794
|
|
|
400
795
|
|
|
401
796
|
## Generic Tools
|
|
@@ -445,6 +840,7 @@ Options:
|
|
|
445
840
|
- `--file <argument-path=local-path>` — Upload a local file into a file-uploadable tool argument. Repeatable.
|
|
446
841
|
- `--get-schema` — Display the tool parameter schema without executing.
|
|
447
842
|
- `--dry-run` — Validate arguments against the tool schema without executing.
|
|
843
|
+
- `--yes` — Apply a change that asks for confirmation without the Continue? [y/N] prompt.
|
|
448
844
|
|
|
449
845
|
Examples:
|
|
450
846
|
- `npx --package @notis_ai/cli@latest -- notis tools exec LOCAL_NOTIS_DATABASE_QUERY --arguments '{"database_slug":"tasks","query":{}}'`
|
|
@@ -501,7 +897,7 @@ Examples:
|
|
|
501
897
|
|
|
502
898
|
Switch the default profile without signing any profile out.
|
|
503
899
|
|
|
504
|
-
When to use: Use this to change which account and API subsequent commands target. Every other profile keeps its credential.
|
|
900
|
+
When to use: Use this to change which account and API subsequent commands target. Every other profile keeps its credential. Its skills replace the previous default's in the agent folders (Claude Code, Codex, Cursor) straight away.
|
|
505
901
|
|
|
506
902
|
Examples:
|
|
507
903
|
- `npx --package @notis_ai/cli@latest -- notis profile use work`
|
|
@@ -560,7 +956,7 @@ Describe a first-class CLI command in detail.
|
|
|
560
956
|
When to use: Use this when an agent or human needs the exact shape, examples, and semantics of a command.
|
|
561
957
|
|
|
562
958
|
Examples:
|
|
563
|
-
- `npx --package @notis_ai/cli@latest -- notis describe
|
|
959
|
+
- `npx --package @notis_ai/cli@latest -- notis describe spaces deploy`
|
|
564
960
|
- `npx --package @notis_ai/cli@latest -- notis describe tools exec`
|
|
565
961
|
|
|
566
962
|
|