nterminal 1.3.22 → 1.3.24

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.
Files changed (29) hide show
  1. package/dist/client/assets/MarkdownPreview--8XdSXg9.js +1 -0
  2. package/dist/client/assets/{TranscriptMarkdownBody-Cno4q5l3.js → TranscriptMarkdownBody-D_cxr-gq.js} +1 -1
  3. package/dist/client/assets/index-B82gs1vu.js +59 -0
  4. package/dist/client/assets/{index-WbYs2rx7.js → index-BWGb94RV.js} +1 -1
  5. package/dist/client/assets/{index-BA_6Pzsw.css → index-NLmofapG.css} +1 -1
  6. package/dist/client/index.html +2 -2
  7. package/dist/server/accounts/accountService.d.ts +2 -1
  8. package/dist/server/accounts/accountService.js +50 -10
  9. package/dist/server/accounts/accountService.js.map +1 -1
  10. package/dist/server/accounts/codexDaemonAuth.d.ts +7 -2
  11. package/dist/server/accounts/codexDaemonAuth.js +100 -33
  12. package/dist/server/accounts/codexDaemonAuth.js.map +1 -1
  13. package/dist/server/agent/agentRoutes.js +8 -0
  14. package/dist/server/agent/agentRoutes.js.map +1 -1
  15. package/dist/server/routes/terminalWebSocket.js +9 -0
  16. package/dist/server/routes/terminalWebSocket.js.map +1 -1
  17. package/dist/server/terminal/TerminalManager.d.ts +1 -0
  18. package/dist/server/terminal/TerminalManager.js +45 -1
  19. package/dist/server/terminal/TerminalManager.js.map +1 -1
  20. package/dist/server/terminal/TmuxPtyAdapter.js +7 -2
  21. package/dist/server/terminal/TmuxPtyAdapter.js.map +1 -1
  22. package/dist/shared/protocol.d.ts +12 -1
  23. package/dist/shared/protocol.js +6 -0
  24. package/dist/shared/protocol.js.map +1 -1
  25. package/dist/shared/types.d.ts +1 -0
  26. package/package.json +1 -1
  27. package/scripts/nterminal-tmux.conf +5 -0
  28. package/dist/client/assets/MarkdownPreview-kAFl13F9.js +0 -1
  29. package/dist/client/assets/index-3xteNgQ3.js +0 -59
