opc-agent 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +306 -429
- package/package.json +1 -1
- package/src/cli.ts +119 -1
- package/src/core/streaming.ts +195 -0
- package/src/deploy/openclaw.ts +10 -10
- package/src/index.ts +12 -2
- package/src/schema/oad.ts +1 -2
- package/src/templates/code-reviewer.ts +0 -4
- package/src/templates/customer-service.ts +0 -4
- package/src/templates/data-analyst.ts +0 -4
- package/src/templates/knowledge-base.ts +0 -4
- package/src/templates/sales-assistant.ts +0 -4
- package/src/templates/teacher.ts +0 -4
- package/src/tools/gateway.ts +220 -0
- package/src/traces/index.ts +132 -0
- package/tests/gateway.test.ts +71 -0
- package/tests/streaming.test.ts +109 -0
- package/src/dtv/data.ts +0 -29
- package/src/dtv/trust.ts +0 -43
- package/src/dtv/value.ts +0 -47
- package/src/marketplace/index.ts +0 -223
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to OPC Agent will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.2.0] - 2026-04-17
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- **Tool Gateway**: Managed tool gateway (`ToolGateway`) that wraps multiple tool providers (web-search, image-gen, tts, browser) behind a single authenticated endpoint — no separate API keys needed. Auto-discovers available tools from gateway, falls back to defaults. Gateway tools implement `MCPTool` interface for seamless registry integration. (`src/tools/gateway.ts`)
|
|
9
|
+
- **Streaming Support**: SSE-based streaming for real-time agent responses. `StreamingManager` with `createStream()` / `writeChunk()` / `endStream()`. `StreamableResponse` with backpressure handling, event emission, and SSE pipe utility for Express-style HTTP responses. Channels can opt in via `supportsStreaming: true`. (`src/core/streaming.ts`)
|
|
10
|
+
|
|
5
11
|
## [1.1.0] - 2026-04-16
|
|
6
12
|
|
|
7
13
|
### Added
|