@theholocron/cli 5.0.0-alpha.416 → 5.0.0-alpha.418
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 +124 -51
- package/dist/cli.mjs.map +1 -1
- package/dist/{index-C4pFARzT.d.mts → index-D3Y-Aa8T.d.mts} +5 -5
- package/dist/index.d.mts +17 -1
- package/dist/index.mjs +31 -3
- package/dist/plugin/capabilities.d.mts +1 -1
- package/dist/presets.d.mts +1 -1
- package/package.json +11 -11
|
@@ -332,14 +332,14 @@ interface CredentialsConfig {
|
|
|
332
332
|
/**
|
|
333
333
|
* The name of the environment the `credentials` providers read (a 1Password Environment, for 1Password), for
|
|
334
334
|
* every provider that does not give its own with an `environment` option
|
|
335
|
-
* (`credentials: ["1password", { environment: "
|
|
335
|
+
* (`credentials: ["1password", { environment: "Demo" }]`). It is a name, not a secret, so it is committed. A provider that matches names exactly may be tried with other
|
|
336
336
|
* letter cases of it; see the provider's page.
|
|
337
337
|
*/
|
|
338
338
|
environment: string;
|
|
339
339
|
}
|
|
340
340
|
/** One entry of `githubApps`: a registered GitHub App instance `holocron doctor github-app` compares with its manifest. */
|
|
341
341
|
interface GitHubAppConfig {
|
|
342
|
-
/** The instance's name in the report, e.g. `"
|
|
342
|
+
/** The instance's name in the report, e.g. `"acme/app - dev"`. */
|
|
343
343
|
name: string;
|
|
344
344
|
/**
|
|
345
345
|
* The App manifest file, relative to the directory: `default_permissions` (name to `read`, `write` or
|
|
@@ -379,7 +379,7 @@ interface IdeasConfig {
|
|
|
379
379
|
/** The `dev` block: how `holocron dev` runs this directory's application locally behind a development tunnel. */
|
|
380
380
|
interface DevConfig {
|
|
381
381
|
/**
|
|
382
|
-
* The vault environment whose variables the application runs with, e.g. `"
|
|
382
|
+
* The vault environment whose variables the application runs with, e.g. `"acme/app - dev"`. A name, not a
|
|
383
383
|
* secret, so it is committed.
|
|
384
384
|
*/
|
|
385
385
|
environment?: string;
|
|
@@ -758,7 +758,7 @@ interface HolocronConfig {
|
|
|
758
758
|
* Each provider needs one or the other when `providers.credentials` is set.
|
|
759
759
|
*
|
|
760
760
|
* @example
|
|
761
|
-
* { environment: "
|
|
761
|
+
* { environment: "Demo" }
|
|
762
762
|
*/
|
|
763
763
|
credentials?: CredentialsConfig;
|
|
764
764
|
/**
|
|
@@ -767,7 +767,7 @@ interface HolocronConfig {
|
|
|
767
767
|
* optional here and can be given as a flag instead (a flag wins); `holocron dev` says which one is missing.
|
|
768
768
|
*
|
|
769
769
|
* @example
|
|
770
|
-
* { environment: "
|
|
770
|
+
* { environment: "acme/app - dev", tunnel: { name: "sentinel-dev", hostname: "sentinel-dev.theholocron.dev" } }
|
|
771
771
|
*/
|
|
772
772
|
dev?: DevConfig;
|
|
773
773
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as DnsRecord, $n as deriveCapabilities, $r as ResolvedTuple, $t as NotificationsEveryoneLayout, A as Cardinality, An as SourceRulesetDetail, Ar as EnvConfig, At as LabelDef, B as DeployFunctionConfig, Bn as ToolingDoctorReport, Br as RawProvidersConfig, Bt as MonitoringAssertion, C as BoardStatusCategory, Cn as SecretScope, Cr as CapabilityConfigPackage, Ct as IssueComment, D as BoardView, Dn as SourceBranch, Dr as DevServeConfig, Dt as IssueSearchFilter, E as BoardTemplateFile, En as Source, Er as DevConfig, Et as IssueRecord, F as CiRunStatus, Fn as StorageBranch, Fr as LogConfig, Ft as Monitoring, G as DeploymentProject, Gn as Vault, Gr as RepoSecretsDeploy, Gt as MonitoringHttpMethod, H as DeployScriptConfig, Hn as TrackerUser, Hr as RepoProperties, Ht as MonitoringAssertionSource, I as ConnectionStringOptions, In as SyncResult, Ir as MultiEntry, It as MonitoringAlertChannelInput, J as DeploymentTarget, Jn as WikiProvisionOpts, Jr as RepoVariables, Jt as Notifications, K as DeploymentProjectSettings, Kn as WebhookDashboardInfo, Kr as RepoSecretsSync, Kt as MoveReport, L as CreateAuthUserInput, Ln as TeamEntry, Lr as OrgConfig, Lt as MonitoringAlertChannelResult, M as Ci, Mn as SourceTeamMember, Mr as GitHubAppConfig, Mt as LifecycleSlot, N as CiRun, Nn as StatusCategory, Nr as HolocronConfig, Nt as Logs, O as CapabilityImpls, On as SourceFile, Or as DocsConfig, Ot as IssueSelector, P as CiRunFilter, Pn as Storage, Pr as IdeasConfig, Pt as LogsDataset, Q as Dns, Qn as KNOWN_STACK_DEPS, Qr as ResolvedProvidersConfig, Qt as NotificationsDelivery, R as Credentials, Rn as TeamPermission, Rr as ProviderOptions, Rt as MonitoringAlertChannelState, S as BoardStatus, Sn as Ruleset, Sr as AppConfig, St as Issue, T as BoardTemplate, Tn as ServerInspection, Tr as CredentialsConfig, Tt as IssuePriority, U as DeployScriptResult, Un as TunnelRoute, Ur as RepoProtection, Ut as MonitoringCheck, V as DeployFunctionResult, Vn as TrackerDoctorReport, Vr as RepoConfig, Vt as MonitoringAssertionComparison, W as Deployment, Wn as Tunnels, Wr as RepoSecrets, Wt as MonitoringCheckInput, X as DiscussionPatch, Xn as WorkerScriptState, Xr as ResolvedHolocronConfig, Xt as NotificationsApplicationLayout, Y as DeploymentTrigger, Yn as WikiProxyConfig, Yr as RepoVariablesSync, Yt as NotificationsAccess, Z as DiscussionPost, Zn as Workers, Zr as ResolvedProviderEntry, Zt as NotificationsChannelLayout, _ as BoardFieldType, _n as PullRequest, _r as ConfigError, _t as IdeaRecord, a as REQUIRED_CAPABILITIES, an as NotificationsOnboardingLayout, ar as DeriveProfileInput, at as EnsureRelayResult, b as BoardRule, bn as RepoSettings, br as resolveEntry, bt as ImportResult, c as AddedItem, cn as NotificationsPrsFeed, cr as StackName, ct as EnsureWebhookResult, d as AuthDescription, dn as NotificationsSignedIn, dr as defineConfig, dt as EnsuredTunnel, ei as SingleEntry, en as NotificationsForumTag, er as deriveCompliance, et as DnsRecordRequest, f as AuthEvent, fn as NotificationsWelcomeLayout, fr as loadConfig, ft as Environment, g as BoardField, gn as ProviderIdentity, gr as TaskEntry, gt as ExportInfo, h as AuthUser, hn as Projects, hr as ComposedPreset, ht as Errors, i as ProviderApiError, ii as WorkflowWithConfig, in as NotificationsMonitoringFeed, ir as readWorkspacePackageJsons, it as EnsureRelayInput, j as CardinalityFor, jn as SourceSecurity, jr as EslintConfig, jt as LifecycleResult, k as CapabilityKey, kn as SourceRepoInfo, kr as DoctorConfig, kt as Issues, l as Analytics, ln as NotificationsServerLayout, lr as ConfigFileError, lt as EnsuredDiscussion, m as AuthIdentity, mn as ParseWebhookInput, mr as Capability, mt as Environments, n as ElevationRequiredError, ni as TaskEntryConfig, nn as NotificationsLinksLayout, nr as deriveStack, nt as DuplicateDiscussion, o as WebhookVerificationError, on as NotificationsPicture, or as HolocronProfile, ot as EnsureReport, p as AuthEventType, pn as PagesConfig, pr as LoadedConfig, pt as EnvironmentReviewer, q as DeploymentRecord, qn as Wiki, qr as RepoValidationConfig, qt as NormalizedAuthUser, r as MissingTokenError, ri as TelemetryConfig, rn as NotificationsMember, rr as missingCapabilities, rt as EnsureDiscussionInput, s as isMulti, sn as NotificationsPinnedLayout, sr as PackageJsonLike, st as EnsureResult, t as CARDINALITY, ti as StorybookDeployProject, tn as NotificationsLayout, tr as deriveProfile, tt as DnsRecordType, u as Auth, un as NotificationsSignIn, ur as compose, ut as EnsuredResource, v as BoardItem, vn as RelayState, vr as credentialsEnvironment, vt as Ideas, w as BoardSummary, wn as Secrets, wr as ChromaticProjectConfig, wt as IssueOrder, x as BoardState, xn as ResolvedCapability, xr as resolvePluginPackage, xt as InspectRelayInput, y as BoardItemInput, yn as RepoRef, yr as resolveConfig, yt as ImportOptions, z as CredentialsInspection, zn as Tooling, zr as RawProviderEntry, zt as MonitoringAlertSettings } from "./index-
|
|
1
|
+
import { $ as DnsRecord, $n as deriveCapabilities, $r as ResolvedTuple, $t as NotificationsEveryoneLayout, A as Cardinality, An as SourceRulesetDetail, Ar as EnvConfig, At as LabelDef, B as DeployFunctionConfig, Bn as ToolingDoctorReport, Br as RawProvidersConfig, Bt as MonitoringAssertion, C as BoardStatusCategory, Cn as SecretScope, Cr as CapabilityConfigPackage, Ct as IssueComment, D as BoardView, Dn as SourceBranch, Dr as DevServeConfig, Dt as IssueSearchFilter, E as BoardTemplateFile, En as Source, Er as DevConfig, Et as IssueRecord, F as CiRunStatus, Fn as StorageBranch, Fr as LogConfig, Ft as Monitoring, G as DeploymentProject, Gn as Vault, Gr as RepoSecretsDeploy, Gt as MonitoringHttpMethod, H as DeployScriptConfig, Hn as TrackerUser, Hr as RepoProperties, Ht as MonitoringAssertionSource, I as ConnectionStringOptions, In as SyncResult, Ir as MultiEntry, It as MonitoringAlertChannelInput, J as DeploymentTarget, Jn as WikiProvisionOpts, Jr as RepoVariables, Jt as Notifications, K as DeploymentProjectSettings, Kn as WebhookDashboardInfo, Kr as RepoSecretsSync, Kt as MoveReport, L as CreateAuthUserInput, Ln as TeamEntry, Lr as OrgConfig, Lt as MonitoringAlertChannelResult, M as Ci, Mn as SourceTeamMember, Mr as GitHubAppConfig, Mt as LifecycleSlot, N as CiRun, Nn as StatusCategory, Nr as HolocronConfig, Nt as Logs, O as CapabilityImpls, On as SourceFile, Or as DocsConfig, Ot as IssueSelector, P as CiRunFilter, Pn as Storage, Pr as IdeasConfig, Pt as LogsDataset, Q as Dns, Qn as KNOWN_STACK_DEPS, Qr as ResolvedProvidersConfig, Qt as NotificationsDelivery, R as Credentials, Rn as TeamPermission, Rr as ProviderOptions, Rt as MonitoringAlertChannelState, S as BoardStatus, Sn as Ruleset, Sr as AppConfig, St as Issue, T as BoardTemplate, Tn as ServerInspection, Tr as CredentialsConfig, Tt as IssuePriority, U as DeployScriptResult, Un as TunnelRoute, Ur as RepoProtection, Ut as MonitoringCheck, V as DeployFunctionResult, Vn as TrackerDoctorReport, Vr as RepoConfig, Vt as MonitoringAssertionComparison, W as Deployment, Wn as Tunnels, Wr as RepoSecrets, Wt as MonitoringCheckInput, X as DiscussionPatch, Xn as WorkerScriptState, Xr as ResolvedHolocronConfig, Xt as NotificationsApplicationLayout, Y as DeploymentTrigger, Yn as WikiProxyConfig, Yr as RepoVariablesSync, Yt as NotificationsAccess, Z as DiscussionPost, Zn as Workers, Zr as ResolvedProviderEntry, Zt as NotificationsChannelLayout, _ as BoardFieldType, _n as PullRequest, _r as ConfigError, _t as IdeaRecord, a as REQUIRED_CAPABILITIES, an as NotificationsOnboardingLayout, ar as DeriveProfileInput, at as EnsureRelayResult, b as BoardRule, bn as RepoSettings, br as resolveEntry, bt as ImportResult, c as AddedItem, cn as NotificationsPrsFeed, cr as StackName, ct as EnsureWebhookResult, d as AuthDescription, dn as NotificationsSignedIn, dr as defineConfig, dt as EnsuredTunnel, ei as SingleEntry, en as NotificationsForumTag, er as deriveCompliance, et as DnsRecordRequest, f as AuthEvent, fn as NotificationsWelcomeLayout, fr as loadConfig, ft as Environment, g as BoardField, gn as ProviderIdentity, gr as TaskEntry, gt as ExportInfo, h as AuthUser, hn as Projects, hr as ComposedPreset, ht as Errors, i as ProviderApiError, ii as WorkflowWithConfig, in as NotificationsMonitoringFeed, ir as readWorkspacePackageJsons, it as EnsureRelayInput, j as CardinalityFor, jn as SourceSecurity, jr as EslintConfig, jt as LifecycleResult, k as CapabilityKey, kn as SourceRepoInfo, kr as DoctorConfig, kt as Issues, l as Analytics, ln as NotificationsServerLayout, lr as ConfigFileError, lt as EnsuredDiscussion, m as AuthIdentity, mn as ParseWebhookInput, mr as Capability, mt as Environments, n as ElevationRequiredError, ni as TaskEntryConfig, nn as NotificationsLinksLayout, nr as deriveStack, nt as DuplicateDiscussion, o as WebhookVerificationError, on as NotificationsPicture, or as HolocronProfile, ot as EnsureReport, p as AuthEventType, pn as PagesConfig, pr as LoadedConfig, pt as EnvironmentReviewer, q as DeploymentRecord, qn as Wiki, qr as RepoValidationConfig, qt as NormalizedAuthUser, r as MissingTokenError, ri as TelemetryConfig, rn as NotificationsMember, rr as missingCapabilities, rt as EnsureDiscussionInput, s as isMulti, sn as NotificationsPinnedLayout, sr as PackageJsonLike, st as EnsureResult, t as CARDINALITY, ti as StorybookDeployProject, tn as NotificationsLayout, tr as deriveProfile, tt as DnsRecordType, u as Auth, un as NotificationsSignIn, ur as compose, ut as EnsuredResource, v as BoardItem, vn as RelayState, vr as credentialsEnvironment, vt as Ideas, w as BoardSummary, wn as Secrets, wr as ChromaticProjectConfig, wt as IssueOrder, x as BoardState, xn as ResolvedCapability, xr as resolvePluginPackage, xt as InspectRelayInput, y as BoardItemInput, yn as RepoRef, yr as resolveConfig, yt as ImportOptions, z as CredentialsInspection, zn as Tooling, zr as RawProviderEntry, zt as MonitoringAlertSettings } from "./index-D3Y-Aa8T.mjs";
|
|
2
2
|
import { AuthError, ResolveTokenConfig as ResolveTokenConfig$1, ResolveTokenInput, ResolveTokenInput as ResolveTokenInput$1, resolveValue } from "@theholocron/kyber/secrets";
|
|
3
3
|
import { CheckRow } from "@theholocron/kyber/ui";
|
|
4
4
|
import { RequestOptions, RestClient, RestClientConfig, createRestClient } from "@theholocron/http-client";
|
|
@@ -422,6 +422,22 @@ export declare function resolveEnvironmentId(id: string, input: {
|
|
|
422
422
|
repoRoot: string;
|
|
423
423
|
gitExec?: GitExec;
|
|
424
424
|
}): Promise<string>;
|
|
425
|
+
/** The line that says how to fix a credentials path the version control ignore rules do not cover. */
|
|
426
|
+
export declare function ignoreAdvice(isDefault: boolean, choose: string): string;
|
|
427
|
+
/** The file `auth export` and `github-app create` write by default, relative to the repository root. */
|
|
428
|
+
export declare const PRIVATE_CREDENTIALS_FILE = ".holocron/.private/.credentials";
|
|
429
|
+
/** Where a credentials file goes: its absolute path, and whether it is the default one in the private directory. */
|
|
430
|
+
interface CredentialsFileTarget {
|
|
431
|
+
path: string;
|
|
432
|
+
/** True when no `--file` was given, so the file is in `.holocron/.private/` and a missing ignore rule is fixed by `repo sync`. */
|
|
433
|
+
isDefault: boolean;
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* The credentials file for a command: `file` (relative to `base`) when given, else `.holocron/.private/.credentials`
|
|
437
|
+
* under `base`. The default's directory is created when missing (owner-only), because the ignore check can only ask
|
|
438
|
+
* about a path whose directory exists and the file cannot be written without it.
|
|
439
|
+
*/
|
|
440
|
+
export declare function resolveCredentialsFile(base: string, file: string | undefined, makeDir?: (dir: string) => void): CredentialsFileTarget;
|
|
425
441
|
/**
|
|
426
442
|
* The closed list of area files `loadConfig` reads from `.holocron/` (the directory is `.<config name>`, set by kyber):
|
|
427
443
|
* `.holocron/notifications.*` fills `providers.notifications`' `layout`, `.holocron/repo.*` fills keys of `repo`, and `.holocron/org.*` fills provider options (`teamId`, `accountId`) a config leaves out.
|
package/dist/index.mjs
CHANGED
|
@@ -6,9 +6,9 @@ import { describeError, style } from "@theholocron/kyber/ui";
|
|
|
6
6
|
import { errorMessage } from "@theholocron/misc-utils";
|
|
7
7
|
import { createRestClient } from "@theholocron/http-client";
|
|
8
8
|
import { connectionProbe as connectionProbe$1 } from "@theholocron/kyber/checks";
|
|
9
|
-
import { join } from "node:path";
|
|
9
|
+
import { dirname, join, resolve } from "node:path";
|
|
10
10
|
import { readPackageJson } from "@theholocron/pkg-utils";
|
|
11
|
-
import { fstatSync } from "node:fs";
|
|
11
|
+
import { fstatSync, mkdirSync } from "node:fs";
|
|
12
12
|
// src/auth/auth.ts
|
|
13
13
|
/**
|
|
14
14
|
* The CLI's credentials: the OS keyring every plugin's bootstrap token lives in, and the two token resolvers built on
|
|
@@ -584,4 +584,32 @@ async function resolveEnvironmentId(id, input) {
|
|
|
584
584
|
if (!isEnvironmentLayer(id)) return id;
|
|
585
585
|
return layerEnvironment(await repoSlug(input.repoRoot, input.gitExec), id);
|
|
586
586
|
}
|
|
587
|
-
|
|
587
|
+
// src/private-dir/ignore-advice/ignore-advice.ts
|
|
588
|
+
/** The line that says how to fix a credentials path the version control ignore rules do not cover. */
|
|
589
|
+
function ignoreAdvice(isDefault, choose) {
|
|
590
|
+
return isDefault ? "the private directory's ignore rule is missing: run `holocron repo sync` to add it" : `add it to .gitignore, or ${choose}`;
|
|
591
|
+
}
|
|
592
|
+
/** The file `auth export` and `github-app create` write by default, relative to the repository root. */
|
|
593
|
+
const PRIVATE_CREDENTIALS_FILE = `.holocron/.private/.credentials`;
|
|
594
|
+
// src/private-dir/resolve-credentials-file/resolve-credentials-file.ts
|
|
595
|
+
/**
|
|
596
|
+
* The credentials file for a command: `file` (relative to `base`) when given, else `.holocron/.private/.credentials`
|
|
597
|
+
* under `base`. The default's directory is created when missing (owner-only), because the ignore check can only ask
|
|
598
|
+
* about a path whose directory exists and the file cannot be written without it.
|
|
599
|
+
*/
|
|
600
|
+
function resolveCredentialsFile(base, file, makeDir = (dir) => void mkdirSync(dir, {
|
|
601
|
+
recursive: true,
|
|
602
|
+
mode: 448
|
|
603
|
+
})) {
|
|
604
|
+
if (file) return {
|
|
605
|
+
path: resolve(base, file),
|
|
606
|
+
isDefault: false
|
|
607
|
+
};
|
|
608
|
+
const path = resolve(base, PRIVATE_CREDENTIALS_FILE);
|
|
609
|
+
makeDir(dirname(path));
|
|
610
|
+
return {
|
|
611
|
+
path,
|
|
612
|
+
isDefault: true
|
|
613
|
+
};
|
|
614
|
+
}
|
|
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 };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as DnsRecord, $t as NotificationsEveryoneLayout, A as Cardinality, An as SourceRulesetDetail, At as LabelDef, B as DeployFunctionConfig, Bn as ToolingDoctorReport, Bt as MonitoringAssertion, C as BoardStatusCategory, Cn as SecretScope, Ct as IssueComment, D as BoardView, Dn as SourceBranch, Dt as IssueSearchFilter, E as BoardTemplateFile, En as Source, Et as IssueRecord, F as CiRunStatus, Fn as StorageBranch, Ft as Monitoring, G as DeploymentProject, Gn as Vault, Gt as MonitoringHttpMethod, H as DeployScriptConfig, Hn as TrackerUser, Ht as MonitoringAssertionSource, I as ConnectionStringOptions, In as SyncResult, It as MonitoringAlertChannelInput, J as DeploymentTarget, Jn as WikiProvisionOpts, Jt as Notifications, K as DeploymentProjectSettings, Kn as WebhookDashboardInfo, Kt as MoveReport, L as CreateAuthUserInput, Ln as TeamEntry, Lt as MonitoringAlertChannelResult, M as Ci, Mn as SourceTeamMember, Mt as LifecycleSlot, N as CiRun, Nn as StatusCategory, Nt as Logs, O as CapabilityImpls, On as SourceFile, Ot as IssueSelector, P as CiRunFilter, Pn as Storage, Pt as LogsDataset, Q as Dns, Qt as NotificationsDelivery, R as Credentials, Rn as TeamPermission, Rt as MonitoringAlertChannelState, S as BoardStatus, Sn as Ruleset, St as Issue, T as BoardTemplate, Tn as ServerInspection, Tt as IssuePriority, U as DeployScriptResult, Un as TunnelRoute, Ut as MonitoringCheck, V as DeployFunctionResult, Vn as TrackerDoctorReport, Vt as MonitoringAssertionComparison, W as Deployment, Wn as Tunnels, Wt as MonitoringCheckInput, X as DiscussionPatch, Xn as WorkerScriptState, Xt as NotificationsApplicationLayout, Y as DeploymentTrigger, Yn as WikiProxyConfig, Yt as NotificationsAccess, Z as DiscussionPost, Zn as Workers, Zt as NotificationsChannelLayout, _ as BoardFieldType, _n as PullRequest, _t as IdeaRecord, a as REQUIRED_CAPABILITIES, an as NotificationsOnboardingLayout, at as EnsureRelayResult, b as BoardRule, bn as RepoSettings, bt as ImportResult, c as AddedItem, cn as NotificationsPrsFeed, ct as EnsureWebhookResult, d as AuthDescription, dn as NotificationsSignedIn, dt as EnsuredTunnel, en as NotificationsForumTag, et as DnsRecordRequest, f as AuthEvent, fn as NotificationsWelcomeLayout, ft as Environment, g as BoardField, gn as ProviderIdentity, gt as ExportInfo, h as AuthUser, hn as Projects, ht as Errors, i as ProviderApiError, in as NotificationsMonitoringFeed, it as EnsureRelayInput, j as CardinalityFor, jn as SourceSecurity, jt as LifecycleResult, k as CapabilityKey, kn as SourceRepoInfo, kt as Issues, l as Analytics, ln as NotificationsServerLayout, lt as EnsuredDiscussion, m as AuthIdentity, mn as ParseWebhookInput, mt as Environments, n as ElevationRequiredError, nn as NotificationsLinksLayout, nt as DuplicateDiscussion, o as WebhookVerificationError, on as NotificationsPicture, ot as EnsureReport, p as AuthEventType, pn as PagesConfig, pt as EnvironmentReviewer, q as DeploymentRecord, qn as Wiki, qt as NormalizedAuthUser, r as MissingTokenError, rn as NotificationsMember, rt as EnsureDiscussionInput, s as isMulti, sn as NotificationsPinnedLayout, st as EnsureResult, t as CARDINALITY, tn as NotificationsLayout, tt as DnsRecordType, u as Auth, un as NotificationsSignIn, ut as EnsuredResource, v as BoardItem, vn as RelayState, vt as Ideas, w as BoardSummary, wn as Secrets, wt as IssueOrder, x as BoardState, xn as ResolvedCapability, xt as InspectRelayInput, y as BoardItemInput, yn as RepoRef, yt as ImportOptions, z as CredentialsInspection, zn as Tooling, zt as MonitoringAlertSettings } from "../index-
|
|
1
|
+
import { $ as DnsRecord, $t as NotificationsEveryoneLayout, A as Cardinality, An as SourceRulesetDetail, At as LabelDef, B as DeployFunctionConfig, Bn as ToolingDoctorReport, Bt as MonitoringAssertion, C as BoardStatusCategory, Cn as SecretScope, Ct as IssueComment, D as BoardView, Dn as SourceBranch, Dt as IssueSearchFilter, E as BoardTemplateFile, En as Source, Et as IssueRecord, F as CiRunStatus, Fn as StorageBranch, Ft as Monitoring, G as DeploymentProject, Gn as Vault, Gt as MonitoringHttpMethod, H as DeployScriptConfig, Hn as TrackerUser, Ht as MonitoringAssertionSource, I as ConnectionStringOptions, In as SyncResult, It as MonitoringAlertChannelInput, J as DeploymentTarget, Jn as WikiProvisionOpts, Jt as Notifications, K as DeploymentProjectSettings, Kn as WebhookDashboardInfo, Kt as MoveReport, L as CreateAuthUserInput, Ln as TeamEntry, Lt as MonitoringAlertChannelResult, M as Ci, Mn as SourceTeamMember, Mt as LifecycleSlot, N as CiRun, Nn as StatusCategory, Nt as Logs, O as CapabilityImpls, On as SourceFile, Ot as IssueSelector, P as CiRunFilter, Pn as Storage, Pt as LogsDataset, Q as Dns, Qt as NotificationsDelivery, R as Credentials, Rn as TeamPermission, Rt as MonitoringAlertChannelState, S as BoardStatus, Sn as Ruleset, St as Issue, T as BoardTemplate, Tn as ServerInspection, Tt as IssuePriority, U as DeployScriptResult, Un as TunnelRoute, Ut as MonitoringCheck, V as DeployFunctionResult, Vn as TrackerDoctorReport, Vt as MonitoringAssertionComparison, W as Deployment, Wn as Tunnels, Wt as MonitoringCheckInput, X as DiscussionPatch, Xn as WorkerScriptState, Xt as NotificationsApplicationLayout, Y as DeploymentTrigger, Yn as WikiProxyConfig, Yt as NotificationsAccess, Z as DiscussionPost, Zn as Workers, Zt as NotificationsChannelLayout, _ as BoardFieldType, _n as PullRequest, _t as IdeaRecord, a as REQUIRED_CAPABILITIES, an as NotificationsOnboardingLayout, at as EnsureRelayResult, b as BoardRule, bn as RepoSettings, bt as ImportResult, c as AddedItem, cn as NotificationsPrsFeed, ct as EnsureWebhookResult, d as AuthDescription, dn as NotificationsSignedIn, dt as EnsuredTunnel, en as NotificationsForumTag, et as DnsRecordRequest, f as AuthEvent, fn as NotificationsWelcomeLayout, ft as Environment, g as BoardField, gn as ProviderIdentity, gt as ExportInfo, h as AuthUser, hn as Projects, ht as Errors, i as ProviderApiError, in as NotificationsMonitoringFeed, it as EnsureRelayInput, j as CardinalityFor, jn as SourceSecurity, jt as LifecycleResult, k as CapabilityKey, kn as SourceRepoInfo, kt as Issues, l as Analytics, ln as NotificationsServerLayout, lt as EnsuredDiscussion, m as AuthIdentity, mn as ParseWebhookInput, mt as Environments, n as ElevationRequiredError, nn as NotificationsLinksLayout, nt as DuplicateDiscussion, o as WebhookVerificationError, on as NotificationsPicture, ot as EnsureReport, p as AuthEventType, pn as PagesConfig, pt as EnvironmentReviewer, q as DeploymentRecord, qn as Wiki, qt as NormalizedAuthUser, r as MissingTokenError, rn as NotificationsMember, rt as EnsureDiscussionInput, s as isMulti, sn as NotificationsPinnedLayout, st as EnsureResult, t as CARDINALITY, tn as NotificationsLayout, tt as DnsRecordType, u as Auth, un as NotificationsSignIn, ut as EnsuredResource, v as BoardItem, vn as RelayState, vt as Ideas, w as BoardSummary, wn as Secrets, wt as IssueOrder, x as BoardState, xn as ResolvedCapability, xt as InspectRelayInput, y as BoardItemInput, yn as RepoRef, yt as ImportOptions, z as CredentialsInspection, zn as Tooling, zt as MonitoringAlertSettings } from "../index-D3Y-Aa8T.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, 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 { hr as ComposedPreset, mr as Capability, ur as compose } from "./index-
|
|
1
|
+
import { hr as ComposedPreset, mr as Capability, ur as compose } from "./index-D3Y-Aa8T.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.418",
|
|
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/astromech": "5.0.0-alpha.
|
|
63
|
-
"@theholocron/dagobah": "5.0.0-alpha.416",
|
|
64
|
-
"@theholocron/datapad": "5.0.0-alpha.416",
|
|
65
|
-
"@theholocron/git-utils": "^1.17.0-alpha.4",
|
|
66
|
-
"@theholocron/github-client": "^1.58.0-alpha.27",
|
|
62
|
+
"@theholocron/astromech": "5.0.0-alpha.418",
|
|
67
63
|
"@theholocron/env-utils": "^1.17.0-alpha.4",
|
|
64
|
+
"@theholocron/datapad": "5.0.0-alpha.418",
|
|
68
65
|
"@theholocron/fs-utils": "^1.17.0-alpha.4",
|
|
66
|
+
"@theholocron/git-utils": "^1.17.0-alpha.4",
|
|
67
|
+
"@theholocron/github-client": "^1.58.0-alpha.27",
|
|
68
|
+
"@theholocron/http-client": "^1.58.0-alpha.27",
|
|
69
69
|
"@theholocron/json-utils": "^1.17.0-alpha.4",
|
|
70
|
-
"@theholocron/kyber": "5.0.0-alpha.
|
|
70
|
+
"@theholocron/kyber": "5.0.0-alpha.418",
|
|
71
71
|
"@theholocron/misc-utils": "^1.17.0-alpha.4",
|
|
72
|
+
"@theholocron/pkg-utils": "^1.17.0-alpha.4",
|
|
72
73
|
"@theholocron/observability": "^0.7.0-alpha.4",
|
|
73
|
-
"@theholocron/
|
|
74
|
-
"@theholocron/pkg-utils": "^1.17.0-alpha.4"
|
|
74
|
+
"@theholocron/dagobah": "5.0.0-alpha.418"
|
|
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/eslint-config": "^8.9.0-alpha.16",
|
|
87
88
|
"@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.16",
|
|
88
89
|
"@theholocron/tsconfig": "^8.9.0-alpha.16",
|
|
89
|
-
"@theholocron/vitest-config": "^8.9.0-alpha.16"
|
|
90
|
-
"@theholocron/eslint-config": "^8.9.0-alpha.16"
|
|
90
|
+
"@theholocron/vitest-config": "^8.9.0-alpha.16"
|
|
91
91
|
},
|
|
92
92
|
"engines": {
|
|
93
93
|
"node": ">=22.0.0"
|