@yhong91/vibetime 0.1.33 → 0.1.34
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/vibetime.mjs +3 -3
- package/package.json +1 -1
package/bin/vibetime.mjs
CHANGED
|
@@ -1928,7 +1928,7 @@ function countTextLines(text) {
|
|
|
1928
1928
|
}
|
|
1929
1929
|
|
|
1930
1930
|
// src/lib/constants.ts
|
|
1931
|
-
var PACKAGE_VERSION = true ? "0.1.
|
|
1931
|
+
var PACKAGE_VERSION = true ? "0.1.34" : "0.1.1";
|
|
1932
1932
|
var DEFAULT_API_URL = "http://121.196.224.82:3001";
|
|
1933
1933
|
var DEFAULT_BACKFILL_BATCH_SIZE = 50;
|
|
1934
1934
|
var DEFAULT_BACKFILL_BATCH_BYTES = 800 * 1024;
|
|
@@ -7859,7 +7859,7 @@ async function parseQoderCnSessionFile(filePath, options) {
|
|
|
7859
7859
|
model = dbCall.model || model;
|
|
7860
7860
|
}
|
|
7861
7861
|
}
|
|
7862
|
-
if (usage) {
|
|
7862
|
+
if (usage && (usage.tokensTotal || usage.tokensCachedInput)) {
|
|
7863
7863
|
const speed = stringField(objectField(message, "usage"), "speed");
|
|
7864
7864
|
const usageModel = speed === "fast" && model ? `${model}-fast` : model;
|
|
7865
7865
|
push(baseQoderCnEvent({
|
|
@@ -8662,7 +8662,7 @@ async function parseQoderSessionFile(filePath, options) {
|
|
|
8662
8662
|
model = dbCall.model || model;
|
|
8663
8663
|
}
|
|
8664
8664
|
}
|
|
8665
|
-
if (usage) {
|
|
8665
|
+
if (usage && (usage.tokensTotal || usage.tokensCachedInput)) {
|
|
8666
8666
|
const speed = stringField(objectField(message, "usage"), "speed");
|
|
8667
8667
|
const usageModel = speed === "fast" && model ? `${model}-fast` : model;
|
|
8668
8668
|
push(baseQoderEvent({
|
package/package.json
CHANGED