@parcha/agentrun-jev 0.1.0-beta.58 → 0.1.0-beta.59

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -625,6 +625,8 @@ function jevErrorCode(error, timedOut, cancelled) {
625
625
  return "outcome_unknown";
626
626
  if (error.status === 401 || error.status === 403)
627
627
  return "auth";
628
+ if (error.status === 402)
629
+ return "payment_required";
628
630
  if (error.status === 429)
629
631
  return "rate_limited";
630
632
  if (error.status === 400 || error.status === 422)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcha/agentrun-jev",
3
- "version": "0.1.0-beta.58",
3
+ "version": "0.1.0-beta.59",
4
4
  "description": "Optional Jev system one decisions for AgentRun workflows",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -27,7 +27,7 @@
27
27
  "test": "node --test test/*.test.mjs"
28
28
  },
29
29
  "dependencies": {
30
- "@parcha/agentrun-dsl": "0.1.0-beta.58",
30
+ "@parcha/agentrun-dsl": "0.1.0-beta.59",
31
31
  "@typesafe-ai/sdk": "0.7.0"
32
32
  },
33
33
  "repository": {