Skip to content

Support SecretRef for voice-call credentials and bundled plugin SecretInputs#72607

Merged
joshavant merged 4 commits into
mainfrom
feature/voice-call-secretref-credentials
Apr 27, 2026
Merged

Support SecretRef for voice-call credentials and bundled plugin SecretInputs#72607
joshavant merged 4 commits into
mainfrom
feature/voice-call-secretref-credentials

Conversation

@joshavant

@joshavant joshavant commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds SecretRef support for voice-call Twilio auth tokens and OpenAI/ElevenLabs TTS API keys.
  • Generalizes bundled plugin SecretInput discovery so manifest-declared plugin SecretRef surfaces are included in registry/docs/audit coverage.
  • Documents the newly surfaced ACPX MCP env SecretInput target.

Scope note

This intentionally keeps the broader implementation: bundled plugins that declare configContracts.secretInputs are now discovered from their manifests instead of requiring hardcoded registry entries. That includes the existing ACPX plugins.entries.acpx.config.mcpServers.*.env.* surface.

Validation

  • pnpm check:changed
  • pnpm test src/config/config.plugin-validation.test.ts -- --reporter=verbose

Related #68690

@joshavant
joshavant requested a review from a team as a code owner April 27, 2026 05:21
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation channel: voice-call Channel integration: voice-call size: M maintainer Maintainer-authored PR labels Apr 27, 2026
@greptile-apps

greptile-apps Bot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds SecretRef support for voice-call Twilio auth tokens and TTS API keys (openai/elevenlabs), and generalises bundled plugin SecretInput discovery by reading configContracts.secretInputs directly from plugin manifests rather than maintaining hardcoded registry entries. The ACPX MCP env surface is also surfaced in the credential matrix and docs.

The implementation is well-structured and test coverage is thorough across the new hydration paths in resolvePluginConfigContractsById, the manifest-driven target registry, and the runtime collector.

Confidence Score: 5/5

Safe to merge — no bugs found; logic is correct and tests cover the new hydration paths end-to-end.

All changed code paths are well-tested (unit tests for the new contract hydration scenarios, an integration-style bundled test, and a target-registry test). The spread-order in the hydration merge is intentional and defensively explicit. No P0/P1 findings.

No files require special attention.

Reviews (1): Last reviewed commit: "fix: support voice-call secretrefs" | Re-trigger Greptile

@joshavant
joshavant force-pushed the feature/voice-call-secretref-credentials branch from f712e5a to f62b6a5 Compare April 27, 2026 05:37
@joshavant
joshavant merged commit db09f68 into main Apr 27, 2026
65 checks passed
@joshavant
joshavant deleted the feature/voice-call-secretref-credentials branch April 27, 2026 06:16
vincentkoc added a commit that referenced this pull request Apr 27, 2026
….providers.*.apiKey

Trace to db09f68 (Support SecretRef for voice-call credentials and bundled
plugin SecretInputs #72607). The reference page docs/reference/secretref-credential-surface.md
listed the new entries in the same SHA, but docs/plugins/voice-call.md showed
only plain-string credentials without pointing to the SecretRef surface.
ogt-redknie pushed a commit to ogt-redknie/OPENX that referenced this pull request May 2, 2026
…tInputs (openclaw#72607)

* fix: support voice-call secretrefs

* test: classify plugin secretref targets

* docs: credit voice-call secretref change

* fix: keep plugin secret target discovery lightweight
ogt-redknie pushed a commit to ogt-redknie/OPENX that referenced this pull request May 2, 2026
….providers.*.apiKey

Trace to ea2ebc6 (Support SecretRef for voice-call credentials and bundled
plugin SecretInputs openclaw#72607). The reference page docs/reference/secretref-credential-surface.md
listed the new entries in the same SHA, but docs/plugins/voice-call.md showed
only plain-string credentials without pointing to the SecretRef surface.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 9, 2026
…tInputs (openclaw#72607)

* fix: support voice-call secretrefs

* test: classify plugin secretref targets

* docs: credit voice-call secretref change

* fix: keep plugin secret target discovery lightweight
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 9, 2026
….providers.*.apiKey

Trace to 59f8186 (Support SecretRef for voice-call credentials and bundled
plugin SecretInputs openclaw#72607). The reference page docs/reference/secretref-credential-surface.md
listed the new entries in the same SHA, but docs/plugins/voice-call.md showed
only plain-string credentials without pointing to the SecretRef surface.
globalcaos pushed a commit to globalcaos/tinkerclaw that referenced this pull request May 13, 2026
…tInputs (openclaw#72607)

* fix: support voice-call secretrefs

* test: classify plugin secretref targets

* docs: credit voice-call secretref change

* fix: keep plugin secret target discovery lightweight
globalcaos pushed a commit to globalcaos/tinkerclaw that referenced this pull request May 13, 2026
….providers.*.apiKey

Trace to f1e6555 (Support SecretRef for voice-call credentials and bundled
plugin SecretInputs openclaw#72607). The reference page docs/reference/secretref-credential-surface.md
listed the new entries in the same SHA, but docs/plugins/voice-call.md showed
only plain-string credentials without pointing to the SecretRef surface.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 24, 2026
…tInputs (openclaw#72607)

* fix: support voice-call secretrefs

* test: classify plugin secretref targets

* docs: credit voice-call secretref change

* fix: keep plugin secret target discovery lightweight
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 24, 2026
….providers.*.apiKey

Trace to c954977 (Support SecretRef for voice-call credentials and bundled
plugin SecretInputs openclaw#72607). The reference page docs/reference/secretref-credential-surface.md
listed the new entries in the same SHA, but docs/plugins/voice-call.md showed
only plain-string credentials without pointing to the SecretRef surface.
jameslcowan pushed a commit to jameslcowan/openclaw that referenced this pull request Jun 2, 2026
…tInputs (openclaw#72607)

* fix: support voice-call secretrefs

* test: classify plugin secretref targets

* docs: credit voice-call secretref change

* fix: keep plugin secret target discovery lightweight
jameslcowan pushed a commit to jameslcowan/openclaw that referenced this pull request Jun 2, 2026
….providers.*.apiKey

Trace to 0414770 (Support SecretRef for voice-call credentials and bundled
plugin SecretInputs openclaw#72607). The reference page docs/reference/secretref-credential-surface.md
listed the new entries in the same SHA, but docs/plugins/voice-call.md showed
only plain-string credentials without pointing to the SecretRef surface.
sablehead pushed a commit to sablehead/openclaw that referenced this pull request Jun 10, 2026
…tInputs (openclaw#72607)

* fix: support voice-call secretrefs

* test: classify plugin secretref targets

* docs: credit voice-call secretref change

* fix: keep plugin secret target discovery lightweight
sablehead pushed a commit to sablehead/openclaw that referenced this pull request Jun 10, 2026
….providers.*.apiKey

Trace to 76fedb9 (Support SecretRef for voice-call credentials and bundled
plugin SecretInputs openclaw#72607). The reference page docs/reference/secretref-credential-surface.md
listed the new entries in the same SHA, but docs/plugins/voice-call.md showed
only plain-string credentials without pointing to the SecretRef surface.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: voice-call Channel integration: voice-call docs Improvements or additions to documentation maintainer Maintainer-authored PR size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant