gogcli-mcp-classroom 2.0.3 → 2.0.4

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.
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "metadata": {
9
9
  "description": "Extended Google Classroom for Claude via gogcli — auth + full Classroom support (courses, rosters, coursework, submissions, announcements, topics, invitations)",
10
- "version": "2.0.3"
10
+ "version": "2.0.4"
11
11
  },
12
12
  "plugins": [
13
13
  {
@@ -15,7 +15,7 @@
15
15
  "displayName": "gogcli (Classroom)",
16
16
  "source": "./",
17
17
  "description": "Extended Google Classroom for Claude via gogcli — auth + full Classroom support (courses, rosters, coursework, submissions, announcements, topics, invitations)",
18
- "version": "2.0.3",
18
+ "version": "2.0.4",
19
19
  "author": {
20
20
  "name": "Chris Hall"
21
21
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gogcli-mcp-classroom",
3
3
  "displayName": "gogcli (Classroom)",
4
- "version": "2.0.3",
4
+ "version": "2.0.4",
5
5
  "description": "Extended Google Classroom for Claude via gogcli — auth + full Classroom support (courses, rosters, coursework, submissions, announcements, topics, invitations)",
6
6
  "author": {
7
7
  "name": "Chris Hall",
package/dist/index.js CHANGED
@@ -9070,7 +9070,7 @@ var Doc = class {
9070
9070
  var version = {
9071
9071
  major: 4,
9072
9072
  minor: 4,
9073
- patch: 2
9073
+ patch: 3
9074
9074
  };
9075
9075
 
9076
9076
  // ../../node_modules/zod/v4/core/schemas.js
@@ -10669,6 +10669,7 @@ var $ZodFile = /* @__PURE__ */ $constructor("$ZodFile", (inst, def) => {
10669
10669
  });
10670
10670
  var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) => {
10671
10671
  $ZodType.init(inst, def);
10672
+ inst._zod.optin = "optional";
10672
10673
  inst._zod.parse = (payload, ctx) => {
10673
10674
  if (ctx.direction === "backward") {
10674
10675
  throw new $ZodEncodeError(inst.constructor.name);
@@ -10678,6 +10679,7 @@ var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) =>
10678
10679
  const output = _out instanceof Promise ? _out : Promise.resolve(_out);
10679
10680
  return output.then((output2) => {
10680
10681
  payload.value = output2;
10682
+ payload.fallback = true;
10681
10683
  return payload;
10682
10684
  });
10683
10685
  }
@@ -10685,11 +10687,12 @@ var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) =>
10685
10687
  throw new $ZodAsyncError();
10686
10688
  }
10687
10689
  payload.value = _out;
10690
+ payload.fallback = true;
10688
10691
  return payload;
10689
10692
  };
10690
10693
  });
10691
10694
  function handleOptionalResult(result, input) {
10692
- if (result.issues.length && input === void 0) {
10695
+ if (input === void 0 && (result.issues.length || result.fallback)) {
10693
10696
  return { issues: [], value: void 0 };
10694
10697
  }
10695
10698
  return result;
@@ -10707,10 +10710,11 @@ var $ZodOptional = /* @__PURE__ */ $constructor("$ZodOptional", (inst, def) => {
10707
10710
  });
10708
10711
  inst._zod.parse = (payload, ctx) => {
10709
10712
  if (def.innerType._zod.optin === "optional") {
10713
+ const input = payload.value;
10710
10714
  const result = def.innerType._zod.run(payload, ctx);
10711
10715
  if (result instanceof Promise)
10712
- return result.then((r) => handleOptionalResult(r, payload.value));
10713
- return handleOptionalResult(result, payload.value);
10716
+ return result.then((r) => handleOptionalResult(r, input));
10717
+ return handleOptionalResult(result, input);
10714
10718
  }
10715
10719
  if (payload.value === void 0) {
10716
10720
  return payload;
@@ -10826,7 +10830,7 @@ var $ZodSuccess = /* @__PURE__ */ $constructor("$ZodSuccess", (inst, def) => {
10826
10830
  });
10827
10831
  var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
10828
10832
  $ZodType.init(inst, def);
10829
- defineLazy(inst._zod, "optin", () => def.innerType._zod.optin);
10833
+ inst._zod.optin = "optional";
10830
10834
  defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
10831
10835
  defineLazy(inst._zod, "values", () => def.innerType._zod.values);
10832
10836
  inst._zod.parse = (payload, ctx) => {
@@ -10846,6 +10850,7 @@ var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
10846
10850
  input: payload.value
10847
10851
  });
10848
10852
  payload.issues = [];
10853
+ payload.fallback = true;
10849
10854
  }
10850
10855
  return payload;
10851
10856
  });
