Skip to content

Commit bdedd2e

Browse files
SDK regeneration (#66)
* [fern-generated] Update SDK Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 5.12.12 * [fern-replay] Applied customizations Patches applied (1): - patch-0c9e9b4e: refactor: rename agent-swarm -> agent-crew across SDK + CLI (4.4.2) * release: 5.3.1 — billing endpoints, calls timestamp fix, agent-crew deploy DevX - Bump 5.3.0 -> 5.3.1 + changelog. - Billing rides the regen: client.atoms.billing (get_balance, get_ledger, get_usage_breakdown, list_invoices, get_invoice_pdf) on the payment base. - calls transcript timestamp now typed as string (ISO-8601), was number. - agent-crew deploy DevX (cli/, .fernignore'd): pre-deploy layout check (src/ layout, nested entry, pyproject-without-requirements) and a corrected env-var warning pointing to the .env + load_dotenv path. - Pass payment= to the four hand-written SmallestAIEnvironment constructions (examples + velocity tests) now that the env has a payment url. Gauntlet on the built wheel: mypy clean, scripts/verify.py PASSED, custom suite 41 passed, fresh-install imports + surface OK (atoms.billing present). --------- Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: Abhishek Mishra <abhishek@smallest.ai>
1 parent 9dc96d4 commit bdedd2e

41 files changed

Lines changed: 2660 additions & 24 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.fern/metadata.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
}
4646
]
4747
},
48-
"originGitCommit": "c3e8467d7de3ac4b4d54e3c9bc4828bebfc4c792",
48+
"originGitCommit": "e9ca686b515042154390e137de05194b4a191566",
4949
"originGitCommitIsDirty": false,
5050
"invokedBy": "ci",
51-
"requestedVersion": "5.3.0",
51+
"requestedVersion": "5.3.1",
5252
"ciProvider": "github",
53-
"sdkVersion": "5.3.0"
53+
"sdkVersion": "5.3.1"
5454
}

‎.fern/replay.lock‎

Lines changed: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎changelog.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## 5.3.1 - 2026-07-29
2+
3+
Billing read endpoints, a call-log type fix, and clearer agent-crew deploy warnings. Additive; no breaking changes.
4+
5+
* **Billing** (new `client.atoms.billing`): `get_balance`, `get_ledger`, `get_usage_breakdown`,
6+
`list_invoices`, `get_invoice_pdf` (read-only credit and invoice endpoints under `/payment/v1`).
7+
* **Fix**: `calls.get` / `calls.list` transcript-turn `timestamp` is typed as a string (ISO-8601),
8+
matching what the API returns. Previously typed as a number, which triggered a deserialization
9+
warning.
10+
* **CLI DevX** (`smallestai agent-crew deploy`): a pre-deploy layout check warns on a `src/` layout,
11+
a nested entry point, or a `pyproject.toml` with no `requirements.txt` (all fail the cloud build);
12+
and the environment-variable warning now points to the working path (ship a `.env` at the project
13+
root and call `load_dotenv()`; it deploys with your code) instead of just saying it is not propagated.
14+
115
## 5.3.0 - 2026-07-28
216

317
Unified speech-to-text namespace (breaking), voice cloning, Electron LLM, webhook update.

‎examples/build_voice_agent.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def make_client() -> SmallestAI:
3939
atoms=f"{base}/atoms/v1",
4040
waves=base,
4141
waves_ws=base.replace("https", "wss").replace("http", "ws"),
42+
payment=base,
4243
)
4344
return SmallestAI(api_key=api_key, environment=env)
4445
return SmallestAI(api_key=api_key)

‎examples/quickstart.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def make_client() -> SmallestAI:
2525
atoms=f"{base}/atoms/v1",
2626
waves=base,
2727
waves_ws=base.replace("https", "wss").replace("http", "ws"),
28+
payment=base,
2829
)
2930
return SmallestAI(api_key=api_key, environment=env)
3031
return SmallestAI(api_key=api_key) # production

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dynamic = ["version"]
55

66
[tool.poetry]
77
name = "smallestai"
8-
version = "5.3.0"
8+
version = "5.3.1"
99
description = ""
1010
readme = "README.md"
1111
authors = []

0 commit comments

Comments
 (0)