infraweaver 0.3.9 → 0.3.10

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](LICENSE)
4
4
  [![CI](https://github.com/infraweaver-io/infraweaver-action/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/infraweaver-io/infraweaver-action/actions/workflows/test.yml)
5
- [![Version](https://img.shields.io/badge/version-0.3.9)](package.json) <!-- x-release-please-version -->
5
+ [![Version](https://img.shields.io/badge/version-0.3.10)](package.json) <!-- x-release-please-version -->
6
6
 
7
7
  **Infraweaver brings your Terraform up to best practice — automatically, as reviewable pull requests.**
8
8
 
package/dist/cli.mjs CHANGED
@@ -200490,7 +200490,7 @@ import { randomBytes } from "node:crypto";
200490
200490
  // package.json
200491
200491
  var package_default = {
200492
200492
  name: "infraweaver",
200493
- version: "0.3.9",
200493
+ version: "0.3.10",
200494
200494
  description: "GitHub Action that remediates Terraform to best practices and opens one scoped pull request per concern.",
200495
200495
  keywords: [
200496
200496
  "ai-coding-agent",
@@ -284947,7 +284947,7 @@ function buildLocalTools(ctx) {
284947
284947
  ];
284948
284948
  }
284949
284949
  function cliVersion() {
284950
- const raw2 = "0.3.9";
284950
+ const raw2 = "0.3.10";
284951
284951
  if (raw2 !== void 0 && /^\d+\.\d+\.\d+$/.test(raw2)) {
284952
284952
  return raw2;
284953
284953
  }
@@ -293005,6 +293005,7 @@ ${marker2}`;
293005
293005
  await deleteProgressComment(ctx).catch((err) => {
293006
293006
  log2.debug(`progress comment cleanup after review failed: ${err}`);
293007
293007
  });
293008
+ ctx.toolState.progressComment = null;
293008
293009
  if (ctx.toolState.checkoutSha && latestHeadSha && latestHeadSha !== ctx.toolState.checkoutSha) {
293009
293010
  const fromSha = ctx.toolState.checkoutSha;
293010
293011
  const toSha = latestHeadSha;
@@ -319794,7 +319795,7 @@ async function runVerifyEvidenceCli2(params) {
319794
319795
  }
319795
319796
 
319796
319797
  // src/cli.ts
319797
- var VERSION14 = "0.3.9";
319798
+ var VERSION14 = "0.3.10";
319798
319799
  var bin = basename9(process.argv[1] || "");
319799
319800
  var PROG = bin === "pf" || bin === PRODUCT_SLUG ? bin : PRODUCT_SLUG;
319800
319801
  var rawArgs = process.argv.slice(2);
package/dist/index.js CHANGED
@@ -259203,7 +259203,7 @@ import { randomBytes as randomBytes2 } from "node:crypto";
259203
259203
  // package.json
259204
259204
  var package_default = {
259205
259205
  name: "infraweaver",
259206
- version: "0.3.9",
259206
+ version: "0.3.10",
259207
259207
  description: "GitHub Action that remediates Terraform to best practices and opens one scoped pull request per concern.",
259208
259208
  keywords: [
259209
259209
  "ai-coding-agent",
@@ -283385,6 +283385,7 @@ ${marker2}`;
283385
283385
  await deleteProgressComment(ctx).catch((err) => {
283386
283386
  log2.debug(`progress comment cleanup after review failed: ${err}`);
283387
283387
  });
283388
+ ctx.toolState.progressComment = null;
283388
283389
  if (ctx.toolState.checkoutSha && latestHeadSha && latestHeadSha !== ctx.toolState.checkoutSha) {
283389
283390
  const fromSha = ctx.toolState.checkoutSha;
283390
283391
  const toSha = latestHeadSha;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infraweaver",
3
- "version": "0.3.9",
3
+ "version": "0.3.10",
4
4
  "description": "GitHub Action that remediates Terraform to best practices and opens one scoped pull request per concern.",
5
5
  "keywords": [
6
6
  "ai-coding-agent",
package/src/mcp/review.ts CHANGED
@@ -1275,6 +1275,9 @@ export function CreatePullRequestReviewTool(ctx: GitHubWriteToolContext) {
1275
1275
  await deleteProgressComment(ctx).catch((err) => {
1276
1276
  log.debug(`progress comment cleanup after review failed: ${err}`);
1277
1277
  });
1278
+ // also when there was none to delete: a later report_progress would
1279
+ // otherwise post a fresh comment beside the review
1280
+ ctx.toolState.progressComment = null;
1278
1281
 
1279
1282
  // detect commits pushed since checkout and guide the agent to review them
1280
1283
  // inline instead of dispatching a separate workflow run