qlogicagent 2.10.24 → 2.10.25
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.
|
@@ -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.
|
|
3
|
+
"version": "2.10.25",
|
|
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",
|