@dosu/cli 0.66.1 β†’ 0.67.0-beta.2

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 (3) hide show
  1. package/README.md +14 -8
  2. package/bin/dosu.js +24506 -58438
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -105,7 +105,7 @@ Or right-click the binary, select "Open", and click "Open" in the dialog.
105
105
 
106
106
  `dosu mcp add` takes `-g, --global` to install for all projects instead of project-local, and `--show-secret` to print the full manual config.
107
107
 
108
- `dosu upgrade` delegates to npm, pnpm, Yarn Classic, or Homebrew only after confirming which manager owns the current installation. Temporary package-runner invocations stay ephemeral, ambiguous or local installs are left unchanged, and standalone binaries receive the latest safe manual download path. After a successful update it hands off to the new version, which re-applies the bundled skills and, only if the update crossed a release that changed the agent config format, runs `dosu setup` (or the non-interactive `dosu mcp refresh` without a TTY). Upgrades done outside `dosu upgrade` (npm, brew, `npx @dosu/cli@latest`) get a safety net: when the new version changed the shape of the MCP entry, the first command on it silently rewrites configured tools' MCP entries and prompts you to run `dosu setup` for the rest; the bundled agent skills are always re-applied on the first command after any version change.
108
+ `dosu upgrade` delegates to npm, pnpm, Yarn Classic, or Homebrew only after confirming which manager owns the current installation. Temporary package-runner invocations stay ephemeral, ambiguous or local installs are left unchanged, and standalone binaries receive the latest safe manual download path. After a successful update it hands off to the new version, which re-applies the bundled skills and, only when a configured agent's MCP entry is out of date, runs `dosu setup` (or the non-interactive `dosu mcp refresh` without a TTY). An entry is out of date when it doesn't match the shape the current provider code writes. Upgrades done outside `dosu upgrade` (npm, brew, `npx @dosu/cli@latest`) get a safety net: on the first command of a new version, the CLI checks each configured provider, silently rewrites only the out-of-date entries, and prompts you to run `dosu setup` for the rest; the bundled agent skills are always re-applied on the first command after any version change.
109
109
 
110
110
  Dosu also updates itself automatically. When the update check (every six hours) finds a newer release, npm, pnpm, Yarn Classic, and Homebrew installs start the same package-manager update in a detached background process. The current command runs unchanged, and your next command uses the new version, whose first run applies the skill and MCP refreshes above. Hooks, rules, and the status line still need `dosu setup` when a release changes them. Background updates never run for `npx` invocations, standalone binaries, CI, or `DOSU_DEV=true`. A failed install (for example, a global npm prefix that needs `sudo`) falls back to the "Run `dosu upgrade`" notice and is retried after six hours. Turn background updates off with `dosu upgrade --auto off` (and back on with `--auto on`), or with `DOSU_DISABLE_AUTOUPDATE=1` for a single environment.
111
111
 
@@ -119,7 +119,7 @@ Once authenticated against a deployment, you can drive the Dosu platform without
119
119
  | `dosu knowledge` | Search and browse your knowledge base |
120
120
  | `dosu docs` | Manage documents (list, create, update, import, publish) |
121
121
  | `dosu threads` | List and manage conversation threads |
122
- | `dosu review` | Document review workflow, plus `review notifications` to route a Library's or Agent's reviews to a Slack channel |
122
+ | `dosu review` | Document review workflow for the selected Library, plus `review notifications` to route a Library's or Agent's reviews to a Slack channel |
123
123
  | `dosu sources` | Manage connected data sources (list, connect, create, sync, update) |
124
124
  | `dosu integrations` | List and inspect platform integrations (Slack, GitHub, …) |
125
125
  | `dosu topics` | List knowledge base topics and their pages |
@@ -185,15 +185,21 @@ dosu knowledge incognito status # which agents are in
185
185
  The status line shows one of `πŸ“š Dosu studying…` (a sync run is live), `πŸ“š Dosu on`,
186
186
  `πŸ‘» Dosu incognito`, `βšͺ Dosu paused`, `βšͺ Dosu not studying this repo`, or `βšͺ Dosu off`. Every
187
187
  session is studied unless you limit studying to picked repos under `dosu` β†’ settings β†’ study
188
- scope. Notes from a session with a known repo and branch are anchored to that branch; the rest are
189
- unanchored and reach topics immediately. Neither setup nor `enable` replaces a status line you
188
+ scope. In an interactive terminal with more than one repo, `dosu setup` asks which repos' sessions
189
+ to ship before offering the backfill of recent sessions. Selecting every repo clears the scope, so
190
+ new repos are included automatically. The choice is saved as the study scope; change it later under
191
+ `dosu` β†’ settings β†’ study scope or with `dosu knowledge scope set`. Notes from a session with a
192
+ known repo and branch are anchored to that branch; the rest are unanchored and reach topics
193
+ immediately. Neither setup nor `enable` replaces a status line you
190
194
  already have; they print the one-liner to add to your own script instead.
191
195
 
192
196
  `incognito on` is a saved per-agent setting: none of that agent's sessions are studied until you
193
- turn it off. To keep a single chat out instead, type `/dosu-incognito` in it; setup installs that
194
- command with the hook. It marks the session's transcript so studying skips it (the whole session,
195
- and for the rest of it β€” start a new session to turn Dosu back on) and tells the model not to use
196
- Dosu tools. See [docs/studying.md](docs/studying.md).
197
+ turn it off. Turning it off resumes studying only new sessions going forward; sessions that
198
+ finished while incognito was on stay unstudied permanently, even if a later sync picks them up.
199
+ To keep a single chat out instead, type `/dosu-incognito` in it; setup installs that command with
200
+ the hook. It marks the session's transcript so studying skips it (the whole session, and for the
201
+ rest of it β€” start a new session to turn Dosu back on) and tells the model not to use Dosu
202
+ tools. See [docs/studying.md](docs/studying.md).
197
203
 
198
204
  ### Telemetry and privacy
199
205