@ambystech/ambykit 1.2.0 → 1.3.1

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 (190) hide show
  1. package/CHANGELOG.md +66 -1
  2. package/README.md +9 -4
  3. package/dist/cli/activity.d.ts +16 -0
  4. package/dist/cli/activity.js +47 -0
  5. package/dist/cli/activity.js.map +1 -0
  6. package/dist/cli/analyze.d.ts +1 -1
  7. package/dist/cli/analyze.js +18 -5
  8. package/dist/cli/analyze.js.map +1 -1
  9. package/dist/cli/base-command.js +6 -0
  10. package/dist/cli/base-command.js.map +1 -1
  11. package/dist/cli/check.js +19 -1
  12. package/dist/cli/check.js.map +1 -1
  13. package/dist/cli/dashboard.d.ts +14 -3
  14. package/dist/cli/dashboard.js +189 -31
  15. package/dist/cli/dashboard.js.map +1 -1
  16. package/dist/cli/index.js +4 -0
  17. package/dist/cli/index.js.map +1 -1
  18. package/dist/cli/io/fsops.d.ts +5 -0
  19. package/dist/cli/io/fsops.js +8 -1
  20. package/dist/cli/io/fsops.js.map +1 -1
  21. package/dist/cli/io/version-check.js.map +1 -1
  22. package/dist/cli/lane.d.ts +20 -0
  23. package/dist/cli/lane.js +396 -0
  24. package/dist/cli/lane.js.map +1 -0
  25. package/dist/cli/sync.d.ts +7 -1
  26. package/dist/cli/sync.js +30 -2
  27. package/dist/cli/sync.js.map +1 -1
  28. package/dist/cli/ui/banner.js.map +1 -1
  29. package/dist/cli/ui/capabilities.d.ts +2 -0
  30. package/dist/cli/ui/capabilities.js +9 -0
  31. package/dist/cli/ui/capabilities.js.map +1 -1
  32. package/dist/cli/ui/dashboard/agent-badge.d.ts +25 -0
  33. package/dist/cli/ui/dashboard/agent-badge.js +95 -0
  34. package/dist/cli/ui/dashboard/agent-badge.js.map +1 -0
  35. package/dist/cli/ui/dashboard/attention.js.map +1 -1
  36. package/dist/cli/ui/dashboard/cards.d.ts +2 -0
  37. package/dist/cli/ui/dashboard/cards.js +7 -4
  38. package/dist/cli/ui/dashboard/cards.js.map +1 -1
  39. package/dist/cli/ui/dashboard/empty-state.d.ts +12 -0
  40. package/dist/cli/ui/dashboard/empty-state.js +22 -0
  41. package/dist/cli/ui/dashboard/empty-state.js.map +1 -0
  42. package/dist/cli/ui/dashboard/feature-chart.d.ts +11 -2
  43. package/dist/cli/ui/dashboard/feature-chart.js +26 -8
  44. package/dist/cli/ui/dashboard/feature-chart.js.map +1 -1
  45. package/dist/cli/ui/dashboard/feature-view.d.ts +13 -2
  46. package/dist/cli/ui/dashboard/feature-view.js +50 -2
  47. package/dist/cli/ui/dashboard/feature-view.js.map +1 -1
  48. package/dist/cli/ui/dashboard/help-overlay.d.ts +12 -0
  49. package/dist/cli/ui/dashboard/help-overlay.js +97 -0
  50. package/dist/cli/ui/dashboard/help-overlay.js.map +1 -0
  51. package/dist/cli/ui/dashboard/live-indicator.d.ts +12 -0
  52. package/dist/cli/ui/dashboard/live-indicator.js +24 -0
  53. package/dist/cli/ui/dashboard/live-indicator.js.map +1 -0
  54. package/dist/cli/ui/dashboard/live-tokens.d.ts +866 -0
  55. package/dist/cli/ui/dashboard/live-tokens.js +867 -0
  56. package/dist/cli/ui/dashboard/live-tokens.js.map +1 -0
  57. package/dist/cli/ui/dashboard/render-overview.d.ts +19 -1
  58. package/dist/cli/ui/dashboard/render-overview.js +46 -11
  59. package/dist/cli/ui/dashboard/render-overview.js.map +1 -1
  60. package/dist/cli/ui/dashboard/story-detail.d.ts +31 -0
  61. package/dist/cli/ui/dashboard/story-detail.js +109 -0
  62. package/dist/cli/ui/dashboard/story-detail.js.map +1 -0
  63. package/dist/cli/ui/dashboard/up-next.js.map +1 -1
  64. package/dist/cli/ui/dashboard/worktrees-panel.d.ts +31 -0
  65. package/dist/cli/ui/dashboard/worktrees-panel.js +118 -0
  66. package/dist/cli/ui/dashboard/worktrees-panel.js.map +1 -0
  67. package/dist/cli/ui/interactive/agent-scan.d.ts +25 -0
  68. package/dist/cli/ui/interactive/agent-scan.js +85 -0
  69. package/dist/cli/ui/interactive/agent-scan.js.map +1 -0
  70. package/dist/cli/ui/interactive/fullscreen.d.ts +12 -0
  71. package/dist/cli/ui/interactive/fullscreen.js +22 -2
  72. package/dist/cli/ui/interactive/fullscreen.js.map +1 -1
  73. package/dist/cli/ui/interactive/live.d.ts +55 -0
  74. package/dist/cli/ui/interactive/live.js +166 -0
  75. package/dist/cli/ui/interactive/live.js.map +1 -0
  76. package/dist/cli/ui/interactive/overview.d.ts +44 -9
  77. package/dist/cli/ui/interactive/overview.js +199 -30
  78. package/dist/cli/ui/interactive/overview.js.map +1 -1
  79. package/dist/cli/ui/interactive/prompt.d.ts +17 -2
  80. package/dist/cli/ui/interactive/prompt.js +39 -9
  81. package/dist/cli/ui/interactive/prompt.js.map +1 -1
  82. package/dist/cli/ui/progress.js.map +1 -1
  83. package/dist/cli/ui/types.d.ts +5 -0
  84. package/dist/core/activity.d.ts +102 -0
  85. package/dist/core/activity.js +166 -0
  86. package/dist/core/activity.js.map +1 -0
  87. package/dist/core/agents.d.ts +45 -0
  88. package/dist/core/agents.js +78 -0
  89. package/dist/core/agents.js.map +1 -0
  90. package/dist/core/analyze.d.ts +6 -0
  91. package/dist/core/analyze.js +11 -2
  92. package/dist/core/analyze.js.map +1 -1
  93. package/dist/core/checkouts.d.ts +54 -0
  94. package/dist/core/checkouts.js +200 -0
  95. package/dist/core/checkouts.js.map +1 -0
  96. package/dist/core/command-spec.js.map +1 -1
  97. package/dist/core/config.js +6 -0
  98. package/dist/core/config.js.map +1 -1
  99. package/dist/core/dashboard.d.ts +13 -0
  100. package/dist/core/dashboard.js +26 -0
  101. package/dist/core/dashboard.js.map +1 -1
  102. package/dist/core/emit.d.ts +5 -0
  103. package/dist/core/emit.js +46 -1
  104. package/dist/core/emit.js.map +1 -1
  105. package/dist/core/features.d.ts +5 -1
  106. package/dist/core/features.js +8 -6
  107. package/dist/core/features.js.map +1 -1
  108. package/dist/core/git.d.ts +7 -2
  109. package/dist/core/git.js +15 -1
  110. package/dist/core/git.js.map +1 -1
  111. package/dist/core/lanes.d.ts +116 -0
  112. package/dist/core/lanes.js +225 -0
  113. package/dist/core/lanes.js.map +1 -0
  114. package/dist/core/legacy.d.ts +10 -0
  115. package/dist/core/legacy.js +35 -0
  116. package/dist/core/legacy.js.map +1 -0
  117. package/dist/core/merge.js.map +1 -1
  118. package/dist/core/overview-types.d.ts +29 -0
  119. package/dist/core/overview.js +7 -1
  120. package/dist/core/overview.js.map +1 -1
  121. package/dist/core/paths.js.map +1 -1
  122. package/dist/core/rules.js +2 -2
  123. package/dist/core/types.d.ts +10 -0
  124. package/dist/core/worktree.d.ts +8 -0
  125. package/dist/core/worktree.js +19 -1
  126. package/dist/core/worktree.js.map +1 -1
  127. package/dist/emitters/antigravity-cli.d.ts +3 -2
  128. package/dist/emitters/antigravity-cli.js +3 -2
  129. package/dist/emitters/antigravity-cli.js.map +1 -1
  130. package/dist/emitters/antigravity.d.ts +8 -9
  131. package/dist/emitters/antigravity.js +9 -11
  132. package/dist/emitters/antigravity.js.map +1 -1
  133. package/dist/emitters/augment.d.ts +14 -0
  134. package/dist/emitters/augment.js +20 -0
  135. package/dist/emitters/augment.js.map +1 -0
  136. package/dist/emitters/base-emitter.d.ts +6 -0
  137. package/dist/emitters/base-emitter.js +12 -3
  138. package/dist/emitters/base-emitter.js.map +1 -1
  139. package/dist/emitters/claude.d.ts +5 -0
  140. package/dist/emitters/claude.js +9 -0
  141. package/dist/emitters/claude.js.map +1 -1
  142. package/dist/emitters/codex.d.ts +2 -9
  143. package/dist/emitters/codex.js +2 -19
  144. package/dist/emitters/codex.js.map +1 -1
  145. package/dist/emitters/copilot-cli.d.ts +0 -2
  146. package/dist/emitters/copilot-cli.js +4 -9
  147. package/dist/emitters/copilot-cli.js.map +1 -1
  148. package/dist/emitters/gemini.d.ts +14 -0
  149. package/dist/emitters/gemini.js +19 -0
  150. package/dist/emitters/gemini.js.map +1 -0
  151. package/dist/emitters/index.d.ts +19 -0
  152. package/dist/emitters/index.js +51 -0
  153. package/dist/emitters/index.js.map +1 -1
  154. package/dist/emitters/kilo.d.ts +14 -0
  155. package/dist/emitters/kilo.js +17 -0
  156. package/dist/emitters/kilo.js.map +1 -0
  157. package/dist/emitters/kiro.d.ts +12 -0
  158. package/dist/emitters/kiro.js +14 -0
  159. package/dist/emitters/kiro.js.map +1 -0
  160. package/dist/emitters/llxprt.d.ts +13 -0
  161. package/dist/emitters/llxprt.js +18 -0
  162. package/dist/emitters/llxprt.js.map +1 -0
  163. package/dist/emitters/qwen.d.ts +15 -0
  164. package/dist/emitters/qwen.js +23 -0
  165. package/dist/emitters/qwen.js.map +1 -0
  166. package/dist/emitters/skills-emitter.d.ts +21 -0
  167. package/dist/emitters/skills-emitter.js +39 -0
  168. package/dist/emitters/skills-emitter.js.map +1 -0
  169. package/dist/emitters/toml-command-emitter.d.ts +29 -0
  170. package/dist/emitters/toml-command-emitter.js +69 -0
  171. package/dist/emitters/toml-command-emitter.js.map +1 -0
  172. package/dist/emitters/windsurf.d.ts +16 -0
  173. package/dist/emitters/windsurf.js +21 -0
  174. package/dist/emitters/windsurf.js.map +1 -0
  175. package/docs/architecture.md +1 -1
  176. package/docs/cli-reference.md +87 -5
  177. package/docs/index.md +1 -1
  178. package/docs/tool-compatibility.md +131 -9
  179. package/docs/workflow.md +29 -0
  180. package/package.json +4 -4
  181. package/src/prompts/converge.md +2 -0
  182. package/src/prompts/design.md +2 -0
  183. package/src/prompts/implement.md +6 -2
  184. package/src/prompts/plan.md +2 -0
  185. package/src/prompts/specify.md +2 -1
  186. package/src/prompts/tasks.md +5 -1
  187. package/src/templates/tasks.md +2 -1
  188. package/dist/cli/ui/interactive/dashboard.d.ts +0 -20
  189. package/dist/cli/ui/interactive/dashboard.js +0 -96
  190. package/dist/cli/ui/interactive/dashboard.js.map +0 -1
@@ -0,0 +1,17 @@
1
+ import { join } from "node:path/posix";
2
+ import { BaseEmitter } from "./base-emitter.js";
3
+ /**
4
+ * Kilo Code emitter. Commands are Markdown + YAML at `.kilo/commands/*.md`; `description` is the
5
+ * only key we emit, and `$ARGUMENTS` is supported natively, so bodies are emitted verbatim. Kilo
6
+ * reads AGENTS.md, so no tool-specific rules file is emitted.
7
+ */
8
+ export class KiloEmitter extends BaseEmitter {
9
+ toolId = "kilo";
10
+ displayName = "Kilo Code";
11
+ commandSurface = "commands";
12
+ commandDir = join(".kilo", "commands");
13
+ commandFrontmatter(spec) {
14
+ return [["description", this.yamlQuote(spec.description)]];
15
+ }
16
+ }
17
+ //# sourceMappingURL=kilo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kilo.js","sourceRoot":"","sources":["../../src/emitters/kilo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IACjC,MAAM,GAAG,MAAM,CAAC;IAChB,WAAW,GAAG,WAAW,CAAC;IAC1B,cAAc,GAAmB,UAAU,CAAC;IAC5C,UAAU,GAAG,IAAI,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;IAE7B,kBAAkB,CAAC,IAAiB;QACrD,OAAO,CAAC,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC7D,CAAC;CACF"}
@@ -0,0 +1,12 @@
1
+ import { SkillsEmitter } from "./skills-emitter.js";
2
+ /**
3
+ * Kiro (IDE and `kiro-cli`) emitter. Commands are skills at `.kiro/skills/<name>/SKILL.md`; `name`
4
+ * must equal the directory and use only lowercase letters, digits and hyphens (so `amby-specify`,
5
+ * never `amby.specify`). `$ARGUMENTS` is substituted by the CLI only, so the shared skills rewording
6
+ * to prose is used. Kiro reads AGENTS.md, so no tool-specific rules file is emitted.
7
+ */
8
+ export declare class KiroEmitter extends SkillsEmitter {
9
+ readonly toolId = "kiro";
10
+ readonly displayName = "Kiro";
11
+ readonly commandDir: string;
12
+ }
@@ -0,0 +1,14 @@
1
+ import { join } from "node:path/posix";
2
+ import { SkillsEmitter } from "./skills-emitter.js";
3
+ /**
4
+ * Kiro (IDE and `kiro-cli`) emitter. Commands are skills at `.kiro/skills/<name>/SKILL.md`; `name`
5
+ * must equal the directory and use only lowercase letters, digits and hyphens (so `amby-specify`,
6
+ * never `amby.specify`). `$ARGUMENTS` is substituted by the CLI only, so the shared skills rewording
7
+ * to prose is used. Kiro reads AGENTS.md, so no tool-specific rules file is emitted.
8
+ */
9
+ export class KiroEmitter extends SkillsEmitter {
10
+ toolId = "kiro";
11
+ displayName = "Kiro";
12
+ commandDir = join(".kiro", "skills");
13
+ }
14
+ //# sourceMappingURL=kiro.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kiro.js","sourceRoot":"","sources":["../../src/emitters/kiro.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD;;;;;GAKG;AACH,MAAM,OAAO,WAAY,SAAQ,aAAa;IACnC,MAAM,GAAG,MAAM,CAAC;IAChB,WAAW,GAAG,MAAM,CAAC;IACrB,UAAU,GAAG,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;CAC/C"}
@@ -0,0 +1,13 @@
1
+ import type { EmittedFile, RulesContext } from "../core/types.js";
2
+ import { TomlCommandEmitter } from "./toml-command-emitter.js";
3
+ /**
4
+ * LLxprt Code emitter (a Gemini CLI fork). Commands are TOML at `.llxprt/commands/amby.<phase>.toml`
5
+ * with the same shape as Gemini's; the loader globs `**\/*.toml`. It reads `LLXPRT.md`, not AGENTS.md,
6
+ * so a pointer region carries the rules.
7
+ */
8
+ export declare class LlxprtEmitter extends TomlCommandEmitter {
9
+ readonly toolId = "llxprt";
10
+ readonly displayName = "LLxprt Code";
11
+ readonly commandDir: string;
12
+ protected rulesFiles(_ctx: RulesContext): EmittedFile[];
13
+ }
@@ -0,0 +1,18 @@
1
+ import { join } from "node:path/posix";
2
+ import { buildPointerRegion } from "../core/rules.js";
3
+ import { TomlCommandEmitter } from "./toml-command-emitter.js";
4
+ /**
5
+ * LLxprt Code emitter (a Gemini CLI fork). Commands are TOML at `.llxprt/commands/amby.<phase>.toml`
6
+ * with the same shape as Gemini's; the loader globs `**\/*.toml`. It reads `LLXPRT.md`, not AGENTS.md,
7
+ * so a pointer region carries the rules.
8
+ */
9
+ export class LlxprtEmitter extends TomlCommandEmitter {
10
+ toolId = "llxprt";
11
+ displayName = "LLxprt Code";
12
+ commandDir = join(".llxprt", "commands");
13
+ rulesFiles(_ctx) {
14
+ const region = buildPointerRegion("The `/amby.*` commands under `.llxprt/commands/` drive the phases.");
15
+ return [{ path: "LLXPRT.md", contents: `# LLxprt Code instructions\n\n${region}`, scope: "project", merge: "region" }];
16
+ }
17
+ }
18
+ //# sourceMappingURL=llxprt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"llxprt.js","sourceRoot":"","sources":["../../src/emitters/llxprt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D;;;;GAIG;AACH,MAAM,OAAO,aAAc,SAAQ,kBAAkB;IAC1C,MAAM,GAAG,QAAQ,CAAC;IAClB,WAAW,GAAG,aAAa,CAAC;IAC5B,UAAU,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;IAE/B,UAAU,CAAC,IAAkB;QAC9C,MAAM,MAAM,GAAG,kBAAkB,CAAC,oEAAoE,CAAC,CAAC;QACxG,OAAO,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,iCAAiC,MAAM,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC;IACzH,CAAC;CACF"}
@@ -0,0 +1,15 @@
1
+ import type { CommandSpec, CommandSurface } from "../core/types.js";
2
+ import { BaseEmitter } from "./base-emitter.js";
3
+ /**
4
+ * Qwen Code emitter. Commands are Markdown + YAML at `.qwen/commands/*.md` (TOML is deprecated);
5
+ * documented keys are `description` and `argument-hint`, and the argument placeholder is `{{args}}`.
6
+ * Qwen reads AGENTS.md (per its source; see research R3), so no tool-specific rules file is emitted.
7
+ */
8
+ export declare class QwenEmitter extends BaseEmitter {
9
+ readonly toolId = "qwen";
10
+ readonly displayName = "Qwen Code";
11
+ readonly commandSurface: CommandSurface;
12
+ readonly commandDir: string;
13
+ protected commandFrontmatter(spec: CommandSpec): Array<[string, string]>;
14
+ protected transformBody(spec: CommandSpec): string;
15
+ }
@@ -0,0 +1,23 @@
1
+ import { join } from "node:path/posix";
2
+ import { BaseEmitter } from "./base-emitter.js";
3
+ /**
4
+ * Qwen Code emitter. Commands are Markdown + YAML at `.qwen/commands/*.md` (TOML is deprecated);
5
+ * documented keys are `description` and `argument-hint`, and the argument placeholder is `{{args}}`.
6
+ * Qwen reads AGENTS.md (per its source; see research R3), so no tool-specific rules file is emitted.
7
+ */
8
+ export class QwenEmitter extends BaseEmitter {
9
+ toolId = "qwen";
10
+ displayName = "Qwen Code";
11
+ commandSurface = "commands";
12
+ commandDir = join(".qwen", "commands");
13
+ commandFrontmatter(spec) {
14
+ return [
15
+ ["description", this.yamlQuote(spec.description)],
16
+ ["argument-hint", this.yamlQuote(spec.argumentHint)],
17
+ ];
18
+ }
19
+ transformBody(spec) {
20
+ return spec.body.replaceAll("$ARGUMENTS", "{{args}}");
21
+ }
22
+ }
23
+ //# sourceMappingURL=qwen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qwen.js","sourceRoot":"","sources":["../../src/emitters/qwen.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IACjC,MAAM,GAAG,MAAM,CAAC;IAChB,WAAW,GAAG,WAAW,CAAC;IAC1B,cAAc,GAAmB,UAAU,CAAC;IAC5C,UAAU,GAAG,IAAI,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;IAE7B,kBAAkB,CAAC,IAAiB;QACrD,OAAO;YACL,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YACjD,CAAC,eAAe,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;SACrD,CAAC;IACJ,CAAC;IAEkB,aAAa,CAAC,IAAiB;QAChD,OAAO,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;IACxD,CAAC;CACF"}
@@ -0,0 +1,21 @@
1
+ import type { CommandSpec, EmittedFile, RulesContext } from "../core/types.js";
2
+ import { BaseEmitter } from "./base-emitter.js";
3
+ /** Skill id: lowercase-hyphen, e.g. `amby.specify` → `amby-specify` (dots are not valid in every host). */
4
+ export declare function skillName(spec: CommandSpec): string;
5
+ /** `<dir>/<skill name>/SKILL.md` — the skills layout shared by Codex, Copilot CLI and Kiro. */
6
+ export declare function skillPath(dir: string, spec: CommandSpec): string;
7
+ /** Documented skill frontmatter: just `name` and `description`. */
8
+ export declare function skillFrontmatter(spec: CommandSpec, quote: (value: string) => string): Array<[string, string]>;
9
+ /**
10
+ * Base for hosts whose file-based command surface is **skills** (feature 016): one directory per
11
+ * phase holding `SKILL.md` with `name` + `description`. Skills have no `$ARGUMENTS` substitution, so
12
+ * the token becomes an instruction. A target that must inherit from another emitter (Copilot CLI)
13
+ * reuses the exported helpers instead of this class.
14
+ */
15
+ export declare abstract class SkillsEmitter extends BaseEmitter {
16
+ readonly commandSurface: "skills";
17
+ protected commandFilePath(spec: CommandSpec): string;
18
+ protected commandFrontmatter(spec: CommandSpec): Array<[string, string]>;
19
+ protected commandFile(spec: CommandSpec, ctx?: RulesContext): EmittedFile;
20
+ protected transformBody(spec: CommandSpec): string;
21
+ }
@@ -0,0 +1,39 @@
1
+ import { join } from "node:path/posix";
2
+ import { BaseEmitter } from "./base-emitter.js";
3
+ /** Skill id: lowercase-hyphen, e.g. `amby.specify` → `amby-specify` (dots are not valid in every host). */
4
+ export function skillName(spec) {
5
+ return spec.name.replace(/\./g, "-").toLowerCase();
6
+ }
7
+ /** `<dir>/<skill name>/SKILL.md` — the skills layout shared by Codex, Copilot CLI and Kiro. */
8
+ export function skillPath(dir, spec) {
9
+ return join(dir, skillName(spec), "SKILL.md");
10
+ }
11
+ /** Documented skill frontmatter: just `name` and `description`. */
12
+ export function skillFrontmatter(spec, quote) {
13
+ return [
14
+ ["name", skillName(spec)],
15
+ ["description", quote(spec.description)],
16
+ ];
17
+ }
18
+ /**
19
+ * Base for hosts whose file-based command surface is **skills** (feature 016): one directory per
20
+ * phase holding `SKILL.md` with `name` + `description`. Skills have no `$ARGUMENTS` substitution, so
21
+ * the token becomes an instruction. A target that must inherit from another emitter (Copilot CLI)
22
+ * reuses the exported helpers instead of this class.
23
+ */
24
+ export class SkillsEmitter extends BaseEmitter {
25
+ commandSurface = "skills";
26
+ commandFilePath(spec) {
27
+ return skillPath(this.commandDir, spec);
28
+ }
29
+ commandFrontmatter(spec) {
30
+ return skillFrontmatter(spec, (v) => this.yamlQuote(v));
31
+ }
32
+ commandFile(spec, ctx) {
33
+ return { ...super.commandFile(spec, ctx), protectForeign: true };
34
+ }
35
+ transformBody(spec) {
36
+ return spec.body.replaceAll("$ARGUMENTS", "the user's request that followed this skill invocation");
37
+ }
38
+ }
39
+ //# sourceMappingURL=skills-emitter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skills-emitter.js","sourceRoot":"","sources":["../../src/emitters/skills-emitter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,2GAA2G;AAC3G,MAAM,UAAU,SAAS,CAAC,IAAiB;IACzC,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC;AACrD,CAAC;AAED,+FAA+F;AAC/F,MAAM,UAAU,SAAS,CAAC,GAAW,EAAE,IAAiB;IACtD,OAAO,IAAI,CAAC,GAAG,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,CAAC;AAChD,CAAC;AAED,mEAAmE;AACnE,MAAM,UAAU,gBAAgB,CAAC,IAAiB,EAAE,KAAgC;IAClF,OAAO;QACL,CAAC,MAAM,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC;QACzB,CAAC,aAAa,EAAE,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;KACzC,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,OAAgB,aAAc,SAAQ,WAAW;IAC5C,cAAc,GAAG,QAAiB,CAAC;IAEzB,eAAe,CAAC,IAAiB;QAClD,OAAO,SAAS,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;IAC1C,CAAC;IAEkB,kBAAkB,CAAC,IAAiB;QACrD,OAAO,gBAAgB,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1D,CAAC;IAEkB,WAAW,CAAC,IAAiB,EAAE,GAAkB;QAClE,OAAO,EAAE,GAAG,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,GAAG,CAAC,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC;IACnE,CAAC;IAEkB,aAAa,CAAC,IAAiB;QAChD,OAAO,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,YAAY,EAAE,wDAAwD,CAAC,CAAC;IACtG,CAAC;CACF"}
@@ -0,0 +1,29 @@
1
+ import type { CommandSpec, CommandSurface } from "../core/types.js";
2
+ import { BaseEmitter } from "./base-emitter.js";
3
+ /**
4
+ * Base for tools whose custom commands are TOML files (Gemini CLI, LLxprt Code; feature 016, R1):
5
+ *
6
+ * # <generated notice>
7
+ * description = "<basic-escaped>"
8
+ * prompt = '''
9
+ * <body>
10
+ * '''
11
+ *
12
+ * The prompt is a TOML *literal* multi-line string, so backslashes and quotes in the neutral body
13
+ * need no escaping. A body containing `'''` falls back to a basic `"""` string with `\` and `"`
14
+ * escaped. The generated notice is a `#` comment, so it costs no prompt tokens. `$ARGUMENTS` becomes
15
+ * `{{args}}`. Only two string keys are written and AmbyKit never parses TOML, hence no dependency.
16
+ */
17
+ export declare abstract class TomlCommandEmitter extends BaseEmitter {
18
+ readonly commandSurface: CommandSurface;
19
+ /** Commands live in `<dir>/amby.<phase>.toml`; dots are kept (the command name is the file path). */
20
+ protected commandFileName(spec: CommandSpec): string;
21
+ protected commandFrontmatter(spec: CommandSpec): Array<[string, string]>;
22
+ protected generatedNotice(spec: CommandSpec): string;
23
+ protected transformBody(spec: CommandSpec): string;
24
+ protected renderCommand(pairs: Array<[string, string]>, notice: string, body: string): string;
25
+ }
26
+ /** TOML basic string (`"…"`) with the required escapes. */
27
+ export declare function tomlBasic(value: string): string;
28
+ /** The `prompt` value: a literal `'''` block, or a basic `"""` block when the body contains `'''`. */
29
+ export declare function tomlPrompt(body: string): string;
@@ -0,0 +1,69 @@
1
+ import { BaseEmitter } from "./base-emitter.js";
2
+ /**
3
+ * Base for tools whose custom commands are TOML files (Gemini CLI, LLxprt Code; feature 016, R1):
4
+ *
5
+ * # <generated notice>
6
+ * description = "<basic-escaped>"
7
+ * prompt = '''
8
+ * <body>
9
+ * '''
10
+ *
11
+ * The prompt is a TOML *literal* multi-line string, so backslashes and quotes in the neutral body
12
+ * need no escaping. A body containing `'''` falls back to a basic `"""` string with `\` and `"`
13
+ * escaped. The generated notice is a `#` comment, so it costs no prompt tokens. `$ARGUMENTS` becomes
14
+ * `{{args}}`. Only two string keys are written and AmbyKit never parses TOML, hence no dependency.
15
+ */
16
+ export class TomlCommandEmitter extends BaseEmitter {
17
+ commandSurface = "commands";
18
+ /** Commands live in `<dir>/amby.<phase>.toml`; dots are kept (the command name is the file path). */
19
+ commandFileName(spec) {
20
+ return `${spec.name}.toml`;
21
+ }
22
+ commandFrontmatter(spec) {
23
+ return [["description", tomlBasic(spec.description)]];
24
+ }
25
+ generatedNotice(spec) {
26
+ return `# GENERATED by AmbyKit from src/prompts/${spec.id}.md — do not edit by hand; run \`ambykit sync\`.`;
27
+ }
28
+ transformBody(spec) {
29
+ return spec.body.replaceAll("$ARGUMENTS", "{{args}}");
30
+ }
31
+ renderCommand(pairs, notice, body) {
32
+ const keys = pairs.map(([k, v]) => `${k} = ${v}`).join("\n");
33
+ return `${notice}\n${keys}\nprompt = ${tomlPrompt(body)}\n`;
34
+ }
35
+ }
36
+ /** TOML basic string (`"…"`) with the required escapes. */
37
+ export function tomlBasic(value) {
38
+ return `"${escapeBasic(value)}"`;
39
+ }
40
+ function escapeBasic(value) {
41
+ let out = "";
42
+ for (const ch of value) {
43
+ const code = ch.codePointAt(0);
44
+ if (ch === "\\")
45
+ out += "\\\\";
46
+ else if (ch === '"')
47
+ out += '\\"';
48
+ else if (ch === "\n")
49
+ out += "\\n";
50
+ else if (ch === "\t")
51
+ out += "\\t";
52
+ else if (ch === "\r")
53
+ out += "\\r";
54
+ else if (code < 0x20 || code === 0x7f)
55
+ out += `\\u${code.toString(16).toUpperCase().padStart(4, "0")}`;
56
+ else
57
+ out += ch;
58
+ }
59
+ return out;
60
+ }
61
+ /** The `prompt` value: a literal `'''` block, or a basic `"""` block when the body contains `'''`. */
62
+ export function tomlPrompt(body) {
63
+ if (!body.includes("'''") && !/[\u0000-\u0008\u000b-\u001f\u007f]/.test(body))
64
+ return `'''\n${body}\n'''`;
65
+ // Multi-line basic string: keep real newlines (a leading one is trimmed by TOML), escape the rest.
66
+ const escaped = body.split("\n").map(escapeBasic).join("\n");
67
+ return `"""\n${escaped}\n"""`;
68
+ }
69
+ //# sourceMappingURL=toml-command-emitter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toml-command-emitter.js","sourceRoot":"","sources":["../../src/emitters/toml-command-emitter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAgB,kBAAmB,SAAQ,WAAW;IACjD,cAAc,GAAmB,UAAU,CAAC;IAErD,qGAAqG;IAClF,eAAe,CAAC,IAAiB;QAClD,OAAO,GAAG,IAAI,CAAC,IAAI,OAAO,CAAC;IAC7B,CAAC;IAEkB,kBAAkB,CAAC,IAAiB;QACrD,OAAO,CAAC,CAAC,aAAa,EAAE,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IACxD,CAAC;IAEkB,eAAe,CAAC,IAAiB;QAClD,OAAO,2CAA2C,IAAI,CAAC,EAAE,kDAAkD,CAAC;IAC9G,CAAC;IAEkB,aAAa,CAAC,IAAiB;QAChD,OAAO,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;IACxD,CAAC;IAEkB,aAAa,CAAC,KAA8B,EAAE,MAAc,EAAE,IAAY;QAC3F,MAAM,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7D,OAAO,GAAG,MAAM,KAAK,IAAI,cAAc,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC;IAC9D,CAAC;CACF;AAED,2DAA2D;AAC3D,MAAM,UAAU,SAAS,CAAC,KAAa;IACrC,OAAO,IAAI,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC;AACnC,CAAC;AAED,SAAS,WAAW,CAAC,KAAa;IAChC,IAAI,GAAG,GAAG,EAAE,CAAC;IACb,KAAK,MAAM,EAAE,IAAI,KAAK,EAAE,CAAC;QACvB,MAAM,IAAI,GAAG,EAAE,CAAC,WAAW,CAAC,CAAC,CAAE,CAAC;QAChC,IAAI,EAAE,KAAK,IAAI;YAAE,GAAG,IAAI,MAAM,CAAC;aAC1B,IAAI,EAAE,KAAK,GAAG;YAAE,GAAG,IAAI,KAAK,CAAC;aAC7B,IAAI,EAAE,KAAK,IAAI;YAAE,GAAG,IAAI,KAAK,CAAC;aAC9B,IAAI,EAAE,KAAK,IAAI;YAAE,GAAG,IAAI,KAAK,CAAC;aAC9B,IAAI,EAAE,KAAK,IAAI;YAAE,GAAG,IAAI,KAAK,CAAC;aAC9B,IAAI,IAAI,GAAG,IAAI,IAAI,IAAI,KAAK,IAAI;YAAE,GAAG,IAAI,MAAM,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC;;YAClG,GAAG,IAAI,EAAE,CAAC;IACjB,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC;AAED,sGAAsG;AACtG,MAAM,UAAU,UAAU,CAAC,IAAY;IACrC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,oCAAoC,CAAC,IAAI,CAAC,IAAI,CAAC;QAAE,OAAO,QAAQ,IAAI,OAAO,CAAC;IAC1G,mGAAmG;IACnG,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7D,OAAO,QAAQ,OAAO,OAAO,CAAC;AAChC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { CommandSpec, CommandSurface } from "../core/types.js";
2
+ import { BaseEmitter } from "./base-emitter.js";
3
+ /**
4
+ * Windsurf emitter. Workflows are Markdown at `.windsurf/workflows/*.md` with no documented
5
+ * frontmatter and a 12,000-character limit per file; the filename is the slash command. There is no
6
+ * argument placeholder, so `$ARGUMENTS` becomes an instruction (the Codex wording). Windsurf reads
7
+ * AGENTS.md, so no tool-specific rules file is emitted.
8
+ */
9
+ export declare class WindsurfEmitter extends BaseEmitter {
10
+ readonly toolId = "windsurf";
11
+ readonly displayName = "Windsurf";
12
+ readonly commandSurface: CommandSurface;
13
+ readonly commandDir: string;
14
+ protected commandFrontmatter(_spec: CommandSpec): Array<[string, string]>;
15
+ protected transformBody(spec: CommandSpec): string;
16
+ }
@@ -0,0 +1,21 @@
1
+ import { join } from "node:path/posix";
2
+ import { BaseEmitter } from "./base-emitter.js";
3
+ /**
4
+ * Windsurf emitter. Workflows are Markdown at `.windsurf/workflows/*.md` with no documented
5
+ * frontmatter and a 12,000-character limit per file; the filename is the slash command. There is no
6
+ * argument placeholder, so `$ARGUMENTS` becomes an instruction (the Codex wording). Windsurf reads
7
+ * AGENTS.md, so no tool-specific rules file is emitted.
8
+ */
9
+ export class WindsurfEmitter extends BaseEmitter {
10
+ toolId = "windsurf";
11
+ displayName = "Windsurf";
12
+ commandSurface = "workflows";
13
+ commandDir = join(".windsurf", "workflows");
14
+ commandFrontmatter(_spec) {
15
+ return [];
16
+ }
17
+ transformBody(spec) {
18
+ return spec.body.replaceAll("$ARGUMENTS", "the user's request that followed this workflow invocation");
19
+ }
20
+ }
21
+ //# sourceMappingURL=windsurf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"windsurf.js","sourceRoot":"","sources":["../../src/emitters/windsurf.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD;;;;;GAKG;AACH,MAAM,OAAO,eAAgB,SAAQ,WAAW;IACrC,MAAM,GAAG,UAAU,CAAC;IACpB,WAAW,GAAG,UAAU,CAAC;IACzB,cAAc,GAAmB,WAAW,CAAC;IAC7C,UAAU,GAAG,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IAElC,kBAAkB,CAAC,KAAkB;QACtD,OAAO,EAAE,CAAC;IACZ,CAAC;IAEkB,aAAa,CAAC,IAAiB;QAChD,OAAO,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,YAAY,EAAE,2DAA2D,CAAC,CAAC;IACzG,CAAC;CACF"}
@@ -21,7 +21,7 @@ src/prompts/ ── neutral phase CommandSpecs (constitution → implement)
21
21
  ├── .github/skills/amby-*/SKILL.md (CopilotCliEmitter)
