@task-shepherd/agent 1.0.8 → 1.0.12
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 +166 -161
- package/dist/index.js +1 -1
- package/dist/meta.json +1263 -86
- package/package.json +1 -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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@task-shepherd/agent",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "Simplified AI agent service for Task Shepherd project analysis",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
11
11
|
"mcp-agent",
|
|
12
|
-
"shared",
|
|
13
12
|
"web/dist",
|
|
14
13
|
"README.md",
|
|
15
14
|
"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();
|