Update from Vibe Studio

This commit is contained in:
Vibe Studio
2026-01-16 02:20:32 +00:00
parent a4605e311a
commit 71de1506ca
28603 changed files with 2179459 additions and 0 deletions

56
node_modules/@shangzy/ag-ui-dify/README.md generated vendored Normal file
View File

@@ -0,0 +1,56 @@
# AG-UI Dify Integration
This package provides integration between AG-UI and Dify, allowing you to use Dify's AI agents with AG-UI's frontend components.
## Installation
```bash
pnpm add @ag-ui-private/dify
```
## Usage
```typescript
import { DifyAgent } from "@ag-ui-private/dify";
// Create a Dify agent
const agent = new DifyAgent({
apiKey: "your-dify-api-key",
baseUrl: "https://api.dify.ai/v1", // optional
});
// Use the agent with AG-UI components
```
## Features
- Seamless integration with AG-UI's frontend components
- Support for streaming responses
- Tool calling support
- Message format conversion between AG-UI and Dify
## API Reference
### DifyAgent
The main class for integrating Dify with AG-UI.
#### Constructor
```typescript
constructor(config: DifyClientConfig)
```
Parameters:
- `config`: Configuration object
- `apiKey`: Your Dify API key
- `baseUrl`: (optional) Dify API base URL, defaults to "https://api.dify.ai/v1"
#### Methods
- `stream(input: RunAgentInput)`: Streams the agent's response
- Returns: AsyncGenerator of AG-UI events
## License
MIT

25
node_modules/@shangzy/ag-ui-dify/package.json generated vendored Normal file
View File

@@ -0,0 +1,25 @@
{
"name": "@shangzy/ag-ui-dify",
"version": "0.1.0",
"private": false,
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"clean": "rm -rf dist"
},
"dependencies": {
"@ag-ui/client": "^0.0.42",
"rxjs": "7.8.1"
},
"devDependencies": {
"rimraf": "^5.0.0",
"tsup": "^8.0.0",
"typescript": "^5.0.0"
}
}