Skip to content

Improve AGS CLI DX guardrails - #36

Closed
keithfx999 wants to merge 1 commit into
TencentCloudAgentRuntime:mainfrom
keithfx999:codex/ags-cli-dx-ax-fixes
Closed

Improve AGS CLI DX guardrails#36
keithfx999 wants to merge 1 commit into
TencentCloudAgentRuntime:mainfrom
keithfx999:codex/ags-cli-dx-ax-fixes

Conversation

@keithfx999

Copy link
Copy Markdown
Member

Summary

  • tighten CLI error handling, config validation, backend selection, and non-TTY root behavior
  • align E2B run/exec/file flows around a shared sandbox helper with clearer API errors and token handling
  • update docs plus local DX audit records for discovered CLI/documentation issues

Tests

  • go build -o /tmp/ags-dx-fix .
  • go test ./...
  • go vet ./...
  • golangci-lint run ./...
  • git diff --check

Smoke checks

  • non-TTY root command prints help instead of panicking
  • JSON error mode returns structured missing-key errors
  • fake E2B key surfaces E2B auth failure instead of Cloud SDK signature failure
  • local flag validation catches invalid run/mobile/browser inputs before network work

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