22
22
  ├── .opencode/commands/*.md (OpenCodeEmitter)
23
23
  ├── .cursor/commands/*.md + rules (CursorEmitter / CursorCliEmitter)
24
- ├── .agents/workflows/*.md (AntigravityEmitter / AntigravityCliEmitter)
24
+ ├── .agents/skills/amby-*/SKILL.md (CodexEmitter, AntigravityEmitter / AntigravityCliEmitter)
25
25
  └── AGENTS.md (+ CLAUDE.md bridge) (shared rules layer)
26
26
  ```
27
27
 
@@ -52,7 +52,13 @@ npx @ambystech/ambykit init --dry-run # preview merges, write nothing
52
52
  Add or refresh integration for one or more targets (see [tool compatibility](./tool-compatibility.md)
53
53
  for target names). On an interactive terminal, running it with **no target** opens a multi-select
54
54
  prompt (`space` toggle, `enter` confirm, `esc` cancel); non-interactively it errors with the list of
55
- available targets instead of blocking. `init` behaves the same when `--tools` is omitted.
55
+ available targets instead of blocking. `init` behaves the same when `--tools` is omitted. The
56
+ selector scrolls when the list is taller than the terminal (`↑ n more` / `↓ n more`).
57
+
58
+ Target ids: `claude`, `claude-vscode`, `copilot`, `copilot-cli`, `opencode`, `cursor`, `cursor-cli`,
59
+ `antigravity`, `antigravity-cli`, `codex`, `gemini`, `llxprt`, `qwen`, `kilo`, `augment`, `windsurf`,
60
+ `kiro`, `pi`. Targets that share an emitter (for example `codex` and `pi`) write their files once;
61
+ `ambykit check` names the owners of each shared output.
56
62
 
57
63
  ```bash
