Maybe do both: provide the ability to build basic pages etc, you probably already have a front controller mechanism, view templates etc so it’s within reach. Then make a plugin that allows integration and control from within wordpress. That way the wp upgrade issue (theoretically) only affects your plugin.
…but i don’t know anything about your software so I may be way off!