ci(mnemosyne): published pi-mnemosyne to npm via monorepo CI pipeline

- Added `@oh-my-pi/pi-mnemosyne` to the catalog and release publish script.
- Switched coding-agent dependency from `workspace:*` to the catalog reference.
- Added `tsconfig.publish.json` for declaration-only emit on publish.
- Included mnemosyne in CI tarball smoke tests alongside other workspace packages.
This commit is contained in:
can1357
2026-05-30 16:42:58 +02:00
parent 98de6510f0
commit 7ba28ada5b
6 changed files with 37 additions and 3 deletions
+4 -2
View File
@@ -66,7 +66,7 @@ SOURCE_BUN_HOME="$WORK_DIR/bun-source"
section "Tarball install smoke"
TARBALL_DIR="$WORK_DIR/tarballs"
mkdir -p "$TARBALL_DIR"
for pkg in utils natives hashline ai agent tui stats coding-agent; do
for pkg in utils natives hashline ai mnemosyne agent tui stats coding-agent; do
(
cd "$ROOT_DIR/packages/$pkg"
bun pm pack --destination "$TARBALL_DIR" --quiet >/dev/null
@@ -77,6 +77,7 @@ utils_tgz="$(find_tarball "$TARBALL_DIR"/oh-my-pi-pi-utils-*.tgz)"
natives_tgz="$(find_tarball "$TARBALL_DIR"/oh-my-pi-pi-natives-*.tgz)"
hashline_tgz="$(find_tarball "$TARBALL_DIR"/oh-my-pi-hashline-*.tgz)"
ai_tgz="$(find_tarball "$TARBALL_DIR"/oh-my-pi-pi-ai-*.tgz)"
mnemosyne_tgz="$(find_tarball "$TARBALL_DIR"/oh-my-pi-pi-mnemosyne-*.tgz)"
agent_tgz="$(find_tarball "$TARBALL_DIR"/oh-my-pi-pi-agent-core-*.tgz)"
tui_tgz="$(find_tarball "$TARBALL_DIR"/oh-my-pi-pi-tui-*.tgz)"
stats_tgz="$(find_tarball "$TARBALL_DIR"/oh-my-pi-omp-stats-*.tgz)"
@@ -97,6 +98,7 @@ mkdir -p "$TARBALL_APP_DIR"
'@oh-my-pi/pi-natives': '$natives_tgz',
'@oh-my-pi/hashline': '$hashline_tgz',
'@oh-my-pi/pi-ai': '$ai_tgz',
'@oh-my-pi/pi-mnemosyne': '$mnemosyne_tgz',
'@oh-my-pi/pi-agent-core': '$agent_tgz',
'@oh-my-pi/pi-tui': '$tui_tgz',
'@oh-my-pi/omp-stats': '$stats_tgz',
@@ -105,7 +107,7 @@ mkdir -p "$TARBALL_APP_DIR"
require('fs').writeFileSync('package.json', JSON.stringify(pkg, null, 2));
"
bun add "$utils_tgz" "$natives_tgz" "$hashline_tgz" "$ai_tgz" "$agent_tgz" "$tui_tgz" "$stats_tgz" "$coding_agent_tgz"
bun add "$utils_tgz" "$natives_tgz" "$hashline_tgz" "$ai_tgz" "$mnemosyne_tgz" "$agent_tgz" "$tui_tgz" "$stats_tgz" "$coding_agent_tgz"
smoke_cli ./node_modules/.bin/omp
)