@vishal2612200/agentpack 0.3.4 → 0.3.5

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 CHANGED
@@ -25,7 +25,7 @@ AgentPack is a context preparation tool, not a coding agent. It stays local, det
25
25
  - **Budget-aware compression**: emits `full`, `diff`, `symbols`, `skeleton`, or `summary` views instead of all-or-nothing file dumps.
26
26
  - **Local code intelligence**: extracts roles, domains, entrypoints, definitions, dependencies, env reads, side effects, and external systems using static analysis.
27
27
  - **Agent integrations**: installs Claude Code, Cursor, Windsurf, Codex, Antigravity, VS Code tasks, git hooks, and MCP configuration.
28
- - **Freshness and deltas**: records task source, git state, snapshot hashes, selected-file deltas, and stale-context warnings.
28
+ - **Freshness and deltas**: records task source, git state, snapshot hashes, selected-file deltas, stale-context warnings, MCP task/repo auto-refresh signals, and a machine-readable `agentpack:freshness` block in markdown fallback artifacts.
29
29
  - **Measurable quality**: benchmark expected-file recall, token efficiency, misses, and public smoke suites.
30
30
 
31
31
  ## What this npm package is
@@ -109,7 +109,7 @@ AgentPack is best treated as a ranked starting map. It should reduce repeated or
109
109
  | Pack time | Seconds on a warm cache; first summarize pass is slower |
110
110
  | Recall | Expected files appear near the top; validate with `agentpack benchmark --misses` |
111
111
  | Precision | Good enough to reduce exploration; summaries and repo maps may still include noise |
112
- | Freshness | Stale packs are clearly marked by task, git, and snapshot checks |
112
+ | Freshness | Task or repo-stale MCP reads auto-refresh; static packs are clearly marked by task, git, and snapshot checks |
113
113
 
114
114
  Use real repo evals instead of trusting compression numbers:
115
115
 
@@ -132,12 +132,20 @@ agentpack stats
132
132
 
133
133
  ```bash
134
134
  agentpack status
135
+ agentpack guard --agent auto --repair-stale --refresh-context
136
+ agentpack migrate --path ~/src --discover --agent all
135
137
  agentpack doctor --agent all
136
138
  agentpack explain --file path/to/file.py
137
139
  agentpack benchmark --sample-fixtures --misses
138
140
  agentpack repair --agent all
139
141
  ```
140
142
 
143
+ `agentpack guard` is the executable pre-edit gate for non-MCP agents. It checks stale context, stale task metadata, repo snapshot drift, and stale installed rule files; with `--repair-stale --refresh-context`, it repairs and refreshes before returning success. `agentpack pack` also self-heals stale AgentPack rule blocks for older installs that still call `pack`.
144
+
145
+ `agentpack migrate --discover` scans existing repo folders and applies the same integration repair across many repos after an upgrade.
146
+
147
+ Native host enforcement skeletons and blocked-status stubs live in `native-integrations/` in the source repo. They are marked `guarded`, not `enforced`, until host APIs expose mandatory pre-edit/pre-tool hooks.
148
+
141
149
  ## Optional watch and MCP workflows
142
150
 
143
151
  The `watch` and `mcp` commands use optional Python dependencies. If you need those workflows today, add the Python extras to a `pipx` install or use a virtual environment. Avoid global `pip3 install` on system-managed Python: many macOS/Linux distributions block it with PEP 668's `externally-managed-environment`.
package/bin/agentpack.js CHANGED
@@ -6,7 +6,7 @@ const fs = require("node:fs");
6
6
  const os = require("node:os");
7
7
  const path = require("node:path");
8
8
 
9
- const PACKAGE_VERSION = "0.3.4";
9
+ const PACKAGE_VERSION = "0.3.5";
10
10
  const PYPI_PACKAGE = `agentpack-cli==${PACKAGE_VERSION}`;
11
11
 
12
12
  function compareVersions(left, right) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vishal2612200/agentpack",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "npm launcher for the Python AgentPack CLI, a local context engine for AI coding agents that ranks relevant files and builds task-focused context packs.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/vishal2612200/agentpack#readme",