{"_id":"@agentix-e/spel-editor","_rev":"9-f164516279d2fa677807675057a722ca","name":"@agentix-e/spel-editor","dist-tags":{"latest":"1.2.0"},"versions":{"0.0.0":{"name":"@agentix-e/spel-editor","version":"0.0.0","keywords":["oidc","trusted-publishing","setup"],"_id":"@agentix-e/spel-editor@0.0.0","maintainers":[{"name":"lambertyan","email":"853901691@qq.com"}],"dist":{"shasum":"058e523ede3b2dc5763967e1992e02505b93301b","tarball":"https://registry.npmjs.org/@agentix-e/spel-editor/-/spel-editor-0.0.0.tgz","fileCount":2,"integrity":"sha512-OZVJUrAtceiBm++U8J6eXHmV4mtkTVEt5H92WZTFYq91Ewq0WPN1LDCaWvRIZTZS3ainRWHarSvmpVbSyxEBVw==","signatures":[{"sig":"MEUCIFL7NpT8RwVkH4u+x8PkzH7w3UnxTUWcwTYc+cwswldhAiEAyFOxwvy6+Lf6YuleQhh58Ycb5XChb0f/VihcoMFWWi8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2051},"_npmUser":{"name":"lambertyan","email":"853901691@qq.com"},"_npmVersion":"11.9.0","description":"OIDC trusted publishing setup package for @agentix-e/spel-editor","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/spel-editor_0.0.0_1783944342097_0.8998967628289347","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@agentix-e/spel-editor","version":"0.1.0","keywords":["spel","editor","code-editor","expression-language","spring","codemirror","web-component"],"author":{"name":"AgentiX-E"},"license":"MIT","_id":"@agentix-e/spel-editor@0.1.0","maintainers":[{"name":"lambertyan","email":"853901691@qq.com"}],"homepage":"https://github.com/AgentiX-E/spel-editor#readme","bugs":{"url":"https://github.com/AgentiX-E/spel-editor/issues"},"dist":{"shasum":"2d95029095a0ae9bdadfa9200ea64f97ba95892c","tarball":"https://registry.npmjs.org/@agentix-e/spel-editor/-/spel-editor-0.1.0.tgz","fileCount":6,"integrity":"sha512-AQk1R88P1oOF/BeQmmI/mWJCjYWcAxQP2aSnY+/RrArr4UpO8lmsI/5HuKNAqNlSNq8rQdhtE6iDvpQc4xnIzQ==","signatures":[{"sig":"MEUCIQCsl5niLGR4ljg145M0hCyULcFwGBAm5SmFNFb9PAFdGAIgcl0VWMAXH1UAM4P3MjYlgsXxSyBVY6JRPgCnfgnjTZA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28156},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"ded77640bb6067d39f2a8d111743c83d1ceb79b5","scripts":{"test":"vitest run --coverage","build":"tsup src/index.ts --format esm --dts --clean","clean":"rm -rf dist","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check 'src/**/*.ts' 'tests/**/*.ts'","prepublishOnly":"pnpm build && pnpm test && pnpm typecheck"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2e3f726d-56f4-497f-a5aa-470dbd1815a7"}},"repository":{"url":"git+https://github.com/AgentiX-E/spel-editor.git","type":"git"},"_npmVersion":"11.16.0","description":"Web-embeddable Spring Expression Language (SpEL) editor — CodeMirror 6 + spel-ts powered","directories":{},"_nodeVersion":"24.18.0","dependencies":{"lit":"^3.0.0","@codemirror/lint":"^6.0.0","@codemirror/view":"^6.0.0","@codemirror/state":"^6.0.0","@agentix-e/spel-ts":"^1.1.0","@codemirror/commands":"^6.0.0","@codemirror/language":"^6.0.0","@codemirror/autocomplete":"^6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^29.1.1","vitest":"^3.0.0","prettier":"^3.9.5","typescript":"^5.8.3","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"@agentix-e/nl2spel":">=1.1.0"},"peerDependenciesMeta":{"@agentix-e/nl2spel":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/spel-editor_0.1.0_1783945552319_0.407581934166688","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@agentix-e/spel-editor","version":"0.1.1","keywords":["spel","editor","code-editor","expression-language","spring","codemirror","web-component"],"author":{"name":"AgentiX-E"},"license":"MIT","_id":"@agentix-e/spel-editor@0.1.1","maintainers":[{"name":"lambertyan","email":"853901691@qq.com"}],"homepage":"https://github.com/AgentiX-E/spel-editor#readme","bugs":{"url":"https://github.com/AgentiX-E/spel-editor/issues"},"dist":{"shasum":"26bb1d4ab50e335c77d70d017bfa4ae890fc661d","tarball":"https://registry.npmjs.org/@agentix-e/spel-editor/-/spel-editor-0.1.1.tgz","fileCount":6,"integrity":"sha512-ySToiLFIXk4gSTfN4zH7nmaggiol4xr9f6daBf6qKM+q/QyQHohHdRWuPEq35YEkZQRuOKfaZUv3kuGPmqIE8w==","signatures":[{"sig":"MEUCIQDODPsFnW6WFcTBv0tW2fYiwblJtcSrOBy/y1jyjVJFdQIgU4xEcuk8qBoOUH3WnLTbOC7kEFgzlRFgEhsdpmGsisY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28101},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"86e5793e997e5effe54ff43600385a06cc212fdf","scripts":{"test":"vitest run --coverage","build":"tsup src/index.ts --format esm --dts --clean","clean":"rm -rf dist","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check 'src/**/*.ts' 'tests/**/*.ts'","prepublishOnly":"pnpm build && pnpm test && pnpm typecheck"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2e3f726d-56f4-497f-a5aa-470dbd1815a7"}},"repository":{"url":"git+https://github.com/AgentiX-E/spel-editor.git","type":"git"},"_npmVersion":"11.16.0","description":"Web-embeddable Spring Expression Language (SpEL) editor — CodeMirror 6 + spel-ts powered","directories":{},"_nodeVersion":"24.18.0","dependencies":{"lit":"^3.0.0","@codemirror/lint":"^6.0.0","@codemirror/view":"^6.0.0","@codemirror/state":"^6.0.0","@agentix-e/spel-ts":"^1.1.0","@codemirror/commands":"^6.0.0","@codemirror/language":"^6.0.0","@codemirror/autocomplete":"^6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^29.1.1","vitest":"^3.0.0","prettier":"^3.9.5","typescript":"^5.8.3","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"@agentix-e/nl2spel":">=1.1.0"},"peerDependenciesMeta":{"@agentix-e/nl2spel":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/spel-editor_0.1.1_1784001452545_0.4103982232104957","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@agentix-e/spel-editor","version":"1.0.0","keywords":["spel","editor","code-editor","expression-language","spring","codemirror","web-component"],"author":{"name":"AgentiX-E"},"license":"MIT","_id":"@agentix-e/spel-editor@1.0.0","maintainers":[{"name":"lambertyan","email":"853901691@qq.com"}],"homepage":"https://github.com/AgentiX-E/spel-editor#readme","bugs":{"url":"https://github.com/AgentiX-E/spel-editor/issues"},"dist":{"shasum":"897236bc57497692ef412e49b62f6b3b1b93063e","tarball":"https://registry.npmjs.org/@agentix-e/spel-editor/-/spel-editor-1.0.0.tgz","fileCount":6,"integrity":"sha512-58ALTKAx8Qp26ZAn3H5Qw69f7et7cB1WiijWUkwbyYun3bWFm8YV/swFnSz54ASQXnG+NAtwdfyFOOX2ccABaA==","signatures":[{"sig":"MEQCIHp7FwP/hSXbLbu2wYLGTPqLdSDCbj6mtONpkbYk2SizAiA4LLZqNjuZ1+8cNTN9/7DbacICte4UCBVQ9WPBAIloXA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28872},"main":"./dist/index.js","pnpm":{"onlyBuiltDependencies":["esbuild"]},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"dbba6a3aab14e450646815b3997097235cfefb7d","scripts":{"test":"vitest run --coverage","build":"tsup src/index.ts --format esm --dts --clean","clean":"rm -rf dist","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","test:all":"pnpm test && pnpm test:browser","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check 'src/**/*.ts' 'tests/**/*.ts'","test:browser":"playwright test","prepublishOnly":"pnpm build && pnpm test && pnpm typecheck","test:browser:ui":"playwright test --ui"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2e3f726d-56f4-497f-a5aa-470dbd1815a7"}},"repository":{"url":"git+https://github.com/AgentiX-E/spel-editor.git","type":"git"},"_npmVersion":"11.16.0","description":"Web-embeddable Spring Expression Language (SpEL) editor — CodeMirror 6 + spel-ts powered","directories":{},"_nodeVersion":"24.18.0","dependencies":{"lit":"^3.0.0","@codemirror/lint":"^6.0.0","@codemirror/view":"^6.0.0","@codemirror/state":"^6.0.0","@agentix-e/spel-ts":"^1.1.0","@codemirror/commands":"^6.0.0","@codemirror/language":"^6.0.0","@codemirror/autocomplete":"^6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vite":"^8.1.4","jsdom":"^29.1.1","vitest":"^3.0.0","prettier":"^3.9.5","typescript":"^5.8.3","@playwright/test":"^1.61.1","@agentix-e/nl2spel":"^1.1.2","@vitest/coverage-v8":"^3.0.0","@agentix-e/nl2spel-openai":"^1.1.2"},"peerDependencies":{"@agentix-e/nl2spel":">=1.1.0"},"peerDependenciesMeta":{"@agentix-e/nl2spel":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/spel-editor_1.0.0_1784073852809_0.8588945221612365","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@agentix-e/spel-editor","version":"1.1.0","keywords":["spel","editor","code-editor","expression-language","spring","codemirror","web-component"],"author":{"name":"AgentiX-E"},"license":"MIT","_id":"@agentix-e/spel-editor@1.1.0","maintainers":[{"name":"lambertyan","email":"853901691@qq.com"}],"homepage":"https://github.com/AgentiX-E/spel-editor#readme","bugs":{"url":"https://github.com/AgentiX-E/spel-editor/issues"},"dist":{"shasum":"cb47260f334d9405a3d7bade81eaf41a5fc38b7a","tarball":"https://registry.npmjs.org/@agentix-e/spel-editor/-/spel-editor-1.1.0.tgz","fileCount":6,"integrity":"sha512-pueDhDqoyic4m0vZ7YJAz9Sx/zdpNssN3yFutuL+MPJcIbcOswzTo6+IsPkz+fScj7BCKv9hJ6PHjR9v5RW4Fw==","signatures":[{"sig":"MEQCIAIyxDmHMS7THB1WeocbSLQSS/WkUvaVtm2QwHy3XH/QAiBq4x5uKZCzL4DXyn5L40JjxaoJpQdkSFL04L6a7Yx79A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentix-e%2fspel-editor@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":32991},"main":"./dist/index.js","pnpm":{"onlyBuiltDependencies":["esbuild"]},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"44e43413e26aab0fc4c193aa30da083daae6e6a7","scripts":{"test":"vitest run --coverage","build":"tsup src/index.ts --format esm --dts --clean","clean":"rm -rf dist","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","test:all":"pnpm test && pnpm test:browser","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check 'src/**/*.ts' 'tests/**/*.ts'","test:browser":"playwright test","prepublishOnly":"pnpm build && pnpm test && pnpm typecheck","test:browser:ui":"playwright test --ui"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2e3f726d-56f4-497f-a5aa-470dbd1815a7"}},"repository":{"url":"git+https://github.com/AgentiX-E/spel-editor.git","type":"git"},"_npmVersion":"11.16.0","description":"Web-embeddable Spring Expression Language (SpEL) editor — CodeMirror 6 + spel-ts powered","directories":{},"_nodeVersion":"24.18.0","dependencies":{"lit":"^3.0.0","@codemirror/lint":"^6.0.0","@codemirror/view":"^6.0.0","@codemirror/state":"^6.0.0","@agentix-e/spel-ts":"^1.1.0","@codemirror/commands":"^6.0.0","@codemirror/language":"^6.0.0","@codemirror/autocomplete":"^6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vite":"^8.1.4","jsdom":"^29.1.1","vitest":"^3.0.0","prettier":"^3.9.5","typescript":"^5.8.3","@playwright/test":"^1.61.1","@agentix-e/nl2spel":"^1.1.2","@vitest/coverage-v8":"^3.0.0","@agentix-e/nl2spel-openai":"^1.1.2"},"peerDependencies":{"@agentix-e/nl2spel":">=1.1.0"},"peerDependenciesMeta":{"@agentix-e/nl2spel":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/spel-editor_1.1.0_1784097108337_0.7638535469446792","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@agentix-e/spel-editor","version":"1.1.1","keywords":["spel","editor","code-editor","expression-language","spring","codemirror","web-component"],"author":{"name":"AgentiX-E"},"license":"MIT","_id":"@agentix-e/spel-editor@1.1.1","maintainers":[{"name":"lambertyan","email":"853901691@qq.com"}],"homepage":"https://github.com/AgentiX-E/spel-editor#readme","bugs":{"url":"https://github.com/AgentiX-E/spel-editor/issues"},"dist":{"shasum":"a45e20ebccba9c251e77fa166e139dcff429b598","tarball":"https://registry.npmjs.org/@agentix-e/spel-editor/-/spel-editor-1.1.1.tgz","fileCount":6,"integrity":"sha512-zLQVCxVO3BnGZ8Tl4zlYPKwjgA5ftXK2kmUUIdn+JAIPvUT7RLoU4UKONvDvsj0vt8jmeX+jYiyn/x6bASnkzA==","signatures":[{"sig":"MEQCIBth9leRp2xqaG3Tp585UspV/EEg28UW2TsNbOK+i8QaAiB1OXgB/ttD0kHOXaPphdKsC7PmV2OSyL5En3wTy+MsvA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentix-e%2fspel-editor@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":32991},"main":"./dist/index.js","pnpm":{"onlyBuiltDependencies":["esbuild"]},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"55ecf8e9394b5d0eeb358fc7dd903eb4daeb1a39","scripts":{"test":"vitest run --coverage","build":"tsup src/index.ts --format esm --dts --clean","clean":"rm -rf dist","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","test:all":"pnpm test && pnpm test:browser","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check 'src/**/*.ts' 'tests/**/*.ts'","test:browser":"playwright test","prepublishOnly":"pnpm build && pnpm test && pnpm typecheck","test:browser:ui":"playwright test --ui"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2e3f726d-56f4-497f-a5aa-470dbd1815a7"}},"repository":{"url":"git+https://github.com/AgentiX-E/spel-editor.git","type":"git"},"_npmVersion":"11.16.0","description":"Web-embeddable Spring Expression Language (SpEL) editor — CodeMirror 6 + spel-ts powered","directories":{},"_nodeVersion":"24.18.0","dependencies":{"lit":"^3.0.0","@codemirror/lint":"^6.0.0","@codemirror/view":"^6.0.0","@codemirror/state":"^6.0.0","@agentix-e/spel-ts":"^1.1.0","@codemirror/commands":"^6.0.0","@codemirror/language":"^6.0.0","@codemirror/autocomplete":"^6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vite":"^8.1.4","jsdom":"^29.1.1","vitest":"^3.0.0","prettier":"^3.9.5","typescript":"^5.8.3","@playwright/test":"^1.61.1","@agentix-e/nl2spel":"^1.1.2","@vitest/coverage-v8":"^3.0.0","@agentix-e/nl2spel-openai":"^1.1.2"},"peerDependencies":{"@agentix-e/nl2spel":">=1.1.0"},"peerDependenciesMeta":{"@agentix-e/nl2spel":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/spel-editor_1.1.1_1784100138224_0.21467760540973857","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@agentix-e/spel-editor","version":"1.1.2","keywords":["spel","editor","code-editor","expression-language","spring","codemirror","web-component"],"author":{"name":"AgentiX-E"},"license":"MIT","_id":"@agentix-e/spel-editor@1.1.2","maintainers":[{"name":"lambertyan","email":"853901691@qq.com"}],"homepage":"https://github.com/AgentiX-E/spel-editor#readme","bugs":{"url":"https://github.com/AgentiX-E/spel-editor/issues"},"dist":{"shasum":"5cf8015093bf935924f869d71607e11616dbdd54","tarball":"https://registry.npmjs.org/@agentix-e/spel-editor/-/spel-editor-1.1.2.tgz","fileCount":6,"integrity":"sha512-Sp+Xijw0tviJPBhdPYKgC08DCKIXE6wkHUOQ0v45bJSzXTnxSyyq8qJeb9UZaq9U5CGt4uZ9QP+qvpOLEQWj1A==","signatures":[{"sig":"MEYCIQDsFiu6FRGewbdFlENCQXWDPQFTD3x3EfxGe2chbSg6GQIhAJX1CmliYgaQQgCXmSbKa32nKLn8SodMrBEEWP7DwoyH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentix-e%2fspel-editor@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":32991},"main":"./dist/index.js","pnpm":{"onlyBuiltDependencies":["esbuild"]},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"34c3a9b36e0b849f1d03880190f30d305a5098c9","scripts":{"test":"vitest run --coverage","build":"tsup src/index.ts --format esm --dts --clean","clean":"rm -rf dist","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","test:all":"pnpm test && pnpm test:browser","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check 'src/**/*.ts' 'tests/**/*.ts'","test:browser":"playwright test","prepublishOnly":"pnpm build && pnpm test && pnpm typecheck","test:browser:ui":"playwright test --ui"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2e3f726d-56f4-497f-a5aa-470dbd1815a7"}},"repository":{"url":"git+https://github.com/AgentiX-E/spel-editor.git","type":"git"},"_npmVersion":"11.16.0","description":"Web-embeddable Spring Expression Language (SpEL) editor — CodeMirror 6 + spel-ts powered","directories":{},"_nodeVersion":"24.18.0","dependencies":{"lit":"^3.0.0","@codemirror/lint":"^6.0.0","@codemirror/view":"^6.0.0","@codemirror/state":"^6.0.0","@agentix-e/spel-ts":"^1.1.0","@codemirror/commands":"^6.0.0","@codemirror/language":"^6.0.0","@codemirror/autocomplete":"^6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vite":"^8.1.4","jsdom":"^29.1.1","vitest":"^3.0.0","prettier":"^3.9.5","typescript":"^5.8.3","@playwright/test":"^1.61.1","@agentix-e/nl2spel":"^1.1.2","@vitest/coverage-v8":"^3.0.0","@agentix-e/nl2spel-openai":"^1.1.2"},"peerDependencies":{"@agentix-e/nl2spel":">=1.1.0"},"peerDependenciesMeta":{"@agentix-e/nl2spel":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/spel-editor_1.1.2_1784102233268_0.5301736480578016","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@agentix-e/spel-editor","version":"1.1.3","keywords":["spel","spel-editor","code-editor","expression-editor","codemirror6","web-component","spring-expression-language","typescript","syntax-highlighting","autocomplete","nl2spel"],"author":{"name":"AgentiX-E"},"license":"MIT","_id":"@agentix-e/spel-editor@1.1.3","maintainers":[{"name":"lambertyan","email":"853901691@qq.com"}],"homepage":"https://github.com/AgentiX-E/spel-editor#readme","bugs":{"url":"https://github.com/AgentiX-E/spel-editor/issues"},"dist":{"shasum":"d03b4bd90cc7db040e5de759ac429419a685ab8a","tarball":"https://registry.npmjs.org/@agentix-e/spel-editor/-/spel-editor-1.1.3.tgz","fileCount":6,"integrity":"sha512-i0BC5jDnHDEC9AlBLAZcRTI3Ytq50m+rJiIxLrIkkcswQIVAZ1QuzCTSnUDLdSisv85r8x0pEIBlk/+zEf0snQ==","signatures":[{"sig":"MEQCIBZJ12mpNfIwdU3I29P0X3F5hMn/l3FkiV9i0ZYsWhB9AiBJM3U2GC/30rJ0VpBDQR6XtY8B7vTC2D1zvZNRPZIHTw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentix-e%2fspel-editor@1.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35731},"main":"./dist/index.js","pnpm":{"onlyBuiltDependencies":["esbuild"]},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"5901aab80a9cf6c4206e403f9dd5f1976198dcff","scripts":{"test":"vitest run --coverage","build":"tsup src/index.ts --format esm --dts --clean","clean":"rm -rf dist","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","test:all":"pnpm test && pnpm test:browser","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check 'src/**/*.ts' 'tests/**/*.ts'","test:browser":"playwright test","prepublishOnly":"pnpm build && pnpm test && pnpm typecheck","test:browser:ui":"playwright test --ui"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2e3f726d-56f4-497f-a5aa-470dbd1815a7"}},"repository":{"url":"git+https://github.com/AgentiX-E/spel-editor.git","type":"git"},"_npmVersion":"11.16.0","description":"Web-embeddable Spring Expression Language (SpEL) editor — CodeMirror 6 + spel-ts powered, framework-agnostic Web Component with NL2SpEL integration","directories":{},"_nodeVersion":"24.18.0","dependencies":{"lit":"^3.0.0","@codemirror/lint":"^6.0.0","@codemirror/view":"^6.0.0","@codemirror/state":"^6.0.0","@agentix-e/spel-ts":"^1.2.2","@codemirror/commands":"^6.0.0","@codemirror/language":"^6.0.0","@codemirror/autocomplete":"^6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vite":"^8.1.4","jsdom":"^29.1.1","vitest":"^3.0.0","prettier":"^3.9.5","typescript":"^5.8.3","@playwright/test":"^1.61.1","@agentix-e/nl2spel":"^1.3.0","@vitest/coverage-v8":"^3.0.0","@agentix-e/nl2spel-openai":"^1.3.0"},"peerDependencies":{"@agentix-e/nl2spel":">=1.1.0"},"peerDependenciesMeta":{"@agentix-e/nl2spel":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/spel-editor_1.1.3_1784478205667_0.34190215792363654","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@agentix-e/spel-editor","version":"1.2.0","description":"Web-embeddable Spring Expression Language (SpEL) editor — CodeMirror 6 + spel-ts powered, framework-agnostic Web Component with NL2SpEL integration","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"tsup src/index.ts --format esm --dts --clean","test":"vitest run --coverage","test:browser":"playwright test","test:browser:ui":"playwright test --ui","test:all":"pnpm test && pnpm test:browser","test:watch":"vitest","typecheck":"tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.test.json","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","format:check":"prettier --check 'src/**/*.ts' 'tests/**/*.ts'","clean":"rm -rf dist","prepublishOnly":"pnpm build && pnpm test && pnpm typecheck"},"engines":{"node":">=18"},"dependencies":{"@agentix-e/spel-ts":"^2.0.0","@codemirror/autocomplete":"^6.0.0","@codemirror/commands":"^6.0.0","@codemirror/language":"^6.0.0","@codemirror/lint":"^6.0.0","@codemirror/state":"^6.0.0","@codemirror/view":"^6.0.0","@lezer/highlight":"^1.2.3","lit":"^3.0.0"},"peerDependencies":{"@agentix-e/nl2spel":">=1.1.0"},"peerDependenciesMeta":{"@agentix-e/nl2spel":{"optional":true}},"devDependencies":{"@agentix-e/nl2spel":"^1.3.0","@agentix-e/nl2spel-openai":"^1.3.0","@playwright/test":"^1.61.1","@vitest/coverage-v8":"^3.0.0","jsdom":"^29.1.1","prettier":"^3.9.5","tsup":"^8.0.0","typescript":"^5.8.3","vite":"^8.1.4","vitest":"^3.0.0"},"keywords":["spel","spel-editor","code-editor","expression-editor","codemirror6","web-component","spring-expression-language","typescript","syntax-highlighting","autocomplete","nl2spel"],"license":"MIT","author":{"name":"AgentiX-E"},"repository":{"type":"git","url":"git+https://github.com/AgentiX-E/spel-editor.git"},"bugs":{"url":"https://github.com/AgentiX-E/spel-editor/issues"},"homepage":"https://github.com/AgentiX-E/spel-editor#readme","pnpm":{"onlyBuiltDependencies":["esbuild"]},"publishConfig":{"access":"public"},"gitHead":"0786366db29038da9c5feddb95831c3909a8a3f5","_id":"@agentix-e/spel-editor@1.2.0","_nodeVersion":"24.20.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-Ypix/VVN1vsl3xBn5cviEabWvgsJUxP/wAjXnhEPizbwJPNtsuMqSZfOWmR8MUe0T3EyzB7gkE0vFuZSm7jzSA==","shasum":"7bd5b5f262abb3159a51f898d201fc0bf7379d63","tarball":"https://registry.npmjs.org/@agentix-e/spel-editor/-/spel-editor-1.2.0.tgz","fileCount":6,"unpackedSize":46697,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentix-e%2fspel-editor@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIE+x4O8S5W3dAywdwb3iOXZE/NT4qZtAt8OqtKC2C6bXAiBmepCu7m3u7bylYgLDmc/2+I6I7PnbFO+dMBOwU5pEQA=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2e3f726d-56f4-497f-a5aa-470dbd1815a7"}},"directories":{},"maintainers":[{"name":"lambertyan","email":"853901691@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/spel-editor_1.2.0_1789312182171_0.7139055027268251"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-13T12:05:41.966Z","modified":"2026-09-13T15:09:42.632Z","0.0.0":"2026-07-13T12:05:42.251Z","0.1.0":"2026-07-13T12:25:52.498Z","0.1.1":"2026-07-14T03:57:32.687Z","1.0.0":"2026-07-15T00:04:12.973Z","1.1.0":"2026-07-15T06:31:48.469Z","1.1.1":"2026-07-15T07:22:18.353Z","1.1.2":"2026-07-15T07:57:13.409Z","1.1.3":"2026-07-19T16:23:25.797Z","1.2.0":"2026-09-13T15:09:42.302Z"},"bugs":{"url":"https://github.com/AgentiX-E/spel-editor/issues"},"author":{"name":"AgentiX-E"},"license":"MIT","homepage":"https://github.com/AgentiX-E/spel-editor#readme","keywords":["spel","spel-editor","code-editor","expression-editor","codemirror6","web-component","spring-expression-language","typescript","syntax-highlighting","autocomplete","nl2spel"],"repository":{"type":"git","url":"git+https://github.com/AgentiX-E/spel-editor.git"},"description":"Web-embeddable Spring Expression Language (SpEL) editor — CodeMirror 6 + spel-ts powered, framework-agnostic Web Component with NL2SpEL integration","maintainers":[{"name":"lambertyan","email":"853901691@qq.com"}],"readme":"# @agentix-e/spel-editor\n\n> Web-embeddable Spring Expression Language (SpEL) editor.\n> Based on CodeMirror 6 + spel-ts v2.0.0. Framework-agnostic Web Component.\n\n[![CI](https://github.com/AgentiX-E/spel-editor/actions/workflows/ci.yml/badge.svg)](https://github.com/AgentiX-E/spel-editor/actions/workflows/ci.yml)\n[![npm](https://img.shields.io/npm/v/@agentix-e/spel-editor?color=blue)](https://www.npmjs.com/package/@agentix-e/spel-editor)\n[![Docs](https://img.shields.io/badge/docs-TypeDoc-blue)](https://AgentiX-E.github.io/spel-editor/api/)\n[![Coverage](https://img.shields.io/badge/coverage-report-blue)](https://AgentiX-E.github.io/spel-editor/coverage/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.8-blue)](https://www.typescriptlang.org/)\n[![Node.js](https://img.shields.io/badge/Node.js-%3E%3D18-green)](https://nodejs.org/)\n\n## What is @agentix-e/spel-editor?\n\n`@agentix-e/spel-editor` is a **drop-in Web Component** that adds a full-featured SpEL expression editor to any web application. Built on CodeMirror 6 and powered by `@agentix-e/spel-ts` for real-time syntax validation, it provides syntax highlighting, auto-completion, diagnostics, and hover tooltips — with zero framework lock-in. Optionally integrates with `@agentix-e/nl2spel` for natural-language-to-SpEL generation.\n\n### When should I use it?\n\n- You're building a **rules engine UI** that users edit SpEL expressions in\n- You need a **code editor for expression languages** (not general-purpose code)\n- You want **natural language input** converted to valid SpEL (via optional NL2SpEL integration)\n- You need a **framework-agnostic** component that works with React, Vue, Angular, Svelte, or plain HTML\n\n## Quick Start\n\n```bash\nnpm install @agentix-e/spel-editor\n```\n\n```html\n<spel-editor\n  placeholder=\"Enter SpEL expression...\"\n  min-height=\"100px\"\n></spel-editor>\n\n<script type=\"module\">\n  import '@agentix-e/spel-editor';\n\n  const editor = document.querySelector('spel-editor');\n  editor.addEventListener('change', (e) => {\n    console.log('Expression:', e.detail.value);\n    console.log('Valid:', e.detail.isValid);\n  });\n</script>\n```\n\n## Features\n\n- **Syntax highlighting** — Token-level colouring powered by the spel-ts Tokenizer, with every token class themable through a CSS custom property\n- **Auto-completion** — Keyword, operator, variable, and context-aware suggestions, inserted as CodeMirror snippets with tab-through fields\n- **Real-time diagnostics** — Syntax, semantic, and context validation\n- **Hover tooltips** — Node type information on hover\n- **Non-invasive theming** — 22 CSS custom properties for complete visual control\n- **Declarative-friendly** — Assigning `value` (property or attribute) updates the visible document\n- **Framework agnostic** — Works with React, Vue, Angular, Svelte, or plain HTML\n\n## API Reference\n\n> 📚 Full TypeDoc API documentation: [AgentiX-E.github.io/spel-editor/api/](https://AgentiX-E.github.io/spel-editor/api/)\n\n### Properties (Attributes)\n\n| Property | Attribute | Type | Default | Description |\n|----------|-----------|------|---------|-------------|\n| `value` | `value` | `string` | `''` | SpEL expression value |\n| `placeholder` | `placeholder` | `string` | `'Enter SpEL expression...'` | Placeholder text when editor is empty |\n| `readonly` | `readonly` | `boolean` | `false` | Read-only mode (prevents editing) |\n| `disabled` | `disabled` | `boolean` | `false` | Disabled mode (editor becomes inert) |\n| `minHeight` | `min-height` | `string` | `'80px'` | Minimum editor height (CSS value) |\n| `contextSchema` | — | `ContextSchema \\| null` | `null` | Context schema for completions and diagnostics. Set via JavaScript only (not an HTML attribute) |\n\n### Methods\n\n| Method | Returns | Description |\n|--------|---------|-------------|\n| `getValue()` | `string` | Get the current expression text from the editor |\n| `setValue(value: string)` | `void` | Set the expression text programmatically |\n| `validate()` | `SpelDiagnostic[]` | Get the current diagnostics from the debounced validation cache |\n| `format()` | `void` | Format the current expression using SpelFormatter |\n| `insertSnippet(snippet: string)` | `void` | Insert a text snippet at the current cursor position |\n| `getEditorView()` | `EditorView \\| null` | Get the underlying CodeMirror 6 EditorView instance |\n\n### Events\n\n| Event | Detail Type | Description |\n|-------|-------------|-------------|\n| `change` | `SpelEditorDetail` | Fired when the expression value changes. Detail contains `{ value: string; isValid: boolean }` |\n| `validate` | `{ diagnostics: SpelDiagnostic[] }` | Fired after debounced diagnostics complete. Detail contains the diagnostic results |\n\n### CSS Custom Properties\n\n| Property | Default | Description |\n|----------|---------|-------------|\n| `--spel-bg` | `#ffffff` | Editor background |\n| `--spel-font-family` | `'JetBrains Mono', monospace` | Editor font |\n| `--spel-font-size` | `14px` | Editor font size |\n| `--spel-line-height` | `1.6` | Editor line height |\n| `--spel-cursor` | `#111827` | Cursor color |\n| `--spel-line-highlight` | `#f3f4f6` | Active line highlight color |\n| `--spel-selection-bg` | `#bfdbfe` | Selection background color |\n| `--spel-gutter-bg` | `#f9fafb` | Gutter background |\n| `--spel-gutter-fg` | `#5b6472` | Gutter foreground (line numbers). 5.72:1 on the gutter background |\n| `--spel-border-width` | `1px` | Editor border width |\n| `--spel-border-color` | `#d0d5dd` | Editor border color |\n| `--spel-border-radius` | `6px` | Editor border radius |\n\nEvery colour a token can be painted in is a custom property too, so the palette can be\nreplaced without a rebuild:\n\n| Property | Default | Token |\n|----------|---------|-------|\n| `--spel-token-keyword` | `#7c3aed` | `null`, `true`, `matches`, `between`, `instanceof` |\n| `--spel-token-bool` | `#b45309` | Boolean literals |\n| `--spel-token-number` | `#0f766e` | Integer, long, real and hex literals |\n| `--spel-token-string` | `#15803d` | String literals |\n| `--spel-token-variable` | `#1d4ed8` | `#variable` |\n| `--spel-token-property` | `#0369a1` | `.property` and `?.property` |\n| `--spel-token-operator` | `#475569` | Arithmetic, comparison and logical operators |\n| `--spel-token-type` | `#9333ea` | `@bean`, `&@factory`, `T` |\n| `--spel-token-punctuation` | `#64748b` | Brackets, commas, dots |\n| `--spel-token-operator-keyword` | `#7c3aed` | Selection and projection (`.?[ ]`, `.![ ]`, `.^[ ]`, `.*[ ]`) |\n\n## NL Integration — Natural Language → SpEL\n\n`@agentix-e/spel-editor` accepts `@agentix-e/nl2spel` as an **optional peer dependency**.\nYou can wire nl2spel into the editor to translate natural language input into valid SpEL expressions.\n\n### Pattern Matching (Zero Dependencies, No API Key)\n\nnl2spel ships with 63 built-in patterns that cover common SpEL constructs without any LLM call:\n\n```html\n<spel-editor id=\"editor\" min-height=\"100px\"></spel-editor>\n\n<script type=\"module\">\n  import '@agentix-e/spel-editor';\n  import { NL2SpelEngine } from '@agentix-e/nl2spel';\n\n  const editor = document.querySelector('#editor');\n  const engine = new NL2SpelEngine();\n\n  async function generateSpEL(naturalLanguage) {\n    const result = await engine.generate(naturalLanguage, { offlineOnly: true });\n    if (result.expression) {\n      editor.setValue(result.expression);\n    }\n  }\n\n  // Usage:\n  await generateSpEL('amount greater than 500');\n  // Editor now shows: #amount > 500\n</script>\n```\n\n### LLM-Powered: DeepSeek / OpenAI-Compatible\n\n```bash\nnpm install @agentix-e/nl2spel-openai\n```\n\n```html\n<spel-editor id=\"editor\" min-height=\"100px\"></spel-editor>\n\n<script type=\"module\">\n  import '@agentix-e/spel-editor';\n  import { NL2SpelEngine } from '@agentix-e/nl2spel';\n  import { OpenAICompatibleProvider } from '@agentix-e/nl2spel-openai';\n\n  const editor = document.querySelector('#editor');\n  const engine = new NL2SpelEngine();\n\n  // Route provider calls through your own server, which holds the API key.\n  // A key placed here would be compiled into a public bundle — see\n  // docs/integration.md §5 for the proxy contract and the browser-local alternative.\n  engine.registerProvider(\n    new OpenAICompatibleProvider({\n      custom: {\n        name: 'spel-proxy',\n        baseURL: '/api/spel-llm',\n        apiKey: 'not-a-secret',\n        model: 'deepseek-chat',\n      },\n    })\n  );\n\n  async function generateSpEL(naturalLanguage, contextSchema) {\n    const result = await engine.generate(naturalLanguage, { contextSchema });\n    if (result.expression) {\n      editor.setValue(result.expression);\n    }\n  }\n\n  // With context schema for smarter completions:\n  const schema = {\n    root: {\n      name: 'order',\n      type: 'Order',\n      fields: {\n        amount: { type: 'number', description: 'Order amount' },\n        status: { type: 'string', description: 'Order status' },\n      },\n      methods: {},\n    },\n    variables: {},\n    beans: {},\n    types: {},\n    functions: {},\n  };\n\n  // Wire the schema for context-aware diagnostics\n  editor.contextSchema = schema;\n\n  // Generate SpEL with full context\n  await generateSpEL('orders where amount exceeds one thousand and status is active', schema);\n  // Editor shows: #order.amount > 1000 and #order.status == 'active'\n</script>\n```\n\n### Browser-Local LLM: WebLLM (Gemma)\n\n```bash\nnpm install @agentix-e/nl2spel-webllm @mlc-ai/web-llm\n```\n\n```html\n<spel-editor id=\"editor\" min-height=\"100px\"></spel-editor>\n\n<script type=\"module\">\n  import '@agentix-e/spel-editor';\n  import { NL2SpelEngine } from '@agentix-e/nl2spel';\n  import { WebLLMProvider } from '@agentix-e/nl2spel-webllm';\n\n  const editor = document.querySelector('#editor');\n  const engine = new NL2SpelEngine();\n\n  const provider = new WebLLMProvider({\n    modelId: 'gemma-2-2b-it',          // 2B parameter model\n    maxTokens: 256,\n    temperature: 0.1,\n    debug: false,                       // Set true to see model logs\n  });\n\n  await provider.initialize();\n  engine.registerProvider(provider);\n\n  async function generateSpEL(naturalLanguage) {\n    const result = await engine.generate(naturalLanguage);\n    if (result.expression) {\n      editor.setValue(result.expression);\n    }\n  }\n\n  // First call loads the model (~1.5 GB download, cached in IndexedDB)\n  await generateSpEL('amount greater than 500');\n  // Subsequent calls are fast — model stays in memory\n  await generateSpEL('status is not null and not empty');\n</script>\n```\n\n### Integration Pattern Summary\n\n| Mode | Package | API Key | Data Leaves Browser | Setup |\n|------|---------|---------|-------------------|-------|\n| **Pattern matching** | `@agentix-e/nl2spel` | ❌ None | ❌ No | `npm install` |\n| **DeepSeek / OpenAI** | `+ nl2spel-openai` | ✅ Required | ✅ Yes | `npm install` + API key |\n| **Browser-local LLM** | `+ nl2spel-webllm` | ❌ None | ❌ No | 1.5 GB model download |\n\n## FAQ\n\n### Which frameworks does it support?\nAll of them. `@agentix-e/spel-editor` is a native Web Component (`<spel-editor>`) that works with React, Vue, Angular, Svelte, or plain HTML with no framework-specific wrappers needed.\n\n### Do I need to install spel-ts separately?\nNo. `@agentix-e/spel-ts` is a direct dependency and is bundled automatically. NL2SpEL integration is an optional peer dependency — install it only if you need natural language → SpEL generation.\n\n### Can I customize the appearance?\nYes. 12 CSS custom properties (`--spel-bg`, `--spel-font-family`, `--spel-border-color`, etc.) give you complete visual control without forking or CSS hacks.\n\n### How does the NL integration work?\nThree modes: **Pattern matching** (offline, zero deps), **LLM API** (DeepSeek/OpenAI, requires API key), and **browser-local LLM** (WebGPU + Gemma, ~1.5 GB model download). Choose based on your latency, privacy, and cost requirements.\n\n## License\n\nMIT © AgentiX-E\n\n## Ecosystem\n\n- [@agentix-e/spel-ts](https://github.com/AgentiX-E/spel-ts) — Core SpEL parser and evaluator\n- [@agentix-e/nl2spel](https://github.com/AgentiX-E/nl2spel) — Natural language → SpEL generation (optional)\n","readmeFilename":"README.md"}