@code-yeongyu/senpi-ai 2026.11.10 → 2026.11.11

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.
@@ -239,7 +239,10 @@ export function parseRetryAfterMsMarker(message) {
239
239
  /* ---------- wall-clock reset prose ---------- */
240
240
  // A reset written as a wall clock: "resets 12am (Asia/Seoul)", "resets Oct 2, 9am", "try again at 12:00 AM".
241
241
  // Shared with the credential pool (reset-time.ts) so both read the text the same way (senpi#1771). Milliseconds
242
- // from `nowMs` to the next such moment, or undefined; a time with no zone reads in the host's local zone.
242
+ // from `nowMs` to the next such moment, or undefined.
243
+ // Zone rule (senpi#5097): a time with no zone reads in the host's local zone, for every caller, as the user's own
244
+ // clock. A reset in another zone is read correctly only when the text names it ("(UTC)", "(Asia/Seoul)"); a
245
+ // zone-less time far from the truth only makes the hint long, and long hints already defer or fail over.
243
246
  const MONTHS = ["jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"];
244
247
  const CLOCK_RE = /\b(?:resets?|try again)\s+(?:at\s+|on\s+)?(?:([a-z]{3})[a-z]*\.?\s+(\d{1,2}),?\s+(?:at\s+)?)?(\d{1,2})(?::(\d{2}))?\s*([ap])\.?\s?m\b\.?(?:\s*\(([A-Za-z_]+(?:\/[A-Za-z0-9_+-]+)*)\))?/i;
245
248
  export function clockResetMs(text, nowMs) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-yeongyu/senpi-ai",
3
- "version": "2026.11.10",
3
+ "version": "2026.11.11",
4
4
  "description": "Unified LLM API with automatic model discovery and provider configuration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -88,7 +88,7 @@
88
88
  "dependencies": {
89
89
  "@anthropic-ai/sdk": "0.127.0",
90
90
  "@aws-sdk/client-bedrock-runtime": "3.1136.0",
91
- "@earendil-works/pi-telemetry": "npm:@code-yeongyu/senpi-telemetry@2026.11.10",
91
+ "@earendil-works/pi-telemetry": "npm:@code-yeongyu/senpi-telemetry@2026.11.11",
92
92
  "@google/genai": "2.23.0",
93
93
  "@smithy/node-http-handler": "4.12.1",
94
94
  "google-auth-library": "10.6.2",