- 更新 backend 平台 API、platform_store、compute_gateway sync - 更新 compute agent/engine/adapter 及 API - 更新 Docker 部署配置(app/compute) - 新增 frontend/src/utils/ 工具模块 - 新增 scripts/ops_diagnostics.py 运维诊断脚本 - 新增 docs/2026-07-23-development-summary.md 开发总结 - 重构 frontend/dist 构建产物(新 hash) - 更新前端多个视图组件及 API 模块 Co-Authored-By: Claude <noreply@anthropic.com>
2 lines
557 B
JavaScript
2 lines
557 B
JavaScript
import{ae as d,y as f,D as v}from"./index-D5veDkuG.js";const m=d("tools",()=>{const a="customTools",o=f(n());function n(){try{return JSON.parse(localStorage.getItem(a)||"[]")}catch{return[]}}v(o,e=>{localStorage.setItem(a,JSON.stringify(e))},{deep:!0});function u(e){o.value.push(e)}function l(e,t){const r=o.value.findIndex(c=>c.id===e);r!==-1&&(o.value[r]={...o.value[r],...t})}function s(e){o.value=o.value.filter(t=>t.id!==e)}function i(e){return o.value.find(t=>t.id===e)}return{tools:o,addTool:u,updateTool:l,removeTool:s,getTool:i}});export{m as u};
|