Packaging & Upload
Packaging
Upload
Terminal window
Terminal window
End-to-end flow
Section titled “End-to-end flow”- Ensure your implementations compile and pass local tests.
- Run
edge-connector packageto create a.tgzbundle with a manifest. - Run
edge-connector uploadto send the bundle to the nara platform. - In the webapp, assign the new bundle version to one or more deployments.
Packaging
Section titled “Packaging”edge-connector package \ --implementations ./custom-implementations \ --out ./artifactsNotes:
- If TypeScript is detected, the command will run
pnpm build(unless--no-buildis set). - The resulting bundle name encodes organization ID and timestamp.
- The manifest includes a checksum so the runtime can detect updates.
Uploading
Section titled “Uploading”edge-connector upload \ --file ./artifacts/edge-bundle-org-123.tgz \ --api https://your-nara-webapp.example.comIf you omit --file, upload can package the implementations directory on the fly using the same logic as package.
Authentication:
- uses the token stored via
edge-connector auth - derives the organization ID from the token
- sends the bundle and metadata to the platform upload endpoint