openmates 0.27.0-alpha.40 → 0.27.0-alpha.41

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.
@@ -6915,6 +6915,19 @@ function fuzzyScore(query, candidate) {
6915
6915
  return Math.round(matched / Math.max(q.length, 1) * 40);
6916
6916
  }
6917
6917
  function resolveToken(token, context) {
6918
+ const wireMateMatch = token.match(/^mate:([a-z0-9_-]+)$/i);
6919
+ if (wireMateMatch) {
6920
+ const categoryId = wireMateMatch[1].toLowerCase();
6921
+ if (!Object.hasOwn(context.mates, categoryId)) return null;
6922
+ const displayName = context.mates[categoryId];
6923
+ if (!displayName) return null;
6924
+ return {
6925
+ original: `@${token}`,
6926
+ type: "mate",
6927
+ wireSyntax: `@mate:${categoryId}`,
6928
+ displayName: `@${displayName}`
6929
+ };
6930
+ }
6918
6931
  const wireFocusMatch = token.match(/^focus:([a-z0-9_-]+):([a-z0-9_-]+)$/i);
6919
6932
  if (wireFocusMatch) {
6920
6933
  const [, appId, focusModeId] = wireFocusMatch;
package/dist/cli.js CHANGED
@@ -21,7 +21,7 @@ import {
21
21
  shouldRequireTrustedAccountGuard,
22
22
  waitForSafeE2ETotpWindow,
23
23
  waitForWorkflowRun
24
- } from "./chunk-LXWEHHNA.js";
24
+ } from "./chunk-HK77T33L.js";
25
25
  import "./chunk-B4UXKGH3.js";
26
26
  import "./chunk-IWKP55ZB.js";
27
27
  import "./chunk-FC27KZIW.js";
package/dist/index.js CHANGED
@@ -44,7 +44,7 @@ import {
44
44
  selectAssistantMessagesForSpeech,
45
45
  serializeToYaml,
46
46
  summarizeAssistantSpeech
47
- } from "./chunk-LXWEHHNA.js";
47
+ } from "./chunk-HK77T33L.js";
48
48
  import "./chunk-B4UXKGH3.js";
49
49
  import "./chunk-IWKP55ZB.js";
50
50
  import "./chunk-FC27KZIW.js";
@@ -17,47 +17,47 @@
17
17
  {
18
18
  "name": "libggml-base.so",
19
19
  "bytes": 1110088,
20
- "sha256": "fc6b380ec83d4a81aa821bed5ca4a29637f8dc434c0eb2243601a77f1a090148"
20
+ "sha256": "c7cb417ace467c3ecd0a7faee913d7c100995033f0ce8c518da598fccc22a52a"
21
21
  },
22
22
  {
23
23
  "name": "libggml-base.so.0",
24
24
  "bytes": 1110088,
25
- "sha256": "fc6b380ec83d4a81aa821bed5ca4a29637f8dc434c0eb2243601a77f1a090148"
25
+ "sha256": "c7cb417ace467c3ecd0a7faee913d7c100995033f0ce8c518da598fccc22a52a"
26
26
  },
27
27
  {
28
28
  "name": "libggml-base.so.0.15.1",
29
29
  "bytes": 1110088,
30
- "sha256": "fc6b380ec83d4a81aa821bed5ca4a29637f8dc434c0eb2243601a77f1a090148"
30
+ "sha256": "c7cb417ace467c3ecd0a7faee913d7c100995033f0ce8c518da598fccc22a52a"
31
31
  },
32
32
  {
33
33
  "name": "libggml-cpu.so",
34
34
  "bytes": 869800,
35
- "sha256": "723427761c15594f903097cbbf25acf9b60a490b265541466f400c718d098472"
35
+ "sha256": "530c18219d64a9e7d1c30ef75e235b0d6d80878a3dba2df4d35249785b00e4cc"
36
36
  },
37
37
  {
38
38
  "name": "libggml-cpu.so.0",
39
39
  "bytes": 869800,
40
- "sha256": "723427761c15594f903097cbbf25acf9b60a490b265541466f400c718d098472"
40
+ "sha256": "530c18219d64a9e7d1c30ef75e235b0d6d80878a3dba2df4d35249785b00e4cc"
41
41
  },
42
42
  {
43
43
  "name": "libggml-cpu.so.0.15.1",
44
44
  "bytes": 869800,
45
- "sha256": "723427761c15594f903097cbbf25acf9b60a490b265541466f400c718d098472"
45
+ "sha256": "530c18219d64a9e7d1c30ef75e235b0d6d80878a3dba2df4d35249785b00e4cc"
46
46
  },
47
47
  {
48
48
  "name": "libggml.so",
49
49
  "bytes": 1899104,
50
- "sha256": "8c29bebaf583bfb2e8ff7f749c191b1f0647789318848d6a902ce55bdbe1798a"
50
+ "sha256": "a0b79291feab4fb5d717138ef6f08f8f30c482d9f26aa9f2f52e4d7ef2f2cea7"
51
51
  },
52
52
  {
53
53
  "name": "libggml.so.0",
54
54
  "bytes": 1899104,
55
- "sha256": "8c29bebaf583bfb2e8ff7f749c191b1f0647789318848d6a902ce55bdbe1798a"
55
+ "sha256": "a0b79291feab4fb5d717138ef6f08f8f30c482d9f26aa9f2f52e4d7ef2f2cea7"
56
56
  },
57
57
  {
58
58
  "name": "libggml.so.0.15.1",
59
59
  "bytes": 1899104,
60
- "sha256": "8c29bebaf583bfb2e8ff7f749c191b1f0647789318848d6a902ce55bdbe1798a"
60
+ "sha256": "a0b79291feab4fb5d717138ef6f08f8f30c482d9f26aa9f2f52e4d7ef2f2cea7"
61
61
  },
62
62
  {
63
63
  "name": "openmates-pii-worker",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openmates",
3
- "version": "0.27.0-alpha.40",
3
+ "version": "0.27.0-alpha.41",
4
4
  "description": "OpenMates CLI and SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",