diff --git a/.changeset/rare-lions-boil.md b/.changeset/rare-lions-boil.md new file mode 100644 index 00000000..52cd3a3b --- /dev/null +++ b/.changeset/rare-lions-boil.md @@ -0,0 +1,5 @@ +--- +'pockethost': patch +--- + +Updated plugin documentation diff --git a/packages/pockethost/plugin-guide.md b/packages/pockethost/plugin-guide.md index 8dcdcfc1..90be0bf5 100644 --- a/packages/pockethost/plugin-guide.md +++ b/packages/pockethost/plugin-guide.md @@ -42,4 +42,14 @@ A plugin is an npm package. Run `pockethost plugin create ` to c ## Core Actions +| Name | Description | Context | Example | Since | +| --------------------- | ----------------------- | ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | ----- | +| BeforeInstanceStarted | An instance will start | instance | [example](https://github.com/pockethost/pockethost/blob/e6355c1aea2484ffba9d95110faa2af40e922855/packages/plugin-launcher-spawn/src/index.ts#L215) | 1.3.0 | +| AfterInstanceStarted | An instance has started | instance, url | [example](https://github.com/pockethost/pockethost/blob/e6355c1aea2484ffba9d95110faa2af40e922855/packages/plugin-launcher-spawn/src/index.ts#L215) | 1.3.0 | +| AfterInstanceStopped | An instance has stopped | instance, url | [example](https://github.com/pockethost/pockethost/blob/e6355c1aea2484ffba9d95110faa2af40e922855/packages/plugin-launcher-spawn/src/index.ts#L199) | 1.3.0 | +| InstanceLog | A log action | logLevel, currentLogLevel, args | [example](https://github.com/pockethost/pockethost/blob/e6355c1aea2484ffba9d95110faa2af40e922855/packages/plugin-launcher-spawn/src/index.ts#L147) | 1.3.0 | + ## Core Filters + +| Name | Description | Context | Since | +| ---- | ----------- | ------- | ----- |