@mmerterden/multi-agent-pipeline 23.6.0 → 24.0.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.
Files changed (167) hide show
  1. package/CHANGELOG.md +56 -1
  2. package/README.md +61 -27
  3. package/README.tr.md +46 -12
  4. package/SECURITY.md +3 -3
  5. package/docs/architecture.md +47 -8
  6. package/docs/ecosystem.md +20 -18
  7. package/docs/engineering.md +1 -1
  8. package/docs/facts.json +8 -6
  9. package/docs/features.md +59 -15
  10. package/install/_codex-agents.mjs +13 -8
  11. package/install/_common.mjs +24 -0
  12. package/install/_dev-only-files.mjs +4 -0
  13. package/install/_mcp-register.mjs +6 -2
  14. package/install/_rewrite-tree.mjs +197 -0
  15. package/install/codex.mjs +96 -180
  16. package/install/copilot.mjs +24 -54
  17. package/install/index.mjs +29 -11
  18. package/install/templates/codex-instructions.md +21 -5
  19. package/install/templates/copilot-instructions.md +21 -14
  20. package/manifest.json +2082 -0
  21. package/package.json +6 -2
  22. package/pipeline/commands/multi-agent/SKILL.md +7 -5
  23. package/pipeline/commands/multi-agent/analysis/SKILL.md +4 -0
  24. package/pipeline/commands/multi-agent/autopilot-on/SKILL.md +31 -3
  25. package/pipeline/commands/multi-agent/autopilot-status/SKILL.md +5 -1
  26. package/pipeline/commands/multi-agent/channels/SKILL.md +16 -8
  27. package/pipeline/commands/multi-agent/log/SKILL.md +2 -0
  28. package/pipeline/commands/multi-agent/resume/SKILL.md +2 -0
  29. package/pipeline/commands/multi-agent/review-rounds/SKILL.md +94 -0
  30. package/pipeline/commands/multi-agent/stack/SKILL.md +1 -1
  31. package/pipeline/commands/multi-agent/sync/SKILL.md +3 -3
  32. package/pipeline/contract/manifest.json +1 -1
  33. package/pipeline/contract/types/index.d.ts +1 -0
  34. package/pipeline/lib/_jira-auth.sh +50 -78
  35. package/pipeline/lib/_service-account.sh +191 -0
  36. package/pipeline/lib/credential-inventory.sh +49 -37
  37. package/pipeline/lib/credential-store.sh +48 -3
  38. package/pipeline/lib/fetch-confluence.sh +76 -92
  39. package/pipeline/lib/fetch-crashlytics.sh +30 -59
  40. package/pipeline/lib/fetch-figma-annotations.sh +9 -9
  41. package/pipeline/lib/fetch-fortify.sh +77 -81
  42. package/pipeline/lib/fetch-graylog.sh +38 -77
  43. package/pipeline/lib/figma-mcp-refresh.sh +23 -4
  44. package/pipeline/lib/figma-screenshot.sh +7 -8
  45. package/pipeline/lib/figma-token.sh +39 -46
  46. package/pipeline/lib/host.mjs +138 -0
  47. package/pipeline/lib/host.sh +48 -0
  48. package/pipeline/lib/issue-fetcher.sh +25 -41
  49. package/pipeline/lib/jira-publish.sh +23 -21
  50. package/pipeline/lib/local-model.mjs +93 -0
  51. package/pipeline/lib/md2confluence-v3.py +37 -30
  52. package/pipeline/lib/model-dispatch.sh +41 -4
  53. package/pipeline/lib/model-resolve.mjs +58 -0
  54. package/pipeline/lib/post-pr-review.sh +38 -53
  55. package/pipeline/lib/reviewer-families.mjs +70 -0
  56. package/pipeline/lib/service-account.mjs +2131 -0
  57. package/pipeline/lib/service-account.sh +35 -0
  58. package/pipeline/lib/usage-names.generated.mjs +3 -0
  59. package/pipeline/lib/usage-token.mjs +64 -24
  60. package/pipeline/lib/usage-vocab.mjs +1 -1
  61. package/pipeline/lib/user-facing.mjs +11 -3
  62. package/pipeline/lib/vercel-deploy.sh +17 -26
  63. package/pipeline/multi-agent-refs/_entry-picker.md +62 -0
  64. package/pipeline/multi-agent-refs/_input-parser.md +1 -1
  65. package/pipeline/multi-agent-refs/analysis/intake.md +2 -0
  66. package/pipeline/multi-agent-refs/analysis/reusable-refs.md +1 -0
  67. package/pipeline/multi-agent-refs/analysis/unattended.md +135 -0
  68. package/pipeline/multi-agent-refs/autopilot-on/details.md +16 -0
  69. package/pipeline/multi-agent-refs/channels/generator.md +10 -2
  70. package/pipeline/multi-agent-refs/channels/menu.md +3 -1
  71. package/pipeline/multi-agent-refs/channels/preview.md +3 -1
  72. package/pipeline/multi-agent-refs/channels/reference.md +16 -2
  73. package/pipeline/multi-agent-refs/channels/report-file.md +188 -0
  74. package/pipeline/multi-agent-refs/component-dispatch.md +2 -2
  75. package/pipeline/multi-agent-refs/cross-cli-contract.md +38 -30
  76. package/pipeline/multi-agent-refs/features/autopilot-circuit-breaker.md +4 -4
  77. package/pipeline/multi-agent-refs/features/doctor.md +37 -11
  78. package/pipeline/multi-agent-refs/features/free-models.md +3 -3
  79. package/pipeline/multi-agent-refs/features/local-model.md +87 -0
  80. package/pipeline/multi-agent-refs/features/model-fallback.md +25 -10
  81. package/pipeline/multi-agent-refs/features/product-context.md +6 -5
  82. package/pipeline/multi-agent-refs/features/review-delta.md +1 -1
  83. package/pipeline/multi-agent-refs/features/review-rounds.md +40 -0
  84. package/pipeline/multi-agent-refs/features/rework-escalation.md +5 -4
  85. package/pipeline/multi-agent-refs/features/service-accounts.md +233 -0
  86. package/pipeline/multi-agent-refs/features/unattended-security.md +10 -1
  87. package/pipeline/multi-agent-refs/help/en.md +31 -2
  88. package/pipeline/multi-agent-refs/help/tr.md +31 -2
  89. package/pipeline/multi-agent-refs/orchestrator/copilot-pipeline.md +3 -2
  90. package/pipeline/multi-agent-refs/orchestrator/dispatcher.md +2 -1
  91. package/pipeline/multi-agent-refs/phases/modes.md +20 -1
  92. package/pipeline/multi-agent-refs/phases/operations.md +1 -1
  93. package/pipeline/multi-agent-refs/phases/phase-0-init.md +1 -1
  94. package/pipeline/multi-agent-refs/phases/phase-2-dev.md +4 -4
  95. package/pipeline/multi-agent-refs/phases/phase-3-review.md +7 -3
  96. package/pipeline/multi-agent-refs/phases/phase-5-report.md +12 -10
  97. package/pipeline/multi-agent-refs/phases.md +4 -3
  98. package/pipeline/multi-agent-refs/resume/details.md +2 -0
  99. package/pipeline/multi-agent-refs/review/panel.md +30 -18
  100. package/pipeline/multi-agent-refs/setup/discovery.md +17 -5
  101. package/pipeline/multi-agent-refs/setup/token-save-flow.md +21 -2
  102. package/pipeline/multi-agent-refs/sync/overview.md +11 -5
  103. package/pipeline/multi-agent-refs/tracker-contract.md +28 -10
  104. package/pipeline/office/index.html +4 -4
  105. package/pipeline/schemas/agent-state.schema.json +19 -1
  106. package/pipeline/schemas/autopilot-config.schema.json +29 -4
  107. package/pipeline/schemas/hosts.json +512 -0
  108. package/pipeline/schemas/hosts.schema.json +310 -0
  109. package/pipeline/schemas/launch.json +22 -2
  110. package/pipeline/schemas/launch.schema.json +2 -1
  111. package/pipeline/schemas/phases.json +21 -3
  112. package/pipeline/schemas/phases.schema.json +8 -0
  113. package/pipeline/schemas/prefs.schema.json +346 -7
  114. package/pipeline/schemas/token-budget.json +2 -2
  115. package/pipeline/scripts/.doctor-mut.47076.mjs +2253 -0
  116. package/pipeline/scripts/_autopilot-config.mjs +67 -4
  117. package/pipeline/scripts/_autopilot-item.mjs +67 -0
  118. package/pipeline/scripts/_autopilot-outcomes.mjs +6 -0
  119. package/pipeline/scripts/_cost.mjs +75 -3
  120. package/pipeline/scripts/analysis-sources.mjs +22 -5
  121. package/pipeline/scripts/analysis-unattended.mjs +360 -0
  122. package/pipeline/scripts/anonymize-findings.mjs +3 -7
  123. package/pipeline/scripts/autopilot-arming.mjs +19 -10
  124. package/pipeline/scripts/autopilot-intake.mjs +124 -27
  125. package/pipeline/scripts/autopilot-menubar.swift +7 -0
  126. package/pipeline/scripts/autopilot-runner.mjs +77 -48
  127. package/pipeline/scripts/autopilot-status.sh +32 -9
  128. package/pipeline/scripts/bulk-read.sh +37 -5
  129. package/pipeline/scripts/confluence-readback.mjs +15 -7
  130. package/pipeline/scripts/cost-table.json +65 -25
  131. package/pipeline/scripts/doctor.mjs +119 -32
  132. package/pipeline/scripts/entry-mode.mjs +101 -0
  133. package/pipeline/scripts/estimate.mjs +30 -16
  134. package/pipeline/scripts/feedback-send.mjs +11 -8
  135. package/pipeline/scripts/gen-facts.mjs +16 -13
  136. package/pipeline/scripts/jira-attach.sh +23 -28
  137. package/pipeline/scripts/jira-search.sh +5 -21
  138. package/pipeline/scripts/launch-request.mjs +15 -9
  139. package/pipeline/scripts/migrate-prefs.mjs +56 -0
  140. package/pipeline/scripts/phase-tracker.sh +146 -38
  141. package/pipeline/scripts/priority-review.mjs +14 -7
  142. package/pipeline/scripts/product-context.mjs +26 -7
  143. package/pipeline/scripts/prune-logs.sh +4 -2
  144. package/pipeline/scripts/report-file.mjs +285 -0
  145. package/pipeline/scripts/review-rounds.mjs +592 -0
  146. package/pipeline/scripts/rework-escalation.mjs +26 -7
  147. package/pipeline/scripts/service-read.mjs +19 -17
  148. package/pipeline/scripts/skill-siblings.mjs +17 -1
  149. package/pipeline/scripts/status-overview.mjs +20 -10
  150. package/pipeline/scripts/uninstall.mjs +145 -57
  151. package/pipeline/scripts/usage-register.mjs +34 -11
  152. package/pipeline/scripts/usage-report.mjs +31 -26
  153. package/pipeline/scripts/validate-state.mjs +19 -11
  154. package/pipeline/scripts/validate-triage.mjs +11 -1
  155. package/pipeline/scripts/work-items.mjs +25 -28
  156. package/pipeline/scripts/write-store-config.mjs +37 -11
  157. package/pipeline/skills/.skill-manifest.json +11 -7
  158. package/pipeline/skills/.skills-index.json +13 -2
  159. package/pipeline/skills/shared/README.md +4 -3
  160. package/pipeline/skills/shared/core/multi-agent/SKILL.md +14 -6
  161. package/pipeline/skills/shared/core/multi-agent-analysis/SKILL.md +2 -0
  162. package/pipeline/skills/shared/core/multi-agent-channels/SKILL.md +11 -8
  163. package/pipeline/skills/shared/core/multi-agent-resume/SKILL.md +1 -1
  164. package/pipeline/skills/shared/core/multi-agent-review-rounds/SKILL.md +92 -0
  165. package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +3 -3
  166. package/pipeline/skills/skills-index.md +2 -1
  167. package/pipeline/lib/credential-resolve.mjs +0 -75
@@ -0,0 +1,92 @@
1
+ ---
2
+ name: multi-agent-review-rounds
3
+ description: "Set how often review sends work back, 1 to 3 (default 2). Use when changing review rounds."
4
+ user-invocable: true
5
+ argument-hint: "[status | 1 | 2 | 3 | reset] [--repo] - no argument opens a picker"
6
+ metadata:
7
+ language: en
8
+ ---
9
+
10
+ # multi-agent review-rounds - how many times review may send work back
11
+
12
+ > **Pickers follow** `$HOME/.claude/multi-agent-refs/picker-contract.md`: never a one-option call, and branch on the option selected, not on its text.
13
+
14
+ **Input**: ${ARGUMENTS}
15
+
16
+ Phase 3 sends accepted blocking findings back to Phase 2 for rework. This command
17
+ sets how many of those reworks a run allows: with limit N, review sends work back
18
+ N times, every rework is reviewed again, and the run stops when a review still has
19
+ blocking findings after N reworks (at most N + 1 reviews). The range is 1 to 3 (3
20
+ is the ceiling on `reworkCount`) and the default is 2. Every reader of the limit goes
21
+ through one resolver, so the number set here is the number a run obeys:
22
+
23
+ ```bash
24
+ RR="$HOME/.claude/scripts/review-rounds.mjs"
25
+ ```
26
+
27
+ Precedence, first valid value wins: `--review-rounds N` on the run, then this
28
+ repository's setting (`prefs.projects.<slug>.maxReworkCycles`), then the global
29
+ setting (`prefs.global.review.maxReworkCycles`), then 2. A stored value outside
30
+ 1 to 3 is ignored and reported, never clamped. Autopilot's circuit-breaker value
31
+ (`autopilotCircuitBreaker.maxReworkCycles`) can only lower the rework-storm
32
+ trigger; it never raises the limit.
33
+
34
+ ## Forms
35
+
36
+ | Input | Does |
37
+ |---|---|
38
+ | (none) | Shows the effective value and its source, then asks with the picker below. Interactive only. |
39
+ | `status` | `node "$RR" get`: prints the value, its source and the range. Asks nothing. |
40
+ | `1`, `2` or `3` | `node "$RR" set <n>`: writes it globally. Asks nothing. |
41
+ | `1`, `2` or `3` with `--repo` | `node "$RR" set <n> --repo`: writes it for the current repository only. |
42
+ | `reset` (with `--repo` for the repository) | `node "$RR" reset [--repo]`: removes that override. |
43
+ | `--repo` | Scopes to the current repository (its folder name, the run's `state.project`), or to `--project <key>`. A scope that cannot be resolved, or `--project` without `--repo`, exits 2 and writes nothing. |
44
+ | anything else | Print the usage line and stop with a non-zero exit. |
45
+
46
+ Print the script's output as written: it is already in the user's output language.
47
+ A value outside 1 to 3 is refused by the script with exit 2 and nothing is written;
48
+ report its message and stop.
49
+
50
+ ## Unattended runs
51
+
52
+ When `MULTI_AGENT_UNATTENDED=1` or `autopilot` is in the input, no picker opens and
53
+ nothing is defaulted. With no argument, run `node "$RR" get`, print the result and
54
+ stop. Setting a value needs an explicit argument (`1`, `2`, `3` or `reset`).
55
+
56
+ ## The picker (no argument, attended)
57
+
58
+ 1. Run `node "$RR" get --json`; print the `get` text form (value, source, range).
59
+ 2. Render the question, the labels and the descriptions below in
60
+ `outputLanguage`; only `header` is a fixed chip. The table gives each label in
61
+ its English form (Turkish: `2 tur (Önerilen)`, `3 tur`, `1 tur`). The default
62
+ (2) is first and carries `(Recommended)`; the option equal to the
63
+ current effective value carries `(current)` (Turkish `(geçerli)`), both
64
+ suffixes on one label when they coincide. The order is fixed: 2, 3, 1.
65
+ 3. Ask once. An empty answer is not consent: ask again, or write nothing.
66
+ 4. Branch on the option selected. If it equals the current effective value, write
67
+ nothing and say it is unchanged. Otherwise run `node "$RR" set <n>` (add
68
+ `--repo` only when the input carried `--repo`) and print its output. Scope is
69
+ not asked: global is the default and `--repo` is the way to scope.
70
+
71
+ `AskUserQuestion`: `header: "Rounds"`.
72
+
73
+ | # | label | description (en) | description (tr) |
74
+ |---|---|---|---|
75
+ | 1 | `2 rounds (Recommended)` | Review can send work back to development twice; a third failed review stops the run. | Review işi iki kez geliştirmeye geri gönderebilir; üçüncü başarısız review koşuyu durdurur. |
76
+ | 2 | `3 rounds` | Review can send work back to development three times; a fourth failed review stops the run. | Review işi üç kez geliştirmeye geri gönderebilir; dördüncü başarısız review koşuyu durdurur. |
77
+ | 3 | `1 round` | Review can send work back to development once; a second failed review stops the run. | Review işi bir kez geliştirmeye geri gönderebilir; ikinci başarısız review koşuyu durdurur. |
78
+
79
+ | | en | tr |
80
+ |---|---|---|
81
+ | question | How many times may review send work back to development before the run stops? | Koşu durmadan önce review işi kaç kez geliştirmeye geri gönderebilsin? |
82
+
83
+ On a host without a native picker (Copilot CLI), use the numbered-menu fallback of
84
+ the picker contract: `ask-choice.sh` with the three labels in this order, and map
85
+ the answer by its index, never by its text.
86
+
87
+ ## Related
88
+
89
+ - Resolver, precedence and exit codes: `$HOME/.claude/scripts/review-rounds.mjs`
90
+ - Where a run reads the limit: `$HOME/.claude/multi-agent-refs/phases/phase-3-review.md` Step 4
91
+ (`review-rounds.mjs next`) and `$HOME/.claude/multi-agent-refs/features/review-rounds.md`
92
+ - One run only: `/multi-agent "task" --review-rounds N`
@@ -52,7 +52,7 @@ Run every step automatically:
52
52
  ```
53
53
  Step 0: DOCTOR doctor.mjs - exit 2 or 4 stops the sync
54
54
  Step 1.5: DETECT Compare timestamps, find stale targets
55
- Step 2: COPILOT Claude Code -> Copilot CLI (instructions + 80 sub-command skills)
55
+ Step 2: COPILOT Claude Code -> Copilot CLI (instructions + 81 sub-command skills)
56
56
  Step 2b: CODEX Claude Code -> Codex CLI (router skill + specs as refs + agent TOML)
57
57
  Step 3: REPO Claude Code -> pipeline repo (genericized, personal data scrub, bash -n on all sh)
58
58
  Step 3c: PLUGINS shared/external -> multi-agent-plugins marketplace (rebuild, bump, push)
@@ -139,14 +139,14 @@ Claude <-> Copilot axis only; Codex takes Step 2b (`cross-cli-contract.md` 2.6).
139
139
 
140
140
  `~/.claude/commands/multi-agent/{cmd}/SKILL.md` <-> `~/.copilot/skills/multi-agent-{cmd}/SKILL.md`.
141
141
 
142
- **80 commands are synced** (canonical inventory - must match `cross-cli-contract.md` section 1; drift = contract violation):
142
+ **81 commands are synced** (canonical inventory - must match `cross-cli-contract.md` section 1; drift = contract violation):
143
143
 
144
144
  ```
145
145
  address-review, analysis, analysis-jira, analysis-resolve, autopilot-off, autopilot-on,
146
146
  autopilot-status, bug-bash, build-optimize, channels, clean-disk, complaint-analysis, create-jira,
147
147
  design-check, diff-explain, doctor, estimate, fable-off, fable-on, fable-status, feedback, forget, garbage-collect, graph, health, help,
148
148
  ios-coding-standard, issue, jira, kill, language, log,
149
- manual-test, office-off, office-on, office-status, pair, postmortem, prune-logs, prune-prompts, purge, refactor, research, resume, review, review-analysis, review-issue, review-jira, review-priority, route-off, route-on, route-status,
149
+ manual-test, office-off, office-on, office-status, pair, postmortem, prune-logs, prune-prompts, purge, refactor, research, resume, review, review-analysis, review-issue, review-jira, review-priority, review-rounds, route-off, route-on, route-status,
150
150
  routines, routines-browse, routines-delete, routines-import, routines-share, routines-update,
151
151
  save, scaffold, scan, scenario-audit, search, security-review, serve, setup, stack, status, steer, store-ready, sync, test,
152
152
  test-accessibility, test-dark-mode, test-dynamic-type, test-gen, test-screenshots,
@@ -3,7 +3,7 @@
3
3
  > Auto-generated by `pipeline/scripts/build-skills-index.mjs` - do not hand-edit.
4
4
  > Regenerate with `node pipeline/scripts/build-skills-index.mjs`.
5
5
 
6
- **257 skills** across 2 groups.
6
+ **258 skills** across 2 groups.
7
7
 
8
8
  | Group | Name | Platform | Description |
9
9
  |-------|------|----------|-------------|
@@ -157,6 +157,7 @@
157
157
  | core | `multi-agent-review-issue` | - | Assess whether a GitHub issue is ready for multi-agent development: fetch it, grade scope / acceptance criteria / repro / design / API / sta |
158
158
  | core | `multi-agent-review-jira` | - | Assess whether a Jira issue is ready for multi-agent development: fetch it, grade scope / acceptance criteria / repro / design / API / stack |
159
159
  | core | `multi-agent-review-priority` | - | Review a team's open Jira bug priorities against its rule file: read-only by default, one report per team, one approved change at a time. In |
160
+ | core | `multi-agent-review-rounds` | - | Set how often review sends work back, 1 to 3 (default 2). Use when changing review rounds. |
160
161
  | core | `multi-agent-route-off` | - | Disable model routing and keep its rules, so turning it back on does not re-ask for the same configuration. Use when asked to turn model rou |
161
162
  | core | `multi-agent-route-on` | - | Enable policy-driven model routing: pick a strategy, a scope, and the rules that say which rung a call lands on. Use when asked to turn mode |
162
163
  | core | `multi-agent-route-status` | - | Report model routing: whether it is armed, which rule applies where, which rung the last dispatches took, and what this run has cost. Use wh |
@@ -1,75 +0,0 @@
1
- /**
2
- * credential-resolve.mjs - a token for a Node script, without argv.
3
- *
4
- * Resolution order matches md2confluence-v3.py: the credential store under the
5
- * logical key `prefs.global.keychainMapping.<name>`, then an environment
6
- * variable. The value is read from the store's stdout and only ever travels in a
7
- * request header.
8
- *
9
- * @module pipeline/lib/credential-resolve
10
- */
11
-
12
- import { existsSync } from "node:fs";
13
- import { execFile, spawnSync } from "node:child_process";
14
- import { homedir } from "node:os";
15
- import { join } from "node:path";
16
- import { loadGlobalPrefs, prefsFileIn, prefsPath } from "./prefs-value.mjs";
17
-
18
- /**
19
- * @param {string} name - logical credential name, e.g. "confluence" or "figma"
20
- * @param {string} envVar - environment fallback, e.g. "CONFLUENCE_TOKEN"
21
- * @returns {string|null}
22
- */
23
- export function resolveToken(name, envVar) {
24
- const home = homedir();
25
- const store = join(home, ".claude", "lib", "credential-store.sh");
26
- const prefs = prefsFileIn(home);
27
- if (existsSync(store) && existsSync(prefs)) {
28
- try {
29
- const key = loadGlobalPrefs(prefs)?.keychainMapping?.[name];
30
- if (key) {
31
- const r = spawnSync("bash", [store, "get", key], { encoding: "utf8", timeout: 10_000 });
32
- const token = (r.stdout || "").trim();
33
- if (r.status === 0 && token) return token;
34
- }
35
- } catch {
36
- // fall through to the environment
37
- }
38
- }
39
- return process.env[envVar] || null;
40
- }
41
-
42
- /**
43
- * resolveToken for a request path: the store is read without blocking the
44
- * event loop and given a deadline, so a store waiting on an unlock prompt
45
- * yields "no token" instead of stalling the caller.
46
- *
47
- * @param {string} name
48
- * @param {string} envVar
49
- * @param {{timeoutMs?: number}} [opts]
50
- * @returns {Promise<string|null>}
51
- */
52
- export async function resolveTokenAsync(
53
- name,
54
- envVar,
55
- { timeoutMs = 5000, env = process.env } = {},
56
- ) {
57
- const home = env.HOME || homedir();
58
- const store = join(home, ".claude", "lib", "credential-store.sh");
59
- const prefs = prefsPath(env);
60
- if (existsSync(store) && existsSync(prefs)) {
61
- const key = loadGlobalPrefs(prefs)?.keychainMapping?.[name] ?? null;
62
- if (key) {
63
- const token = await new Promise((resolve) => {
64
- execFile(
65
- "bash",
66
- [store, "get", key],
67
- { encoding: "utf8", timeout: timeoutMs, killSignal: "SIGKILL", env },
68
- (err, stdout) => resolve(err ? "" : String(stdout || "").trim()),
69
- );
70
- });
71
- if (token) return token;
72
- }
73
- }
74
- return env[envVar] || null;
75
- }