qlogicagent 2.11.8 → 2.11.9
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.
|
@@ -14,6 +14,7 @@ export declare function setMediaClientConfig(client: MediaClient | undefined, ap
|
|
|
14
14
|
model: string;
|
|
15
15
|
}>>, onMediaProgress?: (taskId: string, mediaType: string, percent: number, status: string, provider?: string) => void): void;
|
|
16
16
|
export declare function getMediaRuntimeContext(): MediaFileServiceContext;
|
|
17
|
+
export declare function runWithMediaOutputDir<T>(outputDir: string | undefined, fn: () => Promise<T>): Promise<T>;
|
|
17
18
|
export declare function generateMedia(request: MediaRequest): Promise<MediaResult>;
|
|
18
19
|
/**
|
|
19
20
|
* Ensure an image size satisfies the resolved model's minimum resolution.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ToolInvoker } from "../agent/types.js";
|
|
2
|
-
import type
|
|
2
|
+
import { type MediaPersistence } from "../runtime/infra/media-persistence.js";
|
|
3
3
|
import type { PortableToolResult } from "../skills/portable-tool.js";
|
|
4
4
|
type ToolInvokeResult = Awaited<ReturnType<ToolInvoker["invoke"]>>;
|
|
5
5
|
export interface ToolResultProcessorDeps {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qlogicagent",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.9",
|
|
4
4
|
"description": "XiaozhiClaw Agent CLI — subprocess architecture (JSON-RPC over stdio)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -62,26 +62,6 @@
|
|
|
62
62
|
]
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
|
-
"scripts": {
|
|
66
|
-
"dev": "tsx watch src/index.ts",
|
|
67
|
-
"build": "node scripts/build.mjs",
|
|
68
|
-
"build:tsc": "tsc --noCheck",
|
|
69
|
-
"start": "node dist/cli.js",
|
|
70
|
-
"test": "vitest run",
|
|
71
|
-
"check": "tsc --noEmit && pnpm test && pnpm run check:architecture-boundaries && pnpm run check:provider-core-boundary && pnpm run check:pet-core-boundary && pnpm run check:workspace-hygiene && pnpm run check:package-artifact",
|
|
72
|
-
"test:watch": "vitest",
|
|
73
|
-
"lint": "oxlint .",
|
|
74
|
-
"check:architecture-boundaries": "node scripts/check-architecture-boundaries.mjs",
|
|
75
|
-
"check:provider-core-boundary": "node scripts/check-provider-core-boundary.mjs",
|
|
76
|
-
"check:pet-core-boundary": "node scripts/check-pet-core-boundary.mjs",
|
|
77
|
-
"check:workspace-hygiene": "node scripts/check-workspace-hygiene.mjs",
|
|
78
|
-
"check:workspace-hygiene:strict": "node scripts/check-workspace-hygiene.mjs --strict",
|
|
79
|
-
"check:package-artifact": "npm run build && node scripts/check-package-artifact.mjs",
|
|
80
|
-
"redteam:community-desensitization": "tsx src/runtime/community/community-desensitization-red-team-cli.ts",
|
|
81
|
-
"redteam:community-sandbox": "tsx src/skills/permissions/community-sandbox-red-team-cli.ts",
|
|
82
|
-
"clean:workspace-hygiene": "node scripts/clean-workspace-hygiene.mjs",
|
|
83
|
-
"release": "node scripts/release.mjs"
|
|
84
|
-
},
|
|
85
65
|
"engines": {
|
|
86
66
|
"node": ">=22.0.0"
|
|
87
67
|
},
|
|
@@ -89,7 +69,7 @@
|
|
|
89
69
|
"@agentclientprotocol/sdk": "^0.25.0",
|
|
90
70
|
"@napi-rs/canvas": "0.1.100",
|
|
91
71
|
"@xiaozhiclaw/pet-core": "0.1.0",
|
|
92
|
-
"@xiaozhiclaw/provider-core": "0.1.
|
|
72
|
+
"@xiaozhiclaw/provider-core": "0.1.5",
|
|
93
73
|
"better-sqlite3": "^12.10.0",
|
|
94
74
|
"dotenv": "^17.3.1",
|
|
95
75
|
"nanoid": "^5.1.5",
|
|
@@ -104,5 +84,25 @@
|
|
|
104
84
|
"tsx": "^4.19.0",
|
|
105
85
|
"typescript": "^5.9.0",
|
|
106
86
|
"vitest": "^3.1.0"
|
|
87
|
+
},
|
|
88
|
+
"scripts": {
|
|
89
|
+
"dev": "tsx watch src/index.ts",
|
|
90
|
+
"build": "node scripts/build.mjs",
|
|
91
|
+
"build:tsc": "tsc --noCheck",
|
|
92
|
+
"start": "node dist/cli.js",
|
|
93
|
+
"test": "vitest run",
|
|
94
|
+
"check": "tsc --noEmit && pnpm test && pnpm run check:architecture-boundaries && pnpm run check:provider-core-boundary && pnpm run check:pet-core-boundary && pnpm run check:workspace-hygiene && pnpm run check:package-artifact",
|
|
95
|
+
"test:watch": "vitest",
|
|
96
|
+
"lint": "oxlint .",
|
|
97
|
+
"check:architecture-boundaries": "node scripts/check-architecture-boundaries.mjs",
|
|
98
|
+
"check:provider-core-boundary": "node scripts/check-provider-core-boundary.mjs",
|
|
99
|
+
"check:pet-core-boundary": "node scripts/check-pet-core-boundary.mjs",
|
|
100
|
+
"check:workspace-hygiene": "node scripts/check-workspace-hygiene.mjs",
|
|
101
|
+
"check:workspace-hygiene:strict": "node scripts/check-workspace-hygiene.mjs --strict",
|
|
102
|
+
"check:package-artifact": "npm run build && node scripts/check-package-artifact.mjs",
|
|
103
|
+
"redteam:community-desensitization": "tsx src/runtime/community/community-desensitization-red-team-cli.ts",
|
|
104
|
+
"redteam:community-sandbox": "tsx src/skills/permissions/community-sandbox-red-team-cli.ts",
|
|
105
|
+
"clean:workspace-hygiene": "node scripts/clean-workspace-hygiene.mjs",
|
|
106
|
+
"release": "node scripts/release.mjs"
|
|
107
107
|
}
|
|
108
|
-
}
|
|
108
|
+
}
|