@integrity-labs/agt-cli 0.28.87 → 0.28.89
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 +4 -4
- package/dist/{chunk-OZWBVM7M.js → chunk-II75Z6KB.js} +2 -2
- package/dist/{chunk-IRXTLOES.js → chunk-Q7HS3VI2.js} +3 -3
- package/dist/{chunk-E5TGFEDQ.js → chunk-UB2LZXAL.js} +24 -2
- package/dist/chunk-UB2LZXAL.js.map +1 -0
- package/dist/{claude-pair-runtime-O5PHMHMF.js → claude-pair-runtime-UYTK55XK.js} +2 -2
- package/dist/lib/manager-worker.js +26 -14
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/slack-channel.js +4 -2
- package/dist/mcp/telegram-channel.js +3 -1
- package/dist/{persistent-session-ZAKXWRX7.js → persistent-session-IODNIQ2L.js} +3 -3
- package/dist/{responsiveness-probe-NKH4VYGR.js → responsiveness-probe-SBJXVSQH.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-E5TGFEDQ.js.map +0 -1
- /package/dist/{chunk-OZWBVM7M.js.map → chunk-II75Z6KB.js.map} +0 -0
- /package/dist/{chunk-IRXTLOES.js.map → chunk-Q7HS3VI2.js.map} +0 -0
- /package/dist/{claude-pair-runtime-O5PHMHMF.js.map → claude-pair-runtime-UYTK55XK.js.map} +0 -0
- /package/dist/{persistent-session-ZAKXWRX7.js.map → persistent-session-IODNIQ2L.js.map} +0 -0
- /package/dist/{responsiveness-probe-NKH4VYGR.js.map → responsiveness-probe-SBJXVSQH.js.map} +0 -0
|
@@ -18088,7 +18088,7 @@ async function postEphemeralViaResponseUrl(responseUrl, text, logTag) {
|
|
|
18088
18088
|
}
|
|
18089
18089
|
}
|
|
18090
18090
|
async function forwardOnboardingSlashCommand(opts) {
|
|
18091
|
-
const { verb, path, userId, responseUrl, codeName } = opts;
|
|
18091
|
+
const { verb, path, userId, channelId, responseUrl, codeName } = opts;
|
|
18092
18092
|
if (!AGT_HOST || !AGT_API_KEY || !AGT_AGENT_ID) {
|
|
18093
18093
|
await postEphemeralViaResponseUrl(
|
|
18094
18094
|
responseUrl,
|
|
@@ -18106,7 +18106,7 @@ async function forwardOnboardingSlashCommand(opts) {
|
|
|
18106
18106
|
};
|
|
18107
18107
|
const res = await apiCall2(cfg, "POST", `/host${path}`, {
|
|
18108
18108
|
agent_id: AGT_AGENT_ID,
|
|
18109
|
-
initiator: { channel: "slack", user_id: userId }
|
|
18109
|
+
initiator: { channel: "slack", user_id: userId, channel_id: channelId }
|
|
18110
18110
|
});
|
|
18111
18111
|
const data = await res.json();
|
|
18112
18112
|
const text = data.ok ? `\u{1F504} ${data.message ?? "Onboarding updated."}` : data.message ?? `:x: \`${verb}\` failed${data.error ? `: ${data.error}` : "."}`;
|
|
@@ -18399,6 +18399,7 @@ async function handleSlashCommandEnvelope(payload) {
|
|
|
18399
18399
|
verb: "/onboard",
|
|
18400
18400
|
path: "/onboarding/reset",
|
|
18401
18401
|
userId: payload.user_id,
|
|
18402
|
+
channelId: payload.channel_id,
|
|
18402
18403
|
responseUrl,
|
|
18403
18404
|
codeName
|
|
18404
18405
|
});
|
|
@@ -18409,6 +18410,7 @@ async function handleSlashCommandEnvelope(payload) {
|
|
|
18409
18410
|
verb: "/resume-onboarding",
|
|
18410
18411
|
path: "/onboarding/resume",
|
|
18411
18412
|
userId: payload.user_id,
|
|
18413
|
+
channelId: payload.channel_id,
|
|
18412
18414
|
responseUrl,
|
|
18413
18415
|
codeName
|
|
18414
18416
|
});
|
|
@@ -17255,7 +17255,9 @@ async function handleOnboardingCommand(opts) {
|
|
|
17255
17255
|
};
|
|
17256
17256
|
const res = await apiCall2(cfg, "POST", `/host/onboarding/${opts.mode}`, {
|
|
17257
17257
|
agent_id: AGT_AGENT_ID,
|
|
17258
|
-
|
|
17258
|
+
// ENG-6583: channel_id = the chat the command came from, so onboarding
|
|
17259
|
+
// anchors here and the agent asks its manager back in this chat.
|
|
17260
|
+
initiator: { channel: "telegram", user_id: opts.senderId, channel_id: opts.chatId }
|
|
17259
17261
|
});
|
|
17260
17262
|
const data = await res.json();
|
|
17261
17263
|
process.stderr.write(
|
|
@@ -25,8 +25,8 @@ import {
|
|
|
25
25
|
takeZombieDetection,
|
|
26
26
|
writeDirectChatSessionState,
|
|
27
27
|
writePersistentClaudeWrapper
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-II75Z6KB.js";
|
|
29
|
+
import "./chunk-UB2LZXAL.js";
|
|
30
30
|
import "./chunk-XWVM4KPK.js";
|
|
31
31
|
export {
|
|
32
32
|
SEND_KEYS_ENTER_DELAY_MS,
|
|
@@ -56,4 +56,4 @@ export {
|
|
|
56
56
|
writeDirectChatSessionState,
|
|
57
57
|
writePersistentClaudeWrapper
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=persistent-session-
|
|
59
|
+
//# sourceMappingURL=persistent-session-IODNIQ2L.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-II75Z6KB.js";
|
|
4
|
+
import "./chunk-UB2LZXAL.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -250,4 +250,4 @@ export {
|
|
|
250
250
|
parkPendingInbound,
|
|
251
251
|
readAndResetChannelDeflections
|
|
252
252
|
};
|
|
253
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
253
|
+
//# sourceMappingURL=responsiveness-probe-SBJXVSQH.js.map
|