@wenathlan/devthink 2.0.2 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +86 -0
- package/bridge.d.ts +1 -1
- package/bridge.js +2 -2
- package/bun.js +14 -14
- 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 +38 -38
- package/cli.js +2 -2
- package/companion.js +2 -2
- package/crossbrowser.js +1 -1
- package/dashdone.js +1 -1
- package/deno.js +14 -14
- package/devthink.umd.js +14 -14
- package/hardening.js +1 -1
- package/headless.js +2 -2
- package/http.js +2 -2
- package/index.cjs +14 -14
- package/index.js +14 -14
- 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 +14 -14
- package/pack.d.ts +4 -4
- package/pack.d.ts.map +1 -1
- package/pack.js +13 -13
- package/package.json +11 -1
- package/policy.js +2 -2
- package/progress.js +2 -2
- package/protocol.js +2 -2
- package/server.d.ts.map +1 -1
- package/server.js +12 -7
- package/umd-example.html +1 -1
package/http.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.9 — 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.9";
|
|
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.9 — 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.9";
|
|
2360
2360
|
var protocolmajor = 2;
|
|
2361
2361
|
var protocolfloormajor = 2;
|
|
2362
2362
|
|
|
@@ -45976,7 +45976,7 @@ function vsixvsixmanifest(fields, entries) {
|
|
|
45976
45976
|
<Description xml:space="preserve">${fields.description}</Description>
|
|
45977
45977
|
<Properties>
|
|
45978
45978
|
<Property Id="Microsoft.VisualStudio.Code.Engine" Value="${fields.engines.vscode ?? ""}" />
|
|
45979
|
-
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/wenathlan/
|
|
45979
|
+
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/wenathlan/devthink" />
|
|
45980
45980
|
<Property Id="Microsoft.VisualStudio.Services.License" Value="GPL-3.0-only" />
|
|
45981
45981
|
<Property Id="devthink.telemetry" Value="off" />
|
|
45982
45982
|
<Property Id="devthink.relayurldefault" Value="" />
|
|
@@ -46167,12 +46167,12 @@ function mavenattachedartifacts(version) {
|
|
|
46167
46167
|
function mavenpackinfo() {
|
|
46168
46168
|
return {
|
|
46169
46169
|
groupid: "io.github.wenathlan",
|
|
46170
|
-
artifactid: "
|
|
46171
|
-
name: "
|
|
46172
|
-
description: "The single
|
|
46173
|
-
url: "https://github.com/wenathlan/
|
|
46174
|
-
scmurl: "https://github.com/wenathlan/
|
|
46175
|
-
scmconnection: "scm:git:https://github.com/wenathlan/
|
|
46170
|
+
artifactid: "devthink",
|
|
46171
|
+
name: "DevThink single distribution",
|
|
46172
|
+
description: "The single DevThink maven distribution: every consumption mode \u2014 the library core, the cli, the headless entry and the mcp server \u2014 embedded as jar resources in the one io.github.wenathlan.devthink artifact, with the extension zip and the declarations zip attached as classifier artifacts beside it.",
|
|
46173
|
+
url: "https://github.com/wenathlan/devthink",
|
|
46174
|
+
scmurl: "https://github.com/wenathlan/devthink",
|
|
46175
|
+
scmconnection: "scm:git:https://github.com/wenathlan/devthink.git",
|
|
46176
46176
|
license: "GPL-3.0-only",
|
|
46177
46177
|
licenseurl: ""
|
|
46178
46178
|
};
|
|
@@ -46196,7 +46196,7 @@ function mavenpackpomtext(version) {
|
|
|
46196
46196
|
const schemalocation = ["http", "s://maven.apache.org/xsd/maven-4.0.0.xsd"].join("");
|
|
46197
46197
|
const includes = mavenjarresources().map((resource) => ` <include>${resource}</include>`).join("\n");
|
|
46198
46198
|
const licenseurl = ["http", "s://www.gnu.org/licenses/gpl-3.0.html"].join("");
|
|
46199
|
-
const publishurl = ["http", "s://maven.pkg.github.com/wenathlan/
|
|
46199
|
+
const publishurl = ["http", "s://maven.pkg.github.com/wenathlan/devthink"].join("");
|
|
46200
46200
|
return `<?xml version="1.0" encoding="UTF-8"?>
|
|
46201
46201
|
<project xmlns="${pomnamespace}" xmlns:xsi="${xsinamespace}" xsi:schemaLocation="${pomnamespace} ${schemalocation}">
|
|
46202
46202
|
<modelVersion>4.0.0</modelVersion>
|
|
@@ -46270,9 +46270,9 @@ function nugetframeworktargets() {
|
|
|
46270
46270
|
}
|
|
46271
46271
|
function nugetpackinfo() {
|
|
46272
46272
|
return {
|
|
46273
|
-
packageid: "
|
|
46274
|
-
projecturl: "https://github.com/wenathlan/
|
|
46275
|
-
repositoryurl: "https://github.com/wenathlan/
|
|
46273
|
+
packageid: "devthink",
|
|
46274
|
+
projecturl: "https://github.com/wenathlan/devthink",
|
|
46275
|
+
repositoryurl: "https://github.com/wenathlan/devthink",
|
|
46276
46276
|
license: "GPL-3.0-only",
|
|
46277
46277
|
readme: "README.md",
|
|
46278
46278
|
description: "Distribution package containing the Devthink library bundles, the cli, headless and mcp entries, the declaration files for ide integration, the browser extension ZIPs and the sample fixtures.",
|
|
@@ -46299,7 +46299,7 @@ function containerbuildstages() {
|
|
|
46299
46299
|
},
|
|
46300
46300
|
{
|
|
46301
46301
|
name: "builder",
|
|
46302
|
-
purpose: "builds every dist target through node tests/build.mjs and runs the deterministic build checks, the vitest suite (
|
|
46302
|
+
purpose: "builds every dist target through node tests/build.mjs and runs the deterministic build checks, the vitest suite (native on both legs through the build platform pin, with the timeout guard a native arm64 build node reads) and the packageextension verification",
|
|
46303
46303
|
checks: [
|
|
46304
46304
|
"node tests/build.mjs",
|
|
46305
46305
|
"node dist/cli.js manifest",
|
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.9 — 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.9";
|
|
5
5
|
var protocolmajor = 2;
|
|
6
6
|
var protocolfloormajor = 2;
|
|
7
7
|
|
|
@@ -43621,7 +43621,7 @@ function vsixvsixmanifest(fields, entries) {
|
|
|
43621
43621
|
<Description xml:space="preserve">${fields.description}</Description>
|
|
43622
43622
|
<Properties>
|
|
43623
43623
|
<Property Id="Microsoft.VisualStudio.Code.Engine" Value="${fields.engines.vscode ?? ""}" />
|
|
43624
|
-
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/wenathlan/
|
|
43624
|
+
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/wenathlan/devthink" />
|
|
43625
43625
|
<Property Id="Microsoft.VisualStudio.Services.License" Value="GPL-3.0-only" />
|
|
43626
43626
|
<Property Id="devthink.telemetry" Value="off" />
|
|
43627
43627
|
<Property Id="devthink.relayurldefault" Value="" />
|
|
@@ -43812,12 +43812,12 @@ function mavenattachedartifacts(version) {
|
|
|
43812
43812
|
function mavenpackinfo() {
|
|
43813
43813
|
return {
|
|
43814
43814
|
groupid: "io.github.wenathlan",
|
|
43815
|
-
artifactid: "
|
|
43816
|
-
name: "
|
|
43817
|
-
description: "The single
|
|
43818
|
-
url: "https://github.com/wenathlan/
|
|
43819
|
-
scmurl: "https://github.com/wenathlan/
|
|
43820
|
-
scmconnection: "scm:git:https://github.com/wenathlan/
|
|
43815
|
+
artifactid: "devthink",
|
|
43816
|
+
name: "DevThink single distribution",
|
|
43817
|
+
description: "The single DevThink maven distribution: every consumption mode \u2014 the library core, the cli, the headless entry and the mcp server \u2014 embedded as jar resources in the one io.github.wenathlan.devthink artifact, with the extension zip and the declarations zip attached as classifier artifacts beside it.",
|
|
43818
|
+
url: "https://github.com/wenathlan/devthink",
|
|
43819
|
+
scmurl: "https://github.com/wenathlan/devthink",
|
|
43820
|
+
scmconnection: "scm:git:https://github.com/wenathlan/devthink.git",
|
|
43821
43821
|
license: "GPL-3.0-only",
|
|
43822
43822
|
licenseurl: ""
|
|
43823
43823
|
};
|
|
@@ -43841,7 +43841,7 @@ function mavenpackpomtext(version) {
|
|
|
43841
43841
|
const schemalocation = ["http", "s://maven.apache.org/xsd/maven-4.0.0.xsd"].join("");
|
|
43842
43842
|
const includes = mavenjarresources().map((resource) => ` <include>${resource}</include>`).join("\n");
|
|
43843
43843
|
const licenseurl = ["http", "s://www.gnu.org/licenses/gpl-3.0.html"].join("");
|
|
43844
|
-
const publishurl = ["http", "s://maven.pkg.github.com/wenathlan/
|
|
43844
|
+
const publishurl = ["http", "s://maven.pkg.github.com/wenathlan/devthink"].join("");
|
|
43845
43845
|
return `<?xml version="1.0" encoding="UTF-8"?>
|
|
43846
43846
|
<project xmlns="${pomnamespace}" xmlns:xsi="${xsinamespace}" xsi:schemaLocation="${pomnamespace} ${schemalocation}">
|
|
43847
43847
|
<modelVersion>4.0.0</modelVersion>
|
|
@@ -43915,9 +43915,9 @@ function nugetframeworktargets() {
|
|
|
43915
43915
|
}
|
|
43916
43916
|
function nugetpackinfo() {
|
|
43917
43917
|
return {
|
|
43918
|
-
packageid: "
|
|
43919
|
-
projecturl: "https://github.com/wenathlan/
|
|
43920
|
-
repositoryurl: "https://github.com/wenathlan/
|
|
43918
|
+
packageid: "devthink",
|
|
43919
|
+
projecturl: "https://github.com/wenathlan/devthink",
|
|
43920
|
+
repositoryurl: "https://github.com/wenathlan/devthink",
|
|
43921
43921
|
license: "GPL-3.0-only",
|
|
43922
43922
|
readme: "README.md",
|
|
43923
43923
|
description: "Distribution package containing the Devthink library bundles, the cli, headless and mcp entries, the declaration files for ide integration, the browser extension ZIPs and the sample fixtures.",
|
|
@@ -43944,7 +43944,7 @@ function containerbuildstages() {
|
|
|
43944
43944
|
},
|
|
43945
43945
|
{
|
|
43946
43946
|
name: "builder",
|
|
43947
|
-
purpose: "builds every dist target through node tests/build.mjs and runs the deterministic build checks, the vitest suite (
|
|
43947
|
+
purpose: "builds every dist target through node tests/build.mjs and runs the deterministic build checks, the vitest suite (native on both legs through the build platform pin, with the timeout guard a native arm64 build node reads) and the packageextension verification",
|
|
43948
43948
|
checks: [
|
|
43949
43949
|
"node tests/build.mjs",
|
|
43950
43950
|
"node dist/cli.js manifest",
|
package/index.neutral.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.9 — 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.9";
|
|
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.9",
|
|
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.9 — 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.9";
|
|
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.9 — 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.9 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.9 — 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.9";
|
|
2361
2361
|
var protocolmajor = 2;
|
|
2362
2362
|
var protocolfloormajor = 2;
|
|
2363
2363
|
|
|
@@ -45977,7 +45977,7 @@ function vsixvsixmanifest(fields, entries) {
|
|
|
45977
45977
|
<Description xml:space="preserve">${fields.description}</Description>
|
|
45978
45978
|
<Properties>
|
|
45979
45979
|
<Property Id="Microsoft.VisualStudio.Code.Engine" Value="${fields.engines.vscode ?? ""}" />
|
|
45980
|
-
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/wenathlan/
|
|
45980
|
+
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/wenathlan/devthink" />
|
|
45981
45981
|
<Property Id="Microsoft.VisualStudio.Services.License" Value="GPL-3.0-only" />
|
|
45982
45982
|
<Property Id="devthink.telemetry" Value="off" />
|
|
45983
45983
|
<Property Id="devthink.relayurldefault" Value="" />
|
|
@@ -46168,12 +46168,12 @@ function mavenattachedartifacts(version) {
|
|
|
46168
46168
|
function mavenpackinfo() {
|
|
46169
46169
|
return {
|
|
46170
46170
|
groupid: "io.github.wenathlan",
|
|
46171
|
-
artifactid: "
|
|
46172
|
-
name: "
|
|
46173
|
-
description: "The single
|
|
46174
|
-
url: "https://github.com/wenathlan/
|
|
46175
|
-
scmurl: "https://github.com/wenathlan/
|
|
46176
|
-
scmconnection: "scm:git:https://github.com/wenathlan/
|
|
46171
|
+
artifactid: "devthink",
|
|
46172
|
+
name: "DevThink single distribution",
|
|
46173
|
+
description: "The single DevThink maven distribution: every consumption mode \u2014 the library core, the cli, the headless entry and the mcp server \u2014 embedded as jar resources in the one io.github.wenathlan.devthink artifact, with the extension zip and the declarations zip attached as classifier artifacts beside it.",
|
|
46174
|
+
url: "https://github.com/wenathlan/devthink",
|
|
46175
|
+
scmurl: "https://github.com/wenathlan/devthink",
|
|
46176
|
+
scmconnection: "scm:git:https://github.com/wenathlan/devthink.git",
|
|
46177
46177
|
license: "GPL-3.0-only",
|
|
46178
46178
|
licenseurl: ""
|
|
46179
46179
|
};
|
|
@@ -46197,7 +46197,7 @@ function mavenpackpomtext(version) {
|
|
|
46197
46197
|
const schemalocation = ["http", "s://maven.apache.org/xsd/maven-4.0.0.xsd"].join("");
|
|
46198
46198
|
const includes = mavenjarresources().map((resource) => ` <include>${resource}</include>`).join("\n");
|
|
46199
46199
|
const licenseurl = ["http", "s://www.gnu.org/licenses/gpl-3.0.html"].join("");
|
|
46200
|
-
const publishurl = ["http", "s://maven.pkg.github.com/wenathlan/
|
|
46200
|
+
const publishurl = ["http", "s://maven.pkg.github.com/wenathlan/devthink"].join("");
|
|
46201
46201
|
return `<?xml version="1.0" encoding="UTF-8"?>
|
|
46202
46202
|
<project xmlns="${pomnamespace}" xmlns:xsi="${xsinamespace}" xsi:schemaLocation="${pomnamespace} ${schemalocation}">
|
|
46203
46203
|
<modelVersion>4.0.0</modelVersion>
|
|
@@ -46271,9 +46271,9 @@ function nugetframeworktargets() {
|
|
|
46271
46271
|
}
|
|
46272
46272
|
function nugetpackinfo() {
|
|
46273
46273
|
return {
|
|
46274
|
-
packageid: "
|
|
46275
|
-
projecturl: "https://github.com/wenathlan/
|
|
46276
|
-
repositoryurl: "https://github.com/wenathlan/
|
|
46274
|
+
packageid: "devthink",
|
|
46275
|
+
projecturl: "https://github.com/wenathlan/devthink",
|
|
46276
|
+
repositoryurl: "https://github.com/wenathlan/devthink",
|
|
46277
46277
|
license: "GPL-3.0-only",
|
|
46278
46278
|
readme: "README.md",
|
|
46279
46279
|
description: "Distribution package containing the Devthink library bundles, the cli, headless and mcp entries, the declaration files for ide integration, the browser extension ZIPs and the sample fixtures.",
|
|
@@ -46300,7 +46300,7 @@ function containerbuildstages() {
|
|
|
46300
46300
|
},
|
|
46301
46301
|
{
|
|
46302
46302
|
name: "builder",
|
|
46303
|
-
purpose: "builds every dist target through node tests/build.mjs and runs the deterministic build checks, the vitest suite (
|
|
46303
|
+
purpose: "builds every dist target through node tests/build.mjs and runs the deterministic build checks, the vitest suite (native on both legs through the build platform pin, with the timeout guard a native arm64 build node reads) and the packageextension verification",
|
|
46304
46304
|
checks: [
|
|
46305
46305
|
"node tests/build.mjs",
|
|
46306
46306
|
"node dist/cli.js manifest",
|
package/pack.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import type { artifactmanifestdocument, containerbuildstage, containerexposedsur
|
|
|
7
7
|
*/
|
|
8
8
|
/** The publishing channels the release operates: the github release asset channel every artifact rides, the npm channel (npmjs and GitHub Packages), the nuget channel, the maven channel, the container channel, the vscode channel, the firefox channel, the safari channel, the chromium channel, the site channel, the declarations channel and the provenance channel — one artifact may ride several channels (the extension zip rides the chromium, nuget and maven channels at once). */
|
|
9
9
|
export declare function artifactchannels(): string[];
|
|
10
|
-
/** Resolves the publishing channels one artifact name belongs to: the version stamped artifact names map onto the channels the release workflow operates, and an unrecognized name still rides the github asset channel because every release artifact attaches to the release. The mappings answer under
|
|
10
|
+
/** Resolves the publishing channels one artifact name belongs to: the version stamped artifact names map onto the channels the release workflow operates, and an unrecognized name still rides the github asset channel because every release artifact attaches to the release. The mappings answer under the devthink release asset names the merged release lane assembles (the names the release notes and their tests record) beside the extension lineage names the channel history still accepts (the historical artifact names of the 1.1.x line the artifact manifest tests exercise as accepted aliases). */
|
|
11
11
|
export declare function artifactchannelof(name: string, version: string): string[];
|
|
12
12
|
/** Builds the artifact manifest of one release: every artifact with its name, its size, its checksum and its channels — the document carries no timestamp so the build and the release workflow render the same artifact set byte identically. */
|
|
13
13
|
export declare function artifactmanifestof(input: {
|
|
@@ -147,7 +147,7 @@ export declare function vsixzipof(files: Array<{
|
|
|
147
147
|
export declare function vsixpackentriesof(output: vsixpackoutput): string[];
|
|
148
148
|
/**
|
|
149
149
|
* Mavenpack of the 1.1.88 consolidation.
|
|
150
|
-
* Every maven packaging concern of the publishing pipeline lives in this one pure module for the single distribution: the jar resources the one io.github.wenathlan.
|
|
150
|
+
* Every maven packaging concern of the publishing pipeline lives in this one pure module for the single distribution: the jar resources the one io.github.wenathlan.devthink artifact embeds (the library core, the cli, the headless entry, the mcp server, the embedded server surface and the http module all ship inside the one jar), the classifier artifacts the pom attaches beside it (the chromium extension zip and the declarations zip), the project metadata the pom records and the pom text itself. The module stays pure: the descriptors are plain data the build, the tests and the docs read, the checked-in pom mirrors them and the mavenpack tests assert the mirror never drifts, no vendor endpoint and no download url ever appears here — the maven channel publishes to the repository the pom declares.
|
|
151
151
|
* Example: `const resources = mavenjarresources(); const attached = mavenattachedartifacts("1.1.88");`
|
|
152
152
|
*/
|
|
153
153
|
/** The jar resources the single distribution embeds: every consumption mode of the devthink surface rides the one artifact, so a consumer depends on exactly one coordinate and extracts the mode bundle it needs. The 2.0.3 flat layout mirrors the npm package: every resource lands at the jar root, one file per consumption mode, so the artifact opens organized the same way the registry packages do — no dist folder and no nesting inside the jar. */
|
|
@@ -167,7 +167,7 @@ export declare function mavenpacklayout(version: string): {
|
|
|
167
167
|
export declare function mavenpackpomtext(version: string): string;
|
|
168
168
|
/**
|
|
169
169
|
* Nugetpack of the 1.1.87 publishing pipeline family.
|
|
170
|
-
* Every nuget packaging concern of the publishing pipeline lives in this one pure module: the content files the nupkg carries for the cli, headless and mcp entries, the umd and cjs bundles embedded as content assets, the declaration files embedded for ide integration, the framework targets matching the csproj profile, the project url, the license expression and the readme the manifest carries, and the fixtures directory embedded as sample content. The module stays pure: the layout is plain data the build, the tests and the docs read, the checked-in
|
|
170
|
+
* Every nuget packaging concern of the publishing pipeline lives in this one pure module: the content files the nupkg carries for the cli, headless and mcp entries, the umd and cjs bundles embedded as content assets, the declaration files embedded for ide integration, the framework targets matching the csproj profile, the project url, the license expression and the readme the manifest carries, and the fixtures directory embedded as sample content. The module stays pure: the layout is plain data the build, the tests and the docs read, the checked-in devthink.csproj mirrors it and the nugetpack tests assert the mirror never drifts, no vendor endpoint and no download url ever appears here — the nuget channel publishes to the package source the workflow declares.
|
|
171
171
|
* Example: `const layout = nugetpacklayout("1.1.87");`
|
|
172
172
|
*/
|
|
173
173
|
/** The content files the nupkg carries: the cli, headless and mcp entries of the terminal family, the umd and cjs bundles as content assets, and the chromium extension zip the content package has always carried — every entry lands under the contentFiles root a package consumer restores. */
|
|
@@ -180,7 +180,7 @@ export declare function nugetfixtureentries(): nugetcontententry[];
|
|
|
180
180
|
export declare function nugetframeworktargets(): string[];
|
|
181
181
|
/** The package metadata the nupkg manifest carries: the package id, the project url, the repository url, the license expression, the readme and the description — the registry listing reads exactly these fields. */
|
|
182
182
|
export declare function nugetpackinfo(): nugetpackmetadata;
|
|
183
|
-
/** The full nuget layout of one release: the content entries, the declaration entries, the fixture entries, the framework targets and the metadata — the layout the build, the docs and the tests read so the checked-in
|
|
183
|
+
/** The full nuget layout of one release: the content entries, the declaration entries, the fixture entries, the framework targets and the metadata — the layout the build, the docs and the tests read so the checked-in devthink.csproj never drifts from the descriptor. */
|
|
184
184
|
export declare function nugetpacklayout(version: string): {
|
|
185
185
|
version: string;
|
|
186
186
|
content: nugetcontententry[];
|
package/pack.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pack.d.ts","sourceRoot":"","sources":["../pack.ts"],"names":[],"mappings":"AAAA,0OAA0O;AAG1O,OAAO,KAAK,EACV,wBAAwB,EAExB,mBAAmB,EACnB,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,EACb,cAAc,EACf,MAAM,YAAY,CAAC;AAEpB;;;;GAIG;AAEH,ieAAie;AACje,wBAAgB,gBAAgB,IAAI,MAAM,EAAE,CAgB3C;AAED,
|
|
1
|
+
{"version":3,"file":"pack.d.ts","sourceRoot":"","sources":["../pack.ts"],"names":[],"mappings":"AAAA,0OAA0O;AAG1O,OAAO,KAAK,EACV,wBAAwB,EAExB,mBAAmB,EACnB,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,EACb,cAAc,EACf,MAAM,YAAY,CAAC;AAEpB;;;;GAIG;AAEH,ieAAie;AACje,wBAAgB,gBAAgB,IAAI,MAAM,EAAE,CAgB3C;AAED,slBAAslB;AACtlB,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CA2BzE;AAED,kPAAkP;AAClP,wBAAgB,kBAAkB,CAAC,KAAK,EAAE;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACpE,GAAG,wBAAwB,CAmC3B;AAED,2MAA2M;AAC3M,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,wBAAwB,GAAG,MAAM,CAE/E;AAED,iKAAiK;AACjK,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAM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Q,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC,CAW9F;AAED,mOAAmO;AACnO,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C"}
|
package/pack.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.9 — consent-first browser agent library — GPL-3.0-only — https://github.com/wenathlan/devthink */
|
|
2
2
|
|
|
3
3
|
// pack.ts
|
|
4
4
|
function artifactchannels() {
|
|
@@ -362,7 +362,7 @@ function vsixvsixmanifest(fields, entries) {
|
|
|
362
362
|
<Description xml:space="preserve">${fields.description}</Description>
|
|
363
363
|
<Properties>
|
|
364
364
|
<Property Id="Microsoft.VisualStudio.Code.Engine" Value="${fields.engines.vscode ?? ""}" />
|
|
365
|
-
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/wenathlan/
|
|
365
|
+
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/wenathlan/devthink" />
|
|
366
366
|
<Property Id="Microsoft.VisualStudio.Services.License" Value="GPL-3.0-only" />
|
|
367
367
|
<Property Id="devthink.telemetry" Value="off" />
|
|
368
368
|
<Property Id="devthink.relayurldefault" Value="" />
|
|
@@ -553,12 +553,12 @@ function mavenattachedartifacts(version) {
|
|
|
553
553
|
function mavenpackinfo() {
|
|
554
554
|
return {
|
|
555
555
|
groupid: "io.github.wenathlan",
|
|
556
|
-
artifactid: "
|
|
557
|
-
name: "
|
|
558
|
-
description: "The single
|
|
559
|
-
url: "https://github.com/wenathlan/
|
|
560
|
-
scmurl: "https://github.com/wenathlan/
|
|
561
|
-
scmconnection: "scm:git:https://github.com/wenathlan/
|
|
556
|
+
artifactid: "devthink",
|
|
557
|
+
name: "DevThink single distribution",
|
|
558
|
+
description: "The single DevThink maven distribution: every consumption mode \u2014 the library core, the cli, the headless entry and the mcp server \u2014 embedded as jar resources in the one io.github.wenathlan.devthink artifact, with the extension zip and the declarations zip attached as classifier artifacts beside it.",
|
|
559
|
+
url: "https://github.com/wenathlan/devthink",
|
|
560
|
+
scmurl: "https://github.com/wenathlan/devthink",
|
|
561
|
+
scmconnection: "scm:git:https://github.com/wenathlan/devthink.git",
|
|
562
562
|
license: "GPL-3.0-only",
|
|
563
563
|
licenseurl: ""
|
|
564
564
|
};
|
|
@@ -582,7 +582,7 @@ function mavenpackpomtext(version) {
|
|
|
582
582
|
const schemalocation = ["http", "s://maven.apache.org/xsd/maven-4.0.0.xsd"].join("");
|
|
583
583
|
const includes = mavenjarresources().map((resource) => ` <include>${resource}</include>`).join("\n");
|
|
584
584
|
const licenseurl = ["http", "s://www.gnu.org/licenses/gpl-3.0.html"].join("");
|
|
585
|
-
const publishurl = ["http", "s://maven.pkg.github.com/wenathlan/
|
|
585
|
+
const publishurl = ["http", "s://maven.pkg.github.com/wenathlan/devthink"].join("");
|
|
586
586
|
return `<?xml version="1.0" encoding="UTF-8"?>
|
|
587
587
|
<project xmlns="${pomnamespace}" xmlns:xsi="${xsinamespace}" xsi:schemaLocation="${pomnamespace} ${schemalocation}">
|
|
588
588
|
<modelVersion>4.0.0</modelVersion>
|
|
@@ -656,9 +656,9 @@ function nugetframeworktargets() {
|
|
|
656
656
|
}
|
|
657
657
|
function nugetpackinfo() {
|
|
658
658
|
return {
|
|
659
|
-
packageid: "
|
|
660
|
-
projecturl: "https://github.com/wenathlan/
|
|
661
|
-
repositoryurl: "https://github.com/wenathlan/
|
|
659
|
+
packageid: "devthink",
|
|
660
|
+
projecturl: "https://github.com/wenathlan/devthink",
|
|
661
|
+
repositoryurl: "https://github.com/wenathlan/devthink",
|
|
662
662
|
license: "GPL-3.0-only",
|
|
663
663
|
readme: "README.md",
|
|
664
664
|
description: "Distribution package containing the Devthink library bundles, the cli, headless and mcp entries, the declaration files for ide integration, the browser extension ZIPs and the sample fixtures.",
|
|
@@ -685,7 +685,7 @@ function containerbuildstages() {
|
|
|
685
685
|
},
|
|
686
686
|
{
|
|
687
687
|
name: "builder",
|
|
688
|
-
purpose: "builds every dist target through node tests/build.mjs and runs the deterministic build checks, the vitest suite (
|
|
688
|
+
purpose: "builds every dist target through node tests/build.mjs and runs the deterministic build checks, the vitest suite (native on both legs through the build platform pin, with the timeout guard a native arm64 build node reads) and the packageextension verification",
|
|
689
689
|
checks: [
|
|
690
690
|
"node tests/build.mjs",
|
|
691
691
|
"node dist/cli.js manifest",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wenathlan/devthink",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
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",
|
|
@@ -23,6 +23,16 @@
|
|
|
23
23
|
"embedded-gateway",
|
|
24
24
|
"web-workbench"
|
|
25
25
|
],
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"ink": "^7.1.1",
|
|
28
|
+
"react": "^19.3.0",
|
|
29
|
+
"@hono/node-server": "^2.1.1",
|
|
30
|
+
"@libsql/client": "0.17.4",
|
|
31
|
+
"@prisma/adapter-libsql": "^7.10.0",
|
|
32
|
+
"@prisma/client": "^7.10.0",
|
|
33
|
+
"hono": "^4.13.7",
|
|
34
|
+
"z-ai-web-dev-sdk": "^0.0.18"
|
|
35
|
+
},
|
|
26
36
|
"engines": {
|
|
27
37
|
"bun": ">=1.4.2 <2",
|
|
28
38
|
"node": ">=26.8.2 <27",
|
package/policy.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.9 — 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.9";
|
|
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.9 — 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.9";
|
|
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.9 — 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.9";
|
|
1259
1259
|
var protocolmajor = 2;
|
|
1260
1260
|
|
|
1261
1261
|
// types.ts
|
package/server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../server.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,EAAyC,KAAK,cAAc,EAAE,KAAK,aAAa,EAA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package/server.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.9 — 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, {
|
|
@@ -39,7 +39,7 @@ function resolvedburl() {
|
|
|
39
39
|
if (isremote(host)) {
|
|
40
40
|
return { url: host, isremote: true };
|
|
41
41
|
}
|
|
42
|
-
return { url: "file:./prisma/devthink.db", isremote: false };
|
|
42
|
+
return { url: "file:./web/prisma/devthink.db", isremote: false };
|
|
43
43
|
}
|
|
44
44
|
async function ensuredb() {
|
|
45
45
|
if (globalforprisma.prisma) return globalforprisma.prisma;
|
|
@@ -10588,7 +10588,7 @@ function pairingStatus(paths) {
|
|
|
10588
10588
|
};
|
|
10589
10589
|
}
|
|
10590
10590
|
|
|
10591
|
-
//
|
|
10591
|
+
// workbenchsession.ts
|
|
10592
10592
|
import { existsSync as existsSync5, readFileSync as readFileSync4, readdirSync as readdirSync2, renameSync as renameSync5, writeFileSync as writeFileSync5 } from "node:fs";
|
|
10593
10593
|
import { join as join5 } from "node:path";
|
|
10594
10594
|
|
|
@@ -10714,7 +10714,7 @@ function savePreference(paths, key, value) {
|
|
|
10714
10714
|
return preference;
|
|
10715
10715
|
}
|
|
10716
10716
|
|
|
10717
|
-
//
|
|
10717
|
+
// workbenchsession.ts
|
|
10718
10718
|
function sessionPath(paths, id) {
|
|
10719
10719
|
return join5(paths.sessions, `${id}.json`);
|
|
10720
10720
|
}
|
|
@@ -25163,7 +25163,7 @@ model NvidiaKey {
|
|
|
25163
25163
|
var prismaconfigtemplate = `/** prisma config \u2014 the datasource url lives here (prisma 7 moved it
|
|
25164
25164
|
* out of the schema file). the schema is web/schema.prisma; the url comes
|
|
25165
25165
|
* from DEVTHINK_DATABASE_URL or DATABASE_URL, defaulting to the local
|
|
25166
|
-
* sqlite at prisma/devthink.db \u2014 the same default the gateway library
|
|
25166
|
+
* sqlite at web/prisma/devthink.db \u2014 the same default the gateway library
|
|
25167
25167
|
* runtime uses, so the pushed database and the serving process agree on
|
|
25168
25168
|
* one file with zero configuration */
|
|
25169
25169
|
|
|
@@ -25190,7 +25190,7 @@ export default defineConfig({
|
|
|
25190
25190
|
url:
|
|
25191
25191
|
process.env.DEVTHINK_DATABASE_URL ||
|
|
25192
25192
|
process.env.DATABASE_URL ||
|
|
25193
|
-
"file:./prisma/devthink.db",
|
|
25193
|
+
"file:./web/prisma/devthink.db",
|
|
25194
25194
|
},
|
|
25195
25195
|
});
|
|
25196
25196
|
`;
|
|
@@ -25204,6 +25204,11 @@ ${colors.cyan}${colors.bold}@wenathlan/devthink gateway${colors.reset} v${versio
|
|
|
25204
25204
|
mkdirSync10(webdir, { recursive: true });
|
|
25205
25205
|
console.log(`${colors.green}created${colors.reset} web/`);
|
|
25206
25206
|
}
|
|
25207
|
+
const prismadir = join11(webdir, "prisma");
|
|
25208
|
+
if (!existsSync11(prismadir)) {
|
|
25209
|
+
mkdirSync10(prismadir, { recursive: true });
|
|
25210
|
+
console.log(`${colors.green}created${colors.reset} web/prisma/`);
|
|
25211
|
+
}
|
|
25207
25212
|
const existing = await findconfig();
|
|
25208
25213
|
if (existing || existsSync11(configpath())) {
|
|
25209
25214
|
const overwrite = await askyesno(
|
|
@@ -25245,7 +25250,7 @@ ${colors.green}created${colors.reset} web/config.mjs`);
|
|
|
25245
25250
|
const envlines = [
|
|
25246
25251
|
"# gateway environment",
|
|
25247
25252
|
"# database url \u2014 libsql http postgres or file",
|
|
25248
|
-
"# DEVTHINK_DATABASE_URL=file:./prisma/devthink.db",
|
|
25253
|
+
"# DEVTHINK_DATABASE_URL=file:./web/prisma/devthink.db",
|
|
25249
25254
|
""
|
|
25250
25255
|
];
|
|
25251
25256
|
for (const [id, v] of Object.entries(versions)) {
|