dsh-folia 4.26.0-pre.77 → 4.26.0-pre.78

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/lib/client.js CHANGED
@@ -22164,7 +22164,7 @@ window.__ModuleLoader__.load({
22164
22164
 
22165
22165
  React.useEffect(() => {
22166
22166
  void (async () => {
22167
- const resp = await apiJson("/pet-chat/capabilities", { parse: "always" }).catch(() => null);
22167
+ const resp = await apiJson("/pet-chat/capabilities/catalog", { parse: "always" }).catch(() => null);
22168
22168
  const doc = (resp && resp.data) || null;
22169
22169
  if (doc && Array.isArray(doc.items)) setState((prev) => ({ ...prev, items: doc.items, error: null }));
22170
22170
  else setState((prev) => ({ ...prev, error: weT("读取失败,重开设置页再试") }));
@@ -4803,7 +4803,7 @@ async function handleMicTest(req, res) {
4803
4803
  // 自检:一次性跑「ffmpeg → 设备 → 录音 → 转写」四步,把每步结果原样返回。
4804
4804
  // 目的:发版前/真机排查时**一个请求就能看到哪一步坏了**,不用来回猜。
4805
4805
  if (tail === '/selftest' && (method === 'GET' || method === 'HEAD')) { void handleSelfTest(res); return; }
4806
- if (tail === '/capabilities' && (method === 'GET' || method === 'HEAD')) { handleCapabilities(res); return; }
4806
+ if (tail === '/capabilities/catalog' && (method === 'GET' || method === 'HEAD')) { handleCapabilities(res); return; }
4807
4807
  if (tail === '/work-plugins' && (method === 'GET' || method === 'HEAD')) { handleWorkPlugins(res); return; }
4808
4808
  if (tail === '/asr' && (method === 'GET' || method === 'HEAD')) { handleAsrStatus(res); return; }
4809
4809
  if (tail === '/asr' && method === 'POST') { handleAsrPrepare(res); return; }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-folia",
3
3
  "displayName": "dshAI · 壁纸引擎与 AI 桌宠",
4
- "version": "4.26.0-pre.77",
4
+ "version": "4.26.0-pre.78",
5
5
  "description": "dshAI:壁纸引擎 + AI 桌宠语音助手 + 多人设角色卡 + 皮肤/开机动画 + 能力市场,一站式桌面伴侣。",
6
6
  "type": "module",
7
7
  "engines": {