deepvista-cli 4.4.1__tar.gz → 4.5.0__tar.gz

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 (104) hide show
  1. deepvista_cli-4.5.0/.release-please-manifest.json +3 -0
  2. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/CHANGELOG.md +13 -0
  3. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/CLAUDE.md +1 -1
  4. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/PKG-INFO +67 -9
  5. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/README.md +65 -7
  6. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/commands/skill.py +262 -87
  7. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/commands/tasks.py +26 -37
  8. deepvista_cli-4.5.0/deepvista_cli/resources/workflow_host_runtime.md +208 -0
  9. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/install.sh +102 -6
  10. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/plugins/claude-code/.claude-plugin/plugin.json +1 -1
  11. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/pyproject.toml +1 -1
  12. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/skills/deepvista/SKILL.md +1 -1
  13. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/skills/deepvista/reference/skill-analyze-notes.md +11 -5
  14. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/skills/deepvista/reference/skill-create-from-note.md +1 -1
  15. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/skills/deepvista/reference/skill.md +19 -17
  16. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/skills/dv-workflow/SKILL.md +6 -0
  17. deepvista_cli-4.5.0/tests/test_skill_host_runs.py +270 -0
  18. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/tests/test_tasks_commands.py +66 -0
  19. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/uninstall.sh +78 -15
  20. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/uv.lock +8 -8
  21. deepvista_cli-4.4.1/.release-please-manifest.json +0 -3
  22. deepvista_cli-4.4.1/deepvista_cli/resources/workflow_host_runtime.md +0 -180
  23. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/.claude-plugin/marketplace.json +0 -0
  24. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/.github/workflows/ci.yml +0 -0
  25. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/.github/workflows/publish.yml +0 -0
  26. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/.github/workflows/release-please.yml +0 -0
  27. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/.gitignore +0 -0
  28. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/.pre-commit-config.yaml +0 -0
  29. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/CONTRIBUTING.md +0 -0
  30. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/LICENSE +0 -0
  31. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/__init__.py +0 -0
  32. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/auth/__init__.py +0 -0
  33. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/auth/callback_server.py +0 -0
  34. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/auth/login.py +0 -0
  35. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/auth/tokens.py +0 -0
  36. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/bundle.py +0 -0
  37. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/client/__init__.py +0 -0
  38. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/client/http.py +0 -0
  39. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/client/origin.py +0 -0
  40. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/commands/__init__.py +0 -0
  41. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/commands/agents.py +0 -0
  42. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/commands/auth.py +0 -0
  43. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/commands/card.py +0 -0
  44. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/commands/chat.py +0 -0
  45. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/commands/config.py +0 -0
  46. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/commands/notes.py +0 -0
  47. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/commands/project.py +0 -0
  48. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/commands/pull.py +0 -0
  49. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/commands/push.py +0 -0
  50. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/commands/schedule.py +0 -0
  51. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/commands/session.py +0 -0
  52. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/commands/upgrade.py +0 -0
  53. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/config.py +0 -0
  54. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/main.py +0 -0
  55. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/output/__init__.py +0 -0
  56. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/output/formatter.py +0 -0
  57. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/resources/__init__.py +0 -0
  58. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/session_note.py +0 -0
  59. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/skill_catalog.py +0 -0
  60. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/utils.py +0 -0
  61. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/deepvista_cli/workflow_doc.py +0 -0
  62. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/docs/assets/deepvista-banner.png +0 -0
  63. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/docs/releasing.md +0 -0
  64. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/install.ps1 +0 -0
  65. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/plugins/README.md +0 -0
  66. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/plugins/claude-code/README.md +0 -0
  67. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/plugins/claude-code/commands/deepvista.md +0 -0
  68. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/plugins/claude-code/commands/refresh-skills.md +0 -0
  69. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/plugins/claude-code/hooks/hooks.json +0 -0
  70. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/plugins/claude-code/scripts/deepvista-agent-sync.sh +0 -0
  71. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/plugins/claude-code/scripts/deepvista-session-end.sh +0 -0
  72. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/plugins/claude-code/scripts/deepvista-session-start.sh +0 -0
  73. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/plugins/claude-code/scripts/deepvista-session-turn.sh +0 -0
  74. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/plugins/claude-code/scripts/deepvista-skill-url.py +0 -0
  75. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/plugins/claude-code/scripts/deepvista-sync.sh +0 -0
  76. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/plugins/claude-code/skills/.gitignore +0 -0
  77. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/plugins/claude-code/skills/install-deepvista-cli/SKILL.md +0 -0
  78. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/release-please-config.json +0 -0
  79. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/scripts/check_plugin_version.py +0 -0
  80. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/scripts/quickstart.sh +0 -0
  81. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/skills/deepvista/reference/chat.md +0 -0
  82. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/skills/deepvista/reference/notes.md +0 -0
  83. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/skills/deepvista/reference/openclaw.md +0 -0
  84. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/skills/deepvista/reference/project.md +0 -0
  85. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/skills/deepvista/reference/pull.md +0 -0
  86. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/skills/deepvista/reference/push.md +0 -0
  87. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/skills/deepvista/reference/session.md +0 -0
  88. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/skills/deepvista/reference/shared.md +0 -0
  89. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/skills/deepvista/reference/skill-import-files.md +0 -0
  90. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/skills/deepvista/reference/skill-research-to-skill.md +0 -0
  91. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/skills/deepvista/reference/tasks.md +0 -0
  92. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/skills/deepvista/reference/vistabase-card.md +0 -0
  93. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/tests/__init__.py +0 -0
  94. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/tests/test_agent_id_tagging.py +0 -0
  95. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/tests/test_bundle.py +0 -0
  96. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/tests/test_card_comment_commands.py +0 -0
  97. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/tests/test_entry_points.py +0 -0
  98. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/tests/test_http_client_retry.py +0 -0
  99. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/tests/test_project_commands.py +0 -0
  100. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/tests/test_schedule_commands.py +0 -0
  101. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/tests/test_session_note_format.py +0 -0
  102. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/tests/test_skill_catalog.py +0 -0
  103. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/tests/test_skill_commands.py +0 -0
  104. {deepvista_cli-4.4.1 → deepvista_cli-4.5.0}/tests/test_workflow_doc_phases.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "4.5.0"
