@wenathlan/devthink 2.0.29 → 2.0.40
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 +84 -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 +3 -3
- 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 +4 -4
- package/policy.js +2 -2
- package/progress.js +2 -2
- package/protocol.js +2 -2
- package/server.js +23 -23
- package/umd-example.html +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,89 @@
|
|
|
1
1
|
# DevThink release notes
|
|
2
2
|
|
|
3
|
+
## 2.0.40 — the envelope family stamps the rung together
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
| Area | Change |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| The envelope family | The 2.0.39 rung carried the manifest and artifact stamps without the generated envelope family (the maven, nuget, gemspec, java and deno envelopes, the release notes and the runtime version documents the metadata sync regenerates); the whole family stamps the rung together the way the metadata gate reads. |
|
|
10
|
+
## 2.0.39 — the container tests know the forge rides outside
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
| Area | Change |
|
|
15
|
+
| --- | --- |
|
|
16
|
+
| The container tests | The forge readers of the test battery (the library modes gate over verify.yml, the publishing pipeline gates over release.yml and publish.yml, the container pack gates over publish.yml and the release pipeline gate of the readiness review) answer the application container honestly: the image builds from the application tree alone, so when the workflows directory is absent the gates report their container scope instead of failing on a file the tree doctrine keeps at the repository root - the runner ladder answers them where the forge lives. |
|
|
17
|
+
## 2.0.38 — the dependency rung carries its own container baseline
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
| Area | Change |
|
|
22
|
+
| --- | --- |
|
|
23
|
+
| The dependency rung | The non-breaking dependency set of the ladder lands (the package manifest and the lockfile answer the update proposal the dependency gate reads), the engine baseline walks to node 26.10.0 (the .nvmrc, the packageManager pin, the workflow setup lines, the NODE_RUNTIME_VERSION of the container), and the NODE_IMAGE arg pins the exact bookworm slim baseline by its immutable digest so the runtime policy gate answers green with the container the family builds. |
|
|
24
|
+
## 2.0.37 — the maintenance proposal rides the rung it proposes
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
| Area | Change |
|
|
29
|
+
| --- | --- |
|
|
30
|
+
| The maintenance proposal | The maintenance metadata of the dependency ladder re-syncs with the rung: the engine recommendations (.nvmrc, the packageManager pin) and the workflow version pins (the node, bun and pnpm versions the five forge workflows carry) answer the proposal the maintain gate reads, so the metadata proposal check of the ladder answers green at verify and release time. |
|
|
31
|
+
## 2.0.36 — the certification artifacts stamp the rung with the gates
|
|
32
|
+
|
|
33
|
+
### Fixed
|
|
34
|
+
|
|
35
|
+
| Area | Change |
|
|
36
|
+
| --- | --- |
|
|
37
|
+
| The certification artifacts | Every recorded certification artifact (agentcert, costcert, doccheck, matrixverify, pentest, poolcoverage, readiness, recipes, sweep and the migration family) stamps the rung it rides together with the envelope family, so the recorded outcomes answer the version the gates read (the 2.0.35 rung carried the 2.0.34 stamps the maintenance ladder left). |
|
|
38
|
+
## 2.0.35 — the permission baseline and the notes ride the rung they answer
|
|
39
|
+
|
|
40
|
+
### Fixed
|
|
41
|
+
|
|
42
|
+
| Area | Change |
|
|
43
|
+
| --- | --- |
|
|
44
|
+
| The permission baseline | The permission baseline of the permdiff gate stamps the release it records (the 2.0.29 baseline the ladder refused carried no permission change at all — zero added, zero removed, the same eleven entries — so the recorded rung simply follows the package), and the generated release notes re-render from the current changelog section so the notes gate answers the rung it ships with. |
|
|
45
|
+
## 2.0.34 — the rung stamps answer across every envelope
|
|
46
|
+
|
|
47
|
+
### Fixed
|
|
48
|
+
|
|
49
|
+
| Area | Change |
|
|
50
|
+
| --- | --- |
|
|
51
|
+
| The rung stamps | The 2.0.33 rung reddened on the CLI contract lane: the capability manifest of the background surface pinned the release 2.0.32 while the package carried 2.0.33 (the apifreeze record, the version constant, the design sheet eyebrow, the fourteen certification artifacts and the release docs still answered the prior rung). Every envelope stamps the rung together now - the version constant, the api freeze record, the readiness and release notes, the runtime versions, the release gates, the design sheet, the Dockerfile label and the fourteen gate artifacts answer 2.0.34 exactly the way the manifest family does. |
|
|
52
|
+
|
|
53
|
+
## 2.0.33 — the fifteen remaining homes answer the complete tree
|
|
54
|
+
|
|
55
|
+
### Changed
|
|
56
|
+
|
|
57
|
+
| Area | Change |
|
|
58
|
+
| --- | --- |
|
|
59
|
+
| The repository tree | The repository answers the complete tree in full: fifteen application homes join the six that 2.0.30 established (`ansi-art/`, `extension/`, `akash/`, `create/`, `nathlan/`, `SoFlowX/`, `soochimp/`, `iukka/`, `gl/`, `owni/`, `bob/`, `iakadion/`, `soodeska/`, `cli-desktop/` and `devthinkos/`), every home carrying the sibling pattern the tree draws (README, `docs/`, `tests/`) and the root anchor description lists the twenty-one applications the tree names. The absorbed applications (`extension`, `gateway`, `maene`, `SoFlowX`, `akash`, `cli-desktop`, `owni`, `iukka`, `create`) keep their logic inside `devthink/` per the roster while their homes receive the standalone application when each population wave lands, exactly the way the five siblings of 2.0.30 carry theirs. |
|
|
60
|
+
|
|
61
|
+
## 2.0.32 — the security lanes and the gate artifacts follow the homes
|
|
62
|
+
|
|
63
|
+
### Fixed
|
|
64
|
+
|
|
65
|
+
| Area | Change |
|
|
66
|
+
| --- | --- |
|
|
67
|
+
| The security lanes | The biome security scan roots itself at the application home (the nested root configuration the scan tripped over dissolves — the scan tree and the application biome.json share one root again, with the exclusion patterns riding the application-relative `Sol/` paths), the license and policy gates read the application `LICENSE` and `SECURITY.md`, the dependency license walk installs the application lockfile, and the container scan builds the runtime target from `devthink/Dockerfile` over the `./devthink` context. |
|
|
68
|
+
| The gate artifacts | The recorded certification artifacts (agentcert, costcert, doccheck, matrixverify, pentest, poolcoverage, readiness, recipes, sweep and the migration family) stamp the rung they ride, and the library, publishing and container gates resolve the forge at `../../.github` from the application cwd the way the maintenance readers already do. |
|
|
69
|
+
| The compatibility lanes | The deno check, the deno import smoke, the deterministic suite and the flat tarball check run from the application home so the built entries answer their contracts from the tree that owns them. |
|
|
70
|
+
## 2.0.31 — the envelope anchor lets every application stand alone
|
|
71
|
+
|
|
72
|
+
### Fixed
|
|
73
|
+
|
|
74
|
+
| Area | Change |
|
|
75
|
+
| --- | --- |
|
|
76
|
+
| The workspace envelope | The repository anchor drops the workspaces declaration: bun walks from the application manifest up to the anchor, and the declared workspaces made every install resolve the five sibling homes that carry no manifest yet - the install lanes reddened with Workspace not found. The anchor stays a private envelope (name, version, license, repository, engines) and each application keeps its own manifest and lockfile exactly as the tree draws them, so the install lanes answer the way they did before the homes moved. |
|
|
77
|
+
## 2.0.30 — the six application homes answer the complete tree
|
|
78
|
+
|
|
79
|
+
### Changed
|
|
80
|
+
|
|
81
|
+
| Area | Change |
|
|
82
|
+
| --- | --- |
|
|
83
|
+
| The repository tree | The repository answers the complete tree: the operating system lives at `devthink/` beside the five sibling application homes (`saddle/`, `debonair/`, `cadria/`, `stealhead/` and `argan/`), every application file that rode the repository root moved under `devthink/`, and the root keeps only the forge (`.github/`), the ignore contract and the workspace anchor `package.json` the six homes declare. |
|
|
84
|
+
| The theme home | The `web/` folder became `Sol/`, the theme folder the complete tree names — no `default/` exists; deploy surfaces, manifests, icons and the page folders (console, gatewayview, home, notfound, projects, providers, routes, settings, usage) ride the theme exactly as the tree draws them, and every workflow, script, config and source reference follows the move (the `--dir web` lanes read `--dir Sol` inside the application cwd, the tauri, capacitor, vercel and netlify envelopes self-reference the theme root, and the test gates resolve the forge at `../../.github` from the application cwd). |
|
|
85
|
+
| The workflows | The seven forge workflows carry the application layer: the install, build, typecheck, audit, consumer, publisher and release lanes run from `devthink/`, the artifact and cache paths gained the application prefix, the container lanes build from `./devthink`, and the structure gate counts the application folder as one directory of the flat budget (no tracked file nests past four directories) with the duplicate-content exclusions riding `devthink/tests/code` and `devthink/docs/antigravity`. |
|
|
86
|
+
| The maintenance ladder | The rung arithmetic reads `devthink/package.json`, stamps the application manifest, the application changelog and the workspace anchor together, and the maintenance diff covers both the root anchor and the application metadata family. |
|
|
3
87
|
## 2.0.29 — the digest lane logs into the registry it reads
|
|
4
88
|
|
|
5
89
|
### Changed
|
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.40";
|
|
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.40 — 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.40";
|
|
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.40 — 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.40";
|
|
5
5
|
var protocolmajor = 2;
|
|
6
6
|
var protocolfloormajor = 2;
|
|
7
7
|
|
package/caps/background.json
CHANGED
package/caps/cli.json
CHANGED
package/caps/library.json
CHANGED
package/caps/mcp.json
CHANGED
package/caps/pagebridge.json
CHANGED
package/caps/popup.json
CHANGED
package/caps/sidepanel.json
CHANGED
package/checksums.txt
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
|
|
1
|
+
d1d6dfce17beb2d8bd80b72553aa36f1fa439ab4cb42dcca661b4e997df86622 CHANGELOG.md
|
|
2
2
|
3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 LICENSE
|
|
3
3
|
45beaf5c548c643cb2e8b88cebd7a11a2329ca5ad4b9187d6c53ca30fbbdd9bb README.md
|
|
4
|
-
|
|
4
|
+
aedb6e3c62d5877c5c7427c8c9c7c023d50c6f4147b45ad33b8dafed81903b73 bridge.d.ts
|
|
5
5
|
a6d353d03e0e2d2cb116a057fcab7a2a6e3594290bcf66bc0ff5ea2656757c94 bridge.d.ts.map
|
|
6
|
-
|
|
6
|
+
45b56ea73a6be523a7933dea389f1412108e9afcddb6a3c58ca35780f38a7482 bridge.js
|
|
7
7
|
9557339c2c57fb58212c3b90e8e5934ddba56066a2537d645e4cb34439fdc2ff bun.d.ts
|
|
8
8
|
601a75f547bb845b8a81fa59a21d560691561eb17d598acb3fd1f4ac8421e424 bun.d.ts.map
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
9b3baf36f839d7cfaa0aa4636a4ae02b0b805ef5ff425c2dd57d506e40bf6e94 bun.js
|
|
10
|
+
c92dfa2c7342f80fccbe955e9377ca1746584db12a947e83ad5becae4504a42a caps/background.json
|
|
11
|
+
bd48b93ecba32c5fbc50220799e0229d4c3cd82228df92e929bea990607b724d caps/cli.json
|
|
12
|
+
c7f230772e7fd9c405b2f6cae528ec104634f363b68b2c5e1cc601509d850cde caps/library.json
|
|
13
|
+
2923ec0947eec9bf6c8ab99df3cea189a08eac196ef0fe03eb51e19304ae18b6 caps/mcp.json
|
|
14
|
+
88de40f1e0f81ebf9c5fb1b54881e25c22a13384aa9a41c5b79001d774521a75 caps/pagebridge.json
|
|
15
|
+
1a95083be3e40380a74e1d386bcbd733d15125b21b93f074c58cb492ff697a80 caps/popup.json
|
|
16
|
+
b9fdfaccb75b91e42d02f67252ac5c302585720cb0904d60b2849a11ab9a7e99 caps/sidepanel.json
|
|
17
17
|
d35d001526d77c8f37371a39146587ea6ad86179167d82862284557adcd70f17 cli.d.ts
|
|
18
18
|
f7bb3e1903702366effe6c081837b1060c26479740a808f11e0a08ea85e849c9 cli.d.ts.map
|
|
19
|
-
|
|
19
|
+
2f1e24874add3215f13ba2496c97cf831fc42f482a5a1189b25abc57cb76338f cli.js
|
|
20
20
|
6d47383663f5efa626bfbc31977bc3df7cfb383725b243ce08057c059234e42f companion.d.ts
|
|
21
21
|
df25256c8176fc547298c2fb5666bcbf0f01bec284a0dc94f66350f6c29a38be companion.d.ts.map
|
|
22
|
-
|
|
22
|
+
6256d099bddf5c349744be6a1670dbdbffdcdfa928234b715d544cab7ad8d763 companion.js
|
|
23
23
|
85824f4b1603769f1c117b524925f05a42d37f2bcb41e9d4d377e5408615721f crossbrowser.d.ts
|
|
24
24
|
a7c4cd26ce8402a9ec1d11bd8dab4222d3c73a0e6f84915402c2fd60f8282d95 crossbrowser.d.ts.map
|
|
25
|
-
|
|
25
|
+
f390ac017a299e76fb47973176a40df63024ecb281857143d65790adfd688d33 crossbrowser.js
|
|
26
26
|
bc8f0d95430875b0fd8aff5c0744580d3dd07c5a0927aad4f2c54d34b83be016 dashdone.d.ts
|
|
27
27
|
4d7e32ac75985463dd38a5c408e154276c902c1a1a9ba032d610bffc2b89eee5 dashdone.d.ts.map
|
|
28
|
-
|
|
28
|
+
cebcc92199c685b714a11238b2485d7961004d6ed836ee1edcea0599bed7da47 dashdone.js
|
|
29
29
|
fea8d906a8c3b0608a9ae4b622c0b88c78d535ed151aa9db29922d817c387495 deno.d.ts
|
|
30
30
|
3b07bf585688565ff818934d7d38f26c0188fcaf44ddbc8727ad3c76999b826c deno.d.ts.map
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
f643f63c3433d17c34eb5faceb88f52f967a85194a0cc05230fa65fee7152979 deno.js
|
|
32
|
+
4662866477a1c044134720a356e50438f9d684427765a80cec17c918a2d0a3a5 devthink.umd.js
|
|
33
33
|
d8b6d1f6446da72d359dae978c5495244257dc70660415f8aaad96dd5075e241 fixtures/bun.ts
|
|
34
34
|
702c21459e5d6d8d0b914a86bb6c3646a0be40e132b2d40cc04f2994cfbd1cf3 fixtures/cjs.js
|
|
35
35
|
6bd268717a28a23405e5200264d47bb68aaf9c0d6d911674eaa22477bf19d003 fixtures/deno.ts
|
|
@@ -87,42 +87,42 @@ c93c417dbf3a43736845e653598624ee48e79f69bf93d36e3b19655e0a23b792 fixtures/recip
|
|
|
87
87
|
6b757866f79c4a16098879f7cfffdb85557b7fb6ca4ec7b1c0cd1d1169c3e3c0 gallery.json
|
|
88
88
|
16f6a0cdd78820a257d0fbb501784ed031dcffcdc4b9841d5279c8273e3776f4 hardening.d.ts
|
|
89
89
|
eb153f3fa619ca8f59dd8abb598f33213a98026392854a32a7c305a73688bc95 hardening.d.ts.map
|
|
90
|
-
|
|
90
|
+
5b112f8b36a1d0ce09004d796a7823f5c4214e0049f6dc6742c79ef66aff6f10 hardening.js
|
|
91
91
|
2e560159a8c3b121c91d83545e0dcfa03b79399ed052bc23a425b2d355839362 headless.d.ts
|
|
92
92
|
f6a7bced8d6b26f05ca971e70aaa177b8be9fb5a7e25a17ab5f2235a8f9ed590 headless.d.ts.map
|
|
93
|
-
|
|
93
|
+
a6c79b38288744c969ac36e1b47ee67bbd009b79f14a28dc6c6ab637a8e3cb0a headless.js
|
|
94
94
|
7aed8c110caffd11caf27d63b993ad71328851905f4faeea2a8e1442eba8e257 http.d.ts
|
|
95
95
|
b1ab1184756d92fb301a71d5a696ed4cd70bb4953f292002f01930c9e4893024 http.d.ts.map
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
78df344ca8fd14fef4cadb7931c15cf2c46b4311846b628ea2d151644740dc52 http.js
|
|
97
|
+
cb616df0d522a6ad4fb112f1b215d8b20ca9a3466730514361d7b9fb460b4263 index.cjs
|
|
98
98
|
31b2f3e15bb0b8cbef623b438f01bb8424909686424a98dd88366412d063d7ed index.d.ts
|
|
99
99
|
9398106d8b2277fb1c40892eff062a8cc8e605837d01f191fb783517367860fc index.d.ts.map
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
8c1e72812c779d8ac140c6e0b6cc612cde05bebfd07aeea6d54719c265fa8159 index.js
|
|
101
|
+
9009938661f11ed15932d1848f239c471f2445d4ec8b684036fef9a8d07d2eb8 index.neutral.js
|
|
102
|
+
c664b3e7c731f6027e93537034780f299fdab1c7cec3332a60ab30605b8af065 manifest.json
|
|
103
103
|
4a4a38d5c2f25f6e33d7fea853a074d4c82dfe5c721506ca4636b1d65c130f10 mcp.d.ts
|
|
104
104
|
dd22f998da99d77485e863c4e7f1f906bb46dc03ee500efe99a5c09a935f4539 mcp.d.ts.map
|
|
105
|
-
|
|
105
|
+
b051a9c12db736bd03bcb0980e4afa967e92e67b87154bdcf7fa874e656c8d16 mcp.js
|
|
106
106
|
ce98408283eccac2d435ac0e0ceb6bb5456e1eb70edb03a03e347a9f82f99c69 memory.d.ts
|
|
107
107
|
9f4c19494bb1b2260a4d15c4c2dce4d2b3f5da96f07b8fbe9037f9b5fe31c8e1 memory.d.ts.map
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
108
|
+
fe10a5478675d8685b92a4b995cef72265c797121393218c7831da55fc0f67d5 memory.js
|
|
109
|
+
77b8575099b9ae626c256ab3480e0f489309a770606cfd5349889ed5b1d10ad1 nativehost.template.json
|
|
110
|
+
86bd62cd716220edc56374e29ad511d18b05b86863ec7c55a2a98e916619b0f9 node.cjs
|
|
111
111
|
705d895c58fe6816958f0fed4bef0a6f79e5fc521ab49d9cf83e0fbcd9d71afe node.d.ts
|
|
112
112
|
45f4394eca20fc889fe1128059ce20130d26a5ae0d89008a7ca93f0e4d52841b node.d.ts.map
|
|
113
113
|
5ec83bc409bed888ae13ab55d1f329ac630a3cf2f0db0e2414c28324329c055b pack.d.ts
|
|
114
114
|
619d43a5239d770c3382af3dd57e2588dd067ded81ca8c106d404e6709324a63 pack.d.ts.map
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
bd9d3ddf4121094dbedcd71450b18805340b922de9819b5519d425f4e83dd8fe pack.js
|
|
116
|
+
7071b2365fa2a7f2486d63b905d47e016176d8f31d4d08256e20fcf109a27872 package.json
|
|
117
117
|
e3a2ed944a0bc1ef4943ee250a57e428ce49d781d30de6072571e0bc5d8c0259 policy.d.ts
|
|
118
118
|
8f4fabc57c883e12ac7c7ab280749dc7c2d402c4fce401bef235c5e451b6975a policy.d.ts.map
|
|
119
|
-
|
|
119
|
+
02cd93db5d7dcb635c301750c16c8f701bc6198f1f6104481dae5e6153e2499f policy.js
|
|
120
120
|
ea621ab35e610fbe8acb8e91f21ed2c74a6b20bba537c5982f31458d6878b90b progress.d.ts
|
|
121
121
|
33383e690d77faf6f5959846839603079e7f90e1e3dd17cbcc9a4e3fcf1c5641 progress.d.ts.map
|
|
122
|
-
|
|
122
|
+
7fa4a5bca6c5bb5843690b7a40c3bd052eb0eee30c018e2baceb4616c2d63a39 progress.js
|
|
123
123
|
d2e54016f0cad51928752882d780066ccf2267d383deb2407ea7b2f97dfd26e7 protocol.d.ts
|
|
124
124
|
487f8fc63061cb26cbda7f122409d9952810ba3a76b19d147c98d151d4f45d64 protocol.d.ts.map
|
|
125
|
-
|
|
125
|
+
d121484aee06475fc1ee4faea9e246a6e3c2a499b8acb2675661c123716f11ff protocol.js
|
|
126
126
|
456c4a26fd65c728f2dcb9e615ec6e4d446d7e4228bfa3f70ce2b17ee3d6a2c2 schemas/audit.schema.json
|
|
127
127
|
ea272aa6bf4df585ae1ca8ca63e36d7ec713c46187f37ed86ff3620a0e8509b2 schemas/capability.schema.json
|
|
128
128
|
6e9d2291dc54f7d01463e5f70c8f0793d952a63f4096d61ee4dbc4bfd6f6b0a0 schemas/envelope.schema.json
|
|
@@ -135,8 +135,8 @@ d0e0365a7641c0127338c14a5318c4591dc598b7d2a36b7b2944219921d1ce4e schemas/sessio
|
|
|
135
135
|
5bb7d16534b52ca3a7171178065fb7b283947accd1b616ce89e330eb7a91b82e schemas/tool.schema.json
|
|
136
136
|
76f61b03cb67ab85b1bfd0f14014ff87ef5689975ab37e7b598ad6cdf837bafd server.d.ts
|
|
137
137
|
850b93b66b2cbce29044f4c7c5d2dc199d90165de3a531a6cea39813b6dca234 server.d.ts.map
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
e1538bcb844cc34c7aaeb99390c526ea4476318f533ac01dfc61adc8ffc9462a server.js
|
|
139
|
+
a0ea30d1c5cc1c098705587ce138b6e927dcc3a7b35cce66b7bf301ec704c0d1 umd-example.html
|
|
140
140
|
16f66af22e038e4f9328420a0ed0ee34145ca79c938940e8c2e6d232e25a7c09 umd.d.ts
|
|
141
141
|
ac25f7481155ac9321c5a657e7c4a53570bee8b3f63fe3527045260523a494c8 umd.d.ts.map
|
|
142
142
|
58e21373cec5ade3e6698da5b36ecc2bf7e7e2f755c6fb5e3a6605b535b93985 manifest.json key
|
package/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
/*! devthink 2.0.
|
|
2
|
+
/*! devthink 2.0.40 — 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.40";
|
|
573
573
|
var protocolmajor = 2;
|
|
574
574
|
var protocolfloormajor = 2;
|
|
575
575
|
|
|
@@ -16471,7 +16471,7 @@ async function main() {
|
|
|
16471
16471
|
const command = process.argv[2] ?? "help";
|
|
16472
16472
|
const args = process.argv.slice(3);
|
|
16473
16473
|
if (command === "manifest") {
|
|
16474
|
-
const manifesttext = await readFile(resolve("
|
|
16474
|
+
const manifesttext = await readFile(resolve("Sol/manifest.json"), "utf8");
|
|
16475
16475
|
const manifest = JSON.parse(manifesttext);
|
|
16476
16476
|
const packagejson = JSON.parse(await readFile(resolve("package.json"), "utf8"));
|
|
16477
16477
|
const permissions = manifest.permissions ?? [];
|
package/companion.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.40 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.40";
|
|
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.40 — 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.40 — 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.40 — 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.40";
|
|
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.40 — 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.40";
|
|
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.40 — 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.40 — 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.40";
|
|
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.40 — 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.40";
|
|
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.40 — 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.40";
|
|
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.40 — 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.40";
|
|
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.40 — 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.40";
|
|
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.40",
|
|
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.40 — 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.40";
|
|
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.40 — 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.40 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.40 — 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.40";
|
|
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.40 — 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.40",
|
|
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",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@libsql/client": "^0.18.0",
|
|
29
29
|
"@prisma/adapter-libsql": "^7.10.0",
|
|
30
30
|
"@prisma/client": "^7.10.0",
|
|
31
|
-
"hono": "^4.13.
|
|
31
|
+
"hono": "^4.13.9",
|
|
32
32
|
"ink": "^7.1.1",
|
|
33
33
|
"react": "^19.3.0",
|
|
34
34
|
"react-devtools-core": "^7.0.1",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
},
|
|
37
37
|
"engines": {
|
|
38
38
|
"bun": ">=1.4.2 <2",
|
|
39
|
-
"node": ">=26.
|
|
40
|
-
"npm": ">=12.0
|
|
39
|
+
"node": ">=26.10.0 <27",
|
|
40
|
+
"npm": ">=12.1.0 <13",
|
|
41
41
|
"deno": ">=2.0.0 <3"
|
|
42
42
|
},
|
|
43
43
|
"sideEffects": false,
|
package/policy.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! devthink 2.0.
|
|
1
|
+
/*! devthink 2.0.40 — 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.40";
|
|
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.40 — 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.40";
|
|
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.40 — 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.40";
|
|
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.40 — 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:./
|
|
42
|
+
return { url: "file:./Sol/prisma/devthink.db", isremote: false };
|
|
43
43
|
}
|
|
44
44
|
async function ensuredb() {
|
|
45
45
|
if (globalforprisma.prisma) return globalforprisma.prisma;
|
|
@@ -7640,9 +7640,9 @@ function searchbases() {
|
|
|
7640
7640
|
async function loadconfig() {
|
|
7641
7641
|
if (loaded) return loaded;
|
|
7642
7642
|
const names = [
|
|
7643
|
-
"
|
|
7644
|
-
"
|
|
7645
|
-
"
|
|
7643
|
+
"Sol/config.mjs",
|
|
7644
|
+
"Sol/config.ts",
|
|
7645
|
+
"Sol/config.js",
|
|
7646
7646
|
"gateway.config.mjs",
|
|
7647
7647
|
"gateway.config.ts",
|
|
7648
7648
|
"gateway.config.js"
|
|
@@ -25015,15 +25015,15 @@ async function askyesno(question, defaultanswer = false) {
|
|
|
25015
25015
|
return answer.toLowerCase().startsWith("y");
|
|
25016
25016
|
}
|
|
25017
25017
|
var confignames = [
|
|
25018
|
-
"
|
|
25019
|
-
"
|
|
25020
|
-
"
|
|
25018
|
+
"Sol/config.mjs",
|
|
25019
|
+
"Sol/config.ts",
|
|
25020
|
+
"Sol/config.js",
|
|
25021
25021
|
"gateway.config.mjs",
|
|
25022
25022
|
"gateway.config.ts",
|
|
25023
25023
|
"gateway.config.js"
|
|
25024
25024
|
];
|
|
25025
25025
|
function configpath() {
|
|
25026
|
-
return resolve8(process.cwd(), "
|
|
25026
|
+
return resolve8(process.cwd(), "Sol", "config.mjs");
|
|
25027
25027
|
}
|
|
25028
25028
|
async function findconfig() {
|
|
25029
25029
|
for (const name of confignames) {
|
|
@@ -25161,9 +25161,9 @@ model NvidiaKey {
|
|
|
25161
25161
|
}
|
|
25162
25162
|
`;
|
|
25163
25163
|
var prismaconfigtemplate = `/** prisma config \u2014 the datasource url lives here (prisma 7 moved it
|
|
25164
|
-
* out of the schema file). the schema is
|
|
25164
|
+
* out of the schema file). the schema is Sol/schema.prisma; the url comes
|
|
25165
25165
|
* from DEVTHINK_DATABASE_URL or DATABASE_URL, defaulting to the local
|
|
25166
|
-
* sqlite at
|
|
25166
|
+
* sqlite at Sol/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
|
|
|
@@ -25171,10 +25171,10 @@ import { existsSync } from "node:fs";
|
|
|
25171
25171
|
import path from "node:path";
|
|
25172
25172
|
import { defineConfig } from "prisma/config";
|
|
25173
25173
|
|
|
25174
|
-
/** resolve schema path \u2014
|
|
25174
|
+
/** resolve schema path \u2014 Sol/schema.prisma is the standard location */
|
|
25175
25175
|
function resolveschemapath(): string {
|
|
25176
25176
|
const candidates = [
|
|
25177
|
-
path.resolve(process.cwd(), "
|
|
25177
|
+
path.resolve(process.cwd(), "Sol", "schema.prisma"),
|
|
25178
25178
|
path.resolve(process.cwd(), "schema.prisma"),
|
|
25179
25179
|
path.resolve(process.cwd(), "prisma", "schema.prisma"),
|
|
25180
25180
|
];
|
|
@@ -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:./
|
|
25193
|
+
"file:./Sol/prisma/devthink.db",
|
|
25194
25194
|
},
|
|
25195
25195
|
});
|
|
25196
25196
|
`;
|
|
@@ -25199,15 +25199,15 @@ async function cmdinit() {
|
|
|
25199
25199
|
${colors.cyan}${colors.bold}@wenathlan/devthink gateway${colors.reset} v${version()} \u2014 init
|
|
25200
25200
|
`);
|
|
25201
25201
|
const targetdir = process.cwd();
|
|
25202
|
-
const webdir = join11(targetdir, "
|
|
25202
|
+
const webdir = join11(targetdir, "Sol");
|
|
25203
25203
|
if (!existsSync11(webdir)) {
|
|
25204
25204
|
mkdirSync10(webdir, { recursive: true });
|
|
25205
|
-
console.log(`${colors.green}created${colors.reset}
|
|
25205
|
+
console.log(`${colors.green}created${colors.reset} Sol/`);
|
|
25206
25206
|
}
|
|
25207
25207
|
const prismadir = join11(webdir, "prisma");
|
|
25208
25208
|
if (!existsSync11(prismadir)) {
|
|
25209
25209
|
mkdirSync10(prismadir, { recursive: true });
|
|
25210
|
-
console.log(`${colors.green}created${colors.reset}
|
|
25210
|
+
console.log(`${colors.green}created${colors.reset} Sol/prisma/`);
|
|
25211
25211
|
}
|
|
25212
25212
|
const existing = await findconfig();
|
|
25213
25213
|
if (existing || existsSync11(configpath())) {
|
|
@@ -25240,17 +25240,17 @@ ${colors.bold}--- version ${i + 1} of ${versioncount} ---${colors.reset}`);
|
|
|
25240
25240
|
};
|
|
25241
25241
|
writeFileSync11(configpath(), generateconfigcontent(definition));
|
|
25242
25242
|
console.log(`
|
|
25243
|
-
${colors.green}created${colors.reset}
|
|
25243
|
+
${colors.green}created${colors.reset} Sol/config.mjs`);
|
|
25244
25244
|
const schemapath = join11(webdir, "schema.prisma");
|
|
25245
25245
|
writeFileSync11(schemapath, schematemplate);
|
|
25246
|
-
console.log(`${colors.green}created${colors.reset}
|
|
25246
|
+
console.log(`${colors.green}created${colors.reset} Sol/schema.prisma`);
|
|
25247
25247
|
writeFileSync11(join11(targetdir, "prisma.config.ts"), prismaconfigtemplate);
|
|
25248
25248
|
console.log(`${colors.green}created${colors.reset} prisma.config.ts`);
|
|
25249
25249
|
const envpath = join11(targetdir, ".env.example");
|
|
25250
25250
|
const envlines = [
|
|
25251
25251
|
"# gateway environment",
|
|
25252
25252
|
"# database url \u2014 libsql http postgres or file",
|
|
25253
|
-
"# DEVTHINK_DATABASE_URL=file:./
|
|
25253
|
+
"# DEVTHINK_DATABASE_URL=file:./Sol/prisma/devthink.db",
|
|
25254
25254
|
""
|
|
25255
25255
|
];
|
|
25256
25256
|
for (const [id, v] of Object.entries(versions)) {
|
|
@@ -25265,7 +25265,7 @@ ${colors.green}created${colors.reset} web/config.mjs`);
|
|
|
25265
25265
|
console.log(`${colors.green}created${colors.reset} .env.example`);
|
|
25266
25266
|
console.log(`
|
|
25267
25267
|
${colors.green}${colors.bold}done${colors.reset} \u2014 next steps:`);
|
|
25268
|
-
console.log(" 1. edit
|
|
25268
|
+
console.log(" 1. edit Sol/config.mjs to tune your configuration");
|
|
25269
25269
|
console.log(" 2. register keys: npx @wenathlan/devthink gateway keys <version>");
|
|
25270
25270
|
console.log(" 3. install prisma: npm i -D prisma");
|
|
25271
25271
|
console.log(" 4. push + generate: npx prisma db push && npx prisma generate");
|
|
@@ -25547,7 +25547,7 @@ async function cmdexport(dirarg) {
|
|
|
25547
25547
|
writeFileSync11(join11(target, name), readFileSync10(found.path, "utf8"));
|
|
25548
25548
|
console.log(`${colors.green}exported${colors.reset} ${name}`);
|
|
25549
25549
|
}
|
|
25550
|
-
const schemapath = resolve8(process.cwd(), "
|
|
25550
|
+
const schemapath = resolve8(process.cwd(), "Sol", "schema.prisma");
|
|
25551
25551
|
if (existsSync11(schemapath)) {
|
|
25552
25552
|
writeFileSync11(join11(target, "schema.prisma"), readFileSync10(schemapath, "utf8"));
|
|
25553
25553
|
console.log(`${colors.green}exported${colors.reset} schema.prisma`);
|
|
@@ -25565,7 +25565,7 @@ function printhelp() {
|
|
|
25565
25565
|
"Usage: devthink gateway <command> [options]",
|
|
25566
25566
|
"",
|
|
25567
25567
|
"Commands:",
|
|
25568
|
-
" init scaffold
|
|
25568
|
+
" init scaffold Sol/config.mjs schema and env interactively",
|
|
25569
25569
|
" add add a new version to the config",
|
|
25570
25570
|
" list list configured versions",
|
|
25571
25571
|
" show <version> show one version config",
|
package/umd-example.html
CHANGED