Files
oc/pwsh.cmd
T
xiaoshuai 3857c1f051 Remove agent-memory plugin; track UTF-8 shell config and npm manifest
agent-memory is removed: upstream (kurbezz/memory) states Windows is not supported, as the skill relies on absolute symlinks into the store and a Bash CLI. The checked-in plugins/agent-memory.js was a git symlink (mode 120000) to a Linux path, which Windows materialised as a 68-byte text file, failing to load with 'AggregateError: 7 errors building'.

Now tracked so the setup is reproducible elsewhere: opencode.json and pwsh.cmd configure the UTF-8 shell (chcp 65001) that OpenCode's -NoProfile PowerShell otherwise lacks, and package.json records better-sqlite3, without which the sqlite plugin fails to resolve.
2026-10-08 23:56:06 +08:00

3 lines
37 B
Batchfile

@echo off
chcp 65001 >nul
pwsh.exe %*