@inkeep/agents-work-apps 0.0.0-dev-20260224024810 → 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.
package/dist/env.d.ts
CHANGED
|
@@ -14,11 +14,11 @@ declare const envSchema: z.ZodObject<{
|
|
|
14
14
|
pentest: "pentest";
|
|
15
15
|
}>>;
|
|
16
16
|
LOG_LEVEL: z.ZodDefault<z.ZodEnum<{
|
|
17
|
+
error: "error";
|
|
17
18
|
trace: "trace";
|
|
18
19
|
debug: "debug";
|
|
19
20
|
info: "info";
|
|
20
21
|
warn: "warn";
|
|
21
|
-
error: "error";
|
|
22
22
|
}>>;
|
|
23
23
|
INKEEP_AGENTS_RUN_DATABASE_URL: z.ZodOptional<z.ZodString>;
|
|
24
24
|
INKEEP_AGENTS_MANAGE_UI_URL: z.ZodOptional<z.ZodString>;
|
|
@@ -44,7 +44,7 @@ declare const envSchema: z.ZodObject<{
|
|
|
44
44
|
declare const env: {
|
|
45
45
|
NODE_ENV: "development" | "production" | "test";
|
|
46
46
|
ENVIRONMENT: "development" | "production" | "test" | "pentest";
|
|
47
|
-
LOG_LEVEL: "
|
|
47
|
+
LOG_LEVEL: "error" | "trace" | "debug" | "info" | "warn";
|
|
48
48
|
INKEEP_AGENTS_RUN_DATABASE_URL?: string | undefined;
|
|
49
49
|
INKEEP_AGENTS_MANAGE_UI_URL?: string | undefined;
|
|
50
50
|
GITHUB_APP_ID?: string | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono1 from "hono";
|
|
2
2
|
|
|
3
3
|
//#region src/github/mcp/auth.d.ts
|
|
4
|
-
declare const githubMcpAuth: () =>
|
|
4
|
+
declare const githubMcpAuth: () => hono1.MiddlewareHandler<{
|
|
5
5
|
Variables: {
|
|
6
6
|
toolId: string;
|
|
7
7
|
};
|
|
@@ -11,9 +11,9 @@ declare function findCachedUserMapping(tenantId: string, slackUserId: string, te
|
|
|
11
11
|
id: string;
|
|
12
12
|
createdAt: string;
|
|
13
13
|
updatedAt: string;
|
|
14
|
+
slackUserId: string;
|
|
14
15
|
tenantId: string;
|
|
15
16
|
clientId: string;
|
|
16
|
-
slackUserId: string;
|
|
17
17
|
slackTeamId: string;
|
|
18
18
|
slackEnterpriseId: string | null;
|
|
19
19
|
inkeepUserId: string;
|
|
@@ -137,8 +137,10 @@ declare function getThreadContext(slackClient: {
|
|
|
137
137
|
}) => Promise<{
|
|
138
138
|
user?: {
|
|
139
139
|
real_name?: string;
|
|
140
|
-
|
|
141
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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,
|
|
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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-work-apps",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
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-
|
|
36
|
+
"@inkeep/agents-core": "0.0.0-dev-20260224030137"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@hono/zod-openapi": "^1.1.5",
|