@letta-ai/letta-client 0.1.136 → 0.1.138
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/api/resources/agents/client/Client.js +10 -10
- package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +6 -6
- package/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/api/resources/clientSideAccessTokens/client/Client.js +2 -2
- package/api/resources/embeddingModels/client/Client.js +1 -1
- package/api/resources/groups/client/Client.js +6 -6
- package/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +7 -7
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/jobs/client/Client.js +4 -4
- package/api/resources/messages/client/Client.js +1 -1
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +5 -5
- package/api/resources/runs/client/Client.js +4 -4
- package/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/api/resources/sources/client/Client.js +8 -8
- package/api/resources/sources/resources/files/client/Client.d.ts +1 -1
- package/api/resources/sources/resources/files/client/Client.js +4 -4
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.d.ts +16 -0
- package/api/resources/steps/client/Client.js +91 -3
- package/api/resources/steps/client/requests/AddFeedbackRequest.d.ts +11 -0
- package/api/resources/steps/client/requests/AddFeedbackRequest.js +5 -0
- package/api/resources/steps/client/requests/StepsListRequest.d.ts +9 -0
- package/api/resources/steps/client/requests/index.d.ts +1 -0
- package/api/resources/steps/index.d.ts +2 -0
- package/api/resources/steps/index.js +2 -0
- package/api/resources/steps/resources/feedback/client/Client.d.ts +39 -0
- package/api/resources/steps/resources/feedback/client/Client.js +111 -0
- package/api/resources/steps/resources/feedback/client/index.d.ts +1 -0
- package/api/resources/steps/resources/feedback/client/index.js +2 -0
- package/api/resources/steps/resources/feedback/index.d.ts +1 -0
- package/api/resources/steps/resources/feedback/index.js +17 -0
- package/api/resources/steps/resources/index.d.ts +1 -0
- package/api/resources/steps/resources/index.js +37 -0
- package/api/resources/steps/types/AddFeedbackRequestFeedback.d.ts +8 -0
- package/api/resources/steps/types/AddFeedbackRequestFeedback.js +10 -0
- package/api/resources/steps/types/StepsListRequestFeedback.d.ts +8 -0
- package/api/resources/steps/types/StepsListRequestFeedback.js +10 -0
- package/api/resources/steps/types/index.d.ts +2 -0
- package/api/resources/steps/types/index.js +18 -0
- package/api/resources/tags/client/Client.js +1 -1
- package/api/resources/telemetry/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/tools/client/Client.d.ts +17 -0
- package/api/resources/tools/client/Client.js +89 -18
- package/api/resources/tools/types/TestMcpServerRequest.d.ts +5 -0
- package/api/resources/tools/types/TestMcpServerRequest.js +5 -0
- package/api/resources/tools/types/index.d.ts +1 -0
- package/api/resources/tools/types/index.js +1 -0
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/Step.d.ts +2 -0
- package/api/types/StepFeedback.d.ts +8 -0
- package/api/types/StepFeedback.js +10 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/api/resources/agents/client/Client.js +10 -10
- package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +6 -6
- package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +2 -2
- package/dist/api/resources/embeddingModels/client/Client.js +1 -1
- package/dist/api/resources/groups/client/Client.js +6 -6
- package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +7 -7
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/jobs/client/Client.js +4 -4
- package/dist/api/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +5 -5
- package/dist/api/resources/runs/client/Client.js +4 -4
- package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/sources/client/Client.js +8 -8
- package/dist/api/resources/sources/resources/files/client/Client.d.ts +1 -1
- package/dist/api/resources/sources/resources/files/client/Client.js +4 -4
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.d.ts +16 -0
- package/dist/api/resources/steps/client/Client.js +91 -3
- package/dist/api/resources/steps/client/requests/AddFeedbackRequest.d.ts +11 -0
- package/dist/api/resources/steps/client/requests/AddFeedbackRequest.js +5 -0
- package/dist/api/resources/steps/client/requests/StepsListRequest.d.ts +9 -0
- package/dist/api/resources/steps/client/requests/index.d.ts +1 -0
- package/dist/api/resources/steps/index.d.ts +2 -0
- package/dist/api/resources/steps/index.js +2 -0
- package/dist/api/resources/steps/resources/feedback/client/Client.d.ts +39 -0
- package/dist/api/resources/steps/resources/feedback/client/Client.js +111 -0
- package/dist/api/resources/steps/resources/feedback/client/index.d.ts +1 -0
- package/dist/api/resources/steps/resources/feedback/client/index.js +2 -0
- package/dist/api/resources/steps/resources/feedback/index.d.ts +1 -0
- package/dist/api/resources/steps/resources/feedback/index.js +17 -0
- package/dist/api/resources/steps/resources/index.d.ts +1 -0
- package/dist/api/resources/steps/resources/index.js +37 -0
- package/dist/api/resources/steps/types/AddFeedbackRequestFeedback.d.ts +8 -0
- package/dist/api/resources/steps/types/AddFeedbackRequestFeedback.js +10 -0
- package/dist/api/resources/steps/types/StepsListRequestFeedback.d.ts +8 -0
- package/dist/api/resources/steps/types/StepsListRequestFeedback.js +10 -0
- package/dist/api/resources/steps/types/index.d.ts +2 -0
- package/dist/api/resources/steps/types/index.js +18 -0
- package/dist/api/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/telemetry/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.d.ts +17 -0
- package/dist/api/resources/tools/client/Client.js +89 -18
- package/dist/api/resources/tools/types/TestMcpServerRequest.d.ts +5 -0
- package/dist/api/resources/tools/types/TestMcpServerRequest.js +5 -0
- package/dist/api/resources/tools/types/index.d.ts +1 -0
- package/dist/api/resources/tools/types/index.js +1 -0
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/Step.d.ts +2 -0
- package/dist/api/types/StepFeedback.d.ts +8 -0
- package/dist/api/types/StepFeedback.js +10 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
- package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/steps/index.d.ts +1 -0
- package/dist/serialization/resources/steps/index.js +1 -0
- package/dist/serialization/resources/steps/types/AddFeedbackRequestFeedback.d.ts +10 -0
- package/dist/serialization/resources/steps/types/AddFeedbackRequestFeedback.js +41 -0
- package/dist/serialization/resources/steps/types/StepsListRequestFeedback.d.ts +10 -0
- package/dist/serialization/resources/steps/types/StepsListRequestFeedback.js +41 -0
- package/dist/serialization/resources/steps/types/index.d.ts +2 -0
- package/dist/serialization/resources/steps/types/index.js +18 -0
- package/dist/serialization/resources/tools/client/index.d.ts +1 -0
- package/dist/serialization/resources/tools/client/index.js +2 -1
- package/dist/serialization/resources/tools/client/testMcpServer.d.ts +11 -0
- package/dist/serialization/resources/tools/client/testMcpServer.js +42 -0
- package/dist/serialization/resources/tools/types/TestMcpServerRequest.d.ts +13 -0
- package/dist/serialization/resources/tools/types/TestMcpServerRequest.js +44 -0
- package/dist/serialization/resources/tools/types/index.d.ts +1 -0
- package/dist/serialization/resources/tools/types/index.js +1 -0
- package/dist/serialization/types/Step.d.ts +2 -0
- package/dist/serialization/types/Step.js +2 -0
- package/dist/serialization/types/StepFeedback.d.ts +10 -0
- package/dist/serialization/types/StepFeedback.js +41 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +190 -1
- package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
- package/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/steps/index.d.ts +1 -0
- package/serialization/resources/steps/index.js +1 -0
- package/serialization/resources/steps/types/AddFeedbackRequestFeedback.d.ts +10 -0
- package/serialization/resources/steps/types/AddFeedbackRequestFeedback.js +41 -0
- package/serialization/resources/steps/types/StepsListRequestFeedback.d.ts +10 -0
- package/serialization/resources/steps/types/StepsListRequestFeedback.js +41 -0
- package/serialization/resources/steps/types/index.d.ts +2 -0
- package/serialization/resources/steps/types/index.js +18 -0
- package/serialization/resources/tools/client/index.d.ts +1 -0
- package/serialization/resources/tools/client/index.js +2 -1
- package/serialization/resources/tools/client/testMcpServer.d.ts +11 -0
- package/serialization/resources/tools/client/testMcpServer.js +42 -0
- package/serialization/resources/tools/types/TestMcpServerRequest.d.ts +13 -0
- package/serialization/resources/tools/types/TestMcpServerRequest.js +44 -0
- package/serialization/resources/tools/types/index.d.ts +1 -0
- package/serialization/resources/tools/types/index.js +1 -0
- package/serialization/types/Step.d.ts +2 -0
- package/serialization/types/Step.js +2 -0
- package/serialization/types/StepFeedback.d.ts +10 -0
- package/serialization/types/StepFeedback.js +41 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -7,4 +7,5 @@ export * as listMcpServers from "./listMcpServers";
|
|
|
7
7
|
export * as addMcpServer from "./addMcpServer";
|
|
8
8
|
export * as listMcpToolsByServer from "./listMcpToolsByServer";
|
|
9
9
|
export * as deleteMcpServer from "./deleteMcpServer";
|
|
10
|
+
export * as testMcpServer from "./testMcpServer";
|
|
10
11
|
export * from "./requests";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.deleteMcpServer = exports.listMcpToolsByServer = exports.addMcpServer = exports.listMcpServers = exports.listComposioActionsByApp = exports.listComposioApps = exports.upsertBaseTools = exports.list = exports.count = void 0;
|
|
39
|
+
exports.testMcpServer = exports.deleteMcpServer = exports.listMcpToolsByServer = exports.addMcpServer = exports.listMcpServers = exports.listComposioActionsByApp = exports.listComposioApps = exports.upsertBaseTools = exports.list = exports.count = void 0;
|
|
40
40
|
exports.count = __importStar(require("./count"));
|
|
41
41
|
exports.list = __importStar(require("./list"));
|
|
42
42
|
exports.upsertBaseTools = __importStar(require("./upsertBaseTools"));
|
|
@@ -46,4 +46,5 @@ exports.listMcpServers = __importStar(require("./listMcpServers"));
|
|
|
46
46
|
exports.addMcpServer = __importStar(require("./addMcpServer"));
|
|
47
47
|
exports.listMcpToolsByServer = __importStar(require("./listMcpToolsByServer"));
|
|
48
48
|
exports.deleteMcpServer = __importStar(require("./deleteMcpServer"));
|
|
49
|
+
exports.testMcpServer = __importStar(require("./testMcpServer"));
|
|
49
50
|
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { McpTool } from "../../../types/McpTool";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.tools.testMcpServer.Response.Raw, Letta.McpTool[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = McpTool.Raw[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Response = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const McpTool_1 = require("../../../types/McpTool");
|
|
42
|
+
exports.Response = core.serialization.list(McpTool_1.McpTool);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { StdioServerConfig } from "../../../types/StdioServerConfig";
|
|
8
|
+
import { SseServerConfig } from "../../../types/SseServerConfig";
|
|
9
|
+
import { StreamableHttpServerConfig } from "../../../types/StreamableHttpServerConfig";
|
|
10
|
+
export declare const TestMcpServerRequest: core.serialization.Schema<serializers.TestMcpServerRequest.Raw, Letta.TestMcpServerRequest>;
|
|
11
|
+
export declare namespace TestMcpServerRequest {
|
|
12
|
+
type Raw = StdioServerConfig.Raw | SseServerConfig.Raw | StreamableHttpServerConfig.Raw;
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TestMcpServerRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const StdioServerConfig_1 = require("../../../types/StdioServerConfig");
|
|
42
|
+
const SseServerConfig_1 = require("../../../types/SseServerConfig");
|
|
43
|
+
const StreamableHttpServerConfig_1 = require("../../../types/StreamableHttpServerConfig");
|
|
44
|
+
exports.TestMcpServerRequest = core.serialization.undiscriminatedUnion([StdioServerConfig_1.StdioServerConfig, SseServerConfig_1.SseServerConfig, StreamableHttpServerConfig_1.StreamableHttpServerConfig]);
|
|
@@ -20,3 +20,4 @@ __exportStar(require("./AddMcpServerResponseItem"), exports);
|
|
|
20
20
|
__exportStar(require("./DeleteMcpServerResponseItem"), exports);
|
|
21
21
|
__exportStar(require("./UpdateMcpServerRequest"), exports);
|
|
22
22
|
__exportStar(require("./UpdateMcpServerResponse"), exports);
|
|
23
|
+
__exportStar(require("./TestMcpServerRequest"), exports);
|
|
@@ -5,6 +5,7 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Letta from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { Message } from "./Message";
|
|
8
|
+
import { StepFeedback } from "./StepFeedback";
|
|
8
9
|
export declare const Step: core.serialization.ObjectSchema<serializers.Step.Raw, Letta.Step>;
|
|
9
10
|
export declare namespace Step {
|
|
10
11
|
interface Raw {
|
|
@@ -26,5 +27,6 @@ export declare namespace Step {
|
|
|
26
27
|
tid?: string | null;
|
|
27
28
|
trace_id?: string | null;
|
|
28
29
|
messages?: Message.Raw[] | null;
|
|
30
|
+
feedback?: StepFeedback.Raw | null;
|
|
29
31
|
}
|
|
30
32
|
}
|
|
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.Step = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const Message_1 = require("./Message");
|
|
42
|
+
const StepFeedback_1 = require("./StepFeedback");
|
|
42
43
|
exports.Step = core.serialization.object({
|
|
43
44
|
id: core.serialization.string(),
|
|
44
45
|
origin: core.serialization.string().optional(),
|
|
@@ -58,4 +59,5 @@ exports.Step = core.serialization.object({
|
|
|
58
59
|
tid: core.serialization.string().optional(),
|
|
59
60
|
traceId: core.serialization.property("trace_id", core.serialization.string().optional()),
|
|
60
61
|
messages: core.serialization.list(Message_1.Message).optional(),
|
|
62
|
+
feedback: StepFeedback_1.StepFeedback.optional(),
|
|
61
63
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const StepFeedback: core.serialization.Schema<serializers.StepFeedback.Raw, Letta.StepFeedback>;
|
|
8
|
+
export declare namespace StepFeedback {
|
|
9
|
+
type Raw = "positive" | "negative";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.StepFeedback = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.StepFeedback = core.serialization.enum_(["positive", "negative"]);
|
|
@@ -187,6 +187,7 @@ export * from "./SleeptimeManager";
|
|
|
187
187
|
export * from "./SleeptimeManagerUpdate";
|
|
188
188
|
export * from "./Source";
|
|
189
189
|
export * from "./StdioServerConfig";
|
|
190
|
+
export * from "./StepFeedback";
|
|
190
191
|
export * from "./Step";
|
|
191
192
|
export * from "./StopReasonType";
|
|
192
193
|
export * from "./StreamableHttpServerConfig";
|
|
@@ -203,6 +203,7 @@ __exportStar(require("./SleeptimeManager"), exports);
|
|
|
203
203
|
__exportStar(require("./SleeptimeManagerUpdate"), exports);
|
|
204
204
|
__exportStar(require("./Source"), exports);
|
|
205
205
|
__exportStar(require("./StdioServerConfig"), exports);
|
|
206
|
+
__exportStar(require("./StepFeedback"), exports);
|
|
206
207
|
__exportStar(require("./Step"), exports);
|
|
207
208
|
__exportStar(require("./StopReasonType"), exports);
|
|
208
209
|
__exportStar(require("./StreamableHttpServerConfig"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.138";
|
package/version.js
CHANGED