@m8tes/sdk 0.1.0-alpha.6 → 0.1.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/{chunk-F6B6R3SP.js → chunk-5X7I2XPE.js} +2 -2
- package/dist/{chunk-F6B6R3SP.js.map → chunk-5X7I2XPE.js.map} +1 -1
- package/dist/index.cjs +9 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +41 -3
- package/dist/index.d.ts +41 -3
- package/dist/index.js +11 -5
- package/dist/index.js.map +1 -1
- package/dist/protocol/index.cjs.map +1 -1
- package/dist/protocol/index.d.cts +2 -2
- package/dist/protocol/index.d.ts +2 -2
- package/dist/protocol/index.js +1 -1
- package/package.json +1 -1
package/dist/protocol/index.d.ts
CHANGED
|
@@ -601,8 +601,8 @@ declare function parseErrorEnvelope(status: number, body: unknown, headers?: {
|
|
|
601
601
|
interface ErrorFromResponseOptions {
|
|
602
602
|
/**
|
|
603
603
|
* Map 409 to `RunNotStreamingError` (the "run already finished, fall back to
|
|
604
|
-
* runs.get()" signal) instead of the generic `ConflictError`. Set on
|
|
605
|
-
*
|
|
604
|
+
* runs.get()" signal) instead of the generic `ConflictError`. Set only on
|
|
605
|
+
* GET join streams. POST create/reply use 409 for real conflicts.
|
|
606
606
|
*/
|
|
607
607
|
conflictIsNotStreaming?: boolean;
|
|
608
608
|
}
|
package/dist/protocol/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { APIError, AuthenticationError, BillingError, ConflictError, M8tesApiError, NotFoundError, PROTOCOL_VERSION, PermissionDeniedError, RateLimitError, RunFailedError, RunNotStreamingError, TERMINAL_EVENT_TYPES, ValidationError, accumulate, createAccumulator, createNormalizer, createSseDecoder, errorClassForStatus, errorFromResponse, initialConversationState, isTerminalEvent, parseErrorEnvelope, parseRetryAfter, parseSse, seg, splitConcatenatedJson } from '../chunk-
|
|
1
|
+
export { APIError, AuthenticationError, BillingError, ConflictError, M8tesApiError, NotFoundError, PROTOCOL_VERSION, PermissionDeniedError, RateLimitError, RunFailedError, RunNotStreamingError, TERMINAL_EVENT_TYPES, ValidationError, accumulate, createAccumulator, createNormalizer, createSseDecoder, errorClassForStatus, errorFromResponse, initialConversationState, isTerminalEvent, parseErrorEnvelope, parseRetryAfter, parseSse, seg, splitConcatenatedJson } from '../chunk-5X7I2XPE.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m8tes/sdk",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.7",
|
|
4
4
|
"description": "TypeScript SDK for the m8tes API — create agents, schedule tasks, stream runs, and verify webhooks from Node, Deno, or Bun.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|