copilot-operator 0.1.52 → 0.1.54

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 (154) hide show
  1. package/README.md +23 -1
  2. package/dist/src/api/operator.controller.js +71 -2
  3. package/dist/src/api/operator.service.js +99 -7
  4. package/dist/src/config/schema.js +32 -0
  5. package/dist/src/exec/policy.js +11 -1
  6. package/dist/src/exec/scriptFiles.js +108 -2
  7. package/dist/src/orchestrator/leadRunner.js +50 -4
  8. package/dist/src/orchestrator/review.js +9 -3
  9. package/dist/src/orchestrator/taskRunner.js +55 -3
  10. package/dist/src/plan/kerrigan.js +35 -4
  11. package/dist/src/plan/systemGuide.js +234 -4
  12. package/dist/src/session/compose.js +16 -4
  13. package/dist/src/session/store.js +3 -0
  14. package/dist/src/session/workspace.js +22 -0
  15. package/dist/src/session/workspaceSearch.js +162 -0
  16. package/dist/src/util/pacing.js +33 -2
  17. package/dist/src/vcs/git.js +12 -2
  18. package/dist/src/vcs/referenceGuard.js +299 -0
  19. package/dist/web/404.html +3 -2
  20. package/dist/web/_next/static/{_1zhoDsMOPAH2xW702E5A → WuIGWiKKh_ESR3KwzsLZF}/_buildManifest.js +1 -1
  21. package/dist/web/_next/static/chunks/1017.ce926873b598fb89.js +1 -0
  22. package/dist/web/_next/static/chunks/1077.ae2fd686ef05572e.js +1 -0
  23. package/dist/web/_next/static/chunks/12.06a7f14bd6716249.js +1 -0
  24. package/dist/web/_next/static/chunks/1350.a5dc706c8110fd34.js +24 -0
  25. package/dist/web/_next/static/chunks/1548.bd558d3f2c8df4af.js +1 -0
  26. package/dist/web/_next/static/chunks/1706.db51b57351297898.js +309 -0
  27. package/dist/web/_next/static/chunks/1707.7d64ffc060c697a0.js +193 -0
  28. package/dist/web/_next/static/chunks/1880.87829ecb91209eda.js +24 -0
  29. package/dist/web/_next/static/chunks/20154aaa.28032c3aa5bcd84d.js +1 -0
  30. package/dist/web/_next/static/chunks/2037.d1bb5e37c7fe85ae.js +104 -0
  31. package/dist/web/_next/static/chunks/2163.b41334711ddcceff.js +1 -0
  32. package/dist/web/_next/static/chunks/2398d077.79ae940919b9695e.js +1 -0
  33. package/dist/web/_next/static/chunks/2435.9b433b38d34b4b2e.js +1 -0
  34. package/dist/web/_next/static/chunks/2506.bc8515842e225d2a.js +1 -0
  35. package/dist/web/_next/static/chunks/2529.c88688b437d71d68.js +41 -0
  36. package/dist/web/_next/static/chunks/2908.4e0e875d2d471932.js +1 -0
  37. package/dist/web/_next/static/chunks/3117.a4e1c3348e8bead9.js +1 -0
  38. package/dist/web/_next/static/chunks/3131-8ec8b632ebf0450d.js +1 -0
  39. package/dist/web/_next/static/chunks/3134-b6a7bc1f267c39aa.js +1 -0
  40. package/dist/web/_next/static/chunks/3233.1dcc2798f7f5efa0.js +149 -0
  41. package/dist/web/_next/static/chunks/344.41cc997c8c8deeed.js +115 -0
  42. package/dist/web/_next/static/chunks/3690.f691d3fcbd70073d.js +1 -0
  43. package/dist/web/_next/static/chunks/3804.593b14643e74a2a1.js +1 -0
  44. package/dist/web/_next/static/chunks/3816.9f5568918e35e4ef.js +77 -0
  45. package/dist/web/_next/static/chunks/3859.f56f3c6ac4b74cf1.js +94 -0
  46. package/dist/web/_next/static/chunks/3976.11b159e82e0aa974.js +1 -0
  47. package/dist/web/_next/static/chunks/3986.d47ed4855773e6dd.js +1 -0
  48. package/dist/web/_next/static/chunks/441.172f3f581f0030d1.js +226 -0
  49. package/dist/web/_next/static/chunks/442.2e236a6c5c413bd9.js +1 -0
  50. package/dist/web/_next/static/chunks/4459.d6df347eb58fccd7.js +1 -0
  51. package/dist/web/_next/static/chunks/4619.ae3628373decf74f.js +34 -0
  52. package/dist/web/_next/static/chunks/4623.d5711a8d967e49f4.js +1 -0
  53. package/dist/web/_next/static/chunks/4670.6b811cc3f67a851c.js +62 -0
  54. package/dist/web/_next/static/chunks/4812.0af1380aa478f6d3.js +93 -0
  55. package/dist/web/_next/static/chunks/4969.4f7aff472cf938bf.js +1 -0
  56. package/dist/web/_next/static/chunks/5790.fe114d1a18741d62.js +86 -0
  57. package/dist/web/_next/static/chunks/603.4055460889ea24d8.js +1 -0
  58. package/dist/web/_next/static/chunks/6072.b4b359b24b1738d4.js +286 -0
  59. package/dist/web/_next/static/chunks/6230.8645bbed143793da.js +1 -0
  60. package/dist/web/_next/static/chunks/6260.6b5b5c9713d7133f.js +1 -0
  61. package/dist/web/_next/static/chunks/63b9f8e2.218fd437b256a7e4.js +1 -0
  62. package/dist/web/_next/static/chunks/6421.3ace3aefc3e7350e.js +1 -0
  63. package/dist/web/_next/static/chunks/6542.963ec591b5c2bc5a.js +1 -0
  64. package/dist/web/_next/static/chunks/6885.8fb8eeb9e792b515.js +1 -0
  65. package/dist/web/_next/static/chunks/6891.dd910309748ad46b.js +1 -0
  66. package/dist/web/_next/static/chunks/714.cb77983f9be215c9.js +1 -0
  67. package/dist/web/_next/static/chunks/7220.072a60cd9d60220a.js +1 -0
  68. package/dist/web/_next/static/chunks/7307.39c27470a879fd0a.js +1 -0
  69. package/dist/web/_next/static/chunks/7333.04d0e45b223dadd4.js +32 -0
  70. package/dist/web/_next/static/chunks/7489.395193bf37b80884.js +1 -0
  71. package/dist/web/_next/static/chunks/7496.17282033df0e8794.js +148 -0
  72. package/dist/web/_next/static/chunks/7500-f90e2ae7061e351d.js +1 -0
  73. package/dist/web/_next/static/chunks/7507.9fd648884587a7f3.js +287 -0
  74. package/dist/web/_next/static/chunks/76.f9c2aea58a61692f.js +1 -0
  75. package/dist/web/_next/static/chunks/7664.bd6265e6e94e1ecd.js +79 -0
  76. package/dist/web/_next/static/chunks/7872.9b08a88b7289949f.js +64 -0
  77. package/dist/web/_next/static/chunks/7921-54dae769aa8bae96.js +1 -0
  78. package/dist/web/_next/static/chunks/795.710d39b80c9ae80c.js +1 -0
  79. package/dist/web/_next/static/chunks/8173.b82aa1855e641605.js +1 -0
  80. package/dist/web/_next/static/chunks/8216.b248ebe0af447347.js +8 -0
  81. package/dist/web/_next/static/chunks/82d3f3cb.23be11b749288234.js +62 -0
  82. package/dist/web/_next/static/chunks/8381.2d6783c030f8a913.js +27 -0
  83. package/dist/web/_next/static/chunks/85120a0e.ac16dccf0b8d73d3.js +66 -0
  84. package/dist/web/_next/static/chunks/8547.0a9997b67008c706.js +1 -0
  85. package/dist/web/_next/static/chunks/8584.9d5d6c09b0375015.js +1 -0
  86. package/dist/web/_next/static/chunks/8662.f2663643214caed1.js +38 -0
  87. package/dist/web/_next/static/chunks/8689.e564346c6e0d16be.js +1 -0
  88. package/dist/web/_next/static/chunks/9067.832c4761a991f2c2.js +1 -0
  89. package/dist/web/_next/static/chunks/9125.8589db5ba200cbf1.js +1 -0
  90. package/dist/web/_next/static/chunks/9202.8dcf7e6a85cc3d36.js +1 -0
  91. package/dist/web/_next/static/chunks/9249.916a423ac8a07e76.js +1 -0
  92. package/dist/web/_next/static/chunks/9313.e4f6405d96375c40.js +92 -0
  93. package/dist/web/_next/static/chunks/937.6d8406b06135134f.js +1 -0
  94. package/dist/web/_next/static/chunks/9418.1e8f8e14bb5fe3ae.js +217 -0
  95. package/dist/web/_next/static/chunks/9591.fabd60bd0d10341c.js +1 -0
  96. package/dist/web/_next/static/chunks/972.db753db904050e48.js +23 -0
  97. package/dist/web/_next/static/chunks/9747.c8d4ba56c9eef95f.js +1 -0
  98. package/dist/web/_next/static/chunks/9763.da9015d4a1b533b9.js +36 -0
  99. package/dist/web/_next/static/chunks/9884.8712c5ed7b044ff2.js +1 -0
  100. package/dist/web/_next/static/chunks/9891.91a2c59fd073fd48.js +74 -0
  101. package/dist/web/_next/static/chunks/9984.cdabea5a592e42a1.js +1 -0
  102. package/dist/web/_next/static/chunks/a9ddb983.8bbb677720017a57.js +122 -0
  103. package/dist/web/_next/static/chunks/app/_not-found/page-1264c0db9665169c.js +1 -0
  104. package/dist/web/_next/static/chunks/app/defaults/page-a1f90fe37e302928.js +1 -0
  105. package/dist/web/_next/static/chunks/app/layout-46efb208d7c88648.js +1 -0
  106. package/dist/web/_next/static/chunks/app/page-57787f15774d76b8.js +1 -0
  107. package/dist/web/_next/static/chunks/app/system/page-825f53f14d16033d.js +1 -0
  108. package/dist/web/_next/static/chunks/c7879cf7-fabe25011515220e.js +1 -0
  109. package/dist/web/_next/static/chunks/c7ea4e13.9b71b5f026a1d6d4.js +1 -0
  110. package/dist/web/_next/static/chunks/f99cb6a2.3f570aeba3860608.js +160 -0
  111. package/dist/web/_next/static/chunks/framework-a8bf4d38dd23845f.js +1 -0
  112. package/dist/web/_next/static/chunks/main-app-f747f0f5ddb4213b.js +1 -0
  113. package/dist/web/_next/static/chunks/main-d3bbfb91b54fbcc3.js +1 -0
  114. package/dist/web/_next/static/chunks/pages/_app-5b348989bba3d570.js +1 -0
  115. package/dist/web/_next/static/chunks/pages/_error-cf88c6d2cc5868d7.js +1 -0
  116. package/dist/web/_next/static/chunks/webpack-cb74fa884b8af278.js +1 -0
  117. package/dist/web/_next/static/css/d3398f485b2a9075.css +1 -0
  118. package/dist/web/defaults.html +3 -2
  119. package/dist/web/defaults.txt +16 -16
  120. package/dist/web/index.html +4 -2
  121. package/dist/web/index.txt +16 -16
  122. package/dist/web/system.html +3 -2
  123. package/dist/web/system.txt +16 -16
  124. package/package.json +8 -2
  125. package/prompts/level1.md +32 -12
  126. package/prompts/review1.md +287 -286
  127. package/dist/web/_next/static/chunks/12.f1f4d35b52633e8d.js +0 -1
  128. package/dist/web/_next/static/chunks/131-bae98f790a541679.js +0 -1
  129. package/dist/web/_next/static/chunks/134-ddd50a7fbb536ec8.js +0 -1
  130. package/dist/web/_next/static/chunks/163.dbd7d36584d0bb37.js +0 -1
  131. package/dist/web/_next/static/chunks/220.35531b39410e1a9f.js +0 -1
  132. package/dist/web/_next/static/chunks/489.158bbe303a595fba.js +0 -1
  133. package/dist/web/_next/static/chunks/548.71ac96c94136659b.js +0 -1
  134. package/dist/web/_next/static/chunks/584.6df695c5b86a75aa.js +0 -1
  135. package/dist/web/_next/static/chunks/67.9ed79e2fbfb56f26.js +0 -1
  136. package/dist/web/_next/static/chunks/714.1e2338736a70b9c7.js +0 -1
  137. package/dist/web/_next/static/chunks/747.d2c1249d736dc03b.js +0 -1
  138. package/dist/web/_next/static/chunks/77.a200abef0f5b4a7f.js +0 -1
  139. package/dist/web/_next/static/chunks/808-bc7d7eac6d823291.js +0 -1
  140. package/dist/web/_next/static/chunks/921-dc5538cd779c6432.js +0 -1
  141. package/dist/web/_next/static/chunks/app/_not-found/page-0d0d8e7e62efca12.js +0 -1
  142. package/dist/web/_next/static/chunks/app/defaults/page-edd7534ca9ecf366.js +0 -1
  143. package/dist/web/_next/static/chunks/app/layout-8f99a164d76897a0.js +0 -1
  144. package/dist/web/_next/static/chunks/app/page-4bed816eda370d0c.js +0 -1
  145. package/dist/web/_next/static/chunks/app/system/page-1cf9e75e76da59ed.js +0 -1
  146. package/dist/web/_next/static/chunks/c7879cf7-b5ab1053c1d9a2e7.js +0 -1
  147. package/dist/web/_next/static/chunks/framework-9ac6a346bd42cedd.js +0 -1
  148. package/dist/web/_next/static/chunks/main-6be4444e2d667e41.js +0 -1
  149. package/dist/web/_next/static/chunks/main-app-e3a5f713ba31557e.js +0 -1
  150. package/dist/web/_next/static/chunks/pages/_app-32d20d5a04949d29.js +0 -1
  151. package/dist/web/_next/static/chunks/pages/_error-abbab53f25ea29b0.js +0 -1
  152. package/dist/web/_next/static/chunks/webpack-77147e31d2125631.js +0 -1
  153. package/dist/web/_next/static/css/3bea264adc472bc8.css +0 -1
  154. /package/dist/web/_next/static/{_1zhoDsMOPAH2xW702E5A → WuIGWiKKh_ESR3KwzsLZF}/_ssgManifest.js +0 -0
