xtrm-tools 2.1.13 → 2.1.14
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 +8 -0
- package/cli/dist/index.cjs.map +1 -1
- package/cli/package.json +1 -1
- package/config/mcp_servers.json +11 -0
- package/hooks/main-guard.mjs +20 -0
- package/package.json +1 -1
- package/skills/using-xtrm/SKILL.md +271 -0
package/cli/dist/index.cjs
CHANGED
|
@@ -41264,6 +41264,7 @@ async function bootstrapProjectInit() {
|
|
|
41264
41264
|
}
|
|
41265
41265
|
await runBdInitForProject(projectRoot);
|
|
41266
41266
|
await runGitNexusInitForProject(projectRoot);
|
|
41267
|
+
await syncProjectMcpServers(projectRoot);
|
|
41267
41268
|
}
|
|
41268
41269
|
async function runBdInitForProject(projectRoot) {
|
|
41269
41270
|
console.log(kleur_default.bold("Running beads initialization (bd init)..."));
|
|
@@ -41438,6 +41439,13 @@ function readExistingPiValues(piAgentDir) {
|
|
|
41438
41439
|
if (auth?.zai?.key) values["ZAI_API_KEY"] = auth.zai.key;
|
|
41439
41440
|
} catch {
|
|
41440
41441
|
}
|
|
41442
|
+
try {
|
|
41443
|
+
const models = JSON.parse(require("fs").readFileSync(import_path12.default.join(piAgentDir, "models.json"), "utf8"));
|
|
41444
|
+
if (!values["DASHSCOPE_API_KEY"] && models?.providers?.dashscope?.apiKey) {
|
|
41445
|
+
values["DASHSCOPE_API_KEY"] = models.providers.dashscope.apiKey;
|
|
41446
|
+
}
|
|
41447
|
+
} catch {
|
|
41448
|
+
}
|
|
41441
41449
|
return values;
|
|
41442
41450
|
}
|
|
41443
41451
|
function isPiInstalled() {
|