@fiftth/fiftth-cli 1.0.1 → 1.1.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 (116) hide show
  1. package/.fiftthnexus/.github/workflows/copilot-orchestrator.yml +78 -0
  2. package/.fiftthnexus/actions/Dockerfile +34 -0
  3. package/.fiftthnexus/actions/copilot-agent.mjs +269 -0
  4. package/.fiftthnexus/actions/package.json +8 -0
  5. package/.fiftthnexus/orchestrator.ts +2304 -0
  6. package/.fiftthnexus/skills/env-implement-prompt.md +65 -0
  7. package/.fiftthnexus/skills/env-plan-prompt.md +33 -0
  8. package/.fiftthnexus/skills/env-review-prompt.md +61 -0
  9. package/.fiftthnexus/skills/grill-me.md +9 -0
  10. package/.fiftthnexus/skills/prd-to-issues.md +150 -0
  11. package/.fiftthnexus/skills/write-prd.md +70 -0
  12. package/README.md +216 -25
  13. package/dist/api/client.d.ts +6 -0
  14. package/dist/api/client.d.ts.map +1 -1
  15. package/dist/api/client.js +13 -2
  16. package/dist/api/client.js.map +1 -1
  17. package/dist/commands/checkout.d.ts +6 -1
  18. package/dist/commands/checkout.d.ts.map +1 -1
  19. package/dist/commands/checkout.js +415 -44
  20. package/dist/commands/checkout.js.map +1 -1
  21. package/dist/commands/login.d.ts +0 -2
  22. package/dist/commands/login.d.ts.map +1 -1
  23. package/dist/commands/login.js +83 -32
  24. package/dist/commands/login.js.map +1 -1
  25. package/dist/commands/model.d.ts +2 -0
  26. package/dist/commands/model.d.ts.map +1 -0
  27. package/dist/commands/model.js +32 -0
  28. package/dist/commands/model.js.map +1 -0
  29. package/dist/commands/planningContext.d.ts +6 -0
  30. package/dist/commands/planningContext.d.ts.map +1 -0
  31. package/dist/commands/planningContext.js +91 -0
  32. package/dist/commands/planningContext.js.map +1 -0
  33. package/dist/commands/repo.d.ts.map +1 -1
  34. package/dist/commands/repo.js +38 -15
  35. package/dist/commands/repo.js.map +1 -1
  36. package/dist/commands/skills.d.ts +2 -0
  37. package/dist/commands/skills.d.ts.map +1 -0
  38. package/dist/commands/skills.js +123 -0
  39. package/dist/commands/skills.js.map +1 -0
  40. package/dist/commands/use.d.ts +1 -5
  41. package/dist/commands/use.d.ts.map +1 -1
  42. package/dist/commands/use.js +63 -48
  43. package/dist/commands/use.js.map +1 -1
  44. package/dist/index.js +86 -27
  45. package/dist/index.js.map +1 -1
  46. package/dist/services/nexusService.d.ts +30 -0
  47. package/dist/services/nexusService.d.ts.map +1 -0
  48. package/dist/services/nexusService.js +188 -0
  49. package/dist/services/nexusService.js.map +1 -0
  50. package/dist/services/prdService.d.ts +12 -0
  51. package/dist/services/prdService.d.ts.map +1 -0
  52. package/dist/services/prdService.js +103 -0
  53. package/dist/services/prdService.js.map +1 -0
  54. package/dist/services/taskSelection.d.ts +10 -0
  55. package/dist/services/taskSelection.d.ts.map +1 -0
  56. package/dist/services/taskSelection.js +112 -0
  57. package/dist/services/taskSelection.js.map +1 -0
  58. package/dist/services/taskService.d.ts +23 -1
  59. package/dist/services/taskService.d.ts.map +1 -1
  60. package/dist/services/taskService.js +118 -12
  61. package/dist/services/taskService.js.map +1 -1
  62. package/dist/utils/config.d.ts +2 -0
  63. package/dist/utils/config.d.ts.map +1 -1
  64. package/dist/utils/config.js +20 -3
  65. package/dist/utils/config.js.map +1 -1
  66. package/dist/utils/dashboard.d.ts +65 -0
  67. package/dist/utils/dashboard.d.ts.map +1 -0
  68. package/dist/utils/dashboard.js +205 -0
  69. package/dist/utils/dashboard.js.map +1 -0
  70. package/dist/utils/models.d.ts +14 -0
  71. package/dist/utils/models.d.ts.map +1 -0
  72. package/dist/utils/models.js +89 -0
  73. package/dist/utils/models.js.map +1 -0
  74. package/dist/utils/ui.d.ts +6 -0
  75. package/dist/utils/ui.d.ts.map +1 -1
  76. package/dist/utils/ui.js +22 -1
  77. package/dist/utils/ui.js.map +1 -1
  78. package/dist/utils/version.d.ts +4 -0
  79. package/dist/utils/version.d.ts.map +1 -0
  80. package/dist/utils/version.js +26 -0
  81. package/dist/utils/version.js.map +1 -0
  82. package/package.json +9 -4
  83. package/.github/workflows/publish-npm.yml +0 -62
  84. package/dist/commands/tasks.d.ts +0 -2
  85. package/dist/commands/tasks.d.ts.map +0 -1
  86. package/dist/commands/tasks.js +0 -69
  87. package/dist/commands/tasks.js.map +0 -1
  88. package/dist/context/runtimeContext.d.ts +0 -14
  89. package/dist/context/runtimeContext.d.ts.map +0 -1
  90. package/dist/context/runtimeContext.js +0 -21
  91. package/dist/context/runtimeContext.js.map +0 -1
  92. package/dist/services/taskContext.d.ts +0 -14
  93. package/dist/services/taskContext.d.ts.map +0 -1
  94. package/dist/services/taskContext.js +0 -15
  95. package/dist/services/taskContext.js.map +0 -1
  96. package/dist/utils/api.d.ts +0 -10
  97. package/dist/utils/api.d.ts.map +0 -1
  98. package/dist/utils/api.js +0 -25
  99. package/dist/utils/api.js.map +0 -1
  100. package/src/api/client.ts +0 -31
  101. package/src/commands/checkout.ts +0 -101
  102. package/src/commands/login.ts +0 -145
  103. package/src/commands/repo.ts +0 -113
  104. package/src/commands/tasks.ts +0 -86
  105. package/src/commands/use.ts +0 -149
  106. package/src/config/configService.ts +0 -56
  107. package/src/context/runtimeContext.ts +0 -42
  108. package/src/git/gitService.ts +0 -29
  109. package/src/index.ts +0 -133
  110. package/src/services/taskContext.ts +0 -32
  111. package/src/services/taskService.ts +0 -53
  112. package/src/utils/api.ts +0 -41
  113. package/src/utils/config.ts +0 -48
  114. package/src/utils/ui.ts +0 -46
  115. package/tsconfig.json +0 -18
  116. package/vitest.config.ts +0 -8
