xtrm-tools 0.5.36 → 0.5.38

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xtrm-tools",
3
- "version": "0.5.36",
3
+ "version": "0.5.38",
4
4
  "description": "xtrm-tools: dual-runtime workflow enforcement (Claude Code + Pi) — hooks, extensions, skills, and MCP servers",
5
5
  "author": {
6
6
  "name": "jaggers"
package/CHANGELOG.md CHANGED
@@ -11,7 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
 
12
12
  ### Added
13
13
  - gitnexus hook now fires on Grep/Read/Glob tools (parity with Pi); quality-check covers .cjs/.mjs files; quality gate env pre-check at SessionStart; policies.md rewritten from scaffold; using-xtrm SKILL.md rewritten; worktree-session migrated to bd worktree; branch state + xt end reminders in gate messages
14
+ - `xtrm docs cross-check` command suite documentation across README, guides, CLI help, and detailed docs reference
14
15
 
16
+ - **pi-serena-compact**: Pi extension that compacts verbose output from Serena/GitNexus MCP tools (6 lines default, 12 for read_file/shell commands, respects expanded view toggle)
15
17
  ### Changed
16
18
  - v0.5.26 docs sync and Pi parity updates: quality gates, beads/session-flow lifecycle, using-xtrm loader parity, and policy-path normalization
17
19
  - Pi installer parity: `xt pi setup` now matches `xt pi install/reload` for extension deployment; managed extensions use sync + auto-discovery and no longer use duplicate `pi install -l` registration
@@ -25,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
25
27
  - `skills/merge-prs/SKILL.md` and `specialists/merge-prs.specialist.yaml` for PR merge workflow
26
28
  - Release script now encodes `--tag latest` for npm publish
27
29
 
30
+ - **pi-serena-compact**: Pi extension that compacts verbose output from Serena/GitNexus MCP tools (6 lines default, 12 for read_file/shell commands, respects expanded view toggle)
28
31
  ### Changed
29
32
  - Detect default branch via `symbolic-ref` + master fallback, replaced 9 hardcoded `origin/main` references
30
33
  - Optimized Pi installer with pre-check and diff-based sync
@@ -43,6 +46,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
43
46
  - **`worktree-boundary.json`**: Policy for worktree boundary enforcement
44
47
  - **`statusline.mjs`**: Two-line status injection showing XTRM, model, branch, and claim state
45
48
 
49
+ - **pi-serena-compact**: Pi extension that compacts verbose output from Serena/GitNexus MCP tools (6 lines default, 12 for read_file/shell commands, respects expanded view toggle)
46
50
  ### Changed
47
51
  - **`beads-claim-sync.mjs`**: Now stages untracked files before auto-commit on `bd close`
48
52
  - **Statusline format**: XTRM bold prepended, no hardcoded colors (theme-adaptive), issue ID shown before title in claim line
@@ -73,6 +77,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
73
77
  - `xtrm pi install` now registers each extension via `pi install -l <path>` after copying
74
78
  - `diffPiExtensions` now compares extension directories using `sha256(package.json + index.ts)`
75
79
 
80
+ - **pi-serena-compact**: Pi extension that compacts verbose output from Serena/GitNexus MCP tools (6 lines default, 12 for read_file/shell commands, respects expanded view toggle)
76
81
  ### Changed
77
82
 
78
83
  - **`xtrm install all` / `basic`** now print a deprecation notice; primary entry point is `xtrm install`
@@ -118,6 +123,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
118
123
  - **`xtrm install project <tool-name>`**: Install project-specific skill package
119
124
  - **`xtrm install project list`**: List available project skills with descriptions
120
125
 
126
+ - **pi-serena-compact**: Pi extension that compacts verbose output from Serena/GitNexus MCP tools (6 lines default, 12 for read_file/shell commands, respects expanded view toggle)
121
127
  ### Changed
122
128
 
123
129
  #### CLI Rebranding
@@ -201,6 +207,7 @@ Automated hook translation is no longer supported. See README.md "Manual Setup f
201
207
  - **Env file management**: `~/.config/jaggers-agent-tools/.env` — auto-created on first sync, validates required env vars (e.g. `CONTEXT7_API_KEY`), preserves existing values.
202
208
  - **ConfigAdapter enhancements**: Qwen and Antigravity support added; `type` field auto-handled per agent; `EnvVarTransformer` extended for cross-agent compatibility.
203
209
 
210
+ - **pi-serena-compact**: Pi extension that compacts verbose output from Serena/GitNexus MCP tools (6 lines default, 12 for read_file/shell commands, respects expanded view toggle)
204
211
  ### Changed
205
212
 
206
213
  #### Sync Command — 3-Phase Rewrite
@@ -254,6 +261,7 @@ Automated hook translation is no longer supported. See README.md "Manual Setup f
254
261
  - **Stop hook**: `config/settings.json` wired with Stop hook → `drift_detector.py hook`; fires at session end, injects a one-line reminder only when stale memories detected (zero token cost when clean)
255
262
  - **23 tests**: `test_validate_metadata.py` (4) and `test_drift_detector.py` (8, including `**` glob regression tests) added to existing suite
256
263
 
264
+ - **pi-serena-compact**: Pi extension that compacts verbose output from Serena/GitNexus MCP tools (6 lines default, 12 for read_file/shell commands, respects expanded view toggle)
257
265
  ### Changed
258
266
  - **`validate_metadata.py`**: INDEX generation now unconditional (no longer blocked by schema validation errors)
259
267
  - **`SKILL.md` workflow**: Rewritten with drift-first 5-step protocol and decision table (new feature → SSOT, bug fix → changelog only, etc.)
@@ -292,6 +300,7 @@ Automated hook translation is no longer supported. See README.md "Manual Setup f
292
300
  - **Installer** (`install-service-skills.py`): single-purpose ~90-line script; copies trinity, merges settings.json hooks, activates git hooks; idempotent
293
301
  - **Phase 3 — Hook Registration**: new phase in `creating-service-skills` workflow verifies PreToolUse wiring, confirms territory globs in registry, communicates auto-activation to user
294
302
 
303
+ - **pi-serena-compact**: Pi extension that compacts verbose output from Serena/GitNexus MCP tools (6 lines default, 12 for read_file/shell commands, respects expanded view toggle)
295
304
  ### Changed
296
305
  - Project structure: moved into `project-skills/service-skills-set/` with `.claude/` subdirectory
297
306
  - `settings.json` PostToolUse hook moved to project-level (was only in skill frontmatter — now always-on)
@@ -344,6 +353,7 @@ Automated hook translation is no longer supported. See README.md "Manual Setup f
344
353
  - **Single Confirmation**: Collect all changesets, display full plan, ask once
345
354
  - **Drifted Items Feedback**: Report skipped drifted items post-sync with backport hint
346
355
 
356
+ - **pi-serena-compact**: Pi extension that compacts verbose output from Serena/GitNexus MCP tools (6 lines default, 12 for read_file/shell commands, respects expanded view toggle)
347
357
  ### Changed
348
358
 
349
359
  #### Safety Improvements
@@ -394,6 +404,7 @@ Automated hook translation is no longer supported. See README.md "Manual Setup f
394
404
  - `config-adapter.ts` uses `python` (not `python3`) on Windows for hook scripts
395
405
  - `sync-executor.ts` falls back from symlinks to copy on Windows with a user warning
396
406
 
407
+ - **pi-serena-compact**: Pi extension that compacts verbose output from Serena/GitNexus MCP tools (6 lines default, 12 for read_file/shell commands, respects expanded view toggle)
397
408
  ### Changed
398
409
  - `cli/package.json` `bin` and root `package.json` `bin` now point to `cli/dist/index.js` (compiled output)
399
410
  - `cli/package.json` `scripts` updated: `build` (tsup), `dev` (tsx), `typecheck` (tsc), `test` (vitest), `start` (node dist)
@@ -416,6 +427,7 @@ Automated hook translation is no longer supported. See README.md "Manual Setup f
416
427
  - Implement Vault Sync Architecture for non-destructive settings management. Protects local secrets, MCP servers, and auth data during sync. Includes atomic writes and dry-run mode.
417
428
  - **Architecture Roadmap**: Document CLI architectural improvements in ROADMAP.md based on multi-agent orchestration findings (Transactional Sync, Manifest Versioning, Namespace Prefixes, Observability).
418
429
 
430
+ - **pi-serena-compact**: Pi extension that compacts verbose output from Serena/GitNexus MCP tools (6 lines default, 12 for read_file/shell commands, respects expanded view toggle)
419
431
  ### Changed
420
432
  - **CLI Enhancement**: Automatically transforms `SKILL.md` into Gemini `.toml` command files during sync.
421
433
  - **Hook Migration**: Refined hook transformation logic for cross-agent compatibility.
@@ -448,6 +460,7 @@ Automated hook translation is no longer supported. See README.md "Manual Setup f
448
460
  - **Deprecated**: Fully replaced by `delegating` skill
449
461
  - **Removed**: `skills/ccs-delegation` directory deleted
450
462
 
463
+ - **pi-serena-compact**: Pi extension that compacts verbose output from Serena/GitNexus MCP tools (6 lines default, 12 for read_file/shell commands, respects expanded view toggle)
451
464
  ### Changed
452
465
 
453
466
  #### Skill Suggestions Hook
@@ -512,6 +525,7 @@ ln -s ~/.claude/skills/prompt-improving ~/.claude/skills/p
512
525
  - **AskUserQuestion dialogs** in `ccs-delegation` skill for interactive delegation choice
513
526
  - **AskUserQuestion clarification** in `p` skill for ambiguous prompts (<8 words)
514
527
 
528
+ - **pi-serena-compact**: Pi extension that compacts verbose output from Serena/GitNexus MCP tools (6 lines default, 12 for read_file/shell commands, respects expanded view toggle)
515
529
  ### Changed
516
530
 
517
531
  #### Skill `p` (Prompt Improver)
package/README.md CHANGED
@@ -41,9 +41,10 @@ Native integration with the [specialists](https://github.com/Jaggerxtrm/speciali
41
41
  | [docs/policies.md](docs/policies.md) | Policy system — compiler, schema, Claude/Pi parity |
42
42
  | [docs/skills.md](docs/skills.md) | Skills catalog — all skills, categories, how they load |
43
43
  | [docs/pi-extensions.md](docs/pi-extensions.md) | Pi extensions — managed sync, authoring, parity notes |
44
- | [docs/worktrees.md](docs/worktrees.md) | xt worktrees — `xt claude/pi`, `xt end`, isolation model |
44
+ | [docs/worktrees.md](docs/worktrees.md) | xt worktrees — `xt claude/pi`, `xt attach`, `xt end`, isolation model |
45
45
  | [docs/mcp-servers.md](docs/mcp-servers.md) | MCP servers — gitnexus, github-grep, deepwiki, official plugins |
46
46
  | [docs/cli-architecture.md](docs/cli-architecture.md) | CLI internals — install flow, diff/sync engine, config merge |
47
+ | [docs/docs-commands.md](docs/docs-commands.md) | Docs command suite — `show`, `list`, `cross-check`, output modes, drift checks |
47
48
  | [docs/project-skills.md](docs/project-skills.md) | Project-scoped skills — install, layout, Pi/Claude symlinks |
48
49
  | [docs/testing.md](docs/testing.md) | Live testing checklist — integration, gates, worktree flows |
49
50
  | [CHANGELOG.md](CHANGELOG.md) | Full version history |
@@ -171,16 +172,22 @@ xtrm <command> [options]
171
172
  | `init` | Initialize project (bd, gitnexus, service-registry) |
172
173
  | `status` | Read-only diff view |
173
174
  | `clean` | Remove orphaned hooks |
175
+ | `claude [name]` | Launch Claude Code in a sandboxed `xt/<name>` worktree |
176
+ | `pi [name]` | Launch Pi in a sandboxed `xt/<name>` worktree |
177
+ | `attach [slug]` | Re-attach to an existing worktree and resume the Claude or Pi session |
174
178
  | `end` | Close worktree session: rebase, push, PR, cleanup |
175
- | `worktree list` | List all active `xt/*` worktrees |
179
+ | `worktree list` | List active `xt/*` worktrees with runtime, last activity, and resume hint |
176
180
  | `worktree clean` | Remove merged worktrees |
177
- | `claude` | Launch Claude Code in a sandboxed worktree |
178
- | `pi` | Launch Pi in a sandboxed worktree |
181
+ | `docs` | Documentation inspection and drift-check suite (`xtrm docs --help`) |
179
182
  | `docs show` | Display frontmatter for README, CHANGELOG, docs/*.md |
183
+ | `docs list` | Inventory markdown docs with filters, summaries, and optional cache bypass |
184
+ | `docs cross-check` | Compare docs against recent PR activity and closed bd issues |
180
185
  | `debug` | Watch hook and bd lifecycle events in real time |
181
186
 
182
187
  **Flags:** `--yes / -y` (non-interactive), `--dry-run` (preview), `--prune` (force-replace hooks)
183
188
 
189
+ For detailed docs command usage, see [docs/docs-commands.md](docs/docs-commands.md) or run `xtrm docs --help` / `xtrm docs cross-check --help`.
190
+
184
191
  See [docs/cli-architecture.md](docs/cli-architecture.md) for internals.
185
192
 
186
193
  ---