deepcode-ai 1.1.39 → 1.1.40
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 +34 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1927,7 +1927,14 @@ var BuildTurnPolicySchema = z.object({
|
|
|
1927
1927
|
"projeto",
|
|
1928
1928
|
"agente",
|
|
1929
1929
|
"ferramenta",
|
|
1930
|
-
"ferramentas"
|
|
1930
|
+
"ferramentas",
|
|
1931
|
+
"melhoria",
|
|
1932
|
+
"melhorias",
|
|
1933
|
+
"sugestao",
|
|
1934
|
+
"sugestoes",
|
|
1935
|
+
"codigo",
|
|
1936
|
+
"funcionalidade",
|
|
1937
|
+
"funcionalidades"
|
|
1931
1938
|
]),
|
|
1932
1939
|
taskVerbs: BuildTurnPolicyStringArraySchema.default([
|
|
1933
1940
|
"read",
|
|
@@ -1957,6 +1964,16 @@ var BuildTurnPolicySchema = z.object({
|
|
|
1957
1964
|
"show",
|
|
1958
1965
|
"plan",
|
|
1959
1966
|
"write",
|
|
1967
|
+
"propose",
|
|
1968
|
+
"suggest",
|
|
1969
|
+
"improve",
|
|
1970
|
+
"optimize",
|
|
1971
|
+
"add",
|
|
1972
|
+
"remove",
|
|
1973
|
+
"delete",
|
|
1974
|
+
"migrate",
|
|
1975
|
+
"deploy",
|
|
1976
|
+
"build",
|
|
1960
1977
|
"leia",
|
|
1961
1978
|
"abra",
|
|
1962
1979
|
"inspecione",
|
|
@@ -1981,7 +1998,20 @@ var BuildTurnPolicySchema = z.object({
|
|
|
1981
1998
|
"compare",
|
|
1982
1999
|
"mostre",
|
|
1983
2000
|
"planeje",
|
|
1984
|
-
"escreva"
|
|
2001
|
+
"escreva",
|
|
2002
|
+
"proponha",
|
|
2003
|
+
"sugira",
|
|
2004
|
+
"melhore",
|
|
2005
|
+
"otimize",
|
|
2006
|
+
"adicione",
|
|
2007
|
+
"remova",
|
|
2008
|
+
"delete",
|
|
2009
|
+
"veja",
|
|
2010
|
+
"olhe",
|
|
2011
|
+
"configure",
|
|
2012
|
+
"configure",
|
|
2013
|
+
"migre",
|
|
2014
|
+
"construa"
|
|
1985
2015
|
]),
|
|
1986
2016
|
fileExtensions: BuildTurnPolicyStringArraySchema.default([
|
|
1987
2017
|
".ts",
|
|
@@ -3309,7 +3339,7 @@ function looksLikeWorkspaceRequest(input, policy) {
|
|
|
3309
3339
|
if (input.includes("\n") || input.includes("`")) {
|
|
3310
3340
|
return true;
|
|
3311
3341
|
}
|
|
3312
|
-
return containsConfiguredTerm(normalizedInput, policy.taskVerbs) && normalizedInput.split(/\s+/).length >=
|
|
3342
|
+
return containsConfiguredTerm(normalizedInput, policy.taskVerbs) && normalizedInput.split(/\s+/).length >= 2;
|
|
3313
3343
|
}
|
|
3314
3344
|
function isDirectUtilityRequest(input, policy) {
|
|
3315
3345
|
const normalizedInput = normalizeTurnInput(input);
|
|
@@ -28424,7 +28454,7 @@ function parseVersion2(version) {
|
|
|
28424
28454
|
if (!match) return null;
|
|
28425
28455
|
return [Number(match[1]), Number(match[2]), Number(match[3])];
|
|
28426
28456
|
}
|
|
28427
|
-
var VERSION = "1.1.
|
|
28457
|
+
var VERSION = "1.1.40".length > 0 ? "1.1.40" : "0.0.0-dev";
|
|
28428
28458
|
var updateCommand = {
|
|
28429
28459
|
name: "update",
|
|
28430
28460
|
description: "Check published DeepCode versions",
|