@notis_ai/cli 0.2.24 → 0.2.26
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 +186 -5
- package/config/notis_app_design_rules.json +36 -14
- package/config/portal-route-roots.json +1 -0
- package/dist/agent-hooks/notis-agent-hook.mjs +2784 -541
- package/dist/base-skills/notis-cli/.notis-base-skill.json +1 -1
- package/dist/base-skills/notis-cli/references/intelligence.md +1 -1
- package/dist/base-skills/notis-query/.notis-base-skill.json +1 -1
- package/dist/base-skills/notis-query/SKILL.md +0 -1
- package/dist/base-skills/notis-query/references/documents.md +7 -0
- package/dist/base-skills/notis-query/references/query.md +1 -0
- package/dist/base-skills/notis-spaces/.notis-base-skill.json +1 -1
- package/dist/base-skills/notis-spaces/SKILL.md +96 -24
- package/dist/base-skills/notis-spaces/references/architecture.md +4 -3
- package/dist/base-skills/notis-spaces/references/design.md +37 -18
- package/dist/base-skills/notis-spaces/references/reading.md +8 -1
- package/dist/base-skills/notis-spaces/references/reports.md +6 -6
- package/dist/base-skills/notis-spaces/references/sdk.md +71 -7
- package/dist/base-skills/notis-spaces/references/store.md +22 -13
- package/dist/base-skills/notis-spaces/references/views.md +99 -6
- package/dist/sdk/package.json +3 -0
- package/dist/sdk/src/cloudComputerWords.ts +53 -0
- package/dist/sdk/src/components/Audience.tsx +76 -0
- package/dist/sdk/src/components/DocumentPage.tsx +15 -4
- package/dist/sdk/src/components/MarkdownEditor.tsx +44 -14
- package/dist/sdk/src/components/MultiSelectActionBar.tsx +16 -5
- package/dist/sdk/src/components/Skeleton.tsx +162 -6
- package/dist/sdk/src/hooks/useAction.ts +12 -2
- package/dist/sdk/src/hooks/useAgentQueue.ts +125 -0
- package/dist/sdk/src/hooks/useCloudComputerJob.ts +142 -0
- package/dist/sdk/src/hooks/useCloudComputerService.ts +388 -0
- package/dist/sdk/src/hooks/useCloudComputerShell.ts +95 -7
- package/dist/sdk/src/hooks/useCollectionInteractions.ts +40 -2
- package/dist/sdk/src/hooks/useItemThread.ts +58 -0
- package/dist/sdk/src/hooks/useMarqueeSelection.ts +6 -1
- package/dist/sdk/src/hooks/useNativeDocuments.ts +61 -8
- package/dist/sdk/src/hooks/useNotisNavigation.ts +31 -8
- package/dist/sdk/src/hooks/useQuery.ts +67 -10
- package/dist/sdk/src/hooks/useViewParams.ts +47 -11
- package/dist/sdk/src/index.ts +31 -4
- package/dist/sdk/src/interactions.ts +2 -0
- package/dist/sdk/src/nativeData.ts +2 -0
- package/dist/sdk/src/optimisticRows.ts +329 -0
- package/dist/sdk/src/perf.ts +188 -0
- package/dist/sdk/src/provider.tsx +2 -1
- package/dist/sdk/src/queryCache.ts +366 -17
- package/dist/sdk/src/runtime.ts +55 -4
- package/dist/sdk/src/skeleton.ts +103 -0
- package/dist/sdk/src/space.ts +662 -28
- package/dist/sdk/src/spacePublicUI.ts +36 -0
- package/dist/sdk/src/ui/engine/step.ts +54 -0
- package/dist/sdk/src/ui/icons.tsx +3 -1
- package/dist/sdk/src/words/shell.ts +1 -0
- package/dist/skill-sync/index.js +7 -2
- package/dist/skill-sync-worker.mjs +40 -26
- package/dist/space-harness/host.js +272 -105
- package/dist/space-sdk/dist/chunk-BWHAORT4.js +5 -0
- package/dist/space-sdk/dist/index.js +9 -4
- package/dist/space-sdk/dist/ui.js +12 -12
- package/dist/space-sdk/package.json +3 -0
- package/dist/space-sdk/src/cloudComputerWords.d.ts +34 -0
- package/dist/space-sdk/src/components/Audience.d.ts +46 -0
- package/dist/space-sdk/src/components/DocumentPage.d.ts +3 -1
- package/dist/space-sdk/src/components/MarkdownEditor.d.ts +21 -0
- package/dist/space-sdk/src/components/MultiSelectActionBar.d.ts +5 -1
- package/dist/space-sdk/src/components/Skeleton.d.ts +7 -2
- package/dist/space-sdk/src/hooks/useAction.d.ts +8 -1
- package/dist/space-sdk/src/hooks/useAgentQueue.d.ts +61 -0
- package/dist/space-sdk/src/hooks/useCloudComputerJob.d.ts +35 -0
- package/dist/space-sdk/src/hooks/useCloudComputerService.d.ts +75 -0
- package/dist/space-sdk/src/hooks/useCloudComputerShell.d.ts +36 -3
- package/dist/space-sdk/src/hooks/useCollectionInteractions.d.ts +6 -0
- package/dist/space-sdk/src/hooks/useItemThread.d.ts +32 -0
- package/dist/space-sdk/src/hooks/useMarqueeSelection.d.ts +2 -1
- package/dist/space-sdk/src/hooks/useNativeDocumentBody.d.ts +1 -0
- package/dist/space-sdk/src/hooks/useNativeDocuments.d.ts +20 -5
- package/dist/space-sdk/src/hooks/useNotisNavigation.d.ts +11 -2
- package/dist/space-sdk/src/hooks/useQuery.d.ts +24 -2
- package/dist/space-sdk/src/hooks/useViewParams.d.ts +2 -0
- package/dist/space-sdk/src/index.d.ts +24 -4
- package/dist/space-sdk/src/nativeData.d.ts +6 -0
- package/dist/space-sdk/src/queryCache.d.ts +97 -2
- package/dist/space-sdk/src/runtime.d.ts +53 -4
- package/dist/space-sdk/src/skeleton.d.ts +42 -0
- package/dist/space-sdk/src/space.ts +662 -28
- package/dist/space-sdk/src/tailwind-candidates.d.ts +754 -5
- package/dist/space-sdk/src/ui/cloud/CloudComputerFrame.d.ts +29 -0
- package/dist/space-sdk/src/ui/cloud/CloudComputerWaking.d.ts +20 -0
- package/dist/space-sdk/src/ui/comments/CommentPane.d.ts +15 -2
- package/dist/space-sdk/src/ui/comments/PassageComments.d.ts +50 -0
- package/dist/space-sdk/src/ui/comments/commentFiles.d.ts +64 -0
- package/dist/space-sdk/src/ui/comments/commentModel.d.ts +49 -1
- package/dist/space-sdk/src/ui/comments/commentWords.d.ts +26 -0
- package/dist/space-sdk/src/ui/comments/index.d.ts +4 -0
- package/dist/space-sdk/src/ui/comments/passageModel.d.ts +82 -0
- package/dist/space-sdk/src/ui/comments/useComments.d.ts +34 -4
- package/dist/space-sdk/src/ui/comments/usePassageComments.d.ts +67 -0
- package/dist/space-sdk/src/ui/engine/index.d.ts +2 -2
- package/dist/space-sdk/src/ui/engine/step.d.ts +9 -0
- package/dist/space-sdk/src/ui/fields/fields.d.ts +2 -1
- package/dist/space-sdk/src/ui/index.d.ts +4 -0
- package/dist/space-sdk/src/ui/layout/Panels.d.ts +9 -2
- package/dist/space-sdk/src/ui/layout/SidePane.d.ts +42 -0
- package/dist/space-sdk/src/ui/layout/index.d.ts +2 -1
- package/dist/space-sdk/src/ui/layout/panelMath.d.ts +11 -2
- package/dist/space-sdk/src/ui/list/ListReader.d.ts +38 -7
- package/dist/space-sdk/src/ui/list/Row.d.ts +4 -0
- package/dist/space-sdk/src/ui/list/SelectionBar.d.ts +9 -4
- package/dist/space-sdk/src/ui/list/useListKeys.d.ts +4 -0
- package/dist/space-sdk/src/words/shell.ts +1 -0
- package/dist/view-renderer/dist/host.js +355 -188
- package/dist/view-renderer/dist/theme.css +1 -1
- package/dist/view-renderer/src/host.tsx +4 -1
- package/dist/view-renderer/src/index.js +3 -0
- package/dist/view-renderer/src/pool.js +8 -4
- package/dist/view-renderer/src/renderer.js +92 -23
- package/dist/view-renderer/src/skeleton.js +450 -0
- package/package.json +4 -4
- package/skills/notis-cli/AGENT_INSTRUCTIONS.md +8 -4
- package/skills/notis-onboarding/BRIEF.md +15 -9
- package/skills/notis-spaces/cli.md +43 -4
- package/src/command-specs/auth.js +5 -3
- package/src/command-specs/cc.js +410 -0
- package/src/command-specs/computer.js +320 -0
- package/src/command-specs/diagnostics.js +2 -13
- package/src/command-specs/documents.js +22 -4
- package/src/command-specs/index.js +7 -0
- package/src/command-specs/onboarding.js +127 -7
- package/src/command-specs/skills.js +2 -2
- package/src/command-specs/spaces.js +162 -30
- package/src/command-specs/tools.js +26 -8
- package/src/command-specs/views.js +4 -1
- package/src/runtime/agent-setup.js +20 -2
- package/src/runtime/app-boundary-validator.js +2 -1
- package/src/runtime/app-platform.js +13 -0
- package/src/runtime/auth-recovery.js +5 -0
- package/src/runtime/channel.js +16 -2
- package/src/runtime/cloud-transfer.js +587 -0
- package/src/runtime/computer-ssh.js +127 -0
- package/src/runtime/oauth.js +50 -4
- package/src/runtime/skill-sync/index.ts +20 -1
- package/src/runtime/skill-sync/local-scanner.ts +1 -0
- package/src/runtime/skill-sync/types.ts +2 -0
- package/src/runtime/space-audience.js +94 -0
- package/src/runtime/space-collection-scaffold.js +2 -1
- package/src/runtime/space-fixture-broker.js +2 -1
- package/src/runtime/space-lock.js +1 -4
- package/src/runtime/space-platform.js +18 -2
- package/src/runtime/space-source.js +105 -7
- package/src/runtime/space-test-server.js +13 -2
- package/src/runtime/space-verification.js +99 -6
- package/src/runtime/space-view-manifest.js +22 -4
- package/src/runtime/sync-skills.js +24 -20
- package/src/runtime/transport.js +19 -0
- package/src/runtime/view-render.js +2 -2
- package/template/.harness/index.html.tmpl +1 -1
- package/dist/skill-sync/index.js.map +0 -7
- package/dist/space-sdk/dist/chunk-SVZATGZB.js +0 -5
package/README.md
CHANGED
|
@@ -185,7 +185,7 @@ Examples:
|
|
|
185
185
|
|
|
186
186
|
Inspect a native Skill through direct ownership or an editable Space link.
|
|
187
187
|
|
|
188
|
-
When to use: Read the exact target and content version before editing. A Space target uses its current Editor authority, never a personal fallback.
|
|
188
|
+
When to use: Read the exact target and content version before editing. A Skill ID opens your own Skill, or a Space Skill through a Space where you are an Editor, and answers that link as its target; a Space target uses its current Editor authority, never a personal fallback. A refusal names the Skill and what is missing.
|
|
189
189
|
|
|
190
190
|
Options:
|
|
191
191
|
- `--files` — Include every verified supporting file as base64.
|
|
@@ -332,6 +332,7 @@ When to use: Check the actual deployed view; writes are blocked and current acce
|
|
|
332
332
|
|
|
333
333
|
Options:
|
|
334
334
|
- `--width <pixels>` — 1440 (default) or 390.
|
|
335
|
+
- `--view-as <audience>` — public: render the view as the public sees it (no editor-only parts).
|
|
335
336
|
- `--output-dir <path>` — New output directory; defaults to a unique .notis/renders directory. Existing files are never overwritten.
|
|
336
337
|
|
|
337
338
|
Examples:
|
|
@@ -402,6 +403,23 @@ Options:
|
|
|
402
403
|
Examples:
|
|
403
404
|
- `npx --package @notis_ai/cli@latest -- notis spaces links remove <space-id> <binding-id> --revision 1 --request-id remove-link-1`
|
|
404
405
|
|
|
406
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces folder <space-id>`
|
|
407
|
+
|
|
408
|
+
Show the folder a Space works in on your Cloud Computer or this computer, or map it to a folder of your own.
|
|
409
|
+
|
|
410
|
+
When to use: Find where a Space keeps its files and builds, or point it at an existing project folder. Each person maps their own folder; clearing a mapping goes back to the Space's own folder, which is never deleted by it.
|
|
411
|
+
|
|
412
|
+
Options:
|
|
413
|
+
- `--map <path>` — Use this folder instead: inside /vercel/sandbox on the Cloud Computer, absolute or ~/ on this computer.
|
|
414
|
+
- `--unmap` — Go back to the Space's own folder.
|
|
415
|
+
- `--target <where>` — cloud (default) for the Cloud Computer, desktop for this computer through Notis Desktop.
|
|
416
|
+
|
|
417
|
+
Examples:
|
|
418
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces folder <space-id>`
|
|
419
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces folder <space-id> --map /vercel/sandbox/my-app`
|
|
420
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces folder <space-id> --target desktop --map ~/code/my-app`
|
|
421
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces folder <space-id> --unmap`
|
|
422
|
+
|
|
405
423
|
### `npx --package @notis_ai/cli@latest -- notis spaces aliases list`
|
|
406
424
|
|
|
407
425
|
List the old App page links you manage and the Space each one opens.
|
|
@@ -633,14 +651,28 @@ When to use: See which installed copies have an update or conflicts to resolve.
|
|
|
633
651
|
Examples:
|
|
634
652
|
- `npx --package @notis_ai/cli@latest -- notis spaces store installs`
|
|
635
653
|
|
|
654
|
+
### `npx --package @notis_ai/cli@latest -- notis spaces store check <listing-id>`
|
|
655
|
+
|
|
656
|
+
Check a Store listing, or the update of an installed copy, before installing it.
|
|
657
|
+
|
|
658
|
+
When to use: Always before store install or store update: it returns the risks in plain words, a recommendation, the trust line of a Space shared by link and a receipt valid one hour. Tell the person, wait for their yes, then install with --receipt and --confirmed.
|
|
659
|
+
|
|
660
|
+
Options:
|
|
661
|
+
- `--install <install-id>` — Check only what the update of this installed copy changes.
|
|
662
|
+
- `--locale <en|fr>` — The person's language for the risks and the trust line.
|
|
663
|
+
|
|
664
|
+
Examples:
|
|
665
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces store check <listing-id>`
|
|
666
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces store check <listing-id> --install <install-id> --locale fr`
|
|
667
|
+
|
|
636
668
|
### `npx --package @notis_ai/cli@latest -- notis spaces store publish <space-id>`
|
|
637
669
|
|
|
638
670
|
Publish a Space and its sub-Spaces as the next Store version.
|
|
639
671
|
|
|
640
|
-
When to use: Share a Space you own as an installable template: team listings publish at once, public ones wait for review. Notis runs the same safety scan and Owner check as the submission page and explains any refusal.
|
|
672
|
+
When to use: Share a Space you own as an installable template: link and team listings publish at once, public ones wait for review. A link listing never shows in the Store; only people with its link see it. Notis runs the same safety scan and Owner check as the submission page and explains any refusal.
|
|
641
673
|
|
|
642
674
|
Options:
|
|
643
|
-
- `--channel <team|public>` — Where to publish.
|
|
675
|
+
- `--channel <link|team|public>` — Where to publish: anyone with the link, your team or everyone.
|
|
644
676
|
- `--metadata <json>` — Listing name, tagline, description, category, icon, accent.
|
|
645
677
|
- `--starter <json>` — Starter row IDs per database ({"<database-id>":["<record-key>"]}).
|
|
646
678
|
- `--notes <text>` — Release notes for this version.
|
|
@@ -649,21 +681,24 @@ Options:
|
|
|
649
681
|
|
|
650
682
|
Examples:
|
|
651
683
|
- `npx --package @notis_ai/cli@latest -- notis spaces store publish <space-id> --channel team --request-id publish-1 --dry-run`
|
|
684
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces store publish <space-id> --channel link --request-id share-link-1`
|
|
652
685
|
|
|
653
686
|
### `npx --package @notis_ai/cli@latest -- notis spaces store install <listing-id>`
|
|
654
687
|
|
|
655
688
|
Install a Store listing as your own independent copy.
|
|
656
689
|
|
|
657
|
-
When to use: Add a published Space template to your account; your copy keeps your changes on later updates.
|
|
690
|
+
When to use: Add a published Space template to your account after store check and the person's yes; your copy keeps your changes on later updates and its automations arrive paused.
|
|
658
691
|
|
|
659
692
|
Options:
|
|
660
693
|
- `--name <name>` — Name of the installed top Space.
|
|
661
694
|
- `--parent <space-id>` — Install under one of your Spaces.
|
|
695
|
+
- `--receipt <receipt-id>` — The receipt_id store check returned for this exact version.
|
|
696
|
+
- `--confirmed` — The person said yes to the risks store check reported.
|
|
662
697
|
- `--request-id <key>` — Stable intent key. Reuse after timeouts or lost replies.
|
|
663
698
|
- `--dry-run` — Show what the copy contains without installing.
|
|
664
699
|
|
|
665
700
|
Examples:
|
|
666
|
-
- `npx --package @notis_ai/cli@latest -- notis spaces store install <listing-id> --request-id install-1`
|
|
701
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces store install <listing-id> --request-id install-1 --receipt <receipt-id> --confirmed`
|
|
667
702
|
|
|
668
703
|
### `npx --package @notis_ai/cli@latest -- notis spaces store update <install-id>`
|
|
669
704
|
|
|
@@ -673,11 +708,14 @@ When to use: Take a newer Store version: unchanged parts update, your edits stay
|
|
|
673
708
|
|
|
674
709
|
Options:
|
|
675
710
|
- `--resolve <json>` — Per conflict key: "keep_mine" or "take_theirs".
|
|
711
|
+
- `--receipt <receipt-id>` — The receipt_id store check returned for this exact version.
|
|
712
|
+
- `--confirmed` — The person said yes to the risks store check reported.
|
|
676
713
|
- `--request-id <key>` — Stable intent key. Reuse after timeouts or lost replies.
|
|
677
714
|
- `--dry-run` — Show the three-way plan without changing anything.
|
|
678
715
|
|
|
679
716
|
Examples:
|
|
680
717
|
- `npx --package @notis_ai/cli@latest -- notis spaces store update <install-id> --request-id update-1 --dry-run`
|
|
718
|
+
- `npx --package @notis_ai/cli@latest -- notis spaces store update <install-id> --request-id update-1 --receipt <receipt-id> --confirmed`
|
|
681
719
|
- `npx --package @notis_ai/cli@latest -- notis spaces store update <install-id> --resolve '{"skill:<key>":"keep_mine"}' --request-id resolve-1`
|
|
682
720
|
|
|
683
721
|
### `npx --package @notis_ai/cli@latest -- notis spaces store unpublish <listing-id>`
|
|
@@ -746,6 +784,7 @@ When to use: Check the actual deployed view; writes are blocked and current acce
|
|
|
746
784
|
Options:
|
|
747
785
|
- `--outputs <kinds>` — Comma-separated markdown,screenshot (default both).
|
|
748
786
|
- `--width <pixels>` — 1440 (default) or 390.
|
|
787
|
+
- `--view-as <audience>` — public: render the view as the public sees it (no editor-only parts).
|
|
749
788
|
- `--output-dir <path>` — New output directory; defaults to a unique .notis/renders directory. Existing files are never overwritten.
|
|
750
789
|
|
|
751
790
|
Examples:
|
|
@@ -793,6 +832,148 @@ Examples:
|
|
|
793
832
|
- `npx --package @notis_ai/cli@latest -- notis handover status 6f1c2e8a-4b7d-5c3e-9a1f-2d8b7e6c5a4f`
|
|
794
833
|
|
|
795
834
|
|
|
835
|
+
## Cloud Computer
|
|
836
|
+
|
|
837
|
+
Run commands on your Cloud Computer and follow long work as background jobs. A job started with `--detach` keeps running when the terminal closes; read its output with `notis cc job logs <job-id> --follow`.
|
|
838
|
+
|
|
839
|
+
### `npx --package @notis_ai/cli@latest -- notis cc run <command>`
|
|
840
|
+
|
|
841
|
+
Run a shell command on your Cloud Computer, or start it as a background job.
|
|
842
|
+
|
|
843
|
+
When to use: Use this for builds, installs, scripts and servers on the Cloud Computer. Add --detach for work longer than 12 minutes, then follow it with notis cc job logs. Add --space to run in a Space folder (you must be able to edit that Space).
|
|
844
|
+
|
|
845
|
+
Options:
|
|
846
|
+
- `--detach` — Start it as a background job and print its job id at once.
|
|
847
|
+
- `--space <space-id>` — Run in this Space folder: NOTIS_SPACE_DIR is set, and without --cwd the command starts there.
|
|
848
|
+
- `--cwd <dir>` — Folder to start in, inside /vercel/sandbox.
|
|
849
|
+
- `--timeout-ms <n>` — Time limit of the command (1000 to 720000), or of the detached job (up to 21600000, 6 hours).
|
|
850
|
+
|
|
851
|
+
Examples:
|
|
852
|
+
- `npx --package @notis_ai/cli@latest -- notis cc run "npm test" --cwd /vercel/sandbox/app`
|
|
853
|
+
- `npx --package @notis_ai/cli@latest -- notis cc run "npm run build" --space <space-id> --detach --timeout-ms 3600000`
|
|
854
|
+
|
|
855
|
+
### `npx --package @notis_ai/cli@latest -- notis cc push <local>`
|
|
856
|
+
|
|
857
|
+
Copy a file or folder from this computer to your Cloud Computer, straight to the machine.
|
|
858
|
+
|
|
859
|
+
When to use: Use this for big files and whole project folders (videos, datasets, builds). Small files travel in batches, big ones in 32 MB parts over parallel streams; the bytes never pass through Notis servers. If the link drops or you stop it, run the same command again: it sends only what is missing. Links are followed like scp unless --skip-links is set.
|
|
860
|
+
|
|
861
|
+
Options:
|
|
862
|
+
- `--space <space-id>` — Put it in this Space folder (you must be able to edit the Space).
|
|
863
|
+
- `--dest <folder>` — With --space: a folder inside the Space folder (default files). Without: a full folder inside /vercel/sandbox.
|
|
864
|
+
- `--streams <n>` — Parallel streams (default 8).
|
|
865
|
+
- `--skip-links` — Do not follow symbolic links.
|
|
866
|
+
|
|
867
|
+
Examples:
|
|
868
|
+
- `npx --package @notis_ai/cli@latest -- notis cc push ./launch-video --space <space-id> --dest files/launch`
|
|
869
|
+
- `npx --package @notis_ai/cli@latest -- notis cc push dataset.parquet --dest /vercel/sandbox/data`
|
|
870
|
+
|
|
871
|
+
### `npx --package @notis_ai/cli@latest -- notis cc pull <remote> <local>`
|
|
872
|
+
|
|
873
|
+
Copy a file or folder from your Cloud Computer to this computer, straight from the machine.
|
|
874
|
+
|
|
875
|
+
When to use: Use this to bring renders, exports or results back. Downloads resume where they stopped when you run the same command again, and every file is checked against its sha256.
|
|
876
|
+
|
|
877
|
+
Options:
|
|
878
|
+
- `--space <space-id>` — Read from this Space folder.
|
|
879
|
+
- `--streams <n>` — Parallel streams (default 8).
|
|
880
|
+
|
|
881
|
+
Examples:
|
|
882
|
+
- `npx --package @notis_ai/cli@latest -- notis cc pull files/render.mp4 ./ --space <space-id>`
|
|
883
|
+
- `npx --package @notis_ai/cli@latest -- notis cc pull /vercel/sandbox/app/dist ./dist`
|
|
884
|
+
|
|
885
|
+
### `npx --package @notis_ai/cli@latest -- notis cc job status <job-id>`
|
|
886
|
+
|
|
887
|
+
Show whether a Cloud Computer job is running, and how it ended.
|
|
888
|
+
|
|
889
|
+
When to use: Use this after notis cc run --detach to check a background job.
|
|
890
|
+
|
|
891
|
+
Examples:
|
|
892
|
+
- `npx --package @notis_ai/cli@latest -- notis cc job status <job-id>`
|
|
893
|
+
|
|
894
|
+
### `npx --package @notis_ai/cli@latest -- notis cc job logs <job-id>`
|
|
895
|
+
|
|
896
|
+
Read the output of a Cloud Computer job, or follow it until the job ends.
|
|
897
|
+
|
|
898
|
+
When to use: Use this to see what a background job printed. --follow checks every 2 seconds and prints only new output; pass --offset to continue from an earlier next_offset.
|
|
899
|
+
|
|
900
|
+
Options:
|
|
901
|
+
- `--offset <n>` — Byte to start reading from (default 0).
|
|
902
|
+
- `--follow` — Keep reading every 2 seconds until the job ends and all output is read.
|
|
903
|
+
|
|
904
|
+
Examples:
|
|
905
|
+
- `npx --package @notis_ai/cli@latest -- notis cc job logs <job-id>`
|
|
906
|
+
- `npx --package @notis_ai/cli@latest -- notis cc job logs <job-id> --follow`
|
|
907
|
+
- `npx --package @notis_ai/cli@latest -- notis cc job logs <job-id> --offset 65536`
|
|
908
|
+
|
|
909
|
+
### `npx --package @notis_ai/cli@latest -- notis cc job cancel <job-id>`
|
|
910
|
+
|
|
911
|
+
Stop a running Cloud Computer job.
|
|
912
|
+
|
|
913
|
+
When to use: Use this to stop a background job started with notis cc run --detach.
|
|
914
|
+
|
|
915
|
+
Examples:
|
|
916
|
+
- `npx --package @notis_ai/cli@latest -- notis cc job cancel <job-id>`
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
Open SSH from this device to your Cloud Computer. The first `notis computer ssh` creates this device's key, registers it and adds a `notis-computer` host to `~/.ssh/config`; after that `ssh notis-computer` and tools that read your SSH config (T3, editors) connect directly. A stopped computer starts on connect, and an open connection keeps it on. Agents list and remove keys with `LOCAL_NOTIS_GET_CLOUD_COMPUTER` and `LOCAL_NOTIS_MANAGE_CLOUD_COMPUTER`; only the CLI on a device adds its key.
|
|
920
|
+
|
|
921
|
+
`notis computer status` says when your Cloud Computer stopped answering. `notis computer restart` restarts it with its files kept; `notis computer recover`, only after a restart failed, brings it back from its last save and loses what came after. Both show what they will do and ask first.
|
|
922
|
+
|
|
923
|
+
### `npx --package @notis_ai/cli@latest -- notis computer status`
|
|
924
|
+
|
|
925
|
+
Show whether your Cloud Computer is working, asleep or not responding.
|
|
926
|
+
|
|
927
|
+
When to use: Check your Cloud Computer, for example when a command on it fails or an agent says it stopped answering.
|
|
928
|
+
|
|
929
|
+
Examples:
|
|
930
|
+
- `npx --package @notis_ai/cli@latest -- notis computer status`
|
|
931
|
+
|
|
932
|
+
### `npx --package @notis_ai/cli@latest -- notis computer restart`
|
|
933
|
+
|
|
934
|
+
Restart a Cloud Computer that stopped answering. Its files are kept.
|
|
935
|
+
|
|
936
|
+
When to use: Only while notis computer status says it is not responding. Whatever was running on it stops; it answers again in 1 to 2 minutes.
|
|
937
|
+
|
|
938
|
+
Options:
|
|
939
|
+
- `--yes` — Apply without the Continue? [y/N] question.
|
|
940
|
+
|
|
941
|
+
Examples:
|
|
942
|
+
- `npx --package @notis_ai/cli@latest -- notis computer restart`
|
|
943
|
+
- `npx --package @notis_ai/cli@latest -- notis computer restart --yes`
|
|
944
|
+
|
|
945
|
+
### `npx --package @notis_ai/cli@latest -- notis computer recover`
|
|
946
|
+
|
|
947
|
+
Bring back a Cloud Computer that cannot restart, from its last save.
|
|
948
|
+
|
|
949
|
+
When to use: Only after notis computer restart failed. Anything written after the last save is lost, and this cannot be undone; the preview says when that save was made.
|
|
950
|
+
|
|
951
|
+
Options:
|
|
952
|
+
- `--yes` — Apply without the Continue? [y/N] question.
|
|
953
|
+
|
|
954
|
+
Examples:
|
|
955
|
+
- `npx --package @notis_ai/cli@latest -- notis computer recover`
|
|
956
|
+
|
|
957
|
+
### `npx --package @notis_ai/cli@latest -- notis computer ssh [ssh_args...]`
|
|
958
|
+
|
|
959
|
+
Open SSH to your Cloud Computer from this device.
|
|
960
|
+
|
|
961
|
+
When to use: Use a terminal, an editor or T3 on your Cloud Computer. The first run sets this device up; after that `ssh notis-computer` works anywhere. A stopped computer starts; it stays on while you are connected.
|
|
962
|
+
|
|
963
|
+
Options:
|
|
964
|
+
- `--setup` — Create and register this device's key and write the notis-computer SSH host, then stop.
|
|
965
|
+
- `--list` — List the devices that can open SSH to your Cloud Computer.
|
|
966
|
+
- `--revoke <key_id>` — Remove a device's key; it can no longer connect.
|
|
967
|
+
- `--proxy` — Used by ssh as the notis-computer ProxyCommand.
|
|
968
|
+
|
|
969
|
+
Examples:
|
|
970
|
+
- `npx --package @notis_ai/cli@latest -- notis computer ssh`
|
|
971
|
+
- `npx --package @notis_ai/cli@latest -- notis computer ssh --setup`
|
|
972
|
+
- `npx --package @notis_ai/cli@latest -- notis computer ssh -- -L 3000:localhost:3000`
|
|
973
|
+
- `npx --package @notis_ai/cli@latest -- notis computer ssh --list`
|
|
974
|
+
- `npx --package @notis_ai/cli@latest -- notis computer ssh --revoke <key_id>`
|
|
975
|
+
|
|
976
|
+
|
|
796
977
|
## Generic Tools
|
|
797
978
|
|
|
798
979
|
### `npx --package @notis_ai/cli@latest -- notis tools toolkits`
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"allow_reason_min_length": 12,
|
|
14
14
|
"profiles": {
|
|
15
15
|
"space": {
|
|
16
|
-
"description": "Every file a Space view can draw from. Used by notis spaces build/verify/preview/deploy and by the server on source-verify, source-stage and source-publish. Rules without a profiles field run in every profile; rules with profiles run only in the listed ones. A rule's profile_messages.<profile> replaces its message in that profile. Comments are blanked before matching.",
|
|
16
|
+
"description": "Every file a Space view can draw from. Used by notis spaces build/verify/preview/deploy and by the server on source-verify, source-stage and source-publish. Rules without a profiles field run in every profile; rules with profiles run only in the listed ones. A rule's profile_messages.<profile> replaces its message and its profile_severity.<profile> its severity in that profile: Space style defaults warn, while the rules that protect the host frame, theme, keys and words still refuse. Comments are blanked before matching.",
|
|
17
17
|
"include": ["app/**", "components/**", "hooks/**", "lib/**", "spaces/**", "src/**", "views/**"],
|
|
18
18
|
"exclude": ["**/*.test.*", "**/*.spec.*", "**/__tests__/**", "**/fixtures/**"]
|
|
19
19
|
}
|
|
@@ -24,9 +24,11 @@
|
|
|
24
24
|
{
|
|
25
25
|
"id": "no-border-box",
|
|
26
26
|
"severity": "error",
|
|
27
|
+
"profile_severity": { "space": "warn" },
|
|
27
28
|
"pattern": "(?<![\\w-])border(?![\\w-])(?!\\s*:\\s*(?:0(?:px)?|none)\\s*(?:!important\\s*)?(?:[;}]))|(?<![\\w-])border-(?:[xy]|\\d+)(?![\\w-])",
|
|
28
29
|
"message": "Four-side borders are banned. Use a flat tint (bg-muted / bg-background) or a single border-t / border-b hairline between sections.",
|
|
29
|
-
"exclude": ["components/ui/badge.tsx", "components/ui/native-select.tsx"]
|
|
30
|
+
"exclude": ["components/ui/badge.tsx", "components/ui/native-select.tsx"],
|
|
31
|
+
"profile_messages": { "space": "Default look: no four-side borders; a flat tint (bg-muted / bg-background) or one border-t / border-b hairline separates sections. It warns and never blocks: depart from it when the view's own design calls for it." }
|
|
30
32
|
},
|
|
31
33
|
{
|
|
32
34
|
"id": "no-side-bar",
|
|
@@ -37,37 +39,46 @@
|
|
|
37
39
|
{
|
|
38
40
|
"id": "no-dashed-box",
|
|
39
41
|
"severity": "error",
|
|
42
|
+
"profile_severity": { "space": "warn" },
|
|
40
43
|
"pattern": "\\bborder-dashed\\b",
|
|
41
|
-
"message": "Dashed boxes are banned. Empty states are centered muted text with an optional primary button."
|
|
44
|
+
"message": "Dashed boxes are banned. Empty states are centered muted text with an optional primary button.",
|
|
45
|
+
"profile_messages": { "space": "Default look: no dashed boxes; an empty state is centred muted text with an optional primary button. It warns and never blocks: depart from it when the view's own design calls for it." }
|
|
42
46
|
},
|
|
43
47
|
{
|
|
44
48
|
"id": "no-divide",
|
|
45
49
|
"severity": "error",
|
|
50
|
+
"profile_severity": { "space": "warn" },
|
|
46
51
|
"pattern": "\\bdivide-[xy]\\b|<hr\\b",
|
|
47
52
|
"message": "Row dividers are banned. Use spacing, the Row hover from @notis/sdk/ui, or one hairline between sections.",
|
|
48
53
|
"profile_messages": {
|
|
49
|
-
"space": "
|
|
54
|
+
"space": "Default look: no row dividers; Row from @notis/sdk/ui (its spacing and hover tint separate items) or one hairline between sections. It warns and never blocks: depart from it when the view's own design calls for it."
|
|
50
55
|
}
|
|
51
56
|
},
|
|
52
57
|
{
|
|
53
58
|
"id": "no-ring-box",
|
|
54
59
|
"severity": "error",
|
|
60
|
+
"profile_severity": { "space": "warn" },
|
|
55
61
|
"pattern": "(?<![\\w:-])ring-(?:1|2|4|inset)\\b",
|
|
56
|
-
"message": "Rings as a box or selection indicator are banned. Keep focus-visible:ring-2 on controls; use bg-muted for selection."
|
|
62
|
+
"message": "Rings as a box or selection indicator are banned. Keep focus-visible:ring-2 on controls; use bg-muted for selection.",
|
|
63
|
+
"profile_messages": { "space": "Default look: no ring as a box; selection is a bg-muted tint and focus-visible:ring-2 stays on controls. It warns and never blocks: depart from it when the view's own design calls for it." }
|
|
57
64
|
},
|
|
58
65
|
{
|
|
59
66
|
"id": "no-shadow",
|
|
60
67
|
"severity": "error",
|
|
68
|
+
"profile_severity": { "space": "warn" },
|
|
61
69
|
"pattern": "\\bshadow-(?:sm|md|xl|2xl)\\b",
|
|
62
70
|
"message": "Shadows are banned on panels, cards, tiles, and bubbles. Only a floating popover or menu may use shadow-lg with bg-popover.",
|
|
63
|
-
"exclude": ["components/ui/popover.tsx", "components/ui/dropdown-menu.tsx", "components/ui/tooltip.tsx", "components/ui/select.tsx", "components/ui/dialog.tsx", "components/ui/sheet.tsx"]
|
|
71
|
+
"exclude": ["components/ui/popover.tsx", "components/ui/dropdown-menu.tsx", "components/ui/tooltip.tsx", "components/ui/select.tsx", "components/ui/dialog.tsx", "components/ui/sheet.tsx"],
|
|
72
|
+
"profile_messages": { "space": "Default look: flat panels, cards, tiles and bubbles; only a floating popover or menu takes shadow-lg with bg-popover. It warns and never blocks: depart from it when the view's own design calls for it." }
|
|
64
73
|
},
|
|
65
74
|
{
|
|
66
75
|
"id": "no-floating-shadow-without-popover",
|
|
67
76
|
"severity": "error",
|
|
77
|
+
"profile_severity": { "space": "warn" },
|
|
68
78
|
"pattern": "^(?!.*bg-popover).*\\bshadow-lg\\b",
|
|
69
79
|
"message": "shadow-lg is only allowed on a floating layer that also uses bg-popover.",
|
|
70
|
-
"exclude": ["components/ui/popover.tsx", "components/ui/dropdown-menu.tsx", "components/ui/tooltip.tsx", "components/ui/select.tsx", "components/ui/dialog.tsx", "components/ui/sheet.tsx"]
|
|
80
|
+
"exclude": ["components/ui/popover.tsx", "components/ui/dropdown-menu.tsx", "components/ui/tooltip.tsx", "components/ui/select.tsx", "components/ui/dialog.tsx", "components/ui/sheet.tsx"],
|
|
81
|
+
"profile_messages": { "space": "Default look: shadow-lg belongs on a floating layer that also uses bg-popover. It warns and never blocks: depart from it when the view's own design calls for it." }
|
|
71
82
|
},
|
|
72
83
|
{
|
|
73
84
|
"id": "no-palette-hue",
|
|
@@ -84,22 +95,27 @@
|
|
|
84
95
|
{
|
|
85
96
|
"id": "no-gradient",
|
|
86
97
|
"severity": "error",
|
|
98
|
+
"profile_severity": { "space": "warn" },
|
|
87
99
|
"pattern": "\\bbg-gradient-|linear-gradient\\(|radial-gradient\\(|conic-gradient\\(",
|
|
88
|
-
"message": "Gradients are banned."
|
|
100
|
+
"message": "Gradients are banned.",
|
|
101
|
+
"profile_messages": { "space": "Default look: no gradients. It warns and never blocks: depart from it when the view's own design calls for it." }
|
|
89
102
|
},
|
|
90
103
|
{
|
|
91
104
|
"id": "no-backdrop-blur",
|
|
92
105
|
"severity": "error",
|
|
106
|
+
"profile_severity": { "space": "warn" },
|
|
93
107
|
"pattern": "\\bbackdrop-blur",
|
|
94
|
-
"message": "Glassmorphism is banned."
|
|
108
|
+
"message": "Glassmorphism is banned.",
|
|
109
|
+
"profile_messages": { "space": "Default look: no glassmorphism. It warns and never blocks: depart from it when the view's own design calls for it." }
|
|
95
110
|
},
|
|
96
111
|
{
|
|
97
112
|
"id": "no-eyebrow",
|
|
98
113
|
"severity": "error",
|
|
114
|
+
"profile_severity": { "space": "warn" },
|
|
99
115
|
"pattern": "\\buppercase\\b[^\\n]{0,80}\\btracking-(?:wide|wider|widest|\\[)|\\btracking-(?:wide|wider|widest|\\[)[^\\n]{0,80}\\buppercase\\b",
|
|
100
116
|
"message": "Uppercase tracking eyebrows are banned. Use a plain noun page title and text-xs text-muted-foreground labels.",
|
|
101
117
|
"profile_messages": {
|
|
102
|
-
"space": "
|
|
118
|
+
"space": "Default look: no uppercase tracking eyebrows; labels are text-xs text-muted-foreground and the top bar crumb names the page. It warns and never blocks: depart from it when the view's own design calls for it."
|
|
103
119
|
}
|
|
104
120
|
},
|
|
105
121
|
{
|
|
@@ -111,8 +127,10 @@
|
|
|
111
127
|
{
|
|
112
128
|
"id": "no-badge-outline",
|
|
113
129
|
"severity": "error",
|
|
130
|
+
"profile_severity": { "space": "warn" },
|
|
114
131
|
"pattern": "<Badge\\b[^>]*variant=[\"']outline[\"']",
|
|
115
|
-
"message": "Badge variant=\"outline\" is banned. Use default, secondary, or destructive."
|
|
132
|
+
"message": "Badge variant=\"outline\" is banned. Use default, secondary, or destructive.",
|
|
133
|
+
"profile_messages": { "space": "Default look: Badge variants default, secondary or destructive. It warns and never blocks: depart from it when the view's own design calls for it." }
|
|
116
134
|
},
|
|
117
135
|
{
|
|
118
136
|
"id": "no-raw-select",
|
|
@@ -133,8 +151,10 @@
|
|
|
133
151
|
{
|
|
134
152
|
"id": "no-font-serif",
|
|
135
153
|
"severity": "error",
|
|
154
|
+
"profile_severity": { "space": "warn" },
|
|
136
155
|
"pattern": "\\bfont-serif\\b",
|
|
137
|
-
"message": "font-serif is banned. Apps use the portal font."
|
|
156
|
+
"message": "font-serif is banned. Apps use the portal font.",
|
|
157
|
+
"profile_messages": { "space": "Default look: the portal font. It warns and never blocks: depart from it when the view's own design calls for it." }
|
|
138
158
|
},
|
|
139
159
|
{
|
|
140
160
|
"id": "no-loading-placeholder",
|
|
@@ -170,9 +190,11 @@
|
|
|
170
190
|
{
|
|
171
191
|
"id": "no-centered-column",
|
|
172
192
|
"severity": "error",
|
|
193
|
+
"profile_severity": { "space": "warn" },
|
|
173
194
|
"profiles": ["space"],
|
|
174
195
|
"pattern": "(?<![\\w-])mx-auto(?![\\w-])[^\\n\\\"'`]*(?<![\\w-])(?:max-w-|container(?![\\w-]))|(?<![\\w-])(?:max-w-[\\w\\[\\]./-]+|container)(?![\\w-])[^\\n\\\"'`]*(?<![\\w-])mx-auto(?![\\w-])|(?:max-width|maxWidth)\\s*:[^{}]*\\bmargin(?:-inline|Inline)?\\s*:\\s*['\\\"`]?(?:0(?:px)?\\s+)?auto\\b|\\bmargin(?:-inline|Inline)?\\s*:\\s*['\\\"`]?(?:0(?:px)?\\s+)?auto\\b[^{}]*(?:max-width|maxWidth)\\s*:",
|
|
175
|
-
"message": "Spaces fill their pane edge to edge. Drop the centred column (mx-auto with max-w or container, or max-width with margin auto): Section from @notis/sdk/ui keeps the 24px inset and form fields cap their own width."
|
|
196
|
+
"message": "Spaces fill their pane edge to edge. Drop the centred column (mx-auto with max-w or container, or max-width with margin auto): Section from @notis/sdk/ui keeps the 24px inset and form fields cap their own width.",
|
|
197
|
+
"profile_messages": { "space": "Default look: a Space fills its pane edge to edge and Section keeps the 24px inset. A centred column is right for a reading, writing or focus layout; elsewhere drop it." }
|
|
176
198
|
},
|
|
177
199
|
{
|
|
178
200
|
"id": "no-app-shell",
|
|
@@ -208,7 +230,7 @@
|
|
|
208
230
|
"severity": "warn",
|
|
209
231
|
"profiles": ["space"],
|
|
210
232
|
"pattern": "\\blayout\\s*=\\s*\\{?\\s*['\\\"`]tiles['\\\"`]|\\brenderTile\\b",
|
|
211
|
-
"message": "Tiles
|
|
233
|
+
"message": "Tiles suit a gallery, where each item has a picture or a mark (competitors, integrations, skills to discover). For a working list, rows usually read better; keep tiles when the view's design calls for them."
|
|
212
234
|
},
|
|
213
235
|
{
|
|
214
236
|
"id": "space-no-global-key-listener",
|