Skip to content

Refresh README for 2.0.0 surface#62

Merged
matt-edmondson merged 1 commit into
mainfrom
claude/readme-update
May 12, 2026
Merged

Refresh README for 2.0.0 surface#62
matt-edmondson merged 1 commit into
mainfrom
claude/readme-update

Conversation

@matt-edmondson
Copy link
Copy Markdown
Contributor

Bring the README up to date with the 2.0.0 surface.

What changed

  • ISearchableCredentialStore is documented. Shows the runtime-cast pattern so consumers on macOS/Linux know they have to either track persona GUIDs themselves or fall through.
  • Linux runtime prerequisites sectionlibsecret-1-0 plus a Secret Service implementation, with a pointer to the dbus-run-session + gnome-keyring-daemon setup used by cross-platform.yml for CI / headless cases.
  • "Adding your own credential type" walkthrough[JsonDerivedType] on the Credential base, optional ICredentialFactory<T> registration, and the note that SemanticString<T> properties round-trip through ktsu.RoundTripStringJsonConverter automatically.
  • "Don't dispose the singleton" warning — flags the footgun where using var c = CredentialCache.Instance; puts the process-wide singleton in a disposed state.
  • API summary table now includes the Store property and an ISearchableCredentialStore row; the platform table's native-API column is accurate (CredReadW / SecKeychainAddGenericPassword / secret_password_store_sync).

Test plan

  • No code changes — docs only.
  • Local Markdown renders sanely.

https://claude.ai/code/session_017B9mN9F7C3pWGZRyoKBd6R


Generated by Claude Code

Updates the docs to match the post-#61 reality:

- Documents ISearchableCredentialStore and shows the runtime cast pattern
  consumers need on macOS/Linux when they want enumeration.
- Adds a Linux runtime prerequisites section (libsecret + Secret Service,
  with a pointer to the dbus-run-session + gnome-keyring-daemon workflow
  used in CI).
- Walks through adding a custom Credential subclass: [JsonDerivedType] on
  the base, optional ICredentialFactory<T> registration, and the note
  that SemanticString<T> properties round-trip via the RoundTrip converter
  automatically.
- Adds a "don't dispose the singleton" warning -- calling Dispose() on
  CredentialCache.Instance breaks it process-wide.
- Adds the Store property and ISearchableCredentialStore rows to the API
  summary table; native API column in the platform table is now accurate.

https://claude.ai/code/session_017B9mN9F7C3pWGZRyoKBd6R
@matt-edmondson matt-edmondson merged commit 5093340 into main May 12, 2026
1 check passed
@matt-edmondson matt-edmondson deleted the claude/readme-update branch May 12, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants