@agentprojectcontext/apx 1.53.2 → 1.53.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentprojectcontext/apx",
3
- "version": "1.53.2",
3
+ "version": "1.53.3",
4
4
  "description": "APX — unified CLI + daemon for the Agent Project Context (APC) standard.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -9,7 +9,7 @@ import fs from "node:fs";
9
9
  import os from "node:os";
10
10
  import path from "node:path";
11
11
 
12
- export function register(app, { scheduler, plugins, config }) {
12
+ export function register(app, { scheduler, plugins, config, registries }) {
13
13
  // Daemon logs: errors.jsonl (structured) or apx.log (plain), newest first.
14
14
  app.get("/admin/logs", (req, res) => {
15
15
  const dir = path.join(os.homedir(), ".apx", "logs");
@@ -35,6 +35,7 @@ export function register(app, { scheduler, plugins, config }) {
35
35
  Object.assign(config, fresh);
36
36
  if (scheduler) scheduler.globalConfig = config;
37
37
  if (plugins) plugins.config = config;
38
+ if (registries) registries.shutdown();
38
39
  res.json({
39
40
  ok: true,
40
41
  super_agent_model: config.super_agent?.model || null,