-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.86 KB
/
Copy pathpackage.json
File metadata and controls
126 lines (126 loc) · 3.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "executant",
"version": "2.12.1",
"description": "Harness for YAML-defined workflows that enables stepping through Claude sessions and bash commands",
"repository": {
"type": "git",
"url": "https://github.com/coston/executant"
},
"type": "module",
"main": "dist/index.js",
"bin": {
"executant": "dist/index.js"
},
"files": [
"dist"
],
"scripts": {
"prepare": "husky",
"bundle": "esbuild src/index.ts --bundle --platform=node --format=esm --packages=external --outfile=dist/index.js && rm -rf dist/prompts && cp -r src/prompts dist/prompts",
"dev": "tsx src/index.ts",
"start": "node dist/index.js",
"test": "env -u NODE_TEST_CONTEXT -u EXECUTANT_PROVIDER -u EXECUTANT_MODEL -u EXECUTANT_AGENT -u EXECUTANT_REPORT_SUGGESTION -u OTEL_EXPORTER_OTLP_ENDPOINT -u OTEL_EXPORTER_OTLP_TRACES_ENDPOINT -u OTEL_EXPORTER_OTLP_METRICS_ENDPOINT -u TRACEPARENT EXECUTANT_RETROSPECTIVE=0 node --import tsx/esm --test src/tests/*.test.ts",
"eval": "tsx src/eval/index.ts",
"eval:workflow": "tsx src/eval/workflow-index.ts",
"setup": "tsx src/setup.ts",
"models:download": "tsx src/native-models.ts",
"models:start": "tsx src/model-server.ts start",
"models:stop": "tsx src/model-server.ts stop",
"models:status": "tsx src/model-server.ts status",
"eval:compare": "for f in evals/*.eval.yaml; do npm run eval -- --models claude/opus,claude/sonnet,claude/haiku,opencode/llama-qwen7b/qwen2.5-coder-7b,opencode/llama-qwen14b/qwen2.5-coder-14b,opencode/llama-llama8b/llama-3.1-8b --output-csv \"results/$(basename $f .eval.yaml).csv\" \"$f\"; done && npm run eval:compare:report",
"eval:compare:report": "tsx src/eval/report-gen.ts",
"lint": "eslint src",
"knip": "knip"
},
"dependencies": {
"@coston/design-tokens": "^0.9.2",
"@opentelemetry/api": "^1.9.1",
"@opentelemetry/exporter-metrics-otlp-http": "^0.220.0",
"@opentelemetry/exporter-trace-otlp-http": "^0.220.0",
"@opentelemetry/resources": "^2.9.0",
"@opentelemetry/sdk-metrics": "^2.9.0",
"@opentelemetry/sdk-trace-base": "^2.9.0",
"ink": "^5.0.1",
"js-yaml": "^4.1.0",
"react": "^18.3.1",
"zod": "^3.23.8",
"zod-to-json-schema": "^3.25.2"
},
"devDependencies": {
"@commitlint/cli": "^20.5.0",
"@commitlint/config-conventional": "^20.5.0",
"@semantic-release/git": "^10.0.1",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.14.0",
"@types/react": "^18.3.3",
"esbuild": "^0.28.0",
"eslint": "^9.39.4",
"husky": "^9.1.7",
"ink-testing-library": "^4.0.0",
"knip": "^5.88.1",
"lint-staged": "^16.4.0",
"prettier": "^3.8.3",
"semantic-release": "^24.2.9",
"tsx": "^4.15.7",
"typescript": "^5.4.5",
"typescript-eslint": "^8.58.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"eslint --fix"
]
},
"release": {
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
[
"@semantic-release/git",
{
"assets": [
"package.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
},
"knip": {
"entry": [
"src/index.ts",
"src/setup.ts",
"src/native-models.ts",
"src/model-server.ts",
"src/eval/index.ts",
"src/eval/workflow-index.ts",
"src/eval/report-gen.ts"
],
"project": [
"src/**/*.ts",
"src/**/*.tsx"
]
}
}