-
Notifications
You must be signed in to change notification settings - Fork 115
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 4.29 KB
/
package.json
File metadata and controls
120 lines (120 loc) · 4.29 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
{
"name": "@apps/hash-ai-worker-ts",
"version": "0.0.0-private",
"private": true,
"description": "A TypeScript 'AI' worker for HASH",
"license": "HASH License – see LICENSE.md",
"type": "module",
"exports": {
".": "./src/main.ts",
"./workflows": "./src/workflows.ts",
"./activities": "./src/activities.ts"
},
"typesVersions": {
"*": {
".": [
"./src/main.ts"
],
"workflows": [
"./src/workflows.ts"
],
"activities": [
"./src/activities.ts"
]
}
},
"scripts": {
"build": "rimraf ./dist/ && tsc -p tsconfig.build.json && yarn exe ./scripts/bundle-workflow-code.ts",
"build:docker": "docker buildx build --tag hash-ai-worker-ts --file ./docker/Dockerfile ../../ --load",
"compare-llm-response": "NODE_ENV=development yarn exe ./scripts/compare-llm-response.ts",
"dev": "LOG_LEVEL=debug NODE_ENV=development NODE_OPTIONS=--max-old-space-size=2048 tsx watch --clear-screen=false ./src/main.ts",
"exe": "tsx",
"fix:eslint": "eslint --fix .",
"lint:eslint": "eslint --report-unused-disable-directives .",
"lint:tsc": "tsc --noEmit",
"sanitize-html": "NODE_ENV=development yarn exe ./scripts/sanitize-html.ts",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org hashintel --project hash-temporal-worker-ai ./dist && sentry-cli sourcemaps upload --org hashintel --project hash-temporal-worker-ai ./dist",
"start": "NODE_ENV=production NODE_OPTIONS=--max-old-space-size=2048 node ./dist/main.js",
"start:healthcheck": "wait-on --timeout 120000 http-get://localhost:4100/health",
"start:test": "NODE_ENV=test NODE_OPTIONS=--max-old-space-size=2048 node ./dist/main.js",
"start:test:healthcheck": "wait-on --timeout 120000 http-get://localhost:4100/health",
"test:unit": "vitest --run --exclude \"**/*.ai.test.ts\""
},
"dependencies": {
"@anthropic-ai/bedrock-sdk": "0.11.2",
"@anthropic-ai/sdk": "0.32.1",
"@apps/hash-graph": "0.0.0-private",
"@blockprotocol/graph": "0.4.0-canary.0",
"@blockprotocol/type-system": "0.1.2-canary.0",
"@google-cloud/storage": "7.14.0",
"@google-cloud/vertexai": "1.9.2",
"@local/advanced-types": "0.0.0-private",
"@local/hash-backend-utils": "0.0.0-private",
"@local/hash-graph-client": "0.0.0-private",
"@local/hash-graph-sdk": "0.0.0-private",
"@local/hash-graph-types": "0.0.0-private",
"@local/hash-isomorphic-utils": "0.0.0-private",
"@local/hash-subgraph": "0.0.0-private",
"@local/status": "0.0.0-private",
"@sentry/node": "7.120.2",
"@temporalio/activity": "1.11.5",
"@temporalio/common": "1.11.5",
"@temporalio/proto": "1.11.5",
"@temporalio/worker": "1.11.5",
"@temporalio/workflow": "1.11.5",
"ajv": "8.17.1",
"ajv-formats": "3.0.1",
"axios": "1.7.9",
"cache-manager": "5.7.6",
"dedent": "0.7.0",
"dotenv-flow": "3.3.0",
"e2b": "0.16.2",
"exponential-backoff": "3.1.1",
"googleapis": "133.0.0",
"is-docker": "3.0.0",
"jsdom": "24.1.3",
"llamaindex": "0.8.30",
"lodash.debounce": "4.0.8",
"lodash.isequal": "4.5.0",
"lodash.ismatch": "4.4.0",
"lodash.pickby": "4.6.0",
"md5": "2.3.0",
"mime-types": "2.1.35",
"officeparser": "4.2.0",
"openai": "4.77.0",
"openai-chat-tokens": "0.2.8",
"papaparse": "5.4.1",
"pdf2json": "3.1.4",
"puppeteer": "22.15.0",
"puppeteer-extra": "3.3.6",
"puppeteer-extra-plugin-stealth": "2.11.2",
"sanitize-html": "2.14.0",
"tsconfig-paths-webpack-plugin": "4.2.0",
"tsx": "4.19.2",
"typescript": "5.7.2"
},
"devDependencies": {
"@local/eslint": "0.0.0-private",
"@local/tsconfig": "0.0.0-private",
"@sentry/cli": "^2.39.1",
"@types/dedent": "0.7.2",
"@types/dotenv-flow": "3.3.3",
"@types/jsdom": "21.1.7",
"@types/lodash.debounce": "4.0.9",
"@types/lodash.isequal": "4.5.8",
"@types/lodash.ismatch": "4.4.9",
"@types/lodash.pickby": "4.6.9",
"@types/md5": "2.3.5",
"@types/mime-types": "2.1.4",
"@types/node": "22.10.2",
"@types/papaparse": "5.3.15",
"@types/sanitize-html": "2.13.0",
"@vitest/coverage-istanbul": "2.1.8",
"eslint": "9.17.0",
"rimraf": "6.0.1",
"typescript": "5.7.2",
"vite-tsconfig-paths": "5.1.4",
"vitest": "2.1.8",
"wait-on": "8.0.1"
}
}