feat: list source resources and prompts

This commit is contained in:
lda
2026-06-14 00:16:56 +07:00 Verified
parent ba8c59e81a
commit 2609679b87
9 changed files with 215 additions and 16 deletions
+1
View File
@@ -98,6 +98,7 @@ def test_file_store_saves_and_loads_neutral_auth_record(tmp_path: Path) -> None:
loaded = store.load_auth_record("github.work")
assert loaded is not None
assert isinstance(loaded, NeutralAuthRecord)
assert loaded.id == record.id
assert loaded.scheme == record.scheme
assert loaded.payload == record.payload
+1
View File
@@ -102,6 +102,7 @@ def test_file_store_accepts_neutral_auth_ref_without_connection_shape(
loaded = store.load_auth_record("api_ci-1")
assert loaded is not None
assert isinstance(loaded, NeutralAuthRecord)
assert loaded.id == "api_ci-1"
assert loaded.scheme == "bearer"
assert loaded.payload == {"token": "secret"}