{"_id":"@action-finder/core","_rev":"2-ad2bfa3554e8f7ac49f0ad01a3859d24","name":"@action-finder/core","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@action-finder/core","version":"0.1.0","keywords":["action-finder","command-palette","search","navigation","typescript"],"license":"MIT","_id":"@action-finder/core@0.1.0","maintainers":[{"name":"kongdechao","email":"1729051657@qq.com"}],"homepage":"https://codeup.aliyun.com/605efecf7470561e6a71441e/taixiaoyou.git","bugs":{"url":"https://codeup.aliyun.com/605efecf7470561e6a71441e/taixiaoyou.git"},"dist":{"shasum":"f33564c8a0c8f34616458d287dfd95ed562e0b15","tarball":"https://registry.npmjs.org/@action-finder/core/-/core-0.1.0.tgz","fileCount":8,"integrity":"sha512-/LtVMpOXaT3TWGBNqBsG04vj2tGHZY19hYK/cHdnOilqqVC9YTUcoc16KZjvXXmn1Opy6oKo3PfFqjdqMsbo4g==","signatures":[{"sig":"MEUCIQCRN5TOrRN5LIe16TUa5UBDUGm1GeVHCvVkKuD7/Bs3nwIgBbay2OnGFsSsgqzdSqjYFVA2j7Hx0w8jnoUognlSLgo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":104045},"main":"./dist/index.cjs","type":"module","_from":"file:action-finder-core-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"kongdechao","email":"1729051657@qq.com"},"_resolved":"/private/var/folders/t3/7vgsfr4527n5q2kt49hdq9480000gn/T/28b449f8be0583643ed8489620fb6038/action-finder-core-0.1.0.tgz","_integrity":"sha512-/LtVMpOXaT3TWGBNqBsG04vj2tGHZY19hYK/cHdnOilqqVC9YTUcoc16KZjvXXmn1Opy6oKo3PfFqjdqMsbo4g==","repository":{"url":"git+https://codeup.aliyun.com/605efecf7470561e6a71441e/taixiaoyou.git","type":"git","directory":"smart-nav/packages/core"},"_npmVersion":"10.9.3","description":"Framework-agnostic command palette engine and action helpers for action-finder.","directories":{},"sideEffects":false,"_nodeVersion":"22.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/core_0.1.0_1774257034579_0.7588556939804509","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@action-finder/core","version":"0.1.1","description":"Framework-agnostic command palette engine and action helpers for action-finder.","keywords":["action-finder","command-palette","search","navigation","typescript"],"license":"MIT","type":"module","sideEffects":false,"repository":{"type":"git","url":"git+https://codeup.aliyun.com/605efecf7470561e6a71441e/taixiaoyou.git","directory":"smart-nav/packages/core"},"homepage":"https://codeup.aliyun.com/605efecf7470561e6a71441e/taixiaoyou.git","bugs":{"url":"https://codeup.aliyun.com/605efecf7470561e6a71441e/taixiaoyou.git"},"publishConfig":{"access":"public"},"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit","lint":"tsc -p tsconfig.json --noEmit"},"_id":"@action-finder/core@0.1.1","_integrity":"sha512-ajCLv+xjNsMi3rz7+4kOS7mYxtIi1utZNrF0IdGUBy97OGi5UbKOtxtCyjujsbYlM9II9riMiuDXB22FDiT6LQ==","_resolved":"/private/var/folders/t3/7vgsfr4527n5q2kt49hdq9480000gn/T/92e22f4540a2be20f5b91cab545a6340/action-finder-core-0.1.1.tgz","_from":"file:action-finder-core-0.1.1.tgz","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-ajCLv+xjNsMi3rz7+4kOS7mYxtIi1utZNrF0IdGUBy97OGi5UbKOtxtCyjujsbYlM9II9riMiuDXB22FDiT6LQ==","shasum":"958c58d67fb4b134a795c20efe315166bf4d1f36","tarball":"https://registry.npmjs.org/@action-finder/core/-/core-0.1.1.tgz","fileCount":9,"unpackedSize":105293,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGljzXvoHaTXtexcfNKZkEmBQw3KS7SVoCrtBwFoCfANAiEAtnGAYUtKyy2/vd7wFAJNF5+kqPewB8X3FM+3W24Z+8w="}]},"_npmUser":{"name":"kongdechao","email":"1729051657@qq.com"},"directories":{},"maintainers":[{"name":"kongdechao","email":"1729051657@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.1.1_1774257672633_0.716003891304692"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-23T09:10:34.462Z","modified":"2026-03-23T09:21:12.903Z","0.1.0":"2026-03-23T09:10:34.713Z","0.1.1":"2026-03-23T09:21:12.762Z"},"bugs":{"url":"https://codeup.aliyun.com/605efecf7470561e6a71441e/taixiaoyou.git"},"license":"MIT","homepage":"https://codeup.aliyun.com/605efecf7470561e6a71441e/taixiaoyou.git","keywords":["action-finder","command-palette","search","navigation","typescript"],"repository":{"type":"git","url":"git+https://codeup.aliyun.com/605efecf7470561e6a71441e/taixiaoyou.git","directory":"smart-nav/packages/core"},"description":"Framework-agnostic command palette engine and action helpers for action-finder.","maintainers":[{"name":"kongdechao","email":"1729051657@qq.com"}],"readme":"# @action-finder/core\n\nFramework-agnostic engine and helpers for building command palettes, page search, and executable actions.\n\n## Install\n\n```bash\npnpm add @action-finder/core\n```\n\n## Included\n\n- `SearchEngine`\n- `KeyboardManager`\n- `createActionHelpers()`\n- `createDataSelector()`\n- `waitForElement()`\n- `clickElement()`\n- `highlightElement()`\n- `navigateAndRun()`\n- `executeSearchItem()`\n- shared types such as `SearchItem`, `SearchResult`, and `SearchActionContext`\n\n## Example\n\n```ts\nimport { SearchEngine, createDataSelector, navigateAndRun, type SearchItem } from '@action-finder/core';\n\nconst items: SearchItem[] = [\n  {\n    id: 'ticket-create',\n    title: 'Create ticket',\n    group: 'action',\n    path: '/tickets',\n    dataKey: 'ticket-create-action'\n  }\n];\n\nconst engine = new SearchEngine({ items, maxResults: 10 });\nconst results = engine.search('create ticket');\n\nawait navigateAndRun({\n  path: '/tickets',\n  navigate: (path) => window.history.pushState({}, '', path),\n  target: createDataSelector('ticket-create-action'),\n  timeoutMs: 6000\n});\n```\n\n## Related packages\n\n- `@action-finder/vue`\n- `@action-finder/react`\n\nRepository and full docs:\n\n- https://codeup.aliyun.com/605efecf7470561e6a71441e/taixiaoyou.git\n","readmeFilename":"README.md"}