@skillrecordings/cli 0.17.0 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-IR6KG25Y.js → chunk-LV53JZHC.js} +1 -1
- package/dist/chunk-LV53JZHC.js.map +1 -0
- package/dist/{chunk-J4IC3GC3.js → chunk-ZCWCT4ES.js} +10 -10
- package/dist/chunk-ZCWCT4ES.js.map +1 -0
- package/dist/{config-C7CDVTO7.js → config-6PEJQQJY.js} +2 -2
- package/dist/index.js +700 -215
- package/dist/index.js.map +1 -1
- package/dist/{pipeline-TMFQSA7X.js → pipeline-JPI7ITZN.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-IR6KG25Y.js.map +0 -1
- package/dist/chunk-J4IC3GC3.js.map +0 -1
- /package/dist/{config-C7CDVTO7.js.map → config-6PEJQQJY.js.map} +0 -0
- /package/dist/{pipeline-TMFQSA7X.js.map → pipeline-JPI7ITZN.js.map} +0 -0
|
@@ -550,7 +550,7 @@ Vendor outreach examples (all \u2192 spam, NOT support_billing):
|
|
|
550
550
|
- "Earn 30% commission per sale" \u2192 spam (affiliate recruitment)
|
|
551
551
|
|
|
552
552
|
Output your classification with confidence (0-1) and brief reasoning.`;
|
|
553
|
-
async function llmClassify(input, signals, model = "anthropic/claude-
|
|
553
|
+
async function llmClassify(input, signals, model = "anthropic/claude-sonnet-4-5", options = {}) {
|
|
554
554
|
const message = `Subject: ${input.subject}
|
|
555
555
|
|
|
556
556
|
Body:
|
|
@@ -609,7 +609,7 @@ ${CLASSIFY_PROMPT}` : CLASSIFY_PROMPT;
|
|
|
609
609
|
}
|
|
610
610
|
async function classify(input, options = {}) {
|
|
611
611
|
const {
|
|
612
|
-
model = "anthropic/claude-
|
|
612
|
+
model = "anthropic/claude-sonnet-4-5",
|
|
613
613
|
forceLLM = false,
|
|
614
614
|
appId,
|
|
615
615
|
runId,
|
|
@@ -1062,7 +1062,7 @@ function fastClassifyThread(input, signals) {
|
|
|
1062
1062
|
}
|
|
1063
1063
|
return null;
|
|
1064
1064
|
}
|
|
1065
|
-
async function llmClassifyThread(input, signals, model = "anthropic/claude-
|
|
1065
|
+
async function llmClassifyThread(input, signals, model = "anthropic/claude-sonnet-4-5", options = {}) {
|
|
1066
1066
|
const threadContext = `
|
|
1067
1067
|
Thread with ${signals.threadLength} messages over ${signals.threadDurationHours.toFixed(1)} hours.
|
|
1068
1068
|
Pattern: ${signals.threadPattern}
|
|
@@ -1136,7 +1136,7 @@ ${messageHistory}`;
|
|
|
1136
1136
|
}
|
|
1137
1137
|
async function classifyThread(input, options = {}) {
|
|
1138
1138
|
const {
|
|
1139
|
-
model = "anthropic/claude-
|
|
1139
|
+
model = "anthropic/claude-sonnet-4-5",
|
|
1140
1140
|
forceLLM = false,
|
|
1141
1141
|
runId
|
|
1142
1142
|
} = options;
|
|
@@ -3399,7 +3399,7 @@ ${priorityNotes}`);
|
|
|
3399
3399
|
var PROMPT_OVERRIDES = {};
|
|
3400
3400
|
async function draft(input, options = {}) {
|
|
3401
3401
|
const {
|
|
3402
|
-
model = "anthropic/claude-
|
|
3402
|
+
model = "anthropic/claude-sonnet-4-5",
|
|
3403
3403
|
promptOverride,
|
|
3404
3404
|
appId,
|
|
3405
3405
|
templateThreshold = 0.9,
|
|
@@ -3560,7 +3560,7 @@ ${message.body}
|
|
|
3560
3560
|
---
|
|
3561
3561
|
Write your response:`;
|
|
3562
3562
|
if (useAgentMode && appId) {
|
|
3563
|
-
const { runSupportAgent } = await import("./config-
|
|
3563
|
+
const { runSupportAgent } = await import("./config-6PEJQQJY.js");
|
|
3564
3564
|
await log("debug", "draft using agent mode", {
|
|
3565
3565
|
workflow: "pipeline",
|
|
3566
3566
|
step: "draft",
|
|
@@ -4900,7 +4900,7 @@ Flag as relevant if the draft:
|
|
|
4900
4900
|
- Even if imperfect, is clearly attempting to address the right topic
|
|
4901
4901
|
|
|
4902
4902
|
Be practical \u2014 a response doesn't need to be perfect, just on-topic.`;
|
|
4903
|
-
async function checkRelevance(draft2, customerMessage, model = "anthropic/claude-
|
|
4903
|
+
async function checkRelevance(draft2, customerMessage, model = "anthropic/claude-sonnet-4-5") {
|
|
4904
4904
|
const customerText = [
|
|
4905
4905
|
customerMessage.subject ? `Subject: ${customerMessage.subject}` : "",
|
|
4906
4906
|
customerMessage.body ? `Body: ${customerMessage.body}` : ""
|
|
@@ -4961,7 +4961,7 @@ Flag as appropriate if the draft:
|
|
|
4961
4961
|
- Maintains a warm, professional tone
|
|
4962
4962
|
|
|
4963
4963
|
Be practical \u2014 some technical terms (like "browser" or "login") are fine. Flag only terms that typical customers wouldn't know.`;
|
|
4964
|
-
async function checkAudienceAwareness(draft2, model = "anthropic/claude-
|
|
4964
|
+
async function checkAudienceAwareness(draft2, model = "anthropic/claude-sonnet-4-5") {
|
|
4965
4965
|
const prompt = `Draft response to customer:
|
|
4966
4966
|
${draft2}
|
|
4967
4967
|
|
|
@@ -5079,7 +5079,7 @@ async function validate(input, options = {}) {
|
|
|
5079
5079
|
skipMemoryQuery = false,
|
|
5080
5080
|
correctionThreshold = 0.7,
|
|
5081
5081
|
skipRelevanceCheck = false,
|
|
5082
|
-
relevanceModel = "anthropic/claude-
|
|
5082
|
+
relevanceModel = "anthropic/claude-sonnet-4-5",
|
|
5083
5083
|
checkAudienceAwareness: shouldCheckAudience = false
|
|
5084
5084
|
} = options;
|
|
5085
5085
|
const startTime = Date.now();
|
|
@@ -7096,4 +7096,4 @@ export {
|
|
|
7096
7096
|
runPipeline,
|
|
7097
7097
|
runThreadPipeline
|
|
7098
7098
|
};
|
|
7099
|
-
//# sourceMappingURL=chunk-
|
|
7099
|
+
//# sourceMappingURL=chunk-ZCWCT4ES.js.map
|