agent-tool-forge 0.3.0
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/LICENSE +21 -0
- package/README.md +209 -0
- package/lib/agent-registry.js +170 -0
- package/lib/api-client.js +792 -0
- package/lib/api-loader.js +260 -0
- package/lib/auth.d.ts +25 -0
- package/lib/auth.js +158 -0
- package/lib/checks/check-adapter.js +172 -0
- package/lib/checks/compose.js +42 -0
- package/lib/checks/content-match.js +14 -0
- package/lib/checks/cost-budget.js +11 -0
- package/lib/checks/index.js +18 -0
- package/lib/checks/json-valid.js +15 -0
- package/lib/checks/latency.js +11 -0
- package/lib/checks/length-bounds.js +17 -0
- package/lib/checks/negative-match.js +14 -0
- package/lib/checks/no-hallucinated-numbers.js +63 -0
- package/lib/checks/non-empty.js +34 -0
- package/lib/checks/regex-match.js +12 -0
- package/lib/checks/run-checks.js +84 -0
- package/lib/checks/schema-match.js +26 -0
- package/lib/checks/tool-call-count.js +16 -0
- package/lib/checks/tool-selection.js +34 -0
- package/lib/checks/types.js +45 -0
- package/lib/comparison/compare.js +86 -0
- package/lib/comparison/format.js +104 -0
- package/lib/comparison/index.js +6 -0
- package/lib/comparison/statistics.js +59 -0
- package/lib/comparison/types.js +41 -0
- package/lib/config-schema.js +200 -0
- package/lib/config.d.ts +66 -0
- package/lib/conversation-store.d.ts +77 -0
- package/lib/conversation-store.js +443 -0
- package/lib/db.d.ts +6 -0
- package/lib/db.js +1112 -0
- package/lib/dep-check.js +99 -0
- package/lib/drift-background.js +61 -0
- package/lib/drift-monitor.js +187 -0
- package/lib/eval-runner.js +566 -0
- package/lib/fixtures/fixture-store.js +161 -0
- package/lib/fixtures/index.js +11 -0
- package/lib/forge-engine.js +982 -0
- package/lib/forge-eval-generator.js +417 -0
- package/lib/forge-file-writer.js +386 -0
- package/lib/forge-service-client.js +190 -0
- package/lib/forge-service.d.ts +4 -0
- package/lib/forge-service.js +655 -0
- package/lib/forge-verifier-generator.js +271 -0
- package/lib/handlers/admin.js +151 -0
- package/lib/handlers/agents.js +229 -0
- package/lib/handlers/chat-resume.js +334 -0
- package/lib/handlers/chat-sync.js +320 -0
- package/lib/handlers/chat.js +320 -0
- package/lib/handlers/conversations.js +92 -0
- package/lib/handlers/preferences.js +88 -0
- package/lib/handlers/tools-list.js +58 -0
- package/lib/hitl-engine.d.ts +60 -0
- package/lib/hitl-engine.js +261 -0
- package/lib/http-utils.js +92 -0
- package/lib/index.d.ts +20 -0
- package/lib/index.js +141 -0
- package/lib/init.js +636 -0
- package/lib/manual-entry.js +59 -0
- package/lib/mcp-server.js +252 -0
- package/lib/output-groups.js +54 -0
- package/lib/postgres-store.d.ts +31 -0
- package/lib/postgres-store.js +465 -0
- package/lib/preference-store.d.ts +47 -0
- package/lib/preference-store.js +79 -0
- package/lib/prompt-store.d.ts +42 -0
- package/lib/prompt-store.js +60 -0
- package/lib/rate-limiter.d.ts +30 -0
- package/lib/rate-limiter.js +104 -0
- package/lib/react-engine.d.ts +110 -0
- package/lib/react-engine.js +337 -0
- package/lib/runner/cli.js +156 -0
- package/lib/runner/cost-estimator.js +71 -0
- package/lib/runner/gate.js +46 -0
- package/lib/runner/index.js +165 -0
- package/lib/sidecar.d.ts +83 -0
- package/lib/sidecar.js +161 -0
- package/lib/sse.d.ts +15 -0
- package/lib/sse.js +30 -0
- package/lib/tools-scanner.js +91 -0
- package/lib/tui.js +253 -0
- package/lib/verifier-report.js +78 -0
- package/lib/verifier-runner.js +338 -0
- package/lib/verifier-scanner.js +70 -0
- package/lib/verifier-worker-pool.js +196 -0
- package/lib/views/chat.js +340 -0
- package/lib/views/endpoints.js +203 -0
- package/lib/views/eval-run.js +206 -0
- package/lib/views/forge-agent.js +538 -0
- package/lib/views/forge.js +410 -0
- package/lib/views/main-menu.js +275 -0
- package/lib/views/mediation.js +381 -0
- package/lib/views/model-compare.js +430 -0
- package/lib/views/model-comparison.js +333 -0
- package/lib/views/onboarding.js +470 -0
- package/lib/views/performance.js +237 -0
- package/lib/views/run-evals.js +205 -0
- package/lib/views/settings.js +829 -0
- package/lib/views/tools-evals.js +514 -0
- package/lib/views/verifier-coverage.js +617 -0
- package/lib/workers/verifier-worker.js +52 -0
- package/package.json +123 -0
- package/widget/forge-chat.js +789 -0
package/package.json
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "agent-tool-forge",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "Production LLM agent sidecar + Claude Code skill library for building, testing, and running tool-calling agents.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"llm",
|
|
7
|
+
"agent",
|
|
8
|
+
"mcp",
|
|
9
|
+
"tool-calling",
|
|
10
|
+
"react-loop",
|
|
11
|
+
"eval",
|
|
12
|
+
"hitl",
|
|
13
|
+
"sidecar",
|
|
14
|
+
"claude"
|
|
15
|
+
],
|
|
16
|
+
"author": "jsquire4",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/jsquire4/agent-tool-forge.git"
|
|
21
|
+
},
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/jsquire4/agent-tool-forge/issues"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://github.com/jsquire4/agent-tool-forge#readme",
|
|
26
|
+
"type": "module",
|
|
27
|
+
"main": "./lib/sidecar.js",
|
|
28
|
+
"types": "./lib/sidecar.d.ts",
|
|
29
|
+
"files": [
|
|
30
|
+
"lib",
|
|
31
|
+
"widget",
|
|
32
|
+
"!lib/**/*.test.js",
|
|
33
|
+
"!lib/__fixtures__",
|
|
34
|
+
"!widget/**/*.test.js"
|
|
35
|
+
],
|
|
36
|
+
"exports": {
|
|
37
|
+
".": {
|
|
38
|
+
"import": "./lib/sidecar.js",
|
|
39
|
+
"types": "./lib/sidecar.d.ts"
|
|
40
|
+
},
|
|
41
|
+
"./sidecar": {
|
|
42
|
+
"import": "./lib/sidecar.js",
|
|
43
|
+
"types": "./lib/sidecar.d.ts"
|
|
44
|
+
},
|
|
45
|
+
"./auth": {
|
|
46
|
+
"import": "./lib/auth.js",
|
|
47
|
+
"types": "./lib/auth.d.ts"
|
|
48
|
+
},
|
|
49
|
+
"./conversation-store": {
|
|
50
|
+
"import": "./lib/conversation-store.js",
|
|
51
|
+
"types": "./lib/conversation-store.d.ts"
|
|
52
|
+
},
|
|
53
|
+
"./react-engine": {
|
|
54
|
+
"import": "./lib/react-engine.js",
|
|
55
|
+
"types": "./lib/react-engine.d.ts"
|
|
56
|
+
},
|
|
57
|
+
"./config": {
|
|
58
|
+
"import": "./lib/config-schema.js",
|
|
59
|
+
"types": "./lib/config.d.ts"
|
|
60
|
+
},
|
|
61
|
+
"./hitl-engine": {
|
|
62
|
+
"import": "./lib/hitl-engine.js",
|
|
63
|
+
"types": "./lib/hitl-engine.d.ts"
|
|
64
|
+
},
|
|
65
|
+
"./prompt-store": {
|
|
66
|
+
"import": "./lib/prompt-store.js",
|
|
67
|
+
"types": "./lib/prompt-store.d.ts"
|
|
68
|
+
},
|
|
69
|
+
"./preference-store": {
|
|
70
|
+
"import": "./lib/preference-store.js",
|
|
71
|
+
"types": "./lib/preference-store.d.ts"
|
|
72
|
+
},
|
|
73
|
+
"./rate-limiter": {
|
|
74
|
+
"import": "./lib/rate-limiter.js",
|
|
75
|
+
"types": "./lib/rate-limiter.d.ts"
|
|
76
|
+
},
|
|
77
|
+
"./db": {
|
|
78
|
+
"import": "./lib/db.js",
|
|
79
|
+
"types": "./lib/db.d.ts"
|
|
80
|
+
},
|
|
81
|
+
"./sse": {
|
|
82
|
+
"import": "./lib/sse.js",
|
|
83
|
+
"types": "./lib/sse.d.ts"
|
|
84
|
+
},
|
|
85
|
+
"./postgres-store": {
|
|
86
|
+
"import": "./lib/postgres-store.js",
|
|
87
|
+
"types": "./lib/postgres-store.d.ts"
|
|
88
|
+
},
|
|
89
|
+
"./forge-service": {
|
|
90
|
+
"import": "./lib/forge-service.js",
|
|
91
|
+
"types": "./lib/forge-service.d.ts"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"bin": {
|
|
95
|
+
"forge": "./lib/index.js",
|
|
96
|
+
"forge-service": "./lib/forge-service.js"
|
|
97
|
+
},
|
|
98
|
+
"engines": {
|
|
99
|
+
"node": ">=18"
|
|
100
|
+
},
|
|
101
|
+
"scripts": {
|
|
102
|
+
"start": "node lib/index.js",
|
|
103
|
+
"forge": "node lib/index.js",
|
|
104
|
+
"manual": "node lib/index.js --manual",
|
|
105
|
+
"service": "node lib/forge-service.js",
|
|
106
|
+
"sidecar": "node lib/forge-service.js --mode=sidecar",
|
|
107
|
+
"test": "vitest run",
|
|
108
|
+
"test:watch": "vitest",
|
|
109
|
+
"test:coverage": "vitest run --coverage"
|
|
110
|
+
},
|
|
111
|
+
"dependencies": {
|
|
112
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
113
|
+
"better-sqlite3": "^12.6.2"
|
|
114
|
+
},
|
|
115
|
+
"optionalDependencies": {
|
|
116
|
+
"blessed": "^0.1.81",
|
|
117
|
+
"chalk": "^5.3.0"
|
|
118
|
+
},
|
|
119
|
+
"devDependencies": {
|
|
120
|
+
"vitest": "^2.0.0",
|
|
121
|
+
"@vitest/coverage-v8": "^2.0.0"
|
|
122
|
+
}
|
|
123
|
+
}
|