@wenathlan/devthink 2.0.134 → 2.0.135
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 +4 -0
- 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 +35 -35
- 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/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 +2 -1
- package/policy.js +2 -2
- package/progress.js +2 -2
- package/protocol.js +2 -2
- package/server.js +70 -9
- package/umd-example.html +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# DevThink release notes
|
|
2
2
|
|
|
3
|
+
## 2.0.135
|
|
4
|
+
|
|
5
|
+
This release is the workflow recovery rung of the ladder: the ci battery, the verify gate ladder, the pages deploy, the security scans and the publish lanes all answer green again after the roots healed — the vitest dialect of the zindex guard, the release artifacts regenerated at the current version, the operational reference documents restored from the overbroad purge, the supply chain age gate admitting the fresh security fixes, the override law reaching the pnpm workspaces beside the manifests, the lint debt of the harvest scripts cleared, and the publish install neutralizing the registry redirect the setup leaves in the home npmrc.
|
|
6
|
+
|
|
3
7
|
## 2.0.134
|
|
4
8
|
|
|
5
9
|
This release is the automated maintenance rung of the ladder: the DevThink maintenance workflow applied every non-breaking update available at run time — the npm dependency set, the engine recommendations and the versioned GitHub Actions references — derived the next patch number with plain arithmetic over package.json (2.0.133 plus one rung), stamped it across the whole metadata family, re-froze the apifreeze artifact, recorded the permission baseline and regenerated the release metadata before the pull request below ran the complete verification pipeline. The updates of this rung: - "@opencode-ai/sdk": "^1.19.3",
|
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.135";
|
|
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.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
2
2
|
|
|
3
3
|
// version.ts
|
|
4
|
-
var packageversion = "2.0.
|
|
4
|
+
var packageversion = "2.0.135";
|
|
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.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
2
2
|
|
|
3
3
|
// version.ts
|
|
4
|
-
var packageversion = "2.0.
|
|
4
|
+
var packageversion = "2.0.135";
|
|
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,34 +1,34 @@
|
|
|
1
|
-
|
|
1
|
+
bfa2686d9495f132651d4fec59dd8b5105cb26553ca1f2cc341c3ab3d8707775 CHANGELOG.md
|
|
2
2
|
9dfe38a3b873d150550355596958cc83eb440c6e8ac2e4038dfc5609fc0f8f82 README.md
|
|
3
|
-
|
|
3
|
+
2a71b3c696f03b3f4ae9c8907dc2c6cb6dcd15dd82ebde696e4d49c6fc885cdb bridge.d.ts
|
|
4
4
|
e54c2df84438ff3d256a8ea628b5aa755e6fc8e7d6d754502f7e38142d273cf3 bridge.d.ts.map
|
|
5
|
-
|
|
5
|
+
17bf2688070ec7d3505508a4f23b1999a50f95b161b69eb6b32a392af87f6191 bridge.js
|
|
6
6
|
9557339c2c57fb58212c3b90e8e5934ddba56066a2537d645e4cb34439fdc2ff bun.d.ts
|
|
7
7
|
601a75f547bb845b8a81fa59a21d560691561eb17d598acb3fd1f4ac8421e424 bun.d.ts.map
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
bf117e75005822181070aa1763c45307b7922a20ab46b2d0981265ae3a5e89f8 bun.js
|
|
9
|
+
968573fad237b1ea4baa3de59bd5e20f356ea7d7501136958e08c94a5d2b9483 caps/background.json
|
|
10
|
+
70c8dbc8732c7850fcd5e43a14cb65d4c054d7a070645c81ecc6987a69363ccc caps/cli.json
|
|
11
|
+
7c4d905c065012b6ea5745aa6586826929fd0bed2dd2d2b055e6a29492ecc834 caps/library.json
|
|
12
|
+
26aac9e30b2cd3a67db418a2d24e228d6f29d5a27d58ef22f44c08a12f5dd9d2 caps/mcp.json
|
|
13
|
+
915cac914839ef4e648e3b5dc63a18c2cb2997f2db124c5ad18f2ec76669a258 caps/pagebridge.json
|
|
14
|
+
24929d4ba0817e65f798cb331de75cd509d8a2732b151e0bf407f5350ebe5b4b caps/popup.json
|
|
15
|
+
1a76961dd93936980f657921b9c248801c8d3eadc17ca8da8e13caa4e17a902a caps/sidepanel.json
|
|
16
16
|
d35d001526d77c8f37371a39146587ea6ad86179167d82862284557adcd70f17 cli.d.ts
|
|
17
17
|
f7bb3e1903702366effe6c081837b1060c26479740a808f11e0a08ea85e849c9 cli.d.ts.map
|
|
18
|
-
|
|
18
|
+
81de5b8168446676917324ca0e4eb3bd7ff0c51f19537083f5ba148bcb89fe4e cli.js
|
|
19
19
|
6d47383663f5efa626bfbc31977bc3df7cfb383725b243ce08057c059234e42f companion.d.ts
|
|
20
20
|
df25256c8176fc547298c2fb5666bcbf0f01bec284a0dc94f66350f6c29a38be companion.d.ts.map
|
|
21
|
-
|
|
21
|
+
75e4648f56d7563cb7c8dcb1e36d6c860a3fc10ae394b8c0c2d6655e99aa90d2 companion.js
|
|
22
22
|
85824f4b1603769f1c117b524925f05a42d37f2bcb41e9d4d377e5408615721f crossbrowser.d.ts
|
|
23
23
|
a7c4cd26ce8402a9ec1d11bd8dab4222d3c73a0e6f84915402c2fd60f8282d95 crossbrowser.d.ts.map
|
|
24
|
-
|
|
24
|
+
504b4653f589c9eb84656cc9c5cd0f2897dc2b9c7c0f6bafb49f7a598b38712a crossbrowser.js
|
|
25
25
|
bc8f0d95430875b0fd8aff5c0744580d3dd07c5a0927aad4f2c54d34b83be016 dashdone.d.ts
|
|
26
26
|
4d7e32ac75985463dd38a5c408e154276c902c1a1a9ba032d610bffc2b89eee5 dashdone.d.ts.map
|
|
27
|
-
|
|
27
|
+
a76a641edf7c822bb5bd94ba2680412463922a925f88f81668bd246063e9769f dashdone.js
|
|
28
28
|
fea8d906a8c3b0608a9ae4b622c0b88c78d535ed151aa9db29922d817c387495 deno.d.ts
|
|
29
29
|
3b07bf585688565ff818934d7d38f26c0188fcaf44ddbc8727ad3c76999b826c deno.d.ts.map
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
0947a36d8add8b5d37a416d46247570ed558f3d96d241259cadd0016049548c2 deno.js
|
|
31
|
+
80be59211d07fd4df809f58dd1959909d358618333a2cbc133f732ae27f1a789 devthink.umd.js
|
|
32
32
|
d8b6d1f6446da72d359dae978c5495244257dc70660415f8aaad96dd5075e241 fixtures/bun.ts
|
|
33
33
|
702c21459e5d6d8d0b914a86bb6c3646a0be40e132b2d40cc04f2994cfbd1cf3 fixtures/cjs.js
|
|
34
34
|
6bd268717a28a23405e5200264d47bb68aaf9c0d6d911674eaa22477bf19d003 fixtures/deno.ts
|
|
@@ -86,42 +86,42 @@ c93c417dbf3a43736845e653598624ee48e79f69bf93d36e3b19655e0a23b792 fixtures/recip
|
|
|
86
86
|
6b757866f79c4a16098879f7cfffdb85557b7fb6ca4ec7b1c0cd1d1169c3e3c0 gallery.json
|
|
87
87
|
16f6a0cdd78820a257d0fbb501784ed031dcffcdc4b9841d5279c8273e3776f4 hardening.d.ts
|
|
88
88
|
eb153f3fa619ca8f59dd8abb598f33213a98026392854a32a7c305a73688bc95 hardening.d.ts.map
|
|
89
|
-
|
|
89
|
+
0b482edb0560e6234fc467d163316108abe6bfbebf4e4bff7cd769f7ff1defce hardening.js
|
|
90
90
|
2e560159a8c3b121c91d83545e0dcfa03b79399ed052bc23a425b2d355839362 headless.d.ts
|
|
91
91
|
f6a7bced8d6b26f05ca971e70aaa177b8be9fb5a7e25a17ab5f2235a8f9ed590 headless.d.ts.map
|
|
92
|
-
|
|
92
|
+
f53b7b51508a1bb790050e72aa25ebcb7e134c4f41fa9312deb094fb6a88c602 headless.js
|
|
93
93
|
7aed8c110caffd11caf27d63b993ad71328851905f4faeea2a8e1442eba8e257 http.d.ts
|
|
94
94
|
b1ab1184756d92fb301a71d5a696ed4cd70bb4953f292002f01930c9e4893024 http.d.ts.map
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
0a8cf8adaecb45aa62daf2fe61d9bab636538c824344481b6e6e90e738541a9e http.js
|
|
96
|
+
f251626a420e847315ad46c5523ccd508d754f4efb5dcc732d93b50d72b42804 index.cjs
|
|
97
97
|
31b2f3e15bb0b8cbef623b438f01bb8424909686424a98dd88366412d063d7ed index.d.ts
|
|
98
98
|
9398106d8b2277fb1c40892eff062a8cc8e605837d01f191fb783517367860fc index.d.ts.map
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
79128f33c6576c75a784d05cd0b87b55612242795340601c4d3ff9aebc811175 index.js
|
|
100
|
+
1556d5553edd367623ba55a51c7342bd1fc924e4d0bafa8d129f13b42df887b2 index.neutral.js
|
|
101
|
+
5c04421106806af1915e946c4e14e83b090aef75840bc224104ee4701a657a10 manifest.json
|
|
102
102
|
4a4a38d5c2f25f6e33d7fea853a074d4c82dfe5c721506ca4636b1d65c130f10 mcp.d.ts
|
|
103
103
|
dd22f998da99d77485e863c4e7f1f906bb46dc03ee500efe99a5c09a935f4539 mcp.d.ts.map
|
|
104
|
-
|
|
104
|
+
197acecf1bc98720d3edfb2337ce97536b2de2049870bb796dcabe9768c560b2 mcp.js
|
|
105
105
|
ce98408283eccac2d435ac0e0ceb6bb5456e1eb70edb03a03e347a9f82f99c69 memory.d.ts
|
|
106
106
|
9f4c19494bb1b2260a4d15c4c2dce4d2b3f5da96f07b8fbe9037f9b5fe31c8e1 memory.d.ts.map
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
2f2192fda059d99e7a2a00001447ed97ae2991d6897421b4ee4fc8b3a39a4095 memory.js
|
|
108
|
+
c85c3ac3c8c7a944c2b627c016e9307e90921c09e62fe8c80f2e33fd663a6419 nativehost.template.json
|
|
109
|
+
dc50bb1878113512645329b6b911432085911698206b23cb6c513596a1f69eed node.cjs
|
|
110
110
|
705d895c58fe6816958f0fed4bef0a6f79e5fc521ab49d9cf83e0fbcd9d71afe node.d.ts
|
|
111
111
|
45f4394eca20fc889fe1128059ce20130d26a5ae0d89008a7ca93f0e4d52841b node.d.ts.map
|
|
112
112
|
5ec83bc409bed888ae13ab55d1f329ac630a3cf2f0db0e2414c28324329c055b pack.d.ts
|
|
113
113
|
619d43a5239d770c3382af3dd57e2588dd067ded81ca8c106d404e6709324a63 pack.d.ts.map
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
b236f7592fc0fa0f6da8d375d9c0ee559374c7f3eb4975e4833547ba9a45e329 pack.js
|
|
115
|
+
a518ac414460398d520016bf628b14a94346527339c2ba1933b67e212046b5de package.json
|
|
116
116
|
e3a2ed944a0bc1ef4943ee250a57e428ce49d781d30de6072571e0bc5d8c0259 policy.d.ts
|
|
117
117
|
8f4fabc57c883e12ac7c7ab280749dc7c2d402c4fce401bef235c5e451b6975a policy.d.ts.map
|
|
118
|
-
|
|
118
|
+
d570e991122d72f763cdcd3e77927a9ce23daf6ee3a505d00f4fa8d683495b3d policy.js
|
|
119
119
|
ea621ab35e610fbe8acb8e91f21ed2c74a6b20bba537c5982f31458d6878b90b progress.d.ts
|
|
120
120
|
33383e690d77faf6f5959846839603079e7f90e1e3dd17cbcc9a4e3fcf1c5641 progress.d.ts.map
|
|
121
|
-
|
|
121
|
+
be094b321a6c6fd849085da233485f6aaedfb93379d0667032e6673f702074cb progress.js
|
|
122
122
|
d2e54016f0cad51928752882d780066ccf2267d383deb2407ea7b2f97dfd26e7 protocol.d.ts
|
|
123
123
|
487f8fc63061cb26cbda7f122409d9952810ba3a76b19d147c98d151d4f45d64 protocol.d.ts.map
|
|
124
|
-
|
|
124
|
+
88384bfb21ed50957bbb840fc752b27a62c15661bcc4224f968f26c88bb188ca protocol.js
|
|
125
125
|
456c4a26fd65c728f2dcb9e615ec6e4d446d7e4228bfa3f70ce2b17ee3d6a2c2 schemas/audit.schema.json
|
|
126
126
|
ea272aa6bf4df585ae1ca8ca63e36d7ec713c46187f37ed86ff3620a0e8509b2 schemas/capability.schema.json
|
|
127
127
|
6e9d2291dc54f7d01463e5f70c8f0793d952a63f4096d61ee4dbc4bfd6f6b0a0 schemas/envelope.schema.json
|
|
@@ -134,8 +134,8 @@ d0e0365a7641c0127338c14a5318c4591dc598b7d2a36b7b2944219921d1ce4e schemas/sessio
|
|
|
134
134
|
5bb7d16534b52ca3a7171178065fb7b283947accd1b616ce89e330eb7a91b82e schemas/tool.schema.json
|
|
135
135
|
3154e5535045f39fa876a2d0df15ff55421ff1fde1abf41aceccf05f0ad699c7 server.d.ts
|
|
136
136
|
4ffc290d618a91b173b1343d8ae15f0d18fdd4a31b30f4727c0002ec4006ffb0 server.d.ts.map
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
af00233b87c15ac3f40f2409dc97d1fa1f5d4316d336dbdbd31fe22f1256509c server.js
|
|
138
|
+
5c177ad9e8d6b32e79f4991a79b2243f0abb381d6a8f7b9578492105cc2b417f umd-example.html
|
|
139
139
|
16f66af22e038e4f9328420a0ed0ee34145ca79c938940e8c2e6d232e25a7c09 umd.d.ts
|
|
140
140
|
ac25f7481155ac9321c5a657e7c4a53570bee8b3f63fe3527045260523a494c8 umd.d.ts.map
|
|
141
141
|
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.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
3
3
|
|
|
4
4
|
// cli.ts
|
|
5
5
|
import { createInterface } from "node:readline/promises";
|
|
@@ -569,7 +569,7 @@ function endcall(input) {
|
|
|
569
569
|
}
|
|
570
570
|
|
|
571
571
|
// version.ts
|
|
572
|
-
var packageversion = "2.0.
|
|
572
|
+
var packageversion = "2.0.135";
|
|
573
573
|
var protocolmajor = 2;
|
|
574
574
|
var protocolfloormajor = 2;
|
|
575
575
|
|
package/companion.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.135 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.135";
|
|
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.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
2
2
|
|
|
3
3
|
// crossbrowser.ts
|
|
4
4
|
var browserpolyfillflags = [
|
package/dashdone.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
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.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
2
2
|
|
|
3
3
|
// version.ts
|
|
4
|
-
var packageversion = "2.0.
|
|
4
|
+
var packageversion = "2.0.135";
|
|
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.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
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.135";
|
|
2369
2369
|
var protocolmajor = 2;
|
|
2370
2370
|
var protocolfloormajor = 2;
|
|
2371
2371
|
|
package/hardening.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
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.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
2
2
|
|
|
3
3
|
// version.ts
|
|
4
|
-
var packageversion = "2.0.
|
|
4
|
+
var packageversion = "2.0.135";
|
|
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.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
2
2
|
|
|
3
3
|
// version.ts
|
|
4
|
-
var packageversion = "2.0.
|
|
4
|
+
var packageversion = "2.0.135";
|
|
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.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
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.135";
|
|
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.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
2
2
|
|
|
3
3
|
// version.ts
|
|
4
|
-
var packageversion = "2.0.
|
|
4
|
+
var packageversion = "2.0.135";
|
|
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.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
2
2
|
|
|
3
3
|
// debug.ts
|
|
4
4
|
var cdpkinds = [
|
|
@@ -2010,7 +2010,7 @@ function sessionbundleof(input) {
|
|
|
2010
2010
|
}
|
|
2011
2011
|
|
|
2012
2012
|
// version.ts
|
|
2013
|
-
var packageversion = "2.0.
|
|
2013
|
+
var packageversion = "2.0.135";
|
|
2014
2014
|
var protocolmajor = 2;
|
|
2015
2015
|
var protocolfloormajor = 2;
|
|
2016
2016
|
|
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.135",
|
|
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.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
2
2
|
|
|
3
3
|
// version.ts
|
|
4
|
-
var packageversion = "2.0.
|
|
4
|
+
var packageversion = "2.0.135";
|
|
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.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
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.135 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.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
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.135";
|
|
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.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
2
2
|
|
|
3
3
|
// pack.ts
|
|
4
4
|
function artifactchannels() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wenathlan/devthink",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.135",
|
|
4
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
5
|
"type": "module",
|
|
6
6
|
"license": "GPL-3.0-only",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"@wenathlan/saddle": "^2.1.6",
|
|
33
33
|
"hono": "^4.13.13",
|
|
34
34
|
"ink": "^7.1.1",
|
|
35
|
+
"motion": "^12.43.0",
|
|
35
36
|
"react": "^19.3.1",
|
|
36
37
|
"react-devtools-core": "^8.0.0",
|
|
37
38
|
"z-ai-web-dev-sdk": "^0.0.18"
|
package/policy.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
2
2
|
|
|
3
3
|
// debug.ts
|
|
4
4
|
var cdpdomains = ["Runtime", "Log", "Debugger", "DOM", "Network", "Page"];
|
|
@@ -350,7 +350,7 @@ function sessionrecordvalid(value) {
|
|
|
350
350
|
}
|
|
351
351
|
|
|
352
352
|
// version.ts
|
|
353
|
-
var packageversion = "2.0.
|
|
353
|
+
var packageversion = "2.0.135";
|
|
354
354
|
var protocolmajor = 2;
|
|
355
355
|
var protocolfloormajor = 2;
|
|
356
356
|
|
package/progress.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
2
2
|
|
|
3
3
|
// version.ts
|
|
4
|
-
var packageversion = "2.0.
|
|
4
|
+
var packageversion = "2.0.135";
|
|
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.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
2
2
|
|
|
3
3
|
// debug.ts
|
|
4
4
|
var cdpdomains = ["Runtime", "Log", "Debugger", "DOM", "Network", "Page"];
|
|
@@ -1255,7 +1255,7 @@ function cronvalue(value, min, max, names) {
|
|
|
1255
1255
|
}
|
|
1256
1256
|
|
|
1257
1257
|
// version.ts
|
|
1258
|
-
var packageversion = "2.0.
|
|
1258
|
+
var packageversion = "2.0.135";
|
|
1259
1259
|
var protocolmajor = 2;
|
|
1260
1260
|
|
|
1261
1261
|
// types.ts
|
package/server.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.135 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
@@ -7795,11 +7795,11 @@ import { createHash, randomInt as randomInt4, timingSafeEqual } from "node:crypt
|
|
|
7795
7795
|
import { existsSync as existsSync4, readFileSync as readFileSync3, renameSync as renameSync4, writeFileSync as writeFileSync4 } from "node:fs";
|
|
7796
7796
|
|
|
7797
7797
|
// ids.ts
|
|
7798
|
-
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
7799
7798
|
var alphabet = "0123456789abcdefghjkmnpqrstvwxyz";
|
|
7800
7799
|
var tokenLength = 10;
|
|
7801
7800
|
function compactToken() {
|
|
7802
|
-
const bytes =
|
|
7801
|
+
const bytes = new Uint8Array(tokenLength);
|
|
7802
|
+
globalThis.crypto.getRandomValues(bytes);
|
|
7803
7803
|
return Array.from(bytes, (value) => alphabet[value & 31]).join("");
|
|
7804
7804
|
}
|
|
7805
7805
|
function createCompactId(prefix) {
|
|
@@ -11175,7 +11175,68 @@ var SEED = Object.freeze({
|
|
|
11175
11175
|
"callback.unknown": "Unknown origin",
|
|
11176
11176
|
"callback.unknown.note": "The callback carries no state marker this page minted \u2014 the round trip did not start here.",
|
|
11177
11177
|
"callback.back.auth": "back to the sign-in page",
|
|
11178
|
-
"callback.back.panel": "to the panel"
|
|
11178
|
+
"callback.back.panel": "to the panel",
|
|
11179
|
+
"settings.search.placeholder": "Find a setting",
|
|
11180
|
+
"settings.nav.personalization": "Personalization",
|
|
11181
|
+
"settings.nav.accounts": "Accounts",
|
|
11182
|
+
"settings.nav.gateway": "Gateway & Pairing",
|
|
11183
|
+
"settings.nav.drives": "Drives",
|
|
11184
|
+
"settings.nav.automation": "Automation & MCP",
|
|
11185
|
+
"settings.nav.about": "About",
|
|
11186
|
+
"settings.account.sub.local": "local browser",
|
|
11187
|
+
"settings.account.sub.paired": "paired gateway",
|
|
11188
|
+
"settings.personal.background": "Background",
|
|
11189
|
+
"settings.personal.background.desc": "The wallpaper the desktop and the lock screen paint.",
|
|
11190
|
+
"settings.wall.trident": "Trident dawn",
|
|
11191
|
+
"settings.wall.bloom": "Bloom",
|
|
11192
|
+
"settings.wall.meadow": "Meadow",
|
|
11193
|
+
"settings.wall.tide": "Tide",
|
|
11194
|
+
"settings.wall.dusk": "Dusk",
|
|
11195
|
+
"settings.wall.sand": "Linen",
|
|
11196
|
+
"settings.personal.colors": "Colors",
|
|
11197
|
+
"settings.personal.colors.desc": "The mode and the accent the shell wears.",
|
|
11198
|
+
"settings.personal.mode": "Mode",
|
|
11199
|
+
"settings.personal.mode.light": "Light",
|
|
11200
|
+
"settings.personal.mode.dark": "Dark",
|
|
11201
|
+
"settings.personal.accent": "Accent color",
|
|
11202
|
+
"settings.accent.blue": "Signal blue",
|
|
11203
|
+
"settings.accent.cyan": "Cyan",
|
|
11204
|
+
"settings.accent.teal": "Teal",
|
|
11205
|
+
"settings.accent.fern": "Fern",
|
|
11206
|
+
"settings.accent.moss": "Moss",
|
|
11207
|
+
"settings.accent.amber": "Amber",
|
|
11208
|
+
"settings.accent.rose": "Rosewood",
|
|
11209
|
+
"settings.accent.slate": "Slate",
|
|
11210
|
+
"settings.personal.navbar": "Navbar position",
|
|
11211
|
+
"settings.personal.navbar.desc": "Where the taskbar docks on the screen.",
|
|
11212
|
+
"settings.navbar.floating": "Floating",
|
|
11213
|
+
"settings.navbar.left": "Left edge",
|
|
11214
|
+
"settings.navbar.right": "Right edge",
|
|
11215
|
+
"settings.personal.components": "Component options",
|
|
11216
|
+
"settings.personal.components.desc": "The shell behaviors this machine plays.",
|
|
11217
|
+
"settings.toggle.alttab": "Alt-tab entrance",
|
|
11218
|
+
"settings.toggle.alttab.desc": "The task switcher animates in when it opens.",
|
|
11219
|
+
"settings.toggle.tips": "Taskbar tooltips",
|
|
11220
|
+
"settings.toggle.tips.desc": "The app name surfaces above a taskbar icon.",
|
|
11221
|
+
"settings.rail.title": "Desktop rail",
|
|
11222
|
+
"settings.rail.always": "Always",
|
|
11223
|
+
"settings.rail.auto": "Auto",
|
|
11224
|
+
"settings.rail.off": "Off",
|
|
11225
|
+
"settings.zoom.label": "Interface zoom",
|
|
11226
|
+
"settings.language.title": "Language",
|
|
11227
|
+
"settings.language.display": "Display language",
|
|
11228
|
+
"settings.accounts.identity": "Public identity",
|
|
11229
|
+
"settings.accounts.identity.id": "Public id",
|
|
11230
|
+
"settings.accounts.identity.save": "Save public id",
|
|
11231
|
+
"settings.accounts.access": "Browser access",
|
|
11232
|
+
"settings.accounts.access.desc": "Revoking removes the paired browser sessions of this machine.",
|
|
11233
|
+
"settings.accounts.access.revoke": "Revoke browser access",
|
|
11234
|
+
"settings.gateway.sync": "Sync state",
|
|
11235
|
+
"settings.gateway.sync.pairhint": "Pair with devthink pair create to sync the cli gateway.",
|
|
11236
|
+
"settings.gateway.boundary": "Credential boundary",
|
|
11237
|
+
"settings.gateway.boundary.desc": "Provider credentials stay with the cli, never in this browser.",
|
|
11238
|
+
"settings.about.database": "Local database",
|
|
11239
|
+
"settings.about.database.paired": "Gateway database"
|
|
11179
11240
|
});
|
|
11180
11241
|
function copyseed() {
|
|
11181
11242
|
return SEED;
|
|
@@ -15087,7 +15148,7 @@ __export(request_exports, {
|
|
|
15087
15148
|
validateToolNamesDetailed: () => validateToolNamesDetailed
|
|
15088
15149
|
});
|
|
15089
15150
|
import * as os7 from "node:os";
|
|
15090
|
-
import { randomBytes as
|
|
15151
|
+
import { randomBytes as randomBytes4, randomInt as randomInt6 } from "node:crypto";
|
|
15091
15152
|
var osPlatform2 = os7.platform;
|
|
15092
15153
|
var MODELS_2026_SET = new Set(FETCH_AVAILABLE_MODELS_2026);
|
|
15093
15154
|
var TOOL_NAME_MAX_LENGTH = 64;
|
|
@@ -17016,12 +17077,12 @@ function generateDeterministicId(seed) {
|
|
|
17016
17077
|
return fnv1a32Hex(seed);
|
|
17017
17078
|
}
|
|
17018
17079
|
function generateSessionId(seed, offsetEnabled) {
|
|
17019
|
-
const base = seed ?? `${Date.now()}-${
|
|
17080
|
+
const base = seed ?? `${Date.now()}-${randomBytes4(4).toString("hex")}`;
|
|
17020
17081
|
const offset = offsetEnabled ? randomInt6(0, 1001) : 0;
|
|
17021
17082
|
return fnv1a32Hex(`${base}-${offset}-session`);
|
|
17022
17083
|
}
|
|
17023
17084
|
function generateUserPromptId(seed, offsetEnabled) {
|
|
17024
|
-
const base = seed ?? `${Date.now()}-${
|
|
17085
|
+
const base = seed ?? `${Date.now()}-${randomBytes4(4).toString("hex")}`;
|
|
17025
17086
|
const offset = offsetEnabled ? randomInt6(0, 1001) : 0;
|
|
17026
17087
|
return fnv1a32Hex(`${base}-${offset}-user-prompt-${offsetEnabled ? offset : 0}`);
|
|
17027
17088
|
}
|
|
@@ -19443,7 +19504,7 @@ import { existsSync as existsSync10, readFileSync as readFileSync9 } from "node:
|
|
|
19443
19504
|
import * as fsp4 from "node:fs/promises";
|
|
19444
19505
|
import { join as join10, resolve as resolve7, dirname as dirname6 } from "node:path";
|
|
19445
19506
|
import { homedir as homedir11 } from "node:os";
|
|
19446
|
-
import { randomInt as randomInt8, randomBytes as
|
|
19507
|
+
import { randomInt as randomInt8, randomBytes as randomBytes8 } from "node:crypto";
|
|
19447
19508
|
|
|
19448
19509
|
// project.ts
|
|
19449
19510
|
var project_exports = {};
|
|
@@ -23020,7 +23081,7 @@ function buildOpencodeAuthMethods(fallbackProvider) {
|
|
|
23020
23081
|
authorize: async () => {
|
|
23021
23082
|
const inst = getPlugin();
|
|
23022
23083
|
const identity = resolveOAuthIdentity(inst?.options?.oauth_identity ?? "auto");
|
|
23023
|
-
const state =
|
|
23084
|
+
const state = randomBytes8(32).toString("base64url");
|
|
23024
23085
|
const pkce = identity.usesPKCE ? generatePKCE?.() ?? null : null;
|
|
23025
23086
|
const srv = await createOAuthServerAsync({
|
|
23026
23087
|
callbackPath: "/oauth2callback",
|
package/umd-example.html
CHANGED