oh-my-customcode 1.0.0 → 1.0.1
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/dist/cli/index.js +6 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/templates/manifest.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -241,7 +241,7 @@ var init_package = __esm(() => {
|
|
|
241
241
|
workspaces: [
|
|
242
242
|
"packages/*"
|
|
243
243
|
],
|
|
244
|
-
version: "1.0.
|
|
244
|
+
version: "1.0.1",
|
|
245
245
|
description: "Batteries-included agent harness for Claude Code",
|
|
246
246
|
type: "module",
|
|
247
247
|
bin: {
|
|
@@ -25750,7 +25750,10 @@ function compareSemver(a, b) {
|
|
|
25750
25750
|
}
|
|
25751
25751
|
return 0;
|
|
25752
25752
|
}
|
|
25753
|
-
function isVersionPlausible(currentVersion, candidateVersion) {
|
|
25753
|
+
function isVersionPlausible(currentVersion, candidateVersion, options = {}) {
|
|
25754
|
+
if (options.live) {
|
|
25755
|
+
return true;
|
|
25756
|
+
}
|
|
25754
25757
|
const current = normalizeVersion(currentVersion).split(".").map((n) => parseInt(n, 10) || 0);
|
|
25755
25758
|
const candidate = normalizeVersion(candidateVersion).split(".").map((n) => parseInt(n, 10) || 0);
|
|
25756
25759
|
const majorDiff = (candidate[0] ?? 0) - (current[0] ?? 0);
|
|
@@ -25961,7 +25964,7 @@ function checkSelfUpdate(options) {
|
|
|
25961
25964
|
}
|
|
25962
25965
|
if (!latestVersion) {
|
|
25963
25966
|
const fetched = fetchLatestVersion(packageName);
|
|
25964
|
-
if (fetched && isVersionPlausible(currentVersion, fetched)) {
|
|
25967
|
+
if (fetched && isVersionPlausible(currentVersion, fetched, { live: true })) {
|
|
25965
25968
|
latestVersion = fetched;
|
|
25966
25969
|
writeCache(cachePath, latestVersion, now);
|
|
25967
25970
|
}
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/templates/manifest.json
CHANGED