context-creator 1.5.0

High-performance CLI tool to convert codebases to Markdown for LLM context
Documentation
{
  "resourceSpans": [{
    "resource": {
      "attributes": [
        {
          "key": "service.name",
          "value": { "stringValue": "payment-service" }
        },
        {
          "key": "service.version",
          "value": { "stringValue": "2.1.0" }
        },
        {
          "key": "telemetry.sdk.language",
          "value": { "stringValue": "python" }
        }
      ]
    },
    "scopeSpans": [{
      "scope": {
        "name": "payment-service"
      },
      "spans": [
        {
          "traceId": "2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c",
          "spanId": "6f7a8b9c0d1e2f3a",
          "name": "process_payment",
          "kind": 1,
          "startTimeUnixNano": "1704067200000000000",
          "endTimeUnixNano": "1704067200065000000",
          "attributes": [
            {
              "key": "code.function.name",
              "value": { "stringValue": "process_payment" }
            },
            {
              "key": "code.file.path",
              "value": { "stringValue": "payment_service.py" }
            },
            {
              "key": "code.line.number",
              "value": { "intValue": "22" }
            },
            {
              "key": "user.id",
              "value": { "stringValue": "user-456" }
            },
            {
              "key": "payment.amount",
              "value": { "doubleValue": 299.99 }
            },
            {
              "key": "payment.currency",
              "value": { "stringValue": "USD" }
            },
            {
              "key": "fraud.score",
              "value": { "doubleValue": 0.15 }
            },
            {
              "key": "transaction.id",
              "value": { "stringValue": "txn_1704067200_5678" }
            }
          ],
          "status": {
            "code": 1
          }
        },
        {
          "traceId": "2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c",
          "spanId": "7a8b9c0d1e2f3a4b",
          "parentSpanId": "6f7a8b9c0d1e2f3a",
          "name": "validate_card",
          "kind": 1,
          "startTimeUnixNano": "1704067200002000000",
          "endTimeUnixNano": "1704067200004000000",
          "attributes": [
            {
              "key": "code.function.name",
              "value": { "stringValue": "validate_card" }
            },
            {
              "key": "code.file.path",
              "value": { "stringValue": "payment_service.py" }
            },
            {
              "key": "code.line.number",
              "value": { "intValue": "49" }
            },
            {
              "key": "card.valid",
              "value": { "boolValue": true }
            }
          ],
          "status": {
            "code": 1
          }
        },
        {
          "traceId": "2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c",
          "spanId": "8b9c0d1e2f3a4b5c",
          "parentSpanId": "6f7a8b9c0d1e2f3a",
          "name": "check_fraud",
          "kind": 1,
          "startTimeUnixNano": "1704067200005000000",
          "endTimeUnixNano": "1704067200015000000",
          "attributes": [
            {
              "key": "code.function.name",
              "value": { "stringValue": "check_fraud" }
            },
            {
              "key": "code.file.path",
              "value": { "stringValue": "payment_service.py" }
            },
            {
              "key": "code.line.number",
              "value": { "intValue": "59" }
            },
            {
              "key": "user.id",
              "value": { "stringValue": "user-456" }
            },
            {
              "key": "check.amount",
              "value": { "doubleValue": 299.99 }
            },
            {
              "key": "fraud.score",
              "value": { "doubleValue": 0.15 }
            }
          ],
          "status": {
            "code": 1
          }
        },
        {
          "traceId": "2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c",
          "spanId": "9c0d1e2f3a4b5c6d",
          "parentSpanId": "6f7a8b9c0d1e2f3a",
          "name": "charge_card",
          "kind": 1,
          "startTimeUnixNano": "1704067200015000000",
          "endTimeUnixNano": "1704067200065000000",
          "attributes": [
            {
              "key": "code.function.name",
              "value": { "stringValue": "charge_card" }
            },
            {
              "key": "code.file.path",
              "value": { "stringValue": "payment_service.py" }
            },
            {
              "key": "code.line.number",
              "value": { "intValue": "76" }
            },
            {
              "key": "payment.gateway",
              "value": { "stringValue": "stripe" }
            },
            {
              "key": "transaction.id",
              "value": { "stringValue": "txn_1704067200_5678" }
            }
          ],
          "status": {
            "code": 1
          }
        },
        {
          "traceId": "3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d",
          "spanId": "0d1e2f3a4b5c6d7e",
          "name": "process_payment",
          "kind": 1,
          "startTimeUnixNano": "1704067201000000000",
          "endTimeUnixNano": "1704067201025000000",
          "attributes": [
            {
              "key": "code.function.name",
              "value": { "stringValue": "process_payment" }
            },
            {
              "key": "code.file.path",
              "value": { "stringValue": "payment_service.py" }
            },
            {
              "key": "code.line.number",
              "value": { "intValue": "22" }
            },
            {
              "key": "user.id",
              "value": { "stringValue": "user-789" }
            },
            {
              "key": "payment.amount",
              "value": { "doubleValue": 1499.99 }
            },
            {
              "key": "fraud.score",
              "value": { "doubleValue": 0.85 }
            }
          ],
          "events": [{
            "name": "exception",
            "timeUnixNano": "1704067201020000000",
            "attributes": [
              {
                "key": "exception.type",
                "value": { "stringValue": "Exception" }
              },
              {
                "key": "exception.message",
                "value": { "stringValue": "Payment declined due to fraud detection" }
              }
            ]
          }],
          "status": {
            "code": 2,
            "message": "Payment declined due to fraud detection"
          }
        },
        {
          "traceId": "4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e",
          "spanId": "1e2f3a4b5c6d7e8f",
          "name": "refund_payment",
          "kind": 1,
          "startTimeUnixNano": "1704067202000000000",
          "endTimeUnixNano": "1704067202030000000",
          "attributes": [
            {
              "key": "code.function.name",
              "value": { "stringValue": "refund_payment" }
            },
            {
              "key": "code.file.path",
              "value": { "stringValue": "payment_service.py" }
            },
            {
              "key": "code.line.number",
              "value": { "intValue": "88" }
            },
            {
              "key": "transaction.id",
              "value": { "stringValue": "txn_1704067200_5678" }
            },
            {
              "key": "refund.partial",
              "value": { "boolValue": false }
            },
            {
              "key": "refund.id",
              "value": { "stringValue": "ref_1704067202" }
            }
          ],
          "status": {
            "code": 1
          }
        }
      ]
    }]
  }]
}