deepcode-ai 1.1.29 → 1.1.30

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
@@ -3129,21 +3129,21 @@ function resolveTurnStrategy(input, mode, policy) {
3129
3129
  intent
3130
3130
  };
3131
3131
  }
3132
- if (mode === "plan") {
3132
+ if (intent.kind === "direct_utility") {
3133
3133
  return {
3134
3134
  allowTools: true,
3135
3135
  shouldPlan: false,
3136
- systemPrompt: PLAN_SYSTEM_PROMPT,
3137
- kind: "task",
3136
+ systemPrompt: UTILITY_SYSTEM_PROMPT,
3137
+ kind: "utility",
3138
3138
  intent
3139
3139
  };
3140
3140
  }
3141
- if (intent.kind === "direct_utility") {
3141
+ if (mode === "plan") {
3142
3142
  return {
3143
3143
  allowTools: true,
3144
3144
  shouldPlan: false,
3145
- systemPrompt: UTILITY_SYSTEM_PROMPT,
3146
- kind: "utility",
3145
+ systemPrompt: PLAN_SYSTEM_PROMPT,
3146
+ kind: "task",
3147
3147
  intent
3148
3148
  };
3149
3149
  }
@@ -28163,7 +28163,7 @@ function parseVersion2(version) {
28163
28163
  if (!match) return null;
28164
28164
  return [Number(match[1]), Number(match[2]), Number(match[3])];
28165
28165
  }
28166
- var VERSION = "1.1.29".length > 0 ? "1.1.29" : "0.0.0-dev";
28166
+ var VERSION = "1.1.30".length > 0 ? "1.1.30" : "0.0.0-dev";
28167
28167
  var updateCommand = {
28168
28168
  name: "update",
28169
28169
  description: "Check published DeepCode versions",