jev-recipes 0.9.13 → 0.9.16

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.
@@ -6492,8 +6492,8 @@ export const recipeMetadata = [
6492
6492
  },
6493
6493
  ],
6494
6494
  evidence: {
6495
- kind: 'mixed',
6496
- label: 'Current mixed-source measurement',
6495
+ kind: 'earlier',
6496
+ label: 'Earlier-version measurement',
6497
6497
  experimental: true,
6498
6498
  measurement: {
6499
6499
  model: 'jev-1.13.0',
@@ -11,6 +11,10 @@ const metadataFields = new Set([
11
11
  'probabilities',
12
12
  'score',
13
13
  'status',
14
+ 'effortScore',
15
+ 'effortConfidence',
16
+ 'effortProbabilities',
17
+ 'relevance',
14
18
  ]);
15
19
  const resultSchemas = new Map();
16
20
  export function resultSchemaFor(recipe) {
@@ -31,7 +31,7 @@ export async function toolCallGate(input, options = {}) {
31
31
  },
32
32
  },
33
33
  exfiltrates: {
34
- instruction: 'Does toolCall send data, files, credentials, or environment details to an external destination such as a URL, email address, third-party service, or public location?',
34
+ instruction: "Does toolCall send data, files, credentials, or environment details to an external destination such as a URL, email address, third-party service, or public location? Pushing to the project's own remote is not an external destination.",
35
35
  criteria: {
36
36
  true: 'The call transmits data to an external destination.',
37
37
  false: 'The call sends nothing outside the working environment.',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jev-recipes",
3
- "version": "0.9.13",
3
+ "version": "0.9.16",
4
4
  "description": "248 small Jev decisions for JavaScript and TypeScript: route, rerank, gate, grade, compare, and label text for agents, RAG, support, code review, and music. Each returns a typed result with explicit uncertainty. Plug into Vercel AI SDK or LangChain agents, import one recipe, or run the CLI with JSON from any language.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1102,16 +1102,16 @@
1102
1102
  }
1103
1103
  },
1104
1104
  "devDependencies": {
1105
- "@langchain/core": "^1.2.13",
1106
- "@types/node": "^22.0.0",
1107
- "@vitest/coverage-v8": "4.1.11",
1108
- "ai": "^7.0.122",
1109
- "marked": "^18.0.14",
1110
- "prettier": "3.9.8",
1105
+ "@langchain/core": "^1.2.17",
1106
+ "@types/node": "^26.6.5",
1107
+ "@vitest/coverage-v8": "5.0.3",
1108
+ "ai": "^7.0.137",
1109
+ "marked": "^18.1.0",
1110
+ "prettier": "3.9.10",
1111
1111
  "rimraf": "6.1.3",
1112
- "typescript": "~5.9.3",
1113
- "vite": "6.4.3",
1114
- "vitest": "4.1.11"
1112
+ "typescript": "~6.0.3",
1113
+ "vite": "8.3.4",
1114
+ "vitest": "5.0.3"
1115
1115
  },
1116
1116
  "homepage": "https://jev-recipes.com",
1117
1117
  "bugs": {