gogcli-mcp-contacts 4.5.0 → 4.5.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/dist/index.js CHANGED
@@ -35484,6 +35484,7 @@ async function diagnose(err) {
35484
35484
  const isAuthError = !isTransientError && AUTH_ERROR_PATTERN.test(errText);
35485
35485
  const isGridLimitError = GRID_LIMIT_ERROR_PATTERN.test(errText);
35486
35486
  const hint = isInvalidGrant ? INVALID_GRANT_HINT : isAuthError ? AUTH_HINT : isTransientError ? TRANSIENT_HINT : isGridLimitError ? GRID_LIMIT_HINT : "";
35487
+ if (!isAuthError && !isInvalidGrant) return errorResult(`${errText}${hint}`);
35487
35488
  try {
35488
35489
  const accounts = formatAccountList(await run(["auth", "list"]));
35489
35490
  return errorResult(`${errText}
@@ -35710,6 +35711,27 @@ function authToolsFor(defaultServices) {
35710
35711
  }
35711
35712
 
35712
35713
  // ../gogcli-mcp/src/tools/calendar.ts
35714
+ var ASKS = (tool) => `Use ${tool}, which asks the user to confirm.`;
35715
+ var CALENDAR_REFUSED = {
35716
+ create: { does: "can change what guests see", instead: ASKS("gog_calendar_create") },
35717
+ add: { does: "can change what guests see", instead: ASKS("gog_calendar_create") },
35718
+ new: { does: "can change what guests see", instead: ASKS("gog_calendar_create") },
35719
+ update: { does: "can change what guests see", instead: ASKS("gog_calendar_update") },
35720
+ edit: { does: "can change what guests see", instead: ASKS("gog_calendar_update") },
35721
+ set: { does: "can change what guests see", instead: ASKS("gog_calendar_update") },
35722
+ respond: { does: "can change what guests see", instead: ASKS("gog_calendar_respond") },
35723
+ rsvp: { does: "can change what guests see", instead: ASKS("gog_calendar_respond") },
35724
+ reply: { does: "can change what guests see", instead: ASKS("gog_calendar_respond") },
35725
+ move: { does: "moves an event off guests' calendars (and can email them)", instead: ASKS("gog_calendar_move") },
35726
+ transfer: { does: "moves an event off guests' calendars (and can email them)", instead: ASKS("gog_calendar_move") },
35727
+ delete: { does: "removes an event from every guest's calendar (the whole series by default)", instead: ASKS("gog_calendar_delete") },
35728
+ del: { does: "removes an event from every guest's calendar (the whole series by default)", instead: ASKS("gog_calendar_delete") },
35729
+ rm: { does: "removes an event from every guest's calendar (the whole series by default)", instead: ASKS("gog_calendar_delete") },
35730
+ remove: { does: "removes an event from every guest's calendar (the whole series by default)", instead: ASKS("gog_calendar_delete") },
35731
+ "delete-calendar": { does: "deletes a calendar and every event on it", instead: ASKS("gog_calendar_delete_calendar") },
35732
+ "out-of-office": { does: "auto-declines invitations and notifies their organizers", instead: ASKS("gog_calendar_out_of_office") },
35733
+ ooo: { does: "auto-declines invitations and notifies their organizers", instead: ASKS("gog_calendar_out_of_office") }
35734
+ };
35713
35735
  var reminderParams = {
35714
35736
  reminders: external_exports.array(external_exports.string()).max(5).optional().describe(
35715
35737
  `Reminders as method:duration, e.g. ["popup:30m", "email:1d"]. Method is popup or email; duration accepts m/h/d (max 40320 minutes = 4 weeks). Google allows at most 5. These REPLACE the event's reminders \u2014 on update, pass an EMPTY array to drop custom reminders and go back to the calendar's defaults. Cannot be combined with noReminders.`
@@ -35827,7 +35849,7 @@ var failIfNotEmptyParam = external_exports.boolean().optional().describe(
35827
35849
  );
35828
35850
 
35829
35851
  // ../gogcli-mcp/src/server.ts
35830
- var VERSION = true ? "4.5.0" : "0.0.0";
35852
+ var VERSION = true ? "4.5.1" : "0.0.0";
35831
35853
 
35832
35854
  // ../gogcli-mcp/src/bootstrap-auth.ts
35833
35855
  import { join as join5 } from "node:path";
package/manifest.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "manifest_version": "0.3",
4
4
  "name": "gogcli-mcp-contacts",
5
5
  "display_name": "gogcli (Contacts)",
6
- "version": "4.5.0",
6
+ "version": "4.5.1",
7
7
  "description": "Extended Google Contacts for Claude via gogcli — auth + Contacts + Workspace directory (People API)",
8
8
  "author": {
9
9
  "name": "Chris Hall",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gogcli-mcp-contacts",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "mcpName": "io.github.chrischall/gogcli-mcp-contacts",
5
5
  "description": "Extended Google Contacts + People MCP server via gogcli — auth + Contacts + Workspace directory (People API)",
6
6
  "author": "Claude Code (AI) <https://www.anthropic.com/claude>",