magehand 0.76.4__tar.gz → 0.78.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: magehand
3
- Version: 0.76.4
3
+ Version: 0.78.0
4
4
  Summary: The developer CLI for building apps on davidlarrimore's homelab
5
5
  Project-URL: Source, https://github.com/davidlarrimore/magehand
6
6
  License-Expression: MIT
@@ -137,39 +137,40 @@ has it as `"next"`. Only commands whose output is the result itself (`guide`,
137
137
 
138
138
  | Command | What it does |
139
139
  | --- | --- |
140
- | `magehand new REPO` | Create an app's repo for the platform, or repair one |
141
- | `magehand icon set FILE / icon generate` | Set the app's icon (its tile in the app library) |
140
+ | `magehand new REPO [--host lab\|railway]` | Create an app's repo for the platform, or repair one (private, the bot with write, the approval and checks rulesets, security alerts on). `--host railway`: the Railway scaffold (no Kubernetes files) and the `production` ruleset; afterwards the production register says where the app runs |
141
+ | `magehand icon set FILE / icon generate` | Set the app's icon (its tile in the app library; lab apps only) |
142
+ | `magehand host move lab\|railway [--dry-run]` | Move the app to the other host, in stages: once the owner's register PR says `moving_to`, open the PR that gives the repo the destination's scaffold (`env:` converted from or into the Deployment), and print the rest (switch, finish, the leftovers check). Removes nothing from either host; once a move to Railway merges, the lab's dev stops following main |
142
143
 
143
144
  **Learn the platform and check an app**
144
145
 
145
146
  | Command | What it does |
146
147
  | --- | --- |
147
148
  | `magehand guide [TOPIC ["SECTION"]] / guide search WORDS` | Read the platform guide (homelab-apps `docs/platform/`): a topic, one section, or the sections that best answer a question |
148
- | `magehand app [APP]` | The app's blocks, the env vars its pod gets and where each comes from, its URLs |
149
- | `magehand status [APP] [--watch]` | Where the app is: set up, registered, built, on dev and prod |
150
- | `magehand check [APP] [--ui]` | Check the app against the platform's rules, `build.yaml` exactly the template's included (before every push; `--ui` runs CI's browser check) |
149
+ | `magehand app [APP]` | The app's blocks, the env vars its pod gets and where each comes from, its URLs (a Railway app's from the register) |
150
+ | `magehand status [APP] [--watch]` | Where the app is: set up, registered, built, on dev and prod (a Railway app's dev and production from Railway's GitHub Deployments, held deploys included, and the `production` branch against the latest release) |
151
+ | `magehand check [APP] [--ui]` | Check the app against the platform's rules, `build.yaml` exactly the template's included (before every push; `--ui` runs CI's browser check). A Railway app gets Railway's rules: `deploy/app.yaml` `env:` declares every variable, no Kubernetes files, nothing lab-only |
151
152
  | `magehand verify` | Run the platform's static checks on what you'll push, as CI does |
152
- | `magehand api PATH [--prod]` | Call the app's API on dev or production, as you (a write carries the app's own `Origin`, as a browser's does) |
153
- | `magehand llm usage [--env dev\|prod] [--by kind\|model\|stage\|prompt] [--since D] [--until D]` | The app's LLM tokens and cost from the platform: each llm block, dev and prod apart, the budget and its reset date; a lab agent sees its own key's |
153
+ | `magehand api PATH [--prod]` | Call the app's API on dev or production, as you (a write carries the app's own `Origin`, as a browser's does). A Railway app: its register names, a sleeping dev's 502 retried, `--prod` once it is live and without the lab's token |
154
+ | `magehand llm usage [--env dev\|prod] [--by kind\|model\|stage\|prompt] [--since D] [--until D]` | The app's LLM tokens and cost from the platform: each llm block, dev and prod apart, the budget and its reset date; a lab agent sees its own key's; not yet for a Railway app |
154
155
 
155
156
  **Ship an app**
156
157
 
157
158
  | Command | What it does |
158
159
  | --- | --- |
159
160
  | `magehand spec check N / spec verify N` | Ask OpenClaw whether an issue's spec is buildable, or whether a PR meets it |
160
- | `magehand pr ready [N] / pr watch [N]` | Mark a green PR ready and request OpenClaw's review, then follow it until it needs you or is done (findings, a failed or cancelled check, or a verify verdict for its head that isn't `met`); a check counts by its latest run on the head, as `gh pr checks` shows it |
161
+ | `magehand pr ready [N] / pr watch [N]` | Mark a green PR ready and request OpenClaw's review, then follow it until it needs you or is done (findings, a failed or cancelled check, or a verify verdict for its head that isn't `met`); a check counts by its latest run on the head, as `gh pr checks` shows it. After a Railway app's merge it follows Railway's dev deploy of the merge commit |
161
162
  | `magehand pr answer [N] [K]` | List the findings of OpenClaw's latest review (answered ones marked), or answer finding K with a PR comment (`-m TEXT`, `--body-file FILE`): the condition of the review's bar it fails and the fact that shows it, or the issue it's parked in. Then `pr ready` again: OpenClaw judges the answers on the same head, with no push and no CI run |
162
- | `magehand release [APP]` | Cut the app's production release (the next `vX.Y.Z`), only when the owner asks |
163
- | `magehand job add / rm / ls` | Add, remove and list the app's scheduled jobs (CronJobs) |
164
- | `magehand fetch init / fetch rm` | Scaffold the app's fetch zone (fetching URLs nobody vouches for) |
163
+ | `magehand release [APP] [--yes]` | Cut the app's production release (the next `vX.Y.Z`), only when the owner asks. A Railway app: dev is Railway's deploy of the commit; it refuses while a required `env:` secret or setting has no value in OpenBao `apps/APP/env` (production's path; dev's is `apps/APP-dev/env`), and asks about the new ones only when your sign-in can't read it (`--yes`: they are set) |
164
+ | `magehand job add / rm / ls` | Add, remove and list the app's scheduled jobs (CronJobs; lab apps only) |
165
+ | `magehand fetch init / fetch rm` | Scaffold the app's fetch zone (fetching URLs nobody vouches for; lab apps only) |
165
166
 
166
167
  **Run an app locally**
167
168
 
168
169
  | Command | What it does |
169
170
  | --- | --- |
170
- | `magehand run -- CMD / run --container` | Run a command, or the app's image, with its pod's env |
171
+ | `magehand run -- CMD / run --container` | Run a command, or the app's image, with its pod's env (a Railway app's `env:`, its secrets from OpenBao `apps/APP-dev/env` when you may read them) |
171
172
  | `magehand dev up / down / status` | Local containers for the app's postgres, redis and bucket blocks |
172
- | `magehand bucket ls / cp / sync / url / usage` | Read and write the app's object storage |
173
+ | `magehand bucket ls / cp / sync / url / usage` | Read and write the app's object storage (lab apps only) |
173
174
  | `magehand runtime` | Show or set the container runtime |
174
175
  | `magehand login` | Sign in to OpenBao and app APIs with your passkey |
175
176
 
@@ -178,7 +179,7 @@ has it as `"next"`. Only commands whose output is the result itself (`guide`,
178
179
  | Command | What it does |
179
180
  | --- | --- |
180
181
  | `magehand setup` | Set this machine up (once) |
181
- | `magehand doctor` | Check this machine, the sign-in and this app repo's setup |
182
+ | `magehand doctor` | Check this machine, the sign-in and this app repo's setup (a Railway app's `production` ruleset too) |
182
183
  | `magehand hooks install / status / remove` | The pre-push hook that runs `verify` |
183
184
  | `magehand upgrade` | Upgrade magehand, its skills (homelab-app and the pinned design skills) and approvals |
184
185
  | `magehand rules` | Write the platform's working rules for agents (`magehand guide workflow`) into this app checkout as `.magehand/workflow.md`, which its CLAUDE.md imports; kept out of Git. `status`, `check`, `verify`, `new` and a new Claude Code session do it too; run it before a headless agent run on a fresh clone |
@@ -122,39 +122,40 @@ has it as `"next"`. Only commands whose output is the result itself (`guide`,
122
122
 
123
123
  | Command | What it does |
124
124
  | --- | --- |
125
- | `magehand new REPO` | Create an app's repo for the platform, or repair one |
126
- | `magehand icon set FILE / icon generate` | Set the app's icon (its tile in the app library) |
125
+ | `magehand new REPO [--host lab\|railway]` | Create an app's repo for the platform, or repair one (private, the bot with write, the approval and checks rulesets, security alerts on). `--host railway`: the Railway scaffold (no Kubernetes files) and the `production` ruleset; afterwards the production register says where the app runs |
126
+ | `magehand icon set FILE / icon generate` | Set the app's icon (its tile in the app library; lab apps only) |
127
+ | `magehand host move lab\|railway [--dry-run]` | Move the app to the other host, in stages: once the owner's register PR says `moving_to`, open the PR that gives the repo the destination's scaffold (`env:` converted from or into the Deployment), and print the rest (switch, finish, the leftovers check). Removes nothing from either host; once a move to Railway merges, the lab's dev stops following main |
127
128
 
128
129
  **Learn the platform and check an app**
129
130
 
130
131
  | Command | What it does |
131
132
  | --- | --- |
132
133
  | `magehand guide [TOPIC ["SECTION"]] / guide search WORDS` | Read the platform guide (homelab-apps `docs/platform/`): a topic, one section, or the sections that best answer a question |
133
- | `magehand app [APP]` | The app's blocks, the env vars its pod gets and where each comes from, its URLs |
134
- | `magehand status [APP] [--watch]` | Where the app is: set up, registered, built, on dev and prod |
135
- | `magehand check [APP] [--ui]` | Check the app against the platform's rules, `build.yaml` exactly the template's included (before every push; `--ui` runs CI's browser check) |
134
+ | `magehand app [APP]` | The app's blocks, the env vars its pod gets and where each comes from, its URLs (a Railway app's from the register) |
135
+ | `magehand status [APP] [--watch]` | Where the app is: set up, registered, built, on dev and prod (a Railway app's dev and production from Railway's GitHub Deployments, held deploys included, and the `production` branch against the latest release) |
136
+ | `magehand check [APP] [--ui]` | Check the app against the platform's rules, `build.yaml` exactly the template's included (before every push; `--ui` runs CI's browser check). A Railway app gets Railway's rules: `deploy/app.yaml` `env:` declares every variable, no Kubernetes files, nothing lab-only |
136
137
  | `magehand verify` | Run the platform's static checks on what you'll push, as CI does |
137
- | `magehand api PATH [--prod]` | Call the app's API on dev or production, as you (a write carries the app's own `Origin`, as a browser's does) |
138
- | `magehand llm usage [--env dev\|prod] [--by kind\|model\|stage\|prompt] [--since D] [--until D]` | The app's LLM tokens and cost from the platform: each llm block, dev and prod apart, the budget and its reset date; a lab agent sees its own key's |
138
+ | `magehand api PATH [--prod]` | Call the app's API on dev or production, as you (a write carries the app's own `Origin`, as a browser's does). A Railway app: its register names, a sleeping dev's 502 retried, `--prod` once it is live and without the lab's token |
139
+ | `magehand llm usage [--env dev\|prod] [--by kind\|model\|stage\|prompt] [--since D] [--until D]` | The app's LLM tokens and cost from the platform: each llm block, dev and prod apart, the budget and its reset date; a lab agent sees its own key's; not yet for a Railway app |
139
140
 
140
141
  **Ship an app**
141
142
 
142
143
  | Command | What it does |
143
144
  | --- | --- |
144
145
  | `magehand spec check N / spec verify N` | Ask OpenClaw whether an issue's spec is buildable, or whether a PR meets it |
145
- | `magehand pr ready [N] / pr watch [N]` | Mark a green PR ready and request OpenClaw's review, then follow it until it needs you or is done (findings, a failed or cancelled check, or a verify verdict for its head that isn't `met`); a check counts by its latest run on the head, as `gh pr checks` shows it |
146
+ | `magehand pr ready [N] / pr watch [N]` | Mark a green PR ready and request OpenClaw's review, then follow it until it needs you or is done (findings, a failed or cancelled check, or a verify verdict for its head that isn't `met`); a check counts by its latest run on the head, as `gh pr checks` shows it. After a Railway app's merge it follows Railway's dev deploy of the merge commit |
146
147
  | `magehand pr answer [N] [K]` | List the findings of OpenClaw's latest review (answered ones marked), or answer finding K with a PR comment (`-m TEXT`, `--body-file FILE`): the condition of the review's bar it fails and the fact that shows it, or the issue it's parked in. Then `pr ready` again: OpenClaw judges the answers on the same head, with no push and no CI run |
147
- | `magehand release [APP]` | Cut the app's production release (the next `vX.Y.Z`), only when the owner asks |
148
- | `magehand job add / rm / ls` | Add, remove and list the app's scheduled jobs (CronJobs) |
149
- | `magehand fetch init / fetch rm` | Scaffold the app's fetch zone (fetching URLs nobody vouches for) |
148
+ | `magehand release [APP] [--yes]` | Cut the app's production release (the next `vX.Y.Z`), only when the owner asks. A Railway app: dev is Railway's deploy of the commit; it refuses while a required `env:` secret or setting has no value in OpenBao `apps/APP/env` (production's path; dev's is `apps/APP-dev/env`), and asks about the new ones only when your sign-in can't read it (`--yes`: they are set) |
149
+ | `magehand job add / rm / ls` | Add, remove and list the app's scheduled jobs (CronJobs; lab apps only) |
150
+ | `magehand fetch init / fetch rm` | Scaffold the app's fetch zone (fetching URLs nobody vouches for; lab apps only) |
150
151
 
151
152
  **Run an app locally**
152
153
 
153
154
  | Command | What it does |
154
155
  | --- | --- |
155
- | `magehand run -- CMD / run --container` | Run a command, or the app's image, with its pod's env |
156
+ | `magehand run -- CMD / run --container` | Run a command, or the app's image, with its pod's env (a Railway app's `env:`, its secrets from OpenBao `apps/APP-dev/env` when you may read them) |
156
157
  | `magehand dev up / down / status` | Local containers for the app's postgres, redis and bucket blocks |
157
- | `magehand bucket ls / cp / sync / url / usage` | Read and write the app's object storage |
158
+ | `magehand bucket ls / cp / sync / url / usage` | Read and write the app's object storage (lab apps only) |
158
159
  | `magehand runtime` | Show or set the container runtime |
159
160
  | `magehand login` | Sign in to OpenBao and app APIs with your passkey |
160
161
 
@@ -163,7 +164,7 @@ has it as `"next"`. Only commands whose output is the result itself (`guide`,
163
164
  | Command | What it does |
164
165
  | --- | --- |
165
166
  | `magehand setup` | Set this machine up (once) |
166
- | `magehand doctor` | Check this machine, the sign-in and this app repo's setup |
167
+ | `magehand doctor` | Check this machine, the sign-in and this app repo's setup (a Railway app's `production` ruleset too) |
167
168
  | `magehand hooks install / status / remove` | The pre-push hook that runs `verify` |
168
169
  | `magehand upgrade` | Upgrade magehand, its skills (homelab-app and the pinned design skills) and approvals |
169
170
  | `magehand rules` | Write the platform's working rules for agents (`magehand guide workflow`) into this app checkout as `.magehand/workflow.md`, which its CLAUDE.md imports; kept out of Git. `status`, `check`, `verify`, `new` and a new Claude Code session do it too; run it before a headless agent run on a fresh clone |
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "magehand"
7
- version = "0.76.4"
7
+ version = "0.78.0"
8
8
  description = "The developer CLI for building apps on davidlarrimore's homelab"
9
9
  readme = "README.md"
10
10
  license = "MIT"