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.
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/PKG-INFO +9 -2
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/README.md +8 -1
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/models.py +8 -2
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/docs/api.md +3 -1
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/pyproject.toml +1 -1
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/LICENSE +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/Makefile +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/__init__.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/_client.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/_denylist.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/_direct_crud.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/_http_runtime.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/_tag_syntax.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/_transport.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/_wire.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/errors.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/identity.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/memory.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/protocol.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/py.typed +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/validation.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/docs/capability-matrix.md +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/pydoc-markdown.yml +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/README.md +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.1.0.md +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.10.0.md +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.2.0.md +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.3.0.md +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.4.0.md +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.5.0.md +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.6.0.md +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.7.0.md +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.8.0.md +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/release-notes/v0.9.0.md +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/__init__.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/conftest.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_apikey_errors.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_construction.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_custom_types.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_direct_crud.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_direct_parity.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_http_runtime.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_identity.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_memory_client.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_memory_facade.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_package_contract.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_protocol.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_request_headers.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_route_selection.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_search.py +0 -0
- {agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_tag_syntax.py +0 -0
- {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.
|
|
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
|
|
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
|
|
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.
|
{agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/models.py
RENAMED
|
@@ -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
|
|
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.
|
|
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"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/_wire.py
RENAMED
|
File without changes
|
{agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/errors.py
RENAMED
|
File without changes
|
|
File without changes
|
{agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/memory.py
RENAMED
|
File without changes
|
|
File without changes
|
{agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/agent_engine_sdk_memory/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_apikey_errors.py
RENAMED
|
File without changes
|
{agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_construction.py
RENAMED
|
File without changes
|
{agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_custom_types.py
RENAMED
|
File without changes
|
|
File without changes
|
{agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_direct_parity.py
RENAMED
|
File without changes
|
{agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_http_runtime.py
RENAMED
|
File without changes
|
|
File without changes
|
{agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_memory_client.py
RENAMED
|
File without changes
|
{agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_memory_facade.py
RENAMED
|
File without changes
|
{agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_package_contract.py
RENAMED
|
File without changes
|
|
File without changes
|
{agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_request_headers.py
RENAMED
|
File without changes
|
{agent_engine_sdk_memory-0.11.7 → agent_engine_sdk_memory-0.11.9}/tests/test_route_selection.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|