Update from Vibe Studio

This commit is contained in:
Vibe Studio
2026-01-16 01:51:36 +00:00
parent a4605e311a
commit 58905d02c2
28599 changed files with 2179074 additions and 0 deletions

21
node_modules/@ag-ui/proto/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2025
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

53
node_modules/@ag-ui/proto/README.md generated vendored Normal file
View File

@@ -0,0 +1,53 @@
# @ag-ui/proto
Protocol Buffer encoding/decoding for **Agent-User Interaction (AG-UI) Protocol** events.
`@ag-ui/proto` provides high-performance binary serialization of AG-UI events using Protocol Buffers. It includes generated TypeScript definitions and utilities for converting between AG-UI's JSON event format and compact binary representation.
## Installation
```bash
npm install @ag-ui/proto
pnpm add @ag-ui/proto
yarn add @ag-ui/proto
```
## Features
-**High performance** Binary protobuf encoding for minimal bandwidth usage
- 🔄 **Round-trip safety** Lossless conversion between JSON and binary formats
- 📋 **Generated types** Auto-generated TypeScript definitions from `.proto` schemas
- 🔧 **Length-prefixed** Standard 4-byte length headers for streaming protocols
## Quick example
```ts
import { encode, decode, AGUI_MEDIA_TYPE } from "@ag-ui/proto";
import { EventType } from "@ag-ui/core";
const event = {
type: EventType.TEXT_MESSAGE_START,
messageId: "msg_123",
role: "assistant",
};
// Encode to binary protobuf format
const encoded = encode(event);
// Decode back to AG-UI event
const decoded = decode(encoded);
console.log(decoded); // Original event object
```
## Documentation
- Concepts & architecture: [`docs/concepts`](https://docs.ag-ui.com/concepts/architecture)
- Full API reference: [`docs/sdk/js/proto`](https://docs.ag-ui.com/sdk/js/proto)
## Contributing
Bug reports and pull requests are welcome! Please read our [contributing guide](https://docs.ag-ui.com/development/contributing) first.
## License
MIT © 2025 AG-UI Protocol Contributors

36
node_modules/@ag-ui/proto/package.json generated vendored Normal file
View File

@@ -0,0 +1,36 @@
{
"name": "@ag-ui/proto",
"author": "Markus Ecker <markus.ecker@gmail.com>",
"version": "0.0.42",
"private": false,
"publishConfig": {
"access": "public"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"dependencies": {
"@bufbuild/protobuf": "^2.2.5",
"@protobuf-ts/protoc": "^2.11.1",
"@ag-ui/core": "0.0.42"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/jest": "^29.5.14",
"jest": "^29.7.0",
"ts-jest": "^29.1.2",
"ts-proto": "^2.7.0",
"tsup": "^8.0.2",
"typescript": "^5.8.2"
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"lint": "eslint \"src/**/*.ts*\"",
"clean": "rm -rf dist .turbo node_modules",
"test": "jest",
"generate": "mkdir -p ./src/generated && npx protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./src/generated --ts_proto_opt=esModuleInterop=true,outputJsonMethods=false,outputClientImpl=false -I ./src/proto ./src/proto/*.proto",
"link:global": "pnpm link --global",
"unlink:global": "pnpm unlink --global"
}
}