Commit Graph
10 Commits
Author SHA1 Message Date
nandiandClaude Opus 5.5 ec0b6eaa0f Add --version
Rolling Release / build (push) Successful in 1m47s
Rolling Release / publish (push) Successful in 8s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 04:58:11 -08:00
nandiandClaude Opus 5.5 4271a084b6 Give each channel a package index
Rolling Release / build (push) Successful in 1m48s
Rolling Release / publish (push) Successful in 9s
orbit-index:latest in a channel lists its packages. Search reads it and
falls back to the catalog; publish keeps it current and 'orbit index'
rebuilds it. Installs never use it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 20:48:31 -08:00
nandi 13aa7d7f77 Add Pixi-style project environments and SAT dependency solver
- Add orbit.toml project manifests, deterministic orbit.lock files, [tasks], and `orbit run`
- Add per-project .orbit/bin environments; `-g`/`--global` targets the global environment
- Replace greedy global resolution with a lazy CDCL SAT solver that explains conflicts
- Support channel::pkg dependency pins and comma-separated, comparison, and wildcard constraints
- Cache immutable sha256 manifests under ~/.orbit/cache/manifests
- Validate dependency keys and constraints in orbit.json
2026-11-28 01:43:04 -08:00
nandi 0919ce105c Replace oras with native OCI registry client and add login
- Talk to OCI Distribution v2 registries directly over HTTP/TLS; oras is no longer required on PATH
- Add `orbit login <host>` and `orbit logout <host>`; credentials go to $ORBIT_ROOT/auth.json (mode 0600)
- Fall back to Docker config (credHelpers and credsStore) when no Orbit credentials exist
- Verify layer downloads with streaming SHA-256
- Fall back to the next channel only on HTTP 404 instead of matching oras error text
- Update README and moon.mod to drop oras references
2026-11-27 15:46:41 -08:00
nandiandClaude Haiku 5.5 ec21287549 Use moonbitlang/async for process and file IO
Process execution and file access go through @process and @fs. The spinner
is a background task in a task group, and the C stub keeps only getenv,
exit, isatty, symlink and stderr output. orbit info reads installed state
only, and it records and restores package descriptions. just install adds
Orbit's bin directory to ~/.bashrc once.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-26 22:40:18 -08:00
nandiandClaude Sonnet 5.5 61ebc21fce Add pixi-style channels configured in config.toml
The built-in main channel is always included. Priority is strict, packages
remember their channel, and only a missing repository falls through to the
next channel.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 18:40:55 -08:00
nandiandClaude Sonnet 5.5 32714325a7 Let orbit init run without a registry argument
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 18:30:49 -08:00
nandiandClaude Sonnet 5.5 64fd782b0d Default to git.site.latha.org/nandi registry
ORBIT_REGISTRY overrides it, as does a registry saved by orbit init.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 18:30:06 -08:00
Claude 5a91e87d64 Build with current MoonBit toolchain
Migrate to moon.mod/moon.pkg, update suberror and Json construction
syntax, import @json, annotate FFI params #borrow, and clear all
deprecation warnings. Builds cleanly, tests pass, and the CLI was
smoke-tested against a local registry:2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hhm28fFg1zAegJABvu
2026-11-27 01:33:28 +00:00
Claude efeaa326c8 orbit: OCI/ORAS-backed package manager in MoonBit
Initial, not yet compiled: CLI, semver constraints, dependency planner,
content-addressed store, install/remove/upgrade/rollback/gc, publish.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hhg7TTpuaCymoNQWmQ
2026-11-26 17:21:17 -08:00