@amigo-ai/platform-sdk 0.43.0 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -4279,6 +4279,14 @@ var FunctionsResource = class extends WorkspaceScopedResource {
4279
4279
  * Test invoke — same as ``invoke`` plus persists ``last_test_*``
4280
4280
  * telemetry on the version row so the DC tool list can show
4281
4281
  * health without re-running.
4282
+ *
4283
+ * Returns :type:`TestInvokeResponse` (superset of `InvokeResponse`)
4284
+ * so callers can read ``status`` / ``error`` / ``test_duration_ms``
4285
+ * directly off the response. The platform-api route catches
4286
+ * ``ServiceUnavailableError`` and converts it into ``status='fail'``
4287
+ * with the executor's error string in ``error`` — so even on a
4288
+ * blown-up SQL execution the response is a 200 with the failure
4289
+ * detail surfaced to the caller.
4282
4290
  */
4283
4291
  async testV2(functionName, body) {
4284
4292
  return extractData(