@things-factory/ai-assistant 10.1.227 → 10.1.228
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/ai-assistant",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.228",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"things-factory": true,
|
|
6
6
|
"author": "heartyoh",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"@operato/shell": "^10.29.39",
|
|
36
36
|
"@operato/styles": "^10.0.0",
|
|
37
37
|
"@operato/utils": "^10.29.39",
|
|
38
|
-
"@things-factory/ai-client-base": "^10.1.
|
|
39
|
-
"@things-factory/apptool-base": "^10.1.
|
|
40
|
-
"@things-factory/attachment-base": "^10.1.
|
|
41
|
-
"@things-factory/auth-base": "^10.1.
|
|
38
|
+
"@things-factory/ai-client-base": "^10.1.228",
|
|
39
|
+
"@things-factory/apptool-base": "^10.1.228",
|
|
40
|
+
"@things-factory/attachment-base": "^10.1.228",
|
|
41
|
+
"@things-factory/auth-base": "^10.1.228",
|
|
42
42
|
"@things-factory/env": "^10.1.149",
|
|
43
|
-
"@things-factory/setting-base": "^10.1.
|
|
44
|
-
"@things-factory/shell": "^10.1.
|
|
43
|
+
"@things-factory/setting-base": "^10.1.228",
|
|
44
|
+
"@things-factory/shell": "^10.1.228",
|
|
45
45
|
"dompurify": "^3.0.0",
|
|
46
46
|
"exceljs": "4.2.0",
|
|
47
47
|
"graphql-scalars": "^1.22.0",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"copyfiles": "^2.4.1",
|
|
58
58
|
"rimraf": "^5.0.0"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "fc4ede44617418df8701e83b83d177db4142a8f3"
|
|
61
61
|
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import { modeToolCategories } from '../assistant-mode/resolve'
|
|
7
7
|
import { clearReadTargets, declareDetailRead, declareReadTarget, detailToolName, groupsOf, MAX_DETAIL_CHARS, MAX_READ_ROWS, queryToolName, readCategoryName, screenAddress, screenToolName, type DetailRead, type ReadTarget } from './read-target'
|
|
8
8
|
import { detailCategoryOf, openScreen, queryDetail, queryRecords, readCategoryOf } from './read-tools'
|
|
9
|
+
import { decodeListQuery } from '@operato/utils/list-query.js'
|
|
9
10
|
|
|
10
11
|
/* The application, as a fake: a bank ledger behind a list query that pages and filters like ListParam. */
|
|
11
12
|
let ledger: any[]
|
|
@@ -224,7 +225,8 @@ describe('a list declared in one line', () => {
|
|
|
224
225
|
expect(query.has('year')).toBe(false)
|
|
225
226
|
expect(query.has('month')).toBe(false)
|
|
226
227
|
expect(query.has('flow')).toBe(false)
|
|
227
|
-
|
|
228
|
+
/* the address layer writes its own list form (json5), so the test reads it back the way the screen does */
|
|
229
|
+
expect(decodeListQuery(address.href.split('?')[1]).filters).toEqual([
|
|
228
230
|
{ name: 'transactionDate', operator: 'gte', value: '2026-01-01' },
|
|
229
231
|
{ name: 'year', operator: 'eq', value: 2026 },
|
|
230
232
|
{ name: 'month', operator: 'eq', value: 9 },
|