codexapp 0.1.37 → 0.1.38

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/dist/index.html CHANGED
@@ -4,8 +4,8 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Codex Web Local</title>
7
- <script type="module" crossorigin src="/assets/index-DYCVbzKq.js"></script>
8
- <link rel="stylesheet" crossorigin href="/assets/index-B09aWGYu.css">
7
+ <script type="module" crossorigin src="/assets/index-a31kfCUK.js"></script>
8
+ <link rel="stylesheet" crossorigin href="/assets/index-CjOdBzga.css">
9
9
  </head>
10
10
  <body class="bg-slate-950">
11
11
  <div id="app"></div>
package/dist-cli/index.js CHANGED
@@ -67,18 +67,6 @@ function getCodexHomeDir() {
67
67
  function getSkillsInstallDir() {
68
68
  return join(getCodexHomeDir(), "skills");
69
69
  }
70
- function resolveSkillInstallerScriptPath() {
71
- const relPath = join(".system", "skill-installer", "scripts", "install-skill-from-github.py");
72
- const candidates = [
73
- join(getSkillsInstallDir(), relPath),
74
- join(homedir(), ".codex", "skills", relPath),
75
- join(homedir(), ".cursor", "skills", relPath)
76
- ];
77
- for (const candidate of candidates) {
78
- if (existsSync(candidate)) return candidate;
79
- }
80
- throw new Error(`Skill installer script not found. Checked: ${candidates.join(", ")}`);
81
- }
82
70
  async function runCommand(command, args, options = {}) {
83
71
  await new Promise((resolve2, reject) => {
84
72
  const proc = spawn(command, args, {
@@ -1003,7 +991,7 @@ async function handleSkillsRoutes(req, res, url, context) {
1003
991
  }
1004
992
  const localDir = await detectUserSkillsDir(appServer);
1005
993
  await pullInstalledSkillsFolderFromRepo(state.githubToken, state.repoOwner, state.repoName);
1006
- const installerScript = resolveSkillInstallerScriptPath();
994
+ const installerScript = "/Users/igor/.cursor/skills/.system/skill-installer/scripts/install-skill-from-github.py";
1007
995
  const localSkills = await scanInstalledSkillsFromDisk();
1008
996
  for (const skill of remote) {
1009
997
  const owner = skill.owner || uniqueOwnerByName.get(skill.name) || "";
@@ -1073,7 +1061,7 @@ async function handleSkillsRoutes(req, res, url, context) {
1073
1061
  setJson(res, 400, { error: "Missing owner or name" });
1074
1062
  return true;
1075
1063
  }
1076
- const installerScript = resolveSkillInstallerScriptPath();
1064
+ const installerScript = "/Users/igor/.cursor/skills/.system/skill-installer/scripts/install-skill-from-github.py";
1077
1065
  const installDest = await detectUserSkillsDir(appServer);
1078
1066
  await runCommand("python3", [
1079
1067
  installerScript,