xtrm-tools 0.5.7 → 0.5.9
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/cli/dist/index.cjs +5 -18
- package/cli/dist/index.cjs.map +1 -1
- package/cli/package.json +1 -1
- package/package.json +1 -1
- package/skills/using-xtrm/SKILL.md +12 -9
package/cli/dist/index.cjs
CHANGED
|
@@ -37183,16 +37183,13 @@ var PruneModeReadError = class extends Error {
|
|
|
37183
37183
|
async function calculateDiff(repoRoot, systemRoot, pruneMode = false) {
|
|
37184
37184
|
const adapter = detectAdapter(systemRoot);
|
|
37185
37185
|
const isClaude = adapter?.toolName === "claude-code";
|
|
37186
|
-
const isQwen = adapter?.toolName === "qwen";
|
|
37187
37186
|
const normalizedRoot = (0, import_path4.normalize)(systemRoot).replace(/\\/g, "/");
|
|
37188
37187
|
const isAgentsSkills = normalizedRoot.includes(".agents/skills");
|
|
37189
37188
|
const changeSet = {
|
|
37190
37189
|
skills: { missing: [], outdated: [], drifted: [], total: 0 },
|
|
37191
37190
|
hooks: { missing: [], outdated: [], drifted: [], total: 0 },
|
|
37192
37191
|
config: { missing: [], outdated: [], drifted: [], total: 0 },
|
|
37193
|
-
commands: { missing: [], outdated: [], drifted: [], total: 0 }
|
|
37194
|
-
"qwen-commands": { missing: [], outdated: [], drifted: [], total: 0 },
|
|
37195
|
-
"antigravity-workflows": { missing: [], outdated: [], drifted: [], total: 0 }
|
|
37192
|
+
commands: { missing: [], outdated: [], drifted: [], total: 0 }
|
|
37196
37193
|
};
|
|
37197
37194
|
const manifestPath = (0, import_path4.join)(systemRoot, ".jaggers-sync-manifest.json");
|
|
37198
37195
|
let installedHashes = null;
|
|
@@ -37216,18 +37213,10 @@ async function calculateDiff(repoRoot, systemRoot, pruneMode = false) {
|
|
|
37216
37213
|
return changeSet;
|
|
37217
37214
|
}
|
|
37218
37215
|
const folders = ["skills", "hooks"];
|
|
37219
|
-
if (
|
|
37220
|
-
else if (!isClaude) folders.push("commands");
|
|
37216
|
+
if (!isClaude) folders.push("commands");
|
|
37221
37217
|
for (const category of folders) {
|
|
37222
|
-
|
|
37223
|
-
|
|
37224
|
-
if (category === "qwen-commands") {
|
|
37225
|
-
repoPath = (0, import_path4.join)(repoRoot, ".qwen", "commands");
|
|
37226
|
-
systemPath = (0, import_path4.join)(systemRoot, "commands");
|
|
37227
|
-
} else {
|
|
37228
|
-
repoPath = (0, import_path4.join)(repoRoot, category);
|
|
37229
|
-
systemPath = (0, import_path4.join)(systemRoot, category);
|
|
37230
|
-
}
|
|
37218
|
+
const repoPath = (0, import_path4.join)(repoRoot, category);
|
|
37219
|
+
const systemPath = (0, import_path4.join)(systemRoot, category);
|
|
37231
37220
|
if (!await import_fs_extra3.default.pathExists(repoPath)) continue;
|
|
37232
37221
|
const items = (await import_fs_extra3.default.readdir(repoPath)).filter((i) => !IGNORED_ITEMS.has(i));
|
|
37233
37222
|
changeSet[category].total = items.length;
|
|
@@ -55912,9 +55901,7 @@ var ChangeSetSchema = external_exports.object({
|
|
|
55912
55901
|
skills: ChangeSetCategorySchema,
|
|
55913
55902
|
hooks: ChangeSetCategorySchema,
|
|
55914
55903
|
config: ChangeSetCategorySchema,
|
|
55915
|
-
commands: ChangeSetCategorySchema
|
|
55916
|
-
"qwen-commands": ChangeSetCategorySchema,
|
|
55917
|
-
"antigravity-workflows": ChangeSetCategorySchema
|
|
55904
|
+
commands: ChangeSetCategorySchema
|
|
55918
55905
|
});
|
|
55919
55906
|
var SyncPlanSchema = external_exports.object({
|
|
55920
55907
|
mode: SyncModeSchema,
|