@notis_ai/cli 0.2.0-beta.136.1 → 0.2.0-beta.139.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 +38 -0
- package/dist/agent-hooks/notis-agent-hook.mjs +16620 -0
- package/{skills → dist/base-skills}/notis-apps/SKILL.md +9 -6
- package/{skills → dist/base-skills}/notis-cli/SKILL.md +1 -1
- package/dist/base-skills/notis-query/SKILL.md +705 -0
- package/dist/scaffolds/notis-database/packages/sdk/src/config.ts +8 -0
- package/dist/scaffolds/notis-journal/packages/sdk/src/config.ts +8 -0
- package/dist/scaffolds/notis-notes/packages/sdk/src/config.ts +8 -0
- package/dist/scaffolds/notis-random/packages/sdk/src/config.ts +8 -0
- package/dist/skill-sync/index.js +1528 -0
- package/dist/skill-sync/index.js.map +7 -0
- package/package.json +4 -1
- package/skills/notis-cli/AGENT_INSTRUCTIONS.md +39 -0
- package/skills/notis-onboarding/BRIEF.md +16 -0
- package/src/agent-hook-entry.js +5 -0
- package/src/cli.js +23 -14
- package/src/command-specs/agents.js +392 -0
- package/src/command-specs/auth.js +16 -0
- package/src/command-specs/index.js +6 -0
- package/src/command-specs/onboarding.js +59 -2
- package/src/command-specs/skills.js +56 -0
- package/src/runtime/agent-memory-state.js +126 -0
- package/src/runtime/agent-setup.js +383 -0
- package/src/runtime/base-skills.d.ts +20 -0
- package/src/runtime/base-skills.js +167 -0
- package/src/runtime/skill-sync/cloud-client.ts +96 -0
- package/src/runtime/skill-sync/index.ts +644 -0
- package/src/runtime/skill-sync/local-scanner.ts +1046 -0
- package/src/runtime/skill-sync/symlink-manager.ts +383 -0
- package/src/runtime/skill-sync/sync-plan.ts +22 -0
- package/src/runtime/skill-sync/types.ts +103 -0
- package/src/runtime/skill-sync/write-cloud-skill.ts +50 -0
- package/src/runtime/store-screenshot.js +6 -1
- package/src/runtime/sync-skills.d.ts +37 -0
- package/src/runtime/sync-skills.js +215 -0
- package/template/packages/sdk/src/config.ts +8 -0
package/README.md
CHANGED
|
@@ -6,6 +6,8 @@ Agent-first Notis CLI for apps and generic tool execution.
|
|
|
6
6
|
|
|
7
7
|
Use the Notis CLI through NPX; do not rely on an installed `notis` command. Run `notis login` once to authorize a scoped, revocable OAuth credential in the browser — that is how the CLI signs in everywhere, including on a machine that also runs Notis Desktop.
|
|
8
8
|
|
|
9
|
+
After local login, the CLI idempotently adds static Notis guidance to detected Codex and Claude Code user instruction files without changing their hooks. Run `notis agents install` when you explicitly want memory hooks that load the user's profile at session start, recall only new relevant memories before prompts, and save completed turns as automatic cross-session context. Codex then asks you to review and trust those hooks once in `/hooks`.
|
|
10
|
+
|
|
9
11
|
For CI, hosted agents, or internal scripts, pass a non-persisted token with `NOTIS_JWT=<token>`.
|
|
10
12
|
|
|
11
13
|
## Quick Start
|
|
@@ -99,6 +101,42 @@ Examples:
|
|
|
99
101
|
- `npx --package @notis_ai/cli@latest -- notis logout --all-profiles`
|
|
100
102
|
|
|
101
103
|
|
|
104
|
+
## Coding-agent context
|
|
105
|
+
|
|
106
|
+
### `npx --package @notis_ai/cli@latest -- notis agents install`
|
|
107
|
+
|
|
108
|
+
Install Notis instructions and recall/capture hooks for local Codex and Claude Code.
|
|
109
|
+
|
|
110
|
+
When to use: Run after login to give local coding agents durable Notis CLI guidance, session-start profile context, deduplicated relevant recall, and automatic completed-turn capture. Hosted Notis sandboxes already receive prompt context and are skipped.
|
|
111
|
+
|
|
112
|
+
Options:
|
|
113
|
+
- `--codex-only` — Configure only Codex.
|
|
114
|
+
- `--claude-only` — Configure only Claude Code.
|
|
115
|
+
- `--no-memory-hooks` — Install static instructions and remove Notis recall/capture hooks.
|
|
116
|
+
|
|
117
|
+
Examples:
|
|
118
|
+
- `npx --package @notis_ai/cli@latest -- notis agents install`
|
|
119
|
+
- `npx --package @notis_ai/cli@latest -- notis agents install --codex-only`
|
|
120
|
+
- `npx --package @notis_ai/cli@latest -- notis agents install --claude-only`
|
|
121
|
+
- `npx --package @notis_ai/cli@latest -- notis agents install --no-memory-hooks`
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
## Skills
|
|
125
|
+
|
|
126
|
+
### `npx --package @notis_ai/cli@latest -- notis skills sync`
|
|
127
|
+
|
|
128
|
+
Synchronize account skills and keep the three Notis base skills current.
|
|
129
|
+
|
|
130
|
+
When to use: Run manually whenever local agent skills should be reconciled. Manual runs ignore the Desktop automatic-sync preference.
|
|
131
|
+
|
|
132
|
+
Options:
|
|
133
|
+
- `--electron-repeat` — Honor the automatic Desktop sync preference (used by Notis Desktop).
|
|
134
|
+
|
|
135
|
+
Examples:
|
|
136
|
+
- `npx --package @notis_ai/cli@latest -- notis skills sync`
|
|
137
|
+
- `npx --package @notis_ai/cli@latest -- notis skills sync --json`
|
|
138
|
+
|
|
139
|
+
|
|
102
140
|
## Apps
|
|
103
141
|
|
|
104
142
|
### `npx --package @notis_ai/cli@latest -- notis apps list`
|