@floless/app 0.25.0 → 0.25.1

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.
@@ -52777,7 +52777,7 @@ function appVersion() {
52777
52777
  return resolveVersion({
52778
52778
  isSea: isSea2(),
52779
52779
  sqVersionXml: readSqVersionXml(),
52780
- define: true ? "0.25.0" : void 0,
52780
+ define: true ? "0.25.1" : void 0,
52781
52781
  pkgVersion: readPkgVersion()
52782
52782
  });
52783
52783
  }
@@ -52787,7 +52787,7 @@ function resolveChannel(s) {
52787
52787
  return "dev";
52788
52788
  }
52789
52789
  function appChannel() {
52790
- return resolveChannel({ isSea: isSea2(), define: true ? "0.25.0" : void 0 });
52790
+ return resolveChannel({ isSea: isSea2(), define: true ? "0.25.1" : void 0 });
52791
52791
  }
52792
52792
 
52793
52793
  // oauth-presets.ts
@@ -54841,12 +54841,43 @@ async function shareReport(input) {
54841
54841
  // release-notes.ts
54842
54842
  var FETCH_TIMEOUT_MS = 8e3;
54843
54843
  var AWARE_REPO = "aware-aeco/aware";
54844
- var CHANGE_RE = /^[-*]\s+\*\*?(Added|Changed|Fixed|Removed|Security)\*\*?:\s+(.+)$/gim;
54844
+ var STYLED_CHANGE_RE = /^[-*]\s+\*\*?(Added|Changed|Fixed|Removed|Security)\*\*?:\s+(.+)$/gim;
54845
+ var COMMIT_BULLET_RE = /^[-*][ \t]+(?!\*)(.+?)\s*$/gm;
54846
+ var GH_CREDIT_RE = / by @[\w-]+ in https?:\/\/\S+$/;
54847
+ var CC_PREFIX_RE = /^(\w+)(?:\([^)]*\))?!?:\s*(.+)$/;
54848
+ function ccType(prefix) {
54849
+ switch (prefix.toLowerCase()) {
54850
+ case "feat":
54851
+ return "added";
54852
+ case "fix":
54853
+ return "fixed";
54854
+ case "security":
54855
+ case "sec":
54856
+ return "security";
54857
+ case "remove":
54858
+ case "removed":
54859
+ return "removed";
54860
+ default:
54861
+ return "changed";
54862
+ }
54863
+ }
54845
54864
  function parseBulletChanges(body) {
54846
- const out = [];
54865
+ const text = body.replace(/\r\n?/g, "\n");
54866
+ const styled = [];
54847
54867
  let m;
54848
- CHANGE_RE.lastIndex = 0;
54849
- while ((m = CHANGE_RE.exec(body)) !== null) out.push({ type: m[1].toLowerCase(), description: m[2].trim() });
54868
+ STYLED_CHANGE_RE.lastIndex = 0;
54869
+ while ((m = STYLED_CHANGE_RE.exec(text)) !== null) styled.push({ type: m[1].toLowerCase(), description: m[2].trim() });
54870
+ if (styled.length) return styled;
54871
+ const out = [];
54872
+ COMMIT_BULLET_RE.lastIndex = 0;
54873
+ while ((m = COMMIT_BULLET_RE.exec(text)) !== null) {
54874
+ const raw = m[1].replace(GH_CREDIT_RE, "").trim();
54875
+ if (!raw) continue;
54876
+ if (raw.startsWith("@")) continue;
54877
+ if (/^chore\(release\)/i.test(raw)) continue;
54878
+ const cc = CC_PREFIX_RE.exec(raw);
54879
+ out.push(cc ? { type: ccType(cc[1]), description: cc[2].trim() } : { type: "changed", description: raw });
54880
+ }
54850
54881
  return out;
54851
54882
  }
54852
54883
  var cache = /* @__PURE__ */ new Map();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floless/app",
3
- "version": "0.25.0",
3
+ "version": "0.25.1",
4
4
  "type": "module",
5
5
  "description": "Thin localhost host for floless.app — serves web/ and shells the aware CLI. No engine, no LLM.",
6
6
  "bin": {