mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 06:04:43 +00:00
chore(release): update version to 0.2.0
This commit is contained in:
parent
94353f7696
commit
6b1950f9ab
13 changed files with 56 additions and 40 deletions
|
|
@ -9,6 +9,8 @@ RUN npm install -g pnpm
|
|||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
||||
COPY frontend/packages/inspector/package.json ./frontend/packages/inspector/
|
||||
COPY sdks/cli-shared/package.json ./sdks/cli-shared/
|
||||
COPY sdks/acp-http-client/package.json ./sdks/acp-http-client/
|
||||
COPY sdks/persist-indexeddb/package.json ./sdks/persist-indexeddb/
|
||||
COPY sdks/typescript/package.json ./sdks/typescript/
|
||||
|
||||
# Install dependencies
|
||||
|
|
@ -17,11 +19,15 @@ RUN pnpm install --filter @sandbox-agent/inspector...
|
|||
# Copy SDK source (with pre-generated types from docs/openapi.json)
|
||||
COPY docs/openapi.json ./docs/
|
||||
COPY sdks/cli-shared ./sdks/cli-shared
|
||||
COPY sdks/acp-http-client ./sdks/acp-http-client
|
||||
COPY sdks/persist-indexeddb ./sdks/persist-indexeddb
|
||||
COPY sdks/typescript ./sdks/typescript
|
||||
|
||||
# Build cli-shared and SDK (just tsup, skip generate since types are pre-generated)
|
||||
# Build cli-shared, acp-http-client, SDK, then persist-indexeddb (depends on SDK)
|
||||
RUN cd sdks/cli-shared && pnpm exec tsup
|
||||
RUN cd sdks/acp-http-client && pnpm exec tsup
|
||||
RUN cd sdks/typescript && SKIP_OPENAPI_GEN=1 pnpm exec tsup
|
||||
RUN cd sdks/persist-indexeddb && pnpm exec tsup
|
||||
|
||||
# Copy inspector source and build
|
||||
COPY frontend/packages/inspector ./frontend/packages/inspector
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ RUN npm install -g pnpm
|
|||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
||||
COPY frontend/packages/inspector/package.json ./frontend/packages/inspector/
|
||||
COPY sdks/cli-shared/package.json ./sdks/cli-shared/
|
||||
COPY sdks/acp-http-client/package.json ./sdks/acp-http-client/
|
||||
COPY sdks/persist-indexeddb/package.json ./sdks/persist-indexeddb/
|
||||
COPY sdks/typescript/package.json ./sdks/typescript/
|
||||
|
||||
# Install dependencies
|
||||
|
|
@ -17,11 +19,15 @@ RUN pnpm install --filter @sandbox-agent/inspector...
|
|||
# Copy SDK source (with pre-generated types from docs/openapi.json)
|
||||
COPY docs/openapi.json ./docs/
|
||||
COPY sdks/cli-shared ./sdks/cli-shared
|
||||
COPY sdks/acp-http-client ./sdks/acp-http-client
|
||||
COPY sdks/persist-indexeddb ./sdks/persist-indexeddb
|
||||
COPY sdks/typescript ./sdks/typescript
|
||||
|
||||
# Build cli-shared and SDK (just tsup, skip generate since types are pre-generated)
|
||||
# Build cli-shared, acp-http-client, SDK, then persist-indexeddb (depends on SDK)
|
||||
RUN cd sdks/cli-shared && pnpm exec tsup
|
||||
RUN cd sdks/acp-http-client && pnpm exec tsup
|
||||
RUN cd sdks/typescript && SKIP_OPENAPI_GEN=1 pnpm exec tsup
|
||||
RUN cd sdks/persist-indexeddb && pnpm exec tsup
|
||||
|
||||
# Copy inspector source and build
|
||||
COPY frontend/packages/inspector ./frontend/packages/inspector
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ RUN npm install -g pnpm
|
|||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
||||
COPY frontend/packages/inspector/package.json ./frontend/packages/inspector/
|
||||
COPY sdks/cli-shared/package.json ./sdks/cli-shared/
|
||||
COPY sdks/acp-http-client/package.json ./sdks/acp-http-client/
|
||||
COPY sdks/persist-indexeddb/package.json ./sdks/persist-indexeddb/
|
||||
COPY sdks/typescript/package.json ./sdks/typescript/
|
||||
|
||||
# Install dependencies
|
||||
|
|
@ -17,11 +19,15 @@ RUN pnpm install --filter @sandbox-agent/inspector...
|
|||
# Copy SDK source (with pre-generated types from docs/openapi.json)
|
||||
COPY docs/openapi.json ./docs/
|
||||
COPY sdks/cli-shared ./sdks/cli-shared
|
||||
COPY sdks/acp-http-client ./sdks/acp-http-client
|
||||
COPY sdks/persist-indexeddb ./sdks/persist-indexeddb
|
||||
COPY sdks/typescript ./sdks/typescript
|
||||
|
||||
# Build cli-shared and SDK (just tsup, skip generate since types are pre-generated)
|
||||
# Build cli-shared, acp-http-client, SDK, then persist-indexeddb (depends on SDK)
|
||||
RUN cd sdks/cli-shared && pnpm exec tsup
|
||||
RUN cd sdks/acp-http-client && pnpm exec tsup
|
||||
RUN cd sdks/typescript && SKIP_OPENAPI_GEN=1 pnpm exec tsup
|
||||
RUN cd sdks/persist-indexeddb && pnpm exec tsup
|
||||
|
||||
# Copy inspector source and build
|
||||
COPY frontend/packages/inspector ./frontend/packages/inspector
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ RUN npm install -g pnpm
|
|||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
||||
COPY frontend/packages/inspector/package.json ./frontend/packages/inspector/
|
||||
COPY sdks/cli-shared/package.json ./sdks/cli-shared/
|
||||
COPY sdks/acp-http-client/package.json ./sdks/acp-http-client/
|
||||
COPY sdks/persist-indexeddb/package.json ./sdks/persist-indexeddb/
|
||||
COPY sdks/typescript/package.json ./sdks/typescript/
|
||||
|
||||
# Install dependencies
|
||||
|
|
@ -17,11 +19,15 @@ RUN pnpm install --filter @sandbox-agent/inspector...
|
|||
# Copy SDK source (with pre-generated types from docs/openapi.json)
|
||||
COPY docs/openapi.json ./docs/
|
||||
COPY sdks/cli-shared ./sdks/cli-shared
|
||||
COPY sdks/acp-http-client ./sdks/acp-http-client
|
||||
COPY sdks/persist-indexeddb ./sdks/persist-indexeddb
|
||||
COPY sdks/typescript ./sdks/typescript
|
||||
|
||||
# Build cli-shared and SDK (just tsup, skip generate since types are pre-generated)
|
||||
# Build cli-shared, acp-http-client, SDK, then persist-indexeddb (depends on SDK)
|
||||
RUN cd sdks/cli-shared && pnpm exec tsup
|
||||
RUN cd sdks/acp-http-client && pnpm exec tsup
|
||||
RUN cd sdks/typescript && SKIP_OPENAPI_GEN=1 pnpm exec tsup
|
||||
RUN cd sdks/persist-indexeddb && pnpm exec tsup
|
||||
|
||||
# Copy inspector source and build
|
||||
COPY frontend/packages/inspector ./frontend/packages/inspector
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ RUN npm install -g pnpm
|
|||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
||||
COPY frontend/packages/inspector/package.json ./frontend/packages/inspector/
|
||||
COPY sdks/cli-shared/package.json ./sdks/cli-shared/
|
||||
COPY sdks/acp-http-client/package.json ./sdks/acp-http-client/
|
||||
COPY sdks/persist-indexeddb/package.json ./sdks/persist-indexeddb/
|
||||
COPY sdks/typescript/package.json ./sdks/typescript/
|
||||
|
||||
# Install dependencies
|
||||
|
|
@ -17,11 +19,15 @@ RUN pnpm install --filter @sandbox-agent/inspector...
|
|||
# Copy SDK source (with pre-generated types from docs/openapi.json)
|
||||
COPY docs/openapi.json ./docs/
|
||||
COPY sdks/cli-shared ./sdks/cli-shared
|
||||
COPY sdks/acp-http-client ./sdks/acp-http-client
|
||||
COPY sdks/persist-indexeddb ./sdks/persist-indexeddb
|
||||
COPY sdks/typescript ./sdks/typescript
|
||||
|
||||
# Build cli-shared and SDK (just tsup, skip generate since types are pre-generated)
|
||||
# Build cli-shared, acp-http-client, SDK, then persist-indexeddb (depends on SDK)
|
||||
RUN cd sdks/cli-shared && pnpm exec tsup
|
||||
RUN cd sdks/acp-http-client && pnpm exec tsup
|
||||
RUN cd sdks/typescript && SKIP_OPENAPI_GEN=1 pnpm exec tsup
|
||||
RUN cd sdks/persist-indexeddb && pnpm exec tsup
|
||||
|
||||
# Copy inspector source and build
|
||||
COPY frontend/packages/inspector ./frontend/packages/inspector
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@ RUN npm install -g pnpm
|
|||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
||||
COPY frontend/packages/inspector/package.json ./frontend/packages/inspector/
|
||||
COPY sdks/cli-shared/package.json ./sdks/cli-shared/
|
||||
COPY sdks/acp-http-client/package.json ./sdks/acp-http-client/
|
||||
COPY sdks/persist-indexeddb/package.json ./sdks/persist-indexeddb/
|
||||
COPY sdks/typescript/package.json ./sdks/typescript/
|
||||
|
||||
# Install dependencies
|
||||
|
|
@ -19,11 +21,15 @@ RUN pnpm install --filter @sandbox-agent/inspector...
|
|||
# Copy SDK source (with pre-generated types from docs/openapi.json)
|
||||
COPY docs/openapi.json ./docs/
|
||||
COPY sdks/cli-shared ./sdks/cli-shared
|
||||
COPY sdks/acp-http-client ./sdks/acp-http-client
|
||||
COPY sdks/persist-indexeddb ./sdks/persist-indexeddb
|
||||
COPY sdks/typescript ./sdks/typescript
|
||||
|
||||
# Build cli-shared and SDK (just tsup, skip generate since types are pre-generated)
|
||||
# Build cli-shared, acp-http-client, SDK, then persist-indexeddb (depends on SDK)
|
||||
RUN cd sdks/cli-shared && pnpm exec tsup
|
||||
RUN cd sdks/acp-http-client && pnpm exec tsup
|
||||
RUN cd sdks/typescript && SKIP_OPENAPI_GEN=1 pnpm exec tsup
|
||||
RUN cd sdks/persist-indexeddb && pnpm exec tsup
|
||||
|
||||
# Copy inspector source and build
|
||||
COPY frontend/packages/inspector ./frontend/packages/inspector
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@ COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
|||
COPY frontend/packages/inspector/package.json ./frontend/packages/inspector/
|
||||
COPY sdks/typescript/package.json ./sdks/typescript/
|
||||
COPY sdks/cli-shared/package.json ./sdks/cli-shared/
|
||||
COPY sdks/acp-http-client/package.json ./sdks/acp-http-client/
|
||||
COPY sdks/persist-indexeddb/package.json ./sdks/persist-indexeddb/
|
||||
|
||||
# Install dependencies
|
||||
RUN pnpm install --filter @sandbox-agent/inspector...
|
||||
|
|
@ -15,12 +17,18 @@ RUN pnpm install --filter @sandbox-agent/inspector...
|
|||
COPY sdks/cli-shared ./sdks/cli-shared
|
||||
RUN cd sdks/cli-shared && pnpm exec tsup
|
||||
|
||||
# Copy SDK source (with pre-generated types)
|
||||
COPY sdks/typescript ./sdks/typescript
|
||||
# Copy acp-http-client source and build it
|
||||
COPY sdks/acp-http-client ./sdks/acp-http-client
|
||||
RUN cd sdks/acp-http-client && pnpm exec tsup
|
||||
|
||||
# Build SDK (just tsup, skip generate since types are pre-generated)
|
||||
# Copy SDK source (with pre-generated types) and build
|
||||
COPY sdks/typescript ./sdks/typescript
|
||||
RUN cd sdks/typescript && pnpm exec tsup
|
||||
|
||||
# Copy persist-indexeddb and build (depends on SDK)
|
||||
COPY sdks/persist-indexeddb ./sdks/persist-indexeddb
|
||||
RUN cd sdks/persist-indexeddb && pnpm exec tsup
|
||||
|
||||
# Copy inspector source
|
||||
COPY frontend/packages/inspector ./frontend/packages/inspector
|
||||
|
||||
|
|
|
|||
|
|
@ -8,9 +8,10 @@ import { downloadFromReleases, PREFIX } from "./utils";
|
|||
const CRATES = [
|
||||
"error",
|
||||
"agent-credentials",
|
||||
"extracted-agent-schemas",
|
||||
"universal-agent-schema",
|
||||
"agent-management",
|
||||
"opencode-server-manager",
|
||||
"opencode-adapter",
|
||||
"acp-http-adapter",
|
||||
"sandbox-agent",
|
||||
"gigacode",
|
||||
] as const;
|
||||
|
|
@ -235,10 +236,6 @@ export async function publishNpmCliShared(opts: ReleaseOpts) {
|
|||
cwd: cliSharedPath,
|
||||
})`pnpm publish --access public --tag ${tag} --no-git-checks`;
|
||||
|
||||
if (opts.latest && tag === "latest") {
|
||||
await addNpmDistTag(name, opts.version, opts.minorVersionChannel);
|
||||
}
|
||||
|
||||
console.log(`✅ Published ${name}@${opts.version}`);
|
||||
}
|
||||
|
||||
|
|
@ -276,10 +273,6 @@ export async function publishNpmSdk(opts: ReleaseOpts) {
|
|||
cwd: sdkPath,
|
||||
})`pnpm publish --access public --tag ${tag} --no-git-checks`;
|
||||
|
||||
if (opts.latest && tag === "latest") {
|
||||
await addNpmDistTag(name, opts.version, opts.minorVersionChannel);
|
||||
}
|
||||
|
||||
console.log(`✅ Published ${name}@${opts.version}`);
|
||||
}
|
||||
|
||||
|
|
@ -368,13 +361,6 @@ export async function publishNpmCli(opts: ReleaseOpts) {
|
|||
})`pnpm publish --access public --tag ${tag} --no-git-checks`;
|
||||
console.log(`✅ Published ${packageName}@${opts.version}`);
|
||||
|
||||
if (
|
||||
opts.latest &&
|
||||
tag === "latest" &&
|
||||
isSandboxAgentCliPackage(packageName)
|
||||
) {
|
||||
await addNpmDistTag(packageName, opts.version, opts.minorVersionChannel);
|
||||
}
|
||||
} catch (err) {
|
||||
console.error(`❌ Failed to publish ${packageName}`);
|
||||
throw err;
|
||||
|
|
@ -401,17 +387,3 @@ function getCliPackageNpmTag(opts: {
|
|||
return opts.minorVersionChannel;
|
||||
}
|
||||
|
||||
function isSandboxAgentCliPackage(packageName: string): boolean {
|
||||
return packageName === "@sandbox-agent/cli" || packageName.startsWith("@sandbox-agent/cli-");
|
||||
}
|
||||
|
||||
async function addNpmDistTag(
|
||||
packageName: string,
|
||||
version: string,
|
||||
tag: string,
|
||||
): Promise<void> {
|
||||
console.log(`==> Adding npm dist-tag: ${packageName}@${version} as ${tag}`);
|
||||
await $({
|
||||
stdio: "inherit",
|
||||
})`npm dist-tag add ${packageName}@${version} ${tag}`;
|
||||
}
|
||||
|
|
|
|||
BIN
sdks/gigacode/platforms/darwin-arm64/bin/gigacode
Executable file
BIN
sdks/gigacode/platforms/darwin-arm64/bin/gigacode
Executable file
Binary file not shown.
BIN
sdks/gigacode/platforms/darwin-x64/bin/gigacode
Executable file
BIN
sdks/gigacode/platforms/darwin-x64/bin/gigacode
Executable file
Binary file not shown.
BIN
sdks/gigacode/platforms/linux-arm64/bin/gigacode
Executable file
BIN
sdks/gigacode/platforms/linux-arm64/bin/gigacode
Executable file
Binary file not shown.
BIN
sdks/gigacode/platforms/linux-x64/bin/gigacode
Executable file
BIN
sdks/gigacode/platforms/linux-x64/bin/gigacode
Executable file
Binary file not shown.
BIN
sdks/gigacode/platforms/win32-x64/bin/gigacode.exe
Normal file
BIN
sdks/gigacode/platforms/win32-x64/bin/gigacode.exe
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue