@theholocron/cli 3.56.0 → 3.58.0
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 +7 -5
- package/dist/cli.mjs +91 -25
- package/dist/cli.mjs.map +1 -1
- package/dist/index.d.mts +14 -2
- package/dist/index.mjs +1 -1
- package/dist/plugin/capabilities.d.mts +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -31,7 +31,7 @@ declare function createFeatureResolver(config: FeatureResolverConfig): (input?:
|
|
|
31
31
|
* subcommands; consulted at position 4 in every plugin's auth
|
|
32
32
|
* precedence chain (after --token / HOLOCRON_<X>_TOKEN / <native>_TOKEN).
|
|
33
33
|
*
|
|
34
|
-
* See
|
|
34
|
+
* See `docs/wiki/specifications/tech-auth-bootstrap.spec.md` for the design rationale.
|
|
35
35
|
*
|
|
36
36
|
* Failure model: keyring access is best-effort. Platforms without a
|
|
37
37
|
* supported credential store (some Linux CI images, sandboxed
|
|
@@ -66,13 +66,25 @@ declare function deleteToken(provider: string): boolean;
|
|
|
66
66
|
declare function listStoredProviders(): string[];
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region src/config/config.d.ts
|
|
69
|
-
/** Structured-logging config
|
|
69
|
+
/** Structured-logging config. The Axiom **token** never lives here — only in
|
|
70
|
+
* env vars or the OS keyring — but the non-secret dataset name may. */
|
|
70
71
|
interface LogConfig {
|
|
71
72
|
/**
|
|
72
73
|
* Default log level. The lowest-priority level source: `--verbose` /
|
|
73
74
|
* `--quiet` and `HOLOCRON_LOG_LEVEL` both outrank it.
|
|
74
75
|
*/
|
|
75
76
|
level?: LogLevel;
|
|
77
|
+
/**
|
|
78
|
+
* Axiom log-shipping. Set `axiom.dataset` to opt local runs into Axiom
|
|
79
|
+
* without exporting `HOLOCRON_AXIOM_DATASET` — the CLI then pairs it with
|
|
80
|
+
* the token from `HOLOCRON_AXIOM_TOKEN` / `AXIOM_TOKEN` or the OS keyring
|
|
81
|
+
* (`holocron auth set axiom[.<org>] <TOKEN>`). Env vars still win. In CI,
|
|
82
|
+
* prefer the `HOLOCRON_AXIOM_DATASET` variable.
|
|
83
|
+
*/
|
|
84
|
+
axiom?: {
|
|
85
|
+
/** Target Axiom dataset, e.g. `"holocron-local"`. */
|
|
86
|
+
dataset?: string;
|
|
87
|
+
};
|
|
76
88
|
}
|
|
77
89
|
type ProviderOptions = Record<string, unknown>;
|
|
78
90
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -26,7 +26,7 @@ function makeEnv(source) {
|
|
|
26
26
|
* subcommands; consulted at position 4 in every plugin's auth
|
|
27
27
|
* precedence chain (after --token / HOLOCRON_<X>_TOKEN / <native>_TOKEN).
|
|
28
28
|
*
|
|
29
|
-
* See
|
|
29
|
+
* See `docs/wiki/specifications/tech-auth-bootstrap.spec.md` for the design rationale.
|
|
30
30
|
*
|
|
31
31
|
* Failure model: keyring access is best-effort. Platforms without a
|
|
32
32
|
* supported credential store (some Linux CI images, sandboxed
|
|
@@ -9,7 +9,7 @@ import { ProviderApiError } from "@theholocron/http-client";
|
|
|
9
9
|
* `CardinalityFor<K>` so config resolution + command code can branch
|
|
10
10
|
* statically.
|
|
11
11
|
*
|
|
12
|
-
* See
|
|
12
|
+
* See `docs/wiki/specifications/tech-architecture.spec.md` for the design narrative
|
|
13
13
|
* (issue: #74).
|
|
14
14
|
*/
|
|
15
15
|
type CapabilityKey = "source" | "ci" | "secrets" | "environments" | "issues" | "deployment" | "storage" | "auth" | "vault" | "dns" | "tooling" | "notifications" | "analytics" | "errors" | "logs" | "wiki" | "workers";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.58.0",
|
|
4
4
|
"description": "The Holocron CLI — a pluggable, capability-based orchestrator for spinning up and operating software projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"ora": "^9.4.1",
|
|
53
53
|
"tsx": "4.23.12",
|
|
54
54
|
"yargs": "^18.1.0",
|
|
55
|
-
"@theholocron/logger": "3.
|
|
55
|
+
"@theholocron/logger": "3.58.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@theholocron/eslint-config": "^7.32.1",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"tsdown": "^0.22.14",
|
|
69
69
|
"typescript": "^5.9.3",
|
|
70
70
|
"vitest": "^4.1.11",
|
|
71
|
-
"@theholocron/rollup-plugin-transform-template": "3.
|
|
71
|
+
"@theholocron/rollup-plugin-transform-template": "3.58.0"
|
|
72
72
|
},
|
|
73
73
|
"engines": {
|
|
74
74
|
"node": ">=22.0.0"
|