@deployxai/dxc 0.1.13 → 0.2.1
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 +6 -5
- package/dist/chunks/chunk-7DMYDQPR.js +1324 -0
- package/dist/chunks/{knowledge-MNDWLVLM.js → knowledge-MHD76CG4.js} +2 -4
- package/dist/index.js +28494 -30586
- package/package.json +1 -1
- package/skills/dxc-article-outline/SKILL.md +14 -57
- package/skills/dxc-article-outline/agents/openai.yaml +2 -2
- package/skills/dxc-article-outline/references/outline-methods.md +1 -2
- package/skills/dxc-article-write/SKILL.md +15 -91
- package/skills/dxc-article-write/agents/openai.yaml +2 -2
- package/skills/dxc-article-write/references/writing-methods.md +2 -2
- package/skills/dxc-content-brief/SKILL.md +17 -56
- package/skills/dxc-content-brief/agents/openai.yaml +2 -2
- package/skills/dxc-content-brief/references/brief-method.md +3 -3
- package/skills/dxc-content-review/SKILL.md +15 -62
- package/skills/dxc-content-review/agents/openai.yaml +2 -2
- package/skills/dxc-content-review/references/review-checklist.md +3 -4
- package/skills/dxc-content-workflow/SKILL.md +92 -243
- package/skills/dxc-content-workflow/agents/openai.yaml +2 -2
- package/skills/dxc-content-workflow/references/onboarding-questions.md +2 -7
- package/skills/dxc-content-workflow/references/stages.md +79 -0
- package/skills/dxc-knowledge/SKILL.md +2 -2
- package/skills/dxc-memory/SKILL.md +2 -2
- package/skills/dxc-profile/SKILL.md +4 -4
- package/skills/dxc-project-overview/SKILL.md +26 -0
- package/skills/dxc-project-overview/agents/openai.yaml +6 -0
- package/skills/dxc-quote-curator/SKILL.md +4 -6
- package/skills/dxc-research/SKILL.md +21 -116
- package/skills/dxc-research/agents/openai.yaml +2 -2
- package/skills/dxc-research/references/research-method.md +11 -14
- package/skills/dxc-title-write/SKILL.md +16 -86
- package/skills/dxc-title-write/agents/openai.yaml +2 -2
- package/skills/dxc-title-write/references/title-methods.md +3 -3
- package/skills/dxc-visual-plan/SKILL.md +16 -195
- package/skills/dxc-visual-plan/agents/openai.yaml +2 -2
- package/skills/dxc-visual-plan/references/visual-methods.md +7 -7
- package/skills/dxc-wechat-publisher/SKILL.md +23 -210
- package/skills/dxc-wechat-publisher/agents/openai.yaml +2 -2
- package/dist/chunks/chunk-DDKUG5EV.js +0 -2126
- package/dist/chunks/chunk-RONRJJBC.js +0 -2379
- package/dist/chunks/chunk-ZKJQWR2J.js +0 -37
- package/dist/chunks/monitor-ACOHQYOE.js +0 -694
- package/skills/dxc-content-workflow/references/catalog.json +0 -137
- package/skills/dxc-content-workflow/references/stage-contract.md +0 -121
|
@@ -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
|
-
};
|