@notis_ai/cli 0.2.0-beta.16.1 → 0.2.0-beta.160.1
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 +433 -133
- package/config/notis_app_boundary_rules.json +50 -0
- package/config/notis_app_design_rules.json +135 -0
- package/dist/agent-hooks/notis-agent-hook.mjs +18672 -0
- package/dist/base-skills/notis-apps/SKILL.md +70 -0
- package/dist/base-skills/notis-apps/references/architecture.md +164 -0
- package/dist/base-skills/notis-apps/references/context.md +81 -0
- package/dist/base-skills/notis-apps/references/design.md +165 -0
- package/dist/base-skills/notis-apps/references/reading.md +89 -0
- package/dist/base-skills/notis-apps/references/release.md +99 -0
- package/dist/base-skills/notis-apps/references/sdk.md +62 -0
- package/dist/base-skills/notis-apps/references/troubleshooting.md +23 -0
- package/dist/base-skills/notis-cli/SKILL.md +140 -0
- package/dist/base-skills/notis-cli/references/app-delivery.md +18 -0
- package/dist/base-skills/notis-cli/references/native-databases.md +20 -0
- package/dist/base-skills/notis-cli/references/tool-examples.md +56 -0
- package/dist/base-skills/notis-cli/references/troubleshooting.md +39 -0
- package/dist/base-skills/notis-query/SKILL.md +67 -0
- package/dist/base-skills/notis-query/references/database-discovery.md +59 -0
- package/dist/base-skills/notis-query/references/documents.md +50 -0
- package/dist/base-skills/notis-query/references/query.md +543 -0
- package/dist/skill-sync/index.js +1626 -0
- package/dist/skill-sync/index.js.map +7 -0
- package/dist/skill-sync-worker.mjs +2990 -0
- package/package.json +16 -6
- package/skills/notis-apps/cli.md +313 -0
- package/skills/notis-cli/AGENT_INSTRUCTIONS.md +39 -0
- package/skills/notis-onboarding/BRIEF.md +129 -0
- package/skills/notis-query/cli.md +39 -0
- package/src/agent-hook-entry.js +5 -0
- package/src/cli.js +294 -25
- package/src/command-specs/agents.js +392 -0
- package/src/command-specs/apps.js +1470 -202
- package/src/command-specs/auth.js +114 -137
- package/src/command-specs/diagnostics.js +716 -0
- package/src/command-specs/handover.js +374 -0
- package/src/command-specs/helpers.js +84 -82
- package/src/command-specs/index.js +25 -6
- package/src/command-specs/meta.js +150 -18
- package/src/command-specs/onboarding.js +290 -0
- package/src/command-specs/profile.js +358 -0
- package/src/command-specs/reports.js +86 -0
- package/src/command-specs/skills.js +75 -0
- package/src/command-specs/smoke.js +386 -0
- package/src/command-specs/tools.js +455 -139
- package/src/runtime/agent-browser.js +632 -0
- package/src/runtime/agent-memory-state.js +126 -0
- package/src/runtime/agent-setup.js +383 -0
- package/src/runtime/app-boundary-validator.js +404 -0
- package/src/runtime/app-changelog.js +79 -0
- package/src/runtime/app-platform.js +2633 -210
- package/src/runtime/app-registry-scaffolds.js +367 -0
- package/src/runtime/app-test-server.js +292 -0
- package/src/runtime/assets/store-screenshot-dark.png +0 -0
- package/src/runtime/auth-recovery.js +110 -0
- package/src/runtime/base-skills.d.ts +20 -0
- package/src/runtime/base-skills.js +167 -0
- package/src/runtime/channel.js +133 -0
- package/src/runtime/delegated-context.js +68 -0
- package/src/runtime/errors.js +1 -0
- package/src/runtime/git.js +233 -0
- package/src/runtime/login-listener.js +15 -0
- package/src/runtime/oauth.js +2622 -0
- package/src/runtime/output.js +37 -5
- package/src/runtime/ports.js +31 -0
- package/src/runtime/profiles.js +906 -55
- package/src/runtime/skill-sync/cloud-client.ts +99 -0
- package/src/runtime/skill-sync/index.ts +697 -0
- package/src/runtime/skill-sync/local-scanner.ts +1046 -0
- package/src/runtime/skill-sync/symlink-manager.ts +433 -0
- package/src/runtime/skill-sync/sync-plan.ts +22 -0
- package/src/runtime/skill-sync/types.ts +110 -0
- package/src/runtime/skill-sync/write-cloud-skill.ts +50 -0
- package/src/runtime/skill-sync-service.js +109 -0
- package/src/runtime/store-screenshot.js +143 -0
- package/src/runtime/sync-skills.d.ts +37 -0
- package/src/runtime/sync-skills.js +231 -0
- package/src/runtime/telemetry.js +92 -0
- package/src/runtime/transport.js +324 -45
- package/src/skill-sync-worker-entry.js +2 -0
- package/src/skill-sync-worker.js +50 -0
- package/template/.harness/index.html.tmpl +430 -0
- package/template/CHANGELOG.md +5 -0
- package/template/app/layout.tsx +5 -2
- package/template/app/page.tsx +49 -42
- package/template/components/page-heading.tsx +23 -0
- package/template/components/ui/badge.tsx +7 -4
- package/template/components/ui/card.tsx +24 -11
- package/template/components/ui/native-select.tsx +24 -0
- package/template/notis.config.ts +24 -6
- package/template/package-lock.json +4137 -0
- package/template/package.json +5 -5
- package/template/packages/{notis-sdk → sdk}/package.json +13 -3
- package/template/packages/sdk/src/agentContext.ts +36 -0
- package/template/packages/sdk/src/components/DocumentEditor.tsx +103 -0
- package/template/packages/sdk/src/components/Markdown.tsx +60 -0
- package/template/packages/sdk/src/components/MarkdownEditor.tsx +121 -0
- package/template/packages/sdk/src/components/MultiSelectActionBar.tsx +285 -0
- package/template/packages/sdk/src/components/MultiSelectCheckbox.tsx +97 -0
- package/template/packages/sdk/src/components/MultiSelectDragOverlay.tsx +39 -0
- package/template/packages/sdk/src/components/NotisCommentBoundary.tsx +172 -0
- package/template/packages/sdk/src/components/NotisSelectionBoundary.tsx +59 -0
- package/template/packages/sdk/src/components/ShortcutHints.tsx +56 -0
- package/template/packages/sdk/src/components/Skeleton.tsx +24 -0
- package/template/packages/sdk/src/config.ts +257 -0
- package/template/packages/sdk/src/documents.ts +256 -0
- package/template/packages/sdk/src/hooks/useActiveResource.ts +19 -0
- package/template/packages/sdk/src/hooks/useAgentContext.ts +23 -0
- package/template/packages/sdk/src/hooks/useCloudComputer.ts +64 -0
- package/template/packages/sdk/src/hooks/useCollectionInteractions.ts +836 -0
- package/template/packages/sdk/src/hooks/useDatabaseSchema.ts +49 -0
- package/template/packages/sdk/src/hooks/useDatabaseSubscription.ts +76 -0
- package/template/packages/sdk/src/hooks/useDocument.ts +43 -0
- package/template/packages/sdk/src/hooks/useDocuments.ts +84 -0
- package/template/packages/sdk/src/hooks/useHandover.ts +78 -0
- package/template/packages/sdk/src/hooks/useLongPressSelection.ts +79 -0
- package/template/packages/sdk/src/hooks/useMultiSelect.ts +95 -0
- package/template/packages/{notis-sdk → sdk}/src/hooks/useNotis.ts +10 -4
- package/template/packages/{notis-sdk → sdk}/src/hooks/useNotisNavigation.ts +11 -8
- package/template/packages/sdk/src/hooks/useQuery.ts +71 -0
- package/template/packages/sdk/src/hooks/useTool.ts +65 -0
- package/template/packages/sdk/src/hooks/useToolQuery.ts +12 -0
- package/template/packages/sdk/src/hooks/useTopBarSearch.ts +81 -0
- package/template/packages/sdk/src/hooks/useUpsertDocument.ts +95 -0
- package/template/packages/sdk/src/index.ts +161 -0
- package/template/packages/sdk/src/interactions/actions.ts +59 -0
- package/template/packages/sdk/src/interactions/shortcuts.tsx +694 -0
- package/template/packages/sdk/src/interactions/visibility.ts +13 -0
- package/template/packages/sdk/src/interactions.ts +45 -0
- package/template/packages/sdk/src/provider.tsx +44 -0
- package/template/packages/sdk/src/queryCache.ts +170 -0
- package/template/packages/sdk/src/runtime.ts +451 -0
- package/template/packages/sdk/src/styles.css +213 -0
- package/template/packages/sdk/src/tailwind.ts +56 -0
- package/template/packages/{notis-sdk → sdk}/src/vite.ts +5 -1
- package/template/tailwind.config.ts +1 -0
- package/src/command-specs/db.js +0 -163
- package/src/runtime/app-preview-server.js +0 -312
- package/template/packages/notis-sdk/src/config.ts +0 -48
- package/template/packages/notis-sdk/src/helpers.ts +0 -131
- package/template/packages/notis-sdk/src/hooks/useAppState.ts +0 -50
- package/template/packages/notis-sdk/src/hooks/useCollectionItem.ts +0 -58
- package/template/packages/notis-sdk/src/hooks/useDatabase.ts +0 -87
- package/template/packages/notis-sdk/src/hooks/useDocument.ts +0 -61
- package/template/packages/notis-sdk/src/hooks/useTool.ts +0 -49
- package/template/packages/notis-sdk/src/hooks/useUpsertDocument.ts +0 -57
- package/template/packages/notis-sdk/src/index.ts +0 -47
- package/template/packages/notis-sdk/src/provider.tsx +0 -44
- package/template/packages/notis-sdk/src/runtime.ts +0 -159
- package/template/packages/notis-sdk/src/styles.css +0 -123
- /package/template/packages/{notis-sdk → sdk}/src/hooks/useBackend.ts +0 -0
- /package/template/packages/{notis-sdk → sdk}/src/hooks/useTools.ts +0 -0
- /package/template/packages/{notis-sdk → sdk}/src/ui.ts +0 -0
- /package/template/packages/{notis-sdk → sdk}/tsconfig.json +0 -0
package/README.md
CHANGED
|
@@ -1,21 +1,54 @@
|
|
|
1
1
|
# @notis_ai/cli
|
|
2
2
|
|
|
3
|
-
Agent-first Notis CLI for apps
|
|
3
|
+
Agent-first Notis CLI for apps and generic tool execution.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
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
|
+
|
|
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
|
+
|
|
11
|
+
For CI, hosted agents, or internal scripts, pass a non-persisted token with `NOTIS_JWT=<token>`.
|
|
8
12
|
|
|
9
13
|
## Quick Start
|
|
10
14
|
|
|
11
15
|
```bash
|
|
12
|
-
notis --help
|
|
13
|
-
notis
|
|
14
|
-
notis
|
|
15
|
-
notis
|
|
16
|
+
npx --package @notis_ai/cli@latest -- notis --help
|
|
17
|
+
npx --package @notis_ai/cli@latest -- notis login
|
|
18
|
+
npx --package @notis_ai/cli@latest -- notis doctor
|
|
19
|
+
npx --package @notis_ai/cli@latest -- notis apps list
|
|
20
|
+
npx --package @notis_ai/cli@latest -- notis tools search "list Notis databases"
|
|
16
21
|
```
|
|
17
22
|
|
|
18
|
-
|
|
23
|
+
Use `notis login --paste-code` for the HTTPS copy-paste fallback on a remote machine.
|
|
24
|
+
|
|
25
|
+
## Release channels
|
|
26
|
+
|
|
27
|
+
`@latest` is the only tag worth documenting, for beta accounts too.
|
|
28
|
+
|
|
29
|
+
The npm tag has to be chosen before the CLI starts, and the CLI only learns which Notis it talks to once it reads the profile — so no single install command can be right for both environments on its own. Instead the deployment answers the question: `/.well-known/oauth-protected-resource/cli` reports its channel, `notis login` pins it on the profile, and any later run that finds itself on the wrong build hands the whole invocation to the right one before it does anything else.
|
|
30
|
+
|
|
31
|
+
- `notis doctor` reports `release_channel`, `cli_version`, and a `channel` check.
|
|
32
|
+
- `--api-base <url>` decides the build for that one run, so a one-off call against another environment uses the matching CLI.
|
|
33
|
+
- `./dev.sh` profiles and source checkouts are never re-executed: whatever you started stays in control.
|
|
34
|
+
- `NOTIS_CLI_AUTO_CHANNEL=0` disables the hand-off; `doctor` then reports the mismatch instead of correcting it.
|
|
35
|
+
|
|
36
|
+
## Profiles
|
|
37
|
+
|
|
38
|
+
A profile is one account paired with one API endpoint. Every profile keeps its own credential, so switching between them never signs any of them out.
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
npx --package @notis_ai/cli@latest -- notis login --profile work
|
|
42
|
+
npx --package @notis_ai/cli@latest -- notis profile list
|
|
43
|
+
npx --package @notis_ai/cli@latest -- notis profile use work
|
|
44
|
+
npx --package @notis_ai/cli@latest -- notis --profile default tools search "..."
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
`notis logout` revokes and removes the OAuth grant for one profile; `--all-profiles` clears every one.
|
|
48
|
+
|
|
49
|
+
Credential precedence within the selected profile is: an active `./dev.sh` worktree credential, then `NOTIS_JWT`, then the profile's OAuth grant.
|
|
50
|
+
|
|
51
|
+
`./dev.sh` exposes its test account as a lease-backed `dev-<workspace>-<hash>` profile bound to its loopback backend. The credential stays in the worktree rather than the shared account config. That synthetic profile is the default only inside its active worktree; naming any stored profile with `--profile` runs against that real account instead.
|
|
19
52
|
|
|
20
53
|
The CLI defaults to `json` output in agent or non-TTY contexts and `table` output in interactive terminals.
|
|
21
54
|
|
|
@@ -24,244 +57,443 @@ The CLI defaults to `json` output in agent or non-TTY contexts and `table` outpu
|
|
|
24
57
|
- `--json` — Shortcut for `--output json`
|
|
25
58
|
- `--output <table|json|yaml|ndjson>` — Output mode override
|
|
26
59
|
- `--non-interactive` — Disable prompts
|
|
27
|
-
- `--profile <name>` —
|
|
60
|
+
- `--profile <name>` — Run as a stored profile instead of the active one
|
|
28
61
|
- `--api-base <url>` — Override the API base for one invocation
|
|
29
62
|
- `--timeout-ms <n>` — HTTP timeout in milliseconds
|
|
30
63
|
- `--idempotency-key <key>` — Override the generated idempotency key for mutating commands
|
|
31
64
|
|
|
32
|
-
##
|
|
65
|
+
## Authentication
|
|
66
|
+
|
|
67
|
+
### `npx --package @notis_ai/cli@latest -- notis login`
|
|
68
|
+
|
|
69
|
+
Authorize a CLI profile in a browser with scoped OAuth access.
|
|
70
|
+
|
|
71
|
+
When to use: Run this once per account you want the CLI to reach. Pass --profile to add a second account without signing the first one out.
|
|
33
72
|
|
|
34
|
-
|
|
73
|
+
Options:
|
|
74
|
+
- `--no-browser` — Print the authorization URL without opening a browser.
|
|
75
|
+
- `--print-url` — Print the authorization URL even when opening a browser.
|
|
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).
|
|
79
|
+
- `--scope <scope>` — OAuth permission to request (repeatable).
|
|
80
|
+
- `--code <code>` — Redeem the code shown in the browser after a non-interactive login.
|
|
81
|
+
|
|
82
|
+
Examples:
|
|
83
|
+
- `npx --package @notis_ai/cli@latest -- notis login`
|
|
84
|
+
- `npx --package @notis_ai/cli@latest -- notis login --profile work`
|
|
85
|
+
- `npx --package @notis_ai/cli@latest -- notis login --profile beta --api-base https://api-beta.notis.ai`
|
|
86
|
+
- `npx --package @notis_ai/cli@latest -- notis login --no-browser --print-url`
|
|
87
|
+
- `npx --package @notis_ai/cli@latest -- notis login --mode browser`
|
|
88
|
+
- `npx --package @notis_ai/cli@latest -- notis login --mode code`
|
|
89
|
+
- `npx --package @notis_ai/cli@latest -- notis login --code 4f3c2b1a`
|
|
35
90
|
|
|
36
|
-
|
|
91
|
+
### `npx --package @notis_ai/cli@latest -- notis logout`
|
|
37
92
|
|
|
38
|
-
|
|
93
|
+
Revoke and remove the OAuth credential for one CLI profile.
|
|
94
|
+
|
|
95
|
+
When to use: Use this to disconnect a single account. Other profiles keep their credentials unless you pass --all-profiles.
|
|
39
96
|
|
|
40
97
|
Options:
|
|
41
|
-
- `--
|
|
98
|
+
- `--all-profiles` — Clear OAuth credentials and pending authorizations from every CLI profile.
|
|
42
99
|
|
|
43
100
|
Examples:
|
|
44
|
-
- `
|
|
45
|
-
- `
|
|
101
|
+
- `npx --package @notis_ai/cli@latest -- notis logout`
|
|
102
|
+
- `npx --package @notis_ai/cli@latest -- notis logout --profile work`
|
|
103
|
+
- `npx --package @notis_ai/cli@latest -- notis logout --all-profiles`
|
|
104
|
+
|
|
46
105
|
|
|
47
|
-
|
|
106
|
+
## Coding-agent context
|
|
48
107
|
|
|
49
|
-
|
|
108
|
+
### `npx --package @notis_ai/cli@latest -- notis agents install`
|
|
50
109
|
|
|
51
|
-
|
|
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.
|
|
52
118
|
|
|
53
119
|
Examples:
|
|
54
|
-
- `notis
|
|
55
|
-
- `notis
|
|
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
|
+
|
|
56
125
|
|
|
57
|
-
|
|
126
|
+
## Skills
|
|
58
127
|
|
|
59
|
-
|
|
128
|
+
### `npx --package @notis_ai/cli@latest -- notis skills sync`
|
|
60
129
|
|
|
61
|
-
|
|
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.
|
|
62
133
|
|
|
63
134
|
Options:
|
|
64
|
-
- `--
|
|
135
|
+
- `--electron-repeat` — Honor the automatic Desktop sync preference (used by Notis Desktop).
|
|
65
136
|
|
|
66
137
|
Examples:
|
|
67
|
-
- `notis
|
|
68
|
-
- `
|
|
138
|
+
- `npx --package @notis_ai/cli@latest -- notis skills sync`
|
|
139
|
+
- `npx --package @notis_ai/cli@latest -- notis skills sync --json`
|
|
69
140
|
|
|
70
141
|
|
|
71
142
|
## Apps
|
|
72
143
|
|
|
73
|
-
### `notis apps list`
|
|
144
|
+
### `npx --package @notis_ai/cli@latest -- notis apps list`
|
|
74
145
|
|
|
75
146
|
List apps the current profile can access.
|
|
76
147
|
|
|
77
148
|
When to use: Discover existing apps before linking or deploying.
|
|
78
149
|
|
|
79
150
|
Examples:
|
|
80
|
-
- `notis apps list`
|
|
81
|
-
- `notis apps list --json`
|
|
151
|
+
- `npx --package @notis_ai/cli@latest -- notis apps list`
|
|
152
|
+
- `npx --package @notis_ai/cli@latest -- notis apps list --json`
|
|
82
153
|
|
|
83
|
-
### `notis apps init <name> [dir]`
|
|
154
|
+
### `npx --package @notis_ai/cli@latest -- notis apps init <name> [dir]`
|
|
84
155
|
|
|
85
156
|
Scaffold a new Notis app project.
|
|
86
157
|
|
|
87
|
-
When to use: Start a new Notis app.
|
|
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.
|
|
159
|
+
|
|
160
|
+
Options:
|
|
161
|
+
- `--from <slug>` — Start from a published Store app listed by `notis apps scaffolds list`. Downloads its source from the public app registry.
|
|
88
162
|
|
|
89
163
|
Examples:
|
|
90
|
-
- `notis apps
|
|
91
|
-
- `notis apps init "
|
|
164
|
+
- `npx --package @notis_ai/cli@latest -- notis apps scaffolds list`
|
|
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`
|
|
168
|
+
|
|
169
|
+
### `npx --package @notis_ai/cli@latest -- notis apps scaffolds list`
|
|
92
170
|
|
|
93
|
-
|
|
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.
|
|
174
|
+
|
|
175
|
+
Options:
|
|
176
|
+
- `--search <term>` — Filter scaffolds by name, tagline, description, or category.
|
|
177
|
+
|
|
178
|
+
Examples:
|
|
179
|
+
- `npx --package @notis_ai/cli@latest -- notis apps scaffolds list`
|
|
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`
|
|
182
|
+
|
|
183
|
+
### `npx --package @notis_ai/cli@latest -- notis apps create <name> [dir]`
|
|
94
184
|
|
|
95
185
|
Create a new remote Notis app and optionally link a local project to it.
|
|
96
186
|
|
|
97
187
|
When to use: Provision a fresh remote app before the first deploy. Pass a project directory to link it immediately.
|
|
98
188
|
|
|
99
189
|
Options:
|
|
100
|
-
- `--
|
|
101
|
-
- `--icon <lucide:icon>` — Optional Lucide icon, for example lucide:dices.
|
|
190
|
+
- `--team-id <id>` — Create or reuse the exact team-scoped app (default: personal).
|
|
102
191
|
|
|
103
192
|
Examples:
|
|
104
|
-
- `notis apps create "My App"`
|
|
105
|
-
- `notis apps create "My App"
|
|
193
|
+
- `npx --package @notis_ai/cli@latest -- notis apps create "My App"`
|
|
194
|
+
- `npx --package @notis_ai/cli@latest -- notis apps create "My App" .`
|
|
106
195
|
|
|
107
|
-
### `notis apps
|
|
196
|
+
### `npx --package @notis_ai/cli@latest -- notis apps build [dir]`
|
|
108
197
|
|
|
109
|
-
|
|
198
|
+
Build and package the app into .notis/output/.
|
|
110
199
|
|
|
111
|
-
When to use:
|
|
200
|
+
When to use: Prepare the app for verification or deployment.
|
|
112
201
|
|
|
113
202
|
Examples:
|
|
114
|
-
- `notis apps
|
|
115
|
-
- `notis apps
|
|
203
|
+
- `npx --package @notis_ai/cli@latest -- notis apps build`
|
|
204
|
+
- `npx --package @notis_ai/cli@latest -- notis apps build ./my-app`
|
|
116
205
|
|
|
117
|
-
### `notis apps
|
|
206
|
+
### `npx --package @notis_ai/cli@latest -- notis apps verify [dir]`
|
|
118
207
|
|
|
119
|
-
|
|
208
|
+
Validate that every route renders and reports Store listing readiness.
|
|
120
209
|
|
|
121
|
-
When to use:
|
|
210
|
+
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.
|
|
211
|
+
|
|
212
|
+
Options:
|
|
213
|
+
- `--routes <slugs>` — Comma-separated route slugs. Default: every route in manifest.
|
|
214
|
+
- `--port <n>` — Loopback port. Default: auto-pick.
|
|
215
|
+
- `--skip-build` — Skip notis apps build; reuse existing .notis/output/.
|
|
216
|
+
- `--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.
|
|
217
|
+
- `--listing` — Fail instead of warn when the Store listing (tagline, categories, screenshots, changelog) is incomplete.
|
|
218
|
+
- `--no-browser` — Start the harness server and print URLs; do not drive agent-browser.
|
|
219
|
+
- `--keep-open` — Leave server + browser session running after report (for manual triage).
|
|
122
220
|
|
|
123
221
|
Examples:
|
|
124
|
-
- `notis apps
|
|
125
|
-
- `notis apps
|
|
222
|
+
- `npx --package @notis_ai/cli@latest -- notis apps verify`
|
|
223
|
+
- `npx --package @notis_ai/cli@latest -- notis apps verify --routes notes`
|
|
224
|
+
- `npx --package @notis_ai/cli@latest -- notis apps verify --mode live`
|
|
225
|
+
- `npx --package @notis_ai/cli@latest -- notis apps verify --listing # gate on Store listing readiness before publish`
|
|
226
|
+
- `npx --package @notis_ai/cli@latest -- notis apps verify --no-browser # start the harness, drive agent-browser yourself`
|
|
126
227
|
|
|
127
|
-
### `notis apps
|
|
228
|
+
### `npx --package @notis_ai/cli@latest -- notis apps screenshot [dir]`
|
|
128
229
|
|
|
129
|
-
|
|
230
|
+
Capture configured listing route/scenario states via the headless harness.
|
|
130
231
|
|
|
131
|
-
When to use:
|
|
232
|
+
When to use: Generate the 3–6 declared metadata/screenshot-N.png files for the App Store listing. Apps are icon-led (like Raycast) — there is no cover image, only these screenshots. Each screenshot may set a focus selector to remove empty canvas and a light or dark theme that also controls its Store frame. Run before notis apps verify / deploy / publish.
|
|
132
233
|
|
|
133
234
|
Options:
|
|
134
|
-
- `--
|
|
235
|
+
- `--routes <slugs>` — Comma-separated route slugs. Default: every configured screenshot state.
|
|
236
|
+
- `--port <n>` — Loopback port. Default: auto-pick.
|
|
237
|
+
- `--width <px>` — Viewport width. Default: 2000.
|
|
238
|
+
- `--height <px>` — Viewport height. Default: 1250 (16:10).
|
|
239
|
+
- `--output-dir <dir>` — Where to write screenshot-N.png. Default: metadata/.
|
|
240
|
+
- `--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.
|
|
241
|
+
- `--raw` — Write the unframed harness capture instead of the default Store presentation.
|
|
242
|
+
- `--skip-build` — Skip notis apps build; reuse existing .notis/output/.
|
|
135
243
|
|
|
136
244
|
Examples:
|
|
137
|
-
- `notis apps
|
|
138
|
-
- `notis apps
|
|
245
|
+
- `npx --package @notis_ai/cli@latest -- notis apps screenshot # honors notis.config.ts screenshot scenarios`
|
|
246
|
+
- `npx --package @notis_ai/cli@latest -- notis apps screenshot --routes home,history`
|
|
247
|
+
- `npx --package @notis_ai/cli@latest -- notis apps screenshot --mode live # populated screenshots from real data`
|
|
248
|
+
- `npx --package @notis_ai/cli@latest -- notis apps screenshot --raw # diagnostic capture without Store framing`
|
|
139
249
|
|
|
140
|
-
### `notis apps link <app-id> [dir]`
|
|
250
|
+
### `npx --package @notis_ai/cli@latest -- notis apps link <app-id> [dir]`
|
|
141
251
|
|
|
142
252
|
Link a local project to a remote Notis app.
|
|
143
253
|
|
|
144
254
|
When to use: Connect a local project to an existing app for deployment.
|
|
145
255
|
|
|
256
|
+
Options:
|
|
257
|
+
- `--expected-version <version>` — Link only if the remote deployment version still matches this non-negative integer.
|
|
258
|
+
|
|
146
259
|
Examples:
|
|
147
|
-
- `notis apps link abc123`
|
|
148
|
-
- `notis apps link abc123 ./my-app`
|
|
260
|
+
- `npx --package @notis_ai/cli@latest -- notis apps link abc123`
|
|
261
|
+
- `npx --package @notis_ai/cli@latest -- notis apps link abc123 ./my-app`
|
|
262
|
+
- `npx --package @notis_ai/cli@latest -- notis apps link abc123 ./recovered-app --expected-version 0`
|
|
149
263
|
|
|
150
|
-
### `notis apps
|
|
264
|
+
### `npx --package @notis_ai/cli@latest -- notis apps pull <app-id> [dir]`
|
|
151
265
|
|
|
152
|
-
|
|
266
|
+
Download a Notis app source snapshot into a local project folder.
|
|
153
267
|
|
|
154
|
-
When to use:
|
|
268
|
+
When to use: Edit an installed app. Preserve local edits, pull and link its persisted source, then build, verify and deploy.
|
|
269
|
+
|
|
270
|
+
Options:
|
|
271
|
+
- `--force` — Overwrite a non-empty target directory.
|
|
272
|
+
- `--source-version <n>` — Pull a specific app source version (default: latest).
|
|
273
|
+
|
|
274
|
+
Examples:
|
|
275
|
+
- `npx --package @notis_ai/cli@latest -- notis apps pull abc123`
|
|
276
|
+
- `npx --package @notis_ai/cli@latest -- notis apps pull abc123 ./my-app --force --source-version 3`
|
|
277
|
+
|
|
278
|
+
### `npx --package @notis_ai/cli@latest -- notis apps deploy [dir]`
|
|
279
|
+
|
|
280
|
+
Build, verify and release the linked Workspace app.
|
|
281
|
+
|
|
282
|
+
When to use: Build, verify and release the linked personal or team Workspace app. This command does not publish to the Store.
|
|
155
283
|
|
|
156
284
|
Options:
|
|
157
285
|
- `--app-id <id>` — Override linked app ID.
|
|
158
|
-
- `--skip-build` —
|
|
159
|
-
- `--direct` — Upload directly to Supabase storage, bypassing the backend server. Auto-fallback on network errors.
|
|
286
|
+
- `--skip-build` — Reuse unchanged build output; automated verification still runs.
|
|
160
287
|
|
|
161
288
|
Examples:
|
|
162
|
-
- `notis apps deploy`
|
|
163
|
-
- `notis apps deploy --skip-build`
|
|
164
|
-
- `notis apps deploy --app-id abc123`
|
|
165
|
-
- `notis apps deploy --direct`
|
|
166
289
|
|
|
167
|
-
### `notis apps
|
|
290
|
+
### `npx --package @notis_ai/cli@latest -- notis apps publish [dir]`
|
|
291
|
+
|
|
292
|
+
Submit the deployed app for Store review.
|
|
293
|
+
|
|
294
|
+
When to use: After the user explicitly confirms the App Details page and Store listing are ready. Requires the current local project to match the latest deployed version.
|
|
295
|
+
|
|
296
|
+
Options:
|
|
297
|
+
- `--app-id <id>` — Override linked app ID.
|
|
298
|
+
- `--confirm-ready` — Confirm the user approved the current App Details page for Store submission.
|
|
299
|
+
|
|
300
|
+
Examples:
|
|
301
|
+
- `npx --package @notis_ai/cli@latest -- notis apps publish --confirm-ready`
|
|
302
|
+
- `npx --package @notis_ai/cli@latest -- notis apps publish ./my-app --confirm-ready`
|
|
303
|
+
|
|
304
|
+
### `npx --package @notis_ai/cli@latest -- notis apps duplicate [dir]`
|
|
305
|
+
|
|
306
|
+
Duplicate an app into an independent copy with its own databases.
|
|
307
|
+
|
|
308
|
+
When to use: When the same app should run for a second purpose - a notes app for blog drafts alongside one for bookmarks. The copy shares no data with the source.
|
|
309
|
+
|
|
310
|
+
Options:
|
|
311
|
+
- `--app-id <id>` — App to duplicate. Defaults to the app this project is linked to.
|
|
312
|
+
- `--name <name>` — Name for the duplicate (default: the source name followed by "copy").
|
|
313
|
+
- `--copy-documents <mode>` — Which rows to copy: 'declared' (default, the starter content a fresh install would have), 'all', or 'none'.
|
|
314
|
+
|
|
315
|
+
Examples:
|
|
316
|
+
- `npx --package @notis_ai/cli@latest -- notis apps duplicate --name "Blog"`
|
|
317
|
+
- `npx --package @notis_ai/cli@latest -- notis apps duplicate --app-id abc123 --name "Bookmarks" --copy-documents none`
|
|
318
|
+
|
|
319
|
+
### `npx --package @notis_ai/cli@latest -- notis apps doctor [dir]`
|
|
168
320
|
|
|
169
321
|
Check project health and readiness.
|
|
170
322
|
|
|
171
323
|
When to use: Diagnose issues with a Notis app project.
|
|
172
324
|
|
|
173
325
|
Examples:
|
|
174
|
-
- `notis apps doctor`
|
|
175
|
-
- `notis apps doctor ./my-app`
|
|
326
|
+
- `npx --package @notis_ai/cli@latest -- notis apps doctor`
|
|
327
|
+
- `npx --package @notis_ai/cli@latest -- notis apps doctor ./my-app`
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
## Reports
|
|
331
|
+
|
|
332
|
+
Reports save independent SDK documents into app-owned database records. They do not deploy an app or change shared app routes.
|
|
176
333
|
|
|
334
|
+
Choose the owning database first and author exactly one SDK route. Keep readable content in a separate context file. Build, verify, inspect the preview, then save. Save rebuilds and stub-verifies a frozen artifact before persistence; local verification does not prove that live data loaded in the saved report.
|
|
177
335
|
|
|
178
|
-
|
|
336
|
+
To revise, read the current document and recover its source from the short-lived `report_source_url`. Pass `--document-id` and the freshly read `--expected-revision`; add `--attach` only to replace the body of an existing non-view record. Read back the saved record and inspect its native URL. See the product `notis-reports` skill for the full authoring contract.
|
|
179
337
|
|
|
180
|
-
### `notis
|
|
338
|
+
### `npx --package @notis_ai/cli@latest -- notis reports init <name> [dir]`
|
|
181
339
|
|
|
182
|
-
|
|
340
|
+
Init a record-owned SDK report locally.
|
|
183
341
|
|
|
184
|
-
When to use:
|
|
342
|
+
When to use: Author an independent report without deploying its owning app.
|
|
343
|
+
|
|
344
|
+
Options:
|
|
345
|
+
- `--from <slug>` — Start from a published Store app listed by `notis apps scaffolds list`. Downloads its source from the public app registry.
|
|
185
346
|
|
|
186
347
|
Examples:
|
|
187
|
-
- `notis
|
|
188
|
-
- `notis
|
|
348
|
+
- `npx --package @notis_ai/cli@latest -- notis apps scaffolds list`
|
|
349
|
+
- `npx --package @notis_ai/cli@latest -- notis reports init "Mind the Flo"`
|
|
350
|
+
- `npx --package @notis_ai/cli@latest -- notis reports init "My CRM" --from databases`
|
|
351
|
+
- `npx --package @notis_ai/cli@latest -- notis reports init "My App" ~/code/my-app`
|
|
352
|
+
|
|
353
|
+
### `npx --package @notis_ai/cli@latest -- notis reports build [dir]`
|
|
189
354
|
|
|
190
|
-
|
|
355
|
+
Build a record-owned SDK report locally.
|
|
191
356
|
|
|
192
|
-
|
|
357
|
+
When to use: Author an independent report without deploying its owning app.
|
|
358
|
+
|
|
359
|
+
Examples:
|
|
360
|
+
- `npx --package @notis_ai/cli@latest -- notis reports build`
|
|
361
|
+
- `npx --package @notis_ai/cli@latest -- notis reports build ./my-app`
|
|
193
362
|
|
|
194
|
-
|
|
363
|
+
### `npx --package @notis_ai/cli@latest -- notis reports verify [dir]`
|
|
364
|
+
|
|
365
|
+
Verify a record-owned SDK report locally.
|
|
366
|
+
|
|
367
|
+
When to use: Author an independent report without deploying its owning app.
|
|
195
368
|
|
|
196
369
|
Options:
|
|
197
|
-
- `--
|
|
198
|
-
- `--
|
|
199
|
-
- `--
|
|
200
|
-
- `--
|
|
201
|
-
- `--
|
|
202
|
-
- `--
|
|
370
|
+
- `--routes <slugs>` — Comma-separated route slugs. Default: every route in manifest.
|
|
371
|
+
- `--port <n>` — Loopback port. Default: auto-pick.
|
|
372
|
+
- `--skip-build` — Skip notis apps build; reuse existing .notis/output/.
|
|
373
|
+
- `--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.
|
|
374
|
+
- `--listing` — Ignored for reports; saving a report does not publish a Store listing.
|
|
375
|
+
- `--no-browser` — Start the harness server and print URLs; do not drive agent-browser.
|
|
376
|
+
- `--keep-open` — Leave server + browser session running after report (for manual triage).
|
|
203
377
|
|
|
204
378
|
Examples:
|
|
205
|
-
- `
|
|
206
|
-
- `
|
|
379
|
+
- `npx --package @notis_ai/cli@latest -- notis reports verify`
|
|
380
|
+
- `npx --package @notis_ai/cli@latest -- notis reports verify --routes notes`
|
|
381
|
+
- `npx --package @notis_ai/cli@latest -- notis reports verify --mode live`
|
|
382
|
+
- `npx --package @notis_ai/cli@latest -- notis reports verify --no-browser # start the harness, drive agent-browser yourself`
|
|
207
383
|
|
|
208
|
-
### `notis
|
|
384
|
+
### `npx --package @notis_ai/cli@latest -- notis reports preview [dir]`
|
|
209
385
|
|
|
210
|
-
|
|
386
|
+
Preview a record-owned SDK report locally. Keeps the preview server and browser session open.
|
|
211
387
|
|
|
212
|
-
When to use:
|
|
388
|
+
When to use: Author an independent report without deploying its owning app.
|
|
213
389
|
|
|
214
390
|
Options:
|
|
215
|
-
- `--
|
|
216
|
-
- `--
|
|
217
|
-
- `--
|
|
218
|
-
- `--
|
|
219
|
-
- `--
|
|
391
|
+
- `--routes <slugs>` — Comma-separated route slugs. Default: every route in manifest.
|
|
392
|
+
- `--port <n>` — Loopback port. Default: auto-pick.
|
|
393
|
+
- `--skip-build` — Skip notis apps build; reuse existing .notis/output/.
|
|
394
|
+
- `--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.
|
|
395
|
+
- `--listing` — Ignored for reports; saving a report does not publish a Store listing.
|
|
396
|
+
- `--no-browser` — Start the harness server and print URLs; do not drive agent-browser.
|
|
397
|
+
- `--keep-open` — Leave server + browser session running after report (for manual triage).
|
|
220
398
|
|
|
221
399
|
Examples:
|
|
222
|
-
- `
|
|
223
|
-
- `notis
|
|
400
|
+
- `npx --package @notis_ai/cli@latest -- notis reports preview`
|
|
401
|
+
- `npx --package @notis_ai/cli@latest -- notis reports preview --routes notes`
|
|
402
|
+
- `npx --package @notis_ai/cli@latest -- notis reports preview --mode live`
|
|
403
|
+
- `npx --package @notis_ai/cli@latest -- notis reports preview --no-browser # start the harness, drive agent-browser yourself`
|
|
404
|
+
|
|
405
|
+
### `npx --package @notis_ai/cli@latest -- notis reports save [dir]`
|
|
406
|
+
|
|
407
|
+
Build, verify and save a report into an app-owned database record.
|
|
408
|
+
|
|
409
|
+
When to use: Persist an independently authored report, not an app release.
|
|
410
|
+
|
|
411
|
+
Options:
|
|
412
|
+
- `--database-id <id>` — Required. Owning app database.
|
|
413
|
+
- `--document-id <id>` — Existing record to update or attach to.
|
|
414
|
+
- `--attach` — Attach to an existing non-view record.
|
|
415
|
+
- `--expected-revision <revision>` — Fresh view revision (0 for a record without a view).
|
|
416
|
+
- `--title <title>` — Required, including updates. Record title.
|
|
417
|
+
- `--context-file <file>` — Required. UTF-8 readable report content and structure.
|
|
418
|
+
- `--properties-file <file>` — JSON database property values keyed by name.
|
|
419
|
+
|
|
420
|
+
Examples:
|
|
421
|
+
- `npx --package @notis_ai/cli@latest -- notis reports save ./weekly-report --database-id <id> --title "Weekly review" --context-file ./context.md`
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
## Hand-over
|
|
425
|
+
|
|
426
|
+
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.
|
|
427
|
+
|
|
428
|
+
### `npx --package @notis_ai/cli@latest -- notis handover start <task>`
|
|
429
|
+
|
|
430
|
+
Hand the current branch to a Notis agent and keep working.
|
|
431
|
+
|
|
432
|
+
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.
|
|
433
|
+
|
|
434
|
+
Options:
|
|
435
|
+
- `--branch-mode <mode>` — same = the agent commits onto your branch. new = the agent cuts a new branch from it (default).
|
|
436
|
+
- `--route <target>` — Which agent runs it: notis (hosted, default), codex_cloud, claude_cloud, codex_local, claude_local, or auto.
|
|
437
|
+
- `--repo <slug>` — Configured repository slug on the cloud computer, when you know it.
|
|
438
|
+
- `--no-wip` — Refuse on a dirty tree instead of committing the changes first.
|
|
439
|
+
|
|
440
|
+
Examples:
|
|
441
|
+
- `npx --package @notis_ai/cli@latest -- notis handover start "fix the failing auth tests"`
|
|
442
|
+
- `npx --package @notis_ai/cli@latest -- notis handover start "finish the migration" --branch-mode same --route codex_cloud`
|
|
443
|
+
- `npx --package @notis_ai/cli@latest -- notis handover start "add integration tests" --route claude_cloud`
|
|
444
|
+
- `npx --package @notis_ai/cli@latest -- notis handover start "review and clean up this branch" --route claude_local`
|
|
445
|
+
|
|
446
|
+
### `npx --package @notis_ai/cli@latest -- notis handover status`
|
|
447
|
+
|
|
448
|
+
Show the coding-agent threads Notis is running for you.
|
|
449
|
+
|
|
450
|
+
When to use: Use this after a hand-over to see whether the agent is still working.
|
|
451
|
+
|
|
452
|
+
Options:
|
|
453
|
+
- `--provider <provider>` — Filter to codex or claude_code.
|
|
454
|
+
- `--refresh` — Force a live refresh instead of cached state.
|
|
455
|
+
|
|
456
|
+
Examples:
|
|
457
|
+
- `npx --package @notis_ai/cli@latest -- notis handover status`
|
|
458
|
+
- `npx --package @notis_ai/cli@latest -- notis handover status --provider codex --refresh`
|
|
224
459
|
|
|
225
460
|
|
|
226
461
|
## Generic Tools
|
|
227
462
|
|
|
228
|
-
### `notis tools toolkits`
|
|
463
|
+
### `npx --package @notis_ai/cli@latest -- notis tools toolkits`
|
|
229
464
|
|
|
230
|
-
List toolkit namespaces available to the active user.
|
|
465
|
+
List toolkit namespaces and connection statuses available to the active user.
|
|
231
466
|
|
|
232
|
-
When to use: Use this before searching or executing generic tools.
|
|
467
|
+
When to use: Use this to inspect connection state before searching or executing generic tools.
|
|
233
468
|
|
|
234
469
|
Examples:
|
|
235
|
-
- `notis tools toolkits`
|
|
236
|
-
- `notis tools toolkits --json`
|
|
470
|
+
- `npx --package @notis_ai/cli@latest -- notis tools toolkits`
|
|
471
|
+
- `npx --package @notis_ai/cli@latest -- notis tools toolkits --json`
|
|
237
472
|
|
|
238
|
-
### `notis tools search <query>`
|
|
473
|
+
### `npx --package @notis_ai/cli@latest -- notis tools search <query>`
|
|
239
474
|
|
|
240
475
|
Search across toolkit namespaces using natural language.
|
|
241
476
|
|
|
242
477
|
When to use: Use this when you need a generic capability that does not have a first-class CLI command.
|
|
243
478
|
|
|
244
479
|
Options:
|
|
245
|
-
- `--
|
|
480
|
+
- `--known-fields <text>` — Optional known field hints, such as channel_name:general or user_email:a@example.com.
|
|
246
481
|
|
|
247
482
|
Examples:
|
|
248
|
-
- `notis tools search "send an email"`
|
|
249
|
-
- `notis tools search "
|
|
483
|
+
- `npx --package @notis_ai/cli@latest -- notis tools search "send an email"`
|
|
484
|
+
- `npx --package @notis_ai/cli@latest -- notis tools search "post on LinkedIn" --known-fields "platform:linkedin"`
|
|
250
485
|
|
|
251
|
-
### `notis tools describe <tool-name>`
|
|
486
|
+
### `npx --package @notis_ai/cli@latest -- notis tools describe <tool-name>`
|
|
252
487
|
|
|
253
488
|
Describe a generic tool by name.
|
|
254
489
|
|
|
255
490
|
When to use: Use this when you know the tool name and want its parameter schema before execution.
|
|
256
491
|
|
|
257
|
-
Options:
|
|
258
|
-
- `--toolkits <csv-or-json>` — Optional subset of toolkit ids to search.
|
|
259
|
-
|
|
260
492
|
Examples:
|
|
261
|
-
- `notis tools describe composio-gmail-
|
|
262
|
-
- `notis tools describe
|
|
493
|
+
- `npx --package @notis_ai/cli@latest -- notis tools describe composio-gmail-send_email`
|
|
494
|
+
- `npx --package @notis_ai/cli@latest -- notis tools describe LOCAL_NOTIS_DATABASE_QUERY`
|
|
263
495
|
|
|
264
|
-
### `notis tools exec <tool-name>`
|
|
496
|
+
### `npx --package @notis_ai/cli@latest -- notis tools exec <tool-name>`
|
|
265
497
|
|
|
266
498
|
Execute a generic tool by canonical tool name.
|
|
267
499
|
|
|
@@ -269,65 +501,133 @@ When to use: Use this as the escape hatch for integrations or Notis tools withou
|
|
|
269
501
|
|
|
270
502
|
Options:
|
|
271
503
|
- `--arguments <json>` — JSON object, @file path, or - for stdin.
|
|
504
|
+
- `--arguments-file <path>` — Read the JSON arguments object from a file.
|
|
505
|
+
- `--file <argument-path=local-path>` — Upload a local file into a file-uploadable tool argument. Repeatable.
|
|
272
506
|
- `--get-schema` — Display the tool parameter schema without executing.
|
|
273
507
|
- `--dry-run` — Validate arguments against the tool schema without executing.
|
|
274
|
-
- `--watch <seconds>` — Re-execute on an interval and stream results.
|
|
275
508
|
|
|
276
509
|
Examples:
|
|
277
|
-
- `notis tools exec
|
|
278
|
-
- `notis tools exec
|
|
279
|
-
- `notis tools exec
|
|
280
|
-
- `notis tools exec
|
|
281
|
-
- `notis tools exec
|
|
282
|
-
- `notis tools exec
|
|
510
|
+
- `npx --package @notis_ai/cli@latest -- notis tools exec LOCAL_NOTIS_DATABASE_QUERY --arguments '{"database_slug":"tasks","query":{}}'`
|
|
511
|
+
- `npx --package @notis_ai/cli@latest -- notis tools exec LOCAL_NOTIS_DATABASE_GET_DATABASE --arguments '{"database_slug":"tasks"}'`
|
|
512
|
+
- `npx --package @notis_ai/cli@latest -- notis tools exec LOCAL_NOTIS_DATABASE_QUERY --get-schema`
|
|
513
|
+
- `npx --package @notis_ai/cli@latest -- notis tools exec LOCAL_NOTIS_DATABASE_QUERY --dry-run --arguments '{"database_slug":"tasks","query":{}}'`
|
|
514
|
+
- `npx --package @notis_ai/cli@latest -- notis tools exec LOCAL_NOTIS_DATABASE_QUERY --arguments @query.json`
|
|
515
|
+
- `npx --package @notis_ai/cli@latest -- notis tools exec LOCAL_NOTIS_DATABASE_QUERY --arguments-file query.json`
|
|
516
|
+
- `npx --package @notis_ai/cli@latest -- notis tools exec LOCAL_NOTIS_DATABASE_QUERY --arguments - < query.json`
|
|
517
|
+
- `npx --package @notis_ai/cli@latest -- notis tools exec composio-dropbox-upload_file --arguments '{"path":"/target/in/dropbox.pdf"}' --file content=./Invoice.pdf`
|
|
283
518
|
|
|
284
|
-
### `notis tools exec-parallel <calls>`
|
|
519
|
+
### `npx --package @notis_ai/cli@latest -- notis tools exec-parallel <calls>`
|
|
285
520
|
|
|
286
521
|
Execute multiple tools concurrently.
|
|
287
522
|
|
|
288
523
|
When to use: Use this when you need to run independent tool calls simultaneously for speed.
|
|
289
524
|
|
|
525
|
+
Options:
|
|
526
|
+
- `--file <argument-path=local-path>` — Unsupported for exec-parallel; use tools exec for file uploads.
|
|
527
|
+
|
|
290
528
|
Examples:
|
|
291
|
-
- `notis tools exec-parallel '[{"tool_name":"
|
|
529
|
+
- `npx --package @notis_ai/cli@latest -- notis tools exec-parallel '[{"tool_name":"LOCAL_NOTIS_DATABASE_QUERY","arguments":{"database_slug":"tasks","query":{}}},{"tool_name":"LOCAL_NOTIS_DATABASE_LIST_DATABASES","arguments":{}}]'`
|
|
292
530
|
|
|
293
|
-
### `notis tools link <toolkit>`
|
|
531
|
+
### `npx --package @notis_ai/cli@latest -- notis tools link <toolkit>`
|
|
294
532
|
|
|
295
|
-
|
|
533
|
+
Connect or reconnect an integration toolkit.
|
|
296
534
|
|
|
297
|
-
When to use: Use this when a tool requires authentication
|
|
535
|
+
When to use: Use this when a tool requires authentication or an active connection must be replaced.
|
|
536
|
+
|
|
537
|
+
Options:
|
|
538
|
+
- `--reconnect` — Replace the existing account instead of adding another connection.
|
|
539
|
+
- `--connection-id <id>` — Exact connection id to replace when multiple accounts exist.
|
|
540
|
+
- `--label <label>` — Account label for a new or replacement connection.
|
|
541
|
+
- `--credentials <json>` — Credential JSON object, @file path, or - for stdin. Prefer stdin so secrets do not enter shell history.
|
|
298
542
|
|
|
299
543
|
Examples:
|
|
300
|
-
- `notis tools link github`
|
|
301
|
-
- `notis tools link
|
|
544
|
+
- `npx --package @notis_ai/cli@latest -- notis tools link github`
|
|
545
|
+
- `npx --package @notis_ai/cli@latest -- notis tools link dataforseo --reconnect --credentials - < credentials.json`
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
## Profile Commands
|
|
549
|
+
|
|
550
|
+
### `npx --package @notis_ai/cli@latest -- notis profile list`
|
|
551
|
+
|
|
552
|
+
List every CLI profile with its account, API endpoint, and credential state.
|
|
553
|
+
|
|
554
|
+
When to use: Use this to see which accounts and environments this machine can reach before choosing one.
|
|
555
|
+
|
|
556
|
+
Examples:
|
|
557
|
+
- `npx --package @notis_ai/cli@latest -- notis profile list`
|
|
558
|
+
- `npx --package @notis_ai/cli@latest -- notis profile list --json`
|
|
559
|
+
|
|
560
|
+
### `npx --package @notis_ai/cli@latest -- notis profile use <name>`
|
|
561
|
+
|
|
562
|
+
Switch the default profile without signing any profile out.
|
|
563
|
+
|
|
564
|
+
When to use: Use this to change which account and API subsequent commands target. Every other profile keeps its credential.
|
|
565
|
+
|
|
566
|
+
Examples:
|
|
567
|
+
- `npx --package @notis_ai/cli@latest -- notis profile use work`
|
|
568
|
+
- `npx --package @notis_ai/cli@latest -- notis profile use default`
|
|
569
|
+
|
|
570
|
+
### `npx --package @notis_ai/cli@latest -- notis profile show [name]`
|
|
571
|
+
|
|
572
|
+
Show one profile in detail, including scopes and credential expiry.
|
|
573
|
+
|
|
574
|
+
When to use: Use this to inspect exactly which account and endpoint a profile resolves to.
|
|
575
|
+
|
|
576
|
+
Examples:
|
|
577
|
+
- `npx --package @notis_ai/cli@latest -- notis profile show`
|
|
578
|
+
- `npx --package @notis_ai/cli@latest -- notis profile show work --json`
|
|
579
|
+
|
|
580
|
+
### `npx --package @notis_ai/cli@latest -- notis profile remove <name>`
|
|
581
|
+
|
|
582
|
+
Delete a CLI profile from this machine.
|
|
583
|
+
|
|
584
|
+
When to use: Use this after logging a profile out. Removing a still-authorized profile requires --force and leaves the grant live server-side.
|
|
585
|
+
|
|
586
|
+
Options:
|
|
587
|
+
- `--force` — Discard a profile that still holds a credential.
|
|
588
|
+
|
|
589
|
+
Examples:
|
|
590
|
+
- `npx --package @notis_ai/cli@latest -- notis profile remove old-work`
|
|
591
|
+
- `npx --package @notis_ai/cli@latest -- notis profile remove old-work --force`
|
|
302
592
|
|
|
303
593
|
|
|
304
594
|
## Meta Commands
|
|
305
595
|
|
|
306
|
-
### `notis doctor`
|
|
596
|
+
### `npx --package @notis_ai/cli@latest -- notis doctor`
|
|
307
597
|
|
|
308
598
|
Run a quick CLI health check for config, auth, and API reachability.
|
|
309
599
|
|
|
310
600
|
When to use: Use this before relying on the CLI in automation or after changing environments.
|
|
311
601
|
|
|
312
602
|
Examples:
|
|
313
|
-
- `notis doctor`
|
|
314
|
-
- `notis doctor --json`
|
|
603
|
+
- `npx --package @notis_ai/cli@latest -- notis doctor`
|
|
604
|
+
- `npx --package @notis_ai/cli@latest -- notis doctor --json`
|
|
605
|
+
|
|
606
|
+
### `npx --package @notis_ai/cli@latest -- notis whoami`
|
|
607
|
+
|
|
608
|
+
Display the active profile, user, and available toolkit connection statuses.
|
|
609
|
+
|
|
610
|
+
When to use: Use this to quickly confirm which account and environment a command will target.
|
|
611
|
+
|
|
612
|
+
Examples:
|
|
613
|
+
- `npx --package @notis_ai/cli@latest -- notis whoami`
|
|
614
|
+
- `npx --package @notis_ai/cli@latest -- notis whoami --json`
|
|
315
615
|
|
|
316
|
-
### `notis describe <command...>`
|
|
616
|
+
### `npx --package @notis_ai/cli@latest -- notis describe <command...>`
|
|
317
617
|
|
|
318
618
|
Describe a first-class CLI command in detail.
|
|
319
619
|
|
|
320
620
|
When to use: Use this when an agent or human needs the exact shape, examples, and semantics of a command.
|
|
321
621
|
|
|
322
622
|
Examples:
|
|
323
|
-
- `notis describe apps
|
|
324
|
-
- `notis describe
|
|
623
|
+
- `npx --package @notis_ai/cli@latest -- notis describe apps deploy`
|
|
624
|
+
- `npx --package @notis_ai/cli@latest -- notis describe tools exec`
|
|
325
625
|
|
|
326
626
|
|
|
327
627
|
## Local Development
|
|
328
628
|
|
|
329
629
|
```bash
|
|
330
|
-
cd cli
|
|
630
|
+
cd packages/cli
|
|
331
631
|
npm install
|
|
332
632
|
node ./bin/notis.js --help
|
|
333
633
|
npm run docs:generate
|