@@ -15,7 +15,7 @@
15
15
  * - Nothing runs through a shell. `execFile` takes an argument list, so a branch name or a
16
16
  * commit message cannot turn into another command.
17
17
  */
18
- import { execFile } from 'node:child_process';
18
+ import { execFile, spawnSync } from 'node:child_process';
19
19
  import { existsSync, statSync } from 'node:fs';
20
20
  import { readFile, stat } from 'node:fs/promises';
21
21
  import { createHash } from 'node:crypto';
@@ -33,7 +33,7 @@ import { join } from 'node:path';
33
33
  * driver in the config, which the steps may no longer write — see `repositoryInternalsRefusal`).
34
34
  * `--no-optional-locks` keeps `status` from writing the index behind a step's back.
35
35
  */
36
- const SAFE_GIT = [
36
+ export const SAFE_GIT = [
37
37
  '-c', `core.hooksPath=${noHooksDir()}`,
38
38
  '-c', 'core.fsmonitor=false',
39
39
  '-c', 'core.untrackedCache=false',
@@ -78,6 +78,16 @@ opts = {}) {
78
78
  }
79
79
  });
80
80
  }
81
+ /**
82
+ * One git command, synchronously, for the gate: it decides before a step starts, in a function with no await to give
83
+ * (see `exec/scriptFiles.ts`). Only reading commands go through it. Never throws: a git that is missing, fails or
84
+ * runs out of time is `ok: false`.
85
+ */
86
+ export function gitSync(cwd, args, timeoutMs = 15_000) {
87
+ const r = spawnSync('git', [...SAFE_GIT, ...args], { cwd, timeout: timeoutMs, windowsHide: true, encoding: 'utf8', maxBuffer: 8 * 1024 * 1024 });
88
+ const code = typeof r.status === 'number' ? r.status : 1;
89
+ return { ok: !r.error && code === 0, stdout: (r.stdout ?? '').trim(), stderr: (r.stderr ?? '').trim() || (r.error ? r.error.message : ''), code };
90
+ }
81
91
  /**
82
92
  * When this repository last fetched successfully, or undefined when that cannot be told.
83
93
  *
@@ -0,0 +1,299 @@
1
+ /**
2
+ * Projects for reference only (operator, 2026-10-21): "a checkbox on each project in Settings — whether it may be
3
+ * developed in, or is only for reference. Marked for reference, nothing may be changed there while the bot works."
4
+ *
5
+ * The rule is held after the fact rather than guessed at before it. What a command will write cannot be read off
6
+ * its text — a build, a test run, an install, a git command, a program the project starts — but what it wrote can
7
+ * be seen. So when a task begins each project for reference is photographed: its files as they stand (every one
8
+ * git does not ignore, untracked ones too), its branches, tags and stash, where HEAD points, and what is staged.
9
+ * After every step it is photographed again; whatever differs is put back as it was, and the chat is told.
10
+ *
11
+ * The photograph leaves nothing in the project. It is a repository of its own in a temporary folder whose work
12
+ * tree is the project's (`GIT_DIR` there, `GIT_WORK_TREE` here), storing every file as its exact bytes — no line
13
+ * ending or filter conversion — so a file put back is the file that was there. The project's own repository is
14
+ * only read (`rev-parse`, `for-each-ref`, `ls-files`, with optional locks off) until something must be put back;
15
+ * then its refs, HEAD and index are written back as they were. A folder that is not a repository is photographed
16
+ * all the same, without the git part.
17
+ *
18
+ * Not seen, and said so: files git ignores — node_modules, build output, a `.env` listed in .gitignore.
19
+ */
20
+ import { createHash } from 'node:crypto';
21
+ import { copyFile, mkdir, readFile, rm, unlink, writeFile } from 'node:fs/promises';
22
+ import { existsSync } from 'node:fs';
23
+ import { tmpdir } from 'node:os';
24
+ import { join, resolve } from 'node:path';
25
+ import { git } from './git.js';
26
+ /** How a step's change is said in a line: the files first, then the repository. */
27
+ export function describeChange(c, max = 12) {
28
+ const files = c.files.slice(0, max).map((f) => `${f.path} (${f.how})`);
29
+ const more = c.files.length > max ? [`and ${c.files.length - max} more`] : [];
30
+ return [...files, ...more, ...c.git].join(', ') || 'nothing that can be named';
31
+ }
32
+ /** One project for reference: its photograph's repository, its index, and how it was when the task began. */
33
+ class Watched {
34
+ project;
35
+ photoDir;
36
+ ownIndex;
37
+ sharedIndex;
38
+ repo;
39
+ start = null;
40
+ constructor(project, photoDir, ownIndex, sharedIndex, repo) {
41
+ this.project = project;
42
+ this.photoDir = photoDir;
43
+ this.ownIndex = ownIndex;
44
+ this.sharedIndex = sharedIndex;
45
+ this.repo = repo;
46
+ }
47
+ /** The photograph's repository, kept across tasks in the temporary folder so a photograph after the first is quick. */
48
+ static async open(project, runId) {
49
+ const dir = resolve(project.dir);
50
+ if (!existsSync(dir))
51
+ return { problem: `${dir} does not exist` };
52
+ const key = createHash('sha1').update(dir.toLowerCase()).digest('hex').slice(0, 16);
53
+ const photoDir = join(tmpdir(), 'copilot-operator-reference', key);
54
+ const gitDir = join(photoDir, '.git');
55
+ if (!existsSync(gitDir)) {
56
+ await mkdir(photoDir, { recursive: true });
57
+ const init = await git(photoDir, ['init', '-q']);
58
+ if (!init.ok)
59
+ return { problem: `git could not prepare the photograph: ${init.stderr}` };
60
+ }
61
+ // Every file as its bytes: nothing converted on the way in, so nothing converted on the way back.
62
+ for (const [k, v] of [['core.autocrlf', 'false'], ['core.safecrlf', 'false'], ['core.longpaths', 'true'], ['core.quotepath', 'false'], ['gc.auto', '0']]) {
63
+ await git(photoDir, ['config', k, v]);
64
+ }
65
+ await mkdir(join(gitDir, 'info'), { recursive: true });
66
+ await writeFile(join(gitDir, 'info', 'attributes'), '* -text -filter -ident -working-tree-encoding\n', 'utf8');
67
+ // Its own index for this task, from the shared one, so two tasks watching one project do not share a lock.
68
+ const sharedIndex = join(gitDir, 'index');
69
+ const ownIndex = join(gitDir, `index-${runId.replace(/[^\w-]/g, '_')}`);
70
+ if (existsSync(sharedIndex))
71
+ await copyFile(sharedIndex, ownIndex).catch(() => undefined);
72
+ let repo = null;
73
+ const top = await git(dir, ['rev-parse', '--show-toplevel']);
74
+ if (top.ok && top.stdout && resolve(top.stdout).toLowerCase() === dir.toLowerCase()) {
75
+ const indexPath = resolve(dir, (await git(dir, ['rev-parse', '--git-path', 'index'])).stdout || '.git/index');
76
+ repo = { indexPath, indexBytes: existsSync(indexPath) ? await readFile(indexPath) : null };
77
+ }
78
+ const w = new Watched({ name: project.name, dir }, photoDir, ownIndex, sharedIndex, repo);
79
+ const first = await w.capture();
80
+ if ('problem' in first)
81
+ return first;
82
+ w.start = first;
83
+ return w;
84
+ }
85
+ /** The photograph's git: its repository, the project as its work tree, this task's index. */
86
+ photo(args, index = this.ownIndex) {
87
+ const env = { ...process.env, GIT_DIR: join(this.photoDir, '.git'), GIT_WORK_TREE: this.project.dir, GIT_INDEX_FILE: index };
88
+ return git(this.project.dir, args, 300_000, env);
89
+ }
90
+ async capture() {
91
+ const add = await this.photo(['add', '-A', '--', '.']);
92
+ if (!add.ok)
93
+ return { problem: `the folder could not be read: ${add.stderr.split('\n')[0]}` };
94
+ const tree = await this.photo(['write-tree']);
95
+ if (!tree.ok)
96
+ return { problem: `the folder could not be recorded: ${tree.stderr.split('\n')[0]}` };
97
+ if (!this.repo)
98
+ return { tree: tree.stdout, head: '', symbolic: '', refs: new Map(), staged: '' };
99
+ const dir = this.project.dir;
100
+ const [head, symbolic, refs, staged] = await Promise.all([
101
+ git(dir, ['rev-parse', '--verify', '--quiet', 'HEAD']),
102
+ git(dir, ['symbolic-ref', '--quiet', 'HEAD']),
103
+ git(dir, ['for-each-ref', '--format=%(objectname) %(refname)', 'refs/heads', 'refs/tags', 'refs/stash']),
104
+ git(dir, ['ls-files', '--stage']),
105
+ ]);
106
+ const map = new Map();
107
+ for (const line of refs.stdout.split('\n')) {
108
+ const [sha, ref] = line.trim().split(' ');
109
+ if (sha && ref)
110
+ map.set(ref, sha);
111
+ }
112
+ return {
113
+ tree: tree.stdout,
114
+ head: head.ok ? head.stdout : '',
115
+ symbolic: symbolic.ok ? symbolic.stdout : '',
116
+ refs: map,
117
+ // Only what is staged, not the stat data a `git status` refreshes.
118
+ staged: createHash('sha1').update(staged.stdout).digest('hex'),
119
+ };
120
+ }
121
+ /** What changed since the task began: files, then the repository. Empty when nothing did. */
122
+ async differences(now) {
123
+ const start = this.start;
124
+ const files = [];
125
+ if (now.tree !== start.tree) {
126
+ const diff = await this.photo(['diff-tree', '-r', '--no-renames', '--name-status', start.tree, now.tree]);
127
+ for (const line of diff.stdout.split('\n')) {
128
+ const m = /^([AMDT])\t(.+)$/.exec(line.trim());
129
+ if (m)
130
+ files.push({ path: m[2], how: m[1] === 'A' ? 'added' : m[1] === 'D' ? 'removed' : 'changed' });
131
+ }
132
+ }
133
+ const gitChanges = [];
134
+ if (this.repo) {
135
+ if (now.symbolic !== start.symbolic)
136
+ gitChanges.push(`HEAD moved from ${short(start.symbolic) || start.head.slice(0, 8)} to ${short(now.symbolic) || now.head.slice(0, 8)}`);
137
+ else if (!start.symbolic && now.head !== start.head)
138
+ gitChanges.push(`HEAD moved from ${start.head.slice(0, 8)} to ${now.head.slice(0, 8)}`);
139
+ for (const [ref, sha] of now.refs) {
140
+ if (!start.refs.has(ref))
141
+ gitChanges.push(`${short(ref)} made`);
142
+ else if (start.refs.get(ref) !== sha)
143
+ gitChanges.push(`${short(ref)} moved`);
144
+ }
145
+ for (const ref of start.refs.keys())
146
+ if (!now.refs.has(ref))
147
+ gitChanges.push(`${short(ref)} deleted`);
148
+ if (now.staged !== start.staged)
149
+ gitChanges.push('what is staged');
150
+ }
151
+ return { files, git: gitChanges };
152
+ }
153
+ /** After a step: what it changed, put back as it was. Null when it changed nothing. */
154
+ async check() {
155
+ const now = await this.capture();
156
+ if ('problem' in now)
157
+ return { ...this.project, files: [], git: [], putBack: false, problem: now.problem };
158
+ const found = await this.differences(now);
159
+ if (found.files.length === 0 && found.git.length === 0)
160
+ return null;
161
+ const problem = await this.putBack(found.files, now);
162
+ const after = await this.capture();
163
+ const still = 'problem' in after ? null : await this.differences(after);
164
+ const left = still ? still.files.length + still.git.length : 1;
165
+ return {
166
+ ...this.project,
167
+ ...found,
168
+ putBack: !problem && left === 0,
169
+ ...(problem || left > 0 ? { problem: problem ?? `${left} change(s) could not be put back${still ? `: ${describeChange({ ...this.project, ...still, putBack: false })}` : ''}` } : {}),
170
+ };
171
+ }
172
+ async putBack(files, now) {
173
+ const start = this.start;
174
+ const dir = this.project.dir;
175
+ const problems = [];
176
+ if (this.repo) {
177
+ // Branches, tags and the stash as they were; then HEAD; then what was staged, byte for byte.
178
+ for (const ref of now.refs.keys())
179
+ if (!start.refs.has(ref))
180
+ await note(problems, git(dir, ['update-ref', '-d', ref]), `${short(ref)} could not be deleted`);
181
+ for (const [ref, sha] of start.refs)
182
+ if (now.refs.get(ref) !== sha)
183
+ await note(problems, git(dir, ['update-ref', ref, sha]), `${short(ref)} could not be put back`);
184
+ if (start.symbolic && now.symbolic !== start.symbolic)
185
+ await note(problems, git(dir, ['symbolic-ref', 'HEAD', start.symbolic]), 'HEAD could not be put back');
186
+ if (!start.symbolic && start.head && (now.symbolic || now.head !== start.head))
187
+ await note(problems, git(dir, ['update-ref', '--no-deref', 'HEAD', start.head]), 'HEAD could not be put back');
188
+ if (now.staged !== start.staged) {
189
+ try {
190
+ if (this.repo.indexBytes)
191
+ await writeFile(this.repo.indexPath, this.repo.indexBytes);
192
+ else
193
+ await unlink(this.repo.indexPath).catch(() => undefined);
194
+ }
195
+ catch (e) {
196
+ problems.push(`what was staged could not be put back: ${e.message}`);
197
+ }
198
+ }
199
+ }
200
+ // Files the step made go; files it changed or removed come back from the photograph, as their bytes.
201
+ for (const f of files.filter((x) => x.how === 'added')) {
202
+ await rm(join(dir, f.path), { force: true }).catch((e) => problems.push(`${f.path} could not be removed: ${e.message}`));
203
+ }
204
+ const back = files.filter((x) => x.how !== 'added').map((x) => x.path);
205
+ if (back.length > 0) {
206
+ const restoreIndex = join(this.photoDir, '.git', `restore-${process.pid}`);
207
+ const read = await this.photo(['read-tree', start.tree], restoreIndex);
208
+ if (!read.ok)
209
+ problems.push(`the files could not be read back: ${read.stderr.split('\n')[0]}`);
210
+ else {
211
+ for (let i = 0; i < back.length; i += 100) {
212
+ await note(problems, this.photo(['checkout-index', '-f', '--', ...back.slice(i, i + 100)], restoreIndex), 'files could not be put back');
213
+ }
214
+ }
215
+ await rm(restoreIndex, { force: true }).catch(() => undefined);
216
+ }
217
+ return problems.length > 0 ? problems.join('; ') : null;
218
+ }
219
+ /** Keeps this task's index as the shared one, so the next task's first photograph is quick, and lets go of it. */
220
+ async close() {
221
+ await copyFile(this.ownIndex, this.sharedIndex).catch(() => undefined);
222
+ await rm(this.ownIndex, { force: true }).catch(() => undefined);
223
+ }
224
+ }
225
+ const short = (ref) => ref.replace(/^refs\/(heads|tags)\//, '').replace(/^refs\/stash$/, 'the stash');
226
+ async function note(problems, r, what) {
227
+ const res = await r;
228
+ if (!res.ok)
229
+ problems.push(`${what}: ${(res.stderr || res.stdout).split('\n')[0]}`);
230
+ }
231
+ /**
232
+ * Every project for reference a task can reach, watched for the length of the task. `unwatched` are the ones that
233
+ * could not be photographed, with why — the chat is still told to leave them alone.
234
+ */
235
+ export class ReferenceGuard {
236
+ watched;
237
+ unwatched;
238
+ constructor(watched, unwatched) {
239
+ this.watched = watched;
240
+ this.unwatched = unwatched;
241
+ }
242
+ static async start(projects, runId) {
243
+ const watched = [];
244
+ const unwatched = [];
245
+ for (const p of projects) {
246
+ const w = await Watched.open(p, runId).catch((e) => ({ problem: e.message }));
247
+ if ('problem' in w)
248
+ unwatched.push({ ...p, problem: w.problem });
249
+ else
250
+ watched.push(w);
251
+ }
252
+ return new ReferenceGuard(watched, unwatched);
253
+ }
254
+ get active() {
255
+ return this.watched.length > 0;
256
+ }
257
+ get projects() {
258
+ return this.watched.map((w) => w.project);
259
+ }
260
+ /** After a step: each project's changes, put back. Empty when the step changed nothing in any of them. */
261
+ async check() {
262
+ const out = [];
263
+ for (const w of this.watched) {
264
+ const c = await w.check().catch((e) => ({ ...w.project, files: [], git: [], putBack: false, problem: e.message }));
265
+ if (c)
266
+ out.push(c);
267
+ }
268
+ return out;
269
+ }
270
+ async close() {
271
+ for (const w of this.watched)
272
+ await w.close();
273
+ }
274
+ }
275
+ /** What the chat is told about the projects for reference, before it starts. Empty when there are none. */
276
+ export function referenceNote(projects, workDir) {
277
+ if (projects.length === 0)
278
+ return '';
279
+ const here = projects.some((p) => resolve(p.dir).toLowerCase() === resolve(workDir).toLowerCase());
280
+ return [
281
+ '## Projects for reference only',
282
+ '',
283
+ 'The operator marked these for reference only: read them, run what only reads, and change nothing in them — no',
284
+ 'file written, moved or removed, nothing installed or built into them, no git command that changes something.',
285
+ 'After every step the runner compares them with how they were when this task began, puts back whatever changed,',
286
+ 'and does not run the rest of that round.',
287
+ ...(here ? ['', 'The folder you work in is one of them: this task can only read, run what reads, and report.'] : []),
288
+ '',
289
+ ...projects.map((p) => `- ${p.name}: ${p.dir}`),
290
+ ].join('\n');
291
+ }
292
+ /** What the chat is told after a step changed a project for reference. */
293
+ export function referenceMessage(changes) {
294
+ return changes
295
+ .map((c) => c.putBack
296
+ ? `The last step changed ${c.name} (${c.dir}), which is for reference only: ${describeChange(c)}. The runner put it back as it was and did not run the rest of the round. Change nothing there; if the work needs a change in it, say so in "notes".`
297
+ : `The last step changed ${c.name} (${c.dir}), which is for reference only: ${describeChange(c)}. The runner could not put all of it back (${c.problem ?? 'no reason given'}); the operator has been told. Change nothing there.`)
298
+ .join('\n\n');
299
+ }
package/dist/web/404.html CHANGED
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><!--_1zhoDsMOPAH2xW702E5A--><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/3bea264adc472bc8.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-77147e31d2125631.js"/><script src="/_next/static/chunks/c7879cf7-b5ab1053c1d9a2e7.js" async=""></script><script src="/_next/static/chunks/131-bae98f790a541679.js" async=""></script><script src="/_next/static/chunks/main-app-e3a5f713ba31557e.js" async=""></script><script src="/_next/static/chunks/134-ddd50a7fbb536ec8.js" async=""></script><script src="/_next/static/chunks/921-dc5538cd779c6432.js" async=""></script><script src="/_next/static/chunks/808-bc7d7eac6d823291.js" async=""></script><script src="/_next/static/chunks/app/layout-8f99a164d76897a0.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{
1
+ <!DOCTYPE html><!--WuIGWiKKh_ESR3KwzsLZF--><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/d3398f485b2a9075.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-cb74fa884b8af278.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-54dae769aa8bae96.js" async=""></script><script src="/_next/static/chunks/7500-f90e2ae7061e351d.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';
@@ -8,6 +8,7 @@ d.dataset.motion=a.reduceMotion?'reduced':'normal';
8
8
  d.dataset.links=a.underlineLinks?'underline':'plain';
9
9
  d.dataset.focus=a.strongFocus?'strong':'normal';
10
10
  d.dataset.night=a.nightLight?'on':'off';
11
+ d.dataset.cursor=a.systemCursor?'system':'own';
11
12
  var l=(localStorage.getItem('cop.locale')||'').toLowerCase();
12
13
  if(["ar"].indexOf(l)>=0){d.dir='rtl';d.lang=l;}
13
- }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><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,&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-77147e31d2125631.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[8078,[\"134\",\"static/chunks/134-ddd50a7fbb536ec8.js\",\"921\",\"static/chunks/921-dc5538cd779c6432.js\",\"808\",\"static/chunks/808-bc7d7eac6d823291.js\",\"177\",\"static/chunks/app/layout-8f99a164d76897a0.js\"],\"AppearanceProvider\"]\n3:I[8205,[\"134\",\"static/chunks/134-ddd50a7fbb536ec8.js\",\"921\",\"static/chunks/921-dc5538cd779c6432.js\",\"808\",\"static/chunks/808-bc7d7eac6d823291.js\",\"177\",\"static/chunks/app/layout-8f99a164d76897a0.js\"],\"LanguageProvider\"]\n4:I[1035,[\"134\",\"static/chunks/134-ddd50a7fbb536ec8.js\",\"921\",\"static/chunks/921-dc5538cd779c6432.js\",\"808\",\"static/chunks/808-bc7d7eac6d823291.js\",\"177\",\"static/chunks/app/layout-8f99a164d76897a0.js\"],\"DialogHost\"]\n5:I[8214,[\"134\",\"static/chunks/134-ddd50a7fbb536ec8.js\",\"921\",\"static/chunks/921-dc5538cd779c6432.js\",\"808\",\"static/chunks/808-bc7d7eac6d823291.js\",\"177\",\"static/chunks/app/layout-8f99a164d76897a0.js\"],\"SkipLink\"]\n6:I[8300,[\"134\",\"static/chunks/134-ddd50a7fbb536ec8.js\",\"921\",\"static/chunks/921-dc5538cd779c6432.js\",\"808\",\"static/chunks/808-bc7d7eac6d823291.js\",\"177\",\"static/chunks/app/layout-8f99a164d76897a0.js\"],\"Shell\"]\n7:I[5204,[],\"\"]\n8:I[2642,[],\"\"]\n9:I[7712,[\"134\",\"static/chunks/134-ddd50a7fbb536ec8.js\",\"921\",\"static/chunks/921-dc5538cd779c6432.js\",\"808\",\"static/chunks/808-bc7d7eac6d823291.js\",\"177\",\"static/chunks/app/layout-8f99a164d76897a0.js\"],\"ScrollJump\"]\na:I[433,[],\"OutletBoundary\"]\nc:I[9884,[],\"AsyncMetadataOutlet\"]\ne:I[433,[],\"ViewportBoundary\"]\n10:I[433,[],\"MetadataBoundary\"]\n11:\"$Sreact.suspense\"\n13:I[3536,[],\"\"]\n:HL[\"/_next/static/css/3bea264adc472bc8.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"_1zhoDsMOPAH2xW702E5A\",\"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/3bea264adc472bc8.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';\\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,&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-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>
@@ -1 +1 @@
1
- self.__BUILD_MANIFEST=function(e,r,t){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:4,errorRate:1e-4,numBits:77,numHashes:14,bitArray:[1,0,0,r,r,1,e,r,r,r,r,e,r,e,r,r,e,e,e,r,e,r,e,e,e,e,r,r,r,e,r,e,e,r,e,r,r,r,e,r,e,r,e,r,e,e,r,e,r,r,e,r,e,r,e,r,e,e,r,e,r,e,e,r,e,r,e,e,e,e,e,r,r,e,e,e,e]},__routerFilterDynamic:{numItems:r,errorRate:1e-4,numBits:r,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-abbab53f25ea29b0.js"],sortedPages:["/_app","/_error"]}}(1,0,1e-4),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
1
+ self.__BUILD_MANIFEST=function(e,r,t){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:4,errorRate:1e-4,numBits:77,numHashes:14,bitArray:[1,0,0,r,r,1,e,r,r,r,r,e,r,e,r,r,e,e,e,r,e,r,e,e,e,e,r,r,r,e,r,e,e,r,e,r,r,r,e,r,e,r,e,r,e,e,r,e,r,r,e,r,e,r,e,r,e,e,r,e,r,e,e,r,e,r,e,e,e,e,e,r,r,e,e,e,e]},__routerFilterDynamic:{numItems:r,errorRate:1e-4,numBits:r,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-cf88c6d2cc5868d7.js"],sortedPages:["/_app","/_error"]}}(1,0,1e-4),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1017],{11017:(e,s,c)=>{c.d(s,{createPieServices:()=>a.f});var a=c(57650);c(74775)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1077],{11077:(e,a,t)=>{t.r(a),t.d(a,{ja:()=>o});let o={"nav.label":"メむン","nav.live":"ラむブ","nav.liveTitle":"チャットは珟圚䜜業䞭です。開いお様子を確認できたす。","nav.system":"システム","nav.workbench":"チャット","nav.appearance":"倖芳","chat.askRun":"実行","chat.askRunAll":"これず残りを実行","chat.askSkip":"スキップ","chat.askTitle":"このコマンドを実行したすか?","chat.changed":"{n} 個のファむルが倉曎されたした:","chat.example1":"このプロゞェクトの構成ず、テストの実行方法を説明しおください。","chat.example2":"テストを実行しお、倱敗したものを修正しおください。","chat.example3":"プロゞェクトをロヌカルで起動する方法を説明するセクションを README に远加しおください。","chat.exit":"終了コヌド {code}","chat.input":"チャットぞのメッセヌゞ","chat.lookAbove":"䞊郚のカヌドで応答を埅っおいたす。","chat.mode":"コマンドの実行方法","chat.modeAsk":"コマンドごずに確認","chat.modeAuto":"確認せずにコマンドを実行","chat.modeWhy":"チャットから送られる各コマンドがあなたの確認を埅぀か、すぐに実行されるかを指定したす。どちらの堎合も犁止コマンドの䞀芧が適甚されたす。","chat.skill":"スキル","chat.skillNone":"スキルなし","chat.skillWhy":"スキルは、この皮類のタスク向けのあなたの指瀺 (「蚭定 → スキル」で曞いたもの) をメッセヌゞに远加したす。メッセヌゞを /名前 で始めおも同じです。","chat.skillUsed":"スキル: /{name}","chat.skillUnknown":"このフォルダヌにはスキル /{name} がありたせん。䜿えるスキル: {names}。","chat.skillNoText":"/{name} の埌に、どのようなタスクかをメッセヌゞずしお曞いおください。","git.title":"Git","git.refresh":"フォルダヌの git を再読み蟌み","git.noFolder":"プロゞェクト フォルダヌが開かれおいたせん。","git.notRepo":"プロゞェクト フォルダヌは git リポゞトリではありたせん。","git.upstream":"{name}: {ahead} 件先行、{behind} 件遅れ","git.staged":"ステヌゞされた倉曎","git.changes":"倉曎","git.noChanges":"前回のコミット以降、倉曎はありたせん。","git.commits":"コミット","git.noCommits":"ただコミットがありたせん。","git.commitFiles":"{sha} のファむル","git.more":"最新の {n} 件を衚瀺しおいたす。","git.workingTree":"䜜業ツリヌ","git.index":"むンデックス","git.status.M":"倉曎","git.status.A":"远加","git.status.D":"削陀","git.status.R":"名前倉曎","git.status.C":"コピヌ","git.status.T":"皮類の倉曎","git.status.U":"未远跡","git.status.conflict":"競合","copy.copy":"コピヌ","copy.copied":"コピヌしたした","copy.failed":"コピヌできたせんでした","chat.foldOpen":"メッセヌゞ党䜓を衚瀺","chat.foldClose":"メッセヌゞを最初の数行に折りたたむ","chat.copyMessage":"自分のメッセヌゞをコピヌ","chat.copyReply":"チャットの応答をコピヌ","chat.copySummary":"終了時の結果をコピヌ","chat.copyCommand":"コマンドずその出力をコピヌ","chat.newChat":"新しいチャット","chat.newChatWhy":"次のメッセヌゞで、この䌚話の内容を䞀切含たない新しい䌚話が Copilot で始たりたす。この䌚話は䞀芧に残り、埌から戻るこずができたす。","chat.newChatRunning":"タスクを実行䞭です。「新しいチャット」はタスクが止たるず䜿えるようになりたす。「停止」を抌すか、Copilot のブラりザヌ りィンドりを閉じおください。","chat.newChatFresh":"これはすでに新しいチャットです。䞋に最初のメッセヌゞを曞くず始たりたす。","chat.exchange":"– JSON","chat.exchangeWhy":"このメッセヌゞに぀いおボットず Copilot の間で亀わされたすべおの内容 (JSON ファむル): 送信されたすべおのメッセヌゞ、すべおの応答、実行されたすべおのコマンドずその出力党䜓および終了コヌド。","chat.newThread":"新しい䌚話","chat.notStarted":"開始されたせんでした: {reason}","chat.notStartedYet":"開始されおいたせん。メッセヌゞは䌚話に残っおいたす。別のメッセヌゞを送るか、そのセッションから開始しおください。","chat.noted":"進行䞭の䜜業に远加したした。次の報告時に枡されたす。","chat.openFolder":"フォルダヌを開く","chat.placeholder":"{folder} での倉曎を䟝頌  (Enter で送信、Shift+Enter で改行)","chat.placeholderNoFolder":"先にフォルダヌを開いおください","chat.placeholderRunning":"進行䞭の䜜業に远加  次の報告時に枡されたす","chat.queued":"開始を埅っおいたす。","chat.running":"実行䞭 ","chat.send":"送信","chat.sendNote":"远加","chat.sendWhy":"Enter","chat.stop":"停止","chat.review":"レビュヌ","chat.reviewWhy":"Copilot が䜜業の完了を告げるず、専甚の䌚話がそれをチェックしたす。倉曎を読み、チェックを実行し、芋぀かった内容を送り返したす。これは合栌するか、蚭定のレビュヌ ラりンド数を䜿い切るたで続きたす。チェックを倖さない限りオンです。この䌚話、たたは次の䌚話に適甚されたす。","chat.lead":"2 ぀のチャット","chat.leadWhy":"䞀床にこなすには倧きすぎるタスク向けの、リヌダヌずワヌカヌによる方匏です。あなたのメッセヌゞはリヌダヌに送られたす。リヌダヌはそれを蚀い盎しお理解できおいるかを確かめ、ワヌカヌにプロゞェクトを調べさせ、プランを䜜成し、ワヌカヌにサブタスクを 1 ぀ず぀枡しおその報告を評䟡したす。これを、䟝頌した圢匏で結果ができあがるたで続けたす。コマンドを実行するのはワヌカヌです。どちらも同じ Copilot のりィンドり内の䌚話です。䜕を求めおいるのか、結果をどの圢匏で受け取りたいのかを、はっきり曞いおください。新しい䌚話に適甚されたす。すでに開始した䌚話は、開始時の方匏を保持したす。","chat.leadModel":"リヌダヌ","chat.workerModel":"ワヌカヌ","chat.workerSameModel":"リヌダヌのモデル","lead.who":"リヌダヌ","lead.understood":"リヌダヌはタスクを次のように理解しおいたす","lead.plan":"リヌダヌのプラン (バヌゞョン {v})","lead.subtask":"サブタスク {n}: {title}","lead.readOnly":"読み取りのみ","lead.fresh":"新しいワヌカヌ","lead.thinking":"リヌダヌが次のステップを決めおいたす ","lead.working":"ワヌカヌがサブタスク {n} に取り組んでいたす ","lead.subtasks":"サブタスク {n}/{max}","lead.question":"リヌダヌがあなたに質問しおいたす","lead.answer":"あなたの回答","lead.answerPlaceholder":"回答を曞くか、䞊の遞択肢から 1 ぀を遞んでください。","lead.send":"回答を送信","lead.stop":"タスクを停止","lead.stopConfirm":"リヌダヌの質問の時点でこのタスクを停止したすか? タスクは停止ずしお終了し、ここたでに行われた䜜業は残りたす。","lead.answered":"あなたは次のように回答したした","lead.evidence":"それを瀺す根拠","lead.messages":"メッセヌゞ: リヌダヌ {lead} \xb7 ワヌカヌ {worker} \xb7 合蚈 {total}","chat.pause":"䞀時停止","chat.pauseWhy":"䜜業をその堎で保留したす。Copilot が曞いおいる途䞭の応答ず実行䞭のコマンドは最埌たで終わらせ、その埌は「続行」を抌すたで Copilot に䜕も送らず、ほかのコマンドも実行したせん。䌚話ずブラりザヌ りィンドりはそのたた残り、䞀時停止䞭の時間は制限時間に含たれたせん。","chat.resume":"続行","chat.resumeWhy":"䞀時停止した所から䜜業を続けたす。","chat.pausedNote":"䞀時停止䞭: 「続行」を抌すたで、Copilot には䜕も送られず、䜕も実行されたせん。","chat.stopping":"停止しおいたす  Copilot が曞いおいる応答をたず埅ち、その埌は䜕も送りたせん。","chat.rewind":"このメッセヌゞの前に戻る","chat.rewindConfirm":"フォルダヌをこのメッセヌゞの前ずたったく同じ状態に戻し、このメッセヌゞずそれ以降を䌚話から取り陀きたすか ({n} 件のメッセヌゞ)? 珟圚のフォルダヌの状態は、git の安党甚コピヌに保存されたす。","chat.rewound":"そのメッセヌゞの前に戻りたした。フォルダヌは圓時の状態になり、メッセヌゞは入力欄に戻っおいるので、もう䞀床送信するこずも倉曎するこずもできたす。","chat.model":"モデル","chat.modelDefault":"蚭定どおり ({model})","chat.modelByHand":"モデルを手動で蚭定","chat.readModels":"Copilot から最新のモデルを読み取る","chat.modelsReading":"Copilot からモデルを読み取っおいたす  (ブラりザヌが䞀時的に開きたす)","chat.modelsRead":"モデルの䞀芧は、Copilot が珟圚提䟛しおいるものです。","chat.thread":"䌚話","chat.turn":"メッセヌゞ: {text}","chat.waitingTurn":"前のメッセヌゞが終わるのを埅っおいたす。","chat.welcome":"{folder} での倉曎を䟝頌","chat.welcomeWhy":"Copilot はコマンドで応答したす。コマンドはここ {dir} で、珟圚のブランチ ({branch}) 䞊で実行され、その出力は䜜業が完了するたで Copilot に返されたす。フォルダヌは各メッセヌゞの前に保存されるので、どのメッセヌゞの前にも戻るこずができたす。","chat.working":"䜜業䞭  メッセヌゞ {n}","wb.fileOnDisk":"{path} — ディスク䞊の内容、読み取り専甚","wb.welcomeChat":"開いおいるフォルダヌは {dir} です。チャットに倉曎内容を曞いおください。Copilot は完了するたでここでコマンドを実行したす。","wb.binary":"バむナリ","wb.chatPanel":"チャット","theme.system":"システム","wb.appearance":"倖芳: テヌマずテキスト","ap.smaller":"文字を小さく","ap.larger":"文字を倧きく","wb.terminalInfoLabel":"タヌミナルに衚瀺される内容","wb.terminalInfo":"チャットで開いおいる䌚話の最新メッセヌゞに぀いお Copilot が実行したすべおのコマンドを、実行した順に衚瀺したす。コマンド、その終わり方 (終了コヌド)、出力されたすべおの内容です。メッセヌゞの䜜業䞭は、最新のコマンドを远いたす。\n\nここには䜕も入力したせん。このマシンの開いおいるフォルダヌで実行された内容を衚瀺したす。新しいチャットでは空の状態から始たりたす。","wb.problemsInfoLabel":"問題に衚瀺される内容","wb.problemsInfo":"チャットで開いおいる䌚話でうたくいかなかったこずを衚瀺したす。未完了のたた終わった、停止した、たたは䞊限に達したメッセヌゞずその理由、合栌しなかったチェックなどです。項目を抌すず、そのメッセヌゞがチャットに衚瀺されたす。\n\n「確認枈み」を抌すず、その問題が䞀芧ず件数から倖れたす (このブラりザヌのみ)。メッセヌゞ自䜓には残りたす。タブの数字は、ただ確認しおいない問題の数です。","wb.outputInfoLabel":"出力に衚瀺される内容","wb.outputInfo":"チャットで開いおいる䌚話に぀いおのボット自身のログです。最新の行が䞀番䞋にあり、各行に時刻が付きたす。ブラりザヌの起動ずサむンむン、モデル、Copilot に送信した各メッセヌゞずその応答の到着、芁求されたコマンドず実行されたコマンド、停止、゚ラヌなどです。\n\n赀い行ぱラヌ、黄色い行は譊告です。想定どおりに進たなかったずきに読むものです。","wb.pickChat":"チャットにメッセヌゞを曞いおください。実行された内容がここに衚瀺されたす。","wb.problemShow":"そのメッセヌゞをチャットに衚瀺","wb.cmdThread":"䌚話「{name}」をチャットで開く","kerrigan.button":"Kerrigan","kerrigan.menu":"Kerrigan: 保存たたはコピヌ","kerrigan.save":"ファむルずしお保存","kerrigan.copy":"クリップボヌドにコピヌ","kerrigan.saved":"{name} ずしお保存したした。䌚話の最初にチャットに枡しおください。","kerrigan.copied":"コピヌしたした ({n} 文字)。お奜きなチャットずの䌚話の最初に貌り付けおください。","kerrigan.copyFailed":"ブラりザヌがコピヌを蚱可したせんでした。代わりに「ファむルずしお保存」を䜿っおください。","kerrigan.failed":"Kerrigan を読み取れたせんでした: {reason}","kerrigan.infoLabel":"Kerrigan ずは?","kerrigan.info":"Kerrigan は、䜿っおも䜿わなくおもよいヘルパヌです。このボタンで埗られるテキスト (ペル゜ナ) を、Microsoft Copilot、ChatGPT など、お奜きなチャットずの䌚話の最初に貌り付けたす。するず、そのチャットは copilot-operator が䜕であり、どのように動䜜するかを理解し、蚭定で各プロゞェクトに曞いたレベル 2 を通しおあなたのプロゞェクトを把握し、このプログラム向けのタスクを曞く手助けをしたす。1 ぀のメッセヌゞで䜕を䟝頌するか、どのファむルやフォルダヌを挙げるか、「完了」がどのような状態でそれをどう確認するか、䜕に手を付けないか、などです。プログラムでわかりにくい点があれば説明し、タスクが完了するたで案内したす。\n\nその埌、手䌝っおもらっお曞いたメッセヌゞを、ここのチャットにコピヌしたす。ここのチャットは Kerrigan を必芁ずせず、Kerrigan がなくおも同じように動䜜したす。このボタンはどこにも䜕も送信したせん。","ap.night":"倜間モヌド","ap.systemCursor":"システム暙準のカヌ゜ル","chat.planMode":"プラン モヌド","chat.planModeWhy":"Copilot はたず䜕も倉曎せずにプロゞェクトを調べ、プランを提案したす。ここでプランを承認するず䜜業が始たりたす。","chat.planShown":"承認されたプラン (バヌゞョン {v})","ed.save":"保存","ed.revert":"自分の倉曎を元に戻す","ed.saved":"保存したした。","ed.clean":"倉曎なし","ed.unsaved":"未保存","ed.language":"蚀語","ed.langAuto":"自動 ({name})","ed.label":"{path} のテキスト","ed.changedOnDisk":"ファむルを開いた埌に、ディスク䞊のファむルが倉曎されたした (チャットたたは別のプログラムが倉曎したした)。","ed.reload":"再読み蟌み (自分の倉曎は倱われたす)","ed.saveOver":"䞊曞き保存","ed.closeUnsaved":"「{name}」には保存されおいない倉曎がありたす。閉じお倉曎を砎棄したすか?","ed.view":"Markdown ファむルの衚瀺方法","ed.viewWhy":"Markdown ファむルを、線集甚のテキスト、テキストず衚瀺結果を巊右に䞊べた圢、たたは衚瀺結果のみで衚瀺したす (Ctrl+Shift+V)。","ed.viewCode":"コヌド","ed.viewSplit":"䞊べお衚瀺","ed.viewPreview":"プレビュヌ","wb.chatTab":"チャット","wb.closeTab":"{name} を閉じる","wb.cmdChat":"チャットに曞き蟌む","wb.cmdCommits":"Git を衚瀺: 倉曎ずコミット","wb.cmdFiles":"リポゞトリのファむルを衚瀺","wb.cmdGo":"移動: {page}","wb.cmdPanel":"パネルの衚瀺/非衚瀺","wb.cmdResetLayout":"パネルを元の䜍眮に戻す","wb.search":"怜玢 (Ctrl+Shift+F)","wb.cmdQuickOpen":"ファむルに移動 ","wb.cmdSearch":"ファむル内を怜玢","wb.cmdProblems":"問題を衚瀺","wb.cmdSide":"゚クスプロヌラヌの衚瀺/非衚瀺","wb.editor":"゚ディタヌ","wb.explorer":"゚クスプロヌラヌ","wb.files":"ファむル","wb.idle":"䜕も実行されおいたせん","wb.keys":"Ctrl+K: すべおを怜玢 \xb7 Ctrl+B: ゚クスプロヌラヌ \xb7 Ctrl+J: パネル \xb7 Ctrl+L: チャットに曞き蟌む","wb.loading":"読み蟌んでいたす ","wb.modelDefault":"チャットの既定のモデル","wb.modelNow":"セッションが䜿甚しおいるモデル","wb.noEvents":"このセッションではただ䜕も起きおいたせん。","wb.noProblems":"このセッションに問題はありたせん。","wb.problemSeen":"確認枈み","wb.problemSeenWhy":"このブラりザヌで、䞀芧ず件数から倖したす。タスクには残っおおり、埌のタスク実行で同じ問題が再び起きるず、もう䞀床衚瀺されたす。","wb.problemsAllSeen":"すべお確認枈み","wb.problemsShowSeen":"確認枈みの {n} 件を衚瀺","wb.problemsHideSeen":"確認枈みを非衚瀺","wb.problemsNoneNew":"新しい問題はありたせん。ここにある問題はすべお確認枈みです。","wb.newChatTerminal":"新しいチャットです。実行が始たるず、そのコマンドがここに衚瀺されたす。","wb.newChatProblems":"新しいチャットです。ただ䜕も問題は起きおいたせん。","wb.newChatOutput":"新しいチャットです。実行が始たるず、その動䜜がここに衚瀺されたす。","wb.noSteps":"このタスクはただコマンドを実行しおいたせん。","wb.noTabs":"゚クスプロヌラヌからファむルを開いおください。","wb.openRunning":"実行䞭の䌚話をチャットに衚瀺","wb.openTabs":"開いおいるタブ","wb.output":"出力","wb.palette":"コマンド、ペヌゞ、䌚話を怜玢","wb.paletteNone":"芋぀かりたせんでした。","wb.palettePlaceholder":"入力しお怜玢 ","wb.paletteWhy":"チャットのすべおのコマンド、ペヌゞ、䌚話を数文字で怜玢 (Ctrl+K)","wb.panel":"パネル","wb.problems":"問題","wb.refresh":"再読み蟌み","wb.resize":"ドラッグしおサむズを倉曎","wb.move":"{name} を移動","wb.moveWhy":"ドラッグしお別のパネルの䞊にドロップするず、2 ぀の䜍眮が入れ替わりたす。クリックするず、移動先を遞べたす。","wb.moveLeft":"巊ぞ","wb.moveCenter":"䞭倮ぞ","wb.moveRight":"右ぞ","wb.dropHere":"ここにドロップ: 2 ぀の䜍眮が入れ替わりたす","wb.runningLine":"{session} › {task} \xb7 メッセヌゞ {n}/{max} \xb7 {m}/{maxm} 分","wb.runningLineTwo":"{session} › {task} \xb7 メッセヌゞ: リヌダヌ {lead}、ワヌカヌ {worker}、合蚈 {total} \xb7 {m}/{maxm} 分","wb.pausedTag":"䞀時停止䞭","wb.runningNow":"実行䞭 ","wb.status":"状態","wb.terminal":"タヌミナル","wb.toggleChat":"チャットの衚瀺/非衚瀺","wb.tooLarge":"倧きすぎお衚瀺できたせん。","wb.viewCommits":"Git","wb.viewFiles":"ファむル","wb.views":"ビュヌ","wb.waiting":"{n} 件があなたを埅っおいたす","wb.welcome":"ようこそ","wb.welcomeWhy":"フォルダヌを開いおください。チャットはそのフォルダヌで䜜業し、そのファむルず git ぱクスプロヌラヌに衚瀺されたす。","search.title":"怜玢","search.input":"怜玢","search.matchCase":"倧文字ず小文字を区別する","search.wholeWord":"単語単䜍で怜玢する","search.regex":"正芏衚珟を䜿甚する","search.details":"怜玢の詳现を切り替える","search.include":"含めるファむル","search.exclude":"陀倖するファむル","search.includePlaceholder":"䟋: *.ts, src/**","search.excludePlaceholder":"䟋: *.min.js, dist","search.refresh":"最新の情報に曎新","search.clear":"怜玢結果のクリア","search.collapse":"すべお折りたたむ","search.expand":"すべお展開","search.searching":"怜玢しおいたす ","search.results":"{files} 個のファむルに {n} 件の結果","search.truncated":"結果セットには䞀臎した項目の䞀郚のみが含たれおいたす。怜玢条件をより具䜓的にしお、結果を絞り蟌んでください。","search.none":"結果が芋぀かりたせんでした。","search.problem":"怜玢を実行できたせんでした: {why}","quick.label":"ファむルに移動","quick.placeholder":"ファむルを名前で怜玢 (行に移動するには : を远加したす)","quick.none":"䞀臎する結果はありたせん","quick.recent":"最近開いたもの","md.externalImage":"むンタヌネット䞊の画像はここには読み蟌たれたせん。別のタブで開きたす: {url}","md.mermaidError":"この図を描画できたせんでした: {why}","md.mermaidLoading":"図を描画しおいたす ","dialog.confirmTitle":"よろしいですか?","dialog.noticeTitle":"お知らせ","dialog.ok":"OK","dialog.cancel":"キャンセル","exec.title":"実行","exec.intro":"タスクの実行方法: どれだけ続けおよいか、䞊限に達したずきに䜕が起きるか、あなたがいなくおも䜕を実行しおよいか。data/settings.json に保存され、今埌開始するタスクに適甚されたす。","exec.maxIterations":"1 ぀のタスクでチャットに送るメッセヌゞの最倧数","exec.maxIterationsUnit":"メッセヌゞ。その埌、タスクは「䞊限到達」ずしお停止したす","exec.maxIterationsWhy":"各メッセヌゞが 1 ラりンドです。チャットがステップを送り、ランナヌがそれを実行しお結果を報告したす。これは堂々巡りになったタスクを止めるためのもので、通信量を制限するものではありたせん。通信量を制限するのは 1 時間あたりの䞊限で、こちらは停止せずに埅機したす。ここで停止したタスクは、同じチャットで続行できたす。","exec.maxSubtasks":"リヌダヌが枡せるサブタスクの最倧数","exec.maxSubtasksUnit":"サブタスク (2 ぀のチャットを䜿うメッセヌゞ 1 ぀あたり)","exec.maxSubtasksWhy":"2 ぀のチャットを䜿う䌚話では、リヌダヌがワヌカヌにサブタスクを 1 ぀ず぀枡したす。各サブタスクはワヌカヌのタスクの 1 ぀であり、䞊蚘の䞊限が適甚されたす。これはメッセヌゞ党䜓に察する䞊限です。サブタスクを䜿い切るず、リヌダヌはその時点で手元にあるものを提出するよう指瀺されたす。今埌開始するメッセヌゞに適甚されたす。","exec.maxRunMinutes":"タスクの最長実行時間","exec.maxRunMinutesUnit":"分","exec.maxRunMinutesWhy":"タスクの最初のメッセヌゞから数え、1 時間あたりの䞊限による埅機時間も含みたす。ここで停止したタスクは、同じチャットで続行できたす。","exec.replyTimeout":"チャットの応答を埅぀時間","exec.replyTimeoutUnit":"秒 (900 = 15 分)","exec.replyTimeoutWhy":"メッセヌゞを送信しおから応答が完了するたでの時間です。それたでに完了しない応答は、タスクを倱敗ずしお終了させたす (「Copilot did not finish a reply within  」)。その際、チャットのスクリヌンショットが実行フォルダヌに保存されたす。遅いモデルや長い応答では数分かかるこずがありたす。今埌開始する実行に適甚されたす。","exec.gap":"メッセヌゞの間に間隔を空ける","exec.gapWhy":"チェックするず、Copilot ぞのメッセヌゞは、盎前のメッセヌゞから䞋の時間が経過するたで埅ちたす。リヌダヌ宛おでもワヌカヌ宛おでも、どの䌚話でも同じです。メッセヌゞが続けざたに送られないようにしたい堎合に䜿いたす。","exec.gapSec":"最短","exec.gapSecWhy":"2 ぀のメッセヌゞの間の最短時間です。60 にするず、メッセヌゞは倚くおも 1 分に 1 件になりたす。","exec.gapUnit":"秒","exec.gapRandom":"ランダムな時間","exec.gapRandomWhy":"チェックするず、間隔は毎回、䞊の「最短」ず䞋の「最長」の間で新たに遞ばれたす (たずえば 60 秒から 90 秒の間)。メッセヌゞが䞀定のリズムで送られないようにするためです。","exec.gapMax":"最長","exec.gapMaxWhy":"最長の間隔 (秒) です。「最短」より短くなるこずはありたせん。","startdlg.title":"䜜業の開始地点","pm.copyPlan":"プランをコピヌ","pm.cardTitle":"「{title}」のプラン (承認埅ち)","pm.cardWhy":"ただ䜕も倉曎されおいたせん。このプランを承認するず䜜業が始たりたす。","pm.note":"チャットぞのメモ (承認時は省略可。別のプランを䟝頌するずきは、䜕を倉えるかを曞きたす)","pm.notePlaceholder":"䟋: 叀い゚ンドポむントは動䜜したたたにするこず。マむグレヌションには手を付けないこず。","pm.approve":"承認しお䜜業を開始","pm.revise":"別のプランを䟝頌","pm.reviseWhy":"チャットがメモに基づいお新しいプランを䜜成し、同じカヌドがそのプランずずもに戻っおきたす。","pm.reviseNeedsNote":"新しいプランで䜕を倉えるべきかをメモに曞いおください。","pm.stop":"タスクを停止","pm.stopConfirm":"䜜業をせずにこのタスクを停止したすか? タスクは停止ずしお終了し、再実行できたす。","pm.version":"プラン バヌゞョン {n}、{at}","pm.approvedByOperator":"オペレヌタヌが承認したした ({at})。","pm.approvedAuto":"ランナヌが承認したした ({at})。","pm.approvedNote":"メモ: {note}","pm.existing":"既存の内容","pm.approach":"アプロヌチ","pm.steps":"ステップ","pm.files":"倉曎される芋蟌みのファむル","pm.verification":"䜜業の完了をどう瀺すか","pm.risks":"リスク","pm.revisions":"以前のバヌゞョンず、倉曎を䟝頌された点","pm.revision":"バヌゞョン {n} ({at}):","startfail.laterSession":"進行䞭の実行のセッションを開始できたせんでした:","startdlg.goStep":"開始 (コマンドごずに確認)","startdlg.goUnattended":"確認せずに開始","startfail.title":"䜜業が開始されたせんでした","startfail.where":"停止した堎所: {stage}。","startfail.stage.refused":"開始の受け付け (䜕かが開く前に拒吊されたした)","startfail.stage.branch":"開始元ずしお遞んだブランチ","startfail.stage.preflight":"バヌゞョン管理のチェック (ブラりザヌが開く前)","startfail.stage.browser":"ブラりザヌ (Edge)、そのプロファむル、たたはチャットを開く凊理","startfail.stage.run":"実行 (最初のタスクが始たる前)","startfail.stage.at-turn":"実行内でのこのセッションの順番 (最初のタスクの前)","startfail.stage.error":"開始䞭のボット自䜓","startfail.when":"{when}、実行 {run}","startfail.whenNoRun":"{when}","startfail.download":"発生した内容をダりンロヌド (゚ラヌ、実行蚘録、タヌミナル)","startfail.terminal":"タヌミナルの衚瀺内容をダりンロヌド","startfail.downloadWhy":"゚ラヌ、停止した堎所、実行自䜓の蚘録、セッションのむベント、そしおボタンを抌しおから数秒埌たでにボットのコン゜ヌルが出力したすべおの行を含むテキスト ファむルです。シヌクレットのように芋えるテキストは陀去されたす。","startfail.dismiss":"このお知らせを閉じる","startfail.later":"この実行は受け付けられたしたが、その埌開始できたせんでした:","sys.terminalWhy":"ボットのコン゜ヌル (npm start たたは cop start が出力した内容) をテキスト ファむルずしお取埗したす。最新の行で、各行に時刻が付き、シヌクレットのように芋えるテキストは陀去されたす。ボットの起動以降のすべおの内容は、デヌタ フォルダヌの logs\\terminal.log にもありたす。","exec.autoContinue":"䞊限に達した埌も続行","exec.autoContinueUnit":"回 (タスクごず)。その埌は「続行」を埅ちたす (0 = 䞊限で停止)","exec.autoContinueWhy":"䞋蚘のいずれかの䞊限 (メッセヌゞ数、分数、応答の埅機、圢匏の誀った応答、倱敗したチェックやレビュヌの指摘事項を修正するラりンド) で停止したタスクを、「続行」ず同じように、そのタスク自身のチャットで到達した所からすぐに続けたす。これをこの回数たで行いたす。こうしお䜜業はタスクが完了するたで続き、それでも䞊限が䜜業を制限したす。タスクが受けられる各䞊限は、最倧でこの数に 1 を足した回数です。ブロックしたタスク (チャットが䜕かが必芁だず告げた堎合) は新しいチャットに移り、その埌あなたを埅ちたす。あなたが停止したタスクが続行されるこずはありたせん。","exec.maxReviewRounds":"レビュヌ䞍合栌埌の修正ラりンド数","exec.maxReviewRoundsUnit":"ラりンド。その埌、タスクはレビュヌの指摘事項ずずもに「ブロック」で終了したす","exec.maxReviewRoundsWhy":"独立したレビュヌで䜜業が䞍合栌になるず、その指摘事項が修正のためにチャットに戻され、䜜業が再びレビュヌされたす。その回数です。䞊蚘のアプロヌチ数ずは別の䞊限です。あちらはチャットがどう諊めるかを数え、こちらはレビュヌを数えたす。3 か 4 にするず、䜜業にあず 1、2 回のチャンスが䞎えられたす。それ以䞊増やしおも圹立぀こずはたれです。䜕床修正しおも残る指摘事項は、たいおいタスク自䜓の曞き方を倉える必芁があるこずを意味したす。","exec.minApproaches":"チャットが諊める前に詊すべきアプロヌチの数","exec.minApproachesUnit":"皮類の異なるアプロヌチ。その埌「ブロック」が受け入れられたす","exec.minApproachesWhy":"チャットが完了できないず告げ、詊したこずを列挙するず、タスクは「ブロック」で終了したす。詊したアプロヌチがこの数より少ない堎合、ランナヌは別の異なるアプロヌチを求めおチャットに差し戻したす。圢匏自䜓の最小倀は 2 です。新しいこずを䜕も詊さずに「ブロック」の応答が 3 回続いた堎合は、それでも受け入れられたす。","exec.retryBlocked":"タスクがブロックで終了したら、新しい䌚話で再実行","exec.retryBlockedTimes":"回。その埌は結果を受け入れたす","exec.retryBlockedWhy":"ランナヌには、タスクがブロックした理由がプロンプトなのか、マシンなのか、チャット自䜓 (Copilot が序盀のやり取りを参照できなくなった長い䌚話) なのかを刀別できたせん。契玄を再送した新しいチャットで解消できるのは、チャット偎の原因だけです。完了しお戻っおきたタスクはチャットが原因でブロックしおいたこずになり、再びブロックしたタスクはそうではありたせん。どちらの詊行もタスクの蚘録に残りたす。0 にするずこの機胜はオフになりたす。","exec.isolation":"ボットの実行堎所","exec.isolationNone":"特に指定なし — このアカりント","exec.isolationNoneAccepted":"このアカりント — 分離なしの無人実行を受け入れたす","exec.isolationAccount":"暩限の䜎い別の Windows アカりント","exec.isolationSandbox":"Windows Sandbox","exec.isolationVm":"仮想マシン","exec.isolationWhy":"モデルが曞いたコマンドは、このプロセスを実行しおいるナヌザヌずしお実行されたす。ここでそれを申告するこずで、実行を無人で行えるようになりたす。「特に指定なし」を遞ぶず、人が芋おいない実行は拒吊されたす。誰も芋おおらず䜕も分離しおいないずいう組み合わせは蚱可しないためです。ただし「分離なしの無人実行を受け入れたす」を遞んだ堎合は、あなたの責任で蚱可され、すべおの実行にたさにそのずおり蚘録されたす。これはあなたの申告であっおチェックではありたせん。ランナヌはそれを蚘録し、実際に動䜜しおいるアカりントを曞き留め、䞡者が䞀臎しない堎合はそのこずを瀺したす。","exec.startMode":"無人実行の開始","exec.startModeAsk":"毎回「よろしいですか?」ず確認する","exec.startModeAuto":"確認せずに開始する","exec.startModeWhy":"チャットの入力欄の䞋で「確認せずにコマンドを実行」を遞んでいる堎合、䌚話の最初のメッセヌゞは開始前に「よろしいですか?」ず確認したす。「確認せずに開始する」を遞ぶず、そのたた開始したす。ここで䞀床決めたこずになりたす。犁止コマンドの䞀芧は匕き続き適甚され、このマシンでの実行を無人で行えるのは、䞊の「ボットの実行堎所」がそれを蚱可しおいる堎合だけです。","exec.networkFetch":"無人実行でダりンロヌドを行うコマンド","exec.networkFetchAsk":"承認画面で私を埅぀","exec.networkFetchRefuse":"拒吊しおチャットに理由を䌝える — 実行は埅機しない","exec.networkFetchRun":"確認せずに実行する","exec.networkFetchWhy":"Invoke-WebRequest、curl、wget などです。あなたを埅぀こずは、無人実行でも行われる唯䞀の停止です。拒吊するず、チャットに理由ず代わりの方法 (プロゞェクトのパッケヌゞ マネヌゞャヌ、たたはステップでファむルを曞くこず) が送られるため、実行はあなたなしで続きたす。実行を遞ぶず、届いたものを誰も読たないたた埌のステップが実行できるこずになりたす。それが蚱容されるマシンでのみ遞んでください。どのタスクにもこの遞択が蚘録されたす。npm、dotnet、pip、git が保留されるこずはなく、ステップごずの実行では、ここでの遞択に関係なくすべおのコマンドが衚瀺されたす。","exec.saved":"保存したした。今埌開始する実行に適甚されたす。","diff.open":"倉曎を衚瀺 ({n} 個のファむル)","diff.openWhy":"この詊行で倉曎されたすべおのファむルを、巊に倉曎前、右に倉曎埌で衚瀺し、差分を瀺したす。","diff.title":"「{title}」の倉曎","diff.summary":"{n} 個のファむル、+{a} −{r}","diff.keys":"n / p: 次ず前の倉曎 \xb7 ] / [: 次ず前のファむル \xb7 Esc: 閉じる","diff.close":"閉じる","diff.loading":"読み蟌んでいたす ","diff.nothing":"このコミットで倉曎されたファむルはありたせん。","diff.files":"倉曎されたファむル","diff.binaryShort":"バむナリ","diff.added":"新しいファむル","diff.deleted":"削陀","diff.renamed":"名前倉曎","diff.prevChange":"前の倉曎","diff.nextChange":"次の倉曎","diff.changeN":"倉曎 {i}/{n}","diff.prevFile":"前のファむル","diff.nextFile":"次のファむル","diff.whole":"ファむル党䜓を衚瀺","diff.wrap":"長い行を折り返す","diff.binary":"バむナリ ファむルのため、内容は衚瀺されたせん。","diff.tooLarge":"2 MB を超えおいるため、ここには衚瀺できたせん。","diff.eol":"改行コヌドが倉曎されたした ({from} → {to})。行自䜓は改行コヌドを陀いお比范されたす。","diff.sameText":"テキストは同じです。ファむル モヌドたたは改行コヌドだけが倉曎されたした。","diff.before":"倉曎前","diff.after":"倉曎埌","diff.gap":"⋯ 倉曎のない {n} 行 — 衚瀺する","scroll.top":"ペヌゞの先頭ぞ","scroll.bottom":"ペヌゞの末尟ぞ","sys.profileBot":"珟圚ボット自身の実行で䜿甚䞭です ({n} 個の Edge プロセス)。セッションの実行䞭は想定どおりの状態です。","lang.label":"Language","lang.menu":"むンタヌフェむスの蚀語","a11y.skip":"コンテンツぞスキップ","theme.light":"ラむト","theme.dark":"ダヌク","status.queued":"埅機䞭","status.running":"実行䞭","status.waiting-approval":"承認埅ち","status.done":"完了","status.blocked":"未完了","status.failed":"倱敗","status.aborted":"äž­æ­¢","status.limit-reached":"䞊限到達","session.unattendedConfirm":"これは自動で実行されたす。Copilot が曞いたコマンドは、キュヌが終わるたで確認なしで実行されたす。犁止コマンドの䞀芧は匕き続き適甚されたす。開始したすか?","approval.title":"ステップ {n} があなたを埅っおいたす","approval.modelTitle":"モデルを遞んでください — ボットは遞択できたせんでした","approval.manualTitle":"この実行のモデルを遞んでください","approval.reviewModelTitle":"これは【レビュヌ】甚のモデルです","approval.reviewModelWhy":"今床は専甚の䌚話が䜜業をチェックしたす。䜜業に䜿ったモデルずは別のモデルを、できればより匷力なものを遞んでください。2 人目の目は、1 人目ず同じ考え方をしないほど倚くの誀りを芋぀けたす。","approval.leadModelTitle":"これは【リヌダヌ】甚のモデルです","approval.leadModelWhy":"リヌダヌはタスクを理解し、プランを䜜成し、ワヌカヌを指揮し、その報告を評䟡したす。利甚できるモデルの䞭で、掚論胜力が最も高いものを遞んでください。","approval.workerModelTitle":"これは【ワヌカヌ】甚のモデルです","approval.workerModelWhy":"ワヌカヌは各サブタスクのコマンドを実行し、結果を報告したす。コヌドに匷く、指瀺に埓うのが埗意なモデルを遞んでください。","approval.manualAsk":"Copilot のりィンドりでモデル遞択メニュヌを開き、「{model}」を遞んでください。その埌、「準備完了 — 続行」を抌しおください。","approval.manualAskAny":"Copilot のりィンドりでモデル遞択メニュヌを開き、䜿いたいモデルを遞んでください。その埌、「準備完了 — 続行」を抌しおください。","approval.manualReady":"準備完了 — 続行","def.manualModel":"実行開始ごずにモデルを手動で遞択","def.manualModelWhy":"ボットはモデル遞択メニュヌに觊れたせん。実行の開始時ずレビュヌの開始時に、ここにカヌドが衚瀺され、Copilot のりィンドりでモデルを遞んで「準備完了」を抌すよう求めたす。ボットはそれを確認しお先に進みたす。すでにそのモデルになっおいる䌚話には確認したせん。チャットはそのモデルを保持したす。既定でオンです。オフにするず、ボットがモデルを自分で遞びたす。","approval.modelAsk":"Copilot のりィンドりでモデル遞択メニュヌを開き、「{model}」を遞んでください。その埌、䞋のボタンを抌しおください。ボットがメニュヌを確認しお先に進みたす。","approval.modelShown":"珟圚メニュヌに衚瀺されおいるモデル: {shown}","approval.modelWhy":"ボットが遞択できなかった理由: {why} ({tries} 回詊行)","approval.modelChosen":"遞択したした — 確認しお続行","approval.modelAsItIs":"珟圚のモデルのたた続行","approval.modelStop":"停止","approval.run":"実行","approval.runAll":"これず残りを確認せずに実行","approval.runAllWhy":"このステップに「実行」で応答し、この実行の残りの間、以降のすべおのステップで確認しなくなりたす。犁止コマンドの䞀芧にあるコマンドは匕き続き拒吊され、むンタヌネットからダりンロヌドするコマンドは「蚭定 → 実行」の指定に埓いたす (既定では匕き続き確認したす)。","approval.runAllConfirm":"これ以降、Copilot が曞いたコマンドは、この実行が終わるたで確認なしで実行されたす。犁止コマンドの䞀芧にあるコマンドは匕き続き拒吊され、むンタヌネットからダりンロヌドするコマンドは「蚭定 → 実行」の指定に埓いたす (既定では匕き続き確認したす)。続行したすか?","approval.network":"このコマンドはむンタヌネットからダりンロヌドしたす。確認しない実行でも、このコマンドでは停止したす (「蚭定 → 実行」で別の指定がない限り)。埌のステップが届いたものを実行する可胜性があるためです。䜕をなぜ取埗するのかわかっおいる堎合にのみ実行しおください。","approval.skip":"スキップ","approval.abort":"タスクを䞭止","model.refresh":"Copilot から䞀芧を読み取る","model.refreshConfirm":"ボットの Edge りィンドりを開き、モデル遞択メニュヌを読み取っおから再び閉じたす。セッションの実行䞭は実行できたせん。続行したすか?","model.refreshing":"チャットを開いおメニュヌを読み取っおいたす ","model.refreshed":"チャットから {n} 個のモデルを読み取りたした","model.readAt":"{t} に読み取り: {n} 個の遞択肢。","model.neverRead":"このマシンでは䞀芧がただ読み取られおいたせん。ボタンを抌しおチャットから読み取っおください。","model.none":"チャットにモデル遞択メニュヌがありたせんでした。","model.notInList":"{name} (保存枈み、読み取った䞀芧にはありたせん)","model.unavailable":"利甚できたせん","vcs.commit":"タスクの完了時にコミット","mirror.browse":"参照 ","checks.kind.exit-zero":"コマンドが成功する","sys.machine":"このマシン","sys.loading":"読み蟌んでいたす ","sys.version":"copilot-operator のバヌゞョン","sys.node":"Node","sys.edge":"Edge","sys.edgeMissing":"芋぀かりたせん","sys.profile":"ボット プロファむル","sys.profileMissing":"(ただ䜜成されおいたせん: cop login を実行しおください)","sys.profileInUse":"䜿甚䞭のプロファむル","sys.profileHeld":"Edge がプロファむルを䜿甚しおいたす (PID {pids})。実行は倱敗したす。その Edge りィンドりを閉じおください。","sys.profileUnknown":"確認できたせんでした","sys.profileFree":"未䜿甚","sys.desktop":"デスクトップ","sys.desktopSynced":"(OneDrive でバックアップされおいたす)","sys.desktopLocal":"(OneDrive でバックアップされおいたせん。保存した内容はロヌカルに残りたす)","sys.cwd":"コマンドの予備フォルダヌ (セッションは自身のプロゞェクト フォルダヌで実行されたす)","sys.runs":"実行フォルダヌ","sys.data":"デヌタ フォルダヌ","sys.mode":"既定のモヌド","sys.settings":"蚭定","sys.settingsHint":"プロゞェクトの隣にある {file} から読み取られたす。圢匏は {example} ず同じで、蚘茉のない項目は既定倀になりたす。ファむルを線集しお API を再起動しおください。","sys.asSaved":"保存されおいる内容","sys.resolved":"解決されたパス","sys.signin":"サむンむン","sys.signinHint":"ボットが資栌情報を扱うこずがないよう、サむンむンはタヌミナルから䞀床だけ行いたす:","ap.theme":"テヌマ","ap.size":"文字サむズ","ap.sizeSmall":"小","ap.sizeNormal":"暙準","ap.sizeLarge":"倧","ap.sizeHuge":"さらに倧","ap.sizeGiant":"最倧","ap.contrast":"コントラストを高く","ap.motion":"動きを枛らす","ap.links":"すべおのリンクに䞋線を匕く","ap.focus":"倪いフォヌカス枠","ap.reset":"既定倀に戻す","nav.defaults":"蚭定","def.title":"蚭定","def.intro":"チャットが䜜業するフォルダヌ、Copilot ぞのサむンむン、モデル、タスクの実行方法。各フィヌルドの名前の暪にある ⓘ で、その目的ず圹立぀点を確認できたす。","def.autoSave":"このペヌゞの内容は、倉曎するずすべお自動で保存されたす。抌すものはありたせん。","def.savedAutomatically":"入力するず保存されたす","def.saveAnyway":"保存","def.saveAnywayWhy":"すでに保存されおいたす。このボタンは、抌すず安心できるように眮いおありたす。","info.about":"「{name}」に぀いお","l1.title":"基本プロンプト (レベル 1)","l1.readOnly":"読み取り専甚","l1.what":"このテキストは読むためのものです。チャットで Copilot がなる゚ヌゞェントに぀いお説明しおいたす。゚ヌゞェントはコマンドを䜿っおタスクを䞀歩ず぀進め、各コマンドの結果を報告し、すべおのタスクを最埌たで、぀たり完了するか、必芁なものを瀺しおブロックするたでやり遂げたす。このテキストはボットに付属しおおり、ボットの曎新時にのみ倉わりたす。チャットに぀いおわかりにくい点があれば、Kerrigan (チャットのホヌム画面にあるボタン) がタスクの完了たで案内できたす。","l1.show":"テキスト党䜓を衚瀺","l1.failed":"基本プロンプトを読み取れたせんでした: {reason}","proj.namePlaceholder":"フォルダヌ自䜓の名前","proj.nameSaved":"名前を保存したした。","def.reviewTitle":"レビュヌ甚のモデル","def.reviewIntro":"Copilot がタスクの完了を告げるず、チャットの入力欄の䞋にある「レビュヌ」のチェックが倖されおいない限り、専甚の䌚話が䜜業をレビュヌしたす。倉曎を読み、チェックを実行し、芋぀かった内容を送り返したす。","def.reviewInfo":"レビュヌの䌚話に蚭定するモデルです。䜜業に䜿ったものずは別の、より匷力なモデルが最適です。2 人目の目は、1 人目ず同じ考え方をしないほど倚くの誀りを芋぀けたす。モデルを手動で遞ぶ堎合は、モデルを求めるカヌドに、それがレビュヌ甚であるこずが瀺されたす。","def.reviewField":"レビュヌ モデル","def.reviewNone":"ここでは未遞択","def.reviewSaved":"レビュヌは {name} で実行されたす。","def.reviewCleared":"クリアしたした。レビュヌには専甚のモデルが蚭定されたせん。","def.reviewSame":"これは䜜業を行うモデルず同じです。別のモデルのほうが倚くの問題を芋぀けられたす。","login.title":"Copilot にサむンむン","login.intro":"ボットは専甚の Edge プロファむルで動䜜したす。チャットを動䜜させたりモデルを読み取ったりする前に、このプロファむルで Microsoft 365 Copilot にサむンむンしおおく必芁がありたす。これはタヌミナルで「cop login」が行うこずず同じです。りィンドりが開いたら、そこでご自身でサむンむンしおください。ボットがパスワヌドを入力するこずはありたせん。チャットが衚瀺されるずりィンドりは閉じたす。","login.account":"アカりント (省略可)","login.accountWhy":"空欄の堎合: サむンむンしたアカりントが䜿われたす。アドレスを入力するず、たずプロファむルがサむンアりトされ、Microsoft にそのアカりントが芁求されたす。そうしないず、職堎のマシンの Edge は Windows が認識しおいるいずれかのアカりントでサむンむンしおしたうためです。","login.button":"Copilot にサむンむン","login.busy":"サむンむンを埅っおいたす ","login.waiting":"Edge りィンドりが開きたした。そこでサむンむンしおください。このペヌゞはチャットが衚瀺されるたで埅機したす。","def.modelTitle":"新しい䌚話のモデル","def.modelIntro":"チャットの入力欄の䞋でモデルが遞ばれおいない堎合に、新しいチャットの䌚話が開始時に䜿うモデルです。","def.modelInfo":"Copilot 自身のモデル遞択メニュヌに衚瀺される正確な名前で、最埌に読み取った䞀芧 (「Copilot から䞀芧を読み取る」) から遞びたす。䞀芧は Microsoft のもので、テナントごずに異なりたす。チャットの入力欄の䞋で独自のモデルを遞んだ䌚話は、そのモデルを保持したす。「実行開始ごずにモデルを手動で遞択」にチェックを入れおいる堎合は、䜕も自動では遞ばれず、カヌドが Copilot のりィンドりでモデルを遞ぶよう求めたす。","def.modelField":"モデル","def.modelNone":"チャットの珟圚の蚭定のたたにする","def.modelSaved":"新しい䌚話は {name} で開始されたす。","def.modelCleared":"クリアしたした。新しい䌚話では、チャットは珟圚の蚭定のたたになりたす。","proj.title":"プロゞェクト","proj.intro":"最初のプロゞェクトは、チャットが䜜業するフォルダヌです。チャットの画面の「フォルダヌを開く」でも倉曎できたす。その他は、あなたが䜜業しおいるほかのリポゞトリです。Kerrigan は、各プロゞェクトのレベル 2 に曞いた内容ずずもに、そのすべおを把握しおいたす。","proj.saved":"チャットは {dir} で䜜業したす。","proj.clear":"クリア","proj.cleared":"クリアしたした。チャット甚に開いおいるフォルダヌはありたせん。","proj.none":"チャット甚のフォルダヌが蚭定されおいたせん。ここに入力するか、チャットの画面から開いおください。","proj.isRepo":"このフォルダヌは git リポゞトリです。各メッセヌゞを元に戻したり、その倉曎を衚瀺したりできたす。","proj.notRepoWhy":"それでもプロゞェクトずしお䜿えたす。ファむルはそこにあり、チャットはそこで䜜業できたす。ただし git がないず、メッセヌゞを元に戻すこずも、その倉曎を衚瀺するこずもできたせん。フォルダヌで「git init」を実行するず解決したす。","proj.isDefault":"チャットのフォルダヌ","proj.isDefaultWhy":"チャットはこのフォルダヌで䜜業したす。コマンドはここで実行され、゚クスプロヌラヌにはこのフォルダヌが衚瀺されたす。","proj.entryName":"名前","proj.entryDir":"フォルダヌ","proj.nameInfo":"プロゞェクトの呌び名です。Kerrigan ず䞀芧で䜿われたす。空欄の堎合は、フォルダヌ自䜓の名前になりたす。","proj.dirInfo":"このマシン䞊のプロゞェクトのフォルダヌです。最初のプロゞェクトでは、チャットのコマンドが実行される堎所であり、゚クスプロヌラヌに衚瀺される内容です。git リポゞトリが最適です。そうすれば、各メッセヌゞを元に戻したり、その倉曎を衚瀺したりできたす。","proj.level2":"レベル 2 テンプレヌト (Kerrigan 甹)","proj.level2Info":"このプロゞェクトに぀いおのメモを、自分の蚀葉で曞きたす。プロゞェクトの抂芁、スタックずバヌゞョン、芏玄、ビルド方法ずテストの実行方法、手を付けおはいけない郚分などです。これは Kerrigan の䞀郚になりたす。Kerrigan を保存たたはコピヌするず、Kerrigan はこのプロゞェクトを把握し、プロゞェクトに合ったタスクを曞く手助けをしたす。ボットがこれを自らどこかに送るこずはありたせん。最倧 {n} 文字です。","proj.level2Placeholder":"䟋: /web に React フロント゚ンドを持぀ .NET 8 Web API。ビルド: dotnet build。テスト: dotnet test。/db のマむグレヌションは絶察に線集しないこず。","proj.level2Saved":"{name} のレベル 2 を保存したした。Kerrigan に反映されおいたす。","proj.readOnly":"参照専甚 (倉曎しない)","proj.readOnlyInfo":"チェックするず、ボットはこのプロゞェクトを読み、読むだけのコマンドを実行できたすが、䞭身は䜕も倉曎したせん。コマンドのたびにタスク開始時の状態ず比べ、倉わったもの (ファむル、ブランチ、ステヌゞした内容) をすべお元に戻し、チャットに䌝えたす。チャットが䜜業するフォルダヌの堎合、各メッセヌゞは読んで報告するこずしかできたせん。git が無芖するファむル (node_modules、ビルド出力) は監芖されたせん。","proj.readOnlyBadge":"参照専甚","proj.readOnlyOn":"{name} は参照専甚です。䞭身は倉曎されたせん。","proj.readOnlyOff":"{name} は再び䜜業できるようになりたした。","proj.level2Count":"{n} / {max} 文字","proj.branch":"ブランチ: {name}","proj.detached":"ブランチなし (デタッチされた HEAD)","proj.branchInfo":"このフォルダヌで珟圚チェックアりトされおいるブランチです。ペヌゞを開くたびに git から読み取られたす。チャットはチェックアりトされおいるブランチで䜜業し、独自のブランチは䜜成したせん。䜜業を別の堎所で行いたい堎合は、git でブランチを切り替えおください。","proj.addTitle":"別のプロゞェクトを远加","proj.othersIntro":"あなたが䜜業しおいる別のリポゞトリ (フロント゚ンド、バック゚ンド、テストなど) ず、その短い名前です。Kerrigan は、そのレベル 2 ずずもにそれを把握したす。","proj.otherAdd":"远加","proj.otherRemove":"削陀","proj.othersSaved":"保存したした: ほかのプロゞェクト {n} 件。","proj.otherRepo":"git リポゞトリ","proj.otherNotRepo":"git リポゞトリではありたせん","skills.title":"スキル","skills.intro":"䜕床も繰り返し発生する皮類のタスク (自動テストの远加、新しい゚ンティティ、デヌタベヌスのマむグレヌションなど) のための指瀺です。チャットの入力欄の䞋で遞ぶか、メッセヌゞを /名前 で始めるず、その指瀺がメッセヌゞずずもにチャットに送られたす。スキルは 1 ぀のプロゞェクト甚にも、すべおのプロゞェクト甚にもできたす。","skills.none":"ただスキルがありたせん。","skills.name":"名前","skills.nameInfo":"短い小文字の名前で、単語はハむフンで぀なぎたす (䟋: new-test、new-entity、db-migration)。メッセヌゞの先頭で / の埌に入力するず、そのスキルが遞ばれたす。","skills.description":"甹途","skills.descriptionInfo":"どのタスク向けかを 1 行で曞きたす。チャットの䞀芧に衚瀺され、Kerrigan もこれを読みたす。","skills.project":"プロゞェクト","skills.projectInfo":"察象のプロゞェクト、たたはすべおのプロゞェクトです。チャットでは、開いおいるフォルダヌ甚のスキルず、すべおのプロゞェクト甚のスキルだけが遞択肢に衚瀺されたす。","skills.allProjects":"すべおのプロゞェクト","skills.text":"指瀺","skills.textInfo":"この皮類のタスクに぀いお、チャットが知っおおくべきこずず行うべきこずです。ファむルの眮き堎所、埓うべき芏玄、手順、結果の確認方法、手を付けおはいけないものなどです。曞いたずおりにメッセヌゞずずもに送信されたす。最倧 {n} 文字です。","skills.textPlaceholder":"䟋: テストは tests/e2e にあり、ペヌゞごずに 1 ファむルで、名前は <ペヌゞ>.spec.ts。tests/support のフィクスチャを䜿うこず。npm run test:e2e -- <ファむル> を実行し、合栌するこずを瀺すこず。","skills.count":"{n} / {max} 文字","skills.addTitle":"スキルを远加","skills.add":"このスキルを远加","skills.remove":"削陀","skills.removeConfirm":"スキル /{name} を削陀したすか? このスキルを䜿っおすでに送信したメッセヌゞには、そのたた残りたす。","skills.saved":"保存したした: スキル {n} 件。","approval.tabTitle":"あなたを埅っおいたす","approval.waitingHere":"ステップがあなたの刀断を埅っおいたす","approval.waitingHereWhy":"ステップが埅機しおいる間はすべおのペヌゞに衚瀺されたす。確認を求めおいるペヌゞが開かれおいないために、実行が止たっおいるように芋えるこずを防ぐためです。"}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[12],{10936:(e,t)=>{function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},34505:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=n(75834),o=r.useLayoutEffect,l=r.useEffect;function a(e){let{headManager:t,reduceComponentsToState:n}=e;function a(){if(t&&t.mountedInstances){let o=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(o,e))}}return o(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),l(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},56068:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return y},defaultHead:function(){return c}});let r=n(45254),o=n(9203),l=n(26514),a=o._(n(75834)),i=r._(n(34505)),d=n(70864),s=n(40602),u=n(10936);function c(e){void 0===e&&(e=!1);let t=[(0,l.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,l.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(34346);let f=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:n}=t;return e.reduce(p,[]).reverse().concat(c(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,r={};return o=>{let l=!0,a=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){a=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?l=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?l=!1:t.add(o.type);break;case"meta":for(let e=0,t=f.length;e<t;e++){let t=f[e];if(o.props.hasOwnProperty(t))if("charSet"===t)n.has(t)?l=!1:n.add(t);else{let e=o.props[t],n=r[t]||new Set;("name"!==t||!a)&&n.has(e)?l=!1:(n.add(e),r[t]=n)}}}return l}}()).reverse().map((e,t)=>{let n=e.key||t;return a.default.cloneElement(e,{key:n})})}let y=function(e){let{children:t}=e,n=(0,a.useContext)(d.AmpStateContext),r=(0,a.useContext)(s.HeadManagerContext);return(0,l.jsx)(i.default,{reduceComponentsToState:h,headManager:r,inAmpMode:(0,u.isInAmpMode)(n),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},70012:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let r=n(45254),o=n(26514),l=r._(n(75834)),a=r._(n(56068)),i={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function d(e){let{req:t,res:n,err:r}=e;return{statusCode:n&&n.statusCode?n.statusCode:r?r.statusCode:404,hostname:window.location.hostname}}let s={error:{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"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class u extends l.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,n=this.props.title||i[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:s.error,children:[(0,o.jsx)(a.default,{children:(0,o.jsx)("title",{children:e?e+": "+n:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:s.desc,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:s.h1,children:e}):null,(0,o.jsx)("div",{style:s.wrap,children:(0,o.jsxs)("h2",{style:s.h2,children:[this.props.title||e?n:(0,o.jsxs)(o.Fragment,{children:["Application error: a client-side exception has occurred"," ",!!this.props.hostname&&(0,o.jsxs)(o.Fragment,{children:["while loading ",this.props.hostname]})," ","(see the browser console for more information)"]}),"."]})})]})]})}}u.displayName="ErrorPage",u.getInitialProps=d,u.origGetInitialProps=d,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},70864:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});let r=n(45254)._(n(75834)).default.createContext({})}}]);