@niadra/sdk 0.10.5 → 0.11.1
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 +29 -0
- package/README.md +1 -1
- package/dist/ai-sdk.cjs +1 -1
- package/dist/ai-sdk.cjs.map +1 -1
- package/dist/ai-sdk.d.cts +3 -3
- package/dist/ai-sdk.d.ts +3 -3
- package/dist/ai-sdk.js +1 -1
- package/dist/ai-sdk.js.map +1 -1
- package/dist/anthropic.d.cts +4 -4
- package/dist/anthropic.d.ts +4 -4
- package/dist/bedrock.d.cts +4 -4
- package/dist/bedrock.d.ts +4 -4
- package/dist/cli.js +39 -17
- package/dist/cli.js.map +1 -1
- package/dist/{client-DHPuVvHW.d.cts → client-CdkRzWz6.d.cts} +111 -21
- package/dist/{client-DHPuVvHW.d.ts → client-CdkRzWz6.d.ts} +111 -21
- package/dist/cloudflare-agents.d.cts +3 -3
- package/dist/cloudflare-agents.d.ts +3 -3
- package/dist/elevenlabs.cjs +3 -3
- package/dist/elevenlabs.cjs.map +1 -1
- package/dist/elevenlabs.d.cts +5 -5
- package/dist/elevenlabs.d.ts +5 -5
- package/dist/elevenlabs.js +3 -3
- package/dist/elevenlabs.js.map +1 -1
- package/dist/genkit.d.cts +3 -3
- package/dist/genkit.d.ts +3 -3
- package/dist/google-adk.cjs +3 -3
- package/dist/google-adk.cjs.map +1 -1
- package/dist/google-adk.d.cts +3 -3
- package/dist/google-adk.d.ts +3 -3
- package/dist/google-adk.js +3 -3
- package/dist/google-adk.js.map +1 -1
- package/dist/google-genai.d.cts +4 -4
- package/dist/google-genai.d.ts +4 -4
- package/dist/index.cjs +39 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +39 -17
- package/dist/index.js.map +1 -1
- package/dist/{intercept-ClZ9sP5g.d.cts → intercept-C_9uxSRY.d.cts} +1 -1
- package/dist/{intercept-CJWSHZk9.d.ts → intercept-tVhq4GNK.d.ts} +1 -1
- package/dist/langchain.cjs +1 -1
- package/dist/langchain.cjs.map +1 -1
- package/dist/langchain.d.cts +3 -3
- package/dist/langchain.d.ts +3 -3
- package/dist/langchain.js +1 -1
- package/dist/langchain.js.map +1 -1
- package/dist/livekit.d.cts +3 -3
- package/dist/livekit.d.ts +3 -3
- package/dist/llamaindex.d.cts +3 -3
- package/dist/llamaindex.d.ts +3 -3
- package/dist/mastra.cjs +1 -1
- package/dist/mastra.cjs.map +1 -1
- package/dist/mastra.d.cts +3 -3
- package/dist/mastra.d.ts +3 -3
- package/dist/mastra.js +1 -1
- package/dist/mastra.js.map +1 -1
- package/dist/openai-agents.d.cts +3 -3
- package/dist/openai-agents.d.ts +3 -3
- package/dist/retell.cjs +3 -3
- package/dist/retell.cjs.map +1 -1
- package/dist/retell.d.cts +5 -5
- package/dist/retell.d.ts +5 -5
- package/dist/retell.js +3 -3
- package/dist/retell.js.map +1 -1
- package/dist/{shared-Cf_vc6TD.d.cts → shared-DH_QGnci.d.cts} +1 -1
- package/dist/{shared-XhiKa4WA.d.ts → shared-SqZSrkls.d.ts} +1 -1
- package/dist/strands.d.cts +3 -3
- package/dist/strands.d.ts +3 -3
- package/dist/twilio.d.cts +4 -4
- package/dist/twilio.d.ts +4 -4
- package/dist/vapi.cjs +3 -3
- package/dist/vapi.cjs.map +1 -1
- package/dist/vapi.d.cts +5 -5
- package/dist/vapi.d.ts +5 -5
- package/dist/vapi.js +3 -3
- package/dist/vapi.js.map +1 -1
- package/dist/voltagent.d.cts +3 -3
- package/dist/voltagent.d.ts +3 -3
- package/dist/{webhook-CYcSCdKl.d.ts → webhook-BNvRGq0g.d.ts} +1 -1
- package/dist/{webhook-BI4lYE61.d.cts → webhook-DIHeQ7DO.d.cts} +1 -1
- package/dist/whatsapp.d.cts +2 -2
- package/dist/whatsapp.d.ts +2 -2
- package/package.json +1 -1
package/dist/retell.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as Niadra, g as Handle } from './client-
|
|
2
|
-
import { P as Proof, A as AgentMemoryOption } from './shared-
|
|
3
|
-
export { c as attestationProof } from './shared-
|
|
4
|
-
import { H as HeadersLike, W as WebhookResponse, C as CallStore } from './webhook-
|
|
5
|
-
export { a as CallRecord, m as memoryCallStore } from './webhook-
|
|
1
|
+
import { c as Niadra, g as Handle } from './client-CdkRzWz6.js';
|
|
2
|
+
import { P as Proof, A as AgentMemoryOption } from './shared-SqZSrkls.js';
|
|
3
|
+
export { c as attestationProof } from './shared-SqZSrkls.js';
|
|
4
|
+
import { H as HeadersLike, W as WebhookResponse, C as CallStore } from './webhook-BNvRGq0g.js';
|
|
5
|
+
export { a as CallRecord, m as memoryCallStore } from './webhook-BNvRGq0g.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Niadra for Retell AI, on the server side: a call reaches Retell, Retell calls your webhooks
|
package/dist/retell.js
CHANGED
|
@@ -13,7 +13,7 @@ var TOOL_DEFINITIONS = [
|
|
|
13
13
|
"type": "function",
|
|
14
14
|
"function": {
|
|
15
15
|
"name": "search_customer_history",
|
|
16
|
-
"description": "Search everything that already happened with this customer: past conversations, promises, agent actions, orders and invoices. Use it when the customer refers to something earlier or asks whether a problem happened before. Do not call it when the answer is already in the context block, including its 'Hist\xF3rico' line, which already counts recurrences. Returns short items with date, channel and outcome, plus a recurrence count. Open a conversation (`episode
|
|
16
|
+
"description": "Search everything that already happened with this customer: past conversations, promises, agent actions, orders and invoices. Use it when the customer refers to something earlier or asks whether a problem happened before. Do not call it when the answer is already in the context block, including its 'Hist\xF3rico' line, which already counts recurrences. Returns short items with date, channel and outcome, plus a recurrence count. Open a conversation (kind `episode`) or an object (kind `object`) by its id with open_history_item; the other items are complete as listed.",
|
|
17
17
|
"parameters": {
|
|
18
18
|
"type": "object",
|
|
19
19
|
"properties": {
|
|
@@ -153,13 +153,13 @@ var TOOL_DEFINITIONS = [
|
|
|
153
153
|
"type": "function",
|
|
154
154
|
"function": {
|
|
155
155
|
"name": "open_history_item",
|
|
156
|
-
"description": "Open one conversation (`episode
|
|
156
|
+
"description": "Open one conversation (kind `episode`) or business object (kind `object`) returned by search_customer_history or get_customer_timeline: what was asked, what was promised and by whom, the outcome and what memory came from it. Actions, events, facts and promises are complete as listed and do not open. Use it only after a search or timeline pointed to the item.",
|
|
157
157
|
"parameters": {
|
|
158
158
|
"type": "object",
|
|
159
159
|
"properties": {
|
|
160
160
|
"id": {
|
|
161
161
|
"type": "string",
|
|
162
|
-
"description": "The item id
|
|
162
|
+
"description": "The item's `id`, as listed."
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
165
|
"required": [
|