@tangle-network/agent-app 0.46.46 → 0.46.48

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 (32) hide show
  1. package/dist/assistant/index.js +5 -5
  2. package/dist/catalog/index.js +1 -1
  3. package/dist/chat-react/index.js +3 -3
  4. package/dist/chat-routes/index.js +1 -1
  5. package/dist/{chunk-OS2FGYJQ.js → chunk-3GJQZSZK.js} +24 -16
  6. package/dist/chunk-3GJQZSZK.js.map +1 -0
  7. package/dist/{chunk-QUEKC2DS.js → chunk-7EB4KA4H.js} +2 -2
  8. package/dist/{chunk-PI3IVWFC.js → chunk-CMSPRJC6.js} +4 -3
  9. package/dist/chunk-CMSPRJC6.js.map +1 -0
  10. package/dist/{chunk-N55NM3W2.js → chunk-FS6YF4ZV.js} +68 -9
  11. package/dist/chunk-FS6YF4ZV.js.map +1 -0
  12. package/dist/{chunk-67ISDCXH.js → chunk-PTVDNCN7.js} +2 -2
  13. package/dist/{chunk-NKTTJE26.js → chunk-QB5RI6FN.js} +3 -3
  14. package/dist/{mention-editor-ZQHH7FHK.js → mention-editor-FNYLHJBA.js} +3 -3
  15. package/dist/preset-cloudflare/detached-turn-workflow.d.ts +60 -0
  16. package/dist/preset-cloudflare/index.d.ts +1 -0
  17. package/dist/preset-cloudflare/index.js +41 -1
  18. package/dist/preset-cloudflare/index.js.map +1 -1
  19. package/dist/runtime/index.js +3 -1
  20. package/dist/runtime/index.js.map +1 -1
  21. package/dist/runtime/model-catalog.d.ts +4 -2
  22. package/dist/sandbox/index.js +1 -1
  23. package/dist/studio-react/index.js +3 -3
  24. package/dist/web-react/index.js +5 -5
  25. package/package.json +1 -1
  26. package/dist/chunk-N55NM3W2.js.map +0 -1
  27. package/dist/chunk-OS2FGYJQ.js.map +0 -1
  28. package/dist/chunk-PI3IVWFC.js.map +0 -1
  29. /package/dist/{chunk-QUEKC2DS.js.map → chunk-7EB4KA4H.js.map} +0 -0
  30. /package/dist/{chunk-67ISDCXH.js.map → chunk-PTVDNCN7.js.map} +0 -0
  31. /package/dist/{chunk-NKTTJE26.js.map → chunk-QB5RI6FN.js.map} +0 -0
  32. /package/dist/{mention-editor-ZQHH7FHK.js.map → mention-editor-FNYLHJBA.js.map} +0 -0
@@ -9,8 +9,8 @@
9
9
  * duplicate canonical ones. This module turns that into a product catalogue:
10
10
  *
11
11
  * filter (chat-capable, routeable) → dedupe (snapshot/prefix/:free aliases)
12
- * → rank (provider tier, current generation) → feature (newest per provider)
13
- * → default (env override or first featured)
12
+ * → rank (provider tier, current generation) → recommend (bounded shortlist)
13
+ * → default (env override or preferred family)
14
14
  *
15
15
  * Freshness is automatic: everything is derived from the live router response,
16
16
  * so new models surface as soon as the router lists them. The only static
@@ -61,6 +61,8 @@ export interface ModelCatalog {
61
61
  fetchedAt: string;
62
62
  models: CatalogModel[];
63
63
  }
64
+ /** A short first screen, not one row for every Router provider. */
65
+ export declare const MAX_RECOMMENDED_MODELS = 3;
64
66
  /** Strip provider prefix, :free suffix, and trailing date stamps. */
65
67
  export declare function normalizeModelId(id: string): string;
66
68
  /**
@@ -99,7 +99,7 @@ import {
99
99
  workspaceSandboxRecoveryMessage,
100
100
  workspaceSandboxRecoveryRecommendedActions,
101
101
  writeProfileFilesToBox
102
- } from "../chunk-N55NM3W2.js";
102
+ } from "../chunk-FS6YF4ZV.js";
103
103
  import "../chunk-MCYJON3F.js";
104
104
  import "../chunk-LWSJK546.js";
105
105
  import "../chunk-P5PIAQVS.js";
@@ -38,7 +38,7 @@ import {
38
38
  } from "../chunk-TY2DALJG.js";
39
39
  import {
40
40
  useInfiniteScroll
41
- } from "../chunk-QUEKC2DS.js";
41
+ } from "../chunk-7EB4KA4H.js";
42
42
  import {
43
43
  CheckGlyph,
44
44
  ChevronDown,
@@ -48,9 +48,9 @@ import {
48
48
  PopoverSurface,
49
49
  ProviderLogo,
50
50
  usePopover
51
- } from "../chunk-PI3IVWFC.js";
51
+ } from "../chunk-CMSPRJC6.js";
52
52
  import "../chunk-SJWIZT7B.js";
53
- import "../chunk-OS2FGYJQ.js";
53
+ import "../chunk-3GJQZSZK.js";
54
54
 
55
55
  // src/studio-react/use-studio-generations.ts
56
56
  import { useCallback, useEffect, useMemo, useRef, useState } from "react";
@@ -127,14 +127,14 @@ import {
127
127
  withoutRecordGridCreated,
128
128
  withoutRecordGridRemoved,
129
129
  withoutRecordGridUpdate
130
- } from "../chunk-67ISDCXH.js";
130
+ } from "../chunk-PTVDNCN7.js";
131
131
  import {
132
132
  SessionHistoryPanel,
133
133
  formatSessionTimestamp,
134
134
  useInfiniteScroll,
135
135
  useSessionActions,
136
136
  useSessionHistory
137
- } from "../chunk-QUEKC2DS.js";
137
+ } from "../chunk-7EB4KA4H.js";
138
138
  import {
139
139
  MENTION_PILL_CLASS
140
140
  } from "../chunk-3HUFJ5LO.js";
@@ -169,7 +169,7 @@ import {
169
169
  renamePastedImages,
170
170
  useComposerAttachments,
171
171
  useDictation
172
- } from "../chunk-NKTTJE26.js";
172
+ } from "../chunk-QB5RI6FN.js";
173
173
  import "../chunk-L7MB2LLM.js";
174
174
  import {
175
175
  DEFAULT_EFFORT_LEVELS,
@@ -187,7 +187,7 @@ import {
187
187
  reconcileEffortLevels,
188
188
  usePending,
189
189
  usePopover
190
- } from "../chunk-PI3IVWFC.js";
190
+ } from "../chunk-CMSPRJC6.js";
191
191
  import {
192
192
  tabTerminalConnectionId,
193
193
  useSandboxTerminalConnection
@@ -249,7 +249,7 @@ import {
249
249
  } from "../chunk-M3K2HVQD.js";
250
250
  import "../chunk-YJMCRXQQ.js";
251
251
  import "../chunk-MCYJON3F.js";
252
- import "../chunk-OS2FGYJQ.js";
252
+ import "../chunk-3GJQZSZK.js";
253
253
  export {
254
254
  ATTACHMENT_ACCEPT,
255
255
  AgentActivityPanel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-app",
3
- "version": "0.46.46",
3
+ "version": "0.46.48",
4
4
  "packageManager": "pnpm@11.24.0",
5
5
  "description": "Build agent applications with typed chat, tools, sandboxes, integrations, billing, and evaluation.",
6
6
  "keywords": [