@botconnector/bccli 0.5.5 → 0.5.6
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/branding.mjs +1 -1
- package/model-dialog.mjs +3 -1
- package/package.json +4 -4
package/branding.mjs
CHANGED
|
@@ -33,7 +33,7 @@ const SOURCE_HASHES = Object.freeze({
|
|
|
33
33
|
'chunks/chunk-B3ZFUGTC.js': 'f3f57aafbaeab56ca58f5d3173751d30e5fef815aeaf8dc9b46e6ea9e85eb528',
|
|
34
34
|
'chunks/chunk-GGVWG4SI.js': '945c7f4e9b3697003c165b7bc5d007c9b87140d1fad7be084d7b253d8d2b476c',
|
|
35
35
|
})
|
|
36
|
-
const BRAND_REVISION = 'bccli-
|
|
36
|
+
const BRAND_REVISION = 'bccli-20261101-model-picker-persist-v19'
|
|
37
37
|
// Deliberately not Qwen's blue→purple→rose gradient. BotConnector-facing
|
|
38
38
|
// coding CLI uses a distinct teal→green→amber palette in dark/light themes.
|
|
39
39
|
export const BCCLI_COLORS = Object.freeze(['#00AFA0', '#22C55E', '#EAB308'])
|
package/model-dialog.mjs
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
// uses for this region: import_react31 for hooks, import_jsx_runtime36 for jsx.
|
|
13
13
|
export const BCCLI_MODEL_DIALOG = String.raw`function BccliModelPicker(props){
|
|
14
14
|
const config=useConfig();
|
|
15
|
+
const settings=useSettings();
|
|
15
16
|
const [models,setModels]=(0,import_react31.useState)([]);
|
|
16
17
|
const [search,setSearch]=(0,import_react31.useState)("");
|
|
17
18
|
const [editing,setEditing]=(0,import_react31.useState)(false);
|
|
@@ -64,6 +65,7 @@ export const BCCLI_MODEL_DIALOG = String.raw`function BccliModelPicker(props){
|
|
|
64
65
|
if(previous&&previous!==id)await config.setModel(previous,{reason:"bccli-gateway-model-picker-rollback"}).catch(()=>{});
|
|
65
66
|
throw Error("Model selection was not saved");
|
|
66
67
|
}
|
|
68
|
+
persistModelSelection(settings,id,base,props.persistScope);
|
|
67
69
|
setActive(id);
|
|
68
70
|
props.onClose?.();
|
|
69
71
|
}catch(error){
|
|
@@ -106,7 +108,7 @@ export const BCCLI_MODEL_DIALOG = String.raw`function BccliModelPicker(props){
|
|
|
106
108
|
flexDirection:"column",padding:1,width:"100%",children:[
|
|
107
109
|
(0,import_jsx_runtime36.jsx)(Text,{bold:true,children:title}),
|
|
108
110
|
(0,import_jsx_runtime36.jsx)(Text,{color:theme.text.secondary,children:models.length?
|
|
109
|
-
"Search models ("+count+"/"+models.length+") · type to filter · Esc
|
|
111
|
+
"Search models ("+count+"/"+models.length+") · type to filter · Esc stops editing, then clears, then closes":
|
|
110
112
|
"Loading the provider model catalog..."}),
|
|
111
113
|
(0,import_jsx_runtime36.jsx)(Text,{color:editing?theme.text.link:theme.text.secondary,children:searchRow}),
|
|
112
114
|
...(visible.length?visible.map((label,index)=>{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botconnector/bccli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"description": "BCCLI | Full coding engine and legacy SDK with verified Apache-2.0 bundled runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
},
|
|
83
83
|
"bccliRuntimeSource": {
|
|
84
84
|
"repository": "https://github.com/farijarifriyanto-debug/bccli-runtime",
|
|
85
|
-
"commit": "
|
|
86
|
-
"release": "bccli-v0.5.
|
|
87
|
-
"originalSha256": "
|
|
85
|
+
"commit": "eeb9162c6eca8017a77bb0340919b1dca650ef45",
|
|
86
|
+
"release": "bccli-v0.5.6",
|
|
87
|
+
"originalSha256": "f92446794390640295189a4994f357ceddfd22c9055e704c656d9567dcca35d3"
|
|
88
88
|
}
|
|
89
89
|
}
|