@xelth/eck-snapshot 4.4.0 → 5.0.1
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.
Potentially problematic release.
This version of @xelth/eck-snapshot might be problematic. Click here for more details.
- package/README.md +19 -1
- package/package.json +3 -1
- package/setup.json +42 -6
- package/src/cli/cli.js +2 -2
- package/src/cli/commands/setupGemini.js +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
# eckSnapshot
|
|
2
|
+
# eckSnapshot (v5.0.0)
|
|
3
3
|
|
|
4
4
|
A lightweight, platform-independent CLI for creating focused, AI-ready project snapshots.
|
|
5
5
|
|
|
@@ -7,6 +7,24 @@ A lightweight, platform-independent CLI for creating focused, AI-ready project s
|
|
|
7
7
|
|
|
8
8
|
This tool is built for a modern workflow where you act as the architect, guiding the overall strategy, while AI agents handle the detailed implementation.
|
|
9
9
|
|
|
10
|
+
## 🤖 MiniMax M2.1 Integration
|
|
11
|
+
|
|
12
|
+
eckSnapshot supports **two ways** to integrate with MiniMax M2.1, a cost-effective AI model with a huge context window:
|
|
13
|
+
|
|
14
|
+
### Method 1: Supervisor-Worker Mode (Hybrid)
|
|
15
|
+
Claude Code acts as the Supervisor, delegating heavy tasks to MiniMax via MCP. Best for interactive development.
|
|
16
|
+
- **Setup:** [Hybrid Mode Guide](./MINIMAX_INTEGRATION.md#method-1-supervisor-worker-mode-hybrid-architecture)
|
|
17
|
+
- **Cost:** Moderate (Claude + MiniMax)
|
|
18
|
+
- **Complexity:** Requires MCP setup
|
|
19
|
+
|
|
20
|
+
### Method 2: Standalone Mode
|
|
21
|
+
Use MiniMax directly as your primary AI assistant. Best for batch processing and bulk refactoring.
|
|
22
|
+
- **Setup:** [Standalone Guide](./MINIMAX_INTEGRATION.md#method-2-standalone-mode-direct-minimax-usage)
|
|
23
|
+
- **Cost:** Low (MiniMax only)
|
|
24
|
+
- **Complexity:** Simple shell alias
|
|
25
|
+
|
|
26
|
+
👉 **[Read the Full Integration Guide](./MINIMAX_INTEGRATION.md)** for detailed setup instructions and comparison.
|
|
27
|
+
|
|
10
28
|
## The Core Workflow
|
|
11
29
|
|
|
12
30
|
`eckSnapshot` is designed to support a two-part AI workflow for maximum efficiency and quality:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xelth/eck-snapshot",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "A powerful CLI tool to create and restore single-file text snapshots of Git repositories and directories. Optimized for AI context and LLM workflows.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -28,6 +28,8 @@
|
|
|
28
28
|
"url": "https://github.com/xelth-com/eckSnapshot.git"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
+
"@anthropic-ai/sdk": "^0.33.1",
|
|
32
|
+
"@modelcontextprotocol/sdk": "^1.0.1",
|
|
31
33
|
"@babel/generator": "^7.25.6",
|
|
32
34
|
"@babel/parser": "^7.25.6",
|
|
33
35
|
"@babel/traverse": "^7.25.6",
|
package/setup.json
CHANGED
|
@@ -569,8 +569,8 @@
|
|
|
569
569
|
"executionAgents": {
|
|
570
570
|
"local_dev": {
|
|
571
571
|
"active": true,
|
|
572
|
-
"name": "Local Development Agent (
|
|
573
|
-
"description": "
|
|
572
|
+
"name": "Local Development Agent (Sonnet 4.5)",
|
|
573
|
+
"description": "Primary interactive agent running on Claude Sonnet 4.5. Acts as the Team Lead.",
|
|
574
574
|
"guiSupport": true,
|
|
575
575
|
"identification": {
|
|
576
576
|
"markers": [
|
|
@@ -716,6 +716,25 @@
|
|
|
716
716
|
"Runs only in native Windows",
|
|
717
717
|
"Cannot access WSL-only tools like claude"
|
|
718
718
|
]
|
|
719
|
+
},
|
|
720
|
+
"minimax_worker": {
|
|
721
|
+
"active": true,
|
|
722
|
+
"name": "MiniMax M2.1 Worker (MCP)",
|
|
723
|
+
"description": "Heavy lifter for bulk coding. Behavior controlled by delegationStrategy.",
|
|
724
|
+
"guiSupport": false,
|
|
725
|
+
"identification": {
|
|
726
|
+
"markers": ["minimax", "delegate_coding_task"]
|
|
727
|
+
},
|
|
728
|
+
"capabilities": [
|
|
729
|
+
"read large files internally",
|
|
730
|
+
"generate massive code blocks",
|
|
731
|
+
"refactor huge modules",
|
|
732
|
+
"analyze project structure"
|
|
733
|
+
],
|
|
734
|
+
"restrictions": [
|
|
735
|
+
"Cannot execute system commands directly (delegates back to Sonnet)",
|
|
736
|
+
"Requires MINIMAX_API_KEY"
|
|
737
|
+
]
|
|
719
738
|
}
|
|
720
739
|
},
|
|
721
740
|
"browserAutomation": {
|
|
@@ -736,6 +755,23 @@
|
|
|
736
755
|
"MUST NOT use 'eck-snapshot ask-claude' wrapper for these tasks"
|
|
737
756
|
]
|
|
738
757
|
},
|
|
758
|
+
"delegationStrategy": {
|
|
759
|
+
"currentMode": "balanced",
|
|
760
|
+
"modes": {
|
|
761
|
+
"aggressive": {
|
|
762
|
+
"description": "Maximize token savings. Delegate ALL file reading and coding > 50 lines.",
|
|
763
|
+
"threshold_lines": 50
|
|
764
|
+
},
|
|
765
|
+
"balanced": {
|
|
766
|
+
"description": "Default. Delegate full file refactoring and massive generation. Read small files directly.",
|
|
767
|
+
"threshold_lines": 200
|
|
768
|
+
},
|
|
769
|
+
"precise": {
|
|
770
|
+
"description": "Maximize quality. Use Sonnet 4.5 for logic, MiniMax only for boilerplate/docs.",
|
|
771
|
+
"threshold_lines": 1000
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
},
|
|
739
775
|
"header": {
|
|
740
776
|
"defaultEnabled": true,
|
|
741
777
|
"_comment": "Controls whether AI instruction headers are included by default in snapshots"
|
|
@@ -772,12 +808,12 @@
|
|
|
772
808
|
"defaultMembers": {
|
|
773
809
|
"architect": {
|
|
774
810
|
"active": true,
|
|
775
|
-
"modelName": "
|
|
811
|
+
"modelName": "Opus 4.5",
|
|
776
812
|
"role": "System Architecture",
|
|
777
813
|
"strengths": [
|
|
778
|
-
"
|
|
779
|
-
"
|
|
780
|
-
"
|
|
814
|
+
"Complex Reasoning",
|
|
815
|
+
"System Design",
|
|
816
|
+
"Critical Decisions"
|
|
781
817
|
]
|
|
782
818
|
},
|
|
783
819
|
"database_expert": {
|
package/src/cli/cli.js
CHANGED
|
@@ -64,7 +64,7 @@ async function checkCodeBoundaries(filePath, agentId) {
|
|
|
64
64
|
export function run() {
|
|
65
65
|
const program = new Command();
|
|
66
66
|
|
|
67
|
-
const helpGuide = `eck-snapshot (
|
|
67
|
+
const helpGuide = `eck-snapshot (v5.0.0) - AI-Native Repository Context Tool.
|
|
68
68
|
|
|
69
69
|
--- 🚀 Core Workflow: Optimized for Web LLMs (Gemini/ChatGPT) ---
|
|
70
70
|
|
|
@@ -118,7 +118,7 @@ Option C: Using Profiles
|
|
|
118
118
|
program
|
|
119
119
|
.name('eck-snapshot')
|
|
120
120
|
.description('A lightweight, platform-independent CLI for creating project snapshots.')
|
|
121
|
-
.version('
|
|
121
|
+
.version('5.0.0')
|
|
122
122
|
.addHelpText('before', helpGuide);
|
|
123
123
|
|
|
124
124
|
// Main snapshot command
|
|
@@ -134,7 +134,7 @@ args = ["${indexJsPath}", "ask-claude"]
|
|
|
134
134
|
# gemini-cli claude "Generate a project overview"
|
|
135
135
|
|
|
136
136
|
[claude.metadata]
|
|
137
|
-
version = "
|
|
137
|
+
version = "5.0.0"
|
|
138
138
|
author = "eck-snapshot"
|
|
139
139
|
generated_at = "${new Date().toISOString()}"
|
|
140
140
|
platform = "${process.platform}"
|