{
  "name": "akm-cli",
  "version": "0.10.261138",
  "type": "module",
  "description": "akm (Agent Knowledge Manager) — a portable, local-first capability library for AI agents. Discover, load, share, and improve reusable skills, scripts, workflows, and knowledge across any shell-capable coding agent, including Claude Code, OpenCode, and Cursor.",
  "keywords": [
    "akm",
    "agent-knowledge-management",
    "agent-kit-manager",
    "akm-cli",
    "ai-agent",
    "ai-tools",
    "agent-framework",
    "package-manager",
    "developer-tools",
    "cli",
    "skills",
    "commands",
    "claude-code",
    "opencode",
    "ai-coding-assistant",
    "agent-skills",
    "skill-management",
    "capability-library",
    "agent-capabilities"
  ],
  "homepage": "https://github.com/itlackey/akm#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/itlackey/akm.git"
  },
  "bugs": {
    "url": "https://github.com/itlackey/akm/issues"
  },
  "license": "MPL-2.0",
  "pinNotes": {
    "better-sqlite3@13.0.3": "Exact pin. The SQLite driver akm loads on Node (src/storage/database.ts); Bun uses bun:sqlite and never loads it. 13.x is built on N-API (node-addon-api), so one binding per platform serves every Node version, and the npm tarball carries those bindings prebuilt in prebuilds/ for Linux (glibc and musl) and macOS on x64 and arm64 and for Windows on x64 and arm64. It declares no install script and sets gypfile: false, so it installs the same where npm runs install scripts and where it does not (npm 12 blocks dependency scripts by default). Not covered: 32-bit ARM Linux (linux-arm, linuxmusl-arm), which 12.x served only through its install script; akm under Node has no SQLite driver there. `bun install` tries to build it anyway (Bun ignores gypfile: false for a trusted package) and, as an optional dependency, drops it silently when that fails, which is why CI installs it with npm. This replaced 12.11.1, whose binding came per Node ABI from its install script (`prebuild-install || node-gyp rebuild`, #790); the earlier note asked for a soak before 13.x, and 13.0.3 soaks through the 0.10 betas instead. Before bumping: the tarball must still carry prebuilds/ for every platform above and declare no install script, and the CI node-smoke job, which installs this exact string read back out of this file (.github/workflows/ci.yml), must pass on every Node major in engines.",
    "@huggingface/tokenizers@0.1.3": "Exact pin: the tokenizer of the local embedding model (src/llm/embedders/local.ts). Pure JS with no dependencies. A different release can change the token ids and with them every stored vector, so re-run the real-model semantic gate (tests/integration/semantic-search-e2e.test.ts, which compares the vectors with tests/fixtures/embedder-reference-vectors.json) before changing it.",
    "ajv@8.20.0": "Exact pin (devDependency, used only by tests: tests/tasks-schema.test.ts validates task sources against schemas/akm-task.json, tests/contracts/config-schema-drift.test.ts checks schemas/akm-config.json). Pinned in 4d7d77992 without a recorded reason; keep exact until the pin is next reviewed.",
    "cmd-shim@9.0.2": "Exact pin (devDependency), from cd5a3be12 \"pin cmd-shim for launcher tests\": tests/integration/install/package-launcher.test.ts writes the Windows shims npm would write with this package, where it used to load the copy inside the installed npm's own node_modules. That commit records no reason for an exact version over a range; keep exact until the pin is next reviewed."
  },
  "files": [
    "dist",
    "README.md",
    "CHANGELOG.md",
    "SECURITY.md",
    "STABILITY.md",
    "LICENSE",
    "docs/agents",
    "docs/architecture",
    "docs/guides",
    "docs/integration",
    "docs/maintainers",
    "docs/migration",
    "docs/posts",
    "docs/reference",
    "docs/reviews/cli-surface-recommendations-2026-11-11.md",
    "docs/product-surface.md",
    "schemas"
  ],
  "exports": {
    "./workspace": {
      "types": "./dist/workspace.d.ts",
      "bun": "./dist/workspace.js",
      "default": "./dist/workspace-node.mjs"
    },
    "./api": {
      "types": "./dist/api.d.ts",
      "bun": "./dist/api.js",
      "default": "./dist/api-node.mjs"
    },
    "./package.json": "./package.json",
    "./dist/*": "./dist/*"
  },
  "bin": {
    "akm": "dist/akm",
    "akm-migrate": "dist/akm-migrate"
  },
  "scripts": {
    "desktop:setup": "cd desktop && bun run prepare:core",
    "build": "rm -rf dist && bun scripts/gen-config-schema.ts && bun run tsc --project ./tsconfig.build.json && bun scripts/copy-assets.ts && bun scripts/fix-esm-extensions.ts",
    "check": "bun run lint && bunx tsc --noEmit && bun run test:unit",
    "test:architecture": "bun test tests/integration/architecture/persisted-fields.test.ts tests/integration/architecture/stdio-owner.test.ts tests/integration/architecture/secret-resolver-boundary.test.ts",
    "report:complexity": "bun scripts/fta-report.ts",
    "check:changed": "bun run lint && bunx tsc --noEmit && bun test tests/integration/output-baseline.test.ts tests/integration/registry/registry-search.test.ts tests/integration/show-argv-entrypoint.test.ts tests/output-shapes-unit.test.ts",
    "check:ci": "bash scripts/check-like-ci.sh",
    "sweep:tmp": "bun scripts/sweep-test-tmp.ts",
    "test": "bash scripts/test-unit.sh",
    "test:unit": "bash scripts/test-unit.sh",
    "test:integration": "bash scripts/test-integration.sh",
    "test:node-smoke": "bun scripts/node-smoke.ts",
    "test:node-compat": "AKM_NODE_COMPAT_TESTS=1 bun test --timeout=120000 tests/integration/node-compat.test.ts",
    "lint:doc-examples": "bun scripts/lint-doc-examples.ts",
    "publish:devto": "npx -y @sinedied/devto-cli push \"docs/posts/**/*.md\" --token \"$DEVTO_TOKEN\" --repo \"$GITHUB_REPOSITORY\" --branch \"${GITHUB_REF_NAME:-main}\" --reconcile",
    "release:check": "./tests/release-check.sh",
    "release:start": "bash scripts/release.sh start",
    "release:prerelease": "bash scripts/release.sh prerelease",
    "release:stable": "bash scripts/release.sh stable",
    "lint": "bunx biome check src/ tests/ scripts/ desktop/ && bun scripts/lint-secret-resolver-boundary.ts && bun scripts/lint-stdio-owner.ts && bun scripts/lint-shipped-assets.ts && bun scripts/lint-doc-examples.ts && bun scripts/lint-lockfile.ts && bun scripts/lint-asset-io.ts",
    "lint:fix": "bunx biome check --write src/ tests/ scripts/ desktop/",
    "format": "bunx biome format --write src/ tests/ scripts/ desktop/",
    "prepublishOnly": "cp .github/README.npm.md README.md && bun run build",
    "postpublish": "git checkout -- README.md",
    "build:install": "bun scripts/package-install.ts install-global",
    "test:package": "bun scripts/package-install.ts test-package",
    "quality:coverage": "bun scripts/quality/coverage.ts",
    "quality:complexity": "bun scripts/quality/complexity.ts",
    "quality:duplication": "bun scripts/quality/duplication.ts",
    "quality:dead-code": "bun scripts/quality/dead-code.ts",
    "quality:compare": "bun scripts/quality/compare.ts",
    "test:workspace-package": "AKM_WORKSPACE_PACKAGE_TESTS=1 bun test --timeout=300000 tests/integration/install/workspace-package.test.ts"
  },
  "publishConfig": {
    "access": "public"
  },
  "devDependencies": {
    "@biomejs/biome": "^2.4.14",
    "@types/node": "^22.19.17",
    "@types/semver": "^7.5.8",
    "@types/turndown": "^5.0.6",
    "ajv": "8.20.0",
    "bun-types": "^1.3.13",
    "cmd-shim": "9.0.2",
    "fta-cli": "3.1.0",
    "typescript": "^5.9.3"
  },
  "optionalDependencies": {
    "better-sqlite3": "13.0.3",
    "sqlite-vec": "^0.1.9"
  },
  "engines": {
    "node": ">=22.15"
  },
  "dependencies": {
    "@clack/prompts": "^1.3.0",
    "@huggingface/tokenizers": "0.1.3",
    "citty": "^0.2.2",
    "dotenv": "^17.4.2",
    "fast-xml-parser": "^5.10.1",
    "jsonc-parser": "^3.3.1",
    "marked": "^18.1.1",
    "node-html-parser": "^9.0.1",
    "semver": "^7.6.0",
    "smol-toml": "^1.9.1",
    "turndown": "^7.2.4",
    "yaml": "^2.8.4",
    "zod": "^4.6.6"
  }
}
