Skip to content

Commit

Permalink
Scaffold package
Browse files Browse the repository at this point in the history
  • Loading branch information
tedspare committed Oct 2, 2024
1 parent b7286e2 commit 5f41aa8
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
19 changes: 19 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# TODO

inspired by mem0

- [ ] upsert memory
- [ ] agency to demo the thing
- [ ] dep on prisma
- [ ] expose methods to CRUD mems
- [ ] visualize memos in demo

## Definition of Success

able to dump in facts and see blobs show up in relation to each other

## Examples

- "I went to Balthazar with G on the 10th of March 2023"
- "my cousin Suzy does not like cranberries"
- "I am vegan. ... (2 hours _later_) I am no longer vegan."
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
console.log("Hello world!");
export const memory = () => 'memory'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"private": false,
"type": "module",
"devDependencies": {
"@types/bun": "latest"
"@types/bun": "^1.1.10"
},
"peerDependencies": {
"typescript": "^5.0.0"
Expand Down
6 changes: 6 additions & 0 deletions tests/index.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import {expect, test} from 'bun:test'
import {memory} from '../'

test('exports a function', () => {
expect(typeof memory).toBe('function')
})

0 comments on commit 5f41aa8

Please sign in to comment.