dsh-deja 0.22.0 → 0.22.1

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.
Files changed (2) hide show
  1. package/index.js +6 -4
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -495,14 +495,16 @@ async function toolNote(exec, result) {
495
495
  return "";
496
496
  }
497
497
 
498
- // A context message the way dsh's own plugins build one: user role, a plugin
499
- // source so it is not read back as something the person typed, a fresh id,
500
- // frozen.
498
+ // A context message the way dsh's own plugins build one: user role, a
499
+ // producer-owned source so it is not read back as something the person typed,
500
+ // a fresh id, frozen. v4 session format refuses the bare "plugin" kind, so the
501
+ // producer owns "plugin:deja" — the value dsh's own v3→v4 migration assigns an
502
+ // unmapped plugin.
501
503
  function noteMessage(text) {
502
504
  const message = {
503
505
  role: "user",
504
506
  content: [{ type: "text", text }],
505
- source: { kind: "plugin", plugin: "deja", form: "notice" },
507
+ source: { kind: "plugin:deja", form: "notice" },
506
508
  id: randomUUID(),
507
509
  };
508
510
  Object.freeze(message.content[0]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-deja",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "description": "deja-vu memory for DeepSeek Harness: the session history of forty other coding agents, searchable and recalled before each step — a local index, no LLM.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -62,7 +62,7 @@
62
62
  }
63
63
  },
64
64
  "dependencies": {
65
- "@vshulcz/deja-vu": "^0.22.0"
65
+ "@vshulcz/deja-vu": "^0.22.1"
66
66
  },
67
67
  "scripts": {
68
68
  "test": "node --test test/*.test.js"