foliko 1.1.20 → 1.1.21
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/.agent/agents/ui-designer.md +1 -1
- package/.agent/data/ambient/goals.json +1 -47
- package/.agent/data/scheduler/tasks.json +86 -0
- package/.agent/memory/project/mo0y04d0-bmaefl.md +9 -0
- package/.agent/memory/user/mnzvewyj-jl67cq.md +9 -0
- package/.agent/memory/user/mnzwh9xo-43ys3f.md +9 -0
- package/.agent/memory/user/mo0ycvpn-eebsxc.md +9 -0
- package/.agent/sessions/cli_default.json +2231 -98
- package/nul +3 -0
- package/package.json +1 -1
- package/plugins/ambient-agent/ExplorerLoop.js +121 -11
- package/plugins/ambient-agent/GoalManager.js +1 -1
- package/plugins/extension-executor-plugin.js +1 -1
- package/plugins/weixin-plugin.js +5 -2
- package/src/core/agent-chat.js +22 -9
- package/src/core/chat-session.js +7 -2
- package/src/core/context-compressor.js +34 -13
- package/src/core/subagent.js +23 -12
- package/src/utils/chat-queue.js +16 -3
- package/system.md +79 -0
- package/system.md.bak +1978 -0
- package/undefined.svg +8 -0
- package/weixin-bot-poster-v2.png +0 -0
- package/weixin-bot-poster.png +0 -0
- package/.agent/sessions/default.json +0 -111
- package/audio/bed_moonlight.mp3 +0 -0
package/undefined.svg
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="802" height="NaN" viewBox="-1,NaN,802,NaN"><defs><linearGradient x1="400" y1="600" x2="1000" y2="600" gradientUnits="userSpaceOnUse" id="color-1"><stop offset="0" stop-color="#f5f0e6"></stop><stop offset="1" stop-color="#ede8dc"></stop></linearGradient></defs><g fill="none" fill-rule="nonzero" stroke="none" stroke-width="none" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10" stroke-dasharray="" stroke-dashoffset="0" font-family="none" font-weight="none" font-size="none" text-anchor="none" style="mix-blend-mode: normal"><path d="M0,1200v-1200h800v1200z" fill="url(#color-1)" stroke="none" stroke-width="1"></path><path d="M0,1200v-1200h800v1200z" fill="none" stroke="#000000" stroke-width="2"></path><path d="M40,1140v-1100h720v1100z" fill-opacity="0" fill="#000000" stroke="none" stroke-width="1"></path><text x="400" y="55" fill="#6b6459" stroke="none" stroke-width="1" font-family="Microsoft YaHei, SimHei, KaiTi, seguiemj, sans-serif" font-weight="normal" font-size="14" text-anchor="middle">━━━━━━━━━━━━━━━ VOL.01 ━━━━━━━━━━━━━━━</text><text x="400" y="130" fill="#b85450" stroke="none" stroke-width="1" font-family="Microsoft YaHei, SimHei, KaiTi, seguiemj, sans-serif" font-weight="normal" font-size="52" text-anchor="middle">微信 iLink 机器人</text><text x="400" y="195" fill="#6b6459" stroke="none" stroke-width="1" font-family="Microsoft YaHei, SimHei, KaiTi, seguiemj, sans-serif" font-weight="normal" font-size="18" text-anchor="middle">零依赖 · 极简接入 · 高效稳定</text><text x="400" y="235" fill="#1a1a1a" stroke="none" stroke-width="1" font-family="Microsoft YaHei, SimHei, KaiTi, seguiemj, sans-serif" font-weight="normal" font-size="16" text-anchor="middle">WEIXIN iLINK BOT SDK FOR NODE.JS</text><path d="M100,270h600" fill="none" stroke="#ffffff" stroke-width="2"></path><path d="M100,NaNc0,NaN 0,NaN 0,NaNh290c0,0 0,NaN 0,NaNc0,NaN -290,NaN -290,NaNz" fill="#ffffff" stroke="none" stroke-width="1"></path><text x="110" y="454" fill="#000000" stroke="none" stroke-width="1" font-family="Microsoft YaHei, msyh, PatuaOne-Regular, seguiemj, seguisym, SegUIVar, wryh, Segoe UI Emoji, sans-serif" font-weight="normal" font-size="24" text-anchor="start">[object Object]</text><text x="110" y="480" fill="#666666" stroke="none" stroke-width="1" font-family="Microsoft YaHei, msyh, PatuaOne-Regular, seguiemj, seguisym, SegUIVar, wryh, Segoe UI Emoji, sans-serif" font-weight="normal" font-size="16" text-anchor="start">[object Object]</text><path d="M105,480c-2.76142,0 -5,-2.23858 -5,-5v-50c0,-2.76142 2.23858,-5 5,-5h280c2.76142,0 5,2.23858 5,5v50c0,2.76142 -2.23858,5 -5,5z" fill="#ffffff" stroke="none" stroke-width="1"></path><text x="245" y="435" fill="#b85450" stroke="none" stroke-width="1" font-family="Microsoft YaHei, SimHei, KaiTi, seguiemj, sans-serif" font-weight="normal" font-size="20" text-anchor="middle">ZERO DEPENDENCY</text><text x="245" y="460" fill="#6b6459" stroke="none" stroke-width="1" font-family="Microsoft YaHei, SimHei, KaiTi, seguiemj, sans-serif" font-weight="normal" font-size="12" text-anchor="middle">零外部依赖 · 轻量安装</text><path d="M415,480c-2.76142,0 -5,-2.23858 -5,-5v-50c0,-2.76142 2.23858,-5 5,-5h280c2.76142,0 5,2.23858 5,5v50c0,2.76142 -2.23858,5 -5,5z" fill="#ffffff" stroke="none" stroke-width="1"></path><text x="555" y="435" fill="#b85450" stroke="none" stroke-width="1" font-family="Microsoft YaHei, SimHei, KaiTi, seguiemj, sans-serif" font-weight="normal" font-size="20" text-anchor="middle">QR CODE AUTH</text><text x="555" y="460" fill="#6b6459" stroke="none" stroke-width="1" font-family="Microsoft YaHei, SimHei, KaiTi, seguiemj, sans-serif" font-weight="normal" font-size="12" text-anchor="middle">扫码登录 · 安全认证</text><path d="M105,555c-2.76142,0 -5,-2.23858 -5,-5v-50c0,-2.76142 2.23858,-5 5,-5h280c2.76142,0 5,2.23858 5,5v50c0,2.76142 -2.23858,5 -5,5z" fill="#ffffff" stroke="none" stroke-width="1"></path><text x="245" y="510" fill="#b85450" stroke="none" stroke-width="1" font-family="Microsoft YaHei, SimHei, KaiTi, seguiemj, sans-serif" font-weight="normal" font-size="20" text-anchor="middle">EVENT DRIVEN</text><text x="245" y="535" fill="#6b6459" stroke="none" stroke-width="1" font-family="Microsoft YaHei, SimHei, KaiTi, seguiemj, sans-serif" font-weight="normal" font-size="12" text-anchor="middle">事件驱动 · 高效响应</text><path d="M415,555c-2.76142,0 -5,-2.23858 -5,-5v-50c0,-2.76142 2.23858,-5 5,-5h280c2.76142,0 5,2.23858 5,5v50c0,2.76142 -2.23858,5 -5,5z" fill="#ffffff" stroke="none" stroke-width="1"></path><text x="555" y="510" fill="#b85450" stroke="none" stroke-width="1" font-family="Microsoft YaHei, SimHei, KaiTi, seguiemj, sans-serif" font-weight="normal" font-size="20" text-anchor="middle">RICH MEDIA</text><text x="555" y="535" fill="#6b6459" stroke="none" stroke-width="1" font-family="Microsoft YaHei, SimHei, KaiTi, seguiemj, sans-serif" font-weight="normal" font-size="12" text-anchor="middle">多媒体消息 · 丰富交互</text><path d="M100,580h600" fill="none" stroke="#ffffff" stroke-width="2"></path><text x="400" y="600" fill="#1a1a1a" stroke="none" stroke-width="1" font-family="Microsoft YaHei, SimHei, KaiTi, seguiemj, sans-serif" font-weight="normal" font-size="16" text-anchor="middle">QUICK START</text><path d="M108,830c-4.41828,0 -8,-3.58172 -8,-8v-184c0,-4.41828 3.58172,-8 8,-8h584c4.41828,0 8,3.58172 8,8v184c0,4.41828 -3.58172,8 -8,8z" fill="#2d2d2d" stroke="none" stroke-width="1"></path><text x="120" y="645" fill="#f8f8f2" stroke="none" stroke-width="1" font-family="Consolas, Microsoft YaHei, seguiemj, sans-serif" font-weight="normal" font-size="13" text-anchor="start">import { WeixinBot } from '@chnak/weixin-bot';
|
|
2
|
+
|
|
3
|
+
const bot = new WeixinBot({
|
|
4
|
+
onQRCode: (qr) => console.log(qr),
|
|
5
|
+
onMessage: (msg) => bot.sendText(msg.from, 'Hello!')
|
|
6
|
+
});
|
|
7
|
+
|
|
8
|
+
bot.start();</text><path d="M100,850h600" fill="none" stroke="#ffffff" stroke-width="2"></path><path d="M106,920c-3.31371,0 -6,-2.68629 -6,-6v-38c0,-3.31371 2.68629,-6 6,-6h588c3.31371,0 6,2.68629 6,6v38c0,3.31371 -2.68629,6 -6,6z" fill="#2d2d2d" stroke="none" stroke-width="1"></path><text x="400" y="885" fill="#50fa7b" stroke="none" stroke-width="1" font-family="Consolas, Microsoft YaHei, seguiemj, sans-serif" font-weight="normal" font-size="18" text-anchor="middle">$ npm install @chnak/weixin-bot</text><text x="400" y="950" fill="#6b6459" stroke="none" stroke-width="1" font-family="Microsoft YaHei, SimHei, KaiTi, seguiemj, sans-serif" font-weight="normal" font-size="14" text-anchor="middle">v1.2.9 · MIT License · Node.js >= 14.0.0</text><text x="400" y="980" fill="#b85450" stroke="none" stroke-width="1" font-family="Microsoft YaHei, SimHei, KaiTi, seguiemj, sans-serif" font-weight="normal" font-size="14" text-anchor="middle">npmjs.com/package/@chnak/weixin-bot</text><text x="400" y="1020" fill="#6b6459" stroke="none" stroke-width="1" font-family="Microsoft YaHei, SimHei, KaiTi, seguiemj, sans-serif" font-weight="normal" font-size="14" text-anchor="middle">━━━━━━━━━━━━━━━ ◆ ━━━━━━━━━━━━━━━</text><text x="400" y="1045" fill="#6b6459" stroke="none" stroke-width="1" font-family="Microsoft YaHei, SimHei, KaiTi, seguiemj, sans-serif" font-weight="normal" font-size="12" text-anchor="middle">❖ ❖</text></g></svg>
|
|
Binary file
|
|
Binary file
|