@theholocron/cli 5.0.0-alpha.216 → 5.0.0-alpha.218
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 +1 -1
- package/dist/cli.mjs +56 -15
- package/dist/cli.mjs.map +1 -1
- package/dist/plugin/capabilities.d.mts +13 -2
- package/package.json +3 -3
|
@@ -793,6 +793,14 @@ interface Monitoring extends ProviderIdentity {
|
|
|
793
793
|
* are configured.
|
|
794
794
|
*/
|
|
795
795
|
readonly checks: readonly MonitoringCheckInput[];
|
|
796
|
+
/**
|
|
797
|
+
* The service's own picture, for the webhook it posts through (see `feeds.monitoring`): where to fetch it, and the
|
|
798
|
+
* image itself as a `data:` URI for when that cannot be reached. Used when the config names no picture of its own.
|
|
799
|
+
*/
|
|
800
|
+
readonly icon?: {
|
|
801
|
+
url?: string;
|
|
802
|
+
dataUri?: string;
|
|
803
|
+
};
|
|
796
804
|
/** Auth sanity-check. Throws ProviderApiError on auth failure. */
|
|
797
805
|
whoami?(): Promise<{
|
|
798
806
|
ok: boolean;
|
|
@@ -875,14 +883,17 @@ interface NotificationsChannelLayout {
|
|
|
875
883
|
/**
|
|
876
884
|
* The monitoring provider's alerts. `true` uses the defaults; the object form overrides the alert channel's name
|
|
877
885
|
* (default `Message to #<channel>`) and the dedicated webhook's name (default the provider's name, capitalised), and
|
|
878
|
-
* `avatar` gives that webhook a picture (a file path or
|
|
886
|
+
* `avatar` gives that webhook a picture (PNG, JPEG or GIF): a file path or `https://` URL, or `{ url, image }`, where the `url` is tried first and the `image`, a file in the repo, is the fallback) in the provider's list of
|
|
879
887
|
* integrations. Left out, it wears the layout's `webhookAvatar`, as every webhook does. A picture is set only on a
|
|
880
888
|
* webhook that has none; the posts carry the service's own name and icon either way.
|
|
881
889
|
*/
|
|
882
890
|
monitoring?: boolean | {
|
|
883
891
|
name?: string;
|
|
884
892
|
webhook?: string;
|
|
885
|
-
avatar?: string
|
|
893
|
+
avatar?: string | {
|
|
894
|
+
url?: string;
|
|
895
|
+
image?: string;
|
|
896
|
+
};
|
|
886
897
|
};
|
|
887
898
|
};
|
|
888
899
|
}
|
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.218",
|
|
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.218",
|
|
67
|
+
"@theholocron/datapad": "5.0.0-alpha.218"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@theholocron/eslint-config": "^8.8.2",
|