{"_id":"@1kbirds/chidori-mock-linear","name":"@1kbirds/chidori-mock-linear","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@1kbirds/chidori-mock-linear","version":"0.1.0","description":"Linear mock app and tools for Chidori TypeScript agents.","license":"Apache-2.0","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./ui":{"types":"./dist/ui/index.d.ts","import":"./dist/ui/index.js"},"./ui/styles.css":"./dist/ui/styles.css"},"scripts":{"build":"tsc -p tsconfig.json && cp src/ui/styles.css dist/ui/styles.css","test":"vitest run","dev":"vite --host 127.0.0.1 --port 5177"},"peerDependencies":{"react":">=18","react-dom":">=18"},"devDependencies":{"@types/react":"^19.1.0","@types/react-dom":"^19.1.0","@vitejs/plugin-react":"^5.0.0","react":"^19.1.0","react-dom":"^19.1.0","typescript":"^5.8.0","vite":"^7.0.0","vitest":"^3.2.0"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/ThousandBirdsInc/chidori-mock.git","directory":"packages/linear"},"homepage":"https://github.com/ThousandBirdsInc/chidori-mock/tree/main/packages/linear","bugs":{"url":"https://github.com/ThousandBirdsInc/chidori-mock/issues"},"gitHead":"8372363edcf88d9d62d9d55902f88e9c14c0d030","_id":"@1kbirds/chidori-mock-linear@0.1.0","_nodeVersion":"26.3.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-j+kQJMUUSWTabR7bASY2MndsDydcMkRKREb7uEae0uuqq151q6nNcET4lImWcnQeuOy1JqgL+aswPhSDHAx1Xw==","shasum":"d518c6fc52db86c4b2f3ed812724dadf4378a4bc","tarball":"https://registry.npmjs.org/@1kbirds/chidori-mock-linear/-/chidori-mock-linear-0.1.0.tgz","fileCount":49,"unpackedSize":113181,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBXW9Ht089pFbt7kxqCYgel98js9sQDIP+K8Mp0qt2k9AiEAr1f3krSGbXHAlAuqqI/iTL84km9UA5l9DotjMAAjMgE="}]},"_npmUser":{"name":"thousandbirds","email":"colton@thousandbirds.ai"},"directories":{},"maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/chidori-mock-linear_0.1.0_1781924278936_0.9639822796104478"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-20T02:57:58.744Z","0.1.0":"2026-06-20T02:57:59.073Z","modified":"2026-06-20T02:57:59.347Z"},"maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"description":"Linear mock app and tools for Chidori TypeScript agents.","homepage":"https://github.com/ThousandBirdsInc/chidori-mock/tree/main/packages/linear","repository":{"type":"git","url":"git+https://github.com/ThousandBirdsInc/chidori-mock.git","directory":"packages/linear"},"bugs":{"url":"https://github.com/ThousandBirdsInc/chidori-mock/issues"},"license":"Apache-2.0","readme":"# @1kbirds/chidori-mock-linear\n\nIn-memory Linear mock for agent testing. The package provides:\n\n- A deterministic in-memory issue tracker.\n- A Linear-like client facade.\n- A GraphQL-style API adapter.\n- A React Linear review UI.\n- Seed data for users, teams, workflow states, projects, cycles, labels, issues, and comments.\n\n## Supported Surface\n\nClient methods:\n\n- `viewer`\n- `users`\n- `teams`\n- `workflowStates`\n- `projects`\n- `cycles`\n- `labels`\n- `issues`\n- `issue`\n- `issueCreate`\n- `issueUpdate`\n- `issueArchive`\n- `comments`\n- `commentCreate`\n- `graphql`\n\nGraphQL-style endpoint:\n\n- `POST /graphql`\n\nThe adapter routes common operation names such as `viewer`, `teams`, `issues`, `issue`, `issueCreate`, `issueUpdate`, `issueArchive`, `commentCreate`, and `comments`.\n\n## Review\n\nRun verification:\n\n```sh\nnpm run build\nnpm test\n```\n\nStart the React review app:\n\n```sh\nnpm run dev:linear\n```\n\nThen open `http://127.0.0.1:5177/`.\n\nManual review should confirm:\n\n- Seeded teams, workflow states, project, cycle, labels, issues, and comments render.\n- Creating an issue assigns the next team identifier.\n- Updating state, assignee, priority, and description mutates shared service state.\n- Comments can be added to an issue.\n- Archived issues disappear from the default board.\n- Reset restores deterministic seeded state.\n\n## Fidelity Notes\n\nThe mock intentionally keeps all state in memory. It focuses on common Linear workflows agents need to rehearse: listing teams/issues, creating issues, changing status/assignee/priority, adding comments, archiving issues, and filtering issues. Full Linear GraphQL schema parity, attachments, documents, notifications, integrations, views, roadmap features, and OAuth are deferred.\n","readmeFilename":"README.md","_rev":"1-b23726894d1aca571ae012a3ccee9b8d"}