{
  "tool": {
    "slug": "lint-error-heal",
    "title": "Lint Error Heal",
    "category": "Repair Planning",
    "description": "Parse TypeScript, Astro, and linter output into structured diagnostics that another agent can patch.",
    "buyerIntent": "Use after a failed check/build command to turn noisy output into machine-actionable JSON.",
    "tokenValue": "Reduces the amount of raw terminal output sent into the next model turn.",
    "method": "POST",
    "rawBlueprintSlug": "agent-lint-error-healer",
    "priceUSDC": 0.01,
    "latencyTargetMs": 260,
    "status": "live-preview",
    "tags": [
      "lint",
      "typescript",
      "diagnostics",
      "repair"
    ],
    "requestSchema": {
      "type": "object",
      "required": [
        "errorLog"
      ],
      "properties": {
        "errorLog": {
          "type": "string"
        }
      }
    },
    "responseSchema": {
      "type": "object",
      "properties": {
        "diagnostics": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "file": {
                "type": "string"
              },
              "line": {
                "type": "integer"
              },
              "column": {
                "type": "integer"
              },
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "sampleRequest": {
      "errorLog": "src/pages/foo.astro:12:8 - error TS6133: 'unused' is declared but never used."
    },
    "sampleResponse": {
      "diagnostics": [
        {
          "file": "src/pages/foo.astro",
          "line": 12,
          "column": 8,
          "code": "TS6133",
          "message": "'unused' is declared but never used."
        }
      ]
    },
    "endpoint": "/api/v1/agent-tools/lint-error-heal/",
    "absoluteEndpoint": "https://elpa.space/api/v1/agent-tools/lint-error-heal/",
    "pageUrl": "https://elpa.space/agent-tools/#lint-error-heal",
    "rawBlueprintUrl": "https://elpa.space/raw/agent-lint-error-healer",
    "priceLabel": "0.010 USDC"
  },
  "payment": {
    "protocol": "x402",
    "implementation": "x402 v2 exact EVM facilitator with legacy Base USDC transaction-hash fallback",
    "network": "Base",
    "networkCaip2": "eip155:8453",
    "currency": "USDC",
    "tokenContract": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "recipientAddress": "0xd9d6ae1d5a2128fea511460fac8e4dea58baf153",
    "paymentHeaders": [
      "PAYMENT-SIGNATURE",
      "X-PAYMENT",
      "x402-tx-hash (legacy)"
    ],
    "challengeHeader": "PAYMENT-REQUIRED",
    "responseHeader": "PAYMENT-RESPONSE",
    "facilitatorEnv": [
      "X402_FACILITATOR_URL",
      "X402_FACILITATOR_AUTHORIZATION"
    ],
    "maxTimeoutSeconds": 120,
    "priceUSDC": 0.01,
    "x402": {
      "x402Version": 2,
      "resource": {
        "url": "https://elpa.space/api/v1/agent-tools/lint-error-heal/",
        "description": "Parse TypeScript, Astro, and linter output into structured diagnostics that another agent can patch.",
        "mimeType": "application/json",
        "serviceName": "ELPA Agent Tools",
        "tags": [
          "lint",
          "typescript",
          "diagnostics",
          "repair"
        ],
        "iconUrl": "https://elpa.space/logo.svg"
      },
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "10000",
          "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
          "payTo": "0xd9d6ae1d5a2128fea511460fac8e4dea58baf153",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USDC",
            "version": "2",
            "decimals": 6
          }
        }
      ],
      "paymentRequired": {
        "x402Version": 2,
        "error": "PAYMENT-SIGNATURE header is required",
        "resource": {
          "url": "https://elpa.space/api/v1/agent-tools/lint-error-heal/",
          "description": "Parse TypeScript, Astro, and linter output into structured diagnostics that another agent can patch.",
          "mimeType": "application/json",
          "serviceName": "ELPA Agent Tools",
          "tags": [
            "lint",
            "typescript",
            "diagnostics",
            "repair"
          ],
          "iconUrl": "https://elpa.space/logo.svg"
        },
        "accepts": [
          {
            "scheme": "exact",
            "network": "eip155:8453",
            "amount": "10000",
            "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
            "payTo": "0xd9d6ae1d5a2128fea511460fac8e4dea58baf153",
            "maxTimeoutSeconds": 120,
            "extra": {
              "name": "USDC",
              "version": "2",
              "decimals": 6
            }
          }
        ],
        "extensions": {
          "bazaar": {
            "info": {
              "discoverable": true,
              "category": "Repair Planning",
              "tags": [
                "lint",
                "typescript",
                "diagnostics",
                "repair"
              ],
              "input": {
                "errorLog": "src/pages/foo.astro:12:8 - error TS6133: 'unused' is declared but never used."
              },
              "output": {
                "diagnostics": [
                  {
                    "file": "src/pages/foo.astro",
                    "line": 12,
                    "column": 8,
                    "code": "TS6133",
                    "message": "'unused' is declared but never used."
                  }
                ]
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "discoverable": {
                  "type": "boolean"
                },
                "category": {
                  "type": "string"
                },
                "tags": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "input": {
                  "type": "object",
                  "required": [
                    "errorLog"
                  ],
                  "properties": {
                    "errorLog": {
                      "type": "string"
                    }
                  }
                },
                "output": {
                  "type": "object",
                  "properties": {
                    "diagnostics": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "file": {
                            "type": "string"
                          },
                          "line": {
                            "type": "integer"
                          },
                          "column": {
                            "type": "integer"
                          },
                          "code": {
                            "type": "string"
                          },
                          "message": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "paymentRequiredBase64": "eyJ4NDAyVmVyc2lvbiI6MiwiZXJyb3IiOiJQQVlNRU5ULVNJR05BVFVSRSBoZWFkZXIgaXMgcmVxdWlyZWQiLCJyZXNvdXJjZSI6eyJ1cmwiOiJodHRwczovL2VscGEuc3BhY2UvYXBpL3YxL2FnZW50LXRvb2xzL2xpbnQtZXJyb3ItaGVhbC8iLCJkZXNjcmlwdGlvbiI6IlBhcnNlIFR5cGVTY3JpcHQsIEFzdHJvLCBhbmQgbGludGVyIG91dHB1dCBpbnRvIHN0cnVjdHVyZWQgZGlhZ25vc3RpY3MgdGhhdCBhbm90aGVyIGFnZW50IGNhbiBwYXRjaC4iLCJtaW1lVHlwZSI6ImFwcGxpY2F0aW9uL2pzb24iLCJzZXJ2aWNlTmFtZSI6IkVMUEEgQWdlbnQgVG9vbHMiLCJ0YWdzIjpbImxpbnQiLCJ0e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ZWdvcnkiOnsidHlwZSI6InN0cmluZyJ9LCJ0YWdzIjp7InR5cGUiOiJhcnJheSIsIml0ZW1zIjp7InR5cGUiOiJzdHJpbmcifX0sImlucHV0Ijp7InR5cGUiOiJvYmplY3QiLCJyZXF1aXJlZCI6WyJlcnJvckxvZyJdLCJwcm9wZXJ0aWVzIjp7ImVycm9yTG9nIjp7InR5cGUiOiJzdHJpbmcifX19LCJvdXRwdXQiOnsidHlwZSI6Im9iamVjdCIsInByb3BlcnRpZXMiOnsiZGlhZ25vc3RpY3MiOnsidHlwZSI6ImFycmF5IiwiaXRlbXMiOnsidHlwZSI6Im9iamVjdCIsInByb3BlcnRpZXMiOnsiZmlsZSI6eyJ0eXBlIjoic3RyaW5nIn0sImxpbmUiOnsidHlwZSI6ImludGVnZXIifSwiY29sdW1uIjp7InR5cGUiOiJpbnRlZ2VyIn0sImNvZGUiOnsidHlwZSI6InN0cmluZyJ9LCJtZXNzYWdlIjp7InR5cGUiOiJzdHJpbmcifX19fX19fX19fX0=",
      "facilitator": {
        "url": "https://api.cdp.coinbase.com/platform/v2/x402",
        "verify": "/verify",
        "settle": "/settle"
      },
      "legacy": {
        "enabled": true,
        "header": "x402-tx-hash",
        "note": "Legacy Base USDC transaction-hash receipts remain accepted for manual testing, but PAYMENT-SIGNATURE is the primary x402 path."
      }
    }
  }
}