fix(tests): enable progress events in invoice tests and bump @push.rocks/smartagent devDependency to ^1.5.4
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## 2026-01-20 - 1.15.1 - fix(tests)
|
||||
enable progress events in invoice tests and bump @push.rocks/smartagent devDependency to ^1.5.4
|
||||
|
||||
- Added an onProgress handler in test/test.invoices.nanonets.ts to log progress events (console.log(event.logMessage)) so tool calls and progress are visible during tests.
|
||||
- Bumped devDependency @push.rocks/smartagent from ^1.5.2 to ^1.5.4 in package.json.
|
||||
|
||||
## 2026-01-20 - 1.15.0 - feat(tests)
|
||||
integrate SmartAi/DualAgentOrchestrator into extraction tests and add JSON self-validation
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"devDependencies": {
|
||||
"@git.zone/tsrun": "^2.0.1",
|
||||
"@git.zone/tstest": "^3.1.5",
|
||||
"@push.rocks/smartagent": "^1.5.2",
|
||||
"@push.rocks/smartagent": "^1.5.4",
|
||||
"@push.rocks/smartai": "^0.13.2"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
10
pnpm-lock.yaml
generated
10
pnpm-lock.yaml
generated
@@ -19,8 +19,8 @@ importers:
|
||||
specifier: ^3.1.5
|
||||
version: 3.1.6(socks@2.8.7)(typescript@5.9.3)
|
||||
'@push.rocks/smartagent':
|
||||
specifier: ^1.5.2
|
||||
version: 1.5.2(typescript@5.9.3)(ws@8.19.0)(zod@3.25.76)
|
||||
specifier: ^1.5.4
|
||||
version: 1.5.4(typescript@5.9.3)(ws@8.19.0)(zod@3.25.76)
|
||||
'@push.rocks/smartai':
|
||||
specifier: ^0.13.2
|
||||
version: 0.13.2(typescript@5.9.3)(ws@8.19.0)(zod@3.25.76)
|
||||
@@ -868,8 +868,8 @@ packages:
|
||||
'@push.rocks/qenv@6.1.3':
|
||||
resolution: {integrity: sha512-+z2hsAU/7CIgpYLFqvda8cn9rUBMHqLdQLjsFfRn5jPoD7dJ5rFlpkbhfM4Ws8mHMniwWaxGKo+q/YBhtzRBLg==}
|
||||
|
||||
'@push.rocks/smartagent@1.5.2':
|
||||
resolution: {integrity: sha512-zSZJH4DiimA4P6YzolpQxrrLLtkvrFDD+oEmY7ygGy8tbKucOAkdnAHjLPdmWQXt0xvZ+P0wAwRiFg5i/fIagw==}
|
||||
'@push.rocks/smartagent@1.5.4':
|
||||
resolution: {integrity: sha512-W5DoG0MUY6oAvxMcMC0M0ZmMmjs6zs8WcDnz5jVcg74vD3oaSguJjcokjB4L4Tv1dzEhq0ArDOnaC2C0Lf3z7w==}
|
||||
|
||||
'@push.rocks/smartai@0.13.2':
|
||||
resolution: {integrity: sha512-FqnHh31tU0Nkr/g25UMAjjE7gZVN8cuioRlSq1xo19rS9kyMiux+UzpylO2tgXF5S+lTsw5cGtfP0BUfrxlTGg==}
|
||||
@@ -5206,7 +5206,7 @@ snapshots:
|
||||
'@push.rocks/smartlog': 3.1.10
|
||||
'@push.rocks/smartpath': 6.0.0
|
||||
|
||||
'@push.rocks/smartagent@1.5.2(typescript@5.9.3)(ws@8.19.0)(zod@3.25.76)':
|
||||
'@push.rocks/smartagent@1.5.4(typescript@5.9.3)(ws@8.19.0)(zod@3.25.76)':
|
||||
dependencies:
|
||||
'@push.rocks/smartai': 0.13.2(typescript@5.9.3)(ws@8.19.0)(zod@3.25.76)
|
||||
'@push.rocks/smartbrowser': 2.0.8(typescript@5.9.3)
|
||||
|
||||
@@ -665,6 +665,10 @@ CRITICAL RULES:
|
||||
process.stdout.write(token);
|
||||
}
|
||||
},
|
||||
// Enable progress events to see tool calls
|
||||
onProgress: (event: { logMessage: string }) => {
|
||||
console.log(event.logMessage);
|
||||
},
|
||||
});
|
||||
|
||||
// Register JsonValidatorTool for self-validation
|
||||
|
||||
Reference in New Issue
Block a user