@wenathlan/devthink 2.0.134 → 2.0.136
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 +8 -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,13 @@
|
|
|
1
1
|
# DevThink release notes
|
|
2
2
|
|
|
3
|
+
## 2.0.136
|
|
4
|
+
|
|
5
|
+
This release is the security closure rung of the ladder: the supply chain pins answer the code scanning findings — every github actions reference across the ten workflow files resolves to its immutable commit sha with the moving tag riding as the trailing comment, every literal docker FROM line in the family container files carries its registry digest (the variable ARG images and the build stage names stay untouched by design), the broken rust toolchain reference of the optional desktop audit heals against the commit of its version branch with the toolchain input the sha ref can no longer carry, the chat session identifiers mint their random suffixes from the webcrypto well of the identity contract instead of the math random the insecure randomness finding flagged, and the harvest walker drops its identity replacement no-op. The release lane itself reruns over the freeze artifacts the 2.0.135 rung re-stamped, because the release trigger only fires on a version bump and the artifacts heal landed without one.
|
|
6
|
+
|
|
7
|
+
## 2.0.135
|
|
8
|
+
|
|
9
|
+
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.
|
|
10
|
+
|
|
3
11
|
## 2.0.134
|
|
4
12
|
|
|
5
13
|
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.136";
|
|
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.136 — 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.136";
|
|
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.136 — 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.136";
|
|
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
|
+
388ffeefe7b8254e3b87a7b3e4e779e830f95d88dffefcc6a38a4c6b95344500 CHANGELOG.md
|
|
2
2
|
9dfe38a3b873d150550355596958cc83eb440c6e8ac2e4038dfc5609fc0f8f82 README.md
|
|
3
|
-
|
|
3
|
+
848e861b8836e1ef4fe8e62c8e33cf9c6c10f5d9e9412fa34a1298d793a2e58e bridge.d.ts
|
|
4
4
|
e54c2df84438ff3d256a8ea628b5aa755e6fc8e7d6d754502f7e38142d273cf3 bridge.d.ts.map
|
|
5
|
-
|
|
5
|
+
6e4054cd950649e81d7b183c0140792860a1512e0babbc7b874c3ce802b4bcb4 bridge.js
|
|
6
6
|
9557339c2c57fb58212c3b90e8e5934ddba56066a2537d645e4cb34439fdc2ff bun.d.ts
|
|
7
7
|
601a75f547bb845b8a81fa59a21d560691561eb17d598acb3fd1f4ac8421e424 bun.d.ts.map
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
1fe474379a4922cb3f942399da4f0a1b0d0ff693a0261a1096729ccf4f895236 bun.js
|
|
9
|
+
67d496d4054ec9aff904abf5309b09667c152528832a2cd5def6fb2e2f5f27fc caps/background.json
|
|
10
|
+
e0baed36ad93f4044548ef8f825f6030051905a0e3f46b5c544b7faa25d0b86e caps/cli.json
|
|
11
|
+
24b245bf35dcb7861cd483f88a214fd3154aec233c6478db7ad7b13524a12773 caps/library.json
|
|
12
|
+
147199934df21d61c1d5929bf092010985e3b6f7410f8c8df262ec7a669b58db caps/mcp.json
|
|
13
|
+
d256c30cf50b12c81b2cccb5840956d6706ddb218b2f51ae9b178ee3d4edc947 caps/pagebridge.json
|
|
14
|
+
68b1cfae37cbd205f0ecdfa2a66b932d49a0f42399bf50175fee02638518969b caps/popup.json
|
|
15
|
+
ba87eac4a8bf5128806f5dff575f059fcfaf8ba3097fad05dcbbcc1faa88ac70 caps/sidepanel.json
|
|
16
16
|
d35d001526d77c8f37371a39146587ea6ad86179167d82862284557adcd70f17 cli.d.ts
|
|
17
17
|
f7bb3e1903702366effe6c081837b1060c26479740a808f11e0a08ea85e849c9 cli.d.ts.map
|
|
18
|
-
|
|
18
|
+
5b3d7eb80f9050ecbd2ffa4ca87c88745fb194066a94a77730f83b06455e763a cli.js
|
|
19
19
|
6d47383663f5efa626bfbc31977bc3df7cfb383725b243ce08057c059234e42f companion.d.ts
|
|
20
20
|
df25256c8176fc547298c2fb5666bcbf0f01bec284a0dc94f66350f6c29a38be companion.d.ts.map
|
|
21
|
-
|
|
21
|
+
0350a5ba61b53850807a6dc250ac385c1dd1879116f4692296bfca3530b5d2b1 companion.js
|
|
22
22
|
85824f4b1603769f1c117b524925f05a42d37f2bcb41e9d4d377e5408615721f crossbrowser.d.ts
|
|
23
23
|
a7c4cd26ce8402a9ec1d11bd8dab4222d3c73a0e6f84915402c2fd60f8282d95 crossbrowser.d.ts.map
|
|
24
|
-
|
|
24
|
+
7619c509d59c110a3497ebd01eca065348dfacf5943e51ec7550ffdbd92d2700 crossbrowser.js
|
|
25
25
|
bc8f0d95430875b0fd8aff5c0744580d3dd07c5a0927aad4f2c54d34b83be016 dashdone.d.ts
|
|
26
26
|
4d7e32ac75985463dd38a5c408e154276c902c1a1a9ba032d610bffc2b89eee5 dashdone.d.ts.map
|
|
27
|
-
|
|
27
|
+
7fed493a3a943cb0fa166dc9f8a279349a288780a2ecd8f76e2eec8235e3782e dashdone.js
|
|
28
28
|
fea8d906a8c3b0608a9ae4b622c0b88c78d535ed151aa9db29922d817c387495 deno.d.ts
|
|
29
29
|
3b07bf585688565ff818934d7d38f26c0188fcaf44ddbc8727ad3c76999b826c deno.d.ts.map
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
ff7277aa06e88f4fe87b10790819017d29d2e7fa313e27162a784cbdf5fbae47 deno.js
|
|
31
|
+
7322fb1c4e273ce19bccdbdd40e6ee21953ef632df627b8237262ecaf2730786 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
|
+
cdb7e0b0a06a89cc42e14c0d2d62e44edd84eb0822a4359cc02b9b35f013312c hardening.js
|
|
90
90
|
2e560159a8c3b121c91d83545e0dcfa03b79399ed052bc23a425b2d355839362 headless.d.ts
|
|
91
91
|
f6a7bced8d6b26f05ca971e70aaa177b8be9fb5a7e25a17ab5f2235a8f9ed590 headless.d.ts.map
|
|
92
|
-
|
|
92
|
+
193d671c5404f3e506009f466ba3020a48f6b55a45c235fcae477b7a12615572 headless.js
|
|
93
93
|
7aed8c110caffd11caf27d63b993ad71328851905f4faeea2a8e1442eba8e257 http.d.ts
|
|
94
94
|
b1ab1184756d92fb301a71d5a696ed4cd70bb4953f292002f01930c9e4893024 http.d.ts.map
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
fd7e48c0c9e2c6b0c5e3646bce3964cfb1628e202a9f9670f3b5b35c31937fe8 http.js
|
|
96
|
+
56435aeae78163c8d75332f2a547b2f142418d639e3da199683b946a862cb513 index.cjs
|
|
97
97
|
31b2f3e15bb0b8cbef623b438f01bb8424909686424a98dd88366412d063d7ed index.d.ts
|
|
98
98
|
9398106d8b2277fb1c40892eff062a8cc8e605837d01f191fb783517367860fc index.d.ts.map
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
b891c4e0eac0b03e0254b165bf16536cd94169bf22ce3eb02be3678e4f99ea81 index.js
|
|
100
|
+
1b86ae872823e10d5d9daa8be96a4100f2bada8c4b85c6fa3df23e232be9d40a index.neutral.js
|
|
101
|
+
9cfaa7c1681bf67b1dc3681d4ad8d2068264744a64521b77c6261ab431fa1700 manifest.json
|
|
102
102
|
4a4a38d5c2f25f6e33d7fea853a074d4c82dfe5c721506ca4636b1d65c130f10 mcp.d.ts
|
|
103
103
|
dd22f998da99d77485e863c4e7f1f906bb46dc03ee500efe99a5c09a935f4539 mcp.d.ts.map
|
|
104
|
-
|
|
104
|
+
395b7813621e15143a7057692ddc4f41a361ae61d810cfa2808218cf969dfa9a mcp.js
|
|
105
105
|
ce98408283eccac2d435ac0e0ceb6bb5456e1eb70edb03a03e347a9f82f99c69 memory.d.ts
|
|
106
106
|
9f4c19494bb1b2260a4d15c4c2dce4d2b3f5da96f07b8fbe9037f9b5fe31c8e1 memory.d.ts.map
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
54bcc8ef3972f929ef69118303a783f46e8eafc64501471fb92038cb6e4676f9 memory.js
|
|
108
|
+
4e4a0cbe52b5f14636debe7ea63078ec605c668a3c88ba6362351bc54114ba3f nativehost.template.json
|
|
109
|
+
76ed5c9e829515abb07e61cab670392f7e2d6391cad1f754f4c1560412d3847e 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
|
+
ec5fd9f582a20dd33d43624b99bae6bbc56aa979a5d64b0fd07207bf18496009 pack.js
|
|
115
|
+
deeaf897bbb19bf9da273b72f99984a8535c01ee7f371f6bfbc78cb66330abec package.json
|
|
116
116
|
e3a2ed944a0bc1ef4943ee250a57e428ce49d781d30de6072571e0bc5d8c0259 policy.d.ts
|
|
117
117
|
8f4fabc57c883e12ac7c7ab280749dc7c2d402c4fce401bef235c5e451b6975a policy.d.ts.map
|
|
118
|
-
|
|
118
|
+
93b4a79b25df39d1a1391204cd89f917c6a82a8e42281e1540eaf7a88a462685 policy.js
|
|
119
119
|
ea621ab35e610fbe8acb8e91f21ed2c74a6b20bba537c5982f31458d6878b90b progress.d.ts
|
|
120
120
|
33383e690d77faf6f5959846839603079e7f90e1e3dd17cbcc9a4e3fcf1c5641 progress.d.ts.map
|
|
121
|
-
|
|
121
|
+
12a8439482c4009d41563730377384780963dcc0df56053a239a3a3001b126cc progress.js
|
|
122
122
|
d2e54016f0cad51928752882d780066ccf2267d383deb2407ea7b2f97dfd26e7 protocol.d.ts
|
|
123
123
|
487f8fc63061cb26cbda7f122409d9952810ba3a76b19d147c98d151d4f45d64 protocol.d.ts.map
|
|
124
|
-
|
|
124
|
+
c28cb38ac1a1253650ad1f20edb8bc231d990b1b705f200483c6c0a64ed1ec51 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
|
+
b82213a833d401d8ddce93b0dfdc47606d7ca2d08959ea721c1b4981f909860b server.js
|
|
138
|
+
7bbbf41af3e3a281345206839980d04cdc7d3dc0714ed7c7a82eab25914f9de5 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.136 — 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.136";
|
|
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.136 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.136";
|
|
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.136 — 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.136 — 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.136 — 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.136";
|
|
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.136 — 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.136";
|
|
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.136 — 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.136 — 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.136";
|
|
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.136 — 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.136";
|
|
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.136 — 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.136";
|
|
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.136 — 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.136";
|
|
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.136 — 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.136";
|
|
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.136",
|
|
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.136 — 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.136";
|
|
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.136 — 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.136 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.136 — 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.136";
|
|
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.136 — 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.136",
|
|
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.136 — 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.136";
|
|
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.136 — 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.136";
|
|
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.136 — 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.136";
|
|
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.136 — 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