nextclaw 0.15.8 → 0.15.10
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/dist/cli/index.js +2 -2
- package/package.json +6 -6
package/dist/cli/index.js
CHANGED
|
@@ -4745,7 +4745,8 @@ function resolvePluginRuntimeRequest(ctx) {
|
|
|
4745
4745
|
const bodyForAgent = typeof ctx.BodyForAgent === "string" ? ctx.BodyForAgent : "";
|
|
4746
4746
|
const body = typeof ctx.Body === "string" ? ctx.Body : "";
|
|
4747
4747
|
const content = (bodyForAgent || body).trim();
|
|
4748
|
-
|
|
4748
|
+
const attachments = resolvePluginRuntimeAttachments(ctx);
|
|
4749
|
+
if (!content && attachments.length === 0) {
|
|
4749
4750
|
return null;
|
|
4750
4751
|
}
|
|
4751
4752
|
const sessionKey = typeof ctx.SessionKey === "string" && ctx.SessionKey.trim().length > 0 ? ctx.SessionKey : void 0;
|
|
@@ -4754,7 +4755,6 @@ function resolvePluginRuntimeRequest(ctx) {
|
|
|
4754
4755
|
const agentId = typeof ctx.AgentId === "string" ? ctx.AgentId : void 0;
|
|
4755
4756
|
const modelOverride = resolveModelOverride(ctx);
|
|
4756
4757
|
const accountId = typeof ctx.AccountId === "string" && ctx.AccountId.trim().length > 0 ? ctx.AccountId : void 0;
|
|
4757
|
-
const attachments = resolvePluginRuntimeAttachments(ctx);
|
|
4758
4758
|
return {
|
|
4759
4759
|
content,
|
|
4760
4760
|
sessionKey,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nextclaw",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.10",
|
|
4
4
|
"description": "Lightweight personal AI assistant with CLI, multi-provider routing, and channel integrations.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
"commander": "^12.1.0",
|
|
41
41
|
"yaml": "^2.8.1",
|
|
42
42
|
"@nextclaw/core": "0.11.1",
|
|
43
|
-
"@nextclaw/mcp": "0.1.
|
|
43
|
+
"@nextclaw/mcp": "0.1.48",
|
|
44
44
|
"@nextclaw/ncp": "0.3.2",
|
|
45
45
|
"@nextclaw/ncp-agent-runtime": "0.2.3",
|
|
46
|
-
"@nextclaw/ncp-mcp": "0.1.
|
|
46
|
+
"@nextclaw/ncp-mcp": "0.1.47",
|
|
47
47
|
"@nextclaw/ncp-toolkit": "0.4.2",
|
|
48
|
-
"@nextclaw/
|
|
48
|
+
"@nextclaw/openclaw-compat": "0.3.29",
|
|
49
|
+
"@nextclaw/server": "0.10.52",
|
|
49
50
|
"@nextclaw/runtime": "0.2.15",
|
|
50
|
-
"@nextclaw/
|
|
51
|
-
"@nextclaw/openclaw-compat": "0.3.27"
|
|
51
|
+
"@nextclaw/remote": "0.1.46"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/node": "^20.17.6",
|