deepvista-cli 4.0.0__tar.gz → 4.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-4.1.0/.release-please-manifest.json +3 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/CHANGELOG.md +13 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/PKG-INFO +4 -2
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/README.md +3 -1
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/commands/agents.py +34 -8
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/commands/auth.py +12 -29
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/commands/card.py +11 -1
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/.claude-plugin/plugin.json +1 -1
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/pyproject.toml +1 -1
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/reference/vistabase-card.md +5 -1
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/tests/test_agent_id_tagging.py +53 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/uv.lock +1 -1
- deepvista_cli-4.0.0/.release-please-manifest.json +0 -3
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/.claude-plugin/marketplace.json +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/.github/workflows/ci.yml +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/.github/workflows/publish.yml +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/.github/workflows/release-please.yml +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/.gitignore +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/.pre-commit-config.yaml +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/CLAUDE.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/CONTRIBUTING.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/LICENSE +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/__init__.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/auth/__init__.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/auth/callback_server.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/auth/login.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/auth/tokens.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/client/__init__.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/client/http.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/client/origin.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/commands/__init__.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/commands/chat.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/commands/config.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/commands/notes.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/commands/project.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/commands/schedule.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/commands/session.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/commands/skill.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/commands/tasks.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/commands/upgrade.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/config.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/main.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/output/__init__.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/output/formatter.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/resources/__init__.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/resources/workflow_host_runtime.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/session_note.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/skill_catalog.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/utils.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/workflow_doc.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/docs/assets/deepvista-banner.png +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/install.ps1 +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/install.sh +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/README.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/README.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/commands/deepvista.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/commands/refresh-skills.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/hooks/hooks.json +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/scripts/deepvista-agent-sync.sh +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/scripts/deepvista-session-end.sh +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/scripts/deepvista-session-start.sh +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/scripts/deepvista-session-turn.sh +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/scripts/deepvista-skill-url.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/scripts/deepvista-sync.sh +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/skills/.gitignore +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/skills/install-deepvista-cli/SKILL.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/release-please-config.json +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/scripts/check_plugin_version.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/SKILL.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/reference/chat.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/reference/notes.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/reference/openclaw.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/reference/project.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/reference/session.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/reference/shared.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/reference/skill-analyze-notes.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/reference/skill-create-from-note.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/reference/skill-import-files.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/reference/skill-research-to-skill.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/reference/skill.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/reference/tasks.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/dv-workflow/SKILL.md +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/tests/__init__.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/tests/test_card_comment_commands.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/tests/test_entry_points.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/tests/test_http_client_retry.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/tests/test_project_commands.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/tests/test_schedule_commands.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/tests/test_session_note_format.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/tests/test_skill_catalog.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/tests/test_skill_commands.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/tests/test_tasks_commands.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/tests/test_workflow_doc_phases.py +0 -0
- {deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/uninstall.sh +0 -0
|
@@ -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.1.0](https://github.com/DeepVista-AI/deepvista-cli/compare/v4.0.0...v4.1.0) (2026-07-16)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### Features
|
|
53
|
+
|
|
54
|
+
* **DV-1493:** promote `tasks run` in post-login welcome message ([#208](https://github.com/DeepVista-AI/deepvista-cli/issues/208)) ([282e684](https://github.com/DeepVista-AI/deepvista-cli/commit/282e684631d0e4d8017797d2bff90607bd8fd2a1))
|
|
55
|
+
* **DV-1573:** sync card types with backend; add artifact, drop deprecated skill_run ([#211](https://github.com/DeepVista-AI/deepvista-cli/issues/211)) ([2c89c7a](https://github.com/DeepVista-AI/deepvista-cli/commit/2c89c7a9cb8d4bc7bbee789bf9c4751c1f467b08))
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### Bug Fixes
|
|
59
|
+
|
|
60
|
+
* **DV-1570:** persist a stable machine id instead of a volatile fingerprint ([#209](https://github.com/DeepVista-AI/deepvista-cli/issues/209)) ([68dbbc6](https://github.com/DeepVista-AI/deepvista-cli/commit/68dbbc63f36b0dd61b7452a468b2e23c0eff9a29))
|
|
61
|
+
|
|
49
62
|
## [4.0.0](https://github.com/DeepVista-AI/deepvista-cli/compare/v3.2.0...v4.0.0) (2026-07-14)
|
|
50
63
|
|
|
51
64
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deepvista-cli
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.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
|
|
@@ -340,7 +340,9 @@ deepvista card +pin <card_id>
|
|
|
340
340
|
deepvista card +archive <card_id>
|
|
341
341
|
```
|
|
342
342
|
|
|
343
|
-
Card types: `person` · `organization` · `message` · `todo` · `topic` · `keypoint` · `file` · `note` · `skill` · `
|
|
343
|
+
Card types: `person` · `organization` · `message` · `email` · `todo` · `topic` · `keypoint` · `file` · `note` · `session` · `skill` · `run_log` · `schedule_job` · `task` · `conversation_starter` · `artifact`
|
|
344
|
+
|
|
345
|
+
> `note` is reserved for human-authored notes; `artifact` is the agent's fallback for its own output when no structured type fits (DV-1573).
|
|
344
346
|
|
|
345
347
|
> `deepvista vistabase` is a backward-compatible alias for `deepvista card` — every `card` subcommand works under `vistabase` too.
|
|
346
348
|
|
|
@@ -313,7 +313,9 @@ deepvista card +pin <card_id>
|
|
|
313
313
|
deepvista card +archive <card_id>
|
|
314
314
|
```
|
|
315
315
|
|
|
316
|
-
Card types: `person` · `organization` · `message` · `todo` · `topic` · `keypoint` · `file` · `note` · `skill` · `
|
|
316
|
+
Card types: `person` · `organization` · `message` · `email` · `todo` · `topic` · `keypoint` · `file` · `note` · `session` · `skill` · `run_log` · `schedule_job` · `task` · `conversation_starter` · `artifact`
|
|
317
|
+
|
|
318
|
+
> `note` is reserved for human-authored notes; `artifact` is the agent's fallback for its own output when no structured type fits (DV-1573).
|
|
317
319
|
|
|
318
320
|
> `deepvista vistabase` is a backward-compatible alias for `deepvista card` — every `card` subcommand works under `vistabase` too.
|
|
319
321
|
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"""deepvista agents — Machine identity heartbeat.
|
|
2
2
|
|
|
3
|
-
A Machine is this device (fingerprint =
|
|
4
|
-
a project**. Server
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
A Machine is this device (fingerprint = a UUID persisted once to
|
|
4
|
+
``~/.config/deepvista/machine_id``) **registered to a project**. Server
|
|
5
|
+
uniqueness is ``(project_id, machine_fingerprint)``. A Machine is visible to
|
|
6
|
+
every project member — polling/claiming/syncing works for any of them, not
|
|
7
|
+
just whoever registered it (DV-1570). ``agent_type`` is soft metadata
|
|
8
|
+
(last-seen tool). ``agent_role`` is unused.
|
|
7
9
|
|
|
8
10
|
Local cache: ``~/.config/deepvista/machines/<fingerprint>__<project_id>.json``.
|
|
9
11
|
Legacy ``agents/<type>__<project>.json`` files are migrated on read.
|
|
@@ -45,13 +47,37 @@ _AGENT_TYPE_LABELS = {
|
|
|
45
47
|
}
|
|
46
48
|
|
|
47
49
|
|
|
50
|
+
MACHINE_ID_PATH = CONFIG_DIR / "machine_id"
|
|
51
|
+
|
|
52
|
+
|
|
48
53
|
def _machine_fingerprint() -> str:
|
|
49
|
-
|
|
50
|
-
|
|
54
|
+
"""Return this Machine's stable identity, generating + persisting it on first use.
|
|
55
|
+
|
|
56
|
+
Previously derived from ``hostname + uuid.getnode() + OS``. ``uuid.getnode()``
|
|
57
|
+
falls back to a random value whenever it can't read a real hardware MAC —
|
|
58
|
+
common on containers, VMs, and ephemeral cloud sandboxes — and that
|
|
59
|
+
fallback is re-randomized on every process start rather than cached. A
|
|
60
|
+
hostname change across ephemeral container restarts compounded this. The
|
|
61
|
+
result: every restart on such a host looked like a brand-new Machine,
|
|
62
|
+
each registering a fresh, undeduped row server-side (DV-1570).
|
|
63
|
+
|
|
64
|
+
A UUID generated once and persisted to disk survives restarts regardless
|
|
65
|
+
of MAC/hostname availability.
|
|
66
|
+
"""
|
|
67
|
+
try:
|
|
68
|
+
existing = MACHINE_ID_PATH.read_text().strip()
|
|
69
|
+
except OSError:
|
|
70
|
+
existing = ""
|
|
71
|
+
if existing:
|
|
72
|
+
return existing
|
|
73
|
+
|
|
51
74
|
import uuid
|
|
52
75
|
|
|
53
|
-
|
|
54
|
-
|
|
76
|
+
new_id = uuid.uuid4().hex
|
|
77
|
+
CONFIG_DIR.mkdir(parents=True, exist_ok=True)
|
|
78
|
+
MACHINE_ID_PATH.write_text(new_id)
|
|
79
|
+
os.chmod(MACHINE_ID_PATH, 0o600)
|
|
80
|
+
return new_id
|
|
55
81
|
|
|
56
82
|
|
|
57
83
|
def _machine_path(project_id: str, fingerprint: str | None = None) -> Path:
|
|
@@ -14,7 +14,6 @@ from deepvista_cli.auth.tokens import (
|
|
|
14
14
|
remove_account,
|
|
15
15
|
switch_active_account,
|
|
16
16
|
)
|
|
17
|
-
from deepvista_cli.client.origin import detect_agent_tool
|
|
18
17
|
from deepvista_cli.config import credentials_path
|
|
19
18
|
from deepvista_cli.output.formatter import format_output, output_error
|
|
20
19
|
|
|
@@ -24,34 +23,18 @@ def auth_group() -> None:
|
|
|
24
23
|
"""Authenticate with DeepVista."""
|
|
25
24
|
|
|
26
25
|
|
|
27
|
-
def _print_next_steps() -> None:
|
|
28
|
-
"""Print
|
|
26
|
+
def _print_next_steps(project_id: str | None = None) -> None:
|
|
27
|
+
"""Print the post-login next step on stderr (DV-1493)."""
|
|
28
|
+
if project_id:
|
|
29
|
+
command = "deepvista tasks run"
|
|
30
|
+
description = "kick off the task daemon for your current project"
|
|
31
|
+
else:
|
|
32
|
+
command = "deepvista tasks run --project <project_id>"
|
|
33
|
+
description = "kick off the task daemon for a project"
|
|
29
34
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
""
|
|
33
|
-
tool, _version = detect_agent_tool()
|
|
34
|
-
if tool == "claude-code":
|
|
35
|
-
steps = [
|
|
36
|
-
"/refresh-skills — sync the DeepVista skill catalog",
|
|
37
|
-
'say "Help me get started with DeepVista."',
|
|
38
|
-
'deepvista notes +quick "<fact>" — capture your first note',
|
|
39
|
-
]
|
|
40
|
-
elif tool == "deepvista-cli": # direct terminal usage
|
|
41
|
-
steps = [
|
|
42
|
-
'deepvista notes +quick "My first note" — capture a note',
|
|
43
|
-
"deepvista skill list — browse your workflow skills",
|
|
44
|
-
"deepvista chat — talk to your DeepVista agent",
|
|
45
|
-
]
|
|
46
|
-
else: # some other AI agent is driving us
|
|
47
|
-
steps = [
|
|
48
|
-
'deepvista notes +quick "<fact>" — capture a note for the user',
|
|
49
|
-
"deepvista skill list — discover available workflow skills",
|
|
50
|
-
'deepvista vistabase +search "<topic>" — recall the user\'s stored context',
|
|
51
|
-
]
|
|
52
|
-
click.echo("\n What's next? Pick one:", err=True)
|
|
53
|
-
for step in steps:
|
|
54
|
-
click.echo(f" - {step}", err=True)
|
|
35
|
+
click.echo("\n What's next?", err=True)
|
|
36
|
+
click.echo(f" {click.style(command, fg='cyan', bold=True)}", err=True)
|
|
37
|
+
click.echo(f" {click.style(description, dim=True)}", err=True)
|
|
55
38
|
|
|
56
39
|
|
|
57
40
|
@auth_group.command("login")
|
|
@@ -95,7 +78,7 @@ def auth_login(ctx: click.Context, code: str | None, dry_run: bool) -> None:
|
|
|
95
78
|
}
|
|
96
79
|
format_output(result, ctx.obj.output_format)
|
|
97
80
|
click.echo(f" Logged in as {tokens.email or tokens.user_id}", err=True)
|
|
98
|
-
_print_next_steps()
|
|
81
|
+
_print_next_steps(ctx.obj.project_id)
|
|
99
82
|
|
|
100
83
|
|
|
101
84
|
@auth_group.command("status")
|
|
@@ -29,10 +29,16 @@ from deepvista_cli.client.http import DeepVistaClient
|
|
|
29
29
|
from deepvista_cli.commands import apply_project_override, project_option, resolve_content
|
|
30
30
|
from deepvista_cli.output.formatter import format_output, output_error
|
|
31
31
|
|
|
32
|
+
# Mirrors the backend's vista_common.models.context_card.CardType enum
|
|
33
|
+
# (types are enforced at the API layer, not in the DB). `note` is reserved
|
|
34
|
+
# for human-authored notes; `artifact` (DV-1573) is the agent's fallback for
|
|
35
|
+
# its own output when no structured type fits. The deprecated `skill_run`
|
|
36
|
+
# type (superseded by `run_log`, DV-1130) is intentionally absent.
|
|
32
37
|
CARD_TYPES = [
|
|
33
38
|
"person",
|
|
34
39
|
"organization",
|
|
35
40
|
"message",
|
|
41
|
+
"email",
|
|
36
42
|
"todo",
|
|
37
43
|
"topic",
|
|
38
44
|
"keypoint",
|
|
@@ -40,7 +46,11 @@ CARD_TYPES = [
|
|
|
40
46
|
"note",
|
|
41
47
|
"session",
|
|
42
48
|
"skill",
|
|
43
|
-
"
|
|
49
|
+
"run_log",
|
|
50
|
+
"schedule_job",
|
|
51
|
+
"task",
|
|
52
|
+
"conversation_starter",
|
|
53
|
+
"artifact",
|
|
44
54
|
]
|
|
45
55
|
|
|
46
56
|
CARD_COLUMNS = ["id", "type", "title", "display_status", "updated_at"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deepvista",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Remote-managed skill catalog from DeepVista. Auto-syncs thin stubs into the plugin's skills dir on SessionStart; full bodies are lazy-loaded at invocation time.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "DeepVista AI",
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
# Cards — the knowledge base
|
|
2
2
|
|
|
3
3
|
`deepvista card` manages every knowledge base entry. Types: `person`, `organization`,
|
|
4
|
-
`message`, `todo`, `topic`, `keypoint`, `file`, `note`, `
|
|
4
|
+
`message`, `email`, `todo`, `topic`, `keypoint`, `file`, `note`, `session`, `skill`,
|
|
5
|
+
`run_log`, `schedule_job`, `task`, `conversation_starter`, `artifact`.
|
|
6
|
+
|
|
7
|
+
`note` is reserved for human-authored notes; `artifact` is the agent's fallback
|
|
8
|
+
for its own output when no structured type fits (DV-1573).
|
|
5
9
|
|
|
6
10
|
`deepvista vistabase` is a backward-compatible alias — every `card` subcommand
|
|
7
11
|
works under `vistabase` too (hidden from `--help`).
|
|
@@ -228,6 +228,59 @@ def test_migrate_legacy_agents_dir_into_machines_cache(tmp_path: Path, monkeypat
|
|
|
228
228
|
assert cached["project_id"] == project_id
|
|
229
229
|
|
|
230
230
|
|
|
231
|
+
# ---------------------------------------------------------------------------
|
|
232
|
+
# agents.py — _machine_fingerprint() persistence (DV-1570)
|
|
233
|
+
# ---------------------------------------------------------------------------
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
def test_machine_fingerprint_persists_across_calls(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:
|
|
237
|
+
"""A fresh fingerprint is generated once and reused on every subsequent call."""
|
|
238
|
+
from deepvista_cli.commands import agents
|
|
239
|
+
|
|
240
|
+
monkeypatch.setattr(agents, "CONFIG_DIR", tmp_path)
|
|
241
|
+
monkeypatch.setattr(agents, "MACHINE_ID_PATH", tmp_path / "machine_id")
|
|
242
|
+
|
|
243
|
+
first = agents._machine_fingerprint()
|
|
244
|
+
second = agents._machine_fingerprint()
|
|
245
|
+
|
|
246
|
+
assert first == second
|
|
247
|
+
assert (tmp_path / "machine_id").read_text().strip() == first
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
def test_machine_fingerprint_survives_process_restart_simulation(
|
|
251
|
+
tmp_path: Path, monkeypatch: pytest.MonkeyPatch
|
|
252
|
+
) -> None:
|
|
253
|
+
"""Reloading the module-level function (simulating a fresh CLI process) must
|
|
254
|
+
still return the persisted id — this is what protects against
|
|
255
|
+
``uuid.getnode()``'s per-process randomness on hosts without a real MAC."""
|
|
256
|
+
from deepvista_cli.commands import agents
|
|
257
|
+
|
|
258
|
+
monkeypatch.setattr(agents, "CONFIG_DIR", tmp_path)
|
|
259
|
+
monkeypatch.setattr(agents, "MACHINE_ID_PATH", tmp_path / "machine_id")
|
|
260
|
+
|
|
261
|
+
generated = agents._machine_fingerprint()
|
|
262
|
+
|
|
263
|
+
# No in-memory state to reset — persistence must live entirely on disk.
|
|
264
|
+
assert agents._machine_fingerprint() == generated
|
|
265
|
+
assert (tmp_path / "machine_id").exists()
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
def test_machine_fingerprint_ignores_stale_getnode_value(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:
|
|
269
|
+
"""Once persisted, the fingerprint no longer depends on hostname/MAC at all."""
|
|
270
|
+
from deepvista_cli.commands import agents
|
|
271
|
+
|
|
272
|
+
monkeypatch.setattr(agents, "CONFIG_DIR", tmp_path)
|
|
273
|
+
monkeypatch.setattr(agents, "MACHINE_ID_PATH", tmp_path / "machine_id")
|
|
274
|
+
persisted = agents._machine_fingerprint()
|
|
275
|
+
|
|
276
|
+
import uuid as uuid_module
|
|
277
|
+
|
|
278
|
+
monkeypatch.setattr(uuid_module, "getnode", lambda: 999999999999)
|
|
279
|
+
monkeypatch.setattr("platform.node", lambda: "some-other-ephemeral-hostname")
|
|
280
|
+
|
|
281
|
+
assert agents._machine_fingerprint() == persisted
|
|
282
|
+
|
|
283
|
+
|
|
231
284
|
# ---------------------------------------------------------------------------
|
|
232
285
|
# +quick tag emission
|
|
233
286
|
# ---------------------------------------------------------------------------
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/deepvista_cli/resources/workflow_host_runtime.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/scripts/deepvista-agent-sync.sh
RENAMED
|
File without changes
|
{deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/scripts/deepvista-session-end.sh
RENAMED
|
File without changes
|
{deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/scripts/deepvista-session-start.sh
RENAMED
|
File without changes
|
{deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/scripts/deepvista-session-turn.sh
RENAMED
|
File without changes
|
{deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/plugins/claude-code/scripts/deepvista-skill-url.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/reference/skill-analyze-notes.md
RENAMED
|
File without changes
|
{deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/reference/skill-create-from-note.md
RENAMED
|
File without changes
|
{deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/reference/skill-import-files.md
RENAMED
|
File without changes
|
{deepvista_cli-4.0.0 → deepvista_cli-4.1.0}/skills/deepvista/reference/skill-research-to-skill.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|