ai-database 0.2.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > ai-database@0.2.0 build /Users/nathanclevenger/projects/mdx.org.ai/primitives/packages/ai-database
3
+ > ai-database@2.0.1 build /Users/nathanclevenger/projects/primitives.org.ai/packages/ai-database
4
4
  > tsc -p tsconfig.json
5
5
 
package/CHANGELOG.md ADDED
@@ -0,0 +1,16 @@
1
+ # ai-database
2
+
3
+ ## 2.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - ai-functions@2.0.2
9
+
10
+ ## 2.0.1
11
+
12
+ ### Patch Changes
13
+
14
+ - fixed dependencies
15
+ - Updated dependencies
16
+ - ai-functions@2.0.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-database",
3
- "version": "0.2.0",
3
+ "version": "2.0.2",
4
4
  "description": "AI-powered database interface primitives with mdxld conventions",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -24,7 +24,7 @@
24
24
  "clean": "rm -rf dist"
25
25
  },
26
26
  "dependencies": {
27
- "ai-functions": "workspace:*",
27
+ "ai-functions": "2.0.2",
28
28
  "mdxld": "^1.0.1",
29
29
  "rpc.do": "^0.1.0"
30
30
  },
@@ -1,102 +0,0 @@
1
-
2
- > ai-database@0.0.1 test /Users/nathanclevenger/projects/mdx.org.ai/primitives/packages/ai-database
3
- > vitest
4
-
5
-
6
- DEV v2.1.9 /Users/nathanclevenger/projects/mdx.org.ai/primitives/packages/ai-database
7
-
8
- ✓ src/schema.test.ts (83 tests) 13ms
9
- ✓ src/memory-provider.test.ts (81 tests) 197ms
10
- ❯ src/index.test.ts (47 tests | 1 failed) 13ms
11
- × DB integration tests > list and query operations > iterates with options 5ms
12
- → expected [] to deeply equal [ 'John' ]
13
- ✓ test/edge-cases.test.ts (43 tests) 9ms
14
- ✓ test/provider-resolution.test.ts (38 tests) 2ms
15
-
16
- ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
17
-
18
- FAIL src/index.test.ts > DB integration tests > list and query operations > iterates with options
19
- AssertionError: expected [] to deeply equal [ 'John' ]
20
-
21
- - Expected
22
- + Received
23
-
24
- - Array [
25
- - "John",
26
- - ]
27
- + Array []
28
-
29
- ❯ src/index.test.ts:251:21
30
- 249| })
31
- 250|
32
- 251| expect(names).toEqual(['John'])
33
- | ^
34
- 252| })
35
- 253| })
36
-
37
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
38
-
39
- Test Files 1 failed | 4 passed (5)
40
- Tests 1 failed | 291 passed (292)
41
- Start at 14:14:37
42
- Duration 673ms (transform 184ms, setup 0ms, collect 232ms, tests 235ms, environment 0ms, prepare 43ms)
43
-
44
- FAIL Tests failed. Watching for file changes...
45
- press h to show help, press q to quit
46
- c RERUN src/ai-promise-db.ts
47
-
48
- ✓ src/index.test.ts (47 tests) 9ms
49
- ✓ src/schema.test.ts (83 tests) 7ms
50
- ✓ test/edge-cases.test.ts (43 tests) 9ms
51
- ✓ test/provider-resolution.test.ts (38 tests) 2ms
52
-
53
- Test Files 4 passed (4)
54
- Tests 211 passed (211)
55
- Start at 14:35:16
56
- Duration 79ms
57
-
58
- PASS Waiting for file changes...
59
- press h to show help, press q to quit
60
- c RERUN src/ai-promise-db.ts
61
-
62
- ✓ src/index.test.ts (47 tests) 10ms
63
- ✓ test/edge-cases.test.ts (43 tests) 9ms
64
- ✓ src/schema.test.ts (83 tests) 7ms
65
- ✓ test/provider-resolution.test.ts (38 tests) 2ms
66
-
67
- Test Files 4 passed (4)
68
- Tests 211 passed (211)
69
- Start at 14:35:40
70
- Duration 70ms
71
-
72
- PASS Waiting for file changes...
73
- press h to show help, press q to quit
74
- c RERUN src/ai-promise-db.ts
75
-
76
- ✓ src/index.test.ts (47 tests) 10ms
77
- ✓ test/edge-cases.test.ts (43 tests) 8ms
78
- ✓ src/schema.test.ts (83 tests) 6ms
79
- ✓ test/provider-resolution.test.ts (38 tests) 2ms
80
-
81
- Test Files 4 passed (4)
82
- Tests 211 passed (211)
83
- Start at 14:35:53
84
- Duration 65ms
85
-
86
- PASS Waiting for file changes...
87
- press h to show help, press q to quit
88
- c RERUN src/ai-promise-db.ts
89
-
90
- ✓ src/index.test.ts (47 tests) 15ms
91
- ✓ test/edge-cases.test.ts (43 tests) 11ms
92
- ✓ src/schema.test.ts (83 tests) 9ms
93
- ✓ test/provider-resolution.test.ts (38 tests) 2ms
94
-
95
- Test Files 4 passed (4)
96
- Tests 211 passed (211)
97
- Start at 01:20:37
98
- Duration 115ms
99
-
100
- PASS Waiting for file changes...
101
- press h to show help, press q to quit
102
-  ELIFECYCLE  Test failed. See above for more details.