@@ -10860,6 +10865,7 @@ var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
10860
10865
  input: payload.value
10861
10866
  });
10862
10867
  payload.issues = [];
10868
+ payload.fallback = true;
10863
10869
  }
10864
10870
  return payload;
10865
10871
  };
@@ -10905,7 +10911,7 @@ function handlePipeResult(left, next, ctx) {
10905
10911
  left.aborted = true;
10906
10912
  return left;
10907
10913
  }
10908
- return next._zod.run({ value: left.value, issues: left.issues }, ctx);
10914
+ return next._zod.run({ value: left.value, issues: left.issues, fallback: left.fallback }, ctx);
10909
10915
  }
10910
10916
  var $ZodCodec = /* @__PURE__ */ $constructor("$ZodCodec", (inst, def) => {
10911
10917
  $ZodType.init(inst, def);
@@ -10959,8 +10965,6 @@ function handleCodecTxResult(left, value, nextSchema, ctx) {
10959
10965
  }
10960
10966
  var $ZodPreprocess = /* @__PURE__ */ $constructor("$ZodPreprocess", (inst, def) => {
10961
10967
  $ZodPipe.init(inst, def);
10962
- defineLazy(inst._zod, "optin", () => def.out._zod.optin);
10963
- defineLazy(inst._zod, "optout", () => def.out._zod.optout);
10964
10968
  });
10965
10969
  var $ZodReadonly = /* @__PURE__ */ $constructor("$ZodReadonly", (inst, def) => {
10966
10970
  $ZodType.init(inst, def);
@@ -20478,10 +20482,12 @@ var ZodTransform = /* @__PURE__ */ $constructor("ZodTransform", (inst, def) => {
20478
20482
  if (output instanceof Promise) {
20479
20483
  return output.then((output2) => {
20480
20484
  payload.value = output2;
20485
+ payload.fallback = true;
20481
20486
  return payload;
20482
20487
  });
20483
20488
  }
20484
20489
  payload.value = output;
20490
+ payload.fallback = true;
20485
20491
  return payload;
20486
20492
  };
20487
20493
  });
@@ -31673,7 +31679,7 @@ function registerClassroomTools(server2) {
31673
31679
  }
31674
31680
 
31675
31681
  // ../gogcli-mcp/src/server.ts
31676
- var VERSION = true ? "2.0.3" : "0.0.0";
31682
+ var VERSION = true ? "2.0.4" : "0.0.0";
31677
31683
  function createServer(options) {
31678
31684
  return new McpServer({
31679
31685
  name: options?.name ?? "gogcli",
package/manifest.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "manifest_version": "0.3",
4
4
  "name": "gogcli-mcp-classroom",
5
5
  "display_name": "gogcli (Classroom)",
6
- "version": "2.0.3",
6
+ "version": "2.0.4",
7
7
  "description": "Extended Google Classroom for Claude via gogcli — auth + full Classroom support (courses, rosters, coursework, submissions, announcements, topics, invitations)",
8
8
  "author": {
9
9
  "name": "Chris Hall",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gogcli-mcp-classroom",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "mcpName": "io.github.chrischall/gogcli-mcp-classroom",
5
5
  "description": "Extended Google Classroom MCP server via gogcli — auth + full Classroom support",
6
6
  "author": "Claude Code (AI) <https://www.anthropic.com/claude>",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@modelcontextprotocol/sdk": "^1.29.0",
28
- "zod": "^4.4.2"
28
+ "zod": "^4.4.3"
29
29
  },
30
30
  "license": "MIT",
31
31
  "keywords": [
package/server.json CHANGED
@@ -7,12 +7,12 @@
7
7
  "source": "github",
8
8
  "subfolder": "packages/gogcli-mcp-classroom"
9
9
  },
10
- "version": "2.0.3",
10
+ "version": "2.0.4",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "gogcli-mcp-classroom",
15
- "version": "2.0.3",
15
+ "version": "2.0.4",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },