opencode-chat-channel 1.2.0 → 1.2.1
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/channels/feishu/index.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -11
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/channels/feishu/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH,OAAO,KAAK,EAAe,cAAc,EAAiC,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/channels/feishu/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH,OAAO,KAAK,EAAe,cAAc,EAAiC,MAAM,gBAAgB,CAAC;AA8JjG;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,cAuBlC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -17,5 +17,5 @@ import type { Plugin } from "@opencode-ai/plugin";
|
|
|
17
17
|
export declare const ChatChannelPlugin: Plugin;
|
|
18
18
|
export default ChatChannelPlugin;
|
|
19
19
|
export type { ChatChannel, ChannelFactory, ChannelName, IncomingMessage, PluginClient } from "./types.js";
|
|
20
|
-
export {
|
|
20
|
+
export { extractResponseText, loadDotEnv } from "./session-manager.js";
|
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAgIlD,eAAO,MAAM,iBAAiB,EAAE,MAyF/B,CAAC;AAEF,eAAe,iBAAiB,CAAC;AAGjC,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1G,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAgIlD,eAAO,MAAM,iBAAiB,EAAE,MAyF/B,CAAC;AAEF,eAAe,iBAAiB,CAAC;AAGjC,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1G,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -149,16 +149,6 @@ class FeishuChannel {
|
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
async sendThinking(chatId) {
|
|
153
|
-
await this.larkClient.im.message.create({
|
|
154
|
-
params: { receive_id_type: "chat_id" },
|
|
155
|
-
data: {
|
|
156
|
-
receive_id: chatId,
|
|
157
|
-
content: JSON.stringify({ text: "⏳ 正在思考..." }),
|
|
158
|
-
msg_type: "text"
|
|
159
|
-
}
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
152
|
parseEvent(data) {
|
|
163
153
|
const { message, sender } = data ?? {};
|
|
164
154
|
if (!message || !sender)
|
|
@@ -397,6 +387,5 @@ export {
|
|
|
397
387
|
loadDotEnv,
|
|
398
388
|
extractResponseText,
|
|
399
389
|
src_default as default,
|
|
400
|
-
SessionManager,
|
|
401
390
|
ChatChannelPlugin
|
|
402
391
|
};
|
package/package.json
CHANGED