@zixt/host 0.0.45 → 0.0.47
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/index.js +32 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ import { homedir } from "node:os";
|
|
|
31
31
|
// package.json
|
|
32
32
|
var package_default = {
|
|
33
33
|
name: "@zixt/host",
|
|
34
|
-
version: "0.0.
|
|
34
|
+
version: "0.0.47",
|
|
35
35
|
type: "module",
|
|
36
36
|
exports: {
|
|
37
37
|
".": "./src/client.ts",
|
|
@@ -14651,6 +14651,8 @@ var ID_PREFIXES = {
|
|
|
14651
14651
|
memory: "mry",
|
|
14652
14652
|
/** Org-singleton Manager configuration (PRD §8.13). */
|
|
14653
14653
|
manager: "mgr",
|
|
14654
|
+
/** One organization fact the Manager keeps across threads (MG-11). */
|
|
14655
|
+
managerMemory: "mgm",
|
|
14654
14656
|
/** One Manager conversation thread (MG-2). */
|
|
14655
14657
|
conversation: "cnv",
|
|
14656
14658
|
/** One immutable Conversation timeline entry. */
|
|
@@ -14682,6 +14684,7 @@ var BrowserSessionId = idSchema(ID_PREFIXES.browserSession, "browser session id"
|
|
|
14682
14684
|
var AttachmentId = idSchema(ID_PREFIXES.attachment, "attachment id");
|
|
14683
14685
|
var MemoryId = idSchema(ID_PREFIXES.memory, "memory id");
|
|
14684
14686
|
var ManagerId = idSchema(ID_PREFIXES.manager, "manager id");
|
|
14687
|
+
var ManagerMemoryId = idSchema(ID_PREFIXES.managerMemory, "manager memory id");
|
|
14685
14688
|
var ConversationId = idSchema(ID_PREFIXES.conversation, "conversation id");
|
|
14686
14689
|
var ConversationEventId = idSchema(ID_PREFIXES.conversationEvent, "conversation event id");
|
|
14687
14690
|
|
|
@@ -18721,6 +18724,34 @@ var UpdateManagerRequest = external_exports.object({
|
|
|
18721
18724
|
ctx.addIssue({ code: "custom", message: "nothing to update" });
|
|
18722
18725
|
}
|
|
18723
18726
|
});
|
|
18727
|
+
var ManagerMemoryKind = external_exports.enum([
|
|
18728
|
+
/** How recurring organization work is actually done ("releases ship Thursday"). */
|
|
18729
|
+
"process",
|
|
18730
|
+
/** A settled organization decision and, ideally, why. */
|
|
18731
|
+
"decision",
|
|
18732
|
+
/** A standing preference for how the organization wants to be served. */
|
|
18733
|
+
"preference",
|
|
18734
|
+
/** A durable organization fact that is not derivable from configuration. */
|
|
18735
|
+
"fact"
|
|
18736
|
+
]);
|
|
18737
|
+
var MANAGER_MEMORY_SUBJECT_MAX = 60;
|
|
18738
|
+
var MANAGER_MEMORY_TEXT_MAX = 300;
|
|
18739
|
+
var MANAGER_MEMORY_MAX_ITEMS = 60;
|
|
18740
|
+
var ManagerMemoryProjection = external_exports.object({
|
|
18741
|
+
id: ManagerMemoryId,
|
|
18742
|
+
kind: ManagerMemoryKind,
|
|
18743
|
+
/** Short normalized topic; (kind, subject) is the deduplication key. */
|
|
18744
|
+
subject: external_exports.string().min(1).max(MANAGER_MEMORY_SUBJECT_MAX),
|
|
18745
|
+
text: external_exports.string().min(1).max(MANAGER_MEMORY_TEXT_MAX),
|
|
18746
|
+
/** Thread the Manager learned it in, for provenance. */
|
|
18747
|
+
sourceConversationId: ConversationId.nullable(),
|
|
18748
|
+
createdAt: external_exports.string(),
|
|
18749
|
+
updatedAt: external_exports.string()
|
|
18750
|
+
}).strict();
|
|
18751
|
+
var ListManagerMemoriesResponse = external_exports.object({
|
|
18752
|
+
memories: external_exports.array(ManagerMemoryProjection).max(MANAGER_MEMORY_MAX_ITEMS),
|
|
18753
|
+
limit: external_exports.number().int().min(1)
|
|
18754
|
+
}).strict();
|
|
18724
18755
|
var ConversationChannel = external_exports.enum(["web", "slack", "whatsapp"]);
|
|
18725
18756
|
var ConversationStatus = external_exports.enum(["idle", "thinking"]);
|
|
18726
18757
|
var ConversationProjection = external_exports.object({
|