@ai-matrx/data 0.22.0 → 0.22.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/CHANGELOG.md +12 -0
- package/dist/{auth-cookie-BpgVyFw9.d.cts → auth-cookie-D4QjVz7W.d.cts} +2 -0
- package/dist/{auth-cookie-BpgVyFw9.d.ts → auth-cookie-D4QjVz7W.d.ts} +2 -0
- package/dist/db.cjs +5 -2
- package/dist/db.cjs.map +1 -1
- package/dist/db.d.cts +1 -1
- package/dist/db.d.ts +1 -1
- package/dist/db.js +5 -2
- package/dist/db.js.map +1 -1
- package/dist/next.cjs +6 -3
- package/dist/next.cjs.map +1 -1
- package/dist/next.d.cts +2 -2
- package/dist/next.d.ts +2 -2
- package/dist/next.js +6 -3
- package/dist/next.js.map +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +59 -0
- package/dist/types.d.ts +59 -0
- package/package.json +3 -3
package/dist/types.d.cts
CHANGED
|
@@ -6979,6 +6979,13 @@ type Database = {
|
|
|
6979
6979
|
output_type: string | null;
|
|
6980
6980
|
parent_call_id: string | null;
|
|
6981
6981
|
persist_key: string | null;
|
|
6982
|
+
refetch_args_hash: string | null;
|
|
6983
|
+
refetch_first_id: string | null;
|
|
6984
|
+
refetch_out_hash: string | null;
|
|
6985
|
+
refetch_prior: number | null;
|
|
6986
|
+
refetch_seq: number | null;
|
|
6987
|
+
refetch_settled_at: string | null;
|
|
6988
|
+
refetch_trimmed: boolean | null;
|
|
6982
6989
|
resolution_source: string | null;
|
|
6983
6990
|
resolved_at: string | null;
|
|
6984
6991
|
retry_count: number | null;
|
|
@@ -7033,6 +7040,13 @@ type Database = {
|
|
|
7033
7040
|
output_type?: string | null;
|
|
7034
7041
|
parent_call_id?: string | null;
|
|
7035
7042
|
persist_key?: string | null;
|
|
7043
|
+
refetch_args_hash?: string | null;
|
|
7044
|
+
refetch_first_id?: string | null;
|
|
7045
|
+
refetch_out_hash?: string | null;
|
|
7046
|
+
refetch_prior?: number | null;
|
|
7047
|
+
refetch_seq?: number | null;
|
|
7048
|
+
refetch_settled_at?: string | null;
|
|
7049
|
+
refetch_trimmed?: boolean | null;
|
|
7036
7050
|
resolution_source?: string | null;
|
|
7037
7051
|
resolved_at?: string | null;
|
|
7038
7052
|
retry_count?: number | null;
|
|
@@ -7087,6 +7101,13 @@ type Database = {
|
|
|
7087
7101
|
output_type?: string | null;
|
|
7088
7102
|
parent_call_id?: string | null;
|
|
7089
7103
|
persist_key?: string | null;
|
|
7104
|
+
refetch_args_hash?: string | null;
|
|
7105
|
+
refetch_first_id?: string | null;
|
|
7106
|
+
refetch_out_hash?: string | null;
|
|
7107
|
+
refetch_prior?: number | null;
|
|
7108
|
+
refetch_seq?: number | null;
|
|
7109
|
+
refetch_settled_at?: string | null;
|
|
7110
|
+
refetch_trimmed?: boolean | null;
|
|
7090
7111
|
resolution_source?: string | null;
|
|
7091
7112
|
resolved_at?: string | null;
|
|
7092
7113
|
retry_count?: number | null;
|
|
@@ -7176,6 +7197,13 @@ type Database = {
|
|
|
7176
7197
|
referencedRelation: "vw_tool_gate_verdict";
|
|
7177
7198
|
referencedColumns: ["tool_call_id"];
|
|
7178
7199
|
},
|
|
7200
|
+
{
|
|
7201
|
+
foreignKeyName: "fk_cx_tool_call_parent";
|
|
7202
|
+
columns: ["parent_call_id"];
|
|
7203
|
+
isOneToOne: false;
|
|
7204
|
+
referencedRelation: "vw_tool_refetch";
|
|
7205
|
+
referencedColumns: ["first_tool_call_id"];
|
|
7206
|
+
},
|
|
7179
7207
|
{
|
|
7180
7208
|
foreignKeyName: "fk_cx_tool_call_parent";
|
|
7181
7209
|
columns: ["parent_call_id"];
|
|
@@ -7901,6 +7929,12 @@ type Database = {
|
|
|
7901
7929
|
};
|
|
7902
7930
|
Returns: string[];
|
|
7903
7931
|
};
|
|
7932
|
+
_tool_call_refetch_settle: {
|
|
7933
|
+
Args: {
|
|
7934
|
+
p_conversation_id: string;
|
|
7935
|
+
};
|
|
7936
|
+
Returns: number;
|
|
7937
|
+
};
|
|
7904
7938
|
admin_explore_conversation_facets: {
|
|
7905
7939
|
Args: {
|
|
7906
7940
|
p_filters?: Json;
|
|
@@ -8081,6 +8115,16 @@ type Database = {
|
|
|
8081
8115
|
};
|
|
8082
8116
|
Returns: string;
|
|
8083
8117
|
};
|
|
8118
|
+
tool_call_refetch_backfill: {
|
|
8119
|
+
Args: {
|
|
8120
|
+
p_conversations?: number;
|
|
8121
|
+
};
|
|
8122
|
+
Returns: {
|
|
8123
|
+
remaining_conversations: number;
|
|
8124
|
+
rows_written: number;
|
|
8125
|
+
settled_conversations: number;
|
|
8126
|
+
}[];
|
|
8127
|
+
};
|
|
8084
8128
|
user_request_totals_bump: {
|
|
8085
8129
|
Args: {
|
|
8086
8130
|
p_parent: string;
|
|
@@ -32772,6 +32816,12 @@ type Database = {
|
|
|
32772
32816
|
};
|
|
32773
32817
|
Returns: Json;
|
|
32774
32818
|
};
|
|
32819
|
+
knob_defaults: {
|
|
32820
|
+
Args: {
|
|
32821
|
+
p_known_version?: string;
|
|
32822
|
+
};
|
|
32823
|
+
Returns: Json;
|
|
32824
|
+
};
|
|
32775
32825
|
knob_history: {
|
|
32776
32826
|
Args: {
|
|
32777
32827
|
p_feature: string;
|
|
@@ -32879,6 +32929,15 @@ type Database = {
|
|
|
32879
32929
|
};
|
|
32880
32930
|
Returns: Json;
|
|
32881
32931
|
};
|
|
32932
|
+
knob_snapshot_delta: {
|
|
32933
|
+
Args: {
|
|
32934
|
+
p_etag?: string;
|
|
32935
|
+
p_organization_id: string;
|
|
32936
|
+
p_scopes?: Json;
|
|
32937
|
+
p_user_id?: string;
|
|
32938
|
+
};
|
|
32939
|
+
Returns: Json;
|
|
32940
|
+
};
|
|
32882
32941
|
knob_unarchive: {
|
|
32883
32942
|
Args: {
|
|
32884
32943
|
p_feature: string;
|
package/dist/types.d.ts
CHANGED
|
@@ -6979,6 +6979,13 @@ type Database = {
|
|
|
6979
6979
|
output_type: string | null;
|
|
6980
6980
|
parent_call_id: string | null;
|
|
6981
6981
|
persist_key: string | null;
|
|
6982
|
+
refetch_args_hash: string | null;
|
|
6983
|
+
refetch_first_id: string | null;
|
|
6984
|
+
refetch_out_hash: string | null;
|
|
6985
|
+
refetch_prior: number | null;
|
|
6986
|
+
refetch_seq: number | null;
|
|
6987
|
+
refetch_settled_at: string | null;
|
|
6988
|
+
refetch_trimmed: boolean | null;
|
|
6982
6989
|
resolution_source: string | null;
|
|
6983
6990
|
resolved_at: string | null;
|
|
6984
6991
|
retry_count: number | null;
|
|
@@ -7033,6 +7040,13 @@ type Database = {
|
|
|
7033
7040
|
output_type?: string | null;
|
|
7034
7041
|
parent_call_id?: string | null;
|
|
7035
7042
|
persist_key?: string | null;
|
|
7043
|
+
refetch_args_hash?: string | null;
|
|
7044
|
+
refetch_first_id?: string | null;
|
|
7045
|
+
refetch_out_hash?: string | null;
|
|
7046
|
+
refetch_prior?: number | null;
|
|
7047
|
+
refetch_seq?: number | null;
|
|
7048
|
+
refetch_settled_at?: string | null;
|
|
7049
|
+
refetch_trimmed?: boolean | null;
|
|
7036
7050
|
resolution_source?: string | null;
|
|
7037
7051
|
resolved_at?: string | null;
|
|
7038
7052
|
retry_count?: number | null;
|
|
@@ -7087,6 +7101,13 @@ type Database = {
|
|
|
7087
7101
|
output_type?: string | null;
|
|
7088
7102
|
parent_call_id?: string | null;
|
|
7089
7103
|
persist_key?: string | null;
|
|
7104
|
+
refetch_args_hash?: string | null;
|
|
7105
|
+
refetch_first_id?: string | null;
|
|
7106
|
+
refetch_out_hash?: string | null;
|
|
7107
|
+
refetch_prior?: number | null;
|
|
7108
|
+
refetch_seq?: number | null;
|
|
7109
|
+
refetch_settled_at?: string | null;
|
|
7110
|
+
refetch_trimmed?: boolean | null;
|
|
7090
7111
|
resolution_source?: string | null;
|
|
7091
7112
|
resolved_at?: string | null;
|
|
7092
7113
|
retry_count?: number | null;
|
|
@@ -7176,6 +7197,13 @@ type Database = {
|
|
|
7176
7197
|
referencedRelation: "vw_tool_gate_verdict";
|
|
7177
7198
|
referencedColumns: ["tool_call_id"];
|
|
7178
7199
|
},
|
|
7200
|
+
{
|
|
7201
|
+
foreignKeyName: "fk_cx_tool_call_parent";
|
|
7202
|
+
columns: ["parent_call_id"];
|
|
7203
|
+
isOneToOne: false;
|
|
7204
|
+
referencedRelation: "vw_tool_refetch";
|
|
7205
|
+
referencedColumns: ["first_tool_call_id"];
|
|
7206
|
+
},
|
|
7179
7207
|
{
|
|
7180
7208
|
foreignKeyName: "fk_cx_tool_call_parent";
|
|
7181
7209
|
columns: ["parent_call_id"];
|
|
@@ -7901,6 +7929,12 @@ type Database = {
|
|
|
7901
7929
|
};
|
|
7902
7930
|
Returns: string[];
|
|
7903
7931
|
};
|
|
7932
|
+
_tool_call_refetch_settle: {
|
|
7933
|
+
Args: {
|
|
7934
|
+
p_conversation_id: string;
|
|
7935
|
+
};
|
|
7936
|
+
Returns: number;
|
|
7937
|
+
};
|
|
7904
7938
|
admin_explore_conversation_facets: {
|
|
7905
7939
|
Args: {
|
|
7906
7940
|
p_filters?: Json;
|
|
@@ -8081,6 +8115,16 @@ type Database = {
|
|
|
8081
8115
|
};
|
|
8082
8116
|
Returns: string;
|
|
8083
8117
|
};
|
|
8118
|
+
tool_call_refetch_backfill: {
|
|
8119
|
+
Args: {
|
|
8120
|
+
p_conversations?: number;
|
|
8121
|
+
};
|
|
8122
|
+
Returns: {
|
|
8123
|
+
remaining_conversations: number;
|
|
8124
|
+
rows_written: number;
|
|
8125
|
+
settled_conversations: number;
|
|
8126
|
+
}[];
|
|
8127
|
+
};
|
|
8084
8128
|
user_request_totals_bump: {
|
|
8085
8129
|
Args: {
|
|
8086
8130
|
p_parent: string;
|
|
@@ -32772,6 +32816,12 @@ type Database = {
|
|
|
32772
32816
|
};
|
|
32773
32817
|
Returns: Json;
|
|
32774
32818
|
};
|
|
32819
|
+
knob_defaults: {
|
|
32820
|
+
Args: {
|
|
32821
|
+
p_known_version?: string;
|
|
32822
|
+
};
|
|
32823
|
+
Returns: Json;
|
|
32824
|
+
};
|
|
32775
32825
|
knob_history: {
|
|
32776
32826
|
Args: {
|
|
32777
32827
|
p_feature: string;
|
|
@@ -32879,6 +32929,15 @@ type Database = {
|
|
|
32879
32929
|
};
|
|
32880
32930
|
Returns: Json;
|
|
32881
32931
|
};
|
|
32932
|
+
knob_snapshot_delta: {
|
|
32933
|
+
Args: {
|
|
32934
|
+
p_etag?: string;
|
|
32935
|
+
p_organization_id: string;
|
|
32936
|
+
p_scopes?: Json;
|
|
32937
|
+
p_user_id?: string;
|
|
32938
|
+
};
|
|
32939
|
+
Returns: Json;
|
|
32940
|
+
};
|
|
32882
32941
|
knob_unarchive: {
|
|
32883
32942
|
Args: {
|
|
32884
32943
|
p_feature: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/data",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.2",
|
|
4
4
|
"description": "The opinionated AI Matrx data layer: the /db tier's hard-won Supabase primitives — optimistic concurrency, complete-list reads, JSONB merge, session-retry, the domain-wide auth cookie, realtime channel hygiene — the /net resilience trio, and the /files lane: the Matrx file-communication client (durable-ref resolution, the mx_files_session bootstrap, authenticated blob fetch, uploads, the public-link door).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -167,8 +167,8 @@
|
|
|
167
167
|
"dependencies": {
|
|
168
168
|
"@supabase/ssr": "^0.12.7",
|
|
169
169
|
"tus-js-client": "^4.3.1",
|
|
170
|
-
"@ai-matrx/
|
|
171
|
-
"@ai-matrx/
|
|
170
|
+
"@ai-matrx/realtime": "latest",
|
|
171
|
+
"@ai-matrx/kit": "latest"
|
|
172
172
|
},
|
|
173
173
|
"peerDependencies": {
|
|
174
174
|
"react": ">=18.0.0",
|