@lobehub/sdk 1.0.20261020142547 → 1.0.20261020142755
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.
|
@@ -29,6 +29,7 @@ type Agent = {
|
|
|
29
29
|
params?: {
|
|
30
30
|
[key: string]: unknown;
|
|
31
31
|
} | null;
|
|
32
|
+
personal?: boolean;
|
|
32
33
|
plugins?: Array<{
|
|
33
34
|
identifier: string;
|
|
34
35
|
mode: 'pinned' | 'auto' | 'disabled';
|
|
@@ -650,6 +651,7 @@ type GetApiV1AgentsData = {
|
|
|
650
651
|
keyword?: string;
|
|
651
652
|
page?: string;
|
|
652
653
|
pageSize?: string;
|
|
654
|
+
personal?: 'true' | 'false';
|
|
653
655
|
};
|
|
654
656
|
url: '/api/v1/agents';
|
|
655
657
|
};
|
|
@@ -782,6 +784,7 @@ type PostApiV1AgentsData = {
|
|
|
782
784
|
params?: {
|
|
783
785
|
[key: string]: unknown;
|
|
784
786
|
} | null;
|
|
787
|
+
personal?: boolean;
|
|
785
788
|
provider?: string | null;
|
|
786
789
|
systemRole?: string | null;
|
|
787
790
|
title: string;
|
|
@@ -1027,6 +1030,7 @@ type PatchApiV1AgentsByIdData = {
|
|
|
1027
1030
|
params?: {
|
|
1028
1031
|
[key: string]: unknown;
|
|
1029
1032
|
} | null;
|
|
1033
|
+
personal?: boolean;
|
|
1030
1034
|
provider?: string | null;
|
|
1031
1035
|
systemRole?: string | null;
|
|
1032
1036
|
title?: string;
|
|
@@ -5939,6 +5943,13 @@ type PostApiV1ImMessagesData = {
|
|
|
5939
5943
|
agentId: string;
|
|
5940
5944
|
clientMessageId?: string;
|
|
5941
5945
|
content: string;
|
|
5946
|
+
groupId?: string;
|
|
5947
|
+
topicId?: string | null;
|
|
5948
|
+
} | {
|
|
5949
|
+
agentId?: string;
|
|
5950
|
+
clientMessageId?: string;
|
|
5951
|
+
content: string;
|
|
5952
|
+
groupId: string;
|
|
5942
5953
|
topicId?: string | null;
|
|
5943
5954
|
};
|
|
5944
5955
|
path?: never;
|
|
@@ -5990,6 +6001,7 @@ type PostApiV1ImMessagesResponses = {
|
|
|
5990
6001
|
operationId: string | null;
|
|
5991
6002
|
topicId: string;
|
|
5992
6003
|
userMessage: {
|
|
6004
|
+
agentId: string | null;
|
|
5993
6005
|
content: string;
|
|
5994
6006
|
createdAt: string;
|
|
5995
6007
|
error: boolean;
|
|
@@ -6059,6 +6071,7 @@ type GetApiV1ImTopicsByTopicIdSyncResponses = {
|
|
|
6059
6071
|
data?: {
|
|
6060
6072
|
cursor: string;
|
|
6061
6073
|
messages: Array<{
|
|
6074
|
+
agentId: string | null;
|
|
6062
6075
|
content: string;
|
|
6063
6076
|
createdAt: string;
|
|
6064
6077
|
error: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20261020142755",
|
|
4
4
|
"description": "Official TypeScript SDK for the LobeHub REST API, generated from the OpenAPI spec",
|
|
5
5
|
"homepage": "https://github.com/lobehub/lobehub/tree/canary/packages/sdk",
|
|
6
6
|
"license": "MIT",
|