feat(cli): add offline deploy with --upload-url for custom S3 - #1629
Conversation
Allow deploy --pack-only and --upload-url to build and package without login, project registration, or agentuity.json, and PUT the zip to a caller-provided presigned URL.
|
The latest Agentuity deployment details.
View deployment logs with the Agentuity CLI: |
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 54 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
Comment |
📦 Canary Packages Publishedversion: PackagesInstallAdd to your {
"dependencies": {
"@agentuity/skills": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-skills-3.1.14-2df8f70.tgz",
"@agentuity/aigateway": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-aigateway-3.1.14-2df8f70.tgz",
"@agentuity/sandbox": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-sandbox-3.1.14-2df8f70.tgz",
"@agentuity/vite": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-vite-3.1.14-2df8f70.tgz",
"@agentuity/schedule": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-schedule-3.1.14-2df8f70.tgz",
"@agentuity/migrate": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-migrate-3.1.14-2df8f70.tgz",
"@agentuity/db": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-db-3.1.14-2df8f70.tgz",
"@agentuity/adapter": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-adapter-3.1.14-2df8f70.tgz",
"@agentuity/coder": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-coder-3.1.14-2df8f70.tgz",
"@agentuity/client": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-client-3.1.14-2df8f70.tgz",
"@agentuity/email": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-email-3.1.14-2df8f70.tgz",
"@agentuity/cli": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-cli-3.1.14-2df8f70.tgz",
"@agentuity/queue": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-queue-3.1.14-2df8f70.tgz",
"@agentuity/pi": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-pi-3.1.14-2df8f70.tgz",
"@agentuity/core": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-core-3.1.14-2df8f70.tgz",
"@agentuity/claude-code": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-claude-code-3.1.14-2df8f70.tgz",
"@agentuity/stream": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-stream-3.1.14-2df8f70.tgz",
"@agentuity/opencode": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-opencode-3.1.14-2df8f70.tgz",
"@agentuity/telemetry": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-telemetry-3.1.14-2df8f70.tgz",
"@agentuity/hono": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-hono-3.1.14-2df8f70.tgz",
"@agentuity/schema": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-schema-3.1.14-2df8f70.tgz",
"@agentuity/webhook": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-webhook-3.1.14-2df8f70.tgz",
"@agentuity/api": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-api-3.1.14-2df8f70.tgz",
"@agentuity/server": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-server-3.1.14-2df8f70.tgz",
"create-agentuity": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/create-agentuity-3.1.14-2df8f70.tgz",
"@agentuity/task": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-task-3.1.14-2df8f70.tgz",
"@agentuity/coder-tui": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-coder-tui-3.1.14-2df8f70.tgz",
"@agentuity/analytics": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-analytics-3.1.14-2df8f70.tgz",
"@agentuity/keyvalue": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-keyvalue-3.1.14-2df8f70.tgz",
"@agentuity/storage": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-storage-3.1.14-2df8f70.tgz",
"@agentuity/genesis": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-genesis-3.1.14-2df8f70.tgz",
"@agentuity/runtime": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-runtime-3.1.14-2df8f70.tgz",
"@agentuity/drizzle": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-drizzle-3.1.14-2df8f70.tgz",
"@agentuity/config": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-config-3.1.14-2df8f70.tgz",
"@agentuity/postgres": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-postgres-3.1.14-2df8f70.tgz",
"@agentuity/vector": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-vector-3.1.14-2df8f70.tgz"
}
}Or install directly: bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-skills-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-aigateway-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-sandbox-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-vite-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-schedule-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-migrate-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-db-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-adapter-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-coder-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-client-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-email-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-cli-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-queue-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-pi-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-core-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-claude-code-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-stream-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-opencode-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-telemetry-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-hono-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-schema-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-webhook-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-api-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-server-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/create-agentuity-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-task-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-coder-tui-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-analytics-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-keyvalue-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-storage-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-genesis-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-runtime-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-drizzle-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-config-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-postgres-3.1.14-2df8f70.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/3.1.14-2df8f70/agentuity-vector-3.1.14-2df8f70.tgz |
Allow --project-id, --org-id, and --region (or env vars) to override the offline/local stubs when packing or uploading without cloud auth.
Summary
--upload-urlsoagentuity deploycan build, package, and PUT a plain deployment zip to a presigned/one-time S3 (or HTTP) URL.--pack-onlyand/or--upload-urlas offline mode: skip login, project registration, agentuity.json validation, DNS checks, encryption, and cloud APIs.--pack-only/--pack-output; with only--upload-url, use a temp zip and delete it after upload.Usage
Test plan
uploadUrl, invalid URL)uploadDeploymentZip(PUT headers + non-2xx error)bun run typecheckin packages/cliagentuity deploy --helpshows--upload-urland offline examplesagentuity deploy --pack-onlywithout login / without agentuity.jsonagentuity deploy --upload-url <presigned>uploads zip successfully