@we-scrum/cli 1.0.2 → 1.0.4
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/dist/cli.js +26 -26
- package/package.json +3 -4
- package/src/cli.ts +2 -1
- package/src/mcp-server/tools/get-next-task.ts +1 -0
- package/tsconfig.json +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@we-scrum/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Cli tool for we-scrum application",
|
|
5
5
|
"main": "dist/cli.js",
|
|
6
6
|
"bin": {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"tsup": "8.5.1",
|
|
38
38
|
"typescript": "5.9.3",
|
|
39
39
|
"@my-devkit/cli": "2.1.0",
|
|
40
|
-
"@we-scrum/commands": "1.0.0",
|
|
41
40
|
"@my-devkit/core": "1.0.0",
|
|
41
|
+
"@we-scrum/commands": "1.0.0",
|
|
42
42
|
"@we-scrum/enums": "1.0.0",
|
|
43
43
|
"@we-scrum/models": "1.0.0",
|
|
44
44
|
"@we-scrum/utils": "1.0.0"
|
|
@@ -48,7 +48,6 @@
|
|
|
48
48
|
"inspect": "mcp-inspector node dist/cli.js mcp",
|
|
49
49
|
"build": "tsup",
|
|
50
50
|
"watch": "tsup --watch",
|
|
51
|
-
"deploy": "pnpm build && pnpm publish --access public"
|
|
52
|
-
"preinstall": "npx only-allow pnpm"
|
|
51
|
+
"deploy": "pnpm build && pnpm publish --access public"
|
|
53
52
|
}
|
|
54
53
|
}
|
package/src/cli.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { select } from '@inquirer/prompts';
|
|
|
3
3
|
import { Logger } from '@my-devkit/core';
|
|
4
4
|
import { UserProjectModel } from '@we-scrum/models';
|
|
5
5
|
import { Command } from 'commander';
|
|
6
|
+
import { version } from '../package.json';
|
|
6
7
|
|
|
7
8
|
import { AuthHelper, FirebaseHelper, SettingsHelper } from './helpers';
|
|
8
9
|
import { startMcpServer } from './mcp-server';
|
|
@@ -11,7 +12,7 @@ Logger.registerLogger(new Logger.ConsoleImplementation());
|
|
|
11
12
|
|
|
12
13
|
const program = new Command();
|
|
13
14
|
|
|
14
|
-
program.name('we-scrum').description('CLI for we-scrum application').version(
|
|
15
|
+
program.name('we-scrum').description('CLI for we-scrum application').version(version);
|
|
15
16
|
|
|
16
17
|
program
|
|
17
18
|
.command('login')
|
|
@@ -23,6 +23,7 @@ export async function getNextTask(identificationNumber: string): Promise<Record<
|
|
|
23
23
|
isTodo ? 'Before making any changes, run `start_task` to mark the task as in progress.' : null,
|
|
24
24
|
'If anything is unclear, stop and ask before making any changes.',
|
|
25
25
|
'Once all changes are done, commit your code and run `complete_task`.',
|
|
26
|
+
'After completing a task, immediately run `get_next_task` again and continue until all tasks are complete.',
|
|
26
27
|
]).join('\n');
|
|
27
28
|
|
|
28
29
|
const developmentPolicy = await WeScrumHelper.getChangeDevelopmentPolicy(nextTask);
|