← Về thư mục
openai4s/server/action_timeline.py
- ActionTimelineStore · class · L19-L22 — class ActionTimelineStore(Protocol)
- list_action_groups · method · L20-L20 — def list_action_groups(self, root_frame_id: str, **filters: Any) -> list[dict]
- list_execution_attempts · method · L22-L22 — def list_execution_attempts(self, **filters: Any) -> list[dict]
- ActionTimelineService · class · L25-L191 — class ActionTimelineService
- init · method · L28-L32 — def init(self, store: ActionTimelineStore, *, payload_chars: int = 20_000)
- get · method · L34-L103 — def get( self, root_frame_id: str, *, branch_id: str | None = None, after_ordinal: int | None = None, before_ordinal: int | None = None, limit: int = 500, ) -> dict[str, Any]
- _group · method · L105-L143 — def _group(self, group: Mapping[str, Any], attempts: Sequence[dict]) -> dict
- _event · method · L145-L173 — def _event(self, event: Mapping[str, Any]) -> dict[str, Any]
- _attempt · method · L175-L191 — def _attempt(self, attempt: Mapping[str, Any]) -> dict[str, Any]
- _owner · function · L194-L200 — def _owner(group: Mapping[str, Any]) -> str
- _permission_summary · function · L203-L220 — def _permission_summary(events: Sequence[Mapping[str, Any]]) -> dict[str, Any] | None
- _replay_policy · function · L223-L229 — def _replay_policy(events: Sequence[Mapping[str, Any]]) -> str
- _language · function · L232-L243 — def _language( group: Mapping[str, Any], raw_events: Sequence[Mapping[str, Any]] ) -> str | None
- _safe_text · function · L252-L256 — def _safe_text(value: Any, limit: int) -> str | None
- _public_usage · function · L259-L280 — def _public_usage(value: Any) -> dict[str, int] | None
- _public_cost · function · L283-L290 — def _public_cost(value: Any) -> float | None
- _public_outcome · function · L293-L301 — def _public_outcome(result: Any) -> str | None
- _artifact_refs · function · L304-L323 — def _artifact_refs(value: Any, *, limit: int = 32) -> list[str]
- visit · function · L307-L320 — def visit(item: Any, depth: int = 0) -> None
- _title · function · L326-L384 — def _title(group: Mapping[str, Any], events: Sequence[Mapping[str, Any]]) -> str
- _status · function · L387-L426 — def _status( group: Mapping[str, Any], events: Sequence[Mapping[str, Any]], attempts: Sequence[Mapping[str, Any]], ) -> str
- _one_line · function · L429-L431 — def _one_line(value: Any, limit: int = 120) -> str
- _code_title · function · L434-L443 — def _code_title(code: str) -> str