@cadenya/cadenya 0.96.0 → 0.98.0

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.
Files changed (79) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +18 -0
  3. package/client.d.mts +2 -2
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +2 -2
  6. package/client.d.ts.map +1 -1
  7. package/core/streaming.d.mts +33 -0
  8. package/core/streaming.d.mts.map +1 -0
  9. package/core/streaming.d.ts +33 -0
  10. package/core/streaming.d.ts.map +1 -0
  11. package/core/streaming.js +263 -0
  12. package/core/streaming.js.map +1 -0
  13. package/core/streaming.mjs +258 -0
  14. package/core/streaming.mjs.map +1 -0
  15. package/internal/decoders/line.d.mts +17 -0
  16. package/internal/decoders/line.d.mts.map +1 -0
  17. package/internal/decoders/line.d.ts +17 -0
  18. package/internal/decoders/line.d.ts.map +1 -0
  19. package/internal/decoders/line.js +113 -0
  20. package/internal/decoders/line.js.map +1 -0
  21. package/internal/decoders/line.mjs +108 -0
  22. package/internal/decoders/line.mjs.map +1 -0
  23. package/internal/parse.d.mts.map +1 -1
  24. package/internal/parse.d.ts.map +1 -1
  25. package/internal/parse.js +10 -0
  26. package/internal/parse.js.map +1 -1
  27. package/internal/parse.mjs +10 -0
  28. package/internal/parse.mjs.map +1 -1
  29. package/internal/request-options.d.mts +2 -0
  30. package/internal/request-options.d.mts.map +1 -1
  31. package/internal/request-options.d.ts +2 -0
  32. package/internal/request-options.d.ts.map +1 -1
  33. package/internal/request-options.js.map +1 -1
  34. package/internal/request-options.mjs.map +1 -1
  35. package/internal/tslib.js +17 -17
  36. package/package.json +11 -1
  37. package/resources/index.d.mts +1 -1
  38. package/resources/index.d.mts.map +1 -1
  39. package/resources/index.d.ts +1 -1
  40. package/resources/index.d.ts.map +1 -1
  41. package/resources/objectives/index.d.mts +1 -1
  42. package/resources/objectives/index.d.mts.map +1 -1
  43. package/resources/objectives/index.d.ts +1 -1
  44. package/resources/objectives/index.d.ts.map +1 -1
  45. package/resources/objectives/objectives.d.mts +23 -37
  46. package/resources/objectives/objectives.d.mts.map +1 -1
  47. package/resources/objectives/objectives.d.ts +23 -37
  48. package/resources/objectives/objectives.d.ts.map +1 -1
  49. package/resources/objectives/objectives.js +12 -0
  50. package/resources/objectives/objectives.js.map +1 -1
  51. package/resources/objectives/objectives.mjs +12 -0
  52. package/resources/objectives/objectives.mjs.map +1 -1
  53. package/resources/webhooks.d.mts +2 -26
  54. package/resources/webhooks.d.mts.map +1 -1
  55. package/resources/webhooks.d.ts +2 -26
  56. package/resources/webhooks.d.ts.map +1 -1
  57. package/src/client.ts +6 -6
  58. package/src/core/streaming.ts +315 -0
  59. package/src/internal/decoders/line.ts +135 -0
  60. package/src/internal/parse.ts +14 -0
  61. package/src/internal/request-options.ts +2 -0
  62. package/src/resources/index.ts +3 -3
  63. package/src/resources/objectives/index.ts +3 -3
  64. package/src/resources/objectives/objectives.ts +44 -52
  65. package/src/resources/webhooks.ts +2 -34
  66. package/src/streaming.ts +2 -0
  67. package/src/version.ts +1 -1
  68. package/streaming.d.mts +3 -0
  69. package/streaming.d.mts.map +1 -0
  70. package/streaming.d.ts +3 -0
  71. package/streaming.d.ts.map +1 -0
  72. package/streaming.js +6 -0
  73. package/streaming.js.map +1 -0
  74. package/streaming.mjs +3 -0
  75. package/streaming.mjs.map +1 -0
  76. package/version.d.mts +1 -1
  77. package/version.d.ts +1 -1
  78. package/version.js +1 -1
  79. package/version.mjs +1 -1
