@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/built-version +1 -1
- package/dist/commands/extension/extension/content.js +1 -1
- package/dist/commands/extension/extension/docs.js +1 -1
- package/dist/commands/extension/extension/updates.json +2 -2
- package/dist/commands/sessions/web/bundle.js +433 -433
- package/dist/index.js +8 -2
- package/package.json +1 -1
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.
|
|
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
|
);
|