@niadra/sdk 0.11.1 → 0.11.2

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 (68) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/ai-sdk.d.cts +3 -3
  3. package/dist/ai-sdk.d.ts +3 -3
  4. package/dist/anthropic.d.cts +4 -4
  5. package/dist/anthropic.d.ts +4 -4
  6. package/dist/bedrock.d.cts +4 -4
  7. package/dist/bedrock.d.ts +4 -4
  8. package/dist/cli.js +1 -1
  9. package/dist/cli.js.map +1 -1
  10. package/dist/{client-CdkRzWz6.d.cts → client-C0FxHZgk.d.cts} +1 -1
  11. package/dist/{client-CdkRzWz6.d.ts → client-C0FxHZgk.d.ts} +1 -1
  12. package/dist/cloudflare-agents.d.cts +3 -3
  13. package/dist/cloudflare-agents.d.ts +3 -3
  14. package/dist/elevenlabs.d.cts +5 -5
  15. package/dist/elevenlabs.d.ts +5 -5
  16. package/dist/genkit.d.cts +3 -3
  17. package/dist/genkit.d.ts +3 -3
  18. package/dist/google-adk.d.cts +3 -3
  19. package/dist/google-adk.d.ts +3 -3
  20. package/dist/google-genai.d.cts +4 -4
  21. package/dist/google-genai.d.ts +4 -4
  22. package/dist/index.cjs +8 -1
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.d.cts +10 -3
  25. package/dist/index.d.ts +10 -3
  26. package/dist/index.js +8 -1
  27. package/dist/index.js.map +1 -1
  28. package/dist/{intercept-C_9uxSRY.d.cts → intercept--jszljK3.d.cts} +1 -1
  29. package/dist/{intercept-tVhq4GNK.d.ts → intercept-BTSgDwBp.d.ts} +1 -1
  30. package/dist/langchain.d.cts +3 -3
  31. package/dist/langchain.d.ts +3 -3
  32. package/dist/livekit.cjs +7 -0
  33. package/dist/livekit.cjs.map +1 -1
  34. package/dist/livekit.d.cts +3 -3
  35. package/dist/livekit.d.ts +3 -3
  36. package/dist/livekit.js +7 -0
  37. package/dist/livekit.js.map +1 -1
  38. package/dist/llamaindex.d.cts +3 -3
  39. package/dist/llamaindex.d.ts +3 -3
  40. package/dist/mastra.d.cts +3 -3
  41. package/dist/mastra.d.ts +3 -3
  42. package/dist/openai-agents.d.cts +3 -3
  43. package/dist/openai-agents.d.ts +3 -3
  44. package/dist/retell.d.cts +5 -5
  45. package/dist/retell.d.ts +5 -5
  46. package/dist/{shared-DH_QGnci.d.cts → shared-BgH4GypR.d.cts} +1 -1
  47. package/dist/{shared-SqZSrkls.d.ts → shared-DNEUVdMh.d.ts} +1 -1
  48. package/dist/strands.d.cts +3 -3
  49. package/dist/strands.d.ts +3 -3
  50. package/dist/twilio.cjs +7 -0
  51. package/dist/twilio.cjs.map +1 -1
  52. package/dist/twilio.d.cts +4 -4
  53. package/dist/twilio.d.ts +4 -4
  54. package/dist/twilio.js +7 -0
  55. package/dist/twilio.js.map +1 -1
  56. package/dist/vapi.d.cts +5 -5
  57. package/dist/vapi.d.ts +5 -5
  58. package/dist/voltagent.d.cts +3 -3
  59. package/dist/voltagent.d.ts +3 -3
  60. package/dist/{webhook-BNvRGq0g.d.ts → webhook-CmjN8aRy.d.ts} +1 -1
  61. package/dist/{webhook-DIHeQ7DO.d.cts → webhook-JVLjLq-R.d.cts} +1 -1
  62. package/dist/whatsapp.cjs +7 -0
  63. package/dist/whatsapp.cjs.map +1 -1
  64. package/dist/whatsapp.d.cts +2 -2
  65. package/dist/whatsapp.d.ts +2 -2
  66. package/dist/whatsapp.js +7 -0
  67. package/dist/whatsapp.js.map +1 -1
  68. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,15 @@ All notable changes to this package are documented here. The format follows [Kee
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.11.2] - 2026-10-07
8
+
9
+ ### Added
10
+
11
+ - `handles.staff(value, system)` names someone who works for your company by the id one of your systems gives
12
+ them (`subject_kind: "staff"`). A conversation with staff is internal; a conversation with anyone else is
13
+ customer-facing, whatever the key, so one key can serve your team and your customers. Nothing changes for
14
+ code that does not use it.
15
+
7
16
  ## [0.11.1] - 2026-10-05
8
17
 
9
18
  ### Fixed
package/dist/ai-sdk.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ToolSet } from 'ai';
2
- import { f as ModelUsage, ga as TurnParams, g3 as TurnFrame } from './client-CdkRzWz6.cjs';
3
- import { a as ProofSource, A as AgentMemoryOption, b as Session, S as SessionResolver } from './shared-DH_QGnci.cjs';
4
- export { P as Proof, c as attestationProof } from './shared-DH_QGnci.cjs';
2
+ import { f as ModelUsage, ga as TurnParams, g3 as TurnFrame } from './client-C0FxHZgk.cjs';
3
+ import { a as ProofSource, A as AgentMemoryOption, b as Session, S as SessionResolver } from './shared-BgH4GypR.cjs';
4
+ export { P as Proof, c as attestationProof } from './shared-BgH4GypR.cjs';
5
5
 