3
+ }
@@ -46,6 +46,19 @@ users what's new between the version they have installed and the latest release.
46
46
  adopts a pre-existing server-side row instead of failing when the local
47
47
  file is missing.
48
48
 
49
+ ## [4.5.0](https://github.com/DeepVista-AI/deepvista-cli/compare/v4.4.1...v4.5.0) (2026-09-29)
50
+
51
+
52
+ ### Features
53
+
54
+ * **DV-2895:** record host-mode skill runs on a run card ([#233](https://github.com/DeepVista-AI/deepvista-cli/issues/233)) ([e143e7d](https://github.com/DeepVista-AI/deepvista-cli/commit/e143e7de6cd29446bbcfbca1c024492ad7f6c176))
55
+ * target a specific Claude profile when installing ([#230](https://github.com/DeepVista-AI/deepvista-cli/issues/230)) ([bc797ce](https://github.com/DeepVista-AI/deepvista-cli/commit/bc797ce406dab7ca169984696110623055892755))
56
+
57
+
58
+ ### Documentation
59
+
60
+ * **DV-1911:** route machine-driven CLI paths to artifact cards, not notes ([#229](https://github.com/DeepVista-AI/deepvista-cli/issues/229)) ([10b9885](https://github.com/DeepVista-AI/deepvista-cli/commit/10b988570238cd6c6204e85180808e9ba0b589ee))
61
+
49
62
  ## [4.4.1](https://github.com/DeepVista-AI/deepvista-cli/compare/v4.4.0...v4.4.1) (2026-07-29)
50
63
 
51
64
 
@@ -23,7 +23,7 @@ Whenever the user mentions creating, generating, building, or synthesizing a
23
23
  `deepvista skill create-from-note` (or another `deepvista skill ...` command).
24
24
  **Do not** invoke Claude Code's native `document-skills:skill-creator` or
25
25
  OpenClaw's native skill-creator. DeepVista is the canonical path: it grounds
26
- the skill in real notes, links it back via `related_context_card_ids`, and
26
+ the skill in real notes, links it back to them in the knowledge graph, and
27
27
  publishes it to the user's project so it's reusable across sessions.
28
28
 
29
29
  If the source material isn't already a DeepVista note, capture it first
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: deepvista-cli
3
- Version: 4.4.1
3
+ Version: 4.5.0
4
4
  Summary: CLI for DeepVista — chat, notes, skills, and memory from your terminal.
5
5
  Project-URL: Homepage, https://deepvista.ai
6
6
  Project-URL: Repository, https://github.com/DeepVista-AI/deepvista-cli
@@ -173,7 +173,13 @@ curl -sSL https://raw.githubusercontent.com/DeepVista-AI/deepvista-cli/main/inst
173
173
  powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/DeepVista-AI/deepvista-cli/main/install.ps1 | iex"
174
174
  ```
175
175
 
176
- The script auto-detects your package manager (`uv`, `pipx`, or `pip`) and copies the consolidated `deepvista` skill into your agent's skill directory (Cursor, OpenCode, OpenClaw, and Claude Code as a fallback). If you upgraded from an earlier release, it also sweeps out the 12 legacy `deepvista-*` skills so you don't end up with both.
176
+ The script auto-detects your package manager (`uv`, `pipx`, or `pip`) and copies the consolidated `deepvista` skill into your agent's skill directory (Cursor, OpenCode, OpenClaw, and Claude Code as a fallback). If you upgraded from an earlier release, it also deletes any leftover per-command `deepvista-*` skill directories (`deepvista-notes`, `deepvista-vistabase`, `deepvista-openclaw`, …) so you don't end up with both. `uninstall.sh` removes them too.
177
+
178
+ Pass `--skip-auth` to stop the installer launching `deepvista auth login` at the end — useful for scripted installs, or when you want to pick the account yourself later.
179
+
180
+ Running more than one Claude Code profile? See
181
+ [Choosing a Claude Code profile](#choosing-a-claude-code-profile) — by default the
182
+ installer writes to `~/.claude`, which may not be the profile you meant.
177
183
 
178
184
  Prefer GitHub's CLI? `gh skill install DeepVista-AI/deepvista-cli` works too (GitHub CLI ≥ 2.90, preview).
179
185
 
@@ -351,14 +357,14 @@ Card types: `person` · `organization` · `message` · `email` · `todo` · `top
351
357
  ```bash
352
358
  deepvista skill list [--limit N]
353
359
  deepvista skill get <skill_id>
354
- deepvista skill run <skill_id> [--input "context"]
355
- deepvista skill phase open <skill_id> "Phase N: <title>"
356
- deepvista skill phase done <skill_id> "Phase N: <title>" [--artifact-card-id ID]... [--next-phase "Phase N+1: …"]
357
- deepvista skill phase pause <skill_id> --reason "<short sentence>"
358
- deepvista skill complete <skill_id> --review "<retrospective bullets>"
360
+ deepvista skill run <skill_id> [--input "context"] [--run-id <run_id>] # --run-id resumes a paused run
361
+ deepvista skill phase open <skill_id> "Phase N: <title>" --run-id <run_id>
362
+ deepvista skill phase done <skill_id> "Phase N: <title>" --run-id <run_id> [--artifact-card-id ID]... [--next-phase "Phase N+1: …"]
363
+ deepvista skill phase pause <skill_id> --run-id <run_id> --reason "<short sentence>"
364
+ deepvista skill complete <skill_id> --run-id <run_id> --review "<retrospective bullets>" [--outcome error]
359
365
  ```
360
366
 
361
- `skill run` prints a JSON header + the workflow's SKILL.md body + a host runtime contract on stdout, and the host agent (Claude Code / OpenClaw / Cursor) drives the run via the `phase` shims and `complete`.
367
+ `skill run` opens a run (a `run_log` card) and prints a JSON header — including the `run_id` — + the workflow's SKILL.md body + a host runtime contract on stdout. The host agent (Claude Code / OpenClaw / Cursor) drives the run via the `phase` shims and `complete`, passing `--run-id` (or `DEEPVISTA_RUN_ID`) on each so progress lands on the run card; the workflow card itself is never written during a run.
362
368
 
363
369
  ### chat — AI agent
364
370
 
@@ -453,6 +459,47 @@ deepvista auth login
453
459
  Without the CLI on `PATH`, the plugin's SessionStart hook exits silently —
454
460
  you'll see no errors but no skills either.
455
461
 
462
+ ### Choosing a Claude Code profile
463
+
464
+ `install.sh` writes three things into a Claude Code config directory: the
465
+ `deepvista` skill, the skill-interpretation rules block in `CLAUDE.md`, and the
466
+ skill-trigger hook in `settings.json`. By default that directory is `~/.claude`.
467
+
468
+ If you run more than one profile — a personal `claude` and a work profile
469
+ launched with `CLAUDE_CONFIG_DIR=~/.claude-work claude`, say — the default sends
470
+ everything to `~/.claude`, which may not be the profile you were installing for.
471
+ Two ways to target a different one:
472
+
473
+ ```bash
474
+ # Preferred: the same env var Claude Code itself reads
475
+ CLAUDE_CONFIG_DIR=~/.claude-work curl -sSL https://raw.githubusercontent.com/DeepVista-AI/deepvista-cli/main/install.sh | bash
476
+
477
+ # Explicit flag — over a pipe, flags go after `bash -s --`
478
+ curl -sSL https://raw.githubusercontent.com/DeepVista-AI/deepvista-cli/main/install.sh | bash -s -- --claude-dir ~/.claude-work
479
+ ```
480
+
481
+ Install into several profiles at once with a comma-separated list:
482
+
483
+ ```bash
484
+ ./install.sh --claude-dir ~/.claude,~/.claude-work
485
+ ```
486
+
487
+ Resolution order is `--claude-dir` > `$CLAUDE_CONFIG_DIR` > `~/.claude`. The
488
+ target directory is created if it doesn't exist, so check for typos — a wrong
489
+ path is created rather than rejected. Paths containing a comma aren't supported
490
+ (it's the list separator). Non-Claude agent directories (Cursor, OpenCode,
491
+ OpenClaw) are unaffected by this flag — they're still auto-detected.
492
+
493
+ Note that `CLAUDE_CONFIG_DIR` is exported inside a running Claude Code session,
494
+ so an installer run from within a session targets *that* session's profile.
495
+
496
+ `uninstall.sh` takes the same flag and env var, and **you must pass the same
497
+ value you installed with** — otherwise it cleans `~/.claude` and leaves the
498
+ other profile's skill, rules block, and hook in place.
499
+
500
+ > **Windows:** `install.ps1` does not yet support this — it always targets
501
+ > `~\.claude`.
502
+
456
503
  ### For development
457
504
 
458
505
  ```bash
@@ -469,6 +516,17 @@ curl -sSL https://raw.githubusercontent.com/DeepVista-AI/deepvista-cli/main/unin
469
516
 
470
517
  Removes the CLI, all skills from agent directories, and auto-capture blocks from config files.
471
518
 
519
+ If you installed into a non-default Claude Code profile, pass the same target
520
+ (see [Choosing a Claude Code profile](#choosing-a-claude-code-profile)):
521
+
522
+ ```bash
523
+ CLAUDE_CONFIG_DIR=~/.claude-work curl -sSL https://raw.githubusercontent.com/DeepVista-AI/deepvista-cli/main/uninstall.sh | bash
524
+ ```
525
+
526
+ Credentials are left alone — `~/.config/deepvista` survives an uninstall, so a
527
+ reinstall picks up your existing login. Delete that directory by hand to sign
528
+ out completely.
529
+
472
530
  ---
473
531
 
474
532
  ## Authentication
@@ -146,7 +146,13 @@ curl -sSL https://raw.githubusercontent.com/DeepVista-AI/deepvista-cli/main/inst
146
146
  powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/DeepVista-AI/deepvista-cli/main/install.ps1 | iex"
147
147
  ```
148
148
 
149
- The script auto-detects your package manager (`uv`, `pipx`, or `pip`) and copies the consolidated `deepvista` skill into your agent's skill directory (Cursor, OpenCode, OpenClaw, and Claude Code as a fallback). If you upgraded from an earlier release, it also sweeps out the 12 legacy `deepvista-*` skills so you don't end up with both.
149
+ The script auto-detects your package manager (`uv`, `pipx`, or `pip`) and copies the consolidated `deepvista` skill into your agent's skill directory (Cursor, OpenCode, OpenClaw, and Claude Code as a fallback). If you upgraded from an earlier release, it also deletes any leftover per-command `deepvista-*` skill directories (`deepvista-notes`, `deepvista-vistabase`, `deepvista-openclaw`, …) so you don't end up with both. `uninstall.sh` removes them too.
150
+
151
+ Pass `--skip-auth` to stop the installer launching `deepvista auth login` at the end — useful for scripted installs, or when you want to pick the account yourself later.
152
+
153
+ Running more than one Claude Code profile? See
154
+ [Choosing a Claude Code profile](#choosing-a-claude-code-profile) — by default the
155
+ installer writes to `~/.claude`, which may not be the profile you meant.
150
156
 
151
157
  Prefer GitHub's CLI? `gh skill install DeepVista-AI/deepvista-cli` works too (GitHub CLI ≥ 2.90, preview).
152
158
 
@@ -324,14 +330,14 @@ Card types: `person` · `organization` · `message` · `email` · `todo` · `top
324
330
  ```bash
325
331
  deepvista skill list [--limit N]
326
332
  deepvista skill get <skill_id>
327
- deepvista skill run <skill_id> [--input "context"]
328
- deepvista skill phase open <skill_id> "Phase N: <title>"
329
- deepvista skill phase done <skill_id> "Phase N: <title>" [--artifact-card-id ID]... [--next-phase "Phase N+1: …"]
330
- deepvista skill phase pause <skill_id> --reason "<short sentence>"
331
- deepvista skill complete <skill_id> --review "<retrospective bullets>"
333
+ deepvista skill run <skill_id> [--input "context"] [--run-id <run_id>] # --run-id resumes a paused run
334
+ deepvista skill phase open <skill_id> "Phase N: <title>" --run-id <run_id>
335
+ deepvista skill phase done <skill_id> "Phase N: <title>" --run-id <run_id> [--artifact-card-id ID]... [--next-phase "Phase N+1: …"]
336
+ deepvista skill phase pause <skill_id> --run-id <run_id> --reason "<short sentence>"
337
+ deepvista skill complete <skill_id> --run-id <run_id> --review "<retrospective bullets>" [--outcome error]
332
338
  ```
333
339
 
334
- `skill run` prints a JSON header + the workflow's SKILL.md body + a host runtime contract on stdout, and the host agent (Claude Code / OpenClaw / Cursor) drives the run via the `phase` shims and `complete`.
340
+ `skill run` opens a run (a `run_log` card) and prints a JSON header — including the `run_id` — + the workflow's SKILL.md body + a host runtime contract on stdout. The host agent (Claude Code / OpenClaw / Cursor) drives the run via the `phase` shims and `complete`, passing `--run-id` (or `DEEPVISTA_RUN_ID`) on each so progress lands on the run card; the workflow card itself is never written during a run.
335
341
 
336
342
  ### chat — AI agent
337
343
 
@@ -426,6 +432,47 @@ deepvista auth login
426
432
  Without the CLI on `PATH`, the plugin's SessionStart hook exits silently —
427
433
  you'll see no errors but no skills either.
428
434
 
435
+ ### Choosing a Claude Code profile
436
+
437
+ `install.sh` writes three things into a Claude Code config directory: the
438
+ `deepvista` skill, the skill-interpretation rules block in `CLAUDE.md`, and the
439
+ skill-trigger hook in `settings.json`. By default that directory is `~/.claude`.
440
+
441
+ If you run more than one profile — a personal `claude` and a work profile
442
+ launched with `CLAUDE_CONFIG_DIR=~/.claude-work claude`, say — the default sends
443
+ everything to `~/.claude`, which may not be the profile you were installing for.
444
+ Two ways to target a different one:
445
+
446
+ ```bash
447
+ # Preferred: the same env var Claude Code itself reads
448
+ CLAUDE_CONFIG_DIR=~/.claude-work curl -sSL https://raw.githubusercontent.com/DeepVista-AI/deepvista-cli/main/install.sh | bash
449
+
450
+ # Explicit flag — over a pipe, flags go after `bash -s --`
451
+ curl -sSL https://raw.githubusercontent.com/DeepVista-AI/deepvista-cli/main/install.sh | bash -s -- --claude-dir ~/.claude-work
452
+ ```
453
+
454
+ Install into several profiles at once with a comma-separated list:
455
+
456
+ ```bash
457
+ ./install.sh --claude-dir ~/.claude,~/.claude-work
458
+ ```
459
+
460
+ Resolution order is `--claude-dir` > `$CLAUDE_CONFIG_DIR` > `~/.claude`. The
461
+ target directory is created if it doesn't exist, so check for typos — a wrong
462
+ path is created rather than rejected. Paths containing a comma aren't supported
463
+ (it's the list separator). Non-Claude agent directories (Cursor, OpenCode,
464
+ OpenClaw) are unaffected by this flag — they're still auto-detected.
465
+
466
+ Note that `CLAUDE_CONFIG_DIR` is exported inside a running Claude Code session,
467
+ so an installer run from within a session targets *that* session's profile.
468
+
469
+ `uninstall.sh` takes the same flag and env var, and **you must pass the same
470
+ value you installed with** — otherwise it cleans `~/.claude` and leaves the
471
+ other profile's skill, rules block, and hook in place.
472
+
473
+ > **Windows:** `install.ps1` does not yet support this — it always targets
474
+ > `~\.claude`.
475
+
429
476
  ### For development
430
477
 
431
478
  ```bash
@@ -442,6 +489,17 @@ curl -sSL https://raw.githubusercontent.com/DeepVista-AI/deepvista-cli/main/unin
442
489
 
443
490
  Removes the CLI, all skills from agent directories, and auto-capture blocks from config files.
444
491
 
492
+ If you installed into a non-default Claude Code profile, pass the same target
493
+ (see [Choosing a Claude Code profile](#choosing-a-claude-code-profile)):
494
+
495
+ ```bash
496
+ CLAUDE_CONFIG_DIR=~/.claude-work curl -sSL https://raw.githubusercontent.com/DeepVista-AI/deepvista-cli/main/uninstall.sh | bash
497
+ ```
498
+
499
+ Credentials are left alone — `~/.config/deepvista` survives an uninstall, so a
500
+ reinstall picks up your existing login. Delete that directory by hand to sign
501
+ out completely.
502
+
445
503
  ---
446
504
 
447
505
  ## Authentication