{"_id":"@astro-tpl/ac","_rev":"5-b4c782188e9d7e302ca0623cec738df1","name":"@astro-tpl/ac","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.1":{"name":"@astro-tpl/ac","version":"1.0.1","keywords":["oclif"],"author":{"name":"AstroTpl"},"license":"MIT","_id":"@astro-tpl/ac@1.0.1","maintainers":[{"name":"soraliu","email":"soraliu.dev@gmail.com"}],"homepage":"https://github.com/astro-tpl/ac","bugs":{"url":"https://github.com/astro-tpl/ac/issues"},"bin":{"ac":"bin/run.js"},"dist":{"shasum":"0ba2d484434815d29ab022ed619a570897b26144","tarball":"https://registry.npmjs.org/@astro-tpl/ac/-/ac-1.0.1.tgz","fileCount":102,"integrity":"sha512-Y08DFMdLBGO20OPzwwvcs5+I1/HrxTnsR250R3Gq6h0xvZFHGCMD5sRdkCe+prEQIypSNTLSAXamJ5OuhrmiCw==","signatures":[{"sig":"MEYCIQCIoyK1zINjz3gbYM5PkPpgoBSyBwuzNSiVkKEvnEo55gIhAIDN9SiDCSfP1CliaidLq40I5zOU/1XqZREijWb50XVA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":327415},"type":"module","oclif":{"bin":"ac","topics":{"repo":{"description":"管理模板仓库"}},"dirname":"ac","plugins":["@oclif/plugin-help","@oclif/plugin-update"],"commands":"./dist/commands","topicSeparator":" "},"types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":"./dist/index.js","gitHead":"1a8a9055503f081701fcc67cdfbc19d3a8820d88","scripts":{"dev":"tsx src/index.ts","lint":"eslint . --ext .ts","pack":"oclif pack tarballs","test":"vitest --run","build":"tsc -b && tsc-alias --resolve-full-paths --resolve-full-extension .js && cp -r src/i18n/*.json dist/i18n/","clean":"rm -rf dist","upload":"oclif upload tarballs","prepack":"npm run build && oclif manifest && oclif readme","version":"oclif readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"npm run lint","build:manifest":"oclif manifest","prepublishOnly":"npm run build && oclif manifest"},"_npmUser":{"name":"soraliu","email":"soraliu.dev@gmail.com"},"repository":{"url":"git+https://github.com/astro-tpl/ac.git","type":"git"},"_npmVersion":"10.9.3","description":"AI Context CLI - 统一管理 AI 编程上下文与提示词的命令行工具","directories":{},"_nodeVersion":"22.19.0","dependencies":{"ink":"^6.2.3","react":"^19.1.1","table":"^6.9.0","tslib":"^2.8.1","js-yaml":"^4.1.0","fuzzysort":"^2.0.4","clipboardy":"^4.0.0","pinyin-pro":"^3.27.0","simple-git":"^3.20.0","@oclif/core":"^4.5.2","ink-text-input":"^6.0.0","@oclif/plugin-help":"^6.0.8","@oclif/plugin-update":"^4.7.4","@testing-library/react":"^16.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.6.2","jsdom":"^26.1.0","oclif":"^4.1.0","eslint":"^8.55.0","vitest":"^1.1.0","prettier":"^3.1.1","react-dom":"^19.1.1","tsc-alias":"^1.8.16","typescript":"^5.3.3","@oclif/test":"^3.1.3","@types/node":"^18","@types/jsdom":"^21.1.7","@types/react":"^19.1.12","@types/js-yaml":"^4.0.8","@types/react-dom":"^19.1.9","eslint-config-oclif":"^5.0.0","@oclif/prettier-config":"^0.2.1","eslint-config-oclif-typescript":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/ac_1.0.1_1756823767058_0.2590926559024649","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@astro-tpl/ac","version":"1.0.2","keywords":["oclif"],"author":{"name":"AstroTpl"},"license":"MIT","_id":"@astro-tpl/ac@1.0.2","maintainers":[{"name":"soraliu","email":"soraliu.dev@gmail.com"}],"homepage":"https://github.com/astro-tpl/ac","bugs":{"url":"https://github.com/astro-tpl/ac/issues"},"bin":{"ac":"bin/run.js"},"dist":{"shasum":"6fdc5107d2a3a6bf216e34743d8d7698a24392d2","tarball":"https://registry.npmjs.org/@astro-tpl/ac/-/ac-1.0.2.tgz","fileCount":102,"integrity":"sha512-0nMVw5x+x/KXs5UPzmLUmFH/1VH+FoURKe8+UPsHo+vnOW8I38g8m7/OtHI49pgd/0wm1rnKXFHd80ivCqIjBQ==","signatures":[{"sig":"MEUCIFUjynoQLCZmKRijfejnERfgca8OkGgntRy+jchE9mj8AiEA5zdlaqkZ5COEXyCFEJJuIjvIFoEzSWchbwZn34ErG9o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":331584},"type":"module","oclif":{"bin":"ac","topics":{"repo":{"description":"管理模板仓库"}},"dirname":"ac","plugins":["@oclif/plugin-help","@oclif/plugin-update"],"commands":"./dist/commands","topicSeparator":" "},"types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":"./dist/index.js","gitHead":"22616f89ab53ca6d0959960c9b661ab47d8dcc7b","scripts":{"dev":"tsx src/index.ts","lint":"eslint . --ext .ts","pack":"oclif pack tarballs","test":"vitest --run","build":"tsc -b && tsc-alias --resolve-full-paths --resolve-full-extension .js && cp -r src/i18n/*.json dist/i18n/","clean":"rm -rf dist","upload":"oclif upload tarballs","prepack":"npm run build && oclif manifest && oclif readme","version":"oclif readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"npm run lint","build:manifest":"oclif manifest","prepublishOnly":"npm run build && oclif manifest"},"_npmUser":{"name":"soraliu","email":"soraliu.dev@gmail.com"},"repository":{"url":"git+https://github.com/astro-tpl/ac.git","type":"git"},"_npmVersion":"10.9.3","description":"AI Context CLI - 统一管理 AI 编程上下文与提示词的命令行工具","directories":{},"_nodeVersion":"22.19.0","dependencies":{"ink":"^6.2.3","react":"^19.1.1","table":"^6.9.0","tslib":"^2.8.1","js-yaml":"^4.1.0","fuzzysort":"^2.0.4","clipboardy":"^4.0.0","pinyin-pro":"^3.27.0","simple-git":"^3.20.0","@oclif/core":"^4.5.2","ink-text-input":"^6.0.0","@oclif/plugin-help":"^6.0.8","@oclif/plugin-update":"^4.7.4","@testing-library/react":"^16.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.6.2","jsdom":"^26.1.0","oclif":"^4.1.0","eslint":"^8.55.0","vitest":"^1.1.0","prettier":"^3.1.1","react-dom":"^19.1.1","tsc-alias":"^1.8.16","typescript":"^5.3.3","@oclif/test":"^3.1.3","@types/node":"^18","@types/jsdom":"^21.1.7","@types/react":"^19.1.12","@types/js-yaml":"^4.0.8","@types/react-dom":"^19.1.9","eslint-config-oclif":"^5.0.0","@oclif/prettier-config":"^0.2.1","eslint-config-oclif-typescript":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/ac_1.0.2_1756873829230_0.6103608559384519","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@astro-tpl/ac","version":"1.0.3","keywords":["oclif"],"author":{"name":"AstroTpl"},"license":"MIT","_id":"@astro-tpl/ac@1.0.3","maintainers":[{"name":"soraliu","email":"soraliu.dev@gmail.com"}],"homepage":"https://github.com/astro-tpl/ac","bugs":{"url":"https://github.com/astro-tpl/ac/issues"},"bin":{"ac":"bin/run.js"},"dist":{"shasum":"26298316592fef8c5926d4addba478c14f4b96d3","tarball":"https://registry.npmjs.org/@astro-tpl/ac/-/ac-1.0.3.tgz","fileCount":104,"integrity":"sha512-J09tpHOhDVe0zZ0YnSe1YEdptAe8qrmgPUsHT046AZko6ccVn/T73NflVCvL3obbIZMDt7TszGK0H2l7KOmCSw==","signatures":[{"sig":"MEQCIHALJA0kC9lEZjz3TkEULe2DUzQNlZEbIQK9GvB6lRXDAiAQYqHGonETDmkLuQd71x64pi+QiBZfdMoSWVA2i8bieA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":351647},"type":"module","_from":"file:astro-tpl-ac-1.0.3.tgz","oclif":{"bin":"ac","topics":{},"dirname":"ac","plugins":["@oclif/plugin-help","@oclif/plugin-update"],"commands":"./dist/commands","topicSeparator":" "},"types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":"./dist/index.js","scripts":{"dev":"tsx src/index.ts","lint":"eslint . --ext .ts","pack":"oclif pack tarballs","test":"vitest --run","build":"tsc -b && tsc-alias --resolve-full-paths --resolve-full-extension .js && cp -r src/i18n/*.json dist/i18n/","clean":"rm -rf dist","upload":"oclif upload tarballs","version":"oclif readme && git add README.md","posttest":"npm run lint","build:manifest":"oclif manifest"},"_npmUser":{"name":"soraliu","email":"soraliu.dev@gmail.com"},"_resolved":"/private/var/folders/k9/l2zlzf6j6l99shwyqzchcjr80000gn/T/b6c85917c4eb315e7def3b8d9f2e4738/astro-tpl-ac-1.0.3.tgz","_integrity":"sha512-J09tpHOhDVe0zZ0YnSe1YEdptAe8qrmgPUsHT046AZko6ccVn/T73NflVCvL3obbIZMDt7TszGK0H2l7KOmCSw==","repository":{"url":"git+https://github.com/astro-tpl/ac.git","type":"git"},"_npmVersion":"10.9.3","description":"AI Context CLI - A CLI tool for managing AI programming context and prompts","directories":{},"_nodeVersion":"22.19.0","dependencies":{"ink":"^6.2.3","react":"^19.1.1","table":"^6.9.0","tslib":"^2.8.1","js-yaml":"^4.1.0","fuzzysort":"^2.0.4","clipboardy":"^4.0.0","pinyin-pro":"^3.27.0","simple-git":"^3.20.0","@oclif/core":"^4.5.2","ink-text-input":"^6.0.0","@oclif/plugin-help":"^6.0.8","@oclif/plugin-update":"^4.7.4","@testing-library/react":"^16.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.6.2","jsdom":"^26.1.0","oclif":"^4.1.0","eslint":"^8.55.0","vitest":"^1.1.0","prettier":"^3.1.1","react-dom":"^19.1.1","tsc-alias":"^1.8.16","typescript":"^5.3.3","@oclif/test":"^3.1.3","@types/node":"^18","@types/jsdom":"^21.1.7","@types/react":"^19.1.12","@types/js-yaml":"^4.0.8","@types/react-dom":"^19.1.9","eslint-config-oclif":"^5.0.0","@oclif/prettier-config":"^0.2.1","eslint-config-oclif-typescript":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/ac_1.0.3_1757053109053_0.42967243979149483","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@astro-tpl/ac","version":"1.0.4","keywords":["oclif"],"author":{"name":"AstroTpl"},"license":"MIT","_id":"@astro-tpl/ac@1.0.4","maintainers":[{"name":"soraliu","email":"soraliu.dev@gmail.com"}],"homepage":"https://github.com/astro-tpl/ac","bugs":{"url":"https://github.com/astro-tpl/ac/issues"},"bin":{"ac":"bin/run.js"},"dist":{"shasum":"3da481d4c35304e7c411e9c5c26c79903eff5a18","tarball":"https://registry.npmjs.org/@astro-tpl/ac/-/ac-1.0.4.tgz","fileCount":104,"integrity":"sha512-ukH8SwziUp2iaemhQrY6EtWoiPilQpqpdHzWMZ9T6GzDOMYDGjacWz1gSAH1zMeISaTvrxza6QaREfee1KKntw==","signatures":[{"sig":"MEYCIQDL6cIvuXg2F2ULE+0Dop+aj8Uw1qLYWDgxC8fAofReBgIhALrmqkAdopownEQXQfKv+Jnfe2HDAAq1IH6qwPl1lbrS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":351996},"type":"module","oclif":{"bin":"ac","topics":{},"dirname":"ac","plugins":["@oclif/plugin-help","@oclif/plugin-update"],"commands":"./dist/commands","topicSeparator":" "},"types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":"./dist/index.js","gitHead":"6bd8091e577243be787ae4efa50e9e237744a662","scripts":{"dev":"tsx src/index.ts","lint":"eslint . --ext .ts","pack":"oclif pack tarballs","test":"vitest run","build":"tsc -b && tsc-alias --resolve-full-paths --resolve-full-extension .js && cp -r src/i18n/*.json dist/i18n/","clean":"rm -rf dist","upload":"oclif upload tarballs","prepack":"npm run build && oclif manifest && oclif readme","version":"oclif readme && git add README.md","postpack":"rm -f oclif.manifest.json","build:manifest":"oclif manifest","prepublishOnly":"npm run build && oclif manifest"},"_npmUser":{"name":"soraliu","email":"soraliu.dev@gmail.com"},"repository":{"url":"git+https://github.com/astro-tpl/ac.git","type":"git"},"_npmVersion":"10.9.3","description":"AI Context CLI - A CLI tool for managing AI programming context and prompts","directories":{},"_nodeVersion":"22.19.0","dependencies":{"ink":"^6.2.3","react":"^19.1.1","table":"^6.9.0","tslib":"^2.8.1","js-yaml":"^4.1.0","fuzzysort":"^2.0.4","clipboardy":"^4.0.0","pinyin-pro":"^3.27.0","simple-git":"^3.20.0","@oclif/core":"^4.5.2","ink-text-input":"^6.0.0","@oclif/plugin-help":"^6.0.8","@oclif/plugin-update":"^4.7.4","@testing-library/react":"^16.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.6.2","jsdom":"^26.1.0","oclif":"^4.1.0","eslint":"^8.55.0","vitest":"^1.1.0","prettier":"^3.1.1","react-dom":"^19.1.1","tsc-alias":"^1.8.16","typescript":"^5.3.3","@oclif/test":"^3.1.3","@types/node":"^18","@types/jsdom":"^21.1.7","@types/react":"^19.1.12","@types/js-yaml":"^4.0.8","@types/react-dom":"^19.1.9","eslint-config-oclif":"^5.0.0","@oclif/prettier-config":"^0.2.1","eslint-config-oclif-typescript":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/ac_1.0.4_1757074118426_0.19267274267034673","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@astro-tpl/ac","version":"1.0.5","type":"module","publishConfig":{"access":"public"},"description":"AI Context CLI - A CLI tool for managing AI programming context and prompts","keywords":["oclif"],"homepage":"https://github.com/astro-tpl/ac","bugs":{"url":"https://github.com/astro-tpl/ac/issues"},"repository":{"type":"git","url":"git+https://github.com/astro-tpl/ac.git"},"license":"MIT","author":{"name":"AstroTpl"},"exports":"./dist/index.js","bin":{"ac":"bin/run.js"},"dependencies":{"@oclif/core":"^4.5.2","@oclif/plugin-help":"^6.0.8","@oclif/plugin-update":"^4.7.4","@testing-library/react":"^16.3.0","clipboardy":"^4.0.0","fuzzysort":"^2.0.4","ink":"^6.2.3","ink-text-input":"^6.0.0","js-yaml":"^4.1.0","pinyin-pro":"^3.27.0","react":"^19.1.1","simple-git":"^3.20.0","table":"^6.9.0","tslib":"^2.8.1"},"devDependencies":{"@oclif/prettier-config":"^0.2.1","@oclif/test":"^3.1.3","@types/js-yaml":"^4.0.8","@types/jsdom":"^21.1.7","@types/node":"^18","@types/react":"^19.1.12","@types/react-dom":"^19.1.9","eslint":"^8.55.0","eslint-config-oclif":"^5.0.0","eslint-config-oclif-typescript":"^3.0.8","jsdom":"^26.1.0","oclif":"^4.1.0","prettier":"^3.1.1","react-dom":"^19.1.1","tsc-alias":"^1.8.16","tsx":"^4.6.2","typescript":"^5.3.3","vitest":"^1.1.0"},"oclif":{"bin":"ac","dirname":"ac","commands":"./dist/commands","plugins":["@oclif/plugin-help","@oclif/plugin-update"],"topicSeparator":" ","topics":{}},"scripts":{"build":"tsc -b && tsc-alias --resolve-full-paths --resolve-full-extension .js && cp -r src/i18n/*.json dist/i18n/","build:manifest":"oclif manifest","lint":"eslint . --ext .ts","postpack":"rm -f oclif.manifest.json","prepack":"npm run build && oclif manifest && oclif readme","prepublishOnly":"npm run build && oclif manifest","test":"vitest run","version":"oclif readme && git add README.md","dev":"tsx src/index.ts","clean":"rm -rf dist","pack":"oclif pack tarballs","upload":"oclif upload tarballs"},"engines":{"node":">=18.0.0"},"types":"dist/index.d.ts","_id":"@astro-tpl/ac@1.0.5","gitHead":"dd8b2db0d9577aaef2da224090d0c051f8714958","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-XQVZjPgbb6cEPJYwbA2RUzbTcFvf7pxSchvypstZkMKe0WyB0bmqoEgF8jeLNn3qEbGYwhmOax2tNN5ZDAx/Gw==","shasum":"d3f2506c330c7770b3e8aef7e0d004ccb5eb88a5","tarball":"https://registry.npmjs.org/@astro-tpl/ac/-/ac-1.0.5.tgz","fileCount":103,"unpackedSize":351722,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGmKOMdvNR5+7fOH8fryAlDpdvMSJrmnm2ClfrqUqIzwAiEA2PddPNj8mlxAlQ8A86vgJbTjUHIvk/Jd+LYxFCTeG3s="}]},"_npmUser":{"name":"soraliu","email":"soraliu.dev@gmail.com"},"directories":{},"maintainers":[{"name":"soraliu","email":"soraliu.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ac_1.0.5_1757074222455_0.2000543200161753"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-02T14:36:06.944Z","modified":"2025-09-05T12:10:22.899Z","1.0.1":"2025-09-02T14:36:07.235Z","1.0.2":"2025-09-03T04:30:29.451Z","1.0.3":"2025-09-05T06:18:29.256Z","1.0.4":"2025-09-05T12:08:38.744Z","1.0.5":"2025-09-05T12:10:22.681Z"},"bugs":{"url":"https://github.com/astro-tpl/ac/issues"},"author":{"name":"AstroTpl"},"license":"MIT","homepage":"https://github.com/astro-tpl/ac","keywords":["oclif"],"repository":{"type":"git","url":"git+https://github.com/astro-tpl/ac.git"},"description":"AI Context CLI - A CLI tool for managing AI programming context and prompts","maintainers":[{"name":"soraliu","email":"soraliu.dev@gmail.com"}],"readme":"# AC - AI Context CLI\n\nAI Context CLI - A unified command-line tool for managing AI programming contexts and prompts\n\n## Installation\n\n```bash\nnpm install -g @astro-tpl/ac\n```\n\nor\n\n```bash\nnpx @astro-tpl/ac --help\n```\n\n## Usage\n\n### Search Templates\n```bash\n# Search all templates\nac search\n\n# Search by keyword\nac search react\n\n# Search by type\nac search --type context\n\n# Search by labels\nac search --label frontend\n```\n\n### Apply Templates\n```bash\n# Apply context template\nac apply --context template-id\n\n# Apply prompt template\nac apply --prompt template-id\n```\n\n### Manage Repositories\n```bash\n# Add repository\nac repo add <alias> <url>\n\n# List repositories\nac repo list\n\n# Update repository\nac repo update <alias>\n```\n\n### Update CLI\n```bash\nac update\n```\n\n## Features\n\n- 🔍 Intelligent Search - Support keyword, type, and label search\n- 📋 Template Application - Quickly apply context and prompt templates\n- 🗂️ Repository Management - Manage multiple template repositories\n- 🌐 Internationalization - Support for Chinese and English interfaces\n- ⚡ High Performance - Fast search based on fuzzysort\n- 🎯 Smart Matching - Support Chinese pinyin search\n\n## Configuration\n\n### Project Configuration (.ac.yaml)\n```yaml\nrepositories:\n  templates:\n    url: https://github.com/your-org/templates.git\n    branch: main\n```\n\n### Global Configuration (~/.ac/config.yaml)\n```yaml\nlanguage: zh\nrepositories:\n  global-templates:\n    url: https://github.com/global/templates.git\n```\n\n## Development\n\n```bash\n# Install dependencies\npnpm install\n\n# Build\nnpm run build\n\n# Test\nnpm test\n\n# Package\nnpm run pack\n```\n","readmeFilename":"README.md"}