@notis_ai/cli 0.2.0-beta.196.1 → 0.2.0-beta.198.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.
Files changed (33) hide show
  1. package/README.md +11 -11
  2. package/config/portal-route-roots.json +0 -1
  3. package/dist/agent-hooks/notis-agent-hook.mjs +760 -473
  4. package/dist/base-skills/notis-apps/SKILL.md +4 -3
  5. package/dist/base-skills/notis-apps/references/sdk.md +3 -1
  6. package/dist/base-skills/notis-apps/references/views.md +1 -1
  7. package/dist/base-skills/notis-cli/SKILL.md +7 -5
  8. package/dist/base-skills/notis-query/references/documents.md +4 -3
  9. package/dist/sdk/src/components/DocumentPage.tsx +6 -3
  10. package/dist/sdk/src/runtime.ts +10 -2
  11. package/dist/skill-sync/index.js +78 -12
  12. package/dist/skill-sync/index.js.map +3 -3
  13. package/dist/skill-sync-worker.mjs +391 -175
  14. package/dist/view-renderer/dist/host.js +86 -86
  15. package/dist/view-renderer/src/host.tsx +4 -2
  16. package/package.json +1 -1
  17. package/skills/notis-apps/cli.md +1 -1
  18. package/skills/notis-cli/AGENT_INSTRUCTIONS.md +1 -1
  19. package/src/command-specs/auth.js +2 -2
  20. package/src/command-specs/handover.js +45 -16
  21. package/src/command-specs/profile.js +42 -1
  22. package/src/command-specs/skills.js +13 -1
  23. package/src/runtime/computer-identity.d.ts +30 -0
  24. package/src/runtime/computer-identity.js +151 -0
  25. package/src/runtime/config-lock.js +135 -0
  26. package/src/runtime/oauth.js +18 -1
  27. package/src/runtime/profiles.js +5 -107
  28. package/src/runtime/skill-sync/index.ts +83 -7
  29. package/src/runtime/skill-sync/local-scanner.ts +7 -4
  30. package/src/runtime/skill-sync/native-plan.ts +14 -3
  31. package/src/runtime/sync-skills.d.ts +3 -1
  32. package/src/runtime/sync-skills.js +10 -2
  33. package/src/skill-sync-worker.js +14 -2
package/README.md CHANGED
@@ -92,9 +92,9 @@ Examples:
92
92
 
93
93
  ### `npx --package @notis_ai/cli@latest -- notis logout`
94
94
 
95
- Revoke and remove the OAuth credential for one CLI profile.
95
+ Sign this computer out of one CLI profile: revoke and remove its OAuth credential.
96
96
 
97
- When to use: Use this to disconnect a single account. Other profiles keep their credentials unless you pass --all-profiles.
97
+ When to use: Use this to disconnect a single account on this computer. Its sign-ins on other computers stay, and other profiles keep their credentials unless you pass --all-profiles.
98
98
 
99
99
  Options:
100
100
  - `--all-profiles` — Clear OAuth credentials and pending authorizations from every CLI profile.
@@ -804,31 +804,31 @@ Examples:
804
804
 
805
805
  ## Reports and saved HTML
806
806
 
807
- Create independently authored reports as Space views with the product `notis-reports` and `notis-apps` guidance. Build and verify the selected source, deploy within the user's authorization, then render its current view link. Preserved database report rows open through their main view.
807
+ Create independently authored interactive reports as Space views with the product `notis-reports` and `notis-apps` guidance. Build and verify the selected source, deploy within the user's authorization, then render its current view link.
808
808
 
809
- For plain HTML, use the installed HTML Space and its linked saving Skill. Its generic file upload is attached to an existing native record with a separate revision-checked write; a raw download URL is not a saved page link.
809
+ Save self-contained HTML pages and reports in Notis Notes with the Save HTML Skill that comes with it; pages and reports saved before Spaces open there too. Its generic file upload is attached to an existing note with a separate revision-checked write; a raw download URL is not a saved page link.
810
810
 
811
811
  ## Hand-over
812
812
 
813
- 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.
813
+ Give the branch you are on to a Notis agent, which continues the work in a git worktree on the Notis cloud computer. By default Notis picks the agent (`--route auto`); `--route notis`, `--route codex` or `--route claude` names one instead. `--branch-mode same` makes the agent commit onto your branch; the default cuts a new branch from it.
814
814
 
815
815
  ### `npx --package @notis_ai/cli@latest -- notis handover start <task>`
816
816
 
817
817
  Hand the current branch to a Notis agent and keep working.
818
818
 
819
- 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.
819
+ 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. Notis picks the agent unless you name one with --route.
820
820
 
821
821
  Options:
822
822
  - `--branch-mode <mode>` — same = the agent commits onto your branch. new = the agent cuts a new branch from it (default).
823
- - `--route <target>` — Which agent runs it: notis (hosted, default), codex_cloud, claude_cloud, codex_local, claude_local, or auto.
823
+ - `--route <target>` — Which agent runs it: auto (default, Notis picks the agent), notis, codex or claude.
824
824
  - `--repo <slug>` — Configured repository slug on the cloud computer, when you know it.
825
825
  - `--no-wip` — Refuse on a dirty tree instead of committing the changes first.
826
826
 
827
827
  Examples:
828
828
  - `npx --package @notis_ai/cli@latest -- notis handover start "fix the failing auth tests"`
829
- - `npx --package @notis_ai/cli@latest -- notis handover start "finish the migration" --branch-mode same --route codex_cloud`
830
- - `npx --package @notis_ai/cli@latest -- notis handover start "add integration tests" --route claude_cloud`
831
- - `npx --package @notis_ai/cli@latest -- notis handover start "review and clean up this branch" --route claude_local`
829
+ - `npx --package @notis_ai/cli@latest -- notis handover start "finish the migration" --branch-mode same --route codex`
830
+ - `npx --package @notis_ai/cli@latest -- notis handover start "add integration tests" --route claude`
831
+ - `npx --package @notis_ai/cli@latest -- notis handover start "review and clean up this branch" --route notis`
832
832
 
833
833
  ### `npx --package @notis_ai/cli@latest -- notis handover status`
834
834
 
@@ -948,7 +948,7 @@ Examples:
948
948
 
949
949
  Switch the default profile without signing any profile out.
950
950
 
951
- When to use: Use this to change which account and API subsequent commands target. Every other profile keeps its credential.
951
+ When to use: Use this to change which account and API subsequent commands target. Every other profile keeps its credential. Its skills replace the previous default's in the agent folders (Claude Code, Codex, Cursor) straight away.
952
952
 
953
953
  Examples:
954
954
  - `npx --package @notis_ai/cli@latest -- notis profile use work`
@@ -1,5 +1,4 @@
1
1
  [
2
- ".well-known",
3
2
  "api",
4
3
  "apps",
5
4
  "auth",