@tangle-network/agent-app 0.42.18 → 0.42.19

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.
@@ -0,0 +1,2 @@
1
+ export { AgentComposer, AgentComposerProps, AgentProfileCapability, AgentProfileDraft, AgentProfileOption, AgentProfilePicker, AgentProfilePickerProps, AgentSessionControls, AgentSessionControlsProps, AgentSessionHarnessControl, AgentSessionModelControl, AgentSessionProfileControl, AgentSessionReasoningControl, DEFAULT_REASONING_LEVEL_OPTIONS, ReasoningLevel, ReasoningLevelOption, ReasoningLevelPicker, isModelCompatibleWithHarness, snapHarnessToModel, snapModelToHarness } from '@tangle-network/sandbox-ui/chat';
2
+ export { HarnessType, ModelInfo } from '@tangle-network/sandbox-ui/dashboard';
@@ -0,0 +1,22 @@
1
+ // src/composer/index.ts
2
+ import {
3
+ AgentComposer,
4
+ AgentProfilePicker,
5
+ AgentSessionControls,
6
+ ReasoningLevelPicker,
7
+ DEFAULT_REASONING_LEVEL_OPTIONS,
8
+ snapModelToHarness,
9
+ snapHarnessToModel,
10
+ isModelCompatibleWithHarness
11
+ } from "@tangle-network/sandbox-ui/chat";
12
+ export {
13
+ AgentComposer,
14
+ AgentProfilePicker,
15
+ AgentSessionControls,
16
+ DEFAULT_REASONING_LEVEL_OPTIONS,
17
+ ReasoningLevelPicker,
18
+ isModelCompatibleWithHarness,
19
+ snapHarnessToModel,
20
+ snapModelToHarness
21
+ };
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/composer/index.ts"],"sourcesContent":["/**\n * The canonical agent chat composer, re-exported from `@tangle-network/sandbox-ui`\n * so agent-app apps adopt the one shared input box — model · harness · effort ·\n * agent-profile, with harness↔model snapping — without each wiring sandbox-ui\n * directly. Opt-in subpath: importing it requires the (otherwise optional)\n * `@tangle-network/sandbox-ui` peer, so apps that don't use the composer pay\n * nothing. Prefer this over agent-app's legacy `web-react` composer for new UI.\n */\nexport {\n AgentComposer,\n type AgentComposerProps,\n AgentProfilePicker,\n type AgentProfilePickerProps,\n type AgentProfileOption,\n type AgentProfileCapability,\n type AgentProfileDraft,\n AgentSessionControls,\n type AgentSessionControlsProps,\n type AgentSessionHarnessControl,\n type AgentSessionModelControl,\n type AgentSessionProfileControl,\n type AgentSessionReasoningControl,\n ReasoningLevelPicker,\n type ReasoningLevel,\n type ReasoningLevelOption,\n DEFAULT_REASONING_LEVEL_OPTIONS,\n snapModelToHarness,\n snapHarnessToModel,\n isModelCompatibleWithHarness,\n} from \"@tangle-network/sandbox-ui/chat\";\n\nexport {\n type ModelInfo,\n type HarnessType,\n} from \"@tangle-network/sandbox-ui/dashboard\";\n"],"mappings":";AAQA;AAAA,EACE;AAAA,EAEA;AAAA,EAKA;AAAA,EAMA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;","names":[]}
@@ -42,6 +42,10 @@ import {
42
42
  formatRulerLabel,
43
43
  selectTickStep
44
44
  } from "../chunk-OVUQNKLM.js";
45
+ import {
46
+ DesignCanvasChromeLazy,
47
+ DesignCanvasLazy
48
+ } from "../chunk-A5Z53E3A.js";
45
49
  import "../chunk-ZN5J47UX.js";
46
50
  import {
47
51
  DEFAULT_INSERT_TEMPLATES,
@@ -82,10 +86,6 @@ import {
82
86
  setPagePropsCommand,
83
87
  ungroupElementCommand
84
88
  } from "../chunk-XWJXZ6WE.js";
85
- import {
86
- DesignCanvasChromeLazy,
87
- DesignCanvasLazy
88
- } from "../chunk-A5Z53E3A.js";
89
89
  import "../chunk-LVD37K5V.js";
90
90
  import {
91
91
  assertSceneMediaSrc,
@@ -1,12 +1,12 @@
1
+ import {
2
+ InviteAcceptPage
3
+ } from "../chunk-VCPZ3HTN.js";
1
4
  import {
2
5
  MembersPanel
3
6
  } from "../chunk-GNL3MG5J.js";
4
7
  import {
5
8
  InvitationsPanel
6
9
  } from "../chunk-7C64WKAH.js";
7
- import {
8
- InviteAcceptPage
9
- } from "../chunk-VCPZ3HTN.js";
10
10
  import "../chunk-63CE7FEZ.js";
11
11
  export {
12
12
  InvitationsPanel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-app",
3
- "version": "0.42.18",
3
+ "version": "0.42.19",
4
4
  "packageManager": "pnpm@10.33.4",
5
5
  "description": "Application-shell framework for Tangle agent products: a bounded tool loop, the structured agent→app tool side channel, integration-hub client, per-workspace billing, and crypto — composed over the Tangle agent substrate through typed seams.",
6
6
  "keywords": [
@@ -158,6 +158,11 @@
158
158
  "import": "./dist/web-react/index.js",
159
159
  "default": "./dist/web-react/index.js"
160
160
  },
161
+ "./composer": {
162
+ "types": "./dist/composer/index.d.ts",
163
+ "import": "./dist/composer/index.js",
164
+ "default": "./dist/composer/index.js"
165
+ },
161
166
  "./assistant": {
162
167
  "types": "./dist/assistant/index.d.ts",
163
168
  "import": "./dist/assistant/index.js",
@@ -343,7 +348,7 @@
343
348
  "@tangle-network/agent-knowledge": "^1.7.0",
344
349
  "@tangle-network/agent-runtime": "^0.76.0",
345
350
  "@tangle-network/sandbox": "^0.9.5",
346
- "@tangle-network/sandbox-ui": "^0.44.0",
351
+ "@tangle-network/sandbox-ui": "^0.59.0",
347
352
  "@tangle-network/ui": "^4.1.0",
348
353
  "@testing-library/dom": "^10.4.1",
349
354
  "@testing-library/react": "^16.3.2",
@@ -376,7 +381,7 @@
376
381
  "@tangle-network/agent-knowledge": ">=1.7.0",
377
382
  "@tangle-network/agent-runtime": ">=0.76.0",
378
383
  "@tangle-network/sandbox": ">=0.9.4",
379
- "@tangle-network/sandbox-ui": ">=0.44.0",
384
+ "@tangle-network/sandbox-ui": ">=0.59.0",
380
385
  "drizzle-orm": ">=0.36",
381
386
  "konva": ">=9",
382
387
  "lucide-react": ">=1",