@bobfrankston/gcal 0.1.67 → 0.1.68

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/bin/gcalics.exe CHANGED
Binary file
package/glib/aihelper.js CHANGED
@@ -99,7 +99,7 @@ Rules:
99
99
  - summary: concise event title
100
100
  - startDateTime: ISO format, resolve relative dates (tomorrow, next Friday, etc.) using today's date
101
101
  - duration: format as "Xh", "Xm", or "XhYm" (default "1h" if not specified)
102
- - timeZone: IANA timezone (e.g. "America/New_York"). Infer from location if the event is in a different timezone than the user. Default to the user's local timezone if unclear.
102
+ - timeZone: IANA timezone (e.g. "America/New_York"). If the text explicitly states a timezone — a zone name, abbreviation, UTC offset, or a parenthetical like "(Malaysia Time - Kuala Lumpur)" as in Google Calendar invitation emails — use that zone, and give startDateTime as the wall-clock time IN THAT ZONE (do not convert to the user's timezone). Otherwise infer from the event's location if it is clearly in a different timezone than the user. Default to the user's local timezone only when nothing indicates one.
103
103
  - location: include if mentioned, omit if not
104
104
  - description: include extra details if any, omit if none
105
105
  - Return ONLY the JSON array, no markdown, no explanation`;
package/glib/aihelper.ts CHANGED
@@ -115,7 +115,7 @@ Rules:
115
115
  - summary: concise event title
116
116
  - startDateTime: ISO format, resolve relative dates (tomorrow, next Friday, etc.) using today's date
117
117
  - duration: format as "Xh", "Xm", or "XhYm" (default "1h" if not specified)
118
- - timeZone: IANA timezone (e.g. "America/New_York"). Infer from location if the event is in a different timezone than the user. Default to the user's local timezone if unclear.
118
+ - timeZone: IANA timezone (e.g. "America/New_York"). If the text explicitly states a timezone — a zone name, abbreviation, UTC offset, or a parenthetical like "(Malaysia Time - Kuala Lumpur)" as in Google Calendar invitation emails — use that zone, and give startDateTime as the wall-clock time IN THAT ZONE (do not convert to the user's timezone). Otherwise infer from the event's location if it is clearly in a different timezone than the user. Default to the user's local timezone only when nothing indicates one.
119
119
  - location: include if mentioned, omit if not
120
120
  - description: include extra details if any, omit if none
121
121
  - Return ONLY the JSON array, no markdown, no explanation`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/gcal",
3
- "version": "0.1.67",
3
+ "version": "0.1.68",
4
4
  "description": "Google Calendar CLI tool with ICS import support",
5
5
  "type": "module",
6
6
  "main": "gcal.js",
@@ -61,7 +61,7 @@
61
61
  "@types/node": "^25.3.0"
62
62
  },
63
63
  "dependencies": {
64
- "@bobfrankston/oauthsupport": "^1.0.32",
64
+ "@bobfrankston/oauthsupport": "^1.0.33",
65
65
  "clipboardy": "^5.3.1",
66
66
  "ical.js": "^2.1.0"
67
67
  },
@@ -75,7 +75,7 @@
75
75
  },
76
76
  ".transformedSnapshot": {
77
77
  "dependencies": {
78
- "@bobfrankston/oauthsupport": "^1.0.32",
78
+ "@bobfrankston/oauthsupport": "^1.0.33",
79
79
  "clipboardy": "^5.3.1",
80
80
  "ical.js": "^2.1.0"
81
81
  }