holycodex 0.7.4-dev.29697228792.1 → 0.7.4-dev.29698722339.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.
Files changed (2) hide show
  1. package/dist/cli.js +21 -10
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -4056,23 +4056,26 @@ function detectPackageRunner(env = process.env) {
4056
4056
  return `${env.npm_execpath ?? ""} ${env.npm_config_user_agent ?? ""}`.toLowerCase().includes("bun") ? "bun" : "npm";
4057
4057
  }
4058
4058
  /** Builds the runner-specific codexslimedit invocation. */
4059
- function codexSlimEditInvocation(runner, versionOnly) {
4060
- const args = ["codexslimedit@latest", ...versionOnly ? ["--version"] : []];
4061
- return runner === "bun" ? {
4059
+ function codexSlimEditInvocation(input) {
4060
+ const args = [input.packageVersion.includes("-dev.") ? "codexslimedit@dev" : "codexslimedit@latest", ...input.includeVersion ? ["--version"] : []];
4061
+ return input.packageRunner === "bun" ? {
4062
4062
  command: "bunx",
4063
4063
  args
4064
4064
  } : {
4065
- command: "npx",
4065
+ command: input.platform === "win32" ? "npx.cmd" : "npx",
4066
4066
  args: ["--yes", ...args]
4067
4067
  };
4068
4068
  }
4069
4069
  /** Pre-resolves codexslimedit through the invoking package runner. */
4070
- async function installCodexSlimEdit(runner, platform = process.platform, env = process.env) {
4070
+ async function installCodexSlimEdit(input, env = process.env) {
4071
4071
  if (env.NODE_ENV === "test" && env.HOLYCODEX_TEST_SKIP_PACKAGE_RESOLUTION === "1") return;
4072
- const invocation = codexSlimEditInvocation(runner, true);
4072
+ const invocation = codexSlimEditInvocation({
4073
+ ...input,
4074
+ includeVersion: true
4075
+ });
4073
4076
  const result = await runManagedProcess({
4074
4077
  ...invocation,
4075
- platform,
4078
+ platform: input.platform,
4076
4079
  timeoutMs: PACKAGE_INSTALL_TIMEOUT_MS,
4077
4080
  maxOutputChars: PACKAGE_INSTALL_OUTPUT_LIMIT
4078
4081
  });
@@ -4082,7 +4085,7 @@ async function installCodexSlimEdit(runner, platform = process.platform, env = p
4082
4085
  }
4083
4086
  //#endregion
4084
4087
  //#region packages/cli/src/catalog.ts
4085
- var VERSION = "0.7.4-dev.29697228792.1";
4088
+ var VERSION = "0.7.4-dev.29698722339.1";
4086
4089
  var SKILLS = [
4087
4090
  "ast-grep",
4088
4091
  "caveman",
@@ -4458,7 +4461,11 @@ var GENERATED_RUNTIMES = [
4458
4461
  var WINDOWS_SHELL_POLICY = "On native Windows, before the first shell action, inspect callable and deferred tools until `mcp__git_bash__run` is resolved. Use it for every shell command, including Git, Bash, POSIX, package, build, test, and script commands. If unavailable, stop and report the blocker. Never fall back to PowerShell or cmd.";
4459
4462
  /** Provides effective mcp servers. */
4460
4463
  function effectiveMcpServers(platform, packageRunner = "bun") {
4461
- const codexSlimEdit = codexSlimEditInvocation(packageRunner, false);
4464
+ const codexSlimEdit = codexSlimEditInvocation({
4465
+ packageRunner,
4466
+ platform,
4467
+ packageVersion: VERSION
4468
+ });
4462
4469
  return {
4463
4470
  ...platform === "win32" ? { git_bash: {
4464
4471
  command: "node",
@@ -5065,7 +5072,11 @@ var defaultRuntime = {
5065
5072
  platform: process.platform,
5066
5073
  gitBash: resolveGitBashForCurrentProcess,
5067
5074
  packageRunner: detectPackageRunner(),
5068
- installCodexSlimEdit: async (runner) => installCodexSlimEdit(runner)
5075
+ installCodexSlimEdit: async (packageRunner) => installCodexSlimEdit({
5076
+ packageRunner,
5077
+ packageVersion: VERSION,
5078
+ platform: process.platform
5079
+ })
5069
5080
  };
5070
5081
  function paths(home = process.env.CODEX_HOME ?? join(homedir(), ".codex")) {
5071
5082
  const marketplaceCache = join(home, "plugins", "cache", "holycodex");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "holycodex",
3
- "version": "0.7.4-dev.29697228792.1",
3
+ "version": "0.7.4-dev.29698722339.1",
4
4
  "description": "Lean Codex-only agent toolkit installer and doctor",
5
5
  "keywords": [
6
6
  "agents",
@@ -39,7 +39,7 @@
39
39
  "prepack": "vp run --workspace-root build"
40
40
  },
41
41
  "dependencies": {
42
- "@holycodex/plugin": "0.7.4-dev.29697228792.1",
42
+ "@holycodex/plugin": "0.7.4-dev.29698722339.1",
43
43
  "zod": "^4.4.3"
44
44
  },
45
45
  "engines": {