agenticdome-sdk 0.4.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 AgenticDome
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files, to deal in the Software
7
+ without restriction, including without limitation the rights to use, copy,
8
+ modify, merge, publish, distribute, sublicense, and/or sell copies of the
9
+ Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,61 @@
1
+ # AgentGuard SDK
2
+
3
+ TypeScript SDK for AgentGuard APIs.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install agentguard-sdk
9
+ ```
10
+
11
+ If using a scoped package, install with:
12
+
13
+ ```bash
14
+ npm install @your-npm-username/agentguard-sdk
15
+ ```
16
+
17
+ ## Usage
18
+
19
+ ```ts
20
+ import AgentGuardClient from 'agentguard-sdk';
21
+
22
+ const client = new AgentGuardClient('https://api.example.com', {
23
+ apiKey: process.env.AGENTGUARD_API_KEY,
24
+ tenantId: process.env.AGENTGUARD_TENANT_ID
25
+ });
26
+
27
+ const result = await client.guardrailValidate({
28
+ text: 'Hello world',
29
+ agentId: 'agent-1',
30
+ direction: 'outbound',
31
+ platform: 'salesforce'
32
+ });
33
+
34
+ console.log(result);
35
+
36
+ client.close();
37
+ ```
38
+
39
+ ## Environment Variables
40
+
41
+ ```bash
42
+ AGENTGUARD_API_KEY=your_api_key
43
+ AGENTGUARD_TENANT_ID=your_tenant_id
44
+ AGENTGUARD_BEARER_TOKEN=your_bearer_token
45
+ ```
46
+
47
+ ## Main Client
48
+
49
+ ```ts
50
+ import { AgentGuardClient } from 'agentguard-sdk';
51
+ ```
52
+
53
+ Also available as default export:
54
+
55
+ ```ts
56
+ import AgentGuardClient from 'agentguard-sdk';
57
+ ```
58
+
59
+ ## License
60
+
61
+ MIT