Skip to content

Prepare for tinycloud 0.3.10: browser sign-in (tinycloud login) device-auth flow - #17

Merged
kdr merged 1 commit into
mainfrom
cyber-atmosphere
Jul 12, 2026
Merged

Prepare for tinycloud 0.3.10: browser sign-in (tinycloud login) device-auth flow#17
kdr merged 1 commit into
mainfrom
cyber-atmosphere

Conversation

@kdr

@kdr kdr commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

What

Version parity + additive docs for the 0.3.10 binary (built from the private
source repo). 0.3.10 adds a new login verb — an OAuth-style
device-authorization browser sign-in that provisions and saves a normal
Cloudglue cg- API key exactly like a pasted key (the raw key never touches
stdout, envelopes, or logs). It's a real command present in commands --json
(16 verbs now; cost class network, requires_auth: false, feature login.v1),
excluded only from the LLM agent's tool set because it blocks on a ~10-minute
interactive flow.

Contract delta (0.3.9 → 0.3.10)

0.3.9 0.3.10
verbs in commands --json 15 16 (+login)
features[] 30 31 (+login.v1)
command_spec_revision 8c3f3adafd66 3105fe90fed9
tarball members 84 84

login emits kind: "login", data = {account, api_base_url, key_masked, config_path, replaced_existing}. needs_credentials envelopes now also carry
setup.login_command (tinycloud login) alongside setup.command.

Changes

  • Versions → 0.3.10: package.json, .claude-plugin/plugin.json,
    .claude-plugin/marketplace.json (×2), skills/tinycloud/tinycloud-skill.json
    skill_version.
  • Floor KEPT at 0.3.7 (min_version + required_features unchanged, so
    preflight ↔ skill.json stay in sync — 23 features, >=0.3.7 <0.4.0). login
    is an onboarding/credentials convenience, not a video operation — requiring it
    would hard-fail the whole skill on 0.3.7–0.3.9 for no video-op reason. This is
    the 0.3.8 pattern (additive, version-annotated, floor kept). Paste-key +
    $CLOUDGLUE_API_KEY remain the documented fallback.
  • Docs (additive): verbs.md (login table row + section), setup.md and
    the main SKILL.md credentials paths, tinycloud-init step 2 (browser
    sign-in as the recommended connect method — user-run, since it's interactive;
    stdin paste as the agent-drivable fallback), envelope.md + SKILL.md
    needs_credentials row (setup.login_command), glossary.md term, README
    Commands table + Setup, CLAUDE.md verb count/login/CDN prose.

Verification (against the real 0.3.10 dist tarball)

Extracted tinycloud-darwin-arm64.tar.gzversion 0.3.10+1364424,
login.v1 present, login in commands --json, command_spec_revision 3105fe90fed9.

  • npm test — 42/42 pass (offline unit + e2e + skills)
  • shellcheck install.sh scripts/smoke-test.sh skills/tinycloud/scripts/preflight.sh — clean
  • claude plugin validate . — passed
  • preflight ↔ tinycloud-skill.json feature/version sync — in sync
  • TINYCLOUD_CMD=<extracted> EXPECTED_VERSION=0.3.10 bash scripts/smoke-test.sh — all pass

Release sequencing (post-merge)

Per the runbook: CDN upload (8 tarballs + 4 sidecars + manifest, channels.stable
= 0.3.10) + broad invalidation + generate-manifest --check before merge →
merge → tag v0.3.10publish-npm.yml (OIDC trusted publish, gates on the
live CDN check) → manual GitHub release v0.3.10 --latest.


Note

Low Risk
Documentation and version-metadata only; no launcher, installer, or preflight feature-gate changes—paste-key auth paths are unchanged.

Overview
Release 0.3.10 — version strings move to 0.3.10 in package.json, Claude plugin metadata, and tinycloud-skill.json skill_version; maintainer examples in CLAUDE.md follow the same pin. Skill min_version stays 0.3.7 (no new required_features for login.v1).

Documents the 0.3.10 binary contract: 16 verbs in commands --json (adds login / login.v1) — device-authorization browser sign-in that saves a masked cg- API key like paste-key setup, with setup.login_command on needs_credentials envelopes alongside setup.command.

Onboarding docs now recommend tinycloud login for humans (README, tinycloud-init, setup.md, verbs.md, glossary.md, main SKILL.md, envelope.md) while keeping setup cloudglue --stdin / $CLOUDGLUE_API_KEY for agents and headless flows.

Reviewed by Cursor Bugbot for commit 8d26112. Bugbot is set up for automated code reviews on this repo. Configure here.

…ice-auth flow

Version parity + additive docs for the 0.3.10 binary, which adds a new `login`
verb (feature `login.v1`) — an OAuth-style device-authorization browser sign-in
that provisions and saves a normal Cloudglue API key exactly like a pasted key
(raw key never printed). It's a real command present in `commands --json`
(16 verbs now; cost class network, no auth), excluded only from the LLM agent's
tool set because it blocks on an interactive flow.

- Versions → 0.3.10: package.json, plugin.json, marketplace.json (×2),
  tinycloud-skill.json skill_version.
- Floor KEPT at 0.3.7 (min_version + required_features unchanged): `login` is an
  onboarding/credentials convenience, not a video op — requiring it would
  hard-fail the whole skill on 0.3.7-0.3.9 for no video reason. Paste-key +
  $CLOUDGLUE_API_KEY remain the documented fallback. Preflight/skill.json stay
  in sync (23 features, >=0.3.7 <0.4.0).
- Docs (additive, version-annotated): verbs.md (login row + section), setup.md
  and SKILL.md credentials paths, tinycloud-init step 2 (browser sign-in as the
  recommended connect method, user-run; stdin paste as the agent-drivable
  fallback), envelope.md + SKILL.md needs_credentials row (setup.login_command),
  glossary.md term, README Commands table + Setup, CLAUDE.md verb count/CDN.

Verified against the real 0.3.10 dist tarball (version 0.3.10+1364424, feature
login.v1 present, `login` in commands --json, command_spec_revision
3105fe90fed9): npm test 42/42, shellcheck, plugin validate, preflight/skill
sync, and smoke-test.sh (EXPECTED_VERSION=0.3.10) all green.
@kdr
kdr requested a review from amyxst July 11, 2026 16:43
@kdr
kdr merged commit acd324c into main Jul 12, 2026
7 checks passed
@kdr
kdr deleted the cyber-atmosphere branch July 12, 2026 20:37
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.

2 participants