A local-first multi-agent app development platform, built on PenguinHarness
feat(fork): 宿主包 scope 也换成 @lmliheng(core/server/cli + 全部工作区包)
lmliheng5cf857f67bcf
diff --git a/.agents/scripts/remote-test.sh b/.agents/scripts/remote-test.shindex 995c9783..cd0c0dd8 100755--- a/.agents/scripts/remote-test.sh+++ b/.agents/scripts/remote-test.sh@@ -4,10 +4,10 @@# PENGUIN_TEST_HOST=<ssh-destination> \# .agents/scripts/remote-test.sh <worktree> [--build "<pkg> <pkg>"] -- <pnpm args...>#-# PENGUIN_TEST_HOST=box .agents/scripts/remote-test.sh . -- --filter @prismshadow/penguin-web test+# PENGUIN_TEST_HOST=box .agents/scripts/remote-test.sh . -- --filter @lmliheng/penguin-web test# PENGUIN_TEST_HOST=box .agents/scripts/remote-test.sh ~/dev/penguin-harness-wt/foo \-# --build "@prismshadow/penguin-core @prismshadow/penguin-server" -- \-# --filter @prismshadow/penguin-cli exec vitest run test/agent-porting.test.ts+# --build "@lmliheng/penguin-core @lmliheng/penguin-server" -- \+# --filter @lmliheng/penguin-cli exec vitest run test/agent-porting.test.ts## Tests run on the developer's own machine by default; this script exists for the times the user# asks for a different one, and it is never the automatic choice. The destination comes from thediff --git a/.agents/skills/penguin-harness-dev/SKILL.md b/.agents/skills/penguin-harness-dev/SKILL.mdindex c7cf73d9..fcff2c3f 100644--- a/.agents/skills/penguin-harness-dev/SKILL.md+++ b/.agents/skills/penguin-harness-dev/SKILL.md@@ -93,8 +93,8 @@ The full chain CI runs is `pnpm build`, `pnpm format:check`, `pnpm typecheck`, `Pick the narrowest evidence that would actually fail for this change's regression:```sh-pnpm --filter @prismshadow/penguin-core exec vitest run test/model-catalog.test.ts # one file, ~1s-pnpm --filter @prismshadow/penguin-web test # one package+pnpm --filter @lmliheng/penguin-core exec vitest run test/model-catalog.test.ts # one file, ~1s+pnpm --filter @lmliheng/penguin-web test # one package```| Changed | Run |diff --git a/.agents/skills/penguin-harness-frontend/SKILL.md b/.agents/skills/penguin-harness-frontend/SKILL.mdindex 3eac8d95..71ad3299 100644--- a/.agents/skills/penguin-harness-frontend/SKILL.md+++ b/.agents/skills/penguin-harness-frontend/SKILL.md@@ -74,12 +74,12 @@ Two forms, and **a title decides between them, not taste**:> **The circled "?" may only appear beside a title. It must never stand alone on its own line.> Where it would stand alone, use the fold.**-- **A title is present** → `InfoPopover` (`@prismshadow/penguin-ui`). A circled "?"+- **A title is present** → `InfoPopover` (`@lmliheng/penguin-ui`). A circled "?"immediately after the section heading, the table column header, or the field label — the last ofthose via `Field`/`Input`/`Textarea`/`PasswordInput`'s `info` prop. The "?" is an *anchored*mark: it reads as help only because it modifies the title it sits against, and it borrows thattitle's meaning instead of restating it.-- **No title on the surface** → `HelpFold` (`@prismshadow/penguin-ui`). A compact row that+- **No title on the surface** → `HelpFold` (`@lmliheng/penguin-ui`). A compact row thatnames itself and expands its explanation inline underneath. This is the Agent settings tabs:their name lives in the tab bar and the panel does not repeat it, so a "?" at the top of thepanel would be a mark modifying nothing. A neighbouring `<Button>` does not rescue it — a@@ -108,7 +108,7 @@ which is why the control needs an id. The UI package's `test/field.test.ts` guar## Icons-One renderer: `GlyphIcon` from `@prismshadow/penguin-ui`. A 24×24 path stroked at the theme's+One renderer: `GlyphIcon` from `@lmliheng/penguin-ui`. A 24×24 path stroked at the theme's`--ui-icon-stroke` (1.7 in Primer), `stroke="currentColor"`, `fill="none"` (or `filled` for an "on"state); pass `decor="nav|group|menu|empty"` only where a label beside it already says what it says.Do not hand-write an `<svg>` or a `const *_ICON = "M…"` for a line icon — the paths live in one@@ -144,7 +144,7 @@ menu rows, `OptionMenu`'s row titles, `Textarea` and `FormPicker` all read it, swhole family at once.The rungs are **relative, not the pixel values their names suggest**. `FONT_SCALE_PX` (in-`@prismshadow/penguin-ui/boot`, applied before first paint and by `theme.tsx`) sets the root font+`@lmliheng/penguin-ui/boot`, applied before first paint and by `theme.tsx`) sets the root fontsize per tier (16/18/20px, default 18) and no stylesheet overrides a `--text-*`, so`text-xs` is 13.5px at the default tier rather than 12px, and every rung tracks the user's setting.@@ -210,7 +210,7 @@ exercise CJK behaviour. Comments, test names and every other string are English.## Popups: portal, do not absolutely positionAnything that overlays — a menu, a picker, an info popover — uses `usePortalPanel`-(`@prismshadow/penguin-ui`) and `createPortal` to `document.body`, positioned `fixed`+(`@lmliheng/penguin-ui`) and `createPortal` to `document.body`, positioned `fixed`against viewport coordinates. An in-place absolute panel is a DOM descendant of its trigger, so anyancestor with `overflow-x-auto` clips it vertically (the CSS spec forces the visible axis to `auto`when the other is not visible), and auditing every call site's ancestor chain is not a plan.@@ -249,8 +249,8 @@ outside a `Menu` is a plain button, for a panel that mixes rows with a search bo## Verify```sh-pnpm --filter @prismshadow/penguin-web typecheck-pnpm --filter @prismshadow/penguin-web test+pnpm --filter @lmliheng/penguin-web typecheck+pnpm --filter @lmliheng/penguin-web testpnpm format && pnpm format:check```diff --git a/.agents/skills/penguin-harness-manual-test/SKILL.md b/.agents/skills/penguin-harness-manual-test/SKILL.mdindex e75f6468..b8569e72 100644--- a/.agents/skills/penguin-harness-manual-test/SKILL.md+++ b/.agents/skills/penguin-harness-manual-test/SKILL.md@@ -23,7 +23,7 @@ Other fixed ports (`packages/core/src/internal/ports.ts`): 7364 installed server7369 `pnpm penguin web` (data root `~/.penguin/dev-data-cli` — its own, so it can serve while anAgent it hosts runs `pnpm dev`; the lock is per root). On a shared box, `ss -tln` before assumingone is free; `PORT=` inline moves it. The gallery's port is strict — a busy 7372 fails instead of-drifting, because quoted gallery links and `pnpm --filter @prismshadow/penguin-ui-gallery shots`+drifting, because quoted gallery links and `pnpm --filter @lmliheng/penguin-ui-gallery shots`name it.The user's installed app, server and CLI all use `~/.penguin/data` — their real Agents, Sessionsdiff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.mdindex aa897c04..59efd43d 100644--- a/.github/CONTRIBUTING.md+++ b/.github/CONTRIBUTING.md@@ -47,7 +47,7 @@ CLI of the checkout it was started from: it writes a launcher at `<root>/bin/penpointing at `packages/cli/dist/penguin.js` and puts that directory at the front of everycommand's PATH. Nothing rebuilds that file while a dev server runs — `tsx watch` covers theserver's own sources only — so after editing the CLI, run-`pnpm --filter @prismshadow/penguin-cli build` (or restart `pnpm dev`) before asking an+`pnpm --filter @lmliheng/penguin-cli build` (or restart `pnpm dev`) before asking anAgent to use it.One rule when bypassing the dev commands: **rebuild skills/core through pnpm, in that@@ -125,13 +125,13 @@ single data directory (`~/.penguin/data`) and a single message protocol (OmniMes| Package | Name | Role || ----------------------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------- |-| [`packages/core`](../packages/core) | `@prismshadow/penguin-core` | SDK & engine: ReAct loop, OmniMessage protocol, LLM/Environment interface contracts, Agent State, Trace |-| [`packages/cli`](../packages/cli) | `@prismshadow/penguin-cli` | The `penguin` command: REPL, one-shot runs, model & vault config, service launcher |-| [`packages/server`](../packages/server) | `@prismshadow/penguin-server` | Web backend: HTTP API + SSE streaming, multi-user auth, Project authorization, usage stats |-| [`packages/web`](../packages/web) | `@prismshadow/penguin-web` | Web App: multi-session chat, Agent/skill/model management, Trace observability, evaluation center |+| [`packages/core`](../packages/core) | `@lmliheng/penguin-core` | SDK & engine: ReAct loop, OmniMessage protocol, LLM/Environment interface contracts, Agent State, Trace |+| [`packages/cli`](../packages/cli) | `@lmliheng/penguin-cli` | The `penguin` command: REPL, one-shot runs, model & vault config, service launcher |+| [`packages/server`](../packages/server) | `@lmliheng/penguin-server` | Web backend: HTTP API + SSE streaming, multi-user auth, Project authorization, usage stats |+| [`packages/web`](../packages/web) | `@lmliheng/penguin-web` | Web App: multi-session chat, Agent/skill/model management, Trace observability, evaluation center || [`plugins/*`](../plugins) | `@lmliheng/<name>` | The built-in plugins, one npm package each: skills (software development, model development, agent development/tuning, …) and session hooks (goal mode, skill summaries); the loader lives in `packages/core` || [`packages/docs`](../packages/docs) | — | Documentation site (bilingual, deployed under `/docs/`) |-| [`plugins/*`](../plugins) | `@prismshadow/penguin-plugin-*` | Plugin packages a Project asks for on the Plugins page (its `[plugins]` table) — a directory of their own because nothing else in the harness depends on one |+| [`plugins/*`](../plugins) | `@lmliheng/penguin-plugin-*` | Plugin packages a Project asks for on the Plugins page (its `[plugins]` table) — a directory of their own because nothing else in the harness depends on one |Responsibilities split by source of truth: the **SDK** owns protocol and execution(message parsing, the agent loop, tools), the **Server** owns the multi-user runtime@@ -159,7 +159,7 @@ End-to-end suites (optional locally, slower):```bashnpx playwright install chromium # once-pnpm --filter @prismshadow/penguin-web test:e2e # browser e2e against a mock LLM+pnpm --filter @lmliheng/penguin-web test:e2e # browser e2e against a mock LLMpnpm test:e2e # core live-model e2e, needs DEEPSEEK_API_KEY```diff --git a/.github/CONTRIBUTING.zh.md b/.github/CONTRIBUTING.zh.mdindex d41d5df3..d38892fd 100644--- a/.github/CONTRIBUTING.zh.md+++ b/.github/CONTRIBUTING.zh.md@@ -40,7 +40,7 @@ Vite 依赖缓存(`packages/web/node_modules/.vite`)——该缓存仅以 lo该预处理步骤还会构建 `packages/cli`:开发版 server 会把它所在检出的 CLI 交给它运行的 Agent——在`<root>/bin/penguin` 写下一个指向 `packages/cli/dist/penguin.js` 的启动脚本,并把该目录置于每条命令PATH 的最前。dev server 运行期间没有任何东西会重建那个文件(`tsx watch` 只覆盖 server 自身的源码),-因此改完 CLI 源码后,要先跑 `pnpm --filter @prismshadow/penguin-cli build`(或重启 `pnpm dev`),+因此改完 CLI 源码后,要先跑 `pnpm --filter @lmliheng/penguin-cli build`(或重启 `pnpm dev`),再让 Agent 去用它。绕开 dev 命令时有一条规则:**通过 pnpm 重新构建 skills/core,并按此顺序**(`pnpm build`,或重启@@ -85,10 +85,10 @@ userData 目录随其名称一并搬家,Chromium 配置文件也跟着走,| 包 | 名称 | 职责 || ----------------------------------------- | ----------------------------- | --------------------------------------------------------------------------- |-| [`packages/core`](../packages/core) | `@prismshadow/penguin-core` | SDK 与引擎:ReAct 循环、OmniMessage 协议、LLM/Environment 接口契约、Agent State、Trace |-| [`packages/cli`](../packages/cli) | `@prismshadow/penguin-cli` | `penguin` 命令:REPL、单次运行、模型与 vault 配置、服务启动器 |-| [`packages/server`](../packages/server) | `@prismshadow/penguin-server` | Web 后端:HTTP API + SSE 流式传输、多用户认证、Project 鉴权、用量统计 |-| [`packages/web`](../packages/web) | `@prismshadow/penguin-web` | Web App:多会话聊天,Agent/Skill/模型管理,Trace 可观测性,评测中心 |+| [`packages/core`](../packages/core) | `@lmliheng/penguin-core` | SDK 与引擎:ReAct 循环、OmniMessage 协议、LLM/Environment 接口契约、Agent State、Trace |+| [`packages/cli`](../packages/cli) | `@lmliheng/penguin-cli` | `penguin` 命令:REPL、单次运行、模型与 vault 配置、服务启动器 |+| [`packages/server`](../packages/server) | `@lmliheng/penguin-server` | Web 后端:HTTP API + SSE 流式传输、多用户认证、Project 鉴权、用量统计 |+| [`packages/web`](../packages/web) | `@lmliheng/penguin-web` | Web App:多会话聊天,Agent/Skill/模型管理,Trace 可观测性,评测中心 || [`plugins/*`](../plugins) | `@lmliheng/<name>` | 内置插件,一插件一 npm 包:Skill(软件开发、模型开发、Agent 开发/调优……)与会话钩子(目标模式、技能沉淀);loader 在 `packages/core` || [`packages/docs`](../packages/docs) | — | 文档站(双语,部署在 `/docs/` 下) |@@ -116,7 +116,7 @@ Agent 读到的是同一个目录。```bashnpx playwright install chromium # 一次即可-pnpm --filter @prismshadow/penguin-web test:e2e # 针对 mock LLM 的浏览器 e2e+pnpm --filter @lmliheng/penguin-web test:e2e # 针对 mock LLM 的浏览器 e2epnpm test:e2e # core 的真实模型 e2e,需要 DEEPSEEK_API_KEY```diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.ymlindex 2818be55..d7c9e5d8 100644--- a/.github/actions/setup/action.yml+++ b/.github/actions/setup/action.yml@@ -13,7 +13,7 @@ inputs:build:description: >-pnpm --filter arguments naming what to build, comma separated (e.g.- "@prismshadow/penguin-core..."). Empty builds nothing — a job that only reads+ "@lmliheng/penguin-core..."). Empty builds nothing — a job that only readssources, such as the Prettier gate, needs no dist at all.required: falsedefault: ""diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 752d4368..71117a1f 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -124,7 +124,7 @@ jobs:# files read skills' emitted types, for one.- uses: ./.github/actions/setupwith:- build: "@prismshadow/penguin-desktop...,@prismshadow/penguin-docs...,@prismshadow/penguin-server...,@prismshadow/penguin-cli...,@prismshadow/penguin-web..."+ build: "@lmliheng/penguin-desktop...,@lmliheng/penguin-docs...,@lmliheng/penguin-server...,@lmliheng/penguin-cli...,@lmliheng/penguin-web..."- name: Typecheck (tsc)run: pnpm typecheck@@ -139,21 +139,21 @@ jobs:matrix:include:- shard: core- build: "@prismshadow/penguin-core..."- tests: pnpm --filter @prismshadow/penguin-core test+ build: "@lmliheng/penguin-core..."+ tests: pnpm --filter @lmliheng/penguin-core test- shard: server- build: "@prismshadow/penguin-server..."- tests: pnpm --filter @prismshadow/penguin-server test+ build: "@lmliheng/penguin-server..."+ tests: pnpm --filter @lmliheng/penguin-server test- shard: web-cli- build: "@prismshadow/penguin-core...,@prismshadow/penguin-web..."+ build: "@lmliheng/penguin-core...,@lmliheng/penguin-web..."tests: >-- pnpm --filter @prismshadow/penguin-web --filter @prismshadow/penguin-ui- --filter @prismshadow/penguin-cli test+ pnpm --filter @lmliheng/penguin-web --filter @lmliheng/penguin-ui+ --filter @lmliheng/penguin-cli test- shard: rest- build: "@prismshadow/penguin-desktop..."+ build: "@lmliheng/penguin-desktop..."tests: >-- pnpm --filter @prismshadow/penguin-desktop- --filter @prismshadow/penguin-docs --filter @prismshadow/penguin-ui-gallery test+ pnpm --filter @lmliheng/penguin-desktop+ --filter @lmliheng/penguin-docs --filter @lmliheng/penguin-ui-gallery teststeps:- uses: actions/checkout@v5- uses: ./.github/actions/setup@@ -172,7 +172,7 @@ jobs:- uses: actions/checkout@v5- uses: ./.github/actions/setupwith:- build: "@prismshadow/penguin-cli...,@prismshadow/penguin-server..."+ build: "@lmliheng/penguin-cli...,@lmliheng/penguin-server..."- name: Installer bundle and POSIX installer testsrun: sh scripts/test-installer.sh- name: E2E (live LLM via DeepSeek)@@ -201,17 +201,17 @@ jobs:matrix:include:- shard: core- build: "@prismshadow/penguin-core..."- tests: pnpm --filter @prismshadow/penguin-core test+ build: "@lmliheng/penguin-core..."+ tests: pnpm --filter @lmliheng/penguin-core testsmoke: false- shard: server- build: "@prismshadow/penguin-server..."- tests: pnpm --filter @prismshadow/penguin-server test+ build: "@lmliheng/penguin-server..."+ tests: pnpm --filter @lmliheng/penguin-server testsmoke: false- shard: rest- build: "@prismshadow/penguin-desktop...,@prismshadow/penguin-cli..."+ build: "@lmliheng/penguin-desktop...,@lmliheng/penguin-cli..."tests: >-- pnpm -r --filter '!@prismshadow/penguin-core' --filter '!@prismshadow/penguin-server' test+ pnpm -r --filter '!@lmliheng/penguin-core' --filter '!@lmliheng/penguin-server' testsmoke: truesteps:- uses: actions/checkout@v5@@ -244,21 +244,21 @@ jobs:matrix:include:- shard: core- build: "@prismshadow/penguin-core..."- tests: pnpm --filter @prismshadow/penguin-core test+ build: "@lmliheng/penguin-core..."+ tests: pnpm --filter @lmliheng/penguin-core test- shard: server-1- build: "@prismshadow/penguin-server..."- tests: pnpm --filter @prismshadow/penguin-server exec vitest run --shard=1/3+ build: "@lmliheng/penguin-server..."+ tests: pnpm --filter @lmliheng/penguin-server exec vitest run --shard=1/3- shard: server-2- build: "@prismshadow/penguin-server..."- tests: pnpm --filter @prismshadow/penguin-server exec vitest run --shard=2/3+ build: "@lmliheng/penguin-server..."+ tests: pnpm --filter @lmliheng/penguin-server exec vitest run --shard=2/3- shard: server-3- build: "@prismshadow/penguin-server..."- tests: pnpm --filter @prismshadow/penguin-server exec vitest run --shard=3/3+ build: "@lmliheng/penguin-server..."+ tests: pnpm --filter @lmliheng/penguin-server exec vitest run --shard=3/3- shard: rest- build: "@prismshadow/penguin-desktop...,@prismshadow/penguin-cli..."+ build: "@lmliheng/penguin-desktop...,@lmliheng/penguin-cli..."tests: >-- pnpm -r --filter '!@prismshadow/penguin-core' --filter '!@prismshadow/penguin-server' test+ pnpm -r --filter '!@lmliheng/penguin-core' --filter '!@lmliheng/penguin-server' teststeps:- uses: actions/checkout@v5- uses: ./.github/actions/setup@@ -272,7 +272,7 @@ jobs:# other platforms run the script and never notice.- name: Generate the interface tableif: startsWith(matrix.shard, 'server')- run: pnpm --filter @prismshadow/penguin-server gen:ifaces+ run: pnpm --filter @lmliheng/penguin-server gen:ifaces# One retry, and only here. Per-test flakes are already absorbed inside vitest# (`retry` in core's and the server's configs, Windows only); what this covers is the@@ -295,7 +295,7 @@ jobs:- uses: actions/checkout@v5- uses: ./.github/actions/setupwith:- build: "@prismshadow/penguin-cli..."+ build: "@lmliheng/penguin-cli..."# The Linux job cannot validate PowerShell syntax; parse (never execute) the installer# scripts with the real PowerShell parser so a broken install.ps1 cannot ship.@@ -352,7 +352,7 @@ jobs:# The web package is not a dependency of the desktop package (the app carries its# build by an electron-builder file mapping, not an import), so `desktop...` alone# leaves it unbuilt — and the mapping then silently packs nothing.- build: "@prismshadow/penguin-desktop...,@prismshadow/penguin-web"+ build: "@lmliheng/penguin-desktop...,@lmliheng/penguin-web"- name: Preflight the packed tree's inputsrun: node packages/desktop/scripts/preflight.mjsdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 9060b3cb..0899e3d5 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -16,11 +16,11 @@# one version per tag, multiple versions coexist. Releases up to v0.1.5 shipped raw program# archives under the same names plus *-offline wrappers; the installers keep accepting that# legacy layout for pinned versions.-# - publish-npm: publish the whole chain (the @lmliheng/* plugin packages -> @prismshadow/penguin-core-# -> @prismshadow/penguin-server -> @prismshadow/penguin-cli) to npm at the tag version.+# - publish-npm: publish the whole chain (the @lmliheng/* plugin packages -> @lmliheng/penguin-core+# -> @lmliheng/penguin-server -> @lmliheng/penguin-cli) to npm at the tag version.# core serves the penguin-sdk Skill's `npm install`; server ships the built web assets inside# the package (web-dist/, its default web dir falls back to it), so `npm install -g-# @prismshadow/penguin-cli` alone yields a working `penguin` incl. the Web UI (needs Node >= 24).+# @lmliheng/penguin-cli` alone yields a working `penguin` incl. the Web UI (needs Node >= 24).# The publish flow mirrors AgentHub's publish.yml: OIDC trusted publishing (environment: npm +# id-token: write, no token). A Trusted Publisher can only be configured in the settings page of a# package that ALREADY EXISTS on the registry, so a brand-new package cannot be first-published by@@ -46,7 +46,7 @@ name: Release# Fork note (Adelie, 2026-10-05): upstream's release pipeline is dispatch-only here. On a tag push# it would build the penguin/ one-line-installer bundles and publish @lmliheng/* and-# @prismshadow/penguin-* to npm -- the upstream product, out of our fork. None of that is Adelie's,+# @lmliheng/penguin-* to npm -- the upstream product, out of our fork. None of that is Adelie's,# and an accidental `git push --tags` must not be able to start it. Adelie's own release pipeline is# still to be written (FORK-PROGRESS.md 4.2); until then this file is kept for reference and can# only be run by hand, from the Actions tab.@@ -218,11 +218,11 @@ jobs:# operator adds it. One prefix serves every payload below (native parts per platform).- name: Assemble penguin/ (lib + web + bin + plugins)run: |- pnpm --config.node-linker=hoisted --filter @prismshadow/penguin-cli --prod deploy "$PWD/out/penguin/lib"+ pnpm --config.node-linker=hoisted --filter @lmliheng/penguin-cli --prod deploy "$PWD/out/penguin/lib"cp -r packages/web/dist out/penguin/webinstall -D -m 755 scripts/launchers/penguin out/penguin/bin/penguinnode scripts/build-plugins.mjs --out out/penguin/lib/plugins- test -f out/penguin/lib/plugins/node_modules/@prismshadow/penguin-plugin-sandbox-bwrap/package.json+ test -f out/penguin/lib/plugins/node_modules/@lmliheng/penguin-plugin-sandbox-bwrap/package.json# Program payloads: linux runtimes use .tar.xz, darwin .tar.gz (nodejs.org naming);# node/ is only lightly trimmed (drop share/doc and share/man, keep the rest). Payloads@@ -533,7 +533,7 @@ jobs:contents: readenvironment:name: npm- url: https://www.npmjs.com/package/@prismshadow/penguin-cli+ url: https://www.npmjs.com/package/@lmliheng/penguin-clisteps:- uses: actions/checkout@v5with:@@ -621,9 +621,9 @@ jobs:- name: Build and testrun: |pnpm -r build- pnpm --filter @prismshadow/penguin-core test- pnpm --filter @prismshadow/penguin-server test- pnpm --filter @prismshadow/penguin-cli test+ pnpm --filter @lmliheng/penguin-core test+ pnpm --filter @lmliheng/penguin-server test+ pnpm --filter @lmliheng/penguin-cli test# Copy LICENSE into the package dirs (the files allowlist includes it, so artifacts ship the license)# and the built web assets into the server package (web-dist/, in its files allowlist: an npm install@@ -656,7 +656,7 @@ jobs:# deps, rewritten to their versions at publish time, so they must exist first.for dir in plugins/*/; do# Read the name and the private flag out of the manifest rather than building a name- # from the directory: plugins/sandbox-* are @prismshadow/penguin-plugin-sandbox-* and+ # from the directory: plugins/sandbox-* are @lmliheng/penguin-plugin-sandbox-* and# private, so a derived name queries a package that does not exist and filters to# nothing. Publishing is driven by what each package says it is.name="$(node -p "require('./$dir/package.json').name")"@@ -672,7 +672,7 @@ jobs:pnpm --filter "$name" publish --access public --no-git-checksdonefor pkg in core server cli; do- name="@prismshadow/penguin-$pkg"+ name="@lmliheng/penguin-$pkg"if [ -n "$(npm view "$name@$V" version 2>/dev/null || true)" ]; thenecho "$name@$V already on the registry, skipping."continuediff --git a/Dockerfile b/Dockerfileindex 56a98f04..38f007c0 100644--- a/Dockerfile+++ b/Dockerfile@@ -142,8 +142,8 @@ ENV ELECTRON_SKIP_BINARY_DOWNLOAD=1RUN set -eux; \pnpm install --frozen-lockfile; \pnpm --config.verify-deps-before-run=false \- --filter "@prismshadow/penguin-cli..." \- --filter "@prismshadow/penguin-web" \+ --filter "@lmliheng/penguin-cli..." \+ --filter "@lmliheng/penguin-web" \build# The payload layout every release artifact uses, and the one scripts/launchers/penguin@@ -152,7 +152,7 @@ RUN set -eux; \# The hoisted node-linker is part of that recipe — it keeps paths short enough for Windows,# and it is the layout `npm rebuild` walks in the next stage.RUN set -eux; \- pnpm --config.node-linker=hoisted --filter @prismshadow/penguin-cli --prod deploy "$PWD/out/penguin/lib"; \+ pnpm --config.node-linker=hoisted --filter @lmliheng/penguin-cli --prod deploy "$PWD/out/penguin/lib"; \cp -r packages/web/dist out/penguin/web; \mkdir -p /opt/penguin; \mv out/penguin/lib /opt/penguin/lib; \diff --git a/FORK-PROGRESS.md b/FORK-PROGRESS.mdindex 765015b3..1b5e70ff 100644--- a/FORK-PROGRESS.md+++ b/FORK-PROGRESS.md@@ -848,3 +848,47 @@ systemctl enable --now penguin-server逐个发这 14 个包,一条命令的事,等一句准话。- `@prismshadow/penguin-{core,server,cli}` 仍在**上游 scope** 里、同样发不上去;要让整条链都进`@lmliheng`,是另一次改名(宿主包名、安装脚本、桌面打包坐标、文档都会动),这轮没碰。++## 宿主包也换成 `@lmliheng`(2026-10-05,用户点单)++### 用户说的++「宿主包一起换成我的 scope」++### 做了什么++- 全仓 `@prismshadow/penguin*` → `@lmliheng/penguin*`:9 个工作区包改名 —— core、server、cli 是+ 对外发布的三个,ui/web/desktop/docs/hmr/ui-gallery 是 private;`examples/*` 的示例包名一并改。+- 826 个文件(含 `pnpm-lock.yaml`,由 `pnpm install` 重写):源码 import、样式表+ `@import "@lmliheng/penguin-ui/theme.css"`、CI 的 `--filter` 选择器、release.yml 的 deploy 与+ publish 步骤、Dockerfile、安装脚本、docs、`.agents/` 下的技能说明。+- 三处 sed 抓不到的写法手工改:`packages/cli/src/commands/update.ts` 里把 npm 全局路径拆成两段判断的+ `"@prismshadow" && "penguin-cli"`(漏改会让自更新认不出 npm 全局安装);几个测试正则里的+ `@prismshadow\/penguin-ui`(斜杠被转义);desktop `electron-builder.yml` 注释里的示例 scope。+- **没改**:`@prismshadow/agenthub`(第三方依赖,hiyouga 发布,82 处)及 `pnpm-workspace.yaml` 里对它的+ `minimumReleaseAgeExclude` 条目;`FORK.md`/`README.zh.md` 里作为「要被替换的旧名」出现的+ `@prismshadow/*` 文字;changelog 与 `RELEASE-v0.2.0.md`(历史记录)。+- 顺带补了上一轮留下的红:`packages/ui-gallery` 的 mock 路由缺+ `DELETE /api/projects/:projectId/dirs`(上一轮做「删除空目录」时没给画廊补,+ `test/mock-api.test.ts` 因此一直红着)。++### 验证++- `pnpm install`:9 个工作区包全部新名;lockfile 里 `@lmliheng/penguin*` 35 处、旧名 0 处。+- `pnpm -r build` 全绿(desktop 的 build-assets 按新名打了 4 个沙箱插件包)。+- `pnpm -r test` 全绿:docs 62、ui 1000、core 1350、sandbox-seatbelt 17、sandbox-wsl 25、+ sandbox-dsh 5、sandbox-bwrap 24、server 2592、cli 505、web 2891、desktop 279、ui-gallery 131。+- `pnpm typecheck` 全包 Done;`pnpm lint` 0;`pnpm format:check` 干净(名字变短后有几处 import 需要+ 重新折行,已 `prettier --write`)。+- 按 release.yml 手工走了一遍发布链路:`pnpm --config.node-linker=hoisted --filter @lmliheng/penguin-cli+ --prod deploy out/penguin/lib`(356 个包,`node_modules/@lmliheng/` 下 14 个插件 + core/server 齐全)→+ `node scripts/build-plugins.mjs --out out/penguin/lib/plugins` →+ `out/penguin/lib/plugins/node_modules/@lmliheng/penguin-plugin-sandbox-bwrap/package.json` 在。+ 跑完把 `out/` 删了(暂存物,不入库)。++### 后果 / 待办++- 整条链(core/server/cli + 14 个插件)现在都在 `@lmliheng` 下,**都还没发过 npm**:安装、自更新+ (`penguin update` 打的是 `@lmliheng/penguin-cli@<version>`)和发版之前,得先手工首发布一次;+ `node scripts/check-publishable.mjs --registry --strict` 会列出要补的名字。+- 桌面壳的 Windows AppUserModelID 是 `com.lmliheng.adelie`(早先品牌轮次已改),与包 scope 无关,没动。diff --git a/README.zh.md b/README.zh.mdindex e921b87f..0e297e45 100644--- a/README.zh.md+++ b/README.zh.md@@ -112,13 +112,13 @@ https://github.com/user-attachments/assets/aec49ae9-b743-467b-b247-37bedfeaa36e```bash# 装依赖(跳过 desktop / electron:它要下一个运行时,跑 Web 用不到)pnpm install --frozen-lockfile \- --filter @prismshadow/penguin-core --filter @prismshadow/penguin-ui \- --filter @prismshadow/penguin-server --filter @prismshadow/penguin-web \- --filter @prismshadow/penguin-cli --filter @prismshadow/penguin-hmr+ --filter @lmliheng/penguin-core --filter @lmliheng/penguin-ui \+ --filter @lmliheng/penguin-server --filter @lmliheng/penguin-web \+ --filter @lmliheng/penguin-cli --filter @lmliheng/penguin-hmr# 构建(core 的导出指向 dist/,不先构建就跑不起来)-pnpm -r --filter @prismshadow/penguin-core --filter @prismshadow/penguin-server \- --filter @prismshadow/penguin-web run build+pnpm -r --filter @lmliheng/penguin-core --filter @lmliheng/penguin-server \+ --filter @lmliheng/penguin-web run build# 起服务端 + 已构建的 Web 前端cd packages/server@@ -131,7 +131,7 @@ API key 才能跑任务。> [!WARNING]> 上游 README 里的那些方式 —— `curl https://penguin.ooo/install.sh | sh`、-> `npm install -g @prismshadow/penguin-cli`、`docker run hiyouga/penguinharness`、+> `npm install -g @lmliheng/penguin-cli`、`docker run hiyouga/penguinharness`、> <https://penguin.ooo/download> 上的桌面安装包 —— 装出来的是 **PenguinHarness**,不是 Adelie。> 那些渠道在 Adelie 发布自己的产物之前,仍然属于上游。diff --git a/THIRD-PARTY-NOTICES.md b/THIRD-PARTY-NOTICES.mdindex c91cc749..39316b25 100644--- a/THIRD-PARTY-NOTICES.md+++ b/THIRD-PARTY-NOTICES.md@@ -10,7 +10,7 @@ programs below are downloaded by the release workflow (`.github/workflows/releasalongside the application inside the release archives. The fonts are part of the built web assets:the build takes the MiSans files from this repository and copies every other font out of an npmdependency. The web assets ship wherever the Web App does, and that includes npm:-`@prismshadow/penguin-cli` depends on `@prismshadow/penguin-server`, whose package carries them as+`@lmliheng/penguin-cli` depends on `@lmliheng/penguin-server`, whose package carries them as`web-dist/`. Installing from npm therefore bundles the fonts, but none of those programs.What earns an entry is a third-party work redistributed **as its own file**, or third-party code@@ -307,7 +307,7 @@ Email: [email protected]## GenericAgent — the built-in browser's page scriptsAdapted into this repository's source, so present wherever the server ships: every release archive,-the desktop application, and the `@prismshadow/penguin-server` npm package.+the desktop application, and the `@lmliheng/penguin-server` npm package.The built-in browser's page scripts under `packages/server/src/builtin-browser/page-scripts/` (theDOM simplification that `penguin browser scan` returns, and the change monitor behinddiff --git a/examples/build-agent-with-agent/README.md b/examples/build-agent-with-agent/README.mdindex 6e43a980..b15ebdf0 100644--- a/examples/build-agent-with-agent/README.md+++ b/examples/build-agent-with-agent/README.md@@ -38,7 +38,7 @@ uses the project's default model, so no model id is hard-coded in the script.## 3. Run the example-From the repo root (build the workspace first so `@prismshadow/penguin-core` resolves to its+From the repo root (build the workspace first so `@lmliheng/penguin-core` resolves to its`dist/`):```bashdiff --git a/examples/build-agent-with-agent/README.zh.md b/examples/build-agent-with-agent/README.zh.mdindex e785799c..59c6eac0 100644--- a/examples/build-agent-with-agent/README.zh.md+++ b/examples/build-agent-with-agent/README.zh.md@@ -37,7 +37,7 @@ penguin config model add \## 3. 运行示例-从仓库根目录(先构建 workspace,好让 `@prismshadow/penguin-core` 解析到它的 `dist/`):+从仓库根目录(先构建 workspace,好让 `@lmliheng/penguin-core` 解析到它的 `dist/`):```bashpnpm installdiff --git a/examples/build-agent-with-agent/build-agent.ts b/examples/build-agent-with-agent/build-agent.tsindex 58c4819b..01aa7b8d 100644--- a/examples/build-agent-with-agent/build-agent.ts+++ b/examples/build-agent-with-agent/build-agent.ts@@ -18,7 +18,7 @@ import {userText,isCompleteModelMessage,type OmniMessage,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";/** Stream a Session run to stdout and collect the assistant's final text. */async function runToStdout(run: AsyncGenerator<OmniMessage>): Promise<string> {diff --git a/examples/build-agent-with-agent/package.json b/examples/build-agent-with-agent/package.jsonindex ad1b6eab..dc998a17 100644--- a/examples/build-agent-with-agent/package.json+++ b/examples/build-agent-with-agent/package.json@@ -1,12 +1,12 @@{- "name": "@prismshadow/example-build-agent-with-agent",+ "name": "@lmliheng/example-build-agent-with-agent","private": true,"type": "module","scripts": {"start": "tsx build-agent.ts"},"dependencies": {- "@prismshadow/penguin-core": "workspace:*"+ "@lmliheng/penguin-core": "workspace:*"},"devDependencies": {"tsx": "^4.20.0"diff --git a/examples/self-improving-agent/package.json b/examples/self-improving-agent/package.jsonindex 38ad9e26..313e1bf0 100644--- a/examples/self-improving-agent/package.json+++ b/examples/self-improving-agent/package.json@@ -1,12 +1,12 @@{- "name": "@prismshadow/example-self-improving-agent",+ "name": "@lmliheng/example-self-improving-agent","private": true,"type": "module","scripts": {"start": "tsx self-evolve-recursive.ts"},"dependencies": {- "@prismshadow/penguin-core": "workspace:*"+ "@lmliheng/penguin-core": "workspace:*"},"devDependencies": {"tsx": "^4.20.0"diff --git a/examples/self-improving-agent/self-evolve-recursive.ts b/examples/self-improving-agent/self-evolve-recursive.tsindex 4b29d38d..17d97183 100644--- a/examples/self-improving-agent/self-evolve-recursive.ts+++ b/examples/self-improving-agent/self-evolve-recursive.ts@@ -27,7 +27,7 @@ import {userText,isCompleteModelMessage,type OmniMessage,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";const AGENT_ID = "self-improve-demo";const PROJECT_ID = "default_project";diff --git a/examples/self-improving-agent/self-evolve.ts b/examples/self-improving-agent/self-evolve.tsindex 05d45612..505ca282 100644--- a/examples/self-improving-agent/self-evolve.ts+++ b/examples/self-improving-agent/self-evolve.ts@@ -31,7 +31,7 @@ import {userText,isCompleteModelMessage,type OmniMessage,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";const AGENT_ID = "self-improve-demo";const PROJECT_ID = "default_project";diff --git a/examples/self-improving-agent/self-improve.ts b/examples/self-improving-agent/self-improve.tsindex dc5631f5..ace091fb 100644--- a/examples/self-improving-agent/self-improve.ts+++ b/examples/self-improving-agent/self-improve.ts@@ -34,7 +34,7 @@ import {userText,isCompleteModelMessage,type OmniMessage,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";const AGENT_ID = "self-improve-demo";const PROJECT_ID = "default_project";diff --git a/install.ps1 b/install.ps1index c0303e5a..f537dbbc 100644--- a/install.ps1+++ b/install.ps1@@ -23,7 +23,7 @@# such zips are still accepted, from -Version pins and -ArchivePath files alike.## There is no -Universal on Windows: where the zip is unsuitable, install Node.js >= 24 and run-# `npm install -g @prismshadow/penguin-cli` instead.+# `npm install -g @lmliheng/penguin-cli` instead.## The data dir (%USERPROFILE%\.adelie\data by default) sits under the install home but is never touched by# reinstall/upgrade (which only replace bin/lib/web/node/git). Upgrading = re-running this installer.@@ -193,7 +193,7 @@ if ($DownloadBaseUrl -and $DownloadFallbackBaseUrl) {# --- Platform preconditions: 64-bit Windows; the only Windows package is x64 (ARM64 runs it emulated) ---if (-not [Environment]::Is64BitOperatingSystem) {- Fail "32-bit Windows is not supported. Install Node.js >= 24 and use: npm install -g @prismshadow/penguin-cli"+ Fail "32-bit Windows is not supported. Install Node.js >= 24 and use: npm install -g @lmliheng/penguin-cli"}if ($env:PROCESSOR_ARCHITECTURE -eq "ARM64") {Write-Host "note: no native ARM64 package yet; installing the x64 package (runs via emulation)."diff --git a/package.json b/package.jsonindex dc2dbbd8..ac0eecb9 100644--- a/package.json+++ b/package.json@@ -15,20 +15,20 @@"ifaces:page": "pnpm gen:ifaces && node scripts/iface-page.mjs --in packages/server/src/ifaces.json --out dist-ifaces","typecheck": "pnpm gen:ifaces && pnpm -r typecheck","test": "pnpm -r test",- "test:e2e": "pnpm --filter @prismshadow/penguin-core test:e2e",+ "test:e2e": "pnpm --filter @lmliheng/penguin-core test:e2e","build": "pnpm -r build && pnpm link:cli","link:cli": "pnpm --dir packages/cli link --global || echo '[link:cli] pnpm global directory not configured; skipping the global penguin link (run pnpm setup once first)'","penguin": "node scripts/run-with-env.mjs PENGUIN_HOME=~/.penguin/dev-data-cli PENGUIN_PROFILE=dev PORT=7369 -- tsx packages/cli/src/penguin.ts","dev": "concurrently -n server,web -c cyan,magenta \"pnpm dev:server\" \"pnpm dev:web\"",- "dev:server": "pnpm --filter @prismshadow/penguin-server dev",- "dev:web": "node scripts/dev-prebuild.mjs && pnpm --filter @prismshadow/penguin-web dev",- "dev:docs": "node scripts/dev-prebuild.mjs --install-only && pnpm --filter @prismshadow/penguin-docs dev",- "dev:gallery": "node scripts/dev-prebuild.mjs --install-only && pnpm --filter @prismshadow/penguin-ui-gallery dev",+ "dev:server": "pnpm --filter @lmliheng/penguin-server dev",+ "dev:web": "node scripts/dev-prebuild.mjs && pnpm --filter @lmliheng/penguin-web dev",+ "dev:docs": "node scripts/dev-prebuild.mjs --install-only && pnpm --filter @lmliheng/penguin-docs dev",+ "dev:gallery": "node scripts/dev-prebuild.mjs --install-only && pnpm --filter @lmliheng/penguin-ui-gallery dev","desktop": "pnpm -r build && node scripts/run-with-env.mjs PENGUIN_HOME=~/.penguin/dev-data -- pnpm --dir packages/desktop start"},"devDependencies": {- "@prismshadow/penguin-cli": "workspace:*",- "@prismshadow/penguin-core": "workspace:*",+ "@lmliheng/penguin-cli": "workspace:*",+ "@lmliheng/penguin-core": "workspace:*","@types/node": "^24.0.0","concurrently": "^10.0.4","esbuild": "^0.28.1",diff --git a/packages/cli/README.md b/packages/cli/README.mdindex 863e1855..b995c589 100644--- a/packages/cli/README.md+++ b/packages/cli/README.md@@ -1,9 +1,9 @@-# @prismshadow/penguin-cli+# @lmliheng/penguin-cliThe Adelie command line. Installs the `penguin` command: an interactive REPL, a one-shot task runner, model / vault configuration, and the launcher for the Web service.```bash-npm install -g @prismshadow/penguin-cli # requires Node >= 24+npm install -g @lmliheng/penguin-cli # requires Node >= 24``````bash@@ -31,9 +31,9 @@ Prefer a one-line install with a bundled Node runtime? See [Quickstart → CLI a```bashpnpm penguin <args> # run from source (repo root, via tsx)-pnpm --filter @prismshadow/penguin-cli build # tsup → dist/index.js (the penguin bin)-pnpm --filter @prismshadow/penguin-cli typecheck-pnpm --filter @prismshadow/penguin-cli test+pnpm --filter @lmliheng/penguin-cli build # tsup → dist/index.js (the penguin bin)+pnpm --filter @lmliheng/penguin-cli typecheck+pnpm --filter @lmliheng/penguin-cli test```Part of [Adelie](https://github.com/Prism-Shadow/penguin-harness) · Apache-2.0diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex a4f852bb..cb9d02de 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,8 +1,8 @@{- "name": "@prismshadow/penguin-cli",+ "name": "@lmliheng/penguin-cli","version": "0.2.13","type": "module",- "description": "Adelie CLI: interactive REPL and single-task runner over @prismshadow/penguin-core.",+ "description": "Adelie CLI: interactive REPL and single-task runner over @lmliheng/penguin-core.","license": "Apache-2.0","repository": {"type": "git",@@ -39,8 +39,8 @@"@lmliheng/use-firecrawl": "workspace:*","@lmliheng/use-claude-code": "workspace:*","@prismshadow/agenthub": "^0.4.15",- "@prismshadow/penguin-core": "workspace:*",- "@prismshadow/penguin-server": "workspace:*",+ "@lmliheng/penguin-core": "workspace:*",+ "@lmliheng/penguin-server": "workspace:*","commander": "^13.0.0","dotenv": "^17.0.0","smol-toml": "^1.3.0",diff --git a/packages/cli/src/approval.ts b/packages/cli/src/approval.tsindex 54761ec0..28d8a9d4 100644--- a/packages/cli/src/approval.ts+++ b/packages/cli/src/approval.ts@@ -6,7 +6,7 @@* Docs: /docs/cli § "Approval modes (--approve)"; /docs/tools § "Approval".*/import { createInterface } from "node:readline";-import type { ApprovalDecision, ApproveFn } from "@prismshadow/penguin-core";+import type { ApprovalDecision, ApproveFn } from "@lmliheng/penguin-core";import { defaultMessages } from "./i18n.js";import type { Messages } from "./i18n.js";diff --git a/packages/cli/src/auth-session.ts b/packages/cli/src/auth-session.tsindex e37dd9e8..e70b97b1 100644--- a/packages/cli/src/auth-session.ts+++ b/packages/cli/src/auth-session.ts@@ -18,7 +18,7 @@ import fs from "node:fs";import http from "node:http";import https from "node:https";import path from "node:path";-import { writeSecretFile } from "@prismshadow/penguin-server/secret-file";+import { writeSecretFile } from "@lmliheng/penguin-server/secret-file";/** Where a login is remembered, beside the data root it belongs to. */export function sessionFile(root: string): string {diff --git a/packages/cli/src/browser-output.ts b/packages/cli/src/browser-output.tsindex 1784eafa..fadf2fb1 100644--- a/packages/cli/src/browser-output.ts+++ b/packages/cli/src/browser-output.ts@@ -22,7 +22,7 @@ import type {BuiltinBrowserStatus,BuiltinBrowserTab,BuiltinBrowserTabsResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import type { Messages } from "./i18n.js";import { renderTable } from "./table.js";diff --git a/packages/cli/src/client.ts b/packages/cli/src/client.tsindex 6b1eb6ab..e0b8e3b9 100644--- a/packages/cli/src/client.ts+++ b/packages/cli/src/client.ts@@ -23,8 +23,8 @@import { spawn } from "node:child_process";import fs from "node:fs";import path from "node:path";-import { resolveRoot } from "@prismshadow/penguin-core";-import { liveServerLock } from "@prismshadow/penguin-server/lock";+import { resolveRoot } from "@lmliheng/penguin-core";+import { liveServerLock } from "@lmliheng/penguin-server/lock";import type { Messages } from "./i18n.js";/** Session-id shape (core's convention); a full id needs no directory search. */diff --git a/packages/cli/src/commands/agent.ts b/packages/cli/src/commands/agent.tsindex d5664864..f5e06dd0 100644--- a/packages/cli/src/commands/agent.ts+++ b/packages/cli/src/commands/agent.ts@@ -11,7 +11,7 @@* Docs: /docs/cli § "penguin agent".*/import type { Command } from "commander";-import type { AgentCreateResponse, AgentSummary } from "@prismshadow/penguin-server/api";+import type { AgentCreateResponse, AgentSummary } from "@lmliheng/penguin-server/api";import { resolveConnection, resolveProjectId, ServerClient } from "../client.js";import { listAgents } from "../server-session.js";import { renderTable } from "../table.js";diff --git a/packages/cli/src/commands/auth.ts b/packages/cli/src/commands/auth.tsindex 70767013..8110aa8d 100644--- a/packages/cli/src/commands/auth.ts+++ b/packages/cli/src/commands/auth.ts@@ -14,8 +14,8 @@* The session lands in `<root>/cli-session.json` (0600) rather than a shell's history.* Docs: /docs/cli § "penguin auth".*/-import { mintApiToken } from "@prismshadow/penguin-server/auth-token";-import { liveServerLock } from "@prismshadow/penguin-server/lock";+import { mintApiToken } from "@lmliheng/penguin-server/auth-token";+import { liveServerLock } from "@lmliheng/penguin-server/lock";import type { Command } from "commander";import {call,diff --git a/packages/cli/src/commands/browser.ts b/packages/cli/src/commands/browser.tsindex 560b0c2e..97b8a062 100644--- a/packages/cli/src/commands/browser.ts+++ b/packages/cli/src/commands/browser.ts@@ -38,7 +38,7 @@ import type {BuiltinBrowserStatus,BuiltinBrowserTab,BuiltinBrowserTabsResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {renderCdpResult,renderExec,diff --git a/packages/cli/src/commands/chat.ts b/packages/cli/src/commands/chat.tsindex bd2637ea..63944379 100644--- a/packages/cli/src/commands/chat.ts+++ b/packages/cli/src/commands/chat.ts@@ -25,9 +25,9 @@*/import { createInterface, type Interface } from "node:readline";import type { Command } from "commander";-import { VERSION } from "@prismshadow/penguin-core";-import type { ApprovalDecision, OmniMessage, ToolCallPayload } from "@prismshadow/penguin-core";-import type { SessionInfo } from "@prismshadow/penguin-server/api";+import { VERSION } from "@lmliheng/penguin-core";+import type { ApprovalDecision, OmniMessage, ToolCallPayload } from "@lmliheng/penguin-core";+import type { SessionInfo } from "@lmliheng/penguin-server/api";import { StreamRenderer, dim, renderHistory } from "../render.js";import { parseGoalCommand } from "../goal-command.js";import { parseThinkingCommand, resolveThinkingLevel } from "../thinking-command.js";diff --git a/packages/cli/src/commands/config.ts b/packages/cli/src/commands/config.tsindex 5c01b442..af3e0f33 100644--- a/packages/cli/src/commands/config.ts+++ b/packages/cli/src/commands/config.ts@@ -62,7 +62,7 @@ import {setVisionModel,unaddableModel,unroutableVendorModel,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import { parseApprovalAnswer } from "../approval.js";import { resolveRootOption } from "../root-option.js";import { getMessages, maskApiKey, type Messages } from "../i18n.js";diff --git a/packages/cli/src/commands/cost.ts b/packages/cli/src/commands/cost.tsindex cb89b5dd..510fb8ee 100644--- a/packages/cli/src/commands/cost.ts+++ b/packages/cli/src/commands/cost.ts@@ -12,7 +12,7 @@* Docs: /docs/cli § "penguin cost".*/import type { Command } from "commander";-import type { UsageResponse } from "@prismshadow/penguin-server/api";+import type { UsageResponse } from "@lmliheng/penguin-server/api";import { humanizeTokens } from "../render.js";import { resolveConnection, resolveProjectId, ServerClient } from "../client.js";import { renderTable } from "../table.js";diff --git a/packages/cli/src/commands/input.ts b/packages/cli/src/commands/input.tsindex a348b8ac..2e346f7c 100644--- a/packages/cli/src/commands/input.ts+++ b/packages/cli/src/commands/input.ts@@ -28,7 +28,7 @@* Docs: /docs/cli § "penguin input".*/import type { Command } from "commander";-import { isModelMessage, type OmniMessage } from "@prismshadow/penguin-core";+import { isModelMessage, type OmniMessage } from "@lmliheng/penguin-core";import { StreamRenderer, dim } from "../render.js";import { parseDurationMs } from "../duration.js";import { promptApproval } from "../approval.js";diff --git a/packages/cli/src/commands/logs.ts b/packages/cli/src/commands/logs.tsindex b111562e..ce567cea 100644--- a/packages/cli/src/commands/logs.ts+++ b/packages/cli/src/commands/logs.ts@@ -25,7 +25,7 @@ import {} from "../client.js";import { getSessionMessages, resolveSessionTarget } from "../server-session.js";import { SessionStream, nextFrameOrDeadline } from "../server-task.js";-import type { OmniMessage } from "@prismshadow/penguin-core";+import type { OmniMessage } from "@lmliheng/penguin-core";import type { Messages } from "../i18n.js";export function registerLogsCommand(program: Command, t: Messages): void {diff --git a/packages/cli/src/commands/ls.ts b/packages/cli/src/commands/ls.tsindex 9938d1fa..29dfb126 100644--- a/packages/cli/src/commands/ls.ts+++ b/packages/cli/src/commands/ls.ts@@ -13,7 +13,7 @@* Docs: /docs/cli § "penguin ls".*/import type { Command } from "commander";-import type { SessionInfo } from "@prismshadow/penguin-server/api";+import type { SessionInfo } from "@lmliheng/penguin-server/api";import {resolveAgentId,resolveConnection,diff --git a/packages/cli/src/commands/org.ts b/packages/cli/src/commands/org.tsindex 3d42ff67..2bcbab0a 100644--- a/packages/cli/src/commands/org.ts+++ b/packages/cli/src/commands/org.ts@@ -71,7 +71,7 @@ import type {OrgTicketsResponse,OrganizationDetail,OrganizationsResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {resolveAgentId,resolveConnection,diff --git a/packages/cli/src/commands/project.ts b/packages/cli/src/commands/project.tsindex 8d867a9a..55e3c51b 100644--- a/packages/cli/src/commands/project.ts+++ b/packages/cli/src/commands/project.ts@@ -5,7 +5,7 @@* Docs: /docs/cli § "penguin project".*/import type { Command } from "commander";-import type { ProjectsResponse } from "@prismshadow/penguin-server/api";+import type { ProjectsResponse } from "@lmliheng/penguin-server/api";import { resolveConnection, ServerClient } from "../client.js";import { renderTable } from "../table.js";import type { Messages } from "../i18n.js";diff --git a/packages/cli/src/commands/reset-password.ts b/packages/cli/src/commands/reset-password.tsindex 1f4793a4..fab2f132 100644--- a/packages/cli/src/commands/reset-password.ts+++ b/packages/cli/src/commands/reset-password.ts@@ -12,8 +12,8 @@* Docs: /docs/cli § "penguin server / penguin web".*/import path from "node:path";-import { resolveRoot } from "@prismshadow/penguin-core";-import { resetAdminPassword } from "@prismshadow/penguin-server/reset-admin-password";+import { resolveRoot } from "@lmliheng/penguin-core";+import { resetAdminPassword } from "@lmliheng/penguin-server/reset-admin-password";import type { Command } from "commander";import type { Messages } from "../i18n.js";diff --git a/packages/cli/src/commands/run.ts b/packages/cli/src/commands/run.tsindex 19baf41f..e83960a3 100644--- a/packages/cli/src/commands/run.ts+++ b/packages/cli/src/commands/run.ts@@ -28,7 +28,7 @@* Docs: /docs/cli § "penguin run".*/import type { Command } from "commander";-import { VERSION } from "@prismshadow/penguin-core";+import { VERSION } from "@lmliheng/penguin-core";import { StreamRenderer, dim } from "../render.js";import { parseDurationMs } from "../duration.js";import { parseTokenBudget, UNLIMITED_BUDGET } from "../goal-command.js";diff --git a/packages/cli/src/commands/schedule.ts b/packages/cli/src/commands/schedule.tsindex 8fbf7b91..f0539a0e 100644--- a/packages/cli/src/commands/schedule.ts+++ b/packages/cli/src/commands/schedule.ts@@ -34,7 +34,7 @@* Docs: /docs/cli § "penguin schedule".*/import type { Command } from "commander";-import type { ScheduleItem, SchedulesResponse } from "@prismshadow/penguin-server/api";+import type { ScheduleItem, SchedulesResponse } from "@lmliheng/penguin-server/api";import {resolveAgentId,resolveConnection,diff --git a/packages/cli/src/commands/serve.ts b/packages/cli/src/commands/serve.tsindex 99477fd6..05c4f05b 100644--- a/packages/cli/src/commands/serve.ts+++ b/packages/cli/src/commands/serve.ts@@ -6,7 +6,7 @@* penguin web [--port <port>] [--host <host>] [--no-open] [--app <project>/<agent>/<workflow>[/<tab>]]** Both are entry points into the same service process: after setting PORT / HOST, it- * dynamically imports `@prismshadow/penguin-server` (whose entry point handles dotenv+ * dynamically imports `@lmliheng/penguin-server` (whose entry point handles dotenv* loading and graceful shutdown on its own), so the two never listen on separate ports* in parallel. Port/host priority: command-line option > existing environment variable* (including .env) > default 7364 / 127.0.0.1. `penguin web` additionally polls until the@@ -28,12 +28,8 @@import { spawn } from "node:child_process";import type { ChildProcess } from "node:child_process";import path from "node:path";-import {- DEFAULT_SERVER_PORT,- SERVER_RESTART_EXIT_CODE,- resolveRoot,-} from "@prismshadow/penguin-core";-import { liveServerLock } from "@prismshadow/penguin-server/lock";+import { DEFAULT_SERVER_PORT, SERVER_RESTART_EXIT_CODE, resolveRoot } from "@lmliheng/penguin-core";+import { liveServerLock } from "@lmliheng/penguin-server/lock";import type { Command } from "commander";import type { Messages, WebProbeFailureKind } from "../i18n.js";import { registerResetPasswordCommand } from "./reset-password.js";@@ -127,7 +123,7 @@ export function cliEntryFor(argv1: string | undefined): string | null {* or null. The server itself re-checks on startup (the in-process backstop); checking* here keeps the friendly path — `penguin server` refuses with the URL, `penguin web`* simply opens the existing instance. Locks live per data root, so a second server on a- * DIFFERENT root is untouched. See @prismshadow/penguin-server/lock.+ * DIFFERENT root is untouched. See @lmliheng/penguin-server/lock.*/async function existingInstanceUrl(): Promise<string | null> {const lock = await liveServerLock(resolveRoot());@@ -210,7 +206,7 @@ async function startServer(supervise(cliEntry, host, port, t);return { host, port };}- await import("@prismshadow/penguin-server");+ await import("@lmliheng/penguin-server");return { host, port };}diff --git a/packages/cli/src/commands/server-status.ts b/packages/cli/src/commands/server-status.tsindex e90d3c93..bc5e2953 100644--- a/packages/cli/src/commands/server-status.ts+++ b/packages/cli/src/commands/server-status.ts@@ -9,7 +9,7 @@* Docs: /docs/cli § "penguin server / penguin web".*/import path from "node:path";-import { readMachineStatus } from "@prismshadow/penguin-server/machine-status";+import { readMachineStatus } from "@lmliheng/penguin-server/machine-status";import type { Command } from "commander";import type { Messages } from "../i18n.js";import { resolveRootOption } from "../root-option.js";diff --git a/packages/cli/src/commands/server-stop.ts b/packages/cli/src/commands/server-stop.tsindex 2c19d50a..caef1d0c 100644--- a/packages/cli/src/commands/server-stop.ts+++ b/packages/cli/src/commands/server-stop.ts@@ -12,7 +12,7 @@* same call on every platform this runs on.* Docs: /docs/cli § "penguin server / penguin web".*/-import { liveServerLock, readServerLock } from "@prismshadow/penguin-server/lock";+import { liveServerLock, readServerLock } from "@lmliheng/penguin-server/lock";import type { Command } from "commander";import type { Messages } from "../i18n.js";import { resolveRootOption } from "../root-option.js";diff --git a/packages/cli/src/commands/update.ts b/packages/cli/src/commands/update.tsindex eb61fa13..18c4949d 100644--- a/packages/cli/src/commands/update.ts+++ b/packages/cli/src/commands/update.ts@@ -6,7 +6,7 @@* There is no single upgrade mechanism, because there is no single install mechanism: the* documented path is the tarball installer (install.sh unpacks bin/lib/web/node into* PENGUIN_INSTALL_DIR, default ~/.adelie), some users have a global npm install of- * @prismshadow/penguin-cli, and developers run out of a source checkout. This command works out+ * @lmliheng/penguin-cli, and developers run out of a source checkout. This command works out* which one it is from the real path of the running CLI and upgrades the way that install was* made — never by guessing. A source checkout is refused outright: overwriting a working tree* would destroy uncommitted work.@@ -31,7 +31,7 @@* therefore fully loaded before any action runs, every message it will print is resolved up front,* and after the child exits it only removes its own temp directory, writes already-computed* strings and sets an exit code. It never `import()`s anything (the CLI's only dynamic import is- * `@prismshadow/penguin-server`, reachable solely from the serve commands), and never re-reads a+ * `@lmliheng/penguin-server`, reachable solely from the serve commands), and never re-reads a* file. On POSIX an unlinked file stays valid for whoever has it open, so the running process is* unaffected.*@@ -61,7 +61,7 @@ import { existsSync, mkdtempSync, rmSync, writeFileSync, realpathSync } from "noimport { homedir, tmpdir } from "node:os";import path from "node:path";import { fileURLToPath } from "node:url";-import { VERSION, compareVersions, normalizeVersion } from "@prismshadow/penguin-core";+import { VERSION, compareVersions, normalizeVersion } from "@lmliheng/penguin-core";import type { Command } from "commander";import type { InstallerSource, Messages } from "../i18n.js";@@ -138,7 +138,7 @@ function segments(p: string): string[] {* app's own Electron runtime as Node and updates it with the app;* - source checkout — `…/packages/cli/{src,dist}/index.{ts,js}` (also how a `pnpm link`-ed dev* build looks once the bin symlink is resolved);- * - npm global — the path runs through `node_modules/@prismshadow/penguin-cli/`;+ * - npm global — the path runs through `node_modules/@lmliheng/penguin-cli/`;* - tarball — `<installDir>/lib/dist/index.js`, the layout install.sh unpacks.** Order matters: a checkout is checked first so a repo that happens to live under a directory@@ -164,10 +164,10 @@ export function detectInstall(modulePath: string, runtime?: { electron: booleanreturn { kind: "source" };}- // …/node_modules/@prismshadow/penguin-cli/…+ // …/node_modules/@lmliheng/penguin-cli/…const nmIdx = parts.findIndex((seg, i) =>- seg === "node_modules" && parts[i + 1] === "@prismshadow" && parts[i + 2] === "penguin-cli",+ seg === "node_modules" && parts[i + 1] === "@lmliheng" && parts[i + 2] === "penguin-cli",);if (nmIdx >= 0) {return { kind: "npm", globalRoot: join(nmIdx + 1) };@@ -206,7 +206,7 @@ export function globalInstallCommand(manager: PackageManager,version: string,): { command: string; args: string[] } {- const spec = `@prismshadow/penguin-cli@${version}`;+ const spec = `@lmliheng/penguin-cli@${version}`;if (manager === "pnpm") return { command: "pnpm", args: ["add", "-g", spec] };if (manager === "yarn") return { command: "yarn", args: ["global", "add", spec] };if (manager === "bun") return { command: "bun", args: ["add", "-g", spec] };diff --git a/packages/cli/src/commands/version.ts b/packages/cli/src/commands/version.tsindex 5cc13b0c..842b16d1 100644--- a/packages/cli/src/commands/version.ts+++ b/packages/cli/src/commands/version.ts@@ -19,8 +19,8 @@*/import path from "node:path";import type { Command } from "commander";-import { buildInfo, resolveRoot } from "@prismshadow/penguin-core";-import { versionReport } from "@prismshadow/penguin-server/version-report";+import { buildInfo, resolveRoot } from "@lmliheng/penguin-core";+import { versionReport } from "@lmliheng/penguin-server/version-report";import type { Messages } from "../i18n.js";export function registerVersionCommand(program: Command, t: Messages): void {diff --git a/packages/cli/src/i18n.ts b/packages/cli/src/i18n.tsindex 5644eb9e..4babd6b8 100644--- a/packages/cli/src/i18n.ts+++ b/packages/cli/src/i18n.ts@@ -1,4 +1,4 @@-import type { OrgChannelNoticeKind } from "@prismshadow/penguin-server/api";+import type { OrgChannelNoticeKind } from "@lmliheng/penguin-server/api";/*** CLI text internationalization (i18n).@@ -1755,7 +1755,7 @@ const en: Messages = {unknownInstall: (modulePath) =>`Cannot tell how this penguin was installed (running from ${modulePath}), so it will not be replaced. Re-install with the official installer, or upgrade with the package manager you used.`,npmUnknownManager: (globalRoot, target) =>- `This is a global install under ${globalRoot}, but the package manager that owns it could not be identified. Upgrade it yourself with that manager, e.g. \`npm install -g @prismshadow/penguin-cli@${target}\`.`,+ `This is a global install under ${globalRoot}, but the package manager that owns it could not be identified. Upgrade it yourself with that manager, e.g. \`npm install -g @lmliheng/penguin-cli@${target}\`.`,windowsUnsupported: () =>"The official installer is a POSIX shell script and does not run on Windows. Re-install from the GitHub Releases page, or use a global npm install instead.",windowsGlobalInstall: (command) =>@@ -2651,7 +2651,7 @@ const zh: Messages = {unknownInstall: (modulePath) =>`无法判断当前 penguin 的安装方式(运行自 ${modulePath}),因此不会替换它。请用官方安装脚本重新安装,或用你当初使用的包管理器升级。`,npmUnknownManager: (globalRoot, target) =>- `这是位于 ${globalRoot} 的全局安装,但无法确定是哪个包管理器安装的。请自行用该包管理器升级,例如 \`npm install -g @prismshadow/penguin-cli@${target}\`。`,+ `这是位于 ${globalRoot} 的全局安装,但无法确定是哪个包管理器安装的。请自行用该包管理器升级,例如 \`npm install -g @lmliheng/penguin-cli@${target}\`。`,windowsUnsupported: () =>"官方安装脚本是 POSIX shell 脚本,无法在 Windows 上运行。请从 GitHub Releases 页面重新安装,或改用 npm 全局安装。",windowsGlobalInstall: (command) =>diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.tsindex b5f00336..3f6cc092 100644--- a/packages/cli/src/index.ts+++ b/packages/cli/src/index.ts@@ -1,13 +1,13 @@/*** The whole CLI as a plain function: commander commands over- * @prismshadow/penguin-core, returning an exit code.+ * @lmliheng/penguin-core, returning an exit code.** Built twice: into this package's `penguin` binary (penguin.ts), and — as the CLI* artifact pushed to POST /api/hmr/upgrade — into the bundle `penguin-hmr` loads from* the HMR store instead (see scripts/deploy.mjs).*/import { Command, CommanderError } from "commander";-import { buildInfo } from "@prismshadow/penguin-core";+import { buildInfo } from "@lmliheng/penguin-core";import { registerAuthCommand } from "./commands/auth.js";import { registerConfigCommand } from "./commands/config.js";import { registerRunCommand } from "./commands/run.js";diff --git a/packages/cli/src/lang-config.ts b/packages/cli/src/lang-config.tsindex b2455de7..fc83032a 100644--- a/packages/cli/src/lang-config.ts+++ b/packages/cli/src/lang-config.ts@@ -11,7 +11,7 @@import { spawn } from "node:child_process";import { mkdir, readFile } from "node:fs/promises";import { dirname, join } from "node:path";-import { atomicWriteFile } from "@prismshadow/penguin-core";+import { atomicWriteFile } from "@lmliheng/penguin-core";import type { Language } from "./i18n.js";const BEGIN = "# >>> Adelie ADELIE_LANG >>>";diff --git a/packages/cli/src/penguin-hmr.ts b/packages/cli/src/penguin-hmr.tsindex 8b09a991..9076083f 100644--- a/packages/cli/src/penguin-hmr.ts+++ b/packages/cli/src/penguin-hmr.ts@@ -7,8 +7,8 @@import "./warnings.js";import "dotenv/config";import { pathToFileURL } from "node:url";-import { resolveRoot } from "@prismshadow/penguin-core";-import { readPushedCli } from "@prismshadow/penguin-server/hmr/manifest";+import { resolveRoot } from "@lmliheng/penguin-core";+import { readPushedCli } from "@lmliheng/penguin-server/hmr/manifest";export async function loadPushedCli(root: string): Promise<(argv: string[]) => Promise<number>> {const pushed = await readPushedCli(root);diff --git a/packages/cli/src/render.ts b/packages/cli/src/render.tsindex 8c8ebfe6..f872203b 100644--- a/packages/cli/src/render.ts+++ b/packages/cli/src/render.ts@@ -42,7 +42,7 @@* all only when the output stream supports color (see `supportsColor`): piped output, e.g. a* nested `penguin run` driven through `exec_command`, must stay plain (#102).*/-import { isEventMessage, isModelMessage, parseUserSteeringText } from "@prismshadow/penguin-core";+import { isEventMessage, isModelMessage, parseUserSteeringText } from "@lmliheng/penguin-core";import type {AbortPayload,ApprovalDecision,@@ -64,7 +64,7 @@ import type {ToolCallPayload,ToolDefinition,ToolListReadyPayload,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import { renderFileToolApprovalPayload, renderPartialToolCall } from "./tool-render.js";import { ToolOutputCollapser, collapseLines } from "./output-collapse.js";import { defaultMessages } from "./i18n.js";diff --git a/packages/cli/src/root-option.ts b/packages/cli/src/root-option.tsindex 952c910e..cf604d5c 100644--- a/packages/cli/src/root-option.ts+++ b/packages/cli/src/root-option.ts@@ -6,7 +6,7 @@* root. Two copies of that rule is two chances for one of them to drift.*/import path from "node:path";-import { resolveRoot } from "@prismshadow/penguin-core";+import { resolveRoot } from "@lmliheng/penguin-core";/** Data root: `--root` first (relative paths against cwd), else `ADELIE_HOME` / ~/.adelie/data. */export function resolveRootOption(root: string | undefined): string {diff --git a/packages/cli/src/server-session.ts b/packages/cli/src/server-session.tsindex 552fd8cc..9915a84e 100644--- a/packages/cli/src/server-session.ts+++ b/packages/cli/src/server-session.ts@@ -1,6 +1,6 @@/*** Session/agent API helpers shared by the server-backed commands (run / chat / ls /- * input / logs / schedule). DTO shapes come from `@prismshadow/penguin-server/api`+ * input / logs / schedule). DTO shapes come from `@lmliheng/penguin-server/api`* (type-only — nothing of the server is loaded at runtime).*/import path from "node:path";@@ -12,8 +12,8 @@ import type {SessionInfo,SessionResponse,SessionsResponse,-} from "@prismshadow/penguin-server/api";-import type { OmniMessage } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-server/api";+import type { OmniMessage } from "@lmliheng/penguin-core";import { resolveSessionRef, ServerClient } from "./client.js";import { dim } from "./render.js";import type { Messages } from "./i18n.js";diff --git a/packages/cli/src/server-task.ts b/packages/cli/src/server-task.tsindex a2039679..09e8da16 100644--- a/packages/cli/src/server-task.ts+++ b/packages/cli/src/server-task.ts@@ -19,9 +19,9 @@ import {isHookContinue,isHookInput,isModelMessage,-} from "@prismshadow/penguin-core";-import type { ApprovalDecision, OmniMessage, ToolCallPayload } from "@prismshadow/penguin-core";-import type { GoalServerEvent } from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-core";+import type { ApprovalDecision, OmniMessage, ToolCallPayload } from "@lmliheng/penguin-core";+import type { GoalServerEvent } from "@lmliheng/penguin-server/api";import { ServerClient } from "./client.js";import type { SseFrame } from "./client.js";import { dim, humanizeTokens } from "./render.js";diff --git a/packages/cli/src/switch-model-command.ts b/packages/cli/src/switch-model-command.tsindex ca2fdc24..320bfe23 100644--- a/packages/cli/src/switch-model-command.ts+++ b/packages/cli/src/switch-model-command.ts@@ -13,7 +13,7 @@* current model first (always summarizing), then opens the next context on the target; a* Session that never ran switches inline.*/-import { DEFAULT_PROJECT_ID } from "@prismshadow/penguin-core";+import { DEFAULT_PROJECT_ID } from "@lmliheng/penguin-core";import type { Messages } from "./i18n.js";/** A model reference as the server API spells it. */diff --git a/packages/cli/src/thinking-command.ts b/packages/cli/src/thinking-command.tsindex 951c984e..b5e6d196 100644--- a/packages/cli/src/thinking-command.ts+++ b/packages/cli/src/thinking-command.ts@@ -16,8 +16,8 @@* never writes back to the Agent config.* - `/thinking` bare shows the Session's pinned level, else the Agent's configured level.*/-import { DEFAULT_CHAT_THINKING_LEVELS } from "@prismshadow/penguin-core";-import type { DefaultChatThinkingLevel, ThinkingLevelName } from "@prismshadow/penguin-core";+import { DEFAULT_CHAT_THINKING_LEVELS } from "@lmliheng/penguin-core";+import type { DefaultChatThinkingLevel, ThinkingLevelName } from "@lmliheng/penguin-core";import type { Messages } from "./i18n.js";/** Parses one level token (trimmed, case-insensitive); null when it is not a selectable level. */diff --git a/packages/cli/src/warnings.ts b/packages/cli/src/warnings.tsindex 5edebf0b..f8d74fc6 100644--- a/packages/cli/src/warnings.ts+++ b/packages/cli/src/warnings.ts@@ -2,7 +2,7 @@* Drops one Node warning, and only that one.** `commands/serve.ts` pulls in `commands/reset-password.ts`, which imports- * `@prismshadow/penguin-server/reset-admin-password` — that reaches `node:sqlite` while+ * `@lmliheng/penguin-server/reset-admin-password` — that reaches `node:sqlite` while* the module graph loads, so on a Node that still flags the builtin experimental every* `penguin` invocation prints* `ExperimentalWarning: SQLite is an experimental feature ...`, including the ones whosediff --git a/packages/cli/test/approval.test.ts b/packages/cli/test/approval.test.tsindex d4a1a35b..d125b146 100644--- a/packages/cli/test/approval.test.ts+++ b/packages/cli/test/approval.test.ts@@ -1,7 +1,7 @@import { describe, expect, it } from "vitest";import { Readable, Writable } from "node:stream";-import { toolCall } from "@prismshadow/penguin-core";-import type { OmniMessage, ToolCallPayload } from "@prismshadow/penguin-core";+import { toolCall } from "@lmliheng/penguin-core";+import type { OmniMessage, ToolCallPayload } from "@lmliheng/penguin-core";import { makeApprove, promptApproval, resolveApprovalMode } from "../src/approval.js";import { getMessages } from "../src/i18n.js";diff --git a/packages/cli/test/browser-commands.test.ts b/packages/cli/test/browser-commands.test.tsindex 911bb59f..0350758f 100644--- a/packages/cli/test/browser-commands.test.ts+++ b/packages/cli/test/browser-commands.test.ts@@ -10,7 +10,7 @@ import os from "node:os";import path from "node:path";import { PassThrough } from "node:stream";import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";-import type { BuiltinBrowserExecResult, BuiltinBrowserTab } from "@prismshadow/penguin-server/api";+import type { BuiltinBrowserExecResult, BuiltinBrowserTab } from "@lmliheng/penguin-server/api";import { cli } from "../src/index.js";import { getMessages } from "../src/i18n.js";import { localMinute, RETURN_LIMIT, renderExec } from "../src/browser-output.js";diff --git a/packages/cli/test/chat-switch-model.test.ts b/packages/cli/test/chat-switch-model.test.tsindex 71f07254..93319108 100644--- a/packages/cli/test/chat-switch-model.test.ts+++ b/packages/cli/test/chat-switch-model.test.ts@@ -10,7 +10,7 @@import { PassThrough } from "node:stream";import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";import { Command } from "commander";-import { compactionBegin, compactionEnd, sessionMeta } from "@prismshadow/penguin-core";+import { compactionBegin, compactionEnd, sessionMeta } from "@lmliheng/penguin-core";import { registerChatCommand } from "../src/commands/chat.js";import { getMessages } from "../src/i18n.js";import { FakeServer } from "./fake-server.js";diff --git a/packages/cli/test/chat-thinking.test.ts b/packages/cli/test/chat-thinking.test.tsindex 12a9a71d..e667ff4e 100644--- a/packages/cli/test/chat-thinking.test.ts+++ b/packages/cli/test/chat-thinking.test.ts@@ -9,11 +9,7 @@import { PassThrough } from "node:stream";import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";import { Command } from "commander";-import {- partialToolCall,- partialToolCallOutput,- type OmniMessage,-} from "@prismshadow/penguin-core";+import { partialToolCall, partialToolCallOutput, type OmniMessage } from "@lmliheng/penguin-core";import { registerChatCommand } from "../src/commands/chat.js";import { getMessages } from "../src/i18n.js";import { FakeServer } from "./fake-server.js";diff --git a/packages/cli/test/config-format.test.ts b/packages/cli/test/config-format.test.tsindex 72972527..b5a6c529 100644--- a/packages/cli/test/config-format.test.ts+++ b/packages/cli/test/config-format.test.ts@@ -6,7 +6,7 @@* inline; fully empty columns are omitted automatically.*/import { describe, expect, it } from "vitest";-import type { ProjectConfig } from "@prismshadow/penguin-core";+import type { ProjectConfig } from "@lmliheng/penguin-core";import { formatModelRows } from "../src/commands/config.js";describe("formatModelRows", () => {diff --git a/packages/cli/test/config-model.test.ts b/packages/cli/test/config-model.test.tsindex 2fa7f670..e5dacd46 100644--- a/packages/cli/test/config-model.test.ts+++ b/packages/cli/test/config-model.test.ts@@ -17,7 +17,7 @@ import path from "node:path";import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";import { Command } from "commander";import { parse as parseToml } from "smol-toml";-import { DEFAULT_PROJECT_ID, projectConfigPath } from "@prismshadow/penguin-core";+import { DEFAULT_PROJECT_ID, projectConfigPath } from "@lmliheng/penguin-core";import { registerConfigCommand } from "../src/commands/config.js";import { getMessages } from "../src/i18n.js";diff --git a/packages/cli/test/config-vault.test.ts b/packages/cli/test/config-vault.test.tsindex 9f35faf1..5aff1cb2 100644--- a/packages/cli/test/config-vault.test.ts+++ b/packages/cli/test/config-vault.test.ts@@ -10,7 +10,7 @@ import os from "node:os";import path from "node:path";import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";import { Command } from "commander";-import { agentVaultPath, DEFAULT_PROJECT_ID } from "@prismshadow/penguin-core";+import { agentVaultPath, DEFAULT_PROJECT_ID } from "@lmliheng/penguin-core";import { registerConfigCommand } from "../src/commands/config.js";import { getMessages } from "../src/i18n.js";diff --git a/packages/cli/test/dev-entry-isolation.test.ts b/packages/cli/test/dev-entry-isolation.test.tsindex d12e2d02..092fcb7a 100644--- a/packages/cli/test/dev-entry-isolation.test.ts+++ b/packages/cli/test/dev-entry-isolation.test.ts@@ -21,7 +21,7 @@ import os from "node:os";import path from "node:path";import { fileURLToPath } from "node:url";import { describe, expect, it } from "vitest";-import { DEFAULT_SERVER_PORT } from "@prismshadow/penguin-core";+import { DEFAULT_SERVER_PORT } from "@lmliheng/penguin-core";const cliDir = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");const repoRoot = path.resolve(cliDir, "..", "..");diff --git a/packages/cli/test/render.test.ts b/packages/cli/test/render.test.tsindex c1b91668..fa9987bf 100644--- a/packages/cli/test/render.test.ts+++ b/packages/cli/test/render.test.ts@@ -19,8 +19,8 @@ import {partialToolCall,partialToolCallOutput,withOrigin,-} from "@prismshadow/penguin-core";-import type { MessageOrigin } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";+import type { MessageOrigin } from "@lmliheng/penguin-core";import {StreamRenderer,formatAbort,@@ -963,7 +963,7 @@ describe("StreamRenderer — nested (origin-tagged) subagent messages", () => {describe("renderHistory (resume)", () => {it("renders complete messages statically with interruption markers", async () => {const { renderHistory } = await import("../src/render.js");- const { userText } = await import("@prismshadow/penguin-core");+ const { userText } = await import("@lmliheng/penguin-core");const { stream, text } = collector();renderHistory([diff --git a/packages/cli/test/serve.test.ts b/packages/cli/test/serve.test.tsindex c0df6d17..46ae73f6 100644--- a/packages/cli/test/serve.test.ts+++ b/packages/cli/test/serve.test.ts@@ -1,7 +1,7 @@import { afterEach, describe, expect, it, vi } from "vitest";import path from "node:path";import { Command } from "commander";-import { DEFAULT_SERVER_PORT } from "@prismshadow/penguin-core";+import { DEFAULT_SERVER_PORT } from "@lmliheng/penguin-core";import {DEFAULT_HOST,DEFAULT_PORT,diff --git a/packages/cli/test/server-commands.test.ts b/packages/cli/test/server-commands.test.tsindex 41a63da0..80799d09 100644--- a/packages/cli/test/server-commands.test.ts+++ b/packages/cli/test/server-commands.test.ts@@ -11,7 +11,7 @@ import {partialText,userText,type OmniMessage,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import { cli } from "../src/index.js";import { getMessages } from "../src/i18n.js";import { FakeServer } from "./fake-server.js";diff --git a/packages/cli/test/thinking-command.test.ts b/packages/cli/test/thinking-command.test.tsindex 37af3b59..3466d251 100644--- a/packages/cli/test/thinking-command.test.ts+++ b/packages/cli/test/thinking-command.test.ts@@ -6,7 +6,7 @@ import {} from "../src/thinking-command.js";import type { ThinkingConfigSource } from "../src/thinking-command.js";import { getMessages } from "../src/i18n.js";-import { DEFAULT_CHAT_THINKING_LEVELS } from "@prismshadow/penguin-core";+import { DEFAULT_CHAT_THINKING_LEVELS } from "@lmliheng/penguin-core";describe("parseThinkingLevel", () => {it("accepts every selectable tier (trimmed, case-insensitive)", () => {diff --git a/packages/cli/test/update-refusal-markers.test.ts b/packages/cli/test/update-refusal-markers.test.tsindex c15d53da..034442f3 100644--- a/packages/cli/test/update-refusal-markers.test.ts+++ b/packages/cli/test/update-refusal-markers.test.ts@@ -46,7 +46,7 @@ const MARKERS: ReadonlyArray<{ marker: string; name: string; message: string }>{marker: "cannot run your package manager for you",name: "windowsGlobalInstall",- message: en.windowsGlobalInstall("npm install -g @prismshadow/[email protected]"),+ message: en.windowsGlobalInstall("npm install -g @lmliheng/[email protected]"),},];diff --git a/packages/cli/test/update.test.ts b/packages/cli/test/update.test.tsindex 5a043a27..26ce588e 100644--- a/packages/cli/test/update.test.ts+++ b/packages/cli/test/update.test.ts@@ -51,13 +51,13 @@ describe.skipIf(process.platform === "win32")(it("npm global: npm's own prefix layout", () => {expect(- detectInstall("/usr/local/lib/node_modules/@prismshadow/penguin-cli/dist/index.js"),+ detectInstall("/usr/local/lib/node_modules/@lmliheng/penguin-cli/dist/index.js"),).toEqual({ kind: "npm", globalRoot: "/usr/local/lib/node_modules" });});it("npm global: pnpm's global store, through the .pnpm virtual dir", () => {const p =- "/home/me/.local/share/pnpm/global/5/node_modules/.pnpm/@[email protected]/node_modules/@prismshadow/penguin-cli/dist/index.js";+ "/home/me/.local/share/pnpm/global/5/node_modules/.pnpm/@[email protected]/node_modules/@lmliheng/penguin-cli/dist/index.js";const info = detectInstall(p);expect(info.kind).toBe("npm");expect(info.globalRoot).toContain(".pnpm");@@ -113,19 +113,19 @@ describe("globalInstallCommand", () => {it("uses each manager's own global-install spelling", () => {expect(globalInstallCommand("pnpm", "0.1.2")).toEqual({command: "pnpm",- args: ["add", "-g", "@prismshadow/[email protected]"],+ args: ["add", "-g", "@lmliheng/[email protected]"],});expect(globalInstallCommand("npm", "0.1.2")).toEqual({command: "npm",- args: ["install", "-g", "@prismshadow/[email protected]"],+ args: ["install", "-g", "@lmliheng/[email protected]"],});expect(globalInstallCommand("yarn", "0.1.2")).toEqual({command: "yarn",- args: ["global", "add", "@prismshadow/[email protected]"],+ args: ["global", "add", "@lmliheng/[email protected]"],});expect(globalInstallCommand("bun", "0.1.2")).toEqual({command: "bun",- args: ["add", "-g", "@prismshadow/[email protected]"],+ args: ["add", "-g", "@lmliheng/[email protected]"],});});});@@ -476,7 +476,7 @@ describe("planUpdate (what the command decides before it touches anything)", ()action: "npm",manager: "npm",command: "npm",- args: ["install", "-g", "@prismshadow/[email protected]"],+ args: ["install", "-g", "@lmliheng/[email protected]"],});});@@ -517,7 +517,7 @@ describe("planUpdate (what the command decides before it touches anything)", ()expect(planUpdate({ ...base, platform: "win32", install: npmGlobal })).toEqual({action: "refuse",reason: "windows-global",- command: "npm install -g @prismshadow/[email protected]",+ command: "npm install -g @lmliheng/[email protected]",});});diff --git a/packages/cli/test/version.test.ts b/packages/cli/test/version.test.tsindex 2de405b1..e182077c 100644--- a/packages/cli/test/version.test.ts+++ b/packages/cli/test/version.test.ts@@ -9,9 +9,9 @@ import os from "node:os";import path from "node:path";import { describe, expect, it } from "vitest";import { Command } from "commander";-import { buildInfo } from "@prismshadow/penguin-core";-import type { VersionReport } from "@prismshadow/penguin-core";-import { versionReport } from "@prismshadow/penguin-server/version-report";+import { buildInfo } from "@lmliheng/penguin-core";+import type { VersionReport } from "@lmliheng/penguin-core";+import { versionReport } from "@lmliheng/penguin-server/version-report";import { registerVersionCommand } from "../src/commands/version.js";import { cli } from "../src/index.js";import { getMessages } from "../src/i18n.js";diff --git a/packages/cli/tsup.config.ts b/packages/cli/tsup.config.tsindex 1100a2f8..b825bdfc 100644--- a/packages/cli/tsup.config.ts+++ b/packages/cli/tsup.config.ts@@ -10,17 +10,17 @@ export default defineConfig({platform: "node",clean: true,sourcemap: true,- // Bundle the workspace source @prismshadow/penguin-core, but keep third-party deps (incl.+ // Bundle the workspace source @lmliheng/penguin-core, but keep third-party deps (incl.// CJS yaml / smol-toml / agenthub) external and resolved from node_modules at runtime —// avoids bundling CJS deps into ESM and triggering a "Dynamic require" error.// The @lmliheng/* plugin packages are data-only and never imported as modules: the// bundled core loader resolves their directories through this package's own dependencies// (files are the source of truth), which is why the CLI declares them directly.- // @prismshadow/penguin-server stays external: the penguin server / web commands import it+ // @lmliheng/penguin-server stays external: the penguin server / web commands import it// dynamically at runtime.// tsup treats this package's package.json dependencies as external by default, so these// deps are already declared there.- noExternal: ["@prismshadow/penguin-core"],+ noExternal: ["@lmliheng/penguin-core"],banner: { js: "#!/usr/bin/env node" },define: buildGitDefine(),});diff --git a/packages/core/README.md b/packages/core/README.mdindex 37fe2a65..ba96c52d 100644--- a/packages/core/README.md+++ b/packages/core/README.md@@ -1,11 +1,11 @@-# @prismshadow/penguin-core+# @lmliheng/penguin-coreThe Adelie SDK and execution engine: the ReAct loop (`context_engine`), the OmniMessage protocol, the LLM / Environment interface contracts, Agent State and append-only Traces.The engine speaks only OmniMessage and delegates everything else through two swappable interfaces — `LLMInterface` (models, via the [`@prismshadow/agenthub`](https://www.npmjs.com/package/@prismshadow/agenthub) gateway) and `EnvironmentInterface` (tool execution). The SDK caller is the Human boundary: one entry point, `session.run`, streams the whole loop.```ts-import { createAgent, isCompleteModelMessage, userText } from "@prismshadow/penguin-core";+import { createAgent, isCompleteModelMessage, userText } from "@lmliheng/penguin-core";const agent = await createAgent({ agentId: "default_agent" });const session = await agent.createSession({ workspaceDir: process.cwd() });@@ -32,9 +32,9 @@ A single `run` drives a complete Task: streaming output, per-call approvals, con## Development```bash-pnpm --filter @prismshadow/penguin-core build # tsup → dist/ (exports point at dist)-pnpm --filter @prismshadow/penguin-core typecheck-pnpm --filter @prismshadow/penguin-core test+pnpm --filter @lmliheng/penguin-core build # tsup → dist/ (exports point at dist)+pnpm --filter @lmliheng/penguin-core typecheck+pnpm --filter @lmliheng/penguin-core testpnpm test:e2e # live-model e2e (needs DEEPSEEK_API_KEY)```diff --git a/packages/core/package.json b/packages/core/package.jsonindex 9186d2d1..895fb9c2 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -1,5 +1,5 @@{- "name": "@prismshadow/penguin-core",+ "name": "@lmliheng/penguin-core","version": "0.2.13","type": "module","engines": {diff --git a/packages/core/src/index.ts b/packages/core/src/index.tsindex d156685e..ae8347a6 100644--- a/packages/core/src/index.ts+++ b/packages/core/src/index.ts@@ -1,5 +1,5 @@/**- * @prismshadow/penguin-core — public entry point for the Adelie core SDK.+ * @lmliheng/penguin-core — public entry point for the Adelie core SDK.** Exports the OmniMessage protocol, the three interface contracts (Human/LLM/Environment),* and the runtime entry points for Agent / Session / context_engine along with theirdiff --git a/packages/core/src/interfaces/index.ts b/packages/core/src/interfaces/index.tsindex a68c2d83..2df64259 100644--- a/packages/core/src/interfaces/index.ts+++ b/packages/core/src/interfaces/index.ts@@ -2,7 +2,7 @@* Internal SDK interface contracts, split by which side of `context_engine` needs them:* `./llm.ts` (the model request), `./environment.ts` (tool execution and the environment's* management plane), and `./shared.ts` (the vocabulary both genuinely need). This barrel is- * the published `@prismshadow/penguin-core/interfaces` entry and re-exports all three, so+ * the published `@lmliheng/penguin-core/interfaces` entry and re-exports all three, so* every existing import path keeps working.** `context_engine` only handles OmniMessage: the content crossing all three boundaries isdiff --git a/packages/core/src/kernel/decorators.ts b/packages/core/src/kernel/decorators.tsindex 89c12cb2..d16be014 100644--- a/packages/core/src/kernel/decorators.ts+++ b/packages/core/src/kernel/decorators.ts@@ -47,8 +47,8 @@ export interface ClassFields {bind: Map<string, string>;}-const META = Symbol.for("@prismshadow/penguin-core/kernel:meta");-const FIELDS = Symbol.for("@prismshadow/penguin-core/kernel:fields");+const META = Symbol.for("@lmliheng/penguin-core/kernel:meta");+const FIELDS = Symbol.for("@lmliheng/penguin-core/kernel:fields");/** The meta a class was decorated with, or undefined for an undecorated class. */export function metaOf(cls: ModuleClass): Meta | undefined {diff --git a/packages/core/src/omnimessage/index.ts b/packages/core/src/omnimessage/index.tsindex d96736b8..eb8df91b 100644--- a/packages/core/src/omnimessage/index.ts+++ b/packages/core/src/omnimessage/index.ts@@ -2,5 +2,5 @@ export * from "./types.js";export * from "./builders.js";export * from "./aggregate.js";// Special message markers ([user_steering], [use_skills], [handoff_from], …): one module,-// also reachable directly as `@prismshadow/penguin-core/markers`.+// also reachable directly as `@lmliheng/penguin-core/markers`.export * from "./markers/index.js";diff --git a/packages/core/src/plugin/index.ts b/packages/core/src/plugin/index.tsindex 101ac119..dae29cb8 100644--- a/packages/core/src/plugin/index.ts+++ b/packages/core/src/plugin/index.ts@@ -4,7 +4,7 @@* Types, plus the five decorators — the same ones the harness's own modules are written* with (core kernel/decorators.ts: no imports, so a plugin's bundle carries them and* nothing else of the SDK). The host that drives a plugin lives in whatever embeds this- * SDK (for the harness, `@prismshadow/penguin-server/plugin`); a plugin reaches THAT with+ * SDK (for the harness, `@lmliheng/penguin-server/plugin`); a plugin reaches THAT with* `import type` only and stays a self-contained library that happens to satisfy an* interface.*@@ -34,7 +34,7 @@* packaged boot and each hot-swap boot alike — so what a module registers never* survives into a generation it did not register with. What it may require is what the* host publishes as interfaces (for the harness: everything under- * `@prismshadow/penguin-server/plugin`); the requirement is checked structurally,+ * `@lmliheng/penguin-server/plugin`); the requirement is checked structurally,* at signature level, before the module is created.*/import type { ModuleClass } from "../kernel/decorators.js";diff --git a/packages/core/src/state/builtin-agents.ts b/packages/core/src/state/builtin-agents.tsindex 5e46e4c3..d57ad490 100644--- a/packages/core/src/state/builtin-agents.ts+++ b/packages/core/src/state/builtin-agents.ts@@ -1,5 +1,5 @@/**- * Preset content for builtin Agents; the plugin library lives in @prismshadow/penguin-plugins+ * Preset content for builtin Agents; the plugin library lives in @lmliheng/penguin-plugins* (the library files are read live when building the preset).** - Every Project comes with a single builtin Agent: `default_agent` (the General Agent, thediff --git a/packages/core/test/plugins.test.ts b/packages/core/test/plugins.test.tsindex 93b96a00..4da66e7e 100644--- a/packages/core/test/plugins.test.ts+++ b/packages/core/test/plugins.test.ts@@ -357,7 +357,7 @@ describe("workspacePluginRoot (a checkout reads plugins from the repo's plugins/// Where core itself sits in that checkout: its own injected copy, deep under .pnpm.const core = path.join(root,- "node_modules/.pnpm/@prismshadow+penguin-core@file+packages+core/node_modules/@prismshadow/penguin-core",+ "node_modules/.pnpm/@lmliheng+penguin-core@file+packages+core/node_modules/@lmliheng/penguin-core",);await fs.mkdir(core, { recursive: true });return { root, source, injected, core };diff --git a/packages/desktop/electron-builder.yml b/packages/desktop/electron-builder.ymlindex 811ec31d..d494e944 100644--- a/packages/desktop/electron-builder.yml+++ b/packages/desktop/electron-builder.yml@@ -60,7 +60,7 @@ files:- from: ../web/distto: web-dist# The app's own metadata, which the workspace package.json cannot carry: deb and AppImage-# derive package and executable names from `name`, where "@prismshadow/…" is invalid, and+# derive package and executable names from `name`, where "@lmliheng/…" is invalid, and# fpm refuses to build without a homepage. It does NOT decide the app data directory: the# shell calls app.setName() before anything reads userData, so that keeps the name# src/app-identity.ts chooses per form.diff --git a/packages/desktop/package.json b/packages/desktop/package.jsonindex 2e0a507b..884e16e9 100644--- a/packages/desktop/package.json+++ b/packages/desktop/package.json@@ -1,9 +1,9 @@{- "name": "@prismshadow/penguin-desktop",+ "name": "@lmliheng/penguin-desktop","version": "0.2.13","private": true,"type": "module",- "description": "Adelie desktop app: Electron shell running @prismshadow/penguin-server as a utilityProcess, window on http://localhost (same-origin HTTP/SSE, no private IPC).",+ "description": "Adelie desktop app: Electron shell running @lmliheng/penguin-server as a utilityProcess, window on http://localhost (same-origin HTTP/SSE, no private IPC).","main": "dist/main.js","scripts": {"build": "tsup && node scripts/build-assets.mjs",@@ -32,9 +32,9 @@"@lmliheng/use-claude-code": "workspace:*"},"devDependencies": {- "@prismshadow/penguin-cli": "workspace:*",- "@prismshadow/penguin-core": "workspace:*",- "@prismshadow/penguin-server": "workspace:*",+ "@lmliheng/penguin-cli": "workspace:*",+ "@lmliheng/penguin-core": "workspace:*",+ "@lmliheng/penguin-server": "workspace:*","@types/node": "^24.0.0","electron": "^43.2.0","electron-builder": "^26.16.1",diff --git a/packages/desktop/src/attach-session.ts b/packages/desktop/src/attach-session.tsindex 2143a7d7..b6b01471 100644--- a/packages/desktop/src/attach-session.ts+++ b/packages/desktop/src/attach-session.ts@@ -17,7 +17,7 @@** Pure, and free of Electron: the minter is a parameter, so the tests drive every outcome.*/-import type { MintedVia, MintTokenResult } from "@prismshadow/penguin-server/auth-token";+import type { MintedVia, MintTokenResult } from "@lmliheng/penguin-server/auth-token";import { isAppUrl } from "./util.js";/**diff --git a/packages/desktop/src/builtin-browser-rules.ts b/packages/desktop/src/builtin-browser-rules.tsindex 03cfb637..b749c027 100644--- a/packages/desktop/src/builtin-browser-rules.ts+++ b/packages/desktop/src/builtin-browser-rules.ts@@ -13,7 +13,7 @@ import type {DesktopBrowserCommand,DesktopBrowserCommandMessage,DesktopBrowserCookie,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import type { TrayLocale } from "./tray-menu.js";/** The guests' own session: independent sign-ins and profile, persisted under userData. */diff --git a/packages/desktop/src/builtin-browser.ts b/packages/desktop/src/builtin-browser.tsindex 38a37fb9..0be84b9c 100644--- a/packages/desktop/src/builtin-browser.ts+++ b/packages/desktop/src/builtin-browser.ts@@ -31,7 +31,7 @@ import type {DesktopBrowserEvent,DesktopBrowserEventMessage,DesktopBrowserReplyMessage,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {BUILTIN_BROWSER_PARTITION,BUILTIN_BROWSER_PROTOCOL_VERSION,diff --git a/packages/desktop/src/folder-access.ts b/packages/desktop/src/folder-access.tsindex c416da09..994cba16 100644--- a/packages/desktop/src/folder-access.ts+++ b/packages/desktop/src/folder-access.ts@@ -23,7 +23,7 @@ import type {DesktopFolderAccessResultMessage,DesktopOpenPrivacySettingsMessage,DesktopPrivacyPane,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";export interface FolderAccessDeps {platform: NodeJS.Platform;diff --git a/packages/desktop/src/launcher.ts b/packages/desktop/src/launcher.tsindex ee579c21..feca2bad 100644--- a/packages/desktop/src/launcher.ts+++ b/packages/desktop/src/launcher.ts@@ -4,7 +4,7 @@* imports the built dist/launcher.js to write the launcher scripts into this package's* bin/, which electron-builder then ships inside the app directory.*- * The launchers run the bundled @prismshadow/penguin-cli on the app's own Electron+ * The launchers run the bundled @lmliheng/penguin-cli on the app's own Electron* runtime as Node (ELECTRON_RUN_AS_NODE), so an installed desktop app provides a* working `penguin` command without any system Node installation. How bin/ reaches* PATH is per platform (see cli-install.ts and build/linux/*.tpl for the deb variant).diff --git a/packages/desktop/src/main.ts b/packages/desktop/src/main.tsindex b5e9e7d3..675a890a 100644--- a/packages/desktop/src/main.ts+++ b/packages/desktop/src/main.ts@@ -60,10 +60,10 @@ import os from "node:os";import path from "node:path";import { app, BrowserWindow, dialog, session, shell } from "electron";import type { WindowOpenHandlerResponse } from "electron";-import { resolveRoot } from "@prismshadow/penguin-core";-import { mintApiToken } from "@prismshadow/penguin-server/auth-token";-import { liveServerLock } from "@prismshadow/penguin-server/lock";-import type { ServerLock } from "@prismshadow/penguin-server/lock";+import { resolveRoot } from "@lmliheng/penguin-core";+import { mintApiToken } from "@lmliheng/penguin-server/auth-token";+import { liveServerLock } from "@lmliheng/penguin-server/lock";+import type { ServerLock } from "@lmliheng/penguin-server/lock";import { appIdentity, desktopDataRoot, resolveProfile } from "./app-identity.js";import {createSignInGuard,diff --git a/packages/desktop/src/server-process.ts b/packages/desktop/src/server-process.tsindex 3be10fbb..c8a6b104 100644--- a/packages/desktop/src/server-process.ts+++ b/packages/desktop/src/server-process.ts@@ -1,5 +1,5 @@/**- * Embedded server lifecycle: forks @prismshadow/penguin-server as an Electron+ * Embedded server lifecycle: forks @lmliheng/penguin-server as an Electron* utilityProcess (same Node runtime, isolated from the main process), learns the actual* port from the PENGUIN_PORT_FILE announcement, probes HTTP readiness, and stops the* server gracefully — shutdown endpoint first (the only graceful path on Windows, where@@ -35,7 +35,7 @@ function delay(ms: number): Promise<void> {}/**- * The server bundle — forked by path. tsup emits @prismshadow/penguin-server as one+ * The server bundle — forked by path. tsup emits @lmliheng/penguin-server as one* self-contained file in this package's dist/, so a source run and a packaged app fork the* same artifact from the same app-path-relative location (asar is off, see* electron-builder.yml, so it is a plain file either way).diff --git a/packages/desktop/src/tray-prefs.ts b/packages/desktop/src/tray-prefs.tsindex 63bfc7b2..97a91031 100644--- a/packages/desktop/src/tray-prefs.ts+++ b/packages/desktop/src/tray-prefs.ts@@ -27,7 +27,7 @@ import path from "node:path";import type {DesktopTrayCommandMessage,DesktopTrayStatusMessage,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import type { TrayLocale } from "./tray-menu.js";/** Preference file name, inside the app's userData directory. */diff --git a/packages/desktop/src/updater-status.ts b/packages/desktop/src/updater-status.tsindex b5853e53..c456bb47 100644--- a/packages/desktop/src/updater-status.ts+++ b/packages/desktop/src/updater-status.ts@@ -31,7 +31,7 @@ import type {DesktopUpdateStatus,DesktopUpdaterCommandMessage,DesktopUpdaterStatusMessage,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";/** electron-updater's events, reduced to what the status needs. */export type UpdaterEvent =diff --git a/packages/desktop/src/updater.ts b/packages/desktop/src/updater.tsindex ac6c92dd..0197d9d8 100644--- a/packages/desktop/src/updater.ts+++ b/packages/desktop/src/updater.ts@@ -34,7 +34,7 @@ import electronUpdater from "electron-updater";import type {DesktopUpdateStatus,DesktopUpdaterCommandMessage,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import { resolveProfile } from "./app-identity.js";import { logLine } from "./desktop-log.js";import { feedUrlOverride, updateSupport } from "./update-support.js";diff --git a/packages/desktop/test/attach-session.test.ts b/packages/desktop/test/attach-session.test.tsindex 708e32d7..266a712a 100644--- a/packages/desktop/test/attach-session.test.ts+++ b/packages/desktop/test/attach-session.test.ts@@ -7,7 +7,7 @@ import fs from "node:fs";import path from "node:path";import { fileURLToPath } from "node:url";import { describe, expect, it } from "vitest";-import type { MintedVia, MintTokenResult } from "@prismshadow/penguin-server/auth-token";+import type { MintedVia, MintTokenResult } from "@lmliheng/penguin-server/auth-token";import {ATTACH_SESSION_TTL_MS,createSignInGuard,diff --git a/packages/desktop/test/folder-access.test.ts b/packages/desktop/test/folder-access.test.tsindex ada1be35..c49b029c 100644--- a/packages/desktop/test/folder-access.test.ts+++ b/packages/desktop/test/folder-access.test.ts@@ -5,7 +5,7 @@* answers without touching the disk.*/import { describe, expect, it, vi } from "vitest";-import type { DesktopFolderAccessResultMessage } from "@prismshadow/penguin-server/api";+import type { DesktopFolderAccessResultMessage } from "@lmliheng/penguin-server/api";import {folderAccessReply,handleFolderAccessFrame,diff --git a/packages/desktop/test/updater-status.test.ts b/packages/desktop/test/updater-status.test.tsindex 438f326f..4cc15065 100644--- a/packages/desktop/test/updater-status.test.ts+++ b/packages/desktop/test/updater-status.test.ts@@ -11,7 +11,7 @@* `checking`, which would drop the download context and every later progress tick with it.*/import { describe, expect, it } from "vitest";-import type { DesktopUpdateStatus } from "@prismshadow/penguin-server/api";+import type { DesktopUpdateStatus } from "@lmliheng/penguin-server/api";import {initialUpdateStatus,nextUpdateStatus,diff --git a/packages/docs/README.md b/packages/docs/README.mdindex 37f76357..da06caff 100644--- a/packages/docs/README.md+++ b/packages/docs/README.md@@ -1,4 +1,4 @@-# @prismshadow/penguin-docs+# @lmliheng/penguin-docsThe PenguinHarness documentation site (React + Vite + Tailwind CSS 4). Its own package, sharing the landing page's visual language: bilingual pages (zh/en), light/dark themes, a sidebar + per-page table of contents, and a "Copy Markdown" button on every page.@@ -21,9 +21,9 @@ Navigation (sections, order, prev/next) is defined once in `src/lib/nav.ts`; a v```bashpnpm dev:docs # http://127.0.0.1:7367 (repo root script)-pnpm --filter @prismshadow/penguin-docs build # dist/ + per-route shells for deep links-pnpm --filter @prismshadow/penguin-docs typecheck-pnpm --filter @prismshadow/penguin-docs test+pnpm --filter @lmliheng/penguin-docs build # dist/ + per-route shells for deep links+pnpm --filter @lmliheng/penguin-docs typecheck+pnpm --filter @lmliheng/penguin-docs test```## Deployment@@ -32,7 +32,7 @@ Deployed to GitHub Pages together with the landing page as one artifact: `script```bashBASE_PATH=/ pnpm build:site # assemble locally-pnpm --filter @prismshadow/penguin-landing preview # serve the assembled site+pnpm --filter @lmliheng/penguin-landing preview # serve the assembled site```Deep links work without a 404 fallback: the post-build step copies the SPA shell to `dist/<slug>/index.html` for every content slug.diff --git a/packages/docs/content/architecture.en.md b/packages/docs/content/architecture.en.mdindex 3476040a..4c3e9c41 100644--- a/packages/docs/content/architecture.en.md+++ b/packages/docs/content/architecture.en.md@@ -3,7 +3,7 @@ title: Architecturedescription: How the SDK, Server, CLI and Web App divide responsibilities, and how the three-interface boundary and OmniMessage organize the system.----PenguinHarness is a pnpm monorepo. Its center is the execution engine in `@prismshadow/penguin-core`. The Server ships with the product as the Human implementation of that engine: it runs every Task. SDK embedders can also drive the engine directly.+PenguinHarness is a pnpm monorepo. Its center is the execution engine in `@lmliheng/penguin-core`. The Server ships with the product as the Human implementation of that engine: it runs every Task. SDK embedders can also drive the engine directly.The Web App and the CLI are clients of the Server over HTTP and SSE, and the desktop app wraps the Server and the Web App in one window. This page covers the layers, the engine's three-interface boundary, the [data flow of one Task](#data-flow-of-one-task), where each responsibility lives, and the source layout.@@ -146,7 +146,7 @@ packages/```textpackages/web/src-├── api/ # fetch wrapper · one function per API (DTOs type-only from @prismshadow/penguin-server/api) · SSE wrapper+├── api/ # fetch wrapper · one function per API (DTOs type-only from @lmliheng/penguin-server/api) · SSE wrapper├── state/ # auth / project / sessions / company / theme / locale contexts├── lib/omni/ # OmniMessage stream → view-model reducer; connect-first + dedup stream controller├── components/ # ui primitives (modal / drawer / select …) and the app layoutdiff --git a/packages/docs/content/architecture.zh.md b/packages/docs/content/architecture.zh.mdindex c2e9e4fa..97e7df53 100644--- a/packages/docs/content/architecture.zh.md+++ b/packages/docs/content/architecture.zh.md@@ -3,7 +3,7 @@ title: 架构总览description: SDK、Server、CLI 和 Web App 如何分工,以及三接口边界与 OmniMessage 如何组织整个系统。----PenguinHarness 是一个 pnpm monorepo,核心是 `@prismshadow/penguin-core` 里的执行引擎。Server 是随产品交付的 Human 实现,所有 Task 都由它运行;SDK 嵌入方也可以直接驱动引擎。+PenguinHarness 是一个 pnpm monorepo,核心是 `@lmliheng/penguin-core` 里的执行引擎。Server 是随产品交付的 Human 实现,所有 Task 都由它运行;SDK 嵌入方也可以直接驱动引擎。Web App 和 CLI 经 HTTP 与 SSE 访问 Server,桌面应用则把 Server 和 Web App 装进同一个窗口。本页依次介绍分层结构、引擎的三接口边界、[一个 Task 的数据流](#一个-task-的数据流)、各项职责的归属和源码结构。@@ -146,7 +146,7 @@ packages/```textpackages/web/src-├── api/ # fetch wrapper · one function per API (DTOs type-only from @prismshadow/penguin-server/api) · SSE wrapper+├── api/ # fetch wrapper · one function per API (DTOs type-only from @lmliheng/penguin-server/api) · SSE wrapper├── state/ # auth / project / sessions / company / theme / locale contexts├── lib/omni/ # OmniMessage stream → view-model reducer; connect-first + dedup stream controller├── components/ # ui primitives (modal / drawer / select …) and the app layoutdiff --git a/packages/docs/content/cli.en.md b/packages/docs/content/cli.en.mdindex 2ac5c5b9..85eea2b6 100644--- a/packages/docs/content/cli.en.md+++ b/packages/docs/content/cli.en.md@@ -5,7 +5,7 @@ description: Every penguin command and subcommand, with its options, defaults, oThis page documents every `penguin` command. It opens with how the CLI reaches a server and the conventions all commands share, then gives each command a summary, its usage, an options table and examples.-The CLI ships as the npm package `@prismshadow/penguin-cli`, and the command is `penguin`. Bare `penguin` prints help. `-v, --version` prints the running build's one-line identity, and `penguin version --json` prints all of it. On startup the CLI loads a `.env` file from the working directory.+The CLI ships as the npm package `@lmliheng/penguin-cli`, and the command is `penguin`. Bare `penguin` prints help. `-v, --version` prints the running build's one-line identity, and `penguin version --json` prints all of it. On startup the CLI loads a `.env` file from the working directory.The CLI is a thin client of the server. Every session-facing command (`run`, `chat`, `ls`, `input`, `logs`, `agent`, `project`, `cost`, `schedule`, `org`, `browser`) sends HTTP requests to a PenguinHarness server and renders the replies. Tasks run on the server, Sessions live in its index, and the Web App sees everything the CLI creates, and the other way round. Only `config` still edits the Project's files directly, and `server` / `web` start the service itself.@@ -785,7 +785,7 @@ The flag is `--release`, not `--version`, because `-v, --version` is the CLI's o| Install kind | How it upgrades || --- | --- || Tarball (`install.sh`, default `~/.penguin`) | Re-runs the official installer, keeping the install directory and whether the package bundles a Node runtime |-| Global npm, pnpm, yarn or bun install | Runs that package manager's global install of `@prismshadow/penguin-cli@<target>`. If the manager cannot be identified, prints the command instead of guessing |+| Global npm, pnpm, yarn or bun install | Runs that package manager's global install of `@lmliheng/penguin-cli@<target>`. If the manager cannot be identified, prints the command instead of guessing || Source checkout | Refused: update it with `git pull` and a rebuild || The desktop app's bundled CLI | Refused: it is replaced when the app updates, so check for updates from the app menu || Unrecognized layout | Refused: reinstall with the official installer, or upgrade with the package manager you used |diff --git a/packages/docs/content/cli.zh.md b/packages/docs/content/cli.zh.mdindex 291848b7..aa6b719f 100644--- a/packages/docs/content/cli.zh.md+++ b/packages/docs/content/cli.zh.md@@ -5,7 +5,7 @@ description: 所有 penguin 命令和子命令的选项、默认值、输出结本页收录所有 `penguin` 命令。开头先说明 CLI 如何连接服务器,以及所有命令共享的约定;随后逐条介绍每个命令,各配一段概述、用法、选项表和示例。-CLI 以 npm 包 `@prismshadow/penguin-cli` 发布,命令名为 `penguin`。直接运行 `penguin` 会打印帮助。`-v, --version` 打印当前构建的一行标识信息,`penguin version --json` 则打印完整信息。启动时,CLI 会从工作目录加载 `.env` 文件。+CLI 以 npm 包 `@lmliheng/penguin-cli` 发布,命令名为 `penguin`。直接运行 `penguin` 会打印帮助。`-v, --version` 打印当前构建的一行标识信息,`penguin version --json` 则打印完整信息。启动时,CLI 会从工作目录加载 `.env` 文件。CLI 是服务器的瘦客户端。所有面向会话的命令(`run`、`chat`、`ls`、`input`、`logs`、`agent`、`project`、`cost`、`schedule`、`org`、`browser`)都向 PenguinHarness 服务器发送 HTTP 请求,并渲染返回结果。Task 在服务器上运行,Session 存放在服务器的索引里;CLI 创建的一切 Web App 都能看到,反过来也一样。只有 `config` 仍直接编辑 Project 的文件,`server` / `web` 则负责启动服务本身。@@ -785,7 +785,7 @@ penguin update # upgrade to the latest release, after confirming| 安装类型 | 升级方式 || --- | --- || 压缩包(`install.sh`,默认 `~/.penguin`) | 重新运行官方安装器,保留原安装目录以及安装包是否自带 Node 运行时 |-| npm、pnpm、yarn 或 bun 全局安装 | 用对应的包管理器全局安装 `@prismshadow/penguin-cli@<target>`。无法识别包管理器时,打印命令而不是猜测 |+| npm、pnpm、yarn 或 bun 全局安装 | 用对应的包管理器全局安装 `@lmliheng/penguin-cli@<target>`。无法识别包管理器时,打印命令而不是猜测 || 源码检出 | 拒绝:请用 `git pull` 加重新构建来更新 || 桌面应用内置的 CLI | 拒绝:应用更新时会随之替换,请从应用菜单检查更新 || 无法识别的布局 | 拒绝:请用官方安装器重新安装,或用当初的包管理器升级 |diff --git a/packages/docs/content/configuration.en.md b/packages/docs/content/configuration.en.mdindex 6fb4b223..9634fc39 100644--- a/packages/docs/content/configuration.en.md+++ b/packages/docs/content/configuration.en.md@@ -165,7 +165,7 @@ The `[plugins]` table lists the [server plugins](/skills#server-plugins) the Pro```toml[plugins]-"@prismshadow/penguin-plugin-sandbox-bwrap" = "*"+"@lmliheng/penguin-plugin-sandbox-bwrap" = "*""@scope/name" = "1.2.3""@scope/other" = { version = "1.2" }```diff --git a/packages/docs/content/configuration.zh.md b/packages/docs/content/configuration.zh.mdindex 2d51b3f9..4ef3a831 100644--- a/packages/docs/content/configuration.zh.md+++ b/packages/docs/content/configuration.zh.md@@ -165,7 +165,7 @@ output = 1.142857```toml[plugins]-"@prismshadow/penguin-plugin-sandbox-bwrap" = "*"+"@lmliheng/penguin-plugin-sandbox-bwrap" = "*""@scope/name" = "1.2.3""@scope/other" = { version = "1.2" }```diff --git a/packages/docs/content/interfaces.en.md b/packages/docs/content/interfaces.en.mdindex 2cf22722..c149c7a6 100644--- a/packages/docs/content/interfaces.en.md+++ b/packages/docs/content/interfaces.en.md@@ -7,12 +7,12 @@ The `context_engine` depends on three interfaces: Human, LLM and Environment. AlThis page follows a turn's control flow: [the Human boundary](#the-human-boundary), the [LLM contract](#llminterface), the [approval callback](#approvefn) and the [Environment contract](#environmentinterface). It ends with the [subagent](#subagent-interfaces) and [vision](#visiondescriberservice) services and the [extension seams](#extension-seams).-All types are exported by `@prismshadow/penguin-core`. The source lives in `packages/core/src/interfaces/`:+All types are exported by `@lmliheng/penguin-core`. The source lives in `packages/core/src/interfaces/`:- `llm.ts`: what the model side needs.- `environment.ts`: what the Environment side needs.- `shared.ts`: the vocabulary both sides genuinely need.-- `index.ts`: the barrel behind the `@prismshadow/penguin-core/interfaces` subpath.+- `index.ts`: the barrel behind the `@lmliheng/penguin-core/interfaces` subpath.## The three boundaries@@ -281,7 +281,7 @@ interface ConfinedSpawn {env?: Readonly<Record<string, string>>; // entries the sandbox runner itself needs, laid over the command's env}-// The policy itself (@prismshadow/penguin-core/plugin). "danger-full-access" with no network cut+// The policy itself (@lmliheng/penguin-core/plugin). "danger-full-access" with no network cut// and no masked path is the sandbox off.type SandboxSettings = {mode: "read-only" | "workspace-write" | "danger-full-access";diff --git a/packages/docs/content/interfaces.zh.md b/packages/docs/content/interfaces.zh.mdindex f06d3946..19dff3fd 100644--- a/packages/docs/content/interfaces.zh.md+++ b/packages/docs/content/interfaces.zh.md@@ -7,12 +7,12 @@ description: 引擎背后的 Human、LLM 与 Environment 契约,附完整签本页沿一轮运行的控制流展开:[Human 边界](#human-边界)、[LLM 契约](#llminterface)、[审批回调](#approvefn)和 [Environment 契约](#environmentinterface)。结尾介绍[子 Agent](#子-agent-接口) 和[视觉](#visiondescriberservice)服务,以及[扩展点](#扩展点)。-所有类型都从 `@prismshadow/penguin-core` 导出。源码位于 `packages/core/src/interfaces/`:+所有类型都从 `@lmliheng/penguin-core` 导出。源码位于 `packages/core/src/interfaces/`:- `llm.ts`:模型侧需要的类型。- `environment.ts`:Environment 侧需要的类型。- `shared.ts`:两侧真正共用的词汇。-- `index.ts`:`@prismshadow/penguin-core/interfaces` 子路径背后的聚合导出入口。+- `index.ts`:`@lmliheng/penguin-core/interfaces` 子路径背后的聚合导出入口。## 三条边界@@ -281,7 +281,7 @@ interface ConfinedSpawn {env?: Readonly<Record<string, string>>; // entries the sandbox runner itself needs, laid over the command's env}-// The policy itself (@prismshadow/penguin-core/plugin). "danger-full-access" with no network cut+// The policy itself (@lmliheng/penguin-core/plugin). "danger-full-access" with no network cut// and no masked path is the sandbox off.type SandboxSettings = {mode: "read-only" | "workspace-write" | "danger-full-access";diff --git a/packages/docs/content/introduction.en.md b/packages/docs/content/introduction.en.mdindex dab55367..650aa9c6 100644--- a/packages/docs/content/introduction.en.md+++ b/packages/docs/content/introduction.en.md@@ -21,11 +21,11 @@ PenguinHarness is made of these components. They share one data root and one mes| Component | Package | Description || --- | --- | --- |-| SDK | `@prismshadow/penguin-core` | The core engine: the ReAct loop, the [OmniMessage protocol](/omni-message), the LLM and Environment [interface contracts](/interfaces), Agent State and Trace. |-| CLI | `@prismshadow/penguin-cli` | The `penguin` command: an interactive REPL, one-shot Task runs, and model and Vault configuration. |-| Server | `@prismshadow/penguin-server` | The Web backend: the HTTP [API and SSE streaming](/server-api), multi-user auth, Project authorization and usage statistics. |-| Web App | `@prismshadow/penguin-web` | The browser UI: multi-session chat, agent management, the plugin library, model configuration, Trace observability and the Evaluation Center. |-| Desktop app | `@prismshadow/penguin-desktop` | The Web App as a standalone application for macOS, Windows and Linux. It embeds the server and installs the `penguin` command. |+| SDK | `@lmliheng/penguin-core` | The core engine: the ReAct loop, the [OmniMessage protocol](/omni-message), the LLM and Environment [interface contracts](/interfaces), Agent State and Trace. |+| CLI | `@lmliheng/penguin-cli` | The `penguin` command: an interactive REPL, one-shot Task runs, and model and Vault configuration. |+| Server | `@lmliheng/penguin-server` | The Web backend: the HTTP [API and SSE streaming](/server-api), multi-user auth, Project authorization and usage statistics. |+| Web App | `@lmliheng/penguin-web` | The browser UI: multi-session chat, agent management, the plugin library, model configuration, Trace observability and the Evaluation Center. |+| Desktop app | `@lmliheng/penguin-desktop` | The Web App as a standalone application for macOS, Windows and Linux. It embeds the server and installs the `penguin` command. |## The three pillarsdiff --git a/packages/docs/content/introduction.zh.md b/packages/docs/content/introduction.zh.mdindex b6931993..6db2320f 100644--- a/packages/docs/content/introduction.zh.md+++ b/packages/docs/content/introduction.zh.md@@ -21,11 +21,11 @@ PenguinHarness 由下面这些组件构成。它们共用同一个数据目录| 组件 | 包名 | 说明 || --- | --- | --- |-| SDK | `@prismshadow/penguin-core` | 核心引擎:ReAct 循环、[OmniMessage 协议](/omni-message)、LLM 与 Environment 的[接口契约](/interfaces)、Agent State 与 Trace。 |-| CLI | `@prismshadow/penguin-cli` | `penguin` 命令:交互式 REPL、单次 Task 运行,以及模型与 Vault 配置。 |-| Server | `@prismshadow/penguin-server` | Web 服务端:HTTP [API 与 SSE 流式通道](/server-api)、多用户认证、Project 授权和用量统计。 |-| Web App | `@prismshadow/penguin-web` | 浏览器界面:多会话对话、Agent 管理、插件库、模型配置、Trace 观测和评估中心。 |-| 桌面应用 | `@prismshadow/penguin-desktop` | 把 Web App 做成独立应用,支持 macOS、Windows 和 Linux。它内嵌服务端,并会装好 `penguin` 命令。 |+| SDK | `@lmliheng/penguin-core` | 核心引擎:ReAct 循环、[OmniMessage 协议](/omni-message)、LLM 与 Environment 的[接口契约](/interfaces)、Agent State 与 Trace。 |+| CLI | `@lmliheng/penguin-cli` | `penguin` 命令:交互式 REPL、单次 Task 运行,以及模型与 Vault 配置。 |+| Server | `@lmliheng/penguin-server` | Web 服务端:HTTP [API 与 SSE 流式通道](/server-api)、多用户认证、Project 授权和用量统计。 |+| Web App | `@lmliheng/penguin-web` | 浏览器界面:多会话对话、Agent 管理、插件库、模型配置、Trace 观测和评估中心。 |+| 桌面应用 | `@lmliheng/penguin-desktop` | 把 Web App 做成独立应用,支持 macOS、Windows 和 Linux。它内嵌服务端,并会装好 `penguin` 命令。 |## 三大支柱diff --git a/packages/docs/content/omni-message.en.md b/packages/docs/content/omni-message.en.mdindex 09a7910a..87489e6a 100644--- a/packages/docs/content/omni-message.en.md+++ b/packages/docs/content/omni-message.en.md@@ -441,13 +441,13 @@ How messages travel along these surfaces, and every ordering guarantee, is cover## Builders and guards-`@prismshadow/penguin-core` exports all protocol types, plus:+`@lmliheng/penguin-core` exports all protocol types, plus:- a builder per message kind in `builders.ts`: `userText`, `assistantText`, `toolCall`, `toolCallOutput`, `partialText`, `tokenUsage`, `withOrigin`, `emptyTokenCounts`, `addTokenCounts`, and more;- runtime guards: `isCompleteModelMessage`, `isPartialPayload`, `isModelMessage`, `isEventMessage`, `isSessionMeta`.```ts-import { userText, isCompleteModelMessage } from "@prismshadow/penguin-core";+import { userText, isCompleteModelMessage } from "@lmliheng/penguin-core";const prompt = userText("List the files in the current directory");// { timestamp: "…", type: "model_msg", payload: { type: "text", role: "user", text: "…" } }diff --git a/packages/docs/content/omni-message.zh.md b/packages/docs/content/omni-message.zh.mdindex a8a5e027..13b8f639 100644--- a/packages/docs/content/omni-message.zh.md+++ b/packages/docs/content/omni-message.zh.md@@ -441,13 +441,13 @@ type StopReason = "completed" | "aborted" | "retryable" | "fatal";## 构造与判别-`@prismshadow/penguin-core` 导出全部协议类型,此外还有:+`@lmliheng/penguin-core` 导出全部协议类型,此外还有:- `builders.ts` 里每种消息的构造函数:`userText`、`assistantText`、`toolCall`、`toolCallOutput`、`partialText`、`tokenUsage`、`withOrigin`、`emptyTokenCounts`、`addTokenCounts` 等;- 运行时判别函数:`isCompleteModelMessage`、`isPartialPayload`、`isModelMessage`、`isEventMessage`、`isSessionMeta`。```ts-import { userText, isCompleteModelMessage } from "@prismshadow/penguin-core";+import { userText, isCompleteModelMessage } from "@lmliheng/penguin-core";const prompt = userText("List the files in the current directory");// { timestamp: "…", type: "model_msg", payload: { type: "text", role: "user", text: "…" } }diff --git a/packages/docs/content/quickstart-cli.en.md b/packages/docs/content/quickstart-cli.en.mdindex abe6fa8a..222249d0 100644--- a/packages/docs/content/quickstart-cli.en.md+++ b/packages/docs/content/quickstart-cli.en.md@@ -24,7 +24,7 @@ irm https://penguin.ooo/install.ps1 | iex``````bash tab="npm (any platform)"-npm install -g @prismshadow/penguin-cli+npm install -g @lmliheng/penguin-cli```Check the install:@@ -200,9 +200,9 @@ The data root is `~/.penguin/data` by default (`%USERPROFILE%\.penguin\data` on| Package | Description || --- | --- |-| `@prismshadow/penguin-cli` | Command-line tool that provides the `penguin` command |-| `@prismshadow/penguin-core` | SDK for creating agents and Sessions from code |-| `@prismshadow/penguin-server` | Web service, including the Web App assets |+| `@lmliheng/penguin-cli` | Command-line tool that provides the `penguin` command |+| `@lmliheng/penguin-core` | SDK for creating agents and Sessions from code |+| `@lmliheng/penguin-server` | Web service, including the Web App assets || `@lmliheng/*` | The built-in plugins, one package each (Skills and session hooks); core loads them |All packages are published under the Apache-2.0 license.diff --git a/packages/docs/content/quickstart-cli.zh.md b/packages/docs/content/quickstart-cli.zh.mdindex e229d9f9..6f033bab 100644--- a/packages/docs/content/quickstart-cli.zh.md+++ b/packages/docs/content/quickstart-cli.zh.md@@ -24,7 +24,7 @@ irm https://penguin.ooo/install.ps1 | iex``````bash tab="npm(任意平台)"-npm install -g @prismshadow/penguin-cli+npm install -g @lmliheng/penguin-cli```验证安装:@@ -200,9 +200,9 @@ Windows 上还有以下不同:| 包 | 说明 || --- | --- |-| `@prismshadow/penguin-cli` | 命令行工具,提供 `penguin` 命令 |-| `@prismshadow/penguin-core` | SDK,用代码创建 Agent 与 Session |-| `@prismshadow/penguin-server` | Web 服务,含 Web App 的静态资源 |+| `@lmliheng/penguin-cli` | 命令行工具,提供 `penguin` 命令 |+| `@lmliheng/penguin-core` | SDK,用代码创建 Agent 与 Session |+| `@lmliheng/penguin-server` | Web 服务,含 Web App 的静态资源 || `@lmliheng/*` | 内置插件,每个插件一个包(Skill 与会话钩子),由 core 加载 |所有包均以 Apache-2.0 许可证发布。diff --git a/packages/docs/content/quickstart-sdk.en.md b/packages/docs/content/quickstart-sdk.en.mdindex 5bd79ac5..8a42770b 100644--- a/packages/docs/content/quickstart-sdk.en.md+++ b/packages/docs/content/quickstart-sdk.en.md@@ -1,9 +1,9 @@---title: SDK-description: Create agents and Sessions from your own TypeScript program with @prismshadow/penguin-core.+description: Create agents and Sessions from your own TypeScript program with @lmliheng/penguin-core.----`@prismshadow/penguin-core` is the same engine the CLI and the server run inside, and it embeds directly into your own program. On this page you install the SDK, make a model available to it, and run a first program that creates an agent, starts a Session and prints the model's replies.+`@lmliheng/penguin-core` is the same engine the CLI and the server run inside, and it embeds directly into your own program. On this page you install the SDK, make a model available to it, and run a first program that creates an agent, starts a Session and prints the model's replies.## Before you begin@@ -15,7 +15,7 @@ description: Create agents and Sessions from your own TypeScript program with @pIn your project directory, install the package:```bash-npm install @prismshadow/penguin-core+npm install @lmliheng/penguin-core```## Configure a model@@ -25,7 +25,7 @@ The SDK reads the same data root as the desktop app and the CLI, `~/.penguin/datIf this machine has no model configured yet, the shortest path is to install the CLI and configure one there:```bash-npm install -g @prismshadow/penguin-cli+npm install -g @lmliheng/penguin-clipenguin config model add --provider deepseek --model-id deepseek-flash --api-key sk-... --set-default```@@ -38,7 +38,7 @@ You can also keep credentials off disk entirely. When a model entry has no inlinSave this program in your project and run it:```ts-import { createAgent, isCompleteModelMessage, userText } from "@prismshadow/penguin-core";+import { createAgent, isCompleteModelMessage, userText } from "@lmliheng/penguin-core";const agent = await createAgent({ agentId: "default_agent" });const session = await agent.createSession({ workspaceDir: process.cwd() });diff --git a/packages/docs/content/quickstart-sdk.zh.md b/packages/docs/content/quickstart-sdk.zh.mdindex b6c2af09..f133fe17 100644--- a/packages/docs/content/quickstart-sdk.zh.md+++ b/packages/docs/content/quickstart-sdk.zh.md@@ -1,9 +1,9 @@---title: SDK-description: 用 @prismshadow/penguin-core 在自己的 TypeScript 程序里创建 Agent 与 Session。+description: 用 @lmliheng/penguin-core 在自己的 TypeScript 程序里创建 Agent 与 Session。----`@prismshadow/penguin-core` 就是 CLI 与服务端内部运行的那个引擎,可以直接嵌入你自己的程序。在本页中,你会安装 SDK、为它准备可用的模型,并运行第一个程序:创建 Agent,启动 Session,打印模型的回复。+`@lmliheng/penguin-core` 就是 CLI 与服务端内部运行的那个引擎,可以直接嵌入你自己的程序。在本页中,你会安装 SDK、为它准备可用的模型,并运行第一个程序:创建 Agent,启动 Session,打印模型的回复。## 开始之前@@ -15,7 +15,7 @@ description: 用 @prismshadow/penguin-core 在自己的 TypeScript 程序里创在项目目录里安装这个包:```bash-npm install @prismshadow/penguin-core+npm install @lmliheng/penguin-core```## 配置模型@@ -25,7 +25,7 @@ SDK 与桌面应用、CLI 读取同一个数据目录 `~/.penguin/data`。在[如果这台机器上还没有配置过模型,最省事的办法是装上 CLI,在 CLI 里配置一次:```bash-npm install -g @prismshadow/penguin-cli+npm install -g @lmliheng/penguin-clipenguin config model add --provider deepseek --model-id deepseek-flash --api-key sk-... --set-default```@@ -38,7 +38,7 @@ penguin config model add --provider deepseek --model-id deepseek-flash --api-key把下面的程序保存到项目里,然后运行:```ts-import { createAgent, isCompleteModelMessage, userText } from "@prismshadow/penguin-core";+import { createAgent, isCompleteModelMessage, userText } from "@lmliheng/penguin-core";const agent = await createAgent({ agentId: "default_agent" });const session = await agent.createSession({ workspaceDir: process.cwd() });diff --git a/packages/docs/content/server-api.en.md b/packages/docs/content/server-api.en.mdindex be4ad2be..0f9ecc68 100644--- a/packages/docs/content/server-api.en.md+++ b/packages/docs/content/server-api.en.md@@ -1155,8 +1155,8 @@ The bundled Web App connects in this order:## Type Imports-All DTO types can be imported, type-only, from the server package's `@prismshadow/penguin-server/api` subpath:+All DTO types can be imported, type-only, from the server package's `@lmliheng/penguin-server/api` subpath:```ts-import type { ServerEvent, SessionInfo } from "@prismshadow/penguin-server/api";+import type { ServerEvent, SessionInfo } from "@lmliheng/penguin-server/api";```diff --git a/packages/docs/content/server-api.zh.md b/packages/docs/content/server-api.zh.mdindex 1497d42a..480a8cce 100644--- a/packages/docs/content/server-api.zh.md+++ b/packages/docs/content/server-api.zh.md@@ -1155,8 +1155,8 @@ export type ServerEvent =## 类型导入-所有 DTO 类型都能以仅类型导入的方式,从服务器包的 `@prismshadow/penguin-server/api` 子路径引入:+所有 DTO 类型都能以仅类型导入的方式,从服务器包的 `@lmliheng/penguin-server/api` 子路径引入:```ts-import type { ServerEvent, SessionInfo } from "@prismshadow/penguin-server/api";+import type { ServerEvent, SessionInfo } from "@lmliheng/penguin-server/api";```diff --git a/packages/docs/content/server-boot.en.md b/packages/docs/content/server-boot.en.mdindex 642c51ee..b83e7f85 100644--- a/packages/docs/content/server-boot.en.md+++ b/packages/docs/content/server-boot.en.md@@ -22,7 +22,7 @@ Four mechanisms start the server. All of them converge: the same env vars drive| Entry | Mechanism || --- | --- || Direct | `node dist/index.js` (`start` in `server/package.json`) |-| CLI (`penguin server` / `penguin web`) | Sets `PORT`/`HOST` and exports `PENGUIN_CLI_ENTRY`, then runs the server as a **supervised child process** that imports `@prismshadow/penguin-server` |+| CLI (`penguin server` / `penguin web`) | Sets `PORT`/`HOST` and exports `PENGUIN_CLI_ENTRY`, then runs the server as a **supervised child process** that imports `@lmliheng/penguin-server` || CLI auto-start | A CLI command that finds no running server spawns a detached `server` subcommand with `PORT=0` and attaches once the root's lock is live || Desktop | `utilityProcess.fork` launches a separate server process with the server's env injected |@@ -181,7 +181,7 @@ The plugin routes hand their edit to the re-assembly, which writes it in its own### The plugin contract-The plugin contract — `Plugin`, the decorators, and the sandbox vocabulary — is declared in the SDK at `@prismshadow/penguin-core/plugin`. `@prismshadow/penguin-server/plugin` exports the interfaces a plugin module may require (`Sandbox`, `Terminals`, `Sessions`, `AgentService`, `Messaging`, `Http`, …), types only.+The plugin contract — `Plugin`, the decorators, and the sandbox vocabulary — is declared in the SDK at `@lmliheng/penguin-core/plugin`. `@lmliheng/penguin-server/plugin` exports the interfaces a plugin module may require (`Sandbox`, `Terminals`, `Sessions`, `AgentService`, `Messaging`, `Http`, …), types only.The decorators are the SDK's only runtime a plugin carries. They record on the class itself, so the copy in a plugin's bundle and the host's read the same thing.@@ -196,14 +196,14 @@ Each subsystem's construction site and external surface. Step numbers ① to ⑫| Subsystem | Constructed | External surface || --- | --- | --- || Config | `config.ts` `resolveServerConfig` (②) | `ServerConfig`; its only post-listen mutation writes back the real port |-| Single-instance lock | `lock.ts` (③ pre-check, ④ acquire in the listen callback) | Package subpath `@prismshadow/penguin-server/lock`; the CLI and Desktop use it for pre-launch probing |+| Single-instance lock | `lock.ts` (③ pre-check, ④ acquire in the listen callback) | Package subpath `@lmliheng/penguin-server/lock`; the CLI and Desktop use it for pre-launch probing || Database | `db/database.ts` `openDatabase` (first step of ⑥) | Repo classes under `db/repos/*`; WAL, foreign keys, ordered versioned migrations (`db/migrations.ts`, stamped in `PRAGMA user_version`) || Auth | `auth/service.ts` — **App-level** (built per App); the process-scoped values (`auth/runtime-state.ts`, the local API token among them) are published in ⑥ | `/api/auth/*`, the cookie and Bearer-token `authMiddleware`, and authentication of terminal WS upgrades || Project / Session | `services/*` — **App-level** (assembled in create) | `/api/projects/**`, `/api/sessions/**` (route details in [Server API](/server-api)) || Agent runtime | `runtime/session-manager.ts` — **App-level** | Task / approval / abort / compact routes and SSE `GET /api/sessions/:sessionId/stream`; delegates to core via `createAgent` || Events | `runtime/channel.ts` `ChannelHub` (⑥, process-level; SSE streams survive swaps) | User-level SSE `GET /api/events`; the `ServerEvent` type family || Scheduler | `runtime/scheduler.ts` — **App-level** (started/stopped by create) | The schedules routes; publishes results into the ChannelHub |-| HMR host / platform | `@prismshadow/penguin-hmr` (`HmrHost`, `hmrMain`) and `hmr/platform.ts` (the platform) | `PlatformApi` (`info` / `log` / `http` / `terminals` / `attachStream` / `business` / `shutdown` / `drained`, plus the kernel's `park`); `/api/hmr/*`, including `POST /api/hmr/upgrade`, is a route group the platform contributes — a pushed generation that does not serve it is refused before commit |+| HMR host / platform | `@lmliheng/penguin-hmr` (`HmrHost`, `hmrMain`) and `hmr/platform.ts` (the platform) | `PlatformApi` (`info` / `log` / `http` / `terminals` / `attachStream` / `business` / `shutdown` / `drained`, plus the kernel's `park`); `/api/hmr/*`, including `POST /api/hmr/upgrade`, is a route group the platform contributes — a pushed generation that does not serve it is refused before commit || Terminals | `terminal/` — **App-level** | `/api/terminals*` route group, WS `GET /api/terminals/:id/stream`; ptys are parked and survive swaps || Plugin host | built by each App's `create()` and registered at its commit for the next App to reuse; ⑤ `loadPlugins` publishes one in ⑥ for platforms that predate this | an npm package: its generated `ifaces.json` (the module payload), a default export `{ modules?: [<class>, …], replaces?: [<class>, …] }`; the configuration surface is the `[plugins]` table of each Project's `.project_config.toml`, written through `/api/projects/:projectId/plugins/installed` || Sandbox | `sandbox/service.ts` — **App-level** (a module; backends contribute to its `providers` slot) | a `SandboxModule.providers` contribution from a plugin module; enforcement reaches commands and hook scripts through core's spawn seam, and the Session's policy reaches the file tools through core's `sandboxPolicy` seam |diff --git a/packages/docs/content/server-boot.zh.md b/packages/docs/content/server-boot.zh.mdindex cfa0ae7b..1bc50e54 100644--- a/packages/docs/content/server-boot.zh.md+++ b/packages/docs/content/server-boot.zh.md@@ -22,7 +22,7 @@ description: 从进程入口到 App 开始服务的组装顺序、各子系统| 入口 | 机制 || --- | --- || 直接运行 | `node dist/index.js`(`server/package.json` 里的 `start`) |-| CLI(`penguin server` / `penguin web`) | 设好 `PORT`/`HOST` 并导出 `PENGUIN_CLI_ENTRY`,然后以**受监管的子进程**运行 Server,由子进程导入 `@prismshadow/penguin-server` |+| CLI(`penguin server` / `penguin web`) | 设好 `PORT`/`HOST` 并导出 `PENGUIN_CLI_ENTRY`,然后以**受监管的子进程**运行 Server,由子进程导入 `@lmliheng/penguin-server` || CLI 自动启动 | CLI 命令发现没有运行中的 Server 时,以 `PORT=0` 派生一个分离的 `server` 子命令,等数据根的锁生效后再接入 || 桌面应用 | `utilityProcess.fork` 拉起一个**独立**的 Server 进程,并注入它需要的环境变量 |@@ -181,7 +181,7 @@ createInner### 插件契约-插件契约(`Plugin`、各装饰器,以及沙箱词汇表)声明在 SDK 里,即 `@prismshadow/penguin-core/plugin`;`@prismshadow/penguin-server/plugin` 导出插件模块可以 require 的接口(`Sandbox`、`Terminals`、`Sessions`、`AgentService`、`Messaging`、`Http` 等),只有类型。+插件契约(`Plugin`、各装饰器,以及沙箱词汇表)声明在 SDK 里,即 `@lmliheng/penguin-core/plugin`;`@lmliheng/penguin-server/plugin` 导出插件模块可以 require 的接口(`Sandbox`、`Terminals`、`Sessions`、`AgentService`、`Messaging`、`Http` 等),只有类型。装饰器是插件随身携带的唯一一段 SDK 运行时。它们把记录写在类自身上,所以插件 bundle 里的那份和宿主读到的是同一样东西。@@ -196,14 +196,14 @@ createInner| 子系统 | 构建位置 | 对外表面 || --- | --- | --- || 配置 | `config.ts` 的 `resolveServerConfig`(②) | `ServerConfig`;监听后唯一一次改写是回填真实端口 |-| 单实例锁 | `lock.ts`(③ 预检,④ 在监听回调中取锁) | 包子路径 `@prismshadow/penguin-server/lock`;CLI 与桌面应用用它做启动前探测 |+| 单实例锁 | `lock.ts`(③ 预检,④ 在监听回调中取锁) | 包子路径 `@lmliheng/penguin-server/lock`;CLI 与桌面应用用它做启动前探测 || 数据库 | `db/database.ts` 的 `openDatabase`(⑥ 首步) | `db/repos/*` 仓储类;WAL、外键、按版本顺序执行的迁移(`db/migrations.ts`,版本记在 `PRAGMA user_version`) || 认证 | `auth/service.ts`——**App 级**(每个 App 各建一份);进程级的值(`auth/runtime-state.ts`,含本地 API token)在 ⑥ 发布 | `/api/auth/*`、支持 cookie 与 Bearer token 的 `authMiddleware`、终端 WS 升级的鉴权 || Project / Session | `services/*`——**App 级**(在 create 内组装) | `/api/projects/**`、`/api/sessions/**`(路由细目见 [Server API](/server-api)) || Agent 运行时 | `runtime/session-manager.ts`——**App 级** | 任务 / 审批 / 中止 / 压缩路由与 SSE `GET /api/sessions/:sessionId/stream`;内部经 `createAgent` 委托给 core || 事件 | `runtime/channel.ts` 的 `ChannelHub`(⑥,进程级;SSE 流跨热替换存活) | 用户级 SSE `GET /api/events`;`ServerEvent` 类型族 || Scheduler | `runtime/scheduler.ts`——**App 级**(随 create 启停) | schedules 路由;执行结果发布进 ChannelHub |-| HMR 宿主 / 平台 | `@prismshadow/penguin-hmr`(`HmrHost`、`hmrMain`)与 `hmr/platform.ts`(平台) | `PlatformApi`(`info` / `log` / `http` / `terminals` / `attachStream` / `business` / `shutdown` / `drained`,外加内核的 `park`);`/api/hmr/*`(含 `POST /api/hmr/upgrade`)是平台贡献的路由组,推送的新一代若不提供这组路由,会在提交前被拒 |+| HMR 宿主 / 平台 | `@lmliheng/penguin-hmr`(`HmrHost`、`hmrMain`)与 `hmr/platform.ts`(平台) | `PlatformApi`(`info` / `log` / `http` / `terminals` / `attachStream` / `business` / `shutdown` / `drained`,外加内核的 `park`);`/api/hmr/*`(含 `POST /api/hmr/upgrade`)是平台贡献的路由组,推送的新一代若不提供这组路由,会在提交前被拒 || 终端 | `terminal/`——**App 级** | `/api/terminals*` 路由组、WS `GET /api/terminals/:id/stream`;pty 寄存在注册表中,跨热替换存活 || 插件宿主 | 每个 App 的 `create()` 构建,在提交时登记进注册表供下一个 App 复用;⑤ `loadPlugins` 为早于这一改动的平台构建一份,在 ⑥ 发布 | 一个 npm 包:生成的 `ifaces.json`(模块载荷)、默认导出 `{ modules?: [<class>, …], replaces?: [<class>, …] }`;配置面是各 Project 的 `.project_config.toml` 中的 `[plugins]` 表,经 `/api/projects/:projectId/plugins/installed` 写入 || 沙箱 | `sandbox/service.ts`——**App 级**(一个模块;后端向它的 `providers` 槽位投递) | 插件模块向 `SandboxModule.providers` 投递的一条 contribution;约束经 core 的 spawn 接缝落到命令与钩子脚本上,Session 的策略经 core 的 `sandboxPolicy` 接缝交给文件工具 |diff --git a/packages/docs/content/skills.en.md b/packages/docs/content/skills.en.mdindex ba161444..cc14b0f9 100644--- a/packages/docs/content/skills.en.md+++ b/packages/docs/content/skills.en.md@@ -263,7 +263,7 @@ plugins/<plugin>/- A plugin built around someone else's product carries a `use-` prefix (`use-firecrawl`), so the name says what it is for rather than claiming the product.- Versions are compared by date, then by sequence number: `2026.08.29.10` follows `2026.08.29.9`.- The manifest's `version` is the version of everything the plugin ships. It is separate from the package's npm version, which follows the release. There is no other version scheme.-- Every plugin is its own npm package, `@lmliheng/<name>`, at `plugins/<name>/` in the repository. The loader in `@prismshadow/penguin-core` reads the plugin names from the host package's dependency list and resolves each package through Node. The desktop app declares the same packages as dependencies, and its installer packs them. At runtime the plugin files are the source of truth for library content and are read on every call.+- Every plugin is its own npm package, `@lmliheng/<name>`, at `plugins/<name>/` in the repository. The loader in `@lmliheng/penguin-core` reads the plugin names from the host package's dependency list and resolves each package through Node. The desktop app declares the same packages as dependencies, and its installer packs them. At runtime the plugin files are the source of truth for library content and are read on every call.### Skill file formatdiff --git a/packages/docs/content/skills.zh.md b/packages/docs/content/skills.zh.mdindex 9a2e4604..f5b6103a 100644--- a/packages/docs/content/skills.zh.md+++ b/packages/docs/content/skills.zh.md@@ -263,7 +263,7 @@ plugins/<plugin>/- 围绕他人产品打造的插件带 `use-` 前缀(如 `use-firecrawl`),名称只表明用途,而不冒充产品本身。- 版本先按日期比较,再按序号比较:`2026.08.29.10` 排在 `2026.08.29.9` 之后。- 清单里的 `version` 是插件所含全部内容的版本,与 npm 包版本相互独立;npm 版本跟随产品发布。除此之外没有其他版本方案。-- 每个插件都是一个独立的 npm 包 `@lmliheng/<name>`,位于仓库的 `plugins/<name>/`。`@prismshadow/penguin-core` 中的加载器从宿主包的依赖列表读取插件名,并通过 Node 解析各个包。桌面应用把同样的包声明为依赖,安装器会将它们打包。运行时,插件文件就是插件库内容的唯一事实来源,每次调用都直接读取。+- 每个插件都是一个独立的 npm 包 `@lmliheng/<name>`,位于仓库的 `plugins/<name>/`。`@lmliheng/penguin-core` 中的加载器从宿主包的依赖列表读取插件名,并通过 Node 解析各个包。桌面应用把同样的包声明为依赖,安装器会将它们打包。运行时,插件文件就是插件库内容的唯一事实来源,每次调用都直接读取。### Skill 文件格式diff --git a/packages/docs/package.json b/packages/docs/package.jsonindex f5a2c443..7dc9ce7c 100644--- a/packages/docs/package.json+++ b/packages/docs/package.json@@ -1,5 +1,5 @@{- "name": "@prismshadow/penguin-docs",+ "name": "@lmliheng/penguin-docs","version": "0.2.13","private": true,"type": "module",diff --git a/packages/hmr/README.md b/packages/hmr/README.mdindex 7d51edf0..9d108224 100644--- a/packages/hmr/README.md+++ b/packages/hmr/README.md@@ -1,4 +1,4 @@-# @prismshadow/penguin-hmr — the HMR layer's mechanism, and nothing else+# @lmliheng/penguin-hmr — the HMR layer's mechanism, and nothing elseThis package is the hot-update **mechanism**: the version store, the atomic `harness.json`commit, the resource registry live objects ride across a swap in, and the park → boot → swapdiff --git a/packages/hmr/package.json b/packages/hmr/package.jsonindex 4b8c4e40..1d44bb03 100644--- a/packages/hmr/package.json+++ b/packages/hmr/package.json@@ -1,5 +1,5 @@{- "name": "@prismshadow/penguin-hmr",+ "name": "@lmliheng/penguin-hmr","version": "0.2.13","private": true,"type": "module",@@ -32,7 +32,7 @@"build": "tsup"},"dependencies": {- "@prismshadow/penguin-core": "workspace:*"+ "@lmliheng/penguin-core": "workspace:*"},"devDependencies": {"tsup": "^8.3.0",diff --git a/packages/hmr/src/host.ts b/packages/hmr/src/host.tsindex d540974e..5c0408c0 100644--- a/packages/hmr/src/host.ts+++ b/packages/hmr/src/host.ts@@ -70,8 +70,8 @@ import fsp from "node:fs/promises";import path from "node:path";import zlib from "node:zlib";import { pathToFileURL } from "node:url";-import type { Instance, Json, AnyIface, AnyImpl, Park } from "@prismshadow/penguin-core/kernel";-import { boot, initialDoc, upgrade } from "@prismshadow/penguin-core/kernel";+import type { Instance, Json, AnyIface, AnyImpl, Park } from "@lmliheng/penguin-core/kernel";+import { boot, initialDoc, upgrade } from "@lmliheng/penguin-core/kernel";import { HotResources } from "./resources.js";import type { Manifest } from "./manifest.js";import { MATERIALIZED } from "./manifest.js";diff --git a/packages/hmr/src/index.ts b/packages/hmr/src/index.tsindex a2bb9f33..295d5451 100644--- a/packages/hmr/src/index.ts+++ b/packages/hmr/src/index.ts@@ -1,5 +1,5 @@/**- * @prismshadow/penguin-hmr — the hot-update MECHANISM, and nothing else.+ * @lmliheng/penguin-hmr — the hot-update MECHANISM, and nothing else.** What a deployment does is not in this package and must never be: see README.md, which* states the rule and the reason it is enforced by a package boundary rather than bydiff --git a/packages/hmr/src/main.ts b/packages/hmr/src/main.tsindex cc44acc1..cc563fed 100644--- a/packages/hmr/src/main.ts+++ b/packages/hmr/src/main.ts@@ -17,7 +17,7 @@* be built over it while the first generation is still coming up.*/import zlib from "node:zlib";-import type { Instance, Park } from "@prismshadow/penguin-core/kernel";+import type { Instance, Park } from "@lmliheng/penguin-core/kernel";import type { HmrHost, UpgradeAllTarget, UpgradeOutcome } from "./host.js";import { isBlobName } from "./host.js";diff --git a/packages/hmr/src/manifest.ts b/packages/hmr/src/manifest.tsindex f684f6be..4e3b06f1 100644--- a/packages/hmr/src/manifest.ts+++ b/packages/hmr/src/manifest.ts@@ -19,7 +19,7 @@import fs from "node:fs";import fsp from "node:fs/promises";import path from "node:path";-import type { HarnessInfo } from "@prismshadow/penguin-core";+import type { HarnessInfo } from "@lmliheng/penguin-core";/*** The committed on-disk record: a runtime restart resumes exactly this CODE (platform,diff --git a/packages/hmr/src/resources.ts b/packages/hmr/src/resources.tsindex f432ae44..c38905b9 100644--- a/packages/hmr/src/resources.ts+++ b/packages/hmr/src/resources.ts@@ -12,7 +12,7 @@* have it shut down at process exit. Spawning anything — a shell, a pty, a connection —* is the platform's business and lives there.*/-import type { Resources } from "@prismshadow/penguin-core/kernel";+import type { Resources } from "@lmliheng/penguin-core/kernel";export class HotResources implements Resources {private readonly map = new Map<string, { resource: unknown; dispose?: () => void }>();diff --git a/packages/server/README.md b/packages/server/README.mdindex f037d02f..05e8abbe 100644--- a/packages/server/README.md+++ b/packages/server/README.md@@ -1,6 +1,6 @@-# @prismshadow/penguin-server+# @lmliheng/penguin-server-The Adelie Web backend — the Web implementation of the SDK's Human boundary. HTTP carries Prompt input, approvals and interrupts; Server-Sent Events stream the OmniMessage output. Adds multi-user auth, Project authorization, Session runtime, scheduling and usage accounting on top of `@prismshadow/penguin-core`.+The Adelie Web backend — the Web implementation of the SDK's Human boundary. HTTP carries Prompt input, approvals and interrupts; Server-Sent Events stream the OmniMessage output. Adds multi-user auth, Project authorization, Session runtime, scheduling and usage accounting on top of `@lmliheng/penguin-core`.## Architecture@@ -11,7 +11,7 @@ The Adelie Web backend — the Web implementation of the SDK's Human boundary. H- **Usage**: `token_usage` events are persisted row by row; costs are computed at query time from current per-model pricing.- **Terminals**: `src/terminal/` runs pty sessions server-side (node-pty) and feeds every byte into a headless xterm, so the daemon — not the browser — owns the screen. Control is JSON over HTTP (`/api/terminals`: list / create / capture / keys / kill; create accepts `cwd`, `name`, `cols`/`rows` and a `shell` override); the byte stream is a binary WebSocket at `/api/terminals/:id/stream` (`[opcode, slot, payload]`, output coalesced into ~5ms windows with an immediate leading flush). On attach the server renders the current grid back into an ANSI restore stream, so a reload or a second device rebuilds the exact screen — scrollback, colours, cursor and DEC input modes — while the shell keeps running the whole time. The web app surfaces this twice: an in-app dock (Ctrl+` , Codex-style) and the standalone `/terminal` page (`?id=` attaches an existing terminal — the dock's detach handoff — `?cwd=`/`?name=` parameterize a new one). Sessions run in-process (no forked terminal worker); this module is the only thing touching node-pty, which is where that split would go if load ever demands it.-The full route tables and the SSE protocol are documented in the [Server API reference](https://penguin.ooo/docs/server-api). DTO types are exported for type-only import via `@prismshadow/penguin-server/api`.+The full route tables and the SSE protocol are documented in the [Server API reference](https://penguin.ooo/docs/server-api). DTO types are exported for type-only import via `@lmliheng/penguin-server/api`.## Environment@@ -29,9 +29,9 @@ The full route tables and the SSE protocol are documented in the [Server API ref## Running```bash-pnpm --filter @prismshadow/penguin-server dev # tsx watch (front end via the Vite dev proxy)-pnpm --filter @prismshadow/penguin-server build # tsup → dist/-pnpm --filter @prismshadow/penguin-server start # node dist/index.js+pnpm --filter @lmliheng/penguin-server dev # tsx watch (front end via the Vite dev proxy)+pnpm --filter @lmliheng/penguin-server build # tsup → dist/+pnpm --filter @lmliheng/penguin-server start # node dist/index.js````pnpm typecheck / test` run tsc and vitest (tests use a temp root + in-memory DB; no ports, no live LLM calls).diff --git a/packages/server/package.json b/packages/server/package.jsonindex 2da4b50a..f0950d98 100644--- a/packages/server/package.json+++ b/packages/server/package.json@@ -1,8 +1,8 @@{- "name": "@prismshadow/penguin-server",+ "name": "@lmliheng/penguin-server","version": "0.2.13","type": "module",- "description": "Adelie web server: multi-user authentication and authorization, Session execution with SSE streaming, and usage accounting, built on @prismshadow/penguin-core.",+ "description": "Adelie web server: multi-user authentication and authorization, Session execution with SSE streaming, and usage accounting, built on @lmliheng/penguin-core.","license": "Apache-2.0","repository": {"type": "git",@@ -71,7 +71,7 @@"dependencies": {"@hono/node-server": "^2.0.5","@larksuiteoapi/node-sdk": "^1.73.0",- "@prismshadow/penguin-core": "workspace:*",+ "@lmliheng/penguin-core": "workspace:*","@xterm/headless": "^5.5.0","dotenv": "^17.0.0","fflate": "^0.8.3",@@ -88,7 +88,7 @@"yaml": "^2.5.0"},"devDependencies": {- "@prismshadow/penguin-hmr": "workspace:*",+ "@lmliheng/penguin-hmr": "workspace:*","@types/mdast": "^4.0.4","@types/node": "^24.0.0","@types/ws": "^8.18.1",diff --git a/packages/server/src/api/types.ts b/packages/server/src/api/types.tsindex 2f12f35f..100d4220 100644--- a/packages/server/src/api/types.ts+++ b/packages/server/src/api/types.ts@@ -17,15 +17,15 @@ import type {CompactionMode,OmniMessage,ToolCallPayload,-} from "@prismshadow/penguin-core/omnimessage";+} from "@lmliheng/penguin-core/omnimessage";import type {MCPServerConfig,ThinkingLevelName,ToolDefinitionConfig,-} from "@prismshadow/penguin-core/interfaces";+} from "@lmliheng/penguin-core/interfaces";// Build/harness identity is not an interface contract — it ships from the barrel (core's version-info.ts).-import type { HarnessInfo, VersionReport, HarnessHistory } from "@prismshadow/penguin-core";-import type { IfacesDiff } from "@prismshadow/penguin-hmr";+import type { HarnessInfo, VersionReport, HarnessHistory } from "@lmliheng/penguin-core";+import type { IfacesDiff } from "@lmliheng/penguin-hmr";import type { WorkflowInfo } from "../mechanisms/workflows.js";// ---------------------------------------------------------------------------@@ -4007,7 +4007,7 @@ export interface PluginReadmeResponse {*/export type VersionResponse = VersionReport;-export type { HarnessHistoryEntry, IfacesSummary } from "@prismshadow/penguin-core";+export type { HarnessHistoryEntry, IfacesSummary } from "@lmliheng/penguin-core";export type {WorkflowInfo,WorkflowVersion,@@ -4026,7 +4026,7 @@ export interface VersionRollbackResponse {/** GET /api/version/history/diff?from=&to=: what changed between two stored interface tables. */export type VersionHistoryDiffResponse = IfacesDiff;-export type { IfaceChange, IfacesDiff, MemberChange, ModuleChange } from "@prismshadow/penguin-hmr";+export type { IfaceChange, IfacesDiff, MemberChange, ModuleChange } from "@lmliheng/penguin-hmr";/*** GET /api/version/update-check: newest published release vs the running version.diff --git a/packages/server/src/app.ts b/packages/server/src/app.tsindex d5ef64f8..ff0c4050 100644--- a/packages/server/src/app.ts+++ b/packages/server/src/app.ts@@ -23,7 +23,7 @@ import type { Context, MiddlewareHandler } from "hono";import { bodyLimit } from "hono/body-limit";import { bodyLimitBytes, toAttachmentLimits } from "./services/attachment-limits.js";import type { DatabaseSync } from "node:sqlite";-import type { ModuleTree } from "@prismshadow/penguin-core/kernel";+import type { ModuleTree } from "@lmliheng/penguin-core/kernel";import type { ServerConfig } from "./config.js";import { applyProxySettings, mergedNoProxy } from "./net/proxy.js";import {@@ -117,8 +117,8 @@ import { UpdateCheckService } from "./services/update-check-service.js";import { UpdateJobService } from "./services/update-job.js";import { UsageService } from "./services/usage-service.js";import { WorkspaceFilesService } from "./services/workspace-files-service.js";-import { HmrHost, hmrControl } from "@prismshadow/penguin-hmr";-import type { Hmr } from "@prismshadow/penguin-hmr";+import { HmrHost, hmrControl } from "@lmliheng/penguin-hmr";+import type { Hmr } from "@lmliheng/penguin-hmr";import type { PlatformApi, ServerHmrHost } from "./hmr/platform.js";import { packagedPlatform } from "./hmr/platform.js";import { platformHttpSeam } from "./hmr/http-seam.js";@@ -130,7 +130,7 @@ import {} from "./services/preview-token.js";import type { PreviewTokenSigner } from "./services/preview-token.js";-import type { ControlEnvContext, ProxyEnvPolicy, SpawnConfiner } from "@prismshadow/penguin-core";+import type { ControlEnvContext, ProxyEnvPolicy, SpawnConfiner } from "@lmliheng/penguin-core";import { declined } from "./hmr/hono-seam.js";import { AgentsRepo } from "./db/repos/agents.js";import { MembersRepo } from "./db/repos/members.js";@@ -169,7 +169,7 @@ import { machinesRoutes } from "./http/routes/machines.js";import { UsageRecorder } from "./runtime/usage-recorder.js";import { previewRoutes } from "./http/routes/preview.js";import { MachinesService } from "./machines/service.js";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";import type { Settings } from "./mechanisms/settings.js";import type { Errors } from "./mechanisms/observability.js";import type { Access } from "./mechanisms/projects.js";diff --git a/packages/server/src/auth-token.ts b/packages/server/src/auth-token.tsindex 03f9e887..2bce5b91 100644--- a/packages/server/src/auth-token.ts+++ b/packages/server/src/auth-token.ts@@ -10,7 +10,7 @@ import { openExistingDatabase } from "./db/database.js";import { AuthSessionsRepo } from "./db/repos/auth-sessions.js";import type { SessionViaValue } from "./db/repos/auth-sessions.js";import { UsersRepo } from "./db/repos/users.js";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";/** An hour: long enough for a controller to finish, short enough to forget. */export const CLI_TOKEN_TTL_MS = 60 * 60_000;diff --git a/packages/server/src/auth/live-streams.ts b/packages/server/src/auth/live-streams.tsindex f9f86c51..e2c87ac8 100644--- a/packages/server/src/auth/live-streams.ts+++ b/packages/server/src/auth/live-streams.ts@@ -18,7 +18,7 @@* opened by the previous generation are no longer listed here — their own heartbeat is what* ends them, on the same schedule as any other.*/-import { Component, Interface } from "@prismshadow/penguin-core/kernel";+import { Component, Interface } from "@lmliheng/penguin-core/kernel";/** LiveStreams: the mechanism LiveStreamRegistry implements. */@Interface()diff --git a/packages/server/src/auth/password.ts b/packages/server/src/auth/password.tsindex f3dc74d0..14de0e1c 100644--- a/packages/server/src/auth/password.ts+++ b/packages/server/src/auth/password.ts@@ -1,4 +1,4 @@-import { Component, Interface } from "@prismshadow/penguin-core/kernel";+import { Component, Interface } from "@lmliheng/penguin-core/kernel";/*** Password hashing (slow-hash storage).*diff --git a/packages/server/src/auth/service.ts b/packages/server/src/auth/service.tsindex 3d27ea41..0379d916 100644--- a/packages/server/src/auth/service.ts+++ b/packages/server/src/auth/service.ts@@ -16,7 +16,7 @@ import type { SessionViaValue, AuthSessionsRepo } from "../db/repos/auth-sessionimport type { AuthRuntimeState } from "./runtime-state.js";import { verifyAccountPassword, verifyPassword } from "./password.js";import type { PasswordHasher } from "./password.js";-import { Component, Use, Interface } from "@prismshadow/penguin-core/kernel";+import { Component, Use, Interface } from "@lmliheng/penguin-core/kernel";import type { AuthState, Clock, Config } from "../hmr/capabilities.js";import type { Auth, AuthSessions, Users } from "../mechanisms/identity.js";diff --git a/packages/server/src/builtin-browser/history.ts b/packages/server/src/builtin-browser/history.tsindex 3c78ddf4..d7a77bce 100644--- a/packages/server/src/builtin-browser/history.ts+++ b/packages/server/src/builtin-browser/history.ts@@ -12,7 +12,7 @@*/import fs from "node:fs";import path from "node:path";-import { atomicWriteFile } from "@prismshadow/penguin-core";+import { atomicWriteFile } from "@lmliheng/penguin-core";import type { BuiltinBrowserHistoryEntry, BuiltinBrowserTab } from "../api/types.js";/** The most entries the file keeps. */diff --git a/packages/server/src/builtin-browser/module.ts b/packages/server/src/builtin-browser/module.tsindex 19440706..3f84e75c 100644--- a/packages/server/src/builtin-browser/module.ts+++ b/packages/server/src/builtin-browser/module.ts@@ -11,8 +11,8 @@* UI events go to every admin who has the event stream open; the browser is the admin's tool* (see routes.ts), and a channel nobody listens on is not opened for it.*/-import { Bind, Component, Interface, Module, Use } from "@prismshadow/penguin-core/kernel";-import type { ClassCtx, Opaque } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Interface, Module, Use } from "@lmliheng/penguin-core/kernel";+import type { ClassCtx, Opaque } from "@lmliheng/penguin-core/kernel";import type { Hono } from "hono";import type { AppEnv } from "../auth/middleware.js";import type { Channels, Desktop, Log, Paths } from "../hmr/capabilities.js";diff --git a/packages/server/src/builtin-browser/settings.ts b/packages/server/src/builtin-browser/settings.tsindex c4baec6e..cbdfd168 100644--- a/packages/server/src/builtin-browser/settings.ts+++ b/packages/server/src/builtin-browser/settings.ts@@ -9,7 +9,7 @@*/import fs from "node:fs";import path from "node:path";-import { atomicWriteFile } from "@prismshadow/penguin-core";+import { atomicWriteFile } from "@lmliheng/penguin-core";import type { BuiltinBrowserSettings } from "../api/types.js";export function settingsFile(root: string): string {diff --git a/packages/server/src/config.ts b/packages/server/src/config.tsindex f19e5c9f..d7627f31 100644--- a/packages/server/src/config.ts+++ b/packages/server/src/config.ts@@ -17,7 +17,7 @@ import {LEGACY_ROOT_ENV,resolveRoot,ROOT_ENV,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import { checkoutCliEntry } from "./services/cli-shim.js";export interface ServerConfig {diff --git a/packages/server/src/db/repos/agents.ts b/packages/server/src/db/repos/agents.tsindex 31702eca..a44785b4 100644--- a/packages/server/src/db/repos/agents.ts+++ b/packages/server/src/db/repos/agents.ts@@ -1,7 +1,7 @@/*** agents table repo: Agent index; name/description live in system_config.yaml.*/-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Db } from "../../hmr/capabilities.js";import type { AgentIndex } from "../../mechanisms/projects.js";diff --git a/packages/server/src/db/repos/auth-sessions.ts b/packages/server/src/db/repos/auth-sessions.tsindex a57d1cd8..1f35c20c 100644--- a/packages/server/src/db/repos/auth-sessions.ts+++ b/packages/server/src/db/repos/auth-sessions.ts@@ -4,7 +4,7 @@* so a CLI-minted row cannot drift from one the server issues itself.*/import { createHash, randomBytes } from "node:crypto";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Db } from "../../hmr/capabilities.js";import type { AuthSessions } from "../../mechanisms/identity.js";diff --git a/packages/server/src/db/repos/errors.ts b/packages/server/src/db/repos/errors.tsindex 7460141f..d0c806da 100644--- a/packages/server/src/db/repos/errors.ts+++ b/packages/server/src/db/repos/errors.ts@@ -20,7 +20,7 @@* wrongly delete still-valid data within the cap. The first line of defense is* ErrorRecorder's short-window deduplication.*/-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Db } from "../../hmr/capabilities.js";import type { ErrorLog } from "../../mechanisms/observability.js";diff --git a/packages/server/src/db/repos/members.ts b/packages/server/src/db/repos/members.tsindex 82142f73..751ff60b 100644--- a/packages/server/src/db/repos/members.ts+++ b/packages/server/src/db/repos/members.ts@@ -2,7 +2,7 @@* Repo for the project_members table: only member* authorization relationships — the owner is never in this table.*/-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Db } from "../../hmr/capabilities.js";import type { Members } from "../../mechanisms/projects.js";diff --git a/packages/server/src/db/repos/messaging-bindings.ts b/packages/server/src/db/repos/messaging-bindings.tsindex b95d94de..20f3bef5 100644--- a/packages/server/src/db/repos/messaging-bindings.ts+++ b/packages/server/src/db/repos/messaging-bindings.ts@@ -27,7 +27,7 @@* fields and its account identity stay. The repo does not interpret the document; each* channel's connector and route own its shape.*/-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Db } from "../../hmr/capabilities.js";import type { MessagingBindings } from "../../mechanisms/messaging.js";diff --git a/packages/server/src/db/repos/model-promotions.ts b/packages/server/src/db/repos/model-promotions.tsindex c7be44f3..dd037b82 100644--- a/packages/server/src/db/repos/model-promotions.ts+++ b/packages/server/src/db/repos/model-promotions.ts@@ -7,7 +7,7 @@* those writers runs again. Both replace methods swap their whole set in one transaction, so* a reader never sees half of one.*/-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Db } from "../../hmr/capabilities.js";import type { ModelPromotion, ModelPromotions } from "../../mechanisms/projects.js";diff --git a/packages/server/src/db/repos/model-provider-auth-tokens.ts b/packages/server/src/db/repos/model-provider-auth-tokens.tsindex 81bffb95..ed22783c 100644--- a/packages/server/src/db/repos/model-provider-auth-tokens.ts+++ b/packages/server/src/db/repos/model-provider-auth-tokens.ts@@ -5,7 +5,7 @@* This table stores only refresh material and expiry metadata that must stay on the server:* never return it through model APIs and never write it into Project files.*/-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Db } from "../../hmr/capabilities.js";import type { ModelProviderAuthToken, ModelProviderAuthTokens } from "../../mechanisms/projects.js";diff --git a/packages/server/src/db/repos/organizations.ts b/packages/server/src/db/repos/organizations.tsindex 657a01eb..dfa19143 100644--- a/packages/server/src/db/repos/organizations.ts+++ b/packages/server/src/db/repos/organizations.ts@@ -8,7 +8,7 @@* until its next calendar sweep carries them, so dropping it loses those digests and nothing* else — the changes themselves live in the ticket files and the all-hands channel.*/-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Db } from "../../hmr/capabilities.js";import type { OrgCache } from "../../mechanisms/organization.js";import type { OrgCalendarOutcome, OrgTicketChange } from "../../api/types.js";diff --git a/packages/server/src/db/repos/projects.ts b/packages/server/src/db/repos/projects.tsindex c4c3c036..0ca36532 100644--- a/packages/server/src/db/repos/projects.ts+++ b/packages/server/src/db/repos/projects.ts@@ -3,7 +3,7 @@* relationships; the display name lives in project_config.toml.*/import type { ProjectRole } from "../../api/types.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Db } from "../../hmr/capabilities.js";import type { Projects } from "../../mechanisms/projects.js";diff --git a/packages/server/src/db/repos/schedules.ts b/packages/server/src/db/repos/schedules.tsindex 3997aa23..750876a6 100644--- a/packages/server/src/db/repos/schedules.ts+++ b/packages/server/src/db/repos/schedules.ts@@ -7,7 +7,7 @@* (registerOrSync resets the trigger state); a change to the file content fingerprint* only clears the disabled flag (the file becomes effective again after reconciliation).*/-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Db } from "../../hmr/capabilities.js";import type { Schedules } from "../../mechanisms/sessions.js";diff --git a/packages/server/src/db/repos/server-settings.ts b/packages/server/src/db/repos/server-settings.tsindex 12061808..a5d71ba9 100644--- a/packages/server/src/db/repos/server-settings.ts+++ b/packages/server/src/db/repos/server-settings.ts@@ -8,7 +8,7 @@ import {DEFAULT_ATTACHMENT_MAX_MB,DEFAULT_ATTACHMENT_TOTAL_MB,} from "../../services/attachment-limits.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Db } from "../../hmr/capabilities.js";import type { Settings } from "../../mechanisms/settings.js";diff --git a/packages/server/src/db/repos/sessions.ts b/packages/server/src/db/repos/sessions.tsindex 0f0bb524..09063249 100644--- a/packages/server/src/db/repos/sessions.ts+++ b/packages/server/src/db/repos/sessions.ts@@ -2,10 +2,10 @@* sessions table repo:* Session index, approval mode, and auto-generated title; Session-level routes use this to look up project ownership.*/-import type { ThinkingLevelName } from "@prismshadow/penguin-core/interfaces";+import type { ThinkingLevelName } from "@lmliheng/penguin-core/interfaces";import type { ApprovalMode } from "../../api/types.js";-import type { SandboxSettings } from "@prismshadow/penguin-core/plugin";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import type { SandboxSettings } from "@lmliheng/penguin-core/plugin";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Db } from "../../hmr/capabilities.js";import type { SessionIndex } from "../../mechanisms/sessions.js";diff --git a/packages/server/src/db/repos/trace-index.ts b/packages/server/src/db/repos/trace-index.tsindex 2565ab8d..d48eac5e 100644--- a/packages/server/src/db/repos/trace-index.ts+++ b/packages/server/src/db/repos/trace-index.ts@@ -5,7 +5,7 @@*/import type { SessionSource } from "../../api/types.js";import { asSessionSource } from "../../runtime/session-sources.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Db } from "../../hmr/capabilities.js";import type { TraceIndexStore } from "../../mechanisms/traces.js";diff --git a/packages/server/src/db/repos/ui-prefs.ts b/packages/server/src/db/repos/ui-prefs.tsindex 7945272f..02a78c8c 100644--- a/packages/server/src/db/repos/ui-prefs.ts+++ b/packages/server/src/db/repos/ui-prefs.ts@@ -1,7 +1,7 @@/*** ui_prefs table repo (UI preferences): free-form JSON storage.*/-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Db } from "../../hmr/capabilities.js";import type { UiPrefsStore } from "../../mechanisms/settings.js";diff --git a/packages/server/src/db/repos/usage.ts b/packages/server/src/db/repos/usage.tsindex 343c8e36..f34f5f35 100644--- a/packages/server/src/db/repos/usage.ts+++ b/packages/server/src/db/repos/usage.ts@@ -6,7 +6,7 @@* raw Token sums (a model_id shared across providers is aggregated separately; never concatenated).*/import type { UsageGroupBy } from "../../api/types.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Db } from "../../hmr/capabilities.js";import type { UsageStore } from "../../mechanisms/observability.js";diff --git a/packages/server/src/db/repos/users.ts b/packages/server/src/db/repos/users.tsindex 6e52e74f..f5505147 100644--- a/packages/server/src/db/repos/users.ts+++ b/packages/server/src/db/repos/users.ts@@ -2,7 +2,7 @@* users table repo: pure SQL wrapper, no business rules.* user_id is the login name (a semantic id, specified at creation, immutable).*/-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Db } from "../../hmr/capabilities.js";import type { Users } from "../../mechanisms/identity.js";diff --git a/packages/server/src/hmr/capabilities.ts b/packages/server/src/hmr/capabilities.tsindex a8469a25..a4b0a146 100644--- a/packages/server/src/hmr/capabilities.ts+++ b/packages/server/src/hmr/capabilities.ts@@ -21,20 +21,20 @@* registry.*/import type { DatabaseSync } from "node:sqlite";-import type { Resources, Opaque, ModuleClass } from "@prismshadow/penguin-core/kernel";+import type { Resources, Opaque, ModuleClass } from "@lmliheng/penguin-core/kernel";import type { ServerConfig } from "../config.js";import type { AuthRuntimeState } from "../auth/runtime-state.js";import { newAuthRuntimeState } from "../auth/runtime-state.js";import type { ChannelHub, Channel } from "../runtime/channel.js";import type { ProxySettings } from "../net/proxy.js";-import type { HmrHost, Hmr as HmrControlOf } from "@prismshadow/penguin-hmr";+import type { HmrHost, Hmr as HmrControlOf } from "@lmliheng/penguin-hmr";import type { PlatformApi } from "./platform.js";/** The control object the entry built (hmrMain): `current()` and `upgrade()`. */export type HmrControlApi = HmrControlOf<PlatformApi>;import type { DesktopService } from "../services/desktop-service.js";import type { LifecycleService } from "../services/lifecycle-service.js";-import { Interface, Component, Module, Provide, Use } from "@prismshadow/penguin-core/kernel";+import { Interface, Component, Module, Provide, Use } from "@lmliheng/penguin-core/kernel";/*** What one side of the seam speaks: a family, and a Go-style structural interface perdiff --git a/packages/server/src/hmr/http-seam.ts b/packages/server/src/hmr/http-seam.tsindex 9fc7b59d..25d84c26 100644--- a/packages/server/src/hmr/http-seam.ts+++ b/packages/server/src/hmr/http-seam.ts@@ -31,7 +31,7 @@* (`terminals()`, `attachStream()`) instead.*/import type { MiddlewareHandler } from "hono";-import type { Hmr } from "@prismshadow/penguin-hmr";+import type { Hmr } from "@lmliheng/penguin-hmr";import type { PlatformApi } from "./platform.js";import { noPlatformResponse } from "./starting.js";diff --git a/packages/server/src/hmr/manifest.ts b/packages/server/src/hmr/manifest.tsindex e7d6dbcf..8dd5d9b4 100644--- a/packages/server/src/hmr/manifest.ts+++ b/packages/server/src/hmr/manifest.ts@@ -4,6 +4,6 @@* with no server in the process, and that entry point is a contract with installed CLIs.** The reader itself is the hot-update MECHANISM and lives with the rest of it- * (@prismshadow/penguin-hmr) — see that package's README for what may go in there.+ * (@lmliheng/penguin-hmr) — see that package's README for what may go in there.*/-export * from "@prismshadow/penguin-hmr/manifest";+export * from "@lmliheng/penguin-hmr/manifest";diff --git a/packages/server/src/hmr/platform.ts b/packages/server/src/hmr/platform.tsindex 8c636037..b014db5c 100644--- a/packages/server/src/hmr/platform.ts+++ b/packages/server/src/hmr/platform.ts@@ -32,7 +32,7 @@ import type {ManifestTable,ModuleDef,ModuleTree,-} from "@prismshadow/penguin-core/kernel";+} from "@lmliheng/penguin-core/kernel";import {defineIface,schema,@@ -42,8 +42,8 @@ import {initialDoc,moduleDefOf,upgrade,-} from "@prismshadow/penguin-core/kernel";-import type { HmrHost, PlatformBundle } from "@prismshadow/penguin-hmr";+} from "@lmliheng/penguin-core/kernel";+import type { HmrHost, PlatformBundle } from "@lmliheng/penguin-hmr";import { TerminalManager } from "../terminal/manager.js";import type { TerminalSession } from "../terminal/session.js";import type { RemoteTerminals } from "../machines/terminal-relay.js";@@ -74,7 +74,7 @@ import { MachinesRepo } from "../db/repos/machines.js";import type { Auth } from "../mechanisms/identity.js";/**- * This server's hot host: the mechanism (@prismshadow/penguin-hmr) with the api ITS platforms+ * This server's hot host: the mechanism (@lmliheng/penguin-hmr) with the api ITS platforms* expose. The mechanism is generic on purpose — it cannot name a route or a service — so the* product supplies the type here, once, and everything that holds a host uses this alias.*/diff --git a/packages/server/src/hmr/routes.ts b/packages/server/src/hmr/routes.tsindex f1f5d60a..14282c5b 100644--- a/packages/server/src/hmr/routes.ts+++ b/packages/server/src/hmr/routes.ts@@ -12,7 +12,7 @@* its generation does not answer here (`admitsUpgradeRoute`).*/import { Hono } from "hono";-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";import { authMiddleware } from "../auth/middleware.js";import type { AppEnv } from "../auth/middleware.js";import type { Auth } from "../mechanisms/identity.js";diff --git a/packages/server/src/http/app.ts b/packages/server/src/http/app.tsindex 0b7fa4a0..39863790 100644--- a/packages/server/src/http/app.ts+++ b/packages/server/src/http/app.ts@@ -1,5 +1,5 @@-import { Interface, Module, Provide, Use } from "@prismshadow/penguin-core/kernel";-import type { Opaque, Slot, ClassCtx } from "@prismshadow/penguin-core/kernel";+import { Interface, Module, Provide, Use } from "@lmliheng/penguin-core/kernel";+import type { Opaque, Slot, ClassCtx } from "@lmliheng/penguin-core/kernel";import { Hono } from "hono";import type { AppEnv } from "../auth/middleware.js";import { Config, Log } from "../hmr/capabilities.js";diff --git a/packages/server/src/http/routes/admin.ts b/packages/server/src/http/routes/admin.tsindex 0b1abefa..b74eb100 100644--- a/packages/server/src/http/routes/admin.ts+++ b/packages/server/src/http/routes/admin.ts@@ -10,7 +10,7 @@ import { rejectInDesktopMode } from "./desktop.js";import type { DesktopService } from "../../services/desktop-service.js";import type { AppEnv } from "../../auth/middleware.js";import { pathParam, readJson, requireString } from "../validate.js";-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";import type { Desktop, Proxy } from "../../hmr/capabilities.js";import { adminSettingsRoutes } from "./admin-settings.js";import { adminPluginConfigRoutes } from "./admin-plugin-config.js";diff --git a/packages/server/src/http/routes/agent-config.ts b/packages/server/src/http/routes/agent-config.tsindex 244b7792..fa41fdb4 100644--- a/packages/server/src/http/routes/agent-config.ts+++ b/packages/server/src/http/routes/agent-config.ts@@ -10,8 +10,8 @@ import { mkdtemp, rm } from "node:fs/promises";import { tmpdir } from "node:os";import { join } from "node:path";import { Hono } from "hono";-import { McpToolProvider, resolveMCPServer } from "@prismshadow/penguin-core";-import type { MCPServerConfig } from "@prismshadow/penguin-core";+import { McpToolProvider, resolveMCPServer } from "@lmliheng/penguin-core";+import type { MCPServerConfig } from "@lmliheng/penguin-core";import type {AgentConfigResponse,AgentConfigUpdateRequest,diff --git a/packages/server/src/http/routes/auth.ts b/packages/server/src/http/routes/auth.tsindex dc176c18..7f55c84e 100644--- a/packages/server/src/http/routes/auth.ts+++ b/packages/server/src/http/routes/auth.ts@@ -15,7 +15,7 @@ import { readJson, requireString } from "../validate.js";import { HttpError } from "../errors.js";import type { ServerConfig } from "../../config.js";import type { Auth } from "../../mechanisms/identity.js";-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";import { Config, Desktop } from "../../hmr/capabilities.js";import type { DesktopApi } from "../../hmr/capabilities.js";diff --git a/packages/server/src/http/routes/benchmarks.ts b/packages/server/src/http/routes/benchmarks.tsindex 2dbd8db3..189e7736 100644--- a/packages/server/src/http/routes/benchmarks.ts+++ b/packages/server/src/http/routes/benchmarks.ts@@ -13,7 +13,7 @@* along with the evaluations[] from scoreboard.yaml.*/import { Hono, type Context } from "hono";-import { isValidId } from "@prismshadow/penguin-core";+import { isValidId } from "@lmliheng/penguin-core";import type { AppEnv } from "../../auth/middleware.js";import type { BenchmarkCreateResponse, CaseMaterial } from "../../api/types.js";import type { BenchmarkCaseInput } from "../../services/benchmark-service.js";diff --git a/packages/server/src/http/routes/chat-defaults.ts b/packages/server/src/http/routes/chat-defaults.tsindex 9356bb8c..dae49df2 100644--- a/packages/server/src/http/routes/chat-defaults.ts+++ b/packages/server/src/http/routes/chat-defaults.ts@@ -6,7 +6,7 @@* it stays the top-level `default_model` maintained via the models routes.*/import { Hono } from "hono";-import { DEFAULT_CHAT_THINKING_LEVELS, isValidId } from "@prismshadow/penguin-core";+import { DEFAULT_CHAT_THINKING_LEVELS, isValidId } from "@lmliheng/penguin-core";import type { ChatDefaultsDto, SessionSandbox } from "../../api/types.js";import type { AppEnv } from "../../auth/middleware.js";import { HttpError } from "../errors.js";diff --git a/packages/server/src/http/routes/contributions.ts b/packages/server/src/http/routes/contributions.tsindex 6a27260d..a617886d 100644--- a/packages/server/src/http/routes/contributions.ts+++ b/packages/server/src/http/routes/contributions.ts@@ -5,9 +5,9 @@*/import { Hono } from "hono";import type { AppEnv } from "../../auth/middleware.js";-import { Interface, Bind, Module, Provide } from "@prismshadow/penguin-core/kernel";+import { Interface, Bind, Module, Provide } from "@lmliheng/penguin-core/kernel";import type { ContributionsResponse, RendererRef, WebContribution } from "../../api/types.js";-import type { ClassCtx } from "@prismshadow/penguin-core/kernel";+import type { ClassCtx } from "@lmliheng/penguin-core/kernel";export interface ContributionsRouteDeps {web: WebShell;diff --git a/packages/server/src/http/routes/desktop.ts b/packages/server/src/http/routes/desktop.tsindex b6b2afe8..fef45b9c 100644--- a/packages/server/src/http/routes/desktop.ts+++ b/packages/server/src/http/routes/desktop.ts@@ -14,7 +14,7 @@*/import { Hono } from "hono";import type { Context, MiddlewareHandler } from "hono";-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";import type {DesktopTrayPatch,DesktopTrayStatusResponse,diff --git a/packages/server/src/http/routes/dirs.ts b/packages/server/src/http/routes/dirs.tsindex d7e6ed03..ffc76a0d 100644--- a/packages/server/src/http/routes/dirs.ts+++ b/packages/server/src/http/routes/dirs.ts@@ -31,7 +31,7 @@ import fs from "node:fs/promises";import os from "node:os";import path from "node:path";import { Hono } from "hono";-import { projectDir } from "@prismshadow/penguin-core";+import { projectDir } from "@lmliheng/penguin-core";import type {DirAccessResponse,DirCreateResponse,@@ -42,7 +42,7 @@ import type {import type { AppEnv } from "../../auth/middleware.js";import { HttpError } from "../errors.js";import { requireValidId } from "../validate.js";-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";import { directorySkillsRoutes } from "./directory-skills.js";import type { Desktop, DesktopApi, Paths } from "../../hmr/capabilities.js";import type { Access } from "../../mechanisms/projects.js";diff --git a/packages/server/src/http/routes/events.ts b/packages/server/src/http/routes/events.tsindex b9659e94..9ec777d6 100644--- a/packages/server/src/http/routes/events.ts+++ b/packages/server/src/http/routes/events.ts@@ -6,8 +6,8 @@ import { Hono } from "hono";import type { AppEnv } from "../../auth/middleware.js";import { sseEndpoint, streamRevocation } from "../sse.js";import type { ChannelHub } from "../../runtime/channel.js";-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";-import type { ClassCtx } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";+import type { ClassCtx } from "@lmliheng/penguin-core/kernel";import { Channels } from "../../hmr/capabilities.js";import { LiveStreams } from "../../auth/live-streams.js";import { Auth } from "../../mechanisms/identity.js";diff --git a/packages/server/src/http/routes/hooks.ts b/packages/server/src/http/routes/hooks.tsindex da02b562..42ac513b 100644--- a/packages/server/src/http/routes/hooks.ts+++ b/packages/server/src/http/routes/hooks.ts@@ -27,8 +27,8 @@ import {parsePluginVersion,removeHook,replaceSkillDirectory,-} from "@prismshadow/penguin-core";-import type { HookCommand, HookManifest } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";+import type { HookCommand, HookManifest } from "@lmliheng/penguin-core";import type { AgentHooksResponse, HookItem } from "../../api/types.js";import type { AppEnv } from "../../auth/middleware.js";import type { PluginsRouteDeps } from "./plugins.js";diff --git a/packages/server/src/http/routes/install.ts b/packages/server/src/http/routes/install.tsindex ced9532a..c9946523 100644--- a/packages/server/src/http/routes/install.ts+++ b/packages/server/src/http/routes/install.ts@@ -29,8 +29,8 @@ export interface InstallRouteDeps {config: ServerConfig;}import { ensureInstallId } from "../../install-id.js";-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";-import type { ClassCtx } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";+import type { ClassCtx } from "@lmliheng/penguin-core/kernel";import { Config } from "../../hmr/capabilities.js";export function installRoutes(deps: InstallRouteDeps): Hono<AppEnv> {diff --git a/packages/server/src/http/routes/me.ts b/packages/server/src/http/routes/me.tsindex 2b03b9cf..0912dea1 100644--- a/packages/server/src/http/routes/me.ts+++ b/packages/server/src/http/routes/me.ts@@ -47,8 +47,8 @@ import {MAX_ATTACHMENT_MB,MIN_ATTACHMENT_MB,} from "../../services/attachment-limits.js";-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";-import type { ClassCtx } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";+import type { ClassCtx } from "@lmliheng/penguin-core/kernel";import { Config, Desktop } from "../../hmr/capabilities.js";import type { Auth, Users } from "../../mechanisms/identity.js";import type { Settings, UiPrefsStore } from "../../mechanisms/settings.js";diff --git a/packages/server/src/http/routes/organizations.ts b/packages/server/src/http/routes/organizations.tsindex 9a6f787d..3ab4694f 100644--- a/packages/server/src/http/routes/organizations.ts+++ b/packages/server/src/http/routes/organizations.ts@@ -30,7 +30,7 @@*/import { Hono } from "hono";import type { Context } from "hono";-import { isValidId } from "@prismshadow/penguin-core";+import { isValidId } from "@lmliheng/penguin-core";import type {OrgApprovalMode,OrgLanguage,@@ -41,7 +41,7 @@ import type {} from "../../api/types.js";import type { AppEnv } from "../../auth/middleware.js";import type { SessionVia } from "../../auth/service.js";-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";import type { Settings } from "../../mechanisms/settings.js";import type { ProjectLifecycle } from "../../mechanisms/projects.js";import { TICKET_ID_PATTERN } from "../../organization/files.js";diff --git a/packages/server/src/http/routes/plugins-installed.ts b/packages/server/src/http/routes/plugins-installed.tsindex eef794e8..401ea026 100644--- a/packages/server/src/http/routes/plugins-installed.ts+++ b/packages/server/src/http/routes/plugins-installed.ts@@ -34,17 +34,13 @@* restored on the previous list, and the answer is "did not take".*/import { Hono } from "hono";-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";import type { AppEnv } from "../../auth/middleware.js";import type { InstalledPlugin, InstalledPluginsResponse } from "../../api/types.js";import { HttpError } from "../errors.js";import { readJson, requireValidId } from "../validate.js";import type { DatabaseSync } from "node:sqlite";-import {- effectivePluginTable,- PLUGIN_MACHINE_ID,- type PluginTables,-} from "@prismshadow/penguin-core";+import { effectivePluginTable, PLUGIN_MACHINE_ID, type PluginTables } from "@lmliheng/penguin-core";import type { Config, Db, Hmr, Reassembly, ReassemblyChange } from "../../hmr/capabilities.js";import {discoverBuiltinPlugins,diff --git a/packages/server/src/http/routes/plugins.ts b/packages/server/src/http/routes/plugins.tsindex e4612000..ec2c2411 100644--- a/packages/server/src/http/routes/plugins.ts+++ b/packages/server/src/http/routes/plugins.ts@@ -46,7 +46,7 @@ import {userPluginInstalled,userPluginRoots,userPluginsDir,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type {AgentPluginsInstallResponse,PluginDirectoryResponse,@@ -62,7 +62,7 @@ import type { Config, Hmr } from "../../hmr/capabilities.js";import type { AgentConfig } from "../../mechanisms/agents.js";import type { Access } from "../../mechanisms/projects.js";import type { Sessions as ManagerIface } from "../../runtime/session-manager.js";-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";import { agentHooksRoutes } from "./hooks.js";import { builtinPluginRegistry } from "../../plugin/registry.js";import { pluginBases } from "../../plugin/loader.js";diff --git a/packages/server/src/http/routes/preview.ts b/packages/server/src/http/routes/preview.tsindex 98cafcfa..93ff6466 100644--- a/packages/server/src/http/routes/preview.ts+++ b/packages/server/src/http/routes/preview.ts@@ -20,9 +20,9 @@ import {requestAuthority,createPreviewTokenSigner,} from "../../services/preview-token.js";-import { Interface, Bind, Module, Provide, Use } from "@prismshadow/penguin-core/kernel";+import { Interface, Bind, Module, Provide, Use } from "@lmliheng/penguin-core/kernel";import type { AppEnv } from "../../auth/middleware.js";-import type { ClassCtx } from "@prismshadow/penguin-core/kernel";+import type { ClassCtx } from "@lmliheng/penguin-core/kernel";import type { SessionIndex } from "../../mechanisms/sessions.js";import type { WorkspaceFiles } from "../../mechanisms/workspace.js";diff --git a/packages/server/src/http/routes/projects.ts b/packages/server/src/http/routes/projects.tsindex 03bd0a90..0d1fdee8 100644--- a/packages/server/src/http/routes/projects.ts+++ b/packages/server/src/http/routes/projects.ts@@ -15,7 +15,7 @@ import {requireString,requireValidId,} from "../validate.js";-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";import type { Desktop } from "../../hmr/capabilities.js";import type { DesktopService } from "../../services/desktop-service.js";import { membersRoutes } from "./members.js";diff --git a/packages/server/src/http/routes/schedules.ts b/packages/server/src/http/routes/schedules.tsindex 9ea8e071..c8ac1256 100644--- a/packages/server/src/http/routes/schedules.ts+++ b/packages/server/src/http/routes/schedules.ts@@ -10,7 +10,7 @@*/import { createHash } from "node:crypto";import { Hono } from "hono";-import { isValidId } from "@prismshadow/penguin-core";+import { isValidId } from "@lmliheng/penguin-core";import type {ProjectSchedulesResponse,ScheduleItem,@@ -52,7 +52,7 @@ import {validateScheduleModelRef,writeScheduleFile,} from "../../runtime/schedule-store.js";-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";import type { Config } from "../../hmr/capabilities.js";import type { Access, ProjectConfigStore } from "../../mechanisms/projects.js";import type { Schedules, Scheduling } from "../../mechanisms/sessions.js";diff --git a/packages/server/src/http/routes/sessions.ts b/packages/server/src/http/routes/sessions.tsindex 6b68c25e..90d73980 100644--- a/packages/server/src/http/routes/sessions.ts+++ b/packages/server/src/http/routes/sessions.ts@@ -17,8 +17,8 @@ import {sessionScratchpadDir,stripLeadingMarkerBlocks,userText,-} from "@prismshadow/penguin-core";-import type { OmniMessage } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";+import type { OmniMessage } from "@lmliheng/penguin-core";import type {ApprovalMode,FilesStatResponse,@@ -112,8 +112,8 @@ import {toAttachmentLimits,} from "../../services/attachment-limits.js";import type { AttachmentLimits } from "../../services/attachment-limits.js";-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";-import type { ClassCtx } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";+import type { ClassCtx } from "@lmliheng/penguin-core/kernel";import { Channels, Config, Desktop } from "../../hmr/capabilities.js";import { Sessions as ManagerIface, SessionServiceIface } from "../../runtime/session-manager.js";import { Messaging } from "../../runtime/messaging/bridge.js";diff --git a/packages/server/src/http/routes/skills.ts b/packages/server/src/http/routes/skills.tsindex 0a5f9c46..58e35eb5 100644--- a/packages/server/src/http/routes/skills.ts+++ b/packages/server/src/http/routes/skills.ts@@ -23,7 +23,7 @@ import {skillsDir,parseSkillFrontmatter,PLUGIN_NAME_PATTERN,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type { AgentSkillsResponse } from "../../api/types.js";import type { AppEnv } from "../../auth/middleware.js";import type { ServerConfig } from "../../config.js";@@ -44,8 +44,8 @@ import {skillTooLarge,unzipBounded,} from "../../services/skill-import-limits.js";-import { Bind, Component } from "@prismshadow/penguin-core/kernel";-import type { ClassCtx } from "@prismshadow/penguin-core/kernel";+import { Bind, Component } from "@lmliheng/penguin-core/kernel";+import type { ClassCtx } from "@lmliheng/penguin-core/kernel";import type { AgentConfig } from "../../mechanisms/agents.js";import type { Access } from "../../mechanisms/projects.js";diff --git a/packages/server/src/http/routes/suggest-id.ts b/packages/server/src/http/routes/suggest-id.tsindex c6d5c8ee..980ccf8e 100644--- a/packages/server/src/http/routes/suggest-id.ts+++ b/packages/server/src/http/routes/suggest-id.ts@@ -25,7 +25,7 @@* the organization service, recorded as the organization's.*/import { Hono } from "hono";-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";import type { SemanticIdKind } from "../../api/types.js";import type { AppEnv } from "../../auth/middleware.js";import type { Log } from "../../hmr/capabilities.js";diff --git a/packages/server/src/http/routes/version.ts b/packages/server/src/http/routes/version.tsindex 0c050545..4de463ca 100644--- a/packages/server/src/http/routes/version.ts+++ b/packages/server/src/http/routes/version.ts@@ -31,7 +31,7 @@ import type {VersionResponse,VersionRollbackResponse,} from "../../api/types.js";-import { diffIfaces } from "@prismshadow/penguin-hmr";+import { diffIfaces } from "@lmliheng/penguin-hmr";import type { HarnessHistoryIface } from "../../services/harness-history.js";import { HttpError } from "../errors.js";import type { AppEnv } from "../../auth/middleware.js";diff --git a/packages/server/src/http/validate.ts b/packages/server/src/http/validate.tsindex 98f9e008..6cde4653 100644--- a/packages/server/src/http/validate.ts+++ b/packages/server/src/http/validate.ts@@ -7,7 +7,7 @@import fs from "node:fs/promises";import path from "node:path";import type { Context } from "hono";-import { isValidId } from "@prismshadow/penguin-core";+import { isValidId } from "@lmliheng/penguin-core";import { HttpError } from "./errors.js";export function badRequest(message: string): HttpError {diff --git a/packages/server/src/index.ts b/packages/server/src/index.tsindex d454308d..ea7415d5 100644--- a/packages/server/src/index.ts+++ b/packages/server/src/index.ts@@ -2,7 +2,7 @@* Server process entry point: the whole startup lifecycle, as one ordered sequence.** Importing this module STARTS the server — the CLI runs a server in its own process by- * `await import("@prismshadow/penguin-server")` and nothing else, so main() is invoked at+ * `await import("@lmliheng/penguin-server")` and nothing else, so main() is invoked at* module scope rather than exported.** main() comes first in the file and is the sequence itself: each step is one PenguinServer@@ -19,11 +19,11 @@ import path from "node:path";import type { Server as HttpServer } from "node:http";import { config as loadDotenv } from "dotenv";import { serve } from "@hono/node-server";-import { SERVER_RESTART_EXIT_CODE } from "@prismshadow/penguin-core";+import { SERVER_RESTART_EXIT_CODE } from "@lmliheng/penguin-core";import { bootAppDeps, createApp } from "./app.js";-import { HmrHost, hmrMain } from "@prismshadow/penguin-hmr";-import type { Hmr } from "@prismshadow/penguin-hmr";-import type { Instance } from "@prismshadow/penguin-core/kernel";+import { HmrHost, hmrMain } from "@lmliheng/penguin-hmr";+import type { Hmr } from "@lmliheng/penguin-hmr";+import type { Instance } from "@lmliheng/penguin-core/kernel";import { packagedPlatform } from "./hmr/platform.js";import { startingResponse } from "./hmr/starting.js";import type { PlatformApi, ServerHmrHost } from "./hmr/platform.js";diff --git a/packages/server/src/internal/trace-head.ts b/packages/server/src/internal/trace-head.tsindex 325f7956..dd3e53fb 100644--- a/packages/server/src/internal/trace-head.ts+++ b/packages/server/src/internal/trace-head.ts@@ -4,8 +4,8 @@* instead of pulling a whole multi-MB file into memory.*/import { open } from "node:fs/promises";-import { parseTraceLines, readTraceTolerant } from "@prismshadow/penguin-core";-import type { OmniMessage } from "@prismshadow/penguin-core";+import { parseTraceLines, readTraceTolerant } from "@lmliheng/penguin-core";+import type { OmniMessage } from "@lmliheng/penguin-core";/** Head window for Trace head reads: generous for a long system prompt, far below a whole multi-MB shard. */export const TRACE_HEAD_BYTES = 256 * 1024;diff --git a/packages/server/src/lock.ts b/packages/server/src/lock.tsindex 031d1bce..d38b6c7f 100644--- a/packages/server/src/lock.ts+++ b/packages/server/src/lock.ts@@ -9,7 +9,7 @@* lock that fails the liveness check is stale and is simply overwritten by the next* server.*- * Published as `@prismshadow/penguin-server/lock` (side-effect-free) so the CLI and the+ * Published as `@lmliheng/penguin-server/lock` (side-effect-free) so the CLI and the* desktop shell can pre-check a root without importing the package entry, which starts* listening.*/diff --git a/packages/server/src/machine-status.ts b/packages/server/src/machine-status.tsindex 9e23e854..0e977e65 100644--- a/packages/server/src/machine-status.ts+++ b/packages/server/src/machine-status.ts@@ -3,7 +3,7 @@* root itself, by whoever can read it, with no server needed and safely while one runs (the* same terms as `penguin auth token`, which writes to this database live).*- * Exported as `@prismshadow/penguin-server/machine-status` for `penguin server status`, which+ * Exported as `@lmliheng/penguin-server/machine-status` for `penguin server status`, which* is how a CONTROLLER asks: it runs that one command over ssh and reads back JSON. The* question used to be asked in shell — `cat` the lock, `sed` the pid out of it, `kill -0`,* `cat` a second file for the id — which meant a parser on this side for a format with nodiff --git a/packages/server/src/machines/layout.ts b/packages/server/src/machines/layout.tsindex dcb22287..971df5a6 100644--- a/packages/server/src/machines/layout.ts+++ b/packages/server/src/machines/layout.ts@@ -25,7 +25,7 @@* Pure, and the only place either path is spelled: every command in this directory takes a* layout rather than naming `~/.penguin` itself.*/-import { DEFAULT_DEV_SERVER_PORT, DEFAULT_SERVER_PORT } from "@prismshadow/penguin-core";+import { DEFAULT_DEV_SERVER_PORT, DEFAULT_SERVER_PORT } from "@lmliheng/penguin-core";export type Profile = "release" | "dev";diff --git a/packages/server/src/machines/models-sync.ts b/packages/server/src/machines/models-sync.tsindex 9b069b0a..daacf9ec 100644--- a/packages/server/src/machines/models-sync.ts+++ b/packages/server/src/machines/models-sync.ts@@ -15,7 +15,7 @@* masked. Ours win on a collision.*/import type { MachineApi } from "./machine-api.js";-import type { ModelEntry, ModelRef } from "@prismshadow/penguin-core";+import type { ModelEntry, ModelRef } from "@lmliheng/penguin-core";import type {ModelInfo,ModelRefDto,diff --git a/packages/server/src/machines/service.ts b/packages/server/src/machines/service.tsindex e70ab2d7..c703875d 100644--- a/packages/server/src/machines/service.ts+++ b/packages/server/src/machines/service.ts@@ -30,8 +30,8 @@ import {VERSION,effectivePluginTable,loadProjectConfig,-} from "@prismshadow/penguin-core";-import type { ProjectConfig } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";+import type { ProjectConfig } from "@lmliheng/penguin-core";import type {MachineInfo,MachineJob,@@ -74,9 +74,9 @@ import type { LocalModels } from "./models-sync.js";import { machineApi } from "./machine-api.js";import { startRemoteServer, stopRemoteServer } from "./server-control.js";import type { MachineRow } from "../db/repos/machines.js";-import { Interface, Bind, Module, Provide, Use } from "@prismshadow/penguin-core/kernel";+import { Interface, Bind, Module, Provide, Use } from "@lmliheng/penguin-core/kernel";import type { AppEnv } from "../auth/middleware.js";-import type { ClassCtx } from "@prismshadow/penguin-core/kernel";+import type { ClassCtx } from "@lmliheng/penguin-core/kernel";import { machinesRoutes } from "../http/routes/machines.js";import { machinesProxy } from "./proxy.js";import { HttpError } from "../http/errors.js";diff --git a/packages/server/src/machines/terminal-relay.ts b/packages/server/src/machines/terminal-relay.tsindex 12594099..31d538a3 100644--- a/packages/server/src/machines/terminal-relay.ts+++ b/packages/server/src/machines/terminal-relay.ts@@ -24,7 +24,7 @@import type http from "node:http";import { WebSocket } from "ws";import type { RawData, WebSocket as WsSocket } from "ws";-import { Component, Interface, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Interface, Use } from "@lmliheng/penguin-core/kernel";import type { Terminal } from "../terminal/manager.js";import type { Auth } from "../mechanisms/identity.js";import type { Machines } from "./service.js";diff --git a/packages/server/src/mechanisms/agents.ts b/packages/server/src/mechanisms/agents.tsindex 70287f67..d52f300d 100644--- a/packages/server/src/mechanisms/agents.ts+++ b/packages/server/src/mechanisms/agents.ts@@ -1,7 +1,7 @@/*** The agents mechanisms: what a node may require, declared apart from what implements it.*/-import { Interface } from "@prismshadow/penguin-core/kernel";+import { Interface } from "@lmliheng/penguin-core/kernel";import type { AgentConfigView } from "../services/agent-config-service.js";import type {AgentConfigUpdateRequest,diff --git a/packages/server/src/mechanisms/identity.ts b/packages/server/src/mechanisms/identity.tsindex 6c90196c..971ed29c 100644--- a/packages/server/src/mechanisms/identity.ts+++ b/packages/server/src/mechanisms/identity.ts@@ -1,7 +1,7 @@/*** The identity mechanisms: what a node may require, declared apart from what implements it.*/-import { Interface } from "@prismshadow/penguin-core/kernel";+import { Interface } from "@lmliheng/penguin-core/kernel";import type { UserRow } from "../db/repos/users.js";import type { AuthSessionRow, SessionViaValue } from "../db/repos/auth-sessions.js";import type { UserInfo } from "../api/types.js";diff --git a/packages/server/src/mechanisms/messaging.ts b/packages/server/src/mechanisms/messaging.tsindex 6eb3391f..9c2278b3 100644--- a/packages/server/src/mechanisms/messaging.ts+++ b/packages/server/src/mechanisms/messaging.ts@@ -1,7 +1,7 @@/*** The messaging mechanisms: what a node may require, declared apart from what implements it.*/-import { Interface } from "@prismshadow/penguin-core/kernel";+import { Interface } from "@lmliheng/penguin-core/kernel";import type { MessagingBindingRow } from "../db/repos/messaging-bindings.js";/** MessagingBindings: the mechanism MessagingBindingsRepo implements. */diff --git a/packages/server/src/mechanisms/observability.ts b/packages/server/src/mechanisms/observability.tsindex 09d114ce..2da9edcb 100644--- a/packages/server/src/mechanisms/observability.ts+++ b/packages/server/src/mechanisms/observability.ts@@ -1,8 +1,8 @@/*** The observability mechanisms: what a node may require, declared apart from what implements it.*/-import { Interface } from "@prismshadow/penguin-core/kernel";-import type { Opaque } from "@prismshadow/penguin-core/kernel";+import { Interface } from "@lmliheng/penguin-core/kernel";+import type { Opaque } from "@lmliheng/penguin-core/kernel";import type {ErrorCodeCount,ErrorFilter,@@ -54,7 +54,7 @@ import type {ToolCallOutputPayload,ToolCallPayload,ToolListReadyPayload,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type {UsageQuery,UsageErrorsClearQuery,diff --git a/packages/server/src/mechanisms/organization.ts b/packages/server/src/mechanisms/organization.tsindex 3c47b144..e27864ce 100644--- a/packages/server/src/mechanisms/organization.ts+++ b/packages/server/src/mechanisms/organization.ts@@ -2,8 +2,8 @@* The organization mechanisms: what a node may require, declared apart from what* implements it.*/-import { Interface } from "@prismshadow/penguin-core/kernel";-import type { Opaque } from "@prismshadow/penguin-core/kernel";+import { Interface } from "@lmliheng/penguin-core/kernel";+import type { Opaque } from "@lmliheng/penguin-core/kernel";import type { OrgCacheRepo } from "../db/repos/organizations.js";/**diff --git a/packages/server/src/mechanisms/projects.ts b/packages/server/src/mechanisms/projects.tsindex b9ed2c40..75d38e11 100644--- a/packages/server/src/mechanisms/projects.ts+++ b/packages/server/src/mechanisms/projects.ts@@ -1,7 +1,7 @@/*** The projects mechanisms: what a node may require, declared apart from what implements it.*/-import { Interface } from "@prismshadow/penguin-core/kernel";+import { Interface } from "@lmliheng/penguin-core/kernel";import type { AccessibleProjectRow, ProjectRow } from "../db/repos/projects.js";import type { MemberRow } from "../db/repos/members.js";import type { AgentRow } from "../db/repos/agents.js";@@ -32,7 +32,7 @@ import type {ModelRef,PluginTables,ProjectConfig,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type { TieredRates } from "../services/usage-service.js";import type {PlatformModelApplyResult,diff --git a/packages/server/src/mechanisms/sessions.ts b/packages/server/src/mechanisms/sessions.tsindex 75c36142..83e742ea 100644--- a/packages/server/src/mechanisms/sessions.ts+++ b/packages/server/src/mechanisms/sessions.ts@@ -1,12 +1,12 @@/*** The sessions mechanisms: what a node may require, declared apart from what implements it.*/-import { Interface } from "@prismshadow/penguin-core/kernel";-import type { Opaque } from "@prismshadow/penguin-core/kernel";+import { Interface } from "@lmliheng/penguin-core/kernel";+import type { Opaque } from "@lmliheng/penguin-core/kernel";import type { SessionSource, ApprovalMode } from "../api/types.js";import type { SessionRow } from "../db/repos/sessions.js";-import type { ThinkingLevelName } from "@prismshadow/penguin-core";-import type { SandboxSettings } from "@prismshadow/penguin-core/plugin";+import type { ThinkingLevelName } from "@lmliheng/penguin-core";+import type { SandboxSettings } from "@lmliheng/penguin-core/plugin";import type { ScheduleStateRow } from "../db/repos/schedules.js";import type { ScheduleFileCache } from "../runtime/schedule-store.js";import type { ScheduleEntryView } from "../runtime/scheduler.js";diff --git a/packages/server/src/mechanisms/settings.ts b/packages/server/src/mechanisms/settings.tsindex d1061c8d..9f08c711 100644--- a/packages/server/src/mechanisms/settings.ts+++ b/packages/server/src/mechanisms/settings.ts@@ -1,7 +1,7 @@/*** The settings mechanisms: what a node may require, declared apart from what implements it.*/-import { Interface } from "@prismshadow/penguin-core/kernel";+import { Interface } from "@lmliheng/penguin-core/kernel";/** Settings: the mechanism ServerSettingsRepo implements. */@Interface()diff --git a/packages/server/src/mechanisms/traces.ts b/packages/server/src/mechanisms/traces.tsindex fa14a933..b3f96f7f 100644--- a/packages/server/src/mechanisms/traces.ts+++ b/packages/server/src/mechanisms/traces.ts@@ -1,7 +1,7 @@/*** The traces mechanisms: what a node may require, declared apart from what implements it.*/-import { Interface } from "@prismshadow/penguin-core/kernel";+import { Interface } from "@lmliheng/penguin-core/kernel";import type {SessionCategory,AgentTracesResponse,@@ -40,7 +40,7 @@ import type {ToolCallOutputPayload,ToolCallPayload,ToolListReadyPayload,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type {ForkTraceResult,MessagesPageRequest,diff --git a/packages/server/src/mechanisms/workflows.ts b/packages/server/src/mechanisms/workflows.tsindex 947ee2b3..7afa18ab 100644--- a/packages/server/src/mechanisms/workflows.ts+++ b/packages/server/src/mechanisms/workflows.ts@@ -15,7 +15,7 @@* serve a UI file, and the version history every successful load appends to — which is* what makes an Agent's own edits to its workflow reversible.*/-import { Interface } from "@prismshadow/penguin-core/kernel";+import { Interface } from "@lmliheng/penguin-core/kernel";/** A request the workflow's handler receives (the HTTP shape, minus the transport). */export interface WorkflowRequest {@@ -64,7 +64,7 @@ export interface WorkflowInput {text: string;}-/** What a workflow provides (its manifest: `provides: { main: "@prismshadow/penguin-server#WorkflowMain" }`). */+/** What a workflow provides (its manifest: `provides: { main: "@lmliheng/penguin-server#WorkflowMain" }`). */@Interface()export abstract class WorkflowMain {abstract handle(request: WorkflowRequest): Promise<WorkflowResponse>;diff --git a/packages/server/src/mechanisms/workspace.ts b/packages/server/src/mechanisms/workspace.tsindex dd4b61ed..421d85c2 100644--- a/packages/server/src/mechanisms/workspace.ts+++ b/packages/server/src/mechanisms/workspace.ts@@ -1,7 +1,7 @@/*** The workspace mechanisms: what a node may require, declared apart from what implements it.*/-import { Interface } from "@prismshadow/penguin-core/kernel";+import { Interface } from "@lmliheng/penguin-core/kernel";import type {WorkspaceFileContent,WorkspaceFileReadOptions,diff --git a/packages/server/src/organization/paths.ts b/packages/server/src/organization/paths.tsindex e869916d..31ec80bb 100644--- a/packages/server/src/organization/paths.ts+++ b/packages/server/src/organization/paths.ts@@ -5,7 +5,7 @@* server reads. Files are the truth for company mode; nothing here touches SQLite.*/import path from "node:path";-import { projectDir } from "@prismshadow/penguin-core";+import { projectDir } from "@lmliheng/penguin-core";import type { OrgTicketStatus } from "../api/types.js";/** The kanban columns in board order; each is a directory under `tickets/<yyyy-mm>/`. */diff --git a/packages/server/src/platform.ts b/packages/server/src/platform.tsindex 6e1b0f06..15c567c0 100644--- a/packages/server/src/platform.ts+++ b/packages/server/src/platform.ts@@ -1,6 +1,6 @@-import { Component, Module, moduleDefOf, Use } from "@prismshadow/penguin-core/kernel";-import type { ManifestTable, ModuleClass, ModuleDef } from "@prismshadow/penguin-core/kernel";-import { DEFAULT_PROJECT_ID, DEFAULT_PROJECT_NAME } from "@prismshadow/penguin-core";+import { Component, Module, moduleDefOf, Use } from "@lmliheng/penguin-core/kernel";+import type { ManifestTable, ModuleClass, ModuleDef } from "@lmliheng/penguin-core/kernel";+import { DEFAULT_PROJECT_ID, DEFAULT_PROJECT_NAME } from "@lmliheng/penguin-core";import table from "./ifaces.json" with { type: "json" };import type { HmrCapabilities, ReassemblyChange } from "./hmr/capabilities.js";import {diff --git a/packages/server/src/plugin/builtin-index.json b/packages/server/src/plugin/builtin-index.jsonindex 484b8aaa..5d9bd63a 100644--- a/packages/server/src/plugin/builtin-index.json+++ b/packages/server/src/plugin/builtin-index.json@@ -1,6 +1,6 @@[{- "name": "@prismshadow/penguin-plugin-sandbox-bwrap",+ "name": "@lmliheng/penguin-plugin-sandbox-bwrap","version": "0.2.2","description": "Bubblewrap sandbox backend for Adelie: filesystem confinement plus network isolation and path masking.","authors": ["Prism Shadow"],@@ -10,7 +10,7 @@"categories": ["sandbox"]},{- "name": "@prismshadow/penguin-plugin-sandbox-seatbelt",+ "name": "@lmliheng/penguin-plugin-sandbox-seatbelt","version": "0.2.2","description": "macOS Seatbelt sandbox backend for Adelie: filesystem confinement plus network isolation and path masking.","authors": ["Prism Shadow"],@@ -20,7 +20,7 @@"categories": ["sandbox"]},{- "name": "@prismshadow/penguin-plugin-sandbox-wsl",+ "name": "@lmliheng/penguin-plugin-sandbox-wsl","version": "0.2.2","description": "WSL sandbox backend for Adelie on Windows: commands run in a dedicated WSL2 distro under bubblewrap, with Windows interop switched off.","authors": ["Prism Shadow"],@@ -30,7 +30,7 @@"categories": ["sandbox"]},{- "name": "@prismshadow/penguin-plugin-sandbox-dsh",+ "name": "@lmliheng/penguin-plugin-sandbox-dsh","version": "0.2.2","description": "DeepSeek Harness sandbox adaptor for Adelie: the DSH local backend chain behind the harness's own sandbox interface.","authors": ["Prism Shadow"],diff --git a/packages/server/src/plugin/config.ts b/packages/server/src/plugin/config.tsindex f7ceea05..384eff4d 100644--- a/packages/server/src/plugin/config.ts+++ b/packages/server/src/plugin/config.ts@@ -31,8 +31,8 @@* the sandbox service) is created before the page, and a sandbox backend reading its own* group is created after the provider: one node for both would close that circle.*/-import { Interface, Module, Provide, Use } from "@prismshadow/penguin-core/kernel";-import type { ClassCtx, Slot } from "@prismshadow/penguin-core/kernel";+import { Interface, Module, Provide, Use } from "@lmliheng/penguin-core/kernel";+import type { ClassCtx, Slot } from "@lmliheng/penguin-core/kernel";import type {PluginConfigEntry,PluginConfigField,diff --git a/packages/server/src/plugin/host.ts b/packages/server/src/plugin/host.tsindex 5469849c..7649ecd0 100644--- a/packages/server/src/plugin/host.ts+++ b/packages/server/src/plugin/host.ts@@ -1,9 +1,9 @@/*** The plugin host: the plugins this process loaded, as module definitions the* platform boots as children of its tree. Kept out of ./index.ts so the published- * `@prismshadow/penguin-server/plugin` subpath stays types only.+ * `@lmliheng/penguin-server/plugin` subpath stays types only.*/-import type { IfaceTable, ModuleDef, Resources } from "@prismshadow/penguin-core/kernel";+import type { IfaceTable, ModuleDef, Resources } from "@lmliheng/penguin-core/kernel";/** One loaded plugin: the package, its modules and stand-ins with manifests paired to code, and its generated table. */export interface LoadedPlugin {diff --git a/packages/server/src/plugin/iface-check.ts b/packages/server/src/plugin/iface-check.tsindex e2a0a53c..50b6cf9b 100644--- a/packages/server/src/plugin/iface-check.ts+++ b/packages/server/src/plugin/iface-check.ts@@ -20,13 +20,7 @@*/import os from "node:os";import path from "node:path";-import type {- IfaceDecl,- IfaceTable,- Manifest,- Sig,- TypeExpr,-} from "@prismshadow/penguin-core/kernel";+import type { IfaceDecl, IfaceTable, Manifest, Sig, TypeExpr } from "@lmliheng/penguin-core/kernel";import type { TypeScript } from "./typescript.js";export class IfaceRenderError extends Error {}diff --git a/packages/server/src/plugin/index.ts b/packages/server/src/plugin/index.tsindex 96e2aa9d..c84a9f35 100644--- a/packages/server/src/plugin/index.ts+++ b/packages/server/src/plugin/index.ts@@ -1,7 +1,7 @@/**- * The harness's plugin surface — the `@prismshadow/penguin-server/plugin` subpath.+ * The harness's plugin surface — the `@lmliheng/penguin-server/plugin` subpath.*- * The contract is `@prismshadow/penguin-core/plugin` (a plugin is a set of+ * The contract is `@lmliheng/penguin-core/plugin` (a plugin is a set of* modules) and this module does not re-export it: a plugin imports the contract from* core and this subpath only for what its name promises, so a package's import sites say* which of the two it needs — a sandbox backend, written against the sandbox vocabularydiff --git a/packages/server/src/plugin/loader.ts b/packages/server/src/plugin/loader.tsindex c517c17d..35a57447 100644--- a/packages/server/src/plugin/loader.ts+++ b/packages/server/src/plugin/loader.ts@@ -23,11 +23,7 @@import fs from "node:fs/promises";import type { Dirent } from "node:fs";import { parse as parseToml } from "smol-toml";-import {- effectivePluginTable,- parsePluginTables,- projectConfigPath,-} from "@prismshadow/penguin-core";+import { effectivePluginTable, parsePluginTables, projectConfigPath } from "@lmliheng/penguin-core";import { findPackageJSON } from "node:module";import { existsSync, readFileSync, statSync } from "node:fs";import path from "node:path";@@ -38,11 +34,11 @@ import type {ModuleClass,ModuleDef,Resources,-} from "@prismshadow/penguin-core/kernel";-import { moduleDefOf, parseManifest } from "@prismshadow/penguin-core/kernel";+} from "@lmliheng/penguin-core/kernel";+import { moduleDefOf, parseManifest } from "@lmliheng/penguin-core/kernel";import { unpackedAssetsDir } from "../hmr/asset-archives.js";import { readManifest } from "../hmr/manifest.js";-import type { Plugin } from "@prismshadow/penguin-core/plugin";+import type { Plugin } from "@lmliheng/penguin-core/plugin";import type { LoadedPlugin } from "./host.js";import { PluginHost, pluginHostFrom } from "./host.js";import platformTable from "../ifaces.json" with { type: "json" };diff --git a/packages/server/src/reset-admin-password.ts b/packages/server/src/reset-admin-password.tsindex 311c4c52..367b59b0 100644--- a/packages/server/src/reset-admin-password.ts+++ b/packages/server/src/reset-admin-password.ts@@ -3,7 +3,7 @@* so this does it from the machine that owns the data root (local filesystem access IS the* authorization). The account goes back to unclaimed and the next start prints a first-login* link, so no plaintext is produced for anyone to write down. Refuses while a server is live,- * web.db being single-writer. Exported as `@prismshadow/penguin-server/reset-admin-password`+ * web.db being single-writer. Exported as `@lmliheng/penguin-server/reset-admin-password`* so the CLI need not import the package entry, which starts listening.*/import fs from "node:fs";@@ -16,7 +16,7 @@ import { AuthSessionsRepo } from "./db/repos/auth-sessions.js";import { clearInitialAdminPassword } from "./initial-password.js";import { liveServerLock } from "./lock.js";import type { ServerLock } from "./lock.js";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";export type ResetAdminPasswordResult =/** Refused: a live server owns this data root (stop it first — web.db is single-writer). */diff --git a/packages/server/src/runtime/approvals.ts b/packages/server/src/runtime/approvals.tsindex ce6c24bf..542ca39f 100644--- a/packages/server/src/runtime/approvals.ts+++ b/packages/server/src/runtime/approvals.ts@@ -23,7 +23,7 @@ import type {ApproveFn,OmniMessage,ToolCallPayload,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";export interface PendingApproval {toolCall: OmniMessage<ToolCallPayload>;diff --git a/packages/server/src/runtime/error-recorder.ts b/packages/server/src/runtime/error-recorder.tsindex 5a59d1bd..c5233a4c 100644--- a/packages/server/src/runtime/error-recorder.ts+++ b/packages/server/src/runtime/error-recorder.ts@@ -53,7 +53,7 @@*/import { formatLocalDate } from "../internal/dates.js";import { HttpError } from "../http/errors.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Clock } from "../hmr/capabilities.js";import type { ErrorLog, Errors } from "../mechanisms/observability.js";diff --git a/packages/server/src/runtime/goal-events.ts b/packages/server/src/runtime/goal-events.tsindex 8062a86c..6d97a8a2 100644--- a/packages/server/src/runtime/goal-events.ts+++ b/packages/server/src/runtime/goal-events.ts@@ -6,8 +6,8 @@* record shape is interpreted. Round boundaries are core's: an `isHookInput` that an* `isHookContinue` event announced.*/-import { isEventMessage } from "@prismshadow/penguin-core";-import type { OmniMessage } from "@prismshadow/penguin-core";+import { isEventMessage } from "@lmliheng/penguin-core";+import type { OmniMessage } from "@lmliheng/penguin-core";/** The name the goal plugin's hook package answers under. */const GOAL_HOOK_NAME = "goal";diff --git a/packages/server/src/runtime/live-tail.ts b/packages/server/src/runtime/live-tail.tsindex c6c77175..c4d2b962 100644--- a/packages/server/src/runtime/live-tail.ts+++ b/packages/server/src/runtime/live-tail.ts@@ -22,12 +22,12 @@* also closes the fragment (covers stop-less closures, e.g. interruption cleanup); the* whole session entry is dropped when the run ends (SessionManager.drive's finally).*/-import { isPartialPayload } from "@prismshadow/penguin-core";+import { isPartialPayload } from "@lmliheng/penguin-core";import type {CompleteModelPayload,OmniMessage,PartialModelPayload,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";type PartialKind = PartialModelPayload["type"];diff --git a/packages/server/src/runtime/messaging/bridge.ts b/packages/server/src/runtime/messaging/bridge.tsindex 51d7b5de..2fcbde6b 100644--- a/packages/server/src/runtime/messaging/bridge.ts+++ b/packages/server/src/runtime/messaging/bridge.ts@@ -72,8 +72,8 @@* rather than dropped quietly, and none of it is posted into the chat (see* messagingFilesNotSentRecords).*/-import { imageUrlMessage, scratchpadDir, userText } from "@prismshadow/penguin-core";-import type { OmniMessage } from "@prismshadow/penguin-core";+import { imageUrlMessage, scratchpadDir, userText } from "@lmliheng/penguin-core";+import type { OmniMessage } from "@lmliheng/penguin-core";import type { MessagingDeliveryError, MessagingRuntimeStatus } from "../../api/types.js";import type { MessagingBindingRow } from "../../db/repos/messaging-bindings.js";import { INLINE_IMAGE_MAX_BYTES, toAttachmentLimits } from "../../services/attachment-limits.js";@@ -103,8 +103,8 @@ import {isImageFileName,} from "./media.js";import { replyFileMentions } from "./reply-files.js";-import { Component, Interface, Bind, Module, Provide, Use } from "@prismshadow/penguin-core/kernel";-import type { Slot, ClassCtx } from "@prismshadow/penguin-core/kernel";+import { Component, Interface, Bind, Module, Provide, Use } from "@lmliheng/penguin-core/kernel";+import type { Slot, ClassCtx } from "@lmliheng/penguin-core/kernel";import type { QQScanTransportHandle } from "./qq-scan.js";import { QQScanService, createQQScanTransport } from "./qq-scan.js";import type { AppEnv } from "../../auth/middleware.js";diff --git a/packages/server/src/runtime/messaging/feishu-connector.ts b/packages/server/src/runtime/messaging/feishu-connector.tsindex fc033c0c..8087c090 100644--- a/packages/server/src/runtime/messaging/feishu-connector.ts+++ b/packages/server/src/runtime/messaging/feishu-connector.ts@@ -20,8 +20,8 @@ import type {import { feishuCardOf } from "./feishu-card.js";import type { FeishuApiClient, FeishuCredentials, FeishuMention, FeishuSdk } from "./feishu-sdk.js";import { FeishuApiError, createLarkSdk } from "./feishu-sdk.js";-import { Bind, Component, Interface, Module, Provide, Use } from "@prismshadow/penguin-core/kernel";-import type { ClassCtx, Opaque } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Interface, Module, Provide, Use } from "@lmliheng/penguin-core/kernel";+import type { ClassCtx, Opaque } from "@lmliheng/penguin-core/kernel";/** Default Feishu open-platform domain (Lark tenants override it in the form). */export const FEISHU_DEFAULT_DOMAIN = "https://open.feishu.cn";diff --git a/packages/server/src/runtime/messaging/qq-connector.ts b/packages/server/src/runtime/messaging/qq-connector.tsindex 0545a956..7d209cce 100644--- a/packages/server/src/runtime/messaging/qq-connector.ts+++ b/packages/server/src/runtime/messaging/qq-connector.ts@@ -92,8 +92,8 @@ import type {} from "./qq-api.js";import { QQ_BODY_INDEPENDENT_SEND_CODES, QQApiError, createQQTransport } from "./qq-api.js";import { qqMarkdownOf } from "./qq-markdown.js";-import { Bind, Component, Interface, Module, Provide, Use } from "@prismshadow/penguin-core/kernel";-import type { ClassCtx, Opaque } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Interface, Module, Provide, Use } from "@lmliheng/penguin-core/kernel";+import type { ClassCtx, Opaque } from "@lmliheng/penguin-core/kernel";import type { Clock } from "../../hmr/capabilities.js";/** The QQ binding's stored config document (`messaging_bindings.config_json`). */diff --git a/packages/server/src/runtime/messaging/qq-scan.ts b/packages/server/src/runtime/messaging/qq-scan.tsindex 024eab91..76158ba9 100644--- a/packages/server/src/runtime/messaging/qq-scan.ts+++ b/packages/server/src/runtime/messaging/qq-scan.ts@@ -31,8 +31,8 @@* style of telegram-api.ts.*/import { createDecipheriv, randomBytes } from "node:crypto";-import { Interface, Module, Provide } from "@prismshadow/penguin-core/kernel";-import type { Opaque } from "@prismshadow/penguin-core/kernel";+import { Interface, Module, Provide } from "@lmliheng/penguin-core/kernel";+import type { Opaque } from "@lmliheng/penguin-core/kernel";/** Host serving the three bind-task calls (not the bot OpenAPI host). */export const QQ_SCAN_BASE = "https://q.qq.com";diff --git a/packages/server/src/runtime/messaging/telegram-connector.ts b/packages/server/src/runtime/messaging/telegram-connector.tsindex 1b4048cf..257ae322 100644--- a/packages/server/src/runtime/messaging/telegram-connector.ts+++ b/packages/server/src/runtime/messaging/telegram-connector.ts@@ -64,8 +64,8 @@ import {TelegramApiError,createTelegramTransport,} from "./telegram-api.js";-import { Bind, Component, Interface, Module, Provide, Use } from "@prismshadow/penguin-core/kernel";-import type { ClassCtx, Opaque } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Interface, Module, Provide, Use } from "@lmliheng/penguin-core/kernel";+import type { ClassCtx, Opaque } from "@lmliheng/penguin-core/kernel";import type { MessagingTuning } from "./bridge.js";/** The Telegram binding's stored config document (`messaging_bindings.config_json`). */diff --git a/packages/server/src/runtime/messaging/wechat-connector.ts b/packages/server/src/runtime/messaging/wechat-connector.tsindex 16ca108c..a929b2e0 100644--- a/packages/server/src/runtime/messaging/wechat-connector.ts+++ b/packages/server/src/runtime/messaging/wechat-connector.ts@@ -97,8 +97,8 @@ import type {WeChatTransport,} from "./wechat-api.js";import { WECHAT_API_BASE, createWeChatTransport } from "./wechat-api.js";-import { Bind, Component, Interface, Module, Provide, Use } from "@prismshadow/penguin-core/kernel";-import type { Opaque } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Interface, Module, Provide, Use } from "@lmliheng/penguin-core/kernel";+import type { Opaque } from "@lmliheng/penguin-core/kernel";import type { MessagingTuning } from "./bridge.js";/** The WeChat binding's stored config document (`messaging_bindings.config_json`). */diff --git a/packages/server/src/runtime/messaging/wechat-scan.ts b/packages/server/src/runtime/messaging/wechat-scan.tsindex 39ad1266..9ab01703 100644--- a/packages/server/src/runtime/messaging/wechat-scan.ts+++ b/packages/server/src/runtime/messaging/wechat-scan.ts@@ -1,5 +1,5 @@-import { Interface, Module, Provide } from "@prismshadow/penguin-core/kernel";-import type { Opaque } from "@prismshadow/penguin-core/kernel";+import { Interface, Module, Provide } from "@lmliheng/penguin-core/kernel";+import type { Opaque } from "@lmliheng/penguin-core/kernel";/*** WeChat scan-to-connect: binding the official claw bot by scanning a QR code in WeChat.*diff --git a/packages/server/src/runtime/organization/deps.ts b/packages/server/src/runtime/organization/deps.tsindex 8d90c2de..8b1b839b 100644--- a/packages/server/src/runtime/organization/deps.ts+++ b/packages/server/src/runtime/organization/deps.ts@@ -4,8 +4,8 @@* usage pricing, the file store and the caches. app.ts binds the real services; tests bind* doubles — the same shape the schedule scheduler uses.*/-import type { OmniMessage } from "@prismshadow/penguin-core";-import { Interface } from "@prismshadow/penguin-core/kernel";+import type { OmniMessage } from "@lmliheng/penguin-core";+import { Interface } from "@lmliheng/penguin-core/kernel";import type {ApprovalMode,MessagingChannel,diff --git a/packages/server/src/runtime/organization/reconcile.ts b/packages/server/src/runtime/organization/reconcile.tsindex e6ccfa9d..0eb24e02 100644--- a/packages/server/src/runtime/organization/reconcile.ts+++ b/packages/server/src/runtime/organization/reconcile.ts@@ -10,7 +10,7 @@* organization paused or the switch off is consumed and skipped, like a schedule.*/import { createHash } from "node:crypto";-import { comparePluginVersions } from "@prismshadow/penguin-core";+import { comparePluginVersions } from "@lmliheng/penguin-core";import type { OrgCalendarOutcome, OrgChannelMessage, OrgTicketChange } from "../../api/types.js";import type { SessionRow } from "../../db/repos/sessions.js";import type { ChannelConfig, TicketDoc } from "../../organization/files.js";diff --git a/packages/server/src/runtime/organization/service.ts b/packages/server/src/runtime/organization/service.tsindex 468d405e..ee82e79c 100644--- a/packages/server/src/runtime/organization/service.ts+++ b/packages/server/src/runtime/organization/service.ts@@ -49,8 +49,8 @@ import type {OrgHandbookFilesResponse,} from "../../api/types.js";import { TICKET_SLUG_PATTERN } from "../../api/types.js";-import { Interface, Module, Provide, Use } from "@prismshadow/penguin-core/kernel";-import type { ClassCtx } from "@prismshadow/penguin-core/kernel";+import { Interface, Module, Provide, Use } from "@lmliheng/penguin-core/kernel";+import type { ClassCtx } from "@lmliheng/penguin-core/kernel";import { HttpError } from "../../http/errors.js";import { userChannelKey } from "../../http/routes/events.js";import type { Channels, Clock, Config, Log } from "../../hmr/capabilities.js";diff --git a/packages/server/src/runtime/organization/triggers.ts b/packages/server/src/runtime/organization/triggers.tsindex 14a71696..f771c42a 100644--- a/packages/server/src/runtime/organization/triggers.ts+++ b/packages/server/src/runtime/organization/triggers.ts@@ -9,8 +9,8 @@* leave them out of it — and take the organization's approval mode of that moment; a later* change of the mode reaches them through `syncApprovalMode` (reconcile.ts).*/-import { buildOrgTriggerMessage, userText } from "@prismshadow/penguin-core";-import type { OrgTriggerOrigin } from "@prismshadow/penguin-core";+import { buildOrgTriggerMessage, userText } from "@lmliheng/penguin-core";+import type { OrgTriggerOrigin } from "@lmliheng/penguin-core";import type { TicketDoc } from "../../organization/files.js";import { orgLanguage, serializeTicket } from "../../organization/files.js";import { agentPrincipal } from "../../organization/principal.js";diff --git a/packages/server/src/runtime/schedule-store.ts b/packages/server/src/runtime/schedule-store.tsindex 8f4437ae..3ac14553 100644--- a/packages/server/src/runtime/schedule-store.ts+++ b/packages/server/src/runtime/schedule-store.ts@@ -8,8 +8,8 @@import fs from "node:fs/promises";import path from "node:path";import { stringify as stringifyToml } from "smol-toml";-import { atomicWriteFile, resolveModelRef, scheduleDir } from "@prismshadow/penguin-core";-import type { ProjectConfig } from "@prismshadow/penguin-core";+import { atomicWriteFile, resolveModelRef, scheduleDir } from "@lmliheng/penguin-core";+import type { ProjectConfig } from "@lmliheng/penguin-core";import { cacheable, statMtime } from "../internal/mtime-gate.js";import {parseScheduleFile,diff --git a/packages/server/src/runtime/scheduler.ts b/packages/server/src/runtime/scheduler.tsindex 43267f9f..b423227e 100644--- a/packages/server/src/runtime/scheduler.ts+++ b/packages/server/src/runtime/scheduler.ts@@ -21,7 +21,7 @@*/import { createHash } from "node:crypto";import fs from "node:fs/promises";-import { agentsDir, buildScheduledMessage, userText } from "@prismshadow/penguin-core";+import { agentsDir, buildScheduledMessage, userText } from "@lmliheng/penguin-core";import type { ScheduleStateRow } from "../db/repos/schedules.js";import { cacheable, statMtime } from "../internal/mtime-gate.js";import type { ErrorSink } from "./error-recorder.js";@@ -30,8 +30,8 @@ import { latestSlotAt, slotInWindow } from "./schedule-file.js";import { ScheduleFileCache, readScheduleFile, validateScheduleModelRef } from "./schedule-store.js";import type { ScheduleConfigSource } from "./schedule-store.js";import type { ScheduleServerEvent } from "../api/types.js";-import { Component, Interface, Use } from "@prismshadow/penguin-core/kernel";-import type { ClassCtx } from "@prismshadow/penguin-core/kernel";+import { Component, Interface, Use } from "@lmliheng/penguin-core/kernel";+import type { ClassCtx } from "@lmliheng/penguin-core/kernel";import { userChannelKey } from "../http/routes/events.js";import type { Channels, Clock, Paths } from "../hmr/capabilities.js";import type { Schedules, Scheduling, SessionIndex } from "../mechanisms/sessions.js";diff --git a/packages/server/src/runtime/session-manager.ts b/packages/server/src/runtime/session-manager.tsindex 6edac563..be08e4d8 100644--- a/packages/server/src/runtime/session-manager.ts+++ b/packages/server/src/runtime/session-manager.ts@@ -46,7 +46,7 @@ import {parseUserSteeringText,tracesDir,userText,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type {ApproveFn,BackgroundCommandInfo,@@ -65,7 +65,7 @@ import type {TextPayload,ThinkingLevelName,ToolDetachResult,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type {ModelRefDto,PendingFollowUpInfo,@@ -88,9 +88,9 @@ import { asSessionSource } from "./session-sources.js";import { StreamErrorWatcher } from "./stream-error-watcher.js";import type { TitleNotifier } from "./title-generator.js";import type { UsageContext } from "./usage-recorder.js";-import { Component, Interface, Module, Provide, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Interface, Module, Provide, Use } from "@lmliheng/penguin-core/kernel";import type { SessionService as SessionServiceImpl } from "../services/session-service.js";-import type { ClassCtx, Opaque } from "@prismshadow/penguin-core/kernel";+import type { ClassCtx, Opaque } from "@lmliheng/penguin-core/kernel";import { Sandbox, SandboxModule } from "../sandbox/service.js";import { SessionService } from "../services/session-service.js";import { ModelScopeAuth } from "../services/modelscope-auth-service.js";@@ -107,7 +107,7 @@ import type { Settings } from "../mechanisms/settings.js";import type { MessagingBindings } from "../mechanisms/messaging.js";import type { OrgCache } from "../mechanisms/organization.js";import { enabledMessagingChannel } from "./messaging/enabled-channel.js";-import { MODELSCOPE_PROVIDER_ID } from "@prismshadow/penguin-core/model-catalog";+import { MODELSCOPE_PROVIDER_ID } from "@lmliheng/penguin-core/model-catalog";/*** 409 for when there's nothing to compact: give the specific reason rather than adiff --git a/packages/server/src/runtime/session-sources.ts b/packages/server/src/runtime/session-sources.tsindex 8c58891b..ca2cc0a7 100644--- a/packages/server/src/runtime/session-sources.ts+++ b/packages/server/src/runtime/session-sources.ts@@ -11,7 +11,7 @@* Trace once per process lifetime.*/import type { SessionSource } from "../api/types.js";-import { Component } from "@prismshadow/penguin-core/kernel";+import { Component } from "@lmliheng/penguin-core/kernel";import type { SessionOrigins } from "../mechanisms/sessions.js";/**diff --git a/packages/server/src/runtime/stream-error-watcher.ts b/packages/server/src/runtime/stream-error-watcher.tsindex 337b8c36..2882980b 100644--- a/packages/server/src/runtime/stream-error-watcher.ts+++ b/packages/server/src/runtime/stream-error-watcher.ts@@ -63,9 +63,9 @@* session_meta hasn't arrived yet) falls back to the parent ctx. projectId is always* taken from the parent — a subagent is necessarily in the same Project.*/-import { isEventMessage, isModelMessage, isSessionMeta } from "@prismshadow/penguin-core";+import { isEventMessage, isModelMessage, isSessionMeta } from "@lmliheng/penguin-core";import path from "node:path";-import type { OmniMessage, SessionMetaMessage, StopReason } from "@prismshadow/penguin-core";+import type { OmniMessage, SessionMetaMessage, StopReason } from "@lmliheng/penguin-core";import { MESSAGE_MAX } from "./error-recorder.js";import type { ErrorContext, ErrorKind, ErrorSink } from "./error-recorder.js";diff --git a/packages/server/src/runtime/title-generator.ts b/packages/server/src/runtime/title-generator.tsindex b77cd7bf..7fd5ae80 100644--- a/packages/server/src/runtime/title-generator.ts+++ b/packages/server/src/runtime/title-generator.ts@@ -27,7 +27,7 @@ import {stripConversationMarkers,tokenUsage,truncateTitle,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type { ServerEvent } from "../api/types.js";import type { ChannelHub } from "./channel.js";import type { ErrorSink } from "./error-recorder.js";diff --git a/packages/server/src/runtime/usage-recorder.ts b/packages/server/src/runtime/usage-recorder.tsindex c27f3e16..5664e971 100644--- a/packages/server/src/runtime/usage-recorder.ts+++ b/packages/server/src/runtime/usage-recorder.ts@@ -13,10 +13,10 @@* The attribution key is always the paired reference `(provider, model_id)` (the same* model_id name across different vendors is attributed separately).*/-import { isEventMessage, isSessionMeta } from "@prismshadow/penguin-core";-import type { OmniMessage } from "@prismshadow/penguin-core";+import { isEventMessage, isSessionMeta } from "@lmliheng/penguin-core";+import type { OmniMessage } from "@lmliheng/penguin-core";import { formatLocalDate } from "../internal/dates.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Clock } from "../hmr/capabilities.js";import type { UsageRecording, UsageStore } from "../mechanisms/observability.js";diff --git a/packages/server/src/sandbox/dimensions.ts b/packages/server/src/sandbox/dimensions.tsindex 9d899212..78a73928 100644--- a/packages/server/src/sandbox/dimensions.ts+++ b/packages/server/src/sandbox/dimensions.ts@@ -1,7 +1,7 @@/*** Runtime helpers over the sandbox vocabulary.*- * The vocabulary itself is `@prismshadow/penguin-core/plugin` — a backend compiles+ * The vocabulary itself is `@lmliheng/penguin-core/plugin` — a backend compiles* against those names, so they belong with the rest of the plugin contract rather than* inside the harness that routes them. What stays here is the code that READS those* shapes: which dimensions a provider covers and which a settings object requires, the two@@ -12,7 +12,7 @@ import type {SandboxDimension,SandboxProvider,SandboxSettings,-} from "@prismshadow/penguin-core/plugin";+} from "@lmliheng/penguin-core/plugin";/** Every dimension, in the order error messages list them. */export const SANDBOX_DIMENSIONS: readonly SandboxDimension[] = [diff --git a/packages/server/src/sandbox/index.ts b/packages/server/src/sandbox/index.tsindex b58ab0c0..9c167c22 100644--- a/packages/server/src/sandbox/index.ts+++ b/packages/server/src/sandbox/index.ts@@ -5,7 +5,7 @@** The vocabulary it routes ON is not here. `SandboxPolicy`, `SandboxProvider`,* `ConfinedArgv` and the mode/dimension unions belong to the plugin contract in- * `@prismshadow/penguin-core/plugin`, because a backend is written against those names+ * `@lmliheng/penguin-core/plugin`, because a backend is written against those names* and nothing else. What this directory holds is the embedder's half: which policy reaches* which backend, the settings behind it, and the fail-closed behaviour when nothing covers* the request.diff --git a/packages/server/src/sandbox/service.ts b/packages/server/src/sandbox/service.tsindex 586de991..5ffbc1e0 100644--- a/packages/server/src/sandbox/service.ts+++ b/packages/server/src/sandbox/service.ts@@ -11,17 +11,17 @@* covers fails closed — never a silent unconfined run, and never a silently dropped* dimension.*/-import type { SpawnConfiner } from "@prismshadow/penguin-core";+import type { SpawnConfiner } from "@lmliheng/penguin-core";import type {SandboxDimension,SandboxPolicy,SandboxProvider,SandboxProviderSource,SandboxSettings,-} from "@prismshadow/penguin-core/plugin";+} from "@lmliheng/penguin-core/plugin";import { providerDimensions, requestedDimensions } from "./dimensions.js";-import { Interface, Module, Provide } from "@prismshadow/penguin-core/kernel";-import type { Slot, ClassCtx, Json } from "@prismshadow/penguin-core/kernel";+import { Interface, Module, Provide } from "@lmliheng/penguin-core/kernel";+import type { Slot, ClassCtx, Json } from "@lmliheng/penguin-core/kernel";interface MountedProvider {name: string;diff --git a/packages/server/src/sandbox/settings-store.ts b/packages/server/src/sandbox/settings-store.tsindex 19cba680..0ffbb7f6 100644--- a/packages/server/src/sandbox/settings-store.ts+++ b/packages/server/src/sandbox/settings-store.ts@@ -14,8 +14,8 @@* failed its check or runs on another platform is named with its reason, never left out. It is* a code contribution, so it must not require plugin configuration itself.*/-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";-import type { SandboxMode, SandboxSettings as Policy } from "@prismshadow/penguin-core/plugin";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";+import type { SandboxMode, SandboxSettings as Policy } from "@lmliheng/penguin-core/plugin";import type { PluginConfigNotice } from "../api/types.js";import { PluginConfig } from "../plugin/config.js";import type { SettingsGroupStatus } from "../plugin/config.js";diff --git a/packages/server/src/secret-file.ts b/packages/server/src/secret-file.tsindex a22e14cc..c988d4a7 100644--- a/packages/server/src/secret-file.ts+++ b/packages/server/src/secret-file.ts@@ -2,7 +2,7 @@* Writes a bearer secret to a 0600 file, refusing to follow a symlink parked at the path:* someone who can write the directory but not read the file could otherwise redirect the write* into a file they CAN read. Hence unlink + exclusive create, and chmod on the fd rather than- * the path. Exported as `@prismshadow/penguin-server/secret-file` so the CLI shares it.+ * the path. Exported as `@lmliheng/penguin-server/secret-file` so the CLI shares it.*/import fs from "node:fs";diff --git a/packages/server/src/services/admin-service.ts b/packages/server/src/services/admin-service.tsindex 17453918..41d793ae 100644--- a/packages/server/src/services/admin-service.ts+++ b/packages/server/src/services/admin-service.ts@@ -19,7 +19,7 @@ import { ADMIN_USER_ID, MIN_PASSWORD_LENGTH, toUserInfo } from "../auth/service.import type { PasswordHasher } from "../auth/password.js";import type { UserRow } from "../db/repos/users.js";import { SEMANTIC_ID_RULE, USERNAME_PATTERN } from "./ids.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Clock } from "../hmr/capabilities.js";import type { LiveStreams } from "../auth/live-streams.js";import type { Admin, AuthSessions, Users } from "../mechanisms/identity.js";diff --git a/packages/server/src/services/agent-config-service.ts b/packages/server/src/services/agent-config-service.tsindex 1d0b3ecb..645f2d23 100644--- a/packages/server/src/services/agent-config-service.ts+++ b/packages/server/src/services/agent-config-service.ts@@ -38,12 +38,12 @@ import {saveAgentVault,systemConfigPath,THINKING_LEVEL_NAMES,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type {MCPServerConfig,ThinkingLevelName,ToolDefinitionConfig,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type {AgentConfigDto,AgentConfigUpdateRequest,@@ -68,7 +68,7 @@ import {optionalString,} from "../http/validate.js";import { maskApiKey } from "./project-config-service.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Config, Paths } from "../hmr/capabilities.js";import type { AgentConfig } from "../mechanisms/agents.js";diff --git a/packages/server/src/services/agent-routes.ts b/packages/server/src/services/agent-routes.tsindex 4dbad9df..eb4a2fdf 100644--- a/packages/server/src/services/agent-routes.ts+++ b/packages/server/src/services/agent-routes.ts@@ -1,4 +1,4 @@-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";import type { AppEnv } from "../auth/middleware.js";import type { Hono } from "hono";import type { Config } from "../hmr/capabilities.js";diff --git a/packages/server/src/services/agent-service.ts b/packages/server/src/services/agent-service.tsindex 5e63bb2c..7007d292 100644--- a/packages/server/src/services/agent-service.ts+++ b/packages/server/src/services/agent-service.ts@@ -32,14 +32,14 @@ import {libraryPlugin,loadLibraryPlugins,parseSkillFrontmatter,-} from "@prismshadow/penguin-core";-import type { LibraryPlugin } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";+import type { LibraryPlugin } from "@lmliheng/penguin-core";import { SEMANTIC_ID_PATTERN, SEMANTIC_ID_RULE } from "./ids.js";import { isTopicFileName } from "./memory-service.js";import type { PluginUpdateRef } from "../api/types.js";import { resolveLibraryPlugins } from "./plugin-library.js";import { resolveDirectorySkills } from "./directory-skills.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Config, Paths } from "../hmr/capabilities.js";import type { AgentConfig, AgentLifecycle, Snapshots } from "../mechanisms/agents.js";import type { AgentIndex } from "../mechanisms/projects.js";diff --git a/packages/server/src/services/benchmark-service.ts b/packages/server/src/services/benchmark-service.tsindex 7a57525b..dd9648e4 100644--- a/packages/server/src/services/benchmark-service.ts+++ b/packages/server/src/services/benchmark-service.ts@@ -21,7 +21,7 @@ import fs from "node:fs/promises";import path from "node:path";import { parse as parseToml, stringify as stringifyToml } from "smol-toml";import { parse as parseYaml, stringify as stringifyYaml } from "yaml";-import { benchmarksDir } from "@prismshadow/penguin-core";+import { benchmarksDir } from "@lmliheng/penguin-core";import type {BenchmarkCaseScore,BenchmarkCaseSummary,@@ -36,7 +36,7 @@ import type {} from "../api/types.js";import type { WorkspaceFileContent, WorkspaceFileReadOptions } from "./workspace-files-service.js";import { HttpError } from "../http/errors.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Paths } from "../hmr/capabilities.js";import type { Benchmarks } from "../mechanisms/agents.js";import type { WorkspaceFiles } from "../mechanisms/workspace.js";diff --git a/packages/server/src/services/context-breakdown.ts b/packages/server/src/services/context-breakdown.tsindex 40c7f487..9e6e711d 100644--- a/packages/server/src/services/context-breakdown.ts+++ b/packages/server/src/services/context-breakdown.ts@@ -27,14 +27,14 @@ import {approximateMessagesTokens,approximateTokens,effectiveMaxContextLength,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type {OmniMessage,SessionMetaPayload,ToolCallOutputPayload,ToolCallPayload,ToolListReadyPayload,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type { ContextFileShare, SessionContextParts } from "../api/types.js";/** How many entries each ranking — tools, files — names before the tail is dropped. */diff --git a/packages/server/src/services/directory-skills.ts b/packages/server/src/services/directory-skills.tsindex e5186f04..f8172f15 100644--- a/packages/server/src/services/directory-skills.ts+++ b/packages/server/src/services/directory-skills.ts@@ -22,8 +22,8 @@*/import fs from "node:fs/promises";import path from "node:path";-import { parseSkillFrontmatter, PLUGIN_NAME_PATTERN } from "@prismshadow/penguin-core";-import type { SkillMetadata } from "@prismshadow/penguin-core";+import { parseSkillFrontmatter, PLUGIN_NAME_PATTERN } from "@lmliheng/penguin-core";+import type { SkillMetadata } from "@lmliheng/penguin-core";import { HttpError } from "../http/errors.js";import {MAX_ARCHIVE_FILES,diff --git a/packages/server/src/services/harness-history.ts b/packages/server/src/services/harness-history.tsindex 90c7fa78..4572106f 100644--- a/packages/server/src/services/harness-history.ts+++ b/packages/server/src/services/harness-history.ts@@ -15,20 +15,20 @@*/import fsp from "node:fs/promises";import path from "node:path";-import { Component, Interface, Use } from "@prismshadow/penguin-core/kernel";-import type { ClassCtx } from "@prismshadow/penguin-core/kernel";-import { atomicWriteFile } from "@prismshadow/penguin-core";+import { Component, Interface, Use } from "@lmliheng/penguin-core/kernel";+import type { ClassCtx } from "@lmliheng/penguin-core/kernel";+import { atomicWriteFile } from "@lmliheng/penguin-core";import type {HarnessHistory,HarnessHistoryEntry,HarnessInfo,IfacesSummary,RollbackFailure,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import table from "../ifaces.json" with { type: "json" };import { readHarnessInfo } from "../hmr/manifest.js";import { readPushedBuild } from "../hmr/pushed-build.js";-import { summarizeTable } from "@prismshadow/penguin-hmr";+import { summarizeTable } from "@lmliheng/penguin-hmr";import type {Channels,Clock,diff --git a/packages/server/src/services/memory-service.ts b/packages/server/src/services/memory-service.tsindex 40804714..23ea7dfb 100644--- a/packages/server/src/services/memory-service.ts+++ b/packages/server/src/services/memory-service.ts@@ -37,7 +37,7 @@ import {memoryScopeDir,parseMemoryFrontmatter,readWorkspaceMarker,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type {MemoryFileInfo,MemoryFilesResponse,@@ -51,7 +51,7 @@ import type {} from "../api/types.js";import { HttpError } from "../http/errors.js";import { badRequest } from "../http/validate.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Config, Paths } from "../hmr/capabilities.js";import type { AgentConfig, Memory } from "../mechanisms/agents.js";diff --git a/packages/server/src/services/message-window.ts b/packages/server/src/services/message-window.tsindex 634ff136..c7d2e734 100644--- a/packages/server/src/services/message-window.ts+++ b/packages/server/src/services/message-window.ts@@ -36,13 +36,13 @@* prefix records (trace_files.page_stats) persist the carry so old shards are read at* most once ever; bump CACHE_VERSION whenever any rule in this file changes.*/-import { parseUserSteeringText } from "@prismshadow/penguin-core";+import { parseUserSteeringText } from "@lmliheng/penguin-core";import {parseBackgroundTaskDoneMessage,parseHandoffMessage,parseModelSwitchMessage,-} from "@prismshadow/penguin-core/markers";-import type { OmniMessage } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core/markers";+import type { OmniMessage } from "@lmliheng/penguin-core";/** Bump when any counting/boundary rule changes: cached page_stats records with an older version are recomputed. */export const CACHE_VERSION = 4;diff --git a/packages/server/src/services/model-balance.ts b/packages/server/src/services/model-balance.tsindex 528cd1ae..a093ce92 100644--- a/packages/server/src/services/model-balance.ts+++ b/packages/server/src/services/model-balance.ts@@ -22,8 +22,8 @@* relayed — only its HTTP status.*/import { createHash } from "node:crypto";-import { providerInfo } from "@prismshadow/penguin-core/model-catalog";-import type { ModelProviderBalance } from "@prismshadow/penguin-core/model-catalog";+import { providerInfo } from "@lmliheng/penguin-core/model-catalog";+import type { ModelProviderBalance } from "@lmliheng/penguin-core/model-catalog";import type {ModelBalanceAmount,ModelBalanceFailure,diff --git a/packages/server/src/services/model-oauth-service.ts b/packages/server/src/services/model-oauth-service.tsindex 9eb2ae0b..37089dd3 100644--- a/packages/server/src/services/model-oauth-service.ts+++ b/packages/server/src/services/model-oauth-service.ts@@ -24,11 +24,11 @@* minutes anyway, and no key exists until the exchange runs).*/import { createHash, randomBytes, randomUUID } from "node:crypto";-import { APP_URL, providerInfo } from "@prismshadow/penguin-core/model-catalog";-import type { ModelProviderOAuth } from "@prismshadow/penguin-core/model-catalog";+import { APP_URL, providerInfo } from "@lmliheng/penguin-core/model-catalog";+import type { ModelProviderOAuth } from "@lmliheng/penguin-core/model-catalog";import { HttpError } from "../http/errors.js";import { badRequest } from "../http/validate.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { ModelOAuth, ProjectConfigStore } from "../mechanisms/projects.js";/** How the user gets the authorization code back to the harness. */diff --git a/packages/server/src/services/modelscope-auth-service.ts b/packages/server/src/services/modelscope-auth-service.tsindex 1f03e210..387b54c7 100644--- a/packages/server/src/services/modelscope-auth-service.ts+++ b/packages/server/src/services/modelscope-auth-service.ts@@ -16,8 +16,8 @@* immediately before each upstream request, silently rotating the access token near expiry.*/import { randomBytes } from "node:crypto";-import { Interface, Module, Provide, Use } from "@prismshadow/penguin-core/kernel";-import { MODELSCOPE_PROVIDER_ID } from "@prismshadow/penguin-core/model-catalog";+import { Interface, Module, Provide, Use } from "@lmliheng/penguin-core/kernel";+import { MODELSCOPE_PROVIDER_ID } from "@lmliheng/penguin-core/model-catalog";import { HttpError } from "../http/errors.js";import { Config } from "../hmr/capabilities.js";import type {diff --git a/packages/server/src/services/platform-auth-service.ts b/packages/server/src/services/platform-auth-service.tsindex 0398d40b..6b5518a6 100644--- a/packages/server/src/services/platform-auth-service.ts+++ b/packages/server/src/services/platform-auth-service.ts@@ -8,8 +8,8 @@* metadata remain outside Adelie.*/import { randomBytes } from "node:crypto";-import { Interface, Module, Provide, Use } from "@prismshadow/penguin-core/kernel";-import { PENGUIN_GO_PROVIDER_ID } from "@prismshadow/penguin-core/model-catalog";+import { Interface, Module, Provide, Use } from "@lmliheng/penguin-core/kernel";+import { PENGUIN_GO_PROVIDER_ID } from "@lmliheng/penguin-core/model-catalog";import { HttpError } from "../http/errors.js";import { Config } from "../hmr/capabilities.js";import type { ProjectConfigStore } from "../mechanisms/projects.js";diff --git a/packages/server/src/services/plugin-library.ts b/packages/server/src/services/plugin-library.tsindex c69d3a83..f1afc302 100644--- a/packages/server/src/services/plugin-library.ts+++ b/packages/server/src/services/plugin-library.ts@@ -8,8 +8,8 @@* library types is withheld from the API until someone adds it here on purpose; skill bodies* and hook scripts never travel in a listing.*/-import { libraryPlugin } from "@prismshadow/penguin-core";-import type { HookManifest, LibraryPlugin, SkillMetadata } from "@prismshadow/penguin-core";+import { libraryPlugin } from "@lmliheng/penguin-core";+import type { HookManifest, LibraryPlugin, SkillMetadata } from "@lmliheng/penguin-core";import type { HookItem, PluginItem, SkillMetadataItem } from "../api/types.js";import { HttpError } from "../http/errors.js";diff --git a/packages/server/src/services/project-access.ts b/packages/server/src/services/project-access.tsindex b1e2f812..cfb79c7c 100644--- a/packages/server/src/services/project-access.ts+++ b/packages/server/src/services/project-access.ts@@ -9,7 +9,7 @@import type { ProjectRole, ProjectSummary } from "../api/types.js";import { HttpError } from "../http/errors.js";import type { ProjectRow } from "../db/repos/projects.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Access, Members, ProjectConfigStore, Projects } from "../mechanisms/projects.js";@Component()diff --git a/packages/server/src/services/project-config-service.ts b/packages/server/src/services/project-config-service.tsindex 7142af0a..f1369f69 100644--- a/packages/server/src/services/project-config-service.ts+++ b/packages/server/src/services/project-config-service.ts@@ -51,13 +51,13 @@ import {modelEnvPreviewKey,resolveModelCredential,userText,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import {VENDOR_ENDPOINTS,providerInfo,unaddableModel,unroutableVendorModel,-} from "@prismshadow/penguin-core/model-catalog";+} from "@lmliheng/penguin-core/model-catalog";import type {PluginTables,CommandPolicyRule,@@ -67,7 +67,7 @@ import type {ModelRef,OmniMessage,ProjectConfig,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type {ChatDefaultsDto,CommandPolicyDto,@@ -104,7 +104,7 @@ import {classifyVisionProbeError,} from "./vision-detect.js";import type { PricingRates, TieredRates } from "./usage-service.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Config, Paths } from "../hmr/capabilities.js";import type {ModelPromotion,diff --git a/packages/server/src/services/project-events.ts b/packages/server/src/services/project-events.tsindex 01835a8f..b55efc90 100644--- a/packages/server/src/services/project-events.ts+++ b/packages/server/src/services/project-events.ts@@ -7,7 +7,7 @@* listening on. The session runtime, the title generator and the sessions route all* publish through this, so the audience rule is written once.*/-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { ServerEvent } from "../api/types.js";import type { Channels } from "../hmr/capabilities.js";import type { ChannelHub } from "../runtime/channel.js";diff --git a/packages/server/src/services/project-service.ts b/packages/server/src/services/project-service.tsindex 0ea4f37a..dede9abf 100644--- a/packages/server/src/services/project-service.ts+++ b/packages/server/src/services/project-service.ts@@ -16,7 +16,7 @@ import {DEFAULT_PROJECT_NAME,projectDir,provisionProjectAgents,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type { MemberInfo, ProjectRole, ProjectSummary } from "../api/types.js";import { HttpError } from "../http/errors.js";import type { ProjectRow } from "../db/repos/projects.js";@@ -28,7 +28,7 @@ import {SEMANTIC_ID_PATTERN,SEMANTIC_ID_RULE,} from "./ids.js";-import { Component, Use, Interface } from "@prismshadow/penguin-core/kernel";+import { Component, Use, Interface } from "@lmliheng/penguin-core/kernel";import type { Config, Paths } from "../hmr/capabilities.js";import type {Access,diff --git a/packages/server/src/services/protocol-detect.ts b/packages/server/src/services/protocol-detect.tsindex 3b98e45b..646686df 100644--- a/packages/server/src/services/protocol-detect.ts+++ b/packages/server/src/services/protocol-detect.ts@@ -52,7 +52,7 @@* works with no credential at all (a protocol-shaped 401 identifies the route), and sending* the user's vendor key to a URL they typed is exactly what the rule forbids.*/-import { endpointEnvApiKey } from "@prismshadow/penguin-core";+import { endpointEnvApiKey } from "@lmliheng/penguin-core";import type {ModelProtocolDetectResponse,ModelProtocolProbeDto,diff --git a/packages/server/src/services/reveal-path.ts b/packages/server/src/services/reveal-path.tsindex 26b5aa81..34749b1f 100644--- a/packages/server/src/services/reveal-path.ts+++ b/packages/server/src/services/reveal-path.ts@@ -13,7 +13,7 @@*/import { spawn } from "node:child_process";import path from "node:path";-import { Component } from "@prismshadow/penguin-core/kernel";+import { Component } from "@lmliheng/penguin-core/kernel";import type { FileReveal } from "../mechanisms/workspace.js";/** The command that reveals `filePath` on `platform`. Pure; exported for unit tests. */diff --git a/packages/server/src/services/semantic-id.ts b/packages/server/src/services/semantic-id.tsindex ac8f7d91..d31cf994 100644--- a/packages/server/src/services/semantic-id.ts+++ b/packages/server/src/services/semantic-id.ts@@ -29,7 +29,7 @@* `placeholderSemanticId` is the floor — a valid, dated, obviously-temporary id, so the dialog* is never left with nothing to put in the box.*/-import { isValidId } from "@prismshadow/penguin-core";+import { isValidId } from "@lmliheng/penguin-core";import type { SemanticIdKind } from "../api/types.js";import { PROJECT_ID_MAX_LENGTH, PROJECT_SUFFIX_PATTERN, SEMANTIC_ID_PATTERN } from "./ids.js";diff --git a/packages/server/src/services/session-service.ts b/packages/server/src/services/session-service.tsindex 4901d5a5..03c60b6a 100644--- a/packages/server/src/services/session-service.ts+++ b/packages/server/src/services/session-service.ts@@ -14,13 +14,13 @@* added to session-manager's active table (state idle).*/import fs from "node:fs/promises";-import { agentsDir, createAgent, isSessionMeta } from "@prismshadow/penguin-core";+import { agentsDir, createAgent, isSessionMeta } from "@lmliheng/penguin-core";import type {AgentAssembly,ControlEnvContext,ProxyEnvPolicy,SpawnConfiner,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type {ApprovalMode,MessagingChannel,@@ -42,7 +42,7 @@ import { matchesWorkspaceGroup } from "./workspace-group.js";import type { TraceIndex, TraceIndexStore } from "../mechanisms/traces.js";import type { SessionIndex, SessionOrigins } from "../mechanisms/sessions.js";import type { ProjectConfigStore } from "../mechanisms/projects.js";-import type { SandboxDimension, SandboxSettings } from "@prismshadow/penguin-core/plugin";+import type { SandboxDimension, SandboxSettings } from "@lmliheng/penguin-core/plugin";const SANDBOX_MODE_RANK: Record<SandboxSettings["mode"], number> = {"read-only": 0,diff --git a/packages/server/src/services/snapshot-service.ts b/packages/server/src/services/snapshot-service.tsindex dddca2ae..7c9e59a7 100644--- a/packages/server/src/services/snapshot-service.ts+++ b/packages/server/src/services/snapshot-service.ts@@ -22,10 +22,10 @@ import {agentVaultPath,snapshotsDir,systemConfigPath,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import { HttpError } from "../http/errors.js";import { badRequest } from "../http/validate.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Config, Paths } from "../hmr/capabilities.js";import type { Snapshots } from "../mechanisms/agents.js";diff --git a/packages/server/src/services/task-attachments.ts b/packages/server/src/services/task-attachments.tsindex 1ffced05..b602a52c 100644--- a/packages/server/src/services/task-attachments.ts+++ b/packages/server/src/services/task-attachments.ts@@ -10,18 +10,14 @@** The line format and its placement are not defined here: they are shared with core's* `[attached image: …]` producer and the Web renderer that parses both- * (`@prismshadow/penguin-core/markers` → attachment-lines.ts, plus `appendAttachmentLines`),+ * (`@lmliheng/penguin-core/markers` → attachment-lines.ts, plus `appendAttachmentLines`),* so the two conventions cannot drift apart.*/import fs from "node:fs/promises";import path from "node:path";import { randomBytes } from "node:crypto";-import {- appendAttachmentLines,- attachedFileLine,- modelVisiblePath,-} from "@prismshadow/penguin-core";-import type { OmniMessage } from "@prismshadow/penguin-core";+import { appendAttachmentLines, attachedFileLine, modelVisiblePath } from "@lmliheng/penguin-core";+import type { OmniMessage } from "@lmliheng/penguin-core";import { HttpError } from "../http/errors.js";import { badRequest } from "../http/validate.js";import type { AttachmentLimits } from "./attachment-limits.js";diff --git a/packages/server/src/services/trace-index.ts b/packages/server/src/services/trace-index.tsindex 3551307e..fd9d221c 100644--- a/packages/server/src/services/trace-index.ts+++ b/packages/server/src/services/trace-index.ts@@ -39,15 +39,15 @@*/import fs from "node:fs/promises";import path from "node:path";-import { agentsDir, isSessionMeta, tracesDir } from "@prismshadow/penguin-core";-import type { OmniMessage } from "@prismshadow/penguin-core";+import { agentsDir, isSessionMeta, tracesDir } from "@lmliheng/penguin-core";+import type { OmniMessage } from "@lmliheng/penguin-core";import type { TraceFileRow, TraceSessionRow } from "../db/repos/trace-index.js";import { TraceIndexRepo } from "../db/repos/trace-index.js";import { cacheable, statMtime } from "../internal/mtime-gate.js";import { readTraceHead } from "../internal/trace-head.js";import { asSessionSource } from "../runtime/session-sources.js";import { fallbackTitle } from "../runtime/title-generator.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Paths } from "../hmr/capabilities.js";import type { TraceIndex, TraceIndexStore } from "../mechanisms/traces.js";import type { SessionOrigins } from "../mechanisms/sessions.js";diff --git a/packages/server/src/services/trace-service.ts b/packages/server/src/services/trace-service.tsindex 810efd43..39f77288 100644--- a/packages/server/src/services/trace-service.ts+++ b/packages/server/src/services/trace-service.ts@@ -28,8 +28,8 @@ import {resumeTrace,scratchpadDir,tracesDir,-} from "@prismshadow/penguin-core";-import type { CompactionMode, OmniMessage } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";+import type { CompactionMode, OmniMessage } from "@lmliheng/penguin-core";import type {AgentTraceSessionEntry,AgentTracesResponse,@@ -76,7 +76,7 @@ import type {import { buildContextBreakdown, emptyContextBreakdown } from "./context-breakdown.js";import { sessionIdCreatedAt } from "./session-service.js";import { TraceIndexService, traceFilePath } from "./trace-index.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Paths } from "../hmr/capabilities.js";import type { TraceIndex, TraceIndexStore, Traces } from "../mechanisms/traces.js";import type { SessionIndex, SessionOrigins } from "../mechanisms/sessions.js";diff --git a/packages/server/src/services/update-check-service.ts b/packages/server/src/services/update-check-service.tsindex c9314e63..5f220056 100644--- a/packages/server/src/services/update-check-service.ts+++ b/packages/server/src/services/update-check-service.ts@@ -16,12 +16,12 @@* cannot import the CLI package (the dependency runs the other way), hence the small* duplication. fetch and the clock are injectable so tests never touch the network.*/-import { BUILD_DATE, VERSION, compareVersions, normalizeVersion } from "@prismshadow/penguin-core";+import { BUILD_DATE, VERSION, compareVersions, normalizeVersion } from "@lmliheng/penguin-core";import type { UpdateCheckResponse } from "../api/types.js";-import { Bind, Component, Interface, Use } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Interface, Use } from "@lmliheng/penguin-core/kernel";import type { AppEnv } from "../auth/middleware.js";import type { Hono } from "hono";-import type { ClassCtx, Opaque } from "@prismshadow/penguin-core/kernel";+import type { ClassCtx, Opaque } from "@lmliheng/penguin-core/kernel";import { versionRoutes } from "../http/routes/version.js";import type { Clock, Config, Lifecycle } from "../hmr/capabilities.js";import type { UpdateJob } from "./update-job.js";diff --git a/packages/server/src/services/update-job.ts b/packages/server/src/services/update-job.tsindex 41878267..faf71e53 100644--- a/packages/server/src/services/update-job.ts+++ b/packages/server/src/services/update-job.ts@@ -32,7 +32,7 @@* A platform hot-swap while a run is in flight builds a fresh service that knows nothing of* it; the child finishes on its own and only its status is lost. Rare enough to accept.*/-import { Component, Interface } from "@prismshadow/penguin-core/kernel";+import { Component, Interface } from "@lmliheng/penguin-core/kernel";import { spawn } from "node:child_process";import type { UpdateJobPhase, UpdateJobStatus, UpdateRunResponse } from "../api/types.js";diff --git a/packages/server/src/services/usage-service.ts b/packages/server/src/services/usage-service.tsindex 35be800f..9af137a2 100644--- a/packages/server/src/services/usage-service.ts+++ b/packages/server/src/services/usage-service.ts@@ -34,7 +34,7 @@ import {catalogEntryFor,offPeakAt,offPeakScheduledRefs,-} from "@prismshadow/penguin-core/model-catalog";+} from "@lmliheng/penguin-core/model-catalog";import type {UsageModelSums,UsageGroupModelSums,@@ -50,7 +50,7 @@ import {localDateMinusDays,} from "../internal/dates.js";import { badRequest } from "../http/validate.js";-import { Component, Use } from "@prismshadow/penguin-core/kernel";+import { Component, Use } from "@lmliheng/penguin-core/kernel";import type { Clock } from "../hmr/capabilities.js";import type { ErrorLog, UsageQueries, UsageStore } from "../mechanisms/observability.js";import type { ProjectConfigStore } from "../mechanisms/projects.js";diff --git a/packages/server/src/services/vision-detect.ts b/packages/server/src/services/vision-detect.tsindex ed201268..a8c1a4ae 100644--- a/packages/server/src/services/vision-detect.ts+++ b/packages/server/src/services/vision-detect.ts@@ -21,7 +21,7 @@* - `failed` anything else (auth, network, timeout, an unrelated 400): the probe* learned nothing, so the capability stays exactly as the user left it.*/-import type { LLMOutcome } from "@prismshadow/penguin-core";+import type { LLMOutcome } from "@lmliheng/penguin-core";/** What one vision probe concluded. */export type VisionProbeOutcome = "supported" | "unsupported" | "failed";diff --git a/packages/server/src/services/workspace-files-service.ts b/packages/server/src/services/workspace-files-service.tsindex abde5be1..f091b0e0 100644--- a/packages/server/src/services/workspace-files-service.ts+++ b/packages/server/src/services/workspace-files-service.ts@@ -17,7 +17,7 @@ import type {} from "../api/types.js";import { HttpError } from "../http/errors.js";import { badRequest } from "../http/validate.js";-import { Component } from "@prismshadow/penguin-core/kernel";+import { Component } from "@lmliheng/penguin-core/kernel";import type { WorkspaceFiles } from "../mechanisms/workspace.js";/** Per-file read cap (a safety limit since preview/download reads the whole file into memory). */diff --git a/packages/server/src/terminal/manager.ts b/packages/server/src/terminal/manager.tsindex a2ec09a3..e19a8374 100644--- a/packages/server/src/terminal/manager.ts+++ b/packages/server/src/terminal/manager.ts@@ -12,7 +12,7 @@* whatever it is running) alive — that is the entire point of a server-side terminal.*/import fsp from "node:fs/promises";-import type { Resources, Opaque, ClassCtx, Json } from "@prismshadow/penguin-core/kernel";+import type { Resources, Opaque, ClassCtx, Json } from "@lmliheng/penguin-core/kernel";import path from "node:path";import { HttpError } from "../http/errors.js";import { spawnHelperHint } from "./spawn-helper.js";@@ -22,7 +22,7 @@ import {type CreateTerminalSessionOptions,type TerminalSessionInfo,} from "./session.js";-import { Interface, Bind, Module, Provide, Use } from "@prismshadow/penguin-core/kernel";+import { Interface, Bind, Module, Provide, Use } from "@lmliheng/penguin-core/kernel";import type { AppEnv } from "../auth/middleware.js";import type { Hono } from "hono";import { Hmr, ResourceGroups } from "../hmr/capabilities.js";diff --git a/packages/server/src/version-report.ts b/packages/server/src/version-report.tsindex e66577c8..f4543ab2 100644--- a/packages/server/src/version-report.ts+++ b/packages/server/src/version-report.ts@@ -11,8 +11,8 @@* (see ./hmr/manifest.ts), and is exported as its own entry point so the CLI can reach it* without pulling in a server: the module graph here is core plus a `node:fs` read.*/-import { buildInfo } from "@prismshadow/penguin-core";-import type { VersionReport } from "@prismshadow/penguin-core";+import { buildInfo } from "@lmliheng/penguin-core";+import type { VersionReport } from "@lmliheng/penguin-core";import { readHarnessInfo } from "./hmr/manifest.js";/**diff --git a/packages/server/src/workflows/compile.ts b/packages/server/src/workflows/compile.tsindex 05d5ac11..4712e1a1 100644--- a/packages/server/src/workflows/compile.ts+++ b/packages/server/src/workflows/compile.ts@@ -6,7 +6,7 @@* runs, not ones the first request answers. The server builds one program from the entry* (and whatever it imports), under options the HOST fixes — `strict`, NodeNext; a* `tsconfig.json` in the folder is not consulted, so a workflow cannot switch strictness- * off for itself. `@prismshadow/penguin-server/plugin` resolves to the types the harness+ * off for itself. `@lmliheng/penguin-server/plugin` resolves to the types the harness* wrote into the folder (./harness-types.ts), never to a package: what the workflow was* written against. Whether that still fits this platform is ../plugin/iface-check.ts.*@@ -27,7 +27,7 @@ import { harnessTypesFile } from "./harness-types.js";export const ENTRY = "index.ts";export const BUILD_DIR = ".build";/** The module a workflow imports its types from. */-export const TYPES_MODULE = "@prismshadow/penguin-server/plugin";+export const TYPES_MODULE = "@lmliheng/penguin-server/plugin";const CHECK_FILE = "__workflow_check__.ts";const CHECK_SOURCE = `import type { WorkflowPackage } from ${JSON.stringify(TYPES_MODULE)};import pkg from "./index.js";diff --git a/packages/server/src/workflows/harness-types.ts b/packages/server/src/workflows/harness-types.tsindex c05537c7..11a71abd 100644--- a/packages/server/src/workflows/harness-types.ts+++ b/packages/server/src/workflows/harness-types.ts@@ -6,7 +6,7 @@* not install its types: the first load writes them into `<workflow>/.harness/`, rendered* from THIS platform's interface table —*- * plugin.d.ts what `@prismshadow/penguin-server/plugin` resolves to for this workflow+ * plugin.d.ts what `@lmliheng/penguin-server/plugin` resolves to for this workflow* (./compile.ts): `WorkflowHost`, `WorkflowMain` and what they reach, plus* the shape of the default export* ifaces.json the slice of the table those declarations were rendered from — the@@ -23,7 +23,7 @@*/import fs from "node:fs";import path from "node:path";-import type { IfaceTable } from "@prismshadow/penguin-core/kernel";+import type { IfaceTable } from "@lmliheng/penguin-core/kernel";import { renderDts } from "../plugin/iface-check.js";export const HARNESS_DIR = ".harness";@@ -71,10 +71,10 @@ running harness's types afresh.## Files- \`package.json\` — \`"type": "module"\`, and the manifest under \`penguin.modules\`: a module named- \`Workflow\` that requires \`host\` (\`@prismshadow/penguin-server#WorkflowHost\`, from \`Host\`),- provides \`main\` (\`@prismshadow/penguin-server#WorkflowMain\`) and contributes its tabs.+ \`Workflow\` that requires \`host\` (\`@lmliheng/penguin-server#WorkflowHost\`, from \`Host\`),+ provides \`main\` (\`@lmliheng/penguin-server#WorkflowMain\`) and contributes its tabs.- \`index.ts\` — TypeScript, never JavaScript. \`export default { modules: { Workflow: { create(ctx) {- … } } } } satisfies WorkflowPackage\`, types imported from \`@prismshadow/penguin-server/plugin\`+ … } } } } satisfies WorkflowPackage\`, types imported from \`@lmliheng/penguin-server/plugin\`(it resolves to \`.harness/plugin.d.ts\`; nothing to install).- \`ui/\` — pages and their assets. A page calls the workflow's handler at \`../api/<path>\`.diff --git a/packages/server/src/workflows/routes.ts b/packages/server/src/workflows/routes.tsindex 02b1bd0f..65de0c75 100644--- a/packages/server/src/workflows/routes.ts+++ b/packages/server/src/workflows/routes.ts@@ -16,7 +16,7 @@import fs from "node:fs/promises";import path from "node:path";import { Hono } from "hono";-import { Bind, Component, Use } from "@prismshadow/penguin-core/kernel";+import { Bind, Component, Use } from "@lmliheng/penguin-core/kernel";import type { AppEnv } from "../auth/middleware.js";import { HttpError } from "../http/errors.js";import { requireValidId } from "../http/validate.js";diff --git a/packages/server/src/workflows/service.ts b/packages/server/src/workflows/service.tsindex 80ec3bad..abc03d6a 100644--- a/packages/server/src/workflows/service.ts+++ b/packages/server/src/workflows/service.ts@@ -24,7 +24,7 @@import fs from "node:fs";import path from "node:path";import { pathToFileURL } from "node:url";-import { bootModules, Component, parseManifest, Use } from "@prismshadow/penguin-core/kernel";+import { bootModules, Component, parseManifest, Use } from "@lmliheng/penguin-core/kernel";import type {ClassCtx,IfaceDecl,@@ -32,8 +32,8 @@ import type {Manifest,ModuleDef,ModuleTree,-} from "@prismshadow/penguin-core/kernel";-import { userText } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core/kernel";+import { userText } from "@lmliheng/penguin-core";import table from "../ifaces.json" with { type: "json" };import type { ServerEvent } from "../api/types.js";import type { Channels, Clock, Hmr, Log, Paths } from "../hmr/capabilities.js";@@ -72,7 +72,7 @@ import {type WorkflowFolder,} from "./store.js";-const PKG = "@prismshadow/penguin-server";+const PKG = "@lmliheng/penguin-server";export const HOST_MODULE = "Host";export const ROOT_MODULE = "Workflow";export const HOST_IFACE = `${PKG}#WorkflowHost`;diff --git a/packages/server/src/workflows/store.ts b/packages/server/src/workflows/store.tsindex f76b12b9..7fd8991e 100644--- a/packages/server/src/workflows/store.ts+++ b/packages/server/src/workflows/store.ts@@ -18,7 +18,7 @@import { createHash, randomBytes } from "node:crypto";import fs from "node:fs/promises";import path from "node:path";-import { agentDir } from "@prismshadow/penguin-core";+import { agentDir } from "@lmliheng/penguin-core";import type { WorkflowVersion } from "../mechanisms/workflows.js";export const STATE_FILE = "state.json";diff --git a/packages/server/test/abort-compaction.test.ts b/packages/server/test/abort-compaction.test.tsindex 7a035c4e..43a72310 100644--- a/packages/server/test/abort-compaction.test.ts+++ b/packages/server/test/abort-compaction.test.ts@@ -11,8 +11,8 @@* - Given an idle Session, an abort answers 204 and starts nothing.*/import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";-import { compactionBegin, compactionEnd } from "@prismshadow/penguin-core";-import type { OmniMessage } from "@prismshadow/penguin-core";+import { compactionBegin, compactionEnd } from "@lmliheng/penguin-core";+import type { OmniMessage } from "@lmliheng/penguin-core";import { adoptSession, fakeSession, uniqueSessionId } from "./fixtures/session.js";import { apiClient, createTestApp, provisionUser, waitFor } from "./helpers.js";import type { TestApp } from "./helpers.js";diff --git a/packages/server/test/agent-config-call-description.test.ts b/packages/server/test/agent-config-call-description.test.tsindex 16439a85..648c03db 100644--- a/packages/server/test/agent-config-call-description.test.ts+++ b/packages/server/test/agent-config-call-description.test.ts@@ -8,8 +8,8 @@*/import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";import fs from "node:fs/promises";-import { systemConfigPath } from "@prismshadow/penguin-core";-import type { ToolDefinitionConfig } from "@prismshadow/penguin-core";+import { systemConfigPath } from "@lmliheng/penguin-core";+import type { ToolDefinitionConfig } from "@lmliheng/penguin-core";import type { AgentConfigResponse, ProjectCreateResponse } from "../src/api/types.js";import { apiClient, createTestApp, provisionUser } from "./helpers.js";import type { TestApp } from "./helpers.js";diff --git a/packages/server/test/agent-config-mcp-servers.test.ts b/packages/server/test/agent-config-mcp-servers.test.tsindex 976510b2..4af9d8ef 100644--- a/packages/server/test/agent-config-mcp-servers.test.ts+++ b/packages/server/test/agent-config-mcp-servers.test.ts@@ -10,7 +10,7 @@import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";import fs from "node:fs/promises";import { fileURLToPath } from "node:url";-import { systemConfigPath } from "@prismshadow/penguin-core";+import { systemConfigPath } from "@lmliheng/penguin-core";import type { AgentConfigResponse, ProjectCreateResponse } from "../src/api/types.js";import { apiClient, createTestApp, provisionUser } from "./helpers.js";import type { TestApp } from "./helpers.js";diff --git a/packages/server/test/agent-config-reset.test.ts b/packages/server/test/agent-config-reset.test.tsindex b6b7da30..a559f647 100644--- a/packages/server/test/agent-config-reset.test.ts+++ b/packages/server/test/agent-config-reset.test.ts@@ -8,7 +8,7 @@* the config is not touched.*/import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";-import { defaultSystemConfig } from "@prismshadow/penguin-core";+import { defaultSystemConfig } from "@lmliheng/penguin-core";import type { AgentConfigResponse, ProjectCreateResponse } from "../src/api/types.js";import { apiClient, createTestApp, provisionUser } from "./helpers.js";import type { TestApp } from "./helpers.js";diff --git a/packages/server/test/agent-kernel-update.test.ts b/packages/server/test/agent-kernel-update.test.tsindex b52ad0b4..39fb9370 100644--- a/packages/server/test/agent-kernel-update.test.ts+++ b/packages/server/test/agent-kernel-update.test.ts@@ -20,7 +20,7 @@ import {VAULT_PLACEHOLDER,defaultSystemConfig,systemConfigPath,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type {AgentConfigResponse,AgentKernelUpdateResponse,diff --git a/packages/server/test/agent-trace-detail.test.ts b/packages/server/test/agent-trace-detail.test.tsindex 3e89e29b..887a0ebb 100644--- a/packages/server/test/agent-trace-detail.test.ts+++ b/packages/server/test/agent-trace-detail.test.ts@@ -7,8 +7,8 @@* (projectId, agentId, sessionId), with access controlled via requireProjectAccess.*/import { afterEach, beforeEach, describe, expect, it } from "vitest";-import { requestBegin, requestEnd, sessionMeta, userText } from "@prismshadow/penguin-core";-import type { SessionMetaPayload } from "@prismshadow/penguin-core";+import { requestBegin, requestEnd, sessionMeta, userText } from "@lmliheng/penguin-core";+import type { SessionMetaPayload } from "@lmliheng/penguin-core";import type {AgentTracesResponse,ProjectCreateResponse,diff --git a/packages/server/test/agent-transfer.test.ts b/packages/server/test/agent-transfer.test.tsindex 460324ac..4bf174bc 100644--- a/packages/server/test/agent-transfer.test.ts+++ b/packages/server/test/agent-transfer.test.ts@@ -14,7 +14,7 @@ import fs from "node:fs/promises";import path from "node:path";import * as tar from "tar";import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";-import { agentStateDir, snapshotsDir } from "@prismshadow/penguin-core";+import { agentStateDir, snapshotsDir } from "@lmliheng/penguin-core";import type {AgentCreateResponse,AgentImportResponse,diff --git a/packages/server/test/auth.test.ts b/packages/server/test/auth.test.tsindex e177fc07..20b0a61c 100644--- a/packages/server/test/auth.test.ts+++ b/packages/server/test/auth.test.ts@@ -23,7 +23,7 @@import fs from "node:fs/promises";import path from "node:path";import { afterEach, beforeEach, describe, expect, it } from "vitest";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";import type { MeResponse, ProjectsResponse } from "../src/api/types.js";import { bootAppDeps } from "../src/app.js";import { hashPassword, ScryptHasher } from "../src/auth/password.js";diff --git a/packages/server/test/benchmarks.test.ts b/packages/server/test/benchmarks.test.tsindex efa9ea48..82a892c0 100644--- a/packages/server/test/benchmarks.test.ts+++ b/packages/server/test/benchmarks.test.ts@@ -19,7 +19,7 @@ import fs from "node:fs/promises";import path from "node:path";import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";import { parse as parseToml } from "smol-toml";-import { benchmarksDir } from "@prismshadow/penguin-core";+import { benchmarksDir } from "@lmliheng/penguin-core";import type {BenchmarkCasesResponse,BenchmarkCreateRequest,diff --git a/packages/server/test/body-limit.test.ts b/packages/server/test/body-limit.test.tsindex bef207bb..9fcf8cc2 100644--- a/packages/server/test/body-limit.test.ts+++ b/packages/server/test/body-limit.test.ts@@ -14,8 +14,8 @@* - An under-cap streamed body passes through intact (the cap re-feeds what it counted).*/import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";-import { assistantText } from "@prismshadow/penguin-core";-import type { OmniMessage } from "@prismshadow/penguin-core";+import { assistantText } from "@lmliheng/penguin-core";+import type { OmniMessage } from "@lmliheng/penguin-core";import { bodyLimitBytes, MIN_ATTACHMENT_MB } from "../src/services/attachment-limits.js";import { adoptSession, fakeSession, uniqueSessionId } from "./fixtures/session.js";import { createTestApp, provisionUser, waitFor } from "./helpers.js";diff --git a/packages/server/test/builtin-agents.test.ts b/packages/server/test/builtin-agents.test.tsindex 26ff2e81..994ccc33 100644--- a/packages/server/test/builtin-agents.test.ts+++ b/packages/server/test/builtin-agents.test.ts@@ -8,7 +8,7 @@import fs from "node:fs/promises";import path from "node:path";import { afterEach, beforeEach, describe, expect, it } from "vitest";-import { libraryPlugin, loadPreinstalledPlugins } from "@prismshadow/penguin-core";+import { libraryPlugin, loadPreinstalledPlugins } from "@lmliheng/penguin-core";import type { BenchmarksResponse } from "../src/api/types.js";import { apiClient, createTestApp, provisionUser, type TestApp } from "./helpers.js";diff --git a/packages/server/test/config.test.ts b/packages/server/test/config.test.tsindex 2439a887..446178fc 100644--- a/packages/server/test/config.test.ts+++ b/packages/server/test/config.test.ts@@ -15,7 +15,7 @@*/import { describe, expect, it } from "vitest";import path from "node:path";-import { resolveRoot } from "@prismshadow/penguin-core";+import { resolveRoot } from "@lmliheng/penguin-core";import { resolveServerConfig } from "../src/config.js";const base = { PENGUIN_HOME: "/tmp/penguin-config-test" };diff --git a/packages/server/test/context-breakdown.test.ts b/packages/server/test/context-breakdown.test.tsindex 26463529..c3afeacd 100644--- a/packages/server/test/context-breakdown.test.ts+++ b/packages/server/test/context-breakdown.test.ts@@ -22,8 +22,8 @@ import {toolCallOutput,toolListReady,userText,-} from "@prismshadow/penguin-core";-import type { OmniMessage, SessionMetaPayload, ToolDefinition } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";+import type { OmniMessage, SessionMetaPayload, ToolDefinition } from "@lmliheng/penguin-core";import {buildContextBreakdown,compactionThresholdFor,diff --git a/packages/server/test/db-upgrade.test.ts b/packages/server/test/db-upgrade.test.tsindex 0c9bb531..83941b3a 100644--- a/packages/server/test/db-upgrade.test.ts+++ b/packages/server/test/db-upgrade.test.ts@@ -40,7 +40,7 @@ import { SCHEMA_SQL } from "../src/db/schema.js";import { MessagingBindingsRepo } from "../src/db/repos/messaging-bindings.js";import { SessionsRepo } from "../src/db/repos/sessions.js";import type { SessionRow } from "../src/db/repos/sessions.js";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";const sqlite = process.getBuiltinModule("node:sqlite");diff --git a/packages/server/test/directory-skills.test.ts b/packages/server/test/directory-skills.test.tsindex 9ae1e56f..de9115ec 100644--- a/packages/server/test/directory-skills.test.ts+++ b/packages/server/test/directory-skills.test.ts@@ -21,7 +21,7 @@ import fs from "node:fs/promises";import os from "node:os";import path from "node:path";import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it } from "vitest";-import { skillsDir, librarySkill } from "@prismshadow/penguin-core";+import { skillsDir, librarySkill } from "@lmliheng/penguin-core";import type {AgentCreateResponse,AgentsResponse,diff --git a/packages/server/test/errors.test.ts b/packages/server/test/errors.test.tsindex a5d9ad3a..3945276f 100644--- a/packages/server/test/errors.test.ts+++ b/packages/server/test/errors.test.ts@@ -55,8 +55,8 @@ import {toolCall,toolCallOutput,withOrigin,-} from "@prismshadow/penguin-core";-import type { OmniMessage, StopReason } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";+import type { OmniMessage, StopReason } from "@lmliheng/penguin-core";import type { ProjectCreateResponse, UsageErrorsPage, UsageResponse } from "../src/api/types.js";import { openDatabase } from "../src/db/database.js";import { ErrorsRepo } from "../src/db/repos/errors.js";@@ -73,7 +73,7 @@ import { MessagingConnectionClosedError } from "../src/runtime/messaging/qq-api.import { StreamErrorWatcher } from "../src/runtime/stream-error-watcher.js";import { apiClient, createTestApp, loginAdmin, provisionUser } from "./helpers.js";import type { TestApp } from "./helpers.js";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";function row(date: string, o: Partial<ErrorRecordInsert> = {}): ErrorRecordInsert {return {diff --git a/packages/server/test/followup.test.ts b/packages/server/test/followup.test.tsindex 51157b44..16c23499 100644--- a/packages/server/test/followup.test.ts+++ b/packages/server/test/followup.test.ts@@ -16,8 +16,8 @@* The queued count on task_state events is covered by the session-manager suite.*/import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";-import { approvalDecision, assistantText, toolCall, userText } from "@prismshadow/penguin-core";-import type { ApproveFn, OmniMessage } from "@prismshadow/penguin-core";+import { approvalDecision, assistantText, toolCall, userText } from "@lmliheng/penguin-core";+import type { ApproveFn, OmniMessage } from "@lmliheng/penguin-core";import type { TaskCreateResponse } from "../src/api/types.js";import type { RecallStore } from "../src/runtime/session-manager.js";import { adoptSession, fakeSession, uniqueSessionId } from "./fixtures/session.js";diff --git a/packages/server/test/goals.test.ts b/packages/server/test/goals.test.tsindex cc77e3c9..e623aa5d 100644--- a/packages/server/test/goals.test.ts+++ b/packages/server/test/goals.test.ts@@ -21,7 +21,7 @@import fs from "node:fs/promises";import path from "node:path";import { afterEach, beforeEach, describe, expect, it } from "vitest";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";import type { DatabaseSync } from "node:sqlite";import {assistantText,@@ -36,8 +36,8 @@ import {sessionScratchpadDir,tokenUsage,userText,-} from "@prismshadow/penguin-core";-import type { OmniMessage, TokenCounts } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";+import type { OmniMessage, TokenCounts } from "@lmliheng/penguin-core";import { openDatabase } from "../src/db/database.js";import { SessionsRepo } from "../src/db/repos/sessions.js";import type { SessionRow } from "../src/db/repos/sessions.js";diff --git a/packages/server/test/harness-history.test.ts b/packages/server/test/harness-history.test.tsindex 78f479fc..20188130 100644--- a/packages/server/test/harness-history.test.ts+++ b/packages/server/test/harness-history.test.ts@@ -22,7 +22,7 @@import { afterEach, describe, expect, it } from "vitest";import fs from "node:fs/promises";import path from "node:path";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";import table from "../src/ifaces.json" with { type: "json" };import {HarnessHistoryStore,@@ -30,7 +30,7 @@ import {KEEP_VERSIONS,} from "../src/services/harness-history.js";import zlib from "node:zlib";-import { diffIfaces } from "@prismshadow/penguin-hmr";+import { diffIfaces } from "@lmliheng/penguin-hmr";import type { VersionHistoryDiffResponse, VersionHistoryResponse } from "../src/api/types.js";import {apiClient,diff --git a/packages/server/test/helpers.ts b/packages/server/test/helpers.tsindex 8ef123e2..afc74827 100644--- a/packages/server/test/helpers.ts+++ b/packages/server/test/helpers.ts@@ -8,10 +8,10 @@ import fs from "node:fs/promises";import os from "node:os";import path from "node:path";import type { Hono } from "hono";-import type { OmniMessage } from "@prismshadow/penguin-core";+import type { OmniMessage } from "@lmliheng/penguin-core";import { bootAppDeps, createApp } from "../src/app.js";import type { ServerBoot } from "../src/app.js";-import type { ModuleTree, ModuleClass } from "@prismshadow/penguin-core/kernel";+import type { ModuleTree, ModuleClass } from "@lmliheng/penguin-core/kernel";import type { DatabaseSync } from "node:sqlite";import type { ServerHmrHost } from "../src/hmr/platform.js";import type { ChannelHub } from "../src/runtime/channel.js";@@ -55,7 +55,7 @@ import type { AppEnv } from "../src/auth/middleware.js";import { ADMIN_USER_ID } from "../src/auth/service.js";import type { ServerConfig } from "../src/config.js";import type { UserInfo } from "../src/api/types.js";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";import type { PluginHost } from "../src/plugin/host.js";import type { Replacements } from "../src/hmr/capabilities.js";import { ConsoleLog, SystemClock } from "../src/hmr/capabilities.js";diff --git a/packages/server/test/hmr-host.test.ts b/packages/server/test/hmr-host.test.tsindex 0bb2d5d8..595101d1 100644--- a/packages/server/test/hmr-host.test.ts+++ b/packages/server/test/hmr-host.test.ts@@ -13,7 +13,7 @@ import { createHash } from "node:crypto";import { afterEach, describe, expect, it, vi } from "vitest";import type { Hono } from "hono";import type { AppEnv } from "../src/auth/middleware.js";-import { HmrHost } from "@prismshadow/penguin-hmr";+import { HmrHost } from "@lmliheng/penguin-hmr";import type { PlatformApi } from "../src/hmr/platform.js";import { packagedPlatform } from "../src/hmr/platform.js";import { readHarnessInfo } from "../src/hmr/manifest.js";diff --git a/packages/server/test/hmr-http-seam.test.ts b/packages/server/test/hmr-http-seam.test.tsindex 85f3dbfe..71dda7d7 100644--- a/packages/server/test/hmr-http-seam.test.ts+++ b/packages/server/test/hmr-http-seam.test.ts@@ -15,7 +15,7 @@ import { fileURLToPath } from "node:url";import { afterEach, beforeEach, describe, expect, it } from "vitest";import { Hono } from "hono";import type { AppEnv } from "../src/auth/middleware.js";-import type { Hmr } from "@prismshadow/penguin-hmr";+import type { Hmr } from "@lmliheng/penguin-hmr";import { platformHttpSeam } from "../src/hmr/http-seam.js";import type { PlatformApi } from "../src/hmr/platform.js";import { apiClient, createTestApp, loginAdmin } from "./helpers.js";diff --git a/packages/server/test/hmr-resources.test.ts b/packages/server/test/hmr-resources.test.tsindex 581de9b0..2987adec 100644--- a/packages/server/test/hmr-resources.test.ts+++ b/packages/server/test/hmr-resources.test.ts@@ -13,9 +13,9 @@ import {schema,type,upgrade,-} from "@prismshadow/penguin-core/kernel";-import type { Json } from "@prismshadow/penguin-core/kernel";-import { HotResources } from "@prismshadow/penguin-hmr";+} from "@lmliheng/penguin-core/kernel";+import type { Json } from "@lmliheng/penguin-core/kernel";+import { HotResources } from "@lmliheng/penguin-hmr";import { TerminalManager } from "../src/terminal/manager.js";import type { TerminalSession } from "../src/terminal/session.js";import { DECLARED_RESOURCES as PARKED, packagedPlatform } from "../src/hmr/platform.js";diff --git a/packages/server/test/hooks.test.ts b/packages/server/test/hooks.test.tsindex 9ba7cbea..93642420 100644--- a/packages/server/test/hooks.test.ts+++ b/packages/server/test/hooks.test.ts@@ -22,8 +22,8 @@ import fs from "node:fs/promises";import path from "node:path";import { strToU8, unzipSync, zipSync } from "fflate";import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it } from "vitest";-import { hooksDir } from "@prismshadow/penguin-core";-import type { OmniMessage } from "@prismshadow/penguin-core";+import { hooksDir } from "@lmliheng/penguin-core";+import type { OmniMessage } from "@lmliheng/penguin-core";import type {AgentHooksResponse,MessagesResponse,diff --git a/packages/server/test/hot-replace.test.ts b/packages/server/test/hot-replace.test.tsindex fb38048d..1263e8e6 100644--- a/packages/server/test/hot-replace.test.ts+++ b/packages/server/test/hot-replace.test.ts@@ -5,13 +5,13 @@* need is refused by name, and the App does not boot.*/import { describe, expect, it, afterEach } from "vitest";-import { parseManifest } from "@prismshadow/penguin-core/kernel";-import type { ModuleDef } from "@prismshadow/penguin-core/kernel";+import { parseManifest } from "@lmliheng/penguin-core/kernel";+import type { ModuleDef } from "@lmliheng/penguin-core/kernel";import { PluginHost } from "../src/plugin/host.js";import type { Settings, UiPrefsStore } from "../src/mechanisms/settings.js";import { createTestApp, loginAdmin, type TestApp } from "./helpers.js";-const PKG = "@prismshadow/penguin-server";+const PKG = "@lmliheng/penguin-server";function replacing(name: string,diff --git a/packages/server/test/iface-check.test.ts b/packages/server/test/iface-check.test.tsindex bd9e336a..59d449f7 100644--- a/packages/server/test/iface-check.test.ts+++ b/packages/server/test/iface-check.test.ts@@ -5,14 +5,14 @@*/import { describe, expect, it } from "vitest";import ts from "typescript";-import { parseManifest } from "@prismshadow/penguin-core/kernel";-import type { IfaceTable } from "@prismshadow/penguin-core/kernel";+import { parseManifest } from "@lmliheng/penguin-core/kernel";+import type { IfaceTable } from "@lmliheng/penguin-core/kernel";import platformTable from "../src/ifaces.json" with { type: "json" };import { checkIfaces, ifaceQuestions, renderDts } from "../src/plugin/iface-check.js";const platform = platformTable as unknown as IfaceTable;-const LOG = "@prismshadow/penguin-server#Log";-const MAIN = "@prismshadow/penguin-server#WorkflowMain";+const LOG = "@lmliheng/penguin-server#Log";+const MAIN = "@lmliheng/penguin-server#WorkflowMain";const manifest = parseManifest({name: "Demo",@@ -77,7 +77,7 @@ describe("interface check", () => {// Each side is rendered into its own file, so a brand keyed by `unique symbol` would be// two different symbols and the platform would stop fitting ITSELF. 43 of the table's// interfaces carry a non-library opaque, so this is the common case, not a corner.- const opaque = "@prismshadow/penguin-server#TerminalSession";+ const opaque = "@lmliheng/penguin-server#TerminalSession";const withOpaque = compiledAgainst((t) => {t.ifaces[LOG]!.methods["line"]!.params = [{ opaque }];});@@ -87,7 +87,7 @@ describe("interface check", () => {});// …and a DIFFERENT opaque is still a mismatch: the name is the identity.const renamed = compiledAgainst((t) => {- t.ifaces[LOG]!.methods["line"]!.params = [{ opaque: "@prismshadow/penguin-server#Other" }];+ t.ifaces[LOG]!.methods["line"]!.params = [{ opaque: "@lmliheng/penguin-server#Other" }];});const { problems } = checkIfaces(ts, withOpaque, renamed, ifaceQuestions([manifest]));expect(problems).toHaveLength(1);diff --git a/packages/server/test/live-session.ts b/packages/server/test/live-session.tsindex b320a469..044bbfbf 100644--- a/packages/server/test/live-session.ts+++ b/packages/server/test/live-session.ts@@ -11,7 +11,7 @@ import fs from "node:fs/promises";import http from "node:http";import type { AddressInfo } from "node:net";import path from "node:path";-import type { OmniMessage, TextPayload } from "@prismshadow/penguin-core";+import type { OmniMessage, TextPayload } from "@lmliheng/penguin-core";/** The model id the endpoint stands in for (routed to the Anthropic Messages client). */export const MOCK_MODEL_ID = "claude-4-8";diff --git a/packages/server/test/live-tail.test.ts b/packages/server/test/live-tail.test.tsindex ecafbad2..12cea891 100644--- a/packages/server/test/live-tail.test.ts+++ b/packages/server/test/live-tail.test.ts@@ -16,12 +16,12 @@ import {toolCallOutput,userText,withOrigin,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type {PartialTextPayload,PartialToolCallOutputPayload,PartialToolCallPayload,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import { LiveTailTracker } from "../src/runtime/live-tail.js";const SID = "s1";diff --git a/packages/server/test/machines-models-sync.test.ts b/packages/server/test/machines-models-sync.test.tsindex 97788ab7..34ca8c97 100644--- a/packages/server/test/machines-models-sync.test.ts+++ b/packages/server/test/machines-models-sync.test.ts@@ -15,7 +15,7 @@ import http from "node:http";import type { AddressInfo } from "node:net";import { describe, expect, it } from "vitest";import { serve } from "@hono/node-server";-import type { ModelEntry } from "@prismshadow/penguin-core";+import type { ModelEntry } from "@lmliheng/penguin-core";import type { ModelsResponse, ModelsUpdateRequest } from "../src/api/types.js";import { planModelSync, syncModelsToMachine } from "../src/machines/models-sync.js";import type { LocalModels } from "../src/machines/models-sync.js";diff --git a/packages/server/test/machines.test.ts b/packages/server/test/machines.test.tsindex d53b1310..8f5d6bf4 100644--- a/packages/server/test/machines.test.ts+++ b/packages/server/test/machines.test.ts@@ -320,7 +320,7 @@ describe("ssh / scp invocations", () => {});describe("resolvePushPlan", () => {- const manifest = JSON.stringify({ name: "@prismshadow/penguin-cli", version: "0.2.4" });+ const manifest = JSON.stringify({ name: "@lmliheng/penguin-cli", version: "0.2.4" });it("tarball install: the base release, with no pushed state", () => {const work = fs.mkdtempSync(path.join(os.tmpdir(), "penguin-plan-"));@@ -373,7 +373,7 @@ describe("resolvePushPlan", () => {fs.mkdirSync(path.join(appDir, "dist"), { recursive: true });fs.writeFileSync(path.join(appDir, "package.json"),- JSON.stringify({ name: "@prismshadow/penguin-desktop", version: "0.2.4" }),+ JSON.stringify({ name: "@lmliheng/penguin-desktop", version: "0.2.4" }),);const plan = resolvePushPlan(null, path.join(appDir, "dist", "server.js"));@@ -390,7 +390,7 @@ describe("resolvePushPlan", () => {fs.mkdirSync(path.join(pkgDir, "dist"), { recursive: true });fs.writeFileSync(path.join(pkgDir, "package.json"),- JSON.stringify({ name: "@prismshadow/penguin-desktop", version: "0.2.4" }),+ JSON.stringify({ name: "@lmliheng/penguin-desktop", version: "0.2.4" }),);expect(resolvePushPlan(null, path.join(pkgDir, "dist", "server.js"))).toBeNull();diff --git a/packages/server/test/memory.test.ts b/packages/server/test/memory.test.tsindex 62da44f5..40bfad25 100644--- a/packages/server/test/memory.test.ts+++ b/packages/server/test/memory.test.ts@@ -35,7 +35,7 @@ import {USER_SCOPE_KEY,memoryDir,memoryScopeDir,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type {AgentConfigResponse,MemoryFileResponse,diff --git a/packages/server/test/messages-live.test.ts b/packages/server/test/messages-live.test.tsindex 1b094670..8fe235d0 100644--- a/packages/server/test/messages-live.test.ts+++ b/packages/server/test/messages-live.test.ts@@ -22,8 +22,8 @@ import {toolCallOutput,userText,withOrigin,-} from "@prismshadow/penguin-core";-import type { ApproveFn, OmniMessage } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";+import type { ApproveFn, OmniMessage } from "@lmliheng/penguin-core";import type { MessagesResponse } from "../src/api/types.js";import type { SessionRow } from "../src/db/repos/sessions.js";import type { RuntimeSession } from "../src/runtime/session-manager.js";diff --git a/packages/server/test/messages-page.test.ts b/packages/server/test/messages-page.test.tsindex f461f3d6..93775fe8 100644--- a/packages/server/test/messages-page.test.ts+++ b/packages/server/test/messages-page.test.ts@@ -29,12 +29,12 @@ import {toolCall,toolCallOutput,userText,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import {buildBackgroundTaskDoneMessage,buildHandoffMessage,-} from "@prismshadow/penguin-core/markers";-import type { OmniMessage, SessionMetaPayload, TokenCounts } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core/markers";+import type { OmniMessage, SessionMetaPayload, TokenCounts } from "@lmliheng/penguin-core";import { decodeCursor, encodeCursor } from "../src/services/message-window.js";import type { TraceService } from "../src/services/trace-service.js";import { makeTempRoot, makeTraceHarness, writeTraceFile } from "./helpers.js";diff --git a/packages/server/test/messages-pending-input.test.ts b/packages/server/test/messages-pending-input.test.tsindex 34ffa037..5e8b7a6f 100644--- a/packages/server/test/messages-pending-input.test.ts+++ b/packages/server/test/messages-pending-input.test.ts@@ -19,8 +19,8 @@ import {mcpConnectEnd,requestBegin,sessionMeta,-} from "@prismshadow/penguin-core";-import type { OmniMessage } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";+import type { OmniMessage } from "@lmliheng/penguin-core";import type { MessagesResponse } from "../src/api/types.js";import type { RuntimeSession } from "../src/runtime/session-manager.js";import { adoptSession, fakeSession, uniqueSessionId } from "./fixtures/session.js";diff --git a/packages/server/test/messaging-markdown.test.ts b/packages/server/test/messaging-markdown.test.tsindex 883ea08a..08093972 100644--- a/packages/server/test/messaging-markdown.test.ts+++ b/packages/server/test/messaging-markdown.test.ts@@ -28,7 +28,7 @@* unbreakable line as a last resort, and yields chunks every renderer accepts.*/import { describe, expect, it } from "vitest";-import { attachedFileLine } from "@prismshadow/penguin-core";+import { attachedFileLine } from "@lmliheng/penguin-core";import { MESSAGING_TEXT_CHUNK_CHARS } from "../src/runtime/messaging/bridge.js";import { chunkMarkdown, isSafeUrl, parseMarkdown } from "../src/runtime/messaging/markdown.js";import { feishuCardOf, feishuMarkdownOf } from "../src/runtime/messaging/feishu-card.js";diff --git a/packages/server/test/messaging-qq.test.ts b/packages/server/test/messaging-qq.test.tsindex cedbadea..28598e3d 100644--- a/packages/server/test/messaging-qq.test.ts+++ b/packages/server/test/messaging-qq.test.ts@@ -34,9 +34,9 @@import fs from "node:fs/promises";import path from "node:path";import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";-import { approvalDecision, assistantText, toolCall } from "@prismshadow/penguin-core";-import type { ApproveFn, OmniMessage, TextPayload } from "@prismshadow/penguin-core";-import { wire } from "@prismshadow/penguin-core/kernel";+import { approvalDecision, assistantText, toolCall } from "@lmliheng/penguin-core";+import type { ApproveFn, OmniMessage, TextPayload } from "@lmliheng/penguin-core";+import { wire } from "@lmliheng/penguin-core/kernel";import type {MessagingBindingsResponse,QQBindingResponse,diff --git a/packages/server/test/messaging-telegram.test.ts b/packages/server/test/messaging-telegram.test.tsindex 78209c10..08b2e75a 100644--- a/packages/server/test/messaging-telegram.test.ts+++ b/packages/server/test/messaging-telegram.test.ts@@ -56,9 +56,9 @@ import {modelVisiblePath,scratchpadDir,toolCall,-} from "@prismshadow/penguin-core";-import type { ApproveFn, OmniMessage } from "@prismshadow/penguin-core";-import { wire } from "@prismshadow/penguin-core/kernel";+} from "@lmliheng/penguin-core";+import type { ApproveFn, OmniMessage } from "@lmliheng/penguin-core";+import { wire } from "@lmliheng/penguin-core/kernel";import type {FeishuBindingResponse,MessagingBindingsResponse,diff --git a/packages/server/test/messaging-wechat.test.ts b/packages/server/test/messaging-wechat.test.tsindex 3d4581c2..33e7e802 100644--- a/packages/server/test/messaging-wechat.test.ts+++ b/packages/server/test/messaging-wechat.test.ts@@ -29,8 +29,8 @@* Markdown renders only when the binding asks.*/import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it } from "vitest";-import { assistantText } from "@prismshadow/penguin-core";-import type { OmniMessage } from "@prismshadow/penguin-core";+import { assistantText } from "@lmliheng/penguin-core";+import type { OmniMessage } from "@lmliheng/penguin-core";import type {MessagingBindingsResponse,WeChatBindingResponse,diff --git a/packages/server/test/messaging.test.ts b/packages/server/test/messaging.test.tsindex 8772de4d..82f6df1b 100644--- a/packages/server/test/messaging.test.ts+++ b/packages/server/test/messaging.test.ts@@ -72,9 +72,9 @@ import {modelVisiblePath,scratchpadDir,toolCall,-} from "@prismshadow/penguin-core";-import type { ApproveFn, OmniMessage } from "@prismshadow/penguin-core";-import { wire } from "@prismshadow/penguin-core/kernel";+} from "@lmliheng/penguin-core";+import type { ApproveFn, OmniMessage } from "@lmliheng/penguin-core";+import { wire } from "@lmliheng/penguin-core/kernel";import type { FeishuBindingResponse, FeishuTestResponse } from "../src/api/types.js";import { ProjectsRepo } from "../src/db/repos/projects.js";import type { RuntimeSession } from "../src/runtime/session-manager.js";diff --git a/packages/server/test/model-oauth.test.ts b/packages/server/test/model-oauth.test.tsindex 8ee67065..6524d6d2 100644--- a/packages/server/test/model-oauth.test.ts+++ b/packages/server/test/model-oauth.test.ts@@ -25,7 +25,7 @@import { readFile } from "node:fs/promises";import path from "node:path";import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";-import { APP_URL, presetModelEntries, providerInfo } from "@prismshadow/penguin-core/model-catalog";+import { APP_URL, presetModelEntries, providerInfo } from "@lmliheng/penguin-core/model-catalog";import type {ModelOAuthCodeResponse,ModelOAuthStartResponse,@@ -49,7 +49,7 @@ import type { FetchFake } from "./fixtures/fetch.js";import { sessionRow } from "./fixtures/session.js";import { apiClient, createTestApp, provisionUser } from "./helpers.js";import type { TestApp } from "./helpers.js";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";/** The catalog group under test; the flow exists only because this entry declares it. */const TOKENDANCE = providerInfo("tokendance")!;diff --git a/packages/server/test/model-probe.test.ts b/packages/server/test/model-probe.test.tsindex 1d270b7c..12d2310d 100644--- a/packages/server/test/model-probe.test.ts+++ b/packages/server/test/model-probe.test.ts@@ -14,7 +14,7 @@ import {tokenUsage,toolCall,emptyTokenCounts,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import { isProbeContent, probeTps, probeVerdict } from "../src/services/project-config-service.js";describe("isProbeContent", () => {diff --git a/packages/server/test/models-balance.test.ts b/packages/server/test/models-balance.test.tsindex 70e900ba..c3c8d771 100644--- a/packages/server/test/models-balance.test.ts+++ b/packages/server/test/models-balance.test.ts@@ -11,7 +11,7 @@import { writeFile } from "node:fs/promises";import path from "node:path";import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";-import { MODEL_CATALOG } from "@prismshadow/penguin-core";+import { MODEL_CATALOG } from "@lmliheng/penguin-core";import type { ModelBalanceResponse, ProjectCreateResponse } from "../src/api/types.js";import {BALANCE_CACHE_MS,diff --git a/packages/server/test/models-list.test.ts b/packages/server/test/models-list.test.tsindex eae26da1..af7e23c1 100644--- a/packages/server/test/models-list.test.ts+++ b/packages/server/test/models-list.test.ts@@ -16,7 +16,7 @@ import type { EndpointModelListResponse, ProjectCreateResponse } from "../src/apimport { ProjectConfigService } from "../src/services/project-config-service.js";import { apiClient, createTestApp, provisionUser } from "./helpers.js";import type { TestApp } from "./helpers.js";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";describe("ProjectConfigService.listEndpointModels", () => {let root: string;diff --git a/packages/server/test/models.test.ts b/packages/server/test/models.test.tsindex c46715f5..eaad31f9 100644--- a/packages/server/test/models.test.ts+++ b/packages/server/test/models.test.ts@@ -42,7 +42,7 @@ import {catalogEntryFor,presetPromotions,userText,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type {ErrorBody,ModelsResponse,@@ -57,7 +57,7 @@ import { jsonResponse, stubFetch } from "./fixtures/fetch.js";import { fakeSession, sessionRow } from "./fixtures/session.js";import { apiClient, createTestApp, loginAdmin, provisionUser, waitFor } from "./helpers.js";import type { TestApp } from "./helpers.js";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";/** Preset paired refs (config primary key = (provider, model_id)): retired catalog rows are not presets. */const catalogPairs = MODEL_CATALOG.filter((m) => m.retired !== true).map(diff --git a/packages/server/test/modelscope-auth.test.ts b/packages/server/test/modelscope-auth.test.tsindex ee580b2a..652eb898 100644--- a/packages/server/test/modelscope-auth.test.ts+++ b/packages/server/test/modelscope-auth.test.ts@@ -20,7 +20,7 @@* standing in for the global fetch in the route cases.*/import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";-import { presetModelEntries } from "@prismshadow/penguin-core/model-catalog";+import { presetModelEntries } from "@lmliheng/penguin-core/model-catalog";import type {ModelScopeAuthFlowStatusResponse,ModelScopeAuthStartResponse,diff --git a/packages/server/test/org-harness.ts b/packages/server/test/org-harness.tsindex f3fdde0c..dcaa93b5 100644--- a/packages/server/test/org-harness.ts+++ b/packages/server/test/org-harness.ts@@ -4,9 +4,9 @@* pricing replaced by recording fakes and the clock under test control. Shared by the runtime* and scenario suites so both exercise the same seams the app binds in production.*/-import { saveProjectConfig } from "@prismshadow/penguin-core";-import { wire } from "@prismshadow/penguin-core/kernel";-import type { OmniMessage } from "@prismshadow/penguin-core";+import { saveProjectConfig } from "@lmliheng/penguin-core";+import { wire } from "@lmliheng/penguin-core/kernel";+import type { OmniMessage } from "@lmliheng/penguin-core";import type { ServerEvent } from "../src/api/types.js";import { openDatabase } from "../src/db/database.js";import { MembersRepo } from "../src/db/repos/members.js";diff --git a/packages/server/test/organization-runtime.test.ts b/packages/server/test/organization-runtime.test.tsindex ec170fba..1c9b48b7 100644--- a/packages/server/test/organization-runtime.test.ts+++ b/packages/server/test/organization-runtime.test.ts@@ -12,11 +12,11 @@* plugins fell behind the library back up to it.*/import fs from "node:fs/promises";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";import path from "node:path";import { beforeEach, describe, expect, it } from "vitest";-import { parseOrgTriggerMessage, saveProjectConfig } from "@prismshadow/penguin-core";-import type { OmniMessage } from "@prismshadow/penguin-core";+import { parseOrgTriggerMessage, saveProjectConfig } from "@lmliheng/penguin-core";+import type { OmniMessage } from "@lmliheng/penguin-core";import { openDatabase } from "../src/db/database.js";import { MembersRepo } from "../src/db/repos/members.js";import { OrgCacheRepo } from "../src/db/repos/organizations.js";diff --git a/packages/server/test/organization-scenario.test.ts b/packages/server/test/organization-scenario.test.tsindex 11f8d67b..fc40998f 100644--- a/packages/server/test/organization-scenario.test.ts+++ b/packages/server/test/organization-scenario.test.ts@@ -10,7 +10,7 @@import fs from "node:fs/promises";import path from "node:path";import { beforeEach, describe, expect, it } from "vitest";-import { parseOrgTriggerMessage } from "@prismshadow/penguin-core";+import { parseOrgTriggerMessage } from "@lmliheng/penguin-core";import { DEFAULT_CHANNEL_ID } from "../src/organization/paths.js";import { makeOrgHarness } from "./org-harness.js";import type { OrgHarness } from "./org-harness.js";diff --git a/packages/server/test/park-quiesce.test.ts b/packages/server/test/park-quiesce.test.tsindex 3860edee..2a79b85d 100644--- a/packages/server/test/park-quiesce.test.ts+++ b/packages/server/test/park-quiesce.test.ts@@ -7,11 +7,11 @@* terminals-only there), with fake ptys standing in for delivered resources.*/import { describe, expect, it, vi } from "vitest";-import { boot, initialDoc, upgrade } from "@prismshadow/penguin-core/kernel";-import { HotResources } from "@prismshadow/penguin-hmr";+import { boot, initialDoc, upgrade } from "@lmliheng/penguin-core/kernel";+import { HotResources } from "@lmliheng/penguin-hmr";import { packagedPlatform } from "../src/hmr/platform.js";import type { PlatformApi } from "../src/hmr/platform.js";-import type { Instance } from "@prismshadow/penguin-core/kernel";+import type { Instance } from "@lmliheng/penguin-core/kernel";import { PENGUIN_FAMILY, HMR_INTERFACES_RESOURCE_ID } from "../src/hmr/capabilities.js";import { TerminalManager } from "../src/terminal/manager.js";import type { TerminalSession } from "../src/terminal/session.js";diff --git a/packages/server/test/plugin-apply.test.ts b/packages/server/test/plugin-apply.test.tsindex 81539bc3..321925b2 100644--- a/packages/server/test/plugin-apply.test.ts+++ b/packages/server/test/plugin-apply.test.ts@@ -11,7 +11,7 @@ import { describe, expect, it } from "vitest";import { mkdtemp, mkdir, rm, writeFile } from "node:fs/promises";import { tmpdir } from "node:os";import path from "node:path";-import { HotResources } from "@prismshadow/penguin-hmr";+import { HotResources } from "@lmliheng/penguin-hmr";import { PLUGINS_RESOURCE_ID, PluginHost, pluginHostFrom } from "../src/plugin/host.js";import { writeClassPackage } from "./plugin-fixtures.js";import { loadPluginHost } from "../src/plugin/loader.js";diff --git a/packages/server/test/plugin-config.test.ts b/packages/server/test/plugin-config.test.tsindex 90373e9a..d573cf6a 100644--- a/packages/server/test/plugin-config.test.ts+++ b/packages/server/test/plugin-config.test.ts@@ -5,7 +5,7 @@* masked at the API and kept when the mask is sent back, every save handed to the watchers.*/import { afterEach, beforeEach, describe, expect, it } from "vitest";-import { parseManifest } from "@prismshadow/penguin-core/kernel";+import { parseManifest } from "@lmliheng/penguin-core/kernel";import type { PluginConfigResponse } from "../src/api/types.js";import {PluginConfigError,diff --git a/packages/server/test/plugin-registry.test.ts b/packages/server/test/plugin-registry.test.tsindex c8d24a14..45272cd6 100644--- a/packages/server/test/plugin-registry.test.ts+++ b/packages/server/test/plugin-registry.test.ts@@ -236,7 +236,7 @@ describe("the registry routes", () => {});it("requires auth, then serves a listed entry's readme from the package on this machine", async () => {- const name = "@prismshadow/penguin-plugin-sandbox-bwrap";+ const name = "@lmliheng/penguin-plugin-sandbox-bwrap";const url = `/api/plugins/registry/readme?name=${encodeURIComponent(name)}`;expect((await t.app.request(url)).status).toBe(401);diff --git a/packages/server/test/plugin.test.ts b/packages/server/test/plugin.test.tsindex a9a98975..4000b76b 100644--- a/packages/server/test/plugin.test.ts+++ b/packages/server/test/plugin.test.ts@@ -4,13 +4,13 @@* contributes lands on the same slots the built-in modules use.*/import { describe, expect, it } from "vitest";-import type { ModuleDef } from "@prismshadow/penguin-core/kernel";-import { parseManifest, boot, initialDoc } from "@prismshadow/penguin-core/kernel";-import { HotResources } from "@prismshadow/penguin-hmr";+import type { ModuleDef } from "@lmliheng/penguin-core/kernel";+import { parseManifest, boot, initialDoc } from "@lmliheng/penguin-core/kernel";+import { HotResources } from "@lmliheng/penguin-hmr";import { PluginHost, PLUGINS_RESOURCE_ID, pluginHostFrom } from "../src/plugin/host.js";import { PENGUIN_FAMILY, HMR_INTERFACES_RESOURCE_ID } from "../src/hmr/capabilities.js";import { packagedPlatform } from "../src/hmr/platform.js";-import type { SandboxProvider } from "@prismshadow/penguin-core/plugin";+import type { SandboxProvider } from "@lmliheng/penguin-core/plugin";const provider = (name: string): SandboxProvider => ({dimensions: ["fs-write"],diff --git a/packages/server/test/project-config-cache.test.ts b/packages/server/test/project-config-cache.test.tsindex 61f6d6d7..ba53eeb3 100644--- a/packages/server/test/project-config-cache.test.ts+++ b/packages/server/test/project-config-cache.test.ts@@ -11,10 +11,10 @@ import {defaultProjectConfig,projectConfigPath,renderProjectConfigToml,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import { ProjectConfigService } from "../src/services/project-config-service.js";import { makeTempRoot } from "./helpers.js";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";const P = "project-cfg";const PRICED = {diff --git a/packages/server/test/prompt-sections.test.ts b/packages/server/test/prompt-sections.test.tsindex 80ecd3a5..b6c7b6a7 100644--- a/packages/server/test/prompt-sections.test.ts+++ b/packages/server/test/prompt-sections.test.ts@@ -12,7 +12,7 @@* everywhere.*/import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";-import { LEGACY_SKILLS_SECTION, LEGACY_VAULT_SECTION } from "@prismshadow/penguin-core";+import { LEGACY_SKILLS_SECTION, LEGACY_VAULT_SECTION } from "@lmliheng/penguin-core";import type {AgentConfigResponse,AgentSchedulesConfigDto,diff --git a/packages/server/test/reset-admin-password.test.ts b/packages/server/test/reset-admin-password.test.tsindex 030e9f0c..1c0a53c1 100644--- a/packages/server/test/reset-admin-password.test.ts+++ b/packages/server/test/reset-admin-password.test.ts@@ -17,7 +17,7 @@ import { initialAdminPasswordPath } from "../src/initial-password.js";import { acquireServerLock } from "../src/lock.js";import { resetAdminPassword } from "../src/reset-admin-password.js";import { makeTempRoot } from "./helpers.js";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";describe("resetAdminPassword", () => {const roots: string[] = [];diff --git a/packages/server/test/retry-now.test.ts b/packages/server/test/retry-now.test.tsindex 81b3183a..bf98457a 100644--- a/packages/server/test/retry-now.test.ts+++ b/packages/server/test/retry-now.test.ts@@ -9,8 +9,8 @@* - A foreign or unknown Session is a 404, as on every other Session route.*/import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";-import { approvalDecision, assistantText, toolCall, userText } from "@prismshadow/penguin-core";-import type { ApproveFn, OmniMessage } from "@prismshadow/penguin-core";+import { approvalDecision, assistantText, toolCall, userText } from "@lmliheng/penguin-core";+import type { ApproveFn, OmniMessage } from "@lmliheng/penguin-core";import type { RetryNowResponse } from "../src/api/types.js";import { adoptSession, fakeSession, uniqueSessionId } from "./fixtures/session.js";import { apiClient, createTestApp, provisionUser, waitFor } from "./helpers.js";diff --git a/packages/server/test/sandbox-settings.test.ts b/packages/server/test/sandbox-settings.test.tsindex 89c79ab0..b7bfe54c 100644--- a/packages/server/test/sandbox-settings.test.ts+++ b/packages/server/test/sandbox-settings.test.ts@@ -8,9 +8,9 @@ import fs from "node:fs/promises";import os from "node:os";import path from "node:path";import { afterEach, describe, expect, it } from "vitest";-import { parseManifest } from "@prismshadow/penguin-core/kernel";-import type { ModuleDef } from "@prismshadow/penguin-core/kernel";-import type { SandboxPolicy } from "@prismshadow/penguin-core/plugin";+import { parseManifest } from "@lmliheng/penguin-core/kernel";+import type { ModuleDef } from "@lmliheng/penguin-core/kernel";+import type { SandboxPolicy } from "@lmliheng/penguin-core/plugin";import type { PluginConfigResponse } from "../src/api/types.js";import type { PluginConfig } from "../src/plugin/config.js";import { PluginHost } from "../src/plugin/host.js";@@ -30,7 +30,7 @@ function backend(seen: Seen[]): ModuleDef {manifest: parseManifest({name: "TestBackend",requires: {- config: { iface: "@prismshadow/penguin-server#PluginConfig", from: "PluginConfigModule" },+ config: { iface: "@lmliheng/penguin-server#PluginConfig", from: "PluginConfigModule" },},provides: {},contributes: {@@ -261,7 +261,7 @@ describe("sandbox settings group", () => {name: "ProbedBackend",requires: {config: {- iface: "@prismshadow/penguin-server#PluginConfig",+ iface: "@lmliheng/penguin-server#PluginConfig",from: "PluginConfigModule",},},diff --git a/packages/server/test/sandbox.test.ts b/packages/server/test/sandbox.test.tsindex 5ffa6c2a..35eeca73 100644--- a/packages/server/test/sandbox.test.ts+++ b/packages/server/test/sandbox.test.ts@@ -4,9 +4,9 @@* settings' ride on the parked platform context.*/import { describe, expect, it, vi } from "vitest";-import { boot, initialDoc, parseManifest } from "@prismshadow/penguin-core/kernel";-import type { Json } from "@prismshadow/penguin-core/kernel";-import { HotResources } from "@prismshadow/penguin-hmr";+import { boot, initialDoc, parseManifest } from "@lmliheng/penguin-core/kernel";+import type { Json } from "@lmliheng/penguin-core/kernel";+import { HotResources } from "@lmliheng/penguin-hmr";import { PENGUIN_FAMILY, HMR_INTERFACES_RESOURCE_ID } from "../src/hmr/capabilities.js";import { packagedPlatform } from "../src/hmr/platform.js";import { PluginHost, PLUGINS_RESOURCE_ID } from "../src/plugin/host.js";@@ -16,7 +16,7 @@ import type {SandboxPolicy,SandboxProvider,SandboxProviderSource,-} from "@prismshadow/penguin-core/plugin";+} from "@lmliheng/penguin-core/plugin";const ARGV = ["bash", "-lc", "echo hi"] as const;const OPTS = { cwd: "/work/project/sub", workspaceDir: "/work/project" };@@ -310,7 +310,7 @@ describe("sandbox settings ride the parked context across a swap", () => {manifest: parseManifest({name: "observer",requires: {- sandbox: { iface: "@prismshadow/penguin-server#Sandbox", from: "SandboxModule" },+ sandbox: { iface: "@lmliheng/penguin-server#Sandbox", from: "SandboxModule" },},provides: {},contributes: {},diff --git a/packages/server/test/scheduler.test.ts b/packages/server/test/scheduler.test.tsindex c7c5e49a..8fe15e02 100644--- a/packages/server/test/scheduler.test.ts+++ b/packages/server/test/scheduler.test.ts@@ -15,7 +15,7 @@ import {projectConfigPath,saveProjectConfig,scheduleDir,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import { openDatabase } from "../src/db/database.js";import { ProjectsRepo } from "../src/db/repos/projects.js";import { SchedulesRepo } from "../src/db/repos/schedules.js";@@ -23,12 +23,12 @@ import { SessionsRepo } from "../src/db/repos/sessions.js";import { UsersRepo } from "../src/db/repos/users.js";import type { ErrorRecordArgs } from "../src/runtime/error-recorder.js";import type { ScheduleSessionCreator, ScheduleTaskRunner } from "../src/runtime/scheduler.js";-import type { OmniMessage } from "@prismshadow/penguin-core";+import type { OmniMessage } from "@lmliheng/penguin-core";import { Scheduler } from "../src/runtime/scheduler.js";import { ProjectConfigService } from "../src/services/project-config-service.js";import type { ScheduleServerEvent } from "../src/api/types.js";import { makeTempRoot } from "./helpers.js";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";const P = "p1";const A = "agent_x";diff --git a/packages/server/test/schedules.test.ts b/packages/server/test/schedules.test.tsindex 90f9d789..8d9f88bf 100644--- a/packages/server/test/schedules.test.ts+++ b/packages/server/test/schedules.test.ts@@ -7,7 +7,7 @@import fs from "node:fs/promises";import path from "node:path";import { afterEach, beforeEach, describe, expect, it } from "vitest";-import { scheduleDir } from "@prismshadow/penguin-core";+import { scheduleDir } from "@lmliheng/penguin-core";import type {ProjectCreateResponse,ProjectSchedulesResponse,diff --git a/packages/server/test/session-background-tasks.test.ts b/packages/server/test/session-background-tasks.test.tsindex e7524057..ee146366 100644--- a/packages/server/test/session-background-tasks.test.ts+++ b/packages/server/test/session-background-tasks.test.ts@@ -12,7 +12,7 @@* `session_state` does: never a stranger's live channel.*/import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";-import type { BackgroundCommandInfo, BackgroundSubagentInfo } from "@prismshadow/penguin-core";+import type { BackgroundCommandInfo, BackgroundSubagentInfo } from "@lmliheng/penguin-core";import type { ServerEvent, SessionResponse, SessionsResponse } from "../src/api/types.js";import { userChannelKey } from "../src/http/routes/events.js";import type { RuntimeSession } from "../src/runtime/session-manager.js";diff --git a/packages/server/test/session-delete-scratchpad.test.ts b/packages/server/test/session-delete-scratchpad.test.tsindex 0bbdc166..cd3609f8 100644--- a/packages/server/test/session-delete-scratchpad.test.ts+++ b/packages/server/test/session-delete-scratchpad.test.ts@@ -12,7 +12,7 @@import fs from "node:fs/promises";import path from "node:path";import { afterAll, beforeAll, describe, expect, it } from "vitest";-import { scratchpadDir } from "@prismshadow/penguin-core";+import { scratchpadDir } from "@lmliheng/penguin-core";import type { ProjectCreateResponse, SessionCreateResponse } from "../src/api/types.js";import { apiClient, createTestApp, provisionUser } from "./helpers.js";import type { TestApp } from "./helpers.js";diff --git a/packages/server/test/session-fork.test.ts b/packages/server/test/session-fork.test.tsindex 4153e262..b17b6d32 100644--- a/packages/server/test/session-fork.test.ts+++ b/packages/server/test/session-fork.test.ts@@ -30,8 +30,8 @@ import {tokenUsage,tracesDir,userText,-} from "@prismshadow/penguin-core";-import type { OmniMessage, SessionMetaPayload, TokenCounts } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";+import type { OmniMessage, SessionMetaPayload, TokenCounts } from "@lmliheng/penguin-core";import type {MessagesResponse,ProjectCreateResponse,diff --git a/packages/server/test/session-index.test.ts b/packages/server/test/session-index.test.tsindex b9d0b1f1..bd2d03e9 100644--- a/packages/server/test/session-index.test.ts+++ b/packages/server/test/session-index.test.ts@@ -28,8 +28,8 @@import fs from "node:fs/promises";import path from "node:path";import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";-import { sessionMeta, userText } from "@prismshadow/penguin-core";-import type { OmniMessage, SessionMetaPayload } from "@prismshadow/penguin-core";+import { sessionMeta, userText } from "@lmliheng/penguin-core";+import type { OmniMessage, SessionMetaPayload } from "@lmliheng/penguin-core";import type {ProjectCreateResponse,SessionCreateResponse,diff --git a/packages/server/test/session-loader.test.ts b/packages/server/test/session-loader.test.tsindex d44b0abd..5c80ad15 100644--- a/packages/server/test/session-loader.test.ts+++ b/packages/server/test/session-loader.test.ts@@ -7,8 +7,8 @@import fs from "node:fs/promises";import path from "node:path";import { afterEach, beforeEach, describe, expect, it } from "vitest";-import { createAgent, saveProjectConfig, sessionMeta, userText } from "@prismshadow/penguin-core";-import type { SessionMetaPayload } from "@prismshadow/penguin-core";+import { createAgent, saveProjectConfig, sessionMeta, userText } from "@lmliheng/penguin-core";+import type { SessionMetaPayload } from "@lmliheng/penguin-core";import { createCoreSessionLoader } from "../src/runtime/session-manager.js";import { SessionSources } from "../src/runtime/session-sources.js";import type { SessionRow } from "../src/db/repos/sessions.js";diff --git a/packages/server/test/session-manager-human-input.test.ts b/packages/server/test/session-manager-human-input.test.tsindex 4ed6fb80..dcc52486 100644--- a/packages/server/test/session-manager-human-input.test.ts+++ b/packages/server/test/session-manager-human-input.test.ts@@ -1,5 +1,5 @@import { describe, expect, it } from "vitest";-import { userText } from "@prismshadow/penguin-core";+import { userText } from "@lmliheng/penguin-core";import { isHumanInput } from "../src/runtime/session-manager.js";describe("isHumanInput", () => {diff --git a/packages/server/test/session-manager.test.ts b/packages/server/test/session-manager.test.tsindex 4bdfb450..8fc8dd9c 100644--- a/packages/server/test/session-manager.test.ts+++ b/packages/server/test/session-manager.test.ts@@ -63,7 +63,7 @@ import {userSteeringText,userText,withOrigin,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type {ApproveFn,GenerativeModelParameters,@@ -71,7 +71,7 @@ import type {LLMOutcome,OmniMessage,TextPayload,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type { ServerEvent } from "../src/api/types.js";import { openDatabase } from "../src/db/database.js";import { HttpError } from "../src/http/errors.js";@@ -87,7 +87,7 @@ import type { TitleRequest } from "../src/runtime/title-generator.js";import type { UsageContext } from "../src/runtime/usage-recorder.js";import { fakeSession } from "./fixtures/session.js";import { waitFor } from "./helpers.js";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";const ROW: SessionRow = {sessionId: "session-1",diff --git a/packages/server/test/session-processes.test.ts b/packages/server/test/session-processes.test.tsindex 06b66abf..8a5e1129 100644--- a/packages/server/test/session-processes.test.ts+++ b/packages/server/test/session-processes.test.ts@@ -12,7 +12,7 @@* - Foreign and unknown Sessions are 404s, as on every Session route.*/import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";-import type { BackgroundCommandInfo, ToolDetachResult } from "@prismshadow/penguin-core";+import type { BackgroundCommandInfo, ToolDetachResult } from "@lmliheng/penguin-core";import type { SessionProcessesResponse } from "../src/api/types.js";import type { RuntimeSession } from "../src/runtime/session-manager.js";import { adoptSession, fakeSession, sessionRow, uniqueSessionId } from "./fixtures/session.js";diff --git a/packages/server/test/session-sandbox.test.ts b/packages/server/test/session-sandbox.test.tsindex 62b135c3..923a58a5 100644--- a/packages/server/test/session-sandbox.test.ts+++ b/packages/server/test/session-sandbox.test.ts@@ -4,8 +4,8 @@* not reach a Session that already exists.*/import { describe, expect, it } from "vitest";-import { wire } from "@prismshadow/penguin-core/kernel";-import type { SandboxProvider, SandboxSettings } from "@prismshadow/penguin-core/plugin";+import { wire } from "@lmliheng/penguin-core/kernel";+import type { SandboxProvider, SandboxSettings } from "@lmliheng/penguin-core/plugin";import { openDatabase } from "../src/db/database.js";import { migrate } from "../src/db/migrations.js";import { SCHEMA_SQL } from "../src/db/schema.js";diff --git a/packages/server/test/session-state-events.test.ts b/packages/server/test/session-state-events.test.tsindex f952b6c4..4a0e756c 100644--- a/packages/server/test/session-state-events.test.ts+++ b/packages/server/test/session-state-events.test.ts@@ -14,7 +14,7 @@* - A member removed from the Project stops hearing about its Sessions.*/import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";-import { assistantText } from "@prismshadow/penguin-core";+import { assistantText } from "@lmliheng/penguin-core";import type { ServerEvent } from "../src/api/types.js";import { userChannelKey } from "../src/http/routes/events.js";import { adoptSession, fakeSession, uniqueSessionId } from "./fixtures/session.js";diff --git a/packages/server/test/session-subagents.test.ts b/packages/server/test/session-subagents.test.tsindex 489b1f56..3419e714 100644--- a/packages/server/test/session-subagents.test.ts+++ b/packages/server/test/session-subagents.test.ts@@ -11,13 +11,13 @@* - Foreign and unknown Sessions are 404s, as on every Session route.*/import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";-import { toolCall, withOrigin } from "@prismshadow/penguin-core";+import { toolCall, withOrigin } from "@lmliheng/penguin-core";import type {BackgroundSubagentInfo,OmniMessage,SubagentMessageOptions,SubagentMessageOutcome,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import { ApprovalRegistry } from "../src/runtime/approvals.js";import type { ServerEvent, SubagentMessageResponse } from "../src/api/types.js";import type { RuntimeSession } from "../src/runtime/session-manager.js";diff --git a/packages/server/test/session-switch-model.test.ts b/packages/server/test/session-switch-model.test.tsindex 3777379e..17e3b373 100644--- a/packages/server/test/session-switch-model.test.ts+++ b/packages/server/test/session-switch-model.test.ts@@ -26,8 +26,8 @@ import {sessionMeta,tokenUsage,toolListReady,-} from "@prismshadow/penguin-core";-import type { OmniMessage, StopReason, TokenCounts } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";+import type { OmniMessage, StopReason, TokenCounts } from "@lmliheng/penguin-core";import type {ModelRefDto,ServerEvent,diff --git a/packages/server/test/skills.test.ts b/packages/server/test/skills.test.tsindex 2a1ee9b7..da4d5187 100644--- a/packages/server/test/skills.test.ts+++ b/packages/server/test/skills.test.ts@@ -25,7 +25,7 @@ import fs from "node:fs/promises";import path from "node:path";import { strToU8, unzipSync, zipSync } from "fflate";import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it } from "vitest";-import { skillsDir, librarySkill, loadPreinstalledPlugins } from "@prismshadow/penguin-core";+import { skillsDir, librarySkill, loadPreinstalledPlugins } from "@lmliheng/penguin-core";import type {AgentCreateResponse,AgentsResponse,diff --git a/packages/server/test/sse-stream.test.ts b/packages/server/test/sse-stream.test.tsindex fe0eb16a..1015c783 100644--- a/packages/server/test/sse-stream.test.ts+++ b/packages/server/test/sse-stream.test.ts@@ -9,8 +9,8 @@* old session cannot reopen one.*/import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";-import { approvalDecision, assistantText, toolCall, userText } from "@prismshadow/penguin-core";-import type { ApproveFn, OmniMessage } from "@prismshadow/penguin-core";+import { approvalDecision, assistantText, toolCall, userText } from "@lmliheng/penguin-core";+import type { ApproveFn, OmniMessage } from "@lmliheng/penguin-core";import type { SessionRow } from "../src/db/repos/sessions.js";import type { RuntimeSession } from "../src/runtime/session-manager.js";import { fakeSession, sessionRow, uniqueSessionId } from "./fixtures/session.js";diff --git a/packages/server/test/steer.test.ts b/packages/server/test/steer.test.tsindex a15c1004..0f5d51da 100644--- a/packages/server/test/steer.test.ts+++ b/packages/server/test/steer.test.ts@@ -24,8 +24,8 @@ import {toolCall,userSteeringText,userText,-} from "@prismshadow/penguin-core";-import type { ApproveFn, OmniMessage } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";+import type { ApproveFn, OmniMessage } from "@lmliheng/penguin-core";import type { RuntimeSession } from "../src/runtime/session-manager.js";import { adoptSession, fakeSession, uniqueSessionId } from "./fixtures/session.js";import { apiClient, createTestApp, provisionUser, waitFor } from "./helpers.js";diff --git a/packages/server/test/suggest-id-routes.test.ts b/packages/server/test/suggest-id-routes.test.tsindex ac5c00b9..f4d7f8cb 100644--- a/packages/server/test/suggest-id-routes.test.ts+++ b/packages/server/test/suggest-id-routes.test.ts@@ -11,7 +11,7 @@import fs from "node:fs/promises";import path from "node:path";import { afterEach, beforeEach, describe, expect, it } from "vitest";-import { agentsDir, benchmarksDir } from "@prismshadow/penguin-core";+import { agentsDir, benchmarksDir } from "@lmliheng/penguin-core";import type {AgentsResponse,BenchmarkCreateRequest,diff --git a/packages/server/test/task-attachments.test.ts b/packages/server/test/task-attachments.test.tsindex 6d39eccf..a9df2326 100644--- a/packages/server/test/task-attachments.test.ts+++ b/packages/server/test/task-attachments.test.ts@@ -25,8 +25,8 @@ import {modelVisiblePath,parseHandoffMessage,scratchpadDir,-} from "@prismshadow/penguin-core";-import type { OmniMessage } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";+import type { OmniMessage } from "@lmliheng/penguin-core";import type { SessionRow } from "../src/db/repos/sessions.js";import type { RuntimeSession } from "../src/runtime/session-manager.js";import { MAX_ATTACHMENT_COUNT } from "../src/services/attachment-limits.js";diff --git a/packages/server/test/title-generator.test.ts b/packages/server/test/title-generator.test.tsindex 4b7887b2..fbebae17 100644--- a/packages/server/test/title-generator.test.ts+++ b/packages/server/test/title-generator.test.ts@@ -11,7 +11,7 @@*/import { describe, it, expect, beforeEach, afterEach } from "vitest";import type { DatabaseSync } from "node:sqlite";-import type { OmniMessage, SessionTitleResult } from "@prismshadow/penguin-core";+import type { OmniMessage, SessionTitleResult } from "@lmliheng/penguin-core";import { openDatabase } from "../src/db/database.js";import { SessionsRepo } from "../src/db/repos/sessions.js";import type { SessionRow } from "../src/db/repos/sessions.js";@@ -20,7 +20,7 @@ import type { ChannelEvent } from "../src/runtime/channel.js";import { TitleGenerator, fallbackTitle } from "../src/runtime/title-generator.js";import type { UsageContext } from "../src/runtime/usage-recorder.js";import { waitFor } from "./helpers.js";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";const ROW: SessionRow = {sessionId: "session-t1",diff --git a/packages/server/test/trace-import-export.test.ts b/packages/server/test/trace-import-export.test.tsindex 23bda1ae..e92f64c7 100644--- a/packages/server/test/trace-import-export.test.ts+++ b/packages/server/test/trace-import-export.test.ts@@ -8,7 +8,7 @@* endpoints. Import is owner-only, mirroring the Agent snapshot import.*/import { afterEach, beforeEach, describe, expect, it } from "vitest";-import type { OmniMessage, SessionMetaPayload } from "@prismshadow/penguin-core";+import type { OmniMessage, SessionMetaPayload } from "@lmliheng/penguin-core";import type {AgentTracesResponse,ProjectCreateResponse,diff --git a/packages/server/test/trace-index.test.ts b/packages/server/test/trace-index.test.tsindex 9fe2578d..69a85903 100644--- a/packages/server/test/trace-index.test.ts+++ b/packages/server/test/trace-index.test.ts@@ -6,8 +6,8 @@import fs from "node:fs/promises";import path from "node:path";import { afterEach, beforeEach, describe, expect, it } from "vitest";-import { sessionMeta, userText } from "@prismshadow/penguin-core";-import type { SessionMetaPayload } from "@prismshadow/penguin-core";+import { sessionMeta, userText } from "@lmliheng/penguin-core";+import type { SessionMetaPayload } from "@lmliheng/penguin-core";import { makeTempRoot, makeTraceHarness, writeTraceFile } from "./helpers.js";const P = "project-i";diff --git a/packages/server/test/trace-service.test.ts b/packages/server/test/trace-service.test.tsindex 928cc9d7..99826bfd 100644--- a/packages/server/test/trace-service.test.ts+++ b/packages/server/test/trace-service.test.ts@@ -24,13 +24,13 @@ import {toolCallOutput,userText,withOrigin,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";import type {OmniMessage,SessionMetaPayload,TokenCounts,StopReason,-} from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";// Traces written before the stop-reason convergence carry the retired spellings; analysis// must keep reading them, so these fixtures write them through a cast.@@ -38,7 +38,7 @@ const legacyEnd = (status: string) => requestEnd(status as StopReason);import type { TraceService } from "../src/services/trace-service.js";import type { SessionRow } from "../src/db/repos/sessions.js";import { openDatabase } from "../src/db/database.js";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";import { ErrorsRepo } from "../src/db/repos/errors.js";import { UsageRepo } from "../src/db/repos/usage.js";import { SessionSources } from "../src/runtime/session-sources.js";diff --git a/packages/server/test/trace-subagent-expand.test.ts b/packages/server/test/trace-subagent-expand.test.tsindex a5607e54..b885528f 100644--- a/packages/server/test/trace-subagent-expand.test.ts+++ b/packages/server/test/trace-subagent-expand.test.ts@@ -20,8 +20,8 @@ import {toolCall,toolCallOutput,userText,-} from "@prismshadow/penguin-core";-import type { OmniMessage, SessionMetaPayload } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";+import type { OmniMessage, SessionMetaPayload } from "@lmliheng/penguin-core";import type { TraceService } from "../src/services/trace-service.js";import { makeTraceHarness } from "./helpers.js";diff --git a/packages/server/test/update-job.test.ts b/packages/server/test/update-job.test.tsindex 71ff810a..75e97173 100644--- a/packages/server/test/update-job.test.ts+++ b/packages/server/test/update-job.test.ts@@ -15,7 +15,7 @@* latest version" included — as updated with a restart needed.*/import { describe, expect, it } from "vitest";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";import {INITIAL_PROGRESS,UpdateJobService,@@ -188,7 +188,7 @@ describe("classifyUpdateRun", () => {for (const refusal of ["This penguin runs from a source checkout, so there is nothing to download — update it with `git pull` and rebuild (`pnpm install && pnpm -r build`).","Cannot tell how this penguin was installed (running from /opt/penguin/cli.js), so it will not be replaced. Re-install with the official installer, or upgrade with the package manager you used.",- "This is a global install under /usr/lib/node_modules, but the package manager that owns it could not be identified. Upgrade it yourself with that manager, e.g. `npm install -g @prismshadow/[email protected]`.",+ "This is a global install under /usr/lib/node_modules, but the package manager that owns it could not be identified. Upgrade it yourself with that manager, e.g. `npm install -g @lmliheng/[email protected]`.","The official installer is a POSIX shell script and does not run on Windows. Re-install from the GitHub Releases page, or use a global npm install instead.","On Windows, penguin cannot run your package manager for you: Node will not execute an npm/pnpm/yarn `.cmd` shim without a shell.",]) {diff --git a/packages/server/test/usage.test.ts b/packages/server/test/usage.test.tsindex cdda58c0..471508f8 100644--- a/packages/server/test/usage.test.ts+++ b/packages/server/test/usage.test.ts@@ -27,8 +27,8 @@* covered through its route in errors.test.ts).*/import { afterEach, beforeEach, describe, expect, it } from "vitest";-import { sessionMeta, tokenUsage, withOrigin } from "@prismshadow/penguin-core";-import type { SessionMetaPayload, TokenCounts } from "@prismshadow/penguin-core";+import { sessionMeta, tokenUsage, withOrigin } from "@lmliheng/penguin-core";+import type { SessionMetaPayload, TokenCounts } from "@lmliheng/penguin-core";import { ORIGIN_MODELS_MAX, UsageRecorder } from "../src/runtime/usage-recorder.js";import { ErrorsRepo } from "../src/db/repos/errors.js";import { UsageRepo } from "../src/db/repos/usage.js";@@ -37,7 +37,7 @@ import type { PricingRates } from "../src/services/usage-service.js";import { openDatabase } from "../src/db/database.js";import { enumerateBuckets, enumerateTsBuckets, formatLocalDate } from "../src/internal/dates.js";import type { DatabaseSync } from "node:sqlite";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";const CTX = {projectId: "project-x",diff --git a/packages/server/test/utility-completion.test.ts b/packages/server/test/utility-completion.test.tsindex 19f6f724..d087c247 100644--- a/packages/server/test/utility-completion.test.ts+++ b/packages/server/test/utility-completion.test.ts@@ -6,7 +6,7 @@* dead end is checked for carrying its reason rather than a bare "no answer".*/import fs from "node:fs/promises";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";import { describe, expect, it } from "vitest";import {assistantText,@@ -17,8 +17,8 @@ import {thinkingMessage,tokenUsage,emptyTokenCounts,-} from "@prismshadow/penguin-core";-import type { LLMOutcome, OmniMessage } from "@prismshadow/penguin-core";+} from "@lmliheng/penguin-core";+import type { LLMOutcome, OmniMessage } from "@lmliheng/penguin-core";import {ProjectConfigService,collectUtilityCompletion,diff --git a/packages/server/test/vault.test.ts b/packages/server/test/vault.test.tsindex cbde707c..cdad509d 100644--- a/packages/server/test/vault.test.ts+++ b/packages/server/test/vault.test.ts@@ -13,7 +13,7 @@* - Malformed keys, values and bodies are 400s.*/import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";-import { userText } from "@prismshadow/penguin-core";+import { userText } from "@lmliheng/penguin-core";import type { ProjectCreateResponse, VaultResponse } from "../src/api/types.js";import { fakeSession, sessionRow, uniqueSessionId } from "./fixtures/session.js";import { apiClient, createTestApp, provisionUser, waitFor } from "./helpers.js";diff --git a/packages/server/test/version.test.ts b/packages/server/test/version.test.tsindex fa222889..92cc7722 100644--- a/packages/server/test/version.test.ts+++ b/packages/server/test/version.test.ts@@ -20,7 +20,7 @@import { afterEach, beforeEach, describe, expect, it } from "vitest";import fs from "node:fs/promises";import path from "node:path";-import { VERSION } from "@prismshadow/penguin-core";+import { VERSION } from "@lmliheng/penguin-core";import { versionReport } from "../src/version-report.js";import type {RestartResponse,@@ -38,7 +38,7 @@ import { fakeFetch } from "./fixtures/fetch.js";import type { FetchScript } from "./fixtures/fetch.js";import { apiClient, createTestApp, loginAdmin, provisionUser } from "./helpers.js";import type { TestApp } from "./helpers.js";-import { wire } from "@prismshadow/penguin-core/kernel";+import { wire } from "@lmliheng/penguin-core/kernel";function releaseResponse(tag: string): Response {return new Response(diff --git a/packages/server/test/vision-detect.test.ts b/packages/server/test/vision-detect.test.tsindex 03eed9bc..a3608626 100644--- a/packages/server/test/vision-detect.test.ts+++ b/packages/server/test/vision-detect.test.ts@@ -8,7 +8,7 @@* Getting that backwards would silently disable vision on a working model.*/import { describe, expect, it } from "vitest";-import type { LLMOutcome } from "@prismshadow/penguin-core";+import type { LLMOutcome } from "@lmliheng/penguin-core";import {VISION_PROBE_IMAGE,VISION_PROBE_MAX_TOKENS,diff --git a/packages/server/test/workflows.test.ts b/packages/server/test/workflows.test.tsindex 3b011d2c..d8418f77 100644--- a/packages/server/test/workflows.test.ts+++ b/packages/server/test/workflows.test.ts@@ -33,8 +33,8 @@import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";import fs from "node:fs/promises";import path from "node:path";-import { agentDir } from "@prismshadow/penguin-core";-import type { IfaceTable } from "@prismshadow/penguin-core/kernel";+import { agentDir } from "@lmliheng/penguin-core";+import type { IfaceTable } from "@lmliheng/penguin-core/kernel";import type { WorkflowInfo, WorkflowVersion } from "../src/api/types.js";import { apiClient, createTestApp, provisionUser } from "./helpers.js";import type { TestApp } from "./helpers.js";@@ -42,8 +42,8 @@ import type { TestApp } from "./helpers.js";const PROJECT = "owner-wf";const AGENT = "default_agent";const BASE = `/api/projects/${PROJECT}/agents/${AGENT}/workflows`;-const HOST_KEY = "@prismshadow/penguin-server#WorkflowHost";-const MAIN_KEY = "@prismshadow/penguin-server#WorkflowMain";+const HOST_KEY = "@lmliheng/penguin-server#WorkflowHost";+const MAIN_KEY = "@lmliheng/penguin-server#WorkflowMain";const TAB = {id: "demo.board",@@ -72,7 +72,7 @@ function packageJson(modules: unknown[] = [MANIFEST], extra: Record<string, unkn}function indexSource(greeting: string): string {- return `import type { WorkflowPackage } from "@prismshadow/penguin-server/plugin";+ return `import type { WorkflowPackage } from "@lmliheng/penguin-server/plugin";export default {modules: {@@ -506,7 +506,7 @@ describe("editing a workflow", { timeout: 30_000 }, () => {packageJson([{...MANIFEST,- requires: { host: { iface: "@prismshadow/penguin-server#Workflows", from: "Host" } },+ requires: { host: { iface: "@lmliheng/penguin-server#Workflows", from: "Host" } },},]),);@@ -514,7 +514,7 @@ describe("editing a workflow", { timeout: 30_000 }, () => {const broken = ((await res.json()) as { workflow: WorkflowInfo }).workflow;// Named before anything runs: the host gave this workflow no types for that interface.expect(broken.error).toContain(- "requires.host '@prismshadow/penguin-server#Workflows': not among the types this workflow was written against",+ "requires.host '@lmliheng/penguin-server#Workflows': not among the types this workflow was written against",);expect(await (await owner.get(`${base}/demo/api/`)).json()).toMatchObject({greeting: "hello",diff --git a/packages/server/tsup.config.ts b/packages/server/tsup.config.tsindex 611f3ec1..46ebf673 100644--- a/packages/server/tsup.config.ts+++ b/packages/server/tsup.config.ts@@ -43,7 +43,7 @@ export default defineConfig({sourcemap: true,// The hot-update mechanism is a package for the boundary, not for npm (it is `private`):// inlined here so this package's published dist stays self-contained.- noExternal: ["@prismshadow/penguin-hmr"],+ noExternal: ["@lmliheng/penguin-hmr"],// Scripts that run somewhere else, as REAL files beside the bundles: the release installers// a remote install feeds to the far side (the one thing that has to arrive before the CLI// does; everything after is a `penguin` subcommand the machine already has). Each isdiff --git a/packages/ui-gallery/package.json b/packages/ui-gallery/package.jsonindex 61d6fcad..32c6a453 100644--- a/packages/ui-gallery/package.json+++ b/packages/ui-gallery/package.json@@ -1,5 +1,5 @@{- "name": "@prismshadow/penguin-ui-gallery",+ "name": "@lmliheng/penguin-ui-gallery","version": "0.2.13","private": true,"type": "module",@@ -13,14 +13,14 @@"shots": "node scripts/shots.mjs"},"dependencies": {- "@prismshadow/penguin-ui": "workspace:*",+ "@lmliheng/penguin-ui": "workspace:*","react": "^19.1.0","react-dom": "^19.1.0"},"devDependencies": {"@playwright/test": "^1.61.1",- "@prismshadow/penguin-core": "workspace:*",- "@prismshadow/penguin-web": "workspace:*",+ "@lmliheng/penguin-core": "workspace:*",+ "@lmliheng/penguin-web": "workspace:*","@tailwindcss/vite": "^4.1.0","@types/node": "^24.0.0","@types/react": "^19.1.0",diff --git a/packages/ui-gallery/src/app/mock/fixtures.ts b/packages/ui-gallery/src/app/mock/fixtures.tsindex ca7a03b1..f326e47f 100644--- a/packages/ui-gallery/src/app/mock/fixtures.ts+++ b/packages/ui-gallery/src/app/mock/fixtures.ts@@ -41,7 +41,7 @@ import type {VaultResponse,VersionResponse,WorkspaceFileEntry,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";// The built-in catalog, as the app reads it (the same built module the app imports): the model// table is every preset it seeds a Project with, so the app's "sync presets" badge stays quiet.import {diff --git a/packages/ui-gallery/src/app/mock/routes.ts b/packages/ui-gallery/src/app/mock/routes.tsindex 1d0353a2..84673944 100644--- a/packages/ui-gallery/src/app/mock/routes.ts+++ b/packages/ui-gallery/src/app/mock/routes.ts@@ -37,6 +37,7 @@ import type {DesktopUpdateStatusResponse,DirectorySkillsResponse,DirCreateResponse,+ DirDeleteResponse,DirListResponse,EndpointModelListResponse,FilesStatResponse,@@ -112,7 +113,7 @@ import type {WorkflowInfo,WorkspaceFilesResponse,WorkspaceSearchResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";// The catalog decides which groups publish a balance, as it does on the server.import { providerInfo } from "../../../../core/dist/state/model-catalog.js";import { READ_ONLY } from "./errors";@@ -748,7 +749,7 @@ routerconst page = Number.isFinite(limit) && limit > 0 ? rows.slice(offset, offset + limit) : rows;const response: { sessions: SessionInfo[] } & Partial<Pick<- import("@prismshadow/penguin-server/api").SessionsResponse,+ import("@lmliheng/penguin-server/api").SessionsResponse,"counts" | "workspaceCounts" | "workspaceLatest">> = { sessions: page };@@ -793,6 +794,26 @@ routerstore.f.dirs[path] = { path, parent, entries: [] };return json({ path } satisfies DirCreateResponse, 201);})+ // The picker's "Delete", the pair of the one above: the demo's little filesystem drops the+ // folder it just created, so the parent the picker reloads no longer lists it. Only an empty+ // folder goes — the server refuses anything else and never deletes a tree — and only this+ // server's own filesystem, which is what the machine-scoped listing's absence says.+ .delete("/api/projects/:projectId/dirs", ({ store, body }): unknown => {+ const input = record(body);+ const target = typeof input.path === "string" ? input.path : "";+ const listing = store.f.dirs[target];+ if (listing === undefined) fail(404, "dir_not_found", `Directory does not exist: ${target}.`);+ if (listing.entries.length > 0) {+ fail(409, "dir_not_empty", `Directory is not empty: ${target}.`);+ }+ delete store.f.dirs[target];+ // The parent listing, when the demo's filesystem holds one: a root has none.+ const parent = listing.parent === null ? undefined : store.f.dirs[listing.parent];+ if (parent !== undefined) {+ parent.entries = parent.entries.filter((entry) => entry.path !== target);+ }+ return { path: target } satisfies DirDeleteResponse;+ })// Only the desktop app's own window may ask macOS for a folder, and the gallery is not one..post("/api/projects/:projectId/dirs/access", () =>fail(diff --git a/packages/ui-gallery/src/app/mock/store.ts b/packages/ui-gallery/src/app/mock/store.tsindex d951b800..a9ac3d5c 100644--- a/packages/ui-gallery/src/app/mock/store.ts+++ b/packages/ui-gallery/src/app/mock/store.ts@@ -8,7 +8,7 @@* One store per document (a frame is a document), created on first use for the frame's* language, and re-creatable for tests. Nothing here touches the DOM.*/-import type { ServerEvent, SessionInfo } from "@prismshadow/penguin-server/api";+import type { ServerEvent, SessionInfo } from "@lmliheng/penguin-server/api";import { buildFixtures, DEFAULT_MODEL } from "./fixtures";import type { DemoFixtures } from "./fixtures";import { IDS } from "./ids";diff --git a/packages/ui-gallery/src/app/mock/types.ts b/packages/ui-gallery/src/app/mock/types.tsindex 67d0f0e8..17a291d9 100644--- a/packages/ui-gallery/src/app/mock/types.ts+++ b/packages/ui-gallery/src/app/mock/types.ts@@ -3,7 +3,7 @@* than imported from core: the gallery does not depend on the core package, and the contract* already carries every shape the app reads off the wire, so deriving keeps one source.*/-import type { MessagesLiveTail, ServerEvent } from "@prismshadow/penguin-server/api";+import type { MessagesLiveTail, ServerEvent } from "@lmliheng/penguin-server/api";export type OmniMessage = MessagesLiveTail["fragments"][number];export type OmniPayload = OmniMessage["payload"];diff --git a/packages/ui-gallery/src/chrome/app-frame.tsx b/packages/ui-gallery/src/chrome/app-frame.tsxindex ec13cee5..14be18f1 100644--- a/packages/ui-gallery/src/chrome/app-frame.tsx+++ b/packages/ui-gallery/src/chrome/app-frame.tsx@@ -10,7 +10,7 @@* the fonts it is actually set in, for the readout in the top bar's popover and, when the page* asks, its own font line.*/-import type { ThemeId } from "@prismshadow/penguin-ui";+import type { ThemeId } from "@lmliheng/penguin-ui";import { useEffect, useRef, useState } from "react";import { APP_FRAME, appFrameSrc, PHONE_FRAME } from "../app/frame";import type { FontReadout } from "../app/fonts";diff --git a/packages/ui-gallery/src/chrome/topbar.tsx b/packages/ui-gallery/src/chrome/topbar.tsxindex f2fcb438..052493b0 100644--- a/packages/ui-gallery/src/chrome/topbar.tsx+++ b/packages/ui-gallery/src/chrome/topbar.tsx@@ -10,7 +10,7 @@* At phone width the links and controls leave the bar for the drawer (chrome/site.tsx), where* every control has its label, and a menu button opens it.*/-import { THEME_IDS } from "@prismshadow/penguin-ui";+import { THEME_IDS } from "@lmliheng/penguin-ui";import type { ReactNode } from "react";import { accentPresetsOf, accentSwatch, THEME_ACCENT } from "../lib/accents";import { BASE } from "../lib/location";diff --git a/packages/ui-gallery/src/foundations/color.tsx b/packages/ui-gallery/src/foundations/color.tsxindex 7a46fa54..babff16f 100644--- a/packages/ui-gallery/src/foundations/color.tsx+++ b/packages/ui-gallery/src/foundations/color.tsx@@ -6,8 +6,8 @@* chart series as bars; the code and diff colours on a hunk. Every value, with its contrast* ratios, is in the tokens drawer.*/-import { ACCENT_PRESETS, TONES } from "@prismshadow/penguin-ui";-import type { ThemeId, ThemeModeName, ToneName } from "@prismshadow/penguin-ui";+import { ACCENT_PRESETS, TONES } from "@lmliheng/penguin-ui";+import type { ThemeId, ThemeModeName, ToneName } from "@lmliheng/penguin-ui";import type { CSSProperties } from "react";import geekCss from "../../../ui/src/themes/geek.css?raw";import githubCss from "../../../ui/src/themes/github.css?raw";diff --git a/packages/ui-gallery/src/foundations/hooks.tsx b/packages/ui-gallery/src/foundations/hooks.tsxindex 70e022e5..d0b5daa0 100644--- a/packages/ui-gallery/src/foundations/hooks.tsx+++ b/packages/ui-gallery/src/foundations/hooks.tsx@@ -14,7 +14,7 @@* tree sample indents its rows the way a host does — by the inset and the indent tokens — so the* three themes' guides land on the same columns as in the modules.*/-import { HOOKS } from "@prismshadow/penguin-ui";+import { HOOKS } from "@lmliheng/penguin-ui";import type { CSSProperties, ReactNode } from "react";import { useGallery } from "../state";import { Glyph, NAV_GLYPHS, SAMPLE_GLYPHS, ShellSpecimen } from "./shared";diff --git a/packages/ui-gallery/src/lib/accents.ts b/packages/ui-gallery/src/lib/accents.tsindex 0cba9784..eb816378 100644--- a/packages/ui-gallery/src/lib/accents.ts+++ b/packages/ui-gallery/src/lib/accents.ts@@ -16,9 +16,9 @@ import {ACCENT_PRESETS,resolveAccent as resolveListed,THEME_ACCENT_PRESETS,-} from "@prismshadow/penguin-ui";-import type { ThemeId } from "@prismshadow/penguin-ui";-import type { AccentChoice } from "@prismshadow/penguin-ui/boot";+} from "@lmliheng/penguin-ui";+import type { ThemeId } from "@lmliheng/penguin-ui";+import type { AccentChoice } from "@lmliheng/penguin-ui/boot";/** The stored value for "no preset": the theme's own accent, no `data-accent` on the root. */export const THEME_ACCENT: AccentChoice = "neutral";diff --git a/packages/ui-gallery/src/lib/breadcrumb.ts b/packages/ui-gallery/src/lib/breadcrumb.tsindex de5a9092..3137d8b6 100644--- a/packages/ui-gallery/src/lib/breadcrumb.ts+++ b/packages/ui-gallery/src/lib/breadcrumb.ts@@ -12,8 +12,8 @@* so one quote still means one view. The caller passes every name already localized; this file* only spells the address.*/-import { DEFAULT_TEXT_SIZE } from "@prismshadow/penguin-ui/boot";-import type { TextSize } from "@prismshadow/penguin-ui/boot";+import { DEFAULT_TEXT_SIZE } from "@lmliheng/penguin-ui/boot";+import type { TextSize } from "@lmliheng/penguin-ui/boot";import { TEXT_SIZE_PX_NUMBER } from "./themes";export interface BreadcrumbParts {diff --git a/packages/ui-gallery/src/lib/theme-fonts.ts b/packages/ui-gallery/src/lib/theme-fonts.tsindex 9315b905..e5d52595 100644--- a/packages/ui-gallery/src/lib/theme-fonts.ts+++ b/packages/ui-gallery/src/lib/theme-fonts.ts@@ -4,9 +4,9 @@* the same names the pairing options carry; a role the theme leaves to the platform is* `SYSTEM_FONT`, which the page prints in its own words.*/-import { THEME_IDS } from "@prismshadow/penguin-ui";-import type { ThemeId } from "@prismshadow/penguin-ui";-import { SYSTEM_FONT, THEME_FONTS } from "@prismshadow/penguin-ui/boot";+import { THEME_IDS } from "@lmliheng/penguin-ui";+import type { ThemeId } from "@lmliheng/penguin-ui";+import { SYSTEM_FONT, THEME_FONTS } from "@lmliheng/penguin-ui/boot";export interface ThemeFontRow {theme: ThemeId;diff --git a/packages/ui-gallery/src/lib/themes.ts b/packages/ui-gallery/src/lib/themes.tsindex 048d8336..ec57fa39 100644--- a/packages/ui-gallery/src/lib/themes.ts+++ b/packages/ui-gallery/src/lib/themes.ts@@ -14,8 +14,8 @@ import {FONT_LATIN_OPTIONS,TEXT_SIZE_PX,TEXT_SIZES,-} from "@prismshadow/penguin-ui/boot";-import type { FontCjk, FontLatin, TextSize } from "@prismshadow/penguin-ui/boot";+} from "@lmliheng/penguin-ui/boot";+import type { FontCjk, FontLatin, TextSize } from "@lmliheng/penguin-ui/boot";export { TEXT_SIZES };export type { FontCjk, FontLatin, TextSize };diff --git a/packages/ui-gallery/src/lib/token-probe.ts b/packages/ui-gallery/src/lib/token-probe.tsindex 06514c1f..0093799a 100644--- a/packages/ui-gallery/src/lib/token-probe.ts+++ b/packages/ui-gallery/src/lib/token-probe.ts@@ -10,9 +10,9 @@* substituted, so `--ui-accent-line: var(--ui-accent)` comes back as the colour it points at; an* undefined token comes back as the empty string.*/-import { THEME_IDS, THEME_MODES, TOKEN_NAMES } from "@prismshadow/penguin-ui";-import type { ThemeId, ThemeModeName } from "@prismshadow/penguin-ui";-import { applyThemeAttributes } from "@prismshadow/penguin-ui/boot";+import { THEME_IDS, THEME_MODES, TOKEN_NAMES } from "@lmliheng/penguin-ui";+import type { ThemeId, ThemeModeName } from "@lmliheng/penguin-ui";+import { applyThemeAttributes } from "@lmliheng/penguin-ui/boot";import { accentPresetsOf, THEME_ACCENT } from "./accents";import type { Rgba } from "./color";diff --git a/packages/ui-gallery/src/lib/url-state.ts b/packages/ui-gallery/src/lib/url-state.tsindex 906ae3ed..9f9af284 100644--- a/packages/ui-gallery/src/lib/url-state.ts+++ b/packages/ui-gallery/src/lib/url-state.ts@@ -14,10 +14,10 @@* gallery's root applies them through the package's `applyThemeAttributes`, so a size or a font* pairing chosen here is what a user of the app would have chosen in its Settings.*/-import { DEFAULT_THEME_ID, THEME_IDS } from "@prismshadow/penguin-ui";-import type { ThemeId } from "@prismshadow/penguin-ui";-import { DEFAULT_TEXT_SIZE, TEXT_SIZES } from "@prismshadow/penguin-ui/boot";-import type { TextSize } from "@prismshadow/penguin-ui/boot";+import { DEFAULT_THEME_ID, THEME_IDS } from "@lmliheng/penguin-ui";+import type { ThemeId } from "@lmliheng/penguin-ui";+import { DEFAULT_TEXT_SIZE, TEXT_SIZES } from "@lmliheng/penguin-ui/boot";+import type { TextSize } from "@lmliheng/penguin-ui/boot";import { ACCENT_IDS, THEME_ACCENT } from "./accents";import { CJK_FONTS, LATIN_FONTS, LEGACY_SIZES } from "./themes";import type { FontCjk, FontLatin } from "./themes";diff --git a/packages/ui-gallery/src/library/boards/avatars.tsx b/packages/ui-gallery/src/library/boards/avatars.tsxindex ac281be2..c0c91938 100644--- a/packages/ui-gallery/src/library/boards/avatars.tsx+++ b/packages/ui-gallery/src/library/boards/avatars.tsx@@ -8,7 +8,7 @@ import {ICON_SIZE,USER_AVATAR_SIZE,UserAvatar,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { BoardGroup } from "../../foundations/shared";import { useGallery } from "../../state";diff --git a/packages/ui-gallery/src/library/boards/badges.tsx b/packages/ui-gallery/src/library/boards/badges.tsxindex 65577fa9..31958691 100644--- a/packages/ui-gallery/src/library/boards/badges.tsx+++ b/packages/ui-gallery/src/library/boards/badges.tsx@@ -18,8 +18,8 @@ import {TONES,UpdateDot,UpdatePill,-} from "@prismshadow/penguin-ui";-import type { ActivityIconState, BadgeVariant, RunState } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { ActivityIconState, BadgeVariant, RunState } from "@lmliheng/penguin-ui";import { BoardGroup } from "../../foundations/shared";import { useGallery } from "../../state";diff --git a/packages/ui-gallery/src/library/boards/buttons.tsx b/packages/ui-gallery/src/library/boards/buttons.tsxindex 52a238d2..95001ee3 100644--- a/packages/ui-gallery/src/library/boards/buttons.tsx+++ b/packages/ui-gallery/src/library/boards/buttons.tsx@@ -3,7 +3,7 @@* link in a sentence and on its own, and the keyboard hint.*/import type { MouseEvent } from "react";-import { Button, GlyphIcon, ICONS, IconButton, Kbd, Link, PlusIcon } from "@prismshadow/penguin-ui";+import { Button, GlyphIcon, ICONS, IconButton, Kbd, Link, PlusIcon } from "@lmliheng/penguin-ui";import { BoardGroup } from "../../foundations/shared";import { useGallery } from "../../state";diff --git a/packages/ui-gallery/src/library/boards/chart-primitives.tsx b/packages/ui-gallery/src/library/boards/chart-primitives.tsxindex 95113322..303e4609 100644--- a/packages/ui-gallery/src/library/boards/chart-primitives.tsx+++ b/packages/ui-gallery/src/library/boards/chart-primitives.tsx@@ -20,8 +20,8 @@ import {TimelineBar,curvePath,useChartStyle,-} from "@prismshadow/penguin-ui";-import type { ChartCurve } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { ChartCurve } from "@lmliheng/penguin-ui";import { BoardGroup } from "../../foundations/shared";import { useGallery } from "../../state";diff --git a/packages/ui-gallery/src/library/boards/charts.tsx b/packages/ui-gallery/src/library/boards/charts.tsxindex 3d187d20..32c9aa7d 100644--- a/packages/ui-gallery/src/library/boards/charts.tsx+++ b/packages/ui-gallery/src/library/boards/charts.tsx@@ -17,9 +17,9 @@ import type {TraceOtherSpan,TraceToolSpan,UsageSeriesPoint,-} from "@prismshadow/penguin-server/api";-import { ContextRing, Legend, Ring, Sparkline, TokenDonut } from "@prismshadow/penguin-ui";-import type { LegendItem, RingSegment, ToneName } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-server/api";+import { ContextRing, Legend, Ring, Sparkline, TokenDonut } from "@lmliheng/penguin-ui";+import type { LegendItem, RingSegment, ToneName } from "@lmliheng/penguin-ui";import { humanizeTokens } from "../../../../web/src/lib/format";import { TimelineChart } from "../../../../web/src/features/traces/timeline-chart";import type { TraceHighlight } from "../../../../web/src/features/traces/timeline-chart";diff --git a/packages/ui-gallery/src/library/boards/content.tsx b/packages/ui-gallery/src/library/boards/content.tsxindex a40a6cd9..64b57333 100644--- a/packages/ui-gallery/src/library/boards/content.tsx+++ b/packages/ui-gallery/src/library/boards/content.tsx@@ -12,8 +12,8 @@ import {InlineCode,Prose,Text,-} from "@prismshadow/penguin-ui";-import type { HeadingLevel, TextVariant } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { HeadingLevel, TextVariant } from "@lmliheng/penguin-ui";import { BoardGroup } from "../../foundations/shared";import { useGallery } from "../../state";diff --git a/packages/ui-gallery/src/library/boards/data.tsx b/packages/ui-gallery/src/library/boards/data.tsxindex da810f10..a1dd5d3e 100644--- a/packages/ui-gallery/src/library/boards/data.tsx+++ b/packages/ui-gallery/src/library/boards/data.tsx@@ -23,7 +23,7 @@ import {TableHead,TableHeaderCell,TableRow,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { BoardGroup } from "../../foundations/shared";import { useGallery } from "../../state";diff --git a/packages/ui-gallery/src/library/boards/dialogs.tsx b/packages/ui-gallery/src/library/boards/dialogs.tsxindex 3369a50c..d9a5c3da 100644--- a/packages/ui-gallery/src/library/boards/dialogs.tsx+++ b/packages/ui-gallery/src/library/boards/dialogs.tsx@@ -15,8 +15,8 @@ import {PagedDialog,Sheet,ZoomableImage,-} from "@prismshadow/penguin-ui";-import type { PagedDialogGroup, PaletteAction, SheetSnap } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { PagedDialogGroup, PaletteAction, SheetSnap } from "@lmliheng/penguin-ui";import { BoardGroup } from "../../foundations/shared";import { BASE } from "../../lib/location";import { useGallery } from "../../state";diff --git a/packages/ui-gallery/src/library/boards/empty.tsx b/packages/ui-gallery/src/library/boards/empty.tsxindex b33f3d70..84a823c5 100644--- a/packages/ui-gallery/src/library/boards/empty.tsx+++ b/packages/ui-gallery/src/library/boards/empty.tsx@@ -1,5 +1,5 @@/** 空状态: the page placeholder with and without an action, and the dashed slot form. */-import { Button, EmptyState, SettingsEmpty } from "@prismshadow/penguin-ui";+import { Button, EmptyState, SettingsEmpty } from "@lmliheng/penguin-ui";import { BoardGroup } from "../../foundations/shared";import { useGallery } from "../../state";diff --git a/packages/ui-gallery/src/library/boards/files.tsx b/packages/ui-gallery/src/library/boards/files.tsxindex 6407277a..105c8b72 100644--- a/packages/ui-gallery/src/library/boards/files.tsx+++ b/packages/ui-gallery/src/library/boards/files.tsx@@ -19,13 +19,13 @@ import {WorkspaceFileEditor,WorkspaceFileMenuRows,menuPanelClass,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import type {FileBrowserPreview,FileTreeRow,PreviewView,TreeToggle,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { BoardGroup } from "../../foundations/shared";import { useGallery } from "../../state";import { DEMO_OPEN_DIRS, DEMO_TREE, demoSize, flattenTree } from "../demo-tree";diff --git a/packages/ui-gallery/src/library/boards/inputs.tsx b/packages/ui-gallery/src/library/boards/inputs.tsxindex f68dfdc2..b611df0f 100644--- a/packages/ui-gallery/src/library/boards/inputs.tsx+++ b/packages/ui-gallery/src/library/boards/inputs.tsx@@ -10,7 +10,7 @@ import {RadioGroup,SearchInput,Textarea,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { BoardGroup } from "../../foundations/shared";import { useGallery } from "../../state";diff --git a/packages/ui-gallery/src/library/boards/layout.tsx b/packages/ui-gallery/src/library/boards/layout.tsxindex 17687651..a225147c 100644--- a/packages/ui-gallery/src/library/boards/layout.tsx+++ b/packages/ui-gallery/src/library/boards/layout.tsx@@ -28,7 +28,7 @@ import {ProviderLogo,RuledSection,Text,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { BoardGroup } from "../../foundations/shared";import { useGallery } from "../../state";diff --git a/packages/ui-gallery/src/library/boards/loading.tsx b/packages/ui-gallery/src/library/boards/loading.tsxindex 8a84f2ff..dfa5accb 100644--- a/packages/ui-gallery/src/library/boards/loading.tsx+++ b/packages/ui-gallery/src/library/boards/loading.tsx@@ -8,8 +8,8 @@ import {SkeletonCard,SkeletonList,StatusIcon,-} from "@prismshadow/penguin-ui";-import type { ProgressBarSize, StatusIconSize } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { ProgressBarSize, StatusIconSize } from "@lmliheng/penguin-ui";import { BoardGroup } from "../../foundations/shared";import { useGallery } from "../../state";diff --git a/packages/ui-gallery/src/library/boards/notices.tsx b/packages/ui-gallery/src/library/boards/notices.tsxindex 7e281d7e..5d43edbd 100644--- a/packages/ui-gallery/src/library/boards/notices.tsx+++ b/packages/ui-gallery/src/library/boards/notices.tsx@@ -3,8 +3,8 @@* (`data-slot="icon"`, which a theme that draws its own tone mark hides), and with actions — then* the Notice built on it in its three variants with its action slots, and the page to-do.*/-import { Button, Dot, ICONS, Notice, NoticeStrip, TodoNotice } from "@prismshadow/penguin-ui";-import type { NoticeStripTone } from "@prismshadow/penguin-ui";+import { Button, Dot, ICONS, Notice, NoticeStrip, TodoNotice } from "@lmliheng/penguin-ui";+import type { NoticeStripTone } from "@lmliheng/penguin-ui";import { BoardGroup } from "../../foundations/shared";import { useGallery } from "../../state";diff --git a/packages/ui-gallery/src/library/boards/pickers.tsx b/packages/ui-gallery/src/library/boards/pickers.tsxindex 43cf80ad..7170b951 100644--- a/packages/ui-gallery/src/library/boards/pickers.tsx+++ b/packages/ui-gallery/src/library/boards/pickers.tsx@@ -21,7 +21,7 @@ import {Switch,ToggleRow,menuPanelClass,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { BoardGroup } from "../../foundations/shared";import { useGallery } from "../../state";diff --git a/packages/ui-gallery/src/library/boards/streaming.tsx b/packages/ui-gallery/src/library/boards/streaming.tsxindex c6ff0e31..65ebe83d 100644--- a/packages/ui-gallery/src/library/boards/streaming.tsx+++ b/packages/ui-gallery/src/library/boards/streaming.tsx@@ -12,8 +12,8 @@* shares the live reply's grid cell), so the frame does not grow line by line as text arrives.*/import { useEffect, useMemo, useState } from "react";-import { AssistantText, STREAM_REVEALS, usePrefersReducedMotion } from "@prismshadow/penguin-ui";-import type { StreamReveal } from "@prismshadow/penguin-ui";+import { AssistantText, STREAM_REVEALS, usePrefersReducedMotion } from "@lmliheng/penguin-ui";+import type { StreamReveal } from "@lmliheng/penguin-ui";import { streamScript } from "../../app/mock/stream-script";import { streamingAnswer } from "../../app/mock/transcripts";import { BoardGroup, ReplayButton } from "../../foundations/shared";diff --git a/packages/ui-gallery/src/library/boards/tabs.tsx b/packages/ui-gallery/src/library/boards/tabs.tsxindex 4b024e5c..c4b7aa64 100644--- a/packages/ui-gallery/src/library/boards/tabs.tsx+++ b/packages/ui-gallery/src/library/boards/tabs.tsx@@ -1,6 +1,6 @@/** 标签页: the app's Tabs, plain and with an update badge on one tab. */import { useState } from "react";-import { Tabs } from "@prismshadow/penguin-ui";+import { Tabs } from "@lmliheng/penguin-ui";import { BoardGroup } from "../../foundations/shared";import { useGallery } from "../../state";diff --git a/packages/ui-gallery/src/library/boards/toasts.tsx b/packages/ui-gallery/src/library/boards/toasts.tsxindex 1136f40c..9645d596 100644--- a/packages/ui-gallery/src/library/boards/toasts.tsx+++ b/packages/ui-gallery/src/library/boards/toasts.tsx@@ -2,13 +2,7 @@* 提示弹窗: the package's toast after an action completes, in its four kinds, fired from buttons* (the Toaster is mounted by the frame).*/-import {- Button,- toastAttention,- toastError,- toastInfo,- toastSuccess,-} from "@prismshadow/penguin-ui";+import { Button, toastAttention, toastError, toastInfo, toastSuccess } from "@lmliheng/penguin-ui";import { BoardGroup } from "../../foundations/shared";import { useGallery } from "../../state";diff --git a/packages/ui-gallery/src/library/boards/tooltips.tsx b/packages/ui-gallery/src/library/boards/tooltips.tsxindex be28e2fd..61012688 100644--- a/packages/ui-gallery/src/library/boards/tooltips.tsx+++ b/packages/ui-gallery/src/library/boards/tooltips.tsx@@ -1,5 +1,5 @@/** 悬停提示: the package's one tooltip, by attribute (read by the frame's TooltipLayer) and by component, and on a truncated line. */-import { Button, ICONS, Tooltip } from "@prismshadow/penguin-ui";+import { Button, ICONS, Tooltip } from "@lmliheng/penguin-ui";import { BoardGroup } from "../../foundations/shared";import { useGallery } from "../../state";diff --git a/packages/ui-gallery/src/library/demo-tree.ts b/packages/ui-gallery/src/library/demo-tree.tsindex 0895db23..f54e403a 100644--- a/packages/ui-gallery/src/library/demo-tree.ts+++ b/packages/ui-gallery/src/library/demo-tree.ts@@ -3,7 +3,7 @@* from it: every visible entry in order, with its depth, its position in its directory and, for* a directory, whether it is open — pure, so the flattening is unit-tested.*/-import type { FileTreeRow } from "@prismshadow/penguin-ui";+import type { FileTreeRow } from "@lmliheng/penguin-ui";export interface DemoEntry {name: string;diff --git a/packages/ui-gallery/src/library/main.tsx b/packages/ui-gallery/src/library/main.tsxindex 709ff94c..749aaa0e 100644--- a/packages/ui-gallery/src/library/main.tsx+++ b/packages/ui-gallery/src/library/main.tsx@@ -13,7 +13,7 @@*/import { StrictMode } from "react";import { createRoot } from "react-dom/client";-import { CodeHighlighterProvider, Toaster, TooltipLayer } from "@prismshadow/penguin-ui";+import { CodeHighlighterProvider, Toaster, TooltipLayer } from "@lmliheng/penguin-ui";import { highlightCode } from "../../../web/src/features/chat/code-highlight";import { LocaleProvider, LocaleScope } from "../../../web/src/state/locale";import { ThemeProvider } from "../../../web/src/state/theme";diff --git a/packages/ui-gallery/src/pages/fonts.tsx b/packages/ui-gallery/src/pages/fonts.tsxindex 24a425f8..595d570e 100644--- a/packages/ui-gallery/src/pages/fonts.tsx+++ b/packages/ui-gallery/src/pages/fonts.tsx@@ -9,7 +9,7 @@* family, weight and style, with the number of `unicode-range` slices and their load status.* - Licences: the licence texts under the package's `fonts/LICENSES/`.*/-import { THEME_IDS } from "@prismshadow/penguin-ui";+import { THEME_IDS } from "@lmliheng/penguin-ui";import { useEffect, useState } from "react";import type { ReactNode } from "react";import { FontReadoutLine } from "../chrome/font-readout";diff --git a/packages/ui-gallery/src/state.tsx b/packages/ui-gallery/src/state.tsxindex 3980b880..41328f2a 100644--- a/packages/ui-gallery/src/state.tsx+++ b/packages/ui-gallery/src/state.tsx@@ -21,7 +21,7 @@ import {useState,} from "react";import type { ReactNode } from "react";-import { applyThemeAttributes } from "@prismshadow/penguin-ui/boot";+import { applyThemeAttributes } from "@lmliheng/penguin-ui/boot";import { asAccentChoice, resolveAccent } from "./lib/accents";import { replaceSearch, usePrefersDark, useSearch } from "./lib/location";import { probeAccents, probeTokens } from "./lib/token-probe";diff --git a/packages/ui-gallery/src/strings-en.ts b/packages/ui-gallery/src/strings-en.tsindex 0234bd16..b440efa1 100644--- a/packages/ui-gallery/src/strings-en.ts+++ b/packages/ui-gallery/src/strings-en.ts@@ -715,7 +715,7 @@ export const en: GalleryStrings = {besideTip: "Opens to the right of its trigger",belowTip: "Opens under its trigger",command:- "pnpm --filter @prismshadow/penguin-web exec vitest run test/session-activity.test.ts --reporter verbose",+ "pnpm --filter @lmliheng/penguin-web exec vitest run test/session-activity.test.ts --reporter verbose",},tabs: {basic: "Tab switcher",diff --git a/packages/ui-gallery/src/strings.ts b/packages/ui-gallery/src/strings.tsindex 9d40a208..7bbeec2d 100644--- a/packages/ui-gallery/src/strings.ts+++ b/packages/ui-gallery/src/strings.ts@@ -9,14 +9,8 @@* the component library's topics (src/library/topics.ts), in both dictionaries; a test checks* each covers every id.*/-import type {- HookName,- StreamReveal,- TextVariant,- ThemeId,- ToneName,-} from "@prismshadow/penguin-ui";-import type { TextSize } from "@prismshadow/penguin-ui/boot";+import type { HookName, StreamReveal, TextVariant, ThemeId, ToneName } from "@lmliheng/penguin-ui";+import type { TextSize } from "@lmliheng/penguin-ui/boot";import type { SurfaceGroupId, SurfaceId } from "./app/surfaces";import type { ChartToken } from "./library/chart-tokens";import type { TopicGroupId, TopicId } from "./library/topics";@@ -683,7 +677,7 @@ export const zh = {besideTip: "在触发元素右侧弹出",belowTip: "在触发元素下方弹出",command:- "pnpm --filter @prismshadow/penguin-web exec vitest run test/session-activity.test.ts --reporter verbose",+ "pnpm --filter @lmliheng/penguin-web exec vitest run test/session-activity.test.ts --reporter verbose",},tabs: {basic: "标签切换",diff --git a/packages/ui-gallery/src/styles.css b/packages/ui-gallery/src/styles.cssindex 74283906..6f1b7ef9 100644--- a/packages/ui-gallery/src/styles.css+++ b/packages/ui-gallery/src/styles.css@@ -5,11 +5,11 @@* documents (src/app/app.css, src/library/library.css), which carry the app's stylesheet.*/@import "tailwindcss";-@import "@prismshadow/penguin-ui/theme.css";-@import "@prismshadow/penguin-ui/themes/github.css";-@import "@prismshadow/penguin-ui/themes/modern.css";-@import "@prismshadow/penguin-ui/themes/geek.css";-@import "@prismshadow/penguin-ui/fonts.css";+@import "@lmliheng/penguin-ui/theme.css";+@import "@lmliheng/penguin-ui/themes/github.css";+@import "@lmliheng/penguin-ui/themes/modern.css";+@import "@lmliheng/penguin-ui/themes/geek.css";+@import "@lmliheng/penguin-ui/fonts.css";@import "./chrome.css";@source "../../ui/src";diff --git a/packages/ui-gallery/src/text.ts b/packages/ui-gallery/src/text.tsindex 15758305..1dfa0dab 100644--- a/packages/ui-gallery/src/text.ts+++ b/packages/ui-gallery/src/text.ts@@ -3,7 +3,7 @@* their groups, the theme display names, and the breadcrumb's qualifiers — all from the* dictionaries.*/-import type { ThemeId } from "@prismshadow/penguin-ui";+import type { ThemeId } from "@lmliheng/penguin-ui";import type { SurfaceGroupId, SurfaceId } from "./app/surfaces";import { THEME_ACCENT } from "./lib/accents";import type { TopicGroupId, TopicId } from "./library/topics";diff --git a/packages/ui-gallery/test/accents.test.ts b/packages/ui-gallery/test/accents.test.tsindex 493734f3..78d7379c 100644--- a/packages/ui-gallery/test/accents.test.ts+++ b/packages/ui-gallery/test/accents.test.ts@@ -2,7 +2,7 @@* The accent choice: the rail offers the active theme's own list after 随主题, a choice survives a* theme that does not list it, and the URL accepts every theme's ids and nothing else.*/-import { THEME_ACCENT_PRESETS, THEME_IDS } from "@prismshadow/penguin-ui";+import { THEME_ACCENT_PRESETS, THEME_IDS } from "@lmliheng/penguin-ui";import { describe, expect, it } from "vitest";import {ACCENT_IDS,diff --git a/packages/ui-gallery/test/demo-store.test.ts b/packages/ui-gallery/test/demo-store.test.tsindex 5619d726..572811de 100644--- a/packages/ui-gallery/test/demo-store.test.ts+++ b/packages/ui-gallery/test/demo-store.test.ts@@ -4,7 +4,7 @@* streams a reply and settles, an approval decides the pending command, an abort stops a run.*/import { afterEach, describe, expect, it, vi } from "vitest";-import type { ServerEvent } from "@prismshadow/penguin-server/api";+import type { ServerEvent } from "@lmliheng/penguin-server/api";import { catalogEntryFor } from "../../core/dist/state/model-catalog.js";import { catalogDelta } from "../../web/src/features/models/catalog-sync";import { buildFixtures } from "../src/app/mock/fixtures";diff --git a/packages/ui-gallery/test/frame.test.ts b/packages/ui-gallery/test/frame.test.tsindex 349f927e..22fb8319 100644--- a/packages/ui-gallery/test/frame.test.ts+++ b/packages/ui-gallery/test/frame.test.ts@@ -7,7 +7,7 @@ import { readFileSync } from "node:fs";import { fileURLToPath } from "node:url";import vm from "node:vm";import { describe, expect, it } from "vitest";-import { THEME_STORAGE_KEYS } from "@prismshadow/penguin-ui/boot";+import { THEME_STORAGE_KEYS } from "@lmliheng/penguin-ui/boot";import {APP_FRAME_PATH,APP_LANG_KEY,diff --git a/packages/ui-gallery/test/library.test.ts b/packages/ui-gallery/test/library.test.tsindex 7a4c7841..6c49f645 100644--- a/packages/ui-gallery/test/library.test.ts+++ b/packages/ui-gallery/test/library.test.ts@@ -6,7 +6,7 @@import { readFileSync } from "node:fs";import { fileURLToPath } from "node:url";import { describe, expect, it } from "vitest";-import { STREAM_REVEALS, TOKEN_NAMES } from "@prismshadow/penguin-ui";+import { STREAM_REVEALS, TOKEN_NAMES } from "@lmliheng/penguin-ui";import { HOME_SURFACE } from "../src/app/surfaces";import { SEEDED_KEYS } from "../src/app/frame";import {@@ -170,7 +170,7 @@ describe("the charts board", () => {it("shows each primitive on its own, from the package and nothing from the app", () => {const stage = read("../src/library/boards/chart-primitives.tsx");- expect(stage).toMatch(/from "@prismshadow\/penguin-ui";/);+ expect(stage).toMatch(/from "@lmliheng\/penguin-ui";/);expect(stage).not.toMatch(/web\/src/);for (const primitive of ["ChartBar",@@ -237,7 +237,7 @@ describe("the charts board", () => {expect(board).toMatch(new RegExp(`<${chart}[\\s/>]`));}// The package's charts come from the package; the app's domain charts from the app.- expect(board).toMatch(/from "@prismshadow\/penguin-ui";/);+ expect(board).toMatch(/from "@lmliheng\/penguin-ui";/);expect(board).not.toMatch(/token-donut"|-sparkline"/);expect(board).toMatch(/from "\.\.\/\.\.\/\.\.\/\.\.\/web\/src\/features\/traces\/timeline-chart"/,@@ -248,7 +248,7 @@ describe("the charts board", () => {describe("the content board", () => {it("shows every content component from the package, and nothing from the app", () => {const board = read("../src/library/boards/content.tsx");- expect(board).toMatch(/from "@prismshadow\/penguin-ui";/);+ expect(board).toMatch(/from "@lmliheng\/penguin-ui";/);expect(board).not.toMatch(/web\/src/);for (const component of ["Heading",@@ -292,7 +292,7 @@ describe("the content board", () => {describe("the streaming board", () => {it("plays the streaming Session's answer through the package's reply body, on one seed, with a replay", () => {const board = read("../src/library/boards/streaming.tsx");- expect(board).toMatch(/import \{ AssistantText, [^}]*\} from "@prismshadow\/penguin-ui";/);+ expect(board).toMatch(/import \{ AssistantText, [^}]*\} from "@lmliheng\/penguin-ui";/);expect(board).not.toMatch(/web\/src\/features\/chat/);expect(board).toMatch(/streamScript\(text, BOARD_SEED\)/);expect(board).toMatch(/const answer = streamingAnswer\(state\.lang\);/);@@ -347,7 +347,7 @@ describe("the layout and data boards", () => {};for (const [topic, components] of Object.entries(boards)) {const board = read(`../src/library/boards/${topic}.tsx`);- expect(board).toMatch(/from "@prismshadow\/penguin-ui";/);+ expect(board).toMatch(/from "@lmliheng\/penguin-ui";/);expect(board).not.toMatch(/web\/src/);for (const component of components) {expect(board, `${topic}: ${component}`).toMatch(new RegExp(`<${component}[\\s/>]`));diff --git a/packages/ui-gallery/test/text-size.test.ts b/packages/ui-gallery/test/text-size.test.tsindex f586669d..bf985f95 100644--- a/packages/ui-gallery/test/text-size.test.ts+++ b/packages/ui-gallery/test/text-size.test.ts@@ -16,7 +16,7 @@ import {FONT_CJK_OPTIONS,FONT_LATIN_OPTIONS,TEXT_SIZE_PX,-} from "@prismshadow/penguin-ui/boot";+} from "@lmliheng/penguin-ui/boot";import { appFrameSrc } from "../src/app/frame";import {CJK_FONTS,diff --git a/packages/ui-gallery/test/theme-fonts.test.ts b/packages/ui-gallery/test/theme-fonts.test.tsindex 344a2184..b4b4147a 100644--- a/packages/ui-gallery/test/theme-fonts.test.ts+++ b/packages/ui-gallery/test/theme-fonts.test.ts@@ -2,8 +2,8 @@* The fonts page's defaults table prints what the package states for every theme, and names the* platform's face only where the package does.*/-import { THEME_IDS } from "@prismshadow/penguin-ui";-import { SYSTEM_FONT, THEME_FONTS } from "@prismshadow/penguin-ui/boot";+import { THEME_IDS } from "@lmliheng/penguin-ui";+import { SYSTEM_FONT, THEME_FONTS } from "@lmliheng/penguin-ui/boot";import { describe, expect, it } from "vitest";import { isSystemFont, themeFontRows } from "../src/lib/theme-fonts";import { zh } from "../src/strings";diff --git a/packages/ui-gallery/tsconfig.json b/packages/ui-gallery/tsconfig.jsonindex aab28a20..cbef774f 100644--- a/packages/ui-gallery/tsconfig.json+++ b/packages/ui-gallery/tsconfig.json@@ -6,7 +6,7 @@"jsx": "react-jsx","useDefineForClassFields": true,"paths": {- "@prismshadow/penguin-server/api": ["../server/src/api/types.ts"]+ "@lmliheng/penguin-server/api": ["../server/src/api/types.ts"]}},"include": ["src", "test", "vite.config.ts", "vitest.config.ts"]diff --git a/packages/ui-gallery/vite.config.ts b/packages/ui-gallery/vite.config.tsindex 05a91c5c..b6abc034 100644--- a/packages/ui-gallery/vite.config.ts+++ b/packages/ui-gallery/vite.config.ts@@ -12,7 +12,7 @@* serve and build time. The app's highlighting worker needs ES-format workers, as in the app's config,* and React is deduplicated so the app and the gallery never load two copies.*- * `@prismshadow/penguin-ui` resolves to the live `packages/ui/src` through the workspace link;+ * `@lmliheng/penguin-ui` resolves to the live `packages/ui/src` through the workspace link;* `penguinUi()` emits the bundled fonts' licence texts beside a build. Port 7372 is fixed and* strict: screenshot runs and quoted feedback links name it. BASE_PATH lets a static build be* served under a subpath. The vitest config stays separate (vitest's embedded vite typesdiff --git a/packages/ui/package.json b/packages/ui/package.jsonindex d31ebeb2..1eddac8d 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -1,5 +1,5 @@{- "name": "@prismshadow/penguin-ui",+ "name": "@lmliheng/penguin-ui","version": "0.2.13","private": true,"type": "module",diff --git a/packages/ui/scripts/sync-font-licenses.mjs b/packages/ui/scripts/sync-font-licenses.mjsindex a818f722..7644108f 100644--- a/packages/ui/scripts/sync-font-licenses.mjs+++ b/packages/ui/scripts/sync-font-licenses.mjs@@ -1,5 +1,5 @@/**- * Mirrors the licence text of every font package @prismshadow/penguin-ui depends on into+ * Mirrors the licence text of every font package @lmliheng/penguin-ui depends on into* `src/fonts/LICENSES/<package>.txt` — verbatim except for whitespace: line endings become LF,* trailing spaces go and the file ends in one newline, because the repository stores text as LF* (.gitattributes) and a CRLF original would otherwise read as drift after every checkout.@@ -9,8 +9,8 @@* (`fonts-licenses/<package>.txt` in every consumer's dist) without reaching into node_modules at* build time.*- * pnpm --filter @prismshadow/penguin-ui sync:font-licenses rewrite the mirror- * pnpm --filter @prismshadow/penguin-ui sync:font-licenses --check exit 1 on any drift, write nothing+ * pnpm --filter @lmliheng/penguin-ui sync:font-licenses rewrite the mirror+ * pnpm --filter @lmliheng/penguin-ui sync:font-licenses --check exit 1 on any drift, write nothing** A font package is any `@fontsource/*` or `@fontsource-variable/*` dependency. Its file is named* after the package without its scope, so `@fontsource-variable/mona-sans` → `mona-sans.txt`.@@ -106,7 +106,7 @@ if (check) {if (problems.length > 0) {console.error(`Font licence mirror is out of date:\n ${problems.join("\n ")}\n` +- "Run `pnpm --filter @prismshadow/penguin-ui sync:font-licenses`.",+ "Run `pnpm --filter @lmliheng/penguin-ui sync:font-licenses`.",);}if (vendoredProblems.length > 0) {diff --git a/packages/ui/src/components/content/code-block/highlighter-core.ts b/packages/ui/src/components/content/code-block/highlighter-core.tsindex b1199a14..dd52139c 100644--- a/packages/ui/src/components/content/code-block/highlighter-core.ts+++ b/packages/ui/src/components/content/code-block/highlighter-core.ts@@ -3,7 +3,7 @@* dual-theme HTML. The package's code components never import it: `CodeSurface` asks a* {@link CodeHighlighter} it is handed (by prop or by `CodeHighlighterProvider`), and the app* decides where the engine runs — the Web App runs it on a worker and falls back to this thread.- * So it is published on its own subpath (`@prismshadow/penguin-ui/highlighter`), which a worker can+ * So it is published on its own subpath (`@lmliheng/penguin-ui/highlighter`), which a worker can* import without React, and kept out of the root barrel, so no static import of the barrel can put* a copy of Shiki in the entry chunk.*diff --git a/packages/ui/src/fonts/README.md b/packages/ui/src/fonts/README.mdindex 35bd80e8..23f074f2 100644--- a/packages/ui/src/fonts/README.md+++ b/packages/ui/src/fonts/README.md@@ -1,6 +1,6 @@# Fonts-The faces `@prismshadow/penguin-ui` bundles, which theme names each one, what they cost, the licence+The faces `@lmliheng/penguin-ui` bundles, which theme names each one, what they cost, the licenceeach one carries and what that licence asks of the app, and how to update them. Bundled rather thanfetched from a CDN, so the desktop build renders offline.@@ -89,7 +89,7 @@ The `penguinUi()` Vite plugin emits every text in `LICENSES/` beside the build a`fonts-licenses/<name>.txt`.**OFL-1.1 faces.** `scripts/sync-font-licenses.mjs` mirrors each fontsource package's `LICENSE` into-`LICENSES/<package>.txt` (`pnpm --filter @prismshadow/penguin-ui sync:font-licenses`, `--check` to+`LICENSES/<package>.txt` (`pnpm --filter @lmliheng/penguin-ui sync:font-licenses`, `--check` toverify without writing).**MiSans.** Xiaomi Inc. publishes MiSans under the MiSans Font Intellectual Property License@@ -117,7 +117,7 @@ What the licence asks, and where the app does it:- **MiSans:** download the official package from https://hyperos.mi.com/font/ (the site asks you toaccept the licence first), then from the repository root run`uv run packages/ui/scripts/build-misans.py <MiSans.zip>` (or `pnpm --filter- @prismshadow/penguin-ui fonts:misans /absolute/path/to/MiSans.zip`: pnpm runs the script in+ @lmliheng/penguin-ui fonts:misans /absolute/path/to/MiSans.zip`: pnpm runs the script in`packages/ui`, so a relative path would not resolve); `--check` rebuilds in a temporary directoryand compares byte for byte. The script pins the sha256 of the Regular and Medium TTFs it accepts,so a new MiSans release is a deliberate change: update the pins, rebuild, review the slices, anddiff --git a/packages/ui/src/index.ts b/packages/ui/src/index.tsindex 2a1972eb..ad3761e7 100644--- a/packages/ui/src/index.ts+++ b/packages/ui/src/index.ts@@ -1,5 +1,5 @@/**- * @prismshadow/penguin-ui — the shared UI package: token contract, themes, fonts and the+ * @lmliheng/penguin-ui — the shared UI package: token contract, themes, fonts and the* component set. Source-only: a consumer's `workspace:*` dependency is linked to this directory,* so Vite, vitest and tsc read `src/` through the `exports` map in package.json, never a build.*diff --git a/packages/ui/src/theme.css b/packages/ui/src/theme.cssindex df48ddce..f26d7178 100644--- a/packages/ui/src/theme.css+++ b/packages/ui/src/theme.css@@ -2,9 +2,9 @@* The theme foundation every consumer imports right after `@import "tailwindcss"`:** @import "tailwindcss";- * @import "@prismshadow/penguin-ui/theme.css";- * @import "@prismshadow/penguin-ui/themes/github.css"; (then modern.css, geek.css)- * @import "@prismshadow/penguin-ui/fonts.css";+ * @import "@lmliheng/penguin-ui/theme.css";+ * @import "@lmliheng/penguin-ui/themes/github.css"; (then modern.css, geek.css)+ * @import "@lmliheng/penguin-ui/fonts.css";** What lives here is theme-independent: the `dark` variant, the cascade layer order, the bridge* from the `--ui-*` token contract (tokens.ts) to Tailwind utilities, the base rules that readdiff --git a/packages/ui/test/entity-header.test.ts b/packages/ui/test/entity-header.test.tsindex 6a7dff5f..e78bf0bf 100644--- a/packages/ui/test/entity-header.test.ts+++ b/packages/ui/test/entity-header.test.ts@@ -23,7 +23,7 @@ describe("EntityHeader", () => {);it("names the thing with a level-1 heading on its rung, not in mono", () => {- expect(html).toMatch(/<h1 class="[^"]*--ui-h1-size[^"]*">@penguinharness\/goal<\/h1>/);+ expect(html).toMatch(/<h1 class="[^"]*--ui-h1-size[^"]*">@lmliheng\/goal<\/h1>/);expect(html).not.toContain("ui-display");expect(/<h1 class="([^"]*)"/.exec(html)![1]).not.toContain("font-mono");});diff --git a/packages/ui/test/font-licenses.test.ts b/packages/ui/test/font-licenses.test.tsindex 224ef7c8..0e556b0f 100644--- a/packages/ui/test/font-licenses.test.ts+++ b/packages/ui/test/font-licenses.test.ts@@ -165,7 +165,7 @@ describe("font licences", () => {const missing = fontDependencies.filter((dependency) => !mirrored.includes(`${family(dependency)}.txt`)).map((dependency) => `${dependency} → src/fonts/LICENSES/${family(dependency)}.txt`);- expect(missing, "Run `pnpm --filter @prismshadow/penguin-ui sync:font-licenses`.").toEqual([]);+ expect(missing, "Run `pnpm --filter @lmliheng/penguin-ui sync:font-licenses`.").toEqual([]);});it("are not kept for fonts the package no longer depends on or vendors", () => {diff --git a/packages/ui/test/no-app-strings.test.ts b/packages/ui/test/no-app-strings.test.tsindex 82f5ee20..a28ee68e 100644--- a/packages/ui/test/no-app-strings.test.ts+++ b/packages/ui/test/no-app-strings.test.ts@@ -20,7 +20,7 @@ import { scanSourceRoots, unscannedRoots } from "../src/testing";import { PACKAGE_DIR, REPO_ROOT, SRC_DIR } from "./helpers/paths";const APP_DICTIONARY = /(?:^|\/)(?:lib\/strings|strings-en)(?:\.tsx?)?$/;-const APP_PACKAGE = /^@prismshadow\/penguin-web(?:\/|$)/;+const APP_PACKAGE = /^@lmliheng\/penguin-web(?:\/|$)/;/** Every refused shape in one source text, as "line: what". `path` places relative specifiers. */function appStringReaches(path: string, text: string): string[] {@@ -98,8 +98,8 @@ describe("the package's copy", () => {expect(hits('import { zh } from "../../../../../web/src/i18n";')).toEqual(["1: imports ../../../../../web/src/i18n, outside packages/ui",]);- expect(hits('export { en } from "@prismshadow/penguin-web/strings-en";')).toEqual([- "1: imports @prismshadow/penguin-web/strings-en",+ expect(hits('export { en } from "@lmliheng/penguin-web/strings-en";')).toEqual([+ "1: imports @lmliheng/penguin-web/strings-en",]);expect(hits('const m = await import("../lib/strings");')).toEqual(["1: imports ../lib/strings",diff --git a/packages/ui/test/token-contract.test.ts b/packages/ui/test/token-contract.test.tsindex 4f4ce102..8c06e17d 100644--- a/packages/ui/test/token-contract.test.ts+++ b/packages/ui/test/token-contract.test.ts@@ -836,7 +836,7 @@ describe("theme import order", () => {web: join(WEB_DIR, "src", "styles.css"),...(existsSync(GALLERY) ? { gallery: join(GALLERY, "src", "styles.css") } : {}),};- const IMPORT = /@import\s+["']@prismshadow\/penguin-ui\/themes\/([\w-]+)\.css["']/g;+ const IMPORT = /@import\s+["']@lmliheng\/penguin-ui\/themes\/([\w-]+)\.css["']/g;for (const [name, file] of Object.entries(entries)) {it(`${name}: imports every theme once, the default (${DEFAULT_THEME_ID}.css) first`, () => {diff --git a/packages/web/README.md b/packages/web/README.mdindex b0b8ada3..be603315 100644--- a/packages/web/README.md+++ b/packages/web/README.md@@ -1,4 +1,4 @@-# @prismshadow/penguin-web+# @lmliheng/penguin-webThe Adelie Web App — a React 19 + Vite + Tailwind CSS 4 SPA that renders the OmniMessage stream (same protocol and statistics as the CLI) and manages Agents, Skills, Models, usage and Traces. Feature tour: [Web App Guide](https://penguin.ooo/docs/web-app).@@ -16,7 +16,7 @@ src/└── features/ # chat / agents / plugins / skills / models / usage / traces / benchmark / admin```-DTO types are imported type-only from `@prismshadow/penguin-server/api`; no server code enters the bundle. Rendering rules for streaming partials (start/delta/stop aggregation, complete-message replacement, origin-chain nesting into subagent cards) live in `lib/omni/stream-model.ts`, which is fully unit-tested.+DTO types are imported type-only from `@lmliheng/penguin-server/api`; no server code enters the bundle. Rendering rules for streaming partials (start/delta/stop aggregation, complete-message replacement, origin-chain nesting into subagent cards) live in `lib/omni/stream-model.ts`, which is fully unit-tested.## Development@@ -30,14 +30,14 @@ pnpm dev:web # Vite dev server at 127.0.0.1:7365; /api proxied (SSE passesThe proxy target defaults to `http://127.0.0.1:7368` — the development backend, kept off the installed server's 7364 so the two can run at once (`PORT` moves both, `ADELIE_API_PROXY` overrides the target outright). Auth is a same-origin HttpOnly cookie, so the proxy keeps everything same-origin.```bash-pnpm --filter @prismshadow/penguin-web typecheck-pnpm --filter @prismshadow/penguin-web test # vitest (pure logic)-pnpm --filter @prismshadow/penguin-web test:e2e # Playwright against a mock LLM-pnpm --filter @prismshadow/penguin-web build # vite build → dist/+pnpm --filter @lmliheng/penguin-web typecheck+pnpm --filter @lmliheng/penguin-web test # vitest (pure logic)+pnpm --filter @lmliheng/penguin-web test:e2e # Playwright against a mock LLM+pnpm --filter @lmliheng/penguin-web build # vite build → dist/```## Production-No separate static server needed: `@prismshadow/penguin-server` auto-hosts `packages/web/dist` (or `PENGUIN_WEB_DIST`) with an SPA fallback — build the web app, start the server, done. The published npm packages bundle the built front end.+No separate static server needed: `@lmliheng/penguin-server` auto-hosts `packages/web/dist` (or `PENGUIN_WEB_DIST`) with an SPA fallback — build the web app, start the server, done. The published npm packages bundle the built front end.Part of [Adelie](https://github.com/Prism-Shadow/penguin-harness) · Apache-2.0diff --git a/packages/web/e2e/README.md b/packages/web/e2e/README.mdindex a4324c57..8bda3874 100644--- a/packages/web/e2e/README.md+++ b/packages/web/e2e/README.md@@ -8,8 +8,8 @@ rendering, path hidden by default). The LLM is driven by `mock-llm.mjs` (a mockMessages SSE endpoint) — no network access.```sh-pnpm --filter @prismshadow/penguin-web test:e2e # build + start the server + run the tests-SKIP_BUILD=1 pnpm --filter @prismshadow/penguin-web test:e2e # skip the build+pnpm --filter @lmliheng/penguin-web test:e2e # build + start the server + run the tests+SKIP_BUILD=1 pnpm --filter @lmliheng/penguin-web test:e2e # skip the build```The first run requires `npx playwright install chromium`.diff --git a/packages/web/e2e/run.sh b/packages/web/e2e/run.shindex 874e8262..6e6560bc 100644--- a/packages/web/e2e/run.sh+++ b/packages/web/e2e/run.sh@@ -22,9 +22,9 @@ trap cleanup EXITif [ "${SKIP_BUILD:-0}" != "1" ]; thenecho "== build core/server/web =="(cd "$ROOT" \- && pnpm --filter @prismshadow/penguin-core build \- && pnpm --filter @prismshadow/penguin-server build \- && pnpm --filter @prismshadow/penguin-web build) || { echo "BUILD FAILED"; exit 1; }+ && pnpm --filter @lmliheng/penguin-core build \+ && pnpm --filter @lmliheng/penguin-server build \+ && pnpm --filter @lmliheng/penguin-web build) || { echo "BUILD FAILED"; exit 1; }fiecho "== start mock LLM =="diff --git a/packages/web/index.html b/packages/web/index.htmlindex c0d80c67..4ed60c21 100644--- a/packages/web/index.html+++ b/packages/web/index.html@@ -17,7 +17,7 @@<!-- Pre-paint theme: sets html.dark, data-theme, data-accent and the root font size from thestored preferences before the first frame, so a dark or non-default page never flashesthe light default and the first frame never renders at 16px and reflows. Must equal- BOOT_SCRIPT in @prismshadow/penguin-ui/boot byte for byte (a test compares them). -->+ BOOT_SCRIPT in @lmliheng/penguin-ui/boot byte for byte (a test compares them). --><!-- prettier-ignore --><script>(function(){try{var d=document.documentElement,s=localStorage,m=s.getItem("penguin.theme");if(m==="dark"||(m!=="light"&&matchMedia("(prefers-color-scheme: dark)").matches))d.classList.add("dark");var t=s.getItem("penguin.themeId");if(["modern","geek"].indexOf(t)>=0)d.dataset.theme=t;var a=s.getItem("penguin.accent");if(["blue","green","violet","rose","amber","ocean","clay","plum","honey","slate","orange","phosphor","cyan","magenta","gold","cobalt"].indexOf(a)>=0)d.dataset.accent=a;var l=s.getItem("penguin.fontLatin");if(["system","mona-sans","ibm-plex-sans","misans"].indexOf(l)>=0)d.dataset.fontLatin=l;var c=s.getItem("penguin.fontCjk");if(["system","noto-sans-sc","misans"].indexOf(c)>=0)d.dataset.fontCjk=c;var z=s.getItem("penguin.textSize"),g=null,o=-1;if(["xs","s","m","l","xl"].indexOf(z)<0){g=s.getItem("penguin.fontScale");o=["sm","md","lg"].indexOf(g);z=o<0?"m":["m","l","xl"][o]}d.style.fontSize={"xs":"14px","s":"15px","m":"16px","l":"18px","xl":"20px"}[z];if(g!==null){try{if(o>=0)s.setItem("penguin.textSize",z);s.removeItem("penguin.fontScale")}catch(e){}}}catch(e){}})()</script></head>diff --git a/packages/web/package.json b/packages/web/package.jsonindex 94d377cb..6efd3696 100644--- a/packages/web/package.json+++ b/packages/web/package.json@@ -1,5 +1,5 @@{- "name": "@prismshadow/penguin-web",+ "name": "@lmliheng/penguin-web","version": "0.2.13","private": true,"type": "module",@@ -13,8 +13,8 @@"test:e2e": "bash e2e/run.sh"},"dependencies": {- "@prismshadow/penguin-core": "workspace:*",- "@prismshadow/penguin-ui": "workspace:*",+ "@lmliheng/penguin-core": "workspace:*",+ "@lmliheng/penguin-ui": "workspace:*","@xterm/addon-clipboard": "^0.1.0","@xterm/addon-fit": "^0.10.0","@xterm/addon-web-links": "^0.11.0",@@ -29,7 +29,7 @@},"devDependencies": {"@playwright/test": "^1.61.1",- "@prismshadow/penguin-server": "workspace:*",+ "@lmliheng/penguin-server": "workspace:*","@tailwindcss/vite": "^4.1.0","@types/node": "^24.0.0","@types/react": "^19.1.0",diff --git a/packages/web/scripts/theme-shots.mjs b/packages/web/scripts/theme-shots.mjsindex 7dd422da..75c05f6f 100644--- a/packages/web/scripts/theme-shots.mjs+++ b/packages/web/scripts/theme-shots.mjs@@ -23,7 +23,7 @@* decoded in Chromium and compared exactly (threshold 0) — any differing pixel fails, and a diff* image with the differing pixels in red is written for inspection. Exit code 1 on any difference.*- * Prereqs: `pnpm --filter "@prismshadow/penguin-server..." build`, each variant's web dist, and+ * Prereqs: `pnpm --filter "@lmliheng/penguin-server..." build`, each variant's web dist, and* Playwright's Chromium. Local only; never committed output.*/import http from "node:http";diff --git a/packages/web/src/api/endpoints.ts b/packages/web/src/api/endpoints.tsindex f44f8400..335d65ad 100644--- a/packages/web/src/api/endpoints.ts+++ b/packages/web/src/api/endpoints.ts@@ -1,6 +1,6 @@/*** API endpoint wrappers: one function per API.- * DTO types come from @prismshadow/penguin-server/api (**type import only**, resolved via+ * DTO types come from @lmliheng/penguin-server/api (**type import only**, resolved via* tsconfig paths to the server contract file types.ts; must not be a value import — server* code must not enter the browser bundle).*/@@ -233,8 +233,8 @@ import type {BuiltinBrowserStatus,BuiltinBrowserTab,DesktopBrowserCommand,-} from "@prismshadow/penguin-server/api";-import type { MCPServerConfig } from "@prismshadow/penguin-core/interfaces";+} from "@lmliheng/penguin-server/api";+import type { MCPServerConfig } from "@lmliheng/penguin-core/interfaces";import { apiFetch, apiFetchWithMeta } from "./client";import { machineForSession, rememberSessionMachine } from "../lib/session-machines";import { apiUrl } from "../lib/server-context";diff --git a/packages/web/src/api/sse.ts b/packages/web/src/api/sse.tsindex bbe6c564..d273abda 100644--- a/packages/web/src/api/sse.ts+++ b/packages/web/src/api/sse.ts@@ -11,8 +11,8 @@* instead).* Docs: /docs/server-api § "Streaming (SSE)".*/-import type { OmniMessage } from "@prismshadow/penguin-core/omnimessage";-import type { ServerEvent } from "@prismshadow/penguin-server/api";+import type { OmniMessage } from "@lmliheng/penguin-core/omnimessage";+import type { ServerEvent } from "@lmliheng/penguin-server/api";import { apiUrl } from "../lib/server-context";import { machineForSession } from "../lib/session-machines";diff --git a/packages/web/src/api/workspace-files.ts b/packages/web/src/api/workspace-files.tsindex be02ac17..14e9d079 100644--- a/packages/web/src/api/workspace-files.ts+++ b/packages/web/src/api/workspace-files.ts@@ -17,7 +17,7 @@ import type {FilesMoveRequest,WorkspaceFilesResponse,WorkspaceSearchResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import * as api from "./endpoints";import type { WorkspaceDir } from "./endpoints";diff --git a/packages/web/src/app.tsx b/packages/web/src/app.tsxindex 1c85c23e..9866d75b 100644--- a/packages/web/src/app.tsx+++ b/packages/web/src/app.tsx@@ -17,7 +17,7 @@ import {CodeHighlighterProvider,Toaster,TooltipLayer,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { LocaleProvider, LocaleScope } from "./state/locale";import { ThemeProvider } from "./state/theme";import { AuthProvider } from "./state/auth";diff --git a/packages/web/src/components/account/change-password-dialog.tsx b/packages/web/src/components/account/change-password-dialog.tsxindex d9af8614..6b51bbbb 100644--- a/packages/web/src/components/account/change-password-dialog.tsx+++ b/packages/web/src/components/account/change-password-dialog.tsx@@ -4,7 +4,7 @@* notice banner disappears once passwordIsInitial clears. Shared by the sidebar user menu and the notice banner.*/import { useEffect, useState } from "react";-import { Button, Modal, PasswordInput } from "@prismshadow/penguin-ui";+import { Button, Modal, PasswordInput } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { ApiError } from "../../api/client";import { S } from "../../lib/strings";diff --git a/packages/web/src/components/account/update-modal.tsx b/packages/web/src/components/account/update-modal.tsxindex 91bb9d90..258e071d 100644--- a/packages/web/src/components/account/update-modal.tsx+++ b/packages/web/src/components/account/update-modal.tsx@@ -14,7 +14,7 @@* The flow and the actions live in `use-update-flow.ts`; this file only renders.*/import type { ReactNode } from "react";-import { Button, Link, Modal, ProgressBar, Spinner } from "@prismshadow/penguin-ui";+import { Button, Link, Modal, ProgressBar, Spinner } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { stripAnsi } from "../../lib/strip-ansi";import { toneInk } from "../../lib/tone";diff --git a/packages/web/src/components/account/update-row.tsx b/packages/web/src/components/account/update-row.tsxindex 19f27980..32837a4f 100644--- a/packages/web/src/components/account/update-row.tsx+++ b/packages/web/src/components/account/update-row.tsx@@ -6,7 +6,7 @@* sits muted on the right. Renders nothing where this session can update nothing. A Menu row,* like the menu's other entries.*/-import { MenuItem, Spinner } from "@prismshadow/penguin-ui";+import { MenuItem, Spinner } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { updateRowModel } from "../../lib/update-flow";import type { UpdateFlow } from "../../lib/update-flow";diff --git a/packages/web/src/components/layout/app-layout.tsx b/packages/web/src/components/layout/app-layout.tsxindex 43633fa2..e2a73457 100644--- a/packages/web/src/components/layout/app-layout.tsx+++ b/packages/web/src/components/layout/app-layout.tsx@@ -23,7 +23,7 @@ import {Tooltip,UpdateDot,UserAvatar,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { nagsAboutInitialPassword } from "../../lib/account-menu";import { S } from "../../lib/strings";diff --git a/packages/web/src/components/layout/project-dialogs.tsx b/packages/web/src/components/layout/project-dialogs.tsxindex 10b3f82c..843416c6 100644--- a/packages/web/src/components/layout/project-dialogs.tsx+++ b/packages/web/src/components/layout/project-dialogs.tsx@@ -11,7 +11,7 @@ import type {MemberInfo,ModelRefDto,ModelsResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {Badge,Button,@@ -29,7 +29,7 @@ import {Switch,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/components/layout/router-link.tsx b/packages/web/src/components/layout/router-link.tsxindex 5343f82b..f2dce2fd 100644--- a/packages/web/src/components/layout/router-link.tsx+++ b/packages/web/src/components/layout/router-link.tsx@@ -4,7 +4,7 @@* click navigates in place, and says which link is the current page.*/import { Link, matchPath } from "react-router";-import type { NavRowLinkProps } from "@prismshadow/penguin-ui";+import type { NavRowLinkProps } from "@lmliheng/penguin-ui";/** A package row's link as the router's own: the row's classes, state and content, navigating in place. */export function renderRouterLink(link: NavRowLinkProps) {diff --git a/packages/web/src/components/layout/sidebar.tsx b/packages/web/src/components/layout/sidebar.tsxindex 00cadc28..868dc6c8 100644--- a/packages/web/src/components/layout/sidebar.tsx+++ b/packages/web/src/components/layout/sidebar.tsx@@ -48,7 +48,7 @@ import type {SessionCategory,SessionCategoryCounts,SessionInfo,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {AgentAvatar,Badge,@@ -87,8 +87,8 @@ import {toastError,toastInfo,toastSuccess,-} from "@prismshadow/penguin-ui";-import type { SidebarDropTarget } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { SidebarDropTarget } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { formatRelativeShort } from "../../lib/format";diff --git a/packages/web/src/components/layout/user-menu.tsx b/packages/web/src/components/layout/user-menu.tsxindex 2ae074c7..c7d078a7 100644--- a/packages/web/src/components/layout/user-menu.tsx+++ b/packages/web/src/components/layout/user-menu.tsx@@ -17,15 +17,8 @@import { useEffect, useState } from "react";import type { ReactNode } from "react";import { useNavigate } from "react-router";-import {- ConfirmModal,- Dropdown,- ICON_GAP,- Menu,- MenuItem,- UserAvatar,-} from "@prismshadow/penguin-ui";-import type { DropdownPortal } from "@prismshadow/penguin-ui";+import { ConfirmModal, Dropdown, ICON_GAP, Menu, MenuItem, UserAvatar } from "@lmliheng/penguin-ui";+import type { DropdownPortal } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { useAuth } from "../../state/auth";import { UpdateRow } from "../account/update-row";diff --git a/packages/web/src/components/ui/chord-kbd.tsx b/packages/web/src/components/ui/chord-kbd.tsxindex c531e5f6..123db583 100644--- a/packages/web/src/components/ui/chord-kbd.tsx+++ b/packages/web/src/components/ui/chord-kbd.tsx@@ -4,7 +4,7 @@* app's to know, so this formats the chord and the shared `Kbd` draws it, in its plain look; the* caller supplies the colour.*/-import { Kbd } from "@prismshadow/penguin-ui";+import { Kbd } from "@lmliheng/penguin-ui";import { formatChord } from "../../lib/shortcuts/format";import { currentPlatform } from "../../lib/shortcuts/platform";import { keyboardLayout } from "../../lib/shortcuts/store";diff --git a/packages/web/src/components/ui/group-list.tsx b/packages/web/src/components/ui/group-list.tsxindex fa3f1981..86efb093 100644--- a/packages/web/src/components/ui/group-list.tsx+++ b/packages/web/src/components/ui/group-list.tsx@@ -4,7 +4,7 @@* icon, and the group pager in the sidebar's words. The rows themselves — the group header, the* lazy folder, the "more" row and the pager — are the shared UI package's.*/-import { GlyphIcon, ICONS, ICON_SIZE, Pager } from "@prismshadow/penguin-ui";+import { GlyphIcon, ICONS, ICON_SIZE, Pager } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import type { SessionSortMode } from "../../lib/session-order";diff --git a/packages/web/src/components/ui/session-row-menu.tsx b/packages/web/src/components/ui/session-row-menu.tsxindex 72bfc008..0429964e 100644--- a/packages/web/src/components/ui/session-row-menu.tsx+++ b/packages/web/src/components/ui/session-row-menu.tsx@@ -20,8 +20,8 @@* The surfaces themselves are the UI package's (`SessionRow`, `RowHoverActions`, the `MenuItem`* rows); this module says which actions they carry and in what words.*/-import { ICONS, MenuItem, RowHoverActions } from "@prismshadow/penguin-ui";-import type { AnchorRect, RowActionItem } from "@prismshadow/penguin-ui";+import { ICONS, MenuItem, RowHoverActions } from "@lmliheng/penguin-ui";+import type { AnchorRect, RowActionItem } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";/** One thing a Session row can do to its Session. */diff --git a/packages/web/src/components/ui/truncated.tsx b/packages/web/src/components/ui/truncated.tsxindex 8d13faa6..ee94a188 100644--- a/packages/web/src/components/ui/truncated.tsx+++ b/packages/web/src/components/ui/truncated.tsx@@ -34,7 +34,7 @@*/import { useLayoutEffect, useRef, useState } from "react";import type { CSSProperties } from "react";-import { Tooltip, usePrefersReducedMotion } from "@prismshadow/penguin-ui";+import { Tooltip, usePrefersReducedMotion } from "@lmliheng/penguin-ui";import { revealDistancePx, revealDurationMs, titleDisclosure } from "../../lib/title-reveal";export function Truncated({diff --git a/packages/web/src/features/admin/admin-users-page.tsx b/packages/web/src/features/admin/admin-users-page.tsxindex dc7d5a3d..dae4cef7 100644--- a/packages/web/src/features/admin/admin-users-page.tsx+++ b/packages/web/src/features/admin/admin-users-page.tsx@@ -6,8 +6,8 @@* with a confirmation dialog.*/import { useCallback, useEffect, useState } from "react";-import type { UserInfo } from "@prismshadow/penguin-server/api";-import { Badge, Button, Input, Modal, PasswordInput } from "@prismshadow/penguin-ui";+import type { UserInfo } from "@lmliheng/penguin-server/api";+import { Badge, Button, Input, Modal, PasswordInput } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { ApiError } from "../../api/client";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/agents/agent-settings-page.tsx b/packages/web/src/features/agents/agent-settings-page.tsxindex d5f7f12b..4cbaf51a 100644--- a/packages/web/src/features/agents/agent-settings-page.tsx+++ b/packages/web/src/features/agents/agent-settings-page.tsx@@ -20,8 +20,8 @@ import type {AgentCompactionConfigDto,AgentKernelUpdateResponse,AgentModelConfigDto,-} from "@prismshadow/penguin-server/api";-import type { ToolDefinitionConfig, ToolPermission } from "@prismshadow/penguin-core/interfaces";+} from "@lmliheng/penguin-server/api";+import type { ToolDefinitionConfig, ToolPermission } from "@lmliheng/penguin-core/interfaces";import {Button,Card,@@ -49,8 +49,8 @@ import {toastError,toastInfo,toastSuccess,-} from "@prismshadow/penguin-ui";-import type { OptionMenuChoice } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { OptionMenuChoice } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { ApiError } from "../../api/client";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/agents/agents-page.tsx b/packages/web/src/features/agents/agents-page.tsxindex cd60bac0..20a91bb4 100644--- a/packages/web/src/features/agents/agents-page.tsx+++ b/packages/web/src/features/agents/agents-page.tsx@@ -25,7 +25,7 @@ import type {AgentCreateRequest,PluginItem,SkillMetadataItem,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {AgentAvatar,Badge,@@ -54,7 +54,7 @@ import {UpdatePill,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/agents/hooks-tab.tsx b/packages/web/src/features/agents/hooks-tab.tsxindex be87d620..28592782 100644--- a/packages/web/src/features/agents/hooks-tab.tsx+++ b/packages/web/src/features/agents/hooks-tab.tsx@@ -21,7 +21,7 @@*/import { useCallback, useEffect, useState } from "react";import type { ChangeEvent } from "react";-import type { HookItem } from "@prismshadow/penguin-server/api";+import type { HookItem } from "@lmliheng/penguin-server/api";import {Badge,Button,@@ -41,7 +41,7 @@ import {toastError,toastSuccess,useCopied,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { ApiError } from "../../api/client";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/agents/mcp-servers-form.ts b/packages/web/src/features/agents/mcp-servers-form.tsindex f5bc0f9e..8cc2270a 100644--- a/packages/web/src/features/agents/mcp-servers-form.ts+++ b/packages/web/src/features/agents/mcp-servers-form.ts@@ -8,7 +8,7 @@* codes (plus a line number for the multiline fields); the component maps them to* localized messages.*/-import type { MCPServerConfig, ToolPermission } from "@prismshadow/penguin-core/interfaces";+import type { MCPServerConfig, ToolPermission } from "@lmliheng/penguin-core/interfaces";export type McpTransportKind = "stdio" | "http" | "sse";diff --git a/packages/web/src/features/agents/mcp-servers-section.tsx b/packages/web/src/features/agents/mcp-servers-section.tsxindex 87b01f5c..b98a2165 100644--- a/packages/web/src/features/agents/mcp-servers-section.tsx+++ b/packages/web/src/features/agents/mcp-servers-section.tsx@@ -17,7 +17,7 @@* remote server is able to do.*/import { useState } from "react";-import type { MCPServerConfig } from "@prismshadow/penguin-core/interfaces";+import type { MCPServerConfig } from "@lmliheng/penguin-core/interfaces";import {Button,ConfirmModal,@@ -36,10 +36,10 @@ import {Textarea,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";-import type { OptionMenuChoice } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { OptionMenuChoice } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";-import type { McpServerTestResponse } from "@prismshadow/penguin-server/api";+import type { McpServerTestResponse } from "@lmliheng/penguin-server/api";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";import { useProject } from "../../state/project";diff --git a/packages/web/src/features/agents/memory-tab.tsx b/packages/web/src/features/agents/memory-tab.tsxindex e4d2f48e..0d6505d7 100644--- a/packages/web/src/features/agents/memory-tab.tsx+++ b/packages/web/src/features/agents/memory-tab.tsx@@ -28,7 +28,7 @@ import type {MemoryImportMode,MemoryScopeExport,MemoryScopeInfo,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {Button,Card,@@ -59,8 +59,8 @@ import {toastError,toastSuccess,useCopied,-} from "@prismshadow/penguin-ui";-import type { SheetSnap } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { SheetSnap } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/agents/memory-transfer.ts b/packages/web/src/features/agents/memory-transfer.tsindex 66b6dc1e..22563c30 100644--- a/packages/web/src/features/agents/memory-transfer.ts+++ b/packages/web/src/features/agents/memory-transfer.ts@@ -15,7 +15,7 @@ import type {MemoryImportMode,MemoryScopeExport,MemoryTransferFile,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import { S } from "../../lib/strings";/** Format marker of a scope document, typed against the DTO so this literal cannot drift from the server's. */diff --git a/packages/web/src/features/agents/prompt-injection-controls.tsx b/packages/web/src/features/agents/prompt-injection-controls.tsxindex 2b2b07c5..074c6048 100644--- a/packages/web/src/features/agents/prompt-injection-controls.tsx+++ b/packages/web/src/features/agents/prompt-injection-controls.tsx@@ -27,7 +27,7 @@ import type {AgentSchedulesConfigDto,AgentSkillsConfigDto,AgentVaultConfigDto,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {Button,Card,@@ -37,7 +37,7 @@ import {ToggleRow,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/agents/save-confirm.tsx b/packages/web/src/features/agents/save-confirm.tsxindex 4e8a7c76..b86f7201 100644--- a/packages/web/src/features/agents/save-confirm.tsx+++ b/packages/web/src/features/agents/save-confirm.tsx@@ -6,7 +6,7 @@*/import { useState } from "react";import type { ReactNode } from "react";-import { ConfirmModal } from "@prismshadow/penguin-ui";+import { ConfirmModal } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";export function useSaveConfirm(): {diff --git a/packages/web/src/features/agents/schedules-tab.tsx b/packages/web/src/features/agents/schedules-tab.tsxindex de85466d..f921f259 100644--- a/packages/web/src/features/agents/schedules-tab.tsx+++ b/packages/web/src/features/agents/schedules-tab.tsx@@ -19,11 +19,7 @@* task files itself; the toggle never stops the server from firing configured tasks.*/import { useCallback, useEffect, useState } from "react";-import type {- ScheduleItem,- SchedulesResponse,- ScheduleStatus,-} from "@prismshadow/penguin-server/api";+import type { ScheduleItem, SchedulesResponse, ScheduleStatus } from "@lmliheng/penguin-server/api";import {Badge,Button,@@ -39,8 +35,8 @@ import {TableRow,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";-import type { BadgeStyle } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { BadgeStyle } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/agents/skills-tab.tsx b/packages/web/src/features/agents/skills-tab.tsxindex 3b731454..c1f4f5d6 100644--- a/packages/web/src/features/agents/skills-tab.tsx+++ b/packages/web/src/features/agents/skills-tab.tsx@@ -19,7 +19,7 @@*/import { useCallback, useEffect, useState } from "react";import type { ChangeEvent } from "react";-import type { SkillMetadataItem } from "@prismshadow/penguin-server/api";+import type { SkillMetadataItem } from "@lmliheng/penguin-server/api";import {Button,Card,@@ -41,7 +41,7 @@ import {toastError,toastSuccess,useCopied,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { ApiError } from "../../api/client";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/agents/snapshot-file.ts b/packages/web/src/features/agents/snapshot-file.tsindex 6744a36c..b24db4a5 100644--- a/packages/web/src/features/agents/snapshot-file.ts+++ b/packages/web/src/features/agents/snapshot-file.ts@@ -1,5 +1,5 @@/** Picking and reading Agent State snapshot packages (`<agentId>-v<n>.tar.gz`). */-import { buttonClass } from "@prismshadow/penguin-ui";+import { buttonClass } from "@lmliheng/penguin-ui";/*** The button look on the `<a download>` / `<label>` the transfer actions and the snapshot pickerdiff --git a/packages/web/src/features/agents/vault-tab.tsx b/packages/web/src/features/agents/vault-tab.tsxindex 252fcfab..28b07a06 100644--- a/packages/web/src/features/agents/vault-tab.tsx+++ b/packages/web/src/features/agents/vault-tab.tsx@@ -14,7 +14,7 @@* vault.prompt section, mirroring the Memory tab — owner-only, like the table edits.*/import { useCallback, useEffect, useState } from "react";-import type { VaultEntryInfo, VaultUpdateRequest } from "@prismshadow/penguin-server/api";+import type { VaultEntryInfo, VaultUpdateRequest } from "@lmliheng/penguin-server/api";import {Button,ConfirmModal,@@ -27,7 +27,7 @@ import {SkeletonList,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/ai-create/ai-bridge.ts b/packages/web/src/features/ai-create/ai-bridge.tsindex d2df3f07..0721e2fb 100644--- a/packages/web/src/features/ai-create/ai-bridge.ts+++ b/packages/web/src/features/ai-create/ai-bridge.ts@@ -13,7 +13,7 @@*/import { useCallback } from "react";import { useNavigate } from "react-router";-import type { ModelRefDto } from "@prismshadow/penguin-server/api";+import type { ModelRefDto } from "@lmliheng/penguin-server/api";import { useAuth } from "../../state/auth";import { useProject } from "../../state/project";import { DRAFT_SESSION_ID } from "../chat/chat-page";diff --git a/packages/web/src/features/ai-create/ai-create-buttons.tsx b/packages/web/src/features/ai-create/ai-create-buttons.tsxindex eccbd1d3..eb8a039f 100644--- a/packages/web/src/features/ai-create/ai-create-buttons.tsx+++ b/packages/web/src/features/ai-create/ai-create-buttons.tsx@@ -3,8 +3,8 @@* "Create with AI" / "Create manually" unless the object has a verb of its own ("Import with* AI" / "Import manually").*/-import { CreateButtons } from "@prismshadow/penguin-ui";-import type { CreateButtonsProps } from "@prismshadow/penguin-ui";+import { CreateButtons } from "@lmliheng/penguin-ui";+import type { CreateButtonsProps } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";export type AiCreateButtonsProps = Omit<CreateButtonsProps, "aiLabel" | "manualLabel"> & {diff --git a/packages/web/src/features/ai-create/ai-create-modal.tsx b/packages/web/src/features/ai-create/ai-create-modal.tsxindex 9e56351c..10642071 100644--- a/packages/web/src/features/ai-create/ai-create-modal.tsx+++ b/packages/web/src/features/ai-create/ai-create-modal.tsx@@ -6,7 +6,7 @@* dialog starts from `initialValue` again.*/import { useState } from "react";-import { Button, GlyphIcon, ICONS, Modal } from "@prismshadow/penguin-ui";+import { Button, GlyphIcon, ICONS, Modal } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { useAiBridge } from "./ai-bridge";import { AiCreatePanel } from "./ai-create-panel";diff --git a/packages/web/src/features/ai-create/ai-create-panel.tsx b/packages/web/src/features/ai-create/ai-create-panel.tsxindex 19a0af24..c201e401 100644--- a/packages/web/src/features/ai-create/ai-create-panel.tsx+++ b/packages/web/src/features/ai-create/ai-create-panel.tsx@@ -7,8 +7,8 @@*/import { useLayoutEffect, useRef } from "react";import type { ReactNode } from "react";-import type { AgentSummary } from "@prismshadow/penguin-server/api";-import { CopyButton, HelpFold, Select, Textarea } from "@prismshadow/penguin-ui";+import type { AgentSummary } from "@lmliheng/penguin-server/api";+import { CopyButton, HelpFold, Select, Textarea } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { toneInk } from "../../lib/tone";import { agentDisplayName } from "../../state/project";diff --git a/packages/web/src/features/ai-create/default-agent.ts b/packages/web/src/features/ai-create/default-agent.tsindex d4265e6f..1d79ac33 100644--- a/packages/web/src/features/ai-create/default-agent.ts+++ b/packages/web/src/features/ai-create/default-agent.ts@@ -8,7 +8,7 @@* any other agent may lack. The first agent is the fallback for a Project whose default agent* was deleted; an empty list yields null and the caller disables sending.*/-import type { AgentSummary } from "@prismshadow/penguin-server/api";+import type { AgentSummary } from "@lmliheng/penguin-server/api";export const DEFAULT_AGENT_ID = "default_agent";diff --git a/packages/web/src/features/benchmark/benchmark-case-browser.tsx b/packages/web/src/features/benchmark/benchmark-case-browser.tsxindex 3d76cabf..0b9d6c75 100644--- a/packages/web/src/features/benchmark/benchmark-case-browser.tsx+++ b/packages/web/src/features/benchmark/benchmark-case-browser.tsx@@ -16,9 +16,9 @@ import type {BenchmarkCaseSummary,CaseMaterial,WorkspaceFileEntry,-} from "@prismshadow/penguin-server/api";-import { Badge, FileBrowser } from "@prismshadow/penguin-ui";-import type { FileBrowserPreview, FileTreeRow, TreeToggle } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-server/api";+import { Badge, FileBrowser } from "@lmliheng/penguin-ui";+import type { FileBrowserPreview, FileTreeRow, TreeToggle } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { apiErrorText } from "../../lib/api-error";import { joinWorkspacePath } from "../../lib/file-path";diff --git a/packages/web/src/features/benchmark/benchmark-detail-page.tsx b/packages/web/src/features/benchmark/benchmark-detail-page.tsxindex 5278976b..57935c59 100644--- a/packages/web/src/features/benchmark/benchmark-detail-page.tsx+++ b/packages/web/src/features/benchmark/benchmark-detail-page.tsx@@ -7,7 +7,7 @@*/import { useEffect, useState } from "react";import { useNavigate, useParams } from "react-router";-import type { ModelsResponse } from "@prismshadow/penguin-server/api";+import type { ModelsResponse } from "@lmliheng/penguin-server/api";import {Button,CopyButton,@@ -15,7 +15,7 @@ import {PageFrame,PageHeader,Skeleton,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import type { MergedBenchmark } from "../../lib/benchmark-merge";import { nameOnMachine } from "../../lib/workspace-machines";diff --git a/packages/web/src/features/benchmark/benchmark-detail.tsx b/packages/web/src/features/benchmark/benchmark-detail.tsxindex 4c9137bc..83b27846 100644--- a/packages/web/src/features/benchmark/benchmark-detail.tsx+++ b/packages/web/src/features/benchmark/benchmark-detail.tsx@@ -10,7 +10,7 @@* from when there is more than one, and a case's files come from the machine that listed it.*/import { useEffect, useState } from "react";-import type { BenchmarkCaseSummary, BenchmarkEvaluation } from "@prismshadow/penguin-server/api";+import type { BenchmarkCaseSummary, BenchmarkEvaluation } from "@lmliheng/penguin-server/api";import {AgentAvatar,Button,@@ -33,8 +33,8 @@ import {makeRangeGeom,segmentPoints,useChartWidth,-} from "@prismshadow/penguin-ui";-import type { ChartPaint } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { ChartPaint } from "@lmliheng/penguin-ui";import type { MergedBenchmark, MergedCase } from "../../lib/benchmark-merge";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/benchmark/benchmark-metrics.ts b/packages/web/src/features/benchmark/benchmark-metrics.tsindex 98a0bb4c..18888f77 100644--- a/packages/web/src/features/benchmark/benchmark-metrics.ts+++ b/packages/web/src/features/benchmark/benchmark-metrics.ts@@ -7,7 +7,7 @@* runtime are the trend the loop exists to show, so they stay on one line, and each point* carries its version in the chart's hover label and in the evaluation table's own column.*/-import type { LinePoint } from "@prismshadow/penguin-ui";+import type { LinePoint } from "@lmliheng/penguin-ui";/** Minimal Evaluation shape needed to read Score (BenchmarkEvaluation is a superset). */export interface MetricSourceLike {diff --git a/packages/web/src/features/benchmark/benchmark-page.tsx b/packages/web/src/features/benchmark/benchmark-page.tsxindex 327f0f90..0a07e5d4 100644--- a/packages/web/src/features/benchmark/benchmark-page.tsx+++ b/packages/web/src/features/benchmark/benchmark-page.tsx@@ -12,11 +12,7 @@*/import { useEffect, useState } from "react";import { useNavigate, useSearchParams } from "react-router";-import type {- AgentSummary,- BenchmarkSummary,- ModelsResponse,-} from "@prismshadow/penguin-server/api";+import type { AgentSummary, BenchmarkSummary, ModelsResponse } from "@lmliheng/penguin-server/api";import {AgentAvatar,AvatarStack,@@ -37,7 +33,7 @@ import {Sparkline,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/benchmark/create-benchmark-modal.tsx b/packages/web/src/features/benchmark/create-benchmark-modal.tsxindex 80edaaff..e32f8a1d 100644--- a/packages/web/src/features/benchmark/create-benchmark-modal.tsx+++ b/packages/web/src/features/benchmark/create-benchmark-modal.tsx@@ -7,7 +7,7 @@* discriminating) sit behind the "?" marks. Mounted fresh on every open.*/import { useRef, useState } from "react";-import type { BenchmarkSummary } from "@prismshadow/penguin-server/api";+import type { BenchmarkSummary } from "@lmliheng/penguin-server/api";import {Button,FieldLabel,@@ -20,7 +20,7 @@ import {PlusIcon,Textarea,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { ApiError } from "../../api/client";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/benchmark/evaluation-detail-modal.tsx b/packages/web/src/features/benchmark/evaluation-detail-modal.tsxindex dcddae3c..9c09761f 100644--- a/packages/web/src/features/benchmark/evaluation-detail-modal.tsx+++ b/packages/web/src/features/benchmark/evaluation-detail-modal.tsx@@ -9,7 +9,7 @@* result instead of explaining it on screen, since the explanation lives in the Traces.*/import { useState } from "react";-import type { BenchmarkCaseScore, BenchmarkEvaluation } from "@prismshadow/penguin-server/api";+import type { BenchmarkCaseScore, BenchmarkEvaluation } from "@lmliheng/penguin-server/api";import {AgentAvatar,Button,@@ -19,7 +19,7 @@ import {ICON_GAP,ICON_SIZE,Modal,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { formatDateTime, formatMoney, formatScore, humanizeDuration } from "../../lib/format";import type { Currency } from "../../state/theme";diff --git a/packages/web/src/features/benchmark/use-benchmark-modal.tsx b/packages/web/src/features/benchmark/use-benchmark-modal.tsxindex 1f4db3cd..da8d48a8 100644--- a/packages/web/src/features/benchmark/use-benchmark-modal.tsx+++ b/packages/web/src/features/benchmark/use-benchmark-modal.tsx@@ -23,7 +23,7 @@ import type {BenchmarkSummary,ModelRefDto,ModelsResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {Button,FieldHint,@@ -36,7 +36,7 @@ import {Segmented,Select,Textarea,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { formatScore } from "../../lib/format";diff --git a/packages/web/src/features/builtin-browser/address-bar.tsx b/packages/web/src/features/builtin-browser/address-bar.tsxindex e59633b4..2bfd8761 100644--- a/packages/web/src/features/builtin-browser/address-bar.tsx+++ b/packages/web/src/features/builtin-browser/address-bar.tsx@@ -12,8 +12,8 @@import { useEffect, useId, useRef, useState } from "react";import type { KeyboardEvent as ReactKeyboardEvent, Ref } from "react";import { createPortal } from "react-dom";-import type { BuiltinBrowserHistoryEntry } from "@prismshadow/penguin-server/api";-import { noAutofill, sizeTextClass } from "@prismshadow/penguin-ui";+import type { BuiltinBrowserHistoryEntry } from "@lmliheng/penguin-server/api";+import { noAutofill, sizeTextClass } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { displayAddress, normalizeAddress } from "./address";diff --git a/packages/web/src/features/builtin-browser/browser-actions.ts b/packages/web/src/features/builtin-browser/browser-actions.tsindex 918d1cdd..7a95f67f 100644--- a/packages/web/src/features/builtin-browser/browser-actions.ts+++ b/packages/web/src/features/builtin-browser/browser-actions.ts@@ -2,8 +2,8 @@* The built-in browser's round trips to the server, each paired with the local change that* makes it feel immediate. Components call these; none of them throws.*/-import type { BuiltinBrowserTab } from "@prismshadow/penguin-server/api";-import { toastError } from "@prismshadow/penguin-ui";+import type { BuiltinBrowserTab } from "@lmliheng/penguin-server/api";+import { toastError } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { ApiError } from "../../api/client";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/builtin-browser/browser-events.ts b/packages/web/src/features/builtin-browser/browser-events.tsindex 4b04b4e5..a185c083 100644--- a/packages/web/src/features/builtin-browser/browser-events.ts+++ b/packages/web/src/features/builtin-browser/browser-events.ts@@ -4,7 +4,7 @@* subscriber. Module level and free of dependencies, because the connection outlives every* page and the session list's store has no business knowing what the browser does with them.*/-import type { BuiltinBrowserServerEvent, ServerEvent } from "@prismshadow/penguin-server/api";+import type { BuiltinBrowserServerEvent, ServerEvent } from "@lmliheng/penguin-server/api";export function isBuiltinBrowserEvent(ev: ServerEvent): ev is BuiltinBrowserServerEvent {return (diff --git a/packages/web/src/features/builtin-browser/browser-layer.tsx b/packages/web/src/features/builtin-browser/browser-layer.tsxindex 58e756ce..65937ff4 100644--- a/packages/web/src/features/builtin-browser/browser-layer.tsx+++ b/packages/web/src/features/builtin-browser/browser-layer.tsx@@ -37,8 +37,8 @@ import {useSyncExternalStore,} from "react";import type { CSSProperties } from "react";-import type { BuiltinBrowserLoadWarning } from "@prismshadow/penguin-server/api";-import { toastAttention } from "@prismshadow/penguin-ui";+import type { BuiltinBrowserLoadWarning } from "@lmliheng/penguin-server/api";+import { toastAttention } from "@lmliheng/penguin-ui";import { toneInk } from "../../lib/tone";import { currentDockScope, isTabShown, openPanel } from "../dock/dock-state";import { isBlankUrl } from "./address";diff --git a/packages/web/src/features/builtin-browser/browser-panel.tsx b/packages/web/src/features/builtin-browser/browser-panel.tsxindex 409fb7de..b2151807 100644--- a/packages/web/src/features/builtin-browser/browser-panel.tsx+++ b/packages/web/src/features/builtin-browser/browser-panel.tsx@@ -12,7 +12,7 @@* desktop app, an older shell) the panel says so instead.*/import { useEffect, useLayoutEffect, useRef, useState, useSyncExternalStore } from "react";-import { Button, EmptyState } from "@prismshadow/penguin-ui";+import { Button, EmptyState } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { isBlankUrl, isWebUrl } from "./address";import { activateBrowserTab, closeBrowserTab, openBrowserTab } from "./browser-actions";diff --git a/packages/web/src/features/builtin-browser/browser-state.ts b/packages/web/src/features/builtin-browser/browser-state.tsindex 6416d45a..ab9d26f8 100644--- a/packages/web/src/features/builtin-browser/browser-state.ts+++ b/packages/web/src/features/builtin-browser/browser-state.ts@@ -24,7 +24,7 @@ import type {BuiltinBrowserSettings,BuiltinBrowserStatus,BuiltinBrowserTab,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import { BLANK_URL, tabAddress } from "./address";/** One webview this window hosts. */diff --git a/packages/web/src/features/builtin-browser/browser-tab-strip.tsx b/packages/web/src/features/builtin-browser/browser-tab-strip.tsxindex 1dddc8df..82ed8aa3 100644--- a/packages/web/src/features/builtin-browser/browser-tab-strip.tsx+++ b/packages/web/src/features/builtin-browser/browser-tab-strip.tsx@@ -12,8 +12,8 @@* warns about memory a small warning mark — each named in the tab's tooltip.*/import { useState } from "react";-import type { BuiltinBrowserTab } from "@prismshadow/penguin-server/api";-import { CloseIcon, GlyphIcon, ICONS, ICON_SIZE, PlusIcon, Spinner } from "@prismshadow/penguin-ui";+import type { BuiltinBrowserTab } from "@lmliheng/penguin-server/api";+import { CloseIcon, GlyphIcon, ICONS, ICON_SIZE, PlusIcon, Spinner } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { toneDot, toneInk } from "../../lib/tone";import { faviconSrc, isBlankUrl, tabLabel } from "./address";diff --git a/packages/web/src/features/builtin-browser/browser-toolbar.tsx b/packages/web/src/features/builtin-browser/browser-toolbar.tsxindex 99bd7cc1..0ea9e332 100644--- a/packages/web/src/features/builtin-browser/browser-toolbar.tsx+++ b/packages/web/src/features/builtin-browser/browser-toolbar.tsx@@ -11,7 +11,7 @@*/import { useState } from "react";import type { ReactNode, Ref } from "react";-import type { BuiltinBrowserTab } from "@prismshadow/penguin-server/api";+import type { BuiltinBrowserTab } from "@lmliheng/penguin-server/api";import {CloseIcon,Dropdown,@@ -22,7 +22,7 @@ import {MenuItem,MenuSeparator,Tooltip,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { toneInk } from "../../lib/tone";import { AddressBar } from "./address-bar";diff --git a/packages/web/src/features/builtin-browser/clear-data-dialog.tsx b/packages/web/src/features/builtin-browser/clear-data-dialog.tsxindex dde082e5..bf426274 100644--- a/packages/web/src/features/builtin-browser/clear-data-dialog.tsx+++ b/packages/web/src/features/builtin-browser/clear-data-dialog.tsx@@ -4,7 +4,7 @@* on each opening; the confirm stays disabled while none is.*/import { useEffect, useState } from "react";-import { Checkbox, ConfirmModal, toastError, toastSuccess } from "@prismshadow/penguin-ui";+import { Checkbox, ConfirmModal, toastError, toastSuccess } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import type { BuiltinBrowserStorage } from "../../api/endpoints";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/builtin-browser/homepage-dialog.tsx b/packages/web/src/features/builtin-browser/homepage-dialog.tsxindex c585beeb..a356c1d7 100644--- a/packages/web/src/features/builtin-browser/homepage-dialog.tsx+++ b/packages/web/src/features/builtin-browser/homepage-dialog.tsx@@ -9,7 +9,7 @@* opening starts from the homepage as saved.*/import { useState } from "react";-import { Button, Input, Modal, toastError } from "@prismshadow/penguin-ui";+import { Button, Input, Modal, toastError } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { apiErrorText } from "../../lib/api-error";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/builtin-browser/import-dialog.tsx b/packages/web/src/features/builtin-browser/import-dialog.tsxindex 8f4d7108..4eae4fc0 100644--- a/packages/web/src/features/builtin-browser/import-dialog.tsx+++ b/packages/web/src/features/builtin-browser/import-dialog.tsx@@ -7,8 +7,8 @@ import { useEffect, useState } from "react";import type {BuiltinBrowserImportResult,BuiltinBrowserImportSource,-} from "@prismshadow/penguin-server/api";-import { Button, Checkbox, FieldLabel, Input, Modal, Radio } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-server/api";+import { Button, Checkbox, FieldLabel, Input, Modal, Radio } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { apiErrorText } from "../../lib/api-error";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/builtin-browser/import-options.ts b/packages/web/src/features/builtin-browser/import-options.tsindex 122cfa57..83784f1e 100644--- a/packages/web/src/features/builtin-browser/import-options.ts+++ b/packages/web/src/features/builtin-browser/import-options.ts@@ -7,7 +7,7 @@ import type {BuiltinBrowserImportBrowser,BuiltinBrowserImportRequest,BuiltinBrowserImportSource,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";export interface SourceGroup {browser: BuiltinBrowserImportBrowser;diff --git a/packages/web/src/features/builtin-browser/load.ts b/packages/web/src/features/builtin-browser/load.tsindex 310a17fc..615b53ad 100644--- a/packages/web/src/features/builtin-browser/load.ts+++ b/packages/web/src/features/builtin-browser/load.ts@@ -6,7 +6,7 @@import type {BuiltinBrowserLoadWarning,BuiltinBrowserMetrics,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import { S } from "../../lib/strings";import type { Strings } from "../../lib/strings";diff --git a/packages/web/src/features/chat/agent-handoff.ts b/packages/web/src/features/chat/agent-handoff.tsindex 2420590f..21adcc6d 100644--- a/packages/web/src/features/chat/agent-handoff.ts+++ b/packages/web/src/features/chat/agent-handoff.ts@@ -10,24 +10,24 @@** The origin **marker blocks** these flows produce and render — `[handoff_from]`,* `[scheduled_task]`, `[model_switch_from]` — are defined in core's marker module- * (`@prismshadow/penguin-core/markers`) alongside every other message marker, and are+ * (`@lmliheng/penguin-core/markers`) alongside every other message marker, and are* re-exported below under this feature's existing names.*/-import { buildHandoffMessage, buildModelSwitchMessage } from "@prismshadow/penguin-core/markers";-import type { AgentSummary } from "@prismshadow/penguin-server/api";+import { buildHandoffMessage, buildModelSwitchMessage } from "@lmliheng/penguin-core/markers";+import type { AgentSummary } from "@lmliheng/penguin-server/api";export {parseBackgroundTaskDoneMessage,parseHandoffMessage,parseModelSwitchMessage,parseScheduledMessage,-} from "@prismshadow/penguin-core/markers";+} from "@lmliheng/penguin-core/markers";export type {BackgroundTaskDone,HandoffOrigin,ModelSwitchOrigin,ScheduledOrigin,-} from "@prismshadow/penguin-core/markers";+} from "@lmliheng/penguin-core/markers";/** First message of an `/agent` handoff conversation (core's `[handoff_from]` origin block). */export const handoffMessage = buildHandoffMessage;diff --git a/packages/web/src/features/chat/agent-topology-view.tsx b/packages/web/src/features/chat/agent-topology-view.tsxindex 5796a880..b4534820 100644--- a/packages/web/src/features/chat/agent-topology-view.tsx+++ b/packages/web/src/features/chat/agent-topology-view.tsx@@ -7,7 +7,7 @@* Each child node shows its wall-clock elapsed time (ticking while it runs, frozen at its last* activity when done — never a sum of its items); the root carries no stamps and shows none.*/-import { AgentAvatar, DurationSlot, StatusIcon } from "@prismshadow/penguin-ui";+import { AgentAvatar, DurationSlot, StatusIcon } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { layoutTopology, NODE_H, NODE_W } from "./agent-topology";import type { TopologyNode } from "./agent-topology";diff --git a/packages/web/src/features/chat/approval-mode.ts b/packages/web/src/features/chat/approval-mode.tsindex 30c66e4e..deb0039f 100644--- a/packages/web/src/features/chat/approval-mode.ts+++ b/packages/web/src/features/chat/approval-mode.ts@@ -13,7 +13,7 @@* the mode in effect ticked instead of a list with nothing selected. Picking any other mode* drops it from the list.*/-import type { ApprovalMode, SessionInfo } from "@prismshadow/penguin-server/api";+import type { ApprovalMode, SessionInfo } from "@lmliheng/penguin-server/api";/** Every approval mode, in the picker's order. */export const APPROVAL_MODES: readonly ApprovalMode[] = [diff --git a/packages/web/src/features/chat/attached-files-banner.tsx b/packages/web/src/features/chat/attached-files-banner.tsxindex 1f745f6c..96d7fb82 100644--- a/packages/web/src/features/chat/attached-files-banner.tsx+++ b/packages/web/src/features/chat/attached-files-banner.tsx@@ -6,7 +6,7 @@* rendered as usual by the caller. It keeps the same visual language as message-level notices;* the caller owns its user-side alignment and timestamp footer.*/-import { GlyphIcon } from "@prismshadow/penguin-ui";+import { GlyphIcon } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { attachmentFileName } from "../../lib/attachments";diff --git a/packages/web/src/features/chat/background-done-banner.tsx b/packages/web/src/features/chat/background-done-banner.tsxindex 4a716bb2..a3bdc4bb 100644--- a/packages/web/src/features/chat/background-done-banner.tsx+++ b/packages/web/src/features/chat/background-done-banner.tsx@@ -12,7 +12,7 @@ import {DISCLOSURE_OUTPUT_PRE_CLASS,DisclosureRow,StatusIcon,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import type { BackgroundTaskDone } from "./agent-handoff";diff --git a/packages/web/src/features/chat/chat-defaults-event.ts b/packages/web/src/features/chat/chat-defaults-event.tsindex 4f95dcc4..d26287e9 100644--- a/packages/web/src/features/chat/chat-defaults-event.ts+++ b/packages/web/src/features/chat/chat-defaults-event.ts@@ -7,7 +7,7 @@* already holds. Same-tab only by design — other tabs (and the stripped localStorage cache)* pick the new defaults up on their next /chat/new mount.*/-import type { ChatDefaultsDto, ModelRefDto } from "@prismshadow/penguin-server/api";+import type { ChatDefaultsDto, ModelRefDto } from "@lmliheng/penguin-server/api";export const CHAT_DEFAULTS_CHANGED_EVENT = "penguin:chat-defaults-changed";diff --git a/packages/web/src/features/chat/chat-input.tsx b/packages/web/src/features/chat/chat-input.tsxindex f5dfe50a..af79852f 100644--- a/packages/web/src/features/chat/chat-input.tsx+++ b/packages/web/src/features/chat/chat-input.tsx@@ -94,7 +94,7 @@ import type {SessionStatus,SkillMetadataItem,TaskInputPart,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {AgentAvatar,Button,@@ -119,8 +119,8 @@ import {noAutofill,toastError,toastInfo,-} from "@prismshadow/penguin-ui";-import type { MenuSelectOption, TagInputChip } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { MenuSelectOption, TagInputChip } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { formatBytes, humanizeTokens } from "../../lib/format";import { useLocale } from "../../state/locale";diff --git a/packages/web/src/features/chat/chat-page.tsx b/packages/web/src/features/chat/chat-page.tsxindex c4a7f523..d20a45a7 100644--- a/packages/web/src/features/chat/chat-page.tsx+++ b/packages/web/src/features/chat/chat-page.tsx@@ -31,7 +31,7 @@ import type {SessionStatus,SkillMetadataItem,TaskInputPart,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {ActivityIcon,Button,@@ -51,7 +51,7 @@ import {toastError,toastInfo,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { switchDeskModel } from "../company/desk-model";import { useCompany } from "../../state/company";@@ -133,7 +133,7 @@ import { modelLabel } from "./model-select";import { sessionModelPickerDisabled, sessionRowStale, switchContextShape } from "./model-switch";import type { SwitchContextShape } from "./model-switch";import { hasConfiguredKey, promotedPricing, sameModelRef } from "../models/model-grouping";-import { providerInfo } from "@prismshadow/penguin-core/model-catalog";+import { providerInfo } from "@lmliheng/penguin-core/model-catalog";import { WorkspaceBrowser } from "./workspace-browser";import { ChatMemoryView } from "./memory-view";import { useMemoryListing } from "./use-memory-listing";diff --git a/packages/web/src/features/chat/code-highlight.ts b/packages/web/src/features/chat/code-highlight.tsindex 299761ef..c6e70703 100644--- a/packages/web/src/features/chat/code-highlight.ts+++ b/packages/web/src/features/chat/code-highlight.ts@@ -6,7 +6,7 @@* The worker client is imported on the first call, not up front, so it stays in a chunk of its own* that a session with no code block never fetches — as it did when the code block imported it.*/-import type { CodeHighlighter } from "@prismshadow/penguin-ui";+import type { CodeHighlighter } from "@lmliheng/penguin-ui";export const highlightCode: CodeHighlighter = (code, language, options) =>import("./highlighter").then((mod) => mod.highlightToHtml(code, language, options));diff --git a/packages/web/src/features/chat/compaction-banner.tsx b/packages/web/src/features/chat/compaction-banner.tsxindex 38e13a7d..032b9971 100644--- a/packages/web/src/features/chat/compaction-banner.tsx+++ b/packages/web/src/features/chat/compaction-banner.tsx@@ -51,7 +51,7 @@ import {Md,StatusIcon,StepBanner,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { humanizeDuration } from "../../lib/format";import type { CompactionItem } from "../../lib/omni/stream-model";diff --git a/packages/web/src/features/chat/context-gauge.tsx b/packages/web/src/features/chat/context-gauge.tsxindex 241d8a5b..bee56bbc 100644--- a/packages/web/src/features/chat/context-gauge.tsx+++ b/packages/web/src/features/chat/context-gauge.tsx@@ -69,7 +69,7 @@import { useEffect, useId, useRef, useState } from "react";import type { RefObject } from "react";import { createPortal } from "react-dom";-import type { SessionContextResponse } from "@prismshadow/penguin-server/api";+import type { SessionContextResponse } from "@lmliheng/penguin-server/api";import {ConfirmModal,ContextRing,@@ -77,7 +77,7 @@ import {Legend,usePointerDrag,usePortalPanel,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { getSessionContext } from "../../api/endpoints";import {MIN_COMPACTION_THRESHOLD,diff --git a/packages/web/src/features/chat/context-parts.ts b/packages/web/src/features/chat/context-parts.tsindex 2b8a9ac6..36829350 100644--- a/packages/web/src/features/chat/context-parts.ts+++ b/packages/web/src/features/chat/context-parts.ts@@ -12,7 +12,7 @@** Pure, no React: unit-tested in test/context-parts.test.ts, rendered by context-gauge.tsx.*/-import type { SessionContextResponse } from "@prismshadow/penguin-server/api";+import type { SessionContextResponse } from "@lmliheng/penguin-server/api";import { CONTEXT_PART_COLORS } from "../../lib/category-colors";/** The six parts, by the DTO field each reads. Callers resolve a key to its label at render time — `S` is a live binding and must not be captured in a module constant. */diff --git a/packages/web/src/features/chat/conversation-outline.tsx b/packages/web/src/features/chat/conversation-outline.tsxindex aca9c9d1..9a062ce6 100644--- a/packages/web/src/features/chat/conversation-outline.tsx+++ b/packages/web/src/features/chat/conversation-outline.tsx@@ -36,7 +36,7 @@*/import { useEffect, useRef, useState } from "react";import type { FocusEvent, MouseEvent, RefObject } from "react";-import { Dot, Dropdown, GlyphIcon } from "@prismshadow/penguin-ui";+import { Dot, Dropdown, GlyphIcon } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import type { OutlineEntry } from "./outline-model";import {diff --git a/packages/web/src/features/chat/dock-toggles.tsx b/packages/web/src/features/chat/dock-toggles.tsxindex 2fc76be9..6c2414eb 100644--- a/packages/web/src/features/chat/dock-toggles.tsx+++ b/packages/web/src/features/chat/dock-toggles.tsx@@ -14,8 +14,8 @@* Workspace pill.*/import { useSyncExternalStore } from "react";-import { ICONS, PanelsToolbar } from "@prismshadow/penguin-ui";-import type { PanelsToolbarToggle } from "@prismshadow/penguin-ui";+import { ICONS, PanelsToolbar } from "@lmliheng/penguin-ui";+import type { PanelsToolbarToggle } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { useShortcutTitle } from "../../lib/shortcuts/use-keymap";import {diff --git a/packages/web/src/features/chat/draft-cache.ts b/packages/web/src/features/chat/draft-cache.tsindex 8c9916e4..bcf3530b 100644--- a/packages/web/src/features/chat/draft-cache.ts+++ b/packages/web/src/features/chat/draft-cache.ts@@ -10,7 +10,7 @@* succession and the key only contains the Project/Session ID, the later user would recover the* previous user's text, Workspace, model selection, and handoff target — a cross-account information leak.*/-import type { ApprovalMode, SessionSandbox } from "@prismshadow/penguin-server/api";+import type { ApprovalMode, SessionSandbox } from "@lmliheng/penguin-server/api";const APPROVAL_MODES: ApprovalMode[] = ["always-ask", "read-only", "allow-all", "deny-all"];diff --git a/packages/web/src/features/chat/draft-view.tsx b/packages/web/src/features/chat/draft-view.tsxindex 60a0149e..c21e9b62 100644--- a/packages/web/src/features/chat/draft-view.tsx+++ b/packages/web/src/features/chat/draft-view.tsx@@ -51,7 +51,7 @@ import type {SessionSandbox,SkillMetadataItem,TaskInputPart,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {AgentAvatar,Chevron,@@ -60,7 +60,7 @@ import {MenuItem,AppLogo,toastError,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { UNCONFINED } from "../../lib/permission-level";diff --git a/packages/web/src/features/chat/drop-zone.tsx b/packages/web/src/features/chat/drop-zone.tsxindex af08fc3d..757f5461 100644--- a/packages/web/src/features/chat/drop-zone.tsx+++ b/packages/web/src/features/chat/drop-zone.tsx@@ -39,7 +39,7 @@import { createContext, useContext, useEffect, useRef, useState } from "react";import type { ReactNode } from "react";import { createPortal } from "react-dom";-import { DropOverlay } from "@prismshadow/penguin-ui";+import { DropOverlay } from "@lmliheng/penguin-ui";import { dropRegionAction, isFileDrag } from "../../lib/file-drop";import type { DragSignal, DropRegionAction } from "../../lib/file-drop";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/chat/example-folder-row.tsx b/packages/web/src/features/chat/example-folder-row.tsxindex 8ccaf41f..41d170f7 100644--- a/packages/web/src/features/chat/example-folder-row.tsx+++ b/packages/web/src/features/chat/example-folder-row.tsx@@ -7,7 +7,7 @@* shortcuts folder in shortcuts-folder.tsx — and a folder row that reads differently from its* neighbours would be read as a different kind of thing.*/-import { Chevron, ICON_SIZE } from "@prismshadow/penguin-ui";+import { Chevron, ICON_SIZE } from "@lmliheng/penguin-ui";export function ExampleFolderRow({open,diff --git a/packages/web/src/features/chat/goal-banner.tsx b/packages/web/src/features/chat/goal-banner.tsxindex f44137fd..7a31f81a 100644--- a/packages/web/src/features/chat/goal-banner.tsx+++ b/packages/web/src/features/chat/goal-banner.tsx@@ -5,7 +5,7 @@* (Round inputs themselves render as regular user messages with a harness-origin caption —* see message-item.tsx; no goal-specific message rendering remains.)*/-import { GlyphIcon } from "@prismshadow/penguin-ui";+import { GlyphIcon } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { humanizeTokens } from "../../lib/format";import { GOAL_ICON, UNLIMITED_BUDGET } from "./goal-use";diff --git a/packages/web/src/features/chat/harness-banner.tsx b/packages/web/src/features/chat/harness-banner.tsxindex a1ad250a..d28e8f7e 100644--- a/packages/web/src/features/chat/harness-banner.tsx+++ b/packages/web/src/features/chat/harness-banner.tsx@@ -11,7 +11,7 @@ import {DisclosureRow,GlyphIcon,ICONS,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";export function HarnessInjectedBanner({ text }: { text: string }) {diff --git a/packages/web/src/features/chat/highlighter.ts b/packages/web/src/features/chat/highlighter.tsindex 2d00bde8..23ee8bbe 100644--- a/packages/web/src/features/chat/highlighter.ts+++ b/packages/web/src/features/chat/highlighter.ts@@ -12,7 +12,7 @@* CSP that forbids it, a construction that throws — the work falls back to this thread, which is* exactly the old behaviour and still correct, only blocking.*/-import type { HighlightOptions } from "@prismshadow/penguin-ui";+import type { HighlightOptions } from "@lmliheng/penguin-ui";import type { HighlightRequest, HighlightResponse } from "./highlighter.worker";/** undefined: not tried yet. null: unavailable here, use the main thread. */@@ -68,7 +68,7 @@ export async function highlightToHtml(// Imported here and not at the top: the engine is already in the worker's bundle, and a// static import would put a second copy of it on the main thread for every reader whose// worker works — which is all of them.- const { highlight } = await import("@prismshadow/penguin-ui/highlighter");+ const { highlight } = await import("@lmliheng/penguin-ui/highlighter");return highlight(code, language, options);}const id = (nextId += 1);diff --git a/packages/web/src/features/chat/highlighter.worker.ts b/packages/web/src/features/chat/highlighter.worker.tsindex 1f7d1686..330d28b2 100644--- a/packages/web/src/features/chat/highlighter.worker.ts+++ b/packages/web/src/features/chat/highlighter.worker.ts@@ -10,8 +10,8 @@* The protocol is one message each way, correlated by an id the caller mints, because several* blocks can settle at once and their answers come back in whatever order they finish.*/-import { highlight } from "@prismshadow/penguin-ui/highlighter";-import type { HighlightOptions } from "@prismshadow/penguin-ui/highlighter";+import { highlight } from "@lmliheng/penguin-ui/highlighter";+import type { HighlightOptions } from "@lmliheng/penguin-ui/highlighter";export interface HighlightRequest {id: number;diff --git a/packages/web/src/features/chat/mcp-connect-banner.tsx b/packages/web/src/features/chat/mcp-connect-banner.tsxindex 3887d1e7..898a66d2 100644--- a/packages/web/src/features/chat/mcp-connect-banner.tsx+++ b/packages/web/src/features/chat/mcp-connect-banner.tsx@@ -11,7 +11,7 @@* warn-and-skip stance).*/import { useState } from "react";-import { Chevron, StatusIcon, StepBanner } from "@prismshadow/penguin-ui";+import { Chevron, StatusIcon, StepBanner } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { humanizeDuration } from "../../lib/format";import type { McpConnectItem, McpServerOutcome, McpToolSummary } from "../../lib/omni/stream-model";diff --git a/packages/web/src/features/chat/memory-changes-card.tsx b/packages/web/src/features/chat/memory-changes-card.tsxindex d2134ad3..5cd5ea81 100644--- a/packages/web/src/features/chat/memory-changes-card.tsx+++ b/packages/web/src/features/chat/memory-changes-card.tsx@@ -12,7 +12,7 @@* filtered out (deletedKeys) — the row disappears here just as it does from the panel's list;* the whole card hides when nothing survives.*/-import { ChangesCard, ICONS } from "@prismshadow/penguin-ui";+import { ChangesCard, ICONS } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import type { MemoryChangeRow } from "../../lib/omni/memory-changes";import { memoryRowKey } from "../../lib/omni/memory-changes";diff --git a/packages/web/src/features/chat/memory-nav.ts b/packages/web/src/features/chat/memory-nav.tsindex 55916d94..8930f0e3 100644--- a/packages/web/src/features/chat/memory-nav.ts+++ b/packages/web/src/features/chat/memory-nav.ts@@ -8,7 +8,7 @@* memory's detail; entering through the panel toggle (or any entry without a target) lands* on the list. Back always returns to the list.*/-import type { MemoryFileInfo, MemoryScopeInfo } from "@prismshadow/penguin-server/api";+import type { MemoryFileInfo, MemoryScopeInfo } from "@lmliheng/penguin-server/api";import type {MemoryChangeOp,MemoryChangeRow,diff --git a/packages/web/src/features/chat/memory-view.tsx b/packages/web/src/features/chat/memory-view.tsxindex dbc7d52c..d512c9b3 100644--- a/packages/web/src/features/chat/memory-view.tsx+++ b/packages/web/src/features/chat/memory-view.tsx@@ -13,7 +13,7 @@* duplicates the bridge-modal flows.*/import { useEffect, useState } from "react";-import type { SessionInfo } from "@prismshadow/penguin-server/api";+import type { SessionInfo } from "@lmliheng/penguin-server/api";import {GlyphIcon,ICONS,@@ -21,7 +21,7 @@ import {Md,SkeletonList,bodyWithoutFrontmatter,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { formatRelativeDate } from "../../lib/format";diff --git a/packages/web/src/features/chat/message-files-card.tsx b/packages/web/src/features/chat/message-files-card.tsxindex d16b9023..ded7613a 100644--- a/packages/web/src/features/chat/message-files-card.tsx+++ b/packages/web/src/features/chat/message-files-card.tsx@@ -12,7 +12,7 @@* currently openable.*/import { useEffect, useMemo, useState } from "react";-import { ChangesCard, ICONS } from "@prismshadow/penguin-ui";+import { ChangesCard, ICONS } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { isFilePathLike, toWorkspaceRelative } from "../../lib/file-path";diff --git a/packages/web/src/features/chat/message-item.tsx b/packages/web/src/features/chat/message-item.tsxindex 9397e448..c9b93109 100644--- a/packages/web/src/features/chat/message-item.tsx+++ b/packages/web/src/features/chat/message-item.tsx@@ -16,7 +16,7 @@ import {MessageImage,MessageMeta,MessageRow,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { useLocale } from "../../state/locale";import { formatMessageTime } from "../../lib/format";diff --git a/packages/web/src/features/chat/message-stream.tsx b/packages/web/src/features/chat/message-stream.tsxindex 55ad1874..3482f216 100644--- a/packages/web/src/features/chat/message-stream.tsx+++ b/packages/web/src/features/chat/message-stream.tsx@@ -9,7 +9,7 @@*/import { useEffect, useLayoutEffect, useRef, useState } from "react";import type { ReactNode, RefObject } from "react";-import { EmptyState, Spinner } from "@prismshadow/penguin-ui";+import { EmptyState, Spinner } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import type { ChatItem } from "../../lib/omni/stream-model";import type { MemoryChangeRow } from "../../lib/omni/memory-changes";diff --git a/packages/web/src/features/chat/model-picker-logic.ts b/packages/web/src/features/chat/model-picker-logic.tsindex 93dca967..f5c1646d 100644--- a/packages/web/src/features/chat/model-picker-logic.ts+++ b/packages/web/src/features/chat/model-picker-logic.ts@@ -13,8 +13,8 @@* `modelLabel` lives here too (model-select.tsx re-exports it for its existing importers), so* the modal and the triggers share it without importing each other.*/-import type { ModelProviderInfo } from "@prismshadow/penguin-core/model-catalog";-import type { ModelInfo } from "@prismshadow/penguin-server/api";+import type { ModelProviderInfo } from "@lmliheng/penguin-core/model-catalog";+import type { ModelInfo } from "@lmliheng/penguin-server/api";import {discountedPrice,groupModelRows,diff --git a/packages/web/src/features/chat/model-picker-modal.tsx b/packages/web/src/features/chat/model-picker-modal.tsxindex 6293686d..6e1f33df 100644--- a/packages/web/src/features/chat/model-picker-modal.tsx+++ b/packages/web/src/features/chat/model-picker-modal.tsx@@ -31,7 +31,7 @@*/import { useEffect, useId, useMemo, useRef, useState } from "react";import type { KeyboardEvent as ReactKeyboardEvent } from "react";-import type { ModelInfo, ModelRefDto } from "@prismshadow/penguin-server/api";+import type { ModelInfo, ModelRefDto } from "@lmliheng/penguin-server/api";import {ChoiceCheck,CloseButton,@@ -41,7 +41,7 @@ import {Modal,ProviderLogo,SearchInput,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { hasConfiguredKey, sameModelRef } from "../models/model-grouping";import { loadModelGroupOrder } from "../models/model-group-order";diff --git a/packages/web/src/features/chat/model-select.tsx b/packages/web/src/features/chat/model-select.tsxindex 882c5fc1..5783ecbe 100644--- a/packages/web/src/features/chat/model-select.tsx+++ b/packages/web/src/features/chat/model-select.tsx@@ -7,8 +7,8 @@* composer's other switch picker, the `/agent` handoff, is the UI package's PickerList.*/import { useState } from "react";-import type { ModelInfo, ModelRefDto } from "@prismshadow/penguin-server/api";-import { ModelSelect } from "@prismshadow/penguin-ui";+import type { ModelInfo, ModelRefDto } from "@lmliheng/penguin-server/api";+import { ModelSelect } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { sameModelRef } from "../models/model-grouping";import { modelLabel } from "./model-picker-logic";diff --git a/packages/web/src/features/chat/model-switch.ts b/packages/web/src/features/chat/model-switch.tsindex 62908930..873af154 100644--- a/packages/web/src/features/chat/model-switch.ts+++ b/packages/web/src/features/chat/model-switch.ts@@ -12,7 +12,7 @@* names (see sessionRowStale). A compaction that fails streams no meta, and the Session stays* on the model it was on.*/-import type { ModelRefDto, SessionInfo, SessionStatus } from "@prismshadow/penguin-server/api";+import type { ModelRefDto, SessionInfo, SessionStatus } from "@lmliheng/penguin-server/api";import { sameModelRef } from "../models/model-grouping";import { trailingCompaction } from "./thinking-level";import type { ThinkingSwitchItem } from "./thinking-level";diff --git a/packages/web/src/features/chat/new-chat.ts b/packages/web/src/features/chat/new-chat.tsindex 672ef11e..63b4be32 100644--- a/packages/web/src/features/chat/new-chat.ts+++ b/packages/web/src/features/chat/new-chat.ts@@ -10,7 +10,7 @@* not a source: prepareNewChatDraft releases it first, or the leftover of one "+" click would* stand in for the Project's defaults on every later "New chat".*/-import type { AgentSummary, ChatDefaultsDto } from "@prismshadow/penguin-server/api";+import type { AgentSummary, ChatDefaultsDto } from "@lmliheng/penguin-server/api";import { pickDefaultAgent } from "../ai-create/default-agent";import { clearDraft, draftKey, loadDraft, saveDraft } from "./draft-cache";import type { DraftCache, DraftStorage } from "./draft-cache";diff --git a/packages/web/src/features/chat/org-trigger-banner.tsx b/packages/web/src/features/chat/org-trigger-banner.tsxindex 635eb0dc..78a1900d 100644--- a/packages/web/src/features/chat/org-trigger-banner.tsx+++ b/packages/web/src/features/chat/org-trigger-banner.tsx@@ -4,7 +4,7 @@* trigger, the event / message / ticket it names, and the budget line — the same shape as the* scheduled-task banner beside it. The trigger's body renders as usual below.*/-import { Badge } from "@prismshadow/penguin-ui";+import { Badge } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { formatDateTime } from "../../lib/format";import { summarizeOrgTrigger } from "./org-trigger";diff --git a/packages/web/src/features/chat/org-trigger.ts b/packages/web/src/features/chat/org-trigger.tsindex 4ec1ffed..9d738739 100644--- a/packages/web/src/features/chat/org-trigger.ts+++ b/packages/web/src/features/chat/org-trigger.ts@@ -4,10 +4,10 @@* identifies it (the event, the chat message, the ticket and its change) and the budget line* the scheduler wrote. The banner (org-trigger-banner.tsx) only localizes these.*/-import type { OrgTriggerOrigin } from "@prismshadow/penguin-core/markers";+import type { OrgTriggerOrigin } from "@lmliheng/penguin-core/markers";-export { parseOrgTriggerMessage } from "@prismshadow/penguin-core/markers";-export type { OrgTriggerKind, OrgTriggerOrigin } from "@prismshadow/penguin-core/markers";+export { parseOrgTriggerMessage } from "@lmliheng/penguin-core/markers";+export type { OrgTriggerKind, OrgTriggerOrigin } from "@lmliheng/penguin-core/markers";export interface OrgTriggerSummary {org: string;diff --git a/packages/web/src/features/chat/permission-select.tsx b/packages/web/src/features/chat/permission-select.tsxindex a19bf276..7a7dec3f 100644--- a/packages/web/src/features/chat/permission-select.tsx+++ b/packages/web/src/features/chat/permission-select.tsx@@ -16,7 +16,7 @@* chat input docked at the bottom of the screen opens upward.*/import { useState } from "react";-import type { ApprovalMode, SessionSandbox } from "@prismshadow/penguin-server/api";+import type { ApprovalMode, SessionSandbox } from "@lmliheng/penguin-server/api";import {Dropdown,GlyphIcon,@@ -25,7 +25,7 @@ import {MenuLabel,MenuRadioItem,MenuSeparator,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { toneInk } from "../../lib/tone";import {diff --git a/packages/web/src/features/chat/process-list.ts b/packages/web/src/features/chat/process-list.tsindex c25f6584..e6039f5b 100644--- a/packages/web/src/features/chat/process-list.ts+++ b/packages/web/src/features/chat/process-list.ts@@ -4,7 +4,7 @@* requests is worth telling the user about. Kept out of the page so they are unit-testable* (vitest runs node-only, no DOM).*/-import type { SessionProcessInfo } from "@prismshadow/penguin-server/api";+import type { SessionProcessInfo } from "@lmliheng/penguin-server/api";import { ApiError } from "../../api/client";/**diff --git a/packages/web/src/features/chat/reference-chip.tsx b/packages/web/src/features/chat/reference-chip.tsxindex b9876fd5..188f6190 100644--- a/packages/web/src/features/chat/reference-chip.tsx+++ b/packages/web/src/features/chat/reference-chip.tsx@@ -4,7 +4,7 @@* never the text the message will carry. The composer draws one per staged reference, above its* text body.*/-import { Chip, GlyphIcon, ICONS } from "@prismshadow/penguin-ui";+import { Chip, GlyphIcon, ICONS } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { excerptLabel } from "../../lib/selection-menu";import { lineSuffix } from "../../lib/workspace-tree";diff --git a/packages/web/src/features/chat/session-project.ts b/packages/web/src/features/chat/session-project.tsindex 602dcd9a..daf61ef2 100644--- a/packages/web/src/features/chat/session-project.ts+++ b/packages/web/src/features/chat/session-project.ts@@ -1,4 +1,4 @@-import type { SessionInfo } from "@prismshadow/penguin-server/api";+import type { SessionInfo } from "@lmliheng/penguin-server/api";/*** The Session the route names: the loaded list's row when it holds one, otherwise the row adiff --git a/packages/web/src/features/chat/shortcuts-folder.tsx b/packages/web/src/features/chat/shortcuts-folder.tsxindex 8fff8374..108e82f6 100644--- a/packages/web/src/features/chat/shortcuts-folder.tsx+++ b/packages/web/src/features/chat/shortcuts-folder.tsx@@ -30,7 +30,7 @@ import {PlusIcon,Textarea,toastError,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/chat/skill-use.ts b/packages/web/src/features/chat/skill-use.tsindex 1b2a3e8b..05efaffe 100644--- a/packages/web/src/features/chat/skill-use.ts+++ b/packages/web/src/features/chat/skill-use.ts@@ -4,14 +4,14 @@** The `[use_skills]` marker block itself is **not** defined here: it is a globally agreed* format shared by the frontend, the backend and the core prompt template, so its producer- * and parser live in core's marker module (`@prismshadow/penguin-core/markers`) and are+ * and parser live in core's marker module (`@lmliheng/penguin-core/markers`) and are* re-exported below for this feature's existing importers. What stays local is the UI-only* part: icon path, UI-language text selection, dropdown filtering and slash command items.*/-import type { SkillMetadataItem } from "@prismshadow/penguin-server/api";-import { ICONS } from "@prismshadow/penguin-ui";+import type { SkillMetadataItem } from "@lmliheng/penguin-server/api";+import { ICONS } from "@lmliheng/penguin-ui";-export { buildSkillsMessage, parseSkillsMessage } from "@prismshadow/penguin-core/markers";+export { buildSkillsMessage, parseSkillsMessage } from "@lmliheng/penguin-core/markers";/** Book icon (24×24 line path): the mark of skills as a kind — the composer's skills button, the "using skills" banner, the agents page's skill count, and what a skill draws when it carries no plugin icon (skill-icon-view.tsx). */export const BOOK_ICON = ICONS.bookOpen;diff --git a/packages/web/src/features/chat/skills-banner.tsx b/packages/web/src/features/chat/skills-banner.tsxindex 6bac9b03..f4f16d86 100644--- a/packages/web/src/features/chat/skills-banner.tsx+++ b/packages/web/src/features/chat/skills-banner.tsx@@ -4,7 +4,7 @@* static text, no navigation — skill management lives on the skill library page); the body text* after the block is rendered as usual by the caller.*/-import { GlyphIcon } from "@prismshadow/penguin-ui";+import { GlyphIcon } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { BOOK_ICON } from "./skill-use";diff --git a/packages/web/src/features/chat/stream-selection-menu.tsx b/packages/web/src/features/chat/stream-selection-menu.tsxindex 4d806b68..c54eea5b 100644--- a/packages/web/src/features/chat/stream-selection-menu.tsx+++ b/packages/web/src/features/chat/stream-selection-menu.tsx@@ -38,8 +38,8 @@ import {isContextMenuKey,toastSuccess,useRowContextMenu,-} from "@prismshadow/penguin-ui";-import type { AnchorRect, ContextMenuEventLike } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { AnchorRect, ContextMenuEventLike } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { STAT_ICONS } from "../../lib/stat-icons";import { isDesktopShellWindow } from "../../lib/account-menu";diff --git a/packages/web/src/features/chat/subagent-chip.tsx b/packages/web/src/features/chat/subagent-chip.tsxindex ffdae64c..612e4650 100644--- a/packages/web/src/features/chat/subagent-chip.tsx+++ b/packages/web/src/features/chat/subagent-chip.tsx@@ -5,7 +5,7 @@* discoverable with the panel closed, and is announced in the row's name), and opens the* subagents panel focused on the child through ctx.onOpenSubagent.*/-import { SubagentChip } from "@prismshadow/penguin-ui";+import { SubagentChip } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { hasPendingWithinOrigin } from "../../lib/omni/stream-model";import type { StreamModel } from "../../lib/omni/stream-model";diff --git a/packages/web/src/features/chat/subagents-view.tsx b/packages/web/src/features/chat/subagents-view.tsxindex 4d99f81a..e42ddcbe 100644--- a/packages/web/src/features/chat/subagents-view.tsx+++ b/packages/web/src/features/chat/subagents-view.tsx@@ -32,7 +32,7 @@ import type {SkillMetadataItem,SubagentRuntimeInfo,TaskInputPart,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {AgentAvatar,EmptyState,@@ -41,7 +41,7 @@ import {StatusIcon,Text,toastError,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { ApiError } from "../../api/client";import { abortSubagent, getAgentSkills, messageSubagent, patchSession } from "../../api/endpoints";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/chat/task-stats-line.tsx b/packages/web/src/features/chat/task-stats-line.tsxindex a3425dfc..224be584 100644--- a/packages/web/src/features/chat/task-stats-line.tsx+++ b/packages/web/src/features/chat/task-stats-line.tsx@@ -27,8 +27,8 @@* itself doesn't render a separate one (otherwise two copy buttons would pop up in the same spot).*/import { useState } from "react";-import type { TracePosition } from "@prismshadow/penguin-server/api";-import { ConfirmModal, CopyButton, Spinner, StatChip } from "@prismshadow/penguin-ui";+import type { TracePosition } from "@lmliheng/penguin-server/api";+import { ConfirmModal, CopyButton, Spinner, StatChip } from "@lmliheng/penguin-ui";import { formatTaskStats } from "../../lib/omni/task-stats";import type { TaskStats } from "../../lib/omni/task-stats";import {diff --git a/packages/web/src/features/chat/thinking-block.tsx b/packages/web/src/features/chat/thinking-block.tsxindex 7fd47770..3d3d6079 100644--- a/packages/web/src/features/chat/thinking-block.tsx+++ b/packages/web/src/features/chat/thinking-block.tsx@@ -2,7 +2,7 @@* A thinking item of the session's stream, drawn by the shared UI package's `ThinkingBlock`:* this binds the item's streaming and stop state to the row's run state and labels.*/-import { ThinkingBlock } from "@prismshadow/penguin-ui";+import { ThinkingBlock } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import type { ThinkingItem } from "../../lib/omni/stream-model";diff --git a/packages/web/src/features/chat/tool-call-card.tsx b/packages/web/src/features/chat/tool-call-card.tsxindex b242d04b..cb889afe 100644--- a/packages/web/src/features/chat/tool-call-card.tsx+++ b/packages/web/src/features/chat/tool-call-card.tsx@@ -12,9 +12,9 @@* block below the row is always on screen and names the tool and its arguments.*/import { useMemo } from "react";-import { DETACHED_TOOL_NOTE_PREFIX } from "@prismshadow/penguin-core/interfaces";-import { ToolCallCard, useElapsedPast } from "@prismshadow/penguin-ui";-import type { RunState, ToolCallDuration } from "@prismshadow/penguin-ui";+import { DETACHED_TOOL_NOTE_PREFIX } from "@lmliheng/penguin-core/interfaces";+import { ToolCallCard, useElapsedPast } from "@lmliheng/penguin-ui";+import type { RunState, ToolCallDuration } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { toolDisplayName } from "../../lib/tool-alias";import { stripAnsi } from "../../lib/strip-ansi";diff --git a/packages/web/src/features/chat/use-session-draft.ts b/packages/web/src/features/chat/use-session-draft.tsindex f3a7ca62..3318474f 100644--- a/packages/web/src/features/chat/use-session-draft.ts+++ b/packages/web/src/features/chat/use-session-draft.ts@@ -19,7 +19,7 @@* resets the refs to the new session's initial values.*/import { useCallback, useEffect, useMemo, useRef } from "react";-import type { ModelRefDto } from "@prismshadow/penguin-server/api";+import type { ModelRefDto } from "@lmliheng/penguin-server/api";import { useAuth } from "../../state/auth";import { clearDraft, loadDraft, saveDraft, sessionDraftKey } from "./draft-cache";import type { DraftCache } from "./draft-cache";diff --git a/packages/web/src/features/chat/use-session-stream.ts b/packages/web/src/features/chat/use-session-stream.tsindex 2a7af9b9..b87d9b56 100644--- a/packages/web/src/features/chat/use-session-stream.ts+++ b/packages/web/src/features/chat/use-session-stream.ts@@ -22,7 +22,7 @@ import type {PendingSteeringInfo,SessionStatus,SubagentRuntimeInfo,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import { getGoal, getMessages } from "../../api/endpoints";import { probeSession } from "../../api/session-probe";import { openSessionStream } from "../../api/sse";diff --git a/packages/web/src/features/chat/user-shortcuts.ts b/packages/web/src/features/chat/user-shortcuts.tsindex d38e6938..673daa8e 100644--- a/packages/web/src/features/chat/user-shortcuts.ts+++ b/packages/web/src/features/chat/user-shortcuts.ts@@ -21,7 +21,7 @@* this editor is not a bound at all. The numbers here drive the counters and the disabled states;* `test/user-shortcuts.test.ts` fails if the two copies drift apart.*/-import type { DraftShortcut } from "@prismshadow/penguin-server/api";+import type { DraftShortcut } from "@lmliheng/penguin-server/api";import { randomHex } from "../../lib/random-id";/** A saved shortcut, as stored and as rendered. Re-exported from the API type so the two cannot drift. */diff --git a/packages/web/src/features/chat/work-group.tsx b/packages/web/src/features/chat/work-group.tsxindex f88fdf9d..4afe9a82 100644--- a/packages/web/src/features/chat/work-group.tsx+++ b/packages/web/src/features/chat/work-group.tsx@@ -12,8 +12,8 @@* - A pending approval anywhere in the group forces it open: the approval buttons live inside.* - The duration is `summarizeWork`'s span; it ticks only while an item is in flight.*/-import { WorkGroup } from "@prismshadow/penguin-ui";-import type { WorkGroupProps } from "@prismshadow/penguin-ui";+import { WorkGroup } from "@lmliheng/penguin-ui";+import type { WorkGroupProps } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { approvalKey } from "../../lib/omni/stream-model";import type { ChatItem } from "../../lib/omni/stream-model";diff --git a/packages/web/src/features/chat/workspace-browser.tsx b/packages/web/src/features/chat/workspace-browser.tsxindex bee899c0..aca674ed 100644--- a/packages/web/src/features/chat/workspace-browser.tsx+++ b/packages/web/src/features/chat/workspace-browser.tsx@@ -83,15 +83,15 @@ import {toastSuccess,useCopied,useRowContextMenu,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import type {EditorScroll,FileMenuTarget,PreviewView,TreeToggle,WorkspaceFileMenuLabels,-} from "@prismshadow/penguin-ui";-import type { WorkspaceSearchHit } from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-ui";+import type { WorkspaceSearchHit } from "@lmliheng/penguin-server/api";import { ApiError } from "../../api/client";import { filesApi, filesScopeKey } from "../../api/workspace-files";import type { FilesScope } from "../../api/workspace-files";diff --git a/packages/web/src/features/chat/workspace-finder-model.ts b/packages/web/src/features/chat/workspace-finder-model.tsindex 57c657c4..c03ceb5f 100644--- a/packages/web/src/features/chat/workspace-finder-model.ts+++ b/packages/web/src/features/chat/workspace-finder-model.ts@@ -13,7 +13,7 @@ import type {DesktopPrivacyPane,DirEntryInfo,DirListResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {TEMP_WORKSPACE_GROUP_KEY,isTempWorkspace,diff --git a/packages/web/src/features/chat/workspace-finder.tsx b/packages/web/src/features/chat/workspace-finder.tsxindex cd62a37f..e8c57cf6 100644--- a/packages/web/src/features/chat/workspace-finder.tsx+++ b/packages/web/src/features/chat/workspace-finder.tsx@@ -29,7 +29,7 @@ import type {PointerEvent as ReactPointerEvent,ReactNode,} from "react";-import type { DesktopPrivacyPane, DirListResponse } from "@prismshadow/penguin-server/api";+import type { DesktopPrivacyPane, DirListResponse } from "@lmliheng/penguin-server/api";import {Button,CloseIcon,@@ -49,7 +49,7 @@ import {toastError,toastSuccess,useRowContextMenu,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { ApiError } from "../../api/client";import { writeClipboard } from "../../lib/clipboard";diff --git a/packages/web/src/features/chat/workspace-links.tsx b/packages/web/src/features/chat/workspace-links.tsxindex b956cbd8..10c11e61 100644--- a/packages/web/src/features/chat/workspace-links.tsx+++ b/packages/web/src/features/chat/workspace-links.tsx@@ -11,8 +11,8 @@*/import { useMemo } from "react";import type { ReactNode } from "react";-import { ProseLinksProvider } from "@prismshadow/penguin-ui";-import type { ProseLinkResolver } from "@prismshadow/penguin-ui";+import { ProseLinksProvider } from "@lmliheng/penguin-ui";+import type { ProseLinkResolver } from "@lmliheng/penguin-ui";import { replyLinkBehavior } from "../../lib/reply-link";export function WorkspaceLinksProvider({diff --git a/packages/web/src/features/chat/workspace-select.tsx b/packages/web/src/features/chat/workspace-select.tsxindex 29d401f8..0ee14c57 100644--- a/packages/web/src/features/chat/workspace-select.tsx+++ b/packages/web/src/features/chat/workspace-select.tsx@@ -12,7 +12,7 @@*/import { useState } from "react";import type { ReactNode } from "react";-import { Chevron, FormPickerTrigger, GlyphIcon, ICONS, ICON_SIZE } from "@prismshadow/penguin-ui";+import { Chevron, FormPickerTrigger, GlyphIcon, ICONS, ICON_SIZE } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { WorkspaceFinder } from "./workspace-finder";import { baseName } from "./workspace-finder-model";diff --git a/packages/web/src/features/chat/workspace-tree-view.tsx b/packages/web/src/features/chat/workspace-tree-view.tsxindex 0dc22a99..06960538 100644--- a/packages/web/src/features/chat/workspace-tree-view.tsx+++ b/packages/web/src/features/chat/workspace-tree-view.tsx@@ -5,8 +5,8 @@* directory uploads land in standing in for a selection while no file is open, and the three* things an empty row list can mean.*/-import { FileTree } from "@prismshadow/penguin-ui";-import type { TreeToggle } from "@prismshadow/penguin-ui";+import { FileTree } from "@lmliheng/penguin-ui";+import type { TreeToggle } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { formatBytes, formatDateTime } from "../../lib/format";import type { TreeRow } from "../../lib/workspace-tree";diff --git a/packages/web/src/features/company/calendar-geom.ts b/packages/web/src/features/company/calendar-geom.tsindex 14cfecf8..cc84787e 100644--- a/packages/web/src/features/company/calendar-geom.ts+++ b/packages/web/src/features/company/calendar-geom.ts@@ -8,7 +8,7 @@* on local calendar days through the Date API's local accessors, so a test built with* `new Date(y, m, d)` reads the same in every timezone.*/-import type { OrgCalendarItem, OrgCalendarOutcome } from "@prismshadow/penguin-server/api";+import type { OrgCalendarItem, OrgCalendarOutcome } from "@lmliheng/penguin-server/api";import { packToolLanes } from "../traces/lane-packing";export type CalendarView = "month" | "week" | "day";diff --git a/packages/web/src/features/company/calendar-page.tsx b/packages/web/src/features/company/calendar-page.tsxindex c15e960d..7b9f1ce5 100644--- a/packages/web/src/features/company/calendar-page.tsx+++ b/packages/web/src/features/company/calendar-page.tsx@@ -25,7 +25,7 @@ import type {OrgCalendarItem,OrgCalendarOutcome,OrgChartResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {Button,Card,@@ -46,7 +46,7 @@ import {toastError,toastSuccess,usePortalPanel,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/company/channel-composer.tsx b/packages/web/src/features/company/channel-composer.tsxindex d3a28575..ba0c6c97 100644--- a/packages/web/src/features/company/channel-composer.tsx+++ b/packages/web/src/features/company/channel-composer.tsx@@ -43,7 +43,7 @@ import type {DragEvent as ReactDragEvent,KeyboardEvent as ReactKeyboardEvent,} from "react";-import { Button, Dropdown, ICON_GAP, MenuLabel, noAutofill } from "@prismshadow/penguin-ui";+import { Button, Dropdown, ICON_GAP, MenuLabel, noAutofill } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { PrincipalChip } from "./shared";import {@@ -77,7 +77,7 @@ import type { DraftClip, DraftHistory, MentionDraft } from "./mention-draft";* The box grows with the draft up to this many pixels, then scrolls inside — the same cap the* development-mode composer sets in chat-input.tsx, and deliberately a pixel count rather than* `max-h-40`: the root font is the reader's own (14 to 20px, `TEXT_SIZE_PX` in- * @prismshadow/penguin-ui/boot), so a rem cap would let the box eat a different share of the+ * @lmliheng/penguin-ui/boot), so a rem cap would let the box eat a different share of the* stream at each scale. `max-h-40` is only the outer guard; this is the one that binds.*/const MAX_BOX_PX = 160;diff --git a/packages/web/src/features/company/channel-dialogs.tsx b/packages/web/src/features/company/channel-dialogs.tsxindex 0f5085cb..dfc3dc57 100644--- a/packages/web/src/features/company/channel-dialogs.tsx+++ b/packages/web/src/features/company/channel-dialogs.tsx@@ -10,8 +10,8 @@* different questions.*/import { useEffect, useState } from "react";-import type { OrgChannelItem } from "@prismshadow/penguin-server/api";-import { Button, ConfirmModal, Input, Modal, Textarea } from "@prismshadow/penguin-ui";+import type { OrgChannelItem } from "@lmliheng/penguin-server/api";+import { Button, ConfirmModal, Input, Modal, Textarea } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { ApiError } from "../../api/client";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/company/channel-header.tsx b/packages/web/src/features/company/channel-header.tsxindex 6201c2a3..9d28dcd6 100644--- a/packages/web/src/features/company/channel-header.tsx+++ b/packages/web/src/features/company/channel-header.tsx@@ -16,7 +16,7 @@import { useEffect, useState } from "react";import { createPortal } from "react-dom";import { useNavigate } from "react-router";-import type { OrgChannelDetail, OrgChannelMember } from "@prismshadow/penguin-server/api";+import type { OrgChannelDetail, OrgChannelMember } from "@lmliheng/penguin-server/api";import {AgentAvatar,AvatarStack,@@ -38,8 +38,8 @@ import {toastError,toastSuccess,usePortalPanel,-} from "@prismshadow/penguin-ui";-import type { AvatarStackItem } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { AvatarStackItem } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/company/channel-list.ts b/packages/web/src/features/company/channel-list.tsindex bfcc7da3..c1c62cbe 100644--- a/packages/web/src/features/company/channel-list.ts+++ b/packages/web/src/features/company/channel-list.ts@@ -9,7 +9,7 @@* the header and every reference to it render the localized 全员频道 / "All hands" label* instead, so one organization reads the same in both languages whatever its files say.*/-import type { OrgChannelItem, OrgChannelMember } from "@prismshadow/penguin-server/api";+import type { OrgChannelItem, OrgChannelMember } from "@lmliheng/penguin-server/api";/** The all-hands channel's id; reserved, so no other channel may take it. */export const DEFAULT_CHANNEL_ID = "default_channel";diff --git a/packages/web/src/features/company/channel-markdown.tsx b/packages/web/src/features/company/channel-markdown.tsxindex d624c1c4..f097b0e4 100644--- a/packages/web/src/features/company/channel-markdown.tsx+++ b/packages/web/src/features/company/channel-markdown.tsx@@ -22,7 +22,7 @@import { createContext, useContext } from "react";import type { ReactNode } from "react";import type { Components, Options } from "react-markdown";-import { Md } from "@prismshadow/penguin-ui";+import { Md } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { toneSurface } from "../../lib/tone";import { mentionIsMe, mentionLabel, mentionRuns } from "./channel-mentions";diff --git a/packages/web/src/features/company/channel-notices.ts b/packages/web/src/features/company/channel-notices.tsindex 0d03d43b..3956e384 100644--- a/packages/web/src/features/company/channel-notices.ts+++ b/packages/web/src/features/company/channel-notices.ts@@ -14,7 +14,7 @@* `budget`. A parameter the server omitted renders as an empty string rather than throwing —* a malformed notice must not take the stream down with it.*/-import type { OrgChannelNotice, OrgChannelNoticeKind } from "@prismshadow/penguin-server/api";+import type { OrgChannelNotice, OrgChannelNoticeKind } from "@lmliheng/penguin-server/api";import type { Strings } from "../../lib/strings";import { parsePrincipal } from "./principals";diff --git a/packages/web/src/features/company/channel-sidebar.tsx b/packages/web/src/features/company/channel-sidebar.tsxindex af45a8a2..16e0ad67 100644--- a/packages/web/src/features/company/channel-sidebar.tsx+++ b/packages/web/src/features/company/channel-sidebar.tsx@@ -15,7 +15,7 @@*/import { useState } from "react";import { NavLink, useNavigate } from "react-router";-import type { OrgChannelItem } from "@prismshadow/penguin-server/api";+import type { OrgChannelItem } from "@lmliheng/penguin-server/api";import {Button,FolderSection,@@ -29,7 +29,7 @@ import {railItemClass,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/company/channel-stream.ts b/packages/web/src/features/company/channel-stream.tsindex ca92e7c7..a1a1bed8 100644--- a/packages/web/src/features/company/channel-stream.ts+++ b/packages/web/src/features/company/channel-stream.ts@@ -8,7 +8,7 @@* immutable append a live message goes through, and when a join made on another surface* obliges the view to re-read its own detail.*/-import type { OrgChannelMessage } from "@prismshadow/penguin-server/api";+import type { OrgChannelMessage } from "@lmliheng/penguin-server/api";import { parsePrincipal } from "./principals";/** One day file as loaded: the organization-timezone date and its messages in file order. */diff --git a/packages/web/src/features/company/channel-view.tsx b/packages/web/src/features/company/channel-view.tsxindex 13fe95bd..fc59a673 100644--- a/packages/web/src/features/company/channel-view.tsx+++ b/packages/web/src/features/company/channel-view.tsx@@ -36,7 +36,7 @@*/import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";import { useNavigate, useParams } from "react-router";-import type { OrgChannelDetail, OrgChannelMessage } from "@prismshadow/penguin-server/api";+import type { OrgChannelDetail, OrgChannelMessage } from "@lmliheng/penguin-server/api";import {Button,ChannelBubble,@@ -49,8 +49,8 @@ import {Skeleton,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";-import type { ChannelSender } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { ChannelSender } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/company/chart-card.tsx b/packages/web/src/features/company/chart-card.tsxindex 9ea1a51e..cd7aa9f0 100644--- a/packages/web/src/features/company/chart-card.tsx+++ b/packages/web/src/features/company/chart-card.tsx@@ -35,7 +35,7 @@*/import { useEffect } from "react";import type { ReactNode } from "react";-import type { OrgEmployeeItem, OrgEmployeeState } from "@prismshadow/penguin-server/api";+import type { OrgEmployeeItem, OrgEmployeeState } from "@lmliheng/penguin-server/api";import {AgentAvatar,Dot,@@ -45,8 +45,8 @@ import {ICON_SIZE,Legend,useRowContextMenu,-} from "@prismshadow/penguin-ui";-import type { ToneName } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { ToneName } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { formatMoney, formatPercent } from "../../lib/format";import { toneDot, toneInk } from "../../lib/tone";diff --git a/packages/web/src/features/company/chart-view.ts b/packages/web/src/features/company/chart-view.tsindex 90569ab2..4a2f9592 100644--- a/packages/web/src/features/company/chart-view.ts+++ b/packages/web/src/features/company/chart-view.ts@@ -3,7 +3,7 @@* tone its dot, its label and its finance row take. The canvas's pan and zoom arithmetic* lives in canvas-view.ts, the tree and its geometry in org-chart-tree.ts.*/-import type { OrgEmployeeState } from "@prismshadow/penguin-server/api";+import type { OrgEmployeeState } from "@lmliheng/penguin-server/api";import type { Tone } from "../../lib/tone";/** Busy while running, attention when its budget paused it, success on the desk — by meaning, as every status mark. */diff --git a/packages/web/src/features/company/company-beta.tsx b/packages/web/src/features/company/company-beta.tsxindex eba69648..41e67a9d 100644--- a/packages/web/src/features/company/company-beta.tsx+++ b/packages/web/src/features/company/company-beta.tsx@@ -12,7 +12,7 @@* browser having shown a toast, not about the user: a second browser is a second first time,* and a preferences round trip would decide it too late to toast on the click that caused it.*/-import { BetaBadge } from "@prismshadow/penguin-ui";+import { BetaBadge } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";/** The localStorage key remembering that this browser has shown the beta notice. */diff --git a/packages/web/src/features/company/desk-model.ts b/packages/web/src/features/company/desk-model.tsindex 12461087..23d79220 100644--- a/packages/web/src/features/company/desk-model.ts+++ b/packages/web/src/features/company/desk-model.ts@@ -11,7 +11,7 @@* later desk and ticket Session of that employee is opened on), and the desk is renewed — a* new desk Session on that model, recorded as the desk, the previous one kept in its history.*/-import type { ModelRefDto, OrgDeskResponse } from "@prismshadow/penguin-server/api";+import type { ModelRefDto, OrgDeskResponse } from "@lmliheng/penguin-server/api";/** The three calls this needs, so a test can stand in for the API. */export interface DeskModelApi {diff --git a/packages/web/src/features/company/employee-dialogs.tsx b/packages/web/src/features/company/employee-dialogs.tsxindex a788035e..507633ce 100644--- a/packages/web/src/features/company/employee-dialogs.tsx+++ b/packages/web/src/features/company/employee-dialogs.tsx@@ -10,7 +10,7 @@* calls the API; the renewal is its own confirmation and needs no second one.*/import { useEffect, useState } from "react";-import type { OrgEmployeeItem, OrgHireRequest } from "@prismshadow/penguin-server/api";+import type { OrgEmployeeItem, OrgHireRequest } from "@lmliheng/penguin-server/api";import {Button,ConfirmModal,@@ -27,7 +27,7 @@ import {Textarea,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { ApiError } from "../../api/client";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/company/finance-gauge.tsx b/packages/web/src/features/company/finance-gauge.tsxindex 494a02c8..ee731371 100644--- a/packages/web/src/features/company/finance-gauge.tsx+++ b/packages/web/src/features/company/finance-gauge.tsx@@ -7,8 +7,8 @@* the ratio and capped at a full circle when spend is over the budget; without a budget the track* stands alone. `SpendMeter` is the spend tree's bar, which carries its own percent.*/-import { Ring } from "@prismshadow/penguin-ui";-import type { ToneName } from "@prismshadow/penguin-ui";+import { Ring } from "@lmliheng/penguin-ui";+import type { ToneName } from "@lmliheng/penguin-ui";import { formatPercent } from "../../lib/format";import { toneDot, toneInk } from "../../lib/tone";import type { Tone } from "../../lib/tone";diff --git a/packages/web/src/features/company/finance-page.tsx b/packages/web/src/features/company/finance-page.tsxindex 81f2444f..9832730b 100644--- a/packages/web/src/features/company/finance-page.tsx+++ b/packages/web/src/features/company/finance-page.tsx@@ -32,7 +32,7 @@ import type {OrgBudgetAlert,OrgEmployeeState,OrgFinanceResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {AgentAvatar,Badge,@@ -58,7 +58,7 @@ import {noAutofill,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/company/finance-tree.ts b/packages/web/src/features/company/finance-tree.tsindex 3271ec7d..8a3a4e28 100644--- a/packages/web/src/features/company/finance-tree.ts+++ b/packages/web/src/features/company/finance-tree.ts@@ -13,7 +13,7 @@ import type {OrgFinanceResponse,OrgFinanceTicket,UsageSeriesPoint,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import type { Tone } from "../../lib/tone";import { employeeStateTone } from "./chart-view";diff --git a/packages/web/src/features/company/handbook-explorer.tsx b/packages/web/src/features/company/handbook-explorer.tsxindex d194b970..acc0831b 100644--- a/packages/web/src/features/company/handbook-explorer.tsx+++ b/packages/web/src/features/company/handbook-explorer.tsx@@ -16,9 +16,9 @@* The rows themselves are `handbook-tree.ts`'s (`handbookTreeRows`); folders start collapsed and* the page expands the ones above the selected document.*/-import type { OrgHandbookFile } from "@prismshadow/penguin-server/api";-import { FileTree } from "@prismshadow/penguin-ui";-import type { TreeToggle } from "@prismshadow/penguin-ui";+import type { OrgHandbookFile } from "@lmliheng/penguin-server/api";+import { FileTree } from "@lmliheng/penguin-ui";+import type { TreeToggle } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { formatBytes, formatDateTime, formatRelativeShort } from "../../lib/format";import type { Locale } from "../../state/locale";diff --git a/packages/web/src/features/company/handbook-page.tsx b/packages/web/src/features/company/handbook-page.tsxindex fb5f39b2..50cb2c88 100644--- a/packages/web/src/features/company/handbook-page.tsx+++ b/packages/web/src/features/company/handbook-page.tsx@@ -19,7 +19,7 @@*/import { useCallback, useEffect, useMemo, useState } from "react";import type { KeyboardEvent as ReactKeyboardEvent, MouseEvent as ReactMouseEvent } from "react";-import type { OrgHandbookFile, OrgHandbookFileResponse } from "@prismshadow/penguin-server/api";+import type { OrgHandbookFile, OrgHandbookFileResponse } from "@lmliheng/penguin-server/api";import {Badge,Button,@@ -36,8 +36,8 @@ import {Textarea,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";-import type { TreeToggle } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { TreeToggle } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/company/handbook-tree.ts b/packages/web/src/features/company/handbook-tree.tsindex 46c3a766..1c37922f 100644--- a/packages/web/src/features/company/handbook-tree.ts+++ b/packages/web/src/features/company/handbook-tree.ts@@ -7,8 +7,8 @@* dialog refuses a bad path before the request; the body a new document starts with; and how a* relative link inside one document resolves to another document of the handbook.*/-import type { OrgHandbookFile } from "@prismshadow/penguin-server/api";-import type { FileTreeRow } from "@prismshadow/penguin-ui";+import type { OrgHandbookFile } from "@lmliheng/penguin-server/api";+import type { FileTreeRow } from "@lmliheng/penguin-ui";/** The index, `handbook/README.md`: pinned first in the list, and the one file that cannot be deleted. */export const HANDBOOK_INDEX = "README.md";diff --git a/packages/web/src/features/company/org-chart-page.tsx b/packages/web/src/features/company/org-chart-page.tsxindex 0962292b..8e15224b 100644--- a/packages/web/src/features/company/org-chart-page.tsx+++ b/packages/web/src/features/company/org-chart-page.tsx@@ -27,7 +27,7 @@import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";import type { KeyboardEvent as ReactKeyboardEvent } from "react";import { useNavigate } from "react-router";-import type { OrgChartResponse, OrgEmployeeItem } from "@prismshadow/penguin-server/api";+import type { OrgChartResponse, OrgEmployeeItem } from "@lmliheng/penguin-server/api";import {Button,ConfirmModal,@@ -42,7 +42,7 @@ import {toastError,toastSuccess,usePointerDrag,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/company/org-dialogs.tsx b/packages/web/src/features/company/org-dialogs.tsxindex c5d0ed67..c0155e97 100644--- a/packages/web/src/features/company/org-dialogs.tsx+++ b/packages/web/src/features/company/org-dialogs.tsx@@ -37,7 +37,7 @@ import type {OrganizationDetail,OrganizationPatchRequest,OrganizationSettings,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {Button,ConfirmModal,@@ -52,7 +52,7 @@ import {Textarea,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { ApiError } from "../../api/client";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/company/org-draft.ts b/packages/web/src/features/company/org-draft.tsindex 92e98a97..b029d5d8 100644--- a/packages/web/src/features/company/org-draft.ts+++ b/packages/web/src/features/company/org-draft.ts@@ -10,7 +10,7 @@* Project's). Storage is injectable (work-mode.ts convention: vitest runs in Node with no* localStorage) and every read degrades to "no draft" rather than throwing at a dialog open.*/-import type { ModelRefDto } from "@prismshadow/penguin-server/api";+import type { ModelRefDto } from "@lmliheng/penguin-server/api";/** Minimal storage interface (the subset of localStorage used here); tests inject an in-memory one. */export interface DraftStorage {diff --git a/packages/web/src/features/company/org-layout.tsx b/packages/web/src/features/company/org-layout.tsxindex e98f4cab..c93a6c11 100644--- a/packages/web/src/features/company/org-layout.tsx+++ b/packages/web/src/features/company/org-layout.tsx@@ -26,7 +26,7 @@import { createContext, useContext, useEffect, useState } from "react";import type { ReactNode } from "react";import { Navigate, Outlet, useNavigate, useParams } from "react-router";-import type { OrganizationSummary } from "@prismshadow/penguin-server/api";+import type { OrganizationSummary } from "@lmliheng/penguin-server/api";import {Button,EmptyState,@@ -37,7 +37,7 @@ import {PageFrame,PageHeader,Skeleton,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { useCompany } from "../../state/company";import { useProject } from "../../state/project";diff --git a/packages/web/src/features/company/org-session-groups.tsx b/packages/web/src/features/company/org-session-groups.tsxindex 95dfd77a..06d481d5 100644--- a/packages/web/src/features/company/org-session-groups.tsx+++ b/packages/web/src/features/company/org-session-groups.tsx@@ -46,7 +46,7 @@ import {toastError,toastSuccess,useRowContextMenu,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { sessionActivityLabel } from "../../lib/session-activity";diff --git a/packages/web/src/features/company/org-sessions.ts b/packages/web/src/features/company/org-sessions.tsindex 2135572a..39c462bd 100644--- a/packages/web/src/features/company/org-sessions.ts+++ b/packages/web/src/features/company/org-sessions.ts@@ -24,7 +24,7 @@ import type {OrgEmployeeState,OrgSessionsResponse,SessionStatus,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import type { SessionActivity } from "../../lib/session-activity";/**diff --git a/packages/web/src/features/company/org-switcher.tsx b/packages/web/src/features/company/org-switcher.tsxindex e04ce610..2ea3bd06 100644--- a/packages/web/src/features/company/org-switcher.tsx+++ b/packages/web/src/features/company/org-switcher.tsx@@ -25,7 +25,7 @@ import {MenuRadioItem,MenuSeparator,SkeletonList,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { toneSurface } from "../../lib/tone";import { useCompany } from "../../state/company";diff --git a/packages/web/src/features/company/overview-page.tsx b/packages/web/src/features/company/overview-page.tsxindex 55bc8ff0..e8674591 100644--- a/packages/web/src/features/company/overview-page.tsx+++ b/packages/web/src/features/company/overview-page.tsx@@ -29,7 +29,7 @@ import type {OrgChartResponse,OrgTicketStatus,OrganizationDetail,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {Badge,Button,@@ -43,7 +43,7 @@ import {Segmented,Text,toastError,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/company/overview-summary.ts b/packages/web/src/features/company/overview-summary.tsindex 517d9fc5..3bdc21c6 100644--- a/packages/web/src/features/company/overview-summary.ts+++ b/packages/web/src/features/company/overview-summary.ts@@ -13,7 +13,7 @@ import type {OrgInbox,OrgTicketItem,OrgTicketStatus,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import type { Tone } from "../../lib/tone";import { DEFAULT_CHANNEL_ID } from "./channel-list";import { TICKET_COLUMNS } from "./ticket-board";diff --git a/packages/web/src/features/company/path-capsule.tsx b/packages/web/src/features/company/path-capsule.tsxindex 8083343e..0932dffb 100644--- a/packages/web/src/features/company/path-capsule.tsx+++ b/packages/web/src/features/company/path-capsule.tsx@@ -20,7 +20,7 @@import { useMemo } from "react";import type { ReactNode } from "react";import type { Components, Options } from "react-markdown";-import { CopiedStatus, GlyphIcon, ICONS, ICON_SIZE, Md, useCopied } from "@prismshadow/penguin-ui";+import { CopiedStatus, GlyphIcon, ICONS, ICON_SIZE, Md, useCopied } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { STAT_ICONS } from "../../lib/stat-icons";import { codePath, pathKind, pathLabel, spellAsWritten, splitPaths } from "./path-capsules";diff --git a/packages/web/src/features/company/shared.tsx b/packages/web/src/features/company/shared.tsxindex abf56523..92dc9d7a 100644--- a/packages/web/src/features/company/shared.tsx+++ b/packages/web/src/features/company/shared.tsx@@ -9,11 +9,7 @@*/import { useId } from "react";import type { ReactNode } from "react";-import type {- OrgStatus,- OrgTicketPriority,- OrgTicketStatus,-} from "@prismshadow/penguin-server/api";+import type { OrgStatus, OrgTicketPriority, OrgTicketStatus } from "@lmliheng/penguin-server/api";import {AgentAvatar,Badge,@@ -26,8 +22,8 @@ import {Notice,ProgressBar,Ring,-} from "@prismshadow/penguin-ui";-import type { BadgeStyle, ToneName } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { BadgeStyle, ToneName } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { formatMoney, formatPercent } from "../../lib/format";import { toneDot, toneInk } from "../../lib/tone";diff --git a/packages/web/src/features/company/ticket-board.ts b/packages/web/src/features/company/ticket-board.tsindex 688fa003..1238c11b 100644--- a/packages/web/src/features/company/ticket-board.ts+++ b/packages/web/src/features/company/ticket-board.ts@@ -9,7 +9,7 @@ import type {OrgTicketItem,OrgTicketStatus,OrgTicketsResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";/** The five kanban columns, in lifecycle order. */export const TICKET_COLUMNS: readonly OrgTicketStatus[] = [diff --git a/packages/web/src/features/company/ticket-dialog.tsx b/packages/web/src/features/company/ticket-dialog.tsxindex fcc2ce88..309f32b9 100644--- a/packages/web/src/features/company/ticket-dialog.tsx+++ b/packages/web/src/features/company/ticket-dialog.tsx@@ -34,7 +34,7 @@ import type {OrgTicketPriority,OrgTicketStatus,OrgTicketUpdateRequest,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import type { ReactNode } from "react";import {Button,@@ -59,7 +59,7 @@ import {toastError,toastInfo,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/company/ticket-drag.ts b/packages/web/src/features/company/ticket-drag.tsindex 8dc161e7..e9602104 100644--- a/packages/web/src/features/company/ticket-drag.ts+++ b/packages/web/src/features/company/ticket-drag.ts@@ -16,7 +16,7 @@ import type {PointerEvent as ReactPointerEvent,RefObject,} from "react";-import type { OrgTicketItem, OrgTicketStatus } from "@prismshadow/penguin-server/api";+import type { OrgTicketItem, OrgTicketStatus } from "@lmliheng/penguin-server/api";import { canMove, isTicketStatus } from "./ticket-board";import { createTicketPress, edgeScrollStep } from "./ticket-press";diff --git a/packages/web/src/features/company/ticket-history.ts b/packages/web/src/features/company/ticket-history.tsindex 57bb6192..21aced30 100644--- a/packages/web/src/features/company/ticket-history.ts+++ b/packages/web/src/features/company/ticket-history.ts@@ -8,7 +8,7 @@ import type {OrgTicketDetail,OrgTicketHistoryAction,OrgTicketHistoryEntry,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";export interface TicketHistoryRow {/** Stable across refetches: the entries themselves carry no id. */diff --git a/packages/web/src/features/company/tickets-page.tsx b/packages/web/src/features/company/tickets-page.tsxindex 93ac49a0..dd9bbee5 100644--- a/packages/web/src/features/company/tickets-page.tsx+++ b/packages/web/src/features/company/tickets-page.tsx@@ -34,7 +34,7 @@ import type {OrgTicketPriority,OrgTicketStatus,OrgTicketsResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {Button,Count,@@ -53,7 +53,7 @@ import {Textarea,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/dock/dock-launcher-state.ts b/packages/web/src/features/dock/dock-launcher-state.tsindex 9e8f1789..5327f7f3 100644--- a/packages/web/src/features/dock/dock-launcher-state.ts+++ b/packages/web/src/features/dock/dock-launcher-state.ts@@ -12,7 +12,7 @@* toolbar and the composer — and its horizontal offset from the resting edge: 0 on the* edge, negative when pulled into the conversation.*/-import { rubberband } from "@prismshadow/penguin-ui";+import { rubberband } from "@lmliheng/penguin-ui";/** localStorage key of the resting position: the ball's centre as a ratio of the body's height. */export const LAUNCHER_Y_KEY = "penguin.dock.launcherY";diff --git a/packages/web/src/features/dock/dock-launcher.tsx b/packages/web/src/features/dock/dock-launcher.tsxindex 317faccd..271158c7 100644--- a/packages/web/src/features/dock/dock-launcher.tsx+++ b/packages/web/src/features/dock/dock-launcher.tsx@@ -50,8 +50,8 @@ import {toastInfo,usePointerDrag,usePrefersReducedMotion,-} from "@prismshadow/penguin-ui";-import type { SpringDriver } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { SpringDriver } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { NAV_ICONS } from "../../lib/nav-icons";import { toneInk } from "../../lib/tone";diff --git a/packages/web/src/features/dock/dock-panel.tsx b/packages/web/src/features/dock/dock-panel.tsxindex e02ec573..3635aec5 100644--- a/packages/web/src/features/dock/dock-panel.tsx+++ b/packages/web/src/features/dock/dock-panel.tsx@@ -51,8 +51,8 @@ import {MenuSeparator,ResizeHandle,usePointerDrag,-} from "@prismshadow/penguin-ui";-import type { DockPickerChoice, DockTabItem } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { DockPickerChoice, DockTabItem } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { NAV_ICONS } from "../../lib/nav-icons";import { chordKeys } from "../../components/ui/chord-kbd";diff --git a/packages/web/src/features/dock/dock-terminal.ts b/packages/web/src/features/dock/dock-terminal.tsindex d91da8b6..1239ddb5 100644--- a/packages/web/src/features/dock/dock-terminal.ts+++ b/packages/web/src/features/dock/dock-terminal.ts@@ -3,7 +3,7 @@* global `terminal.toggle` command. Split from dock-state.ts so the store stays pure (unit-testable* without fetch); this module owns every server round-trip a terminal tab needs.*/-import { toastError } from "@prismshadow/penguin-ui";+import { toastError } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { onCommand } from "../../lib/shortcuts/dispatcher";import {diff --git a/packages/web/src/features/dock/panel-meta.tsx b/packages/web/src/features/dock/panel-meta.tsxindex 4674d32d..0e18100b 100644--- a/packages/web/src/features/dock/panel-meta.tsx+++ b/packages/web/src/features/dock/panel-meta.tsx@@ -4,7 +4,7 @@* menus. One table, so a panel never has two names or two marks.*/import type { ReactNode } from "react";-import { GlyphIcon, ICONS, ICON_SIZE } from "@prismshadow/penguin-ui";+import { GlyphIcon, ICONS, ICON_SIZE } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { NAV_ICONS } from "../../lib/nav-icons";import type { PanelKind } from "./dock-state";diff --git a/packages/web/src/features/harness/harness-history-overlay.tsx b/packages/web/src/features/harness/harness-history-overlay.tsxindex f2343038..0403587d 100644--- a/packages/web/src/features/harness/harness-history-overlay.tsx+++ b/packages/web/src/features/harness/harness-history-overlay.tsx@@ -12,7 +12,7 @@*/import { useEffect, useMemo, useRef, useState } from "react";import { createPortal } from "react-dom";-import { Badge, CloseIcon, NoticeStrip, Skeleton, useDialogLayer } from "@prismshadow/penguin-ui";+import { Badge, CloseIcon, NoticeStrip, Skeleton, useDialogLayer } from "@lmliheng/penguin-ui";import type {HarnessHistoryEntry,IfaceChange,@@ -20,7 +20,7 @@ import type {ModuleChange,VersionHistoryDiffResponse,VersionHistoryResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import * as api from "../../api/endpoints";import { formatDateTime } from "../../lib/format";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/harness/module-tree-view.tsx b/packages/web/src/features/harness/module-tree-view.tsxindex 7d17c7e7..1b4e46e4 100644--- a/packages/web/src/features/harness/module-tree-view.tsx+++ b/packages/web/src/features/harness/module-tree-view.tsx@@ -4,8 +4,8 @@* Pure rendering over the table — the same data the CI page draws.*/import { useEffect, useMemo, useState } from "react";-import { Badge, NoticeStrip, Skeleton } from "@prismshadow/penguin-ui";-import type { BadgeStyle } from "@prismshadow/penguin-ui";+import { Badge, NoticeStrip, Skeleton } from "@lmliheng/penguin-ui";+import type { BadgeStyle } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/machines/machine-picker.tsx b/packages/web/src/features/machines/machine-picker.tsxindex dd3c7d73..578e099a 100644--- a/packages/web/src/features/machines/machine-picker.tsx+++ b/packages/web/src/features/machines/machine-picker.tsx@@ -8,7 +8,7 @@* in-place panel.*/import { useState } from "react";-import { Button, ChevronDown, Dropdown, MenuItem } from "@prismshadow/penguin-ui";+import { Button, ChevronDown, Dropdown, MenuItem } from "@lmliheng/penguin-ui";export interface MachineChoice {value: string;diff --git a/packages/web/src/features/machines/machines-page.tsx b/packages/web/src/features/machines/machines-page.tsxindex b1738f6b..e65fb251 100644--- a/packages/web/src/features/machines/machines-page.tsx+++ b/packages/web/src/features/machines/machines-page.tsx@@ -24,7 +24,7 @@* schedule (probe-schedule.ts) so a machine that went quiet is noticed without a tap.*/import { useCallback, useEffect, useMemo, useRef, useState } from "react";-import type { MachineInfo, MachineJob, MachinesResponse } from "@prismshadow/penguin-server/api";+import type { MachineInfo, MachineJob, MachinesResponse } from "@lmliheng/penguin-server/api";import {Button,ChevronDown,@@ -38,7 +38,7 @@ import {SearchInput,Skeleton,toastError,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { useProject } from "../../state/project";import { useLocale } from "../../state/locale";diff --git a/packages/web/src/features/machines/machines-view.ts b/packages/web/src/features/machines/machines-view.tsindex 1e77f243..ab638696 100644--- a/packages/web/src/features/machines/machines-view.ts+++ b/packages/web/src/features/machines/machines-view.ts@@ -14,7 +14,7 @@ import type {MachineJob,MachinePhase,MachinesResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import type { Tone } from "../../lib/tone";export type MachineReading =diff --git a/packages/web/src/features/machines/ssh-host-dialog.tsx b/packages/web/src/features/machines/ssh-host-dialog.tsxindex ed8230f7..5c2cfdba 100644--- a/packages/web/src/features/machines/ssh-host-dialog.tsx+++ b/packages/web/src/features/machines/ssh-host-dialog.tsx@@ -15,8 +15,8 @@ import type {MachinesResponse,SshHostRequest,SshHostResponse,-} from "@prismshadow/penguin-server/api";-import { Button, Input, Modal, NoticeStrip, toastSuccess } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-server/api";+import { Button, Input, Modal, NoticeStrip, toastSuccess } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/messaging/messaging-binding-editor.tsx b/packages/web/src/features/messaging/messaging-binding-editor.tsxindex e473180a..73d3303f 100644--- a/packages/web/src/features/messaging/messaging-binding-editor.tsx+++ b/packages/web/src/features/messaging/messaging-binding-editor.tsx@@ -47,7 +47,7 @@ import type {MessagingChannel,MessagingRuntimeStatus,TelegramTestResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {Button,Checkbox,@@ -61,7 +61,7 @@ import {toastError,toastInfo,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/messaging/messaging-binding-form.ts b/packages/web/src/features/messaging/messaging-binding-form.tsindex 4a4e2d85..822ad227 100644--- a/packages/web/src/features/messaging/messaging-binding-form.ts+++ b/packages/web/src/features/messaging/messaging-binding-form.ts@@ -31,7 +31,7 @@ import type {TelegramBindingPutRequest,TelegramTestRequest,WeChatBindingPutRequest,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";/** Default Feishu open-platform domain (shown prefilled; Lark tenants overwrite it). */export const FEISHU_DEFAULT_DOMAIN = "https://open.feishu.cn";diff --git a/packages/web/src/features/messaging/messaging-binding-modal.tsx b/packages/web/src/features/messaging/messaging-binding-modal.tsxindex da44c66c..89bef29f 100644--- a/packages/web/src/features/messaging/messaging-binding-modal.tsx+++ b/packages/web/src/features/messaging/messaging-binding-modal.tsx@@ -10,8 +10,8 @@* in the editor. There is no unbind action — removing a credential is the secret field's* clear checkbox.*/-import type { MessagingChannel } from "@prismshadow/penguin-server/api";-import { Button, Modal } from "@prismshadow/penguin-ui";+import type { MessagingChannel } from "@lmliheng/penguin-server/api";+import { Button, Modal } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import {MessagingBindingBody,diff --git a/packages/web/src/features/messaging/messaging-panel.tsx b/packages/web/src/features/messaging/messaging-panel.tsxindex 20b093c2..a2f0eda4 100644--- a/packages/web/src/features/messaging/messaging-panel.tsx+++ b/packages/web/src/features/messaging/messaging-panel.tsx@@ -13,7 +13,7 @@* Status polling is gated on `active` (the dock keeps hidden tabs mounted): a hidden tab* neither polls nor loses the form state it accumulated.*/-import { Button, Skeleton } from "@prismshadow/penguin-ui";+import { Button, Skeleton } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import {MessagingBindingBody,diff --git a/packages/web/src/features/messaging/qq-scan-connect.tsx b/packages/web/src/features/messaging/qq-scan-connect.tsxindex 03069bc8..cd52d2ec 100644--- a/packages/web/src/features/messaging/qq-scan-connect.tsx+++ b/packages/web/src/features/messaging/qq-scan-connect.tsx@@ -24,8 +24,8 @@ import type {MessagingBindingInfo,QQBindingInfo,QQScanPollResponse,-} from "@prismshadow/penguin-server/api";-import { Button, toastError, toastSuccess } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-server/api";+import { Button, toastError, toastSuccess } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { apiErrorText } from "../../lib/api-error";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/messaging/wechat-scan-connect.tsx b/packages/web/src/features/messaging/wechat-scan-connect.tsxindex 431d85a1..1d7ac557 100644--- a/packages/web/src/features/messaging/wechat-scan-connect.tsx+++ b/packages/web/src/features/messaging/wechat-scan-connect.tsx@@ -29,8 +29,8 @@ import type {MessagingBindingInfo,WeChatBindingInfo,WeChatScanPollResponse,-} from "@prismshadow/penguin-server/api";-import { Button, Input, toastError, toastInfo, toastSuccess } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-server/api";+import { Button, Input, toastError, toastInfo, toastSuccess } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { apiErrorText } from "../../lib/api-error";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/models/balance.ts b/packages/web/src/features/models/balance.tsindex 94364299..2dde147d 100644--- a/packages/web/src/features/models/balance.ts+++ b/packages/web/src/features/models/balance.ts@@ -20,7 +20,7 @@ import type {ModelBalanceReading,ModelBalanceResponse,PinnedBalance,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import * as api from "../../api/endpoints";import { apiErrorText } from "../../lib/api-error";import { formatMoney } from "../../lib/format";diff --git a/packages/web/src/features/models/catalog-sync.ts b/packages/web/src/features/models/catalog-sync.tsindex 20c7812a..a12db7ce 100644--- a/packages/web/src/features/models/catalog-sync.ts+++ b/packages/web/src/features/models/catalog-sync.ts@@ -33,8 +33,8 @@ import {PENGUIN_GO_PROVIDER_ID,catalogEntryFor,catalogModelEntries,-} from "@prismshadow/penguin-core/model-catalog";-import type { ModelsResponse } from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-core/model-catalog";+import type { ModelsResponse } from "@lmliheng/penguin-server/api";import { fractionOff } from "./model-grouping";import type { RowState } from "./models-page";diff --git a/packages/web/src/features/models/group-balance.tsx b/packages/web/src/features/models/group-balance.tsxindex 4212cef4..2a05ffa2 100644--- a/packages/web/src/features/models/group-balance.tsx+++ b/packages/web/src/features/models/group-balance.tsx@@ -11,9 +11,9 @@* information about an account, not an error the user made on this page.*/import { useEffect } from "react";-import type { ModelProviderInfo } from "@prismshadow/penguin-core/model-catalog";-import { providerInfo } from "@prismshadow/penguin-core/model-catalog";-import { GlyphIcon, ICONS, ICON_SIZE, IconButton, ProviderLogo } from "@prismshadow/penguin-ui";+import type { ModelProviderInfo } from "@lmliheng/penguin-core/model-catalog";+import { providerInfo } from "@lmliheng/penguin-core/model-catalog";+import { GlyphIcon, ICONS, ICON_SIZE, IconButton, ProviderLogo } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { formatDateTime } from "../../lib/format";import { useProject } from "../../state/project";diff --git a/packages/web/src/features/models/group-header.ts b/packages/web/src/features/models/group-header.tsindex a9c28789..2095f421 100644--- a/packages/web/src/features/models/group-header.ts+++ b/packages/web/src/features/models/group-header.ts@@ -12,8 +12,8 @@ import {MODEL_PROVIDERS,PENGUIN_GO_PROVIDER_ID,isAddableGroup,-} from "@prismshadow/penguin-core/model-catalog";-import type { ModelProviderInfo } from "@prismshadow/penguin-core/model-catalog";+} from "@lmliheng/penguin-core/model-catalog";+import type { ModelProviderInfo } from "@lmliheng/penguin-core/model-catalog";/*** One box for everything on the header's right side, so its items share one height, one insetdiff --git a/packages/web/src/features/models/key-auth-dialog.tsx b/packages/web/src/features/models/key-auth-dialog.tsxindex fa6a745c..2affbcd7 100644--- a/packages/web/src/features/models/key-auth-dialog.tsx+++ b/packages/web/src/features/models/key-auth-dialog.tsx@@ -3,13 +3,13 @@ import type {PlatformAuthFlowErrorCode,PlatformAuthFlowStatusResponse,PlatformAuthStartResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import type { KeyAuthEndpoints } from "../../api/endpoints";import { ApiError } from "../../api/client";import { apiErrorText } from "../../lib/api-error";import { isElectronRenderer } from "../../lib/desktop-renderer";import { S } from "../../lib/strings";-import { Button, Modal, Spinner } from "@prismshadow/penguin-ui";+import { Button, Modal, Spinner } from "@lmliheng/penguin-ui";const POLL_MS = 3_000;diff --git a/packages/web/src/features/models/model-group-expansion.ts b/packages/web/src/features/models/model-group-expansion.tsindex e41b6950..0dc51b60 100644--- a/packages/web/src/features/models/model-group-expansion.ts+++ b/packages/web/src/features/models/model-group-expansion.ts@@ -16,7 +16,7 @@* injectable (draft-cache.ts convention: vitest runs in Node, no localStorage); search* force-open below stays derived and never writes storage.*/-import { MODEL_PROVIDERS } from "@prismshadow/penguin-core/model-catalog";+import { MODEL_PROVIDERS } from "@lmliheng/penguin-core/model-catalog";/*** Provider ids expanded on first visit (nothing persisted yet): the leading group ofdiff --git a/packages/web/src/features/models/model-grouping.ts b/packages/web/src/features/models/model-grouping.tsindex f326140a..58381427 100644--- a/packages/web/src/features/models/model-grouping.ts+++ b/packages/web/src/features/models/model-grouping.ts@@ -16,12 +16,8 @@* the identity, so a profile that has never dragged a group sees exactly the catalog* order. Storage stays out of this module: the caller loads the array and passes it in.*/-import {- MODEL_PROVIDERS,- catalogEntryFor,- offPeakAt,-} from "@prismshadow/penguin-core/model-catalog";-import type { ModelProviderInfo, OffPeakDiscount } from "@prismshadow/penguin-core/model-catalog";+import { MODEL_PROVIDERS, catalogEntryFor, offPeakAt } from "@lmliheng/penguin-core/model-catalog";+import type { ModelProviderInfo, OffPeakDiscount } from "@lmliheng/penguin-core/model-catalog";import { orderModelGroups } from "./model-group-order";diff --git a/packages/web/src/features/models/models-page.tsx b/packages/web/src/features/models/models-page.tsxindex f13af504..88c10435 100644--- a/packages/web/src/features/models/models-page.tsx+++ b/packages/web/src/features/models/models-page.tsx@@ -41,7 +41,7 @@ import type {ModelTestRequest,ModelUpdateEntry,ModelVisionDetectRequest,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {Button,Checkbox,@@ -71,7 +71,7 @@ import {toastError,toastInfo,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { ApiError } from "../../api/client";import { S } from "../../lib/strings";@@ -96,12 +96,12 @@ import {providerEnvFallbackKey,providerInfo,unroutableVendorModel,-} from "@prismshadow/penguin-core/model-catalog";+} from "@lmliheng/penguin-core/model-catalog";import type {FastModeProtocol,ModelProviderBridgeAuth,ModelProviderInfo,-} from "@prismshadow/penguin-core/model-catalog";+} from "@lmliheng/penguin-core/model-catalog";import {allGroupKeys,discountedPrice,diff --git a/packages/web/src/features/models/protocol-suffix.tsx b/packages/web/src/features/models/protocol-suffix.tsxindex 257831ef..119edb7d 100644--- a/packages/web/src/features/models/protocol-suffix.tsx+++ b/packages/web/src/features/models/protocol-suffix.tsx@@ -30,7 +30,7 @@* the call site — so no extra row appears in the happy path.*/import { useState } from "react";-import { ChevronDown, Dropdown, Menu, MenuRadioItem, Spinner } from "@prismshadow/penguin-ui";+import { ChevronDown, Dropdown, Menu, MenuRadioItem, Spinner } from "@lmliheng/penguin-ui";// This menu is an OptionMenu by hand (its trigger lives inside the base URL field, which// OptionMenu cannot do), so it takes its rows from the Menu family rather than re-spelling// them — a change to the family reaches it.diff --git a/packages/web/src/features/models/protocol-types.ts b/packages/web/src/features/models/protocol-types.tsindex 6df749b7..904ec2db 100644--- a/packages/web/src/features/models/protocol-types.ts+++ b/packages/web/src/features/models/protocol-types.ts@@ -10,7 +10,7 @@ import {modelEnvPreviewKey,providerClientType,providerInfo,-} from "@prismshadow/penguin-core/model-catalog";+} from "@lmliheng/penguin-core/model-catalog";/*** AgentHub's generic protocol client types, in detection order (custom / user-defineddiff --git a/packages/web/src/features/models/tokendance-banner.tsx b/packages/web/src/features/models/tokendance-banner.tsxindex a6c9ea53..09bc06e4 100644--- a/packages/web/src/features/models/tokendance-banner.tsx+++ b/packages/web/src/features/models/tokendance-banner.tsx@@ -9,8 +9,8 @@* leaves it plain.*/import { useState } from "react";-import { providerInfo } from "@prismshadow/penguin-core/model-catalog";-import { Button, CloseButton, ICON_GAP, ProviderLogo } from "@prismshadow/penguin-ui";+import { providerInfo } from "@lmliheng/penguin-core/model-catalog";+import { Button, CloseButton, ICON_GAP, ProviderLogo } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";/** The group the banner connects: it is TokenDance's by name, so it names the group too. */diff --git a/packages/web/src/features/palette/app-palette.tsx b/packages/web/src/features/palette/app-palette.tsxindex 65d073de..6a9b99f9 100644--- a/packages/web/src/features/palette/app-palette.tsx+++ b/packages/web/src/features/palette/app-palette.tsx@@ -6,8 +6,8 @@* rather than navigating — closing it leaves the user exactly where they were.*/import { useEffect, useMemo, useState } from "react";-import { CommandPalette } from "@prismshadow/penguin-ui";-import type { PaletteAction } from "@prismshadow/penguin-ui";+import { CommandPalette } from "@lmliheng/penguin-ui";+import type { PaletteAction } from "@lmliheng/penguin-ui";import { onCommand } from "../../lib/shortcuts/dispatcher";import { useShortcutLabel } from "../../lib/shortcuts/use-keymap";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/plugins/plugin-detail-page.tsx b/packages/web/src/features/plugins/plugin-detail-page.tsxindex d7c31488..4cae286e 100644--- a/packages/web/src/features/plugins/plugin-detail-page.tsx+++ b/packages/web/src/features/plugins/plugin-detail-page.tsx@@ -11,7 +11,7 @@*/import { useEffect, useState } from "react";import { Link, useParams } from "react-router";-import type { PluginIndexEntry } from "@prismshadow/penguin-server/api";+import type { PluginIndexEntry } from "@lmliheng/penguin-server/api";import ReactMarkdown from "react-markdown";import {Button,@@ -26,7 +26,7 @@ import {REMARK_PLUGINS,Skeleton,useCopied,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/plugins/plugin-detail.tsx b/packages/web/src/features/plugins/plugin-detail.tsxindex 504ec753..214a1579 100644--- a/packages/web/src/features/plugins/plugin-detail.tsx+++ b/packages/web/src/features/plugins/plugin-detail.tsx@@ -9,14 +9,14 @@* on hand at once and nothing here is fetched per directory.*/import { useEffect, useState } from "react";-import { Badge, FileBrowser, ICONS, Modal } from "@prismshadow/penguin-ui";-import type { FileBrowserPreview, FileTreeRow, TreeToggle } from "@prismshadow/penguin-ui";+import { Badge, FileBrowser, ICONS, Modal } from "@lmliheng/penguin-ui";+import type { FileBrowserPreview, FileTreeRow, TreeToggle } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";import { baseName } from "../../lib/workspace-tree";import { useLocale } from "../../state/locale";import { getPluginFiles } from "../../api/endpoints";-import type { PluginItem } from "@prismshadow/penguin-server/api";+import type { PluginItem } from "@lmliheng/penguin-server/api";import { SkillTile } from "../skills/skill-icon-view";import { localizedText } from "../chat/skill-use";diff --git a/packages/web/src/features/plugins/plugin-import-dialog.tsx b/packages/web/src/features/plugins/plugin-import-dialog.tsxindex b0da3e14..0c2c51c8 100644--- a/packages/web/src/features/plugins/plugin-import-dialog.tsx+++ b/packages/web/src/features/plugins/plugin-import-dialog.tsx@@ -38,7 +38,7 @@ import {Modal,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { ApiError } from "../../api/client";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/plugins/plugins-page.tsx b/packages/web/src/features/plugins/plugins-page.tsxindex 3033c2c4..89994fd5 100644--- a/packages/web/src/features/plugins/plugins-page.tsx+++ b/packages/web/src/features/plugins/plugins-page.tsx@@ -47,7 +47,7 @@ import type {PluginIndexEntry,PluginItem,SkillMetadataItem,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {AgentAvatar,Badge,@@ -72,7 +72,7 @@ import {UpdateDot,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { ApiError } from "../../api/client";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/schedules/schedule-ai-modal.tsx b/packages/web/src/features/schedules/schedule-ai-modal.tsxindex 40d45b2f..9db73e98 100644--- a/packages/web/src/features/schedules/schedule-ai-modal.tsx+++ b/packages/web/src/features/schedules/schedule-ai-modal.tsx@@ -8,8 +8,8 @@* move, on text they have read. Mounted fresh on every open, like AiCreateModal.*/import { useState } from "react";-import type { AgentSummary } from "@prismshadow/penguin-server/api";-import { Button, GlyphIcon, ICONS, Modal } from "@prismshadow/penguin-ui";+import type { AgentSummary } from "@lmliheng/penguin-server/api";+import { Button, GlyphIcon, ICONS, Modal } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { agentDisplayName } from "../../state/project";import { AiCreatePanel, composeAiPrompt } from "../ai-create";diff --git a/packages/web/src/features/schedules/schedule-describe.ts b/packages/web/src/features/schedules/schedule-describe.tsindex 27165e3d..aa57e6d1 100644--- a/packages/web/src/features/schedules/schedule-describe.ts+++ b/packages/web/src/features/schedules/schedule-describe.ts@@ -7,7 +7,7 @@* come from the active dictionary, the dates from the caller's locale, and "today" from the* `now` the caller passes.*/-import type { ScheduleItem } from "@prismshadow/penguin-server/api";+import type { ScheduleItem } from "@lmliheng/penguin-server/api";import { S } from "../../lib/strings";import { formatMonthDay, localYmd } from "../../lib/format";import type { Locale } from "../../state/locale";diff --git a/packages/web/src/features/schedules/schedule-form-modal.tsx b/packages/web/src/features/schedules/schedule-form-modal.tsxindex a21bd71b..8f28681d 100644--- a/packages/web/src/features/schedules/schedule-form-modal.tsx+++ b/packages/web/src/features/schedules/schedule-form-modal.tsx@@ -19,7 +19,7 @@ import type {ScheduleItem,ScheduleUpsertRequest,SessionInfo,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {Button,Checkbox,@@ -33,7 +33,7 @@ import {Textarea,toastInfo,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/schedules/schedule-panel-state.ts b/packages/web/src/features/schedules/schedule-panel-state.tsindex 6f8b62ff..f4f8746a 100644--- a/packages/web/src/features/schedules/schedule-panel-state.ts+++ b/packages/web/src/features/schedules/schedule-panel-state.ts@@ -4,7 +4,7 @@* what the search box matches, and which state glyph a row wears. Kept apart from the panel* so the rules run in the node-only unit tests (test/schedule-panel-state.test.ts).*/-import type { ScheduleItem, ScheduleStatus } from "@prismshadow/penguin-server/api";+import type { ScheduleItem, ScheduleStatus } from "@lmliheng/penguin-server/api";export type ScheduleFilter = "all" | "active" | "paused" | "completed";diff --git a/packages/web/src/features/schedules/schedule-panel.tsx b/packages/web/src/features/schedules/schedule-panel.tsxindex df9e9926..abcd90ef 100644--- a/packages/web/src/features/schedules/schedule-panel.tsx+++ b/packages/web/src/features/schedules/schedule-panel.tsx@@ -16,11 +16,7 @@* while the AI path stays open to everyone — asking the agent is a message, not a write.*/import { useEffect, useState } from "react";-import type {- ProjectScheduleItem,- ScheduleItem,- SessionInfo,-} from "@prismshadow/penguin-server/api";+import type { ProjectScheduleItem, ScheduleItem, SessionInfo } from "@lmliheng/penguin-server/api";import {Badge,ConfirmModal,@@ -37,7 +33,7 @@ import {Switch,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/schedules/schedule-store.ts b/packages/web/src/features/schedules/schedule-store.tsindex 9b8e01bb..05646697 100644--- a/packages/web/src/features/schedules/schedule-store.ts+++ b/packages/web/src/features/schedules/schedule-store.ts@@ -28,7 +28,7 @@* kilobytes back for exactly the blank-then-refetch this cache exists to remove.*/import { useEffect, useSyncExternalStore } from "react";-import type { ProjectScheduleItem } from "@prismshadow/penguin-server/api";+import type { ProjectScheduleItem } from "@lmliheng/penguin-server/api";import * as api from "../../api/endpoints";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/schedules/schedule-suggestions.tsx b/packages/web/src/features/schedules/schedule-suggestions.tsxindex a8a6f7ce..e7466b89 100644--- a/packages/web/src/features/schedules/schedule-suggestions.tsx+++ b/packages/web/src/features/schedules/schedule-suggestions.tsx@@ -6,7 +6,7 @@* agent as a whole (the settings tab opens a new Session). Picking one opens the AI creation* dialog with that prompt filled in, and the same rows are the dialog's clickable examples.*/-import { GlyphIcon, ICONS, ICON_GAP, ICON_SIZE } from "@prismshadow/penguin-ui";+import { GlyphIcon, ICONS, ICON_GAP, ICON_SIZE } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import type { AiExample } from "../ai-create";diff --git a/packages/web/src/features/schedules/schedule-upsert.ts b/packages/web/src/features/schedules/schedule-upsert.tsindex f952cf46..5d8cfbcf 100644--- a/packages/web/src/features/schedules/schedule-upsert.ts+++ b/packages/web/src/features/schedules/schedule-upsert.ts@@ -8,7 +8,7 @@ import type {ModelRefDto,ScheduleItem,ScheduleUpsertRequest,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";/*** Stored schedule fields → a model reference. The DTO types the two fields independently, sodiff --git a/packages/web/src/features/semantic-id/id-suggest-notice.ts b/packages/web/src/features/semantic-id/id-suggest-notice.tsindex 80944846..47ab1fcf 100644--- a/packages/web/src/features/semantic-id/id-suggest-notice.ts+++ b/packages/web/src/features/semantic-id/id-suggest-notice.ts@@ -13,7 +13,7 @@* how the user learns the id in the box is a placeholder, and losing it over an unrecognized* code would be the worse failure.*/-import type { SemanticIdSuggestResponse } from "@prismshadow/penguin-server/api";+import type { SemanticIdSuggestResponse } from "@lmliheng/penguin-server/api";import type { Strings } from "../../lib/strings";/** The field's own dictionary slice — `S.semanticId.idSuggest`. */diff --git a/packages/web/src/features/semantic-id/semantic-id-field.tsx b/packages/web/src/features/semantic-id/semantic-id-field.tsxindex b7980eff..659e7ab8 100644--- a/packages/web/src/features/semantic-id/semantic-id-field.tsx+++ b/packages/web/src/features/semantic-id/semantic-id-field.tsx@@ -26,7 +26,7 @@*/import { useId, useState } from "react";import type { KeyboardEvent } from "react";-import type { SemanticIdKind } from "@prismshadow/penguin-server/api";+import type { SemanticIdKind } from "@lmliheng/penguin-server/api";import {Button,FieldError,@@ -36,7 +36,7 @@ import {ICON_SIZE,Input,toastError,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/settings/account-section.tsx b/packages/web/src/features/settings/account-section.tsxindex f5998185..a547b008 100644--- a/packages/web/src/features/settings/account-section.tsx+++ b/packages/web/src/features/settings/account-section.tsx@@ -5,7 +5,7 @@* offersChangePassword for the full rule).*/import { useState } from "react";-import { Button, PrefRow } from "@prismshadow/penguin-ui";+import { Button, PrefRow } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { ChangePasswordDialog } from "../../components/account/change-password-dialog";diff --git a/packages/web/src/features/settings/appearance-section.tsx b/packages/web/src/features/settings/appearance-section.tsxindex 29bbd091..65e3fc56 100644--- a/packages/web/src/features/settings/appearance-section.tsx+++ b/packages/web/src/features/settings/appearance-section.tsx@@ -19,8 +19,8 @@ import {SwatchPicker,THEME_IDS,ToggleRow,-} from "@prismshadow/penguin-ui";-import { FONT_CJK_OPTIONS, FONT_LATIN_OPTIONS, TEXT_SIZES } from "@prismshadow/penguin-ui/boot";+} from "@lmliheng/penguin-ui";+import { FONT_CJK_OPTIONS, FONT_LATIN_OPTIONS, TEXT_SIZES } from "@lmliheng/penguin-ui/boot";import { S } from "../../lib/strings";import * as api from "../../api/endpoints";import { isDesktopShellWindow } from "../../lib/account-menu";diff --git a/packages/web/src/features/settings/company-mode-write.ts b/packages/web/src/features/settings/company-mode-write.tsindex ebac2f64..fe334ad5 100644--- a/packages/web/src/features/settings/company-mode-write.ts+++ b/packages/web/src/features/settings/company-mode-write.ts@@ -10,7 +10,7 @@import type {ServerSettingsResponse,ServerSettingsUpdateRequest,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";/** What a flip settled on: the stored value now, or the value to revert to and why. */export type CompanyModeWriteResult =diff --git a/packages/web/src/features/settings/company-section.tsx b/packages/web/src/features/settings/company-section.tsxindex efae137b..7e8d0eac 100644--- a/packages/web/src/features/settings/company-section.tsx+++ b/packages/web/src/features/settings/company-section.tsx@@ -13,7 +13,7 @@* wherever the switch stands.*/import { useEffect, useState } from "react";-import { SettingsSection, ToggleRow, toastError } from "@prismshadow/penguin-ui";+import { SettingsSection, ToggleRow, toastError } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/settings/credits-section.tsx b/packages/web/src/features/settings/credits-section.tsxindex 0ab48f2d..1c61fa7d 100644--- a/packages/web/src/features/settings/credits-section.tsx+++ b/packages/web/src/features/settings/credits-section.tsx@@ -15,10 +15,10 @@* screen away.*/import { useId, useState } from "react";-import { FONT_CREDITS } from "@prismshadow/penguin-ui/fonts-credits";-import type { FontCredit } from "@prismshadow/penguin-ui/fonts-credits";-import type { ThemeId } from "@prismshadow/penguin-ui";-import { Chevron, ICON_GAP } from "@prismshadow/penguin-ui";+import { FONT_CREDITS } from "@lmliheng/penguin-ui/fonts-credits";+import type { FontCredit } from "@lmliheng/penguin-ui/fonts-credits";+import type { ThemeId } from "@lmliheng/penguin-ui";+import { Chevron, ICON_GAP } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";/** A theme id in the reader's words. */diff --git a/packages/web/src/features/settings/general-section.tsx b/packages/web/src/features/settings/general-section.tsxindex c89eeaf1..e48ec9bc 100644--- a/packages/web/src/features/settings/general-section.tsx+++ b/packages/web/src/features/settings/general-section.tsx@@ -10,7 +10,7 @@* request answered rather than on what was clicked.*/import { useState, useSyncExternalStore } from "react";-import { PrefRow, Segmented, ToggleRow } from "@prismshadow/penguin-ui";+import { PrefRow, Segmented, ToggleRow } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import {enableNotifications,diff --git a/packages/web/src/features/settings/plugins-section.tsx b/packages/web/src/features/settings/plugins-section.tsxindex ede49d92..fcdb4f9e 100644--- a/packages/web/src/features/settings/plugins-section.tsx+++ b/packages/web/src/features/settings/plugins-section.tsx@@ -20,7 +20,7 @@* nothing here says "restart".*/import { useEffect, useRef, useState } from "react";-import type { PluginConfigEntry, PluginConfigField } from "@prismshadow/penguin-server/api";+import type { PluginConfigEntry, PluginConfigField } from "@lmliheng/penguin-server/api";import * as api from "../../api/endpoints";import { ApiError } from "../../api/client";import { S } from "../../lib/strings";@@ -44,7 +44,7 @@ import {toastError,toastInfo,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";/** The picker's value for this server; a machine id is never this short. */const THIS_SERVER = "*";diff --git a/packages/web/src/features/settings/profile-section.tsx b/packages/web/src/features/settings/profile-section.tsxindex f5b54f14..fd4a75a6 100644--- a/packages/web/src/features/settings/profile-section.tsx+++ b/packages/web/src/features/settings/profile-section.tsx@@ -27,7 +27,7 @@*/import { useState } from "react";import type { ChangeEvent } from "react";-import type { UpdateProfileRequest } from "@prismshadow/penguin-server/api";+import type { UpdateProfileRequest } from "@lmliheng/penguin-server/api";import {Button,HiddenFileInput,@@ -37,7 +37,7 @@ import {UserAvatar,buttonClass,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/settings/proxy-section.tsx b/packages/web/src/features/settings/proxy-section.tsxindex 8ad800a3..4197d96f 100644--- a/packages/web/src/features/settings/proxy-section.tsx+++ b/packages/web/src/features/settings/proxy-section.tsx@@ -37,7 +37,7 @@ import type {ProxyProbeProvider,ProxyProbeTargetDto,ServerSettings,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {Button,Input,@@ -46,7 +46,7 @@ import {toastError,toastInfo,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { ApiError } from "../../api/client";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/settings/settings-dialog.tsx b/packages/web/src/features/settings/settings-dialog.tsxindex 1c129278..e2ab00d6 100644--- a/packages/web/src/features/settings/settings-dialog.tsx+++ b/packages/web/src/features/settings/settings-dialog.tsx@@ -8,8 +8,8 @@* anything not on it falls back to the first page they can actually open.*/import { useEffect, useState } from "react";-import { ICONS, PagedDialog } from "@prismshadow/penguin-ui";-import type { PagedDialogGroup } from "@prismshadow/penguin-ui";+import { ICONS, PagedDialog } from "@lmliheng/penguin-ui";+import type { PagedDialogGroup } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import {resolveSettingsSection,diff --git a/packages/web/src/features/settings/shortcut-runtime.tsx b/packages/web/src/features/settings/shortcut-runtime.tsxindex 9a8ac91b..64afabca 100644--- a/packages/web/src/features/settings/shortcut-runtime.tsx+++ b/packages/web/src/features/settings/shortcut-runtime.tsx@@ -7,7 +7,7 @@* mirror standing — the next hydrate reconciles.*/import { useEffect } from "react";-import { toastError } from "@prismshadow/penguin-ui";+import { toastError } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { hydrateFromServer, setKeybindingsPersister } from "../../lib/shortcuts/store";diff --git a/packages/web/src/features/settings/shortcuts-section.tsx b/packages/web/src/features/settings/shortcuts-section.tsxindex df1e0b3a..f5efff53 100644--- a/packages/web/src/features/settings/shortcuts-section.tsx+++ b/packages/web/src/features/settings/shortcuts-section.tsx@@ -8,13 +8,7 @@* tab never receives ⌘W; ⌘P takes over the browser's Print; the desktop menu also carries ⌘R).*/import { useState } from "react";-import {- Button,- ConfirmModal,- GlyphIcon,- ICON_SIZE,- SettingsSection,-} from "@prismshadow/penguin-ui";+import { Button, ConfirmModal, GlyphIcon, ICON_SIZE, SettingsSection } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { conflictsOf, findConflicts, type Conflict } from "../../lib/shortcuts/conflicts";import { currentHost, currentPlatform } from "../../lib/shortcuts/platform";diff --git a/packages/web/src/features/settings/trace-import-row.tsx b/packages/web/src/features/settings/trace-import-row.tsxindex 04d39478..1ac2f1d2 100644--- a/packages/web/src/features/settings/trace-import-row.tsx+++ b/packages/web/src/features/settings/trace-import-row.tsx@@ -18,7 +18,7 @@*/import { useEffect, useState } from "react";import type { ChangeEvent } from "react";-import type { AgentSummary, ProjectSummary } from "@prismshadow/penguin-server/api";+import type { AgentSummary, ProjectSummary } from "@lmliheng/penguin-server/api";import {HiddenFileInput,PrefRow,@@ -26,7 +26,7 @@ import {UploadIcon,toastError,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/settings/uploads-section.tsx b/packages/web/src/features/settings/uploads-section.tsxindex 92e6f88f..274d31ad 100644--- a/packages/web/src/features/settings/uploads-section.tsx+++ b/packages/web/src/features/settings/uploads-section.tsx@@ -13,7 +13,7 @@* read the setting per request — so there is nothing to restart and nothing to warn about.*/import { useEffect, useState } from "react";-import type { ServerSettings } from "@prismshadow/penguin-server/api";+import type { ServerSettings } from "@lmliheng/penguin-server/api";import {Button,Input,@@ -21,7 +21,7 @@ import {toastError,toastInfo,toastSuccess,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { ApiError } from "../../api/client";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/skills/skill-icon-view.tsx b/packages/web/src/features/skills/skill-icon-view.tsxindex e5f45bda..0a4c1a73 100644--- a/packages/web/src/features/skills/skill-icon-view.tsx+++ b/packages/web/src/features/skills/skill-icon-view.tsx@@ -13,7 +13,7 @@* color).*/import { useMemo } from "react";-import { GlyphIcon } from "@prismshadow/penguin-ui";+import { GlyphIcon } from "@lmliheng/penguin-ui";import { BOOK_ICON } from "../chat/skill-use";import { sanitizeSkillIcon } from "./skill-icon";diff --git a/packages/web/src/features/skills/skill-pick-list.tsx b/packages/web/src/features/skills/skill-pick-list.tsxindex c0621dd1..22c8ee92 100644--- a/packages/web/src/features/skills/skill-pick-list.tsx+++ b/packages/web/src/features/skills/skill-pick-list.tsx@@ -17,8 +17,8 @@* user can see.*/import { useState } from "react";-import type { SkillMetadataItem } from "@prismshadow/penguin-server/api";-import { ICON_SIZE, MenuItem, SearchInput } from "@prismshadow/penguin-ui";+import type { SkillMetadataItem } from "@lmliheng/penguin-server/api";+import { ICON_SIZE, MenuItem, SearchInput } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { useLocale } from "../../state/locale";import { filterSkills, localizedShortText } from "../chat/skill-use";diff --git a/packages/web/src/features/terminal/terminal-appearance.ts b/packages/web/src/features/terminal/terminal-appearance.tsindex 4be7d30f..afbcd55f 100644--- a/packages/web/src/features/terminal/terminal-appearance.ts+++ b/packages/web/src/features/terminal/terminal-appearance.ts@@ -1,7 +1,7 @@/*** The terminal's chrome palette, resolved in JS rather than through Tailwind's `dark:`.*- * That variant is anchored on the root class (`&:where(.dark, .dark *)` in @prismshadow/penguin-ui's theme.css), so+ * That variant is anchored on the root class (`&:where(.dark, .dark *)` in @lmliheng/penguin-ui's theme.css), so* a subtree can opt IN to dark but never out of it — and the terminal's appearance is its* own setting (see TerminalThemeMode), which means a light terminal inside a dark app has* to be expressible. Hence whole class strings picked by a resolved boolean.diff --git a/packages/web/src/features/terminal/terminal-keybar.tsx b/packages/web/src/features/terminal/terminal-keybar.tsxindex 22601a02..be33f938 100644--- a/packages/web/src/features/terminal/terminal-keybar.tsx+++ b/packages/web/src/features/terminal/terminal-keybar.tsx@@ -16,7 +16,7 @@* arms it and the next character typed on the soft keyboard consumes it (the composition* happens on the data path in terminal-view.tsx). Tapping again disarms.*/-import { GlyphIcon, ICON_SIZE } from "@prismshadow/penguin-ui";+import { GlyphIcon, ICON_SIZE } from "@lmliheng/penguin-ui";import { useTerminalChrome } from "./terminal-appearance";import { S } from "../../lib/strings";import {diff --git a/packages/web/src/features/terminal/terminal-page.tsx b/packages/web/src/features/terminal/terminal-page.tsxindex 68429f01..1e70abee 100644--- a/packages/web/src/features/terminal/terminal-page.tsx+++ b/packages/web/src/features/terminal/terminal-page.tsx@@ -24,7 +24,7 @@* status dot, the "+") stay, each naming itself.*/import { useCallback, useMemo, useState } from "react";-import { ConfirmModal, GlyphIcon, ICONS, ICON_SIZE } from "@prismshadow/penguin-ui";+import { ConfirmModal, GlyphIcon, ICONS, ICON_SIZE } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { useCoarsePointer } from "../../lib/use-coarse-pointer";import { useVisualViewportHeight } from "../../lib/use-visual-viewport-height";diff --git a/packages/web/src/features/terminal/terminal-view.tsx b/packages/web/src/features/terminal/terminal-view.tsxindex 3c1b9eaf..c444e276 100644--- a/packages/web/src/features/terminal/terminal-view.tsx+++ b/packages/web/src/features/terminal/terminal-view.tsx@@ -65,7 +65,7 @@ export type TerminalStatus = "connecting" | "ready" | "exited" | "error";* The screen's own palette, one per appearance. Two things matter here.** The surface colours are the app's, not a terminal's: `#121212`/`#ffffff` are the default- * theme's canvas (`themes/github.css` in @prismshadow/penguin-ui) and its neutral ink, and the+ * theme's canvas (`themes/github.css` in @lmliheng/penguin-ui) and its neutral ink, and the* selection matches its `::selection`. A panel docked inside the app that brought its* own charcoal along read as a foreign window sitting on top of it.*diff --git a/packages/web/src/features/traces/timeline-chart.tsx b/packages/web/src/features/traces/timeline-chart.tsxindex 28d5fcfd..00c9722f 100644--- a/packages/web/src/features/traces/timeline-chart.tsx+++ b/packages/web/src/features/traces/timeline-chart.tsx@@ -28,9 +28,9 @@ import type {TraceModelSegment,TraceOtherSpan,TraceToolSpan,-} from "@prismshadow/penguin-server/api";-import { Dot, Legend, TimelineBar, namedHint } from "@prismshadow/penguin-ui";-import type { ChartPaint, LegendItem } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-server/api";+import { Dot, Legend, TimelineBar, namedHint } from "@lmliheng/penguin-ui";+import type { ChartPaint, LegendItem } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { humanizeDuration } from "../../lib/format";import { packToolLanes, toolSpanBounds } from "./lane-packing";diff --git a/packages/web/src/features/traces/trace-event-row.tsx b/packages/web/src/features/traces/trace-event-row.tsxindex e762b90e..d3a8e796 100644--- a/packages/web/src/features/traces/trace-event-row.tsx+++ b/packages/web/src/features/traces/trace-event-row.tsx@@ -19,11 +19,11 @@ import {REMARK_PLUGINS,RequiredMark,ZoomableImage,-} from "@prismshadow/penguin-ui";-import type { BadgeStyle } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { BadgeStyle } from "@lmliheng/penguin-ui";import ReactMarkdown from "react-markdown";import { S } from "../../lib/strings";-import type { OmniMessage } from "@prismshadow/penguin-core/omnimessage";+import type { OmniMessage } from "@lmliheng/penguin-core/omnimessage";import { formatTime, humanizeTokens } from "../../lib/format";import { stopReasonTone } from "../../lib/stop-reason-tone";diff --git a/packages/web/src/features/traces/trace-events-loader.ts b/packages/web/src/features/traces/trace-events-loader.tsindex 9a000747..8fa29480 100644--- a/packages/web/src/features/traces/trace-events-loader.ts+++ b/packages/web/src/features/traces/trace-events-loader.ts@@ -12,7 +12,7 @@* the next offset is only known from the page before it (a page may come back short), and a* reader looking at round one does not benefit from round nine's page racing it.*/-import type { TraceEventsResponse } from "@prismshadow/penguin-server/api";+import type { TraceEventsResponse } from "@lmliheng/penguin-server/api";/*** Hard stop on the number of requests one walk may make. With the endpoint's 1000-event pagediff --git a/packages/web/src/features/traces/trace-file-view.tsx b/packages/web/src/features/traces/trace-file-view.tsxindex f79c0b32..a65feae0 100644--- a/packages/web/src/features/traces/trace-file-view.tsx+++ b/packages/web/src/features/traces/trace-file-view.tsx@@ -24,14 +24,14 @@* clicking a bar scrolls to the corresponding message and pins the highlight for PIN_MS.*/import { useEffect, useMemo, useRef, useState } from "react";-import type { OmniMessage } from "@prismshadow/penguin-core/omnimessage";+import type { OmniMessage } from "@lmliheng/penguin-core/omnimessage";import type {TraceAnalysisResponse,TraceModelSegment,TraceOtherSpan,TraceTaskStats,TraceToolSpan,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {Badge,Card,@@ -41,7 +41,7 @@ import {Skeleton,StatChip,TokenDonut,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/traces/trace-panel.tsx b/packages/web/src/features/traces/trace-panel.tsxindex 80a08c09..77ba8bb2 100644--- a/packages/web/src/features/traces/trace-panel.tsx+++ b/packages/web/src/features/traces/trace-panel.tsx@@ -14,14 +14,8 @@* refresh — while a hidden tab fetches nothing. trace-refresh.ts states the rule exactly.*/import { useEffect, useRef, useState } from "react";-import type { SessionInfo } from "@prismshadow/penguin-server/api";-import {- DownloadIcon,- EmptyState,- ICON_SIZE,- NoticeStrip,- Skeleton,-} from "@prismshadow/penguin-ui";+import type { SessionInfo } from "@lmliheng/penguin-server/api";+import { DownloadIcon, EmptyState, ICON_SIZE, NoticeStrip, Skeleton } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/usage/errors-panel.tsx b/packages/web/src/features/usage/errors-panel.tsxindex e7e5ce75..19ad8e2f 100644--- a/packages/web/src/features/usage/errors-panel.tsx+++ b/packages/web/src/features/usage/errors-panel.tsx@@ -14,8 +14,8 @@* The outer frame is provided by the caller's ChartCard (full width, below the four business charts).*/import { useEffect, useState } from "react";-import type { UsageErrorItem, UsageErrors } from "@prismshadow/penguin-server/api";-import { Badge, ConfirmModal, Pager, toastError, toastSuccess } from "@prismshadow/penguin-ui";+import type { UsageErrorItem, UsageErrors } from "@lmliheng/penguin-server/api";+import { Badge, ConfirmModal, Pager, toastError, toastSuccess } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";diff --git a/packages/web/src/features/usage/trend-chart.tsx b/packages/web/src/features/usage/trend-chart.tsxindex f4ea1d08..ef240f0c 100644--- a/packages/web/src/features/usage/trend-chart.tsx+++ b/packages/web/src/features/usage/trend-chart.tsx@@ -18,7 +18,7 @@* skipped an interval.*/import { useState } from "react";-import type { UsageGranularity, UsageSeriesPoint } from "@prismshadow/penguin-server/api";+import type { UsageGranularity, UsageSeriesPoint } from "@lmliheng/penguin-server/api";import {ChartArea,ChartFrame,@@ -27,8 +27,8 @@ import {makeGeom,seriesPoints,useChartWidth,-} from "@prismshadow/penguin-ui";-import type { ChartPaint } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { ChartPaint } from "@lmliheng/penguin-ui";import { formatMoney } from "../../lib/format";import type { Currency } from "../../state/theme";import { bucketAxisLabel, bucketFullLabel } from "./usage-controls";diff --git a/packages/web/src/features/usage/usage-charts.tsx b/packages/web/src/features/usage/usage-charts.tsxindex e175ad6b..16e7d689 100644--- a/packages/web/src/features/usage/usage-charts.tsx+++ b/packages/web/src/features/usage/usage-charts.tsx@@ -37,7 +37,7 @@* answers the pointer wherever it runs.*/import { useState } from "react";-import type { UsageGranularity, UsageSeriesPoint } from "@prismshadow/penguin-server/api";+import type { UsageGranularity, UsageSeriesPoint } from "@lmliheng/penguin-server/api";import {ChartBar,ChartBarHit,@@ -56,8 +56,8 @@ import {seriesPoints,stackSegments,useChartWidth,-} from "@prismshadow/penguin-ui";-import type { ChartPaint, LegendItem, TokenBucketKey } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { ChartPaint, LegendItem, TokenBucketKey } from "@lmliheng/penguin-ui";import { S } from "../../lib/strings";import { formatPercent, humanizeTokens } from "../../lib/format";import { NEUTRAL_SERIES } from "../../lib/category-colors";diff --git a/packages/web/src/features/usage/usage-controls.ts b/packages/web/src/features/usage/usage-controls.tsindex b5cf56bb..fbffd518 100644--- a/packages/web/src/features/usage/usage-controls.ts+++ b/packages/web/src/features/usage/usage-controls.ts@@ -11,7 +11,7 @@* "last 24 hours" serves hours, and every calendar range is drawn per day,* week or month by its length.*/-import type { UsageGranularity, UsageSeriesPoint } from "@prismshadow/penguin-server/api";+import type { UsageGranularity, UsageSeriesPoint } from "@lmliheng/penguin-server/api";import { cacheHitRate } from "../../lib/format";import { SERIES_COLORS } from "../../lib/category-colors";diff --git a/packages/web/src/features/usage/usage-page.tsx b/packages/web/src/features/usage/usage-page.tsxindex 7733630a..f1b055e0 100644--- a/packages/web/src/features/usage/usage-page.tsx+++ b/packages/web/src/features/usage/usage-page.tsx@@ -27,15 +27,8 @@*/import { useCallback, useEffect, useMemo, useState } from "react";import { useSearchParams } from "react-router";-import type { ModelRefDto, UsageBucket, UsageResponse } from "@prismshadow/penguin-server/api";-import {- Input,- PageFrame,- PageHeader,- Select,- Skeleton,- TodoNotice,-} from "@prismshadow/penguin-ui";+import type { ModelRefDto, UsageBucket, UsageResponse } from "@lmliheng/penguin-server/api";+import { Input, PageFrame, PageHeader, Select, Skeleton, TodoNotice } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { S } from "../../lib/strings";import { apiErrorText } from "../../lib/api-error";@@ -44,7 +37,7 @@ import { useUpdateBadges } from "../../lib/use-update-badges";import { dismissTodo } from "../../lib/todo-dismissals";import { refreshProjectTodos } from "../../lib/use-project-todos";import { formatMoney, humanizeTokens } from "../../lib/format";-import { catalogEntryFor } from "@prismshadow/penguin-core/model-catalog";+import { catalogEntryFor } from "@lmliheng/penguin-core/model-catalog";import { useProject } from "../../state/project";import { useTheme } from "../../state/theme";import { TrendChart } from "./trend-chart";diff --git a/packages/web/src/features/workflows/workflow-app-page.tsx b/packages/web/src/features/workflows/workflow-app-page.tsxindex f2042461..ff7b1ad9 100644--- a/packages/web/src/features/workflows/workflow-app-page.tsx+++ b/packages/web/src/features/workflows/workflow-app-page.tsx@@ -12,7 +12,7 @@*/import { useEffect, useMemo, useState } from "react";import { useNavigate, useParams, useSearchParams } from "react-router";-import type { PaletteAction } from "@prismshadow/penguin-ui";+import type { PaletteAction } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { useShortcutLabel } from "../../lib/shortcuts/use-keymap";import { S } from "../../lib/strings";diff --git a/packages/web/src/features/workflows/workflow-tabs.tsx b/packages/web/src/features/workflows/workflow-tabs.tsxindex e8958c83..55607faf 100644--- a/packages/web/src/features/workflows/workflow-tabs.tsx+++ b/packages/web/src/features/workflows/workflow-tabs.tsx@@ -10,8 +10,8 @@*/import { useCallback, useEffect, useRef, useState } from "react";import { useNavigate } from "react-router";-import type { WorkflowInfo, WorkflowVersion } from "@prismshadow/penguin-server/api";-import { Button, NoticeStrip } from "@prismshadow/penguin-ui";+import type { WorkflowInfo, WorkflowVersion } from "@lmliheng/penguin-server/api";+import { Button, NoticeStrip } from "@lmliheng/penguin-ui";import * as api from "../../api/endpoints";import { formatDateTime } from "../../lib/format";import { useShortcutLabel } from "../../lib/shortcuts/use-keymap";diff --git a/packages/web/src/lib/account-menu.ts b/packages/web/src/lib/account-menu.tsindex d0eabcc4..a7db84a1 100644--- a/packages/web/src/lib/account-menu.ts+++ b/packages/web/src/lib/account-menu.ts@@ -6,7 +6,7 @@* nothing renders). The rule therefore lives here as a pure predicate that the menu* consumes — see test/account-menu.test.ts.*/-import type { MeResponse } from "@prismshadow/penguin-server/api";+import type { MeResponse } from "@lmliheng/penguin-server/api";/** The two fields of `GET /api/me` that describe who is asking, and from where. */export interface AccountMenuSession {diff --git a/packages/web/src/lib/attachments.ts b/packages/web/src/lib/attachments.tsindex 6862b2d6..e05fc167 100644--- a/packages/web/src/lib/attachments.ts+++ b/packages/web/src/lib/attachments.ts@@ -24,7 +24,7 @@ import {ATTACHED_IMAGE_PREFIX,matchAttachedFileLine,matchAttachedImageLine,-} from "@prismshadow/penguin-core/markers";+} from "@lmliheng/penguin-core/markers";export interface ParsedAttachments {/** Body text with restored attachment lines removed (unrecognized lines are kept). */diff --git a/packages/web/src/lib/benchmark-merge.ts b/packages/web/src/lib/benchmark-merge.tsindex 6c3610f8..97e4f085 100644--- a/packages/web/src/lib/benchmark-merge.ts+++ b/packages/web/src/lib/benchmark-merge.ts@@ -29,7 +29,7 @@ import type {BenchmarkCaseSummary,BenchmarkEvaluation,BenchmarkSummary,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";/** One server's answer about a Project's Agents, with the machine that gave it. */export interface AgentSource {diff --git a/packages/web/src/lib/completion-notify.ts b/packages/web/src/lib/completion-notify.tsindex e6a7a765..38b01222 100644--- a/packages/web/src/lib/completion-notify.ts+++ b/packages/web/src/lib/completion-notify.ts@@ -10,7 +10,7 @@* list snapshot racing the live SSE flip briefly resurrects "running" and would* otherwise double-notify the same finish.*/-import type { SessionStatus } from "@prismshadow/penguin-server/api";+import type { SessionStatus } from "@lmliheng/penguin-server/api";export interface ObservedSession {sessionId: string;diff --git a/packages/web/src/lib/context.ts b/packages/web/src/lib/context.tsindex bcf0b4a9..387ea7cc 100644--- a/packages/web/src/lib/context.ts+++ b/packages/web/src/lib/context.ts@@ -23,7 +23,7 @@import {DEFAULT_MAX_CONTEXT_LENGTH,effectiveMaxContextLength,-} from "@prismshadow/penguin-core/context-limits";+} from "@lmliheng/penguin-core/context-limits";/** Default upper bound when a model has no configured context window. */export const DEFAULT_CONTEXT_WINDOW = 128000;diff --git a/packages/web/src/lib/desktop-update.ts b/packages/web/src/lib/desktop-update.tsindex c2ee7bc6..e52f1898 100644--- a/packages/web/src/lib/desktop-update.ts+++ b/packages/web/src/lib/desktop-update.ts@@ -4,7 +4,7 @@* use-desktop-update.ts owns the polling and the armed watch; these keep the decisions* pure (vitest runs node-only here, so nothing renders — same split as account-menu.ts).*/-import type { DesktopUpdateStatus } from "@prismshadow/penguin-server/api";+import type { DesktopUpdateStatus } from "@lmliheng/penguin-server/api";import { isDesktopShellWindow } from "./account-menu";import type { AccountMenuSession } from "./account-menu";diff --git a/packages/web/src/lib/install-scope.ts b/packages/web/src/lib/install-scope.tsindex c059c7dc..d651bbf3 100644--- a/packages/web/src/lib/install-scope.ts+++ b/packages/web/src/lib/install-scope.ts@@ -99,7 +99,7 @@ export const KEY_RULES: readonly KeyRule[] = [kind: "exact",key: "penguin.themeId",scope: "browser",- why: "Which theme renders the app (the key lives in @prismshadow/penguin-ui/boot); pure appearance.",+ why: "Which theme renders the app (the key lives in @lmliheng/penguin-ui/boot); pure appearance.",},{kind: "exact",diff --git a/packages/web/src/lib/machine-cache.ts b/packages/web/src/lib/machine-cache.tsindex 75ad0d8d..2db08eb0 100644--- a/packages/web/src/lib/machine-cache.ts+++ b/packages/web/src/lib/machine-cache.ts@@ -21,7 +21,7 @@* the same as having nothing — in every one of those cases the page degrades to exactly what* it did before there was a cache.*/-import type { AgentSummary, SessionInfo } from "@prismshadow/penguin-server/api";+import type { AgentSummary, SessionInfo } from "@lmliheng/penguin-server/api";const SESSIONS_PREFIX = "penguin.machineSessions.";const AGENTS_PREFIX = "penguin.machineAgents.";diff --git a/packages/web/src/lib/nav-icons.ts b/packages/web/src/lib/nav-icons.tsindex efc4dbce..c885ffd0 100644--- a/packages/web/src/lib/nav-icons.ts+++ b/packages/web/src/lib/nav-icons.ts@@ -4,7 +4,7 @@* drawings live in the shared registry, named for what they draw; which drawing stands for which* page is the app's knowledge, so the map lives here.*/-import { ICONS } from "@prismshadow/penguin-ui";+import { ICONS } from "@lmliheng/penguin-ui";export const NAV_ICONS = {/** Agents: the robot head, the one glyph in the app that means "agent". */diff --git a/packages/web/src/lib/omni/compaction-summary.ts b/packages/web/src/lib/omni/compaction-summary.tsindex 729d09ce..ef3ba218 100644--- a/packages/web/src/lib/omni/compaction-summary.ts+++ b/packages/web/src/lib/omni/compaction-summary.ts@@ -9,7 +9,7 @@* mid-stream (opening tag written, closing tag not yet) therefore reads as plain text* rather than disappearing until the model closes the block.*/-import { extractSummary } from "@prismshadow/penguin-core/markers";+import { extractSummary } from "@lmliheng/penguin-core/markers";import type { CompactionItem } from "./stream-model";/**diff --git a/packages/web/src/lib/omni/stream-controller.ts b/packages/web/src/lib/omni/stream-controller.tsindex 5a2fd2d7..422b3716 100644--- a/packages/web/src/lib/omni/stream-controller.ts+++ b/packages/web/src/lib/omni/stream-controller.ts@@ -29,8 +29,8 @@* the buffer replays on top — so the in-progress message survives a refresh* with its streamed prefix intact and keeps streaming.*/-import { isEventMessage, isPartialPayload } from "@prismshadow/penguin-core/omnimessage";-import type { OmniMessage, ToolCallPayload } from "@prismshadow/penguin-core/omnimessage";+import { isEventMessage, isPartialPayload } from "@lmliheng/penguin-core/omnimessage";+import type { OmniMessage, ToolCallPayload } from "@lmliheng/penguin-core/omnimessage";import type {GoalServerEvent,MessagesLiveTail,@@ -40,7 +40,7 @@ import type {PendingSteeringInfo,ServerEvent,SessionStatus,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {approvalKey,buildDedupIndex,diff --git a/packages/web/src/lib/omni/stream-model.ts b/packages/web/src/lib/omni/stream-model.tsindex eac50a86..62774394 100644--- a/packages/web/src/lib/omni/stream-model.ts+++ b/packages/web/src/lib/omni/stream-model.ts@@ -55,7 +55,7 @@ import {isPartialPayload,parseBackgroundTaskDoneMessage,parseUserSteeringText,-} from "@prismshadow/penguin-core/omnimessage";+} from "@lmliheng/penguin-core/omnimessage";import type {ApprovalDecision,CompactionMode,@@ -67,8 +67,8 @@ import type {SessionMetaPayload,StopReason,TokenUsagePayload,-} from "@prismshadow/penguin-core/omnimessage";-import type { TracePosition } from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-core/omnimessage";+import type { TracePosition } from "@lmliheng/penguin-server/api";import {addLlmDuration,addToolExecution,diff --git a/packages/web/src/lib/omni/task-stats.ts b/packages/web/src/lib/omni/task-stats.tsindex 1bbb7f9a..f9902c78 100644--- a/packages/web/src/lib/omni/task-stats.ts+++ b/packages/web/src/lib/omni/task-stats.ts@@ -32,7 +32,7 @@** Pure logic module, no React dependency; driven by stream-model.ts.*/-import type { TokenUsagePayload } from "@prismshadow/penguin-core/omnimessage";+import type { TokenUsagePayload } from "@lmliheng/penguin-core/omnimessage";import { computeTps, formatTps, humanizeTokens } from "../format";/** Token three buckets (cached input / uncached input / output). */diff --git a/packages/web/src/lib/permission-level.ts b/packages/web/src/lib/permission-level.tsindex c824b380..81499827 100644--- a/packages/web/src/lib/permission-level.ts+++ b/packages/web/src/lib/permission-level.ts@@ -9,7 +9,7 @@* tool call approved without asking.* - `partial`: some write permission, with something still holding it back.*/-import type { ApprovalMode, SessionSandbox } from "@prismshadow/penguin-server/api";+import type { ApprovalMode, SessionSandbox } from "@lmliheng/penguin-server/api";import type { Tone } from "./tone";export type PermissionLevel = "all" | "partial" | "read-only" | "off";diff --git a/packages/web/src/lib/profile-form.ts b/packages/web/src/lib/profile-form.tsindex 191d3aaf..3b8a891c 100644--- a/packages/web/src/lib/profile-form.ts+++ b/packages/web/src/lib/profile-form.ts@@ -7,7 +7,7 @@* runs in Node with no DOM (the same reason `settings-sections.ts` holds the dialog's* visibility rules rather than the dialog), so the rules live here rather than inside the JSX.*/-import type { UserInfo } from "@prismshadow/penguin-server/api";+import type { UserInfo } from "@lmliheng/penguin-server/api";/** What the nickname row's two buttons would do, given the stored profile and the typed text. */export interface ProfileControls {diff --git a/packages/web/src/lib/selection-menu.ts b/packages/web/src/lib/selection-menu.tsindex f04e74df..ef3d2187 100644--- a/packages/web/src/lib/selection-menu.ts+++ b/packages/web/src/lib/selection-menu.ts@@ -5,8 +5,8 @@* keyboard asked for it, and what an excerpt becomes once it is added to the conversation.* Kept free of the DOM so they can be tested in this package's node-only vitest environment.*/-import { isLongPressPointer } from "@prismshadow/penguin-ui";-import type { AnchorRect } from "@prismshadow/penguin-ui";+import { isLongPressPointer } from "@lmliheng/penguin-ui";+import type { AnchorRect } from "@lmliheng/penguin-ui";import type { ExcerptReference } from "./workspace-tree";/** What the rules need to know about a gesture and the selection it found. */diff --git a/packages/web/src/lib/session-activity.ts b/packages/web/src/lib/session-activity.tsindex e772b0a1..66ee4e0e 100644--- a/packages/web/src/lib/session-activity.ts+++ b/packages/web/src/lib/session-activity.ts@@ -1,4 +1,4 @@-import type { SessionInfo, SessionStatus } from "@prismshadow/penguin-server/api";+import type { SessionInfo, SessionStatus } from "@lmliheng/penguin-server/api";import { isSessionUnread } from "./session-seen";import type { SessionSeenState } from "./session-seen";import { S } from "./strings";diff --git a/packages/web/src/lib/session-grouping.ts b/packages/web/src/lib/session-grouping.tsindex 29f8c683..38870bf7 100644--- a/packages/web/src/lib/session-grouping.ts+++ b/packages/web/src/lib/session-grouping.ts@@ -14,7 +14,7 @@ import type {SessionCategory,SessionCategoryCounts,SessionInfo,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";/** Group key of the merged temporary-workspace group ("\0" can never appear in a filesystem path, so it never collides with a real Workspace). */export const TEMP_WORKSPACE_GROUP_KEY = "\0temp-workspaces";diff --git a/packages/web/src/lib/shortcuts/types.ts b/packages/web/src/lib/shortcuts/types.tsindex 96cf0c68..4a20ce13 100644--- a/packages/web/src/lib/shortcuts/types.ts+++ b/packages/web/src/lib/shortcuts/types.ts@@ -82,7 +82,7 @@ export type Keymap = ReadonlyMap<CommandId, Chord | null>;* row equal to its default is absent. Unknown ids are carried through on write and never* applied, so a build that predates a command keeps its binding.*/-export type { StoredKeybindings } from "@prismshadow/penguin-server/api";+export type { StoredKeybindings } from "@lmliheng/penguin-server/api";/** The fields of a `KeyboardEvent` the matcher reads; React's synthetic event and a test literal both fit. */export interface KeyLike {diff --git a/packages/web/src/lib/stat-icons.ts b/packages/web/src/lib/stat-icons.tsindex 0f402cfc..4b3b296a 100644--- a/packages/web/src/lib/stat-icons.ts+++ b/packages/web/src/lib/stat-icons.ts@@ -7,7 +7,7 @@* made it easy to flip the direction in one place and leave the others wrong — so the choice is* made here once, and the drawings live in the shared registry.*/-import { ICONS } from "@prismshadow/penguin-ui";+import { ICONS } from "@lmliheng/penguin-ui";export const STAT_ICONS = {/** Input (arrow rising from the baseline: tokens sent up to the model) */diff --git a/packages/web/src/lib/stop-reason-tone.ts b/packages/web/src/lib/stop-reason-tone.tsindex dea58b8a..933eaad8 100644--- a/packages/web/src/lib/stop-reason-tone.ts+++ b/packages/web/src/lib/stop-reason-tone.ts@@ -1,4 +1,4 @@-import type { ToneName } from "@prismshadow/penguin-ui";+import type { ToneName } from "@lmliheng/penguin-ui";/*** A Task's `stop_reason` as a badge tone. A completed run usually shows no badge at all; andiff --git a/packages/web/src/lib/todo-badges.ts b/packages/web/src/lib/todo-badges.tsindex ecf30a95..52c6eb65 100644--- a/packages/web/src/lib/todo-badges.ts+++ b/packages/web/src/lib/todo-badges.ts@@ -25,7 +25,7 @@* Pure decisions only (vitest runs node-only here, so nothing renders and nothing fetches);* `use-project-todos.ts` wires them to the live stores and turns a count into localized copy.*/-import type { AgentSummary, UsageErrorsPage } from "@prismshadow/penguin-server/api";+import type { AgentSummary, UsageErrorsPage } from "@lmliheng/penguin-server/api";import type { CatalogDelta } from "../features/models/catalog-sync";/** The four trails, in sidebar order. Also the key each dismissal is stored under. */diff --git a/packages/web/src/lib/tone.ts b/packages/web/src/lib/tone.tsindex 7b003c15..14a27dac 100644--- a/packages/web/src/lib/tone.ts+++ b/packages/web/src/lib/tone.ts@@ -41,7 +41,7 @@ export type Tone = "busy" | "attention" | "success" | "link" | "danger" | "muted/*** Ink for a glyph or a line of status text. Measured as WCAG 2.x contrast ratios against the* four surfaces these marks actually sit on — white and gray-50 in light (chat surfaces and the- * sidebar), and the neutral scale the default theme overrides for dark (`@prismshadow/penguin-ui`+ * sidebar), and the neutral scale the default theme overrides for dark (`@lmliheng/penguin-ui`* `themes/github.css`): gray-950 `#000000` and gray-900 `#0d0d0d`. The lower number of each pair* is the sidebar, which is the worse case in both themes:*diff --git a/packages/web/src/lib/ui-strings.ts b/packages/web/src/lib/ui-strings.tsindex 5b4b47aa..eb7d8a63 100644--- a/packages/web/src/lib/ui-strings.ts+++ b/packages/web/src/lib/ui-strings.ts@@ -6,7 +6,7 @@* Each value is read from the dictionary itself rather than from the live `S`, so the two objects* are built once and keep their identity across renders.*/-import type { UiStrings } from "@prismshadow/penguin-ui";+import type { UiStrings } from "@lmliheng/penguin-ui";import { zh } from "./strings";import type { Strings } from "./strings";import { en } from "./strings-en";diff --git a/packages/web/src/lib/update-flow.ts b/packages/web/src/lib/update-flow.tsindex 0a30057a..9c269407 100644--- a/packages/web/src/lib/update-flow.ts+++ b/packages/web/src/lib/update-flow.ts@@ -23,7 +23,7 @@ import type {UpdateJobPhase,UpdateJobStatus,VersionResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import type { AccountMenuSession } from "./account-menu";import { offersClientUpdate } from "./desktop-update";import { updateCheckOutcome } from "./use-version-info";diff --git a/packages/web/src/lib/use-desktop-update.ts b/packages/web/src/lib/use-desktop-update.tsindex e9ef4a6c..4419866d 100644--- a/packages/web/src/lib/use-desktop-update.ts+++ b/packages/web/src/lib/use-desktop-update.ts@@ -12,7 +12,7 @@* terminal snapshot (up to date, downloaded) cannot change between clicks.*/import { useEffect, useReducer } from "react";-import type { DesktopUpdateStatus } from "@prismshadow/penguin-server/api";+import type { DesktopUpdateStatus } from "@lmliheng/penguin-server/api";import * as api from "../api/endpoints";import { clientCheckSettle } from "./desktop-update";import type { ClientCheckSettle } from "./desktop-update";diff --git a/packages/web/src/lib/use-project-todos.ts b/packages/web/src/lib/use-project-todos.tsindex 81a520a2..fcaf5e99 100644--- a/packages/web/src/lib/use-project-todos.ts+++ b/packages/web/src/lib/use-project-todos.ts@@ -27,7 +27,7 @@* from after it.*/import { useEffect, useState } from "react";-import type { ModelsResponse, UsageErrorsPage } from "@prismshadow/penguin-server/api";+import type { ModelsResponse, UsageErrorsPage } from "@lmliheng/penguin-server/api";import * as api from "../api/endpoints";import { presetRange } from "../features/usage/usage-controls";diff --git a/packages/web/src/lib/use-update-flow.ts b/packages/web/src/lib/use-update-flow.tsindex b57da3c7..ef53c7c2 100644--- a/packages/web/src/lib/use-update-flow.ts+++ b/packages/web/src/lib/use-update-flow.ts@@ -13,8 +13,8 @@*/import { useEffect, useRef } from "react";import { createStore, useStore } from "zustand";-import type { UpdateJobStatus } from "@prismshadow/penguin-server/api";-import { toastError, toastInfo, toastSuccess } from "@prismshadow/penguin-ui";+import type { UpdateJobStatus } from "@lmliheng/penguin-server/api";+import { toastError, toastInfo, toastSuccess } from "@lmliheng/penguin-ui";import * as api from "../api/endpoints";import { S } from "./strings";import { apiErrorText } from "./api-error";diff --git a/packages/web/src/lib/use-version-info.ts b/packages/web/src/lib/use-version-info.tsindex 807bf25a..ecb79ea9 100644--- a/packages/web/src/lib/use-version-info.ts+++ b/packages/web/src/lib/use-version-info.ts@@ -15,7 +15,7 @@* every mounted hook.*/import { useEffect, useState } from "react";-import type { UpdateCheckResponse, VersionResponse } from "@prismshadow/penguin-server/api";+import type { UpdateCheckResponse, VersionResponse } from "@lmliheng/penguin-server/api";import * as api from "../api/endpoints";let versionCache: VersionResponse | null = null;diff --git a/packages/web/src/lib/workflow-tabs.ts b/packages/web/src/lib/workflow-tabs.tsindex 61e32a40..8e40cd58 100644--- a/packages/web/src/lib/workflow-tabs.ts+++ b/packages/web/src/lib/workflow-tabs.ts@@ -12,7 +12,7 @@* disappearing (folder removed, Agent switched) falls back to Chat rather than leaving* the strip pointing at nothing.*/-import type { WorkflowInfo } from "@prismshadow/penguin-server/api";+import type { WorkflowInfo } from "@lmliheng/penguin-server/api";import { apiUrl } from "./server-context";export interface WorkflowTab {diff --git a/packages/web/src/lib/workspace-machines.ts b/packages/web/src/lib/workspace-machines.tsindex d109d1da..f3caf6c5 100644--- a/packages/web/src/lib/workspace-machines.ts+++ b/packages/web/src/lib/workspace-machines.ts@@ -7,7 +7,7 @@* that silently omits its answer is indistinguishable from a broken feature. Identified by* machine id and labelled by ssh alias.*/-import type { MachineInfo, MachinesResponse } from "@prismshadow/penguin-server/api";+import type { MachineInfo, MachinesResponse } from "@lmliheng/penguin-server/api";import { S } from "./strings";/** One machine a workspace can live on, and whether it can be browsed right now. */diff --git a/packages/web/src/lib/workspace-tree.ts b/packages/web/src/lib/workspace-tree.tsindex bd596afa..8c7ec41d 100644--- a/packages/web/src/lib/workspace-tree.ts+++ b/packages/web/src/lib/workspace-tree.ts@@ -17,8 +17,8 @@* the fenced block a preview selection becomes, and where each of them may be spliced* into a draft that is already half typed.*/-import type { FileBrowserPreviewKind, FileTreeRow } from "@prismshadow/penguin-ui";-import type { WorkspaceFileEntry, WorkspaceSearchHit } from "@prismshadow/penguin-server/api";+import type { FileBrowserPreviewKind, FileTreeRow } from "@lmliheng/penguin-ui";+import type { WorkspaceFileEntry, WorkspaceSearchHit } from "@lmliheng/penguin-server/api";import { joinWorkspacePath } from "./file-path";// ------------------------------------------------------------------------------- layoutdiff --git a/packages/web/src/main.tsx b/packages/web/src/main.tsxindex e5dd2514..83450021 100644--- a/packages/web/src/main.tsx+++ b/packages/web/src/main.tsx@@ -21,7 +21,7 @@*/import { StrictMode } from "react";import { createRoot } from "react-dom/client";-import { hasEscLayers } from "@prismshadow/penguin-ui";+import { hasEscLayers } from "@lmliheng/penguin-ui";import { App } from "./app";import { bootInstallScope, watchInstallScope } from "./lib/install-scope";// The global shortcut dispatcher installs itself at module evaluation (a React effect woulddiff --git a/packages/web/src/pages/login.tsx b/packages/web/src/pages/login.tsxindex 0b042861..d05d4c88 100644--- a/packages/web/src/pages/login.tsx+++ b/packages/web/src/pages/login.tsx@@ -18,7 +18,7 @@ import {PasswordInput,AppLogo,Segmented,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";import { S } from "../lib/strings";import { apiErrorText } from "../lib/api-error";import { useDocumentTitle } from "../lib/use-document-title";diff --git a/packages/web/src/state/auth.tsx b/packages/web/src/state/auth.tsxindex 483a9307..091aee95 100644--- a/packages/web/src/state/auth.tsx+++ b/packages/web/src/state/auth.tsx@@ -6,7 +6,7 @@*/import { createContext, useCallback, useContext, useEffect, useState } from "react";import type { ReactNode } from "react";-import type { MeResponse, UploadLimits, UserInfo } from "@prismshadow/penguin-server/api";+import type { MeResponse, UploadLimits, UserInfo } from "@lmliheng/penguin-server/api";import * as api from "../api/endpoints";import { ApiError, setUnauthorizedHandler } from "../api/client";import { probeSession } from "../api/session-probe";diff --git a/packages/web/src/state/company.tsx b/packages/web/src/state/company.tsxindex d5e80068..c0fd291d 100644--- a/packages/web/src/state/company.tsx+++ b/packages/web/src/state/company.tsx@@ -56,10 +56,10 @@ import type {OrganizationSummary,ServerEvent,UiPrefs,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import { useStore } from "zustand/react";import { createStore } from "zustand/vanilla";-import { toastAttention } from "@prismshadow/penguin-ui";+import { toastAttention } from "@lmliheng/penguin-ui";import * as api from "../api/endpoints";import { apiErrorText } from "../lib/api-error";import { S } from "../lib/strings";diff --git a/packages/web/src/state/locale.tsx b/packages/web/src/state/locale.tsxindex bdcd8e20..7a534f09 100644--- a/packages/web/src/state/locale.tsx+++ b/packages/web/src/state/locale.tsx@@ -7,7 +7,7 @@*/import { createContext, useCallback, useContext, useEffect, useState } from "react";import type { ReactNode } from "react";-import { UiStringsProvider } from "@prismshadow/penguin-ui";+import { UiStringsProvider } from "@lmliheng/penguin-ui";import { setActiveStrings, zh } from "../lib/strings";import { en } from "../lib/strings-en";import { uiStringsFor } from "../lib/ui-strings";diff --git a/packages/web/src/state/project.tsx b/packages/web/src/state/project.tsxindex 3420e32c..93b83d69 100644--- a/packages/web/src/state/project.tsx+++ b/packages/web/src/state/project.tsx@@ -11,7 +11,7 @@*/import { createContext, useContext, useEffect, useMemo, useState } from "react";import type { ReactNode } from "react";-import type { AgentSummary, ProjectSummary } from "@prismshadow/penguin-server/api";+import type { AgentSummary, ProjectSummary } from "@lmliheng/penguin-server/api";import { useStore } from "zustand/react";import { createStore } from "zustand/vanilla";import * as api from "../api/endpoints";diff --git a/packages/web/src/state/sessions.tsx b/packages/web/src/state/sessions.tsxindex d18c9597..f3b9effd 100644--- a/packages/web/src/state/sessions.tsx+++ b/packages/web/src/state/sessions.tsx@@ -49,7 +49,7 @@ import type {SessionCategoryCounts,SessionInfo,SessionStatus,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import { useStore } from "zustand/react";import { createStore } from "zustand/vanilla";import * as api from "../api/endpoints";diff --git a/packages/web/src/state/theme-prefs.ts b/packages/web/src/state/theme-prefs.tsindex 8fd0e236..ffddb32c 100644--- a/packages/web/src/state/theme-prefs.ts+++ b/packages/web/src/state/theme-prefs.ts@@ -12,21 +12,21 @@ import {DEFAULT_THEME_ID,THEME_IDS,resolveAccent,-} from "@prismshadow/penguin-ui";-import type { ThemeId } from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";+import type { ThemeId } from "@lmliheng/penguin-ui";import {FONT_CJK_OPTIONS,FONT_LATIN_OPTIONS,THEME_STORAGE_KEYS,readTextSize,-} from "@prismshadow/penguin-ui/boot";+} from "@lmliheng/penguin-ui/boot";import type {AccentChoice,FontCjk,FontLatin,TextSize,ThemeAttributes,-} from "@prismshadow/penguin-ui/boot";+} from "@lmliheng/penguin-ui/boot";export type { FontCjk, FontLatin, TextSize };diff --git a/packages/web/src/state/theme.tsx b/packages/web/src/state/theme.tsxindex 6b3c7347..b12bebe7 100644--- a/packages/web/src/state/theme.tsx+++ b/packages/web/src/state/theme.tsx@@ -26,10 +26,10 @@*/import { createContext, useCallback, useContext, useEffect, useState } from "react";import type { ReactNode } from "react";-import { ACCENT_PRESETS, THEME_OWN_ACCENTS } from "@prismshadow/penguin-ui";-import type { ThemeId } from "@prismshadow/penguin-ui";-import { applyThemeAttributes, THEME_STORAGE_KEYS } from "@prismshadow/penguin-ui/boot";-import type { AccentChoice } from "@prismshadow/penguin-ui/boot";+import { ACCENT_PRESETS, THEME_OWN_ACCENTS } from "@lmliheng/penguin-ui";+import type { ThemeId } from "@lmliheng/penguin-ui";+import { applyThemeAttributes, THEME_STORAGE_KEYS } from "@lmliheng/penguin-ui/boot";+import type { AccentChoice } from "@lmliheng/penguin-ui/boot";import { readThemePrefs } from "./theme-prefs";import type { FontCjk, FontLatin, TextSize } from "./theme-prefs";diff --git a/packages/web/src/state/use-tray-locale.ts b/packages/web/src/state/use-tray-locale.tsindex 71be019a..f22faeb9 100644--- a/packages/web/src/state/use-tray-locale.ts+++ b/packages/web/src/state/use-tray-locale.ts@@ -21,7 +21,7 @@ import { isDesktopShellWindow } from "../lib/account-menu";import { useAuth } from "./auth";import { useLocale } from "./locale";import type { Locale } from "./locale";-import type { DesktopTrayLocale } from "@prismshadow/penguin-server/api";+import type { DesktopTrayLocale } from "@lmliheng/penguin-server/api";// The Web App's languages and the ones the tray route accepts are the same set, and a// divergence would otherwise show up as a 400 nobody looks at. Compile-time, no runtime cost.diff --git a/packages/web/src/styles.css b/packages/web/src/styles.cssindex 62d78571..363eff6b 100644--- a/packages/web/src/styles.css+++ b/packages/web/src/styles.css@@ -4,7 +4,7 @@* no glassmorphism/gradients; the login page background is a circuit-trace animation (.login-trace, see* login-circuit.tsx). Dark theme is toggled via the html.dark class.*- * Theming comes from the shared UI package (@prismshadow/penguin-ui): `theme.css` declares the+ * Theming comes from the shared UI package (@lmliheng/penguin-ui): `theme.css` declares the* `dark` variant, the cascade layers, the token → utility bridge and the base rules that read* tokens (body colours and fonts, focus ring, selection, scrollbars); each `themes/*.css` holds* one theme's values, including the gray bridge the palette classes below resolve through. This@@ -15,11 +15,11 @@* create a stacking context; dropdown/user menus use z-40; modal and drawer overlays use z-50.*/@import "tailwindcss";-@import "@prismshadow/penguin-ui/theme.css";-@import "@prismshadow/penguin-ui/themes/github.css";-@import "@prismshadow/penguin-ui/themes/modern.css";-@import "@prismshadow/penguin-ui/themes/geek.css";-@import "@prismshadow/penguin-ui/fonts.css";+@import "@lmliheng/penguin-ui/theme.css";+@import "@lmliheng/penguin-ui/themes/github.css";+@import "@lmliheng/penguin-ui/themes/modern.css";+@import "@lmliheng/penguin-ui/themes/geek.css";+@import "@lmliheng/penguin-ui/fonts.css";/* Tailwind scans the Vite root only: the package's components carry class strings too. The testhelpers are excluded, so the class patterns they spell never enter the app's sheet. */diff --git a/packages/web/test/agent-handoff.test.ts b/packages/web/test/agent-handoff.test.tsindex 9f8edfd3..d83e80a4 100644--- a/packages/web/test/agent-handoff.test.ts+++ b/packages/web/test/agent-handoff.test.ts@@ -10,7 +10,7 @@* where no fork is possible the chip cannot block a send; with both chips, the handoff wins.*/import { describe, expect, it } from "vitest";-import type { AgentSummary } from "@prismshadow/penguin-server/api";+import type { AgentSummary } from "@lmliheng/penguin-server/api";import { filterAgents, stagedSendRoute } from "../src/features/chat/agent-handoff";const agent = (agentId: string, name?: string): AgentSummary => ({diff --git a/packages/web/test/agent-topology.test.ts b/packages/web/test/agent-topology.test.tsindex ab07b0f8..dab55f2f 100644--- a/packages/web/test/agent-topology.test.ts+++ b/packages/web/test/agent-topology.test.ts@@ -18,8 +18,8 @@ import {toolCallOutput,userText,withOrigin,-} from "@prismshadow/penguin-core/omnimessage";-import type { OmniMessage, SessionMetaPayload } from "@prismshadow/penguin-core/omnimessage";+} from "@lmliheng/penguin-core/omnimessage";+import type { OmniMessage, SessionMetaPayload } from "@lmliheng/penguin-core/omnimessage";import {agentIdFromStatePath,approvalKey,diff --git a/packages/web/test/ai-create-panel.test.ts b/packages/web/test/ai-create-panel.test.tsindex 876beb07..abb9667a 100644--- a/packages/web/test/ai-create-panel.test.ts+++ b/packages/web/test/ai-create-panel.test.ts@@ -6,7 +6,7 @@import { describe, expect, it } from "vitest";import { createElement } from "react";import { renderToStaticMarkup } from "react-dom/server";-import type { AgentSummary } from "@prismshadow/penguin-server/api";+import type { AgentSummary } from "@lmliheng/penguin-server/api";import { AiCreatePanel } from "../src/features/ai-create/ai-create-panel";import { composeAiPrompt } from "../src/features/ai-create/ai-create-prompt";import { S } from "../src/lib/strings";diff --git a/packages/web/test/benchmark-case-tree.test.ts b/packages/web/test/benchmark-case-tree.test.tsindex e7674901..0dc69850 100644--- a/packages/web/test/benchmark-case-tree.test.ts+++ b/packages/web/test/benchmark-case-tree.test.ts@@ -5,7 +5,7 @@* material it came from so the two file spaces cannot collide.*/import { describe, expect, it } from "vitest";-import type { WorkspaceFileEntry } from "@prismshadow/penguin-server/api";+import type { WorkspaceFileEntry } from "@lmliheng/penguin-server/api";import { caseTreeRows } from "../src/features/benchmark/benchmark-case-browser";import type { CaseMaterialSpec } from "../src/features/benchmark/benchmark-case-browser";diff --git a/packages/web/test/benchmark-merge.test.ts b/packages/web/test/benchmark-merge.test.tsindex f8c72f6f..e48db156 100644--- a/packages/web/test/benchmark-merge.test.ts+++ b/packages/web/test/benchmark-merge.test.ts@@ -6,7 +6,7 @@* it was written in, and only a history joined from two disks is ordered by time.*/import { describe, expect, it } from "vitest";-import type { BenchmarkEvaluation, BenchmarkSummary } from "@prismshadow/penguin-server/api";+import type { BenchmarkEvaluation, BenchmarkSummary } from "@lmliheng/penguin-server/api";import { mergeAgents, mergeBenchmarks, mergeBenchmarkCases } from "../src/lib/benchmark-merge";const MACHINE = "noeSE0FFHhNXl2J5";diff --git a/packages/web/test/benchmark-metrics.test.ts b/packages/web/test/benchmark-metrics.test.tsindex 072a2f08..e04be699 100644--- a/packages/web/test/benchmark-metrics.test.ts+++ b/packages/web/test/benchmark-metrics.test.ts@@ -7,7 +7,7 @@* hold between them (seriesPoints, stroked by chart-geom's segmentPath).*/import { describe, expect, it } from "vitest";-import { makeRangeGeom, segmentPath } from "@prismshadow/penguin-ui";+import { makeRangeGeom, segmentPath } from "@lmliheng/penguin-ui";import {defaultTargetScore,evaluationLabel,diff --git a/packages/web/test/builtin-browser-events.test.ts b/packages/web/test/builtin-browser-events.test.tsindex 04670e62..d71f55e1 100644--- a/packages/web/test/builtin-browser-events.test.ts+++ b/packages/web/test/builtin-browser-events.test.ts@@ -5,7 +5,7 @@* this screen — and a resync tells the layer to re-read the registry.*/import { describe, expect, it } from "vitest";-import type { BuiltinBrowserServerEvent, ServerEvent } from "@prismshadow/penguin-server/api";+import type { BuiltinBrowserServerEvent, ServerEvent } from "@lmliheng/penguin-server/api";import { applyUserEvent, createSessionsStore } from "../src/state/sessions";import {isBuiltinBrowserEvent,diff --git a/packages/web/test/builtin-browser-import.test.ts b/packages/web/test/builtin-browser-import.test.tsindex 96d60379..3a8790c4 100644--- a/packages/web/test/builtin-browser-import.test.ts+++ b/packages/web/test/builtin-browser-import.test.ts@@ -4,7 +4,7 @@* Keychain note, and the request the chosen options make.*/import { describe, expect, it } from "vitest";-import type { BuiltinBrowserImportSource } from "@prismshadow/penguin-server/api";+import type { BuiltinBrowserImportSource } from "@lmliheng/penguin-server/api";import {groupSources,importRequest,diff --git a/packages/web/test/builtin-browser-load.test.ts b/packages/web/test/builtin-browser-load.test.tsindex d5078f19..b4f6d498 100644--- a/packages/web/test/builtin-browser-load.test.ts+++ b/packages/web/test/builtin-browser-load.test.ts@@ -4,7 +4,7 @@* warnings are new (one toast each).*/import { describe, expect, it } from "vitest";-import type { BuiltinBrowserMetrics } from "@prismshadow/penguin-server/api";+import type { BuiltinBrowserMetrics } from "@lmliheng/penguin-server/api";import {formatMemory,heavyTabMemory,diff --git a/packages/web/test/builtin-browser-state.test.ts b/packages/web/test/builtin-browser-state.test.tsindex 1535d80b..ad3f236a 100644--- a/packages/web/test/builtin-browser-state.test.ts+++ b/packages/web/test/builtin-browser-state.test.ts@@ -10,7 +10,7 @@ import type {BuiltinBrowserMetrics,BuiltinBrowserServerEvent,BuiltinBrowserTab,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {INITIAL_BROWSER_STATE,activeTab,diff --git a/packages/web/test/calendar-geom.test.ts b/packages/web/test/calendar-geom.test.tsindex d6e42a75..5db4afe3 100644--- a/packages/web/test/calendar-geom.test.ts+++ b/packages/web/test/calendar-geom.test.ts@@ -7,7 +7,7 @@* built with the local Date constructor, so the assertions hold in every timezone.*/import { describe, expect, it } from "vitest";-import type { OrgCalendarItem } from "@prismshadow/penguin-server/api";+import type { OrgCalendarItem } from "@lmliheng/penguin-server/api";import {MAX_INSTANCES_PER_EVENT,addDays,diff --git a/packages/web/test/catalog-sync.test.ts b/packages/web/test/catalog-sync.test.tsindex b589d7f6..2ab72803 100644--- a/packages/web/test/catalog-sync.test.ts+++ b/packages/web/test/catalog-sync.test.ts@@ -17,8 +17,8 @@ import {catalogEntryFor,catalogModelEntries,presetModelEntries,-} from "@prismshadow/penguin-core/model-catalog";-import type { ModelsResponse } from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-core/model-catalog";+import type { ModelsResponse } from "@lmliheng/penguin-server/api";import { catalogDelta, syncRowsWithCatalog } from "../src/features/models/catalog-sync";import { presetUpdateTodo } from "../src/lib/todo-badges";import { noticeCounts } from "../src/lib/bulk-update";diff --git a/packages/web/test/channel-list.test.ts b/packages/web/test/channel-list.test.tsindex 23a0ec16..b80a8e96 100644--- a/packages/web/test/channel-list.test.ts+++ b/packages/web/test/channel-list.test.ts@@ -13,7 +13,7 @@* with an employee's title as detail, a prefix match ranked above a substring match.*/import { describe, expect, it } from "vitest";-import type { OrgChannelItem } from "@prismshadow/penguin-server/api";+import type { OrgChannelItem } from "@lmliheng/penguin-server/api";import {CHANNEL_ID_PATTERN,DEFAULT_CHANNEL_ID,diff --git a/packages/web/test/channel-notices.test.ts b/packages/web/test/channel-notices.test.tsindex 0174db69..8f631079 100644--- a/packages/web/test/channel-notices.test.ts+++ b/packages/web/test/channel-notices.test.ts@@ -10,7 +10,7 @@* English text.*/import { describe, expect, it } from "vitest";-import type { OrgChannelNotice } from "@prismshadow/penguin-server/api";+import type { OrgChannelNotice } from "@lmliheng/penguin-server/api";import { NOTICE_KINDS, noticeText } from "../src/features/company/channel-notices";import { zh } from "../src/lib/strings";import { en } from "../src/lib/strings-en";diff --git a/packages/web/test/channel-stream.test.ts b/packages/web/test/channel-stream.test.tsindex 255568e7..0e7089ff 100644--- a/packages/web/test/channel-stream.test.ts+++ b/packages/web/test/channel-stream.test.ts@@ -6,7 +6,7 @@* join made elsewhere has to be re-read, and the immutable live append.*/import { describe, expect, it } from "vitest";-import type { OrgChannelMessage } from "@prismshadow/penguin-server/api";+import type { OrgChannelMessage } from "@lmliheng/penguin-server/api";import {INITIAL_DAYS_MAX,INITIAL_MESSAGES,diff --git a/packages/web/test/chart-marks.test.ts b/packages/web/test/chart-marks.test.tsindex de7bb5e4..e90aae16 100644--- a/packages/web/test/chart-marks.test.ts+++ b/packages/web/test/chart-marks.test.ts@@ -1,6 +1,6 @@/*** The Web App's charts draw every mark through the package's chart primitives- * (`@prismshadow/penguin-ui`: ChartBar, ChartLine, ChartArc, TimelineBar, …) and the charts built+ * (`@lmliheng/penguin-ui`: ChartBar, ChartLine, ChartArc, TimelineBar, …) and the charts built* on them (ChartFrame, Ring, Sparkline, TokenDonut), never with shapes, paint or geometry of their* own. What each primitive draws is the package's `chart-marks.test.ts`, which holds the* package's own charts to the same rule.diff --git a/packages/web/test/company-mode-write.test.ts b/packages/web/test/company-mode-write.test.tsindex 771abddd..e2c70049 100644--- a/packages/web/test/company-mode-write.test.ts+++ b/packages/web/test/company-mode-write.test.ts@@ -12,7 +12,7 @@ import type {ServerSettings,ServerSettingsResponse,ServerSettingsUpdateRequest,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import { writeCompanyMode } from "../src/features/settings/company-mode-write";const settings = (companyMode: boolean): ServerSettings => ({diff --git a/packages/web/test/company-store.test.ts b/packages/web/test/company-store.test.tsindex 42cb0c36..9b09053b 100644--- a/packages/web/test/company-store.test.ts+++ b/packages/web/test/company-store.test.ts@@ -16,7 +16,7 @@ import type {OrgChannelMessage,OrgSessionsResponse,OrganizationSummary,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {createCompanyStore,isCompanyEvent,diff --git a/packages/web/test/completion-notify.test.ts b/packages/web/test/completion-notify.test.tsindex 7169bfe7..348c81ba 100644--- a/packages/web/test/completion-notify.test.ts+++ b/packages/web/test/completion-notify.test.ts@@ -1,7 +1,7 @@import { describe, expect, it } from "vitest";import { createCompletionTracker } from "../src/lib/completion-notify";import type { ObservedSession } from "../src/lib/completion-notify";-import type { SessionStatus } from "@prismshadow/penguin-server/api";+import type { SessionStatus } from "@lmliheng/penguin-server/api";const row = (sessionId: string, status: SessionStatus): ObservedSession => ({sessionId,diff --git a/packages/web/test/context-parts.test.ts b/packages/web/test/context-parts.test.tsindex 766fd184..d1c8cf98 100644--- a/packages/web/test/context-parts.test.ts+++ b/packages/web/test/context-parts.test.ts@@ -10,7 +10,7 @@* - A file path splits on either separator, a root keeping its own separator as the directory.*/import { describe, expect, it } from "vitest";-import type { SessionContextResponse } from "@prismshadow/penguin-server/api";+import type { SessionContextResponse } from "@lmliheng/penguin-server/api";import { contextComposition, splitFilePath } from "../src/features/chat/context-parts";function response(over: Partial<SessionContextResponse> = {}): SessionContextResponse {diff --git a/packages/web/test/current-agent.test.ts b/packages/web/test/current-agent.test.tsindex f462238d..a5a5f6aa 100644--- a/packages/web/test/current-agent.test.ts+++ b/packages/web/test/current-agent.test.ts@@ -1,5 +1,5 @@import { describe, expect, it } from "vitest";-import type { AgentSummary } from "@prismshadow/penguin-server/api";+import type { AgentSummary } from "@lmliheng/penguin-server/api";import { agentOf } from "../src/state/project";const agent = (agentId: string) => ({ agentId }) as AgentSummary;diff --git a/packages/web/test/default-agent.test.ts b/packages/web/test/default-agent.test.tsindex ab04fe0c..3ad8899f 100644--- a/packages/web/test/default-agent.test.ts+++ b/packages/web/test/default-agent.test.ts@@ -3,7 +3,7 @@* (src/features/ai-create/default-agent.ts).*/import { describe, expect, it } from "vitest";-import type { AgentSummary } from "@prismshadow/penguin-server/api";+import type { AgentSummary } from "@lmliheng/penguin-server/api";import { pickDefaultAgent } from "../src/features/ai-create/default-agent";const agent = (agentId: string) => ({ agentId }) as AgentSummary;diff --git a/packages/web/test/desk-model.test.ts b/packages/web/test/desk-model.test.tsindex 2c4cb734..52a1fe02 100644--- a/packages/web/test/desk-model.test.ts+++ b/packages/web/test/desk-model.test.ts@@ -1,5 +1,5 @@import { describe, expect, it } from "vitest";-import type { OrgDeskResponse } from "@prismshadow/penguin-server/api";+import type { OrgDeskResponse } from "@lmliheng/penguin-server/api";import { switchDeskModel } from "../src/features/company/desk-model";import type { DeskModelApi } from "../src/features/company/desk-model";diff --git a/packages/web/test/desktop-update.test.ts b/packages/web/test/desktop-update.test.tsindex a900e1c7..fc7502f1 100644--- a/packages/web/test/desktop-update.test.ts+++ b/packages/web/test/desktop-update.test.ts@@ -11,7 +11,7 @@* the pure helpers, not a rendered row (account-menu.test.ts convention).*/import { describe, expect, it } from "vitest";-import type { DesktopUpdateStatus } from "@prismshadow/penguin-server/api";+import type { DesktopUpdateStatus } from "@lmliheng/penguin-server/api";import {CLIENT_CHECK_TIMEOUT_MS,clientCheckSettle,diff --git a/packages/web/test/dialog-layers.test.ts b/packages/web/test/dialog-layers.test.tsindex adc75cf6..57aa7758 100644--- a/packages/web/test/dialog-layers.test.ts+++ b/packages/web/test/dialog-layers.test.ts@@ -16,7 +16,7 @@ import {nextFocusIndex,popEscLayer,pushEscLayer,-} from "@prismshadow/penguin-ui";+} from "@lmliheng/penguin-ui";describe("nextFocusIndex", () => {it("steps forward and wraps past the last element", () => {diff --git a/packages/web/test/errors-panel.test.ts b/packages/web/test/errors-panel.test.tsindex 2c1fee11..e341c340 100644--- a/packages/web/test/errors-panel.test.ts+++ b/packages/web/test/errors-panel.test.ts@@ -14,7 +14,7 @@import { afterEach, describe, expect, it } from "vitest";import { createElement } from "react";import { renderToStaticMarkup } from "react-dom/server";-import type { UsageErrorItem, UsageErrors } from "@prismshadow/penguin-server/api";+import type { UsageErrorItem, UsageErrors } from "@lmliheng/penguin-server/api";import { ErrorsPanel, errorsClearScopeText } from "../src/features/usage/errors-panel";import type { ErrorsFilters } from "../src/features/usage/errors-panel";import { formatDateTime } from "../src/lib/format";diff --git a/packages/web/test/finance-tree.test.ts b/packages/web/test/finance-tree.test.tsindex 0ee12cbb..c10e1e44 100644--- a/packages/web/test/finance-tree.test.ts+++ b/packages/web/test/finance-tree.test.ts@@ -18,7 +18,7 @@* once however it is spelled, and stands on the budget alone without a live state.*/import { describe, expect, it } from "vitest";-import type { OrgFinanceEmployee, OrgFinanceTicket } from "@prismshadow/penguin-server/api";+import type { OrgFinanceEmployee, OrgFinanceTicket } from "@lmliheng/penguin-server/api";import {budgetTone,dailyBreaks,diff --git a/packages/web/test/handbook-explorer.test.ts b/packages/web/test/handbook-explorer.test.tsindex bcc0039e..c5a04a77 100644--- a/packages/web/test/handbook-explorer.test.ts+++ b/packages/web/test/handbook-explorer.test.ts@@ -11,7 +11,7 @@import { describe, expect, it } from "vitest";import { createElement } from "react";import { renderToStaticMarkup } from "react-dom/server";-import type { OrgHandbookFile } from "@prismshadow/penguin-server/api";+import type { OrgHandbookFile } from "@lmliheng/penguin-server/api";import { HandbookExplorer } from "../src/features/company/handbook-explorer";import {HANDBOOK_INDEX,diff --git a/packages/web/test/handbook-tree.test.ts b/packages/web/test/handbook-tree.test.tsindex 8b6d83c7..29ee5651 100644--- a/packages/web/test/handbook-tree.test.ts+++ b/packages/web/test/handbook-tree.test.ts@@ -7,7 +7,7 @@* new document starts with; and how a relative link inside a document resolves to another.*/import { describe, expect, it } from "vitest";-import type { OrgHandbookFile } from "@prismshadow/penguin-server/api";+import type { OrgHandbookFile } from "@lmliheng/penguin-server/api";import {HANDBOOK_INDEX,ancestorFolders,diff --git a/packages/web/test/highlighter-worker.test.ts b/packages/web/test/highlighter-worker.test.tsindex 0bd4c088..32ea6832 100644--- a/packages/web/test/highlighter-worker.test.ts+++ b/packages/web/test/highlighter-worker.test.ts@@ -3,7 +3,7 @@** Tokenizing is linear in the size of the input and runs to completion once it starts, so the* viewer's responsiveness depends on it happening in a worker. The engine lives in the shared UI- * package on its own subpath (`@prismshadow/penguin-ui/highlighter`, which the package's code+ * package on its own subpath (`@lmliheng/penguin-ui/highlighter`, which the package's code* surfaces never import — they ask the highlighter the app hands them), and the app decides where* it runs. Three edits would quietly undo that without failing a build or looking wrong in* review: calling the engine directly from a component, turning the client's fallback@@ -47,7 +47,7 @@ describe("the highlighting worker", () => {it("owns the only static import of the engine", () => {const importers = sources(SRC).filter(([, src]) =>- /^import\s(?!type\s)[^;]*from "@prismshadow\/penguin-ui\/highlighter"/m.test(src),+ /^import\s(?!type\s)[^;]*from "@lmliheng\/penguin-ui\/highlighter"/m.test(src),).map(([path]) => path);expect(importers).toEqual(["features/chat/highlighter.worker.ts"]);@@ -55,7 +55,7 @@ describe("the highlighting worker", () => {it("leaves the client's own use of the engine dynamic, as its fallback", () => {const client = readFileSync(join(CHAT, "highlighter.ts"), "utf8");- expect(client).toMatch(/await import\("@prismshadow\/penguin-ui\/highlighter"\)/);+ expect(client).toMatch(/await import\("@lmliheng\/penguin-ui\/highlighter"\)/);});it("is what the app hands the package's code surfaces, loaded on the first block", () => {diff --git a/packages/web/test/icon-registry.test.ts b/packages/web/test/icon-registry.test.tsindex 243f4836..1bd4e7a2 100644--- a/packages/web/test/icon-registry.test.ts+++ b/packages/web/test/icon-registry.test.ts@@ -164,7 +164,7 @@ describe("glyph paths outside the registry", () => {glyphHits("probe.tsx",[- 'import { ICONS } from "@prismshadow/penguin-ui";',+ 'import { ICONS } from "@lmliheng/penguin-ui";',"const TRASH_ICON = ICONS.trash;","export const Line = ({ d }: { d: string }) => <path d={d} />;",'const MENU_ICON = "Menu";',diff --git a/packages/web/test/icon-scale.test.ts b/packages/web/test/icon-scale.test.tsindex b21122bb..4e20609d 100644--- a/packages/web/test/icon-scale.test.ts+++ b/packages/web/test/icon-scale.test.ts@@ -14,7 +14,7 @@*/import { existsSync, readFileSync } from "node:fs";import { describe, expect, it } from "vitest";-import { ICON_SIZE } from "@prismshadow/penguin-ui";+import { ICON_SIZE } from "@lmliheng/penguin-ui";import { DEFAULT_THEME_ID, THEME_IDS, THEME_MODES } from "../../ui/src/tokens";import { analyzeThemeFile, resolveThemeValue } from "../../ui/src/testing/theme-tokens";import { expectEveryRootScanned, expectSingleHome, scanSources } from "./helpers/roots";diff --git a/packages/web/test/id-suggest-notice.test.ts b/packages/web/test/id-suggest-notice.test.tsindex 621b745a..e40cdf38 100644--- a/packages/web/test/id-suggest-notice.test.ts+++ b/packages/web/test/id-suggest-notice.test.ts@@ -8,7 +8,7 @@ import { describe, expect, it } from "vitest";import type {SemanticIdSuggestReason,SemanticIdSuggestResponse,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import { idSuggestNotice } from "../src/features/semantic-id/id-suggest-notice";import { zh } from "../src/lib/strings";import { en } from "../src/lib/strings-en";diff --git a/packages/web/test/input-history.test.ts b/packages/web/test/input-history.test.tsindex 774a192a..b9cfca3d 100644--- a/packages/web/test/input-history.test.ts+++ b/packages/web/test/input-history.test.ts@@ -10,7 +10,7 @@ import { handoffMessage } from "../src/features/chat/agent-handoff";import {buildBackgroundTaskDoneMessage,buildScheduledMessage,-} from "@prismshadow/penguin-core/markers";+} from "@lmliheng/penguin-core/markers";import {buildInputHistory,caretOnFirstLine,diff --git a/packages/web/test/machine-cache.test.ts b/packages/web/test/machine-cache.test.tsindex 67da407c..777e6eca 100644--- a/packages/web/test/machine-cache.test.ts+++ b/packages/web/test/machine-cache.test.ts@@ -9,7 +9,7 @@* - A storage that refuses is not an error: the answer is merely not remembered.*/import { beforeEach, describe, expect, it } from "vitest";-import type { AgentSummary, SessionInfo } from "@prismshadow/penguin-server/api";+import type { AgentSummary, SessionInfo } from "@lmliheng/penguin-server/api";import {CACHED_ROWS_PER_MACHINE,cachedMachineAgents,diff --git a/packages/web/test/machines-view.test.ts b/packages/web/test/machines-view.test.tsindex ff724230..d67a71ac 100644--- a/packages/web/test/machines-view.test.ts+++ b/packages/web/test/machines-view.test.ts@@ -7,7 +7,7 @@* the machine's own persisted record, never from the job slot.*/import { describe, expect, it } from "vitest";-import type { MachineInfo, MachineJob, MachinesResponse } from "@prismshadow/penguin-server/api";+import type { MachineInfo, MachineJob, MachinesResponse } from "@lmliheng/penguin-server/api";import {anyJobPending,behindMachines,diff --git a/packages/web/test/markdown-pipeline.test.ts b/packages/web/test/markdown-pipeline.test.tsindex 395e8f89..4ce338a0 100644--- a/packages/web/test/markdown-pipeline.test.ts+++ b/packages/web/test/markdown-pipeline.test.ts@@ -19,7 +19,7 @@ const SHARED_MODULE = "packages/ui/src/components/content/prose/markdown-plugins/** Where a renderer in each root takes the lists from. */const HOME: Record<string, string> = {ui: 'from "./markdown-plugins"',- web: 'from "@prismshadow/penguin-ui"',+ web: 'from "@lmliheng/penguin-ui"',};describe("the Markdown pipeline every renderer shares", () => {diff --git a/packages/web/test/md.test.ts b/packages/web/test/md.test.tsindex 4cf02b04..59313c39 100644--- a/packages/web/test/md.test.ts+++ b/packages/web/test/md.test.ts@@ -15,7 +15,7 @@ import { describe, expect, it, vi } from "vitest";import { createElement } from "react";import type { MouseEvent } from "react";import { renderToStaticMarkup } from "react-dom/server";-import { Md } from "@prismshadow/penguin-ui";+import { Md } from "@lmliheng/penguin-ui";import { WorkspaceLinksProvider } from "../src/features/chat/workspace-links";import { replyLinkBehavior, resolveReplyLink } from "../src/lib/reply-link";diff --git a/packages/web/test/memory-changes-card.test.ts b/packages/web/test/memory-changes-card.test.tsindex 77fe240c..e13bc28a 100644--- a/packages/web/test/memory-changes-card.test.ts+++ b/packages/web/test/memory-changes-card.test.ts@@ -11,7 +11,7 @@import { afterEach, describe, expect, it } from "vitest";import { createElement } from "react";import { renderToStaticMarkup } from "react-dom/server";-import { ICONS } from "@prismshadow/penguin-ui";+import { ICONS } from "@lmliheng/penguin-ui";import { MemoryChangesCard } from "../src/features/chat/memory-changes-card";import type { MemoryChangeRow } from "../src/lib/omni/memory-changes";import { S, setActiveStrings, zh } from "../src/lib/strings";diff --git a/packages/web/test/memory-nav.test.ts b/packages/web/test/memory-nav.test.tsindex a021397d..19734b8b 100644--- a/packages/web/test/memory-nav.test.ts+++ b/packages/web/test/memory-nav.test.ts@@ -4,7 +4,7 @@* loaded; change-derived rows while it is not), and the deleted-key filter set.*/import { describe, expect, it } from "vitest";-import type { MemoryFileInfo, MemoryScopeInfo } from "@prismshadow/penguin-server/api";+import type { MemoryFileInfo, MemoryScopeInfo } from "@lmliheng/penguin-server/api";import type { MemoryChangeRow } from "../src/lib/omni/memory-changes";import {buildMemoryList,diff --git a/packages/web/test/memory-transfer.test.ts b/packages/web/test/memory-transfer.test.tsindex 3ec287da..ce3fb51a 100644--- a/packages/web/test/memory-transfer.test.ts+++ b/packages/web/test/memory-transfer.test.ts@@ -6,7 +6,7 @@* default mode destroys nothing, and every mode that does report exactly which memories.*/import { afterEach, describe, expect, it } from "vitest";-import type { MemoryScopeExport } from "@prismshadow/penguin-server/api";+import type { MemoryScopeExport } from "@lmliheng/penguin-server/api";import { S, setActiveStrings, zh } from "../src/lib/strings";import { en } from "../src/lib/strings-en";import {diff --git a/packages/web/test/messaging-binding-editor.test.ts b/packages/web/test/messaging-binding-editor.test.tsindex 73ce675c..fbb55611 100644--- a/packages/web/test/messaging-binding-editor.test.ts+++ b/packages/web/test/messaging-binding-editor.test.ts@@ -22,7 +22,7 @@import { afterEach, describe, expect, it } from "vitest";import { createElement } from "react";import { renderToStaticMarkup } from "react-dom/server";-import type { MessagingChannel } from "@prismshadow/penguin-server/api";+import type { MessagingChannel } from "@lmliheng/penguin-server/api";import {MessagingBindingBody,MessagingBindingHelp,@@ -31,7 +31,7 @@ import {type MessagingChannelFacts,} from "../src/features/messaging/messaging-binding-editor";import { emptyMessagingForm } from "../src/features/messaging/messaging-binding-form";-import { UiStringsProvider } from "@prismshadow/penguin-ui";+import { UiStringsProvider } from "@lmliheng/penguin-ui";import { S, setActiveStrings, zh } from "../src/lib/strings";import { uiStringsOf } from "../src/lib/ui-strings";import { en } from "../src/lib/strings-en";diff --git a/packages/web/test/messaging-binding-form.test.ts b/packages/web/test/messaging-binding-form.test.tsindex 7c3e9beb..84aa3997 100644--- a/packages/web/test/messaging-binding-form.test.ts+++ b/packages/web/test/messaging-binding-form.test.ts@@ -15,7 +15,7 @@ import type {QQBindingInfo,TelegramBindingInfo,WeChatBindingInfo,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {FEISHU_DEFAULT_DOMAIN,bindingsToForm,diff --git a/packages/web/test/model-balance.test.ts b/packages/web/test/model-balance.test.tsindex 364a31f4..b4e109bf 100644--- a/packages/web/test/model-balance.test.ts+++ b/packages/web/test/model-balance.test.ts@@ -7,7 +7,7 @@import { createElement } from "react";import { renderToStaticMarkup } from "react-dom/server";import { describe, expect, it } from "vitest";-import type { ModelBalanceResponse } from "@prismshadow/penguin-server/api";+import type { ModelBalanceResponse } from "@lmliheng/penguin-server/api";import {displayBalance,formatAmount,diff --git a/packages/web/test/model-group-expansion.test.ts b/packages/web/test/model-group-expansion.test.tsindex a19e671b..c0a60d1d 100644--- a/packages/web/test/model-group-expansion.test.ts+++ b/packages/web/test/model-group-expansion.test.ts@@ -11,7 +11,7 @@* stay inert.*/import { describe, expect, it } from "vitest";-import { MODEL_PROVIDERS } from "@prismshadow/penguin-core/model-catalog";+import { MODEL_PROVIDERS } from "@lmliheng/penguin-core/model-catalog";import {defaultExpandedProviders,expandedGroupsKey,diff --git a/packages/web/test/model-group-header.test.ts b/packages/web/test/model-group-header.test.tsindex 4443407d..c878e733 100644--- a/packages/web/test/model-group-header.test.ts+++ b/packages/web/test/model-group-header.test.ts@@ -11,8 +11,8 @@* something comes after it.*/import { describe, expect, it } from "vitest";-import { MODEL_PROVIDERS, providerInfo } from "@prismshadow/penguin-core/model-catalog";-import type { ModelProviderInfo } from "@prismshadow/penguin-core/model-catalog";+import { MODEL_PROVIDERS, providerInfo } from "@lmliheng/penguin-core/model-catalog";+import type { ModelProviderInfo } from "@lmliheng/penguin-core/model-catalog";import {connectionStatus,dividerAfterBalance,diff --git a/packages/web/test/model-group-order.test.ts b/packages/web/test/model-group-order.test.tsindex ab6ebe33..42cb24c0 100644--- a/packages/web/test/model-group-order.test.ts+++ b/packages/web/test/model-group-order.test.ts@@ -14,7 +14,7 @@* the ordering algebra, and the catalog's own membership is model-catalog.test.ts's.*/import { describe, expect, it } from "vitest";-import { MODEL_PROVIDERS } from "@prismshadow/penguin-core/model-catalog";+import { MODEL_PROVIDERS } from "@lmliheng/penguin-core/model-catalog";import {commitModelGroupOrder,diff --git a/packages/web/test/model-grouping.test.ts b/packages/web/test/model-grouping.test.tsindex 1107da8f..340d5efe 100644--- a/packages/web/test/model-grouping.test.ts+++ b/packages/web/test/model-grouping.test.ts@@ -19,7 +19,7 @@ import {QWEN_OFF_PEAK,catalogEntryFor,effectivePricing,-} from "@prismshadow/penguin-core/model-catalog";+} from "@lmliheng/penguin-core/model-catalog";import {discountedPrice,groupModelRows,diff --git a/packages/web/test/new-chat.test.ts b/packages/web/test/new-chat.test.tsindex 9197eae0..2e922a1f 100644--- a/packages/web/test/new-chat.test.ts+++ b/packages/web/test/new-chat.test.ts@@ -10,7 +10,7 @@* is emptied, and an empty slot is left alone.*/import { describe, expect, it } from "vitest";-import type { AgentSummary } from "@prismshadow/penguin-server/api";+import type { AgentSummary } from "@lmliheng/penguin-server/api";import { draftKey, loadDraft, saveDraft } from "../src/features/chat/draft-cache";import { getDraftSession } from "../src/features/chat/draft-sessions";import { newChatAgentId, prepareNewChatDraft } from "../src/features/chat/new-chat";diff --git a/packages/web/test/org-sessions.test.ts b/packages/web/test/org-sessions.test.tsindex 49c16aaa..027c7f9c 100644--- a/packages/web/test/org-sessions.test.ts+++ b/packages/web/test/org-sessions.test.ts@@ -21,7 +21,7 @@ import type {OrgChartResponse,OrgSessionsResponse,SessionStatus,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {deskRows,liveEmployeeStates,diff --git a/packages/web/test/org-trigger.test.ts b/packages/web/test/org-trigger.test.tsindex d7cf4fcd..d1ba7746 100644--- a/packages/web/test/org-trigger.test.ts+++ b/packages/web/test/org-trigger.test.ts@@ -5,7 +5,7 @@* parse chain's place for it in user-message-body (a trigger is never the user's own text).*/import { describe, expect, it } from "vitest";-import { buildOrgTriggerMessage } from "@prismshadow/penguin-core/markers";+import { buildOrgTriggerMessage } from "@lmliheng/penguin-core/markers";import {orgTriggerAgentId,parseOrgTriggerMessage,diff --git a/packages/web/test/outline-model.test.ts b/packages/web/test/outline-model.test.tsindex e69264ba..f06f12b8 100644--- a/packages/web/test/outline-model.test.ts+++ b/packages/web/test/outline-model.test.ts@@ -9,7 +9,7 @@ import { handoffMessage } from "../src/features/chat/agent-handoff";import {buildBackgroundTaskDoneMessage,buildScheduledMessage,-} from "@prismshadow/penguin-core/markers";+} from "@lmliheng/penguin-core/markers";import {OUTLINE_MIN_TURNS,OUTLINE_WINDOW_AFTER,diff --git a/packages/web/test/overview-summary.test.ts b/packages/web/test/overview-summary.test.tsindex d421a5ad..be7bef18 100644--- a/packages/web/test/overview-summary.test.ts+++ b/packages/web/test/overview-summary.test.ts@@ -23,7 +23,7 @@ import type {OrgEmployeeState,OrgInbox,OrgTicketItem,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {INBOX_ROWS,boardSummary,diff --git a/packages/web/test/owner-only-actions.test.ts b/packages/web/test/owner-only-actions.test.tsindex c99f5057..0df830cd 100644--- a/packages/web/test/owner-only-actions.test.ts+++ b/packages/web/test/owner-only-actions.test.ts@@ -14,7 +14,7 @@import { createElement } from "react";import { renderToStaticMarkup } from "react-dom/server";import { describe, expect, it } from "vitest";-import type { BenchmarkSummary, ProjectSummary } from "@prismshadow/penguin-server/api";+import type { BenchmarkSummary, ProjectSummary } from "@lmliheng/penguin-server/api";import { UnpublishedNotice } from "../src/features/benchmark/benchmark-detail-page";import { BenchmarkCard, BenchmarkCreateButtons } from "../src/features/benchmark/benchmark-page";import { traceImportTargets } from "../src/features/settings/trace-import-row";diff --git a/packages/web/test/permission-level.test.ts b/packages/web/test/permission-level.test.tsindex bee9c9d4..278fb463 100644--- a/packages/web/test/permission-level.test.ts+++ b/packages/web/test/permission-level.test.ts@@ -8,7 +8,7 @@* - Each level wears its own glyph, so the level never depends on colour alone.*/import { describe, expect, it } from "vitest";-import type { SessionSandbox } from "@prismshadow/penguin-server/api";+import type { SessionSandbox } from "@lmliheng/penguin-server/api";import {PERMISSION_LEVEL_GLYPH,firstUnavailableBackend,diff --git a/packages/web/test/pinned-sessions.test.ts b/packages/web/test/pinned-sessions.test.tsindex bac0ca22..ad50c844 100644--- a/packages/web/test/pinned-sessions.test.ts+++ b/packages/web/test/pinned-sessions.test.ts@@ -13,7 +13,7 @@* rows ignore pins and a pin of a deleted Session surfaces nothing.*/import { describe, expect, it } from "vitest";-import type { SessionInfo } from "@prismshadow/penguin-server/api";+import type { SessionInfo } from "@lmliheng/penguin-server/api";import {loadPinnedSessions,pinnedSessionsKey,diff --git a/packages/web/test/placeholders-parity.test.ts b/packages/web/test/placeholders-parity.test.tsindex e2bdcbf5..305048fe 100644--- a/packages/web/test/placeholders-parity.test.ts+++ b/packages/web/test/placeholders-parity.test.ts@@ -6,7 +6,7 @@* and compare to both dictionaries.*/import { describe, expect, it } from "vitest";-import { defaultSystemConfig } from "@prismshadow/penguin-core";+import { defaultSystemConfig } from "@lmliheng/penguin-core";import { zh } from "../src/lib/strings";import { en } from "../src/lib/strings-en";diff --git a/packages/web/test/plugins-page.test.ts b/packages/web/test/plugins-page.test.tsindex 6c84991a..81dd4346 100644--- a/packages/web/test/plugins-page.test.ts+++ b/packages/web/test/plugins-page.test.ts@@ -16,7 +16,7 @@* every plugin it is behind on, and counts distinct plugins as the notice does.*/import { describe, expect, it } from "vitest";-import type { InstalledPluginsResponse } from "@prismshadow/penguin-server/api";+import type { InstalledPluginsResponse } from "@lmliheng/penguin-server/api";import {availablePluginRows,installedPluginRows,diff --git a/packages/web/test/profile-form.test.ts b/packages/web/test/profile-form.test.tsindex 5c3278b5..e154383e 100644--- a/packages/web/test/profile-form.test.ts+++ b/packages/web/test/profile-form.test.ts@@ -7,7 +7,7 @@* writes, which is the half a regression would land on silently.*/import { describe, expect, it } from "vitest";-import type { UserInfo } from "@prismshadow/penguin-server/api";+import type { UserInfo } from "@lmliheng/penguin-server/api";import { profileControls } from "../src/lib/profile-form";/** An account with nothing set: the state every account predating the Profile page is in. */diff --git a/packages/web/test/protocol-detect.test.ts b/packages/web/test/protocol-detect.test.tsindex ed8aafe3..fcbcbe00 100644--- a/packages/web/test/protocol-detect.test.ts+++ b/packages/web/test/protocol-detect.test.ts@@ -11,7 +11,7 @@ import {MODEL_CATALOG,modelEnvPreviewKey,resolveModelEnv,-} from "@prismshadow/penguin-core/model-catalog";+} from "@lmliheng/penguin-core/model-catalog";import { zh as ZH } from "../src/lib/strings";import { en as EN } from "../src/lib/strings-en";import { clientTypeAfterProviderChange, rowToEntry } from "../src/features/models/models-page";diff --git a/packages/web/test/protocol-path.test.ts b/packages/web/test/protocol-path.test.tsindex 3d14cfd2..1fec4473 100644--- a/packages/web/test/protocol-path.test.ts+++ b/packages/web/test/protocol-path.test.ts@@ -6,7 +6,7 @@* /v1beta/models/<id>:…, and every OpenAI-compatible client posts /chat/completions.*/import { describe, expect, it } from "vitest";-import { MODEL_CATALOG } from "@prismshadow/penguin-core/model-catalog";+import { MODEL_CATALOG } from "@lmliheng/penguin-core/model-catalog";import { protocolPathForModel } from "../src/features/models/protocol-path";describe("protocolPathForModel", () => {diff --git a/packages/web/test/qq-scan-connect.test.ts b/packages/web/test/qq-scan-connect.test.tsindex b2298e79..416c701b 100644--- a/packages/web/test/qq-scan-connect.test.ts+++ b/packages/web/test/qq-scan-connect.test.ts@@ -15,7 +15,7 @@ import { describe, expect, it } from "vitest";import { createElement } from "react";import { renderToStaticMarkup } from "react-dom/server";import { encode } from "uqr";-import type { QQBindingInfo, QQScanPollResponse } from "@prismshadow/penguin-server/api";+import type { QQBindingInfo, QQScanPollResponse } from "@lmliheng/penguin-server/api";import { ApiError } from "../src/api/client";import { QQScanConnect, QrCode, qqScanStep } from "../src/features/messaging/qq-scan-connect";import type { QQScanTally } from "../src/features/messaging/qq-scan-connect";diff --git a/packages/web/test/route-session-hold.test.ts b/packages/web/test/route-session-hold.test.tsindex d527e78a..cf694204 100644--- a/packages/web/test/route-session-hold.test.ts+++ b/packages/web/test/route-session-hold.test.ts@@ -6,7 +6,7 @@* hold.*/import { describe, expect, it } from "vitest";-import type { SessionInfo } from "@prismshadow/penguin-server/api";+import type { SessionInfo } from "@lmliheng/penguin-server/api";import { heldRouteSession } from "../src/features/chat/session-project";const row = (sessionId: string) => ({ sessionId }) as SessionInfo;diff --git a/packages/web/test/schedule-panel-state.test.ts b/packages/web/test/schedule-panel-state.test.tsindex 406166bc..a49a8352 100644--- a/packages/web/test/schedule-panel-state.test.ts+++ b/packages/web/test/schedule-panel-state.test.ts@@ -4,7 +4,7 @@* the display statuses, what the search matches, and the whole-file toggle body.*/import { describe, expect, it } from "vitest";-import type { ProjectScheduleItem, ScheduleItem } from "@prismshadow/penguin-server/api";+import type { ProjectScheduleItem, ScheduleItem } from "@lmliheng/penguin-server/api";import {SCHEDULE_FILTERS,pendingScheduleSessions,diff --git a/packages/web/test/schedule-store.test.ts b/packages/web/test/schedule-store.test.tsindex 43800809..42d00e12 100644--- a/packages/web/test/schedule-store.test.ts+++ b/packages/web/test/schedule-store.test.ts@@ -16,10 +16,7 @@* - The session list marks the Sessions of every Agent out of one answer.*/import { beforeEach, describe, expect, it } from "vitest";-import type {- ProjectScheduleItem,- ProjectSchedulesResponse,-} from "@prismshadow/penguin-server/api";+import type { ProjectScheduleItem, ProjectSchedulesResponse } from "@lmliheng/penguin-server/api";import { pendingScheduleSessions } from "../src/features/schedules/schedule-panel-state";import {noteScheduleEvent,diff --git a/packages/web/test/session-grouping.test.ts b/packages/web/test/session-grouping.test.tsindex 2480d3db..e01d38f7 100644--- a/packages/web/test/session-grouping.test.ts+++ b/packages/web/test/session-grouping.test.ts@@ -27,7 +27,7 @@* the newer of its stamp and its loaded rows, the temp group last; a count of zero forms none.*/import { describe, expect, it } from "vitest";-import type { SessionCategoryCounts, SessionInfo } from "@prismshadow/penguin-server/api";+import type { SessionCategoryCounts, SessionInfo } from "@lmliheng/penguin-server/api";import {SIDEBAR_PAGE_SIZE,TEMP_WORKSPACE_GROUP_KEY,diff --git a/packages/web/test/session-project.test.ts b/packages/web/test/session-project.test.tsindex 6e42703c..958e6142 100644--- a/packages/web/test/session-project.test.ts+++ b/packages/web/test/session-project.test.ts@@ -4,7 +4,7 @@* the route names when the loaded list does not hold it.*/import { describe, expect, it } from "vitest";-import type { SessionInfo } from "@prismshadow/penguin-server/api";+import type { SessionInfo } from "@lmliheng/penguin-server/api";import {resolveRoutedSession,sessionForProject,diff --git a/packages/web/test/session-status-events.test.ts b/packages/web/test/session-status-events.test.tsindex c2da82f9..a54c2b73 100644--- a/packages/web/test/session-status-events.test.ts+++ b/packages/web/test/session-status-events.test.ts@@ -23,7 +23,7 @@* the list, and anything else is ignored.*/import { describe, expect, it } from "vitest";-import type { ServerEvent, SessionInfo, SessionStatus } from "@prismshadow/penguin-server/api";+import type { ServerEvent, SessionInfo, SessionStatus } from "@lmliheng/penguin-server/api";import { applyUserEvent, createSessionsStore } from "../src/state/sessions";import { isSessionUnread, markSessionSeen } from "../src/lib/session-seen";import type { SessionSeenState } from "../src/lib/session-seen";diff --git a/packages/web/test/sessions-store.test.ts b/packages/web/test/sessions-store.test.tsindex 76656d2e..9e86b7fb 100644--- a/packages/web/test/sessions-store.test.ts+++ b/packages/web/test/sessions-store.test.ts@@ -35,7 +35,7 @@* - A session_created for this Project reloads wherever it happened; another Project's never.*/import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";-import type { ServerEvent, SessionInfo, SessionsResponse } from "@prismshadow/penguin-server/api";+import type { ServerEvent, SessionInfo, SessionsResponse } from "@lmliheng/penguin-server/api";import { applyUserEvent, createSessionsStore, liveSessionStatuses } from "../src/state/sessions";import { forgetSessionMachines, machineForSession } from "../src/lib/session-machines";import { cachedMachineSessions, rememberMachineSessions } from "../src/lib/machine-cache";diff --git a/packages/web/test/skill-slash.test.ts b/packages/web/test/skill-slash.test.tsindex 2d57c66d..a7aa10ce 100644--- a/packages/web/test/skill-slash.test.ts+++ b/packages/web/test/skill-slash.test.ts@@ -13,7 +13,7 @@* uses, which names the picked skills in the UI language.*/import { describe, expect, it } from "vitest";-import type { SkillMetadataItem } from "@prismshadow/penguin-server/api";+import type { SkillMetadataItem } from "@lmliheng/penguin-server/api";import {filterSkills,localizedShortText,diff --git a/packages/web/test/stream-controller.test.ts b/packages/web/test/stream-controller.test.tsindex 0c613ead..c70b1ef0 100644--- a/packages/web/test/stream-controller.test.ts+++ b/packages/web/test/stream-controller.test.ts@@ -19,8 +19,8 @@ import {toolCall,userText,withOrigin,-} from "@prismshadow/penguin-core/omnimessage";-import type { OmniMessage, TokenCounts } from "@prismshadow/penguin-core/omnimessage";+} from "@lmliheng/penguin-core/omnimessage";+import type { OmniMessage, TokenCounts } from "@lmliheng/penguin-core/omnimessage";import type {MessagesLiveTail,MessagesPageInfo,@@ -28,7 +28,7 @@ import type {PendingSteeringInfo,ServerEvent,SessionStatus,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import { OLDER_UNITS, TAIL_UNITS, createStreamController } from "../src/lib/omni/stream-controller";import type { MessagesPageQuery, StreamController } from "../src/lib/omni/stream-controller";import { approvalKey, findToolCard } from "../src/lib/omni/stream-model";diff --git a/packages/web/test/stream-model.test.ts b/packages/web/test/stream-model.test.tsindex 361fb361..b67eb17e 100644--- a/packages/web/test/stream-model.test.ts+++ b/packages/web/test/stream-model.test.ts@@ -61,12 +61,12 @@ import {toolCallOutput,userText,withOrigin,-} from "@prismshadow/penguin-core/omnimessage";+} from "@lmliheng/penguin-core/omnimessage";import type {OmniMessage,SessionMetaPayload,TokenCounts,-} from "@prismshadow/penguin-core/omnimessage";+} from "@lmliheng/penguin-core/omnimessage";import {approvalKey,buildDedupIndex,diff --git a/packages/web/test/stream-selection-menu.test.ts b/packages/web/test/stream-selection-menu.test.tsindex 8e3d55db..8f5c0d63 100644--- a/packages/web/test/stream-selection-menu.test.ts+++ b/packages/web/test/stream-selection-menu.test.ts@@ -14,7 +14,7 @@ import { afterEach, describe, expect, it, vi } from "vitest";import { createElement, isValidElement } from "react";import type { ReactElement, ReactNode } from "react";import { renderToStaticMarkup } from "react-dom/server";-import { ICONS } from "@prismshadow/penguin-ui";+import { ICONS } from "@lmliheng/penguin-ui";import { LinkMenuRows, SelectionMenuRows } from "../src/features/chat/stream-selection-menu";import type { CapturedSelection } from "../src/features/chat/stream-selection-menu";import type { ComposerControl } from "../src/features/chat/chat-input";@@ -27,8 +27,8 @@ import { en } from "../src/lib/strings-en";/** Toasts raised during a test (the real store would leave its dismiss timers running). */const toasts = vi.hoisted(() => [] as string[]);-vi.mock("@prismshadow/penguin-ui", async (importOriginal) => {- const actual = await importOriginal<typeof import("@prismshadow/penguin-ui")>();+vi.mock("@lmliheng/penguin-ui", async (importOriginal) => {+ const actual = await importOriginal<typeof import("@lmliheng/penguin-ui")>();return {...actual,toastSuccess: (text: string) => {diff --git a/packages/web/test/task-stats.test.ts b/packages/web/test/task-stats.test.tsindex 66348f65..6a33355f 100644--- a/packages/web/test/task-stats.test.ts+++ b/packages/web/test/task-stats.test.ts@@ -3,7 +3,7 @@* output item for item.*/import { describe, expect, it } from "vitest";-import type { TokenUsagePayload } from "@prismshadow/penguin-core/omnimessage";+import type { TokenUsagePayload } from "@lmliheng/penguin-core/omnimessage";import {addLlmDuration,addToolExecution,diff --git a/packages/web/test/theme-prefs.test.ts b/packages/web/test/theme-prefs.test.tsindex 071e096e..e3708108 100644--- a/packages/web/test/theme-prefs.test.ts+++ b/packages/web/test/theme-prefs.test.ts@@ -15,14 +15,14 @@* dictionary.*/import { afterEach, describe, expect, it } from "vitest";-import { ACCENT_PRESET_IDS, THEME_IDS } from "@prismshadow/penguin-ui";+import { ACCENT_PRESET_IDS, THEME_IDS } from "@lmliheng/penguin-ui";import {FONT_CJK_OPTIONS,FONT_LATIN_OPTIONS,TEXT_SIZES,THEME_STORAGE_KEYS,applyThemeAttributes,-} from "@prismshadow/penguin-ui/boot";+} from "@lmliheng/penguin-ui/boot";import { effectiveAccent, readThemePrefs } from "../src/state/theme-prefs";import { fontChoices } from "../src/features/settings/appearance-section";import { setActiveStrings, zh } from "../src/lib/strings";diff --git a/packages/web/test/thinking-level.test.ts b/packages/web/test/thinking-level.test.tsindex ac5873a9..beec4106 100644--- a/packages/web/test/thinking-level.test.ts+++ b/packages/web/test/thinking-level.test.ts@@ -22,7 +22,7 @@* - The in-session picker follows the Agent config until a level is pinned on the Session.*/import { describe, expect, it } from "vitest";-import { DEFAULT_CHAT_THINKING_LEVELS } from "@prismshadow/penguin-core";+import { DEFAULT_CHAT_THINKING_LEVELS } from "@lmliheng/penguin-core";import { en } from "../src/lib/strings-en";import { zh } from "../src/lib/strings";import {diff --git a/packages/web/test/ticket-board.test.ts b/packages/web/test/ticket-board.test.tsindex 357781d0..9e7843ea 100644--- a/packages/web/test/ticket-board.test.ts+++ b/packages/web/test/ticket-board.test.ts@@ -13,7 +13,7 @@* - The tickets the server flagged invalid are listed in column order.*/import { describe, expect, it } from "vitest";-import type { OrgTicketItem, OrgTicketsResponse } from "@prismshadow/penguin-server/api";+import type { OrgTicketItem, OrgTicketsResponse } from "@lmliheng/penguin-server/api";import {allTickets,boardColumns,diff --git a/packages/web/test/ticket-history.test.ts b/packages/web/test/ticket-history.test.tsindex 45ae7fea..684a6ce9 100644--- a/packages/web/test/ticket-history.test.ts+++ b/packages/web/test/ticket-history.test.ts@@ -9,7 +9,7 @@* emptiness on its own.*/import { describe, expect, it } from "vitest";-import type { OrgTicketDetail, OrgTicketHistoryEntry } from "@prismshadow/penguin-server/api";+import type { OrgTicketDetail, OrgTicketHistoryEntry } from "@lmliheng/penguin-server/api";import { ticketHistoryRows, ticketSummaryCounts } from "../src/features/company/ticket-history";const entry = (over: Partial<OrgTicketHistoryEntry> = {}): OrgTicketHistoryEntry => ({diff --git a/packages/web/test/todo-badges.test.ts b/packages/web/test/todo-badges.test.tsindex 0f9a4148..f19d0d7d 100644--- a/packages/web/test/todo-badges.test.ts+++ b/packages/web/test/todo-badges.test.ts@@ -8,7 +8,7 @@* version, a different model, a newer error — raises it again.*/import { describe, expect, it } from "vitest";-import type { AgentSummary, UsageErrorsPage } from "@prismshadow/penguin-server/api";+import type { AgentSummary, UsageErrorsPage } from "@lmliheng/penguin-server/api";import {kernelUpdateTodo,pluginUpdateTodo,diff --git a/packages/web/test/tool-alias.test.ts b/packages/web/test/tool-alias.test.tsindex dd4a596c..a2e2e96e 100644--- a/packages/web/test/tool-alias.test.ts+++ b/packages/web/test/tool-alias.test.ts@@ -9,7 +9,7 @@* without a short name fails here instead of shipping a card that reads as the wire name.*/import { afterEach, describe, expect, it } from "vitest";-import { BUILTIN_TOOL_FACTORIES } from "@prismshadow/penguin-core";+import { BUILTIN_TOOL_FACTORIES } from "@lmliheng/penguin-core";import { setActiveStrings, zh } from "../src/lib/strings";import { en } from "../src/lib/strings-en";import { toolDisplayName } from "../src/lib/tool-alias";diff --git a/packages/web/test/trace-events-loader.test.ts b/packages/web/test/trace-events-loader.test.tsindex 40bf0350..78581cfe 100644--- a/packages/web/test/trace-events-loader.test.ts+++ b/packages/web/test/trace-events-loader.test.ts@@ -12,8 +12,8 @@* - It resolves with the last page's total, the walk's final word on the file's length.*/import { describe, expect, it } from "vitest";-import type { OmniMessage } from "@prismshadow/penguin-core/omnimessage";-import type { TraceEventsResponse } from "@prismshadow/penguin-server/api";+import type { OmniMessage } from "@lmliheng/penguin-core/omnimessage";+import type { TraceEventsResponse } from "@lmliheng/penguin-server/api";import {MAX_TRACE_EVENT_PAGES,loadTraceEventPages,diff --git a/packages/web/test/ui-strings.test.ts b/packages/web/test/ui-strings.test.tsindex 69a2cb3a..69fc7045 100644--- a/packages/web/test/ui-strings.test.ts+++ b/packages/web/test/ui-strings.test.ts@@ -7,7 +7,7 @@* renders.*/import { describe, expect, it } from "vitest";-import { DEFAULT_UI_STRINGS } from "@prismshadow/penguin-ui";+import { DEFAULT_UI_STRINGS } from "@lmliheng/penguin-ui";import { uiStringsFor } from "../src/lib/ui-strings";const KEYS = Object.keys(DEFAULT_UI_STRINGS).sort();diff --git a/packages/web/test/update-check-outcome.test.ts b/packages/web/test/update-check-outcome.test.tsindex 8658e098..46e10670 100644--- a/packages/web/test/update-check-outcome.test.ts+++ b/packages/web/test/update-check-outcome.test.ts@@ -4,7 +4,7 @@* and "found" requires the release to be named so the toast and row have something to show.*/import { describe, expect, it } from "vitest";-import type { UpdateCheckResponse } from "@prismshadow/penguin-server/api";+import type { UpdateCheckResponse } from "@lmliheng/penguin-server/api";import { updateCheckOutcome } from "../src/lib/use-version-info";function response(overrides: Partial<UpdateCheckResponse>): UpdateCheckResponse {diff --git a/packages/web/test/update-flow.test.ts b/packages/web/test/update-flow.test.tsindex 9824c649..7c3a20df 100644--- a/packages/web/test/update-flow.test.ts+++ b/packages/web/test/update-flow.test.ts@@ -12,7 +12,7 @@ import type {DesktopUpdateStatus,UpdateCheckResponse,UpdateJobStatus,-} from "@prismshadow/penguin-server/api";+} from "@lmliheng/penguin-server/api";import {NO_LOCAL,clientFlow,diff --git a/packages/web/test/usage-controls.test.ts b/packages/web/test/usage-controls.test.tsindex 9c317587..371df0f5 100644--- a/packages/web/test/usage-controls.test.ts+++ b/packages/web/test/usage-controls.test.ts@@ -15,7 +15,7 @@* marking breaks where buckets were skipped; per-entity counts stay with their buckets.*/import { describe, expect, it } from "vitest";-import type { UsageSeriesPoint } from "@prismshadow/penguin-server/api";+import type { UsageSeriesPoint } from "@lmliheng/penguin-server/api";import {bucketAxisLabel,bucketFullLabel,diff --git a/packages/web/test/vendor-group-models.test.ts b/packages/web/test/vendor-group-models.test.tsindex aae0111e..d39d74bd 100644--- a/packages/web/test/vendor-group-models.test.ts+++ b/packages/web/test/vendor-group-models.test.ts@@ -22,7 +22,7 @@ import {isAddableGroup,isVendorGroup,unroutableVendorModel,-} from "@prismshadow/penguin-core/model-catalog";+} from "@lmliheng/penguin-core/model-catalog";import { groupHeaderActions } from "../src/features/models/group-header";import { ModelCard, unroutableFix } from "../src/features/models/models-page";import type { RowState } from "../src/features/models/models-page";diff --git a/packages/web/test/wechat-scan-connect.test.ts b/packages/web/test/wechat-scan-connect.test.tsindex 0ffb6f43..1fb893db 100644--- a/packages/web/test/wechat-scan-connect.test.ts+++ b/packages/web/test/wechat-scan-connect.test.ts@@ -14,7 +14,7 @@import { describe, expect, it } from "vitest";import { createElement } from "react";import { renderToStaticMarkup } from "react-dom/server";-import type { WeChatBindingInfo, WeChatScanPollResponse } from "@prismshadow/penguin-server/api";+import type { WeChatBindingInfo, WeChatScanPollResponse } from "@lmliheng/penguin-server/api";import { ApiError } from "../src/api/client";import { WeChatScanConnect, wechatScanStep } from "../src/features/messaging/wechat-scan-connect";import type { WeChatScanTally } from "../src/features/messaging/wechat-scan-connect";diff --git a/packages/web/test/workflow-tabs.test.ts b/packages/web/test/workflow-tabs.test.tsindex 62cdb636..0c3b9083 100644--- a/packages/web/test/workflow-tabs.test.ts+++ b/packages/web/test/workflow-tabs.test.ts@@ -1,5 +1,5 @@import { describe, expect, it } from "vitest";-import type { WorkflowInfo } from "@prismshadow/penguin-server/api";+import type { WorkflowInfo } from "@lmliheng/penguin-server/api";import {appPageTab,settleActiveTab,diff --git a/packages/web/test/workspace-finder.test.ts b/packages/web/test/workspace-finder.test.tsindex 2261e5c3..fad7ec3e 100644--- a/packages/web/test/workspace-finder.test.ts+++ b/packages/web/test/workspace-finder.test.ts@@ -27,7 +27,7 @@* layout.*/import { describe, expect, it } from "vitest";-import type { DirEntryInfo, DirListResponse } from "@prismshadow/penguin-server/api";+import type { DirEntryInfo, DirListResponse } from "@lmliheng/penguin-server/api";import {EMPTY_HISTORY,NO_EDITS,diff --git a/packages/web/test/workspace-machines.test.ts b/packages/web/test/workspace-machines.test.tsindex 772c3baa..0c609c83 100644--- a/packages/web/test/workspace-machines.test.ts+++ b/packages/web/test/workspace-machines.test.ts@@ -4,7 +4,7 @@* offering one that cannot be reached would fail at the first click instead of the choice.*/import { describe, expect, it } from "vitest";-import type { MachineInfo, MachinesResponse } from "@prismshadow/penguin-server/api";+import type { MachineInfo, MachinesResponse } from "@lmliheng/penguin-server/api";import {isElsewhere,machineLabel,diff --git a/packages/web/test/workspace-tree.test.ts b/packages/web/test/workspace-tree.test.tsindex a02cd2e1..03d5416a 100644--- a/packages/web/test/workspace-tree.test.ts+++ b/packages/web/test/workspace-tree.test.ts@@ -23,7 +23,7 @@* still fenced as a quotation, never text for the draft.*/import { describe, expect, it } from "vitest";-import type { WorkspaceFileEntry, WorkspaceSearchHit } from "@prismshadow/penguin-server/api";+import type { WorkspaceFileEntry, WorkspaceSearchHit } from "@lmliheng/penguin-server/api";import { blockedStorage, memoryStorage } from "./helpers/storage";import {type ComposerReference,diff --git a/packages/web/tsconfig.json b/packages/web/tsconfig.jsonindex a91666b9..b2260a29 100644--- a/packages/web/tsconfig.json+++ b/packages/web/tsconfig.json@@ -6,7 +6,7 @@"jsx": "react-jsx","useDefineForClassFields": true,"paths": {- "@prismshadow/penguin-server/api": ["../server/src/api/types.ts"]+ "@lmliheng/penguin-server/api": ["../server/src/api/types.ts"]}},"include": ["src", "test", "vite.config.ts", "vitest.config.ts"]diff --git a/plugins/README.md b/plugins/README.mdindex 5f95bb66..aaf53f7c 100644--- a/plugins/README.md+++ b/plugins/README.md@@ -1,6 +1,6 @@# Built-in plugins-The Adelie plugin library. Each plugin is its own npm package — `@lmliheng/<name>`, a directory under `plugins/` — with a `plugin.json` manifest (and an `icon.svg` beside it: the icon of everything the plugin ships, which its installed skills and hook package inherit) plus the content it ships: **skills** (`skills/<name>/SKILL.md`, installed into an Agent's `agent_state/skills/`) and/or a **hook package** (`hooks/*.mjs`, installed into `agent_state/hooks/<plugin>/` with a generated `hooks.json`). The loader lives in `@prismshadow/penguin-core`, which depends on these packages and reads their directories at runtime — the files are the source of truth.+The Adelie plugin library. Each plugin is its own npm package — `@lmliheng/<name>`, a directory under `plugins/` — with a `plugin.json` manifest (and an `icon.svg` beside it: the icon of everything the plugin ships, which its installed skills and hook package inherit) plus the content it ships: **skills** (`skills/<name>/SKILL.md`, installed into an Agent's `agent_state/skills/`) and/or a **hook package** (`hooks/*.mjs`, installed into `agent_state/hooks/<plugin>/` with a generated `hooks.json`). The loader lives in `@lmliheng/penguin-core`, which depends on these packages and reads their directories at runtime — the files are the source of truth.Versions are dates with a sequence number — `YYYY.MM.DD.N` — on the manifest and on every skill a plugin ships (the manifest's dated version is the plugin's own; the package's npm version follows the release). Skills follow the "index first, body on demand" design: only their metadata is injected into an Agent's system prompt; the Agent reads the full `SKILL.md` via shell when it actually needs it. Hook scripts are plain Node (builtins only): the harness runs them as subprocesses at the loop's hook points with `{ hook, session_id, trace_path }` on stdin and reads their JSON answer from stdout.@@ -32,6 +32,6 @@ Included plugins, by category (`PLUGIN_CATEGORIES` in `packages/core/src/pluginsThe plugins are data, not code — there is nothing to build here. The loader, its types and their tests live in `packages/core`:```bash-pnpm --filter @prismshadow/penguin-core build # includes the plugin loader-pnpm --filter @prismshadow/penguin-core test # loader, README tables, the hook scripts against fake Traces+pnpm --filter @lmliheng/penguin-core build # includes the plugin loader+pnpm --filter @lmliheng/penguin-core test # loader, README tables, the hook scripts against fake Traces```diff --git a/plugins/agent-development/skills/penguin-sdk/SKILL.md b/plugins/agent-development/skills/penguin-sdk/SKILL.mdindex 07008ebd..ea8dc09e 100644--- a/plugins/agent-development/skills/penguin-sdk/SKILL.md+++ b/plugins/agent-development/skills/penguin-sdk/SKILL.md@@ -5,7 +5,7 @@ description: Use whenever the user wants to build an agent application — their# Penguin Harness SDK-`@prismshadow/penguin-core` is the TypeScript SDK this agent itself runs on. Use it to build your own AI apps:+`@lmliheng/penguin-core` is the TypeScript SDK this agent itself runs on. Use it to build your own AI apps:- An **Agent** loads its state (prompts, tools, skills) from `<root>/<project_id>/agents/<agent_id>/`. Creating an Agent whose directory is empty initializes it with defaults.- A **Session** is one conversation of an Agent inside a **Workspace** directory.@@ -44,10 +44,10 @@ If neither counted source yields a key, **stop immediately and ask the user to c## Setup```bash-npm install @prismshadow/penguin-core tsx+npm install @lmliheng/penguin-core tsx```-If the package is not on your npm registry (it is developed in the Adelie monorepo and may not be published), develop inside a checkout of the Adelie repo instead: add your app as a workspace package under `packages/`, depend on `"@prismshadow/penguin-core": "workspace:*"`, then `pnpm install && pnpm build` at the repo root. Tell the user which route you took.+If the package is not on your npm registry (it is developed in the Adelie monorepo and may not be published), develop inside a checkout of the Adelie repo instead: add your app as a workspace package under `packages/`, depend on `"@lmliheng/penguin-core": "workspace:*"`, then `pnpm install && pnpm build` at the repo root. Tell the user which route you took.Configure a model for the app's data root, in this order — stop at the first that works:@@ -67,7 +67,7 @@ The raw `run()` stream mixes model, event and session-meta payloads — always n```tsimport path from "node:path";import readline from "node:readline/promises";-import { createAgent, isModelMessage, userText } from "@prismshadow/penguin-core";+import { createAgent, isModelMessage, userText } from "@lmliheng/penguin-core";const agent = await createAgent({ root: path.join(import.meta.dirname, "penguin_data") });const session = await agent.createSession({ workspaceDir: process.cwd() });@@ -108,7 +108,7 @@ Modern models think before answering and accept images; the stream and the input**Images in.** Build image input with `imageUrlMessage` (a web URL or a base64 data URL) beside `userText` in the same `run` input:```ts-import { imageUrlMessage, userText } from "@prismshadow/penguin-core";+import { imageUrlMessage, userText } from "@lmliheng/penguin-core";session.run([userText(question), ...images.map(imageUrlMessage)], { ... });```@@ -151,7 +151,7 @@ find corpus -type f ! -regex '.*\.\(md\|mdx\|txt\|html?\)$' -delete && rm -rf co```tsimport fs from "node:fs";import path from "node:path";-import { createAgent } from "@prismshadow/penguin-core";+import { createAgent } from "@lmliheng/penguin-core";const ROOT = import.meta.dirname;const walk = (d: string): string[] =>@@ -248,7 +248,7 @@ export function search(index: Index, query: string, k = 6): Chunk[] {import fs from "node:fs";import http from "node:http";import path from "node:path";-import { createAgent, isModelMessage, userText } from "@prismshadow/penguin-core";+import { createAgent, isModelMessage, userText } from "@lmliheng/penguin-core";import { loadIndex, search } from "./rag.ts";const ROOT = import.meta.dirname;@@ -379,8 +379,8 @@ The root manifest is named `Workflow`; it requires the host, provides the handle"modules": [{"name": "Workflow",- "requires": { "host": { "iface": "@prismshadow/penguin-server#WorkflowHost", "from": "Host" } },- "provides": { "main": "@prismshadow/penguin-server#WorkflowMain" },+ "requires": { "host": { "iface": "@lmliheng/penguin-server#WorkflowHost", "from": "Host" } },+ "provides": { "main": "@lmliheng/penguin-server#WorkflowMain" },"contributes": {"WebModule.sessionTabs": [{ "id": "demo.main", "key": "main", "title": "Demo", "titleZh": "演示", "renderer": { "iframe": { "src": "ui/index.html" } } }@@ -393,7 +393,7 @@ The root manifest is named `Workflow`; it requires the host, provides the handle``````ts-import type { WorkflowPackage } from "@prismshadow/penguin-server/plugin";+import type { WorkflowPackage } from "@lmliheng/penguin-server/plugin";export default {modules: {@@ -425,7 +425,7 @@ export default {**TypeScript, checked by the server.** There is no build step to run, no `tsconfig.json` to write and nothing to `npm install`: the server builds one program from `index.ts` (and the `.ts` files it imports, with `.js` in the import specifier as NodeNext asks) under options it fixes itself — `strict` among them — refuses the load on any diagnostic, reporting file, line and reason, and otherwise emits into `.build/<revision>/` and imports that. `satisfies WorkflowPackage` is what types `use.host` and `req`; without it `strict` refuses the untyped parameters. A folder holding `index.js` or `index.mjs` instead is refused outright.-**Types come from the harness that runs you.** One machine can run several harnesses — a release, a checkout, a platform someone pushed with interfaces of its own — and none of them is a version on npm, so `@prismshadow/penguin-server/plugin` is not a package here: the first time the server loads the folder it writes `.harness/plugin.d.ts`, rendered from ITS OWN interface table, and that is what the import resolves to. Create `package.json` and a minimal `index.ts`, let the server load it once, then read `.harness/plugin.d.ts` for the exact `WorkflowHost` this harness offers. The server then leaves `.harness/` alone: it is the record of what the workflow was written against, and a later generation of the platform is COMPARED with it, by the TypeScript compiler, both for what the workflow requires and what it provides — a host method you rely on that has since gone is a load error naming it, not a failure on the first call. To move a workflow onto the harness that runs it now, delete `.harness/` and fix what the compiler then reports.+**Types come from the harness that runs you.** One machine can run several harnesses — a release, a checkout, a platform someone pushed with interfaces of its own — and none of them is a version on npm, so `@lmliheng/penguin-server/plugin` is not a package here: the first time the server loads the folder it writes `.harness/plugin.d.ts`, rendered from ITS OWN interface table, and that is what the import resolves to. Create `package.json` and a minimal `index.ts`, let the server load it once, then read `.harness/plugin.d.ts` for the exact `WorkflowHost` this harness offers. The server then leaves `.harness/` alone: it is the record of what the workflow was written against, and a later generation of the platform is COMPARED with it, by the TypeScript compiler, both for what the workflow requires and what it provides — a host method you rely on that has since gone is a load error naming it, not a failure on the first call. To move a workflow onto the harness that runs it now, delete `.harness/` and fix what the compiler then reports.**Tabs are contributions.** Each entry under `WebModule.sessionTabs` is one tab beside the chat: `key` (unique in the workflow, part of the full-page URL), `title` / `titleZh`, and a `renderer` whose `iframe.src` is a file under `ui/`. Several entries make several tabs; none makes a server-only workflow. It is the same slot, written the same way, a plugin contributes to — the host opens it to workflows and scopes the tab to this Agent. A slot the host has not opened (`WebModule.pages`, say) is refused by name.diff --git a/plugins/sandbox-bwrap/README.md b/plugins/sandbox-bwrap/README.mdindex ef7be837..0b0332e4 100644--- a/plugins/sandbox-bwrap/README.md+++ b/plugins/sandbox-bwrap/README.md@@ -53,7 +53,7 @@ run it: the App re-assembles itself, no restart. Written by hand, it is a row of```toml[plugins]-"@prismshadow/penguin-plugin-sandbox-bwrap" = "*"+"@lmliheng/penguin-plugin-sandbox-bwrap" = "*"```Installing is an operator-side action: the harness resolves the package from the installation,diff --git a/plugins/sandbox-bwrap/package.json b/plugins/sandbox-bwrap/package.jsonindex 1d183c8e..9830a81e 100644--- a/plugins/sandbox-bwrap/package.json+++ b/plugins/sandbox-bwrap/package.json@@ -1,5 +1,5 @@{- "name": "@prismshadow/penguin-plugin-sandbox-bwrap",+ "name": "@lmliheng/penguin-plugin-sandbox-bwrap","version": "0.2.2","private": true,"type": "module",@@ -25,7 +25,7 @@"build": "node ../../scripts/vendor-bwrap.mjs && node ../../scripts/gen-ifaces.mjs --project tsconfig.json --out ifaces.json && tsup"},"devDependencies": {- "@prismshadow/penguin-core": "workspace:*",+ "@lmliheng/penguin-core": "workspace:*","tsup": "^8.3.0","vitest": "^3.2.6"}diff --git a/plugins/sandbox-bwrap/src/index.ts b/plugins/sandbox-bwrap/src/index.tsindex 53d14936..0875e59a 100644--- a/plugins/sandbox-bwrap/src/index.ts+++ b/plugins/sandbox-bwrap/src/index.ts@@ -1,9 +1,9 @@/**- * @prismshadow/penguin-plugin-sandbox-bwrap — a bubblewrap sandbox backend.+ * @lmliheng/penguin-plugin-sandbox-bwrap — a bubblewrap sandbox backend.** A PLUGIN PACKAGE, not part of the platform: a Project asks for it on the Plugins page* and the harness resolves it from the installation (see the server's plugin/loader.ts).- * It compiles against the `@prismshadow/penguin-core/plugin` surface (types, plus the+ * It compiles against the `@lmliheng/penguin-core/plugin` surface (types, plus the* decorators its bundle carries) and has no runtime dependency on the harness — and* none on the DSH ecosystem either:* it talks to `bwrap` directly and implements every dimension of the sandbox interface,@@ -36,14 +36,14 @@ import { accessSync, constants, statSync } from "node:fs";import path from "node:path";import { fileURLToPath } from "node:url";import { tmpdir } from "node:os";-import { Bind, Component, Interface, Use } from "@prismshadow/penguin-core/plugin";+import { Bind, Component, Interface, Use } from "@lmliheng/penguin-core/plugin";import type {ConfinedArgv,Plugin,SandboxPolicy,SandboxProvider,SandboxProviderSource,-} from "@prismshadow/penguin-core/plugin";+} from "@lmliheng/penguin-core/plugin";/** Default probe budget; a probe that hangs must not hang the first spawn forever. */const PROBE_TIMEOUT_MS = 5_000;diff --git a/plugins/sandbox-bwrap/test/live.test.ts b/plugins/sandbox-bwrap/test/live.test.tsindex 064e07c2..111d397f 100644--- a/plugins/sandbox-bwrap/test/live.test.ts+++ b/plugins/sandbox-bwrap/test/live.test.ts@@ -12,8 +12,8 @@ import { afterAll, describe, expect, it } from "vitest";import { existsSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";import { homedir, tmpdir } from "node:os";import path from "node:path";-import { CommandSessionManager } from "@prismshadow/penguin-core";-import type { SandboxPolicy } from "@prismshadow/penguin-core/plugin";+import { CommandSessionManager } from "@lmliheng/penguin-core";+import type { SandboxPolicy } from "@lmliheng/penguin-core/plugin";import { createPenguinBwrapProvider } from "../src/index.js";const ws = mkdtempSync(path.join(tmpdir(), "penguin-bwrap-live-"));diff --git a/plugins/sandbox-dsh/README.md b/plugins/sandbox-dsh/README.mdindex de5c496d..15513bad 100644--- a/plugins/sandbox-dsh/README.md+++ b/plugins/sandbox-dsh/README.md@@ -40,7 +40,7 @@ run it: the App re-assembles itself, no restart. Written by hand, it is a row of```toml[plugins]-"@prismshadow/penguin-plugin-sandbox-dsh" = "*"+"@lmliheng/penguin-plugin-sandbox-dsh" = "*"```Installing is an operator-side action: the harness resolves the package from the installation,diff --git a/plugins/sandbox-dsh/package.json b/plugins/sandbox-dsh/package.jsonindex 059b46fc..13d86b0d 100644--- a/plugins/sandbox-dsh/package.json+++ b/plugins/sandbox-dsh/package.json@@ -1,5 +1,5 @@{- "name": "@prismshadow/penguin-plugin-sandbox-dsh",+ "name": "@lmliheng/penguin-plugin-sandbox-dsh","version": "0.2.2","private": true,"type": "module",@@ -31,7 +31,7 @@},"devDependencies": {"@deepseek-ai/dsh-sandbox": "0.1.0-rc.7",- "@prismshadow/penguin-core": "workspace:*",+ "@lmliheng/penguin-core": "workspace:*","tsup": "^8.3.0","vitest": "^3.2.6"}diff --git a/plugins/sandbox-dsh/src/index.ts b/plugins/sandbox-dsh/src/index.tsindex c6ffb6bd..47b27892 100644--- a/plugins/sandbox-dsh/src/index.ts+++ b/plugins/sandbox-dsh/src/index.ts@@ -1,5 +1,5 @@/**- * @prismshadow/penguin-plugin-sandbox-dsh — the DeepSeek Harness sandbox ecosystem+ * @lmliheng/penguin-plugin-sandbox-dsh — the DeepSeek Harness sandbox ecosystem* behind this harness's own sandbox interface.** A PLUGIN PACKAGE, not part of the platform: a Project asks for it on the Plugins page@@ -21,13 +21,13 @@* them fails THIS load — reported fail-closed by the service — instead of failing the* whole platform bundle's import.*/-import { Bind, Component } from "@prismshadow/penguin-core/plugin";+import { Bind, Component } from "@lmliheng/penguin-core/plugin";import type {ConfinedArgv,Plugin,SandboxProvider,SandboxProviderSource,-} from "@prismshadow/penguin-core/plugin";+} from "@lmliheng/penguin-core/plugin";/** Mount the stock DSH chain on a bare cordis Context — exactly how DSH's own tests mount it. */export async function loadDshAdaptor(): Promise<SandboxProvider | null> {diff --git a/plugins/sandbox-dsh/test/live.test.ts b/plugins/sandbox-dsh/test/live.test.tsindex de52b45c..517929e6 100644--- a/plugins/sandbox-dsh/test/live.test.ts+++ b/plugins/sandbox-dsh/test/live.test.ts@@ -12,8 +12,8 @@ import { afterAll, describe, expect, it } from "vitest";import { existsSync, mkdtempSync, rmSync } from "node:fs";import { homedir, tmpdir } from "node:os";import path from "node:path";-import { CommandSessionManager } from "@prismshadow/penguin-core";-import type { SandboxProvider } from "@prismshadow/penguin-core/plugin";+import { CommandSessionManager } from "@lmliheng/penguin-core";+import type { SandboxProvider } from "@lmliheng/penguin-core/plugin";import { loadDshAdaptor } from "../src/index.js";const ws = mkdtempSync(path.join(tmpdir(), "penguin-dsh-live-"));diff --git a/plugins/sandbox-seatbelt/README.md b/plugins/sandbox-seatbelt/README.mdindex b9dcbe60..5ba786b4 100644--- a/plugins/sandbox-seatbelt/README.md+++ b/plugins/sandbox-seatbelt/README.md@@ -57,7 +57,7 @@ run it: the App re-assembles itself, no restart. Written by hand, it is a row of```toml[plugins]-"@prismshadow/penguin-plugin-sandbox-seatbelt" = "*"+"@lmliheng/penguin-plugin-sandbox-seatbelt" = "*"```Installing is an operator-side action: the harness resolves the package from the installation,diff --git a/plugins/sandbox-seatbelt/package.json b/plugins/sandbox-seatbelt/package.jsonindex 1ea39f52..700e1334 100644--- a/plugins/sandbox-seatbelt/package.json+++ b/plugins/sandbox-seatbelt/package.json@@ -1,5 +1,5 @@{- "name": "@prismshadow/penguin-plugin-sandbox-seatbelt",+ "name": "@lmliheng/penguin-plugin-sandbox-seatbelt","version": "0.2.2","private": true,"type": "module",@@ -24,7 +24,7 @@"build": "node ../../scripts/gen-ifaces.mjs --project tsconfig.json --out ifaces.json && tsup"},"devDependencies": {- "@prismshadow/penguin-core": "workspace:*",+ "@lmliheng/penguin-core": "workspace:*","tsup": "^8.3.0","vitest": "^3.2.6"}diff --git a/plugins/sandbox-seatbelt/src/index.ts b/plugins/sandbox-seatbelt/src/index.tsindex 67b3fbdd..977706e0 100644--- a/plugins/sandbox-seatbelt/src/index.ts+++ b/plugins/sandbox-seatbelt/src/index.ts@@ -1,9 +1,9 @@/**- * @prismshadow/penguin-plugin-sandbox-seatbelt — a macOS Seatbelt sandbox backend.+ * @lmliheng/penguin-plugin-sandbox-seatbelt — a macOS Seatbelt sandbox backend.** A PLUGIN PACKAGE, not part of the platform: a Project asks for it on the Plugins page* and the harness resolves it from the installation. It compiles against the- * `@prismshadow/penguin-core/plugin` surface (types, plus the decorators its bundle+ * `@lmliheng/penguin-core/plugin` surface (types, plus the decorators its bundle* carries) and has no runtime dependency on the* harness or on any other backend.*@@ -34,14 +34,14 @@ import { execFile, spawnSync } from "node:child_process";import { existsSync, realpathSync } from "node:fs";import { tmpdir } from "node:os";import path from "node:path";-import { Bind, Component, Interface, Use } from "@prismshadow/penguin-core/plugin";+import { Bind, Component, Interface, Use } from "@lmliheng/penguin-core/plugin";import type {ConfinedArgv,Plugin,SandboxPolicy,SandboxProvider,SandboxProviderSource,-} from "@prismshadow/penguin-core/plugin";+} from "@lmliheng/penguin-core/plugin";/** Default probe budget; a probe that hangs must not hang the first spawn forever. */const PROBE_TIMEOUT_MS = 5_000;diff --git a/plugins/sandbox-seatbelt/test/live.test.ts b/plugins/sandbox-seatbelt/test/live.test.tsindex 86b7a85a..188e4ba6 100644--- a/plugins/sandbox-seatbelt/test/live.test.ts+++ b/plugins/sandbox-seatbelt/test/live.test.ts@@ -11,8 +11,8 @@ import { afterAll, describe, expect, it } from "vitest";import { existsSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";import { homedir, tmpdir } from "node:os";import path from "node:path";-import { CommandSessionManager } from "@prismshadow/penguin-core";-import type { SandboxPolicy } from "@prismshadow/penguin-core/plugin";+import { CommandSessionManager } from "@lmliheng/penguin-core";+import type { SandboxPolicy } from "@lmliheng/penguin-core/plugin";import { canonicalPath, createSeatbeltProvider } from "../src/index.js";const ws = canonicalPath(mkdtempSync(path.join(tmpdir(), "penguin-seatbelt-live-")));diff --git a/plugins/sandbox-wsl/README.md b/plugins/sandbox-wsl/README.mdindex adf6120e..a6408c3c 100644--- a/plugins/sandbox-wsl/README.md+++ b/plugins/sandbox-wsl/README.md@@ -1,4 +1,4 @@-# @prismshadow/penguin-plugin-sandbox-wsl+# @lmliheng/penguin-plugin-sandbox-wslA Windows sandbox backend for Adelie. Each agent command runs in a dedicated WSL2 distro (Ubuntu by default), as an unprivileged account, under [bubblewrap](https://github.com/containers/bubblewrap).diff --git a/plugins/sandbox-wsl/package.json b/plugins/sandbox-wsl/package.jsonindex 183debe0..9454a694 100644--- a/plugins/sandbox-wsl/package.json+++ b/plugins/sandbox-wsl/package.json@@ -1,5 +1,5 @@{- "name": "@prismshadow/penguin-plugin-sandbox-wsl",+ "name": "@lmliheng/penguin-plugin-sandbox-wsl","version": "0.2.2","private": true,"type": "module",@@ -25,7 +25,7 @@"build": "node ../../scripts/gen-ifaces.mjs --project tsconfig.json --out ifaces.json && tsup"},"devDependencies": {- "@prismshadow/penguin-core": "workspace:*",+ "@lmliheng/penguin-core": "workspace:*","tsup": "^8.3.0","vitest": "^3.2.6"}diff --git a/plugins/sandbox-wsl/src/index.ts b/plugins/sandbox-wsl/src/index.tsindex 6ba8acdf..09f89823 100644--- a/plugins/sandbox-wsl/src/index.ts+++ b/plugins/sandbox-wsl/src/index.ts@@ -1,11 +1,11 @@/**- * @prismshadow/penguin-plugin-sandbox-wsl — a Windows sandbox backend that confines in a Linux+ * @lmliheng/penguin-plugin-sandbox-wsl — a Windows sandbox backend that confines in a Linux* distro: each agent command runs in a dedicated WSL2 distro, as an unprivileged account, under* bubblewrap.** A PLUGIN PACKAGE, not part of the platform: a Project asks for it on the Plugins page and the* harness resolves it from the installation. It compiles against the- * `@prismshadow/penguin-core/plugin` surface and has no runtime dependency on the harness.+ * `@lmliheng/penguin-core/plugin` surface and has no runtime dependency on the harness.** fs-write → bwrap binds the Workspace (read-write or read-only) at its /mnt path; the* distro is read-only and every other Windows drive is hidden@@ -29,14 +29,14 @@* the card while it runs.*/import { fileURLToPath } from "node:url";-import { Bind, Component, Interface, Use } from "@prismshadow/penguin-core/plugin";+import { Bind, Component, Interface, Use } from "@lmliheng/penguin-core/plugin";import type {ConfinedArgv,Plugin,SandboxPolicy,SandboxProvider,SandboxProviderSource,-} from "@prismshadow/penguin-core/plugin";+} from "@lmliheng/penguin-core/plugin";import { readHost, readState } from "./host.js";import {BASE_TITLES,diff --git a/plugins/sandbox-wsl/src/profile.ts b/plugins/sandbox-wsl/src/profile.tsindex 9a4adc0e..7794fbe8 100644--- a/plugins/sandbox-wsl/src/profile.ts+++ b/plugins/sandbox-wsl/src/profile.ts@@ -38,7 +38,7 @@* distro uses one of them, not both.*/import path from "node:path";-import type { SandboxPolicy } from "@prismshadow/penguin-core/plugin";+import type { SandboxPolicy } from "@lmliheng/penguin-core/plugin";/** Where WSL mounts the Windows drives inside a distro (its default automount root). */export const MOUNT_ROOT = "/mnt";diff --git a/plugins/sandbox-wsl/src/tasks.ts b/plugins/sandbox-wsl/src/tasks.tsindex cf2b16d9..cfa7db5e 100644--- a/plugins/sandbox-wsl/src/tasks.ts+++ b/plugins/sandbox-wsl/src/tasks.ts@@ -8,7 +8,7 @@ import { createHash } from "node:crypto";import fs from "node:fs";import path from "node:path";import { fileURLToPath } from "node:url";-import type { SandboxPolicy } from "@prismshadow/penguin-core/plugin";+import type { SandboxPolicy } from "@lmliheng/penguin-core/plugin";import {localDrives,pathKind,diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 310d6e2d..7736ba8f 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -15,10 +15,10 @@ importers:.:devDependencies:- '@prismshadow/penguin-cli':+ '@lmliheng/penguin-cli':specifier: workspace:*version: file:packages/cli([email protected])- '@prismshadow/penguin-core':+ '@lmliheng/penguin-core':specifier: workspace:*version: file:packages/core([email protected])([email protected])'@types/node':@@ -75,6 +75,12 @@ importers:'@lmliheng/model-development':specifier: workspace:*version: link:../../plugins/model-development+ '@lmliheng/penguin-core':+ specifier: workspace:*+ version: link:../core+ '@lmliheng/penguin-server':+ specifier: workspace:*+ version: file:packages/server([email protected])([email protected])'@lmliheng/skill-porting':specifier: workspace:*version: link:../../plugins/skill-porting@@ -96,12 +102,6 @@ importers:'@prismshadow/agenthub':specifier: ^0.4.15- '@prismshadow/penguin-core':- specifier: workspace:*- version: link:../core- '@prismshadow/penguin-server':- specifier: workspace:*- version: file:packages/server([email protected])([email protected])commander:specifier: ^13.0.0version: 13.1.0@@ -261,13 +261,13 @@ importers:specifier: workspace:*version: link:../../plugins/use-firecrawldevDependencies:- '@prismshadow/penguin-cli':+ '@lmliheng/penguin-cli':specifier: workspace:*version: file:packages/cli([email protected])- '@prismshadow/penguin-core':+ '@lmliheng/penguin-core':specifier: workspace:*version: file:packages/core([email protected])([email protected])- '@prismshadow/penguin-server':+ '@lmliheng/penguin-server':specifier: workspace:*version: file:packages/server([email protected])'@types/node':@@ -343,7 +343,7 @@ importers:packages/hmr:dependencies:- '@prismshadow/penguin-core':+ '@lmliheng/penguin-core':specifier: workspace:*version: file:packages/core([email protected])([email protected])devDependencies:@@ -362,7 +362,7 @@ importers:'@larksuiteoapi/node-sdk':specifier: ^1.73.0- '@prismshadow/penguin-core':+ '@lmliheng/penguin-core':specifier: workspace:*version: file:packages/core([email protected])([email protected])'@xterm/headless':@@ -408,7 +408,7 @@ importers:specifier: ^2.5.0version: 2.9.0devDependencies:- '@prismshadow/penguin-hmr':+ '@lmliheng/penguin-hmr':specifier: workspace:*version: file:packages/hmr([email protected])([email protected])'@types/mdast':@@ -502,7 +502,7 @@ importers:packages/ui-gallery:dependencies:- '@prismshadow/penguin-ui':+ '@lmliheng/penguin-ui':specifier: workspace:*version: link:../uireact:@@ -512,15 +512,15 @@ importers:specifier: ^19.1.0version: 19.2.7([email protected])devDependencies:- '@playwright/test':- specifier: ^1.61.1- version: 1.61.1- '@prismshadow/penguin-core':+ '@lmliheng/penguin-core':specifier: workspace:*version: file:packages/core([email protected])([email protected])- '@prismshadow/penguin-web':+ '@lmliheng/penguin-web':specifier: workspace:*version: link:../web+ '@playwright/test':+ specifier: ^1.61.1+ version: 1.61.1'@tailwindcss/vite':specifier: ^4.1.0version: 4.3.2([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))@@ -551,10 +551,10 @@ importers:packages/web:dependencies:- '@prismshadow/penguin-core':+ '@lmliheng/penguin-core':specifier: workspace:*version: file:packages/core([email protected])([email protected])- '@prismshadow/penguin-ui':+ '@lmliheng/penguin-ui':specifier: workspace:*version: link:../ui'@xterm/addon-clipboard':@@ -591,12 +591,12 @@ importers:specifier: ^5.0.15version: 5.0.15(@types/[email protected])([email protected])devDependencies:+ '@lmliheng/penguin-server':+ specifier: workspace:*+ version: file:packages/server([email protected])'@playwright/test':specifier: ^1.61.1version: 1.61.1- '@prismshadow/penguin-server':- specifier: workspace:*- version: file:packages/server([email protected])'@tailwindcss/vite':specifier: ^4.1.0version: 4.3.2([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))@@ -648,7 +648,7 @@ importers:plugins/sandbox-bwrap:devDependencies:- '@prismshadow/penguin-core':+ '@lmliheng/penguin-core':specifier: workspace:*version: file:packages/core([email protected])([email protected])tsup:@@ -676,7 +676,7 @@ importers:'@deepseek-ai/dsh-sandbox':specifier: 0.1.0-rc.7version: 0.1.0-rc.7(@deepseek-ai/[email protected])(@deepseek-ai/[email protected](@deepseek-ai/[email protected]))(@deepseek-ai/[email protected](@deepseek-ai/[email protected])(@deepseek-ai/[email protected](@deepseek-ai/[email protected])(@deepseek-ai/[email protected](@deepseek-ai/[email protected])(@deepseek-ai/[email protected](@deepseek-ai/[email protected])))(@deepseek-ai/[email protected](@deepseek-ai/[email protected])))(@deepseek-ai/[email protected](@deepseek-ai/[email protected])(@deepseek-ai/[email protected](@deepseek-ai/[email protected])))(@deepseek-ai/[email protected](@deepseek-ai/[email protected]))(@deepseek-ai/[email protected](@deepseek-ai/[email protected])(@deepseek-ai/[email protected](@deepseek-ai/[email protected]))))(@deepseek-ai/[email protected](fbdb1d988541b64ff002d18c4ded7293))- '@prismshadow/penguin-core':+ '@lmliheng/penguin-core':specifier: workspace:*version: file:packages/core([email protected])([email protected])tsup:@@ -688,7 +688,7 @@ importers:plugins/sandbox-seatbelt:devDependencies:- '@prismshadow/penguin-core':+ '@lmliheng/penguin-core':specifier: workspace:*version: file:packages/core([email protected])([email protected])tsup:@@ -700,7 +700,7 @@ importers:plugins/sandbox-wsl:devDependencies:- '@prismshadow/penguin-core':+ '@lmliheng/penguin-core':specifier: workspace:*version: file:packages/core([email protected])([email protected])tsup:@@ -1438,6 +1438,22 @@ packages:'@lmliheng/model-development@file:plugins/model-development':resolution: {directory: plugins/model-development, type: directory}+ '@lmliheng/penguin-cli@file:packages/cli':+ resolution: {directory: packages/cli, type: directory}+ engines: {node: '>=24'}+ hasBin: true++ '@lmliheng/penguin-core@file:packages/core':+ resolution: {directory: packages/core, type: directory}+ engines: {node: '>=24'}++ '@lmliheng/penguin-hmr@file:packages/hmr':+ resolution: {directory: packages/hmr, type: directory}++ '@lmliheng/penguin-server@file:packages/server':+ resolution: {directory: packages/server, type: directory}+ engines: {node: '>=24'}+'@lmliheng/skill-porting@file:plugins/skill-porting':resolution: {directory: plugins/skill-porting, type: directory}@@ -1642,22 +1658,6 @@ packages:'@prismshadow/[email protected]':resolution: {integrity: sha512-4vWn+R8ck1ByNnljo1HS4r4s7LZRot9oNmBAduIgiQMdZyZrIEY1C23DVlMSFyCgzcxu2uuonFivPzETcKbEzA==}- '@prismshadow/penguin-cli@file:packages/cli':- resolution: {directory: packages/cli, type: directory}- engines: {node: '>=24'}- hasBin: true-- '@prismshadow/penguin-core@file:packages/core':- resolution: {directory: packages/core, type: directory}- engines: {node: '>=24'}-- '@prismshadow/penguin-hmr@file:packages/hmr':- resolution: {directory: packages/hmr, type: directory}-- '@prismshadow/penguin-server@file:packages/server':- resolution: {directory: packages/server, type: directory}- engines: {node: '>=24'}-'@protobufjs/[email protected]':resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==}@@ -5509,6 +5509,162 @@ snapshots:'@lmliheng/model-development@file:plugins/model-development': {}+ '@lmliheng/penguin-cli@file:packages/cli([email protected])':+ dependencies:+ '@lmliheng/agent-company': file:plugins/agent-company+ '@lmliheng/agent-development': file:plugins/agent-development+ '@lmliheng/agent-tuning': file:plugins/agent-tuning+ '@lmliheng/browser-automation': file:plugins/browser-automation+ '@lmliheng/continual-learning': file:plugins/continual-learning+ '@lmliheng/data-analysis': file:plugins/data-analysis+ '@lmliheng/goal': file:plugins/goal+ '@lmliheng/humanizer': file:plugins/humanizer+ '@lmliheng/model-development': file:plugins/model-development+ '@lmliheng/penguin-core': file:packages/core([email protected])([email protected])+ '@lmliheng/penguin-server': file:packages/server([email protected])+ '@lmliheng/skill-porting': file:plugins/skill-porting+ '@lmliheng/software-development': file:plugins/software-development+ '@lmliheng/use-bento-slides': file:plugins/use-bento-slides+ '@lmliheng/use-claude-code': file:plugins/use-claude-code+ '@lmliheng/use-firecrawl': file:plugins/use-firecrawl+ '@modelcontextprotocol/client': 2.0.0+ '@prismshadow/agenthub': 0.4.15([email protected])([email protected])+ commander: 13.1.0+ dotenv: 17.4.2+ smol-toml: 1.6.1+ yaml: 2.9.0+ transitivePeerDependencies:+ - '@modelcontextprotocol/sdk'+ - bufferutil+ - debug+ - supports-color+ - utf-8-validate+ - ws+ - zod++ '@lmliheng/penguin-core@file:packages/core([email protected])([email protected])':+ dependencies:+ '@lmliheng/agent-company': file:plugins/agent-company+ '@lmliheng/agent-development': file:plugins/agent-development+ '@lmliheng/agent-tuning': file:plugins/agent-tuning+ '@lmliheng/browser-automation': file:plugins/browser-automation+ '@lmliheng/continual-learning': file:plugins/continual-learning+ '@lmliheng/data-analysis': file:plugins/data-analysis+ '@lmliheng/goal': file:plugins/goal+ '@lmliheng/humanizer': file:plugins/humanizer+ '@lmliheng/model-development': file:plugins/model-development+ '@lmliheng/skill-porting': file:plugins/skill-porting+ '@lmliheng/software-development': file:plugins/software-development+ '@lmliheng/use-bento-slides': file:plugins/use-bento-slides+ '@lmliheng/use-claude-code': file:plugins/use-claude-code+ '@lmliheng/use-firecrawl': file:plugins/use-firecrawl+ '@modelcontextprotocol/client': 2.0.0+ '@prismshadow/agenthub': 0.4.15([email protected])([email protected])+ arktype: 2.2.3+ smol-toml: 1.6.1+ yaml: 2.9.0+ transitivePeerDependencies:+ - '@modelcontextprotocol/sdk'+ - bufferutil+ - supports-color+ - utf-8-validate+ - ws+ - zod++ '@lmliheng/penguin-core@file:packages/core([email protected])([email protected])([email protected])':+ dependencies:+ '@lmliheng/agent-company': file:plugins/agent-company+ '@lmliheng/agent-development': file:plugins/agent-development+ '@lmliheng/agent-tuning': file:plugins/agent-tuning+ '@lmliheng/browser-automation': file:plugins/browser-automation+ '@lmliheng/continual-learning': file:plugins/continual-learning+ '@lmliheng/data-analysis': file:plugins/data-analysis+ '@lmliheng/goal': file:plugins/goal+ '@lmliheng/humanizer': file:plugins/humanizer+ '@lmliheng/model-development': file:plugins/model-development+ '@lmliheng/skill-porting': file:plugins/skill-porting+ '@lmliheng/software-development': file:plugins/software-development+ '@lmliheng/use-bento-slides': file:plugins/use-bento-slides+ '@lmliheng/use-claude-code': file:plugins/use-claude-code+ '@lmliheng/use-firecrawl': file:plugins/use-firecrawl+ '@modelcontextprotocol/client': 2.0.0+ arktype: 2.2.3+ smol-toml: 1.6.1+ yaml: 2.9.0+ transitivePeerDependencies:+ - '@modelcontextprotocol/sdk'+ - bufferutil+ - supports-color+ - utf-8-validate+ - ws+ - zod++ '@lmliheng/penguin-hmr@file:packages/hmr([email protected])([email protected])':+ dependencies:+ '@lmliheng/penguin-core': file:packages/core([email protected])([email protected])+ transitivePeerDependencies:+ - '@modelcontextprotocol/sdk'+ - bufferutil+ - supports-color+ - utf-8-validate+ - ws+ - zod++ '@lmliheng/penguin-server@file:packages/server([email protected])':+ dependencies:+ '@hono/node-server': 2.0.12([email protected])+ '@lmliheng/penguin-core': file:packages/core([email protected])([email protected])+ '@xterm/headless': 5.5.0+ dotenv: 17.4.2+ fflate: 0.8.3+ hono: 4.12.34+ node-pty: 1.1.0+ remark-gfm: 4.0.1([email protected])+ remark-parse: 11.0.0([email protected])+ smol-toml: 1.6.1+ tar: 7.5.22+ typescript: 5.9.3+ undici: 7.29.0+ unified: 11.0.5+ ws: 8.21.0+ yaml: 2.9.0+ transitivePeerDependencies:+ - '@modelcontextprotocol/sdk'+ - bufferutil+ - debug+ - supports-color+ - utf-8-validate+ - zod++ '@lmliheng/penguin-server@file:packages/server([email protected])([email protected])':+ dependencies:+ '@hono/node-server': 2.0.12([email protected])+ '@lmliheng/penguin-core': file:packages/core([email protected])([email protected])([email protected])+ '@xterm/headless': 5.5.0+ dotenv: 17.4.2+ fflate: 0.8.3+ hono: 4.12.34+ node-pty: 1.1.0+ remark-gfm: 4.0.1([email protected])+ remark-parse: 11.0.0([email protected])+ smol-toml: 1.6.1+ tar: 7.5.22+ typescript: 5.9.3+ undici: 7.29.0+ unified: 11.0.5+ ws: 8.21.0+ yaml: 2.9.0+ transitivePeerDependencies:+ - '@modelcontextprotocol/sdk'+ - bufferutil+ - debug+ - supports-color+ - utf-8-validate+ - zod+'@lmliheng/skill-porting@file:plugins/skill-porting': {}'@lmliheng/software-development@file:plugins/software-development': {}@@ -5680,162 +5836,6 @@ snapshots:- ws- zod- '@prismshadow/penguin-cli@file:packages/cli([email protected])':- dependencies:- '@lmliheng/agent-company': file:plugins/agent-company- '@lmliheng/agent-development': file:plugins/agent-development- '@lmliheng/agent-tuning': file:plugins/agent-tuning- '@lmliheng/browser-automation': file:plugins/browser-automation- '@lmliheng/continual-learning': file:plugins/continual-learning- '@lmliheng/data-analysis': file:plugins/data-analysis- '@lmliheng/goal': file:plugins/goal- '@lmliheng/humanizer': file:plugins/humanizer- '@lmliheng/model-development': file:plugins/model-development- '@lmliheng/skill-porting': file:plugins/skill-porting- '@lmliheng/software-development': file:plugins/software-development- '@lmliheng/use-bento-slides': file:plugins/use-bento-slides- '@lmliheng/use-claude-code': file:plugins/use-claude-code- '@lmliheng/use-firecrawl': file:plugins/use-firecrawl- '@modelcontextprotocol/client': 2.0.0- '@prismshadow/agenthub': 0.4.15([email protected])([email protected])- '@prismshadow/penguin-core': file:packages/core([email protected])([email protected])- '@prismshadow/penguin-server': file:packages/server([email protected])- commander: 13.1.0- dotenv: 17.4.2- smol-toml: 1.6.1- yaml: 2.9.0- transitivePeerDependencies:- - '@modelcontextprotocol/sdk'- - bufferutil- - debug- - supports-color- - utf-8-validate- - ws- - zod-- '@prismshadow/penguin-core@file:packages/core([email protected])([email protected])':- dependencies:- '@lmliheng/agent-company': file:plugins/agent-company- '@lmliheng/agent-development': file:plugins/agent-development- '@lmliheng/agent-tuning': file:plugins/agent-tuning- '@lmliheng/browser-automation': file:plugins/browser-automation- '@lmliheng/continual-learning': file:plugins/continual-learning- '@lmliheng/data-analysis': file:plugins/data-analysis- '@lmliheng/goal': file:plugins/goal- '@lmliheng/humanizer': file:plugins/humanizer- '@lmliheng/model-development': file:plugins/model-development- '@lmliheng/skill-porting': file:plugins/skill-porting- '@lmliheng/software-development': file:plugins/software-development- '@lmliheng/use-bento-slides': file:plugins/use-bento-slides- '@lmliheng/use-claude-code': file:plugins/use-claude-code- '@lmliheng/use-firecrawl': file:plugins/use-firecrawl- '@modelcontextprotocol/client': 2.0.0- '@prismshadow/agenthub': 0.4.15([email protected])([email protected])- arktype: 2.2.3- smol-toml: 1.6.1- yaml: 2.9.0- transitivePeerDependencies:- - '@modelcontextprotocol/sdk'- - bufferutil- - supports-color- - utf-8-validate- - ws- - zod-- '@prismshadow/penguin-core@file:packages/core([email protected])([email protected])([email protected])':- dependencies:- '@lmliheng/agent-company': file:plugins/agent-company- '@lmliheng/agent-development': file:plugins/agent-development- '@lmliheng/agent-tuning': file:plugins/agent-tuning- '@lmliheng/browser-automation': file:plugins/browser-automation- '@lmliheng/continual-learning': file:plugins/continual-learning- '@lmliheng/data-analysis': file:plugins/data-analysis- '@lmliheng/goal': file:plugins/goal- '@lmliheng/humanizer': file:plugins/humanizer- '@lmliheng/model-development': file:plugins/model-development- '@lmliheng/skill-porting': file:plugins/skill-porting- '@lmliheng/software-development': file:plugins/software-development- '@lmliheng/use-bento-slides': file:plugins/use-bento-slides- '@lmliheng/use-claude-code': file:plugins/use-claude-code- '@lmliheng/use-firecrawl': file:plugins/use-firecrawl- '@modelcontextprotocol/client': 2.0.0- arktype: 2.2.3- smol-toml: 1.6.1- yaml: 2.9.0- transitivePeerDependencies:- - '@modelcontextprotocol/sdk'- - bufferutil- - supports-color- - utf-8-validate- - ws- - zod-- '@prismshadow/penguin-hmr@file:packages/hmr([email protected])([email protected])':- dependencies:- '@prismshadow/penguin-core': file:packages/core([email protected])([email protected])- transitivePeerDependencies:- - '@modelcontextprotocol/sdk'- - bufferutil- - supports-color- - utf-8-validate- - ws- - zod-- '@prismshadow/penguin-server@file:packages/server([email protected])':- dependencies:- '@hono/node-server': 2.0.12([email protected])- '@prismshadow/penguin-core': file:packages/core([email protected])([email protected])- '@xterm/headless': 5.5.0- dotenv: 17.4.2- fflate: 0.8.3- hono: 4.12.34- node-pty: 1.1.0- remark-gfm: 4.0.1([email protected])- remark-parse: 11.0.0([email protected])- smol-toml: 1.6.1- tar: 7.5.22- typescript: 5.9.3- undici: 7.29.0- unified: 11.0.5- ws: 8.21.0- yaml: 2.9.0- transitivePeerDependencies:- - '@modelcontextprotocol/sdk'- - bufferutil- - debug- - supports-color- - utf-8-validate- - zod-- '@prismshadow/penguin-server@file:packages/server([email protected])([email protected])':- dependencies:- '@hono/node-server': 2.0.12([email protected])- '@prismshadow/penguin-core': file:packages/core([email protected])([email protected])([email protected])- '@xterm/headless': 5.5.0- dotenv: 17.4.2- fflate: 0.8.3- hono: 4.12.34- node-pty: 1.1.0- remark-gfm: 4.0.1([email protected])- remark-parse: 11.0.0([email protected])- smol-toml: 1.6.1- tar: 7.5.22- typescript: 5.9.3- undici: 7.29.0- unified: 11.0.5- ws: 8.21.0- yaml: 2.9.0- transitivePeerDependencies:- - '@modelcontextprotocol/sdk'- - bufferutil- - debug- - supports-color- - utf-8-validate- - zod-'@protobufjs/[email protected]': {}'@protobufjs/[email protected]': {}diff --git a/scripts/build-plugins.mjs b/scripts/build-plugins.mjsindex 01680f61..f3f8c3df 100644--- a/scripts/build-plugins.mjs+++ b/scripts/build-plugins.mjs@@ -9,7 +9,7 @@* Nothing about a package is rewritten. Its `package.json`, its `exports`, its `dist/` and its* `README.md` reach the target as the package's own build produced them; a dependency it* declares is installed beside it the way npm installs it anywhere. The SDK's runtime is not- * among those dependencies — a plugin compiles against `@prismshadow/penguin-core`'s types+ * among those dependencies — a plugin compiles against `@lmliheng/penguin-core`'s types* (a devDependency) and shares the host's copy at run time.** A builtin plugin bundles what it runs. Every file in the prefix is a blob a push carriesdiff --git a/scripts/check-publishable.mjs b/scripts/check-publishable.mjsindex fb0e1a88..f7970b4f 100755--- a/scripts/check-publishable.mjs+++ b/scripts/check-publishable.mjs@@ -9,7 +9,7 @@* `devDependencies` — bundling is a build-time input, and `devDependencies` are not rewritten* into the published manifest.*- * This is the shape that broke the 0.2.12 release: `packages/server` took `@prismshadow/penguin-hmr`+ * This is the shape that broke the 0.2.12 release: `packages/server` took `@lmliheng/penguin-hmr`* — private, and bundled — as a runtime dependency.** With `--registry`, it additionally asks npm which of the packages a release publishes do not@@ -76,7 +76,7 @@ if (!process.argv.includes("--registry")) process.exit(0);// Everything the release publishes: the non-private packages above, plus every plugin — the// release loops `plugins/*/` and publishes each as `@lmliheng/<dir>`.// Read each plugin's own name and private flag rather than deriving a name from its directory:-// `plugins/sandbox-*` are `@prismshadow/penguin-plugin-sandbox-*` and private, so a name built+// `plugins/sandbox-*` are `@lmliheng/penguin-plugin-sandbox-*` and private, so a name built// from the directory names a package that does not exist and never will.const pluginNames = [];for (const entry of readdirSync(path.join(root, "plugins"), { withFileTypes: true })) {diff --git a/scripts/deploy.mjs b/scripts/deploy.mjsindex d3a292b6..278e9314 100644--- a/scripts/deploy.mjs+++ b/scripts/deploy.mjs@@ -189,7 +189,7 @@ async function compileEntry(entry, outfile) {logLevel: "silent",banner: { js: ESM_CJS_BANNER },alias: {- "@prismshadow/penguin-core/kernel": require.resolve("@prismshadow/penguin-core/kernel"),+ "@lmliheng/penguin-core/kernel": require.resolve("@lmliheng/penguin-core/kernel"),},// The pushed bundle lands under `<root>/hmr/store/`, outside any checkout, so its own// revision has to be inlined here or it can never be recovered: `penguin version` from@@ -293,7 +293,7 @@ async function main() {log("reusing the existing web dist");} else {log("building the web dist…");- execFileSync("pnpm", ["--filter", "@prismshadow/penguin-web", "build"], {+ execFileSync("pnpm", ["--filter", "@lmliheng/penguin-web", "build"], {cwd: ROOT,stdio: "inherit",});diff --git a/scripts/dev-prebuild.mjs b/scripts/dev-prebuild.mjsindex 1023145f..2025cd70 100644--- a/scripts/dev-prebuild.mjs+++ b/scripts/dev-prebuild.mjs@@ -219,7 +219,7 @@ try {// core, and core has to be rebuilt first for it to inline the current one.const res = spawnSync("pnpm",- ["--filter", "@prismshadow/penguin-core", "--filter", "@prismshadow/penguin-cli", "build"],+ ["--filter", "@lmliheng/penguin-core", "--filter", "@lmliheng/penguin-cli", "build"],// shell on Windows: pnpm is a .cmd shim there (see ensureInstalled).{ cwd: ROOT, stdio: "inherit", shell: process.platform === "win32" },);diff --git a/scripts/ui-migrate.json b/scripts/ui-migrate.jsonindex c9277260..1c8248da 100644--- a/scripts/ui-migrate.json+++ b/scripts/ui-migrate.json@@ -5,7 +5,7 @@"packages/web/src/lib/icon-scale": [{"owner": "WP-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/icon-scale.ts","names": ["ICON_SIZE", "ICON_GAP"]}@@ -13,7 +13,7 @@"packages/web/src/components/ui/glyph-icon": [{"owner": "WP-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/icons/glyph-icon/glyph-icon.tsx","names": ["GlyphIcon"]}@@ -21,7 +21,7 @@"packages/web/src/components/ui/chevron": [{"owner": "WP-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/icons/chevron/chevron.tsx","names": ["Chevron"]}@@ -29,7 +29,7 @@"packages/web/src/components/ui/icons": [{"owner": "WP-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/icons/marks/marks.tsx","names": ["ChevronDown",@@ -42,13 +42,13 @@},{"owner": "WP-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/actions/close-button/close-button.tsx","names": ["CloseButton"]},{"owner": "WP-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/icons/icons.ts","names": ["INFO_ICON→ICONS.info",@@ -99,7 +99,7 @@"packages/web/src/components/ui/group-list": [{"owner": "WP-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/icons/icons.ts","names": ["FOLDER_ICON→ICONS.folder",@@ -114,7 +114,7 @@"packages/web/src/components/ui/session-row-menu": [{"owner": "WP-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/icons/icons.ts","names": ["PIN_ICON→ICONS.pin",@@ -129,7 +129,7 @@"packages/web/src/components/ui/agent-avatar": [{"owner": "WP-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/icons/avatars/agent-avatar.tsx","names": ["AgentAvatar"]}@@ -137,7 +137,7 @@"packages/web/src/components/ui/user-avatar": [{"owner": "WP-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/icons/avatars/user-avatar.tsx","names": ["UserAvatar", "USER_AVATAR_SIZE"]}@@ -145,7 +145,7 @@"packages/web/src/lib/avatar": [{"owner": "WP-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/icons/avatars/avatar.ts","names": ["avatarHue", "avatarTile", "avatarInitial"]}@@ -153,7 +153,7 @@"packages/web/src/components/ui/provider-logo": [{"owner": "WP-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/icons/logos/provider-logo.tsx","names": ["ProviderLogo"]}@@ -161,7 +161,7 @@"packages/web/src/components/ui/penguin-logo": [{"owner": "WP-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/icons/logos/penguin-logo.tsx","names": ["PenguinLogo"]}@@ -169,7 +169,7 @@"packages/web/src/components/ui/status-icon": [{"owner": "WP-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/icons/status-icon/status-icon.tsx","names": ["StatusIcon", "RunState"]}@@ -177,7 +177,7 @@"packages/web/src/components/ui/session-activity-icon": [{"owner": "WP-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/icons/activity-icon/activity-icon.tsx","names": ["SessionActivityIcon→ActivityIcon", "BackgroundTasksMark", "ScheduleMark"]},@@ -191,7 +191,7 @@"packages/web/src/components/ui/update-dot": [{"owner": "WP-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/icons/update-dot/update-dot.tsx","names": ["UpdateDot", "UpdatePill", "UPDATE_DOT_INLINE", "UpdateDotSize"]}@@ -199,13 +199,13 @@"packages/web/src/components/ui/badge": [{"owner": "WP-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/feedback/badge/badge.tsx","names": ["Badge"]},{"owner": "WP-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/tokens.ts","names": ["BadgeTone→ToneName"]},@@ -219,7 +219,7 @@"packages/web/src/components/ui/skeleton": [{"owner": "WP-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/feedback/skeleton/skeleton.tsx","names": ["Skeleton", "SkeletonList", "SkeletonCard"]}@@ -227,7 +227,7 @@"packages/web/src/components/ui/empty-state": [{"owner": "WP-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/feedback/empty-state/empty-state.tsx","names": ["EmptyState", "SettingsEmpty"]}@@ -235,7 +235,7 @@"packages/web/src/components/ui/button": [{"owner": "WP-C",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/actions/button/button.tsx","names": ["Button", "ButtonProps", "labelButtonClass→buttonClass"]}@@ -243,7 +243,7 @@"packages/web/src/components/ui/copy-button": [{"owner": "WP-C",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/actions/copy-button/copy-button.tsx","names": ["CopyButton", "useCopied", "CopiedStatus", "CopyCheckGlyph"]},@@ -257,7 +257,7 @@"packages/web/src/components/ui/hidden-file-input": [{"owner": "WP-C",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/actions/hidden-file-input/hidden-file-input.tsx","names": ["HiddenFileInput"]}@@ -267,13 +267,13 @@"packages/web/src/components/ui/field": [{"owner": "W2-0",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/menu-panel/menu-panel.tsx","names": ["menuPanelClass", "menuRowClass", "menuRowTone", "ChoiceCheck"]},{"owner": "W2-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/forms/field/field.tsx","names": ["Field", "FieldLabel", "FieldHint", "FieldError", "RequiredMark", "controlBase"]}@@ -281,7 +281,7 @@"packages/web/src/components/ui/input": [{"owner": "W2-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/forms/input/input.tsx","names": ["Input",@@ -300,7 +300,7 @@"packages/web/src/components/ui/password-input": [{"owner": "W2-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/forms/password-input/password-input.tsx","names": ["PasswordInput"]}@@ -308,7 +308,7 @@"packages/web/src/components/ui/use-portal-panel": [{"owner": "W2-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/portal-panel/use-portal-panel.ts","names": ["usePortalPanel", "PortalPanelPosition"]}@@ -316,7 +316,7 @@"packages/web/src/lib/context-menu": [{"owner": "W2-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/portal-panel/use-portal-panel.ts","names": ["scrollMovesAnchor"]}@@ -324,7 +324,7 @@"packages/web/src/components/ui/info-popover": [{"owner": "W2-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/info-popover/info-popover.tsx","names": ["InfoPopover"]}@@ -332,7 +332,7 @@"packages/web/src/components/ui/help-fold": [{"owner": "W2-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/info-popover/help-fold.tsx","names": ["HelpFold"]}@@ -340,7 +340,7 @@"packages/web/src/components/ui/select": [{"owner": "W2-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/forms/select/select.tsx","names": ["Select", "SelectProps"]}@@ -348,7 +348,7 @@"packages/web/src/components/ui/option-menu": [{"owner": "W2-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/forms/select/option-menu.tsx","names": ["OptionMenu", "OptionMenuChoice", "rowDescClass"]}@@ -356,7 +356,7 @@"packages/web/src/features/chat/model-select": [{"owner": "W2-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/forms/picker-list/picker-list.tsx","names": ["PickerList"]}@@ -364,7 +364,7 @@"packages/web/src/components/ui/switch": [{"owner": "W2-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/forms/switch/switch.tsx","names": ["Switch", "SwitchProps"]}@@ -372,7 +372,7 @@"packages/web/src/components/ui/segmented": [{"owner": "W2-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/forms/segmented/segmented.tsx","names": ["Segmented"]}@@ -380,7 +380,7 @@"packages/web/src/features/settings/setting-row": [{"owner": "W2-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/forms/pref-row/pref-row.tsx","names": ["PrefRow"]}@@ -388,7 +388,7 @@"packages/web/src/features/settings/section-shell": [{"owner": "W2-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/forms/pref-row/pref-row.tsx","names": ["SectionShell→SettingsSection"]}@@ -398,13 +398,13 @@"packages/web/src/components/ui/modal": [{"owner": "W3-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/modal/modal.tsx","names": ["Modal", "ModalProps"]},{"owner": "W3-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/esc-layers/esc-layers.ts","names": ["pushEscLayer",@@ -419,7 +419,7 @@"packages/web/src/components/ui/confirm-modal": [{"owner": "W3-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/confirm-modal/confirm-modal.tsx","names": ["ConfirmModal"]},@@ -433,7 +433,7 @@"packages/web/src/components/ui/paged-dialog": [{"owner": "W3-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/paged-dialog/paged-dialog.tsx","names": ["PagedDialog", "PagedDialogItem", "PagedDialogGroup"]}@@ -441,7 +441,7 @@"packages/web/src/components/ui/drawer": [{"owner": "W3-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/drawer/drawer.tsx","names": ["Drawer", "DrawerProps"]}@@ -449,7 +449,7 @@"packages/web/src/components/ui/sheet": [{"owner": "W3-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/drawer/sheet.tsx","names": ["Sheet", "SheetProps", "SheetSnap"]}@@ -457,7 +457,7 @@"packages/web/src/components/ui/image-zoom": [{"owner": "W3-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/lightbox/lightbox.tsx","names": ["ZoomableImage"]}@@ -465,7 +465,7 @@"packages/web/src/lib/spring": [{"owner": "W3-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/motion/spring.ts","names": ["SPRING_DEFAULT",@@ -481,7 +481,7 @@"packages/web/src/lib/sheet-physics": [{"owner": "W3-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/motion/sheet-physics.ts","names": ["project", "rubberband", "nearestSnap"]}@@ -489,7 +489,7 @@"packages/web/src/components/ui/use-reduced-motion": [{"owner": "W3-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/motion/use-reduced-motion.ts","names": ["usePrefersReducedMotion"]}@@ -497,7 +497,7 @@"packages/web/src/components/ui/dropdown": [{"owner": "W3-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/dropdown/dropdown.tsx","names": ["Dropdown", "DropdownPortal"]}@@ -505,7 +505,7 @@"packages/web/src/components/ui/form-picker": [{"owner": "W3-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/forms/select/form-picker.tsx","names": ["FormPicker"]}@@ -513,7 +513,7 @@"packages/web/src/components/ui/context-menu": [{"owner": "W3-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/portal-panel/use-row-context-menu.ts","names": ["useRowContextMenu", "RowContextMenu", "ContextMenuRowProps"]}@@ -521,7 +521,7 @@"packages/web/src/lib/context-menu": [{"owner": "W3-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/portal-panel/context-menu.ts","names": ["AnchorRect",@@ -548,7 +548,7 @@"packages/web/src/components/ui/tooltip": [{"owner": "W3-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/tooltip/tooltip.tsx","names": ["Tooltip",@@ -574,7 +574,7 @@"packages/web/src/components/ui/toast": [{"owner": "W3-C",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/toaster/toaster.tsx","names": ["Toaster", "toastSuccess", "toastError", "toastInfo", "toastAttention"]}@@ -582,7 +582,7 @@"packages/web/src/components/ui/notice-strip": [{"owner": "W3-C",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/feedback/notice/notice-strip.tsx","names": ["NoticeStrip", "NOTICE_TONE", "NoticeTone"]}@@ -592,7 +592,7 @@"packages/web/src/components/ui/tabs": [{"owner": "W4-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/navigation/tabs/tabs.tsx","names": ["Tabs", "TabItem"]}@@ -600,7 +600,7 @@"packages/web/src/components/ui/group-list": [{"owner": "W4-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/navigation/group-header/group-header.tsx","names": ["GroupHeader", "FolderSection", "MoreRow"]}@@ -608,7 +608,7 @@"packages/web/src/features/ai-create/create-buttons": [{"owner": "W4-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/actions/create-buttons/create-buttons.tsx","names": ["CreateButtons", "CreateButtonsProps"]}@@ -624,7 +624,7 @@"packages/web/src/components/ui/todo-notice": [{"owner": "W4-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/feedback/todo-notice/todo-notice.tsx","names": ["TodoNotice"]}@@ -646,7 +646,7 @@"packages/web/src/features/chat/disclosure-row": [{"owner": "W4-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/layout/disclosure-row/disclosure-row.tsx","names": ["DisclosureRow",@@ -668,7 +668,7 @@"packages/web/src/features/chat/live-duration": [{"owner": "W4-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/feedback/duration-slot/duration-slot.tsx","names": ["LiveDuration", "useElapsedPast"]}@@ -676,7 +676,7 @@"packages/web/src/features/company/shared": [{"owner": "W4-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/data/stat-tile/stat-tile.tsx","names": ["StatTile"]}@@ -684,7 +684,7 @@"packages/web/src/features/company/org-layout": [{"owner": "W4-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/layout/ruled-section/ruled-section.tsx","names": ["OrgSection→RuledSection"]}@@ -694,7 +694,7 @@"packages/web/src/features/chat/md": [{"owner": "W5-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/content/prose/prose.tsx","names": ["Md", "SETTLED_MD_COMPONENTS"]},@@ -708,7 +708,7 @@"packages/web/src/lib/markdown-plugins": [{"owner": "W5-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/content/prose/markdown-plugins.ts","names": ["REMARK_PLUGINS", "REHYPE_PLUGINS", "NO_REHYPE_PLUGINS"]}@@ -716,7 +716,7 @@"packages/web/src/features/chat/code-block": [{"owner": "W5-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/content/code-block/code-block.tsx","names": ["CodeBlock", "CodeSurface"]}@@ -724,7 +724,7 @@"packages/web/src/features/chat/code-languages": [{"owner": "W5-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/content/code-block/code-languages.ts","names": ["languageForExtension",@@ -741,7 +741,7 @@"packages/web/src/features/dock/use-pointer-drag": [{"owner": "W7-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/layout/resize-handle/use-pointer-drag.ts","names": ["usePointerDrag"]}@@ -749,7 +749,7 @@"packages/web/src/lib/file-tree": [{"owner": "W7-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/files/file-tree/tree-rows.ts","names": ["FileTreeRow", "TreeKeyAction", "subtreeEnd", "treeKeyStep"]}@@ -757,7 +757,7 @@"packages/web/src/components/ui/file-tree": [{"owner": "W7-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/files/file-tree/file-tree.tsx","names": ["FileTree", "TreeToggle"]}@@ -765,7 +765,7 @@"packages/web/src/components/ui/file-browser": [{"owner": "W7-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/files/file-browser/file-browser.tsx","names": ["FileBrowser", "FileBrowserPreview", "FileBrowserPreviewKind"]},@@ -779,7 +779,7 @@"packages/web/src/features/chat/workspace-file-menu": [{"owner": "W7-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/files/workspace-file-menu/workspace-file-menu.tsx","names": ["WorkspaceFileMenuRows", "FileMenuTarget"]}@@ -787,7 +787,7 @@"packages/web/src/features/chat/workspace-editor": [{"owner": "W7-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/content/workspace-file-editor/workspace-file-editor.tsx","names": ["WorkspaceFileEditor"]}@@ -795,13 +795,13 @@"packages/web/src/lib/workspace-tree": [{"owner": "W7-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/navigation/breadcrumbs/crumb-fit.ts","names": ["CRUMB_ELLIPSIS", "CrumbLayout", "visibleCrumbSegments", "splitFileName"]},{"owner": "W7-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/layout/resize-handle/resize-handle.tsx","names": ["TREE_DIVIDER_PX→RESIZE_HANDLE_PX"]}@@ -809,7 +809,7 @@"packages/web/src/lib/frontmatter": [{"owner": "W7-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/content/prose/frontmatter.ts","names": ["bodyWithoutFrontmatter"]}@@ -859,7 +859,7 @@"packages/web/src/features/chat/step-banner": [{"owner": "W6-A2",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/chat/step-banner/step-banner.tsx","names": ["StepBanner"]}@@ -867,7 +867,7 @@"packages/web/src/features/chat/approval-buttons": [{"owner": "W6-A2",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/chat/approval-block/approval-block.tsx","names": ["ApprovalButtons"]}@@ -875,7 +875,7 @@"packages/web/src/features/chat/assistant-reply-body": [{"owner": "W6-A1",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/chat/assistant-text/assistant-text.tsx","names": ["AssistantReplyBody→AssistantText"]}@@ -883,7 +883,7 @@"packages/web/src/features/chat/streaming-caret": [{"owner": "W6-A1",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/chat/assistant-text/streaming-caret.tsx","names": ["StreamingCaret"]}@@ -891,7 +891,7 @@"packages/web/src/features/chat/use-stream-reveal": [{"owner": "W6-A1",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/chat/assistant-text/use-stream-reveal.ts","names": ["useStreamReveal"]}@@ -899,7 +899,7 @@"packages/web/src/lib/stream-style": [{"owner": "W6-A1",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/chat/assistant-text/stream-style.ts","names": ["StreamStyle",@@ -913,7 +913,7 @@},{"owner": "W6-A1",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/tokens.ts","names": ["StreamRevealMode→StreamReveal"]}@@ -921,7 +921,7 @@"packages/web/src/features/chat/message-files-card": [{"owner": "W6-A1",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/chat/changes-card/changes-card.tsx","names": ["PathLabel"]}@@ -939,7 +939,7 @@"packages/web/src/features/palette/command-palette": [{"owner": "W8-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/command-palette/command-palette.tsx","names": ["CommandPalette"]}@@ -947,7 +947,7 @@"packages/web/src/lib/command-palette": [{"owner": "W8-B",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/overlays/command-palette/command-palette.tsx","names": ["PaletteAction", "filterPaletteActions"]}@@ -955,7 +955,7 @@"packages/web/src/components/ui/chart": [{"owner": "W8-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/charts/marks/marks.tsx","names": ["ChartArc",@@ -977,13 +977,13 @@},{"owner": "W8-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/charts/marks/timeline-bar.tsx","names": ["TimelineBar"]},{"owner": "W8-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/charts/marks/geom.ts","names": ["BAR_W", "curvePath", "fitBarWidth", "roundCoord"]}@@ -991,7 +991,7 @@"packages/web/src/components/ui/chart/marks": [{"owner": "W8-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/charts/marks/marks.tsx","names": ["ChartPaint",@@ -1016,7 +1016,7 @@"packages/web/src/components/ui/chart/geom": [{"owner": "W8-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/charts/marks/geom.ts","names": ["roundCoord", "curvePath", "BAR_W", "fitBarWidth"]}@@ -1024,7 +1024,7 @@"packages/web/src/components/ui/chart/timeline-bar": [{"owner": "W8-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/charts/marks/timeline-bar.tsx","names": ["TimelineBar"]}@@ -1032,7 +1032,7 @@"packages/web/src/lib/chart-style": [{"owner": "W8-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/charts/chart-style.ts","names": ["ChartCurve",@@ -1049,7 +1049,7 @@"packages/web/src/features/usage/chart-svg": [{"owner": "W8-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/charts/chart-frame/chart-frame.tsx","names": ["LINE_HIT_H", "LineHits", "useChartWidth", "ChartFrame"]}@@ -1057,7 +1057,7 @@"packages/web/src/features/usage/chart-geom": [{"owner": "W8-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/charts/chart-frame/chart-geom.ts","names": ["CHART_H",@@ -1090,7 +1090,7 @@"packages/web/src/components/ui/token-donut": [{"owner": "W8-A",- "target": "@prismshadow/penguin-ui",+ "target": "@lmliheng/penguin-ui","dest": "packages/ui/src/components/charts/token-donut/token-donut.tsx","names": ["TokenDonut"]}diff --git a/scripts/ui-migrate.mjs b/scripts/ui-migrate.mjsindex 8c89712b..e3ac99e0 100644--- a/scripts/ui-migrate.mjs+++ b/scripts/ui-migrate.mjs@@ -1,7 +1,7 @@#!/usr/bin/env node/*** ui-migrate: rewrite the imports of modules that moved out of the Web App into the shared UI- * package (`@prismshadow/penguin-ui`), or into a web module that took part of one over, across+ * package (`@lmliheng/penguin-ui`), or into a web module that took part of one over, across* the Web App and the gallery.** node scripts/ui-migrate.mjs rewrite in place@@ -40,7 +40,7 @@ import { fileURLToPath } from "node:url";const ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");const MAP_FILE = path.join(ROOT, "scripts", "ui-migrate.json");-const PACKAGE = "@prismshadow/penguin-ui";+const PACKAGE = "@lmliheng/penguin-ui";const SCAN_ROOTS = ["packages/web/src","packages/web/test",