Your Pi extensions now have a second host: run them unmodified on DeepSeek Harness #8090
Replies: 3 comments
|
Current install and demo: dsh plugin --profile web add pi2dsh@0.10.0
dsh plugin --profile web add @kassing/pi-visionNo generated host bundle is required. pi2dsh is installed once as the compatibility engine; Pi packages are then added directly from npm and mounted unmodified. The vision example is verified in both CLI and the DSH Web app: a pasted image is admitted through an automatically registered companion route, A second Pi package, Runnable example and screenshots: https://github.com/weijiafu14/pi2dsh/tree/main/examples/vision-bridge |
|
Complementary direction: if you want to stay in Pi and give DeepSeek V4 Pro the official Harness minimal catalog (the model-card eval surface: one-line persona + pi install npm:pi-dsh-minimalpi2dsh is Pi packages → DSH. This one is DSH minimal surface → Pi. Different job. |
|
Update: a provider/OAuth/attachment-heavy Pi package now runs unmodified on DSH too: dsh plugin --profile web add pi2dsh
dsh plugin --profile web add @crazygit/pi-codex-image-gen
# restart, then:
/login openai-codexThe full path is now verified on a real DSH Web session: ChatGPT Plus/Pro OAuth login → Codex model calls The Pi package is unchanged. The host-specific work stays in pi2dsh: provider/model projection, OAuth credential publishing and refresh, tool ABI, attachment persistence, and the DSH browser surface. Runnable example: https://github.com/weijiafu14/pi2dsh/tree/main/examples/codex-image-gen |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
For Pi extension authors: your packages now have a second host.
pi2dsh is a compatibility engine that runs Pi ecosystem packages on DeepSeek Harness as published on npm. No fork, no source modification, and no per-package conversion step.
Installation from the DSH side
Restart DSH and the engine discovers the Pi packages explicitly added to that profile. The engine and each package remain independently upgradeable.
Nothing is required from the Pi package author. The package still sees Pi vocabulary: tools, commands, lifecycle events,
ctx.ui, sessions, model registry, providers, OAuth, subprocesses, attachments, and child-agent creation. pi2dsh maps those calls onto DeepSeek Harness services through one general Host ABI implementation; the core does not contain package-specific branches.A visual example: two ways to give a text-only model eyes
DeepSeek text models do not accept image input, while many coding-agent workflows need to inspect screenshots. pi2dsh automatically creates an image-admission companion for each text-only DSH model route, shown in the model picker as DeepSeek + Vision Bridge:
A user can paste an image into the normal Web composer:
Then a Pi package can handle it in either style:
describe_image, letting the agent decide when to inspect the image and control the prompt, compression, and reasoning depth.Both packages install directly:
dsh plugin --profile web add @kassing/pi-vision # or dsh plugin --profile web add pi-vision-toolHere is the automatic path running in a real DSH Web session: the
pi2dsh:@kassing/pi-visioncontext-injection row carries the visual analysis, and the text-only DeepSeek model answers correctly:Before the request reaches the original text-only adapter, image blocks are removed and only text is forwarded.
The same bridge is used beyond vision: Pi tools, slash commands, skills, event hooks, interactive OAuth flows, model calls, persistent session data, session control, compaction, and subagents run on the corresponding DSH host services.
If you maintain a Pi package, no port is needed. If your users also work in DeepSeek Harness, point them at pi2dsh. Stars, real package reports, and Host API coverage requests are very welcome.
All reactions