@xenosystem/agent-interface-panel 0.1.82 → 0.1.84
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/index.d.ts +26 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +60 -11
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -47,6 +47,25 @@ import { type XenoAgentConversationProps } from '@xenosystem/agent-conversation'
|
|
|
47
47
|
* here would put back exactly the barrier this panel exists to remove.
|
|
48
48
|
*/
|
|
49
49
|
export type AgentPlatformBridgeLike = object;
|
|
50
|
+
/**
|
|
51
|
+
* The panel OWNS which conversation it shows.
|
|
52
|
+
*
|
|
53
|
+
* 🔴 It used to render the conversation once, with fixed props and no `onNavigateConversation`, so every
|
|
54
|
+
* way the conversation moves somewhere else was dead inside a panel host: "New chat" never rendered,
|
|
55
|
+
* opening a delegated sub-agent from the dock's tray did nothing, and a sub-agent's "Back to parent
|
|
56
|
+
* agent" never appeared. The Turn Modes Bench measurement found it — its chat frame has a New chat
|
|
57
|
+
* action the panel could not draw. Now the panel keeps the current conversation as state, moves itself,
|
|
58
|
+
* and still tells a host that wants to know.
|
|
59
|
+
*/
|
|
60
|
+
/** The host's open document, as it changes. `null` when none is open. */
|
|
61
|
+
export interface SurfaceDocumentSource {
|
|
62
|
+
current(): SurfaceDocument | null;
|
|
63
|
+
subscribe(listener: (document: SurfaceDocument | null) => void): () => void;
|
|
64
|
+
}
|
|
65
|
+
export interface SurfaceDocument {
|
|
66
|
+
id: string;
|
|
67
|
+
name?: string;
|
|
68
|
+
}
|
|
50
69
|
/**
|
|
51
70
|
* Options for {@link createXenoAgentInterfacePanel} — supply EITHER a client or a bridge.
|
|
52
71
|
*
|
|
@@ -82,6 +101,13 @@ export interface CreateXenoAgentInterfacePanelOptions {
|
|
|
82
101
|
* passes `agentId`/`agentName`/`model`.
|
|
83
102
|
*/
|
|
84
103
|
conversation?: Partial<XenoAgentConversationProps>;
|
|
104
|
+
/**
|
|
105
|
+
* The host app's OPEN DOCUMENT, as it changes — an app panel only (Canvas passes its document id,
|
|
106
|
+
* which is saved in the file). With it, every document keeps its own conversations: opening a
|
|
107
|
+
* document shows its latest, "New chat" starts another on that document, and the strip lists them
|
|
108
|
+
* all to resume. Chat and Agent turns share each thread. Omitted: conversations are not per document.
|
|
109
|
+
*/
|
|
110
|
+
document?: SurfaceDocumentSource;
|
|
85
111
|
/**
|
|
86
112
|
* Build the client this panel mounts against — the EMBED path.
|
|
87
113
|
*
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAKH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AASzE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAKH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AASzE,OAAO,EAUL,KAAK,0BAA0B,EAChC,MAAM,gCAAgC,CAAA;AAGvC;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAA;AAe5C;;;;;;;;;GASG;AACH,yEAAyE;AACzE,MAAM,WAAW,qBAAqB;IACpC,OAAO,IAAI,eAAe,GAAG,IAAI,CAAA;IACjC,SAAS,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,eAAe,GAAG,IAAI,KAAK,IAAI,GAAG,MAAM,IAAI,CAAA;CAC5E;AACD,MAAM,WAAW,eAAe;IAAG,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE;AA4F9D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,WAAW,oCAAoC;IACnD;;;;;;;;;;OAUG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC,0BAA0B,CAAC,CAAA;IAClD;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,qBAAqB,CAAA;IAChC;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,MAAM,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;IAC/D;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,MAAM,uBAAuB,GAAG,IAAI,GAAG,OAAO,CAAC,uBAAuB,GAAG,IAAI,CAAC,CAAA;IAC7F,6FAA6F;IAC7F,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CACnC;AAiBD,6CAA6C;AAC7C,eAAO,MAAM,mBAAmB,EAAG,aAAsB,CAAA;AAEzD;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,oCAAoC,GAC5C,WAAW,CAmGb"}
|
package/dist/index.js
CHANGED
|
@@ -50,7 +50,7 @@ import { mountXenoAgentInterface } from '@xenosystem/agent-interface-embed';
|
|
|
50
50
|
* improving the panel reached nobody, because nothing downstream depended on it. Now the shell and
|
|
51
51
|
* this panel are peers that render the same conversation.
|
|
52
52
|
*/
|
|
53
|
-
import { MAIN_ASSISTANT_ID, MAIN_ASSISTANT_MODEL, MAIN_ASSISTANT_NAME, XenoAgentConversation, configureAgentPlatformBridge, } from '@xenosystem/agent-conversation';
|
|
53
|
+
import { MAIN_ASSISTANT_ID, MAIN_ASSISTANT_MODEL, MAIN_ASSISTANT_NAME, XenoAgentConversation, configureAgentPlatformBridge, conversationsForSurfaceDocument, getAgentPlatformBridge, loadLocalAgentConversations, useAgentChatStore, } from '@xenosystem/agent-conversation';
|
|
54
54
|
import { disposeHubAgentCatalogClient } from '@xenosystem/agent-conversation/adapters/xenoAgentHostCatalog';
|
|
55
55
|
/**
|
|
56
56
|
* What this panel actually renders: the CONVERSATION, not the shell around it.
|
|
@@ -65,18 +65,62 @@ import { disposeHubAgentCatalogClient } from '@xenosystem/agent-conversation/ada
|
|
|
65
65
|
*/
|
|
66
66
|
const AgentConversationComponent = XenoAgentConversation;
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
* opening a delegated sub-agent from the dock's tray did nothing, and a sub-agent's "Back to parent
|
|
73
|
-
* agent" never appeared. The Turn Modes Bench measurement found it — its chat frame has a New chat
|
|
74
|
-
* action the panel could not draw. Now the panel keeps the current conversation as state, moves itself,
|
|
75
|
-
* and still tells a host that wants to know.
|
|
68
|
+
* Each document keeps its OWN conversations (owner, 2026-09-27). Opening a document shows its most
|
|
69
|
+
* recent conversation, or a fresh one; switching documents switches the thread; the strip lists the
|
|
70
|
+
* document's conversations to resume. Loaded from the host's store once, because a panel mount
|
|
71
|
+
* otherwise sees only what was created in it.
|
|
76
72
|
*/
|
|
73
|
+
function useSurfaceDocument(source) {
|
|
74
|
+
const [document, setDocument] = useState(() => source?.current() ?? null);
|
|
75
|
+
useEffect(() => {
|
|
76
|
+
if (!source)
|
|
77
|
+
return;
|
|
78
|
+
setDocument(source.current());
|
|
79
|
+
return source.subscribe(setDocument);
|
|
80
|
+
}, [source]);
|
|
81
|
+
return document;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* The app slug the HOST recorded for this panel, read defensively: a bridge that does not implement
|
|
85
|
+
* `surfaceApplication` (or implements it as something other than a function) means "not an app
|
|
86
|
+
* panel", never a throw — a panel that dies because its host is older is the wrong failure.
|
|
87
|
+
*/
|
|
88
|
+
function surfaceAppOf(bridge) {
|
|
89
|
+
try {
|
|
90
|
+
const read = bridge?.surfaceApplication;
|
|
91
|
+
if (typeof read !== 'function')
|
|
92
|
+
return undefined;
|
|
93
|
+
const application = read.call(bridge);
|
|
94
|
+
return typeof application?.app === 'string' && application.app ? application.app : undefined;
|
|
95
|
+
}
|
|
96
|
+
catch {
|
|
97
|
+
return undefined;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
77
100
|
function PanelConversation(props) {
|
|
78
|
-
const {
|
|
101
|
+
const { documentSource, ...conversationProps } = props;
|
|
102
|
+
const document = useSurfaceDocument(documentSource);
|
|
103
|
+
const { conversationId: named, onNavigateConversation, onConversationCreated } = conversationProps;
|
|
79
104
|
const [conversationId, setConversationId] = useState(named);
|
|
105
|
+
const [loaded, setLoaded] = useState(!documentSource);
|
|
106
|
+
useEffect(() => {
|
|
107
|
+
if (!documentSource)
|
|
108
|
+
return;
|
|
109
|
+
let cancelled = false;
|
|
110
|
+
void loadLocalAgentConversations().finally(() => { if (!cancelled)
|
|
111
|
+
setLoaded(true); });
|
|
112
|
+
return () => { cancelled = true; };
|
|
113
|
+
}, [documentSource]);
|
|
114
|
+
// a different DOCUMENT → that document's most recent conversation, or a new one on first message
|
|
115
|
+
useEffect(() => {
|
|
116
|
+
if (!documentSource || !loaded || named !== undefined)
|
|
117
|
+
return;
|
|
118
|
+
const app = surfaceAppOf(getAgentPlatformBridge());
|
|
119
|
+
const latest = app && document
|
|
120
|
+
? conversationsForSurfaceDocument(useAgentChatStore.getState().conversations, app, document.id)[0]
|
|
121
|
+
: undefined;
|
|
122
|
+
setConversationId(latest ? latest.id : null);
|
|
123
|
+
}, [documentSource, loaded, document?.id, named]);
|
|
80
124
|
// a host that names a DIFFERENT conversation later still wins
|
|
81
125
|
useEffect(() => { if (named !== undefined)
|
|
82
126
|
setConversationId(named); }, [named]);
|
|
@@ -84,7 +128,10 @@ function PanelConversation(props) {
|
|
|
84
128
|
// a conversation the view creates for itself becomes the panel's current one
|
|
85
129
|
const created = useCallback((id) => { setConversationId(id); onConversationCreated?.(id); }, [onConversationCreated]);
|
|
86
130
|
return createElement(AgentConversationComponent, {
|
|
87
|
-
...
|
|
131
|
+
...conversationProps,
|
|
132
|
+
...(document ? { surfaceDocument: document } : {}),
|
|
133
|
+
// keyed by document so the view's per-conversation state never leaks across documents
|
|
134
|
+
key: document?.id ?? 'no-document',
|
|
88
135
|
// omitted rather than `undefined` while no conversation is named or created yet
|
|
89
136
|
...(conversationId !== undefined ? { conversationId } : {}),
|
|
90
137
|
onNavigateConversation: navigate,
|
|
@@ -169,6 +216,7 @@ export function createXenoAgentInterfacePanel(options) {
|
|
|
169
216
|
root.render(createElement(PanelConversation, {
|
|
170
217
|
...defaultConversationProps(),
|
|
171
218
|
...options.conversation,
|
|
219
|
+
...(options.document ? { documentSource: options.document } : {}),
|
|
172
220
|
}));
|
|
173
221
|
return;
|
|
174
222
|
}
|
|
@@ -191,6 +239,7 @@ export function createXenoAgentInterfacePanel(options) {
|
|
|
191
239
|
root.render(createElement(PanelConversation, {
|
|
192
240
|
...defaultConversationProps(),
|
|
193
241
|
...options.conversation,
|
|
242
|
+
...(options.document ? { documentSource: options.document } : {}),
|
|
194
243
|
}));
|
|
195
244
|
},
|
|
196
245
|
unmount() {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAEH,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAA0B,MAAM,OAAO,CAAA;AAC/F,OAAO,EAAE,UAAU,EAAa,MAAM,kBAAkB,CAAA;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAE1D,OAAO,EAAE,uBAAuB,EAAsC,MAAM,mCAAmC,CAAA;AAE/G;;;;;;;GAOG;AACH,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,4BAA4B,
|
|
1
|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;oCAC3C,GAAG,wBAAwB,EAAE;oCAC7B,GAAG,OAAO,CAAC,YAAY;oCACvB,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;iCAClE,CAAC,CAAC,CAAA;4BACL,CAAC;4BACD,OAAO;gCACL,IAAI,EAAE,OAAO,EAAE,CAAA;gCACf,IAAI,GAAG,IAAI,CAAA;4BACb,CAAC;yBACF;qBACF,CAAC,CAAA;oBACF,IAAI,QAAQ,EAAE,CAAC;wBACb,MAAM,OAAO,CAAC,OAAO,EAAE,CAAA;wBACvB,OAAM;oBACR,CAAC;oBACD,MAAM,GAAG,OAAO,CAAA;gBAClB,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACf,OAAO,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,CAAA;gBAC1B,CAAC;YACH,CAAC,CAAC,EAAE,CAAA;YAEJ,OAAO,GAAG,EAAE;gBACV,QAAQ,GAAG,IAAI,CAAA;gBACf,KAAK,MAAM,EAAE,OAAO,EAAE,CAAA;gBACtB,MAAM,GAAG,IAAI,CAAA;gBACb,IAAI,EAAE,OAAO,EAAE,CAAA;gBACf,IAAI,GAAG,IAAI,CAAA;gBACX;;;;;;mBAMG;gBACH,4BAA4B,EAAE,CAAA;gBAC9B,aAAa,EAAE,EAAE,CAAA;gBACjB,aAAa,GAAG,IAAI,CAAA;YACtB,CAAC,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xenosystem/agent-interface-panel",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.84",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@xenosystem/panel-agent": "^0.1.0",
|
|
27
|
-
"@xenosystem/agent-conversation": "0.1.
|
|
28
|
-
"@xenosystem/agent-interface-
|
|
29
|
-
"@xenosystem/agent-interface-
|
|
30
|
-
"@xenosystem/agent-interface-embed": "0.1.
|
|
27
|
+
"@xenosystem/agent-conversation": "0.1.84",
|
|
28
|
+
"@xenosystem/agent-interface-contract": "0.1.84",
|
|
29
|
+
"@xenosystem/agent-interface-client": "0.1.84",
|
|
30
|
+
"@xenosystem/agent-interface-embed": "0.1.84"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@xenosystem/panel-sdk": "^1.1.0",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "tsc -p tsconfig.json"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "09e959d035405cbb237b3bda5af2d763c89364fe"
|
|
50
50
|
}
|