@lobehub/sdk 1.0.20261020142547 → 1.0.20261020181554
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';
|
|
@@ -58,6 +59,7 @@ type ChatGroup = {
|
|
|
58
59
|
order: number | null;
|
|
59
60
|
role: 'supervisor' | 'participant' | 'assistant' | null;
|
|
60
61
|
}>;
|
|
62
|
+
personal: boolean;
|
|
61
63
|
pinned: boolean | null;
|
|
62
64
|
title: string | null;
|
|
63
65
|
updatedAt: string;
|
|
@@ -650,6 +652,7 @@ type GetApiV1AgentsData = {
|
|
|
650
652
|
keyword?: string;
|
|
651
653
|
page?: string;
|
|
652
654
|
pageSize?: string;
|
|
655
|
+
personal?: 'true' | 'false';
|
|
653
656
|
};
|
|
654
657
|
url: '/api/v1/agents';
|
|
655
658
|
};
|
|
@@ -782,6 +785,7 @@ type PostApiV1AgentsData = {
|
|
|
782
785
|
params?: {
|
|
783
786
|
[key: string]: unknown;
|
|
784
787
|
} | null;
|
|
788
|
+
personal?: boolean;
|
|
785
789
|
provider?: string | null;
|
|
786
790
|
systemRole?: string | null;
|
|
787
791
|
title: string;
|
|
@@ -1027,6 +1031,7 @@ type PatchApiV1AgentsByIdData = {
|
|
|
1027
1031
|
params?: {
|
|
1028
1032
|
[key: string]: unknown;
|
|
1029
1033
|
} | null;
|
|
1034
|
+
personal?: boolean;
|
|
1030
1035
|
provider?: string | null;
|
|
1031
1036
|
systemRole?: string | null;
|
|
1032
1037
|
title?: string;
|
|
@@ -1644,6 +1649,7 @@ type GetApiV1ChatGroupsData = {
|
|
|
1644
1649
|
query?: {
|
|
1645
1650
|
page?: string;
|
|
1646
1651
|
pageSize?: string;
|
|
1652
|
+
personal?: 'true' | 'false';
|
|
1647
1653
|
};
|
|
1648
1654
|
url: '/api/v1/chat-groups';
|
|
1649
1655
|
};
|
|
@@ -1707,6 +1713,7 @@ type PostApiV1ChatGroupsData = {
|
|
|
1707
1713
|
agentId: string;
|
|
1708
1714
|
role?: 'participant' | 'assistant';
|
|
1709
1715
|
}>;
|
|
1716
|
+
personal?: boolean;
|
|
1710
1717
|
title: string;
|
|
1711
1718
|
};
|
|
1712
1719
|
path?: never;
|
|
@@ -1877,6 +1884,7 @@ type PatchApiV1ChatGroupsByIdData = {
|
|
|
1877
1884
|
avatar?: string | null;
|
|
1878
1885
|
backgroundColor?: string | null;
|
|
1879
1886
|
description?: string | null;
|
|
1887
|
+
personal?: boolean;
|
|
1880
1888
|
pinned?: boolean;
|
|
1881
1889
|
title?: string;
|
|
1882
1890
|
};
|
|
@@ -5939,6 +5947,13 @@ type PostApiV1ImMessagesData = {
|
|
|
5939
5947
|
agentId: string;
|
|
5940
5948
|
clientMessageId?: string;
|
|
5941
5949
|
content: string;
|
|
5950
|
+
groupId?: string;
|
|
5951
|
+
topicId?: string | null;
|
|
5952
|
+
} | {
|
|
5953
|
+
agentId?: string;
|
|
5954
|
+
clientMessageId?: string;
|
|
5955
|
+
content: string;
|
|
5956
|
+
groupId: string;
|
|
5942
5957
|
topicId?: string | null;
|
|
5943
5958
|
};
|
|
5944
5959
|
path?: never;
|
|
@@ -5990,6 +6005,7 @@ type PostApiV1ImMessagesResponses = {
|
|
|
5990
6005
|
operationId: string | null;
|
|
5991
6006
|
topicId: string;
|
|
5992
6007
|
userMessage: {
|
|
6008
|
+
agentId: string | null;
|
|
5993
6009
|
content: string;
|
|
5994
6010
|
createdAt: string;
|
|
5995
6011
|
error: boolean;
|
|
@@ -6059,6 +6075,7 @@ type GetApiV1ImTopicsByTopicIdSyncResponses = {
|
|
|
6059
6075
|
data?: {
|
|
6060
6076
|
cursor: string;
|
|
6061
6077
|
messages: Array<{
|
|
6078
|
+
agentId: string | null;
|
|
6062
6079
|
content: string;
|
|
6063
6080
|
createdAt: string;
|
|
6064
6081
|
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.20261020181554",
|
|
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",
|