blun-king-cli 9.1.432 → 9.1.434

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/blun.mjs +2 -2
  2. package/package.json +1 -1
package/blun.mjs CHANGED
@@ -232256,7 +232256,7 @@ var init_validated_learning_signal = __esmMin((() => {
232256
232256
  const signal = syncValidatedLearningCandidate(this.agent.context.history, {
232257
232257
  homeDir: process.env["BLUN_SHARED_HOME"] ?? process.env["BLUN_HOME"] ?? "",
232258
232258
  profile: process.env["BLUN_PROFILE"] ?? "default",
232259
- projectDir: process.cwd()
232259
+ projectDir: this.agent.config.cwd
232260
232260
  });
232261
232261
  if (signal === null) {
232262
232262
  if (existing.length > 0) this.agent.context.removeSystemRemindersMatching(isValidatedLearningSignalReminder);
@@ -504150,8 +504150,8 @@ function resolveEditorCommand(configured) {
504150
504150
  async function editInExternalEditor(initialText, command) {
504151
504151
  const dir = await mkdtemp(join(tmpdir(), "blun-edit-"));
504152
504152
  const file = join(dir, "prompt.md");
504153
- await writeFile(file, initialText, "utf-8");
504154
504153
  try {
504154
+ await writeFile(file, initialText, "utf-8");
504155
504155
  const shellCmd = `${command} ${quoteShellArg(file)}`;
504156
504156
  if (await new Promise((resolve, reject) => {
504157
504157
  const child = spawn(shellCmd, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blun-king-cli",
3
- "version": "9.1.432",
3
+ "version": "9.1.434",
4
4
  "description": "BLUN CLI - your own AI agent with a Telegram channel. Get it done. With BLUN.",
5
5
  "license": "MIT",
6
6
  "bin": {