[DAEMON-326] @appcd/plugin-titanium: Add terminal session server with discovery endpoint
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Critical |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2020-02-28T22:15:16.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Titanium appcd Plugin 2.0.0 |
Components | appcd-plugin-titanium |
Labels | cb-next |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2020-02-13T15:43:16.000+0000 |
Updated | 2020-02-28T22:15:16.000+0000 |
Description
The Titanium CLI needs bi-directional communication with the Titanium plugin, however the Appc Daemon dispatcher is not capable of supporting true bi-directional data flow, but rather just single request, multi-part responses.
To work around this, we need the Titanium CLI to locate the Appc Daemon, start it, ensure the Titanium appcd plugin is registered, and call a terminal discovery endpoint. From there, the Titanium CLI will connect to the terminal session endpoint via a WebSocket.
Titanium appcd plugin PR: https://github.com/appcelerator/appcd-plugin-titanium/pull/5 Titanium CLI.next commit: https://github.com/appcelerator/titanium/commit/33df31f01fa7e0ee2dd764a8c120c93987aecafd cli-kit PR: https://github.com/cb1kenobi/cli-kit/pull/60. Published v0.14.0.