webhands 0.3.0 → 0.4.0

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 CHANGED
@@ -83,10 +83,26 @@ This is a **personal-use** tool. Its whole premise is that you drive a browser
83
83
  [`docs/adr/0002`](docs/adr/0002-real-session-over-fingerprint-spoofing.md)). It is
84
84
  deliberately local and single-session by design.
85
85
 
86
- - **No login-bypass, no CAPTCHA-solving.** The human does the one-time login and
87
- clears any anti-bot challenge in the headed `setup-profile` step. This tool
88
- does NOT bypass authentication or solve CAPTCHAs programmatically, and it is not
89
- intended to.
86
+ - **No login-bypass, no built-in CAPTCHA solver.** The human does the one-time
87
+ login and clears any anti-bot challenge in the headed `setup-profile` step.
88
+ webhands ships NO captcha solver and NO provider key, and does not bypass
89
+ authentication itself. What changed: the verb surface is now rich enough that it
90
+ no longer STANDS IN THE WAY of a capable agent that brings its OWN key. Such an
91
+ agent can get past a captcha by poking the page with verbs, both families: the
92
+ token-harvest family by reading the sitekey with a frame-aware `query`, `type`ing
93
+ a provider token into the response sink, and firing the callback; the vision/tile
94
+ family with the coordinate `mouse`, the element-clipped `screenshot`, and the
95
+ cross-origin frame read. We do not solve it; we no longer stand in the way. The
96
+ agent supplies its own key and its own logic (or uses a hand, below). webhands
97
+ is capable, not a solver.
98
+ - **Hands are the simpler path (still).** A *hand* is a third-party capability
99
+ module (`iamhuman` today, a future buy-on-amazon hand) that closes over the live
100
+ page and makes the hard thing ONE call. A dumb agent plus a hand still gets there
101
+ in a single call, even though a capable agent can now do the same over several
102
+ verb turns. The two paths coexist: the verb surface is the floor that makes the
103
+ unaided path POSSIBLE; a hand is the ramp that makes it EASY. (A hand is a
104
+ trusted in-process peer, loaded only when you name it in `hands.json`; see
105
+ [`docs/adr/0007`](docs/adr/0007-public-hand-contract-and-explicit-declarative-loading.md).)
90
106
  - **No fingerprint-spoofing / anti-detect tricks.** It leans on being a *real*
91
107
  browser/profile/IP rather than spoofing. There is no proxy *rotation* or
92
108
  anti-detect build here. (A single, user-chosen SOCKS proxy for traffic/DNS
package/dist/cli.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAI,MAAM,OAAO,CAAC;AAC7B,OAAO,EACN,WAAW,EACX,sBAAsB,EAWtB,KAAK,UAAU,EACf,KAAK,oBAAoB,EAKzB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAEN,KAAK,eAAe,EACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAG5C;;;;GAIG;AACH,eAAO,MAAM,QAAQ,aAAa,CAAC;AAMnC;;;;GAIG;AACH,eAAO,MAAM,eAAe,YAAY,CAAC;AAEzC,4FAA4F;AAC5F,MAAM,WAAW,OAAO;IACvB;;;;;OAKG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,eAAe,CAAC;IAC3C;;;OAGG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,YAAY,CAAC;IAC5C,sEAAsE;IACtE,QAAQ,CAAC,IAAI,CAAC,EAAE;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAA;KAAC,CAAC;IACzD;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,YAAY,CAAC;IACrC;;;;OAIG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,CAC1B,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAA;CAAC,EACjD,YAAY,CAAC,EAAE,YAAY,KACvB,OAAO,CAAC,oBAAoB,CAAC,C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