OpenCore MES Try the demo

Docs Installation 6

The copilot

On this page

The copilots (the designer's, the integration monitor's, AI Report's) are one package, @opencore-mes/copilot, released on its own. A version is installed beside the others, in the plant folder's copilot/, and chosen: every running server takes it up within half a minute, without a restart, and what a copilot is answering at that moment finishes on the version it began on. The version shipped with the core is always there to go back to. A version that cannot be taken up (it fails to start, or is built for another core) leaves the one in use running, and says why. A server started (or restarted) whose chosen version cannot run (it fails to start, or is not installed any more) runs the one shipped with the core instead of none, and says so: in the line it starts with, and on the Suites page. Choosing and removing a version are in the audit trail, by whom.

The Copilot tab on a change to the lot object: Claude ready, a box to ask in words
The copilot on a change: ask in words; it drafts and checks through the design tools as you, and you submit.
The Copilot tab on a change to the lot object: Claude ready, a box to ask in wordsThe copilot on a change: ask in words; it drafts and checks through the design tools as you, and you submit.
The Suites page: no suite installed, and the copilot version in use
Suites: what each installed suite brings, and the copilot version every server runs.
The Suites page: no suite installed, and the copilot version in useSuites: what each installed suite brings, and the copilot version every server runs.
IN-53Upgrade the copilot, without a restart
PurposeA newer copilot in use on every server, the plant working throughout, and the way back kept.
Done byIT
Before you start
  • In the plant folder; on a server, the shell of IN-51 with COPILOT_DIR=/var/lib/opencore-mes/copilot in the settings file, and the command's full path in front instead of opencore-mes.
  • For a plant without internet access, the version's .tgz.
#Do thisYou should seeDone
1See the versions here, and the one chosen.
opencore-mes copilot list
Each version, which is chosen, which was shipped with the core, and any that could not be taken up, with why.
2Install the newest version (or one: give its version).
opencore-mes copilot install
Copilot <version> installed in copilot/<version>. Nothing that runs has changed yet.
3Without internet access, instead: install it from its file.
opencore-mes copilot install --from <file>.tgz
The same.
4Choose it.
opencore-mes copilot use <version>
Copilot <version> chosen. Within half a minute every server answers from it; open pages switch to its panels without reloading.
5Check it in the designer: Designer → Suites → Copilot.The version in use. A version that could not be taken up says why, and the one before keeps answering.
6To go back, choose the version before (or the one shipped with the core).
opencore-mes copilot use <version>
The same, within half a minute.
7Later, take an old version off the disk (never the one chosen, nor the one shipped with the core).
opencore-mes copilot remove <version>
Copilot <version> removed; it is no longer listed. Its conversations stay.