agentic-runner-contracts 3.4.2__tar.gz → 3.5.0__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.
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/PKG-INFO +1 -1
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/__init__.py +5 -1
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/runtime_context.py +14 -4
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/.gitignore +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/LICENSE +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/README.md +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/pyproject.toml +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/activity_io.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/channel_messages.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/epics.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/github_port.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/grants/__init__.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/grants/catalogue.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/grants/evaluator.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/grants/model.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/grants/seam.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/grants/snapshot.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/incidents.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/llm_usage.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/public_metadata.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/py.typed +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/questions.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/redaction.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/routing.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/runner_registration.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/runner_signature.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/sealed_credential.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/swarm.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/triage.py +0 -0
- {agentic_runner_contracts-3.4.2 → agentic_runner_contracts-3.5.0}/src/agentic_runner_contracts/user_sources.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: agentic-runner-contracts
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.5.0
|
|
4
4
|
Summary: Activity I/O contracts and Public Metadata name builders shared by the Agentic OS platform and the installable Runner
|
|
5
5
|
License-Expression: AGPL-3.0-only
|
|
6
6
|
License-File: LICENSE
|
|
@@ -32,6 +32,10 @@ the package the floor is *about*, and read back through ``agentic-runner --versi
|
|
|
32
32
|
# Additive; an older payload parses with no Skills. But the context forbids extra keys,
|
|
33
33
|
# so a Runner one minor behind refuses a context that carries `skills` -- the platform
|
|
34
34
|
# must not send the field until its Runners are on 2.7.
|
|
35
|
-
|
|
35
|
+
# Next minor (local-agents 12): `WorkerRuntimeContext.cli_kind` widens from the two known
|
|
36
|
+
# kinds to the registration pattern `^[a-z][a-z0-9_]{0,31}$`. Additive: every payload that
|
|
37
|
+
# parsed still parses; a Runner one minor behind refuses a context naming a new kind, which
|
|
38
|
+
# fails that Directive closed, and routing sends a kind only to a Runner that reports it.
|
|
39
|
+
__version__ = "3.5.0"
|
|
36
40
|
|
|
37
41
|
__all__ = ["__version__"]
|
|
@@ -9,9 +9,16 @@ the same reason: both sides resolve this context, through clients of their own.
|
|
|
9
9
|
from __future__ import annotations
|
|
10
10
|
|
|
11
11
|
import re
|
|
12
|
-
from typing import Any, Literal, Protocol
|
|
13
|
-
|
|
14
|
-
from pydantic import
|
|
12
|
+
from typing import Annotated, Any, Literal, Protocol
|
|
13
|
+
|
|
14
|
+
from pydantic import (
|
|
15
|
+
BaseModel,
|
|
16
|
+
ConfigDict,
|
|
17
|
+
Field,
|
|
18
|
+
StringConstraints,
|
|
19
|
+
field_validator,
|
|
20
|
+
model_validator,
|
|
21
|
+
)
|
|
15
22
|
|
|
16
23
|
_FORBIDDEN_SECRET_VALUE_FIELDS = frozenset(
|
|
17
24
|
{
|
|
@@ -98,7 +105,10 @@ class WorkerRuntimeContext(BaseModel):
|
|
|
98
105
|
|
|
99
106
|
work_record_id: str
|
|
100
107
|
profile_slug: str
|
|
101
|
-
|
|
108
|
+
# Any harness a Profile names, the pattern the Runner's registration already reports
|
|
109
|
+
# (local-agents 12 item 6). Which runtime serves it is the Runner's choice; a kind the
|
|
110
|
+
# Runner does not serve fails closed there.
|
|
111
|
+
cli_kind: Annotated[str, StringConstraints(pattern=r"^[a-z][a-z0-9_]{0,31}$")]
|
|
102
112
|
repo: str
|
|
103
113
|
base_branch: str
|
|
104
114
|
reviewer: str | None = None
|
|
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
|
|
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
|