mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 18:01:22 +00:00
Expose agent, agentInterface, and artifactsPanel as public in ChatPanel
Make these properties public so they can be accessed externally for test automation and other programmatic control. Changes: - Change agent, agentInterface, artifactsPanel from private to public
This commit is contained in:
parent
2756f2a974
commit
3db2a6fe2c
2 changed files with 3 additions and 5 deletions
|
|
@ -18,9 +18,9 @@ const BREAKPOINT = 800; // px - switch between overlay and side-by-side
|
|||
|
||||
@customElement("pi-chat-panel")
|
||||
export class ChatPanel extends LitElement {
|
||||
@state() private agent?: Agent;
|
||||
@state() private agentInterface?: AgentInterface;
|
||||
@state() private artifactsPanel?: ArtifactsPanel;
|
||||
@state() public agent?: Agent;
|
||||
@state() public agentInterface?: AgentInterface;
|
||||
@state() public artifactsPanel?: ArtifactsPanel;
|
||||
@state() private hasArtifacts = false;
|
||||
@state() private artifactCount = 0;
|
||||
@state() private showArtifactsPanel = false;
|
||||
|
|
|
|||
|
|
@ -28,8 +28,6 @@ Execute JavaScript code in a sandboxed browser environment with full Web APIs.
|
|||
- CSV: const Papa = (await import('https://esm.run/papaparse')).default;
|
||||
- Chart.js: const Chart = (await import('https://esm.run/chart.js/auto')).default;
|
||||
- Three.js: const THREE = await import('https://esm.run/three');
|
||||
- Lodash: const _ = await import('https://esm.run/lodash-es');
|
||||
- D3.js: const d3 = await import('https://esm.run/d3');
|
||||
|
||||
## Important Notes
|
||||
- Graphics: Use fixed dimensions (800x600), NOT window.innerWidth/Height
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue