@funnycode/myclaude 0.1.156 → 0.1.157

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/myclaude.js CHANGED
@@ -4,8 +4,8 @@
4
4
  // MACRO - build-time constants (injected by build.ts)
5
5
  // MACRO injected by build script
6
6
  globalThis.MACRO = {
7
- VERSION: "0.1.156",
8
- BUILD_TIME: "2026-07-29T08:07:27.596Z",
7
+ VERSION: "0.1.157",
8
+ BUILD_TIME: "2026-07-29T11:11:36.751Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -117990,7 +117990,7 @@ var package_default;
117990
117990
  var init_package = __esm(() => {
117991
117991
  package_default = {
117992
117992
  name: "@funnycode/myclaude",
117993
- version: "0.1.156",
117993
+ version: "0.1.157",
117994
117994
  private: false,
117995
117995
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
117996
117996
  license: "MIT",
@@ -408175,6 +408175,7 @@ import { join as join105 } from "path";
408175
408175
  function clearCachedSteps() {
408176
408176
  cachedSteps = null;
408177
408177
  cachedClaudeMdMtime = null;
408178
+ cachedDirMtime = null;
408178
408179
  cachedAt = null;
408179
408180
  }
408180
408181
  function isCacheValid() {
@@ -408190,6 +408191,13 @@ function isCacheValid() {
408190
408191
  } catch {
408191
408192
  return false;
408192
408193
  }
408194
+ try {
408195
+ const currentDirMtime = getFileModificationTime(cwd2);
408196
+ if (currentDirMtime !== cachedDirMtime)
408197
+ return false;
408198
+ } catch {
408199
+ return false;
408200
+ }
408193
408201
  if (cachedAt !== null && Date.now() - cachedAt > CACHE_MAX_AGE_MS) {
408194
408202
  return false;
408195
408203
  }
@@ -408209,6 +408217,11 @@ function getSteps() {
408209
408217
  } catch {
408210
408218
  cachedClaudeMdMtime = -1;
408211
408219
  }
408220
+ try {
408221
+ cachedDirMtime = getFileModificationTime(cwd2);
408222
+ } catch {
408223
+ cachedDirMtime = -1;
408224
+ }
408212
408225
  cachedAt = Date.now();
408213
408226
  cachedSteps = [
408214
408227
  {
@@ -408255,7 +408268,7 @@ function incrementProjectOnboardingSeenCount() {
408255
408268
  projectOnboardingSeenCount: current.projectOnboardingSeenCount + 1
408256
408269
  }));
408257
408270
  }
408258
- var cachedSteps = null, cachedClaudeMdMtime = null, cachedAt = null, CACHE_MAX_AGE_MS = 30000;
408271
+ var cachedSteps = null, cachedClaudeMdMtime = null, cachedDirMtime = null, cachedAt = null, CACHE_MAX_AGE_MS = 30000;
408259
408272
  var init_projectOnboardingState = __esm(() => {
408260
408273
  init_config();
408261
408274
  init_cwd2();
package/dist/myclaude.mjs CHANGED
@@ -4,8 +4,8 @@
4
4
  // MACRO - build-time constants (injected by build.ts)
5
5
  // MACRO injected by build script
6
6
  globalThis.MACRO = {
7
- VERSION: "0.1.156",
8
- BUILD_TIME: "2026-07-29T08:07:27.596Z",
7
+ VERSION: "0.1.157",
8
+ BUILD_TIME: "2026-07-29T11:11:36.751Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -117990,7 +117990,7 @@ var package_default;
117990
117990
  var init_package = __esm(() => {
117991
117991
  package_default = {
117992
117992
  name: "@funnycode/myclaude",
117993
- version: "0.1.156",
117993
+ version: "0.1.157",
117994
117994
  private: false,
117995
117995
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
117996
117996
  license: "MIT",
@@ -408175,6 +408175,7 @@ import { join as join105 } from "path";
408175
408175
  function clearCachedSteps() {
408176
408176
  cachedSteps = null;
408177
408177
  cachedClaudeMdMtime = null;
408178
+ cachedDirMtime = null;
408178
408179
  cachedAt = null;
408179
408180
  }
408180
408181
  function isCacheValid() {
@@ -408190,6 +408191,13 @@ function isCacheValid() {
408190
408191
  } catch {
408191
408192
  return false;
408192
408193
  }
408194
+ try {
408195
+ const currentDirMtime = getFileModificationTime(cwd2);
408196
+ if (currentDirMtime !== cachedDirMtime)
408197
+ return false;
408198
+ } catch {
408199
+ return false;
408200
+ }
408193
408201
  if (cachedAt !== null && Date.now() - cachedAt > CACHE_MAX_AGE_MS) {
408194
408202
  return false;
408195
408203
  }
@@ -408209,6 +408217,11 @@ function getSteps() {
408209
408217
  } catch {
408210
408218
  cachedClaudeMdMtime = -1;
408211
408219
  }
408220
+ try {
408221
+ cachedDirMtime = getFileModificationTime(cwd2);
408222
+ } catch {
408223
+ cachedDirMtime = -1;
408224
+ }
408212
408225
  cachedAt = Date.now();
408213
408226
  cachedSteps = [
408214
408227
  {
@@ -408255,7 +408268,7 @@ function incrementProjectOnboardingSeenCount() {
408255
408268
  projectOnboardingSeenCount: current.projectOnboardingSeenCount + 1
408256
408269
  }));
408257
408270
  }
408258
- var cachedSteps = null, cachedClaudeMdMtime = null, cachedAt = null, CACHE_MAX_AGE_MS = 30000;
408271
+ var cachedSteps = null, cachedClaudeMdMtime = null, cachedDirMtime = null, cachedAt = null, CACHE_MAX_AGE_MS = 30000;
408259
408272
  var init_projectOnboardingState = __esm(() => {
408260
408273
  init_config();
408261
408274
  init_cwd2();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnycode/myclaude",
3
- "version": "0.1.156",
3
+ "version": "0.1.157",
4
4
  "private": false,
5
5
  "description": "An open-source AI coding assistant in your terminal - powered by Claude",
6
6
  "license": "MIT",