@yhong91/vibetime 0.1.35 → 0.1.36
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 +21 -19
- 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.36" : "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;
|
|
@@ -4248,7 +4248,7 @@ async function parseCodebuddyTraceFile(filePath, options) {
|
|
|
4248
4248
|
confidence: "partial"
|
|
4249
4249
|
}), 0, "trace");
|
|
4250
4250
|
}
|
|
4251
|
-
if (
|
|
4251
|
+
if (traceStartedAt) {
|
|
4252
4252
|
const turnId = `turn_${createStableHash([sessionId, trace.traceId]).slice(0, 24)}`;
|
|
4253
4253
|
push(baseEvent({
|
|
4254
4254
|
ts: traceStartedAt,
|
|
@@ -4260,23 +4260,25 @@ async function parseCodebuddyTraceFile(filePath, options) {
|
|
|
4260
4260
|
model,
|
|
4261
4261
|
confidence: "partial"
|
|
4262
4262
|
}), 0, "trace");
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4263
|
+
if (trace.prompt) {
|
|
4264
|
+
push(baseEvent({
|
|
4265
|
+
ts: traceStartedAt,
|
|
4266
|
+
type: "prompt.submitted",
|
|
4267
|
+
sessionId,
|
|
4268
|
+
turnId,
|
|
4269
|
+
cwd,
|
|
4270
|
+
project,
|
|
4271
|
+
model,
|
|
4272
|
+
confidence: "partial",
|
|
4273
|
+
metrics: {
|
|
4274
|
+
prompts: 1,
|
|
4275
|
+
promptChars: trace.prompt.length
|
|
4276
|
+
},
|
|
4277
|
+
refs: stringRefs({
|
|
4278
|
+
promptHash: `sha256:${createStableHash(trace.prompt)}`
|
|
4279
|
+
})
|
|
4280
|
+
}), 0, "trace");
|
|
4281
|
+
}
|
|
4280
4282
|
if (traceEndedAt) {
|
|
4281
4283
|
push(baseEvent({
|
|
4282
4284
|
ts: traceEndedAt,
|
package/package.json
CHANGED