@getpochi/cli 0.5.64 → 0.5.65
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/cli.js +5 -4
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -368970,7 +368970,7 @@ var {
|
|
|
368970
368970
|
// package.json
|
|
368971
368971
|
var package_default = {
|
|
368972
368972
|
name: "@getpochi/cli",
|
|
368973
|
-
version: "0.5.
|
|
368973
|
+
version: "0.5.65",
|
|
368974
368974
|
type: "module",
|
|
368975
368975
|
bin: {
|
|
368976
368976
|
pochi: "src/cli.ts"
|
|
@@ -396496,7 +396496,8 @@ class McpConnection {
|
|
|
396496
396496
|
#status = {
|
|
396497
396497
|
status: "stopped",
|
|
396498
396498
|
error: undefined,
|
|
396499
|
-
tools: {}
|
|
396499
|
+
tools: {},
|
|
396500
|
+
instructions: undefined
|
|
396500
396501
|
};
|
|
396501
396502
|
get status() {
|
|
396502
396503
|
return this.#status;
|
|
@@ -396942,8 +396943,8 @@ class McpHub {
|
|
|
396942
396943
|
};
|
|
396943
396944
|
}
|
|
396944
396945
|
const toolset = r4(r2(d2(connections, (connection2) => connection2.status === "ready" && !!connection2.tools)).map((connection2) => d2(connection2.tools, (tool2) => !tool2.disabled)).map((tool2) => i5(tool2, (tool3) => y5(tool3, ["disabled"]))));
|
|
396945
|
-
const instructions = Object.entries(connections).filter(([,
|
|
396946
|
-
${
|
|
396946
|
+
const instructions = Object.entries(connections).filter(([, conn]) => !!conn.instructions).map(([name17, conn]) => `# Instructions from ${name17} mcp server
|
|
396947
|
+
${conn.instructions}`).join(`
|
|
396947
396948
|
|
|
396948
396949
|
`);
|
|
396949
396950
|
return {
|