@eventmodelers/cli 0.0.38 → 0.0.39
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/RELEASE_NOTES.md +4 -0
- package/cli.js +15 -2
- package/package.json +3 -2
package/RELEASE_NOTES.md
ADDED
package/cli.js
CHANGED
|
@@ -1364,8 +1364,9 @@ program
|
|
|
1364
1364
|
// activate-context/set-slice-status are the same story minus even the credentials — they
|
|
1365
1365
|
// only ever read/write an already-fetched .slices/, and report their own hint (run `fetch`
|
|
1366
1366
|
// first) when that's missing. set-slice-status only touches credentials at all for --remote,
|
|
1367
|
-
// which prompts for them itself the same way fetch does.
|
|
1368
|
-
|
|
1367
|
+
// which prompts for them itself the same way fetch does. release-notes only reads the CLI's
|
|
1368
|
+
// own bundled RELEASE_NOTES.md, no project state involved at all.
|
|
1369
|
+
const NO_INIT_REQUIRED = new Set(['init', 'init-config', 'stacks', 'status', 'config', 'uninstall', 'fetch', 'activate-context', 'set-slice-status', 'release-notes']);
|
|
1369
1370
|
|
|
1370
1371
|
program.hook('preAction', (_thisCommand, actionCommand) => {
|
|
1371
1372
|
if (NO_INIT_REQUIRED.has(actionCommand.name())) return;
|
|
@@ -2201,6 +2202,18 @@ program
|
|
|
2201
2202
|
}
|
|
2202
2203
|
});
|
|
2203
2204
|
|
|
2205
|
+
program
|
|
2206
|
+
.command('release-notes')
|
|
2207
|
+
.description('Show the CLI release notes (what changed across recent versions)')
|
|
2208
|
+
.action(() => {
|
|
2209
|
+
const notesPath = join(__dirname, 'RELEASE_NOTES.md');
|
|
2210
|
+
if (!existsSync(notesPath)) {
|
|
2211
|
+
console.log('ℹ️ No release notes found.');
|
|
2212
|
+
return;
|
|
2213
|
+
}
|
|
2214
|
+
console.log(readFileSync(notesPath, 'utf8').trimEnd());
|
|
2215
|
+
});
|
|
2216
|
+
|
|
2204
2217
|
program
|
|
2205
2218
|
.command('config')
|
|
2206
2219
|
.description('Print the fully resolved config (merged across the directory hierarchy + EVENTMODELERS_* env vars), with the token masked')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eventmodelers/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.39",
|
|
4
4
|
"description": "Eventmodelers CLI — real-time Claude agent + skills for Claude Code, for any stack (Node, Supabase, Axon, Cratis, or modeling-only)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"lib",
|
|
12
12
|
"shared",
|
|
13
13
|
"stacks",
|
|
14
|
-
"README.md"
|
|
14
|
+
"README.md",
|
|
15
|
+
"RELEASE_NOTES.md"
|
|
15
16
|
],
|
|
16
17
|
"keywords": [
|
|
17
18
|
"claude",
|