@inflexa-ai/harness 0.2.0 → 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/README.md +48 -0
- package/dist/agents/conversation-agent.d.ts +3 -0
- package/dist/agents/conversation-agent.js +2 -2
- package/dist/agents/sandbox/shared.d.ts +3 -0
- package/dist/agents/sandbox/shared.js +2 -2
- package/dist/app/chat-turn.d.ts +3 -0
- package/dist/app/chat-turn.js +3 -1
- package/dist/app/synthesize-run.d.ts +3 -0
- package/dist/app/synthesize-run.js +3 -1
- package/dist/execution/artifact-metadata.d.ts +3 -0
- package/dist/execution/artifact-metadata.js +8 -2
- package/dist/execution/artifact-registration.d.ts +2 -1
- package/dist/execution/artifact-registration.js +8 -2
- package/dist/execution/ephemeral-runner.d.ts +3 -0
- package/dist/execution/ephemeral-runner.js +8 -4
- package/dist/execution/post-step-pipeline.d.ts +3 -0
- package/dist/execution/post-step-pipeline.js +24 -4
- package/dist/execution/reconcile-manifest.d.ts +7 -0
- package/dist/execution/reconcile-manifest.js +19 -5
- package/dist/execution/report-runner.d.ts +3 -0
- package/dist/execution/report-runner.js +4 -4
- package/dist/execution/step-summary.d.ts +3 -0
- package/dist/execution/step-summary.js +4 -2
- package/dist/index.d.ts +3 -0
- package/dist/index.js +5 -0
- package/dist/lib/chrome.d.ts +4 -1
- package/dist/lib/chrome.js +10 -7
- package/dist/lib/console-logger.d.ts +19 -0
- package/dist/lib/console-logger.js +62 -0
- package/dist/lib/logger.d.ts +88 -0
- package/dist/lib/logger.js +37 -0
- package/dist/lib/otel.d.ts +2 -1
- package/dist/lib/otel.js +8 -3
- package/dist/runtime/boot.d.ts +2 -2
- package/dist/runtime/boot.js +1 -1
- package/dist/runtime/connection-budget.d.ts +2 -2
- package/dist/runtime/connection-budget.js +5 -3
- package/dist/runtime/dbos.d.ts +7 -7
- package/dist/runtime/dbos.js +14 -11
- package/dist/runtime/shutdown.d.ts +2 -2
- package/dist/runtime/shutdown.js +4 -3
- package/dist/sandbox/create-sandbox.d.ts +2 -2
- package/dist/sandbox/docker-client.d.ts +2 -2
- package/dist/sandbox/docker-client.js +4 -1
- package/dist/sandbox/k8s-client.d.ts +3 -0
- package/dist/sandbox/k8s-client.js +5 -4
- package/dist/sandbox/notification-sweep.d.ts +3 -3
- package/dist/sandbox/notification-sweep.js +4 -2
- package/dist/sandbox/reaper.d.ts +3 -3
- package/dist/sandbox/reaper.js +7 -4
- package/dist/sandbox/watchdog.d.ts +3 -3
- package/dist/sandbox/watchdog.js +8 -2
- package/dist/state/init.d.ts +2 -1
- package/dist/state/init.js +5 -6
- package/dist/tasks/data-profile.d.ts +5 -0
- package/dist/tasks/data-profile.js +24 -17
- package/dist/tools/bio/search-dgidb.d.ts +11 -1
- package/dist/tools/bio/search-dgidb.js +92 -78
- package/dist/tools/iterate-report.d.ts +3 -0
- package/dist/tools/iterate-report.js +3 -1
- package/dist/tools/research/literature-reviewer.d.ts +3 -0
- package/dist/tools/research/literature-reviewer.js +2 -2
- package/dist/tools/workspace/execute-command.d.ts +3 -0
- package/dist/tools/workspace/execute-command.js +3 -1
- package/dist/workflows/execute-analysis.d.ts +3 -0
- package/dist/workflows/execute-analysis.js +11 -7
- package/dist/workflows/execute-target-assessment.d.ts +3 -0
- package/dist/workflows/execute-target-assessment.js +19 -15
- package/dist/workflows/sandbox-step.d.ts +9 -0
- package/dist/workflows/sandbox-step.js +39 -17
- package/dist/workflows/target-assessment/lib/llm-step.d.ts +3 -0
- package/dist/workflows/target-assessment/lib/llm-step.js +3 -1
- package/dist/workflows/target-assessment/lib/structured-llm.d.ts +3 -0
- package/dist/workflows/target-assessment/lib/structured-llm.js +1 -0
- package/dist/workflows/target-assessment/phase5-persist.d.ts +3 -0
- package/dist/workflows/target-assessment/phase5-persist.js +8 -3
- package/dist/workflows/target-assessment/progress.d.ts +2 -1
- package/dist/workflows/target-assessment/progress.js +4 -3
- package/dist/workspace/filesystem.js +163 -74
- package/package.json +95 -96
package/package.json
CHANGED
|
@@ -1,101 +1,100 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
"name": "@inflexa-ai/harness",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "Host-agnostic bioinformatics agent harness \u2014 hand-rolled agent loop, DBOS-durable workflows, sandboxed compute.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./*.js": {
|
|
15
|
+
"types": "./dist/*.d.ts",
|
|
16
|
+
"import": "./dist/*.js"
|
|
17
|
+
},
|
|
18
|
+
"./*": {
|
|
19
|
+
"types": "./dist/*.d.ts",
|
|
20
|
+
"import": "./dist/*.js"
|
|
21
|
+
}
|
|
13
22
|
},
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"NOTICE"
|
|
26
|
+
],
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=24"
|
|
17
29
|
},
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "https://github.com/inflexa-ai/inflexa.git",
|
|
33
|
+
"directory": "harness"
|
|
34
|
+
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"build": "tsc -p tsconfig.json",
|
|
37
|
+
"format": "prettier --write src/",
|
|
38
|
+
"format:file": "prettier --write",
|
|
39
|
+
"lint": "eslint .",
|
|
40
|
+
"prepare": "tsc -p tsconfig.json",
|
|
41
|
+
"prepublishOnly": "bun run build && bun run smoke",
|
|
42
|
+
"smoke": "node scripts/smoke.mjs",
|
|
43
|
+
"typecheck": "tsc --noEmit"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@ai-sdk/anthropic": "^4.0.15",
|
|
47
|
+
"@ai-sdk/openai-compatible": "^3.0.10",
|
|
48
|
+
"@ai-sdk/provider": "^4.0.3",
|
|
49
|
+
"@anthropic-ai/sdk": "^0.107.0",
|
|
50
|
+
"@dbos-inc/dbos-sdk": "^4.23.6",
|
|
51
|
+
"@kubernetes/client-node": "^1.4.0",
|
|
52
|
+
"@opentelemetry/api": "^1.9.1",
|
|
53
|
+
"@opentelemetry/core": "^2.9.0",
|
|
54
|
+
"@opentelemetry/exporter-metrics-otlp-http": "^0.219.0",
|
|
55
|
+
"@opentelemetry/exporter-trace-otlp-proto": "^0.219.0",
|
|
56
|
+
"@opentelemetry/resources": "^2.9.0",
|
|
57
|
+
"@opentelemetry/sdk-metrics": "^2.9.0",
|
|
58
|
+
"@opentelemetry/sdk-trace-base": "^2.9.0",
|
|
59
|
+
"@opentelemetry/sdk-trace-node": "^2.9.0",
|
|
60
|
+
"@opentelemetry/semantic-conventions": "^1.43.0",
|
|
61
|
+
"ai": "^7.0.28",
|
|
62
|
+
"cheerio": "^1.2.0",
|
|
63
|
+
"dockerode": "^4.0.12",
|
|
64
|
+
"fast-xml-parser": "^5.10.0",
|
|
65
|
+
"hono": "^4.12.30",
|
|
66
|
+
"js-tiktoken": "^1.0.21",
|
|
67
|
+
"mime": "^4.1.0",
|
|
68
|
+
"nanoid": "^5.1.16",
|
|
69
|
+
"neverthrow": "^8.2.0",
|
|
70
|
+
"nunjucks": "^3.2.4",
|
|
71
|
+
"openai": "^4.104.0",
|
|
72
|
+
"pdf-parse": "^2.4.5",
|
|
73
|
+
"pg": "^8.22.0",
|
|
74
|
+
"puppeteer-core": "^23.11.1",
|
|
75
|
+
"zod": "^4.4.3"
|
|
76
|
+
},
|
|
77
|
+
"devDependencies": {
|
|
78
|
+
"@eslint/js": "^10.0.1",
|
|
79
|
+
"@types/bun": "latest",
|
|
80
|
+
"@types/dockerode": "^3.3.47",
|
|
81
|
+
"@types/node": "^24.13.3",
|
|
82
|
+
"@types/nunjucks": "^3.2.6",
|
|
83
|
+
"@types/pdf-parse": "^1.1.5",
|
|
84
|
+
"@types/pg": "^8.20.0",
|
|
85
|
+
"eslint": "^10.7.0",
|
|
86
|
+
"eslint-plugin-neverthrow": "^1.1.4",
|
|
87
|
+
"globals": "^17.7.0",
|
|
88
|
+
"prettier": "^3.9.5",
|
|
89
|
+
"testcontainers": "^10.28.0",
|
|
90
|
+
"typescript": "^6.0.3",
|
|
91
|
+
"typescript-eslint": "^8.64.0"
|
|
92
|
+
},
|
|
93
|
+
"publishConfig": {
|
|
94
|
+
"access": "public",
|
|
95
|
+
"registry": "https://registry.npmjs.org"
|
|
96
|
+
},
|
|
97
|
+
"patchedDependencies": {
|
|
98
|
+
"eslint-plugin-neverthrow@1.1.4": "patches/eslint-plugin-neverthrow@1.1.4.patch"
|
|
21
99
|
}
|
|
22
|
-
},
|
|
23
|
-
"files": [
|
|
24
|
-
"dist",
|
|
25
|
-
"NOTICE"
|
|
26
|
-
],
|
|
27
|
-
"engines": {
|
|
28
|
-
"node": ">=24"
|
|
29
|
-
},
|
|
30
|
-
"repository": {
|
|
31
|
-
"type": "git",
|
|
32
|
-
"url": "https://github.com/inflexa-ai/inflexa.git",
|
|
33
|
-
"directory": "harness"
|
|
34
|
-
},
|
|
35
|
-
"scripts": {
|
|
36
|
-
"build": "tsc -p tsconfig.json",
|
|
37
|
-
"format": "prettier --write src/",
|
|
38
|
-
"format:file": "prettier --write",
|
|
39
|
-
"lint": "eslint .",
|
|
40
|
-
"prepare": "tsc -p tsconfig.json",
|
|
41
|
-
"prepublishOnly": "bun run build && bun run smoke",
|
|
42
|
-
"smoke": "node scripts/smoke.mjs",
|
|
43
|
-
"typecheck": "tsc --noEmit"
|
|
44
|
-
},
|
|
45
|
-
"dependencies": {
|
|
46
|
-
"@ai-sdk/anthropic": "^4.0.15",
|
|
47
|
-
"@ai-sdk/openai-compatible": "^3.0.10",
|
|
48
|
-
"@ai-sdk/provider": "^4.0.3",
|
|
49
|
-
"@anthropic-ai/sdk": "^0.107.0",
|
|
50
|
-
"@dbos-inc/dbos-sdk": "^4.23.6",
|
|
51
|
-
"@kubernetes/client-node": "^1.4.0",
|
|
52
|
-
"@opentelemetry/api": "^1.9.1",
|
|
53
|
-
"@opentelemetry/core": "^2.9.0",
|
|
54
|
-
"@opentelemetry/exporter-metrics-otlp-http": "^0.219.0",
|
|
55
|
-
"@opentelemetry/exporter-trace-otlp-proto": "^0.219.0",
|
|
56
|
-
"@opentelemetry/resources": "^2.9.0",
|
|
57
|
-
"@opentelemetry/sdk-metrics": "^2.9.0",
|
|
58
|
-
"@opentelemetry/sdk-trace-base": "^2.9.0",
|
|
59
|
-
"@opentelemetry/sdk-trace-node": "^2.9.0",
|
|
60
|
-
"@opentelemetry/semantic-conventions": "^1.43.0",
|
|
61
|
-
"ai": "^7.0.28",
|
|
62
|
-
"cheerio": "^1.2.0",
|
|
63
|
-
"dockerode": "^4.0.12",
|
|
64
|
-
"fast-xml-parser": "^5.10.0",
|
|
65
|
-
"hono": "^4.12.30",
|
|
66
|
-
"js-tiktoken": "^1.0.21",
|
|
67
|
-
"mime": "^4.1.0",
|
|
68
|
-
"nanoid": "^5.1.16",
|
|
69
|
-
"neverthrow": "^8.2.0",
|
|
70
|
-
"nunjucks": "^3.2.4",
|
|
71
|
-
"openai": "^4.104.0",
|
|
72
|
-
"pdf-parse": "^2.4.5",
|
|
73
|
-
"pg": "^8.22.0",
|
|
74
|
-
"pino": "^10.3.1",
|
|
75
|
-
"puppeteer-core": "^23.11.1",
|
|
76
|
-
"zod": "^4.4.3"
|
|
77
|
-
},
|
|
78
|
-
"devDependencies": {
|
|
79
|
-
"@eslint/js": "^10.0.1",
|
|
80
|
-
"@types/bun": "latest",
|
|
81
|
-
"@types/dockerode": "^3.3.47",
|
|
82
|
-
"@types/node": "^24.13.3",
|
|
83
|
-
"@types/nunjucks": "^3.2.6",
|
|
84
|
-
"@types/pdf-parse": "^1.1.5",
|
|
85
|
-
"@types/pg": "^8.20.0",
|
|
86
|
-
"eslint": "^10.7.0",
|
|
87
|
-
"eslint-plugin-neverthrow": "^1.1.4",
|
|
88
|
-
"globals": "^17.7.0",
|
|
89
|
-
"prettier": "^3.9.5",
|
|
90
|
-
"testcontainers": "^10.28.0",
|
|
91
|
-
"typescript": "^6.0.3",
|
|
92
|
-
"typescript-eslint": "^8.64.0"
|
|
93
|
-
},
|
|
94
|
-
"publishConfig": {
|
|
95
|
-
"access": "public",
|
|
96
|
-
"registry": "https://registry.npmjs.org"
|
|
97
|
-
},
|
|
98
|
-
"patchedDependencies": {
|
|
99
|
-
"eslint-plugin-neverthrow@1.1.4": "patches/eslint-plugin-neverthrow@1.1.4.patch"
|
|
100
|
-
}
|
|
101
100
|
}
|