@theholocron/cli 5.0.0-alpha.264 → 5.0.0-alpha.266
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 +12 -10
- package/dist/cli.mjs +355 -17
- package/dist/cli.mjs.map +1 -1
- package/dist/{index-BGZ_6iES.d.mts → index-CwxYoWzS.d.mts} +24 -1
- package/dist/{index-D0d--U7u.d.mts → index-DyTxSSgq.d.mts} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +2 -2
- package/dist/plugin/capabilities.d.mts +2 -2
- package/dist/plugin/capabilities.mjs +9 -1
- package/dist/presets.d.mts +1 -1
- package/package.json +7 -7
|
@@ -154,6 +154,21 @@ interface Source extends ProviderIdentity {
|
|
|
154
154
|
prune?: boolean;
|
|
155
155
|
dryRun?: boolean;
|
|
156
156
|
}): Promise<string>;
|
|
157
|
+
/**
|
|
158
|
+
* The repository's Actions variables as they are now, by name, with their values. Read-only.
|
|
159
|
+
* Optional — providers without Actions variables omit this.
|
|
160
|
+
*/
|
|
161
|
+
listVariables?(): Promise<Record<string, string>>;
|
|
162
|
+
/**
|
|
163
|
+
* The organization's Actions variables as they are now, by name, with each value and the repositories that can read
|
|
164
|
+
* it (`selected` is a list this interface does not manage). Read-only. Throws {@link MissingTokenError} when the
|
|
165
|
+
* provider has no token that can read them.
|
|
166
|
+
* Optional — providers without organization variables omit this.
|
|
167
|
+
*/
|
|
168
|
+
listOrgVariables?(org: string): Promise<Record<string, {
|
|
169
|
+
value: string;
|
|
170
|
+
visibility: "all" | "private" | "selected";
|
|
171
|
+
}>>;
|
|
157
172
|
/**
|
|
158
173
|
* Sync GitHub team repository access. String shorthand defaults to `push`.
|
|
159
174
|
* Optional — providers without a team concept omit this.
|
|
@@ -1655,8 +1670,16 @@ declare class ElevationRequiredError extends Error {
|
|
|
1655
1670
|
applied?: string[];
|
|
1656
1671
|
}, options?: ErrorOptions);
|
|
1657
1672
|
}
|
|
1673
|
+
/**
|
|
1674
|
+
* A provider cannot do a read because it has no token for it. A check that meets this skips with the message instead
|
|
1675
|
+
* of failing: the token is missing, not wrong.
|
|
1676
|
+
*/
|
|
1677
|
+
declare class MissingTokenError extends Error {
|
|
1678
|
+
/** Lets a caller tell this error from any other by name, across package copies. */
|
|
1679
|
+
name: string;
|
|
1680
|
+
}
|
|
1658
1681
|
declare class WebhookVerificationError extends Error {
|
|
1659
1682
|
name: string;
|
|
1660
1683
|
}
|
|
1661
1684
|
declare function isMulti<K extends CapabilityKey>(key: K): CardinalityFor<K> extends "many" ? true : false;
|
|
1662
|
-
export {
|
|
1685
|
+
export { LifecycleSlot as $, WikiProvisionOpts as $t, DeploymentProject as A, RepoRef as At, EnsureRelayResult as B, SourceTeamMember as Bt, ConnectionStringOptions as C, NotificationsSignIn as Ct, DeployScriptConfig as D, ParseWebhookInput as Dt, DeployFunctionResult as E, PagesConfig as Et, Dns as F, Secrets as Ft, EnvironmentReviewer as G, TeamPermission as Gt, EnsureWebhookResult as H, Storage as Ht, DnsRecord as I, ServerInspection as It, Issue as J, TrackerDoctorReport as Jt, Environments as K, Tooling as Kt, DnsRecordRequest as L, Source as Lt, DeploymentRecord as M, ResolvedCapability as Mt, DeploymentTarget as N, Ruleset as Nt, DeployScriptResult as O, ProviderIdentity as Ot, DeploymentTrigger as P, SecretScope as Pt, LifecycleResult as Q, Wiki as Qt, DnsRecordType as R, SourceBranch as Rt, CiRunStatus as S, NotificationsServerLayout as St, DeployFunctionConfig as T, NotificationsWelcomeLayout as Tt, EnsuredResource as U, StorageBranch as Ut, EnsureResult as V, StatusCategory as Vt, Environment as W, TeamEntry as Wt, Issues as X, Vault as Xt, IssueSearchFilter as Y, TrackerUser as Yt, LabelDef as Z, WebhookDashboardInfo as Zt, Cardinality as _, NotificationsLayout as _t, REQUIRED_CAPABILITIES as a, MonitoringAssertionComparison as at, CiRun as b, NotificationsOnboardingLayout as bt, Analytics as c, MonitoringCheckInput as ct, AuthEvent as d, Notifications as dt, WikiProxyConfig as en, Logs as et, AuthEventType as f, NotificationsAccess as ft, CapabilityKey as g, NotificationsEveryoneLayout as gt, CapabilityImpls as h, NotificationsDelivery as ht, ProviderApiError as i, MonitoringAssertion as it, DeploymentProjectSettings as j, RepoSettings as jt, Deployment as k, PullRequest as kt, Auth as l, MonitoringHttpMethod as lt, AuthUser as m, NotificationsChannelLayout as mt, ElevationRequiredError as n, MonitoringAlertChannelInput as nt, WebhookVerificationError as o, MonitoringAssertionSource as ot, AuthIdentity as p, NotificationsApplicationLayout as pt, Errors as q, ToolingDoctorReport as qt, MissingTokenError as r, MonitoringAlertChannelResult as rt, isMulti as s, MonitoringCheck as st, CARDINALITY as t, Workers as tn, Monitoring as tt, AuthDescription as u, NormalizedAuthUser as ut, CardinalityFor as v, NotificationsLinksLayout as vt, CreateAuthUserInput as w, NotificationsSignedIn as wt, CiRunFilter as x, NotificationsPinnedLayout as xt, Ci as y, NotificationsMember as yt, EnsureRelayInput as z, SourceFile as zt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Et as PagesConfig, Wt as TeamEntry, g as CapabilityKey } from "./index-CwxYoWzS.mjs";
|
|
2
2
|
import { LogLevel } from "@theholocron/observability/core";
|
|
3
3
|
/** Structured-logging config. The Axiom **token** never lives here — only in
|
|
4
4
|
* env vars or the OS keyring — but the non-secret dataset name may. */
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { A as SingleEntry, C as RepoProperties, D as ResolvedProviderEntry, E as ResolvedHolocronConfig, M as TaskEntryConfig, N as TelemetryConfig, O as ResolvedProvidersConfig, P as WorkflowWithConfig, S as RepoConfig, T as RepoVariables, _ 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 StorybookDeployProject, k as ResolvedTuple, 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-
|
|
1
|
+
import { $ as LifecycleSlot, $t as WikiProvisionOpts, A as DeploymentProject, At as RepoRef, B as EnsureRelayResult, Bt as SourceTeamMember, C as ConnectionStringOptions, Ct as NotificationsSignIn, D as DeployScriptConfig, Dt as ParseWebhookInput, E as DeployFunctionResult, Et as PagesConfig, F as Dns, Ft as Secrets, G as EnvironmentReviewer, Gt as TeamPermission, H as EnsureWebhookResult, Ht as Storage, I as DnsRecord, It as ServerInspection, J as Issue, Jt as TrackerDoctorReport, K as Environments, Kt as Tooling, L as DnsRecordRequest, Lt as Source, M as DeploymentRecord, Mt as ResolvedCapability, N as DeploymentTarget, Nt as Ruleset, O as DeployScriptResult, Ot as ProviderIdentity, P as DeploymentTrigger, Pt as SecretScope, Q as LifecycleResult, Qt as Wiki, R as DnsRecordType, Rt as SourceBranch, S as CiRunStatus, St as NotificationsServerLayout, T as DeployFunctionConfig, Tt as NotificationsWelcomeLayout, U as EnsuredResource, Ut as StorageBranch, V as EnsureResult, Vt as StatusCategory, W as Environment, Wt as TeamEntry, X as Issues, Xt as Vault, Y as IssueSearchFilter, Yt as TrackerUser, Z as LabelDef, Zt as WebhookDashboardInfo, _ as Cardinality, _t as NotificationsLayout, a as REQUIRED_CAPABILITIES, at as MonitoringAssertionComparison, b as CiRun, bt as NotificationsOnboardingLayout, c as Analytics, ct as MonitoringCheckInput, d as AuthEvent, dt as Notifications, en as WikiProxyConfig, et as Logs, f as AuthEventType, ft as NotificationsAccess, g as CapabilityKey, gt as NotificationsEveryoneLayout, h as CapabilityImpls, ht as NotificationsDelivery, i as ProviderApiError, it as MonitoringAssertion, j as DeploymentProjectSettings, jt as RepoSettings, k as Deployment, kt as PullRequest, l as Auth, lt as MonitoringHttpMethod, m as AuthUser, mt as NotificationsChannelLayout, n as ElevationRequiredError, nt as MonitoringAlertChannelInput, o as WebhookVerificationError, ot as MonitoringAssertionSource, p as AuthIdentity, pt as NotificationsApplicationLayout, q as Errors, qt as ToolingDoctorReport, r as MissingTokenError, rt as MonitoringAlertChannelResult, s as isMulti, st as MonitoringCheck, t as CARDINALITY, tn as Workers, tt as Monitoring, u as AuthDescription, ut as NormalizedAuthUser, v as CardinalityFor, vt as NotificationsLinksLayout, w as CreateAuthUserInput, wt as NotificationsSignedIn, x as CiRunFilter, xt as NotificationsPinnedLayout, y as Ci, yt as NotificationsMember, z as EnsureRelayInput, zt as SourceFile } from "./index-CwxYoWzS.mjs";
|
|
2
|
+
import { A as SingleEntry, C as RepoProperties, D as ResolvedProviderEntry, E as ResolvedHolocronConfig, M as TaskEntryConfig, N as TelemetryConfig, O as ResolvedProvidersConfig, P as WorkflowWithConfig, S as RepoConfig, T as RepoVariables, _ 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 StorybookDeployProject, k as ResolvedTuple, 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-DyTxSSgq.mjs";
|
|
3
3
|
import { AuthError, RequestOptions, ResolveTokenConfig as ResolveTokenConfig$1, ResolveTokenInput, RestClient, RestClientConfig, createRestClient } from "@theholocron/http-client";
|
|
4
4
|
import { PackageJson } from "@theholocron/pkg-utils";
|
|
5
5
|
import { ConfigFileError } from "@theholocron/datapad";
|
|
@@ -222,4 +222,4 @@ export declare function describeNetworkError(err: unknown, timeoutMs: number): s
|
|
|
222
222
|
* earlier one failed is reported as not tried rather than failing a second time for the same reason.
|
|
223
223
|
*/
|
|
224
224
|
export declare function connectionProbe(input: ConnectionProbeInput): Probe;
|
|
225
|
-
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 FeatureResolverConfig, type HolocronConfig, type HolocronProfile, Issue, IssueSearchFilter, Issues, LabelDef, LifecycleResult, LifecycleSlot, type LoadedConfig, type LogConfig, Logs, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, 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 Probe, type ProbeContext, type ProbeRow, ProviderApiError, ProviderIdentity, type ProviderOptions, PullRequest, REQUIRED_CAPABILITIES, type RawProviderEntry, type RawProvidersConfig, type RepoConfig, type RepoProperties, type RepoProtection, RepoRef, 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, SourceTeamMember, StatusCategory, Storage, StorageBranch, type StorybookDeployProject, type TaskEntry, type TaskEntryConfig, TeamEntry, TeamPermission, type TelemetryConfig, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, Vault, type VerifyTokenFailure, type VerifyTokenResult, type VerifyTokenSuccess, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, Workers, type WorkflowWithConfig, compose, createRestClient, isMulti, resolveConfig, resolveEntry, resolvePluginPackage };
|
|
225
|
+
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 FeatureResolverConfig, type HolocronConfig, type HolocronProfile, Issue, IssueSearchFilter, Issues, LabelDef, LifecycleResult, LifecycleSlot, type LoadedConfig, type LogConfig, Logs, MissingTokenError, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, 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 Probe, type ProbeContext, type ProbeRow, ProviderApiError, ProviderIdentity, type ProviderOptions, PullRequest, REQUIRED_CAPABILITIES, type RawProviderEntry, type RawProvidersConfig, type RepoConfig, type RepoProperties, type RepoProtection, RepoRef, 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, SourceTeamMember, StatusCategory, Storage, StorageBranch, type StorybookDeployProject, type TaskEntry, type TaskEntryConfig, TeamEntry, TeamPermission, type TelemetryConfig, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, Vault, type VerifyTokenFailure, type VerifyTokenResult, type VerifyTokenSuccess, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, Workers, type WorkflowWithConfig, compose, createRestClient, isMulti, resolveConfig, resolveEntry, resolvePluginPackage };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CARDINALITY, ElevationRequiredError, ProviderApiError, REQUIRED_CAPABILITIES, WebhookVerificationError, isMulti } from "./plugin/capabilities.mjs";
|
|
1
|
+
import { CARDINALITY, ElevationRequiredError, MissingTokenError, ProviderApiError, REQUIRED_CAPABILITIES, WebhookVerificationError, isMulti } from "./plugin/capabilities.mjs";
|
|
2
2
|
import { a as resolvePluginPackage, i as resolveEntry, n as ConfigError, r as resolveConfig, t as compose } from "./compose-DFW8ftHT.mjs";
|
|
3
3
|
import { AuthError, createResolveToken as createResolveToken$1, createRestClient } from "@theholocron/http-client";
|
|
4
4
|
import { createEnvLookup, withEnvPrefix } from "@theholocron/env-utils";
|
|
@@ -418,4 +418,4 @@ function connectionProbe(input) {
|
|
|
418
418
|
}
|
|
419
419
|
};
|
|
420
420
|
}
|
|
421
|
-
export { AuthError, CARDINALITY, ConfigError, ConfigFileError, ElevationRequiredError, ProviderApiError, REQUIRED_CAPABILITIES, WebhookVerificationError, compose, connectionProbe, createFeatureResolver, createResolveToken, createRestClient, defineConfig, deleteToken, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, describeNetworkError, getToken, isMulti, listStoredProviders, loadConfig, missingCapabilities, readWorkspacePackageJsons, resolveConfig, resolveEntry, resolvePluginPackage, setToken };
|
|
421
|
+
export { AuthError, CARDINALITY, ConfigError, ConfigFileError, ElevationRequiredError, MissingTokenError, ProviderApiError, REQUIRED_CAPABILITIES, WebhookVerificationError, compose, connectionProbe, createFeatureResolver, createResolveToken, createRestClient, defineConfig, deleteToken, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, describeNetworkError, getToken, isMulti, listStoredProviders, loadConfig, missingCapabilities, readWorkspacePackageJsons, resolveConfig, resolveEntry, resolvePluginPackage, setToken };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
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, Issue, IssueSearchFilter, Issues, LabelDef, LifecycleResult, LifecycleSlot, Logs, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, 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, RepoRef, RepoSettings, ResolvedCapability, Ruleset, SecretScope, Secrets, ServerInspection, Source, SourceBranch, SourceFile, SourceTeamMember, StatusCategory, Storage, StorageBranch, TeamEntry, TeamPermission, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, Vault, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, Workers, isMulti };
|
|
1
|
+
import { $ as LifecycleSlot, $t as WikiProvisionOpts, A as DeploymentProject, At as RepoRef, B as EnsureRelayResult, Bt as SourceTeamMember, C as ConnectionStringOptions, Ct as NotificationsSignIn, D as DeployScriptConfig, Dt as ParseWebhookInput, E as DeployFunctionResult, Et as PagesConfig, F as Dns, Ft as Secrets, G as EnvironmentReviewer, Gt as TeamPermission, H as EnsureWebhookResult, Ht as Storage, I as DnsRecord, It as ServerInspection, J as Issue, Jt as TrackerDoctorReport, K as Environments, Kt as Tooling, L as DnsRecordRequest, Lt as Source, M as DeploymentRecord, Mt as ResolvedCapability, N as DeploymentTarget, Nt as Ruleset, O as DeployScriptResult, Ot as ProviderIdentity, P as DeploymentTrigger, Pt as SecretScope, Q as LifecycleResult, Qt as Wiki, R as DnsRecordType, Rt as SourceBranch, S as CiRunStatus, St as NotificationsServerLayout, T as DeployFunctionConfig, Tt as NotificationsWelcomeLayout, U as EnsuredResource, Ut as StorageBranch, V as EnsureResult, Vt as StatusCategory, W as Environment, Wt as TeamEntry, X as Issues, Xt as Vault, Y as IssueSearchFilter, Yt as TrackerUser, Z as LabelDef, Zt as WebhookDashboardInfo, _ as Cardinality, _t as NotificationsLayout, a as REQUIRED_CAPABILITIES, at as MonitoringAssertionComparison, b as CiRun, bt as NotificationsOnboardingLayout, c as Analytics, ct as MonitoringCheckInput, d as AuthEvent, dt as Notifications, en as WikiProxyConfig, et as Logs, f as AuthEventType, ft as NotificationsAccess, g as CapabilityKey, gt as NotificationsEveryoneLayout, h as CapabilityImpls, ht as NotificationsDelivery, i as ProviderApiError, it as MonitoringAssertion, j as DeploymentProjectSettings, jt as RepoSettings, k as Deployment, kt as PullRequest, l as Auth, lt as MonitoringHttpMethod, m as AuthUser, mt as NotificationsChannelLayout, n as ElevationRequiredError, nt as MonitoringAlertChannelInput, o as WebhookVerificationError, ot as MonitoringAssertionSource, p as AuthIdentity, pt as NotificationsApplicationLayout, q as Errors, qt as ToolingDoctorReport, r as MissingTokenError, rt as MonitoringAlertChannelResult, s as isMulti, st as MonitoringCheck, t as CARDINALITY, tn as Workers, tt as Monitoring, u as AuthDescription, ut as NormalizedAuthUser, v as CardinalityFor, vt as NotificationsLinksLayout, w as CreateAuthUserInput, wt as NotificationsSignedIn, x as CiRunFilter, xt as NotificationsPinnedLayout, y as Ci, yt as NotificationsMember, z as EnsureRelayInput, zt as SourceFile } from "../index-CwxYoWzS.mjs";
|
|
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, Issue, IssueSearchFilter, Issues, LabelDef, LifecycleResult, LifecycleSlot, Logs, MissingTokenError, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, 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, RepoRef, RepoSettings, ResolvedCapability, Ruleset, SecretScope, Secrets, ServerInspection, Source, SourceBranch, SourceFile, SourceTeamMember, StatusCategory, Storage, StorageBranch, TeamEntry, TeamPermission, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, Vault, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, Workers, isMulti };
|
|
@@ -38,10 +38,18 @@ var ElevationRequiredError = class extends Error {
|
|
|
38
38
|
this.elevation = elevation;
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
|
+
/**
|
|
42
|
+
* A provider cannot do a read because it has no token for it. A check that meets this skips with the message instead
|
|
43
|
+
* of failing: the token is missing, not wrong.
|
|
44
|
+
*/
|
|
45
|
+
var MissingTokenError = class extends Error {
|
|
46
|
+
/** Lets a caller tell this error from any other by name, across package copies. */
|
|
47
|
+
name = "MissingTokenError";
|
|
48
|
+
};
|
|
41
49
|
var WebhookVerificationError = class extends Error {
|
|
42
50
|
name = "WebhookVerificationError";
|
|
43
51
|
};
|
|
44
52
|
function isMulti(key) {
|
|
45
53
|
return CARDINALITY[key] === "many";
|
|
46
54
|
}
|
|
47
|
-
export { CARDINALITY, ElevationRequiredError, ProviderApiError, REQUIRED_CAPABILITIES, WebhookVerificationError, isMulti };
|
|
55
|
+
export { CARDINALITY, ElevationRequiredError, MissingTokenError, ProviderApiError, REQUIRED_CAPABILITIES, WebhookVerificationError, isMulti };
|
package/dist/presets.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as Capability, r as ComposedPreset, t as compose } from "./index-
|
|
1
|
+
import { n as Capability, r as ComposedPreset, t as compose } from "./index-DyTxSSgq.mjs";
|
|
2
2
|
interface AuditOptions {
|
|
3
3
|
/** Enable Knip unused-export analysis (default: false). */
|
|
4
4
|
knip?: boolean;
|
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.266",
|
|
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,16 +52,16 @@
|
|
|
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.
|
|
56
|
-
"@theholocron/datapad": "5.0.0-alpha.
|
|
55
|
+
"@theholocron/astromech": "5.0.0-alpha.266",
|
|
56
|
+
"@theholocron/datapad": "5.0.0-alpha.266",
|
|
57
57
|
"@theholocron/env-utils": "^1.16.1-alpha.1",
|
|
58
58
|
"@theholocron/fs-utils": "^1.16.1-alpha.1",
|
|
59
|
+
"@theholocron/git-utils": "^1.16.1-alpha.1",
|
|
59
60
|
"@theholocron/github-client": "^1.58.0-alpha.1",
|
|
60
61
|
"@theholocron/http-client": "^1.58.0-alpha.1",
|
|
62
|
+
"@theholocron/json-utils": "^1.16.1-alpha.1",
|
|
61
63
|
"@theholocron/misc-utils": "^1.16.1-alpha.1",
|
|
62
|
-
"@theholocron/git-utils": "^1.16.1-alpha.1",
|
|
63
64
|
"@theholocron/observability": "^0.6.1-alpha.1",
|
|
64
|
-
"@theholocron/json-utils": "^1.16.1-alpha.1",
|
|
65
65
|
"@theholocron/pkg-utils": "^1.16.1-alpha.1"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
"tsx": "4.23.15",
|
|
77
77
|
"typescript": "^5.9.3",
|
|
78
78
|
"vitest": "^5.0.5",
|
|
79
|
+
"@theholocron/vitest-config": "^8.9.0-alpha.3",
|
|
79
80
|
"@theholocron/eslint-config": "^8.9.0-alpha.3",
|
|
80
81
|
"@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.3",
|
|
81
|
-
"@theholocron/tsconfig": "^8.9.0-alpha.3"
|
|
82
|
-
"@theholocron/vitest-config": "^8.9.0-alpha.3"
|
|
82
|
+
"@theholocron/tsconfig": "^8.9.0-alpha.3"
|
|
83
83
|
},
|
|
84
84
|
"engines": {
|
|
85
85
|
"node": ">=22.0.0"
|