@agentconnect.md/daemon 1.0.0-rc.323 → 1.0.0-rc.325
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-BEjpql6l.js → acp-host-DKkoWiWe.js} +70 -4
- package/dist/acp-host-DKkoWiWe.js.map +1 -0
- package/dist/{agent-list-Ckqv2x26.js → agent-list-CE6JNwIB.js} +2 -2
- package/dist/{agent-list-Ckqv2x26.js.map → agent-list-CE6JNwIB.js.map} +1 -1
- package/dist/{chat-MTttQBSF.js → chat-lv_zfcAK.js} +3 -3
- package/dist/{chat-MTttQBSF.js.map → chat-lv_zfcAK.js.map} +1 -1
- package/dist/{dist-D8I6ZfGL.js → dist-D97dgR66.js} +212 -8
- package/dist/dist-D97dgR66.js.map +1 -0
- package/dist/{gh-token-CeVzSIMp.js → gh-token-CYlbctQZ.js} +2 -2
- package/dist/{gh-token-CeVzSIMp.js.map → gh-token-CYlbctQZ.js.map} +1 -1
- package/dist/index.js +5 -5
- package/dist/{load-agents-C2pFahVp.js → load-agents-CuXy_Ei1.js} +2 -2
- package/dist/{load-agents-C2pFahVp.js.map → load-agents-CuXy_Ei1.js.map} +1 -1
- package/dist/{login-D6xoGjQX.js → login-Diogp5gy.js} +4 -4
- package/dist/{login-D6xoGjQX.js.map → login-Diogp5gy.js.map} +1 -1
- package/dist/run-foreground-BhBLQHcI.js +2 -0
- package/dist/{run-foreground-B5Kfk1KO.js → run-foreground-sX3AL91D.js} +1116 -124
- package/dist/{run-foreground-B5Kfk1KO.js.map → run-foreground-sX3AL91D.js.map} +1 -1
- package/package.json +1 -1
- package/dist/acp-host-BEjpql6l.js.map +0 -1
- package/dist/dist-D8I6ZfGL.js.map +0 -1
- package/dist/run-foreground-D0Q64Gar.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 { p as MEMORY_INDEX, r as normalizeGitUrl } from "./dist-
|
|
4
|
+
import { p as MEMORY_INDEX, r as normalizeGitUrl } from "./dist-D97dgR66.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";
|
|
@@ -446,12 +446,78 @@ const COLLABORATION_TOOLS = [
|
|
|
446
446
|
} }, ["orchestrationId"])
|
|
447
447
|
}
|
|
448
448
|
];
|
|
449
|
+
/**
|
|
450
|
+
* Formal GitHub PR review effect. The descriptor may remain attached to a
|
|
451
|
+
* long-lived per-thread ACP session, but availability is not authorization:
|
|
452
|
+
* execution resolves the daemon-private active hook turn and fails closed for
|
|
453
|
+
* every ordinary/non-PR/policy-off turn. The target is intentionally absent.
|
|
454
|
+
*/
|
|
455
|
+
const GITHUB_REVIEW_TOOLS = [{
|
|
456
|
+
name: "submitGithubReview",
|
|
457
|
+
description: "Submit the formal review for the active GitHub pull-request hook turn. The repository, pull request, and commit are fixed by trusted turn metadata and cannot be selected here. Use COMMENT for a formal non-blocking review, REQUEST_CHANGES for a failing review, or APPROVE for a passing review. This tool is unavailable outside an authorized active PR hook turn, and at most one review can be submitted per turn.",
|
|
458
|
+
inputSchema: obj({
|
|
459
|
+
event: {
|
|
460
|
+
type: "string",
|
|
461
|
+
enum: [
|
|
462
|
+
"COMMENT",
|
|
463
|
+
"REQUEST_CHANGES",
|
|
464
|
+
"APPROVE"
|
|
465
|
+
]
|
|
466
|
+
},
|
|
467
|
+
verdict: {
|
|
468
|
+
type: "string",
|
|
469
|
+
enum: [
|
|
470
|
+
"pass",
|
|
471
|
+
"fail",
|
|
472
|
+
"neutral"
|
|
473
|
+
]
|
|
474
|
+
},
|
|
475
|
+
body: {
|
|
476
|
+
type: "string",
|
|
477
|
+
description: "Short top-level review summary. Required and non-empty for COMMENT and REQUEST_CHANGES."
|
|
478
|
+
},
|
|
479
|
+
comments: {
|
|
480
|
+
type: "array",
|
|
481
|
+
description: "Optional inline review comments, submitted atomically with the top-level review.",
|
|
482
|
+
items: obj({
|
|
483
|
+
path: { type: "string" },
|
|
484
|
+
body: { type: "string" },
|
|
485
|
+
line: {
|
|
486
|
+
type: "integer",
|
|
487
|
+
minimum: 1
|
|
488
|
+
},
|
|
489
|
+
side: {
|
|
490
|
+
type: "string",
|
|
491
|
+
enum: ["LEFT", "RIGHT"]
|
|
492
|
+
},
|
|
493
|
+
startLine: {
|
|
494
|
+
type: "integer",
|
|
495
|
+
minimum: 1
|
|
496
|
+
},
|
|
497
|
+
startSide: {
|
|
498
|
+
type: "string",
|
|
499
|
+
enum: ["LEFT", "RIGHT"]
|
|
500
|
+
}
|
|
501
|
+
}, [
|
|
502
|
+
"path",
|
|
503
|
+
"body",
|
|
504
|
+
"line",
|
|
505
|
+
"side"
|
|
506
|
+
])
|
|
507
|
+
}
|
|
508
|
+
}, [
|
|
509
|
+
"event",
|
|
510
|
+
"verdict",
|
|
511
|
+
"body"
|
|
512
|
+
])
|
|
513
|
+
}];
|
|
449
514
|
const ALL_TOOL_NAMES = [...new Set([
|
|
450
515
|
...SESSION_TOOLS,
|
|
451
516
|
...SLACK_TOOLS,
|
|
452
517
|
...TELEGRAM_TOOLS,
|
|
453
518
|
...MEMORY_TOOLS,
|
|
454
|
-
...COLLABORATION_TOOLS
|
|
519
|
+
...COLLABORATION_TOOLS,
|
|
520
|
+
...GITHUB_REVIEW_TOOLS
|
|
455
521
|
].map((t) => t.name))];
|
|
456
522
|
/**
|
|
457
523
|
* The default MCP tool set for an agent. Session metadata, memory, and
|
|
@@ -10162,6 +10228,6 @@ var AcpHost = class {
|
|
|
10162
10228
|
}
|
|
10163
10229
|
};
|
|
10164
10230
|
//#endregion
|
|
10165
|
-
export {
|
|
10231
|
+
export { cachedRuntimeNames as C, toolsForIntegrations as S, resolveRuntimes as T, resolveInMemoryDir as _, prepareWorkspace as a, GITHUB_REVIEW_TOOLS as b, sessionGitEnv as c, memoryKindOf as d, memoryProviderFor as f, listMemory as g, MemoryTooLargeError as h, prefetchWorkspace as i, simpleGit as l, MemoryPathError as m, turnFailureReason as n, initGitInjection as o, MemoryConflictError as p, installedRuntimes as r, probeGitVersion as s, AcpHost as t, createMemoryProvider as u, writeMemoryFile as v, cachedRuntimeVersions as w, MEMORY_TOOL_NAMES as x, ALL_TOOL_NAMES as y };
|
|
10166
10232
|
|
|
10167
|
-
//# sourceMappingURL=acp-host-
|
|
10233
|
+
//# sourceMappingURL=acp-host-DKkoWiWe.js.map
|