@celljs/ta-call 4.19.0 → 4.20.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/host/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_ASK_ENTRY = "ta-ask";
|
|
54
70
|
var TaAskUtil;
|
|
55
71
|
(function(TaAskUtil2) {
|
package/host/index.mjs
CHANGED
|
@@ -326,6 +326,22 @@ var TaHostUtil;
|
|
|
326
326
|
}
|
|
327
327
|
TaHostUtil2.role = role;
|
|
328
328
|
})(TaHostUtil || (TaHostUtil = {}));
|
|
329
|
+
var TA_DOUBLE_LOOK = {
|
|
330
|
+
name: "@celljs/ta-web",
|
|
331
|
+
key: "assistant.species",
|
|
332
|
+
given: ["trex", "triceratops", "stegosaurus", "brachiosaurus", "velociraptor", "ankylosaurus", "pteranodon", "parasaurolophus"]
|
|
333
|
+
};
|
|
334
|
+
var TaDoubleLookUtil;
|
|
335
|
+
(function(TaDoubleLookUtil2) {
|
|
336
|
+
function given(id) {
|
|
337
|
+
let hash = 2166136261;
|
|
338
|
+
for (let i = 0;i < id.length; i++) {
|
|
339
|
+
hash = Math.imul(hash ^ id.charCodeAt(i), 16777619);
|
|
340
|
+
}
|
|
341
|
+
return TA_DOUBLE_LOOK.given[(hash >>> 0) % TA_DOUBLE_LOOK.given.length];
|
|
342
|
+
}
|
|
343
|
+
TaDoubleLookUtil2.given = given;
|
|
344
|
+
})(TaDoubleLookUtil || (TaDoubleLookUtil = {}));
|
|
329
345
|
var TA_ASK_ENTRY = "ta-ask";
|
|
330
346
|
var TaAskUtil;
|
|
331
347
|
(function(TaAskUtil2) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-call",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.20.0",
|
|
4
4
|
"description": "A pi package for Ta: in a call, a front that talks at once, whatever the work does, hands the work to the conversation and looks up any detail of it when asked",
|
|
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.20.0",
|
|
31
|
+
"@celljs/ta-web": "4.20.0",
|
|
32
32
|
"@types/react": "^19.3.0"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|