@mcptoolshop/loadout-os 1.0.1 → 1.0.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/CHANGELOG.md +11 -0
- package/dist/loadout-os.js +14 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
|
9
9
|
> history (workspace wiring, the runtime hook, the adapters), see the
|
|
10
10
|
> [root CHANGELOG](../../CHANGELOG.md).
|
|
11
11
|
|
|
12
|
+
## [1.0.2] - 2026-06-16
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- `refresh` no longer prints a stale closing note claiming "this scratch/CLI run … a LIVE
|
|
17
|
+
run … is deferred to a coordinator-supervised step" after it has already written the
|
|
18
|
+
live resolver index. The note is now contrastive and accurate: a default-dest run
|
|
19
|
+
confirms "the change is live now"; a custom `--dest` run states the live index the hook
|
|
20
|
+
reads was **not** modified. Behaviour was always correct — only the message was wrong.
|
|
21
|
+
Adds a `printRefresh` regression test asserting the stale phrasing is gone in both paths.
|
|
22
|
+
|
|
12
23
|
## [1.0.1] - 2026-06-16
|
|
13
24
|
|
|
14
25
|
### Fixed
|
package/dist/loadout-os.js
CHANGED
|
@@ -3040,6 +3040,11 @@ var DEFAULT_STORE = "C:/Users/mikey/.claude/projects/F--AI/memory";
|
|
|
3040
3040
|
function defaultDest() {
|
|
3041
3041
|
return join8(homedir4(), ".ai-loadout", "index.json");
|
|
3042
3042
|
}
|
|
3043
|
+
function sameResolvedPath(a, b) {
|
|
3044
|
+
const ra = resolve10(a);
|
|
3045
|
+
const rb = resolve10(b);
|
|
3046
|
+
return process.platform === "win32" ? ra.toLowerCase() === rb.toLowerCase() : ra === rb;
|
|
3047
|
+
}
|
|
3043
3048
|
var RefreshError = class extends Error {
|
|
3044
3049
|
code;
|
|
3045
3050
|
exitCode;
|
|
@@ -3207,9 +3212,15 @@ function printRefresh(r) {
|
|
|
3207
3212
|
}
|
|
3208
3213
|
}
|
|
3209
3214
|
log();
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3215
|
+
if (sameResolvedPath(r.dest, defaultDest())) {
|
|
3216
|
+
log(
|
|
3217
|
+
` ${DIM}This refreshed the LIVE global resolver index the UserPromptSubmit hook reads on every prompt \u2014 the change is live now.${RESET}`
|
|
3218
|
+
);
|
|
3219
|
+
} else {
|
|
3220
|
+
log(
|
|
3221
|
+
` ${DIM}Note: --dest is a custom path, not the live resolver index (${defaultDest()}) \u2014 the index the hook reads was NOT modified. Re-run without --dest to refresh the live one.${RESET}`
|
|
3222
|
+
);
|
|
3223
|
+
}
|
|
3213
3224
|
log();
|
|
3214
3225
|
}
|
|
3215
3226
|
function printRefreshAndon(issues) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcptoolshop/loadout-os",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Unified Knowledge OS CLI — wraps ai-loadout (kernel) + claude-memories + claude-rules and absorbs the operational rituals (doctor, report, refresh) into one loadout-os binary.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "mcp-tool-shop",
|