Skip to content

Add Apache 2.0 LICENSE to math-olympiad plugin#1005

Open
noahzweben wants to merge 7 commits intomainfrom
add-license-math-olympiad
Open

Add Apache 2.0 LICENSE to math-olympiad plugin#1005
noahzweben wants to merge 7 commits intomainfrom
add-license-math-olympiad

Conversation

@noahzweben
Copy link
Copy Markdown
Collaborator

Adds the missing Apache 2.0 LICENSE file to the math-olympiad plugin, bringing it into compliance with the standard applied to all other internal plugins.

@noahzweben noahzweben requested a review from tobinsouth March 25, 2026 17:05
dicksontsai and others added 6 commits March 30, 2026 17:17
Reformat chat_messages output from flat per-message lines to grouped
conversation threads. Each thread gets a header labelling it DM or Group
with its participant list, date-separator lines when the calendar day
rolls over, and [HH:MM] local-time stamps instead of full ISO.

chat_guid is now optional — omit to dump every allowlisted chat at once
for a quick multi-thread overview. Default limit raised 20→100 per chat,
capped at 500.

New queries: qChatParticipants (handle list per chat) and qChatInfo
(display_name + style to distinguish DM/group). renderMsg replaced by
conversationHeader + renderConversation.
Mirrors the existing IMESSAGE_STATE_DIR override. Lets a mock sqlite
chat.db stand in for ~/Library/Messages/chat.db so chat_messages can be
tested without macOS + Full Disk Access + real iMessage history.
…tion

Fixes #993 (Permission denied on hook scripts) without relying on
client-side +x preservation.

The hook executor spawns commands via /bin/sh -c, which requires +x
to execute a script directly. Prefixing with bash reads the script
as data — mode bits are irrelevant. This works on all Claude Code
versions, whereas the client-side chmod fix (claude-cli #24666) only
shipped in v2.1.86.

All 3 scripts declare #!/bin/bash and use bashisms ([[ ]], =~), so
bash (not sh) is the correct interpreter.

The version field forces a fresh cache path (1.0.0/ instead of
unknown/), ensuring the new hooks.json reaches users with stale
caches.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants