@letta-ai/letta-client 0.1.83 → 0.1.84
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/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/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +5 -5
- package/api/resources/agents/resources/passages/client/Client.js +3 -3
- 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/blocks/client/Client.js +6 -6
- package/api/resources/groups/client/Client.js +6 -6
- package/api/resources/groups/resources/messages/client/Client.js +4 -4
- package/api/resources/groups/types/GroupUpdateManagerConfig.d.ts +1 -1
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.d.ts +25 -14
- package/api/resources/identities/client/Client.js +93 -21
- package/api/{types → resources/identities/client/requests}/IdentityCreate.d.ts +10 -1
- package/api/resources/identities/client/requests/IdentityUpsert.d.ts +29 -0
- package/api/resources/identities/client/requests/index.d.ts +2 -2
- package/api/resources/jobs/client/Client.js +4 -4
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +4 -4
- package/api/resources/runs/client/Client.js +7 -7
- package/api/resources/sources/client/Client.js +6 -6
- package/api/resources/sources/resources/files/client/Client.js +3 -3
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.js +2 -2
- package/api/resources/tag/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/tools/client/Client.js +16 -16
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/DynamicManagerUpdate.d.ts +12 -0
- package/api/types/RoundRobinManagerUpdate.d.ts +8 -0
- package/api/types/SleeptimeManagerUpdate.d.ts +10 -0
- package/api/types/SupervisorManagerUpdate.d.ts +8 -0
- package/api/types/index.d.ts +4 -1
- package/api/types/index.js +4 -1
- package/dist/api/resources/agents/client/Client.js +10 -10
- 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/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/passages/client/Client.js +3 -3
- 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/blocks/client/Client.js +6 -6
- package/dist/api/resources/groups/client/Client.js +6 -6
- package/dist/api/resources/groups/resources/messages/client/Client.js +4 -4
- package/dist/api/resources/groups/types/GroupUpdateManagerConfig.d.ts +1 -1
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.d.ts +25 -14
- package/dist/api/resources/identities/client/Client.js +93 -21
- package/dist/api/{types → resources/identities/client/requests}/IdentityCreate.d.ts +10 -1
- package/dist/api/resources/identities/client/requests/IdentityCreate.js +5 -0
- package/dist/api/resources/identities/client/requests/IdentityUpsert.d.ts +29 -0
- package/dist/api/resources/identities/client/requests/IdentityUpsert.js +5 -0
- package/dist/api/resources/identities/client/requests/index.d.ts +2 -2
- package/dist/api/resources/jobs/client/Client.js +4 -4
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +4 -4
- package/dist/api/resources/runs/client/Client.js +7 -7
- package/dist/api/resources/sources/client/Client.js +6 -6
- package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.js +2 -2
- package/dist/api/resources/tag/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.js +16 -16
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/DynamicManagerUpdate.d.ts +12 -0
- package/dist/api/types/DynamicManagerUpdate.js +5 -0
- package/dist/api/types/RoundRobinManagerUpdate.d.ts +8 -0
- package/dist/api/types/RoundRobinManagerUpdate.js +5 -0
- package/dist/api/types/SleeptimeManagerUpdate.d.ts +10 -0
- package/dist/api/types/SleeptimeManagerUpdate.js +5 -0
- package/dist/api/types/SupervisorManagerUpdate.d.ts +8 -0
- package/dist/api/types/SupervisorManagerUpdate.js +5 -0
- package/dist/api/types/index.d.ts +4 -1
- package/dist/api/types/index.js +4 -1
- package/dist/serialization/resources/groups/types/GroupUpdateManagerConfig.d.ts +5 -5
- package/dist/serialization/resources/groups/types/GroupUpdateManagerConfig.js +10 -5
- package/dist/serialization/resources/identities/client/index.d.ts +1 -0
- package/dist/serialization/resources/identities/client/index.js +2 -1
- package/dist/serialization/resources/identities/client/requests/IdentityCreate.d.ts +20 -0
- package/dist/serialization/{types → resources/identities/client/requests}/IdentityCreate.js +3 -3
- package/dist/serialization/resources/identities/client/requests/IdentityUpsert.d.ts +20 -0
- package/dist/serialization/resources/identities/client/requests/IdentityUpsert.js +51 -0
- package/dist/serialization/resources/identities/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/identities/client/requests/index.js +5 -1
- package/dist/serialization/resources/identities/client/upsertIdentityProperties.d.ts +11 -0
- package/dist/serialization/resources/identities/client/upsertIdentityProperties.js +42 -0
- package/dist/serialization/types/DynamicManagerUpdate.d.ts +15 -0
- package/dist/serialization/types/DynamicManagerUpdate.js +46 -0
- package/dist/serialization/types/RoundRobinManagerUpdate.d.ts +13 -0
- package/dist/serialization/types/RoundRobinManagerUpdate.js +44 -0
- package/dist/serialization/types/SleeptimeManagerUpdate.d.ts +14 -0
- package/dist/serialization/types/SleeptimeManagerUpdate.js +45 -0
- package/dist/serialization/types/SupervisorManagerUpdate.d.ts +13 -0
- package/dist/serialization/types/SupervisorManagerUpdate.js +44 -0
- package/dist/serialization/types/index.d.ts +4 -1
- package/dist/serialization/types/index.js +4 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +70 -12
- package/serialization/resources/groups/types/GroupUpdateManagerConfig.d.ts +5 -5
- package/serialization/resources/groups/types/GroupUpdateManagerConfig.js +10 -5
- package/serialization/resources/identities/client/index.d.ts +1 -0
- package/serialization/resources/identities/client/index.js +2 -1
- package/serialization/resources/identities/client/requests/IdentityCreate.d.ts +20 -0
- package/serialization/{types → resources/identities/client/requests}/IdentityCreate.js +3 -3
- package/serialization/resources/identities/client/requests/IdentityUpsert.d.ts +20 -0
- package/serialization/resources/identities/client/requests/IdentityUpsert.js +51 -0
- package/serialization/resources/identities/client/requests/index.d.ts +2 -0
- package/serialization/resources/identities/client/requests/index.js +5 -1
- package/serialization/resources/identities/client/upsertIdentityProperties.d.ts +11 -0
- package/serialization/resources/identities/client/upsertIdentityProperties.js +42 -0
- package/serialization/types/DynamicManagerUpdate.d.ts +15 -0
- package/serialization/types/DynamicManagerUpdate.js +46 -0
- package/serialization/types/RoundRobinManagerUpdate.d.ts +13 -0
- package/serialization/types/RoundRobinManagerUpdate.js +44 -0
- package/serialization/types/SleeptimeManagerUpdate.d.ts +14 -0
- package/serialization/types/SleeptimeManagerUpdate.js +45 -0
- package/serialization/types/SupervisorManagerUpdate.d.ts +13 -0
- package/serialization/types/SupervisorManagerUpdate.js +44 -0
- package/serialization/types/index.d.ts +4 -1
- package/serialization/types/index.js +4 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/identities/client/requests/IdentitiesCreateRequest.d.ts +0 -18
- package/api/resources/identities/client/requests/IdentitiesUpsertRequest.d.ts +0 -18
- package/dist/api/resources/identities/client/requests/IdentitiesCreateRequest.d.ts +0 -18
- package/dist/api/resources/identities/client/requests/IdentitiesUpsertRequest.d.ts +0 -18
- package/dist/serialization/types/IdentityCreate.d.ts +0 -20
- package/serialization/types/IdentityCreate.d.ts +0 -20
- /package/api/{types → resources/identities/client/requests}/IdentityCreate.js +0 -0
- /package/api/resources/identities/client/requests/{IdentitiesCreateRequest.js → IdentityUpsert.js} +0 -0
- /package/api/{resources/identities/client/requests/IdentitiesUpsertRequest.js → types/DynamicManagerUpdate.js} +0 -0
- /package/{dist/api/resources/identities/client/requests/IdentitiesCreateRequest.js → api/types/RoundRobinManagerUpdate.js} +0 -0
- /package/{dist/api/resources/identities/client/requests/IdentitiesUpsertRequest.js → api/types/SleeptimeManagerUpdate.js} +0 -0
- /package/{dist/api/types/IdentityCreate.js → api/types/SupervisorManagerUpdate.js} +0 -0
|
@@ -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.Request = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const IdentityProperty_1 = require("../../../types/IdentityProperty");
|
|
42
|
+
exports.Request = core.serialization.list(IdentityProperty_1.IdentityProperty);
|
|
@@ -0,0 +1,15 @@
|
|
|
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 DynamicManagerUpdate: core.serialization.ObjectSchema<serializers.DynamicManagerUpdate.Raw, Letta.DynamicManagerUpdate>;
|
|
8
|
+
export declare namespace DynamicManagerUpdate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
manager_type: "dynamic";
|
|
11
|
+
manager_agent_id?: string | null;
|
|
12
|
+
termination_token?: string | null;
|
|
13
|
+
max_turns?: number | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.DynamicManagerUpdate = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.DynamicManagerUpdate = core.serialization.object({
|
|
42
|
+
managerType: core.serialization.property("manager_type", core.serialization.stringLiteral("dynamic")),
|
|
43
|
+
managerAgentId: core.serialization.property("manager_agent_id", core.serialization.string().optional()),
|
|
44
|
+
terminationToken: core.serialization.property("termination_token", core.serialization.string().optional()),
|
|
45
|
+
maxTurns: core.serialization.property("max_turns", core.serialization.number().optional()),
|
|
46
|
+
});
|
|
@@ -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
|
+
export declare const RoundRobinManagerUpdate: core.serialization.ObjectSchema<serializers.RoundRobinManagerUpdate.Raw, Letta.RoundRobinManagerUpdate>;
|
|
8
|
+
export declare namespace RoundRobinManagerUpdate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
manager_type: "round_robin";
|
|
11
|
+
max_turns?: number | null;
|
|
12
|
+
}
|
|
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.RoundRobinManagerUpdate = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.RoundRobinManagerUpdate = core.serialization.object({
|
|
42
|
+
managerType: core.serialization.property("manager_type", core.serialization.stringLiteral("round_robin")),
|
|
43
|
+
maxTurns: core.serialization.property("max_turns", core.serialization.number().optional()),
|
|
44
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 SleeptimeManagerUpdate: core.serialization.ObjectSchema<serializers.SleeptimeManagerUpdate.Raw, Letta.SleeptimeManagerUpdate>;
|
|
8
|
+
export declare namespace SleeptimeManagerUpdate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
manager_type: "sleeptime";
|
|
11
|
+
manager_agent_id?: string | null;
|
|
12
|
+
sleeptime_agent_frequency?: number | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.SleeptimeManagerUpdate = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.SleeptimeManagerUpdate = core.serialization.object({
|
|
42
|
+
managerType: core.serialization.property("manager_type", core.serialization.stringLiteral("sleeptime")),
|
|
43
|
+
managerAgentId: core.serialization.property("manager_agent_id", core.serialization.string().optional()),
|
|
44
|
+
sleeptimeAgentFrequency: core.serialization.property("sleeptime_agent_frequency", core.serialization.number().optional()),
|
|
45
|
+
});
|
|
@@ -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
|
+
export declare const SupervisorManagerUpdate: core.serialization.ObjectSchema<serializers.SupervisorManagerUpdate.Raw, Letta.SupervisorManagerUpdate>;
|
|
8
|
+
export declare namespace SupervisorManagerUpdate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
manager_type: "supervisor";
|
|
11
|
+
manager_agent_id?: string | null;
|
|
12
|
+
}
|
|
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.SupervisorManagerUpdate = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.SupervisorManagerUpdate = core.serialization.object({
|
|
42
|
+
managerType: core.serialization.property("manager_type", core.serialization.stringLiteral("supervisor")),
|
|
43
|
+
managerAgentId: core.serialization.property("manager_agent_id", core.serialization.string().optional()),
|
|
44
|
+
});
|
|
@@ -80,6 +80,7 @@ export * from "./ContinueToolRule";
|
|
|
80
80
|
export * from "./CoreMemoryBlockSchema";
|
|
81
81
|
export * from "./CreateBlock";
|
|
82
82
|
export * from "./DynamicManager";
|
|
83
|
+
export * from "./DynamicManagerUpdate";
|
|
83
84
|
export * from "./E2BSandboxConfig";
|
|
84
85
|
export * from "./EmbeddingConfigEmbeddingEndpointType";
|
|
85
86
|
export * from "./EmbeddingConfig";
|
|
@@ -97,7 +98,6 @@ export * from "./Health";
|
|
|
97
98
|
export * from "./HiddenReasoningMessageState";
|
|
98
99
|
export * from "./HiddenReasoningMessage";
|
|
99
100
|
export * from "./Identity";
|
|
100
|
-
export * from "./IdentityCreate";
|
|
101
101
|
export * from "./IdentityPropertyValue";
|
|
102
102
|
export * from "./IdentityProperty";
|
|
103
103
|
export * from "./IdentityPropertyType";
|
|
@@ -150,6 +150,7 @@ export * from "./ResponseFormatJsonObject";
|
|
|
150
150
|
export * from "./ResponseFormatJsonSchema";
|
|
151
151
|
export * from "./ResponseFormatText";
|
|
152
152
|
export * from "./RoundRobinManager";
|
|
153
|
+
export * from "./RoundRobinManagerUpdate";
|
|
153
154
|
export * from "./Run";
|
|
154
155
|
export * from "./SseServerConfig";
|
|
155
156
|
export * from "./SandboxConfig";
|
|
@@ -162,10 +163,12 @@ export * from "./SandboxEnvironmentVariableCreate";
|
|
|
162
163
|
export * from "./SandboxEnvironmentVariableUpdate";
|
|
163
164
|
export * from "./SandboxType";
|
|
164
165
|
export * from "./SleeptimeManager";
|
|
166
|
+
export * from "./SleeptimeManagerUpdate";
|
|
165
167
|
export * from "./Source";
|
|
166
168
|
export * from "./StdioServerConfig";
|
|
167
169
|
export * from "./Step";
|
|
168
170
|
export * from "./SupervisorManager";
|
|
171
|
+
export * from "./SupervisorManagerUpdate";
|
|
169
172
|
export * from "./SystemMessage";
|
|
170
173
|
export * from "./TagSchema";
|
|
171
174
|
export * from "./TerminalToolRule";
|
|
@@ -96,6 +96,7 @@ __exportStar(require("./ContinueToolRule"), exports);
|
|
|
96
96
|
__exportStar(require("./CoreMemoryBlockSchema"), exports);
|
|
97
97
|
__exportStar(require("./CreateBlock"), exports);
|
|
98
98
|
__exportStar(require("./DynamicManager"), exports);
|
|
99
|
+
__exportStar(require("./DynamicManagerUpdate"), exports);
|
|
99
100
|
__exportStar(require("./E2BSandboxConfig"), exports);
|
|
100
101
|
__exportStar(require("./EmbeddingConfigEmbeddingEndpointType"), exports);
|
|
101
102
|
__exportStar(require("./EmbeddingConfig"), exports);
|
|
@@ -113,7 +114,6 @@ __exportStar(require("./Health"), exports);
|
|
|
113
114
|
__exportStar(require("./HiddenReasoningMessageState"), exports);
|
|
114
115
|
__exportStar(require("./HiddenReasoningMessage"), exports);
|
|
115
116
|
__exportStar(require("./Identity"), exports);
|
|
116
|
-
__exportStar(require("./IdentityCreate"), exports);
|
|
117
117
|
__exportStar(require("./IdentityPropertyValue"), exports);
|
|
118
118
|
__exportStar(require("./IdentityProperty"), exports);
|
|
119
119
|
__exportStar(require("./IdentityPropertyType"), exports);
|
|
@@ -166,6 +166,7 @@ __exportStar(require("./ResponseFormatJsonObject"), exports);
|
|
|
166
166
|
__exportStar(require("./ResponseFormatJsonSchema"), exports);
|
|
167
167
|
__exportStar(require("./ResponseFormatText"), exports);
|
|
168
168
|
__exportStar(require("./RoundRobinManager"), exports);
|
|
169
|
+
__exportStar(require("./RoundRobinManagerUpdate"), exports);
|
|
169
170
|
__exportStar(require("./Run"), exports);
|
|
170
171
|
__exportStar(require("./SseServerConfig"), exports);
|
|
171
172
|
__exportStar(require("./SandboxConfig"), exports);
|
|
@@ -178,10 +179,12 @@ __exportStar(require("./SandboxEnvironmentVariableCreate"), exports);
|
|
|
178
179
|
__exportStar(require("./SandboxEnvironmentVariableUpdate"), exports);
|
|
179
180
|
__exportStar(require("./SandboxType"), exports);
|
|
180
181
|
__exportStar(require("./SleeptimeManager"), exports);
|
|
182
|
+
__exportStar(require("./SleeptimeManagerUpdate"), exports);
|
|
181
183
|
__exportStar(require("./Source"), exports);
|
|
182
184
|
__exportStar(require("./StdioServerConfig"), exports);
|
|
183
185
|
__exportStar(require("./Step"), exports);
|
|
184
186
|
__exportStar(require("./SupervisorManager"), exports);
|
|
187
|
+
__exportStar(require("./SupervisorManagerUpdate"), exports);
|
|
185
188
|
__exportStar(require("./SystemMessage"), exports);
|
|
186
189
|
__exportStar(require("./TagSchema"), exports);
|
|
187
190
|
__exportStar(require("./TerminalToolRule"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.84";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -2562,11 +2562,9 @@ await client.identities.list();
|
|
|
2562
2562
|
|
|
2563
2563
|
```typescript
|
|
2564
2564
|
await client.identities.create({
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
identityType: "org",
|
|
2569
|
-
},
|
|
2565
|
+
identifierKey: "identifier_key",
|
|
2566
|
+
name: "name",
|
|
2567
|
+
identityType: "org",
|
|
2570
2568
|
});
|
|
2571
2569
|
```
|
|
2572
2570
|
|
|
@@ -2583,7 +2581,7 @@ await client.identities.create({
|
|
|
2583
2581
|
<dl>
|
|
2584
2582
|
<dd>
|
|
2585
2583
|
|
|
2586
|
-
**request:** `Letta.
|
|
2584
|
+
**request:** `Letta.IdentityCreate`
|
|
2587
2585
|
|
|
2588
2586
|
</dd>
|
|
2589
2587
|
</dl>
|
|
@@ -2616,11 +2614,9 @@ await client.identities.create({
|
|
|
2616
2614
|
|
|
2617
2615
|
```typescript
|
|
2618
2616
|
await client.identities.upsert({
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
identityType: "org",
|
|
2623
|
-
},
|
|
2617
|
+
identifierKey: "identifier_key",
|
|
2618
|
+
name: "name",
|
|
2619
|
+
identityType: "org",
|
|
2624
2620
|
});
|
|
2625
2621
|
```
|
|
2626
2622
|
|
|
@@ -2637,7 +2633,7 @@ await client.identities.upsert({
|
|
|
2637
2633
|
<dl>
|
|
2638
2634
|
<dd>
|
|
2639
2635
|
|
|
2640
|
-
**request:** `Letta.
|
|
2636
|
+
**request:** `Letta.IdentityUpsert`
|
|
2641
2637
|
|
|
2642
2638
|
</dd>
|
|
2643
2639
|
</dl>
|
|
@@ -2823,6 +2819,68 @@ await client.identities.modify("identity_id");
|
|
|
2823
2819
|
</dl>
|
|
2824
2820
|
</details>
|
|
2825
2821
|
|
|
2822
|
+
<details><summary><code>client.identities.<a href="/src/api/resources/identities/client/Client.ts">upsertIdentityProperties</a>(identityId, { ...params }) -> unknown</code></summary>
|
|
2823
|
+
<dl>
|
|
2824
|
+
<dd>
|
|
2825
|
+
|
|
2826
|
+
#### 🔌 Usage
|
|
2827
|
+
|
|
2828
|
+
<dl>
|
|
2829
|
+
<dd>
|
|
2830
|
+
|
|
2831
|
+
<dl>
|
|
2832
|
+
<dd>
|
|
2833
|
+
|
|
2834
|
+
```typescript
|
|
2835
|
+
await client.identities.upsertIdentityProperties("identity_id", [
|
|
2836
|
+
{
|
|
2837
|
+
key: "key",
|
|
2838
|
+
value: "value",
|
|
2839
|
+
type: "string",
|
|
2840
|
+
},
|
|
2841
|
+
]);
|
|
2842
|
+
```
|
|
2843
|
+
|
|
2844
|
+
</dd>
|
|
2845
|
+
</dl>
|
|
2846
|
+
</dd>
|
|
2847
|
+
</dl>
|
|
2848
|
+
|
|
2849
|
+
#### ⚙️ Parameters
|
|
2850
|
+
|
|
2851
|
+
<dl>
|
|
2852
|
+
<dd>
|
|
2853
|
+
|
|
2854
|
+
<dl>
|
|
2855
|
+
<dd>
|
|
2856
|
+
|
|
2857
|
+
**identityId:** `string`
|
|
2858
|
+
|
|
2859
|
+
</dd>
|
|
2860
|
+
</dl>
|
|
2861
|
+
|
|
2862
|
+
<dl>
|
|
2863
|
+
<dd>
|
|
2864
|
+
|
|
2865
|
+
**request:** `Letta.IdentityProperty[]`
|
|
2866
|
+
|
|
2867
|
+
</dd>
|
|
2868
|
+
</dl>
|
|
2869
|
+
|
|
2870
|
+
<dl>
|
|
2871
|
+
<dd>
|
|
2872
|
+
|
|
2873
|
+
**requestOptions:** `Identities.RequestOptions`
|
|
2874
|
+
|
|
2875
|
+
</dd>
|
|
2876
|
+
</dl>
|
|
2877
|
+
</dd>
|
|
2878
|
+
</dl>
|
|
2879
|
+
|
|
2880
|
+
</dd>
|
|
2881
|
+
</dl>
|
|
2882
|
+
</details>
|
|
2883
|
+
|
|
2826
2884
|
## Models
|
|
2827
2885
|
|
|
2828
2886
|
<details><summary><code>client.models.<a href="/src/api/resources/models/client/Client.ts">listLlms</a>() -> Letta.LlmConfig[]</code></summary>
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Letta from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
7
|
+
import { DynamicManagerUpdate } from "../../../types/DynamicManagerUpdate";
|
|
8
|
+
import { RoundRobinManagerUpdate } from "../../../types/RoundRobinManagerUpdate";
|
|
9
|
+
import { SleeptimeManagerUpdate } from "../../../types/SleeptimeManagerUpdate";
|
|
10
|
+
import { SupervisorManagerUpdate } from "../../../types/SupervisorManagerUpdate";
|
|
11
11
|
export declare const GroupUpdateManagerConfig: core.serialization.Schema<serializers.GroupUpdateManagerConfig.Raw, Letta.GroupUpdateManagerConfig>;
|
|
12
12
|
export declare namespace GroupUpdateManagerConfig {
|
|
13
|
-
type Raw =
|
|
13
|
+
type Raw = DynamicManagerUpdate.Raw | RoundRobinManagerUpdate.Raw | SleeptimeManagerUpdate.Raw | SupervisorManagerUpdate.Raw;
|
|
14
14
|
}
|
|
@@ -38,8 +38,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.GroupUpdateManagerConfig = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
const
|
|
44
|
-
const
|
|
45
|
-
exports.GroupUpdateManagerConfig = core.serialization.undiscriminatedUnion([
|
|
41
|
+
const DynamicManagerUpdate_1 = require("../../../types/DynamicManagerUpdate");
|
|
42
|
+
const RoundRobinManagerUpdate_1 = require("../../../types/RoundRobinManagerUpdate");
|
|
43
|
+
const SleeptimeManagerUpdate_1 = require("../../../types/SleeptimeManagerUpdate");
|
|
44
|
+
const SupervisorManagerUpdate_1 = require("../../../types/SupervisorManagerUpdate");
|
|
45
|
+
exports.GroupUpdateManagerConfig = core.serialization.undiscriminatedUnion([
|
|
46
|
+
DynamicManagerUpdate_1.DynamicManagerUpdate,
|
|
47
|
+
RoundRobinManagerUpdate_1.RoundRobinManagerUpdate,
|
|
48
|
+
SleeptimeManagerUpdate_1.SleeptimeManagerUpdate,
|
|
49
|
+
SupervisorManagerUpdate_1.SupervisorManagerUpdate,
|
|
50
|
+
]);
|
|
@@ -36,6 +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.list = void 0;
|
|
39
|
+
exports.upsertIdentityProperties = exports.list = void 0;
|
|
40
40
|
exports.list = __importStar(require("./list"));
|
|
41
|
+
exports.upsertIdentityProperties = __importStar(require("./upsertIdentityProperties"));
|
|
41
42
|
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { IdentityType } from "../../../../types/IdentityType";
|
|
8
|
+
import { IdentityProperty } from "../../../../types/IdentityProperty";
|
|
9
|
+
export declare const IdentityCreate: core.serialization.Schema<serializers.IdentityCreate.Raw, Omit<Letta.IdentityCreate, "project">>;
|
|
10
|
+
export declare namespace IdentityCreate {
|
|
11
|
+
interface Raw {
|
|
12
|
+
identifier_key: string;
|
|
13
|
+
name: string;
|
|
14
|
+
identity_type: IdentityType.Raw;
|
|
15
|
+
project_id?: string | null;
|
|
16
|
+
agent_ids?: string[] | null;
|
|
17
|
+
block_ids?: string[] | null;
|
|
18
|
+
properties?: IdentityProperty.Raw[] | null;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -37,9 +37,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.IdentityCreate = void 0;
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
const IdentityType_1 = require("
|
|
42
|
-
const IdentityProperty_1 = require("
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
const IdentityType_1 = require("../../../../types/IdentityType");
|
|
42
|
+
const IdentityProperty_1 = require("../../../../types/IdentityProperty");
|
|
43
43
|
exports.IdentityCreate = core.serialization.object({
|
|
44
44
|
identifierKey: core.serialization.property("identifier_key", core.serialization.string()),
|
|
45
45
|
name: core.serialization.string(),
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { IdentityType } from "../../../../types/IdentityType";
|
|
8
|
+
import { IdentityProperty } from "../../../../types/IdentityProperty";
|
|
9
|
+
export declare const IdentityUpsert: core.serialization.Schema<serializers.IdentityUpsert.Raw, Omit<Letta.IdentityUpsert, "project">>;
|
|
10
|
+
export declare namespace IdentityUpsert {
|
|
11
|
+
interface Raw {
|
|
12
|
+
identifier_key: string;
|
|
13
|
+
name: string;
|
|
14
|
+
identity_type: IdentityType.Raw;
|
|
15
|
+
project_id?: string | null;
|
|
16
|
+
agent_ids?: string[] | null;
|
|
17
|
+
block_ids?: string[] | null;
|
|
18
|
+
properties?: IdentityProperty.Raw[] | null;
|
|
19
|
+
}
|
|
20
|
+
}
|