deepvista-cli 0.1.0a26__tar.gz → 0.1.2__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 (70) hide show
  1. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/.github/workflows/ci.yml +12 -0
  2. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/.github/workflows/publish.yml +49 -28
  3. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/CHANGELOG.md +44 -3
  4. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/CLAUDE.md +14 -3
  5. deepvista_cli-0.1.2/PKG-INFO +473 -0
  6. deepvista_cli-0.1.2/README.md +444 -0
  7. deepvista_cli-0.1.2/docs/assets/deepvista-banner.png +0 -0
  8. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/install.sh +25 -22
  9. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/pyproject.toml +1 -1
  10. deepvista_cli-0.1.2/skills/deepvista/SKILL.md +112 -0
  11. deepvista_cli-0.1.2/skills/deepvista/reference/chat.md +95 -0
  12. deepvista_cli-0.1.2/skills/deepvista/reference/memory.md +28 -0
  13. deepvista_cli-0.1.2/skills/deepvista/reference/notes.md +101 -0
  14. deepvista_cli-0.1.2/skills/deepvista/reference/openclaw.md +82 -0
  15. deepvista_cli-0.1.2/skills/deepvista/reference/persona-knowledge-worker.md +65 -0
  16. deepvista_cli-0.1.2/skills/deepvista/reference/shared.md +144 -0
  17. deepvista_cli-0.1.2/skills/deepvista/reference/skill-analyze-notes.md +67 -0
  18. deepvista_cli-0.1.2/skills/deepvista/reference/skill-export-knowledge.md +48 -0
  19. deepvista_cli-0.1.2/skills/deepvista/reference/skill-import-files.md +76 -0
  20. deepvista_cli-0.1.2/skills/deepvista/reference/skill-research-to-skill.md +64 -0
  21. deepvista_cli-0.1.2/skills/deepvista/reference/skill.md +100 -0
  22. deepvista_cli-0.1.2/skills/deepvista/reference/vistabase-card.md +142 -0
  23. deepvista_cli-0.1.2/skills/deepvista/reference/vistabase.md +51 -0
  24. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/uninstall.sh +7 -0
  25. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/uv.lock +1 -1
  26. deepvista_cli-0.1.0a26/INSTALL_PROMPT.md +0 -112
  27. deepvista_cli-0.1.0a26/PKG-INFO +0 -510
  28. deepvista_cli-0.1.0a26/README.md +0 -481
  29. deepvista_cli-0.1.0a26/skills/deepvista-chat/SKILL.md +0 -112
  30. deepvista_cli-0.1.0a26/skills/deepvista-notes/SKILL.md +0 -174
  31. deepvista_cli-0.1.0a26/skills/deepvista-openclaw/SKILL.md +0 -74
  32. deepvista_cli-0.1.0a26/skills/deepvista-persona-knowledge-worker/SKILL.md +0 -69
  33. deepvista_cli-0.1.0a26/skills/deepvista-shared/SKILL.md +0 -274
  34. deepvista_cli-0.1.0a26/skills/deepvista-skill/SKILL.md +0 -154
  35. deepvista_cli-0.1.0a26/skills/deepvista-skill-analyze-notes/SKILL.md +0 -92
  36. deepvista_cli-0.1.0a26/skills/deepvista-skill-export-knowledge/SKILL.md +0 -54
  37. deepvista_cli-0.1.0a26/skills/deepvista-skill-import-files/SKILL.md +0 -135
  38. deepvista_cli-0.1.0a26/skills/deepvista-skill-research-to-skill/SKILL.md +0 -66
  39. deepvista_cli-0.1.0a26/skills/deepvista-vistabase/SKILL.md +0 -85
  40. deepvista_cli-0.1.0a26/skills/deepvista-vistabase-card/SKILL.md +0 -202
  41. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/.gitignore +0 -0
  42. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/.pre-commit-config.yaml +0 -0
  43. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/LICENSE +0 -0
  44. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/__init__.py +0 -0
  45. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/auth/__init__.py +0 -0
  46. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/auth/callback_server.py +0 -0
  47. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/auth/login.py +0 -0
  48. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/auth/tokens.py +0 -0
  49. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/client/__init__.py +0 -0
  50. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/client/http.py +0 -0
  51. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/client/origin.py +0 -0
  52. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/commands/__init__.py +0 -0
  53. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/commands/agents.py +0 -0
  54. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/commands/auth.py +0 -0
  55. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/commands/card.py +0 -0
  56. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/commands/chat.py +0 -0
  57. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/commands/config.py +0 -0
  58. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/commands/memory.py +0 -0
  59. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/commands/notes.py +0 -0
  60. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/commands/skill.py +0 -0
  61. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/commands/upgrade.py +0 -0
  62. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/commands/vistabase.py +0 -0
  63. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/commands/vistabook.py +0 -0
  64. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/config.py +0 -0
  65. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/main.py +0 -0
  66. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/output/__init__.py +0 -0
  67. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/output/formatter.py +0 -0
  68. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/tui/__init__.py +0 -0
  69. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/deepvista_cli/tui/app.py +0 -0
  70. {deepvista_cli-0.1.0a26 → deepvista_cli-0.1.2}/hooks/deepvista-autocapture.sh +0 -0
@@ -32,3 +32,15 @@ jobs:
32
32
 
33
33
  - name: Dependency vulnerability check
34
34
  run: uv run --with pip-audit pip-audit
35
+
36
+ - name: Install gh >= 2.90 (gh skill requires it)
37
+ run: |
38
+ GH_VERSION=2.90.0
39
+ curl -sL "https://github.com/cli/cli/releases/download/v${GH_VERSION}/gh_${GH_VERSION}_linux_amd64.tar.gz" \
40
+ | sudo tar xz -C /usr/local --strip-components=1
41
+ gh --version
42
+
43
+ - name: Validate skills (gh skill publish --dry-run)
44
+ env:
45
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46
+ run: gh skill publish --dry-run
@@ -14,7 +14,7 @@ on:
14
14
  options:
15
15
  - testpypi
16
16
  - pypi
17
- - clawhub
17
+ - github-skills
18
18
  - all
19
19
 
20
20
  jobs:
@@ -80,41 +80,62 @@ jobs:
80
80
  - name: Publish to PyPI
81
81
  uses: pypa/gh-action-pypi-publish@release/v1
82
82
 
83
- publish-clawhub:
83
+ publish-github-skills:
84
+ # Creates a semver-tagged GitHub Release (e.g. v0.1.0-alpha.26 mirroring v0.1.0a26)
85
+ # so `gh skill install deepvista/deepvista-cli@v0.1.0-alpha.26` works.
86
+ # `gh skill publish --tag` validates skills before releasing, so no separate
87
+ # validate job is needed here — CI runs `gh skill publish --dry-run` on PRs.
84
88
  if: >
85
89
  github.event_name == 'push' ||
86
- (github.event_name == 'workflow_dispatch' && (github.event.inputs.target == 'clawhub' || github.event.inputs.target == 'all'))
90
+ (github.event_name == 'workflow_dispatch' && (github.event.inputs.target == 'github-skills' || github.event.inputs.target == 'all'))
87
91
  needs: build
88
92
  runs-on: ubuntu-latest
89
- environment: clawhub
93
+ permissions:
94
+ contents: write
90
95
  steps:
91
96
  - uses: actions/checkout@v4
97
+ with:
98
+ fetch-depth: 0
92
99
 
93
- - name: Install clawhub CLI
94
- run: npm install -g clawhub
95
-
96
- - name: Authenticate with ClawHub
97
- run: clawhub login --token "${{ secrets.CLAWHUB_TOKEN }}" --no-browser
100
+ - name: Install gh >= 2.90 (gh skill requires it)
101
+ run: |
102
+ GH_VERSION=2.90.0
103
+ curl -sL "https://github.com/cli/cli/releases/download/v${GH_VERSION}/gh_${GH_VERSION}_linux_amd64.tar.gz" \
104
+ | sudo tar xz -C /usr/local --strip-components=1
105
+ gh --version
98
106
 
99
- - name: Publish skills to ClawHub
107
+ - name: Compute semver tag
108
+ id: semver
100
109
  run: |
101
110
  PEP440_VERSION="${{ needs.build.outputs.version }}"
102
-
103
- # Convert PEP 440 to semver: 0.1.0a15 -> 0.1.0-alpha.15, 0.1.0b3 -> 0.1.0-beta.3, 0.1.0rc1 -> 0.1.0-rc.1
104
111
  SEMVER=$(echo "$PEP440_VERSION" | sed -E 's/([0-9]+\.[0-9]+\.[0-9]+)a([0-9]+)/\1-alpha.\2/; s/([0-9]+\.[0-9]+\.[0-9]+)b([0-9]+)/\1-beta.\2/; s/([0-9]+\.[0-9]+\.[0-9]+)rc([0-9]+)/\1-rc.\2/')
105
- echo "PEP 440 version: $PEP440_VERSION -> Semver: $SEMVER"
106
-
107
- for skill_dir in skills/*/; do
108
- skill_name=$(basename "$skill_dir")
109
- echo "Publishing $skill_name v$SEMVER..."
110
-
111
- clawhub publish "$skill_dir" \
112
- --slug "$skill_name" \
113
- --version "$SEMVER" \
114
- --tags latest \
115
- --changelog "Release v$SEMVER" \
116
- || echo " Warning: Failed to publish $skill_name (may already exist at this version)"
117
- done
118
-
119
- echo ""
120
- echo "Skills published to: https://clawhub.ai/skills"
112
+ echo "tag=v$SEMVER" >> $GITHUB_OUTPUT
113
+ if [ "$PEP440_VERSION" = "$SEMVER" ]; then
114
+ echo "is_stable=true" >> $GITHUB_OUTPUT
115
+ else
116
+ echo "is_stable=false" >> $GITHUB_OUTPUT
117
+ fi
118
+ echo "PEP 440: $PEP440_VERSION -> semver tag: v$SEMVER"
119
+
120
+ - name: Publish to GitHub skills — pre-release (gh skill publish --tag)
121
+ # Pre-releases (alpha/beta/rc) need a new semver-aliased tag distinct from the
122
+ # PyPI PEP 440 tag (e.g. v0.1.0a27 -> v0.1.0-alpha.27), so gh skill publish
123
+ # creates both the tag and the release.
124
+ if: steps.semver.outputs.is_stable == 'false'
125
+ env:
126
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
127
+ run: gh skill publish --tag "${{ steps.semver.outputs.tag }}"
128
+
129
+ - name: Publish to GitHub skills — stable (validate + gh release create)
130
+ # Stable versions (e.g. 0.1.1) have PEP 440 == semver, so the PyPI tag
131
+ # IS the semver tag — gh skill publish would refuse to reuse it. Split
132
+ # validation from release creation.
133
+ if: steps.semver.outputs.is_stable == 'true'
134
+ env:
135
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
136
+ run: |
137
+ gh skill publish --dry-run
138
+ gh release create "${{ steps.semver.outputs.tag }}" \
139
+ --generate-notes \
140
+ --latest \
141
+ --title "${{ steps.semver.outputs.tag }}"
@@ -8,7 +8,38 @@ users what's new between the version they have installed and the latest release.
8
8
 
9
9
  ## Unreleased
10
10
 
11
- ### Added
11
+ ## v0.1.2
12
+
13
+ ### Changed
14
+ - **Skill pack collapsed to one consolidated `deepvista` skill** (DV-385, issue #75
15
+ follow-up). Replaces the 12 top-level `deepvista-*` skills with a single
16
+ `skills/deepvista/` directory: an index `SKILL.md` that covers every trigger
17
+ phrase, plus per-subcommand detail under `skills/deepvista/reference/*.md`
18
+ (13 files). Agents load the index first and pull the matching reference file on
19
+ demand. `install.sh` removes the legacy `deepvista-*` directories on upgrade so
20
+ users don't end up with both.
21
+
22
+ ### Removed
23
+ - 12 legacy per-subcommand skill directories (`deepvista-chat`, `deepvista-notes`,
24
+ `deepvista-openclaw`, `deepvista-persona-knowledge-worker`, `deepvista-shared`,
25
+ `deepvista-skill`, `deepvista-skill-analyze-notes`, `deepvista-skill-export-knowledge`,
26
+ `deepvista-skill-import-files`, `deepvista-skill-research-to-skill`,
27
+ `deepvista-vistabase`, `deepvista-vistabase-card`). All content preserved under
28
+ the consolidated skill.
29
+ - `INSTALL_PROMPT.md` — unreferenced and drifting (still mentioned
30
+ `deepvista-vistabook` after the rename). The install flow is already documented
31
+ in `README.md` and `install.sh`.
32
+ - Stale ClawHub and MIT license references from `README.md` and `CLAUDE.md` (license
33
+ has been Apache-2.0 for a while; ClawHub publish was removed in #78).
34
+
35
+
36
+ ## v0.1.1
37
+
38
+ First non-alpha release. Graduates from `0.1.0aN` (PEP 440 alpha) to a plain
39
+ semver. No `0.1.0` stable was ever published to PyPI — the jump is intentional
40
+ to keep the PyPI version and the git `v0.1.0` artifact (which was tagged at the
41
+ a24 commit and only exists on GitHub) from colliding.
42
+
12
43
  - Auto-update flow for the CLI and bundled skills, modeled after `gstack`
13
44
  (DV-378). Skills now run `deepvista upgrade check` when they load; if a newer
14
45
  version is on PyPI, the agent is instructed to tell the user and offer to
@@ -25,12 +56,22 @@ users what's new between the version they have installed and the latest release.
25
56
  - `deepvista upgrade status` — show cached state.
26
57
  - `CHANGELOG.md` at the repo root — read by `upgrade install` to render
27
58
  release notes to users and agents.
28
-
29
- ### Changed
30
59
  - Every shipped skill now has an `## On Load` preamble that runs
31
60
  `deepvista upgrade check` once per hour so agents can react to new releases
32
61
  without blocking on the network.
33
62
 
63
+ ## v0.1.0a27
64
+
65
+ ### Added
66
+ - GitHub skills publishing via `gh skill publish` (issue #75). Release workflow
67
+ now creates a semver-tagged GitHub Release (e.g. `v0.1.0a27` → `v0.1.0-alpha.27`)
68
+ so skills install with `gh skill install deepvista/deepvista-cli@v0.1.0-alpha.27`.
69
+ Agent Skills spec compliance is validated on every PR via
70
+ `gh skill publish --dry-run` in CI.
71
+
72
+ ### Removed
73
+ - ClawHub publish step from the release workflow.
74
+
34
75
  ## v0.1.0a23
35
76
 
36
77
  - Agent control plane CLI commands (DV-368).
@@ -21,7 +21,9 @@ Fix all reported issues before committing — the pre-commit hook runs the same
21
21
 
22
22
  ## After editing skill files
23
23
 
24
- Skills are published to [ClawHub](https://clawhub.ai). The version is read from `pyproject.toml` at publish time — do not add a `version` field to SKILL.md files.
24
+ Skills are published as a GitHub Release (via `gh skill publish`) and auto-discovered by [skills.sh](https://skills.sh). The version is the git tag (PEP 440 → semver mirror, see the release workflow) — do not add a `version` field to SKILL.md files.
25
+
26
+ Validate with `gh skill publish --dry-run` before committing — this is also the CI check. The repo ships a single consolidated `deepvista` skill at `skills/deepvista/` with per-subcommand detail under `skills/deepvista/reference/*.md` (DV-385). Do not re-introduce the 12 legacy `skills/deepvista-*/` directories.
25
27
 
26
28
  ## Pre-commit hooks summary
27
29
 
@@ -41,11 +43,16 @@ The `main` branch is protected. Follow this workflow:
41
43
  git checkout main && git pull
42
44
  git checkout -b release/vX.Y.Z
43
45
  # Edit pyproject.toml: version = "X.Y.Z"
44
- git add pyproject.toml
46
+ uv lock # regenerate uv.lock so it matches
47
+ git add pyproject.toml uv.lock
45
48
  git commit -m "release: vX.Y.Z"
46
49
  git push -u origin release/vX.Y.Z
47
50
  ```
48
51
 
52
+ Both `pyproject.toml` **and** `uv.lock` must be staged — `uv.lock` pins the
53
+ project's own version, and CI's `uv sync --frozen` tolerates self-version
54
+ drift but contributors will hit a lockfile mismatch if it's skipped.
55
+
49
56
  2. **Create PR and merge**
50
57
  ```bash
51
58
  gh pr create --title "release: vX.Y.Z" --body "Bump version for release"
@@ -58,6 +65,10 @@ The `main` branch is protected. Follow this workflow:
58
65
  git push origin vX.Y.Z
59
66
  ```
60
67
 
61
- CI publishes to PyPI automatically on `v*` tags.
68
+ CI publishes to PyPI **and** creates a GitHub Release automatically on `v*`
69
+ tags. Pre-releases (`vX.Y.ZaN` / `bN` / `rcN`) are converted to semver
70
+ (`vX.Y.Z-alpha.N`, etc.) and released under that tag by `gh skill publish`,
71
+ so `gh skill install DeepVista-AI/deepvista-cli@vX.Y.Z-alpha.N` works. Stable
72
+ releases reuse the PyPI tag directly.
62
73
 
63
74
  **Version scheme:** `0.1.0aN` (alpha) → `0.1.0bN` (beta) → `0.1.0rcN` (rc) → `0.1.0` (stable)