@idea1/cli 1.2.3 → 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.
- package/README.md +19 -152
- package/dist/cli/parser.d.ts +20 -0
- package/dist/cli/parser.d.ts.map +1 -0
- package/dist/cli/parser.js +105 -0
- package/dist/cli/parser.js.map +1 -0
- package/dist/cli/resolver.d.ts +16 -0
- package/dist/cli/resolver.d.ts.map +1 -0
- package/dist/cli/resolver.js +72 -0
- package/dist/cli/resolver.js.map +1 -0
- package/dist/cli.d.ts +0 -5
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +38 -357
- package/dist/cli.js.map +1 -1
- package/dist/commands/approve-pr.d.ts.map +1 -1
- package/dist/commands/approve-pr.js +13 -28
- package/dist/commands/approve-pr.js.map +1 -1
- package/dist/commands/close-worktree.d.ts.map +1 -1
- package/dist/commands/close-worktree.js +29 -42
- package/dist/commands/close-worktree.js.map +1 -1
- package/dist/commands/create-worktree.d.ts.map +1 -1
- package/dist/commands/create-worktree.js +34 -55
- package/dist/commands/create-worktree.js.map +1 -1
- package/dist/commands/help.d.ts.map +1 -1
- package/dist/commands/help.js +107 -68
- package/dist/commands/help.js.map +1 -1
- package/dist/commands/index.d.ts +2 -2
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/index.js +10 -8
- package/dist/commands/index.js.map +1 -1
- package/dist/commands/next-workflow-step.js +4 -4
- package/dist/commands/next-workflow-step.js.map +1 -1
- package/dist/commands/push.d.ts.map +1 -1
- package/dist/commands/push.js +45 -54
- package/dist/commands/push.js.map +1 -1
- package/dist/commands/ready-for-approval.d.ts.map +1 -1
- package/dist/commands/ready-for-approval.js +25 -62
- package/dist/commands/ready-for-approval.js.map +1 -1
- package/dist/commands/release.d.ts.map +1 -1
- package/dist/commands/release.js +47 -98
- package/dist/commands/release.js.map +1 -1
- package/dist/commands/start-dev-implementation.d.ts.map +1 -1
- package/dist/commands/start-dev-implementation.js +41 -43
- package/dist/commands/start-dev-implementation.js.map +1 -1
- package/dist/commands/start-project-item.d.ts.map +1 -1
- package/dist/commands/start-project-item.js +219 -150
- package/dist/commands/start-project-item.js.map +1 -1
- package/dist/commands/update-branch.d.ts +3 -0
- package/dist/commands/update-branch.d.ts.map +1 -0
- package/dist/commands/update-branch.js +191 -0
- package/dist/commands/update-branch.js.map +1 -0
- package/dist/commands/update-docs.js +1 -1
- package/dist/commands/update-docs.js.map +1 -1
- package/dist/index.js +0 -0
- package/dist/interactive.d.ts +19 -0
- package/dist/interactive.d.ts.map +1 -1
- package/dist/interactive.js +14 -56
- package/dist/interactive.js.map +1 -1
- package/dist/lib/settings.d.ts +18 -0
- package/dist/lib/settings.d.ts.map +1 -1
- package/dist/lib/settings.js +30 -0
- package/dist/lib/settings.js.map +1 -1
- package/dist/services/claude.d.ts +5 -0
- package/dist/services/claude.d.ts.map +1 -1
- package/dist/services/claude.js +16 -0
- package/dist/services/claude.js.map +1 -1
- package/dist/services/config.d.ts +8 -0
- package/dist/services/config.d.ts.map +1 -1
- package/dist/services/config.js +14 -1
- package/dist/services/config.js.map +1 -1
- package/dist/services/git.d.ts +59 -0
- package/dist/services/git.d.ts.map +1 -1
- package/dist/services/git.js +163 -2
- package/dist/services/git.js.map +1 -1
- package/dist/services/worktree.d.ts +36 -2
- package/dist/services/worktree.d.ts.map +1 -1
- package/dist/services/worktree.js +170 -9
- package/dist/services/worktree.js.map +1 -1
- package/dist/types/index.d.ts +31 -93
- package/dist/types/index.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -2
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { logger } from '../lib/logger.js';
|
|
2
2
|
import { execWithOutput } from '../lib/shell.js';
|
|
3
|
-
import { getSetupWorktreeHook, getBranchPrefix, getBaseBranch } from '../lib/settings.js';
|
|
3
|
+
import { getSetupWorktreeHook, getBranchPrefix, getBaseBranch, getIntegrationBranchPrefix, getIntegrationBranchTemplate, getIntegrationWorkBranchTemplate } from '../lib/settings.js';
|
|
4
4
|
import { configService } from './config.js';
|
|
5
5
|
import * as git from './git.js';
|
|
6
6
|
import * as claude from './claude.js';
|
|
7
|
+
const DEFAULT_INTEGRATION_BRANCH_TEMPLATE = '{prefix}/{name}-main';
|
|
8
|
+
const DEFAULT_INTEGRATION_WORK_BRANCH_TEMPLATE = '{prefix}/{name}/agent/{branchName}';
|
|
7
9
|
/**
|
|
8
10
|
* Run the setup-worktree hook if defined in .idea1/settings.json
|
|
9
11
|
*/
|
|
@@ -83,6 +85,158 @@ export async function resolveBaseBranch(cliBaseBranch) {
|
|
|
83
85
|
// 4. Hardcoded default (or user config if it's the default)
|
|
84
86
|
return userBaseBranch;
|
|
85
87
|
}
|
|
88
|
+
/**
|
|
89
|
+
* Resolve the integration branch prefix using config hierarchy:
|
|
90
|
+
* 1. User-level XDG config
|
|
91
|
+
* 2. Repo-level .idea1/settings.json
|
|
92
|
+
* 3. Hardcoded default
|
|
93
|
+
*/
|
|
94
|
+
export async function resolveIntegrationBranchPrefix() {
|
|
95
|
+
// 1. User-level XDG config
|
|
96
|
+
const userPrefix = configService.getDefaultIntegrationBranchPrefix();
|
|
97
|
+
if (userPrefix && userPrefix !== 'working/integration') {
|
|
98
|
+
return userPrefix;
|
|
99
|
+
}
|
|
100
|
+
// 2. Repo-level settings
|
|
101
|
+
try {
|
|
102
|
+
const repoRoot = await git.getRepoRoot();
|
|
103
|
+
const settingsPrefix = await getIntegrationBranchPrefix(repoRoot);
|
|
104
|
+
if (settingsPrefix) {
|
|
105
|
+
return settingsPrefix;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
catch {
|
|
109
|
+
// Not in a repo, use default
|
|
110
|
+
}
|
|
111
|
+
// 3. Hardcoded default (or user config if it's the default)
|
|
112
|
+
return userPrefix;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Resolve the integration branch template using config hierarchy
|
|
116
|
+
*/
|
|
117
|
+
async function resolveIntegrationBranchTemplate() {
|
|
118
|
+
try {
|
|
119
|
+
const repoRoot = await git.getRepoRoot();
|
|
120
|
+
const settingsTemplate = await getIntegrationBranchTemplate(repoRoot);
|
|
121
|
+
if (settingsTemplate) {
|
|
122
|
+
return settingsTemplate;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
catch {
|
|
126
|
+
// Not in a repo, use default
|
|
127
|
+
}
|
|
128
|
+
return DEFAULT_INTEGRATION_BRANCH_TEMPLATE;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Resolve the integration work branch template using config hierarchy
|
|
132
|
+
*/
|
|
133
|
+
async function resolveIntegrationWorkBranchTemplate() {
|
|
134
|
+
try {
|
|
135
|
+
const repoRoot = await git.getRepoRoot();
|
|
136
|
+
const settingsTemplate = await getIntegrationWorkBranchTemplate(repoRoot);
|
|
137
|
+
if (settingsTemplate) {
|
|
138
|
+
return settingsTemplate;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
catch {
|
|
142
|
+
// Not in a repo, use default
|
|
143
|
+
}
|
|
144
|
+
return DEFAULT_INTEGRATION_WORK_BRANCH_TEMPLATE;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Build the full integration branch name from a template
|
|
148
|
+
* Template variables: {prefix}, {name}
|
|
149
|
+
*/
|
|
150
|
+
export async function buildIntegrationBranchName(integrationName) {
|
|
151
|
+
const prefix = await resolveIntegrationBranchPrefix();
|
|
152
|
+
const template = await resolveIntegrationBranchTemplate();
|
|
153
|
+
return template
|
|
154
|
+
.replace('{prefix}', prefix)
|
|
155
|
+
.replace('{name}', integrationName);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Build the full work branch name for an integration workflow
|
|
159
|
+
* Template variables: {prefix}, {name}, {branchName}
|
|
160
|
+
*/
|
|
161
|
+
export async function buildIntegrationWorkBranchName(integrationName, shortBranchName) {
|
|
162
|
+
const prefix = await resolveIntegrationBranchPrefix();
|
|
163
|
+
const template = await resolveIntegrationWorkBranchTemplate();
|
|
164
|
+
return template
|
|
165
|
+
.replace('{prefix}', prefix)
|
|
166
|
+
.replace('{name}', integrationName)
|
|
167
|
+
.replace('{branchName}', shortBranchName);
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* List existing integration branches by scanning remote branches matching the prefix
|
|
171
|
+
*/
|
|
172
|
+
export async function listExistingIntegrationBranches() {
|
|
173
|
+
const prefix = await resolveIntegrationBranchPrefix();
|
|
174
|
+
const template = await resolveIntegrationBranchTemplate();
|
|
175
|
+
// Determine suffix pattern from template (e.g., "-main" from "{prefix}/{name}-main")
|
|
176
|
+
const suffixMatch = template.match(/\{name\}(.*)$/);
|
|
177
|
+
const suffix = suffixMatch ? suffixMatch[1] : '-main';
|
|
178
|
+
await git.fetchLatest();
|
|
179
|
+
const branches = await git.listRemoteBranches(`${prefix}/`);
|
|
180
|
+
// Filter to only integration main branches (matching the suffix pattern)
|
|
181
|
+
return branches.filter(b => b.endsWith(suffix));
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Extract the integration name from a full integration branch name
|
|
185
|
+
*/
|
|
186
|
+
export async function extractIntegrationName(fullBranchName) {
|
|
187
|
+
const prefix = await resolveIntegrationBranchPrefix();
|
|
188
|
+
const template = await resolveIntegrationBranchTemplate();
|
|
189
|
+
// Parse the suffix from template
|
|
190
|
+
const suffixMatch = template.match(/\{name\}(.*)$/);
|
|
191
|
+
const suffix = suffixMatch ? suffixMatch[1] : '-main';
|
|
192
|
+
// Parse the prefix part from template
|
|
193
|
+
const prefixPart = template.split('{name}')[0].replace('{prefix}', prefix);
|
|
194
|
+
let name = fullBranchName;
|
|
195
|
+
if (name.startsWith(prefixPart)) {
|
|
196
|
+
name = name.substring(prefixPart.length);
|
|
197
|
+
}
|
|
198
|
+
if (name.endsWith(suffix)) {
|
|
199
|
+
name = name.substring(0, name.length - suffix.length);
|
|
200
|
+
}
|
|
201
|
+
return name;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Prepare repository for worktree creation with a pre-computed full branch name.
|
|
205
|
+
* The sourceBranch is the branch to base the new branch off of (may differ from baseBranch for PRs).
|
|
206
|
+
*/
|
|
207
|
+
export async function prepareBranchForWorktreeWithFullName(fullBranchName, shortBranchName, sourceBranchName, baseBranchName) {
|
|
208
|
+
// Ensure clean working directory
|
|
209
|
+
await git.ensureCleanWorkingDirectory();
|
|
210
|
+
// Validate source branch exists
|
|
211
|
+
const sourceExists = await git.branchExists(sourceBranchName);
|
|
212
|
+
if (!sourceExists) {
|
|
213
|
+
throw new Error(`Source branch '${sourceBranchName}' does not exist locally or on origin`);
|
|
214
|
+
}
|
|
215
|
+
// Fetch latest, checkout source branch, create new branch from it
|
|
216
|
+
await git.fetchLatest();
|
|
217
|
+
await git.checkoutAndPullBranch(sourceBranchName);
|
|
218
|
+
await git.createAndPushBranch(fullBranchName, sourceBranchName);
|
|
219
|
+
await git.prepareRepoForWorktree(fullBranchName, baseBranchName);
|
|
220
|
+
logger.dim('Note: PR will be created later when changes are pushed');
|
|
221
|
+
return fullBranchName;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* Ensure an integration branch exists, creating it from baseBranch if needed
|
|
225
|
+
*/
|
|
226
|
+
export async function ensureIntegrationBranch(integrationBranchName, baseBranchName) {
|
|
227
|
+
const exists = await git.branchExists(integrationBranchName);
|
|
228
|
+
if (exists) {
|
|
229
|
+
logger.dim(`Integration branch ${integrationBranchName} already exists`);
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
logger.step(`Creating integration branch: ${integrationBranchName} from ${baseBranchName}...`);
|
|
233
|
+
await git.fetchLatest();
|
|
234
|
+
await git.checkoutAndPullBranch(baseBranchName);
|
|
235
|
+
await git.createAndPushBranch(integrationBranchName, baseBranchName);
|
|
236
|
+
// Return to base branch
|
|
237
|
+
await git.checkoutBranch(baseBranchName);
|
|
238
|
+
logger.success(`Integration branch ${integrationBranchName} created`);
|
|
239
|
+
}
|
|
86
240
|
/**
|
|
87
241
|
* Setup worktree isolation - creates worktree, runs hooks, optionally launches Claude
|
|
88
242
|
*/
|
|
@@ -90,22 +244,29 @@ export async function setupWorktreeIsolation(fullBranchName, shortBranchName, ba
|
|
|
90
244
|
logger.step('Setting up worktree isolation...');
|
|
91
245
|
// Create git worktree
|
|
92
246
|
const worktreePath = await git.createWorktree(fullBranchName, shortBranchName);
|
|
93
|
-
//
|
|
247
|
+
// Commit project item metadata to the branch so it's discoverable from any clone
|
|
248
|
+
if (options.projectItemUrl) {
|
|
249
|
+
await git.commitProjectItemMetadata(worktreePath, options.projectItemUrl);
|
|
250
|
+
}
|
|
251
|
+
// Enter worktree and set up upstream (pushes the metadata commit)
|
|
94
252
|
await git.enterWorktreeAndSetup(worktreePath, fullBranchName);
|
|
95
|
-
// Store project item URL and base branch in git config
|
|
253
|
+
// Store project item URL and base branch in git config (fast local lookup)
|
|
96
254
|
if (options.projectItemUrl) {
|
|
97
255
|
await git.storeProjectItemUrl(options.projectItemUrl, fullBranchName);
|
|
98
256
|
}
|
|
99
257
|
await git.storeBaseBranch(baseBranchName, fullBranchName);
|
|
100
258
|
// Run repo-specific setup hook if defined
|
|
101
259
|
await runSetupWorktreeHook(worktreePath);
|
|
102
|
-
//
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
260
|
+
// Invoke Claude based on claudeEntryPointMode
|
|
261
|
+
const claudeEntryPointMode = options.claudeEntryPointMode ?? 'launch';
|
|
262
|
+
if (claudeEntryPointMode === 'inline' && options.projectItemUrl) {
|
|
263
|
+
claude.outputInlinePrompt(options.projectItemUrl, worktreePath);
|
|
106
264
|
}
|
|
107
|
-
else if (
|
|
108
|
-
|
|
265
|
+
else if (claudeEntryPointMode === 'launch') {
|
|
266
|
+
const prompt = options.projectItemUrl
|
|
267
|
+
? claude.getImplementationPrompt(options.projectItemUrl)
|
|
268
|
+
: undefined;
|
|
269
|
+
await claude.runInteractive(prompt, worktreePath, options.permissionMode);
|
|
109
270
|
}
|
|
110
271
|
// Output the final directory path for the user
|
|
111
272
|
logger.newline();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worktree.js","sourceRoot":"","sources":["../../src/services/worktree.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"worktree.js","sourceRoot":"","sources":["../../src/services/worktree.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,aAAa,EAAE,0BAA0B,EAAE,4BAA4B,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACtL,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,mCAAmC,GAAG,sBAAsB,CAAC;AACnE,MAAM,wCAAwC,GAAG,oCAAoC,CAAC;AAEtF;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,oBAAoB,CAAC,QAAgB;IACzD,MAAM,WAAW,GAAG,MAAM,oBAAoB,CAAC,QAAQ,CAAC,CAAC;IAEzD,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,MAAM,CAAC,GAAG,CAAC,gCAAgC,CAAC,CAAC;QAC7C,OAAO;IACT,CAAC;IAED,MAAM,CAAC,IAAI,CAAC,gCAAgC,WAAW,EAAE,CAAC,CAAC;IAE3D,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAC,MAAM,EAAE,CAAC,WAAW,CAAC,EAAE,E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"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,25 +1,29 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Unified command option definition following the ops pattern.
|
|
3
|
+
* Every option can be supplied as a CLI argument or an interactive prompt.
|
|
4
|
+
*
|
|
5
|
+
* Required = no default value (no explicit `required` property).
|
|
6
|
+
* All options are named: --longName or -shortName (no positional arguments).
|
|
3
7
|
*/
|
|
4
|
-
export interface
|
|
5
|
-
/**
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
|
|
9
|
-
/**
|
|
8
|
+
export interface CommandOption {
|
|
9
|
+
/** Long option name, e.g. "url", "base-branch" — used as dict key and --longName */
|
|
10
|
+
longName: string;
|
|
11
|
+
/** Short option name, e.g. "b" — used as -b on CLI */
|
|
12
|
+
shortName?: string;
|
|
13
|
+
/** Displayed in help and as prompt label */
|
|
10
14
|
description: string;
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
|
|
15
|
-
/**
|
|
15
|
+
/** Boolean flag — never prompted, default false when absent */
|
|
16
|
+
isFlag?: boolean;
|
|
17
|
+
/** Static or dynamic default; absence means required */
|
|
18
|
+
defaultValue?: string | (() => string);
|
|
19
|
+
/** Whether to prompt when a default exists. Default: true. Only relevant when defaultValue is set. */
|
|
20
|
+
promptWhenDefaultExists?: boolean;
|
|
21
|
+
/** Selection prompt instead of text input */
|
|
16
22
|
choices?: Array<{
|
|
17
23
|
label: string;
|
|
18
24
|
value: string;
|
|
19
25
|
}>;
|
|
20
|
-
/**
|
|
21
|
-
defaultValue?: string;
|
|
22
|
-
/** Validation function - returns error message or undefined */
|
|
26
|
+
/** Validation function — return error message or undefined */
|
|
23
27
|
validate?: (value: string) => string | undefined;
|
|
24
28
|
}
|
|
25
29
|
/**
|
|
@@ -29,18 +33,8 @@ export interface Command {
|
|
|
29
33
|
name: string;
|
|
30
34
|
aliases: string[];
|
|
31
35
|
description: string;
|
|
32
|
-
execute: (args: string[]) => Promise<void>;
|
|
33
|
-
/** Argument definitions for interactive prompting */
|
|
34
|
-
arguments?: CommandArgument[];
|
|
35
36
|
options?: CommandOption[];
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Command option definition
|
|
39
|
-
*/
|
|
40
|
-
export interface CommandOption {
|
|
41
|
-
flags: string;
|
|
42
|
-
description: string;
|
|
43
|
-
defaultValue?: string | boolean;
|
|
37
|
+
execute: (resolved: Record<string, string>) => Promise<void>;
|
|
44
38
|
}
|
|
45
39
|
/**
|
|
46
40
|
* Hook input definition for collecting user input before running a hook
|
|
@@ -89,49 +83,27 @@ export interface Idea1Settings {
|
|
|
89
83
|
testCommand?: string;
|
|
90
84
|
releaseBranch?: string;
|
|
91
85
|
releaseTargetBranch?: string;
|
|
86
|
+
integrationBranchPrefix?: string;
|
|
87
|
+
integrationBranchTemplate?: string;
|
|
88
|
+
integrationWorkBranchTemplate?: string;
|
|
89
|
+
removeWorktreeOnDevTransition?: boolean;
|
|
92
90
|
};
|
|
93
91
|
}
|
|
94
|
-
/**
|
|
95
|
-
* Create worktree options
|
|
96
|
-
*/
|
|
97
|
-
export interface CreateWorktreeOptions {
|
|
98
|
-
sourcePath?: string;
|
|
99
|
-
destBranch: string;
|
|
100
|
-
branchPrefix: string;
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* Push options
|
|
104
|
-
*/
|
|
105
|
-
export interface PushOptions {
|
|
106
|
-
projectItemUrl?: string;
|
|
107
|
-
noProjectItem: boolean;
|
|
108
|
-
noTests: boolean;
|
|
109
|
-
createPr: boolean;
|
|
110
|
-
destBranch: string;
|
|
111
|
-
}
|
|
112
92
|
/**
|
|
113
93
|
* Valid Claude permission modes
|
|
114
94
|
*/
|
|
115
95
|
export type ClaudePermissionMode = 'acceptEdits' | 'bypassPermissions' | 'default' | 'delegate' | 'dontAsk' | 'plan';
|
|
116
96
|
/**
|
|
117
|
-
*
|
|
97
|
+
* How Claude is invoked after setup completes.
|
|
98
|
+
* - 'launch': Launch a new Claude process with the prompt (default)
|
|
99
|
+
* - 'inline': Output the prompt as structured output for an already-running Claude session
|
|
100
|
+
* - 'none': Do not invoke Claude
|
|
118
101
|
*/
|
|
119
|
-
export
|
|
120
|
-
isolationMode: 'worktree' | 'container';
|
|
121
|
-
sourcePath?: string;
|
|
122
|
-
baseBranch: string;
|
|
123
|
-
buildImage: boolean;
|
|
124
|
-
disableFirewall: boolean;
|
|
125
|
-
permissionMode: ClaudePermissionMode;
|
|
126
|
-
}
|
|
102
|
+
export type ClaudeEntryPointMode = 'launch' | 'inline' | 'none';
|
|
127
103
|
/**
|
|
128
|
-
*
|
|
104
|
+
* Development workflow types for branching strategies
|
|
129
105
|
*/
|
|
130
|
-
export
|
|
131
|
-
sourcePath?: string;
|
|
132
|
-
baseBranch?: string;
|
|
133
|
-
promptPr: boolean;
|
|
134
|
-
}
|
|
106
|
+
export type DevWorkflowType = 'independent' | 'integration';
|
|
135
107
|
/**
|
|
136
108
|
* Git branch info
|
|
137
109
|
*/
|
|
@@ -148,19 +120,6 @@ export interface PrInfo {
|
|
|
148
120
|
url: string;
|
|
149
121
|
state: string;
|
|
150
122
|
}
|
|
151
|
-
/**
|
|
152
|
-
* Release command options
|
|
153
|
-
*/
|
|
154
|
-
export interface ReleaseOptions {
|
|
155
|
-
/** Source branch to release from */
|
|
156
|
-
branch?: string;
|
|
157
|
-
/** Target branch to release to */
|
|
158
|
-
target?: string;
|
|
159
|
-
/** PR mode: merge or review */
|
|
160
|
-
prMode?: 'merge' | 'review';
|
|
161
|
-
/** PR title */
|
|
162
|
-
title?: string;
|
|
163
|
-
}
|
|
164
123
|
/**
|
|
165
124
|
* Workflow state representing the current status of a project item
|
|
166
125
|
*/
|
|
@@ -169,25 +128,4 @@ export type WorkflowState = 'Agent implementation' | 'Dev implementation' | 'PR
|
|
|
169
128
|
* Workflow transition command names for moving between workflow states
|
|
170
129
|
*/
|
|
171
130
|
export type WorkflowTransition = 'start-dev-implementation' | 'ready-for-approval' | 'approve-pr';
|
|
172
|
-
/**
|
|
173
|
-
* Options for the start-dev-implementation transition
|
|
174
|
-
*/
|
|
175
|
-
export interface StartDevImplementationOptions {
|
|
176
|
-
/** Source path for the implementation */
|
|
177
|
-
sourcePath?: string;
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* Options for the ready-for-approval transition
|
|
181
|
-
*/
|
|
182
|
-
export interface ReadyForApprovalOptions {
|
|
183
|
-
/** Reviewer to assign for approval */
|
|
184
|
-
reviewer?: string;
|
|
185
|
-
}
|
|
186
|
-
/**
|
|
187
|
-
* Options for the approve-pr transition
|
|
188
|
-
*/
|
|
189
|
-
export interface ApprovePrOptions {
|
|
190
|
-
/** Comment to add when approving */
|
|
191
|
-
comment?: string;
|
|
192
|
-
}
|
|
193
131
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC5B,oFAAoF;IACpF,QAAQ,EAAE,MAAM,CAAC;IACjB,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,+DAA+D;IAC/D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,wDAAwD;IACxD,YAAY,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,CAAC;IACvC,sGAAsG;IACtG,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,6CAA6C;IAC7C,OAAO,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAClD,8DAA8D;IAC9D,QAAQ,CAAC,E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CAAC,EAAE,MAAM,CAAC;QACrB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAC7B,uBAAuB,CAAC,EAAE,MAAM,CAAC;QACjC,yBAAyB,CAAC,EAAE,MAAM,CAAC;QACnC,6BAA6B,CAAC,EAAE,MAAM,CAAC;QACvC,6BAA6B,CAAC,EAAE,OAAO,CAAC;KACzC,CAAC;CACH;AAED;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,aAAa,GAAG,mBAAmB,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC;AAErH;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEhE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,aAAa,GAAG,aAAa,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GACrB,sBAAsB,GACtB,oBAAoB,GACpB,mBAAmB,GACnB,UAAU,CAAC;AAEf;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC1B,0BAA0B,GAC1B,oBAAoB,GACpB,YAAY,CAAC"}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.3.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idea1/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "CLI tool for Idea1.ai workflow automation - AI-assisted development workflows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"boxen": "^8.0.1",
|
|
39
39
|
"chalk": "^5.3.0",
|
|
40
|
-
"commander": "^12.1.0",
|
|
41
40
|
"conf": "^13.0.1",
|
|
42
41
|
"execa": "^9.5.1",
|
|
43
42
|
"inquirer": "^12.1.0",
|