codetyper-cli 0.2.3 → 0.2.4
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.js +20 -3
- package/package.json +1 -1
- package/src/version.json +1 -1
package/dist/index.js
CHANGED
|
@@ -73860,7 +73860,7 @@ var init_semantic_search = __esm(() => {
|
|
|
73860
73860
|
var version_default;
|
|
73861
73861
|
var init_version = __esm(() => {
|
|
73862
73862
|
version_default = {
|
|
73863
|
-
version: "0.2.
|
|
73863
|
+
version: "0.2.4"
|
|
73864
73864
|
};
|
|
73865
73865
|
});
|
|
73866
73866
|
|
|
@@ -107631,13 +107631,30 @@ function BrainMenu(props) {
|
|
|
107631
107631
|
}
|
|
107632
107632
|
|
|
107633
107633
|
// src/tui-solid/routes/session.tsx
|
|
107634
|
+
init_mcp();
|
|
107634
107635
|
function Session(props) {
|
|
107635
107636
|
const theme = useTheme();
|
|
107636
107637
|
const app = useAppStore();
|
|
107637
|
-
onMount(() => {
|
|
107638
|
+
onMount(async () => {
|
|
107638
107639
|
if (props.mcpServers && props.mcpServers.length > 0) {
|
|
107639
107640
|
app.setMcpServers(props.mcpServers);
|
|
107640
107641
|
}
|
|
107642
|
+
try {
|
|
107643
|
+
await initializeMCP();
|
|
107644
|
+
const instances = getServerInstances();
|
|
107645
|
+
const servers = [];
|
|
107646
|
+
for (const [id, instance] of instances) {
|
|
107647
|
+
servers.push({
|
|
107648
|
+
id,
|
|
107649
|
+
name: instance.config.name || id,
|
|
107650
|
+
status: instance.state === "connected" ? "connected" : instance.state === "error" ? "error" : "disconnected",
|
|
107651
|
+
description: instance.config.command
|
|
107652
|
+
});
|
|
107653
|
+
}
|
|
107654
|
+
if (servers.length > 0) {
|
|
107655
|
+
app.setMcpServers(servers);
|
|
107656
|
+
}
|
|
107657
|
+
} catch {}
|
|
107641
107658
|
});
|
|
107642
107659
|
const mcpServers = createMemo(() => app.mcpServers());
|
|
107643
107660
|
const [selectedHelpTopic, setSelectedHelpTopic] = createSignal(null);
|
|
@@ -111594,4 +111611,4 @@ ${plan.steps.map((s) => `${s.id}. ${s.description}`).join(`
|
|
|
111594
111611
|
});
|
|
111595
111612
|
program2.parse(process.argv);
|
|
111596
111613
|
|
|
111597
|
-
//# debugId=
|
|
111614
|
+
//# debugId=6760CDEC64E149A464756E2164756E21
|
package/package.json
CHANGED
package/src/version.json
CHANGED