@hexis-ai/engram-server 0.11.0 → 0.11.2
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/schemas.d.ts +6 -0
- package/dist/schemas.js +6 -0
- package/openapi.json +46 -0
- package/package.json +2 -2
package/dist/schemas.d.ts
CHANGED
|
@@ -112,9 +112,15 @@ export declare const eventBatchSchema: z.ZodObject<{
|
|
|
112
112
|
}, z.core.$strip>;
|
|
113
113
|
export declare const personCreateSchema: z.ZodObject<{
|
|
114
114
|
display_name: z.ZodOptional<z.ZodString>;
|
|
115
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
116
|
+
team: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
117
|
+
source: z.ZodOptional<z.ZodString>;
|
|
115
118
|
}, z.core.$strip>;
|
|
116
119
|
export declare const personUpdateSchema: z.ZodObject<{
|
|
117
120
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
121
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
122
|
+
team: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
123
|
+
source: z.ZodOptional<z.ZodString>;
|
|
118
124
|
}, z.core.$strip>;
|
|
119
125
|
export declare const aliasUpsertSchema: z.ZodObject<{
|
|
120
126
|
caller: z.ZodString;
|
package/dist/schemas.js
CHANGED
|
@@ -90,9 +90,15 @@ export const eventBatchSchema = z.object({
|
|
|
90
90
|
// --- Persons ---------------------------------------------------------
|
|
91
91
|
export const personCreateSchema = z.object({
|
|
92
92
|
display_name: z.string().optional(),
|
|
93
|
+
role: z.string().nullable().optional(),
|
|
94
|
+
team: z.string().nullable().optional(),
|
|
95
|
+
source: z.string().optional(),
|
|
93
96
|
});
|
|
94
97
|
export const personUpdateSchema = z.object({
|
|
95
98
|
display_name: z.string().nullable().optional(),
|
|
99
|
+
role: z.string().nullable().optional(),
|
|
100
|
+
team: z.string().nullable().optional(),
|
|
101
|
+
source: z.string().optional(),
|
|
96
102
|
});
|
|
97
103
|
// --- Aliases ----------------------------------------------------------
|
|
98
104
|
export const aliasUpsertSchema = z.object({
|
package/openapi.json
CHANGED
|
@@ -340,6 +340,29 @@
|
|
|
340
340
|
"properties": {
|
|
341
341
|
"display_name": {
|
|
342
342
|
"type": "string"
|
|
343
|
+
},
|
|
344
|
+
"role": {
|
|
345
|
+
"anyOf": [
|
|
346
|
+
{
|
|
347
|
+
"type": "string"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"type": "null"
|
|
351
|
+
}
|
|
352
|
+
]
|
|
353
|
+
},
|
|
354
|
+
"team": {
|
|
355
|
+
"anyOf": [
|
|
356
|
+
{
|
|
357
|
+
"type": "string"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"type": "null"
|
|
361
|
+
}
|
|
362
|
+
]
|
|
363
|
+
},
|
|
364
|
+
"source": {
|
|
365
|
+
"type": "string"
|
|
343
366
|
}
|
|
344
367
|
},
|
|
345
368
|
"additionalProperties": false
|
|
@@ -356,6 +379,29 @@
|
|
|
356
379
|
"type": "null"
|
|
357
380
|
}
|
|
358
381
|
]
|
|
382
|
+
},
|
|
383
|
+
"role": {
|
|
384
|
+
"anyOf": [
|
|
385
|
+
{
|
|
386
|
+
"type": "string"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"type": "null"
|
|
390
|
+
}
|
|
391
|
+
]
|
|
392
|
+
},
|
|
393
|
+
"team": {
|
|
394
|
+
"anyOf": [
|
|
395
|
+
{
|
|
396
|
+
"type": "string"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"type": "null"
|
|
400
|
+
}
|
|
401
|
+
]
|
|
402
|
+
},
|
|
403
|
+
"source": {
|
|
404
|
+
"type": "string"
|
|
359
405
|
}
|
|
360
406
|
},
|
|
361
407
|
"additionalProperties": false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hexis-ai/engram-server",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"description": "Engram server: ingest agent session events, persist via a pluggable adapter, expose search.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"engram",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@hexis-ai/engram-core": "^0.2.0",
|
|
53
|
-
"@hexis-ai/engram-sdk": "^0.
|
|
53
|
+
"@hexis-ai/engram-sdk": "^0.11.0",
|
|
54
54
|
"hono": "^4.6.0",
|
|
55
55
|
"zod": "^4.0.0"
|
|
56
56
|
},
|