{"_id":"@aexol/wizard-spectral","name":"@aexol/wizard-spectral","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@aexol/wizard-spectral","version":"0.1.0","description":"Spectral extension and CLI that exposes backend-backed Wizard tools and authentication.","type":"module","private":false,"main":"./dist/extensions/index.js","types":"./dist/extensions/index.d.ts","bin":{"spectral-wizard":"dist/bin/spectral-wizard.js"},"exports":{".":{"default":"./dist/extensions/index.js","types":"./dist/extensions/index.d.ts"},"./cli":{"default":"./dist/bin/spectral-wizard.js","types":"./dist/bin/spectral-wizard.d.ts"},"./package.json":"./package.json"},"scripts":{"build":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json","release:check":"npm run typecheck && npm run build && npm pack --dry-run","typecheck":"tsc --noEmit -p tsconfig.json"},"keywords":["aexol","spectral","wizard","extension","skills"],"license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://gitlab.com/aexol/open-source/opencode-wizard.git","directory":"plugins/wizard-spectral"},"spectral":{"extensions":["./dist/extensions"]},"devDependencies":{"@types/node":"^22.12.0","typescript":"^5.9.2"},"engines":{"node":"^20.19.0 || >=22.12.0"},"_id":"@aexol/wizard-spectral@0.1.0","gitHead":"db9056d29c125e7ab06be0b4023ae176b100f02b","bugs":{"url":"https://gitlab.com/aexol/open-source/opencode-wizard/issues"},"homepage":"https://gitlab.com/aexol/open-source/opencode-wizard#readme","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-KEDPyubWmPRfY3LsaP67EJaBrmlEsQuHNAwtbqebqwiaPjcOgLbm9iS+0PQDlQBb5EQPTWru3uKUXE7LgzGtvQ==","shasum":"8c25b8447b43a31e81486b21695678dc74e4e3b1","tarball":"https://registry.npmjs.org/@aexol/wizard-spectral/-/wizard-spectral-0.1.0.tgz","fileCount":8,"unpackedSize":73874,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGdQM8EyxjFdxP88EihOIUDirfLd9wIUlDZesV0MMQ3TAiBjiAMNz700b5caHrp9Lzy1lmKenUHphfmLxSDut24iPQ=="}]},"_npmUser":{"name":"kamil-aexol","email":"kamil@aexol.com"},"directories":{},"maintainers":[{"name":"arturczemiel","email":"aexol@aexol.com"},{"name":"ania-aexol","email":"ania@aexol.com"},{"name":"aexol-office","email":"office@aexol.com"},{"name":"kamil-aexol","email":"kamil@aexol.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wizard-spectral_0.1.0_1782801825730_0.7828018170773534"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-30T06:43:45.466Z","0.1.0":"2026-06-30T06:43:45.899Z","modified":"2026-06-30T06:43:46.253Z"},"maintainers":[{"name":"arturczemiel","email":"aexol@aexol.com"},{"name":"ania-aexol","email":"ania@aexol.com"},{"name":"aexol-office","email":"office@aexol.com"},{"name":"kamil-aexol","email":"kamil@aexol.com"}],"description":"Spectral extension and CLI that exposes backend-backed Wizard tools and authentication.","homepage":"https://gitlab.com/aexol/open-source/opencode-wizard#readme","keywords":["aexol","spectral","wizard","extension","skills"],"repository":{"type":"git","url":"git+https://gitlab.com/aexol/open-source/opencode-wizard.git","directory":"plugins/wizard-spectral"},"bugs":{"url":"https://gitlab.com/aexol/open-source/opencode-wizard/issues"},"license":"MIT","readme":"# Spectral Wizard\n\nIndependent Spectral package for the backend-backed Wizard catalog and tools.\n\n## Install\n\n```sh\nnpm install @aexol/wizard-spectral\n```\n\nSpectral loads the extension through package metadata:\n\n```json\n{\n  \"spectral\": {\n    \"extensions\": [\"./dist/extensions\"]\n  }\n}\n```\n\n## CLI auth\n\n```sh\nspectral-wizard login\nspectral-wizard status\nspectral-wizard logout\n```\n\n`login` starts a localhost PKCE browser login, exchanges the authorization code with the Wizard backend, and stores auth at `~/.config/wizard-spectral/config.json` by default. `status` reports backend/config/auth state without exposing tokens. `logout` clears stored auth.\n\nEnvironment overrides:\n\n- `SPECTRAL_WIZARD_BACKEND_ORIGIN` — Wizard backend origin.\n- `SPECTRAL_WIZARD_WORKSPACE_SLUG` — workspace slug override.\n- `SPECTRAL_WIZARD_AUTH_STATE_PATH` — auth/config path override.\n- `SPECTRAL_WIZARD_SESSION_TOKEN` — ephemeral session token override.\n- `OPENCODE_WIZARD_BACKEND_ORIGIN` — optional backend-origin fallback only.\n\n## Release\n\n`@aexol/wizard-spectral` is released separately and does not require another Wizard plugin package at runtime.\n\nRun the package release check before tagging:\n\n```sh\nnpm run wizard-spectral:release:check\n```\n\nUse tag format `wizard-spectral-v<version>` and the GitLab manual `publish wizard spectral` job for npm publication.\n\n## Tools\n\nThe extension registers Spectral tool names backed by Wizard GraphQL APIs:\n\n- `wizard_status`\n- `wizard_catalog_fetch`\n- `wizard_artifact_fetch`\n- `wizard_artifact_preference_set`\n- `wizard_published_skills_fetch`\n- `wizard_published_skill_preference_set`\n- `wizard_report_issue`\n- `wizard_editor_update_report`\n\nCatalog/status metadata is discovery-only; fetch artifact or skill bodies before treating Wizard instructions as authoritative. Report tools submit `source: SPECTRAL` and `submittedVia: wizard-spectral` and only send explicitly supplied safe summary fields.\n","readmeFilename":"README.md","_rev":"1-7b6d307887ce6e7e50e9edbf387b6557"}