codes as stated in manual are:
P0299 Boost pressure sensor positive deviation
P0530 A/C pressure sensor too high or too low (air conditioning)
P0610 Automatic transmission coded as manual transmission
P0300 Misfire detected / multiple misfire detected
P1263 Glow plug number 2 low control circuit low
Here is a link to the codes and definitions
viewtopic.php?f=98&t=40073First thing I would do is get a code reader or an app for your phone to read the codes like torque app. Erase the codes and then see if they return and which ones return.
Second: Never, Ever blindly trust a dealer and many diesel mechanics in regards to this engine . There were only about 14,000 sold in the united states and most dealers have never seen one much less worked on one and they are not similar to any other diesel engine they have worked on. It is likely that you were already a victim of a dealer throwing in a new ECM to "fix" something but didn't actually address the problem.
Third: Either get ready to get very familiar with the peculiarities of this engine and be willing to learn about and work on it yourself with the forums help or find an honest mechanic that is either familiar with this engine or also willing to learn and probably listen to advice from this forum. There is a traveling mechanic on the forum ( Geordi ) if you have major problems that need attention or timing belt change etc and he can also give you advice on the phone to help you deal with a problem. Your Last choice would be to either fix or don't and cut your loses after that by selling it. At this point it may not be too hard to fix the causes.
Lets dispense with the codes that are more straight forward first.
the P1263 code is a glow plug failure. Likely you still have the original ceramic glow plugs that tend to break the tips off in time and can cause engine damage when this happens although often they break off and don't cause damage. Also the number 2 cylinder could actually be number 3 if the glow plug wiring harness was attached backwards. Changing the glow plugs are a pain and if you do it put in a set of 5 volt steel plugs for about $100 in parts. This doesn't have to be addressed right now. The engine will run fine as is but will be harder to start in cold weather and risk continues to have another break and cause damage.
Next the P0610 It appears the dealer didn't program the new ECM for your automatic transmission. Solution get dealer to correct this by refreshing the ECM correctly though I would wait and see if it repeats or persists after other codes addressed.
So two of the codes fairly straight forward . See how easy it is ?
P0530 should be what it sounds like . such as low freon in AC system etc . Does your AC cool normally ?
Either way it won't affect the engines ability to run. Another relatively easy one for now.
Then comes the likely codes associated with your problem. The dreaded P0299 (just kidding but it is common and a little more involved to trouble shoot, and the less common p0300.
What you experienced with decreased power but engine continuing to run is termed Limp mode and can often be reset by restarting the engine. Also sometimes after turning the key off and restarting the engine about four times and possibly driving a bit each time the CEL (check engine light) may go out.
I will post this part and then try to give you more thoughts