Skip to content

Commit 907925a

Browse files
author
CodeBuddy Attribution Bot
committed
fix(attribution): Python SDK 包名与技能文档不一致导致依赖安装失败 (issue_mnoasw8b_l56piu)
1 parent 0c93db3 commit 907925a

8 files changed

Lines changed: 181 additions & 284 deletions

File tree

config/.claude/skills/cloudbase-agent/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: cloudbase-agent
3-
description: Build and deploy AI agents with CloudBase Agent SDK (TypeScript & Python). Implements the AG-UI protocol for streaming agent-UI communication. Use when deploying agent servers, using LangGraph/LangChain/CrewAI adapters, building custom adapters, understanding AG-UI protocol events, or building web/mini-program UI clients. Supports both TypeScript (@cloudbase/agent-server) and Python (cloudbase-agent-server via FastAPI).
3+
description: Build and deploy AI agents with CloudBase Agent SDK (TypeScript & Python). Implements the AG-UI protocol for streaming agent-UI communication. Use when deploying agent servers, using LangGraph/LangChain/CrewAI adapters, building custom adapters, understanding AG-UI protocol events, or building web/mini-program UI clients. Supports both TypeScript (@cloudbase/agent-server) and Python (cloudbase-agent via FastAPI).
44
version: 2.18.0
55
alwaysApply: false
66
allowed-tools:

config/.claude/skills/cloudbase-agent/py/adapter-coze.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ The Coze adapter allows you to use Coze's hosted AI bots as your backend, while
1212

1313
## Installation
1414

15-
Coze adapter is included in the `cloudbase-agent-coze` package:
15+
Coze adapter is included in the `cloudbase-agent` package:
1616

1717
```bash
18-
pip install cloudbase-agent-coze
18+
pip install cloudbase-agent
1919
```
2020

2121
## Basic Usage

config/.claude/skills/cloudbase-agent/py/adapter-langgraph.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ The CloudBase Agent LangGraph adapter (`cloudbase_agent.langgraph`) provides sea
2222
### 1. Install Dependencies
2323

2424
```bash
25-
pip install cloudbase-agent-langgraph
25+
pip install cloudbase-agent
2626
```
2727

2828
This installs:
29-
- `cloudbase-agent-langgraph` - LangGraph adapter
29+
- `cloudbase-agent` - CloudBase Agent Python SDK
3030
- `langgraph` - LangGraph framework
3131
- `langchain` - LangChain core
3232
- `langchain-openai` - OpenAI integration

config/.claude/skills/cloudbase-agent/py/agent-deployment.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ manageAgent(action="create", runtime="Python3.10", installDependency=false, targ
294294
295295
**Always select Python 3.10 runtime** (`runtime="Python3.10"`). This is the recommended version for CloudBase Agent Python SDK because:
296296
297-
- Full compatibility with all `cloudbase-agent-*` packages
297+
- Full compatibility with `cloudbase-agent`
298298
- Best performance for async/await patterns used by FastAPI
299299
- Stable and well-tested on the CloudBase platform
300300
@@ -382,15 +382,10 @@ export PYTHONPATH="./env:$PYTHONPATH"
382382
### requirements.txt (example — varies by framework)
383383

384384
```
385-
# Core (always needed)
386-
cloudbase-agent-server
385+
# Core SDK (use the published PyPI package name exactly)
386+
cloudbase-agent
387387
python-dotenv
388388
389-
# Framework adapter (pick ONE based on your choice)
390-
cloudbase-agent-langgraph # For LangGraph-based agents
391-
# cloudbase-agent-crewai # For CrewAI-based agents
392-
# cloudbase-agent-coze # For Coze platform agents
393-
394389
# LLM provider (example)
395390
langchain-openai
396391
```

0 commit comments

Comments
 (0)