@agent-dock/cli 0.2.3 → 0.3.0
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/agents/claude-acp.mjs +29 -7
- package/dist/agents/codex-acp.mjs +8 -3
- package/dist/cli.js +7008 -3234
- package/dist/cli.js.map +4 -4
- package/dist/lark.proto +210 -0
- package/dist/vendor/claude-agent-acp.mjs +96428 -0
- package/dist/vendor/codex-acp.mjs +55145 -0
- package/dist/vendor/lark-sdk.cjs +8 -8
- package/package.json +21 -19
- package/public/assets/ImageLightbox-C_dUCVuL.js +1 -0
- package/public/assets/ImageLightbox-cV5bVqLR.css +1 -0
- package/public/assets/PromptEditor-BnDqjFHu.js +22 -0
- package/public/assets/index-DZAR38tD.js +41 -0
- package/public/assets/index-DilP23gl.css +1 -0
- package/public/assets/main-C86Qw1nm.css +32 -0
- package/public/assets/main-DJqDRQLw.js +1101 -0
- package/public/assets/{sourcesRouter-CQHtuzW_.js → sourcesRouter-DwLS_0VU.js} +1 -1
- package/public/assets/syntax-highlighter-d-DuIo_w.js +22 -0
- package/public/index.html +5 -5
- package/public/sources-router.html +4 -4
- package/public/assets/ImageLightbox-BSCYBGWp.js +0 -1
- package/public/assets/ImageLightbox-DUblxfbA.css +0 -1
- package/public/assets/PromptEditor-BjgTNlEl.js +0 -22
- package/public/assets/index-BNnCMpf7.css +0 -1
- package/public/assets/index-CJsF9Xgi.js +0 -41
- package/public/assets/main-BhHjggOq.js +0 -917
- package/public/assets/main-DssGYdaU.css +0 -32
- package/public/assets/syntax-highlighter-DOKegME5.js +0 -22
package/dist/lark.proto
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package lark;
|
|
3
|
+
|
|
4
|
+
message Frame {
|
|
5
|
+
uint64 seqid = 1;
|
|
6
|
+
uint64 logid = 2;
|
|
7
|
+
int32 service = 3;
|
|
8
|
+
int32 method = 4;
|
|
9
|
+
repeated ExtendedEntry headers = 5;
|
|
10
|
+
string payloadEncoding = 6;
|
|
11
|
+
string payloadType = 7;
|
|
12
|
+
bytes payload = 8;
|
|
13
|
+
}
|
|
14
|
+
message ExtendedEntry { string key = 1; string value = 2; }
|
|
15
|
+
|
|
16
|
+
message improto {
|
|
17
|
+
enum PayloadType { TYPE_UNKNOWN = 0; PB2 = 1; JSON = 2; }
|
|
18
|
+
enum Command { UNKNOWN = 0; }
|
|
19
|
+
message PipeEntity { string type = 1; int64 id = 3; }
|
|
20
|
+
message VersionRange { string start = 1; string end = 2; }
|
|
21
|
+
message VersionPayload { VersionRange versionRange = 1; bytes payload = 2; }
|
|
22
|
+
message Packet {
|
|
23
|
+
string sid = 1;
|
|
24
|
+
PayloadType payloadType = 2;
|
|
25
|
+
Command cmd = 3;
|
|
26
|
+
uint32 status = 4;
|
|
27
|
+
bytes payload = 5;
|
|
28
|
+
string cid = 6;
|
|
29
|
+
PipeEntity pipeEntity = 7;
|
|
30
|
+
repeated VersionPayload versionPayloads = 8;
|
|
31
|
+
repeated PipeEntity pipeEntities = 9;
|
|
32
|
+
uint32 waitRetryInterval = 10;
|
|
33
|
+
int32 command = 11;
|
|
34
|
+
uint64 cursor = 12;
|
|
35
|
+
repeated int32 compactedSids = 13;
|
|
36
|
+
}
|
|
37
|
+
message PullPacketsBySidsRequest { repeated string sids = 1; }
|
|
38
|
+
message PullPacketsBySidsResponse { map<string, Packet> packets = 1; }
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
message chats {
|
|
42
|
+
message PullChatsByIdsRequest { repeated string chatIds = 1; }
|
|
43
|
+
message PullChatsByIdsResponse {
|
|
44
|
+
map<string, entities.Chat> chats = 1;
|
|
45
|
+
repeated string unauthorizedChatIds = 2;
|
|
46
|
+
repeated string inThreadChatIds = 3;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
message chatters {
|
|
51
|
+
message PullChattersByIdsRequest { repeated string chatterIds = 1; bool needBotInfo = 2; }
|
|
52
|
+
message PullChattersByIdsResponse {
|
|
53
|
+
map<string, entities.Chatter> chatters = 1;
|
|
54
|
+
int64 maxAge = 2;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
message entities {
|
|
59
|
+
enum ChatType { UNKNOWN_CHAT_TYPE = 0; P2P = 1; GROUP = 2; TOPIC_GROUP = 3; }
|
|
60
|
+
message Image {
|
|
61
|
+
string key = 1;
|
|
62
|
+
repeated string urls = 2;
|
|
63
|
+
int32 width = 3;
|
|
64
|
+
int32 height = 4;
|
|
65
|
+
string secureKey = 5;
|
|
66
|
+
repeated string secureUrls = 6;
|
|
67
|
+
}
|
|
68
|
+
message Message {
|
|
69
|
+
enum Type {
|
|
70
|
+
UNKNOWN = 0; POST = 2; FILE = 3; TEXT = 4; IMAGE = 5; SYSTEM = 6; AUDIO = 7;
|
|
71
|
+
EMAIL = 8; SHARE_GROUP_CHAT = 9; STICKER = 10; MERGE_FORWARD = 11; CALENDAR = 12;
|
|
72
|
+
CLOUD_FILE = 13; CARD = 14; MEDIA = 15; SHARE_CALENDAR_EVENT = 16; HONGBAO = 17;
|
|
73
|
+
GENERAL_CALENDAR = 18; VIDEO_CHAT = 19; LOCATION = 20; COMMERCIALIZED_HONGBAO = 22;
|
|
74
|
+
SHARE_USER_CARD = 23; TODO = 24; FOLDER = 25;
|
|
75
|
+
}
|
|
76
|
+
enum FromType { FROMTYPE_UNSPECIFIED = 0; USER = 1; BOT = 2; }
|
|
77
|
+
enum Status { UNKNOWN_STATUS = 0; NORMAL = 1; DELETED = 2; MODIFIED = 3; }
|
|
78
|
+
string id = 1;
|
|
79
|
+
Type type = 2;
|
|
80
|
+
string fromId = 3;
|
|
81
|
+
int64 createTime = 4;
|
|
82
|
+
bytes content = 5;
|
|
83
|
+
Status status = 6;
|
|
84
|
+
FromType fromType = 7;
|
|
85
|
+
string rootId = 8;
|
|
86
|
+
string parentId = 9;
|
|
87
|
+
string chatId = 10;
|
|
88
|
+
string cid = 12;
|
|
89
|
+
int32 position = 13;
|
|
90
|
+
string threadId = 20;
|
|
91
|
+
string channelId = 24;
|
|
92
|
+
repeated string atOutChatterIds = 38;
|
|
93
|
+
ChatType chatType = 46;
|
|
94
|
+
repeated int64 atUserIdList = 64;
|
|
95
|
+
}
|
|
96
|
+
message Chat {
|
|
97
|
+
enum Type { UNKNOWN = 0; P2P = 1; GROUP = 2; TOPIC_GROUP = 3; }
|
|
98
|
+
enum ChatMode { UNKNOWN_CHAT_MODE = 0; DEFAULT = 1; THREAD = 2; THREAD_V2 = 3; }
|
|
99
|
+
string id = 1;
|
|
100
|
+
Type type = 2;
|
|
101
|
+
string name = 4;
|
|
102
|
+
Image avatar = 5;
|
|
103
|
+
int32 memberCount = 12;
|
|
104
|
+
int32 lastMessagePosition = 15;
|
|
105
|
+
int32 userCount = 16;
|
|
106
|
+
ChatMode chatMode = 39;
|
|
107
|
+
Image miniAvatar = 52;
|
|
108
|
+
}
|
|
109
|
+
message Chatter {
|
|
110
|
+
string id = 1;
|
|
111
|
+
string name = 2;
|
|
112
|
+
string avatarUrl = 5;
|
|
113
|
+
string enUsName = 14;
|
|
114
|
+
string email = 25;
|
|
115
|
+
Image avatarImage = 29;
|
|
116
|
+
}
|
|
117
|
+
message FeedCard {
|
|
118
|
+
string id = 1;
|
|
119
|
+
int32 type = 2;
|
|
120
|
+
int64 updateTime = 3;
|
|
121
|
+
int64 parentCardId = 5;
|
|
122
|
+
}
|
|
123
|
+
message RichText {
|
|
124
|
+
repeated string elementIds = 1;
|
|
125
|
+
string innerText = 2;
|
|
126
|
+
RichTextElements elements = 3;
|
|
127
|
+
}
|
|
128
|
+
message RichTextElements {
|
|
129
|
+
map<string, RichTextElement> dictionary = 1;
|
|
130
|
+
}
|
|
131
|
+
message RichTextElement {
|
|
132
|
+
enum Tag {
|
|
133
|
+
UNKNOWN_TAG = 0; TEXT = 1; IMG = 2; P = 3; FIGURE = 4; AT = 5; A = 6; B = 7;
|
|
134
|
+
I = 8; U = 9; EMOTION = 10; BUTTON = 11; SELECT = 12; DIV = 14; TEXTABLE_AREA = 15;
|
|
135
|
+
TIME = 16; LINK = 17; MEDIA = 18; DOCS = 22; H1 = 23; H2 = 24; H3 = 25; UL = 26;
|
|
136
|
+
OL = 27; LI = 28; QUOTE = 29; CODE = 30; CODE_BLOCK = 31; HR = 32; REACTION = 35;
|
|
137
|
+
MENTION = 36; CODE_BLOCK_V2 = 37; H4 = 44; H5 = 45; H6 = 46; AT_USER_GROUP = 47;
|
|
138
|
+
}
|
|
139
|
+
Tag tag = 1;
|
|
140
|
+
map<string, string> style = 2;
|
|
141
|
+
bytes property = 3;
|
|
142
|
+
repeated string childIds = 4;
|
|
143
|
+
message AnchorProperty {
|
|
144
|
+
string href = 1;
|
|
145
|
+
string content = 2;
|
|
146
|
+
string textContent = 3;
|
|
147
|
+
bool isCustom = 9;
|
|
148
|
+
int32 scene = 10;
|
|
149
|
+
}
|
|
150
|
+
message CodeBlockProperty { int32 language = 1; string content = 2; }
|
|
151
|
+
message TextProperty { string content = 1; }
|
|
152
|
+
message AtProperty { string userId = 1; string content = 2; }
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
message feed {
|
|
157
|
+
message PullFeedCardsRequest {
|
|
158
|
+
int32 type = 1;
|
|
159
|
+
int32 pullType = 2;
|
|
160
|
+
int64 cursor = 3;
|
|
161
|
+
int32 count = 4;
|
|
162
|
+
int64 parentCardId = 5;
|
|
163
|
+
}
|
|
164
|
+
message PullFeedCardsResponse {
|
|
165
|
+
repeated entities.FeedCard cards = 3;
|
|
166
|
+
int64 nextCursor = 4;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
message messages {
|
|
171
|
+
message PushMessagesRequest {
|
|
172
|
+
map<string, entities.Message> messages = 1;
|
|
173
|
+
map<string, bool> participatedMessageIds = 3;
|
|
174
|
+
map<string, bool> forcePush = 8;
|
|
175
|
+
map<string, bool> messagesAtMe = 9;
|
|
176
|
+
}
|
|
177
|
+
message PullMessagesByIdsRequest { repeated string messageIds = 1; }
|
|
178
|
+
message PullMessagesByIdsResponse { map<string, entities.Message> messages = 1; }
|
|
179
|
+
message PullMessagesByPositionsRequest {
|
|
180
|
+
string chatId = 1;
|
|
181
|
+
repeated int32 positions = 2;
|
|
182
|
+
int32 type = 3;
|
|
183
|
+
int32 direction = 7;
|
|
184
|
+
}
|
|
185
|
+
message PullMessagesByPositionsResponse { map<int32, entities.Message> messages = 1; }
|
|
186
|
+
message PushBatchCopyMessages {
|
|
187
|
+
repeated int64 messageIds = 1;
|
|
188
|
+
entities.Message lastMessage = 3;
|
|
189
|
+
}
|
|
190
|
+
message TextContent { string text = 1; entities.RichText richText = 3; }
|
|
191
|
+
message PostContent { string title = 1; string text = 2; entities.RichText richText = 6; }
|
|
192
|
+
message CreateReactionRequest { string messageId = 1; string type = 2; }
|
|
193
|
+
message PutMessageRequest {
|
|
194
|
+
entities.Message.Type type = 1;
|
|
195
|
+
Content content = 2;
|
|
196
|
+
string chatId = 3;
|
|
197
|
+
string rootId = 4;
|
|
198
|
+
string parentId = 5;
|
|
199
|
+
string cid = 6;
|
|
200
|
+
bool isNotified = 7;
|
|
201
|
+
bool sendToChat = 8;
|
|
202
|
+
int32 version = 9;
|
|
203
|
+
bool isThreadGroupTopic = 10;
|
|
204
|
+
bool isAnonymous = 11;
|
|
205
|
+
bool isReplyInThread = 12;
|
|
206
|
+
repeated int64 atUserIdList = 14;
|
|
207
|
+
message Content { string text = 1; entities.RichText richText = 14; }
|
|
208
|
+
}
|
|
209
|
+
message PutMessageResponse { entities.Message message = 1; }
|
|
210
|
+
}
|