{"_id":"@docflow-local/desktop-extension-sdk","name":"@docflow-local/desktop-extension-sdk","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@docflow-local/desktop-extension-sdk","version":"0.1.0","description":"Public extension host contracts for DocFlow Desktop Community and Pro","license":"MPL-2.0","homepage":"https://github.com/docflowlocal/docflow#readme","repository":{"type":"git","url":"git+https://github.com/docflowlocal/docflow.git","directory":"packages/desktop-extension-sdk"},"bugs":{"url":"https://github.com/docflowlocal/docflow/issues"},"type":"commonjs","main":"src/index.js","exports":{".":"./src/index.js"},"dependencies":{"@docflow-local/license-verifier":"^0.1.0"},"scripts":{"test":"node test/extension-host.test.js","test:syntax":"node --check src/index.js","prepublishOnly":"npm run test:syntax && npm test"},"publishConfig":{"access":"public"},"engines":{"node":">=22"},"_id":"@docflow-local/desktop-extension-sdk@0.1.0","gitHead":"cd26d55e44afdae24a85be9b4cff997cc086a314","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-x8LizEiVSYAAS15WsWu/pZEzBFPd2YeGUAU8feEY+++labJ5Uv45prZmXwbQqvr0UCSJ3ffelnsdEc3fBseIvg==","shasum":"1c24ce6ec4d45e19c4e67f85035116970121e9b9","tarball":"https://registry.npmjs.org/@docflow-local/desktop-extension-sdk/-/desktop-extension-sdk-0.1.0.tgz","fileCount":4,"unpackedSize":26418,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCaUuQlcEXWnhDY/ME+dJynber/x3qIBTQsrd/wIy07rwIgUZIA8zc65/QeiZHlk/xqIMOeZKbnw1wdxUoE0giZDEw="}]},"_npmUser":{"name":"willgo.tech","email":"txianlian@gmail.com"},"directories":{},"maintainers":[{"name":"willgo.tech","email":"txianlian@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/desktop-extension-sdk_0.1.0_1785334896346_0.03010980664610341"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-29T14:21:36.165Z","0.1.0":"2026-07-29T14:21:36.469Z","modified":"2026-07-29T14:21:36.748Z"},"maintainers":[{"name":"willgo.tech","email":"txianlian@gmail.com"}],"description":"Public extension host contracts for DocFlow Desktop Community and Pro","homepage":"https://github.com/docflowlocal/docflow#readme","repository":{"type":"git","url":"git+https://github.com/docflowlocal/docflow.git","directory":"packages/desktop-extension-sdk"},"bugs":{"url":"https://github.com/docflowlocal/docflow/issues"},"license":"MPL-2.0","readme":"# @docflow-local/desktop-extension-sdk\n\nThis package defines the public feature-slot boundary between DocFlow Desktop\nCommunity and optional trusted extensions such as DocFlow Pro.\n\nExtensions register commands during activation. Every invocation is checked\nagain against the host's verified feature policy. Hiding a button in the\nrenderer is never treated as authorization.\n\nPaid policy cannot be assigned directly. The host accepts only a successful,\nprocess-local result from `@docflow-local/license-verifier` through\n`setVerification()`. Calling code cannot unlock commercial commands with a\nplain `{ features: [...] }` or `{ valid: true, policy: ... }` object.\n\nExtensions execute in the Desktop main process and are therefore trusted code.\nThe manifest is a compatibility and entitlement contract, not a sandbox.\n","readmeFilename":"README.md","_rev":"1-0607bf0a4c320871710da6a23f8db65d"}