interloper-toolkit 0.67.0__tar.gz → 0.69.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: interloper-toolkit
3
- Version: 0.67.0
3
+ Version: 0.69.0
4
4
  Summary: Interloper shared read-only tool functions for AI surfaces (agent, MCP)
5
5
  Author: Guillaume Onfroy
6
6
  Author-email: Guillaume Onfroy <guillaume@digitlcloud.com>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "interloper-toolkit"
3
- version = "0.67.0"
3
+ version = "0.69.0"
4
4
  description = "Interloper shared read-only tool functions for AI surfaces (agent, MCP)"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -3,7 +3,7 @@
3
3
  # ###############
4
4
  [project]
5
5
  name = "interloper-toolkit"
6
- version = "0.67.0"
6
+ version = "0.69.0"
7
7
  description = "Interloper shared read-only tool functions for AI surfaces (agent, MCP)"
8
8
  readme = "README.md"
9
9
  authors = [{ name = "Guillaume Onfroy", email = "guillaume@digitlcloud.com" }]
@@ -24,7 +24,7 @@ from __future__ import annotations
24
24
  from datetime import datetime
25
25
  from typing import Any, Literal
26
26
 
27
- from interloper_db.models import AssetExecution, Backfill, Component, Event, Run
27
+ from interloper_db.models import Backfill, Component, Event, Execution, Run
28
28
  from pydantic import BaseModel
29
29
 
30
30
 
@@ -300,12 +300,12 @@ class RunList(BaseModel):
300
300
 
301
301
 
302
302
  class RunDetail(BaseModel):
303
- """One run with its event timeline and per-asset execution summary."""
303
+ """One run with its event timeline and per-operation execution summary."""
304
304
 
305
305
  status: Literal["success"] = "success"
306
306
  run: Run
307
307
  events: list[Event]
308
- asset_executions: list[AssetExecution]
308
+ executions: list[Execution]
309
309
 
310
310
 
311
311
  class RunErrorEvent(BaseModel):
@@ -106,20 +106,20 @@ def list_recent_runs(
106
106
 
107
107
 
108
108
  def get_run_detail(ctx: ToolkitContext, run_id: str) -> RunDetail | ToolError:
109
- """Get full detail for a single run including events and per-asset execution status.
109
+ """Get full detail for a single run including events and per-operation execution status.
110
110
 
111
111
  Args:
112
112
  run_id: UUID of the run.
113
113
 
114
- Returns the run metadata, event timeline, and per-asset execution summary.
114
+ Returns the run metadata, event timeline, and per-operation execution summary.
115
115
  """
116
116
  try:
117
117
  rid = UUID(run_id)
118
118
  run = ctx.store.runs.get(rid)
119
119
  events = ctx.store.events.list_all(run_id=rid)
120
- asset_execs = ctx.store.events.list_asset_executions(rid)
120
+ executions = ctx.store.events.list_executions(rid)
121
121
 
122
- return RunDetail(run=run, events=events, asset_executions=asset_execs)
122
+ return RunDetail(run=run, events=events, executions=executions)
123
123
  except Exception as e:
124
124
  return ToolError(error=str(e))
125
125