@luban-code/luban-code 1.123.0 → 1.126.0
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/README.md +1 -1
- package/README.zh.md +1 -1
- package/dist/acp.js +394 -390
- package/dist/cli-plugin.js +208 -203
- package/dist/cli.js +421 -417
- package/dist/extension.js +512 -508
- package/package.json +4 -2
- package/registry/registry.json +69 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@luban-code/luban-code",
|
|
3
3
|
"displayName": "Luban",
|
|
4
4
|
"description": "Luban — a standalone sidebar AI coding agent (multi-provider, OpenAI-compatible, zero source patches)",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.126.0",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "eppen (liuhualiang)",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"publisher": "liuhualiang",
|
|
12
12
|
"icon": "media/icon.png",
|
|
13
|
-
"homepage": "https://github.
|
|
13
|
+
"homepage": "https://eppen.github.io/luban-site/",
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/eppen/luban/issues"
|
|
16
16
|
},
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
"test:acp": "node scripts/test-acp.js",
|
|
83
83
|
"test:acp-pkg": "node scripts/test-acp-pkg.js",
|
|
84
84
|
"test:cli-resume": "node scripts/test-cli-resume.js",
|
|
85
|
+
"test:session-store": "node scripts/test-session-store.js",
|
|
85
86
|
"test:cli-upgrade": "node scripts/test-cli-upgrade.js",
|
|
86
87
|
"test:cli-config": "node scripts/test-cli-config.js",
|
|
87
88
|
"test:cli-lang": "node scripts/test-cli-lang.js",
|
|
@@ -130,6 +131,7 @@
|
|
|
130
131
|
"test:think-tiers": "node scripts/test-think-tiers.js",
|
|
131
132
|
"test:webfetch-md": "node scripts/test-webfetch-md.js",
|
|
132
133
|
"test:tabs": "node scripts/test-workspace-tab-filter.js",
|
|
134
|
+
"test:queue-order": "node scripts/test-queue-order.js",
|
|
133
135
|
"test:status-live": "node scripts/live-status.js",
|
|
134
136
|
"test:review-freeze": "node scripts/live-review-freeze.js",
|
|
135
137
|
"test:review-focus": "node scripts/live-review-focus.js",
|
package/registry/registry.json
CHANGED
|
@@ -1217,6 +1217,75 @@
|
|
|
1217
1217
|
"keyId": "dev-2",
|
|
1218
1218
|
"sig": "nf9054XOe9kquQDg8naNBhhQgghIW5hZY6T0knwldOlky/xn24/qO6jT+72XOZV3jYDLLt63EfxLto8Cm2x1BA=="
|
|
1219
1219
|
}
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"name": "mes-agent",
|
|
1223
|
+
"displayName": "MES 智能体问答",
|
|
1224
|
+
"description": "MES 智能体问答:把 MES(mes-ai)的 /ai/agent/chat 接口包成模型可调用的工具,自然语言提问,支持多轮对话",
|
|
1225
|
+
"type": "plugin",
|
|
1226
|
+
"version": "0.1.0",
|
|
1227
|
+
"author": "dllhl",
|
|
1228
|
+
"license": "MIT",
|
|
1229
|
+
"repo": "https://github.com/eppen/luban-plugins",
|
|
1230
|
+
"tags": [
|
|
1231
|
+
"mes",
|
|
1232
|
+
"agent",
|
|
1233
|
+
"ai"
|
|
1234
|
+
],
|
|
1235
|
+
"install": {
|
|
1236
|
+
"type": "git",
|
|
1237
|
+
"url": "git@github.com:eppen/luban-plugins.git",
|
|
1238
|
+
"subdir": "plugins/mes-agent",
|
|
1239
|
+
"target": "global"
|
|
1240
|
+
},
|
|
1241
|
+
"sourceSha256": "f8c2ca2f2d83898d2d6e327f1d65124988e8d36db428ae75af9c130a3afb1101",
|
|
1242
|
+
"ctxApi": ">=0.1 <1.0",
|
|
1243
|
+
"tools": [
|
|
1244
|
+
{
|
|
1245
|
+
"name": "chat",
|
|
1246
|
+
"description": "向 MES(制造执行系统)智能体提问并获取回答。MES 智能体可查询生产/能源/物料数据,返回自然语言回答 + 结构化表格/图表(渲染为文本)。支持多轮对话:把上一轮返回的 sessionId 传回即可续接。",
|
|
1247
|
+
"readOnly": false,
|
|
1248
|
+
"parameters": {
|
|
1249
|
+
"type": "object",
|
|
1250
|
+
"properties": {
|
|
1251
|
+
"message": {
|
|
1252
|
+
"type": "string",
|
|
1253
|
+
"description": "要问 MES 智能体的问题(用用户的语言)"
|
|
1254
|
+
},
|
|
1255
|
+
"agentCode": {
|
|
1256
|
+
"type": "string",
|
|
1257
|
+
"description": "可选:MES 智能体编码,缺省用配置里的 MES_AGENT_CODE(默认 mes_default)"
|
|
1258
|
+
},
|
|
1259
|
+
"sessionId": {
|
|
1260
|
+
"type": "string",
|
|
1261
|
+
"description": "可选:上一轮返回的 sessionId,用于多轮对话续接"
|
|
1262
|
+
}
|
|
1263
|
+
},
|
|
1264
|
+
"required": [
|
|
1265
|
+
"message"
|
|
1266
|
+
],
|
|
1267
|
+
"additionalProperties": false
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
],
|
|
1271
|
+
"permissions": {
|
|
1272
|
+
"fsRead": true,
|
|
1273
|
+
"fsWrite": false,
|
|
1274
|
+
"shell": false,
|
|
1275
|
+
"net": true,
|
|
1276
|
+
"env": true
|
|
1277
|
+
},
|
|
1278
|
+
"review": {
|
|
1279
|
+
"status": "reviewed",
|
|
1280
|
+
"reviewedBy": "dllhl",
|
|
1281
|
+
"reviewedAt": "2026-11-19T04:00:00Z",
|
|
1282
|
+
"notes": "chat 工具声明非只读(向 MES 服务端发起真实请求,服务端智能体内部行为插件无法保证)。permissions 与实现一致:net=true 每次调用 fetch 到用户配置的 baseUrl;fsRead=true 每次调用读 ~/.luban/mes-agent.json(不存在则忽略);env=true 读 MES_* 环境变量(优先于配置文件);fsWrite/shell 均为 false,不写文件、不起子进程。零依赖,只用 node:fs/os/path + 全局 fetch(Node >= 18)。"
|
|
1283
|
+
},
|
|
1284
|
+
"signature": {
|
|
1285
|
+
"algo": "ed25519",
|
|
1286
|
+
"keyId": "dev-2",
|
|
1287
|
+
"sig": "L18u7XM6ZE+ZX8WJpbLP7d5/4VG+TsoRQWLj02zRPf9T04IAbWdb5TgdWgzVwRifB3Hs1d2/iZiENlBsbvTtBA=="
|
|
1288
|
+
}
|
|
1220
1289
|
}
|
|
1221
1290
|
]
|
|
1222
1291
|
}
|