@anuma/sdk 6.25.2 → 6.25.3

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.
@@ -18202,7 +18202,10 @@ function reviewedMemoryIdsSignature(ids) {
18202
18202
  return [...new Set(ids)].sort().join("\n");
18203
18203
  }
18204
18204
  function facetsSignature(facets) {
18205
- return facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort().join("\n");
18205
+ return [
18206
+ JSON.stringify(FACET_SYSTEM_PROMPT),
18207
+ ...facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort()
18208
+ ].join("\n");
18206
18209
  }
18207
18210
  function trendsEqual(a, b) {
18208
18211
  if (!a) return false;
@@ -18424,7 +18427,7 @@ var FACET_SYSTEM_PROMPT = `You are writing one section of a person's shareable p
18424
18427
  Rules:
18425
18428
  - Ground every claim in the supplied memories \u2014 never invent, infer beyond, or embellish what they support.
18426
18429
  - If the memories don't cover this section, return an empty summary with hasEvidence=false. Do not pad or guess.
18427
- - Write in third person about the person, in a natural voice suitable for a public profile (no "I"/"you", no name repetition).
18430
+ - Write in a pronoun-free profile voice: lead with the descriptor or the verb ("Thoughtful, detail-oriented builder. Values clear communication."). Never use "they"/"he"/"she", "I", "you", or the person's name \u2014 the person publishes this as their own profile, and strangers read it there.
18428
18431
  - Be concise and specific; no preamble, hedging, or meta-commentary.
18429
18432
  - Respond as JSON in exactly the shape the user turn states, with no extra fields.`;
18430
18433
  function buildFacetUserInstructions(facet) {
@@ -16549,7 +16549,10 @@ function reviewedMemoryIdsSignature(ids) {
16549
16549
  return [...new Set(ids)].sort().join("\n");
16550
16550
  }
16551
16551
  function facetsSignature(facets) {
16552
- return facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort().join("\n");
16552
+ return [
16553
+ JSON.stringify(FACET_SYSTEM_PROMPT),
16554
+ ...facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort()
16555
+ ].join("\n");
16553
16556
  }
16554
16557
  function trendsEqual(a, b) {
16555
16558
  if (!a) return false;
@@ -16771,7 +16774,7 @@ var FACET_SYSTEM_PROMPT = `You are writing one section of a person's shareable p
16771
16774
  Rules:
16772
16775
  - Ground every claim in the supplied memories \u2014 never invent, infer beyond, or embellish what they support.
16773
16776
  - If the memories don't cover this section, return an empty summary with hasEvidence=false. Do not pad or guess.
16774
- - Write in third person about the person, in a natural voice suitable for a public profile (no "I"/"you", no name repetition).
16777
+ - Write in a pronoun-free profile voice: lead with the descriptor or the verb ("Thoughtful, detail-oriented builder. Values clear communication."). Never use "they"/"he"/"she", "I", "you", or the person's name \u2014 the person publishes this as their own profile, and strangers read it there.
16775
16778
  - Be concise and specific; no preamble, hedging, or meta-commentary.
16776
16779
  - Respond as JSON in exactly the shape the user turn states, with no extra fields.`;
16777
16780
  function buildFacetUserInstructions(facet) {
@@ -19505,7 +19505,10 @@ function reviewedMemoryIdsSignature(ids) {
19505
19505
  return [...new Set(ids)].sort().join("\n");
19506
19506
  }
19507
19507
  function facetsSignature(facets) {
19508
- return facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort().join("\n");
19508
+ return [
19509
+ JSON.stringify(FACET_SYSTEM_PROMPT),
19510
+ ...facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort()
19511
+ ].join("\n");
19509
19512
  }
19510
19513
  function trendsEqual(a, b) {
19511
19514
  if (!a) return false;
@@ -19727,7 +19730,7 @@ var FACET_SYSTEM_PROMPT = `You are writing one section of a person's shareable p
19727
19730
  Rules:
19728
19731
  - Ground every claim in the supplied memories \u2014 never invent, infer beyond, or embellish what they support.
19729
19732
  - If the memories don't cover this section, return an empty summary with hasEvidence=false. Do not pad or guess.
19730
- - Write in third person about the person, in a natural voice suitable for a public profile (no "I"/"you", no name repetition).
19733
+ - Write in a pronoun-free profile voice: lead with the descriptor or the verb ("Thoughtful, detail-oriented builder. Values clear communication."). Never use "they"/"he"/"she", "I", "you", or the person's name \u2014 the person publishes this as their own profile, and strangers read it there.
19731
19734
  - Be concise and specific; no preamble, hedging, or meta-commentary.
19732
19735
  - Respond as JSON in exactly the shape the user turn states, with no extra fields.`;
19733
19736
  function buildFacetUserInstructions(facet) {
@@ -17605,7 +17605,10 @@ function reviewedMemoryIdsSignature(ids) {
17605
17605
  return [...new Set(ids)].sort().join("\n");
17606
17606
  }
17607
17607
  function facetsSignature(facets) {
17608
- return facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort().join("\n");
17608
+ return [
17609
+ JSON.stringify(FACET_SYSTEM_PROMPT),
17610
+ ...facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort()
17611
+ ].join("\n");
17609
17612
  }
17610
17613
  function trendsEqual(a, b) {
17611
17614
  if (!a) return false;
@@ -17827,7 +17830,7 @@ var FACET_SYSTEM_PROMPT = `You are writing one section of a person's shareable p
17827
17830
  Rules:
17828
17831
  - Ground every claim in the supplied memories \u2014 never invent, infer beyond, or embellish what they support.
17829
17832
  - If the memories don't cover this section, return an empty summary with hasEvidence=false. Do not pad or guess.
17830
- - Write in third person about the person, in a natural voice suitable for a public profile (no "I"/"you", no name repetition).
17833
+ - Write in a pronoun-free profile voice: lead with the descriptor or the verb ("Thoughtful, detail-oriented builder. Values clear communication."). Never use "they"/"he"/"she", "I", "you", or the person's name \u2014 the person publishes this as their own profile, and strangers read it there.
17831
17834
  - Be concise and specific; no preamble, hedging, or meta-commentary.
17832
17835
  - Respond as JSON in exactly the shape the user turn states, with no extra fields.`;
17833
17836
  function buildFacetUserInstructions(facet) {
@@ -31337,7 +31337,10 @@ function reviewedMemoryIdsSignature(ids) {
31337
31337
  return [...new Set(ids)].sort().join("\n");
31338
31338
  }
31339
31339
  function facetsSignature(facets) {
31340
- return facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort().join("\n");
31340
+ return [
31341
+ JSON.stringify(FACET_SYSTEM_PROMPT),
31342
+ ...facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort()
31343
+ ].join("\n");
31341
31344
  }
31342
31345
  function trendsEqual(a, b) {
31343
31346
  if (!a) return false;
@@ -31559,7 +31562,7 @@ var FACET_SYSTEM_PROMPT = `You are writing one section of a person's shareable p
31559
31562
  Rules:
31560
31563
  - Ground every claim in the supplied memories \u2014 never invent, infer beyond, or embellish what they support.
31561
31564
  - If the memories don't cover this section, return an empty summary with hasEvidence=false. Do not pad or guess.
31562
- - Write in third person about the person, in a natural voice suitable for a public profile (no "I"/"you", no name repetition).
31565
+ - Write in a pronoun-free profile voice: lead with the descriptor or the verb ("Thoughtful, detail-oriented builder. Values clear communication."). Never use "they"/"he"/"she", "I", "you", or the person's name \u2014 the person publishes this as their own profile, and strangers read it there.
31563
31566
  - Be concise and specific; no preamble, hedging, or meta-commentary.
31564
31567
  - Respond as JSON in exactly the shape the user turn states, with no extra fields.`;
31565
31568
  function buildFacetUserInstructions(facet) {
@@ -29610,7 +29610,10 @@ function reviewedMemoryIdsSignature(ids) {
29610
29610
  return [...new Set(ids)].sort().join("\n");
29611
29611
  }
29612
29612
  function facetsSignature(facets) {
29613
- return facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort().join("\n");
29613
+ return [
29614
+ JSON.stringify(FACET_SYSTEM_PROMPT),
29615
+ ...facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort()
29616
+ ].join("\n");
29614
29617
  }
29615
29618
  function trendsEqual(a, b) {
29616
29619
  if (!a) return false;
@@ -29832,7 +29835,7 @@ var FACET_SYSTEM_PROMPT = `You are writing one section of a person's shareable p
29832
29835
  Rules:
29833
29836
  - Ground every claim in the supplied memories \u2014 never invent, infer beyond, or embellish what they support.
29834
29837
  - If the memories don't cover this section, return an empty summary with hasEvidence=false. Do not pad or guess.
29835
- - Write in third person about the person, in a natural voice suitable for a public profile (no "I"/"you", no name repetition).
29838
+ - Write in a pronoun-free profile voice: lead with the descriptor or the verb ("Thoughtful, detail-oriented builder. Values clear communication."). Never use "they"/"he"/"she", "I", "you", or the person's name \u2014 the person publishes this as their own profile, and strangers read it there.
29836
29839
  - Be concise and specific; no preamble, hedging, or meta-commentary.
29837
29840
  - Respond as JSON in exactly the shape the user turn states, with no extra fields.`;
29838
29841
  function buildFacetUserInstructions(facet) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anuma/sdk",
3
- "version": "6.25.2",
3
+ "version": "6.25.3",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",