Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
846 changes: 630 additions & 216 deletions openapi.json

Large diffs are not rendered by default.

19 changes: 18 additions & 1 deletion src/hai_agents/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@
AgentEventData_PolicyEvent,
AgentEventData_ToolResult,
AgentReasoningEffort,
AgentRevisionRecord,
AgentRunStatusChangeData,
AgentRunStatusChangeDataStatus,
AgentRunStatusChangeEvent,
AgentSkillsItem,
AgentStartedData,
AgentStartedEvent,
AgentSubagentsItem,
AgentWithRevision,
Android,
AnswerEvent,
AnswerEventAnswer,
Expand Down Expand Up @@ -92,6 +94,7 @@
OnePasswordConfig,
OnePasswordConfigProvider,
PageAgent,
PageAgentRevisionRecord,
PageScheduleRecord,
PageScheduleRunRecord,
PageSessionEvent,
Expand Down Expand Up @@ -169,7 +172,7 @@
WorkstationHost,
WriteFileResponse,
)
from .errors import NotFoundError, UnprocessableEntityError
from .errors import NotFoundError, PreconditionFailedError, UnprocessableEntityError
from . import (
agents,
browser_profiles,
Expand All @@ -184,6 +187,8 @@
)
from ._default_clients import DefaultAioHttpClient, DefaultAsyncHttpxClient
from .agents import (
ListAgentRevisionsRequestSortItem,
ListAgentsRequestInclude,
ListAgentsRequestSortItem,
PatchAgentEnvironmentsItem,
PatchAgentReasoningEffort,
Expand Down Expand Up @@ -263,13 +268,15 @@
"AgentEventData_PolicyEvent": ".types",
"AgentEventData_ToolResult": ".types",
"AgentReasoningEffort": ".types",
"AgentRevisionRecord": ".types",
"AgentRunStatusChangeData": ".types",
"AgentRunStatusChangeDataStatus": ".types",
"AgentRunStatusChangeEvent": ".types",
"AgentSkillsItem": ".types",
"AgentStartedData": ".types",
"AgentStartedEvent": ".types",
"AgentSubagentsItem": ".types",
"AgentWithRevision": ".types",
"Android": ".types",
"AnswerEvent": ".types",
"AnswerEventAnswer": ".types",
Expand Down Expand Up @@ -325,6 +332,8 @@
"ImageContentType": ".types",
"InitiateUploadResponse": ".types",
"JsonValue": ".types",
"ListAgentRevisionsRequestSortItem": ".agents",
"ListAgentsRequestInclude": ".agents",
"ListAgentsRequestSortItem": ".agents",
"ListEnvironmentsRequestSortItem": ".environments",
"ListFilesResponse": ".types",
Expand All @@ -351,6 +360,7 @@
"OnePasswordConfig": ".types",
"OnePasswordConfigProvider": ".types",
"PageAgent": ".types",
"PageAgentRevisionRecord": ".types",
"PageScheduleRecord": ".types",
"PageScheduleRunRecord": ".types",
"PageSessionEvent": ".types",
Expand All @@ -367,6 +377,7 @@
"PatchEnvironmentMode_Visual": ".environments",
"PauseSchedule": ".types",
"PolicyEvent": ".types",
"PreconditionFailedError": ".errors",
"ProxyPool": ".types",
"QuotaStatus": ".types",
"QuotaStatusScope": ".types",
Expand Down Expand Up @@ -521,13 +532,15 @@ def __dir__():
"AgentEventData_PolicyEvent",
"AgentEventData_ToolResult",
"AgentReasoningEffort",
"AgentRevisionRecord",
"AgentRunStatusChangeData",
"AgentRunStatusChangeDataStatus",
"AgentRunStatusChangeEvent",
"AgentSkillsItem",
"AgentStartedData",
"AgentStartedEvent",
"AgentSubagentsItem",
"AgentWithRevision",
"Android",
"AnswerEvent",
"AnswerEventAnswer",
Expand Down Expand Up @@ -583,6 +596,8 @@ def __dir__():
"ImageContentType",
"InitiateUploadResponse",
"JsonValue",
"ListAgentRevisionsRequestSortItem",
"ListAgentsRequestInclude",
"ListAgentsRequestSortItem",
"ListEnvironmentsRequestSortItem",
"ListFilesResponse",
Expand All @@ -609,6 +624,7 @@ def __dir__():
"OnePasswordConfig",
"OnePasswordConfigProvider",
"PageAgent",
"PageAgentRevisionRecord",
"PageScheduleRecord",
"PageScheduleRunRecord",
"PageSessionEvent",
Expand All @@ -625,6 +641,7 @@ def __dir__():
"PatchEnvironmentMode_Visual",
"PauseSchedule",
"PolicyEvent",
"PreconditionFailedError",
"ProxyPool",
"QuotaStatus",
"QuotaStatusScope",
Expand Down
6 changes: 6 additions & 0 deletions src/hai_agents/agents/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@

if typing.TYPE_CHECKING:
from .types import (
ListAgentRevisionsRequestSortItem,
ListAgentsRequestInclude,
ListAgentsRequestSortItem,
PatchAgentEnvironmentsItem,
PatchAgentReasoningEffort,
PatchAgentSkillsItem,
PatchAgentSubagentsItem,
)
_dynamic_imports: typing.Dict[str, str] = {
"ListAgentRevisionsRequestSortItem": ".types",
"ListAgentsRequestInclude": ".types",
"ListAgentsRequestSortItem": ".types",
"PatchAgentEnvironmentsItem": ".types",
"PatchAgentReasoningEffort": ".types",
Expand Down Expand Up @@ -44,6 +48,8 @@ def __dir__():


__all__ = [
"ListAgentRevisionsRequestSortItem",
"ListAgentsRequestInclude",
"ListAgentsRequestSortItem",
"PatchAgentEnvironmentsItem",
"PatchAgentReasoningEffort",
Expand Down
Loading
Loading