No description
  • JavaScript 98%
  • HTML 1.2%
  • CSS 0.6%
  • PowerShell 0.1%
  • Shell 0.1%
Find a file
sakisakisa ad0dd51213
Add zero-dependency desktop distribution for macOS and Windows (#48)
* Add zero-dependency desktop distribution for macOS and Windows

* Fix role packs, T3 replacement and checksum in the desktop installers

- The release archive now carries the runner's four built-in role packs.
- install.sh and install.ps1 stop, and change nothing, when another T3 Code
  version is installed, unless AELIOS_REPLACE_T3=1. A bad AELIOS_T3_APP now
  stops the install instead of falling through to a download.
- A missing or incomplete SHA256SUMS.txt now fails the install instead of
  skipping the check.
- The first-run wizard checks for cf and npx before the Cloudflare approval
  and says what to install when they are missing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Make the tests pass on Windows

- Tests resolve their own files with fileURLToPath, not URL.pathname,
  which gives "/D:/..." on Windows.
- The open test uses the filesystem root as its outside path; "/etc" does
  not exist on Windows.
- profilePaths builds macOS and Linux paths with posix joins on any host.
- A file outside the workspace is labelled by its name on Windows too
  ("..\x" was not recognised), and inside paths use forward slashes.
- .gitattributes checks text out with LF and keeps the Worker bundles byte
  for byte, so their manifest hashes hold on a Windows checkout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: saki0723 <saki0723@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-11-24 17:01:00 +08:00
.github/workflows Add zero-dependency desktop distribution for macOS and Windows (#48) 2026-11-24 17:01:00 +08:00
.kiro Use signed T3 Code for Aelios Desktop (#45) 2026-11-22 17:12:38 +08:00
packages Add zero-dependency desktop distribution for macOS and Windows (#48) 2026-11-24 17:01:00 +08:00
scripts Add zero-dependency desktop distribution for macOS and Windows (#48) 2026-11-24 17:01:00 +08:00
.gitattributes Add zero-dependency desktop distribution for macOS and Windows (#48) 2026-11-24 17:01:00 +08:00
.gitignore Add zero-dependency desktop distribution for macOS and Windows (#48) 2026-11-24 17:01:00 +08:00
LICENSE License: AGPL-3.0-only; notices for DSH (MIT) and DS Bot (Apache-2.0) 2026-11-07 20:29:32 +08:00
package-lock.json Use signed T3 Code for Aelios Desktop (#45) 2026-11-22 17:12:38 +08:00
package.json Add zero-dependency desktop distribution for macOS and Windows (#48) 2026-11-24 17:01:00 +08:00
README.md Add zero-dependency desktop distribution for macOS and Windows (#48) 2026-11-24 17:01:00 +08:00
THIRD_PARTY_NOTICES.md Use signed T3 Code for Aelios Desktop (#45) 2026-11-22 17:12:38 +08:00

Aelios-desktop

Aelios-desktop is the local half of a cloud AI resident. The resident (Aelios-resident) runs in the cloud and works fine without it. Aelios-desktop adds hands on one machine: it lets the resident hand work to a coding helper that runs in a folder you choose, and it brings back questions, results and stuck jobs.

Built for Kiroween 2026. The .kiro folder at the root holds the steering files, the spec and the hook used to build it.

Run on the desktop

One-command install (macOS & Windows)

Aelios Desktop runs on top of the official signed T3 Code 0.1.11 release and ships with a prebuilt UI bundle, so end users do not need local Node.js, Git, or custom code-signing certificates.

On macOS:

curl -fsSL https://github.com/Aelios-project/Aelios-desktop/releases/latest/download/install.sh | sh

On Windows (PowerShell):

irm https://github.com/Aelios-project/Aelios-desktop/releases/latest/download/install.ps1 | iex

The installer checks for a verified T3 Code 0.1.11 installation (installing the official signed T3 Code release if none is installed; if another T3 Code version is installed it stops and changes nothing unless you rerun it with AELIOS_REPLACE_T3=1), installs the prebuilt Aelios Desktop payload, and creates a desktop app launcher (~/Applications/Aelios Desktop.app on macOS, Start Menu and Desktop shortcuts on Windows) plus the aelios-desktop command.

Run from source

Install T3 Code 0.1.11 on macOS or Windows. From this checkout, use Node 22.13 or newer.

npm ci
npm run desktop

To build the prebuilt release artifacts locally (dist/release/aelios-desktop.tar.gz, aelios-desktop.zip, install.sh, install.ps1, and SHA256SUMS.txt), run npm run build:release.

The T3 window opens directly to Aelios. Use Manage local agents in the setup wizard or Settings → Local agents to add, sign in to, and configure agents. Set a default agent and model under This machine or pick one for each machine thread. T3 manages its local provider sessions, while Aelios connects those threads to Resident's conversation, Waiting list and receipts. See desktop setup for details.

Run the tests with npm test from the repository root. The opt-in T3 test uses fixture agents and a mock Resident. See verification.

How it relates to Aelios-resident

Aelios-resident holds the cloud conversation and sends jobs. The relay dials out, takes jobs, and reports progress and results. The desktop chooses the execution model, workspace and maximum permission on this machine.

Cloud Resident <── aelios-runner/1 ── Aelios relay ── loopback RPC ── T3 threads and agents

Pre-existing work

For the Kiroween rules, this is what was there before the submission period (2026-10-30 to 2026-12-04) and what is new.

  • Aelios-resident is the cloud resident. It existed before the submission period and is not part of this submission. The repository is Aelios-project/Aelios-resident.
  • The runner was first written on 2026-11-07, inside Aelios-resident, in PR #65 (commit feba81c, the ACP runner with Kiro and DSH plugs) and PR #67 (squashed into e46f199 on main, the aelios-runner/1 protocol). It was then moved here with its history, using git subtree split --prefix=runner. The commits in packages/runner keep their original dates and messages (bf5f186 and 04b93f2 are the same two changes before the squash).
  • The cloud half of the protocol (src/machine.ts and the matching changes in Aelios-resident, PR #67) was also written on 2026-11-07, inside the submission period. The runner needs it to work. The rest of Aelios-resident existed before the period.
  • Changes after the move include the desktop interface, the first-run wizard and the T3 runtime integration.
  • The desktop app plan, the .kiro folder, and the root files are new in this repository.
  • The desktop interface copies styles and components from Aelios-resident (AGPL-3.0, same author). Each copied file says in its header where it came from. This repository is AGPL-3.0-only for that reason and so that nobody can take it closed-source or sell it without sharing their changes.

License

AGPL-3.0-only. See LICENSE and THIRD_PARTY_NOTICES.md.