@wenathlan/devthink 1.1.16 → 2.0.2

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 +1288 -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 +101 -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 +28872 -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/manifest.json ADDED
@@ -0,0 +1,199 @@
1
+ {
2
+ "manifest_version": 3,
3
+ "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnOEjO8Z0PDgQyfvawGcaO2j+o0GLCFTLNj7TkYC/Avo9l2NenMRq7gp90Nfd7E9MViv/OMcCKSYZ5unv12QPRtv31C+a5UQWDFAOP/cH5mwMd6hsayElrSoW8ta+FwFqmr9dIFkn7cQEU3YhZr4Gcbs+ycUHOxVgDA4NBKB0rQ6e9VW5LvTw0isRYUrqM+M72vKxHk9zUIYYn/LGPvottKBYi2GLr0PHSeC2UE+Shmq7vcFIXj6hDjvD4kLJ5sKoUllEcZ1TPuBcnHUQ9ndKA5iktXDQOIJCUJmi7a0YJ2PGg7fvpYfT9k0ai/qZ+pIoRfoOEwE01bPoDn7NjeYnNQIDAQAB",
4
+ "name": "Devthink",
5
+ "version": "2.0.2",
6
+ "description": "A consent-first bridge for reviewed browser-agent tasks.",
7
+ "icons": {
8
+ "16": "icons/16.png",
9
+ "19": "icons/19.png",
10
+ "32": "icons/32.png",
11
+ "38": "icons/38.png",
12
+ "48": "icons/48.png",
13
+ "128": "icons/128.png"
14
+ },
15
+ "permissions": [
16
+ "activeTab",
17
+ "storage",
18
+ "scripting",
19
+ "sidePanel"
20
+ ],
21
+ "optional_permissions": [
22
+ "tabs",
23
+ "downloads",
24
+ "clipboardRead",
25
+ "clipboardWrite",
26
+ "offscreen",
27
+ "nativeMessaging"
28
+ ],
29
+ "optional_host_permissions": [
30
+ "https://*/*"
31
+ ],
32
+ "content_security_policy": {
33
+ "extension_pages": "script-src 'self'; object-src 'self'; frame-ancestors 'self'"
34
+ },
35
+ "sandbox": {
36
+ "pages": [
37
+ "sandbox.html"
38
+ ]
39
+ },
40
+ "offscreen": {
41
+ "document": "offscreen.html",
42
+ "reasons": [
43
+ "DOM_PARSER",
44
+ "WORKERS"
45
+ ],
46
+ "justification": "Heavy parsing of reviewed snapshots runs inside an offscreen document worker pool so the service worker stays free; the capability stays optional and user granted, with an inline fallback inside the page."
47
+ },
48
+ "background": {
49
+ "service_worker": "background.js",
50
+ "type": "module"
51
+ },
52
+ "action": {
53
+ "default_title": "Devthink",
54
+ "default_popup": "popup.html",
55
+ "default_icon": {
56
+ "16": "icons/16.png",
57
+ "19": "icons/19.png",
58
+ "32": "icons/32.png",
59
+ "38": "icons/38.png",
60
+ "48": "icons/48.png",
61
+ "128": "icons/128.png"
62
+ }
63
+ },
64
+ "side_panel": {
65
+ "default_path": "sidepanel.html"
66
+ },
67
+ "chrome_url_overrides": {
68
+ "newtab": "dashboardpage.html"
69
+ },
70
+ "options_ui": {
71
+ "page": "optionspage.html",
72
+ "open_in_tab": true
73
+ },
74
+ "browsers": {
75
+ "firefox": {
76
+ "browser": "firefox",
77
+ "browser_specific_settings": {
78
+ "id": "devthink@wenathlan",
79
+ "strict_min_version": "115.0"
80
+ },
81
+ "background": {
82
+ "scripts": [
83
+ "background.js"
84
+ ]
85
+ },
86
+ "action": {
87
+ "default_popup": "popup.html",
88
+ "default_icon": {
89
+ "16": "icons/16.png",
90
+ "19": "icons/19.png",
91
+ "32": "icons/32.png",
92
+ "38": "icons/38.png",
93
+ "48": "icons/48.png",
94
+ "128": "icons/128.png"
95
+ }
96
+ },
97
+ "host_permissions": [],
98
+ "optional_permissions": [
99
+ "tabs",
100
+ "downloads",
101
+ "clipboardRead",
102
+ "clipboardWrite",
103
+ "nativeMessaging"
104
+ ],
105
+ "web_accessible_resources": [
106
+ {
107
+ "resources": [
108
+ "sandbox.html",
109
+ "sidepanel.html",
110
+ "transparencypage.html",
111
+ "dashboardpage.html",
112
+ "optionspage.html"
113
+ ],
114
+ "matches": [
115
+ "<all_urls>"
116
+ ]
117
+ }
118
+ ],
119
+ "content_security_policy": {
120
+ "extension_pages": "script-src 'self'; object-src 'self'; frame-ancestors 'self'"
121
+ }
122
+ },
123
+ "safari": {
124
+ "browser": "safari",
125
+ "browser_specific_settings": {
126
+ "strict_min_version": "14.0"
127
+ },
128
+ "action": {
129
+ "default_popup": "popup.html",
130
+ "default_icon": {
131
+ "16": "icons/16.png",
132
+ "19": "icons/19.png",
133
+ "32": "icons/32.png",
134
+ "38": "icons/38.png",
135
+ "48": "icons/48.png",
136
+ "128": "icons/128.png"
137
+ }
138
+ },
139
+ "host_permissions": [],
140
+ "optional_permissions": [
141
+ "tabs",
142
+ "downloads",
143
+ "clipboardRead",
144
+ "clipboardWrite"
145
+ ],
146
+ "web_accessible_resources": [
147
+ {
148
+ "resources": [
149
+ "sandbox.html",
150
+ "sidepanel.html",
151
+ "transparencypage.html",
152
+ "dashboardpage.html",
153
+ "optionspage.html"
154
+ ],
155
+ "matches": [
156
+ "<all_urls>"
157
+ ]
158
+ }
159
+ ],
160
+ "content_security_policy": {
161
+ "extension_pages": "script-src 'self'; object-src 'self'; frame-ancestors 'self'"
162
+ }
163
+ }
164
+ },
165
+ "vsix": {
166
+ "name": "devthink",
167
+ "displayname": "Devthink",
168
+ "publisher": "wenathlan",
169
+ "description": "Consent-first browser agent bridge: the chatbridge surface and the library inside a vs code webview panel.",
170
+ "engines": {
171
+ "vscode": "^1.85.0"
172
+ },
173
+ "categories": [
174
+ "Other"
175
+ ],
176
+ "main": "./extensionhost.js",
177
+ "commands": [
178
+ {
179
+ "command": "devthink.openbridge",
180
+ "title": "Devthink: open the bridge panel"
181
+ },
182
+ {
183
+ "command": "devthink.settings",
184
+ "title": "Devthink: open the relay settings"
185
+ }
186
+ ],
187
+ "configuration": [
188
+ {
189
+ "key": "devthink.relayurl",
190
+ "default": "",
191
+ "description": "The relay url of your own socket relay; an empty value keeps the webview offline and no url is ever assumed."
192
+ }
193
+ ],
194
+ "telemetry": "off",
195
+ "relayurldefault": "",
196
+ "webview": "webview/bridge.html",
197
+ "relaypath": "/relay"
198
+ }
199
+ }