Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-326] @appcd/plugin-titanium: Add terminal session server with discovery endpoint

GitHub Issuen/a
TypeStory
PriorityCritical
StatusResolved
ResolutionFixed
Resolution Date2020-02-28T22:15:16.000+0000
Affected Version/sn/a
Fix Version/sTitanium appcd Plugin 2.0.0
Componentsappcd-plugin-titanium
Labelscb-next
ReporterChris Barber
AssigneeChris Barber
Created2020-02-13T15:43:16.000+0000
Updated2020-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.

Comments

  1. Chris Barber 2020-02-28

    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.

JSON Source