Skip to content

Commit eea4de3

Browse files
ZhiXiao-Linclaude
andcommitted
docs: update documentation and rename SDK directories
- Rewrite README.md to match current codebase (14 tools, #[non_exhaustive] AgentEvent, LlmPlanner, simplified SessionOptions) - Update lib.rs architecture doc comment - Rename sdk/node-native → sdk/node, sdk/python-native → sdk/python - Update Cargo.toml exclude paths and CI workflow paths Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f4a7df8 commit eea4de3

18 files changed

Lines changed: 866 additions & 1018 deletions

File tree

.github/workflows/publish-node.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ jobs:
6262
version: 0.13.0
6363

6464
- name: Install dependencies
65-
working-directory: sdk/node-native
65+
working-directory: sdk/node
6666
run: npm install
6767

6868
- name: Build native module
69-
working-directory: sdk/node-native
69+
working-directory: sdk/node
7070
shell: bash
7171
run: |
7272
if [ "${{ matrix.settings.zig }}" = "true" ]; then
@@ -79,7 +79,7 @@ jobs:
7979
uses: actions/upload-artifact@v4
8080
with:
8181
name: node-bindings-${{ matrix.settings.target }}
82-
path: sdk/node-native/*.node
82+
path: sdk/node/*.node
8383
if-no-files-found: error
8484

8585
publish:
@@ -96,24 +96,24 @@ jobs:
9696
registry-url: https://registry.npmjs.org
9797

9898
- name: Install dependencies
99-
working-directory: sdk/node-native
99+
working-directory: sdk/node
100100
run: npm install
101101

102102
- name: Download all artifacts
103103
uses: actions/download-artifact@v4
104104
with:
105105
pattern: node-bindings-*
106-
path: sdk/node-native/artifacts
106+
path: sdk/node/artifacts
107107
merge-multiple: true
108108

109109
- name: Move artifacts
110-
working-directory: sdk/node-native
110+
working-directory: sdk/node
111111
run: |
112112
mv artifacts/*.node . 2>/dev/null || true
113113
ls -la *.node
114114
115115
- name: Publish to npm
116-
working-directory: sdk/node-native
116+
working-directory: sdk/node
117117
env:
118118
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
119119
run: npm publish --access public --ignore-scripts || true

.github/workflows/publish-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
uses: PyO3/maturin-action@v1
6262
with:
6363
target: ${{ matrix.settings.target }}
64-
args: --release --out dist --manifest-path sdk/python-native/Cargo.toml -i python3.10 -i python3.11 -i python3.12 -i python3.13
64+
args: --release --out dist --manifest-path sdk/python/Cargo.toml -i python3.10 -i python3.11 -i python3.12 -i python3.13
6565
manylinux: ${{ matrix.settings.manylinux || 'auto' }}
6666

6767
- name: Upload artifact

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ members = [
66
# Native SDK crates require special toolchains (Python/Node.js)
77
# Build them individually: cargo build -p a3s-code-node / a3s-code-py
88
exclude = [
9-
"sdk/node-native",
10-
"sdk/python-native",
9+
"sdk/node",
10+
"sdk/python",
1111
]
1212

1313
[profile.release]

0 commit comments

Comments
 (0)