@lornatang/dsh-caveman 0.1.2 → 0.1.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 CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.3 - 2026-11-19
4
+
5
+ - Simplify the system-prompt and request-header hooks by dropping unused handler parameters; behavior is unchanged.
6
+ - Keep the verified analyzer binaries attached to this release under the new version.
7
+
3
8
  ## 0.1.2 - 2026-11-18
4
9
 
5
10
  - Settle the block hook promise on timeout or abort, so a hung analyzer cannot stall tool execution.
package/README.md CHANGED
@@ -43,7 +43,7 @@ git clone https://github.com/Lornatang/dsh-caveman.git
43
43
  cd dsh-caveman
44
44
  npm ci
45
45
  npm pack
46
- dsh plugin --profile <name> add ./lornatang-dsh-caveman-0.1.2.tgz
46
+ dsh plugin --profile <name> add ./lornatang-dsh-caveman-0.1.3.tgz
47
47
  ```
48
48
 
49
49
  The `add` command composes the bundle into the profile. Its patches insert the `caveman` row, three Cavecrew presets, and their delegation tools. Restart DSH after `add` or `remove` so the profile reloads its composition.
package/README.zh.md CHANGED
@@ -43,7 +43,7 @@ git clone https://github.com/Lornatang/dsh-caveman.git
43
43
  cd dsh-caveman
44
44
  npm ci
45
45
  npm pack
46
- dsh plugin --profile <name> add ./lornatang-dsh-caveman-0.1.2.tgz
46
+ dsh plugin --profile <name> add ./lornatang-dsh-caveman-0.1.3.tgz
47
47
  ```
48
48
 
49
49
  `add` 命令把 bundle 组合进 profile。patch 会插入 `caveman` 行、三个 Cavecrew 预设及其委派工具。`add` 或 `remove` 后重启 DSH,使 profile 重新加载配置。
@@ -20,5 +20,5 @@ export function cavemanRequestHeaders(endpoint, request, headers) {
20
20
  return headers;
21
21
  }
22
22
  export function registerAttribution(ctx, endpoint) {
23
- ctx.on('llm-pi-ai/request-headers', (request, headers, next) => cavemanRequestHeaders(endpoint, request, next()));
23
+ ctx.on('llm-pi-ai/request-headers', (request, _headers, next) => cavemanRequestHeaders(endpoint, request, next()));
24
24
  }
@@ -321,7 +321,7 @@ export function registerCompression(ctx, endpoint, automatic) {
321
321
  yield* next();
322
322
  })());
323
323
  const selections = new WeakMap();
324
- ctx.on('system-prompt/assemble', async (assembly, context, next) => {
324
+ ctx.on('system-prompt/assemble', async (_assembly, context, next) => {
325
325
  const result = await next();
326
326
  if (context.agent && context.toolSet)
327
327
  selections.set(context.agent, context.toolSet);
package/lib/native.js CHANGED
@@ -216,7 +216,7 @@ export function registerNative(ctx, endpoint, policy) {
216
216
  const selections = new WeakMap();
217
217
  const pending = new Set();
218
218
  const home = process.env.CAVEMAN_HOME ?? join(homedir(), '.caveman');
219
- ctx.on('system-prompt/assemble', async (assembly, context, next) => {
219
+ ctx.on('system-prompt/assemble', async (_assembly, context, next) => {
220
220
  const result = await next();
221
221
  if (context.agent && context.toolSet)
222
222
  selections.set(context.agent, context.toolSet);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lornatang/dsh-caveman",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Caveman integration for DeepSeek Harness.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.2",
2
+ "version": "0.1.3",
3
3
  "binaries": {
4
4
  "linux-x64": {
5
5
  "name": "dsh-caveman-learn_linux_amd64",