@theholocron/cli 5.0.0-alpha.277 → 5.0.0-alpha.279

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/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as LifecycleResult, $t as ToolingDoctorReport, A as DeploymentProject, At as ProviderIdentity, B as EnsureRelayResult, Bt as Source, C as ConnectionStringOptions, Ct as NotificationsPinnedLayout, D as DeployScriptConfig, Dt as NotificationsWelcomeLayout, E as DeployFunctionResult, Et as NotificationsSignedIn, F as Dns, Ft as ResolvedCapability, G as EnvironmentReviewer, Gt as SourceSecurity, H as EnsureWebhookResult, Ht as SourceFile, I as DnsRecord, It as Ruleset, J as InspectRelayInput, Jt as Storage, K as Environments, Kt as SourceTeamMember, L as DnsRecordRequest, Lt as SecretScope, M as DeploymentRecord, Mt as RelayState, N as DeploymentTarget, Nt as RepoRef, O as DeployScriptResult, Ot as PagesConfig, P as DeploymentTrigger, Pt as RepoSettings, Q as LabelDef, Qt as Tooling, R as DnsRecordType, Rt as Secrets, S as CiRunStatus, St as NotificationsOnboardingLayout, T as DeployFunctionConfig, Tt as NotificationsSignIn, U as EnsuredResource, Ut as SourceRepoInfo, V as EnsureResult, Vt as SourceBranch, W as Environment, Wt as SourceRulesetDetail, X as IssueSearchFilter, Xt as TeamEntry, Y as Issue, Yt as StorageBranch, Z as Issues, Zt as TeamPermission, _ as Cardinality, _t as NotificationsDelivery, a as REQUIRED_CAPABILITIES, an as WikiProvisionOpts, at as MonitoringAlertChannelState, b as CiRun, bt as NotificationsLinksLayout, c as Analytics, cn as Workers, ct as MonitoringAssertionSource, d as AuthEvent, dt as MonitoringHttpMethod, en as TrackerDoctorReport, et as LifecycleSlot, f as AuthEventType, ft as NormalizedAuthUser, g as CapabilityKey, gt as NotificationsChannelLayout, h as CapabilityImpls, ht as NotificationsApplicationLayout, i as ProviderApiError, in as Wiki, it as MonitoringAlertChannelResult, j as DeploymentProjectSettings, jt as PullRequest, k as Deployment, kt as ParseWebhookInput, l as Auth, lt as MonitoringCheck, m as AuthUser, mt as NotificationsAccess, n as ElevationRequiredError, nn as Vault, nt as Monitoring, o as WebhookVerificationError, on as WikiProxyConfig, ot as MonitoringAssertion, p as AuthIdentity, pt as Notifications, q as Errors, qt as StatusCategory, r as MissingTokenError, rn as WebhookDashboardInfo, rt as MonitoringAlertChannelInput, s as isMulti, sn as WorkerScriptState, st as MonitoringAssertionComparison, t as CARDINALITY, tn as TrackerUser, tt as Logs, u as AuthDescription, ut as MonitoringCheckInput, v as CardinalityFor, vt as NotificationsEveryoneLayout, w as CreateAuthUserInput, wt as NotificationsServerLayout, x as CiRunFilter, xt as NotificationsMember, y as Ci, yt as NotificationsLayout, z as EnsureRelayInput, zt as ServerInspection } from "./index-D_HJGtOY.mjs";
2
- import { A as ResolvedProvidersConfig, C as RepoProperties, D as RepoVariables, E as RepoSecretsSync, F as TelemetryConfig, I as WorkflowWithConfig, M as SingleEntry, N as StorybookDeployProject, O as ResolvedHolocronConfig, P as TaskEntryConfig, S as RepoConfig, T as RepoSecrets, _ as LogConfig, a as ConfigError, b as RawProviderEntry, c as resolvePluginPackage, d as ChromaticProjectConfig, f as DocsConfig, g as HolocronConfig, h as EslintConfig, i as TaskEntry, j as ResolvedTuple, k as ResolvedProviderEntry, l as AppConfig, m as EnvConfig, n as Capability, o as resolveConfig, p as DoctorConfig, r as ComposedPreset, s as resolveEntry, t as compose, u as CapabilityConfigPackage, v as MultiEntry, w as RepoProtection, x as RawProvidersConfig, y as ProviderOptions } from "./index-dMk1XHFO.mjs";
1
+ import { $ as LifecycleResult, $t as ToolingDoctorReport, A as DeploymentProject, At as ProviderIdentity, B as EnsureRelayResult, Bt as Source, C as ConnectionStringOptions, Ct as NotificationsPinnedLayout, D as DeployScriptConfig, Dt as NotificationsWelcomeLayout, E as DeployFunctionResult, Et as NotificationsSignedIn, F as Dns, Ft as ResolvedCapability, G as EnvironmentReviewer, Gt as SourceSecurity, H as EnsureWebhookResult, Ht as SourceFile, I as DnsRecord, It as Ruleset, J as InspectRelayInput, Jt as Storage, K as Environments, Kt as SourceTeamMember, L as DnsRecordRequest, Lt as SecretScope, M as DeploymentRecord, Mt as RelayState, N as DeploymentTarget, Nt as RepoRef, O as DeployScriptResult, Ot as PagesConfig, P as DeploymentTrigger, Pt as RepoSettings, Q as LabelDef, Qt as Tooling, R as DnsRecordType, Rt as Secrets, S as CiRunStatus, St as NotificationsOnboardingLayout, T as DeployFunctionConfig, Tt as NotificationsSignIn, U as EnsuredResource, Ut as SourceRepoInfo, V as EnsureResult, Vt as SourceBranch, W as Environment, Wt as SourceRulesetDetail, X as IssueSearchFilter, Xt as TeamEntry, Y as Issue, Yt as StorageBranch, Z as Issues, Zt as TeamPermission, _ as Cardinality, _t as NotificationsDelivery, a as REQUIRED_CAPABILITIES, an as WikiProvisionOpts, at as MonitoringAlertChannelState, b as CiRun, bt as NotificationsLinksLayout, c as Analytics, cn as Workers, ct as MonitoringAssertionSource, d as AuthEvent, dt as MonitoringHttpMethod, en as TrackerDoctorReport, et as LifecycleSlot, f as AuthEventType, ft as NormalizedAuthUser, g as CapabilityKey, gt as NotificationsChannelLayout, h as CapabilityImpls, ht as NotificationsApplicationLayout, i as ProviderApiError, in as Wiki, it as MonitoringAlertChannelResult, j as DeploymentProjectSettings, jt as PullRequest, k as Deployment, kt as ParseWebhookInput, l as Auth, lt as MonitoringCheck, m as AuthUser, mt as NotificationsAccess, n as ElevationRequiredError, nn as Vault, nt as Monitoring, o as WebhookVerificationError, on as WikiProxyConfig, ot as MonitoringAssertion, p as AuthIdentity, pt as Notifications, q as Errors, qt as StatusCategory, r as MissingTokenError, rn as WebhookDashboardInfo, rt as MonitoringAlertChannelInput, s as isMulti, sn as WorkerScriptState, st as MonitoringAssertionComparison, t as CARDINALITY, tn as TrackerUser, tt as Logs, u as AuthDescription, ut as MonitoringCheckInput, v as CardinalityFor, vt as NotificationsEveryoneLayout, w as CreateAuthUserInput, wt as NotificationsServerLayout, x as CiRunFilter, xt as NotificationsMember, y as Ci, yt as NotificationsLayout, z as EnsureRelayInput, zt as ServerInspection } from "./index-aQ7iGTl7.mjs";
2
+ import { A as ResolvedProviderEntry, C as RepoProperties, D as RepoValidationConfig, E as RepoSecretsSync, F as TaskEntryConfig, I as TelemetryConfig, L as WorkflowWithConfig, M as ResolvedTuple, N as SingleEntry, O as RepoVariables, P as StorybookDeployProject, S as RepoConfig, T as RepoSecrets, _ as LogConfig, a as ConfigError, b as RawProviderEntry, c as resolvePluginPackage, d as ChromaticProjectConfig, f as DocsConfig, g as HolocronConfig, h as EslintConfig, i as TaskEntry, j as ResolvedProvidersConfig, k as ResolvedHolocronConfig, l as AppConfig, m as EnvConfig, n as Capability, o as resolveConfig, p as DoctorConfig, r as ComposedPreset, s as resolveEntry, t as compose, u as CapabilityConfigPackage, v as MultiEntry, w as RepoProtection, x as RawProvidersConfig, y as ProviderOptions } from "./index-B59MneN-.mjs";
3
3
  import { AuthError, RequestOptions, ResolveTokenConfig as ResolveTokenConfig$1, ResolveTokenInput, ResolveTokenInput as ResolveTokenInput$1, RestClient, RestClientConfig, createRestClient } from "@theholocron/http-client";
