CI / check (push) Canceled after 0s
- Contract and strings pinned at server dev e463621 (event_ask_phone.json); tokens unchanged.
- Every message declares client ["phone_actions"] (POST /chats and /chats/{id}/messages).
- CardItem.phone; a phone_action card (chat card sheet, and inline in the assistant's sheet):
the model's summary, how it will be done, its facts, the map app to use when Settings leaves
it open, Google Maps' limits said; Cancel answers declined, Do it runs ActionRunner and
answers {result: {status, message}} -- done or failed with why. Locked: "unlock first".
- Executor on the spec's fields: alarm time HH:MM/days/label, timer, calendar_event
(start/end local, notes), sms_draft (numbers only; names left to the person), email_draft
with cc, dial, open_app by name, open_url, media command, torch on, settings_panel,
automation_intent (Tasker's ACTION_TASK by name with values as local variables, else
LLeMbas's own AUTOMATION broadcast), navigate (replace_route -> OsmAnd force), add_stop,
search_nearby (near), stop_navigation. Tool-result reasons in English, for the model.
- Tests: PhoneActionsTest reads the fixture; shots 35-38 phone cards.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
163 lines
3.8 KiB
JSON
163 lines
3.8 KiB
JSON
{
|
|
"cards": [
|
|
{
|
|
"id": "card5",
|
|
"kind": "phone_action",
|
|
"why": "",
|
|
"dismissable": true,
|
|
"expires_in": null,
|
|
"items": [
|
|
{
|
|
"index": 0,
|
|
"key": "phone",
|
|
"kind": "phone_action",
|
|
"tool": "phone_action",
|
|
"title": "Alarm at 07:00 on weekdays",
|
|
"header": "",
|
|
"detail": "alarm",
|
|
"reason": "",
|
|
"purpose": "",
|
|
"options": [],
|
|
"multiple": false,
|
|
"free_text": false,
|
|
"editable": false,
|
|
"plan": null,
|
|
"mode_choice": false,
|
|
"job": "",
|
|
"subagent": null,
|
|
"phone": {
|
|
"action": "alarm",
|
|
"summary": "Alarm at 07:00 on weekdays",
|
|
"time": "07:00",
|
|
"days": [
|
|
"mon",
|
|
"tue",
|
|
"wed",
|
|
"thu",
|
|
"fri"
|
|
],
|
|
"label": "Work"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "card6",
|
|
"kind": "phone_action",
|
|
"why": "",
|
|
"dismissable": true,
|
|
"expires_in": null,
|
|
"items": [
|
|
{
|
|
"index": 0,
|
|
"key": "phone",
|
|
"kind": "phone_action",
|
|
"tool": "phone_action",
|
|
"title": "Drive home via the bakery",
|
|
"header": "",
|
|
"detail": "navigate",
|
|
"reason": "",
|
|
"purpose": "",
|
|
"options": [],
|
|
"multiple": false,
|
|
"free_text": false,
|
|
"editable": false,
|
|
"plan": null,
|
|
"mode_choice": false,
|
|
"job": "",
|
|
"subagent": null,
|
|
"phone": {
|
|
"action": "navigate",
|
|
"summary": "Drive home via the bakery",
|
|
"destination": {
|
|
"name": "Home",
|
|
"query": "1 Bagshot Row, Hobbiton"
|
|
},
|
|
"stops": [
|
|
{
|
|
"name": "Bakery",
|
|
"lat": 48.894,
|
|
"lon": 18.044
|
|
}
|
|
],
|
|
"mode": "drive",
|
|
"replace_route": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "card7",
|
|
"kind": "phone_action",
|
|
"why": "",
|
|
"dismissable": true,
|
|
"expires_in": null,
|
|
"items": [
|
|
{
|
|
"index": 0,
|
|
"key": "phone",
|
|
"kind": "phone_action",
|
|
"tool": "phone_action",
|
|
"title": "Add the bakery to the route",
|
|
"header": "",
|
|
"detail": "add_stop",
|
|
"reason": "",
|
|
"purpose": "",
|
|
"options": [],
|
|
"multiple": false,
|
|
"free_text": false,
|
|
"editable": false,
|
|
"plan": null,
|
|
"mode_choice": false,
|
|
"job": "",
|
|
"subagent": null,
|
|
"phone": {
|
|
"action": "add_stop",
|
|
"summary": "Add the bakery to the route",
|
|
"stop": {
|
|
"name": "Bakery",
|
|
"query": "Bakery, Bywater"
|
|
},
|
|
"destination": {
|
|
"name": "Home",
|
|
"query": "1 Bagshot Row, Hobbiton"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "card8",
|
|
"kind": "phone_action",
|
|
"why": "",
|
|
"dismissable": true,
|
|
"expires_in": null,
|
|
"items": [
|
|
{
|
|
"index": 0,
|
|
"key": "phone",
|
|
"kind": "phone_action",
|
|
"tool": "phone_action",
|
|
"title": "End the route",
|
|
"header": "",
|
|
"detail": "stop_navigation",
|
|
"reason": "",
|
|
"purpose": "",
|
|
"options": [],
|
|
"multiple": false,
|
|
"free_text": false,
|
|
"editable": false,
|
|
"plan": null,
|
|
"mode_choice": false,
|
|
"job": "",
|
|
"subagent": null,
|
|
"phone": {
|
|
"action": "stop_navigation",
|
|
"summary": "End the route"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|