oh-my-customcode 1.0.0 → 1.0.2

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 CHANGED
@@ -241,7 +241,7 @@ var init_package = __esm(() => {
241
241
  workspaces: [
242
242
  "packages/*"
243
243
  ],
244
- version: "1.0.0",
244
+ version: "1.0.2",
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
@@ -2031,7 +2031,7 @@ var package_default = {
2031
2031
  workspaces: [
2032
2032
  "packages/*"
2033
2033
  ],
2034
- version: "1.0.0",
2034
+ version: "1.0.2",
2035
2035
  description: "Batteries-included agent harness for Claude Code",
2036
2036
  type: "module",
2037
2037
  bin: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "workspaces": [
4
4
  "packages/*"
5
5
  ],
6
- "version": "1.0.0",
6
+ "version": "1.0.2",
7
7
  "description": "Batteries-included agent harness for Claude Code",
8
8
  "type": "module",
9
9
  "bin": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.0.2",
3
3
  "lastUpdated": "2026-05-20T00:00:00.000Z",
4
4
  "omcustomMinClaudeCode": "2.1.121",
5
5
  "omcustomMinClaudeCodeReason": "Sensitive-path direct Write/Edit on .claude/** under bypassPermissions (R010 deprecation, #1101)",