58
64
  ambykit add cursor claude
@@ -71,8 +77,18 @@ running it keeps your agent docs current without a full re-init.
71
77
  ```bash
72
78
  ambykit sync
73
79
  ambykit sync --dry-run
80
+ ambykit sync --prune-legacy
74
81
  ```
75
82
 
83
+ **Antigravity migration.** Antigravity retired workflows on 2026-10-19; the `antigravity` and
84
+ `antigravity-cli` targets now write skills (`.agents/skills/amby-*/SKILL.md`, the same files Codex and Pi
85
+ write). Workflow files that an earlier release generated at `.agents/workflows/amby.<phase>.md` are left
86
+ in place and reported; `--prune-legacy` backs each up under `.amby/backups/` and removes only the ones
87
+ that carry AmbyKit's generated notice (your own workflows are never touched; `ambykit restore <file>`
88
+ brings one back). `sync` never overwrites an existing skill file that AmbyKit did not generate. When
89
+ several targets write one skill file it is written once and reports one assistant id (`codex`, then
90
+ `antigravity`, then `antigravity-cli`).
91
+
76
92
  Also installs any newly shipped templates, reference docs, and **roles** into `.amby/` (write-if-absent —
77
93
  your edits are kept), warns when a role in `.amby/roles/` exceeds 150 words, and refuses to emit
78
94
  when two roles share an id. Projects with roles get one native sub-agent per role for Claude Code,
@@ -109,11 +125,48 @@ branch is already merged. Opt in to automatic creation from `/amby.specify` by a
109
125
  `ambykit init`, or set `"worktrees": true` in `.amby/config.json`. Inside a worktree, phases resolve
110
126
  "the current feature" from the directory name.
111
127
 
128
+ ## `ambykit lane <feature> | list | remove <feature> [<lane>] | merge <feature> [<lane>]`
129
+
130
+ **Parallel lanes**: split one phase's `[P]` tasks into isolated worktrees that cannot touch the same
131
+ files, then merge them back. Lane `k` of phase `p` is the worktree and branch
132
+ `.worktrees/<feature>.lane-<p>-<k>`, created from the feature branch. Each lane holds a manifest
133
+ (`.amby/lane/lane.json`, self-ignoring) listing only its tasks. Zero model tokens. Requires
134
+ `"worktrees": true` in `.amby/config.json`.
135
+
136
+ ```bash
137
+ ambykit lane 015-slug # 2 lanes from the first phase with open [P] tasks
138
+ ambykit lane 015-slug --phase=3 --lanes=3 # choose the phase and lane count
139
+ ambykit lane list [015-slug] # tasks, done/total, clean/dirty/merged, drift
140
+ ambykit lane merge 015-slug [3-1] # merge finished lanes into the feature branch
141
+ ambykit lane remove 015-slug [3-1] [--force] # remove working copies (branches are kept)
142
+ ```
143
+
144
+ Tasks are dealt round-robin in task order. Creating is refused when the phase has path conflicts
145
+ (see `ambykit analyze`) and is a no-op when the lanes already exist. `merge` runs in the feature's
146
+ checkout, which must be clean. Check-offs that land on adjacent `tasks.md` lines are resolved
147
+ automatically (a box is ticked if either side ticked it); any other conflict aborts that lane's merge
148
+ and leaves the checkout clean. `list` reports **drift** when a lane task is missing from, or has
149
+ different paths in, the feature's current `tasks.md`.
150
+
112
151
  ## `ambykit dashboard [story-id]`
