interai-risk-oracle 0.1.5-beta → 0.1.6-beta
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/README.md +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Typed hosted API client for InterAI Risk Oracle.
|
|
4
4
|
|
|
5
|
-
Package version: `interai-risk-oracle@0.1.
|
|
5
|
+
Package version: `interai-risk-oracle@0.1.6-beta`.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install interai-risk-oracle@0.1.
|
|
8
|
+
npm install interai-risk-oracle@0.1.6-beta
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Builder workflow
|
|
@@ -16,7 +16,7 @@ The client can onboard a builder, retain the returned API key, inspect the accou
|
|
|
16
16
|
import { InterAIRiskOracleClient } from "interai-risk-oracle"
|
|
17
17
|
|
|
18
18
|
const client = new InterAIRiskOracleClient({
|
|
19
|
-
baseUrl: "https://
|
|
19
|
+
baseUrl: "https://api.interailabs.dev"
|
|
20
20
|
})
|
|
21
21
|
|
|
22
22
|
const onboarding = await client.onboard({
|
|
@@ -36,7 +36,7 @@ Top-up helpers cover `createTopup()`, `topupStatus()`, and `confirmTopup()`. Acc
|
|
|
36
36
|
|
|
37
37
|
```ts
|
|
38
38
|
const client = new InterAIRiskOracleClient({
|
|
39
|
-
baseUrl: "https://
|
|
39
|
+
baseUrl: "https://api.interailabs.dev",
|
|
40
40
|
apiKey: process.env.INTERAI_API_KEY
|
|
41
41
|
})
|
|
42
42
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type AutonomousRiskLevel = "low" | "medium" | "high";
|
|
2
2
|
export type GatewayDecision = "allow" | "review_required" | "block";
|
|
3
|
-
export declare const SDK_VERSION: "0.1.
|
|
3
|
+
export declare const SDK_VERSION: "0.1.6-beta";
|
|
4
4
|
export declare const CANONICAL_ACTION_SCHEMA: "interai-canonical-action/v1";
|
|
5
5
|
export declare const HOST_EXECUTION_CONTEXT_SCHEMA: "interai-host-execution-context/v1";
|
|
6
6
|
export declare const EXECUTION_INTENT_SCHEMA: "interai-canonical-execution-intent/v2";
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.1.
|
|
1
|
+
export const SDK_VERSION = "0.1.6-beta";
|
|
2
2
|
export const CANONICAL_ACTION_SCHEMA = "interai-canonical-action/v1";
|
|
3
3
|
export const HOST_EXECUTION_CONTEXT_SCHEMA = "interai-host-execution-context/v1";
|
|
4
4
|
export const EXECUTION_INTENT_SCHEMA = "interai-canonical-execution-intent/v2";
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "interai-risk-oracle",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6-beta",
|
|
4
4
|
"description": "TypeScript client for InterAI's independent pre-execution decision layer for consequential agent actions.",
|
|
5
|
-
"homepage": "https://
|
|
5
|
+
"homepage": "https://api.interailabs.dev/",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/InterAILabs/ai-risk-oracle.git",
|