@agentconnect.md/daemon 1.0.0-rc.269 → 1.0.0-rc.270
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/{acp-host-htcdepjb.js → acp-host-xCr--GKm.js} +20 -3
- package/dist/acp-host-xCr--GKm.js.map +1 -0
- package/dist/{agent-list-Bobe1W08.js → agent-list-BgDH5jJz.js} +2 -2
- package/dist/{agent-list-Bobe1W08.js.map → agent-list-BgDH5jJz.js.map} +1 -1
- package/dist/{chat-GmwygspN.js → chat-D1C522Lt.js} +3 -3
- package/dist/{chat-GmwygspN.js.map → chat-D1C522Lt.js.map} +1 -1
- package/dist/index.js +4 -4
- package/dist/{load-agents-BcaxKtWB.js → load-agents-DhUBoDuc.js} +13 -2
- package/dist/load-agents-DhUBoDuc.js.map +1 -0
- package/dist/{login-BSddEKOO.js → login-aRHtutvb.js} +3 -3
- package/dist/{login-BSddEKOO.js.map → login-aRHtutvb.js.map} +1 -1
- package/dist/{run-foreground-9ZCCs2Tm.js → run-foreground-BQ2MBshl.js} +40 -4
- package/dist/{run-foreground-9ZCCs2Tm.js.map → run-foreground-BQ2MBshl.js.map} +1 -1
- package/dist/run-foreground-CEBy0pe6.js +2 -0
- package/package.json +1 -1
- package/dist/acp-host-htcdepjb.js.map +0 -1
- package/dist/load-agents-BcaxKtWB.js.map +0 -1
- package/dist/run-foreground-c6btHIVL.js +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as __require, o as __toESM, t as __commonJSMin } from "./rolldown-runtime-CE-6LUnI.js";
|
|
2
2
|
import { t as require_src$1 } from "./src-DDtlVutj.js";
|
|
3
3
|
import { T as NEVER, _ as record, a as array, b as unknown, d as literal, l as int, m as object, o as boolean, p as number, u as intersection, v as string, x as url, y as union } from "./schemas-CQkO9hC5.js";
|
|
4
|
-
import { d as normalizeGitUrl, x as MEMORY_INDEX } from "./load-agents-
|
|
4
|
+
import { d as normalizeGitUrl, x as MEMORY_INDEX } from "./load-agents-DhUBoDuc.js";
|
|
5
5
|
import { c as registryPath, s as registryCachePath } from "./paths-DEcUO8lC.js";
|
|
6
6
|
import { delimiter, dirname, isAbsolute, join, normalize, relative, resolve, sep } from "node:path";
|
|
7
7
|
import { accessSync, constants, existsSync, mkdirSync, promises, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
@@ -343,10 +343,26 @@ const MEMORY_TOOLS = [
|
|
|
343
343
|
/** The memory tool names — used to strip them for a `native`-memory agent (which
|
|
344
344
|
* uses the runtime's own memory instead). */
|
|
345
345
|
const MEMORY_TOOL_NAMES = new Set(MEMORY_TOOLS.map((t) => t.name));
|
|
346
|
+
/**
|
|
347
|
+
* Agent-collaboration tools — available to EVERY agent regardless of platform
|
|
348
|
+
* (discovery is org/coords-level, not platform-gated). `listChannelAgents` asks
|
|
349
|
+
* the CP who else is in the current channel so an agent can find peers to work
|
|
350
|
+
* with. The requesting agent's identity is injected by the daemon from the
|
|
351
|
+
* session context — it is NOT a tool input.
|
|
352
|
+
*/
|
|
353
|
+
const COLLABORATION_TOOLS = [{
|
|
354
|
+
name: "listChannelAgents",
|
|
355
|
+
description: "List the other AI agents present in a channel — their id, name, displayName, description, and status — so you can discover peers to collaborate with. Omit `channel` to list agents in the channel this conversation is happening in. Only channels you are a member of can be listed, and only agents you are allowed to reach are returned.",
|
|
356
|
+
inputSchema: obj({ channel: {
|
|
357
|
+
type: "string",
|
|
358
|
+
description: "Channel/chat id to list agents for. Defaults to the current channel."
|
|
359
|
+
} })
|
|
360
|
+
}];
|
|
346
361
|
[...new Set([
|
|
347
362
|
...SLACK_TOOLS,
|
|
348
363
|
...TELEGRAM_TOOLS,
|
|
349
|
-
...MEMORY_TOOLS
|
|
364
|
+
...MEMORY_TOOLS,
|
|
365
|
+
...COLLABORATION_TOOLS
|
|
350
366
|
].map((t) => t.name))];
|
|
351
367
|
/**
|
|
352
368
|
* The default MCP tool set for an agent. The memory tools are always present
|
|
@@ -366,6 +382,7 @@ function toolsForIntegrations(integrations) {
|
|
|
366
382
|
}
|
|
367
383
|
};
|
|
368
384
|
add(MEMORY_TOOLS);
|
|
385
|
+
add(COLLABORATION_TOOLS);
|
|
369
386
|
if (integrations.some((i) => i.platform === "slack")) add(SLACK_TOOLS);
|
|
370
387
|
if (integrations.some((i) => i.platform === "telegram")) add(TELEGRAM_TOOLS);
|
|
371
388
|
return tools;
|
|
@@ -9993,4 +10010,4 @@ var AcpHost = class {
|
|
|
9993
10010
|
//#endregion
|
|
9994
10011
|
export { resolveRuntimes as S, writeMemoryFile as _, initGitInjection as a, cachedRuntimeNames as b, simpleGit as c, memoryProviderFor as d, MemoryConflictError as f, resolveInMemoryDir as g, listMemory as h, prepareWorkspace as i, createMemoryProvider as l, MemoryTooLargeError as m, installedRuntimes as n, probeGitVersion as o, MemoryPathError as p, prefetchWorkspace as r, sessionGitEnv as s, AcpHost as t, memoryKindOf as u, MEMORY_TOOL_NAMES as v, cachedRuntimeVersions as x, toolsForIntegrations as y };
|
|
9995
10012
|
|
|
9996
|
-
//# sourceMappingURL=acp-host-
|
|
10013
|
+
//# sourceMappingURL=acp-host-xCr--GKm.js.map
|