@celljs/ta-recall 4.18.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.
@@ -53,6 +53,22 @@ var TaHostUtil;
53
53
  }
54
54
  TaHostUtil2.role = role;
55
55
  })(TaHostUtil || (TaHostUtil = {}));
56
+ var TA_DOUBLE_LOOK = {
57
+ name: "@celljs/ta-web",
58
+ key: "assistant.species",
59
+ given: ["trex", "triceratops", "stegosaurus", "brachiosaurus", "velociraptor", "ankylosaurus", "pteranodon", "parasaurolophus"]
60
+ };
61
+ var TaDoubleLookUtil;
62
+ (function(TaDoubleLookUtil2) {
63
+ function given(id) {
64
+ let hash = 2166136261;
65
+ for (let i = 0;i < id.length; i++) {
66
+ hash = Math.imul(hash ^ id.charCodeAt(i), 16777619);
67
+ }
68
+ return TA_DOUBLE_LOOK.given[(hash >>> 0) % TA_DOUBLE_LOOK.given.length];
69
+ }
70
+ TaDoubleLookUtil2.given = given;
71
+ })(TaDoubleLookUtil || (TaDoubleLookUtil = {}));
56
72
  var TA_WITH_OTHERS_MARK = "[ta:speaks-with-others]";
57
73
  var TA_KEEP_MARK = "[ta:keep]";
58
74
  var TA_ASK_ENTRY = "ta-ask";
package/host/index.mjs CHANGED
@@ -94,6 +94,22 @@ var TaHostUtil;
94
94
  }
95
95
  TaHostUtil2.role = role;
96
96
  })(TaHostUtil || (TaHostUtil = {}));
97
+ var TA_DOUBLE_LOOK = {
98
+ name: "@celljs/ta-web",
99
+ key: "assistant.species",
100
+ given: ["trex", "triceratops", "stegosaurus", "brachiosaurus", "velociraptor", "ankylosaurus", "pteranodon", "parasaurolophus"]
101
+ };
102
+ var TaDoubleLookUtil;
103
+ (function(TaDoubleLookUtil2) {
104
+ function given(id) {
105
+ let hash = 2166136261;
106
+ for (let i = 0;i < id.length; i++) {
107
+ hash = Math.imul(hash ^ id.charCodeAt(i), 16777619);
108
+ }
109
+ return TA_DOUBLE_LOOK.given[(hash >>> 0) % TA_DOUBLE_LOOK.given.length];
110
+ }
111
+ TaDoubleLookUtil2.given = given;
112
+ })(TaDoubleLookUtil || (TaDoubleLookUtil = {}));
97
113
  var TA_BRIEF_SOURCE = "brief";
98
114
  var TA_ASK_ENTRY = "ta-ask";
99
115
  var TaAskUtil;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celljs/ta-recall",
3
- "version": "4.18.0",
3
+ "version": "4.20.0",
4
4
  "description": "A pi package for Ta: asks earlier conversations what was done, offers to keep a request asked again as an extension (steps, a card, a page), and writes a daily brief of what got done and what waits for 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.18.0",
31
- "@celljs/ta-web": "4.18.0",
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": {
package/web/index.js CHANGED
@@ -1127,6 +1127,22 @@ var TaHostUtil;
1127
1127
  }
1128
1128
  TaHostUtil2.role = role;
1129
1129
  })(TaHostUtil || (TaHostUtil = {}));
1130
+ var TA_DOUBLE_LOOK = {
1131
+ name: "@celljs/ta-web",
1132
+ key: "assistant.species",
1133
+ given: ["trex", "triceratops", "stegosaurus", "brachiosaurus", "velociraptor", "ankylosaurus", "pteranodon", "parasaurolophus"]
1134
+ };
1135
+ var TaDoubleLookUtil;
1136
+ (function(TaDoubleLookUtil2) {
1137
+ function given(id) {
1138
+ let hash = 2166136261;
1139
+ for (let i = 0;i < id.length; i++) {
1140
+ hash = Math.imul(hash ^ id.charCodeAt(i), 16777619);
1141
+ }
1142
+ return TA_DOUBLE_LOOK.given[(hash >>> 0) % TA_DOUBLE_LOOK.given.length];
1143
+ }
1144
+ TaDoubleLookUtil2.given = given;
1145
+ })(TaDoubleLookUtil || (TaDoubleLookUtil = {}));
1130
1146
  var TA_KEEP_MARK = "[ta:keep]";
1131
1147
  var TA_ASK_ENTRY = "ta-ask";
1132
1148
  var TaAskUtil;