{"_id":"@agentic-survey/core","_rev":"3-4a42d868ecb9a60ced9822d161047408","name":"@agentic-survey/core","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@agentic-survey/core","version":"0.1.0","keywords":["survey","supabase","mcp","forms","service-layer"],"author":{"name":"Monty Daley","email":"monty@daley.org.nz"},"license":"MIT","_id":"@agentic-survey/core@0.1.0","maintainers":[{"name":"netmonty","email":"monty@daley.org.nz"}],"homepage":"https://www.mcpsurveys.com","bugs":{"url":"https://github.com/netmonty/agentic-survey-mcp/issues"},"dist":{"shasum":"4cb9ceaa30fcb11f7fabaf8ec56c2083694da77c","tarball":"https://registry.npmjs.org/@agentic-survey/core/-/core-0.1.0.tgz","fileCount":21,"integrity":"sha512-ZJdN8tibmpOziLs7CXDI09ztNacuKFE0Zz/7GruzDnm4e4Ru3o1oaODM5sSaKdAlDqtCI7UzwktBQs8Y9pT7hA==","signatures":[{"sig":"MEQCIBeSeWXaV2RDlLZmmW8dW2Td7SWgT2cxkC5sUEw0ei0fAiBNlyMm+ewSTKqiMT9j638LCPGKUm5C6KPDBFQwM/dSsA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26219},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"c520397c0a2ab6788853fd45ebb69f01d3b0bff0","scripts":{"test":"node --import tsx --env-file-if-exists=../../.env --test src/**/*.test.ts","build":"tsc -b","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"tsc -b"},"_npmUser":{"name":"netmonty","email":"monty@daley.org.nz"},"repository":{"url":"git+https://github.com/netmonty/agentic-survey-mcp.git","type":"git","directory":"packages/core"},"_npmVersion":"10.9.2","description":"Pure TypeScript service layer for survey logic. No MCP, no HTTP, no framework types.","directories":{},"_nodeVersion":"22.16.0","dependencies":{"@supabase/supabase-js":"^2.45.0","@agentic-survey/schema":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/core_0.1.0_1781171081088_0.7302803071618111","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@agentic-survey/core","version":"0.1.1","keywords":["survey","supabase","mcp","forms","service-layer"],"author":{"name":"Monty Daley","email":"monty@daley.org.nz"},"license":"MIT","_id":"@agentic-survey/core@0.1.1","maintainers":[{"name":"netmonty","email":"monty@daley.org.nz"}],"homepage":"https://www.mcpsurveys.com","bugs":{"url":"https://github.com/netmonty/agentic-survey-mcp/issues"},"dist":{"shasum":"031ccc1a44bdfa24894e30d68cca4ee06766d310","tarball":"https://registry.npmjs.org/@agentic-survey/core/-/core-0.1.1.tgz","fileCount":23,"integrity":"sha512-tLZCE+nV1t42low0QdN714yOaN2530fH+RV/pswYGhUn/PNNQIfkZCrCj+266Mw7MKhQoAHi6Y9hHrwzjkwhcg==","signatures":[{"sig":"MEUCIDKSyo5kB5UvCfljadmZD9Jm92nfbek9NbOZe4bU3MQ6AiEAoynks1Ys+7OvwtU05HqtHEH+q0VnhKV/NWzHxwuVh44=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31102},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"28510be76030cffb04c5c5e5ce4fe3c52678a6ae","scripts":{"test":"node --import tsx --env-file-if-exists=../../.env --test src/**/*.test.ts","build":"tsc -b","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"tsc -b"},"_npmUser":{"name":"netmonty","email":"monty@daley.org.nz"},"repository":{"url":"git+https://github.com/netmonty/agentic-survey-mcp.git","type":"git","directory":"packages/core"},"_npmVersion":"10.9.2","description":"Pure TypeScript service layer for survey logic. No MCP, no HTTP, no framework types.","directories":{},"_nodeVersion":"22.16.0","dependencies":{"@supabase/supabase-js":"^2.45.0","@agentic-survey/schema":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/core_0.1.1_1781190242749_0.5931171941208389","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@agentic-survey/core","version":"0.1.2","description":"Pure TypeScript service layer for survey logic. No MCP, no HTTP, no framework types.","license":"MIT","author":{"name":"Monty Daley","email":"monty@daley.org.nz"},"homepage":"https://www.mcpsurveys.com","repository":{"type":"git","url":"git+https://github.com/netmonty/agentic-survey-mcp.git","directory":"packages/core"},"bugs":{"url":"https://github.com/netmonty/agentic-survey-mcp/issues"},"keywords":["survey","supabase","mcp","forms","service-layer"],"publishConfig":{"access":"public"},"engines":{"node":">=20"},"type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"tsc -b","typecheck":"tsc -p tsconfig.json --noEmit","test":"node --import tsx --env-file-if-exists=../../.env --test src/**/*.test.ts","prepublishOnly":"tsc -b"},"dependencies":{"@agentic-survey/schema":"^0.1.0","@supabase/supabase-js":"^2.45.0"},"_id":"@agentic-survey/core@0.1.2","gitHead":"89ce6859dd7de5ebbc008d18f50dfd204cde791c","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-lcHtzJCeYjRzUyIFDs3fPDl/1nVKOGoSHScObie6Lw/BBQlR6Atp8tvJYR+yXStoWpKtLbqqM2utEoA7Htdrfg==","shasum":"de5f87a1967013b4969a6cd6f913dc1a10eca37b","tarball":"https://registry.npmjs.org/@agentic-survey/core/-/core-0.1.2.tgz","fileCount":23,"unpackedSize":31475,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIC0vn//hKAmc1slCjSeGUlo7krhcYnH0QBqx2BsUxgi7AiA9qdLSNjveH0fK30hmrJHSudYS6+rkO3YwysTMkU2bPA=="}]},"_npmUser":{"name":"netmonty","email":"monty@daley.org.nz"},"directories":{},"maintainers":[{"name":"netmonty","email":"monty@daley.org.nz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.1.2_1781298814135_0.6097959530470689"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-11T09:44:40.878Z","modified":"2026-06-12T21:13:34.436Z","0.1.0":"2026-06-11T09:44:41.268Z","0.1.1":"2026-06-11T15:04:02.898Z","0.1.2":"2026-06-12T21:13:34.271Z"},"bugs":{"url":"https://github.com/netmonty/agentic-survey-mcp/issues"},"author":{"name":"Monty Daley","email":"monty@daley.org.nz"},"license":"MIT","homepage":"https://www.mcpsurveys.com","keywords":["survey","supabase","mcp","forms","service-layer"],"repository":{"type":"git","url":"git+https://github.com/netmonty/agentic-survey-mcp.git","directory":"packages/core"},"description":"Pure TypeScript service layer for survey logic. No MCP, no HTTP, no framework types.","maintainers":[{"name":"netmonty","email":"monty@daley.org.nz"}],"readme":"# @agentic-survey/core\n\nPure TypeScript service layer for [agentic-survey-mcp](https://github.com/netmonty/agentic-survey-mcp). All the survey logic (create, publish, collect, aggregate) over an injected Supabase client. No MCP, no HTTP, no framework types. Functions return a typed `Result` and never throw.\n\nMost people want [`@agentic-survey/mcp-server`](https://www.npmjs.com/package/@agentic-survey/mcp-server) instead. Use this directly only if you're building your own integration on top of the survey model.\n\n```ts\nimport { createDb, createSurvey, getResults } from '@agentic-survey/core';\n\nconst db = createDb(supabaseUrl, secretKey);\nconst survey = await createSurvey(db, { title: 'NPS' });\n```\n\n[MIT](./LICENSE). Docs and issues on [GitHub](https://github.com/netmonty/agentic-survey-mcp).\n","readmeFilename":"README.md"}