Skip to content

Commit c7954bb

Browse files
committed
Setup ts-only repo
1 parent c372da3 commit c7954bb

Some content is hidden

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

79 files changed

+1468
-13863
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ jobs:
3131
node-version: latest
3232
cache: "npm"
3333

34-
- name: Setup Rust
35-
uses: actions-rust-lang/setup-rust-toolchain@1780873c7b576612439a134613cc4cc74ce5538c
36-
with:
37-
toolchain: nightly,stable
38-
components: rustfmt,clippy
39-
4034
- name: Install dependencies
4135
run: npm ci
4236

@@ -64,7 +58,7 @@ jobs:
6458
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
6559
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b
6660
with:
67-
path: ./typescript/docs
61+
path: ./src/docs
6862

6963
deploy-docs:
7064
name: Deploy Documentation

.github/workflows/publish.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,6 @@ on:
44
tags:
55
- "v*.*.*"
66
jobs:
7-
publish-rust:
8-
runs-on: ubuntu-latest
9-
environment: release # Optional: for enhanced security
10-
permissions:
11-
contents: read
12-
id-token: write # Required for OIDC token exchange
13-
steps:
14-
- name: Setup Rust
15-
uses: actions-rust-lang/setup-rust-toolchain@1780873c7b576612439a134613cc4cc74ce5538c
16-
with:
17-
toolchain: nightly,stable
18-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
19-
- uses: rust-lang/crates-io-auth-action@e919bc7605cde86df457cf5b93c5e103838bd879
20-
id: auth
21-
- run: cargo publish
22-
env:
23-
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
247
publish-npm:
258
runs-on: ubuntu-latest
269
environment: release # Optional: for enhanced security

.gitignore

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ dist
55
.DS_Store
66

77
# TypeScript generated files
8-
typescript/*.js
9-
typescript/*.d.ts
10-
typescript/*.js.map
8+
src/*.js
9+
src/*.d.ts
10+
src/*.js.map
1111
# Exclude generator scripts
12-
!typescript/generate.js
12+
!scripts/generate.js
1313

1414
# TypeDoc generated documentation
15-
typescript/docs/
15+
src/docs/

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
typescript/examples/README.md
1+
src/examples/README.md

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ All paths in the protocol should be absolute
2525
- Handle the new request in the blanket impl of MessageHandler<{Agent|Client}Side>
2626
- Add the method to markdown_generator.rs SideDocs functions
2727
- Run `npm run generate` and fix any issues that appear
28-
- Add the method to typescript/acp.ts classes and handlers
28+
- Add the method to src/acp.ts classes and handlers
2929
- Run `npm run check`
3030
- Update the example agents and clients in tests and examples in both libraries
3131

CHANGELOG.md

Lines changed: 3 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -2,75 +2,32 @@
22

33
## 0.4.6 (2025-10-10)
44

5-
### Protocol
6-
75
- No changes
86

9-
### Rust
10-
11-
- Fix: support all valid JSON-RPC ids (int, string, null)
12-
137
## 0.4.5 (2025-10-02)
148

15-
### Protocol
16-
17-
- No changes
18-
19-
### Typescript
20-
219
- **Unstable** initial support for model selection.
2210

2311
## 0.4.4 (2025-09-30)
2412

2513
### Protocol
2614

27-
- No changes
28-
29-
### Rust
30-
31-
- Provide default trait implementations for optional capability-based `Agent` and `Client` methods.
32-
33-
### Typescript
34-
3515
- Correctly mark capability-based `Agent` and `Client` methods as optional.
3616

3717
## 0.4.3 (2025-09-25)
3818

39-
### Protocol
40-
41-
- Defined `Resource not found` error type as code `-32002` (same as MCP)
42-
43-
### Rust
44-
45-
- impl `Agent` and `Client` for `Rc<T>` and `Arc<T>` where `T` implements either trait.
19+
- No changes
4620

4721
## 0.4.2 (2025-09-22)
4822

49-
### Rust
50-
51-
**Unstable** fix missing method for model selection in Rust library.
23+
- No changes
5224

5325
## 0.4.1 (2025-09-22)
5426

55-
### Protocol
56-
57-
**Unstable** initial support for model selection.
27+
- No changes
5828

5929
## 0.4.0 (2025-09-17)
6030

61-
### Protocol
62-
63-
No changes.
64-
65-
### Rust Library
66-
67-
- Make `Agent` and `Client` dyn compatible (you'll need to annotate them with `#[async_trait]`) [#97](https://github.com/agentclientprotocol/agent-client-protocol/pull/97)
68-
- `ext_method` and `ext_notification` methods are now more consistent with the other trait methods [#95](https://github.com/agentclientprotocol/agent-client-protocol/pull/95)
69-
- There are also distinct types for `ExtRequest`, `ExtResponse`, and `ExtNotification`
70-
- Rexport `serde_json::RawValue` for easier use [#95](https://github.com/agentclientprotocol/agent-client-protocol/pull/95)
71-
72-
### Typescript Library
73-
7431
- Use Stream abstraction instead of raw byte streams [#93](https://github.com/agentclientprotocol/agent-client-protocol/pull/93)
7532
- Makes it easier to use with websockets instead of stdio
7633
- Improve type safety for method map helpers [#94](https://github.com/agentclientprotocol/agent-client-protocol/pull/94)

0 commit comments

Comments
 (0)