@ekkos/cli 1.4.0 → 1.4.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/dist/commands/run.js
CHANGED
|
@@ -1803,7 +1803,7 @@ async function run(options) {
|
|
|
1803
1803
|
// ══════════════════════════════════════════════════════════════════════════
|
|
1804
1804
|
// MAGIC MOMENT: Morning dreams right after sparkle, before Claude appears
|
|
1805
1805
|
// ══════════════════════════════════════════════════════════════════════════
|
|
1806
|
-
if (!suppressPreClaudeOutput
|
|
1806
|
+
if (!suppressPreClaudeOutput) {
|
|
1807
1807
|
await showMorningDreamsIfNeeded();
|
|
1808
1808
|
}
|
|
1809
1809
|
// ══════════════════════════════════════════════════════════════════════════
|
|
@@ -63,7 +63,7 @@ const AUTOGENERATED_START = 'EKKOS_AUTOGENERATED_START';
|
|
|
63
63
|
const AUTOGENERATED_END = 'EKKOS_AUTOGENERATED_END';
|
|
64
64
|
const DREAM_QUARANTINE_START = 'EKKOS_DREAM_QUARANTINE_START';
|
|
65
65
|
const DREAM_QUARANTINE_END = 'EKKOS_DREAM_QUARANTINE_END';
|
|
66
|
-
const TOKEN_BUDGET_CHARS =
|
|
66
|
+
const TOKEN_BUDGET_CHARS = 12000; // ~3000 tokens
|
|
67
67
|
const STALENESS_DAYS = 30;
|
|
68
68
|
// ── Frontmatter Parser ──────────────────────────────────────────────────
|
|
69
69
|
function parseFrontmatter(content) {
|
|
@@ -1070,6 +1070,12 @@ class LocalLivingDocsManager {
|
|
|
1070
1070
|
}
|
|
1071
1071
|
const result = patched + body;
|
|
1072
1072
|
const finalResult = lineEnding === '\r\n' ? result.replace(/\r\n/g, '\n').replace(/\n/g, '\r\n') : result;
|
|
1073
|
+
// Skip write if the only change is last_compiled_at timestamp — prevents git noise
|
|
1074
|
+
// Compare by stripping the timestamp lines from both old and new
|
|
1075
|
+
const stripTimestamps = (s) => s.replace(/^last_compiled_at: .+$/m, '').replace(/^compiled_timezone: .+$/m, '');
|
|
1076
|
+
if (stripTimestamps(existing) === stripTimestamps(finalResult)) {
|
|
1077
|
+
return; // Nothing meaningful changed — don't touch the file
|
|
1078
|
+
}
|
|
1073
1079
|
// Atomic write
|
|
1074
1080
|
const tmpPath = (0, path_1.join)((0, path_1.dirname)(contextPath), `.ekkOS_CONTEXT.md.${process.pid}.tmp`);
|
|
1075
1081
|
(0, fs_1.writeFileSync)(tmpPath, finalResult, 'utf-8');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ekkos/cli",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "ekkOS memory CLI — persistent memory for AI coding assistants (Claude Code, Gemini, Cursor, Windsurf)",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -17,6 +17,13 @@
|
|
|
17
17
|
"bugs": {
|
|
18
18
|
"url": "https://github.com/Ekkos-Technologies-Inc/ekkos/issues"
|
|
19
19
|
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsc",
|
|
22
|
+
"dev": "tsx src/index.ts",
|
|
23
|
+
"prepack": "node scripts/build-templates.js prepack",
|
|
24
|
+
"postpack": "node scripts/build-templates.js postpack",
|
|
25
|
+
"prepublishOnly": "npm run build"
|
|
26
|
+
},
|
|
20
27
|
"keywords": [
|
|
21
28
|
"ekkos",
|
|
22
29
|
"ai",
|
|
@@ -62,9 +69,5 @@
|
|
|
62
69
|
"templates/skills",
|
|
63
70
|
"templates/agents",
|
|
64
71
|
"templates/commands"
|
|
65
|
-
]
|
|
66
|
-
|
|
67
|
-
"build": "tsc",
|
|
68
|
-
"dev": "tsx src/index.ts"
|
|
69
|
-
}
|
|
70
|
-
}
|
|
72
|
+
]
|
|
73
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 ekkOS
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|