113
152
 
114
153
  Progress view over the story/task graph, computed locally from `specs/*/` files and, for the
115
154
  burndown, read-only git history (no model tokens, no network, writes nothing).
116
155
 
156
+ **Worktrees.** The dashboard reads the primary checkout plus every feature worktree under
157
+ `.worktrees/` (see `ambykit worktree`), and shows the same numbers wherever you run it. A worktree
158
+ contributes only its own feature's directory, which replaces the copy on the default branch. Rows
159
+ read from a worktree carry a checkout tag (`⎇`, `⎇●` dirty, `⎇⊘` merged; `wt`, `wt*`, `wt merged` in
160
+ plain output), and a **Worktrees & agents** panel lists them. Projects without worktrees look
161
+ exactly as before. A worktree that can't be read is named in a notice line.
162
+
163
+ **Agents.** Assistants report the phase and task they are on with `ambykit activity` (the phase
164
+ prompts do this). The dashboard shows them as `● active` (activity in the last 2 minutes),
165
+ `○ idle` (30 minutes) or `– stale`. Change the thresholds with
166
+ `"dashboard": { "activeMinutes": 2, "idleMinutes": 30 }` in `.amby/config.json`. In
167
+ `--interactive` mode, running CLI agents are also detected from the process list and marked `~`.
168
+ Detection reads the process list only, never sends anything, and stops when you quit.
169
+
117
170
  - **No arg** — the overview, top to bottom:
