How to allow an AppleScript terminal push as raw code instead of executable?
If you want it not to be a binary file and easily viewable, then save or export as text. It will be saved as plain text with a .applescript extension.

Also, by default, when saved locally and double-clicking on a .applescript file, it will load in Script Editor, where it can then be either saved as or exported as a .scrpt, .scrptd or .app.