{"_id":"@48nauts/agent-core","_rev":"2-94284da4590501418213cfedcc0f3963","name":"@48nauts/agent-core","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@48nauts/agent-core","version":"0.1.0","license":"AGPL-3.0-or-later","_id":"@48nauts/agent-core@0.1.0","maintainers":[{"name":"candorian","email":"andre@48nauts.com"}],"dist":{"shasum":"9dce769da656a6ce31fd356abc8fb9adeeda6373","tarball":"https://registry.npmjs.org/@48nauts/agent-core/-/agent-core-0.1.0.tgz","fileCount":43,"integrity":"sha512-KtGvtkYx0IPWnba61P+LG3DCNJpO6S/ZqaNeIsdu5pzkgdvbiluUsR2I6ZMqvTFfA+jsNH1mMGtegLkhwHdIZg==","signatures":[{"sig":"MEQCIFCP8hb5ksjuiAnT4l6PictvJXUZ/wwoGC9qF7BM05M0AiBHzod80RmMiKXoEVtD6CtkeBeXf0izDCWSGMJNmKiIgQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31188},"main":"./dist/index.js","type":"module","_from":"file:48nauts-agent-core-0.1.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./tool":{"types":"./dist/runtime/tool.d.ts","import":"./dist/runtime/tool.js"},"./adapter":{"types":"./dist/adapter/index.d.ts","import":"./dist/adapter/index.js"},"./runtime":{"types":"./dist/runtime/index.d.ts","import":"./dist/runtime/index.js"}},"scripts":{"build":"tsc","typecheck":"tsc --noEmit"},"_npmUser":{"name":"candorian","email":"andre@48nauts.com"},"_resolved":"/private/var/folders/s2/jrxfd0094fl56p_srzt0tlw40000gn/T/ecd9b56c40232ac60708ec1fe007b748/48nauts-agent-core-0.1.0.tgz","_integrity":"sha512-KtGvtkYx0IPWnba61P+LG3DCNJpO6S/ZqaNeIsdu5pzkgdvbiluUsR2I6ZMqvTFfA+jsNH1mMGtegLkhwHdIZg==","_npmVersion":"11.16.0","description":"Agent runtime, workflow primitives, and adapter interfaces. The kernel.","directories":{},"_nodeVersion":"26.3.1","dependencies":{"@sinclair/typebox":"^0.34.0","@earendil-works/pi-ai":"^0.74.0","@earendil-works/pi-agent-core":"^0.74.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.0","@earendil-works/pi-coding-agent":"^0.74.0"},"peerDependencies":{"@earendil-works/pi-coding-agent":"*"},"peerDependenciesMeta":{"@earendil-works/pi-coding-agent":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/agent-core_0.1.0_1783357857418_0.5198195613027747","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@48nauts/agent-core","version":"0.1.1","description":"Agent runtime, workflow primitives, and adapter interfaces. The kernel.","license":"AGPL-3.0-or-later","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./adapter":{"types":"./dist/adapter/index.d.ts","import":"./dist/adapter/index.js"},"./runtime":{"types":"./dist/runtime/index.d.ts","import":"./dist/runtime/index.js"},"./tool":{"types":"./dist/runtime/tool.d.ts","import":"./dist/runtime/tool.js"}},"dependencies":{"@earendil-works/pi-agent-core":"^0.74.0","@earendil-works/pi-ai":"^0.74.0","@sinclair/typebox":"^0.34.0"},"peerDependencies":{"@earendil-works/pi-coding-agent":"*"},"peerDependenciesMeta":{"@earendil-works/pi-coding-agent":{"optional":true}},"devDependencies":{"@earendil-works/pi-coding-agent":"^0.74.0","typescript":"^5.5.0"},"publishConfig":{"access":"public"},"scripts":{"typecheck":"tsc --noEmit","build":"tsc"},"_id":"@48nauts/agent-core@0.1.1","_integrity":"sha512-qciWgvZ4fpl46H/EIhxSdnLXt44VYuXmCoCi2/xIgWo7Dv500FCtWrwuhauePle/ywVJnMqLnYvi3ZDpcO27cA==","_resolved":"/private/var/folders/s2/jrxfd0094fl56p_srzt0tlw40000gn/T/ff126be0b13c44bdf2a605d14ad5875d/48nauts-agent-core-0.1.1.tgz","_from":"file:48nauts-agent-core-0.1.1.tgz","_nodeVersion":"26.3.1","_npmVersion":"11.16.0","dist":{"integrity":"sha512-qciWgvZ4fpl46H/EIhxSdnLXt44VYuXmCoCi2/xIgWo7Dv500FCtWrwuhauePle/ywVJnMqLnYvi3ZDpcO27cA==","shasum":"e1851d77165a24e7cc05409f31b373148b516708","tarball":"https://registry.npmjs.org/@48nauts/agent-core/-/agent-core-0.1.1.tgz","fileCount":43,"unpackedSize":32009,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEG00/4ivsJ5BOw0bxWGXW6P6DOylZ87oa6kOBHZZOwBAiEAjOeRwn3TaUcsSHEpm3OQJNzP6JNgShGgf4AbtxIHz5g="}]},"_npmUser":{"name":"candorian","email":"andre@48nauts.com"},"directories":{},"maintainers":[{"name":"candorian","email":"andre@48nauts.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agent-core_0.1.1_1783358302612_0.7846971934129929"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-06T17:10:57.264Z","modified":"2026-07-06T17:18:22.918Z","0.1.0":"2026-07-06T17:10:57.575Z","0.1.1":"2026-07-06T17:18:22.774Z"},"license":"AGPL-3.0-or-later","description":"Agent runtime, workflow primitives, and adapter interfaces. The kernel.","maintainers":[{"name":"candorian","email":"andre@48nauts.com"}],"readme":"# @48nauts/agent-core\n\nRuntime + workflow primitives + adapter interfaces. The kernel of NautCore — the shared agentic baseline behind 48Nauts products.\n\nWraps `@earendil-works/pi-agent-core` for now. May graduate to a native runtime later (planned: `NativeAgentRuntime`).\n\n## What you get\n\n- **`registerToolsWithPi(tools, opts)`** — bind a set of tools into a Pi (or OpenAI-compatible) agent runtime.\n- **`ToolDef` / `ToolContext`** — the tool shape. Tools receive dependencies (e.g. a DB adapter) via `ctx.extras`, injected per request.\n- **`DbAdapter`** — the database seam. Tools are written against this interface, not a concrete schema, so the same tool works across products and stays tenant-scoped (`requireDb(ctx)`).\n\nPair with `@48nauts/adapter-drizzle` (a `DbAdapter` for Drizzle/Postgres) and the `@48nauts/tools-*` packages (CRUD, generic, Swiss).\n\n## Exports\n\n```ts\nimport { registerToolsWithPi } from \"@48nauts/agent-core\";\nimport { DbAdapter } from \"@48nauts/agent-core/adapter\";\nimport type { ToolDef, ToolContext } from \"@48nauts/agent-core/tool\";\n```\n\n## License\n\nAGPL-3.0-or-later.\n","readmeFilename":"README.md"}