@dv.nghiem/flowdeck 0.2.2 → 0.2.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AA2EjD,QAAA,MAAM,MAAM,EAAE,MAsJb,CAAA;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AA2EjD,QAAA,MAAM,MAAM,EAAE,MAoKb,CAAA;AAED,eAAe,MAAM,CAAA"}
package/dist/index.js CHANGED
@@ -5628,6 +5628,19 @@ var plugin = async (input, _options) => {
5628
5628
  }
5629
5629
  }
5630
5630
  }
5631
+ const skillsDir = join22(dirname4(fileURLToPath2(import.meta.url)), "..", "src", "skills");
5632
+ if (existsSync23(skillsDir)) {
5633
+ const cfgAny = cfg;
5634
+ if (!cfgAny.skills || typeof cfgAny.skills !== "object") {
5635
+ cfgAny.skills = { paths: [] };
5636
+ }
5637
+ const cfgSkills = cfgAny.skills;
5638
+ if (!cfgSkills.paths)
5639
+ cfgSkills.paths = [];
5640
+ if (!cfgSkills.paths.includes(skillsDir)) {
5641
+ cfgSkills.paths.push(skillsDir);
5642
+ }
5643
+ }
5631
5644
  },
5632
5645
  tool: {
5633
5646
  "planning-state": planningStateTool,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dv.nghiem/flowdeck",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "FlowDeck — structured planning and execution workflows for OpenCode",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",