page-harness 0.1.5 → 0.1.7
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 +6 -6
- package/README.zh-CN.md +6 -6
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://
|
|
2
|
+
<img src="https://cdn.jsdelivr.net/npm/page-harness@0.1.6/docs/logo.svg" width="72" alt="page-harness logo">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<h1 align="center">page-harness</h1>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
</p>
|
|
26
26
|
|
|
27
27
|
<p align="center">
|
|
28
|
-
<img src="https://
|
|
28
|
+
<img src="https://cdn.jsdelivr.net/npm/page-harness@0.1.6/docs/hero.webp" width="720" alt="page-harness promo video (0:30)">
|
|
29
29
|
</p>
|
|
30
30
|
|
|
31
31
|
<p align="center"><sub>0:30 · 1080p</sub></p>
|
|
@@ -76,25 +76,25 @@ Open **http://127.0.0.1:17990**. That is your app as usual, plus a dock in the b
|
|
|
76
76
|
|
|
77
77
|
**Pick and Notes, nothing else.** With `--no-agent` no agent CLI is started. Pick an element, leave a comment or an edit, reply, resolve and approve per page. [Details →](#review-only---no-agent)
|
|
78
78
|
|
|
79
|
-
<p align="center"><img src="https://
|
|
79
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/page-harness@0.1.6/docs/review-only.png" width="720" alt="Page notes panel in review-only mode"></p>
|
|
80
80
|
|
|
81
81
|
### Bookmarklet home
|
|
82
82
|
|
|
83
83
|
**One button to drag.** Run `npx page-harness` with no URL and the home page has a single **✦ Page-Harness** button. Drag it to the bookmarks bar. [Details →](#bookmarklet-no-url)
|
|
84
84
|
|
|
85
|
-
<p align="center"><img src="https://
|
|
85
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/page-harness@0.1.6/docs/home.png" width="520" alt="Home page with the ✦ Page-Harness button"></p>
|
|
86
86
|
|
|
87
87
|
### Notes on any site
|
|
88
88
|
|
|
89
89
|
**Click the bookmark on any page.** The dock is injected into that page in a Shadow DOM, with no proxy, and notes are saved to your local server, grouped by site.
|
|
90
90
|
|
|
91
|
-
<p align="center"><img src="https://
|
|
91
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/page-harness@0.1.6/docs/bookmarklet.png" width="720" alt="Bookmarklet dock on a plain page"></p>
|
|
92
92
|
|
|
93
93
|
### My notes
|
|
94
94
|
|
|
95
95
|
**Every site's notes in one place.** Sites on the left, that site's notes on the right, with Export Markdown, Export JSON and Copy prompt for your agent.
|
|
96
96
|
|
|
97
|
-
<p align="center"><img src="https://
|
|
97
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/page-harness@0.1.6/docs/home-notes.png" width="720" alt="My notes view"></p>
|
|
98
98
|
|
|
99
99
|
## How it works
|
|
100
100
|
|
package/README.zh-CN.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://
|
|
2
|
+
<img src="https://cdn.jsdelivr.net/npm/page-harness@0.1.6/docs/logo.svg" width="72" alt="page-harness logo">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<h1 align="center">page-harness</h1>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
</p>
|
|
26
26
|
|
|
27
27
|
<p align="center">
|
|
28
|
-
<img src="https://
|
|
28
|
+
<img src="https://cdn.jsdelivr.net/npm/page-harness@0.1.6/docs/hero-zh.webp" width="720" alt="page-harness 宣传视频(36 秒)">
|
|
29
29
|
</p>
|
|
30
30
|
|
|
31
31
|
<p align="center"><sub>36 秒 · 1080p</sub></p>
|
|
@@ -76,25 +76,25 @@ npx page-harness # 不给地址:打开书
|
|
|
76
76
|
|
|
77
77
|
**只有取点和意见。** 加 `--no-agent` 就不启动 Agent CLI。点元素留评论或者直接改,回复、解决、按页面审批都行。[详细 →](#仅评审--no-agent)
|
|
78
78
|
|
|
79
|
-
<p align="center"><img src="https://
|
|
79
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/page-harness@0.1.6/docs/review-only-zh.png" width="720" alt="仅评审模式下的页面意见面板"></p>
|
|
80
80
|
|
|
81
81
|
### 书签主页
|
|
82
82
|
|
|
83
83
|
**就一个按钮,拖走就行。** 不给地址直接跑 `npx page-harness`,主页上只有一个 **✦ Page-Harness** 按钮,拖到书签栏。[详细 →](#书签不给地址)
|
|
84
84
|
|
|
85
|
-
<p align="center"><img src="https://
|
|
85
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/page-harness@0.1.6/docs/home-zh.png" width="520" alt="主页上的 ✦ Page-Harness 按钮"></p>
|
|
86
86
|
|
|
87
87
|
### 任意网站留意见
|
|
88
88
|
|
|
89
89
|
**打开哪个网页都能点。** 底栏直接注入到当前页面(放在 Shadow DOM 里,不走代理),意见存到本机服务,按网站分好。
|
|
90
90
|
|
|
91
|
-
<p align="center"><img src="https://
|
|
91
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/page-harness@0.1.6/docs/bookmarklet-zh.png" width="720" alt="书签注入到普通页面上的底栏"></p>
|
|
92
92
|
|
|
93
93
|
### 我的标记
|
|
94
94
|
|
|
95
95
|
**所有网站的意见都在这。** 左边网站,右边这个网站的意见,可以导出 Markdown、导出 JSON,或者复制 Prompt 丢给 Agent。
|
|
96
96
|
|
|
97
|
-
<p align="center"><img src="https://
|
|
97
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/page-harness@0.1.6/docs/home-notes-zh.png" width="720" alt="我的标记页"></p>
|
|
98
98
|
|
|
99
99
|
## 原理
|
|
100
100
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "page-harness",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Point it at any frontend URL and get Pick / Artifacts / Chat on the page, driven by the coding agent CLI on your machine.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
"live-preview"
|
|
14
14
|
],
|
|
15
15
|
"license": "MIT",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/Tencent/page-harness.git"
|
|
19
|
+
},
|
|
16
20
|
"type": "module",
|
|
17
21
|
"bin": {
|
|
18
22
|
"page-harness": "dist/cli.js"
|