feat(agent): prepare SQLite storage package for publishing

This commit is contained in:
Mario Zechner
2026-07-21 14:13:14 +02:00
parent 8495f9d0d6
commit 109c4125d2
10 changed files with 94 additions and 81 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ npm install @earendil-works/pi-agent-core
### SQLite session backends
The SQLite session backend and the `node:sqlite` adapter live in a separate package, `@earendil-works/pi-agent-sqlite-node`, so the core package does not pull in runtime builtins or native SQLite dependencies by default. The backend accepts a runtime-specific SQLite factory, allowing other storage backends to ship as their own packages in the future.
The SQLite session backend and the `node:sqlite` adapter live in a separate package, `@earendil-works/pi-storage-sqlite-node`, so the core package does not pull in runtime builtins or native SQLite dependencies by default. The backend accepts a runtime-specific SQLite factory, allowing other storage backends to ship as their own packages in the future.
## Quick Start
@@ -0,0 +1,7 @@
# Changelog
## [Unreleased]
### Added
- Added a Node.js SQLite storage backend for agent harness sessions, including migrations and materialized session views ([#6594](https://github.com/earendil-works/pi/pull/6594) by [@cristinaponcela](https://github.com/cristinaponcela)).
+1 -1
View File
@@ -1,4 +1,4 @@
# @earendil-works/pi-agent-sqlite-node
# @earendil-works/pi-storage-sqlite-node
Node sqlite storage backend for `@earendil-works/pi-agent-core` sessions. Provides the
`node:sqlite` adapter (`SqliteDatabase` implementation) and the SQLite session
+3 -2
View File
@@ -1,5 +1,5 @@
{
"name": "@earendil-works/pi-agent-sqlite-node",
"name": "@earendil-works/pi-storage-sqlite-node",
"version": "0.80.10",
"description": "Node sqlite storage backend for @earendil-works/pi-agent-core sessions",
"type": "module",
@@ -13,7 +13,8 @@
},
"files": [
"dist",
"README.md"
"README.md",
"CHANGELOG.md"
],
"scripts": {
"clean": "node -e \"import('node:fs/promises').then(fs=>fs.rm('dist',{recursive:true,force:true}))\"",