@jinn-network/plugin 0.1.2-canary.2b991f91 → 0.1.2-canary.5c1963f9

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/dist/pickup.js CHANGED
@@ -37,7 +37,7 @@ function isIdentifierShaped(word) {
37
37
  return /[_\-./]/.test(word) || /\d/.test(word) || /[a-z][A-Z]/.test(word);
38
38
  }
39
39
  /** Path segments of a `/`-bearing identifier-shaped token (#1791 root cause
40
- * 1): an over-specific path like `client/src/dashboard/spa/src` rarely
40
+ * 1): an over-specific path like `operator/src/dashboard/spa/src` rarely
41
41
  * matches a record's summary/tags verbatim, but a shorter segment within it
42
42
  * (`dashboard`) often does. Each segment is cleaned, filtered to
43
43
  * `MIN_PATH_SEGMENT_LENGTH`, stopword-filtered, and deduplicated against
@@ -101,7 +101,7 @@ export function deriveSearchTerms(message, repositorySlug, maxTerms = MAX_TERMS)
101
101
  // but run through cleanWord's leading/trailing `_-./` strip (#1789) so
102
102
  // a captured span like "npm test." doesn't keep its trailing period.
103
103
  // cleanWord also keeps internal spaces, so a multi-word span
104
- // ("version status fetch") and a path-shaped one ("client/src/dash")
104
+ // ("version status fetch") and a path-shaped one ("operator/src/dash")
105
105
  // both keep their shape.
106
106
  for (const match of text.matchAll(QUOTED_SPAN_RE)) {
107
107
  if (terms.length >= maxTerms)
@@ -213,7 +213,7 @@ const REGEX_META_RE = /[.*+?^${}()|[\]\\]/g;
213
213
  * to clear `RELEVANCE_FLOOR`. `_` counts as a word character so an
214
214
  * identifier term like `update_available` is not split, while `/`, `-`, `.`
215
215
  * and whitespace remain boundaries, so `dashboard` still matches inside
216
- * `client/src/dashboard/spa`. */
216
+ * `operator/src/dashboard/spa`. */
217
217
  function matchesWholeWord(haystack, term) {
218
218
  const escaped = term.replace(REGEX_META_RE, '\\$&');
219
219
  return new RegExp(`(?<![\\p{L}\\p{N}_])${escaped}(?![\\p{L}\\p{N}_])`, 'u').test(haystack);
@@ -27,7 +27,7 @@ const UnixNanoSchema = z.string().regex(/^\d+$/, 'unix-nanosecond digit string')
27
27
  * `kind` tracks the DR-2026-07-14 §6 working names: `jinn.agent_turn` carries a
28
28
  * `role: user|assistant` in `attributes`; `jinn.tool_call` is a tool invocation.
29
29
  * Re-declared inline (rather than imported) because #1473 is still open and arch
30
- * §6 forbids the plugin package importing from `client/src/**`.
30
+ * §6 forbids the plugin package importing from `operator/src/**`.
31
31
  */
32
32
  const StepShape = {
33
33
  spanId: z.string().min(1),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jinn-network/plugin",
3
- "version": "0.1.2-canary.2b991f91",
3
+ "version": "0.1.2-canary.5c1963f9",
4
4
  "description": "Product core for the Jinn Plugin — ports, product schemas, and the createJinnPlugin factory. Stage 1 foundation package (contracts + in-memory kit only).",
5
5
  "type": "module",
6
6
  "packageManager": "yarn@4.13.0",
@@ -35,7 +35,7 @@
35
35
  "test": "vitest run"
36
36
  },
37
37
  "dependencies": {
38
- "zod": "^4.4.3"
38
+ "zod": "4.4.3"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "vitest": "^4.1.8"