@codacy/verity-cli 0.33.3-experimental.db99356 → 0.33.3-experimental.f081164

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/CHANGELOG.md CHANGED
@@ -64,6 +64,31 @@ installs are untouched.
64
64
  which is the ordinary case for someone whose first Verity install *is* the
65
65
  plugin.
66
66
 
67
+ ### 🎯 `/verity:init` does everything `verity init` does, in the session
68
+
69
+ Under the plugin, setup used to stop short of the terminal flow: `/verity:init`
70
+ asked about moments and intensity, then ran `verity init --yes`, which answered
71
+ every other question for you. There was no telemetry step at all (VRT-223), a
72
+ tracked knowledge graph or committed state was left alone without asking, and
73
+ sign-in meant leaving Claude Code for a terminal.
74
+
75
+ - **Every question is asked, in one prompt.** Moments, intensity, telemetry
76
+ (when it is off), whether to sign in, and — only when they apply — whether to
77
+ untrack the knowledge graph or committed Verity state. A re-run pre-selects
78
+ what you chose last time.
79
+ - **Sign in without leaving the session.** `verity login --start` shows the
80
+ GitHub code and returns at once; `verity login --finish` waits for your
81
+ approval and logs you in. The code lives in `~/.verity/pending-login.json`
82
+ (owner-only, expires with the code, single use), and `--finish` refuses a code
83
+ started for a different Verity service. Plain `verity login` is unchanged.
84
+ - **`verity init` takes the new answers as flags too:** `--telemetry on|off`,
85
+ `--untrack-memory` and `--untrack-state`. An unrecognised telemetry value is
86
+ refused, and `--telemetry off` over a running export turns it off.
87
+ - **`verity doctor --json` reports `trackedState.files` and `memory.optedOut`**,
88
+ which is how the skill knows whether the untrack questions apply.
89
+ - **`verity telemetry install|uninstall` update `.verity/setup.json`**, so a
90
+ request deferred until sign-in stops being reported as still to do.
91
+
67
92
  ## [0.33.3] — 2026-09-24
68
93
 
69
94
  **The knowledge seed runs once per project, not once per checkout.**
package/README.md CHANGED
@@ -66,6 +66,8 @@ the one command to run instead. `verity setup` is an alias for the same command.
66
66
  | `--no-setup` | Stop after the deterministic phase; don't launch Claude Code |
67
67
  | `--no-adopt` | Don't offer the Standard the service already holds for this repo — synthesize a fresh one. Skips the request entirely |
68
68
  | `--force` | Overwrite the installed skills even when they differ |
69
+ | `--moments <list>` · `--intensity <level>` · `--telemetry on\|off` | Answer that question without being asked. `/verity:init` asks in the Claude Code session and passes these down |
70
+ | `--untrack-memory` · `--untrack-state` | Answer yes to the matching "stop tracking it in git?" question without being asked |
69
71
 
70
72
  Run `verity doctor` any time to see prerequisites, which phase is done, the hook
71
73
  wiring, and what is still missing.
@@ -154,6 +156,7 @@ No re-setup needed: your token, Standard, and run history all carry over.
154
156
  | **Auth & Config** | |
155
157
  | `verity login` | Log in once with GitHub — grants access to every repository you can write to |
156
158
  | `verity login --force` | Re-authenticate and refresh your grants (also how stale grants heal) |
159
+ | `verity login --start` · `--finish` | The same login in two steps, for a caller that cannot hold a terminal open (an agent's tool call): `--start` prints the code as JSON and returns, `--finish` waits for approval (`--wait <s>`, default 100) and logs in. `--cancel` drops a pending code |
157
160
  | `verity auth register` | Register a single project (per-repo token; superseded by `verity login`) |
158
161
  | `verity token create --name <name>` | Mint a service token for CI (`--expires <days>` optional) |
159
162
  | `verity token list` | List this repository's tokens (ids and metadata only) |