@fadhilp/stateql 0.2.2 → 0.3.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.
@@ -37,6 +37,7 @@ export interface HistoryEntry {
37
37
  command_id: string;
38
38
  timestamp: string;
39
39
  session_id: string;
40
+ actor_id: string;
40
41
  command: string;
41
42
  handle: string | null;
42
43
  executed: boolean;
@@ -50,6 +51,7 @@ export interface StateQLSnapshot {
50
51
  name: string;
51
52
  status: string;
52
53
  };
54
+ actor_id: string;
53
55
  connection: {
54
56
  connection_id: string;
55
57
  name: string;
@@ -60,6 +62,7 @@ export interface StateQLSnapshot {
60
62
  } | null;
61
63
  transaction: {
62
64
  transaction_id: string;
65
+ owner_actor_id: string;
63
66
  state: string;
64
67
  } | null;
65
68
  state_version: string | null;
@@ -71,6 +74,7 @@ export interface StateQLSnapshot {
71
74
  }>;
72
75
  recent_operations: Array<{
73
76
  handle: string;
77
+ actor_id: string;
74
78
  type: string;
75
79
  affected_rows: number | null;
76
80
  status: string;
@@ -85,6 +89,7 @@ export interface ExecutionOptions {
85
89
  export interface StateQLOptions extends ExecutionOptions {
86
90
  home?: string;
87
91
  session?: string;
92
+ actor?: string;
88
93
  previewRows?: number;
89
94
  cacheTtlSeconds?: number;
90
95
  resultTtlSeconds?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fadhilp/stateql",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
4
  "description": "Stateful, agent-oriented database CLI for safe result reuse",
5
5
  "repository": {
6
6
  "type": "git",