jev-recipes 0.2.0 → 0.4.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/CHANGELOG.md +11 -1
- package/README.md +74 -85
- package/dist/catalog/generated/details/action-scope.json +43 -0
- package/dist/catalog/generated/details/answer-consistency.json +46 -0
- package/dist/catalog/generated/details/answer-coverage.json +66 -0
- package/dist/catalog/generated/details/answer-invalidation.json +43 -0
- package/dist/catalog/generated/details/answer-relevance.json +45 -0
- package/dist/catalog/generated/details/answerability.json +55 -0
- package/dist/catalog/generated/details/argument-fit.json +41 -0
- package/dist/catalog/generated/details/attempted-step.json +39 -0
- package/dist/catalog/generated/details/audience-fit.json +45 -0
- package/dist/catalog/generated/details/cache-match.json +41 -0
- package/dist/catalog/generated/details/cancellation-check.json +40 -0
- package/dist/catalog/generated/details/certainty-match.json +45 -0
- package/dist/catalog/generated/details/change-meaning.json +43 -0
- package/dist/catalog/generated/details/citation-match.json +64 -0
- package/dist/catalog/generated/details/citation-needed.json +39 -0
- package/dist/catalog/generated/details/claim-stance.json +55 -0
- package/dist/catalog/generated/details/clarify.json +64 -0
- package/dist/catalog/generated/details/confirmation-match.json +40 -0
- package/dist/catalog/generated/details/constraint-strength.json +48 -0
- package/dist/catalog/generated/details/context-role.json +45 -0
- package/dist/catalog/generated/details/correction-target.json +68 -0
- package/dist/catalog/generated/details/document-role.json +68 -0
- package/dist/catalog/generated/details/draft-compare.json +44 -0
- package/dist/catalog/generated/details/evidence-conflict.json +46 -0
- package/dist/catalog/generated/details/evidence-novelty.json +55 -0
- package/dist/catalog/generated/details/fact-stability.json +39 -0
- package/dist/catalog/generated/details/failure-kind.json +68 -0
- package/dist/catalog/generated/details/feedback-kind.json +69 -0
- package/dist/catalog/generated/details/field-select.json +68 -0
- package/dist/catalog/generated/details/followup-link.json +68 -0
- package/dist/catalog/generated/details/freshness-needed.json +38 -0
- package/dist/catalog/generated/details/frustration-signal.json +39 -0
- package/dist/catalog/generated/details/handoff.json +75 -0
- package/dist/catalog/generated/details/incident-match.json +68 -0
- package/dist/catalog/generated/details/instruction-conflict.json +52 -0
- package/dist/catalog/generated/details/instruction-fit.json +40 -0
- package/dist/catalog/generated/details/intent-change.json +43 -0
- package/dist/catalog/generated/details/issue-impact.json +42 -0
- package/dist/catalog/generated/details/memory-relation.json +46 -0
- package/dist/catalog/generated/details/memory-scope.json +42 -0
- package/dist/catalog/generated/details/memory-value.json +46 -0
- package/dist/catalog/generated/details/passage-duplicate.json +42 -0
- package/dist/catalog/generated/details/preference-kind.json +45 -0
- package/dist/catalog/generated/details/promise-check.json +42 -0
- package/dist/catalog/generated/details/query-equivalence.json +43 -0
- package/dist/catalog/generated/details/query-specificity.json +39 -0
- package/dist/catalog/generated/details/reference-resolve.json +69 -0
- package/dist/catalog/generated/details/repeated-attempt.json +43 -0
- package/dist/catalog/generated/details/reply-template-match.json +68 -0
- package/dist/catalog/generated/details/requirement-testability.json +45 -0
- package/dist/catalog/generated/details/rerank.json +55 -0
- package/dist/catalog/generated/details/resolution-check.json +40 -0
- package/dist/catalog/generated/details/response-needed.json +42 -0
- package/dist/catalog/generated/details/result-outcome.json +42 -0
- package/dist/catalog/generated/details/result-usefulness.json +45 -0
- package/dist/catalog/generated/details/retrieval-needed.json +39 -0
- package/dist/catalog/generated/details/route.json +51 -0
- package/dist/catalog/generated/details/source-applicability.json +39 -0
- package/dist/catalog/generated/details/step-complete.json +39 -0
- package/dist/catalog/generated/details/step-progress.json +43 -0
- package/dist/catalog/generated/details/summary-coverage.json +66 -0
- package/dist/catalog/generated/details/task-dependency.json +61 -0
- package/dist/catalog/generated/details/task-duplicate.json +49 -0
- package/dist/catalog/generated/details/ticket-match.json +43 -0
- package/dist/catalog/generated/details/tone-check.json +63 -0
- package/dist/catalog/generated/details/tool-fit.json +40 -0
- package/dist/catalog/generated/details/topic-shift.json +43 -0
- package/dist/catalog/generated/details/troubleshooting-fit.json +40 -0
- package/dist/catalog/generated/details/turn-intent.json +69 -0
- package/dist/catalog/generated/details/urgency-signal.json +39 -0
- package/dist/catalog/generated/details/verify.json +66 -0
- package/dist/catalog/generated/details/workaround-fit.json +40 -0
- package/dist/catalog/generated/loaders.d.ts +3 -0
- package/dist/catalog/generated/loaders.js +74 -0
- package/dist/catalog/generated/metadata.d.ts +2 -0
- package/dist/catalog/generated/metadata.js +1286 -0
- package/dist/catalog/generated/names.d.ts +1 -0
- package/dist/catalog/generated/names.js +75 -0
- package/dist/catalog/index.d.ts +9 -1764
- package/dist/catalog/index.js +8 -24
- package/dist/catalog/runner.d.ts +4 -0
- package/dist/catalog/runner.js +5 -0
- package/dist/catalog/schema.d.ts +57 -50
- package/dist/catalog/schema.js +2 -2
- package/dist/catalog/search.d.ts +3 -0
- package/dist/catalog/search.js +60 -0
- package/dist/cli/index.js +17 -8
- package/dist/cli/schema.d.ts +169 -167
- package/dist/cli/schema.js +37 -4
- package/dist/recipes/action-scope/schema.d.ts +3 -3
- package/dist/recipes/answer-consistency/schema.d.ts +3 -3
- package/dist/recipes/answer-coverage/schema.d.ts +6 -6
- package/dist/recipes/answerability/schema.d.ts +6 -6
- package/dist/recipes/cancellation-check/schema.d.ts +3 -3
- package/dist/recipes/certainty-match/schema.d.ts +3 -3
- package/dist/recipes/citation-needed/schema.d.ts +3 -3
- package/dist/recipes/claim-stance/demo.json +27 -0
- package/dist/recipes/claim-stance/index.d.ts +5 -0
- package/dist/recipes/claim-stance/index.js +17 -0
- package/dist/recipes/claim-stance/schema.d.ts +43 -0
- package/dist/recipes/claim-stance/schema.js +23 -0
- package/dist/recipes/clarify/schema.d.ts +3 -3
- package/dist/recipes/constraint-strength/demo.json +25 -0
- package/dist/recipes/constraint-strength/index.d.ts +5 -0
- package/dist/recipes/constraint-strength/index.js +16 -0
- package/dist/recipes/constraint-strength/schema.d.ts +39 -0
- package/dist/recipes/constraint-strength/schema.js +21 -0
- package/dist/recipes/document-role/schema.d.ts +6 -6
- package/dist/recipes/evidence-conflict/schema.d.ts +6 -6
- package/dist/recipes/feedback-kind/schema.d.ts +3 -3
- package/dist/recipes/freshness-needed/schema.d.ts +3 -3
- package/dist/recipes/handoff/schema.d.ts +3 -3
- package/dist/recipes/instruction-conflict/demo.json +27 -0
- package/dist/recipes/instruction-conflict/index.d.ts +5 -0
- package/dist/recipes/instruction-conflict/index.js +16 -0
- package/dist/recipes/instruction-conflict/schema.d.ts +40 -0
- package/dist/recipes/instruction-conflict/schema.js +22 -0
- package/dist/recipes/passage-duplicate/schema.d.ts +3 -3
- package/dist/recipes/preference-kind/schema.d.ts +6 -6
- package/dist/recipes/promise-check/schema.d.ts +3 -3
- package/dist/recipes/query-equivalence/schema.d.ts +3 -3
- package/dist/recipes/requirement-testability/demo.json +24 -0
- package/dist/recipes/requirement-testability/index.d.ts +5 -0
- package/dist/recipes/requirement-testability/index.js +15 -0
- package/dist/recipes/requirement-testability/schema.d.ts +36 -0
- package/dist/recipes/requirement-testability/schema.js +16 -0
- package/dist/recipes/result-outcome/schema.d.ts +3 -3
- package/dist/recipes/retrieval-needed/schema.d.ts +3 -3
- package/dist/recipes/step-progress/schema.d.ts +3 -3
- package/dist/recipes/summary-coverage/schema.d.ts +3 -3
- package/dist/recipes/task-dependency/demo.json +28 -0
- package/dist/recipes/task-dependency/index.d.ts +5 -0
- package/dist/recipes/task-dependency/index.js +17 -0
- package/dist/recipes/task-dependency/schema.d.ts +43 -0
- package/dist/recipes/task-dependency/schema.js +23 -0
- package/dist/recipes/task-duplicate/demo.json +27 -0
- package/dist/recipes/task-duplicate/index.d.ts +5 -0
- package/dist/recipes/task-duplicate/index.js +16 -0
- package/dist/recipes/task-duplicate/schema.d.ts +40 -0
- package/dist/recipes/task-duplicate/schema.js +22 -0
- package/dist/recipes/ticket-match/schema.d.ts +3 -3
- package/dist/recipes/topic-shift/schema.d.ts +3 -3
- package/dist/recipes/turn-intent/schema.d.ts +12 -12
- package/dist/src/index.d.ts +129 -117
- package/dist/src/index.js +57 -50
- package/dist/src/schema.d.ts +5 -0
- package/dist/src/schema.js +2 -0
- package/package.json +221 -188
- package/dist/catalog/groups/answers.d.ts +0 -565
- package/dist/catalog/groups/answers.js +0 -82
- package/dist/catalog/groups/conversation.d.ts +0 -608
- package/dist/catalog/groups/conversation.js +0 -90
- package/dist/catalog/groups/knowledge.d.ts +0 -522
- package/dist/catalog/groups/knowledge.js +0 -82
- package/dist/catalog/groups/retrieval.d.ts +0 -664
- package/dist/catalog/groups/retrieval.js +0 -106
- package/dist/catalog/groups/support.d.ts +0 -522
- package/dist/catalog/groups/support.js +0 -82
- package/dist/catalog/groups/workflow.d.ts +0 -623
- package/dist/catalog/groups/workflow.js +0 -98
- package/dist/catalog/recipes.d.ts +0 -3488
- package/dist/catalog/recipes.js +0 -14
- package/dist/examples/support/index.d.ts +0 -1
- package/dist/examples/support/index.js +0 -37
- package/dist/examples/support/schema.d.ts +0 -566
- package/dist/examples/support/schema.js +0 -76
- package/dist/examples/support/workflow.d.ts +0 -3
- package/dist/examples/support/workflow.js +0 -85
- package/dist/recipes/action-scope/metadata.d.ts +0 -8
- package/dist/recipes/action-scope/metadata.js +0 -10
- package/dist/recipes/answer-consistency/metadata.d.ts +0 -8
- package/dist/recipes/answer-consistency/metadata.js +0 -10
- package/dist/recipes/answer-coverage/metadata.d.ts +0 -8
- package/dist/recipes/answer-coverage/metadata.js +0 -11
- package/dist/recipes/answer-invalidation/metadata.d.ts +0 -8
- package/dist/recipes/answer-invalidation/metadata.js +0 -10
- package/dist/recipes/answer-relevance/metadata.d.ts +0 -8
- package/dist/recipes/answer-relevance/metadata.js +0 -10
- package/dist/recipes/answerability/metadata.d.ts +0 -8
- package/dist/recipes/answerability/metadata.js +0 -11
- package/dist/recipes/argument-fit/metadata.d.ts +0 -8
- package/dist/recipes/argument-fit/metadata.js +0 -10
- package/dist/recipes/attempted-step/metadata.d.ts +0 -8
- package/dist/recipes/attempted-step/metadata.js +0 -10
- package/dist/recipes/audience-fit/metadata.d.ts +0 -8
- package/dist/recipes/audience-fit/metadata.js +0 -10
- package/dist/recipes/cache-match/metadata.d.ts +0 -8
- package/dist/recipes/cache-match/metadata.js +0 -10
- package/dist/recipes/cancellation-check/metadata.d.ts +0 -8
- package/dist/recipes/cancellation-check/metadata.js +0 -10
- package/dist/recipes/certainty-match/metadata.d.ts +0 -8
- package/dist/recipes/certainty-match/metadata.js +0 -10
- package/dist/recipes/change-meaning/metadata.d.ts +0 -8
- package/dist/recipes/change-meaning/metadata.js +0 -10
- package/dist/recipes/citation-match/metadata.d.ts +0 -9
- package/dist/recipes/citation-match/metadata.js +0 -12
- package/dist/recipes/citation-needed/metadata.d.ts +0 -8
- package/dist/recipes/citation-needed/metadata.js +0 -10
- package/dist/recipes/clarify/metadata.d.ts +0 -8
- package/dist/recipes/clarify/metadata.js +0 -11
- package/dist/recipes/confirmation-match/metadata.d.ts +0 -8
- package/dist/recipes/confirmation-match/metadata.js +0 -10
- package/dist/recipes/context-role/metadata.d.ts +0 -8
- package/dist/recipes/context-role/metadata.js +0 -10
- package/dist/recipes/correction-target/metadata.d.ts +0 -8
- package/dist/recipes/correction-target/metadata.js +0 -11
- package/dist/recipes/document-role/metadata.d.ts +0 -8
- package/dist/recipes/document-role/metadata.js +0 -10
- package/dist/recipes/draft-compare/metadata.d.ts +0 -8
- package/dist/recipes/draft-compare/metadata.js +0 -10
- package/dist/recipes/evidence-conflict/metadata.d.ts +0 -8
- package/dist/recipes/evidence-conflict/metadata.js +0 -10
- package/dist/recipes/evidence-novelty/metadata.d.ts +0 -8
- package/dist/recipes/evidence-novelty/metadata.js +0 -11
- package/dist/recipes/fact-stability/metadata.d.ts +0 -8
- package/dist/recipes/fact-stability/metadata.js +0 -10
- package/dist/recipes/failure-kind/metadata.d.ts +0 -8
- package/dist/recipes/failure-kind/metadata.js +0 -11
- package/dist/recipes/feedback-kind/metadata.d.ts +0 -8
- package/dist/recipes/feedback-kind/metadata.js +0 -10
- package/dist/recipes/field-select/metadata.d.ts +0 -8
- package/dist/recipes/field-select/metadata.js +0 -11
- package/dist/recipes/followup-link/metadata.d.ts +0 -8
- package/dist/recipes/followup-link/metadata.js +0 -11
- package/dist/recipes/freshness-needed/metadata.d.ts +0 -8
- package/dist/recipes/freshness-needed/metadata.js +0 -10
- package/dist/recipes/frustration-signal/metadata.d.ts +0 -8
- package/dist/recipes/frustration-signal/metadata.js +0 -10
- package/dist/recipes/handoff/metadata.d.ts +0 -8
- package/dist/recipes/handoff/metadata.js +0 -11
- package/dist/recipes/incident-match/metadata.d.ts +0 -8
- package/dist/recipes/incident-match/metadata.js +0 -11
- package/dist/recipes/instruction-fit/metadata.d.ts +0 -8
- package/dist/recipes/instruction-fit/metadata.js +0 -10
- package/dist/recipes/intent-change/metadata.d.ts +0 -8
- package/dist/recipes/intent-change/metadata.js +0 -10
- package/dist/recipes/issue-impact/metadata.d.ts +0 -8
- package/dist/recipes/issue-impact/metadata.js +0 -10
- package/dist/recipes/memory-relation/metadata.d.ts +0 -8
- package/dist/recipes/memory-relation/metadata.js +0 -10
- package/dist/recipes/memory-scope/metadata.d.ts +0 -8
- package/dist/recipes/memory-scope/metadata.js +0 -10
- package/dist/recipes/memory-value/metadata.d.ts +0 -8
- package/dist/recipes/memory-value/metadata.js +0 -10
- package/dist/recipes/passage-duplicate/metadata.d.ts +0 -8
- package/dist/recipes/passage-duplicate/metadata.js +0 -10
- package/dist/recipes/preference-kind/metadata.d.ts +0 -8
- package/dist/recipes/preference-kind/metadata.js +0 -10
- package/dist/recipes/promise-check/metadata.d.ts +0 -8
- package/dist/recipes/promise-check/metadata.js +0 -10
- package/dist/recipes/query-equivalence/metadata.d.ts +0 -8
- package/dist/recipes/query-equivalence/metadata.js +0 -10
- package/dist/recipes/query-specificity/metadata.d.ts +0 -8
- package/dist/recipes/query-specificity/metadata.js +0 -10
- package/dist/recipes/reference-resolve/metadata.d.ts +0 -8
- package/dist/recipes/reference-resolve/metadata.js +0 -11
- package/dist/recipes/repeated-attempt/metadata.d.ts +0 -8
- package/dist/recipes/repeated-attempt/metadata.js +0 -10
- package/dist/recipes/reply-template-match/metadata.d.ts +0 -8
- package/dist/recipes/reply-template-match/metadata.js +0 -11
- package/dist/recipes/rerank/metadata.d.ts +0 -8
- package/dist/recipes/rerank/metadata.js +0 -11
- package/dist/recipes/resolution-check/metadata.d.ts +0 -8
- package/dist/recipes/resolution-check/metadata.js +0 -10
- package/dist/recipes/response-needed/metadata.d.ts +0 -8
- package/dist/recipes/response-needed/metadata.js +0 -10
- package/dist/recipes/result-outcome/metadata.d.ts +0 -8
- package/dist/recipes/result-outcome/metadata.js +0 -10
- package/dist/recipes/result-usefulness/metadata.d.ts +0 -8
- package/dist/recipes/result-usefulness/metadata.js +0 -10
- package/dist/recipes/retrieval-needed/metadata.d.ts +0 -8
- package/dist/recipes/retrieval-needed/metadata.js +0 -10
- package/dist/recipes/route/metadata.d.ts +0 -8
- package/dist/recipes/route/metadata.js +0 -11
- package/dist/recipes/source-applicability/metadata.d.ts +0 -8
- package/dist/recipes/source-applicability/metadata.js +0 -10
- package/dist/recipes/step-complete/metadata.d.ts +0 -8
- package/dist/recipes/step-complete/metadata.js +0 -10
- package/dist/recipes/step-progress/metadata.d.ts +0 -8
- package/dist/recipes/step-progress/metadata.js +0 -10
- package/dist/recipes/summary-coverage/metadata.d.ts +0 -8
- package/dist/recipes/summary-coverage/metadata.js +0 -11
- package/dist/recipes/ticket-match/metadata.d.ts +0 -8
- package/dist/recipes/ticket-match/metadata.js +0 -10
- package/dist/recipes/tone-check/metadata.d.ts +0 -8
- package/dist/recipes/tone-check/metadata.js +0 -11
- package/dist/recipes/tool-fit/metadata.d.ts +0 -8
- package/dist/recipes/tool-fit/metadata.js +0 -10
- package/dist/recipes/topic-shift/metadata.d.ts +0 -8
- package/dist/recipes/topic-shift/metadata.js +0 -10
- package/dist/recipes/troubleshooting-fit/metadata.d.ts +0 -8
- package/dist/recipes/troubleshooting-fit/metadata.js +0 -10
- package/dist/recipes/turn-intent/metadata.d.ts +0 -8
- package/dist/recipes/turn-intent/metadata.js +0 -10
- package/dist/recipes/urgency-signal/metadata.d.ts +0 -8
- package/dist/recipes/urgency-signal/metadata.js +0 -10
- package/dist/recipes/verify/metadata.d.ts +0 -8
- package/dist/recipes/verify/metadata.js +0 -11
- package/dist/recipes/workaround-fit/metadata.d.ts +0 -8
- package/dist/recipes/workaround-fit/metadata.js +0 -10
- package/examples/support/README.md +0 -60
- package/examples/support/demo.json +0 -156
- package/recipes/README.md +0 -128
- package/recipes/action-scope/README.md +0 -49
- package/recipes/answer-consistency/README.md +0 -50
- package/recipes/answer-coverage/README.md +0 -60
- package/recipes/answer-invalidation/README.md +0 -50
- package/recipes/answer-relevance/README.md +0 -49
- package/recipes/answerability/README.md +0 -54
- package/recipes/argument-fit/README.md +0 -51
- package/recipes/attempted-step/README.md +0 -48
- package/recipes/audience-fit/README.md +0 -50
- package/recipes/cache-match/README.md +0 -51
- package/recipes/cancellation-check/README.md +0 -50
- package/recipes/certainty-match/README.md +0 -49
- package/recipes/change-meaning/README.md +0 -49
- package/recipes/citation-match/README.md +0 -51
- package/recipes/citation-needed/README.md +0 -49
- package/recipes/clarify/README.md +0 -61
- package/recipes/confirmation-match/README.md +0 -49
- package/recipes/context-role/README.md +0 -49
- package/recipes/correction-target/README.md +0 -52
- package/recipes/document-role/README.md +0 -51
- package/recipes/draft-compare/README.md +0 -54
- package/recipes/evidence-conflict/README.md +0 -51
- package/recipes/evidence-novelty/README.md +0 -56
- package/recipes/fact-stability/README.md +0 -47
- package/recipes/failure-kind/README.md +0 -52
- package/recipes/feedback-kind/README.md +0 -51
- package/recipes/field-select/README.md +0 -53
- package/recipes/followup-link/README.md +0 -52
- package/recipes/freshness-needed/README.md +0 -46
- package/recipes/frustration-signal/README.md +0 -47
- package/recipes/handoff/README.md +0 -56
- package/recipes/incident-match/README.md +0 -52
- package/recipes/instruction-fit/README.md +0 -49
- package/recipes/intent-change/README.md +0 -50
- package/recipes/issue-impact/README.md +0 -48
- package/recipes/memory-relation/README.md +0 -52
- package/recipes/memory-scope/README.md +0 -50
- package/recipes/memory-value/README.md +0 -50
- package/recipes/passage-duplicate/README.md +0 -49
- package/recipes/preference-kind/README.md +0 -48
- package/recipes/promise-check/README.md +0 -48
- package/recipes/query-equivalence/README.md +0 -50
- package/recipes/query-specificity/README.md +0 -47
- package/recipes/reference-resolve/README.md +0 -54
- package/recipes/repeated-attempt/README.md +0 -50
- package/recipes/reply-template-match/README.md +0 -52
- package/recipes/rerank/README.md +0 -55
- package/recipes/resolution-check/README.md +0 -49
- package/recipes/response-needed/README.md +0 -48
- package/recipes/result-outcome/README.md +0 -49
- package/recipes/result-usefulness/README.md +0 -49
- package/recipes/retrieval-needed/README.md +0 -48
- package/recipes/route/README.md +0 -47
- package/recipes/source-applicability/README.md +0 -48
- package/recipes/step-complete/README.md +0 -48
- package/recipes/step-progress/README.md +0 -51
- package/recipes/summary-coverage/README.md +0 -60
- package/recipes/ticket-match/README.md +0 -50
- package/recipes/tone-check/README.md +0 -55
- package/recipes/tool-fit/README.md +0 -49
- package/recipes/topic-shift/README.md +0 -50
- package/recipes/troubleshooting-fit/README.md +0 -49
- package/recipes/turn-intent/README.md +0 -52
- package/recipes/urgency-signal/README.md +0 -47
- package/recipes/verify/README.md +0 -54
- package/recipes/workaround-fit/README.md +0 -50
- /package/{recipes → dist/recipes}/action-scope/demo.json +0 -0
- /package/{recipes → dist/recipes}/answer-consistency/demo.json +0 -0
- /package/{recipes → dist/recipes}/answer-coverage/demo.json +0 -0
- /package/{recipes → dist/recipes}/answer-invalidation/demo.json +0 -0
- /package/{recipes → dist/recipes}/answer-relevance/demo.json +0 -0
- /package/{recipes → dist/recipes}/answerability/demo.json +0 -0
- /package/{recipes → dist/recipes}/argument-fit/demo.json +0 -0
- /package/{recipes → dist/recipes}/attempted-step/demo.json +0 -0
- /package/{recipes → dist/recipes}/audience-fit/demo.json +0 -0
- /package/{recipes → dist/recipes}/cache-match/demo.json +0 -0
- /package/{recipes → dist/recipes}/cancellation-check/demo.json +0 -0
- /package/{recipes → dist/recipes}/certainty-match/demo.json +0 -0
- /package/{recipes → dist/recipes}/change-meaning/demo.json +0 -0
- /package/{recipes → dist/recipes}/citation-match/demo.json +0 -0
- /package/{recipes → dist/recipes}/citation-needed/demo.json +0 -0
- /package/{recipes → dist/recipes}/clarify/demo.json +0 -0
- /package/{recipes → dist/recipes}/confirmation-match/demo.json +0 -0
- /package/{recipes → dist/recipes}/context-role/demo.json +0 -0
- /package/{recipes → dist/recipes}/correction-target/demo.json +0 -0
- /package/{recipes → dist/recipes}/document-role/demo.json +0 -0
- /package/{recipes → dist/recipes}/draft-compare/demo.json +0 -0
- /package/{recipes → dist/recipes}/evidence-conflict/demo.json +0 -0
- /package/{recipes → dist/recipes}/evidence-novelty/demo.json +0 -0
- /package/{recipes → dist/recipes}/fact-stability/demo.json +0 -0
- /package/{recipes → dist/recipes}/failure-kind/demo.json +0 -0
- /package/{recipes → dist/recipes}/feedback-kind/demo.json +0 -0
- /package/{recipes → dist/recipes}/field-select/demo.json +0 -0
- /package/{recipes → dist/recipes}/followup-link/demo.json +0 -0
- /package/{recipes → dist/recipes}/freshness-needed/demo.json +0 -0
- /package/{recipes → dist/recipes}/frustration-signal/demo.json +0 -0
- /package/{recipes → dist/recipes}/handoff/demo.json +0 -0
- /package/{recipes → dist/recipes}/incident-match/demo.json +0 -0
- /package/{recipes → dist/recipes}/instruction-fit/demo.json +0 -0
- /package/{recipes → dist/recipes}/intent-change/demo.json +0 -0
- /package/{recipes → dist/recipes}/issue-impact/demo.json +0 -0
- /package/{recipes → dist/recipes}/memory-relation/demo.json +0 -0
- /package/{recipes → dist/recipes}/memory-scope/demo.json +0 -0
- /package/{recipes → dist/recipes}/memory-value/demo.json +0 -0
- /package/{recipes → dist/recipes}/passage-duplicate/demo.json +0 -0
- /package/{recipes → dist/recipes}/preference-kind/demo.json +0 -0
- /package/{recipes → dist/recipes}/promise-check/demo.json +0 -0
- /package/{recipes → dist/recipes}/query-equivalence/demo.json +0 -0
- /package/{recipes → dist/recipes}/query-specificity/demo.json +0 -0
- /package/{recipes → dist/recipes}/reference-resolve/demo.json +0 -0
- /package/{recipes → dist/recipes}/repeated-attempt/demo.json +0 -0
- /package/{recipes → dist/recipes}/reply-template-match/demo.json +0 -0
- /package/{recipes → dist/recipes}/rerank/demo.json +0 -0
- /package/{recipes → dist/recipes}/resolution-check/demo.json +0 -0
- /package/{recipes → dist/recipes}/response-needed/demo.json +0 -0
- /package/{recipes → dist/recipes}/result-outcome/demo.json +0 -0
- /package/{recipes → dist/recipes}/result-usefulness/demo.json +0 -0
- /package/{recipes → dist/recipes}/retrieval-needed/demo.json +0 -0
- /package/{recipes → dist/recipes}/route/demo.json +0 -0
- /package/{recipes → dist/recipes}/source-applicability/demo.json +0 -0
- /package/{recipes → dist/recipes}/step-complete/demo.json +0 -0
- /package/{recipes → dist/recipes}/step-progress/demo.json +0 -0
- /package/{recipes → dist/recipes}/summary-coverage/demo.json +0 -0
- /package/{recipes → dist/recipes}/ticket-match/demo.json +0 -0
- /package/{recipes → dist/recipes}/tone-check/demo.json +0 -0
- /package/{recipes → dist/recipes}/tool-fit/demo.json +0 -0
- /package/{recipes → dist/recipes}/topic-shift/demo.json +0 -0
- /package/{recipes → dist/recipes}/troubleshooting-fit/demo.json +0 -0
- /package/{recipes → dist/recipes}/turn-intent/demo.json +0 -0
- /package/{recipes → dist/recipes}/urgency-signal/demo.json +0 -0
- /package/{recipes → dist/recipes}/verify/demo.json +0 -0
- /package/{recipes → dist/recipes}/workaround-fit/demo.json +0 -0
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { clarify, clarifyInputSchema, clarifyResultSchema } from '../../recipes/clarify/index.js';
|
|
2
|
-
import { metadata as clarifyMetadata } from '../../recipes/clarify/metadata.js';
|
|
3
|
-
import { turnIntent, turnIntentInputSchema, turnIntentResultSchema, } from '../../recipes/turn-intent/index.js';
|
|
4
|
-
import { metadata as turnIntentMetadata } from '../../recipes/turn-intent/metadata.js';
|
|
5
|
-
import { followupLink, followupLinkInputSchema, followupLinkResultSchema, } from '../../recipes/followup-link/index.js';
|
|
6
|
-
import { metadata as followupLinkMetadata } from '../../recipes/followup-link/metadata.js';
|
|
7
|
-
import { referenceResolve, referenceResolveInputSchema, referenceResolveResultSchema, } from '../../recipes/reference-resolve/index.js';
|
|
8
|
-
import { metadata as referenceResolveMetadata } from '../../recipes/reference-resolve/metadata.js';
|
|
9
|
-
import { intentChange, intentChangeInputSchema, intentChangeResultSchema, } from '../../recipes/intent-change/index.js';
|
|
10
|
-
import { metadata as intentChangeMetadata } from '../../recipes/intent-change/metadata.js';
|
|
11
|
-
import { correctionTarget, correctionTargetInputSchema, correctionTargetResultSchema, } from '../../recipes/correction-target/index.js';
|
|
12
|
-
import { metadata as correctionTargetMetadata } from '../../recipes/correction-target/metadata.js';
|
|
13
|
-
import { confirmationMatch, confirmationMatchInputSchema, confirmationMatchResultSchema, } from '../../recipes/confirmation-match/index.js';
|
|
14
|
-
import { metadata as confirmationMatchMetadata } from '../../recipes/confirmation-match/metadata.js';
|
|
15
|
-
import { cancellationCheck, cancellationCheckInputSchema, cancellationCheckResultSchema, } from '../../recipes/cancellation-check/index.js';
|
|
16
|
-
import { metadata as cancellationCheckMetadata } from '../../recipes/cancellation-check/metadata.js';
|
|
17
|
-
import { topicShift, topicShiftInputSchema, topicShiftResultSchema, } from '../../recipes/topic-shift/index.js';
|
|
18
|
-
import { metadata as topicShiftMetadata } from '../../recipes/topic-shift/metadata.js';
|
|
19
|
-
import { responseNeeded, responseNeededInputSchema, responseNeededResultSchema, } from '../../recipes/response-needed/index.js';
|
|
20
|
-
import { metadata as responseNeededMetadata } from '../../recipes/response-needed/metadata.js';
|
|
21
|
-
import { resolutionCheck, resolutionCheckInputSchema, resolutionCheckResultSchema, } from '../../recipes/resolution-check/index.js';
|
|
22
|
-
import { metadata as resolutionCheckMetadata } from '../../recipes/resolution-check/metadata.js';
|
|
23
|
-
export const conversationRecipes = {
|
|
24
|
-
clarify: {
|
|
25
|
-
metadata: clarifyMetadata,
|
|
26
|
-
inputSchema: clarifyInputSchema,
|
|
27
|
-
resultSchema: clarifyResultSchema,
|
|
28
|
-
run: (input, options) => clarify(clarifyInputSchema.parse(input), options),
|
|
29
|
-
},
|
|
30
|
-
'turn-intent': {
|
|
31
|
-
metadata: turnIntentMetadata,
|
|
32
|
-
inputSchema: turnIntentInputSchema,
|
|
33
|
-
resultSchema: turnIntentResultSchema,
|
|
34
|
-
run: (input, options) => turnIntent(turnIntentInputSchema.parse(input), options),
|
|
35
|
-
},
|
|
36
|
-
'followup-link': {
|
|
37
|
-
metadata: followupLinkMetadata,
|
|
38
|
-
inputSchema: followupLinkInputSchema,
|
|
39
|
-
resultSchema: followupLinkResultSchema,
|
|
40
|
-
run: (input, options) => followupLink(followupLinkInputSchema.parse(input), options),
|
|
41
|
-
},
|
|
42
|
-
'reference-resolve': {
|
|
43
|
-
metadata: referenceResolveMetadata,
|
|
44
|
-
inputSchema: referenceResolveInputSchema,
|
|
45
|
-
resultSchema: referenceResolveResultSchema,
|
|
46
|
-
run: (input, options) => referenceResolve(referenceResolveInputSchema.parse(input), options),
|
|
47
|
-
},
|
|
48
|
-
'intent-change': {
|
|
49
|
-
metadata: intentChangeMetadata,
|
|
50
|
-
inputSchema: intentChangeInputSchema,
|
|
51
|
-
resultSchema: intentChangeResultSchema,
|
|
52
|
-
run: (input, options) => intentChange(intentChangeInputSchema.parse(input), options),
|
|
53
|
-
},
|
|
54
|
-
'correction-target': {
|
|
55
|
-
metadata: correctionTargetMetadata,
|
|
56
|
-
inputSchema: correctionTargetInputSchema,
|
|
57
|
-
resultSchema: correctionTargetResultSchema,
|
|
58
|
-
run: (input, options) => correctionTarget(correctionTargetInputSchema.parse(input), options),
|
|
59
|
-
},
|
|
60
|
-
'confirmation-match': {
|
|
61
|
-
metadata: confirmationMatchMetadata,
|
|
62
|
-
inputSchema: confirmationMatchInputSchema,
|
|
63
|
-
resultSchema: confirmationMatchResultSchema,
|
|
64
|
-
run: (input, options) => confirmationMatch(confirmationMatchInputSchema.parse(input), options),
|
|
65
|
-
},
|
|
66
|
-
'cancellation-check': {
|
|
67
|
-
metadata: cancellationCheckMetadata,
|
|
68
|
-
inputSchema: cancellationCheckInputSchema,
|
|
69
|
-
resultSchema: cancellationCheckResultSchema,
|
|
70
|
-
run: (input, options) => cancellationCheck(cancellationCheckInputSchema.parse(input), options),
|
|
71
|
-
},
|
|
72
|
-
'topic-shift': {
|
|
73
|
-
metadata: topicShiftMetadata,
|
|
74
|
-
inputSchema: topicShiftInputSchema,
|
|
75
|
-
resultSchema: topicShiftResultSchema,
|
|
76
|
-
run: (input, options) => topicShift(topicShiftInputSchema.parse(input), options),
|
|
77
|
-
},
|
|
78
|
-
'response-needed': {
|
|
79
|
-
metadata: responseNeededMetadata,
|
|
80
|
-
inputSchema: responseNeededInputSchema,
|
|
81
|
-
resultSchema: responseNeededResultSchema,
|
|
82
|
-
run: (input, options) => responseNeeded(responseNeededInputSchema.parse(input), options),
|
|
83
|
-
},
|
|
84
|
-
'resolution-check': {
|
|
85
|
-
metadata: resolutionCheckMetadata,
|
|
86
|
-
inputSchema: resolutionCheckInputSchema,
|
|
87
|
-
resultSchema: resolutionCheckResultSchema,
|
|
88
|
-
run: (input, options) => resolutionCheck(resolutionCheckInputSchema.parse(input), options),
|
|
89
|
-
},
|
|
90
|
-
};
|
|
@@ -1,522 +0,0 @@
|
|
|
1
|
-
import type { RecipeOptions } from '../../src/schema.js';
|
|
2
|
-
export declare const knowledgeRecipes: {
|
|
3
|
-
'memory-value': {
|
|
4
|
-
metadata: {
|
|
5
|
-
id: string;
|
|
6
|
-
title: string;
|
|
7
|
-
description: string;
|
|
8
|
-
category: "memory";
|
|
9
|
-
tags: string[];
|
|
10
|
-
limitations: string[];
|
|
11
|
-
};
|
|
12
|
-
inputSchema: import("zod").ZodObject<{
|
|
13
|
-
fact: import("zod").ZodString;
|
|
14
|
-
purpose: import("zod").ZodString;
|
|
15
|
-
context: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
-
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
17
|
-
}, import("zod/v4/core").$strip>;
|
|
18
|
-
resultSchema: import("zod").ZodObject<{
|
|
19
|
-
model: import("zod").ZodString;
|
|
20
|
-
usage: import("zod").ZodObject<{
|
|
21
|
-
input_tokens: import("zod").ZodNumber;
|
|
22
|
-
output_tokens: import("zod").ZodNumber;
|
|
23
|
-
}, import("zod/v4/core").$strip>;
|
|
24
|
-
status: import("zod").ZodEnum<{
|
|
25
|
-
ready: "ready";
|
|
26
|
-
review: "review";
|
|
27
|
-
}>;
|
|
28
|
-
verdict: import("zod").ZodEnum<{
|
|
29
|
-
unclear: "unclear";
|
|
30
|
-
ongoing_value: "ongoing_value";
|
|
31
|
-
task_only: "task_only";
|
|
32
|
-
incidental: "incidental";
|
|
33
|
-
}>;
|
|
34
|
-
confidence: import("zod").ZodNumber;
|
|
35
|
-
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
36
|
-
unclear: "unclear";
|
|
37
|
-
ongoing_value: "ongoing_value";
|
|
38
|
-
task_only: "task_only";
|
|
39
|
-
incidental: "incidental";
|
|
40
|
-
}>, import("zod").ZodNumber>;
|
|
41
|
-
}, import("zod/v4/core").$strip>;
|
|
42
|
-
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
43
|
-
model: string;
|
|
44
|
-
usage: {
|
|
45
|
-
input_tokens: number;
|
|
46
|
-
output_tokens: number;
|
|
47
|
-
};
|
|
48
|
-
status: "ready" | "review";
|
|
49
|
-
verdict: "unclear" | "ongoing_value" | "task_only" | "incidental";
|
|
50
|
-
confidence: number;
|
|
51
|
-
probabilities: Record<"unclear" | "ongoing_value" | "task_only" | "incidental", number>;
|
|
52
|
-
}>;
|
|
53
|
-
};
|
|
54
|
-
'memory-scope': {
|
|
55
|
-
metadata: {
|
|
56
|
-
id: string;
|
|
57
|
-
title: string;
|
|
58
|
-
description: string;
|
|
59
|
-
category: "memory";
|
|
60
|
-
tags: string[];
|
|
61
|
-
limitations: string[];
|
|
62
|
-
};
|
|
63
|
-
inputSchema: import("zod").ZodObject<{
|
|
64
|
-
fact: import("zod").ZodString;
|
|
65
|
-
context: import("zod").ZodString;
|
|
66
|
-
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
67
|
-
}, import("zod/v4/core").$strip>;
|
|
68
|
-
resultSchema: import("zod").ZodObject<{
|
|
69
|
-
model: import("zod").ZodString;
|
|
70
|
-
usage: import("zod").ZodObject<{
|
|
71
|
-
input_tokens: import("zod").ZodNumber;
|
|
72
|
-
output_tokens: import("zod").ZodNumber;
|
|
73
|
-
}, import("zod/v4/core").$strip>;
|
|
74
|
-
status: import("zod").ZodEnum<{
|
|
75
|
-
ready: "ready";
|
|
76
|
-
review: "review";
|
|
77
|
-
}>;
|
|
78
|
-
verdict: import("zod").ZodEnum<{
|
|
79
|
-
unclear: "unclear";
|
|
80
|
-
task: "task";
|
|
81
|
-
user: "user";
|
|
82
|
-
project: "project";
|
|
83
|
-
session: "session";
|
|
84
|
-
}>;
|
|
85
|
-
confidence: import("zod").ZodNumber;
|
|
86
|
-
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
87
|
-
unclear: "unclear";
|
|
88
|
-
task: "task";
|
|
89
|
-
user: "user";
|
|
90
|
-
project: "project";
|
|
91
|
-
session: "session";
|
|
92
|
-
}>, import("zod").ZodNumber>;
|
|
93
|
-
}, import("zod/v4/core").$strip>;
|
|
94
|
-
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
95
|
-
model: string;
|
|
96
|
-
usage: {
|
|
97
|
-
input_tokens: number;
|
|
98
|
-
output_tokens: number;
|
|
99
|
-
};
|
|
100
|
-
status: "ready" | "review";
|
|
101
|
-
verdict: "unclear" | "task" | "user" | "project" | "session";
|
|
102
|
-
confidence: number;
|
|
103
|
-
probabilities: Record<"unclear" | "task" | "user" | "project" | "session", number>;
|
|
104
|
-
}>;
|
|
105
|
-
};
|
|
106
|
-
'memory-relation': {
|
|
107
|
-
metadata: {
|
|
108
|
-
id: string;
|
|
109
|
-
title: string;
|
|
110
|
-
description: string;
|
|
111
|
-
category: "memory";
|
|
112
|
-
tags: string[];
|
|
113
|
-
limitations: string[];
|
|
114
|
-
};
|
|
115
|
-
inputSchema: import("zod").ZodObject<{
|
|
116
|
-
existingMemory: import("zod").ZodString;
|
|
117
|
-
newFact: import("zod").ZodString;
|
|
118
|
-
context: import("zod").ZodOptional<import("zod").ZodString>;
|
|
119
|
-
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
120
|
-
}, import("zod/v4/core").$strip>;
|
|
121
|
-
resultSchema: import("zod").ZodObject<{
|
|
122
|
-
model: import("zod").ZodString;
|
|
123
|
-
usage: import("zod").ZodObject<{
|
|
124
|
-
input_tokens: import("zod").ZodNumber;
|
|
125
|
-
output_tokens: import("zod").ZodNumber;
|
|
126
|
-
}, import("zod/v4/core").$strip>;
|
|
127
|
-
status: import("zod").ZodEnum<{
|
|
128
|
-
ready: "ready";
|
|
129
|
-
review: "review";
|
|
130
|
-
}>;
|
|
131
|
-
verdict: import("zod").ZodEnum<{
|
|
132
|
-
unclear: "unclear";
|
|
133
|
-
unrelated: "unrelated";
|
|
134
|
-
conflicts: "conflicts";
|
|
135
|
-
repeats: "repeats";
|
|
136
|
-
supplements: "supplements";
|
|
137
|
-
updates: "updates";
|
|
138
|
-
}>;
|
|
139
|
-
confidence: import("zod").ZodNumber;
|
|
140
|
-
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
141
|
-
unclear: "unclear";
|
|
142
|
-
unrelated: "unrelated";
|
|
143
|
-
conflicts: "conflicts";
|
|
144
|
-
repeats: "repeats";
|
|
145
|
-
supplements: "supplements";
|
|
146
|
-
updates: "updates";
|
|
147
|
-
}>, import("zod").ZodNumber>;
|
|
148
|
-
}, import("zod/v4/core").$strip>;
|
|
149
|
-
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
150
|
-
model: string;
|
|
151
|
-
usage: {
|
|
152
|
-
input_tokens: number;
|
|
153
|
-
output_tokens: number;
|
|
154
|
-
};
|
|
155
|
-
status: "ready" | "review";
|
|
156
|
-
verdict: "unclear" | "unrelated" | "conflicts" | "repeats" | "supplements" | "updates";
|
|
157
|
-
confidence: number;
|
|
158
|
-
probabilities: Record<"unclear" | "unrelated" | "conflicts" | "repeats" | "supplements" | "updates", number>;
|
|
159
|
-
}>;
|
|
160
|
-
};
|
|
161
|
-
'preference-kind': {
|
|
162
|
-
metadata: {
|
|
163
|
-
id: string;
|
|
164
|
-
title: string;
|
|
165
|
-
description: string;
|
|
166
|
-
category: "memory";
|
|
167
|
-
tags: string[];
|
|
168
|
-
limitations: string[];
|
|
169
|
-
};
|
|
170
|
-
inputSchema: import("zod").ZodObject<{
|
|
171
|
-
statement: import("zod").ZodString;
|
|
172
|
-
context: import("zod").ZodOptional<import("zod").ZodString>;
|
|
173
|
-
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
174
|
-
}, import("zod/v4/core").$strip>;
|
|
175
|
-
resultSchema: import("zod").ZodObject<{
|
|
176
|
-
model: import("zod").ZodString;
|
|
177
|
-
usage: import("zod").ZodObject<{
|
|
178
|
-
input_tokens: import("zod").ZodNumber;
|
|
179
|
-
output_tokens: import("zod").ZodNumber;
|
|
180
|
-
}, import("zod/v4/core").$strip>;
|
|
181
|
-
status: import("zod").ZodEnum<{
|
|
182
|
-
ready: "ready";
|
|
183
|
-
review: "review";
|
|
184
|
-
}>;
|
|
185
|
-
verdict: import("zod").ZodEnum<{
|
|
186
|
-
unclear: "unclear";
|
|
187
|
-
fact: "fact";
|
|
188
|
-
preference: "preference";
|
|
189
|
-
temporary_request: "temporary_request";
|
|
190
|
-
}>;
|
|
191
|
-
confidence: import("zod").ZodNumber;
|
|
192
|
-
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
193
|
-
unclear: "unclear";
|
|
194
|
-
fact: "fact";
|
|
195
|
-
preference: "preference";
|
|
196
|
-
temporary_request: "temporary_request";
|
|
197
|
-
}>, import("zod").ZodNumber>;
|
|
198
|
-
}, import("zod/v4/core").$strip>;
|
|
199
|
-
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
200
|
-
model: string;
|
|
201
|
-
usage: {
|
|
202
|
-
input_tokens: number;
|
|
203
|
-
output_tokens: number;
|
|
204
|
-
};
|
|
205
|
-
status: "ready" | "review";
|
|
206
|
-
verdict: "unclear" | "fact" | "preference" | "temporary_request";
|
|
207
|
-
confidence: number;
|
|
208
|
-
probabilities: Record<"unclear" | "fact" | "preference" | "temporary_request", number>;
|
|
209
|
-
}>;
|
|
210
|
-
};
|
|
211
|
-
'fact-stability': {
|
|
212
|
-
metadata: {
|
|
213
|
-
id: string;
|
|
214
|
-
title: string;
|
|
215
|
-
description: string;
|
|
216
|
-
category: "memory";
|
|
217
|
-
tags: string[];
|
|
218
|
-
limitations: string[];
|
|
219
|
-
};
|
|
220
|
-
inputSchema: import("zod").ZodObject<{
|
|
221
|
-
fact: import("zod").ZodString;
|
|
222
|
-
context: import("zod").ZodOptional<import("zod").ZodString>;
|
|
223
|
-
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
224
|
-
}, import("zod/v4/core").$strip>;
|
|
225
|
-
resultSchema: import("zod").ZodObject<{
|
|
226
|
-
model: import("zod").ZodString;
|
|
227
|
-
usage: import("zod").ZodObject<{
|
|
228
|
-
input_tokens: import("zod").ZodNumber;
|
|
229
|
-
output_tokens: import("zod").ZodNumber;
|
|
230
|
-
}, import("zod/v4/core").$strip>;
|
|
231
|
-
status: import("zod").ZodEnum<{
|
|
232
|
-
ready: "ready";
|
|
233
|
-
review: "review";
|
|
234
|
-
}>;
|
|
235
|
-
verdict: import("zod").ZodEnum<{
|
|
236
|
-
unclear: "unclear";
|
|
237
|
-
stable: "stable";
|
|
238
|
-
changeable: "changeable";
|
|
239
|
-
}>;
|
|
240
|
-
confidence: import("zod").ZodNumber;
|
|
241
|
-
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
242
|
-
unclear: "unclear";
|
|
243
|
-
stable: "stable";
|
|
244
|
-
changeable: "changeable";
|
|
245
|
-
}>, import("zod").ZodNumber>;
|
|
246
|
-
}, import("zod/v4/core").$strip>;
|
|
247
|
-
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
248
|
-
model: string;
|
|
249
|
-
usage: {
|
|
250
|
-
input_tokens: number;
|
|
251
|
-
output_tokens: number;
|
|
252
|
-
};
|
|
253
|
-
status: "ready" | "review";
|
|
254
|
-
verdict: "unclear" | "stable" | "changeable";
|
|
255
|
-
confidence: number;
|
|
256
|
-
probabilities: Record<"unclear" | "stable" | "changeable", number>;
|
|
257
|
-
}>;
|
|
258
|
-
};
|
|
259
|
-
'document-role': {
|
|
260
|
-
metadata: {
|
|
261
|
-
id: string;
|
|
262
|
-
title: string;
|
|
263
|
-
description: string;
|
|
264
|
-
category: "knowledge";
|
|
265
|
-
tags: string[];
|
|
266
|
-
limitations: string[];
|
|
267
|
-
};
|
|
268
|
-
inputSchema: import("zod").ZodObject<{
|
|
269
|
-
document: import("zod").ZodString;
|
|
270
|
-
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
271
|
-
}, import("zod/v4/core").$strip>;
|
|
272
|
-
resultSchema: import("zod").ZodObject<{
|
|
273
|
-
model: import("zod").ZodString;
|
|
274
|
-
usage: import("zod").ZodObject<{
|
|
275
|
-
input_tokens: import("zod").ZodNumber;
|
|
276
|
-
output_tokens: import("zod").ZodNumber;
|
|
277
|
-
}, import("zod/v4/core").$strip>;
|
|
278
|
-
status: import("zod").ZodEnum<{
|
|
279
|
-
ready: "ready";
|
|
280
|
-
review: "review";
|
|
281
|
-
}>;
|
|
282
|
-
verdict: import("zod").ZodEnum<{
|
|
283
|
-
unclear: "unclear";
|
|
284
|
-
other: "other";
|
|
285
|
-
reference: "reference";
|
|
286
|
-
troubleshooting: "troubleshooting";
|
|
287
|
-
policy: "policy";
|
|
288
|
-
tutorial: "tutorial";
|
|
289
|
-
release_note: "release_note";
|
|
290
|
-
}>;
|
|
291
|
-
confidence: import("zod").ZodNumber;
|
|
292
|
-
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
293
|
-
unclear: "unclear";
|
|
294
|
-
other: "other";
|
|
295
|
-
reference: "reference";
|
|
296
|
-
troubleshooting: "troubleshooting";
|
|
297
|
-
policy: "policy";
|
|
298
|
-
tutorial: "tutorial";
|
|
299
|
-
release_note: "release_note";
|
|
300
|
-
}>, import("zod").ZodNumber>;
|
|
301
|
-
}, import("zod/v4/core").$strip>;
|
|
302
|
-
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
303
|
-
model: string;
|
|
304
|
-
usage: {
|
|
305
|
-
input_tokens: number;
|
|
306
|
-
output_tokens: number;
|
|
307
|
-
};
|
|
308
|
-
status: "ready" | "review";
|
|
309
|
-
verdict: "unclear" | "other" | "reference" | "troubleshooting" | "policy" | "tutorial" | "release_note";
|
|
310
|
-
confidence: number;
|
|
311
|
-
probabilities: Record<"unclear" | "other" | "reference" | "troubleshooting" | "policy" | "tutorial" | "release_note", number>;
|
|
312
|
-
}>;
|
|
313
|
-
};
|
|
314
|
-
'audience-fit': {
|
|
315
|
-
metadata: {
|
|
316
|
-
id: string;
|
|
317
|
-
title: string;
|
|
318
|
-
description: string;
|
|
319
|
-
category: "knowledge";
|
|
320
|
-
tags: string[];
|
|
321
|
-
limitations: string[];
|
|
322
|
-
};
|
|
323
|
-
inputSchema: import("zod").ZodObject<{
|
|
324
|
-
document: import("zod").ZodString;
|
|
325
|
-
audience: import("zod").ZodString;
|
|
326
|
-
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
327
|
-
}, import("zod/v4/core").$strip>;
|
|
328
|
-
resultSchema: import("zod").ZodObject<{
|
|
329
|
-
model: import("zod").ZodString;
|
|
330
|
-
usage: import("zod").ZodObject<{
|
|
331
|
-
input_tokens: import("zod").ZodNumber;
|
|
332
|
-
output_tokens: import("zod").ZodNumber;
|
|
333
|
-
}, import("zod/v4/core").$strip>;
|
|
334
|
-
status: import("zod").ZodEnum<{
|
|
335
|
-
ready: "ready";
|
|
336
|
-
review: "review";
|
|
337
|
-
}>;
|
|
338
|
-
verdict: import("zod").ZodEnum<{
|
|
339
|
-
unclear: "unclear";
|
|
340
|
-
appropriate: "appropriate";
|
|
341
|
-
too_technical: "too_technical";
|
|
342
|
-
too_basic: "too_basic";
|
|
343
|
-
}>;
|
|
344
|
-
confidence: import("zod").ZodNumber;
|
|
345
|
-
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
346
|
-
unclear: "unclear";
|
|
347
|
-
appropriate: "appropriate";
|
|
348
|
-
too_technical: "too_technical";
|
|
349
|
-
too_basic: "too_basic";
|
|
350
|
-
}>, import("zod").ZodNumber>;
|
|
351
|
-
}, import("zod/v4/core").$strip>;
|
|
352
|
-
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
353
|
-
model: string;
|
|
354
|
-
usage: {
|
|
355
|
-
input_tokens: number;
|
|
356
|
-
output_tokens: number;
|
|
357
|
-
};
|
|
358
|
-
status: "ready" | "review";
|
|
359
|
-
verdict: "unclear" | "appropriate" | "too_technical" | "too_basic";
|
|
360
|
-
confidence: number;
|
|
361
|
-
probabilities: Record<"unclear" | "appropriate" | "too_technical" | "too_basic", number>;
|
|
362
|
-
}>;
|
|
363
|
-
};
|
|
364
|
-
'change-meaning': {
|
|
365
|
-
metadata: {
|
|
366
|
-
id: string;
|
|
367
|
-
title: string;
|
|
368
|
-
description: string;
|
|
369
|
-
category: "knowledge";
|
|
370
|
-
tags: string[];
|
|
371
|
-
limitations: string[];
|
|
372
|
-
};
|
|
373
|
-
inputSchema: import("zod").ZodObject<{
|
|
374
|
-
before: import("zod").ZodString;
|
|
375
|
-
after: import("zod").ZodString;
|
|
376
|
-
context: import("zod").ZodOptional<import("zod").ZodString>;
|
|
377
|
-
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
378
|
-
}, import("zod/v4/core").$strip>;
|
|
379
|
-
resultSchema: import("zod").ZodObject<{
|
|
380
|
-
model: import("zod").ZodString;
|
|
381
|
-
usage: import("zod").ZodObject<{
|
|
382
|
-
input_tokens: import("zod").ZodNumber;
|
|
383
|
-
output_tokens: import("zod").ZodNumber;
|
|
384
|
-
}, import("zod/v4/core").$strip>;
|
|
385
|
-
status: import("zod").ZodEnum<{
|
|
386
|
-
ready: "ready";
|
|
387
|
-
review: "review";
|
|
388
|
-
}>;
|
|
389
|
-
verdict: import("zod").ZodEnum<{
|
|
390
|
-
unclear: "unclear";
|
|
391
|
-
meaning_changed: "meaning_changed";
|
|
392
|
-
editorial_only: "editorial_only";
|
|
393
|
-
}>;
|
|
394
|
-
confidence: import("zod").ZodNumber;
|
|
395
|
-
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
396
|
-
unclear: "unclear";
|
|
397
|
-
meaning_changed: "meaning_changed";
|
|
398
|
-
editorial_only: "editorial_only";
|
|
399
|
-
}>, import("zod").ZodNumber>;
|
|
400
|
-
}, import("zod/v4/core").$strip>;
|
|
401
|
-
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
402
|
-
model: string;
|
|
403
|
-
usage: {
|
|
404
|
-
input_tokens: number;
|
|
405
|
-
output_tokens: number;
|
|
406
|
-
};
|
|
407
|
-
status: "ready" | "review";
|
|
408
|
-
verdict: "unclear" | "meaning_changed" | "editorial_only";
|
|
409
|
-
confidence: number;
|
|
410
|
-
probabilities: Record<"unclear" | "meaning_changed" | "editorial_only", number>;
|
|
411
|
-
}>;
|
|
412
|
-
};
|
|
413
|
-
'answer-invalidation': {
|
|
414
|
-
metadata: {
|
|
415
|
-
id: string;
|
|
416
|
-
title: string;
|
|
417
|
-
description: string;
|
|
418
|
-
category: "knowledge";
|
|
419
|
-
tags: string[];
|
|
420
|
-
limitations: string[];
|
|
421
|
-
};
|
|
422
|
-
inputSchema: import("zod").ZodObject<{
|
|
423
|
-
claim: import("zod").ZodString;
|
|
424
|
-
previousEvidence: import("zod").ZodString;
|
|
425
|
-
updatedEvidence: import("zod").ZodString;
|
|
426
|
-
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
427
|
-
}, import("zod/v4/core").$strip>;
|
|
428
|
-
resultSchema: import("zod").ZodObject<{
|
|
429
|
-
model: import("zod").ZodString;
|
|
430
|
-
usage: import("zod").ZodObject<{
|
|
431
|
-
input_tokens: import("zod").ZodNumber;
|
|
432
|
-
output_tokens: import("zod").ZodNumber;
|
|
433
|
-
}, import("zod/v4/core").$strip>;
|
|
434
|
-
status: import("zod").ZodEnum<{
|
|
435
|
-
ready: "ready";
|
|
436
|
-
review: "review";
|
|
437
|
-
}>;
|
|
438
|
-
verdict: import("zod").ZodEnum<{
|
|
439
|
-
unclear: "unclear";
|
|
440
|
-
still_supported: "still_supported";
|
|
441
|
-
invalidated: "invalidated";
|
|
442
|
-
}>;
|
|
443
|
-
confidence: import("zod").ZodNumber;
|
|
444
|
-
probabilities: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
445
|
-
unclear: "unclear";
|
|
446
|
-
still_supported: "still_supported";
|
|
447
|
-
invalidated: "invalidated";
|
|
448
|
-
}>, import("zod").ZodNumber>;
|
|
449
|
-
}, import("zod/v4/core").$strip>;
|
|
450
|
-
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
451
|
-
model: string;
|
|
452
|
-
usage: {
|
|
453
|
-
input_tokens: number;
|
|
454
|
-
output_tokens: number;
|
|
455
|
-
};
|
|
456
|
-
status: "ready" | "review";
|
|
457
|
-
verdict: "unclear" | "still_supported" | "invalidated";
|
|
458
|
-
confidence: number;
|
|
459
|
-
probabilities: Record<"unclear" | "still_supported" | "invalidated", number>;
|
|
460
|
-
}>;
|
|
461
|
-
};
|
|
462
|
-
'field-select': {
|
|
463
|
-
metadata: {
|
|
464
|
-
id: string;
|
|
465
|
-
title: string;
|
|
466
|
-
description: string;
|
|
467
|
-
category: "knowledge";
|
|
468
|
-
tags: string[];
|
|
469
|
-
limitations: string[];
|
|
470
|
-
};
|
|
471
|
-
inputSchema: import("zod").ZodObject<{
|
|
472
|
-
field: import("zod").ZodString;
|
|
473
|
-
document: import("zod").ZodString;
|
|
474
|
-
candidates: import("zod").ZodArray<import("zod").ZodObject<{
|
|
475
|
-
id: import("zod").ZodString;
|
|
476
|
-
text: import("zod").ZodString;
|
|
477
|
-
}, import("zod/v4/core").$strip>>;
|
|
478
|
-
minConfidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
479
|
-
}, import("zod/v4/core").$strip>;
|
|
480
|
-
resultSchema: import("zod").ZodObject<{
|
|
481
|
-
model: import("zod").ZodString;
|
|
482
|
-
usage: import("zod").ZodObject<{
|
|
483
|
-
input_tokens: import("zod").ZodNumber;
|
|
484
|
-
output_tokens: import("zod").ZodNumber;
|
|
485
|
-
}, import("zod/v4/core").$strip>;
|
|
486
|
-
status: import("zod").ZodEnum<{
|
|
487
|
-
ready: "ready";
|
|
488
|
-
review: "review";
|
|
489
|
-
}>;
|
|
490
|
-
verdict: import("zod").ZodEnum<{
|
|
491
|
-
matched: "matched";
|
|
492
|
-
none: "none";
|
|
493
|
-
ambiguous: "ambiguous";
|
|
494
|
-
}>;
|
|
495
|
-
selection: import("zod").ZodNullable<import("zod").ZodString>;
|
|
496
|
-
suggestedSelection: import("zod").ZodNullable<import("zod").ZodString>;
|
|
497
|
-
confidence: import("zod").ZodNumber;
|
|
498
|
-
probabilities: import("zod").ZodObject<{
|
|
499
|
-
candidates: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodNumber>;
|
|
500
|
-
none: import("zod").ZodNumber;
|
|
501
|
-
ambiguous: import("zod").ZodNumber;
|
|
502
|
-
}, import("zod/v4/core").$strip>;
|
|
503
|
-
}, import("zod/v4/core").$strip>;
|
|
504
|
-
run: (input: unknown, options?: RecipeOptions) => Promise<{
|
|
505
|
-
model: string;
|
|
506
|
-
usage: {
|
|
507
|
-
input_tokens: number;
|
|
508
|
-
output_tokens: number;
|
|
509
|
-
};
|
|
510
|
-
status: "ready" | "review";
|
|
511
|
-
verdict: "matched" | "none" | "ambiguous";
|
|
512
|
-
selection: string | null;
|
|
513
|
-
suggestedSelection: string | null;
|
|
514
|
-
confidence: number;
|
|
515
|
-
probabilities: {
|
|
516
|
-
candidates: Record<string, number>;
|
|
517
|
-
none: number;
|
|
518
|
-
ambiguous: number;
|
|
519
|
-
};
|
|
520
|
-
}>;
|
|
521
|
-
};
|
|
522
|
-
};
|