@xelth/eck-snapshot 2.2.0 → 4.0.0
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/LICENSE +21 -0
- package/README.md +119 -225
- package/index.js +14 -776
- package/package.json +25 -7
- package/setup.json +805 -0
- package/src/cli/cli.js +427 -0
- package/src/cli/commands/askGpt.js +29 -0
- package/src/cli/commands/autoDocs.js +150 -0
- package/src/cli/commands/consilium.js +86 -0
- package/src/cli/commands/createSnapshot.js +601 -0
- package/src/cli/commands/detectProfiles.js +98 -0
- package/src/cli/commands/detectProject.js +112 -0
- package/src/cli/commands/generateProfileGuide.js +91 -0
- package/src/cli/commands/pruneSnapshot.js +106 -0
- package/src/cli/commands/restoreSnapshot.js +173 -0
- package/src/cli/commands/setupGemini.js +149 -0
- package/src/cli/commands/setupGemini.test.js +115 -0
- package/src/cli/commands/trainTokens.js +38 -0
- package/src/config.js +81 -0
- package/src/services/authService.js +20 -0
- package/src/services/claudeCliService.js +621 -0
- package/src/services/claudeCliService.test.js +267 -0
- package/src/services/dispatcherService.js +33 -0
- package/src/services/gptService.js +302 -0
- package/src/services/gptService.test.js +120 -0
- package/src/templates/agent-prompt.template.md +29 -0
- package/src/templates/architect-prompt.template.md +50 -0
- package/src/templates/envScanRequest.md +4 -0
- package/src/templates/gitWorkflow.md +32 -0
- package/src/templates/multiAgent.md +164 -0
- package/src/templates/vectorMode.md +22 -0
- package/src/utils/aiHeader.js +303 -0
- package/src/utils/fileUtils.js +928 -0
- package/src/utils/projectDetector.js +704 -0
- package/src/utils/tokenEstimator.js +198 -0
- package/.ecksnapshot.config.js +0 -35
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xelth/eck-snapshot",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "A CLI tool to create and restore single-file text snapshots of
|
|
3
|
+
"version": "4.0.0",
|
|
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",
|
|
7
7
|
"bin": {
|
|
@@ -11,10 +11,16 @@
|
|
|
11
11
|
"index.js",
|
|
12
12
|
".ecksnapshot.config.js",
|
|
13
13
|
"README.md",
|
|
14
|
-
"LICENSE"
|
|
14
|
+
"LICENSE",
|
|
15
|
+
"src/",
|
|
16
|
+
"setup.json"
|
|
15
17
|
],
|
|
16
18
|
"scripts": {
|
|
17
|
-
"test": "
|
|
19
|
+
"test": "vitest",
|
|
20
|
+
"test:ui": "vitest --ui",
|
|
21
|
+
"test:run": "vitest run",
|
|
22
|
+
"docs:auto": "node index.js docs-auto",
|
|
23
|
+
"test:gpt": "vitest src/services/gptService.test.js"
|
|
18
24
|
},
|
|
19
25
|
"author": "xelth-com",
|
|
20
26
|
"license": "MIT",
|
|
@@ -23,12 +29,24 @@
|
|
|
23
29
|
"url": "https://github.com/xelth-com/eckSnapshot.git"
|
|
24
30
|
},
|
|
25
31
|
"dependencies": {
|
|
32
|
+
"@babel/parser": "^7.25.6",
|
|
33
|
+
"@babel/traverse": "^7.25.6",
|
|
34
|
+
"chalk": "^5.3.0",
|
|
35
|
+
"cli-progress": "^3.12.0",
|
|
26
36
|
"commander": "^12.1.0",
|
|
37
|
+
"dotenv": "^16.6.1",
|
|
27
38
|
"execa": "^8.0.1",
|
|
28
|
-
"is-binary-path": "^2.1.0",
|
|
29
39
|
"ignore": "^5.3.1",
|
|
30
|
-
"
|
|
40
|
+
"inquirer": "^9.2.20",
|
|
41
|
+
"is-binary-path": "^2.1.0",
|
|
42
|
+
"micromatch": "^4.0.8",
|
|
43
|
+
"ora": "^8.1.0",
|
|
31
44
|
"p-limit": "^5.0.0",
|
|
32
|
-
"
|
|
45
|
+
"p-retry": "^6.2.1",
|
|
46
|
+
"which": "^4.0.0"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"jsdom": "^24.0.0",
|
|
50
|
+
"vitest": "^2.0.0"
|
|
33
51
|
}
|
|
34
52
|
}
|