Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
ac38fe8
wip: error layer design doc and ClientException cleanup (temp)
xsahil03x Aug 27, 2026
550f8a2
wip: error layer implementation against old main (pre-rebase checkpoint)
xsahil03x Aug 27, 2026
27623c1
feat(llc)!: rework the error layer around a sealed StreamException root
xsahil03x Aug 27, 2026
160f82d
docs(llc): state the real reason details tolerates non-numeric shapes
xsahil03x Aug 27, 2026
ef5b43a
docs(llc): keep server-side specifics out of the public dartdoc
xsahil03x Aug 27, 2026
8919826
docs(llc): split a two-sentence first paragraph per Effective Dart
xsahil03x Aug 27, 2026
df819db
docs(llc): describe the auth exception's condition in one tense
xsahil03x Aug 27, 2026
af00635
style(llc): conform the error layer to the repo style guide
xsahil03x Aug 27, 2026
7403144
docs(repo): vendor Effective Dart's documentation guide and point the…
xsahil03x Aug 27, 2026
749f2e6
feat(llc): name the API's error-code registry as StreamErrorCode
xsahil03x Aug 27, 2026
d67b261
docs(llc): sharpen three error-code descriptions against their real c…
xsahil03x Aug 27, 2026
b599be4
feat(llc): type StreamApiError.code as StreamErrorCode
xsahil03x Aug 27, 2026
eedb704
refactor(llc): put the code predicates on StreamErrorCode and adopt c…
xsahil03x Aug 27, 2026
1cb0f4a
refactor(llc): follow chat's hand-written extension-type conventions
xsahil03x Aug 27, 2026
c5cdb0c
docs(llc): repoint the exception's predicate references at the code c…
xsahil03x Aug 27, 2026
4466ff1
refactor(llc): drop the runtimeType ignores for Flutter's assert-gate…
xsahil03x Aug 27, 2026
8d7a513
refactor(llc): print every fact that changes what a caller does, and …
xsahil03x Aug 27, 2026
2daafb8
feat(llc): ship objectRuntimeType as a core utility
xsahil03x Aug 27, 2026
4b1f6c7
style(llc): adapt objectRuntimeType to this repo's stricter lints
xsahil03x Aug 27, 2026
c542528
refactor(llc): give every exception kind its own independent toString
xsahil03x Aug 27, 2026
244cb0e
docs: state precisely who sets unrecoverable
xsahil03x Aug 27, 2026
fe44228
docs: write the retry decision procedure into the error layer doc
xsahil03x Aug 27, 2026
0650fab
docs: correct the retry table against the backend's raise sites
xsahil03x Aug 27, 2026
4aef003
docs(repo): follow the vendored guide's rename in its references
xsahil03x Aug 27, 2026
c8f20ab
docs(llc): scope unrecoverable to Video, the one product that sets it…
xsahil03x Aug 27, 2026
c409dd8
feat(llc): ship the retry helpers — isRetriable and RetryPolicy.stand…
xsahil03x Aug 27, 2026
deeb26d
refactor(llc): route the provider load through Result
xsahil03x Aug 27, 2026
60a7f63
docs: teach the errors-vs-exceptions split where contributors look
xsahil03x Aug 27, 2026
b5c3c84
fix(llc)!: raise conditions as exceptions everywhere the audit found …
xsahil03x Aug 27, 2026
aa72796
fix(llc): let Dio supply the missing stack trace
xsahil03x Aug 27, 2026
ed35176
fix(llc): keep the classification of a Stream exception Dio wrapped
xsahil03x Aug 27, 2026
d720cf8
feat(llc): add runApiSafely, the call seam that delivers StreamExcept…
xsahil03x Aug 27, 2026
6d2d9a1
style(llc): shape runApiSafely the way runSafely reads
xsahil03x Aug 27, 2026
3b7930e
style(llc): drop async from runApiSafely test closures the FutureOr s…
xsahil03x Aug 27, 2026
5511d47
refactor(llc): give the WebSocket client one error boundary, shaped l…
xsahil03x Aug 27, 2026
544510b
refactor(llc): share the boundary normalization as StreamException.from
xsahil03x Aug 27, 2026
bad8ac8
style(llc): flatten the boundary fallbacks onto tryFrom and ??
xsahil03x Aug 27, 2026
5a54594
style(llc): normalize boundary errors as a named local filled by ??=
xsahil03x Aug 27, 2026
e442b16
refactor(llc): hand the authentication failure's stack trace to onFai…
xsahil03x Aug 27, 2026
e085232
style(llc): expression-body tryFrom and accept a nullable error
xsahil03x Aug 27, 2026
c53a1f3
fix(llc)!: make the engine's failures speak the exception kinds
xsahil03x Aug 27, 2026
b6d2b36
refactor(llc): keep the engine dumb — the client is the normalization…
xsahil03x Aug 27, 2026
a623f25
refactor(llc): let the engine report raw truth on send too
xsahil03x Aug 27, 2026
4b64adc
refactor(llc): report a double open through the Result like every eng…
xsahil03x Aug 27, 2026
2f11eaf
feat(llc)!: shape the attachment uploader for its real consumers
xsahil03x Aug 27, 2026
ac1108b
test(llc): cover the attachment uploader properly
xsahil03x Aug 27, 2026
37558d4
test(llc): cover the upload cancellation flows the chat SDK drives
xsahil03x Aug 27, 2026
0c374dc
test(llc): cover the remaining chat upload flows in the uploader
xsahil03x Aug 27, 2026
eb41393
feat(llc): let uploadAll skip failures instead of failing as one
xsahil03x Aug 27, 2026
03d8d05
feat(llc): report the eager batch failure as an outcome, not a throw
xsahil03x Aug 27, 2026
5bfed7a
revert(llc): hold the attachment uploader rework back for a follow-up
xsahil03x Aug 28, 2026
a6ac5fe
revert(llc): pull the retry helpers until chat consumes them
xsahil03x Aug 28, 2026
3733d2a
fix(llc): address the review — apiError counts in equality, docs matc…
xsahil03x Aug 28, 2026
b9e0365
fix(llc): close the review's gaps — send gets its seam, auth reconnec…
xsahil03x Aug 28, 2026
b337da7
style(llc): drop an async the no-op connect never needed
xsahil03x Aug 28, 2026
d3c76b4
test(llc): keep only the tests that pin a decision
xsahil03x Aug 28, 2026
16b6ea1
docs(changelog): one short bullet per entry, the way the policy asks
xsahil03x Aug 28, 2026
5eb3ae3
docs(changelog): speak only of what shipped, in the file's own voice
xsahil03x Aug 28, 2026
59adec5
docs: teach the no-code case in the catch example
xsahil03x Aug 28, 2026
1aed17b
fix(llc): reconnect on a server-side processing timeout, and stop par…
xsahil03x Aug 31, 2026
2a111ef
revert(llc): leave the error mapping to ApiErrorInterceptor alone
xsahil03x Aug 31, 2026
6d158c6
refactor(llc): name the 408 condition rather than matching the number
xsahil03x Aug 31, 2026
c1cedd1
docs(llc): say what a 408 is without guessing which end was slow
xsahil03x Aug 31, 2026
302add2
fix(llc): stop reconnecting on a timeout a socket cannot deliver
xsahil03x Aug 31, 2026
f69edec
revert(llc): drop isRequestTimeout until something needs it
xsahil03x Aug 31, 2026
13e6af8
fix(llc)!: stop re-exporting dart:typed_data from the barrel
xsahil03x Aug 31, 2026
9c1e57a
docs(llc): say when a failed authentication reconnects, and read it t…
xsahil03x Aug 31, 2026
790ee43
fix(llc): let a token provider name the moment, not the credentials
xsahil03x Sep 1, 2026
7f7569b
fix(llc): stop exporting objectRuntimeType, which collides with Flutt…
xsahil03x Sep 1, 2026
ec62b0e
docs: reconcile the two 408 rows, and say what misuse still throws
xsahil03x Sep 1, 2026
4f4343f
fix(llc): classify what the HTTP client could not read
xsahil03x Sep 1, 2026
da1dbd8
fix(llc): decode an error payload missing the fields that carry least
xsahil03x Sep 1, 2026
73d172c
fix(llc): classify a token provider's transport failure
xsahil03x Sep 1, 2026
275dad5
fix(llc): tell misuse from a condition, and keep the trace beside the…
xsahil03x Sep 1, 2026
ca848a0
docs: say where the connection path parts from the retry table
xsahil03x Sep 1, 2026
ac6e9e1
docs(changelog): record what this round changed
xsahil03x Sep 1, 2026
3f55637
docs(changelog): say that exceptions stopped carrying a trace
xsahil03x Sep 1, 2026
5730f8c
docs: say where a stack trace lives in the error layer
xsahil03x Sep 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

> **Before writing or reviewing code, read [`STYLE_GUIDE.md`](STYLE_GUIDE.md).** It is the source of truth for coding conventions, the barrel contract, theming, testing, and changelog policy. See [`TESTING.md`](TESTING.md) for guidance on writing effective tests. This file is a repo overview; the style guide is the rulebook.
> **Before writing or reviewing code, read [`STYLE_GUIDE.md`](STYLE_GUIDE.md).** It is the source of truth for coding conventions, the barrel contract, theming, testing, and changelog policy. See [`TESTING.md`](TESTING.md) for guidance on writing effective tests, and [`EFFECTIVE_DART_DOC.md`](EFFECTIVE_DART_DOC.md) — a vendored copy of Effective Dart's documentation guide — before writing any dartdoc; the style guide wins where they disagree. This file is a repo overview; the style guide is the rulebook.

## Project Overview

Expand Down
Loading
Loading