concevent-ai-agent-sdk 1.0.3 → 1.0.4
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/README.md +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -428,6 +428,10 @@ interface AgentCallbacks {
|
|
|
428
428
|
}
|
|
429
429
|
```
|
|
430
430
|
|
|
431
|
+
> ⚠️ **Security Note for Browser/Client-Side Usage**
|
|
432
|
+
>
|
|
433
|
+
> When using callbacks in browser environments, be careful not to expose sensitive information. Callbacks like `onToolResult`, `onThinking`, `onSummarizationEnd`, and `onComplete` may contain internal data, tool execution details, or conversation content that should not be logged to the browser console or sent to client-side analytics in production. The SDK does not restrict this by design, as server-side integrations may safely log such data. It is the consumer's responsibility to sanitize or filter callback data before exposing it in client-side contexts.
|
|
434
|
+
|
|
431
435
|
#### Callback Examples
|
|
432
436
|
|
|
433
437
|
```typescript
|
package/package.json
CHANGED