ohwow 0.1.13 → 0.2.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.
Files changed (33) hide show
  1. package/LICENSE +17 -17
  2. package/README.md +120 -166
  3. package/dist/api.d.ts +91 -0
  4. package/dist/api.js +2 -0
  5. package/dist/index.d.ts +1 -90
  6. package/dist/index.js +1754 -590
  7. package/dist/mcp-server/index.js +10 -49
  8. package/dist/migrations/001-data-plane-tables.sql +1 -1
  9. package/dist/migrations/002-agents-table.sql +1 -1
  10. package/dist/migrations/017-openclaw-call-logs.sql +15 -0
  11. package/dist/migrations/038-peer-queue-tracking.sql +5 -0
  12. package/dist/migrations/039-task-delegation.sql +5 -0
  13. package/dist/migrations/040-self-improvement-tables.sql +109 -0
  14. package/dist/migrations/041-session-metadata.sql +3 -0
  15. package/dist/migrations/042-memory-sync.sql +45 -0
  16. package/dist/migrations/043-multi-connection.sql +18 -0
  17. package/dist/migrations/044-multi-connection-fixes.sql +32 -0
  18. package/dist/migrations/045-task-state.sql +21 -0
  19. package/dist/migrations/046-state-changelog.sql +18 -0
  20. package/dist/migrations/047-outbound-queue.sql +9 -0
  21. package/dist/migrations/048-tasks-column-alignment.sql +37 -0
  22. package/dist/migrations/049-agents-column-alignment.sql +25 -0
  23. package/dist/migrations/050-workflows-trigger-alignment.sql +25 -0
  24. package/dist/migrations/051-execution-engine-tables.sql +132 -0
  25. package/dist/migrations/052-a2a-rate-limit-alignment.sql +8 -0
  26. package/dist/migrations/053-llm-cache.sql +20 -0
  27. package/dist/migrations/054-task-checkpoints.sql +13 -0
  28. package/dist/migrations/055-resource-usage.sql +12 -0
  29. package/dist/migrations/056-sandbox-tables.sql +35 -0
  30. package/dist/web/assets/{index-DSojxPLI.css → index-1Wga6dwZ.css} +1 -1
  31. package/dist/web/assets/{index-D6DkPUkA.js → index-BHeLTE3N.js} +26 -26
  32. package/dist/web/index.html +2 -2
  33. package/package.json +59 -14
@@ -5,8 +5,8 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>ohwow Runtime</title>
7
7
  <link rel="icon" type="image/svg+xml" href="/ui/favicon.svg" />
8
- <script type="module" crossorigin src="/ui/assets/index-D6DkPUkA.js"></script>
9
- <link rel="stylesheet" crossorigin href="/ui/assets/index-DSojxPLI.css">
8
+ <script type="module" crossorigin src="/ui/assets/index-BHeLTE3N.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/ui/assets/index-1Wga6dwZ.css">
10
10
  </head>
11
11
  <body class="bg-[#0a0a0a] text-white antialiased">
12
12
  <div id="root"></div>
package/package.json CHANGED
@@ -1,11 +1,22 @@
1
1
  {
2
2
  "name": "ohwow",
3
- "version": "0.1.13",
4
- "description": "Runtime agent server for the ohwow platform",
5
- "license": "SEE LICENSE IN LICENSE",
3
+ "version": "0.2.0",
4
+ "description": "Local-first AI business operating system. Put your business ops on autopilot with AI agents that learn, remember, and coordinate.",
5
+ "license": "MIT",
6
+ "author": "Jesus David Oñoro Delgado <ogsus@ohwow.fun>",
6
7
  "type": "module",
7
- "main": "./dist/index.js",
8
- "types": "./dist/index.d.ts",
8
+ "main": "./dist/api.js",
9
+ "types": "./dist/api.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./dist/api.js",
13
+ "types": "./dist/api.d.ts"
14
+ },
15
+ "./mcp-server": {
16
+ "import": "./dist/mcp-server/index.js",
17
+ "types": "./dist/mcp-server/index.d.ts"
18
+ }
19
+ },
9
20
  "bin": {
10
21
  "ohwow": "bin/ohwow.js",
11
22
  "ohwow-mcp": "bin/ohwow-mcp.js"
@@ -19,7 +30,7 @@
19
30
  },
20
31
  "repository": {
21
32
  "type": "git",
22
- "url": "https://github.com/ohwow-fun/ohwow"
33
+ "url": "git+https://github.com/ohwow-fun/ohwow.git"
23
34
  },
24
35
  "homepage": "https://ohwow.fun",
