@theholocron/cli 5.0.0-alpha.394 → 5.0.0-alpha.395
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 +9 -1
- package/dist/cli.mjs +459 -85
- package/dist/cli.mjs.map +1 -1
- package/dist/{config-system-BVYtgrmR.mjs → config-system-BzAs0RR1.mjs} +13 -0
- package/dist/{config-system-u0AcPQ77.d.mts → config-system-CLi7Ceta.d.mts} +24 -2
- package/dist/{index-nzzQsd0r.d.mts → index-DbptTVsV.d.mts} +5 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +1 -1
- package/dist/plugin/capabilities.d.mts +1 -1
- package/dist/presets.d.mts +1 -1
- package/dist/presets.mjs +1 -1
- package/package.json +13 -12
|
@@ -114,6 +114,17 @@ function validateGitHubApps(apps) {
|
|
|
114
114
|
}
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
|
+
/** Throws a {@link ConfigError} naming the first thing wrong with the `ideas` block. */
|
|
118
|
+
function validateIdeas(ideas) {
|
|
119
|
+
const nonEmpty = (value) => typeof value === "string" && value.trim() !== "";
|
|
120
|
+
const isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
121
|
+
if (!isObject(ideas)) throw new ConfigError$1("`ideas` must be an object: { dir, states? }");
|
|
122
|
+
if (!nonEmpty(ideas.dir)) throw new ConfigError$1("`ideas.dir` must be the path of the notes folder, got an empty value");
|
|
123
|
+
if (ideas.states !== void 0) {
|
|
124
|
+
if (!isObject(ideas.states)) throw new ConfigError$1("`ideas.states` must be an object: { file? }");
|
|
125
|
+
if (ideas.states.file !== void 0 && !nonEmpty(ideas.states.file)) throw new ConfigError$1("`ideas.states.file` must be a state name, got an empty value");
|
|
126
|
+
}
|
|
127
|
+
}
|
|
117
128
|
/** Throws a {@link ConfigError} naming the first thing wrong with the `dev` block. */
|
|
118
129
|
function validateDev(dev) {
|
|
119
130
|
const nonEmpty = (value) => typeof value === "string" && value.trim() !== "";
|
|
@@ -170,6 +181,7 @@ function resolveConfig(raw) {
|
|
|
170
181
|
}
|
|
171
182
|
if (raw.dev !== void 0) validateDev(raw.dev);
|
|
172
183
|
if (raw.githubApps !== void 0) validateGitHubApps(raw.githubApps);
|
|
184
|
+
if (raw.ideas !== void 0) validateIdeas(raw.ideas);
|
|
173
185
|
validateVariablesSync(raw.repo?.variables);
|
|
174
186
|
const credentialsEntry = providers.credentials;
|
|
175
187
|
if (credentialsEntry?.cardinality === "many") for (const tuple of credentialsEntry.tuples) {
|
|
@@ -201,6 +213,7 @@ function resolveConfig(raw) {
|
|
|
201
213
|
credentials: raw.credentials,
|
|
202
214
|
dev: raw.dev,
|
|
203
215
|
githubApps: raw.githubApps,
|
|
216
|
+
ideas: raw.ideas,
|
|
204
217
|
log: raw.log,
|
|
205
218
|
telemetry: raw.telemetry,
|
|
206
219
|
eslint: raw.eslint
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Pn as TeamEntry, k as CapabilityKey, un as PagesConfig } from "./index-
|
|
1
|
+
import { Pn as TeamEntry, k as CapabilityKey, un as PagesConfig } from "./index-DbptTVsV.mjs";
|
|
2
2
|
import { ConfigError as ConfigError$1, ConfigFileError } from "@theholocron/kyber/config";
|
|
3
3
|
import { DocsCoverageMode } from "@theholocron/astromech";
|
|
4
4
|
import { LogLevel } from "@theholocron/observability/core";
|
|
@@ -308,6 +308,19 @@ interface GitHubAppConfig {
|
|
|
308
308
|
*/
|
|
309
309
|
environment: string;
|
|
310
310
|
}
|
|
311
|
+
/** The `ideas` block: where the repo's idea notes are and which state files an issue. */
|
|
312
|
+
interface IdeasConfig {
|
|
313
|
+
/**
|
|
314
|
+
* The folder of Markdown notes (an Obsidian vault). May start with `~` for the home folder. `HOLOCRON_IDEAS_DIR`
|
|
315
|
+
* overrides it, since the path differs per machine.
|
|
316
|
+
*/
|
|
317
|
+
dir: string;
|
|
318
|
+
/** The names of the note states, so a repo can use its own words. */
|
|
319
|
+
states?: {
|
|
320
|
+
/** The `status:` that means "file this idea" (default `in-progress`). */
|
|
321
|
+
file?: string;
|
|
322
|
+
};
|
|
323
|
+
}
|
|
311
324
|
/** The `dev` block: how `holocron dev` runs this directory's application locally behind a development tunnel. */
|
|
312
325
|
interface DevConfig {
|
|
313
326
|
/**
|
|
@@ -705,6 +718,13 @@ interface HolocronConfig {
|
|
|
705
718
|
* [{ name: "Sentinel", manifest: "apps/sentinel/github-app.manifest.json", environment: "Sentinel" }]
|
|
706
719
|
*/
|
|
707
720
|
githubApps?: GitHubAppConfig[];
|
|
721
|
+
/**
|
|
722
|
+
* Where the repo's idea notes are, for `holocron ideas sync`: the folder and the state that files an issue.
|
|
723
|
+
*
|
|
724
|
+
* @example
|
|
725
|
+
* { dir: "~/Library/Mobile Documents/iCloud~md~obsidian/Documents/holocron", states: { file: "in-progress" } }
|
|
726
|
+
*/
|
|
727
|
+
ideas?: IdeasConfig;
|
|
708
728
|
/**
|
|
709
729
|
* Structured-logging config. Only the level belongs here — Axiom
|
|
710
730
|
* credentials come from env vars, never a committed file.
|
|
@@ -815,6 +835,8 @@ interface ResolvedHolocronConfig {
|
|
|
815
835
|
dev?: DevConfig;
|
|
816
836
|
/** The GitHub App instances `doctor github-app` checks, validated by `resolveConfig`. */
|
|
817
837
|
githubApps?: GitHubAppConfig[];
|
|
838
|
+
/** The idea notes folder and filing state, validated by `resolveConfig`. */
|
|
839
|
+
ideas?: IdeasConfig;
|
|
818
840
|
/** Logging settings. */
|
|
819
841
|
log?: LogConfig;
|
|
820
842
|
/** Telemetry settings. */
|
|
@@ -926,4 +948,4 @@ declare const loadConfig: (cwd: string) => Promise<LoadedConfig>;
|
|
|
926
948
|
* const preset = compose(node(), nextjs());
|
|
927
949
|
*/
|
|
928
950
|
declare const compose: (...args: (Capability | Capability[])[]) => ComposedPreset;
|
|
929
|
-
export {
|
|
951
|
+
export { ProviderOptions as A, RepoVariablesSync as B, EslintConfig as C, LogConfig as D, IdeasConfig as E, RepoProtection as F, SingleEntry as G, ResolvedProviderEntry as H, RepoSecrets as I, TelemetryConfig as J, StorybookDeployProject as K, RepoSecretsSync as L, RawProvidersConfig as M, RepoConfig as N, MultiEntry as O, RepoProperties as P, RepoValidationConfig as R, EnvConfig as S, HolocronConfig as T, ResolvedProvidersConfig as U, ResolvedHolocronConfig as V, ResolvedTuple as W, WorkflowWithConfig as Y, 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, RawProviderEntry as j, OrgConfig as k, ConfigError$1 as l, AppConfig as m, compose as n, Capability as o, resolvePluginPackage as p, TaskEntryConfig 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, RepoVariables as z };
|
|
@@ -550,6 +550,11 @@ interface IssueSearchFilter {
|
|
|
550
550
|
openOnly?: boolean;
|
|
551
551
|
/** Max number of issues to return. Adapters apply a sensible default. */
|
|
552
552
|
limit?: number;
|
|
553
|
+
/**
|
|
554
|
+
* Only issues whose title or body contains this text, compared without regard to case. The text is matched
|
|
555
|
+
* literally, markup such as an HTML comment included. Left out, nothing is filtered by text.
|
|
556
|
+
*/
|
|
557
|
+
text?: string;
|
|
553
558
|
}
|
|
554
559
|
/** What {@link Issues.transition} did. */
|
|
555
560
|
interface LifecycleResult {
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as DnsRecord, $t as NotificationsLinksLayout, A as Cardinality, An as StatusCategory, At as Logs, B as DeployFunctionConfig, Bn as TunnelRoute, Bt as MonitoringCheck, C as BoardStatusCategory, Cn as Source, Ct as IssueRecord, D as BoardView, Dn as SourceRulesetDetail, Dt as LabelDef, E as BoardTemplateFile, En as SourceRepoInfo, Et as Issues, F as CiRunStatus, Fn as TeamPermission, Ft as MonitoringAlertChannelState, G as DeploymentProject, Gn as WikiProvisionOpts, Gt as Notifications, H as DeployScriptConfig, Hn as Vault, Ht as MonitoringHttpMethod, I as ConnectionStringOptions, In as Tooling, It as MonitoringAlertSettings, J as DeploymentTarget, Jn as Workers, Jt as NotificationsChannelLayout, K as DeploymentProjectSettings, Kn as WikiProxyConfig, Kt as NotificationsAccess, L as CreateAuthUserInput, Ln as ToolingDoctorReport, Lt as MonitoringAssertion, M as Ci, Mn as StorageBranch, Mt as Monitoring, N as CiRun, Nn as SyncResult, Nt as MonitoringAlertChannelInput, O as CapabilityImpls, On as SourceSecurity, Ot as LifecycleResult, P as CiRunFilter, Pn as TeamEntry, Pt as MonitoringAlertChannelResult, Q as Dns, Qt as NotificationsLayout, R as Credentials, Rn as TrackerDoctorReport, Rt as MonitoringAssertionComparison, S as BoardStatus, Sn as ServerInspection, St as IssuePriority, T as BoardTemplate, Tn as SourceFile, Tt as IssueSelector, U as DeployScriptResult, Un as WebhookDashboardInfo, Ut as MoveReport, V as DeployFunctionResult, Vn as Tunnels, Vt as MonitoringCheckInput, W as Deployment, Wn as Wiki, Wt as NormalizedAuthUser, X as DiscussionPatch, Xt as NotificationsEveryoneLayout, Y as DeploymentTrigger, Yt as NotificationsDelivery, Z as DiscussionPost, Zt as NotificationsForumTag, _ as BoardFieldType, _n as RepoSettings, _t as ImportResult, a as REQUIRED_CAPABILITIES, an as NotificationsPrsFeed, at as EnsureReport, b as BoardRule, bn as SecretScope, bt as IssueComment, c as AddedItem, cn as NotificationsSignedIn, ct as EnsuredDiscussion, d as AuthDescription, dn as ParseWebhookInput, dt as Environment, en as NotificationsMember, et as DnsRecordRequest, f as AuthEvent, fn as Projects, ft as EnvironmentReviewer, g as BoardField, gn as RepoRef, gt as ImportOptions, h as AuthUser, hn as RelayState, ht as ExportInfo, i as ProviderApiError, in as NotificationsPinnedLayout, it as EnsureRelayResult, j as CardinalityFor, jn as Storage, jt as LogsDataset, k as CapabilityKey, kn as SourceTeamMember, kt as LifecycleSlot, l as Analytics, ln as NotificationsWelcomeLayout, lt as EnsuredResource, m as AuthIdentity, mn as PullRequest, mt as Errors, n as ElevationRequiredError, nn as NotificationsOnboardingLayout, nt as EnsureDiscussionInput, o as WebhookVerificationError, on as NotificationsServerLayout, ot as EnsureResult, p as AuthEventType, pn as ProviderIdentity, pt as Environments, q as DeploymentRecord, qn as WorkerScriptState, qt as NotificationsApplicationLayout, r as MissingTokenError, rn as NotificationsPicture, rt as EnsureRelayInput, s as isMulti, sn as NotificationsSignIn, st as EnsureWebhookResult, t as CARDINALITY, tn as NotificationsMonitoringFeed, tt as DnsRecordType, u as Auth, un as PagesConfig, ut as EnsuredTunnel, v as BoardItem, vn as ResolvedCapability, vt as InspectRelayInput, w as BoardSummary, wn as SourceBranch, wt as IssueSearchFilter, x as BoardState, xn as Secrets, xt as IssueOrder, y as BoardItemInput, yn as Ruleset, yt as Issue, z as CredentialsInspection, zn as TrackerUser, zt as MonitoringAssertionSource } from "./index-
|
|
2
|
-
import { A as
|
|
1
|
+
import { $ as DnsRecord, $t as NotificationsLinksLayout, A as Cardinality, An as StatusCategory, At as Logs, B as DeployFunctionConfig, Bn as TunnelRoute, Bt as MonitoringCheck, C as BoardStatusCategory, Cn as Source, Ct as IssueRecord, D as BoardView, Dn as SourceRulesetDetail, Dt as LabelDef, E as BoardTemplateFile, En as SourceRepoInfo, Et as Issues, F as CiRunStatus, Fn as TeamPermission, Ft as MonitoringAlertChannelState, G as DeploymentProject, Gn as WikiProvisionOpts, Gt as Notifications, H as DeployScriptConfig, Hn as Vault, Ht as MonitoringHttpMethod, I as ConnectionStringOptions, In as Tooling, It as MonitoringAlertSettings, J as DeploymentTarget, Jn as Workers, Jt as NotificationsChannelLayout, K as DeploymentProjectSettings, Kn as WikiProxyConfig, Kt as NotificationsAccess, L as CreateAuthUserInput, Ln as ToolingDoctorReport, Lt as MonitoringAssertion, M as Ci, Mn as StorageBranch, Mt as Monitoring, N as CiRun, Nn as SyncResult, Nt as MonitoringAlertChannelInput, O as CapabilityImpls, On as SourceSecurity, Ot as LifecycleResult, P as CiRunFilter, Pn as TeamEntry, Pt as MonitoringAlertChannelResult, Q as Dns, Qt as NotificationsLayout, R as Credentials, Rn as TrackerDoctorReport, Rt as MonitoringAssertionComparison, S as BoardStatus, Sn as ServerInspection, St as IssuePriority, T as BoardTemplate, Tn as SourceFile, Tt as IssueSelector, U as DeployScriptResult, Un as WebhookDashboardInfo, Ut as MoveReport, V as DeployFunctionResult, Vn as Tunnels, Vt as MonitoringCheckInput, W as Deployment, Wn as Wiki, Wt as NormalizedAuthUser, X as DiscussionPatch, Xt as NotificationsEveryoneLayout, Y as DeploymentTrigger, Yt as NotificationsDelivery, Z as DiscussionPost, Zt as NotificationsForumTag, _ as BoardFieldType, _n as RepoSettings, _t as ImportResult, a as REQUIRED_CAPABILITIES, an as NotificationsPrsFeed, at as EnsureReport, b as BoardRule, bn as SecretScope, bt as IssueComment, c as AddedItem, cn as NotificationsSignedIn, ct as EnsuredDiscussion, d as AuthDescription, dn as ParseWebhookInput, dt as Environment, en as NotificationsMember, et as DnsRecordRequest, f as AuthEvent, fn as Projects, ft as EnvironmentReviewer, g as BoardField, gn as RepoRef, gt as ImportOptions, h as AuthUser, hn as RelayState, ht as ExportInfo, i as ProviderApiError, in as NotificationsPinnedLayout, it as EnsureRelayResult, j as CardinalityFor, jn as Storage, jt as LogsDataset, k as CapabilityKey, kn as SourceTeamMember, kt as LifecycleSlot, l as Analytics, ln as NotificationsWelcomeLayout, lt as EnsuredResource, m as AuthIdentity, mn as PullRequest, mt as Errors, n as ElevationRequiredError, nn as NotificationsOnboardingLayout, nt as EnsureDiscussionInput, o as WebhookVerificationError, on as NotificationsServerLayout, ot as EnsureResult, p as AuthEventType, pn as ProviderIdentity, pt as Environments, q as DeploymentRecord, qn as WorkerScriptState, qt as NotificationsApplicationLayout, r as MissingTokenError, rn as NotificationsPicture, rt as EnsureRelayInput, s as isMulti, sn as NotificationsSignIn, st as EnsureWebhookResult, t as CARDINALITY, tn as NotificationsMonitoringFeed, tt as DnsRecordType, u as Auth, un as PagesConfig, ut as EnsuredTunnel, v as BoardItem, vn as ResolvedCapability, vt as InspectRelayInput, w as BoardSummary, wn as SourceBranch, wt as IssueSearchFilter, x as BoardState, xn as Secrets, xt as IssueOrder, y as BoardItemInput, yn as Ruleset, yt as Issue, z as CredentialsInspection, zn as TrackerUser, zt as MonitoringAssertionSource } from "./index-DbptTVsV.mjs";
|
|
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-CLi7Ceta.mjs";
|
|
3
3
|
import { AuthError, ResolveTokenConfig as ResolveTokenConfig$1, ResolveTokenInput, ResolveTokenInput as ResolveTokenInput$1, resolveValue } from "@theholocron/kyber/secrets";
|
|
4
4
|
import { CheckRow } from "@theholocron/kyber/ui";
|
|
5
5
|
import { RequestOptions, RestClient, RestClientConfig, createRestClient } from "@theholocron/http-client";
|
|
@@ -484,4 +484,4 @@ export declare const SHARED_AREAS: readonly ["org"];
|
|
|
484
484
|
* is a `ConfigError` naming both (no merge, no precedence). With no area files the config is returned as it was.
|
|
485
485
|
*/
|
|
486
486
|
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, 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 };
|
|
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, 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 };
|
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-
|
|
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-BzAs0RR1.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,2 +1,2 @@
|
|
|
1
|
-
import { $ as DnsRecord, $t as NotificationsLinksLayout, A as Cardinality, An as StatusCategory, At as Logs, B as DeployFunctionConfig, Bn as TunnelRoute, Bt as MonitoringCheck, C as BoardStatusCategory, Cn as Source, Ct as IssueRecord, D as BoardView, Dn as SourceRulesetDetail, Dt as LabelDef, E as BoardTemplateFile, En as SourceRepoInfo, Et as Issues, F as CiRunStatus, Fn as TeamPermission, Ft as MonitoringAlertChannelState, G as DeploymentProject, Gn as WikiProvisionOpts, Gt as Notifications, H as DeployScriptConfig, Hn as Vault, Ht as MonitoringHttpMethod, I as ConnectionStringOptions, In as Tooling, It as MonitoringAlertSettings, J as DeploymentTarget, Jn as Workers, Jt as NotificationsChannelLayout, K as DeploymentProjectSettings, Kn as WikiProxyConfig, Kt as NotificationsAccess, L as CreateAuthUserInput, Ln as ToolingDoctorReport, Lt as MonitoringAssertion, M as Ci, Mn as StorageBranch, Mt as Monitoring, N as CiRun, Nn as SyncResult, Nt as MonitoringAlertChannelInput, O as CapabilityImpls, On as SourceSecurity, Ot as LifecycleResult, P as CiRunFilter, Pn as TeamEntry, Pt as MonitoringAlertChannelResult, Q as Dns, Qt as NotificationsLayout, R as Credentials, Rn as TrackerDoctorReport, Rt as MonitoringAssertionComparison, S as BoardStatus, Sn as ServerInspection, St as IssuePriority, T as BoardTemplate, Tn as SourceFile, Tt as IssueSelector, U as DeployScriptResult, Un as WebhookDashboardInfo, Ut as MoveReport, V as DeployFunctionResult, Vn as Tunnels, Vt as MonitoringCheckInput, W as Deployment, Wn as Wiki, Wt as NormalizedAuthUser, X as DiscussionPatch, Xt as NotificationsEveryoneLayout, Y as DeploymentTrigger, Yt as NotificationsDelivery, Z as DiscussionPost, Zt as NotificationsForumTag, _ as BoardFieldType, _n as RepoSettings, _t as ImportResult, a as REQUIRED_CAPABILITIES, an as NotificationsPrsFeed, at as EnsureReport, b as BoardRule, bn as SecretScope, bt as IssueComment, c as AddedItem, cn as NotificationsSignedIn, ct as EnsuredDiscussion, d as AuthDescription, dn as ParseWebhookInput, dt as Environment, en as NotificationsMember, et as DnsRecordRequest, f as AuthEvent, fn as Projects, ft as EnvironmentReviewer, g as BoardField, gn as RepoRef, gt as ImportOptions, h as AuthUser, hn as RelayState, ht as ExportInfo, i as ProviderApiError, in as NotificationsPinnedLayout, it as EnsureRelayResult, j as CardinalityFor, jn as Storage, jt as LogsDataset, k as CapabilityKey, kn as SourceTeamMember, kt as LifecycleSlot, l as Analytics, ln as NotificationsWelcomeLayout, lt as EnsuredResource, m as AuthIdentity, mn as PullRequest, mt as Errors, n as ElevationRequiredError, nn as NotificationsOnboardingLayout, nt as EnsureDiscussionInput, o as WebhookVerificationError, on as NotificationsServerLayout, ot as EnsureResult, p as AuthEventType, pn as ProviderIdentity, pt as Environments, q as DeploymentRecord, qn as WorkerScriptState, qt as NotificationsApplicationLayout, r as MissingTokenError, rn as NotificationsPicture, rt as EnsureRelayInput, s as isMulti, sn as NotificationsSignIn, st as EnsureWebhookResult, t as CARDINALITY, tn as NotificationsMonitoringFeed, tt as DnsRecordType, u as Auth, un as PagesConfig, ut as EnsuredTunnel, v as BoardItem, vn as ResolvedCapability, vt as InspectRelayInput, w as BoardSummary, wn as SourceBranch, wt as IssueSearchFilter, x as BoardState, xn as Secrets, xt as IssueOrder, y as BoardItemInput, yn as Ruleset, yt as Issue, z as CredentialsInspection, zn as TrackerUser, zt as MonitoringAssertionSource } from "../index-
|
|
1
|
+
import { $ as DnsRecord, $t as NotificationsLinksLayout, A as Cardinality, An as StatusCategory, At as Logs, B as DeployFunctionConfig, Bn as TunnelRoute, Bt as MonitoringCheck, C as BoardStatusCategory, Cn as Source, Ct as IssueRecord, D as BoardView, Dn as SourceRulesetDetail, Dt as LabelDef, E as BoardTemplateFile, En as SourceRepoInfo, Et as Issues, F as CiRunStatus, Fn as TeamPermission, Ft as MonitoringAlertChannelState, G as DeploymentProject, Gn as WikiProvisionOpts, Gt as Notifications, H as DeployScriptConfig, Hn as Vault, Ht as MonitoringHttpMethod, I as ConnectionStringOptions, In as Tooling, It as MonitoringAlertSettings, J as DeploymentTarget, Jn as Workers, Jt as NotificationsChannelLayout, K as DeploymentProjectSettings, Kn as WikiProxyConfig, Kt as NotificationsAccess, L as CreateAuthUserInput, Ln as ToolingDoctorReport, Lt as MonitoringAssertion, M as Ci, Mn as StorageBranch, Mt as Monitoring, N as CiRun, Nn as SyncResult, Nt as MonitoringAlertChannelInput, O as CapabilityImpls, On as SourceSecurity, Ot as LifecycleResult, P as CiRunFilter, Pn as TeamEntry, Pt as MonitoringAlertChannelResult, Q as Dns, Qt as NotificationsLayout, R as Credentials, Rn as TrackerDoctorReport, Rt as MonitoringAssertionComparison, S as BoardStatus, Sn as ServerInspection, St as IssuePriority, T as BoardTemplate, Tn as SourceFile, Tt as IssueSelector, U as DeployScriptResult, Un as WebhookDashboardInfo, Ut as MoveReport, V as DeployFunctionResult, Vn as Tunnels, Vt as MonitoringCheckInput, W as Deployment, Wn as Wiki, Wt as NormalizedAuthUser, X as DiscussionPatch, Xt as NotificationsEveryoneLayout, Y as DeploymentTrigger, Yt as NotificationsDelivery, Z as DiscussionPost, Zt as NotificationsForumTag, _ as BoardFieldType, _n as RepoSettings, _t as ImportResult, a as REQUIRED_CAPABILITIES, an as NotificationsPrsFeed, at as EnsureReport, b as BoardRule, bn as SecretScope, bt as IssueComment, c as AddedItem, cn as NotificationsSignedIn, ct as EnsuredDiscussion, d as AuthDescription, dn as ParseWebhookInput, dt as Environment, en as NotificationsMember, et as DnsRecordRequest, f as AuthEvent, fn as Projects, ft as EnvironmentReviewer, g as BoardField, gn as RepoRef, gt as ImportOptions, h as AuthUser, hn as RelayState, ht as ExportInfo, i as ProviderApiError, in as NotificationsPinnedLayout, it as EnsureRelayResult, j as CardinalityFor, jn as Storage, jt as LogsDataset, k as CapabilityKey, kn as SourceTeamMember, kt as LifecycleSlot, l as Analytics, ln as NotificationsWelcomeLayout, lt as EnsuredResource, m as AuthIdentity, mn as PullRequest, mt as Errors, n as ElevationRequiredError, nn as NotificationsOnboardingLayout, nt as EnsureDiscussionInput, o as WebhookVerificationError, on as NotificationsServerLayout, ot as EnsureResult, p as AuthEventType, pn as ProviderIdentity, pt as Environments, q as DeploymentRecord, qn as WorkerScriptState, qt as NotificationsApplicationLayout, r as MissingTokenError, rn as NotificationsPicture, rt as EnsureRelayInput, s as isMulti, sn as NotificationsSignIn, st as EnsureWebhookResult, t as CARDINALITY, tn as NotificationsMonitoringFeed, tt as DnsRecordType, u as Auth, un as PagesConfig, ut as EnsuredTunnel, v as BoardItem, vn as ResolvedCapability, vt as InspectRelayInput, w as BoardSummary, wn as SourceBranch, wt as IssueSearchFilter, x as BoardState, xn as Secrets, xt as IssueOrder, y as BoardItemInput, yn as Ruleset, yt as Issue, z as CredentialsInspection, zn as TrackerUser, zt as MonitoringAssertionSource } from "../index-DbptTVsV.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, 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 { n as compose, o as Capability, s as ComposedPreset } from "./config-system-
|
|
1
|
+
import { n as compose, o as Capability, s as ComposedPreset } from "./config-system-CLi7Ceta.mjs";
|
|
2
2
|
/** Options for the audit capability. */
|
|
3
3
|
interface AuditOptions {
|
|
4
4
|
/** Enable Knip unused-export analysis (default: false). */
|
package/dist/presets.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/cli",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.395",
|
|
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/
|
|
64
|
-
"@theholocron/
|
|
62
|
+
"@theholocron/astromech": "5.0.0-alpha.395",
|
|
63
|
+
"@theholocron/datapad": "5.0.0-alpha.395",
|
|
64
|
+
"@theholocron/dagobah": "5.0.0-alpha.395",
|
|
65
65
|
"@theholocron/fs-utils": "^1.17.0-alpha.3",
|
|
66
|
+
"@theholocron/env-utils": "^1.17.0-alpha.3",
|
|
66
67
|
"@theholocron/git-utils": "^1.17.0-alpha.3",
|
|
67
|
-
"@theholocron/github-client": "^1.58.0-alpha.
|
|
68
|
-
"@theholocron/http-client": "^1.58.0-alpha.
|
|
69
|
-
"@theholocron/kyber": "5.0.0-alpha.394",
|
|
68
|
+
"@theholocron/github-client": "^1.58.0-alpha.27",
|
|
69
|
+
"@theholocron/http-client": "^1.58.0-alpha.27",
|
|
70
70
|
"@theholocron/json-utils": "^1.17.0-alpha.3",
|
|
71
|
+
"@theholocron/kyber": "5.0.0-alpha.395",
|
|
71
72
|
"@theholocron/misc-utils": "^1.17.0-alpha.3",
|
|
72
|
-
"@theholocron/observability": "^0.7.0-alpha.3",
|
|
73
73
|
"@theholocron/pkg-utils": "^1.17.0-alpha.3",
|
|
74
|
-
"@theholocron/
|
|
74
|
+
"@theholocron/observability": "^0.7.0-alpha.3"
|
|
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.15",
|
|
88
|
-
"@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.15",
|
|
89
87
|
"@theholocron/eslint-config": "^8.9.0-alpha.15",
|
|
90
|
-
"@theholocron/vitest-config": "^8.9.0-alpha.15"
|
|
88
|
+
"@theholocron/vitest-config": "^8.9.0-alpha.15",
|
|
89
|
+
"@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.15",
|
|
90
|
+
"@theholocron/tsconfig": "^8.9.0-alpha.15"
|
|
91
91
|
},
|
|
92
92
|
"engines": {
|
|
93
93
|
"node": ">=22.0.0"
|
|
@@ -99,6 +99,7 @@
|
|
|
99
99
|
"build": "tsdown",
|
|
100
100
|
"lint:code": "eslint .",
|
|
101
101
|
"start": "node ./dist/cli.mjs",
|
|
102
|
+
"start:source": "tsx --import ./src/source-run/register.ts ./src/cli/cli.ts",
|
|
102
103
|
"test:unit": "vitest run --coverage",
|
|
103
104
|
"test:watch": "vitest",
|
|
104
105
|
"typecheck": "tsc --noEmit"
|