gobot-tools 1.1.0 → 1.1.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.
package/README.md CHANGED
@@ -109,6 +109,17 @@ Connect your iPhone and Apple Watch to your bot using the free Health Auto Expor
109
109
  - **Setup time:** ~5 minutes
110
110
  - **Requires:** `APPLE_HEALTH_WEBHOOK_SECRET`
111
111
 
112
+ ### [Garmin Connect + Health Agent](packages/garmin) — `gobot-tools install garmin`
113
+
114
+ Connect your Garmin device to your bot for workout data, training insights, sleep tracking, and daily health metrics. Uses the community `garminconnect` library — no developer registration required.
115
+
116
+ - Body Battery, training readiness, VO₂ max, and training status
117
+ - All activity types: running, cycling, swimming, strength, hiking, and more
118
+ - Sleep stages, steps, resting heart rate, and stress data
119
+ - Works alongside Oura and Apple Watch — all three sources complement each other; the Health Agent pulls from whichever has data for any given metric
120
+ - **Setup time:** ~10 minutes
121
+ - **Requires:** `GARMIN_EMAIL`, `GARMIN_PASSWORD` (for initial setup only — tokens cached after first login)
122
+
112
123
  ---
113
124
 
114
125
  ## Messaging
@@ -200,6 +211,7 @@ gobot-tools search <query> Search by name, category, or keyword
200
211
  gobot-tools info <tool> Show details, env vars, dependencies
201
212
  gobot-tools install <tool> Download tool into your project
202
213
  gobot-tools uninstall <tool> Remove an installed tool
214
+ gobot-tools update [tool] Update a tool, or all installed tools
203
215
  ```
204
216
 
205
217
  ## How It Works
@@ -210,6 +222,13 @@ gobot-tools uninstall <tool> Remove an installed tool
210
222
 
211
223
  Tools are standalone — install only what you need. Some tools list dependencies (e.g., `teams` depends on `ms365`), and the CLI will tell you if you need to install something first.
212
224
 
225
+ When a tool receives a bug fix or new feature, update it with:
226
+
227
+ ```bash
228
+ gobot-tools update security-sentinel # update one tool
229
+ gobot-tools update # update all installed tools
230
+ ```
231
+
213
232
  ## Using Without the CLI
214
233
 
215
234
  Every tool's `prompt.md` works on its own. If you don't want to use the CLI:
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.1.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.1.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.1.0",
3
+ "version": "1.1.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": {