@tiny-fish/cli 0.50.0 → 0.50.1-next.399

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.
@@ -99,7 +99,8 @@ function probeVersion() {
99
99
  });
100
100
  if (result.error || result.status !== 0)
101
101
  return false;
102
- return /^\d+\.\d+\.\d+/.test((result.stdout ?? '').trim());
102
+ // pi 0.73 prints its version to stderr.
103
+ return /^\d+\.\d+\.\d+/.test((result.stdout || result.stderr || '').trim());
103
104
  }
104
105
  /** `skills` hardcodes the default dir, so an override leaves the skill where pi will not look. */
105
106
  export function piSkillDirMismatch() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiny-fish/cli",
3
- "version": "0.50.0",
3
+ "version": "0.50.1-next.399",
4
4
  "description": "TinyFish CLI — run web automations from your terminal",
5
5
  "type": "module",
6
6
  "bin": {