Skip to content

Releases: octaspace/octa-cli

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 22 Jul 19:57
04e8c24

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, or vpn status — all failed with cannot unmarshal array into Go struct field Session.container_id of type string. The live API returns container_id
    as a JSON array for compute sessions, but go-sdk typed it as a bare
    string, breaking decoding of the entire /sessions list and
    /services/:uuid/info, not just that field. Fixed by bumping
    github.com/octaspace/go-sdk to
    v0.5.0.
    Verified against a live account with an active session.
  • Argument-count errors (e.g. octa nodes prices with no ID) now name the
    missing argument and print the command's usage line, instead of cobra's
    bare accepts 1 arg(s), received 0.
  • octa nodes show no longer prints a fabricated Prices — (see 'nodes list') row; the /nodes/:id endpoint doesn't return prices, so the row is
    simply omitted.

Added

  • -o table|json on 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, and vpn relay search
    support -o json now, 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

Choose a tag to compare

@github-actions github-actions released this 22 Jul 16:23
d6c7b0c

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/:id endpoint returns a different JSON envelope
    than /nodes (system details under data, no top-level prices), which the
    SDK previously decoded into the list-shaped struct, leaving every load field
    at zero. The renderer was migrated to the SDK's dedicated NodeDetail type
    (go-sdk v0.4.0) and now also shows a node reliability row.

Upgrade notes

  • octa nodes show no longer prints node prices — the /nodes/:id endpoint
    does not return them. Use octa nodes list for prices instead. No flag,
    config, or -o json output 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

Choose a tag to compare

@github-actions github-actions released this 22 Jul 15:30
b16f602

octa-cli v0.1.0

Added

  • Node management commands covering the full /nodes API surface:
    octa nodes show <id>, nodes ident <id>, nodes logs <id>,
    nodes prices <id>, and nodes reboot <id>. nodes list gains --country
    and --app filters.
  • octa account wallet generates a new wallet for the authenticated account.
  • octa sessions info <uuid-or-prefix> shows detailed information for a single
    session (-o json prints 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 network prints 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 render service (/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 SHA256SUMS

v0.0.8

Choose a tag to compare

@github-actions github-actions released this 22 Jul 10:35
4b6ebd2

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, MIT LICENSE. К бинарникам приложен
    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.

v0.0.7

Choose a tag to compare

@github-actions github-actions released this 07 Apr 10:44

Full Changelog: v0.0.6...v0.0.7

v0.0.6

Choose a tag to compare

@github-actions github-actions released this 06 Apr 09:45

Full Changelog: v0.0.5...v0.0.6

v0.0.5

Choose a tag to compare

@github-actions github-actions released this 05 Apr 23:48

Full Changelog: v0.0.4...v0.0.5

v0.0.4

Choose a tag to compare

@github-actions github-actions released this 05 Apr 23:07

Full Changelog: v0.0.3...v0.0.4

v0.0.3

Choose a tag to compare

@github-actions github-actions released this 05 Apr 23:02

Full Changelog: v0.0.2...v0.0.3

v0.0.2

Choose a tag to compare

@github-actions github-actions released this 05 Apr 22:19

Full Changelog: v0.0.1...v0.0.2