4
4
  import { PackageJson } from "@theholocron/pkg-utils";
5
5
  import { ConfigFileError } from "@theholocron/datapad";
@@ -199,6 +199,11 @@ interface ProbeRow {
199
199
  interface ProbeContext {
200
200
  /** What the person typed after the probe name (`probe deps who vitest` hands `["vitest"]`). */
201
201
  args?: readonly string[];
202
+ /**
203
+ * `--lcov <path>`: where a probe that measures coverage also writes an lcov report, on top of the rows it prints.
204
+ * Relative to the repo root. Unset when the flag was not given.
205
+ */
206
+ lcov?: string;
202
207
  /** `--dry-run`: `write` calls are announced and skipped. */
203
208
  dryRun: boolean;
204
209
  /** Report one line. The text is scrubbed of secrets before it is printed. */
@@ -248,4 +253,4 @@ export declare function describeNetworkError(err: unknown, timeoutMs: number): s
248
253
  * earlier one failed is reported as not tried rather than failing a second time for the same reason.
249
254
  */
250
255
  export declare function connectionProbe(input: ConnectionProbeInput): Probe;
251
- export { Analytics, type AppConfig, Auth, AuthDescription, AuthError, AuthEvent, AuthEventType, AuthIdentity, AuthUser, CARDINALITY, type Capability, type CapabilityConfigPackage, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, type ChromaticProjectConfig, Ci, CiRun, CiRunFilter, CiRunStatus, type ComposedPreset, ConfigError, ConfigFileError, ConnectionStringOptions, CreateAuthUserInput, DeployFunctionConfig, DeployFunctionResult, DeployScriptConfig, DeployScriptResult, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, type DeriveProfileInput, Dns, DnsRecord, DnsRecordRequest, DnsRecordType, type DocsConfig, type DoctorConfig, ElevationRequiredError, EnsureRelayInput, EnsureRelayResult, EnsureResult, EnsureWebhookResult, EnsuredResource, type EnvConfig, Environment, EnvironmentReviewer, Environments, Errors, type EslintConfig, type FeatureResolver, type FeatureResolverConfig, type HolocronConfig, type HolocronProfile, InspectRelayInput, Issue, IssueSearchFilter, Issues, LabelDef, LifecycleResult, LifecycleSlot, type LoadedConfig, type LogConfig, Logs, MissingTokenError, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, MonitoringAlertChannelState, MonitoringAssertion, MonitoringAssertionComparison, MonitoringAssertionSource, MonitoringCheck, MonitoringCheckInput, MonitoringHttpMethod, type MultiEntry, NormalizedAuthUser, Notifications, NotificationsAccess, NotificationsApplicationLayout, NotificationsChannelLayout, NotificationsDelivery, NotificationsEveryoneLayout, NotificationsLayout, NotificationsLinksLayout, NotificationsMember, NotificationsOnboardingLayout, NotificationsPinnedLayout, NotificationsServerLayout, NotificationsSignIn, NotificationsSignedIn, NotificationsWelcomeLayout, type PackageJsonLike, PagesConfig, ParseWebhookInput, type PluginProbes, type PluginToken, type Probe, type ProbeContext, type ProbeRow, ProviderApiError, ProviderIdentity, type ProviderOptions, PullRequest, REQUIRED_CAPABILITIES, type RawProviderEntry, type RawProvidersConfig, RelayState, type RepoConfig, type RepoProperties, type RepoProtection, RepoRef, type RepoSecrets, type RepoSecretsSync, RepoSettings, type RepoVariables, type RequestOptions, type ResolveTokenConfig, type ResolveTokenInput, ResolvedCapability, type ResolvedHolocronConfig, type ResolvedProviderEntry, type ResolvedProvidersConfig, type ResolvedTuple, type RestClient, type RestClientConfig, Ruleset, SecretScope, Secrets, ServerInspection, type SingleEntry, Source, SourceBranch, SourceFile, SourceRepoInfo, SourceRulesetDetail, SourceSecurity, SourceTeamMember, StatusCategory, Storage, StorageBranch, type StorybookDeployProject, type TaskEntry, type TaskEntryConfig, TeamEntry, TeamPermission, type TelemetryConfig, type TokenResolver, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, Vault, type VerifyTokenFailure, type VerifyTokenResult, type VerifyTokenSuccess, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, WorkerScriptState, Workers, type WorkflowWithConfig, compose, createRestClient, isMulti, resolveConfig, resolveEntry, resolvePluginPackage };
256
+ export { Analytics, type AppConfig, Auth, AuthDescription, AuthError, AuthEvent, AuthEventType, AuthIdentity, AuthUser, CARDINALITY, type Capability, type CapabilityConfigPackage, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, type ChromaticProjectConfig, Ci, CiRun, CiRunFilter, CiRunStatus, type ComposedPreset, ConfigError, ConfigFileError, ConnectionStringOptions, CreateAuthUserInput, DeployFunctionConfig, DeployFunctionResult, DeployScriptConfig, DeployScriptResult, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, type DeriveProfileInput, Dns, DnsRecord, DnsRecordRequest, DnsRecordType, type DocsConfig, type DoctorConfig, ElevationRequiredError, EnsureRelayInput, EnsureRelayResult, EnsureResult, EnsureWebhookResult, EnsuredResource, type EnvConfig, Environment, EnvironmentReviewer, Environments, Errors, type EslintConfig, type FeatureResolver, type FeatureResolverConfig, type HolocronConfig, type HolocronProfile, InspectRelayInput, Issue, IssueSearchFilter, Issues, LabelDef, LifecycleResult, LifecycleSlot, type LoadedConfig, type LogConfig, Logs, MissingTokenError, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, MonitoringAlertChannelState, MonitoringAssertion, MonitoringAssertionComparison, MonitoringAssertionSource, MonitoringCheck, MonitoringCheckInput, MonitoringHttpMethod, type MultiEntry, NormalizedAuthUser, Notifications, NotificationsAccess, NotificationsApplicationLayout, NotificationsChannelLayout, NotificationsDelivery, NotificationsEveryoneLayout, NotificationsLayout, NotificationsLinksLayout, NotificationsMember, NotificationsOnboardingLayout, NotificationsPinnedLayout, NotificationsServerLayout, NotificationsSignIn, NotificationsSignedIn, NotificationsWelcomeLayout, type PackageJsonLike, PagesConfig, ParseWebhookInput, type PluginProbes, type PluginToken, type Probe, type ProbeContext, type ProbeRow, ProviderApiError, ProviderIdentity, type ProviderOptions, PullRequest, REQUIRED_CAPABILITIES, type RawProviderEntry, type RawProvidersConfig, RelayState, type RepoConfig, type RepoProperties, type RepoProtection, RepoRef, type RepoSecrets, type RepoSecretsSync, RepoSettings, type RepoValidationConfig, type RepoVariables, type RequestOptions, type ResolveTokenConfig, type ResolveTokenInput, ResolvedCapability, type ResolvedHolocronConfig, type ResolvedProviderEntry, type ResolvedProvidersConfig, type ResolvedTuple, type RestClient, type RestClientConfig, Ruleset, SecretScope, Secrets, ServerInspection, type SingleEntry, Source, SourceBranch, SourceFile, SourceRepoInfo, SourceRulesetDetail, SourceSecurity, SourceTeamMember, StatusCategory, Storage, StorageBranch, type StorybookDeployProject, type TaskEntry, type TaskEntryConfig, TeamEntry, TeamPermission, type TelemetryConfig, type TokenResolver, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, Vault, type VerifyTokenFailure, type VerifyTokenResult, type VerifyTokenSuccess, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, WorkerScriptState, Workers, type WorkflowWithConfig, compose, createRestClient, isMulti, resolveConfig, resolveEntry, resolvePluginPackage };
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CARDINALITY, ElevationRequiredError, MissingTokenError, ProviderApiError, REQUIRED_CAPABILITIES, WebhookVerificationError, isMulti } from "./plugin/capabilities.mjs";
2
- import { a as resolvePluginPackage, i as resolveEntry, n as ConfigError, r as resolveConfig, t as compose } from "./compose-8k8KP396.mjs";
2
+ import { a as resolvePluginPackage, i as resolveEntry, n as ConfigError, r as resolveConfig, t as compose } from "./compose-DxOjvMVt.mjs";
3
3
  import { AuthError, createResolveToken as createResolveToken$1, createRestClient } from "@theholocron/http-client";
4
4
  import { createEnvLookup, withEnvPrefix } from "@theholocron/env-utils";
5
5
  import { Entry, findCredentials } from "@napi-rs/keyring";
@@ -1,2 +1,2 @@
1
- import { $ as LifecycleResult, $t as ToolingDoctorReport, A as DeploymentProject, At as ProviderIdentity, B as EnsureRelayResult, Bt as Source, C as ConnectionStringOptions, Ct as NotificationsPinnedLayout, D as DeployScriptConfig, Dt as NotificationsWelcomeLayout, E as DeployFunctionResult, Et as NotificationsSignedIn, F as Dns, Ft as ResolvedCapability, G as EnvironmentReviewer, Gt as SourceSecurity, H as EnsureWebhookResult, Ht as SourceFile, I as DnsRecord, It as Ruleset, J as InspectRelayInput, Jt as Storage, K as Environments, Kt as SourceTeamMember, L as DnsRecordRequest, Lt as SecretScope, M as DeploymentRecord, Mt as RelayState, N as DeploymentTarget, Nt as RepoRef, O as DeployScriptResult, Ot as PagesConfig, P as DeploymentTrigger, Pt as RepoSettings, Q as LabelDef, Qt as Tooling, R as DnsRecordType, Rt as Secrets, S as CiRunStatus, St as NotificationsOnboardingLayout, T as DeployFunctionConfig, Tt as NotificationsSignIn, U as EnsuredResource, Ut as SourceRepoInfo, V as EnsureResult, Vt as SourceBranch, W as Environment, Wt as SourceRulesetDetail, X as IssueSearchFilter, Xt as TeamEntry, Y as Issue, Yt as StorageBranch, Z as Issues, Zt as TeamPermission, _ as Cardinality, _t as NotificationsDelivery, a as REQUIRED_CAPABILITIES, an as WikiProvisionOpts, at as MonitoringAlertChannelState, b as CiRun, bt as NotificationsLinksLayout, c as Analytics, cn as Workers, ct as MonitoringAssertionSource, d as AuthEvent, dt as MonitoringHttpMethod, en as TrackerDoctorReport, et as LifecycleSlot, f as AuthEventType, ft as NormalizedAuthUser, g as CapabilityKey, gt as NotificationsChannelLayout, h as CapabilityImpls, ht as NotificationsApplicationLayout, i as ProviderApiError, in as Wiki, it as MonitoringAlertChannelResult, j as DeploymentProjectSettings, jt as PullRequest, k as Deployment, kt as ParseWebhookInput, l as Auth, lt as MonitoringCheck, m as AuthUser, mt as NotificationsAccess, n as ElevationRequiredError, nn as Vault, nt as Monitoring, o as WebhookVerificationError, on as WikiProxyConfig, ot as MonitoringAssertion, p as AuthIdentity, pt as Notifications, q as Errors, qt as StatusCategory, r as MissingTokenError, rn as WebhookDashboardInfo, rt as MonitoringAlertChannelInput, s as isMulti, sn as WorkerScriptState, st as MonitoringAssertionComparison, t as CARDINALITY, tn as TrackerUser, tt as Logs, u as AuthDescription, ut as MonitoringCheckInput, v as CardinalityFor, vt as NotificationsEveryoneLayout, w as CreateAuthUserInput, wt as NotificationsServerLayout, x as CiRunFilter, xt as NotificationsMember, y as Ci, yt as NotificationsLayout, z as EnsureRelayInput, zt as ServerInspection } from "../index-D_HJGtOY.mjs";
1
+ import { $ as LifecycleResult, $t as ToolingDoctorReport, A as DeploymentProject, At as ProviderIdentity, B as EnsureRelayResult, Bt as Source, C as ConnectionStringOptions, Ct as NotificationsPinnedLayout, D as DeployScriptConfig, Dt as NotificationsWelcomeLayout, E as DeployFunctionResult, Et as NotificationsSignedIn, F as Dns, Ft as ResolvedCapability, G as EnvironmentReviewer, Gt as SourceSecurity, H as EnsureWebhookResult, Ht as SourceFile, I as DnsRecord, It as Ruleset, J as InspectRelayInput, Jt as Storage, K as Environments, Kt as SourceTeamMember, L as DnsRecordRequest, Lt as SecretScope, M as DeploymentRecord, Mt as RelayState, N as DeploymentTarget, Nt as RepoRef, O as DeployScriptResult, Ot as PagesConfig, P as DeploymentTrigger, Pt as RepoSettings, Q as LabelDef, Qt as Tooling, R as DnsRecordType, Rt as Secrets, S as CiRunStatus, St as NotificationsOnboardingLayout, T as DeployFunctionConfig, Tt as NotificationsSignIn, U as EnsuredResource, Ut as SourceRepoInfo, V as EnsureResult, Vt as SourceBranch, W as Environment, Wt as SourceRulesetDetail, X as IssueSearchFilter, Xt as TeamEntry, Y as Issue, Yt as StorageBranch, Z as Issues, Zt as TeamPermission, _ as Cardinality, _t as NotificationsDelivery, a as REQUIRED_CAPABILITIES, an as WikiProvisionOpts, at as MonitoringAlertChannelState, b as CiRun, bt as NotificationsLinksLayout, c as Analytics, cn as Workers, ct as MonitoringAssertionSource, d as AuthEvent, dt as MonitoringHttpMethod, en as TrackerDoctorReport, et as LifecycleSlot, f as AuthEventType, ft as NormalizedAuthUser, g as CapabilityKey, gt as NotificationsChannelLayout, h as CapabilityImpls, ht as NotificationsApplicationLayout, i as ProviderApiError, in as Wiki, it as MonitoringAlertChannelResult, j as DeploymentProjectSettings, jt as PullRequest, k as Deployment, kt as ParseWebhookInput, l as Auth, lt as MonitoringCheck, m as AuthUser, mt as NotificationsAccess, n as ElevationRequiredError, nn as Vault, nt as Monitoring, o as WebhookVerificationError, on as WikiProxyConfig, ot as MonitoringAssertion, p as AuthIdentity, pt as Notifications, q as Errors, qt as StatusCategory, r as MissingTokenError, rn as WebhookDashboardInfo, rt as MonitoringAlertChannelInput, s as isMulti, sn as WorkerScriptState, st as MonitoringAssertionComparison, t as CARDINALITY, tn as TrackerUser, tt as Logs, u as AuthDescription, ut as MonitoringCheckInput, v as CardinalityFor, vt as NotificationsEveryoneLayout, w as CreateAuthUserInput, wt as NotificationsServerLayout, x as CiRunFilter, xt as NotificationsMember, y as Ci, yt as NotificationsLayout, z as EnsureRelayInput, zt as ServerInspection } from "../index-aQ7iGTl7.mjs";
2
2
  export { Analytics, Auth, AuthDescription, AuthEvent, AuthEventType, AuthIdentity, AuthUser, CARDINALITY, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, Ci, CiRun, CiRunFilter, CiRunStatus, ConnectionStringOptions, CreateAuthUserInput, DeployFunctionConfig, DeployFunctionResult, DeployScriptConfig, DeployScriptResult, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, Dns, DnsRecord, DnsRecordRequest, DnsRecordType, ElevationRequiredError, EnsureRelayInput, EnsureRelayResult, EnsureResult, EnsureWebhookResult, EnsuredResource, Environment, EnvironmentReviewer, Environments, Errors, InspectRelayInput, Issue, IssueSearchFilter, Issues, LabelDef, LifecycleResult, LifecycleSlot, Logs, MissingTokenError, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, MonitoringAlertChannelState, MonitoringAssertion, MonitoringAssertionComparison, MonitoringAssertionSource, MonitoringCheck, MonitoringCheckInput, MonitoringHttpMethod, NormalizedAuthUser, Notifications, NotificationsAccess, NotificationsApplicationLayout, NotificationsChannelLayout, NotificationsDelivery, NotificationsEveryoneLayout, NotificationsLayout, NotificationsLinksLayout, NotificationsMember, NotificationsOnboardingLayout, NotificationsPinnedLayout, NotificationsServerLayout, NotificationsSignIn, NotificationsSignedIn, NotificationsWelcomeLayout, PagesConfig, ParseWebhookInput, ProviderApiError, ProviderIdentity, PullRequest, REQUIRED_CAPABILITIES, RelayState, RepoRef, RepoSettings, ResolvedCapability, Ruleset, SecretScope, Secrets, ServerInspection, Source, SourceBranch, SourceFile, SourceRepoInfo, SourceRulesetDetail, SourceSecurity, SourceTeamMember, StatusCategory, Storage, StorageBranch, TeamEntry, TeamPermission, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, Vault, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, WorkerScriptState, Workers, isMulti };
@@ -1,23 +1,42 @@
1
1
  import { ProviderApiError } from "@theholocron/http-client";
2
2
  // src/plugin/capabilities/capabilities.ts
3
+ /** How many providers each capability resolves to: one (`"single"`) or several active at once (`"many"`). */
3
4
  const CARDINALITY = {
5
+ /** `source` has exactly one provider. */
4
6
  source: "single",
7
+ /** `ci` has exactly one provider. */
5
8
  ci: "single",
9
+ /** `secrets` has exactly one provider. */
6
10
  secrets: "single",
11
+ /** `environments` has exactly one provider. */
7
12
  environments: "single",
13
+ /** `issues` has exactly one provider. */
8
14
  issues: "single",
15
+ /** `deployment` has exactly one provider. */
9
16
  deployment: "single",
17
+ /** `storage` has exactly one provider. */
10
18
  storage: "single",
19
+ /** `auth` has exactly one provider. */
11
20
  auth: "single",
21
+ /** `vault` has exactly one provider. */
12
22
  vault: "single",
23
+ /** `dns` has exactly one provider. */
13
24
  dns: "single",
25
+ /** `tooling` can have several providers active at once. */
14
26
  tooling: "many",
27
+ /** `notifications` can have several providers active at once. */
15
28
  notifications: "many",
29
+ /** `analytics` can have several providers active at once. */
16
30
  analytics: "many",
31
+ /** `errors` has exactly one provider. */
17
32
  errors: "single",
33
+ /** `logs` has exactly one provider. */
18
34
  logs: "single",
35
+ /** `monitoring` has exactly one provider. */
19
36
  monitoring: "single",
37
+ /** `wiki` has exactly one provider. */
20
38
  wiki: "single",
39
+ /** `workers` has exactly one provider. */
21
40
  workers: "single"
22
41
  };
23
42
  /**
@@ -32,6 +51,7 @@ const REQUIRED_CAPABILITIES = [];
32
51
  */
33
52
  var ElevationRequiredError = class extends Error {
34
53
  elevation;
54
+ /** Lets a caller tell this error from any other by name, across package copies. */
35
55
  name = "ElevationRequiredError";
36
56
  constructor(message, elevation, options) {
37
57
  super(message, options);
@@ -46,9 +66,12 @@ var MissingTokenError = class extends Error {
46
66
  /** Lets a caller tell this error from any other by name, across package copies. */
47
67
  name = "MissingTokenError";
48
68
  };
69
+ /** A webhook payload failed signature verification, so it must not be trusted. */
49
70
  var WebhookVerificationError = class extends Error {
71
+ /** Lets a caller tell this error from any other by name, across package copies. */
50
72
  name = "WebhookVerificationError";
51
73
  };
74
+ /** Whether `key` is a capability that can have several providers active at once. */
52
75
  function isMulti(key) {
53
76
  return CARDINALITY[key] === "many";
54
77
  }
@@ -1,4 +1,4 @@
1
- import { n as Capability, r as ComposedPreset, t as compose } from "./index-dMk1XHFO.mjs";
1
+ import { n as Capability, r as ComposedPreset, t as compose } from "./index-B59MneN-.mjs";
2
2
  interface AuditOptions {
3
3
  /** Enable Knip unused-export analysis (default: false). */
4
4
  knip?: boolean;
package/dist/presets.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as compose } from "./compose-8k8KP396.mjs";
1
+ import { t as compose } from "./compose-DxOjvMVt.mjs";
2
2
  // src/presets/capabilities/audit.ts
3
3
  /**
4
4
  * Adds BundleWatch + optional Knip and Lighthouse auditing. Marked `required` —
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/cli",
3
- "version": "5.0.0-alpha.277",
3
+ "version": "5.0.0-alpha.279",
4
4
  "description": "The Holocron CLI - a pluggable, capability-based orchestrator for spinning up and operating software projects.",
5
5
  "keywords": [
6
6
  "cli",
@@ -52,17 +52,17 @@
52
52
  "pino-pretty": "^13.1.3",
53
53
  "posthog-node": "^5.57.2",
54
54
  "yargs": "^18.1.0",
55
- "@theholocron/astromech": "5.0.0-alpha.277",
56
- "@theholocron/env-utils": "^1.16.1-alpha.2",
57
- "@theholocron/datapad": "5.0.0-alpha.277",
58
- "@theholocron/fs-utils": "^1.16.1-alpha.2",
59
- "@theholocron/http-client": "^1.58.0-alpha.3",
60
- "@theholocron/git-utils": "^1.16.1-alpha.2",
61
- "@theholocron/json-utils": "^1.16.1-alpha.2",
55
+ "@theholocron/astromech": "5.0.0-alpha.279",
56
+ "@theholocron/datapad": "5.0.0-alpha.279",
57
+ "@theholocron/env-utils": "^1.16.1-alpha.3",
58
+ "@theholocron/fs-utils": "^1.16.1-alpha.3",
59
+ "@theholocron/git-utils": "^1.16.1-alpha.3",
62
60
  "@theholocron/github-client": "^1.58.0-alpha.3",
63
- "@theholocron/misc-utils": "^1.16.1-alpha.2",
61
+ "@theholocron/misc-utils": "^1.16.1-alpha.3",
62
+ "@theholocron/pkg-utils": "^1.16.1-alpha.3",
64
63
  "@theholocron/observability": "^0.6.1-alpha.1",
65
- "@theholocron/pkg-utils": "^1.16.1-alpha.2"
64
+ "@theholocron/http-client": "^1.58.0-alpha.3",
65
+ "@theholocron/json-utils": "^1.16.1-alpha.3"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@types/node": "^26",
@@ -76,10 +76,10 @@
76
76
  "tsx": "4.23.15",
77
77
  "typescript": "^5.9.3",
78
78
  "vitest": "^5.0.5",
79
- "@theholocron/eslint-config": "^8.9.0-alpha.3",
80
- "@theholocron/vitest-config": "^8.9.0-alpha.3",
81
- "@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.3",
82
- "@theholocron/tsconfig": "^8.9.0-alpha.3"
79
+ "@theholocron/eslint-config": "^8.9.0-alpha.4",
80
+ "@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.4",
81
+ "@theholocron/tsconfig": "^8.9.0-alpha.4",
82
+ "@theholocron/vitest-config": "^8.9.0-alpha.4"
83
83
  },
84
84
  "engines": {
85
85
  "node": ">=22.0.0"