claw-subagent-service 0.0.74 → 0.0.75

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claw-subagent-service",
3
- "version": "0.0.74",
3
+ "version": "0.0.75",
4
4
  "description": "虾说智能助手",
5
5
  "main": "cli.js",
6
6
  "bin": {
@@ -20,7 +20,8 @@ class SystemConfigManager {
20
20
  */
21
21
  async fetchConfig(configKey) {
22
22
  try {
23
- const url = `${this.serverUrl}/api/system/config/${configKey}`;
23
+ const url = `${this.serverUrl}/im/api/system/config/${configKey}`;
24
+ this.log?.info(`[SystemConfig] 正在请求配置: ${configKey}, URL=${url}`);
24
25
  const response = await axios.get(url, { timeout: 10000 });
25
26
 
26
27
  if (response.data?.code === 200 && response.data?.data?.value) {
@@ -33,7 +34,7 @@ class SystemConfigManager {
33
34
  this.log?.warn(`[SystemConfig] 获取配置失败: ${configKey}, code=${response.data?.code}`);
34
35
  return null;
35
36
  } catch (err) {
36
- this.log?.error(`[SystemConfig] 获取配置异常: ${configKey}, ${err.message}`);
37
+ this.log?.error(`[SystemConfig] 获取配置异常: ${configKey}, URL=${this.serverUrl}/im/api/system/config/${configKey}, ${err.message}`);
37
38
  return null;
38
39
  }
39
40
  }