weave icon indicating copy to clipboard operation
weave copied to clipboard

feat(weave): TS SDK: allows call handle to be returned

Open chance-wnb opened this issue 7 months ago • 2 comments

Description

Adds a new invoke method to ops that returns both the result and a Call object, allowing users to update call metadata after execution. The Call object provides a setDisplayName method to change the display name of a call even after it has completed.

Testing

Tested by creating ops, calling them with the new invoke method, and verifying that the returned Call object can be used to update the display name both during and after execution.

Some unit tests scenarios are authored as well.

chance-wnb avatar May 16 '25 16:05 chance-wnb

This stack of pull requests is managed by Graphite. Learn more about stacking.

chance-wnb avatar May 16 '25 16:05 chance-wnb