Specification
During #552 the agent domain was rolled into the nodes domain at src/nodes/agent. The agent domain was restructured during this time as well.
- All the handlers were updated to use default exports.
- All the handlers were updated to use arrow functions.
- The
ServerManifest was moved into the index.ts.
- The caller definitions were moved into
nodes/agent/callers.
- The caller definitions were split into separate files. (I don't like this change, it means that each caller which can be defined in a single line need to be spread across 60+ files.) I should check with @CMCDragonkai to see if it's required.
clientManifest was moved into nodes/agent/callers/index.ts.
errors.ts, types.ts and utils.ts are in nodes/agent directory now.
Pretty much try to structure the client domain like nodes/agent directory. If anything is unclear, make a comment here asking about it.
Additional context
Tasks
Specification
During #552 the
agentdomain was rolled into thenodesdomain atsrc/nodes/agent. The agent domain was restructured during this time as well.ServerManifestwas moved into theindex.ts.nodes/agent/callers.clientManifestwas moved intonodes/agent/callers/index.ts.errors.ts,types.tsandutils.tsare innodes/agentdirectory now.Pretty much try to structure the client domain like
nodes/agentdirectory. If anything is unclear, make a comment here asking about it.Additional context
Polykeyand all tests for release #562ClientServiceand js-ws and js-rpc integration #560Tasks
ServerManifestwas moved into theindex.ts.nodes/agent/callers.clientManifestwas moved intonodes/agent/callers/index.ts.errors.ts,types.tsandutils.tsare innodes/agentdirectory now.