@task-shepherd/agent 1.0.8 → 1.0.11
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/cli/index.js +34 -34
- package/dist/index.js +1 -1
- package/dist/meta.json +7 -7
- package/package.json +2 -2
- package/shared/dist/index.d.ts +0 -15
- package/shared/dist/index.js +0 -12
- package/shared/dist/mcp-client/client.d.ts +0 -18
- package/shared/dist/mcp-client/client.js +0 -49
- package/shared/dist/mcp-client/index.d.ts +0 -7
- package/shared/dist/mcp-client/index.js +0 -7
- package/shared/dist/mcp-client/types.d.ts +0 -822
- package/shared/dist/mcp-client/types.js +0 -193
- package/shared/dist/schema/index.d.ts +0 -189
- package/shared/dist/schema/index.js +0 -142
- package/shared/dist/schema/mcp-mappings.d.ts +0 -50
- package/shared/dist/schema/mcp-mappings.js +0 -563
- package/shared/dist/schema/validation.d.ts +0 -91
- package/shared/dist/schema/validation.js +0 -282
- package/shared/dist/work-queue/index.d.ts +0 -7
- package/shared/dist/work-queue/index.js +0 -7
- package/shared/dist/work-queue/types.d.ts +0 -147
- package/shared/dist/work-queue/types.js +0 -4
- package/shared/dist/work-queue/validation.d.ts +0 -24
- package/shared/dist/work-queue/validation.js +0 -160
- package/shared/dist/workspace/constants.d.ts +0 -148
- package/shared/dist/workspace/constants.js +0 -432
- package/shared/dist/workspace/index.d.ts +0 -10
- package/shared/dist/workspace/index.js +0 -10
- package/shared/dist/workspace/types.d.ts +0 -477
- package/shared/dist/workspace/types.js +0 -9
- package/shared/dist/workspace/utils.d.ts +0 -79
- package/shared/dist/workspace/utils.js +0 -334
- package/shared/dist/workspace/validation.d.ts +0 -1312
- package/shared/dist/workspace/validation.js +0 -467
- package/shared/graphql/generated-internal.ts +0 -3629
- package/shared/graphql/generated-public.ts +0 -773
- package/shared/graphql/generated.d.ts +0 -7456
- package/shared/graphql/generated.js +0 -11799
- package/shared/graphql/generated.ts +0 -27569
- package/shared/graphql/generated.ts.backup +0 -16531
- package/shared/graphql/generated.ts.working +0 -4828
- package/shared/graphql/introspection-internal.json +0 -15845
- package/shared/graphql/introspection-public.json +0 -9658
- package/shared/graphql/introspection.json +0 -44263
- package/shared/graphql/operations/ai-service.graphql +0 -131
- package/shared/graphql/operations/ai-work-queue.graphql +0 -31
- package/shared/graphql/operations/analytics.graphql +0 -283
- package/shared/graphql/operations/analytics.ts +0 -3
- package/shared/graphql/operations/api-keys.graphql +0 -126
- package/shared/graphql/operations/attachments.graphql +0 -53
- package/shared/graphql/operations/attachments.ts +0 -39
- package/shared/graphql/operations/audit.graphql +0 -46
- package/shared/graphql/operations/auth.graphql +0 -83
- package/shared/graphql/operations/claude-usage.graphql +0 -178
- package/shared/graphql/operations/comments.graphql +0 -4
- package/shared/graphql/operations/dashboard.graphql +0 -29
- package/shared/graphql/operations/development-plans.graphql +0 -408
- package/shared/graphql/operations/early-access.graphql.disabled +0 -21
- package/shared/graphql/operations/errors.graphql.disabled +0 -83
- package/shared/graphql/operations/internal-api.graphql +0 -931
- package/shared/graphql/operations/notifications.graphql +0 -4
- package/shared/graphql/operations/organization-invites.graphql.disabled +0 -32
- package/shared/graphql/operations/performance.graphql +0 -4
- package/shared/graphql/operations/project-reviews.graphql +0 -610
- package/shared/graphql/operations/projects.graphql +0 -98
- package/shared/graphql/operations/settings.graphql +0 -4
- package/shared/graphql/operations/stories.graphql +0 -113
- package/shared/graphql/operations/subscriptions.graphql +0 -235
- package/shared/graphql/operations/subscriptions.graphql.disabled +0 -96
- package/shared/graphql/operations/tasks.graphql +0 -257
- package/shared/graphql/operations/team.graphql +0 -111
- package/shared/graphql/operations/team.ts +0 -226
- package/shared/graphql/operations/time-tracking.graphql.disabled +0 -96
- package/shared/graphql/operations/work-queue.graphql +0 -210
- package/shared/graphql/operations/work-queue.graphql.disabled +0 -474
- package/shared/graphql/operations/workspace.graphql +0 -146
- package/shared/graphql/schema-internal.graphql +0 -1085
- package/shared/graphql/schema-public.graphql +0 -709
- package/shared/graphql/schema.graphql +0 -3473
- package/shared/package.json +0 -23
package/dist/meta.json
CHANGED
|
@@ -819,7 +819,7 @@
|
|
|
819
819
|
"format": "esm"
|
|
820
820
|
},
|
|
821
821
|
"package.json": {
|
|
822
|
-
"bytes":
|
|
822
|
+
"bytes": 4159,
|
|
823
823
|
"imports": []
|
|
824
824
|
},
|
|
825
825
|
"src/services/AgentVersionService.ts": {
|
|
@@ -1789,7 +1789,7 @@
|
|
|
1789
1789
|
"format": "esm"
|
|
1790
1790
|
},
|
|
1791
1791
|
"src/cli/index.ts": {
|
|
1792
|
-
"bytes":
|
|
1792
|
+
"bytes": 26168,
|
|
1793
1793
|
"imports": [
|
|
1794
1794
|
{
|
|
1795
1795
|
"path": "commander",
|
|
@@ -2216,7 +2216,7 @@
|
|
|
2216
2216
|
"bytesInOutput": 685
|
|
2217
2217
|
},
|
|
2218
2218
|
"package.json": {
|
|
2219
|
-
"bytesInOutput":
|
|
2219
|
+
"bytesInOutput": 3412
|
|
2220
2220
|
},
|
|
2221
2221
|
"src/services/AgentVersionService.ts": {
|
|
2222
2222
|
"bytesInOutput": 1113
|
|
@@ -2336,7 +2336,7 @@
|
|
|
2336
2336
|
"bytesInOutput": 22573
|
|
2337
2337
|
}
|
|
2338
2338
|
},
|
|
2339
|
-
"bytes":
|
|
2339
|
+
"bytes": 367155
|
|
2340
2340
|
},
|
|
2341
2341
|
"dist/cli/index.js": {
|
|
2342
2342
|
"imports": [
|
|
@@ -2946,7 +2946,7 @@
|
|
|
2946
2946
|
"bytesInOutput": 6265
|
|
2947
2947
|
},
|
|
2948
2948
|
"package.json": {
|
|
2949
|
-
"bytesInOutput":
|
|
2949
|
+
"bytesInOutput": 3412
|
|
2950
2950
|
},
|
|
2951
2951
|
"src/services/AgentVersionService.ts": {
|
|
2952
2952
|
"bytesInOutput": 1128
|
|
@@ -3096,7 +3096,7 @@
|
|
|
3096
3096
|
"bytesInOutput": 8429
|
|
3097
3097
|
},
|
|
3098
3098
|
"src/cli/index.ts": {
|
|
3099
|
-
"bytesInOutput":
|
|
3099
|
+
"bytesInOutput": 16771
|
|
3100
3100
|
},
|
|
3101
3101
|
"src/cli/AgentInitWizard.ts": {
|
|
3102
3102
|
"bytesInOutput": 9763
|
|
@@ -3108,7 +3108,7 @@
|
|
|
3108
3108
|
"bytesInOutput": 8629
|
|
3109
3109
|
}
|
|
3110
3110
|
},
|
|
3111
|
-
"bytes":
|
|
3111
|
+
"bytes": 490827
|
|
3112
3112
|
}
|
|
3113
3113
|
}
|
|
3114
3114
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@task-shepherd/agent",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"description": "Simplified AI agent service for Task Shepherd project analysis",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
11
11
|
"mcp-agent",
|
|
12
|
-
"shared",
|
|
12
|
+
"node_modules/@task-shepherd/shared",
|
|
13
13
|
"web/dist",
|
|
14
14
|
"README.md",
|
|
15
15
|
"LICENSE.md"
|
package/shared/dist/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TasqHub Shared Package
|
|
3
|
-
*
|
|
4
|
-
* Centralized exports for all shared types, schemas, and utilities
|
|
5
|
-
* used across TasqHub components.
|
|
6
|
-
*/
|
|
7
|
-
export * from './schema/index.js';
|
|
8
|
-
export * from './workspace/index.js';
|
|
9
|
-
export * from './mcp-client/index.js';
|
|
10
|
-
export * from './work-queue/index.js';
|
|
11
|
-
export type { User, Project, Story, Task } from './schema/index.js';
|
|
12
|
-
export type { WorkspaceConfig, ServiceEndpoint, WorkspacePattern, WorkspaceTemplate, WorkspaceInitOptions } from './workspace/index.js';
|
|
13
|
-
export type { WorkAssignment, WorkData, ProjectData, StoryData, WorkspaceConfigData, WorkspaceData, WorkProgress, ReviewApplicationDetails, UpdateAIWorkInput, WorkValidationResult, ValidationError, ValidationWarning } from './work-queue/index.js';
|
|
14
|
-
export { UserRole, UserStatus, ProjectStage, StoryState, TaskState, TaskType, PriorityLevel, AIWorkType, AIWorkerType, AIWorkStatus, SCHEMA_VERSION, SCHEMA_COMPATIBILITY_VERSION } from './schema/index.js';
|
|
15
|
-
export { WORKSPACE_CONFIG_VERSION, WORKSPACE_CONFIG_FILE, WORKSPACE_TEMPLATES, WorkspaceValidator } from './workspace/index.js';
|
package/shared/dist/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TasqHub Shared Package
|
|
3
|
-
*
|
|
4
|
-
* Centralized exports for all shared types, schemas, and utilities
|
|
5
|
-
* used across TasqHub components.
|
|
6
|
-
*/
|
|
7
|
-
export * from './schema/index.js';
|
|
8
|
-
export * from './workspace/index.js';
|
|
9
|
-
export * from './mcp-client/index.js';
|
|
10
|
-
export * from './work-queue/index.js';
|
|
11
|
-
export { UserRole, UserStatus, ProjectStage, StoryState, TaskState, TaskType, PriorityLevel, AIWorkType, AIWorkerType, AIWorkStatus, SCHEMA_VERSION, SCHEMA_COMPATIBILITY_VERSION } from './schema/index.js';
|
|
12
|
-
export { WORKSPACE_CONFIG_VERSION, WORKSPACE_CONFIG_FILE, WORKSPACE_TEMPLATES, WorkspaceValidator } from './workspace/index.js';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated MCP Client Implementation
|
|
3
|
-
*
|
|
4
|
-
* This file is auto-generated from MCP tool mappings.
|
|
5
|
-
* Do not modify directly - run npm run generate:mcp-client instead.
|
|
6
|
-
*/
|
|
7
|
-
import { MCPClient, AllMCPTools } from './types.js';
|
|
8
|
-
export declare class MCPClientImpl implements MCPClient {
|
|
9
|
-
private endpoint;
|
|
10
|
-
private connected;
|
|
11
|
-
connect(endpoint?: string): Promise<void>;
|
|
12
|
-
disconnect(): Promise<void>;
|
|
13
|
-
isConnected(): boolean;
|
|
14
|
-
execute<T extends AllMCPTools>(toolName: T['name'], input: any): Promise<any>;
|
|
15
|
-
listTools(): string[];
|
|
16
|
-
getCapabilities(): string[];
|
|
17
|
-
}
|
|
18
|
-
export declare const mcpClient: MCPClientImpl;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated MCP Client Implementation
|
|
3
|
-
*
|
|
4
|
-
* This file is auto-generated from MCP tool mappings.
|
|
5
|
-
* Do not modify directly - run npm run generate:mcp-client instead.
|
|
6
|
-
*/
|
|
7
|
-
import { MCP_TOOL_REGISTRY } from './types.js';
|
|
8
|
-
export class MCPClientImpl {
|
|
9
|
-
constructor() {
|
|
10
|
-
this.endpoint = null;
|
|
11
|
-
this.connected = false;
|
|
12
|
-
}
|
|
13
|
-
async connect(endpoint = 'http://localhost:3001') {
|
|
14
|
-
this.endpoint = endpoint;
|
|
15
|
-
// TODO: Implement actual connection logic
|
|
16
|
-
this.connected = true;
|
|
17
|
-
}
|
|
18
|
-
async disconnect() {
|
|
19
|
-
this.endpoint = null;
|
|
20
|
-
this.connected = false;
|
|
21
|
-
}
|
|
22
|
-
isConnected() {
|
|
23
|
-
return this.connected;
|
|
24
|
-
}
|
|
25
|
-
async execute(toolName, input) {
|
|
26
|
-
if (!this.connected) {
|
|
27
|
-
throw new Error('MCP client not connected');
|
|
28
|
-
}
|
|
29
|
-
const tool = MCP_TOOL_REGISTRY[toolName];
|
|
30
|
-
if (!tool) {
|
|
31
|
-
throw new Error(`Unknown tool: ${toolName}`);
|
|
32
|
-
}
|
|
33
|
-
// TODO: Implement actual tool execution
|
|
34
|
-
console.log(`Executing tool ${toolName} with input:`, input);
|
|
35
|
-
return {
|
|
36
|
-
success: true,
|
|
37
|
-
data: null,
|
|
38
|
-
tool: tool.name,
|
|
39
|
-
operation: tool.graphqlOperation
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
listTools() {
|
|
43
|
-
return Object.keys(MCP_TOOL_REGISTRY);
|
|
44
|
-
}
|
|
45
|
-
getCapabilities() {
|
|
46
|
-
return Array.from(new Set(Object.values(MCP_TOOL_REGISTRY).map(tool => tool.operationType)));
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
export const mcpClient = new MCPClientImpl();
|