@xenosystem/agent-conversation 0.1.98 → 0.1.99
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/components/agent/AgentView.d.ts.map +1 -1
- package/dist/components/agent/AgentView.js +17 -0
- package/dist/components/agent/AgentView.js.map +1 -1
- package/dist/components/agent/holdSendForModelCatalog.d.ts +10 -0
- package/dist/components/agent/holdSendForModelCatalog.d.ts.map +1 -0
- package/dist/components/agent/holdSendForModelCatalog.js +12 -0
- package/dist/components/agent/holdSendForModelCatalog.js.map +1 -0
- package/package.json +6 -6
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether a message sent now should WAIT for the model catalog instead of starting a turn.
|
|
3
|
+
*
|
|
4
|
+
* While the cloud catalog is loading, the host marks the cloud provider blocked ("Loading models…"),
|
|
5
|
+
* so a turn started in that moment can only be refused, and reads as a failed reply. Loading is a
|
|
6
|
+
* passing state, not an outage: the composer holds the message and sends it when models arrive.
|
|
7
|
+
* Anything else (signed out, failed, an ACP agent, local inference) is answered normally.
|
|
8
|
+
*/
|
|
9
|
+
export declare function holdSendForModelCatalog(providerKind: string, inferenceMode: string, catalogState: string | undefined): boolean;
|
|
10
|
+
//# sourceMappingURL=holdSendForModelCatalog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"holdSendForModelCatalog.d.ts","sourceRoot":"","sources":["../../../src/components/agent/holdSendForModelCatalog.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAE9H"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether a message sent now should WAIT for the model catalog instead of starting a turn.
|
|
3
|
+
*
|
|
4
|
+
* While the cloud catalog is loading, the host marks the cloud provider blocked ("Loading models…"),
|
|
5
|
+
* so a turn started in that moment can only be refused, and reads as a failed reply. Loading is a
|
|
6
|
+
* passing state, not an outage: the composer holds the message and sends it when models arrive.
|
|
7
|
+
* Anything else (signed out, failed, an ACP agent, local inference) is answered normally.
|
|
8
|
+
*/
|
|
9
|
+
export function holdSendForModelCatalog(providerKind, inferenceMode, catalogState) {
|
|
10
|
+
return providerKind !== 'acp-provider' && inferenceMode === 'cloud' && catalogState === 'loading';
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=holdSendForModelCatalog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"holdSendForModelCatalog.js","sourceRoot":"","sources":["../../../src/components/agent/holdSendForModelCatalog.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,UAAU,uBAAuB,CAAC,YAAoB,EAAE,aAAqB,EAAE,YAAgC;IACnH,OAAO,YAAY,KAAK,cAAc,IAAI,aAAa,KAAK,OAAO,IAAI,YAAY,KAAK,SAAS,CAAA;AACnG,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xenosystem/agent-conversation",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.99",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"description": "The XENO Agent conversation surface: the transcript, the composer, and the logic behind them.",
|
|
6
6
|
"type": "module",
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
"react-markdown": "^10.1.0",
|
|
43
43
|
"remark-gfm": "^4.0.1",
|
|
44
44
|
"zustand": "^5.0.2",
|
|
45
|
-
"@xenosystem/agent-interface-client": "0.1.
|
|
46
|
-
"@xenosystem/agent-interface-hub-adapter": "0.1.
|
|
47
|
-
"@xenosystem/agent-interface-
|
|
48
|
-
"@xenosystem/agent-interface-
|
|
45
|
+
"@xenosystem/agent-interface-client": "0.1.99",
|
|
46
|
+
"@xenosystem/agent-interface-hub-adapter": "0.1.99",
|
|
47
|
+
"@xenosystem/agent-interface-contract": "0.1.99",
|
|
48
|
+
"@xenosystem/agent-interface-core": "0.1.99"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": "^19.0.0",
|
|
52
52
|
"react-dom": "^19.0.0"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "f9e37b820a5aa208a51e665efcee330054f1f97f"
|
|
56
56
|
}
|