Skip to content

refactor(agent-core-v2): push coded Error2 into assertAllowed - #2318

Open
code-with-idrees wants to merge 2 commits into
MoonshotAI:mainfrom
code-with-idrees:fix-assert-allowed-todo
Open

refactor(agent-core-v2): push coded Error2 into assertAllowed#2318
code-with-idrees wants to merge 2 commits into
MoonshotAI:mainfrom
code-with-idrees:fix-assert-allowed-todo

Conversation

@code-with-idrees

Copy link
Copy Markdown

This PR refactors \�ssertAllowed\ to throw a coded \Error2\ instead of a raw \Error, fixing the TODO in \ erminals.ts\ and folding the error handling cleanly into the \isError2\ switch.

@changeset-bot

changeset-bot Bot commented Jul 28, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b4987e0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@moonshot-ai/agent-core-v2 Patch
@moonshot-ai/kap-server Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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