truefoundry-gateway-sdk 0.0.1 → 0.0.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.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/types/AgentApprovalDecision.d.ts +1 -1
- package/dist/cjs/api/types/AgentApprovalDecisionAllow.d.ts +3 -0
- package/dist/cjs/api/types/{AgentApprovalDecisionReason.d.ts → AgentApprovalDecisionDeny.d.ts} +1 -1
- package/dist/cjs/api/types/AgentResponsesBody.d.ts +1 -1
- package/dist/cjs/api/types/AgentResponsesInlineAgent.d.ts +1 -1
- package/dist/cjs/api/types/AgentResponsesInput.d.ts +2 -0
- package/dist/cjs/api/types/{AgentResponsesNamedAgent.d.ts → AgentResponsesSavedAgent.d.ts} +2 -2
- package/dist/cjs/api/types/index.d.ts +4 -4
- package/dist/cjs/api/types/index.js +4 -4
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/types/AgentApprovalDecision.d.mts +1 -1
- package/dist/esm/api/types/AgentApprovalDecisionAllow.d.mts +3 -0
- package/dist/esm/api/types/{AgentApprovalDecisionReason.d.mts → AgentApprovalDecisionDeny.d.mts} +1 -1
- package/dist/esm/api/types/AgentResponsesBody.d.mts +1 -1
- package/dist/esm/api/types/AgentResponsesInlineAgent.d.mts +1 -1
- package/dist/esm/api/types/AgentResponsesInput.d.mts +2 -0
- package/dist/esm/api/types/{AgentResponsesNamedAgent.d.mts → AgentResponsesSavedAgent.d.mts} +2 -2
- package/dist/esm/api/types/index.d.mts +4 -4
- package/dist/esm/api/types/index.mjs +4 -4
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/dist/cjs/api/types/AgentApprovalDecisionZero.d.ts +0 -3
- package/dist/cjs/api/types/AgentResponsesStatefulInput.d.ts +0 -2
- package/dist/esm/api/types/AgentApprovalDecisionZero.d.mts +0 -3
- package/dist/esm/api/types/AgentResponsesStatefulInput.d.mts +0 -2
- /package/dist/cjs/api/types/{AgentApprovalDecisionReason.js → AgentApprovalDecisionAllow.js} +0 -0
- /package/dist/cjs/api/types/{AgentApprovalDecisionZero.js → AgentApprovalDecisionDeny.js} +0 -0
- /package/dist/cjs/api/types/{AgentResponsesNamedAgent.js → AgentResponsesInput.js} +0 -0
- /package/dist/cjs/api/types/{AgentResponsesStatefulInput.js → AgentResponsesSavedAgent.js} +0 -0
- /package/dist/esm/api/types/{AgentApprovalDecisionReason.mjs → AgentApprovalDecisionAllow.mjs} +0 -0
- /package/dist/esm/api/types/{AgentApprovalDecisionZero.mjs → AgentApprovalDecisionDeny.mjs} +0 -0
- /package/dist/esm/api/types/{AgentResponsesNamedAgent.mjs → AgentResponsesInput.mjs} +0 -0
- /package/dist/esm/api/types/{AgentResponsesStatefulInput.mjs → AgentResponsesSavedAgent.mjs} +0 -0
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "truefoundry-gateway-sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "0.0.
|
|
47
|
-
"User-Agent": "truefoundry-gateway-sdk/0.0.
|
|
46
|
+
"X-Fern-SDK-Version": "0.0.2",
|
|
47
|
+
"User-Agent": "truefoundry-gateway-sdk/0.0.2",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type * as TruefoundryGateway from "../index.js";
|
|
2
|
-
export type AgentApprovalDecision = TruefoundryGateway.
|
|
2
|
+
export type AgentApprovalDecision = TruefoundryGateway.AgentApprovalDecisionAllow | TruefoundryGateway.AgentApprovalDecisionDeny;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type * as TruefoundryGateway from "../index.js";
|
|
2
|
-
export type AgentResponsesBody = TruefoundryGateway.AgentResponsesInlineAgent | TruefoundryGateway.
|
|
2
|
+
export type AgentResponsesBody = TruefoundryGateway.AgentResponsesInlineAgent | TruefoundryGateway.AgentResponsesSavedAgent;
|
|
@@ -12,5 +12,5 @@ export interface AgentResponsesInlineAgent {
|
|
|
12
12
|
variables?: Record<string, string> | undefined;
|
|
13
13
|
/** ID of a prior stored response. Pass to continue a stateful conversation. */
|
|
14
14
|
previous_response_id?: string | undefined;
|
|
15
|
-
input?: TruefoundryGateway.
|
|
15
|
+
input?: TruefoundryGateway.AgentResponsesInput | undefined;
|
|
16
16
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type * as TruefoundryGateway from "../index.js";
|
|
2
|
-
export interface
|
|
2
|
+
export interface AgentResponsesSavedAgent {
|
|
3
3
|
agent_name: string;
|
|
4
4
|
variables?: Record<string, string> | undefined;
|
|
5
5
|
/** ID of a prior stored response. Pass to continue a stateful conversation. */
|
|
6
6
|
previous_response_id?: string | undefined;
|
|
7
|
-
input?: TruefoundryGateway.
|
|
7
|
+
input?: TruefoundryGateway.AgentResponsesInput | undefined;
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from "./AgentApprovalDecision.js";
|
|
2
|
+
export * from "./AgentApprovalDecisionAllow.js";
|
|
3
|
+
export * from "./AgentApprovalDecisionDeny.js";
|
|
2
4
|
export * from "./AgentApprovalDecisionMessage.js";
|
|
3
|
-
export * from "./AgentApprovalDecisionReason.js";
|
|
4
|
-
export * from "./AgentApprovalDecisionZero.js";
|
|
5
5
|
export * from "./AgentApprovalOrToolResponseMessage.js";
|
|
6
6
|
export * from "./AgentApprovalRequired.js";
|
|
7
7
|
export * from "./AgentAssistantMessage.js";
|
|
@@ -58,8 +58,8 @@ export * from "./AgentResponsesFormatZero.js";
|
|
|
58
58
|
export * from "./AgentResponsesInlineAgent.js";
|
|
59
59
|
export * from "./AgentResponsesInlineAgentMessagesItem.js";
|
|
60
60
|
export * from "./AgentResponsesInlineAgentSandbox.js";
|
|
61
|
-
export * from "./
|
|
62
|
-
export * from "./
|
|
61
|
+
export * from "./AgentResponsesInput.js";
|
|
62
|
+
export * from "./AgentResponsesSavedAgent.js";
|
|
63
63
|
export * from "./AgentSandboxCreated.js";
|
|
64
64
|
export * from "./AgentSkillMount.js";
|
|
65
65
|
export * from "./AgentTextContentPart.js";
|
|
@@ -15,9 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AgentApprovalDecision.js"), exports);
|
|
18
|
+
__exportStar(require("./AgentApprovalDecisionAllow.js"), exports);
|
|
19
|
+
__exportStar(require("./AgentApprovalDecisionDeny.js"), exports);
|
|
18
20
|
__exportStar(require("./AgentApprovalDecisionMessage.js"), exports);
|
|
19
|
-
__exportStar(require("./AgentApprovalDecisionReason.js"), exports);
|
|
20
|
-
__exportStar(require("./AgentApprovalDecisionZero.js"), exports);
|
|
21
21
|
__exportStar(require("./AgentApprovalOrToolResponseMessage.js"), exports);
|
|
22
22
|
__exportStar(require("./AgentApprovalRequired.js"), exports);
|
|
23
23
|
__exportStar(require("./AgentAssistantMessage.js"), exports);
|
|
@@ -74,8 +74,8 @@ __exportStar(require("./AgentResponsesFormatZero.js"), exports);
|
|
|
74
74
|
__exportStar(require("./AgentResponsesInlineAgent.js"), exports);
|
|
75
75
|
__exportStar(require("./AgentResponsesInlineAgentMessagesItem.js"), exports);
|
|
76
76
|
__exportStar(require("./AgentResponsesInlineAgentSandbox.js"), exports);
|
|
77
|
-
__exportStar(require("./
|
|
78
|
-
__exportStar(require("./
|
|
77
|
+
__exportStar(require("./AgentResponsesInput.js"), exports);
|
|
78
|
+
__exportStar(require("./AgentResponsesSavedAgent.js"), exports);
|
|
79
79
|
__exportStar(require("./AgentSandboxCreated.js"), exports);
|
|
80
80
|
__exportStar(require("./AgentSkillMount.js"), exports);
|
|
81
81
|
__exportStar(require("./AgentTextContentPart.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.2";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "truefoundry-gateway-sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "0.0.
|
|
10
|
-
"User-Agent": "truefoundry-gateway-sdk/0.0.
|
|
9
|
+
"X-Fern-SDK-Version": "0.0.2",
|
|
10
|
+
"User-Agent": "truefoundry-gateway-sdk/0.0.2",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type * as TruefoundryGateway from "../index.mjs";
|
|
2
|
-
export type AgentApprovalDecision = TruefoundryGateway.
|
|
2
|
+
export type AgentApprovalDecision = TruefoundryGateway.AgentApprovalDecisionAllow | TruefoundryGateway.AgentApprovalDecisionDeny;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type * as TruefoundryGateway from "../index.mjs";
|
|
2
|
-
export type AgentResponsesBody = TruefoundryGateway.AgentResponsesInlineAgent | TruefoundryGateway.
|
|
2
|
+
export type AgentResponsesBody = TruefoundryGateway.AgentResponsesInlineAgent | TruefoundryGateway.AgentResponsesSavedAgent;
|
|
@@ -12,5 +12,5 @@ export interface AgentResponsesInlineAgent {
|
|
|
12
12
|
variables?: Record<string, string> | undefined;
|
|
13
13
|
/** ID of a prior stored response. Pass to continue a stateful conversation. */
|
|
14
14
|
previous_response_id?: string | undefined;
|
|
15
|
-
input?: TruefoundryGateway.
|
|
15
|
+
input?: TruefoundryGateway.AgentResponsesInput | undefined;
|
|
16
16
|
}
|
package/dist/esm/api/types/{AgentResponsesNamedAgent.d.mts → AgentResponsesSavedAgent.d.mts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type * as TruefoundryGateway from "../index.mjs";
|
|
2
|
-
export interface
|
|
2
|
+
export interface AgentResponsesSavedAgent {
|
|
3
3
|
agent_name: string;
|
|
4
4
|
variables?: Record<string, string> | undefined;
|
|
5
5
|
/** ID of a prior stored response. Pass to continue a stateful conversation. */
|
|
6
6
|
previous_response_id?: string | undefined;
|
|
7
|
-
input?: TruefoundryGateway.
|
|
7
|
+
input?: TruefoundryGateway.AgentResponsesInput | undefined;
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from "./AgentApprovalDecision.mjs";
|
|
2
|
+
export * from "./AgentApprovalDecisionAllow.mjs";
|
|
3
|
+
export * from "./AgentApprovalDecisionDeny.mjs";
|
|
2
4
|
export * from "./AgentApprovalDecisionMessage.mjs";
|
|
3
|
-
export * from "./AgentApprovalDecisionReason.mjs";
|
|
4
|
-
export * from "./AgentApprovalDecisionZero.mjs";
|
|
5
5
|
export * from "./AgentApprovalOrToolResponseMessage.mjs";
|
|
6
6
|
export * from "./AgentApprovalRequired.mjs";
|
|
7
7
|
export * from "./AgentAssistantMessage.mjs";
|
|
@@ -58,8 +58,8 @@ export * from "./AgentResponsesFormatZero.mjs";
|
|
|
58
58
|
export * from "./AgentResponsesInlineAgent.mjs";
|
|
59
59
|
export * from "./AgentResponsesInlineAgentMessagesItem.mjs";
|
|
60
60
|
export * from "./AgentResponsesInlineAgentSandbox.mjs";
|
|
61
|
-
export * from "./
|
|
62
|
-
export * from "./
|
|
61
|
+
export * from "./AgentResponsesInput.mjs";
|
|
62
|
+
export * from "./AgentResponsesSavedAgent.mjs";
|
|
63
63
|
export * from "./AgentSandboxCreated.mjs";
|
|
64
64
|
export * from "./AgentSkillMount.mjs";
|
|
65
65
|
export * from "./AgentTextContentPart.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from "./AgentApprovalDecision.mjs";
|
|
2
|
+
export * from "./AgentApprovalDecisionAllow.mjs";
|
|
3
|
+
export * from "./AgentApprovalDecisionDeny.mjs";
|
|
2
4
|
export * from "./AgentApprovalDecisionMessage.mjs";
|
|
3
|
-
export * from "./AgentApprovalDecisionReason.mjs";
|
|
4
|
-
export * from "./AgentApprovalDecisionZero.mjs";
|
|
5
5
|
export * from "./AgentApprovalOrToolResponseMessage.mjs";
|
|
6
6
|
export * from "./AgentApprovalRequired.mjs";
|
|
7
7
|
export * from "./AgentAssistantMessage.mjs";
|
|
@@ -58,8 +58,8 @@ export * from "./AgentResponsesFormatZero.mjs";
|
|
|
58
58
|
export * from "./AgentResponsesInlineAgent.mjs";
|
|
59
59
|
export * from "./AgentResponsesInlineAgentMessagesItem.mjs";
|
|
60
60
|
export * from "./AgentResponsesInlineAgentSandbox.mjs";
|
|
61
|
-
export * from "./
|
|
62
|
-
export * from "./
|
|
61
|
+
export * from "./AgentResponsesInput.mjs";
|
|
62
|
+
export * from "./AgentResponsesSavedAgent.mjs";
|
|
63
63
|
export * from "./AgentSandboxCreated.mjs";
|
|
64
64
|
export * from "./AgentSkillMount.mjs";
|
|
65
65
|
export * from "./AgentTextContentPart.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.2";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.2";
|
package/package.json
CHANGED
/package/dist/cjs/api/types/{AgentApprovalDecisionReason.js → AgentApprovalDecisionAllow.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/api/types/{AgentApprovalDecisionReason.mjs → AgentApprovalDecisionAllow.mjs}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/api/types/{AgentResponsesStatefulInput.mjs → AgentResponsesSavedAgent.mjs}
RENAMED
|
File without changes
|