Skip to content

Commit 85e69cf

Browse files
committed
feat: update README and package versions, add zod dependency, and implement async logging function
1 parent 59fb357 commit 85e69cf

File tree

5 files changed

+25
-6
lines changed

5 files changed

+25
-6
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
66
<img src="./repo/jjba-mih.gif">
77

8-
Just a local assistant, connected to a set of LLMs that is capable of listening through a microphone, seeing through a camera and talking through a script and execute specific actions based on the interactions. This project is being designed for personal use only, for me.
8+
Just a local assistant, connected to a set of LLMs that is capable of listening through a microphone, seeing through a camera and talking
9+
through a script and execute specific actions based on the interactions. This project is being designed for personal use.
910

1011
## Extra Dependencies
1112

package-lock.json

Lines changed: 13 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"exec-sh": "^0.4.0",
1414
"microphone-stream": "^6.0.1",
1515
"node-microphone": "^0.1.6",
16-
"node-webcam": "^0.8.2"
16+
"node-webcam": "^0.8.2",
17+
"zod": "^3.24.1"
1718
},
1819
"devDependencies": {
1920
"@jest/globals": "^29.7.0",

src/logging/asyncLog.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
async function asyncLog(log: string | object) {
2+
//TODO: implement future async implementation to metrify with external
3+
//loggin platform
4+
console.log(log);
5+
}
6+
7+
export { asyncLog };

test/bridge/bridgeTests.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { promises as fsPromises } from 'fs';
88

99
beforeAll(async () => {
1010
await new Promise<void>((resolve, reject) => {
11-
exec('cargo build --bin lib', { cwd: './lib' }, (error, stdout, stderr) => {
11+
exec('cargo build --bin lib', { cwd: './lib' }, (error, _, __) => {
1212
if (error) {
1313
reject(error);
1414
} else {

0 commit comments

Comments
 (0)