heximon 0.4.0 → 0.5.0
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.
- package/README.md +4 -2
- package/dist/bin.mjs +1669 -37
- package/package.json +17 -7
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ after your last `pnpm build`.
|
|
|
9
9
|
## Why you want it
|
|
10
10
|
|
|
11
11
|
- **One binary for the whole surface.** `create`, `check`, `routes`, `graph`, `doctor`, `deploy`,
|
|
12
|
-
`provision`, `migrations`, and `workflows` are one command each.
|
|
12
|
+
`provision`, `migrations`, `task`, and `workflows` are one command each.
|
|
13
13
|
- **`heximon check` catches a dependency-injection error before `tsgo` does.** It compiles your app
|
|
14
14
|
headlessly and reports every compile error with its position and a fix.
|
|
15
15
|
- **`heximon doctor` finds a package installed twice.** Class identity is the only dependency-injection
|
|
@@ -44,7 +44,7 @@ before the type checker runs.
|
|
|
44
44
|
}
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
The full command surface is
|
|
47
|
+
The full command surface is eleven subcommands, each its own file, registered once.
|
|
48
48
|
|
|
49
49
|
```ts [src/bin.ts]
|
|
50
50
|
const main = defineCommand({
|
|
@@ -60,6 +60,7 @@ const main = defineCommand({
|
|
|
60
60
|
migrations: migrationsCommand,
|
|
61
61
|
workflows: workflowsCommand,
|
|
62
62
|
skills: skillsCommand,
|
|
63
|
+
task: taskCommand,
|
|
63
64
|
},
|
|
64
65
|
});
|
|
65
66
|
```
|
|
@@ -77,6 +78,7 @@ const main = defineCommand({
|
|
|
77
78
|
| `heximon provision` | Creates a resource your build needs an identifier for, before the build runs. |
|
|
78
79
|
| `heximon migrations` | Runs `generate`, `migrate`, `status`, or `push` against your database, with no hand-written `drizzle-kit` config. |
|
|
79
80
|
| `heximon workflows` | Compares a durable workflow's current shape against its committed upgrade baseline. |
|
|
81
|
+
| `heximon task run <Module> <Task>` | Runs one task against the production graph of the app, prints its result as JSON, and exits. It starts no HTTP listener, no schedule timer, no polling loop, and no outbox relay (`--with-outbox-relay` starts it). It refuses a graph that needs platform bindings. `--payload` sets the event payload, and `--env-file` loads variables. |
|
|
80
82
|
| `heximon skills` | `add <url>` records an agent-skill source in `package.json` (`heximon.skills`) and installs it. `sync` re-installs every recorded source. |
|
|
81
83
|
| `heximon complete <shell>` | Installs shell completion for `zsh`, `bash`, `fish`, `powershell`, or `fig`. |
|
|
82
84
|
|