@sonnechasser/ntrp 0.2.0 → 0.2.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/index.js +32 -10
- package/dist/index.js.map +1 -1
- package/dist/investigation/verbosity-cli.js +6 -3
- package/dist/investigation/verbosity-cli.js.map +1 -1
- package/dist/mcp/server.js +6 -3
- package/dist/mcp/server.js.map +1 -1
- package/dist/whimsy/time-bank-smoke.js +6 -3
- package/dist/whimsy/time-bank-smoke.js.map +1 -1
- package/package.json +1 -1
|
@@ -13889,15 +13889,18 @@ function inferHandoffTarget(input) {
|
|
|
13889
13889
|
return "plan";
|
|
13890
13890
|
}
|
|
13891
13891
|
function isShipIntent(input) {
|
|
13892
|
-
|
|
13893
|
-
|
|
13894
|
-
);
|
|
13892
|
+
const line = input.trim();
|
|
13893
|
+
if (/\?\s*$/.test(line) || QUESTION_LEAD_RE.test(line)) return false;
|
|
13894
|
+
return SHIP_INTENT_RE.test(line);
|
|
13895
13895
|
}
|
|
13896
|
+
var QUESTION_LEAD_RE, SHIP_INTENT_RE;
|
|
13896
13897
|
var init_handoff_draft = __esm({
|
|
13897
13898
|
"src/conversation/handoff-draft.ts"() {
|
|
13898
13899
|
"use strict";
|
|
13899
13900
|
init_profile();
|
|
13900
13901
|
init_session_analysis();
|
|
13902
|
+
QUESTION_LEAD_RE = /^\s*(what|why|how|when|where|who|which|is|are|was|were|do|does|did|explain|tell me|help me understand)\b/i;
|
|
13903
|
+
SHIP_INTENT_RE = /\b(ship|export|deliver|write[- ]?up|board memo|action plan|turn (this|it|that) into|(draft|create|make|build|prepare|generate|send)\s+(me\s+)?(a\s+|the\s+)?hand[- ]?off|hand[- ]?off\s+(prompt|doc|document|plan))\b/i;
|
|
13901
13904
|
}
|
|
13902
13905
|
});
|
|
13903
13906
|
|