@locusai/cli 0.20.4 → 0.21.0

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.
Files changed (2) hide show
  1. package/bin/locus.js +1 -27
  2. package/package.json +1 -1
package/bin/locus.js CHANGED
@@ -11793,8 +11793,7 @@ var exports_sandbox2 = {};
11793
11793
  __export(exports_sandbox2, {
11794
11794
  sandboxCommand: () => sandboxCommand,
11795
11795
  parseSandboxLogsArgs: () => parseSandboxLogsArgs,
11796
- parseSandboxInstallArgs: () => parseSandboxInstallArgs,
11797
- parseSandboxExecArgs: () => parseSandboxExecArgs
11796
+ parseSandboxInstallArgs: () => parseSandboxInstallArgs
11798
11797
  });
11799
11798
  import { execSync as execSync17, spawn as spawn6 } from "node:child_process";
11800
11799
  import { createHash } from "node:crypto";
@@ -12153,31 +12152,6 @@ async function handleInstall(projectRoot, args) {
12153
12152
  `);
12154
12153
  }
12155
12154
  }
12156
- function parseSandboxExecArgs(args) {
12157
- if (args.length === 0) {
12158
- return {
12159
- command: [],
12160
- error: "Usage: locus sandbox exec <provider> -- <command...>"
12161
- };
12162
- }
12163
- const provider = args[0];
12164
- if (provider !== "claude" && provider !== "codex") {
12165
- return {
12166
- command: [],
12167
- error: `Invalid provider "${provider}". Expected claude or codex.`
12168
- };
12169
- }
12170
- const separatorIndex = args.indexOf("--");
12171
- const command = separatorIndex >= 0 ? args.slice(separatorIndex + 1) : args.slice(1);
12172
- if (command.length === 0) {
12173
- return {
12174
- provider,
12175
- command: [],
12176
- error: "Missing command. Example: locus sandbox exec codex -- bun --version"
12177
- };
12178
- }
12179
- return { provider, command };
12180
- }
12181
12155
  async function handleShell(projectRoot, args) {
12182
12156
  const provider = args[0];
12183
12157
  if (provider !== "claude" && provider !== "codex") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@locusai/cli",
3
- "version": "0.20.4",
3
+ "version": "0.21.0",
4
4
  "description": "GitHub-native AI engineering assistant",
5
5
  "type": "module",
6
6
  "bin": {