Releases: octaspace/octa-cli
Release list
v0.2.0
octa-cli v0.2.0
Fixes a critical live decode bug and rounds out -o json and error-message
coverage across the CLI.
Fixed
- Critical: any account with an active compute (MR) rental could not run
octa sessions,sessions stop/info,compute logs/connect, orvpn status— all failed withcannot unmarshal array into Go struct field Session.container_id of type string. The live API returnscontainer_id
as a JSON array for compute sessions, but go-sdk typed it as a bare
string, breaking decoding of the entire/sessionslist and
/services/:uuid/info, not just that field. Fixed by bumping
github.com/octaspace/go-sdkto
v0.5.0.
Verified against a live account with an active session. - Argument-count errors (e.g.
octa nodes priceswith no ID) now name the
missing argument and print the command's usage line, instead of cobra's
bareaccepts 1 arg(s), received 0. octa nodes showno longer prints a fabricatedPrices — (see 'nodes list')row; the/nodes/:idendpoint doesn't return prices, so the row is
simply omitted.
Added
-o table|jsonon every command that was still missing it:compute search,compute deploy,compute logs,nodes show,nodes prices,
nodes reboot,sessions stop,vpn relay search,vpn relay set,
vpn relay get,vpn connect,vpn disconnect,auth.
Changed
- Removed the per-state/per-row color palette from table and label/value
output. Headers stay bold; everything else renders in the terminal's
default foreground color.
Upgrade notes
- No flag, command, or config renames.
nodes show,compute search,compute logs, andvpn relay search
support-o jsonnow, but marshal the SDK's typed model rather than a raw
server passthrough — the SDK has no raw accessor for these. See
docs/json-output.md
for which commands are raw passthrough vs. typed/derived.
Artifacts
Five binaries (linux/amd64, linux/arm64, darwin/amd64, darwin/arm64,
windows/amd64) plus SHA256SUMS. No cryptographic signing yet — verify with
the published checksums.
Full changelog: see CHANGELOG.md (section [0.2.0]).
v0.1.1
octa-cli v0.1.1
Bug-fix release for octa nodes show.
Fixed
octa nodes show <id>now reports CPU, RAM, disk, GPU, uptime and agent
version correctly. The/nodes/:idendpoint returns a different JSON envelope
than/nodes(system details underdata, no top-levelprices), which the
SDK previously decoded into the list-shaped struct, leaving every load field
at zero. The renderer was migrated to the SDK's dedicatedNodeDetailtype
(go-sdkv0.4.0) and now also shows a node reliability row.
Upgrade notes
octa nodes showno longer prints node prices — the/nodes/:idendpoint
does not return them. Useocta nodes listfor prices instead. No flag,
config, or-o jsonoutput changes.
Artifacts
Five binaries (linux/amd64, linux/arm64, darwin/amd64, darwin/arm64,
windows/amd64) plus SHA256SUMS. No cryptographic signing yet — verify with
the published checksums.
v0.1.0
octa-cli v0.1.0
Added
- Node management commands covering the full
/nodesAPI surface:
octa nodes show <id>,nodes ident <id>,nodes logs <id>,
nodes prices <id>, andnodes reboot <id>.nodes listgains--country
and--appfilters. octa account walletgenerates a new wallet for the authenticated account.octa sessions info <uuid-or-prefix>shows detailed information for a single
session (-o jsonprints the raw server response).octa idle-jobs show <node-id> <job-id>and
octa idle-jobs logs <node-id> <job-id>inspect idle jobs.octa networkprints network statistics and configuration.
Changed
- CI and release workflows updated to the current major versions of the GitHub
Actions they use (checkout,setup-go,upload-artifact,
download-artifact,golangci-lint-action,action-gh-release) to clear the
deprecated Node 20 runtime warnings.
Upgrade notes
- No breaking changes. All additions are new commands; existing command
behavior and JSON output are unchanged. - The
renderservice (/services/r,/services/render) is intentionally not
exposed yet and is planned for a later release.
Assets
Five platform-specific binaries + SHA256SUMS. Verification:
shasum -a 256 -c SHA256SUMSv0.0.8
octa-cli v0.0.8
CLI-инструмент для OctaSpace API. Этот релиз переводит CLI на официальный
OctaSpace Go SDK и встраивает WireGuard VPN-демон.
Highlights
- Go SDK. CLI переведён на
github.com/octaspace/go-sdk v0.3.0; собственный
HTTP-клиентinternal/apiудалён. Обработчики команд вызывают
resource-scoped методы SDK,internal/clientмаппит типизированные ошибки API
в сообщения CLI. - Встроенный WireGuard-демон.
sudo octa daemonподнимает и снимает
локальный туннель ОС.octa vpn connectсохраняет UUID сессии только после
того, как туннель поднят, и делает bounded-cleanup при сбое. - Документация и тесты. Набор гайдов в
docs/и offline-тесты, не требующие
токена. - Релизная инфраструктура. Исправлен
release.yml, добавлены CI,
.golangci.yml,CHANGELOG.md, MITLICENSE. К бинарникам приложен
SHA256SUMS.
Breaking changes / upgrade notes
- WireGuard (
octa vpn connect, протокол по умолчанию) теперь требует локальный
привилегированный демон: запуститеsudo octa daemonв отдельном терминале и
держите его запущенным. Shadowsocks, OpenVPN и V2Ray локальный туннель не
используют. -o jsonпечатает server-shaped ответ API через raw-методы SDK. Это контракт
сервера, а не версионированная схема CLI: потребители должны терпимо
относиться к новым полям.- Сборка из исходников:
make build(Go 1.25+); точка входа —./cmd/octa.
Assets
Пять платформенных бинарников + SHA256SUMS. Проверка:
shasum -a 256 -c SHA256SUMSПолный список изменений: CHANGELOG.md · PR #1.