@locusai/sdk 0.10.5 → 0.10.6

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.
@@ -1333,7 +1333,7 @@ class CodexRunner {
1333
1333
  type: "tool_use",
1334
1334
  tool: line.replace(/^[→•✓]\s*/, "")
1335
1335
  });
1336
- } else if (this.shouldDisplay(line)) {
1336
+ } else {
1337
1337
  enqueueChunk({ type: "text_delta", content: `${line}
1338
1338
  ` });
1339
1339
  }
@@ -1473,18 +1473,11 @@ class CodexRunner {
1473
1473
  }
1474
1474
  buildArgs(outputPath) {
1475
1475
  const args = [
1476
- "--ask-for-approval",
1477
- "never",
1478
1476
  "exec",
1479
- "--sandbox",
1480
- "workspace-write",
1477
+ "--full-auto",
1481
1478
  "--skip-git-repo-check",
1482
1479
  "--output-last-message",
1483
- outputPath,
1484
- "-c",
1485
- "sandbox_workspace_write.network_access=true",
1486
- "-c",
1487
- 'sandbox.excludedCommands=["git", "gh"]'
1480
+ outputPath
1488
1481
  ];
1489
1482
  if (this.model) {
1490
1483
  args.push("--model", this.model);
@@ -1 +1 @@
1
- {"version":3,"file":"codex-runner.d.ts","sourceRoot":"","sources":["../../src/ai/codex-runner.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAK5C,qBAAa,WAAY,YAAW,QAAQ;IAOxC,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,GAAG,CAAC;IARd,OAAO,CAAC,aAAa,CAA6B;IAClD,OAAO,CAAC,YAAY,CAAC,CAAmB;IACxC,OAAO,CAAC,eAAe,CAAC,CAAS;IACjC,SAAS,EA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EAAE,MAAM,EACnB,KAAK,GAAE,MAAsC,EAC7C,GAAG,CAAC,EAAE,KAAK,YAAA,EACnB,SAAS,CAAC,EAAE,MAAM;IAKpB,eAAe,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAIhD;;OAEG;IACH,KAAK,IAAI,IAAI;IAOP,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IA4B1C,OAAO,CAAC,WAAW;IA0BZ,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc,CAAC,WAAW,EAAE,IAAI,EAAE,OAAO,CAAC;IAwJ5E,OAAO,CAAC,iBAAiB;IA+BzB,OAAO,CAAC,UAAU;IAyDlB,OAAO,CAAC,SAAS;IAiBjB;;;OAGG;IACH,OAAO,CAAC,eAAe;IAWvB,OAAO,CAAC,aAAa;IASrB,OAAO,CAAC,UAAU;IAYlB,OAAO,CAAC,qBAAqB;IAY7B,OAAO,CAAC,eAAe;IAQvB,OAAO,CAAC,KAAK;CAGd"}
@@ -1333,7 +1333,7 @@ class CodexRunner {
1333
1333
  type: "tool_use",
1334
1334
  tool: line.replace(/^[→•✓]\s*/, "")
1335
1335
  });
1336
- } else if (this.shouldDisplay(line)) {
1336
+ } else {
1337
1337
  enqueueChunk({ type: "text_delta", content: `${line}
1338
1338
  ` });
1339
1339
  }
@@ -1473,18 +1473,11 @@ class CodexRunner {
1473
1473
  }
1474
1474
  buildArgs(outputPath) {
1475
1475
  const args = [
1476
- "--ask-for-approval",
1477
- "never",
1478
1476
  "exec",
1479
- "--sandbox",
1480
- "workspace-write",
1477
+ "--full-auto",
1481
1478
  "--skip-git-repo-check",
1482
1479
  "--output-last-message",
1483
- outputPath,
1484
- "-c",
1485
- "sandbox_workspace_write.network_access=true",
1486
- "-c",
1487
- 'sandbox.excludedCommands=["git", "gh"]'
1480
+ outputPath
1488
1481
  ];
1489
1482
  if (this.model) {
1490
1483
  args.push("--model", this.model);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@locusai/sdk",
3
- "version": "0.10.5",
3
+ "version": "0.10.6",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -30,7 +30,7 @@
30
30
  "clean": "rm -rf node_modules"
31
31
  },
32
32
  "dependencies": {
33
- "@locusai/shared": "^0.10.5",
33
+ "@locusai/shared": "^0.10.6",
34
34
  "axios": "^1.13.2",
35
35
  "events": "^3.3.0",
36
36
  "globby": "^14.0.2"