@@ -0,0 +1,135 @@
1
+ import { concatBytes, decodeUTF8, encodeUTF8 } from '../utils/bytes';
2
+
3
+ export type Bytes = string | ArrayBuffer | Uint8Array | null | undefined;
4
+
5
+ /**
6
+ * A re-implementation of httpx's `LineDecoder` in Python that handles incrementally
7
+ * reading lines from text.
8
+ *
9
+ * https://github.com/encode/httpx/blob/920333ea98118e9cf617f246905d7b202510941c/httpx/_decoders.py#L258
10
+ */
11
+ export class LineDecoder {
12
+ // prettier-ignore
13
+ static NEWLINE_CHARS = new Set(['\n', '\r']);
14
+ static NEWLINE_REGEXP = /\r\n|[\n\r]/g;
15
+
16
+ #buffer: Uint8Array;
17
+ #carriageReturnIndex: number | null;
18
+
19
+ constructor() {
20
+ this.#buffer = new Uint8Array();
21
+ this.#carriageReturnIndex = null;
22
+ }
23
+
24
+ decode(chunk: Bytes): string[] {
25
+ if (chunk == null) {
26
+ return [];
27
+ }
28
+
29
+ const binaryChunk =
30
+ chunk instanceof ArrayBuffer ? new Uint8Array(chunk)
31
+ : typeof chunk === 'string' ? encodeUTF8(chunk)
32
+ : chunk;
33
+
34
+ this.#buffer = concatBytes([this.#buffer, binaryChunk]);
35
+
36
+ const lines: string[] = [];
37
+ let patternIndex;
38
+ while ((patternIndex = findNewlineIndex(this.#buffer, this.#carriageReturnIndex)) != null) {
39
+ if (patternIndex.carriage && this.#carriageReturnIndex == null) {
40
+ // skip until we either get a corresponding `\n`, a new `\r` or nothing
41
+ this.#carriageReturnIndex = patternIndex.index;
42
+ continue;
43
+ }
44
+
45
+ // we got double \r or \rtext\n
46
+ if (
47
+ this.#carriageReturnIndex != null &&
48
+ (patternIndex.index !== this.#carriageReturnIndex + 1 || patternIndex.carriage)
49
+ ) {
50
+ lines.push(decodeUTF8(this.#buffer.subarray(0, this.#carriageReturnIndex - 1)));
51
+ this.#buffer = this.#buffer.subarray(this.#carriageReturnIndex);
52
+ this.#carriageReturnIndex = null;
53
+ continue;
54
+ }
55
+
56
+ const endIndex =
57
+ this.#carriageReturnIndex !== null ? patternIndex.preceding - 1 : patternIndex.preceding;
58
+
59
+ const line = decodeUTF8(this.#buffer.subarray(0, endIndex));
60
+ lines.push(line);
61
+
62
+ this.#buffer = this.#buffer.subarray(patternIndex.index);
63
+ this.#carriageReturnIndex = null;
64
+ }
65
+
66
+ return lines;
67
+ }
68
+
69
+ flush(): string[] {
70
+ if (!this.#buffer.length) {
71
+ return [];
72
+ }
73
+ return this.decode('\n');
74
+ }
75
+ }
76
+
77
+ /**
78
+ * This function searches the buffer for the end patterns, (\r or \n)
79
+ * and returns an object with the index preceding the matched newline and the
80
+ * index after the newline char. `null` is returned if no new line is found.
81
+ *
82
+ * ```ts
83
+ * findNewLineIndex('abc\ndef') -> { preceding: 2, index: 3 }
84
+ * ```
85
+ */
86
+ function findNewlineIndex(
87
+ buffer: Uint8Array,
88
+ startIndex: number | null,
89
+ ): { preceding: number; index: number; carriage: boolean } | null {
90
+ const newline = 0x0a; // \n
91
+ const carriage = 0x0d; // \r
92
+
93
+ for (let i = startIndex ?? 0; i < buffer.length; i++) {
94
+ if (buffer[i] === newline) {
95
+ return { preceding: i, index: i + 1, carriage: false };
96
+ }
97
+
98
+ if (buffer[i] === carriage) {
99
+ return { preceding: i, index: i + 1, carriage: true };
100
+ }
101
+ }
102
+
103
+ return null;
104
+ }
105
+
106
+ export function findDoubleNewlineIndex(buffer: Uint8Array): number {
107
+ // This function searches the buffer for the end patterns (\r\r, \n\n, \r\n\r\n)
108
+ // and returns the index right after the first occurrence of any pattern,
109
+ // or -1 if none of the patterns are found.
110
+ const newline = 0x0a; // \n
111
+ const carriage = 0x0d; // \r
112
+
113
+ for (let i = 0; i < buffer.length - 1; i++) {
114
+ if (buffer[i] === newline && buffer[i + 1] === newline) {
115
+ // \n\n
116
+ return i + 2;
117
+ }
118
+ if (buffer[i] === carriage && buffer[i + 1] === carriage) {
119
+ // \r\r
120
+ return i + 2;
121
+ }
122
+ if (
123
+ buffer[i] === carriage &&
124
+ buffer[i + 1] === newline &&
125
+ i + 3 < buffer.length &&
126
+ buffer[i + 2] === carriage &&
127
+ buffer[i + 3] === newline
128
+ ) {
129
+ // \r\n\r\n
130
+ return i + 4;
131
+ }
132
+ }
133
+
134
+ return -1;
135
+ }
@@ -1,6 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import type { FinalRequestOptions } from './request-options';
4
+ import { Stream } from '../core/streaming';
4
5
  import { type Cadenya } from '../client';
5
6
  import { formatRequestDetails, loggerFor } from './utils/log';
6
7
 
@@ -16,6 +17,19 @@ export type APIResponseProps = {
16
17
  export async function defaultParseResponse<T>(client: Cadenya, props: APIResponseProps): Promise<T> {
17
18
  const { response, requestLogID, retryOfRequestLogID, startTime } = props;
18
19
  const body = await (async () => {
20
+ if (props.options.stream) {
21
+ loggerFor(client).debug('response', response.status, response.url, response.headers, response.body);
22
+
23
+ // Note: there is an invariant here that isn't represented in the type system
24
+ // that if you set `stream: true` the response type must also be `Stream<T>`
25
+
26
+ if (props.options.__streamClass) {
27
+ return props.options.__streamClass.fromSSEResponse(response, props.controller, client) as any;
28
+ }
29
+
30
+ return Stream.fromSSEResponse(response, props.controller, client) as any;
31
+ }
32
+
19
33
  // fetch refuses to read the body when the status code is 204.
20
34
  if (response.status === 204) {
21
35
  return null as T;
@@ -3,6 +3,7 @@
3
3
  import { NullableHeaders } from './headers';
4
4
 
5
5
  import type { BodyInit } from './builtin-types';
6
+ import { Stream } from '../core/streaming';
6
7
  import type { HTTPMethod, MergedRequestInit } from './types';
7
8
  import { type HeadersLike } from './headers';
8
9
 
@@ -76,6 +77,7 @@ export type RequestOptions = {
76
77
  defaultBaseURL?: string | undefined;
77
78
 
78
79
  __binaryResponse?: boolean | undefined;
80
+ __streamClass?: typeof Stream;
79
81
  };
80
82
 
81
83
  export type EncodedContent = { bodyHeaders: HeadersLike; body: BodyInit };
@@ -87,6 +87,7 @@ export {
87
87
  type ObjectiveContextWindow,
88
88
  type ObjectiveContextWindowData,
89
89
  type ObjectiveError,
90
+ type ObjectiveEvent,
90
91
  type ObjectiveEventData,
91
92
  type ObjectiveEventInfo,
92
93
  type ObjectiveEventWebhookData,
@@ -102,8 +103,6 @@ export {
102
103
  type ToolResult,
103
104
  type UserMessage,
104
105
  type ObjectiveCompactResponse,
105
- type ObjectiveContinueResponse,
106
- type ObjectiveListEventsResponse,
107
106
  type ObjectiveCreateParams,
108
107
  type ObjectiveRetrieveParams,
109
108
  type ObjectiveListParams,
@@ -112,9 +111,10 @@ export {
112
111
  type ObjectiveContinueParams,
113
112
  type ObjectiveListContextWindowsParams,
114
113
  type ObjectiveListEventsParams,
114
+ type ObjectiveStreamEventsParams,
115
115
  type ObjectivesCursorPagination,
116
116
  type ObjectiveContextWindowsCursorPagination,
117
- type ObjectiveListEventsResponsesCursorPagination,
117
+ type ObjectiveEventsCursorPagination,
118
118
  } from './objectives/objectives';
119
119
  export { Profiles } from './profiles';
120
120
  export {
@@ -22,6 +22,7 @@ export {
22
22
  type ObjectiveContextWindow,
23
23
  type ObjectiveContextWindowData,
24
24
  type ObjectiveError,
25
+ type ObjectiveEvent,
25
26
  type ObjectiveEventData,
26
27
  type ObjectiveEventInfo,
27
28
  type ObjectiveEventWebhookData,
@@ -37,8 +38,6 @@ export {
37
38
  type ToolResult,
38
39
  type UserMessage,
39
40
  type ObjectiveCompactResponse,
40
- type ObjectiveContinueResponse,
41
- type ObjectiveListEventsResponse,
42
41
  type ObjectiveCreateParams,
43
42
  type ObjectiveRetrieveParams,
44
43
  type ObjectiveListParams,
@@ -47,9 +46,10 @@ export {
47
46
  type ObjectiveContinueParams,
48
47
  type ObjectiveListContextWindowsParams,
49
48
  type ObjectiveListEventsParams,
49
+ type ObjectiveStreamEventsParams,
50
50
  type ObjectivesCursorPagination,
51
51
  type ObjectiveContextWindowsCursorPagination,
52
- type ObjectiveListEventsResponsesCursorPagination,
52
+ type ObjectiveEventsCursorPagination,
53
53
  } from './objectives';
54
54
  export {
55
55
  Tasks,
@@ -49,6 +49,8 @@ import * as ToolsAPI from './tools';
49
49
  import { ObjectiveTool, ObjectiveToolsCursorPagination, ToolListParams, Tools } from './tools';
50
50
  import { APIPromise } from '../../core/api-promise';
51
51
  import { CursorPagination, type CursorPaginationParams, PagePromise } from '../../core/pagination';
52
+ import { Stream } from '../../core/streaming';
53
+ import { buildHeaders } from '../../internal/headers';
52
54
  import { RequestOptions } from '../../internal/request-options';
53
55
  import { path } from '../../internal/utils/path';
54
56
 
@@ -127,7 +129,7 @@ export class Objectives extends APIResource {
127
129
  objectiveID: string,
128
130
  params: ObjectiveContinueParams,
129
131
  options?: RequestOptions,
130
- ): APIPromise<ObjectiveContinueResponse> {
132
+ ): APIPromise<ObjectiveEvent> {
131
133
  const { workspaceId, ...body } = params;
132
134
  return this._client.post(path`/v1/workspaces/${workspaceId}/objectives/${objectiveID}:continue`, {
133
135
  body,
@@ -159,21 +161,37 @@ export class Objectives extends APIResource {
159
161
  objectiveID: string,
160
162
  params: ObjectiveListEventsParams,
161
163
  options?: RequestOptions,
162
- ): PagePromise<ObjectiveListEventsResponsesCursorPagination, ObjectiveListEventsResponse> {
164
+ ): PagePromise<ObjectiveEventsCursorPagination, ObjectiveEvent> {
163
165
  const { workspaceId, ...query } = params;
164
166
  return this._client.getAPIList(
165
167
  path`/v1/workspaces/${workspaceId}/objectives/${objectiveID}/events`,
166
- CursorPagination<ObjectiveListEventsResponse>,
168
+ CursorPagination<ObjectiveEvent>,
167
169
  { query, ...options },
168
170
  );
169
171
  }
172
+
173
+ /**
174
+ * Streams events for an objective in real-time using server-sent events (SSE)
175
+ */
176
+ streamEvents(
177
+ objectiveID: string,
178
+ params: ObjectiveStreamEventsParams,
179
+ options?: RequestOptions,
180
+ ): APIPromise<Stream<ObjectiveEvent>> {
181
+ const { workspaceId } = params;
182
+ return this._client.get(path`/v1/workspaces/${workspaceId}/objectives/${objectiveID}/events:stream`, {
183
+ ...options,
184
+ headers: buildHeaders([{ Accept: 'text/event-stream' }, options?.headers]),
185
+ stream: true,
186
+ }) as APIPromise<Stream<ObjectiveEvent>>;
187
+ }
170
188
  }
171
189
 
172
190
  export type ObjectivesCursorPagination = CursorPagination<Objective>;
173
191
 
174
192
  export type ObjectiveContextWindowsCursorPagination = CursorPagination<ObjectiveContextWindow>;
175
193
 
176
- export type ObjectiveListEventsResponsesCursorPagination = CursorPagination<ObjectiveListEventsResponse>;
194
+ export type ObjectiveEventsCursorPagination = CursorPagination<ObjectiveEvent>;
177
195
 
178
196
  export interface AssistantMessage {
179
197
  content?: string;
@@ -503,6 +521,20 @@ export interface ObjectiveError {
503
521
  type?: string;
504
522
  }
505
523
 
524
+ export interface ObjectiveEvent {
525
+ data: ObjectiveEventData;
526
+
527
+ /**
528
+ * Metadata for ephemeral operations and activities (e.g., objectives, executions,
529
+ * runs)
530
+ */
531
+ metadata: Shared.OperationMetadata;
532
+
533
+ contextWindowId?: string;
534
+
535
+ info?: ObjectiveEventInfo;
536
+ }
537
+
506
538
  export interface ObjectiveEventData {
507
539
  assistantMessage?: AssistantMessage;
508
540
 
@@ -639,23 +671,7 @@ export namespace ObjectiveEventWebhookData {
639
671
  */
640
672
  objective: Shared.OperationMetadata;
641
673
 
642
- objectiveEvent: Data.ObjectiveEvent;
643
- }
644
-
645
- export namespace Data {
646
- export interface ObjectiveEvent {
647
- data: ObjectivesAPI.ObjectiveEventData;
648
-
649
- /**
650
- * Metadata for ephemeral operations and activities (e.g., objectives, executions,
651
- * runs)
652
- */
653
- metadata: Shared.OperationMetadata;
654
-
655
- contextWindowId?: string;
656
-
657
- info?: ObjectivesAPI.ObjectiveEventInfo;
658
- }
674
+ objectiveEvent: ObjectivesAPI.ObjectiveEvent;
659
675
  }
660
676
  }
661
677
 
@@ -851,34 +867,6 @@ export interface ObjectiveCompactResponse {
851
867
  contextWindow?: ObjectiveContextWindowData;
852
868
  }
853
869
 
854
- export interface ObjectiveContinueResponse {
855
- data: ObjectiveEventData;
856
-
857
- /**
858
- * Metadata for ephemeral operations and activities (e.g., objectives, executions,
859
- * runs)
860
- */
861
- metadata: Shared.OperationMetadata;
862
-
863
- contextWindowId?: string;
864
-
865
- info?: ObjectiveEventInfo;
866
- }
867
-
868
- export interface ObjectiveListEventsResponse {
869
- data: ObjectiveEventData;
870
-
871
- /**
872
- * Metadata for ephemeral operations and activities (e.g., objectives, executions,
873
- * runs)
874
- */
875
- metadata: Shared.OperationMetadata;
876
-
877
- contextWindowId?: string;
878
-
879
- info?: ObjectiveEventInfo;
880
- }
881
-
882
870
  export interface ObjectiveCreateParams {
883
871
  agentId: string;
884
872
 
@@ -1109,6 +1097,10 @@ export interface ObjectiveListEventsParams extends CursorPaginationParams {
1109
1097
  windowId?: string;
1110
1098
  }
1111
1099
 
1100
+ export interface ObjectiveStreamEventsParams {
1101
+ workspaceId: string;
1102
+ }
1103
+
1112
1104
  Objectives.Tools = Tools;
1113
1105
  Objectives.ToolCalls = ToolCalls;
1114
1106
  Objectives.Tasks = Tasks;
@@ -1127,6 +1119,7 @@ export declare namespace Objectives {
1127
1119
  type ObjectiveContextWindow as ObjectiveContextWindow,
1128
1120
  type ObjectiveContextWindowData as ObjectiveContextWindowData,
1129
1121
  type ObjectiveError as ObjectiveError,
1122
+ type ObjectiveEvent as ObjectiveEvent,
1130
1123
  type ObjectiveEventData as ObjectiveEventData,
1131
1124
  type ObjectiveEventInfo as ObjectiveEventInfo,
1132
1125
  type ObjectiveEventWebhookData as ObjectiveEventWebhookData,
@@ -1142,11 +1135,9 @@ export declare namespace Objectives {
1142
1135
  type ToolResult as ToolResult,
1143
1136
  type UserMessage as UserMessage,
1144
1137
  type ObjectiveCompactResponse as ObjectiveCompactResponse,
1145
- type ObjectiveContinueResponse as ObjectiveContinueResponse,
1146
- type ObjectiveListEventsResponse as ObjectiveListEventsResponse,
1147
1138
  type ObjectivesCursorPagination as ObjectivesCursorPagination,
1148
1139
  type ObjectiveContextWindowsCursorPagination as ObjectiveContextWindowsCursorPagination,
1149
- type ObjectiveListEventsResponsesCursorPagination as ObjectiveListEventsResponsesCursorPagination,
1140
+ type ObjectiveEventsCursorPagination as ObjectiveEventsCursorPagination,
1150
1141
  type ObjectiveCreateParams as ObjectiveCreateParams,
1151
1142
  type ObjectiveRetrieveParams as ObjectiveRetrieveParams,
1152
1143
  type ObjectiveListParams as ObjectiveListParams,
@@ -1155,6 +1146,7 @@ export declare namespace Objectives {
1155
1146
  type ObjectiveContinueParams as ObjectiveContinueParams,
1156
1147
  type ObjectiveListContextWindowsParams as ObjectiveListContextWindowsParams,
1157
1148
  type ObjectiveListEventsParams as ObjectiveListEventsParams,
1149
+ type ObjectiveStreamEventsParams as ObjectiveStreamEventsParams,
1158
1150
  };
1159
1151
 
1160
1152
  export {
@@ -66,23 +66,7 @@ export namespace UnsafeUnwrapWebhookEvent {
66
66
  */
67
67
  objective: Shared.OperationMetadata;
68
68
 
69
- objectiveEvent: Data.ObjectiveEvent;
70
- }
71
-
72
- export namespace Data {
73
- export interface ObjectiveEvent {
74
- data: ObjectivesAPI.ObjectiveEventData;
75
-
76
- /**
77
- * Metadata for ephemeral operations and activities (e.g., objectives, executions,
78
- * runs)
79
- */
80
- metadata: Shared.OperationMetadata;
81
-
82
- contextWindowId?: string;
83
-
84
- info?: ObjectivesAPI.ObjectiveEventInfo;
85
- }
69
+ objectiveEvent: ObjectivesAPI.ObjectiveEvent;
86
70
  }
87
71
  }
88
72
 
@@ -128,23 +112,7 @@ export namespace UnwrapWebhookEvent {
128
112
  */
129
113
  objective: Shared.OperationMetadata;
130
114
 
131
- objectiveEvent: Data.ObjectiveEvent;
132
- }
133
-
134
- export namespace Data {
135
- export interface ObjectiveEvent {
136
- data: ObjectivesAPI.ObjectiveEventData;
137
-
138
- /**
139
- * Metadata for ephemeral operations and activities (e.g., objectives, executions,
140
- * runs)
141
- */
142
- metadata: Shared.OperationMetadata;
143
-
144
- contextWindowId?: string;
145
-
146
- info?: ObjectivesAPI.ObjectiveEventInfo;
147
- }
115
+ objectiveEvent: ObjectivesAPI.ObjectiveEvent;
148
116
  }
149
117
  }
150
118
 
@@ -0,0 +1,2 @@
1
+ /** @deprecated Import from ./core/streaming instead */
2
+ export * from './core/streaming';
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.96.0'; // x-release-please-version
1
+ export const VERSION = '0.98.0'; // x-release-please-version
@@ -0,0 +1,3 @@
1
+ /** @deprecated Import from ./core/streaming instead */
2
+ export * from "./core/streaming.mjs";
3
+ //# sourceMappingURL=streaming.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"streaming.d.mts","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,qCAAiC"}
package/streaming.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ /** @deprecated Import from ./core/streaming instead */
2
+ export * from "./core/streaming.js";
3
+ //# sourceMappingURL=streaming.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"streaming.d.ts","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,oCAAiC"}
package/streaming.js ADDED
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("./internal/tslib.js");
4
+ /** @deprecated Import from ./core/streaming instead */
5
+ tslib_1.__exportStar(require("./core/streaming.js"), exports);
6
+ //# sourceMappingURL=streaming.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"streaming.js","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":";;;AAAA,uDAAuD;AACvD,8DAAiC"}
package/streaming.mjs ADDED
@@ -0,0 +1,3 @@
1
+ /** @deprecated Import from ./core/streaming instead */
2
+ export * from "./core/streaming.mjs";
3
+ //# sourceMappingURL=streaming.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"streaming.mjs","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,qCAAiC"}
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.96.0";
1
+ export declare const VERSION = "0.98.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.96.0";
1
+ export declare const VERSION = "0.98.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.96.0'; // x-release-please-version
4
+ exports.VERSION = '0.98.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.96.0'; // x-release-please-version
1
+ export const VERSION = '0.98.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map