prjct-cli 0.40.0 → 0.41.0
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/core/integrations/jira/cache.ts +57 -0
- package/core/integrations/jira/index.ts +16 -11
- package/core/integrations/jira/service.ts +244 -0
- package/core/integrations/linear/cache.ts +68 -0
- package/core/integrations/linear/index.ts +15 -1
- package/core/integrations/linear/service.ts +260 -0
- package/dist/bin/prjct.mjs +17 -6
- package/dist/core/infrastructure/setup.js +192 -238
- package/package.json +1 -1
- package/templates/commands/done.md +24 -1
- package/templates/commands/jira.md +91 -139
- package/templates/commands/linear.md +81 -130
- package/templates/commands/task.md +66 -2
- package/templates/mcp-config.json +4 -20
package/dist/bin/prjct.mjs
CHANGED
|
@@ -9891,17 +9891,28 @@ var init_orchestrator_executor = __esm({
|
|
|
9891
9891
|
for (const agent of agents) {
|
|
9892
9892
|
for (const skillName of agent.skills) {
|
|
9893
9893
|
if (loadedSkillNames.has(skillName)) continue;
|
|
9894
|
-
const
|
|
9894
|
+
const flatPath = path21.join(skillsDir, `${skillName}.md`);
|
|
9895
|
+
const subdirPath = path21.join(skillsDir, skillName, "SKILL.md");
|
|
9896
|
+
let content = null;
|
|
9897
|
+
let resolvedPath = flatPath;
|
|
9895
9898
|
try {
|
|
9896
|
-
|
|
9899
|
+
content = await fs22.readFile(subdirPath, "utf-8");
|
|
9900
|
+
resolvedPath = subdirPath;
|
|
9901
|
+
} catch {
|
|
9902
|
+
try {
|
|
9903
|
+
content = await fs22.readFile(flatPath, "utf-8");
|
|
9904
|
+
resolvedPath = flatPath;
|
|
9905
|
+
} catch {
|
|
9906
|
+
console.warn(`Skill not found: ${skillName}`);
|
|
9907
|
+
}
|
|
9908
|
+
}
|
|
9909
|
+
if (content) {
|
|
9897
9910
|
skills.push({
|
|
9898
9911
|
name: skillName,
|
|
9899
9912
|
content,
|
|
9900
|
-
filePath:
|
|
9913
|
+
filePath: resolvedPath
|
|
9901
9914
|
});
|
|
9902
9915
|
loadedSkillNames.add(skillName);
|
|
9903
|
-
} catch {
|
|
9904
|
-
console.warn(`Skill not found: ${skillName}`);
|
|
9905
9916
|
}
|
|
9906
9917
|
}
|
|
9907
9918
|
}
|
|
@@ -15877,7 +15888,7 @@ var require_package = __commonJS({
|
|
|
15877
15888
|
"package.json"(exports, module) {
|
|
15878
15889
|
module.exports = {
|
|
15879
15890
|
name: "prjct-cli",
|
|
15880
|
-
version: "0.
|
|
15891
|
+
version: "0.40.0",
|
|
15881
15892
|
description: "Context layer for AI agents. Project context for Claude Code, Gemini CLI, and more.",
|
|
15882
15893
|
main: "core/index.ts",
|
|
15883
15894
|
bin: {
|