@notis_ai/cli 0.2.0-beta.35.1 → 0.2.0-beta.41.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 +80 -75
- package/dist/scaffolds/notis-database/app/globals.css +44 -0
- package/dist/scaffolds/notis-database/app/page.tsx +1091 -0
- package/dist/scaffolds/notis-database/components/ui/table.tsx +120 -0
- package/dist/scaffolds/notis-database/index.html +12 -0
- package/dist/scaffolds/notis-database/lib/types.ts +134 -0
- package/dist/scaffolds/notis-database/metadata/cover.png +0 -0
- 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/notis.config.ts +27 -0
- package/dist/scaffolds/notis-database/package.json +31 -0
- package/dist/scaffolds/notis-database/src/dev-main.tsx +23 -0
- package/dist/scaffolds/notis-database/src/mock-runtime.ts +557 -0
- package/dist/scaffolds/notis-database/tailwind.config.ts +59 -0
- package/dist/scaffolds/{notes → notis-database}/tsconfig.json +2 -1
- package/dist/scaffolds/notis-database/vite.config.ts +22 -0
- package/dist/scaffolds/notis-notes/app/layout.tsx +6 -0
- package/dist/scaffolds/{notes → notis-notes}/app/page.tsx +783 -80
- package/dist/scaffolds/notis-notes/components/ui/badge.tsx +28 -0
- package/dist/scaffolds/notis-notes/components/ui/button.tsx +53 -0
- package/dist/scaffolds/notis-notes/components/ui/card.tsx +56 -0
- package/dist/scaffolds/notis-notes/components.json +20 -0
- package/dist/scaffolds/notis-notes/lib/utils.ts +6 -0
- package/dist/scaffolds/notis-notes/metadata/cover.png +0 -0
- 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/{notes → notis-notes}/notis.config.ts +12 -7
- package/dist/scaffolds/{notes → notis-notes}/package.json +3 -3
- package/dist/scaffolds/notis-notes/postcss.config.mjs +8 -0
- package/dist/scaffolds/notis-notes/tsconfig.json +23 -0
- package/dist/scaffolds/notis-random/README.md +33 -0
- package/dist/scaffolds/notis-random/app/globals.css +11 -0
- package/dist/scaffolds/notis-random/app/history/page.tsx +66 -0
- package/dist/scaffolds/notis-random/app/layout.tsx +7 -0
- package/dist/scaffolds/notis-random/app/page.tsx +222 -0
- package/dist/scaffolds/notis-random/index.html +12 -0
- package/dist/scaffolds/notis-random/lib/notis-tools.ts +109 -0
- package/dist/scaffolds/notis-random/lib/rng.ts +42 -0
- package/dist/scaffolds/notis-random/lib/roll-record.ts +102 -0
- package/dist/scaffolds/notis-random/lib/utils.ts +25 -0
- package/dist/scaffolds/notis-random/metadata/cover.png +0 -0
- 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/notis.config.ts +43 -0
- package/dist/scaffolds/notis-random/package.json +32 -0
- package/dist/scaffolds/notis-random/postcss.config.mjs +6 -0
- package/dist/scaffolds/notis-random/src/dev-main.tsx +70 -0
- package/dist/scaffolds/notis-random/src/mock-runtime.ts +128 -0
- package/dist/scaffolds/notis-random/tailwind.config.ts +43 -0
- package/dist/scaffolds/notis-random/tsconfig.json +23 -0
- package/dist/scaffolds/notis-random/vite.config.ts +11 -0
- package/dist/scaffolds.json +27 -4
- package/package.json +1 -1
- package/skills/notis-apps/SKILL.md +27 -33
- package/skills/notis-apps/cli.md +51 -51
- package/skills/notis-cli/SKILL.md +65 -70
- package/skills/notis-query/cli.md +11 -11
- package/src/cli.js +10 -1
- package/src/command-specs/apps.js +2 -2
- package/src/command-specs/helpers.js +2 -0
- package/src/command-specs/tools.js +100 -2
- package/src/runtime/app-dev-server.js +2 -2
- package/src/runtime/app-platform.js +28 -0
- package/src/runtime/transport.js +129 -17
- package/template/packages/sdk/package.json +6 -0
- package/template/packages/sdk/src/hooks/useDatabase.ts +76 -0
- package/template/packages/sdk/src/hooks/useNotis.ts +10 -6
- package/template/packages/sdk/src/hooks/useUpsertDocument.ts +50 -0
- package/template/packages/sdk/src/index.ts +9 -1
- package/template/packages/sdk/src/runtime.ts +83 -2
- /package/dist/scaffolds/{notes → notis-database}/app/layout.tsx +0 -0
- /package/dist/scaffolds/{notes → notis-database}/components/ui/badge.tsx +0 -0
- /package/dist/scaffolds/{notes → notis-database}/components/ui/button.tsx +0 -0
- /package/dist/scaffolds/{notes → notis-database}/components/ui/card.tsx +0 -0
- /package/dist/scaffolds/{notes → notis-database}/components.json +0 -0
- /package/dist/scaffolds/{notes → notis-database}/lib/utils.ts +0 -0
- /package/dist/scaffolds/{notes → notis-database}/postcss.config.mjs +0 -0
- /package/dist/scaffolds/{notes → notis-notes}/app/globals.css +0 -0
- /package/dist/scaffolds/{notes → notis-notes}/tailwind.config.ts +0 -0
- /package/dist/scaffolds/{notes → notis-notes}/vite.config.ts +0 -0
package/dist/scaffolds.json
CHANGED
|
@@ -2,12 +2,35 @@
|
|
|
2
2
|
"source": "apps/*/notis.config.ts",
|
|
3
3
|
"scaffolds": [
|
|
4
4
|
{
|
|
5
|
-
"slug": "
|
|
5
|
+
"slug": "notis-database",
|
|
6
|
+
"name": "Databases",
|
|
7
|
+
"description": "Read-only catalog and schema explorer for every database in your Notis workspace.",
|
|
8
|
+
"icon": "phosphor:database",
|
|
9
|
+
"categories": [
|
|
10
|
+
"Product & Engineering",
|
|
11
|
+
"Operations"
|
|
12
|
+
],
|
|
13
|
+
"tagline": "Explore every database and schema in your Notis workspace."
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"slug": "notis-notes",
|
|
6
17
|
"name": "Notis Notes",
|
|
7
18
|
"description": "Browse notes by documents, table, or calendar with folders in the sidebar.",
|
|
8
|
-
"icon": "
|
|
9
|
-
"categories": [
|
|
10
|
-
|
|
19
|
+
"icon": "phosphor:note-pencil",
|
|
20
|
+
"categories": [
|
|
21
|
+
"Productivity"
|
|
22
|
+
],
|
|
23
|
+
"tagline": "Folder-based notes with gallery, table, and calendar views."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"slug": "notis-random",
|
|
27
|
+
"name": "Random Number Generator",
|
|
28
|
+
"description": "Generate random numbers with configurable bounds, and keep a history of everything you rolled.",
|
|
29
|
+
"icon": "phosphor:dice-five",
|
|
30
|
+
"categories": [
|
|
31
|
+
"Personal"
|
|
32
|
+
],
|
|
33
|
+
"tagline": "Roll dice, keep history."
|
|
11
34
|
}
|
|
12
35
|
]
|
|
13
36
|
}
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@ description: Design and package Notis apps. Use when users want an app that grou
|
|
|
7
7
|
|
|
8
8
|
Use this skill when the user wants to create, edit, debug, or package a Notis app. Notis apps are Vite + React projects that deploy into the Notis Portal as installed apps for the current user or team.
|
|
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
12
|
## Platform Model
|
|
13
13
|
|
|
@@ -23,27 +23,21 @@ A Notis app is:
|
|
|
23
23
|
Use the Notis CLI for the app lifecycle:
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
notis apps init
|
|
27
|
-
notis apps dev
|
|
28
|
-
notis apps build
|
|
29
|
-
notis apps verify
|
|
30
|
-
notis apps create
|
|
31
|
-
notis apps link
|
|
32
|
-
notis apps pull
|
|
33
|
-
notis apps deploy
|
|
34
|
-
notis apps doctor
|
|
26
|
+
npx --package @notis_ai/cli@latest -- notis apps init
|
|
27
|
+
npx --package @notis_ai/cli@latest -- notis apps dev
|
|
28
|
+
npx --package @notis_ai/cli@latest -- notis apps build
|
|
29
|
+
npx --package @notis_ai/cli@latest -- notis apps verify
|
|
30
|
+
npx --package @notis_ai/cli@latest -- notis apps create
|
|
31
|
+
npx --package @notis_ai/cli@latest -- notis apps link
|
|
32
|
+
npx --package @notis_ai/cli@latest -- notis apps pull
|
|
33
|
+
npx --package @notis_ai/cli@latest -- notis apps deploy
|
|
34
|
+
npx --package @notis_ai/cli@latest -- notis apps doctor
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
Use this command form everywhere:
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
|
-
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
When working outside a repo with the desktop-installed CLI, use:
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
notis apps ...
|
|
40
|
+
npx --package @notis_ai/cli@latest -- notis apps ...
|
|
47
41
|
```
|
|
48
42
|
|
|
49
43
|
## Hard Rules
|
|
@@ -55,7 +49,7 @@ notis apps ...
|
|
|
55
49
|
- Declare runtime tool access in `notis.config.ts` `tools`.
|
|
56
50
|
- Use `@notis/sdk` hooks instead of direct runtime access.
|
|
57
51
|
- Do not rely on `window.__NOTIS_RUNTIME__` or portal-owned DOM hooks.
|
|
58
|
-
- `notis apps deploy` updates an installed app. It does not publish to the public App Store.
|
|
52
|
+
- `npx --package @notis_ai/cli@latest -- notis apps deploy` updates an installed app. It does not publish to the public App Store.
|
|
59
53
|
- Public or team App Store publishing is a Portal review flow.
|
|
60
54
|
- Use Phosphor icon names with the `phosphor:` prefix. Do not use emoji icons.
|
|
61
55
|
- Prefer scaffolded shadcn components and portal theme tokens over custom visual systems.
|
|
@@ -65,43 +59,43 @@ notis apps ...
|
|
|
65
59
|
1. Discover existing apps if needed:
|
|
66
60
|
|
|
67
61
|
```bash
|
|
68
|
-
notis apps list
|
|
62
|
+
npx --package @notis_ai/cli@latest -- notis apps list
|
|
69
63
|
```
|
|
70
64
|
|
|
71
65
|
2. Start from a scaffold or pull an existing app:
|
|
72
66
|
|
|
73
67
|
```bash
|
|
74
|
-
notis apps scaffolds list
|
|
75
|
-
notis apps init "My App"
|
|
76
|
-
notis apps pull <app-id> ./my-app
|
|
68
|
+
npx --package @notis_ai/cli@latest -- notis apps scaffolds list
|
|
69
|
+
npx --package @notis_ai/cli@latest -- notis apps init "My App"
|
|
70
|
+
npx --package @notis_ai/cli@latest -- notis apps pull <app-id> ./my-app
|
|
77
71
|
```
|
|
78
72
|
|
|
79
73
|
3. Install dependencies and develop:
|
|
80
74
|
|
|
81
75
|
```bash
|
|
82
76
|
npm install
|
|
83
|
-
notis apps dev
|
|
77
|
+
npx --package @notis_ai/cli@latest -- notis apps dev
|
|
84
78
|
```
|
|
85
79
|
|
|
86
80
|
4. Build and verify:
|
|
87
81
|
|
|
88
82
|
```bash
|
|
89
|
-
notis apps build
|
|
90
|
-
notis apps verify
|
|
83
|
+
npx --package @notis_ai/cli@latest -- notis apps build
|
|
84
|
+
npx --package @notis_ai/cli@latest -- notis apps verify
|
|
91
85
|
```
|
|
92
86
|
|
|
93
87
|
5. Create or link the remote app, then deploy:
|
|
94
88
|
|
|
95
89
|
```bash
|
|
96
|
-
notis apps create "My App" .
|
|
97
|
-
notis apps deploy
|
|
90
|
+
npx --package @notis_ai/cli@latest -- notis apps create "My App" .
|
|
91
|
+
npx --package @notis_ai/cli@latest -- notis apps deploy
|
|
98
92
|
```
|
|
99
93
|
|
|
100
94
|
or:
|
|
101
95
|
|
|
102
96
|
```bash
|
|
103
|
-
notis apps link <app-id>
|
|
104
|
-
notis apps deploy
|
|
97
|
+
npx --package @notis_ai/cli@latest -- notis apps link <app-id>
|
|
98
|
+
npx --package @notis_ai/cli@latest -- notis apps deploy
|
|
105
99
|
```
|
|
106
100
|
|
|
107
101
|
## App Structure
|
|
@@ -162,7 +156,7 @@ Do not fetch Notis backend endpoints directly from app code unless the SDK expli
|
|
|
162
156
|
|
|
163
157
|
## Troubleshooting
|
|
164
158
|
|
|
165
|
-
- If deploy fails with backend connectivity errors, run `notis apps doctor` and check the configured API base.
|
|
166
|
-
- If editing an existing app, use `notis apps pull <app-id>` when source snapshots are available.
|
|
159
|
+
- If deploy fails with backend connectivity errors, run `npx --package @notis_ai/cli@latest -- notis apps doctor` and check the configured API base.
|
|
160
|
+
- If editing an existing app, use `npx --package @notis_ai/cli@latest -- notis apps pull <app-id>` when source snapshots are available.
|
|
167
161
|
- If the Portal shows a stale bundle, hard refresh the Portal or deploy a new version.
|
|
168
|
-
- If an app route fails to load, run `notis apps verify` and inspect `.notis/output/manifest.json`.
|
|
162
|
+
- If an app route fails to load, run `npx --package @notis_ai/cli@latest -- notis apps verify` and inspect `.notis/output/manifest.json`.
|
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
|
-
Install and sign into Notis Desktop
|
|
11
|
+
Install and sign into Notis Desktop to keep the CLI profile current. Run the CLI through NPX, for example `npx --package @notis_ai/cli@latest -- notis apps list`. Related skills such as `notis-cli` and `notis-apps` are delivered through normal Notis skill sync for the signed-in user.
|
|
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
|
|
|
@@ -17,13 +17,13 @@ For CI, hosted agents, or internal scripts, pass a non-persisted token with `NOT
|
|
|
17
17
|
1. Scaffold a new app:
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
notis apps init
|
|
20
|
+
npx --package @notis_ai/cli@latest -- notis apps init
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
2. Or pull an installed app's saved source snapshot:
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
notis apps pull <app-id> ./my-app
|
|
26
|
+
npx --package @notis_ai/cli@latest -- notis apps pull <app-id> ./my-app
|
|
27
27
|
cd ./my-app
|
|
28
28
|
npm install
|
|
29
29
|
```
|
|
@@ -31,51 +31,51 @@ npm install
|
|
|
31
31
|
3. Develop locally with live reload:
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
|
-
notis apps dev
|
|
34
|
+
npx --package @notis_ai/cli@latest -- notis apps dev
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
4. Build the production artifact:
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
|
-
notis apps build
|
|
40
|
+
npx --package @notis_ai/cli@latest -- notis apps build
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
5. Verify the built artifact headlessly:
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
-
notis apps verify
|
|
46
|
+
npx --package @notis_ai/cli@latest -- notis apps verify
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
6. Link the project if it was not created or pulled from an app, then deploy:
|
|
50
50
|
|
|
51
51
|
```bash
|
|
52
|
-
notis apps link <app-id>
|
|
53
|
-
notis apps deploy
|
|
52
|
+
npx --package @notis_ai/cli@latest -- notis apps link <app-id>
|
|
53
|
+
npx --package @notis_ai/cli@latest -- notis apps deploy
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
## Commands
|
|
57
57
|
|
|
58
|
-
### `notis doctor`
|
|
58
|
+
### `npx --package @notis_ai/cli@latest -- notis doctor`
|
|
59
59
|
|
|
60
60
|
Run a quick CLI health check for config, auth, and API reachability.
|
|
61
61
|
|
|
62
62
|
When to use: Use this before relying on the CLI in automation or after changing environments.
|
|
63
63
|
|
|
64
64
|
Examples:
|
|
65
|
-
- `notis doctor`
|
|
66
|
-
- `notis doctor --json`
|
|
65
|
+
- `npx --package @notis_ai/cli@latest -- notis doctor`
|
|
66
|
+
- `npx --package @notis_ai/cli@latest -- notis doctor --json`
|
|
67
67
|
|
|
68
|
-
### `notis apps list`
|
|
68
|
+
### `npx --package @notis_ai/cli@latest -- notis apps list`
|
|
69
69
|
|
|
70
70
|
List apps the current profile can access.
|
|
71
71
|
|
|
72
72
|
When to use: Discover existing apps before linking or deploying.
|
|
73
73
|
|
|
74
74
|
Examples:
|
|
75
|
-
- `notis apps list`
|
|
76
|
-
- `notis apps list --json`
|
|
75
|
+
- `npx --package @notis_ai/cli@latest -- notis apps list`
|
|
76
|
+
- `npx --package @notis_ai/cli@latest -- notis apps list --json`
|
|
77
77
|
|
|
78
|
-
### `notis apps init <name> [dir]`
|
|
78
|
+
### `npx --package @notis_ai/cli@latest -- notis apps init <name> [dir]`
|
|
79
79
|
|
|
80
80
|
Scaffold a new Notis app project.
|
|
81
81
|
|
|
@@ -85,32 +85,32 @@ Options:
|
|
|
85
85
|
- `--from <slug>` — Start from a bundled scaffold listed by `notis apps scaffolds list`.
|
|
86
86
|
|
|
87
87
|
Examples:
|
|
88
|
-
- `notis apps scaffolds list`
|
|
89
|
-
- `notis apps init "Mind the Flo"`
|
|
90
|
-
- `notis apps init "My CRM" --from notis-database`
|
|
91
|
-
- `notis apps init "My App" ./my-app`
|
|
88
|
+
- `npx --package @notis_ai/cli@latest -- notis apps scaffolds list`
|
|
89
|
+
- `npx --package @notis_ai/cli@latest -- notis apps init "Mind the Flo"`
|
|
90
|
+
- `npx --package @notis_ai/cli@latest -- notis apps init "My CRM" --from notis-database`
|
|
91
|
+
- `npx --package @notis_ai/cli@latest -- notis apps init "My App" ./my-app`
|
|
92
92
|
|
|
93
|
-
### `notis apps scaffolds list`
|
|
93
|
+
### `npx --package @notis_ai/cli@latest -- notis apps scaffolds list`
|
|
94
94
|
|
|
95
95
|
List bundled Notis app scaffolds.
|
|
96
96
|
|
|
97
97
|
When to use: Discover the fixed scaffold catalog shipped with the CLI before starting a new app.
|
|
98
98
|
|
|
99
99
|
Examples:
|
|
100
|
-
- `notis apps scaffolds list`
|
|
101
|
-
- `notis apps init "My App" --from notis-database`
|
|
100
|
+
- `npx --package @notis_ai/cli@latest -- notis apps scaffolds list`
|
|
101
|
+
- `npx --package @notis_ai/cli@latest -- notis apps init "My App" --from notis-database`
|
|
102
102
|
|
|
103
|
-
### `notis apps create <name> [dir]`
|
|
103
|
+
### `npx --package @notis_ai/cli@latest -- notis apps create <name> [dir]`
|
|
104
104
|
|
|
105
105
|
Create a new remote Notis app and optionally link a local project to it.
|
|
106
106
|
|
|
107
107
|
When to use: Provision a fresh remote app before the first deploy. Pass a project directory to link it immediately.
|
|
108
108
|
|
|
109
109
|
Examples:
|
|
110
|
-
- `notis apps create "My App"`
|
|
111
|
-
- `notis apps create "My App" .`
|
|
110
|
+
- `npx --package @notis_ai/cli@latest -- notis apps create "My App"`
|
|
111
|
+
- `npx --package @notis_ai/cli@latest -- notis apps create "My App" .`
|
|
112
112
|
|
|
113
|
-
### `notis apps dev [dir]`
|
|
113
|
+
### `npx --package @notis_ai/cli@latest -- notis apps dev [dir]`
|
|
114
114
|
|
|
115
115
|
Develop Notis apps inside the Electron desktop Portal with automatic local bundle reloads.
|
|
116
116
|
|
|
@@ -121,21 +121,21 @@ Options:
|
|
|
121
121
|
- `--no-open` — Do not auto-open the desktop Portal local development app.
|
|
122
122
|
|
|
123
123
|
Examples:
|
|
124
|
-
- `notis apps dev`
|
|
125
|
-
- `notis apps dev ./my-app`
|
|
126
|
-
- `notis apps dev ./workspace --port 5200`
|
|
124
|
+
- `npx --package @notis_ai/cli@latest -- notis apps dev`
|
|
125
|
+
- `npx --package @notis_ai/cli@latest -- notis apps dev ./my-app`
|
|
126
|
+
- `npx --package @notis_ai/cli@latest -- notis apps dev ./workspace --port 5200`
|
|
127
127
|
|
|
128
|
-
### `notis apps build [dir]`
|
|
128
|
+
### `npx --package @notis_ai/cli@latest -- notis apps build [dir]`
|
|
129
129
|
|
|
130
130
|
Build and package the app into .notis/output/.
|
|
131
131
|
|
|
132
132
|
When to use: Prepare the app for verification or deployment.
|
|
133
133
|
|
|
134
134
|
Examples:
|
|
135
|
-
- `notis apps build`
|
|
136
|
-
- `notis apps build ./my-app`
|
|
135
|
+
- `npx --package @notis_ai/cli@latest -- notis apps build`
|
|
136
|
+
- `npx --package @notis_ai/cli@latest -- notis apps build ./my-app`
|
|
137
137
|
|
|
138
|
-
### `notis apps verify [dir]`
|
|
138
|
+
### `npx --package @notis_ai/cli@latest -- notis apps verify [dir]`
|
|
139
139
|
|
|
140
140
|
Headless render smoke each route in a stub-runtime harness.
|
|
141
141
|
|
|
@@ -150,22 +150,22 @@ Options:
|
|
|
150
150
|
- `--keep-open` — Leave server + browser session running after report (for manual triage).
|
|
151
151
|
|
|
152
152
|
Examples:
|
|
153
|
-
- `notis apps verify`
|
|
154
|
-
- `notis apps verify --routes notes`
|
|
155
|
-
- `notis apps verify --mode live`
|
|
156
|
-
- `notis apps verify --no-browser # start the harness, drive agent-browser yourself`
|
|
153
|
+
- `npx --package @notis_ai/cli@latest -- notis apps verify`
|
|
154
|
+
- `npx --package @notis_ai/cli@latest -- notis apps verify --routes notes`
|
|
155
|
+
- `npx --package @notis_ai/cli@latest -- notis apps verify --mode live`
|
|
156
|
+
- `npx --package @notis_ai/cli@latest -- notis apps verify --no-browser # start the harness, drive agent-browser yourself`
|
|
157
157
|
|
|
158
|
-
### `notis apps link <app-id> [dir]`
|
|
158
|
+
### `npx --package @notis_ai/cli@latest -- notis apps link <app-id> [dir]`
|
|
159
159
|
|
|
160
160
|
Link a local project to a remote Notis app.
|
|
161
161
|
|
|
162
162
|
When to use: Connect a local project to an existing app for deployment.
|
|
163
163
|
|
|
164
164
|
Examples:
|
|
165
|
-
- `notis apps link abc123`
|
|
166
|
-
- `notis apps link abc123 ./my-app`
|
|
165
|
+
- `npx --package @notis_ai/cli@latest -- notis apps link abc123`
|
|
166
|
+
- `npx --package @notis_ai/cli@latest -- notis apps link abc123 ./my-app`
|
|
167
167
|
|
|
168
|
-
### `notis apps pull <app-id> [dir]`
|
|
168
|
+
### `npx --package @notis_ai/cli@latest -- notis apps pull <app-id> [dir]`
|
|
169
169
|
|
|
170
170
|
Download a Notis app source snapshot into a local project folder.
|
|
171
171
|
|
|
@@ -176,10 +176,10 @@ Options:
|
|
|
176
176
|
- `--version <n>` — Pull a specific app source version (default: latest).
|
|
177
177
|
|
|
178
178
|
Examples:
|
|
179
|
-
- `notis apps pull abc123`
|
|
180
|
-
- `notis apps pull abc123 ./my-app --force`
|
|
179
|
+
- `npx --package @notis_ai/cli@latest -- notis apps pull abc123`
|
|
180
|
+
- `npx --package @notis_ai/cli@latest -- notis apps pull abc123 ./my-app --force`
|
|
181
181
|
|
|
182
|
-
### `notis apps deploy [dir]`
|
|
182
|
+
### `npx --package @notis_ai/cli@latest -- notis apps deploy [dir]`
|
|
183
183
|
|
|
184
184
|
Build and upload the app to the linked Notis app.
|
|
185
185
|
|
|
@@ -191,18 +191,18 @@ Options:
|
|
|
191
191
|
- `--direct` — Upload directly to Supabase storage, bypassing the backend server. Auto-fallback on network errors.
|
|
192
192
|
|
|
193
193
|
Examples:
|
|
194
|
-
- `notis apps deploy`
|
|
195
|
-
- `notis apps deploy --skip-build`
|
|
196
|
-
- `notis apps deploy --app-id abc123`
|
|
197
|
-
- `notis apps deploy --direct`
|
|
194
|
+
- `npx --package @notis_ai/cli@latest -- notis apps deploy`
|
|
195
|
+
- `npx --package @notis_ai/cli@latest -- notis apps deploy --skip-build`
|
|
196
|
+
- `npx --package @notis_ai/cli@latest -- notis apps deploy --app-id abc123`
|
|
197
|
+
- `npx --package @notis_ai/cli@latest -- notis apps deploy --direct`
|
|
198
198
|
|
|
199
|
-
### `notis apps doctor [dir]`
|
|
199
|
+
### `npx --package @notis_ai/cli@latest -- notis apps doctor [dir]`
|
|
200
200
|
|
|
201
201
|
Check project health and readiness.
|
|
202
202
|
|
|
203
203
|
When to use: Diagnose issues with a Notis app project.
|
|
204
204
|
|
|
205
205
|
Examples:
|
|
206
|
-
- `notis apps doctor`
|
|
207
|
-
- `notis apps doctor ./my-app`
|
|
206
|
+
- `npx --package @notis_ai/cli@latest -- notis apps doctor`
|
|
207
|
+
- `npx --package @notis_ai/cli@latest -- notis apps doctor ./my-app`
|
|
208
208
|
|