@niadra/sdk 0.9.0 → 0.9.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 +12 -0
- package/README.md +40 -1
- 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 +51 -10
- package/dist/cli.js.map +1 -1
- package/dist/{client-B_ip8T2o.d.cts → client-CWMxmJHs.d.cts} +22 -14
- package/dist/{client-B_ip8T2o.d.ts → client-CWMxmJHs.d.ts} +22 -14
- package/dist/cloudflare-agents.d.cts +3 -3
- package/dist/cloudflare-agents.d.ts +3 -3
- package/dist/elevenlabs.d.cts +5 -5
- package/dist/elevenlabs.d.ts +5 -5
- package/dist/genkit.d.cts +3 -3
- package/dist/genkit.d.ts +3 -3
- package/dist/google-adk.d.cts +3 -3
- package/dist/google-adk.d.ts +3 -3
- package/dist/google-genai.d.cts +4 -4
- package/dist/google-genai.d.ts +4 -4
- package/dist/index.cjs +51 -10
- 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 +51 -10
- package/dist/index.js.map +1 -1
- package/dist/{intercept-CBaPK_-k.d.ts → intercept-Bv0nLpSw.d.ts} +1 -1
- package/dist/{intercept-CxmBLfoj.d.cts → intercept-CGngQI8B.d.cts} +1 -1
- package/dist/langchain.d.cts +3 -3
- package/dist/langchain.d.ts +3 -3
- 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.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.d.cts +5 -5
- package/dist/retell.d.ts +5 -5
- package/dist/{shared-BLkAbvuf.d.ts → shared-B4Ef2Wpg.d.ts} +1 -1
- package/dist/{shared-DEkF2Y_z.d.cts → shared-Cq8mz-7m.d.cts} +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.d.cts +5 -5
- package/dist/vapi.d.ts +5 -5
- package/dist/voltagent.d.cts +3 -3
- package/dist/voltagent.d.ts +3 -3
- package/dist/{webhook-CuR0Wckd.d.cts → webhook-jTx_SegV.d.cts} +1 -1
- package/dist/{webhook-BaraTaA9.d.ts → webhook-z2TjUzjv.d.ts} +1 -1
- package/dist/whatsapp.d.cts +2 -2
- package/dist/whatsapp.d.ts +2 -2
- package/package.json +3 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ProofSource, A as AgentMemoryOption } from './shared-
|
|
1
|
+
import { a as ProofSource, A as AgentMemoryOption } from './shared-Cq8mz-7m.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* What the model SDK wrappers (Anthropic, Google GenAI, Bedrock) share: proxies that replace one
|
package/dist/langchain.d.cts
CHANGED
|
@@ -3,9 +3,9 @@ import { BaseMessage } from '@langchain/core/messages';
|
|
|
3
3
|
import { LLMResult } from '@langchain/core/outputs';
|
|
4
4
|
import { Runnable } from '@langchain/core/runnables';
|
|
5
5
|
import { DynamicStructuredTool } from '@langchain/core/tools';
|
|
6
|
-
import { f as ModelUsage } from './client-
|
|
7
|
-
import { S as SessionResolver, a as ProofSource, A as AgentMemoryOption, b as Session } from './shared-
|
|
8
|
-
export { P as Proof, c as attestationProof } from './shared-
|
|
6
|
+
import { f as ModelUsage } from './client-CWMxmJHs.cjs';
|
|
7
|
+
import { S as SessionResolver, a as ProofSource, A as AgentMemoryOption, b as Session } from './shared-Cq8mz-7m.cjs';
|
|
8
|
+
export { P as Proof, c as attestationProof } from './shared-Cq8mz-7m.cjs';
|
|
9
9
|
import { Serialized } from '@langchain/core/load/serializable';
|
|
10
10
|
|
|
11
11
|
/**
|
package/dist/langchain.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import { BaseMessage } from '@langchain/core/messages';
|
|
|
3
3
|
import { LLMResult } from '@langchain/core/outputs';
|
|
4
4
|
import { Runnable } from '@langchain/core/runnables';
|
|
5
5
|
import { DynamicStructuredTool } from '@langchain/core/tools';
|
|
6
|
-
import { f as ModelUsage } from './client-
|
|
7
|
-
import { S as SessionResolver, a as ProofSource, A as AgentMemoryOption, b as Session } from './shared-
|
|
8
|
-
export { P as Proof, c as attestationProof } from './shared-
|
|
6
|
+
import { f as ModelUsage } from './client-CWMxmJHs.js';
|
|
7
|
+
import { S as SessionResolver, a as ProofSource, A as AgentMemoryOption, b as Session } from './shared-B4Ef2Wpg.js';
|
|
8
|
+
export { P as Proof, c as attestationProof } from './shared-B4Ef2Wpg.js';
|
|
9
9
|
import { Serialized } from '@langchain/core/load/serializable';
|
|
10
10
|
|
|
11
11
|
/**
|
package/dist/livekit.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { voice, llm } from '@livekit/agents';
|
|
2
|
-
import { bs as Conversation, g as Handle } from './client-
|
|
3
|
-
import { a as ProofSource, A as AgentMemoryOption } from './shared-
|
|
4
|
-
export { P as Proof, c as attestationProof } from './shared-
|
|
2
|
+
import { bs as Conversation, g as Handle } from './client-CWMxmJHs.cjs';
|
|
3
|
+
import { a as ProofSource, A as AgentMemoryOption } from './shared-Cq8mz-7m.cjs';
|
|
4
|
+
export { P as Proof, c as attestationProof } from './shared-Cq8mz-7m.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Niadra for LiveKit Agents (Node, `@livekit/agents` 1.9).
|
package/dist/livekit.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { voice, llm } from '@livekit/agents';
|
|
2
|
-
import { bs as Conversation, g as Handle } from './client-
|
|
3
|
-
import { a as ProofSource, A as AgentMemoryOption } from './shared-
|
|
4
|
-
export { P as Proof, c as attestationProof } from './shared-
|
|
2
|
+
import { bs as Conversation, g as Handle } from './client-CWMxmJHs.js';
|
|
3
|
+
import { a as ProofSource, A as AgentMemoryOption } from './shared-B4Ef2Wpg.js';
|
|
4
|
+
export { P as Proof, c as attestationProof } from './shared-B4Ef2Wpg.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Niadra for LiveKit Agents (Node, `@livekit/agents` 1.9).
|
package/dist/llamaindex.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Memory, MemoryMessage, BaseMemoryBlock } from '@llamaindex/core/memory';
|
|
2
2
|
import { LLM, ChatMessage } from '@llamaindex/core/llms';
|
|
3
3
|
import { FunctionTool } from '@llamaindex/core/tools';
|
|
4
|
-
import { S as SessionResolver, a as ProofSource, A as AgentMemoryOption, b as Session } from './shared-
|
|
5
|
-
export { P as Proof, c as attestationProof } from './shared-
|
|
6
|
-
import './client-
|
|
4
|
+
import { S as SessionResolver, a as ProofSource, A as AgentMemoryOption, b as Session } from './shared-Cq8mz-7m.cjs';
|
|
5
|
+
export { P as Proof, c as attestationProof } from './shared-Cq8mz-7m.cjs';
|
|
6
|
+
import './client-CWMxmJHs.cjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Niadra for LlamaIndex.TS (`@llamaindex/core` 0.6, the package `llamaindex` re-exports).
|
package/dist/llamaindex.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Memory, MemoryMessage, BaseMemoryBlock } from '@llamaindex/core/memory';
|
|
2
2
|
import { LLM, ChatMessage } from '@llamaindex/core/llms';
|
|
3
3
|
import { FunctionTool } from '@llamaindex/core/tools';
|
|
4
|
-
import { S as SessionResolver, a as ProofSource, A as AgentMemoryOption, b as Session } from './shared-
|
|
5
|
-
export { P as Proof, c as attestationProof } from './shared-
|
|
6
|
-
import './client-
|
|
4
|
+
import { S as SessionResolver, a as ProofSource, A as AgentMemoryOption, b as Session } from './shared-B4Ef2Wpg.js';
|
|
5
|
+
export { P as Proof, c as attestationProof } from './shared-B4Ef2Wpg.js';
|
|
6
|
+
import './client-CWMxmJHs.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Niadra for LlamaIndex.TS (`@llamaindex/core` 0.6, the package `llamaindex` re-exports).
|
package/dist/mastra.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Processor } from '@mastra/core/processors';
|
|
2
2
|
import { createTool } from '@mastra/core/tools';
|
|
3
|
-
import { f as ModelUsage } from './client-
|
|
4
|
-
import { b as Session, a as ProofSource, A as AgentMemoryOption } from './shared-
|
|
5
|
-
export { P as Proof, c as attestationProof } from './shared-
|
|
3
|
+
import { f as ModelUsage } from './client-CWMxmJHs.cjs';
|
|
4
|
+
import { b as Session, a as ProofSource, A as AgentMemoryOption } from './shared-Cq8mz-7m.cjs';
|
|
5
|
+
export { P as Proof, c as attestationProof } from './shared-Cq8mz-7m.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Niadra for Mastra (`@mastra/core` 1.x): a processor for the agent and the navigation kit as
|
package/dist/mastra.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Processor } from '@mastra/core/processors';
|
|
2
2
|
import { createTool } from '@mastra/core/tools';
|
|
3
|
-
import { f as ModelUsage } from './client-
|
|
4
|
-
import { b as Session, a as ProofSource, A as AgentMemoryOption } from './shared-
|
|
5
|
-
export { P as Proof, c as attestationProof } from './shared-
|
|
3
|
+
import { f as ModelUsage } from './client-CWMxmJHs.js';
|
|
4
|
+
import { b as Session, a as ProofSource, A as AgentMemoryOption } from './shared-B4Ef2Wpg.js';
|
|
5
|
+
export { P as Proof, c as attestationProof } from './shared-B4Ef2Wpg.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Niadra for Mastra (`@mastra/core` 1.x): a processor for the agent and the navigation kit as
|
package/dist/openai-agents.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Session, AgentInputItem, RunContext, Agent, Runner, FunctionTool } from '@openai/agents';
|
|
2
|
-
import { bs as Conversation } from './client-
|
|
3
|
-
import { a as ProofSource, A as AgentMemoryOption, b as Session$1 } from './shared-
|
|
4
|
-
export { P as Proof, c as attestationProof } from './shared-
|
|
2
|
+
import { bs as Conversation } from './client-CWMxmJHs.cjs';
|
|
3
|
+
import { a as ProofSource, A as AgentMemoryOption, b as Session$1 } from './shared-Cq8mz-7m.cjs';
|
|
4
|
+
export { P as Proof, c as attestationProof } from './shared-Cq8mz-7m.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Niadra for the OpenAI Agents SDK for JavaScript (`@openai/agents` 0.18).
|
package/dist/openai-agents.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Session, AgentInputItem, RunContext, Agent, Runner, FunctionTool } from '@openai/agents';
|
|
2
|
-
import { bs as Conversation } from './client-
|
|
3
|
-
import { a as ProofSource, A as AgentMemoryOption, b as Session$1 } from './shared-
|
|
4
|
-
export { P as Proof, c as attestationProof } from './shared-
|
|
2
|
+
import { bs as Conversation } from './client-CWMxmJHs.js';
|
|
3
|
+
import { a as ProofSource, A as AgentMemoryOption, b as Session$1 } from './shared-B4Ef2Wpg.js';
|
|
4
|
+
export { P as Proof, c as attestationProof } from './shared-B4Ef2Wpg.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Niadra for the OpenAI Agents SDK for JavaScript (`@openai/agents` 0.18).
|
package/dist/retell.d.cts
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-CWMxmJHs.cjs';
|
|
2
|
+
import { P as Proof, A as AgentMemoryOption } from './shared-Cq8mz-7m.cjs';
|
|
3
|
+
export { c as attestationProof } from './shared-Cq8mz-7m.cjs';
|
|
4
|
+
import { H as HeadersLike, W as WebhookResponse, C as CallStore } from './webhook-jTx_SegV.cjs';
|
|
5
|
+
export { a as CallRecord, m as memoryCallStore } from './webhook-jTx_SegV.cjs';
|
|
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.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-CWMxmJHs.js';
|
|
2
|
+
import { P as Proof, A as AgentMemoryOption } from './shared-B4Ef2Wpg.js';
|
|
3
|
+
export { c as attestationProof } from './shared-B4Ef2Wpg.js';
|
|
4
|
+
import { H as HeadersLike, W as WebhookResponse, C as CallStore } from './webhook-z2TjUzjv.js';
|
|
5
|
+
export { a as CallRecord, m as memoryCallStore } from './webhook-z2TjUzjv.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Niadra for Retell AI, on the server side: a call reaches Retell, Retell calls your webhooks
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as AgentMemoryParams, gr as VerifyMethod, gn as Verification, g as Handle, bs as Conversation, fo as Task } from './client-
|
|
1
|
+
import { n as AgentMemoryParams, gr as VerifyMethod, gn as Verification, g as Handle, bs as Conversation, fo as Task } from './client-CWMxmJHs.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* What every framework adapter shares: the five primitives (context before the model call, the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as AgentMemoryParams, gr as VerifyMethod, gn as Verification, g as Handle, bs as Conversation, fo as Task } from './client-
|
|
1
|
+
import { n as AgentMemoryParams, gr as VerifyMethod, gn as Verification, g as Handle, bs as Conversation, fo as Task } from './client-CWMxmJHs.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* What every framework adapter shares: the five primitives (context before the model call, the
|
package/dist/strands.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Plugin, LocalAgent, InvokableTool, JSONValue } from '@strands-agents/sdk';
|
|
2
|
-
import { f as ModelUsage } from './client-
|
|
3
|
-
import { b as Session, a as ProofSource, A as AgentMemoryOption } from './shared-
|
|
4
|
-
export { P as Proof, c as attestationProof } from './shared-
|
|
2
|
+
import { f as ModelUsage } from './client-CWMxmJHs.cjs';
|
|
3
|
+
import { b as Session, a as ProofSource, A as AgentMemoryOption } from './shared-Cq8mz-7m.cjs';
|
|
4
|
+
export { P as Proof, c as attestationProof } from './shared-Cq8mz-7m.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Niadra for Strands Agents for TypeScript (`@strands-agents/sdk` 1.x, AWS): a plugin with the
|
package/dist/strands.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Plugin, LocalAgent, InvokableTool, JSONValue } from '@strands-agents/sdk';
|
|
2
|
-
import { f as ModelUsage } from './client-
|
|
3
|
-
import { b as Session, a as ProofSource, A as AgentMemoryOption } from './shared-
|
|
4
|
-
export { P as Proof, c as attestationProof } from './shared-
|
|
2
|
+
import { f as ModelUsage } from './client-CWMxmJHs.js';
|
|
3
|
+
import { b as Session, a as ProofSource, A as AgentMemoryOption } from './shared-B4Ef2Wpg.js';
|
|
4
|
+
export { P as Proof, c as attestationProof } from './shared-B4Ef2Wpg.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Niadra for Strands Agents for TypeScript (`@strands-agents/sdk` 1.x, AWS): a plugin with the
|
package/dist/twilio.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as Handle, bs as Conversation } from './client-
|
|
2
|
-
import { P as Proof } from './shared-
|
|
3
|
-
export { c as attestationProof } from './shared-
|
|
4
|
-
import { H as HeadersLike } from './webhook-
|
|
1
|
+
import { g as Handle, bs as Conversation } from './client-CWMxmJHs.cjs';
|
|
2
|
+
import { P as Proof } from './shared-Cq8mz-7m.cjs';
|
|
3
|
+
export { c as attestationProof } from './shared-Cq8mz-7m.cjs';
|
|
4
|
+
import { H as HeadersLike } from './webhook-jTx_SegV.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Niadra for Twilio webhooks: Programmable Voice, Messaging (SMS and WhatsApp) and Conversations.
|
package/dist/twilio.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as Handle, bs as Conversation } from './client-
|
|
2
|
-
import { P as Proof } from './shared-
|
|
3
|
-
export { c as attestationProof } from './shared-
|
|
4
|
-
import { H as HeadersLike } from './webhook-
|
|
1
|
+
import { g as Handle, bs as Conversation } from './client-CWMxmJHs.js';
|
|
2
|
+
import { P as Proof } from './shared-B4Ef2Wpg.js';
|
|
3
|
+
export { c as attestationProof } from './shared-B4Ef2Wpg.js';
|
|
4
|
+
import { H as HeadersLike } from './webhook-z2TjUzjv.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Niadra for Twilio webhooks: Programmable Voice, Messaging (SMS and WhatsApp) and Conversations.
|
package/dist/vapi.d.cts
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 { C as CallStore, H as HeadersLike, W as WebhookResponse } from './webhook-
|
|
5
|
-
export { a as CallRecord, m as memoryCallStore } from './webhook-
|
|
1
|
+
import { c as Niadra, g as Handle } from './client-CWMxmJHs.cjs';
|
|
2
|
+
import { P as Proof, A as AgentMemoryOption } from './shared-Cq8mz-7m.cjs';
|
|
3
|
+
export { c as attestationProof } from './shared-Cq8mz-7m.cjs';
|
|
4
|
+
import { C as CallStore, H as HeadersLike, W as WebhookResponse } from './webhook-jTx_SegV.cjs';
|
|
5
|
+
export { a as CallRecord, m as memoryCallStore } from './webhook-jTx_SegV.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Niadra for Vapi, on your server URL. One handler takes every server message Vapi sends
|
package/dist/vapi.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 { C as CallStore, H as HeadersLike, W as WebhookResponse } from './webhook-
|
|
5
|
-
export { a as CallRecord, m as memoryCallStore } from './webhook-
|
|
1
|
+
import { c as Niadra, g as Handle } from './client-CWMxmJHs.js';
|
|
2
|
+
import { P as Proof, A as AgentMemoryOption } from './shared-B4Ef2Wpg.js';
|
|
3
|
+
export { c as attestationProof } from './shared-B4Ef2Wpg.js';
|
|
4
|
+
import { C as CallStore, H as HeadersLike, W as WebhookResponse } from './webhook-z2TjUzjv.js';
|
|
5
|
+
export { a as CallRecord, m as memoryCallStore } from './webhook-z2TjUzjv.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Niadra for Vapi, on your server URL. One handler takes every server message Vapi sends
|
package/dist/voltagent.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnEndHookArgs, AgentHooks, Tool } from '@voltagent/core';
|
|
2
|
-
import { f as ModelUsage } from './client-
|
|
3
|
-
import { b as Session, a as ProofSource, A as AgentMemoryOption } from './shared-
|
|
4
|
-
export { P as Proof, c as attestationProof } from './shared-
|
|
2
|
+
import { f as ModelUsage } from './client-CWMxmJHs.cjs';
|
|
3
|
+
import { b as Session, a as ProofSource, A as AgentMemoryOption } from './shared-Cq8mz-7m.cjs';
|
|
4
|
+
export { P as Proof, c as attestationProof } from './shared-Cq8mz-7m.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Niadra for VoltAgent (`@voltagent/core` 2.x): agent hooks and the navigation kit as VoltAgent
|
package/dist/voltagent.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnEndHookArgs, AgentHooks, Tool } from '@voltagent/core';
|
|
2
|
-
import { f as ModelUsage } from './client-
|
|
3
|
-
import { b as Session, a as ProofSource, A as AgentMemoryOption } from './shared-
|
|
4
|
-
export { P as Proof, c as attestationProof } from './shared-
|
|
2
|
+
import { f as ModelUsage } from './client-CWMxmJHs.js';
|
|
3
|
+
import { b as Session, a as ProofSource, A as AgentMemoryOption } from './shared-B4Ef2Wpg.js';
|
|
4
|
+
export { P as Proof, c as attestationProof } from './shared-B4Ef2Wpg.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Niadra for VoltAgent (`@voltagent/core` 2.x): agent hooks and the navigation kit as VoltAgent
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as Handle, gn as Verification, bq as ContextStamp } from './client-
|
|
1
|
+
import { g as Handle, gn as Verification, bq as ContextStamp } from './client-CWMxmJHs.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Helpers for the webhook adapters (ElevenLabs, Vapi, WhatsApp, Twilio): signatures with Web
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as Handle, gn as Verification, bq as ContextStamp } from './client-
|
|
1
|
+
import { g as Handle, gn as Verification, bq as ContextStamp } from './client-CWMxmJHs.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Helpers for the webhook adapters (ElevenLabs, Vapi, WhatsApp, Twilio): signatures with Web
|
package/dist/whatsapp.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as Handle, bs as Conversation } from './client-
|
|
2
|
-
import { W as WebhookResponse, H as HeadersLike } from './webhook-
|
|
1
|
+
import { g as Handle, bs as Conversation } from './client-CWMxmJHs.cjs';
|
|
2
|
+
import { W as WebhookResponse, H as HeadersLike } from './webhook-jTx_SegV.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Niadra for the WhatsApp Cloud API (Meta). Translates only: it checks and reads Meta's webhook,
|
package/dist/whatsapp.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as Handle, bs as Conversation } from './client-
|
|
2
|
-
import { W as WebhookResponse, H as HeadersLike } from './webhook-
|
|
1
|
+
import { g as Handle, bs as Conversation } from './client-CWMxmJHs.js';
|
|
2
|
+
import { W as WebhookResponse, H as HeadersLike } from './webhook-z2TjUzjv.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Niadra for the WhatsApp Cloud API (Meta). Translates only: it checks and reads Meta's webhook,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@niadra/sdk",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "TypeScript SDK for Niadra, the omnichannel memory layer for a company's AI agents: context before the model call, history, tools and MCP.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Niadra",
|
|
@@ -260,7 +260,8 @@
|
|
|
260
260
|
"test:watch": "vitest",
|
|
261
261
|
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
|
|
262
262
|
"lint": "eslint .",
|
|
263
|
-
"check": "pnpm typecheck && pnpm lint && pnpm test",
|
|
263
|
+
"check": "pnpm typecheck && pnpm lint && pnpm test && pnpm audit:prod",
|
|
264
|
+
"audit:prod": "pnpm audit --prod --audit-level high",
|
|
264
265
|
"runtimes": "pnpm build && deno run --no-prompt test/runtimes/smoke.mjs && deno run --no-prompt test/runtimes/webhooks.mjs && bun test/runtimes/smoke.mjs && bun test/runtimes/webhooks.mjs && node test/runtimes/workerd.mjs && node test/runtimes/edge.mjs",
|
|
265
266
|
"prepublishOnly": "pnpm check && pnpm build",
|
|
266
267
|
"sync-spec": "node --experimental-strip-types scripts/sync-spec.ts"
|