Skip to content

feat(api): add block and session action filters - #985

Open
strobil wants to merge 1 commit into
PlayPro:masterfrom
Vanilla-Game:codex/typed-block-session-actions
Open

feat(api): add block and session action filters#985
strobil wants to merge 1 commit into
PlayPro:masterfrom
Vanilla-Game:codex/typed-block-session-actions

Conversation

@strobil

@strobil strobil commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Extends LookupOptions with action filters for two more typed lookups:

  • blockActions(List<BlockAction>): BREAK, PLACE, and INTERACTION.
  • sessionActions(List<SessionAction>): LOGIN and LOGOUT.

This follows the same approach as #983, using dedicated enums and the existing action-filter helper.

Compatibility

Empty or omitted filters preserve existing behavior. Each filter only affects its corresponding lookup method.

blockLookup still searches at the supplied block's coordinates. Command and legacy lookups are unchanged.

@strobil
strobil marked this pull request as ready for review September 10, 2026 08:00
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 10, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-10T08:03:40.164317Z 70552dc Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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.

1 participant