@staff0rd/assist 0.1073.1 → 0.1074.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/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { Command } from "commander";
6
6
  // package.json
7
7
  var package_default = {
8
8
  name: "@staff0rd/assist",
9
- version: "0.1073.1",
9
+ version: "0.1074.1",
10
10
  type: "module",
11
11
  main: "dist/index.js",
12
12
  bin: {
@@ -20159,6 +20159,12 @@ function buildHarnessCodexArgs() {
20159
20159
  return buildLitellmCodexArgs(loadConfig().harness.codexModel);
20160
20160
  }
20161
20161
 
20162
+ // src/shared/neutralizeCodexSkillMentions.ts
20163
+ var WORD_JOINER = "\u2060";
20164
+ function neutralizeCodexSkillMentions(prompt) {
20165
+ return prompt.replace(/\$(?=[a-z])/g, `$${WORD_JOINER}`);
20166
+ }
20167
+
20162
20168
  // src/shared/spawnCodex.ts
20163
20169
  function spawnCodex(prompt, options2 = {}) {
20164
20170
  const cwd = options2.cwd ?? process.cwd();
@@ -20171,7 +20177,7 @@ function spawnCodex(prompt, options2 = {}) {
20171
20177
  cwd,
20172
20178
  "--sandbox",
20173
20179
  options2.sandbox ?? "workspace-write",
20174
- prompt
20180
+ neutralizeCodexSkillMentions(prompt)
20175
20181
  ],
20176
20182
  { env: override.env }
20177
20183
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.1073.1",
3
+ "version": "0.1074.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {