@callcorpacd/sandbox-cli
v0.1.9
Published
Login, publish, upload-source, and embed-snippet helpers for CallCorp sandboxed guest apps
Keywords
Readme
@callcorpacd/sandbox-cli
CLI for CallCorp sandboxed guest apps.
callcorp-sandbox login
callcorp-sandbox whoami
callcorp-sandbox embed-snippet --mode dev|prod
callcorp-sandbox publish [--target platform-file|mass-storage] [--no-build] [--owner-id <id>]
callcorp-sandbox upload-source [--tag build] [--app-name <name>]upload-source zips the project (skipping node_modules, .git, dist, etc.), calls Apps/GetApplicationUploadInfo, PUTs the zip to the returned S3 URL, then GETs streamUrl and prints the streamed build log until it ends. appName defaults to appId in callcorp.sandbox.json; tag defaults to build.
Credentials are resolved in order:
- A parent BuildCC workspace:
.buildcc/secrets.json(apiKey) and optional.buildcc/workspace.json(host) ~/.callcorp/sandbox.json(API base + API key and/or access token)
If either source has a key, publish / whoami / upload-source work without running login. Interactive login defaults to a discovered BuildCC key when present.
See ../PlatformBridge/AUTHORING.md. Template catalog: ../create-callcorp-sandbox/templates/README.md. Partners: ../create-callcorp-sandbox/PARTNER.md. Scaffolded apps include a stack-specific AGENTS.md for assistant-oriented guidance.
