agentSdkServerPayloadDir top-level constant

String const agentSdkServerPayloadDir

The name of the AI server's folder in both places it lives: beside the app executable, where a packaged app carries the server's source (the script, its package.json and its package-lock.json — no node_modules), and in the app's data folder, where the user's install puts the runnable server.

A subdirectory rather than the parent itself, so "what is the app and what is the AI server" stays answerable from a directory listing.

Implementation

const agentSdkServerPayloadDir = 'ai';