dsh-loci 2.0.1 → 2.0.3
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 +23 -0
- package/package.json +2 -2
- package/scripts/cli.mjs +8 -0
- package/src/host/index.js +1 -1
- package/src/mcp/store-facade.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,29 @@ All notable changes to this project are documented here. The format follows
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/); the project follows
|
|
5
5
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html) from 1.0.0.
|
|
6
6
|
|
|
7
|
+
## [2.0.3] — 2026-11-14
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- `dsh-loci --version` (and `-v`, and the bare `version` word) prints the version.
|
|
12
|
+
It fell through to the help text before, because the version was only read for
|
|
13
|
+
the store's metadata and never wired to an argument. `test/unit/cli-version.test.mjs`
|
|
14
|
+
keeps it from regressing, including the "flag before command" position.
|
|
15
|
+
|
|
16
|
+
## [2.0.2] — 2026-11-14
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- The manifest gate now checks the `bin` entry: bare relative path, target exists,
|
|
21
|
+
shebang present, covered by `files`. No user-visible behaviour changed — measured
|
|
22
|
+
on the published builds, `bin` was already correct in both 2.0.0 and 2.0.1
|
|
23
|
+
(`node_modules/.bin/dsh-loci` is created and `npx dsh-loci help` works).
|
|
24
|
+
|
|
25
|
+
The reason for the guard: npm rewrites a bin path that starts with `./` and prints
|
|
26
|
+
`script name … was invalid and removed`, which reads like the binary was dropped.
|
|
27
|
+
It was not. The value is now canonical so that warning cannot hide a real problem
|
|
28
|
+
next time.
|
|
29
|
+
|
|
7
30
|
## [2.0.1] — 2026-11-14
|
|
8
31
|
|
|
9
32
|
### Changed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-loci",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "Layered long-term memory for DeepSeek Harness: the prompt sees only a stable index, full text is one lookup away. Bi-temporal facts, strict scope isolation, verified-only injection.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"./package.json": "./package.json"
|
|
34
34
|
},
|
|
35
35
|
"bin": {
|
|
36
|
-
"dsh-loci": "
|
|
36
|
+
"dsh-loci": "scripts/cli.mjs"
|
|
37
37
|
},
|
|
38
38
|
"files": [
|
|
39
39
|
"index.js",
|
package/scripts/cli.mjs
CHANGED
|
@@ -67,6 +67,14 @@ const COMMANDS = new Set([
|
|
|
67
67
|
const command = rawArgv.find((token) => COMMANDS.has(token)) ?? 'help';
|
|
68
68
|
// Keep the original token order for the flag readers below.
|
|
69
69
|
const argv = [command, ...rawArgv.filter((token) => token !== command)];
|
|
70
|
+
|
|
71
|
+
// `dsh-loci --version` is the first thing anyone types. It used to fall through
|
|
72
|
+
// to the help text, which looks like the version flag is unsupported rather than
|
|
73
|
+
// like the value was never wired up.
|
|
74
|
+
if (rawArgv.some((token) => token === '--version' || token === '-v' || token === 'version')) {
|
|
75
|
+
console.log(PLUGIN_VERSION);
|
|
76
|
+
process.exit(0);
|
|
77
|
+
}
|
|
70
78
|
const flag = (name) => {
|
|
71
79
|
const index = argv.indexOf(`--${name}`);
|
|
72
80
|
if (index < 0) return undefined;
|
package/src/host/index.js
CHANGED
|
@@ -22,7 +22,7 @@ import { registerCommands } from './commands.js';
|
|
|
22
22
|
import { runDoctor } from './doctor.js';
|
|
23
23
|
|
|
24
24
|
/** Version stamped into the database and diagnostics. */
|
|
25
|
-
export const VERSION = '2.0.
|
|
25
|
+
export const VERSION = '2.0.3';
|
|
26
26
|
|
|
27
27
|
/** Optional collaborators; without them the plugin still serves tools. */
|
|
28
28
|
export const inject = ['systemPrompt', 'tools'];
|