ccsidekick 1.6.2 → 1.6.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.
@@ -164,6 +164,17 @@ var pricing_default = [
164
164
  batch_input: 5,
165
165
  batch_output: 25
166
166
  },
167
+ {
168
+ key: "claude-opus-5",
169
+ input: 5,
170
+ output: 25,
171
+ cache_write_5m: 6.25,
172
+ cache_write_1h: 10,
173
+ cache_read: 0.5,
174
+ batch_input: 2.5,
175
+ batch_output: 12.5,
176
+ fast_mult: 2
177
+ },
167
178
  {
168
179
  key: "claude-opus-4-8",
169
180
  input: 5,
@@ -1427,6 +1438,17 @@ var systemClock = {
1427
1438
  now: () => Date.now(),
1428
1439
  timezone: () => Intl.DateTimeFormat().resolvedOptions().timeZone
1429
1440
  };
1441
+ var fixedClock = (nowMs, tz = "UTC") => ({
1442
+ now: () => nowMs,
1443
+ timezone: () => tz
1444
+ });
1445
+ var resolveClock = (env) => {
1446
+ const raw = env["CCSIDEKICK_NOW"];
1447
+ const nowMs = raw === undefined ? NaN : Number(raw);
1448
+ if (raw === undefined || raw.trim() === "" || !Number.isFinite(nowMs))
1449
+ return systemClock;
1450
+ return fixedClock(nowMs, env["CCSIDEKICK_TZ"] ?? "UTC");
1451
+ };
1430
1452
  // ../../node_modules/.bun/smol-toml@1.6.1/node_modules/smol-toml/dist/error.js
1431
1453
  /*!
1432
1454
  * Copyright (c) Squirrel Chat et al., All rights reserved.
@@ -7562,7 +7584,7 @@ function dispatchRender() {
7562
7584
  noColor: process.env["NO_COLOR"] !== undefined,
7563
7585
  isTTY: true
7564
7586
  };
7565
- const { line, persist } = runRender(readFileSync12(0, "utf8"), process.env, term, systemClock);
7587
+ const { line, persist } = runRender(readFileSync12(0, "utf8"), process.env, term, resolveClock(process.env));
7566
7588
  process.stdout.write(`${line}
7567
7589
  `);
7568
7590
  persist();
@@ -2581,6 +2581,17 @@ var init_pricing = __esm(() => {
2581
2581
  batch_input: 5,
2582
2582
  batch_output: 25
2583
2583
  },
2584
+ {
2585
+ key: "claude-opus-5",
2586
+ input: 5,
2587
+ output: 25,
2588
+ cache_write_5m: 6.25,
2589
+ cache_write_1h: 10,
2590
+ cache_read: 0.5,
2591
+ batch_input: 2.5,
2592
+ batch_output: 12.5,
2593
+ fast_mult: 2
2594
+ },
2584
2595
  {
2585
2596
  key: "claude-opus-4-8",
2586
2597
  input: 5,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccsidekick",
3
- "version": "1.6.2",
3
+ "version": "1.6.4",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -27,11 +27,11 @@
27
27
  "@ccsidekick/pack-harry-potter": "1.0.0",
28
28
  "@ccsidekick/pack-hello-kitty": "1.0.0",
29
29
  "@ccsidekick/pack-james-bond": "1.0.0",
30
- "@ccsidekick/pack-joker": "1.0.1",
30
+ "@ccsidekick/pack-joker": "1.0.2",
31
31
  "@ccsidekick/pack-naruto": "1.0.0",
32
32
  "@ccsidekick/pack-pikachu": "1.0.1",
33
33
  "@ccsidekick/pack-sherlock-holmes": "1.0.1",
34
- "@ccsidekick/pack-shinchan": "1.0.0",
34
+ "@ccsidekick/pack-shinchan": "1.0.1",
35
35
  "@ccsidekick/pack-spiderman": "1.0.0",
36
36
  "@ccsidekick/pack-superman": "1.0.0",
37
37
  "@ccsidekick/pack-iron-man": "1.0.0",