opencode-feishu 1.0.0 → 1.0.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/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -112537,7 +112537,7 @@ var CardKitClient = class {
|
|
|
112537
112537
|
async createCard(schema) {
|
|
112538
112538
|
const res = await this.larkClient.cardkit.v1.card.create({
|
|
112539
112539
|
data: {
|
|
112540
|
-
type: "
|
|
112540
|
+
type: "card_json",
|
|
112541
112541
|
data: JSON.stringify(schema.data)
|
|
112542
112542
|
}
|
|
112543
112543
|
});
|
|
@@ -113632,7 +113632,6 @@ var StreamingCard = class {
|
|
|
113632
113632
|
*/
|
|
113633
113633
|
async start() {
|
|
113634
113634
|
const schema = {
|
|
113635
|
-
type: "card_kit",
|
|
113636
113635
|
data: {
|
|
113637
113636
|
schema: "2.0",
|
|
113638
113637
|
config: { streaming_mode: true, summary: { content: "\u6B63\u5728\u601D\u8003..." } },
|