@agent-smith/cli 0.0.5 → 0.0.7
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 +3 -9
- package/dist/agent.js +3 -3
- package/dist/cmd/clicmds/cmds.d.ts +2 -1
- package/dist/cmd/clicmds/cmds.js +41 -6
- package/dist/cmd/cmds.js +3 -2
- package/dist/cmd/lib/execute_job.js +7 -2
- package/dist/cmd/lib/execute_task.js +7 -2
- package/dist/cmd/lib/utils.d.ts +6 -1
- package/dist/cmd/lib/utils.js +22 -1
- package/dist/db/read.d.ts +6 -2
- package/dist/db/read.js +10 -1
- package/dist/db/schemas.js +6 -1
- package/dist/db/write.d.ts +2 -1
- package/dist/db/write.js +26 -1
- package/dist/interfaces.d.ts +2 -1
- package/dist/state/state.js +2 -1
- package/package.json +4 -4
package/dist/agent.d.ts
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
|
+
import { LmTaskBuilder } from "@agent-smith/lmtask";
|
|
1
2
|
import { marked } from 'marked';
|
|
2
3
|
import { RunMode } from "./interfaces.js";
|
|
3
4
|
declare let brain: import("@agent-smith/brain").AgentBrain;
|
|
4
5
|
declare const modelsForExpert: Record<string, string>;
|
|
5
|
-
declare const
|
|
6
|
-
init: (taskPath: string) => import("@agent-smith/jobs").AgentTask;
|
|
7
|
-
read: (taskPath: string) => {
|
|
8
|
-
found: boolean;
|
|
9
|
-
task: import("@agent-smith/lmtask").LmTask;
|
|
10
|
-
};
|
|
11
|
-
readDir: (dir: string) => Array<string>;
|
|
12
|
-
};
|
|
6
|
+
declare const taskBuilder: LmTaskBuilder;
|
|
13
7
|
declare function initAgent(mode: RunMode, isVerbose?: boolean): Promise<boolean>;
|
|
14
|
-
export { brain, initAgent, marked, modelsForExpert,
|
|
8
|
+
export { brain, initAgent, marked, modelsForExpert, taskBuilder };
|
package/dist/agent.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useAgentBrain } from "@agent-smith/brain";
|
|
2
|
-
import {
|
|
2
|
+
import { LmTaskBuilder } from "@agent-smith/lmtask";
|
|
3
3
|
;
|
|
4
4
|
import { marked } from 'marked';
|
|
5
5
|
import { markedTerminal } from 'marked-terminal';
|
|
6
6
|
marked.use(markedTerminal());
|
|
7
7
|
let brain = useAgentBrain();
|
|
8
8
|
const modelsForExpert = {};
|
|
9
|
-
const
|
|
9
|
+
const taskBuilder = new LmTaskBuilder(brain);
|
|
10
10
|
async function initExperts() {
|
|
11
11
|
brain.experts.forEach((ex) => {
|
|
12
12
|
ex.setOnStartEmit(() => console.log(""));
|
|
@@ -35,4 +35,4 @@ async function initAgent(mode, isVerbose = false) {
|
|
|
35
35
|
}
|
|
36
36
|
return brainUp;
|
|
37
37
|
}
|
|
38
|
-
export { brain, initAgent, marked, modelsForExpert,
|
|
38
|
+
export { brain, initAgent, marked, modelsForExpert, taskBuilder };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Cmd } from "../../interfaces.js";
|
|
2
2
|
declare let cmds: Record<string, Cmd>;
|
|
3
|
+
declare function initAliases(): Record<string, Cmd>;
|
|
3
4
|
declare function initCmds(): Promise<Record<string, Cmd>>;
|
|
4
5
|
declare function pingCmd(args: Array<string> | undefined, options: any): Promise<boolean>;
|
|
5
|
-
export { cmds, initCmds, pingCmd };
|
|
6
|
+
export { cmds, initCmds, pingCmd, initAliases };
|
package/dist/cmd/clicmds/cmds.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { formatMode, initFeatures, runMode } from "../../state/state.js";
|
|
2
2
|
import { getFeatureSpec, readFeaturesDirs } from "../../state/features.js";
|
|
3
|
-
import { readFeatures } from "../../db/read.js";
|
|
4
|
-
import { updateFeatures } from "../../db/write.js";
|
|
3
|
+
import { readAliases, readFeatures } from "../../db/read.js";
|
|
4
|
+
import { updateAliases, updateFeatures } from "../../db/write.js";
|
|
5
5
|
import { updateConf } from "../../conf.js";
|
|
6
6
|
import { executeActionCmd } from "../lib/execute_action.js";
|
|
7
|
-
import { initAgent, marked,
|
|
7
|
+
import { initAgent, marked, taskBuilder } from "../../agent.js";
|
|
8
8
|
import { executeJobCmd, readJob } from "../lib/execute_job.js";
|
|
9
9
|
import { executeTaskCmd } from "../lib/execute_task.js";
|
|
10
10
|
import { readCmds } from "../sys/read_cmds.js";
|
|
11
|
+
import { readTask } from "../lib/utils.js";
|
|
11
12
|
let cmds = {
|
|
12
13
|
q: {
|
|
13
14
|
cmd: async () => process.exit(0),
|
|
@@ -56,6 +57,35 @@ let cmds = {
|
|
|
56
57
|
description: "reparse the features dirs and update the list",
|
|
57
58
|
}
|
|
58
59
|
};
|
|
60
|
+
function initAliases() {
|
|
61
|
+
const aliases = readAliases();
|
|
62
|
+
const _cmds = {};
|
|
63
|
+
aliases.forEach((alias) => {
|
|
64
|
+
switch (alias.type) {
|
|
65
|
+
case "task":
|
|
66
|
+
_cmds[alias.name] = {
|
|
67
|
+
cmd: (args = [], options) => _executeTaskCmd([alias.name, ...args], options),
|
|
68
|
+
description: "task: " + alias.name,
|
|
69
|
+
args: "arguments: \n-args: prompt and other arguments if any for the task"
|
|
70
|
+
};
|
|
71
|
+
break;
|
|
72
|
+
case "action":
|
|
73
|
+
_cmds[alias.name] = {
|
|
74
|
+
cmd: (args = [], options = {}, quiet = false) => executeActionCmd([alias.name, ...args], options, quiet),
|
|
75
|
+
description: "action: " + alias.name,
|
|
76
|
+
args: "arguments: \n-args: other arguments if any for the action"
|
|
77
|
+
};
|
|
78
|
+
break;
|
|
79
|
+
case "job":
|
|
80
|
+
_cmds[alias.name] = {
|
|
81
|
+
cmd: (args = [], options) => _executeJobCmd([alias.name, ...args], options),
|
|
82
|
+
description: "job: " + alias.name,
|
|
83
|
+
args: "arguments: \n-args: other arguments if any for the job"
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
return _cmds;
|
|
88
|
+
}
|
|
59
89
|
async function initCmds() {
|
|
60
90
|
for (const dirpath of new Set(Object.values(readFeatures().cmd))) {
|
|
61
91
|
const c = await readCmds(`${dirpath}`);
|
|
@@ -83,6 +113,7 @@ async function _updateConfCmd(args = [], options) {
|
|
|
83
113
|
const allPaths = await updateConf(args[0]);
|
|
84
114
|
const feats = readFeaturesDirs(allPaths);
|
|
85
115
|
updateFeatures(feats);
|
|
116
|
+
updateAliases(feats);
|
|
86
117
|
}
|
|
87
118
|
async function _readJobCmd(args = [], options) {
|
|
88
119
|
if (args.length == 0) {
|
|
@@ -129,10 +160,14 @@ async function _readTaskCmd(args = [], options) {
|
|
|
129
160
|
console.warn(`FeatureType ${args[0]} not found`);
|
|
130
161
|
return;
|
|
131
162
|
}
|
|
132
|
-
const
|
|
133
|
-
|
|
163
|
+
const res = readTask(path);
|
|
164
|
+
if (!res.found) {
|
|
165
|
+
throw new Error(`Task ${args[0]}, ${path} not found`);
|
|
166
|
+
}
|
|
167
|
+
const ts = taskBuilder.readFromYaml(path);
|
|
168
|
+
console.log(ts);
|
|
134
169
|
}
|
|
135
170
|
async function _listTasksCmd(args = [], options) {
|
|
136
171
|
Object.keys(readFeatures().task).forEach((t) => console.log("-", t));
|
|
137
172
|
}
|
|
138
|
-
export { cmds, initCmds, pingCmd };
|
|
173
|
+
export { cmds, initCmds, pingCmd, initAliases };
|
package/dist/cmd/cmds.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Command } from "commander";
|
|
|
2
2
|
import { lastCmd } from "../state/state.js";
|
|
3
3
|
import { modes } from "./clicmds/modes.js";
|
|
4
4
|
import { processOutput, setOptions } from "./lib/utils.js";
|
|
5
|
-
import { cmds, initCmds } from "./clicmds/cmds.js";
|
|
5
|
+
import { cmds, initAliases, initCmds } from "./clicmds/cmds.js";
|
|
6
6
|
let cliCmds = {};
|
|
7
7
|
async function initCliCmds() {
|
|
8
8
|
cliCmds = await initCmds();
|
|
@@ -19,7 +19,8 @@ async function runCmd(cmdName, args = []) {
|
|
|
19
19
|
}
|
|
20
20
|
async function buildCmds() {
|
|
21
21
|
const program = new Command();
|
|
22
|
-
|
|
22
|
+
const aliases = initAliases();
|
|
23
|
+
for (const [name, spec] of Object.entries({ ...cmds, ...aliases })) {
|
|
23
24
|
const cmd = program.command(name);
|
|
24
25
|
const _cmd = async (args = [], options = {}) => {
|
|
25
26
|
const _args = await setOptions(options, args);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import YAML from 'yaml';
|
|
2
2
|
import { default as fs } from "fs";
|
|
3
3
|
import { useAgentJob } from "@agent-smith/jobs";
|
|
4
|
-
import { brain, marked,
|
|
4
|
+
import { brain, marked, taskBuilder } from '../../agent.js';
|
|
5
5
|
import { getFeatureSpec } from '../../state/features.js';
|
|
6
6
|
import { formatMode } from '../../state/state.js';
|
|
7
|
+
import { readTask } from './utils.js';
|
|
7
8
|
async function executeJobCmd(name, args = []) {
|
|
8
9
|
const { job, found } = await _dispatchReadJob(name);
|
|
9
10
|
if (!found) {
|
|
@@ -76,7 +77,11 @@ async function _createJobFromSpec(spec) {
|
|
|
76
77
|
if (!found) {
|
|
77
78
|
return { found: false, job: {} };
|
|
78
79
|
}
|
|
79
|
-
const
|
|
80
|
+
const res = readTask(path);
|
|
81
|
+
if (!res.found) {
|
|
82
|
+
throw new Error(`Task ${t.name}, ${path} not found`);
|
|
83
|
+
}
|
|
84
|
+
const at = taskBuilder.fromYaml(res.ymlTask);
|
|
80
85
|
tasks[t.name] = at;
|
|
81
86
|
}
|
|
82
87
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { initAgent,
|
|
1
|
+
import { initAgent, taskBuilder } from "../../agent.js";
|
|
2
2
|
import { getFeatureSpec } from "../../state/features.js";
|
|
3
3
|
import { runMode } from "../../state/state.js";
|
|
4
|
+
import { readTask } from "./utils.js";
|
|
4
5
|
async function executeTaskCmd(args = [], options = {}) {
|
|
5
6
|
await initAgent(runMode.value);
|
|
6
7
|
const name = args.shift();
|
|
@@ -8,7 +9,11 @@ async function executeTaskCmd(args = [], options = {}) {
|
|
|
8
9
|
if (!found) {
|
|
9
10
|
return { ok: false, data: {}, error: `Task ${name} not found` };
|
|
10
11
|
}
|
|
11
|
-
const
|
|
12
|
+
const res = readTask(path);
|
|
13
|
+
if (!res.found) {
|
|
14
|
+
throw new Error(`Task ${name}, ${path} not found`);
|
|
15
|
+
}
|
|
16
|
+
const task = taskBuilder.fromYaml(res.ymlTask);
|
|
12
17
|
const pr = args.shift();
|
|
13
18
|
const vars = {};
|
|
14
19
|
args.forEach((a) => {
|
package/dist/cmd/lib/utils.d.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
declare function setOptions(options: Record<string, any>, args?: Array<string>): Promise<Array<string>>;
|
|
2
2
|
declare function readPromptFile(): string;
|
|
3
3
|
declare function processOutput(res: any): Promise<void>;
|
|
4
|
-
|
|
4
|
+
declare function readTask(taskpath: string): {
|
|
5
|
+
found: boolean;
|
|
6
|
+
ymlTask: string;
|
|
7
|
+
};
|
|
8
|
+
declare function readTasksDir(dir: string): Array<string>;
|
|
9
|
+
export { readPromptFile, processOutput, setOptions, readTask, readTasksDir, };
|
package/dist/cmd/lib/utils.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as fs } from "fs";
|
|
2
|
+
import { default as path } from "path";
|
|
2
3
|
import { outputMode, promptfile } from "../../state/state.js";
|
|
3
4
|
import { inputMode, runMode } from "../../state/state.js";
|
|
4
5
|
import { readClipboard, writeToClipboard } from "../sys/clipboard.js";
|
|
@@ -49,4 +50,24 @@ async function processOutput(res) {
|
|
|
49
50
|
await writeToClipboard(data);
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
|
-
|
|
53
|
+
function readTask(taskpath) {
|
|
54
|
+
if (!fs.existsSync(taskpath)) {
|
|
55
|
+
return { ymlTask: "", found: false };
|
|
56
|
+
}
|
|
57
|
+
const data = fs.readFileSync(taskpath, 'utf8');
|
|
58
|
+
return { ymlTask: data, found: true };
|
|
59
|
+
}
|
|
60
|
+
function readTasksDir(dir) {
|
|
61
|
+
const tasks = new Array();
|
|
62
|
+
fs.readdirSync(dir).forEach((filename) => {
|
|
63
|
+
const filepath = path.join(dir, filename);
|
|
64
|
+
const isDir = fs.statSync(filepath).isDirectory();
|
|
65
|
+
if (!isDir) {
|
|
66
|
+
if (filename.endsWith(".yml")) {
|
|
67
|
+
tasks.push(filename);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
return tasks;
|
|
72
|
+
}
|
|
73
|
+
export { readPromptFile, processOutput, setOptions, readTask, readTasksDir, };
|
package/dist/db/read.d.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { FeatureSpec, FeatureType } from "../interfaces.js";
|
|
1
|
+
import { AliasType, FeatureSpec, FeatureType } from "../interfaces.js";
|
|
2
2
|
declare function readFeaturePaths(): Array<string>;
|
|
3
3
|
declare function readPlugins(): Array<Record<string, string>>;
|
|
4
4
|
declare function readFeatures(): Record<FeatureType, Record<string, string>>;
|
|
5
|
+
declare function readAliases(): Array<{
|
|
6
|
+
name: string;
|
|
7
|
+
type: AliasType;
|
|
8
|
+
}>;
|
|
5
9
|
declare function readFeature(name: string, type: FeatureType): {
|
|
6
10
|
found: boolean;
|
|
7
11
|
feature: FeatureSpec;
|
|
8
12
|
};
|
|
9
|
-
export { readFeatures, readFeaturePaths, readFeature, readPlugins };
|
|
13
|
+
export { readFeatures, readFeaturePaths, readFeature, readPlugins, readAliases };
|
package/dist/db/read.js
CHANGED
|
@@ -34,6 +34,15 @@ function readFeatures() {
|
|
|
34
34
|
feats.cmd = readFeaturesType("cmd");
|
|
35
35
|
return feats;
|
|
36
36
|
}
|
|
37
|
+
function readAliases() {
|
|
38
|
+
const stmt = db.prepare("SELECT name, type FROM aliases");
|
|
39
|
+
const data = stmt.all();
|
|
40
|
+
let f = new Array();
|
|
41
|
+
data.forEach((row) => {
|
|
42
|
+
f.push({ name: row.name, type: row.type });
|
|
43
|
+
});
|
|
44
|
+
return f;
|
|
45
|
+
}
|
|
37
46
|
function readFeature(name, type) {
|
|
38
47
|
const q = `SELECT id, path, ext FROM ${type} WHERE name='${name}'`;
|
|
39
48
|
const stmt = db.prepare(q);
|
|
@@ -50,4 +59,4 @@ function readFeature(name, type) {
|
|
|
50
59
|
}
|
|
51
60
|
return { found: false, feature: {} };
|
|
52
61
|
}
|
|
53
|
-
export { readFeatures, readFeaturePaths, readFeature, readPlugins };
|
|
62
|
+
export { readFeatures, readFeaturePaths, readFeature, readPlugins, readAliases };
|
package/dist/db/schemas.js
CHANGED
|
@@ -36,7 +36,12 @@ const cmds = `CREATE TABLE IF NOT EXISTS cmd (
|
|
|
36
36
|
path TEXT NOT NULL,
|
|
37
37
|
ext TEXT NOT NULL CHECK ( ext IN ('js') )
|
|
38
38
|
);`;
|
|
39
|
+
const aliases = `CREATE TABLE IF NOT EXISTS aliases (
|
|
40
|
+
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
41
|
+
name TEXT UNIQUE NOT NULL,
|
|
42
|
+
type TEXT NOT NULL CHECK ( type IN ('task', 'action', 'job') )
|
|
43
|
+
);`;
|
|
39
44
|
const schemas = [
|
|
40
|
-
filepaths, featurespaths, tasks, jobs, actions, cmds, plugins
|
|
45
|
+
filepaths, featurespaths, tasks, jobs, actions, cmds, plugins, aliases
|
|
41
46
|
];
|
|
42
47
|
export { schemas };
|
package/dist/db/write.d.ts
CHANGED
|
@@ -2,5 +2,6 @@ import { Features } from "../interfaces.js";
|
|
|
2
2
|
declare function insertDefaultFilepaths(): void;
|
|
3
3
|
declare function insertFeaturesPathIfNotExists(path: string): boolean;
|
|
4
4
|
declare function insertPluginIfNotExists(n: string, p: string): boolean;
|
|
5
|
+
declare function updateAliases(feats: Features): void;
|
|
5
6
|
declare function updateFeatures(feats: Features): void;
|
|
6
|
-
export { insertDefaultFilepaths, insertFeaturesPathIfNotExists, insertPluginIfNotExists, updateFeatures, };
|
|
7
|
+
export { insertDefaultFilepaths, insertFeaturesPathIfNotExists, insertPluginIfNotExists, updateFeatures, updateAliases, };
|
package/dist/db/write.js
CHANGED
|
@@ -29,6 +29,31 @@ function insertPluginIfNotExists(n, p) {
|
|
|
29
29
|
stmt.run(n, p);
|
|
30
30
|
return false;
|
|
31
31
|
}
|
|
32
|
+
function _updateAlias(existingAliases, name, type) {
|
|
33
|
+
if (!existingAliases.includes(name)) {
|
|
34
|
+
const insertStmt = db.prepare("INSERT INTO aliases (name, type) VALUES (?, ?)");
|
|
35
|
+
insertStmt.run(name, type);
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
console.log("Can not create command alias", name, ": duplicate name");
|
|
39
|
+
}
|
|
40
|
+
existingAliases.push(name);
|
|
41
|
+
return existingAliases;
|
|
42
|
+
}
|
|
43
|
+
function updateAliases(feats) {
|
|
44
|
+
const deleteStmt = db.prepare("DELETE FROM aliases");
|
|
45
|
+
deleteStmt.run();
|
|
46
|
+
let existingAliases = new Array();
|
|
47
|
+
feats.task.forEach((feat) => {
|
|
48
|
+
existingAliases = _updateAlias(existingAliases, feat.name, "task");
|
|
49
|
+
});
|
|
50
|
+
feats.action.forEach((feat) => {
|
|
51
|
+
existingAliases = _updateAlias(existingAliases, feat.name, "action");
|
|
52
|
+
});
|
|
53
|
+
feats.job.forEach((feat) => {
|
|
54
|
+
existingAliases = _updateAlias(existingAliases, feat.name, "job");
|
|
55
|
+
});
|
|
56
|
+
}
|
|
32
57
|
function upsertAndCleanFeatures(feats, type) {
|
|
33
58
|
const stmt = db.prepare(`SELECT name FROM ${type}`);
|
|
34
59
|
const rows = stmt.all();
|
|
@@ -53,4 +78,4 @@ function updateFeatures(feats) {
|
|
|
53
78
|
upsertAndCleanFeatures(feats.action, "action");
|
|
54
79
|
upsertAndCleanFeatures(feats.cmd, "cmd");
|
|
55
80
|
}
|
|
56
|
-
export { insertDefaultFilepaths, insertFeaturesPathIfNotExists, insertPluginIfNotExists, updateFeatures, };
|
|
81
|
+
export { insertDefaultFilepaths, insertFeaturesPathIfNotExists, insertPluginIfNotExists, updateFeatures, updateAliases, };
|
package/dist/interfaces.d.ts
CHANGED
|
@@ -46,4 +46,5 @@ type TaskExtension = "yml";
|
|
|
46
46
|
type JobExtension = "yml";
|
|
47
47
|
type CmdExtension = "js";
|
|
48
48
|
type FeatureExtension = TaskExtension | JobExtension | CmdExtension | ActionExtension;
|
|
49
|
-
|
|
49
|
+
type AliasType = "task" | "action" | "job";
|
|
50
|
+
export { Cmd, CmdExecutor, InputMode, OutputMode, RunMode, FormatMode, FeatureType, ActionExtension, TaskExtension, JobExtension, CmdExtension, FeatureSpec, Features, ConfigFile, FeatureExtension, AliasType, };
|
package/dist/state/state.js
CHANGED
|
@@ -2,7 +2,7 @@ import { reactive, ref } from "@vue/reactivity";
|
|
|
2
2
|
import { createConfDirIfNotExists, confDir } from "../conf.js";
|
|
3
3
|
import { initDb } from "../db/db.js";
|
|
4
4
|
import { readFeaturePaths } from "../db/read.js";
|
|
5
|
-
import { updateFeatures } from "../db/write.js";
|
|
5
|
+
import { updateAliases, updateFeatures } from "../db/write.js";
|
|
6
6
|
import { readFeaturesDirs } from "./features.js";
|
|
7
7
|
import { readPluginsPaths } from "./plugins.js";
|
|
8
8
|
let pyShell;
|
|
@@ -28,6 +28,7 @@ async function initFeatures() {
|
|
|
28
28
|
const p = [...fp, ...pp];
|
|
29
29
|
const feats = readFeaturesDirs(p);
|
|
30
30
|
updateFeatures(feats);
|
|
31
|
+
updateAliases(feats);
|
|
31
32
|
}
|
|
32
33
|
async function initState() {
|
|
33
34
|
initConf();
|
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.7",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"buildrl": "rm -rf dist/* && rollup -c",
|
|
8
8
|
"build": "rm -rf dist/* && tsc",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@agent-smith/brain": "^0.0.18",
|
|
14
14
|
"@agent-smith/jobs": "^0.0.8",
|
|
15
|
-
"@agent-smith/lmtask": "^0.0.
|
|
15
|
+
"@agent-smith/lmtask": "^0.0.13",
|
|
16
16
|
"@inquirer/prompts": "^5.3.8",
|
|
17
17
|
"@inquirer/select": "^2.4.7",
|
|
18
18
|
"@vue/reactivity": "^3.4.38",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
34
34
|
"@types/better-sqlite3": "^7.6.11",
|
|
35
35
|
"@types/marked-terminal": "^6.1.1",
|
|
36
|
-
"@types/node": "^22.5.
|
|
37
|
-
"rollup": "^4.21.
|
|
36
|
+
"@types/node": "^22.5.2",
|
|
37
|
+
"rollup": "^4.21.2",
|
|
38
38
|
"ts-node": "^10.9.2",
|
|
39
39
|
"tslib": "2.7.0",
|
|
40
40
|
"typescript": "^5.5.4"
|