copilot-operator 0.1.63 → 0.1.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/src/api/operator.controller.js +5 -3
  2. package/dist/src/api/operator.service.js +67 -7
  3. package/dist/src/plan/kerrigan.js +31 -4
  4. package/dist/src/plan/systemGuide.js +66 -2
  5. package/dist/src/queue/queue.js +8 -2
  6. package/dist/web/404.html +2 -2
  7. package/dist/web/_next/static/chunks/1077.32bfff8490ea3d67.js +1 -0
  8. package/dist/web/_next/static/chunks/1548.2bbbbb4759fd5073.js +1 -0
  9. package/dist/web/_next/static/chunks/2163.147b0ca65a65d5dd.js +1 -0
  10. package/dist/web/_next/static/chunks/714.16070ca6426f260c.js +1 -0
  11. package/dist/web/_next/static/chunks/7220.f71047baa16e6be0.js +1 -0
  12. package/dist/web/_next/static/chunks/7921-90ed63bfdf7162f3.js +1 -0
  13. package/dist/web/_next/static/chunks/8584.abc09920f03375b1.js +1 -0
  14. package/dist/web/_next/static/chunks/9067.538dec4d8ec0b04e.js +1 -0
  15. package/dist/web/_next/static/chunks/9747.9d15583d6ebafba3.js +1 -0
  16. package/dist/web/_next/static/chunks/app/page-185efe80d6e8dd05.js +1 -0
  17. package/dist/web/_next/static/chunks/app/queue/page-d4155eb6ab172c03.js +1 -0
  18. package/dist/web/_next/static/chunks/{webpack-38c956574db7c7a6.js → webpack-d85f02ecd2903252.js} +1 -1
  19. package/dist/web/_next/static/css/{2f2419505403ce07.css → d107848da2f006af.css} +1 -1
  20. package/dist/web/defaults.html +2 -2
  21. package/dist/web/defaults.txt +8 -8
  22. package/dist/web/index.html +3 -3
  23. package/dist/web/index.txt +9 -9
  24. package/dist/web/queue.html +2 -2
  25. package/dist/web/queue.txt +9 -9
  26. package/dist/web/settings.html +2 -2
  27. package/dist/web/settings.txt +9 -9
  28. package/dist/web/system.html +2 -2
  29. package/dist/web/system.txt +9 -9
  30. package/package.json +1 -1
  31. package/dist/web/_next/static/chunks/1077.155f883ebfb223ae.js +0 -1
  32. package/dist/web/_next/static/chunks/1548.52fe19b2bb6dbe66.js +0 -1
  33. package/dist/web/_next/static/chunks/2163.51278cbd88674f1a.js +0 -1
  34. package/dist/web/_next/static/chunks/714.a3555e6b7e5f4339.js +0 -1
  35. package/dist/web/_next/static/chunks/7220.a7dcaec140695190.js +0 -1
  36. package/dist/web/_next/static/chunks/7921-b7eba39a21993047.js +0 -1
  37. package/dist/web/_next/static/chunks/8584.baf85c4394dc04eb.js +0 -1
  38. package/dist/web/_next/static/chunks/9067.2d7665cd257d7b47.js +0 -1
  39. package/dist/web/_next/static/chunks/9747.66a374501673612f.js +0 -1
  40. package/dist/web/_next/static/chunks/app/page-03f129240e06a07c.js +0 -1
  41. package/dist/web/_next/static/chunks/app/queue/page-f86936d39121ade8.js +0 -1
  42. /package/dist/web/_next/static/{kxZRE1oIu_arurqhfP4mS → vU04zVwJyicqgtWQsApuV}/_buildManifest.js +0 -0
  43. /package/dist/web/_next/static/{kxZRE1oIu_arurqhfP4mS → vU04zVwJyicqgtWQsApuV}/_ssgManifest.js +0 -0
@@ -96,10 +96,11 @@ let OperatorController = class OperatorController {
96
96
  }
97
97
  // --- Kerrigan -------------------------------------------------------------------------------
98
98
  /** Kerrigan, the persona to give another chat: what copilot-operator is and how a task is best written for it. */
