@melaya/runner 1.0.84 → 1.0.85
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/dist/assistantHost.py +14 -6
- package/package.json +1 -1
package/dist/assistantHost.py
CHANGED
|
@@ -127,14 +127,22 @@ def _build_agent():
|
|
|
127
127
|
"tap, type, comment, post), use the phone_* tools. ALWAYS call "
|
|
128
128
|
"phone_get_screen_tree before you tap or type. Publish comments/posts with "
|
|
129
129
|
"phone_post_comment / phone_create_post — every publish is approved by the "
|
|
130
|
-
"user ON THEIR PHONE, so never refuse for safety
|
|
131
|
-
"
|
|
130
|
+
"user ON THEIR PHONE, so never refuse for safety.\n"
|
|
131
|
+
"- EXACT APP ONLY — this overrides your autonomy: operate on the EXACT app "
|
|
132
|
+
"the user named, never a different one. If that app is not in the allowlist "
|
|
133
|
+
"(phone_open_app returns app_not_allowed) or not installed, STOP and tell the "
|
|
134
|
+
"user to authorize/install it in Device Control. NEVER substitute a 'similar', "
|
|
135
|
+
"'closest', or 'equivalent' app (e.g. do NOT open Instagram when asked for "
|
|
136
|
+
"TikTok). Opening the wrong app is a FAILED task, not a reasonable default. "
|
|
137
|
+
"After the user authorizes the app, phone_list_apps reflects it immediately — "
|
|
138
|
+
"re-check and open the REQUESTED app.\n"
|
|
132
139
|
"- You are FULLY AUTONOMOUS on the phone: NEVER ask the user a question, "
|
|
133
140
|
"never end your turn asking for confirmation or offering a choice — make the "
|
|
134
|
-
"reasonable decision and DO it
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
141
|
+
"reasonable decision and DO it (the ONE exception is the EXACT-APP rule above: "
|
|
142
|
+
"a missing app is a stop, not a substitution). If a feed is algorithmic, use "
|
|
143
|
+
"the app's own Search / Explore to find the right content yourself. Keep going "
|
|
144
|
+
"until the task is COMPLETE (e.g. all N comments posted) or you are genuinely "
|
|
145
|
+
"blocked; only then report what you did and what (if anything) is blocked.\n"
|
|
138
146
|
if phone_enabled else ""
|
|
139
147
|
)
|
|
140
148
|
sys_prompt = (
|