@tangle-network/agent-app 0.46.48 → 0.46.50

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.
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  ChatEmptyState,
3
3
  ChatMessages
4
- } from "../chunk-PTVDNCN7.js";
5
- import "../chunk-7EB4KA4H.js";
4
+ } from "../chunk-NOME5ZPG.js";
5
+ import "../chunk-J35PLM4G.js";
6
6
  import "../chunk-3HUFJ5LO.js";
7
7
  import "../chunk-FBVLEGEG.js";
8
8
  import "../chunk-ENLRJYVW.js";
9
9
  import "../chunk-GEYACSFW.js";
10
10
  import {
11
11
  ChatComposer
12
- } from "../chunk-QB5RI6FN.js";
12
+ } from "../chunk-PX3FB6QZ.js";
13
13
  import "../chunk-L7MB2LLM.js";
14
14
  import {
15
15
  ModelPicker
16
- } from "../chunk-CMSPRJC6.js";
16
+ } from "../chunk-E5HZ4JPA.js";
17
17
  import "../chunk-BATKJP3P.js";
18
18
  import {
19
19
  AsyncView
@@ -28,7 +28,7 @@ import "../chunk-ZMMIQOFI.js";
28
28
  import "../chunk-M3K2HVQD.js";
29
29
  import "../chunk-YJMCRXQQ.js";
30
30
  import "../chunk-MCYJON3F.js";
31
- import "../chunk-3GJQZSZK.js";
31
+ import "../chunk-OU3VTK3I.js";
32
32
 
33
33
  // src/assistant/sse.ts
34
34
  var SSEChunkParser = class {
@@ -12,4 +12,4 @@
12
12
  * no agent-runtime) so pickers and client hooks have a safe import target.
13
13
  * Server code may keep importing from `./runtime`; the two share one source.
14
14
  */
15
- export { buildCatalog, fetchModelCatalog, isChatCapableModel, normalizeModelId, sortModelsByFreshness, __resetCatalogCache, type CatalogModel, type ModelCatalog, type RouterModel, } from '../runtime/model-catalog';
15
+ export { buildCatalog, catalogModelForId, fetchModelCatalog, isChatCapableModel, normalizeModelId, resolveCatalogModelId, sortModelsByFreshness, __resetCatalogCache, type CatalogModel, type ModelCatalog, type RouterModel, } from '../runtime/model-catalog';
@@ -1,17 +1,21 @@
1
1
  import {
2
2
  __resetCatalogCache,
3
3
  buildCatalog,
4
+ catalogModelForId,
4
5
  fetchModelCatalog,
5
6
  isChatCapableModel,
6
7
  normalizeModelId,
8
+ resolveCatalogModelId,
7
9
  sortModelsByFreshness
8
- } from "../chunk-3GJQZSZK.js";
10
+ } from "../chunk-OU3VTK3I.js";
9
11
  export {
10
12
  __resetCatalogCache,
11
13
  buildCatalog,
14
+ catalogModelForId,
12
15
  fetchModelCatalog,
13
16
  isChatCapableModel,
14
17
  normalizeModelId,
18
+ resolveCatalogModelId,
15
19
  sortModelsByFreshness
16
20
  };
17
21
  //# sourceMappingURL=index.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  ComposerModeControls,
3
3
  EntryComposer
4
- } from "../chunk-QB5RI6FN.js";
4
+ } from "../chunk-PX3FB6QZ.js";
5
5
  import "../chunk-L7MB2LLM.js";
6
- import "../chunk-CMSPRJC6.js";
6
+ import "../chunk-E5HZ4JPA.js";
7
7
  import "../chunk-SJWIZT7B.js";
8
8
  import "../chunk-SUO2R2ET.js";
9
9
  import "../chunk-DXHUQ5NO.js";
10
10
  import "../chunk-MCYJON3F.js";
11
- import "../chunk-3GJQZSZK.js";
11
+ import "../chunk-OU3VTK3I.js";
12
12
  export {
13
13
  ComposerModeControls,
14
14
  EntryComposer
@@ -792,7 +792,8 @@ function createChatTurnRoutes(options) {
792
792
  return new Response(body, {
793
793
  headers: {
794
794
  "Content-Type": result.contentType,
795
- "Cache-Control": "no-cache"
795
+ "Cache-Control": "no-cache",
796
+ "X-Turn-Id": turnStreamId
796
797
  }
797
798
  });
798
799
  } catch (err) {