You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#135.
Narrowed the Contacts `.notDetermined` no-prompt behavior to optional read-command enrichment only: `chats` and `history` now skip the Contacts prompt, while send/RPC/bridge/name-resolution call sites preserve the default request behavior.
Proof:
- `swift test --filter ContactResolver` passed: 4 tests.
- `swift test --filter 'ChatHistory|ContactResolver|sendCommandResolvesUniqueContactName|sendCommandRejectsAmbiguousContactName|accountNickname'` passed: 26 tests.
- `make build` passed.
- Live `.notDetermined` proof on this Mac: `bin/imsg chats --limit 1 --json` and `bin/imsg history --chat-id <id> --limit 1 --json` both returned within a 10s alarm with sanitized output.
- `make lint` exited 0 with existing warning-level violations only.
- `make test` passed: 323 tests.
Co-authored-by: Eduardo Mendes <cemendes@users.noreply.github.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,9 @@
2
2
3
3
## 0.11.1 - Unreleased
4
4
5
+
### Read Commands
6
+
- fix: let `chats` and `history` run without prompting for Contacts when permission is still undecided, while preserving Contacts prompts for explicit name-resolution flows (#135, thanks @cemendes).
0 commit comments