misardev 1.0.0
misardev: ^1.0.0 copied to clipboard
Build, deploy and chat with your apps from Dart: the MisarDev API with typed plan-limit errors, Retry-After-aware retries, SSE streaming and pagination.
Changelog #
All notable changes to this SDK are documented here. The format follows Keep a Changelog and the project uses Semantic Versioning.
1.0.0 — 2026-10-16 #
First release under the misardev name on pub.dev. Replaces the previous unpublished
misar_dev client, which covered a handful of routes by hand.
Added #
- Every route in
sdks/manifest.json— 21 resource groups, 106 methods and 3 Server-Sent Events streams (109 operations), generated from the API's own route tree so the client cannot drift from the server. MisarDevclient: API key fromapiKey:orMISARDEV_API_KEY, base URL frombaseUrl:orMISARDEV_BASE_URL, configurable retries and timeout, injectablehttp.Client.- Typed errors:
MisarDevErrorwithValidationError,AuthenticationError,PermissionDeniedError,NotFoundError,ConflictError,RateLimitError,ServerError,NetworkErrorandPlanLimitError. PlanLimitErrorcarrying the server's full upgrade offer (offer), plusupgradeUrl,feature,currentPlan,recommendedPlanandretryAfter. Detected bycode: "plan_limit_exceeded", never by status.- Retries for
429and, on idempotent requests only,5xxand network failures — honouringRetry-After(seconds or HTTP-date, capped at 60 s), with exponential backoff otherwise. Plan refusals are never retried. - SSE streaming as
Stream<SseEvent>for chat completions, the studio conversation and build progress;[DONE]handled for you, plan-limit frames raised asPlanLimitError. paginatehelper for offset-paginated list endpoints.