@theholocron/cli 5.0.0-alpha.123 → 5.0.0-alpha.125

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.
@@ -633,6 +633,15 @@ interface Dns extends ProviderIdentity {
633
633
  listRecords(domain: string): Promise<DnsRecord[]>;
634
634
  upsertRecord(domain: string, record: DnsRecord): Promise<DnsRecord>;
635
635
  deleteRecord(domain: string, id: string): Promise<void>;
636
+ /**
637
+ * A `holocron doctor` smoke check with no specific domain to ask about —
638
+ * `listRecords` needs one, but doctor doesn't have one on hand. Verifies
639
+ * the token and reports how many zones it can see.
640
+ */
641
+ whoami?(): Promise<{
642
+ ok: boolean;
643
+ zones: number;
644
+ }>;
636
645
  }
637
646
  interface Errors extends ProviderIdentity {
638
647
  readonly key: "errors";
@@ -781,6 +790,15 @@ interface Workers extends ProviderIdentity {
781
790
  upsertProxy(hostname: string, config: WikiProxyConfig): Promise<void>;
782
791
  /** Deploy (or update) an arbitrary Worker script, optionally with secrets and routes. */
783
792
  deployScript(name: string, config: DeployScriptConfig): Promise<DeployScriptResult>;
793
+ /**
794
+ * A `holocron doctor` smoke check — every other method either mutates or
795
+ * needs a specific script/zone doctor has no way to supply up front.
796
+ * Reports how many Worker scripts the token can see.
797
+ */
798
+ whoami?(): Promise<{
799
+ ok: boolean;
800
+ scripts: number;
801
+ }>;
784
802
  }
785
803
  interface CapabilityImpls {
786
804
  source: Source;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/cli",
3
- "version": "5.0.0-alpha.123",
3
+ "version": "5.0.0-alpha.125",
4
4
  "description": "The Holocron CLI - a pluggable, capability-based orchestrator for spinning up and operating software projects.",
5
5
  "keywords": [
6
6
  "cli",
@@ -51,7 +51,7 @@
51
51
  "@theholocron/components-doc": "^1.6.0",
52
52
  "@theholocron/env-utils": "^1.9.2",
53
53
  "@theholocron/github-client": "^1.38.0",
54
- "@theholocron/http-client": "^1.38.0",
54
+ "@theholocron/http-client": "^1.39.0",
55
55
  "@theholocron/misc-utils": "^1.9.2",
56
56
  "@theholocron/observability": "^0.5.0",
57
57
  "@theholocron/registry-doc": "^1.12.0",
@@ -61,8 +61,8 @@
61
61
  "pino-pretty": "^13.1.3",
62
62
  "posthog-node": "^5.51.6",
63
63
  "yargs": "^18.1.0",
64
- "@theholocron/astromech": "5.0.0-alpha.123",
65
- "@theholocron/datapad": "5.0.0-alpha.123"
64
+ "@theholocron/astromech": "5.0.0-alpha.125",
65
+ "@theholocron/datapad": "5.0.0-alpha.125"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@commitlint/config-conventional": "^21.2.3",
@@ -81,7 +81,7 @@
81
81
  "tsx": "4.23.12",
82
82
  "typescript": "^5.9.3",
83
83
  "vitest": "^4.1.11",
84
- "@theholocron/rollup-plugin-transform-template": "5.0.0-alpha.123"
84
+ "@theholocron/rollup-plugin-transform-template": "5.0.0-alpha.125"
85
85
  },
86
86
  "engines": {
87
87
  "node": ">=22.0.0"