deepvista-cli 0.6.0__tar.gz → 1.1.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.
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/.github/workflows/ci.yml +1 -1
- deepvista_cli-1.1.0/.release-please-manifest.json +3 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/CHANGELOG.md +27 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/PKG-INFO +65 -58
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/README.md +64 -55
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/client/http.py +51 -5
- deepvista_cli-1.1.0/deepvista_cli/commands/__init__.py +55 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/commands/agents.py +139 -85
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/commands/auth.py +0 -1
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/commands/card.py +64 -10
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/commands/chat.py +28 -5
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/commands/lint.py +1 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/commands/notes.py +60 -9
- deepvista_cli-1.1.0/deepvista_cli/commands/project.py +191 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/commands/session.py +9 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/commands/skill.py +80 -13
- deepvista_cli-1.1.0/deepvista_cli/commands/tasks.py +1310 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/config.py +52 -8
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/main.py +54 -42
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/output/formatter.py +36 -11
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/resources/workflow_host_runtime.md +24 -6
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/session_note.py +44 -3
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/workflow_doc.py +6 -2
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/install.ps1 +6 -6
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/install.sh +4 -4
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/plugins/claude-code/.claude-plugin/plugin.json +1 -1
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/plugins/claude-code/hooks/hooks.json +12 -0
- deepvista_cli-1.1.0/plugins/claude-code/scripts/deepvista-agent-sync.sh +42 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/plugins/claude-code/skills/install-deepvista-cli/SKILL.md +2 -5
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/pyproject.toml +1 -6
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/skills/deepvista/SKILL.md +10 -8
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/skills/deepvista/reference/chat.md +0 -1
- deepvista_cli-1.1.0/skills/deepvista/reference/project.md +53 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/skills/deepvista/reference/shared.md +19 -1
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/skills/deepvista/reference/skill.md +6 -5
- deepvista_cli-1.1.0/skills/deepvista/reference/tasks.md +69 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/skills/deepvista/reference/vistabase-card.md +3 -1
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/tests/test_agent_id_tagging.py +1 -0
- deepvista_cli-1.1.0/tests/test_project_commands.py +299 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/tests/test_session_note_format.py +43 -0
- deepvista_cli-0.6.0/tests/test_task_queue_commands.py → deepvista_cli-1.1.0/tests/test_tasks_commands.py +359 -66
- deepvista_cli-1.1.0/tests/test_workflow_doc_phases.py +84 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/uv.lock +1 -63
- deepvista_cli-0.6.0/.release-please-manifest.json +0 -3
- deepvista_cli-0.6.0/deepvista_cli/commands/__init__.py +0 -25
- deepvista_cli-0.6.0/deepvista_cli/commands/memory.py +0 -63
- deepvista_cli-0.6.0/deepvista_cli/commands/task_queue.py +0 -669
- deepvista_cli-0.6.0/deepvista_cli/commands/vistabase.py +0 -375
- deepvista_cli-0.6.0/deepvista_cli/tui/__init__.py +0 -1
- deepvista_cli-0.6.0/deepvista_cli/tui/app.py +0 -763
- deepvista_cli-0.6.0/skills/deepvista/reference/memory.md +0 -28
- deepvista_cli-0.6.0/skills/deepvista/reference/vistabase.md +0 -51
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/.claude-plugin/marketplace.json +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/.github/workflows/publish.yml +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/.github/workflows/release-please.yml +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/.gitignore +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/.pre-commit-config.yaml +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/CLAUDE.md +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/CONTRIBUTING.md +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/LICENSE +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/__init__.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/agent_catalog.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/auth/__init__.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/auth/callback_server.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/auth/login.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/auth/tokens.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/client/__init__.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/client/origin.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/commands/config.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/commands/schedule.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/commands/upgrade.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/output/__init__.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/resources/__init__.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/deepvista_cli/skill_catalog.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/docs/assets/deepvista-banner.png +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/plugins/README.md +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/plugins/claude-code/README.md +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/plugins/claude-code/agents/.gitignore +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/plugins/claude-code/commands/deepvista.md +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/plugins/claude-code/commands/refresh-skills.md +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/plugins/claude-code/scripts/deepvista-session-end.sh +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/plugins/claude-code/scripts/deepvista-session-start.sh +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/plugins/claude-code/scripts/deepvista-session-turn.sh +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/plugins/claude-code/scripts/deepvista-skill-url.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/plugins/claude-code/scripts/deepvista-sync.sh +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/plugins/claude-code/skills/.gitignore +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/release-please-config.json +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/scripts/check_plugin_version.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/skills/deepvista/reference/lint.md +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/skills/deepvista/reference/notes.md +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/skills/deepvista/reference/openclaw.md +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/skills/deepvista/reference/session.md +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/skills/deepvista/reference/skill-analyze-notes.md +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/skills/deepvista/reference/skill-create-from-note.md +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/skills/deepvista/reference/skill-import-files.md +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/skills/deepvista/reference/skill-research-to-skill.md +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/skills/dv-workflow/SKILL.md +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/tests/__init__.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/tests/test_skill_catalog.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/tests/test_skill_commands.py +0 -0
- {deepvista_cli-0.6.0 → deepvista_cli-1.1.0}/uninstall.sh +0 -0
|
@@ -37,6 +37,33 @@ users what's new between the version they have installed and the latest release.
|
|
|
37
37
|
adopts a pre-existing server-side row instead of failing when the local
|
|
38
38
|
file is missing.
|
|
39
39
|
|
|
40
|
+
## [1.1.0](https://github.com/DeepVista-AI/deepvista-cli/compare/v1.0.0...v1.1.0) (2026-06-26)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* **DV-1277:** clean session-card title + link task runs to their chat ([#169](https://github.com/DeepVista-AI/deepvista-cli/issues/169)) ([b4de0c7](https://github.com/DeepVista-AI/deepvista-cli/commit/b4de0c7435bf89f475a25443e80524ab1da8420a))
|
|
46
|
+
* **skill:** add phase need-input for :::dvNeedIntervention mermaid state ([#166](https://github.com/DeepVista-AI/deepvista-cli/issues/166)) ([ade6edf](https://github.com/DeepVista-AI/deepvista-cli/commit/ade6edf8a462199ce8b59119e7eb0d662ad94fc6))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Bug Fixes
|
|
50
|
+
|
|
51
|
+
* **DV-1357:** move agent heartbeat into the Claude Code plugin ([#174](https://github.com/DeepVista-AI/deepvista-cli/issues/174)) ([41c4339](https://github.com/DeepVista-AI/deepvista-cli/commit/41c43390afaab06c90c103c5526e44f3f3f35ad8))
|
|
52
|
+
* reconcile _ensure_agents_for_projects return type (pyright) ([#173](https://github.com/DeepVista-AI/deepvista-cli/issues/173)) ([c134e42](https://github.com/DeepVista-AI/deepvista-cli/commit/c134e42abc39325cf2814126be7d249ba667f464))
|
|
53
|
+
|
|
54
|
+
## [1.0.0](https://github.com/DeepVista-AI/deepvista-cli/compare/v0.6.0...v1.0.0) (2026-06-25)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### ⚠ BREAKING CHANGES
|
|
58
|
+
|
|
59
|
+
* **DV-1281:** CLI help/docs cleanup — drop deprecated aliases, remove TUI, collapse vistabase into card ([#167](https://github.com/DeepVista-AI/deepvista-cli/issues/167))
|
|
60
|
+
|
|
61
|
+
### Features
|
|
62
|
+
|
|
63
|
+
* **DV-1247:** `tasks` group runs web-chat task cards via claude -p ([#165](https://github.com/DeepVista-AI/deepvista-cli/issues/165)) ([4c95aed](https://github.com/DeepVista-AI/deepvista-cli/commit/4c95aedb99104f3567b10e1d77f8c3b668627177))
|
|
64
|
+
* **DV-1281:** CLI help/docs cleanup — drop deprecated aliases, remove TUI, collapse vistabase into card ([#167](https://github.com/DeepVista-AI/deepvista-cli/issues/167)) ([b7f308b](https://github.com/DeepVista-AI/deepvista-cli/commit/b7f308be5a03421c9b08eab1622209a94826b72d))
|
|
65
|
+
* **DV-1294:** make the CLI a project-scoped client ([#170](https://github.com/DeepVista-AI/deepvista-cli/issues/170)) ([708d107](https://github.com/DeepVista-AI/deepvista-cli/commit/708d10739aa0ccf11319379a76fdea6cf646c493))
|
|
66
|
+
|
|
40
67
|
## [0.6.0](https://github.com/DeepVista-AI/deepvista-cli/compare/v0.5.0...v0.6.0) (2026-06-22)
|
|
41
68
|
|
|
42
69
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deepvista-cli
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1.1.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
|
|
@@ -23,8 +23,6 @@ Requires-Dist: filelock>=3.12
|
|
|
23
23
|
Requires-Dist: httpx<1,>=0.27
|
|
24
24
|
Requires-Dist: psutil>=7.2.2
|
|
25
25
|
Requires-Dist: rich>=13.0
|
|
26
|
-
Provides-Extra: ui
|
|
27
|
-
Requires-Dist: textual>=0.80; extra == 'ui'
|
|
28
26
|
Description-Content-Type: text/markdown
|
|
29
27
|
|
|
30
28
|
<p align="center">
|
|
@@ -60,9 +58,6 @@ Description-Content-Type: text/markdown
|
|
|
60
58
|
|
|
61
59
|
<br>
|
|
62
60
|
|
|
63
|
-
<!-- TODO: Add a GIF/screenshot of the TUI here -->
|
|
64
|
-
<!-- <p align="center"><img src="docs/tui-demo.gif" alt="DeepVista TUI" width="700"></p> -->
|
|
65
|
-
|
|
66
61
|
---
|
|
67
62
|
|
|
68
63
|
## Who this is for
|
|
@@ -95,7 +90,6 @@ Most knowledge tools trap your data in a GUI. DeepVista CLI gives you **full acc
|
|
|
95
90
|
- 🤖 **Agent-native** — Claude Code, Cursor, OpenCode use it as a skill
|
|
96
91
|
- 📋 **Run Skills** — execute structured AI workflows from the command line
|
|
97
92
|
- 💬 **Chat** — talk to the DeepVista AI agent in your terminal
|
|
98
|
-
- 🖥️ **Full TUI** — four-panel terminal UI for chat, notes, skills, and memory
|
|
99
93
|
|
|
100
94
|
## Related Ideas
|
|
101
95
|
|
|
@@ -196,7 +190,7 @@ Fixes, in order of preference:
|
|
|
196
190
|
|
|
197
191
|
```powershell
|
|
198
192
|
uv self update
|
|
199
|
-
uv tool install --reinstall "deepvista-cli
|
|
193
|
+
uv tool install --reinstall "deepvista-cli"
|
|
200
194
|
```
|
|
201
195
|
|
|
202
196
|
2. **Run via `uv tool run` as a fallback** (bypasses the broken trampoline entirely):
|
|
@@ -243,14 +237,16 @@ One skill, `deepvista`, with per-subcommand detail under `skills/deepvista/refer
|
|
|
243
237
|
|-------|---------------------------|
|
|
244
238
|
| `reference/shared.md` | Auth, profiles, global flags, exit codes, agent registration |
|
|
245
239
|
| `reference/notes.md` | Note capture, CRUD, `+quick` |
|
|
246
|
-
| `reference/vistabase-card.md` | Knowledge-base cards — create, search, pin, edit, grep |
|
|
247
|
-
| `reference/
|
|
248
|
-
| `reference/memory.md` | Deprecated `deepvista memory` alias mapping |
|
|
240
|
+
| `reference/vistabase-card.md` | Knowledge-base cards (`card` / `vistabase`) — create, search, pin, edit, grep |
|
|
241
|
+
| `reference/session.md` | Agent session transcripts — init, tick, finalize |
|
|
249
242
|
| `reference/chat.md` | Chat sessions and NDJSON stream format |
|
|
250
243
|
| `reference/skill.md` | Structured Skill workflows — list, run, discover, install |
|
|
244
|
+
| `reference/skill-create-from-note.md` | Synthesize a Skill from one or more notes |
|
|
251
245
|
| `reference/skill-analyze-notes.md` | Pattern: search → read → synthesize notes |
|
|
252
246
|
| `reference/skill-research-to-skill.md` | Pattern: research the KB, then run a Skill |
|
|
253
247
|
| `reference/skill-import-files.md` | Bulk-import a folder as file cards |
|
|
248
|
+
| `reference/tasks.md` | Run work dispatched to this machine — `tasks run` / `setup` |
|
|
249
|
+
| `reference/lint.md` | Health-check the vistabase for dupes / contradictions / gaps |
|
|
254
250
|
| `reference/openclaw.md` | Auto-capture rules for OpenClaw agents |
|
|
255
251
|
|
|
256
252
|
The agent loads only the index at first; when a subcommand is needed, it reads the matching reference file on demand.
|
|
@@ -305,38 +301,28 @@ Export my founder playbook Skill as a SKILL.md file so I can share it with my te
|
|
|
305
301
|
|
|
306
302
|
---
|
|
307
303
|
|
|
308
|
-
##
|
|
304
|
+
## Commands
|
|
309
305
|
|
|
310
|
-
|
|
306
|
+
Primary resources:
|
|
311
307
|
|
|
312
|
-
```
|
|
313
|
-
|
|
314
|
-
deepvista
|
|
308
|
+
```
|
|
309
|
+
deepvista card # Knowledge cards (all types) — alias: `vistabase`
|
|
310
|
+
deepvista skill # Executable workflows
|
|
311
|
+
deepvista chat # Conversational AI agent
|
|
312
|
+
deepvista notes # Hand-written notes (cards with type=note)
|
|
315
313
|
```
|
|
316
314
|
|
|
317
|
-
|
|
318
|
-
|-------|-----|-------------|
|
|
319
|
-
| **Chat** | `1` | Talk to the DeepVista AI agent. Stream responses in real time. |
|
|
320
|
-
| **Notes** | `2` | Browse and search your notes. Click to read full content. |
|
|
321
|
-
| **Skills** | `3` | List all Skills. Select one to view details and run it live. |
|
|
322
|
-
| **Memory** | `4` | Read-only view of implicit context from Chat sessions. |
|
|
323
|
-
|
|
324
|
-
| Key | Action |
|
|
325
|
-
|-----|--------|
|
|
326
|
-
| `1`–`4` | Switch panels |
|
|
327
|
-
| `r` | Refresh |
|
|
328
|
-
| `q` | Quit |
|
|
329
|
-
|
|
330
|
-
---
|
|
331
|
-
|
|
332
|
-
## Commands
|
|
315
|
+
Supporting commands:
|
|
333
316
|
|
|
334
317
|
```
|
|
335
|
-
deepvista
|
|
336
|
-
deepvista
|
|
337
|
-
deepvista
|
|
338
|
-
deepvista
|
|
339
|
-
deepvista
|
|
318
|
+
deepvista agents # Register & manage AI agents connected to DeepVista
|
|
319
|
+
deepvista session # Agent conversation transcripts (init / tick / finalize)
|
|
320
|
+
deepvista tasks # Run work dispatched to this machine (task cards, queued commands)
|
|
321
|
+
deepvista schedule # Manage the recurring daily-planning job (opt-in)
|
|
322
|
+
deepvista lint # Health-check the vistabase with the DeepVista agent
|
|
323
|
+
deepvista auth # Authenticate with DeepVista
|
|
324
|
+
deepvista config # Manage CLI profiles (local, staging, production, …)
|
|
325
|
+
deepvista upgrade # Check for and install CLI + skill updates
|
|
340
326
|
```
|
|
341
327
|
|
|
342
328
|
### card — Knowledge cards
|
|
@@ -355,6 +341,8 @@ deepvista card +archive <card_id>
|
|
|
355
341
|
|
|
356
342
|
Card types: `person` · `organization` · `message` · `todo` · `topic` · `keypoint` · `file` · `note` · `skill` · `skill_run`
|
|
357
343
|
|
|
344
|
+
> `deepvista vistabase` is a backward-compatible alias for `deepvista card` — every `card` subcommand works under `vistabase` too.
|
|
345
|
+
|
|
358
346
|
### skill — Executable workflows
|
|
359
347
|
|
|
360
348
|
```bash
|
|
@@ -371,17 +359,6 @@ deepvista skill status <run_chat_id>
|
|
|
371
359
|
|
|
372
360
|
`skill run` defaults to **host mode** — it 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`. Use `--mode deepvista` to keep the legacy behaviour (server agent drives the whole run, NDJSON streamed back). `--mode auto` decides per phase by inspecting each phase's `tool_plan`.
|
|
373
361
|
|
|
374
|
-
### vistabase — Implicit context
|
|
375
|
-
|
|
376
|
-
Automatically accumulated from Chat. Read-only — updates happen through conversation.
|
|
377
|
-
|
|
378
|
-
```bash
|
|
379
|
-
deepvista vistabase show [--limit N]
|
|
380
|
-
deepvista vistabase search "query text" [--limit N]
|
|
381
|
-
```
|
|
382
|
-
|
|
383
|
-
> `deepvista memory` is a deprecated alias that works identically.
|
|
384
|
-
|
|
385
362
|
### chat — AI agent
|
|
386
363
|
|
|
387
364
|
```bash
|
|
@@ -404,6 +381,44 @@ deepvista notes delete <note_id>
|
|
|
404
381
|
deepvista notes +quick "Quick note from a single line of text"
|
|
405
382
|
```
|
|
406
383
|
|
|
384
|
+
### session — Agent transcripts
|
|
385
|
+
|
|
386
|
+
A rolling context card that captures one agent run — created on SessionStart, ticked per turn, finalized on Stop.
|
|
387
|
+
|
|
388
|
+
```bash
|
|
389
|
+
deepvista session init <session_id>
|
|
390
|
+
deepvista session tick <session_id>
|
|
391
|
+
deepvista session finalize <session_id>
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
### tasks — Work dispatched to this machine
|
|
395
|
+
|
|
396
|
+
Polls for work assigned to this machine's agents and runs it: task cards (plain prompts run headless via `claude -p`), queued CLI commands, and host-driven workflow runs.
|
|
397
|
+
|
|
398
|
+
```bash
|
|
399
|
+
deepvista tasks list
|
|
400
|
+
deepvista tasks run [--run-once] [--host] [--poll-interval N] [--total-time N]
|
|
401
|
+
deepvista tasks setup [--interval N] [--remove] # install/remove a polling crontab entry
|
|
402
|
+
deepvista tasks complete <task_id> --status completed|failed [--note "…"]
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
### schedule — Recurring daily-planning job
|
|
406
|
+
|
|
407
|
+
```bash
|
|
408
|
+
deepvista schedule list
|
|
409
|
+
deepvista schedule activate
|
|
410
|
+
deepvista schedule deactivate
|
|
411
|
+
deepvista schedule delete <job_id>
|
|
412
|
+
```
|
|
413
|
+
|
|
414
|
+
### lint — Vistabase health check
|
|
415
|
+
|
|
416
|
+
```bash
|
|
417
|
+
deepvista lint [--limit N] # surface duplicates, contradictions, stale claims, orphans, gaps
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
Run `deepvista <command> --help` for the full options of any group, including `agents`, `auth`, `config`, `upgrade`, and `ui`. Auth, profiles, and agent registration are also covered in `skills/deepvista/reference/shared.md`.
|
|
421
|
+
|
|
407
422
|
---
|
|
408
423
|
|
|
409
424
|
## Install Options
|
|
@@ -416,13 +431,6 @@ pipx install deepvista-cli
|
|
|
416
431
|
uv tool install deepvista-cli
|
|
417
432
|
```
|
|
418
433
|
|
|
419
|
-
### With TUI support
|
|
420
|
-
|
|
421
|
-
```bash
|
|
422
|
-
pip install 'deepvista-cli[ui]'
|
|
423
|
-
uv tool install 'deepvista-cli[ui]'
|
|
424
|
-
```
|
|
425
|
-
|
|
426
434
|
### From GitHub
|
|
427
435
|
|
|
428
436
|
```bash
|
|
@@ -453,7 +461,7 @@ you'll see no errors but no skills either.
|
|
|
453
461
|
|
|
454
462
|
```bash
|
|
455
463
|
uv sync
|
|
456
|
-
uv pip install -e
|
|
464
|
+
uv pip install -e .
|
|
457
465
|
uv run deepvista --help
|
|
458
466
|
```
|
|
459
467
|
|
|
@@ -549,8 +557,7 @@ deepvista-cli/
|
|
|
549
557
|
│ ├── config.py # Config + profiles
|
|
550
558
|
│ ├── auth/ # Login, token storage, callback server
|
|
551
559
|
│ ├── client/ # HTTP client, SSE streaming
|
|
552
|
-
│ ├── commands/ # card, skill,
|
|
553
|
-
│ ├── tui/ # Terminal UI (requires [ui] extra)
|
|
560
|
+
│ ├── commands/ # card, skill, chat, notes, agents, session, tasks, schedule, auth, config, lint, upgrade
|
|
554
561
|
│ └── output/ # JSON + table formatters
|
|
555
562
|
└── skills/ # SKILL.md files for agent integration
|
|
556
563
|
```
|
|
@@ -31,9 +31,6 @@
|
|
|
31
31
|
|
|
32
32
|
<br>
|
|
33
33
|
|
|
34
|
-
<!-- TODO: Add a GIF/screenshot of the TUI here -->
|
|
35
|
-
<!-- <p align="center"><img src="docs/tui-demo.gif" alt="DeepVista TUI" width="700"></p> -->
|
|
36
|
-
|
|
37
34
|
---
|
|
38
35
|
|
|
39
36
|
## Who this is for
|
|
@@ -66,7 +63,6 @@ Most knowledge tools trap your data in a GUI. DeepVista CLI gives you **full acc
|
|
|
66
63
|
- 🤖 **Agent-native** — Claude Code, Cursor, OpenCode use it as a skill
|
|
67
64
|
- 📋 **Run Skills** — execute structured AI workflows from the command line
|
|
68
65
|
- 💬 **Chat** — talk to the DeepVista AI agent in your terminal
|
|
69
|
-
- 🖥️ **Full TUI** — four-panel terminal UI for chat, notes, skills, and memory
|
|
70
66
|
|
|
71
67
|
## Related Ideas
|
|
72
68
|
|
|
@@ -167,7 +163,7 @@ Fixes, in order of preference:
|
|
|
167
163
|
|
|
168
164
|
```powershell
|
|
169
165
|
uv self update
|
|
170
|
-
uv tool install --reinstall "deepvista-cli
|
|
166
|
+
uv tool install --reinstall "deepvista-cli"
|
|
171
167
|
```
|
|
172
168
|
|
|
173
169
|
2. **Run via `uv tool run` as a fallback** (bypasses the broken trampoline entirely):
|
|
@@ -214,14 +210,16 @@ One skill, `deepvista`, with per-subcommand detail under `skills/deepvista/refer
|
|
|
214
210
|
|-------|---------------------------|
|
|
215
211
|
| `reference/shared.md` | Auth, profiles, global flags, exit codes, agent registration |
|
|
216
212
|
| `reference/notes.md` | Note capture, CRUD, `+quick` |
|
|
217
|
-
| `reference/vistabase-card.md` | Knowledge-base cards — create, search, pin, edit, grep |
|
|
218
|
-
| `reference/
|
|
219
|
-
| `reference/memory.md` | Deprecated `deepvista memory` alias mapping |
|
|
213
|
+
| `reference/vistabase-card.md` | Knowledge-base cards (`card` / `vistabase`) — create, search, pin, edit, grep |
|
|
214
|
+
| `reference/session.md` | Agent session transcripts — init, tick, finalize |
|
|
220
215
|
| `reference/chat.md` | Chat sessions and NDJSON stream format |
|
|
221
216
|
| `reference/skill.md` | Structured Skill workflows — list, run, discover, install |
|
|
217
|
+
| `reference/skill-create-from-note.md` | Synthesize a Skill from one or more notes |
|
|
222
218
|
| `reference/skill-analyze-notes.md` | Pattern: search → read → synthesize notes |
|
|
223
219
|
| `reference/skill-research-to-skill.md` | Pattern: research the KB, then run a Skill |
|
|
224
220
|
| `reference/skill-import-files.md` | Bulk-import a folder as file cards |
|
|
221
|
+
| `reference/tasks.md` | Run work dispatched to this machine — `tasks run` / `setup` |
|
|
222
|
+
| `reference/lint.md` | Health-check the vistabase for dupes / contradictions / gaps |
|
|
225
223
|
| `reference/openclaw.md` | Auto-capture rules for OpenClaw agents |
|
|
226
224
|
|
|
227
225
|
The agent loads only the index at first; when a subcommand is needed, it reads the matching reference file on demand.
|
|
@@ -276,38 +274,28 @@ Export my founder playbook Skill as a SKILL.md file so I can share it with my te
|
|
|
276
274
|
|
|
277
275
|
---
|
|
278
276
|
|
|
279
|
-
##
|
|
277
|
+
## Commands
|
|
280
278
|
|
|
281
|
-
|
|
279
|
+
Primary resources:
|
|
282
280
|
|
|
283
|
-
```
|
|
284
|
-
|
|
285
|
-
deepvista
|
|
281
|
+
```
|
|
282
|
+
deepvista card # Knowledge cards (all types) — alias: `vistabase`
|
|
283
|
+
deepvista skill # Executable workflows
|
|
284
|
+
deepvista chat # Conversational AI agent
|
|
285
|
+
deepvista notes # Hand-written notes (cards with type=note)
|
|
286
286
|
```
|
|
287
287
|
|
|
288
|
-
|
|
289
|
-
|-------|-----|-------------|
|
|
290
|
-
| **Chat** | `1` | Talk to the DeepVista AI agent. Stream responses in real time. |
|
|
291
|
-
| **Notes** | `2` | Browse and search your notes. Click to read full content. |
|
|
292
|
-
| **Skills** | `3` | List all Skills. Select one to view details and run it live. |
|
|
293
|
-
| **Memory** | `4` | Read-only view of implicit context from Chat sessions. |
|
|
294
|
-
|
|
295
|
-
| Key | Action |
|
|
296
|
-
|-----|--------|
|
|
297
|
-
| `1`–`4` | Switch panels |
|
|
298
|
-
| `r` | Refresh |
|
|
299
|
-
| `q` | Quit |
|
|
300
|
-
|
|
301
|
-
---
|
|
302
|
-
|
|
303
|
-
## Commands
|
|
288
|
+
Supporting commands:
|
|
304
289
|
|
|
305
290
|
```
|
|
306
|
-
deepvista
|
|
307
|
-
deepvista
|
|
308
|
-
deepvista
|
|
309
|
-
deepvista
|
|
310
|
-
deepvista
|
|
291
|
+
deepvista agents # Register & manage AI agents connected to DeepVista
|
|
292
|
+
deepvista session # Agent conversation transcripts (init / tick / finalize)
|
|
293
|
+
deepvista tasks # Run work dispatched to this machine (task cards, queued commands)
|
|
294
|
+
deepvista schedule # Manage the recurring daily-planning job (opt-in)
|
|
295
|
+
deepvista lint # Health-check the vistabase with the DeepVista agent
|
|
296
|
+
deepvista auth # Authenticate with DeepVista
|
|
297
|
+
deepvista config # Manage CLI profiles (local, staging, production, …)
|
|
298
|
+
deepvista upgrade # Check for and install CLI + skill updates
|
|
311
299
|
```
|
|
312
300
|
|
|
313
301
|
### card — Knowledge cards
|
|
@@ -326,6 +314,8 @@ deepvista card +archive <card_id>
|
|
|
326
314
|
|
|
327
315
|
Card types: `person` · `organization` · `message` · `todo` · `topic` · `keypoint` · `file` · `note` · `skill` · `skill_run`
|
|
328
316
|
|
|
317
|
+
> `deepvista vistabase` is a backward-compatible alias for `deepvista card` — every `card` subcommand works under `vistabase` too.
|
|
318
|
+
|
|
329
319
|
### skill — Executable workflows
|
|
330
320
|
|
|
331
321
|
```bash
|
|
@@ -342,17 +332,6 @@ deepvista skill status <run_chat_id>
|
|
|
342
332
|
|
|
343
333
|
`skill run` defaults to **host mode** — it 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`. Use `--mode deepvista` to keep the legacy behaviour (server agent drives the whole run, NDJSON streamed back). `--mode auto` decides per phase by inspecting each phase's `tool_plan`.
|
|
344
334
|
|
|
345
|
-
### vistabase — Implicit context
|
|
346
|
-
|
|
347
|
-
Automatically accumulated from Chat. Read-only — updates happen through conversation.
|
|
348
|
-
|
|
349
|
-
```bash
|
|
350
|
-
deepvista vistabase show [--limit N]
|
|
351
|
-
deepvista vistabase search "query text" [--limit N]
|
|
352
|
-
```
|
|
353
|
-
|
|
354
|
-
> `deepvista memory` is a deprecated alias that works identically.
|
|
355
|
-
|
|
356
335
|
### chat — AI agent
|
|
357
336
|
|
|
358
337
|
```bash
|
|
@@ -375,6 +354,44 @@ deepvista notes delete <note_id>
|
|
|
375
354
|
deepvista notes +quick "Quick note from a single line of text"
|
|
376
355
|
```
|
|
377
356
|
|
|
357
|
+
### session — Agent transcripts
|
|
358
|
+
|
|
359
|
+
A rolling context card that captures one agent run — created on SessionStart, ticked per turn, finalized on Stop.
|
|
360
|
+
|
|
361
|
+
```bash
|
|
362
|
+
deepvista session init <session_id>
|
|
363
|
+
deepvista session tick <session_id>
|
|
364
|
+
deepvista session finalize <session_id>
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
### tasks — Work dispatched to this machine
|
|
368
|
+
|
|
369
|
+
Polls for work assigned to this machine's agents and runs it: task cards (plain prompts run headless via `claude -p`), queued CLI commands, and host-driven workflow runs.
|
|
370
|
+
|
|
371
|
+
```bash
|
|
372
|
+
deepvista tasks list
|
|
373
|
+
deepvista tasks run [--run-once] [--host] [--poll-interval N] [--total-time N]
|
|
374
|
+
deepvista tasks setup [--interval N] [--remove] # install/remove a polling crontab entry
|
|
375
|
+
deepvista tasks complete <task_id> --status completed|failed [--note "…"]
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
### schedule — Recurring daily-planning job
|
|
379
|
+
|
|
380
|
+
```bash
|
|
381
|
+
deepvista schedule list
|
|
382
|
+
deepvista schedule activate
|
|
383
|
+
deepvista schedule deactivate
|
|
384
|
+
deepvista schedule delete <job_id>
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
### lint — Vistabase health check
|
|
388
|
+
|
|
389
|
+
```bash
|
|
390
|
+
deepvista lint [--limit N] # surface duplicates, contradictions, stale claims, orphans, gaps
|
|
391
|
+
```
|
|
392
|
+
|
|
393
|
+
Run `deepvista <command> --help` for the full options of any group, including `agents`, `auth`, `config`, `upgrade`, and `ui`. Auth, profiles, and agent registration are also covered in `skills/deepvista/reference/shared.md`.
|
|
394
|
+
|
|
378
395
|
---
|
|
379
396
|
|
|
380
397
|
## Install Options
|
|
@@ -387,13 +404,6 @@ pipx install deepvista-cli
|
|
|
387
404
|
uv tool install deepvista-cli
|
|
388
405
|
```
|
|
389
406
|
|
|
390
|
-
### With TUI support
|
|
391
|
-
|
|
392
|
-
```bash
|
|
393
|
-
pip install 'deepvista-cli[ui]'
|
|
394
|
-
uv tool install 'deepvista-cli[ui]'
|
|
395
|
-
```
|
|
396
|
-
|
|
397
407
|
### From GitHub
|
|
398
408
|
|
|
399
409
|
```bash
|
|
@@ -424,7 +434,7 @@ you'll see no errors but no skills either.
|
|
|
424
434
|
|
|
425
435
|
```bash
|
|
426
436
|
uv sync
|
|
427
|
-
uv pip install -e
|
|
437
|
+
uv pip install -e .
|
|
428
438
|
uv run deepvista --help
|
|
429
439
|
```
|
|
430
440
|
|
|
@@ -520,8 +530,7 @@ deepvista-cli/
|
|
|
520
530
|
│ ├── config.py # Config + profiles
|
|
521
531
|
│ ├── auth/ # Login, token storage, callback server
|
|
522
532
|
│ ├── client/ # HTTP client, SSE streaming
|
|
523
|
-
│ ├── commands/ # card, skill,
|
|
524
|
-
│ ├── tui/ # Terminal UI (requires [ui] extra)
|
|
533
|
+
│ ├── commands/ # card, skill, chat, notes, agents, session, tasks, schedule, auth, config, lint, upgrade
|
|
525
534
|
│ └── output/ # JSON + table formatters
|
|
526
535
|
└── skills/ # SKILL.md files for agent integration
|
|
527
536
|
```
|
|
@@ -55,6 +55,13 @@ class DeepVistaClient:
|
|
|
55
55
|
"X-DeepVista-Origin": json.dumps(build_origin(), separators=(",", ":")),
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
# Scope every authenticated request to the CLI's working project.
|
|
59
|
+
# When unset, the header is omitted and the backend resolves the
|
|
60
|
+
# caller's default project (unchanged legacy behavior). Resolved from
|
|
61
|
+
# --project / DEEPVISTA_PROJECT_ID / profile project_id (see config).
|
|
62
|
+
if self.config.project_id:
|
|
63
|
+
headers["X-Project-Id"] = self.config.project_id
|
|
64
|
+
|
|
58
65
|
# JWT auth (from per-profile credentials file)
|
|
59
66
|
tokens = get_valid_token(credentials_path(self.config.profile))
|
|
60
67
|
if tokens is not None and tokens.access_token:
|
|
@@ -111,9 +118,18 @@ class DeepVistaClient:
|
|
|
111
118
|
|
|
112
119
|
# -- Public request methods -----------------------------------------------
|
|
113
120
|
|
|
114
|
-
def _request(
|
|
121
|
+
def _request(
|
|
122
|
+
self,
|
|
123
|
+
method: str,
|
|
124
|
+
path: str,
|
|
125
|
+
body: dict | None = None,
|
|
126
|
+
params: dict | None = None,
|
|
127
|
+
extra_headers: dict[str, str] | None = None,
|
|
128
|
+
) -> Any:
|
|
115
129
|
"""Unified request method with network error handling."""
|
|
116
130
|
headers = self._auth_headers()
|
|
131
|
+
if extra_headers:
|
|
132
|
+
headers.update(extra_headers)
|
|
117
133
|
self._log_request(method, path, body)
|
|
118
134
|
if self.config.dry_run:
|
|
119
135
|
click.echo(
|
|
@@ -144,13 +160,43 @@ class DeepVistaClient:
|
|
|
144
160
|
self._handle_error(resp)
|
|
145
161
|
return resp.json()
|
|
146
162
|
|
|
147
|
-
def get(self, path: str, params: dict | None = None) -> Any:
|
|
163
|
+
def get(self, path: str, params: dict | None = None, extra_headers: dict[str, str] | None = None) -> Any:
|
|
148
164
|
"""HTTP GET, returns parsed JSON."""
|
|
149
|
-
return self._request("GET", path, params=params)
|
|
165
|
+
return self._request("GET", path, params=params, extra_headers=extra_headers)
|
|
150
166
|
|
|
151
|
-
def post(self, path: str, body: dict | None = None) -> Any:
|
|
167
|
+
def post(self, path: str, body: dict | None = None, extra_headers: dict[str, str] | None = None) -> Any:
|
|
152
168
|
"""HTTP POST, returns parsed JSON."""
|
|
153
|
-
return self._request("POST", path, body=body)
|
|
169
|
+
return self._request("POST", path, body=body, extra_headers=extra_headers)
|
|
170
|
+
|
|
171
|
+
def post_nofatal(self, path: str, body: dict | None = None, extra_headers: dict[str, str] | None = None) -> Any:
|
|
172
|
+
"""HTTP POST that returns the parsed response body for both success and API errors.
|
|
173
|
+
|
|
174
|
+
Unlike post(), 4xx/5xx responses are returned as-is (the server's JSON body) rather
|
|
175
|
+
than printed to stderr and raised as SystemExit. Network errors still raise SystemExit.
|
|
176
|
+
"""
|
|
177
|
+
headers = self._auth_headers()
|
|
178
|
+
if extra_headers:
|
|
179
|
+
headers.update(extra_headers)
|
|
180
|
+
self._log_request("POST", path, body)
|
|
181
|
+
if self.config.dry_run:
|
|
182
|
+
click.echo(
|
|
183
|
+
json.dumps({"dry_run": True, "method": "POST", "path": path, "body": body}, default=str),
|
|
184
|
+
err=True,
|
|
185
|
+
)
|
|
186
|
+
sys.exit(0)
|
|
187
|
+
try:
|
|
188
|
+
client = self._get_client()
|
|
189
|
+
resp = client.post(path, headers=headers, json=body or {})
|
|
190
|
+
except (httpx.ConnectError, httpx.TimeoutException) as exc:
|
|
191
|
+
self._handle_network_error(exc)
|
|
192
|
+
self._log_response(resp)
|
|
193
|
+
try:
|
|
194
|
+
data = resp.json()
|
|
195
|
+
if isinstance(data, dict):
|
|
196
|
+
data["_status_code"] = resp.status_code
|
|
197
|
+
return data
|
|
198
|
+
except Exception:
|
|
199
|
+
return {"error": resp.text, "status_code": resp.status_code, "_status_code": resp.status_code}
|
|
154
200
|
|
|
155
201
|
def patch(self, path: str, body: dict | None = None) -> Any:
|
|
156
202
|
"""HTTP PATCH, returns parsed JSON."""
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"""CLI command groups — auth, vistabase, skill, notes, chat."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import sys
|
|
6
|
+
from collections.abc import Callable
|
|
7
|
+
|
|
8
|
+
import click
|
|
9
|
+
|
|
10
|
+
from deepvista_cli.output.formatter import output_error
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def project_option[F: Callable](func: F) -> F:
|
|
14
|
+
"""Add a per-command ``--project <id>`` override.
|
|
15
|
+
|
|
16
|
+
Use together with :func:`apply_project_override` at the top of the command
|
|
17
|
+
body. The override takes precedence over the persisted working project /
|
|
18
|
+
global ``--project`` flag for this single invocation only.
|
|
19
|
+
"""
|
|
20
|
+
return click.option(
|
|
21
|
+
"--project",
|
|
22
|
+
"project_override",
|
|
23
|
+
default=None,
|
|
24
|
+
help="Scope this command to a project id (overrides the working project for this call only).",
|
|
25
|
+
)(func)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def apply_project_override(ctx: click.Context, project_override: str | None) -> None:
|
|
29
|
+
"""Apply a per-command ``--project`` value to the resolved config.
|
|
30
|
+
|
|
31
|
+
Mutating ``ctx.obj.project_id`` is sufficient because the HTTP client holds
|
|
32
|
+
the *same* ``CLIConfig`` object and reads ``project_id`` lazily when it
|
|
33
|
+
builds request headers, so the override flows through to ``X-Project-Id``
|
|
34
|
+
and to emitted web links without touching every callsite.
|
|
35
|
+
"""
|
|
36
|
+
if project_override:
|
|
37
|
+
ctx.obj.project_id = project_override
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def resolve_content(content: str | None, content_file: str | None) -> str | None:
|
|
41
|
+
"""Resolve content from ``--content`` or ``--content-file``.
|
|
42
|
+
|
|
43
|
+
``--content-file`` takes precedence when provided. Use ``-`` to read from
|
|
44
|
+
stdin. Returns the resolved content string, or *None* if neither option was
|
|
45
|
+
supplied.
|
|
46
|
+
"""
|
|
47
|
+
if content_file is not None:
|
|
48
|
+
if content_file == "-":
|
|
49
|
+
return sys.stdin.read()
|
|
50
|
+
try:
|
|
51
|
+
with open(content_file, encoding="utf-8") as fh:
|
|
52
|
+
return fh.read()
|
|
53
|
+
except OSError as exc:
|
|
54
|
+
output_error(4, "Cannot read content file", str(exc))
|
|
55
|
+
return content
|