@inkeep/agents-work-apps 0.0.0-dev-20260224023234 → 0.0.0-dev-20260224030137

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.
@@ -4,10 +4,10 @@ import "./routes/setup.js";
4
4
  import "./routes/tokenExchange.js";
5
5
  import { WebhookVerificationResult, verifyWebhookSignature } from "./routes/webhooks.js";
6
6
  import { Hono } from "hono";
7
- import * as hono_types6 from "hono/types";
7
+ import * as hono_types0 from "hono/types";
8
8
 
9
9
  //#region src/github/index.d.ts
10
- declare function createGithubRoutes(): Hono<hono_types6.BlankEnv, hono_types6.BlankSchema, "/">;
11
- declare const githubRoutes: Hono<hono_types6.BlankEnv, hono_types6.BlankSchema, "/">;
10
+ declare function createGithubRoutes(): Hono<hono_types0.BlankEnv, hono_types0.BlankSchema, "/">;
11
+ declare const githubRoutes: Hono<hono_types0.BlankEnv, hono_types0.BlankSchema, "/">;
12
12
  //#endregion
13
13
  export { GenerateInstallationAccessTokenResult, GenerateTokenError, GenerateTokenResult, GitHubAppConfig, InstallationAccessToken, InstallationInfo, LookupInstallationError, LookupInstallationForRepoResult, LookupInstallationResult, WebhookVerificationResult, clearConfigCache, createAppJwt, createGithubRoutes, determineStatus, fetchInstallationDetails, fetchInstallationRepositories, generateInstallationAccessToken, getGitHubAppConfig, getGitHubAppName, getStateSigningSecret, getWebhookSecret, githubRoutes, isGitHubAppConfigured, isGitHubAppNameConfigured, isStateSigningConfigured, isWebhookConfigured, lookupInstallationForRepo, validateGitHubAppConfigOnStartup, validateGitHubInstallFlowConfigOnStartup, validateGitHubWebhookConfigOnStartup, verifyWebhookSignature };
@@ -1,7 +1,7 @@
1
- import * as hono0 from "hono";
1
+ import * as hono1 from "hono";
2
2
 
3
3
  //#region src/github/mcp/auth.d.ts
4
- declare const githubMcpAuth: () => hono0.MiddlewareHandler<{
4
+ declare const githubMcpAuth: () => hono1.MiddlewareHandler<{
5
5
  Variables: {
6
6
  toolId: string;
7
7
  };
@@ -1,11 +1,11 @@
1
1
  import { Hono } from "hono";
2
- import * as hono_types0 from "hono/types";
2
+ import * as hono_types9 from "hono/types";
3
3
 
4
4
  //#region src/github/mcp/index.d.ts
5
5
  declare const app: Hono<{
6
6
  Variables: {
7
7
  toolId: string;
8
8
  };
9
- }, hono_types0.BlankSchema, "/">;
9
+ }, hono_types9.BlankSchema, "/">;
10
10
  //#endregion
11
11
  export { app as default };
@@ -1,7 +1,7 @@
1
1
  import { Hono } from "hono";
2
- import * as hono_types0 from "hono/types";
2
+ import * as hono_types3 from "hono/types";
3
3
 
4
4
  //#region src/github/routes/setup.d.ts
5
- declare const app: Hono<hono_types0.BlankEnv, hono_types0.BlankSchema, "/">;
5
+ declare const app: Hono<hono_types3.BlankEnv, hono_types3.BlankSchema, "/">;
6
6
  //#endregion
7
7
  export { app as default };
@@ -1,7 +1,7 @@
1
1
  import { Hono } from "hono";
2
- import * as hono_types4 from "hono/types";
2
+ import * as hono_types7 from "hono/types";
3
3
 
4
4
  //#region src/github/routes/tokenExchange.d.ts
5
- declare const app: Hono<hono_types4.BlankEnv, hono_types4.BlankSchema, "/">;
5
+ declare const app: Hono<hono_types7.BlankEnv, hono_types7.BlankSchema, "/">;
6
6
  //#endregion
7
7
  export { app as default };
@@ -1,5 +1,5 @@
1
1
  import { Hono } from "hono";
2
- import * as hono_types2 from "hono/types";
2
+ import * as hono_types5 from "hono/types";
3
3
 
4
4
  //#region src/github/routes/webhooks.d.ts
5
5
  interface WebhookVerificationResult {
@@ -7,6 +7,6 @@ interface WebhookVerificationResult {
7
7
  error?: string;
8
8
  }
9
9
  declare function verifyWebhookSignature(payload: string, signature: string | undefined, secret: string): WebhookVerificationResult;
10
- declare const app: Hono<hono_types2.BlankEnv, hono_types2.BlankSchema, "/">;
10
+ declare const app: Hono<hono_types5.BlankEnv, hono_types5.BlankSchema, "/">;
11
11
  //#endregion
12
12
  export { WebhookVerificationResult, app as default, verifyWebhookSignature };
@@ -137,8 +137,10 @@ declare function getThreadContext(slackClient: {
137
137
  }) => Promise<{
138
138
  user?: {
139
139
  real_name?: string;
140
- display_name?: string;
141
- name?: string;
140
+ profile?: {
141
+ display_name?: string;
142
+ email?: string;
143
+ };
142
144
  };
143
145
  }>;
144
146
  };
@@ -347,15 +347,15 @@ async function getThreadContext(slackClient, channel, threadTs, options = {}) {
347
347
  try {
348
348
  const userInfo = await slackClient.users?.info({ user: userId });
349
349
  userNameCache.set(userId, {
350
- displayName: userInfo?.user?.display_name,
350
+ displayName: userInfo?.user?.profile?.display_name,
351
351
  fullName: userInfo?.user?.real_name,
352
- name: userInfo?.user?.name
352
+ email: userInfo?.user?.profile?.email
353
353
  });
354
354
  } catch {
355
355
  userNameCache.set(userId, {
356
356
  displayName: void 0,
357
357
  fullName: void 0,
358
- name: void 0
358
+ email: void 0
359
359
  });
360
360
  }
361
361
  }));
