@theholocron/cli 2.0.0-alpha.0 → 2.0.0-alpha.5

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 CHANGED
@@ -3,22 +3,26 @@
3
3
  The Holocron CLI — a pluggable, capability-based orchestrator for
4
4
  spinning up and operating software projects.
5
5
 
6
- ## Status
6
+ ## Install
7
7
 
8
- **v2 alpha.** The shape is being built up per
9
- [`.notes/tech-architecture.spec.md`](../../.notes/tech-architecture.spec.md).
10
- Most commands aren't wired yet.
8
+ ```bash
9
+ npm i -g @theholocron/cli@alpha
10
+ holocron --help
11
+ ```
11
12
 
12
13
  ## What's in here
13
14
 
14
15
  - `src/capabilities/` — the 14 capability interfaces that providers
15
- implement
16
+ implement
16
17
  - `src/config.ts` — `holocron.config.json` parser + plugin resolution
17
- - `src/cli.ts` — yargs entry, dispatches subcommands (WIP)
18
+ - `src/cli.ts` — yargs entry, dispatches subcommands
19
+ - `src/commands/` — `setup`, `doctor`, `deploy`, `secret set`,
20
+ `secrets sync`, `npm publish-initial`
18
21
 
19
- ## Install (when published)
22
+ ## Status
20
23
 
21
- ```bash
22
- pnpm add -D @theholocron/cli
23
- pnpm holocron --help
24
- ```
24
+ **`v2.0.0-alpha.0`** — published on npm under the `alpha` dist-tag.
25
+ [Release notes](https://github.com/theholocron/holocron/releases/tag/v2.0.0-alpha.0).
26
+ Design in
27
+ [`.notes/tech-architecture.spec.md`](../../.notes/tech-architecture.spec.md).
28
+ APIs may still shift before stable v2.0.0.
@@ -1,2 +1,2 @@
1
- import { $ as Tooling, A as Environments, B as ProviderApiError, C as DeploymentTarget, D as DnsRecordType, E as DnsRecord, F as LifecycleSlot, G as ResolvedCapability, H as REQUIRED_CAPABILITIES, I as NormalizedAuthUser, J as Secrets, K as Ruleset, L as Notifications, M as IssueSearchFilter, N as Issues, O as Environment, P as LifecycleResult, Q as StorageBranch, R as Observability, S as DeploymentRecord, T as Dns, U as RepoRef, V as ProviderIdentity, W as RepoSettings, X as StatusCategory, Y as Source, Z as Storage, _ as ConnectionStringOptions, a as AuthEventType, at as WebhookVerificationError, b as DeploymentProject, c as CARDINALITY, d as Cardinality, et as ToolingDoctorReport, f as CardinalityFor, g as CiRunStatus, h as CiRunFilter, i as AuthEvent, it as WebhookDashboardInfo, j as Issue, k as EnvironmentReviewer, l as CapabilityImpls, m as CiRun, n as Auth, nt as TrackerUser, o as AuthIdentity, ot as isMulti, p as Ci, q as SecretScope, r as AuthDescription, rt as Vault, s as AuthUser, t as Analytics, tt as TrackerDoctorReport, u as CapabilityKey, v as CreateAuthUserInput, w as DeploymentTrigger, x as DeploymentProjectSettings, y as Deployment, z as ParseWebhookInput } from "../index-DDxKXqtR.mjs";
2
- export { Analytics, Auth, AuthDescription, AuthEvent, AuthEventType, AuthIdentity, AuthUser, CARDINALITY, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, Ci, CiRun, CiRunFilter, CiRunStatus, ConnectionStringOptions, CreateAuthUserInput, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, Dns, DnsRecord, DnsRecordType, Environment, EnvironmentReviewer, Environments, Issue, IssueSearchFilter, Issues, LifecycleResult, LifecycleSlot, NormalizedAuthUser, Notifications, Observability, ParseWebhookInput, ProviderApiError, ProviderIdentity, REQUIRED_CAPABILITIES, RepoRef, RepoSettings, ResolvedCapability, Ruleset, SecretScope, Secrets, Source, StatusCategory, Storage, StorageBranch, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, Vault, WebhookDashboardInfo, WebhookVerificationError, isMulti };
1
+ import { $ as StorageBranch, A as EnvironmentReviewer, B as ParseWebhookInput, C as DeploymentTarget, D as DnsRecordType, E as DnsRecord, F as LifecycleResult, G as RepoSettings, H as ProviderIdentity, I as LifecycleSlot, J as SecretScope, K as ResolvedCapability, L as NormalizedAuthUser, M as Issue, N as IssueSearchFilter, O as EnsureResult, P as Issues, Q as Storage, R as Notifications, S as DeploymentRecord, T as Dns, U as REQUIRED_CAPABILITIES, V as ProviderApiError, W as RepoRef, X as Source, Y as Secrets, Z as StatusCategory, _ as ConnectionStringOptions, a as AuthEventType, at as WebhookDashboardInfo, b as DeploymentProject, c as CARDINALITY, d as Cardinality, et as Tooling, f as CardinalityFor, g as CiRunStatus, h as CiRunFilter, i as AuthEvent, it as Vault, j as Environments, k as Environment, l as CapabilityImpls, m as CiRun, n as Auth, nt as TrackerDoctorReport, o as AuthIdentity, ot as WebhookVerificationError, p as Ci, q as Ruleset, r as AuthDescription, rt as TrackerUser, s as AuthUser, st as isMulti, t as Analytics, tt as ToolingDoctorReport, u as CapabilityKey, v as CreateAuthUserInput, w as DeploymentTrigger, x as DeploymentProjectSettings, y as Deployment, z as Observability } from "../index-jxPVFH7-.mjs";
2
+ export { Analytics, Auth, AuthDescription, AuthEvent, AuthEventType, AuthIdentity, AuthUser, CARDINALITY, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, Ci, CiRun, CiRunFilter, CiRunStatus, ConnectionStringOptions, CreateAuthUserInput, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, Dns, DnsRecord, DnsRecordType, EnsureResult, Environment, EnvironmentReviewer, Environments, Issue, IssueSearchFilter, Issues, LifecycleResult, LifecycleSlot, NormalizedAuthUser, Notifications, Observability, ParseWebhookInput, ProviderApiError, ProviderIdentity, REQUIRED_CAPABILITIES, RepoRef, RepoSettings, ResolvedCapability, Ruleset, SecretScope, Secrets, Source, StatusCategory, Storage, StorageBranch, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, Vault, WebhookDashboardInfo, WebhookVerificationError, isMulti };
@@ -1,2 +1,2 @@
1
- import { a as isMulti, i as WebhookVerificationError, n as ProviderApiError, r as REQUIRED_CAPABILITIES, t as CARDINALITY } from "../capabilities-QjjhVlDd.mjs";
1
+ import { a as isMulti, i as WebhookVerificationError, n as ProviderApiError, r as REQUIRED_CAPABILITIES, t as CARDINALITY } from "../capabilities-DapaKOlX.mjs";
2
2
  export { CARDINALITY, ProviderApiError, REQUIRED_CAPABILITIES, WebhookVerificationError, isMulti };
@@ -15,8 +15,12 @@ const CARDINALITY = {
15
15
  analytics: "many",
16
16
  observability: "many"
17
17
  };
18
- /** Vault is required; everything else is optional in the config. */
19
- const REQUIRED_CAPABILITIES = ["vault"];
18
+ /**
19
+ * No capabilities are strictly required — repos without secrets (e.g. org
20
+ * community health repos) legitimately omit vault. Plugins validate their
21
+ * own requirements at call time.
22
+ */
23
+ const REQUIRED_CAPABILITIES = [];
20
24
  /**
21
25
  * Surfaced from every capability call that hits a vendor API. Wraps
22
26
  * the underlying error with `status` (HTTP) and `details` so