@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.
Files changed (85) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +1 -1
  3. package/dist/ai-sdk.cjs +1 -1
  4. package/dist/ai-sdk.cjs.map +1 -1
  5. package/dist/ai-sdk.d.cts +3 -3
  6. package/dist/ai-sdk.d.ts +3 -3
  7. package/dist/ai-sdk.js +1 -1
  8. package/dist/ai-sdk.js.map +1 -1
  9. package/dist/anthropic.d.cts +4 -4
  10. package/dist/anthropic.d.ts +4 -4
  11. package/dist/bedrock.d.cts +4 -4
  12. package/dist/bedrock.d.ts +4 -4
  13. package/dist/cli.js +39 -17
  14. package/dist/cli.js.map +1 -1
  15. package/dist/{client-DHPuVvHW.d.cts → client-CdkRzWz6.d.cts} +111 -21
  16. package/dist/{client-DHPuVvHW.d.ts → client-CdkRzWz6.d.ts} +111 -21
  17. package/dist/cloudflare-agents.d.cts +3 -3
  18. package/dist/cloudflare-agents.d.ts +3 -3
  19. package/dist/elevenlabs.cjs +3 -3
  20. package/dist/elevenlabs.cjs.map +1 -1
  21. package/dist/elevenlabs.d.cts +5 -5
  22. package/dist/elevenlabs.d.ts +5 -5
  23. package/dist/elevenlabs.js +3 -3
  24. package/dist/elevenlabs.js.map +1 -1
  25. package/dist/genkit.d.cts +3 -3
  26. package/dist/genkit.d.ts +3 -3
  27. package/dist/google-adk.cjs +3 -3
  28. package/dist/google-adk.cjs.map +1 -1
  29. package/dist/google-adk.d.cts +3 -3
  30. package/dist/google-adk.d.ts +3 -3
  31. package/dist/google-adk.js +3 -3
  32. package/dist/google-adk.js.map +1 -1
  33. package/dist/google-genai.d.cts +4 -4
  34. package/dist/google-genai.d.ts +4 -4
  35. package/dist/index.cjs +39 -17
  36. package/dist/index.cjs.map +1 -1
  37. package/dist/index.d.cts +3 -3
  38. package/dist/index.d.ts +3 -3
  39. package/dist/index.js +39 -17
  40. package/dist/index.js.map +1 -1
  41. package/dist/{intercept-ClZ9sP5g.d.cts → intercept-C_9uxSRY.d.cts} +1 -1
  42. package/dist/{intercept-CJWSHZk9.d.ts → intercept-tVhq4GNK.d.ts} +1 -1
  43. package/dist/langchain.cjs +1 -1
  44. package/dist/langchain.cjs.map +1 -1
  45. package/dist/langchain.d.cts +3 -3
  46. package/dist/langchain.d.ts +3 -3
  47. package/dist/langchain.js +1 -1
  48. package/dist/langchain.js.map +1 -1
  49. package/dist/livekit.d.cts +3 -3
  50. package/dist/livekit.d.ts +3 -3
  51. package/dist/llamaindex.d.cts +3 -3
  52. package/dist/llamaindex.d.ts +3 -3
  53. package/dist/mastra.cjs +1 -1
  54. package/dist/mastra.cjs.map +1 -1
  55. package/dist/mastra.d.cts +3 -3
  56. package/dist/mastra.d.ts +3 -3
  57. package/dist/mastra.js +1 -1
  58. package/dist/mastra.js.map +1 -1
  59. package/dist/openai-agents.d.cts +3 -3
  60. package/dist/openai-agents.d.ts +3 -3
  61. package/dist/retell.cjs +3 -3
  62. package/dist/retell.cjs.map +1 -1
  63. package/dist/retell.d.cts +5 -5
  64. package/dist/retell.d.ts +5 -5
  65. package/dist/retell.js +3 -3
  66. package/dist/retell.js.map +1 -1
  67. package/dist/{shared-Cf_vc6TD.d.cts → shared-DH_QGnci.d.cts} +1 -1
  68. package/dist/{shared-XhiKa4WA.d.ts → shared-SqZSrkls.d.ts} +1 -1
  69. package/dist/strands.d.cts +3 -3
  70. package/dist/strands.d.ts +3 -3
  71. package/dist/twilio.d.cts +4 -4
  72. package/dist/twilio.d.ts +4 -4
  73. package/dist/vapi.cjs +3 -3
  74. package/dist/vapi.cjs.map +1 -1
  75. package/dist/vapi.d.cts +5 -5
  76. package/dist/vapi.d.ts +5 -5
  77. package/dist/vapi.js +3 -3
  78. package/dist/vapi.js.map +1 -1
  79. package/dist/voltagent.d.cts +3 -3
  80. package/dist/voltagent.d.ts +3 -3
  81. package/dist/{webhook-CYcSCdKl.d.ts → webhook-BNvRGq0g.d.ts} +1 -1
  82. package/dist/{webhook-BI4lYE61.d.cts → webhook-DIHeQ7DO.d.cts} +1 -1
  83. package/dist/whatsapp.d.cts +2 -2
  84. package/dist/whatsapp.d.ts +2 -2
  85. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { Session, AgentInputItem, RunContext, Agent, Runner, FunctionTool } from '@openai/agents';
