gobot-tools 1.2.0 → 1.2.1

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -77,4 +77,4 @@ Expecting one of '${z.join("', '")}'`);let R=`${$}Help`;return this.on(R,(J)=>{l
77
77
  `);return}if(z.length===0){console.log(`
78
78
  No tools installed yet. Run "gobot-tools install <tool>" first.
79
79
  `);return}let R=0,J=0;for(let Q of z){let Z=L$(Q.name);if(Z===Q.version){console.log(` ${Q.displayName}: already up to date (${Q.version})`),J++;continue}let X=Z??"unknown";console.log(`
80
- Updating ${Q.displayName}: ${X} → ${Q.version}...`);try{await f(Q),console.log(" Updated."),R++}catch(Y){console.log(` Update failed: ${Y.message}`)}}if(console.log(),R>0)console.log(` ${R} tool(s) updated.`);if(J>0&&R===0)console.log(" All tools are up to date.");console.log()}var H=new Q$;H.name("gobot-tools").description("CLI marketplace for Autonomee community bot tools").version("1.2.0");H.command("init").description("Set up gobot-tools for your project").action(Y$);H.command("list").description("Browse all available tools").action(I$);H.command("search <query>").description("Search tools by name, category, or keyword").action(K$);H.command("info <tool>").description("Show details about a specific tool").action(P$);H.command("install <tool>").description("Install a tool into your project").action(W$);H.command("uninstall <tool>").description("Remove an installed tool").action(S$);H.command("update [tool]").description("Update an installed tool, or all installed tools if no name given").action(y$);H.parse();
80
+ Updating ${Q.displayName}: ${X} → ${Q.version}...`);try{await f(Q),console.log(" Updated."),R++}catch(Y){console.log(` Update failed: ${Y.message}`)}}if(console.log(),R>0)console.log(` ${R} tool(s) updated.`);if(J>0&&R===0)console.log(" All tools are up to date.");console.log()}var H=new Q$;H.name("gobot-tools").description("CLI marketplace for Autonomee community bot tools").version("1.2.1");H.command("init").description("Set up gobot-tools for your project").action(Y$);H.command("list").description("Browse all available tools").action(I$);H.command("search <query>").description("Search tools by name, category, or keyword").action(K$);H.command("info <tool>").description("Show details about a specific tool").action(P$);H.command("install <tool>").description("Install a tool into your project").action(W$);H.command("uninstall <tool>").description("Remove an installed tool").action(S$);H.command("update [tool]").description("Update an installed tool, or all installed tools if no name given").action(y$);H.parse();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gobot-tools",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "CLI marketplace for Autonomee community bot tools — browse, install, and configure integrations for your AI Telegram bot",
5
5
  "type": "module",
6
6
  "bin": {