Lets another machine control your Amiga
- Size
- 203K (207,778 bytes)
- Added
- 2026-11-19 22:44
- Downloads
- 3
- Long Description
- New in 0.13.2 ------------- * Shell commands now fail at once on a missing volume instead of waiting on a requester. BEHAVIOUR CHANGE: the agent sets pr_WindowPtr to -1 for itself, and the process that runs your commands inherits it. So a command naming a volume that is not mounted (Dir FOO:, Copy DF1:x RAM:) gets a DOS error - "object not found" or similar - instead of an "insert volume" requester waiting for someone at the machine. Before, only the TLS build did this; a plain build could put up that requester from LIST, GET, PUT or SHOT and stall the whole agent (ARexx QUIT included) until somebody clicked Cancel. Started from a Shell, the Shell's own setting is put back when the agent exits. * GETRANGE stops at the end of the file. A range running past the end now returns only the bytes that exist: a reply shorter than the length asked for means end of file, and an offset exactly at the end gets an empty reply. Agents before 0.13.2 announced the full length and then sent less, leaving the client waiting mid-reply; clients talking to an older agent should size the file with LIST first. * Screenshots of planar screens with fewer than 256 colours no longer carry noise in the high bits of each pixel (the temp bitmap was not cleared). The Mac side masks this for older agents too. * Mouse moves land where they were asked to on every screen mode. The pointer position was taken in the display's finest raster, so on a 640x256 hires screen y=170 arrived as 85, and lores, SuperHires and dragged-down screens were off too. Warps are now scaled by the mode's resolution over the monitor's mouse ticks, plus the screen's offset; RTG screens, which were already right, stay 1:1. * The CPU is reported as 68080 on an Apollo/Vampire, not 68040. * The source builds a 68080-optimised agent with make CPU=68080 (not included in this archive; the 68020 build runs on an 080). * Thanks: xmies23 reported the requester, GETRANGE and screenshot bugs (#6, #5, #4) with the cause already found; mightym (Mark Wirblich) found and fixed the pointer scaling (PR #7); ZyberSE contributed the 68080 build target and CPU detection (PR #3). New in 0.13.1 ------------- * LIST reports a soft link as type L instead of D. A soft link used to be reported as a directory whatever it pointed at, so a client walking "directories" would try to descend into a link to a file. Clients that only test for D read an L entry as a plain file - the safe reading. amiagent is the Amiga half of amimcp. It is a small TCP daemon that lets a program on another machine work on this Amiga: run AmigaDOS commands, read and write files, list drawers, report system state, capture the screen, run ARexx, and inject mouse and keyboard input. The other half is an MCP server that runs on a Mac or PC, which is how Claude (Anthropic's LLM) talks to it. Nothing about the agent is specific to that, though - the wire protocol is documented (PROTOCOL.md, now in this archive) and simple enough to drive from a shell script if you would rather. It is written in plain C against the OS libraries, needs no third-party dependencies, and runs on AmigaOS 2.0 upwards. Two builds of each program are included: amiagent 68000 - runs on any Amiga amiagent.020 68020+ - slightly smaller and faster amimon 68000 - the status window, GadTools (runs everywhere) amimon.020 68020+ - the same, for an 020 and up amimon-mui 68000 - the status window, MUI (needs MUI 3.8+) amimon-mui.020 68020+ - the same, for an 020 and up NEW IN 0.13.0 - STARTING IT FROM AN ICON Double-click amiagent and the settings come from the icon's TOOL TYPES, because a Workbench start has no command line to put them on. Select the icon, Icons/Information, and edit: TOKEN=pickasecret the shared secret. SET THIS ONE. PORT=7846 the port to listen on VER