@wenathlan/extension 2.0.10 → 2.0.12
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/CHANGELOG.md +12 -0
- package/README.md +3 -3
- package/bridge.d.ts +1 -1
- package/bridge.js +2 -2
- package/bun.js +2 -2
- package/caps/background.json +1 -1
- package/caps/cli.json +1 -1
- package/caps/library.json +1 -1
- package/caps/mcp.json +1 -1
- package/caps/pagebridge.json +1 -1
- package/caps/popup.json +1 -1
- package/caps/sidepanel.json +1 -1
- package/checksums.txt +36 -36
- package/cli.js +2 -2
- package/companion.js +2 -2
- package/crossbrowser.js +1 -1
- package/dashdone.js +1 -1
- package/deno.js +2 -2
- package/devthink.umd.js +2 -2
- package/gateway.js +1 -1
- package/hardening.js +1 -1
- package/headless.js +2 -2
- package/http.js +2 -2
- package/index.cjs +2 -2
- package/index.js +2 -2
- package/index.neutral.js +2 -2
- package/manifest.json +1 -1
- package/mcp.js +2 -2
- package/memory.js +1 -1
- package/nativehost.template.json +1 -1
- package/node.cjs +2 -2
- package/pack.js +1 -1
- package/package.json +1 -1
- package/policy.js +2 -2
- package/progress.js +2 -2
- package/protocol.js +2 -2
- package/umd-example.html +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.12
|
|
4
|
+
|
|
5
|
+
This release is the seventh rung of the bug-fix ladder, and it closes the marginal ceiling the 2.0.10 and 2.0.11 container legs caught: the full matrix build test of the library modes family legitimately runs past the five second default on a two vcpu runner — the 2.0.10 amd64 leg failed it at five thousand sixteen milliseconds, a sixteen millisecond overrun of a green test (the same test crossed the same ceiling on the 2.0.9 arm64 leg where the emulated scaling already covered it), so the native ceiling itself was the defect, not the test.
|
|
6
|
+
|
|
7
|
+
The two build-heavy tests of the family now pin their own env-scaled ceilings the same way the vitest config scales the global default: the esm core build reads sixty seconds natively and the whole-matrix build reads one hundred twenty seconds, both reading the same `DEVTHINK_TEST_TIMEOUT_MS` the emulated arm64 container leg exports, so a slow runner or an interpreted leg never fails a test that builds every platform target of the matrix and loads each bundle. The 2.0.11 sanitizer closures, the 2.0.10 emulation ceilings and the 2.0.9 browser flow fixes all ride beneath this rung, and the version stamps 2.0.12 land across the metadata family with the apifreeze artifact re-frozen and the permission baseline recorded.
|
|
8
|
+
|
|
9
|
+
## 2.0.11
|
|
10
|
+
|
|
11
|
+
This release is the sixth rung of the bug-fix ladder, and it closes the two code scanning alerts the re-analysis of the security page surfaced beside the two the 2.0.7 rung already closed: the accessibility sweep script carried a replacement-expression sanitizer pair CodeQL refuses — the script stripper of `withoutscripts` (a `[\s\S]*?` alternation over unterminated blocks) flagged as a bad tag filter, and the inline tag strip of the button name scan (a `<[^>]*>` global replace) flagged as incomplete multi character sanitization. Both strips now walk plain index arithmetic the same linear way the tabular preface scans of the 2.0.7 rung read their markers: the script stripper finds each `<script` opening with its word boundary, walks to the closing tag and cuts the whole block (an unterminated block still strips to the fragment end exactly the documented convention), and the new `striptags` helper cuts every complete tag from the button text while an unterminated angle keeps its literal text the way the match never closed.
|
|
12
|
+
|
|
13
|
+
The behavior stays identical — the sweep answers the same ten of ten checks green over the same built surfaces, the fixtures the strippers read parse to the same fragments, and no test changed — while the code scanning page answers zero open alerts once the analysis of this commit lands: the two polynomial regular expression alerts closed at the 2.0.7 linear scans and these two sanitizer alerts close here. The version stamps 2.0.11 land across the metadata family with the apifreeze artifact re-frozen and the permission baseline recorded, and the ladder rides beneath: the 2.0.9 browser flow fixes and the 2.0.10 emulation ceilings ship in this release.
|
|
14
|
+
|
|
3
15
|
## 2.0.10
|
|
4
16
|
|
|
5
17
|
This release is the fifth rung of the bug-fix ladder, and it closes the container channel the 2.0.8 and 2.0.9 runs could not: the multi platform build the operator demanded (the four arch/os entries of linux/amd64 and linux/arm64 beside the per platform attestation manifests) ran its full validation chain on both legs, and the native amd64 leg went green in seventy four seconds — but the arm64 leg runs interpreted through qemu, and the interpreter answers the same green suite three to ten times slower, so fifteen tests crossed their native ceilings honestly: fourteen hit the five second vitest default timeout (the esbuild bundle builds of the library modes family, the v1 sunset negotiation, the publishing pipeline workflow check and the readiness gate walk) and the tab pattern linearity test crossed its one second performance budget while staying linear — the algorithm held, the emulated second is simply not a native second.
|
package/README.md
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Devthink is a **consent-first browser-agent bridge** distributed as a TypeScript library and a Chromium Manifest V3 extension. It turns a user-provided browser objective into a bounded, reviewable plan. The user must start the active-tab session and approve the plan before any page action reaches the browser.
|
|
4
4
|
|
|
5
|
-
Version: **2.0.
|
|
5
|
+
Version: **2.0.12**. License: **GPL-3.0-only**. The repository is `wenathlan/extension`; the npm-compatible scoped package identifier is `@wenathlan/extension`.
|
|
6
6
|
|
|
7
7
|
**Platform release status:** 2.0.0 is the closing release of the chain from 1.1.31 — the agentic browser platform with the frozen protocolv2 contract, the deprecation window closed (protocol major two only, with the migrateplan bridge and `docs/migrationguide.md` carrying version one assets forward), the example gallery of thirty six runnable recipes (`docs/gallery.md`), the readiness review with the go decision (`docs/readiness.md`) and every candidate gate green with its evidence in `tests/artifacts/`. The library ships on five package channels — npm, maven, nuget, the container image and the rubygems gem. The full chain from 1.1.31 to 2.0.0 lives in `docs/releasenotes.md`.
|
|
8
8
|
|
|
9
9
|
## What it does
|
|
10
10
|
|
|
11
|
-
| Capability | Behavior in 2.0.
|
|
11
|
+
| Capability | Behavior in 2.0.12 |
|
|
12
12
|
| --- | --- |
|
|
13
13
|
| Active-tab session | The user starts a short-lived session for one HTTPS tab and one origin; the session records its origin grants. |
|
|
14
14
|
| Page observation | The extension captures the complete semantic inventory: every interactive element, every form control, every select option and the full page text. |
|
|
@@ -97,7 +97,7 @@ The endpoint field intentionally has no default URL. Enter a URL such as `https:
|
|
|
97
97
|
|
|
98
98
|
```json
|
|
99
99
|
{
|
|
100
|
-
"version": "2.0.
|
|
100
|
+
"version": "2.0.12",
|
|
101
101
|
"objective": "User supplied objective",
|
|
102
102
|
"session": { "id": "uuid", "tabid": 1, "origin": "https://example.com" },
|
|
103
103
|
"observation": { "schemaversion": 3, "url": "https://example.com/path", "interactive": [] },
|
package/bridge.d.ts
CHANGED
|
@@ -428,7 +428,7 @@ import type { jsonrpcframe } from "./types.js";
|
|
|
428
428
|
/** The native bridge protocol major version this build speaks: the handshake reports it, the upgrade path keeps compatibility for exactly one major version, and a host that speaks another major version degrades instead of breaking the run. */
|
|
429
429
|
export declare const nativebridgeprotocolmajor = 1;
|
|
430
430
|
/** The installer version the installer stamps into the install state; the upgrade path compares it so a manifest written by an older installer reports before it overwrites. */
|
|
431
|
-
export declare const nativehostinstallerversion: "2.0.
|
|
431
|
+
export declare const nativehostinstallerversion: "2.0.12";
|
|
432
432
|
/** The generated extension id placeholder the host manifest template carries: the installer replaces the token with the extension id of the installed build, so the template never pins an identity the user did not generate. */
|
|
433
433
|
export declare const nativehostidplaceholder = "__generated_extension_id__";
|
|
434
434
|
/** The native messaging directory name of the chromium user profile: the installer writes the host manifest beside it, never into a system directory without the explicit flag. */
|
package/bridge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
|
|
3
3
|
// version.ts
|
|
4
|
-
var packageversion = "2.0.
|
|
4
|
+
var packageversion = "2.0.12";
|
|
5
5
|
var protocolmajor = 2;
|
|
6
6
|
|
|
7
7
|
// types.ts
|
package/bun.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
|
|
3
3
|
// version.ts
|
|
4
|
-
var packageversion = "2.0.
|
|
4
|
+
var packageversion = "2.0.12";
|
|
5
5
|
var protocolmajor = 2;
|
|
6
6
|
var protocolfloormajor = 2;
|
|
7
7
|
|
package/caps/background.json
CHANGED
package/caps/cli.json
CHANGED
package/caps/library.json
CHANGED
package/caps/mcp.json
CHANGED
package/caps/pagebridge.json
CHANGED
package/caps/popup.json
CHANGED
package/caps/sidepanel.json
CHANGED
package/checksums.txt
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
|
|
1
|
+
1f51fe151a972eb69d6f2d369a634c8143d9499cafdb890693f98cc120c3d828 CHANGELOG.md
|
|
2
2
|
3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 LICENSE
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
591bf87ba456accb62898923b861f34529f1fd6d39a8a56e8a9127114420b8c4 README.md
|
|
4
|
+
cc04fed84d945bd4d8181c8c9a7495ea7fcc50b4bb8c539eb934e96019df2b1b bridge.d.ts
|
|
5
5
|
b94ed5a7b48ce8cc8f2a436d17aab70281711d1d870715dec234d9b9bafacae7 bridge.d.ts.map
|
|
6
|
-
|
|
6
|
+
1dc2a5c74d242ef66b8939a1f88a9220a6d22dd517ad5396a661c39a9715612a bridge.js
|
|
7
7
|
9557339c2c57fb58212c3b90e8e5934ddba56066a2537d645e4cb34439fdc2ff bun.d.ts
|
|
8
8
|
12cf6503feb825b4aa5e86303eef9b1bc7cc99358b16e2821dd6ecc01adf1ea8 bun.d.ts.map
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
ae475b45b0af3e009326038d9f6e12cfb8e976dff98e8cfbac9d8de1d49931ab bun.js
|
|
10
|
+
e02f8c5b0803f29ae5db6c9a19a63447bea1c71553b575e6207ad496a491f37d caps/background.json
|
|
11
|
+
5acd068536c61d1a883de17dead977871b047f363b1f931dd3324b3e376eb07c caps/cli.json
|
|
12
|
+
ae8ac3b7cc5bdc3a68f640ee5a317d746c4bca1c4c26c30e137a5c82e498ccf8 caps/library.json
|
|
13
|
+
d0655d979f2c46a12cc76e77ae181c68f747fe84f10936dbcc64d78120ed7f37 caps/mcp.json
|
|
14
|
+
8909a12eeda0140ccd7882cd63627d5b9434eb0ace81cfa667c1c9557dea73b9 caps/pagebridge.json
|
|
15
|
+
414cb535cd749f7f4c6bef9878a034cd77001f769418bc05856e793ba0bfec29 caps/popup.json
|
|
16
|
+
44313e80422de605a33011310e27d1734bdde2edec3ca546f4ad0fb544111dda caps/sidepanel.json
|
|
17
17
|
e7e6ef1e0354d12e5d81d87d2a99cae14e9f5238ccaecff8a98d8f7923fe6704 cli.d.ts
|
|
18
18
|
9ff853b4bb864c68733d29abc408f79a212994bc72533c9324bf8ea8226b3bf7 cli.d.ts.map
|
|
19
|
-
|
|
19
|
+
efe15e36da794e81c8c9e54470bc0b34be9d3662f04c55e3862a1742ce8d8fcb cli.js
|
|
20
20
|
6d47383663f5efa626bfbc31977bc3df7cfb383725b243ce08057c059234e42f companion.d.ts
|
|
21
21
|
8839691d2e7362e7db2a198c869904ee05ffda66ac8ee30b0bec53f089a6e895 companion.d.ts.map
|
|
22
|
-
|
|
22
|
+
bff84e51fd4ec8fb8a1d4751e2622b22824339207f99432de2e5ea8eca31c153 companion.js
|
|
23
23
|
0798e3f62c739f91718389f379f15abfaad3618607b0d1daabf7b736cdcfe014 crossbrowser.d.ts
|
|
24
24
|
31c6cbef5f64c05662fd9c970e967d4e9afce057d0a0d4925486c3595a009563 crossbrowser.d.ts.map
|
|
25
|
-
|
|
25
|
+
9373c658f04ae59945f7de392735908fe5cbbef4d13bedb064586e32fc171d3c crossbrowser.js
|
|
26
26
|
bc8f0d95430875b0fd8aff5c0744580d3dd07c5a0927aad4f2c54d34b83be016 dashdone.d.ts
|
|
27
27
|
64e8394c9c4c0c1c8810ef8b0a384c2dafc920660f0ff5cce114b4a26b240b12 dashdone.d.ts.map
|
|
28
|
-
|
|
28
|
+
364ef57a943df86a10c35b398ddf6425373ec6a2cafd817811d1d365cb725d85 dashdone.js
|
|
29
29
|
fea8d906a8c3b0608a9ae4b622c0b88c78d535ed151aa9db29922d817c387495 deno.d.ts
|
|
30
30
|
d4ec3fbf41854fa8117b0d68d11429e4a5f547213e79ee0e514aca9324aee80a deno.d.ts.map
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
bd641ce9959274755f0c7aef3f3057c3d7fdba7ae155cf9ba3a50bbcf19530d4 deno.js
|
|
32
|
+
176a695ccfb7ea04ae492ace8efc395e512bcb6af65982e571be190e7ee456fa devthink.umd.js
|
|
33
33
|
d8b6d1f6446da72d359dae978c5495244257dc70660415f8aaad96dd5075e241 fixtures/bun.ts
|
|
34
34
|
702c21459e5d6d8d0b914a86bb6c3646a0be40e132b2d40cc04f2994cfbd1cf3 fixtures/cjs.js
|
|
35
35
|
6bd268717a28a23405e5200264d47bb68aaf9c0d6d911674eaa22477bf19d003 fixtures/deno.ts
|
|
@@ -87,45 +87,45 @@ c93c417dbf3a43736845e653598624ee48e79f69bf93d36e3b19655e0a23b792 fixtures/recip
|
|
|
87
87
|
6b757866f79c4a16098879f7cfffdb85557b7fb6ca4ec7b1c0cd1d1169c3e3c0 gallery.json
|
|
88
88
|
04ce1093ffee4722c8af9a71368ea78d20084473f13fedcf5815c0bc92aca53f gateway.d.ts
|
|
89
89
|
a1556096ab4ea705fdc92c6f223541c61fded19137cb5b02eb653066cefafa75 gateway.d.ts.map
|
|
90
|
-
|
|
90
|
+
a898e7f16ec7448edad60dd8d625f4e74a9f0fdb2be0121c8a68df0fafa43e97 gateway.js
|
|
91
91
|
16f6a0cdd78820a257d0fbb501784ed031dcffcdc4b9841d5279c8273e3776f4 hardening.d.ts
|
|
92
92
|
20c2435cd499f265e70881c868456950ca49ce52183dbf2412ba39be2ac843e1 hardening.d.ts.map
|
|
93
|
-
|
|
93
|
+
ee5ba900f79220e5bf040803d6d47a1fd7c44649a45e3902eea98cae26b210b5 hardening.js
|
|
94
94
|
2e560159a8c3b121c91d83545e0dcfa03b79399ed052bc23a425b2d355839362 headless.d.ts
|
|
95
95
|
0f695301ed2f81fed8c065eafd351f3d966ea29426f6e55fbdd4f5069ffcb9b0 headless.d.ts.map
|
|
96
|
-
|
|
96
|
+
3fad9f0ed0dda56bcfaae270913eb99ae922125a4124892330a3236bd07b288f headless.js
|
|
97
97
|
47d12b5bc91b84aa1be9910d7e64626d89471c8bc314a1aae5186cc1242067fd http.d.ts
|
|
98
98
|
26384b12778283537a8f9987fdf67fae1709ac169eebf15cd697cb52fd08dbdc http.d.ts.map
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
e25a1670d553248e8ab22303c5ab53fc96ece8fa5d725db2430e6220915ce879 http.js
|
|
100
|
+
a0a5ea22d2b2a8f8f74c988556af498cd3a99a9ef40a2520020be0a09bb060fa index.cjs
|
|
101
101
|
f2bfcb6fe460d8f6ad0c41369088bf844c052ac360f90661c4dbbea126294e72 index.d.ts
|
|
102
102
|
c58e5c80f63f974fd5c9c91ce053bb156709fc94cd845757bf63b5ce9460f44a index.d.ts.map
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
6af9c74f4cbb7e7c0e2de903557e7bf4f4fb0266e3987e8947a1c67d8981f8e4 index.js
|
|
104
|
+
3ae8ee6d34f361c38d6ece36f974913649933abc470b4a3c60a45b85f445edb9 index.neutral.js
|
|
105
|
+
548682b94bca1f2caade67d507a0a0e92d9b7c609dc8b5100820109efea6c664 manifest.json
|
|
106
106
|
4a4a38d5c2f25f6e33d7fea853a074d4c82dfe5c721506ca4636b1d65c130f10 mcp.d.ts
|
|
107
107
|
f6a3dca29e7520472f5fda98a14e9c2abe4fc25515158cda196d455534236f50 mcp.d.ts.map
|
|
108
|
-
|
|
108
|
+
a49e9b323858b572a11d14d5414d84c75eccbe2b0c9a5a5e065e213fd2bbc5df mcp.js
|
|
109
109
|
ce98408283eccac2d435ac0e0ceb6bb5456e1eb70edb03a03e347a9f82f99c69 memory.d.ts
|
|
110
110
|
11e58fde47bb2b5bcbbb2e8a7ac4d793f661f006f9ad3b0b58b6e26b2c0ab80d memory.d.ts.map
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
08773eee15061a3ee8f6d0cdd07f276dba185e9154a9a8095d3a5120cb217d64 memory.js
|
|
112
|
+
bb79fb4329812161aef851927c3fc5d6c319ec8b8145aa60253bea9861614c5f nativehost.template.json
|
|
113
|
+
33ec24d70b2c4c965ce5328f1ded1acff23cdd9b94983edf7c349e7b2b5bb186 node.cjs
|
|
114
114
|
705d895c58fe6816958f0fed4bef0a6f79e5fc521ab49d9cf83e0fbcd9d71afe node.d.ts
|
|
115
115
|
36b9946ee17e28ccbd83b7260bf0e26031261b268eeb2ff8a0e8784840712a00 node.d.ts.map
|
|
116
116
|
c40cdda184911cd77067737bbc91295de77535d09970dd540eeeacac2fbc33d9 pack.d.ts
|
|
117
117
|
ddd8f8ca5410b77ce699ca52560c7a3ab4beabc88ae37e1f6c8d9ab8a5f6697b pack.d.ts.map
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
b43324db57a1ff7f1f444f38b4f6c1915fbac27f27eaf9601b5b7c515cbcad0e pack.js
|
|
119
|
+
304782692e280dd89d30acc697dbbb6288eee947671704df1a12172cbe8fa33f package.json
|
|
120
120
|
e3a2ed944a0bc1ef4943ee250a57e428ce49d781d30de6072571e0bc5d8c0259 policy.d.ts
|
|
121
121
|
bf6531ec1b14a79cd95bddca0933208570157b0ddc514a6692c0a96734de9efa policy.d.ts.map
|
|
122
|
-
|
|
122
|
+
01100507bfde282d8f860d3730c64840d4211ba647bf4a67eb6c8b5c58bd8228 policy.js
|
|
123
123
|
ea621ab35e610fbe8acb8e91f21ed2c74a6b20bba537c5982f31458d6878b90b progress.d.ts
|
|
124
124
|
a8638ca8a7376ef42055b934f3ce865c740a26b06c417445005c1f15ebe66eb5 progress.d.ts.map
|
|
125
|
-
|
|
125
|
+
fa6ee2025695e878fefd45a4beed419e5e2d4007215c67e152332e8d8afad901 progress.js
|
|
126
126
|
d2e54016f0cad51928752882d780066ccf2267d383deb2407ea7b2f97dfd26e7 protocol.d.ts
|
|
127
127
|
7185f297b17b448828568d7d6fdfb81efe9c961f692fd2375a3d0e457f69cb77 protocol.d.ts.map
|
|
128
|
-
|
|
128
|
+
eb7dbcbf325972d3313a5f0ed8de9a53b48ab3107606dadd106f5b22ad6465b7 protocol.js
|
|
129
129
|
456c4a26fd65c728f2dcb9e615ec6e4d446d7e4228bfa3f70ce2b17ee3d6a2c2 schemas/audit.schema.json
|
|
130
130
|
ea272aa6bf4df585ae1ca8ca63e36d7ec713c46187f37ed86ff3620a0e8509b2 schemas/capability.schema.json
|
|
131
131
|
6e9d2291dc54f7d01463e5f70c8f0793d952a63f4096d61ee4dbc4bfd6f6b0a0 schemas/envelope.schema.json
|
|
@@ -136,7 +136,7 @@ a02073c153d1248638fa3cbb5f0749534382cf262d09671018cdfc538ae74430 schemas/progre
|
|
|
136
136
|
8e104f945a846463c1020cbed21c655f233a943d6e2a18c88b37c7ab56b86de1 schemas/proposal.schema.json
|
|
137
137
|
d0e0365a7641c0127338c14a5318c4591dc598b7d2a36b7b2944219921d1ce4e schemas/session.schema.json
|
|
138
138
|
5bb7d16534b52ca3a7171178065fb7b283947accd1b616ce89e330eb7a91b82e schemas/tool.schema.json
|
|
139
|
-
|
|
139
|
+
72aabbe960bcad5b75cb668329b6a11ba53525fe51cad2e444c7cf3d8de87e32 umd-example.html
|
|
140
140
|
16f66af22e038e4f9328420a0ed0ee34145ca79c938940e8c2e6d232e25a7c09 umd.d.ts
|
|
141
141
|
ac25f7481155ac9321c5a657e7c4a53570bee8b3f63fe3527045260523a494c8 umd.d.ts.map
|
|
142
142
|
58e21373cec5ade3e6698da5b36ecc2bf7e7e2f755c6fb5e3a6605b535b93985 manifest.json key
|
package/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
/*! devthink 2.0.
|
|
2
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
3
3
|
|
|
4
4
|
// cli.ts
|
|
5
5
|
import { createInterface } from "node:readline/promises";
|
|
@@ -248,7 +248,7 @@ function endcall(input) {
|
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
// version.ts
|
|
251
|
-
var packageversion = "2.0.
|
|
251
|
+
var packageversion = "2.0.12";
|
|
252
252
|
var protocolmajor = 2;
|
|
253
253
|
var protocolfloormajor = 2;
|
|
254
254
|
|
package/companion.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 companion — the optional native host of the native bridge — GPL-3.0-only — built with plain node, no native compiler */
|
|
2
2
|
|
|
3
3
|
// companion.ts
|
|
4
4
|
import { createHash, randomBytes } from "node:crypto";
|
|
@@ -16,7 +16,7 @@ var nativehosttemplatejson = `{
|
|
|
16
16
|
"devthinkBanner": "devthink __devthink_version__ native host manifest template \u2014 GPL-3.0-only \u2014 the chromium host manifest of the optional companion process"
|
|
17
17
|
}
|
|
18
18
|
`;
|
|
19
|
-
var companionbuild = "2.0.
|
|
19
|
+
var companionbuild = "2.0.12";
|
|
20
20
|
var companionprotocol = 1;
|
|
21
21
|
var companionsurfaces = ["osdialog", "notification"];
|
|
22
22
|
var maxnativemessage = 1024 * 1024;
|
package/crossbrowser.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
|
|
3
3
|
// crossbrowser.ts
|
|
4
4
|
var browserpolyfillflags = ["sidepanel", "scripting", "storage.session", "tabs.executeScript", "notifications", "contextMenus", "clipboard", "downloads", "runtime.messaging", "runtime.geturl"];
|
package/dashdone.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
|
|
3
3
|
// dashdone.ts
|
|
4
4
|
function dashboardviewerof(input) {
|
package/deno.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
|
|
3
3
|
// version.ts
|
|
4
|
-
var packageversion = "2.0.
|
|
4
|
+
var packageversion = "2.0.12";
|
|
5
5
|
var protocolmajor = 2;
|
|
6
6
|
var protocolfloormajor = 2;
|
|
7
7
|
|
package/devthink.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
(function (root, factory) {
|
|
3
3
|
if (typeof define === "function" && define.amd) { define([], factory); }
|
|
4
4
|
else if (typeof module === "object" && module.exports) { module.exports = factory(); }
|
|
@@ -2365,7 +2365,7 @@ __export(umd_exports, {
|
|
|
2365
2365
|
module.exports = __toCommonJS(umd_exports);
|
|
2366
2366
|
|
|
2367
2367
|
// version.ts
|
|
2368
|
-
var packageversion = "2.0.
|
|
2368
|
+
var packageversion = "2.0.12";
|
|
2369
2369
|
var protocolmajor = 2;
|
|
2370
2370
|
var protocolfloormajor = 2;
|
|
2371
2371
|
|
package/gateway.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
|
|
3
3
|
// auth.ts
|
|
4
4
|
function urlencodeform(fields) {
|
package/hardening.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
|
|
3
3
|
// security.ts
|
|
4
4
|
var maskmarker = "[redacted]";
|
package/headless.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
|
|
3
3
|
// version.ts
|
|
4
|
-
var packageversion = "2.0.
|
|
4
|
+
var packageversion = "2.0.12";
|
|
5
5
|
var protocolmajor = 2;
|
|
6
6
|
|
|
7
7
|
// runtime.ts
|
package/http.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
|
|
3
3
|
// version.ts
|
|
4
|
-
var packageversion = "2.0.
|
|
4
|
+
var packageversion = "2.0.12";
|
|
5
5
|
var protocolmajor = 2;
|
|
6
6
|
|
|
7
7
|
// types.ts
|
package/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -2356,7 +2356,7 @@ __export(cjs_exports, {
|
|
|
2356
2356
|
module.exports = __toCommonJS(cjs_exports);
|
|
2357
2357
|
|
|
2358
2358
|
// version.ts
|
|
2359
|
-
var packageversion = "2.0.
|
|
2359
|
+
var packageversion = "2.0.12";
|
|
2360
2360
|
var protocolmajor = 2;
|
|
2361
2361
|
var protocolfloormajor = 2;
|
|
2362
2362
|
|
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
|
|
3
3
|
// version.ts
|
|
4
|
-
var packageversion = "2.0.
|
|
4
|
+
var packageversion = "2.0.12";
|
|
5
5
|
var protocolmajor = 2;
|
|
6
6
|
var protocolfloormajor = 2;
|
|
7
7
|
|
package/index.neutral.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
|
|
3
3
|
// debug.ts
|
|
4
4
|
var cdpkinds = ["attachcdp", "detachcdp", "cdpcmd", "watchcdp", "setbreakpoint", "stepcode", "watchexpr", "overridescript"];
|
|
@@ -1284,7 +1284,7 @@ function sessionbundleof(input) {
|
|
|
1284
1284
|
}
|
|
1285
1285
|
|
|
1286
1286
|
// version.ts
|
|
1287
|
-
var packageversion = "2.0.
|
|
1287
|
+
var packageversion = "2.0.12";
|
|
1288
1288
|
var protocolmajor = 2;
|
|
1289
1289
|
var protocolfloormajor = 2;
|
|
1290
1290
|
|
package/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"manifest_version": 3,
|
|
3
3
|
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnOEjO8Z0PDgQyfvawGcaO2j+o0GLCFTLNj7TkYC/Avo9l2NenMRq7gp90Nfd7E9MViv/OMcCKSYZ5unv12QPRtv31C+a5UQWDFAOP/cH5mwMd6hsayElrSoW8ta+FwFqmr9dIFkn7cQEU3YhZr4Gcbs+ycUHOxVgDA4NBKB0rQ6e9VW5LvTw0isRYUrqM+M72vKxHk9zUIYYn/LGPvottKBYi2GLr0PHSeC2UE+Shmq7vcFIXj6hDjvD4kLJ5sKoUllEcZ1TPuBcnHUQ9ndKA5iktXDQOIJCUJmi7a0YJ2PGg7fvpYfT9k0ai/qZ+pIoRfoOEwE01bPoDn7NjeYnNQIDAQAB",
|
|
4
4
|
"name": "Devthink",
|
|
5
|
-
"version": "2.0.
|
|
5
|
+
"version": "2.0.12",
|
|
6
6
|
"description": "A consent-first bridge for reviewed browser-agent tasks.",
|
|
7
7
|
"icons": {
|
|
8
8
|
"16": "icons/16.png",
|
package/mcp.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
|
|
3
3
|
// version.ts
|
|
4
|
-
var packageversion = "2.0.
|
|
4
|
+
var packageversion = "2.0.12";
|
|
5
5
|
var protocolmajor = 2;
|
|
6
6
|
var protocolfloormajor = 2;
|
|
7
7
|
|
package/memory.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
|
|
3
3
|
// debug.ts
|
|
4
4
|
function expireprofilerecords(input) {
|
package/nativehost.template.json
CHANGED
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
"allowed_origins": [
|
|
7
7
|
"chrome-extension://__generated_extension_id__/"
|
|
8
8
|
],
|
|
9
|
-
"devthinkBanner": "devthink 2.0.
|
|
9
|
+
"devthinkBanner": "devthink 2.0.12 native host manifest template — GPL-3.0-only — the chromium host manifest of the optional companion process"
|
|
10
10
|
}
|
package/node.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -2357,7 +2357,7 @@ __export(node_exports, {
|
|
|
2357
2357
|
module.exports = __toCommonJS(node_exports);
|
|
2358
2358
|
|
|
2359
2359
|
// version.ts
|
|
2360
|
-
var packageversion = "2.0.
|
|
2360
|
+
var packageversion = "2.0.12";
|
|
2361
2361
|
var protocolmajor = 2;
|
|
2362
2362
|
var protocolfloormajor = 2;
|
|
2363
2363
|
|
package/pack.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
|
|
3
3
|
// pack.ts
|
|
4
4
|
function artifactchannels() {
|
package/package.json
CHANGED
package/policy.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
|
|
3
3
|
// debug.ts
|
|
4
4
|
var cdpdomains = ["Runtime", "Log", "Debugger", "DOM", "Network", "Page"];
|
|
@@ -316,7 +316,7 @@ function sessionrecordvalid(value) {
|
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
// version.ts
|
|
319
|
-
var packageversion = "2.0.
|
|
319
|
+
var packageversion = "2.0.12";
|
|
320
320
|
var protocolmajor = 2;
|
|
321
321
|
var protocolfloormajor = 2;
|
|
322
322
|
|
package/progress.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
|
|
3
3
|
// version.ts
|
|
4
|
-
var packageversion = "2.0.
|
|
4
|
+
var packageversion = "2.0.12";
|
|
5
5
|
var protocolmajor = 2;
|
|
6
6
|
|
|
7
7
|
// progress.ts
|
package/protocol.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.12 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/extension */
|
|
2
2
|
|
|
3
3
|
// debug.ts
|
|
4
4
|
var cdpdomains = ["Runtime", "Log", "Debugger", "DOM", "Network", "Page"];
|
|
@@ -987,7 +987,7 @@ function cronvalue(value, min, max, names) {
|
|
|
987
987
|
}
|
|
988
988
|
|
|
989
989
|
// version.ts
|
|
990
|
-
var packageversion = "2.0.
|
|
990
|
+
var packageversion = "2.0.12";
|
|
991
991
|
var protocolmajor = 2;
|
|
992
992
|
|
|
993
993
|
// types.ts
|
package/umd-example.html
CHANGED