Skip to content

Commit 1629123

Browse files
committed
Run Prettier
1 parent 9765f56 commit 1629123

10 files changed

Lines changed: 20 additions & 18 deletions

File tree

docs/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,19 @@ Run the following command to have the documentation live locally:
1010
```bash
1111
npm run docs
1212
```
13+
1314
## Preview changes locally
15+
1416
To preview the changes locally, run the following command:
17+
1518
```bash
1619
mint dev
1720
```
1821

1922
### Install the CLI
23+
2024
Before running the site locally you need to install Mint's CLI:
25+
2126
```bash
2227
npm i -g mint
2328
```

docs/community/contributing.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: "Contributing"
33
description: "How to participate in the development of ACP"
44
---
55

6-
We welcome contributions from the community!
6+
We welcome contributions from the community!
77

88
All contributors must adhere to [Zed's Code of Conduct](https://zed.dev/code-of-conduct).
99

10-
For questions and discussions, please use GitHub Discussions.
10+
For questions and discussions, please use GitHub Discussions.

docs/libraries/rust.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
title: "Rust"
33
description: "Rust library for the Agent Client Protocol"
4-
---
4+
---

docs/protocol/agent-plan.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ title: "Agent Plan"
33
description: "How Agents communicate their execution plans"
44
---
55

6-
*Documentation coming soon*
6+
_Documentation coming soon_

docs/protocol/content.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ title: "Content"
33
description: "Content blocks and data types in the Agent Client Protocol"
44
---
55

6-
*Documentation coming soon*
6+
_Documentation coming soon_

docs/protocol/error.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ title: "Error"
33
description: "Error handling in the Agent Client Protocol"
44
---
55

6-
*Documentation coming soon*
6+
_Documentation coming soon_

docs/protocol/initialization.mdx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ description: "How all Agent Client Protocol connections begin"
55

66
{/* todo! link to all concepts */}
77

8-
98
The Initialization phase allows [Clients](./overview#client) and [Agents](./overview#agent) to negotiate protocol versions, capabilities, and authentication methods.
109

1110
Before a Session can be created, Clients **MUST** initialize the connection by calling the `initialize` method with:
1211

1312
- The latest [protocol version](#protocol-version) supported
1413
- The [capabilities](#client-capabilities) supported
1514

16-
1715
```json
1816
{
1917
"jsonrpc": "2.0",
@@ -33,7 +31,6 @@ Before a Session can be created, Clients **MUST** initialize the connection by c
3331

3432
The Agent **MUST** respond with the chosen [protocol version](#protocol-version) and the [capabilities](#agent-capabilities) it supports:
3533

36-
3734
```json
3835
{
3936
"jsonrpc": "2.0",
@@ -69,7 +66,6 @@ If the Agent supports the requested version, it **MUST** respond with the same v
6966

7067
If the Client does not support the version specified by the Agent in the `initialize` response, the Client **SHOULD** close the connection and inform the user about it.
7168

72-
7369
## Capabilities
7470

7571
Capabilities describe features supported by the Client and the Agent.
@@ -82,7 +78,6 @@ Capabilities are high-level and are not attached to a specific base protocol con
8278

8379
Capabilities may specify the availability of protocol methods, notifications, or a subset of their parameters. They may also signal behaviors of the Agent or Client implementation.
8480

85-
8681
### Client Capabilities
8782

8883
The Client **SHOULD** specify whether it supports the following capability:

docs/protocol/prompt-turn.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,10 @@ After all ongoing operations have been successfully aborted and pending updates
238238
<Warning>
239239
API client libraries and tools often throw an exception when their operation is aborted, which may propagate as an error response to `session/prompt`.
240240

241-
Clients often display unrecognized errors from the Agent to the user, which would be undesirable for cancellations as they aren't considered errors.
241+
Clients often display unrecognized errors from the Agent to the user, which would be undesirable for cancellations as they aren't considered errors.
242+
243+
Agents **MUST** catch these errors and return the semantically meaningful `cancelled` stop reason, so that Clients can reliably confirm the cancellation.
242244

243-
Agents **MUST** catch these errors and return the semantically meaningful `cancelled` stop reason, so that Clients can reliably confirm the cancellation.
244245
</Warning>
245246

246247
The Agent **MAY** send `session/update` notifications with content or tool call updates after receiving the `session/cancel` notification, but it **MUST** ensure that it does so before responding to the `session/prompt` request.

docs/protocol/session-setup.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ Before attempting to load a session, Clients **MUST** verify that the Agent supp
6060
"result": {
6161
"protocolVersion": 1,
6262
"agentCapabilities": {
63-
"loadSession": true,
64-
},
63+
"loadSession": true
64+
}
6565
}
6666
}
6767
```
@@ -152,6 +152,7 @@ The Client can then continue sending prompts as if the session was never interru
152152
The session ID returned by `session/new` is a unique identifier for the conversation context.
153153

154154
Clients use this ID to:
155+
155156
- Send prompt requests via `session/prompt`
156157
- Cancel ongoing operations via `session/cancel`
157158
- Load previous sessions via `session/load` (if the Agent supports the `loadSession` capability)

docs/protocol/tool-calls.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ Tool Calls are the mechanism through which Agents interact with external tools a
1111

1212
## Structure
1313

14-
*Documentation coming soon*
14+
_Documentation coming soon_
1515

1616
## Lifecycle
1717

18-
*Documentation coming soon*
18+
_Documentation coming soon_
1919

2020
## Updates
2121

22-
*Documentation coming soon*
22+
_Documentation coming soon_

0 commit comments

Comments
 (0)