@notis_ai/cli 0.2.13 → 0.2.15
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 +125 -21
- package/dist/agent-hooks/notis-agent-hook.mjs +19750 -0
- package/{skills → dist/base-skills}/notis-apps/SKILL.md +93 -58
- package/{skills → dist/base-skills}/notis-cli/SKILL.md +9 -9
- package/dist/base-skills/notis-query/SKILL.md +705 -0
- package/dist/skill-sync/index.js +1528 -0
- package/dist/skill-sync/index.js.map +7 -0
- package/package.json +5 -2
- package/skills/notis-apps/cli.md +44 -18
- package/skills/notis-cli/AGENT_INSTRUCTIONS.md +39 -0
- package/skills/notis-onboarding/BRIEF.md +16 -0
- package/src/agent-hook-entry.js +5 -0
- package/src/cli.js +23 -14
- package/src/command-specs/agents.js +392 -0
- package/src/command-specs/apps.js +1090 -418
- package/src/command-specs/auth.js +63 -10
- package/src/command-specs/handover.js +374 -0
- package/src/command-specs/index.js +9 -0
- package/src/command-specs/onboarding.js +69 -5
- package/src/command-specs/skills.js +56 -0
- package/src/command-specs/tools.js +6 -0
- package/src/runtime/agent-memory-state.js +126 -0
- package/src/runtime/agent-setup.js +383 -0
- package/src/runtime/app-dev-consumers.js +154 -0
- package/src/runtime/app-dev-host-lock.js +80 -0
- package/src/runtime/app-dev-roots.js +284 -0
- package/src/runtime/app-dev-server.js +229 -30
- package/src/runtime/app-dev-sessions.js +105 -145
- package/src/runtime/app-platform.js +1499 -161
- package/src/runtime/app-registry-scaffolds.js +367 -0
- package/src/runtime/base-skills.d.ts +20 -0
- package/src/runtime/base-skills.js +167 -0
- package/src/runtime/delegated-context.js +68 -0
- package/src/runtime/git.js +233 -0
- package/src/runtime/login-listener.js +15 -0
- package/src/runtime/oauth.js +1506 -141
- package/src/runtime/output.js +7 -0
- package/src/runtime/ports.js +16 -0
- package/src/runtime/profiles.js +0 -5
- package/src/runtime/skill-sync/cloud-client.ts +96 -0
- package/src/runtime/skill-sync/index.ts +644 -0
- package/src/runtime/skill-sync/local-scanner.ts +1046 -0
- package/src/runtime/skill-sync/symlink-manager.ts +383 -0
- package/src/runtime/skill-sync/sync-plan.ts +22 -0
- package/src/runtime/skill-sync/types.ts +103 -0
- package/src/runtime/skill-sync/write-cloud-skill.ts +50 -0
- package/src/runtime/store-screenshot.js +6 -1
- package/src/runtime/sync-skills.d.ts +37 -0
- package/src/runtime/sync-skills.js +215 -0
- package/src/runtime/transport.js +19 -2
- package/template/.harness/index.html.tmpl +116 -47
- package/template/app/layout.tsx +5 -1
- package/template/notis.config.ts +1 -0
- package/template/packages/sdk/package.json +2 -1
- package/template/packages/sdk/src/components/DocumentEditor.tsx +13 -3
- package/template/packages/sdk/src/components/MarkdownEditor.tsx +121 -0
- package/template/packages/sdk/src/components/MultiSelectActionBar.tsx +37 -119
- package/template/packages/sdk/src/components/MultiSelectCheckbox.tsx +5 -1
- package/template/packages/sdk/src/components/MultiSelectDragOverlay.tsx +1 -1
- package/template/packages/sdk/src/components/NotisSelectionBoundary.tsx +55 -0
- package/template/packages/sdk/src/components/ShortcutHints.tsx +56 -0
- package/template/packages/sdk/src/config.ts +71 -0
- package/template/packages/sdk/src/documents.ts +28 -1
- package/template/packages/sdk/src/hooks/useActiveResource.ts +19 -0
- package/template/packages/sdk/src/hooks/useCloudComputer.ts +97 -0
- package/template/packages/sdk/src/hooks/useCollectionInteractions.ts +709 -0
- package/template/packages/sdk/src/hooks/useDatabaseSubscription.ts +76 -0
- package/template/packages/sdk/src/hooks/useHandover.ts +78 -0
- package/template/packages/sdk/src/hooks/useMultiSelect.ts +44 -482
- package/template/packages/sdk/src/hooks/useTool.ts +5 -4
- package/template/packages/sdk/src/index.ts +64 -2
- package/template/packages/sdk/src/interactions/actions.ts +46 -0
- package/template/packages/sdk/src/interactions/shortcuts.tsx +628 -0
- package/template/packages/sdk/src/interactions.ts +41 -0
- package/template/packages/sdk/src/provider.tsx +2 -1
- package/template/packages/sdk/src/runtime.ts +219 -3
- package/dist/scaffolds/notis-database/CHANGELOG.md +0 -5
- package/dist/scaffolds/notis-database/app/globals.css +0 -44
- package/dist/scaffolds/notis-database/app/layout.tsx +0 -6
- package/dist/scaffolds/notis-database/app/page.tsx +0 -1088
- package/dist/scaffolds/notis-database/components/ui/badge.tsx +0 -28
- package/dist/scaffolds/notis-database/components/ui/button.tsx +0 -53
- package/dist/scaffolds/notis-database/components/ui/card.tsx +0 -56
- package/dist/scaffolds/notis-database/components/ui/table.tsx +0 -120
- package/dist/scaffolds/notis-database/components.json +0 -20
- package/dist/scaffolds/notis-database/index.html +0 -12
- package/dist/scaffolds/notis-database/lib/types.ts +0 -132
- package/dist/scaffolds/notis-database/lib/utils.ts +0 -6
- package/dist/scaffolds/notis-database/metadata/screenshot-1.png +0 -0
- package/dist/scaffolds/notis-database/metadata/screenshot-2.png +0 -0
- package/dist/scaffolds/notis-database/metadata/screenshot-3.png +0 -0
- package/dist/scaffolds/notis-database/metadata/screenshot-4.png +0 -0
- package/dist/scaffolds/notis-database/metadata/screenshot-5.png +0 -0
- package/dist/scaffolds/notis-database/metadata/screenshot-fixtures.json +0 -1839
- package/dist/scaffolds/notis-database/notis.config.ts +0 -73
- package/dist/scaffolds/notis-database/package-lock.json +0 -3935
- package/dist/scaffolds/notis-database/package.json +0 -32
- package/dist/scaffolds/notis-database/packages/sdk/package.json +0 -36
- package/dist/scaffolds/notis-database/packages/sdk/src/components/DocumentEditor.tsx +0 -93
- package/dist/scaffolds/notis-database/packages/sdk/src/components/Markdown.tsx +0 -60
- package/dist/scaffolds/notis-database/packages/sdk/src/components/MultiSelectActionBar.tsx +0 -278
- package/dist/scaffolds/notis-database/packages/sdk/src/components/MultiSelectCheckbox.tsx +0 -91
- package/dist/scaffolds/notis-database/packages/sdk/src/components/MultiSelectDragOverlay.tsx +0 -39
- package/dist/scaffolds/notis-database/packages/sdk/src/config.ts +0 -196
- package/dist/scaffolds/notis-database/packages/sdk/src/documents.ts +0 -229
- package/dist/scaffolds/notis-database/packages/sdk/src/hooks/useBackend.ts +0 -41
- package/dist/scaffolds/notis-database/packages/sdk/src/hooks/useDatabaseSchema.ts +0 -85
- package/dist/scaffolds/notis-database/packages/sdk/src/hooks/useDocument.ts +0 -78
- package/dist/scaffolds/notis-database/packages/sdk/src/hooks/useDocuments.ts +0 -121
- package/dist/scaffolds/notis-database/packages/sdk/src/hooks/useMultiSelect.ts +0 -539
- package/dist/scaffolds/notis-database/packages/sdk/src/hooks/useNotis.ts +0 -34
- package/dist/scaffolds/notis-database/packages/sdk/src/hooks/useNotisNavigation.ts +0 -49
- package/dist/scaffolds/notis-database/packages/sdk/src/hooks/useTool.ts +0 -64
- package/dist/scaffolds/notis-database/packages/sdk/src/hooks/useTools.ts +0 -56
- package/dist/scaffolds/notis-database/packages/sdk/src/hooks/useTopBarSearch.ts +0 -73
- package/dist/scaffolds/notis-database/packages/sdk/src/hooks/useUpsertDocument.ts +0 -95
- package/dist/scaffolds/notis-database/packages/sdk/src/index.ts +0 -83
- package/dist/scaffolds/notis-database/packages/sdk/src/provider.tsx +0 -43
- package/dist/scaffolds/notis-database/packages/sdk/src/runtime.ts +0 -220
- package/dist/scaffolds/notis-database/packages/sdk/src/styles.css +0 -186
- package/dist/scaffolds/notis-database/packages/sdk/src/ui.ts +0 -15
- package/dist/scaffolds/notis-database/packages/sdk/src/vite.ts +0 -56
- package/dist/scaffolds/notis-database/packages/sdk/tsconfig.json +0 -15
- package/dist/scaffolds/notis-database/postcss.config.mjs +0 -8
- package/dist/scaffolds/notis-database/src/dev-main.tsx +0 -23
- package/dist/scaffolds/notis-database/src/mock-runtime.ts +0 -561
- package/dist/scaffolds/notis-database/tailwind.config.ts +0 -59
- package/dist/scaffolds/notis-database/tsconfig.json +0 -23
- package/dist/scaffolds/notis-database/vite.config.ts +0 -22
- package/dist/scaffolds/notis-journal/CHANGELOG.md +0 -29
- package/dist/scaffolds/notis-journal/app/globals.css +0 -37
- package/dist/scaffolds/notis-journal/app/insights/page.tsx +0 -513
- package/dist/scaffolds/notis-journal/app/journal-core.tsx +0 -362
- package/dist/scaffolds/notis-journal/app/journal-ui.tsx +0 -337
- package/dist/scaffolds/notis-journal/app/layout.tsx +0 -6
- package/dist/scaffolds/notis-journal/app/page.tsx +0 -486
- package/dist/scaffolds/notis-journal/components/ui/badge.tsx +0 -28
- package/dist/scaffolds/notis-journal/components/ui/button.tsx +0 -53
- package/dist/scaffolds/notis-journal/components/ui/card.tsx +0 -56
- package/dist/scaffolds/notis-journal/components.json +0 -20
- package/dist/scaffolds/notis-journal/index.html +0 -12
- package/dist/scaffolds/notis-journal/lib/utils.ts +0 -6
- package/dist/scaffolds/notis-journal/metadata/screenshot-1.png +0 -0
- package/dist/scaffolds/notis-journal/metadata/screenshot-2.png +0 -0
- package/dist/scaffolds/notis-journal/metadata/screenshot-3.png +0 -0
- package/dist/scaffolds/notis-journal/metadata/screenshot-4.png +0 -0
- package/dist/scaffolds/notis-journal/metadata/screenshot-5.png +0 -0
- package/dist/scaffolds/notis-journal/metadata/screenshot-6.png +0 -0
- package/dist/scaffolds/notis-journal/metadata/screenshot-fixtures.json +0 -132
- package/dist/scaffolds/notis-journal/notis.config.ts +0 -93
- package/dist/scaffolds/notis-journal/package-lock.json +0 -4615
- package/dist/scaffolds/notis-journal/package.json +0 -34
- package/dist/scaffolds/notis-journal/packages/sdk/package.json +0 -36
- package/dist/scaffolds/notis-journal/packages/sdk/src/components/DocumentEditor.tsx +0 -93
- package/dist/scaffolds/notis-journal/packages/sdk/src/components/Markdown.tsx +0 -60
- package/dist/scaffolds/notis-journal/packages/sdk/src/components/MultiSelectActionBar.tsx +0 -278
- package/dist/scaffolds/notis-journal/packages/sdk/src/components/MultiSelectCheckbox.tsx +0 -91
- package/dist/scaffolds/notis-journal/packages/sdk/src/components/MultiSelectDragOverlay.tsx +0 -39
- package/dist/scaffolds/notis-journal/packages/sdk/src/config.ts +0 -196
- package/dist/scaffolds/notis-journal/packages/sdk/src/documents.ts +0 -229
- package/dist/scaffolds/notis-journal/packages/sdk/src/hooks/useBackend.ts +0 -41
- package/dist/scaffolds/notis-journal/packages/sdk/src/hooks/useDatabaseSchema.ts +0 -85
- package/dist/scaffolds/notis-journal/packages/sdk/src/hooks/useDocument.ts +0 -78
- package/dist/scaffolds/notis-journal/packages/sdk/src/hooks/useDocuments.ts +0 -121
- package/dist/scaffolds/notis-journal/packages/sdk/src/hooks/useMultiSelect.ts +0 -539
- package/dist/scaffolds/notis-journal/packages/sdk/src/hooks/useNotis.ts +0 -34
- package/dist/scaffolds/notis-journal/packages/sdk/src/hooks/useNotisNavigation.ts +0 -49
- package/dist/scaffolds/notis-journal/packages/sdk/src/hooks/useTool.ts +0 -64
- package/dist/scaffolds/notis-journal/packages/sdk/src/hooks/useTools.ts +0 -56
- package/dist/scaffolds/notis-journal/packages/sdk/src/hooks/useTopBarSearch.ts +0 -73
- package/dist/scaffolds/notis-journal/packages/sdk/src/hooks/useUpsertDocument.ts +0 -95
- package/dist/scaffolds/notis-journal/packages/sdk/src/index.ts +0 -83
- package/dist/scaffolds/notis-journal/packages/sdk/src/provider.tsx +0 -43
- package/dist/scaffolds/notis-journal/packages/sdk/src/runtime.ts +0 -220
- package/dist/scaffolds/notis-journal/packages/sdk/src/styles.css +0 -186
- package/dist/scaffolds/notis-journal/packages/sdk/src/ui.ts +0 -15
- package/dist/scaffolds/notis-journal/packages/sdk/src/vite.ts +0 -56
- package/dist/scaffolds/notis-journal/packages/sdk/tsconfig.json +0 -15
- package/dist/scaffolds/notis-journal/postcss.config.mjs +0 -8
- package/dist/scaffolds/notis-journal/skills/journal-onboarding/SKILL.md +0 -120
- package/dist/scaffolds/notis-journal/src/dev-main.tsx +0 -58
- package/dist/scaffolds/notis-journal/src/mock-runtime.ts +0 -197
- package/dist/scaffolds/notis-journal/tailwind.config.ts +0 -58
- package/dist/scaffolds/notis-journal/tsconfig.json +0 -23
- package/dist/scaffolds/notis-journal/vite.config.ts +0 -10
- package/dist/scaffolds/notis-notes/CHANGELOG.md +0 -5
- package/dist/scaffolds/notis-notes/app/globals.css +0 -3
- package/dist/scaffolds/notis-notes/app/layout.tsx +0 -6
- package/dist/scaffolds/notis-notes/app/page.tsx +0 -1943
- package/dist/scaffolds/notis-notes/app/phosphor-icons.ts +0 -596
- package/dist/scaffolds/notis-notes/components/ui/badge.tsx +0 -28
- package/dist/scaffolds/notis-notes/components/ui/button.tsx +0 -53
- package/dist/scaffolds/notis-notes/components/ui/card.tsx +0 -56
- package/dist/scaffolds/notis-notes/components.json +0 -20
- package/dist/scaffolds/notis-notes/lib/utils.ts +0 -6
- package/dist/scaffolds/notis-notes/lib/visible-properties.ts +0 -144
- package/dist/scaffolds/notis-notes/metadata/screenshot-1.png +0 -0
- package/dist/scaffolds/notis-notes/metadata/screenshot-2.png +0 -0
- package/dist/scaffolds/notis-notes/metadata/screenshot-3.png +0 -0
- package/dist/scaffolds/notis-notes/metadata/screenshot-4.png +0 -0
- package/dist/scaffolds/notis-notes/metadata/screenshot-5.png +0 -0
- package/dist/scaffolds/notis-notes/metadata/screenshot-fixtures.json +0 -752
- package/dist/scaffolds/notis-notes/notis.config.ts +0 -80
- package/dist/scaffolds/notis-notes/package-lock.json +0 -4636
- package/dist/scaffolds/notis-notes/package.json +0 -35
- package/dist/scaffolds/notis-notes/packages/sdk/package.json +0 -36
- package/dist/scaffolds/notis-notes/packages/sdk/src/components/DocumentEditor.tsx +0 -93
- package/dist/scaffolds/notis-notes/packages/sdk/src/components/Markdown.tsx +0 -60
- package/dist/scaffolds/notis-notes/packages/sdk/src/components/MultiSelectActionBar.tsx +0 -278
- package/dist/scaffolds/notis-notes/packages/sdk/src/components/MultiSelectCheckbox.tsx +0 -91
- package/dist/scaffolds/notis-notes/packages/sdk/src/components/MultiSelectDragOverlay.tsx +0 -39
- package/dist/scaffolds/notis-notes/packages/sdk/src/config.ts +0 -196
- package/dist/scaffolds/notis-notes/packages/sdk/src/documents.ts +0 -229
- package/dist/scaffolds/notis-notes/packages/sdk/src/hooks/useBackend.ts +0 -41
- package/dist/scaffolds/notis-notes/packages/sdk/src/hooks/useDatabaseSchema.ts +0 -85
- package/dist/scaffolds/notis-notes/packages/sdk/src/hooks/useDocument.ts +0 -78
- package/dist/scaffolds/notis-notes/packages/sdk/src/hooks/useDocuments.ts +0 -121
- package/dist/scaffolds/notis-notes/packages/sdk/src/hooks/useMultiSelect.ts +0 -539
- package/dist/scaffolds/notis-notes/packages/sdk/src/hooks/useNotis.ts +0 -34
- package/dist/scaffolds/notis-notes/packages/sdk/src/hooks/useNotisNavigation.ts +0 -49
- package/dist/scaffolds/notis-notes/packages/sdk/src/hooks/useTool.ts +0 -64
- package/dist/scaffolds/notis-notes/packages/sdk/src/hooks/useTools.ts +0 -56
- package/dist/scaffolds/notis-notes/packages/sdk/src/hooks/useTopBarSearch.ts +0 -73
- package/dist/scaffolds/notis-notes/packages/sdk/src/hooks/useUpsertDocument.ts +0 -95
- package/dist/scaffolds/notis-notes/packages/sdk/src/index.ts +0 -83
- package/dist/scaffolds/notis-notes/packages/sdk/src/provider.tsx +0 -43
- package/dist/scaffolds/notis-notes/packages/sdk/src/runtime.ts +0 -220
- package/dist/scaffolds/notis-notes/packages/sdk/src/styles.css +0 -186
- package/dist/scaffolds/notis-notes/packages/sdk/src/ui.ts +0 -15
- package/dist/scaffolds/notis-notes/packages/sdk/src/vite.ts +0 -56
- package/dist/scaffolds/notis-notes/packages/sdk/tsconfig.json +0 -15
- package/dist/scaffolds/notis-notes/postcss.config.mjs +0 -8
- package/dist/scaffolds/notis-notes/tailwind.config.ts +0 -58
- package/dist/scaffolds/notis-notes/tsconfig.json +0 -23
- package/dist/scaffolds/notis-notes/vite.config.ts +0 -10
- package/dist/scaffolds/notis-random/CHANGELOG.md +0 -15
- package/dist/scaffolds/notis-random/README.md +0 -33
- package/dist/scaffolds/notis-random/app/globals.css +0 -11
- package/dist/scaffolds/notis-random/app/history/page.tsx +0 -67
- package/dist/scaffolds/notis-random/app/layout.tsx +0 -7
- package/dist/scaffolds/notis-random/app/page.tsx +0 -289
- package/dist/scaffolds/notis-random/components/ui/button.tsx +0 -50
- package/dist/scaffolds/notis-random/components/ui/card.tsx +0 -16
- package/dist/scaffolds/notis-random/components/ui/input.tsx +0 -23
- package/dist/scaffolds/notis-random/components.json +0 -20
- package/dist/scaffolds/notis-random/index.html +0 -12
- package/dist/scaffolds/notis-random/lib/notis-tools.ts +0 -128
- package/dist/scaffolds/notis-random/lib/rng.ts +0 -202
- package/dist/scaffolds/notis-random/lib/roll-record.ts +0 -189
- package/dist/scaffolds/notis-random/lib/utils.ts +0 -25
- package/dist/scaffolds/notis-random/metadata/screenshot-1.png +0 -0
- package/dist/scaffolds/notis-random/metadata/screenshot-2.png +0 -0
- package/dist/scaffolds/notis-random/metadata/screenshot-3.png +0 -0
- package/dist/scaffolds/notis-random/metadata/screenshot-4.png +0 -0
- package/dist/scaffolds/notis-random/metadata/screenshot-5.png +0 -0
- package/dist/scaffolds/notis-random/metadata/screenshot-fixtures.json +0 -753
- package/dist/scaffolds/notis-random/notis.config.ts +0 -86
- package/dist/scaffolds/notis-random/package-lock.json +0 -4513
- package/dist/scaffolds/notis-random/package.json +0 -36
- package/dist/scaffolds/notis-random/packages/sdk/package.json +0 -36
- package/dist/scaffolds/notis-random/packages/sdk/src/components/DocumentEditor.tsx +0 -93
- package/dist/scaffolds/notis-random/packages/sdk/src/components/Markdown.tsx +0 -60
- package/dist/scaffolds/notis-random/packages/sdk/src/components/MultiSelectActionBar.tsx +0 -278
- package/dist/scaffolds/notis-random/packages/sdk/src/components/MultiSelectCheckbox.tsx +0 -91
- package/dist/scaffolds/notis-random/packages/sdk/src/components/MultiSelectDragOverlay.tsx +0 -39
- package/dist/scaffolds/notis-random/packages/sdk/src/config.ts +0 -196
- package/dist/scaffolds/notis-random/packages/sdk/src/documents.ts +0 -229
- package/dist/scaffolds/notis-random/packages/sdk/src/hooks/useBackend.ts +0 -41
- package/dist/scaffolds/notis-random/packages/sdk/src/hooks/useDatabaseSchema.ts +0 -85
- package/dist/scaffolds/notis-random/packages/sdk/src/hooks/useDocument.ts +0 -78
- package/dist/scaffolds/notis-random/packages/sdk/src/hooks/useDocuments.ts +0 -121
- package/dist/scaffolds/notis-random/packages/sdk/src/hooks/useMultiSelect.ts +0 -539
- package/dist/scaffolds/notis-random/packages/sdk/src/hooks/useNotis.ts +0 -34
- package/dist/scaffolds/notis-random/packages/sdk/src/hooks/useNotisNavigation.ts +0 -49
- package/dist/scaffolds/notis-random/packages/sdk/src/hooks/useTool.ts +0 -64
- package/dist/scaffolds/notis-random/packages/sdk/src/hooks/useTools.ts +0 -56
- package/dist/scaffolds/notis-random/packages/sdk/src/hooks/useTopBarSearch.ts +0 -73
- package/dist/scaffolds/notis-random/packages/sdk/src/hooks/useUpsertDocument.ts +0 -95
- package/dist/scaffolds/notis-random/packages/sdk/src/index.ts +0 -83
- package/dist/scaffolds/notis-random/packages/sdk/src/provider.tsx +0 -43
- package/dist/scaffolds/notis-random/packages/sdk/src/runtime.ts +0 -220
- package/dist/scaffolds/notis-random/packages/sdk/src/styles.css +0 -186
- package/dist/scaffolds/notis-random/packages/sdk/src/ui.ts +0 -15
- package/dist/scaffolds/notis-random/packages/sdk/src/vite.ts +0 -56
- package/dist/scaffolds/notis-random/packages/sdk/tsconfig.json +0 -15
- package/dist/scaffolds/notis-random/postcss.config.mjs +0 -6
- package/dist/scaffolds/notis-random/src/dev-main.tsx +0 -70
- package/dist/scaffolds/notis-random/src/mock-runtime.ts +0 -129
- package/dist/scaffolds/notis-random/tailwind.config.ts +0 -50
- package/dist/scaffolds/notis-random/tsconfig.json +0 -23
- package/dist/scaffolds/notis-random/vite.config.ts +0 -11
- package/dist/scaffolds.json +0 -49
- package/template/metadata/screenshot-1.png +0 -0
- package/template/metadata/screenshot-2.png +0 -0
- package/template/metadata/screenshot-3.png +0 -0
package/README.md
CHANGED
|
@@ -6,6 +6,8 @@ Agent-first Notis CLI for apps and generic tool execution.
|
|
|
6
6
|
|
|
7
7
|
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
8
|
|
|
9
|
+
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`.
|
|
10
|
+
|
|
9
11
|
For CI, hosted agents, or internal scripts, pass a non-persisted token with `NOTIS_JWT=<token>`.
|
|
10
12
|
|
|
11
13
|
## Quick Start
|
|
@@ -71,8 +73,9 @@ When to use: Run this once per account you want the CLI to reach. Pass --profile
|
|
|
71
73
|
Options:
|
|
72
74
|
- `--no-browser` — Print the authorization URL without opening a browser.
|
|
73
75
|
- `--print-url` — Print the authorization URL even when opening a browser.
|
|
74
|
-
- `--
|
|
75
|
-
- `--
|
|
76
|
+
- `--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
|
+
- `--paste-code` — Alias for --mode code.
|
|
78
|
+
- `--timeout-seconds <n>` — Authorization lifetime in seconds (default 300 while waiting in a terminal; 1800 for detached or code hand-offs).
|
|
76
79
|
- `--scope <scope>` — OAuth permission to request (repeatable).
|
|
77
80
|
- `--code <code>` — Redeem the code shown in the browser after a non-interactive login.
|
|
78
81
|
|
|
@@ -81,7 +84,8 @@ Examples:
|
|
|
81
84
|
- `npx --package @notis_ai/cli@latest -- notis login --profile work`
|
|
82
85
|
- `npx --package @notis_ai/cli@latest -- notis login --profile beta --api-base https://api-beta.notis.ai`
|
|
83
86
|
- `npx --package @notis_ai/cli@latest -- notis login --no-browser --print-url`
|
|
84
|
-
- `npx --package @notis_ai/cli@latest -- notis login --
|
|
87
|
+
- `npx --package @notis_ai/cli@latest -- notis login --mode browser`
|
|
88
|
+
- `npx --package @notis_ai/cli@latest -- notis login --mode code`
|
|
85
89
|
- `npx --package @notis_ai/cli@latest -- notis login --code 4f3c2b1a`
|
|
86
90
|
|
|
87
91
|
### `npx --package @notis_ai/cli@latest -- notis logout`
|
|
@@ -91,7 +95,7 @@ Revoke and remove the OAuth credential for one CLI profile.
|
|
|
91
95
|
When to use: Use this to disconnect a single account. Other profiles keep their credentials unless you pass --all-profiles.
|
|
92
96
|
|
|
93
97
|
Options:
|
|
94
|
-
- `--all-profiles` —
|
|
98
|
+
- `--all-profiles` — Clear OAuth credentials and pending authorizations from every CLI profile.
|
|
95
99
|
|
|
96
100
|
Examples:
|
|
97
101
|
- `npx --package @notis_ai/cli@latest -- notis logout`
|
|
@@ -99,6 +103,42 @@ Examples:
|
|
|
99
103
|
- `npx --package @notis_ai/cli@latest -- notis logout --all-profiles`
|
|
100
104
|
|
|
101
105
|
|
|
106
|
+
## Coding-agent context
|
|
107
|
+
|
|
108
|
+
### `npx --package @notis_ai/cli@latest -- notis agents install`
|
|
109
|
+
|
|
110
|
+
Install Notis instructions and recall/capture hooks for local Codex and Claude Code.
|
|
111
|
+
|
|
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 already receive prompt context and are skipped.
|
|
113
|
+
|
|
114
|
+
Options:
|
|
115
|
+
- `--codex-only` — Configure only Codex.
|
|
116
|
+
- `--claude-only` — Configure only Claude Code.
|
|
117
|
+
- `--no-memory-hooks` — Install static instructions and remove Notis recall/capture hooks.
|
|
118
|
+
|
|
119
|
+
Examples:
|
|
120
|
+
- `npx --package @notis_ai/cli@latest -- notis agents install`
|
|
121
|
+
- `npx --package @notis_ai/cli@latest -- notis agents install --codex-only`
|
|
122
|
+
- `npx --package @notis_ai/cli@latest -- notis agents install --claude-only`
|
|
123
|
+
- `npx --package @notis_ai/cli@latest -- notis agents install --no-memory-hooks`
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
## Skills
|
|
127
|
+
|
|
128
|
+
### `npx --package @notis_ai/cli@latest -- notis skills sync`
|
|
129
|
+
|
|
130
|
+
Synchronize account skills and keep the three Notis base skills current.
|
|
131
|
+
|
|
132
|
+
When to use: Run manually whenever local agent skills should be reconciled. Manual runs ignore the Desktop automatic-sync preference.
|
|
133
|
+
|
|
134
|
+
Options:
|
|
135
|
+
- `--electron-repeat` — Honor the automatic Desktop sync preference (used by Notis Desktop).
|
|
136
|
+
|
|
137
|
+
Examples:
|
|
138
|
+
- `npx --package @notis_ai/cli@latest -- notis skills sync`
|
|
139
|
+
- `npx --package @notis_ai/cli@latest -- notis skills sync --json`
|
|
140
|
+
|
|
141
|
+
|
|
102
142
|
## Apps
|
|
103
143
|
|
|
104
144
|
### `npx --package @notis_ai/cli@latest -- notis apps list`
|
|
@@ -115,26 +155,30 @@ Examples:
|
|
|
115
155
|
|
|
116
156
|
Scaffold a new Notis app project.
|
|
117
157
|
|
|
118
|
-
When to use: Start a new Notis app. Use --from with a
|
|
158
|
+
When to use: Start a new Notis app. Use --from with a published Store app when one is close to the desired app; otherwise creates the bare Vite + React project.
|
|
119
159
|
|
|
120
160
|
Options:
|
|
121
|
-
- `--from <slug>` — Start from a
|
|
161
|
+
- `--from <slug>` — Start from a published Store app listed by `notis apps scaffolds list`. Downloads its source from the public app registry.
|
|
122
162
|
|
|
123
163
|
Examples:
|
|
124
164
|
- `npx --package @notis_ai/cli@latest -- notis apps scaffolds list`
|
|
125
165
|
- `npx --package @notis_ai/cli@latest -- notis apps init "Mind the Flo"`
|
|
126
|
-
- `npx --package @notis_ai/cli@latest -- notis apps init "My CRM" --from
|
|
127
|
-
- `npx --package @notis_ai/cli@latest -- notis apps init "My App"
|
|
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`
|
|
128
168
|
|
|
129
169
|
### `npx --package @notis_ai/cli@latest -- notis apps scaffolds list`
|
|
130
170
|
|
|
131
|
-
List
|
|
171
|
+
List published Store apps available as scaffolds.
|
|
172
|
+
|
|
173
|
+
When to use: Discover published Store apps to start from before creating a new app. Every app published to the public Store is automatically a scaffold; use --search to narrow the catalog.
|
|
132
174
|
|
|
133
|
-
|
|
175
|
+
Options:
|
|
176
|
+
- `--search <term>` — Filter scaffolds by name, tagline, description, or category.
|
|
134
177
|
|
|
135
178
|
Examples:
|
|
136
179
|
- `npx --package @notis_ai/cli@latest -- notis apps scaffolds list`
|
|
137
|
-
- `npx --package @notis_ai/cli@latest -- notis apps
|
|
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`
|
|
138
182
|
|
|
139
183
|
### `npx --package @notis_ai/cli@latest -- notis apps create <name> [dir]`
|
|
140
184
|
|
|
@@ -148,18 +192,39 @@ Examples:
|
|
|
148
192
|
|
|
149
193
|
### `npx --package @notis_ai/cli@latest -- notis apps dev [dir]`
|
|
150
194
|
|
|
151
|
-
|
|
195
|
+
Register a development root and connect its apps to the shared local development host.
|
|
152
196
|
|
|
153
|
-
When to use: Run this
|
|
197
|
+
When to use: Run this once for any folder that should be watched permanently. The folder itself, direct child apps, and apps/* are discovered automatically by every signed-in Notis Desktop instance.
|
|
154
198
|
|
|
155
199
|
Options:
|
|
156
200
|
- `--port <number>` — Local bundle server port (default: 5173).
|
|
157
|
-
- `--
|
|
201
|
+
- `--scratch` — Use isolated empty databases, bundled skills, and bundled automations for this session instead of the installed app's resources. For fixture work and destructive experiments.
|
|
202
|
+
- `--live-data` — Deprecated: using the installed app's real resources is now the default. Accepted as a no-op; use `--scratch` for the old isolated behavior.
|
|
203
|
+
- `--grant-cloud-shell` — Approve a cloudComputer: 'shell' declaration without the interactive prompt. The grant persists for this dev app; authorship alone never grants it.
|
|
158
204
|
|
|
159
205
|
Examples:
|
|
160
206
|
- `npx --package @notis_ai/cli@latest -- notis apps dev`
|
|
161
207
|
- `npx --package @notis_ai/cli@latest -- notis apps dev ./my-app`
|
|
162
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`
|
|
210
|
+
|
|
211
|
+
### `npx --package @notis_ai/cli@latest -- notis apps roots list`
|
|
212
|
+
|
|
213
|
+
List persistent machine-local Notis app development roots.
|
|
214
|
+
|
|
215
|
+
When to use: See which folders every local Notis Desktop instance watches for development apps.
|
|
216
|
+
|
|
217
|
+
Examples:
|
|
218
|
+
- `npx --package @notis_ai/cli@latest -- notis apps roots list`
|
|
219
|
+
|
|
220
|
+
### `npx --package @notis_ai/cli@latest -- notis apps roots remove <folder>`
|
|
221
|
+
|
|
222
|
+
Stop watching a registered Notis app development root.
|
|
223
|
+
|
|
224
|
+
When to use: Remove a persistent development root. The built-in ~/.notis/apps root cannot be removed.
|
|
225
|
+
|
|
226
|
+
Examples:
|
|
227
|
+
- `npx --package @notis_ai/cli@latest -- notis apps roots remove ./old-apps`
|
|
163
228
|
|
|
164
229
|
### `npx --package @notis_ai/cli@latest -- notis apps build [dir]`
|
|
165
230
|
|
|
@@ -173,15 +238,16 @@ Examples:
|
|
|
173
238
|
|
|
174
239
|
### `npx --package @notis_ai/cli@latest -- notis apps verify [dir]`
|
|
175
240
|
|
|
176
|
-
Validate every route and
|
|
241
|
+
Validate that every route renders and reports Store listing readiness.
|
|
177
242
|
|
|
178
|
-
When to use:
|
|
243
|
+
When to use: Any time after notis apps build, and before deploy. Catches render-time crashes and missing runtime calls. Incomplete listing media is reported as a warning; pass --listing to fail on it instead.
|
|
179
244
|
|
|
180
245
|
Options:
|
|
181
246
|
- `--routes <slugs>` — Comma-separated route slugs. Default: every route in manifest.
|
|
182
247
|
- `--port <n>` — Loopback port. Default: auto-pick.
|
|
183
248
|
- `--skip-build` — Skip notis apps build; reuse existing .notis/output/.
|
|
184
|
-
- `--mode <mode>` — stub | live. Default stub. Live posts to /portal_views/runtime_query with the CLI JWT.
|
|
249
|
+
- `--mode <mode>` — stub | live. Default stub. Live posts to /portal_views/runtime_query with the CLI JWT and fails routes whose runtime calls all errored.
|
|
250
|
+
- `--listing` — Fail instead of warn when the Store listing (tagline, categories, screenshots, changelog) is incomplete.
|
|
185
251
|
- `--no-browser` — Start the harness server and print URLs; do not drive agent-browser.
|
|
186
252
|
- `--keep-open` — Leave server + browser session running after report (for manual triage).
|
|
187
253
|
|
|
@@ -189,6 +255,7 @@ Examples:
|
|
|
189
255
|
- `npx --package @notis_ai/cli@latest -- notis apps verify`
|
|
190
256
|
- `npx --package @notis_ai/cli@latest -- notis apps verify --routes notes`
|
|
191
257
|
- `npx --package @notis_ai/cli@latest -- notis apps verify --mode live`
|
|
258
|
+
- `npx --package @notis_ai/cli@latest -- notis apps verify --listing # gate on Store listing readiness before publish`
|
|
192
259
|
- `npx --package @notis_ai/cli@latest -- notis apps verify --no-browser # start the harness, drive agent-browser yourself`
|
|
193
260
|
|
|
194
261
|
### `npx --package @notis_ai/cli@latest -- notis apps screenshot [dir]`
|
|
@@ -231,22 +298,22 @@ When to use: Edit an installed app locally. Pulls the persisted source, links th
|
|
|
231
298
|
|
|
232
299
|
Options:
|
|
233
300
|
- `--force` — Overwrite a non-empty target directory.
|
|
234
|
-
- `--version <n>` — Pull a specific app source version (default: latest).
|
|
301
|
+
- `--source-version <n>` — Pull a specific app source version (default: latest).
|
|
235
302
|
|
|
236
303
|
Examples:
|
|
237
304
|
- `npx --package @notis_ai/cli@latest -- notis apps pull abc123`
|
|
238
|
-
- `npx --package @notis_ai/cli@latest -- notis apps pull abc123 ./my-app --force`
|
|
305
|
+
- `npx --package @notis_ai/cli@latest -- notis apps pull abc123 ./my-app --force --source-version 3`
|
|
239
306
|
|
|
240
307
|
### `npx --package @notis_ai/cli@latest -- notis apps deploy [dir]`
|
|
241
308
|
|
|
242
309
|
Build and upload the app to the linked Notis app.
|
|
243
310
|
|
|
244
|
-
When to use: Ship the installed app to production for the linked user/team app.
|
|
311
|
+
When to use: Ship the installed app to production for the linked user/team app. A project that has only a development app is promoted in place on first deploy: same app id, same databases, dev markers removed. This command does not publish to the app store.
|
|
245
312
|
|
|
246
313
|
Options:
|
|
247
314
|
- `--app-id <id>` — Override linked app ID.
|
|
248
315
|
- `--skip-build` — Skip the build step (use existing .notis/output/).
|
|
249
|
-
- `--direct` —
|
|
316
|
+
- `--direct` — Explicitly upload to Supabase storage, bypassing the backend server.
|
|
250
317
|
|
|
251
318
|
Examples:
|
|
252
319
|
- `npx --package @notis_ai/cli@latest -- notis apps deploy`
|
|
@@ -294,6 +361,43 @@ Examples:
|
|
|
294
361
|
- `npx --package @notis_ai/cli@latest -- notis apps doctor ./my-app`
|
|
295
362
|
|
|
296
363
|
|
|
364
|
+
## Hand-over
|
|
365
|
+
|
|
366
|
+
Give the branch you are on to a Notis agent, which continues the work in a git worktree on the Notis cloud computer. `--route` picks the agent: the hosted Notis agent, or the user's own Codex/Claude Code in the cloud sandbox or on their Mac. `--branch-mode same` makes the agent commit onto your branch; the default cuts a new branch from it.
|
|
367
|
+
|
|
368
|
+
### `npx --package @notis_ai/cli@latest -- notis handover start <task>`
|
|
369
|
+
|
|
370
|
+
Hand the current branch to a Notis agent and keep working.
|
|
371
|
+
|
|
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. Pick the agent with --route.
|
|
373
|
+
|
|
374
|
+
Options:
|
|
375
|
+
- `--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
|
+
- `--repo <slug>` — Configured repository slug on the cloud computer, when you know it.
|
|
378
|
+
- `--no-wip` — Refuse on a dirty tree instead of committing the changes first.
|
|
379
|
+
|
|
380
|
+
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 codex_cloud`
|
|
383
|
+
- `npx --package @notis_ai/cli@latest -- notis handover start "add integration tests" --route claude_cloud`
|
|
384
|
+
- `npx --package @notis_ai/cli@latest -- notis handover start "review and clean up this branch" --route claude_local`
|
|
385
|
+
|
|
386
|
+
### `npx --package @notis_ai/cli@latest -- notis handover status`
|
|
387
|
+
|
|
388
|
+
Show the coding-agent threads Notis is running for you.
|
|
389
|
+
|
|
390
|
+
When to use: Use this after a hand-over to see whether the agent is still working.
|
|
391
|
+
|
|
392
|
+
Options:
|
|
393
|
+
- `--provider <provider>` — Filter to codex or claude_code.
|
|
394
|
+
- `--refresh` — Force a live refresh instead of cached state.
|
|
395
|
+
|
|
396
|
+
Examples:
|
|
397
|
+
- `npx --package @notis_ai/cli@latest -- notis handover status`
|
|
398
|
+
- `npx --package @notis_ai/cli@latest -- notis handover status --provider codex --refresh`
|
|
399
|
+
|
|
400
|
+
|
|
297
401
|
## Generic Tools
|
|
298
402
|
|
|
299
403
|
### `npx --package @notis_ai/cli@latest -- notis tools toolkits`
|