@songsid/agend 2.3.2-beta.11 → 2.3.2-beta.13

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 (50) hide show
  1. package/README.md +4 -0
  2. package/README.zh-TW.md +4 -0
  3. package/dist/auth-api.js +2 -0
  4. package/dist/auth-api.js.map +1 -1
  5. package/dist/backend/kiro-identity.d.ts +55 -0
  6. package/dist/backend/kiro-identity.js +218 -28
  7. package/dist/backend/kiro-identity.js.map +1 -1
  8. package/dist/backend/kiro.d.ts +2 -0
  9. package/dist/backend/kiro.js +25 -4
  10. package/dist/backend/kiro.js.map +1 -1
  11. package/dist/fleet-manager.js +2 -0
  12. package/dist/fleet-manager.js.map +1 -1
  13. package/dist/general-knowledge/skills/docker-install/SKILL.md +25 -0
  14. package/dist/general-knowledge/skills/web-appearance/SKILL.canvas-worker-off.md +3 -0
  15. package/dist/general-knowledge/skills/web-appearance/SKILL.md +3 -0
  16. package/dist/general-knowledge/skills/web-dashboard/SKILL.canvas-worker-off.md +15 -1
  17. package/dist/general-knowledge/skills/web-dashboard/SKILL.md +15 -1
  18. package/dist/kiro-migrate.d.ts +5 -0
  19. package/dist/kiro-migrate.js +42 -4
  20. package/dist/kiro-migrate.js.map +1 -1
  21. package/dist/locale.js +28 -0
  22. package/dist/locale.js.map +1 -1
  23. package/dist/quickstart-api.d.ts +14 -0
  24. package/dist/quickstart-api.js +62 -11
  25. package/dist/quickstart-api.js.map +1 -1
  26. package/dist/settings-effect.js +5 -4
  27. package/dist/settings-effect.js.map +1 -1
  28. package/dist/setup-form.d.ts +2 -2
  29. package/dist/setup-form.js +124 -92
  30. package/dist/setup-form.js.map +1 -1
  31. package/dist/setup-i18n.d.ts +25 -0
  32. package/dist/setup-i18n.js +224 -0
  33. package/dist/setup-i18n.js.map +1 -0
  34. package/dist/ui/backend-signin.js +4 -3
  35. package/dist/ui/fleet-office-pack.d.ts +3 -2
  36. package/dist/ui/fleet-office-pack.js +16 -4
  37. package/dist/ui/fleet-office-zones.js +28 -4
  38. package/dist/ui/fleet-office.js +98 -14
  39. package/dist/ui/panel-settings.js +4 -2
  40. package/dist/ui/settings-discord.js +3 -2
  41. package/dist/ui/settings-strings.js +8 -2
  42. package/dist/ui/settings-token.js +3 -2
  43. package/dist/ui/settings-wizard.js +11 -6
  44. package/dist/ui/shared/setup-host-text.js +105 -0
  45. package/dist/ui/structured-signin.js +89 -38
  46. package/dist/web-office-store.d.ts +16 -0
  47. package/dist/web-office-store.js +44 -10
  48. package/dist/web-office-store.js.map +1 -1
  49. package/package.json +1 -1
  50. package/templates/windows-shortcuts.ps1 +18 -17
@@ -0,0 +1,25 @@
1
+ ---
2
+ name: docker-install
3
+ description: Set up AgEnD in Docker for a person, or maintain one — follow the Docker runbook step by step
4
+ roles: [general]
5
+ ---
6
+
7
+ ## AgEnD in Docker
8
+
9
+ When a person wants AgEnD in Docker (a trial, a demo, a machine without Node.js), or asks you to maintain an existing
10
+ Docker install, follow the runbook exactly. It has the Dockerfile, entrypoint, compose file, CLI installs, first
11
+ fleet.yaml, verification, updates, backups and troubleshooting:
12
+
13
+ - English: https://github.com/songsid/AgEnD/blob/main/docs/docker.md
14
+ - 繁體中文: https://github.com/songsid/AgEnD/blob/main/docs/docker.zh-TW.md
15
+
16
+ Read the raw file (`https://raw.githubusercontent.com/songsid/AgEnD/main/docs/docker.md`) before you start, and run
17
+ every check it gives.
18
+
19
+ **Rules that hold even without the runbook at hand:**
20
+ - Never run `agend update`, `agend restart`, `agend stop` or `agend install` inside the container, and never `/update`
21
+ in that fleet's chat. Update by rebuilding the image (`docker compose build --pull --no-cache && docker compose up -d`);
22
+ restart with `docker compose restart`.
23
+ - Tokens and API keys go in the compose folder's `.env`, never in fleet.yaml or a chat.
24
+ - The dashboard stays published on `127.0.0.1` unless the person asks otherwise.
25
+ - AgEnD's data, the CLIs and their logins live in the `agend-home` volume: back it up before anything destructive.
@@ -313,6 +313,9 @@ tools are not in your list), you can publish them yourself instead of asking a p
313
313
  - Every change is logged with each picture's sha256 and told to the fleet's admins. At most **20 batches and 200 MiB an
