deus-machine 0.3.14 → 0.3.15
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/bundles/server.bundled.cjs +10 -7
- package/dist/cli.js +1 -1
- package/package.json +1 -1
|
@@ -54575,6 +54575,8 @@ function getShellEnvironment() {
|
|
|
54575
54575
|
const output2 = import_child_process4.execFileSync(shell, ["-ilc", command2], {
|
|
54576
54576
|
encoding: "utf8",
|
|
54577
54577
|
timeout: 5000,
|
|
54578
|
+
killSignal: "SIGKILL",
|
|
54579
|
+
stdio: ["pipe", "pipe", "ignore"],
|
|
54578
54580
|
env: {
|
|
54579
54581
|
DISABLE_AUTO_UPDATE: "true"
|
|
54580
54582
|
}
|
|
@@ -54596,19 +54598,19 @@ var init_shell_env = __esm(() => {
|
|
|
54596
54598
|
import_util13 = require("util");
|
|
54597
54599
|
STRIPPED_ENV_KEYS = [
|
|
54598
54600
|
"ANTHROPIC_API_KEY",
|
|
54601
|
+
"ANTHROPIC_AUTH_TOKEN",
|
|
54602
|
+
"ANTHROPIC_BASE_URL",
|
|
54603
|
+
"CLAUDE_CODE_OAUTH_TOKEN",
|
|
54599
54604
|
"OPENAI_API_KEY",
|
|
54600
54605
|
"CLAUDE_CODE_USE_BEDROCK",
|
|
54601
|
-
"CLAUDE_CODE_USE_VERTEX"
|
|
54606
|
+
"CLAUDE_CODE_USE_VERTEX",
|
|
54607
|
+
"GH_TOKEN",
|
|
54608
|
+
"GITHUB_TOKEN"
|
|
54602
54609
|
];
|
|
54603
54610
|
});
|
|
54604
54611
|
|
|
54605
54612
|
// apps/agent-server/agents/environment/index.ts
|
|
54606
|
-
function shouldLoadShellEnvironment() {
|
|
54607
|
-
return process.env.DEUS_PACKAGED !== "1" && process.env.DEUS_RUNTIME !== "1";
|
|
54608
|
-
}
|
|
54609
54613
|
function applyShellEnvironment() {
|
|
54610
|
-
if (!shouldLoadShellEnvironment())
|
|
54611
|
-
return;
|
|
54612
54614
|
try {
|
|
54613
54615
|
for (const [key, value] of Object.entries(getShellEnvironment())) {
|
|
54614
54616
|
if (key === "PATH" && process.env.PATH) {
|
|
@@ -54621,7 +54623,8 @@ function applyShellEnvironment() {
|
|
|
54621
54623
|
process.env[key] = value;
|
|
54622
54624
|
}
|
|
54623
54625
|
} catch (error62) {
|
|
54624
|
-
|
|
54626
|
+
const { code, signal } = error62;
|
|
54627
|
+
console.error(`Failed to load shell environment (${code ?? signal ?? "error"}), continuing without it`);
|
|
54625
54628
|
}
|
|
54626
54629
|
}
|
|
54627
54630
|
var init_environment = __esm(() => {
|
package/dist/cli.js
CHANGED
|
@@ -19,7 +19,7 @@ var init_package = __esm({
|
|
|
19
19
|
"package.json"() {
|
|
20
20
|
package_default = {
|
|
21
21
|
name: "deus-machine",
|
|
22
|
-
version: "0.3.
|
|
22
|
+
version: "0.3.15",
|
|
23
23
|
description: "Run Deus IDE from the command line \u2014 headless server or desktop installer",
|
|
24
24
|
license: "MIT",
|
|
25
25
|
author: {
|