@jaggerxtrm/specialists 3.6.15 → 3.6.17
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/index.js +15 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24894,7 +24894,7 @@ var exports_init = {};
|
|
|
24894
24894
|
__export(exports_init, {
|
|
24895
24895
|
run: () => run6
|
|
24896
24896
|
});
|
|
24897
|
-
import { copyFileSync, cpSync, existsSync as existsSync9, lstatSync, mkdirSync as mkdirSync4, readdirSync as readdirSync3, readFileSync as readFileSync7, readlinkSync, renameSync as renameSync2, symlinkSync, writeFileSync as writeFileSync4 } from "fs";
|
|
24897
|
+
import { copyFileSync, cpSync, existsSync as existsSync9, lstatSync, mkdirSync as mkdirSync4, readdirSync as readdirSync3, readFileSync as readFileSync7, readlinkSync, renameSync as renameSync2, symlinkSync, unlinkSync, writeFileSync as writeFileSync4 } from "fs";
|
|
24898
24898
|
import { spawnSync as spawnSync9 } from "child_process";
|
|
24899
24899
|
import { basename as basename3, dirname as dirname5, join as join10, relative, resolve as resolve4 } from "path";
|
|
24900
24900
|
import { fileURLToPath as fileURLToPath2 } from "url";
|
|
@@ -25163,9 +25163,21 @@ function ensureRootSymlink(rootPath, expectedTargetPath) {
|
|
|
25163
25163
|
const linkTarget = readlinkSync(rootPath);
|
|
25164
25164
|
const resolvedTarget = resolve4(dirname5(rootPath), linkTarget);
|
|
25165
25165
|
const resolvedExpected = resolve4(expectedTargetPath);
|
|
25166
|
-
if (resolvedTarget
|
|
25167
|
-
|
|
25166
|
+
if (resolvedTarget === resolvedExpected) {
|
|
25167
|
+
return;
|
|
25168
|
+
}
|
|
25169
|
+
const legacyTargets = [
|
|
25170
|
+
resolve4(expectedTargetPath, "claude"),
|
|
25171
|
+
resolve4(expectedTargetPath, "pi")
|
|
25172
|
+
];
|
|
25173
|
+
if (legacyTargets.includes(resolvedTarget)) {
|
|
25174
|
+
unlinkSync(rootPath);
|
|
25175
|
+
const relTarget = relative(dirname5(rootPath), expectedTargetPath);
|
|
25176
|
+
symlinkSync(relTarget, rootPath);
|
|
25177
|
+
ok(`rewired ${basename3(dirname5(rootPath))}/${basename3(rootPath)} \u2192 ${relTarget}`);
|
|
25178
|
+
return;
|
|
25168
25179
|
}
|
|
25180
|
+
throw new Error(`${rootPath} points to ${linkTarget}, expected ${expectedTargetPath}. Aborting.`);
|
|
25169
25181
|
}
|
|
25170
25182
|
function ensureActiveSkillSymlink(defaultSkillPath, activeLinkPath) {
|
|
25171
25183
|
let stats;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jaggerxtrm/specialists",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.17",
|
|
4
4
|
"description": "OmniSpecialist — 7-tool MCP orchestration layer powered by the Specialist System. Discover and execute .specialist.yaml files across project/user/system scopes via pi.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|