agent: [nextId] add nextId method and message.id getter
test: [agent] nextId and agent integration
Merge branch 'feature/msgid'

* feature/msgid:
  test: [agent] nextId and agent integration
  agent: [nextId] add nextId method and message.id getter