adhdev 0.9.82-rc.219 → 0.9.82-rc.220
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/adhdev-mcp.js
CHANGED
|
@@ -126952,7 +126952,7 @@ var init_adhdev_daemon = __esm({
|
|
|
126952
126952
|
init_version();
|
|
126953
126953
|
init_src();
|
|
126954
126954
|
init_runtime_defaults();
|
|
126955
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.
|
|
126955
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.220" });
|
|
126956
126956
|
LOCAL_DAEMON_HEALTH_TIMEOUT_MS = 8e3;
|
|
126957
126957
|
AdhdevDaemon = class _AdhdevDaemon {
|
|
126958
126958
|
localHttpServer = null;
|
package/dist/cli/index.js
CHANGED
|
@@ -126922,7 +126922,7 @@ var init_adhdev_daemon = __esm({
|
|
|
126922
126922
|
init_version();
|
|
126923
126923
|
init_src();
|
|
126924
126924
|
init_runtime_defaults();
|
|
126925
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.
|
|
126925
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.220" });
|
|
126926
126926
|
LOCAL_DAEMON_HEALTH_TIMEOUT_MS = 8e3;
|
|
126927
126927
|
AdhdevDaemon = class _AdhdevDaemon {
|
|
126928
126928
|
localHttpServer = null;
|
package/dist/index.js
CHANGED
|
@@ -95744,7 +95744,7 @@ var init_adhdev_daemon = __esm({
|
|
|
95744
95744
|
init_version();
|
|
95745
95745
|
init_src();
|
|
95746
95746
|
init_runtime_defaults();
|
|
95747
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.
|
|
95747
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.220" });
|
|
95748
95748
|
LOCAL_DAEMON_HEALTH_TIMEOUT_MS = 8e3;
|
|
95749
95749
|
AdhdevDaemon = class _AdhdevDaemon {
|
|
95750
95750
|
localHttpServer = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adhdev",
|
|
3
|
-
"version": "0.9.82-rc.
|
|
3
|
+
"version": "0.9.82-rc.220",
|
|
4
4
|
"description": "ADHDev — Agent Dashboard Hub for Dev. The control hub for your AI coding agents (Claude Code, Codex, Hermes, …).",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"node": ">=18"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@adhdev/daemon-core": "0.9.82-rc.
|
|
52
|
+
"@adhdev/daemon-core": "0.9.82-rc.220",
|
|
53
53
|
"@adhdev/ghostty-vt-node": "*",
|
|
54
54
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
55
55
|
"@xterm/addon-serialize": "^0.14.0",
|
|
@@ -273,7 +273,11 @@ function summarizeToolMessage(message) {
|
|
|
273
273
|
return null;
|
|
274
274
|
}
|
|
275
275
|
function buildCompactMessageTail(visibleMessages, opts) {
|
|
276
|
-
|
|
276
|
+
const tail = visibleMessages.slice(-opts.limit);
|
|
277
|
+
if (opts.finalAssistant && !tail.includes(opts.finalAssistant)) {
|
|
278
|
+
return [opts.finalAssistant, ...tail];
|
|
279
|
+
}
|
|
280
|
+
return tail;
|
|
277
281
|
}
|
|
278
282
|
function compactChatPayload(payload, opts = {}) {
|
|
279
283
|
const rawMessages = Array.isArray(payload?.messages) ? payload.messages : [];
|
|
@@ -3281,7 +3285,7 @@ async function meshReadChat(ctx, args) {
|
|
|
3281
3285
|
workspace: node.workspace,
|
|
3282
3286
|
...cached?.providerType ? { agentType: cached.providerType, providerType: cached.providerType } : {},
|
|
3283
3287
|
...providerSessionId ? { providerSessionId } : {},
|
|
3284
|
-
tailLimit: args.tail ??
|
|
3288
|
+
tailLimit: args.tail ?? 10
|
|
3285
3289
|
});
|
|
3286
3290
|
const payload = annotateRapidReadChatAdvisory(unwrapCommandPayload(result), {
|
|
3287
3291
|
key: `mesh:${args.node_id}:${args.session_id}`,
|
|
@@ -3293,7 +3297,7 @@ async function meshReadChat(ctx, args) {
|
|
|
3293
3297
|
const compactPayload = compactChatPayload(payload, {
|
|
3294
3298
|
nodeId: args.node_id,
|
|
3295
3299
|
sessionId: args.session_id,
|
|
3296
|
-
limit: args.tail ??
|
|
3300
|
+
limit: args.tail ?? 10
|
|
3297
3301
|
});
|
|
3298
3302
|
return JSON.stringify(
|
|
3299
3303
|
payload.pollingAdvisory ? { ...compactPayload, pollingAdvisory: payload.pollingAdvisory } : compactPayload,
|
|
@@ -3306,7 +3310,7 @@ async function meshReadChat(ctx, args) {
|
|
|
3306
3310
|
try {
|
|
3307
3311
|
const targetId = `${node.daemonId}:session:${args.session_id}`;
|
|
3308
3312
|
const res = await ctx.transport.readChat(targetId, {
|
|
3309
|
-
limit: args.tail ??
|
|
3313
|
+
limit: args.tail ?? 10,
|
|
3310
3314
|
sessionId: args.session_id
|
|
3311
3315
|
});
|
|
3312
3316
|
return JSON.stringify(res, null, 2);
|