{"_id":"@aimount/engine","name":"@aimount/engine","dist-tags":{"alpha":"0.1.0-alpha.0","latest":"0.1.0-alpha.0"},"versions":{"0.1.0-alpha.0":{"name":"@aimount/engine","private":false,"version":"0.1.0-alpha.0","type":"module","description":"Provider-neutral execution engine shell for aimount runtimes","publishConfig":{"access":"public"},"main":"./dist/index.cjs.js","module":"./dist/index.es.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.es.js","require":"./dist/index.cjs.js","default":"./dist/index.es.js"},"./package.json":"./package.json"},"scripts":{"build":"vite build","test":"bun test src"},"dependencies":{"@aimount/core":"0.1.0"},"devDependencies":{"@tsconfig/strictest":"^2.0.8","typescript":"^5.9.3","vite":"^7.2.6","vite-plugin-dts":"^4.5.4"},"_id":"@aimount/engine@0.1.0-alpha.0","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-Xkvw7luR3WMil2gnIe2+OsHZxK77C/R2Z4bkNLjADbAtz5F3hJpt5+dzdLVmG74iA56bWewOPDsi8IYnmhEGzA==","shasum":"ad6f71a4503f49866748a5c85d358d9483898e0b","tarball":"https://registry.npmjs.org/@aimount/engine/-/engine-0.1.0-alpha.0.tgz","fileCount":2,"unpackedSize":3004,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDppvgWwWskH4Acj2LHUefExfyI+kRsJVRdsrGVe89dKAIhAL8TE9PMD6iSp4RhF6L07cvB3WRukOb2Ab7j/TiQpkOI"}]},"_npmUser":{"name":"akhmanov","email":"bulat.akhmanov@gmail.com"},"directories":{},"maintainers":[{"name":"akhmanov","email":"bulat.akhmanov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/engine_0.1.0-alpha.0_1777209918291_0.7497394722669051"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-26T13:25:18.186Z","0.1.0-alpha.0":"2026-04-26T13:25:18.442Z","modified":"2026-04-26T13:25:18.678Z"},"maintainers":[{"name":"akhmanov","email":"bulat.akhmanov@gmail.com"}],"description":"Provider-neutral execution engine shell for aimount runtimes","readme":"# @aimount/engine\n\n`@aimount/engine` is the provider-neutral execution core for aimount runtimes.\n\nFor the normative package contract, see [ARCH.md](./ARCH.md).\n\n## Role\n\nThis package owns execution semantics that are independent of any specific provider framework.\n\n## Owns\n\n- provider-neutral provider event, request, and port types\n- continuation reconstruction and replay eligibility\n- deterministic context-window selection\n- internal runtime-event mapping and stream-state finalization\n- the inline execution driver that emits canonical runtime events and final completion state\n\n## Does not own\n\n- HTTP or gRPC transport publishing\n- provider-framework adapters\n- host-specific request wiring\n- proxy-specific behavior\n- persistence, queues, leases, and durable worker behavior\n- framework-specific message conversion or tool mapping\n\n## Dependency direction\n\n`@aimount/engine` depends on `@aimount/core` for canonical runtime model contracts. Adapter packages such as `@aimount/engine-aisdk` depend on `@aimount/engine`, while compatibility packages such as `@aimount/runtime` stay above the core-owned model layer for protocol, wire, and codec entrypoints.\n\n## Runtime API relation\n\nThe engine executes semantics that surface through the canonical `RuntimeApi`, but it does so through provider-neutral inputs and outputs rather than transport or provider SDK types.\n\n## Tool execution relation\n\nThe engine owns canonical tool lifecycle semantics, but concrete provider bindings stay in adapter packages above this layer.\n\n## Status\n\nExperimental execution core implemented in the `aw` worktree extraction branch.\n\nThe package remains experimental while the extraction and cloud cutover are in progress.\n\n## Current public surface\n\n- provider-neutral provider event types\n- engine request and provider port types\n- continuation and context-window helpers\n- inline execution via `executeEngineInline(...)`\n\n## Current implementation boundary\n\nThis package intentionally keeps provider-framework code out of the base layer. AI SDK conversion, `streamText(...)`, and AI SDK chunk normalization live in `@aimount/engine-aisdk` instead.\n","readmeFilename":"README.md","_rev":"1-035beca4f90e3d240e0429c0f0192e41"}