@theholocron/cli 5.0.0-alpha.219 → 5.0.0-alpha.220
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 +2 -0
- package/dist/cli.mjs +180 -15
- package/dist/cli.mjs.map +1 -1
- package/dist/plugin/capabilities.d.mts +27 -0
- package/package.json +3 -3
|
@@ -895,6 +895,18 @@ interface NotificationsChannelLayout {
|
|
|
895
895
|
image?: string;
|
|
896
896
|
};
|
|
897
897
|
};
|
|
898
|
+
/**
|
|
899
|
+
* The error tracker's alerts, carried in by the relay Worker (see `relay`). The channel gets a dedicated webhook
|
|
900
|
+
* (default the `errors` provider's name, capitalised) whose URL goes to the Worker as a secret and nowhere else.
|
|
901
|
+
* `avatar` is as for `monitoring`.
|
|
902
|
+
*/
|
|
903
|
+
errors?: boolean | {
|
|
904
|
+
webhook?: string;
|
|
905
|
+
avatar?: string | {
|
|
906
|
+
url?: string;
|
|
907
|
+
image?: string;
|
|
908
|
+
};
|
|
909
|
+
};
|
|
898
910
|
};
|
|
899
911
|
}
|
|
900
912
|
/**
|
|
@@ -1049,6 +1061,21 @@ interface NotificationsLayout {
|
|
|
1049
1061
|
* no picture yet -- a provider cannot say whether the one it holds is the same image.
|
|
1050
1062
|
*/
|
|
1051
1063
|
webhookAvatar?: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* The Worker that carries other services' alerts into the channels with a `feeds.errors`: built beforehand
|
|
1066
|
+
* (`apps/comlink`), deployed by `notifications setup` with each channel's webhook URL as a secret, and served at
|
|
1067
|
+
* `host`. Secrets set some other way (the service's signing secret) are kept across deploys.
|
|
1068
|
+
*/
|
|
1069
|
+
relay?: {
|
|
1070
|
+
/** Where the Worker answers, e.g. `comlink.theholocron.dev`. Its DNS record and route are managed. */
|
|
1071
|
+
host: string;
|
|
1072
|
+
/** The DNS zone the host is in. Default: found by the `dns` provider from the host itself, so rarely needed. */
|
|
1073
|
+
zone?: string;
|
|
1074
|
+
/** The Worker's name at the provider. Default `comlink`. */
|
|
1075
|
+
script?: string;
|
|
1076
|
+
/** The built Worker, relative to the repo root. Default `apps/comlink/dist/worker.js`. */
|
|
1077
|
+
code?: string;
|
|
1078
|
+
};
|
|
1052
1079
|
/** What a new member sees on joining, applied after the channels exist. */
|
|
1053
1080
|
welcome?: NotificationsWelcomeLayout;
|
|
1054
1081
|
/** The questions a new member answers, applied after the channels and roles exist. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/cli",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.220",
|
|
4
4
|
"description": "The Holocron CLI - a pluggable, capability-based orchestrator for spinning up and operating software projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"pino-pretty": "^13.1.3",
|
|
64
64
|
"posthog-node": "^5.51.6",
|
|
65
65
|
"yargs": "^18.1.0",
|
|
66
|
-
"@theholocron/astromech": "5.0.0-alpha.
|
|
67
|
-
"@theholocron/datapad": "5.0.0-alpha.
|
|
66
|
+
"@theholocron/astromech": "5.0.0-alpha.220",
|
|
67
|
+
"@theholocron/datapad": "5.0.0-alpha.220"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@theholocron/eslint-config": "^8.8.2",
|