Skip to content

Commit ea01cc5

Browse files
Hyperlint Automation Fix
1 parent 67244f2 commit ea01cc5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/content/changelog/agents/2025-03-18-npm-i-agents.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ import npmAgentsAnimated from "~/assets/images/agents/npm-i-agents.apng"
1515

1616
#### `agents-sdk` -> `agents` <Badge text="Updated" variant="tip" size="small" />
1717

18-
📝 **We've renamed the Agents package to `agents`**!
18+
📝 **We've renamed the Agents package to `agents`**
1919

2020
If you've already been building with the Agents SDK, you can update your dependencies to use the new package name, and replace references to `agents-sdk` with `agents`:
2121

2222
```sh
23+
2324
# Install the new package
2425
npm i agents
2526
```
@@ -44,7 +45,7 @@ We've added a number of big new features to the Agents SDK over the past few wee
4445
- You can now set `cors: true` when using `routeAgentRequest` to return permissive default CORS headers to Agent responses.
4546
- The regular client now syncs state on the agent (just like the React version).
4647
- `useAgentChat` bug fixes for passing headers/credentials, including properly clearing cache on unmount.
47-
- Experimental `/schedule` module with a prompt/schema for adding scheduling to your app (with evals!).
48+
- Experimental `/schedule` module with a prompt/schema for adding scheduling to your app (with evals).
4849
- Changed the internal `zod` schema to be compatible with the limitations of Google's Gemini models by removing the discriminated union, allowing you to use Gemini models with the scheduling API.
4950

5051
We've also fixed a number of bugs with state synchronization and the React hooks.
@@ -94,7 +95,7 @@ const { call } = useAgent({ agent: "rpc" });
9495
const fetchUserHistory = async () => {
9596
try {
9697
setLoading(true);
97-
// Call methods directly on the Agent!
98+
// Call methods directly on the Agent
9899
const result = await call("getHistory");
99100
addToast(`RPC result: ${result}`, "success");
100101
} catch (error) {
@@ -109,11 +110,12 @@ const fetchUserHistory = async () => {
109110

110111
#### agents-starter <Badge text="Updated" variant="tip" size="small" />
111112

112-
We've fixed a number of small bugs in the [`agents-starter`](https://github.com/cloudflare/agents-starter) project — a real-time, chat-based example application with tool-calling & human-in-the-loop built using the Agents SDK. The starter has also been upgraded to use the latest [wrangler v4](/changelog/2025-03-13-wrangler-v4/) release.
113+
We've fixed a number of small bugs in the [`agents-starter`](https://github.com/cloudflare/agents-starter) project — a real-time, chat-based example application with tool-calling & human-in-the-loop built using the Agents SDK. The starter has also been upgraded to use the latest [Wrangler v4](/changelog/2025-03-13-wrangler-v4/) release.
113114

114115
If you're new to Agents, you can install and run the `agents-starter` project in two commands:
115116

116117
```sh
118+
117119
# Install it
118120
$ npm create cloudflare@latest agents-starter -- --template="cloudflare/agents-starter"
119121
# Run it

0 commit comments

Comments
 (0)