Skip to content

Commit 987c214

Browse files
authored
1 parent c372da3 commit 987c214

21 files changed

Lines changed: 89 additions & 9059 deletions

.github/workflows/ci.yml

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -49,33 +49,10 @@ jobs:
4949
config: ./typos.toml
5050

5151
- name: Lint
52-
run: npm run lint
52+
run: cargo clippy
5353

5454
- name: Build
55-
run: npm run build
55+
run: cargo build --all-targets --all-features
5656

5757
- name: Run tests
58-
run: npm test
59-
60-
- name: Generate TypeDoc documentation
61-
run: npm run docs:ts:build
62-
63-
- name: Upload documentation artifact
64-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
65-
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b
66-
with:
67-
path: ./typescript/docs
68-
69-
deploy-docs:
70-
name: Deploy Documentation
71-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
72-
environment:
73-
name: github-pages
74-
url: ${{ steps.deployment.outputs.page_url }}
75-
runs-on: ubuntu-latest
76-
needs: build
77-
78-
steps:
79-
- name: Deploy to GitHub Pages
80-
id: deployment
81-
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e
58+
run: cargo test --all-features

.github/workflows/publish.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,3 @@ jobs:
2121
- run: cargo publish
2222
env:
2323
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
24-
publish-npm:
25-
runs-on: ubuntu-latest
26-
environment: release # Optional: for enhanced security
27-
permissions:
28-
contents: read
29-
id-token: write
30-
steps:
31-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
32-
# Setup .npmrc file to publish to npm
33-
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444
34-
with:
35-
node-version: "lts/*"
36-
registry-url: "https://registry.npmjs.org"
37-
- name: Update npm
38-
run: npm install -g npm@latest
39-
- run: npm ci
40-
- run: npm run build
41-
- run: npm publish

.prettierignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

AGENTS.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,12 @@ 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
2928
- Run `npm run check`
3029
- Update the example agents and clients in tests and examples in both libraries
3130

3231
## Updating existing methods, their params, or output
3332

3433
- Update the mintlify docs and guides in the `docs` directory
3534
- Run `npm run check` to make sure the json and zod schemas gets generated properly
36-
- Params and responses docs make it to the schema, but the method-level docs, so make sure to update the typescript library accordingly.
3735

3836
Never write readme files related to the conversation unless explicitly asked to.

0 commit comments

Comments
 (0)