@agentdocumentformat/cli 0.8.1 → 0.8.2
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/adf.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import "./chunks/chunk-M2RX3S2T.mjs";
|
|
|
9
9
|
|
|
10
10
|
// src/main/cli/bin.ts
|
|
11
11
|
function version() {
|
|
12
|
-
return "0.8.
|
|
12
|
+
return "0.8.2";
|
|
13
13
|
}
|
|
14
14
|
var DAEMON_HELP = `Usage: adf daemon [--port <n>] [--host <h>] [--settings <file>]
|
|
15
15
|
adf daemon start [--port <n>] [--force]
|
|
@@ -191,7 +191,7 @@ async function main(argv) {
|
|
|
191
191
|
let { daemonPaths } = await import("./chunks/daemon-control-MKN7G5M3.mjs");
|
|
192
192
|
process.env.ADF_DAEMON_PIDFILE = daemonPaths(Number(process.env.ADF_DAEMON_PORT ?? 7385)).pidFile;
|
|
193
193
|
}
|
|
194
|
-
return await import("./chunks/daemon-
|
|
194
|
+
return await import("./chunks/daemon-HEQ3FUYH.mjs"), -1;
|
|
195
195
|
}
|
|
196
196
|
let [{ runCli, tuiInvocation }, control] = await Promise.all([import("./chunks/cli-PCVFB6B4.mjs"), import("./chunks/daemon-control-MKN7G5M3.mjs")]);
|
|
197
197
|
return tuiInvocation(argv) && process.env.NODE_ENV === void 0 && (process.env.NODE_ENV = "production", process.env.ADF_NODE_ENV_DEFAULTED = "1"), await runCli(argv, {
|
|
@@ -141651,7 +141651,7 @@ process.on("uncaughtException", (err) => {
|
|
|
141651
141651
|
process.on("unhandledRejection", (reason) => {
|
|
141652
141652
|
console.error("[ADF Daemon] Unhandled rejection:", reason instanceof Error ? reason.stack : reason);
|
|
141653
141653
|
});
|
|
141654
|
-
var port = Number(process.env.ADF_DAEMON_PORT ?? 7385), host = process.env.ADF_DAEMON_HOST ?? "127.0.0.1", pidFile = process.env.ADF_DAEMON_PIDFILE, settingsPath = process.env.ADF_DAEMON_SETTINGS ?? defaultSettingsPath(), daemonVersion = "0.8.
|
|
141654
|
+
var port = Number(process.env.ADF_DAEMON_PORT ?? 7385), host = process.env.ADF_DAEMON_HOST ?? "127.0.0.1", pidFile = process.env.ADF_DAEMON_PIDFILE, settingsPath = process.env.ADF_DAEMON_SETTINGS ?? defaultSettingsPath(), daemonVersion = "0.8.2", startedBy = takeLaunchEnv();
|
|
141655
141655
|
console.log(`[ADF Daemon] Version ${daemonVersion} (pid ${process.pid}, started by ${startedBy})`);
|
|
141656
141656
|
var settings = new FileSettingsStore(settingsPath);
|
|
141657
141657
|
processAgentLeases().configure({ kind: "daemon", settingsPath, version: daemonVersion });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentdocumentformat/cli",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "ADF CLI: the ADF (Agent Document Format) daemon, command line and terminal app. Run your agents headless: `adf daemon`, then `adf`.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"url": "git+https://github.com/christianbalevski/adf.git"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"better-sqlite3": "^12.
|
|
44
|
+
"better-sqlite3": "^12.8.0",
|
|
45
45
|
"@napi-rs/keyring": "^2.1.0",
|
|
46
46
|
"sqlite-vec": "^0.1.9",
|
|
47
47
|
"@modelcontextprotocol/sdk": "^1.27.1",
|