Packaging and Distribution
Package your project as an .aix file. Check the files in the package before you preview it, install it on glasses, or submit the agent for review.
With Node.js 20 or later and npm, open a terminal in the parent directory of the my-agent project. If your project has a different name, replace my-agent in the commands.
npm install -g @yodaos-pkg/aix-cli
aix pack ./my-agent -o my-agent.aix
aix list ./my-agent.aix
aix preview ./my-agent.aix
Check that the list includes app.json and the registered page files. Open the URL printed by the preview command and confirm the packaged agent shows the expected home page. Press Ctrl+C to stop the preview.
For device testing, install the package on glasses. When the agent is ready for the store, submit it through AIUI Studio.
See What is AIX? for the package format and the CLI reference for command options.