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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.2.0"
".": "0.2.1"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 4
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/miru-ml%2Fmiru-agent-d2a734ee7df8f6d5557e579a712316d224331ac3f4ca56f5c737f245e4e7d5b9.yml
openapi_spec_hash: 3b21ce013e0686deddeb65da29fefdd8
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/miru-ml%2Fmiru-agent-ffae0a34ce97de595b13ef4f245379ab41e318b2abd8c1e4683bf34b4dd0d2c1.yml
openapi_spec_hash: 62914cbb512ac0083489f7b281c77671
config_hash: a36330a3b27b8375298d0677e6ac4aa9
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.2.1 (2025-09-21)

Full Changelog: [v0.2.0...v0.2.1](https://github.com/miruml/python-agent-sdk/compare/v0.2.0...v0.2.1)

### Chores

* **api:** update route + struct descriptions ([49c2e88](https://github.com/miruml/python-agent-sdk/commit/49c2e88e03ca3d4ed176cf11d0d5ac46129ae2e4))

## 0.2.0 (2025-09-21)

Full Changelog: [v0.1.0...v0.2.0](https://github.com/miruml/python-agent-sdk/compare/v0.1.0...v0.2.0)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "miru_agent_sdk"
version = "0.2.0"
version = "0.2.1"
description = "The official Python library for the miru API"
dynamic = ["readme"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/miru_agent_sdk/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "miru_agent_sdk"
__version__ = "0.2.0" # x-release-please-version
__version__ = "0.2.1" # x-release-please-version
8 changes: 4 additions & 4 deletions src/miru_agent_sdk/resources/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def health(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> AgentHealthResponse:
"""Get the health of the agent"""
"""Retrieve the health of the agent."""
return self._get(
"/health",
options=make_request_options(
Expand All @@ -69,7 +69,7 @@ def version(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> AgentVersionResponse:
"""Get the version of the agent"""
"""Retrieve the version of the agent."""
return self._get(
"/version",
options=make_request_options(
Expand Down Expand Up @@ -109,7 +109,7 @@ async def health(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> AgentHealthResponse:
"""Get the health of the agent"""
"""Retrieve the health of the agent."""
return await self._get(
"/health",
options=make_request_options(
Expand All @@ -128,7 +128,7 @@ async def version(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> AgentVersionResponse:
"""Get the version of the agent"""
"""Retrieve the version of the agent."""
return await self._get(
"/version",
options=make_request_options(
Expand Down
8 changes: 4 additions & 4 deletions src/miru_agent_sdk/resources/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def retrieve(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> DeviceRetrieveResponse:
"""Get the device"""
"""Retrieve the device."""
return self._get(
"/device",
options=make_request_options(
Expand All @@ -69,7 +69,7 @@ def sync(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> DeviceSyncResponse:
"""Sync the device"""
"""Manually force a device sync with the edits made in the dashboard."""
return self._post(
"/device/sync",
options=make_request_options(
Expand Down Expand Up @@ -109,7 +109,7 @@ async def retrieve(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> DeviceRetrieveResponse:
"""Get the device"""
"""Retrieve the device."""
return await self._get(
"/device",
options=make_request_options(
Expand All @@ -128,7 +128,7 @@ async def sync(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> DeviceSyncResponse:
"""Sync the device"""
"""Manually force a device sync with the edits made in the dashboard."""
return await self._post(
"/device/sync",
options=make_request_options(
Expand Down
2 changes: 1 addition & 1 deletion src/miru_agent_sdk/types/agent_health_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

class AgentHealthResponse(BaseModel):
status: str
"""The status of the agent"""
"""The status of the agent."""
4 changes: 2 additions & 2 deletions src/miru_agent_sdk/types/agent_version_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class AgentVersionResponse(BaseModel):
commit: str
"""The commit hash of the agent"""
"""The commit hash of the agent."""

version: str
"""The version of the agent"""
"""The version of the agent."""
8 changes: 4 additions & 4 deletions src/miru_agent_sdk/types/device_retrieve_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class DeviceRetrieveResponse(BaseModel):
id: str
"""ID of the device"""
"""ID of the device."""

last_connected_at: datetime
"""Timestamp of the last successful connection event with the backend."""
Expand All @@ -19,15 +19,15 @@ class DeviceRetrieveResponse(BaseModel):
"""Timestamp of the last successful disconnection event with the backend."""

last_synced_at: datetime
"""Timestamp of when the device was last synced"""
"""Timestamp of when the device was last synced."""

name: str
"""Name of the device"""
"""Name of the device."""

object: Literal["device"]

status: Literal["online", "offline"]
"""The status of the device
"""The status of the device.

- Online: The miru agent is connected
- Offline: The miru agent is disconnected (e.g. network issues, device is
Expand Down
8 changes: 4 additions & 4 deletions src/miru_agent_sdk/types/device_sync_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ class DeviceSyncResponse(BaseModel):
"""The result of attempting to sync the device."""

cooldown_ends_at: datetime
"""Timestamp of when the cooldown will end"""
"""Timestamp of when the cooldown will end."""

in_cooldown: bool
"""Whether the device is currently in cooldown"""
"""Whether the device is currently in cooldown."""

last_attempted_sync_at: datetime
"""Timestamp of when the last _attempted_ sync occurred"""
"""Timestamp of when the last _attempted_ sync occurred."""

last_synced_at: datetime
"""Timestamp of when the device was last synced"""
"""Timestamp of when the device was last synced."""

message: str
"""The message of the result."""