mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-30 14:56:19 +00:00
The cloud embedded engine links luxfi/zap v1.2.0 via MVS, whose NewBuilder stamps wire version 2; the TS SDK only accepted version 1 -> 'unsupported version 2' against cloud's gated :9999. The generic object encoding is byte-identical across v1/v2 (only the platformvm TxKind schema differs, which this SDK never uses) and v1.2.0's Parse accepts v1, so: keep emitting v1 (both engines accept it), accept BOTH 1 and 2 on read. Verified live against cloud v1.786.102. Also (drop-in compat, from the social migration): - export TokenProvider from the package root. - proxyActivities<A>: open the generic so proxyActivities<SomeActivityClass>() type-checks; ProxyActivityOptions accepts cancellationType (no-op). - engine.moreCurrentRun: a CONTINUED_AS_NEW run ranks below any other run of the same workflowId, so the completed tail of a continue-as-new chain resolves over its closed predecessor on a same-second StartTime (DescribeWorkflow by id).
126 KiB
126 KiB