{"_id":"@alexandria-pkg/shared","name":"@alexandria-pkg/shared","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@alexandria-pkg/shared","version":"0.1.0","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./types":{"types":"./dist/types-only.d.ts","import":"./dist/types-only.js"}},"scripts":{"build":"tsc","dev":"tsc --watch","test":"vitest run","test:watch":"vitest"},"devDependencies":{"@types/node":"^20.0.0","typescript":"^5.4.0","vitest":"^2.0.0"},"_id":"@alexandria-pkg/shared@0.1.0","gitHead":"68e55790a1d721548a91e7d88e1a126312f89bf7","description":"Shared TypeScript contracts for the Alexandria system. Provides canonical types and runtime utilities used across CLI, MCP, and Orchestrator packages.","_nodeVersion":"22.18.0","_npmVersion":"11.5.2","dist":{"integrity":"sha512-3fDRC+Y8mhcUUcKQQSDyAr+V8KhFSzOe/opAEdUXvruigEYTZhAv7UYU+hKfFpan/3wjgEW3clg6Wx+9GGsVkg==","shasum":"c9cbcda0ce74de179992bc5141a5a455f93cdd73","tarball":"https://registry.npmjs.org/@alexandria-pkg/shared/-/shared-0.1.0.tgz","fileCount":62,"unpackedSize":89044,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIG7miSzeHZcFZ8VccSiPL2M7AWw9tp5Jm48d+Fl4KUp9AiEAqNL521ZfZrETvOUi1Ukst4es79+wIgZqET3+JU1bpS0="}]},"_npmUser":{"name":"ealexwashere","email":"alexvictor1904@gmail.com"},"directories":{},"maintainers":[{"name":"ealexwashere","email":"alexvictor1904@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/shared_0.1.0_1771413507880_0.5489889105254973"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-18T11:18:27.780Z","0.1.0":"2026-02-18T11:18:28.035Z","modified":"2026-02-18T11:18:28.263Z"},"maintainers":[{"name":"ealexwashere","email":"alexvictor1904@gmail.com"}],"description":"Shared TypeScript contracts for the Alexandria system. Provides canonical types and runtime utilities used across CLI, MCP, and Orchestrator packages.","readme":"# @alexandria-pkg/shared\n\nShared TypeScript contracts for the Alexandria system. Provides canonical types and runtime utilities used across CLI, MCP, and Orchestrator packages.\n\n## Install\n\nnpm install @alexandria-pkg/shared\n\n## Entrypoints\n\nFull package (types + runtime utilities):\n  import { OrchestratorRequest, buildSystemState, makeActionResult } from '@alexandria-pkg/shared';\n\nTypes only (zero runtime code):\n  import type { OrchestratorRequest, ContextPackage, SystemStateV1 } from '@alexandria-pkg/shared/types';\n\n## Key Exports\n\nTypes: OrchestratorRequest, OrchestratorResponse, ContextPackage, SystemStateV1, ActionResult, Recipe, PlanV1\n\nRuntime: buildSystemState, deriveRuntimeMode, makeActionResult, makeSuccessResult, makeErrorResult, findRepoRoot\n\n## Requirements\n\n- Node.js >= 20.0.0\n- TypeScript with moduleResolution: \"NodeNext\"\n","readmeFilename":"README.md","_rev":"1-a57043a9cbf682784ad86348b8917745"}