@niadra/sdk 0.9.1 → 0.10.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/CHANGELOG.md +69 -0
- package/dist/ai-sdk.d.cts +3 -3
- package/dist/ai-sdk.d.ts +3 -3
- 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 +331 -96
- package/dist/cli.js.map +1 -1
- package/dist/{client-CWMxmJHs.d.cts → client-7mkrdRI0.d.cts} +192 -7
- package/dist/{client-CWMxmJHs.d.ts → client-7mkrdRI0.d.ts} +192 -7
- package/dist/cloudflare-agents.d.cts +3 -3
- package/dist/cloudflare-agents.d.ts +3 -3
- package/dist/elevenlabs.cjs +7 -5
- 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 +7 -5
- 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 +7 -5
- 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 +7 -5
- 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 +341 -98
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -5
- package/dist/index.d.ts +13 -5
- package/dist/index.js +341 -98
- package/dist/index.js.map +1 -1
- package/dist/{intercept-CGngQI8B.d.cts → intercept-CGQhwAom.d.cts} +1 -1
- package/dist/{intercept-Bv0nLpSw.d.ts → intercept-CT0vglsd.d.ts} +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.map +1 -1
- package/dist/livekit.cjs +10 -2
- package/dist/livekit.cjs.map +1 -1
- package/dist/livekit.d.cts +3 -3
- package/dist/livekit.d.ts +3 -3
- package/dist/livekit.js +10 -2
- package/dist/livekit.js.map +1 -1
- package/dist/llamaindex.d.cts +3 -3
- package/dist/llamaindex.d.ts +3 -3
- package/dist/mastra.d.cts +3 -3
- package/dist/mastra.d.ts +3 -3
- package/dist/openai-agents.d.cts +3 -3
- package/dist/openai-agents.d.ts +3 -3
- package/dist/retell.cjs +7 -5
- 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 +7 -5
- package/dist/retell.js.map +1 -1
- package/dist/{shared-B4Ef2Wpg.d.ts → shared-Bf84jr3Y.d.ts} +1 -1
- package/dist/{shared-Cq8mz-7m.d.cts → shared-CxAwOcZI.d.cts} +1 -1
- package/dist/strands.d.cts +3 -3
- package/dist/strands.d.ts +3 -3
- package/dist/twilio.cjs +10 -2
- package/dist/twilio.cjs.map +1 -1
- package/dist/twilio.d.cts +4 -4
- package/dist/twilio.d.ts +4 -4
- package/dist/twilio.js +10 -2
- package/dist/twilio.js.map +1 -1
- package/dist/vapi.cjs +7 -5
- 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 +7 -5
- package/dist/vapi.js.map +1 -1
- package/dist/voltagent.d.cts +3 -3
- package/dist/voltagent.d.ts +3 -3
- package/dist/{webhook-jTx_SegV.d.cts → webhook-DE3HsGkb.d.cts} +1 -1
- package/dist/{webhook-z2TjUzjv.d.ts → webhook-QxYgxE6_.d.ts} +1 -1
- package/dist/whatsapp.cjs +10 -2
- package/dist/whatsapp.cjs.map +1 -1
- package/dist/whatsapp.d.cts +2 -2
- package/dist/whatsapp.d.ts +2 -2
- package/dist/whatsapp.js +10 -2
- package/dist/whatsapp.js.map +1 -1
- package/package.json +1 -1
package/dist/genkit.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ModelMiddleware } from 'genkit/model';
|
|
2
2
|
import { ToolAction } from 'genkit/tool';
|
|
3
|
-
import { f as ModelUsage } from './client-
|
|
4
|
-
import { a as ProofSource, A as AgentMemoryOption, S as SessionResolver, b as Session } from './shared-
|
|
5
|
-
export { P as Proof, c as attestationProof } from './shared-
|
|
3
|
+
import { f as ModelUsage } from './client-7mkrdRI0.cjs';
|
|
4
|
+
import { a as ProofSource, A as AgentMemoryOption, S as SessionResolver, b as Session } from './shared-CxAwOcZI.cjs';
|
|
5
|
+
export { P as Proof, c as attestationProof } from './shared-CxAwOcZI.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Niadra for Genkit (`genkit` 1.x, Firebase Genkit for JavaScript): a model middleware for
|
package/dist/genkit.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ModelMiddleware } from 'genkit/model';
|
|
2
2
|
import { ToolAction } from 'genkit/tool';
|
|
3
|
-
import { f as ModelUsage } from './client-
|
|
4
|
-
import { a as ProofSource, A as AgentMemoryOption, S as SessionResolver, b as Session } from './shared-
|
|
5
|
-
export { P as Proof, c as attestationProof } from './shared-
|
|
3
|
+
import { f as ModelUsage } from './client-7mkrdRI0.js';
|
|
4
|
+
import { a as ProofSource, A as AgentMemoryOption, S as SessionResolver, b as Session } from './shared-Bf84jr3Y.js';
|
|
5
|
+
export { P as Proof, c as attestationProof } from './shared-Bf84jr3Y.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Niadra for Genkit (`genkit` 1.x, Firebase Genkit for JavaScript): a model middleware for
|
package/dist/google-adk.cjs
CHANGED
|
@@ -10,7 +10,7 @@ var TOOL_DEFINITIONS = [
|
|
|
10
10
|
"type": "function",
|
|
11
11
|
"function": {
|
|
12
12
|
"name": "search_customer_history",
|
|
13
|
-
"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 '
|
|
13
|
+
"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:`) or an object (`object:`) with open_history_item; the other items are complete as listed.",
|
|
14
14
|
"parameters": {
|
|
15
15
|
"type": "object",
|
|
16
16
|
"properties": {
|
|
@@ -54,7 +54,8 @@ var TOOL_DEFINITIONS = [
|
|
|
54
54
|
"open_item",
|
|
55
55
|
"action",
|
|
56
56
|
"object",
|
|
57
|
-
"trait"
|
|
57
|
+
"trait",
|
|
58
|
+
"system_event"
|
|
58
59
|
]
|
|
59
60
|
}
|
|
60
61
|
},
|
|
@@ -81,7 +82,7 @@ var TOOL_DEFINITIONS = [
|
|
|
81
82
|
"type": "function",
|
|
82
83
|
"function": {
|
|
83
84
|
"name": "get_customer_timeline",
|
|
84
|
-
"description": "List this customer's conversations
|
|
85
|
+
"description": "List this customer's conversations, agent actions and system events in order, newest first, one line each. Use it to leaf through the history when you do not know what to search for; filters.item_kinds also lists the open items, facts, patterns or objects it names. Pass next_cursor to continue. Prefer search_customer_history for a specific question.",
|
|
85
86
|
"parameters": {
|
|
86
87
|
"type": "object",
|
|
87
88
|
"properties": {
|
|
@@ -129,7 +130,8 @@ var TOOL_DEFINITIONS = [
|
|
|
129
130
|
"open_item",
|
|
130
131
|
"action",
|
|
131
132
|
"object",
|
|
132
|
-
"trait"
|
|
133
|
+
"trait",
|
|
134
|
+
"system_event"
|
|
133
135
|
]
|
|
134
136
|
}
|
|
135
137
|
},
|
|
@@ -148,7 +150,7 @@ var TOOL_DEFINITIONS = [
|
|
|
148
150
|
"type": "function",
|
|
149
151
|
"function": {
|
|
150
152
|
"name": "open_history_item",
|
|
151
|
-
"description": "Open one conversation or business 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. Use it only after a search or timeline pointed to the item.",
|
|
153
|
+
"description": "Open one conversation (`episode:`) or business object (`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.",
|
|
152
154
|
"parameters": {
|
|
153
155
|
"type": "object",
|
|
154
156
|
"properties": {
|