Metadata-Version: 2.5
Name: ion-sh
Version: 0.1.1
Summary: Ion: the tools that walk each project from its birth to its light. Installs them, keeps them up to date, runs them.
Project-URL: Homepage, https://github.com/antoine-tena/ion
Author: antoine-tena
License-Expression: MIT
Keywords: claude-code,developer-tools,installer,ion,web-studio
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.14
Description-Content-Type: text/markdown

# ion

The tools that walk each project from its birth to its light. The ion is the client's project:
born in the studio, carried by the tools, guarded, given a shape, seen, lasting. Each tool walks
it through one step of that journey.

```sh
uv tool install ion-sh
ion list               # the first run at a terminal brings the whole family, plugins included
ion add repo           # a tool you had removed; `all` for every one, nothing named to be asked
ion list               # the family by stage, and what is installed (`--json` for a script)
ion outdated           # the installed tools behind their source (`--json` for a script)
ion upgrade            # the whole family, missing tools included, then ion; `ion upgrade host` for one
ion remove repo        # asks first; `--yes`, `--dry-run`
ion host domain check  # runs a tool: hands over to `ion-host domain check`
```

Each tool is its own package on PyPI, `ion-<tool>`, installed as its own uv tool with its own
command `ion-<tool>`, and its Claude Code plugin (`<tool>@ion-<tool>`, from the catalog in its
repo) when `claude` is on the PATH; `ion upgrade` moves both, and installs what is missing. No plain word lands on the PATH, so no tool can clash with a system command
(`host`, `render`): `ion <tool> …` runs it, the way `git lfs` runs `git-lfs`.

The family stays whole on its own. The first run of `ion` at a terminal on a version it has not
synced yet (after `uv tool install ion-sh` or an upgrade) installs the missing tools and upgrades
the others, plugins included, then runs the command asked for. It happens once per version;
progress goes to stderr, and Ctrl-C skips it until the next run. A tool whose source cannot be
reached, for lack of access or network, says so in one line, blocks nothing, and alone is tried
again at each next run until it works, every failure of such a retry gathered in a single line.
`ion list` names the two numbers of a tool, which are two numberings: the tool's release and its
plugin's version, as in `[tool 0.4.13 editable · plugin 0.14.1]`; it also says a plugin that is
missing or failed, and why. A sync updates a plugin in every scope it is installed in, so all
projects on a machine use one version; it leaves an editable checkout alone and takes the old
catalogues `hearth` and `grog` off the machine. `ion remove` takes the plugin along, keeping its
data; a project's own copy stays, since it lives in that repo's settings.

`ion remove` also tells the sync to leave a tool out, for good, including one that could not be
installed, which stops its retries; `ion add` names it back. Scripts are left alone: a run without
a terminal, or with `--json`, `--version`, `--help` or `--dry-run`, never syncs, and `ion remove`
does not sync first. A bare `ion upgrade` is the same sync on demand, terminal or not, whatever the
version, and ends in failure if a tool could not follow: that is how a machine where `ion` only
runs from Claude Code catches up. The state is kept in `$XDG_STATE_HOME/ion/sync.json`
(`~/.local/state/ion/sync.json`).

**Sun**: the studio itself, where every project is born.

| Tool | Role |
|---|---|
| `sell` | prospecting: finding the next clients, the first contact |
| `count` | the studio's books: accounting, cash, what is owed |
| `hire` | the team: roles, access, welcoming a newcomer |

**Flare**: the storm that can hit a project on the way.

| Tool | Role |
|---|---|
| `rescue` | incidents: from the alert to the post-mortem |

**Wind**: the workshop, the tools that carry the know-how to every repo.

| Tool | Role |
|---|---|
| `repo` | technique: code, tests, CI, updates, working with Claude |
| `render` | templates: render, then update without overwriting (Rust) |
| `score` | sourced rules and their score |
| `learn` | rereads sessions and pours their lessons into the right tool |

**Shield**: what guards a client project and lets it shine.

| Tool | Role |
|---|---|
| `deal` | business: client file, quotes, contracts, legal duties |
| `host` | hosting and operations: servers, domains, DNS, mail, backups |
| `secure` | security: audits, secrets |

**Sky**: where the project takes its shape and colours.

| Tool | Role |
|---|---|
| `design` | design: visual identity, layout, typography, motion |
| `media` | raw media: photos, videos and logos, sorted, with their rights |

**Aurora**: the moment the public sees it.

| Tool | Role |
|---|---|
| `words` | words: site copy, docs, announcements |
| `launch` | launch: announcement, listings, first visibility |

**Afterglow**: what stays and pays once it is launched.

| Tool | Role |
|---|---|
| `maintain` | upkeep of delivered sites: updates, small requests |
| `measure` | what a site brings: audience, conversions |
| `show` | client stories: testimonials, case studies, portfolio |

A tool joins PyPI with its first release. Until then `ion add` installs it from the `develop`
branch of its repo on GitHub (`ion list`: `from GitHub`), which needs access to the repo and git
credentials on the machine (`gh auth login && gh auth setup-git`); `ion upgrade` follows that
branch. `ion outdated` says which tools are behind: a tool from GitHub when its branch has moved
past the commit installed, a tool from PyPI when a newer release is out; a tool installed from a
folder (`--editable`) is never late. Each source is asked at once, under five seconds, and one
that does not answer is said, never an error; ion-repo's Claude Code plugin asks it at session
start and offers `ion upgrade`. A tool with nothing to install yet says so (`render`). The family's earlier packages (`kiln-cli`, `keramos-hearth`,
`keramos-grog`) are archived: ion neither installs, upgrades nor runs them.
