@task-shepherd/agent 1.0.5 → 1.0.6

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/meta.json CHANGED
@@ -819,7 +819,7 @@
819
819
  "format": "esm"
820
820
  },
821
821
  "package.json": {
822
- "bytes": 4134,
822
+ "bytes": 4150,
823
823
  "imports": []
824
824
  },
825
825
  "src/services/AgentVersionService.ts": {
@@ -2211,7 +2211,7 @@
2211
2211
  "bytesInOutput": 685
2212
2212
  },
2213
2213
  "package.json": {
2214
- "bytesInOutput": 3391
2214
+ "bytesInOutput": 3402
2215
2215
  },
2216
2216
  "src/services/AgentVersionService.ts": {
2217
2217
  "bytesInOutput": 1113
@@ -2331,7 +2331,7 @@
2331
2331
  "bytesInOutput": 22573
2332
2332
  }
2333
2333
  },
2334
- "bytes": 367134
2334
+ "bytes": 367145
2335
2335
  },
2336
2336
  "dist/cli/index.js": {
2337
2337
  "imports": [
@@ -2748,7 +2748,7 @@
2748
2748
  "bytesInOutput": 684
2749
2749
  },
2750
2750
  "package.json": {
2751
- "bytesInOutput": 3391
2751
+ "bytesInOutput": 3402
2752
2752
  },
2753
2753
  "src/services/AgentVersionService.ts": {
2754
2754
  "bytesInOutput": 1112
@@ -2817,7 +2817,7 @@
2817
2817
  "bytesInOutput": 4253
2818
2818
  }
2819
2819
  },
2820
- "bytes": 177641
2820
+ "bytes": 177652
2821
2821
  }
2822
2822
  }
2823
2823
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@task-shepherd/agent",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
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
+ "web/dist",
12
13
  "README.md",
13
14
  "LICENSE.md"
14
15
  ],
package/web/README.md ADDED
@@ -0,0 +1,68 @@
1
+ # AI Agent Service Web Dashboard
2
+
3
+ A React-based analytics dashboard for monitoring AI worker performance and metrics.
4
+
5
+ ## Features
6
+
7
+ - Real-time analytics dashboard
8
+ - Success rate tracking with interactive charts
9
+ - Performance metrics visualization
10
+ - Responsive design with Tailwind CSS
11
+ - TypeScript support
12
+
13
+ ## Development
14
+
15
+ ### Prerequisites
16
+
17
+ - Node.js 18+
18
+ - npm or yarn
19
+
20
+ ### Setup
21
+
22
+ 1. Install dependencies:
23
+ ```bash
24
+ npm install
25
+ ```
26
+
27
+ 2. Start the development server:
28
+ ```bash
29
+ npm run dev
30
+ ```
31
+
32
+ The dashboard will be available at `http://localhost:5173`
33
+
34
+ ### Building
35
+
36
+ To build for production:
37
+ ```bash
38
+ npm run build
39
+ ```
40
+
41
+ ## Project Structure
42
+
43
+ ```
44
+ web/
45
+ ├── src/
46
+ │ ├── components/ # Reusable UI components
47
+ │ │ ├── analytics/ # Analytics-specific components
48
+ │ │ └── ui/ # Basic UI components
49
+ │ ├── hooks/ # Custom React hooks
50
+ │ ├── pages/ # Main page components
51
+ │ ├── types/ # TypeScript type definitions
52
+ │ ├── lib/ # Utility functions
53
+ │ └── main.tsx # Application entry point
54
+ ├── package.json
55
+ └── vite.config.ts
56
+ ```
57
+
58
+ ## Available Scripts
59
+
60
+ - `npm run dev` - Start development server
61
+ - `npm run build` - Build for production
62
+ - `npm run preview` - Preview production build
63
+ - `npm run lint` - Run ESLint
64
+ - `npm run type-check` - Run TypeScript type checking
65
+
66
+ ## API Integration
67
+
68
+ The dashboard connects to the AI Agent Service API running on port 3001. Mock data is used in development mode for testing purposes.