officecli 迁入技能层:skills/office 封装 + executor 预览托管,双盘同步整条退役
- skills/office:SKILL.md + scripts/office 封装层(命令闸门/help 对齐/get-pos 语义糖/create、open 出 ui_card marker);install.sh 按技能双跑约定把二进制拉到技能卷 bin/(不进 git/不进镜像,GitHub→gh-proxy 备源) - executor/preview.js:预览槽位+网关(原 mcp 侧 watch/gateway 移植),工作区=tasks 卷真实文件, /__session-kill 供 core 清槽;Dockerfile 零 officecli 痕迹,入口符号链接进 /usr/local/bin/office - core:preview-proxy 默认上游改 agent-executor:3100;tools/executor.js 通用 drainUiCards(terminal 输出 ::ui_card 标记行 → 剥离 + ctx.onCard,任意命令可产卡);engine 删会话改走 rexec.killPreviewSession - compose:agent-executor expose 3100(只走内网);.gitignore 排除技能二进制
This commit is contained in:
@@ -61,6 +61,7 @@ RUN pip3 install --no-cache-dir --break-system-packages \
|
||||
# ---- executor 服务(零依赖单文件,仅 Node 内置 http)----
|
||||
WORKDIR /app
|
||||
COPY executor/server.js ./
|
||||
COPY executor/preview.js ./
|
||||
# 技能依赖准备脚本:由 agent-executor-init 服务在启动前执行(pip/资产,无特权)
|
||||
COPY executor/init-skills.js ./
|
||||
|
||||
@@ -105,3 +106,4 @@ RUN for d in /tmp/skills/*/; do \
|
||||
fi; \
|
||||
done; \
|
||||
rm -rf /tmp/skills
|
||||
|
||||
|
||||
Reference in New Issue
Block a user