@yhong91/vibetime 0.1.69 → 0.1.70
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 +30 -18
- package/package.json +1 -1
package/bin/vibetime.mjs
CHANGED
|
@@ -2047,7 +2047,7 @@ function claudeStyleFileMetrics(tool, input) {
|
|
|
2047
2047
|
}
|
|
2048
2048
|
|
|
2049
2049
|
// src/lib/constants.ts
|
|
2050
|
-
var PACKAGE_VERSION = true ? "0.1.
|
|
2050
|
+
var PACKAGE_VERSION = true ? "0.1.70" : "0.1.1";
|
|
2051
2051
|
var GENERATED_MARKER = "Generated by vibetime.";
|
|
2052
2052
|
var DEFAULT_API_URL = "http://121.196.224.82:3001";
|
|
2053
2053
|
var DEFAULT_BACKFILL_BATCH_SIZE = 50;
|
|
@@ -11274,19 +11274,25 @@ async function parseModelNamesFromDynamicTexts(dynamicTextsPath) {
|
|
|
11274
11274
|
}
|
|
11275
11275
|
}
|
|
11276
11276
|
async function loadQoderCnModelNames(configDir2, home) {
|
|
11277
|
-
const map =
|
|
11278
|
-
const
|
|
11279
|
-
|
|
11280
|
-
const
|
|
11281
|
-
for (const [key, val] of Object.entries(siblingMap)) {
|
|
11277
|
+
const map = {};
|
|
11278
|
+
for (const appDirName of ["QoderCN", "Qoder"]) {
|
|
11279
|
+
const ideMap = await loadQoderIdeModelCatalog(appDirName, home);
|
|
11280
|
+
for (const [key, val] of Object.entries(ideMap)) {
|
|
11282
11281
|
if (!(key in map)) {
|
|
11283
11282
|
map[key] = val;
|
|
11284
11283
|
}
|
|
11285
11284
|
}
|
|
11286
11285
|
}
|
|
11287
|
-
|
|
11288
|
-
|
|
11289
|
-
|
|
11286
|
+
const textsMap = await parseModelNamesFromDynamicTexts(path19.join(configDir2, ".auth", "dynamic-texts.json"));
|
|
11287
|
+
for (const [key, val] of Object.entries(textsMap)) {
|
|
11288
|
+
if (!(key in map)) {
|
|
11289
|
+
map[key] = val;
|
|
11290
|
+
}
|
|
11291
|
+
}
|
|
11292
|
+
const siblingConfigDir = configDir2.replace(/\.qoder-cn$/, ".qoder");
|
|
11293
|
+
if (siblingConfigDir !== configDir2) {
|
|
11294
|
+
const siblingMap = await parseModelNamesFromDynamicTexts(path19.join(siblingConfigDir, ".auth", "dynamic-texts.json"));
|
|
11295
|
+
for (const [key, val] of Object.entries(siblingMap)) {
|
|
11290
11296
|
if (!(key in map)) {
|
|
11291
11297
|
map[key] = val;
|
|
11292
11298
|
}
|
|
@@ -12132,7 +12138,21 @@ async function parseModelNamesFromDynamicTexts2(dynamicTextsPath) {
|
|
|
12132
12138
|
}
|
|
12133
12139
|
}
|
|
12134
12140
|
async function loadQoderModelNames(configDir2, home) {
|
|
12135
|
-
const map =
|
|
12141
|
+
const map = {};
|
|
12142
|
+
for (const appDirName of ["Qoder", "QoderCN"]) {
|
|
12143
|
+
const ideMap = await loadQoderIdeModelCatalog(appDirName, home);
|
|
12144
|
+
for (const [key, val] of Object.entries(ideMap)) {
|
|
12145
|
+
if (!(key in map)) {
|
|
12146
|
+
map[key] = val;
|
|
12147
|
+
}
|
|
12148
|
+
}
|
|
12149
|
+
}
|
|
12150
|
+
const textsMap = await parseModelNamesFromDynamicTexts2(path20.join(configDir2, ".auth", "dynamic-texts.json"));
|
|
12151
|
+
for (const [key, val] of Object.entries(textsMap)) {
|
|
12152
|
+
if (!(key in map)) {
|
|
12153
|
+
map[key] = val;
|
|
12154
|
+
}
|
|
12155
|
+
}
|
|
12136
12156
|
const siblingConfigDir = configDir2.replace(/\.qoder$/, ".qoder-cn");
|
|
12137
12157
|
if (siblingConfigDir !== configDir2) {
|
|
12138
12158
|
const siblingMap = await parseModelNamesFromDynamicTexts2(path20.join(siblingConfigDir, ".auth", "dynamic-texts.json"));
|
|
@@ -12155,14 +12175,6 @@ async function loadQoderModelNames(configDir2, home) {
|
|
|
12155
12175
|
}
|
|
12156
12176
|
}
|
|
12157
12177
|
}
|
|
12158
|
-
for (const appDirName of ["Qoder", "QoderCN"]) {
|
|
12159
|
-
const ideMap = await loadQoderIdeModelCatalog(appDirName, home);
|
|
12160
|
-
for (const [key, val] of Object.entries(ideMap)) {
|
|
12161
|
-
if (!(key in map)) {
|
|
12162
|
-
map[key] = val;
|
|
12163
|
-
}
|
|
12164
|
-
}
|
|
12165
|
-
}
|
|
12166
12178
|
return map;
|
|
12167
12179
|
}
|
|
12168
12180
|
function isQwenworkConfigRoot(configDir2) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yhong91/vibetime",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.70",
|
|
5
5
|
"description": "vibetime CLI — install AI-agent hooks (Claude Code, Codex, OpenCode, Pi, Cursor) and report activity to vibetime.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"publishConfig": {
|