akm-cli 0.9.11 → 0.9.12

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.
Files changed (127) hide show
  1. package/CHANGELOG.md +166 -0
  2. package/STABILITY.md +6 -1
  3. package/dist/assets/hints/cli-hints-full.md +1 -1
  4. package/dist/assets/improve-strategies/consolidate.json +1 -1
  5. package/dist/assets/improve-strategies/default.json +1 -1
  6. package/dist/assets/improve-strategies/thorough.json +1 -2
  7. package/dist/cli/shared.js +16 -4
  8. package/dist/cli.js +15 -13
  9. package/dist/commands/agent/agent-dispatch.js +8 -0
  10. package/dist/commands/command/execution-source-loader.js +25 -22
  11. package/dist/commands/command/portable-template.js +4 -26
  12. package/dist/commands/config-cli.js +10 -4
  13. package/dist/commands/env/env-binding.js +10 -3
  14. package/dist/commands/env/env-cli.js +7 -0
  15. package/dist/commands/env/secret-cli.js +15 -4
  16. package/dist/commands/health/checks.js +186 -71
  17. package/dist/commands/health.js +16 -4
  18. package/dist/commands/improve/distill/quality-gate.js +2 -2
  19. package/dist/commands/improve/distill.js +28 -12
  20. package/dist/commands/improve/execution.js +1 -2
  21. package/dist/commands/improve/extract.js +82 -56
  22. package/dist/commands/improve/improve-strategies.js +26 -8
  23. package/dist/commands/improve/improve.js +13 -0
  24. package/dist/commands/improve/preparation.js +9 -6
  25. package/dist/commands/improve/reflect.js +61 -77
  26. package/dist/commands/lint/index.js +3 -1
  27. package/dist/commands/migrate-cli.js +6 -4
  28. package/dist/commands/proposal/drain-policies.js +22 -2
  29. package/dist/commands/proposal/repository.js +4 -4
  30. package/dist/commands/proposal/validators/proposal-quality-validators.js +23 -2
  31. package/dist/commands/proposal/validators/proposals.js +10 -19
  32. package/dist/commands/read/show.js +42 -31
  33. package/dist/commands/registry-cli.js +4 -2
  34. package/dist/commands/sources/init.js +4 -8
  35. package/dist/commands/sources/self-update.js +2 -2
  36. package/dist/commands/sources/source-clone.js +5 -7
  37. package/dist/commands/sources/sources-cli.js +3 -5
  38. package/dist/commands/tasks/tasks-cli.js +4 -12
  39. package/dist/commands/tasks/tasks.js +38 -35
  40. package/dist/commands/workflow-cli.js +17 -15
  41. package/dist/core/activation-policy.js +31 -3
  42. package/dist/core/adapter/execution-source.js +39 -11
  43. package/dist/core/asset/stash-meta.js +7 -41
  44. package/dist/core/common.js +8 -17
  45. package/dist/core/config/config-schema.js +3 -23
  46. package/dist/core/config/config-walker.js +50 -4
  47. package/dist/core/config/config.js +21 -5
  48. package/dist/core/config/legacy-source-shape-shim.js +79 -0
  49. package/dist/core/config/schema/embedding.js +2 -2
  50. package/dist/core/config/schema/engines.js +2 -2
  51. package/dist/core/config/schema/index-config.js +19 -21
  52. package/dist/core/config/schema/primitives.js +21 -10
  53. package/dist/core/config/schema/sources-bundles.js +1 -6
  54. package/dist/core/errors.js +2 -3
  55. package/dist/core/improve-types.js +17 -0
  56. package/dist/core/json-schema.js +1 -11
  57. package/dist/core/maintenance-barrier.js +17 -2
  58. package/dist/core/paths.js +12 -15
  59. package/dist/core/state/migrations.js +28 -0
  60. package/dist/core/state-db.js +28 -1
  61. package/dist/core/write-source.js +6 -6
  62. package/dist/indexer/bundle-identity-guard.js +3 -0
  63. package/dist/indexer/ensure-index.js +5 -0
  64. package/dist/indexer/indexer.js +11 -3
  65. package/dist/indexer/lookup/adapter-concept-owner.js +14 -3
  66. package/dist/indexer/passes/metadata.js +16 -5
  67. package/dist/indexer/search/search-fields.js +1 -30
  68. package/dist/integrations/agent/engine-resolution.js +15 -1
  69. package/dist/integrations/agent/model-map.js +16 -10
  70. package/dist/integrations/agent/prompts.js +13 -6
  71. package/dist/integrations/lockfile.js +22 -7
  72. package/dist/llm/client.js +16 -0
  73. package/dist/llm/index-passes.js +3 -2
  74. package/dist/output/shapes/passthrough.js +9 -3
  75. package/dist/output/shapes.js +5 -3
  76. package/dist/output/text/workflow-format.js +8 -1
  77. package/dist/scripts/akm-migrate-node.js +1461 -1267
  78. package/dist/scripts/akm-migrate.js +1460 -1266
  79. package/dist/setup/setup.js +14 -21
  80. package/dist/sources/include.js +150 -20
  81. package/dist/sources/providers/git-install.js +14 -12
  82. package/dist/sources/providers/git-provider.js +3 -3
  83. package/dist/sources/snapshot-fetchers/website-ingest.js +54 -16
  84. package/dist/sources/website-url.js +12 -4
  85. package/dist/storage/engines/sqlite-migrations.js +40 -10
  86. package/dist/storage/like-pattern.js +7 -0
  87. package/dist/storage/repositories/extract-sessions-repository.js +23 -0
  88. package/dist/storage/repositories/index-connection.js +27 -10
  89. package/dist/storage/repositories/index-entry-schema.js +19 -2
  90. package/dist/storage/repositories/index-schema.js +30 -9
  91. package/dist/storage/repositories/proposals-repository.js +2 -1
  92. package/dist/storage/repositories/task-history-repository.js +14 -7
  93. package/dist/storage/repositories/workflow-runs-repository.js +15 -1
  94. package/dist/storage/sqlite-read-snapshot.js +11 -9
  95. package/dist/tasks/backends/cron.js +34 -5
  96. package/dist/tasks/backends/launchd.js +23 -26
  97. package/dist/tasks/backends/schtasks.js +50 -3
  98. package/dist/tasks/frozen-script.js +2 -0
  99. package/dist/tasks/prepare/prepare.js +2 -7
  100. package/dist/tasks/prepare/script-capture.js +38 -6
  101. package/dist/tasks/schedule.js +154 -13
  102. package/dist/tasks/source/task-source-v3-frozen.js +0 -1
  103. package/dist/tasks/source/task-source-v4.js +0 -1
  104. package/dist/workflows/exec/child-workflow.js +2 -3
  105. package/dist/workflows/exec/exec-unit.js +3 -4
  106. package/dist/workflows/exec/run-workflow.js +19 -10
  107. package/dist/workflows/exec/step-work.js +35 -56
  108. package/dist/workflows/freeze/resolve-steps.js +19 -11
  109. package/dist/workflows/freeze/source-freeze.js +7 -0
  110. package/dist/workflows/freeze/targets/child-workflow.js +12 -18
  111. package/dist/workflows/freeze/targets/command.js +14 -2
  112. package/dist/workflows/ir/environment-v4.js +4 -2
  113. package/dist/workflows/ir/freeze-v4.js +2 -5
  114. package/dist/workflows/ir/plan-hash.js +0 -3
  115. package/dist/workflows/ir/schema-v4.js +14 -9
  116. package/dist/workflows/ir/schema.js +1 -3
  117. package/dist/workflows/resource-limits.js +35 -48
  118. package/dist/workflows/runtime/plan-classifier.js +89 -41
  119. package/dist/workflows/runtime/run-outputs.js +1 -21
  120. package/dist/workflows/runtime/runs.js +76 -150
  121. package/dist/workflows/source-files.js +28 -54
  122. package/dist/workflows/source-ir/program.js +2 -2
  123. package/dist/workflows/source-ir/semantics.js +5 -23
  124. package/docs/migration/v0.9.1-to-v0.9.2.md +20 -0
  125. package/docs/reference/cli.md +74 -17
  126. package/package.json +1 -1
  127. package/schemas/akm-config.json +5 -10
