@deployxai/dxc 0.1.13 → 0.2.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.
Files changed (41) hide show
  1. package/README.md +4 -5
  2. package/dist/chunks/chunk-7DMYDQPR.js +1324 -0
  3. package/dist/chunks/{knowledge-MNDWLVLM.js → knowledge-MHD76CG4.js} +2 -4
  4. package/dist/index.js +28334 -30531
  5. package/package.json +1 -1
  6. package/skills/dxc-content-workflow/SKILL.md +69 -243
  7. package/skills/dxc-content-workflow/references/onboarding-questions.md +2 -7
  8. package/skills/dxc-content-workflow/references/stages.md +79 -0
  9. package/skills/dxc-knowledge/SKILL.md +2 -2
  10. package/skills/dxc-memory/SKILL.md +2 -2
  11. package/skills/dxc-profile/SKILL.md +4 -4
  12. package/skills/dxc-quote-curator/SKILL.md +4 -6
  13. package/dist/chunks/chunk-DDKUG5EV.js +0 -2126
  14. package/dist/chunks/chunk-RONRJJBC.js +0 -2379
  15. package/dist/chunks/chunk-ZKJQWR2J.js +0 -37
  16. package/dist/chunks/monitor-ACOHQYOE.js +0 -694
  17. package/skills/dxc-article-outline/SKILL.md +0 -71
  18. package/skills/dxc-article-outline/agents/openai.yaml +0 -6
  19. package/skills/dxc-article-outline/references/outline-methods.md +0 -58
  20. package/skills/dxc-article-write/SKILL.md +0 -105
  21. package/skills/dxc-article-write/agents/openai.yaml +0 -6
  22. package/skills/dxc-article-write/references/writing-methods.md +0 -62
  23. package/skills/dxc-content-brief/SKILL.md +0 -72
  24. package/skills/dxc-content-brief/agents/openai.yaml +0 -6
  25. package/skills/dxc-content-brief/references/brief-method.md +0 -52
  26. package/skills/dxc-content-review/SKILL.md +0 -82
  27. package/skills/dxc-content-review/agents/openai.yaml +0 -6
  28. package/skills/dxc-content-review/references/review-checklist.md +0 -52
  29. package/skills/dxc-content-workflow/references/catalog.json +0 -137
  30. package/skills/dxc-content-workflow/references/stage-contract.md +0 -121
  31. package/skills/dxc-research/SKILL.md +0 -134
  32. package/skills/dxc-research/agents/openai.yaml +0 -6
  33. package/skills/dxc-research/references/research-method.md +0 -80
  34. package/skills/dxc-title-write/SKILL.md +0 -104
  35. package/skills/dxc-title-write/agents/openai.yaml +0 -6
  36. package/skills/dxc-title-write/references/title-methods.md +0 -41
  37. package/skills/dxc-visual-plan/SKILL.md +0 -209
  38. package/skills/dxc-visual-plan/agents/openai.yaml +0 -6
  39. package/skills/dxc-visual-plan/references/visual-methods.md +0 -53
  40. package/skills/dxc-wechat-publisher/SKILL.md +0 -226
  41. package/skills/dxc-wechat-publisher/agents/openai.yaml +0 -6
@@ -1,37 +0,0 @@
1
- import { createRequire as __dxcCreateRequire } from "node:module"; const require = __dxcCreateRequire(import.meta.url);
2
-
3
- // apps/cli/src/user-path.ts
4
- import path from "node:path";
5
- function expandHome(input, homeDirectory, pathApi) {
6
- if (input === "~") {
7
- return homeDirectory;
8
- }
9
- if (input.startsWith("~/") || input.startsWith("~\\")) {
10
- return pathApi.join(homeDirectory, input.slice(2));
11
- }
12
- return input;
13
- }
14
- function windowsShellPath(input) {
15
- const msys = /^\/([a-z])(?:\/(.*))?$/iu.exec(input);
16
- if (msys !== null) {
17
- return `${msys[1]?.toUpperCase()}:\\${(msys[2] ?? "").replaceAll("/", "\\")}`;
18
- }
19
- const mounted = /^\/(?:cygdrive|mnt)\/([a-z])(?:\/(.*))?$/iu.exec(input);
20
- if (mounted !== null) {
21
- return `${mounted[1]?.toUpperCase()}:\\${(mounted[2] ?? "").replaceAll("/", "\\")}`;
22
- }
23
- return input;
24
- }
25
- function resolveUserPath(options) {
26
- const platform = options.platform ?? process.platform;
27
- const pathApi = platform === "win32" ? path.win32 : path.posix;
28
- const expanded = expandHome(options.input, options.homeDirectory, pathApi);
29
- if (platform === "win32") {
30
- return pathApi.resolve(options.currentDirectory, windowsShellPath(expanded));
31
- }
32
- return pathApi.resolve(options.currentDirectory, expanded);
33
- }
34
-
35
- export {
36
- resolveUserPath
37
- };