@integrity-labs/agt-cli 0.28.209 → 0.28.211
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/bin/agt.js +42 -46
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-Z62QHIR3.js → chunk-Y4IVPWJB.js} +14 -20
- package/dist/{chunk-Z62QHIR3.js.map → chunk-Y4IVPWJB.js.map} +1 -1
- package/dist/{chunk-WFCCBTA6.js → chunk-ZV4PUS7E.js} +19 -2
- package/dist/chunk-ZV4PUS7E.js.map +1 -0
- package/dist/{claude-pair-runtime-UUTPSE2V.js → claude-pair-runtime-J2EPW7J2.js} +2 -2
- package/dist/lib/manager-worker.js +18 -9
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +11 -3
- package/dist/{persistent-session-Z46SCCQM.js → persistent-session-56STIRFQ.js} +4 -2
- package/dist/{responsiveness-probe-4MUX7FBH.js → responsiveness-probe-S74AWIEF.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-WFCCBTA6.js.map +0 -1
- /package/dist/{claude-pair-runtime-UUTPSE2V.js.map → claude-pair-runtime-J2EPW7J2.js.map} +0 -0
- /package/dist/{persistent-session-Z46SCCQM.js.map → persistent-session-56STIRFQ.js.map} +0 -0
- /package/dist/{responsiveness-probe-4MUX7FBH.js.map → responsiveness-probe-S74AWIEF.js.map} +0 -0
|
@@ -14302,7 +14302,7 @@ function readLockHolder(path) {
|
|
|
14302
14302
|
|
|
14303
14303
|
// src/direct-chat-channel.ts
|
|
14304
14304
|
import { homedir as homedir2 } from "os";
|
|
14305
|
-
import { join as join4 } from "path";
|
|
14305
|
+
import { dirname as dirname2, join as join4 } from "path";
|
|
14306
14306
|
import { watch, mkdirSync as mkdirSync3, writeFileSync as writeFileSync3 } from "fs";
|
|
14307
14307
|
|
|
14308
14308
|
// src/direct-chat-inbound-attachments.ts
|
|
@@ -14511,6 +14511,14 @@ var AGT_HOST = process.env.AGT_HOST;
|
|
|
14511
14511
|
var AGT_API_KEY = process.env.AGT_API_KEY;
|
|
14512
14512
|
var AGT_AGENT_ID = process.env.AGT_AGENT_ID;
|
|
14513
14513
|
var DIRECT_CHAT_AGENT_DIR = AGT_AGENT_ID ? join4(homedir2(), ".augmented", AGT_AGENT_ID) : null;
|
|
14514
|
+
var CODE_NAME_AGENT_DIR = (() => {
|
|
14515
|
+
const codeName = process.env.AGT_AGENT_CODE_NAME;
|
|
14516
|
+
if (codeName) return join4(homedir2(), ".augmented", codeName);
|
|
14517
|
+
const initiatorFile = process.env.AGT_TURN_INITIATOR_FILE;
|
|
14518
|
+
if (initiatorFile) return dirname2(initiatorFile);
|
|
14519
|
+
return DIRECT_CHAT_AGENT_DIR;
|
|
14520
|
+
})();
|
|
14521
|
+
var INBOUND_ATTACHMENTS_DIR = CODE_NAME_AGENT_DIR ? join4(CODE_NAME_AGENT_DIR, "direct-chat-inbound") : null;
|
|
14514
14522
|
var inboundContextClient = createInboundContextClient({
|
|
14515
14523
|
agtHost: AGT_HOST ?? null,
|
|
14516
14524
|
agtApiKey: AGT_API_KEY ?? null,
|
|
@@ -14902,10 +14910,10 @@ async function pollForMessages(sinceMs) {
|
|
|
14902
14910
|
let injectContent = msg.content;
|
|
14903
14911
|
let attachmentMeta = {};
|
|
14904
14912
|
const inboundAttachments = msg.attachments ?? [];
|
|
14905
|
-
if (!isNotice && inboundAttachments.length > 0 &&
|
|
14913
|
+
if (!isNotice && inboundAttachments.length > 0 && INBOUND_ATTACHMENTS_DIR) {
|
|
14906
14914
|
const processed = await downloadInboundAttachments(
|
|
14907
14915
|
inboundAttachments,
|
|
14908
|
-
|
|
14916
|
+
INBOUND_ATTACHMENTS_DIR,
|
|
14909
14917
|
inboundAttachmentDeps
|
|
14910
14918
|
);
|
|
14911
14919
|
const annotation = buildAttachmentAnnotation(processed);
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
isolationMode,
|
|
19
19
|
paneLogPath,
|
|
20
20
|
prepareForRespawn,
|
|
21
|
+
readDirectChatSessionState,
|
|
21
22
|
readPaneLogTail,
|
|
22
23
|
reloadEgressSidecar,
|
|
23
24
|
resetRestartCount,
|
|
@@ -35,7 +36,7 @@ import {
|
|
|
35
36
|
writeDirectChatSessionState,
|
|
36
37
|
writeEgressAllowlist,
|
|
37
38
|
writePersistentClaudeWrapper
|
|
38
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-ZV4PUS7E.js";
|
|
39
40
|
import "./chunk-XWVM4KPK.js";
|
|
40
41
|
export {
|
|
41
42
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -57,6 +58,7 @@ export {
|
|
|
57
58
|
isolationMode,
|
|
58
59
|
paneLogPath,
|
|
59
60
|
prepareForRespawn,
|
|
61
|
+
readDirectChatSessionState,
|
|
60
62
|
readPaneLogTail,
|
|
61
63
|
reloadEgressSidecar,
|
|
62
64
|
resetRestartCount,
|
|
@@ -75,4 +77,4 @@ export {
|
|
|
75
77
|
writeEgressAllowlist,
|
|
76
78
|
writePersistentClaudeWrapper
|
|
77
79
|
};
|
|
78
|
-
//# sourceMappingURL=persistent-session-
|
|
80
|
+
//# sourceMappingURL=persistent-session-56STIRFQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZV4PUS7E.js";
|
|
4
4
|
import "./chunk-XWVM4KPK.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/responsiveness-probe.ts
|
|
@@ -303,4 +303,4 @@ export {
|
|
|
303
303
|
readAndResetChannelDeflections,
|
|
304
304
|
readAndResetChannelLaneClassifications
|
|
305
305
|
};
|
|
306
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
306
|
+
//# sourceMappingURL=responsiveness-probe-S74AWIEF.js.map
|