@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.
@@ -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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1100",
3
+ "version": "0.28.1102",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {