{"_id":"@actx0/nctx0","_rev":"3-33f9f3b6bdf25453f105249517509fcb","name":"@actx0/nctx0","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@actx0/nctx0","version":"0.1.0","author":{"name":"Ahmed","email":"hello@actx0.com"},"license":"Apache-2.0","_id":"@actx0/nctx0@0.1.0","maintainers":[{"name":"actx0","email":"hey@clivern.com"}],"dist":{"shasum":"2de5827ebecfefd6d6048364d1d1f2d4aa79379b","tarball":"https://registry.npmjs.org/@actx0/nctx0/-/nctx0-0.1.0.tgz","fileCount":9,"integrity":"sha512-uJUtiq4VuqjOwHOQY+h6PakMUm7Fm+EnGuC1g4XXlNWB/bsjGyCSwKhsySrqYnm9QyYpXKQ5mam9MRmZepji7g==","signatures":[{"sig":"MEUCIB6GrDAB6GojpvI8Y8jxi6/20KZpzv99ujCVOE4uB9Y0AiEA/0Yd1p430YqLWYysRbB30TbrZ/ap7eVEzyQUSQH44Ik=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":194544},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"e80e366b44331204e665773a2096ea6bc9bd9043","scripts":{"lint":"biome check .","test":"vitest run","build":"tsup","format":"biome format --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"biome format .","prepublishOnly":"npm run build"},"_npmUser":{"name":"actx0","email":"hey@clivern.com"},"_npmVersion":"10.9.8","description":"Node.js client for the Actx0 platform","directories":{},"_nodeVersion":"22.23.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.5","tsup":"^8.5.0","vitest":"^3.2.4","typescript":"^5.9.2","@types/node":"^22.18.1","@biomejs/biome":"^2.2.4"},"_npmOperationalInternal":{"tmp":"tmp/nctx0_0.1.0_1786792357290_0.17294972197686476","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@actx0/nctx0","version":"0.1.1","author":{"name":"Ahmed","email":"hello@actx0.com"},"license":"Apache-2.0","_id":"@actx0/nctx0@0.1.1","maintainers":[{"name":"actx0","email":"hey@clivern.com"}],"dist":{"shasum":"798c8353091d6ff62712d4a2d9207b77d933d3ba","tarball":"https://registry.npmjs.org/@actx0/nctx0/-/nctx0-0.1.1.tgz","fileCount":9,"integrity":"sha512-mP5ZMBNgwtfRX3fqEeZkaz5k6J++vvxCYAGmnyehKMoz2ihGDCjJnL+hWkfS/X3oO+PkU/5BpMul/i8AqHK4kg==","signatures":[{"sig":"MEUCIQDtmWUQfUTNdkzOx0QdkqsIEi1qn5jRbSpDU/s5/msp6QIgYB1j7y8/ZFwK0iG7I6SaZ9DF9lFVmDe4h3DGSHiCsd8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":194772},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a0a65ea9492a393c3916ea0f459615770a20018d","scripts":{"lint":"biome check .","test":"vitest run","build":"tsup","format":"biome format --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"biome format .","prepublishOnly":"npm run build"},"_npmUser":{"name":"actx0","email":"hey@clivern.com"},"_npmVersion":"10.9.8","description":"Node.js client for the Actx0 platform","directories":{},"_nodeVersion":"22.23.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.5","tsup":"^8.5.0","vitest":"^3.2.4","typescript":"^5.9.2","@types/node":"^22.18.1","@biomejs/biome":"^2.2.4"},"_npmOperationalInternal":{"tmp":"tmp/nctx0_0.1.1_1786832627690_0.589822708316986","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@actx0/nctx0","version":"0.1.2","description":"Node.js client for the Actx0 platform","license":"Apache-2.0","author":{"name":"Ahmed","email":"hello@actx0.com"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"scripts":{"build":"tsup","typecheck":"tsc --noEmit","test":"vitest run","test:watch":"vitest","format":"biome format --write .","format:check":"biome format .","lint":"biome check .","prepublishOnly":"npm run build"},"devDependencies":{"@biomejs/biome":"^2.2.4","@types/node":"^22.18.1","tsup":"^8.5.0","tsx":"^4.20.5","typescript":"^5.9.2","vitest":"^3.2.4"},"_id":"@actx0/nctx0@0.1.2","gitHead":"405841fa3bb1657d4808280937d104cd7dd66762","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-/h2lHaKVBGLWqTt1TklObJwb1Cf9RkGRD4V7faaMj7HgKZOXSkZIiT/gAVW+S5SZ30NFGjazKf0Ct3bagMMqUQ==","shasum":"5ddc6d1546deef29e2a2803b06587cdab6a8ae89","tarball":"https://registry.npmjs.org/@actx0/nctx0/-/nctx0-0.1.2.tgz","fileCount":9,"unpackedSize":194772,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFpIGIURxdYNe+aVkzo6BHxBVhQagm5LOoWno7AKtiVhAiEAucZcVUsNlB+oQq/eMvv3ob85IEVUrbTm8S7h+SGP3us="}]},"_npmUser":{"name":"actx0","email":"hey@clivern.com"},"directories":{},"maintainers":[{"name":"actx0","email":"hey@clivern.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nctx0_0.1.2_1786834715852_0.20753669690186616"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-15T11:12:37.178Z","modified":"2026-08-15T22:58:36.137Z","0.1.0":"2026-08-15T11:12:37.442Z","0.1.1":"2026-08-15T22:23:47.847Z","0.1.2":"2026-08-15T22:58:36.006Z"},"author":{"name":"Ahmed","email":"hello@actx0.com"},"license":"Apache-2.0","description":"Node.js client for the Actx0 platform","maintainers":[{"name":"actx0","email":"hey@clivern.com"}],"readme":"### Nctx0 Package\n\nNode.js client for the Actx0 platform.\n\n#### Install\n\n```bash\nnpm install @actx0/nctx0\n```\n\n#### Usage\n\n```ts\nimport { knowledge } from \"@actx0/nctx0\";\n\nconst client = knowledge({\n  accessKey: \"your-access-key\",\n  workspaceId: \"your-workspace-id\",\n});\n\nconst docs = await client.list();\n```\n\nOr use the full client when you need multiple API areas:\n\n```ts\nimport { Nctx0Client } from \"@actx0/nctx0\";\n\nconst client = new Nctx0Client({\n  accessKey: \"your-access-key\",\n  workspaceId: \"your-workspace-id\",\n});\n\nawait client.health();\nawait client.knowledge.list();\n```\n\n#### Examples\n\nFill in `ACCESS_KEY`, `WORKSPACE_ID`, and (for chat examples) `OPENROUTER_KEY` in the example files, then:\n\n```bash\nnpx tsx examples/01_me.ts\nnpx tsx examples/02_docs.ts\nnpx tsx examples/03_agents.ts\nnpx tsx examples/04_prompts.ts\nnpx tsx examples/07_sessions.ts\n```\n\nInteractive assistants (also need indexed docs from `02_docs.ts`):\n\n```bash\nnpx tsx examples/05_messages_list.ts\nnpx tsx examples/05_messages_search.ts\nnpx tsx examples/06_memories_list.ts\nnpx tsx examples/06_memories_search.ts\n```\n\n#### Development\n\n```bash\nnpm install\nnpm run typecheck\nnpm test\nnpm run build\n```\n\nTests start a local mock API server automatically. To run against your own local Actx0 server:\n\n```bash\nNCTX0_BASE_URL=http://127.0.0.1:8000 npm test\n```\n","readmeFilename":"README.md"}