25
36
  "keywords": [
@@ -29,7 +40,15 @@
29
40
  "cli",
30
41
  "ollama",
31
42
  "claude",
32
- "automation"
43
+ "automation",
44
+ "local-first",
45
+ "business",
46
+ "mcp",
47
+ "orchestrator",
48
+ "whatsapp",
49
+ "telegram",
50
+ "crm",
51
+ "workflow"
33
52
  ],
34
53
  "publishConfig": {
35
54
  "access": "public"
@@ -38,17 +57,24 @@
38
57
  "typecheck": "tsc --noEmit",
39
58
  "build": "npm run build:web && tsup && npm run copy-assets",
40
59
  "build:web": "cd src/web && npm install --ignore-scripts && npx vite build",
41
- "copy-assets": "cp -r src/db/migrations dist/migrations",
42
- "clean": "rm -rf dist tsconfig.build.tsbuildinfo",
60
+ "copy-assets": "node -e \"require('fs').cpSync('src/db/migrations','dist/migrations',{recursive:true})\"",
61
+ "clean": "node -e \"['dist','tsconfig.build.tsbuildinfo'].forEach(p=>{try{require('fs').rmSync(p,{recursive:true,force:true})}catch{}})\"",
43
62
  "prepublishOnly": "npm run clean && npm run build",
44
63
  "start": "node dist/index.js",
45
64
  "dev": "tsx src/index.ts",
46
65
  "dev:web": "cd src/web && npx vite --port 7701",
66
+ "lint": "eslint src/ --ignore-pattern 'src/web/'",
47
67
  "test": "vitest run",
48
- "test:watch": "vitest"
68
+ "test:watch": "vitest",
69
+ "check-env": "tsx scripts/check-env.ts",
70
+ "prepare": "husky || true"
71
+ },
72
+ "lint-staged": {
73
+ "src/**/*.ts": "eslint --fix",
74
+ "*.ts": "bash -c 'npx tsc --noEmit'"
49
75
  },
50
76
  "dependencies": {
51
- "@anthropic-ai/sdk": "^0.74.0",
77
+ "@anthropic-ai/sdk": "^0.80.0",
52
78
  "@modelcontextprotocol/sdk": "^1.27.1",
53
79
  "@opentelemetry/api": "^1.9.0",
54
80
  "@whiskeysockets/baileys": "^6.7.16",
@@ -59,28 +85,47 @@
59
85
  "cors": "^2.8.6",
60
86
  "cron-parser": "^5.5.0",
61
87
  "express": "^5.2.1",
88
+ "express-rate-limit": "^8.3.1",
62
89
  "ink": "^6.8.0",
63
90
  "ink-select-input": "^6.0.0",
64
91
  "ink-spinner": "^5.0.0",
65
92
  "ink-text-input": "^6.0.0",
66
93
  "jose": "^6.1.3",
94
+ "pdf-lib": "^1.17.1",
67
95
  "pino": "^10.3.1",
68
96
  "pino-pretty": "^13.1.3",
69
- "playwright-core": "^1.52.0",
70
97
  "qrcode-terminal": "^0.12.0",
98
+ "quickchart-js": "^3.1.3",
71
99
  "react": "^19.2.0",
72
- "ws": "^8.19.0"
100
+ "ws": "^8.19.0",
101
+ "zod": "^4.3.6"
102
+ },
103
+ "optionalDependencies": {
104
+ "@browserbasehq/stagehand": "^3.2.0",
105
+ "@nut-tree-fork/nut-js": "^4.2.6",
106
+ "sharp": "^0.34.5"
73
107
  },
74
108
  "devDependencies": {
109
+ "@eslint/js": "^9.39.4",
75
110
  "@types/better-sqlite3": "^7.6.0",
76
111
  "@types/busboy": "^1.5.4",
77
112
  "@types/cors": "^2.8.19",
78
113
  "@types/express": "^5.0.6",
114
+ "@types/node": "^25.5.0",
79
115
  "@types/qrcode-terminal": "^0.12.0",
80
116
  "@types/react": "^19.0.0",
81
117
  "@types/ws": "^8.18.1",
118
+ "@vitest/coverage-v8": "^4.1.0",
119
+ "dotenv": "^17.3.1",
120
+ "eslint": "^9.39.4",
121
+ "eslint-plugin-react-hooks": "^7.0.1",
122
+ "husky": "^9.1.7",
82
123
  "ink-testing-library": "^4.0.0",
124
+ "lint-staged": "^16.4.0",
83
125
  "tsup": "^8.5.1",
84
- "typescript": "^5"
126
+ "tsx": "^4.19.0",
127
+ "typescript": "^5",
128
+ "typescript-eslint": "^8.57.0",
129
+ "vitest": "^4.1.0"
85
130
  }
86
131
  }