2
- import { by as Conversation } from './client-DHPuVvHW.cjs';
3
- import { a as ProofSource, A as AgentMemoryOption, b as Session$1 } from './shared-Cf_vc6TD.cjs';
4
- export { P as Proof, c as attestationProof } from './shared-Cf_vc6TD.cjs';
2
+ import { by as Conversation } from './client-CdkRzWz6.cjs';
3
+ import { a as ProofSource, A as AgentMemoryOption, b as Session$1 } from './shared-DH_QGnci.cjs';
4
+ export { P as Proof, c as attestationProof } from './shared-DH_QGnci.cjs';
5
5
 
6
6
  /**
7
7
  * Niadra for the OpenAI Agents SDK for JavaScript (`@openai/agents` 0.18).
@@ -1,7 +1,7 @@
1
1
  import { Session, AgentInputItem, RunContext, Agent, Runner, FunctionTool } from '@openai/agents';
2
- import { by as Conversation } from './client-DHPuVvHW.js';
3
- import { a as ProofSource, A as AgentMemoryOption, b as Session$1 } from './shared-XhiKa4WA.js';
4
- export { P as Proof, c as attestationProof } from './shared-XhiKa4WA.js';
2
+ import { by as Conversation } from './client-CdkRzWz6.js';
3
+ import { a as ProofSource, A as AgentMemoryOption, b as Session$1 } from './shared-SqZSrkls.js';
4
+ export { P as Proof, c as attestationProof } from './shared-SqZSrkls.js';
5
5
 
6
6
  /**
7
7
  * Niadra for the OpenAI Agents SDK for JavaScript (`@openai/agents` 0.18).
package/dist/retell.cjs CHANGED
@@ -15,7 +15,7 @@ var TOOL_DEFINITIONS = [
15
15
  "type": "function",
16
16
  "function": {
17
17
  "name": "search_customer_history",
18
- "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.",
18
+ "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.",
19
19
  "parameters": {
20
20
  "type": "object",
21
21
  "properties": {
@@ -155,13 +155,13 @@ var TOOL_DEFINITIONS = [
155
155
  "type": "function",
156
156
  "function": {
157
157
  "name": "open_history_item",
158
- "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.",
158
+ "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.",
159
159
  "parameters": {
160
160
  "type": "object",
161
161
  "properties": {
162
162
  "id": {
163
163
  "type": "string",
164
- "description": "The item id, e.g. `episode:...`."
164
+ "description": "The item's `id`, as listed."
165
165
  }
166
166
  },
167
167
  "required": [