cc-agent-ui 0.2.6 → 0.2.7

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": "cc-agent-ui",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Live canvas UI for cc-agent jobs — infinite canvas, streaming output, file browser",
5
5
  "type": "module",
6
6
  "repository": {
package/public/index.html CHANGED
@@ -1670,7 +1670,7 @@ document.addEventListener('click', e => {
1670
1670
  });
1671
1671
 
1672
1672
  function linkifyPaths(text) {
1673
- const PATH_RE = /(\/(?:Users|home|tmp|workspace|var\/folders)[^\s"'`,;()[\]<>]{3,}|~\/[^\s"'`,;()[\]<>]+)/g;
1673
+ const PATH_RE = /(?<![:/])(\/(var|Users|home|tmp|workspace|root)\/[^\s"'`,;()[\]<>]{3,})/g;
1674
1674
  const parts = [];
1675
1675
  let last = 0;
1676
1676
  let m;