agent-engine-sdk-memory 0.11.7__tar.gz → 0.11.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/PKG-INFO +9 -2
  2. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/README.md +8 -1
  3. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/models.py +8 -2
  4. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/docs/api.md +3 -1
  5. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/pyproject.toml +1 -1
  6. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/LICENSE +0 -0
  7. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/Makefile +0 -0
  8. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/__init__.py +0 -0
  9. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/_client.py +0 -0
  10. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/_denylist.py +0 -0
  11. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/_direct_crud.py +0 -0
  12. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/_http_runtime.py +0 -0
  13. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/_tag_syntax.py +0 -0
  14. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/_transport.py +0 -0
  15. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/_wire.py +0 -0
  16. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/errors.py +0 -0
  17. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/identity.py +0 -0
  18. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/memory.py +0 -0
  19. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/protocol.py +0 -0
  20. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/py.typed +0 -0
  21. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/validation.py +0 -0
  22. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/docs/capability-matrix.md +0 -0
  23. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/pydoc-markdown.yml +0 -0
  24. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/README.md +0 -0
  25. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.1.0.md +0 -0
  26. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.10.0.md +0 -0
  27. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.2.0.md +0 -0
  28. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.3.0.md +0 -0
  29. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.4.0.md +0 -0
  30. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.5.0.md +0 -0
  31. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.6.0.md +0 -0
  32. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.7.0.md +0 -0
  33. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.8.0.md +0 -0
  34. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.9.0.md +0 -0
  35. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/__init__.py +0 -0
  36. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/conftest.py +0 -0
  37. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_apikey_errors.py +0 -0
  38. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_construction.py +0 -0
  39. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_custom_types.py +0 -0
  40. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_direct_crud.py +0 -0
  41. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_direct_parity.py +0 -0
  42. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_http_runtime.py +0 -0
  43. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_identity.py +0 -0
  44. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_memory_client.py +0 -0
  45. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_memory_facade.py +0 -0
  46. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_package_contract.py +0 -0
  47. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_protocol.py +0 -0
  48. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_request_headers.py +0 -0
  49. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_route_selection.py +0 -0
  50. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_search.py +0 -0
  51. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_tag_syntax.py +0 -0
  52. {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_transport.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: agent-engine-sdk-memory
3
- Version: 0.11.7
3
+ Version: 0.11.9
4
4
  Summary: Slim public Memory facade and models for Atlas Agent Engine
5
5
  License: Apache-2.0
6
6
  License-File: LICENSE
@@ -318,7 +318,7 @@ Mint the token with the `agentengine` CLI. Create a service account once — the
318
318
  client secret is shown only once, so save it immediately:
319
319
 
320
320
  ```
321
- agentengine service-account create my-agent --project-id <your-project-id> --role AGENT_DEVELOPER
321
+ agentengine service-account create my-agent --project-id <your-project-id> --role PROJECT_OWNER
322
322
  ```
323
323
 
324
324
  Then exchange the client ID and secret for a short-lived (1-hour) access token
@@ -349,6 +349,13 @@ and emit a `DeprecationWarning`; passing both the new and the legacy input
349
349
  raises `ValueError`. Project API keys can no longer be minted over HTTP, so new
350
350
  integrations must use a service-account token.
351
351
 
352
+ A service account is the right credential for a **multi-user** application: it
353
+ may name any end user as `user_id`. A human credential may only name an end user
354
+ other than the caller when the project enables end-user delegation; otherwise a
355
+ `user_id` naming another user is rejected with `403`, and updates or deletes of
356
+ another user's record are refused whatever its visibility (a project owner may
357
+ still delete it).
358
+
352
359
  ### Local development
353
360
 
354
361
  Point at a backend you run yourself, such as the stack `agentengine dev up` starts.
@@ -303,7 +303,7 @@ Mint the token with the `agentengine` CLI. Create a service account once — the
303
303
  client secret is shown only once, so save it immediately:
304
304
 
305
305
  ```
306
- agentengine service-account create my-agent --project-id <your-project-id> --role AGENT_DEVELOPER
306
+ agentengine service-account create my-agent --project-id <your-project-id> --role PROJECT_OWNER
307
307
  ```
308
308
 
309
309
  Then exchange the client ID and secret for a short-lived (1-hour) access token
@@ -334,6 +334,13 @@ and emit a `DeprecationWarning`; passing both the new and the legacy input
334
334
  raises `ValueError`. Project API keys can no longer be minted over HTTP, so new
335
335
  integrations must use a service-account token.
336
336
 
337
+ A service account is the right credential for a **multi-user** application: it
338
+ may name any end user as `user_id`. A human credential may only name an end user
339
+ other than the caller when the project enables end-user delegation; otherwise a
340
+ `user_id` naming another user is rejected with `403`, and updates or deletes of
341
+ another user's record are refused whatever its visibility (a project owner may
342
+ still delete it).
343
+
337
344
  ### Local development
338
345
 
339
346
  Point at a backend you run yourself, such as the stack `agentengine dev up` starts.
@@ -14,7 +14,10 @@ from enum import Enum
14
14
  from typing import Any
15
15
 
16
16
  from pydantic import BaseModel, Field
17
- from typing_extensions import TypedDict # Pydantic requires this on Python < 3.12
17
+ from typing_extensions import ( # Pydantic requires this on Python < 3.12
18
+ NotRequired,
19
+ TypedDict,
20
+ )
18
21
 
19
22
  TagScalar = str | int | float | bool
20
23
 
@@ -361,7 +364,9 @@ class SourceOutcome(TypedDict):
361
364
  ``SourceOutcome`` dataclass to this dict). Enum-valued fields arrive as their
362
365
  string values. ``error`` is ``None`` unless the source failed; a
363
366
  ``requested_mode``/``effective_mode`` mismatch flags a source that ran in a
364
- degraded mode.
367
+ degraded mode. ``retryable`` is true only for a first-use lazy index
368
+ build — retry shortly rather than treat the empty contribution as
369
+ "no memories". Absent from older servers, so treat a missing key as false.
365
370
  """
366
371
 
367
372
  source: str
@@ -369,6 +374,7 @@ class SourceOutcome(TypedDict):
369
374
  effective_mode: str
370
375
  count: int
371
376
  error: str | None
377
+ retryable: NotRequired[bool]
372
378
 
373
379
 
374
380
  class ContextMetadata(BaseModel):
@@ -1226,7 +1226,9 @@ The wire shape the server emits (per-source builder serializes its internal
1226
1226
  ``SourceOutcome`` dataclass to this dict). Enum-valued fields arrive as their
1227
1227
  string values. ``error`` is ``None`` unless the source failed; a
1228
1228
  ``requested_mode``/``effective_mode`` mismatch flags a source that ran in a
1229
- degraded mode.
1229
+ degraded mode. ``retryable`` is true only for a first-use lazy index
1230
+ build — retry shortly rather than treat the empty contribution as
1231
+ "no memories". Absent from older servers, so treat a missing key as false.
1230
1232
 
1231
1233
  <a id="agent_engine_sdk_memory.models.ContextMetadata"></a>
1232
1234
 
@@ -9,7 +9,7 @@ only-include = ["agent_engine_sdk_memory", "README.md", "LICENSE"]
9
9
 
10
10
  [project]
11
11
  name = "agent-engine-sdk-memory"
12
- version = "0.11.7"
12
+ version = "0.11.9"
13
13
  description = "Slim public Memory facade and models for Atlas Agent Engine"
14
14
  readme = "README.md"
15
15
  license = {text = "Apache-2.0"}