@theholocron/cli 5.0.0-alpha.18 → 5.0.0-alpha.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -600,6 +600,13 @@ declare function deriveStack(pkg: PackageJsonLike | null): string[];
600
600
  /** The provider capability keys actually wired in `providers: {}` — zero heuristics. */
601
601
  declare function deriveCapabilities(providers: ResolvedProvidersConfig | undefined): string[];
602
602
  declare function deriveCompliance(capabilities: readonly string[]): "compliant" | "non-compliant";
603
+ /**
604
+ * The Phase B refinement `deriveCompliance()`'s own doc comment names —
605
+ * *why* a repo is non-compliant, not just that it is. `[]` when compliant.
606
+ * Same `REQUIRED_BASELINE` `deriveCompliance()` checks against — one
607
+ * table, not two independently-maintained baselines.
608
+ */
609
+ declare function missingCapabilities(capabilities: readonly string[]): string[];
603
610
  /**
604
611
  * Reads each workspace package's actual `package.json` content (not just
605
612
  * `readWorkspacePackages()`'s `{ slug, name, dir }` — `deriveProfile()`'s
@@ -687,4 +694,4 @@ interface LoadedConfig {
687
694
  */
688
695
  declare function loadConfig(cwd: string): Promise<LoadedConfig>;
689
696
  //#endregion
690
- export { Analytics, AppConfig, Auth, AuthDescription, AuthError, AuthEvent, AuthEventType, AuthIdentity, AuthUser, CARDINALITY, Capability, CapabilityConfigPackage, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, ChromaticProjectConfig, Ci, CiRun, CiRunFilter, CiRunStatus, ComposedPreset, ConfigError, ConfigFileError, ConnectionStringOptions, CreateAuthUserInput, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, DeriveProfileInput, Dns, DnsRecord, DnsRecordType, DocsConfig, DoctorConfig, EnsureResult, EnvConfig, Environment, EnvironmentReviewer, Environments, Errors, FeatureResolverConfig, HolocronConfig, HolocronProfile, Issue, IssueSearchFilter, Issues, LabelDef, LifecycleResult, LifecycleSlot, LoadedConfig, LogConfig, Logs, MultiEntry, NormalizedAuthUser, Notifications, PackageJsonLike, PagesConfig, ParseWebhookInput, ProviderApiError, ProviderIdentity, ProviderOptions, PullRequest, REQUIRED_CAPABILITIES, RawProviderEntry, RawProvidersConfig, RepoConfig, RepoProperties, RepoProtection, RepoRef, RepoSettings, type RequestOptions, ResolveTokenConfig, type ResolveTokenInput, ResolvedCapability, ResolvedHolocronConfig, ResolvedProviderEntry, ResolvedProvidersConfig, ResolvedTuple, type RestClient, type RestClientConfig, Ruleset, SecretScope, Secrets, SingleEntry, Source, StatusCategory, Storage, StorageBranch, StorybookDeployProject, TaskEntryConfig, TeamEntry, TeamPermission, TelemetryConfig, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, Vault, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiDnsRecord, WikiProvisionOpts, WikiProxyConfig, Workers, WorkflowWithConfig, compose, createFeatureResolver, createResolveToken, createRestClient, defineConfig, deleteToken, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, getToken, isMulti, listStoredProviders, loadConfig, readWorkspacePackageJsons, resolveConfig, resolveEntry, resolvePluginPackage, setToken };
697
+ export { Analytics, AppConfig, Auth, AuthDescription, AuthError, AuthEvent, AuthEventType, AuthIdentity, AuthUser, CARDINALITY, Capability, CapabilityConfigPackage, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, ChromaticProjectConfig, Ci, CiRun, CiRunFilter, CiRunStatus, ComposedPreset, ConfigError, ConfigFileError, ConnectionStringOptions, CreateAuthUserInput, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, DeriveProfileInput, Dns, DnsRecord, DnsRecordType, DocsConfig, DoctorConfig, EnsureResult, EnvConfig, Environment, EnvironmentReviewer, Environments, Errors, FeatureResolverConfig, HolocronConfig, HolocronProfile, Issue, IssueSearchFilter, Issues, LabelDef, LifecycleResult, LifecycleSlot, LoadedConfig, LogConfig, Logs, MultiEntry, NormalizedAuthUser, Notifications, PackageJsonLike, PagesConfig, ParseWebhookInput, ProviderApiError, ProviderIdentity, ProviderOptions, PullRequest, REQUIRED_CAPABILITIES, RawProviderEntry, RawProvidersConfig, RepoConfig, RepoProperties, RepoProtection, RepoRef, RepoSettings, type RequestOptions, ResolveTokenConfig, type ResolveTokenInput, ResolvedCapability, ResolvedHolocronConfig, ResolvedProviderEntry, ResolvedProvidersConfig, ResolvedTuple, type RestClient, type RestClientConfig, Ruleset, SecretScope, Secrets, SingleEntry, Source, StatusCategory, Storage, StorageBranch, StorybookDeployProject, TaskEntryConfig, TeamEntry, TeamPermission, TelemetryConfig, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, Vault, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiDnsRecord, WikiProvisionOpts, WikiProxyConfig, Workers, WorkflowWithConfig, compose, createFeatureResolver, createResolveToken, createRestClient, defineConfig, deleteToken, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, getToken, isMulti, listStoredProviders, loadConfig, missingCapabilities, readWorkspacePackageJsons, resolveConfig, resolveEntry, resolvePluginPackage, setToken };
package/dist/index.mjs CHANGED
@@ -196,6 +196,15 @@ function deriveCompliance(capabilities) {
196
196
  return REQUIRED_BASELINE.every((key) => capabilities.includes(key)) ? "compliant" : "non-compliant";
197
197
  }
198
198
  /**
199
+ * The Phase B refinement `deriveCompliance()`'s own doc comment names —
200
+ * *why* a repo is non-compliant, not just that it is. `[]` when compliant.
201
+ * Same `REQUIRED_BASELINE` `deriveCompliance()` checks against — one
202
+ * table, not two independently-maintained baselines.
203
+ */
204
+ function missingCapabilities(capabilities) {
205
+ return REQUIRED_BASELINE.filter((key) => !capabilities.includes(key));
206
+ }
207
+ /**
199
208
  * Reads each workspace package's actual `package.json` content (not just
200
209
  * `readWorkspacePackages()`'s `{ slug, name, dir }` — `deriveProfile()`'s
201
210
  * `platform` detection needs `bin`, which that helper doesn't carry).
@@ -487,4 +496,4 @@ function parseGitRemoteUrl(url) {
487
496
  if (sshMatch) return sshMatch[1];
488
497
  }
489
498
  //#endregion
490
- export { AuthError, CARDINALITY, ConfigError, ConfigFileError, ProviderApiError, REQUIRED_CAPABILITIES, WebhookVerificationError, compose, createFeatureResolver, createResolveToken, createRestClient, defineConfig, deleteToken, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, getToken, isMulti, listStoredProviders, loadConfig, readWorkspacePackageJsons, resolveConfig, resolveEntry, resolvePluginPackage, setToken };
499
+ export { AuthError, CARDINALITY, ConfigError, ConfigFileError, ProviderApiError, REQUIRED_CAPABILITIES, WebhookVerificationError, compose, createFeatureResolver, createResolveToken, createRestClient, defineConfig, deleteToken, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, getToken, isMulti, listStoredProviders, loadConfig, missingCapabilities, readWorkspacePackageJsons, resolveConfig, resolveEntry, resolvePluginPackage, setToken };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/cli",
3
- "version": "5.0.0-alpha.18",
3
+ "version": "5.0.0-alpha.19",
4
4
  "description": "The Holocron CLI - a pluggable, capability-based orchestrator for spinning up and operating software projects.",
5
5
  "keywords": [
6
6
  "cli",
@@ -47,8 +47,8 @@
47
47
  "@sentry/node": "^10.70.0",
48
48
  "@theholocron/components-doc": "^1.6.0",
49
49
  "@theholocron/env-utils": "^1.6.0",
50
- "@theholocron/github-client": "^1.18.0",
51
- "@theholocron/http-client": "^1.18.0",
50
+ "@theholocron/github-client": "^1.19.0",
51
+ "@theholocron/http-client": "^1.19.0",
52
52
  "@theholocron/observability": "^0.3.0",
53
53
  "@theholocron/registry-doc": "^1.12.0",
54
54
  "chalk": "^6.0.0",
@@ -57,8 +57,8 @@
57
57
  "pino-pretty": "^13.1.3",
58
58
  "posthog-node": "^5.51.6",
59
59
  "yargs": "^18.1.0",
60
- "@theholocron/astromech": "5.0.0-alpha.18",
61
- "@theholocron/datapad": "5.0.0-alpha.18"
60
+ "@theholocron/astromech": "5.0.0-alpha.19",
61
+ "@theholocron/datapad": "5.0.0-alpha.19"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@theholocron/eslint-config": "^8.0.0",
@@ -75,7 +75,7 @@
75
75
  "tsx": "4.23.12",
76
76
  "typescript": "^5.9.3",
77
77
  "vitest": "^4.1.11",
78
- "@theholocron/rollup-plugin-transform-template": "5.0.0-alpha.18"
78
+ "@theholocron/rollup-plugin-transform-template": "5.0.0-alpha.19"
79
79
  },
80
80
  "engines": {
81
81
  "node": ">=22.0.0"