@comchatx/cx-listing-watch 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.md +14 -2
- package/package.json +75 -4
- package/prompts/listing-watch.md +9 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 ComChatX
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
Tell cx in your own words how to watch your listings, such as “check it every day and tell me only when something needs changing”, and cx keeps to it on a schedule.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## How it works
|
|
4
|
+
|
|
5
|
+
- Type `/listing-watch` with the ASINs and what you want. cx asks only what your words leave open: how often, when to tell you, where to tell you, and what it may change without asking you.
|
|
6
|
+
- cx writes your words down as the instruction it follows for each listing, in your files, where you can read and change it.
|
|
7
|
+
- At each check cx looks at the listing and the market, and tells you only what you asked to hear.
|
|
8
|
+
|
|
9
|
+
## What it uses
|
|
10
|
+
|
|
11
|
+
It uses cx-listing-playbook for reviewing a listing, Amazon SP-API for your store, Keepa for the market's history where you have it, cx-schedule for the times, and cx-feishu to tell you in Feishu. Plugins installs them with it.
|
|
12
|
+
|
|
13
|
+
## What it costs
|
|
14
|
+
|
|
15
|
+
Checks run only while cx's computer is on, and you pay for that time and for the data each check reads.
|
package/package.json
CHANGED
|
@@ -1,6 +1,77 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comchatx/cx-listing-watch",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Has cx watch your listings on a schedule and tell you what needs changing.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "ComChatX",
|
|
7
|
+
"comchatx": {
|
|
8
|
+
"about": "让 cx 在你设定的时间检查 listing,需要修改时再告诉你。",
|
|
9
|
+
"description": "告诉 cx 你想怎样盯着自己的 listing,比如“以后每天帮我看一下,有需要改的再告诉我”,cx 会按时照此执行。\n\n## 怎么用\n\n- 输入 `/listing-watch`,加上 ASIN 和你的要求。你的话里没说清的,cx 才会问:多久看一次、什么时候告诉你、在哪里告诉你,以及哪些可以不问你就改。\n- cx 会把你的话记成每个 listing 的执行说明,存在你的文件里,你可以随时查看和修改。\n- 每次检查时,cx 会查看 listing 和市场情况,只告诉你你想知道的事。\n\n## 它会用到\n\n它用 cx-listing-playbook 检查 listing,用 Amazon SP-API 读取你的店铺,有 Keepa 时用它查看市场历史,用 cx-schedule 定时,用 cx-feishu 在飞书里通知你。安装时会一并装好这些插件。\n\n## 费用\n\n检查只在 cx 的电脑开机时运行,开机时长和每次检查读取的数据都需要付费。",
|
|
10
|
+
"mark": {
|
|
11
|
+
"line": "review"
|
|
12
|
+
},
|
|
13
|
+
"section": "extensions",
|
|
14
|
+
"order": 52,
|
|
15
|
+
"tryIt": [
|
|
16
|
+
{
|
|
17
|
+
"en": "/listing-watch {asin} Check it every day, tell me only when something needs changing",
|
|
18
|
+
"zh": "/listing-watch {asin} 每天检查一次这个 listing,需要修改时再告诉我。"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"needs": [
|
|
22
|
+
"@comchatx/cx-schedule",
|
|
23
|
+
"cx-feishu"
|
|
24
|
+
],
|
|
25
|
+
"builds": [
|
|
26
|
+
"@comchatx/cx-schedule",
|
|
27
|
+
"cx-feishu",
|
|
28
|
+
"cx-listing-playbook",
|
|
29
|
+
"cx-amazon-sp-api",
|
|
30
|
+
{
|
|
31
|
+
"on": "cx-keepa",
|
|
32
|
+
"need": "optional"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"homepage": "https://github.com/comchatx/cx-listing-watch#readme",
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "git+https://github.com/comchatx/cx-listing-watch.git"
|
|
40
|
+
},
|
|
41
|
+
"bugs": "https://github.com/comchatx/cx-listing-watch/issues",
|
|
42
|
+
"keywords": [
|
|
43
|
+
"pi-package"
|
|
44
|
+
],
|
|
45
|
+
"type": "module",
|
|
46
|
+
"pi": {
|
|
47
|
+
"prompts": [
|
|
48
|
+
"./prompts"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"files": [
|
|
52
|
+
"prompts"
|
|
53
|
+
],
|
|
54
|
+
"scripts": {
|
|
55
|
+
"typecheck": "tsc --noEmit",
|
|
56
|
+
"test": "vitest run"
|
|
57
|
+
},
|
|
58
|
+
"peerDependencies": {
|
|
59
|
+
"@earendil-works/pi-coding-agent": "*"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@earendil-works/pi-ai": "1.1.0",
|
|
63
|
+
"@earendil-works/pi-coding-agent": "1.1.0",
|
|
64
|
+
"@types/node": "26.2.0",
|
|
65
|
+
"typescript": "7.0.2",
|
|
66
|
+
"vitest": "4.1.11"
|
|
67
|
+
},
|
|
68
|
+
"overrides": {
|
|
69
|
+
"@earendil-works/chord": "1.1.0",
|
|
70
|
+
"@earendil-works/pi-ai": "1.1.0",
|
|
71
|
+
"@earendil-works/pi-mcp": "1.1.0",
|
|
72
|
+
"@earendil-works/pi-tui": "1.1.0",
|
|
73
|
+
"@earendil-works/pi-codemode": "1.1.0",
|
|
74
|
+
"@earendil-works/pi-agent-core": "1.1.0",
|
|
75
|
+
"@earendil-works/pi-telemetry": "1.1.0"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Have cx watch your listings on a schedule and tell you what needs changing — e.g. /listing-watch <ASIN> 以后每天帮我盯着这个 listing,有要改的告诉我,没事别吵
|
|
3
|
+
argument-hint: "<ASINs> <what you want, in your words>"
|
|
4
|
+
---
|
|
5
|
+
Watch my listings $1 from my words: ${@:2}
|
|
6
|
+
|
|
7
|
+
Write my standing instruction for each listing in /tenant/listings/<ASIN>/watch.md, quoting my words: what to watch, how often, when to tell me and when to stay quiet, where to tell me, and what you may change without asking me and within what floor. Ask me only what my words and my files leave open.
|
|
8
|
+
|
|
9
|
+
Then set the schedule, and report to me where I said.
|