@slatesvideo/shared 0.7.22 → 0.7.24

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.
@@ -92,6 +92,9 @@ function joinNums(nums) {
92
92
  * capability attaches to the primitive, it does not stand in the way of it.
93
93
  */
94
94
  const TOKEN_RE = /(?<![\w.@#])([@#])([\w-]+(?:\.[\w-]+)*)/g;
95
+ export function hasReferenceMention(prompt) {
96
+ return prompt.search(TOKEN_RE) !== -1;
97
+ }
95
98
  /**
96
99
  * 🚨 A HEX COLOUR IS NOT A TAG. `#000000` is to `#` what `eric@gmail.com` is to
97
100
  * `@`: an everyday literal that happens to open with our sigil, written by
@@ -64,7 +64,8 @@ export const BRAIN_SHAPE = {
64
64
  "slates-prompting-seedance",
65
65
  "slates-prompting-seedance-2-5",
66
66
  "slates-prompting-seedream-5-5",
67
- "slates-prompting-wan-3"
67
+ "slates-prompting-wan-3",
68
+ "slates-prompting-magi-2"
68
69
  ]
69
70
  },
70
71
  "caps": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slatesvideo/shared",
3
- "version": "0.7.22",
3
+ "version": "0.7.24",
4
4
  "description": "Shared operations layer for the Slates MCP server and CLI: auth, cloud/desktop clients, and the single tool surface both consume. Most users want @slatesvideo/mcp-server or @slatesvideo/cli instead.",
5
5
  "license": "MIT",
6
6
  "type": "module",