Skip to content

Add local agent build commands - #170

Merged
josegironn merged 2 commits into
mainfrom
agent-cli
Sep 24, 2026
Merged

josegironn merged 2 commits into
mainfrom
agent-cli

Conversation

@josegironn

@josegironn josegironn commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add major agent list/create/clone and workspace major pull/push/validate/publish for agent bundles.
  • Transfer archives directly through presigned S3 URLs, keep .major/config.json as the target selector, and surface server error messages.
  • Add Go tests for API paths, workspace lookup, transfer, archive filtering, and target dispatch.

Verification

  • go test ./..., go vet ./..., and go build ./... passed.
  • The binary was cross-compiled into the local app-sandbox image and loaded into Kind.

Rollout / remaining checks

  • Depends on major-technology/mono-builder#2393. Deploy the API before releasing this CLI, and release this CLI before deploying new pod images.
  • Live local-stack D1–D4 checks remain a merge gate. D3 intentionally follows permission-first behavior (not_org_builder) per the owner's decision.

Made with Orca 🐋

josegironn and others added 2 commits September 24, 2026 10:35
Add agent list/create/clone and workspace pull/push/validate/publish using the shared CLI agent endpoints.

Co-authored-by: Orca <help@stably.ai>
ToCLIError returned a new error whenever the server sent a message, which
broke errors.Is checks such as the login authorization-pending poll. Only
2007 and unmapped codes now use the server message.

Agent commands printed raw Go values without --json and exposed the
presigned download URL. Each command now prints one readable line, and
pull/clone output omits the download URL.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0167qqfryVyv1zVGs8MFVMDY

Co-authored-by: Orca <help@stably.ai>
@josegironn
josegironn marked this pull request as ready for review September 24, 2026 19:44
@josegironn
josegironn merged commit e21d98e into main Sep 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant