@quicktvui/ai 1.1.19 → 1.1.20
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/package.json +1 -1
- package/rules/.claude/commands/create-component.md +1 -1
- package/rules/.claude/commands/create-page.md +1 -1
- package/rules/.claude/commands/create-project.md +1 -1
- package/rules/.claude/commands/lookup-api.md +1 -1
- package/rules/.claude/commands/lookup-css.md +1 -1
- package/rules/.clinerules +2 -1
- package/rules/.cursorrules +2 -1
- package/rules/.github/copilot-instructions.md +1 -1
- package/rules/.windsurfrules +2 -1
- package/rules/AGENTS.md +4 -2
- package/rules/AI_HANDOFF.md +2 -1
- package/rules/CLAUDE.md +4 -2
- package/rules/GEMINI.md +4 -2
package/package.json
CHANGED
package/rules/.clinerules
CHANGED
|
@@ -79,9 +79,10 @@ Hard requirements:
|
|
|
79
79
|
`adb -s <serial> shell "pm query-activities --brief --components -a android.intent.action.VIEW -d 'esapp://' -c android.intent.category.BROWSABLE"`
|
|
80
80
|
- For each resolved package, AI MUST output: component, package path (`pm path <pkg>`), and version (`dumpsys package <pkg> | grep -m 1 versionName`).
|
|
81
81
|
- After `quicktvui-ai run-dev --project <project-path>` reaches runtime launcher page, AI MUST send a confirm action (`adb shell input keyevent 23` or `66`, or equivalent click) on the runtime start button so runtime pulls/loads the dev bundle.
|
|
82
|
-
- AI MUST NOT stop at launcher page before triggering that confirm action, and MUST verify launch/bundle load result
|
|
82
|
+
- AI MUST NOT stop at launcher page before triggering that confirm action, and MUST verify launch/bundle load result via `quicktvui_runtime_status` / `quicktvui-ai runtime-status` when available, otherwise via logs or foreground activity status.
|
|
83
83
|
- If user asks to launch a specific ES app/version/source, run:
|
|
84
84
|
`quicktvui-ai run-esapp --project <project-path> --pkg <es-package> [options]`
|
|
85
|
+
- After `run-esapp` or any other quick-app launch action, if the task is to confirm whether launch succeeded or whether the runtime reported an error, AI SHOULD query `quicktvui_runtime_status` / `quicktvui-ai runtime-status`.
|
|
85
86
|
|
|
86
87
|
## Runtime Debug Data Workflow (CRITICAL)
|
|
87
88
|
|
package/rules/.cursorrules
CHANGED
|
@@ -79,9 +79,10 @@ Hard requirements:
|
|
|
79
79
|
`adb -s <serial> shell "pm query-activities --brief --components -a android.intent.action.VIEW -d 'esapp://' -c android.intent.category.BROWSABLE"`
|
|
80
80
|
- For each resolved package, AI MUST output: component, package path (`pm path <pkg>`), and version (`dumpsys package <pkg> | grep -m 1 versionName`).
|
|
81
81
|
- After `quicktvui-ai run-dev --project <project-path>` reaches runtime launcher page, AI MUST send a confirm action (`adb shell input keyevent 23` or `66`, or equivalent click) on the runtime start button so runtime pulls/loads the dev bundle.
|
|
82
|
-
- AI MUST NOT stop at launcher page before triggering that confirm action, and MUST verify launch/bundle load result
|
|
82
|
+
- AI MUST NOT stop at launcher page before triggering that confirm action, and MUST verify launch/bundle load result via `quicktvui_runtime_status` / `quicktvui-ai runtime-status` when available, otherwise via logs or foreground activity status.
|
|
83
83
|
- If user asks to launch a specific ES app/version/source, run:
|
|
84
84
|
`quicktvui-ai run-esapp --project <project-path> --pkg <es-package> [options]`
|
|
85
|
+
- After `run-esapp` or any other quick-app launch action, if the task is to confirm whether launch succeeded or whether the runtime reported an error, AI SHOULD query `quicktvui_runtime_status` / `quicktvui-ai runtime-status`.
|
|
85
86
|
|
|
86
87
|
## Runtime Debug Data Workflow (CRITICAL)
|
|
87
88
|
|
package/rules/.windsurfrules
CHANGED
|
@@ -79,9 +79,10 @@ Hard requirements:
|
|
|
79
79
|
`adb -s <serial> shell "pm query-activities --brief --components -a android.intent.action.VIEW -d 'esapp://' -c android.intent.category.BROWSABLE"`
|
|
80
80
|
- For each resolved package, AI MUST output: component, package path (`pm path <pkg>`), and version (`dumpsys package <pkg> | grep -m 1 versionName`).
|
|
81
81
|
- After `quicktvui-ai run-dev --project <project-path>` reaches runtime launcher page, AI MUST send a confirm action (`adb shell input keyevent 23` or `66`, or equivalent click) on the runtime start button so runtime pulls/loads the dev bundle.
|
|
82
|
-
- AI MUST NOT stop at launcher page before triggering that confirm action, and MUST verify launch/bundle load result
|
|
82
|
+
- AI MUST NOT stop at launcher page before triggering that confirm action, and MUST verify launch/bundle load result via `quicktvui_runtime_status` / `quicktvui-ai runtime-status` when available, otherwise via logs or foreground activity status.
|
|
83
83
|
- If user asks to launch a specific ES app/version/source, run:
|
|
84
84
|
`quicktvui-ai run-esapp --project <project-path> --pkg <es-package> [options]`
|
|
85
|
+
- After `run-esapp` or any other quick-app launch action, if the task is to confirm whether launch succeeded or whether the runtime reported an error, AI SHOULD query `quicktvui_runtime_status` / `quicktvui-ai runtime-status`.
|
|
85
86
|
|
|
86
87
|
## Runtime Debug Data Workflow (CRITICAL)
|
|
87
88
|
|
package/rules/AGENTS.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: AGENTS.md
|
|
3
|
-
version: 1.1.
|
|
3
|
+
version: 1.1.20
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# AGENTS.md - QuickTVUI AI Development Guide
|
|
@@ -111,9 +111,10 @@ Hard requirements:
|
|
|
111
111
|
`adb -s <serial> shell "pm query-activities --brief --components -a android.intent.action.VIEW -d 'esapp://' -c android.intent.category.BROWSABLE"`
|
|
112
112
|
- For each resolved package, AI MUST output: component, package path (`pm path <pkg>`), and version (`dumpsys package <pkg> | grep -m 1 versionName`).
|
|
113
113
|
- After `quicktvui-ai run-dev --project <project-path>` reaches runtime launcher page, AI MUST send a confirm action (`adb shell input keyevent 23` or `66`, or equivalent click) on the runtime start button so runtime pulls/loads the dev bundle.
|
|
114
|
-
- AI MUST NOT stop at launcher page before triggering that confirm action, and MUST verify launch/bundle load result from logs or foreground activity status.
|
|
114
|
+
- AI MUST NOT stop at launcher page before triggering that confirm action, and MUST verify launch/bundle load result from `quicktvui_runtime_status` / `quicktvui-ai runtime-status` when available, otherwise from logs or foreground activity status.
|
|
115
115
|
- If user asks to launch a specific ES app/version/source, run:
|
|
116
116
|
`quicktvui-ai run-esapp --project <project-path> --pkg <es-package> [options]`
|
|
117
|
+
- After `run-esapp` or any other quick-app launch action, if the task is to confirm whether launch succeeded or whether the runtime reported an error, AI SHOULD query `quicktvui_runtime_status` / `quicktvui-ai runtime-status` before concluding success or failure.
|
|
117
118
|
|
|
118
119
|
## Runtime Debug Data Workflow (CRITICAL)
|
|
119
120
|
|
|
@@ -133,6 +134,7 @@ Required non-MCP command order:
|
|
|
133
134
|
4. `quicktvui-ai debug-events --client-id <clientId> --limit 100`
|
|
134
135
|
5. `quicktvui-ai debug-native-logs --client-id <clientId> --limit 100`
|
|
135
136
|
6. `quicktvui-ai debug-screenshot --client-id <clientId> --project <project-path>`
|
|
137
|
+
7. If the task is to confirm recent quick-app launch/load success or error state, `quicktvui-ai runtime-status --device <serial>` or MCP `quicktvui_runtime_status`
|
|
136
138
|
|
|
137
139
|
Hard requirements:
|
|
138
140
|
|
package/rules/AI_HANDOFF.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: AI_HANDOFF.md
|
|
3
|
-
version: 1.1.
|
|
3
|
+
version: 1.1.20
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# QuickTVUI AI 集成 - 工作交接文档
|
|
@@ -84,6 +84,7 @@ AI 在编写业务逻辑时,极易带入传统 Web 开发习惯导致严重报
|
|
|
84
84
|
- `debug-targets` 返回空数组时,应先回到 run/dev 链路,确认 `ESDebugServer /ai/targets` 已建立
|
|
85
85
|
- `debug-screenshot` 默认会把图片写到 `<project>/.quicktvui-ai/debug-screenshots/`,后续 AI 应优先使用命令返回的 `savedTo` 路径
|
|
86
86
|
- `debug-native-logs` 与 `debug-screenshot` 的失败信息应直接向用户透明披露,不要二次包装成模糊描述
|
|
87
|
+
- 如果接手时正在排查 `run-dev`、`run-esapp`、`run_to_tv` 或其他快应用拉起后“到底有没有真正成功”这类问题,应优先补一份 `quicktvui_runtime_status` / `quicktvui-ai runtime-status` 快照,再下结论
|
|
87
88
|
|
|
88
89
|
## 插件服务工作流 (CRITICAL)
|
|
89
90
|
|
package/rules/CLAUDE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: CLAUDE.md
|
|
3
|
-
version: 1.1.
|
|
3
|
+
version: 1.1.20
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# QuickTVUI - AI 开发指南
|
|
@@ -111,9 +111,10 @@ Hard requirements:
|
|
|
111
111
|
`adb -s <serial> shell "pm query-activities --brief --components -a android.intent.action.VIEW -d 'esapp://' -c android.intent.category.BROWSABLE"`
|
|
112
112
|
- For each resolved package, AI MUST output: component, package path (`pm path <pkg>`), and version (`dumpsys package <pkg> | grep -m 1 versionName`).
|
|
113
113
|
- After `quicktvui-ai run-dev --project <project-path>` reaches runtime launcher page, AI MUST send a confirm action (`adb shell input keyevent 23` or `66`, or equivalent click) on the runtime start button so runtime pulls/loads the dev bundle.
|
|
114
|
-
- AI MUST NOT stop at launcher page before triggering that confirm action, and MUST verify launch/bundle load result
|
|
114
|
+
- AI MUST NOT stop at launcher page before triggering that confirm action, and MUST verify launch/bundle load result by first querying `quicktvui_runtime_status` / `quicktvui-ai runtime-status`; if that path is unavailable, fall back to logs or foreground activity status.
|
|
115
115
|
- If user asks to launch a specific ES app/version/source, run:
|
|
116
116
|
`quicktvui-ai run-esapp --project <project-path> --pkg <es-package> [options]`
|
|
117
|
+
- `run-esapp` 或其他快应用拉起动作后,如果任务目标是确认是否拉起成功、是否有 runtime 报错,AI 也应优先补查 `quicktvui_runtime_status` / `quicktvui-ai runtime-status`。
|
|
117
118
|
|
|
118
119
|
## Runtime Debug Data Workflow (CRITICAL)
|
|
119
120
|
|
|
@@ -133,6 +134,7 @@ Hard requirements:
|
|
|
133
134
|
4. `quicktvui-ai debug-events --client-id <clientId> --limit 100`
|
|
134
135
|
5. `quicktvui-ai debug-native-logs --client-id <clientId> --limit 100`
|
|
135
136
|
6. `quicktvui-ai debug-screenshot --client-id <clientId> --project <project-path>`
|
|
137
|
+
7. 如果任务是确认最近一次快应用拉起 / 加载是否成功,或是否有 runtime 错误,还应补查 `quicktvui_runtime_status` / `quicktvui-ai runtime-status`
|
|
136
138
|
|
|
137
139
|
硬约束:
|
|
138
140
|
|
package/rules/GEMINI.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: GEMINI.md
|
|
3
|
-
version: 1.1.
|
|
3
|
+
version: 1.1.20
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# GEMINI.md - QuickTVUI AI 开发指南
|
|
@@ -102,9 +102,10 @@ Hard requirements:
|
|
|
102
102
|
`adb -s <serial> shell "pm query-activities --brief --components -a android.intent.action.VIEW -d 'esapp://' -c android.intent.category.BROWSABLE"`
|
|
103
103
|
- For each resolved package, AI MUST output: component, package path (`pm path <pkg>`), and version (`dumpsys package <pkg> | grep -m 1 versionName`).
|
|
104
104
|
- After `quicktvui-ai run-dev --project <project-path>` reaches runtime launcher page, AI MUST send a confirm action (`adb shell input keyevent 23` or `66`, or equivalent click) on the runtime start button so runtime pulls/loads the dev bundle.
|
|
105
|
-
- AI MUST NOT stop at launcher page before triggering that confirm action, and MUST verify launch/bundle load result
|
|
105
|
+
- AI MUST NOT stop at launcher page before triggering that confirm action, and MUST verify launch/bundle load result via `quicktvui_runtime_status` / `quicktvui-ai runtime-status` when available, otherwise via logs or foreground activity status.
|
|
106
106
|
- If user asks to launch a specific ES app/version/source, run:
|
|
107
107
|
`quicktvui-ai run-esapp --project <project-path> --pkg <es-package> [options]`
|
|
108
|
+
- After `run-esapp` or any other quick-app launch action, if the task is to confirm whether launch succeeded or whether the runtime reported an error, AI SHOULD query `quicktvui_runtime_status` / `quicktvui-ai runtime-status` before concluding success or failure.
|
|
108
109
|
|
|
109
110
|
## Runtime Debug Data Workflow (CRITICAL)
|
|
110
111
|
|
|
@@ -124,6 +125,7 @@ Required non-MCP order:
|
|
|
124
125
|
4. `quicktvui-ai debug-events --client-id <clientId> --limit 100`
|
|
125
126
|
5. `quicktvui-ai debug-native-logs --client-id <clientId> --limit 100`
|
|
126
127
|
6. `quicktvui-ai debug-screenshot --client-id <clientId> --project <project-path>`
|
|
128
|
+
7. If the task is to confirm recent quick-app launch/load success or runtime error state, also query `quicktvui_runtime_status` / `quicktvui-ai runtime-status`
|
|
127
129
|
|
|
128
130
|
Hard requirements:
|
|
129
131
|
|