🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@copass/ai-sdk

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@copass/ai-sdk - npm Package Compare versions

Comparing version
0.5.6
to
0.5.7
+2
-2
package.json
{
"name": "@copass/ai-sdk",
"version": "0.5.6",
"version": "0.5.7",
"description": "Vercel AI SDK tool adapters for Copass — drop-in discover/interpret/search tools for LLM agents",

@@ -74,3 +74,3 @@ "publishConfig": {

},
"gitHead": "89abb7a320314feed66ff82fcb251f41ad2a70cb"
"gitHead": "58d1405c0de170b6a7c25c07ba943507543d9e81"
}

@@ -115,2 +115,23 @@ # @copass/ai-sdk

## Conversation metadata
When you mirror turns into a `ContextWindow`, set the conversation
roster once at construction so it rides on every turn:
```typescript
const window = await client.contextWindow.create({
sandbox_id,
participants: ['User', 'agent:support-bot'],
});
await window.addTurn({
role: 'user',
content: 'Hey, did you finish the report?',
name: 'Alice', // → envelope `speaker`
});
```
See [`@copass/core`](../core) for the full envelope surface
(`speaker`, `participants`, `occurred_at`, free-form `source_type`).
## Related

@@ -117,0 +138,0 @@