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
package/dist/cli/schema.d.ts
CHANGED
|
@@ -2,226 +2,228 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const commandArgumentsSchema: z.ZodUnion<readonly [z.ZodTuple<[z.ZodEnum<{
|
|
3
3
|
"--help": "--help";
|
|
4
4
|
"-h": "-h";
|
|
5
|
-
}>], null>, z.ZodTuple<[z.ZodLiteral<"--version">], null>, z.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
workflow: "workflow";
|
|
9
|
-
"answer-quality": "answer-quality";
|
|
10
|
-
support: "support";
|
|
11
|
-
memory: "memory";
|
|
12
|
-
knowledge: "knowledge";
|
|
13
|
-
}>], null>, z.ZodTuple<[z.ZodLiteral<"list">, z.ZodString, z.ZodLiteral<"--category">, z.ZodEnum<{
|
|
14
|
-
retrieval: "retrieval";
|
|
15
|
-
conversation: "conversation";
|
|
16
|
-
workflow: "workflow";
|
|
17
|
-
"answer-quality": "answer-quality";
|
|
18
|
-
support: "support";
|
|
19
|
-
memory: "memory";
|
|
20
|
-
knowledge: "knowledge";
|
|
21
|
-
}>], null>, z.ZodTuple<[z.ZodLiteral<"demo">, z.ZodUnion<readonly [z.ZodEnum<{
|
|
22
|
-
route: "route";
|
|
23
|
-
answerability: "answerability";
|
|
5
|
+
}>], null>, z.ZodTuple<[z.ZodLiteral<"--version">], null>, z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<["list", ...string[]], string[]>>, z.ZodTuple<[z.ZodLiteral<"demo">, z.ZodUnion<readonly [z.ZodEnum<{
|
|
6
|
+
"action-scope": "action-scope";
|
|
7
|
+
"answer-consistency": "answer-consistency";
|
|
24
8
|
"answer-coverage": "answer-coverage";
|
|
9
|
+
"answer-invalidation": "answer-invalidation";
|
|
25
10
|
"answer-relevance": "answer-relevance";
|
|
11
|
+
answerability: "answerability";
|
|
12
|
+
"argument-fit": "argument-fit";
|
|
13
|
+
"attempted-step": "attempted-step";
|
|
14
|
+
"audience-fit": "audience-fit";
|
|
15
|
+
"cache-match": "cache-match";
|
|
16
|
+
"cancellation-check": "cancellation-check";
|
|
17
|
+
"certainty-match": "certainty-match";
|
|
18
|
+
"change-meaning": "change-meaning";
|
|
26
19
|
"citation-match": "citation-match";
|
|
27
|
-
verify: "verify";
|
|
28
20
|
"citation-needed": "citation-needed";
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
21
|
+
"claim-stance": "claim-stance";
|
|
22
|
+
clarify: "clarify";
|
|
23
|
+
"confirmation-match": "confirmation-match";
|
|
24
|
+
"constraint-strength": "constraint-strength";
|
|
25
|
+
"context-role": "context-role";
|
|
26
|
+
"correction-target": "correction-target";
|
|
27
|
+
"document-role": "document-role";
|
|
34
28
|
"draft-compare": "draft-compare";
|
|
35
|
-
rerank: "rerank";
|
|
36
|
-
"retrieval-needed": "retrieval-needed";
|
|
37
|
-
"freshness-needed": "freshness-needed";
|
|
38
|
-
"source-applicability": "source-applicability";
|
|
39
29
|
"evidence-conflict": "evidence-conflict";
|
|
40
|
-
"passage-duplicate": "passage-duplicate";
|
|
41
30
|
"evidence-novelty": "evidence-novelty";
|
|
42
|
-
"
|
|
31
|
+
"fact-stability": "fact-stability";
|
|
32
|
+
"failure-kind": "failure-kind";
|
|
33
|
+
"feedback-kind": "feedback-kind";
|
|
34
|
+
"field-select": "field-select";
|
|
35
|
+
"followup-link": "followup-link";
|
|
36
|
+
"freshness-needed": "freshness-needed";
|
|
37
|
+
"frustration-signal": "frustration-signal";
|
|
38
|
+
handoff: "handoff";
|
|
39
|
+
"incident-match": "incident-match";
|
|
40
|
+
"instruction-conflict": "instruction-conflict";
|
|
41
|
+
"instruction-fit": "instruction-fit";
|
|
42
|
+
"intent-change": "intent-change";
|
|
43
|
+
"issue-impact": "issue-impact";
|
|
44
|
+
"memory-relation": "memory-relation";
|
|
45
|
+
"memory-scope": "memory-scope";
|
|
46
|
+
"memory-value": "memory-value";
|
|
47
|
+
"passage-duplicate": "passage-duplicate";
|
|
48
|
+
"preference-kind": "preference-kind";
|
|
49
|
+
"promise-check": "promise-check";
|
|
43
50
|
"query-equivalence": "query-equivalence";
|
|
44
|
-
"context-role": "context-role";
|
|
45
51
|
"query-specificity": "query-specificity";
|
|
46
|
-
clarify: "clarify";
|
|
47
|
-
"turn-intent": "turn-intent";
|
|
48
|
-
"followup-link": "followup-link";
|
|
49
52
|
"reference-resolve": "reference-resolve";
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
"topic-shift": "topic-shift";
|
|
55
|
-
"response-needed": "response-needed";
|
|
53
|
+
"repeated-attempt": "repeated-attempt";
|
|
54
|
+
"reply-template-match": "reply-template-match";
|
|
55
|
+
"requirement-testability": "requirement-testability";
|
|
56
|
+
rerank: "rerank";
|
|
56
57
|
"resolution-check": "resolution-check";
|
|
57
|
-
|
|
58
|
-
"tool-fit": "tool-fit";
|
|
59
|
-
"argument-fit": "argument-fit";
|
|
60
|
-
"result-usefulness": "result-usefulness";
|
|
58
|
+
"response-needed": "response-needed";
|
|
61
59
|
"result-outcome": "result-outcome";
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
|
|
60
|
+
"result-usefulness": "result-usefulness";
|
|
61
|
+
"retrieval-needed": "retrieval-needed";
|
|
62
|
+
route: "route";
|
|
63
|
+
"source-applicability": "source-applicability";
|
|
65
64
|
"step-complete": "step-complete";
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"workaround-fit": "workaround-fit";
|
|
65
|
+
"step-progress": "step-progress";
|
|
66
|
+
"summary-coverage": "summary-coverage";
|
|
67
|
+
"task-dependency": "task-dependency";
|
|
68
|
+
"task-duplicate": "task-duplicate";
|
|
71
69
|
"ticket-match": "ticket-match";
|
|
72
|
-
"
|
|
70
|
+
"tone-check": "tone-check";
|
|
71
|
+
"tool-fit": "tool-fit";
|
|
72
|
+
"topic-shift": "topic-shift";
|
|
73
73
|
"troubleshooting-fit": "troubleshooting-fit";
|
|
74
|
-
"
|
|
74
|
+
"turn-intent": "turn-intent";
|
|
75
75
|
"urgency-signal": "urgency-signal";
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
"memory-value": "memory-value";
|
|
79
|
-
"memory-scope": "memory-scope";
|
|
80
|
-
"memory-relation": "memory-relation";
|
|
81
|
-
"preference-kind": "preference-kind";
|
|
82
|
-
"fact-stability": "fact-stability";
|
|
83
|
-
"document-role": "document-role";
|
|
84
|
-
"audience-fit": "audience-fit";
|
|
85
|
-
"change-meaning": "change-meaning";
|
|
86
|
-
"answer-invalidation": "answer-invalidation";
|
|
87
|
-
"field-select": "field-select";
|
|
76
|
+
verify: "verify";
|
|
77
|
+
"workaround-fit": "workaround-fit";
|
|
88
78
|
}>, z.ZodLiteral<"all">]>], null>, z.ZodTuple<[z.ZodEnum<{
|
|
89
79
|
example: "example";
|
|
90
80
|
describe: "describe";
|
|
91
81
|
}>, z.ZodEnum<{
|
|
92
|
-
|
|
93
|
-
|
|
82
|
+
"action-scope": "action-scope";
|
|
83
|
+
"answer-consistency": "answer-consistency";
|
|
94
84
|
"answer-coverage": "answer-coverage";
|
|
85
|
+
"answer-invalidation": "answer-invalidation";
|
|
95
86
|
"answer-relevance": "answer-relevance";
|
|
87
|
+
answerability: "answerability";
|
|
88
|
+
"argument-fit": "argument-fit";
|
|
89
|
+
"attempted-step": "attempted-step";
|
|
90
|
+
"audience-fit": "audience-fit";
|
|
91
|
+
"cache-match": "cache-match";
|
|
92
|
+
"cancellation-check": "cancellation-check";
|
|
93
|
+
"certainty-match": "certainty-match";
|
|
94
|
+
"change-meaning": "change-meaning";
|
|
96
95
|
"citation-match": "citation-match";
|
|
97
|
-
verify: "verify";
|
|
98
96
|
"citation-needed": "citation-needed";
|
|
99
|
-
"
|
|
100
|
-
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
97
|
+
"claim-stance": "claim-stance";
|
|
98
|
+
clarify: "clarify";
|
|
99
|
+
"confirmation-match": "confirmation-match";
|
|
100
|
+
"constraint-strength": "constraint-strength";
|
|
101
|
+
"context-role": "context-role";
|
|
102
|
+
"correction-target": "correction-target";
|
|
103
|
+
"document-role": "document-role";
|
|
104
104
|
"draft-compare": "draft-compare";
|
|
105
|
-
rerank: "rerank";
|
|
106
|
-
"retrieval-needed": "retrieval-needed";
|
|
107
|
-
"freshness-needed": "freshness-needed";
|
|
108
|
-
"source-applicability": "source-applicability";
|
|
109
105
|
"evidence-conflict": "evidence-conflict";
|
|
110
|
-
"passage-duplicate": "passage-duplicate";
|
|
111
106
|
"evidence-novelty": "evidence-novelty";
|
|
112
|
-
"
|
|
107
|
+
"fact-stability": "fact-stability";
|
|
108
|
+
"failure-kind": "failure-kind";
|
|
109
|
+
"feedback-kind": "feedback-kind";
|
|
110
|
+
"field-select": "field-select";
|
|
111
|
+
"followup-link": "followup-link";
|
|
112
|
+
"freshness-needed": "freshness-needed";
|
|
113
|
+
"frustration-signal": "frustration-signal";
|
|
114
|
+
handoff: "handoff";
|
|
115
|
+
"incident-match": "incident-match";
|
|
116
|
+
"instruction-conflict": "instruction-conflict";
|
|
117
|
+
"instruction-fit": "instruction-fit";
|
|
118
|
+
"intent-change": "intent-change";
|
|
119
|
+
"issue-impact": "issue-impact";
|
|
120
|
+
"memory-relation": "memory-relation";
|
|
121
|
+
"memory-scope": "memory-scope";
|
|
122
|
+
"memory-value": "memory-value";
|
|
123
|
+
"passage-duplicate": "passage-duplicate";
|
|
124
|
+
"preference-kind": "preference-kind";
|
|
125
|
+
"promise-check": "promise-check";
|
|
113
126
|
"query-equivalence": "query-equivalence";
|
|
114
|
-
"context-role": "context-role";
|
|
115
127
|
"query-specificity": "query-specificity";
|
|
116
|
-
clarify: "clarify";
|
|
117
|
-
"turn-intent": "turn-intent";
|
|
118
|
-
"followup-link": "followup-link";
|
|
119
128
|
"reference-resolve": "reference-resolve";
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
|
|
124
|
-
"topic-shift": "topic-shift";
|
|
125
|
-
"response-needed": "response-needed";
|
|
129
|
+
"repeated-attempt": "repeated-attempt";
|
|
130
|
+
"reply-template-match": "reply-template-match";
|
|
131
|
+
"requirement-testability": "requirement-testability";
|
|
132
|
+
rerank: "rerank";
|
|
126
133
|
"resolution-check": "resolution-check";
|
|
127
|
-
|
|
128
|
-
"tool-fit": "tool-fit";
|
|
129
|
-
"argument-fit": "argument-fit";
|
|
130
|
-
"result-usefulness": "result-usefulness";
|
|
134
|
+
"response-needed": "response-needed";
|
|
131
135
|
"result-outcome": "result-outcome";
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
|
|
136
|
+
"result-usefulness": "result-usefulness";
|
|
137
|
+
"retrieval-needed": "retrieval-needed";
|
|
138
|
+
route: "route";
|
|
139
|
+
"source-applicability": "source-applicability";
|
|
135
140
|
"step-complete": "step-complete";
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"workaround-fit": "workaround-fit";
|
|
141
|
+
"step-progress": "step-progress";
|
|
142
|
+
"summary-coverage": "summary-coverage";
|
|
143
|
+
"task-dependency": "task-dependency";
|
|
144
|
+
"task-duplicate": "task-duplicate";
|
|
141
145
|
"ticket-match": "ticket-match";
|
|
142
|
-
"
|
|
146
|
+
"tone-check": "tone-check";
|
|
147
|
+
"tool-fit": "tool-fit";
|
|
148
|
+
"topic-shift": "topic-shift";
|
|
143
149
|
"troubleshooting-fit": "troubleshooting-fit";
|
|
144
|
-
"
|
|
150
|
+
"turn-intent": "turn-intent";
|
|
145
151
|
"urgency-signal": "urgency-signal";
|
|
146
|
-
|
|
147
|
-
"
|
|
148
|
-
"memory-value": "memory-value";
|
|
149
|
-
"memory-scope": "memory-scope";
|
|
150
|
-
"memory-relation": "memory-relation";
|
|
151
|
-
"preference-kind": "preference-kind";
|
|
152
|
-
"fact-stability": "fact-stability";
|
|
153
|
-
"document-role": "document-role";
|
|
154
|
-
"audience-fit": "audience-fit";
|
|
155
|
-
"change-meaning": "change-meaning";
|
|
156
|
-
"answer-invalidation": "answer-invalidation";
|
|
157
|
-
"field-select": "field-select";
|
|
152
|
+
verify: "verify";
|
|
153
|
+
"workaround-fit": "workaround-fit";
|
|
158
154
|
}>], null>, z.ZodTuple<[z.ZodLiteral<"run">, z.ZodEnum<{
|
|
159
|
-
|
|
160
|
-
|
|
155
|
+
"action-scope": "action-scope";
|
|
156
|
+
"answer-consistency": "answer-consistency";
|
|
161
157
|
"answer-coverage": "answer-coverage";
|
|
158
|
+
"answer-invalidation": "answer-invalidation";
|
|
162
159
|
"answer-relevance": "answer-relevance";
|
|
160
|
+
answerability: "answerability";
|
|
161
|
+
"argument-fit": "argument-fit";
|
|
162
|
+
"attempted-step": "attempted-step";
|
|
163
|
+
"audience-fit": "audience-fit";
|
|
164
|
+
"cache-match": "cache-match";
|
|
165
|
+
"cancellation-check": "cancellation-check";
|
|
166
|
+
"certainty-match": "certainty-match";
|
|
167
|
+
"change-meaning": "change-meaning";
|
|
163
168
|
"citation-match": "citation-match";
|
|
164
|
-
verify: "verify";
|
|
165
169
|
"citation-needed": "citation-needed";
|
|
166
|
-
"
|
|
167
|
-
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"
|
|
170
|
+
"claim-stance": "claim-stance";
|
|
171
|
+
clarify: "clarify";
|
|
172
|
+
"confirmation-match": "confirmation-match";
|
|
173
|
+
"constraint-strength": "constraint-strength";
|
|
174
|
+
"context-role": "context-role";
|
|
175
|
+
"correction-target": "correction-target";
|
|
176
|
+
"document-role": "document-role";
|
|
171
177
|
"draft-compare": "draft-compare";
|
|
172
|
-
rerank: "rerank";
|
|
173
|
-
"retrieval-needed": "retrieval-needed";
|
|
174
|
-
"freshness-needed": "freshness-needed";
|
|
175
|
-
"source-applicability": "source-applicability";
|
|
176
178
|
"evidence-conflict": "evidence-conflict";
|
|
177
|
-
"passage-duplicate": "passage-duplicate";
|
|
178
179
|
"evidence-novelty": "evidence-novelty";
|
|
179
|
-
"
|
|
180
|
+
"fact-stability": "fact-stability";
|
|
181
|
+
"failure-kind": "failure-kind";
|
|
182
|
+
"feedback-kind": "feedback-kind";
|
|
183
|
+
"field-select": "field-select";
|
|
184
|
+
"followup-link": "followup-link";
|
|
185
|
+
"freshness-needed": "freshness-needed";
|
|
186
|
+
"frustration-signal": "frustration-signal";
|
|
187
|
+
handoff: "handoff";
|
|
188
|
+
"incident-match": "incident-match";
|
|
189
|
+
"instruction-conflict": "instruction-conflict";
|
|
190
|
+
"instruction-fit": "instruction-fit";
|
|
191
|
+
"intent-change": "intent-change";
|
|
192
|
+
"issue-impact": "issue-impact";
|
|
193
|
+
"memory-relation": "memory-relation";
|
|
194
|
+
"memory-scope": "memory-scope";
|
|
195
|
+
"memory-value": "memory-value";
|
|
196
|
+
"passage-duplicate": "passage-duplicate";
|
|
197
|
+
"preference-kind": "preference-kind";
|
|
198
|
+
"promise-check": "promise-check";
|
|
180
199
|
"query-equivalence": "query-equivalence";
|
|
181
|
-
"context-role": "context-role";
|
|
182
200
|
"query-specificity": "query-specificity";
|
|
183
|
-
clarify: "clarify";
|
|
184
|
-
"turn-intent": "turn-intent";
|
|
185
|
-
"followup-link": "followup-link";
|
|
186
201
|
"reference-resolve": "reference-resolve";
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
|
|
191
|
-
"topic-shift": "topic-shift";
|
|
192
|
-
"response-needed": "response-needed";
|
|
202
|
+
"repeated-attempt": "repeated-attempt";
|
|
203
|
+
"reply-template-match": "reply-template-match";
|
|
204
|
+
"requirement-testability": "requirement-testability";
|
|
205
|
+
rerank: "rerank";
|
|
193
206
|
"resolution-check": "resolution-check";
|
|
194
|
-
|
|
195
|
-
"tool-fit": "tool-fit";
|
|
196
|
-
"argument-fit": "argument-fit";
|
|
197
|
-
"result-usefulness": "result-usefulness";
|
|
207
|
+
"response-needed": "response-needed";
|
|
198
208
|
"result-outcome": "result-outcome";
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
|
|
209
|
+
"result-usefulness": "result-usefulness";
|
|
210
|
+
"retrieval-needed": "retrieval-needed";
|
|
211
|
+
route: "route";
|
|
212
|
+
"source-applicability": "source-applicability";
|
|
202
213
|
"step-complete": "step-complete";
|
|
203
|
-
"
|
|
204
|
-
"
|
|
205
|
-
"
|
|
206
|
-
"
|
|
207
|
-
"workaround-fit": "workaround-fit";
|
|
214
|
+
"step-progress": "step-progress";
|
|
215
|
+
"summary-coverage": "summary-coverage";
|
|
216
|
+
"task-dependency": "task-dependency";
|
|
217
|
+
"task-duplicate": "task-duplicate";
|
|
208
218
|
"ticket-match": "ticket-match";
|
|
209
|
-
"
|
|
219
|
+
"tone-check": "tone-check";
|
|
220
|
+
"tool-fit": "tool-fit";
|
|
221
|
+
"topic-shift": "topic-shift";
|
|
210
222
|
"troubleshooting-fit": "troubleshooting-fit";
|
|
211
|
-
"
|
|
223
|
+
"turn-intent": "turn-intent";
|
|
212
224
|
"urgency-signal": "urgency-signal";
|
|
213
|
-
|
|
214
|
-
"
|
|
215
|
-
"memory-value": "memory-value";
|
|
216
|
-
"memory-scope": "memory-scope";
|
|
217
|
-
"memory-relation": "memory-relation";
|
|
218
|
-
"preference-kind": "preference-kind";
|
|
219
|
-
"fact-stability": "fact-stability";
|
|
220
|
-
"document-role": "document-role";
|
|
221
|
-
"audience-fit": "audience-fit";
|
|
222
|
-
"change-meaning": "change-meaning";
|
|
223
|
-
"answer-invalidation": "answer-invalidation";
|
|
224
|
-
"field-select": "field-select";
|
|
225
|
+
verify: "verify";
|
|
226
|
+
"workaround-fit": "workaround-fit";
|
|
225
227
|
}>, z.ZodString], null>]>;
|
|
226
228
|
export declare const demoFixtureSchema: z.ZodObject<{
|
|
227
229
|
input: z.ZodUnknown;
|
package/dist/cli/schema.js
CHANGED
|
@@ -2,13 +2,46 @@ import { z } from 'zod';
|
|
|
2
2
|
import { decisionResponseSchema, nonEmptyText, recipeCategorySchema } from '../src/schema.js';
|
|
3
3
|
import { recipeNameSchema } from '../catalog/schema.js';
|
|
4
4
|
const searchQuery = nonEmptyText.refine((query) => !query.startsWith('--'), 'Expected a search query.');
|
|
5
|
+
const limitArgument = z
|
|
6
|
+
.string()
|
|
7
|
+
.regex(/^[1-9]\d*$/)
|
|
8
|
+
.refine((value) => Number.isSafeInteger(Number(value)), 'Expected a positive whole number.');
|
|
9
|
+
const listArguments = z
|
|
10
|
+
.array(z.string())
|
|
11
|
+
.superRefine((args, context) => {
|
|
12
|
+
if (args[0] !== 'list') {
|
|
13
|
+
context.addIssue({ code: 'custom', message: 'Expected list.' });
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
let index = 1;
|
|
17
|
+
if (args[index] !== undefined && !args[index].startsWith('--')) {
|
|
18
|
+
if (!searchQuery.safeParse(args[index]).success)
|
|
19
|
+
context.addIssue({ code: 'custom', message: 'Expected a search query.' });
|
|
20
|
+
index++;
|
|
21
|
+
}
|
|
22
|
+
const seen = new Set();
|
|
23
|
+
while (index < args.length) {
|
|
24
|
+
const flag = args[index];
|
|
25
|
+
const value = args[index + 1];
|
|
26
|
+
const valid = flag === '--category'
|
|
27
|
+
? recipeCategorySchema.safeParse(value).success
|
|
28
|
+
: flag === '--limit' && limitArgument.safeParse(value).success;
|
|
29
|
+
if (!valid || seen.has(flag)) {
|
|
30
|
+
context.addIssue({
|
|
31
|
+
code: 'custom',
|
|
32
|
+
message: 'Expected --category <category> or --limit <count>, once each.',
|
|
33
|
+
});
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
seen.add(flag);
|
|
37
|
+
index += 2;
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
.transform((args) => args);
|
|
5
41
|
export const commandArgumentsSchema = z.union([
|
|
6
42
|
z.tuple([z.enum(['--help', '-h'])]),
|
|
7
43
|
z.tuple([z.literal('--version')]),
|
|
8
|
-
|
|
9
|
-
z.tuple([z.literal('list'), searchQuery]),
|
|
10
|
-
z.tuple([z.literal('list'), z.literal('--category'), recipeCategorySchema]),
|
|
11
|
-
z.tuple([z.literal('list'), searchQuery, z.literal('--category'), recipeCategorySchema]),
|
|
44
|
+
listArguments,
|
|
12
45
|
z.tuple([z.literal('demo'), z.union([recipeNameSchema, z.literal('all')])]),
|
|
13
46
|
z.tuple([z.enum(['example', 'describe']), recipeNameSchema]),
|
|
14
47
|
z.tuple([z.literal('run'), recipeNameSchema, nonEmptyText]),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const actionScopeVerdictSchema: z.ZodEnum<{
|
|
3
|
-
unclear: "unclear";
|
|
4
3
|
within_scope: "within_scope";
|
|
5
4
|
additional_work: "additional_work";
|
|
5
|
+
unclear: "unclear";
|
|
6
6
|
}>;
|
|
7
7
|
export declare const actionScopeInputSchema: z.ZodObject<{
|
|
8
8
|
request: z.ZodString;
|
|
@@ -21,15 +21,15 @@ export declare const actionScopeResultSchema: z.ZodObject<{
|
|
|
21
21
|
review: "review";
|
|
22
22
|
}>;
|
|
23
23
|
verdict: z.ZodEnum<{
|
|
24
|
-
unclear: "unclear";
|
|
25
24
|
within_scope: "within_scope";
|
|
26
25
|
additional_work: "additional_work";
|
|
26
|
+
unclear: "unclear";
|
|
27
27
|
}>;
|
|
28
28
|
confidence: z.ZodNumber;
|
|
29
29
|
probabilities: z.ZodRecord<z.ZodEnum<{
|
|
30
|
-
unclear: "unclear";
|
|
31
30
|
within_scope: "within_scope";
|
|
32
31
|
additional_work: "additional_work";
|
|
32
|
+
unclear: "unclear";
|
|
33
33
|
}>, z.ZodNumber>;
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
export type ActionScopeInput = z.infer<typeof actionScopeInputSchema>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const answerConsistencyVerdictSchema: z.ZodEnum<{
|
|
3
|
-
conflicting: "conflicting";
|
|
4
3
|
unclear: "unclear";
|
|
5
4
|
consistent: "consistent";
|
|
5
|
+
conflicting: "conflicting";
|
|
6
6
|
unrelated: "unrelated";
|
|
7
7
|
}>;
|
|
8
8
|
export declare const answerConsistencyInputSchema: z.ZodObject<{
|
|
@@ -22,16 +22,16 @@ export declare const answerConsistencyResultSchema: z.ZodObject<{
|
|
|
22
22
|
review: "review";
|
|
23
23
|
}>;
|
|
24
24
|
verdict: z.ZodEnum<{
|
|
25
|
-
conflicting: "conflicting";
|
|
26
25
|
unclear: "unclear";
|
|
27
26
|
consistent: "consistent";
|
|
27
|
+
conflicting: "conflicting";
|
|
28
28
|
unrelated: "unrelated";
|
|
29
29
|
}>;
|
|
30
30
|
confidence: z.ZodNumber;
|
|
31
31
|
probabilities: z.ZodRecord<z.ZodEnum<{
|
|
32
|
-
conflicting: "conflicting";
|
|
33
32
|
unclear: "unclear";
|
|
34
33
|
consistent: "consistent";
|
|
34
|
+
conflicting: "conflicting";
|
|
35
35
|
unrelated: "unrelated";
|
|
36
36
|
}>, z.ZodNumber>;
|
|
37
37
|
}, z.core.$strip>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const answerCoverageVerdictSchema: z.ZodEnum<{
|
|
3
|
-
partial: "partial";
|
|
4
|
-
missing: "missing";
|
|
5
3
|
unclear: "unclear";
|
|
6
4
|
answered: "answered";
|
|
5
|
+
partial: "partial";
|
|
6
|
+
missing: "missing";
|
|
7
7
|
}>;
|
|
8
8
|
export declare const answerCoverageInputSchema: z.ZodObject<{
|
|
9
9
|
draft: z.ZodString;
|
|
@@ -31,17 +31,17 @@ export declare const answerCoverageResultSchema: z.ZodObject<{
|
|
|
31
31
|
review: "review";
|
|
32
32
|
}>;
|
|
33
33
|
verdict: z.ZodEnum<{
|
|
34
|
-
partial: "partial";
|
|
35
|
-
missing: "missing";
|
|
36
34
|
unclear: "unclear";
|
|
37
35
|
answered: "answered";
|
|
36
|
+
partial: "partial";
|
|
37
|
+
missing: "missing";
|
|
38
38
|
}>;
|
|
39
39
|
confidence: z.ZodNumber;
|
|
40
40
|
probabilities: z.ZodRecord<z.ZodEnum<{
|
|
41
|
-
partial: "partial";
|
|
42
|
-
missing: "missing";
|
|
43
41
|
unclear: "unclear";
|
|
44
42
|
answered: "answered";
|
|
43
|
+
partial: "partial";
|
|
44
|
+
missing: "missing";
|
|
45
45
|
}>, z.ZodNumber>;
|
|
46
46
|
}, z.core.$strip>>;
|
|
47
47
|
}, z.core.$strip>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const answerabilityVerdictSchema: z.ZodEnum<{
|
|
3
|
-
|
|
3
|
+
conflicting: "conflicting";
|
|
4
4
|
partial: "partial";
|
|
5
|
+
sufficient: "sufficient";
|
|
5
6
|
insufficient: "insufficient";
|
|
6
|
-
conflicting: "conflicting";
|
|
7
7
|
}>;
|
|
8
8
|
export declare const answerabilityEvidenceSchema: z.ZodObject<{
|
|
9
9
|
id: z.ZodString;
|
|
@@ -28,18 +28,18 @@ export declare const answerabilityResultSchema: z.ZodObject<{
|
|
|
28
28
|
review: "review";
|
|
29
29
|
}>;
|
|
30
30
|
verdict: z.ZodEnum<{
|
|
31
|
-
|
|
31
|
+
conflicting: "conflicting";
|
|
32
32
|
partial: "partial";
|
|
33
|
+
sufficient: "sufficient";
|
|
33
34
|
insufficient: "insufficient";
|
|
34
|
-
conflicting: "conflicting";
|
|
35
35
|
}>;
|
|
36
36
|
canAnswer: z.ZodBoolean;
|
|
37
37
|
confidence: z.ZodNumber;
|
|
38
38
|
probabilities: z.ZodRecord<z.ZodEnum<{
|
|
39
|
-
|
|
39
|
+
conflicting: "conflicting";
|
|
40
40
|
partial: "partial";
|
|
41
|
+
sufficient: "sufficient";
|
|
41
42
|
insufficient: "insufficient";
|
|
42
|
-
conflicting: "conflicting";
|
|
43
43
|
}>, z.ZodNumber>;
|
|
44
44
|
}, z.core.$strip>;
|
|
45
45
|
export type AnswerabilityInput = z.infer<typeof answerabilityInputSchema>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const cancellationCheckVerdictSchema: z.ZodEnum<{
|
|
3
3
|
unclear: "unclear";
|
|
4
|
-
continue: "continue";
|
|
5
4
|
cancel: "cancel";
|
|
6
5
|
pause: "pause";
|
|
6
|
+
continue: "continue";
|
|
7
7
|
}>;
|
|
8
8
|
export declare const cancellationCheckInputSchema: z.ZodObject<{
|
|
9
9
|
task: z.ZodString;
|
|
@@ -23,16 +23,16 @@ export declare const cancellationCheckResultSchema: z.ZodObject<{
|
|
|
23
23
|
}>;
|
|
24
24
|
verdict: z.ZodEnum<{
|
|
25
25
|
unclear: "unclear";
|
|
26
|
-
continue: "continue";
|
|
27
26
|
cancel: "cancel";
|
|
28
27
|
pause: "pause";
|
|
28
|
+
continue: "continue";
|
|
29
29
|
}>;
|
|
30
30
|
confidence: z.ZodNumber;
|
|
31
31
|
probabilities: z.ZodRecord<z.ZodEnum<{
|
|
32
32
|
unclear: "unclear";
|
|
33
|
-
continue: "continue";
|
|
34
33
|
cancel: "cancel";
|
|
35
34
|
pause: "pause";
|
|
35
|
+
continue: "continue";
|
|
36
36
|
}>, z.ZodNumber>;
|
|
37
37
|
}, z.core.$strip>;
|
|
38
38
|
export type CancellationCheckInput = z.infer<typeof cancellationCheckInputSchema>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const certaintyMatchVerdictSchema: z.ZodEnum<{
|
|
3
3
|
unclear: "unclear";
|
|
4
|
-
overstated: "overstated";
|
|
5
4
|
appropriate: "appropriate";
|
|
5
|
+
overstated: "overstated";
|
|
6
6
|
understated: "understated";
|
|
7
7
|
}>;
|
|
8
8
|
export declare const certaintyMatchInputSchema: z.ZodObject<{
|
|
@@ -22,15 +22,15 @@ export declare const certaintyMatchResultSchema: z.ZodObject<{
|
|
|
22
22
|
}>;
|
|
23
23
|
verdict: z.ZodEnum<{
|
|
24
24
|
unclear: "unclear";
|
|
25
|
-
overstated: "overstated";
|
|
26
25
|
appropriate: "appropriate";
|
|
26
|
+
overstated: "overstated";
|
|
27
27
|
understated: "understated";
|
|
28
28
|
}>;
|
|
29
29
|
confidence: z.ZodNumber;
|
|
30
30
|
probabilities: z.ZodRecord<z.ZodEnum<{
|
|
31
31
|
unclear: "unclear";
|
|
32
|
-
overstated: "overstated";
|
|
33
32
|
appropriate: "appropriate";
|
|
33
|
+
overstated: "overstated";
|
|
34
34
|
understated: "understated";
|
|
35
35
|
}>, z.ZodNumber>;
|
|
36
36
|
}, z.core.$strip>;
|