@cascaide-ts/postgres-js
v0.5.1
Published
Cascaide is a fullstack agent runtime and AI orchestration framework in typescript.
Readme
@cascaide-ts/postgres-js
Cascaide is a fullstack agent runtime and AI orchestration framework in typescript.
cascaide-ts/postgres-js provides the postgres backed durability layer for cascade executions. Used to create the persistence api route.
Installation
npm i @cascaide-ts/postgres-jsExample Use
import { createPersistenceHandler } from '@cascaide-ts/server-next';
import { PostgresPersistor } from '@cascaide-ts/postgres-js';
import { sql } from '@/lib/pglite';
const persistor = new PostgresPersistor(sql);
export const POST =createPersistenceHandler(persistor);
