@theholocron/cli 5.0.0-alpha.394 → 5.0.0-alpha.396

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.
@@ -1,4 +1,4 @@
1
- import { Pn as TeamEntry, k as CapabilityKey, un as PagesConfig } from "./index-nzzQsd0r.mjs";
1
+ import { In as TeamEntry, fn as PagesConfig, k as CapabilityKey } from "./index-DbbyDvZi.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,25 @@ interface GitHubAppConfig {
308
308
  */
309
309
  environment: string;
310
310
  }
311
+ /**
312
+ * The `ideas` block: the state that files an idea as an issue. Where the ideas are kept is the `ideas` provider's
313
+ * (`providers.ideas: ["obsidian", { dir }]`), not this block's.
314
+ */
315
+ interface IdeasConfig {
316
+ /**
317
+ * The folder of Markdown notes (an Obsidian vault). May start with `~` for the home folder. `HOLOCRON_IDEAS_DIR`
318
+ * overrides it, since the path differs per machine.
319
+ *
320
+ * @deprecated Set `dir` on the provider instead: `providers: { ideas: ["obsidian", { dir }] }`. Read only when
321
+ * `providers.ideas` is absent, as if it were `["obsidian", { dir }]`; `providers.ideas` wins when both are set.
322
+ */
323
+ dir?: string;
324
+ /** The names of the note states, so a repo can use its own words. */
325
+ states?: {
326
+ /** The `status:` that means "file this idea" (default `in-progress`). */
327
+ file?: string;
328
+ };
329
+ }
311
330
  /** The `dev` block: how `holocron dev` runs this directory's application locally behind a development tunnel. */
312
331
  interface DevConfig {
313
332
  /**
@@ -705,6 +724,14 @@ interface HolocronConfig {
705
724
  * [{ name: "Sentinel", manifest: "apps/sentinel/github-app.manifest.json", environment: "Sentinel" }]
706
725
  */
707
726
  githubApps?: GitHubAppConfig[];
727
+ /**
728
+ * The state that files an idea as an issue, for `holocron ideas sync`. Where the ideas are kept is
729
+ * `providers.ideas`; the older `ideas.dir` is deprecated and still read when `providers.ideas` is absent.
730
+ *
731
+ * @example
732
+ * { states: { file: "in-progress" } }
733
+ */
734
+ ideas?: IdeasConfig;
708
735
  /**
709
736
  * Structured-logging config. Only the level belongs here — Axiom
710
737
  * credentials come from env vars, never a committed file.
@@ -815,6 +842,8 @@ interface ResolvedHolocronConfig {
815
842
  dev?: DevConfig;
816
843
  /** The GitHub App instances `doctor github-app` checks, validated by `resolveConfig`. */
817
844
  githubApps?: GitHubAppConfig[];
845
+ /** The idea notes folder and filing state, validated by `resolveConfig`. */
846
+ ideas?: IdeasConfig;
818
847
  /** Logging settings. */
819
848
  log?: LogConfig;
820
849
  /** Telemetry settings. */
@@ -926,4 +955,4 @@ declare const loadConfig: (cwd: string) => Promise<LoadedConfig>;
926
955
  * const preset = compose(node(), nextjs());
927
956
  */
928
957
  declare const compose: (...args: (Capability | Capability[])[]) => ComposedPreset;
929
- export { RawProviderEntry as A, ResolvedHolocronConfig as B, EslintConfig as C, MultiEntry as D, LogConfig as E, RepoSecrets as F, StorybookDeployProject as G, ResolvedProvidersConfig as H, RepoSecretsSync as I, WorkflowWithConfig as J, TaskEntryConfig as K, RepoValidationConfig as L, RepoConfig as M, RepoProperties as N, OrgConfig as O, RepoProtection as P, RepoVariables as R, EnvConfig as S, HolocronConfig as T, ResolvedTuple as U, ResolvedProviderEntry as V, SingleEntry as W, CredentialsConfig as _, LoadedConfig as a, DocsConfig as b, TaskEntry as c, resolveConfig as d, resolveEntry as f, ChromaticProjectConfig as g, CapabilityConfigPackage as h, loadConfig as i, RawProvidersConfig as j, ProviderOptions as k, ConfigError$1 as l, AppConfig as m, compose as n, Capability as o, resolvePluginPackage as p, TelemetryConfig as q, defineConfig as r, ComposedPreset as s, ConfigFileError as t, credentialsEnvironment as u, DevConfig as v, GitHubAppConfig as w, DoctorConfig as x, DevServeConfig as y, RepoVariablesSync as z };
958
+ 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 };
@@ -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: { states?, dir? (deprecated) }");
122
+ if (ideas.dir !== void 0 && !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
@@ -11,7 +11,7 @@ import { ProviderApiError } from "@theholocron/http-client";
11
11
  * See `docs/wiki/specifications/tech-architecture.spec.md` for the design narrative
12
12
  * (issue: #74).
13
13
  */
14
- type CapabilityKey = "source" | "ci" | "secrets" | "environments" | "issues" | "deployment" | "storage" | "auth" | "vault" | "dns" | "tooling" | "notifications" | "analytics" | "errors" | "logs" | "monitoring" | "wiki" | "workers" | "tunnels" | "credentials" | "projects";
14
+ type CapabilityKey = "source" | "ci" | "secrets" | "environments" | "issues" | "deployment" | "storage" | "auth" | "vault" | "dns" | "tooling" | "notifications" | "analytics" | "errors" | "logs" | "monitoring" | "wiki" | "workers" | "tunnels" | "credentials" | "projects" | "ideas";
15
15
  /** How many providers a capability resolves to: one (`"single"`) or several at once (`"many"`). */
16
16
  type Cardinality = "single" | "many";
17
17
  /** What every capability implementation carries: which capability it is and which provider backs it. */
@@ -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 {
@@ -2759,6 +2764,47 @@ interface Projects extends ProviderIdentity {
2759
2764
  boards: number;
2760
2765
  }>;
2761
2766
  }
2767
+ /** One idea as a provider holds it, in a shape no provider owns. */
2768
+ interface IdeaRecord {
2769
+ /** The provider's address for the idea (a path, for Obsidian). Opaque to the CLI; the hidden issue marker carries it. */
2770
+ key: string;
2771
+ /** The idea's title. */
2772
+ title: string;
2773
+ /** The idea's text, which becomes the body of the issue. */
2774
+ body: string;
2775
+ /** The idea's state, in the repo's own words (`seed`, `in-progress`, ...); empty when it has none. */
2776
+ status: string;
2777
+ /** The issue the idea was filed as, in the tracker's own syntax; absent when it is not filed. */
2778
+ issue?: string;
2779
+ /**
2780
+ * What the provider cannot put in an issue body (an embedded image or file, another note). The command reports an
2781
+ * idea that has any and does not file it.
2782
+ */
2783
+ attachments: string[];
2784
+ /**
2785
+ * Set when the provider could not read the idea; the other fields are then empty. The command reports it as a
2786
+ * failing row and goes on with the rest.
2787
+ */
2788
+ error?: string;
2789
+ }
2790
+ /**
2791
+ * Where ideas are kept before they are issues: an inbox the process starts from (`idea -> issue -> spec -> ...`). A
2792
+ * folder of notes, a forum or a database is one provider, so `holocron ideas sync` reads through this and files through
2793
+ * `issues`, and a change of place is a provider entry and a plugin and nothing else. Optional: a repo with no `ideas`
2794
+ * provider is not affected.
2795
+ */
2796
+ interface Ideas extends ProviderIdentity {
2797
+ /** Identifies this provider as the `ideas` capability. */
2798
+ readonly key: "ideas";
2799
+ /** Every idea the provider holds, in a provider-neutral shape. Throws when the provider cannot reach its store. */
2800
+ list(): Promise<IdeaRecord[]>;
2801
+ /** Moves an idea to a state. */
2802
+ setStatus(key: string, status: string): Promise<void>;
2803
+ /** Records the issue an idea was filed as, so the step runs once. */
2804
+ markFiled(key: string, issue: string): Promise<void>;
2805
+ /** Takes a filed idea out of the inbox. Optional: the CLI never deletes, so a provider may leave it to an app. */
2806
+ retire?(key: string): Promise<void>;
2807
+ }
2762
2808
  /** Maps each capability key to the interface its provider implements. */
2763
2809
  interface CapabilityImpls {
2764
2810
  /** The `source` provider. */
@@ -2803,6 +2849,8 @@ interface CapabilityImpls {
2803
2849
  credentials: Credentials;
2804
2850
  /** The `projects` provider. */
2805
2851
  projects: Projects;
2852
+ /** The `ideas` provider. */
2853
+ ideas: Ideas;
2806
2854
  }
2807
2855
  /** The cardinality (`"single"` or `"many"`) of the capability `K`. */
2808
2856
  type CardinalityFor<K extends CapabilityKey> = (typeof CARDINALITY)[K];
@@ -2850,6 +2898,8 @@ declare const CARDINALITY: {
2850
2898
  readonly tunnels: "single";
2851
2899
  /** `projects` has exactly one provider. */
2852
2900
  readonly projects: "single";
2901
+ /** `ideas` has exactly one provider. Optional: no repo has to declare it. */
2902
+ readonly ideas: "single";
2853
2903
  /** `credentials` can have several providers, tried in order. */
2854
2904
  readonly credentials: "many";
2855
2905
  };
@@ -2913,4 +2963,4 @@ declare class WebhookVerificationError extends Error {
2913
2963
  }
2914
2964
  /** Whether `key` is a capability that can have several providers active at once. */
2915
2965
  declare function isMulti<K extends CapabilityKey>(key: K): CardinalityFor<K> extends "many" ? true : false;
2916
- export { DnsRecord as $, NotificationsLinksLayout as $t, Cardinality as A, StatusCategory as An, Logs as At, DeployFunctionConfig as B, TunnelRoute as Bn, MonitoringCheck as Bt, BoardStatusCategory as C, Source as Cn, IssueRecord as Ct, BoardView as D, SourceRulesetDetail as Dn, LabelDef as Dt, BoardTemplateFile as E, SourceRepoInfo as En, Issues as Et, CiRunStatus as F, TeamPermission as Fn, MonitoringAlertChannelState as Ft, DeploymentProject as G, WikiProvisionOpts as Gn, Notifications as Gt, DeployScriptConfig as H, Vault as Hn, MonitoringHttpMethod as Ht, ConnectionStringOptions as I, Tooling as In, MonitoringAlertSettings as It, DeploymentTarget as J, Workers as Jn, NotificationsChannelLayout as Jt, DeploymentProjectSettings as K, WikiProxyConfig as Kn, NotificationsAccess as Kt, CreateAuthUserInput as L, ToolingDoctorReport as Ln, MonitoringAssertion as Lt, Ci as M, StorageBranch as Mn, Monitoring as Mt, CiRun as N, SyncResult as Nn, MonitoringAlertChannelInput as Nt, CapabilityImpls as O, SourceSecurity as On, LifecycleResult as Ot, CiRunFilter as P, TeamEntry as Pn, MonitoringAlertChannelResult as Pt, Dns as Q, NotificationsLayout as Qt, Credentials as R, TrackerDoctorReport as Rn, MonitoringAssertionComparison as Rt, BoardStatus as S, ServerInspection as Sn, IssuePriority as St, BoardTemplate as T, SourceFile as Tn, IssueSelector as Tt, DeployScriptResult as U, WebhookDashboardInfo as Un, MoveReport as Ut, DeployFunctionResult as V, Tunnels as Vn, MonitoringCheckInput as Vt, Deployment as W, Wiki as Wn, NormalizedAuthUser as Wt, DiscussionPatch as X, NotificationsEveryoneLayout as Xt, DeploymentTrigger as Y, NotificationsDelivery as Yt, DiscussionPost as Z, NotificationsForumTag as Zt, BoardFieldType as _, RepoSettings as _n, ImportResult as _t, REQUIRED_CAPABILITIES as a, NotificationsPrsFeed as an, EnsureReport as at, BoardRule as b, SecretScope as bn, IssueComment as bt, AddedItem as c, NotificationsSignedIn as cn, EnsuredDiscussion as ct, AuthDescription as d, ParseWebhookInput as dn, Environment as dt, NotificationsMember as en, DnsRecordRequest as et, AuthEvent as f, Projects as fn, EnvironmentReviewer as ft, BoardField as g, RepoRef as gn, ImportOptions as gt, AuthUser as h, RelayState as hn, ExportInfo as ht, ProviderApiError as i, NotificationsPinnedLayout as in, EnsureRelayResult as it, CardinalityFor as j, Storage as jn, LogsDataset as jt, CapabilityKey as k, SourceTeamMember as kn, LifecycleSlot as kt, Analytics as l, NotificationsWelcomeLayout as ln, EnsuredResource as lt, AuthIdentity as m, PullRequest as mn, Errors as mt, ElevationRequiredError as n, NotificationsOnboardingLayout as nn, EnsureDiscussionInput as nt, WebhookVerificationError as o, NotificationsServerLayout as on, EnsureResult as ot, AuthEventType as p, ProviderIdentity as pn, Environments as pt, DeploymentRecord as q, WorkerScriptState as qn, NotificationsApplicationLayout as qt, MissingTokenError as r, NotificationsPicture as rn, EnsureRelayInput as rt, isMulti as s, NotificationsSignIn as sn, EnsureWebhookResult as st, CARDINALITY as t, NotificationsMonitoringFeed as tn, DnsRecordType as tt, Auth as u, PagesConfig as un, EnsuredTunnel as ut, BoardItem as v, ResolvedCapability as vn, InspectRelayInput as vt, BoardSummary as w, SourceBranch as wn, IssueSearchFilter as wt, BoardState as x, Secrets as xn, IssueOrder as xt, BoardItemInput as y, Ruleset as yn, Issue as yt, CredentialsInspection as z, TrackerUser as zn, MonitoringAssertionSource as zt };
2966
+ export { DnsRecord as $, NotificationsForumTag as $t, Cardinality as A, SourceSecurity as An, LifecycleResult as At, DeployFunctionConfig as B, TrackerDoctorReport as Bn, MonitoringAssertionComparison as Bt, BoardStatusCategory as C, Secrets as Cn, IssueOrder as Ct, BoardView as D, SourceFile as Dn, IssueSelector as Dt, BoardTemplateFile as E, SourceBranch as En, IssueSearchFilter as Et, CiRunStatus as F, SyncResult as Fn, MonitoringAlertChannelInput as Ft, DeploymentProject as G, WebhookDashboardInfo as Gn, MoveReport as Gt, DeployScriptConfig as H, TunnelRoute as Hn, MonitoringCheck as Ht, ConnectionStringOptions as I, TeamEntry as In, MonitoringAlertChannelResult as It, DeploymentTarget as J, WikiProxyConfig as Jn, NotificationsAccess as Jt, DeploymentProjectSettings as K, Wiki as Kn, NormalizedAuthUser as Kt, CreateAuthUserInput as L, TeamPermission as Ln, MonitoringAlertChannelState as Lt, Ci as M, StatusCategory as Mn, Logs as Mt, CiRun as N, Storage as Nn, LogsDataset as Nt, CapabilityImpls as O, SourceRepoInfo as On, Issues as Ot, CiRunFilter as P, StorageBranch as Pn, Monitoring as Pt, Dns as Q, NotificationsEveryoneLayout as Qt, Credentials as R, Tooling as Rn, MonitoringAlertSettings as Rt, BoardStatus as S, SecretScope as Sn, IssueComment as St, BoardTemplate as T, Source as Tn, IssueRecord as Tt, DeployScriptResult as U, Tunnels as Un, MonitoringCheckInput as Ut, DeployFunctionResult as V, TrackerUser as Vn, MonitoringAssertionSource as Vt, Deployment as W, Vault as Wn, MonitoringHttpMethod as Wt, DiscussionPatch as X, Workers as Xn, NotificationsChannelLayout as Xt, DeploymentTrigger as Y, WorkerScriptState as Yn, NotificationsApplicationLayout as Yt, DiscussionPost as Z, NotificationsDelivery as Zt, BoardFieldType as _, RelayState as _n, Ideas as _t, REQUIRED_CAPABILITIES as a, NotificationsPicture as an, EnsureReport as at, BoardRule as b, ResolvedCapability as bn, InspectRelayInput as bt, AddedItem as c, NotificationsServerLayout as cn, EnsuredDiscussion as ct, AuthDescription as d, NotificationsWelcomeLayout as dn, Environment as dt, NotificationsLayout as en, DnsRecordRequest as et, AuthEvent as f, PagesConfig as fn, EnvironmentReviewer as ft, BoardField as g, PullRequest as gn, IdeaRecord as gt, AuthUser as h, ProviderIdentity as hn, ExportInfo as ht, ProviderApiError as i, NotificationsOnboardingLayout as in, EnsureRelayResult as it, CardinalityFor as j, SourceTeamMember as jn, LifecycleSlot as jt, CapabilityKey as k, SourceRulesetDetail as kn, LabelDef as kt, Analytics as l, NotificationsSignIn as ln, EnsuredResource as lt, AuthIdentity as m, Projects as mn, Errors as mt, ElevationRequiredError as n, NotificationsMember as nn, EnsureDiscussionInput as nt, WebhookVerificationError as o, NotificationsPinnedLayout as on, EnsureResult as ot, AuthEventType as p, ParseWebhookInput as pn, Environments as pt, DeploymentRecord as q, WikiProvisionOpts as qn, Notifications as qt, MissingTokenError as r, NotificationsMonitoringFeed as rn, EnsureRelayInput as rt, isMulti as s, NotificationsPrsFeed as sn, EnsureWebhookResult as st, CARDINALITY as t, NotificationsLinksLayout as tn, DnsRecordType as tt, Auth as u, NotificationsSignedIn as un, EnsuredTunnel as ut, BoardItem as v, RepoRef as vn, ImportOptions as vt, BoardSummary as w, ServerInspection as wn, IssuePriority as wt, BoardState as x, Ruleset as xn, Issue as xt, BoardItemInput as y, RepoSettings as yn, ImportResult as yt, CredentialsInspection as z, ToolingDoctorReport as zn, MonitoringAssertion as zt };
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-nzzQsd0r.mjs";
2
- import { A as RawProviderEntry, B as ResolvedHolocronConfig, C as EslintConfig, D as MultiEntry, E as LogConfig, F as RepoSecrets, G as StorybookDeployProject, H as ResolvedProvidersConfig, I as RepoSecretsSync, J as WorkflowWithConfig, K as TaskEntryConfig, L as RepoValidationConfig, M as RepoConfig, N as RepoProperties, O as OrgConfig, P as RepoProtection, R as RepoVariables, S as EnvConfig, T as HolocronConfig, U as ResolvedTuple, V as ResolvedProviderEntry, W as SingleEntry, _ as CredentialsConfig, a as LoadedConfig, b as DocsConfig, c as TaskEntry, d as resolveConfig, f as resolveEntry, g as ChromaticProjectConfig, h as CapabilityConfigPackage, i as loadConfig, j as RawProvidersConfig, k as ProviderOptions, l as ConfigError, m as AppConfig, n as compose, o as Capability, p as resolvePluginPackage, q as TelemetryConfig, r as defineConfig, s as ComposedPreset, t as ConfigFileError, u as credentialsEnvironment, v as DevConfig, w as GitHubAppConfig, x as DoctorConfig, y as DevServeConfig, z as RepoVariablesSync } from "./config-system-u0AcPQ77.mjs";
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-DbbyDvZi.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-CYv5GFIa.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, 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 };
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-BVYtgrmR.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-CeVFoOau.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-nzzQsd0r.mjs";
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 };
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-DbbyDvZi.mjs";
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 };
@@ -42,6 +42,8 @@ const CARDINALITY = {
42
42
  tunnels: "single",
43
43
  /** `projects` has exactly one provider. */
44
44
  projects: "single",
45
+ /** `ideas` has exactly one provider. Optional: no repo has to declare it. */
46
+ ideas: "single",
45
47
  /** `credentials` can have several providers, tried in order. */
46
48
  credentials: "many"
47
49
  };
@@ -1,4 +1,4 @@
1
- import { n as compose, o as Capability, s as ComposedPreset } from "./config-system-u0AcPQ77.mjs";
1
+ import { n as compose, o as Capability, s as ComposedPreset } from "./config-system-CYv5GFIa.mjs";
2
2
  /** Options for the audit capability. */
3
3
  interface AuditOptions {
4
4
  /** Enable Knip unused-export analysis (default: false). */
package/dist/presets.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as compose } from "./config-system-BVYtgrmR.mjs";
1
+ import { n as compose } from "./config-system-CeVFoOau.mjs";
2
2
  import { DEFAULT_ORG } from "@theholocron/astromech";
3
3
  // src/presets/capabilities/audit.ts
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/cli",
3
- "version": "5.0.0-alpha.394",
3
+ "version": "5.0.0-alpha.396",
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.394",
63
- "@theholocron/dagobah": "5.0.0-alpha.394",
62
+ "@theholocron/astromech": "5.0.0-alpha.396",
63
+ "@theholocron/dagobah": "5.0.0-alpha.396",
64
+ "@theholocron/datapad": "5.0.0-alpha.396",
64
65
  "@theholocron/env-utils": "^1.17.0-alpha.3",
65
66
  "@theholocron/fs-utils": "^1.17.0-alpha.3",
66
67
  "@theholocron/git-utils": "^1.17.0-alpha.3",
67
- "@theholocron/github-client": "^1.58.0-alpha.25",
68
- "@theholocron/http-client": "^1.58.0-alpha.25",
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.396",
71
72
  "@theholocron/misc-utils": "^1.17.0-alpha.3",
72
73
  "@theholocron/observability": "^0.7.0-alpha.3",
73
- "@theholocron/pkg-utils": "^1.17.0-alpha.3",
74
- "@theholocron/datapad": "5.0.0-alpha.394"
74
+ "@theholocron/pkg-utils": "^1.17.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
87
  "@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.15",
89
88
  "@theholocron/eslint-config": "^8.9.0-alpha.15",
90
- "@theholocron/vitest-config": "^8.9.0-alpha.15"
89
+ "@theholocron/vitest-config": "^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"