Commit Graph
37 Commits
Author SHA1 Message Date
nandiandClaude Opus 5.5 6d35f207fd Move the means package to orbit-packages
Rolling Release / build (push) Successful in 1m46s
Rolling Release / publish (push) Successful in 9s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 05:11:15 -08:00
nandiandClaude Opus 5.5 47a80fad04 Cache channel listings for search
Rolling Release / build (push) Successful in 1m46s
Rolling Release / publish (push) Successful in 9s
Search keeps each channel's list for an hour, so a repeat needs no
network, and uses the old copy with a warning if the registry fails.
`--refresh` skips the cache; publish, index, login and logout drop it.

A test command no longer writes to stdout, where it could corrupt the
test runner's results.

Planning: bnbr1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 05:04:06 -08:00
nandiandClaude Opus 5.5 8f202290b9 Add a script to package means
Rolling Release / build (push) Successful in 1m41s
Rolling Release / publish (push) Successful in 9s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 05:02:07 -08:00
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 dfda555f9b Track the backlog with means
Rolling Release / build (push) Successful in 1m42s
Rolling Release / publish (push) Successful in 9s
Same setup as chattocorp/geordi: a planning/ collection, an MCP server for
agents, and AGENTS.md pointing at it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 04:56:36 -08:00
nandiandClaude Opus 5.5 e2f0ac27e1 Don't warn when an anonymous read succeeds
Rolling Release / build (push) Successful in 1m49s
Rolling Release / publish (push) Successful in 9s
A rejected login is now an error when it matters and silent otherwise.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 04:47:41 -08:00
nandiandClaude Opus 5.5 c8d7f59633 Upload large layers in chunks
Rolling Release / build (push) Successful in 1m54s
Rolling Release / publish (push) Successful in 8s
A registry's ingress can cut off one long request; moonbit-orbit needed a
separate uploader for that.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 21:00:37 -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
nandiandClaude Opus 5.5 2026319f61 Read anonymously when a saved login is rejected
Rolling Release / build (push) Successful in 1m38s
Rolling Release / publish (push) Successful in 8s
A stale login made every read fail, and search blamed the registry for
it. Reads now warn and retry without the login; publishing never does.
A refused or missing package after the fallback reports the rejected
login, so a private package can't be replaced from a lower channel.

Search shows the real error, and the README no longer says Gitea lacks
the catalog API.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 20:35:29 -08:00
nandiandClaude Opus 5.5 83e694c6c4 Prove the semver and solver kernel instead of testing it
Rolling Release / build (push) Successful in 1m39s
Rolling Release / publish (push) Successful in 8s
Move number parsing, version ordering and constraints, version sorting and
solver literals into src/kernel, with contracts checked by moon prove under
overflow-checked integers. Replace the semver behaviour tests with those
proofs, keep tests for string parsing, and run the proofs in CI.

Version numbers are now 64-bit: the old parser silently wrapped at 2^31.
Drop pick_tag, which only tests called.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:56:21 -08:00
nandiandClaude Opus 5.5 2d815bbb75 Add rolling release built with Zig's musl toolchain
Rolling Release / build (push) Successful in 1m40s
Rolling Release / publish (push) Successful in 8s
Build a static Linux x86_64 binary with zig cc, linking OpenSSL in and
serving it to moonbitlang/async through a dlopen shim. CI publishes it to
the rolling release on every push to main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:50:10 -08:00
nandi 3ca9e8ed1d Add example project with locked dependencies and tasks
- Add examples/project with orbit.toml declaring hello and greet (example channel)
- Pin resolved versions and digests in orbit.lock
- Add demo.sh and a demo task that calls hello and greet from .orbit/bin
- Ignore the generated .orbit/ directory and document usage in its README
- Link the example from the main README
2026-11-28 12:13:00 -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
nandi f8c9b99ee3 Add orbit SVG favicon
- Add a 64x64 favicon.svg with the orbit logo mark
- Use a dark slate background with violet orbit rings
2026-11-27 13:14:25 -08:00
nandi e9e51459dc Merge pull request 'Show package before channel in orbit search' (#7) from search-columns into main 2026-11-27 21:11:23 +00:00
nandiandClaude Haiku 5.5 ec64fb07cf Show package before channel in orbit search
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-27 00:11:46 -08:00
nandi 44d7ac2346 Merge pull request 'Search as a table, Orbit-only results, and spinner fix' (#6) from orbit-search-filter into main 2026-11-27 08:09:43 +00:00
nandiandClaude Haiku 5.5 984494f556 Skip nested channel namespaces in orbit search
A repo such as example/greet under main is another channel's package, and
its name is not a valid package name, so search no longer lists it under main.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-26 23:59:10 -08:00
nandiandClaude Haiku 5.5 8eadda5815 Show orbit search results as a table
Search prints CHANNEL, PACKAGE, VERSION and DESCRIPTION columns. Version and
description come from the manifest annotations, so no extra requests are made.
Empty results say which term matched nothing.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-26 23:27:49 -08:00
nandiandClaude Haiku 5.5 6a369dfa5e Mark Orbit packages with artifactType and filter search by it
orbit publish sets the manifest artifactType to application/vnd.latha.orbit.v1.
orbit search checks each matching repository's latest manifest in parallel and
lists only Orbit packages, so Helm charts and other OCI artifacts no longer
appear. Packages published earlier are recognised by their config media type.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-26 23:19:43 -08:00
nandiandClaude Haiku 5.5 a999db54a8 Fix spinner hang and use braille frames
The spinner ran as a background task that outlived the command, so a
terminal run of orbit search never returned. It is now a child task that
is cancelled once the command finishes, and it starts immediately with
braille frames. upgrade skips the metadata fetch for an unchanged build
whose description is already saved.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-26 22:59:16 -08:00
nandi 83a1784fca Merge pull request 'Use moonbitlang/async for process and file IO' (#5) from orbit-async-io into main 2026-11-27 06:42:34 +00: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
nandi 65e5dc966f Merge pull request 'Add README to the greet example directory' (#4) from greet-example-readme into main 2026-11-27 04:43:11 +00:00
nandi 2eff722311 Add README to the greet example directory 2026-11-26 20:43:02 -08:00
nandi 6069a261db Merge pull request 'Add documentation metadata for Orbit packages' (#3) from greet-package-docs into main 2026-11-27 04:38:38 +00:00
nandi 28b13e7a96 Add documentation metadata for Orbit packages 2026-11-26 20:38:29 -08:00
nandi 49739fc9f9 Merge pull request 'Add Orbit package channels' (#2) from package-orbit into main 2026-11-27 02:57:50 +00: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
nandiandClaude Sonnet 5.5 f938945901 Add justfile with build, test and install recipes
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 18:22:57 -08:00
nandi 216ff99dd0 Merge pull request 'Package Orbit with Orbit' (#1) from package-orbit into main 2026-11-27 02:21:35 +00:00
Delta Cloud Runner 726929f891 Package Orbit with Orbit 2026-11-27 02:18:50 +00: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