118
171
  - summary cards: features, stories, tasks done/total, overall completion;
119
172
  - **story status** stacked bar with a legend (each status has its own fill pattern and glyph, so
@@ -140,12 +193,22 @@ burndown, read-only git history (no model tokens, no network, writes nothing).
140
193
  match several; qualify it with the feature ref as `NNN:US-3` (also accepts `NNN/US-3`). A bare id
141
194
  that matches more than one feature prints the matches so you can pick.
142
195
  - **`--interactive`** — the overview full screen (TTY only): `tab` moves focus between Attention, Up
143
- next and Feature completion, `↑`/`↓` move, `enter` opens the feature view (and a story's tasks from
144
- there), `esc` goes back, `f` filters by feature, `s` cycles the status filter, `q` quits. On a
145
- non-interactive terminal it prints the plain overview.
196
+ next, Worktrees & agents and Feature completion, `↑`/`↓` move, `enter` opens the feature view and,
197
+ from there, the story detail (tasks, relations, checkout and agent). `esc` goes back (on the
198
+ overview it clears the filters), `f` filters by feature, `s` cycles the status filter, `?` shows
199
+ the keys and glyph legend, `q` quits. The screen is **live**: a change to any checkout's specs or
200
+ activity markers repaints within a second, keeping your place and any filter you're typing. The
201
+ header shows `● live · 3s ago`; where file watching is unavailable it polls every 2 s
202
+ (`◌ polling`), and if monitoring fails it shows `⚠ live paused` and `r` retries. On a
203
+ non-interactive terminal it prints the plain overview, and nothing is watched.
204
+ - **`--icons=nerd|unicode|ascii`** — icon set. `nerd` (also `AMBYKIT_ICONS=nerd`) shows the
205
+ worktree tag as the Nerd Font git-branch icon; agent icons stay Unicode. `ascii` uses tags like
206
+ `[CC] Claude` and `wt`. The default is unicode when the terminal supports it.
146
207
  - **`--json`** — the story list as JSON, unchanged from earlier releases.
147
208
  - **`--json --overview`** — one object: `stories` (exactly the `--json` list) plus `summary`,
148
209
  `statusCounts`, `features`, `attention`, `upNext`, `burndown`, `issues` and the applied `filters`.
210
+ Each feature has a `checkout`: `{ "kind": "main" }`, or
211
+ `{ "kind": "worktree", "branch", "dirty", "stale" }`.
149
212
 
150
213
  ```bash
151
214
  ambykit dashboard
@@ -157,6 +220,20 @@ ambykit dashboard --stories # the story table
157
220
  ambykit dashboard 001:US-3 # story detail (feature-qualified)
158
221
  ambykit dashboard --json # story list
159
222
  ambykit dashboard --json --overview # story list + every aggregate
223
+ ambykit dashboard --interactive --icons=nerd
224
+ ```
225
+
226
+ ## `ambykit activity <feature>`
227
+
228
+ Records that an assistant started a phase on a feature, for the dashboard's agent presence. You
229
+ rarely run it yourself: the specify, design, plan, tasks, implement and converge prompts run it,
230
+ with `--agent` already set to the tool's id. It writes
231
+ `.amby/activity/<feature>.<agent>.json` in the checkout it runs in. The directory has its own
232
+ `.gitignore`, so markers never reach git. It never fails the assistant: an unknown feature or a
233
+ missing flag is a warning, and the exit code is always 0.
234
+
235
+ ```bash
236
+ ambykit activity 017 --agent=claude --phase=implement --task=T014
160
237
  ```
161
238
 
162
239
  ## `ambykit analyze`
@@ -166,9 +243,14 @@ Validate the story dependency graph, computed locally from `specs/` (no model to
166
243
  stories and **orphans** (stories with no tasks). Exits non-zero on structural errors, so it can gate
167
244
  CI. Complements the generative `/amby.analyze` phase.
168
245
 
246
+ Also checks **lane ownership**: open tasks in the same phase that declare overlapping file paths,
247
+ where at least one is `[P]`, are reported as **Lane conflicts** (by task id and path) and exit
248
+ non-zero. Open tasks with no usable path, or a glob, are listed as warnings and do not affect the
249
+ exit code.
250
+
169
251
  ```bash
170
252
  ambykit analyze
171
- ambykit analyze --json
253
+ ambykit analyze --json # includes lanes.conflicts and lanes.declarations
172
254
  ```
173
255
 
174
256
  ## `ambykit check`
package/docs/index.md CHANGED
@@ -20,7 +20,7 @@ tools omit.
20
20
 
21
21
  You write the workflow and artifacts once. AmbyKit's **emitters** compile them into each assistant's
22
22
  native format — Claude Code, OpenCode, GitHub Copilot (VS Code + CLI), Cursor (+ CLI), Antigravity
23
- (IDE + CLI). One source of truth, no per-tool drift. See [architecture](./architecture.md).
23
+ (IDE + CLI), Codex CLI, Gemini CLI, Windsurf, Qwen Code, Kiro, Kilo Code, Augment Code, LLxprt Code and Pi. One source of truth, no per-tool drift. See [architecture](./architecture.md).
24
24
 
25
25
  ## Read next
26
26