314
314
  hour**: one call is one batch (up to 16 packs), so send a whole set of fixes in one `packs: [...]`.
315
315
 
316
+ The skin-pack manifest format — every key, its ranges, a minimal example — and the limits are in the Office guide:
317
+ [docs/office.md → Make a skin pack](https://github.com/songsid/AgEnD/blob/main/docs/office.md#make-a-skin-pack). Point people there too when they ask how the Office works.
318
+
316
319
  ## Limits
317
320
 
318
321
  - At least **30 s** between changes, at most **10 changes an hour** — refused with `rate_limited` and
@@ -321,6 +321,9 @@ tools are not in your list), you can publish them yourself instead of asking a p
321
321
  - Every change is logged with each picture's sha256 and told to the fleet's admins. At most **20 batches and 200 MiB an
322
322
  hour**: one call is one batch (up to 16 packs), so send a whole set of fixes in one `packs: [...]`.
323
323
 
324
+ The skin-pack manifest format — every key, its ranges, a minimal example — and the limits are in the Office guide:
325
+ [docs/office.md → Make a skin pack](https://github.com/songsid/AgEnD/blob/main/docs/office.md#make-a-skin-pack). Point people there too when they ask how the Office works.
326
+
324
327
  ## Mods
325
328
 
326
329
  A mod is one file, `<name>-<version>.agendmod.json`, that carries a look: a theme with its pictures, card text,
@@ -253,6 +253,10 @@ Click a team header to fold it. **Find** dims everything that doesn't match. A c
253
253
  and backend; clicking it opens the chat. List mode adds the description, model, a link to the Discord thread or
254
254
  Telegram topic, and **Open chat**.
255
255
 
256
+ **The Office guide** (`docs/office.md` in the AgEnD repository; `docs/office.zh-TW.md` in Traditional Chinese) is the one page for people: setting up offices, the
257
+ skin-pack manifest format and its limits, Edit layout and seat reservations, bedtime, share links, agents' office and
258
+ pack tools, and rolling back. Point people there for more than the summary below; it marks what is not released yet.
259
+
256
260
  **Office** (the third view, remembered per device) draws the same fleet as a pixel office: a room per team, a desk
257
261
  per instance with a name tag, General and "Not in a team" in the **Lobby**. Each little person is its state: typing
258
262
  with the lamp on (working), tea break (idle), asleep behind a **Closed** sign (paused/stopped), a hand up under a
@@ -324,6 +328,10 @@ A pack may add a `foreground` (a 16:9 PNG over the whole scene, zones packs only
324
328
  and items in the air, below name tags, bubbles and "+N" — door frames, pillars, table fronts that hide whoever walks
325
329
  behind them. A furniture item's `depth` may be `"y"`: drawn among the people by base y (whoever stands lower is in
326
330
  front). Numeric depths keep their meaning (under 1000 under the people, 1000 and up over them).
331
+ An item with `activeWhen` may wait for its person (#2698): `"activeOn": "seated"` turns it active only once one of its
332
+ `activeFor` people in that state has arrived at their seat, and back as they walk off (default `"state"`: as the state
333
+ changes); `"hides": true` (needs `activeFor`) stops drawing those people while it is active (walking, they are drawn),
334
+ puts their name tags (one row at the item's tag point) and bubbles on it, and makes hovering or clicking it hit them.
327
335
  A pack may set `"straight": true` (#2634): each diagonal leg of a walk becomes an L (across, then up or down), so the
328
336
  three walking strips always fit; lay its graph out with horizontal and vertical edges and the corners land on the aisles.
329
337
 
@@ -552,7 +560,13 @@ Shown read-only ("Set in fleet.yaml"): `web.allowed_hosts`, `view_access`, `prev
552
560
  connections are off (and the setup wizard); while those have unsaved changes, the editor only reads.
553
561
 
554
562
  **Setup wizard** — agent (backend, directory, name) → platform → token and server/group, your user ID → preview →
555
- **Create and start**.
563
+ **Create and start**. The directory may be left empty: the agent gets its own folder, `~/.agend/workspaces/<name>`
564
+ (shown under the field); one that is entered must be absolute.
565
+
566
+ **First setup, before any fleet** (`agend setup`, the page the Windows installer opens): the same steps on its own
567
+ page, in English or 繁體中文 (the browser's language; the button at the top switches). The working directory may be
568
+ left empty: the agent then gets its own folder, `~/.agend/workspaces/<name>`, shown under the field and created
569
+ when the host confirms; a directory that is entered must be absolute.
556
570
 
557
571
  ## Look
558
572
 
@@ -264,6 +264,10 @@ Click a team header to fold it. **Find** dims everything that doesn't match. A c
264
264
  and backend; clicking it opens the chat. List mode adds the description, model, a link to the Discord thread or
265
265
  Telegram topic, and **Open chat**.
266
266
 
267
+ **The Office guide** (`docs/office.md` in the AgEnD repository; `docs/office.zh-TW.md` in Traditional Chinese) is the one page for people: setting up offices, the
268
+ skin-pack manifest format and its limits, Edit layout and seat reservations, bedtime, share links, agents' office and
269
+ pack tools, and rolling back. Point people there for more than the summary below; it marks what is not released yet.
270
+
267
271
  **Office** (the third view, remembered per device) draws the same fleet as a pixel office: a room per team, a desk
268
272
  per instance with a name tag, General and "Not in a team" in the **Lobby**. Each little person is its state: typing
269
273
  with the lamp on (working), tea break (idle), asleep behind a **Closed** sign (paused/stopped), a hand up under a
@@ -339,6 +343,10 @@ A pack may add a `foreground` (a 16:9 PNG over the whole scene, zones packs only
339
343
  and items in the air, below name tags, bubbles and "+N" — door frames, pillars, table fronts that hide whoever walks
340
344
  behind them. A furniture item's `depth` may be `"y"`: drawn among the people by base y (whoever stands lower is in
341
345
  front). Numeric depths keep their meaning (under 1000 under the people, 1000 and up over them).
346
+ An item with `activeWhen` may wait for its person (#2698): `"activeOn": "seated"` turns it active only once one of its
347
+ `activeFor` people in that state has arrived at their seat, and back as they walk off (default `"state"`: as the state
348
+ changes); `"hides": true` (needs `activeFor`) stops drawing those people while it is active (walking, they are drawn),
349
+ puts their name tags (one row at the item's tag point) and bubbles on it, and makes hovering or clicking it hit them.
342
350
  A pack may set `"straight": true` (#2634): each diagonal leg of a walk becomes an L (across, then up or down), so the
343
351
  three walking strips always fit; lay its graph out with horizontal and vertical edges and the corners land on the aisles.
344
352
 
@@ -567,7 +575,13 @@ Shown read-only ("Set in fleet.yaml"): `web.allowed_hosts`, `view_access`, `prev
567
575
  connections are off (and the setup wizard); while those have unsaved changes, the editor only reads.
568
576
 
569
577
  **Setup wizard** — agent (backend, directory, name) → platform → token and server/group, your user ID → preview →
570
- **Create and start**.
578
+ **Create and start**. The directory may be left empty: the agent gets its own folder, `~/.agend/workspaces/<name>`
579
+ (shown under the field); one that is entered must be absolute.
580
+
581
+ **First setup, before any fleet** (`agend setup`, the page the Windows installer opens): the same steps on its own
582
+ page, in English or 繁體中文 (the browser's language; the button at the top switches). The working directory may be
583
+ left empty: the agent then gets its own folder, `~/.agend/workspaces/<name>`, shown under the field and created
584
+ when the host confirms; a directory that is entered must be absolute.
571
585
 
572
586
  ## Look
573
587
 
@@ -12,6 +12,7 @@
12
12
  * It is a fleet-admin decision: migrate_kiro_instance only asks; the move runs on the admin's Confirm in General.
13
13
  */
14
14
  import type { FleetConfig } from "./types.js";
15
+ import { type KiroStoreRead } from "./backend/kiro-identity.js";
15
16
  export interface KiroMigrateDeps {
16
17
  agendHome: string;
17
18
  fleetConfig(): FleetConfig | null;
@@ -30,6 +31,8 @@ export interface KiroMigrateDeps {
30
31
  forensic: string;
31
32
  }>;
32
33
  stop(name: string): Promise<void>;
34
+ /** The classic (v1) store the instance launches with, for where a compaction went on (#2714). */
35
+ readClassicStore(workingDirectory: string, credentialProfile: string | null): KiroStoreRead;
33
36
  }
34
37
  /** What a confirmed move will do; checked again when the admin confirms. */
35
38
  export interface KiroMigrationPlan {
@@ -38,6 +41,8 @@ export interface KiroMigrationPlan {
38
41
  credentialProfile: string | null;
39
42
  /** The classic conversation carried over; null = the instance moves with a fresh conversation. */
40
43
  classicId: string | null;
44
+ /** #2714: the recorded classic ids it went on from through /compact (oldest first); classicId is where it is now. */
45
+ compactedFrom?: string[];
41
46
  }
42
47
  /** Judge a request; nothing is written. `startFresh` allows moving an instance that has no classic conversation. */
43
48
  export declare function planKiroMigration(deps: KiroMigrateDeps, name: string, startFresh: boolean): {
@@ -1,4 +1,4 @@
1
- import { armKiroTuiMigration, disarmKiroTuiMigration, inspectKiroTuiMigration } from "./backend/kiro-identity.js";
1
+ import { armKiroTuiMigration, disarmKiroTuiMigration, followKiroClassicCompaction, inspectKiroTuiMigration, } from "./backend/kiro-identity.js";
2
2
  import { instanceCredentialProfile } from "./backend/credential-profile.js";
3
3
  import { t } from "./locale.js";
4
4
  function target(deps, name) {
@@ -23,6 +23,28 @@ function target(deps, name) {
23
23
  function refusal(name, m) {
24
24
  return t(`kiro_migrate.refused_${m.reason.replaceAll("-", "_")}`, name);
25
25
  }
26
+ /**
27
+ * #2714: classic kiro's /compact goes on in a new conversation, and the record follows it only on the next classic
28
+ * launch. A compacted instance that has not restarted since would carry its pre-compaction copy, so the carried id is
29
+ * where the same proven walk ends (followKiroClassicCompaction). Anything it cannot prove refuses the move: the move
30
+ * is one-way, and carrying the recorded id would leave the newer conversation behind on the frozen engine.
31
+ * `apply` records the walk, as a classic launch would (only once the admin confirmed and the instance was checked).
32
+ */
33
+ function carriedClassic(deps, name, workingDirectory, credentialProfile, recorded, apply) {
34
+ const walk = followKiroClassicCompaction({ agendHome: deps.agendHome, instance: name, workingDirectory, credentialProfile,
35
+ readStore: () => deps.readClassicStore(workingDirectory, credentialProfile), apply });
36
+ if (!walk)
37
+ return { ok: true, id: recorded, compactedFrom: [] };
38
+ if (walk.kept)
39
+ return { ok: false, error: t("kiro_migrate.refused_compaction", name, walk.id, compactionReason(walk)) };
40
+ return { ok: true, id: walk.id, compactedFrom: walk.followed };
41
+ }
42
+ function compactionReason(walk) {
43
+ const kept = walk.kept;
44
+ return kept.reason === "unreadable" ? t("kiro_migrate.compaction_unreadable")
45
+ : kept.reason === "ambiguous" ? t("kiro_migrate.compaction_ambiguous", kept.from, kept.candidates.join(", "))
46
+ : t("kiro_migrate.compaction_not_ours", kept.from, kept.candidate);
47
+ }
26
48
  /** Judge a request; nothing is written. `startFresh` allows moving an instance that has no classic conversation. */
27
49
  export function planKiroMigration(deps, name, startFresh) {
28
50
  const found = target(deps, name);
@@ -33,13 +55,18 @@ export function planKiroMigration(deps, name, startFresh) {
33
55
  return { ok: false, error: refusal(name, inspected) };
34
56
  if (!inspected.classicId && !startFresh)
35
57
  return { ok: false, error: t("kiro_migrate.no_classic", name) };
36
- return { ok: true, plan: { name, workingDirectory: found.workingDirectory, credentialProfile: found.credentialProfile, classicId: inspected.classicId } };
58
+ const carried = inspected.classicId ? carriedClassic(deps, name, found.workingDirectory, found.credentialProfile, inspected.classicId, false) : null;
59
+ if (carried && !carried.ok)
60
+ return carried;
61
+ return { ok: true, plan: { name, workingDirectory: found.workingDirectory, credentialProfile: found.credentialProfile, classicId: carried?.id ?? null,
62
+ ...(carried?.compactedFrom.length ? { compactedFrom: carried.compactedFrom } : {}) } };
37
63
  }
38
64
  /** The confirmation prompt's text. */
39
65
  export function kiroMigrationPrompt(plan, running) {
40
66
  return [
41
67
  t("kiro_migrate.prompt_title", plan.name),
42
68
  plan.classicId ? t("kiro_migrate.prompt_carry", plan.classicId) : t("kiro_migrate.prompt_fresh"),
69
+ ...(plan.compactedFrom?.length ? [t("kiro_migrate.prompt_compacted", plan.compactedFrom[0], plan.classicId)] : []),
43
70
  t("kiro_migrate.prompt_one_way"),
44
71
  t("kiro_migrate.prompt_verify"),
45
72
  t("kiro_migrate.prompt_sudo"),
@@ -58,7 +85,10 @@ export async function applyKiroMigration(deps, plan) {
58
85
  const again = inspectKiroTuiMigration({ agendHome: deps.agendHome, instance: plan.name, workingDirectory: found.workingDirectory, credentialProfile: found.credentialProfile });
59
86
  if (again.kind === "refused")
60
87
  return { ok: false, text: refusal(plan.name, again) };
61
- if (found.workingDirectory !== plan.workingDirectory || found.credentialProfile !== plan.credentialProfile || again.classicId !== plan.classicId) {
88
+ const judged = again.classicId ? carriedClassic(deps, plan.name, found.workingDirectory, found.credentialProfile, again.classicId, false) : null;
89
+ if (judged && !judged.ok)
90
+ return { ok: false, text: judged.error };
91
+ if (found.workingDirectory !== plan.workingDirectory || found.credentialProfile !== plan.credentialProfile || (judged?.id ?? null) !== plan.classicId) {
62
92
  return { ok: false, text: t("kiro_migrate.changed", plan.name) };
63
93
  }
64
94
  let lease;
@@ -82,7 +112,15 @@ export async function applyKiroMigration(deps, plan) {
82
112
  try {
83
113
  const model = await deps.preflight(plan.name, plan);
84
114
  current();
85
- // The idle/version check awaited: re-check the original pin before any write.
115
+ // The idle/version check awaited: re-check the original pin before any write. #2714: a compaction proven since
116
+ // the record was written is recorded first, as a classic launch would, so the pin checked and armed is where the
117
+ // conversation is now; one that cannot be proven any more refuses, and nothing is armed.
118
+ const pinned = inspectKiroTuiMigration({ agendHome: deps.agendHome, instance: plan.name, workingDirectory: plan.workingDirectory, credentialProfile: plan.credentialProfile });
119
+ if (pinned.kind === "ready" && pinned.classicId) {
120
+ const followed = carriedClassic(deps, plan.name, plan.workingDirectory, plan.credentialProfile, pinned.classicId, true);
121
+ if (!followed.ok)
122
+ throw new Error(followed.error);
123
+ }
86
124
  const checked = inspectKiroTuiMigration({ agendHome: deps.agendHome, instance: plan.name, workingDirectory: plan.workingDirectory, credentialProfile: plan.credentialProfile });
87
125
  if (checked.kind !== "ready" || checked.classicId !== plan.classicId || found.inst.kiro_ui && found.inst.kiro_ui !== "legacy")
88
126
  throw new Error(t("kiro_migrate.changed", plan.name));
@@ -1 +1 @@
1
- {"version":3,"file":"kiro-migrate.js","sourceRoot":"","sources":["../src/kiro-migrate.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,uBAAuB,EAAyB,MAAM,4BAA4B,CAAC;AACzI,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,CAAC,EAAE,MAAM,aAAa,CAAC;AA0BhC,SAAS,MAAM,CAAC,IAAqB,EAAE,IAAY;IACjD,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;IACjC,MAAM,IAAI,GAAG,KAAK,EAAE,SAAS,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAC1G,IAAI,CAAC,IAAI;QAAE,OAAO,CAAC,CAAC,iCAAiC,EAAE,IAAI,CAAC,CAAC;IAC7D,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,IAAI,KAAK,EAAE,QAAQ,EAAE,OAAO,IAAI,aAAa,CAAC;IAC1E,IAAI,OAAO,KAAK,UAAU;QAAE,OAAO,CAAC,CA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AI,CAAC;gBAAC,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAAC,CAAC;YAAC,MAAM,CAAC;gBAAC,MAAM,IAAI,GAAG,GAAG,CAAC,CAAC,+BAA+B,CAAC,CAAC;YAAC,CAAC;QACnG,CAAC;QACD,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,qBAAqB,EAAE,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,EAAE,CAAC;IAC1E,CAAC;YAAS,CAAC;QAAC,KAAK,CAAC,OAAO,EAAE,CAAC;IAAC,CAAC;AAChC,CAAC"}
package/dist/locale.js CHANGED
@@ -370,6 +370,11 @@ const enMessages = {
370
370
  "kiro_migrate.verification_failed": "The same idle V2 conversation, model and transcript source could not be verified within 60 seconds.",
371
371
  "kiro_migrate.prompt_title": "🔀 Move {0} from kiro classic to the TUI engine?",
372
372
  "kiro_migrate.prompt_carry": "Its classic conversation {0} is resumed once under the TUI: kiro copies the whole history over, and the classic copy stops being updated.",
373
+ "kiro_migrate.prompt_compacted": "Its classic conversation {0} was compacted since its last restart and went on as {1}; the move carries {1}.",
374
+ "kiro_migrate.refused_compaction": "{0} was not moved: its classic conversation {1} may have gone on after a /compact, and where can't be proven ({2}). Carrying {1} could leave newer work behind; nothing was changed.",
375
+ "kiro_migrate.compaction_unreadable": "kiro's store could not be read",
376
+ "kiro_migrate.compaction_ambiguous": "{0} was compacted into more than one conversation: {1}",
377
+ "kiro_migrate.compaction_not_ours": "{0} was compacted into {1}, which another instance claims or this one gave up",
373
378
  "kiro_migrate.prompt_fresh": "It has no classic conversation to carry: it starts an empty TUI conversation.",
374
379
  "kiro_migrate.prompt_one_way": "One-way: afterwards AgEnD refuses to launch it on classic again (that would resume the old copy and lose the work done since).",
375
380
  "kiro_migrate.prompt_restart": "It is running: it restarts now (about 1–3 minutes).",
@@ -430,6 +435,15 @@ const enMessages = {
430
435
  "kiro.carry_resume_failed": "The carried Kiro conversation could not be resumed safely. Its pin and history are kept; this instance is stopped.",
431
436
  "kiro.archive_done": "The frozen classic conversation was archived and removed from Kiro's duplicate index: {0}",
432
437
  "kiro.carry_pin_repaired": "The abandoned carried V2 pin was restored; empty replacement sessions were left untouched.",
438
+ "kiro.compaction_followed": "kiro: conversation {0} was compacted and went on as {1}; resuming {1}.",
439
+ "kiro.compaction_kept_unreadable": "kiro: resuming {0} as recorded: kiro's store could not be read to check whether it was compacted into a newer conversation.",
440
+ "kiro.compaction_kept_ambiguous": "kiro: resuming {0}: conversation {1} was compacted into more than one conversation ({2}), so which one is this instance's cannot be told.",
441
+ "kiro.compaction_kept_not_ours": "kiro: resuming {0}: conversation {1} was compacted into {2}, but {2} is claimed by another instance or was given up.",
442
+ "kiro.claim_lost": "kiro: starting a new conversation, because the recorded conversation {0} is no longer this instance's ({1}). It stays in kiro's store.",
443
+ "kiro.claim_lost_missing": "its claim file is missing",
444
+ "kiro.claim_lost_incomplete": "its claim file is incomplete; a complete claim is the instance name followed by a newline",
445
+ "kiro.claim_lost_other_owner": "another instance claims it",
446
+ "kiro.claim_lost_abandoned": "it was given up",
433
447
  "kiro.archive_failed": "The carried Kiro conversation is kept; its archive/repair could not be proven safe: {0}",
434
448
  "kiro.archive_remedy": "Keep this instance stopped, resolve the store/ownership issue, then start it again. Do not start fresh or switch to classic.",
435
449
  "inst.kiro_resume_ambiguous": "Kiro lists this instance's saved session twice (classic and V2). The session is kept and the instance is stopped.",
@@ -1761,6 +1775,11 @@ const zhTWMessages = {
1761
1775
  "kiro_migrate.verification_failed": "60 秒內無法驗證同一個閒置 V2 對話、模型與逐字紀錄來源。",
1762
1776
  "kiro_migrate.prompt_title": "🔀 要把 {0} 從 kiro 經典引擎搬到 TUI 引擎嗎?",
1763
1777
  "kiro_migrate.prompt_carry": "它的經典對話 {0} 會在 TUI 下接續一次:kiro 會把整段歷史複製過去,經典那份從此不再更新。",
1778
+ "kiro_migrate.prompt_compacted": "它的經典對話 {0} 在上次重啟後被壓縮過,並在 {1} 繼續;這次搬移會帶走 {1}。",
1779
+ "kiro_migrate.refused_compaction": "{0} 沒有搬移:它的經典對話 {1} 可能在 /compact 後換成別的對話繼續,但無法證明是哪一個({2})。直接帶走 {1} 可能會丟下較新的內容;什麼都沒改。",
1780
+ "kiro_migrate.compaction_unreadable": "讀不到 kiro 的儲存區",
1781
+ "kiro_migrate.compaction_ambiguous": "{0} 被壓縮成不只一個對話:{1}",
1782
+ "kiro_migrate.compaction_not_ours": "{0} 被壓縮成 {1},但 {1} 已被其他 instance 認領,或被這個 instance 放棄",
1764
1783
  "kiro_migrate.prompt_fresh": "它沒有可帶的經典對話:會從空的 TUI 對話開始。",
1765
1784
  "kiro_migrate.prompt_one_way": "單向:之後 AgEnD 不會再用經典引擎啟動它(那會接回舊副本,失去之後做的事)。",
1766
1785
  "kiro_migrate.prompt_restart": "它正在執行:會立刻重啟(約 1–3 分鐘)。",
@@ -1821,6 +1840,15 @@ const zhTWMessages = {
1821
1840
  "kiro.carry_resume_failed": "無法安全接續帶入的 Kiro 對話;固定 id 與歷史都已保留,此 instance 已停止。",
1822
1841
  "kiro.archive_done": "已將凍結的 classic 對話備份並移出 Kiro 的重複索引:{0}",
1823
1842
  "kiro.carry_pin_repaired": "已恢復原本帶入的 V2 對話固定 id;空白的替代 session 都保留未動。",
1843
+ "kiro.compaction_followed": "kiro:對話 {0} 已被壓縮,並在 {1} 繼續;改為恢復 {1}。",
1844
+ "kiro.compaction_kept_unreadable": "kiro:照紀錄恢復 {0}:無法讀取 kiro 的儲存區,無法確認它是否已被壓縮成較新的對話。",
1845
+ "kiro.compaction_kept_ambiguous": "kiro:恢復 {0}:對話 {1} 被壓縮成不只一個對話({2}),無法判斷哪一個屬於這個 instance。",
1846
+ "kiro.compaction_kept_not_ours": "kiro:恢復 {0}:對話 {1} 已被壓縮成 {2},但 {2} 已被其他 instance 認領或已被放棄。",
1847
+ "kiro.claim_lost": "kiro:開新對話,因為紀錄中的對話 {0} 已不屬於這個 instance({1})。該對話仍保留在 kiro 的儲存區。",
1848
+ "kiro.claim_lost_missing": "認領檔不見了",
1849
+ "kiro.claim_lost_incomplete": "認領檔不完整;完整的認領檔是 instance 名稱加上一個換行",
1850
+ "kiro.claim_lost_other_owner": "已被其他 instance 認領",
1851
+ "kiro.claim_lost_abandoned": "已被放棄",
1824
1852
  "kiro.archive_failed": "已保留帶入的 Kiro 對話,但無法證明備份/修復可以安全進行:{0}",
1825
1853
  "kiro.archive_remedy": "請維持此 instance 停止,處理 store/所有權問題後再啟動;不要改開新對話或切回 classic。",
1826
1854
  "inst.kiro_resume_ambiguous": "Kiro 在 classic 與 V2 各列出一次這個 instance 的已存對話。對話已保留,instance 已停止。",