(description: string)
| 643 | * description (it runs from its header to the end), so the `skills` tool can |
| 644 | * re-use it without rebuilding the inventory from the executor. */ |
| 645 | const extractInventory = (description: string): string => { |
| 646 | const index = description.indexOf(INTEGRATION_INVENTORY_HEADER); |
| 647 | return index === -1 ? "" : description.slice(index).trimEnd(); |
| 648 | }; |
| 649 | |
| 650 | const JsonObjectFromString = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown)); |
| 651 | const decodeJsonObjectString = Schema.decodeUnknownOption(JsonObjectFromString); |
no outgoing calls
no test coverage detected