@yuriai/web 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/dist/assets/{AssistantView-Ct7V8lpF.js → AssistantView-Be0OKo5o.js} +3 -3
- package/dist/assets/{DiagramView-Ch2D2gUQ.js → DiagramView-Rpb6oenk.js} +1 -1
- package/dist/assets/{GuiPluginSurface-sdtt33qQ.js → GuiPluginSurface-DTH9jNDf.js} +1 -1
- package/dist/assets/{MarkdownRenderer-C1giOHSB.js → MarkdownRenderer-Dk1A4sLM.js} +2 -2
- package/dist/assets/{MarkdownRendererImpl-CtfnAdo-.js → MarkdownRendererImpl-CZ9lU4VJ.js} +1 -1
- package/dist/assets/{MarkstreamRendererImpl-CWtvbZSX.js → MarkstreamRendererImpl-DastQdu7.js} +1 -1
- package/dist/assets/{MobileDetailNavigation-CUx-H4fe.js → MobileDetailNavigation-CittPDZ0.js} +1 -1
- package/dist/assets/{MobileShareBridge-DUwPWQNz.js → MobileShareBridge-BxsoZnUJ.js} +1 -1
- package/dist/assets/{MobileTabPageHeader-BtLdnDa3.js → MobileTabPageHeader-BEgQ3L4u.js} +1 -1
- package/dist/assets/{MultiRunWindow-Gs-5PM3Z.js → MultiRunWindow-1o528NZE.js} +1 -1
- package/dist/assets/{SettingsView-BJy3bKbz.js → SettingsView-BGEaQC4R.js} +1 -1
- package/dist/assets/{SettingsWindow-w3K1Dbo1.js → SettingsWindow-MuJFADe3.js} +1 -1
- package/dist/assets/{TerminalView-DnmN2KHj.js → TerminalView-CHDyibi_.js} +1 -1
- package/dist/assets/{ToolOutputDialog-Ctr_rqwb.js → ToolOutputDialog-Bcry3eoE.js} +1 -1
- package/dist/assets/{appThemeRegistry-3MgV1x6f.js → appThemeRegistry-CJoBy_eP.js} +1 -1
- package/dist/assets/{capgoAdapter-CpthNQYY.js → capgoAdapter-_oWtDrgf.js} +1 -1
- package/dist/assets/{fileMentionTouchSelection-1havvnZN.js → fileMentionTouchSelection-7KLhnK1O.js} +1 -1
- package/dist/assets/{gitApi-Bw4AQDuA.js → gitApi-BEXddXMX.js} +1 -1
- package/dist/assets/{insertionBoundaries-_8AmjaTs.js → insertionBoundaries-HkddYmJd.js} +1 -1
- package/dist/assets/{main-C5PgzX4P.js → main-BKkCvf3L.js} +2 -2
- package/dist/assets/{main-C09TKUe7.js → main-CXE9lij2.js} +4 -4
- package/dist/assets/{mcpQueries-B-cYFZaO.js → mcpQueries-xfKOWrAa.js} +1 -1
- package/dist/assets/{miniChat-C_az-fSk.js → miniChat-BKr-HXzy.js} +2 -2
- package/dist/assets/{mobile-CnXTR6QC.js → mobile-CGL4wWLz.js} +2 -2
- package/dist/assets/{mobileBackNavigation-DSDlOhh6.js → mobileBackNavigation-VzxRWLxN.js} +1 -1
- package/dist/assets/{multirun-DgLVkagL.js → multirun-BmF58wXR.js} +1 -1
- package/dist/assets/{native-config-w5ntuSb5.js → native-config-CYjStyIM.js} +1 -1
- package/dist/assets/{projectMeta-OMvGIxob.js → projectMeta-DhdEWvmC.js} +1 -1
- package/dist/assets/{readiness-6XMJtgLY.js → readiness-uM7foMQ8.js} +1 -1
- package/dist/assets/{renderElectronMiniChatApp-rvO-rcnc.js → renderElectronMiniChatApp-CYjZYsCZ.js} +2 -2
- package/dist/assets/{renderMobileApp-DheZQr5N.js → renderMobileApp-Dy2bPXrM.js} +4 -4
- package/dist/assets/{runtimeConfig-cAbdKbv6.js → runtimeConfig-Cjjf4017.js} +1 -1
- package/dist/assets/{runtimeEndpointReset-CPsJLvK2.js → runtimeEndpointReset-CNyugOcU.js} +3 -3
- package/dist/assets/{sessionChangeSummary-BEB6JZpN.js → sessionChangeSummary-5npOjhNG.js} +1 -1
- package/dist/assets/{sessionLookup-BI5wTzCJ.js → sessionLookup-ClhS_rqE.js} +1 -1
- package/dist/assets/{speechSettingsQueries-DZ9a20QR.js → speechSettingsQueries-CpOY2X9w.js} +1 -1
- package/dist/assets/{types-BihDq7ZW.js → types-C2ml30_A.js} +1 -1
- package/dist/assets/{useAppFontEffects-CKCYZ3VJ.js → useAppFontEffects-BMXDDJtn.js} +6 -6
- package/dist/assets/{useDesktopWindowControlsLayout-CloJ_VZ3.js → useDesktopWindowControlsLayout-l2q0zXMx.js} +1 -1
- package/dist/assets/{useEffectiveDirectory-CuajC8G4.js → useEffectiveDirectory-rDw8BJo1.js} +1 -1
- package/dist/assets/{useMobileNavigationStore-07uYrwvK.js → useMobileNavigationStore-EmnPOl61.js} +3 -3
- package/dist/assets/{useWorkerHighlightedLines-2Vw7Hzud.js → useWorkerHighlightedLines-up7t7cwh.js} +1 -1
- package/dist/index.html +5 -5
- package/dist/mini-chat.html +5 -5
- package/dist/mobile.html +5 -5
- package/package.json +1 -1
- package/server/lib/assistants/DOCUMENTATION.md +1 -1
- package/server/lib/assistants/contact-tools.js +2 -2
- package/server/lib/assistants/harness.js +2 -2
- package/server/lib/package-manager.js +1 -1
package/dist/assets/{useWorkerHighlightedLines-2Vw7Hzud.js → useWorkerHighlightedLines-up7t7cwh.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{it as t,rt as n}from"./vendor-base-ui-CdzJ6My_.js";import{v as r}from"./useUIStore-NMQx_cnG.js";import{n as i}from"./vendor-react-BP2cRVqX.js";import{f as a,r as o,t as s}from"./button-BSFWH-Ok.js";import{n as c}from"./useThemeSystem-8jhE4Zyk.js";import{n as l}from"./Icon-BjiyvtB2.js";import{i as u,n as d,t as f}from"./tooltip-DygQ-2xe.js";import{n as p}from"./MarkdownRenderer-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{it as t,rt as n}from"./vendor-base-ui-CdzJ6My_.js";import{v as r}from"./useUIStore-NMQx_cnG.js";import{n as i}from"./vendor-react-BP2cRVqX.js";import{f as a,r as o,t as s}from"./button-BSFWH-Ok.js";import{n as c}from"./useThemeSystem-8jhE4Zyk.js";import{n as l}from"./Icon-BjiyvtB2.js";import{i as u,n as d,t as f}from"./tooltip-DygQ-2xe.js";import{n as p}from"./MarkdownRenderer-Dk1A4sLM.js";import{n as m,r as h}from"./toolHelpers-DL452NVK.js";import{t as g}from"./vendor-tanstack-react-virtual-B_EO--9t.js";import{n as _}from"./markdownTheme-DHoKvD6O.js";import{n as v,t as y}from"./markdown-worker-oBGEB9Eg.js";var b=e(t(),1),x=i(),S=n(),C=`w-[min(30rem,calc(100cqw-1rem))] min-w-[280px] max-w-full overflow-hidden rounded-xl shadow-[inset_0_1px_0_0_rgba(255,255,255,0.8),inset_0_0_0_1px_rgba(0,0,0,0.04),0_0_0_1px_rgba(0,0,0,0.10),0_1px_2px_-0.5px_rgba(0,0,0,0.08),0_4px_8px_-2px_rgba(0,0,0,0.08),0_12px_20px_-4px_rgba(0,0,0,0.08)] dark:shadow-[inset_0_1px_0_0_rgba(255,255,255,0.12),inset_0_0_0_1px_rgba(255,255,255,0.08),0_0_0_1px_rgba(0,0,0,0.36),0_1px_1px_-0.5px_rgba(0,0,0,0.22),0_3px_3px_-1.5px_rgba(0,0,0,0.20),0_6px_6px_-3px_rgba(0,0,0,0.16)]`,w={maxWidth:`min(28rem, calc(100cqw - 4ch))`,backgroundColor:`var(--surface-elevated)`,color:`var(--surface-elevated-foreground)`},T=`flex items-center justify-between gap-3 border-b border-[var(--surface-subtle)] px-3 py-2.5`,E=`text-xs font-medium leading-4 text-foreground md:text-[0.8125rem] md:leading-5`,D=`text-xs tabular-nums leading-4 text-muted-foreground md:text-[0.8125rem] md:leading-5`,O=`m-0 list-none divide-y divide-[var(--surface-subtle)] p-0`,k=`${O} max-h-[min(22rem,50vh)] overflow-y-auto`,A=`${O} w-full`,ee={className:`p-0 rounded-none`,maxHeightClass:`max-h-[46vh]`,disableHorizontal:!0},j=`px-2.5 py-1.5 text-xs leading-4 md:py-2 md:text-[0.8125rem] md:leading-5`,M=`flex min-w-0 items-center gap-1 text-xs leading-4 text-muted-foreground md:gap-1.5 md:text-[0.8125rem] md:leading-5`,te=`min-w-0 truncate text-xs leading-4 text-foreground md:text-[0.8125rem] md:leading-5`,ne=`inline-flex shrink-0 items-center gap-1 text-xs leading-4 tabular-nums text-muted-foreground md:text-[0.8125rem] md:leading-5`,re=`h-3 w-3 shrink-0 md:h-3.5 md:w-3.5`,ie={in_progress:`text-foreground`,pending:`text-foreground`,completed:`text-muted-foreground line-through`,cancelled:`text-muted-foreground line-through`},ae={in_progress:`chat.statusRow.todo.status.inProgress`,pending:`chat.statusRow.todo.status.pending`,completed:`chat.statusRow.todo.status.completed`,cancelled:`chat.statusRow.todo.status.cancelled`},N=e=>{let t=(0,x.c)(26),{todo:n,isActive:r,activeRef:i}=e,{t:s}=a(),c=oe.has(n.status)?n.status:`pending`,p=ae[c],m;t[0]!==s||t[1]!==p?(m=s(p),t[0]=s,t[1]=p,t[2]=m):m=t[2];let h=m,g;t[3]===c?g=t[4]:(g=c===`in_progress`?(0,S.jsx)(l,{name:`record-circle`,className:`h-3.5 w-3.5 text-[var(--status-info)]`,"aria-hidden":`true`}):c===`completed`?(0,S.jsx)(l,{name:`checkbox-circle`,className:`h-3.5 w-3.5 text-[var(--status-success)]`,"aria-hidden":`true`}):(0,S.jsx)(l,{name:`time`,className:`h-3.5 w-3.5 text-muted-foreground`,"aria-hidden":`true`}),t[3]=c,t[4]=g);let _=g,v=r?`step`:void 0,y=r&&`bg-[var(--surface-muted)] before:absolute before:inset-y-2 before:left-0 before:w-0.5 before:rounded-full before:bg-[var(--status-info)]`,b;t[5]===y?b=t[6]:(b=o(`group relative grid min-w-0 grid-cols-[1rem_minmax(0,1fr)] items-start gap-2.5`,j,y),t[5]=y,t[6]=b);let C;t[7]!==_||t[8]!==h?(C=(0,S.jsx)(u,{asChild:!0,children:(0,S.jsx)(`span`,{className:`flex size-4 items-center justify-center`,"aria-label":h,children:_})}),t[7]=_,t[8]=h,t[9]=C):C=t[9];let w;t[10]===h?w=t[11]:(w=(0,S.jsx)(d,{side:`left`,sideOffset:6,children:h}),t[10]=h,t[11]=w);let T;t[12]!==C||t[13]!==w?(T=(0,S.jsxs)(f,{children:[C,w]}),t[12]=C,t[13]=w,t[14]=T):T=t[14];let E=ie[c],D;t[15]===E?D=t[16]:(D=o(`block whitespace-normal break-words`,E),t[15]=E,t[16]=D);let O;t[17]!==D||t[18]!==n.content?(O=(0,S.jsx)(`span`,{className:`min-w-0 flex-1`,children:(0,S.jsx)(`span`,{className:D,children:n.content})}),t[17]=D,t[18]=n.content,t[19]=O):O=t[19];let k;return t[20]!==i||t[21]!==O||t[22]!==v||t[23]!==b||t[24]!==T?(k=(0,S.jsxs)(`li`,{ref:i,"aria-current":v,className:b,children:[T,O]}),t[20]=i,t[21]=O,t[22]=v,t[23]=b,t[24]=T,t[25]=k):k=t[25],k},oe=new Set([`in_progress`,`pending`,`completed`,`cancelled`]),P=e=>e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`),F=e=>e?Object.entries(e).map(([e,t])=>t==null?``:`${e.startsWith(`--`)?e:e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}:${typeof t==`number`?`${t}px`:t};`).join(``):``,I=(e,t,n)=>{let r=e.querySelector(`pre`);r&&(r.style.margin=`0`,r.style.background=`transparent`,r.style.whiteSpace=t?`pre-wrap`:`pre`,t&&(r.style.wordBreak=`break-word`,r.style.overflowWrap=`break-word`));let i=e.querySelector(`code`);if(i){let e=F(n);e&&i.setAttribute(`style`,`${i.getAttribute(`style`)??``}${e}`)}},L=e=>`<pre><code>${P(e)}</code></pre>`,R=e=>{let t=(0,x.c)(21),{code:n,language:r,className:i,style:a,codeStyle:s,wrap:l}=e,u=l!==void 0&&l,{currentTheme:d}=c(),f=b.useRef(null),p;t[0]===d?p=t[1]:(p=_(d),t[0]=d,t[1]=p);let m=p,h,g;t[2]!==n||t[3]!==s||t[4]!==u?(h=()=>{let e=f.current;e&&(e.innerHTML=L(n),I(e,u,s))},g=[n,u,s],t[2]=n,t[3]=s,t[4]=u,t[5]=h,t[6]=g):(h=t[5],g=t[6]),b.useLayoutEffect(h,g);let v,C;t[7]!==n||t[8]!==s||t[9]!==r||t[10]!==u?(v=()=>{let e=f.current;if(!e)return;let t=!0,i=new AbortController;return y(n,(r||`text`).toLowerCase(),{signal:i.signal,priority:`visible`}).then(n=>{!t||!e||!n||(e.innerHTML=n,I(e,u,s))}),()=>{t=!1,i.abort()}},C=[n,r,u,s],t[7]=n,t[8]=s,t[9]=r,t[10]=u,t[11]=v,t[12]=C):(v=t[11],C=t[12]),b.useEffect(v,C);let w;t[13]===i?w=t[14]:(w=o(`typography-code`,i),t[13]=i,t[14]=w);let T=m,E;t[15]!==a||t[16]!==T?(E={...T,...a},t[15]=a,t[16]=T,t[17]=E):E=t[17];let D;return t[18]!==w||t[19]!==E?(D=(0,S.jsx)(`div`,{ref:f,className:w,style:E}),t[18]=w,t[19]=E,t[20]=D):D=t[20],D},z=e=>{let t=e.replace(/^<file>\s*\n?/,``).replace(/\n?<\/file>\s*$/,``);return t=t.replace(/^\s*\d{5}\|\s?/gm,``),t.trim()},B=(e,t=``)=>{if(typeof e==`string`)return e;if(e==null)return t;if(typeof e==`number`||typeof e==`boolean`||typeof e==`bigint`)return String(e);try{return JSON.stringify(e)}catch{return t}},V=e=>e?e.includes(`<diagnostics`)||e.includes(`<file_diagnostics>`)||e.includes(`LSP errors detected`)||e.includes(`This file has errors`):!1,H=e=>e?e.replace(/\n{0,2}LSP errors detected[\s\S]*?<diagnostics[^>]*>[\s\S]*?<\/diagnostics>/g,``).replace(/\n{0,2}This file has errors[\s\S]*?<\/file_diagnostics>/g,``).replace(/<diagnostics[^>]*>[\s\S]*?<\/diagnostics>/g,``).replace(/<file_diagnostics>[\s\S]*?<\/file_diagnostics>/g,``).trim():``,U=(e,t)=>!e||typeof e!=`object`?String(e):h(e,t||``),W=e=>{if(typeof e==`string`){let t=e.trim();return t.length>0?t:void 0}if(e&&typeof e==`object`){let t=e.patch;if(typeof t==`string`){let e=t.trim();return e.length>0?e:void 0}}},G=e=>{if(!e||typeof e!=`object`)return;let t=W(e.patch)??W(e.diff);if(t)return t;let n=Array.isArray(e.files)?e.files:[];for(let e of n){if(!e||typeof e!=`object`)continue;let t=W(e.patch)??W(e.diff);if(t)return t}},K=e=>{if(!e||typeof e!=`string`)return{data:null,isJson:!1};let t=e.trim();if(!t.startsWith(`{`)&&!t.startsWith(`[`)||!t.endsWith(`}`)&&!t.endsWith(`]`)||t.length<2)return{data:null,isJson:!1};try{let e=JSON.parse(t);return typeof e==`object`&&e?{data:e,isJson:!0}:{data:null,isJson:!1}}catch{return{data:null,isJson:!1}}},q=(e,t,n)=>{let r=z(e);if((t===`edit`||t===`multiedit`||t===`write`||t===`apply_patch`)&&V(r)&&(r=H(r)),(t===`edit`||t===`multiedit`||t===`apply_patch`)&&r.trim().length===0){let e=G(n);if(e)return e}return r},se=e=>{let t=e.match(/<type>(file|directory)<\/type>/i)?.[1]?.toLowerCase()??`unknown`,n=(e.match(/<content>([\s\S]*?)<\/content>/i)?.[1]??e).replace(/\r\n/g,`
|
|
2
2
|
`).split(`
|
|
3
3
|
`),r=e=>/\(\s*File has more lines\..*offset.*\)/i.test(e.trim());return{type:t,lines:n.map(e=>{let n=e.trim(),i=n.startsWith(`(`)&&n.endsWith(`)`)||r(n);if(t!==`directory`){let t=e.match(/^(\d+):\s?(.*)$/);if(t){let e=t[2],n=e.trim(),i=n.startsWith(`(`)&&n.endsWith(`)`)||r(n);return{lineNumber:i?null:Number(t[1]),text:e,isInfo:i}}}return{lineNumber:null,text:e,isInfo:i}}).filter((e,t,n)=>{if(e.text.trim().length>0)return!0;let r=n[t-1],i=n[t+1],a=!!(r?.isInfo||i?.isInfo),o=e.lineNumber!==null;return!(a&&o)})}},ce=(e,t)=>{try{let n=e.trim().split(`
|
|
4
4
|
`).filter(Boolean);if(n.length===0)return null;let i=[];return n.forEach(e=>{let t=e.match(/^(\s*)(.+)$/);if(t){let[,e,n]=t,r=Math.floor(e.length/2),a=!n.endsWith(`/`);i.push({name:n.replace(/\/$/,``),depth:r,isFile:a})}}),(0,S.jsx)(`div`,{className:o(`w-full min-w-0 font-mono space-y-0.5`,t?.unstyled?null:`p-3 bg-muted/20 rounded-xl border border-border/30`),style:r.tool.popup,children:i.map((e,t)=>(0,S.jsx)(`div`,{className:`min-w-0`,style:{paddingLeft:`${e.depth*20}px`},children:e.isFile?(0,S.jsx)(`span`,{className:`text-foreground/90 block truncate`,children:e.name}):(0,S.jsxs)(`span`,{className:`font-semibold text-foreground block truncate`,children:[e.name,`/`]})},t))})}catch{return null}},le={backgroundColor:`var(--status-info)`,opacity:.6},ue=(e,t,n)=>{try{let i=e.trim().split(`
|
package/dist/index.html
CHANGED
|
@@ -560,7 +560,7 @@
|
|
|
560
560
|
opacity: 0.72;
|
|
561
561
|
}
|
|
562
562
|
</style>
|
|
563
|
-
<script type="module" crossorigin src="/assets/main-
|
|
563
|
+
<script type="module" crossorigin src="/assets/main-BKkCvf3L.js"></script>
|
|
564
564
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-hePW80VL.js">
|
|
565
565
|
<link rel="modulepreload" crossorigin href="/assets/runtime-auth-ef9W7A43.js">
|
|
566
566
|
<link rel="modulepreload" crossorigin href="/assets/runtime-switch-CAZiOV2G.js">
|
|
@@ -591,10 +591,10 @@
|
|
|
591
591
|
<link rel="modulepreload" crossorigin href="/assets/platform-DXeTzJHG.js">
|
|
592
592
|
<link rel="modulepreload" crossorigin href="/assets/terminalApi-CIbkfDkE.js">
|
|
593
593
|
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-BzblfnMx.js">
|
|
594
|
-
<link rel="modulepreload" crossorigin href="/assets/types-
|
|
595
|
-
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-
|
|
596
|
-
<link rel="modulepreload" crossorigin href="/assets/native-config-
|
|
597
|
-
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-
|
|
594
|
+
<link rel="modulepreload" crossorigin href="/assets/types-C2ml30_A.js">
|
|
595
|
+
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-_oWtDrgf.js">
|
|
596
|
+
<link rel="modulepreload" crossorigin href="/assets/native-config-CYjStyIM.js">
|
|
597
|
+
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-Cjjf4017.js">
|
|
598
598
|
<link rel="stylesheet" crossorigin href="/assets/src-NlrSCyPZ.css">
|
|
599
599
|
</head>
|
|
600
600
|
<body class="h-full bg-background text-foreground">
|
package/dist/mini-chat.html
CHANGED
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
.dark #initial-loading img { filter: invert(1); }
|
|
78
78
|
</style>
|
|
79
79
|
|
|
80
|
-
<script type="module" crossorigin src="/assets/miniChat-
|
|
80
|
+
<script type="module" crossorigin src="/assets/miniChat-BKr-HXzy.js"></script>
|
|
81
81
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-hePW80VL.js">
|
|
82
82
|
<link rel="modulepreload" crossorigin href="/assets/runtime-auth-ef9W7A43.js">
|
|
83
83
|
<link rel="modulepreload" crossorigin href="/assets/runtime-switch-CAZiOV2G.js">
|
|
@@ -108,10 +108,10 @@
|
|
|
108
108
|
<link rel="modulepreload" crossorigin href="/assets/platform-DXeTzJHG.js">
|
|
109
109
|
<link rel="modulepreload" crossorigin href="/assets/terminalApi-CIbkfDkE.js">
|
|
110
110
|
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-BzblfnMx.js">
|
|
111
|
-
<link rel="modulepreload" crossorigin href="/assets/types-
|
|
112
|
-
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-
|
|
113
|
-
<link rel="modulepreload" crossorigin href="/assets/native-config-
|
|
114
|
-
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-
|
|
111
|
+
<link rel="modulepreload" crossorigin href="/assets/types-C2ml30_A.js">
|
|
112
|
+
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-_oWtDrgf.js">
|
|
113
|
+
<link rel="modulepreload" crossorigin href="/assets/native-config-CYjStyIM.js">
|
|
114
|
+
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-Cjjf4017.js">
|
|
115
115
|
<link rel="stylesheet" crossorigin href="/assets/src-NlrSCyPZ.css">
|
|
116
116
|
</head>
|
|
117
117
|
<body class="h-full bg-background text-foreground">
|
package/dist/mobile.html
CHANGED
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
</script>
|
|
65
65
|
|
|
66
66
|
<style>.dark #mobile-startup-logo img { filter: invert(1); }</style>
|
|
67
|
-
<script type="module" crossorigin src="/assets/mobile-
|
|
67
|
+
<script type="module" crossorigin src="/assets/mobile-CGL4wWLz.js"></script>
|
|
68
68
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-hePW80VL.js">
|
|
69
69
|
<link rel="modulepreload" crossorigin href="/assets/runtime-auth-ef9W7A43.js">
|
|
70
70
|
<link rel="modulepreload" crossorigin href="/assets/runtime-switch-CAZiOV2G.js">
|
|
@@ -95,10 +95,10 @@
|
|
|
95
95
|
<link rel="modulepreload" crossorigin href="/assets/platform-DXeTzJHG.js">
|
|
96
96
|
<link rel="modulepreload" crossorigin href="/assets/terminalApi-CIbkfDkE.js">
|
|
97
97
|
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-BzblfnMx.js">
|
|
98
|
-
<link rel="modulepreload" crossorigin href="/assets/types-
|
|
99
|
-
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-
|
|
100
|
-
<link rel="modulepreload" crossorigin href="/assets/native-config-
|
|
101
|
-
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-
|
|
98
|
+
<link rel="modulepreload" crossorigin href="/assets/types-C2ml30_A.js">
|
|
99
|
+
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-_oWtDrgf.js">
|
|
100
|
+
<link rel="modulepreload" crossorigin href="/assets/native-config-CYjStyIM.js">
|
|
101
|
+
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-Cjjf4017.js">
|
|
102
102
|
<link rel="stylesheet" crossorigin href="/assets/src-NlrSCyPZ.css">
|
|
103
103
|
</head>
|
|
104
104
|
<body class="h-full bg-background text-foreground">
|
package/package.json
CHANGED
|
@@ -175,7 +175,7 @@ and keep their existing error result handling.
|
|
|
175
175
|
**Workspace response and loop protocol**
|
|
176
176
|
|
|
177
177
|
- Public progress uses leading `yuri-message` fences containing single-line JSON `{ "text": "..." }`. A complete, valid public record emits a `done:true` bubble immediately during generation, before the following tool/final output completes. Incomplete records and ordinary raw tokens stay private. Each public record is capped at 2,000 text characters and the incomplete-record buffer at 8 KiB. The parser reads only consecutive prefix records, so quoted tool examples cannot become public events.
|
|
178
|
-
- The model is prompted to
|
|
178
|
+
- The model is prompted to send a progress message only when it adds information the user does not already have (a direction worth correcting, a meaningful finding, a blocker, or expected long work), then give a short final outcome. A message is not required before each tool call, and successful lookups need no separate confirmation. Public messages share the existing SSE, durable contact rows, and turn-global indices across web, desktop, VS Code, hosted mobile, and Capacitor. No timer narration, tool logs, progress widgets, or synthetic chat messages are added. Timing of model-authored milestones remains model policy; the transport guarantees immediate delivery once an explicit public record arrives.
|
|
179
179
|
- Completion notifications use the latest spoken message, keeping earlier progress out of the final notification body. Transcript persistence reconciles by stable bubble IDs and adds only remaining messages.
|
|
180
180
|
- Tool results remain model context for every tool. The outcome projector uses assistant-authored text only. Terminal operations retain the mutation stop gate, followed by a tools-disabled completion on the same provider/model to communicate the actual result. A failed/empty summary surfaces a turn error; a completed side effect stays committed and is never replayed by that summary pass.
|
|
181
181
|
- Reset summaries receive only the successful reset tool result, excluding prior messages and attachments. The service retains one model-generated confirmation and discards pre-reset output for that turn. Failures emit temporary live error feedback outside assistant speech bubbles, without a persisted failure row.
|
|
@@ -782,10 +782,10 @@ export function formatContactToolsPrompt(tools) {
|
|
|
782
782
|
'schedule_task writes the same payload as PUT /api/projects/:id/scheduled-tasks onto a registered project.',
|
|
783
783
|
'message_assistant is read-only: it inserts into the other contact transcript. It never runs promptAsync or mutates sessions or files. Never assign through a peer message.',
|
|
784
784
|
'A reply without the tool call does nothing — agreeing in Chinese (好的 / 我来创建 / 我去说一声) is not sending.',
|
|
785
|
-
'
|
|
785
|
+
'A yuri-message prefix is not required before a tool fence; publish one only when it tells the user something new. Keep private reasoning, tool names, and raw traces out of public messages.',
|
|
786
786
|
'Never say 已创建, 已发送, 已停止, created, scheduled, opened, watched, stopped, or sent unless the tool already returned success.',
|
|
787
787
|
'With an empty registered catalog, first discover the relevant existing workspace through list_sessions and directory lookups, then ask the user to register that workspace in Settings before assignment.',
|
|
788
|
-
'After a
|
|
788
|
+
'After a tool that changes state succeeds, confirm in one short bubble; lookups need no separate confirmation. The user sees a contact card, not tool traces. After successful assign_session or watch_session the session card plus that short confirm is enough — stop.',
|
|
789
789
|
'These are application-owned Yuri contact tools (not OpenCode native tools, not MCP, not skill directory entries). Use only the names and argument schemas below:',
|
|
790
790
|
'Available Yuri tools:',
|
|
791
791
|
...list.map((tool) => formatApplicationToolCatalogEntry(tool)).filter(Boolean),
|
|
@@ -103,8 +103,8 @@ export const CONTACT_SYSTEM_PROMPT = [
|
|
|
103
103
|
'Reply in short chat bubbles: a few sentences each, separated by a blank line.',
|
|
104
104
|
'Talk like a person in the user\'s language. One short spoken bubble at a time — never a wall of paragraphs.',
|
|
105
105
|
'Reply in the language of the user\'s messages, unless they explicitly request another language. Infer it from their latest substantive message and conversation context, never from the app interface locale. For ambiguous messages or background follow-ups, continue the established conversation language.',
|
|
106
|
-
'Keep private reasoning and tool traces private.
|
|
107
|
-
'
|
|
106
|
+
'Keep private reasoning and tool traces private.',
|
|
107
|
+
'Send a progress message when it tells the user something they do not already know: a direction they may want to correct, a finding that matters, a blocker, or that the work will take a while. Skip messages that would only repeat the plan or narrate a step. Keep the final answer to the remaining outcome instead of repeating earlier updates.',
|
|
108
108
|
'Public message protocol: put each user-facing progress message at the START of your response in its own yuri-message JSON fence, with a single-line JSON object {"text":"Your short message"}. Then emit the next tool call or final answer. A closed message fence is delivered immediately while you are still generating. Include only text intended for the user. Tool results are evidence for you to summarize in your own words; never copy their stock confirmation wording into your reply.',
|
|
109
109
|
'Do not expose tool traces, Activity, or editor actions.',
|
|
110
110
|
'You have bash, read, write, and edit in the working directory. Use them for pwd, files, and shell. Never say you have no terminal or cannot read files. Ignore any temporary generator workspace in the environment.',
|
|
@@ -40,7 +40,7 @@ function sanitizeInstallScope(scope) {
|
|
|
40
40
|
return 'web';
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
function getOrCreateInstallId(scope = 'web') {
|
|
43
|
+
export function getOrCreateInstallId(scope = 'web') {
|
|
44
44
|
const configDir = getYuriConfigDir();
|
|
45
45
|
const normalizedScope = sanitizeInstallScope(scope);
|
|
46
46
|
const idPath = path.join(configDir, `install-id-${normalizedScope}`);
|