@celljs/ta-initiative 4.19.0 → 4.21.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/extension/index.mjs +16 -0
- package/package.json +3 -3
package/extension/index.mjs
CHANGED
|
@@ -50,6 +50,22 @@ var TaHostUtil;
|
|
|
50
50
|
}
|
|
51
51
|
TaHostUtil2.role = role;
|
|
52
52
|
})(TaHostUtil || (TaHostUtil = {}));
|
|
53
|
+
var TA_DOUBLE_LOOK = {
|
|
54
|
+
name: "@celljs/ta-web",
|
|
55
|
+
key: "assistant.species",
|
|
56
|
+
given: ["trex", "triceratops", "stegosaurus", "brachiosaurus", "velociraptor", "ankylosaurus", "pteranodon", "parasaurolophus"]
|
|
57
|
+
};
|
|
58
|
+
var TaDoubleLookUtil;
|
|
59
|
+
(function(TaDoubleLookUtil2) {
|
|
60
|
+
function given(id) {
|
|
61
|
+
let hash = 2166136261;
|
|
62
|
+
for (let i = 0;i < id.length; i++) {
|
|
63
|
+
hash = Math.imul(hash ^ id.charCodeAt(i), 16777619);
|
|
64
|
+
}
|
|
65
|
+
return TA_DOUBLE_LOOK.given[(hash >>> 0) % TA_DOUBLE_LOOK.given.length];
|
|
66
|
+
}
|
|
67
|
+
TaDoubleLookUtil2.given = given;
|
|
68
|
+
})(TaDoubleLookUtil || (TaDoubleLookUtil = {}));
|
|
53
69
|
var TA_WITH_OTHERS_MARK = "[ta:speaks-with-others]";
|
|
54
70
|
var TA_TELLS_OF_ITS_TURNS_MARK = "[ta:tells-of-its-turns]";
|
|
55
71
|
var TA_ASK_ENTRY = "ta-ask";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-initiative",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.21.0",
|
|
4
4
|
"description": "A pi package for Ta: what Ta does on its own and how far, by kind and by the user's trust; proposals other packages offer, the user's suggestions to decide or undo, and a weekly review that keeps the scheduled tasks and learns the user",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"watch": "tsc -b -w --preserveWatchOutput"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@celljs/ta-protocol": "4.
|
|
31
|
-
"@celljs/ta-web": "4.
|
|
30
|
+
"@celljs/ta-protocol": "4.21.0",
|
|
31
|
+
"@celljs/ta-web": "4.21.0",
|
|
32
32
|
"@types/react": "^19.3.0"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|