@tasksai/install 0.1.31 → 0.1.32
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/package.json +1 -1
- package/runtime/skill_matcher.py +5 -0
package/package.json
CHANGED
package/runtime/skill_matcher.py
CHANGED
|
@@ -62,6 +62,10 @@ REALTOR_ACTION_WORDS = {
|
|
|
62
62
|
"assemble", "build", "create", "develop", "document", "draft",
|
|
63
63
|
"generate", "make", "prepare", "produce", "write", "writing",
|
|
64
64
|
}
|
|
65
|
+
REALTOR_DISCOVERY_WORDS = {
|
|
66
|
+
"browse", "display", "find", "get", "give", "look", "pull",
|
|
67
|
+
"search", "searching", "see", "show", "up", "view",
|
|
68
|
+
}
|
|
65
69
|
DEFAULT_TOKEN_ALIASES = {
|
|
66
70
|
"realtor": {
|
|
67
71
|
"assemble": "create",
|
|
@@ -343,6 +347,7 @@ def _resolve_config(product_id: str, config: Mapping[str, object] | None) -> tup
|
|
|
343
347
|
}
|
|
344
348
|
if _canonical_product_id(product_id) == "realtor":
|
|
345
349
|
stop_words.difference_update(REALTOR_ACTION_WORDS)
|
|
350
|
+
stop_words.update(REALTOR_DISCOVERY_WORDS)
|
|
346
351
|
context_default = DEFAULT_CONTEXT_WORDS.get(_canonical_product_id(product_id), set())
|
|
347
352
|
supplied_context_words = source.get("context_words", context_default)
|
|
348
353
|
if not isinstance(supplied_context_words, Sequence) or isinstance(supplied_context_words, (str, bytes)):
|