@theholocron/cli 5.0.0-alpha.181 → 5.0.0-alpha.183

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.
@@ -808,6 +808,16 @@ interface Notifications extends ProviderIdentity {
808
808
  name: string;
809
809
  mentionable?: boolean;
810
810
  }): Promise<EnsuredResource>;
811
+ /**
812
+ * Smoke check for `holocron doctor`: prove the provisioning credentials work
813
+ * and name what they reach. Returns `null` when there is nothing to check (a
814
+ * config that only posts has no provisioning credentials), which doctor shows
815
+ * as "loaded" rather than as a failure. Throws when it is configured to
816
+ * provision but cannot (missing token, no access).
817
+ */
818
+ whoami?(): Promise<{
819
+ target: string;
820
+ } | null>;
811
821
  }
812
822
  interface Analytics extends ProviderIdentity {
813
823
  readonly key: "analytics";
@@ -863,6 +873,17 @@ interface Wiki extends ProviderIdentity {
863
873
  * Called by `setup` to deploy the proxy via the `workers` capability.
864
874
  */
865
875
  proxyConfig?(): WikiProxyConfig | null;
876
+ /**
877
+ * Confirms a provider token resolves. Unlike `dns`/`workers`/`monitoring`'s
878
+ * `whoami()`, this is NOT a live reachability check — Fern (the only
879
+ * current `wiki` provider) exposes no lightweight endpoint to verify a
880
+ * token actually works; the only token-consuming operation is a full
881
+ * `fern generate` (holocron#1079). `ok: true` means "a token was found",
882
+ * not "the token works".
883
+ */
884
+ whoami?(): Promise<{
885
+ ok: boolean;
886
+ }>;
866
887
  }
867
888
  /** Config for `Workers.deployScript()` — an arbitrary Worker, not a generated reverse-proxy. */
868
889
  interface DeployScriptConfig {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/cli",
3
- "version": "5.0.0-alpha.181",
3
+ "version": "5.0.0-alpha.183",
4
4
  "description": "The Holocron CLI - a pluggable, capability-based orchestrator for spinning up and operating software projects.",
5
5
  "keywords": [
6
6
  "cli",
@@ -63,8 +63,8 @@
63
63
  "pino-pretty": "^13.1.3",
64
64
  "posthog-node": "^5.51.6",
65
65
  "yargs": "^18.1.0",
66
- "@theholocron/astromech": "5.0.0-alpha.181",
67
- "@theholocron/datapad": "5.0.0-alpha.181"
66
+ "@theholocron/astromech": "5.0.0-alpha.183",
67
+ "@theholocron/datapad": "5.0.0-alpha.183"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@theholocron/eslint-config": "^8.8.2",