@@ -0,0 +1 @@
1
+ import{j as a}from"./index-B82gs1vu.js";import{M as e,r as o}from"./index-BWGb94RV.js";function s({content:r}){return a.jsx(e,{remarkPlugins:[o],children:r})}export{s as default};
@@ -1,3 +1,3 @@
1
- import{R as a,j as t}from"./index-3xteNgQ3.js";import{M as u,r as m}from"./index-WbYs2rx7.js";const _=a.memo(function({text:o,searchQuery:n}){const e=a.useMemo(()=>f(n),[n]),i=a.useMemo(()=>j(o),[o]);return t.jsx(u,{components:e,remarkPlugins:[m],children:i})});function f(r){return{a({node:o,children:n,...e}){return t.jsx("a",{...e,target:"_blank",rel:"noreferrer",children:d(n,r)})},blockquote({node:o,children:n,...e}){return t.jsx("blockquote",{...e,children:d(n,r)})},code({node:o,children:n,...e}){return t.jsx("code",{...e,children:d(n,r)})},em({node:o,children:n,...e}){return t.jsx("em",{...e,children:d(n,r)})},h1({node:o,children:n,...e}){return t.jsx("h1",{...e,children:d(n,r)})},h2({node:o,children:n,...e}){return t.jsx("h2",{...e,children:d(n,r)})},h3({node:o,children:n,...e}){return t.jsx("h3",{...e,children:d(n,r)})},h4({node:o,children:n,...e}){return t.jsx("h4",{...e,children:d(n,r)})},h5({node:o,children:n,...e}){return t.jsx("h5",{...e,children:d(n,r)})},h6({node:o,children:n,...e}){return t.jsx("h6",{...e,children:d(n,r)})},li({node:o,children:n,...e}){return t.jsx("li",{...e,children:d(n,r)})},p({node:o,children:n,...e}){return t.jsx("p",{...e,children:d(n,r)})},pre({node:o,children:n,...e}){return t.jsx("pre",{...e,className:"transcript-markdown-code",children:n})},strong({node:o,children:n,...e}){return t.jsx("strong",{...e,children:d(n,r)})},td({node:o,children:n,...e}){return t.jsx("td",{...e,children:d(n,r)})},th({node:o,children:n,...e}){return t.jsx("th",{...e,children:d(n,r)})}}}function d(r,o){return a.Children.map(r,n=>typeof n=="string"?p(n,o):n)}function p(r,o){const n=o.trim();if(!n)return r||" ";const e=r.toLowerCase(),i=n.toLowerCase(),c=[];let l=0,s=e.indexOf(i);for(;s!==-1;){s>l&&c.push(r.slice(l,s));const h=s+n.length;c.push(t.jsx("mark",{className:"transcript-search-hit",children:r.slice(s,h)},`${s}-${h}`)),l=h,s=e.indexOf(i,l)}return l<r.length&&c.push(r.slice(l)),c.length>0?c:r||" "}function j(r){const o=r.split(`
1
+ import{R as a,j as t}from"./index-B82gs1vu.js";import{M as u,r as m}from"./index-BWGb94RV.js";const _=a.memo(function({text:o,searchQuery:n}){const e=a.useMemo(()=>f(n),[n]),i=a.useMemo(()=>j(o),[o]);return t.jsx(u,{components:e,remarkPlugins:[m],children:i})});function f(r){return{a({node:o,children:n,...e}){return t.jsx("a",{...e,target:"_blank",rel:"noreferrer",children:d(n,r)})},blockquote({node:o,children:n,...e}){return t.jsx("blockquote",{...e,children:d(n,r)})},code({node:o,children:n,...e}){return t.jsx("code",{...e,children:d(n,r)})},em({node:o,children:n,...e}){return t.jsx("em",{...e,children:d(n,r)})},h1({node:o,children:n,...e}){return t.jsx("h1",{...e,children:d(n,r)})},h2({node:o,children:n,...e}){return t.jsx("h2",{...e,children:d(n,r)})},h3({node:o,children:n,...e}){return t.jsx("h3",{...e,children:d(n,r)})},h4({node:o,children:n,...e}){return t.jsx("h4",{...e,children:d(n,r)})},h5({node:o,children:n,...e}){return t.jsx("h5",{...e,children:d(n,r)})},h6({node:o,children:n,...e}){return t.jsx("h6",{...e,children:d(n,r)})},li({node:o,children:n,...e}){return t.jsx("li",{...e,children:d(n,r)})},p({node:o,children:n,...e}){return t.jsx("p",{...e,children:d(n,r)})},pre({node:o,children:n,...e}){return t.jsx("pre",{...e,className:"transcript-markdown-code",children:n})},strong({node:o,children:n,...e}){return t.jsx("strong",{...e,children:d(n,r)})},td({node:o,children:n,...e}){return t.jsx("td",{...e,children:d(n,r)})},th({node:o,children:n,...e}){return t.jsx("th",{...e,children:d(n,r)})}}}function d(r,o){return a.Children.map(r,n=>typeof n=="string"?p(n,o):n)}function p(r,o){const n=o.trim();if(!n)return r||" ";const e=r.toLowerCase(),i=n.toLowerCase(),c=[];let l=0,s=e.indexOf(i);for(;s!==-1;){s>l&&c.push(r.slice(l,s));const h=s+n.length;c.push(t.jsx("mark",{className:"transcript-search-hit",children:r.slice(s,h)},`${s}-${h}`)),l=h,s=e.indexOf(i,l)}return l<r.length&&c.push(r.slice(l)),c.length>0?c:r||" "}function j(r){const o=r.split(`
2
2
  `);let n=!1,e=null;return o.map((i,c)=>{const l=n,s=/^ {0,3}(```+|~~~+)/.exec(i);if(s){const h=s[1]?.startsWith("`")?"`":"~";n?e===h&&(n=!1,e=null):(n=!0,e=h)}return c===o.length-1||l||s||i.trim()===""||i.endsWith(" ")?i:`${i.replace(/[ \t]+$/,"")} `}).join(`
3
3
  `)}export{_ as default};