@wenathlan/devthink 1.1.16 → 2.0.9

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 (160) hide show
  1. package/CHANGELOG.md +1374 -0
  2. package/README.md +6 -0
  3. package/bridge.d.ts +698 -0
  4. package/bridge.d.ts.map +1 -0
  5. package/bridge.js +1877 -0
  6. package/bun.d.ts +8 -0
  7. package/bun.d.ts.map +1 -0
  8. package/bun.js +52329 -0
  9. package/caps/background.json +712 -0
  10. package/caps/cli.json +360 -0
  11. package/caps/library.json +3611 -0
  12. package/caps/mcp.json +126 -0
  13. package/caps/pagebridge.json +377 -0
  14. package/caps/popup.json +51 -0
  15. package/caps/sidepanel.json +522 -0
  16. package/checksums.txt +142 -0
  17. package/cli.d.ts +187 -0
  18. package/cli.d.ts.map +1 -0
  19. package/cli.js +18197 -0
  20. package/companion.d.ts +19 -0
  21. package/companion.d.ts.map +1 -0
  22. package/companion.js +389 -0
  23. package/crossbrowser.d.ts +277 -0
  24. package/crossbrowser.d.ts.map +1 -0
  25. package/crossbrowser.js +1191 -0
  26. package/dashdone.d.ts +273 -0
  27. package/dashdone.d.ts.map +1 -0
  28. package/dashdone.js +368 -0
  29. package/deno.d.ts +11 -0
  30. package/deno.d.ts.map +1 -0
  31. package/deno.js +52325 -0
  32. package/devthink.umd.js +52346 -0
  33. package/fixtures/bun.ts +7 -0
  34. package/fixtures/cjs.js +6 -0
  35. package/fixtures/deno.ts +6 -0
  36. package/fixtures/example-org-pagestate.json +22 -0
  37. package/fixtures/importers/automa-workflow.json +18 -0
  38. package/fixtures/importers/selenium-side.json +20 -0
  39. package/fixtures/importers/tabular-plan.csv +7 -0
  40. package/fixtures/importers/uivision-macro.json +10 -0
  41. package/fixtures/importers/v1-plan.json +13 -0
  42. package/fixtures/mcp-client.mjs +14 -0
  43. package/fixtures/pages/checkout.html +192 -0
  44. package/fixtures/pages/dashboard.html +110 -0
  45. package/fixtures/pages/feed.html +113 -0
  46. package/fixtures/pages/product-grid.html +150 -0
  47. package/fixtures/plans/form-inventory-plan.json +11 -0
  48. package/fixtures/plans/release-notes-plan.json +11 -0
  49. package/fixtures/recipes/agentscompete.json +11 -0
  50. package/fixtures/recipes/agentsforms.json +11 -0
  51. package/fixtures/recipes/agentsmonitor.json +11 -0
  52. package/fixtures/recipes/agentsreview.json +29 -0
  53. package/fixtures/recipes/agentswarm.json +11 -0
  54. package/fixtures/recipes/fillcalendar.json +12 -0
  55. package/fixtures/recipes/fillcheckout.json +13 -0
  56. package/fixtures/recipes/filldependentdropdowns.json +12 -0
  57. package/fixtures/recipes/fillfromcsv.json +13 -0
  58. package/fixtures/recipes/fillloginform.json +12 -0
  59. package/fixtures/recipes/fillmultistepwizard.json +13 -0
  60. package/fixtures/recipes/fillregistration.json +12 -0
  61. package/fixtures/recipes/fillsearchfilters.json +12 -0
  62. package/fixtures/recipes/filltypeahead.json +11 -0
  63. package/fixtures/recipes/monitoralerts.json +12 -0
  64. package/fixtures/recipes/monitoravailability.json +11 -0
  65. package/fixtures/recipes/monitornetworkquiet.json +12 -0
  66. package/fixtures/recipes/monitorpagechanges.json +11 -0
  67. package/fixtures/recipes/monitorpricechange.json +11 -0
  68. package/fixtures/recipes/monitorschedule.json +12 -0
  69. package/fixtures/recipes/scrapedynamicprices.json +13 -0
  70. package/fixtures/recipes/scrapeimagegallery.json +12 -0
  71. package/fixtures/recipes/scrapeinfinitefeed.json +13 -0
  72. package/fixtures/recipes/scrapenestedlists.json +12 -0
  73. package/fixtures/recipes/scrapeproductgrid.json +12 -0
  74. package/fixtures/recipes/scrapereviews.json +12 -0
  75. package/fixtures/recipes/scrapesearchresults.json +12 -0
  76. package/fixtures/recipes/scrapetablepagination.json +12 -0
  77. package/fixtures/recipes/testaccessibility.json +34 -0
  78. package/fixtures/recipes/testconsoleerrors.json +12 -0
  79. package/fixtures/recipes/testdeeplinks.json +12 -0
  80. package/fixtures/recipes/testformvalidation.json +13 -0
  81. package/fixtures/recipes/testlayoutshift.json +12 -0
  82. package/fixtures/recipes/testlinkcheck.json +12 -0
  83. package/fixtures/recipes/testloadtiming.json +12 -0
  84. package/fixtures/recipes/testvisualdiff.json +12 -0
  85. package/fixtures/workflows/changelog-digest-workflow.json +13 -0
  86. package/fixtures/workflows/form-survey-workflow.json +13 -0
  87. package/gallery.json +706 -0
  88. package/hardening.d.ts +81 -0
  89. package/hardening.d.ts.map +1 -0
  90. package/hardening.js +188 -0
  91. package/headless.d.ts +114 -0
  92. package/headless.d.ts.map +1 -0
  93. package/headless.js +11522 -0
  94. package/http.d.ts +636 -0
  95. package/http.d.ts.map +1 -0
  96. package/http.js +2165 -0
  97. package/index.cjs +54682 -0
  98. package/index.d.ts +40 -0
  99. package/index.d.ts.map +1 -0
  100. package/index.js +52310 -0
  101. package/index.neutral.js +46343 -0
  102. package/manifest.json +199 -0
  103. package/mcp.d.ts +501 -0
  104. package/mcp.d.ts.map +1 -0
  105. package/mcp.js +20515 -0
  106. package/memory.d.ts +2397 -0
  107. package/memory.d.ts.map +1 -0
  108. package/memory.js +5782 -0
  109. package/nativehost.template.json +10 -0
  110. package/node.cjs +54686 -0
  111. package/node.d.ts +8 -0
  112. package/node.d.ts.map +1 -0
  113. package/pack.d.ts +211 -0
  114. package/pack.d.ts.map +1 -0
  115. package/pack.js +805 -0
  116. package/package.json +111 -51
  117. package/policy.d.ts +1854 -0
  118. package/policy.d.ts.map +1 -0
  119. package/policy.js +12580 -0
  120. package/progress.d.ts +390 -0
  121. package/progress.d.ts.map +1 -0
  122. package/progress.js +645 -0
  123. package/protocol.d.ts +2336 -0
  124. package/protocol.d.ts.map +1 -0
  125. package/protocol.js +8334 -0
  126. package/schemas/audit.schema.json +226 -0
  127. package/schemas/capability.schema.json +113 -0
  128. package/schemas/envelope.schema.json +162 -0
  129. package/schemas/memory.schema.json +51 -0
  130. package/schemas/observation.schema.json +113 -0
  131. package/schemas/plan.schema.json +208 -0
  132. package/schemas/progress.schema.json +126 -0
  133. package/schemas/proposal.schema.json +68 -0
  134. package/schemas/session.schema.json +82 -0
  135. package/schemas/tool.schema.json +94 -0
  136. package/server.d.ts +435 -0
  137. package/server.d.ts.map +1 -0
  138. package/server.js +28877 -0
  139. package/umd-example.html +18 -0
  140. package/umd.d.ts +6 -0
  141. package/umd.d.ts.map +1 -0
  142. package/build.ts +0 -41
  143. package/check-secrets.ts +0 -52
  144. package/compatibility.ts +0 -37
  145. package/config.ts +0 -246
  146. package/devthink.ts +0 -397
  147. package/identity.ts +0 -156
  148. package/ids.ts +0 -22
  149. package/memory.ts +0 -95
  150. package/modes.ts +0 -43
  151. package/plugin.ts +0 -68
  152. package/providers.ts +0 -179
  153. package/server.ts +0 -264
  154. package/session.ts +0 -155
  155. package/storage.ts +0 -82
  156. package/stream.ts +0 -130
  157. package/sync.ts +0 -27
  158. package/terminal-ui.tsx +0 -155
  159. package/ui.ts +0 -143
  160. package/workspace.ts +0 -20
