beclab/olares

olares-market

Olares Market via olares-cli market — install, upgrade, uninstall, clone, stop, resume, restart apps; catalog, status, chart upload/download, --watch.

Vedi sorgente

Come usare

  1. Copia il comando e controlla il pacchetto prima di installarlo nel tuo ambiente agente.
  2. Controlla strumenti, credenziali e ambienti richiesti nel documento originale.
  3. Descrivi input e risultato desiderato; confronta l’output con le fonti.
npx skills add https://github.com/beclab/olares --skill olares-market

Prima di iniziare

  • L’installazione non include abbonamenti, quote API o accesso ai file.
  • Stelle e installazioni indicano attività, non un test indipendente di qualità o sicurezza.
Documento Skill originale

Contenuto dal repository con titoli, esempi, codice, tabelle, link e immagini preservati.

market (App-store v2)

Shared front door: load `../olares-shared/SKILL.md` for suite routing, active-profile selection, platform entry points, and the auth proceed/stop gate. Load its auth reference only when login, profile switching, token storage, or auth recovery is actually needed.

Use olares-cli market <verb> --help for authoritative syntax.

When to use

  • Browse the catalog or inspect "my apps".
  • Install, upgrade, uninstall, clone, stop, resume, restart, or cancel an app.
  • Inspect lifecycle status or manage uploaded charts.
Mental model: market is lifecycle and inventory at the app-store level (install / upgrade / chart push). For runtime K8s objects, settings, or metrics, route to a sibling.

A model application is installed here like any other — install for a pinned model, clone for an engine base whose model is chosen on the form. What is different is what happens next: `olares-router` notices the application and creates the gateway provider that routes to it, then owns the model's own download, engine state and card.

Fast paths

TaskReadFirst command
Install a catalog app and know when it startedwatch and diagnosis routingolares-cli market install <app> --watch --watch-timeout 1m -o json, then read .status
See what this user has installedthis fileolares-cli market list --mine -o json
Follow one app's lifecyclethis fileolares-cli market status <app>
Take an app off, pause it, or stop one mid-flightuninstall, stop, resume, cancelolares-cli market status <app> -o json to see whether it has settled
Put a chart you built on this Olarespublishing a chartolares-cli market upload ./chart.tgz then olares-cli market install <name> -s upload

--watch polls, so a timeout means "not terminal yet" rather than failure, and running means every entrance answers TCP rather than that the app works. An install that goes wrong usually lands on `downloadFailed`, not installFailed — the common faults (an image tag that does not exist, an unreachable registry) fail during the pull, before the install starts — and that difference decides what can clear it: downloadFailed accepts only a fresh install, while installFailed accepts an uninstall.

`.status` judges the command, `.finalState` names the app's landing state, and only the first is verb-independent. Under --watch, .status is success once the row settles the way this verb intended, so that plus the exit code is what a script tests. .finalState is worth reading when the state itself matters — but running is the settling state only for install, upgrade and restart; a successful stop lands on stopped and a successful uninstall on uninstalled, so a running check copied from an install example reports both as failures. Without --watch there is no .finalState and .status is accepted, meaning the server took the request, not that the app is up.

Verb index

FamilyVerbsRead when triggered
catalog + inventorylist, get, categories, statuslist, `--mine`, and status
lifecycle — putting an app oninstall, upgrade, cloneAll three take -s and --compute-mode, and clone's new name is .targetApp — install, upgrade, clone
lifecycle — taking one off or pausing ituninstall, stop, resume, cancelNone take -s; uninstall cancels first when the app is mid-flight, and cancelling resuming / upgrading needs Olares 1.12.7+ — uninstall, stop, resume, cancel
restartrestartrestart, compute binding, and baseline watch
chartsupload, deleteBoth pin the bucket to upload; a published version's bytes are immutable — publishing a chart
chartsdownloadThe read side, and the only one of the three that takes -s — pulling a chart back out
watching / stuck operationslifecycle --watch, status --watchwatch and diagnosis routing

Source resolution (cross-cutting)

  • market.olares is the public catalog and the default for browse and source-aware lifecycle verbs.
  • upload is the Local Sources bucket. upload and delete always use it; download defaults to it.
  • cli and studio are legacy/development sources used for read-only inventory.
  • --all-sources is read-only. uninstall, stop, resume, and restart resolve the user's state row rather than accepting a source.
  • Pass cancel --source only when the state row is gone or unreadable and the user explicitly knows the source.

App lifecycle / state machine

Load the shared application-state model when interpreting states, transitions, fail TTLs, serialized downloads, or running.

State and OpType are separate. After a mutation, an old terminal-looking state can remain visible before OpType changes. Mutating watchers therefore require the requested operation to be observed before accepting success; uninstall may also succeed when the row disappears. status and cancel are intentionally operation-agnostic.

Inventory decisions

  • "My apps" → market list --mine; this includes useful transitional and failure rows, not only completed installs.
  • One app's lifecycle → market status <app>.
  • Running apps → market status --all-sources, then filter STATE=running.
  • Catalog discovery → market list.

Safety and escalation

  • Treat the user's named lifecycle request as task-scope authorisation. Within an authorised deploy/debug loop, install, upgrade, restart, uninstall and clean reinstall do not need repeated confirmation.
  • Ask again when the app/source is ambiguous, deletion expands to user data, or the action is outside the authorised task.
  • Compute bindings come from settings compute list; do not invent node/device identifiers.
  • A stuck lifecycle operation is a cross-command diagnosis: inspect status, then use olares-doctor for pods, events, logs, images, and resources.
  • Stop when credentials, required environment values, compute choices, or the target app/source are ambiguous. Follow the shared auth gate for authentication failures.

Correlati per attività

dallo stesso repository

Altri Skills

Tutti gli Skills
beclab
Community

olares-chart

Olares app packaging and chart authoring via olares-cli chart — port a repo, docker-compose, or generic Helm chart; build/push the image; author, lint, package, and deploy an OlaresManifest; wire storage, middleware, entrances, env, and GPU; edit the chart after diagnosis. Runtime failure diagnosis is olares-doctor; public Market submission is olares-publish.

installazioni
2
GitHub Stars
5,3K
Aggiornato
20 ott
beclab
Community

olares-cluster

Olares ControlHub K8s runtime view via olares-cli cluster — inspect pods, containers, workloads, logs, jobs, cronjobs, namespaces, nodes, and middleware; exec, scale, restart, or delete K8s objects. Use for raw runtime objects and logs, not app lifecycle (market), resource metrics (dashboard), or host install.

installazioni
2
GitHub Stars
5,3K
Aggiornato
20 ott
beclab
Community

olares-dashboard

Olares Dashboard via olares-cli dashboard — CPU, memory, disk, network, pod counts, fan, GPU, application/resource rankings, JSON envelopes, and --watch. Use for Dashboard metrics, overview, resource usage, and Olares One fan; not for pod logs or K8s object inspection (olares-cluster).

installazioni
2
GitHub Stars
5,3K
Aggiornato
20 ott
beclab
Community

olares-files

Olares Files via olares-cli files — browse known paths; upload or download file bytes; edit, share, mount SMB/NFS, compress/extract archives, and manage Seafile sync across Drive/cache/external/cloud. Use for Olares Files and LarePass Files operations, not URL/yt-dlp/torrent download tasks (olares-knowledge).

installazioni
2
GitHub Stars
5,3K
Aggiornato
20 ott