つもりなのだと思っていました

I thought you were planning to

→ 積もり
phrase Rare #37,839
I thought you were planning to The person doing the planning is understood from context; it can be someone other than “you.”
JA: 彼は明日来るつもりなのだと思っていました。
EN: I thought he was planning to come tomorrow.

あなたは家にいるつもりなのだと思っていました。

I thought you were planning to stay home.

昨日の夜は家にいるつもりなのだと思っていました。

I thought you were planning to stay home last night.