@theholocron/cli 5.0.0-alpha.404 → 5.0.0-alpha.406
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 +4 -0
- package/dist/cli.mjs +55 -3
- package/dist/cli.mjs.map +1 -1
- package/dist/{index-CactHYQ_.d.mts → index-C0aDee00.d.mts} +1044 -2
- package/dist/index.d.mts +2 -79
- package/dist/index.mjs +2 -1
- package/dist/plugin/capabilities.d.mts +1 -1
- package/dist/presets.d.mts +1 -1
- package/package.json +13 -13
- package/dist/config-system-BmFXMa2p.d.mts +0 -958
package/dist/index.d.mts
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { $ as DnsRecord, $t as NotificationsForumTag, A as Cardinality, An as SourceSecurity, At as LifecycleResult, B as DeployFunctionConfig, Bn as TrackerDoctorReport, Bt as MonitoringAssertionComparison, C as BoardStatusCategory, Cn as Secrets, Ct as IssueOrder, D as BoardView, Dn as SourceFile, Dt as IssueSelector, E as BoardTemplateFile, En as SourceBranch, Et as IssueSearchFilter, F as CiRunStatus, Fn as SyncResult, Ft as MonitoringAlertChannelInput, G as DeploymentProject, Gn as WebhookDashboardInfo, Gt as MoveReport, H as DeployScriptConfig, Hn as TunnelRoute, Ht as MonitoringCheck, I as ConnectionStringOptions, In as TeamEntry, It as MonitoringAlertChannelResult, J as DeploymentTarget, Jn as WikiProxyConfig, Jt as NotificationsAccess, K as DeploymentProjectSettings, Kn as Wiki, Kt as NormalizedAuthUser, L as CreateAuthUserInput, Ln as TeamPermission, Lt as MonitoringAlertChannelState, M as Ci, Mn as StatusCategory, Mt as Logs, N as CiRun, Nn as Storage, Nt as LogsDataset, O as CapabilityImpls, On as SourceRepoInfo, Ot as Issues, P as CiRunFilter, Pn as StorageBranch, Pt as Monitoring, Q as Dns, Qt as NotificationsEveryoneLayout, R as Credentials, Rn as Tooling, Rt as MonitoringAlertSettings, S as BoardStatus, Sn as SecretScope, St as IssueComment, T as BoardTemplate, Tn as Source, Tt as IssueRecord, U as DeployScriptResult, Un as Tunnels, Ut as MonitoringCheckInput, V as DeployFunctionResult, Vn as TrackerUser, Vt as MonitoringAssertionSource, W as Deployment, Wn as Vault, Wt as MonitoringHttpMethod, X as DiscussionPatch, Xn as Workers, Xt as NotificationsChannelLayout, Y as DeploymentTrigger, Yn as WorkerScriptState, Yt as NotificationsApplicationLayout, Z as DiscussionPost, Zt as NotificationsDelivery, _ as BoardFieldType, _n as RelayState, _t as Ideas, a as REQUIRED_CAPABILITIES, an as NotificationsPicture, at as EnsureReport, b as BoardRule, bn as ResolvedCapability, bt as InspectRelayInput, c as AddedItem, cn as NotificationsServerLayout, ct as EnsuredDiscussion, d as AuthDescription, dn as NotificationsWelcomeLayout, dt as Environment, en as NotificationsLayout, et as DnsRecordRequest, f as AuthEvent, fn as PagesConfig, ft as EnvironmentReviewer, g as BoardField, gn as PullRequest, gt as IdeaRecord, h as AuthUser, hn as ProviderIdentity, ht as ExportInfo, i as ProviderApiError, in as NotificationsOnboardingLayout, it as EnsureRelayResult, j as CardinalityFor, jn as SourceTeamMember, jt as LifecycleSlot, k as CapabilityKey, kn as SourceRulesetDetail, kt as LabelDef, l as Analytics, ln as NotificationsSignIn, lt as EnsuredResource, m as AuthIdentity, mn as Projects, mt as Errors, n as ElevationRequiredError, nn as NotificationsMember, nt as EnsureDiscussionInput, o as WebhookVerificationError, on as NotificationsPinnedLayout, ot as EnsureResult, p as AuthEventType, pn as ParseWebhookInput, pt as Environments, q as DeploymentRecord, qn as WikiProvisionOpts, qt as Notifications, r as MissingTokenError, rn as NotificationsMonitoringFeed, rt as EnsureRelayInput, s as isMulti, sn as NotificationsPrsFeed, st as EnsureWebhookResult, t as CARDINALITY, tn as NotificationsLinksLayout, tt as DnsRecordType, u as Auth, un as NotificationsSignedIn, ut as EnsuredTunnel, v as BoardItem, vn as RepoRef, vt as ImportOptions, w as BoardSummary, wn as ServerInspection, wt as IssuePriority, x as BoardState, xn as Ruleset, xt as Issue, y as BoardItemInput, yn as RepoSettings, yt as ImportResult, z as CredentialsInspection, zn as ToolingDoctorReport, zt as MonitoringAssertion } from "./index-
|
|
2
|
-
import { A as ProviderOptions, B as RepoVariablesSync, C as EslintConfig, D as LogConfig, E as IdeasConfig, F as RepoProtection, G as SingleEntry, H as ResolvedProviderEntry, I as RepoSecrets, J as TelemetryConfig, K as StorybookDeployProject, L as RepoSecretsSync, M as RawProvidersConfig, N as RepoConfig, O as MultiEntry, P as RepoProperties, R as RepoValidationConfig, S as EnvConfig, T as HolocronConfig, U as ResolvedProvidersConfig, V as ResolvedHolocronConfig, W as ResolvedTuple, Y as WorkflowWithConfig, _ 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 RawProviderEntry, k as OrgConfig, l as ConfigError, m as AppConfig, n as compose, o as Capability, p as resolvePluginPackage, q as TaskEntryConfig, 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 RepoVariables } from "./config-system-BmFXMa2p.mjs";
|
|
1
|
+
import { $ as DnsRecord, $n as deriveCompliance, $r as StorybookDeployProject, $t as NotificationsForumTag, A as Cardinality, An as SourceSecurity, Ar as EslintConfig, At as LifecycleResult, B as DeployFunctionConfig, Bn as TrackerDoctorReport, Br as RepoConfig, Bt as MonitoringAssertionComparison, C as BoardStatusCategory, Cn as Secrets, Cr as ChromaticProjectConfig, Ct as IssueOrder, D as BoardView, Dn as SourceFile, Dr as DocsConfig, Dt as IssueSelector, E as BoardTemplateFile, En as SourceBranch, Er as DevServeConfig, Et as IssueSearchFilter, F as CiRunStatus, Fn as SyncResult, Fr as MultiEntry, Ft as MonitoringAlertChannelInput, G as DeploymentProject, Gn as WebhookDashboardInfo, Gr as RepoValidationConfig, Gt as MoveReport, H as DeployScriptConfig, Hn as TunnelRoute, Hr as RepoProtection, Ht as MonitoringCheck, I as ConnectionStringOptions, In as TeamEntry, Ir as OrgConfig, It as MonitoringAlertChannelResult, J as DeploymentTarget, Jn as WikiProxyConfig, Jr as ResolvedHolocronConfig, Jt as NotificationsAccess, K as DeploymentProjectSettings, Kn as Wiki, Kr as RepoVariables, Kt as NormalizedAuthUser, L as CreateAuthUserInput, Ln as TeamPermission, Lr as ProviderOptions, Lt as MonitoringAlertChannelState, M as Ci, Mn as StatusCategory, Mr as HolocronConfig, Mt as Logs, N as CiRun, Nn as Storage, Nr as IdeasConfig, Nt as LogsDataset, O as CapabilityImpls, On as SourceRepoInfo, Or as DoctorConfig, Ot as Issues, P as CiRunFilter, Pn as StorageBranch, Pr as LogConfig, Pt as Monitoring, Q as Dns, Qn as deriveCapabilities, Qr as SingleEntry, Qt as NotificationsEveryoneLayout, R as Credentials, Rn as Tooling, Rr as RawProviderEntry, Rt as MonitoringAlertSettings, S as BoardStatus, Sn as SecretScope, Sr as CapabilityConfigPackage, St as IssueComment, T as BoardTemplate, Tn as Source, Tr as DevConfig, Tt as IssueRecord, U as DeployScriptResult, Un as Tunnels, Ur as RepoSecrets, Ut as MonitoringCheckInput, V as DeployFunctionResult, Vn as TrackerUser, Vr as RepoProperties, Vt as MonitoringAssertionSource, W as Deployment, Wn as Vault, Wr as RepoSecretsSync, Wt as MonitoringHttpMethod, X as DiscussionPatch, Xn as Workers, Xr as ResolvedProvidersConfig, Xt as NotificationsChannelLayout, Y as DeploymentTrigger, Yn as WorkerScriptState, Yr as ResolvedProviderEntry, Yt as NotificationsApplicationLayout, Z as DiscussionPost, Zn as KNOWN_STACK_DEPS, Zr as ResolvedTuple, Zt as NotificationsDelivery, _ as BoardFieldType, _n as RelayState, _r as credentialsEnvironment, _t as Ideas, a as REQUIRED_CAPABILITIES, an as NotificationsPicture, ar as HolocronProfile, at as EnsureReport, b as BoardRule, bn as ResolvedCapability, br as resolvePluginPackage, bt as InspectRelayInput, c as AddedItem, cn as NotificationsServerLayout, cr as ConfigFileError, ct as EnsuredDiscussion, d as AuthDescription, dn as NotificationsWelcomeLayout, dr as loadConfig, dt as Environment, ei as TaskEntryConfig, en as NotificationsLayout, er as deriveProfile, et as DnsRecordRequest, f as AuthEvent, fn as PagesConfig, fr as LoadedConfig, ft as EnvironmentReviewer, g as BoardField, gn as PullRequest, gr as ConfigError, gt as IdeaRecord, h as AuthUser, hn as ProviderIdentity, hr as TaskEntry, ht as ExportInfo, i as ProviderApiError, in as NotificationsOnboardingLayout, ir as DeriveProfileInput, it as EnsureRelayResult, j as CardinalityFor, jn as SourceTeamMember, jr as GitHubAppConfig, jt as LifecycleSlot, k as CapabilityKey, kn as SourceRulesetDetail, kr as EnvConfig, kt as LabelDef, l as Analytics, ln as NotificationsSignIn, lr as compose, lt as EnsuredResource, m as AuthIdentity, mn as Projects, mr as ComposedPreset, mt as Errors, n as ElevationRequiredError, ni as WorkflowWithConfig, nn as NotificationsMember, nr as missingCapabilities, nt as EnsureDiscussionInput, o as WebhookVerificationError, on as NotificationsPinnedLayout, or as PackageJsonLike, ot as EnsureResult, p as AuthEventType, pn as ParseWebhookInput, pr as Capability, pt as Environments, q as DeploymentRecord, qn as WikiProvisionOpts, qr as RepoVariablesSync, qt as Notifications, r as MissingTokenError, rn as NotificationsMonitoringFeed, rr as readWorkspacePackageJsons, rt as EnsureRelayInput, s as isMulti, sn as NotificationsPrsFeed, sr as StackName, st as EnsureWebhookResult, t as CARDINALITY, ti as TelemetryConfig, tn as NotificationsLinksLayout, tr as deriveStack, tt as DnsRecordType, u as Auth, un as NotificationsSignedIn, ur as defineConfig, ut as EnsuredTunnel, v as BoardItem, vn as RepoRef, vr as resolveConfig, vt as ImportOptions, w as BoardSummary, wn as ServerInspection, wr as CredentialsConfig, wt as IssuePriority, x as BoardState, xn as Ruleset, xr as AppConfig, xt as Issue, y as BoardItemInput, yn as RepoSettings, yr as resolveEntry, yt as ImportResult, z as CredentialsInspection, zn as ToolingDoctorReport, zr as RawProvidersConfig, zt as MonitoringAssertion } from "./index-C0aDee00.mjs";
|
|
3
2
|
import { AuthError, ResolveTokenConfig as ResolveTokenConfig$1, ResolveTokenInput, ResolveTokenInput as ResolveTokenInput$1, resolveValue } from "@theholocron/kyber/secrets";
|
|
4
3
|
import { CheckRow } from "@theholocron/kyber/ui";
|
|
5
4
|
import { RequestOptions, RestClient, RestClientConfig, createRestClient } from "@theholocron/http-client";
|
|
6
5
|
import "@theholocron/kyber/plugins";
|
|
7
6
|
import { ConnectionProbeInput as ConnectionProbeInput$1 } from "@theholocron/kyber/checks";
|
|
8
|
-
import { PackageJson } from "@theholocron/pkg-utils";
|
|
9
|
-
import { WorkspacePackage } from "@theholocron/astromech";
|
|
10
7
|
import "@theholocron/observability/core";
|
|
11
8
|
import { ConfigDirArea } from "@theholocron/datapad";
|
|
12
9
|
/** A plugin's `verifyToken` result when the provider accepted the token. */
|
|
@@ -319,80 +316,6 @@ export declare function roleTeamProblem(layout: {
|
|
|
319
316
|
* Lines go to `input.print` when it is given, and nowhere otherwise.
|
|
320
317
|
*/
|
|
321
318
|
export declare function syncRoles(input: SyncRolesInput): Promise<SyncRolesResult>;
|
|
322
|
-
/**
|
|
323
|
-
* Derived custom-properties (#677). Unlike the existing 6 GitHub
|
|
324
|
-
* custom-properties fields (`lifecycle`, `open_source`, `runtime_environment`,
|
|
325
|
-
* `uses_external_packages`, `monorepo`, `branch_protection_level`) — which
|
|
326
|
-
* mirror what `holocron.config.ts` already states explicitly — these four are
|
|
327
|
-
* *derived*: signal that isn't an explicit config field today (framework
|
|
328
|
-
* choice, repo archetype, capability drift). See
|
|
329
|
-
* `docs/wiki/specifications/tech-holocron-platform.spec.md` → "Custom-properties sync — field
|
|
330
|
-
* definitions (#677)" for the full design.
|
|
331
|
-
*/
|
|
332
|
-
type HolocronProfile = "library" | "cli" | "plugin" | "template" | "app" | "docs" | "platform";
|
|
333
|
-
/** The `package.json` shape profile derivation reads — `@theholocron/pkg-utils`'s `PackageJson`, under the name Sentinel already imports. */
|
|
334
|
-
type PackageJsonLike = PackageJson;
|
|
335
|
-
/** What profile derivation reads to decide a repo's archetype. */
|
|
336
|
-
interface DeriveProfileInput {
|
|
337
|
-
/** The repo's root `package.json`, or `null` when it has none. */
|
|
338
|
-
rootPackageJson: PackageJsonLike | null;
|
|
339
|
-
/** The repository name, without the owner. */
|
|
340
|
-
repoName: string;
|
|
341
|
-
/** Whether the repo is a monorepo with several workspace packages. */
|
|
342
|
-
isMonorepo: boolean;
|
|
343
|
-
/** `packages/*` package.json contents, monorepo repos only — used to find the primary published artifact. */
|
|
344
|
-
workspacePackageJsons: PackageJsonLike[];
|
|
345
|
-
}
|
|
346
|
-
/**
|
|
347
|
-
* Repo archetype, in priority order:
|
|
348
|
-
* 1. `*-template` repo name → `template` (independent of package shape).
|
|
349
|
-
* 2. Monorepo whose primary published artifact is a CLI (some workspace
|
|
350
|
-
* package has `bin`) → `platform` — matches `holocron` itself: the CLI is
|
|
351
|
-
* the deliverable, the plugin packages are supporting infrastructure for
|
|
352
|
-
* it, not separate products.
|
|
353
|
-
* 3. Monorepo with no CLI but at least one non-private workspace package →
|
|
354
|
-
* `library` — matches `clients`/`configs`/`utils`/`themes`/
|
|
355
|
-
* `observability`: a family of published packages, none of them a CLI.
|
|
356
|
-
* Checked *before* falling into the root-package branch below, because
|
|
357
|
-
* these repos' own root `package.json` is private and often carries
|
|
358
|
-
* `@theholocron/astro-config` for a docs site built from the monorepo
|
|
359
|
-
* root — without this check they'd wrongly resolve to `docs` off that
|
|
360
|
-
* root-level signal alone, when the docs site is a secondary concern of
|
|
361
|
-
* a library collection, not what the repo fundamentally is.
|
|
362
|
-
* 4. Single-package repo with `package.json#bin` → `cli`.
|
|
363
|
-
* 5. Docs-only site (astro/starlight present, root package private, no
|
|
364
|
-
* publishable exports) → `docs`.
|
|
365
|
-
* 6. Private, non-publishable, non-docs → `app`.
|
|
366
|
-
* 7. Otherwise, a single publishable package → `library`.
|
|
367
|
-
*/
|
|
368
|
-
export declare function deriveProfile(input: DeriveProfileInput): HolocronProfile;
|
|
369
|
-
/**
|
|
370
|
-
* Detected build/framework tooling — the literal "does this repo need
|
|
371
|
-
* next/vite/tsdown" signal `holocron.config.ts` has no field for today
|
|
372
|
-
* (framework choice isn't a config concept, unlike `providers`/`tasks`).
|
|
373
|
-
* Curated table, not exhaustive by design — add to `KNOWN_STACK_DEPS` as new
|
|
374
|
-
* frameworks show up rather than trying to detect anything on npm.
|
|
375
|
-
*/
|
|
376
|
-
export declare function deriveStack(pkg: PackageJsonLike | null): string[];
|
|
377
|
-
/** The provider capability keys actually wired in `providers: {}` — zero heuristics. */
|
|
378
|
-
export declare function deriveCapabilities(providers: ResolvedProvidersConfig | undefined): string[];
|
|
379
|
-
/** Whether a repo's capabilities include the required baseline (`source` and `ci`); `non-compliant` means drift. */
|
|
380
|
-
export declare function deriveCompliance(capabilities: readonly string[]): "compliant" | "non-compliant";
|
|
381
|
-
/**
|
|
382
|
-
* The Phase B refinement `deriveCompliance()`'s own doc comment names —
|
|
383
|
-
* *why* a repo is non-compliant, not just that it is. `[]` when compliant.
|
|
384
|
-
* Same `REQUIRED_BASELINE` `deriveCompliance()` checks against — one
|
|
385
|
-
* table, not two independently-maintained baselines.
|
|
386
|
-
*/
|
|
387
|
-
export declare function missingCapabilities(capabilities: readonly string[]): string[];
|
|
388
|
-
/**
|
|
389
|
-
* Reads each workspace package's actual `package.json` content (not just
|
|
390
|
-
* `readWorkspacePackages()`'s `{ slug, name, dir }` — `deriveProfile()`'s
|
|
391
|
-
* `platform` detection needs `bin`, which that helper doesn't carry).
|
|
392
|
-
* Missing/invalid files are skipped, matching `readWorkspacePackages()`'s
|
|
393
|
-
* own soft-fail behavior.
|
|
394
|
-
*/
|
|
395
|
-
export declare function readWorkspacePackageJsons(repoRoot: string, workspacePackages: readonly WorkspacePackage[]): Promise<PackageJsonLike[]>;
|
|
396
319
|
/**
|
|
397
320
|
* The labels every repository gets from `repo setup`, with their GitHub colours (hex, no `#`) and descriptions. A
|
|
398
321
|
* plugin that makes labels of its own, such as Linear's setup, takes the colour of the one with the same name.
|
|
@@ -484,4 +407,4 @@ export declare const SHARED_AREAS: readonly ["org"];
|
|
|
484
407
|
* is a `ConfigError` naming both (no merge, no precedence). With no area files the config is returned as it was.
|
|
485
408
|
*/
|
|
486
409
|
export declare function placeAreas(areas: ConfigDirArea[], raw: HolocronConfig): HolocronConfig;
|
|
487
|
-
export { AddedItem, Analytics, type AppConfig, Auth, AuthDescription, AuthError, AuthEvent, AuthEventType, 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, ElevationRequiredError, EnsureDiscussionInput, EnsureRelayInput, EnsureRelayResult, EnsureReport, EnsureResult, EnsureWebhookResult, EnsuredDiscussion, EnsuredResource, EnsuredTunnel, type EnvConfig, Environment, 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, 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, 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 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, 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, isMulti, loadConfig, resolveConfig, resolveEntry, resolvePluginPackage, resolveValue };
|
|
410
|
+
export { AddedItem, Analytics, type AppConfig, Auth, AuthDescription, AuthError, AuthEvent, AuthEventType, 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, ElevationRequiredError, EnsureDiscussionInput, EnsureRelayInput, EnsureRelayResult, EnsureReport, EnsureResult, EnsureWebhookResult, EnsuredDiscussion, EnsuredResource, EnsuredTunnel, type EnvConfig, Environment, 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, 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 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, 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 };
|
package/dist/index.mjs
CHANGED
|
@@ -393,6 +393,7 @@ function deriveProfile(input) {
|
|
|
393
393
|
if (pkg?.private) return "app";
|
|
394
394
|
return "library";
|
|
395
395
|
}
|
|
396
|
+
/** The framework and build-tool names `deriveStack()` can detect, in the order it lists them; `StackName` is derived from it. */
|
|
396
397
|
const KNOWN_STACK_DEPS = [
|
|
397
398
|
"next",
|
|
398
399
|
"vite",
|
|
@@ -552,4 +553,4 @@ const CANONICAL_LABELS = [
|
|
|
552
553
|
description: "Won't be addressed"
|
|
553
554
|
}
|
|
554
555
|
];
|
|
555
|
-
export { AuthError, CANONICAL_LABELS, CARDINALITY, ConfigError, ConfigFileError, ElevationRequiredError, HOLOCRON_AREAS, MissingTokenError, ProviderApiError, REQUIRED_CAPABILITIES, SHARED_AREAS, WebhookVerificationError, compose, connectionProbe, createFeatureResolver, createResolveToken, createRestClient, credentialsEnvironment, defineConfig, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, isMulti, keyring, loadConfig, missingCapabilities, orderKeys, pickByCreation, placeAreas, readKeysLimited, readLinks, readWorkspacePackageJsons, reportProgress, resolveConfig, resolveEntry, resolvePluginPackage, resolveValue, roleTeamProblem, sourceProblem, syncRoles };
|
|
556
|
+
export { AuthError, CANONICAL_LABELS, CARDINALITY, ConfigError, ConfigFileError, ElevationRequiredError, HOLOCRON_AREAS, KNOWN_STACK_DEPS, MissingTokenError, ProviderApiError, REQUIRED_CAPABILITIES, SHARED_AREAS, WebhookVerificationError, compose, connectionProbe, createFeatureResolver, createResolveToken, createRestClient, credentialsEnvironment, defineConfig, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, isMulti, keyring, loadConfig, missingCapabilities, orderKeys, pickByCreation, placeAreas, readKeysLimited, readLinks, readWorkspacePackageJsons, reportProgress, resolveConfig, resolveEntry, resolvePluginPackage, resolveValue, roleTeamProblem, sourceProblem, syncRoles };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as DnsRecord, $t as NotificationsForumTag, A as Cardinality, An as SourceSecurity, At as LifecycleResult, B as DeployFunctionConfig, Bn as TrackerDoctorReport, Bt as MonitoringAssertionComparison, C as BoardStatusCategory, Cn as Secrets, Ct as IssueOrder, D as BoardView, Dn as SourceFile, Dt as IssueSelector, E as BoardTemplateFile, En as SourceBranch, Et as IssueSearchFilter, F as CiRunStatus, Fn as SyncResult, Ft as MonitoringAlertChannelInput, G as DeploymentProject, Gn as WebhookDashboardInfo, Gt as MoveReport, H as DeployScriptConfig, Hn as TunnelRoute, Ht as MonitoringCheck, I as ConnectionStringOptions, In as TeamEntry, It as MonitoringAlertChannelResult, J as DeploymentTarget, Jn as WikiProxyConfig, Jt as NotificationsAccess, K as DeploymentProjectSettings, Kn as Wiki, Kt as NormalizedAuthUser, L as CreateAuthUserInput, Ln as TeamPermission, Lt as MonitoringAlertChannelState, M as Ci, Mn as StatusCategory, Mt as Logs, N as CiRun, Nn as Storage, Nt as LogsDataset, O as CapabilityImpls, On as SourceRepoInfo, Ot as Issues, P as CiRunFilter, Pn as StorageBranch, Pt as Monitoring, Q as Dns, Qt as NotificationsEveryoneLayout, R as Credentials, Rn as Tooling, Rt as MonitoringAlertSettings, S as BoardStatus, Sn as SecretScope, St as IssueComment, T as BoardTemplate, Tn as Source, Tt as IssueRecord, U as DeployScriptResult, Un as Tunnels, Ut as MonitoringCheckInput, V as DeployFunctionResult, Vn as TrackerUser, Vt as MonitoringAssertionSource, W as Deployment, Wn as Vault, Wt as MonitoringHttpMethod, X as DiscussionPatch, Xn as Workers, Xt as NotificationsChannelLayout, Y as DeploymentTrigger, Yn as WorkerScriptState, Yt as NotificationsApplicationLayout, Z as DiscussionPost, Zt as NotificationsDelivery, _ as BoardFieldType, _n as RelayState, _t as Ideas, a as REQUIRED_CAPABILITIES, an as NotificationsPicture, at as EnsureReport, b as BoardRule, bn as ResolvedCapability, bt as InspectRelayInput, c as AddedItem, cn as NotificationsServerLayout, ct as EnsuredDiscussion, d as AuthDescription, dn as NotificationsWelcomeLayout, dt as Environment, en as NotificationsLayout, et as DnsRecordRequest, f as AuthEvent, fn as PagesConfig, ft as EnvironmentReviewer, g as BoardField, gn as PullRequest, gt as IdeaRecord, h as AuthUser, hn as ProviderIdentity, ht as ExportInfo, i as ProviderApiError, in as NotificationsOnboardingLayout, it as EnsureRelayResult, j as CardinalityFor, jn as SourceTeamMember, jt as LifecycleSlot, k as CapabilityKey, kn as SourceRulesetDetail, kt as LabelDef, l as Analytics, ln as NotificationsSignIn, lt as EnsuredResource, m as AuthIdentity, mn as Projects, mt as Errors, n as ElevationRequiredError, nn as NotificationsMember, nt as EnsureDiscussionInput, o as WebhookVerificationError, on as NotificationsPinnedLayout, ot as EnsureResult, p as AuthEventType, pn as ParseWebhookInput, pt as Environments, q as DeploymentRecord, qn as WikiProvisionOpts, qt as Notifications, r as MissingTokenError, rn as NotificationsMonitoringFeed, rt as EnsureRelayInput, s as isMulti, sn as NotificationsPrsFeed, st as EnsureWebhookResult, t as CARDINALITY, tn as NotificationsLinksLayout, tt as DnsRecordType, u as Auth, un as NotificationsSignedIn, ut as EnsuredTunnel, v as BoardItem, vn as RepoRef, vt as ImportOptions, w as BoardSummary, wn as ServerInspection, wt as IssuePriority, x as BoardState, xn as Ruleset, xt as Issue, y as BoardItemInput, yn as RepoSettings, yt as ImportResult, z as CredentialsInspection, zn as ToolingDoctorReport, zt as MonitoringAssertion } from "../index-
|
|
1
|
+
import { $ as DnsRecord, $t as NotificationsForumTag, A as Cardinality, An as SourceSecurity, At as LifecycleResult, B as DeployFunctionConfig, Bn as TrackerDoctorReport, Bt as MonitoringAssertionComparison, C as BoardStatusCategory, Cn as Secrets, Ct as IssueOrder, D as BoardView, Dn as SourceFile, Dt as IssueSelector, E as BoardTemplateFile, En as SourceBranch, Et as IssueSearchFilter, F as CiRunStatus, Fn as SyncResult, Ft as MonitoringAlertChannelInput, G as DeploymentProject, Gn as WebhookDashboardInfo, Gt as MoveReport, H as DeployScriptConfig, Hn as TunnelRoute, Ht as MonitoringCheck, I as ConnectionStringOptions, In as TeamEntry, It as MonitoringAlertChannelResult, J as DeploymentTarget, Jn as WikiProxyConfig, Jt as NotificationsAccess, K as DeploymentProjectSettings, Kn as Wiki, Kt as NormalizedAuthUser, L as CreateAuthUserInput, Ln as TeamPermission, Lt as MonitoringAlertChannelState, M as Ci, Mn as StatusCategory, Mt as Logs, N as CiRun, Nn as Storage, Nt as LogsDataset, O as CapabilityImpls, On as SourceRepoInfo, Ot as Issues, P as CiRunFilter, Pn as StorageBranch, Pt as Monitoring, Q as Dns, Qt as NotificationsEveryoneLayout, R as Credentials, Rn as Tooling, Rt as MonitoringAlertSettings, S as BoardStatus, Sn as SecretScope, St as IssueComment, T as BoardTemplate, Tn as Source, Tt as IssueRecord, U as DeployScriptResult, Un as Tunnels, Ut as MonitoringCheckInput, V as DeployFunctionResult, Vn as TrackerUser, Vt as MonitoringAssertionSource, W as Deployment, Wn as Vault, Wt as MonitoringHttpMethod, X as DiscussionPatch, Xn as Workers, Xt as NotificationsChannelLayout, Y as DeploymentTrigger, Yn as WorkerScriptState, Yt as NotificationsApplicationLayout, Z as DiscussionPost, Zt as NotificationsDelivery, _ as BoardFieldType, _n as RelayState, _t as Ideas, a as REQUIRED_CAPABILITIES, an as NotificationsPicture, at as EnsureReport, b as BoardRule, bn as ResolvedCapability, bt as InspectRelayInput, c as AddedItem, cn as NotificationsServerLayout, ct as EnsuredDiscussion, d as AuthDescription, dn as NotificationsWelcomeLayout, dt as Environment, en as NotificationsLayout, et as DnsRecordRequest, f as AuthEvent, fn as PagesConfig, ft as EnvironmentReviewer, g as BoardField, gn as PullRequest, gt as IdeaRecord, h as AuthUser, hn as ProviderIdentity, ht as ExportInfo, i as ProviderApiError, in as NotificationsOnboardingLayout, it as EnsureRelayResult, j as CardinalityFor, jn as SourceTeamMember, jt as LifecycleSlot, k as CapabilityKey, kn as SourceRulesetDetail, kt as LabelDef, l as Analytics, ln as NotificationsSignIn, lt as EnsuredResource, m as AuthIdentity, mn as Projects, mt as Errors, n as ElevationRequiredError, nn as NotificationsMember, nt as EnsureDiscussionInput, o as WebhookVerificationError, on as NotificationsPinnedLayout, ot as EnsureResult, p as AuthEventType, pn as ParseWebhookInput, pt as Environments, q as DeploymentRecord, qn as WikiProvisionOpts, qt as Notifications, r as MissingTokenError, rn as NotificationsMonitoringFeed, rt as EnsureRelayInput, s as isMulti, sn as NotificationsPrsFeed, st as EnsureWebhookResult, t as CARDINALITY, tn as NotificationsLinksLayout, tt as DnsRecordType, u as Auth, un as NotificationsSignedIn, ut as EnsuredTunnel, v as BoardItem, vn as RepoRef, vt as ImportOptions, w as BoardSummary, wn as ServerInspection, wt as IssuePriority, x as BoardState, xn as Ruleset, xt as Issue, y as BoardItemInput, yn as RepoSettings, yt as ImportResult, z as CredentialsInspection, zn as ToolingDoctorReport, zt as MonitoringAssertion } from "../index-C0aDee00.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, ElevationRequiredError, EnsureDiscussionInput, EnsureRelayInput, EnsureRelayResult, EnsureReport, EnsureResult, EnsureWebhookResult, EnsuredDiscussion, EnsuredResource, EnsuredTunnel, Environment, 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, PagesConfig, ParseWebhookInput, Projects, ProviderApiError, ProviderIdentity, PullRequest, REQUIRED_CAPABILITIES, RelayState, RepoRef, RepoSettings, ResolvedCapability, Ruleset, SecretScope, 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 {
|
|
1
|
+
import { lr as compose, mr as ComposedPreset, pr as Capability } from "./index-C0aDee00.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.406",
|
|
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.61.2",
|
|
60
60
|
"tsx": "4.23.15",
|
|
61
61
|
"yargs": "^18.1.0",
|
|
62
|
-
"@theholocron/
|
|
63
|
-
"@theholocron/
|
|
64
|
-
"@theholocron/
|
|
65
|
-
"@theholocron/fs-utils": "^1.17.0-alpha.3",
|
|
66
|
-
"@theholocron/git-utils": "^1.17.0-alpha.3",
|
|
62
|
+
"@theholocron/dagobah": "5.0.0-alpha.406",
|
|
63
|
+
"@theholocron/astromech": "5.0.0-alpha.406",
|
|
64
|
+
"@theholocron/datapad": "5.0.0-alpha.406",
|
|
67
65
|
"@theholocron/env-utils": "^1.17.0-alpha.3",
|
|
68
|
-
"@theholocron/http-client": "^1.58.0-alpha.27",
|
|
69
66
|
"@theholocron/github-client": "^1.58.0-alpha.27",
|
|
70
|
-
"@theholocron/
|
|
71
|
-
"@theholocron/observability": "^0.7.0-alpha.3",
|
|
72
|
-
"@theholocron/kyber": "5.0.0-alpha.404",
|
|
67
|
+
"@theholocron/fs-utils": "^1.17.0-alpha.3",
|
|
73
68
|
"@theholocron/misc-utils": "^1.17.0-alpha.3",
|
|
74
|
-
"@theholocron/
|
|
69
|
+
"@theholocron/http-client": "^1.58.0-alpha.27",
|
|
70
|
+
"@theholocron/json-utils": "^1.17.0-alpha.3",
|
|
71
|
+
"@theholocron/observability": "^0.7.0-alpha.4",
|
|
72
|
+
"@theholocron/pkg-utils": "^1.17.0-alpha.3",
|
|
73
|
+
"@theholocron/git-utils": "^1.17.0-alpha.3",
|
|
74
|
+
"@theholocron/kyber": "5.0.0-alpha.406"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@types/node": "^26",
|
|
@@ -84,10 +84,10 @@
|
|
|
84
84
|
"tsdown": "^0.23.5",
|
|
85
85
|
"typescript": "^5.9.3",
|
|
86
86
|
"vitest": "^5.1.0",
|
|
87
|
-
"@theholocron/tsconfig": "^8.9.0-alpha.16",
|
|
88
87
|
"@theholocron/eslint-config": "^8.9.0-alpha.16",
|
|
88
|
+
"@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.16",
|
|
89
89
|
"@theholocron/vitest-config": "^8.9.0-alpha.16",
|
|
90
|
-
"@theholocron/
|
|
90
|
+
"@theholocron/tsconfig": "^8.9.0-alpha.16"
|
|
91
91
|
},
|
|
92
92
|
"engines": {
|
|
93
93
|
"node": ">=22.0.0"
|