@task-shepherd/agent 1.0.6 → 1.0.8
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 +1054 -86
- package/dist/index.js +1 -1
- package/dist/meta.json +358 -67
- package/package.json +2 -2
- package/shared/dist/index.d.ts +15 -0
- package/shared/dist/index.js +12 -0
- package/shared/dist/mcp-client/client.d.ts +18 -0
- package/shared/dist/mcp-client/client.js +49 -0
- package/shared/dist/mcp-client/index.d.ts +7 -0
- package/shared/dist/mcp-client/index.js +7 -0
- package/shared/dist/mcp-client/types.d.ts +822 -0
- package/shared/dist/mcp-client/types.js +193 -0
- package/shared/dist/schema/index.d.ts +189 -0
- package/shared/dist/schema/index.js +142 -0
- package/shared/dist/schema/mcp-mappings.d.ts +50 -0
- package/shared/dist/schema/mcp-mappings.js +563 -0
- package/shared/dist/schema/validation.d.ts +91 -0
- package/shared/dist/schema/validation.js +282 -0
- package/shared/dist/work-queue/index.d.ts +7 -0
- package/shared/dist/work-queue/index.js +7 -0
- package/shared/dist/work-queue/types.d.ts +147 -0
- package/shared/dist/work-queue/types.js +4 -0
- package/shared/dist/work-queue/validation.d.ts +24 -0
- package/shared/dist/work-queue/validation.js +160 -0
- package/shared/dist/workspace/constants.d.ts +148 -0
- package/shared/dist/workspace/constants.js +432 -0
- package/shared/dist/workspace/index.d.ts +10 -0
- package/shared/dist/workspace/index.js +10 -0
- package/shared/dist/workspace/types.d.ts +477 -0
- package/shared/dist/workspace/types.js +9 -0
- package/shared/dist/workspace/utils.d.ts +79 -0
- package/shared/dist/workspace/utils.js +334 -0
- package/shared/dist/workspace/validation.d.ts +1312 -0
- package/shared/dist/workspace/validation.js +467 -0
- package/shared/graphql/generated-internal.ts +3629 -0
- package/shared/graphql/generated-public.ts +773 -0
- package/shared/graphql/generated.d.ts +7456 -0
- package/shared/graphql/generated.js +11799 -0
- package/shared/graphql/generated.ts +27569 -0
- package/shared/graphql/generated.ts.backup +16531 -0
- package/shared/graphql/generated.ts.working +4828 -0
- package/shared/graphql/introspection-internal.json +15845 -0
- package/shared/graphql/introspection-public.json +9658 -0
- package/shared/graphql/introspection.json +44263 -0
- package/shared/graphql/operations/ai-service.graphql +131 -0
- package/shared/graphql/operations/ai-work-queue.graphql +31 -0
- package/shared/graphql/operations/analytics.graphql +283 -0
- package/shared/graphql/operations/analytics.ts +3 -0
- package/shared/graphql/operations/api-keys.graphql +126 -0
- package/shared/graphql/operations/attachments.graphql +53 -0
- package/shared/graphql/operations/attachments.ts +39 -0
- package/shared/graphql/operations/audit.graphql +46 -0
- package/shared/graphql/operations/auth.graphql +83 -0
- package/shared/graphql/operations/claude-usage.graphql +178 -0
- package/shared/graphql/operations/comments.graphql +4 -0
- package/shared/graphql/operations/dashboard.graphql +29 -0
- package/shared/graphql/operations/development-plans.graphql +408 -0
- package/shared/graphql/operations/early-access.graphql.disabled +21 -0
- package/shared/graphql/operations/errors.graphql.disabled +83 -0
- package/shared/graphql/operations/internal-api.graphql +931 -0
- package/shared/graphql/operations/notifications.graphql +4 -0
- package/shared/graphql/operations/organization-invites.graphql.disabled +32 -0
- package/shared/graphql/operations/performance.graphql +4 -0
- package/shared/graphql/operations/project-reviews.graphql +610 -0
- package/shared/graphql/operations/projects.graphql +98 -0
- package/shared/graphql/operations/settings.graphql +4 -0
- package/shared/graphql/operations/stories.graphql +113 -0
- package/shared/graphql/operations/subscriptions.graphql +235 -0
- package/shared/graphql/operations/subscriptions.graphql.disabled +96 -0
- package/shared/graphql/operations/tasks.graphql +257 -0
- package/shared/graphql/operations/team.graphql +111 -0
- package/shared/graphql/operations/team.ts +226 -0
- package/shared/graphql/operations/time-tracking.graphql.disabled +96 -0
- package/shared/graphql/operations/work-queue.graphql +210 -0
- package/shared/graphql/operations/work-queue.graphql.disabled +474 -0
- package/shared/graphql/operations/workspace.graphql +146 -0
- package/shared/graphql/schema-internal.graphql +1085 -0
- package/shared/graphql/schema-public.graphql +709 -0
- package/shared/graphql/schema.graphql +3473 -0
- package/shared/package.json +23 -0
package/dist/meta.json
CHANGED
|
@@ -819,7 +819,7 @@
|
|
|
819
819
|
"format": "esm"
|
|
820
820
|
},
|
|
821
821
|
"package.json": {
|
|
822
|
-
"bytes":
|
|
822
|
+
"bytes": 4130,
|
|
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": 25887,
|
|
1793
1793
|
"imports": [
|
|
1794
1794
|
{
|
|
1795
1795
|
"path": "commander",
|
|
@@ -1836,6 +1836,11 @@
|
|
|
1836
1836
|
"kind": "import-statement",
|
|
1837
1837
|
"external": true
|
|
1838
1838
|
},
|
|
1839
|
+
{
|
|
1840
|
+
"path": "src/index.ts",
|
|
1841
|
+
"kind": "dynamic-import",
|
|
1842
|
+
"original": "../index"
|
|
1843
|
+
},
|
|
1839
1844
|
{
|
|
1840
1845
|
"path": "readline",
|
|
1841
1846
|
"kind": "require-call",
|
|
@@ -2211,7 +2216,7 @@
|
|
|
2211
2216
|
"bytesInOutput": 685
|
|
2212
2217
|
},
|
|
2213
2218
|
"package.json": {
|
|
2214
|
-
"bytesInOutput":
|
|
2219
|
+
"bytesInOutput": 3383
|
|
2215
2220
|
},
|
|
2216
2221
|
"src/services/AgentVersionService.ts": {
|
|
2217
2222
|
"bytesInOutput": 1113
|
|
@@ -2331,7 +2336,7 @@
|
|
|
2331
2336
|
"bytesInOutput": 22573
|
|
2332
2337
|
}
|
|
2333
2338
|
},
|
|
2334
|
-
"bytes":
|
|
2339
|
+
"bytes": 367126
|
|
2335
2340
|
},
|
|
2336
2341
|
"dist/cli/index.js": {
|
|
2337
2342
|
"imports": [
|
|
@@ -2390,6 +2395,206 @@
|
|
|
2390
2395
|
"kind": "require-call",
|
|
2391
2396
|
"external": true
|
|
2392
2397
|
},
|
|
2398
|
+
{
|
|
2399
|
+
"path": "fs",
|
|
2400
|
+
"kind": "require-call",
|
|
2401
|
+
"external": true
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
"path": "path",
|
|
2405
|
+
"kind": "require-call",
|
|
2406
|
+
"external": true
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
"path": "os",
|
|
2410
|
+
"kind": "require-call",
|
|
2411
|
+
"external": true
|
|
2412
|
+
},
|
|
2413
|
+
{
|
|
2414
|
+
"path": "crypto",
|
|
2415
|
+
"kind": "require-call",
|
|
2416
|
+
"external": true
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
"path": "events",
|
|
2420
|
+
"kind": "require-call",
|
|
2421
|
+
"external": true
|
|
2422
|
+
},
|
|
2423
|
+
{
|
|
2424
|
+
"path": "fs",
|
|
2425
|
+
"kind": "require-call",
|
|
2426
|
+
"external": true
|
|
2427
|
+
},
|
|
2428
|
+
{
|
|
2429
|
+
"path": "path",
|
|
2430
|
+
"kind": "require-call",
|
|
2431
|
+
"external": true
|
|
2432
|
+
},
|
|
2433
|
+
{
|
|
2434
|
+
"path": "os",
|
|
2435
|
+
"kind": "require-call",
|
|
2436
|
+
"external": true
|
|
2437
|
+
},
|
|
2438
|
+
{
|
|
2439
|
+
"path": "http",
|
|
2440
|
+
"kind": "require-call",
|
|
2441
|
+
"external": true
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
"path": "https",
|
|
2445
|
+
"kind": "require-call",
|
|
2446
|
+
"external": true
|
|
2447
|
+
},
|
|
2448
|
+
{
|
|
2449
|
+
"path": "node-fetch",
|
|
2450
|
+
"kind": "require-call",
|
|
2451
|
+
"external": true
|
|
2452
|
+
},
|
|
2453
|
+
{
|
|
2454
|
+
"path": "graphql-request",
|
|
2455
|
+
"kind": "require-call",
|
|
2456
|
+
"external": true
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
"path": "events",
|
|
2460
|
+
"kind": "require-call",
|
|
2461
|
+
"external": true
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
"path": "fs/promises",
|
|
2465
|
+
"kind": "require-call",
|
|
2466
|
+
"external": true
|
|
2467
|
+
},
|
|
2468
|
+
{
|
|
2469
|
+
"path": "path",
|
|
2470
|
+
"kind": "require-call",
|
|
2471
|
+
"external": true
|
|
2472
|
+
},
|
|
2473
|
+
{
|
|
2474
|
+
"path": "events",
|
|
2475
|
+
"kind": "require-call",
|
|
2476
|
+
"external": true
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
"path": "fs",
|
|
2480
|
+
"kind": "require-call",
|
|
2481
|
+
"external": true
|
|
2482
|
+
},
|
|
2483
|
+
{
|
|
2484
|
+
"path": "path",
|
|
2485
|
+
"kind": "require-call",
|
|
2486
|
+
"external": true
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
"path": "child_process",
|
|
2490
|
+
"kind": "require-call",
|
|
2491
|
+
"external": true
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
"path": "fs",
|
|
2495
|
+
"kind": "require-call",
|
|
2496
|
+
"external": true
|
|
2497
|
+
},
|
|
2498
|
+
{
|
|
2499
|
+
"path": "path",
|
|
2500
|
+
"kind": "require-call",
|
|
2501
|
+
"external": true
|
|
2502
|
+
},
|
|
2503
|
+
{
|
|
2504
|
+
"path": "events",
|
|
2505
|
+
"kind": "require-call",
|
|
2506
|
+
"external": true
|
|
2507
|
+
},
|
|
2508
|
+
{
|
|
2509
|
+
"path": "uuid",
|
|
2510
|
+
"kind": "require-call",
|
|
2511
|
+
"external": true
|
|
2512
|
+
},
|
|
2513
|
+
{
|
|
2514
|
+
"path": "@task-shepherd/shared",
|
|
2515
|
+
"kind": "require-call",
|
|
2516
|
+
"external": true
|
|
2517
|
+
},
|
|
2518
|
+
{
|
|
2519
|
+
"path": "fs",
|
|
2520
|
+
"kind": "require-call",
|
|
2521
|
+
"external": true
|
|
2522
|
+
},
|
|
2523
|
+
{
|
|
2524
|
+
"path": "path",
|
|
2525
|
+
"kind": "require-call",
|
|
2526
|
+
"external": true
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
"path": "events",
|
|
2530
|
+
"kind": "require-call",
|
|
2531
|
+
"external": true
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
"path": "net",
|
|
2535
|
+
"kind": "require-call",
|
|
2536
|
+
"external": true
|
|
2537
|
+
},
|
|
2538
|
+
{
|
|
2539
|
+
"path": "events",
|
|
2540
|
+
"kind": "require-call",
|
|
2541
|
+
"external": true
|
|
2542
|
+
},
|
|
2543
|
+
{
|
|
2544
|
+
"path": "child_process",
|
|
2545
|
+
"kind": "require-call",
|
|
2546
|
+
"external": true
|
|
2547
|
+
},
|
|
2548
|
+
{
|
|
2549
|
+
"path": "fs",
|
|
2550
|
+
"kind": "require-call",
|
|
2551
|
+
"external": true
|
|
2552
|
+
},
|
|
2553
|
+
{
|
|
2554
|
+
"path": "path",
|
|
2555
|
+
"kind": "require-call",
|
|
2556
|
+
"external": true
|
|
2557
|
+
},
|
|
2558
|
+
{
|
|
2559
|
+
"path": "fs",
|
|
2560
|
+
"kind": "require-call",
|
|
2561
|
+
"external": true
|
|
2562
|
+
},
|
|
2563
|
+
{
|
|
2564
|
+
"path": "path",
|
|
2565
|
+
"kind": "require-call",
|
|
2566
|
+
"external": true
|
|
2567
|
+
},
|
|
2568
|
+
{
|
|
2569
|
+
"path": "events",
|
|
2570
|
+
"kind": "require-call",
|
|
2571
|
+
"external": true
|
|
2572
|
+
},
|
|
2573
|
+
{
|
|
2574
|
+
"path": "events",
|
|
2575
|
+
"kind": "require-call",
|
|
2576
|
+
"external": true
|
|
2577
|
+
},
|
|
2578
|
+
{
|
|
2579
|
+
"path": "fs/promises",
|
|
2580
|
+
"kind": "require-call",
|
|
2581
|
+
"external": true
|
|
2582
|
+
},
|
|
2583
|
+
{
|
|
2584
|
+
"path": "path",
|
|
2585
|
+
"kind": "require-call",
|
|
2586
|
+
"external": true
|
|
2587
|
+
},
|
|
2588
|
+
{
|
|
2589
|
+
"path": "os",
|
|
2590
|
+
"kind": "require-call",
|
|
2591
|
+
"external": true
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
"path": "events",
|
|
2595
|
+
"kind": "require-call",
|
|
2596
|
+
"external": true
|
|
2597
|
+
},
|
|
2393
2598
|
{
|
|
2394
2599
|
"path": "events",
|
|
2395
2600
|
"kind": "require-call",
|
|
@@ -2405,6 +2610,21 @@
|
|
|
2405
2610
|
"kind": "require-call",
|
|
2406
2611
|
"external": true
|
|
2407
2612
|
},
|
|
2613
|
+
{
|
|
2614
|
+
"path": "dotenv",
|
|
2615
|
+
"kind": "require-call",
|
|
2616
|
+
"external": true
|
|
2617
|
+
},
|
|
2618
|
+
{
|
|
2619
|
+
"path": "express",
|
|
2620
|
+
"kind": "require-call",
|
|
2621
|
+
"external": true
|
|
2622
|
+
},
|
|
2623
|
+
{
|
|
2624
|
+
"path": "path",
|
|
2625
|
+
"kind": "require-call",
|
|
2626
|
+
"external": true
|
|
2627
|
+
},
|
|
2408
2628
|
{
|
|
2409
2629
|
"path": "fs",
|
|
2410
2630
|
"kind": "require-call",
|
|
@@ -2605,11 +2825,6 @@
|
|
|
2605
2825
|
"kind": "require-call",
|
|
2606
2826
|
"external": true
|
|
2607
2827
|
},
|
|
2608
|
-
{
|
|
2609
|
-
"path": "events",
|
|
2610
|
-
"kind": "require-call",
|
|
2611
|
-
"external": true
|
|
2612
|
-
},
|
|
2613
2828
|
{
|
|
2614
2829
|
"path": "fs/promises",
|
|
2615
2830
|
"kind": "dynamic-import",
|
|
@@ -2660,26 +2875,6 @@
|
|
|
2660
2875
|
"kind": "require-call",
|
|
2661
2876
|
"external": true
|
|
2662
2877
|
},
|
|
2663
|
-
{
|
|
2664
|
-
"path": "path",
|
|
2665
|
-
"kind": "require-call",
|
|
2666
|
-
"external": true
|
|
2667
|
-
},
|
|
2668
|
-
{
|
|
2669
|
-
"path": "os",
|
|
2670
|
-
"kind": "require-call",
|
|
2671
|
-
"external": true
|
|
2672
|
-
},
|
|
2673
|
-
{
|
|
2674
|
-
"path": "crypto",
|
|
2675
|
-
"kind": "require-call",
|
|
2676
|
-
"external": true
|
|
2677
|
-
},
|
|
2678
|
-
{
|
|
2679
|
-
"path": "fs",
|
|
2680
|
-
"kind": "require-call",
|
|
2681
|
-
"external": true
|
|
2682
|
-
},
|
|
2683
2878
|
{
|
|
2684
2879
|
"path": "events",
|
|
2685
2880
|
"kind": "require-call",
|
|
@@ -2733,28 +2928,142 @@
|
|
|
2733
2928
|
"bytesInOutput": 6598
|
|
2734
2929
|
},
|
|
2735
2930
|
"src/config/ConfigurationManager.ts": {
|
|
2736
|
-
"bytesInOutput":
|
|
2931
|
+
"bytesInOutput": 7100
|
|
2737
2932
|
},
|
|
2738
2933
|
"src/utils/claudeUtils.ts": {
|
|
2739
|
-
"bytesInOutput":
|
|
2934
|
+
"bytesInOutput": 1092
|
|
2740
2935
|
},
|
|
2741
2936
|
"src/config/validators.ts": {
|
|
2742
|
-
"bytesInOutput":
|
|
2937
|
+
"bytesInOutput": 8029
|
|
2743
2938
|
},
|
|
2744
2939
|
"src/config/index.ts": {
|
|
2745
|
-
"bytesInOutput":
|
|
2940
|
+
"bytesInOutput": 1085
|
|
2746
2941
|
},
|
|
2747
2942
|
"src/middleware/logger.ts": {
|
|
2748
|
-
"bytesInOutput":
|
|
2943
|
+
"bytesInOutput": 697
|
|
2944
|
+
},
|
|
2945
|
+
"src/services/AgentIdentityService.ts": {
|
|
2946
|
+
"bytesInOutput": 6265
|
|
2749
2947
|
},
|
|
2750
2948
|
"package.json": {
|
|
2751
|
-
"bytesInOutput":
|
|
2949
|
+
"bytesInOutput": 3383
|
|
2752
2950
|
},
|
|
2753
2951
|
"src/services/AgentVersionService.ts": {
|
|
2754
|
-
"bytesInOutput":
|
|
2952
|
+
"bytesInOutput": 1128
|
|
2755
2953
|
},
|
|
2756
2954
|
"src/services/GraphQLHttpClient.ts": {
|
|
2757
|
-
"bytesInOutput":
|
|
2955
|
+
"bytesInOutput": 7867
|
|
2956
|
+
},
|
|
2957
|
+
"src/services/TokenUsageTracker.ts": {
|
|
2958
|
+
"bytesInOutput": 4281
|
|
2959
|
+
},
|
|
2960
|
+
"src/config/ConfigLoader.ts": {
|
|
2961
|
+
"bytesInOutput": 5328
|
|
2962
|
+
},
|
|
2963
|
+
"src/services/HttpClient.ts": {
|
|
2964
|
+
"bytesInOutput": 4308
|
|
2965
|
+
},
|
|
2966
|
+
"src/services/WorkTypeConfigService.ts": {
|
|
2967
|
+
"bytesInOutput": 2997
|
|
2968
|
+
},
|
|
2969
|
+
"src/graphql/generated.ts": {
|
|
2970
|
+
"bytesInOutput": 23614
|
|
2971
|
+
},
|
|
2972
|
+
"src/graphql/TypedGraphQLClient.ts": {
|
|
2973
|
+
"bytesInOutput": 5424
|
|
2974
|
+
},
|
|
2975
|
+
"src/types/workItemErrors.ts": {
|
|
2976
|
+
"bytesInOutput": 29
|
|
2977
|
+
},
|
|
2978
|
+
"src/services/WorkItemErrorTracker.ts": {
|
|
2979
|
+
"bytesInOutput": 8230
|
|
2980
|
+
},
|
|
2981
|
+
"src/services/AgentPauseService.ts": {
|
|
2982
|
+
"bytesInOutput": 1623
|
|
2983
|
+
},
|
|
2984
|
+
"src/utils/claudeLogger.ts": {
|
|
2985
|
+
"bytesInOutput": 1668
|
|
2986
|
+
},
|
|
2987
|
+
"src/services/ClaudeCliExecutor.ts": {
|
|
2988
|
+
"bytesInOutput": 3536
|
|
2989
|
+
},
|
|
2990
|
+
"src/handlers/BaseWorkHandler.ts": {
|
|
2991
|
+
"bytesInOutput": 18000
|
|
2992
|
+
},
|
|
2993
|
+
"src/handlers/ProjectReviewHandler.ts": {
|
|
2994
|
+
"bytesInOutput": 16190
|
|
2995
|
+
},
|
|
2996
|
+
"src/handlers/CodeReviewHandler.ts": {
|
|
2997
|
+
"bytesInOutput": 581
|
|
2998
|
+
},
|
|
2999
|
+
"src/handlers/DevelopmentPlanningHandler.ts": {
|
|
3000
|
+
"bytesInOutput": 37146
|
|
3001
|
+
},
|
|
3002
|
+
"src/handlers/StoryImplementationHandler.ts": {
|
|
3003
|
+
"bytesInOutput": 687
|
|
3004
|
+
},
|
|
3005
|
+
"src/handlers/ReviewApplicationHandler.ts": {
|
|
3006
|
+
"bytesInOutput": 16992
|
|
3007
|
+
},
|
|
3008
|
+
"src/handlers/StoryTaskGeneratorHandler.ts": {
|
|
3009
|
+
"bytesInOutput": 11590
|
|
3010
|
+
},
|
|
3011
|
+
"src/handlers/HandlerFactory.ts": {
|
|
3012
|
+
"bytesInOutput": 1739
|
|
3013
|
+
},
|
|
3014
|
+
"src/handlers/WorkHandlerRegistry.ts": {
|
|
3015
|
+
"bytesInOutput": 2717
|
|
3016
|
+
},
|
|
3017
|
+
"src/services/CompletedWorkService.ts": {
|
|
3018
|
+
"bytesInOutput": 3312
|
|
3019
|
+
},
|
|
3020
|
+
"src/config/MainApiConfig.ts": {
|
|
3021
|
+
"bytesInOutput": 3726
|
|
3022
|
+
},
|
|
3023
|
+
"src/services/MainApiIntegration.ts": {
|
|
3024
|
+
"bytesInOutput": 4017
|
|
3025
|
+
},
|
|
3026
|
+
"src/services/AgentService.ts": {
|
|
3027
|
+
"bytesInOutput": 14883
|
|
3028
|
+
},
|
|
3029
|
+
"src/services/ResourceManager.ts": {
|
|
3030
|
+
"bytesInOutput": 1422
|
|
3031
|
+
},
|
|
3032
|
+
"src/services/TCPIPCService.ts": {
|
|
3033
|
+
"bytesInOutput": 3049
|
|
3034
|
+
},
|
|
3035
|
+
"src/services/ClaudeSettingsManager.ts": {
|
|
3036
|
+
"bytesInOutput": 1973
|
|
3037
|
+
},
|
|
3038
|
+
"src/services/WorkspaceRegistryService.ts": {
|
|
3039
|
+
"bytesInOutput": 3307
|
|
3040
|
+
},
|
|
3041
|
+
"src/services/WorkspaceSyncService.ts": {
|
|
3042
|
+
"bytesInOutput": 5013
|
|
3043
|
+
},
|
|
3044
|
+
"src/types/organization.ts": {
|
|
3045
|
+
"bytesInOutput": 495
|
|
3046
|
+
},
|
|
3047
|
+
"src/services/OrganizationManager.ts": {
|
|
3048
|
+
"bytesInOutput": 24734
|
|
3049
|
+
},
|
|
3050
|
+
"src/utils/errorSerializer.ts": {
|
|
3051
|
+
"bytesInOutput": 1796
|
|
3052
|
+
},
|
|
3053
|
+
"src/services/WorkItemEventStore.ts": {
|
|
3054
|
+
"bytesInOutput": 4128
|
|
3055
|
+
},
|
|
3056
|
+
"src/services/SmartPollingService.ts": {
|
|
3057
|
+
"bytesInOutput": 18143
|
|
3058
|
+
},
|
|
3059
|
+
"src/services/MultiOrganizationWorkerService.ts": {
|
|
3060
|
+
"bytesInOutput": 10063
|
|
3061
|
+
},
|
|
3062
|
+
"src/services/WorkspaceDiscoveryService.ts": {
|
|
3063
|
+
"bytesInOutput": 22601
|
|
3064
|
+
},
|
|
3065
|
+
"src/index.ts": {
|
|
3066
|
+
"bytesInOutput": 35548
|
|
2758
3067
|
},
|
|
2759
3068
|
"src/types/workspace.ts": {
|
|
2760
3069
|
"bytesInOutput": 43
|
|
@@ -2762,62 +3071,44 @@
|
|
|
2762
3071
|
"src/services/WorkspaceValidator.ts": {
|
|
2763
3072
|
"bytesInOutput": 10525
|
|
2764
3073
|
},
|
|
2765
|
-
"src/services/WorkspaceRegistryService.ts": {
|
|
2766
|
-
"bytesInOutput": 3303
|
|
2767
|
-
},
|
|
2768
3074
|
"src/services/WorkspaceConfigurationService.ts": {
|
|
2769
|
-
"bytesInOutput":
|
|
3075
|
+
"bytesInOutput": 4979
|
|
2770
3076
|
},
|
|
2771
3077
|
"src/services/detectors/DotNetWorkspaceDetector.ts": {
|
|
2772
|
-
"bytesInOutput":
|
|
3078
|
+
"bytesInOutput": 4907
|
|
2773
3079
|
},
|
|
2774
3080
|
"src/services/detectors/PythonWorkspaceDetector.ts": {
|
|
2775
3081
|
"bytesInOutput": 9138
|
|
2776
3082
|
},
|
|
2777
3083
|
"src/services/detectors/ServerlessWorkspaceDetector.ts": {
|
|
2778
|
-
"bytesInOutput":
|
|
3084
|
+
"bytesInOutput": 6489
|
|
2779
3085
|
},
|
|
2780
3086
|
"src/services/detectors/AwsSamWorkspaceDetector.ts": {
|
|
2781
|
-
"bytesInOutput":
|
|
3087
|
+
"bytesInOutput": 8509
|
|
2782
3088
|
},
|
|
2783
3089
|
"src/services/detectors/JavaScriptWorkspaceDetector.ts": {
|
|
2784
|
-
"bytesInOutput":
|
|
3090
|
+
"bytesInOutput": 9208
|
|
2785
3091
|
},
|
|
2786
3092
|
"src/cli/commands/WorkspaceRegistrationWizard.ts": {
|
|
2787
|
-
"bytesInOutput":
|
|
2788
|
-
},
|
|
2789
|
-
"src/services/WorkspaceSyncService.ts": {
|
|
2790
|
-
"bytesInOutput": 5007
|
|
2791
|
-
},
|
|
2792
|
-
"src/types/workItemErrors.ts": {
|
|
2793
|
-
"bytesInOutput": 29
|
|
2794
|
-
},
|
|
2795
|
-
"src/services/WorkItemErrorTracker.ts": {
|
|
2796
|
-
"bytesInOutput": 180
|
|
3093
|
+
"bytesInOutput": 15482
|
|
2797
3094
|
},
|
|
2798
3095
|
"src/cli/commands/debug-work-item.ts": {
|
|
2799
|
-
"bytesInOutput":
|
|
3096
|
+
"bytesInOutput": 8429
|
|
2800
3097
|
},
|
|
2801
3098
|
"src/cli/index.ts": {
|
|
2802
|
-
"bytesInOutput":
|
|
3099
|
+
"bytesInOutput": 16648
|
|
2803
3100
|
},
|
|
2804
3101
|
"src/cli/AgentInitWizard.ts": {
|
|
2805
|
-
"bytesInOutput":
|
|
2806
|
-
},
|
|
2807
|
-
"src/services/AgentIdentityService.ts": {
|
|
2808
|
-
"bytesInOutput": 6225
|
|
3102
|
+
"bytesInOutput": 9763
|
|
2809
3103
|
},
|
|
2810
3104
|
"src/services/WorkerRegistrationService.ts": {
|
|
2811
|
-
"bytesInOutput":
|
|
3105
|
+
"bytesInOutput": 9057
|
|
2812
3106
|
},
|
|
2813
3107
|
"src/services/HeartbeatService.ts": {
|
|
2814
|
-
"bytesInOutput":
|
|
2815
|
-
},
|
|
2816
|
-
"src/services/TokenUsageTracker.ts": {
|
|
2817
|
-
"bytesInOutput": 4253
|
|
3108
|
+
"bytesInOutput": 8629
|
|
2818
3109
|
}
|
|
2819
3110
|
},
|
|
2820
|
-
"bytes":
|
|
3111
|
+
"bytes": 490675
|
|
2821
3112
|
}
|
|
2822
3113
|
}
|
|
2823
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.8",
|
|
4
4
|
"description": "Simplified AI agent service for Task Shepherd project analysis",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
11
11
|
"mcp-agent",
|
|
12
|
+
"shared",
|
|
12
13
|
"web/dist",
|
|
13
14
|
"README.md",
|
|
14
15
|
"LICENSE.md"
|
|
@@ -49,7 +50,6 @@
|
|
|
49
50
|
"dependencies": {
|
|
50
51
|
"@anthropic-ai/sdk": "^0.56.0",
|
|
51
52
|
"@graphql-typed-document-node/core": "^3.2.0",
|
|
52
|
-
"@task-shepherd/shared": "*",
|
|
53
53
|
"chalk": "^4.1.2",
|
|
54
54
|
"commander": "^11.0.0",
|
|
55
55
|
"compression": "^1.7.4",
|
|
@@ -0,0 +1,15 @@
|
|
|
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';
|
|
@@ -0,0 +1,12 @@
|
|
|
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';
|
|
@@ -0,0 +1,18 @@
|
|
|
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;
|
|
@@ -0,0 +1,49 @@
|
|
|
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();
|