@agentknight/client 0.9.56 → 0.9.59

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.
@@ -3,7 +3,7 @@ import {
3
3
  processExists,
4
4
  readRuntimeDescriptor,
5
5
  requestRuntime
6
- } from "./chunk-WZIU4HVH.js";
6
+ } from "./chunk-WMAAFZJ3.js";
7
7
  import "./chunk-SPZWIFFP.js";
8
8
 
9
9
  // src/stop-client.ts
@@ -9,13 +9,13 @@ import {
9
9
  resolveUpgradeVersion,
10
10
  runNpm,
11
11
  updateJobState
12
- } from "./chunk-CG5LD6VF.js";
12
+ } from "./chunk-ANVWLKOO.js";
13
13
  import "./chunk-CNWBK4LE.js";
14
14
  import {
15
15
  processExists,
16
16
  readRuntimeDescriptor,
17
17
  requestRuntime
18
- } from "./chunk-WZIU4HVH.js";
18
+ } from "./chunk-WMAAFZJ3.js";
19
19
  import {
20
20
  readOptionalJson,
21
21
  writePrivateJson
package/dist/cli.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  readAppVersion,
4
4
  toErrorDetails
5
- } from "./chunks/chunk-O7KHVYQG.js";
5
+ } from "./chunks/chunk-7G6J645I.js";
6
6
 
7
7
  // src/index.ts
8
8
  import { fileURLToPath } from "node:url";
@@ -192,7 +192,7 @@ async function main() {
192
192
  for (const warning of resolved.warnings ?? []) process.stderr.write(`AgentKnight: ${warning}
193
193
  `);
194
194
  if (cliOptions.command === "peer-chat") {
195
- const { processExists, readRuntimeDescriptor, requestPeerChat } = await import("./chunks/runtime-CTACRJCK.js");
195
+ const { processExists, readRuntimeDescriptor, requestPeerChat } = await import("./chunks/runtime-QUFPIXMR.js");
196
196
  const descriptor = await readRuntimeDescriptor(resolved.dataDirectory);
197
197
  if (descriptor === void 0 || !processExists(descriptor.pid)) {
198
198
  throw new Error("No Agent is running for this home. Start the Agent before using peer-chat.");
@@ -214,14 +214,14 @@ async function main() {
214
214
  return;
215
215
  }
216
216
  if (cliOptions.command === "stop") {
217
- const { stopClient } = await import("./chunks/stop-client-PHRAMW5R.js");
217
+ const { stopClient } = await import("./chunks/stop-client-OXQVYCBB.js");
218
218
  await stopClient(resolved.dataDirectory, cliOptions.expectedPid);
219
219
  process.stdout.write(cliOptions.json ? `${JSON.stringify({ state: "stopped" })}
220
220
  ` : "PC Agent stopped.\n");
221
221
  return;
222
222
  }
223
223
  if (cliOptions.command === "status") {
224
- const [{ processExists, readRuntimeDescriptor, requestRuntime }, { readLastUpgrade, readUpgradeState }] = await Promise.all([import("./chunks/runtime-CTACRJCK.js"), import("./chunks/upgrade-state-QXZT3TTS.js")]);
224
+ const [{ processExists, readRuntimeDescriptor, requestRuntime }, { readLastUpgrade, readUpgradeState }] = await Promise.all([import("./chunks/runtime-QUFPIXMR.js"), import("./chunks/upgrade-state-QXZT3TTS.js")]);
225
225
  const descriptor = await readRuntimeDescriptor(resolved.dataDirectory);
226
226
  const runtime = descriptor === void 0 || !processExists(descriptor.pid) ? void 0 : await requestRuntime(descriptor, "status");
227
227
  const lastUpgrade = await readLastUpgrade(resolved.dataDirectory);
@@ -244,7 +244,7 @@ async function main() {
244
244
  return;
245
245
  }
246
246
  if (cliOptions.command === "upgrade") {
247
- const { upgrade } = await import("./chunks/upgrade-4IKPYFYS.js");
247
+ const { upgrade } = await import("./chunks/upgrade-UFKH6YNE.js");
248
248
  await upgrade({
249
249
  dataDirectory: resolved.dataDirectory,
250
250
  currentVersion: appVersion,
@@ -255,7 +255,7 @@ async function main() {
255
255
  });
256
256
  return;
257
257
  }
258
- const { startClient } = await import("./chunks/start-client-5DVM75NR.js");
258
+ const { startClient } = await import("./chunks/start-client-TO5VFFM5.js");
259
259
  await startClient(appVersion, cliOptions, resolved, fileURLToPath(import.meta.url));
260
260
  }
261
261
  await main().catch((error) => {