{"_id":"@akshaydev17/dsh-spotlight-english","name":"@akshaydev17/dsh-spotlight-english","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.3":{"name":"@akshaydev17/dsh-spotlight-english","description":"Keyboard-first command palette for DeepSeek Harness Web","version":"0.0.3","type":"module","packageManager":"pnpm@11.7.0","engines":{"node":"^22.19.0 || >=24.0.0"},"scripts":{"build":"tsc -b && tsdown","test":"vitest run","typecheck":"tsc -b --pretty false && tsc -p tsconfig.vitest.json --pretty false","verify:self-contained":"node scripts/verify-self-contained.mjs","prepare":"node scripts/prepare.mjs","extract:patch":"node scripts/extract-patch.mjs","patch:host":"bash scripts/patch.sh"},"main":"lib/index.js","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./client":{"types":"./lib/types/client/index.d.ts","default":"./lib/client.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"cordis":"^4.0.0-rc.7","@deepseek-ai/schemastery":"^3.18.1"},"devDependencies":{"@cordisjs/plugin-loader":"^1.0.0-rc.5","@types/node":"^22.20.0","cordis":"^4.0.0-rc.7","happy-dom":"^20.11.2","@deepseek-ai/schemastery":"^3.18.1","tsdown":"^0.22.2","typescript":"^6.0.3","unrun":"^0.3.1","vitest":"^4.1.8"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-runtime"]}},"_id":"@akshaydev17/dsh-spotlight-english@0.0.3","gitHead":"92c44456763fa579f70fedb49d5bfd80a6f4cb4c","_nodeVersion":"22.22.3","_npmVersion":"10.9.8","dist":{"integrity":"sha512-uNeHWwsxDysfMDlfsfsQzJo7b/jIwADWiqonyonlA9wJZBzflmQd7Q31XM6jABN+f8m7U2/oz5Cq1ygoqRsI2w==","shasum":"714d82afd9eab61411f638d1007ceac2537a27f0","tarball":"https://registry.npmjs.org/@akshaydev17/dsh-spotlight-english/-/dsh-spotlight-english-0.0.3.tgz","fileCount":39,"unpackedSize":105241,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQColz5oKL4yJVDGTOgmhV4FUv19FCTPhsaWZ49Vfcm1hAIhALeAO9BBP7WnDVgIdL+xaVzsY9EYJqTFjEK6Y3bSmT41"}]},"_npmUser":{"name":"akshaydev17","email":"akshayprabhakant@gmail.com"},"directories":{},"maintainers":[{"name":"akshaydev17","email":"akshayprabhakant@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-spotlight-english_0.0.3_1788842771777_0.022534187734830846"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-08T04:46:11.530Z","0.0.3":"2026-09-08T04:46:11.913Z","modified":"2026-09-08T04:46:12.175Z"},"maintainers":[{"name":"akshaydev17","email":"akshayprabhakant@gmail.com"}],"description":"Keyboard-first command palette for DeepSeek Harness Web","license":"MIT","readme":"# DSH Spotlight\n\n**English**\n\nA keyboard-first command palette for DeepSeek Harness Web. Open one palette to\nfind native slash commands, recent sessions, visible UI actions, and installed\nplugin settings—without leaving the keyboard.\n\n## Features\n\n- **One shortcut:** `⌘K` on macOS, `Ctrl+K` on other platforms.\n- **Customizable:** click the shortcut control in the footer, then press a new\n  key combination. The setting is stored in the current browser.\n- **Native actions:** discovers and triggers the actions already provided by\n  DSH Web, and contributes one `/spotlight` command to the native slash menu\n  instead of maintaining a second command registry.\n- **Fast search:** deterministic fuzzy matching across slash commands, recent\n  sessions, UI actions, and plugin settings.\n- **Keyboard navigation:** Arrow Up/Down to select, Enter to run, Escape to\n  close.\n- **Clean lifecycle:** removes its event listeners, styles, and DOM nodes when\n  unloaded.\n\n## Install\n\nInstall the bundle into your DSH Web profile:\n\n```sh\ndsh plugin --profile web add \"@akshaydev17/dsh-spotlight-english\"\n```\n\nThe npm release already contains the built `lib/` files and does not run\n`prepare` during installation.\n\nThen start DSH Web and press `⌘K` or `Ctrl+K`:\n\n```sh\ndsh --profile web\n```\n\n## Usage\n\n1. Open Spotlight with the global shortcut, or type `/spotlight` in the DSH\n   Web composer and pick the entry from the slash menu.\n2. Type to filter commands and actions.\n3. Use Arrow Up/Down and Enter, or click a result.\n4. Click **Shortcut** in the footer to record a different key combination.\n5. Click **Reset** to restore the platform default.\n\nShortcut preferences are local to the current browser origin and profile.\n\n## How it works\n\nDSH Spotlight is a standalone Cordis bundle with a small Web client. The\nclient mounts once the host's sessions, command-plane, plugin-inventory, and\ncommand-UI services exist — all standard in every stock DSH Web deployment —\nthen reads recent sessions, slash commands, and the plugin inventory directly\nfrom those services. It also discovers actionable elements in the current page\nand delegates execution back to those native elements. A catalog RPC failure\ndegrades only its own category. The plugin adds no server data channel and\nstores no durable server-side state.\n\n```text\nsrc/index.ts             Loader metadata\nsrc/client/index.ts      Web client activation and disposal\nsrc/spotlight/           Host + DOM discovery, search, keyboard handling, and UI\ncordis.patch.yml         DSH Web profile composition\n```\n\nBecause part of the discovery follows the current DSH Web DOM, host UI\nchanges may require updating the selectors in `src/spotlight/discovery.ts`.\n\n## Development\n\nRequirements: Node.js `^22.19.0 || >=24.0.0` and pnpm `11.7.0`. In a checkout\nof the repository on the `english` branch:\n\n```sh\npnpm install\n\npnpm run verify:self-contained\npnpm run typecheck\npnpm test\npnpm run build\n```\n\nTest a local checkout in DSH Web:\n\n```sh\npnpm run prepare\ndsh plugin --profile web add \"link:$(pwd)\"\ndsh --profile web\n```\n\nInspect the package contents before publishing:\n\n```sh\npnpm pack --dry-run --json\n```\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.zh.md","_rev":"1-5129d0e99e1f673da3f9064b568ef46c"}