@theholocron/cli 5.0.0-alpha.448 → 5.0.0-alpha.449
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 +2 -0
- package/dist/cli.mjs.map +1 -1
- package/dist/{index-BKr5fE1r.d.mts → index-D0rQ5YD1.d.mts} +33 -2
- package/dist/index.d.mts +2 -2
- package/dist/plugin/capabilities.d.mts +2 -2
- package/dist/plugin/capabilities.mjs +2 -0
- package/dist/presets.d.mts +1 -1
- package/package.json +8 -8
|
@@ -1126,7 +1126,7 @@ declare function readWorkspacePackageJsons(repoRoot: string, workspacePackages:
|
|
|
1126
1126
|
* See `docs/wiki/specifications/tech-architecture.spec.md` for the design narrative
|
|
1127
1127
|
* (issue: #74).
|
|
1128
1128
|
*/
|
|
1129
|
-
type CapabilityKey = "source" | "ci" | "secrets" | "environments" | "issues" | "deployment" | "storage" | "auth" | "vault" | "dns" | "tooling" | "notifications" | "analytics" | "errors" | "logs" | "monitoring" | "wiki" | "workers" | "tunnels" | "credentials" | "projects" | "ideas" | "coverage";
|
|
1129
|
+
type CapabilityKey = "source" | "ci" | "secrets" | "environments" | "issues" | "deployment" | "storage" | "auth" | "vault" | "dns" | "tooling" | "notifications" | "analytics" | "errors" | "logs" | "monitoring" | "wiki" | "workers" | "tunnels" | "credentials" | "projects" | "ideas" | "coverage" | "cache";
|
|
1130
1130
|
/** How many providers a capability resolves to: one (`"single"`) or several at once (`"many"`). */
|
|
1131
1131
|
type Cardinality = "single" | "many";
|
|
1132
1132
|
/** What every capability implementation carries: which capability it is and which provider backs it. */
|
|
@@ -2461,6 +2461,33 @@ interface LogsDataset {
|
|
|
2461
2461
|
/** Days the provider keeps data in the dataset, when it reports one. One setting for the whole dataset. */
|
|
2462
2462
|
retentionDays?: number;
|
|
2463
2463
|
}
|
|
2464
|
+
/** What {@link Cache.checkToken} found. Names and states only; never the token. */
|
|
2465
|
+
interface CacheTokenCheck {
|
|
2466
|
+
/** `true` when the token is accepted for the team and the remote cache is on and reachable with it. */
|
|
2467
|
+
ok: boolean;
|
|
2468
|
+
/** Why `ok` is `false`, or a note when it is `true`. */
|
|
2469
|
+
reason?: string;
|
|
2470
|
+
/** The remote cache's own word for its state (`enabled`, `disabled`, `over_limit`, `paused`), when it answered one. */
|
|
2471
|
+
status?: string;
|
|
2472
|
+
/** `true` when the token can read the cache but not write to it, where the provider reports it. */
|
|
2473
|
+
readOnly?: boolean;
|
|
2474
|
+
/**
|
|
2475
|
+
* Which part failed, when `ok` is `false`: the provider refused the `token`, the token has no access to the
|
|
2476
|
+
* configured `team`, or the cache answered but is not usable. Absent when the cache answered a state `ok` can say.
|
|
2477
|
+
*/
|
|
2478
|
+
problem?: "token" | "team" | "cache";
|
|
2479
|
+
}
|
|
2480
|
+
/** A remote build cache: whether a token is accepted for the configured team and the cache answers with it. */
|
|
2481
|
+
interface Cache extends ProviderIdentity {
|
|
2482
|
+
/** Identifies this provider as the `cache` capability. */
|
|
2483
|
+
readonly key: "cache";
|
|
2484
|
+
/**
|
|
2485
|
+
* Is the token valid for the configured team, and is the remote cache reachable with it? `ok: false` only for what
|
|
2486
|
+
* the provider answered (a refused token, a team the token cannot reach, a cache that is off); a network failure or
|
|
2487
|
+
* a missing token throws.
|
|
2488
|
+
*/
|
|
2489
|
+
checkToken(): Promise<CacheTokenCheck>;
|
|
2490
|
+
}
|
|
2464
2491
|
/** What part of a response a {@link MonitoringAssertion} looks at. */
|
|
2465
2492
|
type MonitoringAssertionSource = "status_code" | "response_time" | "body" | "header";
|
|
2466
2493
|
/** How a {@link MonitoringAssertion} compares the part of the response with its target. */
|
|
@@ -4115,6 +4142,8 @@ interface CapabilityImpls {
|
|
|
4115
4142
|
ideas: Ideas;
|
|
4116
4143
|
/** The `coverage` provider. */
|
|
4117
4144
|
coverage: Coverage;
|
|
4145
|
+
/** The `cache` provider. */
|
|
4146
|
+
cache: Cache;
|
|
4118
4147
|
}
|
|
4119
4148
|
/** The cardinality (`"single"` or `"many"`) of the capability `K`. */
|
|
4120
4149
|
type CardinalityFor<K extends CapabilityKey> = (typeof CARDINALITY)[K];
|
|
@@ -4166,6 +4195,8 @@ declare const CARDINALITY: {
|
|
|
4166
4195
|
readonly ideas: "single";
|
|
4167
4196
|
/** `coverage` has exactly one provider. Optional: no repo has to declare it. */
|
|
4168
4197
|
readonly coverage: "single";
|
|
4198
|
+
/** `cache` has exactly one provider. Optional: no repo has to declare it. */
|
|
4199
|
+
readonly cache: "single";
|
|
4169
4200
|
/** `credentials` can have several providers, tried in order. */
|
|
4170
4201
|
readonly credentials: "many";
|
|
4171
4202
|
};
|
|
@@ -4229,4 +4260,4 @@ declare class WebhookVerificationError extends Error {
|
|
|
4229
4260
|
}
|
|
4230
4261
|
/** Whether `key` is a capability that can have several providers active at once. */
|
|
4231
4262
|
declare function isMulti<K extends CapabilityKey>(key: K): CardinalityFor<K> extends "many" ? true : false;
|
|
4232
|
-
export {
|
|
4263
|
+
export { DeploymentTarget as $, TrackerDoctorReport as $n, RepoConfig as $r, NormalizedAuthUser as $t, CapabilityImpls as A, SecretAccess as An, credentialsEnvironment as Ar, IssueOrder as At, CoverageRepoReport as B, SourceSecurity as Bn, DocsConfig as Br, LogsDataset as Bt, BoardStatusCategory as C, ProviderIdentity as Cn, defineConfig as Cr, IdeaRecord as Ct, BoardView as D, RepoSettings as Dn, ComposedPreset as Dr, InspectRelayInput as Dt, BoardTemplateFile as E, RepoRef as En, Capability as Er, ImportResult as Et, CiRun as F, Source as Fn, CapabilityConfigPackage as Fr, Issues as Ft, DeployFunctionConfig as G, SyncResult as Gn, HolocronConfig as Gr, MonitoringAlertSettings as Gt, CreateAuthUserInput as H, StatusCategory as Hn, EnvConfig as Hr, MonitoringAlertChannelInput as Ht, CiRunFilter as I, SourceBranch as In, ChromaticProjectConfig as Ir, LabelDef as It, DeployScriptResult as J, Tooling as Jn, MultiEntry as Jr, MonitoringAssertionSource as Jt, DeployFunctionResult as K, TeamEntry as Kn, IdeasConfig as Kr, MonitoringAssertion as Kt, CiRunStatus as L, SourceFile as Ln, CredentialsConfig as Lr, LifecycleResult as Lt, Cardinality as M, SecretVisibility as Mn, resolveEntry as Mr, IssueRecord as Mt, CardinalityFor as N, Secrets as Nn, resolvePluginPackage as Nr, IssueSearchFilter as Nt, Cache as O, ResolvedCapability as On, TaskEntry as Or, Issue as Ot, Ci as P, ServerInspection as Pn, AppConfig as Pr, IssueSelector as Pt, DeploymentRecord as Q, ToolingExportResult as Qn, RawProvidersConfig as Qr, MoveReport as Qt, ConnectionStringOptions as R, SourceRepoInfo as Rn, DevConfig as Rr, LifecycleSlot as Rt, BoardStatus as S, Projects as Sn, compose as Sr, ExportInfo as St, BoardTemplate as T, RelayState as Tn, LoadedConfig as Tr, ImportOptions as Tt, Credentials as U, Storage as Un, EslintConfig as Ur, MonitoringAlertChannelResult as Ut, CoverageTokenCheck as V, SourceTeamMember as Vn, DoctorConfig as Vr, Monitoring as Vt, CredentialsInspection as W, StorageBranch as Wn, GitHubAppConfig as Wr, MonitoringAlertChannelState as Wt, DeploymentProject as X, ToolingExportInput as Xn, ProviderOptions as Xr, MonitoringCheckInput as Xt, Deployment as Y, ToolingDoctorReport as Yn, OrgConfig as Yr, MonitoringCheck as Yt, DeploymentProjectSettings as Z, ToolingExportIssue as Zn, RawProviderEntry as Zr, MonitoringHttpMethod as Zt, BoardFieldType as _, EnvironmentLayer as _i, NotificationsSignedIn as _n, DeriveProfileInput as _r, Environment as _t, REQUIRED_CAPABILITIES as a, RepoValidationConfig as ai, NotificationsEveryoneLayout as an, Wiki as ar, DnsRecordRequest as at, BoardRule as b, PagesConfig as bn, StackName as br, Environments as bt, AddedItem as c, ResolvedHolocronConfig as ci, NotificationsLinksLayout as cn, WorkerScriptState as cr, EnsureDiscussionInput as ct, AuthDescription as d, ResolvedTuple as di, NotificationsOnboardingLayout as dn, deriveCapabilities as dr, EnsureReport as dt, RepoProperties as ei, Notifications as en, TrackerUser as er, DeploymentTrigger as et, AuthEvent as f, SingleEntry as fi, NotificationsPicture as fn, deriveCompliance as fr, EnsureResult as ft, BoardField as g, WorkflowWithConfig as gi, NotificationsSignIn as gn, readWorkspacePackageJsons as gr, EnsuredTunnel as gt, AuthUser as h, TelemetryConfig as hi, NotificationsServerLayout as hn, missingCapabilities as hr, EnsuredResource as ht, ProviderApiError as i, RepoSecretsSync as ii, NotificationsDelivery as in, WebhookDashboardInfo as ir, DnsRecord as it, CapabilityKey as j, SecretScope as jn, resolveConfig as jr, IssuePriority as jt, CacheTokenCheck as k, Ruleset as kn, ConfigError$1 as kr, IssueComment as kt, Analytics as l, ResolvedProviderEntry as li, NotificationsMember as ln, Workers as lr, EnsureRelayInput as lt, AuthIdentity as m, TaskEntryConfig as mi, NotificationsPrsFeed as mn, deriveStack as mr, EnsuredDiscussion as mt, ElevationRequiredError as n, RepoSecrets as ni, NotificationsApplicationLayout as nn, Tunnels as nr, DiscussionPost as nt, WebhookVerificationError as o, RepoVariables as oi, NotificationsForumTag as on, WikiProvisionOpts as or, DnsRecordType as ot, AuthEventType as p, StorybookDeployProject as pi, NotificationsPinnedLayout as pn, deriveProfile as pr, EnsureWebhookResult as pt, DeployScriptConfig as q, TeamPermission as qn, LogConfig as qr, MonitoringAssertionComparison as qt, MissingTokenError as r, RepoSecretsDeploy as ri, NotificationsChannelLayout as rn, Vault as rr, Dns as rt, isMulti as s, RepoVariablesSync as si, NotificationsLayout as sn, WikiProxyConfig as sr, DuplicateDiscussion as st, CARDINALITY as t, RepoProtection as ti, NotificationsAccess as tn, TunnelRoute as tr, DiscussionPatch as tt, Auth as u, ResolvedProvidersConfig as ui, NotificationsMonitoringFeed as un, KNOWN_STACK_DEPS as ur, EnsureRelayResult as ut, BoardItem as v, NotificationsWelcomeLayout as vn, HolocronProfile as vr, EnvironmentEntry as vt, BoardSummary as w, PullRequest as wn, loadConfig as wr, Ideas as wt, BoardState as x, ParseWebhookInput as xn, ConfigFileError as xr, Errors as xt, BoardItemInput as y, OrganizationSecretScope as yn, PackageJsonLike as yr, EnvironmentReviewer as yt, Coverage as z, SourceRulesetDetail as zn, DevServeConfig as zr, Logs as zt };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as DeploymentTarget, $n as TrackerDoctorReport, $r as RepoConfig, $t as NormalizedAuthUser, A as CapabilityImpls, An as SecretAccess, Ar as credentialsEnvironment, At as IssueOrder, B as CoverageRepoReport, Bn as SourceSecurity, Br as DocsConfig, Bt as LogsDataset, C as BoardStatusCategory, Cn as ProviderIdentity, Cr as defineConfig, Ct as IdeaRecord, D as BoardView, Dn as RepoSettings, Dr as ComposedPreset, Dt as InspectRelayInput, E as BoardTemplateFile, En as RepoRef, Er as Capability, Et as ImportResult, F as CiRun, Fn as Source, Fr as CapabilityConfigPackage, Ft as Issues, G as DeployFunctionConfig, Gn as SyncResult, Gr as HolocronConfig, Gt as MonitoringAlertSettings, H as CreateAuthUserInput, Hn as StatusCategory, Hr as EnvConfig, Ht as MonitoringAlertChannelInput, I as CiRunFilter, In as SourceBranch, Ir as ChromaticProjectConfig, It as LabelDef, J as DeployScriptResult, Jn as Tooling, Jr as MultiEntry, Jt as MonitoringAssertionSource, K as DeployFunctionResult, Kn as TeamEntry, Kr as IdeasConfig, Kt as MonitoringAssertion, L as CiRunStatus, Ln as SourceFile, Lr as CredentialsConfig, Lt as LifecycleResult, M as Cardinality, Mn as SecretVisibility, Mr as resolveEntry, Mt as IssueRecord, N as CardinalityFor, Nn as Secrets, Nr as resolvePluginPackage, Nt as IssueSearchFilter, O as Cache, On as ResolvedCapability, Or as TaskEntry, Ot as Issue, P as Ci, Pn as ServerInspection, Pr as AppConfig, Pt as IssueSelector, Q as DeploymentRecord, Qn as ToolingExportResult, Qr as RawProvidersConfig, Qt as MoveReport, R as ConnectionStringOptions, Rn as SourceRepoInfo, Rr as DevConfig, Rt as LifecycleSlot, S as BoardStatus, Sn as Projects, Sr as compose, St as ExportInfo, T as BoardTemplate, Tn as RelayState, Tr as LoadedConfig, Tt as ImportOptions, U as Credentials, Un as Storage, Ur as EslintConfig, Ut as MonitoringAlertChannelResult, V as CoverageTokenCheck, Vn as SourceTeamMember, Vr as DoctorConfig, Vt as Monitoring, W as CredentialsInspection, Wn as StorageBranch, Wr as GitHubAppConfig, Wt as MonitoringAlertChannelState, X as DeploymentProject, Xn as ToolingExportInput, Xr as ProviderOptions, Xt as MonitoringCheckInput, Y as Deployment, Yn as ToolingDoctorReport, Yr as OrgConfig, Yt as MonitoringCheck, Z as DeploymentProjectSettings, Zn as ToolingExportIssue, Zr as RawProviderEntry, Zt as MonitoringHttpMethod, _ as BoardFieldType, _i as EnvironmentLayer, _n as NotificationsSignedIn, _r as DeriveProfileInput, _t as Environment, a as REQUIRED_CAPABILITIES, ai as RepoValidationConfig, an as NotificationsEveryoneLayout, ar as Wiki, at as DnsRecordRequest, b as BoardRule, bn as PagesConfig, br as StackName, bt as Environments, c as AddedItem, ci as ResolvedHolocronConfig, cn as NotificationsLinksLayout, cr as WorkerScriptState, ct as EnsureDiscussionInput, d as AuthDescription, di as ResolvedTuple, dn as NotificationsOnboardingLayout, dr as deriveCapabilities, dt as EnsureReport, ei as RepoProperties, en as Notifications, er as TrackerUser, et as DeploymentTrigger, f as AuthEvent, fi as SingleEntry, fn as NotificationsPicture, fr as deriveCompliance, ft as EnsureResult, g as BoardField, gi as WorkflowWithConfig, gn as NotificationsSignIn, gr as readWorkspacePackageJsons, gt as EnsuredTunnel, h as AuthUser, hi as TelemetryConfig, hn as NotificationsServerLayout, hr as missingCapabilities, ht as EnsuredResource, i as ProviderApiError, ii as RepoSecretsSync, in as NotificationsDelivery, ir as WebhookDashboardInfo, it as DnsRecord, j as CapabilityKey, jn as SecretScope, jr as resolveConfig, jt as IssuePriority, k as CacheTokenCheck, kn as Ruleset, kr as ConfigError, kt as IssueComment, l as Analytics, li as ResolvedProviderEntry, ln as NotificationsMember, lr as Workers, lt as EnsureRelayInput, m as AuthIdentity, mi as TaskEntryConfig, mn as NotificationsPrsFeed, mr as deriveStack, mt as EnsuredDiscussion, n as ElevationRequiredError, ni as RepoSecrets, nn as NotificationsApplicationLayout, nr as Tunnels, nt as DiscussionPost, o as WebhookVerificationError, oi as RepoVariables, on as NotificationsForumTag, or as WikiProvisionOpts, ot as DnsRecordType, p as AuthEventType, pi as StorybookDeployProject, pn as NotificationsPinnedLayout, pr as deriveProfile, pt as EnsureWebhookResult, q as DeployScriptConfig, qn as TeamPermission, qr as LogConfig, qt as MonitoringAssertionComparison, r as MissingTokenError, ri as RepoSecretsDeploy, rn as NotificationsChannelLayout, rr as Vault, rt as Dns, s as isMulti, si as RepoVariablesSync, sn as NotificationsLayout, sr as WikiProxyConfig, st as DuplicateDiscussion, t as CARDINALITY, ti as RepoProtection, tn as NotificationsAccess, tr as TunnelRoute, tt as DiscussionPatch, u as Auth, ui as ResolvedProvidersConfig, un as NotificationsMonitoringFeed, ur as KNOWN_STACK_DEPS, ut as EnsureRelayResult, v as BoardItem, vn as NotificationsWelcomeLayout, vr as HolocronProfile, vt as EnvironmentEntry, w as BoardSummary, wn as PullRequest, wr as loadConfig, wt as Ideas, x as BoardState, xn as ParseWebhookInput, xr as ConfigFileError, xt as Errors, y as BoardItemInput, yn as OrganizationSecretScope, yr as PackageJsonLike, yt as EnvironmentReviewer, z as Coverage, zn as SourceRulesetDetail, zr as DevServeConfig, zt as Logs } from "./index-D0rQ5YD1.mjs";
|
|
2
2
|
import { AuthError, ResolveTokenConfig as ResolveTokenConfig$1, ResolveTokenInput, ResolveTokenInput as ResolveTokenInput$1, resolveValue } from "@theholocron/kyber/secrets";
|
|
3
3
|
import { CheckRow } from "@theholocron/kyber/ui";
|
|
4
4
|
import "@theholocron/env-utils/lookup";
|
|
@@ -541,4 +541,4 @@ export declare const SHARED_AREAS: readonly ["org"];
|
|
|
541
541
|
* is a `ConfigError` naming both (no merge, no precedence). With no area files the config is returned as it was.
|
|
542
542
|
*/
|
|
543
543
|
export declare function placeAreas(areas: ConfigDirArea[], raw: HolocronConfig): HolocronConfig;
|
|
544
|
-
export { AddedItem, Analytics, type AppConfig, Auth, AuthDescription, AuthError, AuthEvent, AuthEventType, type AuthExportOutKind, AuthIdentity, AuthUser, BoardField, BoardFieldType, BoardItem, BoardItemInput, BoardRule, BoardState, BoardStatus, BoardStatusCategory, BoardSummary, BoardTemplate, BoardTemplateFile, BoardView, CARDINALITY, type Capability, type CapabilityConfigPackage, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, type ChromaticProjectConfig, Ci, CiRun, CiRunFilter, CiRunStatus, type ComposedPreset, ConfigError, ConfigFileError, ConnectionStringOptions, Coverage, CoverageRepoReport, CoverageTokenCheck, CreateAuthUserInput, Credentials, type CredentialsConfig, CredentialsInspection, DeployFunctionConfig, DeployFunctionResult, DeployScriptConfig, DeployScriptResult, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, type DeriveProfileInput, type DevConfig, type DevServeConfig, DiscussionPatch, DiscussionPost, Dns, DnsRecord, DnsRecordRequest, DnsRecordType, type DocsConfig, type DoctorConfig, DuplicateDiscussion, ElevationRequiredError, EnsureDiscussionInput, EnsureRelayInput, EnsureRelayResult, EnsureReport, EnsureResult, EnsureWebhookResult, EnsuredDiscussion, EnsuredResource, EnsuredTunnel, type EnvConfig, Environment, EnvironmentEntry, type EnvironmentLayer, EnvironmentReviewer, Environments, Errors, type EslintConfig, ExportInfo, type FeatureResolver, type FeatureResolverConfig, type GitHubAppConfig, type HolocronConfig, type HolocronProfile, IdeaRecord, Ideas, type IdeasConfig, ImportOptions, ImportResult, InspectRelayInput, Issue, IssueComment, IssueOrder, IssuePriority, IssueRecord, IssueSearchFilter, IssueSelector, Issues, KNOWN_STACK_DEPS, LabelDef, type LayerTokenExpectation, LifecycleResult, LifecycleSlot, type LinksFile, type LoadedConfig, type LogConfig, Logs, LogsDataset, type MemberLink, MissingTokenError, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, MonitoringAlertChannelState, MonitoringAlertSettings, MonitoringAssertion, MonitoringAssertionComparison, MonitoringAssertionSource, MonitoringCheck, MonitoringCheckInput, MonitoringHttpMethod, MoveReport, type MultiEntry, NormalizedAuthUser, Notifications, NotificationsAccess, NotificationsApplicationLayout, NotificationsChannelLayout, NotificationsDelivery, NotificationsEveryoneLayout, NotificationsForumTag, NotificationsLayout, NotificationsLinksLayout, NotificationsMember, NotificationsMonitoringFeed, NotificationsOnboardingLayout, NotificationsPicture, NotificationsPinnedLayout, NotificationsPrsFeed, NotificationsServerLayout, NotificationsSignIn, NotificationsSignedIn, NotificationsWelcomeLayout, type OrgConfig, OrganizationSecretScope, type PackageJsonLike, PagesConfig, ParseWebhookInput, type PermissionRule, type PluginProbes, type PluginToken, type Probe, type ProbeContext, type ProbeRow, Projects, type ProviderAction, type ProviderActionContext, type ProviderActions, ProviderApiError, ProviderIdentity, type ProviderOptions, type ProviderRow, PullRequest, REQUIRED_CAPABILITIES, type RawProviderEntry, type RawProvidersConfig, type ReadKeysLimitedInput, RelayState, type RepoConfig, type RepoProperties, type RepoProtection, RepoRef, type RepoSecrets, type RepoSecretsDeploy, type RepoSecretsSync, RepoSettings, type RepoValidationConfig, type RepoVariables, type RepoVariablesSync, type RequestOptions, type ResolveTokenConfig, type ResolveTokenInput, ResolvedCapability, type ResolvedHolocronConfig, type ResolvedProviderEntry, type ResolvedProvidersConfig, type ResolvedTuple, type RestClient, type RestClientConfig, Ruleset, SecretAccess, SecretScope, SecretVisibility, Secrets, ServerInspection, type SingleEntry, Source, SourceBranch, SourceFile, SourceRepoInfo, SourceRulesetDetail, SourceSecurity, SourceTeamMember, type StackName, StatusCategory, Storage, StorageBranch, type StorybookDeployProject, SyncResult, type SyncRolesInput, type SyncRolesResult, type TaskEntry, type TaskEntryConfig, TeamEntry, TeamPermission, type TelemetryConfig, type TokenExpectation, type TokenExpectationFilter, type TokenLifetime, type TokenResolver, type TokenRotation, Tooling, ToolingDoctorReport, ToolingExportInput, ToolingExportIssue, ToolingExportResult, TrackerDoctorReport, TrackerUser, TunnelRoute, Tunnels, Vault, type VerifyTokenFailure, type VerifyTokenResult, type VerifyTokenSuccess, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, WorkerScriptState, Workers, type WorkflowWithConfig, compose, createRestClient, credentialsEnvironment, defineConfig, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, isMulti, loadConfig, missingCapabilities, readWorkspacePackageJsons, resolveConfig, resolveEntry, resolvePluginPackage, resolveValue };
|
|
544
|
+
export { AddedItem, Analytics, type AppConfig, Auth, AuthDescription, AuthError, AuthEvent, AuthEventType, type AuthExportOutKind, AuthIdentity, AuthUser, BoardField, BoardFieldType, BoardItem, BoardItemInput, BoardRule, BoardState, BoardStatus, BoardStatusCategory, BoardSummary, BoardTemplate, BoardTemplateFile, BoardView, CARDINALITY, Cache, CacheTokenCheck, type Capability, type CapabilityConfigPackage, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, type ChromaticProjectConfig, Ci, CiRun, CiRunFilter, CiRunStatus, type ComposedPreset, ConfigError, ConfigFileError, ConnectionStringOptions, Coverage, CoverageRepoReport, CoverageTokenCheck, CreateAuthUserInput, Credentials, type CredentialsConfig, CredentialsInspection, DeployFunctionConfig, DeployFunctionResult, DeployScriptConfig, DeployScriptResult, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, type DeriveProfileInput, type DevConfig, type DevServeConfig, DiscussionPatch, DiscussionPost, Dns, DnsRecord, DnsRecordRequest, DnsRecordType, type DocsConfig, type DoctorConfig, DuplicateDiscussion, ElevationRequiredError, EnsureDiscussionInput, EnsureRelayInput, EnsureRelayResult, EnsureReport, EnsureResult, EnsureWebhookResult, EnsuredDiscussion, EnsuredResource, EnsuredTunnel, type EnvConfig, Environment, EnvironmentEntry, type EnvironmentLayer, EnvironmentReviewer, Environments, Errors, type EslintConfig, ExportInfo, type FeatureResolver, type FeatureResolverConfig, type GitHubAppConfig, type HolocronConfig, type HolocronProfile, IdeaRecord, Ideas, type IdeasConfig, ImportOptions, ImportResult, InspectRelayInput, Issue, IssueComment, IssueOrder, IssuePriority, IssueRecord, IssueSearchFilter, IssueSelector, Issues, KNOWN_STACK_DEPS, LabelDef, type LayerTokenExpectation, LifecycleResult, LifecycleSlot, type LinksFile, type LoadedConfig, type LogConfig, Logs, LogsDataset, type MemberLink, MissingTokenError, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, MonitoringAlertChannelState, MonitoringAlertSettings, MonitoringAssertion, MonitoringAssertionComparison, MonitoringAssertionSource, MonitoringCheck, MonitoringCheckInput, MonitoringHttpMethod, MoveReport, type MultiEntry, NormalizedAuthUser, Notifications, NotificationsAccess, NotificationsApplicationLayout, NotificationsChannelLayout, NotificationsDelivery, NotificationsEveryoneLayout, NotificationsForumTag, NotificationsLayout, NotificationsLinksLayout, NotificationsMember, NotificationsMonitoringFeed, NotificationsOnboardingLayout, NotificationsPicture, NotificationsPinnedLayout, NotificationsPrsFeed, NotificationsServerLayout, NotificationsSignIn, NotificationsSignedIn, NotificationsWelcomeLayout, type OrgConfig, OrganizationSecretScope, type PackageJsonLike, PagesConfig, ParseWebhookInput, type PermissionRule, type PluginProbes, type PluginToken, type Probe, type ProbeContext, type ProbeRow, Projects, type ProviderAction, type ProviderActionContext, type ProviderActions, ProviderApiError, ProviderIdentity, type ProviderOptions, type ProviderRow, PullRequest, REQUIRED_CAPABILITIES, type RawProviderEntry, type RawProvidersConfig, type ReadKeysLimitedInput, RelayState, type RepoConfig, type RepoProperties, type RepoProtection, RepoRef, type RepoSecrets, type RepoSecretsDeploy, type RepoSecretsSync, RepoSettings, type RepoValidationConfig, type RepoVariables, type RepoVariablesSync, type RequestOptions, type ResolveTokenConfig, type ResolveTokenInput, ResolvedCapability, type ResolvedHolocronConfig, type ResolvedProviderEntry, type ResolvedProvidersConfig, type ResolvedTuple, type RestClient, type RestClientConfig, Ruleset, SecretAccess, SecretScope, SecretVisibility, Secrets, ServerInspection, type SingleEntry, Source, SourceBranch, SourceFile, SourceRepoInfo, SourceRulesetDetail, SourceSecurity, SourceTeamMember, type StackName, StatusCategory, Storage, StorageBranch, type StorybookDeployProject, SyncResult, type SyncRolesInput, type SyncRolesResult, type TaskEntry, type TaskEntryConfig, TeamEntry, TeamPermission, type TelemetryConfig, type TokenExpectation, type TokenExpectationFilter, type TokenLifetime, type TokenResolver, type TokenRotation, Tooling, ToolingDoctorReport, ToolingExportInput, ToolingExportIssue, ToolingExportResult, TrackerDoctorReport, TrackerUser, TunnelRoute, Tunnels, Vault, type VerifyTokenFailure, type VerifyTokenResult, type VerifyTokenSuccess, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, WorkerScriptState, Workers, type WorkflowWithConfig, compose, createRestClient, credentialsEnvironment, defineConfig, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, isMulti, loadConfig, missingCapabilities, readWorkspacePackageJsons, resolveConfig, resolveEntry, resolvePluginPackage, resolveValue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { AddedItem, Analytics, Auth, AuthDescription, AuthEvent, AuthEventType, AuthIdentity, AuthUser, BoardField, BoardFieldType, BoardItem, BoardItemInput, BoardRule, BoardState, BoardStatus, BoardStatusCategory, BoardSummary, BoardTemplate, BoardTemplateFile, BoardView, CARDINALITY, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, Ci, CiRun, CiRunFilter, CiRunStatus, ConnectionStringOptions, Coverage, CoverageRepoReport, CoverageTokenCheck, CreateAuthUserInput, Credentials, CredentialsInspection, DeployFunctionConfig, DeployFunctionResult, DeployScriptConfig, DeployScriptResult, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, DiscussionPatch, DiscussionPost, Dns, DnsRecord, DnsRecordRequest, DnsRecordType, DuplicateDiscussion, ElevationRequiredError, EnsureDiscussionInput, EnsureRelayInput, EnsureRelayResult, EnsureReport, EnsureResult, EnsureWebhookResult, EnsuredDiscussion, EnsuredResource, EnsuredTunnel, Environment, EnvironmentEntry, EnvironmentReviewer, Environments, Errors, ExportInfo, IdeaRecord, Ideas, ImportOptions, ImportResult, InspectRelayInput, Issue, IssueComment, IssueOrder, IssuePriority, IssueRecord, IssueSearchFilter, IssueSelector, Issues, LabelDef, LifecycleResult, LifecycleSlot, Logs, LogsDataset, MissingTokenError, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, MonitoringAlertChannelState, MonitoringAlertSettings, MonitoringAssertion, MonitoringAssertionComparison, MonitoringAssertionSource, MonitoringCheck, MonitoringCheckInput, MonitoringHttpMethod, MoveReport, NormalizedAuthUser, Notifications, NotificationsAccess, NotificationsApplicationLayout, NotificationsChannelLayout, NotificationsDelivery, NotificationsEveryoneLayout, NotificationsForumTag, NotificationsLayout, NotificationsLinksLayout, NotificationsMember, NotificationsMonitoringFeed, NotificationsOnboardingLayout, NotificationsPicture, NotificationsPinnedLayout, NotificationsPrsFeed, NotificationsServerLayout, NotificationsSignIn, NotificationsSignedIn, NotificationsWelcomeLayout, OrganizationSecretScope, PagesConfig, ParseWebhookInput, Projects, ProviderApiError, ProviderIdentity, PullRequest, REQUIRED_CAPABILITIES, RelayState, RepoRef, RepoSettings, ResolvedCapability, Ruleset, SecretAccess, SecretScope, SecretVisibility, Secrets, ServerInspection, Source, SourceBranch, SourceFile, SourceRepoInfo, SourceRulesetDetail, SourceSecurity, SourceTeamMember, StatusCategory, Storage, StorageBranch, SyncResult, TeamEntry, TeamPermission, Tooling, ToolingDoctorReport, ToolingExportInput, ToolingExportIssue, ToolingExportResult, TrackerDoctorReport, TrackerUser, TunnelRoute, Tunnels, Vault, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, WorkerScriptState, Workers, isMulti };
|
|
1
|
+
import { $ as DeploymentTarget, $n as TrackerDoctorReport, $t as NormalizedAuthUser, A as CapabilityImpls, An as SecretAccess, At as IssueOrder, B as CoverageRepoReport, Bn as SourceSecurity, Bt as LogsDataset, C as BoardStatusCategory, Cn as ProviderIdentity, Ct as IdeaRecord, D as BoardView, Dn as RepoSettings, Dt as InspectRelayInput, E as BoardTemplateFile, En as RepoRef, Et as ImportResult, F as CiRun, Fn as Source, Ft as Issues, G as DeployFunctionConfig, Gn as SyncResult, Gt as MonitoringAlertSettings, H as CreateAuthUserInput, Hn as StatusCategory, Ht as MonitoringAlertChannelInput, I as CiRunFilter, In as SourceBranch, It as LabelDef, J as DeployScriptResult, Jn as Tooling, Jt as MonitoringAssertionSource, K as DeployFunctionResult, Kn as TeamEntry, Kt as MonitoringAssertion, L as CiRunStatus, Ln as SourceFile, Lt as LifecycleResult, M as Cardinality, Mn as SecretVisibility, Mt as IssueRecord, N as CardinalityFor, Nn as Secrets, Nt as IssueSearchFilter, O as Cache, On as ResolvedCapability, Ot as Issue, P as Ci, Pn as ServerInspection, Pt as IssueSelector, Q as DeploymentRecord, Qn as ToolingExportResult, Qt as MoveReport, R as ConnectionStringOptions, Rn as SourceRepoInfo, Rt as LifecycleSlot, S as BoardStatus, Sn as Projects, St as ExportInfo, T as BoardTemplate, Tn as RelayState, Tt as ImportOptions, U as Credentials, Un as Storage, Ut as MonitoringAlertChannelResult, V as CoverageTokenCheck, Vn as SourceTeamMember, Vt as Monitoring, W as CredentialsInspection, Wn as StorageBranch, Wt as MonitoringAlertChannelState, X as DeploymentProject, Xn as ToolingExportInput, Xt as MonitoringCheckInput, Y as Deployment, Yn as ToolingDoctorReport, Yt as MonitoringCheck, Z as DeploymentProjectSettings, Zn as ToolingExportIssue, Zt as MonitoringHttpMethod, _ as BoardFieldType, _n as NotificationsSignedIn, _t as Environment, a as REQUIRED_CAPABILITIES, an as NotificationsEveryoneLayout, ar as Wiki, at as DnsRecordRequest, b as BoardRule, bn as PagesConfig, bt as Environments, c as AddedItem, cn as NotificationsLinksLayout, cr as WorkerScriptState, ct as EnsureDiscussionInput, d as AuthDescription, dn as NotificationsOnboardingLayout, dt as EnsureReport, en as Notifications, er as TrackerUser, et as DeploymentTrigger, f as AuthEvent, fn as NotificationsPicture, ft as EnsureResult, g as BoardField, gn as NotificationsSignIn, gt as EnsuredTunnel, h as AuthUser, hn as NotificationsServerLayout, ht as EnsuredResource, i as ProviderApiError, in as NotificationsDelivery, ir as WebhookDashboardInfo, it as DnsRecord, j as CapabilityKey, jn as SecretScope, jt as IssuePriority, k as CacheTokenCheck, kn as Ruleset, kt as IssueComment, l as Analytics, ln as NotificationsMember, lr as Workers, lt as EnsureRelayInput, m as AuthIdentity, mn as NotificationsPrsFeed, mt as EnsuredDiscussion, n as ElevationRequiredError, nn as NotificationsApplicationLayout, nr as Tunnels, nt as DiscussionPost, o as WebhookVerificationError, on as NotificationsForumTag, or as WikiProvisionOpts, ot as DnsRecordType, p as AuthEventType, pn as NotificationsPinnedLayout, pt as EnsureWebhookResult, q as DeployScriptConfig, qn as TeamPermission, qt as MonitoringAssertionComparison, r as MissingTokenError, rn as NotificationsChannelLayout, rr as Vault, rt as Dns, s as isMulti, sn as NotificationsLayout, sr as WikiProxyConfig, st as DuplicateDiscussion, t as CARDINALITY, tn as NotificationsAccess, tr as TunnelRoute, tt as DiscussionPatch, u as Auth, un as NotificationsMonitoringFeed, ut as EnsureRelayResult, v as BoardItem, vn as NotificationsWelcomeLayout, vt as EnvironmentEntry, w as BoardSummary, wn as PullRequest, wt as Ideas, x as BoardState, xn as ParseWebhookInput, xt as Errors, y as BoardItemInput, yn as OrganizationSecretScope, yt as EnvironmentReviewer, z as Coverage, zn as SourceRulesetDetail, zt as Logs } from "../index-D0rQ5YD1.mjs";
|
|
2
|
+
export { AddedItem, Analytics, Auth, AuthDescription, AuthEvent, AuthEventType, AuthIdentity, AuthUser, BoardField, BoardFieldType, BoardItem, BoardItemInput, BoardRule, BoardState, BoardStatus, BoardStatusCategory, BoardSummary, BoardTemplate, BoardTemplateFile, BoardView, CARDINALITY, Cache, CacheTokenCheck, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, Ci, CiRun, CiRunFilter, CiRunStatus, ConnectionStringOptions, Coverage, CoverageRepoReport, CoverageTokenCheck, CreateAuthUserInput, Credentials, CredentialsInspection, DeployFunctionConfig, DeployFunctionResult, DeployScriptConfig, DeployScriptResult, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, DiscussionPatch, DiscussionPost, Dns, DnsRecord, DnsRecordRequest, DnsRecordType, DuplicateDiscussion, ElevationRequiredError, EnsureDiscussionInput, EnsureRelayInput, EnsureRelayResult, EnsureReport, EnsureResult, EnsureWebhookResult, EnsuredDiscussion, EnsuredResource, EnsuredTunnel, Environment, EnvironmentEntry, EnvironmentReviewer, Environments, Errors, ExportInfo, IdeaRecord, Ideas, ImportOptions, ImportResult, InspectRelayInput, Issue, IssueComment, IssueOrder, IssuePriority, IssueRecord, IssueSearchFilter, IssueSelector, Issues, LabelDef, LifecycleResult, LifecycleSlot, Logs, LogsDataset, MissingTokenError, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, MonitoringAlertChannelState, MonitoringAlertSettings, MonitoringAssertion, MonitoringAssertionComparison, MonitoringAssertionSource, MonitoringCheck, MonitoringCheckInput, MonitoringHttpMethod, MoveReport, NormalizedAuthUser, Notifications, NotificationsAccess, NotificationsApplicationLayout, NotificationsChannelLayout, NotificationsDelivery, NotificationsEveryoneLayout, NotificationsForumTag, NotificationsLayout, NotificationsLinksLayout, NotificationsMember, NotificationsMonitoringFeed, NotificationsOnboardingLayout, NotificationsPicture, NotificationsPinnedLayout, NotificationsPrsFeed, NotificationsServerLayout, NotificationsSignIn, NotificationsSignedIn, NotificationsWelcomeLayout, OrganizationSecretScope, PagesConfig, ParseWebhookInput, Projects, ProviderApiError, ProviderIdentity, PullRequest, REQUIRED_CAPABILITIES, RelayState, RepoRef, RepoSettings, ResolvedCapability, Ruleset, SecretAccess, SecretScope, SecretVisibility, Secrets, ServerInspection, Source, SourceBranch, SourceFile, SourceRepoInfo, SourceRulesetDetail, SourceSecurity, SourceTeamMember, StatusCategory, Storage, StorageBranch, SyncResult, TeamEntry, TeamPermission, Tooling, ToolingDoctorReport, ToolingExportInput, ToolingExportIssue, ToolingExportResult, TrackerDoctorReport, TrackerUser, TunnelRoute, Tunnels, Vault, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, WorkerScriptState, Workers, isMulti };
|
|
@@ -46,6 +46,8 @@ const CARDINALITY = {
|
|
|
46
46
|
ideas: "single",
|
|
47
47
|
/** `coverage` has exactly one provider. Optional: no repo has to declare it. */
|
|
48
48
|
coverage: "single",
|
|
49
|
+
/** `cache` has exactly one provider. Optional: no repo has to declare it. */
|
|
50
|
+
cache: "single",
|
|
49
51
|
/** `credentials` can have several providers, tried in order. */
|
|
50
52
|
credentials: "many"
|
|
51
53
|
};
|
package/dist/presets.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Dr as ComposedPreset, Er as Capability, Sr as compose } from "./index-D0rQ5YD1.mjs";
|
|
2
2
|
/** Options for the audit capability. */
|
|
3
3
|
interface AuditOptions {
|
|
4
4
|
/** Enable Knip unused-export analysis (default: false). */
|
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.449",
|
|
4
4
|
"description": "The Holocron CLI - a pluggable, capability-based orchestrator for spinning up and operating software projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -59,17 +59,17 @@
|
|
|
59
59
|
"posthog-node": "^5.64.0",
|
|
60
60
|
"tsx": "4.23.15",
|
|
61
61
|
"yargs": "^18.1.0",
|
|
62
|
-
"@theholocron/astromech": "5.0.0-alpha.
|
|
63
|
-
"@theholocron/datapad": "5.0.0-alpha.448",
|
|
62
|
+
"@theholocron/astromech": "5.0.0-alpha.449",
|
|
64
63
|
"@theholocron/env-utils": "^1.17.0-alpha.4",
|
|
65
|
-
"@theholocron/dagobah": "5.0.0-alpha.
|
|
64
|
+
"@theholocron/dagobah": "5.0.0-alpha.449",
|
|
66
65
|
"@theholocron/fs-utils": "^1.17.0-alpha.4",
|
|
66
|
+
"@theholocron/datapad": "5.0.0-alpha.449",
|
|
67
67
|
"@theholocron/git-utils": "^1.17.0-alpha.4",
|
|
68
|
-
"@theholocron/github-client": "^1.58.0-alpha.
|
|
69
|
-
"@theholocron/http-client": "^1.58.0-alpha.
|
|
70
|
-
"@theholocron/kyber": "5.0.0-alpha.
|
|
71
|
-
"@theholocron/json-utils": "^1.17.0-alpha.4",
|
|
68
|
+
"@theholocron/github-client": "^1.58.0-alpha.34",
|
|
69
|
+
"@theholocron/http-client": "^1.58.0-alpha.34",
|
|
70
|
+
"@theholocron/kyber": "5.0.0-alpha.449",
|
|
72
71
|
"@theholocron/misc-utils": "^1.17.0-alpha.4",
|
|
72
|
+
"@theholocron/json-utils": "^1.17.0-alpha.4",
|
|
73
73
|
"@theholocron/observability": "^0.7.0-alpha.4",
|
|
74
74
|
"@theholocron/pkg-utils": "^1.17.0-alpha.4"
|
|
75
75
|
},
|