@notis_ai/cli 0.2.8 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -2
- package/package.json +1 -1
- package/skills/notis-apps/SKILL.md +10 -21
- package/skills/notis-apps/cli.md +1 -1
- package/skills/notis-cli/SKILL.md +11 -5
- package/skills/notis-query/cli.md +1 -1
- package/src/command-specs/apps.js +188 -23
- package/src/command-specs/auth.js +107 -0
- package/src/command-specs/diagnostics.js +6 -1
- package/src/command-specs/helpers.js +7 -1
- package/src/command-specs/index.js +2 -0
- package/src/command-specs/meta.js +68 -6
- package/src/command-specs/onboarding.js +94 -6
- package/src/runtime/app-dev-server.js +3 -2
- package/src/runtime/app-dev-sessions.js +14 -40
- package/src/runtime/cli-mode.generated.js +4 -3
- package/src/runtime/cli-mode.js +13 -8
- package/src/runtime/desktop-auth.js +22 -2
- package/src/runtime/oauth.js +1121 -0
- package/src/runtime/output.js +7 -0
- package/src/runtime/profiles.js +423 -23
- package/src/runtime/transport.js +41 -11
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Agent-first Notis CLI for apps and generic tool execution.
|
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
Use the Notis CLI through NPX
|
|
7
|
+
Use the Notis CLI through NPX; do not rely on an installed `notis` command. When Notis Desktop is signed in, its local credential remains the fastest path. On a server, container, or machine without Desktop, run `notis login` to authorize a scoped, revocable OAuth credential in the browser.
|
|
8
8
|
|
|
9
9
|
For CI, hosted agents, or internal scripts, pass a non-persisted token with `NOTIS_JWT=<token>`.
|
|
10
10
|
|
|
@@ -12,12 +12,13 @@ For CI, hosted agents, or internal scripts, pass a non-persisted token with `NOT
|
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
14
|
npx --package @notis_ai/cli@latest -- notis --help
|
|
15
|
+
npx --package @notis_ai/cli@latest -- notis login
|
|
15
16
|
npx --package @notis_ai/cli@latest -- notis doctor
|
|
16
17
|
npx --package @notis_ai/cli@latest -- notis apps list
|
|
17
18
|
npx --package @notis_ai/cli@latest -- notis tools search "list Notis databases"
|
|
18
19
|
```
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
Credential precedence is worktree runtime, `NOTIS_JWT`, a valid Desktop credential, then OAuth. `notis logout` revokes and removes OAuth without signing Desktop out. Use `notis login --paste-code` for the HTTPS copy-paste fallback on a remote machine.
|
|
21
22
|
|
|
22
23
|
The CLI defaults to `json` output in agent or non-TTY contexts and `table` output in interactive terminals.
|
|
23
24
|
|
|
@@ -31,6 +32,44 @@ The CLI defaults to `json` output in agent or non-TTY contexts and `table` outpu
|
|
|
31
32
|
- `--timeout-ms <n>` — HTTP timeout in milliseconds
|
|
32
33
|
- `--idempotency-key <key>` — Override the generated idempotency key for mutating commands
|
|
33
34
|
|
|
35
|
+
## Authentication
|
|
36
|
+
|
|
37
|
+
### `npx --package @notis_ai/cli@latest -- notis login`
|
|
38
|
+
|
|
39
|
+
Authorize the Notis CLI in a browser with scoped OAuth access.
|
|
40
|
+
|
|
41
|
+
When to use: Use this on a machine where Notis Desktop is unavailable, signed out, or should not own CLI authentication.
|
|
42
|
+
|
|
43
|
+
Options:
|
|
44
|
+
- `--no-browser` — Print the authorization URL without opening a browser.
|
|
45
|
+
- `--print-url` — Print the authorization URL even when opening a browser.
|
|
46
|
+
- `--paste-code` — Use the copy-paste callback for SSH and headless machines.
|
|
47
|
+
- `--force` — Create an independent OAuth grant even when Desktop is signed in.
|
|
48
|
+
- `--timeout-seconds <n>` — How long to wait for authorization (default 300).
|
|
49
|
+
- `--scope <scope>` — OAuth permission to request (repeatable).
|
|
50
|
+
- `--code <code>` — Redeem the code shown in the browser after a non-interactive login.
|
|
51
|
+
|
|
52
|
+
Examples:
|
|
53
|
+
- `npx --package @notis_ai/cli@latest -- notis login`
|
|
54
|
+
- `npx --package @notis_ai/cli@latest -- notis login --no-browser --print-url`
|
|
55
|
+
- `npx --package @notis_ai/cli@latest -- notis login --paste-code`
|
|
56
|
+
- `npx --package @notis_ai/cli@latest -- notis login --code 4f3c2b1a`
|
|
57
|
+
- `npx --package @notis_ai/cli@latest -- notis login --force`
|
|
58
|
+
|
|
59
|
+
### `npx --package @notis_ai/cli@latest -- notis logout`
|
|
60
|
+
|
|
61
|
+
Revoke and remove the scoped OAuth credential for the active CLI profile.
|
|
62
|
+
|
|
63
|
+
When to use: Use this to disconnect the command line without signing Notis Desktop out.
|
|
64
|
+
|
|
65
|
+
Options:
|
|
66
|
+
- `--all-profiles` — Remove OAuth credentials from every CLI profile.
|
|
67
|
+
|
|
68
|
+
Examples:
|
|
69
|
+
- `npx --package @notis_ai/cli@latest -- notis logout`
|
|
70
|
+
- `npx --package @notis_ai/cli@latest -- notis logout --all-profiles`
|
|
71
|
+
|
|
72
|
+
|
|
34
73
|
## Apps
|
|
35
74
|
|
|
36
75
|
### `npx --package @notis_ai/cli@latest -- notis apps list`
|
package/package.json
CHANGED
|
@@ -9,8 +9,6 @@ Use this skill when the user wants a packaged Notis app -- task manager, CRM, da
|
|
|
9
9
|
|
|
10
10
|
Run the Notis CLI through NPX, for example `npx --package @notis_ai/cli@latest -- notis apps list`. Notis Desktop keeps the CLI auth profile current. This `notis-apps` skill is delivered through normal Notis skill sync for the signed-in user, alongside other curated skills.
|
|
11
11
|
|
|
12
|
-
For the platform model, architecture, and local development workflow, read [docs/notis-apps-platform.md](../../../docs/notis-apps-platform.md) first. This skill is the execution guide for using that platform correctly.
|
|
13
|
-
|
|
14
12
|
## How Apps Are Built
|
|
15
13
|
|
|
16
14
|
All Notis apps are built using the Notis CLI, either locally in a repo workspace or inside a Vercel Sandbox. The platform contract is the same in both cases:
|
|
@@ -94,7 +92,7 @@ App code never accesses the runtime directly -- it uses SDK hooks (`useTool`, `u
|
|
|
94
92
|
15. **Local development first; deploy is user-gated** -- Iterate with `apps dev` and let the **user** test the app in the desktop **Local development** sidebar group. Do NOT run `apps create` or `apps deploy` on your own initiative, even after a clean build and verify. `deploy` installs the app onto the user's account and is a one-directional, outward-facing action — treat it like publishing: only run it when the user has tested the local build and **explicitly asks you to deploy**. Building a new app end-to-end without deploying is the expected, complete outcome. (See the **Local-development-first handoff** in the Workflow.)
|
|
95
93
|
16. **Installed app links are explicit** -- A mounted dev session updates an installed workspace app only when the local checkout is linked by app id in `.notis/state.json` and the dev-session registry mirrors that id. Name or slug matches may be suggestions, never update targets. After first install, keep that link so Portal and CLI show/update the same app instead of creating duplicates.
|
|
96
94
|
17. **Development identities stay separate** -- `.notis/state.json` uses `dev_app_id` for the hidden development-runtime row and `app_id` only for an accessible installed workspace app. The Electron registry mirrors the installed id as `targetAppId`. Never pass a runtime app whose manifest has `is_dev: true` to `notis apps link`; it is not an install/update target. Current CLIs reject that link and repair stale hidden, deleted, or inaccessible targets on the next `apps dev` without erasing valid state on transport or authentication failures.
|
|
97
|
-
18. **Mounted means Portal-acknowledged** -- A running process
|
|
95
|
+
18. **Mounted means Portal-acknowledged** -- A running process or HTTP 200 proves only that the app is serving. Before telling the user an app is mounted, require the current `apps dev` process to report `Mounted in <target desktop>`. The CLI selects the target from the active Notis profile: normal CLI runs target the signed-in Notis or Notis Beta desktop, while a CLI running inside an active Notis source workspace targets that workspace's matching desktop instance. The exact session/app/slug/nonce acknowledgment is accepted only from the visible target window after the app enters its final **Local development** sidebar model. Route rendering is a separate proof: when UI verification is required, also open the app and require `Rendered in <target desktop>`.
|
|
98
96
|
19. **Store submission is user-gated** -- Run `apps publish --confirm-ready` only after the user explicitly confirms the current App Details page and Store listing are ready. Deploy the exact approved local state first. The command must reject missing confirmation, incomplete listing media, a local/deployed version mismatch, private visibility, or an existing pending review.
|
|
99
97
|
20. **Bump `notisAppVersion` for every Store update** -- `package.json` must contain a semver `notisAppVersion`. For an existing Store app, increment it beyond the currently published registry version before deploy and submission; registry CI rejects equal or lower versions.
|
|
100
98
|
21. **`CHANGELOG.md` owns release history** -- Keep the complete release history in one root `CHANGELOG.md`, newest entry first. Do not add new `versionNotes` values to `notis.config.ts`. Use `## [Release title] - YYYY-MM-DD`, or `{PR_MERGE_DATE}` for an unpublished entry. App Details reads **What’s New** and **Version History** from the deployed package manifest, while the Store reads them from the latest published snapshot; unpublished workspace edits must never change the Store page. The manifest also exposes `package.json` `notisAppVersion` as the package version shown in App Details.
|
|
@@ -126,13 +124,13 @@ These are the most common mistakes agents make. Each one wastes time and produce
|
|
|
126
124
|
2. **Pull only installed apps.** If the user explicitly wants to fork an app they already installed, run `npx --package @notis_ai/cli@latest -- notis apps list`, then `npx --package @notis_ai/cli@latest -- notis apps pull <app-id> ./<dir>`. To fork a Store app that is not installed, tell the user to install it from `/store` first.
|
|
127
125
|
3. **Edit the listing source.** Update `name` (slug), `title`, description, icon, accent, author, categories, tagline, databases, routes, and tools in `notis.config.ts`. Declare a database as a string for schema-only Store packaging; use `{ slug: 'templates', seedDocuments: true }` only when its rows are deliberate starter content for every installer. Keep the complete Store release history in the root `CHANGELOG.md`, newest entry first, using `## [Release title] - YYYY-MM-DD` (or `{PR_MERGE_DATE}` before publication). The first entry powers **What’s New** and the same file powers **Version History**. `icon` is a `phosphor:<name>` value or `metadata/icon.png`; when unset the app shows its **two-letter initials** everywhere (store, sidebar, app details). `accent` optionally pins the avatar color to one of `blue|violet|emerald|amber|rose|sky|fuchsia|teal` (default derived from the app id). Icon/accent flow through deploy onto the app row + listing and can also be set later via the `update_app` tool.
|
|
128
126
|
4. **Build pages in `app/`.** Reuse scaffold code wherever it fits.
|
|
129
|
-
5. **Iterate live.** Run `npx --package @notis_ai/cli@latest -- notis apps dev` so the desktop
|
|
127
|
+
5. **Iterate live.** Run `npx --package @notis_ai/cli@latest -- notis apps dev` so the target desktop's **Local development** sidebar group discovers the app and renders the local bundle. Keep this command running for as long as the user is testing; stopping it removes the temporary Local development entry. Read the command's `Target desktop` line instead of guessing between Notis, Notis Beta, or a source-workspace desktop.
|
|
130
128
|
6. **Capture listing screenshots.** Declare 3–6 screenshots in `notis.config.ts`, each with a stable `path`, descriptive `alt`, and optional `route`/`scenario`/`focus`/`theme`, then run `npx --package @notis_ai/cli@latest -- notis apps screenshot`. Use `focus` to frame a real app root without empty browser canvas; use `theme: 'light'` or `theme: 'dark'` to match both the Portal render and Store backdrop, and pair both modes when that best represents the app. It renders the configured states in a headless harness and writes exact 2000x1250 PNGs under `metadata/`, using the deterministic Store presentation by default (`--raw` is diagnostic only). Apps are icon-led like Raycast — the icon set in `notis.config.ts` represents the app, so there is no cover image, only these screenshots. Never hand-author the PNGs; regenerate them when routes or UI change.
|
|
131
129
|
7. **Verify locally.** Run `npm install`, then `npx --package @notis_ai/cli@latest -- notis apps build` and `npx --package @notis_ai/cli@latest -- notis apps verify`. Surface the verify report and fix failures.
|
|
132
|
-
8. **Local-development-first handoff — STOP HERE.** Keep `apps dev` running and hand off to the user: tell them the app is live in the desktop **Local development** sidebar group (green `DEV` badge) and ask them to test it there. Building a new app to this point, without deploying, is a **complete and expected** result. Do NOT proceed to `apps create` / `apps deploy` yet — wait for the user to test and explicitly ask to deploy. (`apps dev` is what puts the app in Local development; without a running session the app never appears there.) **Before handing off, complete all three acceptance checks:**
|
|
133
|
-
1.
|
|
134
|
-
2. Bundle: the
|
|
135
|
-
3. Mount
|
|
130
|
+
8. **Local-development-first handoff — STOP HERE.** Keep `apps dev` running and hand off to the user: tell them the app is live in the target desktop's **Local development** sidebar group (green `DEV` badge) and ask them to test it there. Building a new app to this point, without deploying, is a **complete and expected** result. Do NOT proceed to `apps create` / `apps deploy` yet — wait for the user to test and explicitly ask to deploy. (`apps dev` is what puts the app in Local development; without a running session the app never appears there.) **Before handing off, complete all three acceptance checks:**
|
|
131
|
+
1. Target: capture the CLI's `Target desktop: <name>` line and make sure that exact desktop app is running and signed in.
|
|
132
|
+
2. Bundle: the reported loopback `/snapshot` URL responds successfully and contains the expected manifest/routes.
|
|
133
|
+
3. Mount and render: require `Mounted in <target desktop>: <app name>`. If the task includes UI or runtime behavior, open the default route and also require `Rendered in <target desktop>: <app name>`. If the CLI says only `Serving locally`, do not claim the app is mounted.
|
|
136
134
|
See Troubleshooting → *App is missing from Local development* if any check fails.
|
|
137
135
|
9. **Deploy only when the user asks.** Once the user has tested locally and explicitly requests a deploy, run `npx --package @notis_ai/cli@latest -- notis apps create "<name>" .` (first time) then `npx --package @notis_ai/cli@latest -- notis apps deploy --direct`, or link first with `npx --package @notis_ai/cli@latest -- notis apps link <id> .` / pass `--app-id <id>` for an existing app. Deploy installs or updates the app on the user's account (it appears under **Workspace**, not Local development). After first install, `.notis/state.json` must point at the installed app id so future local-dev actions become **Update**, not another **Install**.
|
|
138
136
|
10. **Submit only after confirmation.** When the user explicitly confirms the current App Details page is ready, ensure the approved state is deployed, then run `npx --package @notis_ai/cli@latest -- notis apps publish --confirm-ready`. The command submits Team apps immediately or opens the Public Store registry review PR. Without that confirmation, stop after deploy.
|
|
@@ -472,19 +470,19 @@ Runs the real desktop-local development workflow. The CLI should discover all ap
|
|
|
472
470
|
|
|
473
471
|
## Deploy Without Backend Server
|
|
474
472
|
|
|
475
|
-
If the
|
|
473
|
+
If the live API is unreachable, use `--direct`:
|
|
476
474
|
|
|
477
475
|
```bash
|
|
478
476
|
npx --package @notis_ai/cli@latest -- notis apps deploy --direct
|
|
479
477
|
```
|
|
480
478
|
|
|
481
|
-
This uploads the bundle and editable source snapshot directly to Supabase storage and updates the app manifest in the database, bypassing the
|
|
479
|
+
This uploads the bundle and editable source snapshot directly to Supabase storage and updates the app manifest in the database, bypassing the API server. The CLI auto-falls back to direct mode on network errors. Localhost backends are reserved for `/notis-tests` via `./dev.sh`; do not retarget the personal CLI lane at loopback from this skill.
|
|
482
480
|
|
|
483
481
|
## Testing
|
|
484
482
|
|
|
485
483
|
1. **Build validation**: `npx --package @notis_ai/cli@latest -- notis apps build` must succeed without errors. Vite surfaces TypeScript and bundling errors during this step.
|
|
486
484
|
2. **Headless render verification** (recommended after every build): run `npx --package @notis_ai/cli@latest -- notis apps verify`. It builds unless `--skip-build` is passed, spins up a loopback harness, drives `agent-browser` against every route, and reports per-route pass/fail with captured render errors and runtime calls.
|
|
487
|
-
3. **Local development acceptance**: Require the running CLI to report `Mounted in
|
|
485
|
+
3. **Local development acceptance**: Require the running CLI to name the intended desktop and report `Mounted in <target desktop>`, which proves the exact nonce-backed session entered that visible desktop's final `Local development` sidebar model. Bundle HTTP health alone proves only `Serving locally`. When the task includes UI, runtime behavior, or visual acceptance, open the default route and also require `Rendered in <target desktop>` before claiming the app works.
|
|
488
486
|
4. **Post-deploy**: Verify the deployed bundle via `/portal_views/get` -> `runtime_descriptor.bundle.js_url`, then verify the app renders in the portal. The portal renders app bundles directly as React components, so the fastest verification is navigating to the app page in the portal.
|
|
489
487
|
|
|
490
488
|
### Headless harness verification
|
|
@@ -511,15 +509,6 @@ Run `npx --package @notis_ai/cli@latest -- notis apps verify` after `npx --packa
|
|
|
511
509
|
|
|
512
510
|
- **Deploy fails with network error**: Backend server not running. Use `npx --package @notis_ai/cli@latest -- notis apps deploy --direct` or start the server.
|
|
513
511
|
- **App shows old code after deploy**: Bundle cache is stale. Hard refresh (Cmd+Shift+R) or clear site data in DevTools.
|
|
514
|
-
- **App is missing from Local development**:
|
|
515
|
-
```bash
|
|
516
|
-
cat "$CONDUCTOR_WORKSPACE_PATH/.context/app-dev-sessions.json" # your devSlug must be present with a fresh lastHeartbeatAt
|
|
517
|
-
```
|
|
518
|
-
If it is missing, restart `apps dev` pointed at that file:
|
|
519
|
-
```bash
|
|
520
|
-
NOTIS_APP_DEV_SESSIONS_FILE="$CONDUCTOR_WORKSPACE_PATH/.context/app-dev-sessions.json" \
|
|
521
|
-
npx --package @notis_ai/cli@latest -- notis apps dev --no-open
|
|
522
|
-
```
|
|
523
|
-
Current CLI auto-resolves the nearest `.context` registry, so the explicit env is only a fallback for older CLIs. Startup and heartbeat preserve other sessions, so this coexists with the desktop's own dev sessions. If the registry row has a `targetAppId`, that id must resolve to an installed app whose manifest is not `is_dev: true`; never repair this by linking to another development-runtime id. Restart the current CLI and let it clear stale hidden/deleted targets automatically. Then wait for `Mounted in Notis`; Electron writes the matching nonce acknowledgment beside the registry only after the app reaches the final Local development sidebar model. A corrected registry row or HTTP 200 is not mount proof by itself. Open and render the route separately only when validating UI or runtime behavior.
|
|
512
|
+
- **App is missing from Local development**: Read the `Target desktop` line from `apps dev`, then bring that exact Notis app forward and confirm it is signed into the same account reported by `npx --package @notis_ai/cli@latest -- notis whoami`. Keep `apps dev` running. If it still says only `Serving locally`, run `npx --package @notis_ai/cli@latest -- notis doctor`, restart the target desktop, and retry `apps dev`. Do not redirect internal registry files manually: the CLI selects the normal Notis/Notis Beta target from the active profile and selects a source-workspace desktop only when an active workspace runtime identifies it. Wait for `Mounted in <target desktop>` before claiming success; when validating UI or runtime behavior, open the route and wait for `Rendered in <target desktop>` too.
|
|
524
513
|
- **`LOCAL_NOTIS_DATABASE_QUERY` returns empty documents**: Check that the database ID passed to the tool matches the intended database. Use `npx --package @notis_ai/cli@latest -- notis tools exec LOCAL_NOTIS_DATABASE_LIST_DATABASES --arguments '{}'` to verify the ID; use the database slug only as a fallback.
|
|
525
514
|
- **Properties are `undefined`**: Keep app-local result types for `useTool<TArgs, TResult>` and guard optional nested properties when reading live data.
|
package/skills/notis-apps/cli.md
CHANGED
|
@@ -8,7 +8,7 @@ Important: `notis apps deploy` updates the linked installed app. It is not an ap
|
|
|
8
8
|
|
|
9
9
|
## Setup
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Sign into Notis Desktop or run `npx --package @notis_ai/cli@latest -- notis login` to authorize the CLI. Run commands through NPX, for example `npx --package @notis_ai/cli@latest -- notis apps list`.
|
|
12
12
|
|
|
13
13
|
For CI, hosted agents, or internal scripts, pass a non-persisted token with `NOTIS_JWT=<token>` and use `--api-base <server-url>` when targeting a non-default server.
|
|
14
14
|
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: notis-cli
|
|
3
3
|
description: Use when agents should work through the Notis CLI, especially to develop Notis apps locally or to access Notis, Composio, or MCP tools they do not currently have loaded directly.
|
|
4
|
+
feature_flag: cli_access
|
|
5
|
+
mcp_resource: true
|
|
6
|
+
mcp_tool_patterns: []
|
|
4
7
|
---
|
|
5
8
|
|
|
6
9
|
# Notis CLI Skill
|
|
@@ -263,15 +266,18 @@ desktop session yourself.
|
|
|
263
266
|
|
|
264
267
|
### Deploy fails with "network_error" or "fetch failed"
|
|
265
268
|
|
|
266
|
-
The
|
|
269
|
+
The CLI defaults to the live Notis API (`https://api.notis.ai`, or
|
|
270
|
+
`https://api-beta.notis.ai` when the signed-in user is on beta). Solutions:
|
|
267
271
|
|
|
268
|
-
1.
|
|
269
|
-
2.
|
|
270
|
-
3.
|
|
272
|
+
1. Run `npx --package @notis_ai/cli@latest -- notis doctor` and confirm `api_base` is a live Notis host
|
|
273
|
+
2. Use `--direct` for app deploys when you only need Supabase storage upload: `npx --package @notis_ai/cli@latest -- notis apps deploy --direct`
|
|
274
|
+
3. If auth looks stale, open Notis Desktop (or `Notis Beta`), wait for it to restore the session, then retry
|
|
275
|
+
|
|
276
|
+
Localhost backends are a Notis-developer test lane only. Do not retarget the CLI at loopback from this skill — that path is owned by `/notis-tests` via `./dev.sh` and the worktree runtime lease.
|
|
271
277
|
|
|
272
278
|
### `npx --package @notis_ai/cli@latest -- notis doctor` shows health/tool_roundtrip errors
|
|
273
279
|
|
|
274
|
-
The CLI health check pings the
|
|
280
|
+
The CLI health check pings the configured live API. App development commands that are `backend_call: local` (`init`, `build`, `verify`, `link`, `doctor`) work offline. `dev`, `pull`, `create`, `list`, and normal `deploy` need the live API; `deploy --direct` can bypass it when Supabase credentials are available.
|
|
275
281
|
|
|
276
282
|
### Stale bundle in the portal after deploy
|
|
277
283
|
|
|
@@ -4,7 +4,7 @@ Use the generic `notis tools` workflow through NPX for native Notis Database ope
|
|
|
4
4
|
|
|
5
5
|
## Setup
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Sign into Notis Desktop or run `npx --package @notis_ai/cli@latest -- notis login` to authorize the CLI. Run commands through NPX, for example `npx --package @notis_ai/cli@latest -- notis tools search "list Notis databases"`.
|
|
8
8
|
|
|
9
9
|
For CI, hosted agents, or internal scripts, pass a non-persisted token with `NOTIS_JWT=<token>` and use `--api-base <server-url>` when targeting a non-default server.
|
|
10
10
|
|