@kybernesis/brain-contracts 0.1.2 → 0.1.4
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/timeline.d.ts +40 -40
- package/dist/timeline.js +1 -1
- package/dist/timeline.js.map +1 -1
- package/package.json +1 -1
package/dist/timeline.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare const TimelineEventSchema: z.ZodObject<{
|
|
|
12
12
|
priority: z.ZodNumber;
|
|
13
13
|
decayScore: z.ZodNumber;
|
|
14
14
|
tier: z.ZodEnum<["hot", "warm", "archive"]>;
|
|
15
|
-
tags: z.ZodArray<z.ZodString, "many"
|
|
15
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16
16
|
lastEnriched: z.ZodOptional<z.ZodString>;
|
|
17
17
|
accessCount: z.ZodNumber;
|
|
18
18
|
isPinned: z.ZodBoolean;
|
|
@@ -22,49 +22,49 @@ export declare const TimelineEventSchema: z.ZodObject<{
|
|
|
22
22
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
23
23
|
sourceDid: z.ZodOptional<z.ZodString>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
type: "conversation" | "idea" | "file" | "transcript" | "note" | "intake";
|
|
26
25
|
id: number;
|
|
26
|
+
type: "conversation" | "idea" | "file" | "transcript" | "note" | "intake";
|
|
27
|
+
timestamp: string;
|
|
28
|
+
title: string;
|
|
29
|
+
sourcePath: string;
|
|
30
|
+
entities: string[];
|
|
31
|
+
topics: string[];
|
|
27
32
|
priority: number;
|
|
28
33
|
decayScore: number;
|
|
29
34
|
tier: "hot" | "warm" | "archive";
|
|
30
35
|
accessCount: number;
|
|
31
36
|
isPinned: boolean;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
title: string;
|
|
37
|
-
topics: string[];
|
|
37
|
+
endTimestamp?: string | undefined;
|
|
38
|
+
summary?: string | undefined;
|
|
39
|
+
tags?: string[] | undefined;
|
|
40
|
+
lastEnriched?: string | undefined;
|
|
38
41
|
lastAccessed?: string | undefined;
|
|
39
42
|
projectId?: string | undefined;
|
|
40
43
|
classification?: string | undefined;
|
|
41
44
|
connectionId?: string | undefined;
|
|
42
45
|
sourceDid?: string | undefined;
|
|
43
|
-
endTimestamp?: string | undefined;
|
|
44
|
-
summary?: string | undefined;
|
|
45
|
-
lastEnriched?: string | undefined;
|
|
46
46
|
}, {
|
|
47
|
-
type: "conversation" | "idea" | "file" | "transcript" | "note" | "intake";
|
|
48
47
|
id: number;
|
|
48
|
+
type: "conversation" | "idea" | "file" | "transcript" | "note" | "intake";
|
|
49
|
+
timestamp: string;
|
|
50
|
+
title: string;
|
|
51
|
+
sourcePath: string;
|
|
52
|
+
entities: string[];
|
|
53
|
+
topics: string[];
|
|
49
54
|
priority: number;
|
|
50
55
|
decayScore: number;
|
|
51
56
|
tier: "hot" | "warm" | "archive";
|
|
52
57
|
accessCount: number;
|
|
53
58
|
isPinned: boolean;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
title: string;
|
|
59
|
-
topics: string[];
|
|
59
|
+
endTimestamp?: string | undefined;
|
|
60
|
+
summary?: string | undefined;
|
|
61
|
+
tags?: string[] | undefined;
|
|
62
|
+
lastEnriched?: string | undefined;
|
|
60
63
|
lastAccessed?: string | undefined;
|
|
61
64
|
projectId?: string | undefined;
|
|
62
65
|
classification?: string | undefined;
|
|
63
66
|
connectionId?: string | undefined;
|
|
64
67
|
sourceDid?: string | undefined;
|
|
65
|
-
endTimestamp?: string | undefined;
|
|
66
|
-
summary?: string | undefined;
|
|
67
|
-
lastEnriched?: string | undefined;
|
|
68
68
|
}>;
|
|
69
69
|
export type TimelineEvent = z.infer<typeof TimelineEventSchema>;
|
|
70
70
|
export declare const TimelineEventInputSchema: z.ZodObject<Omit<{
|
|
@@ -80,7 +80,7 @@ export declare const TimelineEventInputSchema: z.ZodObject<Omit<{
|
|
|
80
80
|
priority: z.ZodNumber;
|
|
81
81
|
decayScore: z.ZodNumber;
|
|
82
82
|
tier: z.ZodEnum<["hot", "warm", "archive"]>;
|
|
83
|
-
tags: z.ZodArray<z.ZodString, "many"
|
|
83
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
84
84
|
lastEnriched: z.ZodOptional<z.ZodString>;
|
|
85
85
|
accessCount: z.ZodNumber;
|
|
86
86
|
isPinned: z.ZodBoolean;
|
|
@@ -91,46 +91,46 @@ export declare const TimelineEventInputSchema: z.ZodObject<Omit<{
|
|
|
91
91
|
sourceDid: z.ZodOptional<z.ZodString>;
|
|
92
92
|
}, "id">, "strip", z.ZodTypeAny, {
|
|
93
93
|
type: "conversation" | "idea" | "file" | "transcript" | "note" | "intake";
|
|
94
|
+
timestamp: string;
|
|
95
|
+
title: string;
|
|
96
|
+
sourcePath: string;
|
|
97
|
+
entities: string[];
|
|
98
|
+
topics: string[];
|
|
94
99
|
priority: number;
|
|
95
100
|
decayScore: number;
|
|
96
101
|
tier: "hot" | "warm" | "archive";
|
|
97
102
|
accessCount: number;
|
|
98
103
|
isPinned: boolean;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
title: string;
|
|
104
|
-
topics: string[];
|
|
104
|
+
endTimestamp?: string | undefined;
|
|
105
|
+
summary?: string | undefined;
|
|
106
|
+
tags?: string[] | undefined;
|
|
107
|
+
lastEnriched?: string | undefined;
|
|
105
108
|
lastAccessed?: string | undefined;
|
|
106
109
|
projectId?: string | undefined;
|
|
107
110
|
classification?: string | undefined;
|
|
108
111
|
connectionId?: string | undefined;
|
|
109
112
|
sourceDid?: string | undefined;
|
|
110
|
-
endTimestamp?: string | undefined;
|
|
111
|
-
summary?: string | undefined;
|
|
112
|
-
lastEnriched?: string | undefined;
|
|
113
113
|
}, {
|
|
114
114
|
type: "conversation" | "idea" | "file" | "transcript" | "note" | "intake";
|
|
115
|
+
timestamp: string;
|
|
116
|
+
title: string;
|
|
117
|
+
sourcePath: string;
|
|
118
|
+
entities: string[];
|
|
119
|
+
topics: string[];
|
|
115
120
|
priority: number;
|
|
116
121
|
decayScore: number;
|
|
117
122
|
tier: "hot" | "warm" | "archive";
|
|
118
123
|
accessCount: number;
|
|
119
124
|
isPinned: boolean;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
title: string;
|
|
125
|
-
topics: string[];
|
|
125
|
+
endTimestamp?: string | undefined;
|
|
126
|
+
summary?: string | undefined;
|
|
127
|
+
tags?: string[] | undefined;
|
|
128
|
+
lastEnriched?: string | undefined;
|
|
126
129
|
lastAccessed?: string | undefined;
|
|
127
130
|
projectId?: string | undefined;
|
|
128
131
|
classification?: string | undefined;
|
|
129
132
|
connectionId?: string | undefined;
|
|
130
133
|
sourceDid?: string | undefined;
|
|
131
|
-
endTimestamp?: string | undefined;
|
|
132
|
-
summary?: string | undefined;
|
|
133
|
-
lastEnriched?: string | undefined;
|
|
134
134
|
}>;
|
|
135
135
|
export type TimelineEventInput = z.infer<typeof TimelineEventInputSchema>;
|
|
136
136
|
//# sourceMappingURL=timeline.d.ts.map
|
package/dist/timeline.js
CHANGED
|
@@ -14,7 +14,7 @@ export const TimelineEventSchema = z.object({
|
|
|
14
14
|
priority: z.number(),
|
|
15
15
|
decayScore: z.number(),
|
|
16
16
|
tier: TierSchema,
|
|
17
|
-
tags: z.array(z.string()),
|
|
17
|
+
tags: z.array(z.string()).optional(),
|
|
18
18
|
lastEnriched: z.string().optional(),
|
|
19
19
|
accessCount: z.number().int(),
|
|
20
20
|
isPinned: z.boolean(),
|
package/dist/timeline.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeline.js","sourceRoot":"","sources":["../src/timeline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM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