{"_id":"@dsh-pi/prompt","name":"@dsh-pi/prompt","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@dsh-pi/prompt","version":"0.1.0","description":"pi-style system prompt for DeepSeek Harness (dsh-pi). A Cordis plugin bundle that replaces the system prompt with pi's minimal-core, tool-listing, guideline style.","type":"module","main":"./index.js","exports":{".":"./index.js"},"keywords":["dsh","dsh-plugin","deepseek-harness","pi","prompt"],"license":"MIT","dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"repository":{"type":"git","url":"git+https://github.com/AndPuQing/dsh-pi.git"},"homepage":"https://github.com/AndPuQing/dsh-pi","_id":"@dsh-pi/prompt@0.1.0","gitHead":"d6c7804cbc0df372c9db85aadd95b6abc5cf42b7","bugs":{"url":"https://github.com/AndPuQing/dsh-pi/issues"},"_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-s5z5gsqjVkk2jchyta4D4jhI4fpq8UFzhzF1CbbtoMtflM7rGGUcWWrgH+v03CBXL4A+kIJ+jeO7AE8NuwxY0Q==","shasum":"e86ba14dec45019a11afd2f41e905dd1474ff1f8","tarball":"https://registry.npmjs.org/@dsh-pi/prompt/-/prompt-0.1.0.tgz","fileCount":5,"unpackedSize":8001,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCID0WzmAeOYyLfDFNqUNcj58r5yqZJOTtfzqT69eRq9OYAiAuDD9HGgUun3KVFOlGgpHTo8WuIwl1H3PiLuwlB91aZw=="}]},"_npmUser":{"name":"puqingla","email":"me@puqing.work"},"directories":{},"maintainers":[{"name":"puqingla","email":"me@puqing.work"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/prompt_0.1.0_1786687946744_0.7890134877839055"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-14T06:12:26.586Z","0.1.0":"2026-08-14T06:12:26.907Z","modified":"2026-08-14T06:12:27.148Z"},"maintainers":[{"name":"puqingla","email":"me@puqing.work"}],"description":"pi-style system prompt for DeepSeek Harness (dsh-pi). A Cordis plugin bundle that replaces the system prompt with pi's minimal-core, tool-listing, guideline style.","homepage":"https://github.com/AndPuQing/dsh-pi","keywords":["dsh","dsh-plugin","deepseek-harness","pi","prompt"],"repository":{"type":"git","url":"git+https://github.com/AndPuQing/dsh-pi.git"},"bugs":{"url":"https://github.com/AndPuQing/dsh-pi/issues"},"license":"MIT","readme":"# @dsh-pi/prompt\n\npi-style system prompt for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (`dsh`), aka dsh-pi.\n\nTransplants pi's prompt philosophy into dsh as a **Cordis plugin bundle**:\n\n- **complete mode** — the model sees only this section as its system prompt (dsh's default identity / tool-guidance text is replaced)\n- **pi-style persona** — `You are an expert coding assistant operating inside dsh-pi...`\n- **tool one-liners** — `Available tools:` list in pi's format\n- **guidelines** — concise responses, clear file paths, small precise changes, verify with tests\n- **cwd line** — injected as a dynamic PromptContext\n\nZero dependencies: the plugin only uses `ctx.systemPrompt`, which ships in the `@deepseek-ai/dsh-base` bundle.\n\n## Install into a profile\n\n```sh\n# from anywhere, with dsh on PATH:\ndsh plugin --profile web add file:/abs/path/to/dsh-pi-prompt     # or an npm/git spec\n```\n\nThen register the bundle in the profile's manifest:\n\n```sh\n# edit ~/.dsh/profiles/<name>/package.json:\n#   \"dsh\": { \"profile\": { \"bundles\": [ \"@deepseek-ai/dsh-base\", \"@deepseek-ai/dsh-web-app\", \"@dsh-pi/prompt\" ] } }\n```\n\nRestart the profile: `dsh web` (or `dsh --profile <name>`). Done — the system prompt is now pi-style.\n\n> `dsh plugin --profile <name> add <pkg>` forwards `pnpm add` into the profile\n> directory (`~/.dsh/profiles/<name>`), so the bare package name resolves from\n> the profile's `node_modules`. Any other profile or machine repeats the two\n> steps above; sessions/config stay per-profile.\n\n## Configure\n\nThe bundle's patch inserts row id `dsh-pi-prompt`. Override it from a higher\npatch layer (e.g. the profile's own `cordis.patch.yml`):\n\n```yaml\n- id: dsh-pi-prompt\n  config:\n    complete: true          # default; false keeps dsh's other prompt sections\n    persona: \"Your custom persona text\"   # override the whole persona\n    includeCwd: false       # drop the \"Current working directory\" line\n```\n\nPatch files are HMR'd — changes apply without a restart.\n\n## Publish\n\n```sh\nnpm publish --access public   # from this directory\n# then on any machine: dsh plugin --profile web add @dsh-pi/prompt\n```\n\n## Layout\n\n| File | Role |\n|---|---|\n| `index.js` | Cordis plugin (default export; `inject: ['systemPrompt']`) |\n| `cordis.patch.yml` | bundle patch — inserts the `dsh-pi-prompt` row |\n| `package.json` | declares `dsh.bundle.patch` |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-d55f51899ba65cb17039e2a64fac5b29"}