6
6
  /**
7
7
  * Niadra for the Vercel AI SDK (`ai` 5, 6 and 7), the idiomatic way: a language model middleware
package/dist/ai-sdk.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ToolSet } from 'ai';
2
- import { f as ModelUsage, ga as TurnParams, g3 as TurnFrame } from './client-CdkRzWz6.js';
3
- import { a as ProofSource, A as AgentMemoryOption, b as Session, S as SessionResolver } from './shared-SqZSrkls.js';
4
- export { P as Proof, c as attestationProof } from './shared-SqZSrkls.js';
2
+ import { f as ModelUsage, ga as TurnParams, g3 as TurnFrame } from './client-C0FxHZgk.js';
3
+ import { a as ProofSource, A as AgentMemoryOption, b as Session, S as SessionResolver } from './shared-DNEUVdMh.js';
4
+ export { P as Proof, c as attestationProof } from './shared-DNEUVdMh.js';
5
5
 
6
6
  /**
7
7
  * Niadra for the Vercel AI SDK (`ai` 5, 6 and 7), the idiomatic way: a language model middleware
@@ -1,7 +1,7 @@
1
- import { W as WrapOptions } from './intercept-C_9uxSRY.cjs';
2
- import { S as SessionResolver } from './shared-DH_QGnci.cjs';
3
- export { A as AgentMemoryOption, P as Proof, a as ProofSource, b as Session, c as attestationProof } from './shared-DH_QGnci.cjs';
4
- import './client-CdkRzWz6.cjs';
1
+ import { W as WrapOptions } from './intercept--jszljK3.cjs';
2
+ import { S as SessionResolver } from './shared-BgH4GypR.cjs';
3
+ export { A as AgentMemoryOption, P as Proof, a as ProofSource, b as Session, c as attestationProof } from './shared-BgH4GypR.cjs';
4
+ import './client-C0FxHZgk.cjs';
5
5
 
6
6
  /**
7
7
  * Niadra for the Anthropic TypeScript SDK (`@anthropic-ai/sdk`), as `wrap()` is for OpenAI.
@@ -1,7 +1,7 @@
1
- import { W as WrapOptions } from './intercept-tVhq4GNK.js';
2
- import { S as SessionResolver } from './shared-SqZSrkls.js';
3
- export { A as AgentMemoryOption, P as Proof, a as ProofSource, b as Session, c as attestationProof } from './shared-SqZSrkls.js';
4
- import './client-CdkRzWz6.js';
1
+ import { W as WrapOptions } from './intercept-BTSgDwBp.js';
2
+ import { S as SessionResolver } from './shared-DNEUVdMh.js';
3
+ export { A as AgentMemoryOption, P as Proof, a as ProofSource, b as Session, c as attestationProof } from './shared-DNEUVdMh.js';
4
+ import './client-C0FxHZgk.js';
5
5
 
6
6
  /**
7
7
  * Niadra for the Anthropic TypeScript SDK (`@anthropic-ai/sdk`), as `wrap()` is for OpenAI.
@@ -1,7 +1,7 @@
1
- import { f as ModelUsage } from './client-CdkRzWz6.cjs';
2
- import { W as WrapOptions } from './intercept-C_9uxSRY.cjs';
3
- import { S as SessionResolver } from './shared-DH_QGnci.cjs';
4
- export { A as AgentMemoryOption, P as Proof, a as ProofSource, b as Session, c as attestationProof } from './shared-DH_QGnci.cjs';
1
+ import { f as ModelUsage } from './client-C0FxHZgk.cjs';
2
+ import { W as WrapOptions } from './intercept--jszljK3.cjs';
3
+ import { S as SessionResolver } from './shared-BgH4GypR.cjs';
4
+ export { A as AgentMemoryOption, P as Proof, a as ProofSource, b as Session, c as attestationProof } from './shared-BgH4GypR.cjs';
5
5
 
6
6
  /**
7
7
  * Niadra for Amazon Bedrock's Converse API (`@aws-sdk/client-bedrock-runtime`), as `wrap()` is for
package/dist/bedrock.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { f as ModelUsage } from './client-CdkRzWz6.js';
2
- import { W as WrapOptions } from './intercept-tVhq4GNK.js';
3
- import { S as SessionResolver } from './shared-SqZSrkls.js';
4
- export { A as AgentMemoryOption, P as Proof, a as ProofSource, b as Session, c as attestationProof } from './shared-SqZSrkls.js';
1
+ import { f as ModelUsage } from './client-C0FxHZgk.js';
2
+ import { W as WrapOptions } from './intercept-BTSgDwBp.js';
3
+ import { S as SessionResolver } from './shared-DNEUVdMh.js';
4
+ export { A as AgentMemoryOption, P as Proof, a as ProofSource, b as Session, c as attestationProof } from './shared-DNEUVdMh.js';
5
5
 
6
6
  /**
7
7
  * Niadra for Amazon Bedrock's Converse API (`@aws-sdk/client-bedrock-runtime`), as `wrap()` is for
package/dist/cli.js CHANGED
@@ -510,7 +510,7 @@ function internalRecord(span, ref, act) {
510
510
  }
511
511
 
512
512
  // src/version.ts
513
- var VERSION = "0.11.1";
513
+ var VERSION = "0.11.2";
514
514
 
515
515
  // src/transport.ts
516
516
  var RETRYABLE_WRITE_STATUS = /* @__PURE__ */ new Set([408, 421, 429, 500, 502, 503, 504]);