Skip to content
Source
Sign inSign up
TanStack/ai

[ai-harness] A public way to add known secret values to the session redactor #2237

Openviclafouch(GitHub profile, opens in a new tab) opened this issue 1 comment

Version: @tanstack/ai-harness 0.4.0

The session redacts the values of the credentials it reads, in what it keeps and sends. A host that gives a sandbox its own secrets, such as workspace secrets of @tanstack/ai-sandbox, has no public way to add those values to the redactor of the session: the scrub is internal to the session plugins, and reading each value as a credential is the only door in.

Ask: a public way to register known secret values with the session redactor, for example a harness or host option, or a plugin service.

  1. tanstack-source added labelsfeature

  2. Thanks for the report, @viclafouch! To help us reproduce this, could you add a minimal reproduction?

    A runnable example makes fixes dramatically faster — you can fork one of the official examples, or use StackBlitz / CodeSandbox. For TypeScript-only issues, a TS Playground link works too.

    Automated triage — a maintainer will follow up.
  3. github-actions[bot](GitHub profile, opens in a new tab) added labelswaiting-on: maintainer

Sign in to join this conversation.