@wu529778790/open-im 1.11.3-beta.3 → 1.11.3-beta.5

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/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -219,7 +219,7 @@ function buildStartupMessage(platform, appVersion, aiCommand, defaultWorkDir, se
219
219
  }
220
220
  const platformName = PLATFORM_DISPLAY_NAMES[platform] ?? platform;
221
221
  const toolName = getAIToolDisplayName(aiCommand);
222
- const dir = sessionDir ? escapePathForMarkdown(sessionDir) : '发送 `/pwd` 查看';
222
+ const dir = escapePathForMarkdown(sessionDir || defaultWorkDir);
223
223
  return buildNotification({
224
224
  emoji: "✅",
225
225
  title: `open-im v${appVersion} 已就绪`,
@@ -340,7 +340,7 @@ export async function main() {
340
340
  log.info(`Successfully initialized platforms: ${successfulPlatforms.join(", ")}`);
341
341
  // Send notification only to successfully initialized platforms
342
342
  for (const platform of successfulPlatforms) {
343
- const startupMsg = buildStartupMessage(platform, APP_VERSION, resolvePlatformAiCommand(config, platform), startupCwd, sessionManager);
343
+ const startupMsg = buildStartupMessage(platform, APP_VERSION, resolvePlatformAiCommand(config, platform), config.claudeWorkDir, sessionManager);
344
344
  await sendLifecycleNotification(platform, startupMsg).catch((err) => {
345
345
  log.warn(`Failed to send startup notification to ${platform}:`, err);
346
346
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wu529778790/open-im",
3
- "version": "1.11.3-beta.3",
3
+ "version": "1.11.3-beta.5",
4
4
  "description": "Your AI coding assistant, in every chat app. Multi-platform IM bridge for Claude Code, Codex, and CodeBuddy.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",