Skip to content

chore: bump @holistics/anfra-sdk to 0.19.0, refuse askai calls with error codes - #31

Merged
nkhdo merged 1 commit into
mainfrom
fix/47-sdk-error-detail
Nov 9, 2026
Merged

nkhdo merged 1 commit into
mainfrom
fix/47-sdk-error-detail

Conversation

@nkhdo

@nkhdo nkhdo commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

Moves ahost to @holistics/anfra-sdk 0.19.0. Since 0.17.0 every call failure is one DataAppError with a code and a scope, and PermissionError, QueryError and TransportError are gone.

  • Ask AI: Send is refused with forbidden("Disabled by admin"), and a bad copy request with invalidRequest(...). The tests check the codes with hasErrorCode.
  • Docs: the askai SPEC and the README's tested versions follow.

Typecheck, lint and tests pass, and it was checked by hand against anfra 0.19.0.

🤖 Generated with Claude Code

@nkhdo
nkhdo merged commit a17f376 into main Nov 9, 2026
1 check passed
@nkhdo
nkhdo deleted the fix/47-sdk-error-detail branch November 9, 2026 05:07
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