@@ -365,10 +365,10 @@ async function getThreadContext(slackClient, channel, threadTs, options = {}) {
365
365
  const parts = [`userId: ${userId}`];
366
366
  if (info.displayName) parts.push(`"${info.displayName}"`);
367
367
  if (info.fullName) parts.push(`"${info.fullName}"`);
368
- if (info.name) parts.push(`"${info.name}"`);
368
+ if (info.email) parts.push(info.email);
369
369
  userDirectoryLines.push(`- ${parts.join(", ")}`);
370
370
  }
371
- return `${userDirectoryLines.length > 0 ? `Users in this thread (UserId - DisplayName, FullName, Name):\n${userDirectoryLines.join("\n")}\n\n` : ""}Messages in this thread:\n${messagesToProcess.map((msg, index) => {
371
+ return `${userDirectoryLines.length > 0 ? `Users in this thread (UserId - DisplayName, FullName, Email):\n${userDirectoryLines.join("\n")}\n\n` : ""}Messages in this thread:\n${messagesToProcess.map((msg, index) => {
372
372
  const isBot = !!msg.bot_id;
373
373
  const isParent = index === 0;
374
374
  let role;
@@ -29,7 +29,7 @@ function buildAgentSelectorModal(params) {
29
29
  const agentOptions = agents.length > 0 ? agents.map((agent) => ({
30
30
  text: {
31
31
  type: "plain_text",
32
- text: agent.name || agent.id,
32
+ text: agent.name ? `${agent.name} (${agent.id})` : agent.id,
33
33
  emoji: true
34
34
  },
35
35
  value: JSON.stringify({
@@ -234,7 +234,7 @@ function buildMessageShortcutModal(params) {
234
234
  const agentOptions = agents.length > 0 ? agents.map((agent) => ({
235
235
  text: {
236
236
  type: "plain_text",
237
- text: agent.name || agent.id,
237
+ text: agent.name ? `${agent.name} (${agent.id})` : agent.id,
238
238
  emoji: true
239
239
  },
240
240
  value: JSON.stringify({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-work-apps",
3
- "version": "0.0.0-dev-20260224023234",
3
+ "version": "0.0.0-dev-20260224030137",
4
4
  "description": "First party integrations for Inkeep Agents",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -33,7 +33,7 @@
33
33
  "jose": "^6.1.0",
34
34
  "minimatch": "^10.1.1",
35
35
  "slack-block-builder": "^2.8.0",
36
- "@inkeep/agents-core": "0.0.0-dev-20260224023234"
36
+ "@inkeep/agents-core": "0.0.0-dev-20260224030137"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@hono/zod-openapi": "^1.1.5",