@theholocron/cli 5.0.0-alpha.359 → 5.0.0-alpha.360

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.
@@ -285,6 +285,21 @@ interface CredentialsConfig {
285
285
  */
286
286
  environment: string;
287
287
  }
288
+ /** One entry of `githubApps`: a registered GitHub App instance `holocron doctor github-app` compares with its manifest. */
289
+ interface GitHubAppConfig {
290
+ /** The instance's name in the report, e.g. `"Sentinel - dev"`. */
291
+ name: string;
292
+ /**
293
+ * The App manifest file, relative to the directory: `default_permissions` (name to `read`, `write` or
294
+ * `admin`) and `default_events` (names), as in `apps/sentinel/github-app.manifest.json`.
295
+ */
296
+ manifest: string;
297
+ /**
298
+ * The vault environment (a 1Password Environment) that holds the instance's `GITHUB_APP_ID` and
299
+ * `GITHUB_APP_PRIVATE_KEY`. A name, not a secret, so it is committed.
300
+ */
301
+ environment: string;
302
+ }
288
303
  /** The `dev` block: how `holocron dev` runs this directory's application locally behind a development tunnel. */
289
304
  interface DevConfig {
290
305
  /**
@@ -674,6 +689,14 @@ interface HolocronConfig {
674
689
  * { environment: "Sentinel - dev", tunnel: { name: "sentinel-dev", hostname: "sentinel-dev.theholocron.dev" } }
675
690
  */
676
691
  dev?: DevConfig;
692
+ /**
693
+ * The registered GitHub App instances `holocron doctor github-app` checks: GitHub cannot change an existing App's
694
+ * permissions or event subscriptions, so each instance is changed by hand and compared with its manifest here.
695
+ *
696
+ * @example
697
+ * [{ name: "Sentinel", manifest: "apps/sentinel/github-app.manifest.json", environment: "Sentinel" }]
698
+ */
699
+ githubApps?: GitHubAppConfig[];
677
700
  /**
678
701
  * Structured-logging config. Only the level belongs here — Axiom
679
702
  * credentials come from env vars, never a committed file.
@@ -782,6 +805,8 @@ interface ResolvedHolocronConfig {
782
805
  credentials?: CredentialsConfig;
783
806
  /** How `holocron dev` runs the application, validated by `resolveConfig`. */
784
807
  dev?: DevConfig;
808
+ /** The GitHub App instances `doctor github-app` checks, validated by `resolveConfig`. */
809
+ githubApps?: GitHubAppConfig[];
785
810
  /** Logging settings. */
786
811
  log?: LogConfig;
787
812
  /** Telemetry settings. */
@@ -893,4 +918,4 @@ declare const loadConfig: (cwd: string) => Promise<LoadedConfig>;
893
918
  * const preset = compose(node(), nextjs());
894
919
  */
895
920
  declare const compose: (...args: (Capability | Capability[])[]) => ComposedPreset;
896
- export { RawProvidersConfig as A, ResolvedProviderEntry as B, EslintConfig as C, OrgConfig as D, MultiEntry as E, RepoSecretsSync as F, TaskEntryConfig as G, ResolvedTuple as H, RepoValidationConfig as I, TelemetryConfig as K, RepoVariables as L, RepoProperties as M, RepoProtection as N, ProviderOptions as O, RepoSecrets as P, RepoVariablesSync as R, EnvConfig as S, LogConfig as T, SingleEntry as U, ResolvedProvidersConfig as V, StorybookDeployProject as W, CredentialsConfig as _, LoadedConfig as a, DocsConfig as b, TaskEntry as c, resolveConfig as d, resolveEntry as f, ChromaticProjectConfig as g, CapabilityConfigPackage as h, loadConfig as i, RepoConfig as j, RawProviderEntry as k, ConfigError$1 as l, AppConfig as m, compose as n, Capability as o, resolvePluginPackage as p, WorkflowWithConfig as q, defineConfig as r, ComposedPreset as s, ConfigFileError as t, credentialsEnvironment as u, DevConfig as v, HolocronConfig as w, DoctorConfig as x, DevServeConfig as y, ResolvedHolocronConfig as z };
921
+ export { RawProviderEntry as A, ResolvedHolocronConfig as B, EslintConfig as C, MultiEntry as D, LogConfig as E, RepoSecrets as F, StorybookDeployProject as G, ResolvedProvidersConfig as H, RepoSecretsSync as I, WorkflowWithConfig as J, TaskEntryConfig as K, RepoValidationConfig as L, RepoConfig as M, RepoProperties as N, OrgConfig as O, RepoProtection as P, RepoVariables as R, EnvConfig as S, HolocronConfig as T, ResolvedTuple as U, ResolvedProviderEntry as V, SingleEntry as W, CredentialsConfig as _, LoadedConfig as a, DocsConfig as b, TaskEntry as c, resolveConfig as d, resolveEntry as f, ChromaticProjectConfig as g, CapabilityConfigPackage as h, loadConfig as i, RawProvidersConfig as j, ProviderOptions as k, ConfigError$1 as l, AppConfig as m, compose as n, Capability as o, resolvePluginPackage as p, TelemetryConfig as q, defineConfig as r, ComposedPreset as s, ConfigFileError as t, credentialsEnvironment as u, DevConfig as v, GitHubAppConfig as w, DoctorConfig as x, DevServeConfig as y, RepoVariablesSync as z };
@@ -100,6 +100,20 @@ function resolveEntry(key, raw) {
100
100
  }
101
101
  /** A DNS hostname of at least two labels: no scheme, port, path or space. */
102
102
  const HOSTNAME = /^[A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9])?)+$/;
103
+ /** Throws a {@link ConfigError} naming the first thing wrong with the `githubApps` list. */
104
+ function validateGitHubApps(apps) {
105
+ if (!Array.isArray(apps)) throw new ConfigError$1("`githubApps` must be a list of { name, manifest, environment }");
106
+ apps.forEach((app, idx) => {
107
+ for (const key of [
108
+ "name",
109
+ "manifest",
110
+ "environment"
111
+ ]) {
112
+ const value = app?.[key];
113
+ if (typeof value !== "string" || value.trim() === "") throw new ConfigError$1(`\`githubApps[${idx}].${key}\` must be a non-empty string`);
114
+ }
115
+ });
116
+ }
103
117
  /** Throws a {@link ConfigError} naming the first thing wrong with the `dev` block. */
104
118
  function validateDev(dev) {
105
119
  const nonEmpty = (value) => typeof value === "string" && value.trim() !== "";
@@ -155,6 +169,7 @@ function resolveConfig(raw) {
155
169
  if (typeof environment !== "string" || environment.trim() === "") throw new ConfigError$1("`credentials.environment` must be the name of an environment, got an empty value");
156
170
  }
157
171
  if (raw.dev !== void 0) validateDev(raw.dev);
172
+ if (raw.githubApps !== void 0) validateGitHubApps(raw.githubApps);
158
173
  validateVariablesSync(raw.repo?.variables);
159
174
  const credentialsEntry = providers.credentials;
160
175
  if (credentialsEntry?.cardinality === "many") for (const tuple of credentialsEntry.tuples) {
@@ -185,6 +200,7 @@ function resolveConfig(raw) {
185
200
  env: raw.env,
186
201
  credentials: raw.credentials,
187
202
  dev: raw.dev,
203
+ githubApps: raw.githubApps,
188
204
  log: raw.log,
189
205
  telemetry: raw.telemetry,
190
206
  eslint: raw.eslint
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { $ as DnsRecordType, $t as PagesConfig, A as Ci, An as Vault, At as MonitoringCheckInput, B as DeployScriptConfig, Bt as NotificationsForumTag, C as BoardTemplate, Cn as TeamPermission, Ct as MonitoringAlertChannelResult, D as CapabilityKey, Dn as TrackerUser, Dt as MonitoringAssertionComparison, E as CapabilityImpls, En as TrackerDoctorReport, Et as MonitoringAssertion, F as CreateAuthUserInput, Fn as WorkerScriptState, Ft as NotificationsAccess, G as DeploymentRecord, Gt as NotificationsOnboardingLayout, H as Deployment, Ht as NotificationsLinksLayout, I as Credentials, In as Workers, It as NotificationsApplicationLayout, J as DiscussionPatch, Jt as NotificationsPrsFeed, K as DeploymentTarget, Kt as NotificationsPicture, L as CredentialsInspection, Lt as NotificationsChannelLayout, M as CiRunFilter, Mn as Wiki, Mt as MoveReport, N as CiRunStatus, Nn as WikiProvisionOpts, Nt as NormalizedAuthUser, O as Cardinality, On as TunnelRoute, Ot as MonitoringAssertionSource, P as ConnectionStringOptions, Pn as WikiProxyConfig, Pt as Notifications, Q as DnsRecordRequest, Qt as NotificationsWelcomeLayout, R as DeployFunctionConfig, Rt as NotificationsDelivery, S as BoardSummary, Sn as TeamEntry, St as MonitoringAlertChannelInput, T as BoardView, Tn as ToolingDoctorReport, Tt as MonitoringAlertSettings, U as DeploymentProject, Ut as NotificationsMember, V as DeployScriptResult, Vt as NotificationsLayout, W as DeploymentProjectSettings, Wt as NotificationsMonitoringFeed, X as Dns, Xt as NotificationsSignIn, Y as DiscussionPost, Yt as NotificationsServerLayout, Z as DnsRecord, Zt as NotificationsSignedIn, _ as BoardItem, _n as SourceSecurity, _t as LabelDef, a as REQUIRED_CAPABILITIES, an as RepoRef, at as EnsureWebhookResult, b as BoardStatus, bn as Storage, bt as Logs, c as Analytics, cn as Ruleset, ct as EnsuredTunnel, d as AuthEvent, dn as ServerInspection, dt as Environments, en as ParseWebhookInput, et as EnsureDiscussionInput, f as AuthEventType, fn as Source, ft as Errors, g as BoardFieldType, gn as SourceRulesetDetail, gt as Issues, h as BoardField, hn as SourceRepoInfo, ht as IssueSearchFilter, i as ProviderApiError, in as RelayState, it as EnsureResult, j as CiRun, jn as WebhookDashboardInfo, jt as MonitoringHttpMethod, k as CardinalityFor, kn as Tunnels, kt as MonitoringCheck, l as Auth, ln as SecretScope, lt as Environment, m as AuthUser, mn as SourceFile, mt as Issue, n as ElevationRequiredError, nn as ProviderIdentity, nt as EnsureRelayResult, o as WebhookVerificationError, on as RepoSettings, ot as EnsuredDiscussion, p as AuthIdentity, pn as SourceBranch, pt as InspectRelayInput, q as DeploymentTrigger, qt as NotificationsPinnedLayout, r as MissingTokenError, rn as PullRequest, rt as EnsureReport, s as isMulti, sn as ResolvedCapability, st as EnsuredResource, t as CARDINALITY, tn as Projects, tt as EnsureRelayInput, u as AuthDescription, un as Secrets, ut as EnvironmentReviewer, v as BoardRule, vn as SourceTeamMember, vt as LifecycleResult, w as BoardTemplateFile, wn as Tooling, wt as MonitoringAlertChannelState, x as BoardStatusCategory, xn as StorageBranch, xt as Monitoring, y as BoardState, yn as StatusCategory, yt as LifecycleSlot, z as DeployFunctionResult, zt as NotificationsEveryoneLayout } from "./index-oC-J5CCm.mjs";
2
- import { A as RawProvidersConfig, B as ResolvedProviderEntry, C as EslintConfig, D as OrgConfig, E as MultiEntry, F as RepoSecretsSync, G as TaskEntryConfig, H as ResolvedTuple, I as RepoValidationConfig, K as TelemetryConfig, L as RepoVariables, M as RepoProperties, N as RepoProtection, O as ProviderOptions, P as RepoSecrets, R as RepoVariablesSync, S as EnvConfig, T as LogConfig, U as SingleEntry, V as ResolvedProvidersConfig, W as StorybookDeployProject, _ as CredentialsConfig, a as LoadedConfig, b as DocsConfig, c as TaskEntry, d as resolveConfig, f as resolveEntry, g as ChromaticProjectConfig, h as CapabilityConfigPackage, i as loadConfig, j as RepoConfig, k as RawProviderEntry, l as ConfigError, m as AppConfig, n as compose, o as Capability, p as resolvePluginPackage, q as WorkflowWithConfig, r as defineConfig, s as ComposedPreset, t as ConfigFileError, u as credentialsEnvironment, v as DevConfig, w as HolocronConfig, x as DoctorConfig, y as DevServeConfig, z as ResolvedHolocronConfig } from "./config-system-DPQQeBH_.mjs";
2
+ import { A as RawProviderEntry, B as ResolvedHolocronConfig, C as EslintConfig, D as MultiEntry, E as LogConfig, F as RepoSecrets, G as StorybookDeployProject, H as ResolvedProvidersConfig, I as RepoSecretsSync, J as WorkflowWithConfig, K as TaskEntryConfig, L as RepoValidationConfig, M as RepoConfig, N as RepoProperties, O as OrgConfig, P as RepoProtection, R as RepoVariables, S as EnvConfig, T as HolocronConfig, U as ResolvedTuple, V as ResolvedProviderEntry, W as SingleEntry, _ as CredentialsConfig, a as LoadedConfig, b as DocsConfig, c as TaskEntry, d as resolveConfig, f as resolveEntry, g as ChromaticProjectConfig, h as CapabilityConfigPackage, i as loadConfig, j as RawProvidersConfig, k as ProviderOptions, l as ConfigError, m as AppConfig, n as compose, o as Capability, p as resolvePluginPackage, q as TelemetryConfig, r as defineConfig, s as ComposedPreset, t as ConfigFileError, u as credentialsEnvironment, v as DevConfig, w as GitHubAppConfig, x as DoctorConfig, y as DevServeConfig, z as RepoVariablesSync } from "./config-system-BkIbjZQi.mjs";
3
3
  import { AuthError, ResolveTokenConfig as ResolveTokenConfig$1, ResolveTokenInput, ResolveTokenInput as ResolveTokenInput$1, resolveValue } from "@theholocron/kyber/secrets";
4
4
  import { RequestOptions, RestClient, RestClientConfig, createRestClient } from "@theholocron/http-client";
5
5
  import "@theholocron/kyber/plugins";
@@ -335,4 +335,4 @@ export interface ConnectionProbeInput extends Omit<ConnectionProbeInput$1, "veri
335
335
  * kyber's `connectionProbe`; this types the result as the plugin system's {@link Probe} and `verify` as `VerifyTokenResult`.
336
336
  */
337
337
  export declare function connectionProbe(input: ConnectionProbeInput): Probe;
338
- export { Analytics, type AppConfig, Auth, AuthDescription, AuthError, AuthEvent, AuthEventType, AuthIdentity, AuthUser, BoardField, BoardFieldType, BoardItem, 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, ElevationRequiredError, EnsureDiscussionInput, EnsureRelayInput, EnsureRelayResult, EnsureReport, EnsureResult, EnsureWebhookResult, EnsuredDiscussion, EnsuredResource, EnsuredTunnel, type EnvConfig, Environment, EnvironmentReviewer, Environments, Errors, type EslintConfig, type FeatureResolver, type FeatureResolverConfig, type HolocronConfig, type HolocronProfile, InspectRelayInput, Issue, IssueSearchFilter, Issues, LabelDef, LifecycleResult, LifecycleSlot, type LinksFile, type LoadedConfig, type LogConfig, Logs, 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, type PackageJsonLike, PagesConfig, ParseWebhookInput, type PluginProbes, type PluginToken, type Probe, type ProbeContext, type ProbeRow, Projects, ProviderApiError, ProviderIdentity, type ProviderOptions, PullRequest, REQUIRED_CAPABILITIES, type RawProviderEntry, type RawProvidersConfig, RelayState, type RepoConfig, type RepoProperties, type RepoProtection, RepoRef, type RepoSecrets, type RepoSecretsSync, RepoSettings, type RepoValidationConfig, type RepoVariables, type RepoVariablesSync, type RequestOptions, type ResolveTokenConfig, type ResolveTokenInput, ResolvedCapability, type ResolvedHolocronConfig, type ResolvedProviderEntry, type ResolvedProvidersConfig, type ResolvedTuple, type RestClient, type RestClientConfig, Ruleset, SecretScope, Secrets, ServerInspection, type SingleEntry, Source, SourceBranch, SourceFile, SourceRepoInfo, SourceRulesetDetail, SourceSecurity, SourceTeamMember, StatusCategory, Storage, StorageBranch, type StorybookDeployProject, type 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, isMulti, loadConfig, resolveConfig, resolveEntry, resolvePluginPackage, resolveValue };
338
+ export { Analytics, type AppConfig, Auth, AuthDescription, AuthError, AuthEvent, AuthEventType, AuthIdentity, AuthUser, BoardField, BoardFieldType, BoardItem, 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, ElevationRequiredError, EnsureDiscussionInput, EnsureRelayInput, EnsureRelayResult, EnsureReport, EnsureResult, EnsureWebhookResult, EnsuredDiscussion, EnsuredResource, EnsuredTunnel, type EnvConfig, Environment, EnvironmentReviewer, Environments, Errors, type EslintConfig, type FeatureResolver, type FeatureResolverConfig, type GitHubAppConfig, type HolocronConfig, type HolocronProfile, InspectRelayInput, Issue, IssueSearchFilter, Issues, LabelDef, LifecycleResult, LifecycleSlot, type LinksFile, type LoadedConfig, type LogConfig, Logs, 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, type PackageJsonLike, PagesConfig, ParseWebhookInput, type PluginProbes, type PluginToken, type Probe, type ProbeContext, type ProbeRow, Projects, ProviderApiError, ProviderIdentity, type ProviderOptions, PullRequest, REQUIRED_CAPABILITIES, type RawProviderEntry, type RawProvidersConfig, RelayState, type RepoConfig, type RepoProperties, type RepoProtection, RepoRef, type RepoSecrets, type RepoSecretsSync, RepoSettings, type RepoValidationConfig, type RepoVariables, type RepoVariablesSync, type RequestOptions, type ResolveTokenConfig, type ResolveTokenInput, ResolvedCapability, type ResolvedHolocronConfig, type ResolvedProviderEntry, type ResolvedProvidersConfig, type ResolvedTuple, type RestClient, type RestClientConfig, Ruleset, SecretScope, Secrets, ServerInspection, type SingleEntry, Source, SourceBranch, SourceFile, SourceRepoInfo, SourceRulesetDetail, SourceSecurity, SourceTeamMember, StatusCategory, Storage, StorageBranch, type StorybookDeployProject, type 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, isMulti, loadConfig, 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, i as loadConfig, l as credentialsEnvironment, n as compose, o as HOLOCRON_AREAS, r as defineConfig, s as SHARED_AREAS, t as ConfigFileError, u as resolveConfig } from "./config-system-CkpFGTap.mjs";
2
+ import { a as placeAreas, c as ConfigError, d as resolveEntry, f as resolvePluginPackage, i as loadConfig, l as credentialsEnvironment, n as compose, o as HOLOCRON_AREAS, r as defineConfig, s as SHARED_AREAS, t as ConfigFileError, u as resolveConfig } from "./config-system-xLN8TV6N.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";
@@ -1,4 +1,4 @@
1
- import { n as compose, o as Capability, s as ComposedPreset } from "./config-system-DPQQeBH_.mjs";
1
+ import { n as compose, o as Capability, s as ComposedPreset } from "./config-system-BkIbjZQi.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
@@ -1,4 +1,4 @@
1
- import { n as compose } from "./config-system-CkpFGTap.mjs";
1
+ import { n as compose } from "./config-system-xLN8TV6N.mjs";
2
2
  // src/presets/capabilities/audit.ts
3
3
  /**
4
4
  * Adds bundle-size measuring (`measure-bundle`) + optional Knip (`lint:unused`) and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/cli",
3
- "version": "5.0.0-alpha.359",
3
+ "version": "5.0.0-alpha.360",
4
4
  "description": "The Holocron CLI - a pluggable, capability-based orchestrator for spinning up and operating software projects.",
5
5
  "keywords": [
6
6
  "cli",
@@ -54,19 +54,19 @@
54
54
  "posthog-node": "^5.61.1",
55
55
  "tsx": "4.23.15",
56
56
  "yargs": "^18.1.0",
57
- "@theholocron/astromech": "5.0.0-alpha.359",
58
- "@theholocron/dagobah": "5.0.0-alpha.359",
59
- "@theholocron/datapad": "5.0.0-alpha.359",
60
- "@theholocron/env-utils": "^1.17.0-alpha.1",
57
+ "@theholocron/astromech": "5.0.0-alpha.360",
58
+ "@theholocron/datapad": "5.0.0-alpha.360",
61
59
  "@theholocron/fs-utils": "^1.17.0-alpha.1",
60
+ "@theholocron/env-utils": "^1.17.0-alpha.1",
62
61
  "@theholocron/git-utils": "^1.17.0-alpha.1",
63
- "@theholocron/github-client": "^1.58.0-alpha.13",
64
- "@theholocron/http-client": "^1.58.0-alpha.13",
62
+ "@theholocron/github-client": "^1.58.0-alpha.14",
63
+ "@theholocron/http-client": "^1.58.0-alpha.14",
65
64
  "@theholocron/json-utils": "^1.17.0-alpha.1",
66
- "@theholocron/kyber": "5.0.0-alpha.359",
65
+ "@theholocron/kyber": "5.0.0-alpha.360",
67
66
  "@theholocron/misc-utils": "^1.17.0-alpha.1",
68
67
  "@theholocron/observability": "^0.7.0-alpha.1",
69
- "@theholocron/pkg-utils": "^1.17.0-alpha.1"
68
+ "@theholocron/pkg-utils": "^1.17.0-alpha.1",
69
+ "@theholocron/dagobah": "5.0.0-alpha.360"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@types/node": "^26",
@@ -80,9 +80,9 @@
80
80
  "typescript": "^5.9.3",
81
81
  "vitest": "^5.0.5",
82
82
  "@theholocron/eslint-config": "^8.9.0-alpha.9",
83
- "@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.9",
84
83
  "@theholocron/tsconfig": "^8.9.0-alpha.9",
85
- "@theholocron/vitest-config": "^8.9.0-alpha.9"
84
+ "@theholocron/vitest-config": "^8.9.0-alpha.9",
85
+ "@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.9"
86
86
  },
87
87
  "engines": {
88
88
  "node": ">=22.0.0"