@theholocron/cli 5.0.0-alpha.426 → 5.0.0-alpha.428
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.mjs +214 -6
- package/dist/cli.mjs.map +1 -1
- package/dist/{config-system-B_K14uij.mjs → config-system-b3wXHmZF.mjs} +1 -1
- package/dist/{index-CBiPFCUp.d.mts → index-4MVAtJs5.d.mts} +1 -1
- package/dist/index.d.mts +48 -8
- package/dist/index.mjs +29 -2
- package/dist/plugin/capabilities.d.mts +1 -1
- package/dist/presets.d.mts +1 -1
- package/dist/presets.mjs +1 -1
- package/package.json +9 -9
|
@@ -811,4 +811,4 @@ async function loadConfig(cwd, input = {}) {
|
|
|
811
811
|
* const preset = compose(node(), nextjs());
|
|
812
812
|
*/
|
|
813
813
|
const compose = system.compose;
|
|
814
|
-
export { placeAreas as a, ConfigError$1 as c, resolveEntry as d, resolvePluginPackage$1 as f, layerEnvironment as h, loadConfig as i, credentialsEnvironment as l,
|
|
814
|
+
export { placeAreas as a, ConfigError$1 as c, resolveEntry as d, resolvePluginPackage$1 as f, layerEnvironment as g, isEnvironmentLayer as h, loadConfig as i, credentialsEnvironment as l, ENVIRONMENT_LAYERS as m, compose as n, HOLOCRON_AREAS as o, repoSlug as p, defineConfig as r, SHARED_AREAS as s, ConfigFileError as t, resolveConfig as u };
|
|
@@ -4146,4 +4146,4 @@ declare class WebhookVerificationError extends Error {
|
|
|
4146
4146
|
}
|
|
4147
4147
|
/** Whether `key` is a capability that can have several providers active at once. */
|
|
4148
4148
|
declare function isMulti<K extends CapabilityKey>(key: K): CardinalityFor<K> extends "many" ? true : false;
|
|
4149
|
-
export { DnsRecord as $, WikiProxyConfig as $n, RepoVariablesSync as $r, NotificationsDelivery as $t, Cardinality as A, Source as An, DevConfig as Ar, Issues as At, DeployFunctionConfig as B, SyncResult as Bn, MultiEntry as Br, MonitoringAlertSettings as Bt, BoardStatusCategory as C, ResolvedCapability as Cn, resolveConfig as Cr, Issue as Ct, BoardView as D, SecretVisibility as Dn, CapabilityConfigPackage as Dr, IssueRecord as Dt, BoardTemplateFile as E, SecretScope as En, AppConfig as Er, IssuePriority as Et, CiRunStatus as F, SourceSecurity as Fn, EslintConfig as Fr, LogsDataset as Ft, DeploymentProject as G, TrackerDoctorReport as Gn, RepoConfig as Gr, MonitoringCheckInput as Gt, DeployScriptConfig as H, TeamPermission as Hn, ProviderOptions as Hr, MonitoringAssertionComparison as Ht, ConnectionStringOptions as I, SourceTeamMember as In, GitHubAppConfig as Ir, Monitoring as It, DeploymentTarget as J, Tunnels as Jn, RepoSecrets as Jr, NormalizedAuthUser as Jt, DeploymentProjectSettings as K, TrackerUser as Kn, RepoProperties as Kr, MonitoringHttpMethod as Kt, CreateAuthUserInput as L, StatusCategory as Ln, HolocronConfig as Lr, MonitoringAlertChannelInput as Lt, Ci as M, SourceFile as Mn, DocsConfig as Mr, LifecycleResult as Mt, CiRun as N, SourceRepoInfo as Nn, DoctorConfig as Nr, LifecycleSlot as Nt, CapabilityImpls as O, Secrets as On, ChromaticProjectConfig as Or, IssueSearchFilter as Ot, CiRunFilter as P, SourceRulesetDetail as Pn, EnvConfig as Pr, Logs as Pt, Dns as Q, WikiProvisionOpts as Qn, RepoVariables as Qr, NotificationsChannelLayout as Qt, Credentials as R, Storage as Rn, IdeasConfig as Rr, MonitoringAlertChannelResult as Rt, BoardStatus as S, RepoSettings as Sn, credentialsEnvironment as Sr, InspectRelayInput as St, BoardTemplate as T, SecretAccess as Tn, resolvePluginPackage as Tr, IssueOrder as Tt, DeployScriptResult as U, Tooling as Un, RawProviderEntry as Ur, MonitoringAssertionSource as Ut, DeployFunctionResult as V, TeamEntry as Vn, OrgConfig as Vr, MonitoringAssertion as Vt, Deployment as W, ToolingDoctorReport as Wn, RawProvidersConfig as Wr, MonitoringCheck as Wt, DiscussionPatch as X, WebhookDashboardInfo as Xn, RepoSecretsSync as Xr, NotificationsAccess as Xt, DeploymentTrigger as Y, Vault as Yn, RepoSecretsDeploy as Yr, Notifications as Yt, DiscussionPost as Z, Wiki as Zn, RepoValidationConfig as Zr, NotificationsApplicationLayout as Zt, BoardFieldType as _, Projects as _n, LoadedConfig as _r, ExportInfo as _t, REQUIRED_CAPABILITIES as a, StorybookDeployProject as ai, NotificationsMonitoringFeed as an, deriveProfile as ar, EnsureRelayResult as at, BoardRule as b, RelayState as bn, TaskEntry as br, ImportOptions as bt, AddedItem as c, WorkflowWithConfig as ci, NotificationsPinnedLayout as cn, readWorkspacePackageJsons as cr, EnsureWebhookResult as ct, AuthDescription as d, NotificationsSignIn as dn, PackageJsonLike as dr, EnsuredTunnel as dt, ResolvedHolocronConfig as ei, NotificationsEveryoneLayout as en, WorkerScriptState as er, DnsRecordRequest as et, AuthEvent as f, NotificationsSignedIn as fn, StackName as fr, Environment as ft, BoardField as g, ParseWebhookInput as gn, loadConfig as gr, Errors as gt, AuthUser as h, PagesConfig as hn, defineConfig as hr, Environments as ht, ProviderApiError as i, SingleEntry as ii, NotificationsMember as in, deriveCompliance as ir, EnsureRelayInput as it, CardinalityFor as j, SourceBranch as jn, DevServeConfig as jr, LabelDef as jt, CapabilityKey as k, ServerInspection as kn, CredentialsConfig as kr, IssueSelector as kt, Analytics as l, NotificationsPrsFeed as ln, DeriveProfileInput as lr, EnsuredDiscussion as lt, AuthIdentity as m, OrganizationSecretScope as mn, compose as mr, EnvironmentReviewer as mt, ElevationRequiredError as n, ResolvedProvidersConfig as ni, NotificationsLayout as nn, KNOWN_STACK_DEPS as nr, DuplicateDiscussion as nt, WebhookVerificationError as o, TaskEntryConfig as oi, NotificationsOnboardingLayout as on, deriveStack as or, EnsureReport as ot, AuthEventType as p, NotificationsWelcomeLayout as pn, ConfigFileError as pr, EnvironmentEntry as pt, DeploymentRecord as q, TunnelRoute as qn, RepoProtection as qr, MoveReport as qt, MissingTokenError as r, ResolvedTuple as ri, NotificationsLinksLayout as rn, deriveCapabilities as rr, EnsureDiscussionInput as rt, isMulti as s, TelemetryConfig as si, NotificationsPicture as sn, missingCapabilities as sr, EnsureResult as st, CARDINALITY as t, ResolvedProviderEntry as ti, NotificationsForumTag as tn, Workers as tr, DnsRecordType as tt, Auth as u, NotificationsServerLayout as un, HolocronProfile as ur, EnsuredResource as ut, BoardItem as v, ProviderIdentity as vn, Capability as vr, IdeaRecord as vt, BoardSummary as w, Ruleset as wn, resolveEntry as wr, IssueComment as wt, BoardState as x, RepoRef as xn, ConfigError$1 as xr, ImportResult as xt, BoardItemInput as y, PullRequest as yn, ComposedPreset as yr, Ideas as yt, CredentialsInspection as z, StorageBranch as zn, LogConfig as zr, MonitoringAlertChannelState as zt };
|
|
4149
|
+
export { DnsRecord as $, WikiProxyConfig as $n, RepoVariablesSync as $r, NotificationsDelivery as $t, Cardinality as A, Source as An, DevConfig as Ar, Issues as At, DeployFunctionConfig as B, SyncResult as Bn, MultiEntry as Br, MonitoringAlertSettings as Bt, BoardStatusCategory as C, ResolvedCapability as Cn, resolveConfig as Cr, Issue as Ct, BoardView as D, SecretVisibility as Dn, CapabilityConfigPackage as Dr, IssueRecord as Dt, BoardTemplateFile as E, SecretScope as En, AppConfig as Er, IssuePriority as Et, CiRunStatus as F, SourceSecurity as Fn, EslintConfig as Fr, LogsDataset as Ft, DeploymentProject as G, TrackerDoctorReport as Gn, RepoConfig as Gr, MonitoringCheckInput as Gt, DeployScriptConfig as H, TeamPermission as Hn, ProviderOptions as Hr, MonitoringAssertionComparison as Ht, ConnectionStringOptions as I, SourceTeamMember as In, GitHubAppConfig as Ir, Monitoring as It, DeploymentTarget as J, Tunnels as Jn, RepoSecrets as Jr, NormalizedAuthUser as Jt, DeploymentProjectSettings as K, TrackerUser as Kn, RepoProperties as Kr, MonitoringHttpMethod as Kt, CreateAuthUserInput as L, StatusCategory as Ln, HolocronConfig as Lr, MonitoringAlertChannelInput as Lt, Ci as M, SourceFile as Mn, DocsConfig as Mr, LifecycleResult as Mt, CiRun as N, SourceRepoInfo as Nn, DoctorConfig as Nr, LifecycleSlot as Nt, CapabilityImpls as O, Secrets as On, ChromaticProjectConfig as Or, IssueSearchFilter as Ot, CiRunFilter as P, SourceRulesetDetail as Pn, EnvConfig as Pr, Logs as Pt, Dns as Q, WikiProvisionOpts as Qn, RepoVariables as Qr, NotificationsChannelLayout as Qt, Credentials as R, Storage as Rn, IdeasConfig as Rr, MonitoringAlertChannelResult as Rt, BoardStatus as S, RepoSettings as Sn, credentialsEnvironment as Sr, InspectRelayInput as St, BoardTemplate as T, SecretAccess as Tn, resolvePluginPackage as Tr, IssueOrder as Tt, DeployScriptResult as U, Tooling as Un, RawProviderEntry as Ur, MonitoringAssertionSource as Ut, DeployFunctionResult as V, TeamEntry as Vn, OrgConfig as Vr, MonitoringAssertion as Vt, Deployment as W, ToolingDoctorReport as Wn, RawProvidersConfig as Wr, MonitoringCheck as Wt, DiscussionPatch as X, WebhookDashboardInfo as Xn, RepoSecretsSync as Xr, NotificationsAccess as Xt, DeploymentTrigger as Y, Vault as Yn, RepoSecretsDeploy as Yr, Notifications as Yt, DiscussionPost as Z, Wiki as Zn, RepoValidationConfig as Zr, NotificationsApplicationLayout as Zt, BoardFieldType as _, Projects as _n, LoadedConfig as _r, ExportInfo as _t, REQUIRED_CAPABILITIES as a, StorybookDeployProject as ai, NotificationsMonitoringFeed as an, deriveProfile as ar, EnsureRelayResult as at, BoardRule as b, RelayState as bn, TaskEntry as br, ImportOptions as bt, AddedItem as c, WorkflowWithConfig as ci, NotificationsPinnedLayout as cn, readWorkspacePackageJsons as cr, EnsureWebhookResult as ct, AuthDescription as d, NotificationsSignIn as dn, PackageJsonLike as dr, EnsuredTunnel as dt, ResolvedHolocronConfig as ei, NotificationsEveryoneLayout as en, WorkerScriptState as er, DnsRecordRequest as et, AuthEvent as f, NotificationsSignedIn as fn, StackName as fr, Environment as ft, BoardField as g, ParseWebhookInput as gn, loadConfig as gr, Errors as gt, AuthUser as h, PagesConfig as hn, defineConfig as hr, Environments as ht, ProviderApiError as i, SingleEntry as ii, NotificationsMember as in, deriveCompliance as ir, EnsureRelayInput as it, CardinalityFor as j, SourceBranch as jn, DevServeConfig as jr, LabelDef as jt, CapabilityKey as k, ServerInspection as kn, CredentialsConfig as kr, IssueSelector as kt, Analytics as l, EnvironmentLayer as li, NotificationsPrsFeed as ln, DeriveProfileInput as lr, EnsuredDiscussion as lt, AuthIdentity as m, OrganizationSecretScope as mn, compose as mr, EnvironmentReviewer as mt, ElevationRequiredError as n, ResolvedProvidersConfig as ni, NotificationsLayout as nn, KNOWN_STACK_DEPS as nr, DuplicateDiscussion as nt, WebhookVerificationError as o, TaskEntryConfig as oi, NotificationsOnboardingLayout as on, deriveStack as or, EnsureReport as ot, AuthEventType as p, NotificationsWelcomeLayout as pn, ConfigFileError as pr, EnvironmentEntry as pt, DeploymentRecord as q, TunnelRoute as qn, RepoProtection as qr, MoveReport as qt, MissingTokenError as r, ResolvedTuple as ri, NotificationsLinksLayout as rn, deriveCapabilities as rr, EnsureDiscussionInput as rt, isMulti as s, TelemetryConfig as si, NotificationsPicture as sn, missingCapabilities as sr, EnsureResult as st, CARDINALITY as t, ResolvedProviderEntry as ti, NotificationsForumTag as tn, Workers as tr, DnsRecordType as tt, Auth as u, NotificationsServerLayout as un, HolocronProfile as ur, EnsuredResource as ut, BoardItem as v, ProviderIdentity as vn, Capability as vr, IdeaRecord as vt, BoardSummary as w, Ruleset as wn, resolveEntry as wr, IssueComment as wt, BoardState as x, RepoRef as xn, ConfigError$1 as xr, ImportResult as xt, BoardItemInput as y, PullRequest as yn, ComposedPreset as yr, Ideas as yt, CredentialsInspection as z, StorageBranch as zn, LogConfig as zr, MonitoringAlertChannelState as zt };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { $ as DnsRecord, $n as WikiProxyConfig, $r as RepoVariablesSync, $t as NotificationsDelivery, A as Cardinality, An as Source, Ar as DevConfig, At as Issues, B as DeployFunctionConfig, Bn as SyncResult, Br as MultiEntry, Bt as MonitoringAlertSettings, C as BoardStatusCategory, Cn as ResolvedCapability, Cr as resolveConfig, Ct as Issue, D as BoardView, Dn as SecretVisibility, Dr as CapabilityConfigPackage, Dt as IssueRecord, E as BoardTemplateFile, En as SecretScope, Er as AppConfig, Et as IssuePriority, F as CiRunStatus, Fn as SourceSecurity, Fr as EslintConfig, Ft as LogsDataset, G as DeploymentProject, Gn as TrackerDoctorReport, Gr as RepoConfig, Gt as MonitoringCheckInput, H as DeployScriptConfig, Hn as TeamPermission, Hr as ProviderOptions, Ht as MonitoringAssertionComparison, I as ConnectionStringOptions, In as SourceTeamMember, Ir as GitHubAppConfig, It as Monitoring, J as DeploymentTarget, Jn as Tunnels, Jr as RepoSecrets, Jt as NormalizedAuthUser, K as DeploymentProjectSettings, Kn as TrackerUser, Kr as RepoProperties, Kt as MonitoringHttpMethod, L as CreateAuthUserInput, Ln as StatusCategory, Lr as HolocronConfig, Lt as MonitoringAlertChannelInput, M as Ci, Mn as SourceFile, Mr as DocsConfig, Mt as LifecycleResult, N as CiRun, Nn as SourceRepoInfo, Nr as DoctorConfig, Nt as LifecycleSlot, O as CapabilityImpls, On as Secrets, Or as ChromaticProjectConfig, Ot as IssueSearchFilter, P as CiRunFilter, Pn as SourceRulesetDetail, Pr as EnvConfig, Pt as Logs, Q as Dns, Qn as WikiProvisionOpts, Qr as RepoVariables, Qt as NotificationsChannelLayout, R as Credentials, Rn as Storage, Rr as IdeasConfig, Rt as MonitoringAlertChannelResult, S as BoardStatus, Sn as RepoSettings, Sr as credentialsEnvironment, St as InspectRelayInput, T as BoardTemplate, Tn as SecretAccess, Tr as resolvePluginPackage, Tt as IssueOrder, U as DeployScriptResult, Un as Tooling, Ur as RawProviderEntry, Ut as MonitoringAssertionSource, V as DeployFunctionResult, Vn as TeamEntry, Vr as OrgConfig, Vt as MonitoringAssertion, W as Deployment, Wn as ToolingDoctorReport, Wr as RawProvidersConfig, Wt as MonitoringCheck, X as DiscussionPatch, Xn as WebhookDashboardInfo, Xr as RepoSecretsSync, Xt as NotificationsAccess, Y as DeploymentTrigger, Yn as Vault, Yr as RepoSecretsDeploy, Yt as Notifications, Z as DiscussionPost, Zn as Wiki, Zr as RepoValidationConfig, Zt as NotificationsApplicationLayout, _ as BoardFieldType, _n as Projects, _r as LoadedConfig, _t as ExportInfo, a as REQUIRED_CAPABILITIES, ai as StorybookDeployProject, an as NotificationsMonitoringFeed, ar as deriveProfile, at as EnsureRelayResult, b as BoardRule, bn as RelayState, br as TaskEntry, bt as ImportOptions, c as AddedItem, ci as WorkflowWithConfig, cn as NotificationsPinnedLayout, cr as readWorkspacePackageJsons, ct as EnsureWebhookResult, d as AuthDescription, dn as NotificationsSignIn, dr as PackageJsonLike, dt as EnsuredTunnel, ei as ResolvedHolocronConfig, en as NotificationsEveryoneLayout, er as WorkerScriptState, et as DnsRecordRequest, f as AuthEvent, fn as NotificationsSignedIn, fr as StackName, ft as Environment, g as BoardField, gn as ParseWebhookInput, gr as loadConfig, gt as Errors, h as AuthUser, hn as PagesConfig, hr as defineConfig, ht as Environments, i as ProviderApiError, ii as SingleEntry, in as NotificationsMember, ir as deriveCompliance, it as EnsureRelayInput, j as CardinalityFor, jn as SourceBranch, jr as DevServeConfig, jt as LabelDef, k as CapabilityKey, kn as ServerInspection, kr as CredentialsConfig, kt as IssueSelector, l as Analytics, ln as NotificationsPrsFeed, lr as DeriveProfileInput, lt as EnsuredDiscussion, m as AuthIdentity, mn as OrganizationSecretScope, mr as compose, mt as EnvironmentReviewer, n as ElevationRequiredError, ni as ResolvedProvidersConfig, nn as NotificationsLayout, nr as KNOWN_STACK_DEPS, nt as DuplicateDiscussion, o as WebhookVerificationError, oi as TaskEntryConfig, on as NotificationsOnboardingLayout, or as deriveStack, ot as EnsureReport, p as AuthEventType, pn as NotificationsWelcomeLayout, pr as ConfigFileError, pt as EnvironmentEntry, q as DeploymentRecord, qn as TunnelRoute, qr as RepoProtection, qt as MoveReport, r as MissingTokenError, ri as ResolvedTuple, rn as NotificationsLinksLayout, rr as deriveCapabilities, rt as EnsureDiscussionInput, s as isMulti, si as TelemetryConfig, sn as NotificationsPicture, sr as missingCapabilities, st as EnsureResult, t as CARDINALITY, ti as ResolvedProviderEntry, tn as NotificationsForumTag, tr as Workers, tt as DnsRecordType, u as Auth, un as NotificationsServerLayout, ur as HolocronProfile, ut as EnsuredResource, v as BoardItem, vn as ProviderIdentity, vr as Capability, vt as IdeaRecord, w as BoardSummary, wn as Ruleset, wr as resolveEntry, wt as IssueComment, x as BoardState, xn as RepoRef, xr as ConfigError, xt as ImportResult, y as BoardItemInput, yn as PullRequest, yr as ComposedPreset, yt as Ideas, z as CredentialsInspection, zn as StorageBranch, zr as LogConfig, zt as MonitoringAlertChannelState } from "./index-
|
|
1
|
+
import { $ as DnsRecord, $n as WikiProxyConfig, $r as RepoVariablesSync, $t as NotificationsDelivery, A as Cardinality, An as Source, Ar as DevConfig, At as Issues, B as DeployFunctionConfig, Bn as SyncResult, Br as MultiEntry, Bt as MonitoringAlertSettings, C as BoardStatusCategory, Cn as ResolvedCapability, Cr as resolveConfig, Ct as Issue, D as BoardView, Dn as SecretVisibility, Dr as CapabilityConfigPackage, Dt as IssueRecord, E as BoardTemplateFile, En as SecretScope, Er as AppConfig, Et as IssuePriority, F as CiRunStatus, Fn as SourceSecurity, Fr as EslintConfig, Ft as LogsDataset, G as DeploymentProject, Gn as TrackerDoctorReport, Gr as RepoConfig, Gt as MonitoringCheckInput, H as DeployScriptConfig, Hn as TeamPermission, Hr as ProviderOptions, Ht as MonitoringAssertionComparison, I as ConnectionStringOptions, In as SourceTeamMember, Ir as GitHubAppConfig, It as Monitoring, J as DeploymentTarget, Jn as Tunnels, Jr as RepoSecrets, Jt as NormalizedAuthUser, K as DeploymentProjectSettings, Kn as TrackerUser, Kr as RepoProperties, Kt as MonitoringHttpMethod, L as CreateAuthUserInput, Ln as StatusCategory, Lr as HolocronConfig, Lt as MonitoringAlertChannelInput, M as Ci, Mn as SourceFile, Mr as DocsConfig, Mt as LifecycleResult, N as CiRun, Nn as SourceRepoInfo, Nr as DoctorConfig, Nt as LifecycleSlot, O as CapabilityImpls, On as Secrets, Or as ChromaticProjectConfig, Ot as IssueSearchFilter, P as CiRunFilter, Pn as SourceRulesetDetail, Pr as EnvConfig, Pt as Logs, Q as Dns, Qn as WikiProvisionOpts, Qr as RepoVariables, Qt as NotificationsChannelLayout, R as Credentials, Rn as Storage, Rr as IdeasConfig, Rt as MonitoringAlertChannelResult, S as BoardStatus, Sn as RepoSettings, Sr as credentialsEnvironment, St as InspectRelayInput, T as BoardTemplate, Tn as SecretAccess, Tr as resolvePluginPackage, Tt as IssueOrder, U as DeployScriptResult, Un as Tooling, Ur as RawProviderEntry, Ut as MonitoringAssertionSource, V as DeployFunctionResult, Vn as TeamEntry, Vr as OrgConfig, Vt as MonitoringAssertion, W as Deployment, Wn as ToolingDoctorReport, Wr as RawProvidersConfig, Wt as MonitoringCheck, X as DiscussionPatch, Xn as WebhookDashboardInfo, Xr as RepoSecretsSync, Xt as NotificationsAccess, Y as DeploymentTrigger, Yn as Vault, Yr as RepoSecretsDeploy, Yt as Notifications, Z as DiscussionPost, Zn as Wiki, Zr as RepoValidationConfig, Zt as NotificationsApplicationLayout, _ as BoardFieldType, _n as Projects, _r as LoadedConfig, _t as ExportInfo, a as REQUIRED_CAPABILITIES, ai as StorybookDeployProject, an as NotificationsMonitoringFeed, ar as deriveProfile, at as EnsureRelayResult, b as BoardRule, bn as RelayState, br as TaskEntry, bt as ImportOptions, c as AddedItem, ci as WorkflowWithConfig, cn as NotificationsPinnedLayout, cr as readWorkspacePackageJsons, ct as EnsureWebhookResult, d as AuthDescription, dn as NotificationsSignIn, dr as PackageJsonLike, dt as EnsuredTunnel, ei as ResolvedHolocronConfig, en as NotificationsEveryoneLayout, er as WorkerScriptState, et as DnsRecordRequest, f as AuthEvent, fn as NotificationsSignedIn, fr as StackName, ft as Environment, g as BoardField, gn as ParseWebhookInput, gr as loadConfig, gt as Errors, h as AuthUser, hn as PagesConfig, hr as defineConfig, ht as Environments, i as ProviderApiError, ii as SingleEntry, in as NotificationsMember, ir as deriveCompliance, it as EnsureRelayInput, j as CardinalityFor, jn as SourceBranch, jr as DevServeConfig, jt as LabelDef, k as CapabilityKey, kn as ServerInspection, kr as CredentialsConfig, kt as IssueSelector, l as Analytics, li as EnvironmentLayer, ln as NotificationsPrsFeed, lr as DeriveProfileInput, lt as EnsuredDiscussion, m as AuthIdentity, mn as OrganizationSecretScope, mr as compose, mt as EnvironmentReviewer, n as ElevationRequiredError, ni as ResolvedProvidersConfig, nn as NotificationsLayout, nr as KNOWN_STACK_DEPS, nt as DuplicateDiscussion, o as WebhookVerificationError, oi as TaskEntryConfig, on as NotificationsOnboardingLayout, or as deriveStack, ot as EnsureReport, p as AuthEventType, pn as NotificationsWelcomeLayout, pr as ConfigFileError, pt as EnvironmentEntry, q as DeploymentRecord, qn as TunnelRoute, qr as RepoProtection, qt as MoveReport, r as MissingTokenError, ri as ResolvedTuple, rn as NotificationsLinksLayout, rr as deriveCapabilities, rt as EnsureDiscussionInput, s as isMulti, si as TelemetryConfig, sn as NotificationsPicture, sr as missingCapabilities, st as EnsureResult, t as CARDINALITY, ti as ResolvedProviderEntry, tn as NotificationsForumTag, tr as Workers, tt as DnsRecordType, u as Auth, un as NotificationsServerLayout, ur as HolocronProfile, ut as EnsuredResource, v as BoardItem, vn as ProviderIdentity, vr as Capability, vt as IdeaRecord, w as BoardSummary, wn as Ruleset, wr as resolveEntry, wt as IssueComment, x as BoardState, xn as RepoRef, xr as ConfigError, xt as ImportResult, y as BoardItemInput, yn as PullRequest, yr as ComposedPreset, yt as Ideas, z as CredentialsInspection, zn as StorageBranch, zr as LogConfig, zt as MonitoringAlertChannelState } from "./index-4MVAtJs5.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
|
+
import "@theholocron/env-utils/lookup";
|
|
4
5
|
import { RequestOptions, RestClient, RestClientConfig, createRestClient } from "@theholocron/http-client";
|
|
5
6
|
import "@theholocron/kyber/plugins";
|
|
6
7
|
import { GitExec } from "@theholocron/git-utils";
|
|
@@ -26,6 +27,22 @@ interface VerifyTokenFailure {
|
|
|
26
27
|
}
|
|
27
28
|
/** What a plugin's `verifyToken` returns: the token was accepted, or it was rejected with a reason. */
|
|
28
29
|
type VerifyTokenResult = VerifyTokenSuccess | VerifyTokenFailure;
|
|
30
|
+
/** What a layer's token must do about a permission: `required` it must have it, `absent` it must not. */
|
|
31
|
+
type PermissionRule = "required" | "absent";
|
|
32
|
+
/**
|
|
33
|
+
* What a token must carry, declared once next to the plugin's `tokens` list. The permission names are the plugin's own
|
|
34
|
+
* (Cloudflare: `pages`, `dns`); a layer's rules say which are `required` and which `absent`, so a laptop token might
|
|
35
|
+
* need everything while `ci` needs one permission and must have none of the rest.
|
|
36
|
+
*/
|
|
37
|
+
interface TokenExpectation {
|
|
38
|
+
/**
|
|
39
|
+
* The layers that hold this token, for a token with no permission rules (a rotation-only check). Default: the layers
|
|
40
|
+
* `permissions` names. A layer in neither has no declared expectations.
|
|
41
|
+
*/
|
|
42
|
+
layers?: readonly EnvironmentLayer[];
|
|
43
|
+
/** Per layer, each permission's rule. A layer named here holds the token. */
|
|
44
|
+
permissions?: Readonly<Partial<Record<EnvironmentLayer, Readonly<Record<string, PermissionRule>>>>>;
|
|
45
|
+
}
|
|
29
46
|
/** One token a plugin takes, and where it is looked up. */
|
|
30
47
|
interface PluginToken {
|
|
31
48
|
/** The plugin's own environment variable, e.g. `HOLOCRON_ADMIN_TOKEN`. */
|
|
@@ -52,13 +69,10 @@ interface PluginToken {
|
|
|
52
69
|
*/
|
|
53
70
|
optional?: boolean;
|
|
54
71
|
/**
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* rule: a laptop token might need all of a provider's permissions, while `ci` needs one and must not have the rest.
|
|
58
|
-
* A token probe (`holocron probe <provider> token --environment <layer>`) judges the token against it, and the
|
|
59
|
-
* permission table in `docs/src/content/docs/tokens.mdx` says the same in prose.
|
|
72
|
+
* Which layers hold this token and what it must and must not be able to do in each (#2149). One declaration that the
|
|
73
|
+
* token probes, the doctor and the docs check read through `tokenExpectations()`; see `TokenExpectation`.
|
|
60
74
|
*/
|
|
61
|
-
expect?:
|
|
75
|
+
expect?: TokenExpectation;
|
|
62
76
|
}
|
|
63
77
|
/** Options for a token resolver, without the keyring lookup, which the CLI supplies itself. */
|
|
64
78
|
type ResolveTokenConfig = Omit<ResolveTokenConfig$1, "keyring" | "orgEnvName">;
|
|
@@ -410,6 +424,32 @@ export declare const CANONICAL_LABELS: readonly [{
|
|
|
410
424
|
readonly color: "ffffff";
|
|
411
425
|
readonly description: "Won't be addressed";
|
|
412
426
|
}];
|
|
427
|
+
/** What one token must carry in one layer, as `tokenExpectations()` reads it from a plugin's `PluginToken.expect`. */
|
|
428
|
+
interface LayerTokenExpectation {
|
|
429
|
+
/** The token's plugin environment variable (`PluginToken.envName`), its identity in the plugin's list. */
|
|
430
|
+
envName: string;
|
|
431
|
+
/** The layer that holds it. */
|
|
432
|
+
layer: EnvironmentLayer;
|
|
433
|
+
/** Every permission with its rule. Empty for a layer that holds the token with no permission rules. */
|
|
434
|
+
rules: Readonly<Record<string, PermissionRule>>;
|
|
435
|
+
/** The permissions the token must have, in declaration order. */
|
|
436
|
+
required: readonly string[];
|
|
437
|
+
/** The permissions the token must not have, in declaration order. */
|
|
438
|
+
absent: readonly string[];
|
|
439
|
+
}
|
|
440
|
+
/** Which of the declared expectations to return; both left out returns all of them. */
|
|
441
|
+
interface TokenExpectationFilter {
|
|
442
|
+
/** Only this layer. */
|
|
443
|
+
layer?: string;
|
|
444
|
+
/** Only the token with this `envName`. */
|
|
445
|
+
envName?: string;
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* Reads what a plugin's tokens declare (`PluginToken.expect`) as one entry per token and layer that holds it, in the
|
|
449
|
+
* order of `ENVIRONMENT_LAYERS`. The one reader the token probes, the doctor and the docs check share, so none of them
|
|
450
|
+
* walks the declaration itself. A token with no `expect` yields nothing; a layer no token holds is never listed.
|
|
451
|
+
*/
|
|
452
|
+
export declare function tokenExpectations(tokens: readonly PluginToken[], filter?: TokenExpectationFilter): LayerTokenExpectation[];
|
|
413
453
|
/**
|
|
414
454
|
* What stdout is. A token is never written to a `terminal` (it would sit in scrollback) or to `other` (a redirect to
|
|
415
455
|
* a regular file, which would leave plaintext tokens on disk without the protections of the file option); only a
|
|
@@ -470,4 +510,4 @@ export declare const SHARED_AREAS: readonly ["org"];
|
|
|
470
510
|
* is a `ConfigError` naming both (no merge, no precedence). With no area files the config is returned as it was.
|
|
471
511
|
*/
|
|
472
512
|
export declare function placeAreas(areas: ConfigDirArea[], raw: HolocronConfig): HolocronConfig;
|
|
473
|
-
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, 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, 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 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 TokenResolver, Tooling, ToolingDoctorReport, 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 };
|
|
513
|
+
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 TokenResolver, Tooling, ToolingDoctorReport, 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 };
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CARDINALITY, ElevationRequiredError, MissingTokenError, ProviderApiError, REQUIRED_CAPABILITIES, WebhookVerificationError, isMulti } from "./plugin/capabilities.mjs";
|
|
2
|
-
import { a as placeAreas, c as ConfigError, d as resolveEntry, f as resolvePluginPackage,
|
|
2
|
+
import { a as placeAreas, c as ConfigError, d as resolveEntry, f as resolvePluginPackage, g as layerEnvironment, h as isEnvironmentLayer, i as loadConfig, l as credentialsEnvironment, m as ENVIRONMENT_LAYERS, n as compose, o as HOLOCRON_AREAS, p as repoSlug, r as defineConfig, s as SHARED_AREAS, t as ConfigFileError, u as resolveConfig } from "./config-system-b3wXHmZF.mjs";
|
|
3
3
|
import { Entry, findCredentials } from "@napi-rs/keyring";
|
|
4
4
|
import { AuthError, createFeatureResolver as createFeatureResolver$1, createKeyring, createResolveToken as createResolveToken$1, resolveValue } from "@theholocron/kyber/secrets";
|
|
5
5
|
import { describeError, style } from "@theholocron/kyber/ui";
|
|
@@ -554,6 +554,33 @@ const CANONICAL_LABELS = [
|
|
|
554
554
|
description: "Won't be addressed"
|
|
555
555
|
}
|
|
556
556
|
];
|
|
557
|
+
// src/commands/token-expectations/token-expectations.ts
|
|
558
|
+
/**
|
|
559
|
+
* Reads what a plugin's tokens declare (`PluginToken.expect`) as one entry per token and layer that holds it, in the
|
|
560
|
+
* order of `ENVIRONMENT_LAYERS`. The one reader the token probes, the doctor and the docs check share, so none of them
|
|
561
|
+
* walks the declaration itself. A token with no `expect` yields nothing; a layer no token holds is never listed.
|
|
562
|
+
*/
|
|
563
|
+
function tokenExpectations(tokens, filter = {}) {
|
|
564
|
+
const found = [];
|
|
565
|
+
for (const token of tokens) {
|
|
566
|
+
if (!token.expect || filter.envName !== void 0 && token.envName !== filter.envName) continue;
|
|
567
|
+
const { layers = [], permissions = {} } = token.expect;
|
|
568
|
+
for (const layer of ENVIRONMENT_LAYERS) {
|
|
569
|
+
if (filter.layer !== void 0 && filter.layer !== layer) continue;
|
|
570
|
+
const rules = permissions[layer];
|
|
571
|
+
if (!rules && !layers.includes(layer)) continue;
|
|
572
|
+
const entries = Object.entries(rules ?? {});
|
|
573
|
+
found.push({
|
|
574
|
+
envName: token.envName,
|
|
575
|
+
layer,
|
|
576
|
+
rules: rules ?? {},
|
|
577
|
+
required: entries.filter(([, rule]) => rule === "required").map(([name]) => name),
|
|
578
|
+
absent: entries.filter(([, rule]) => rule === "absent").map(([name]) => name)
|
|
579
|
+
});
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
return found;
|
|
583
|
+
}
|
|
557
584
|
// src/commands/auth-export/stdout-kind/stdout-kind.ts
|
|
558
585
|
/**
|
|
559
586
|
* What file descriptor `fd` (stdout) is, for deciding where tokens may go: a `terminal`, a `pipe` (a FIFO, or the
|
|
@@ -612,4 +639,4 @@ function resolveCredentialsFile(base, file, makeDir = (dir) => void mkdirSync(di
|
|
|
612
639
|
isDefault: true
|
|
613
640
|
};
|
|
614
641
|
}
|
|
615
|
-
export { AuthError, CANONICAL_LABELS, CARDINALITY, ConfigError, ConfigFileError, ElevationRequiredError, HOLOCRON_AREAS, KNOWN_STACK_DEPS, MissingTokenError, PRIVATE_CREDENTIALS_FILE, ProviderApiError, REQUIRED_CAPABILITIES, SHARED_AREAS, WebhookVerificationError, compose, connectionProbe, createFeatureResolver, createResolveToken, createRestClient, credentialsEnvironment, defineConfig, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, ignoreAdvice, isMulti, keyring, loadConfig, missingCapabilities, orderKeys, pickByCreation, placeAreas, readKeysLimited, readLinks, readWorkspacePackageJsons, reportProgress, resolveConfig, resolveCredentialsFile, resolveEntry, resolveEnvironmentId, resolvePluginPackage, resolveValue, roleTeamProblem, sourceProblem, stdoutKind, syncRoles };
|
|
642
|
+
export { AuthError, CANONICAL_LABELS, CARDINALITY, ConfigError, ConfigFileError, ElevationRequiredError, HOLOCRON_AREAS, KNOWN_STACK_DEPS, MissingTokenError, PRIVATE_CREDENTIALS_FILE, ProviderApiError, REQUIRED_CAPABILITIES, SHARED_AREAS, WebhookVerificationError, compose, connectionProbe, createFeatureResolver, createResolveToken, createRestClient, credentialsEnvironment, defineConfig, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, ignoreAdvice, isMulti, keyring, loadConfig, missingCapabilities, orderKeys, pickByCreation, placeAreas, readKeysLimited, readLinks, readWorkspacePackageJsons, reportProgress, resolveConfig, resolveCredentialsFile, resolveEntry, resolveEnvironmentId, resolvePluginPackage, resolveValue, roleTeamProblem, sourceProblem, stdoutKind, syncRoles, tokenExpectations };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as DnsRecord, $n as WikiProxyConfig, $t as NotificationsDelivery, A as Cardinality, An as Source, At as Issues, B as DeployFunctionConfig, Bn as SyncResult, Bt as MonitoringAlertSettings, C as BoardStatusCategory, Cn as ResolvedCapability, Ct as Issue, D as BoardView, Dn as SecretVisibility, Dt as IssueRecord, E as BoardTemplateFile, En as SecretScope, Et as IssuePriority, F as CiRunStatus, Fn as SourceSecurity, Ft as LogsDataset, G as DeploymentProject, Gn as TrackerDoctorReport, Gt as MonitoringCheckInput, H as DeployScriptConfig, Hn as TeamPermission, Ht as MonitoringAssertionComparison, I as ConnectionStringOptions, In as SourceTeamMember, It as Monitoring, J as DeploymentTarget, Jn as Tunnels, Jt as NormalizedAuthUser, K as DeploymentProjectSettings, Kn as TrackerUser, Kt as MonitoringHttpMethod, L as CreateAuthUserInput, Ln as StatusCategory, Lt as MonitoringAlertChannelInput, M as Ci, Mn as SourceFile, Mt as LifecycleResult, N as CiRun, Nn as SourceRepoInfo, Nt as LifecycleSlot, O as CapabilityImpls, On as Secrets, Ot as IssueSearchFilter, P as CiRunFilter, Pn as SourceRulesetDetail, Pt as Logs, Q as Dns, Qn as WikiProvisionOpts, Qt as NotificationsChannelLayout, R as Credentials, Rn as Storage, Rt as MonitoringAlertChannelResult, S as BoardStatus, Sn as RepoSettings, St as InspectRelayInput, T as BoardTemplate, Tn as SecretAccess, Tt as IssueOrder, U as DeployScriptResult, Un as Tooling, Ut as MonitoringAssertionSource, V as DeployFunctionResult, Vn as TeamEntry, Vt as MonitoringAssertion, W as Deployment, Wn as ToolingDoctorReport, Wt as MonitoringCheck, X as DiscussionPatch, Xn as WebhookDashboardInfo, Xt as NotificationsAccess, Y as DeploymentTrigger, Yn as Vault, Yt as Notifications, Z as DiscussionPost, Zn as Wiki, Zt as NotificationsApplicationLayout, _ as BoardFieldType, _n as Projects, _t as ExportInfo, a as REQUIRED_CAPABILITIES, an as NotificationsMonitoringFeed, at as EnsureRelayResult, b as BoardRule, bn as RelayState, bt as ImportOptions, c as AddedItem, cn as NotificationsPinnedLayout, ct as EnsureWebhookResult, d as AuthDescription, dn as NotificationsSignIn, dt as EnsuredTunnel, en as NotificationsEveryoneLayout, er as WorkerScriptState, et as DnsRecordRequest, f as AuthEvent, fn as NotificationsSignedIn, ft as Environment, g as BoardField, gn as ParseWebhookInput, gt as Errors, h as AuthUser, hn as PagesConfig, ht as Environments, i as ProviderApiError, in as NotificationsMember, it as EnsureRelayInput, j as CardinalityFor, jn as SourceBranch, jt as LabelDef, k as CapabilityKey, kn as ServerInspection, kt as IssueSelector, l as Analytics, ln as NotificationsPrsFeed, lt as EnsuredDiscussion, m as AuthIdentity, mn as OrganizationSecretScope, mt as EnvironmentReviewer, n as ElevationRequiredError, nn as NotificationsLayout, nt as DuplicateDiscussion, o as WebhookVerificationError, on as NotificationsOnboardingLayout, ot as EnsureReport, p as AuthEventType, pn as NotificationsWelcomeLayout, pt as EnvironmentEntry, q as DeploymentRecord, qn as TunnelRoute, qt as MoveReport, r as MissingTokenError, rn as NotificationsLinksLayout, rt as EnsureDiscussionInput, s as isMulti, sn as NotificationsPicture, st as EnsureResult, t as CARDINALITY, tn as NotificationsForumTag, tr as Workers, tt as DnsRecordType, u as Auth, un as NotificationsServerLayout, ut as EnsuredResource, v as BoardItem, vn as ProviderIdentity, vt as IdeaRecord, w as BoardSummary, wn as Ruleset, wt as IssueComment, x as BoardState, xn as RepoRef, xt as ImportResult, y as BoardItemInput, yn as PullRequest, yt as Ideas, z as CredentialsInspection, zn as StorageBranch, zt as MonitoringAlertChannelState } from "../index-
|
|
1
|
+
import { $ as DnsRecord, $n as WikiProxyConfig, $t as NotificationsDelivery, A as Cardinality, An as Source, At as Issues, B as DeployFunctionConfig, Bn as SyncResult, Bt as MonitoringAlertSettings, C as BoardStatusCategory, Cn as ResolvedCapability, Ct as Issue, D as BoardView, Dn as SecretVisibility, Dt as IssueRecord, E as BoardTemplateFile, En as SecretScope, Et as IssuePriority, F as CiRunStatus, Fn as SourceSecurity, Ft as LogsDataset, G as DeploymentProject, Gn as TrackerDoctorReport, Gt as MonitoringCheckInput, H as DeployScriptConfig, Hn as TeamPermission, Ht as MonitoringAssertionComparison, I as ConnectionStringOptions, In as SourceTeamMember, It as Monitoring, J as DeploymentTarget, Jn as Tunnels, Jt as NormalizedAuthUser, K as DeploymentProjectSettings, Kn as TrackerUser, Kt as MonitoringHttpMethod, L as CreateAuthUserInput, Ln as StatusCategory, Lt as MonitoringAlertChannelInput, M as Ci, Mn as SourceFile, Mt as LifecycleResult, N as CiRun, Nn as SourceRepoInfo, Nt as LifecycleSlot, O as CapabilityImpls, On as Secrets, Ot as IssueSearchFilter, P as CiRunFilter, Pn as SourceRulesetDetail, Pt as Logs, Q as Dns, Qn as WikiProvisionOpts, Qt as NotificationsChannelLayout, R as Credentials, Rn as Storage, Rt as MonitoringAlertChannelResult, S as BoardStatus, Sn as RepoSettings, St as InspectRelayInput, T as BoardTemplate, Tn as SecretAccess, Tt as IssueOrder, U as DeployScriptResult, Un as Tooling, Ut as MonitoringAssertionSource, V as DeployFunctionResult, Vn as TeamEntry, Vt as MonitoringAssertion, W as Deployment, Wn as ToolingDoctorReport, Wt as MonitoringCheck, X as DiscussionPatch, Xn as WebhookDashboardInfo, Xt as NotificationsAccess, Y as DeploymentTrigger, Yn as Vault, Yt as Notifications, Z as DiscussionPost, Zn as Wiki, Zt as NotificationsApplicationLayout, _ as BoardFieldType, _n as Projects, _t as ExportInfo, a as REQUIRED_CAPABILITIES, an as NotificationsMonitoringFeed, at as EnsureRelayResult, b as BoardRule, bn as RelayState, bt as ImportOptions, c as AddedItem, cn as NotificationsPinnedLayout, ct as EnsureWebhookResult, d as AuthDescription, dn as NotificationsSignIn, dt as EnsuredTunnel, en as NotificationsEveryoneLayout, er as WorkerScriptState, et as DnsRecordRequest, f as AuthEvent, fn as NotificationsSignedIn, ft as Environment, g as BoardField, gn as ParseWebhookInput, gt as Errors, h as AuthUser, hn as PagesConfig, ht as Environments, i as ProviderApiError, in as NotificationsMember, it as EnsureRelayInput, j as CardinalityFor, jn as SourceBranch, jt as LabelDef, k as CapabilityKey, kn as ServerInspection, kt as IssueSelector, l as Analytics, ln as NotificationsPrsFeed, lt as EnsuredDiscussion, m as AuthIdentity, mn as OrganizationSecretScope, mt as EnvironmentReviewer, n as ElevationRequiredError, nn as NotificationsLayout, nt as DuplicateDiscussion, o as WebhookVerificationError, on as NotificationsOnboardingLayout, ot as EnsureReport, p as AuthEventType, pn as NotificationsWelcomeLayout, pt as EnvironmentEntry, q as DeploymentRecord, qn as TunnelRoute, qt as MoveReport, r as MissingTokenError, rn as NotificationsLinksLayout, rt as EnsureDiscussionInput, s as isMulti, sn as NotificationsPicture, st as EnsureResult, t as CARDINALITY, tn as NotificationsForumTag, tr as Workers, tt as DnsRecordType, u as Auth, un as NotificationsServerLayout, ut as EnsuredResource, v as BoardItem, vn as ProviderIdentity, vt as IdeaRecord, w as BoardSummary, wn as Ruleset, wt as IssueComment, x as BoardState, xn as RepoRef, xt as ImportResult, y as BoardItemInput, yn as PullRequest, yt as Ideas, z as CredentialsInspection, zn as StorageBranch, zt as MonitoringAlertChannelState } from "../index-4MVAtJs5.mjs";
|
|
2
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, TrackerDoctorReport, TrackerUser, TunnelRoute, Tunnels, Vault, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, WorkerScriptState, Workers, isMulti };
|
package/dist/presets.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { mr as compose, vr as Capability, yr as ComposedPreset } from "./index-
|
|
1
|
+
import { mr as compose, vr as Capability, yr as ComposedPreset } from "./index-4MVAtJs5.mjs";
|
|
2
2
|
/** Options for the audit capability. */
|
|
3
3
|
interface AuditOptions {
|
|
4
4
|
/** Enable Knip unused-export analysis (default: false). */
|
package/dist/presets.mjs
CHANGED
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.428",
|
|
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,19 +59,19 @@
|
|
|
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/dagobah": "5.0.0-alpha.426",
|
|
64
|
-
"@theholocron/datapad": "5.0.0-alpha.426",
|
|
65
|
-
"@theholocron/github-client": "^1.58.0-alpha.29",
|
|
66
|
-
"@theholocron/git-utils": "^1.17.0-alpha.4",
|
|
62
|
+
"@theholocron/astromech": "5.0.0-alpha.428",
|
|
67
63
|
"@theholocron/env-utils": "^1.17.0-alpha.4",
|
|
68
64
|
"@theholocron/fs-utils": "^1.17.0-alpha.4",
|
|
65
|
+
"@theholocron/dagobah": "5.0.0-alpha.428",
|
|
66
|
+
"@theholocron/git-utils": "^1.17.0-alpha.4",
|
|
67
|
+
"@theholocron/github-client": "^1.58.0-alpha.29",
|
|
68
|
+
"@theholocron/datapad": "5.0.0-alpha.428",
|
|
69
69
|
"@theholocron/http-client": "^1.58.0-alpha.29",
|
|
70
|
-
"@theholocron/kyber": "5.0.0-alpha.426",
|
|
71
|
-
"@theholocron/observability": "^0.7.0-alpha.4",
|
|
72
70
|
"@theholocron/json-utils": "^1.17.0-alpha.4",
|
|
73
71
|
"@theholocron/misc-utils": "^1.17.0-alpha.4",
|
|
74
|
-
"@theholocron/
|
|
72
|
+
"@theholocron/observability": "^0.7.0-alpha.4",
|
|
73
|
+
"@theholocron/pkg-utils": "^1.17.0-alpha.4",
|
|
74
|
+
"@theholocron/kyber": "5.0.0-alpha.428"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@types/node": "^26",
|