From 451c67d034d21eb196eaa231bc942f9c094acae6 Mon Sep 17 00:00:00 2001 From: shylinux Date: Tue, 21 Jul 2020 10:59:32 +0800 Subject: [PATCH] opt lark --- etc/init.shy | 1 + etc/miss.sh | 2 +- src/main.go | 2 +- usr/publish/order.js | 12 +++++++----- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/etc/init.shy b/etc/init.shy index a35f7094..aeed8c04 100644 --- a/etc/init.shy +++ b/etc/init.shy @@ -59,3 +59,4 @@ target web.wiki.alpha.load target web.code.input.push target web.code.qrc.save + target web.chat.lark.app diff --git a/etc/miss.sh b/etc/miss.sh index d51b149a..c526a93a 100644 --- a/etc/miss.sh +++ b/etc/miss.sh @@ -33,4 +33,4 @@ ish_miss_prepare_vim() { [ -f ~/.vim/syntax/javascript.vim ] || ln etc/conf/javascript.vim ~/.vim/syntax/javascript.vim } -# ish_miss_prepare_vim +ish_miss_prepare_vim diff --git a/src/main.go b/src/main.go index 22f5a4d1..2b99a7b9 100644 --- a/src/main.go +++ b/src/main.go @@ -11,7 +11,7 @@ import ( _ "github.com/shylinux/icebergs/misc/input" _ "github.com/shylinux/icebergs/misc/totp" - // _ "github.com/shylinux/icebergs/misc/lark" + _ "github.com/shylinux/icebergs/misc/lark" // _ "github.com/shylinux/icebergs/misc/md" // _ "github.com/shylinux/icebergs/misc/mp" // _ "github.com/shylinux/icebergs/misc/pi" diff --git a/usr/publish/order.js b/usr/publish/order.js index 31bbd57c..6f2f09b1 100644 --- a/usr/publish/order.js +++ b/usr/publish/order.js @@ -1,11 +1,13 @@ Volcanos("onengine", { river: { "product": {name: "产品群", storm: { - "speak": {name: "speak", action: [ - {name: "ticker", help: "定时", inputs: [ - {type: "text", name: "word", value: "hi"}, + "lark": {name: "lark", action: [ + {name: "聊天机器人", help: "lark", inputs: [ + {type: "text", name: "path", value: "icebergs/misc/lark/lark.shy"}, {type: "button", name: "查看", value: "auto"}, - ], index: "cli.runtime", feature: {}}, - {name: "speak", help: "编程", inputs: [ + ], index: "web.wiki.word", feature: {display: "/plugin/local/wiki/word.js", style: "word"}}, + ]}, + "share": {name: "share", action: [ + {name: "云境", help: "shylinux/contexts", inputs: [ {type: "text", name: "path", value: "learning/speak/20200724.shy"}, {type: "button", name: "查看", value: "auto"}, ], index: "web.wiki.word", feature: {display: "/plugin/local/wiki/word.js", style: "word"}},