package/README.md CHANGED
@@ -1,29 +1,112 @@
1
1
  # Fiftth CLI
2
2
 
3
3
  ```text
4
- ███████╗██╗███████╗████████╗████████╗██╗ ██╗
5
- ██╔════╝██║██╔════╝╚══██╔══╝╚══██╔══╝██║ ██║
6
- █████╗ ██║█████╗ ██║ ██║ ███████║
7
- ██╔══╝ ██║██╔══╝ ██║ ██║ ██╔══██║
8
- ██║ ██║██║ ██║ ██║ ██║ ██║
9
- ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝
4
+ . . . ....
10
5
  ```
11
6
 
12
7
  The official CLI for [Fiftth](https://fiftth.com).
13
8
 
14
- Built for humans, AI agents, and CI/CD pipelines.
15
- The "fiftth" symphony of Software Engineering. Start orchestrating your engineering workflows.
9
+ Fiftth CLI is the entrypoint for the full Fiftth execution flow: authenticate, select a workspace, register local repositories, validate planning context, recover task-linked branches, and launch Nexus orchestration for agent execution.
16
10
 
17
- Fiftth CLI helps your team authenticate, select a workspace, sync tasks, and checkout the right branch for each task-linked repository.
11
+ ## How The Flow Works
18
12
 
19
- ## Features
13
+ ### . . . .... 1. Shell setup
20
14
 
21
- - Command aliases: `fiftth` and `ftt`
15
+ You install the CLI, authenticate with Fiftth, select a workspace, choose a default model, and register the local repositories that belong to your tasks.
16
+
17
+ This can be done from any directory. The CLI persists its own configuration and repository mappings, so `ftt checkout` does not require you to be inside a git repository.
18
+
19
+ ### . . . .... 2. Planning flow
20
+
21
+ Inside a repository, `ftt planning-context` validates whether the current repo is actually linked to the selected task before you create or refine a PRD.
22
+
23
+ The typical planning sequence is:
24
+
25
+ 1. `grill-me` to pressure-test the design
26
+ 2. `write-prd` to produce the PRD
27
+ 3. `prd-to-issues` to split the PRD into runnable GitHub issues with priority and dependency metadata
28
+
29
+ ### . . . .... 3. Checkout flow
30
+
31
+ ```text
32
+ ftt checkout
33
+ |
34
+ v
35
+ +-----------------------+
36
+ | resolve active task |
37
+ +-----------------------+
38
+ |
39
+ v
40
+ +-----------------------+
41
+ | load mapped repos |
42
+ +-----------------------+
43
+ |
44
+ v
45
+ +-----------------------+
46
+ | validate repo paths |
47
+ | git state + PRDs |
48
+ +-----------------------+
49
+ |
50
+ v
51
+ +-----------------------+
52
+ | move task to |
53
+ | IN_PROGRESS |
54
+ +-----------------------+
55
+ |
56
+ v
57
+ +-----------------------+
58
+ | wait for target |
59
+ | branches |
60
+ +-----------------------+
61
+ |
62
+ v
63
+ +-----------------------+
64
+ | start Nexus |
65
+ | orchestration |
66
+ +-----------------------+
67
+ ```
68
+
69
+ When you run `ftt checkout`, the CLI:
70
+
71
+ 1. Resolves the selected task from the current workspace
72
+ 2. Loads the locally mapped repositories for that task
73
+ 3. Verifies each mapped path exists, is a git repository, and has a clean working tree
74
+ 4. Validates that each linked repository has an unambiguous PRD for the task
75
+ 5. Moves the task to `IN_PROGRESS` when needed
76
+ 6. Polls execution stages until the target branches are available
77
+ 7. Starts Nexus to execute the agent pipeline against the recovered branches
78
+
79
+ ### . . . .... 4. Nexus orchestration
80
+
81
+ Nexus lives under `.fiftthnexus/` and is started by `ftt checkout` after branch recovery.
82
+
83
+ At runtime, Nexus:
84
+
85
+ 1. Uses `gh auth` from the host machine for GitHub access
86
+ 2. Ensures required GitHub labels exist in each repository
87
+ 3. Builds the `copilot-agent` Docker image automatically if it is missing
88
+ 4. Resolves the issue dependency graph for the selected PRD or task scope
89
+ 5. Creates isolated worktrees when worktree mode is enabled
90
+ 6. Runs the three-stage pipeline for each runnable issue in Docker
91
+ 7. Repeats until there are no runnable issues left or the queue is exhausted
92
+
93
+ The three execution stages are:
94
+
95
+ - `PLAN`: analyze the issue context and produce an execution plan
96
+ - `IMPLEMENT`: apply the code changes in the isolated workspace
97
+ - `REVIEW`: run a lightweight final review pass focused on concrete blockers
98
+
99
+ ## Requirements
100
+
101
+ - Node.js 18 or newer
102
+ - Git available in your shell
103
+ - Docker available locally for checkout and Nexus execution
104
+ - GitHub CLI (`gh`) authenticated for repositories that will run Nexus
22
105
 
23
106
  ## Install
24
107
 
25
108
  ```bash
26
- npm i -g @fiftth/fiftth-cli
109
+ npm install -g @fiftth/fiftth-cli
27
110
  ```
28
111
 
29
112
  ### Local development link
@@ -41,41 +124,118 @@ fiftth --help
41
124
  ftt --help
42
125
  ```
43
126
 
127
+ To remove the global development link later:
128
+
129
+ ```bash
130
+ npm run unlink
131
+ ```
132
+
44
133
  ## Quick Start
45
134
 
46
- 1. Authenticate
135
+ 1. Authenticate with Fiftth
47
136
 
48
137
  ```bash
49
138
  fiftth login
50
139
  ```
51
140
 
52
- 2. Choose workspace
141
+ For CI or non-interactive shells, you can pass a token directly:
142
+
143
+ ```bash
144
+ fiftth login --token <token>
145
+ ```
146
+
147
+ 2. Choose a workspace
53
148
 
54
149
  ```bash
55
150
  fiftth use
56
151
  ```
57
152
 
58
- 3. Add local repositories
153
+ You can also switch directly by slug or name:
154
+
155
+ ```bash
156
+ fiftth use my-workspace
157
+ ```
158
+
159
+ 3. Choose the default model used by checkout and Nexus
160
+
161
+ ```bash
162
+ fiftth model
163
+ ```
164
+
165
+ Or set it directly:
166
+
167
+ ```bash
168
+ fiftth model gpt-5.4
169
+ ```
170
+
171
+ 4. Install the bundled planning skills for your preferred agent runtime
172
+
173
+ ```bash
174
+ fiftth skills
175
+ ```
176
+
177
+ This command prompts you to install `grill-me`, `write-prd`, and `prd-to-issues` into one of these user directories:
178
+
179
+ The files are installed relative to the directory where you run the command:
180
+
181
+ - GitHub Copilot: `./.github/agents`
182
+ - Claude Code: `./claude/skills`
183
+
184
+ 5. Register the local repositories used by your task-linked execution flow
59
185
 
60
186
  ```bash
61
187
  fiftth repo add api ~/dev/api
62
188
  fiftth repo add mobile C:\Users\you\Desktop\Owner\repo
63
189
  ```
64
190
 
65
- 4. Select task and list linked repositories
191
+ 6. If you are about to create or refine a PRD from inside a repository, validate planning context first
192
+
193
+ ```bash
194
+ fiftth planning-context
195
+ ```
196
+
197
+ 7. Run checkout from any directory to start the orchestration flow
66
198
 
67
199
  ```bash
68
- fiftth tasks
200
+ fiftth checkout
69
201
  ```
70
202
 
71
- 5. Checkout task branch in a configured repository
203
+ To target a specific task directly:
72
204
 
73
205
  ```bash
74
206
  fiftth checkout <taskId>
75
207
  ```
76
208
 
209
+ To keep the main repository checkout untouched and let Nexus branch from a worktree instead:
210
+
211
+ ```bash
212
+ fiftth checkout --worktree
213
+ ```
214
+
215
+ To stream verbose Nexus logs during checkout:
216
+
217
+ ```bash
218
+ fiftth checkout --verbose
219
+ ```
220
+
221
+ 8. If you need to verify GitHub authentication for Nexus on the host machine
222
+
223
+ ```bash
224
+ gh auth status
225
+ ```
226
+
77
227
  ## Commands
78
228
 
229
+ ### General
230
+
231
+ - `fiftth --help`
232
+ - `fiftth --version`
233
+ - `fiftth config`
234
+ - `fiftth model`
235
+ - `fiftth model <name>`
236
+ - `fiftth skills`
237
+ - `fiftth skills <agent>`
238
+
79
239
  ### Authentication
80
240
 
81
241
  - `fiftth login`
@@ -90,7 +250,6 @@ To use `fiftth login --token <token>`, you must first sign in on the [Fiftth](ht
90
250
 
91
251
  - `fiftth use`
92
252
  - `fiftth use <workspace>`
93
- - `fiftth use --list`
94
253
 
95
254
  ### Repository Registry
96
255
 
@@ -100,23 +259,55 @@ To use `fiftth login --token <token>`, you must first sign in on the [Fiftth](ht
100
259
 
101
260
  ### Tasks and Checkout
102
261
 
103
- - `fiftth tasks`
262
+ - `fiftth planning-context`
263
+ - `fiftth planning-context <taskId>`
264
+ - `fiftth planning-context <taskId> --json`
265
+ - `fiftth checkout`
104
266
  - `fiftth checkout <taskId>`
267
+ - `fiftth checkout --worktree`
268
+ - `fiftth checkout --verbose`
105
269
 
106
270
  ## Configuration
107
271
 
108
- Config is saved to:
272
+ Main CLI configuration is saved to:
109
273
 
110
274
  - `~/.fiftth/config.json`
111
275
 
276
+ The file stores the current host, access token, selected workspace, workspace id, and preferred model.
277
+
112
278
  Current defaults:
113
279
 
280
+ - Host: `https://www.fiftth.com/api`
281
+ - Model: `gpt-5.4`
282
+
283
+ Supported model values:
284
+
285
+ - `gpt-5.4`
286
+ - `gpt-5.4-mini`
287
+ - `gpt-5.3-codex`
288
+ - `claude-sonnet-4.6`
289
+ - `claude-opus-4.6`
290
+ - `claude-haiku-4.5`
291
+
292
+ To inspect the current resolved shell configuration:
293
+
294
+ ```bash
295
+ fiftth config
296
+ ```
297
+
114
298
  ## Notes
115
299
 
116
- - `checkout` requires:
117
- - selecting the task first (`fiftth tasks`)
118
- - local repo mappings for linked repositories (`fiftth repo add ...`)
119
- - a clean git working tree
300
+ - `checkout` requires local repo mappings for linked repositories (`fiftth repo add ...`)
301
+ - `checkout` requires a clean git working tree in every linked repository
302
+ - `checkout` requires Docker available on the host machine
303
+ - `checkout --verbose` keeps the normal preflight and then streams detailed Nexus logs once orchestration starts
304
+ - `planning-context` is the safe preflight for skills and manual planning flows: it validates that the current git repository is one of the repositories linked to the selected task and exits non-zero when it is not
305
+ - `planning-context` is the command that depends on the current directory being a git repository; `checkout` does not have that requirement
306
+ - if no `taskId` is provided, `checkout` prompts for an active task interactively
307
+ - with `checkout --worktree`, the CLI fetches the target branches, cleans up previous Nexus worktrees for the task, and leaves the main repo checkout unchanged before starting Nexus
308
+ - after local checkout succeeds, `checkout` moves the task to `IN_PROGRESS`, polls `/api/tasks/:taskId/execution-stages` every 5 seconds, and starts Nexus once the target branches are available
309
+ - `planning-context --json` is intended for agent and automation flows and exits with code `1` when the current repository is not part of the selected task
310
+ - the orchestrator uses the host `gh` authentication state and injects that token into each isolated agent container
120
311
 
121
312
  ## License
122
313
 
@@ -1,6 +1,12 @@
1
+ export interface Workspace {
2
+ id: string;
3
+ name: string;
4
+ slug: string;
5
+ }
1
6
  export interface ApiClient {
2
7
  get<T>(endpoint: string): Promise<T>;
3
8
  post<T>(endpoint: string, body: unknown): Promise<T>;
9
+ getWorkspaces(): Promise<Workspace[]>;
4
10
  }
5
11
  export declare function createApiClient(): ApiClient;
6
12
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/api/client.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,SAAS;IACxB,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;IACpC,IAAI,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;CACrD;AAED,wBAAgB,eAAe,IAAI,SAAS,CAsB3C"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/api/client.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,SAAS;IACxB,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;IACpC,IAAI,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;IACpD,aAAa,IAAI,OAAO,CAAC,SAAS,EAAE,CAAC,CAAA;CACtC;AAUD,wBAAgB,eAAe,IAAI,SAAS,CA0B3C"}
@@ -1,13 +1,20 @@
1
1
  import axios from 'axios';
2
2
  import { loadConfig } from '../utils/config.js';
3
+ import { getUserAgent } from '../utils/version.js';
4
+ function buildAuthorizationHeader(token) {
5
+ if (!token) {
6
+ throw new Error('Not authenticated. Run fiftth login first.');
7
+ }
8
+ return `Bearer ${token}`;
9
+ }
3
10
  export function createApiClient() {
4
11
  const config = loadConfig();
5
12
  const httpClient = axios.create({
6
13
  baseURL: config.host,
7
14
  headers: {
8
- Authorization: `Bearer ${config.token}`,
15
+ Authorization: buildAuthorizationHeader(config.token),
9
16
  'Content-Type': 'application/json',
10
- 'User-Agent': 'fiftth-cli/0.1.0',
17
+ 'User-Agent': getUserAgent(),
11
18
  },
12
19
  });
13
20
  return {
@@ -19,6 +26,10 @@ export function createApiClient() {
19
26
  const response = await httpClient.post(endpoint, body);
20
27
  return response.data;
21
28
  },
29
+ async getWorkspaces() {
30
+ const response = await httpClient.get('/workspaces');
31
+ return response.data;
32
+ },
22
33
  };
23
34
  }
24
35
  //# sourceMappingURL=client.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/api/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAO/C,MAAM,UAAU,eAAe;IAC7B,MAAM,MAAM,GAAG,UAAU,EAAE,CAAA;IAE3B,MAAM,UAAU,GAAkB,KAAK,CAAC,MAAM,CAAC;QAC7C,OAAO,EAAE,MAAM,CAAC,IAAI;QACpB,OAAO,EAAE;YACP,aAAa,EAAE,UAAU,MAAM,CAAC,KAAK,EAAE;YACvC,cAAc,EAAE,kBAAkB;YAClC,YAAY,EAAE,kBAAkB;SACjC;KACF,CAAC,CAAA;IAEF,OAAO;QACL,KAAK,CAAC,GAAG,CAAI,QAAgB;YAC3B,MAAM,QAAQ,GAAG,MAAM,UAAU,CAAC,GAAG,CAAI,QAAQ,CAAC,CAAA;YAClD,OAAO,QAAQ,CAAC,IAAI,CAAA;QACtB,CAAC;QACD,KAAK,CAAC,IAAI,CAAI,QAAgB,EAAE,IAAa;YAC3C,MAAM,QAAQ,GAAG,MAAM,UAAU,CAAC,IAAI,CAAI,QAAQ,EAAE,IAAI,CAAC,CAAA;YACzD,OAAO,QAAQ,CAAC,IAAI,CAAA;QACtB,CAAC;KACF,CAAA;AACH,CAAC"}
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/api/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAclD,SAAS,wBAAwB,CAAC,KAAc;IAC9C,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAA;IAC/D,CAAC;IAED,OAAO,UAAU,KAAK,EAAE,CAAA;AAC1B,CAAC;AAED,MAAM,UAAU,eAAe;IAC7B,MAAM,MAAM,GAAG,UAAU,EAAE,CAAA;IAE3B,MAAM,UAAU,GAAkB,KAAK,CAAC,MAAM,CAAC;QAC7C,OAAO,EAAE,MAAM,CAAC,IAAI;QACpB,OAAO,EAAE;YACP,aAAa,EAAE,wBAAwB,CAAC,MAAM,CAAC,KAAK,CAAC;YACrD,cAAc,EAAE,kBAAkB;YAClC,YAAY,EAAE,YAAY,EAAE;SAC7B;KACF,CAAC,CAAA;IAEF,OAAO;QACL,KAAK,CAAC,GAAG,CAAI,QAAgB;YAC3B,MAAM,QAAQ,GAAG,MAAM,UAAU,CAAC,GAAG,CAAI,QAAQ,CAAC,CAAA;YAClD,OAAO,QAAQ,CAAC,IAAI,CAAA;QACtB,CAAC;QACD,KAAK,CAAC,IAAI,CAAI,QAAgB,EAAE,IAAa;YAC3C,MAAM,QAAQ,GAAG,MAAM,UAAU,CAAC,IAAI,CAAI,QAAQ,EAAE,IAAI,CAAC,CAAA;YACzD,OAAO,QAAQ,CAAC,IAAI,CAAA;QACtB,CAAC;QACD,KAAK,CAAC,aAAa;YACjB,MAAM,QAAQ,GAAG,MAAM,UAAU,CAAC,GAAG,CAAc,aAAa,CAAC,CAAA;YACjE,OAAO,QAAQ,CAAC,IAAI,CAAA;QACtB,CAAC;KACF,CAAA;AACH,CAAC"}
@@ -1,2 +1,7 @@
1
- export declare function checkoutCommand(taskId: string): Promise<void>;
1
+ interface CheckoutOptions {
2
+ worktree?: boolean;
3
+ verbose?: boolean;
4
+ }
5
+ export declare function checkoutCommand(taskId?: string, options?: CheckoutOptions): Promise<void>;
6
+ export {};
2
7
  //# sourceMappingURL=checkout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../src/commands/checkout.ts"],"names":[],"mappings":"AAaA,wBAAsB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAuFnE"}
1
+ {"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../src/commands/checkout.ts"],"names":[],"mappings":"AAmCA,UAAU,eAAe;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AA2KD,wBAAsB,eAAe,CACnC,MAAM,CAAC,EAAE,MAAM,EACf,OAAO,GAAE,eAAoB,GAC5B,OAAO,CAAC,IAAI,CAAC,CAgcf"}