copilot-operator 0.1.54 → 0.1.55
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 +2 -0
- package/dist/src/api/operator.service.js +12 -3
- package/dist/src/orchestrator/hold.js +25 -0
- package/dist/src/orchestrator/leadLedger.js +88 -0
- package/dist/src/orchestrator/leadRunner.js +22 -0
- package/dist/src/orchestrator/taskRunner.js +10 -4
- package/dist/src/plan/systemGuide.js +46 -6
- package/dist/src/protocol/leadSchema.js +36 -2
- package/dist/src/session/store.js +3 -0
- package/dist/web/404.html +2 -2
- package/dist/web/_next/static/chunks/1077.3c07f38a61cef38a.js +1 -0
- package/dist/web/_next/static/chunks/1548.55dadf800d6c2a79.js +1 -0
- package/dist/web/_next/static/chunks/2163.83d1085b99ac1773.js +1 -0
- package/dist/web/_next/static/chunks/714.88c495053f62f187.js +1 -0
- package/dist/web/_next/static/chunks/7220.f1e8a10d52a7ee87.js +1 -0
- package/dist/web/_next/static/chunks/7500-1353339f7e2eda10.js +1 -0
- package/dist/web/_next/static/chunks/7921-56de379f7bdfbacf.js +1 -0
- package/dist/web/_next/static/chunks/8584.b34930a6837344a6.js +1 -0
- package/dist/web/_next/static/chunks/9067.5651e8647cef053f.js +1 -0
- package/dist/web/_next/static/chunks/9747.ad6b319cf12169ee.js +1 -0
- package/dist/web/_next/static/chunks/app/defaults/page-ba24062a86d50e12.js +1 -0
- package/dist/web/_next/static/chunks/app/page-07f80fd07281a230.js +1 -0
- package/dist/web/_next/static/chunks/webpack-ab0451ef95a8f52a.js +1 -0
- package/dist/web/_next/static/css/{d3398f485b2a9075.css → 131c746a9d388eda.css} +1 -1
- package/dist/web/defaults.html +2 -2
- package/dist/web/defaults.txt +9 -9
- package/dist/web/index.html +3 -3
- package/dist/web/index.txt +9 -9
- package/dist/web/system.html +2 -2
- package/dist/web/system.txt +9 -9
- package/package.json +4 -2
- package/prompts/lead1.md +29 -5
- package/dist/web/_next/static/chunks/1077.ae2fd686ef05572e.js +0 -1
- package/dist/web/_next/static/chunks/1548.bd558d3f2c8df4af.js +0 -1
- package/dist/web/_next/static/chunks/2163.b41334711ddcceff.js +0 -1
- package/dist/web/_next/static/chunks/714.cb77983f9be215c9.js +0 -1
- package/dist/web/_next/static/chunks/7220.072a60cd9d60220a.js +0 -1
- package/dist/web/_next/static/chunks/7500-f90e2ae7061e351d.js +0 -1
- package/dist/web/_next/static/chunks/7921-54dae769aa8bae96.js +0 -1
- package/dist/web/_next/static/chunks/8584.9d5d6c09b0375015.js +0 -1
- package/dist/web/_next/static/chunks/9067.832c4761a991f2c2.js +0 -1
- package/dist/web/_next/static/chunks/9747.c8d4ba56c9eef95f.js +0 -1
- package/dist/web/_next/static/chunks/app/defaults/page-a1f90fe37e302928.js +0 -1
- package/dist/web/_next/static/chunks/app/page-57787f15774d76b8.js +0 -1
- package/dist/web/_next/static/chunks/webpack-cb74fa884b8af278.js +0 -1
- /package/dist/web/_next/static/{WuIGWiKKh_ESR3KwzsLZF → w1xPyNasTvFr11R3F7HkS}/_buildManifest.js +0 -0
- /package/dist/web/_next/static/{WuIGWiKKh_ESR3KwzsLZF → w1xPyNasTvFr11R3F7HkS}/_ssgManifest.js +0 -0
|
@@ -275,6 +275,8 @@ let OperatorController = class OperatorController {
|
|
|
275
275
|
...(typeof body.lang === 'string' && /^[a-z]{2,3}$/.test(body.lang) ? { lang: body.lang } : {}),
|
|
276
276
|
...(body.planMode === true ? { planMode: true } : {}),
|
|
277
277
|
...(typeof body.review === 'boolean' ? { review: body.review } : {}),
|
|
278
|
+
// The review's model, chosen beside the box (2026-10-21); left out, Settings' review model.
|
|
279
|
+
...(typeof body.reviewModel === 'string' && body.reviewModel.trim() ? { reviewModel: body.reviewModel } : {}),
|
|
278
280
|
// Two chats, for a new conversation: a lead that directs and a worker that carries out (2026-10-20).
|
|
279
281
|
...(body.lead === true ? { lead: true } : {}),
|
|
280
282
|
...(typeof body.workerModel === 'string' && body.workerModel.trim() ? { workerModel: body.workerModel } : {}),
|
|
@@ -248,7 +248,8 @@ let OperatorService = class OperatorService {
|
|
|
248
248
|
async listSessions() {
|
|
249
249
|
await this.init();
|
|
250
250
|
const all = await this.store.listSessions();
|
|
251
|
-
|
|
251
|
+
// The pauses of the run going on, for the page to take them off the minutes it shows (2026-10-21).
|
|
252
|
+
return all.map((s) => ({ ...s, running: this.running.has(s.id), paused: this.running.get(s.id)?.hold.held ?? false, ...this.pausesOf(s.id) }));
|
|
252
253
|
}
|
|
253
254
|
async getSession(id) {
|
|
254
255
|
await this.init();
|
|
@@ -256,7 +257,12 @@ let OperatorService = class OperatorService {
|
|
|
256
257
|
if (!s)
|
|
257
258
|
return null;
|
|
258
259
|
const pending = [...this.waiting.values()].filter((w) => w.approval.sessionId === id).map((w) => w.approval);
|
|
259
|
-
return { ...s, running: this.running.has(id), paused: this.running.get(id)?.hold.held ?? false, pending, runMode: this.running.get(id)?.mode };
|
|
260
|
+
return { ...s, running: this.running.has(id), paused: this.running.get(id)?.hold.held ?? false, ...this.pausesOf(id), pending, runMode: this.running.get(id)?.mode };
|
|
261
|
+
}
|
|
262
|
+
/** The pauses of the run going on in a session, from "Pause" to "Continue"; none when nothing runs or it was never paused. */
|
|
263
|
+
pausesOf(id) {
|
|
264
|
+
const pauses = this.running.get(id)?.hold.pauses ?? [];
|
|
265
|
+
return pauses.length > 0 ? { pauses } : {};
|
|
260
266
|
}
|
|
261
267
|
async updateSession(id, patch) {
|
|
262
268
|
await this.init();
|
|
@@ -1163,7 +1169,10 @@ let OperatorService = class OperatorService {
|
|
|
1163
1169
|
* says which. A second conversation checks the work when it says it is done, and sends back what it finds; it
|
|
1164
1170
|
* was off for the chat from 2026-10-17. Asked for without the box — the API on its own, a script — it stays off.
|
|
1165
1171
|
*/
|
|
1166
|
-
s.review = { enabled: input.review === true, model: '' };
|
|
1172
|
+
s.review = { enabled: input.review === true, model: input.reviewModel?.trim() ?? '' };
|
|
1173
|
+
// The review's model chosen beside the box (2026-10-21) is the operator's word, as the work's is.
|
|
1174
|
+
if (s.review.model)
|
|
1175
|
+
s.reviewModelSource = 'operator';
|
|
1167
1176
|
// Plan mode as chosen under the box (2026-10-20, "as in Claude Code"): the plan first, approved by the operator.
|
|
1168
1177
|
s.planMode = input.planMode ? 'approve' : 'off';
|
|
1169
1178
|
/*
|
|
@@ -12,6 +12,12 @@
|
|
|
12
12
|
export class Hold {
|
|
13
13
|
paused = false;
|
|
14
14
|
waiting = [];
|
|
15
|
+
/**
|
|
16
|
+
* Each pause, from "Pause" pressed to "Continue" (operator, 2026-10-21: "when paused, the time must stop being
|
|
17
|
+
* measured"): the clock stops at the press, not at the point the work reaches a little later, and the time it was
|
|
18
|
+
* paused is taken off a task's minutes — its limit, and the minutes the page shows.
|
|
19
|
+
*/
|
|
20
|
+
spans = [];
|
|
15
21
|
/** Whether the operator has asked the task to hold. */
|
|
16
22
|
get held() {
|
|
17
23
|
return this.paused;
|
|
@@ -21,6 +27,7 @@ export class Hold {
|
|
|
21
27
|
if (this.paused)
|
|
22
28
|
return false;
|
|
23
29
|
this.paused = true;
|
|
30
|
+
this.spans.push({ from: Date.now() });
|
|
24
31
|
return true;
|
|
25
32
|
}
|
|
26
33
|
/** Lets the task go on. False when it was not held. */
|
|
@@ -28,10 +35,21 @@ export class Hold {
|
|
|
28
35
|
if (!this.paused)
|
|
29
36
|
return false;
|
|
30
37
|
this.paused = false;
|
|
38
|
+
const open = this.spans.at(-1);
|
|
39
|
+
if (open && open.to === undefined)
|
|
40
|
+
open.to = Date.now();
|
|
31
41
|
for (const go of this.waiting.splice(0))
|
|
32
42
|
go();
|
|
33
43
|
return true;
|
|
34
44
|
}
|
|
45
|
+
/** How long the work was paused since `since` (ms), the pause going on counted to now. */
|
|
46
|
+
pausedSince(since, now = Date.now()) {
|
|
47
|
+
return pausedWithin(this.spans, since, now);
|
|
48
|
+
}
|
|
49
|
+
/** The pauses, for the page to take them off the minutes it shows. */
|
|
50
|
+
get pauses() {
|
|
51
|
+
return this.spans.map((s) => ({ from: new Date(s.from).toISOString(), ...(s.to !== undefined ? { to: new Date(s.to).toISOString() } : {}) }));
|
|
52
|
+
}
|
|
35
53
|
/** Resolves at once when not held; otherwise when the operator continues, or the run is stopped. */
|
|
36
54
|
until(signal) {
|
|
37
55
|
if (!this.paused || signal?.aborted)
|
|
@@ -47,3 +65,10 @@ export class Hold {
|
|
|
47
65
|
});
|
|
48
66
|
}
|
|
49
67
|
}
|
|
68
|
+
/** The time of `spans` that falls between `since` and `now`, a span with no end lasting to `now`. */
|
|
69
|
+
export function pausedWithin(spans, since, now) {
|
|
70
|
+
let ms = 0;
|
|
71
|
+
for (const s of spans)
|
|
72
|
+
ms += Math.max(0, Math.min(s.to ?? now, now) - Math.max(s.from, since));
|
|
73
|
+
return ms;
|
|
74
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/** A title as two of them are compared: case, punctuation, a leading number and spacing set aside. */
|
|
2
|
+
export function titleKey(title) {
|
|
3
|
+
return title
|
|
4
|
+
.toLowerCase()
|
|
5
|
+
.replace(/^\s*(?:subtask\s*)?\d+\s*[.):-]\s*/, '')
|
|
6
|
+
.replace(/[^\p{L}\p{N}]+/gu, ' ')
|
|
7
|
+
.trim();
|
|
8
|
+
}
|
|
9
|
+
/** The same subtask, said the same or nearly: one title contains the other, once they are both long enough to tell. */
|
|
10
|
+
export function sameTitle(a, b) {
|
|
11
|
+
const x = titleKey(a);
|
|
12
|
+
const y = titleKey(b);
|
|
13
|
+
if (!x || !y)
|
|
14
|
+
return false;
|
|
15
|
+
if (x === y)
|
|
16
|
+
return true;
|
|
17
|
+
const [short, long] = x.length <= y.length ? [x, y] : [y, x];
|
|
18
|
+
return short.length >= 6 && long.includes(short);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The list after a reply of the lead's. `todo` is the list the reply sent, if it sent one; `giving` the subtask it gives
|
|
22
|
+
* now, with the number it will have. With no list in the reply, the one before stands (a question, the result). The
|
|
23
|
+
* change is returned when the list is new or its version went up.
|
|
24
|
+
*/
|
|
25
|
+
export function nextLedger(before, todo, at, giving) {
|
|
26
|
+
if (!todo || todo.length === 0)
|
|
27
|
+
return { ledger: before };
|
|
28
|
+
// One entry a title, the first one as sent.
|
|
29
|
+
const items = [];
|
|
30
|
+
for (const t of todo) {
|
|
31
|
+
if (items.some((i) => titleKey(i.title) === titleKey(t.title)))
|
|
32
|
+
continue;
|
|
33
|
+
const known = before?.items.find((i) => titleKey(i.title) === titleKey(t.title));
|
|
34
|
+
items.push({ title: t.title.trim(), status: t.status, ...(t.phase ? { phase: t.phase } : {}), ...(known?.n ? { n: known.n } : {}) });
|
|
35
|
+
}
|
|
36
|
+
if (giving) {
|
|
37
|
+
const running = items.filter((i) => i.status === 'running');
|
|
38
|
+
let mine = items.find((i) => i.status !== 'done' && sameTitle(i.title, giving.title)) ?? (running.length === 1 ? running[0] : undefined);
|
|
39
|
+
if (!mine) {
|
|
40
|
+
mine = { title: giving.title.trim(), status: 'running' };
|
|
41
|
+
const firstPlanned = items.findIndex((i) => i.status === 'planned');
|
|
42
|
+
items.splice(firstPlanned >= 0 ? firstPlanned : items.length, 0, mine);
|
|
43
|
+
}
|
|
44
|
+
for (const i of items)
|
|
45
|
+
if (i.status === 'running' && i !== mine)
|
|
46
|
+
i.status = 'planned';
|
|
47
|
+
mine.status = 'running';
|
|
48
|
+
mine.n = giving.n;
|
|
49
|
+
}
|
|
50
|
+
const keys = items.map((i) => titleKey(i.title));
|
|
51
|
+
const was = before?.items.map((i) => titleKey(i.title)) ?? [];
|
|
52
|
+
const added = items.filter((i) => !was.includes(titleKey(i.title))).map((i) => i.title);
|
|
53
|
+
const removed = (before?.items ?? []).filter((i) => !keys.includes(titleKey(i.title))).map((i) => i.title);
|
|
54
|
+
// The ones in both, in the order of each: another order is another plan.
|
|
55
|
+
const common = keys.filter((k) => was.includes(k));
|
|
56
|
+
const reordered = common.join('\n') !== was.filter((k) => keys.includes(k)).join('\n');
|
|
57
|
+
const changed = !before || added.length > 0 || removed.length > 0 || reordered;
|
|
58
|
+
const revision = before ? before.revision + (changed ? 1 : 0) : 1;
|
|
59
|
+
const ledger = {
|
|
60
|
+
revision,
|
|
61
|
+
items,
|
|
62
|
+
at,
|
|
63
|
+
...(changed ? (added.length > 0 ? { added } : {}) : before?.added ? { added: before.added } : {}),
|
|
64
|
+
...(changed ? (removed.length > 0 ? { removed } : {}) : before?.removed ? { removed: before.removed } : {}),
|
|
65
|
+
};
|
|
66
|
+
return { ledger, ...(changed ? { change: { revision, added: added.length, removed: removed.length, total: items.length } } : {}) };
|
|
67
|
+
}
|
|
68
|
+
/** The list at the end of the work: the one running is done when the lead delivered, blocked when it could not. */
|
|
69
|
+
export function closeLedger(ledger, how) {
|
|
70
|
+
if (!ledger)
|
|
71
|
+
return ledger;
|
|
72
|
+
return { ...ledger, items: ledger.items.map((i) => (i.status === 'running' ? { ...i, status: how } : i)) };
|
|
73
|
+
}
|
|
74
|
+
/** The counts the chat and the lead are given: where the work is against the plan, and the limit apart. */
|
|
75
|
+
export function ledgerCounts(ledger) {
|
|
76
|
+
const of = (s) => ledger.items.filter((i) => i.status === s).length;
|
|
77
|
+
const at = ledger.items.findIndex((i) => i.status === 'running');
|
|
78
|
+
return { total: ledger.items.length, done: of('done'), running: of('running'), planned: of('planned'), stuck: of('blocked') + of('failed'), current: at >= 0 ? at + 1 : 0 };
|
|
79
|
+
}
|
|
80
|
+
/** The list as the lead is shown it with a report: one line a subtask, its status, its phase. */
|
|
81
|
+
export function describeLedger(ledger, given, max) {
|
|
82
|
+
const c = ledgerCounts(ledger);
|
|
83
|
+
return [
|
|
84
|
+
`Your list of subtasks (version ${ledger.revision}): ${c.done} done, ${c.running} running, ${c.planned} planned${c.stuck > 0 ? `, ${c.stuck} blocked or failed` : ''}. Subtasks given so far: ${given}; at most ${max} may be given.`,
|
|
85
|
+
...ledger.items.map((i, k) => `${k + 1}. [${i.status}] ${i.title}${i.phase ? ` — ${i.phase}` : ''}`),
|
|
86
|
+
'Send the whole list again with your next subtask or plan: mark the one just reported "done" if you accept its report, "blocked" or "failed" if not; add what it showed is needed, drop what is not.',
|
|
87
|
+
].join('\n');
|
|
88
|
+
}
|
|
@@ -31,6 +31,7 @@ import { operatorNotesSection, whyItStopped } from '../session/compose.js';
|
|
|
31
31
|
import { describeDeviations } from '../protocol/replySchema.js';
|
|
32
32
|
import { leadFormatErrorMessage, parseLeadReply, UNDERSTANDING_FIRST } from '../protocol/leadSchema.js';
|
|
33
33
|
import { describePlan, planFrom } from './planMode.js';
|
|
34
|
+
import { closeLedger, describeLedger, nextLedger } from './leadLedger.js';
|
|
34
35
|
import { applySessionModel, enterSessionConversation, holdsWhilePaused, runTask, Sink, speakFor, StoppedSend } from './taskRunner.js';
|
|
35
36
|
import { DEFAULT_VCS } from '../session/store.js';
|
|
36
37
|
/** The assignment as the lead is given it: the operator's message, and what the runner tells it about the work. */
|
|
@@ -176,6 +177,8 @@ export async function runLeadTask(transport, session, task, deps) {
|
|
|
176
177
|
t.iterations = copy.rounds.length;
|
|
177
178
|
});
|
|
178
179
|
};
|
|
180
|
+
// From here the message's minutes are counted, its pauses taken off (2026-10-21).
|
|
181
|
+
const leadStartedAt = Date.now();
|
|
179
182
|
await setTask((t) => {
|
|
180
183
|
t.status = 'running';
|
|
181
184
|
t.runId = runId;
|
|
@@ -289,6 +292,9 @@ export async function runLeadTask(transport, session, task, deps) {
|
|
|
289
292
|
t.vcs = vcs;
|
|
290
293
|
t.status = status;
|
|
291
294
|
t.finishedAt = new Date().toISOString();
|
|
295
|
+
const held = deps.hold?.pausedSince(leadStartedAt) ?? 0;
|
|
296
|
+
if (held > 0)
|
|
297
|
+
t.pausedMs = held;
|
|
292
298
|
t.summary = summary;
|
|
293
299
|
t.reason = reason;
|
|
294
300
|
t.logFile = 'task-log.txt';
|
|
@@ -368,6 +374,8 @@ export async function runLeadTask(transport, session, task, deps) {
|
|
|
368
374
|
...((t?.deviations?.length ?? 0) > 0 ? ['', describeDeviations(t.deviations)] : []),
|
|
369
375
|
'',
|
|
370
376
|
`Subtasks left: ${max - lead.subtasks} of ${max}.`,
|
|
377
|
+
// Its own list, as it sent it last, to send again with the next subtask (2026-10-21).
|
|
378
|
+
...(lead.ledger ? ['', describeLedger(lead.ledger, lead.subtasks, max)] : []),
|
|
371
379
|
'Reply in the lead\'s format: the next subtask, the plan, a question for the operator, or the result.',
|
|
372
380
|
].join('\n');
|
|
373
381
|
};
|
|
@@ -514,6 +522,17 @@ export async function runLeadTask(transport, session, task, deps) {
|
|
|
514
522
|
...(r.notes ? { notes: r.notes } : {}),
|
|
515
523
|
};
|
|
516
524
|
lead.rounds.push(round);
|
|
525
|
+
// Its list of subtasks, as this reply sends it (2026-10-21); the subtask given now is the running one.
|
|
526
|
+
const giving = r.status === 'delegate' && r.subtask && lead.subtasks < max ? { title: r.subtask.title, n: lead.subtasks + 1 } : undefined;
|
|
527
|
+
const listed = nextLedger(lead.ledger, r.todo, round.at, giving);
|
|
528
|
+
lead.ledger = listed.ledger;
|
|
529
|
+
if (listed.change) {
|
|
530
|
+
round.ledger = listed.change;
|
|
531
|
+
const { revision, added, removed, total } = listed.change;
|
|
532
|
+
sink.event('lead-ledger', { round: round.n, ...listed.change }, revision === 1
|
|
533
|
+
? `the lead's list: ${total} subtask(s)`
|
|
534
|
+
: `the lead's list changed (version ${revision}): ${total} subtask(s)${added > 0 ? `, ${added} new` : ''}${removed > 0 ? `, ${removed} dropped` : ''}${added === 0 && removed === 0 ? ', in another order' : ''}`);
|
|
535
|
+
}
|
|
517
536
|
await saveLead();
|
|
518
537
|
sink.event('lead-reply', { round: round.n, status: r.status }, `the lead: ${r.status}${r.subtask ? ` — ${r.subtask.title}` : ''}`);
|
|
519
538
|
switch (r.status) {
|
|
@@ -581,9 +600,12 @@ export async function runLeadTask(transport, session, task, deps) {
|
|
|
581
600
|
}
|
|
582
601
|
case 'done': {
|
|
583
602
|
lead.evidence = r.evidence;
|
|
603
|
+
// Delivered: the subtask it was on was accepted with it.
|
|
604
|
+
lead.ledger = closeLedger(lead.ledger, 'done');
|
|
584
605
|
return await finish('done', undefined, r.answer);
|
|
585
606
|
}
|
|
586
607
|
case 'blocked': {
|
|
608
|
+
lead.ledger = closeLedger(lead.ledger, 'blocked');
|
|
587
609
|
return await finish('blocked', `the lead could not take it further: ${r.needed ?? ''}`.trim(), r.summary);
|
|
588
610
|
}
|
|
589
611
|
}
|
|
@@ -911,8 +911,12 @@ export async function runTask(transport, session, task, deps) {
|
|
|
911
911
|
await store.updateTask(session.id, task.id, mutate);
|
|
912
912
|
};
|
|
913
913
|
const startedAt = Date.now();
|
|
914
|
-
|
|
915
|
-
|
|
914
|
+
/*
|
|
915
|
+
* The limit is on the work, not on the pause: the time from "Pause" pressed to "Continue" is taken off (2026-10-21:
|
|
916
|
+
* from the press, not from the point the work held at — a reply being written, a command running — a little later).
|
|
917
|
+
*/
|
|
918
|
+
const pausedMs = () => deps.hold?.pausedSince(startedAt) ?? 0;
|
|
919
|
+
const pastDeadline = () => Date.now() - startedAt - pausedMs() > cfg.limits.maxRunMinutes * 60_000;
|
|
916
920
|
/*
|
|
917
921
|
* "Pause" (operator, 2026-10-20; see `Hold`): every message to the chat waits here while the task is paused, and
|
|
918
922
|
* so does every command (the step loop below). True when the run was stopped while held.
|
|
@@ -925,7 +929,6 @@ export async function runTask(transport, session, task, deps) {
|
|
|
925
929
|
sink.event('task-paused', { before }, before === 'message' ? 'paused by the operator: nothing more is sent to the chat until Continue' : 'paused by the operator: no other command runs until Continue');
|
|
926
930
|
await hold.until(signal);
|
|
927
931
|
const heldMs = Date.now() - from;
|
|
928
|
-
deadline += heldMs;
|
|
929
932
|
const stopped = !!signal?.aborted;
|
|
930
933
|
const secs = Math.round(heldMs / 1000);
|
|
931
934
|
sink.event('task-resumed', { before, heldMs, stopped }, stopped ? `stopped while paused, after ${secs} s` : `continued by the operator after ${secs} s paused; that time does not count against maxRunMinutes`);
|
|
@@ -1258,6 +1261,9 @@ export async function runTask(transport, session, task, deps) {
|
|
|
1258
1261
|
t.status = status;
|
|
1259
1262
|
t.iterations = iterations;
|
|
1260
1263
|
t.finishedAt = new Date().toISOString();
|
|
1264
|
+
const held = pausedMs();
|
|
1265
|
+
if (held > 0)
|
|
1266
|
+
t.pausedMs = held;
|
|
1261
1267
|
t.summary = summary;
|
|
1262
1268
|
t.reason = reason;
|
|
1263
1269
|
t.finalReply = finalReply;
|
|
@@ -2448,7 +2454,7 @@ export async function runTask(transport, session, task, deps) {
|
|
|
2448
2454
|
for (;;) {
|
|
2449
2455
|
if (signal?.aborted)
|
|
2450
2456
|
return await finish('aborted', 'stopped by the operator');
|
|
2451
|
-
if (
|
|
2457
|
+
if (pastDeadline()) {
|
|
2452
2458
|
limitHit = { setting: 'maxRunMinutes', value: cfg.limits.maxRunMinutes };
|
|
2453
2459
|
return await finish('limit-reached', `maxRunMinutes (${cfg.limits.maxRunMinutes}) reached`);
|
|
2454
2460
|
}
|
|
@@ -751,8 +751,8 @@ export const SYSTEM_GUIDE = [
|
|
|
751
751
|
kind: 'button',
|
|
752
752
|
en: 'Pause',
|
|
753
753
|
bg: 'Пауза',
|
|
754
|
-
doesEn: 'While it works: holds the work where it is — a reply being written and a command running are let finish — and then nothing more is sent and nothing runs; the button becomes "Continue".
|
|
755
|
-
doesBg: 'Докато работи: задържа работата там, където е — отговор, който се пише, и команда, която тече, се оставят да свършат — и после нищо повече не се изпраща и нищо не се изпълнява; бутонът става „Продължи“.
|
|
754
|
+
doesEn: 'While it works: holds the work where it is — a reply being written and a command running are let finish — and then nothing more is sent and nothing runs; the button becomes "Continue". From the press to "Continue" the clock stands still: that time does not count against the time limit, and the minutes in the status bar do not move.',
|
|
755
|
+
doesBg: 'Докато работи: задържа работата там, където е — отговор, който се пише, и команда, която тече, се оставят да свършат — и после нищо повече не се изпраща и нищо не се изпълнява; бутонът става „Продължи“. От натискането до „Продължи“ часовникът стои: това време не се брои към ограничението за време, а минутите в лентата на състоянието не мърдат.',
|
|
756
756
|
},
|
|
757
757
|
{
|
|
758
758
|
key: 'chat.resume',
|
|
@@ -826,6 +826,38 @@ export const SYSTEM_GUIDE = [
|
|
|
826
826
|
doesEn: 'The worker works on the lead\'s model.',
|
|
827
827
|
doesBg: 'Изпълнителят работи на модела на ръководителя.',
|
|
828
828
|
},
|
|
829
|
+
{
|
|
830
|
+
key: 'chat.workModel',
|
|
831
|
+
kind: 'note',
|
|
832
|
+
en: 'Work',
|
|
833
|
+
bg: 'Работа',
|
|
834
|
+
doesEn: 'With "Review" ticked: beside the first model, which is the work\'s.',
|
|
835
|
+
doesBg: 'С отметната „Рецензия“: до първия модел, който е на работата.',
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
key: 'chat.reviewModel',
|
|
839
|
+
kind: 'select',
|
|
840
|
+
en: 'Review',
|
|
841
|
+
bg: 'Рецензия',
|
|
842
|
+
doesEn: 'With "Review" ticked: the model the review\'s conversation is put on, under the work\'s — best a different, stronger one. Chosen here, it is this conversation\'s (or the next one\'s); otherwise the one in Settings → Model for the review.',
|
|
843
|
+
doesBg: 'С отметната „Рецензия“: моделът, на който върви разговорът на рецензията, под този на работата — най-добре различен и по-силен. Избран тук, важи за този разговор (или за следващия); иначе — този от Настройки → Модел за рецензията.',
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
key: 'chat.reviewModelDefault',
|
|
847
|
+
kind: 'select',
|
|
848
|
+
en: 'As in Settings ({model})',
|
|
849
|
+
bg: 'Както е в Настройки ({model})',
|
|
850
|
+
doesEn: 'The review runs on the model chosen in Settings → Model for the review.',
|
|
851
|
+
doesBg: 'Рецензията върви на модела, избран в Настройки → Модел за рецензията.',
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
key: 'chat.reviewModelByHand',
|
|
855
|
+
kind: 'select',
|
|
856
|
+
en: 'Chosen by hand in Copilot (none in Settings)',
|
|
857
|
+
bg: 'Ръчно в Copilot (няма избран в Настройки)',
|
|
858
|
+
doesEn: 'No review model is named anywhere: a card asks you to choose it in the Copilot window when the review begins.',
|
|
859
|
+
doesBg: 'Никъде не е посочен модел за рецензията: когато тя започне, карта ви моли да го изберете в прозореца на Copilot.',
|
|
860
|
+
},
|
|
829
861
|
{
|
|
830
862
|
key: 'lead.subtask',
|
|
831
863
|
kind: 'disclosure',
|
|
@@ -834,6 +866,14 @@ export const SYSTEM_GUIDE = [
|
|
|
834
866
|
doesEn: 'With two chats: a subtask the lead gave, as the worker did it — its commands and its report; open while it runs, folded once it ended. Marked when it only reads, or went to a new worker.',
|
|
835
867
|
doesBg: 'С два чата: подзадача, дадена от ръководителя, както я е изпълнил изпълнителят — командите и докладът му; отворена, докато върви, сгъната, щом свърши. Отбелязана, когато само чете или е дадена на нов изпълнител.',
|
|
836
868
|
},
|
|
869
|
+
{
|
|
870
|
+
key: 'lead.ledgerList',
|
|
871
|
+
kind: 'disclosure',
|
|
872
|
+
en: 'The subtasks of the plan (version {v})',
|
|
873
|
+
bg: 'Подзадачите в плана (версия {v})',
|
|
874
|
+
doesEn: 'With two chats: the lead\'s own list of subtasks, by phase — done (✓), in progress (●), planned (○), blocked (⊘) or failed (✗) — over it the phase the work is in, "Subtask 3 of 8 planned", how many are left, and apart from that the most subtasks allowed. The version goes up when the lead adds, drops or reorders subtasks, and the conversation says what changed.',
|
|
875
|
+
doesBg: 'С два чата: собственият списък с подзадачи на ръководителя, по фази — готова (✓), в процес (●), планирана (○), блокирана (⊘) или неуспешна (✗) — а над него фазата, в която е работата, „Подзадача 3 от 8 планирани“, колко остават и отделно най-многото разрешени подзадачи. Версията се вдига, когато ръководителят добави, махне или пренареди подзадачи, и разговорът казва какво се е променило.',
|
|
876
|
+
},
|
|
837
877
|
{
|
|
838
878
|
key: 'lead.plan',
|
|
839
879
|
kind: 'disclosure',
|
|
@@ -1517,10 +1557,10 @@ export const SYSTEM_GUIDE = [
|
|
|
1517
1557
|
{
|
|
1518
1558
|
key: 'skills.remove',
|
|
1519
1559
|
kind: 'button',
|
|
1520
|
-
en: '
|
|
1521
|
-
bg: '
|
|
1522
|
-
doesEn: '
|
|
1523
|
-
doesBg: '
|
|
1560
|
+
en: 'Delete',
|
|
1561
|
+
bg: 'Изтрий',
|
|
1562
|
+
doesEn: 'At the top right of each skill: deletes it, once asked and answered; messages already sent with it keep it.',
|
|
1563
|
+
doesBg: 'Горе вдясно на всеки skill: изтрива го, след като попита и получи отговор; вече изпратените с него съобщения го запазват.',
|
|
1524
1564
|
},
|
|
1525
1565
|
{
|
|
1526
1566
|
key: 'skills.add',
|
|
@@ -55,6 +55,34 @@ export const SubtaskSchema = z.object({
|
|
|
55
55
|
readOnly: z.boolean().default(false),
|
|
56
56
|
freshWorker: z.boolean().default(false),
|
|
57
57
|
});
|
|
58
|
+
/**
|
|
59
|
+
* The lead's list of subtasks as it plans them now (operator's feedback, 2026-10-21: "1 of 20 subtasks" read as if 20
|
|
60
|
+
* were planned; show the subtasks planned and done, the phase, and the limit apart). Sent whole with every plan and every
|
|
61
|
+
* subtask, so the count the chat shows is the lead's own plan: a subtask is "done" once the lead has accepted its
|
|
62
|
+
* report, "running" is the one given now, "planned" the ones still to come; a list that grows says so.
|
|
63
|
+
*/
|
|
64
|
+
export const TODO_STATUSES = ['done', 'running', 'planned', 'blocked', 'failed'];
|
|
65
|
+
/** The words a chat uses for the five, read as them. */
|
|
66
|
+
const TODO_WORDS = {
|
|
67
|
+
done: 'done', completed: 'done', complete: 'done', finished: 'done', accepted: 'done', passed: 'done', ok: 'done',
|
|
68
|
+
running: 'running', 'in-progress': 'running', in_progress: 'running', 'in progress': 'running', current: 'running', active: 'running', now: 'running', doing: 'running', started: 'running',
|
|
69
|
+
planned: 'planned', pending: 'planned', todo: 'planned', 'to-do': 'planned', next: 'planned', queued: 'planned', open: 'planned', 'not started': 'planned',
|
|
70
|
+
blocked: 'blocked', stuck: 'blocked', waiting: 'blocked',
|
|
71
|
+
failed: 'failed', error: 'failed', fail: 'failed',
|
|
72
|
+
};
|
|
73
|
+
export const TodoItemSchema = z.preprocess((v) => (typeof v === 'string' ? { title: v } : v), z.object({
|
|
74
|
+
title: z.preprocess((v) => proseOfValue(v), z.string().trim().min(2, 'todo[].title must name the subtask in a few words.').max(140)),
|
|
75
|
+
status: z.preprocess((v) => (v === undefined || v === null || v === '' ? 'planned' : (TODO_WORDS[String(v).trim().toLowerCase()] ?? v)), z.enum(TODO_STATUSES, { message: 'todo[].status is one of "done", "running", "planned", "blocked", "failed".' })),
|
|
76
|
+
phase: z.preprocess((v) => (v === undefined || v === null ? undefined : proseOfValue(v).trim() || undefined), z.string().max(80).optional()),
|
|
77
|
+
}));
|
|
78
|
+
const todoList = z.preprocess((v) => v === undefined || v === null
|
|
79
|
+
? undefined
|
|
80
|
+
: typeof v === 'string'
|
|
81
|
+
? v.split(/\r?\n/).map((l) => l.replace(/^\s*(?:\d+[.)]|[-*•])\s+/, '').trim()).filter(Boolean)
|
|
82
|
+
: Array.isArray(v)
|
|
83
|
+
? v
|
|
84
|
+
: [v], z.array(TodoItemSchema).max(100).optional());
|
|
85
|
+
const TODO_SHAPE = '[{"title": "…", "status": "done" | "running" | "planned" | "blocked" | "failed", "phase": "…"}]';
|
|
58
86
|
export const LeadReplySchema = z
|
|
59
87
|
.object({
|
|
60
88
|
/**
|
|
@@ -70,6 +98,8 @@ export const LeadReplySchema = z
|
|
|
70
98
|
notes: prose,
|
|
71
99
|
plan: PlanSchema.optional(),
|
|
72
100
|
subtask: SubtaskSchema.optional(),
|
|
101
|
+
/** The whole list of subtasks as planned now; required with `delegate` and `plan` (see `TodoItemSchema`). */
|
|
102
|
+
todo: todoList,
|
|
73
103
|
question: prose,
|
|
74
104
|
why: prose,
|
|
75
105
|
options: proseList.default([]),
|
|
@@ -83,6 +113,10 @@ export const LeadReplySchema = z
|
|
|
83
113
|
})
|
|
84
114
|
.refine((r) => r.status !== 'plan' || !!r.plan, {
|
|
85
115
|
message: 'status "plan" requires a "plan": {"existing", "approach", "steps": [the stages], "files", "verification", "risks"}.',
|
|
116
|
+
})
|
|
117
|
+
.refine((r) => (r.status !== 'delegate' && r.status !== 'plan') || (r.todo?.length ?? 0) > 0, {
|
|
118
|
+
message: `status "delegate" and status "plan" require "todo": the whole list of subtasks as you plan them now, ${TODO_SHAPE} — "done" only once you have accepted its report, the one you give now "running", the ones still to come "planned".`,
|
|
119
|
+
path: ['todo'],
|
|
86
120
|
})
|
|
87
121
|
.refine((r) => r.status !== 'ask' || (r.question ?? '').trim().length >= 10, {
|
|
88
122
|
message: 'status "ask" requires a "question" for the operator: what only a person can decide, said in full.',
|
|
@@ -134,9 +168,9 @@ export function parseLeadReply(markdown) {
|
|
|
134
168
|
}
|
|
135
169
|
const LEAD_EXAMPLE = [
|
|
136
170
|
'```json',
|
|
137
|
-
'{"status": "delegate", "notes": "what you decide and why", "subtask": {"title": "Run the tests", "goal": "Find out which tests fail now.", "context": "Change nothing.", "steps": [], "report": "The totals, and for each failing test its name and its error, quoted.", "doneWhen": "The suite ran once.", "readOnly": true, "freshWorker": false}}',
|
|
171
|
+
'{"status": "delegate", "notes": "what you decide and why", "subtask": {"title": "Run the tests", "goal": "Find out which tests fail now.", "context": "Change nothing.", "steps": [], "report": "The totals, and for each failing test its name and its error, quoted.", "doneWhen": "The suite ran once.", "readOnly": true, "freshWorker": false}, "todo": [{"title": "Survey the project", "status": "done", "phase": "Survey"}, {"title": "Run the tests", "status": "running", "phase": "Diagnosis"}, {"title": "Fix the failing test", "status": "planned", "phase": "Fix"}]}',
|
|
138
172
|
'```',
|
|
139
|
-
'or {"status": "plan", "plan": {"existing": "…", "approach": "…", "steps": ["…"], "files": [], "verification": "…"}}',
|
|
173
|
+
'or {"status": "plan", "plan": {"existing": "…", "approach": "…", "steps": ["…"], "files": [], "verification": "…"}, "todo": [{"title": "…", "status": "planned", "phase": "…"}]}',
|
|
140
174
|
'or {"status": "ask", "question": "…", "why": "…", "options": ["…", "…"]}',
|
|
141
175
|
'or {"status": "done", "answer": "the result, in the form asked for", "evidence": ["…"]}',
|
|
142
176
|
'or {"status": "blocked", "summary": "what was done and found", "needed": "what would let it go on"}',
|
|
@@ -88,6 +88,7 @@ export const TASK_FIELD_ON_RERUN = {
|
|
|
88
88
|
runGroup: 'archived',
|
|
89
89
|
startedAt: 'archived',
|
|
90
90
|
finishedAt: 'archived',
|
|
91
|
+
pausedMs: 'archived',
|
|
91
92
|
summary: 'archived',
|
|
92
93
|
reason: 'archived',
|
|
93
94
|
deviations: 'archived',
|
|
@@ -565,6 +566,7 @@ export class SessionStore {
|
|
|
565
566
|
status: t.status,
|
|
566
567
|
startedAt: t.startedAt,
|
|
567
568
|
finishedAt: t.finishedAt,
|
|
569
|
+
...(t.pausedMs ? { pausedMs: t.pausedMs } : {}),
|
|
568
570
|
iterations: t.iterations,
|
|
569
571
|
summary: t.summary,
|
|
570
572
|
reason: t.reason,
|
|
@@ -612,6 +614,7 @@ export class SessionStore {
|
|
|
612
614
|
t.runGroup = undefined;
|
|
613
615
|
t.startedAt = undefined;
|
|
614
616
|
t.finishedAt = undefined;
|
|
617
|
+
t.pausedMs = undefined;
|
|
615
618
|
t.summary = undefined;
|
|
616
619
|
t.reason = undefined;
|
|
617
620
|
t.finalReply = undefined;
|
package/dist/web/404.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--w1xPyNasTvFr11R3F7HkS--><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/131c746a9d388eda.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-ab0451ef95a8f52a.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-f747f0f5ddb4213b.js" async=""></script><script src="/_next/static/chunks/3134-b6a7bc1f267c39aa.js" async=""></script><script src="/_next/static/chunks/7921-56de379f7bdfbacf.js" async=""></script><script src="/_next/static/chunks/7500-1353339f7e2eda10.js" async=""></script><script src="/_next/static/chunks/app/layout-46efb208d7c88648.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."/><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 href="/">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="/defaults"><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><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><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="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></nav></header><main id="main"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";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-cb74fa884b8af278.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,[\"3134\",\"static/chunks/3134-b6a7bc1f267c39aa.js\",\"7921\",\"static/chunks/7921-54dae769aa8bae96.js\",\"7500\",\"static/chunks/7500-f90e2ae7061e351d.js\",\"7177\",\"static/chunks/app/layout-46efb208d7c88648.js\"],\"AppearanceProvider\"]\n3:I[8205,[\"3134\",\"static/chunks/3134-b6a7bc1f267c39aa.js\",\"7921\",\"static/chunks/7921-54dae769aa8bae96.js\",\"7500\",\"static/chunks/7500-f90e2ae7061e351d.js\",\"7177\",\"static/chunks/app/layout-46efb208d7c88648.js\"],\"LanguageProvider\"]\n4:I[51035,[\"3134\",\"static/chunks/3134-b6a7bc1f267c39aa.js\",\"7921\",\"static/chunks/7921-54dae769aa8bae96.js\",\"7500\",\"static/chunks/7500-f90e2ae7061e351d.js\",\"7177\",\"static/chunks/app/layout-46efb208d7c88648.js\"],\"DialogHost\"]\n5:I[28214,[\"3134\",\"static/chunks/3134-b6a7bc1f267c39aa.js\",\"7921\",\"static/chunks/7921-54dae769aa8bae96.js\",\"7500\",\"static/chunks/7500-f90e2ae7061e351d.js\",\"7177\",\"static/chunks/app/layout-46efb208d7c88648.js\"],\"SkipLink\"]\n6:I[68300,[\"3134\",\"static/chunks/3134-b6a7bc1f267c39aa.js\",\"7921\",\"static/chunks/7921-54dae769aa8bae96.js\",\"7500\",\"static/chunks/7500-f90e2ae7061e351d.js\",\"7177\",\"static/chunks/app/layout-46efb208d7c88648.js\"],\"Shell\"]\n7:I[25204,[],\"\"]\n8:I[42642,[],\"\"]\n9:I[87712,[\"3134\",\"static/chunks/3134-b6a7bc1f267c39aa.js\",\"7921\",\"static/chunks/7921-54dae769aa8bae96.js\",\"7500\",\"static/chunks/7500-f90e2ae7061e351d.js\",\"7177\",\"static/chunks/app/layout-46efb208d7c88648.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/d3398f485b2a9075.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"WuIGWiKKh_ESR3KwzsLZF\",\"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/d3398f485b2a9075.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=[\\\"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,"d:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"copilot-operator\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Runs task loops with Microsoft 365 Copilot on this machine.\"}]],\"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 href="/">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="/defaults"><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><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><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="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></nav></header><main id="main"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";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-ab0451ef95a8f52a.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,[\"3134\",\"static/chunks/3134-b6a7bc1f267c39aa.js\",\"7921\",\"static/chunks/7921-56de379f7bdfbacf.js\",\"7500\",\"static/chunks/7500-1353339f7e2eda10.js\",\"7177\",\"static/chunks/app/layout-46efb208d7c88648.js\"],\"AppearanceProvider\"]\n3:I[8205,[\"3134\",\"static/chunks/3134-b6a7bc1f267c39aa.js\",\"7921\",\"static/chunks/7921-56de379f7bdfbacf.js\",\"7500\",\"static/chunks/7500-1353339f7e2eda10.js\",\"7177\",\"static/chunks/app/layout-46efb208d7c88648.js\"],\"LanguageProvider\"]\n4:I[51035,[\"3134\",\"static/chunks/3134-b6a7bc1f267c39aa.js\",\"7921\",\"static/chunks/7921-56de379f7bdfbacf.js\",\"7500\",\"static/chunks/7500-1353339f7e2eda10.js\",\"7177\",\"static/chunks/app/layout-46efb208d7c88648.js\"],\"DialogHost\"]\n5:I[28214,[\"3134\",\"static/chunks/3134-b6a7bc1f267c39aa.js\",\"7921\",\"static/chunks/7921-56de379f7bdfbacf.js\",\"7500\",\"static/chunks/7500-1353339f7e2eda10.js\",\"7177\",\"static/chunks/app/layout-46efb208d7c88648.js\"],\"SkipLink\"]\n6:I[68300,[\"3134\",\"static/chunks/3134-b6a7bc1f267c39aa.js\",\"7921\",\"static/chunks/7921-56de379f7bdfbacf.js\",\"7500\",\"static/chunks/7500-1353339f7e2eda10.js\",\"7177\",\"static/chunks/app/layout-46efb208d7c88648.js\"],\"Shell\"]\n7:I[25204,[],\"\"]\n8:I[42642,[],\"\"]\n9:I[87712,[\"3134\",\"static/chunks/3134-b6a7bc1f267c39aa.js\",\"7921\",\"static/chunks/7921-56de379f7bdfbacf.js\",\"7500\",\"static/chunks/7500-1353339f7e2eda10.js\",\"7177\",\"static/chunks/app/layout-46efb208d7c88648.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/131c746a9d388eda.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"w1xPyNasTvFr11R3F7HkS\",\"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/131c746a9d388eda.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=[\\\"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,"d:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"copilot-operator\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Runs task loops with Microsoft 365 Copilot on this machine.\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"12:\"$d:metadata\"\n"])</script></body></html>
|