Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
50afe86
feat(api): initial SDK generation
scalarbot Aug 10, 2026
fd5540f
chore(api): regenerate SDK
scalarbot Aug 10, 2026
4a96efb
chore(api): regenerate SDK
scalarbot Aug 26, 2026
82b06cd
feat(api)!: update environment production (+88 more changes)
scalarbot Sep 9, 2026
20479e6
chore(api): update generated SDK content
scalarbot Sep 9, 2026
78fa6f6
feat(api)!: update property create_params.memory_mib (+5 more changes)
scalarbot Sep 9, 2026
6cc1e75
test(cli): verify hosted customization preservation
AgentWings Sep 9, 2026
ccfecc2
test(cli): remove temporary regeneration command
AgentWings Sep 9, 2026
8831537
feat(cli): add confirmed machine renaming (#46)
AgentWings Sep 11, 2026
fbf5159
feat(cli): connect to machines with verified SSH certificates (#47)
AgentWings Sep 11, 2026
3fdd401
feat(cli): select SSH machines interactively (#45)
AgentWings Sep 11, 2026
2cb7231
feat(feedback): record scoped local diagnostics
AgentWings Sep 10, 2026
e2a0034
fix(feedback): select diagnostics by terminal command outcome
AgentWings Sep 11, 2026
65d5c5f
feat(feedback): build bounded diagnostic attachments
AgentWings Sep 10, 2026
92a5df4
test(feedback): model completed failures in attachment fixtures
AgentWings Sep 11, 2026
91bc2a9
feat(feedback): capture CLI request diagnostics
AgentWings Sep 10, 2026
178c2cd
fix(feedback): remove duplicate runtime exports
AgentWings Sep 14, 2026
06a6067
feat(feedback): submit CLI diagnostic reports
AgentWings Sep 10, 2026
3b67ed3
fix(cli): preserve structured API error responses
AgentWings Sep 11, 2026
7b1563d
test(cli): verify downloadable staging packages
AgentWings Sep 10, 2026
a3efc89
fix(feedback): retain receipts for local command failures
AgentWings Sep 10, 2026
2c1e63b
fix(feedback): generate valid automatic retry keys
AgentWings Sep 11, 2026
645c3bd
chore(cli): reconcile published release history
AgentWings Sep 15, 2026
ad6e4b4
fix(feedback): generate valid automatic retry keys (#60)
AgentWings Sep 15, 2026
fcd272f
chore(cli): synchronize scalar source history
windsornguyen Sep 23, 2026
367adb4
chore(cli): reconcile published v0.6.0 history
windsornguyen Sep 23, 2026
930b93e
chore(cli): reconcile published release history (#102)
windsornguyen Sep 23, 2026
ce2684d
chore(api): regenerate SDK
scalarbot Sep 23, 2026
a77f461
fix(cli): preserve custom commands through regeneration
windsornguyen Sep 23, 2026
3cafcbe
Resolve conflicts: scalar-generated into scalar-next (#104)
windsornguyen Sep 23, 2026
634e8df
feat(api)!: update auth scheme BearerAuth (+122 more changes)
scalarbot Sep 23, 2026
22cc135
Merge scalar-generated into scalar-next (build 3GBYTz5OEOeRfZnsJPf6V)
scalarbot Sep 23, 2026
c88225c
feat(api)!: remove auth scheme Bearer (+25 more changes)
scalarbot Sep 23, 2026
cbd1e3a
fix(cli): integrate current public API contracts
windsornguyen Sep 23, 2026
0128b76
Resolve conflicts: scalar-generated into scalar-next (#105)
windsornguyen Sep 23, 2026
01c3c79
feat(auth): enable generated browser login
AgentWings Sep 23, 2026
58afece
chore(api): update generated SDK content
scalarbot Sep 24, 2026
c2915fd
Merge scalar-generated into scalar-next (build r2EG6dIaRKAVNT85HR2Jf)
scalarbot Sep 24, 2026
c4507a0
fix(auth): revoke saved browser sessions on logout
AgentWings Sep 29, 2026
6ad1f27
fix(auth): allow local logout when revocation fails
AgentWings Sep 29, 2026
8200172
feat(auth): enable generated browser login (#106)
LiangShengming Sep 29, 2026
2e3a542
release: 0.7.0
scalar-docs[bot] Sep 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions .claude/skills/dedalus-cli-sdk/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
name: dedalus-cli-sdk
description: "CLI SDK for Dedalus API. Use when writing CLI code that calls Dedalus API with the dedalus-cli package: installing it, constructing and authenticating the client, and calling API operations."
---

# Dedalus CLI SDK

Generated CLI client for Dedalus API, published as `dedalus-cli`. Use the generated client instead of hand-writing HTTP requests.

## Install

```sh
# npm (requires Node.js)
npm install -g dedalus-cli

# Homebrew — standalone binary, no Node.js required
brew install dedalus-labs/tap/dedalus

# Direct download — standalone binary, no Node.js required
curl -fsSL "https://github.com/dedalus-labs/dedalus-cli/releases/latest/download/dedalus-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m | sed 's/x86_64/x64/;s/aarch64/arm64/').tar.gz" | tar xz
sudo mv dedalus /usr/local/bin/

# Windows — download and extract dedalus-windows-x64.zip, then add it to PATH
# https://github.com/dedalus-labs/dedalus-cli/releases/latest/download/dedalus-windows-x64.zip
```

## Client setup and authentication

Provide credentials using the options below. Environment variables are read automatically when the target runtime supports them:

- `--api-key` (env: `DEDALUS_API_KEY`) — Dedalus API key or short-lived delegated access token in Authorization: Bearer <credential>.
- `--x-api-key` (env: `DEDALUS_X_API_KEY`) — Dedalus API key. Alternative to Bearer token.

## Calling operations

```sh
dedalus [resource] [command] [flags]

dedalus machines create \
--x-api-key "$DEDALUS_X_API_KEY" \
--autosleep '300s' \
--memory-mib '4096' \
--storage-gib '10' \
--vcpu '1'
```

Method names, parameter shapes, and response types are generated from the API description — do not guess them. Look up the exact call signature in [api.md](../../../api.md) before writing a call.

## Pagination

Paginated commands fetch subsequent pages for you. Use `--max-items <count>` to cap the total number of items returned.

## Error handling

Failed requests print a structured error to standard error and exit with a status that identifies the failure class. The error body carries the API's own `message` plus a stable `code`, the HTTP `status`, the `requestId`, and — where one applies — an actionable `hint`. Usage errors (exit `2`) are reported as a plain message instead, since no request was made. Exit statuses: `0` success, `1` `error`, `2` `usage`, `10` `auth-failed`, `11` `not-found`, `12` `rate-limited`, `13` `client-error`, `14` `server-error`, `15` `connection-error`.

## Working with this SDK programmatically

- Pass `--format toon` for token-efficient structured output: a uniform list collapses into one header plus a row per item, with a definitive `[N]` count. Use `--format json` when the output is fed to a JSON parser.
- Use `--max-items <count>` to bound paginated, streaming, and WebSocket commands before they fill the context, and `--transform <dot.path>` to keep only the field you need.
- Endpoint commands never prompt, so they are safe to run non-interactively. Credentials come from the documented environment variables or their flags. `login` is meant for a human at a terminal, so do not drive it: a flow that reads a credential refuses a non-terminal stdin outright, and a browser or device flow waits for a person to finish signing in elsewhere before it gives up. Set the credential through its environment variable or flag instead.
- Branch on the exit status rather than on stderr text: `0` success, `1` `error`, `2` `usage`, `10` `auth-failed`, `11` `not-found`, `12` `rate-limited`, `13` `client-error`, `14` `server-error`, `15` `connection-error`. A failed request repeats its class on stderr as a stable `code`, with a `hint` when there is a concrete next step; exit `2` is a plain message with no structured body, because the command never ran.
- Run `dedalus --help` or `dedalus <resource> --help` to discover commands and flags, and `man dedalus` for the full reference.

## Requirements

- Node.js 20 or newer — for the npm install only; the standalone binaries bundle their own runtime.

## Reference files

- [README.md](../../../README.md) — full feature tour: client options, retries and timeouts, logging.
- [api.md](../../../api.md) — complete catalogue of every operation with request and response types.
4 changes: 0 additions & 4 deletions .github/CODEOWNERS

This file was deleted.

3 changes: 3 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
self-hosted-runner:
labels:
- blacksmith-4vcpu-ubuntu-2404
29 changes: 0 additions & 29 deletions .github/actions/setup-go/action.yml

This file was deleted.

116 changes: 0 additions & 116 deletions .github/workflows/ci.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/publish-release.yml

This file was deleted.

Loading
Loading