daedalus-cli 1.94.0 → 1.94.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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.94.2](https://github.com/bgill55/daedalus/compare/v1.94.1...v1.94.2) (2026-07-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **docs:** fix Mermaid sequence diagram syntax for Docsify rendering ([05cee21](https://github.com/bgill55/daedalus/commit/05cee21bd9cefb5461f6f334bdb431c08ef5c89c))
7
+
8
+ ## [1.94.1](https://github.com/bgill55/daedalus/compare/v1.94.0...v1.94.1) (2026-07-30)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **ci:** prevent HTTP 422 Body cannot be blank when posting GitHub Action PR review comments ([12d5cc6](https://github.com/bgill55/daedalus/commit/12d5cc6acc992ec8dd8fa25f6a0ee9f5eaf367fa))
14
+
1
15
  # [1.94.0](https://github.com/bgill55/daedalus/compare/v1.93.1...v1.94.0) (2026-07-30)
2
16
 
3
17
 
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Validate a version string against the project's supported SemVer format.
3
+ *
4
+ * Supported format:
5
+ * MAJOR.MINOR.PATCH // e.g. "1.93.0"
6
+ * MAJOR.MINOR.PATCH-PRERELEASE // e.g. "1.93.0-canary", "2.0.1-beta.2"
7
+ *
8
+ * Rules:
9
+ * - MAJOR, MINOR, PATCH are non-negative integers without leading zeros
10
+ * (except the literal "0").
11
+ * - Pre-release, if present, must start with a hyphen followed by one or
12
+ * more ASCII alphanumeric and hyphen identifiers separated by dots (e.g. "-beta", "-rc.1").
13
+ * - Build metadata (e.g. "+001") is **not** allowed.
14
+ *
15
+ * @param v – Version string to validate.
16
+ * @returns `true` if `v` conforms to the format, otherwise `false`.
17
+ */
18
+ export declare function isValidSemver(v: string): boolean;
19
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAIhD"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Validate a version string against the project's supported SemVer format.
3
+ *
4
+ * Supported format:
5
+ * MAJOR.MINOR.PATCH // e.g. "1.93.0"
6
+ * MAJOR.MINOR.PATCH-PRERELEASE // e.g. "1.93.0-canary", "2.0.1-beta.2"
7
+ *
8
+ * Rules:
9
+ * - MAJOR, MINOR, PATCH are non-negative integers without leading zeros
10
+ * (except the literal "0").
11
+ * - Pre-release, if present, must start with a hyphen followed by one or
12
+ * more ASCII alphanumeric and hyphen identifiers separated by dots (e.g. "-beta", "-rc.1").
13
+ * - Build metadata (e.g. "+001") is **not** allowed.
14
+ *
15
+ * @param v – Version string to validate.
16
+ * @returns `true` if `v` conforms to the format, otherwise `false`.
17
+ */
18
+ export function isValidSemver(v) {
19
+ if (!v)
20
+ return false;
21
+ const semverRegex = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?$/;
22
+ return semverRegex.test(v);
23
+ }
24
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,aAAa,CAAC,CAAS;IACrC,IAAI,CAAC,CAAC;QAAE,OAAO,KAAK,CAAC;IACrB,MAAM,WAAW,GAAG,qFAAqF,CAAC;IAC1G,OAAO,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC7B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=version.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.test.d.ts","sourceRoot":"","sources":["../src/version.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ import { describe, it, expect } from 'vitest';
2
+ import { isValidSemver } from './version.js';
3
+ describe('isValidSemver', () => {
4
+ it('accepts valid SemVer version strings', () => {
5
+ expect(isValidSemver('0.0.0')).toBe(true);
6
+ expect(isValidSemver('1.93.0')).toBe(true);
7
+ expect(isValidSemver('2.0.1-beta.2')).toBe(true);
8
+ expect(isValidSemver('1.93.0-canary')).toBe(true);
9
+ expect(isValidSemver('1.0.0-alpha-1')).toBe(true);
10
+ });
11
+ it('rejects invalid version strings', () => {
12
+ expect(isValidSemver('')).toBe(false);
13
+ expect(isValidSemver('1.2')).toBe(false);
14
+ expect(isValidSemver('1.2.3.4')).toBe(false);
15
+ expect(isValidSemver('v1.0.0')).toBe(false);
16
+ expect(isValidSemver('1.93.0+001')).toBe(false);
17
+ expect(isValidSemver('01.2.3')).toBe(false);
18
+ });
19
+ });
20
+ //# sourceMappingURL=version.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.test.js","sourceRoot":"","sources":["../src/version.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,QAAQ,CAAC,eAAe,EAAE,GAAG,EAAE;IAC7B,EAAE,CAAC,sCAAsC,EAAE,GAAG,EAAE;QAC9C,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC1C,MAAM,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC3C,MAAM,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjD,MAAM,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAClD,MAAM,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iCAAiC,EAAE,GAAG,EAAE;QACzC,MAAM,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACtC,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACzC,MAAM,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC7C,MAAM,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC5C,MAAM,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAChD,MAAM,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC9C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "daedalus-cli",
3
- "version": "1.94.0",
3
+ "version": "1.94.2",
4
4
  "description": "Local-first AI coding CLI with embedded model router, multi-agent orchestration, and codebase indexing",
5
5
  "type": "module",
6
6
  "bin": {