Preserve Thunderbird profiles and add OpenCode Mobile support

This commit is contained in:
2026-11-01 20:17:00 +01:00
parent 1e40a867e7
commit 849e522287
11 changed files with 411 additions and 38 deletions

View File

@@ -0,0 +1,27 @@
---
description: OpenCode Mobile (QR + push token)
---
Call the `mobile` tool.
Command arguments: $ARGUMENTS
- If $ARGUMENTS is non-empty, call the tool with { token: "$ARGUMENTS" }.
- If $ARGUMENTS is empty, call the tool with no args to print the QR.
Token format:
- `ExponentPushToken[xxxxxxxxxxxxxx]` - Register push token only
- `ExponentPushToken[xxx] ServerUrl[http://...]` - Register with custom server URL
When to use ServerUrl:
- Use when the mobile app is connected directly to a local server
- The serverUrl will be used for notification deep links instead of tunnel
- Omit when using tunnel connection (default behavior)
Important:
- Do not output analysis/thoughts.
- Only call the tool; return no extra text.
Examples:
- `/mobile` - Show QR code for tunnel connection
- `/mobile ExponentPushToken[xxxxxxxxxxxxxx]` - Register token
- `/mobile ExponentPushToken[xxx] ServerUrl[http://192.168.1.100:4096]` - Register with custom URL

View File

@@ -3,5 +3,8 @@
"instructions": [
"~/.config/ai/bootstrap.md",
"~/.config/ai/rules/safety.md"
],
"plugin": [
"opencode-mobile@latest"
]
}