@gonvex/protocol 0.4.0 → 0.5.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/index.d.ts +18 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -65,6 +65,13 @@ export type FunctionManifestEntry = {
|
|
|
65
65
|
offline?: JsonValue;
|
|
66
66
|
/** Ordered atomic optimistic transaction declared by a TypeScript module. */
|
|
67
67
|
optimistic?: JsonValue;
|
|
68
|
+
interactive?: boolean;
|
|
69
|
+
classification?: "interactive" | "system" | "internal";
|
|
70
|
+
description?: string;
|
|
71
|
+
agent?: {
|
|
72
|
+
tags?: string[];
|
|
73
|
+
confirmation?: "none" | "required" | "destructive";
|
|
74
|
+
};
|
|
68
75
|
};
|
|
69
76
|
export type ReplicaCollectionDefinition = {
|
|
70
77
|
table: string;
|
|
@@ -84,6 +91,15 @@ export type ReplicaCursor = {
|
|
|
84
91
|
epoch: string;
|
|
85
92
|
revision: number;
|
|
86
93
|
};
|
|
94
|
+
export type PublicInvocationProvenance = {
|
|
95
|
+
rootCommandId: string;
|
|
96
|
+
rootChannel?: "ui" | "agent" | "api" | "scheduler" | "system" | (string & {});
|
|
97
|
+
channel: "ui" | "agent" | "api" | "scheduler" | "system" | (string & {});
|
|
98
|
+
actorAccountId?: string;
|
|
99
|
+
actorMemberId?: string;
|
|
100
|
+
onBehalfOfMemberId?: string;
|
|
101
|
+
agentExecutionId?: string;
|
|
102
|
+
};
|
|
87
103
|
export type ReplicaChange = {
|
|
88
104
|
entity: string;
|
|
89
105
|
id: string;
|
|
@@ -386,6 +402,7 @@ export type ServerMessage = {
|
|
|
386
402
|
type: "replica.transaction";
|
|
387
403
|
cursor: ReplicaCursor;
|
|
388
404
|
originCommandId?: string;
|
|
405
|
+
provenance?: PublicInvocationProvenance;
|
|
389
406
|
changes: ReplicaChange[];
|
|
390
407
|
} | {
|
|
391
408
|
type: "session.ready";
|
|
@@ -561,4 +578,5 @@ export type ServerMessage = {
|
|
|
561
578
|
} | {
|
|
562
579
|
type: "system.reload";
|
|
563
580
|
reason: string;
|
|
581
|
+
artifactHash?: string;
|
|
564
582
|
};
|