@agent-smith/cli 0.0.29 → 0.0.31
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/dist/agent.d.ts +1 -1
- package/dist/agent.js +1 -1
- package/dist/db/db.js +2 -1
- package/package.json +6 -6
package/dist/agent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LmTaskBuilder } from "
|
|
1
|
+
import { LmTaskBuilder } from "@agent-smith/lmtask";
|
|
2
2
|
import { marked } from 'marked';
|
|
3
3
|
import { FeatureType } from "./interfaces.js";
|
|
4
4
|
declare let brain: import("@agent-smith/brain").AgentBrain<Record<string, any>>;
|
package/dist/agent.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useAgentBrain } from "@agent-smith/brain";
|
|
2
|
-
import { LmTaskBuilder } from "
|
|
2
|
+
import { LmTaskBuilder } from "@agent-smith/lmtask";
|
|
3
3
|
import { marked } from 'marked';
|
|
4
4
|
import { markedTerminal } from "marked-terminal";
|
|
5
5
|
marked.use(markedTerminal());
|
package/dist/db/db.js
CHANGED
|
@@ -3,8 +3,9 @@ import { schemas } from "./schemas.js";
|
|
|
3
3
|
import path from "path";
|
|
4
4
|
const confDir = path.join(process.env.HOME, ".config/agent-smith/cli");
|
|
5
5
|
const dbPath = path.join(confDir, "config.db");
|
|
6
|
-
let db
|
|
6
|
+
let db;
|
|
7
7
|
function initDb(isVerbose = false) {
|
|
8
|
+
db = new DatabaseConstructor(dbPath, { fileMustExist: false });
|
|
8
9
|
schemas.forEach((s) => {
|
|
9
10
|
db.exec(s);
|
|
10
11
|
if (isVerbose) {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@agent-smith/cli",
|
|
3
3
|
"description": "Agent Smith: terminal client for language model agents",
|
|
4
4
|
"repository": "https://github.com/synw/agent-smith",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.31",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"buildrl": "rm -rf dist/* && rollup -c",
|
|
8
8
|
"build": "rm -rf dist/* && tsc",
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@agent-smith/brain": "^0.0.35",
|
|
14
14
|
"@agent-smith/jobs": "^0.0.11",
|
|
15
|
-
"@agent-smith/lmtask": "^0.0.
|
|
15
|
+
"@agent-smith/lmtask": "^0.0.28",
|
|
16
16
|
"@agent-smith/tfm": "^0.1.1",
|
|
17
|
-
"@inquirer/prompts": "^7.2
|
|
18
|
-
"@inquirer/select": "^4.0.
|
|
17
|
+
"@inquirer/prompts": "^7.3.2",
|
|
18
|
+
"@inquirer/select": "^4.0.9",
|
|
19
19
|
"@vue/reactivity": "^3.5.13",
|
|
20
20
|
"better-sqlite3": "^11.8.1",
|
|
21
21
|
"clipboardy": "^4.0.0",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
34
34
|
"@types/better-sqlite3": "^7.6.12",
|
|
35
35
|
"@types/marked-terminal": "^6.1.1",
|
|
36
|
-
"@types/node": "^22.
|
|
36
|
+
"@types/node": "^22.13.4",
|
|
37
37
|
"restmix": "^0.5.0",
|
|
38
|
-
"rollup": "^4.
|
|
38
|
+
"rollup": "^4.34.8",
|
|
39
39
|
"ts-node": "^10.9.2",
|
|
40
40
|
"tslib": "2.8.1",
|
|
41
41
|
"typescript": "^5.7.3"
|