echoctl 0.1.3 → 0.2.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "echoctl",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Local-first AI conversation knowledge forum — capture, search, and annotate Claude Code sessions as Markdown articles with MCP server support",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"local-first",
|
|
13
13
|
"mcp",
|
|
14
14
|
"claude-code",
|
|
15
|
-
"cli"
|
|
15
|
+
"cli",
|
|
16
|
+
"vitepress"
|
|
16
17
|
],
|
|
17
18
|
"engines": {
|
|
18
19
|
"node": ">=18.0.0"
|
|
@@ -29,12 +30,12 @@
|
|
|
29
30
|
"bin/",
|
|
30
31
|
"scripts/",
|
|
31
32
|
"docs/.vitepress/",
|
|
32
|
-
"docs/index.md"
|
|
33
|
-
"README.md",
|
|
34
|
-
"LICENSE"
|
|
33
|
+
"docs/index.md"
|
|
35
34
|
],
|
|
36
35
|
"scripts": {
|
|
37
|
-
"
|
|
36
|
+
"build": "npm run prepare && node -e \"require('./bin/echoctl.js')\" -- --version",
|
|
37
|
+
"prepack": "npm run build",
|
|
38
|
+
"prepublishOnly": "npm test",
|
|
38
39
|
"test": "node --test",
|
|
39
40
|
"verify": "npm run test && npm run validate && npm run resolve",
|
|
40
41
|
"validate": "node scripts/validate.js",
|
|
@@ -53,6 +54,10 @@
|
|
|
53
54
|
"serve": "node bin/echoctl.js serve",
|
|
54
55
|
"prepare": "mkdir -p bin && printf '#!/usr/bin/env node\\nrequire(\"../scripts/cli/echoctl.js\");\\n' > bin/echoctl.js && chmod +x bin/echoctl.js"
|
|
55
56
|
},
|
|
57
|
+
"publishConfig": {
|
|
58
|
+
"access": "public",
|
|
59
|
+
"registry": "https://registry.npmjs.org/"
|
|
60
|
+
},
|
|
56
61
|
"bin": {
|
|
57
62
|
"echoctl": "./bin/echoctl.js",
|
|
58
63
|
"echo-mcp": "./bin/echoctl.js"
|
|
@@ -208,7 +208,7 @@ function toEchoArticle(turns, metadata, opts = {}) {
|
|
|
208
208
|
lines.push("source:");
|
|
209
209
|
lines.push(` session_id: "${sessionId || ""}"`);
|
|
210
210
|
lines.push(` source_file_hash: "${sourceHash}"`);
|
|
211
|
-
lines.push(` imported_at: "${new Date().toISOString()}"`);
|
|
211
|
+
lines.push(` imported_at: "${opts.importedAt || new Date().toISOString()}"`);
|
|
212
212
|
|
|
213
213
|
if (opts.project) lines.push(`project: ${opts.project}`);
|
|
214
214
|
|