@wenathlan/devthink 1.1.16 → 2.0.2
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 +1288 -0
- package/README.md +6 -0
- package/bridge.d.ts +698 -0
- package/bridge.d.ts.map +1 -0
- package/bridge.js +1877 -0
- package/bun.d.ts +8 -0
- package/bun.d.ts.map +1 -0
- package/bun.js +52329 -0
- package/caps/background.json +712 -0
- package/caps/cli.json +360 -0
- package/caps/library.json +3611 -0
- package/caps/mcp.json +126 -0
- package/caps/pagebridge.json +377 -0
- package/caps/popup.json +51 -0
- package/caps/sidepanel.json +522 -0
- package/checksums.txt +142 -0
- package/cli.d.ts +187 -0
- package/cli.d.ts.map +1 -0
- package/cli.js +18197 -0
- package/companion.d.ts +19 -0
- package/companion.d.ts.map +1 -0
- package/companion.js +389 -0
- package/crossbrowser.d.ts +277 -0
- package/crossbrowser.d.ts.map +1 -0
- package/crossbrowser.js +1191 -0
- package/dashdone.d.ts +273 -0
- package/dashdone.d.ts.map +1 -0
- package/dashdone.js +368 -0
- package/deno.d.ts +11 -0
- package/deno.d.ts.map +1 -0
- package/deno.js +52325 -0
- package/devthink.umd.js +52346 -0
- package/fixtures/bun.ts +7 -0
- package/fixtures/cjs.js +6 -0
- package/fixtures/deno.ts +6 -0
- package/fixtures/example-org-pagestate.json +22 -0
- package/fixtures/importers/automa-workflow.json +18 -0
- package/fixtures/importers/selenium-side.json +20 -0
- package/fixtures/importers/tabular-plan.csv +7 -0
- package/fixtures/importers/uivision-macro.json +10 -0
- package/fixtures/importers/v1-plan.json +13 -0
- package/fixtures/mcp-client.mjs +14 -0
- package/fixtures/pages/checkout.html +192 -0
- package/fixtures/pages/dashboard.html +110 -0
- package/fixtures/pages/feed.html +113 -0
- package/fixtures/pages/product-grid.html +150 -0
- package/fixtures/plans/form-inventory-plan.json +11 -0
- package/fixtures/plans/release-notes-plan.json +11 -0
- package/fixtures/recipes/agentscompete.json +11 -0
- package/fixtures/recipes/agentsforms.json +11 -0
- package/fixtures/recipes/agentsmonitor.json +11 -0
- package/fixtures/recipes/agentsreview.json +29 -0
- package/fixtures/recipes/agentswarm.json +11 -0
- package/fixtures/recipes/fillcalendar.json +12 -0
- package/fixtures/recipes/fillcheckout.json +13 -0
- package/fixtures/recipes/filldependentdropdowns.json +12 -0
- package/fixtures/recipes/fillfromcsv.json +13 -0
- package/fixtures/recipes/fillloginform.json +12 -0
- package/fixtures/recipes/fillmultistepwizard.json +13 -0
- package/fixtures/recipes/fillregistration.json +12 -0
- package/fixtures/recipes/fillsearchfilters.json +12 -0
- package/fixtures/recipes/filltypeahead.json +11 -0
- package/fixtures/recipes/monitoralerts.json +12 -0
- package/fixtures/recipes/monitoravailability.json +11 -0
- package/fixtures/recipes/monitornetworkquiet.json +12 -0
- package/fixtures/recipes/monitorpagechanges.json +11 -0
- package/fixtures/recipes/monitorpricechange.json +11 -0
- package/fixtures/recipes/monitorschedule.json +12 -0
- package/fixtures/recipes/scrapedynamicprices.json +13 -0
- package/fixtures/recipes/scrapeimagegallery.json +12 -0
- package/fixtures/recipes/scrapeinfinitefeed.json +13 -0
- package/fixtures/recipes/scrapenestedlists.json +12 -0
- package/fixtures/recipes/scrapeproductgrid.json +12 -0
- package/fixtures/recipes/scrapereviews.json +12 -0
- package/fixtures/recipes/scrapesearchresults.json +12 -0
- package/fixtures/recipes/scrapetablepagination.json +12 -0
- package/fixtures/recipes/testaccessibility.json +34 -0
- package/fixtures/recipes/testconsoleerrors.json +12 -0
- package/fixtures/recipes/testdeeplinks.json +12 -0
- package/fixtures/recipes/testformvalidation.json +13 -0
- package/fixtures/recipes/testlayoutshift.json +12 -0
- package/fixtures/recipes/testlinkcheck.json +12 -0
- package/fixtures/recipes/testloadtiming.json +12 -0
- package/fixtures/recipes/testvisualdiff.json +12 -0
- package/fixtures/workflows/changelog-digest-workflow.json +13 -0
- package/fixtures/workflows/form-survey-workflow.json +13 -0
- package/gallery.json +706 -0
- package/hardening.d.ts +81 -0
- package/hardening.d.ts.map +1 -0
- package/hardening.js +188 -0
- package/headless.d.ts +114 -0
- package/headless.d.ts.map +1 -0
- package/headless.js +11522 -0
- package/http.d.ts +636 -0
- package/http.d.ts.map +1 -0
- package/http.js +2165 -0
- package/index.cjs +54682 -0
- package/index.d.ts +40 -0
- package/index.d.ts.map +1 -0
- package/index.js +52310 -0
- package/index.neutral.js +46343 -0
- package/manifest.json +199 -0
- package/mcp.d.ts +501 -0
- package/mcp.d.ts.map +1 -0
- package/mcp.js +20515 -0
- package/memory.d.ts +2397 -0
- package/memory.d.ts.map +1 -0
- package/memory.js +5782 -0
- package/nativehost.template.json +10 -0
- package/node.cjs +54686 -0
- package/node.d.ts +8 -0
- package/node.d.ts.map +1 -0
- package/pack.d.ts +211 -0
- package/pack.d.ts.map +1 -0
- package/pack.js +805 -0
- package/package.json +101 -51
- package/policy.d.ts +1854 -0
- package/policy.d.ts.map +1 -0
- package/policy.js +12580 -0
- package/progress.d.ts +390 -0
- package/progress.d.ts.map +1 -0
- package/progress.js +645 -0
- package/protocol.d.ts +2336 -0
- package/protocol.d.ts.map +1 -0
- package/protocol.js +8334 -0
- package/schemas/audit.schema.json +226 -0
- package/schemas/capability.schema.json +113 -0
- package/schemas/envelope.schema.json +162 -0
- package/schemas/memory.schema.json +51 -0
- package/schemas/observation.schema.json +113 -0
- package/schemas/plan.schema.json +208 -0
- package/schemas/progress.schema.json +126 -0
- package/schemas/proposal.schema.json +68 -0
- package/schemas/session.schema.json +82 -0
- package/schemas/tool.schema.json +94 -0
- package/server.d.ts +435 -0
- package/server.d.ts.map +1 -0
- package/server.js +28872 -0
- package/umd-example.html +18 -0
- package/umd.d.ts +6 -0
- package/umd.d.ts.map +1 -0
- package/build.ts +0 -41
- package/check-secrets.ts +0 -52
- package/compatibility.ts +0 -37
- package/config.ts +0 -246
- package/devthink.ts +0 -397
- package/identity.ts +0 -156
- package/ids.ts +0 -22
- package/memory.ts +0 -95
- package/modes.ts +0 -43
- package/plugin.ts +0 -68
- package/providers.ts +0 -179
- package/server.ts +0 -264
- package/session.ts +0 -155
- package/storage.ts +0 -82
- package/stream.ts +0 -130
- package/sync.ts +0 -27
- package/terminal-ui.tsx +0 -155
- package/ui.ts +0 -143
- package/workspace.ts +0 -20
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Check the accessibility of the gallery fixture store",
|
|
4
|
+
"origin": "https://productgrid.test",
|
|
5
|
+
"grants": [
|
|
6
|
+
"readertree",
|
|
7
|
+
"readoutline",
|
|
8
|
+
"readmeta",
|
|
9
|
+
"verifyvisible"
|
|
10
|
+
],
|
|
11
|
+
"steps": [
|
|
12
|
+
{
|
|
13
|
+
"id": "tree",
|
|
14
|
+
"kind": "readertree",
|
|
15
|
+
"label": "Read the reader tree of the page"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": "outline",
|
|
19
|
+
"kind": "readoutline",
|
|
20
|
+
"label": "Read the heading outline"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "meta",
|
|
24
|
+
"kind": "readmeta",
|
|
25
|
+
"label": "Read the page metadata"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "labels",
|
|
29
|
+
"kind": "verifyvisible",
|
|
30
|
+
"label": "Verify the gallery labels render",
|
|
31
|
+
"target": ".gallery img"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Check the console errors of the gallery fixture dashboard",
|
|
4
|
+
"origin": "https://dashboard.test",
|
|
5
|
+
"grants": ["observe", "watchconsole", "watcherrors", "readerrors"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the dashboard page" },
|
|
8
|
+
{ "id": "console", "kind": "watchconsole", "label": "Watch the console output" },
|
|
9
|
+
{ "id": "errors", "kind": "watcherrors", "label": "Watch the runtime errors" },
|
|
10
|
+
{ "id": "report", "kind": "readerrors", "label": "Read the error report" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Test the deep link coverage of the gallery fixture dashboard",
|
|
4
|
+
"origin": "https://dashboard.test",
|
|
5
|
+
"grants": ["observe", "readlinks", "readfinalurl", "countpages"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the deep linked dashboard" },
|
|
8
|
+
{ "id": "links", "kind": "readlinks", "label": "Read the deep link anchors" },
|
|
9
|
+
{ "id": "final", "kind": "readfinalurl", "label": "Read the final url of the links" },
|
|
10
|
+
{ "id": "pages", "kind": "countpages", "label": "Count the deep link pages" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Test the form validation of the gallery fixture checkout",
|
|
4
|
+
"origin": "https://checkout.test",
|
|
5
|
+
"grants": ["observe", "readforms", "detectfields", "readerrors", "verifyvisible"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the validated form" },
|
|
8
|
+
{ "id": "fields", "kind": "readforms", "label": "Read the form controls" },
|
|
9
|
+
{ "id": "shapes", "kind": "detectfields", "label": "Detect the field shapes" },
|
|
10
|
+
{ "id": "errors", "kind": "readerrors", "label": "Read the validation errors" },
|
|
11
|
+
{ "id": "banner", "kind": "verifyvisible", "label": "Verify the error banner renders", "target": ".form-error" }
|
|
12
|
+
]
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Test the layout shift of the gallery fixture dashboard",
|
|
4
|
+
"origin": "https://dashboard.test",
|
|
5
|
+
"grants": ["observe", "watchshifts", "traceload", "measureflow"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the shifting dashboard" },
|
|
8
|
+
{ "id": "shifts", "kind": "watchshifts", "label": "Watch the layout shifts" },
|
|
9
|
+
{ "id": "load", "kind": "traceload", "label": "Trace the load timeline" },
|
|
10
|
+
{ "id": "flow", "kind": "measureflow", "label": "Measure the render flow" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Check the links of the gallery fixture store",
|
|
4
|
+
"origin": "https://productgrid.test",
|
|
5
|
+
"grants": ["observe", "readlinks", "countelements", "detecthttp"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the linked page" },
|
|
8
|
+
{ "id": "links", "kind": "readlinks", "label": "Read the page links" },
|
|
9
|
+
{ "id": "anchors", "kind": "countelements", "label": "Count the page anchors", "target": ".product-grid a" },
|
|
10
|
+
{ "id": "protocols", "kind": "detecthttp", "label": "Check the link protocols" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Test the load timing of the gallery fixture dashboard",
|
|
4
|
+
"origin": "https://dashboard.test",
|
|
5
|
+
"grants": ["observe", "traceload", "measureflow", "watchrequests"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the timed dashboard" },
|
|
8
|
+
{ "id": "load", "kind": "traceload", "label": "Trace the load timeline" },
|
|
9
|
+
{ "id": "flow", "kind": "measureflow", "label": "Measure the render flow" },
|
|
10
|
+
{ "id": "requests", "kind": "watchrequests", "label": "Watch the page requests" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Run the visual regression check of the gallery fixture store",
|
|
4
|
+
"origin": "https://productgrid.test",
|
|
5
|
+
"grants": ["observe", "shotview", "shotelement", "diffsnapshots"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the gallery store page" },
|
|
8
|
+
{ "id": "viewport", "kind": "shotview", "label": "Capture the viewport snapshot" },
|
|
9
|
+
{ "id": "element", "kind": "shotelement", "label": "Capture the gallery element snapshot", "target": ".gallery" },
|
|
10
|
+
{ "id": "diff", "kind": "diffsnapshots", "label": "Diff the captured snapshots" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.1.79",
|
|
3
|
+
"workflow": {
|
|
4
|
+
"name": "changelog digest",
|
|
5
|
+
"version": 1,
|
|
6
|
+
"origins": ["https://example.org"],
|
|
7
|
+
"steps": [
|
|
8
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the changelog page" },
|
|
9
|
+
{ "id": "wait", "kind": "waitelement", "label": "Wait for the changelog list", "target": "main" },
|
|
10
|
+
{ "id": "read", "kind": "readtext", "label": "Read the changelog text", "target": "main" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.1.79",
|
|
3
|
+
"workflow": {
|
|
4
|
+
"name": "form survey",
|
|
5
|
+
"version": 1,
|
|
6
|
+
"origins": ["https://example.org"],
|
|
7
|
+
"steps": [
|
|
8
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the survey page" },
|
|
9
|
+
{ "id": "wait", "kind": "waitelement", "label": "Wait for the survey form", "target": "form" },
|
|
10
|
+
{ "id": "read", "kind": "readtext", "label": "Read the survey instructions", "target": "main" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
}
|