@ethlete/agent-rules 0.1.0-next.5 → 0.1.0-next.50

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 (242) hide show
  1. package/AGENTS.md +28 -0
  2. package/CHANGELOG.md +742 -0
  3. package/CLAUDE.md +1 -0
  4. package/README.md +430 -25
  5. package/THIRD-PARTY-LICENSES.md +35 -0
  6. package/content/defaults.json +1 -1
  7. package/content/git-hooks/post-checkout.sh +10 -0
  8. package/content/git-hooks/pre-push.sh +5 -0
  9. package/content/hooks/away-mode.py +327 -0
  10. package/content/hooks/background-design-commands.py +228 -0
  11. package/content/hooks/builder-idle-check.py +388 -0
  12. package/content/hooks/context-warning.py +694 -134
  13. package/content/hooks/design-live-check.py +136 -0
  14. package/content/hooks/git-safety.py +213 -0
  15. package/content/hooks/human-wait-check.py +167 -0
  16. package/content/hooks/subagent-model-policy.py +261 -0
  17. package/content/mods/.claude-plugin/marketplace.json +26 -0
  18. package/content/mods/plugins/codex-runs/.claude-plugin/plugin.json +6 -0
  19. package/content/mods/plugins/codex-runs/hooks/hooks.json +1 -0
  20. package/content/mods/plugins/codex-runs/hooks/progress.ts +130 -0
  21. package/content/mods/plugins/codex-runs/hooks/register.tsx +103 -0
  22. package/content/mods/plugins/codex-runs/tsconfig.json +4 -0
  23. package/content/mods/plugins/codex-runs/types/index.d.ts +19 -0
  24. package/content/mods/plugins/e2e-progress/.claude-plugin/plugin.json +6 -0
  25. package/content/mods/plugins/e2e-progress/hooks/hooks.json +1 -0
  26. package/content/mods/plugins/e2e-progress/hooks/progress.ts +152 -0
  27. package/content/mods/plugins/e2e-progress/hooks/register.tsx +442 -0
  28. package/content/mods/plugins/e2e-progress/tsconfig.json +3 -0
  29. package/content/mods/plugins/e2e-progress/types/index.d.ts +26 -0
  30. package/content/mods/plugins/status-line/.claude-plugin/plugin.json +6 -0
  31. package/content/mods/plugins/status-line/hooks/hooks.json +1 -0
  32. package/content/mods/plugins/status-line/hooks/line.ts +74 -0
  33. package/content/mods/plugins/status-line/hooks/register.tsx +141 -0
  34. package/content/mods/plugins/status-line/types/index.d.ts +5 -0
  35. package/content/mods/plugins/usage-line/.claude-plugin/plugin.json +6 -0
  36. package/content/mods/plugins/usage-line/hooks/codex.ts +52 -0
  37. package/content/mods/plugins/usage-line/hooks/format.ts +24 -0
  38. package/content/mods/plugins/usage-line/hooks/hooks.json +1 -0
  39. package/content/mods/plugins/usage-line/hooks/register.tsx +67 -0
  40. package/content/mods/plugins/usage-line/tsconfig.json +4 -0
  41. package/content/mods/plugins/usage-line/types/index.d.ts +5 -0
  42. package/content/output-styles/ste-clarity.md +131 -0
  43. package/content/rules/agent-sessions-wake-up.md +11 -0
  44. package/content/rules/app-styling.md +66 -0
  45. package/content/rules/comments.md +4 -1
  46. package/content/rules/lint-and-format.md +7 -5
  47. package/content/rules/nx-layout.md +53 -0
  48. package/content/rules/reactive-state.md +1 -1
  49. package/content/rules/styling.md +19 -10
  50. package/content/rules/subagent-models.md +42 -0
  51. package/content/rules/waiting-on-the-human.md +17 -0
  52. package/content/skills/agent-sessions/SKILL.md +100 -0
  53. package/content/skills/agent-sessions/agent-sessions.mjs +1420 -0
  54. package/content/skills/angular-patterns/SKILL.md +31 -7
  55. package/content/skills/api-source/SKILL.md +156 -0
  56. package/content/skills/app-testing/SKILL.md +141 -0
  57. package/content/skills/codex-subagent/SKILL.md +96 -0
  58. package/content/skills/codex-subagent/codex-agent.mjs +229 -0
  59. package/content/skills/codex-subagent/codex-limit.mjs +106 -0
  60. package/content/skills/design-exploration/SKILL.md +203 -0
  61. package/content/skills/design-exploration/check-story.mjs +139 -0
  62. package/content/skills/design-exploration/reference-check-and-notes.md +100 -0
  63. package/content/skills/design-exploration/reference-flows.md +38 -0
  64. package/content/skills/design-exploration/reference-inbox-and-mcp.md +54 -0
  65. package/content/skills/design-exploration/reference-order-and-design-system.md +120 -0
  66. package/content/skills/design-exploration/reference-products-and-sketches.md +250 -0
  67. package/content/skills/design-exploration/reference-shots.md +25 -0
  68. package/content/skills/design-exploration/shoot-template.mjs +61 -0
  69. package/content/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
  70. package/content/skills/domain-modeling/SKILL.md +71 -0
  71. package/content/skills/e2e-triage/SKILL.md +80 -0
  72. package/content/skills/figma-export/SKILL.md +16 -18
  73. package/content/skills/git-commit/SKILL.md +21 -7
  74. package/content/skills/git-flow/SKILL.md +87 -0
  75. package/content/skills/grill-with-docs/SKILL.md +13 -0
  76. package/content/skills/grilling/SKILL.md +52 -0
  77. package/content/skills/handoff/SKILL.md +29 -69
  78. package/content/skills/handoff/save.md +187 -0
  79. package/content/skills/query/SKILL.md +165 -70
  80. package/content/skills/report/SKILL.md +26 -0
  81. package/content/skills/rxjs-signals/SKILL.md +33 -4
  82. package/content/skills/sdk-docs/SKILL.md +50 -14
  83. package/content/skills/sdk-local-build/SKILL.md +26 -8
  84. package/content/skills/sdk-local-build/sdk-local-baseline.mjs +64 -0
  85. package/content/skills/sdk-source/SKILL.md +37 -34
  86. package/content/skills/sdk-update/SKILL.md +103 -0
  87. package/content/skills/story-styling/SKILL.md +12 -10
  88. package/content/skills/styleguide/SKILL.md +13 -8
  89. package/content/skills/styleguide/assets.md +54 -0
  90. package/content/skills/styleguide/changesets.md +17 -0
  91. package/content/skills/styleguide/file-structure.md +73 -0
  92. package/content/skills/styleguide/lint-rule-lookup.md +52 -0
  93. package/content/skills/styleguide/storybook-structure.md +25 -0
  94. package/content/skills/theming/SKILL.md +68 -43
  95. package/content/skills/timetrack/SKILL.md +324 -0
  96. package/content/skills/verify-in-app/SKILL.md +107 -0
  97. package/content/skills/verify-in-storybook/SKILL.md +1 -1
  98. package/migrations/list-state-query-form.md +20 -0
  99. package/migrations/nx-layout.md +29 -0
  100. package/migrations/sdk-components-over-hand-built-ui.md +27 -0
  101. package/migrations/search-query-field.md +52 -0
  102. package/migrations.json +39 -0
  103. package/package.json +19 -3
  104. package/src/index.js +99 -32
  105. package/src/index.js.map +1 -1
  106. package/src/lib/cli-args.d.ts +9 -0
  107. package/src/lib/cli-args.js +48 -0
  108. package/src/lib/cli-args.js.map +1 -0
  109. package/src/lib/commitlint.d.ts +10 -0
  110. package/src/lib/commitlint.js +51 -0
  111. package/src/lib/commitlint.js.map +1 -0
  112. package/src/lib/config.d.ts +64 -5
  113. package/src/lib/config.js +140 -11
  114. package/src/lib/config.js.map +1 -1
  115. package/src/lib/filter.d.ts +2 -0
  116. package/src/lib/filter.js +4 -4
  117. package/src/lib/filter.js.map +1 -1
  118. package/src/lib/frontmatter.d.ts +2 -0
  119. package/src/lib/frontmatter.js +33 -5
  120. package/src/lib/frontmatter.js.map +1 -1
  121. package/src/lib/git-flow/build.d.ts +35 -0
  122. package/src/lib/git-flow/build.js +24 -0
  123. package/src/lib/git-flow/build.js.map +1 -0
  124. package/src/lib/git-flow/config.d.ts +59 -0
  125. package/src/lib/git-flow/config.js +50 -0
  126. package/src/lib/git-flow/config.js.map +1 -0
  127. package/src/lib/git-flow/index.d.ts +6 -0
  128. package/src/lib/git-flow/index.js +23 -0
  129. package/src/lib/git-flow/index.js.map +1 -0
  130. package/src/lib/git-flow/parse.d.ts +49 -0
  131. package/src/lib/git-flow/parse.js +300 -0
  132. package/src/lib/git-flow/parse.js.map +1 -0
  133. package/src/lib/git-flow/rename.d.ts +24 -0
  134. package/src/lib/git-flow/rename.js +70 -0
  135. package/src/lib/git-flow/rename.js.map +1 -0
  136. package/src/lib/git-flow/start.d.ts +49 -0
  137. package/src/lib/git-flow/start.js +57 -0
  138. package/src/lib/git-flow/start.js.map +1 -0
  139. package/src/lib/git-flow/validate.d.ts +34 -0
  140. package/src/lib/git-flow/validate.js +72 -0
  141. package/src/lib/git-flow/validate.js.map +1 -0
  142. package/src/lib/git-flow-command.d.ts +4 -0
  143. package/src/lib/git-flow-command.js +165 -0
  144. package/src/lib/git-flow-command.js.map +1 -0
  145. package/src/lib/git-flow-repair.d.ts +17 -0
  146. package/src/lib/git-flow-repair.js +165 -0
  147. package/src/lib/git-flow-repair.js.map +1 -0
  148. package/src/lib/git-flow-start.d.ts +20 -0
  149. package/src/lib/git-flow-start.js +140 -0
  150. package/src/lib/git-flow-start.js.map +1 -0
  151. package/src/lib/git-test-env.fixtures.d.ts +11 -0
  152. package/src/lib/git-test-env.fixtures.js +31 -0
  153. package/src/lib/git-test-env.fixtures.js.map +1 -0
  154. package/src/lib/git.d.ts +64 -0
  155. package/src/lib/git.js +131 -0
  156. package/src/lib/git.js.map +1 -0
  157. package/src/lib/gitlab.d.ts +35 -0
  158. package/src/lib/gitlab.js +116 -0
  159. package/src/lib/gitlab.js.map +1 -0
  160. package/src/lib/index.d.ts +2 -0
  161. package/src/lib/index.js +26 -11
  162. package/src/lib/index.js.map +1 -1
  163. package/src/lib/migrate.js +8 -2
  164. package/src/lib/migrate.js.map +1 -1
  165. package/src/lib/output-style-command.d.ts +3 -0
  166. package/src/lib/output-style-command.js +69 -0
  167. package/src/lib/output-style-command.js.map +1 -0
  168. package/src/lib/output-style.d.ts +38 -0
  169. package/src/lib/output-style.js +134 -0
  170. package/src/lib/output-style.js.map +1 -0
  171. package/src/lib/owned-paths.js +8 -2
  172. package/src/lib/owned-paths.js.map +1 -1
  173. package/src/lib/package-runner.d.ts +4 -0
  174. package/src/lib/package-runner.js +86 -0
  175. package/src/lib/package-runner.js.map +1 -0
  176. package/src/lib/peer-path.d.ts +12 -0
  177. package/src/lib/peer-path.js +39 -0
  178. package/src/lib/peer-path.js.map +1 -0
  179. package/src/lib/plain-text.d.ts +9 -0
  180. package/src/lib/plain-text.js +22 -0
  181. package/src/lib/plain-text.js.map +1 -0
  182. package/src/lib/plan.d.ts +6 -6
  183. package/src/lib/plan.js +160 -38
  184. package/src/lib/plan.js.map +1 -1
  185. package/src/lib/prettier.d.ts +21 -0
  186. package/src/lib/prettier.js +51 -0
  187. package/src/lib/prettier.js.map +1 -0
  188. package/src/lib/prompt.d.ts +8 -0
  189. package/src/lib/prompt.js +35 -0
  190. package/src/lib/prompt.js.map +1 -0
  191. package/src/lib/render.d.ts +26 -2
  192. package/src/lib/render.js +45 -10
  193. package/src/lib/render.js.map +1 -1
  194. package/src/lib/report-command.d.ts +34 -0
  195. package/src/lib/report-command.js +316 -0
  196. package/src/lib/report-command.js.map +1 -0
  197. package/src/lib/sessions-command.d.ts +4 -0
  198. package/src/lib/sessions-command.js +16 -0
  199. package/src/lib/sessions-command.js.map +1 -0
  200. package/src/lib/sync.d.ts +1 -2
  201. package/src/lib/sync.js +37 -17
  202. package/src/lib/sync.js.map +1 -1
  203. package/src/lib/targets/agents-skills.js +1 -1
  204. package/src/lib/targets/agents-skills.js.map +1 -1
  205. package/src/lib/targets/claude-hooks.d.ts +2 -0
  206. package/src/lib/targets/claude-hooks.js +8 -3
  207. package/src/lib/targets/claude-hooks.js.map +1 -1
  208. package/src/lib/targets/claude-mods.d.ts +20 -0
  209. package/src/lib/targets/claude-mods.js +47 -0
  210. package/src/lib/targets/claude-mods.js.map +1 -0
  211. package/src/lib/targets/claude.js +2 -3
  212. package/src/lib/targets/claude.js.map +1 -1
  213. package/src/lib/targets/codex-hooks.js +4 -2
  214. package/src/lib/targets/codex-hooks.js.map +1 -1
  215. package/src/lib/targets/codex.js +4 -4
  216. package/src/lib/targets/codex.js.map +1 -1
  217. package/src/lib/targets/copilot.js +4 -4
  218. package/src/lib/targets/copilot.js.map +1 -1
  219. package/src/lib/targets/cursor.js +3 -3
  220. package/src/lib/targets/cursor.js.map +1 -1
  221. package/src/lib/targets/git-hooks.d.ts +25 -0
  222. package/src/lib/targets/git-hooks.js +71 -0
  223. package/src/lib/targets/git-hooks.js.map +1 -0
  224. package/src/lib/targets/hooks-shared.d.ts +29 -5
  225. package/src/lib/targets/hooks-shared.js +130 -36
  226. package/src/lib/targets/hooks-shared.js.map +1 -1
  227. package/src/lib/targets/mcp.d.ts +16 -0
  228. package/src/lib/targets/mcp.js +72 -0
  229. package/src/lib/targets/mcp.js.map +1 -0
  230. package/src/lib/targets/shared.d.ts +1 -9
  231. package/src/lib/targets/shared.js +4 -8
  232. package/src/lib/targets/shared.js.map +1 -1
  233. package/src/lib/timetrack-command.d.ts +11 -0
  234. package/src/lib/timetrack-command.js +1262 -0
  235. package/src/lib/timetrack-command.js.map +1 -0
  236. package/src/lib/timetrack-snapshot.d.ts +66 -0
  237. package/src/lib/timetrack-snapshot.js +146 -0
  238. package/src/lib/timetrack-snapshot.js.map +1 -0
  239. package/src/lib/timetrack.d.ts +607 -0
  240. package/src/lib/timetrack.js +285 -0
  241. package/src/lib/timetrack.js.map +1 -0
  242. package/content/skills/styleguide/STYLEGUIDE.md +0 -520
@@ -0,0 +1,324 @@
1
+ ---
2
+ name: timetrack
3
+ description: 'Reach Jira from any repo through the running Timetrack app: look up or file issues, add worklogs, read Tempo worklogs, Google Calendar, day evidence. Read whenever a task needs Jira data or a Jira write.'
4
+ kind: skill
5
+ scope: both
6
+ ---
7
+
8
+ # Reaching Jira through Timetrack
9
+
10
+ **No repository holds a Jira token.** The Timetrack desktop app holds one set of credentials
11
+ in this machine's keychain, and every repository asks it:
12
+
13
+ ```bash
14
+ {%packageRunner%} ethlete-agents timetrack status # is the app reachable, and what does it hold?
15
+ {%packageRunner%} ethlete-agents timetrack issue FIP-2177 # one issue: summary, type, parent, subject
16
+ {%packageRunner%} ethlete-agents timetrack search "password" # open issues of the picked projects
17
+ {%packageRunner%} ethlete-agents timetrack project # which project does this repo log into?
18
+ {%packageRunner%} ethlete-agents timetrack instance # the instance's own levels and custom fields
19
+ {%packageRunner%} ethlete-agents timetrack standins # work the user named that Jira does not hold yet
20
+ ```
21
+
22
+ Add `--json` to any of them when you need to read a field rather than a line.
23
+
24
+ **Every write waits for the user's approval in the app.** `create`, `log`, `edit`, `standins
25
+ --remove | --rename | --merge | --resolve | --split --force`, `sync --write`, `worklog --delete` and `resync` answer at
26
+ once with an approval id and write nothing yet. The user approves or rejects the request in
27
+ Timetrack; `approval <id>` reads the outcome:
28
+
29
+ ```bash
30
+ {%packageRunner%} ethlete-agents timetrack approval <id> # queued, approved (with the result), rejected or expired
31
+ {%packageRunner%} ethlete-agents timetrack approvals # every write that waits now: id, asker, op, asked at, what it writes
32
+ {%packageRunner%} ethlete-agents timetrack approval <id> --reject # reject one that waits, as the app's Reject button does
33
+ ```
34
+
35
+ A reject answers at once and writes nothing to Jira or Tempo; an item that no longer waits is
36
+ refused and stays as it is. Reject only what the user asked you to, or a write you queued by
37
+ mistake. **There is no approve command and never will be: only the user approves, in the app.**
38
+
39
+ `ask` does what the app's "Ask auto mode again" does, on any day, without moving the day on
40
+ screen. It answers at once with what it queued; the model runs on the user's machine, and its new
41
+ answer replaces the stored one. It writes nothing to Jira or Tempo itself: a ticket or a name the
42
+ answer proposes waits for the user's approval as auto mode's own does.
43
+
44
+ ```bash
45
+ {%packageRunner%} ethlete-agents timetrack ask --stand-in <id> [--day YYYY-MM-DD] # an open stand-in, ids from `standins`
46
+ {%packageRunner%} ethlete-agents timetrack ask --context <context-id> [--day YYYY-MM-DD] # an unnamed band, ids from `rows`
47
+ ```
48
+
49
+ A subject the app does not offer the press on is refused: an unknown or resolved stand-in, one
50
+ the day holds no time of, a context a rule names or the user named by hand.
51
+
52
+ Tell the user a request waits, then read `approval` once they say they decided - do not poll.
53
+ A request still waiting at the end of its day expires; ask again. Set `TIMETRACK_CLIENT` to name yourself in the
54
+ queue (Claude Code is named without it).
55
+
56
+ **Never ask the user for a Jira token, and never write one into a file.** If a command reports
57
+ that the app is not running, say so and ask the user to start it. That is the whole fix -
58
+ there is no per-repo fallback, by design: a secret copied into every checkout is a secret
59
+ nobody can rotate.
60
+
61
+ ## What each command is for
62
+
63
+ | Command | Use it when |
64
+ | ------------------------------------------ | ---------------------------------------------------------------------------- |
65
+ | `status` | Before anything else, when a Jira command failed and you need the cause |
66
+ | `instance` | A setup step needs the instance's levels or its branch-subject field |
67
+ | `issue <KEY>` | The user names a key and you need its summary, type or parent |
68
+ | `search [text]` | The user describes work but names no key |
69
+ | `project [path]` | You need the project a repository files into |
70
+ | `create --summary "…"` | The work has no ticket and the user asked for one |
71
+ | `log --issue <KEY> --minutes <n>` | The user asks to record time that nothing observed |
72
+ | `day [YYYY-MM-DD]` | You need the evidence a day holds, not a screenshot of it |
73
+ | `rows [YYYY-MM-DD]` | You need the rows the day drew, and the ids an edit names them by |
74
+ | `edit <row-id> …` | The user asks you to correct one row of a day |
75
+ | `rules` | You need to know why a band was named, or why it was not |
76
+ | `rules --repoint --from <KEY> --to <KEY>` | Every rule naming one issue must name another (plan; `--force` queues it) |
77
+ | `standins` | You need to know which work still waits for a ticket, and for how long |
78
+ | `standins --remove <id>` | A placeholder is wrong or too wide, and the user asked you to delete it |
79
+ | `standins --rename <id> --name <text>` | The name a placeholder carries is wrong, and the user asked you to fix it |
80
+ | `standins --merge <id> --into <id>` | Two placeholders are one piece of work, and the user asked you to join them |
81
+ | `standins --resolve <id> --issue <KEY>` | The user named the issue a placeholder is, or the one a resolved one is now |
82
+ | `naming [YYYY-MM-DD]` | A checkout was never offered a name and you need the step that stopped |
83
+ | `transcript [YYYY-MM-DD]` | You need what the user said in the day's calls (their microphone) |
84
+ | `resync [path…] [--replace]` | Checkouts got a project link and their agent session logs must be read again |
85
+ | `worklogs [from] [to]` | You need what the user already booked in Tempo over a span of days |
86
+ | `calendar [from] [to]` | You need the user's meetings and calendar entries over a span of days |
87
+ | `sync <YYYY-MM-DD>` | The user asks what a Tempo sync of a day would write, or asks to sync it |
88
+ | `worklog --delete <id> --day <YYYY-MM-DD>` | The user asked you to delete one of their own Tempo worklogs |
89
+ | `approval <id>` | A write you queued: whether the user approved it, and what it answered |
90
+ | `approvals` | You need what waits in the queue, from every caller |
91
+ | `approval <id> --reject` | The user asked you to drop a waiting write, or you queued one by mistake |
92
+ | `ask --stand-in <id>` / `--context <id>` | The user asks auto mode to look at a stand-in or an unnamed band again |
93
+
94
+ `naming` reports whether a Tempo token is stored, how far the worklog history got, and per checkout the
95
+ offer or the reason there is none (`already-named`, `no-project-link`, `no-history`,
96
+ `project-too-small`, `too-few-days`, `share-too-low`); read a `history` of `failed` or `no-token` first.
97
+ `rules` reads the settings that name a day's work - attribution rules, project links, background
98
+ projects, ruled applications - and holds no host, account or token, so it is safe to quote. A
99
+ rule that donates its time carries no issue key, and a `backgroundProjects` project keeps only the
100
+ minutes no other band claims. `resync` queues a re-read, `--replace` overwrites what the store holds
101
+ (after a parser fix).
102
+
103
+ `git-flow start` uses the same channel, so a branch is named from the real issue rather than
104
+ from a key you typed. Follow the repository's branch workflow when creating a branch.
105
+
106
+ ## Reading a day
107
+
108
+ The app's store is encrypted, so no shell reads a day off disk. `day` is the only way in:
109
+
110
+ ```bash
111
+ {%packageRunner%} ethlete-agents timetrack day # today: how many events, and of which kind
112
+ {%packageRunner%} ethlete-agents timetrack day 2026-09-10 --out /tmp/day.json
113
+ ```
114
+
115
+ A real day holds thousands of events, so **never print them**. Write them to a file with
116
+ `--out`, then read that file from a test or a script. Without `--out` the command reports
117
+ only the counts, which is what tells you whether a day holds the source you are looking for.
118
+
119
+ The file is JSON where every `at` (and `authoredAt`, `until`) is an ISO string. Read it back through `reviveCollectedEvents(parsed.events)` from `@ethlete/timetrack` before `streamDay`, which needs Dates.
120
+
121
+ `--out` writes a new file, readable by its owner alone. A destination that already exists is
122
+ refused until you pass `--overwrite`, and a symlink is never written through. The file holds the
123
+ day as it was observed - window titles, paths and messages - so delete it when you are done.
124
+
125
+ `transcript` prints what the app transcribed of the user's own microphone during the day's calls,
126
+ one 30-second chunk per line. It exists only where the user turned call transcription on, and the
127
+ app deletes a chunk after seven days. Read it only when the task needs what was said.
128
+
129
+ ```bash
130
+ npx ethlete-agents timetrack transcript [YYYY-MM-DD]
131
+ ```
132
+
133
+ ## Reading and correcting the rows a day drew
134
+
135
+ `day` answers what the collectors saw. `rows` answers what the app made of it - the bands on the
136
+ timeline, with the id every edit names a row by, the day's totals and its warnings.
137
+
138
+ ```bash
139
+ {%packageRunner%} ethlete-agents timetrack rows # today
140
+ {%packageRunner%} ethlete-agents timetrack rows 2026-09-10 --json
141
+ ```
142
+
143
+ `edit` changes one row. Pass exactly one change per call:
144
+
145
+ ```bash
146
+ {%packageRunner%} ethlete-agents timetrack edit 'ABC-1@2026-09-10T11:00:00.000Z' --day 2026-09-10 \
147
+ --from 2026-09-10T13:15:00Z --to 2026-09-10T17:00:00Z
148
+ {%packageRunner%} ethlete-agents timetrack edit '<row-id>' --issue ABC-2
149
+ {%packageRunner%} ethlete-agents timetrack edit '<row-id>' --state rejected
150
+ ```
151
+
152
+ A tidy-up of a day goes into one `--edits` file, so the user approves it once, never one `edit` call
153
+ per row. Each entry is `row` plus exactly one change,
154
+ named like the flags without the dashes (`from` with `to`, `issue`, `description`, `state`, `hide`,
155
+ `show`, `reset`); `hide`, `show` and `reset` take `true`. One invalid entry refuses the whole file.
156
+ Pass no row id and no change flag with `--edits`:
157
+
158
+ ```bash
159
+ {%packageRunner%} ethlete-agents timetrack edit --day 2026-09-10 --edits tidy.json
160
+ ```
161
+
162
+ ```json
163
+ [
164
+ { "row": "ABC-1@2026-09-10T11:00:00.000Z", "issue": "ABC-2" },
165
+ { "row": "<row-id>", "from": "2026-09-10T13:15:00Z", "to": "2026-09-10T17:00:00Z" }
166
+ ]
167
+ ```
168
+
169
+ `rows` moves the app's own review to that day, so the user sees what you read. An edit is queued
170
+ like every write; once approved, its result's `applied` says how many edits found their row. A
171
+ running day is re-cut on every collector tick, so read `rows` again rather than reusing an id from
172
+ minutes ago.
173
+
174
+ Each row line ends with its presence evidence (`desk N prompts M`: desk events and human prompts inside the
175
+ row). Name (book) a row between 00:00 and 06:00 only when it has desk events; prompts alone do not count.
176
+
177
+ An edit may correct a row's times, its name, its note and whether it syncs. It may not split, merge
178
+ or delete one - restructuring a day is the user's own decision, made on the screen.
179
+
180
+ ### Tidying a day
181
+
182
+ The user's own rules for a tidy-up:
183
+
184
+ - **Project work wins.** On a day with project work, background time (the SDK ticket) between 08:00
185
+ and 20:00 goes to the nearest project block. The background ticket takes only time with no project
186
+ signal.
187
+ - **A day books about 8 h, a week about 40 h.** More means agent time got booked: cut it back to the
188
+ rows with desk evidence. Ask the user before you go past either.
189
+ - The ethlete-sdk repo's `plans/timetrack/booking-lessons.md` holds the rest: lessons 2 (a meeting
190
+ ticket is never a filler), 5 (commits alone are not work), 6 (a weekend is one coarse row), 7 (the
191
+ lunch gap) and 8 (an even split is marked as an estimate). Read it before a tidy-up.
192
+
193
+ ## Work with no ticket yet
194
+
195
+ A **stand-in** is a name the user gave work that Jira does not hold yet. It takes bands across
196
+ days and checkouts and books nothing. `standins` lists the open ones, oldest first (`--json`
197
+ adds the resolved ones).
198
+
199
+ **Never open or resolve a stand-in without the user asking.** The name is the user's own word for
200
+ their work, and the app is the only place they give it. If the user asks for a ticket, use
201
+ `create` and tell them to resolve the stand-in in Timetrack.
202
+
203
+ ```bash
204
+ {%packageRunner%} ethlete-agents timetrack standins --rename <id> --name '<text>' # only the name is wrong
205
+ {%packageRunner%} ethlete-agents timetrack standins --resolve <id> --issue <KEY> # the user named the issue
206
+ {%packageRunner%} ethlete-agents timetrack standins --merge <id> --into <id> # two are one piece of work
207
+ {%packageRunner%} ethlete-agents timetrack standins --split <id> # plan only; add --force to queue
208
+ {%packageRunner%} ethlete-agents timetrack standins --remove <id>
209
+ ```
210
+
211
+ - `--resolve` moves every band on every day the placeholder held to the key, and writes nothing to
212
+ Tempo, so a day already booked keeps the old key there. An unknown key or placeholder errors
213
+ and nothing waits.
214
+ - `--split` re-cuts a record that covers a whole checkout into one record per directory, from the
215
+ commits the checkout's own `user.email` authored (`--author <email>` overrides). Without
216
+ `--force` it prints the plan; `--paths <dir>,<dir>` picks the pieces, `--claim <dir>` gives
217
+ the days without a commit to one directory. The record must name the checkout it was opened for.
218
+ - **`--remove` strands every day but today** as unnamed. It refuses such a delete and lists the
219
+ days; ask the user before you pass `--force`, and tell them which days they lose.
220
+
221
+ ## What Tempo already holds
222
+
223
+ `worklogs` reads the user's own Tempo worklogs straight from Tempo, whoever wrote them. It is
224
+ read-only, and the app keeps the Tempo token:
225
+
226
+ ```bash
227
+ {%packageRunner%} ethlete-agents timetrack worklogs # the last 7 days
228
+ {%packageRunner%} ethlete-agents timetrack worklogs 2026-09-01 2026-09-24 # both days included
229
+ {%packageRunner%} ethlete-agents timetrack worklogs 2026-09-01 2026-09-24 --json
230
+ ```
231
+
232
+ Without `--json` it prints one line per booked day: the total, then minutes per issue. `--json`
233
+ answers each worklog with its day, `startTime` as `HH:MM`, `durationMs`, `issueKey` and
234
+ description. A span is at most 92 days. The descriptions are the user's own words, so quote them
235
+ only when the task needs them.
236
+
237
+ ## What the calendar holds
238
+
239
+ `calendar` reads the Google calendars the app watches, straight from Google and read-only. The app
240
+ keeps the Google token:
241
+
242
+ ```bash
243
+ {%packageRunner%} ethlete-agents timetrack calendar # the last 7 days
244
+ {%packageRunner%} ethlete-agents timetrack calendar 2026-09-01 2026-09-24 # both days included
245
+ {%packageRunner%} ethlete-agents timetrack calendar 2026-09-01 2026-09-24 --json
246
+ ```
247
+
248
+ Without `--json` it prints each day with its meeting hours, then one line per entry: start, minutes,
249
+ title, and the user's answer where it is not a yes. All-day and declined entries are listed but not
250
+ counted. `--json` answers each entry with `calendarId`, `day`, `startMs`, `endMs`, `allDay`, `title`,
251
+ `attendeeCount` and `response`. A span is at most 92 days. Titles come from whoever sent the
252
+ invitation, so quote them only when the task needs them.
253
+
254
+ ## Syncing a day to Tempo
255
+
256
+ `sync` plans a day exactly as the app's Sync page does, and writes nothing:
257
+
258
+ ```bash
259
+ {%packageRunner%} ethlete-agents timetrack sync 2026-09-07
260
+ {%packageRunner%} ethlete-agents timetrack sync 2026-09-07 --json
261
+ ```
262
+
263
+ It prints every create, update and delete with its issue, local time, minutes, description and
264
+ reason; the rows it holds back (Tempo refuses an empty description); how many are unchanged or still
265
+ awaiting review; keys Jira does not know; and the foreign worklogs it never touches. The first line
266
+ carries a short **plan hash** over the write set.
267
+
268
+ Writing is a Tempo write, so it follows one rule without exception: **show the user the rows, and
269
+ write only after they confirmed those rows in this conversation.** Then pass the hash the read
270
+ printed:
271
+
272
+ ```bash
273
+ {%packageRunner%} ethlete-agents timetrack sync 2026-09-07 --write --plan 1a2b3c4d
274
+ ```
275
+
276
+ "Approve all" never includes it. On approval the app plans the day again and refuses when the hash differs -
277
+ the day changed since the user saw it, so read it again and ask again. `--write` without `--plan`
278
+ is refused at once. Once approved, `approval <id>` prints each row as `written`, `blocked`,
279
+ `skipped` or `failed`, with the worklog id or the error, and exits non-zero while a row did not
280
+ land. Never re-run the write to retry: a plan read
281
+ straight after a write can miss what Tempo just took and log it twice. The Sync page shows the run
282
+ and retries from its own plan. A "written, but not recorded" line means Tempo holds worklogs the
283
+ app no longer owns; tell the user to delete them in Tempo before this day is written again.
284
+
285
+ Both reads and writes move the app's Day screen to that day, as `rows` and `edit` do.
286
+
287
+ ## Deleting a Tempo worklog
288
+
289
+ `worklog --delete` deletes one of the user's own Tempo worklogs. Both flags are required; read the
290
+ id and its day off `worklogs --json`:
291
+
292
+ ```bash
293
+ {%packageRunner%} ethlete-agents timetrack worklog --delete 98765 --day 2026-09-07
294
+ ```
295
+
296
+ **Name the worklog to the user, and delete only after they confirmed that one in this conversation.**
297
+ The app refuses an id that is not among the account's own worklogs on that day. Once approved,
298
+ `approval <id>` answers what went, and the next `sync` of the day plans from what Tempo holds.
299
+
300
+ ## Writes
301
+
302
+ Writes to Jira or Tempo need the user to have asked for them in this conversation (`sync --write` and
303
+ `worklog --delete` are above):
304
+
305
+ ```bash
306
+ {%packageRunner%} ethlete-agents timetrack create --summary "Reset password mail is not sent" --project FIP
307
+ {%packageRunner%} ethlete-agents timetrack log --issue FIP-2177 --minutes 45 --description "pairing call"
308
+ ```
309
+
310
+ - **`create`** files the issue, once approved, with the instance's own ticket settings - its type, its parent
311
+ rule and its subject field all come from the app, so the ticket is shaped like every other.
312
+ `--project` is needed unless the app holds exactly one picked project.
313
+ - **`log`** adds a row to the day in Timetrack. It is **not** a Tempo entry: the user reviews
314
+ the day and syncs it, which is what keeps an agent's row from double-booking against the
315
+ hours the day already observed. `--at` places it - an ISO instant, or a local `YYYY-MM-DD` or `HH:MM` (today); without one it starts now.
316
+
317
+ ## What the app decides, not you
318
+
319
+ - **The projects.** The user picked them in Timetrack. `search` is scoped to them, and
320
+ `--project <KEY>` is how you look outside.
321
+ - **The branch subject.** `issue` returns `subject` when the instance's subject field is set on
322
+ that issue. Prefer it over the summary; the summary is a paraphrase.
323
+ - **The instance.** Its host, its issue types and its hierarchy are settings in the app. Do not
324
+ hardcode any of them in this repo.
@@ -0,0 +1,107 @@
1
+ ---
2
+ name: verify-in-app
3
+ description: Verify a UI change in the running app by driving it headlessly with Playwright - screenshots, computed styles, pointer and cursor state - and prove a fix with a test that fails without it. Use whenever you change a view, a component or its styles and need to confirm what renders, not just that it compiles.
4
+ kind: skill
5
+ scope: consumer
6
+ ---
7
+
8
+ # Verify a UI change in the running app
9
+
10
+ A build that passes says nothing about what the user sees. Serve the app, drive the real page in
11
+ a headless browser, and assert on the rendered DOM and computed styles.
12
+
13
+ ## 1. Serve the app
14
+
15
+ It may already be running. Check before starting a second instance - the dev server prompts for
16
+ another port and hangs:
17
+
18
+ ```bash
19
+ curl -s -o /dev/null -w "%{http_code}" http://localhost:4200/
20
+ ```
21
+
22
+ - `200` → it is up.
23
+ - anything else → start it in the background and poll the curl above until it answers (a cold
24
+ build can take a minute):
25
+
26
+ ```bash
27
+ npx nx serve <app>
28
+ ```
29
+
30
+ The port and any proxy config live in the app's `project.json` `serve` target. A view behind a
31
+ login needs a session: log in once through the form in the script, or seed the token storage the
32
+ app reads before `page.goto`.
33
+
34
+ ## 2. Drive it with Playwright
35
+
36
+ Use the `playwright` package from the repo's `node_modules`. Write the script in a scratch
37
+ directory outside the repo and run it with `node`:
38
+
39
+ ```js
40
+ import { createRequire } from 'node:module';
41
+
42
+ const require = createRequire(`${process.cwd()}/`);
43
+ const { chromium } = require('playwright');
44
+
45
+ const browser = await chromium.launch();
46
+ const page = await browser.newPage({ viewport: { width: 1280, height: 900 } });
47
+
48
+ await page.goto('http://localhost:4200/players?search=mul', { waitUntil: 'domcontentloaded' });
49
+ await page.waitForSelector('.players-table', { state: 'attached' });
50
+
51
+ const state = await page.$eval('.players-table', (el) => {
52
+ const cs = getComputedStyle(el);
53
+ return { display: cs.display, color: cs.color, rows: el.querySelectorAll('tr').length };
54
+ });
55
+ console.log(JSON.stringify(state));
56
+
57
+ await page.screenshot({ path: '/tmp/players.png', fullPage: true });
58
+ await browser.close();
59
+ ```
60
+
61
+ Then read the screenshot back and look at it.
62
+
63
+ - **`playwright` is CommonJS** - resolve it with `createRequire`; a named ESM import fails.
64
+ - **`waitUntil: 'domcontentloaded'`, never `networkidle`** - the dev server's live-reload socket
65
+ and any polling query keep the network busy forever.
66
+ - **`waitForSelector` waits for visible by default.** Pass `{ state: 'attached' }` for anything
67
+ correctly hidden (`opacity: 0`, collapsed, `inert`).
68
+ - **Overlays render at the end of `<body>`,** not inside the view that opened them. Query them from
69
+ `page`, not from the view's element.
70
+ - After a click that starts a transition, wait out its duration before reading final styles.
71
+
72
+ ## 3. Pointer and cursor state
73
+
74
+ `getComputedStyle(el).cursor` reports what the stylesheet says, not what the pointer gets - an
75
+ overlay, a backdrop or `pointer-events: none` in between changes the answer. Ask the page which
76
+ element is under the point instead:
77
+
78
+ ```js
79
+ const hit = await page.evaluate(
80
+ ([x, y]) => {
81
+ const el = document.elementFromPoint(x, y);
82
+ return el && { tag: el.tagName, class: el.className, cursor: getComputedStyle(el).cursor };
83
+ },
84
+ [640, 300],
85
+ );
86
+ ```
87
+
88
+ `elementFromPoint` returns `null` outside the viewport, so use a viewport tall enough for the
89
+ point, or scroll the target into view first. Hover with `page.mouse.move(x, y)` before reading
90
+ `:hover` styles.
91
+
92
+ ## 4. Prove a fix with a test that bites
93
+
94
+ A screenshot shows the fix once; a test keeps it. For a bug fix, write the spec (a unit spec for
95
+ logic, or a Playwright e2e spec where the app has one), then:
96
+
97
+ 1. run it against the fix - it passes;
98
+ 2. revert the fix (stash it, or comment the one line out) and run it again - it **must fail**;
99
+ 3. restore the fix.
100
+
101
+ A test that passes both ways asserts on the wrong thing. Fix the test before you call the change
102
+ done.
103
+
104
+ ## 5. Report
105
+
106
+ Say what you drove (URL, clicks, viewport) and what you observed, with the numbers you read. Keep
107
+ the script and screenshots in the scratch directory, not the repo.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: verify-in-storybook
3
- description: Visually/behaviorally verify a component change by driving its Storybook story headlessly with Playwright. Use whenever you change a UI component and need to confirm the rendered DOM, computed styles, animations, or interactions actually work - not just that it compiles.
3
+ description: Verify a component change by driving its Storybook story headlessly with Playwright. Use whenever you change a UI component and must confirm rendered DOM, computed styles, animations or interactions.
4
4
  kind: skill
5
5
  scope: consumer
6
6
  vars: [storybookUrl, storybookStartCommand]
@@ -0,0 +1,20 @@
1
+ # Lists with URL state use `defineQueryForm`
2
+
3
+ The `ethlete-query` skill now says every filtered, searched, sorted or paged list uses
4
+ `defineQueryForm`, not `injectQueryParams()`, `router.navigate` and a draft signal wired by hand.
5
+ Moving a list is a rewrite of its component, so it happens when someone next edits that list. The
6
+ skill says how to keep the old URL working when you do.
7
+
8
+ No code changes in this task. To see how many components still wire their params by hand, count
9
+ the files that both read and write query params:
10
+
11
+ ```bash
12
+ grep -rlE 'injectQueryParams?\(|queryParamMap|snapshot\.queryParams|\.queryParams\.(pipe|subscribe)\(' apps libs --include='*.ts' |
13
+ xargs grep -lE '\bqueryParams(Handling)?\b' | wc -l
14
+ ```
15
+
16
+ ## Done when
17
+
18
+ - The count is in your final message, or in the report you give the developer.
19
+
20
+ Then delete this task file.
@@ -0,0 +1,29 @@
1
+ # Compare the workspace with the Nx layout rule
2
+
3
+ `@ethlete/agent-rules` now ships an `nx-layout` rule for Nx workspaces: thin apps, feature code in
4
+ one `libs/domain/<app>` lib per app with a folder per feature, shared `queries`, `types`, `uikit`, `theme` and `env` libs, aliases that
5
+ mirror the path, and one `scope:*` tag per project. New code follows it.
6
+
7
+ This is a recommendation, not a rewrite. Moving projects changes import paths, project names, tags
8
+ and CI caches across the whole repo, and the rule itself says not to restructure an existing
9
+ workspace unless the team asks for it.
10
+
11
+ ## What to decide
12
+
13
+ 1. Read the rule (in `AGENTS.md`, or under `.claude/rules/ethlete/`). If it is missing, run
14
+ `ethlete-agents sync` with this repo's package manager (`yarn`, `pnpm exec` or `npx`).
15
+ 2. List where the workspace deviates: feature code inside `apps/`, queries or themes inside an app,
16
+ `feature/ui/data-access/util` folders, aliases that do not mirror the path, missing `scope:*` tags.
17
+ 3. Decide per deviation: move it now, move it when that area is next touched, or keep it.
18
+ 4. Keep what you decided where an agent reads it, so it stops flagging it: in `AGENTS.md` above the
19
+ `<!-- ethlete:agent-rules:start -->` line or below `<!-- ethlete:agent-rules:end -->`, or in the
20
+ repo's `CONTEXT.md` or an ADR. Never between the two markers: `ethlete-agents sync` rewrites that
21
+ block and drops the edit. If `AGENTS.md` holds nothing but the block, add the decisions above it.
22
+
23
+ An agent may prepare the list in step 2. It must not move a project without that decision.
24
+
25
+ ## Done when
26
+
27
+ - Each deviation from step 2 has a decision, recorded as step 4 says.
28
+
29
+ Then delete this task file.
@@ -0,0 +1,27 @@
1
+ # Use the SDK component where one exists
2
+
3
+ The `ethlete-sdk-docs` skill now lists every component domain, with a table that maps common needs
4
+ to them ("Check this list before you build any UI by hand"). Apps built their own bar charts,
5
+ avatars and progress bars because the old list did not name them. Replacing one restyles its view,
6
+ so it happens when someone next edits that view, not in this task.
7
+
8
+ When you do replace one, check every feature of the hand-built one against the SDK component's
9
+ inputs, slots and `--et-*` tokens first, and keep the hand-built one where a feature has no
10
+ counterpart. Known gaps:
11
+
12
+ - `et-bar-chart` renders every category label and only truncates it, and has no slot for a title,
13
+ a note or an empty state.
14
+ - `et-avatar` derives initials from `name` only, and takes its colours from a colour theme only.
15
+
16
+ No code changes in this task. To count the candidates, skipping hits that already use an `et-`
17
+ element:
18
+
19
+ ```bash
20
+ grep -rlE 'bar-?chart|bar-?graph|avatar|initials|progress-?bar' apps libs --include='*.html' --include='*.ts' | xargs grep -LE '<et-(bar-chart|avatar|progress-bar)' | wc -l
21
+ ```
22
+
23
+ ## Done when
24
+
25
+ - The count is in your final message, or in the report you give the developer.
26
+
27
+ Then delete this task file.
@@ -0,0 +1,52 @@
1
+ # Replace a hand-debounced search with `searchQueryField`
2
+
3
+ The earlier query guidance said there was no built-in debounce and to debounce at the input. So a
4
+ search box that feeds a query was debounced by hand: `debounceTime` on a stream, a `setTimeout`, or a
5
+ debounced copy of the input signal. `searchQueryField()` debounces by itself (300ms), and applies a
6
+ cleared input at once.
7
+
8
+ ## Before you start
9
+
10
+ `et update` regenerates the skills when it moves `@ethlete/agent-rules`. If
11
+ `.agents/skills/ethlete-query/SKILL.md` does not mention `searchQueryField`, run
12
+ `ethlete-agents sync` with this repo's package manager (`yarn`, `pnpm exec` or `npx`) first.
13
+
14
+ ## Find the call sites
15
+
16
+ ```bash
17
+ grep -rnE 'debounceTime\(|debounce\(' apps libs --include='*.ts'
18
+ grep -rnE 'setTimeout\(' apps libs --include='*.ts'
19
+ ```
20
+
21
+ A call site is in scope when the debounced value ends up in the args of a query.
22
+
23
+ ## What to change
24
+
25
+ 1. Add a `search: searchQueryField()` field to the list's `defineQueryForm`, or declare a form with
26
+ that one field.
27
+ 2. Call `.observe()` on it. Keep the URL behaviour the old search had. If it did not write the
28
+ URL, as a search inside a dialog, pass `{ writeToQueryParams: false, syncOnNavigation: false }`.
29
+ `writeToQueryParams: false` alone stops the writes only: the form still reads the page's own
30
+ params, such as `page`.
31
+ 3. Read `this.qf.value().search` in `withArgs`, and bind the input with `[formField]="qf.fields.search"`.
32
+ 4. Delete the debounce, the subject or timer, and the intermediate signal.
33
+ 5. Pass `debounce` to the field when the old delay was deliberately different from 300ms.
34
+
35
+ If the search text is part of list state the component syncs to the URL by hand, skip the call
36
+ site: it moves with the rest of the list to `defineQueryForm` when that list is next edited.
37
+
38
+ ## Leave these alone
39
+
40
+ - A debounce whose value never reaches a query: resize and scroll handlers, autosave, analytics.
41
+ - An SDK control that takes a search input of its own.
42
+
43
+ ## Done when
44
+
45
+ - No hit of the greps above feeds a query any more, apart from the hand-synced lists you skipped.
46
+ Your final message names each skipped one.
47
+ - The type check, lint and tests pass for every project you changed.
48
+
49
+ Then delete this task file.
50
+
51
+ The guide the `Docs` line at the top of this file links (`/query/query-forms` on the SDK docs site)
52
+ has the field creators and their options.
@@ -0,0 +1,39 @@
1
+ {
2
+ "migrations": [
3
+ {
4
+ "name": "list-state-query-form",
5
+ "version": "0.1.0-next.17",
6
+ "kind": "manual",
7
+ "level": "optional",
8
+ "description": "Lists that sync their params to the URL by hand move to defineQueryForm when they are next edited.",
9
+ "instructions": "./migrations/list-state-query-form.md",
10
+ "docs": "/query/query-forms"
11
+ },
12
+ {
13
+ "name": "search-query-field",
14
+ "version": "0.1.0-next.17",
15
+ "kind": "assisted",
16
+ "level": "optional",
17
+ "description": "A hand-debounced search that feeds a query moves to searchQueryField.",
18
+ "instructions": "./migrations/search-query-field.md",
19
+ "docs": "/query/query-forms"
20
+ },
21
+ {
22
+ "name": "sdk-components-over-hand-built-ui",
23
+ "version": "0.1.0-next.17",
24
+ "kind": "manual",
25
+ "level": "optional",
26
+ "description": "Hand-built bar charts, avatars and progress bars move to the SDK components when their view is next edited.",
27
+ "instructions": "./migrations/sdk-components-over-hand-built-ui.md",
28
+ "docs": "/components/"
29
+ },
30
+ {
31
+ "name": "nx-layout",
32
+ "version": "0.1.0-next.17",
33
+ "kind": "manual",
34
+ "level": "optional",
35
+ "description": "Compare the workspace with the Nx layout rule, and decide whether any project moves.",
36
+ "instructions": "./migrations/nx-layout.md"
37
+ }
38
+ ]
39
+ }
package/package.json CHANGED
@@ -1,15 +1,31 @@
1
1
  {
2
2
  "name": "@ethlete/agent-rules",
3
- "version": "0.1.0-next.5",
3
+ "version": "0.1.0-next.50",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://github.com/ethlete-io/ethdk",
7
+ "directory": "libs/agent-rules"
8
+ },
4
9
  "license": "MIT",
5
10
  "type": "commonjs",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./src/index.d.ts",
14
+ "default": "./src/index.js"
15
+ },
16
+ "./git-flow": {
17
+ "types": "./src/lib/git-flow/index.d.ts",
18
+ "default": "./src/lib/git-flow/index.js"
19
+ },
20
+ "./package.json": "./package.json"
21
+ },
6
22
  "main": "./src/index.js",
7
23
  "typings": "./src/index.d.ts",
8
24
  "bin": {
9
25
  "ethlete-agents": "./src/index.js"
10
26
  },
11
- "peerDependencies": {
12
- "tslib": "2.8.1"
27
+ "ethlete": {
28
+ "migrations": "./migrations.json"
13
29
  },
14
30
  "types": "./src/index.d.ts"
15
31
  }