@webless/agent 0.8.0 → 0.9.1

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.
package/dist/embed.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Root } from 'react-dom/client';
2
- import { t as AgentTagManifest, N as NormalizedAgentTagManifest } from './manifest-DgjT8-tW.js';
3
- export { e as AgentIndexVersion, j as AgentMountStrategy, k as AgentPlacementConfig, r as AgentTabSide, s as AgentTabVariant, I as DEFAULT_AGENT_PLACEMENT, a0 as normalizeAgentPlacement, a1 as normalizeAgentTagManifest } from './manifest-DgjT8-tW.js';
2
+ import { u as AgentTagManifest, N as NormalizedAgentTagManifest } from './panel-controller-D_XIQa1U.js';
3
+ export { e as AgentIndexVersion, j as AgentMountStrategy, k as AgentPanelSubmitOptions, l as AgentPlacementConfig, s as AgentTabSide, t as AgentTabVariant, J as DEFAULT_AGENT_PLACEMENT, a1 as normalizeAgentPlacement, a2 as normalizeAgentTagManifest, a4 as resetAgentPanel, a5 as submitAgentPanel } from './panel-controller-D_XIQa1U.js';
4
4
  import 'react';
5
5
 
6
6
  type AgentRuntimeHandle = {
@@ -34,10 +34,4 @@ type WeblessAgentPublicApi = {
34
34
  };
35
35
  declare function createWeblessAgentPublicApi(manifest: AgentTagManifest): WeblessAgentPublicApi;
36
36
 
37
- type AgentPanelSubmitOptions = {
38
- runtimeText?: string;
39
- };
40
- declare function resetAgentPanel(customerId: string): void;
41
- declare function submitAgentPanel(customerId: string, message: string, options?: AgentPanelSubmitOptions): Promise<string | null>;
42
-
43
- export { type AgentPanelSubmitOptions, type AgentRuntimeHandle, AgentTagManifest, NormalizedAgentTagManifest, type WeblessAgentPublicApi, bootstrapAgent, createWeblessAgentPublicApi, getMountedAgent, mountAgent, resetAgentPanel, submitAgentPanel, unmountAgent };
37
+ export { type AgentRuntimeHandle, AgentTagManifest, NormalizedAgentTagManifest, type WeblessAgentPublicApi, bootstrapAgent, createWeblessAgentPublicApi, getMountedAgent, mountAgent, unmountAgent };
package/dist/embed.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  resetAgentPanel,
10
10
  resolveAgentRuntimeConfig,
11
11
  submitAgentPanel
12
- } from "./chunk-JZPXXG76.js";
12
+ } from "./chunk-3E632FNE.js";
13
13
 
14
14
  // src/embed/mount.tsx
15
15
  import { createRoot } from "react-dom/client";