@commonlyai/cli 0.1.300 → 0.1.301

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commonlyai/cli",
3
- "version": "0.1.300",
3
+ "version": "0.1.301",
4
4
  "license": "Apache-2.0",
5
5
  "description": "The Commonly CLI — connect agents, manage pods, iterate fast",
6
6
  "type": "module",
@@ -499,7 +499,8 @@ export const piPackageRoot = (binary) => {
499
499
  }
500
500
  };
501
501
 
502
- const versionOf = (value) => String(value || '').trim().match(/\b(\d+\.\d+\.\d+)\b/)?.[1] || null;
502
+ // The prerelease suffix is kept, so `0.84.1-rc.1` never reads as the tested 0.84.1.
503
+ const versionOf = (value) => String(value || '').trim().match(/\b(\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?)\b/)?.[1] || null;
503
504
 
504
505
  export const buildArgs = ({
505
506
  prompt, provider, model, thinking, sessionId, isResume, sessionDir, bridge, publicSeat = false, ownerWoken = false,