copilot-operator 0.1.67 → 0.1.69
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/src/api/operator.controller.js +12 -1
- package/dist/src/api/operator.service.js +28 -7
- package/dist/src/exec/policy.js +1 -1
- package/dist/src/exec/scriptFiles.js +91 -9
- package/dist/src/orchestrator/handoff.js +79 -0
- package/dist/src/orchestrator/taskRunner.js +39 -0
- package/dist/src/plan/kerrigan.js +2 -0
- package/dist/src/plan/systemGuide.js +42 -2
- package/dist/src/protocol/parser.js +2 -2
- package/dist/src/protocol/replySchema.js +23 -2
- package/dist/src/queue/queue.js +6 -0
- package/dist/src/session/workspaceGit.js +64 -24
- package/dist/web/404.html +2 -2
- package/dist/web/_next/static/chunks/1024-e4e596b184e05e91.js +1 -0
- package/dist/web/_next/static/chunks/1077.b3943e5b41c4bef4.js +1 -0
- package/dist/web/_next/static/chunks/1548.0ff0c0ece685ffe7.js +1 -0
- package/dist/web/_next/static/chunks/2163.9cfb1b06beaf5001.js +1 -0
- package/dist/web/_next/static/chunks/714.bee98f5a3db75882.js +1 -0
- package/dist/web/_next/static/chunks/7220.610988766a1104b7.js +1 -0
- package/dist/web/_next/static/chunks/7921-ac5793d5663674b2.js +1 -0
- package/dist/web/_next/static/chunks/8124-665327221384ba6e.js +1 -0
- package/dist/web/_next/static/chunks/8584.9220e445a8ce2265.js +1 -0
- package/dist/web/_next/static/chunks/9067.f05516f2f2a2e8f5.js +1 -0
- package/dist/web/_next/static/chunks/9747.e249434ff7e05f4f.js +1 -0
- package/dist/web/_next/static/chunks/app/layout-e23bb58f3ea117d5.js +1 -0
- package/dist/web/_next/static/chunks/app/page-fd49cf4fb6681d30.js +1 -0
- package/dist/web/_next/static/chunks/{webpack-23ace264f775d98a.js → webpack-77c6c045264c9213.js} +1 -1
- package/dist/web/_next/static/css/52131c6d864daf3f.css +1 -0
- package/dist/web/defaults.html +2 -2
- package/dist/web/defaults.txt +8 -8
- package/dist/web/index.html +3 -3
- package/dist/web/index.txt +9 -9
- package/dist/web/queue.html +2 -2
- package/dist/web/queue.txt +9 -9
- package/dist/web/settings.html +2 -2
- package/dist/web/settings.txt +9 -9
- package/dist/web/system.html +2 -2
- package/dist/web/system.txt +9 -9
- package/package.json +3 -2
- package/prompts/level1.md +53 -14
- package/dist/web/_next/static/chunks/1024-5f630cbb54e7346f.js +0 -1
- package/dist/web/_next/static/chunks/1077.3b82a837cf810f8b.js +0 -1
- package/dist/web/_next/static/chunks/1548.52bfcd01c16aaafe.js +0 -1
- package/dist/web/_next/static/chunks/2163.e60d3be9bb3f8b3f.js +0 -1
- package/dist/web/_next/static/chunks/714.b452ef814760b5a5.js +0 -1
- package/dist/web/_next/static/chunks/7220.96b18052ed9c06c7.js +0 -1
- package/dist/web/_next/static/chunks/7921-dd201ce7aa02c12d.js +0 -1
- package/dist/web/_next/static/chunks/8124-c27ce7bd781f4c56.js +0 -1
- package/dist/web/_next/static/chunks/8584.ab8d406781cdd45c.js +0 -1
- package/dist/web/_next/static/chunks/9067.5b8abc40104d51d9.js +0 -1
- package/dist/web/_next/static/chunks/9747.cf0353e7ffec2ee4.js +0 -1
- package/dist/web/_next/static/chunks/app/layout-5e0e7601702723bb.js +0 -1
- package/dist/web/_next/static/chunks/app/page-ab73d1b3ba9181c2.js +0 -1
- package/dist/web/_next/static/css/532df8667473c4fc.css +0 -1
- /package/dist/web/_next/static/{JpBxrjYpw2xowWbFoiPjO → 8i6gf0zoo-KiUKdzxsCJR}/_buildManifest.js +0 -0
- /package/dist/web/_next/static/{JpBxrjYpw2xowWbFoiPjO → 8i6gf0zoo-KiUKdzxsCJR}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7921],{8205:(e,t,o)=>{o.d(t,{LanguageProvider:()=>m,Vl:()=>f,W3:()=>u,Ym:()=>p,kj:()=>w});var a=o(73365),n=o(1521),s=o(39051),i=o(99755);let r={en:()=>Promise.resolve().then(o.bind(o,39051)).then(e=>e.en),bg:()=>o.e(9747).then(o.bind(o,69747)).then(e=>e.bg),de:()=>o.e(2163).then(o.bind(o,92163)).then(e=>e.de),es:()=>o.e(1548).then(o.bind(o,11548)).then(e=>e.es),fr:()=>o.e(8584).then(o.bind(o,88584)).then(e=>e.fr),pt:()=>o.e(7220).then(o.bind(o,57220)).then(e=>e.pt),ja:()=>o.e(1077).then(o.bind(o,11077)).then(e=>e.ja),ko:()=>o.e(714).then(o.bind(o,50714)).then(e=>e.ko),ar:()=>o.e(9067).then(o.bind(o,89067)).then(e=>e.ar)};var h=o(52157);let d="cop.locale",l=s.en,c=(0,n.createContext)({locale:"en",setLocale:()=>void 0,table:l});function m(e){let{children:t}=e,[o,s]=(0,n.useState)("en"),[h,m]=(0,n.useState)(l),w=(0,n.useRef)({en:l}),p=(0,n.useRef)("en"),u=(0,n.useCallback)(async e=>{var t,o,a;p.current=e;let n=w.current[e];if(!n)try{n=await (null!=(t=r[e])?t:r.en)(),w.current[e]=n}catch(e){return}p.current===e&&(m(n),s(e),document.documentElement.lang=e,document.documentElement.dir=null!=(a=null==(o=(0,i.eX)(e))?void 0:o.dir)?a:"ltr")},[]);return(0,n.useEffect)(()=>{var e,t,o;let a="en";try{let o=window.localStorage.getItem(d);a=null!=(t=null!=(e=(0,i.Od)(o))?e:(0,i.Od)(navigator.language))?t:"en"}catch(e){a=null!=(o=(0,i.Od)(navigator.language))?o:"en"}u(a)},[u]),(0,a.jsx)(c.Provider,{value:{locale:o,setLocale:e=>{try{window.localStorage.setItem(d,e)}catch(e){}u(e)},table:h},children:t})}function w(){let{locale:e,table:t}=(0,n.useContext)(c);return{t:function(e){var o,a;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=null!=(a=null!=(o=t[e])?o:l[e])?a:e;for(let[e,t]of Object.entries(n))s=s.split("{".concat(e,"}")).join(String(t));return s},locale:e}}function p(){return(0,n.useContext)(c)}function u(){let{locale:e}=(0,n.useContext)(c);return t=>{var o;return t?new Date(t).toLocaleString(null==(o=(0,i.eX)(e))?void 0:o.dateLocale,{hour12:!1}):""}}function f(){let{locale:e}=(0,n.useContext)(c);return t=>{var o;return(0,h.ME)(t,null==(o=(0,i.eX)(e))?void 0:o.dateLocale)}}},15549:(e,t,o)=>{o.d(t,{FH:()=>h,nC:()=>a});let a="/api",n="cop-api-token";function s(){try{let e=/(?:^#|&)token=([0-9a-f]{16,})/i.exec(window.location.hash);if(e)return window.localStorage.setItem(n,e[1]),window.history.replaceState(null,"",window.location.pathname+window.location.search),e[1];return window.localStorage.getItem(n)||""}catch(e){return""}}function i(e){let t=s();return t?"".concat(e).concat(e.includes("?")?"&":"?","token=").concat(encodeURIComponent(t)):e}async function r(e,t){let o,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=void 0===n.timeoutMs?3e4:n.timeoutMs;try{var r;o=await fetch("".concat(a).concat(e),{...t,...null!==i&&!(null==t?void 0:t.signal)?{signal:AbortSignal.timeout(i)}:{},headers:{"content-type":"application/json",...s()?{"x-cop-token":s()}:{},...null!=(r=null==t?void 0:t.headers)?r:{}}})}catch(t){if("TimeoutError"===t.name)throw Error("The API did not answer within ".concat(Math.round((null!=i?i:0)/1e3)," s (").concat(e.split("?")[0],"). It may be busy; try again."));throw t}if(!o.ok){let e="".concat(o.status," ").concat(o.statusText);try{let t=await o.json();(null==t?void 0:t.message)&&(e=Array.isArray(t.message)?t.message.join("; "):t.message)}catch(e){}throw Object.assign(Error(e),{status:o.status})}let h=await o.text();return h?JSON.parse(h):void 0}let h={doctor:()=>r("/doctor"),settings:()=>r("/settings"),saveSettings:e=>r("/settings",{method:"PUT",body:JSON.stringify(e)}),level1:()=>r("/level1"),sessions:()=>r("/sessions"),session:e=>r("/sessions/".concat(e)),updateSession:(e,t)=>r("/sessions/".concat(e),{method:"PUT",body:JSON.stringify(t)}),taskChanges:(e,t,o)=>r("/sessions/".concat(e,"/tasks/").concat(t,"/changes").concat(o?"?run=".concat(encodeURIComponent(o)):"")),taskChangeFile:(e,t,o,a)=>r("/sessions/".concat(e,"/tasks/").concat(t,"/changes/file?path=").concat(encodeURIComponent(o)).concat(a?"&run=".concat(encodeURIComponent(a)):"")),taskStory:(e,t,o)=>r("/sessions/".concat(e,"/tasks/").concat(t,"/story").concat(o?"?run=".concat(encodeURIComponent(o)):"")),start:(e,t)=>r("/sessions/".concat(e,"/start"),{method:"POST",body:JSON.stringify({mode:t})},{timeoutMs:12e4}),startFailures:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return r("/start/failures".concat(e?"?unanswered=1":""))},startFailureUrl:e=>i("".concat(a,"/start/failures/").concat(encodeURIComponent(e),"/report")),terminalUrl:()=>i("".concat(a,"/terminal")),homeExportUrl:e=>i("".concat(a,"/home/export").concat(e?"?runs=1":"")),homeExportSize:()=>r("/home/export/size"),stop:e=>r("/sessions/".concat(e,"/stop"),{method:"POST",body:"{}"}),pause:e=>r("/sessions/".concat(e,"/pause"),{method:"POST",body:"{}"}),resume:e=>r("/sessions/".concat(e,"/resume"),{method:"POST",body:"{}"}),approvals:e=>r("/approvals".concat(e?"?session=".concat(encodeURIComponent(e)):"")),workspace:()=>r("/workspace"),newBranchPreview:e=>r("/workspace/new-branch/preview",{method:"POST",body:JSON.stringify({fetch:e})},{timeoutMs:null}),newBranchCreate:(e,t,o)=>r("/workspace/new-branch",{method:"POST",body:JSON.stringify({name:e,carry:t,fingerprint:o})},{timeoutMs:null}),queue:()=>r("/queue"),setQueue:e=>r("/queue",{method:"PUT",body:JSON.stringify({items:e})}),runQueue:()=>r("/queue/run",{method:"POST",body:"{}"}),stopQueue:()=>r("/queue/stop",{method:"POST",body:"{}"}),setQueueSettings:e=>r("/queue/settings",{method:"PUT",body:JSON.stringify({parkAfterSec:e})}),answerParked:(e,t)=>r("/queue/items/".concat(encodeURIComponent(e),"/answer"),{method:"POST",body:JSON.stringify(t)}),workspaceFiles:()=>r("/workspace/files"),workspaceSearch:(e,t)=>r("/workspace/search?".concat(new URLSearchParams({q:e,case:t.matchCase?"1":"",word:t.wholeWord?"1":"",regex:t.regex?"1":"",include:t.include,exclude:t.exclude}).toString())),workspaceFile:e=>r("/workspace/file?path=".concat(encodeURIComponent(e))),saveWorkspaceFile:(e,t,o)=>r("/workspace/file",{method:"PUT",body:JSON.stringify({path:e,text:t,...o?{base:o}:{}})}),workspaceGit:()=>r("/workspace/git"),workspaceBranch:e=>r("/workspace/git/branch".concat(e?"?base=".concat(encodeURIComponent(e)):"")),workspaceGitCounts:e=>r("/workspace/git/counts".concat(e?"?base=".concat(encodeURIComponent(e)):"")),workspaceCommit:e=>r("/workspace/git/commit?sha=".concat(encodeURIComponent(e))),workspaceGitFile:(e,t,o)=>r("/workspace/git/file?area=".concat(e,"&path=").concat(encodeURIComponent(t)).concat(o?"&commit=".concat(encodeURIComponent(o)):"")),chatThreads:()=>r("/chat/threads"),chatSend:(e,t,o,a,n,s,i,h,d,l)=>r("/chat",{method:"POST",body:JSON.stringify({text:e,...t?{threadId:t}:{},...o?{model:o}:{},...a?{manualModel:!0}:{},...n?{lang:n}:{},...s?{planMode:!0}:{},...void 0!==i?{review:i}:{},...h?{lead:!0,...h.workerManualModel?{workerManualModel:!0}:h.workerModel?{workerModel:h.workerModel}:{}}:{},...d?{skill:d}:{},...l?{reviewModel:l}:{}})}),answerQuestion:(e,t,o)=>r("/approvals/".concat(e,"/answer"),{method:"POST",body:JSON.stringify(void 0===o?{text:t}:{text:t,ran:o})}),answerRetry:(e,t)=>r("/approvals/".concat(e,"/retry"),{method:"POST",body:JSON.stringify({choice:t})}),chatRetrySubtask:(e,t,o,a)=>r("/chat/".concat(e,"/tasks/").concat(t,"/retry-subtask"),{method:"POST",body:JSON.stringify({n:o,fresh:a})}),chatRewind:(e,t)=>r("/chat/".concat(e,"/rewind"),{method:"POST",body:JSON.stringify({taskId:t})}),sessionEvents:e=>r("/sessions/".concat(e,"/events")),decidePlan:(e,t,o)=>r("/approvals/".concat(e,"/plan"),{method:"POST",body:JSON.stringify({action:t,...(null==o?void 0:o.trim())?{note:o}:{}})}),decide:(e,t)=>r("/approvals/".concat(e),{method:"POST",body:JSON.stringify({action:t})}),browseFolder:e=>r("/browse-folder",{method:"POST",body:JSON.stringify({start:e})},{timeoutMs:null}),setHome:(e,t)=>r("/home",{method:"PUT",body:JSON.stringify({dir:e,copy:t})}),activity:()=>r("/activity"),kerrigan:(e,t)=>r("/kerrigan?lang=".concat(encodeURIComponent(e)).concat(t?"&skill=".concat(encodeURIComponent(t)):"")),taskExchangeUrl:(e,t)=>i("".concat(a,"/sessions/").concat(encodeURIComponent(e),"/tasks/").concat(encodeURIComponent(t),"/exchange")),project:()=>r("/project"),setProject:e=>r("/project",{method:"PUT",body:JSON.stringify(e)}),skills:()=>r("/skills"),setSkills:e=>r("/skills",{method:"PUT",body:JSON.stringify({skills:e})}),models:()=>r("/models"),setDefaultModel:e=>r("/models/default",{method:"PUT",body:JSON.stringify({model:e})}),setDefaultLeadModel:e=>r("/models/lead-default",{method:"PUT",body:JSON.stringify({model:e})}),setDefaultReviewModel:e=>r("/models/review-default",{method:"PUT",body:JSON.stringify({model:e})}),refreshModels:()=>r("/models/refresh",{method:"POST",body:"{}"},{timeoutMs:null}),login:e=>r("/login",{method:"POST",body:JSON.stringify({account:(null==e?void 0:e.trim())||void 0})},{timeoutMs:null})}},39051:(e,t,o)=>{o.r(t),o.d(t,{en:()=>a});let a={"nav.label":"Main","nav.live":"live","nav.liveTitle":"The chat is working right now. Open it to watch.","nav.system":"System","nav.workbench":"Chat","nav.queue":"Queue","chat.askRun":"Run","chat.askRunAll":"Run this and the rest","chat.askSkip":"Skip","chat.askTitle":"Run this command?","chat.changed":"{n} file(s) changed:","chat.example1":"Explain how this project is laid out and how to run its tests.","chat.example2":"Run the tests and fix what fails.","chat.example3":"Add a README section that says how to start the project locally.","chat.exit":"exit {code}","chat.input":"Message to the chat","chat.lookAbove":"Waiting for an answer on the card at the top.","git.title":"Git","git.refresh":"Read the folder's git again","git.noFolder":"No project folder is open.","git.notRepo":"The project folder is not a git repository.","git.upstream":"{name}: {ahead} ahead, {behind} behind","git.branch":"On this branch","git.against":"Compared with","git.againstWhy":"The branch a pull request of this one would go into: the files are compared from where this branch left it. Kept for this folder.","git.branchCounts":"Commits: {ahead} ahead, {behind} behind","git.branchFiles":"Files: {files}","git.filter":"Which files","git.filterAll":"All {n}","git.filterCommitted":"Committed {n}","git.filterUncommitted":"Not committed {n}","git.badgeUncommitted":"Files not committed: {n}","git.badgeBranch":"Files changed on this branch, compared with {base}: {n}","git.legend":"has changes not committed yet","git.allCommitted":"Everything is committed.","git.noneCommitted":"Nothing of it is committed yet.","git.noBranchChanges":"Nothing has changed on this branch against {base}.","git.moreFiles":"The first {n} files are shown.","git.inCommits":"in the branch's commits","git.uncommitted.staged":"not committed: staged","git.uncommitted.changes":"not committed: not staged","git.uncommitted.untracked":"not committed: not tracked by git yet","git.uncommitted.mixed":"not committed: staged, and changed again since","git.problem.noCommon":"This branch and {base} have no commit in common.","git.problem.noBase":"There is no other branch to compare this one with.","git.problem.noCommit":"There is no commit yet.","git.branchStart":"The branch starts here: it left {base} at {sha}","git.onBranch":"a commit of this branch","git.againstBase":"against {base}, where the branch left it","git.staged":"Staged changes","git.changes":"Changes","git.noChanges":"Nothing has changed since the last commit.","git.commits":"Commits","git.noCommits":"No commits yet.","git.commitFiles":"The files of {sha}","git.more":"The newest {n} are shown.","git.workingTree":"Working tree","git.index":"Index","git.status.M":"modified","git.status.A":"added","git.status.D":"deleted","git.status.R":"renamed","git.status.C":"copied","git.status.T":"type changed","git.status.U":"untracked","git.status.conflict":"in conflict","copy.copy":"Copy","copy.copied":"Copied","copy.failed":"Not copied","chat.foldOpen":"Show the whole message","chat.foldClose":"Fold the message to its first lines","chat.copyMessage":"Copy your message","chat.copyReply":"Copy what the chat said","chat.copySummary":"Copy how it ended","chat.copyCommand":"Copy the command and what it printed","chat.copyQuestion":"Copy the question","chat.copyAnswer":"Copy the answer","chat.copyEvidence":"Copy the evidence","chat.copyAsked":"Copy what is asked about","chat.copyCard":"Copy what the card says","lead.copyList":"Copy the list of subtasks","chat.newChat":"New chat","chat.newChatWhy":"The next message starts a new conversation in Copilot, with nothing of this one in it. This one stays in the list, to go back to.","chat.newChatRunning":'A task is running. "New chat" comes on once it stops: press "Stop", or close the Copilot browser window.',"chat.newChatFresh":"This is a new chat already: write the first message below and it begins.","chat.exchange":"⤓ JSON","chat.exchangeWhy":"Everything between the bot and Copilot for this message, as a JSON file: every message sent, every reply, every command that ran with its whole output and exit code.","chat.newThread":"New conversation","chat.rename":"Rename the conversation","chat.renameLabel":"The conversation's name","chat.renameSave":"Save the name","chat.renameCancel":"Cancel","chat.notStarted":"It did not start: {reason}","chat.noted":"Added to what it is doing: it gets this with its next report.","chat.openFolder":"Open a folder","chat.placeholder":"Ask for a change in {folder}… (Enter sends, Shift+Enter a new line)","chat.placeholderNoFolder":"Open a folder first","chat.placeholderRunning":"Add to what it is doing… it gets this with its next report","chat.queued":"Waiting to start.","chat.running":"running…","chat.send":"Send","chat.sendNote":"Add to it","chat.sendWhy":"Enter","chat.stop":"Stop","chat.stoppingNow":"Stopping","chat.review":"Review","chat.reviewWhy":"When Copilot says the work is done, a conversation of its own checks it — reads the changes, runs the checks — and sends back what it finds, until it passes or the review rounds in Settings are spent. On unless you untick it. Of this conversation, or of the next one.","chat.lead":"Two chats","chat.leadWhy":"A lead and a worker, for a task too big for one go: your message goes to a lead, which restates it to check it understands it, has a worker look at the project, plans, gives the worker one subtask at a time and judges what it reports, until the result is ready in the form you asked for. The worker runs the commands. Both are conversations in the same Copilot window. Say clearly what you want, and in which form you want the result. For a new conversation; a started one keeps how it began.","chat.leadModel":"Lead","chat.workerModel":"Worker","chat.workerSameModel":"The lead's model","chat.workModel":"Work","chat.reviewModel":"Review","chat.reviewModelDefault":"As in Settings ({model})","chat.reviewModelByHand":"Chosen by hand in Copilot (none in Settings)","chat.reviewModelWhy":"The model the review's conversation is put on. Best a different, stronger one than the work's: a second pair of eyes that does not think like the first catches more. Chosen here, it is this conversation's; otherwise the one in Settings → Model for the review.","lead.who":"The lead","lead.understood":"The lead understands the task as","lead.plan":"The lead's plan (version {v})","lead.subtask":"Subtask {n}: {title}","lead.readOnly":"reads only","lead.fresh":"a new worker","retry.title":"Subtask {n} did not finish","retry.attempt":"Attempt {k} of {m}","retry.retrying":"Retry {k} of {m}","retry.doneAt":"Done at attempt {k}","retry.same":"Try again","retry.fresh":"Try with a new worker","retry.accept":"Accept as failed","retry.continue":"Continue from the current state","retry.restore":"Restore the snapshot","retry.restoreConfirm":"The folder is put back as it was when this subtask began; how it is now is kept as a snapshot, so nothing is lost. Then the subtask is tried again. Restore it?","retry.unknown":"The subtask was interrupted after a possible change. Choose whether to continue from the current state or to restore the snapshot.","retry.changed":"Files changed so far: {files}","retry.reason":"Reason: {reason}","retry.catTransient":"The chat broke off","retry.catCommand":"A command could not be run","retry.catEvidence":"The work was not done","retry.catStopped":"Stopped","retry.catUnknown":"Not known what changed","retry.earlier":"Earlier attempts ({n})","retry.continued":"carried on from the current state","retry.restored":"from the snapshot","retry.byAfterStop":"after Stop","retry.commands":"commands: {started} started, {completed} finished","retry.repoChanged":"the folder changed","retry.repoSame":"the folder did not change","retry.repoUnknown":"not known whether the folder changed","retry.afterStop":"Try this subtask again","retry.afterStopWhy":"The message was stopped, and this subtask did not finish. It is not tried again by itself; you can try it again, from the folder as it is now, with the lead's plan and the subtasks done kept.","retry.notStarted":"The subtask could not be tried again now.","lead.thinking":"The lead is deciding the next step…","lead.working":"The worker is on subtask {n}…","lead.workingOn":"The worker is on “{title}”…","lead.givenAs":"given to the worker as subtask {n}","lead.subtasks":"Subtasks used: {n} of at most {max}","lead.phase":"Phase {n} of {total}: {title}","lead.subtaskOf":"Subtask {n} of {total} planned","lead.doneOf":"{done} of {total} planned subtasks done","lead.left":"{left} to go \xb7 at most {max} allowed","lead.stuck":"{n} blocked or failed","lead.ledgerFirst":"Subtasks in the plan: {n}","lead.ledgerChanged":"The plan was updated (version {v}): {what}","lead.ledgerAdded":"+{n} new","lead.ledgerRemoved":"−{n} dropped","lead.ledgerReordered":"a new order","lead.ledgerList":"The subtasks of the plan (version {v})","lead.todo.done":"done","lead.todo.running":"in progress","lead.todo.planned":"planned","lead.todo.blocked":"blocked","lead.todo.failed":"failed","lead.todo.stopped":"stopped","lead.otherPhase":"Other","lead.question":"The lead asks you","chat.question":"The chat asks you","chat.optionRuns":"runs: {cmd}","chat.optionRecommended":"Recommended by the chat","lead.answer":"Your answer","lead.answerPlaceholder":"Write your answer, or choose one of the options above.","lead.send":"Send the answer","ho.title":"Run this yourself","ho.intro":"The bot does not run a script written during the work: you do. Run these lines in your own terminal, in this folder, and send back what they printed.","ho.folder":"In the folder","ho.outside":"This folder is outside the project: check it before you run anything there.","ho.commands":"The commands, in order","ho.copyCommands":"Copy the commands","ho.expect":"What you should see","ho.warn":"The bot itself would refuse these lines. Read them before you run anything:","ho.files":"read it before you run it","ho.sha":"SHA-256: {hash}","ho.cut":"Only the first 64 KB are shown; the SHA-256 is of the whole file.","ho.copyFile":"Copy the script","ho.output":"What it printed","ho.outputPlaceholder":"Paste here what the commands printed","ho.send":"Send what it printed","ho.notRun":"I did not run it","ho.notRunWhy":"Tells the chat you did not run the commands, with what you wrote above as the reason, if anything.","approval.inChat":"The chat asks you something","approval.inChatWhy":"It is answered in the conversation, where its card is whole.","approval.openChat":"Open the chat ({name})","lead.stop":"Stop the task","lead.stopConfirm":"Stop this task at the lead's question? It ends as stopped; what was done so far stays.","lead.answered":"You answered","lead.evidence":"What shows it","chat.pause":"Pause","chat.pauseWhy":"Holds the work where it is: a reply Copilot is writing and a command that is running are let finish, then nothing more is sent to Copilot and no other command runs until you press Continue. The conversation and the browser window stay as they are, and the time paused does not count against the time limit.","chat.resume":"Continue","chat.resumeWhy":"Goes on with the work from where it was paused.","chat.pausedNote":"Paused: nothing is sent to Copilot and nothing runs until you press Continue.","chat.passwordWaiting":"Git asks for a password in its own window — it may be behind this one. Type it there: it goes straight to Git, the bot never reads it, and nothing is kept. The work waits for it and then goes on; Cancel in that window ends the command.","chat.stopping":"Stopping… An answer Copilot is writing is waited for first; then nothing more is sent.","chat.rewind":"Go back to before this message","chat.rewindConfirm":"Put the folder back exactly as it was before this message, and take it and what came after it out of the conversation ({n} message(s))? The folder as it is now is kept in a safety copy in git.","chat.rewound":"Back to before that message: the folder is as it was then, and the message is in the box to send again or change.","chat.model":"Model","chat.modelDefault":"As in Settings ({model})","chat.modelByHand":"Set the model by hand","chat.readModels":"Read the latest models from Copilot","chat.modelsReading":"Reading the models from Copilot… (the browser opens for a moment)","chat.modelsRead":"The list of models is the one Copilot offers now.","chat.thread":"Conversation","chat.turn":"Message: {text}","chat.waitingTurn":"Waiting for the message before it to finish.","chat.welcome":"Ask for a change in {folder}","chat.welcomeWhy":"Copilot answers with commands; they run here in {dir}, on the branch it is on ({branch}), and their output goes back to it, until it is done. The folder is kept before each message: you can go back to any of them.","chat.working":"Working… message {n}","wb.fileOnDisk":"{path} — as it is on disk, read-only","wb.welcomeChat":"The open folder is {dir}. Write in the chat what to change: Copilot runs commands here until it is done.","wb.binary":"binary","wb.chatPanel":"Chat","theme.system":"System","wb.appearance":"Appearance: theme and text","ap.smaller":"Smaller text","ap.larger":"Larger text","wb.terminalInfoLabel":"What the Terminal shows","wb.terminalInfo":"Every command Copilot had run for the latest message of the conversation open in the chat, in the order they ran: the command, how it ended (its exit code) and everything it printed. While the message is being worked on, it follows the newest command.\n\nNothing is typed here: it shows what ran on this machine, in the open folder. A new chat starts it empty.","wb.problemsInfoLabel":"What the Problems show","wb.problemsInfo":'What did not go well in the conversation open in the chat: a message that ended unfinished, stopped or at a limit, and why; a check that did not pass. Press one to bring its message into view in the chat.\n\n"Seen" takes a problem off the list and the count, in this browser only; the message itself keeps it. The number on the tab counts the ones not seen yet.',"wb.outputInfoLabel":"What the Output shows","wb.outputInfo":"The bot's own log of the conversation open in the chat, newest at the bottom, each line with its time: the browser opening and the sign-in, the model, each message sent to Copilot and its answer arriving, the commands asked for and run, a stop, an error.\n\nRed lines are errors, yellow ones warnings. It is what to read when something did not go as expected.","wb.pickChat":"Write a message in the chat: what it runs shows here.","wb.problemShow":"Show its message in the chat","wb.cmdThread":"Open the conversation “{name}” in the chat","kerrigan.button":"Kerrigan","kerrigan.menu":"Kerrigan: save or copy","kerrigan.save":"Save as a file","kerrigan.copy":"Copy to the clipboard","kerrigan.saved":"Saved as {name}. Give it to a chat at the start of a conversation.","kerrigan.copied":"Copied ({n} characters). Paste it at the start of a conversation with a chat of your choice.","kerrigan.copyFailed":'The browser would not copy it. Use "Save as a file" instead.',"kerrigan.failed":"Kerrigan could not be read: {reason}","kerrigan.infoLabel":"What is Kerrigan?","kerrigan.skillWhy":"A skill chosen here goes with Kerrigan's text when you save or copy it: its name, what it is for and its instructions whole, and she writes the tasks of its kind to go with it. It is the same choice as the Skill under the chat's box: chosen in one, it changes in the other. Sending a message with it lets it go in both.","kerrigan.info":'Kerrigan is a helper you may use or not. The button gives you a text — a persona — to paste at the start of a conversation with any chat you like: Microsoft Copilot, ChatGPT or another. With it, that chat knows what copilot-operator is and how it works, knows your projects with the level 2 you write for each in Settings, and helps you write a task for it: what to ask for in one message, which files and folders to name, how to say what "done" looks like and how to check it, what to leave alone. When something in the program is unclear, it explains it and leads you through it until the task is done.\n\nYou then copy the message it helped you write into the chat here. The chat here does not need Kerrigan and works just as well without her; this button sends nothing anywhere.',"kerrigan.aboutTitle":"What Kerrigan is","kerrigan.aboutWhat":"A text you give to another chat — Microsoft Copilot, ChatGPT or any other — at the start of a conversation. With it, that chat knows copilot-operator and your projects, and helps you prepare the work for the chat here.","kerrigan.aboutUses":"Use it to:","kerrigan.aboutUse1":"turn an idea into a clear task: what to ask for in one message, which files to name, what “done” looks like and how to check it;","kerrigan.aboutUse2":"split a big piece of work into tasks the bot can do one after another;","kerrigan.aboutUse3":"ask how something here works — a setting, a card, why a run stopped.","kerrigan.aboutHow":"How: {button} ▾ → “{copy}” (or “{save}”), paste it into the other chat, then bring the task you wrote together back here.","kerrigan.aboutNote":"Optional: the chat here works just as well without Kerrigan, and nothing is sent anywhere.","nav.appearance":"Appearance","ap.systemCursor":"The system's cursor","ap.night":"Night light","chat.planMode":"Plan mode","chat.planModeWhy":"Copilot first looks at the project without changing anything and proposes a plan; the work starts once you approve it here.","chat.planShown":"The approved plan (version {v})","ed.save":"Save","ed.revert":"Undo my changes","ed.saved":"Saved.","ed.clean":"No changes","ed.unsaved":"Not saved","ed.language":"Language","ed.langAuto":"Automatic ({name})","ed.label":"The text of {path}","ed.loading":"Opening the editor…","ed.failed":"The editor could not be opened: {reason}","ed.changedOnDisk":"The file changed on disk after you opened it (the chat, or another program, changed it).","ed.reload":"Read it again (my changes are lost)","ed.saveOver":"Save over it","ed.closeUnsaved":'"{name}" has changes that are not saved. Close it and lose them?',"wb.chatTab":"Chat","actor.plan":"Plan mode","actor.lead":"Lead","actor.worker":"Worker","actor.review":"Reviewer","actor.planInfo":"The chat is writing its plan. Nothing is changed until the plan is approved.","actor.leadInfo":"The lead of the two chats: decides the next subtask and reads the worker's reports.","actor.workerInfo":"The chat that does the work: runs the commands and changes the files.","actor.reviewInfo":"The independent reviewer: checks the work in a conversation of its own.","actor.asks":"Asked by: {who}","actor.now":"At work: {who}","actor.subtask":"subtask {n}","actor.round":"round {n}","wb.live":"LIVE","wb.liveWho":"The bot is working — {who}","wb.livePlain":"The bot is working","wb.livePaused":"The bot is paused","chat.you":"You","chat.youN":"Your message {n}","wb.closeTab":"Close {name}","wb.cmdChat":"Write in the chat","wb.cmdCommits":"Show Git: the changes and the commits","wb.cmdFiles":"Show the repository’s files","wb.cmdGo":"Go to: {page}","wb.cmdPanel":"Show or hide the panel","wb.cmdProblems":"Show the problems","wb.cmdSide":"Show or hide the explorer","wb.editor":"Editor","wb.explorer":"Explorer","wb.files":"Files","wb.idle":"Nothing is running","wb.keys":"Ctrl+K: find anything \xb7 Ctrl+B: explorer \xb7 Ctrl+J: panel \xb7 Ctrl+L: write to the chat","wb.loading":"Reading…","wb.modelDefault":"the chat’s default model","wb.modelNow":"The model the session runs on","wb.noEvents":"Nothing has happened in this session yet.","wb.noProblems":"No problems in this session.","wb.problemSeen":"Seen","wb.problemSeenWhy":"Takes it off the list and the count, in this browser. It is still on its task, and shows again if a later run of the task has it again.","wb.problemsAllSeen":"Seen all","wb.problemsShowSeen":"Show the {n} seen","wb.problemsHideSeen":"Hide the seen","wb.problemsNoneNew":"Nothing new: every problem here has been seen.","wb.newChatTerminal":"A new chat: its commands show here once it runs.","wb.newChatProblems":"A new chat: nothing has gone wrong in it.","wb.newChatOutput":"A new chat: what it does shows here once it runs.","wb.noSteps":"This task ran no commands yet.","wb.noTabs":"Open a file from the explorer.","wb.openRunning":"Show the conversation that is running in the chat","wb.openTabs":"Open tabs","wb.output":"Output","wb.palette":"Find a command, a page or a conversation","wb.paletteNone":"Nothing found.","wb.palettePlaceholder":"Type to find…","wb.paletteWhy":"Every command, page and conversation of the chat, by a few letters (Ctrl+K)","wb.panel":"Panel","wb.problems":"Problems","wb.refresh":"Read again","wb.resize":"Drag to resize","wb.runningLine":"{session} › {task} \xb7 message {n}/{max} \xb7 {m}/{maxm} min","wb.pausedTag":"paused","wb.runningNow":"running…","wb.status":"Status","wb.terminal":"Terminal","wb.move":"Move {name}","wb.moveWhy":"Drag it onto another panel and the two swap places, or click to choose where it goes.","wb.moveLeft":"To the left","wb.moveCenter":"To the middle","wb.moveRight":"To the right","wb.dropHere":"Drop here: the two swap places","wb.cmdResetLayout":"Put the panels back where they were","wb.search":"Search (Ctrl+Shift+F)","wb.cmdQuickOpen":"Go to File…","wb.cmdSearch":"Search in files","search.title":"Search","search.input":"Search","search.matchCase":"Match Case","search.wholeWord":"Match Whole Word","search.regex":"Use Regular Expression","search.details":"Toggle Search Details","search.include":"files to include","search.exclude":"files to exclude","search.includePlaceholder":"e.g. *.ts, src/**","search.excludePlaceholder":"e.g. *.min.js, dist","search.refresh":"Refresh","search.clear":"Clear Search Results","search.collapse":"Collapse All","search.expand":"Expand All","search.searching":"Searching…","search.results":"{n} results in {files} files","search.truncated":"The result set only contains a subset of all matches. Be more specific in your search to narrow down the results.","search.none":"No results found.","search.problem":"The search could not run: {why}","quick.label":"Go to File","quick.placeholder":"Search files by name (append : to go to line)","quick.none":"No matching results","quick.recent":"recently opened","ed.view":"How the Markdown file is shown","ed.viewWhy":"A Markdown file as its text to edit, side by side with how it reads, or as it reads (Ctrl+Shift+V).","ed.viewCode":"Code","ed.viewSplit":"Side by side","ed.viewPreview":"Preview","md.externalImage":"A picture from the internet is not loaded here; it opens in a tab of its own: {url}","md.mermaidError":"This diagram could not be drawn: {why}","md.mermaidLoading":"Drawing the diagram…","wb.toggleChat":"Show or hide the chat","wb.tooLarge":"Too large to show.","wb.viewCommits":"Git","wb.viewFiles":"Files","wb.views":"Views","wb.waiting":"{n} waiting for you","wb.welcome":"Welcome","wb.welcomeWhy":"Open a folder: the chat works in it, and its files and git are in the explorer.","dialog.confirmTitle":"Are you sure?","dialog.noticeTitle":"Notice","dialog.ok":"OK","dialog.cancel":"Cancel","exec.title":"Execution","exec.intro":"How a task runs: how long it may go on, what happens at a limit, and what may run without you. Saved in data/settings.json; applies to tasks started from now on.","exec.maxIterations":"Most messages to the chat in one task","exec.maxIterationsUnit":'messages, then the task stops as "limit reached"',"exec.maxIterationsWhy":"A safety stop for a task that goes round in circles. One message is one round: Copilot sends commands, the bot runs them and reports the results back. When a task has used this many rounds, it stops as “limit reached”.\n\nIt does not throw the work away: the task can go on in the same chat — by itself if “Keep going after a limit” allows it, or with your next message. Nor does it decide how fast messages go: that is the pause below, and a cap of 60 messages an hour, which waits rather than stops.\n\nDefault: 60. Raise it for long tasks; lower it to notice a stuck task sooner.","exec.maxSubtasks":"Most subtasks the lead may give","wb.runningLineTwo":"{session} › {task} \xb7 messages: lead {lead}, worker {worker}, {total} in all \xb7 {m}/{maxm} min","lead.messages":"Messages: lead {lead} \xb7 worker {worker} \xb7 {total} in all","exec.gap":"Pause between messages","exec.gapWhy":"Makes the bot wait between messages to Copilot instead of sending them one right after another. Ticked, every message waits until at least the time below has passed since the previous one — in any conversation, the lead's and the worker's included.\n\nUseful when your organisation limits how often Copilot may be used, or simply to go slower. The work takes longer by as much.\n\nOff by default: a message goes as soon as it is ready, still at most 60 an hour.","exec.gapSec":"At least","exec.gapSecWhy":"The shortest wait between two messages, in seconds. 60 means at most one message a minute; 120, one every two minutes.\n\nDefault: 60.","exec.gapUnit":"seconds","exec.gapRandom":"Random time","exec.gapRandomWhy":"Ticked, each wait is a different, random time between “At least” above and “At most” below — anywhere between 60 and 90 seconds, say — instead of always the same, so the messages do not come at a regular beat.\n\nOff by default: every wait is exactly “At least”.","exec.gapMax":"At most","exec.gapMaxWhy":"The longest random wait, in seconds. It is never less than “At least”; with the two the same, every wait is that time.\n\nDefault: 90.","exec.maxSubtasksUnit":"subtasks for one message with two chats","exec.maxSubtasksWhy":"Only for a conversation with “Two chats”. The lead splits your message into subtasks and gives them to the worker one at a time; each subtask is a task of its own, with the limits above. This is how many subtasks one message may have in all.\n\nWhen they run out, the lead is told to stop giving new ones and to deliver what has been done so far. It keeps a big request from growing without end.\n\nDefault: 20. Applies to messages sent from now on.","exec.maxRunMinutes":"Longest a task may run","exec.maxRunMinutesUnit":"minutes","exec.maxRunMinutesWhy":"The longest one task may take, in minutes, counted from its first message — waiting for replies and running commands included. The time it is paused is not counted: from “Pause” under the chat to “Continue”, the clock stands still, and so do the minutes in the bar along the bottom. When the time is up, the task stops as “limit reached”.\n\nLike the limit above, it is a safety stop, not the end of the work: the task can go on in the same chat, by itself if “Keep going after a limit” allows it, or with your next message, and the time is counted again for that go.\n\nDefault: 240 (4 hours).","exec.replyTimeout":"How long to wait for a reply from the chat","exec.replyTimeoutUnit":"seconds (900 = 15 minutes)","exec.maxMessageChars":"Longest message to the chat as text","exec.maxMessageCharsUnit":"characters, the rest attached as a file","exec.maxMessageCharsWhy":"The most characters the bot sends to Copilot in one message as typed text. Every message it writes is checked against it — the instructions, a task with its notes, a report, the review's, the lead's.\n\nA longer message is not cut off: its beginning goes as text, said to be only the beginning, and the whole of it goes with it as an attached text file for Copilot to read; the run's log says so.\n\nLower it if Copilot refuses or cuts long messages; raise it if your Copilot takes more.\n\nDefault: 120000.","exec.replyTimeoutWhy":"How long the bot waits for Copilot to finish writing one reply, from the moment the message is sent. Slow models and long answers can take several minutes.\n\nA reply not finished in time stops the task as failed (“Copilot did not finish a reply within …”), with a screenshot of the chat kept in the run's folder; “Keep going after a limit” can carry it on.\n\nDefault: 900 seconds (15 minutes). Raise it if your model often needs longer. Applies to runs started from now on.","startdlg.title":"Where the work starts","pm.copyPlan":"Copy the plan","pm.cardTitle":"Plan for “{title}”, waiting for approval","pm.cardWhy":"Nothing has been changed yet. The work starts once you approve this plan.","pm.note":"Note for the chat (optional when approving; says what to change when asking for another plan)","pm.notePlaceholder":"e.g. Keep the old endpoint working; do not touch the migrations.","pm.approve":"Approve and start the work","pm.revise":"Ask for another plan","pm.reviseWhy":"The chat makes a new plan with your note; the same card comes back with it.","pm.reviseNeedsNote":"Say in the note what the new plan should change.","pm.stop":"Stop the task","pm.stopConfirm":"Stop this task without doing the work? It ends as stopped and can be run again.","pm.version":"Plan version {n}, {at}","pm.approvedByOperator":"Approved by the operator, {at}.","pm.approvedAuto":"Approved by the runner, {at}.","pm.approvedNote":"Note: {note}","pm.existing":"Already there","pm.approach":"Approach","pm.steps":"Steps","pm.files":"Files it expects to change","pm.verification":"How it will show the work is done","pm.risks":"Risks","pm.revisions":"Earlier versions, and what was asked to change","pm.revision":"Version {n} ({at}):","startfail.laterSession":"A session of a run that was going could not begin:","startdlg.goStep":"Start, asking before each command","startdlg.goUnattended":"Start without asking","startfail.title":"The work did not start","startfail.where":"Where it stopped: {stage}.","startfail.stage.refused":"the start was not let in, before anything opened","startfail.stage.branch":"the branch chosen to start from","startfail.stage.preflight":"the version control check, before the browser opened","startfail.stage.browser":"opening the browser (Edge), its profile or the chat","startfail.stage.run":"the run, before its first task began","startfail.stage.at-turn":"this session's turn in the run, before its first task","startfail.stage.error":"the bot itself, while starting","startfail.when":"{when}, run {run}","startfail.whenNoRun":"{when}","startfail.download":"Download what happened (error, run record and terminal)","startfail.terminal":"Download what the terminal showed","startfail.downloadWhy":"A text file with the error, where it stopped, the run's own record, the sessions' events and every line the bot's console printed from the press to a few seconds after. Secret-shaped text is taken out.","startfail.dismiss":"Close this notice","startfail.later":"This run was accepted and then could not begin:","sys.terminalWhy":"The bot's console — what npm start or cop start printed — as a text file: the latest lines, each with its time, secret-shaped text taken out. Everything since the bot started is also in the data folder, logs\\terminal.log.","sys.export":"Export everything the bot keeps","sys.exportWhat":"One .zip of the bot's folder: settings, conversations, skills, level 2 templates and logs ({n} files, {size}). Left out: the API's key, which belongs to this machine, and the Edge profile, which holds your Microsoft 365 sign-in.","sys.exportRuns":"Every run's records too ({n} files, {size})","sys.exportButton":"Export (.zip)","exec.autoContinue":"Keep going after a limit","exec.autoContinueUnit":"times per task, then it stops and waits for you (0 = stop at the limit)","exec.autoContinueWhy":"What happens when a task reaches one of the limits below: too many messages, too long a run, no reply in time, replies in the wrong shape, too many rounds of fixing.\n\nWith 0, the task stops there and waits for you; a new message in the same conversation carries on from where it got to. With a number, the bot carries it on for you that many times, at once, in the same chat.\n\nExample: with 3, a task that runs out of messages goes on three more times; the fourth time it stops and waits for you. Every limit still applies to each go, so a task gets at most this number plus one of each.\n\nNever carried on by itself: a task you stopped, and a task that says it is blocked (it needs something it cannot get) — that one is tried in a fresh chat instead (see below) and then waits for you.\n\nDefault: 3.","exec.maxReviewRounds":"Rounds of fixing after a failed review","exec.maxReviewRoundsUnit":'rounds, then the task ends "blocked" with the review\'s findings',"exec.maxReviewRoundsWhy":"Only when “Review” is ticked under the chat. When the work is done, a second conversation reviews it. If it finds problems, they go back to the chat to fix, and the fixed work is reviewed again. This is how many times the work may be sent back.\n\nExample: with 2, the work can be sent back twice; if the third review still finds problems, the task ends “blocked”, with what the review found, for you to read.\n\n2 or 3 is usually enough: a problem that survives several fixes usually means the task needs to be worded differently, not another round.\n\nDefault: 2.","exec.minApproaches":"Approaches the chat must try before it may give up","exec.minApproachesUnit":'different approaches, then "blocked" is accepted',"exec.minApproachesWhy":"How hard the chat must try before it may say “I cannot do this”. When Copilot gives up on a task (it answers “blocked”), it has to list the different approaches it tried. If it lists fewer than this number, the bot sends it back: try another, different way first.\n\nExample: with 3, a chat that tried one fix and one workaround is asked for a third idea before its “blocked” is accepted.\n\nA higher number makes the chat try harder before it gives up, and costs more messages. So that it cannot go round for ever, three “blocked” answers in a row with nothing new tried are accepted anyway.\n\nDefault, and the lowest: 2.","exec.retryBlocked":"When a task ends blocked, run it again in a fresh conversation","exec.retryBlockedTimes":"times, then accept the verdict","exec.retryBlockedWhy":"When the chat gives up on a task (“blocked”), the cause may be the conversation itself: in a long chat, Copilot loses sight of what was said at its start. So the bot runs the same task again in a new, empty chat, with all its instructions sent again. This is how many times.\n\nIf the task then succeeds, the old chat was the problem. If it blocks again in the same way, the cause is real — the task, the project or the machine — and the bot stops trying; every attempt stays on the task's record.\n\n0 turns this off: a blocked task stops at once and waits for you.\n\nDefault: 2.","exec.isolation":"Where the bot runs","exec.isolationNone":"Nowhere in particular — this account","exec.isolationNoneAccepted":"This account — I accept unattended runs without isolation","exec.isolationAccount":"A separate low-privilege Windows account","exec.isolationSandbox":"Windows Sandbox","exec.isolationVm":"A virtual machine","exec.isolationWhy":"Where the commands Copilot writes run. They run with the rights of the Windows account the bot runs as: they can read and change whatever that account can. What you choose here decides whether a run may go on with nobody watching (“Run commands without asking” under “How commands run”, below).\n\nNowhere in particular — this account: the default. You can watch and approve every command, but a run with nobody watching is refused: nobody watching and nothing fencing the commands in is too risky.\n\nThis account — I accept unattended runs without isolation: runs with nobody watching are allowed here, on your responsibility; every run records that you accepted it.\n\nA separate low-privilege Windows account, Windows Sandbox, A virtual machine: choose the one you have set the bot up in; runs with nobody watching are then allowed.\n\nThis is your statement, not a check: the bot records it with every run, notes the Windows account it actually runs as, and warns when the two do not match.","exec.startMode":"How commands run","exec.startModeAsk":"Ask before each command","exec.startModeAuto":"Run commands without asking","exec.startModeWhy":"How the commands Copilot writes are run, for every message of the chat. It is chosen here, and only here.\n\nAsk before each command: the default. Each command waits on a card in the conversation, which says who asks: Run, Run this and the rest, or Skip.\n\nRun commands without asking: the commands run at once. Possible only when “Where the bot runs” above allows runs with nobody watching; otherwise the message does not start, and says why. Chosen, it asks you once to confirm.\n\nEither way, forbidden commands are still refused, and a command that downloads does what is chosen below. A change holds from the next message.","exec.modeAutoConfirm":"From the next message on, the commands Copilot writes run without asking you. Forbidden commands are still refused, and a command that downloads does what is chosen below. Run commands without asking?","exec.networkFetch":"A command that downloads, in a run without supervision","exec.networkFetchAsk":"Wait for me on the approval screen","exec.networkFetchRefuse":"Refuse it and tell the chat why — the run never waits","exec.networkFetchRun":"Run it without asking","exec.networkFetchWhy":"What happens, in a run with nobody watching, when Copilot writes a command that downloads something from the internet — Invoke-WebRequest, curl, wget and the like. A later step could run what was downloaded without anyone having read it, so this is the one thing such a run still stops for.\n\nWait for me on the approval screen: the default. The run pauses until you allow or refuse the command.\n\nRefuse it and tell the chat why: the command is not run; Copilot is told why and what to do instead (use the project's package manager, or write the file with a step). The run never waits.\n\nRun it without asking: the download runs. Choose it only on a machine where that is acceptable; every task records the choice.\n\nnpm, dotnet, pip and git are never held. When you approve commands one by one, you see every command anyway, whatever is chosen here.","approval.platform":"This command reaches {platform} with your access, so it is asked about in every run — one without asking too.","exec.questions":"Questions from the bot","exec.questionsAsk":"Ask me","exec.questionsAgree":"Agree with what the bot proposes","prog.title":"Programs the bot may start","prog.intro":"A command may start only the programs on this list; one that starts any other is refused, and the chat is told why. A program that reaches a platform with your access (Azure, AWS, GitHub and the like) waits on a card every time, or, where its commands can be read, is set to read only.","prog.platforms":"Programs that reach a platform with your access","prog.others":"Other programs","prog.modeAsk":"Ask me each time","prog.modeReadOnly":"Only for reference (read only)","prog.modeWhy":"Ask me each time: every command of the program waits on a card for you. Only for reference: commands that only look (list, show, query) run without asking; one that creates, changes, deletes, signs in or out, or shows a secret is refused, and one the bot cannot read waits on a card, even when Settings agree with what the bot proposes.","prog.removeOne":"Remove {name}","prog.removeConfirm":"Take {name} off the list? A command that starts it is then refused, and the chat is told why.","prog.removeOk":"Take it off","prog.lastWhy":"The last program stays: an empty list would let a command start any program.","prog.add":"Add a program","prog.addWhy":"Its name as a terminal takes it, without a folder: az, gh, kubectl. A program that can be used only for reference is added that way; the others that reach a platform ask you each time.","prog.addButton":"Add","prog.badName":"A program's name, without a folder or spaces: az, gh, kubectl.","prog.already":"{name} is already on the list.","prog.restore":"Put back the defaults","prog.restoreConfirm":"Put back the list the bot comes with? The programs you added are taken off, and none is read only any more.","prog.saved":"Saved: {n} programs.","prog.readOnlyNote":"Only for reference: you sign in yourself, with az login in your own terminal, and the bot uses that sign-in; it never sees your password and never signs in or out. The bot reads the command line, and a script could still go round it, so for a guarantee sign in with an account that has only the Reader role: then Azure itself refuses every change.","prog.locked":"A policy lock on this machine does not allow these, whatever the list says: {list}.","approval.readOnly":"This program is set to read only, and the bot could not tell that this command only reads: it may change something. Run it only if you are sure it only reads.","exec.questionsWhy":"What happens when the bot needs your word.\n\nAsk me: the default. A command that reaches a platform with your access — Azure, AWS, Google Cloud, GitHub, GitLab, Jira, Vercel, Netlify, Kubernetes, Terraform, publishing to a package registry and the like — waits on a card, even in a run without asking. A question from the chat or the lead waits on a card with its answers to click, and a field to write another.\n\nAgree with what the bot proposes: such a command runs, and each question is answered with the answer the chat recommends (the first it gives); the conversation says so each time. Forbidden commands are still refused, and downloads follow the choice above.","exec.questionsAgreeConfirm":"From the next message on, commands that reach platforms with your access run without asking you, and the bot's questions are answered with what it recommends. Agree with what the bot proposes?","exec.subRetryTitle":"Retrying an interrupted subtask","exec.subRetryIntro":"Only for conversations with “Two chats”. A subtask that ended for a technical reason — the chat's reply lost, a command that could not start — can be tried again under the same number, with the lead's plan and the subtasks done kept. A subtask you stopped, a refused command or work that was not done is never tried again by this.","exec.subRetryMode":"When a subtask fails for a technical reason","exec.subRetryModeWhy":"What is done with a subtask of “Two chats” that ended for a technical reason: the chat's reply did not come or broke off, the reply could not be read after the repairs, or a command could not be started.\n\nAsk me: the default. A card under the subtask says why it ended and which attempt it was, with “Try again”, “Try with a new worker” and “Accept as failed”.\n\nTry the same subtask again: again in the worker's conversation, after the wait below.\n\nTry again with a new worker: in a new conversation of the worker's, told what was done before it.\n\nDo not retry, let the lead decide: the lead gets the report, as before.\n\nWhen a command was cut off half way and what it changed is not known, nothing is tried again by itself: the card asks whether to carry on from the folder as it is or to put it back as it was when the subtask began. When the attempt changed files, the next one carries on from the folder as it is, and the commands that finished are not run again. Work the lead or the reviewer found not done, a refused command and Stop are never retried by this.","exec.subRetryAsk":"Ask me","exec.subRetrySame":"Try the same subtask again","exec.subRetryFresh":"Try again with a new worker","exec.subRetryLead":"Do not retry, let the lead decide","exec.subRetries":"Most technical retries","exec.subRetriesWhy":"How many more times one subtask may be tried after it ended for a technical reason: 0 to 3. With 2, a subtask has at most 3 attempts: “Attempt 1 of 3”, then “Retry 2 of 3” and “Retry 3 of 3”. The attempts are one subtask, not new ones: they do not count toward the most subtasks the lead may give.\n\nWhen they are spent, the lead gets the report of the last attempt and how the others ended.\n\nDefault: 2.","exec.subRetriesUnit":"times for one subtask","exec.subRetryWait":"Wait between retries","exec.subRetryWaitWhy":"How long the bot waits before it tries a subtask again by itself, so that a hiccup of the chat or the network can pass. Stop ends the wait.\n\nDefault: 15 seconds.","exec.subRetryWaitUnit":"seconds","exec.saved":"Saved. Applies to runs started from now on.","diff.open":"See the changes ({n} file(s))","diff.openWhy":"Every file this attempt changed, before on the left and after on the right, with the differences marked.","diff.title":'Changes in "{title}"',"diff.summary":"{n} file(s), +{a} −{r}","diff.keys":"n / p: next and previous change \xb7 ] / [: next and previous file \xb7 Esc: close","diff.close":"Close","diff.loading":"reading…","diff.nothing":"The commit changed no file.","diff.files":"Changed files","diff.binaryShort":"binary","diff.added":"new file","diff.deleted":"deleted","diff.renamed":"renamed","diff.prevChange":"Previous change","diff.nextChange":"Next change","diff.changeN":"change {i} of {n}","diff.prevFile":"Previous file","diff.nextFile":"Next file","diff.whole":"Show the whole file","diff.wrap":"Wrap long lines","diff.binary":"A binary file: its contents are not shown.","diff.tooLarge":"Over 2 MB: too large to show here.","diff.eol":"The line endings changed ({from} → {to}); the lines themselves are compared without them.","diff.sameText":"The text is the same; only the file mode or the line endings changed.","diff.before":"Before","diff.after":"After","diff.gap":"⋯ {n} unchanged line(s) — show them","scroll.top":"To the top of the page","scroll.bottom":"To the bottom of the page","sys.profileBot":"The bot's own Edge, for the work going on now ({n} process(es)). Nothing to do.","lang.label":"Language","lang.menu":"The language of the interface","a11y.skip":"Skip to the content","theme.light":"Light","theme.dark":"Dark","status.queued":"queued","status.running":"running","status.waiting-approval":"waiting for approval","status.done":"done","status.blocked":"not done","status.failed":"failed","status.aborted":"aborted","status.limit-reached":"limit reached","approval.title":"Step {n} is waiting for you","approval.modelTitle":"Choose the model — the bot could not","approval.manualTitle":"Choose the model for this run","approval.reviewModelTitle":"This is the model for the REVIEW","approval.reviewModelWhy":"A conversation of its own now checks the work. Choose a model different from the one the work was done with — a stronger one if you can: a second pair of eyes catches more mistakes when it does not think like the first.","approval.leadModelTitle":"This is the model for the LEAD","approval.leadModelWhy":"The lead understands the task, plans, directs the worker and judges what it reports: choose the strongest reasoning model you have.","approval.workerModelTitle":"This is the model for the WORKER","approval.workerModelWhy":"The worker runs the commands of each subtask and reports back: choose a model good at code and at following instructions.","approval.manualAsk":'In the Copilot window, open the model picker and choose "{model}". Then press "Ready — continue".',"approval.manualAskAny":'In the Copilot window, open the model picker and choose the model you want. Then press "Ready — continue".',"approval.manualReady":"Ready — continue","def.manualModel":"Choose the model by hand at the start of each run","def.manualModelWhy":'For the worker\'s conversation: the bot leaves the model picker alone. At the start of a run a card appears asking you to choose the model in the Copilot window and press "Ready"; the bot checks it and goes on. A conversation already on the model is not asked about — the chat keeps its model. On by default: turn it off to let the bot choose the model itself.',"approval.modelAsk":'In the Copilot window, open the model picker and choose "{model}". Then press the button below: the bot checks the picker and goes on.',"approval.modelShown":"The picker shows now: {shown}","approval.modelWhy":"Why the bot could not: {why} (asked {tries} time(s))","approval.modelChosen":"I chose it — check and continue","approval.modelAsItIs":"Continue on the model it is on","approval.modelStop":"Stop","approval.run":"Run","approval.runAll":"Run this and the rest without asking","approval.runAllWhy":"Answers this step with Run and stops asking for every step after it, for the rest of this run. Commands on the deny list are still refused, and a command that downloads from the internet does what Settings → Execution says (by default it still asks).","approval.runAllConfirm":"From here on, commands written by Copilot will run without asking, until this run ends. Commands on the deny list are still refused, and a command that downloads from the internet does what Settings → Execution says (by default it still asks). Continue?","approval.network":"This command downloads from the internet. A run that does not ask still stops for this one (unless Settings → Execution says otherwise), because a later step could run what arrived. Run it only if you know what it fetches and why.","approval.skip":"Skip","approval.abort":"Abort task","model.refresh":"Read the list from Copilot","model.refreshConfirm":"This opens the bot’s Edge window, reads the model picker and closes it again. It cannot run while a session is running. Continue?","model.refreshing":"opening the chat and reading the picker…","model.refreshed":"read {n} model(s) from the chat","model.readAt":"Read {t}: {n} option(s).","model.neverRead":"The list has never been read on this machine. Press the button to read it from the chat.","model.none":"The chat did not offer a model picker.","model.notInList":"{name} (saved, not in the list that was read)","model.unavailable":"not available","vcs.commit":"Commit when a task finishes","mirror.browse":"Browse…","checks.kind.exit-zero":"the command succeeds","sys.machine":"This machine","sys.loading":"Loading…","sys.version":"copilot-operator version","sys.node":"Node","sys.edge":"Edge","sys.edgeMissing":"not found","sys.profile":"The bot's Edge profile","sys.profileMissing":"(not created yet: run cop login)","sys.profileInUse":"Profile in use","sys.profileOwnWindow":"The bot's own chat window ({n} Edge process(es)): it stays open between messages, so the next one goes on in it. Nothing to do; you may close it.","sys.home":"The bot's folder","sys.homeHolds":"Its settings, conversations, logs and its Edge profile are kept here.","sys.homeFromDefault":"the default","sys.homeFromChosen":"chosen by you","sys.homeFromEnv":"set by COP_HOME","sys.homeFromCheckout":"the clone itself: its data and runs folders","sys.homeChange":"Change…","sys.homeReset":"Back to the default","sys.homeAsk":"Keep the bot's folder in {dir}?","sys.homeCopy":"Copy what is in it now — settings, conversations, logs and the Edge profile, so you stay signed in","sys.homeUse":"Use this folder","sys.homeSaved":"Saved. From its next start the bot keeps its folder in {dir}: close the bot (Ctrl+C where it runs) and start it again with cop start.","sys.homeNext":"From the next start: {dir}","sys.homeMoved":"The bot's records were copied here from {from} ({at}). That folder is no longer used: delete it when you like.","sys.profileHeld":"Another Edge has the bot's profile open ({n} process(es), pid {pids}): one started outside the bot, or left from an earlier start of it. The bot cannot open its browser while it is: close that Edge window, or end those processes in Task Manager.","sys.profileUnknown":"could not check","sys.profileFree":"free","sys.cwd":"Fallback folder for commands (a session runs in its own project folder)","sys.runs":"Runs folder","sys.data":"Data folder","sys.mode":"Default mode","sys.settings":"Settings","sys.settingsHint":"Read from {file}. It has the same shape as {example}; anything missing takes the default. Edit the file and start the bot again.","sys.asSaved":"As saved","sys.resolved":"Resolved paths","sys.signin":"Sign-in","sys.signinHint":"Signing in is done once, from the terminal, so that the bot never handles credentials:","ap.theme":"Theme","ap.size":"Text size","ap.sizeSmall":"Small","ap.sizeSmallest":"Smallest","ap.sizeVerySmall":"Very small","ap.sizeCompact":"Compact","ap.sizeNormal":"Normal","ap.sizeLarge":"Large","ap.sizeHuge":"Larger","ap.sizeGiant":"Largest","ap.contrast":"Higher contrast","ap.motion":"Less motion","ap.links":"Underline every link","ap.focus":"Thick focus outline","ap.reset":"Back to the defaults","nav.defaults":"Settings","def.title":"Settings","def.intro":"The folders the chat works in, the sign-in to Copilot, the models, and how a task runs. Each field has an ⓘ beside its name that says what it is for and how it helps.","def.autoSave":"Everything on this page saves itself as you change it. There is nothing to press.","info.about":"About “{name}”","l1.title":"The base prompt (level 1)","l1.readOnly":"read only","l1.what":"This text is for reading. It describes the agent Copilot becomes in the chat: it works through a task step by step with commands, reports what each one did, and takes every task to its end — done, or blocked with what it needs. It comes with the bot and changes only when the bot is updated. If something about the chat is unclear, Kerrigan (the button on the chat's home screen) can guide you through it until the task is done.","l1.show":"Show the whole text","l1.failed":"The base prompt could not be read: {reason}","proj.namePlaceholder":"the folder's own name","proj.nameSaved":"Name saved.","def.reviewTitle":"Model for the review","def.leadTitle":"Model for the lead","def.leadIntro":"The model the lead starts on — with “Two chats” ticked under the chat's box, the chat that plans the work and gives the worker its subtasks — unless one is chosen there.","def.leadInfo":"The model the lead's conversation starts on, chosen by the exact name Copilot's own model picker shows. Best a strong reasoning model: the lead understands the assignment, plans the work and judges the worker's reports. The list is the one read from Copilot last (“Read the list from Copilot”).\n\n“Leave the chat on whatever it is set to” chooses nothing for the lead: it starts on the worker's model above, as before there were two. A conversation that chose the lead's model under the chat's box keeps it.\n\nWith “Choose the model by hand at the start of each run” ticked here, a card asks you to choose the lead's model in the Copilot window, and says it is the lead's.","def.leadSaved":"The lead will start on {name}.","def.leadCleared":"Cleared. The lead starts on the worker's model.","def.leadManualWhy":"For the lead's conversation: the bot leaves the model picker alone. At the start of a run with two chats a card asks you to choose the lead's model in the Copilot window and press \"Ready\". Until it is set here, it is as the worker's.","def.reviewManualWhy":"For the review's conversation: the bot leaves the model picker alone. When a review opens, a card asks you to choose the review's model in the Copilot window and press \"Ready\". Until it is set here, it is as the worker's.","loc.title":"The model menu's locators","loc.intro":"How the bot finds the model menu in the Copilot window: the button that opens it, the rows it reads the names of the models from, and where it presses to choose one. Change them only when Copilot has changed its page and the bot can no longer read the list or choose a model. An empty field is the default, shown in grey. Each one is checked here before it is saved; the next run and the next reading of the list use it.","loc.howTitle":"How to find a locator","loc.how1":"Open Copilot in Edge yourself and open its model menu; for a provider's locators, open that provider's menu too (Claude, GPT…).","loc.how2":"Press F12, go to Elements, and press Ctrl+F there. Type a locator: under it Edge says how many elements it finds. The right one finds exactly the one row: 1 of 1.","loc.how3":"Write it for one name first, for example //div[text()='Think deeper']/parent::span/parent::span/parent::div. An XPath starts with //; anything else is read as a CSS selector.","loc.how4":"When it finds just that row, put {$model_name} (for a provider, {$provider_name}) where the name is, and paste it here. The example under the field shows it filled in again, to try in Edge the same way.","loc.button":"The model button","loc.buttonWhy":'The button above the chat that opens the model menu; it shows the model in force ("Auto"). Default: button#gptModeSwitcher. To check it: Ctrl+F in Elements must find the button, 1 of 1. When it finds nothing, the bot also looks for a button named "Model Selector".',"loc.rows":"The rows of the menu","loc.rowsWhy":'Every row of the open menu and of a provider\'s menu: the element whose first line is the name of a model or a provider. "Read the list from Copilot" reads the names from these, and tells a provider from a model by aria-haspopup="menu". With the menu open it must find every model and every provider, and nothing else. Default: the elements whose role is menuitemradio, menuitemcheckbox, option, radio or menuitem.',"loc.model":"A model of the main menu","loc.modelWhy":"A model in the menu the button opens: Auto, Quick response, Think deeper, Advanced reasoning… Written with {$model_name} where the name goes; the bot puts in the name of the model it is choosing, as the list read it. With the menu open, and one name put in, it must find that model's row: 1 of 1.","loc.provider":"A provider","loc.providerWhy":"A row of the main menu that opens a menu of its own: Claude, GPT, or any other the page offers. Written with {$provider_name} where its name goes. It must find only the provider's row, not a model's: [contains(@aria-haspopup, 'menu')] keeps it so. When it finds nothing (a provider's row can read the model chosen in it), the bot finds the row where the list read it.","loc.providerModel":"A model of a provider","loc.providerModelWhy":"A model in a provider's menu: Opus 5.5, Sonnet 5, GPT-5.6 Sol Think deeper… Written with {$model_name} where the name goes. With the provider's menu open it must find that model's row, 1 of 1, and not the provider's: [not(contains(@aria-haspopup, 'menu'))] keeps it so.","loc.default":"Default","loc.isDefault":"The default.","loc.example":"For “{name}”:","loc.noPlaceholder":"It needs {ph} where the name goes; without it, it would find the same row for every name.","loc.twoColons":"“{axis}:” needs two colons: {axis}::","loc.badXPath":"This is not an XPath this browser can read: {msg}","loc.badCss":"This is not a CSS selector this browser can read: {msg}","loc.saved":"Saved. The next run and the next reading of the list use it.","loc.loading":"Reading the settings…","loc.steps":"Keep a picture of every step of choosing a model","loc.stepsWhy":"At every step of choosing a model (the menu opened, the provider opened, the model pressed) the bot keeps a picture of the page and the menu's HTML, numbered. A choice that fails always keeps the menu as models-select-failed.png, .html and .json, with what each locator found. Look at them, or send them, when a model is not chosen; the folders are named under this box. Each choice writes over the last one's.","loc.stepsWhere":'A run keeps them in {run}; "Read the list from Copilot" in {read}.',"q.title":"Queue of tasks","q.intro":"Tasks written beforehand and run one after another while you are away, each in a new chat on its own model, which the bot chooses itself. A task may depend on earlier ones: when one of them fails, it is skipped, and the queue goes on with the next task that does not depend on it. Commands run as Settings → Execution says.","q.folder":"In {dir}.","q.noFolder":"No project folder is open: open one in the chat first.","q.byHand":"Settings choose the model by hand: each task would wait for you to choose it.","q.byHandLink":"Change it in Settings","q.noModel":'A task would wait for a model to be chosen by hand: with no model of its own it needs "Model for the worker" (or "Model for the lead") in Settings, and when it is reviewed, "Model for the review". The queue will not start until they are chosen.',"q.run":"Run the queue","q.stop":"Stop the queue","q.stopping":"Stopping the queue","q.runningNow":"Running task {n} of {of}.","q.counts":"{waiting} waiting, {done} done, {failed} failed, skipped or stopped.","q.loading":"Reading the queue…","q.empty":"The queue is empty. Add a task below.","q.waiting":"Waiting","q.running":"Running","q.done":"Done","q.failed":"Failed","q.skipped":"Skipped","q.stopped":"Stopped","q.settingsModel":"Settings' model","q.branchFolder":"The folder as it is","q.branchMain":"New branch from main","q.reviewOn":"reviewed","q.dependsOnList":"depends on {list}","q.openChat":"Open the chat","q.edit":"Edit","q.again":"Run again","q.up":"Move up","q.down":"Move down","q.remove":"Remove","q.removeConfirm":"Take “{title}” out of the queue?","q.addTitle":"Add a task","q.editTitle":"Task {n}","q.prompt":"What the task is to do","q.model":"Model","q.modelWhy":'The model this task\'s chat runs on. "Settings\' model" is "Model for the worker" there. The bot chooses it itself, so "Choose the model by hand at the start of each run" in Settings must be off.',"q.modelSettings":"Settings' model ({name})","q.branch":"Where it works","q.branchWhy":'"The folder as it is": on the branch the folder is on when the task starts (after a task on a new branch, that branch). "New branch from main": a branch of its own made from main, where its work is committed. main is fetched from the server first when that needs no password; otherwise the local main is used, and the chat is told which. A new branch needs the folder without uncommitted changes.',"q.review":"Review","q.reviewWhy":"A second conversation checks the work when the task says it is done, as the chat's REVIEW box does.","q.dependsOn":"Depends on","q.dependsOnWhy":"The earlier tasks this one needs. When one of them fails, is skipped or is stopped, this one is skipped; the tasks that do not depend on it still run.","q.add":"Add to the queue","q.save":"Save","q.cancel":"Cancel","q.name":"Name","q.nameWhy":"What the list and the picture call this task. Empty: its first line.","q.lead":"Two chats","q.leadWhy":'A lead and a worker, as "Two chats" under the chat\'s box: the lead plans the task, gives the worker one subtask at a time and judges what it reports; the worker runs the commands. For a task too big for one go. The lead judges the work, so there is no review of its own.',"q.leadModel":"Model for the lead","q.leadModelWhy":'The model of the lead\'s chat, the one that plans and judges: best a strong reasoning model. "Settings\' model" is "Model for the lead" there, else "Model for the worker". The bot chooses it itself.',"q.workerModel":"Model for the worker","q.workerModelWhy":'The model of the second chat, the worker that carries out the lead\'s subtasks. "Settings\' model" is "Model for the worker" there, else the lead\'s.',"q.reviewModel":"Model for the review","q.reviewModelWhy":'The model of the review\'s conversation: best a different, stronger one than the work\'s. "Settings\' model" is "Model for the review" there.',"q.leadOn":"two chats","q.leadIs":"lead: {model}","q.workerIs":"worker: {model}","q.reviewOnModel":"reviewed on {model}","q.graph":"How the queue runs","q.graphWhy":"Each dot is a task, numbered as in the list; they run from left to right, one after another. A thread joins a task to each task that depends on it, its arrow at the one that waits; a broken red thread is from a task that did not end done, so the one it points to is skipped. Point at a dot to see its name.","q.showNames":"Show all names","q.graphLabel":"The queue: {n} tasks from left to right, {links} threads between them","q.graphThread":"depends on","q.graphPoint":"Point at a dot: its task is said here.","q.skill":"Skill","q.skillWhy":"One of the skills in Settings → Skills, sent with this task as starting a message of the chat with /its-name sends it: your instructions for a kind of task that comes back — a new test, a new entity, a migration. Offered: the skills for every project and the ones for the open folder.","q.skillIs":"skill: /{name}","q.busyChat":"the message working in the chat, “{title}”","q.busyModels":"the reading of the models in Copilot","q.busyLogin":"the sign-in to Copilot","q.busyIdle":"Working now: {what}. A task you add starts after it.","q.busyRunning":"The queue waits for {what}: its next task starts after it.","q.addAfter":"Add, to start after it","q.addAfterWhy":"Adds the task and starts the queue: its first waiting task begins as soon as the work in progress has ended, and the others follow one after another.","pk.title":"Set aside: it waits for you","pk.since":"Since {at}, it waits for {what}.","pk.waitsPlan":"the approval of its plan","pk.waitsQuestion":"an answer to its question","pk.waitsRetry":"what to do with a subtask that was cut off","pk.waitsCommand":"your word on a command","pk.waitsModel":"the model to be chosen by hand","pk.waitsPassword":"a password Git asked for","pk.note":"A note with the plan (needed to ask for another)","pk.approve":"Approve the plan","pk.revise":"Ask for another plan","pk.reviseWhy":"Write in the note what to change first.","pk.run":"Run it","pk.skip":"Skip it","pk.modelWhy":"It waited for the model to be chosen by hand in the Copilot window. When it carries on, it asks again: be at the computer then.","pk.passwordWhy":"Git asked for a password in its own window, and nobody typed it. When it carries on, the git command runs again and Git asks again: be at the computer then.","pk.resume":"Carry on — I am here","pk.stop":"Stop this task","pk.answered":"Answered: it carries on from where it stopped at the queue's next turn — after the task at work, or when the queue is run.","pk.stopped":'Stopped: it does not carry on. "Run again" in the queue starts it over.',"q.parked":"Waits for you","q.parkAfter":"When a task waits for you","q.parkAfterUnit":"seconds, then it is set aside and the next task starts (0: wait as long as it takes)","q.parkAfterWhy":"How long a task of the queue waits for you — to approve its plan, answer a question, decide on a command or a subtask cut off, choose a model, type a password Git asks for — before it is set aside and the next task starts. What it waits for is kept, even if the program is closed: answer it on its card here or in its chat when you are back, and it carries on from where it stopped, in its own conversation and on its own branch, after the task at work. The tasks that depend on it wait for it.\n\nDefault: 120 seconds. 0 waits as long as it takes, as before.","q.plan":"Plan first","q.planWhy":"The chat — the lead, with two chats — first looks at the project and proposes a plan, and nothing changes until the plan is approved. In the queue, the plan waits as long as set above, then the task is set aside with its plan kept, for you to approve or send back later.","q.planOn":"plan first","q.branchIs":"branch: {name}","q.branchFromWhy":"Made from {from} when the task was added.","q.preparing":"Making its branch from the remote's main… If the remote asks for a password, Git opens its own window for it.","def.saving":"Saving","def.reviewIntro":'When Copilot says a task is done, a conversation of its own reviews the work, unless "Review" under the chat\'s box is unticked. It reads the changes, runs the checks and sends back what it finds.',"def.reviewInfo":"The model the review's conversation is put on, when “Review” is ticked under the chat. Best a different and stronger one than the work's: a second pair of eyes that does not think like the first catches more mistakes.\n\nA conversation can choose its own under the chat's box (“Review”, under the work's model); this one is used when it does not. With none chosen anywhere, a card asks you to choose the review's model in the Copilot window.\n\nWith the model chosen by hand, the card that asks for it says it is the review's.","def.reviewSaved":"The review will run on {name}.","def.reviewCleared":"Cleared: the review is not put on a model of its own.","def.reviewSame":"This is the same model as the one doing the work. A different one would catch more.","login.title":"Sign in to Copilot","login.intro":'The bot works in an Edge profile of its own, which has to be signed in to Microsoft 365 Copilot before the chat can work or the models can be read — what "cop login" does in a terminal. The window opens and you sign in there yourself; the bot never types a password. It closes when the chat appears.',"login.account":"Account (optional)","login.accountWhy":"Optional: the work or school address to sign in with, for example name@company.com.\n\nLeft empty, you sign in with whichever account you choose in the window that opens. With an address, the bot's Edge profile is signed out first and Microsoft is asked for exactly that account — useful on a work machine, where Edge otherwise signs in with the account Windows is signed in with.","login.button":"Sign in to Copilot","login.busy":"Waiting for you to sign in…","login.waiting":"An Edge window has opened. Sign in there; this page waits until the chat appears.","def.modelTitle":"Model for the worker","def.modelIntro":"The model the worker starts on — the chat that does the work: the one chat, or the worker of two chats — unless one is chosen under the chat's box.","def.modelInfo":"The model the worker's conversation starts on, chosen by the exact name Copilot's own model picker shows. The worker is the chat that does the work: the one chat, or, with “Two chats”, the one that carries out the lead's subtasks. The list is the one read from Copilot last (“Read the list from Copilot”); it belongs to Microsoft and differs from one organisation to another.\n\n“Leave the chat on whatever it is set to” chooses nothing: the chat stays on the model it is on. A conversation that chose its own model under the chat's box keeps it.\n\nWith “Choose the model by hand at the start of each run” ticked, nothing is chosen for you: a card asks you to choose the model in the Copilot window, and this one is the model it names.","def.modelField":"Model","def.modelNone":"Leave the chat on whatever it is set to","def.modelSaved":"The worker will start on {name}.","def.modelCleared":"Cleared. The worker leaves the chat on whatever it is set to.","proj.title":"Projects","proj.intro":'The first project is the folder the chat works in; "Open a folder" on the chat\'s screen changes it too. The others are the rest of the repositories you work in. Kerrigan knows every one of them, with what you write in its level 2.',"proj.saved":"The chat works in {dir}.","proj.clear":"Clear","proj.cleared":"Cleared. No folder is open for the chat.","proj.none":"No folder is set for the chat: type one here or open one from the chat's screen.","proj.isRepo":"This folder is a git repository: each message can be undone, and its changes shown.","proj.notRepoWhy":'It can still be a project: the files are there and the chat can work in it. Without git, though, a message cannot be undone and its changes cannot be shown; "git init" in the folder fixes that.',"proj.isDefault":"the chat's folder","proj.isDefaultWhy":"The chat works in this one: its commands run here, and the explorer shows it.","proj.entryName":"Name","proj.entryDir":"Folder","proj.nameInfo":"What you call the project, for example “Shop API” for a folder named shop-api. The lists, the chat and Kerrigan use it.\n\nLeft empty, the folder's own name is used.","proj.dirInfo":"The project's folder on this machine.\n\nThe first project is the one the chat works in: its commands run in this folder, and the explorer shows it.\n\nBest a git repository: then each message can be undone (“Go back to before this message”) and its changes shown.","proj.level2":"Level 2 template (for Kerrigan)","proj.level2Info":"Notes about this project, in your own words: what it is, its stack and versions, its conventions, how it is built and how its tests run, what must not be touched. They become part of Kerrigan: when you save or copy her, she knows this project and helps you write tasks that fit it. The bot sends them nowhere by itself. Up to {n} characters.","proj.level2Placeholder":"e.g. A .NET 8 web API with a React front end in /web. Build: dotnet build. Tests: dotnet test. Never edit the migrations in /db.","proj.level2Saved":"Level 2 of {name} saved: Kerrigan has it.","chat.skill":"Skill","chat.skillNone":"No skill","chat.skillWhy":"A skill adds your instructions for this kind of task — written in Settings → Skills — to the message. Starting the message with /its-name does the same.","chat.skillsLink":"+ Skills","chat.skillsLinkWhy":"Add a skill, or see all of them, in Settings","nb.button":"⎇ New branch from main","nb.buttonWhy":"Fetches the latest of the remote's main and makes a new local branch from it for the next task. If the remote asks for a password, Git opens its own window for it; the bot never sees it.","nb.offRunning":"Off while a task works: its branch is not changed under it.","nb.offNoFolder":"Open a project folder first.","nb.offNoRepo":"The open folder is not a git repository.","nb.title":"New branch from main","nb.fetching":"Fetching the latest of the remote's main","nb.passwordNote":"If the remote asks for a password or a key's passphrase, Git opens its own window for it — type it there. It goes straight to Git; the bot never reads it, and nothing is kept.","nb.fetchAuth":"{remote} could not be fetched: the password was not given, or not accepted ({detail}).","nb.fetchFailed":"{remote} could not be fetched: {detail}.","nb.lastFetched":"You can try again, or go on from {target} as it was last fetched here, on {at}.","nb.lastKnown":"You can try again, or go on from {target} as it is known here.","nb.tryAgain":"Try again","nb.from":"From {target} at {commit}","nb.now":"The folder is on {branch} now.","nb.nowDetached":"The folder is on a detached HEAD now.","nb.name":"The new branch's name","nb.dirty":"Not committed: {n} file(s)","nb.more":"and {n} more","nb.take":"Take them to the new branch","nb.takeWhy":"— they stay in the folder as they are. Git refuses, moving nothing, when the remote's main changed the same files.","nb.aside":"Put them aside","nb.asideWhy":"— kept whole as a commit on a branch of their own (cop/saved/…), and the new branch starts clean. A file is taken back with git restore --source <that branch> -- <file>.","nb.after":"The new branch does not track main, so pushing its work never goes to main by mistake. Nothing is deleted. The next message starts a new conversation on it.","nb.cancel":"Cancel","nb.making":"Making the branch","nb.make":"Make the branch","nb.makeFromLast":"Make it from what was last fetched","nb.madeChat":"The next message starts a new conversation on it.","chat.skillUsed":"Skill: /{name}","chat.skillUnknown":"There is no skill /{name} for this folder. The ones there are: {names}.","chat.skillNoText":"Write the message after /{name}: what this task is.","skills.title":"Skills","skills.intro":"Instructions for a kind of task that comes back again and again — adding an automated test, a new entity, a database migration. Choose one under the chat's box, or start a message with /its-name: its instructions go to the chat with that message. A skill can be for one project or for every project.","skills.none":"No skills yet.","skills.name":"Name","skills.nameInfo":"How you call the skill: short, lowercase, with hyphens — new-test, new-entity, db-migration.\n\nStart a message with it after a slash — “/new-test add a test for the login page” — and the skill goes with that message; or choose it under the chat's box.","skills.description":"What it is for","skills.descriptionInfo":"One line saying which tasks the skill is for, for example “Adding an automated end-to-end test”. The chat's list of skills shows it beside the name, and Kerrigan reads it to suggest the skill for the right task.","skills.project":"Project","skills.projectInfo":"The project it is for, or every project. In the chat, only the skills for the open folder and the ones for every project are offered.","skills.allProjects":"Every project","skills.text":"Instructions","skills.textInfo":"What the chat should know and do for this kind of task: where the files go, the conventions to follow, the steps, how to check the result, what to leave alone. Sent with the message as written. As long as you need: under the box, how many characters there are. A message longer than “Longest message to the chat as text” in Settings is not cut: its beginning goes as text, and the whole of it attached.","skills.textPlaceholder":"e.g. Tests live in tests/e2e, one file per page, named <page>.spec.ts. Use the fixtures in tests/support. Run npm run test:e2e -- <file> and show it passing.","skills.count":"{n} characters","skills.addTitle":"Add a skill","skills.add":"Add the skill","skills.remove":"Delete","skills.removeConfirm":"Delete the skill /{name}? Messages already sent with it keep it.","skills.removeOne":"Delete the skill /{name}","skills.saved":"Skills saved: {n}.","proj.readOnly":"For reference only (no changes)","proj.readOnlyInfo":"Ticked, the bot may read this project and run what only reads it, but it changes nothing in it. After every command it compares the project with how it was when the task began, puts back whatever changed — files, branches, what is staged — and tells the chat. On the folder the chat works in, every message can then only read and report. Files git ignores (node_modules, build output) are not watched.","proj.readOnlyBadge":"reference only","proj.readOnlyOn":"{name} is for reference only: nothing in it will be changed.","proj.readOnlyOff":"{name} is open for work again.","proj.level2Count":"{n} / {max} characters","proj.branch":"Branch: {name}","proj.detached":"No branch (a detached HEAD)","proj.branchInfo":"The branch checked out in this folder right now, read from git each time the page opens. The chat works on whatever is checked out and makes no branch of its own: switch it in git when you want the work elsewhere.","proj.addTitle":"Add another project","proj.othersIntro":"Another repository you work in — a front end, a back end, the tests — with a short name. Kerrigan knows it, with its level 2.","proj.otherAdd":"Add","proj.otherRemove":"Remove","proj.othersSaved":"Saved: {n} other project(s).","proj.otherRepo":"git repository","proj.otherNotRepo":"not a git repository","approval.waitingHere":"A step is waiting for your decision","awaiting.title":"Waiting for the user's action","approval.waitingHereWhy":"Shown on every page while a step waits, so a run never looks stuck because the page that asks is not the one open."}},52157:(e,t,o)=>{o.d(t,{Gy:()=>s,IH:()=>r,ME:()=>c,WT:()=>l,Xi:()=>n,ms:()=>i});let a={plan:"actor.plan",lead:"actor.lead",worker:"actor.worker",review:"actor.review"},n={plan:"actor.planInfo",lead:"actor.leadInfo",worker:"actor.workerInfo",review:"actor.reviewInfo"};function s(e,t,o){let n=(null==o?void 0:o.subtask)?e("actor.subtask",{n:o.subtask}):(null==o?void 0:o.round)?e("actor.round",{n:o.round}):"";return n?"".concat(e(a[t])," \xb7 ").concat(n):e(a[t])}let i=e=>!!e&&(e.running||e.starting);function r(e,t){return(null==t?void 0:t.paused)?e("wb.livePaused"):(null==t?void 0:t.acting)?e("wb.liveWho",{who:s(e,t.acting.actor,t.acting)}):e("wb.livePlain")}let h="copilot-operator",d={done:"Done",failed:"Error",aborted:"Stopped",blocked:"Blocked","limit-reached":"Limit reached"};function l(e,t,o,a){var n;let s=".".repeat(Math.min(3,Math.max(1,o))),i=e>0?"Waiting for you (".concat(e,")"):(null==t?void 0:t.password)?"Waiting for your password":(null==t?void 0:t.paused)?"Paused":(null==t?void 0:t.running)?"Working".concat(s):(null==t?void 0:t.starting)?"Starting".concat(s):a&&(null==t?void 0:t.last)&&null!=(n=d[t.last.status])?n:"";return i?"".concat(i," — ").concat(h):h}function c(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Date;if(!e)return"";let a=new Date(e),n=a.toLocaleTimeString(t,{hour:"2-digit",minute:"2-digit",hour12:!1});return a.toDateString()===o.toDateString()?n:"".concat(a.toLocaleDateString(t,{day:"numeric",month:"short"})," ").concat(n)}},99755:(e,t,o)=>{o.d(t,{Od:()=>s,Yj:()=>a,eX:()=>n});let a=[{code:"en",english:"English",native:"English",flag:"gb",dir:"ltr",dateLocale:"en-GB"},{code:"bg",english:"Bulgarian",native:"Български",flag:"bg",dir:"ltr",dateLocale:"bg-BG"},{code:"de",english:"German",native:"Deutsch",flag:"de",dir:"ltr",dateLocale:"de-DE"},{code:"es",english:"Spanish",native:"Espa\xf1ol",flag:"es",dir:"ltr",dateLocale:"es-ES"},{code:"fr",english:"French",native:"Fran\xe7ais",flag:"fr",dir:"ltr",dateLocale:"fr-FR"},{code:"pt",english:"Portuguese",native:"Portugu\xeas",flag:"pt",dir:"ltr",dateLocale:"pt-PT"},{code:"ja",english:"Japanese",native:"日本語",flag:"jp",dir:"ltr",dateLocale:"ja-JP"},{code:"ko",english:"Korean",native:"한국어",flag:"kr",dir:"ltr",dateLocale:"ko-KR"},{code:"ar",english:"Arabic",native:"العربية",flag:"sa",dir:"rtl",dateLocale:"ar"}],n=e=>a.find(t=>t.code===e);function s(e){var t,o,a;return null!=(a=null==(t=n(null!=(o=(null!=e?e:"").toLowerCase().split(/[-_]/)[0])?o:""))?void 0:t.code)?a:null}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8124],{1702:(e,a,t)=>{var r=t(99962);t.o(r,"usePathname")&&t.d(a,{usePathname:function(){return r.usePathname}}),t.o(r,"useRouter")&&t.d(a,{useRouter:function(){return r.useRouter}})},16752:(e,a,t)=>{t.d(a,{s:()=>M,i:()=>y,SkipLink:()=>N});var r=t(73365),s=t(1521),l=t(18197),n=t.n(l),i=t(1702),o=t(15549),c=t(87527),d=t(8205),h=t(99755);let p={gb:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("rect",{width:"30",height:"20",fill:"#012169"}),(0,r.jsx)("path",{d:"M0 0 30 20M30 0 0 20",stroke:"#fff",strokeWidth:"4"}),(0,r.jsx)("path",{d:"M0 0 30 20M30 0 0 20",stroke:"#c8102e",strokeWidth:"1.4"}),(0,r.jsx)("path",{d:"M15 0v20M0 10h30",stroke:"#fff",strokeWidth:"6"}),(0,r.jsx)("path",{d:"M15 0v20M0 10h30",stroke:"#c8102e",strokeWidth:"3.4"})]}),bg:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("rect",{width:"30",height:"20",fill:"#fff"}),(0,r.jsx)("rect",{y:"6.67",width:"30",height:"6.67",fill:"#00966e"}),(0,r.jsx)("rect",{y:"13.33",width:"30",height:"6.67",fill:"#d62612"})]}),de:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("rect",{width:"30",height:"6.67",fill:"#000"}),(0,r.jsx)("rect",{y:"6.67",width:"30",height:"6.67",fill:"#dd0000"}),(0,r.jsx)("rect",{y:"13.33",width:"30",height:"6.67",fill:"#ffce00"})]}),es:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("rect",{width:"30",height:"20",fill:"#aa151b"}),(0,r.jsx)("rect",{y:"5",width:"30",height:"10",fill:"#f1bf00"}),(0,r.jsx)("rect",{x:"7",y:"7.5",width:"3.4",height:"5",rx:"0.8",fill:"#aa151b",opacity:"0.85"})]}),fr:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("rect",{width:"10",height:"20",fill:"#002395"}),(0,r.jsx)("rect",{x:"10",width:"10",height:"20",fill:"#fff"}),(0,r.jsx)("rect",{x:"20",width:"10",height:"20",fill:"#ed2939"})]}),pt:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("rect",{width:"12",height:"20",fill:"#006600"}),(0,r.jsx)("rect",{x:"12",width:"18",height:"20",fill:"#ff0000"}),(0,r.jsx)("circle",{cx:"12",cy:"10",r:"4.2",fill:"none",stroke:"#ffcc00",strokeWidth:"1.4"}),(0,r.jsx)("path",{d:"M10.3 7.8h3.4v3.2a1.7 1.7 0 0 1-3.4 0z",fill:"#fff",stroke:"#d00",strokeWidth:"0.6"})]}),jp:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("rect",{width:"30",height:"20",fill:"#fff"}),(0,r.jsx)("circle",{cx:"15",cy:"10",r:"6",fill:"#bc002d"})]}),kr:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("rect",{width:"30",height:"20",fill:"#fff"}),(0,r.jsx)("path",{d:"M10 10a5 5 0 0 1 10 0 2.5 2.5 0 0 1-5 0 2.5 2.5 0 0 0-5 0z",fill:"#cd2e3a"}),(0,r.jsx)("path",{d:"M10 10a5 5 0 0 0 10 0 2.5 2.5 0 0 0-5 0 2.5 2.5 0 0 1-5 0z",fill:"#0047a0"}),(0,r.jsxs)("g",{stroke:"#000",strokeWidth:"0.9",children:[(0,r.jsx)("path",{d:"M4.2 5.6 6.8 2.4M5.1 6.3 7.7 3.1M6 7 8.6 3.8"}),(0,r.jsx)("path",{d:"M21.4 3.8 24 7M22.3 3.1 24.9 6.3M23.2 2.4 25.8 5.6"}),(0,r.jsx)("path",{d:"M4.2 14.4 6.8 17.6M5.1 13.7 7.7 16.9M6 13 8.6 16.2"}),(0,r.jsx)("path",{d:"M21.4 16.2 24 13M22.3 16.9 24.9 13.7M23.2 17.6 25.8 14.4"})]})]}),sa:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("rect",{width:"30",height:"20",fill:"#006c35"}),(0,r.jsx)("path",{d:"M7 8.2c1-.9 2 .9 3 0s2 .9 3 0 2 .9 3 0 2 .9 3 0 2 .9 3 0",fill:"none",stroke:"#fff",strokeWidth:"1.1",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M8 12.6h13.4M21.4 12.6l1.6-.9M9.6 11.6v2",stroke:"#fff",strokeWidth:"1",strokeLinecap:"round"})]})};function m(e){let{id:a}=e;return(0,r.jsx)("svg",{className:"flag",viewBox:"0 0 30 20","aria-hidden":"true",focusable:"false",children:p[a]})}var u=t(5462);function x(){let{locale:e,setLocale:a}=(0,d.Ym)(),{t}=(0,d.kj)(),s=(0,u.f)("below");return(0,r.jsxs)("span",{className:"lang-menu",children:[(0,r.jsxs)("button",{ref:s.anchor,type:"button",className:"lang-btn","aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.id:void 0,onClick:s.toggle,title:t("lang.menu"),children:[(0,r.jsxs)("svg",{className:"lang-globe",viewBox:"0 0 16 16","aria-hidden":"true",children:[(0,r.jsx)("circle",{cx:"8",cy:"8",r:"6.5",fill:"none",stroke:"currentColor",strokeWidth:"1.3"}),(0,r.jsx)("path",{d:"M1.5 8h13M8 1.5c2 2 2.8 4 2.8 6.5S10 12.5 8 14.5M8 1.5C6 3.5 5.2 5.5 5.2 8S6 12.5 8 14.5",fill:"none",stroke:"currentColor",strokeWidth:"1.1"})]}),(0,r.jsx)("span",{lang:"en",children:t("lang.label")}),(0,r.jsx)("span",{"aria-hidden":"true",children:"▾"})]}),s.open&&(0,r.jsx)("div",{ref:s.panel,id:s.id,role:"menu","aria-label":t("lang.menu"),className:"pop menu lang-list",style:s.style,children:h.Yj.map(t=>(0,r.jsxs)("button",{type:"button",role:"menuitemradio","aria-checked":t.code===e,onClick:()=>{a(t.code),s.close()},children:[(0,r.jsx)(m,{id:t.flag}),(0,r.jsx)("span",{className:"lang-native",lang:t.code,dir:t.dir,children:t.native}),"en"!==t.code&&(0,r.jsx)("span",{className:"lang-english muted small",lang:"en",children:t.english}),(0,r.jsx)("span",{className:"lang-tick","aria-hidden":"true",children:t.code===e?"✓":""})]},t.code))})]})}var f=t(98078);let j=[{value:"system",label:"theme.system"},{value:"light",label:"theme.light"},{value:"dark",label:"theme.dark"}],v={smallest:"ap.sizeSmallest",verysmall:"ap.sizeVerySmall",compact:"ap.sizeCompact",small:"ap.sizeSmall",normal:"ap.sizeNormal",large:"ap.sizeLarge",huge:"ap.sizeHuge",giant:"ap.sizeGiant"},g=[{name:"nightLight",label:"ap.night"},{name:"underlineLinks",label:"ap.links"},{name:"reduceMotion",label:"ap.motion"},{name:"highContrast",label:"ap.contrast"},{name:"strongFocus",label:"ap.focus"},{name:"systemCursor",label:"ap.systemCursor"}];function k(){let{t:e}=(0,d.kj)(),{appearance:a,set:t,reset:s,loaded:l}=(0,f.KP)(),n=(0,u.f)("below"),i=f.Xm.indexOf(a.textSize);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("button",{ref:n.anchor,type:"button",className:"lang-btn ap-btn".concat(n.open?" on":""),"aria-label":e("wb.appearance"),title:e("wb.appearance"),"aria-expanded":n.open,"aria-controls":n.open?n.id:void 0,onClick:n.toggle,children:[(0,r.jsxs)("svg",{viewBox:"0 0 24 24",width:"16",height:"16",fill:"none",stroke:"currentColor",strokeWidth:"1.8","aria-hidden":"true",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"8.5"}),(0,r.jsx)("path",{d:"M12 3.5a8.5 8.5 0 0 1 0 17z",fill:"currentColor",stroke:"none"})]}),(0,r.jsx)("span",{"aria-hidden":"true",children:e("nav.appearance")})]}),n.open&&(0,r.jsxs)("div",{ref:n.panel,id:n.id,role:"dialog","aria-label":e("wb.appearance"),className:"pop wb-appear",style:n.style,children:[(0,r.jsx)("p",{className:"pop-title",children:e("wb.appearance")}),(0,r.jsx)("p",{className:"wb-appear-label",id:"".concat(n.id,"-theme"),children:e("ap.theme")}),(0,r.jsx)("div",{className:"segmented",role:"group","aria-labelledby":"".concat(n.id,"-theme"),children:j.map(s=>(0,r.jsx)("button",{type:"button","aria-pressed":l&&a.theme===s.value,onClick:()=>t({theme:s.value}),children:e(s.label)},s.value))}),(0,r.jsx)("p",{className:"wb-appear-label",id:"".concat(n.id,"-size"),children:e("ap.size")}),(0,r.jsxs)("div",{className:"wb-appear-size",role:"group","aria-labelledby":"".concat(n.id,"-size"),children:[(0,r.jsx)("button",{type:"button","aria-label":e("ap.smaller"),title:e("ap.smaller"),disabled:i<=0,onClick:()=>t({textSize:f.Xm[i-1]}),children:"A−"}),(0,r.jsx)("span",{"aria-live":"polite",children:e(v[a.textSize])}),(0,r.jsx)("button",{type:"button","aria-label":e("ap.larger"),title:e("ap.larger"),disabled:i>=f.Xm.length-1,onClick:()=>t({textSize:f.Xm[i+1]}),children:"A+"})]}),g.map(s=>(0,r.jsxs)("label",{className:"wb-appear-aid",children:[(0,r.jsx)("input",{type:"checkbox",checked:a[s.name],onChange:e=>t({[s.name]:e.target.checked})}),(0,r.jsx)("span",{children:e(s.label)})]},s.name)),(0,r.jsx)("div",{className:"row",children:(0,r.jsx)("button",{type:"button",className:"quiet small",onClick:s,children:e("ap.reset")})})]})]})}let w={workbench:(0,r.jsx)("path",{d:"M4 5h16v11H9l-5 4zM8 9h8M8 12h5",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinejoin:"round"}),defaults:(0,r.jsx)("path",{d:"M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8zm8.5 4 1.5 1-1.6 2.8-1.8-.4a7 7 0 0 1-1.5 1.5l.4 1.8L14.7 21l-1-1.5a7 7 0 0 1-3.4 0l-1 1.5-2.8-1.6.4-1.8A7 7 0 0 1 5.4 16l-1.8.4L2 13.6 3.5 12.6V11.4L2 10.4l1.6-2.8 1.8.4A7 7 0 0 1 6.9 6.5l-.4-1.8L9.3 3l1 1.5a7 7 0 0 1 3.4 0l1-1.5 2.8 1.6-.4 1.8a7 7 0 0 1 1.5 1.5l1.8-.4L22 10.4l-1.5 1z"}),system:(0,r.jsx)("path",{d:"M4 5h16v10H4zM2 19h20M9 15v4M15 15v4",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinejoin:"round"}),queue:(0,r.jsx)("path",{d:"M4 6h16M4 12h16M4 18h10M17 16l3 2-3 2z",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinejoin:"round",strokeLinecap:"round"})},b=[{href:"/",label:"nav.workbench",icon:"workbench"},{href:"/queue",label:"nav.queue",icon:"queue"},{href:"/settings",label:"nav.defaults",icon:"defaults"},{href:"/system",label:"nav.system",icon:"system"}];function y(){return(0,r.jsxs)("span",{className:"nav-pair",children:[(0,r.jsx)(k,{}),(0,r.jsx)(x,{})]})}function N(){let{t:e}=(0,d.kj)();return(0,r.jsx)("a",{className:"skip-link",href:"#main",children:e("a11y.skip")})}function M(){let{t:e}=(0,d.kj)(),a=(0,i.usePathname)(),t=function(){let[e,a]=(0,s.useState)(0);return(0,c.z)(()=>o.FH.activity().then(e=>a(e.sessions)).catch(()=>void 0),4e3),e}();return(0,r.jsxs)("nav",{"aria-label":e("nav.label"),children:[b.flatMap(s=>[(0,r.jsxs)(n(),{href:s.href,"aria-current":a===s.href?"page":void 0,children:[(0,r.jsx)("svg",{className:"nav-icon",viewBox:"0 0 24 24",width:"16",height:"16",fill:"currentColor","aria-hidden":"true",children:w[s.icon]}),(0,r.jsx)("span",{children:e(s.label)}),"/"===s.href&&t>0&&(0,r.jsxs)("span",{className:"live",title:e("nav.liveTitle",{n:t}),children:[(0,r.jsx)("span",{className:"dot","aria-hidden":"true"}),e("nav.live")]})]},s.href)]),(0,r.jsx)(y,{})]})}},36657:(e,a,t)=>{t.d(a,{M:()=>g,U:()=>j});var r=t(73365),s=t(1521),l=t(18197),n=t.n(l),i=t(1702),o=t(15549),c=t(8205),d=t(51035),h=t(87527),p=t(33389),m=t(61238),u=t(52157),x=t(79717),f=t(92842);function j(){let{t:e}=(0,c.kj)(),a=(0,i.usePathname)(),[t,l]=(0,s.useState)([]),[n,d]=(0,s.useState)({}),p=(0,s.useRef)({}),x=(0,s.useRef)(new Set),f=(0,s.useRef)(""),j=(0,s.useRef)(new Set),g=(0,s.useCallback)(async()=>{try{let e=await o.FH.approvals();l(e.filter(e=>!j.current.has(e.id)));let a=[...new Set(e.map(e=>e.sessionId).filter(e=>!(e in p.current)))],t=a.sort().join(",");if(a.length>0&&t!==f.current){for(let e of(f.current=t,await o.FH.sessions().catch(()=>[])))p.current[e.id]=e.name,"chat"===e.kind&&x.current.add(e.id);d({...p.current})}}catch(e){}},[]);(0,h.z)(g,2e3);let k=(0,m.v)(),[w,b]=(0,s.useState)(0),y=(0,s.useRef)(0);(0,s.useEffect)(()=>{let e=setInterval(()=>{"visible"===document.visibilityState&&document.hasFocus()&&(y.current=Date.now()),b(e=>e+1)},450);return()=>clearInterval(e)},[]);let N=(null==k?void 0:k.last)?Date.parse(k.last.at):0,M=(0,u.WT)(t.length,k,w%3+1,!!(null==k?void 0:k.last)&&y.current-N<12e3);(0,s.useEffect)(()=>{document.title=M},[M]);let C="/"===a?t.filter(e=>e.sessionId in p.current&&(!x.current.has(e.sessionId)||!!e.model)):t;return 0===C.length?null:(0,r.jsxs)("section",{className:"approval-banner",role:"alert","aria-live":"assertive","data-awaits":"banner:".concat(C.map(e=>e.id).join(",")),tabIndex:-1,children:[(0,r.jsx)("h2",{children:e("approval.waitingHere")}),(0,r.jsx)("p",{className:"small",children:e("approval.waitingHereWhy")}),C.map(e=>{var a;return(0,r.jsx)(v,{approval:e,sessionName:null!=(a=n[e.sessionId])?a:e.sessionId,onDecided:a=>{var t;return t=e.id,void(a&&(j.current.add(t),l(e=>e.filter(e=>e.id!==t))),g())}},e.id)})]})}function v(e){var a,t;let{approval:s,sessionName:l,onDecided:i}=e,{t:h}=(0,c.kj)(),m=(0,c.W3)(),{err:u,choose:x,mark:j}=(0,p.p)(),v=async e=>{("run-all"!==e||await (0,d.Z)(h("approval.runAllConfirm")))&&i(await x(e,async()=>{await o.FH.decide(s.id,e)}))};if(s.plan)return(0,r.jsx)(g,{approval:s,sessionName:l,onDecided:i});if(s.question||s.retry)return(0,r.jsxs)("div",{className:"approval",children:[(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("strong",{children:h((null==(a=s.question)?void 0:a.handoff)?"ho.title":"approval.inChat")}),s.actor&&(0,r.jsx)(f.y,{actor:s.actor,how:"asks"}),(0,r.jsx)("span",{className:"muted small",children:m(s.createdAt)})]}),(0,r.jsx)("p",{className:"small",children:h("approval.inChatWhy")}),(0,r.jsx)("div",{className:"row",children:(0,r.jsx)(n(),{href:"/",className:"button-link",children:h("approval.openChat",{name:l})})})]});if(s.model){let e=s.model;return(0,r.jsxs)("div",{className:"approval",children:[(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("strong",{children:h(e.manual?"approval.manualTitle":"approval.modelTitle")}),s.actor&&(0,r.jsx)(f.y,{actor:s.actor,how:"asks"}),(0,r.jsx)(n(),{href:"/",children:l}),(0,r.jsx)("span",{className:"muted small",children:m(s.createdAt)})]}),e.review&&(0,r.jsxs)("div",{className:"approval-review",role:"note",children:[(0,r.jsx)("strong",{children:h("approval.reviewModelTitle")}),(0,r.jsx)("span",{children:h("approval.reviewModelWhy")})]}),e.role&&(0,r.jsxs)("div",{className:"approval-review",role:"note",children:[(0,r.jsx)("strong",{children:h("lead"===e.role?"approval.leadModelTitle":"approval.workerModelTitle")}),(0,r.jsx)("span",{children:h("lead"===e.role?"approval.leadModelWhy":"approval.workerModelWhy")})]}),(0,r.jsx)("p",{children:e.manual?e.asked?h("approval.manualAsk",{model:e.asked}):h("approval.manualAskAny"):h("approval.modelAsk",{model:e.asked})}),(0,r.jsx)("p",{className:"muted small",children:h("approval.modelShown",{shown:null!=(t=e.shown)?t:"—"})}),!e.manual&&(0,r.jsx)("p",{className:"reason small",children:h("approval.modelWhy",{why:e.why,tries:e.tries})}),u&&(0,r.jsx)("p",{className:"err",role:"alert",children:u}),(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("button",{className:"primary",...j("run"),onClick:()=>void v("run"),children:h(e.manual?"approval.manualReady":"approval.modelChosen")}),!e.manual&&(0,r.jsx)("button",{...j("skip"),onClick:()=>void v("skip"),children:h("approval.modelAsItIs")}),(0,r.jsx)("button",{className:"danger",...j("abort"),onClick:()=>void v("abort"),children:h("approval.modelStop")})]})]})}return(0,r.jsxs)("div",{className:"approval",children:[(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("strong",{children:h("approval.title",{n:s.stepId})}),s.actor&&(0,r.jsx)(f.y,{actor:s.actor,how:"asks"}),(0,r.jsx)(n(),{href:"/",children:l}),(0,r.jsx)("span",{className:"muted small",children:m(s.createdAt)})]}),(0,r.jsx)("pre",{style:{margin:"8px 0"},children:s.description}),s.platform&&(0,r.jsx)("p",{className:"reason small",children:h("approval.platform",{platform:s.platform})}),s.readOnly&&(0,r.jsx)("p",{className:"reason small",children:h("approval.readOnly")}),s.network&&(0,r.jsx)("p",{className:"reason small",children:h("approval.network")}),u&&(0,r.jsx)("p",{className:"err",role:"alert",children:u}),(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("button",{className:"primary",...j("run"),onClick:()=>void v("run"),children:h("approval.run")}),!s.network&&!s.platform&&(0,r.jsx)("button",{...j("run-all"),onClick:()=>void v("run-all"),title:h("approval.runAllWhy"),children:h("approval.runAll")}),(0,r.jsx)("button",{...j("skip"),onClick:()=>void v("skip"),children:h("approval.skip")}),(0,r.jsx)("button",{className:"danger",...j("abort"),onClick:()=>void v("abort"),children:h("approval.abort")})]})]})}function g(e){let{approval:a,sessionName:t,onDecided:l}=e,{t:i}=(0,c.kj)(),h=(0,c.W3)(),[m,u]=(0,s.useState)(""),{locked:j,err:v,setErr:g,choose:k,mark:w}=(0,p.p)(),b=a.plan,y=async e=>{if("revise"===e&&!m.trim())return void g(i("pm.reviseNeedsNote"));("stop"!==e||await (0,d.Z)(i("pm.stopConfirm")))&&l(await k(e,async()=>{await o.FH.decidePlan(a.id,e,m)}))};return(0,r.jsxs)("div",{className:"approval",children:[(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("strong",{children:i("pm.cardTitle",{title:b.title})}),a.actor&&(0,r.jsx)(f.y,{actor:a.actor,how:"asks"}),void 0!==t&&(0,r.jsx)(n(),{href:"/",children:t}),(0,r.jsx)("span",{className:"muted small",children:h(a.createdAt)})]}),(0,r.jsx)("p",{className:"small",children:i("pm.cardWhy")}),(0,r.jsx)(x.D,{plan:b.plan,showApproval:!1}),(0,r.jsx)("label",{htmlFor:"plan-note-".concat(a.id),children:i("pm.note")}),(0,r.jsx)("textarea",{id:"plan-note-".concat(a.id),className:"prose",value:m,onChange:e=>u(e.target.value),placeholder:i("pm.notePlaceholder"),style:{minHeight:70},disabled:j}),v&&(0,r.jsx)("p",{className:"err",role:"alert",children:v}),(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("button",{className:"primary",...w("approve"),onClick:()=>void y("approve"),children:i("pm.approve")}),(0,r.jsx)("button",{...w("revise"),onClick:()=>void y("revise"),title:i("pm.reviseWhy"),children:i("pm.revise")}),(0,r.jsx)("button",{className:"danger",...w("stop"),onClick:()=>void y("stop"),children:i("pm.stop")})]})]})}},61238:(e,a,t)=>{t.d(a,{v:()=>c});var r=t(1521),s=t(15549);t(52157);let l=null,n=null,i=new Set;async function o(){try{l=await s.FH.activity()}catch(e){return}for(let e of i)e(l)}function c(){let[e,a]=(0,r.useState)(l);return(0,r.useEffect)(()=>(i.add(a),n?a(l):(o(),n=setInterval(()=>void o(),2e3)),()=>{i.delete(a),0===i.size&&n&&(clearInterval(n),n=null)}),[]),e}},83285:(e,a,t)=>{t.d(a,{g:()=>i});var r=t(73365),s=t(1521);let l="translate(104 14) scale(0.74) rotate(42 50 50)",n={ellipse:{cx:96,cy:64,rx:86,ry:36,rotate:-25,width:6.5},under:{d:"M70 104 C112 124 166 112 186 86 C194 74 192 60 184 52",width:6},trace:{d:"M22 28 C18 42 22 56 34 70",width:2.4}};function i(e){let{className:a="brand-logo"}=e,t="cop-logo-".concat((0,s.useId)().replace(/[^a-zA-Z0-9-]/g,"")),i=n.ellipse;return(0,r.jsxs)("svg",{className:a,viewBox:"0 0 200 120","aria-hidden":"true",focusable:"false",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("mask",{id:t,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"200",height:"120",children:[(0,r.jsx)("rect",{width:"200",height:"120",fill:"#fff"}),(0,r.jsx)("path",{d:"M50 3L94 60L94 62.6L69.5 89.6L30.5 89.6L6 62.6L6 60Z",transform:l,fill:"#000",stroke:"#000",strokeWidth:18,strokeLinejoin:"round"})]})}),(0,r.jsxs)("g",{mask:"url(#".concat(t,")"),fill:"none",stroke:"var(--logo-orbit)",strokeLinecap:"round",children:[(0,r.jsx)("ellipse",{cx:i.cx,cy:i.cy,rx:i.rx,ry:i.ry,transform:"rotate(".concat(i.rotate," ").concat(i.cx," ").concat(i.cy,")"),strokeWidth:i.width}),(0,r.jsx)("path",{d:n.under.d,strokeWidth:n.under.width}),(0,r.jsx)("path",{d:n.trace.d,strokeWidth:n.trace.width})]}),(0,r.jsx)("path",{className:"brand-plane",d:"M50 3C54.6 3 56.6 8.2 56.6 14.5L56.6 35.5L91.5 55.8C93.2 56.8 94 58.2 94 60L94 62.6L56.6 52.8L55.4 74.5L69.5 84.6L69.5 89.6L52.6 85.6L50 89.8L47.4 85.6L30.5 89.6L30.5 84.6L44.6 74.5L43.4 52.8L6 62.6L6 60C6 58.2 6.8 56.8 8.5 55.8L43.4 35.5L43.4 14.5C43.4 8.2 45.4 3 50 3Z",transform:l,fill:"var(--logo-plane)"})]})}},92842:(e,a,t)=>{t.d(a,{y:()=>n});var r=t(73365),s=t(52157),l=t(8205);function n(e){let{actor:a,acting:t,how:n="name"}=e,{t:i}=(0,l.kj)(),o=(0,s.Gy)(i,a,t),c="asks"===n?i("actor.asks",{who:o}):"now"===n?i("actor.now",{who:o}):o;return(0,r.jsxs)("span",{className:"actor-chip actor-".concat(a),"data-actor":a,title:i(s.Xi[a]),children:[(0,r.jsx)("span",{className:"actor-dot","aria-hidden":"true"}),c]})}},98078:(e,a,t)=>{t.d(a,{AppearanceProvider:()=>d,Xm:()=>n,KP:()=>h});var r=t(73365),s=t(1521);let l="cop.appearance",n=["smallest","verysmall","compact","small","normal","large","huge","giant"];"(function(){try{\nvar d=document.documentElement,raw=localStorage.getItem('".concat(l,"'),a=raw?JSON.parse(raw):{};\nif(!a||typeof a!=='object')a={};\nd.dataset.theme=a.theme==='dark'||a.theme==='light'?a.theme:window.matchMedia&&window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';\nd.dataset.textsize=").concat(JSON.stringify(n),".indexOf(a.textSize)>=0?a.textSize:'normal';\nd.dataset.contrast=a.highContrast?'high':'normal';\nd.dataset.motion=a.reduceMotion?'reduced':'normal';\nd.dataset.links=a.underlineLinks?'underline':'plain';\nd.dataset.focus=a.strongFocus?'strong':'normal';\nd.dataset.night=a.nightLight?'on':'off';\nd.dataset.cursor=a.systemCursor?'system':'own';\nvar l=(localStorage.getItem('cop.locale')||'').toLowerCase();\nif(").concat(JSON.stringify(["ar"]),".indexOf(l)>=0){d.dir='rtl';d.lang=l;}\n}catch(e){}})();");let i={theme:"system",textSize:"normal",highContrast:!1,reduceMotion:!1,underlineLinks:!1,strongFocus:!1,nightLight:!1,systemCursor:!1};function o(e){let a=document.documentElement;a.dataset.theme="system"===e.theme?!function(){try{return window.matchMedia("(prefers-color-scheme: dark)").matches}catch(e){return!1}}()?"light":"dark":e.theme,a.dataset.textsize=e.textSize,a.dataset.contrast=e.highContrast?"high":"normal",a.dataset.motion=e.reduceMotion?"reduced":"normal",a.dataset.links=e.underlineLinks?"underline":"plain",a.dataset.focus=e.strongFocus?"strong":"normal",a.dataset.night=e.nightLight?"on":"off",a.dataset.cursor=e.systemCursor?"system":"own"}let c=(0,s.createContext)({appearance:i,set:()=>void 0,reset:()=>void 0,loaded:!1});function d(e){let{children:a}=e,[t,d]=(0,s.useState)(i),[h,p]=(0,s.useState)(!1);(0,s.useEffect)(()=>{let e=i;try{let a=window.localStorage.getItem(l);a&&(e=function(e){let a=e&&"object"==typeof e?e:{},t=(e,a)=>"boolean"==typeof e?e:a;return{theme:"dark"===a.theme||"light"===a.theme||"system"===a.theme?a.theme:i.theme,textSize:n.includes(a.textSize)?a.textSize:i.textSize,highContrast:t(a.highContrast,i.highContrast),reduceMotion:t(a.reduceMotion,i.reduceMotion),underlineLinks:t(a.underlineLinks,i.underlineLinks),strongFocus:t(a.strongFocus,i.strongFocus),nightLight:t(a.nightLight,i.nightLight),systemCursor:t(a.systemCursor,i.systemCursor)}}(JSON.parse(a))),window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!a&&(e={...e,reduceMotion:!0})}catch(e){}d(e),o(e),p(!0)},[]),(0,s.useEffect)(()=>{let e;if("system"!==t.theme)return;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(e){return}let a=()=>o(t);return e.addEventListener("change",a),()=>e.removeEventListener("change",a)},[t]);let m=(0,s.useCallback)(e=>{d(a=>{let t={...a,...e};o(t);try{window.localStorage.setItem(l,JSON.stringify(t))}catch(e){}return t})},[]),u=(0,s.useCallback)(()=>{d(i),o(i);try{window.localStorage.removeItem(l)}catch(e){}},[]);return(0,r.jsx)(c.Provider,{value:{appearance:t,set:m,reset:u,loaded:h},children:a})}function h(){return(0,s.useContext)(c)}}}]);
|