@theholocron/cli 5.0.0-alpha.446 → 5.0.0-alpha.448
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 +3 -1
- package/dist/cli.mjs +2 -0
- package/dist/cli.mjs.map +1 -1
- package/dist/{index-Be9XH2dx.d.mts → index-BKr5fE1r.d.mts} +41 -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 +7 -7
|
@@ -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";
|
|
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";
|
|
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. */
|
|
@@ -4032,6 +4032,41 @@ interface Ideas extends ProviderIdentity {
|
|
|
4032
4032
|
/** Takes a filed idea out of the inbox. Optional: the CLI never deletes, so a provider may leave it to an app. */
|
|
4033
4033
|
retire?(key: string): Promise<void>;
|
|
4034
4034
|
}
|
|
4035
|
+
/** Code coverage reporting: what the coverage service says about the repository and the token that uploads to it. */
|
|
4036
|
+
interface Coverage extends ProviderIdentity {
|
|
4037
|
+
/** Identifies this provider as the `coverage` capability. */
|
|
4038
|
+
readonly key: "coverage";
|
|
4039
|
+
/**
|
|
4040
|
+
* Asks the service whether it accepts the configured token for the repository, with names and statuses only, never
|
|
4041
|
+
* the token. A service may hold several kinds of token (an upload token that its API does not take, an API token): the
|
|
4042
|
+
* result says which question it could answer. An error that says nothing about the token (a network failure, a 5xx, a
|
|
4043
|
+
* missing token) throws.
|
|
4044
|
+
*/
|
|
4045
|
+
checkToken(): Promise<CoverageTokenCheck>;
|
|
4046
|
+
/**
|
|
4047
|
+
* Later, when `doctor coverage` is built: the repo is active, the flags and components `holocron sync` writes exist, the
|
|
4048
|
+
* required statuses (`codecov/patch`, `codecov/patch/documentation`) are reported.
|
|
4049
|
+
*/
|
|
4050
|
+
checkRepo?(): Promise<CoverageRepoReport>;
|
|
4051
|
+
}
|
|
4052
|
+
/** What {@link Coverage.checkToken} found. */
|
|
4053
|
+
interface CoverageTokenCheck {
|
|
4054
|
+
/**
|
|
4055
|
+
* `accepted`: the service answered for the repository with the token. `refused`: it answered 401 or 403, which a
|
|
4056
|
+
* revoked token, a token without access and a kind of token its API does not take all look like. `not-found`: the
|
|
4057
|
+
* service has no such repository, or the token cannot see it.
|
|
4058
|
+
*/
|
|
4059
|
+
outcome: "accepted" | "refused" | "not-found";
|
|
4060
|
+
/** Whether the repository is private, when the service said. A public repository answers without a token. */
|
|
4061
|
+
repoPrivate?: boolean;
|
|
4062
|
+
/** The HTTP status when the outcome is not `accepted`. */
|
|
4063
|
+
status?: number;
|
|
4064
|
+
}
|
|
4065
|
+
/** What {@link Coverage.checkRepo} will report; not built yet. */
|
|
4066
|
+
interface CoverageRepoReport {
|
|
4067
|
+
/** Whether the repository has received an upload. */
|
|
4068
|
+
active: boolean;
|
|
4069
|
+
}
|
|
4035
4070
|
/** Maps each capability key to the interface its provider implements. */
|
|
4036
4071
|
interface CapabilityImpls {
|
|
4037
4072
|
/** The `source` provider. */
|
|
@@ -4078,6 +4113,8 @@ interface CapabilityImpls {
|
|
|
4078
4113
|
projects: Projects;
|
|
4079
4114
|
/** The `ideas` provider. */
|
|
4080
4115
|
ideas: Ideas;
|
|
4116
|
+
/** The `coverage` provider. */
|
|
4117
|
+
coverage: Coverage;
|
|
4081
4118
|
}
|
|
4082
4119
|
/** The cardinality (`"single"` or `"many"`) of the capability `K`. */
|
|
4083
4120
|
type CardinalityFor<K extends CapabilityKey> = (typeof CARDINALITY)[K];
|
|
@@ -4127,6 +4164,8 @@ declare const CARDINALITY: {
|
|
|
4127
4164
|
readonly projects: "single";
|
|
4128
4165
|
/** `ideas` has exactly one provider. Optional: no repo has to declare it. */
|
|
4129
4166
|
readonly ideas: "single";
|
|
4167
|
+
/** `coverage` has exactly one provider. Optional: no repo has to declare it. */
|
|
4168
|
+
readonly coverage: "single";
|
|
4130
4169
|
/** `credentials` can have several providers, tried in order. */
|
|
4131
4170
|
readonly credentials: "many";
|
|
4132
4171
|
};
|
|
@@ -4190,4 +4229,4 @@ declare class WebhookVerificationError extends Error {
|
|
|
4190
4229
|
}
|
|
4191
4230
|
/** Whether `key` is a capability that can have several providers active at once. */
|
|
4192
4231
|
declare function isMulti<K extends CapabilityKey>(key: K): CardinalityFor<K> extends "many" ? true : false;
|
|
4193
|
-
export {
|
|
4232
|
+
export { DiscussionPatch as $, TunnelRoute as $n, RepoProtection as $r, NotificationsAccess as $t, Cardinality as A, SecretVisibility as An, resolveEntry as Ar, IssueRecord as At, CreateAuthUserInput as B, StatusCategory as Bn, EnvConfig as Br, MonitoringAlertChannelInput as Bt, BoardStatusCategory as C, RelayState as Cn, LoadedConfig as Cr, ImportOptions as Ct, BoardView as D, Ruleset as Dn, ConfigError$1 as Dr, IssueComment as Dt, BoardTemplateFile as E, ResolvedCapability as En, TaskEntry as Er, Issue as Et, CiRunStatus as F, SourceFile as Fn, CredentialsConfig as Fr, LifecycleResult as Ft, DeployScriptConfig as G, TeamPermission as Gn, LogConfig as Gr, MonitoringAssertionComparison as Gt, CredentialsInspection as H, StorageBranch as Hn, GitHubAppConfig as Hr, MonitoringAlertChannelState as Ht, ConnectionStringOptions as I, SourceRepoInfo as In, DevConfig as Ir, LifecycleSlot as It, DeploymentProject as J, ToolingExportInput as Jn, ProviderOptions as Jr, MonitoringCheckInput as Jt, DeployScriptResult as K, Tooling as Kn, MultiEntry as Kr, MonitoringAssertionSource as Kt, Coverage as L, SourceRulesetDetail as Ln, DevServeConfig as Lr, Logs as Lt, Ci as M, ServerInspection as Mn, AppConfig as Mr, IssueSelector as Mt, CiRun as N, Source as Nn, CapabilityConfigPackage as Nr, Issues as Nt, CapabilityImpls as O, SecretAccess as On, credentialsEnvironment as Or, IssueOrder as Ot, CiRunFilter as P, SourceBranch as Pn, ChromaticProjectConfig as Pr, LabelDef as Pt, DeploymentTrigger as Q, TrackerUser as Qn, RepoProperties as Qr, Notifications as Qt, CoverageRepoReport as R, SourceSecurity as Rn, DocsConfig as Rr, LogsDataset as Rt, BoardStatus as S, PullRequest as Sn, loadConfig as Sr, Ideas as St, BoardTemplate as T, RepoSettings as Tn, ComposedPreset as Tr, InspectRelayInput as Tt, DeployFunctionConfig as U, SyncResult as Un, HolocronConfig as Ur, MonitoringAlertSettings as Ut, Credentials as V, Storage as Vn, EslintConfig as Vr, MonitoringAlertChannelResult as Vt, DeployFunctionResult as W, TeamEntry as Wn, IdeasConfig as Wr, MonitoringAssertion as Wt, DeploymentRecord as X, ToolingExportResult as Xn, RawProvidersConfig as Xr, MoveReport as Xt, DeploymentProjectSettings as Y, ToolingExportIssue as Yn, RawProviderEntry as Yr, MonitoringHttpMethod as Yt, DeploymentTarget as Z, TrackerDoctorReport as Zn, RepoConfig as Zr, NormalizedAuthUser as Zt, BoardFieldType as _, OrganizationSecretScope as _n, PackageJsonLike as _r, EnvironmentReviewer as _t, REQUIRED_CAPABILITIES as a, RepoVariablesSync as ai, NotificationsLayout as an, WikiProxyConfig as ar, DuplicateDiscussion as at, BoardRule as b, Projects as bn, compose as br, ExportInfo as bt, AddedItem as c, ResolvedProvidersConfig as ci, NotificationsMonitoringFeed as cn, KNOWN_STACK_DEPS as cr, EnsureRelayResult as ct, AuthDescription as d, StorybookDeployProject as di, NotificationsPinnedLayout as dn, deriveProfile as dr, EnsureWebhookResult as dt, RepoSecrets as ei, NotificationsApplicationLayout as en, Tunnels as er, DiscussionPost as et, AuthEvent as f, TaskEntryConfig as fi, NotificationsPrsFeed as fn, deriveStack as fr, EnsuredDiscussion as ft, BoardField as g, NotificationsWelcomeLayout as gn, HolocronProfile as gr, EnvironmentEntry as gt, AuthUser as h, EnvironmentLayer as hi, NotificationsSignedIn as hn, DeriveProfileInput as hr, Environment as ht, ProviderApiError as i, RepoVariables as ii, NotificationsForumTag as in, WikiProvisionOpts as ir, DnsRecordType as it, CardinalityFor as j, Secrets as jn, resolvePluginPackage as jr, IssueSearchFilter as jt, CapabilityKey as k, SecretScope as kn, resolveConfig as kr, IssuePriority as kt, Analytics as l, ResolvedTuple as li, NotificationsOnboardingLayout as ln, deriveCapabilities as lr, EnsureReport as lt, AuthIdentity as m, WorkflowWithConfig as mi, NotificationsSignIn as mn, readWorkspacePackageJsons as mr, EnsuredTunnel as mt, ElevationRequiredError as n, RepoSecretsSync as ni, NotificationsDelivery as nn, WebhookDashboardInfo as nr, DnsRecord as nt, WebhookVerificationError as o, ResolvedHolocronConfig as oi, NotificationsLinksLayout as on, WorkerScriptState as or, EnsureDiscussionInput as ot, AuthEventType as p, TelemetryConfig as pi, NotificationsServerLayout as pn, missingCapabilities as pr, EnsuredResource as pt, Deployment as q, ToolingDoctorReport as qn, OrgConfig as qr, MonitoringCheck as qt, MissingTokenError as r, RepoValidationConfig as ri, NotificationsEveryoneLayout as rn, Wiki as rr, DnsRecordRequest as rt, isMulti as s, ResolvedProviderEntry as si, NotificationsMember as sn, Workers as sr, EnsureRelayInput as st, CARDINALITY as t, RepoSecretsDeploy as ti, NotificationsChannelLayout as tn, Vault as tr, Dns as tt, Auth as u, SingleEntry as ui, NotificationsPicture as un, deriveCompliance as ur, EnsureResult as ut, BoardItem as v, PagesConfig as vn, StackName as vr, Environments as vt, BoardSummary as w, RepoRef as wn, Capability as wr, ImportResult as wt, BoardState as x, ProviderIdentity as xn, defineConfig as xr, IdeaRecord as xt, BoardItemInput as y, ParseWebhookInput as yn, ConfigFileError as yr, Errors as yt, CoverageTokenCheck as z, SourceTeamMember as zn, DoctorConfig as zr, Monitoring as zt };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as DiscussionPatch, $n as TunnelRoute, $r as RepoProtection, $t as NotificationsAccess, A as Cardinality, An as SecretVisibility, Ar as resolveEntry, At as IssueRecord, B as CreateAuthUserInput, Bn as StatusCategory, Br as EnvConfig, Bt as MonitoringAlertChannelInput, C as BoardStatusCategory, Cn as RelayState, Cr as LoadedConfig, Ct as ImportOptions, D as BoardView, Dn as Ruleset, Dr as ConfigError, Dt as IssueComment, E as BoardTemplateFile, En as ResolvedCapability, Er as TaskEntry, Et as Issue, F as CiRunStatus, Fn as SourceFile, Fr as CredentialsConfig, Ft as LifecycleResult, G as DeployScriptConfig, Gn as TeamPermission, Gr as LogConfig, Gt as MonitoringAssertionComparison, H as CredentialsInspection, Hn as StorageBranch, Hr as GitHubAppConfig, Ht as MonitoringAlertChannelState, I as ConnectionStringOptions, In as SourceRepoInfo, Ir as DevConfig, It as LifecycleSlot, J as DeploymentProject, Jn as ToolingExportInput, Jr as ProviderOptions, Jt as MonitoringCheckInput, K as DeployScriptResult, Kn as Tooling, Kr as MultiEntry, Kt as MonitoringAssertionSource, L as Coverage, Ln as SourceRulesetDetail, Lr as DevServeConfig, Lt as Logs, M as Ci, Mn as ServerInspection, Mr as AppConfig, Mt as IssueSelector, N as CiRun, Nn as Source, Nr as CapabilityConfigPackage, Nt as Issues, O as CapabilityImpls, On as SecretAccess, Or as credentialsEnvironment, Ot as IssueOrder, P as CiRunFilter, Pn as SourceBranch, Pr as ChromaticProjectConfig, Pt as LabelDef, Q as DeploymentTrigger, Qn as TrackerUser, Qr as RepoProperties, Qt as Notifications, R as CoverageRepoReport, Rn as SourceSecurity, Rr as DocsConfig, Rt as LogsDataset, S as BoardStatus, Sn as PullRequest, Sr as loadConfig, St as Ideas, T as BoardTemplate, Tn as RepoSettings, Tr as ComposedPreset, Tt as InspectRelayInput, U as DeployFunctionConfig, Un as SyncResult, Ur as HolocronConfig, Ut as MonitoringAlertSettings, V as Credentials, Vn as Storage, Vr as EslintConfig, Vt as MonitoringAlertChannelResult, W as DeployFunctionResult, Wn as TeamEntry, Wr as IdeasConfig, Wt as MonitoringAssertion, X as DeploymentRecord, Xn as ToolingExportResult, Xr as RawProvidersConfig, Xt as MoveReport, Y as DeploymentProjectSettings, Yn as ToolingExportIssue, Yr as RawProviderEntry, Yt as MonitoringHttpMethod, Z as DeploymentTarget, Zn as TrackerDoctorReport, Zr as RepoConfig, Zt as NormalizedAuthUser, _ as BoardFieldType, _n as OrganizationSecretScope, _r as PackageJsonLike, _t as EnvironmentReviewer, a as REQUIRED_CAPABILITIES, ai as RepoVariablesSync, an as NotificationsLayout, ar as WikiProxyConfig, at as DuplicateDiscussion, b as BoardRule, bn as Projects, br as compose, bt as ExportInfo, c as AddedItem, ci as ResolvedProvidersConfig, cn as NotificationsMonitoringFeed, cr as KNOWN_STACK_DEPS, ct as EnsureRelayResult, d as AuthDescription, di as StorybookDeployProject, dn as NotificationsPinnedLayout, dr as deriveProfile, dt as EnsureWebhookResult, ei as RepoSecrets, en as NotificationsApplicationLayout, er as Tunnels, et as DiscussionPost, f as AuthEvent, fi as TaskEntryConfig, fn as NotificationsPrsFeed, fr as deriveStack, ft as EnsuredDiscussion, g as BoardField, gn as NotificationsWelcomeLayout, gr as HolocronProfile, gt as EnvironmentEntry, h as AuthUser, hi as EnvironmentLayer, hn as NotificationsSignedIn, hr as DeriveProfileInput, ht as Environment, i as ProviderApiError, ii as RepoVariables, in as NotificationsForumTag, ir as WikiProvisionOpts, it as DnsRecordType, j as CardinalityFor, jn as Secrets, jr as resolvePluginPackage, jt as IssueSearchFilter, k as CapabilityKey, kn as SecretScope, kr as resolveConfig, kt as IssuePriority, l as Analytics, li as ResolvedTuple, ln as NotificationsOnboardingLayout, lr as deriveCapabilities, lt as EnsureReport, m as AuthIdentity, mi as WorkflowWithConfig, mn as NotificationsSignIn, mr as readWorkspacePackageJsons, mt as EnsuredTunnel, n as ElevationRequiredError, ni as RepoSecretsSync, nn as NotificationsDelivery, nr as WebhookDashboardInfo, nt as DnsRecord, o as WebhookVerificationError, oi as ResolvedHolocronConfig, on as NotificationsLinksLayout, or as WorkerScriptState, ot as EnsureDiscussionInput, p as AuthEventType, pi as TelemetryConfig, pn as NotificationsServerLayout, pr as missingCapabilities, pt as EnsuredResource, q as Deployment, qn as ToolingDoctorReport, qr as OrgConfig, qt as MonitoringCheck, r as MissingTokenError, ri as RepoValidationConfig, rn as NotificationsEveryoneLayout, rr as Wiki, rt as DnsRecordRequest, s as isMulti, si as ResolvedProviderEntry, sn as NotificationsMember, sr as Workers, st as EnsureRelayInput, t as CARDINALITY, ti as RepoSecretsDeploy, tn as NotificationsChannelLayout, tr as Vault, tt as Dns, u as Auth, ui as SingleEntry, un as NotificationsPicture, ur as deriveCompliance, ut as EnsureResult, v as BoardItem, vn as PagesConfig, vr as StackName, vt as Environments, w as BoardSummary, wn as RepoRef, wr as Capability, wt as ImportResult, x as BoardState, xn as ProviderIdentity, xr as defineConfig, xt as IdeaRecord, y as BoardItemInput, yn as ParseWebhookInput, yr as ConfigFileError, yt as Errors, z as CoverageTokenCheck, zn as SourceTeamMember, zr as DoctorConfig, zt as Monitoring } from "./index-BKr5fE1r.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, 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, 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, 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 DiscussionPatch, $n as TunnelRoute, $t as NotificationsAccess, A as Cardinality, An as SecretVisibility, At as IssueRecord, B as CreateAuthUserInput, Bn as StatusCategory, Bt as MonitoringAlertChannelInput, C as BoardStatusCategory, Cn as RelayState, Ct as ImportOptions, D as BoardView, Dn as Ruleset, Dt as IssueComment, E as BoardTemplateFile, En as ResolvedCapability, Et as Issue, F as CiRunStatus, Fn as SourceFile, Ft as LifecycleResult, G as DeployScriptConfig, Gn as TeamPermission, Gt as MonitoringAssertionComparison, H as CredentialsInspection, Hn as StorageBranch, Ht as MonitoringAlertChannelState, I as ConnectionStringOptions, In as SourceRepoInfo, It as LifecycleSlot, J as DeploymentProject, Jn as ToolingExportInput, Jt as MonitoringCheckInput, K as DeployScriptResult, Kn as Tooling, Kt as MonitoringAssertionSource, L as Coverage, Ln as SourceRulesetDetail, Lt as Logs, M as Ci, Mn as ServerInspection, Mt as IssueSelector, N as CiRun, Nn as Source, Nt as Issues, O as CapabilityImpls, On as SecretAccess, Ot as IssueOrder, P as CiRunFilter, Pn as SourceBranch, Pt as LabelDef, Q as DeploymentTrigger, Qn as TrackerUser, Qt as Notifications, R as CoverageRepoReport, Rn as SourceSecurity, Rt as LogsDataset, S as BoardStatus, Sn as PullRequest, St as Ideas, T as BoardTemplate, Tn as RepoSettings, Tt as InspectRelayInput, U as DeployFunctionConfig, Un as SyncResult, Ut as MonitoringAlertSettings, V as Credentials, Vn as Storage, Vt as MonitoringAlertChannelResult, W as DeployFunctionResult, Wn as TeamEntry, Wt as MonitoringAssertion, X as DeploymentRecord, Xn as ToolingExportResult, Xt as MoveReport, Y as DeploymentProjectSettings, Yn as ToolingExportIssue, Yt as MonitoringHttpMethod, Z as DeploymentTarget, Zn as TrackerDoctorReport, Zt as NormalizedAuthUser, _ as BoardFieldType, _n as OrganizationSecretScope, _t as EnvironmentReviewer, a as REQUIRED_CAPABILITIES, an as NotificationsLayout, ar as WikiProxyConfig, at as DuplicateDiscussion, b as BoardRule, bn as Projects, bt as ExportInfo, c as AddedItem, cn as NotificationsMonitoringFeed, ct as EnsureRelayResult, d as AuthDescription, dn as NotificationsPinnedLayout, dt as EnsureWebhookResult, en as NotificationsApplicationLayout, er as Tunnels, et as DiscussionPost, f as AuthEvent, fn as NotificationsPrsFeed, ft as EnsuredDiscussion, g as BoardField, gn as NotificationsWelcomeLayout, gt as EnvironmentEntry, h as AuthUser, hn as NotificationsSignedIn, ht as Environment, i as ProviderApiError, in as NotificationsForumTag, ir as WikiProvisionOpts, it as DnsRecordType, j as CardinalityFor, jn as Secrets, jt as IssueSearchFilter, k as CapabilityKey, kn as SecretScope, kt as IssuePriority, l as Analytics, ln as NotificationsOnboardingLayout, lt as EnsureReport, m as AuthIdentity, mn as NotificationsSignIn, mt as EnsuredTunnel, n as ElevationRequiredError, nn as NotificationsDelivery, nr as WebhookDashboardInfo, nt as DnsRecord, o as WebhookVerificationError, on as NotificationsLinksLayout, or as WorkerScriptState, ot as EnsureDiscussionInput, p as AuthEventType, pn as NotificationsServerLayout, pt as EnsuredResource, q as Deployment, qn as ToolingDoctorReport, qt as MonitoringCheck, r as MissingTokenError, rn as NotificationsEveryoneLayout, rr as Wiki, rt as DnsRecordRequest, s as isMulti, sn as NotificationsMember, sr as Workers, st as EnsureRelayInput, t as CARDINALITY, tn as NotificationsChannelLayout, tr as Vault, tt as Dns, u as Auth, un as NotificationsPicture, ut as EnsureResult, v as BoardItem, vn as PagesConfig, vt as Environments, w as BoardSummary, wn as RepoRef, wt as ImportResult, x as BoardState, xn as ProviderIdentity, xt as IdeaRecord, y as BoardItemInput, yn as ParseWebhookInput, yt as Errors, z as CoverageTokenCheck, zn as SourceTeamMember, zt as Monitoring } from "../index-BKr5fE1r.mjs";
|
|
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 };
|
|
@@ -44,6 +44,8 @@ const CARDINALITY = {
|
|
|
44
44
|
projects: "single",
|
|
45
45
|
/** `ideas` has exactly one provider. Optional: no repo has to declare it. */
|
|
46
46
|
ideas: "single",
|
|
47
|
+
/** `coverage` has exactly one provider. Optional: no repo has to declare it. */
|
|
48
|
+
coverage: "single",
|
|
47
49
|
/** `credentials` can have several providers, tried in order. */
|
|
48
50
|
credentials: "many"
|
|
49
51
|
};
|
package/dist/presets.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Tr as ComposedPreset, br as compose, wr as Capability } from "./index-BKr5fE1r.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.448",
|
|
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,16 +59,16 @@
|
|
|
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/
|
|
64
|
-
"@theholocron/datapad": "5.0.0-alpha.446",
|
|
62
|
+
"@theholocron/astromech": "5.0.0-alpha.448",
|
|
63
|
+
"@theholocron/datapad": "5.0.0-alpha.448",
|
|
65
64
|
"@theholocron/env-utils": "^1.17.0-alpha.4",
|
|
65
|
+
"@theholocron/dagobah": "5.0.0-alpha.448",
|
|
66
66
|
"@theholocron/fs-utils": "^1.17.0-alpha.4",
|
|
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.
|
|
68
|
+
"@theholocron/github-client": "^1.58.0-alpha.33",
|
|
69
|
+
"@theholocron/http-client": "^1.58.0-alpha.33",
|
|
70
|
+
"@theholocron/kyber": "5.0.0-alpha.448",
|
|
70
71
|
"@theholocron/json-utils": "^1.17.0-alpha.4",
|
|
71
|
-
"@theholocron/kyber": "5.0.0-alpha.446",
|
|
72
72
|
"@theholocron/misc-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"
|