deepvista-cli 1.2.0__tar.gz → 3.0.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-3.0.0/.release-please-manifest.json +3 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/CHANGELOG.md +31 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/PKG-INFO +11 -20
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/README.md +10 -19
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/client/http.py +36 -32
- deepvista_cli-3.0.0/deepvista_cli/commands/agents.py +366 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/commands/card.py +177 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/commands/notes.py +4 -254
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/commands/schedule.py +3 -3
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/commands/skill.py +65 -544
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/commands/tasks.py +688 -562
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/commands/upgrade.py +15 -147
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/main.py +1 -3
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/resources/workflow_host_runtime.md +11 -39
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/session_note.py +2 -8
- deepvista_cli-3.0.0/deepvista_cli/workflow_doc.py +116 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/plugins/claude-code/.claude-plugin/plugin.json +1 -1
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/plugins/claude-code/README.md +14 -37
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/plugins/claude-code/commands/deepvista.md +2 -2
- deepvista_cli-3.0.0/plugins/claude-code/commands/refresh-skills.md +25 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/plugins/claude-code/scripts/deepvista-sync.sh +6 -26
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/plugins/claude-code/skills/install-deepvista-cli/SKILL.md +4 -5
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/pyproject.toml +1 -1
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/skills/deepvista/SKILL.md +9 -11
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/skills/deepvista/reference/notes.md +9 -20
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/skills/deepvista/reference/openclaw.md +4 -4
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/skills/deepvista/reference/shared.md +9 -17
- deepvista_cli-3.0.0/skills/deepvista/reference/skill-create-from-note.md +60 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/skills/deepvista/reference/skill-research-to-skill.md +1 -2
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/skills/deepvista/reference/skill.md +10 -31
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/skills/deepvista/reference/tasks.md +16 -13
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/skills/deepvista/reference/vistabase-card.md +9 -2
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/skills/dv-workflow/SKILL.md +3 -3
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/tests/test_agent_id_tagging.py +4 -4
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/tests/test_tasks_commands.py +411 -400
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/tests/test_workflow_doc_phases.py +2 -2
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/uv.lock +1 -1
- deepvista_cli-1.2.0/.release-please-manifest.json +0 -3
- deepvista_cli-1.2.0/deepvista_cli/agent_catalog.py +0 -606
- deepvista_cli-1.2.0/deepvista_cli/commands/agents.py +0 -1210
- deepvista_cli-1.2.0/deepvista_cli/commands/lint.py +0 -303
- deepvista_cli-1.2.0/deepvista_cli/workflow_doc.py +0 -256
- deepvista_cli-1.2.0/plugins/claude-code/agents/.gitignore +0 -10
- deepvista_cli-1.2.0/plugins/claude-code/commands/refresh-skills.md +0 -29
- deepvista_cli-1.2.0/skills/deepvista/reference/lint.md +0 -54
- deepvista_cli-1.2.0/skills/deepvista/reference/skill-create-from-note.md +0 -75
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/.claude-plugin/marketplace.json +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/.github/workflows/ci.yml +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/.github/workflows/publish.yml +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/.github/workflows/release-please.yml +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/.gitignore +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/.pre-commit-config.yaml +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/CLAUDE.md +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/CONTRIBUTING.md +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/LICENSE +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/__init__.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/auth/__init__.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/auth/callback_server.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/auth/login.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/auth/tokens.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/client/__init__.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/client/origin.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/commands/__init__.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/commands/auth.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/commands/chat.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/commands/config.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/commands/project.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/commands/session.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/config.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/output/__init__.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/output/formatter.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/resources/__init__.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/deepvista_cli/skill_catalog.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/docs/assets/deepvista-banner.png +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/install.ps1 +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/install.sh +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/plugins/README.md +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/plugins/claude-code/hooks/hooks.json +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/plugins/claude-code/scripts/deepvista-agent-sync.sh +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/plugins/claude-code/scripts/deepvista-session-end.sh +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/plugins/claude-code/scripts/deepvista-session-start.sh +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/plugins/claude-code/scripts/deepvista-session-turn.sh +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/plugins/claude-code/scripts/deepvista-skill-url.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/plugins/claude-code/skills/.gitignore +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/release-please-config.json +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/scripts/check_plugin_version.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/skills/deepvista/reference/chat.md +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/skills/deepvista/reference/project.md +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/skills/deepvista/reference/session.md +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/skills/deepvista/reference/skill-analyze-notes.md +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/skills/deepvista/reference/skill-import-files.md +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/tests/__init__.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/tests/test_entry_points.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/tests/test_project_commands.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/tests/test_session_note_format.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/tests/test_skill_catalog.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/tests/test_skill_commands.py +0 -0
- {deepvista_cli-1.2.0 → deepvista_cli-3.0.0}/uninstall.sh +0 -0
|
@@ -37,6 +37,37 @@ 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
|
+
## [3.0.0](https://github.com/DeepVista-AI/deepvista-cli/compare/v2.0.0...v3.0.0) (2026-07-11)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Miscellaneous Chores
|
|
44
|
+
|
|
45
|
+
* release 3.0.0 ([#195](https://github.com/DeepVista-AI/deepvista-cli/issues/195)) ([d1c99e0](https://github.com/DeepVista-AI/deepvista-cli/commit/d1c99e0196a779f9eb4b3416db0be089287394b3))
|
|
46
|
+
|
|
47
|
+
## [2.0.0](https://github.com/DeepVista-AI/deepvista-cli/compare/v1.2.0...v2.0.0) (2026-07-06)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### ⚠ BREAKING CHANGES
|
|
51
|
+
|
|
52
|
+
* simplify the CLI surface (84 → 69 commands, −1,470 lines) ([#189](https://github.com/DeepVista-AI/deepvista-cli/issues/189))
|
|
53
|
+
|
|
54
|
+
### Features
|
|
55
|
+
|
|
56
|
+
* **DV-1428:** stream task-card execution incrementally, report live progress ([#185](https://github.com/DeepVista-AI/deepvista-cli/issues/185)) ([7f081b5](https://github.com/DeepVista-AI/deepvista-cli/commit/7f081b598085d52280fb84c4396d573672b6cb5a))
|
|
57
|
+
* **DV-1429:** tasks clean, auto-detect agent --type, prune stale agents ([#183](https://github.com/DeepVista-AI/deepvista-cli/issues/183)) ([38252e7](https://github.com/DeepVista-AI/deepvista-cli/commit/38252e71b33275bc7976037192a082c7f2ccb391))
|
|
58
|
+
* run task queue jobs in parallel (max 5) ([#193](https://github.com/DeepVista-AI/deepvista-cli/issues/193)) ([b22a727](https://github.com/DeepVista-AI/deepvista-cli/commit/b22a7275a59aef3e69896846a86ddfb263d43a24))
|
|
59
|
+
* simplify the CLI surface (84 → 69 commands, −1,470 lines) ([#189](https://github.com/DeepVista-AI/deepvista-cli/issues/189)) ([5056442](https://github.com/DeepVista-AI/deepvista-cli/commit/50564429a84ff044967cab8db831e282b5fac67b))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### Bug Fixes
|
|
63
|
+
|
|
64
|
+
* **tasks:** use single-quoted f-string to avoid escaped double quotes in task note hint ([#181](https://github.com/DeepVista-AI/deepvista-cli/issues/181)) ([297de78](https://github.com/DeepVista-AI/deepvista-cli/commit/297de78ee188cd9dcd9b4031b5b29b76733b160d))
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### Documentation
|
|
68
|
+
|
|
69
|
+
* **DV-1434:** fix schedule command docstring to reference schedule_job cards ([#182](https://github.com/DeepVista-AI/deepvista-cli/issues/182)) ([d01f98d](https://github.com/DeepVista-AI/deepvista-cli/commit/d01f98d03a21256ee96ee4cae8b78f81c4b44a85))
|
|
70
|
+
|
|
40
71
|
## [1.2.0](https://github.com/DeepVista-AI/deepvista-cli/compare/v1.1.0...v1.2.0) (2026-06-27)
|
|
41
72
|
|
|
42
73
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deepvista-cli
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.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
|
|
@@ -243,13 +243,12 @@ One skill, `deepvista`, with per-subcommand detail under `skills/deepvista/refer
|
|
|
243
243
|
| `reference/vistabase-card.md` | Knowledge-base cards (`card` / `vistabase`) — create, search, pin, edit, grep |
|
|
244
244
|
| `reference/session.md` | Agent session transcripts — init, tick, finalize |
|
|
245
245
|
| `reference/chat.md` | Chat sessions and NDJSON stream format |
|
|
246
|
-
| `reference/skill.md` | Structured Skill workflows — list, run,
|
|
246
|
+
| `reference/skill.md` | Structured Skill workflows — list, run, phase, complete |
|
|
247
247
|
| `reference/skill-create-from-note.md` | Synthesize a Skill from one or more notes |
|
|
248
248
|
| `reference/skill-analyze-notes.md` | Pattern: search → read → synthesize notes |
|
|
249
249
|
| `reference/skill-research-to-skill.md` | Pattern: research the KB, then run a Skill |
|
|
250
250
|
| `reference/skill-import-files.md` | Bulk-import a folder as file cards |
|
|
251
251
|
| `reference/tasks.md` | Run work dispatched to this machine — `tasks run` / `setup` |
|
|
252
|
-
| `reference/lint.md` | Health-check the vistabase for dupes / contradictions / gaps |
|
|
253
252
|
| `reference/openclaw.md` | Auto-capture rules for OpenClaw agents |
|
|
254
253
|
|
|
255
254
|
The agent loads only the index at first; when a subcommand is needed, it reads the matching reference file on demand.
|
|
@@ -318,11 +317,10 @@ deepvista notes # Hand-written notes (cards with type=note)
|
|
|
318
317
|
Supporting commands:
|
|
319
318
|
|
|
320
319
|
```
|
|
321
|
-
deepvista agents #
|
|
320
|
+
deepvista agents # Agent identity heartbeat (auto-registers on first sync)
|
|
322
321
|
deepvista session # Agent conversation transcripts (init / tick / finalize)
|
|
323
322
|
deepvista tasks # Run work dispatched to this machine (task cards, queued commands)
|
|
324
323
|
deepvista schedule # Manage the recurring daily-planning job (opt-in)
|
|
325
|
-
deepvista lint # Health-check the vistabase with the DeepVista agent
|
|
326
324
|
deepvista auth # Authenticate with DeepVista
|
|
327
325
|
deepvista config # Manage CLI profiles (local, staging, production, …)
|
|
328
326
|
deepvista upgrade # Check for and install CLI + skill updates
|
|
@@ -351,16 +349,14 @@ Card types: `person` · `organization` · `message` · `todo` · `topic` · `key
|
|
|
351
349
|
```bash
|
|
352
350
|
deepvista skill list [--limit N]
|
|
353
351
|
deepvista skill get <skill_id>
|
|
354
|
-
deepvista skill run <skill_id> [--
|
|
352
|
+
deepvista skill run <skill_id> [--input "context"]
|
|
355
353
|
deepvista skill phase open <skill_id> "Phase N: <title>"
|
|
356
354
|
deepvista skill phase done <skill_id> "Phase N: <title>" [--artifact-card-id ID]... [--next-phase "Phase N+1: …"]
|
|
357
355
|
deepvista skill phase pause <skill_id> --reason "<short sentence>"
|
|
358
|
-
deepvista skill phase run-on-deepvista <skill_id> "Phase N: <title>"
|
|
359
356
|
deepvista skill complete <skill_id> --review "<retrospective bullets>"
|
|
360
|
-
deepvista skill status <run_chat_id>
|
|
361
357
|
```
|
|
362
358
|
|
|
363
|
-
`skill run`
|
|
359
|
+
`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`.
|
|
364
360
|
|
|
365
361
|
### chat — AI agent
|
|
366
362
|
|
|
@@ -396,13 +392,14 @@ deepvista session finalize <session_id>
|
|
|
396
392
|
|
|
397
393
|
### tasks — Work dispatched to this machine
|
|
398
394
|
|
|
399
|
-
Polls for work assigned to this machine's agents and runs
|
|
395
|
+
Polls for work assigned to this machine's agents and runs task cards headless via `claude -p`.
|
|
400
396
|
|
|
401
397
|
```bash
|
|
402
398
|
deepvista tasks list
|
|
403
|
-
deepvista tasks run [--run-once] [--
|
|
399
|
+
deepvista tasks run [--run-once] [--poll-interval N] [--total-time N] [--max-parallel N]
|
|
400
|
+
deepvista tasks note <task_id> "<progress note>"
|
|
401
|
+
deepvista tasks clean [--dry-run] [<task_id>...]
|
|
404
402
|
deepvista tasks setup [--interval N] [--remove] # install/remove a polling crontab entry
|
|
405
|
-
deepvista tasks complete <task_id> --status completed|failed [--note "…"]
|
|
406
403
|
```
|
|
407
404
|
|
|
408
405
|
### schedule — Recurring daily-planning job
|
|
@@ -414,13 +411,7 @@ deepvista schedule deactivate
|
|
|
414
411
|
deepvista schedule delete <job_id>
|
|
415
412
|
```
|
|
416
413
|
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
```bash
|
|
420
|
-
deepvista lint [--limit N] # surface duplicates, contradictions, stale claims, orphans, gaps
|
|
421
|
-
```
|
|
422
|
-
|
|
423
|
-
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`.
|
|
414
|
+
Run `deepvista <command> --help` for the full options of any group, including `agents`, `auth`, `config`, and `upgrade`. Auth, profiles, and the agent heartbeat are also covered in `skills/deepvista/reference/shared.md`.
|
|
424
415
|
|
|
425
416
|
---
|
|
426
417
|
|
|
@@ -560,7 +551,7 @@ deepvista-cli/
|
|
|
560
551
|
│ ├── config.py # Config + profiles
|
|
561
552
|
│ ├── auth/ # Login, token storage, callback server
|
|
562
553
|
│ ├── client/ # HTTP client, SSE streaming
|
|
563
|
-
│ ├── commands/ # card, skill, chat, notes, agents, session, tasks, schedule, auth, config,
|
|
554
|
+
│ ├── commands/ # card, skill, chat, notes, agents, session, tasks, schedule, auth, config, upgrade
|
|
564
555
|
│ └── output/ # JSON + table formatters
|
|
565
556
|
└── skills/ # SKILL.md files for agent integration
|
|
566
557
|
```
|
|
@@ -216,13 +216,12 @@ One skill, `deepvista`, with per-subcommand detail under `skills/deepvista/refer
|
|
|
216
216
|
| `reference/vistabase-card.md` | Knowledge-base cards (`card` / `vistabase`) — create, search, pin, edit, grep |
|
|
217
217
|
| `reference/session.md` | Agent session transcripts — init, tick, finalize |
|
|
218
218
|
| `reference/chat.md` | Chat sessions and NDJSON stream format |
|
|
219
|
-
| `reference/skill.md` | Structured Skill workflows — list, run,
|
|
219
|
+
| `reference/skill.md` | Structured Skill workflows — list, run, phase, complete |
|
|
220
220
|
| `reference/skill-create-from-note.md` | Synthesize a Skill from one or more notes |
|
|
221
221
|
| `reference/skill-analyze-notes.md` | Pattern: search → read → synthesize notes |
|
|
222
222
|
| `reference/skill-research-to-skill.md` | Pattern: research the KB, then run a Skill |
|
|
223
223
|
| `reference/skill-import-files.md` | Bulk-import a folder as file cards |
|
|
224
224
|
| `reference/tasks.md` | Run work dispatched to this machine — `tasks run` / `setup` |
|
|
225
|
-
| `reference/lint.md` | Health-check the vistabase for dupes / contradictions / gaps |
|
|
226
225
|
| `reference/openclaw.md` | Auto-capture rules for OpenClaw agents |
|
|
227
226
|
|
|
228
227
|
The agent loads only the index at first; when a subcommand is needed, it reads the matching reference file on demand.
|
|
@@ -291,11 +290,10 @@ deepvista notes # Hand-written notes (cards with type=note)
|
|
|
291
290
|
Supporting commands:
|
|
292
291
|
|
|
293
292
|
```
|
|
294
|
-
deepvista agents #
|
|
293
|
+
deepvista agents # Agent identity heartbeat (auto-registers on first sync)
|
|
295
294
|
deepvista session # Agent conversation transcripts (init / tick / finalize)
|
|
296
295
|
deepvista tasks # Run work dispatched to this machine (task cards, queued commands)
|
|
297
296
|
deepvista schedule # Manage the recurring daily-planning job (opt-in)
|
|
298
|
-
deepvista lint # Health-check the vistabase with the DeepVista agent
|
|
299
297
|
deepvista auth # Authenticate with DeepVista
|
|
300
298
|
deepvista config # Manage CLI profiles (local, staging, production, …)
|
|
301
299
|
deepvista upgrade # Check for and install CLI + skill updates
|
|
@@ -324,16 +322,14 @@ Card types: `person` · `organization` · `message` · `todo` · `topic` · `key
|
|
|
324
322
|
```bash
|
|
325
323
|
deepvista skill list [--limit N]
|
|
326
324
|
deepvista skill get <skill_id>
|
|
327
|
-
deepvista skill run <skill_id> [--
|
|
325
|
+
deepvista skill run <skill_id> [--input "context"]
|
|
328
326
|
deepvista skill phase open <skill_id> "Phase N: <title>"
|
|
329
327
|
deepvista skill phase done <skill_id> "Phase N: <title>" [--artifact-card-id ID]... [--next-phase "Phase N+1: …"]
|
|
330
328
|
deepvista skill phase pause <skill_id> --reason "<short sentence>"
|
|
331
|
-
deepvista skill phase run-on-deepvista <skill_id> "Phase N: <title>"
|
|
332
329
|
deepvista skill complete <skill_id> --review "<retrospective bullets>"
|
|
333
|
-
deepvista skill status <run_chat_id>
|
|
334
330
|
```
|
|
335
331
|
|
|
336
|
-
`skill run`
|
|
332
|
+
`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`.
|
|
337
333
|
|
|
338
334
|
### chat — AI agent
|
|
339
335
|
|
|
@@ -369,13 +365,14 @@ deepvista session finalize <session_id>
|
|
|
369
365
|
|
|
370
366
|
### tasks — Work dispatched to this machine
|
|
371
367
|
|
|
372
|
-
Polls for work assigned to this machine's agents and runs
|
|
368
|
+
Polls for work assigned to this machine's agents and runs task cards headless via `claude -p`.
|
|
373
369
|
|
|
374
370
|
```bash
|
|
375
371
|
deepvista tasks list
|
|
376
|
-
deepvista tasks run [--run-once] [--
|
|
372
|
+
deepvista tasks run [--run-once] [--poll-interval N] [--total-time N] [--max-parallel N]
|
|
373
|
+
deepvista tasks note <task_id> "<progress note>"
|
|
374
|
+
deepvista tasks clean [--dry-run] [<task_id>...]
|
|
377
375
|
deepvista tasks setup [--interval N] [--remove] # install/remove a polling crontab entry
|
|
378
|
-
deepvista tasks complete <task_id> --status completed|failed [--note "…"]
|
|
379
376
|
```
|
|
380
377
|
|
|
381
378
|
### schedule — Recurring daily-planning job
|
|
@@ -387,13 +384,7 @@ deepvista schedule deactivate
|
|
|
387
384
|
deepvista schedule delete <job_id>
|
|
388
385
|
```
|
|
389
386
|
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
```bash
|
|
393
|
-
deepvista lint [--limit N] # surface duplicates, contradictions, stale claims, orphans, gaps
|
|
394
|
-
```
|
|
395
|
-
|
|
396
|
-
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`.
|
|
387
|
+
Run `deepvista <command> --help` for the full options of any group, including `agents`, `auth`, `config`, and `upgrade`. Auth, profiles, and the agent heartbeat are also covered in `skills/deepvista/reference/shared.md`.
|
|
397
388
|
|
|
398
389
|
---
|
|
399
390
|
|
|
@@ -533,7 +524,7 @@ deepvista-cli/
|
|
|
533
524
|
│ ├── config.py # Config + profiles
|
|
534
525
|
│ ├── auth/ # Login, token storage, callback server
|
|
535
526
|
│ ├── client/ # HTTP client, SSE streaming
|
|
536
|
-
│ ├── commands/ # card, skill, chat, notes, agents, session, tasks, schedule, auth, config,
|
|
527
|
+
│ ├── commands/ # card, skill, chat, notes, agents, session, tasks, schedule, auth, config, upgrade
|
|
537
528
|
│ └── output/ # JSON + table formatters
|
|
538
529
|
└── skills/ # SKILL.md files for agent integration
|
|
539
530
|
```
|
|
@@ -13,6 +13,7 @@ from __future__ import annotations
|
|
|
13
13
|
import json
|
|
14
14
|
import logging
|
|
15
15
|
import sys
|
|
16
|
+
import threading
|
|
16
17
|
from collections.abc import Iterator
|
|
17
18
|
from typing import Any, NoReturn
|
|
18
19
|
|
|
@@ -32,6 +33,7 @@ class DeepVistaClient:
|
|
|
32
33
|
def __init__(self, config: CLIConfig) -> None:
|
|
33
34
|
self.config = config
|
|
34
35
|
self._client: httpx.Client | None = None
|
|
36
|
+
self._lock = threading.Lock()
|
|
35
37
|
|
|
36
38
|
def _get_client(self) -> httpx.Client:
|
|
37
39
|
if self._client is None:
|
|
@@ -140,25 +142,26 @@ class DeepVistaClient:
|
|
|
140
142
|
)
|
|
141
143
|
sys.exit(0)
|
|
142
144
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
145
|
+
with self._lock:
|
|
146
|
+
try:
|
|
147
|
+
client = self._get_client()
|
|
148
|
+
if method == "GET":
|
|
149
|
+
resp = client.get(path, headers=headers, params=params)
|
|
150
|
+
elif method == "POST":
|
|
151
|
+
resp = client.post(path, headers=headers, json=body or {})
|
|
152
|
+
elif method == "PATCH":
|
|
153
|
+
resp = client.patch(path, headers=headers, json=body or {})
|
|
154
|
+
elif method == "DELETE":
|
|
155
|
+
resp = client.delete(path, headers=headers, params=params)
|
|
156
|
+
else:
|
|
157
|
+
raise ValueError(f"Unsupported method: {method}")
|
|
158
|
+
except (httpx.ConnectError, httpx.TimeoutException) as exc:
|
|
159
|
+
self._handle_network_error(exc)
|
|
160
|
+
|
|
161
|
+
self._log_response(resp)
|
|
162
|
+
if resp.status_code >= 400:
|
|
163
|
+
self._handle_error(resp)
|
|
164
|
+
return resp.json()
|
|
162
165
|
|
|
163
166
|
def get(self, path: str, params: dict | None = None, extra_headers: dict[str, str] | None = None) -> Any:
|
|
164
167
|
"""HTTP GET, returns parsed JSON."""
|
|
@@ -184,19 +187,20 @@ class DeepVistaClient:
|
|
|
184
187
|
err=True,
|
|
185
188
|
)
|
|
186
189
|
sys.exit(0)
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
data
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
190
|
+
with self._lock:
|
|
191
|
+
try:
|
|
192
|
+
client = self._get_client()
|
|
193
|
+
resp = client.post(path, headers=headers, json=body or {})
|
|
194
|
+
except (httpx.ConnectError, httpx.TimeoutException) as exc:
|
|
195
|
+
self._handle_network_error(exc)
|
|
196
|
+
self._log_response(resp)
|
|
197
|
+
try:
|
|
198
|
+
data = resp.json()
|
|
199
|
+
if isinstance(data, dict):
|
|
200
|
+
data["_status_code"] = resp.status_code
|
|
201
|
+
return data
|
|
202
|
+
except Exception:
|
|
203
|
+
return {"error": resp.text, "status_code": resp.status_code, "_status_code": resp.status_code}
|
|
200
204
|
|
|
201
205
|
def patch(self, path: str, body: dict | None = None) -> Any:
|
|
202
206
|
"""HTTP PATCH, returns parsed JSON."""
|