99
- kerrigan(lang) {
99
+ kerrigan(lang, skill) {
100
100
  // Any language code of the interface: in one she is not written out in, the page fills in the controls' names.
101
101
  const code = typeof lang === 'string' && /^[a-z]{2,3}$/.test(lang) ? lang : 'en';
102
- return this.ops.kerrigan(code).catch(fail);
102
+ // `skill`: the one chosen beside her button, whose instructions go with her text (2026-10-26).
103
+ return this.ops.kerrigan(code, typeof skill === 'string' && skill.trim() ? skill : undefined).catch(fail);
103
104
  }
104
105
  // --- the chat's conversations (sessions of kind `chat`) -------------------------------------
105
106
  sessions() {
@@ -494,8 +495,9 @@ __decorate([
494
495
  __decorate([
495
496
  Get('kerrigan'),
496
497
  __param(0, Query('lang')),
498
+ __param(1, Query('skill')),
497
499
  __metadata("design:type", Function),
498
- __metadata("design:paramtypes", [String]),
500
+ __metadata("design:paramtypes", [String, String]),
499
501
  __metadata("design:returntype", Promise)
500
502
  ], OperatorController.prototype, "kerrigan", null);
501
503
  __decorate([
@@ -36,6 +36,8 @@ import { chatCode } from '../transport/chatSession.js';
36
36
  /** The folders the operator works in: the default new sessions start on, and the rest by name. */
37
37
  /** The longest level 2 a project may have: Kerrigan carries each one whole. */
38
38
  export const MAX_PROJECT_LEVEL2 = 8000;
39
+ /** The longest name a conversation or a session may be given (2026-10-26). */
40
+ export const MAX_SESSION_NAME = 120;
39
41
  /*
40
42
  * Its instructions have no limit of their own (operator, 2026-10-25: "remove the limit; say how many characters there
41
43
  * are instead"): the message they go with is held to Settings' `limits.maxMessageChars` like every other — longer, its
@@ -296,6 +298,13 @@ let OperatorService = class OperatorService {
296
298
  if (patch.active !== undefined && this.running.has(id)) {
297
299
  throw new Error('This session is running; its status can be changed once it has stopped.');
298
300
  }
301
+ /*
302
+ * A conversation renamed (operator, 2026-10-26: "an option to rename the chats"): any time, working or not — it is
303
+ * what the list calls it. The conversation in Copilot keeps its own name (`Session.chat.name`), which is how the bot
304
+ * finds it again.
305
+ */
306
+ if (patch.name !== undefined && patch.name.trim().length > MAX_SESSION_NAME)
307
+ throw new Error(`A name can be at most ${MAX_SESSION_NAME} characters.`);
299
308
  const updated = await this.store.updateSession(id, (s) => {
300
309
  const before = { model: s.model, manualModel: s.manualModel };
301
310
  if (patch.name !== undefined)
@@ -1161,7 +1170,7 @@ let OperatorService = class OperatorService {
1161
1170
  * operator wrote for it. Nothing is sent anywhere: the page saves it or copies it. See `plan/kerrigan.ts`; in a
1162
1171
  * language she is not written out in, the page fills in the names of the controls (`filled: false`).
1163
1172
  */
1164
- async kerrigan(lang) {
1173
+ async kerrigan(lang, skill) {
1165
1174
  const cfg = await this.settings.load();
1166
1175
  const p = await this.project();
1167
1176
  const projects = [
@@ -1170,7 +1179,13 @@ let OperatorService = class OperatorService {
1170
1179
  ];
1171
1180
  // The skills, each with the name of the project it is for.
1172
1181
  const nameOf = (dir) => [{ name: p.name || p.rootDir, rootDir: p.rootDir }, ...p.others].find((x) => x.rootDir && sameFolder(x.rootDir, dir))?.name ?? dir;
1173
- const skills = (await this.skills()).skills.map((k) => ({ name: k.name, description: k.description, ...(k.projectDir ? { project: nameOf(k.projectDir) } : {}) }));
1182
+ const all = (await this.skills()).skills;
1183
+ const skills = all.map((k) => ({ name: k.name, description: k.description, ...(k.projectDir ? { project: nameOf(k.projectDir) } : {}) }));
1184
+ // The skill chosen beside her button (2026-10-26): its instructions go with her text.
1185
+ const asked = skill?.trim().replace(/^\//, '').toLowerCase();
1186
+ const chosen = asked ? all.find((k) => k.name === asked) : undefined;
1187
+ if (asked && !chosen)
1188
+ throw new Error(`There is no skill called "${asked}" in Settings → Skills.`);
1174
1189
  const text = kerriganPersona(lang, {
1175
1190
  version: botVersion(),
1176
1191
  skills,
@@ -1180,8 +1195,9 @@ let OperatorService = class OperatorService {
1180
1195
  maxReviewRounds: cfg.limits.maxReviewRounds ?? 2,
1181
1196
  maxSubtasks: cfg.limits.maxSubtasks ?? 20,
1182
1197
  projects,
1198
+ ...(chosen ? { chosenSkill: { name: chosen.name, description: chosen.description, text: chosen.text, ...(chosen.projectDir ? { project: nameOf(chosen.projectDir) } : {}) } } : {}),
1183
1199
  });
1184
- return { lang, fileName: kerriganFileName(lang), text, filled: lang === 'en' || lang === 'bg' };
1200
+ return { lang, fileName: kerriganFileName(lang, chosen?.name), text, filled: lang === 'en' || lang === 'bg' };
1185
1201
  }
1186
1202
  /** The chat's conversations, newest first. */
1187
1203
  async chatThreads() {
@@ -1352,7 +1368,24 @@ let OperatorService = class OperatorService {
1352
1368
  }
1353
1369
  async queue() {
1354
1370
  await this.recoverQueue();
1355
- return await this.readQueue();
1371
+ return await this.withBusy(await this.readQueue());
1372
+ }
1373
+ /**
1374
+ * The queue as the page is shown it: with what has the browser now, when it is not the queue's own task (2026-10-25)
1375
+ * — a message working in the chat, a reading of the models, the sign-in. The queue's next task starts after it.
1376
+ */
1377
+ async withBusy(q) {
1378
+ const holder = this.browser;
1379
+ if (!holder)
1380
+ return q;
1381
+ if (holder.kind !== 'run')
1382
+ return { ...q, busy: { kind: holder.kind } };
1383
+ if (q.items.some((x) => x.status === 'running' && x.sessionId === holder.sessionId))
1384
+ return q;
1385
+ const s = await this.store.getSession(holder.sessionId);
1386
+ const at = s?.tasks.find((t) => t.status === 'running' || t.status === 'waiting-approval') ?? s?.tasks.find((t) => t.status === 'queued');
1387
+ const busy = { kind: 'chat', sessionId: holder.sessionId, title: at?.title ?? s?.name.replace(/^chat: /, '') ?? '' };
1388
+ return { ...q, busy };
1356
1389
  }
1357
1390
  /** The list as the page edits it: added, changed, moved, taken out, put back to wait ("Run again"). */
1358
1391
  async setQueue(items) {
@@ -1360,6 +1393,13 @@ let OperatorService = class OperatorService {
1360
1393
  const checked = checkItems(items, MAX_INSTRUCTION_CHARS);
1361
1394
  if ('problem' in checked)
1362
1395
  throw new Error(checked.problem);
1396
+ // A skill is one of Settings' (2026-10-25); whether it is for the folder is said when the task runs, in its chat.
1397
+ const { skills } = await this.skills();
1398
+ const unknown = checked.items.findIndex((x) => x.skill && !skills.some((k) => k.name === x.skill));
1399
+ if (unknown >= 0) {
1400
+ const name = checked.items[unknown].skill;
1401
+ throw new Error(`Task ${unknown + 1} is sent with the skill "${name}", which is not in Settings → Skills${skills.length > 0 ? `; there are ${skills.map((k) => k.name).join(', ')}` : ''}.`);
1402
+ }
1363
1403
  let problem;
1364
1404
  const q = await this.changeQueue((x) => {
1365
1405
  const merged = mergeItems(x.items, checked.items);
@@ -1370,7 +1410,7 @@ let OperatorService = class OperatorService {
1370
1410
  });
1371
1411
  if (problem)
1372
1412
  throw new Error(problem);
1373
- return q;
1413
+ return await this.withBusy(q);
1374
1414
  }
1375
1415
  /** Runs the waiting tasks one after another, in the background; the page follows `queue()`. */
1376
1416
  async runQueue() {
@@ -1398,7 +1438,7 @@ let OperatorService = class OperatorService {
1398
1438
  x.running = false;
1399
1439
  });
1400
1440
  });
1401
- return started;
1441
+ return await this.withBusy(started);
1402
1442
  }
1403
1443
  /**
1404
1444
  * Tasks that would wait for the operator to choose their model by hand: none of their own, and no "Model for the
@@ -1420,7 +1460,7 @@ let OperatorService = class OperatorService {
1420
1460
  const at = q.items.find((x) => x.status === 'running');
1421
1461
  if (at?.sessionId)
1422
1462
  await this.stop(at.sessionId).catch(() => undefined);
1423
- return q;
1463
+ return await this.withBusy(q);
1424
1464
  }
1425
1465
  async runQueueLoop() {
1426
1466
  const now = () => new Date().toISOString();
@@ -1437,6 +1477,16 @@ let OperatorService = class OperatorService {
1437
1477
  await this.changeQueue((x) => this.setQueueItem(x, step.skip.id, { status: 'skipped', why: skippedBecause(step.because), endedAt: now() }));
1438
1478
  continue;
1439
1479
  }
1480
+ /*
1481
+ * Its turn comes when the browser is free (operator, 2026-10-25: "I add a task while one sent from the chat runs;
1482
+ * the new one starts after it"): whatever has it — a message of the chat, a reading of the models, the sign-in —
1483
+ * ends first. It waits as a task that waits, so it can still be edited, moved or taken out, and the queue is read
1484
+ * again before it is taken.
1485
+ */
1486
+ if (this.browser) {
1487
+ await new Promise((r) => setTimeout(r, 1_000));
1488
+ continue;
1489
+ }
1440
1490
  const item = step.run;
1441
1491
  await this.changeQueue((x) => this.setQueueItem(x, item.id, { status: 'running', startedAt: now(), why: undefined, endedAt: undefined, sessionId: undefined }));
1442
1492
  const ended = await this.runQueueItem(item).catch((e) => ({ status: 'failed', why: e.message }));
@@ -1475,6 +1525,7 @@ let OperatorService = class OperatorService {
1475
1525
  review: item.review,
1476
1526
  ...(item.reviewModel ? { reviewModel: item.reviewModel } : {}),
1477
1527
  ...(item.lead ? { lead: true, ...(item.workerModel ? { workerModel: item.workerModel } : {}) } : {}),
1528
+ ...(item.skill ? { skill: item.skill } : {}),
1478
1529
  });
1479
1530
  const sessionId = sent.threadId;
1480
1531
  await this.store.updateSession(sessionId, (s) => {
@@ -1492,6 +1543,15 @@ let OperatorService = class OperatorService {
1492
1543
  });
1493
1544
  await this.changeQueue((x) => this.setQueueItem(x, item.id, { sessionId }));
1494
1545
  const cfg = await this.settings.load();
1546
+ /*
1547
+ * A message of the chat sent meanwhile has the browser: this one starts after it, never refused for it. The browser
1548
+ * is looked at and taken in the same moment — `start` takes it before it awaits anything.
1549
+ */
1550
+ while (holder()) {
1551
+ if (this.queueClosing || !(await stillRunning()))
1552
+ return { status: 'stopped', why: 'the queue was stopped before it began', sessionId };
1553
+ await pause(1_000);
1554
+ }
1495
1555
  const reply = await this.start(sessionId, cfg.execution.mode);
1496
1556
  if (!reply.started)
1497
1557
  return { status: 'failed', why: reply.reason ?? 'it did not start', sessionId };
@@ -117,11 +117,38 @@ function skillsPart(lang, skills) {
117
117
  ...skills.map((k) => `- \`/${k.name}\`${k.project ? ` (${k.project})` : bg ? ' (всички проекти)' : ' (every project)'}${k.description ? ` — ${k.description}` : ''}`),
118
118
  ].join('\n');
119
119
  }
120
+ /** The skill chosen for the tasks she helps write, and its instructions as the bot sends them; none chosen, nothing. */
121
+ function chosenSkillPart(lang, k) {
122
+ if (!k)
123
+ return '';
124
+ const bg = WRITTEN(lang) === 'bg';
125
+ const Q = (key) => quoted(lang, key);
126
+ // Fenced with more backticks than any run in the instructions, so they are shown as they are, whatever they hold.
127
+ const longest = Math.max(0, ...(k.text.match(/`+/g) ?? []).map((x) => x.length));
128
+ const fence = '`'.repeat(Math.max(3, longest + 1));
129
+ const where = k.project ? ` (${k.project})` : bg ? ' (всички проекти)' : ' (every project)';
130
+ const what = k.description.trim() ? ` — ${k.description.trim()}` : '';
131
+ return [
132
+ '',
133
+ '',
134
+ bg ? `## Избраният skill: \`/${k.name}\`` : `## The skill chosen: \`/${k.name}\``,
135
+ '',
136
+ bg
137
+ ? `Човекът е избрал skill-а \`/${k.name}\`${where}${what} за задачите, които пише с теб. Пиши всяка задача от този вид така, че да върви с него: кажи да го избере в ${Q('chat.skill')} под полето на чата или да започне съобщението с \`/${k.name}\`. Ботът изпраща инструкциите му със съобщението, така че в съобщението остава само особеното за задачата и нищо, което им противоречи. Инструкциите му, както ботът ги изпраща:`
138
+ : `The person chose the skill \`/${k.name}\`${where}${what} for the tasks they write with you. Write each task of its kind to go with it: say to choose it in ${Q('chat.skill')} under the chat's box, or to start the message with \`/${k.name}\`. The bot sends its instructions with the message, so the message holds only what is particular to the task, and nothing that goes against them. Its instructions, as the bot sends them:`,
139
+ '',
140
+ `${fence}text`,
141
+ k.text.trim(),
142
+ fence,
143
+ ].join('\n');
144
+ }
120
145
  export function kerriganPersona(lang, facts) {
121
146
  return WRITTEN(lang) === 'bg' ? bgText(facts) : enText(lang, facts);
122
147
  }
123
- export function kerriganFileName(lang) {
124
- return `kerrigan-copilot-operator.${/^[a-z]{2,3}(-[A-Za-z0-9]+)?$/.test(lang) ? lang : 'en'}.md`;
148
+ export function kerriganFileName(lang, skill) {
149
+ // With a skill chosen, its name in the file's, so the two are told apart in a folder (2026-10-26).
150
+ const named = skill && /^[a-z0-9][a-z0-9-]{0,38}[a-z0-9]$/.test(skill) ? `.${skill}` : '';
151
+ return `kerrigan-copilot-operator${named}.${/^[a-z]{2,3}(-[A-Za-z0-9]+)?$/.test(lang) ? lang : 'en'}.md`;
125
152
  }
126
153
  function enText(lang, f) {
127
154
  const Q = (key) => quoted(lang, key);
@@ -165,7 +192,7 @@ ${projectsPart(lang, f.projects ?? [])}
165
192
 
166
193
  ## The skills
167
194
 
168
- ${skillsPart(lang, f.skills ?? [])}
195
+ ${skillsPart(lang, f.skills ?? [])}${chosenSkillPart(lang, f.chosenSkill)}
169
196
 
170
197
  ## How you help
171
198
 
@@ -234,7 +261,7 @@ ${projectsPart('bg', f.projects ?? [])}
234
261
 
235
262
  ## Skill-овете
236
263
 
237
- ${skillsPart('bg', f.skills ?? [])}
264
+ ${skillsPart('bg', f.skills ?? [])}${chosenSkillPart('bg', f.chosenSkill)}
238
265
 
239
266
  ## Как помагаш
240
267
 
@@ -409,8 +409,8 @@ export const SYSTEM_GUIDE = [
409
409
  kind: 'button',
410
410
  en: 'Kerrigan',
411
411
  bg: 'Кериган',
412
- doesEn: 'Opens a menu with two ways to take Kerrigan away: a persona to give to a chat of your own (Copilot, ChatGPT, another), so it knows what copilot-operator is and helps you write a task for it. Optional: the chat here works without her.',
413
- doesBg: 'Отваря меню с два начина да вземете Кериган: персона, която давате на чат по ваш избор (Copilot, ChatGPT или друг), за да знае какво е copilot-operator и да ви помогне да напишете задание за него. По желание: чатът тук работи и без нея.',
412
+ doesEn: 'Opens a menu with two ways to take Kerrigan away: a persona to give to a chat of your own (Copilot, ChatGPT, another), so it knows what copilot-operator is and helps you write a task for it. Optional: the chat here works without her. A skill chosen in "Skill" beside it goes with her text, its instructions whole — the same choice as "Skill" under the chat\'s box, each changing with the other.',
413
+ doesBg: 'Отваря меню с два начина да вземете Кериган: персона, която давате на чат по ваш избор (Copilot, ChatGPT или друг), за да знае какво е copilot-operator и да ви помогне да напишете задание за него. По желание: чатът тук работи и без нея. Skill, избран в „Skill“ до него, върви с текста ѝ, с инструкциите си изцяло — същият избор като „Skill“ под полето на чата, всеки се сменя с другия.',
414
414
  },
415
415
  {
416
416
  key: 'kerrigan.save',
@@ -674,6 +674,38 @@ export const SYSTEM_GUIDE = [
674
674
  doesEn: 'Beside the list: the next message starts a new conversation, in a new Copilot conversation with nothing of this one in it; this one stays in the list.',
675
675
  doesBg: 'До списъка: следващото съобщение започва нов разговор, в нов разговор в Copilot без нищо от този; този остава в списъка. Неактивен, докато върви задача — докато не бъде спряна („Спри“) или прозорецът ѝ затворен, — и в нов чат, който още не е започнал; казва защо, когато го посочите.',
676
676
  },
677
+ {
678
+ key: 'chat.rename',
679
+ kind: 'button',
680
+ en: 'Rename the conversation',
681
+ bg: 'Преименувай разговора',
682
+ doesEn: 'The ✎ beside the list, once a conversation is open: its name in a box where the list was, at any time, working or not. The conversation in Copilot keeps its own name, which is how the bot finds it again.',
683
+ doesBg: 'Знакът ✎ до списъка, когато е отворен разговор: името му в поле на мястото на списъка, по всяко време, докато работи или не. Разговорът в Copilot пази своето име, по което ботът го намира отново.',
684
+ },
685
+ {
686
+ key: 'chat.renameLabel',
687
+ kind: 'field',
688
+ en: 'The conversation\'s name',
689
+ bg: 'Името на разговора',
690
+ doesEn: 'The new name, up to 120 characters; Enter keeps it, Escape leaves it as it was.',
691
+ doesBg: 'Новото име, до 120 знака; Enter го запазва, Escape го оставя, както е било.',
692
+ },
693
+ {
694
+ key: 'chat.renameSave',
695
+ kind: 'button',
696
+ en: 'Save the name',
697
+ bg: 'Запиши името',
698
+ doesEn: 'The ✓ beside the name: keeps it, and the list shows it.',
699
+ doesBg: 'Знакът ✓ до името: запазва го и списъкът го показва.',
700
+ },
701
+ {
702
+ key: 'chat.renameCancel',
703
+ kind: 'button',
704
+ en: 'Cancel',
705
+ bg: 'Отказ',
706
+ doesEn: 'The ✕ beside the name: leaves it as it was.',
707
+ doesBg: 'Знакът ✕ до името: оставя го, както е било.',
708
+ },
677
709
  {
678
710
  key: 'chat.welcome',
679
711
  kind: 'note',
@@ -794,6 +826,14 @@ export const SYSTEM_GUIDE = [
794
826
  doesEn: 'While it works: stops it; the message in flight ends stopped and can be carried on. The Copilot window stays open for the next message.',
795
827
  doesBg: 'Докато работи: спира го; текущото съобщение завършва спряно и може да продължи. Прозорецът на Copilot остава отворен за следващото съобщение.',
796
828
  },
829
+ {
830
+ key: 'chat.stoppingNow',
831
+ kind: 'button',
832
+ en: 'Stopping',
833
+ bg: 'Спиране',
834
+ doesEn: '"Stop" once pressed: off, its dots going round ("Stopping." "Stopping.." "Stopping...") until the work has stopped — an answer Copilot is writing is waited for first.',
835
+ doesBg: '„Спри“, след като е натиснат: неактивен, с точки, които се сменят („Спиране.“ „Спиране..“ „Спиране...“), докато работата спре — отговор, който Copilot пише, първо се изчаква.',
836
+ },
797
837
  {
798
838
  key: 'chat.skill',
799
839
  kind: 'select',
@@ -1462,6 +1502,14 @@ export const SYSTEM_GUIDE = [
1462
1502
  doesEn: 'Stops the task at work, as the chat\'s Stop does; the rest wait.',
1463
1503
  doesBg: 'Спира задачата, която работи, както Спри в чата; останалите чакат.',
1464
1504
  },
1505
+ {
1506
+ key: 'q.stopping',
1507
+ kind: 'button',
1508
+ en: 'Stopping the queue',
1509
+ bg: 'Спиране на опашката',
1510
+ doesEn: '"Stop the queue" once pressed, while its task at work is stopping: off, its dots going round, until that task has stopped.',
1511
+ doesBg: '„Спри опашката“, след като е натиснат, докато задачата ѝ спира: неактивен, с точки, които се сменят, докато задачата спре.',
1512
+ },
1465
1513
  {
1466
1514
  key: 'q.graph',
1467
1515
  kind: 'note',
@@ -1661,6 +1709,22 @@ export const SYSTEM_GUIDE = [
1661
1709
  doesEn: 'Puts the task at the end of the queue, waiting.',
1662
1710
  doesBg: 'Слага задачата в края на опашката, да чака.',
1663
1711
  },
1712
+ {
1713
+ key: 'q.addAfter',
1714
+ kind: 'button',
1715
+ en: 'Add, to start after it',
1716
+ bg: 'Добави, да започне след него',
1717
+ doesEn: 'In place of "Add to the queue" while a message sent from the chat is working (or the models are being read, or the sign-in is open) and the queue is not running: adds the task and starts the queue, whose first waiting task begins as soon as that work has ended. The line above the list says what is working.',
1718
+ doesBg: 'Вместо „Добави в опашката“, докато работи съобщение, пуснато от чата (или се четат моделите, или е отворено влизането), а опашката не върви: добавя задачата и пуска опашката, чиято първа чакаща задача започва веднага щом тази работа приключи. Редът над списъка казва какво работи.',
1719
+ },
1720
+ {
1721
+ key: 'q.skill',
1722
+ kind: 'select',
1723
+ en: 'Skill',
1724
+ bg: 'Skill',
1725
+ doesEn: 'One of Settings\' skills — for every project or for the open folder — sent with the task as /its-name sends it in the chat; "+ Skills" beside it opens Settings at the skills.',
1726
+ doesBg: 'Един от skill-овете в Настройки — за всички проекти или за отворената папка — изпратен със задачата, както го изпраща /името-му в чата; „+ Skill-ове“ до него отваря Настройки при skill-овете.',
1727
+ },
1664
1728
  ],
1665
1729
  },
1666
1730
  ],
@@ -9,7 +9,10 @@
9
9
  * task skipped for it — is skipped, and the queue goes on with the next one that does not;
10
10
  * - a task works in the folder as it is, or on a new branch made from main. The server's main is fetched without a
11
11
  * password or a key's passphrase, which nobody is there to type; when it cannot be, the local main is used, and the
12
- * chat is told which it was.
12
+ * chat is told which it was;
13
+ * - a task may carry one of Settings' skills, sent with it as the chat's box sends one (2026-10-25);
14
+ * - a task added while something else works — a message of the chat, sent there directly — starts after it
15
+ * (2026-10-25): the queue waits for the browser to be free before it takes the next task.
13
16
  *
14
17
  * Kept as `data/queue.json` (see `OperatorService.queue`). This module is the part that needs no browser: the shape,
15
18
  * the checks of an edit, and which task is next.
@@ -57,6 +60,8 @@ export function checkItems(items, maxPromptChars) {
57
60
  if (name.length > MAX_QUEUE_NAME)
58
61
  return { problem: `The name of task ${n} is longer than ${MAX_QUEUE_NAME} characters.` };
59
62
  const lead = x.lead === true;
63
+ // As typed after "/" in the chat, or as Settings list it: whether it is there is the server's to say.
64
+ const skill = text(x.skill).replace(/^\//, '').toLowerCase();
60
65
  out.push({
61
66
  id,
62
67
  ...(name ? { name } : {}),
@@ -69,6 +74,7 @@ export function checkItems(items, maxPromptChars) {
69
74
  ...(!lead && text(x.reviewModel) ? { reviewModel: text(x.reviewModel) } : {}),
70
75
  ...(lead ? { lead: true } : {}),
71
76
  ...(lead && text(x.workerModel) ? { workerModel: text(x.workerModel) } : {}),
77
+ ...(skill ? { skill } : {}),
72
78
  ...(status ? { status } : {}),
73
79
  });
74
80
  seen.add(id);
@@ -104,7 +110,7 @@ export function mergeItems(current, edited) {
104
110
  return { items };
105
111
  }
106
112
  /** What the operator gives a task, apart from what its runs give it. */
107
- const GIVEN = ['id', 'name', 'prompt', 'model', 'dependsOn', 'branch', 'review', 'reviewModel', 'lead', 'workerModel'];
113
+ const GIVEN = ['id', 'name', 'prompt', 'model', 'dependsOn', 'branch', 'review', 'reviewModel', 'lead', 'workerModel', 'skill'];
108
114
  function asGiven(x) {
109
115
  const out = {};
110
116
  for (const key of GIVEN)
package/dist/web/404.html CHANGED
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><!--kxZRE1oIu_arurqhfP4mS--><html lang="en" data-theme="light" data-textsize="normal" data-contrast="normal" data-motion="normal" data-links="plain" data-focus="normal" data-night="off"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/2f2419505403ce07.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-38c956574db7c7a6.js"/><script src="/_next/static/chunks/c7879cf7-fabe25011515220e.js" async=""></script><script src="/_next/static/chunks/3131-8ec8b632ebf0450d.js" async=""></script><script src="/_next/static/chunks/main-app-d23441ca81b3a063.js" async=""></script><script src="/_next/static/chunks/8197-e2fcb43f38a2b4a7.js" async=""></script><script src="/_next/static/chunks/7921-b7eba39a21993047.js" async=""></script><script src="/_next/static/chunks/8124-5458b17433987fab.js" async=""></script><script src="/_next/static/chunks/app/layout-9201c637ca24b2c9.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>copilot-operator</title><meta name="description" content="Runs task loops with Microsoft 365 Copilot on this machine."/><link rel="icon" href="/icon.svg?23b6e9b8199c9069" type="image/svg+xml" sizes="any"/><script>(function(){try{
1
+ <!DOCTYPE html><!--vU04zVwJyicqgtWQsApuV--><html lang="en" data-theme="light" data-textsize="normal" data-contrast="normal" data-motion="normal" data-links="plain" data-focus="normal" data-night="off"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/d107848da2f006af.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-d85f02ecd2903252.js"/><script src="/_next/static/chunks/c7879cf7-fabe25011515220e.js" async=""></script><script src="/_next/static/chunks/3131-8ec8b632ebf0450d.js" async=""></script><script src="/_next/static/chunks/main-app-d23441ca81b3a063.js" async=""></script><script src="/_next/static/chunks/8197-e2fcb43f38a2b4a7.js" async=""></script><script src="/_next/static/chunks/7921-90ed63bfdf7162f3.js" async=""></script><script src="/_next/static/chunks/8124-5458b17433987fab.js" async=""></script><script src="/_next/static/chunks/app/layout-9201c637ca24b2c9.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>copilot-operator</title><meta name="description" content="Runs task loops with Microsoft 365 Copilot on this machine."/><link rel="icon" href="/icon.svg?23b6e9b8199c9069" type="image/svg+xml" sizes="any"/><script>(function(){try{
2
2
  var d=document.documentElement,raw=localStorage.getItem('cop.appearance'),a=raw?JSON.parse(raw):{};
3
3
  if(!a||typeof a!=='object')a={};
4
4
  d.dataset.theme=a.theme==='dark'||a.theme==='light'?a.theme:window.matchMedia&&window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';
@@ -11,4 +11,4 @@ d.dataset.night=a.nightLight?'on':'off';
11
11
  d.dataset.cursor=a.systemCursor?'system':'own';
12
12
  var l=(localStorage.getItem('cop.locale')||'').toLowerCase();
13
13
  if(["ar"].indexOf(l)>=0){d.dir='rtl';d.lang=l;}
14
- }catch(e){}})();</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><a class="skip-link" href="#main">Skip to the content</a><div class="wrap"><header class="top"><h1><a class="brand-link" href="/"><svg class="brand-logo" viewBox="0 0 200 120" aria-hidden="true" focusable="false"><defs><mask id="cop-logo-R56db" maskUnits="userSpaceOnUse" x="0" y="0" width="200" height="120"><rect width="200" height="120" fill="#fff"></rect><path d="M50 3L94 60L94 62.6L69.5 89.6L30.5 89.6L6 62.6L6 60Z" transform="translate(104 14) scale(0.74) rotate(42 50 50)" fill="#000" stroke="#000" stroke-width="18" stroke-linejoin="round"></path></mask></defs><g mask="url(#cop-logo-R56db)" fill="none" stroke="var(--logo-orbit)" stroke-linecap="round"><ellipse cx="96" cy="64" rx="86" ry="36" transform="rotate(-25 96 64)" stroke-width="6.5"></ellipse><path d="M70 104 C112 124 166 112 186 86 C194 74 192 60 184 52" stroke-width="6"></path><path d="M22 28 C18 42 22 56 34 70" stroke-width="2.4"></path></g><path class="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="translate(104 14) scale(0.74) rotate(42 50 50)" fill="var(--logo-plane)"></path></svg>copilot-operator</a></h1><nav aria-label="Main"><a href="/"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M4 5h16v11H9l-5 4zM8 9h8M8 12h5" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"></path></svg><span>Chat</span></a><a href="/queue"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M4 6h16M4 12h16M4 18h10M17 16l3 2-3 2z" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"></path></svg><span>Queue</span></a><a href="/settings"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><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"></path></svg><span>Settings</span></a><a href="/system"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M4 5h16v10H4zM2 19h20M9 15v4M15 15v4" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"></path></svg><span>System</span></a><span class="nav-pair"><button type="button" class="lang-btn ap-btn" aria-label="Appearance: theme and text" title="Appearance: theme and text" aria-expanded="false"><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><circle cx="12" cy="12" r="8.5"></circle><path d="M12 3.5a8.5 8.5 0 0 1 0 17z" fill="currentColor" stroke="none"></path></svg><span aria-hidden="true">Appearance</span></button><span class="lang-menu"><button type="button" class="lang-btn" aria-haspopup="menu" aria-expanded="false" title="The language of the interface"><svg class="lang-globe" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="currentColor" stroke-width="1.3"></circle><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" stroke-width="1.1"></path></svg><span lang="en">Language</span><span aria-hidden="true">▾</span></button></span></span></nav></header><main id="main"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main></div><script src="/_next/static/chunks/webpack-38c956574db7c7a6.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[98078,[\"8197\",\"static/chunks/8197-e2fcb43f38a2b4a7.js\",\"7921\",\"static/chunks/7921-b7eba39a21993047.js\",\"8124\",\"static/chunks/8124-5458b17433987fab.js\",\"7177\",\"static/chunks/app/layout-9201c637ca24b2c9.js\"],\"AppearanceProvider\"]\n3:I[8205,[\"8197\",\"static/chunks/8197-e2fcb43f38a2b4a7.js\",\"7921\",\"static/chunks/7921-b7eba39a21993047.js\",\"8124\",\"static/chunks/8124-5458b17433987fab.js\",\"7177\",\"static/chunks/app/layout-9201c637ca24b2c9.js\"],\"LanguageProvider\"]\n4:I[51035,[\"8197\",\"static/chunks/8197-e2fcb43f38a2b4a7.js\",\"7921\",\"static/chunks/7921-b7eba39a21993047.js\",\"8124\",\"static/chunks/8124-5458b17433987fab.js\",\"7177\",\"static/chunks/app/layout-9201c637ca24b2c9.js\"],\"DialogHost\"]\n5:I[16752,[\"8197\",\"static/chunks/8197-e2fcb43f38a2b4a7.js\",\"7921\",\"static/chunks/7921-b7eba39a21993047.js\",\"8124\",\"static/chunks/8124-5458b17433987fab.js\",\"7177\",\"static/chunks/app/layout-9201c637ca24b2c9.js\"],\"SkipLink\"]\n6:I[68300,[\"8197\",\"static/chunks/8197-e2fcb43f38a2b4a7.js\",\"7921\",\"static/chunks/7921-b7eba39a21993047.js\",\"8124\",\"static/chunks/8124-5458b17433987fab.js\",\"7177\",\"static/chunks/app/layout-9201c637ca24b2c9.js\"],\"Shell\"]\n7:I[25204,[],\"\"]\n8:I[42642,[],\"\"]\n9:I[87712,[\"8197\",\"static/chunks/8197-e2fcb43f38a2b4a7.js\",\"7921\",\"static/chunks/7921-b7eba39a21993047.js\",\"8124\",\"static/chunks/8124-5458b17433987fab.js\",\"7177\",\"static/chunks/app/layout-9201c637ca24b2c9.js\"],\"ScrollJump\"]\na:I[60433,[],\"OutletBoundary\"]\nc:I[19884,[],\"AsyncMetadataOutlet\"]\ne:I[60433,[],\"ViewportBoundary\"]\n10:I[60433,[],\"MetadataBoundary\"]\n11:\"$Sreact.suspense\"\n13:I[3536,[],\"\"]\n:HL[\"/_next/static/css/2f2419505403ce07.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"kxZRE1oIu_arurqhfP4mS\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/2f2419505403ce07.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"data-theme\":\"light\",\"data-textsize\":\"normal\",\"data-contrast\":\"normal\",\"data-motion\":\"normal\",\"data-links\":\"plain\",\"data-focus\":\"normal\",\"data-night\":\"off\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{\\nvar d=document.documentElement,raw=localStorage.getItem('cop.appearance'),a=raw?JSON.parse(raw):{};\\nif(!a||typeof a!=='object')a={};\\nd.dataset.theme=a.theme==='dark'||a.theme==='light'?a.theme:window.matchMedia\u0026\u0026window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';\\nd.dataset.textsize=[\\\"smallest\\\",\\\"verysmall\\\",\\\"compact\\\",\\\"small\\\",\\\"normal\\\",\\\"large\\\",\\\"huge\\\",\\\"giant\\\"].indexOf(a.textSize)\u003e=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([\\\"ar\\\"].indexOf(l)\u003e=0){d.dir='rtl';d.lang=l;}\\n}catch(e){}})();\"}}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"children\":[[\"$\",\"$L5\",null,{}],[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}],[\"$\",\"$L9\",null,{}]]}]}]}]}]]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$La\",null,{\"children\":[\"$Lb\",[\"$\",\"$Lc\",null,{\"promise\":\"$@d\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$Le\",null,{\"children\":\"$Lf\"}],null],[\"$\",\"$L10\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$11\",null,{\"fallback\":null,\"children\":\"$L12\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$13\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"f:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\nb:null\n"])</script><script>self.__next_f.push([1,"14:I[66644,[],\"IconMark\"]\nd:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"copilot-operator\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Runs task loops with Microsoft 365 Copilot on this machine.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/icon.svg?23b6e9b8199c9069\",\"type\":\"image/svg+xml\",\"sizes\":\"any\"}],[\"$\",\"$L14\",\"3\",{}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"12:\"$d:metadata\"\n"])</script></body></html>
14
+ }catch(e){}})();</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><a class="skip-link" href="#main">Skip to the content</a><div class="wrap"><header class="top"><h1><a class="brand-link" href="/"><svg class="brand-logo" viewBox="0 0 200 120" aria-hidden="true" focusable="false"><defs><mask id="cop-logo-R56db" maskUnits="userSpaceOnUse" x="0" y="0" width="200" height="120"><rect width="200" height="120" fill="#fff"></rect><path d="M50 3L94 60L94 62.6L69.5 89.6L30.5 89.6L6 62.6L6 60Z" transform="translate(104 14) scale(0.74) rotate(42 50 50)" fill="#000" stroke="#000" stroke-width="18" stroke-linejoin="round"></path></mask></defs><g mask="url(#cop-logo-R56db)" fill="none" stroke="var(--logo-orbit)" stroke-linecap="round"><ellipse cx="96" cy="64" rx="86" ry="36" transform="rotate(-25 96 64)" stroke-width="6.5"></ellipse><path d="M70 104 C112 124 166 112 186 86 C194 74 192 60 184 52" stroke-width="6"></path><path d="M22 28 C18 42 22 56 34 70" stroke-width="2.4"></path></g><path class="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="translate(104 14) scale(0.74) rotate(42 50 50)" fill="var(--logo-plane)"></path></svg>copilot-operator</a></h1><nav aria-label="Main"><a href="/"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M4 5h16v11H9l-5 4zM8 9h8M8 12h5" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"></path></svg><span>Chat</span></a><a href="/queue"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M4 6h16M4 12h16M4 18h10M17 16l3 2-3 2z" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"></path></svg><span>Queue</span></a><a href="/settings"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><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"></path></svg><span>Settings</span></a><a href="/system"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M4 5h16v10H4zM2 19h20M9 15v4M15 15v4" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"></path></svg><span>System</span></a><span class="nav-pair"><button type="button" class="lang-btn ap-btn" aria-label="Appearance: theme and text" title="Appearance: theme and text" aria-expanded="false"><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><circle cx="12" cy="12" r="8.5"></circle><path d="M12 3.5a8.5 8.5 0 0 1 0 17z" fill="currentColor" stroke="none"></path></svg><span aria-hidden="true">Appearance</span></button><span class="lang-menu"><button type="button" class="lang-btn" aria-haspopup="menu" aria-expanded="false" title="The language of the interface"><svg class="lang-globe" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="currentColor" stroke-width="1.3"></circle><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" stroke-width="1.1"></path></svg><span lang="en">Language</span><span aria-hidden="true">▾</span></button></span></span></nav></header><main id="main"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main></div><script src="/_next/static/chunks/webpack-d85f02ecd2903252.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[98078,[\"8197\",\"static/chunks/8197-e2fcb43f38a2b4a7.js\",\"7921\",\"static/chunks/7921-90ed63bfdf7162f3.js\",\"8124\",\"static/chunks/8124-5458b17433987fab.js\",\"7177\",\"static/chunks/app/layout-9201c637ca24b2c9.js\"],\"AppearanceProvider\"]\n3:I[8205,[\"8197\",\"static/chunks/8197-e2fcb43f38a2b4a7.js\",\"7921\",\"static/chunks/7921-90ed63bfdf7162f3.js\",\"8124\",\"static/chunks/8124-5458b17433987fab.js\",\"7177\",\"static/chunks/app/layout-9201c637ca24b2c9.js\"],\"LanguageProvider\"]\n4:I[51035,[\"8197\",\"static/chunks/8197-e2fcb43f38a2b4a7.js\",\"7921\",\"static/chunks/7921-90ed63bfdf7162f3.js\",\"8124\",\"static/chunks/8124-5458b17433987fab.js\",\"7177\",\"static/chunks/app/layout-9201c637ca24b2c9.js\"],\"DialogHost\"]\n5:I[16752,[\"8197\",\"static/chunks/8197-e2fcb43f38a2b4a7.js\",\"7921\",\"static/chunks/7921-90ed63bfdf7162f3.js\",\"8124\",\"static/chunks/8124-5458b17433987fab.js\",\"7177\",\"static/chunks/app/layout-9201c637ca24b2c9.js\"],\"SkipLink\"]\n6:I[68300,[\"8197\",\"static/chunks/8197-e2fcb43f38a2b4a7.js\",\"7921\",\"static/chunks/7921-90ed63bfdf7162f3.js\",\"8124\",\"static/chunks/8124-5458b17433987fab.js\",\"7177\",\"static/chunks/app/layout-9201c637ca24b2c9.js\"],\"Shell\"]\n7:I[25204,[],\"\"]\n8:I[42642,[],\"\"]\n9:I[87712,[\"8197\",\"static/chunks/8197-e2fcb43f38a2b4a7.js\",\"7921\",\"static/chunks/7921-90ed63bfdf7162f3.js\",\"8124\",\"static/chunks/8124-5458b17433987fab.js\",\"7177\",\"static/chunks/app/layout-9201c637ca24b2c9.js\"],\"ScrollJump\"]\na:I[60433,[],\"OutletBoundary\"]\nc:I[19884,[],\"AsyncMetadataOutlet\"]\ne:I[60433,[],\"ViewportBoundary\"]\n10:I[60433,[],\"MetadataBoundary\"]\n11:\"$Sreact.suspense\"\n13:I[3536,[],\"\"]\n:HL[\"/_next/static/css/d107848da2f006af.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"vU04zVwJyicqgtWQsApuV\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/d107848da2f006af.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"data-theme\":\"light\",\"data-textsize\":\"normal\",\"data-contrast\":\"normal\",\"data-motion\":\"normal\",\"data-links\":\"plain\",\"data-focus\":\"normal\",\"data-night\":\"off\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{\\nvar d=document.documentElement,raw=localStorage.getItem('cop.appearance'),a=raw?JSON.parse(raw):{};\\nif(!a||typeof a!=='object')a={};\\nd.dataset.theme=a.theme==='dark'||a.theme==='light'?a.theme:window.matchMedia\u0026\u0026window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';\\nd.dataset.textsize=[\\\"smallest\\\",\\\"verysmall\\\",\\\"compact\\\",\\\"small\\\",\\\"normal\\\",\\\"large\\\",\\\"huge\\\",\\\"giant\\\"].indexOf(a.textSize)\u003e=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([\\\"ar\\\"].indexOf(l)\u003e=0){d.dir='rtl';d.lang=l;}\\n}catch(e){}})();\"}}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"children\":[[\"$\",\"$L5\",null,{}],[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}],[\"$\",\"$L9\",null,{}]]}]}]}]}]]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$La\",null,{\"children\":[\"$Lb\",[\"$\",\"$Lc\",null,{\"promise\":\"$@d\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$Le\",null,{\"children\":\"$Lf\"}],null],[\"$\",\"$L10\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$11\",null,{\"fallback\":null,\"children\":\"$L12\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$13\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"f:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\nb:null\n"])</script><script>self.__next_f.push([1,"14:I[66644,[],\"IconMark\"]\nd:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"copilot-operator\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Runs task loops with Microsoft 365 Copilot on this machine.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/icon.svg?23b6e9b8199c9069\",\"type\":\"image/svg+xml\",\"sizes\":\"any\"}],[\"$\",\"$L14\",\"3\",{}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"12:\"$d:metadata\"\n"])</script></body></html>