chore: 更新 qqbot 包名为 @moltbot/qqbot 并迁移依赖至 workspace

This commit is contained in:
sliverp 2026-01-29 18:27:46 +08:00
parent c38ab68dea
commit e78f617f33
2 changed files with 15 additions and 113 deletions

View File

@ -1,39 +1,26 @@
{
"name": "qqbot",
"version": "1.1.0",
"name": "@moltbot/qqbot",
"version": "2026.1.27-beta.1",
"type": "module",
"description": "Moltbot QQ Bot channel plugin",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"clawdbot": {
"extensions": ["./index.ts"],
"channel": {
"id": "qqbot",
"label": "QQ Bot",
"selectionLabel": "QQ Bot (Official API)",
"docsPath": "/docs/channels/qqbot",
"blurb": "Connect to QQ via official QQ Bot API",
"order": 50
},
"install": {
"npmSpec": "qqbot",
"localPath": "./extensions/qqbot",
"defaultChoice": "local"
}
},
"moltbot": {
"extensions": ["./index.ts"],
"channel": {
"id": "qqbot",
"label": "QQ Bot",
"selectionLabel": "QQ Bot (Official API)",
"docsPath": "/docs/channels/qqbot",
"docsPath": "/channels/qqbot",
"docsLabel": "qqbot",
"blurb": "Connect to QQ via official QQ Bot API",
"order": 50
"order": 50,
"quickstartAllowFrom": true
},
"install": {
"npmSpec": "qqbot",
"localPath": "./extensions/qqbot",
"defaultChoice": "local"
"npmSpec": "@moltbot/qqbot",
"localPath": "extensions/qqbot",
"defaultChoice": "npm"
}
},
"scripts": {
@ -46,9 +33,7 @@
"devDependencies": {
"@types/node": "^20.0.0",
"@types/ws": "^8.5.0",
"typescript": "^5.0.0"
},
"peerDependencies": {
"clawdbot": "*"
"typescript": "^5.0.0",
"moltbot": "workspace:*"
}
}

89
pnpm-lock.yaml generated
View File

@ -411,9 +411,6 @@ importers:
extensions/qqbot:
dependencies:
clawdbot:
specifier: '*'
version: 2026.1.24-3(@types/express@5.0.6)(audio-decode@2.2.3)(devtools-protocol@0.0.1561482)(typescript@5.9.3)
ws:
specifier: ^8.18.0
version: 8.19.0
@ -424,6 +421,9 @@ importers:
'@types/ws':
specifier: ^8.5.0
version: 8.18.1
moltbot:
specifier: workspace:*
version: link:../..
typescript:
specifier: ^5.0.0
version: 5.9.3
@ -3233,11 +3233,6 @@ packages:
class-variance-authority@0.7.1:
resolution: {integrity: sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==}
clawdbot@2026.1.24-3:
resolution: {integrity: sha512-zt9BzhWXduq8ZZR4rfzQDurQWAgmijTTyPZCQGrn5ew6wCEwhxxEr2/NHG7IlCwcfRsKymsY4se9KMhoNz0JtQ==}
engines: {node: '>=22.12.0'}
hasBin: true
cli-cursor@5.0.0:
resolution: {integrity: sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==}
engines: {node: '>=18'}
@ -9117,84 +9112,6 @@ snapshots:
dependencies:
clsx: 2.1.1
clawdbot@2026.1.24-3(@types/express@5.0.6)(audio-decode@2.2.3)(devtools-protocol@0.0.1561482)(typescript@5.9.3):
dependencies:
'@agentclientprotocol/sdk': 0.13.1(zod@4.3.6)
'@aws-sdk/client-bedrock': 3.975.0
'@buape/carbon': 0.14.0(hono@4.11.4)
'@clack/prompts': 0.11.0
'@grammyjs/runner': 2.0.3(grammy@1.39.3)
'@grammyjs/transformer-throttler': 1.2.1(grammy@1.39.3)
'@homebridge/ciao': 1.3.4
'@line/bot-sdk': 10.6.0
'@lydell/node-pty': 1.2.0-beta.3
'@mariozechner/pi-agent-core': 0.49.3(ws@8.19.0)(zod@4.3.6)
'@mariozechner/pi-ai': 0.49.3(ws@8.19.0)(zod@4.3.6)
'@mariozechner/pi-coding-agent': 0.49.3(ws@8.19.0)(zod@4.3.6)
'@mariozechner/pi-tui': 0.49.3
'@mozilla/readability': 0.6.0
'@sinclair/typebox': 0.34.47
'@slack/bolt': 4.6.0(@types/express@5.0.6)
'@slack/web-api': 7.13.0
'@whiskeysockets/baileys': 7.0.0-rc.9(audio-decode@2.2.3)(sharp@0.34.5)
ajv: 8.17.1
body-parser: 2.2.2
chalk: 5.6.2
chokidar: 5.0.0
chromium-bidi: 13.0.1(devtools-protocol@0.0.1561482)
cli-highlight: 2.1.11
commander: 14.0.2
croner: 9.1.0
detect-libc: 2.1.2
discord-api-types: 0.38.37
dotenv: 17.2.3
express: 5.2.1
file-type: 21.3.0
grammy: 1.39.3
hono: 4.11.4
jiti: 2.6.1
json5: 2.2.3
jszip: 3.10.1
linkedom: 0.18.12
long: 5.3.2
markdown-it: 14.1.0
node-edge-tts: 1.2.9
osc-progress: 0.3.0
pdfjs-dist: 5.4.530
playwright-core: 1.58.0
proper-lockfile: 4.1.2
qrcode-terminal: 0.12.0
sharp: 0.34.5
sqlite-vec: 0.1.7-alpha.2
tar: 7.5.4
tslog: 4.10.2
undici: 7.19.0
ws: 8.19.0
yaml: 2.8.2
zod: 4.3.6
optionalDependencies:
'@napi-rs/canvas': 0.1.88
node-llama-cpp: 3.15.0(typescript@5.9.3)
transitivePeerDependencies:
- '@discordjs/opus'
- '@modelcontextprotocol/sdk'
- '@types/express'
- audio-decode
- aws-crt
- bufferutil
- canvas
- debug
- devtools-protocol
- encoding
- ffmpeg-static
- jimp
- link-preview-js
- node-opus
- opusscript
- supports-color
- typescript
- utf-8-validate
cli-cursor@5.0.0:
dependencies:
restore-cursor: 5.1.0