You were not killed, maybe knocked out, but probably not.
It looks by your description that your leanto was looted by an opportunistic passer-by, or maybe someone you've ticked off previously.
Anyway, player's characters are the most valuable things in this game by far, meaning your clothes and stuff can be replaced much, much easier than your character.
It's a very unforgiving game which is why most who still play or follow it enjoy it so much.
My suggestion, if you decide to keep playing (which most or all of us here hope you will) is to protect your leanto with a personal claim which only cost 150 silver, sold by one of the merchants located close to Town's Center.
...Since this attack on your leanto probably totally wiped you out, if you need some help with the personal claim's initial cost and some warm clothes, send me a PM here on the forums and we can set up a meeting in Town.
BTW, the game gets better if you are willing to move past your first few mistakes in it.
Also.... in the
Planters & Pilgrims board here on this forum there is a fairly new post by one of this game's veteran players inviting new players to join a Village, which would offer you good protection from being attacked while you sleep again. It would also be a good opportunity to learn more about this game quickly too.
Here a link to the post:
viewtopic.php?f=22&t=20733Good luck.