Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -1,11 +1,11 @@
|
||||
# Plugin CLI Reference
|
||||
|
||||
`toolctrl-cli plugins ...` — the author + operator command surface
|
||||
`hivegrid-cli plugins ...` — the author + operator command surface
|
||||
for the plugin pipeline. Operator subcommands manage installed-plugin
|
||||
rows; author subcommands scaffold / build / sign / lint / publish.
|
||||
|
||||
```bash
|
||||
toolctrl-cli plugins --help
|
||||
hivegrid-cli plugins --help
|
||||
```
|
||||
|
||||
## Author subcommands
|
||||
@@ -13,7 +13,7 @@ toolctrl-cli plugins --help
|
||||
### `scaffold`
|
||||
|
||||
```bash
|
||||
toolctrl-cli plugins scaffold \
|
||||
hivegrid-cli plugins scaffold \
|
||||
--name slack-notifier \
|
||||
--publisher de.acme \
|
||||
--description "Send tenant events to Slack" \
|
||||
@@ -26,7 +26,7 @@ Generates a new plugin skeleton under `<targetDir>/<name>/`:
|
||||
slack-notifier/
|
||||
├── plugin.toml # manifest seed (placeholder sig/hash)
|
||||
├── src/index.ts # HookHandler example
|
||||
├── package.json # @toolctrl/plugin-sdk devDependency
|
||||
├── package.json # @hivegrid/plugin-sdk devDependency
|
||||
├── tsconfig.json # ES2022 strict
|
||||
└── README.md # next-step checklist
|
||||
```
|
||||
@@ -36,7 +36,7 @@ slack-notifier/
|
||||
### `build`
|
||||
|
||||
```bash
|
||||
toolctrl-cli plugins build [--cwd ./slack-notifier] [--output plugin.wasm]
|
||||
hivegrid-cli plugins build [--cwd ./slack-notifier] [--output plugin.wasm]
|
||||
```
|
||||
|
||||
Detects the project's wasm toolchain (AssemblyScript via `asconfig.json`,
|
||||
@@ -47,7 +47,7 @@ run it yourself. Exits non-zero when no toolchain marker is found.
|
||||
### `sign`
|
||||
|
||||
```bash
|
||||
toolctrl-cli plugins sign \
|
||||
hivegrid-cli plugins sign \
|
||||
--wasm plugin.wasm \
|
||||
--manifest plugin.json \
|
||||
--key ./keys/publisher.priv \
|
||||
@@ -70,7 +70,7 @@ which artifact.
|
||||
### `lint`
|
||||
|
||||
```bash
|
||||
toolctrl-cli plugins lint --manifest plugin.json
|
||||
hivegrid-cli plugins lint --manifest plugin.json
|
||||
```
|
||||
|
||||
Runs the host Zod schema, then layers author checks on top:
|
||||
@@ -95,7 +95,7 @@ Exit codes:
|
||||
### `publish`
|
||||
|
||||
```bash
|
||||
toolctrl-cli plugins publish \
|
||||
hivegrid-cli plugins publish \
|
||||
--wasm plugin.wasm \
|
||||
--manifest plugin.json \
|
||||
[--signature plugin.wasm.sig] \
|
||||
@@ -140,12 +140,12 @@ API/UI flow.
|
||||
## Round-trip smoke
|
||||
|
||||
```bash
|
||||
toolctrl-cli plugins scaffold --name smoke --publisher de.smoke --dry-run
|
||||
toolctrl-cli plugins build --cwd ./smoke
|
||||
hivegrid-cli plugins scaffold --name smoke --publisher de.smoke --dry-run
|
||||
hivegrid-cli plugins build --cwd ./smoke
|
||||
# (run the printed build command in your wasm toolchain)
|
||||
toolctrl-cli plugins lint --manifest ./smoke/plugin.json
|
||||
toolctrl-cli plugins sign --wasm ./smoke/plugin.wasm --manifest ./smoke/plugin.json --key ./keys/dev.priv
|
||||
toolctrl-cli plugins publish --wasm ./smoke/plugin.wasm --manifest ./smoke/plugin.json
|
||||
hivegrid-cli plugins lint --manifest ./smoke/plugin.json
|
||||
hivegrid-cli plugins sign --wasm ./smoke/plugin.wasm --manifest ./smoke/plugin.json --key ./keys/dev.priv
|
||||
hivegrid-cli plugins publish --wasm ./smoke/plugin.wasm --manifest ./smoke/plugin.json
|
||||
```
|
||||
|
||||
The output is the file you upload through the tenant-admin plugins
|
||||
|
||||
Reference in new issue
Block a user