agentpack-cli 0.1.12__tar.gz → 0.1.13__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.
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/PKG-INFO +1 -1
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/pyproject.toml +1 -1
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/__init__.py +1 -1
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/commands/watch.py +22 -1
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/.gitignore +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/LICENSE +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/README.md +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/adapters/__init__.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/adapters/antigravity.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/adapters/base.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/adapters/claude.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/adapters/codex.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/adapters/cursor.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/adapters/detect.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/adapters/generic.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/adapters/windsurf.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/analysis/__init__.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/analysis/dependency_graph.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/analysis/go_imports.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/analysis/java_imports.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/analysis/js_ts_imports.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/analysis/python_imports.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/analysis/ranking.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/analysis/rust_imports.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/analysis/symbols.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/analysis/tests.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/application/__init__.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/application/pack_service.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/cli.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/commands/__init__.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/commands/_shared.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/commands/benchmark.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/commands/claude_cmd.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/commands/diff.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/commands/doctor.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/commands/explain.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/commands/init.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/commands/install.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/commands/mcp_cmd.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/commands/monitor.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/commands/pack.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/commands/scan.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/commands/stats.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/commands/status.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/commands/summarize.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/core/__init__.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/core/bootstrap.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/core/cache.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/core/config.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/core/context_pack.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/core/diff.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/core/git.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/core/git_hooks.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/core/global_install.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/core/ignore.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/core/merkle.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/core/models.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/core/redactor.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/core/scanner.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/core/snapshot.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/core/token_estimator.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/core/vscode_tasks.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/data/agentpack.md +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/installers/__init__.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/installers/antigravity.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/installers/claude.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/installers/codex.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/installers/cursor.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/installers/windsurf.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/integrations/__init__.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/integrations/git_hooks.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/integrations/global_install.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/integrations/vscode_tasks.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/mcp_server.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/renderers/__init__.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/renderers/compact.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/renderers/markdown.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/renderers/receipts.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/session/__init__.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/session/state.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/summaries/__init__.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/summaries/base.py +0 -0
- {agentpack_cli-0.1.12 → agentpack_cli-0.1.13}/src/agentpack/summaries/offline.py +0 -0
|
@@ -19,6 +19,7 @@ _IGNORE_DIRS = {
|
|
|
19
19
|
".vscode", ".idea", ".fleet",
|
|
20
20
|
}
|
|
21
21
|
_IGNORE_NAMES = {"context.md", "context.compact.md"}
|
|
22
|
+
_IGNORE_SUFFIXES = {".tsbuildinfo"} # TypeScript incremental build artifacts
|
|
22
23
|
# Ignore all .agentpack/ generated files; task.md is the sole exception (user-edited, triggers refresh)
|
|
23
24
|
|
|
24
25
|
# Adapter output paths written outside .agentpack/ (e.g. antigravity writes .agent/skills/agentpack/SKILL.md).
|
|
@@ -81,6 +82,8 @@ def _should_ignore(path: str) -> bool:
|
|
|
81
82
|
name = Path(path).name
|
|
82
83
|
if name in _IGNORE_NAMES:
|
|
83
84
|
return True
|
|
85
|
+
if any(name.endswith(suf) for suf in _IGNORE_SUFFIXES):
|
|
86
|
+
return True
|
|
84
87
|
norm = path.replace("\\", "/")
|
|
85
88
|
# Ignore everything under .agentpack/ except task.md
|
|
86
89
|
if norm.startswith(".agentpack/") and norm != TASK_FILE:
|
|
@@ -139,7 +142,7 @@ def _watch_with_watchdog(
|
|
|
139
142
|
_run_refresh(root, agent, mode, budget)
|
|
140
143
|
|
|
141
144
|
class Handler(FileSystemEventHandler):
|
|
142
|
-
def
|
|
145
|
+
def _handle(self, event) -> None: # type: ignore[override]
|
|
143
146
|
if event.is_directory:
|
|
144
147
|
return
|
|
145
148
|
try:
|
|
@@ -152,6 +155,24 @@ def _watch_with_watchdog(
|
|
|
152
155
|
console.print(f"[dim][{_ts()}][/] task changed")
|
|
153
156
|
_pending[0] = True
|
|
154
157
|
|
|
158
|
+
# Only react to mutations — not reads (avoids inotify IN_ACCESS loop on Linux)
|
|
159
|
+
on_created = _handle
|
|
160
|
+
on_modified = _handle
|
|
161
|
+
on_deleted = _handle
|
|
162
|
+
|
|
163
|
+
def on_moved(self, event) -> None: # type: ignore[override]
|
|
164
|
+
if event.is_directory:
|
|
165
|
+
return
|
|
166
|
+
# Check both src (rename from) and dest (rename to)
|
|
167
|
+
for raw in (event.src_path, event.dest_path):
|
|
168
|
+
try:
|
|
169
|
+
path = str(Path(raw).relative_to(root))
|
|
170
|
+
except ValueError:
|
|
171
|
+
continue
|
|
172
|
+
if not _should_ignore(path):
|
|
173
|
+
_pending[0] = True
|
|
174
|
+
return
|
|
175
|
+
|
|
155
176
|
observer = Observer()
|
|
156
177
|
try:
|
|
157
178
|
observer.schedule(Handler(), str(root), recursive=True)
|
|
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
|
|
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
|
|
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
|