mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 07:04:48 +00:00
chore: rename gigacode to @sandbox-agent/gigacode (#105)
This commit is contained in:
parent
beacbbfdba
commit
f0191579c0
6 changed files with 10 additions and 21 deletions
11
README.md
11
README.md
|
|
@ -193,17 +193,6 @@ npx sandbox-agent --help
|
||||||
bunx sandbox-agent --help
|
bunx sandbox-agent --help
|
||||||
```
|
```
|
||||||
|
|
||||||
Quick OpenCode attach (runs `sandbox-agent opencode` by default):
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npx gigacode --token "$SANDBOX_TOKEN"
|
|
||||||
```
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm install -g gigacode
|
|
||||||
gigacode --token "$SANDBOX_TOKEN"
|
|
||||||
```
|
|
||||||
|
|
||||||
[CLI documentation](https://sandboxagent.dev/docs/cli)
|
[CLI documentation](https://sandboxagent.dev/docs/cli)
|
||||||
|
|
||||||
### Inspector
|
### Inspector
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,7 @@ export function GetStarted() {
|
||||||
Choose the installation method that works best for your use case.
|
Choose the installation method that works best for your use case.
|
||||||
</p>
|
</p>
|
||||||
<p className="mt-4 text-sm text-zinc-500">
|
<p className="mt-4 text-sm text-zinc-500">
|
||||||
Quick OpenCode attach: <span className="font-mono text-white">npx gigacode</span>
|
Quick OpenCode attach: <span className="font-mono text-white">npx @sandbox-agent/gigacode</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,14 +51,14 @@ curl -fsSL https://releases.rivet.dev/sandbox-agent/latest/gigacode-install.sh |
|
||||||
**npm i -g**
|
**npm i -g**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install -g gigacode
|
npm install -g @sandbox-agent/gigacode
|
||||||
gigacode --help
|
gigacode --help
|
||||||
```
|
```
|
||||||
|
|
||||||
**bun add -g**
|
**bun add -g**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bun add -g gigacode
|
bun add -g @sandbox-agent/gigacode
|
||||||
# Allow Bun to run postinstall scripts for native binaries.
|
# Allow Bun to run postinstall scripts for native binaries.
|
||||||
bun pm -g trust @sandbox-agent/gigacode-linux-x64 @sandbox-agent/gigacode-linux-arm64 @sandbox-agent/gigacode-darwin-arm64 @sandbox-agent/gigacode-darwin-x64 @sandbox-agent/gigacode-win32-x64
|
bun pm -g trust @sandbox-agent/gigacode-linux-x64 @sandbox-agent/gigacode-linux-arm64 @sandbox-agent/gigacode-darwin-arm64 @sandbox-agent/gigacode-darwin-x64 @sandbox-agent/gigacode-win32-x64
|
||||||
gigacode --help
|
gigacode --help
|
||||||
|
|
@ -67,13 +67,13 @@ gigacode --help
|
||||||
**npx**
|
**npx**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx gigacode --help
|
npx @sandbox-agent/gigacode --help
|
||||||
```
|
```
|
||||||
|
|
||||||
**bunx**
|
**bunx**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bunx gigacode --help
|
bunx @sandbox-agent/gigacode --help
|
||||||
```
|
```
|
||||||
|
|
||||||
> **Note:** Windows is unsupported. Please use [WSL](https://learn.microsoft.com/en-us/windows/wsl/install).
|
> **Note:** Windows is unsupported. Please use [WSL](https://learn.microsoft.com/en-us/windows/wsl/install).
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ const CLI_PACKAGES = [
|
||||||
"@sandbox-agent/cli-win32-x64",
|
"@sandbox-agent/cli-win32-x64",
|
||||||
"@sandbox-agent/cli-darwin-x64",
|
"@sandbox-agent/cli-darwin-x64",
|
||||||
"@sandbox-agent/cli-darwin-arm64",
|
"@sandbox-agent/cli-darwin-arm64",
|
||||||
"gigacode",
|
"@sandbox-agent/gigacode",
|
||||||
"@sandbox-agent/gigacode-linux-x64",
|
"@sandbox-agent/gigacode-linux-x64",
|
||||||
"@sandbox-agent/gigacode-linux-arm64",
|
"@sandbox-agent/gigacode-linux-arm64",
|
||||||
"@sandbox-agent/gigacode-win32-x64",
|
"@sandbox-agent/gigacode-win32-x64",
|
||||||
|
|
@ -301,7 +301,7 @@ export async function publishNpmCli(opts: ReleaseOpts) {
|
||||||
let packagePath: string;
|
let packagePath: string;
|
||||||
if (packageName === "@sandbox-agent/cli") {
|
if (packageName === "@sandbox-agent/cli") {
|
||||||
packagePath = join(opts.root, "sdks/cli");
|
packagePath = join(opts.root, "sdks/cli");
|
||||||
} else if (packageName === "gigacode") {
|
} else if (packageName === "@sandbox-agent/gigacode") {
|
||||||
packagePath = join(opts.root, "sdks/gigacode");
|
packagePath = join(opts.root, "sdks/gigacode");
|
||||||
} else if (packageName.startsWith("@sandbox-agent/cli-")) {
|
} else if (packageName.startsWith("@sandbox-agent/cli-")) {
|
||||||
// Platform-specific packages: @sandbox-agent/cli-linux-x64 -> sdks/cli/platforms/linux-x64
|
// Platform-specific packages: @sandbox-agent/cli-linux-x64 -> sdks/cli/platforms/linux-x64
|
||||||
|
|
|
||||||
|
|
@ -20,14 +20,14 @@ function formatHint(binPath) {
|
||||||
label: "Project install",
|
label: "Project install",
|
||||||
commands: [
|
commands: [
|
||||||
`bun pm trust ${TRUST_PACKAGES}`,
|
`bun pm trust ${TRUST_PACKAGES}`,
|
||||||
"bun add gigacode",
|
"bun add @sandbox-agent/gigacode",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Global install",
|
label: "Global install",
|
||||||
commands: [
|
commands: [
|
||||||
`bun pm -g trust ${TRUST_PACKAGES}`,
|
`bun pm -g trust ${TRUST_PACKAGES}`,
|
||||||
"bun add -g gigacode",
|
"bun add -g @sandbox-agent/gigacode",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "gigacode",
|
"name": "@sandbox-agent/gigacode",
|
||||||
"version": "0.1.6",
|
"version": "0.1.6",
|
||||||
"description": "Gigacode CLI (sandbox-agent with OpenCode attach by default)",
|
"description": "Gigacode CLI (sandbox-agent with OpenCode attach by default)",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue