@integrity-labs/agt-cli 0.28.1100 → 0.28.1102
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 +3 -3
- package/dist/{chunk-BCIY67GX.js → chunk-P5GRCGQ5.js} +399 -2
- package/dist/chunk-P5GRCGQ5.js.map +1 -0
- package/dist/lib/manager-worker.js +8 -2
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/slack-channel.js +4 -1
- package/dist/mcp/telegram-channel.js +5 -2
- package/package.json +1 -1
- package/dist/chunk-BCIY67GX.js.map +0 -1
|
@@ -22832,7 +22832,8 @@ async function resolveInteractive(cfg, input) {
|
|
|
22832
22832
|
responded_by_user: input.respondedByUser,
|
|
22833
22833
|
response_url: input.responseUrl,
|
|
22834
22834
|
original_blocks: input.originalBlocks,
|
|
22835
|
-
trigger_id: input.triggerId
|
|
22835
|
+
trigger_id: input.triggerId,
|
|
22836
|
+
...input.slackWorkspaceId ? { surface_channel: "slack", surface_workspace_id: input.slackWorkspaceId } : {}
|
|
22836
22837
|
});
|
|
22837
22838
|
if (!res.ok) {
|
|
22838
22839
|
const body = await res.text().catch(() => "");
|
|
@@ -50367,6 +50368,8 @@ async function connectSocketMode() {
|
|
|
50367
50368
|
callbackId: decoded.callbackId,
|
|
50368
50369
|
token: decoded.token,
|
|
50369
50370
|
respondedByUser: msg.payload.user?.id,
|
|
50371
|
+
// ENG-11372 PR3: the tap's workspace, for the API's binding shadow.
|
|
50372
|
+
slackWorkspaceId: msg.payload.team?.id,
|
|
50370
50373
|
originalBlocks: msg.payload.message?.blocks,
|
|
50371
50374
|
responseUrl: msg.payload.response_url,
|
|
50372
50375
|
// ENG-7170: forwarded so the resolver's form_request branch can
|
|
@@ -22832,7 +22832,8 @@ async function resolveInteractive(cfg, input) {
|
|
|
22832
22832
|
responded_by_user: input.respondedByUser,
|
|
22833
22833
|
response_url: input.responseUrl,
|
|
22834
22834
|
original_blocks: input.originalBlocks,
|
|
22835
|
-
trigger_id: input.triggerId
|
|
22835
|
+
trigger_id: input.triggerId,
|
|
22836
|
+
...input.slackWorkspaceId ? { surface_channel: "slack", surface_workspace_id: input.slackWorkspaceId } : {}
|
|
22836
22837
|
});
|
|
22837
22838
|
if (!res.ok) {
|
|
22838
22839
|
const body = await res.text().catch(() => "");
|
|
@@ -46763,7 +46764,9 @@ async function handleCallbackQuery(cb) {
|
|
|
46763
46764
|
agent_id: cfg.agentId,
|
|
46764
46765
|
callback_id: decoded.callbackId,
|
|
46765
46766
|
token: decoded.token,
|
|
46766
|
-
responded_by_user: String(cb.from.id)
|
|
46767
|
+
responded_by_user: String(cb.from.id),
|
|
46768
|
+
// ENG-11372 PR3: names the chat for the API's binding shadow.
|
|
46769
|
+
surface_channel: "telegram"
|
|
46767
46770
|
});
|
|
46768
46771
|
resolveResult = await res.json().catch(() => ({}));
|
|
46769
46772
|
if (!res.ok || !resolveResult.ok) {
|