agentops-rpc 0.4.2__tar.gz → 0.4.4__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.
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/PKG-INFO +1 -1
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/pyproject.toml +1 -1
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/__init__.py +4 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/eval/grader.py +1 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/runs/runs.py +20 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc.egg-info/PKG-INFO +1 -1
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/LICENSE +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/README.md +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/setup.cfg +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/agents/__init__.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/agents/agent_create.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/agents/agent_settings.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/agents/agents.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/agents/capabilities.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/agents/constants.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/agents/hosted_agents.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/agents/roster.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/agents/skill_resource.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/agents/tools.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/agents/triggers.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/agents/types.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/agents/worker_catalog.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/base/__init__.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/base/build_stamp.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/base/protocol.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/config/__init__.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/config/worker_config.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/cost/__init__.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/cost/budgets.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/cost/usage.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/eval/__init__.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/eval/knowledge_base.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/eval/quality.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/eval/scores.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/gateway/__init__.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/gateway/alerts.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/gateway/schedules.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/gateway/triggers.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/identity/__init__.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/identity/credentials.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/identity/integrations.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/incidents/__init__.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/incidents/insights.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/incidents/issues.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/memory/__init__.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/memory/agent/__init__.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/memory/agent/worker.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/model/__init__.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/model/discovery.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/model/gateway.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/onboarding/__init__.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/onboarding/checklist.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/rules/__init__.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/rules/types.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/runs/__init__.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/runs/a2a.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/runs/artifacts.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/runs/events.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/runs/replay.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/runs/session.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/runs/titles.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/runs/types.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/wire/__init__.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/wire/frame_registry.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/wire/frames.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/wire/outpost.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/wire/outpost_contract.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/wire/outpost_fingerprint.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc/wire/resolve.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc.egg-info/SOURCES.txt +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc.egg-info/dependency_links.txt +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc.egg-info/requires.txt +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/src/agentops_rpc.egg-info/top_level.txt +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/tests/test_agent_create_models.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/tests/test_agent_tools.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/tests/test_build_stamp.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/tests/test_call_usage.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/tests/test_criterion_definition.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/tests/test_domain_layout.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/tests/test_frame_schema.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/tests/test_hosted_agent_mcp_servers.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/tests/test_integrations_schemas.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/tests/test_label_rules.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/tests/test_outpost_contract.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/tests/test_pair_grader_models.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/tests/test_replay_models.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/tests/test_run_titles.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/tests/test_use_case_model.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/tests/test_worker_catalog_schema.py +0 -0
- {agentops_rpc-0.4.2 → agentops_rpc-0.4.4}/tests/test_worker_config_ops.py +0 -0
|
@@ -379,6 +379,8 @@ from .runs.runs import (
|
|
|
379
379
|
WorkerInvokeRequest,
|
|
380
380
|
WorkerInvokeResponse,
|
|
381
381
|
WorkspaceActivityResponse,
|
|
382
|
+
WorkspaceModelCount,
|
|
383
|
+
WorkspaceToolCount,
|
|
382
384
|
)
|
|
383
385
|
from .runs.session import SESSION_SNAPSHOT_METADATA_KEY, SessionSnapshot, SnapshotComponent, SnapshotComponentKind
|
|
384
386
|
from .runs.titles import TITLE_MAX_CHARS, run_prompt_preview, run_title
|
|
@@ -732,6 +734,8 @@ __all__ = [
|
|
|
732
734
|
"ChangesRequest",
|
|
733
735
|
"ChangesResponse",
|
|
734
736
|
"WorkspaceActivityResponse",
|
|
737
|
+
"WorkspaceModelCount",
|
|
738
|
+
"WorkspaceToolCount",
|
|
735
739
|
"FailureCategoryCount",
|
|
736
740
|
"IssueRecommendation",
|
|
737
741
|
"RunIssue",
|
|
@@ -8,6 +8,7 @@ from pydantic import BaseModel, Field, field_validator
|
|
|
8
8
|
from ..agents.capabilities import AgentCardCapability
|
|
9
9
|
|
|
10
10
|
GRADER_CAPABILITY = AgentCardCapability.GRADER.value
|
|
11
|
+
BASE_EVALUATOR_CATALOG_ID = "base-evaluator"
|
|
11
12
|
GRADER_BASE_CRITERIA_CAPABILITY = AgentCardCapability.GRADER_BASE_CRITERIA.value
|
|
12
13
|
GRADER_CUSTOM_CRITERIA_CAPABILITY = AgentCardCapability.GRADER_CUSTOM_CRITERIA.value
|
|
13
14
|
|
|
@@ -201,6 +201,11 @@ RUN_USAGE_MESSAGE_IDS_KEY = "usage_message_ids"
|
|
|
201
201
|
# honoured from it, or a caller could pre-seed it and buy a run either extra retries or none.
|
|
202
202
|
RUN_RECLAIM_COUNT_KEY = "run_reclaim_count"
|
|
203
203
|
|
|
204
|
+
# Reserved `metadata` key `{"base": <usage at last requeue>, "checked": bool}`, added to each cumulative total a
|
|
205
|
+
# requeued run's new process ships (it restarts at 0). Control-plane authoritative: stripped from caller metadata.
|
|
206
|
+
# Not named `usage`, `token_usage` or `usage_metadata`, which `_merge_usage` reads as usage nestings.
|
|
207
|
+
RUN_USAGE_CARRY_KEY = "usage_carry"
|
|
208
|
+
|
|
204
209
|
# Reserved key under a run's `input` carrying the replay contract a Golden Scenarios recording replay
|
|
205
210
|
# hands the agent-under-test: {"golden_run_id", "mode", "intercept"}. Control-plane authoritative:
|
|
206
211
|
# injected by the replay dispatcher and stripped from every caller-supplied input like `worker_allowlist`.
|
|
@@ -545,6 +550,16 @@ class TopCostRunSummary(BaseModel):
|
|
|
545
550
|
title: str
|
|
546
551
|
|
|
547
552
|
|
|
553
|
+
class WorkspaceModelCount(BaseModel):
|
|
554
|
+
model: str
|
|
555
|
+
runs: int = 0
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
class WorkspaceToolCount(BaseModel):
|
|
559
|
+
name: str
|
|
560
|
+
runs: int = 0
|
|
561
|
+
|
|
562
|
+
|
|
548
563
|
class WorkspaceActivityResponse(BaseModel):
|
|
549
564
|
window_days: int
|
|
550
565
|
runs: int = 0
|
|
@@ -559,6 +574,11 @@ class WorkspaceActivityResponse(BaseModel):
|
|
|
559
574
|
buckets: list[ActivityBucket] = Field(default_factory=list)
|
|
560
575
|
agents: list[AgentActivitySummary] = Field(default_factory=list)
|
|
561
576
|
top_cost_runs: list[TopCostRunSummary] = Field(default_factory=list)
|
|
577
|
+
# Account-wide filter options for the History page: every distinct model/tool over the same
|
|
578
|
+
# window, most runs first, at most 50 each. Excludes shadow runs and dataset replays, like the
|
|
579
|
+
# rest of this response.
|
|
580
|
+
models: list[WorkspaceModelCount] = Field(default_factory=list)
|
|
581
|
+
tools: list[WorkspaceToolCount] = Field(default_factory=list)
|
|
562
582
|
|
|
563
583
|
|
|
564
584
|
class FleetOverviewRequest(BaseModel):
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|