@vodmal/vdx-cli 0.35.0 → 0.37.0
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.
- package/README.md +11 -3
- package/package.json +1 -1
- package/rubric/vdx-rubric.yaml +4 -3
- package/src/ai.ts +291 -46
- package/src/conversations.ts +11 -2
- package/src/doctor.ts +88 -5
- package/src/hosting.ts +28 -5
- package/src/index.ts +107 -11
- package/src/init.ts +1 -1
- package/src/memory.ts +367 -0
- package/src/publish.ts +11 -0
package/README.md
CHANGED
|
@@ -50,11 +50,15 @@ vdx push [project-path] [--dry-run] # default: cwd
|
|
|
50
50
|
|
|
51
51
|
# Environment self-check (Node / git / mise / npm auth / docker / Claude Code plugin; git hooks of the project; the GitHub token vdx asks with)
|
|
52
52
|
vdx doctor [project-path] [--format=ansi|markdown|json] # default: cwd
|
|
53
|
-
vdx doctor --check [project-path] # one line per hook declared but not running here
|
|
54
|
-
|
|
53
|
+
vdx doctor --check [project-path] # one line per hook declared but not running here, and one when the memory is
|
|
54
|
+
# not inside — the plugin's SessionStart hook tells the agent
|
|
55
|
+
vdx doctor --fix [project-path] # write the profile's personal hooks (git.hooks) into ~/.gitconfig, and put
|
|
56
|
+
# the project's Claude Code memory inside it: .claude/memory/ (after a
|
|
57
|
+
# folder move, its path and conversations follow)
|
|
55
58
|
|
|
56
59
|
# Start your agent in a project per your profile (~/.vdx-environment.yaml or $VDX_ENVIRONMENT)
|
|
57
|
-
vdx ai[@host] [project-path] [--new | --conversation <id>] [--focused] [--restart] [--detach] [--dry-run] # default: cwd; @host: over ssh, in tmux there
|
|
60
|
+
vdx ai[@host] [project-path] [--new | --conversation <id>] [--focused | --intercom] [--restart] [--detach] [--dry-run] # default: cwd; @host: over ssh, in tmux there; --intercom: the project's mail session
|
|
61
|
+
vdx ai --close [--waiting <n>] # inside the mail session: it ends itself; n questions to you still unanswered show on the project's other tmux sessions
|
|
58
62
|
vdx ai --check [project-path] # this session against the profile and the installed Claude Code and plugins — what the plugin's SessionStart hook tells the agent
|
|
59
63
|
|
|
60
64
|
# What a command does and takes; nothing runs (ai: also where launch flags live)
|
|
@@ -79,6 +83,7 @@ vdx test # → mise run test (which calls `vitest run` or whatever wa
|
|
|
79
83
|
|
|
80
84
|
# 3. Ship a new minor release of a Node lib
|
|
81
85
|
vdx publish minor # npm login if expired → bump package.json + lock → npm publish (OTP or browser) → commit + tag → push → wait for the registry
|
|
86
|
+
# in your own terminal: without one it releases nothing (--force goes on)
|
|
82
87
|
|
|
83
88
|
# 4. Start the agent here, continuing its last conversation (--new: a new one,
|
|
84
89
|
# next to a running agent; another machine's conversation is continued on
|
|
@@ -143,6 +148,9 @@ the one git keeps for that host (`git credential fill`, never a prompt — log i
|
|
|
143
148
|
once with `git ls-remote https://<host>/scm/<project>/<repo>.git`, a personal
|
|
144
149
|
access token as the password), or `BITBUCKET_TOKEN` when the host is
|
|
145
150
|
`BITBUCKET_HOST`. Branch restrictions are visible to a repository admin only.
|
|
151
|
+
A login the server refuses (a revoked token) is unknown with the command that
|
|
152
|
+
erases it: vdx leaves git's store alone, and sends the login again each audit
|
|
153
|
+
until it is gone.
|
|
146
154
|
Not met comes with the reason; another hosting, no network or no token
|
|
147
155
|
where one is needed leave the axis unknown, with the reason too;
|
|
148
156
|
`VDX_OFFLINE=1` does not ask at all.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vodmal/vdx-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.0",
|
|
4
4
|
"description": "vdx — unified lifecycle interface (up/down/build/test/check/fix) + versioned maturity audit with drift detection. Pairs with the vdx Claude Code plugin.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vdx",
|
package/rubric/vdx-rubric.yaml
CHANGED
|
@@ -11,7 +11,7 @@ schema_version: "0.3"
|
|
|
11
11
|
|
|
12
12
|
metadata:
|
|
13
13
|
name: vdx-rubric-vodmal
|
|
14
|
-
version: "1.
|
|
14
|
+
version: "1.7.0"
|
|
15
15
|
description: "Personal maturity rubric for multi-stack projects (vodmal)"
|
|
16
16
|
owner: vodmal
|
|
17
17
|
homepage: "https://github.com/vodmal/vdx-rubric"
|
|
@@ -260,8 +260,9 @@ axes:
|
|
|
260
260
|
default_target: L4
|
|
261
261
|
fact_sources: [hosting API]
|
|
262
262
|
# Гейт — свойство L3 общей лестницы; ниже ось ничего не требует и уровень
|
|
263
|
-
# не ограничивает. Знает о защите только хостинг:
|
|
264
|
-
#
|
|
263
|
+
# не ограничивает. Знает о защите только хостинг: vdx спрашивает GitHub
|
|
264
|
+
# (с CLI 0.29), GitLab (0.33) и Bitbucket Server (0.34), у другого хостинга
|
|
265
|
+
# L3 — «неизвестно» с причиной. L4 — позже: force-push, удаление ветки,
|
|
265
266
|
# ревью (как Branch-Protection у Scorecard).
|
|
266
267
|
levels:
|
|
267
268
|
L1: { not_required: true }
|