@codacy/verity-cli 0.27.2-experimental.ad71767 → 0.27.2-experimental.cef3fb9

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/bin/verity.js +4 -13
  2. package/package.json +1 -1
package/bin/verity.js CHANGED
@@ -10473,7 +10473,7 @@ var SECURITY_PATTERNS = [
10473
10473
  /Dockerfile/
10474
10474
  ];
10475
10475
  var PROD_SERVICE_URL = "https://ofcamwrjwrkazqvdchko.supabase.co/functions/v1";
10476
- var DEFAULT_SERVICE_URL = "https://wukeddyzpijoegyajtnc.supabase.co/functions/v1".length > 0 ? "https://wukeddyzpijoegyajtnc.supabase.co/functions/v1" : PROD_SERVICE_URL;
10476
+ var DEFAULT_SERVICE_URL = "https://yyfaqvcgslcrzvrbvqik.supabase.co/functions/v1".length > 0 ? "https://yyfaqvcgslcrzvrbvqik.supabase.co/functions/v1" : PROD_SERVICE_URL;
10477
10477
  var GITHUB_CLIENT_ID = "Iv23li88HxAi3ZrbYzWh";
10478
10478
  var GITHUB_DEVICE_CODE_URL = "https://github.com/login/device/code";
10479
10479
  var GITHUB_ACCESS_TOKEN_URL = "https://github.com/login/oauth/access_token";
@@ -14331,12 +14331,6 @@ function detectAnalysisMode(noFilesChanged, assistantResponse, conversationPromp
14331
14331
  }
14332
14332
  return "standard";
14333
14333
  }
14334
- function scopeToAuthored(files, actionSummary) {
14335
- if (!actionSummary) return { files, signal: "no-transcript" };
14336
- const touched = [...actionSummary.files_edited ?? [], ...actionSummary.files_created ?? []];
14337
- if (touched.length === 0) return { files: [], signal: "none-authored" };
14338
- return { files: narrowToAgentAuthored(files, actionSummary), signal: "authored" };
14339
- }
14340
14334
  function narrowToAgentAuthored(files, actionSummary) {
14341
14335
  if (!actionSummary) return files;
14342
14336
  const touched = [
@@ -15144,11 +15138,8 @@ async function runAnalyze(opts, globals) {
15144
15138
  }
15145
15139
  contentHash = hashResult.hash;
15146
15140
  if (analysisMode !== "plan") {
15147
- const scoped = scopeToAuthored(allForReview, actionSummary);
15148
- if (scoped.signal === "none-authored" && (actionSummary?.subagents ?? 0) === 0) {
15149
- passAndExit("No agent-authored code this turn \u2014 working-tree changes were not authored by this session");
15150
- }
15151
- const baseForReview = scoped.signal === "authored" && scoped.files.length > 0 ? scoped.files : allForReview;
15141
+ const agentNarrowed = narrowToAgentAuthored(allForReview, actionSummary);
15142
+ const baseForReview = agentNarrowed.length > 0 ? agentNarrowed : allForReview;
15152
15143
  const recentForReview = narrowToRecent(baseForReview, baselineSessionId);
15153
15144
  if (!opts.skipStatic && isCodacyAvailable()) {
15154
15145
  let allScannable = Array.from(/* @__PURE__ */ new Set([...analyzable, ...securityFiles]));
@@ -17282,7 +17273,7 @@ function registerTelemetryCommands(program2) {
17282
17273
  }
17283
17274
 
17284
17275
  // src/cli.ts
17285
- program.name("verity").description("CLI for Verity quality gate service").version("0.27.2-experimental.ad71767").option("--token <token>", "Override authentication token").option("--service-url <url>", "Override service URL").option("--verbose", "Log HTTP requests/responses to stderr");
17276
+ program.name("verity").description("CLI for Verity quality gate service").version("0.27.2-experimental.cef3fb9").option("--token <token>", "Override authentication token").option("--service-url <url>", "Override service URL").option("--verbose", "Log HTTP requests/responses to stderr");
17286
17277
  registerAuthCommands(program);
17287
17278
  registerLoginCommand(program);
17288
17279
  registerHooksCommands(program);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codacy/verity-cli",
3
- "version": "0.27.2-experimental.ad71767",
3
+ "version": "0.27.2-experimental.cef3fb9",
4
4
  "description": "CLI for Verity quality gate service",
5
5
  "homepage": "https://verity.md",
6
6
  "repository": {