@chipschat/acp 1.0.14 → 1.0.15

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.
@@ -1,6 +1,6 @@
1
1
  # Third-party notices
2
2
 
3
- `dist/main.js` in @chipschat/acp 1.0.14 carries these packages, bundled in. Each one's
3
+ `dist/main.js` in @chipschat/acp 1.0.15 carries these packages, bundled in. Each one's
4
4
  licence follows.
5
5
 
6
6
  ## @chipschat/harness 1.0.2 (Apache-2.0)
package/dist/main.js CHANGED
@@ -28375,8 +28375,10 @@ function configPathOf(word, home = homedir5()) {
28375
28375
  const places = placesOf2(home);
28376
28376
  const target = configTargetOf(word, home);
28377
28377
  const under = inside2(places.settings, target);
28378
- const old = under === void 0 ? void 0 : join8(places.oldSettings, under);
28379
- return old !== void 0 && existsSync7(old) && !existsSync7(target) ? old : target;
28378
+ if (under === void 0) return target;
28379
+ const old = join8(places.oldSettings, under);
28380
+ const kept2 = (path) => existsSync7(path) || existsSync7(path.replace(/\.json$/, ""));
28381
+ return kept2(old) && !kept2(target) ? old : target;
28380
28382
  }
28381
28383
  function foldersPathOf(path, home = homedir5()) {
28382
28384
  const places = placesOf2(home);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chipschat/acp",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "An agent that speaks the Agent Client Protocol, as a Chips harness of its kind: agents made from Chips, each in a folder of its own, each room a session.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {