qlogicagent 2.10.24 → 2.10.26

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.
@@ -10,6 +10,7 @@ import { type AgentRpcError, type AgentRpcRequest } from "../../protocol/wire/in
10
10
  import type { TaskStore } from "../../runtime/infra/task-runtime.js";
11
11
  export interface ConfigHandlerHost {
12
12
  taskStore: TaskStore;
13
+ syncToolListMediaConfig?(): void;
13
14
  sendResponse(id: string | number, result?: unknown, error?: AgentRpcError): void;
14
15
  }
15
16
  export declare function handleToolsList(this: ConfigHandlerHost, msg: AgentRpcRequest): void;
@@ -86,6 +86,7 @@ export declare class StdioServer {
86
86
  */
87
87
  private getActiveProjectRoot;
88
88
  ensureModelRegistryHydrated(): Promise<void>;
89
+ syncToolListMediaConfig(): void;
89
90
  /**
90
91
  * Single entry point for updating the active workdir.
91
92
  * Centralizes all side-effects (bootstrap workdir, media persistence, etc.).
@@ -1,3 +1,5 @@
1
+ import type { TurnConfig } from "../agent/types.js";
2
+ import { type ModelRegistry } from "../runtime/infra/model-registry.js";
1
3
  import { type MediaClient } from "./provider-core-facade.js";
2
4
  interface MediaUsageRecorder {
3
5
  addMediaUsage(model: string, billingUnit: string, quantity: number): void;
@@ -8,6 +10,7 @@ export interface TurnMediaSetupHost {
8
10
  sessionState?: MediaUsageRecorder | null;
9
11
  sendNotification(method: string, params: Record<string, unknown>): void;
10
12
  }
13
+ export declare function deriveMediaProvidersFromBindings(registry: Pick<ModelRegistry, "getBinding">): TurnConfig["mediaProviders"];
11
14
  export declare function configureTurnMedia(params: {
12
15
  host: TurnMediaSetupHost;
13
16
  config?: Record<string, unknown>;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qlogicagent",
3
- "version": "2.10.24",
3
+ "version": "2.10.26",
4
4
  "description": "XiaozhiClaw Agent CLI — subprocess architecture (JSON-RPC over stdio)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -76,7 +76,7 @@
76
76
  "node": ">=22.0.0"
77
77
  },
78
78
  "dependencies": {
79
- "@xiaozhiclaw/provider-core": "^0.1.0",
79
+ "@xiaozhiclaw/provider-core": "^0.1.0",
80
80
  "better-sqlite3": "^12.10.0",
81
81
  "dotenv": "^17.3.1",
82
82
  "nanoid": "^5.1.5",