Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
753d331
chore(api): record generated baseline for build 0.1.19
AgentWings Nov 20, 2026
842b4fd
chore(api): align scalar merge base with build 0.1.19
AgentWings Nov 20, 2026
72b9dc4
chore(api): record the 0.1.19 merge base without changing CLI files (…
AgentWings Nov 20, 2026
5128905
feat(api): add machine ports and access key commands
AgentWings Nov 20, 2026
0ea178f
feat(api): add machine ports and access key commands (#129)
AgentWings Nov 20, 2026
c66aa46
feat(machines): connect after creation with --ssh
LiangShengming Nov 20, 2026
ea489b8
fix(cli): label windows ssh reconnect hints for powershell
AgentWings Nov 21, 2026
4ff0ffb
fix(cli): shorten the powershell reconnect prompt
AgentWings Nov 21, 2026
9821a02
feat(machines): connect after creation with --ssh (#120)
vitus-dedalus Nov 21, 2026
c93d399
Merge squash-merged release #128 into scalar-next
scalarbot Nov 21, 2026
ee6f9ac
fix(feedback): restore CLI diagnostics
AgentWings Nov 21, 2026
24d78d5
fix(feedback): restore CLI diagnostics (#130)
vitus-dedalus Nov 21, 2026
11e5cc0
Merge squash-merged release #131 into scalar-next
scalarbot Nov 21, 2026
aa530aa
feat(login): simplify interactive sign-in choices
AgentWings Nov 21, 2026
d82afd5
fix(login): show only public sign-in choices in help
AgentWings Nov 21, 2026
9db0dad
feat(login): simplify sign-in choices (#132)
AgentWings Nov 24, 2026
83290b1
chore: release 0.9.2
scalarbot Nov 24, 2026
84b33de
chore: release 0.9.2
github-actions[bot] Nov 24, 2026
8c3b17d
Merge squash-merged release #134 into scalar-next
scalarbot Nov 24, 2026
8cd8956
feat(cli)!: distribute the cli through pnpm (#135)
AgentWings Nov 25, 2026
f37d928
release: 0.9.3
scalar-docs[bot] Nov 25, 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
16 changes: 6 additions & 10 deletions .claude/skills/dedalus-cli-sdk/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,14 @@ Generated CLI client for Dedalus API, published as `dedalus-cli`. Use the genera
## Install

```sh
# npm (requires Node.js)
npm install -g dedalus-cli
# macOS, Linux, and Windows (requires Node.js 20+ and pnpm)
pnpm add --global dedalus-cli

# Homebrew — standalone binary, no Node.js required
# Homebrew installs Node and the same CLI package
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 dedalus
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
# macOS and Linux installer (requires Node.js 20+ and pnpm)
curl -fsSL https://www.dedaluslabs.ai/install/dedalus | bash
```

## Client setup and authentication
Expand Down Expand Up @@ -65,7 +61,7 @@ Failed requests print a structured error to standard error and exit with a statu

## Requirements

- Node.js 20 or newer — for the npm install only; the standalone binaries bundle their own runtime.
- Node.js 20 or newer and pnpm. Homebrew installs its own Node dependency.

## Reference files

Expand Down
42 changes: 12 additions & 30 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,48 +58,30 @@ jobs:
with:
node-version: "24"
registry-url: https://registry.npmjs.org
- run: npm install
- uses: pnpm/action-setup@a15d269cd4658e1107c09f1fabf4cbd7bd1f308a
with:
version: 10.20.0
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
shell: bash
- run: npm run build
- name: Build CLI
run: pnpm run build
shell: bash
- name: Read package version
run: echo "PKG_VERSION=$(node -p 'require("./package.json").version')" >> "$GITHUB_ENV"
- name: Pack Node CLI
run: pnpm pack --pack-destination release-packages
shell: bash
- run: npm install -g npm@11
shell: bash
- name: Publish to npm
run: node scripts/publish-npm.mjs
shell: bash
- name: Set up Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
with:
bun-version: 1.4.0
- name: Compile standalone binaries
run: |
ROOT="$PWD"
mkdir -p release-binaries
for target in linux-x64 linux-arm64 darwin-x64 darwin-arm64 windows-x64; do
rm -rf compile-out && mkdir -p compile-out
case "$target" in
windows-*)
bun build src/bin.ts --compile --minify --target="bun-${target}" --outfile "compile-out/dedalus.exe"
(cd compile-out && zip -q "$ROOT/release-binaries/dedalus-${target}.zip" "dedalus.exe")
;;
*)
bun build src/bin.ts --compile --minify --target="bun-${target}" --outfile "compile-out/dedalus"
tar -czf "release-binaries/dedalus-${target}.tar.gz" -C compile-out "dedalus"
;;
esac
done
rm -rf compile-out
shell: bash
- name: Attach binaries to the release
run: node scripts/publish-binaries.mjs
- name: Attach Node package to the release
run: node scripts/publish-package.mjs
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
- name: Open Homebrew release PR
run: node scripts/update-homebrew.mjs
env:
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
run: node scripts/update-homebrew.mjs
shell: bash
9 changes: 1 addition & 8 deletions .github/workflows/sdk-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,14 @@ jobs:
run: pnpm run ci:generate
shell: bash
- name: Check generated workflows
run: git diff --exit-code -- .github/workflows/sdk-ci.yml
run: git diff --exit-code -- .github/workflows
shell: bash
- name: Build CLI
run: pnpm run build
shell: bash
- name: Install and test staging package
run: node scripts/verify-staging-package.mjs
shell: bash
- name: Set up Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
with:
bun-version: 1.4.0
- name: Test native standalone binary
run: node scripts/verify-standalone.mjs
shell: bash
- name: Upload tested staging package
uses: actions/upload-artifact@v7
with:
Expand Down
42 changes: 12 additions & 30 deletions .github/workflows/sdk-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,48 +19,30 @@ jobs:
with:
node-version: "24"
registry-url: https://registry.npmjs.org
- run: npm install
- uses: pnpm/action-setup@a15d269cd4658e1107c09f1fabf4cbd7bd1f308a
with:
version: 10.20.0
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
shell: bash
- run: npm run build
- name: Build CLI
run: pnpm run build
shell: bash
- name: Read package version
run: echo "PKG_VERSION=$(node -p 'require("./package.json").version')" >> "$GITHUB_ENV"
- name: Pack Node CLI
run: pnpm pack --pack-destination release-packages
shell: bash
- run: npm install -g npm@11
shell: bash
- name: Publish to npm
run: node scripts/publish-npm.mjs
shell: bash
- name: Set up Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
with:
bun-version: 1.4.0
- name: Compile standalone binaries
run: |
ROOT="$PWD"
mkdir -p release-binaries
for target in linux-x64 linux-arm64 darwin-x64 darwin-arm64 windows-x64; do
rm -rf compile-out && mkdir -p compile-out
case "$target" in
windows-*)
bun build src/bin.ts --compile --minify --target="bun-${target}" --outfile "compile-out/dedalus.exe"
(cd compile-out && zip -q "$ROOT/release-binaries/dedalus-${target}.zip" "dedalus.exe")
;;
*)
bun build src/bin.ts --compile --minify --target="bun-${target}" --outfile "compile-out/dedalus"
tar -czf "release-binaries/dedalus-${target}.tar.gz" -C compile-out "dedalus"
;;
esac
done
rm -rf compile-out
shell: bash
- name: Attach binaries to the release
run: node scripts/publish-binaries.mjs
- name: Attach Node package to the release
run: node scripts/publish-package.mjs
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
- name: Open Homebrew release PR
run: node scripts/update-homebrew.mjs
env:
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
run: node scripts/update-homebrew.mjs
shell: bash
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ node_modules/
/apple-codesign-*/
/compile-out/
/release-binaries/
/release-packages/
/tap/
/artifacts/
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.9.2"
".": "0.9.3"
}
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [0.9.3](https://github.com/dedalus-labs/dedalus-cli/compare/v0.9.2...v0.9.3) (2026-11-25)


### ⚠ BREAKING CHANGES

* **cli:** distribute the cli through pnpm ([#135](https://github.com/dedalus-labs/dedalus-cli/issues/135))

### Features

* **cli:** distribute the cli through pnpm ([#135](https://github.com/dedalus-labs/dedalus-cli/issues/135)) ([8cd8956](https://github.com/dedalus-labs/dedalus-cli/commit/8cd89563f422f33684fbfa4a4de3b4ef6912f8ae))

## [0.9.2](https://github.com/dedalus-labs/dedalus-cli/compare/v0.9.1...v0.9.2) (2026-11-24)


Expand Down
37 changes: 21 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,29 +32,27 @@ The full API of this library can be found in [api.md](./api.md).
## Installation

```sh
# npm (requires Node.js)
npm install -g dedalus-cli
# macOS, Linux, and Windows (requires Node.js 20+ and pnpm)
pnpm add --global dedalus-cli

# Homebrew — standalone binary, no Node.js required
# Homebrew installs Node and the same CLI package
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 dedalus
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
# macOS and Linux installer (requires Node.js 20+ and pnpm)
curl -fsSL https://www.dedaluslabs.ai/install/dedalus | bash
```

### Upgrading

Run `dedalus upgrade --check` to check for a release, then `dedalus upgrade` to
install it. Package-manager installations use their owning manager. Standalone
macOS and Linux installations download the release archive and verify its
`checksums.txt` before replacing the executable.
Run `pnpm add --global dedalus-cli@latest` to upgrade a pnpm installation.
`dedalus upgrade --check` checks for a release, and `dedalus upgrade` uses the
package manager that owns the installation. Homebrew installations use Homebrew.

If your CLI does not recognize `dedalus upgrade`, reinstall it using one of the
methods above. Older Go CLI versions do not support this command.
New releases ship a Node package instead of native executables. Existing direct
downloads must migrate with the installation command above. Remove the old
executable if it takes precedence over pnpm's `dedalus` on your `PATH`.
If pnpm reports that its global bin directory is missing, run `pnpm setup` and
open a new shell before installing.

<br />

Expand Down Expand Up @@ -203,6 +201,10 @@ directory, runs the tests against the installed package, and uploads the
`dedalus-cli-staging` artifact. The artifact contains a `.tgz` and its checksum
record. This workflow does not publish to npm or Homebrew.

CI builds and tests the Node package with pnpm on Linux. Releases use
GitHub-hosted Ubuntu for npm trusted publishing and attach the same Node package
archive to GitHub. Homebrew installs that archive through pnpm and supplies Node.

Test packages are marked private and retain the production API default.
Set `DEDALUS_TEST_BASE_URL` to your test API and pass it explicitly:

Expand All @@ -218,6 +220,9 @@ Set `DEDALUS_API_KEY` to a staging credential before submitting. To reproduce CI
locally, run `pnpm install --frozen-lockfile`, `pnpm build`, and `pnpm test:package`.
Custom feedback code lives under `src/feedback` and is integrated on `scalar-next`.
Validate Scalar regeneration there before promoting a release.
Release workflow customizations live under `ci/`. After merging generated output,
run `pnpm ci:generate` and the package checks before releasing. CI rejects drift
in any generated workflow, including the release workflows.

## Shell Completion

Expand Down Expand Up @@ -317,7 +322,7 @@ Paginated commands fetch subsequent pages for you. Use `--max-items <count>` to

## Requirements

- Node.js 20 or newer — for the npm install only; the standalone binaries bundle their own runtime.
- Node.js 20 or newer and pnpm. Homebrew installs its own Node dependency.

Powered by Scalar.

Expand Down
16 changes: 6 additions & 10 deletions SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,14 @@ Generated CLI client for Dedalus API, published as `dedalus-cli`. Use the genera
## Install

```sh
# npm (requires Node.js)
npm install -g dedalus-cli
# macOS, Linux, and Windows (requires Node.js 20+ and pnpm)
pnpm add --global dedalus-cli

# Homebrew — standalone binary, no Node.js required
# Homebrew installs Node and the same CLI package
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 dedalus
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
# macOS and Linux installer (requires Node.js 20+ and pnpm)
curl -fsSL https://www.dedaluslabs.ai/install/dedalus | bash
```

## Client setup and authentication
Expand Down Expand Up @@ -65,7 +61,7 @@ Failed requests print a structured error to standard error and exit with a statu

## Requirements

- Node.js 20 or newer — for the npm install only; the standalone binaries bundle their own runtime.
- Node.js 20 or newer and pnpm. Homebrew installs its own Node dependency.

## Reference files

Expand Down
6 changes: 6 additions & 0 deletions VERSIONING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ branch — so the PR diff shows the full pending release — and are versioned f
release, publishes it, and syncs the version bump and changelog back to `scalar-next`.
Pre-1.0, breaking changes bump the minor version.

CLI distribution is customized on `scalar-next`: pnpm builds and packs the Node
package, and the release workflow publishes it to npm and GitHub. No native
executable compilation is required. Workflow sources live under `ci/`; regenerate
them with `pnpm ci:generate` after integrating generated output, then run
`pnpm build` and `pnpm test:package` before promoting the release.

### Choosing an exact version

To release a specific version — `1.0.0`, a hotfix number, anything the commit history would
Expand Down
Loading
Loading