taskgraph-ai 0.52.23 → 0.54.7
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 +38 -34
- package/dist/ai-services-unified-443pp39A.js +1 -0
- package/dist/ai-services-unified-C29ea2f8.js +3 -0
- package/dist/assets/AGENTS.md +12 -13
- package/dist/commands-BQrpRKx2.js +126 -0
- package/dist/config-manager-1Zhw_Ob5.js +1 -0
- package/dist/config-manager-CecOyMub.js +1 -0
- package/dist/git-utils-CRR3iPaC.js +1 -0
- package/dist/{git-utils--i2q96hv.js → git-utils-NnZtE3nY.js} +1 -1
- package/dist/init-Dm0XBXMD.js +24 -0
- package/dist/mcp-server.js +2 -2
- package/dist/research-BY8APYWo.js +585 -0
- package/dist/research-CJ_GBjgH.js +1 -0
- package/dist/{response-language-ip84ug-k.js → response-language-29GrZl4K.js} +1 -1
- package/dist/response-language-mSXkRdue.js +1 -0
- package/dist/rolldown-runtime-BxhE39jg.js +1 -0
- package/dist/src-ZjjcZr3a.js +468 -0
- package/dist/src-xo9dUCIC.js +207 -0
- package/dist/tag-management-D4lpCywn.js +1 -0
- package/dist/task-manager-GG4EpQXs.js +168 -0
- package/dist/task-manager-gnhcGsE8.js +1 -0
- package/dist/taskgraph.js +1 -1
- package/package.json +3 -8
- package/dist/ai-services-unified-CigO4oTy.js +0 -1
- package/dist/ai-services-unified-kmQRPU0g.js +0 -3
- package/dist/assets/claude/TM_COMMANDS_GUIDE.md +0 -147
- package/dist/commands-dFNugMWF.js +0 -116
- package/dist/config-manager-C5Ih13nA.js +0 -1
- package/dist/config-manager-DhVH8AQp.js +0 -1
- package/dist/dependency-manager-CCREovZA.js +0 -758
- package/dist/git-utils-BezpEZd4.js +0 -1
- package/dist/init-p_pWjmVE.js +0 -3139
- package/dist/research-blv_5JOT.js +0 -1
- package/dist/response-language-D9UxmXBp.js +0 -1
- package/dist/src-TZm8h0X-.js +0 -207
- package/dist/src-yE1DeXKG.js +0 -468
- package/dist/tag-management-Br2FX-YC.js +0 -1
- package/dist/task-manager-DWPIhAB7.js +0 -1
- package/index.js +0 -157
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{c as createTagFromBranch,m as useTag}from"./src-yE1DeXKG.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{K as e,nt as t}from"./config-manager-DhVH8AQp.js";import{h as n}from"./src-yE1DeXKG.js";import{A as r,B as i,C as a,D as o,F as s,I as c,L as l,M as u,O as d,P as f,R as p,S as m,T as h,V as g,b as _,j as v,k as y,v as b,w as x,x as S,y as C,z as w}from"./dependency-manager-CCREovZA.js";import{t as T}from"./response-language-ip84ug-k.js";export{g as addSubtask,i as addTask,w as analyzeTaskComplexity,p as clearSubtasks,c as expandAllTasks,l as expandTask,n as findNextTask,e as findTaskById,s as isTaskDependentOn,f as listTasks,u as moveTask,v as parsePRD,o as performResearch,t as readComplexityReport,r as removeSubtask,d as removeTask,a as scopeDownTask,x as scopeUpTask,T as setResponseLanguage,S as setTaskStatus,y as taskExists,m as updateSingleTaskStatus,_ as updateSubtaskById,C as updateTaskById,b as updateTasks,h as validateStrength};
|
package/index.js
DELETED
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* TaskGraph
|
|
5
|
-
* Copyright (c) 2025 Eyal Toledano, Ralph Khreish
|
|
6
|
-
*
|
|
7
|
-
* This software is licensed under the MIT License with Commons Clause.
|
|
8
|
-
* You may use this software for any purpose, including commercial applications,
|
|
9
|
-
* and modify and redistribute it freely, subject to the following restrictions:
|
|
10
|
-
*
|
|
11
|
-
* 1. You may not sell this software or offer it as a service.
|
|
12
|
-
* 2. The origin of this software must not be misrepresented.
|
|
13
|
-
* 3. Altered source versions must be plainly marked as such.
|
|
14
|
-
*
|
|
15
|
-
* For the full license text, see the LICENSE file in the root directory.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* TaskGraph
|
|
20
|
-
* A task management system for AI-driven development with Claude
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
// This file serves as the main entry point for the package
|
|
24
|
-
// The primary functionality is provided through the CLI commands
|
|
25
|
-
|
|
26
|
-
import { spawn } from 'child_process';
|
|
27
|
-
import { createRequire } from 'module';
|
|
28
|
-
import { dirname, resolve } from 'path';
|
|
29
|
-
import { fileURLToPath } from 'url';
|
|
30
|
-
import { Command } from 'commander';
|
|
31
|
-
|
|
32
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
33
|
-
const __dirname = dirname(__filename);
|
|
34
|
-
const require = createRequire(import.meta.url);
|
|
35
|
-
|
|
36
|
-
// Get package information
|
|
37
|
-
const packageJson = require('./package.json');
|
|
38
|
-
|
|
39
|
-
// Export the path to the dev.js script for programmatic usage
|
|
40
|
-
export const devScriptPath = resolve(__dirname, './scripts/dev.js');
|
|
41
|
-
|
|
42
|
-
// Export a function to initialize a new project programmatically
|
|
43
|
-
export const initProject = async (options = {}) => {
|
|
44
|
-
const init = await import('./scripts/init.js');
|
|
45
|
-
return init.initializeProject(options);
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
// Export a function to run init as a CLI command
|
|
49
|
-
export const runInitCLI = async (options = {}) => {
|
|
50
|
-
try {
|
|
51
|
-
const init = await import('./scripts/init.js');
|
|
52
|
-
const result = await init.initializeProject(options);
|
|
53
|
-
return result;
|
|
54
|
-
} catch (error) {
|
|
55
|
-
console.error('Initialization failed:', error.message);
|
|
56
|
-
if (process.env.DEBUG === 'true') {
|
|
57
|
-
console.error('Debug stack trace:', error.stack);
|
|
58
|
-
}
|
|
59
|
-
throw error; // Re-throw to be handled by the command handler
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
// Export version information
|
|
64
|
-
export const version = packageJson.version;
|
|
65
|
-
|
|
66
|
-
// CLI implementation
|
|
67
|
-
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
68
|
-
const program = new Command();
|
|
69
|
-
|
|
70
|
-
program.name('taskgraph').description('TaskGraph CLI').version(version);
|
|
71
|
-
|
|
72
|
-
program
|
|
73
|
-
.command('init')
|
|
74
|
-
.description('Initialize a new project')
|
|
75
|
-
.option('-y, --yes', 'Skip prompts and use default values')
|
|
76
|
-
.option('-n, --name <n>', 'Project name')
|
|
77
|
-
.option('-d, --description <description>', 'Project description')
|
|
78
|
-
.option('-v, --version <version>', 'Project version', '0.1.0')
|
|
79
|
-
.option('-a, --author <author>', 'Author name')
|
|
80
|
-
.option('--skip-install', 'Skip installing dependencies')
|
|
81
|
-
.option('--dry-run', 'Show what would be done without making changes')
|
|
82
|
-
.option('--aliases', 'Add shell aliases (tm, taskgraph)')
|
|
83
|
-
.option('--no-aliases', 'Skip shell aliases (tm, taskgraph)')
|
|
84
|
-
.option('--git', 'Initialize Git repository')
|
|
85
|
-
.option('--no-git', 'Skip Git repository initialization')
|
|
86
|
-
.option('--git-tasks', 'Store tasks in Git')
|
|
87
|
-
.option('--no-git-tasks', 'No Git storage of tasks')
|
|
88
|
-
.action(async (cmdOptions) => {
|
|
89
|
-
try {
|
|
90
|
-
await runInitCLI(cmdOptions);
|
|
91
|
-
} catch (err) {
|
|
92
|
-
console.error('Init failed:', err.message);
|
|
93
|
-
process.exit(1);
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
|
|
97
|
-
program
|
|
98
|
-
.command('dev')
|
|
99
|
-
.description('Run the dev.js script')
|
|
100
|
-
.allowUnknownOption(true)
|
|
101
|
-
.action(() => {
|
|
102
|
-
const args = process.argv.slice(process.argv.indexOf('dev') + 1);
|
|
103
|
-
const child = spawn('node', [devScriptPath, ...args], {
|
|
104
|
-
stdio: 'inherit',
|
|
105
|
-
cwd: process.cwd()
|
|
106
|
-
});
|
|
107
|
-
|
|
108
|
-
child.on('close', (code) => {
|
|
109
|
-
process.exit(code);
|
|
110
|
-
});
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
// Add shortcuts for common dev.js commands
|
|
114
|
-
program
|
|
115
|
-
.command('list')
|
|
116
|
-
.description('List all tasks')
|
|
117
|
-
.action(() => {
|
|
118
|
-
const child = spawn('node', [devScriptPath, 'list'], {
|
|
119
|
-
stdio: 'inherit',
|
|
120
|
-
cwd: process.cwd()
|
|
121
|
-
});
|
|
122
|
-
|
|
123
|
-
child.on('close', (code) => {
|
|
124
|
-
process.exit(code);
|
|
125
|
-
});
|
|
126
|
-
});
|
|
127
|
-
|
|
128
|
-
program
|
|
129
|
-
.command('next')
|
|
130
|
-
.description('Show the next task to work on')
|
|
131
|
-
.action(() => {
|
|
132
|
-
const child = spawn('node', [devScriptPath, 'next'], {
|
|
133
|
-
stdio: 'inherit',
|
|
134
|
-
cwd: process.cwd()
|
|
135
|
-
});
|
|
136
|
-
|
|
137
|
-
child.on('close', (code) => {
|
|
138
|
-
process.exit(code);
|
|
139
|
-
});
|
|
140
|
-
});
|
|
141
|
-
|
|
142
|
-
program
|
|
143
|
-
.command('generate')
|
|
144
|
-
.description('Generate task files')
|
|
145
|
-
.action(() => {
|
|
146
|
-
const child = spawn('node', [devScriptPath, 'generate'], {
|
|
147
|
-
stdio: 'inherit',
|
|
148
|
-
cwd: process.cwd()
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
child.on('close', (code) => {
|
|
152
|
-
process.exit(code);
|
|
153
|
-
});
|
|
154
|
-
});
|
|
155
|
-
|
|
156
|
-
program.parse(process.argv);
|
|
157
|
-
}
|