🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
Changelog
All notable changes to @lobehub/sdk. The format follows Keep a Changelog and versions follow Semantic Versioning.
Each release sorts its entries into ### Breaking, ### Added, ### Changed and ### Fixed. A Breaking entry needs a major bump and an Added one at least a minor bump; the release workflow refuses to publish a version whose bump is smaller than its section requires (see "Releasing" in the README).
[1.1.0] - 2026-11-17
First semver release. Versions before it were published as 1.0.<UTC timestamp> on every push.
Added
createLobeHub({ workspaceId })sendsX-Workspace-Idon every request; a per-call header still overrides it.timeout(default 10 minutes, until the response headers) andmaxRetries(default 2) on the client and on every call. Retries back off exponentially on 408, 429, 5xx and network errors, honorRetry-After, and only resend idempotent methods (GET,HEAD,OPTIONS,PUT,DELETE) or aPOSTthat carries anIdempotency-Key(whose in-flight 409idempotency_conflictis waited out too).idempotencyKeycall option, sent as theIdempotency-Keyheader.- Typed errors:
LobeHubAPIError(status,code,requestId,details,headers,body),LobeHubConnectionErrorandLobeHubTimeoutError. createLobeHub({ throwOnError: true })makes every method reject withLobeHubAPIErrorand typesdataas always present.lobehub.paginate(method, options): an async iterator over every item of a cursor-paginated list (hasMore/nextCursor).lobehub.responses.stream(body): typed OpenResponses server-sent events (ResponseStreamEvent) as anAsyncIterable, plusfinalResponse()andabort().lobehub.files.upload(source, options)for aFile,Blob,Buffer/Uint8Array/ArrayBuffer, or a local file path.- Generated types for every streaming event (
ResponseCreatedEvent,ResponseOutputTextDeltaEvent, …) and theX-Workspace-Id/Idempotency-Keyheaders on each operation. - Each method's JSDoc lists the API key scopes it needs.
Changed
- An error answer now comes back as a
LobeHubAPIErrorinstance instead of the plain JSON body. It still carries the body's fields (success,code,message,details,requestId,timestamp,error), so code reading them is unaffected; code that compared the error withtoEqualagainst a plain object, or serialized it, sees anErrornow. - Idempotent requests are retried twice by default; pass
maxRetries: 0for the previous behavior. - Method names now come from the spec's
operationIds (agents.list,files.uploadBatch, …) instead of a naming table in the generator config. Every method and type name is unchanged.