@camox/api-contract 0.79.0 → 0.80.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.
package/dist/threads.d.ts CHANGED
@@ -45,8 +45,9 @@ export declare const BRIEF_ENTRY = "camox.brief";
45
45
  */
46
46
  export declare const DRAFT_ENDED_ENTRY = "camox.draft-ended";
47
47
  /**
48
- * The kind of the transcript entry holding Camox's note on memory, as it read when it changed
49
- * since the model last saw it (ADR 0049). Only the model reads it.
48
+ * The kind of the transcript entry holding Camox's note on the brand, as it read when it changed
49
+ * since the model last saw it (ADR 0049, ADR 0052). Only the model reads it. Its old name stays:
50
+ * stored transcripts hold it.
50
51
  */
51
52
  export declare const MEMORY_ENTRY = "camox.memory";
52
53
  /**
package/dist/threads.js CHANGED
@@ -43,8 +43,9 @@ const BRIEF_ENTRY = "camox.brief";
43
43
  */
44
44
  const DRAFT_ENDED_ENTRY = "camox.draft-ended";
45
45
  /**
46
- * The kind of the transcript entry holding Camox's note on memory, as it read when it changed
47
- * since the model last saw it (ADR 0049). Only the model reads it.
46
+ * The kind of the transcript entry holding Camox's note on the brand, as it read when it changed
47
+ * since the model last saw it (ADR 0049, ADR 0052). Only the model reads it. Its old name stays:
48
+ * stored transcripts hold it.
48
49
  */
49
50
  const MEMORY_ENTRY = "camox.memory";
50
51
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camox/api-contract",
3
- "version": "0.79.0",
3
+ "version": "0.80.0",
4
4
  "license": "UNLICENSED",
5
5
  "files": [
6
6
  "src",
package/src/drafts.ts CHANGED
@@ -335,8 +335,9 @@ const SPECIALISTS_WRITES: Record<keyof Router["specialists"], boolean> = {
335
335
  dismissFinding: false,
336
336
  };
337
337
 
338
- // Memory, the Voice included, changes through drafts, like content (ADR 0049, ADR 0051).
339
- const MEMORY_WRITES: Record<keyof Router["memories"], boolean> = {
338
+ // The brand, the Voice and memory, changes through drafts, like content (ADR 0049, ADR 0051,
339
+ // ADR 0052). Its procedures keep the name `memories` older studios call (ADR 0019).
340
+ const BRAND_WRITES: Record<keyof Router["memories"], boolean> = {
340
341
  list: false,
341
342
  add: true,
342
343
  change: true,
@@ -351,7 +352,7 @@ const CONTENT_WRITES: Partial<Record<keyof Router, Record<string, boolean>>> = {
351
352
  locales: LOCALE_WRITES,
352
353
  collectionDefinitions: COLLECTION_WRITES,
353
354
  files: FILE_WRITES,
354
- memories: MEMORY_WRITES,
355
+ memories: BRAND_WRITES,
355
356
  pages: PAGE_WRITES,
356
357
  specialists: SPECIALISTS_WRITES,
357
358
  // The old name of `specialists`, for studios not yet upgraded (ADR 0019).
package/src/query-keys.ts CHANGED
@@ -52,7 +52,8 @@ export const queryKeys = {
52
52
  layouts: {
53
53
  all: ["camox", "layouts"],
54
54
  },
55
- // A scope's memory (ADR 0049), and its Voice (ADR 0051).
55
+ // A scope's brand: its memory (ADR 0049) and its Voice (ADR 0051). Older studios match these keys
56
+ // (ADR 0019), so they keep the name `memories` (ADR 0052).
56
57
  memories: {
57
58
  list: ["camox", "memories", "list"],
58
59
  voice: ["camox", "memories", "voice"],
package/src/threads.ts CHANGED
@@ -57,8 +57,9 @@ export const BRIEF_ENTRY = "camox.brief";
57
57
  export const DRAFT_ENDED_ENTRY = "camox.draft-ended";
58
58
 
59
59
  /**
60
- * The kind of the transcript entry holding Camox's note on memory, as it read when it changed
61
- * since the model last saw it (ADR 0049). Only the model reads it.
60
+ * The kind of the transcript entry holding Camox's note on the brand, as it read when it changed
61
+ * since the model last saw it (ADR 0049, ADR 0052). Only the model reads it. Its old name stays:
62
+ * stored transcripts hold it.
62
63
  */
63
64
  export const MEMORY_ENTRY = "camox.memory";
64
65