@amigo-ai/platform-sdk 0.43.0 → 0.44.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.cjs CHANGED
@@ -4389,6 +4389,14 @@ var FunctionsResource = class extends WorkspaceScopedResource {
4389
4389
  * Test invoke — same as ``invoke`` plus persists ``last_test_*``
4390
4390
  * telemetry on the version row so the DC tool list can show
4391
4391
  * health without re-running.
4392
+ *
4393
+ * Returns :type:`TestInvokeResponse` (superset of `InvokeResponse`)
4394
+ * so callers can read ``status`` / ``error`` / ``test_duration_ms``
4395
+ * directly off the response. The platform-api route catches
4396
+ * ``ServiceUnavailableError`` and converts it into ``status='fail'``
4397
+ * with the executor's error string in ``error`` — so even on a
4398
+ * blown-up SQL execution the response is a 200 with the failure
4399
+ * detail surfaced to the caller.
4392
4400
  */
4393
4401
  async testV2(functionName, body) {
4394
4402
  return extractData(