@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.
- package/dist/THIRD-PARTY-NOTICES.md +1 -1
- package/dist/main.js +4 -2
- package/package.json +1 -1
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
|
-
|
|
28379
|
-
|
|
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.
|
|
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": {
|