@@ -113,6 +113,14 @@ The `hint` field is present only when actionable remediation is available
113
113
  `ok === false` on the parsed stderr envelope or a non-zero exit code to
114
114
  detect failure. Scripts can rely on the exit code alone.
115
115
 
116
+ Every success envelope produced by the passthrough stamp — `config`, `clone`,
117
+ `models`, `task-*`, `workflow-*`, `registry-*`, and the rest of that shared
118
+ handler — also carries `ok: true` (0.9.12+), so a caller branching on `.ok`
119
+ sees the same field on both sides — success and failure — instead of
120
+ `undefined` on success. A command that already computes its own `ok` from a
121
+ graded outcome (e.g. `task run`'s exit-code mapping, `akm lint`, `akm proposal
122
+ extract`) keeps that value, `false` included.
123
+
116
124
  `env run`, `secret run`, and `migrate` preserve the spawned process's exact
117
125
  status and raw streams instead of replacing them with an akm failure envelope.
118
126
  `task run` maps completed, active, and disabled status to 0; blocked and failed
@@ -272,17 +280,21 @@ akm health --report --window-compare 7d --format html
272
280
  | `--window-compare` | Compare the current window against the prior window of the same duration (e.g. `24h`, `7d`). With `--report`, overrides the default trend window. |
273
281
  | `--group-by` | Group rows by `run` (one row per `improve_runs` entry). Omit for the default summary. |
274
282
  | `--windows` | Explicit comparison window(s) as `name=...,since=ISO,until=ISO` (repeatable, up to 4). Mutually exclusive with `--window-compare`. |
283
+ | `--no-probe` | Skip the `default-llm-engine` / `configured-engines` reachability probes (for an offline or air-gapped host). |
275
284
 
276
285
  The command reads `state.db`, verifies that the required tables exist, performs a
277
286
  write-read probe against the events stream, inspects `task_history`, checks the
278
- default agent engine, and summarizes recent `improve_*` events.
287
+ default agent engine, and summarizes recent `improve_*` events. Unless
288
+ `--no-probe` is given, it also sends a bounded (3s timeout) reachability probe
289
+ to the `default-llm-engine` and every `configured-engines` LLM connection (and
290
+ an SDK engine's LLM fallback), one probe per distinct endpoint.
279
291
 
280
292
  Primary result fields:
281
293
 
282
294
  | Field | Description |
283
295
  | --- | --- |
284
296
  | `status` | Overall health verdict: `pass`, `warn`, or `fail` |
285
- | `hardChecks` | Deterministic checks such as `state-db-schema`, `state-db-round-trip`, `state-db-migrations`, `task-log-backing`, `active-runs`, `default-engine`, and `model-map-files` |
297
+ | `hardChecks` | Deterministic checks such as `state-db-schema`, `state-db-round-trip`, `state-db-migrations`, `task-log-backing`, `active-runs`, `default-engine`, `model-map-files`, `default-llm-engine`, `configured-engines`, and `active-improve-strategy` |
286
298
  | `advisories` | Non-fatal warnings including `semantic-search-runtime` and `session-extraction` (akmExtract pipeline health) |
287
299
  | `metrics` | Aggregate task/runtime metrics: `taskFailRate`, `agentFailureRate`, `stuckActiveRuns`, `logBackingRate`, `probeRoundTripMs` |
288
300
  | `improve` | Recent improve-loop counts derived from `improve_invoked`, `improve_skipped`, and `improve_completed` events |
@@ -300,9 +312,21 @@ holds a pending historical-destructive migration and something other than
300
312
  `akm upgrade` / `akm migrate apply` opens it directly. Read this check's
301
313
  `status` instead of grepping akm's error text for that case.
302
314
 
303
- The `session-extraction` advisory reflects the health of the `akmExtract` pipeline
304
- (Phase 0.4 of `akm improve`). It warns on harness errors or when no proposals are
305
- generated across five or more scanned sessions.
315
+ `default-llm-engine` and `configured-engines` probe reachability (not just
316
+ configuration) for a `kind: "llm"` engine an unreachable endpoint is a hard
317
+ `fail` for `default-llm-engine` and a `warn` for any other engine. `--no-probe`
318
+ skips this. `active-improve-strategy` names the resolved engine per process
319
+ in its evidence and message, so a strategy-level `engine` pin that shadows
320
+ `defaults.llmEngine` is visible without config archaeology.
321
+
322
+ The `session-extraction` advisory is derived from the `extract_sessions_seen`
323
+ ledger for the last 7 days — not `improve_runs`, which the hook-driven `akm
324
+ proposal extract --session-id ...` invocation never writes. It reports
325
+ `unknown` when nothing was recorded in the window (cannot tell "off on
326
+ purpose" from "broken"), `warn` when every session in the window was skipped
327
+ for an infrastructure reason (`llm_unavailable`, `read_failed`, `exception`,
328
+ `locked_concurrent`) — naming the reason and, when recorded, the engine — and
329
+ `pass` otherwise, with per-outcome counts.
306
330
 
307
331
  The indexed entity graph (entities/relations extracted from bundle assets) has
308
332
  no dedicated inspection command; its summary counts surface as an info-level
@@ -568,8 +592,10 @@ akm workflow create ship-release
568
592
  akm workflow create ship-release --from ./ship-release.md
569
593
  akm workflow run workflows/ship-release --version 1.2.3
570
594
  akm workflow run <run-id> # continue an active partial run
595
+ akm workflow run workflows/ship-release --new # start a fresh run even if one is already active
571
596
  akm workflow status <run-id>
572
597
  akm workflow status workflows/ship-release
598
+ akm workflow status 7c115132 # 8+ char run-id prefix also works
573
599
  akm workflow resume <run-id>
574
600
  akm workflow abandon <run-id>
575
601
  akm workflow list --active
@@ -585,13 +611,21 @@ Subcommands:
585
611
  | Subcommand | Description |
586
612
  | --- | --- |
587
613
  | `create <name>` | Validate and write a Markdown workflow under `workflows/`. `--path <dir>` places it in a subdirectory; `--from <file>` imports content; `--force` (requires `--from` or `--reset`) overwrites; `--print` prints the template that would be written instead of writing it |
588
- | `run <run-id\|ref>` | Stable canonical start/resume/execute command. A ref starts a run or continues the active run in the current scope; a run id continues that exact active run. Executes until completion, failure, verification rejection, interruption, or an explicit limit |
614
+ | `run <run-id\|ref>` | Stable canonical start/resume/execute command. A ref starts a run or resumes the active run in the current scope (announced as `resumed: true`, see below); a run id continues that exact active run. `--new` starts a fresh run even when one is already active. Executes until completion, failure, verification rejection, interruption, or an explicit limit |
589
615
  | `status <run-id\|ref>` | Show the full run state, including all step statuses. `--units` also lists per-unit rows from the run journal (diagnostics only). Renders a `children:` tree when the run composes child workflows |
590
616
  | `list` | List workflow runs (optionally filtered by `--ref`; `--active` shows only `status=active` runs, excluding `blocked`/`failed`/`completed`). Child workflow runs are excluded unless `--children` is passed |
591
617
  | `resume <run-id>` | Flip a `blocked` or `failed` run back to `active`. Completed runs cannot be resumed |
592
618
  | `abandon <run-id>` | Mark a run failed so it stops counting as active (`resume` can reopen it) |
593
619
  | `plan <ref>` | **Evolving.** Compile and freeze a workflow WITHOUT publishing a run: the canonical step graph, per-step frozen target kinds, task/child expansion, input bindings, source read set, and lowering notices — zero durable writes. Returns the full JSON envelope by default, like every other command; pass `--format text` for a human-readable summary |
594
620
 
621
+ Everywhere a run id is accepted (`run`, `status`, `resume`, `abandon`), a
622
+ unique run-id **prefix** of 8 or more characters works too — the same
623
+ convention `akm proposal accept`/`reject` use for proposal UUIDs. A prefix
624
+ matching more than one run is a usage error listing every candidate; a
625
+ prefix matching none is a not-found error. Only strings shaped like a run id
626
+ (hex digits and hyphens, 8+ characters) are ever treated as a prefix, so a
627
+ workflow ref is never mistaken for one.
628
+
595
629
  The public `workflow start`, `next`, and `complete` lifecycle was removed in
596
630
  0.9, along with the experimental `brief`/`report` external-driver protocol.
597
631
  Use `workflow run` for execution and `workflow status` for inspection. The
@@ -633,6 +667,14 @@ The old `--params <json>` bag is removed.
633
667
  | `--max-steps <n>` | Stop once this many steps have finished, leaving a partial run active. Must be at least 1. |
634
668
  | `--max-retries <n>` | When a step fails, reopen the same run and retry the failed step up to this many additional times. Range: 0 through 100; default 0. Gate rejection and interruption are not retried. |
635
669
  | `--timeout <duration>` | Abort the whole invocation after `N`, `Nms`, `Ns`, or `Nm`; bare `N` is milliseconds. The active step remains resumable. |
670
+ | `--new` | Start a fresh run even when one is already active for this ref, instead of resuming it. The existing active run is left untouched — it is never abandoned automatically. A workflow ref only: passing a run id with `--new` is a usage error (exit 2). Parameter flags are allowed together with `--new`, since it is starting a new run. |
671
+
672
+ **Resuming an active run is announced, not silent.** Passing a ref that
673
+ already has an active run in the current scope resumes that run rather than
674
+ starting a new one (unchanged since #485) — but the envelope now carries
675
+ `resumed: true` alongside the resumed run's `run.id`, and the default text
676
+ output leads with `resuming existing run <id> for <ref>; pass --new to start
677
+ a fresh run`. Pass `--new` to start a second, independent run instead.
636
678
 
637
679
  The result includes the current `run`, an `executed` step report list, a
638
680
  `stepsProcessed` count of the steps that finished, and optional `done`,
@@ -668,7 +710,7 @@ repos or directories. akm resolves that context from the nearest `.akm/config.js
668
710
  ancestor when present, otherwise the nearest git root, otherwise the bundle root
669
711
  when the cwd is inside it, otherwise the cwd itself. In practice this means:
670
712
 
671
- - `workflow run workflows/<name>` continues the active run for the current project/worktree/directory, or starts one when none is active.
713
+ - `workflow run workflows/<name>` resumes the active run for the current project/worktree/directory (announced with `resumed: true`), or starts one when none is active. `--new` always starts a fresh run.
672
714
  - `workflow status workflows/<name>` resolves the most-recently-updated run in the current scope only.
673
715
  - `workflow list` shows runs for the current scope only.
674
716
  - Direct run-id commands like `workflow status <run-id>` still work even if the run was started from another directory.
@@ -714,11 +756,12 @@ akm workflow status workflows/ship-release
714
756
  akm workflow status <run-id> --units # also list per-unit rows from the run journal
715
757
  ```
716
758
 
717
- Accepts either a run-id or a workflow ref. When given a workflow ref, resolves
718
- to the most-recently-updated run for that ref in the current working scope.
719
- `--units` adds per-unit rows (unit id, status, failure reason, and any
720
- result/error diagnostic text) from the run journal — diagnostics only; step
721
- evidence stays deterministic and is unaffected.
759
+ Accepts a run id, a unique 8+ character run-id prefix, or a workflow ref.
760
+ When given a workflow ref, resolves to the most-recently-updated run for that
761
+ ref in the current working scope. `--units` adds per-unit rows (unit id,
762
+ status, failure reason, and any result/error diagnostic text) from the run
763
+ journal — diagnostics only; step evidence stays deterministic and is
764
+ unaffected.
722
765
 
723
766
  #### workflow plan
724
767
 
@@ -1517,13 +1560,14 @@ Subcommands:
1517
1560
  | --- | --- |
1518
1561
  | `get <key>` | Read one config key |
1519
1562
  | `list` | List current configuration |
1520
- | `set <key> <value>` | Set one config key |
1521
- | `unset <key>` | Unset an optional key, or a whole `embedding`/engine section |
1563
+ | `set <key> <value>` | Set one config key; prints the resulting config with `ok: true` |
1564
+ | `unset <key>` | Unset an optional key, or a whole `embedding`/engine section; prints the resulting config with `ok: true` |
1522
1565
  | `path` | Show paths to config, bundle, cache, and index. `--all` prints every path; without it, just the config path. Load-bearing: `config path` is the one subcommand the CLI still allows to run when the on-disk config itself fails to load, so you always have a way to locate a broken config. |
1523
1566
 
1524
- `set` and `unset` accept `--silent` to suppress the post-write config dump on
1525
- stdout (the write still happens and errors still print) use it from hooks
1526
- and CI scripts.
1567
+ `set` and `unset` accept `--silent` to suppress the post-write config dump
1568
+ entirely nothing is printed on stdout, and the exit code is the status (the
1569
+ write still happens and errors still print) — use it from hooks and CI
1570
+ scripts.
1527
1571
 
1528
1572
  > **Removed in 0.9.0:** `akm config enable`/`akm config disable`. Use
1529
1573
  > `akm registry add|remove` to toggle a registry, the general mechanism.
@@ -2253,6 +2297,19 @@ schedule) is the answer.
2253
2297
  Requires an LLM engine: pass `--engine`, select a `--strategy` whose
2254
2298
  `processes.extract.engine` is set, or configure `defaults.llmEngine`.
2255
2299
 
2300
+ **Output.** `ok` means the command ran to completion — it is `true` even when
2301
+ every session was skipped (an unreachable LLM engine included); it does not
2302
+ mean anything was harvested. Consumers that need "did this run actually
2303
+ harvest" branch on `skipReasons`, `warnings`, or `sessionsProcessed` /
2304
+ `sessionsSkipped` instead. The envelope also reports:
2305
+
2306
+ | Field | Description |
2307
+ | --- | --- |
2308
+ | `engine` | Resolved LLM engine name for this run. Absent only when extract is disabled by the selected improve strategy (the run returns before an engine is resolved). |
2309
+ | `engineKind` | `"llm"`, `"sdk"`, or `"agent"` — the kind of runner `engine` resolved to. Same absence condition as `engine`. |
2310
+ | `skipReasons` | Per-`skipReason` count across `sessions[]` (e.g. `{ "llm_unavailable": 25 }`). Present only when `sessionsSkipped > 0`. |
2311
+ | `warnings` | Includes one aggregate line per infrastructure skip reason that fired (`llm_unavailable`, `read_failed`, `exception`, `locked_concurrent`) — e.g. `25 of 25 sessions skipped: llm_unavailable (engine "default")` — so an engine outage is visible without inspecting `sessions[]`. Session-content skips (`already_extracted`, `too_short`, `triaged_out`) are counted in `skipReasons` but never produce a warning line. |
2312
+
2256
2313
  #### proposal new
2257
2314
 
2258
2315
  Generate a brand-new asset proposal from a description. Output is always a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akm-cli",
3
- "version": "0.9.11",
3
+ "version": "0.9.12",
4
4
  "type": "module",
5
5
  "description": "akm (Agent Knowledge Manager) — a portable, local-first capability library for AI agents. Discover, load, share, and improve reusable skills, scripts, workflows, and knowledge across any shell-capable coding agent, including Claude Code, OpenCode, and Cursor.",
6
6
  "keywords": [
@@ -31,8 +31,7 @@
31
31
  "minLength": 1
32
32
  },
33
33
  "apiKey": {
34
- "type": "string",
35
- "pattern": "^\\$[A-Za-z_][A-Za-z0-9_]*$|^\\$\\{[A-Za-z_][A-Za-z0-9_]*\\}$"
34
+ "type": "string"
36
35
  },
37
36
  "apiKeyFile": {
38
37
  "type": "string",
@@ -197,8 +196,7 @@
197
196
  "type": "string"
198
197
  },
199
198
  "apiKey": {
200
- "type": "string",
201
- "pattern": "^\\$[A-Za-z_][A-Za-z0-9_]*$|^\\$\\{[A-Za-z_][A-Za-z0-9_]*\\}$"
199
+ "type": "string"
202
200
  },
203
201
  "dimension": {
204
202
  "type": "integer",
@@ -1720,8 +1718,7 @@
1720
1718
  "minLength": 1
1721
1719
  },
1722
1720
  "apiKey": {
1723
- "type": "string",
1724
- "pattern": "^\\$[A-Za-z_][A-Za-z0-9_]*$|^\\$\\{[A-Za-z_][A-Za-z0-9_]*\\}$"
1721
+ "type": "string"
1725
1722
  },
1726
1723
  "apiKeyFile": {
1727
1724
  "type": "string",
@@ -1886,8 +1883,7 @@
1886
1883
  "type": "string"
1887
1884
  },
1888
1885
  "apiKey": {
1889
- "type": "string",
1890
- "pattern": "^\\$[A-Za-z_][A-Za-z0-9_]*$|^\\$\\{[A-Za-z_][A-Za-z0-9_]*\\}$"
1886
+ "type": "string"
1891
1887
  },
1892
1888
  "dimension": {
1893
1889
  "type": "integer",
@@ -3456,8 +3452,7 @@
3456
3452
  "type": "string"
3457
3453
  },
3458
3454
  "apiKey": {
3459
- "type": "string",
3460
- "pattern": "^\\$[A-Za-z_][A-Za-z0-9_]*$|^\\$\\{[A-Za-z_][A-Za-z0-9_]*\\}$"
3455
+ "type": "string"
3461
3456
  },
3462
3457
  "dimension": {
3463
3458
  "type": "integer",