dsh-loci 2.0.2 → 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 +9 -0
- package/package.json +1 -1
- 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,15 @@ 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
|
+
|
|
7
16
|
## [2.0.2] — 2026-11-14
|
|
8
17
|
|
|
9
18
|
### Fixed
|
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",
|
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'];
|