@agllama/mcp 0.1.0 → 0.1.1
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/README.md +161 -162
- package/dist/api-client.d.ts +45 -2
- package/dist/api-client.d.ts.map +1 -1
- package/dist/api-client.js +108 -2
- package/dist/api-client.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +140 -1
- package/dist/server.js.map +1 -1
- package/dist/tools/backlog.d.ts +13 -7
- package/dist/tools/backlog.d.ts.map +1 -1
- package/dist/tools/backlog.js +59 -9
- package/dist/tools/backlog.js.map +1 -1
- package/dist/tools/boardConfig.d.ts +65 -0
- package/dist/tools/boardConfig.d.ts.map +1 -0
- package/dist/tools/boardConfig.js +150 -0
- package/dist/tools/boardConfig.js.map +1 -0
- package/dist/tools/boardTemplates.d.ts +47 -0
- package/dist/tools/boardTemplates.d.ts.map +1 -0
- package/dist/tools/boardTemplates.js +119 -0
- package/dist/tools/boardTemplates.js.map +1 -0
- package/dist/tools/boards.d.ts +20 -20
- package/dist/tools/boards.d.ts.map +1 -1
- package/dist/tools/boards.js +121 -19
- package/dist/tools/boards.js.map +1 -1
- package/dist/tools/comments.d.ts +24 -24
- package/dist/tools/comments.d.ts.map +1 -1
- package/dist/tools/comments.js +136 -23
- package/dist/tools/comments.js.map +1 -1
- package/dist/tools/connect.d.ts.map +1 -1
- package/dist/tools/connect.js +7 -18
- package/dist/tools/connect.js.map +1 -1
- package/dist/tools/context.d.ts +10 -7
- package/dist/tools/context.d.ts.map +1 -1
- package/dist/tools/context.js +57 -7
- package/dist/tools/context.js.map +1 -1
- package/dist/tools/documents.d.ts +99 -0
- package/dist/tools/documents.d.ts.map +1 -0
- package/dist/tools/documents.js +252 -0
- package/dist/tools/documents.js.map +1 -0
- package/dist/tools/help.d.ts.map +1 -1
- package/dist/tools/help.js +70 -6
- package/dist/tools/help.js.map +1 -1
- package/dist/tools/index.d.ts +4 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +4 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/issueLinks.d.ts +12 -12
- package/dist/tools/issueLinks.d.ts.map +1 -1
- package/dist/tools/issueLinks.js +69 -12
- package/dist/tools/issueLinks.js.map +1 -1
- package/dist/tools/issues.d.ts +208 -28
- package/dist/tools/issues.d.ts.map +1 -1
- package/dist/tools/issues.js +483 -35
- package/dist/tools/issues.js.map +1 -1
- package/dist/tools/labels.d.ts +18 -18
- package/dist/tools/labels.d.ts.map +1 -1
- package/dist/tools/labels.js +102 -17
- package/dist/tools/labels.js.map +1 -1
- package/dist/tools/members.d.ts.map +1 -1
- package/dist/tools/members.js +2 -2
- package/dist/tools/members.js.map +1 -1
- package/dist/tools/organizations.d.ts.map +1 -1
- package/dist/tools/organizations.js +8 -8
- package/dist/tools/organizations.js.map +1 -1
- package/dist/tools/projects.d.ts.map +1 -1
- package/dist/tools/projects.js +11 -11
- package/dist/tools/projects.js.map +1 -1
- package/dist/tools/search.d.ts +4 -4
- package/dist/tools/search.d.ts.map +1 -1
- package/dist/tools/search.js +28 -5
- package/dist/tools/search.js.map +1 -1
- package/dist/tools/session.d.ts +38 -0
- package/dist/tools/session.d.ts.map +1 -0
- package/dist/tools/session.js +158 -0
- package/dist/tools/session.js.map +1 -0
- package/dist/tools/sprints.d.ts +18 -18
- package/dist/tools/sprints.d.ts.map +1 -1
- package/dist/tools/sprints.js +115 -30
- package/dist/tools/sprints.js.map +1 -1
- package/dist/tools/status.d.ts +6 -6
- package/dist/tools/status.d.ts.map +1 -1
- package/dist/tools/status.js +45 -8
- package/dist/tools/status.js.map +1 -1
- package/dist/tools/workflows.d.ts.map +1 -1
- package/dist/tools/workflows.js +19 -19
- package/dist/tools/workflows.js.map +1 -1
- package/dist/types.d.ts +123 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/column-instructions.d.ts +21 -0
- package/dist/utils/column-instructions.d.ts.map +1 -0
- package/dist/utils/column-instructions.js +54 -0
- package/dist/utils/column-instructions.js.map +1 -0
- package/package.json +5 -5
package/dist/tools/search.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const searchToolName = "llama_search";
|
|
3
|
-
export declare const searchToolDescription = "Search for issues across a project.\nSearches issue summaries, descriptions, and keys.\nUse filters to narrow results by type, priority, status, etc.";
|
|
3
|
+
export declare const searchToolDescription = "Search for issues across a project.\nSearches issue summaries, descriptions, and keys.\nUse filters to narrow results by type, priority, status, etc.\nUses session defaults if orgSlug not provided.";
|
|
4
4
|
export declare const searchToolSchema: z.ZodObject<{
|
|
5
|
-
orgSlug: z.ZodString
|
|
5
|
+
orgSlug: z.ZodOptional<z.ZodString>;
|
|
6
6
|
query: z.ZodString;
|
|
7
7
|
type: z.ZodOptional<z.ZodEnum<["EPIC", "STORY", "TASK", "BUG", "SUBTASK"]>>;
|
|
8
8
|
priority: z.ZodOptional<z.ZodEnum<["CRITICAL", "HIGH", "MEDIUM", "LOW", "TRIVIAL"]>>;
|
|
@@ -11,7 +11,6 @@ export declare const searchToolSchema: z.ZodObject<{
|
|
|
11
11
|
sprintId: z.ZodOptional<z.ZodString>;
|
|
12
12
|
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
orgSlug: string;
|
|
15
14
|
query: string;
|
|
16
15
|
type?: "EPIC" | "STORY" | "TASK" | "BUG" | "SUBTASK" | undefined;
|
|
17
16
|
priority?: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "TRIVIAL" | undefined;
|
|
@@ -19,8 +18,8 @@ export declare const searchToolSchema: z.ZodObject<{
|
|
|
19
18
|
assigneeId?: string | undefined;
|
|
20
19
|
sprintId?: string | undefined;
|
|
21
20
|
labels?: string[] | undefined;
|
|
21
|
+
orgSlug?: string | undefined;
|
|
22
22
|
}, {
|
|
23
|
-
orgSlug: string;
|
|
24
23
|
query: string;
|
|
25
24
|
type?: "EPIC" | "STORY" | "TASK" | "BUG" | "SUBTASK" | undefined;
|
|
26
25
|
priority?: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "TRIVIAL" | undefined;
|
|
@@ -28,6 +27,7 @@ export declare const searchToolSchema: z.ZodObject<{
|
|
|
28
27
|
assigneeId?: string | undefined;
|
|
29
28
|
sprintId?: string | undefined;
|
|
30
29
|
labels?: string[] | undefined;
|
|
30
|
+
orgSlug?: string | undefined;
|
|
31
31
|
}>;
|
|
32
32
|
export type SearchToolInput = z.infer<typeof searchToolSchema>;
|
|
33
33
|
export declare function executeSearch(input: SearchToolInput): Promise<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../src/tools/search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../src/tools/search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,cAAc,iBAAiB,CAAC;AAE7C,eAAO,MAAM,qBAAqB,0MAGa,CAAC;AAEhD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkB3B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/D,wBAAsB,aAAa,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC,MAAM,CAAC,CAqE3E"}
|
package/dist/tools/search.js
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { getApiClient, LlamaApiError } from '../api-client.js';
|
|
3
|
+
import { getSessionDefaults } from './session.js';
|
|
3
4
|
export const searchToolName = 'llama_search';
|
|
4
5
|
export const searchToolDescription = `Search for issues across a project.
|
|
5
6
|
Searches issue summaries, descriptions, and keys.
|
|
6
|
-
Use filters to narrow results by type, priority, status, etc
|
|
7
|
+
Use filters to narrow results by type, priority, status, etc.
|
|
8
|
+
Uses session defaults if orgSlug not provided.`;
|
|
7
9
|
export const searchToolSchema = z.object({
|
|
8
|
-
orgSlug: z
|
|
10
|
+
orgSlug: z
|
|
11
|
+
.string()
|
|
12
|
+
.optional()
|
|
13
|
+
.describe('Organization slug (uses session default if not provided)'),
|
|
9
14
|
query: z.string().describe('Search query text'),
|
|
10
15
|
type: z
|
|
11
16
|
.enum(['EPIC', 'STORY', 'TASK', 'BUG', 'SUBTASK'])
|
|
@@ -22,8 +27,26 @@ export const searchToolSchema = z.object({
|
|
|
22
27
|
});
|
|
23
28
|
export async function executeSearch(input) {
|
|
24
29
|
try {
|
|
30
|
+
const session = await getSessionDefaults();
|
|
31
|
+
const orgSlug = input.orgSlug ?? session?.orgSlug;
|
|
32
|
+
if (!orgSlug) {
|
|
33
|
+
return JSON.stringify({
|
|
34
|
+
success: false,
|
|
35
|
+
error: 'orgSlug is required. Either provide it or set session context with llama_set_context first.',
|
|
36
|
+
});
|
|
37
|
+
}
|
|
25
38
|
const client = getApiClient();
|
|
26
|
-
|
|
39
|
+
// Record tool call
|
|
40
|
+
try {
|
|
41
|
+
await client.recordToolCall('llama_search', {
|
|
42
|
+
orgSlug,
|
|
43
|
+
query: input.query,
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
catch {
|
|
47
|
+
// Ignore recording errors
|
|
48
|
+
}
|
|
49
|
+
const result = await client.searchIssues(orgSlug, input.query, {
|
|
27
50
|
type: input.type,
|
|
28
51
|
priority: input.priority,
|
|
29
52
|
status: input.status,
|
|
@@ -51,12 +74,12 @@ export async function executeSearch(input) {
|
|
|
51
74
|
success: false,
|
|
52
75
|
error: `Search failed: ${error.message}`,
|
|
53
76
|
statusCode: error.statusCode,
|
|
54
|
-
}
|
|
77
|
+
});
|
|
55
78
|
}
|
|
56
79
|
return JSON.stringify({
|
|
57
80
|
success: false,
|
|
58
81
|
error: error instanceof Error ? error.message : 'Unknown error',
|
|
59
|
-
}
|
|
82
|
+
});
|
|
60
83
|
}
|
|
61
84
|
}
|
|
62
85
|
//# sourceMappingURL=search.js.map
|
package/dist/tools/search.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.js","sourceRoot":"","sources":["../../src/tools/search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"search.js","sourceRoot":"","sources":["../../src/tools/search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC;AAE7C,MAAM,CAAC,MAAM,qBAAqB,GAAG;;;+CAGU,CAAC;AAEhD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0DAA0D,CAAC;IACvE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;IAC/C,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;SACjD,QAAQ,EAAE;SACV,QAAQ,CAAC,sBAAsB,CAAC;IACnC,QAAQ,EAAE,CAAC;SACR,IAAI,CAAC,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;S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printId.
|
|
4
|
+
* Used by tools to fall back to session values when not explicitly provided.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getSessionDefaults(): Promise<{
|
|
7
|
+
orgSlug?: string;
|
|
8
|
+
projectKey?: string;
|
|
9
|
+
sprintId?: string;
|
|
10
|
+
} | null>;
|
|
11
|
+
export declare const setContextToolName = "llama_set_context";
|
|
12
|
+
export declare const setContextToolDescription = "Set the working org/project/sprint context for this session. Once set, these become defaults for subsequent tools. Session expires after 30min inactivity or 8hrs max. Use this to establish your working context at the start of a conversation or when switching focus.";
|
|
13
|
+
export declare const setContextToolSchema: z.ZodObject<{
|
|
14
|
+
orgSlug: z.ZodString;
|
|
15
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
16
|
+
sprintId: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
orgSlug: string;
|
|
19
|
+
sprintId?: string | undefined;
|
|
20
|
+
projectKey?: string | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
orgSlug: string;
|
|
23
|
+
sprintId?: string | undefined;
|
|
24
|
+
projectKey?: string | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
export type SetContextToolInput = z.infer<typeof setContextToolSchema>;
|
|
27
|
+
export declare function executeSetContext(input: SetContextToolInput): Promise<string>;
|
|
28
|
+
export declare const resumeToolName = "llama_resume";
|
|
29
|
+
export declare const resumeToolDescription = "Resume context after conversation compaction. Returns stored session with org/project/sprint and recent tool calls. Call this first after Claude's context has been compacted to restore your working context.";
|
|
30
|
+
export declare const resumeToolSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
31
|
+
export type ResumeToolInput = z.infer<typeof resumeToolSchema>;
|
|
32
|
+
export declare function executeResume(): Promise<string>;
|
|
33
|
+
export declare const clearSessionToolName = "llama_clear_session";
|
|
34
|
+
export declare const clearSessionToolDescription = "End the current session and clear stored context. Use this when you're done with the current working context or want to start fresh.";
|
|
35
|
+
export declare const clearSessionToolSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
36
|
+
export type ClearSessionToolInput = z.infer<typeof clearSessionToolSchema>;
|
|
37
|
+
export declare function executeClearSession(): Promise<string>;
|
|
38
|
+
//# sourceMappingURL=session.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/tools/session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB;;;GAGG;AACH,wBAAsB,kBAAkB,IAAI,OAAO,CAAC;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,IAAI,CAAC,CAcR;AAMD,eAAO,MAAM,kBAAkB,sBAAsB,CAAC;AAEtD,eAAO,MAAM,yBAAyB,8QACuO,CAAC;AAE9Q,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAiB/B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEvE,wBAAsB,iBAAiB,CAAC,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CAoCnF;AAMD,eAAO,MAAM,cAAc,iBAAiB,CAAC;AAE7C,eAAO,MAAM,qBAAqB,mNACiL,CAAC;AAEpN,eAAO,MAAM,gBAAgB,gDAAe,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/D,wBAAsB,aAAa,IAAI,OAAO,CAAC,MAAM,CAAC,CA8CrD;AAMD,eAAO,MAAM,oBAAoB,wBAAwB,CAAC;AAE1D,eAAO,MAAM,2BAA2B,yIACiG,CAAC;AAE1I,eAAO,MAAM,sBAAsB,gDAAe,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE3E,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,MAAM,CAAC,CA6B3D"}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { getApiClient, LlamaApiError } from '../api-client.js';
|
|
3
|
+
// ============================================
|
|
4
|
+
// Session Defaults Helper (LLAMA-121)
|
|
5
|
+
// ============================================
|
|
6
|
+
/**
|
|
7
|
+
* Get session defaults for orgSlug, projectKey, and sprintId.
|
|
8
|
+
* Used by tools to fall back to session values when not explicitly provided.
|
|
9
|
+
*/
|
|
10
|
+
export async function getSessionDefaults() {
|
|
11
|
+
try {
|
|
12
|
+
const client = getApiClient();
|
|
13
|
+
const session = await client.getSession();
|
|
14
|
+
return session
|
|
15
|
+
? {
|
|
16
|
+
orgSlug: session.orgSlug,
|
|
17
|
+
projectKey: session.projectKey ?? undefined,
|
|
18
|
+
sprintId: session.sprintId ?? undefined,
|
|
19
|
+
}
|
|
20
|
+
: null;
|
|
21
|
+
}
|
|
22
|
+
catch {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
// ============================================
|
|
27
|
+
// llama_set_context (LLAMA-118)
|
|
28
|
+
// ============================================
|
|
29
|
+
export const setContextToolName = 'llama_set_context';
|
|
30
|
+
export const setContextToolDescription = 'Set the working org/project/sprint context for this session. Once set, these become defaults for subsequent tools. Session expires after 30min inactivity or 8hrs max. Use this to establish your working context at the start of a conversation or when switching focus.';
|
|
31
|
+
export const setContextToolSchema = z.object({
|
|
32
|
+
orgSlug: z
|
|
33
|
+
.string()
|
|
34
|
+
.min(2)
|
|
35
|
+
.max(50)
|
|
36
|
+
.describe('Organization slug (e.g., "acme-corp")'),
|
|
37
|
+
projectKey: z
|
|
38
|
+
.string()
|
|
39
|
+
.min(2)
|
|
40
|
+
.max(10)
|
|
41
|
+
.optional()
|
|
42
|
+
.describe('Project key (e.g., "WEB"). Optional - can set org-only context.'),
|
|
43
|
+
sprintId: z
|
|
44
|
+
.string()
|
|
45
|
+
.uuid()
|
|
46
|
+
.optional()
|
|
47
|
+
.describe('Sprint ID to focus on. Optional.'),
|
|
48
|
+
});
|
|
49
|
+
export async function executeSetContext(input) {
|
|
50
|
+
try {
|
|
51
|
+
const client = getApiClient();
|
|
52
|
+
const session = await client.setSession(input);
|
|
53
|
+
return JSON.stringify({
|
|
54
|
+
success: true,
|
|
55
|
+
message: 'Session context set successfully',
|
|
56
|
+
session: {
|
|
57
|
+
orgSlug: session.orgSlug,
|
|
58
|
+
projectKey: session.projectKey,
|
|
59
|
+
sprintId: session.sprintId,
|
|
60
|
+
expiresAt: session.expiresAt,
|
|
61
|
+
updatedAt: session.updatedAt,
|
|
62
|
+
},
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
catch (error) {
|
|
66
|
+
if (error instanceof LlamaApiError) {
|
|
67
|
+
return JSON.stringify({
|
|
68
|
+
success: false,
|
|
69
|
+
error: `Failed to set context: ${error.message}`,
|
|
70
|
+
statusCode: error.statusCode,
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
return JSON.stringify({
|
|
74
|
+
success: false,
|
|
75
|
+
error: error instanceof Error
|
|
76
|
+
? error.message
|
|
77
|
+
: 'Unknown error setting context',
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
// ============================================
|
|
82
|
+
// llama_resume (LLAMA-119)
|
|
83
|
+
// ============================================
|
|
84
|
+
export const resumeToolName = 'llama_resume';
|
|
85
|
+
export const resumeToolDescription = 'Resume context after conversation compaction. Returns stored session with org/project/sprint and recent tool calls. Call this first after Claude\'s context has been compacted to restore your working context.';
|
|
86
|
+
export const resumeToolSchema = z.object({});
|
|
87
|
+
export async function executeResume() {
|
|
88
|
+
try {
|
|
89
|
+
const client = getApiClient();
|
|
90
|
+
const session = await client.getSession();
|
|
91
|
+
if (!session) {
|
|
92
|
+
return JSON.stringify({
|
|
93
|
+
success: true,
|
|
94
|
+
message: 'No active session found. Use llama_set_context to establish working context.',
|
|
95
|
+
session: null,
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
return JSON.stringify({
|
|
99
|
+
success: true,
|
|
100
|
+
message: 'Session resumed successfully',
|
|
101
|
+
session: {
|
|
102
|
+
orgSlug: session.orgSlug,
|
|
103
|
+
projectKey: session.projectKey,
|
|
104
|
+
sprintId: session.sprintId,
|
|
105
|
+
recentCalls: session.recentCalls,
|
|
106
|
+
expiresAt: session.expiresAt,
|
|
107
|
+
updatedAt: session.updatedAt,
|
|
108
|
+
},
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
catch (error) {
|
|
112
|
+
if (error instanceof LlamaApiError) {
|
|
113
|
+
return JSON.stringify({
|
|
114
|
+
success: false,
|
|
115
|
+
error: `Failed to resume session: ${error.message}`,
|
|
116
|
+
statusCode: error.statusCode,
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
return JSON.stringify({
|
|
120
|
+
success: false,
|
|
121
|
+
error: error instanceof Error
|
|
122
|
+
? error.message
|
|
123
|
+
: 'Unknown error resuming session',
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
// ============================================
|
|
128
|
+
// llama_clear_session (LLAMA-120)
|
|
129
|
+
// ============================================
|
|
130
|
+
export const clearSessionToolName = 'llama_clear_session';
|
|
131
|
+
export const clearSessionToolDescription = 'End the current session and clear stored context. Use this when you\'re done with the current working context or want to start fresh.';
|
|
132
|
+
export const clearSessionToolSchema = z.object({});
|
|
133
|
+
export async function executeClearSession() {
|
|
134
|
+
try {
|
|
135
|
+
const client = getApiClient();
|
|
136
|
+
await client.clearSession();
|
|
137
|
+
return JSON.stringify({
|
|
138
|
+
success: true,
|
|
139
|
+
message: 'Session cleared successfully',
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
catch (error) {
|
|
143
|
+
if (error instanceof LlamaApiError) {
|
|
144
|
+
return JSON.stringify({
|
|
145
|
+
success: false,
|
|
146
|
+
error: `Failed to clear session: ${error.message}`,
|
|
147
|
+
statusCode: error.statusCode,
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
return JSON.stringify({
|
|
151
|
+
success: false,
|
|
152
|
+
error: error instanceof Error
|
|
153
|
+
? error.message
|
|
154
|
+
: 'Unknown error clearing session',
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
//# sourceMappingURL=session.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session.js","sourceRoot":"","sources":["../../src/tools/session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE/D,+CAA+C;AAC/C,sCAAsC;AACtC,+CAA+C;AAE/C;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,kBAAkB;IAKtC,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,YAAY,EAAE,CAAC;QAC9B,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,UAAU,EAAE,CAAC;QAC1C,OAAO,OAAO;YACZ,CAAC,CAAC;gBACE,OAAO,EAAE,OAAO,CAAC,OAAO;gBACxB,UAAU,EAAE,OAAO,CAAC,UAAU,IAAI,SAAS;gBAC3C,QAAQ,EAAE,OAAO,CAAC,QAAQ,IAAI,SAAS;aACxC;YACH,CAAC,CAAC,IAAI,CAAC;IACX,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED,+CAA+C;AAC/C,gCAAgC;AAChC,+CAA+C;AAE/C,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AAEtD,MAAM,CAAC,MAAM,yBAAyB,GACpC,2QAA2Q,CAAC;AAE9Q,MAAM,CAAC,MAAM,oBAAoB,GAAG,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"}
|
package/dist/tools/sprints.d.ts
CHANGED
|
@@ -2,37 +2,37 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const listSprintsToolName = "llama_list_sprints";
|
|
3
3
|
export declare const listSprintsToolDescription = "List all sprints for a project.\nReturns planned, active, and completed sprints with their issues.";
|
|
4
4
|
export declare const listSprintsToolSchema: z.ZodObject<{
|
|
5
|
-
orgSlug: z.ZodString
|
|
6
|
-
projectKey: z.ZodString
|
|
5
|
+
orgSlug: z.ZodOptional<z.ZodString>;
|
|
6
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
orgSlug
|
|
9
|
-
projectKey
|
|
8
|
+
orgSlug?: string | undefined;
|
|
9
|
+
projectKey?: string | undefined;
|
|
10
10
|
}, {
|
|
11
|
-
orgSlug
|
|
12
|
-
projectKey
|
|
11
|
+
orgSlug?: string | undefined;
|
|
12
|
+
projectKey?: string | undefined;
|
|
13
13
|
}>;
|
|
14
14
|
export type ListSprintsToolInput = z.infer<typeof listSprintsToolSchema>;
|
|
15
15
|
export declare function executeListSprints(input: ListSprintsToolInput): Promise<string>;
|
|
16
16
|
export declare const createSprintToolName = "llama_create_sprint";
|
|
17
17
|
export declare const createSprintToolDescription = "Create a new sprint for a project.\nSprints start in PLANNED status and can be started later.";
|
|
18
18
|
export declare const createSprintToolSchema: z.ZodObject<{
|
|
19
|
-
orgSlug: z.ZodString
|
|
20
|
-
projectKey: z.ZodString
|
|
19
|
+
orgSlug: z.ZodOptional<z.ZodString>;
|
|
20
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
21
21
|
name: z.ZodString;
|
|
22
22
|
goal: z.ZodOptional<z.ZodString>;
|
|
23
23
|
startDate: z.ZodOptional<z.ZodString>;
|
|
24
24
|
endDate: z.ZodOptional<z.ZodString>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
orgSlug: string;
|
|
27
|
-
projectKey: string;
|
|
28
26
|
name: string;
|
|
27
|
+
orgSlug?: string | undefined;
|
|
28
|
+
projectKey?: string | undefined;
|
|
29
29
|
startDate?: string | undefined;
|
|
30
30
|
endDate?: string | undefined;
|
|
31
31
|
goal?: string | undefined;
|
|
32
32
|
}, {
|
|
33
|
-
orgSlug: string;
|
|
34
|
-
projectKey: string;
|
|
35
33
|
name: string;
|
|
34
|
+
orgSlug?: string | undefined;
|
|
35
|
+
projectKey?: string | undefined;
|
|
36
36
|
startDate?: string | undefined;
|
|
37
37
|
endDate?: string | undefined;
|
|
38
38
|
goal?: string | undefined;
|
|
@@ -42,20 +42,20 @@ export declare function executeCreateSprint(input: CreateSprintToolInput): Promi
|
|
|
42
42
|
export declare const addToSprintToolName = "llama_add_to_sprint";
|
|
43
43
|
export declare const addToSprintToolDescription = "Move one or more issues to a sprint (or remove from sprint).\nPass null for sprintId to move issues to the backlog.";
|
|
44
44
|
export declare const addToSprintToolSchema: z.ZodObject<{
|
|
45
|
-
orgSlug: z.ZodString
|
|
46
|
-
projectKey: z.ZodString
|
|
45
|
+
orgSlug: z.ZodOptional<z.ZodString>;
|
|
46
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
47
47
|
issueKeys: z.ZodArray<z.ZodString, "many">;
|
|
48
48
|
sprintId: z.ZodNullable<z.ZodString>;
|
|
49
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
50
|
sprintId: string | null;
|
|
51
|
-
orgSlug: string;
|
|
52
|
-
projectKey: string;
|
|
53
51
|
issueKeys: string[];
|
|
52
|
+
orgSlug?: string | undefined;
|
|
53
|
+
projectKey?: string | undefined;
|
|
54
54
|
}, {
|
|
55
55
|
sprintId: string | null;
|
|
56
|
-
orgSlug: string;
|
|
57
|
-
projectKey: string;
|
|
58
56
|
issueKeys: string[];
|
|
57
|
+
orgSlug?: string | undefined;
|
|
58
|
+
projectKey?: string | undefined;
|
|
59
59
|
}>;
|
|
60
60
|
export type AddToSprintToolInput = z.infer<typeof addToSprintToolSchema>;
|
|
61
61
|
export declare function executeAddToSprint(input: AddToSprintToolInput): Promise<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sprints.d.ts","sourceRoot":"","sources":["../../src/tools/sprints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"sprints.d.ts","sourceRoot":"","sources":["../../src/tools/sprints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,mBAAmB,uBAAuB,CAAC;AAExD,eAAO,MAAM,0BAA0B,uGAC2B,CAAC;AAEnE,eAAO,MAAM,qBAAqB;;;;;;;;;EAShC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEzE,wBAAsB,kBAAkB,CACtC,KAAK,EAAE,oBAAoB,GAC1B,OAAO,CAAC,MAAM,CAAC,CAuEjB;AAMD,eAAO,MAAM,oBAAoB,wBAAwB,CAAC;AAE1D,eAAO,MAAM,2BAA2B,kGACkB,CAAC;AAE3D,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;EAgBjC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE3E,wBAAsB,mBAAmB,CACvC,KAAK,EAAE,qBAAqB,GAC3B,OAAO,CAAC,MAAM,CAAC,CAoEjB;AAMD,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AAEzD,eAAO,MAAM,0BAA0B,wHACe,CAAC;AAEvD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAkBhC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEzE,wBAAsB,kBAAkB,CACtC,KAAK,EAAE,oBAAoB,GAC1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