Skip to content

feat: Add Bitwarden secrets and Anthropic distill support #348

@howailok1120

Description

@howailok1120

Summary

This issue tracks a feature branch (feat/bitwarden-anthropic-distill) with the following changes:

  • Bitwarden secret resolver (src/secret-resolver.ts) — resolves API keys from Bitwarden CLI or environment variables securely
  • Anthropic LLM client (src/llm-client.ts) — adds a distill/extraction LLM client backed by the Anthropic API
  • CLI entry point (cli.ts) — exposes distill functionality via command line
  • Lesson extract worker updated — integrates secret resolution into examples/new-session-distill/worker/lesson-extract-worker.mjs
  • Tests addedtest/secret-resolver.test.mjs, test/llm-api-key-client.test.mjs, test/plugin-manifest-regression.mjs
  • Plugin manifest & package updatesopenclaw.plugin.json, package.json

Files changed (712 insertions, 34 deletions across 12 files)

 README.md
 cli.ts
 examples/new-session-distill/README.md
 examples/new-session-distill/worker/lesson-extract-worker.mjs
 index.ts
 openclaw.plugin.json
 package.json
 src/llm-client.ts
 src/secret-resolver.ts
 test/llm-api-key-client.test.mjs
 test/plugin-manifest-regression.mjs
 test/secret-resolver.test.mjs

Requesting

A maintainer with push access to this repo is needed to review and merge this work. Happy to provide the patch or branch if needed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions