@classic-homes/agent-chat 0.1.2 → 0.1.3

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.
@@ -2,7 +2,7 @@
2
2
  import { Button, Icon } from '@classic-homes/theme-svelte';
3
3
  import type { Artifact } from '../reducer.js';
4
4
  import { parseMarkdown } from '../markdown.js';
5
- import { UI_FRAME_RENDER } from '../ui-frame-protocol.js';
5
+ import { FRAME_TARGET_ORIGIN, UI_FRAME_RENDER } from '../ui-frame-protocol.js';
6
6
 
7
7
  interface Props {
8
8
  artifacts: Artifact[];
@@ -24,7 +24,7 @@
24
24
  : selected.text;
25
25
  frame.contentWindow.postMessage(
26
26
  { type: UI_FRAME_RENDER, html, uri: `artifact://${selected.artifactId}` },
27
- sandboxOrigin,
27
+ FRAME_TARGET_ORIGIN,
28
28
  );
29
29
  }
30
30
  $effect(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classic-homes/agent-chat",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Svelte 5 chat UI for Classic Agent: session state, message list, composer, tool timeline, artifacts and MCP-UI sandbox frames. Consumed by the Classic App.",
@@ -17,8 +17,8 @@
17
17
  "dist"
18
18
  ],
19
19
  "dependencies": {
20
- "@classic-homes/agent-client": "0.1.2",
21
- "@classic-homes/agent-contracts": "0.1.2",
20
+ "@classic-homes/agent-client": "0.1.3",
21
+ "@classic-homes/agent-contracts": "0.1.3",
22
22
  "dompurify": "3.4.17"
23
23
  },
24
24
  "peerDependencies": {