@episoda/cli 0.2.154 → 0.2.156
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.
|
@@ -2913,7 +2913,7 @@ var require_package = __commonJS({
|
|
|
2913
2913
|
"package.json"(exports2, module2) {
|
|
2914
2914
|
module2.exports = {
|
|
2915
2915
|
name: "@episoda/cli",
|
|
2916
|
-
version: "0.2.
|
|
2916
|
+
version: "0.2.156",
|
|
2917
2917
|
description: "CLI tool for Episoda local development workflow orchestration",
|
|
2918
2918
|
main: "dist/index.js",
|
|
2919
2919
|
types: "dist/index.d.ts",
|
|
@@ -2921,6 +2921,7 @@ var require_package = __commonJS({
|
|
|
2921
2921
|
episoda: "dist/index.js"
|
|
2922
2922
|
},
|
|
2923
2923
|
scripts: {
|
|
2924
|
+
prebuild: "[ -f ../core/dist/index.d.ts ] || (rm -f ../core/tsconfig.tsbuildinfo && tsc --project ../core/tsconfig.json)",
|
|
2924
2925
|
build: "tsup",
|
|
2925
2926
|
"build:standalone": "tsup --config tsup.standalone.config.ts",
|
|
2926
2927
|
dev: "tsup --watch",
|
|
@@ -10670,7 +10671,8 @@ ${message}`;
|
|
|
10670
10671
|
}
|
|
10671
10672
|
const mcpConfigJson = JSON.stringify({ mcpServers: mcpConfig });
|
|
10672
10673
|
args.push("--mcp-config", mcpConfigJson);
|
|
10673
|
-
|
|
10674
|
+
const redactedConfig = mcpConfigJson.replace(/("[A-Z_]*(?:TOKEN|SECRET|KEY)"\s*:\s*")[^"]*(")/g, "$1[REDACTED]$2");
|
|
10675
|
+
console.log(`[AgentManager] EP1253: MCP config with env: ${redactedConfig.substring(0, 300)}...`);
|
|
10674
10676
|
}
|
|
10675
10677
|
argsBeforeMessage = args.length;
|
|
10676
10678
|
args.push("--", message);
|
|
@@ -12650,6 +12652,13 @@ var Daemon = class _Daemon {
|
|
|
12650
12652
|
orphanWorktreeCleanup: modeConfig.orphanWorktreeCleanup,
|
|
12651
12653
|
maxConcurrentModules: modeConfig.maxConcurrentModules
|
|
12652
12654
|
});
|
|
12655
|
+
if (!process.env.EPISODA_CONTAINER_ID) {
|
|
12656
|
+
if (process.env.GITHUB_PERSONAL_ACCESS_TOKEN) {
|
|
12657
|
+
console.log("[Daemon] EP1365: GITHUB_PERSONAL_ACCESS_TOKEN is set in environment");
|
|
12658
|
+
} else {
|
|
12659
|
+
console.warn("[Daemon] EP1365: GITHUB_PERSONAL_ACCESS_TOKEN not set - GitHub MCP tools in local dev may fail");
|
|
12660
|
+
}
|
|
12661
|
+
}
|
|
12653
12662
|
this.checkAndNotifyUpdates();
|
|
12654
12663
|
if (process.env.EPISODA_CLI_PIN_VERSION) {
|
|
12655
12664
|
console.log(`[Daemon] EP1319: CLI version pinned to ${process.env.EPISODA_CLI_PIN_VERSION}, periodic updates disabled`);
|