@alessandroraffa/tangyr 5.0.0 → 5.0.1
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 +2 -20
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28320,24 +28320,6 @@ import path39 from "path";
|
|
|
28320
28320
|
var import_yaml10 = __toESM(require_dist(), 1);
|
|
28321
28321
|
import fs40 from "fs";
|
|
28322
28322
|
function compileRules(sourceRulesDir, target, _mappings, lossReport) {
|
|
28323
|
-
if (target === "copilot") {
|
|
28324
|
-
addLoss(lossReport, "copilot", "rules", {
|
|
28325
|
-
source: "rules",
|
|
28326
|
-
fields: [
|
|
28327
|
-
{
|
|
28328
|
-
field: "rules",
|
|
28329
|
-
action: "rule-path-scoping",
|
|
28330
|
-
severity: resolveLossSeverity(
|
|
28331
|
-
"agent-field",
|
|
28332
|
-
"rules",
|
|
28333
|
-
"rule-path-scoping"
|
|
28334
|
-
),
|
|
28335
|
-
detail: "Rules: Skip \u2014 no verified global user-level rules surface for Copilot in v1"
|
|
28336
|
-
}
|
|
28337
|
-
]
|
|
28338
|
-
});
|
|
28339
|
-
return { agentsAppendix: "", dotRulesFiles: [] };
|
|
28340
|
-
}
|
|
28341
28323
|
if (target === "opencode") {
|
|
28342
28324
|
return compileOpenCodeRules(sourceRulesDir, lossReport);
|
|
28343
28325
|
}
|
|
@@ -28429,7 +28411,7 @@ ${parsed.body.trim()}`);
|
|
|
28429
28411
|
"rule",
|
|
28430
28412
|
"rule-path-scoping"
|
|
28431
28413
|
),
|
|
28432
|
-
detail: `${path39.basename(ruleFile)}: OpenCode has no per-agent rule scoping \u2014 rule appended to
|
|
28414
|
+
detail: `${path39.basename(ruleFile)}: OpenCode has no per-agent rule scoping \u2014 rule appended to its instructions file`
|
|
28433
28415
|
}
|
|
28434
28416
|
]
|
|
28435
28417
|
});
|
|
@@ -30112,7 +30094,7 @@ function extractPrimaryPersonaContent(config, sourceRoot, lossReport) {
|
|
|
30112
30094
|
"persona",
|
|
30113
30095
|
"instructions-shim"
|
|
30114
30096
|
),
|
|
30115
|
-
detail: `Primary persona from ${path43.basename(primaryFile)} folded into
|
|
30097
|
+
detail: `Primary persona from ${path43.basename(primaryFile)} folded into its instructions file (Cursor has no custom modes surface)`
|
|
30116
30098
|
}
|
|
30117
30099
|
]
|
|
30118
30100
|
});
|