@llipe.com/dev-tasks 0.6.1 → 0.6.5
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/.claude/agents/developer.md +294 -0
- package/.claude/agents/github-ops.md +407 -0
- package/.claude/agents/housekeeping.md +109 -0
- package/.claude/agents/technical-writer.md +390 -0
- package/.claude/agents/ux-engineer.md +184 -0
- package/.claude/agents/verifier.md +276 -0
- package/.claude/commands/developer.md +272 -0
- package/.claude/commands/github-ops.md +10 -0
- package/.claude/commands/housekeeping.md +10 -0
- package/.claude/commands/planner.md +506 -0
- package/.claude/commands/product-engineer.md +263 -0
- package/.claude/commands/technical-writer.md +10 -0
- package/.claude/commands/ux-engineer.md +10 -0
- package/.claude/commands/verifier-audit.md +10 -0
- package/.claude/commands/verifier-design.md +10 -0
- package/.claude/hooks/git-guard.sh +95 -0
- package/.claude/skills/activity-contract-test-design/SKILL.md +122 -0
- package/.claude/skills/activity-drift-reconciliation/SKILL.md +133 -0
- package/.claude/skills/activity-e2e-test-design/SKILL.md +124 -0
- package/.claude/skills/activity-edge-case-refinement/SKILL.md +146 -0
- package/.claude/skills/activity-generate-spec/SKILL.md +137 -0
- package/.claude/skills/activity-generate-stories/SKILL.md +243 -0
- package/.claude/skills/activity-init/SKILL.md +162 -0
- package/.claude/skills/activity-publish-github/SKILL.md +116 -0
- package/.claude/skills/activity-random-test-tactics/SKILL.md +181 -0
- package/.claude/skills/activity-refine/SKILL.md +236 -0
- package/.claude/skills/git-ops/SKILL.md +221 -0
- package/.claude/skills/implement/SKILL.md +129 -0
- package/.claude/skills/memo-cli-usage/REFERENCE.md +798 -0
- package/.claude/skills/memo-cli-usage/SKILL.md +144 -0
- package/.claude/skills/plan/SKILL.md +145 -0
- package/.claude/skills/webapp-mockup/SKILL.md +76 -0
- package/.claude/skills/webapp-mockup/scripts/scaffold-mockup.sh +469 -0
- package/.github/agents/developer.agent.md +293 -0
- package/.github/agents/github-ops.agent.md +416 -0
- package/.github/agents/housekeeping.agent.md +109 -0
- package/.github/agents/planner.agent.md +496 -0
- package/.github/agents/product-engineer.agent.md +262 -0
- package/.github/agents/technical-writer.agent.md +389 -0
- package/.github/agents/ux-engineer.agent.md +183 -0
- package/.github/agents/verifier.agent.md +275 -0
- package/.github/instructions/domain/nextjs-pages-components.instructions.md +375 -0
- package/.github/instructions/implement.instructions.md +128 -0
- package/.github/instructions/plan.instructions.md +144 -0
- package/.github/prompts/developer-execute.prompt.md +13 -0
- package/.github/prompts/github-ops.prompt.md +16 -0
- package/.github/prompts/housekeeping.prompt.md +16 -0
- package/.github/prompts/planner-resume.prompt.md +13 -0
- package/.github/prompts/planner.prompt.md +18 -0
- package/.github/prompts/product-engineer-feature.prompt.md +21 -0
- package/.github/prompts/product-engineer-init.prompt.md +16 -0
- package/.github/prompts/product-engineer-issue.prompt.md +19 -0
- package/.github/prompts/technical-writer.prompt.md +21 -0
- package/.github/prompts/ux-engineer.prompt.md +14 -0
- package/.github/prompts/verifier-audit.prompt.md +33 -0
- package/.github/prompts/verifier-design.prompt.md +28 -0
- package/.github/skills/activity-contract-test-design/SKILL.md +117 -0
- package/.github/skills/activity-drift-reconciliation/SKILL.md +128 -0
- package/.github/skills/activity-e2e-test-design/SKILL.md +119 -0
- package/.github/skills/activity-edge-case-refinement/SKILL.md +141 -0
- package/.github/skills/activity-generate-spec/SKILL.md +132 -0
- package/.github/skills/activity-generate-stories/SKILL.md +238 -0
- package/.github/skills/activity-init/SKILL.md +157 -0
- package/.github/skills/activity-publish-github/SKILL.md +111 -0
- package/.github/skills/activity-random-test-tactics/SKILL.md +176 -0
- package/.github/skills/activity-refine/SKILL.md +231 -0
- package/.github/skills/git-ops/SKILL.md +216 -0
- package/.github/skills/memo-cli-usage/REFERENCE.md +798 -0
- package/.github/skills/memo-cli-usage/SKILL.md +144 -0
- package/.github/skills/webapp-mockup/SKILL.md +71 -0
- package/.github/skills/webapp-mockup/scripts/scaffold-mockup.sh +469 -0
- package/.kiro/agents/developer.md +305 -0
- package/.kiro/agents/github-ops.md +428 -0
- package/.kiro/agents/housekeeping.md +122 -0
- package/.kiro/agents/planner.md +530 -0
- package/.kiro/agents/product-engineer.md +294 -0
- package/.kiro/agents/technical-writer.md +408 -0
- package/.kiro/agents/ux-engineer.md +200 -0
- package/.kiro/agents/verifier.md +275 -0
- package/.kiro/hooks/git-guard.json +16 -0
- package/.kiro/hooks/scripts/git-guard.sh +116 -0
- package/.kiro/skills/activity-contract-test-design/SKILL.md +122 -0
- package/.kiro/skills/activity-drift-reconciliation/SKILL.md +133 -0
- package/.kiro/skills/activity-e2e-test-design/SKILL.md +124 -0
- package/.kiro/skills/activity-edge-case-refinement/SKILL.md +146 -0
- package/.kiro/skills/activity-generate-spec/SKILL.md +137 -0
- package/.kiro/skills/activity-generate-stories/SKILL.md +243 -0
- package/.kiro/skills/activity-init/SKILL.md +162 -0
- package/.kiro/skills/activity-publish-github/SKILL.md +116 -0
- package/.kiro/skills/activity-random-test-tactics/SKILL.md +181 -0
- package/.kiro/skills/activity-refine/SKILL.md +236 -0
- package/.kiro/skills/git-ops/SKILL.md +221 -0
- package/.kiro/skills/memo-cli-usage/REFERENCE.md +798 -0
- package/.kiro/skills/memo-cli-usage/SKILL.md +144 -0
- package/.kiro/skills/webapp-mockup/SKILL.md +76 -0
- package/.kiro/steering/git-guard-notice.md +11 -0
- package/.kiro/steering/implement.md +129 -0
- package/.kiro/steering/nextjs-pages-components.md +376 -0
- package/.kiro/steering/plan.md +145 -0
- package/AGENTS.md +122 -0
- package/CHANGELOG.md +40 -2
- package/CLAUDE.md +94 -0
- package/README.md +33 -18
- package/dist/adapters/cli/extract-all.js +4 -4
- package/dist/adapters/cli/extract-component.d.ts +1 -1
- package/dist/adapters/cli/extract-component.js +4 -4
- package/dist/adapters/cli/parse-args.d.ts +1 -0
- package/dist/adapters/cli/parse-args.d.ts.map +1 -1
- package/dist/adapters/cli/parse-args.js +4 -0
- package/dist/adapters/cli/parse-args.js.map +1 -1
- package/dist/bin/dev-tasks.js +23 -9
- package/dist/bin/dev-tasks.js.map +1 -1
- package/dist/bin/dt.js +3 -3
- package/dist/core/distribution/index.d.ts +5 -3
- package/dist/core/distribution/index.d.ts.map +1 -1
- package/dist/core/distribution/index.js +3 -2
- package/dist/core/distribution/index.js.map +1 -1
- package/dist/core/distribution/install.d.ts +20 -8
- package/dist/core/distribution/install.d.ts.map +1 -1
- package/dist/core/distribution/install.js +76 -36
- package/dist/core/distribution/install.js.map +1 -1
- package/dist/core/distribution/manifest.d.ts +25 -2
- package/dist/core/distribution/manifest.d.ts.map +1 -1
- package/dist/core/distribution/manifest.js +29 -2
- package/dist/core/distribution/manifest.js.map +1 -1
- package/dist/core/distribution/migrate.d.ts +6 -3
- package/dist/core/distribution/migrate.d.ts.map +1 -1
- package/dist/core/distribution/migrate.js +21 -19
- package/dist/core/distribution/migrate.js.map +1 -1
- package/dist/core/distribution/profiles.d.ts +30 -0
- package/dist/core/distribution/profiles.d.ts.map +1 -0
- package/dist/core/distribution/profiles.js +57 -0
- package/dist/core/distribution/profiles.js.map +1 -0
- package/dist/core/distribution/update.d.ts +6 -4
- package/dist/core/distribution/update.d.ts.map +1 -1
- package/dist/core/distribution/update.js +22 -22
- package/dist/core/distribution/update.js.map +1 -1
- package/dist/core/extract/component.d.ts +9 -9
- package/dist/core/extract/component.js +5 -5
- package/dist/core/extract/report.d.ts +1 -1
- package/dist/core/extract/report.js +1 -1
- package/package.json +37 -18
- package/skills/.gitkeep +0 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Install
|
|
3
|
-
* Copies
|
|
2
|
+
* Install managed files from the package source into the target repo.
|
|
3
|
+
* Copies platform-specific agent toolkit files, computes hashes, and writes the manifest.
|
|
4
4
|
*/
|
|
5
|
-
import { type
|
|
5
|
+
import { type ManagedFileEntry } from "./manifest.js";
|
|
6
|
+
import { type Profile, type Platform } from "./profiles.js";
|
|
6
7
|
export interface InstallOptions {
|
|
7
|
-
/** Path to the package source directory (contains
|
|
8
|
+
/** Path to the package source directory (contains .github/, .claude/, .kiro/) */
|
|
8
9
|
sourceDir: string;
|
|
9
10
|
/** Path to the target repo root */
|
|
10
11
|
targetDir: string;
|
|
@@ -12,14 +13,25 @@ export interface InstallOptions {
|
|
|
12
13
|
version: string;
|
|
13
14
|
/** Version to pin (defaults to version if not provided) */
|
|
14
15
|
pin: string;
|
|
16
|
+
/** Profile to install (default: 'both' = copilot + claude) */
|
|
17
|
+
profile?: Profile;
|
|
15
18
|
}
|
|
16
19
|
export interface InstallResult {
|
|
17
|
-
installed:
|
|
20
|
+
installed: ManagedFileEntry[];
|
|
18
21
|
manifestPath: string;
|
|
22
|
+
platforms: Platform[];
|
|
19
23
|
}
|
|
20
24
|
/**
|
|
21
|
-
* Install
|
|
22
|
-
* Copies
|
|
25
|
+
* Install managed files from the package into the target repository.
|
|
26
|
+
* Copies files to their native platform paths (.github/, .claude/, .kiro/),
|
|
27
|
+
* computes sha256 per file, and writes the manifest.
|
|
23
28
|
*/
|
|
24
|
-
export declare function
|
|
29
|
+
export declare function installFiles(options: InstallOptions): Promise<InstallResult>;
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated Use installFiles() instead. Kept for backward compatibility during migration.
|
|
32
|
+
*/
|
|
33
|
+
export declare function installSkills(options: InstallOptions): Promise<{
|
|
34
|
+
installed: ManagedFileEntry[];
|
|
35
|
+
manifestPath: string;
|
|
36
|
+
}>;
|
|
25
37
|
//# sourceMappingURL=install.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../core/distribution/install.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAgC,KAAK,
|
|
1
|
+
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../core/distribution/install.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAgC,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACpF,OAAO,EAGL,KAAK,OAAO,EACZ,KAAK,QAAQ,EAEd,MAAM,eAAe,CAAC;AAEvB,MAAM,WAAW,cAAc;IAC7B,iFAAiF;IACjF,SAAS,EAAE,MAAM,CAAC;IAClB,mCAAmC;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,8CAA8C;IAC9C,OAAO,EAAE,MAAM,CAAC;IAChB,2DAA2D;IAC3D,GAAG,EAAE,MAAM,CAAC;IACZ,8DAA8D;IAC9D,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,QAAQ,EAAE,CAAC;CACvB;AAgED;;;;GAIG;AACH,wBAAsB,YAAY,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC,CAoDlF;AAED;;GAEG;AACH,wBAAsB,aAAa,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC;IACpE,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC,CAGD"}
|
|
@@ -1,17 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Install
|
|
3
|
-
* Copies
|
|
2
|
+
* Install managed files from the package source into the target repo.
|
|
3
|
+
* Copies platform-specific agent toolkit files, computes hashes, and writes the manifest.
|
|
4
4
|
*/
|
|
5
5
|
import { readdir, readFile, writeFile, mkdir } from "node:fs/promises";
|
|
6
6
|
import { join, relative } from "node:path";
|
|
7
7
|
import { hashContent } from "./hash.js";
|
|
8
8
|
import { writeManifest } from "./manifest.js";
|
|
9
|
+
import { resolveProfile, PROFILE_PATHS, } from "./profiles.js";
|
|
9
10
|
/**
|
|
10
11
|
* Recursively collect all files under a directory.
|
|
11
12
|
* Returns paths relative to the given baseDir.
|
|
12
13
|
*/
|
|
13
14
|
async function collectFiles(dir, baseDir) {
|
|
14
|
-
|
|
15
|
+
let entries;
|
|
16
|
+
try {
|
|
17
|
+
entries = await readdir(dir, { withFileTypes: true });
|
|
18
|
+
}
|
|
19
|
+
catch (err) {
|
|
20
|
+
if (err instanceof Error && "code" in err && err.code === "ENOENT") {
|
|
21
|
+
return [];
|
|
22
|
+
}
|
|
23
|
+
throw err;
|
|
24
|
+
}
|
|
15
25
|
const files = [];
|
|
16
26
|
for (const entry of entries) {
|
|
17
27
|
const fullPath = join(dir, entry.name);
|
|
@@ -25,57 +35,87 @@ async function collectFiles(dir, baseDir) {
|
|
|
25
35
|
return files;
|
|
26
36
|
}
|
|
27
37
|
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
38
|
+
* Collect files from a single managed path entry.
|
|
39
|
+
* If recursive=false, only collects files directly in the directory (one level).
|
|
40
|
+
* If recursive=true, collects all files in subdirectories.
|
|
30
41
|
*/
|
|
31
|
-
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
42
|
+
async function collectManagedPathFiles(sourceDir, managedPath) {
|
|
43
|
+
const fullSourceDir = join(sourceDir, managedPath.source);
|
|
44
|
+
if (managedPath.recursive) {
|
|
45
|
+
return collectFiles(fullSourceDir, fullSourceDir);
|
|
46
|
+
}
|
|
47
|
+
// Non-recursive: only files directly in the directory
|
|
48
|
+
let entries;
|
|
37
49
|
try {
|
|
38
|
-
|
|
50
|
+
entries = await readdir(fullSourceDir, { withFileTypes: true });
|
|
39
51
|
}
|
|
40
52
|
catch (err) {
|
|
41
53
|
if (err instanceof Error && "code" in err && err.code === "ENOENT") {
|
|
42
|
-
|
|
54
|
+
return [];
|
|
43
55
|
}
|
|
44
|
-
|
|
45
|
-
|
|
56
|
+
throw err;
|
|
57
|
+
}
|
|
58
|
+
const files = [];
|
|
59
|
+
for (const entry of entries) {
|
|
60
|
+
if (entry.isFile()) {
|
|
61
|
+
files.push(entry.name);
|
|
46
62
|
}
|
|
47
63
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
const
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
return files;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Install managed files from the package into the target repository.
|
|
68
|
+
* Copies files to their native platform paths (.github/, .claude/, .kiro/),
|
|
69
|
+
* computes sha256 per file, and writes the manifest.
|
|
70
|
+
*/
|
|
71
|
+
export async function installFiles(options) {
|
|
72
|
+
const { sourceDir, targetDir, version, pin, profile = "both" } = options;
|
|
73
|
+
const platforms = resolveProfile(profile);
|
|
74
|
+
const managedFiles = [];
|
|
75
|
+
for (const platform of platforms) {
|
|
76
|
+
const paths = PROFILE_PATHS[platform];
|
|
77
|
+
for (const managedPath of paths) {
|
|
78
|
+
const relFiles = await collectManagedPathFiles(sourceDir, managedPath);
|
|
79
|
+
for (const relFile of relFiles) {
|
|
80
|
+
const sourcePath = join(sourceDir, managedPath.source, relFile);
|
|
81
|
+
const targetPath = join(targetDir, managedPath.target, relFile);
|
|
82
|
+
// Read source content
|
|
83
|
+
const content = await readFile(sourcePath, "utf-8");
|
|
84
|
+
const hash = hashContent(content);
|
|
85
|
+
// Write to target
|
|
86
|
+
const destDir = join(targetPath, "..");
|
|
87
|
+
await mkdir(destDir, { recursive: true });
|
|
88
|
+
await writeFile(targetPath, content, "utf-8");
|
|
89
|
+
// Full relative path in consumer repo
|
|
90
|
+
const fullRelPath = join(managedPath.target, relFile);
|
|
91
|
+
managedFiles.push({
|
|
92
|
+
path: fullRelPath,
|
|
93
|
+
profile: platform,
|
|
94
|
+
sha256: hash,
|
|
95
|
+
origin_sha256: hash,
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
}
|
|
67
99
|
}
|
|
68
100
|
const manifest = {
|
|
69
101
|
version,
|
|
70
102
|
pinned: pin,
|
|
71
103
|
installed_at: new Date().toISOString(),
|
|
72
|
-
|
|
104
|
+
files: managedFiles,
|
|
73
105
|
extraction: {},
|
|
74
106
|
};
|
|
75
107
|
await writeManifest(targetDir, manifest);
|
|
76
108
|
return {
|
|
77
|
-
installed:
|
|
109
|
+
installed: managedFiles,
|
|
78
110
|
manifestPath: join(targetDir, ".dev-tasks", "manifest.json"),
|
|
111
|
+
platforms,
|
|
79
112
|
};
|
|
80
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* @deprecated Use installFiles() instead. Kept for backward compatibility during migration.
|
|
116
|
+
*/
|
|
117
|
+
export async function installSkills(options) {
|
|
118
|
+
const result = await installFiles(options);
|
|
119
|
+
return { installed: result.installed, manifestPath: result.manifestPath };
|
|
120
|
+
}
|
|
81
121
|
//# sourceMappingURL=install.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.js","sourceRoot":"","sources":["../../../core/distribution/install.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"install.js","sourceRoot":"","sources":["../../../core/distribution/install.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,aAAa,EAAwC,MAAM,eAAe,CAAC;AACpF,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AO,EAAE,SAAS,EAAE,MAAM,CAAC,SAAS,EAAE,YAAY,EAAE,MAAM,CAAC,YAAY,EAAE,CAAC;AAC5E,CAAC"}
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Manifest read/write for .dev-tasks/manifest.json.
|
|
3
|
-
*
|
|
3
|
+
* Generalized to track all managed files across platform profiles.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Entry tracking a single managed file.
|
|
7
|
+
*/
|
|
8
|
+
export interface ManagedFileEntry {
|
|
9
|
+
/** Relative path in the consumer repo (e.g. ".github/agents/developer.agent.md") */
|
|
10
|
+
path: string;
|
|
11
|
+
/** Platform profile this file belongs to (copilot, claude, kiro) */
|
|
12
|
+
profile: string;
|
|
13
|
+
/** Current SHA-256 hash of the installed file */
|
|
14
|
+
sha256: string;
|
|
15
|
+
/** SHA-256 hash as originally shipped (for reconciliation) */
|
|
16
|
+
origin_sha256: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated Legacy skill entry — use ManagedFileEntry instead.
|
|
4
20
|
*/
|
|
5
21
|
export interface SkillEntry {
|
|
6
22
|
name: string;
|
|
@@ -8,16 +24,23 @@ export interface SkillEntry {
|
|
|
8
24
|
sha256: string;
|
|
9
25
|
origin_sha256: string;
|
|
10
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* The manifest structure stored at .dev-tasks/manifest.json.
|
|
29
|
+
*/
|
|
11
30
|
export interface Manifest {
|
|
12
31
|
version: string;
|
|
13
32
|
pinned: string;
|
|
14
33
|
installed_at: string;
|
|
15
|
-
|
|
34
|
+
/** Managed file entries (current format). */
|
|
35
|
+
files: ManagedFileEntry[];
|
|
36
|
+
/** @deprecated Legacy skills array — present in older manifests. */
|
|
37
|
+
skills?: SkillEntry[];
|
|
16
38
|
extraction: Record<string, unknown>;
|
|
17
39
|
}
|
|
18
40
|
/**
|
|
19
41
|
* Read .dev-tasks/manifest.json from the given repo root.
|
|
20
42
|
* Returns null if the file does not exist.
|
|
43
|
+
* Handles migration from legacy (skills-only) format.
|
|
21
44
|
*/
|
|
22
45
|
export declare function readManifest(repoRoot: string): Promise<Manifest | null>;
|
|
23
46
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../core/distribution/manifest.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,UAAU,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../core/distribution/manifest.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oFAAoF;IACpF,IAAI,EAAE,MAAM,CAAC;IACb,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAC;IAChB,iDAAiD;IACjD,MAAM,EAAE,MAAM,CAAC;IACf,8DAA8D;IAC9D,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,6CAA6C;IAC7C,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,oEAAoE;IACpE,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACrC;AASD;;;;GAIG;AACH,wBAAsB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,CAsC7E;AAED;;;GAGG;AACH,wBAAsB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAKvF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Manifest read/write for .dev-tasks/manifest.json.
|
|
3
|
-
*
|
|
3
|
+
* Generalized to track all managed files across platform profiles.
|
|
4
4
|
*/
|
|
5
5
|
import { readFile, writeFile, mkdir } from "node:fs/promises";
|
|
6
6
|
import { join } from "node:path";
|
|
@@ -12,11 +12,38 @@ function manifestPath(repoRoot) {
|
|
|
12
12
|
/**
|
|
13
13
|
* Read .dev-tasks/manifest.json from the given repo root.
|
|
14
14
|
* Returns null if the file does not exist.
|
|
15
|
+
* Handles migration from legacy (skills-only) format.
|
|
15
16
|
*/
|
|
16
17
|
export async function readManifest(repoRoot) {
|
|
17
18
|
try {
|
|
18
19
|
const raw = await readFile(manifestPath(repoRoot), "utf-8");
|
|
19
|
-
|
|
20
|
+
const parsed = JSON.parse(raw);
|
|
21
|
+
// Handle legacy manifests that only have `skills` and no `files`
|
|
22
|
+
if (!parsed.files && Array.isArray(parsed.skills)) {
|
|
23
|
+
const legacySkills = parsed.skills;
|
|
24
|
+
const files = legacySkills.map((s) => ({
|
|
25
|
+
path: s.path,
|
|
26
|
+
profile: "legacy",
|
|
27
|
+
sha256: s.sha256,
|
|
28
|
+
origin_sha256: s.origin_sha256,
|
|
29
|
+
}));
|
|
30
|
+
return {
|
|
31
|
+
version: parsed.version ?? "unknown",
|
|
32
|
+
pinned: parsed.pinned ?? "unknown",
|
|
33
|
+
installed_at: parsed.installed_at ?? "",
|
|
34
|
+
files,
|
|
35
|
+
skills: legacySkills,
|
|
36
|
+
extraction: parsed.extraction ?? {},
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
version: parsed.version ?? "unknown",
|
|
41
|
+
pinned: parsed.pinned ?? "unknown",
|
|
42
|
+
installed_at: parsed.installed_at ?? "",
|
|
43
|
+
files: parsed.files ?? [],
|
|
44
|
+
skills: parsed.skills,
|
|
45
|
+
extraction: parsed.extraction ?? {},
|
|
46
|
+
};
|
|
20
47
|
}
|
|
21
48
|
catch (err) {
|
|
22
49
|
if (err instanceof Error && "code" in err && err.code === "ENOENT") {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../core/distribution/manifest.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../core/distribution/manifest.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAwCjC,MAAM,YAAY,GAAG,YAAY,CAAC;AAClC,MAAM,aAAa,GAAG,eAAe,CAAC;AAEtC,SAAS,YAAY,CAAC,QAAgB;IACpC,OAAO,IAAI,CAAC,QAAQ,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC;AACrD,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,YAAY,CAAC,QAAgB;IACjD,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,OA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C9F,OAAO,IAAI,CAAC;QACd,CAAC;QACD,MAAM,GAAG,CAAC;IACZ,CAAC;AACH,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,QAAgB,EAAE,QAAkB;IACtE,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IACzC,MAAM,KAAK,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACtC,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC;IACzD,MAAM,SAAS,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;AAC5D,CAAC"}
|
|
@@ -46,9 +46,12 @@ export declare function generateMigrationManifest(repoRoot: string, filePaths: s
|
|
|
46
46
|
* Run the full migration process:
|
|
47
47
|
* 1. Detect legacy install
|
|
48
48
|
* 2. Discover legacy files
|
|
49
|
-
* 3.
|
|
50
|
-
* 4.
|
|
51
|
-
*
|
|
49
|
+
* 3. Generate manifest with UNKNOWN_ORIGIN (files stay at native paths)
|
|
50
|
+
* 4. Write manifest
|
|
51
|
+
*
|
|
52
|
+
* Files remain at their platform-native paths (.github/, .claude/, .kiro/).
|
|
53
|
+
* The manifest marks them with origin_sha256 = UNKNOWN_ORIGIN so the
|
|
54
|
+
* reconciliation engine reports conflicts on the first update.
|
|
52
55
|
*/
|
|
53
56
|
export declare function runMigration(repoRoot: string): Promise<MigrationResult>;
|
|
54
57
|
//# sourceMappingURL=migrate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrate.d.ts","sourceRoot":"","sources":["../../../core/distribution/migrate.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAMH,OAAO,EAA+B,KAAK,QAAQ,
|
|
1
|
+
{"version":3,"file":"migrate.d.ts","sourceRoot":"","sources":["../../../core/distribution/migrate.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAMH,OAAO,EAA+B,KAAK,QAAQ,EAAyB,MAAM,eAAe,CAAC;AAElG;;;;GAIG;AACH,eAAO,MAAM,cAAc,YAAY,CAAC;AAqBxC,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,qBAAqB,CAqC3E;AAuCD;;;;;;GAMG;AACH,wBAAsB,yBAAyB,CAC7C,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EAAE,GAClB,OAAO,CAAC,QAAQ,CAAC,CAiCnB;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAsC7E"}
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* updates on their first `dev-tasks update` after migration.
|
|
9
9
|
*/
|
|
10
10
|
import { existsSync, statSync } from "node:fs";
|
|
11
|
-
import { readFile, readdir
|
|
12
|
-
import { join, relative
|
|
11
|
+
import { readFile, readdir } from "node:fs/promises";
|
|
12
|
+
import { join, relative } from "node:path";
|
|
13
13
|
import { hashContent } from "./hash.js";
|
|
14
14
|
import { writeManifest, readManifest } from "./manifest.js";
|
|
15
15
|
/**
|
|
@@ -121,16 +121,23 @@ async function discoverLegacyFiles(repoRoot) {
|
|
|
121
121
|
* @param filePaths - Relative file paths to include in the manifest
|
|
122
122
|
*/
|
|
123
123
|
export async function generateMigrationManifest(repoRoot, filePaths) {
|
|
124
|
-
const
|
|
124
|
+
const files = [];
|
|
125
125
|
for (const relPath of filePaths) {
|
|
126
126
|
const fullPath = join(repoRoot, relPath);
|
|
127
127
|
try {
|
|
128
128
|
const content = await readFile(fullPath, "utf-8");
|
|
129
129
|
const sha256 = hashContent(content);
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
// Infer profile from path prefix
|
|
131
|
+
let profile = "legacy";
|
|
132
|
+
if (relPath.startsWith(".github/"))
|
|
133
|
+
profile = "copilot";
|
|
134
|
+
else if (relPath.startsWith(".claude/"))
|
|
135
|
+
profile = "claude";
|
|
136
|
+
else if (relPath.startsWith(".kiro/"))
|
|
137
|
+
profile = "kiro";
|
|
138
|
+
files.push({
|
|
133
139
|
path: relPath,
|
|
140
|
+
profile,
|
|
134
141
|
sha256,
|
|
135
142
|
origin_sha256: UNKNOWN_ORIGIN,
|
|
136
143
|
});
|
|
@@ -143,7 +150,7 @@ export async function generateMigrationManifest(repoRoot, filePaths) {
|
|
|
143
150
|
version: "migrated",
|
|
144
151
|
pinned: "latest",
|
|
145
152
|
installed_at: new Date().toISOString(),
|
|
146
|
-
|
|
153
|
+
files,
|
|
147
154
|
extraction: {},
|
|
148
155
|
};
|
|
149
156
|
}
|
|
@@ -151,9 +158,12 @@ export async function generateMigrationManifest(repoRoot, filePaths) {
|
|
|
151
158
|
* Run the full migration process:
|
|
152
159
|
* 1. Detect legacy install
|
|
153
160
|
* 2. Discover legacy files
|
|
154
|
-
* 3.
|
|
155
|
-
* 4.
|
|
156
|
-
*
|
|
161
|
+
* 3. Generate manifest with UNKNOWN_ORIGIN (files stay at native paths)
|
|
162
|
+
* 4. Write manifest
|
|
163
|
+
*
|
|
164
|
+
* Files remain at their platform-native paths (.github/, .claude/, .kiro/).
|
|
165
|
+
* The manifest marks them with origin_sha256 = UNKNOWN_ORIGIN so the
|
|
166
|
+
* reconciliation engine reports conflicts on the first update.
|
|
157
167
|
*/
|
|
158
168
|
export async function runMigration(repoRoot) {
|
|
159
169
|
// Check if already migrated
|
|
@@ -178,15 +188,7 @@ export async function runMigration(repoRoot) {
|
|
|
178
188
|
}
|
|
179
189
|
// Discover all files in known legacy locations
|
|
180
190
|
const files = await discoverLegacyFiles(repoRoot);
|
|
181
|
-
//
|
|
182
|
-
const skillsDir = join(repoRoot, ".dev-tasks", "skills");
|
|
183
|
-
for (const relPath of files) {
|
|
184
|
-
const srcPath = join(repoRoot, relPath);
|
|
185
|
-
const destPath = join(skillsDir, relPath);
|
|
186
|
-
await mkdir(dirname(destPath), { recursive: true });
|
|
187
|
-
await copyFile(srcPath, destPath);
|
|
188
|
-
}
|
|
189
|
-
// Generate manifest with paths relative to .dev-tasks/skills/
|
|
191
|
+
// Generate manifest — files stay at native paths, no copying needed
|
|
190
192
|
const manifest = await generateMigrationManifest(repoRoot, files);
|
|
191
193
|
// Write manifest
|
|
192
194
|
await writeManifest(repoRoot, manifest);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrate.js","sourceRoot":"","sources":["../../../core/distribution/migrate.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"migrate.js","sourceRoot":"","sources":["../../../core/distribution/migrate.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,YAAY,EAAwC,MAAM,eAAe,CAAC;AAElG;;;;GAIG;AACH,MAAM,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4BAA4B;IAC5B,MAAM,QAAQ,GAAG,MAAM,YAAY,CAAC,QAAQ,CAAC,CAAC;IAC9C,IAAI,QAAQ,EAAE,CAAC;QACb,OAAO;YACL,OAAO,EAAE,IAAI;YACb,eAAe,EAAE,KAAK;YACtB,MAAM,EAAE,gDAAgD;YACxD,eAAe,EAAE,CAAC;SACnB,CAAC;IACJ,CAAC;IAED,gBAAgB;IAChB,MAAM,SAAS,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IAChD,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;QACxB,OAAO;YACL,OAAO,EAAE,IAAI;YACb,eAAe,EAAE,KAAK;YACtB,MAAM,EAAE,mDAAmD;YAC3D,eAAe,EAAE,CAAC;SACnB,CAAC;IACJ,CAAC;IAED,+CAA+C;IAC/C,MAAM,KAAK,GAAG,MAAM,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IAElD,oEAAoE;IACpE,MAAM,QAAQ,GAAG,MAAM,yBAAyB,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;IAElE,iBAAiB;IACjB,MAAM,aAAa,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAExC,OAAO;QACL,OAAO,EAAE,IAAI;QACb,eAAe,EAAE,IAAI;QACrB,MAAM,EAAE,YAAY,KAAK,CAAC,MAAM,8BAA8B;QAC9D,eAAe,EAAE,KAAK,CAAC,MAAM;KAC9B,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Profile-to-paths mapping for managed file distribution.
|
|
3
|
+
* Maps each platform profile to its source/target directory structure.
|
|
4
|
+
*/
|
|
5
|
+
/** Supported platform profiles. */
|
|
6
|
+
export type Profile = "copilot" | "claude" | "kiro" | "both" | "all";
|
|
7
|
+
/** Individual platform identifiers (excludes composite profiles). */
|
|
8
|
+
export type Platform = "copilot" | "claude" | "kiro";
|
|
9
|
+
/** A managed directory path entry within a platform. */
|
|
10
|
+
export interface ManagedPath {
|
|
11
|
+
/** Relative path inside the package (source). */
|
|
12
|
+
source: string;
|
|
13
|
+
/** Relative path in the consumer repo (target — same as source for platform dirs). */
|
|
14
|
+
target: string;
|
|
15
|
+
/** Whether to recurse into subdirectories. */
|
|
16
|
+
recursive: boolean;
|
|
17
|
+
}
|
|
18
|
+
/** Profile-to-paths mapping for each individual platform. */
|
|
19
|
+
export declare const PROFILE_PATHS: Record<Platform, ManagedPath[]>;
|
|
20
|
+
/** Valid profile values for CLI validation. */
|
|
21
|
+
export declare const VALID_PROFILES: readonly Profile[];
|
|
22
|
+
/**
|
|
23
|
+
* Resolve a composite profile name to its constituent platform list.
|
|
24
|
+
*/
|
|
25
|
+
export declare function resolveProfile(profile: Profile): Platform[];
|
|
26
|
+
/**
|
|
27
|
+
* Validate whether a string is a valid profile.
|
|
28
|
+
*/
|
|
29
|
+
export declare function isValidProfile(value: string): value is Profile;
|
|
30
|
+
//# sourceMappingURL=profiles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../../core/distribution/profiles.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,mCAAmC;AACnC,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;AAErE,qEAAqE;AACrE,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;AAErD,wDAAwD;AACxD,MAAM,WAAW,WAAW;IAC1B,iDAAiD;IACjD,MAAM,EAAE,MAAM,CAAC;IACf,sFAAsF;IACtF,MAAM,EAAE,MAAM,CAAC;IACf,8CAA8C;IAC9C,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,6DAA6D;AAC7D,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,QAAQ,EAAE,WAAW,EAAE,CAmBzD,CAAC;AAEF,+CAA+C;AAC/C,eAAO,MAAM,cAAc,EAAE,SAAS,OAAO,EAMnC,CAAC;AAEX;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,QAAQ,EAAE,CAa3D;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,OAAO,CAE9D"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Profile-to-paths mapping for managed file distribution.
|
|
3
|
+
* Maps each platform profile to its source/target directory structure.
|
|
4
|
+
*/
|
|
5
|
+
/** Profile-to-paths mapping for each individual platform. */
|
|
6
|
+
export const PROFILE_PATHS = {
|
|
7
|
+
copilot: [
|
|
8
|
+
{ source: ".github/agents", target: ".github/agents", recursive: false },
|
|
9
|
+
{ source: ".github/skills", target: ".github/skills", recursive: true },
|
|
10
|
+
{ source: ".github/instructions", target: ".github/instructions", recursive: true },
|
|
11
|
+
{ source: ".github/prompts", target: ".github/prompts", recursive: false },
|
|
12
|
+
],
|
|
13
|
+
claude: [
|
|
14
|
+
{ source: ".claude/agents", target: ".claude/agents", recursive: false },
|
|
15
|
+
{ source: ".claude/skills", target: ".claude/skills", recursive: true },
|
|
16
|
+
{ source: ".claude/commands", target: ".claude/commands", recursive: false },
|
|
17
|
+
{ source: ".claude/hooks", target: ".claude/hooks", recursive: true },
|
|
18
|
+
],
|
|
19
|
+
kiro: [
|
|
20
|
+
{ source: ".kiro/agents", target: ".kiro/agents", recursive: false },
|
|
21
|
+
{ source: ".kiro/skills", target: ".kiro/skills", recursive: true },
|
|
22
|
+
{ source: ".kiro/steering", target: ".kiro/steering", recursive: false },
|
|
23
|
+
{ source: ".kiro/hooks", target: ".kiro/hooks", recursive: true },
|
|
24
|
+
],
|
|
25
|
+
};
|
|
26
|
+
/** Valid profile values for CLI validation. */
|
|
27
|
+
export const VALID_PROFILES = [
|
|
28
|
+
"copilot",
|
|
29
|
+
"claude",
|
|
30
|
+
"kiro",
|
|
31
|
+
"both",
|
|
32
|
+
"all",
|
|
33
|
+
];
|
|
34
|
+
/**
|
|
35
|
+
* Resolve a composite profile name to its constituent platform list.
|
|
36
|
+
*/
|
|
37
|
+
export function resolveProfile(profile) {
|
|
38
|
+
switch (profile) {
|
|
39
|
+
case "copilot":
|
|
40
|
+
return ["copilot"];
|
|
41
|
+
case "claude":
|
|
42
|
+
return ["claude"];
|
|
43
|
+
case "kiro":
|
|
44
|
+
return ["kiro"];
|
|
45
|
+
case "both":
|
|
46
|
+
return ["copilot", "claude"];
|
|
47
|
+
case "all":
|
|
48
|
+
return ["copilot", "claude", "kiro"];
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Validate whether a string is a valid profile.
|
|
53
|
+
*/
|
|
54
|
+
export function isValidProfile(value) {
|
|
55
|
+
return VALID_PROFILES.includes(value);
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=profiles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profiles.js","sourceRoot":"","sources":["../../../core/distribution/profiles.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAkBH,6DAA6D;AAC7D,MAAM,CAAC,MAAM,aAAa,GAAoC;IAC5D,OAAO,EAAE;QACP,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,gBAAgB,EAAE,SAAS,EAAE,KAAK,EAAE;QACxE,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,gBAAgB,EAAE,SAAS,EAAE,IAAI,EAAE;QACvE,EAAE,MAAM,EAAE,sBAAsB,EAAE,MAAM,EAAE,sBAAsB,EAAE,SAAS,EAAE,IAAI,EAAE;QACnF,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,iBAAiB,EAAE,SAAS,EAAE,KAAK,EAAE;KAC3E;IACD,MAAM,EAAE;QACN,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,gBAAgB,EAAE,SAAS,EAAE,KAAK,EAAE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,OAAO,cAAc,CAAC,QAAQ,CAAC,KAAgB,CAAC,CAAC;AACnD,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Update command logic — reconcile
|
|
2
|
+
* Update command logic — reconcile all managed files against the package.
|
|
3
3
|
* Uses the generic reconcile engine from core/reconcile.ts.
|
|
4
|
+
* Works across all platform profiles (copilot, claude, kiro).
|
|
4
5
|
*/
|
|
5
6
|
import { type ReconcileAction } from "../reconcile.js";
|
|
6
7
|
export interface UpdateFileResult {
|
|
7
8
|
path: string;
|
|
9
|
+
profile: string;
|
|
8
10
|
action: ReconcileAction;
|
|
9
11
|
localHash: string | null;
|
|
10
12
|
originHash: string;
|
|
@@ -20,7 +22,7 @@ export interface UpdateResult {
|
|
|
20
22
|
export interface UpdateOptions {
|
|
21
23
|
/** Path to the target repo root (where .dev-tasks/ lives) */
|
|
22
24
|
targetDir: string;
|
|
23
|
-
/** Path to the package source directory (contains
|
|
25
|
+
/** Path to the package source directory (contains .github/, .claude/, .kiro/) */
|
|
24
26
|
sourceDir: string;
|
|
25
27
|
/** Whether to force-overwrite conflicting files (backs them up first) */
|
|
26
28
|
force: boolean;
|
|
@@ -28,9 +30,9 @@ export interface UpdateOptions {
|
|
|
28
30
|
version: string;
|
|
29
31
|
}
|
|
30
32
|
/**
|
|
31
|
-
* Run the update reconciliation for all
|
|
33
|
+
* Run the update reconciliation for all managed files in the manifest.
|
|
32
34
|
*
|
|
33
|
-
* For each
|
|
35
|
+
* For each managed file:
|
|
34
36
|
* 1. Compute localHash from the installed file (null if missing)
|
|
35
37
|
* 2. Read originHash from the manifest
|
|
36
38
|
* 3. Compute packageHash from the package source
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../core/distribution/update.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../core/distribution/update.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAa,KAAK,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlE,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,eAAe,CAAC;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,aAAa;IAC5B,6DAA6D;IAC7D,SAAS,EAAE,MAAM,CAAC;IAClB,iFAAiF;IACjF,SAAS,EAAE,MAAM,CAAC;IAClB,yEAAyE;IACzE,KAAK,EAAE,OAAO,CAAC;IACf,8BAA8B;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB;AAcD;;;;;;;;;GASG;AACH,wBAAsB,SAAS,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,YAAY,CAAC,CA2H7E"}
|