package/package.json CHANGED
@@ -1,51 +1,17 @@
1
1
  {
2
2
  "name": "@wenathlan/devthink",
3
- "version": "1.1.16",
3
+ "version": "2.0.9",
4
+ "description": "DevThink is the merged AI development workbench: the provider-owned gateway engine, the DevThink browser extension (the agent surface), the Antigravity engine and the workbench CLI — one product, one binary, one metadata.",
5
+ "type": "module",
6
+ "license": "GPL-3.0-only",
7
+ "homepage": "https://wenathlan.github.io/devthink/",
4
8
  "repository": {
5
9
  "type": "git",
6
10
  "url": "https://github.com/wenathlan/devthink"
7
11
  },
8
- "dependencies": {
9
- "ink": "^7.1.1",
10
- "react": "^19.2.8"
11
- },
12
- "devDependencies": {
13
- "@types/react": "^19.2.18",
14
- "bun-types": "^1.4.0"
15
- },
16
- "exports": {
17
- ".": "./devthink.ts",
18
- "./config": "./config.ts",
19
- "./identity": "./identity.ts",
20
- "./memory": "./memory.ts",
21
- "./modes": "./modes.ts",
22
- "./plugin": "./plugin.ts",
23
- "./providers": "./providers.ts",
24
- "./server": "./server.ts",
25
- "./session": "./session.ts",
26
- "./stream": "./stream.ts",
27
- "./sync": "./sync.ts"
28
- },
29
- "bin": {
30
- "devthink": "./devthink.ts"
31
- },
32
12
  "bugs": {
33
13
  "url": "https://github.com/wenathlan/devthink/issues"
34
14
  },
35
- "description": "DevThink is an AI development workbench with provider-owned endpoints, normalized streaming, sessions, memory, an embedded gateway and a terminal/web interface.",
36
- "engines": {
37
- "bun": ">=1.1.1",
38
- "node": ">=26.7.0"
39
- },
40
- "files": [
41
- "*.ts",
42
- "*.tsx",
43
- "README.md",
44
- "LICENSE",
45
- "CHANGELOG.md",
46
- "release-notes"
47
- ],
48
- "homepage": "https://wenathlan.github.io/devthink/",
49
15
  "keywords": [
50
16
  "ai",
51
17
  "cli",
@@ -57,20 +23,114 @@
57
23
  "embedded-gateway",
58
24
  "web-workbench"
59
25
  ],
60
- "license": "MIT",
26
+ "dependencies": {
27
+ "ink": "^7.1.1",
28
+ "react": "^19.3.0",
29
+ "@hono/node-server": "^2.1.1",
30
+ "@libsql/client": "0.17.4",
31
+ "@prisma/adapter-libsql": "^7.10.0",
32
+ "@prisma/client": "^7.10.0",
33
+ "hono": "^4.13.7",
34
+ "z-ai-web-dev-sdk": "^0.0.18"
35
+ },
36
+ "engines": {
37
+ "bun": ">=1.4.2 <2",
38
+ "node": ">=26.8.2 <27",
39
+ "npm": ">=12.0.2 <13",
40
+ "deno": ">=2.0.0 <3"
41
+ },
42
+ "sideEffects": false,
61
43
  "publishConfig": {
62
44
  "access": "public",
63
- "registry": "https://registry.npmjs.org"
45
+ "registry": "https://registry.npmjs.org/"
64
46
  },
65
- "scripts": {
66
- "start": "bun run devthink.ts",
67
- "dev": "bun --watch run devthink.ts",
68
- "test": "node --experimental-strip-types --test tests/*.test.ts",
69
- "check": "bun run check:secrets && bun run test",
70
- "check:secrets": "bun run check-secrets.ts",
71
- "build:binary": "bun run build.ts",
72
- "build": "bun build ./devthink.ts --outdir dist --target bun",
73
- "release": "bun run check && bun run build:binary"
47
+ "main": "./index.js",
48
+ "types": "./index.d.ts",
49
+ "bin": {
50
+ "devthink": "./cli.js"
74
51
  },
75
- "type": "module"
52
+ "exports": {
53
+ ".": {
54
+ "types": "./index.d.ts",
55
+ "browser": "./index.neutral.js",
56
+ "import": "./index.js",
57
+ "require": "./index.cjs",
58
+ "default": "./index.js"
59
+ },
60
+ "./policy": {
61
+ "types": "./policy.d.ts",
62
+ "import": "./policy.js",
63
+ "default": "./policy.js"
64
+ },
65
+ "./protocol": {
66
+ "types": "./protocol.d.ts",
67
+ "import": "./protocol.js",
68
+ "default": "./protocol.js"
69
+ },
70
+ "./memory": {
71
+ "types": "./memory.d.ts",
72
+ "import": "./memory.js",
73
+ "default": "./memory.js"
74
+ },
75
+ "./progress": {
76
+ "types": "./progress.d.ts",
77
+ "import": "./progress.js",
78
+ "default": "./progress.js"
79
+ },
80
+ "./cli": {
81
+ "import": "./cli.js",
82
+ "require": "./cli.js",
83
+ "default": "./cli.js"
84
+ },
85
+ "./umd": {
86
+ "types": "./umd.d.ts",
87
+ "default": "./devthink.umd.js"
88
+ },
89
+ "./node": {
90
+ "types": "./node.d.ts",
91
+ "require": "./node.cjs"
92
+ },
93
+ "./bun": {
94
+ "types": "./bun.d.ts",
95
+ "import": "./bun.js"
96
+ },
97
+ "./deno": {
98
+ "types": "./deno.d.ts",
99
+ "import": "./deno.js"
100
+ },
101
+ "./headless": {
102
+ "types": "./headless.d.ts",
103
+ "import": "./headless.js"
104
+ },
105
+ "./mcp": {
106
+ "types": "./mcp.d.ts",
107
+ "import": "./mcp.js",
108
+ "default": "./mcp.js"
109
+ },
110
+ "./bridge": {
111
+ "types": "./bridge.d.ts",
112
+ "import": "./bridge.js",
113
+ "default": "./bridge.js"
114
+ },
115
+ "./pack": {
116
+ "types": "./pack.d.ts",
117
+ "import": "./pack.js",
118
+ "default": "./pack.js"
119
+ },
120
+ "./crossbrowser": {
121
+ "types": "./crossbrowser.d.ts",
122
+ "import": "./crossbrowser.js",
123
+ "default": "./crossbrowser.js"
124
+ },
125
+ "./http": {
126
+ "types": "./http.d.ts",
127
+ "import": "./http.js",
128
+ "default": "./http.js"
129
+ },
130
+ "./server": {
131
+ "types": "./server.d.ts",
132
+ "import": "./server.js",
133
+ "default": "./server.js"
134
+ }
135
+ }
76
136
  }