webpeel 0.19.3 → 0.19.5
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/README.md +2 -2
- package/dist/cli.d.ts +7 -5
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +35 -4697
- package/dist/cli.js.map +1 -1
- package/dist/mcp/handlers/act.d.ts +6 -0
- package/dist/mcp/handlers/act.d.ts.map +1 -0
- package/dist/mcp/handlers/act.js +35 -0
- package/dist/mcp/handlers/act.js.map +1 -0
- package/dist/mcp/handlers/definitions.d.ts +7 -0
- package/dist/mcp/handlers/definitions.d.ts.map +1 -0
- package/dist/mcp/handlers/definitions.js +267 -0
- package/dist/mcp/handlers/definitions.js.map +1 -0
- package/dist/mcp/handlers/extract.d.ts +7 -0
- package/dist/mcp/handlers/extract.d.ts.map +1 -0
- package/dist/mcp/handlers/extract.js +103 -0
- package/dist/mcp/handlers/extract.js.map +1 -0
- package/dist/mcp/handlers/fetch.d.ts +7 -0
- package/dist/mcp/handlers/fetch.d.ts.map +1 -0
- package/dist/mcp/handlers/fetch.js +99 -0
- package/dist/mcp/handlers/fetch.js.map +1 -0
- package/dist/mcp/handlers/find.d.ts +6 -0
- package/dist/mcp/handlers/find.d.ts.map +1 -0
- package/dist/mcp/handlers/find.js +138 -0
- package/dist/mcp/handlers/find.js.map +1 -0
- package/dist/mcp/handlers/index.d.ts +14 -0
- package/dist/mcp/handlers/index.d.ts.map +1 -0
- package/dist/mcp/handlers/index.js +62 -0
- package/dist/mcp/handlers/index.js.map +1 -0
- package/dist/mcp/handlers/legacy.d.ts +26 -0
- package/dist/mcp/handlers/legacy.d.ts.map +1 -0
- package/dist/mcp/handlers/legacy.js +451 -0
- package/dist/mcp/handlers/legacy.js.map +1 -0
- package/dist/mcp/handlers/meta.d.ts +7 -0
- package/dist/mcp/handlers/meta.d.ts.map +1 -0
- package/dist/mcp/handlers/meta.js +32 -0
- package/dist/mcp/handlers/meta.js.map +1 -0
- package/dist/mcp/handlers/monitor.d.ts +6 -0
- package/dist/mcp/handlers/monitor.d.ts.map +1 -0
- package/dist/mcp/handlers/monitor.js +42 -0
- package/dist/mcp/handlers/monitor.js.map +1 -0
- package/dist/mcp/handlers/read.d.ts +7 -0
- package/dist/mcp/handlers/read.d.ts.map +1 -0
- package/dist/mcp/handlers/read.js +64 -0
- package/dist/mcp/handlers/read.js.map +1 -0
- package/dist/mcp/handlers/see.d.ts +6 -0
- package/dist/mcp/handlers/see.d.ts.map +1 -0
- package/dist/mcp/handlers/see.js +76 -0
- package/dist/mcp/handlers/see.js.map +1 -0
- package/dist/mcp/handlers/types.d.ts +30 -0
- package/dist/mcp/handlers/types.d.ts.map +1 -0
- package/dist/mcp/handlers/types.js +29 -0
- package/dist/mcp/handlers/types.js.map +1 -0
- package/dist/mcp/server.d.ts +3 -3
- package/dist/mcp/server.js +35 -1100
- package/dist/mcp/server.js.map +1 -1
- package/dist/server/app.d.ts.map +1 -1
- package/dist/server/app.js +7 -4
- package/dist/server/app.js.map +1 -1
- package/dist/server/routes/mcp.d.ts +5 -8
- package/dist/server/routes/mcp.d.ts.map +1 -1
- package/dist/server/routes/mcp.js +55 -1006
- package/dist/server/routes/mcp.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
+
<a href="https://github.com/webpeel/webpeel/actions/workflows/ci.yml"><img src="https://github.com/webpeel/webpeel/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
8
9
|
<a href="https://www.npmjs.com/package/webpeel"><img src="https://img.shields.io/npm/v/webpeel.svg?style=flat-square" alt="npm version"></a>
|
|
9
10
|
<a href="https://pypi.org/project/webpeel/"><img src="https://img.shields.io/pypi/v/webpeel.svg?style=flat-square" alt="PyPI version"></a>
|
|
10
|
-
<a href="https://
|
|
11
|
-
<a href="https://github.com/webpeel/webpeel/stargazers"><img src="https://img.shields.io/github/stars/webpeel/webpeel.svg?style=flat-square" alt="GitHub stars"></a>
|
|
11
|
+
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square" alt="License: MIT"></a>
|
|
12
12
|
<a href="LICENSE"><img src="https://img.shields.io/badge/license-WebPeel%20SDK-blue.svg?style=flat-square" alt="License"></a>
|
|
13
13
|
<a href="https://webpeel.dev/status"><img src="https://img.shields.io/badge/status-operational-brightgreen.svg?style=flat-square" alt="Status"></a>
|
|
14
14
|
</p>
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
* WebPeel CLI
|
|
3
|
+
* WebPeel CLI — Entry point
|
|
4
|
+
*
|
|
5
|
+
* Registers all command groups and starts the Commander program.
|
|
6
|
+
* The heavy implementation lives in src/cli/commands/*.ts
|
|
4
7
|
*
|
|
5
8
|
* Usage:
|
|
6
9
|
* npx webpeel <url> - Fetch and convert to markdown
|
|
7
10
|
* npx webpeel <url> --json - Output as JSON
|
|
8
|
-
* npx webpeel <url> --html - Output raw HTML
|
|
9
11
|
* npx webpeel <url> --render - Force browser mode
|
|
10
|
-
* npx webpeel <url> --wait 5000 - Wait 5s for JS to load
|
|
11
12
|
* npx webpeel search "query" - DuckDuckGo search
|
|
12
|
-
* npx webpeel
|
|
13
|
-
* npx webpeel
|
|
13
|
+
* npx webpeel mcp - Start MCP server
|
|
14
|
+
* npx webpeel --help - Condensed help
|
|
15
|
+
* npx webpeel --help-all - Full option reference
|
|
14
16
|
*/
|
|
15
17
|
export {};
|
|
16
18
|
//# sourceMappingURL=cli.d.ts.map
|
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAEA
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;GAcG"}
|