octaflow 0.14.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 +288 -0
- package/dist/ai/index.d.ts +397 -0
- package/dist/ai/index.js +466 -0
- package/dist/core-ERYGlYsS.js +574 -0
- package/dist/dispatcher-BydjyrgU.d.ts +26 -0
- package/dist/dispatcher-pgboss/index.d.ts +170 -0
- package/dist/dispatcher-pgboss/index.js +301 -0
- package/dist/hooks-CDRFQZbT.d.ts +56 -0
- package/dist/index-D_fOYfmf.d.ts +580 -0
- package/dist/index.d.ts +137 -0
- package/dist/index.js +1426 -0
- package/dist/logger-BCus3AOa.d.ts +10 -0
- package/dist/observability-BsrvbhDr.d.ts +249 -0
- package/dist/store-pg/index.d.ts +195 -0
- package/dist/store-pg/index.js +671 -0
- package/package.json +116 -0
package/package.json
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "octaflow",
|
|
3
|
+
"version": "0.14.0",
|
|
4
|
+
"description": "Durable DAG workflow engine: Zod-typed steps over Postgres + pg-boss, with an optional AI add-on (token/cost/quota). Layered single package.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"default": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./ai": {
|
|
14
|
+
"types": "./dist/ai/index.d.ts",
|
|
15
|
+
"import": "./dist/ai/index.js",
|
|
16
|
+
"default": "./dist/ai/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./store-pg": {
|
|
19
|
+
"types": "./dist/store-pg/index.d.ts",
|
|
20
|
+
"import": "./dist/store-pg/index.js",
|
|
21
|
+
"default": "./dist/store-pg/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./dispatcher-pgboss": {
|
|
24
|
+
"types": "./dist/dispatcher-pgboss/index.d.ts",
|
|
25
|
+
"import": "./dist/dispatcher-pgboss/index.js",
|
|
26
|
+
"default": "./dist/dispatcher-pgboss/index.js"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=22"
|
|
31
|
+
},
|
|
32
|
+
"simple-git-hooks": {
|
|
33
|
+
"commit-msg": "pnpm commitlint --edit $1"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"dist",
|
|
37
|
+
"README.md",
|
|
38
|
+
"LICENSE"
|
|
39
|
+
],
|
|
40
|
+
"publishConfig": {
|
|
41
|
+
"access": "public"
|
|
42
|
+
},
|
|
43
|
+
"repository": {
|
|
44
|
+
"type": "git",
|
|
45
|
+
"url": "https://github.com/octabits-io/octaflow.git"
|
|
46
|
+
},
|
|
47
|
+
"homepage": "https://octabits-io.github.io/octaflow/",
|
|
48
|
+
"bugs": {
|
|
49
|
+
"url": "https://github.com/octabits-io/octaflow/issues"
|
|
50
|
+
},
|
|
51
|
+
"keywords": [
|
|
52
|
+
"workflow",
|
|
53
|
+
"dag",
|
|
54
|
+
"durable-execution",
|
|
55
|
+
"orchestration",
|
|
56
|
+
"ai",
|
|
57
|
+
"llm",
|
|
58
|
+
"pg-boss",
|
|
59
|
+
"postgres",
|
|
60
|
+
"zod"
|
|
61
|
+
],
|
|
62
|
+
"peerDependencies": {
|
|
63
|
+
"@ai-sdk/provider": "^4.0.0",
|
|
64
|
+
"ai": "^7.0.0",
|
|
65
|
+
"pg": "^8.0.0",
|
|
66
|
+
"pg-boss": "^12.21.0",
|
|
67
|
+
"typescript": "^5 || ^6 || ^7",
|
|
68
|
+
"zod": "^4.0.0"
|
|
69
|
+
},
|
|
70
|
+
"peerDependenciesMeta": {
|
|
71
|
+
"@ai-sdk/provider": {
|
|
72
|
+
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"ai": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"pg": {
|
|
78
|
+
"optional": true
|
|
79
|
+
},
|
|
80
|
+
"pg-boss": {
|
|
81
|
+
"optional": true
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"devDependencies": {
|
|
85
|
+
"@ai-sdk/provider": "^4.0.7",
|
|
86
|
+
"@changesets/changelog-github": "^1.0.0",
|
|
87
|
+
"@changesets/cli": "^3.0.0",
|
|
88
|
+
"@commitlint/cli": "^21.2.1",
|
|
89
|
+
"@commitlint/config-conventional": "^21.2.0",
|
|
90
|
+
"@testcontainers/postgresql": "^12.1.0",
|
|
91
|
+
"@types/node": "^26.2.0",
|
|
92
|
+
"@types/pg": "^8.21.0",
|
|
93
|
+
"ai": "^7.0.62",
|
|
94
|
+
"pg": "^8.23.0",
|
|
95
|
+
"pg-boss": "^12.27.0",
|
|
96
|
+
"simple-git-hooks": "^2.13.1",
|
|
97
|
+
"testcontainers": "^12.1.0",
|
|
98
|
+
"tsdown": "^0.22.14",
|
|
99
|
+
"typescript": "^7.0.2",
|
|
100
|
+
"vitest": "^4.1.10",
|
|
101
|
+
"zod": "^4.4.3"
|
|
102
|
+
},
|
|
103
|
+
"scripts": {
|
|
104
|
+
"build": "tsdown",
|
|
105
|
+
"clean": "rm -rf dist",
|
|
106
|
+
"test": "vitest run",
|
|
107
|
+
"test:unit": "vitest run --project unit",
|
|
108
|
+
"test:integration": "vitest run --project integration",
|
|
109
|
+
"lint": "node scripts/check-boundaries.mjs",
|
|
110
|
+
"typecheck": "tsc --noEmit",
|
|
111
|
+
"changeset": "changeset",
|
|
112
|
+
"changeset:version": "GITHUB_TOKEN=$(passage show github/token) changeset version",
|
|
113
|
+
"changeset:publish": "pnpm build && echo \"//registry.npmjs.org/:_authToken=$(passage show npm/token/octabits)\" > .npmrc && { changeset publish; s=$?; rm -f .npmrc; exit $s; }",
|
|
114
|
+
"release": "bash scripts/release.sh"
|
|
115
|
+
}
|
|
116
|
+
}
|