@xelth/eck-snapshot 6.0.3 → 6.0.4

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
@@ -2,35 +2,34 @@
2
2
 
3
3
  A specialized, AI-native CLI tool designed to create and restore single-file text snapshots of Git repositories. Optimized for providing full project context to Large Language Models (LLMs) and serving as the coordination hub for AI Coders.
4
4
 
5
- ## 🎯 The Battle-Tested Workflow (Author's Note)
5
+ ## 🎯 The Battle-Tested Workflow & Quick Start
6
6
 
7
- I personally use this tool daily with both **Claude Code** and **OpenCode**. My reliable, heavily-tested workflow is:
7
+ I personally use this tool daily with local AI coding agents (**Claude Code** using Claude, and **OpenCode** using GLM). My reliable, heavily-tested workflow is:
8
8
 
9
- 1. **Full Snapshots:** I take a full snapshot (`eck-snapshot snapshot`) and feed it to a powerful Web LLM (Senior Architect like Gemini 1.5 Pro or Grok 3).
10
- 2. **Context Profiles:** If the project is huge, I use context profiles (`--profile frontend`) to slice it into manageable pieces.
11
- 3. **Direct Execution:** I write code directly using the Senior Architect's guidance and execute tasks via local Coders (Claude/OpenCode).
12
- 4. **Incremental Updates:** After changes are made, I use delta updates (`eck-snapshot update`) to keep the Architect's context perfectly synced without resending the whole repo.
13
-
14
- This core loop is highly polished, actively maintained, and works exceptionally well.
15
-
16
- ## 🚀 Quick Start
17
-
18
- ### Installation
9
+ ### 1. Installation
19
10
  ```bash
20
11
  npm install -g @xelth/eck-snapshot
21
12
  ```
22
13
 
23
- ### Basic Usage
14
+ ### 2. Initial Context (Full Snapshots)
15
+ Take a full snapshot and feed it to a powerful Web LLM (Senior Architect like **Gemini** or **Grok**). *(Note: **ChatGPT** also works, but you MUST paste the specific prompt provided at the end of the snapshot output as your first prompt).*
24
16
  ```bash
25
- # 1. Create a standard full snapshot (Core Workflow)
26
17
  eck-snapshot snapshot
18
+ ```
19
+ *(For massive monorepos, slice the context using profiles: `eck-snapshot snapshot --profile frontend`)*
20
+
21
+ ### 3. Direct Execution
22
+ Pass the Architect's technical plan to your local Coder agent (Claude Code / OpenCode). The Coder will implement the changes directly in your repository.
27
23
 
28
- # 2. Use profiles for large monorepos
29
- eck-snapshot snapshot --profile backend
24
+ ### 4. Auto-Updates vs Manual Updates
25
+ When the Coder agent finishes a task, it automatically calls the built-in MCP tool (`eck_finish_task`), which commits the code and automatically generates an incremental delta update snapshot.
30
26
 
31
- # 3. Create an incremental update (only changed/deleted files)
27
+ **Optional Manual Update:**
28
+ If you make manual changes yourself (without the agent), use this command to create a delta snapshot to sync your Web AI:
29
+ ```bash
32
30
  eck-snapshot update
33
31
  ```
32
+ This core loop is highly polished, actively maintained, and works exceptionally well.
34
33
 
35
34
  ## 🌟 Core Features
36
35
 
@@ -45,7 +44,7 @@ eck-snapshot update
45
44
 
46
45
  *The following features are included in the tool, but I am not actively using them in my daily workflow right now. They are available for power users, but might have edge cases. If you use them and find issues, please open an issue on GitHub, or better yet, try fixing it yourself (you have the ultimate AI coding tool in your hands now!)*
47
46
 
48
- * **🧠 Multi-Agent Protocol (Royal Court):** Built-in support for delegating tasks from a Senior Architect to Junior Managers (`--jas`, `--jao`, `--jaz`), who orchestrate a swarm of specialized GLM-4.7 workers via MCP.
47
+ * **🧠 Multi-Agent Protocol (Royal Court):** Built-in support for delegating tasks from a Senior Architect to Junior Managers (`--jas`, `--jao`, `--jaz`), who orchestrate a swarm of specialized GLM workers via MCP.
49
48
  * **☠️ Skeleton Mode:** Uses `Tree-sitter` and `Babel` to strip function bodies (`--skeleton`), drastically reducing token count.
50
49
  * **📊 Telemetry Hub:** Integrated with a Rust-based microservice for tracking agent execution metrics and auto-syncing token estimation weights.
51
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xelth/eck-snapshot",
3
- "version": "6.0.3",
3
+ "version": "6.0.4",
4
4
  "description": "A powerful CLI tool to create and restore single-file text snapshots of Git repositories. Optimized for AI context, LLM workflows, and multi-agent Swarm coordination.",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/src/cli/cli.js CHANGED
@@ -116,8 +116,8 @@ export function run() {
116
116
  (For very large projects, use profiles: $ eck-snapshot --profile backend)
117
117
 
118
118
  2. Working & Updating
119
- As you or your local coders (Claude/OpenCode) apply changes, the Web AI loses context.
120
- Instead of re-sending the full repo, send only what changed.
119
+ Local coders (Claude Code / OpenCode) will automatically sync context using MCP tools when they finish a task.
120
+ If YOU make manual changes, send an incremental update to the Web AI:
121
121
 
122
122
  $ eck-snapshot update
123
123
  -> Generates: .eck/snapshots/update_<timestamp>.md (Contains changed/deleted files)