gogcli-mcp-contacts 4.2.1 → 4.2.3

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
@@ -35321,6 +35321,7 @@ function registerAuthToolsWith(server, defaultServices) {
35321
35321
  });
35322
35322
  server.registerTool("gog_auth_add_url", {
35323
35323
  description: "Begin REMOTE/headless Google authorization (step 1 of 2). Returns a sign-in URL to open in any browser \u2014 no local server or terminal on the gogcli host is needed, so this works on a hosted deployment where the interactive gog_auth_add cannot. Hand the URL to the user; after they sign in, the browser is redirected to a localhost URL that fails to load \u2014 that is expected. They copy that full redirected URL (from the address bar) and you pass it to gog_auth_add_complete. The link is valid for 10 minutes. If you pass a custom `services` here, pass the SAME value to gog_auth_add_complete or the second step will not match this one.",
35324
+ annotations: { readOnlyHint: true },
35324
35325
  inputSchema: external_exports.object({
35325
35326
  email: external_exports.string().describe("Google account email to authorize"),
35326
35327
  services: external_exports.string().optional().default(defaultServices).describe(servicesDescribe),
@@ -35445,7 +35446,7 @@ function registerContactsTools(server) {
35445
35446
  });
35446
35447
  server.registerTool("gog_contacts_create", {
35447
35448
  description: "Create a new Google Contact.",
35448
- annotations: { destructiveHint: false },
35449
+ annotations: { destructiveHint: true },
35449
35450
  inputSchema: external_exports.object({
35450
35451
  givenName: external_exports.string().describe("Given (first) name"),
35451
35452
  familyName: external_exports.string().optional().describe("Family (last) name"),
@@ -35500,7 +35501,7 @@ var failIfNotEmptyParam = external_exports.boolean().optional().describe(
35500
35501
  );
35501
35502
 
35502
35503
  // ../gogcli-mcp/src/server.ts
35503
- var VERSION = true ? "4.2.1" : "0.0.0";
35504
+ var VERSION = true ? "4.2.3" : "0.0.0";
35504
35505
 
35505
35506
  // ../gogcli-mcp/src/bootstrap-auth.ts
35506
35507
  import { join as join2 } from "node:path";
@@ -35630,6 +35631,7 @@ function registerExtraContactsTools(server) {
35630
35631
  });
35631
35632
  server.registerTool("gog_contacts_update", {
35632
35633
  description: "Update an existing Google Contact. Empty string clears a field; repeatable fields (url/address/custom/relation) take comma/semicolon-separated lists.",
35634
+ annotations: { destructiveHint: true },
35633
35635
  inputSchema: external_exports.object({
35634
35636
  resourceName: external_exports.string().describe("Contact resource name (people/...)"),
35635
35637
  given: external_exports.string().optional().describe("Given (first) name"),
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.2.1",
6
+ "version": "4.2.3",
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.2.1",
3
+ "version": "4.2.3",
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>",
@@ -63,6 +63,7 @@ export function registerExtraContactsTools(server: McpServer): void {
63
63
 
64
64
  server.registerTool('gog_contacts_update', {
65
65
  description: 'Update an existing Google Contact. Empty string clears a field; repeatable fields (url/address/custom/relation) take comma/semicolon-separated lists.',
66
+ annotations: { destructiveHint: true },
66
67
  inputSchema: z.object({
67
68
  resourceName: z.string().describe('Contact resource name (people/...)'),
68
69
  given: z.string().optional().describe('Given (first) name'),