@lepsto/sdk-app 92.0.0 → 92.1.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/CHANGELOG.md +8 -92
- package/dist/_types/gen/types.gen.d.ts +43 -1
- package/package.json +2 -2
- package/src/gen/types.gen.ts +43 -1
package/CHANGELOG.md
CHANGED
|
@@ -115,96 +115,12 @@ before this point lives in that package.
|
|
|
115
115
|
The publish pipeline appends its machine-rendered block for the release being
|
|
116
116
|
built below this line. It is not committed back to the repo, so in a git
|
|
117
117
|
checkout this section is empty — see the note at the top.
|
|
118
|
-
## 92.
|
|
119
|
-
|
|
120
|
-
###
|
|
121
|
-
- `
|
|
122
|
-
- `
|
|
123
|
-
- `
|
|
124
|
-
- `
|
|
125
|
-
- `
|
|
126
|
-
- `users_ops_retention_get`: description updated
|
|
127
|
-
- `users_stats_get`: new optional field `users.contacts (output)`
|
|
128
|
-
- `users_stats_get`: description updated
|
|
129
|
-
- added `users_touches_create`
|
|
130
|
-
- added `users_touches_discard`
|
|
131
|
-
- added `users_touches_list`
|
|
132
|
-
- added `users_touches_update`
|
|
133
|
-
- `users_users_ban`: new optional field `kind (output)`
|
|
134
|
-
- `users_users_ban`: new optional field `tags (output)`
|
|
135
|
-
- `users_users_ban`: new optional field `stage (output)`
|
|
136
|
-
- `users_users_ban`: new optional field `mergedFrom (output)`
|
|
137
|
-
- `users_users_ban`: new optional field `lastTouchAt (output)`
|
|
138
|
-
- `users_users_ban`: new optional field `mergedIntoUserId (output)`
|
|
139
|
-
- `users_users_ban`: new accepted value on `identifiers.type (output)`
|
|
140
|
-
- `users_users_create`: new optional field `kind`
|
|
141
|
-
- `users_users_create`: new optional field `tags`
|
|
142
|
-
- `users_users_create`: new optional field `stage`
|
|
143
|
-
- `users_users_create`: new accepted value on `identifiers.type`
|
|
144
|
-
- `users_users_create`: new optional field `kind (output)`
|
|
145
|
-
- `users_users_create`: new optional field `tags (output)`
|
|
146
|
-
- `users_users_create`: new optional field `stage (output)`
|
|
147
|
-
- `users_users_create`: new optional field `mergedFrom (output)`
|
|
148
|
-
- `users_users_create`: new optional field `lastTouchAt (output)`
|
|
149
|
-
- `users_users_create`: new optional field `mergedIntoUserId (output)`
|
|
150
|
-
- `users_users_create`: new accepted value on `identifiers.type (output)`
|
|
151
|
-
- `users_users_create`: description updated
|
|
152
|
-
- `users_users_delete`: new optional field `kind (output)`
|
|
153
|
-
- `users_users_delete`: new optional field `tags (output)`
|
|
154
|
-
- `users_users_delete`: new optional field `stage (output)`
|
|
155
|
-
- `users_users_delete`: new optional field `mergedFrom (output)`
|
|
156
|
-
- `users_users_delete`: new optional field `lastTouchAt (output)`
|
|
157
|
-
- `users_users_delete`: new optional field `mergedIntoUserId (output)`
|
|
158
|
-
- `users_users_delete`: new accepted value on `identifiers.type (output)`
|
|
159
|
-
- `users_users_export`: new optional field `kind`
|
|
160
|
-
- `users_users_export`: new optional field `includeContacts`
|
|
161
|
-
- `users_users_export`: new optional field `users.kind (output)`
|
|
162
|
-
- `users_users_export`: new optional field `users.tags (output)`
|
|
163
|
-
- `users_users_export`: new optional field `users.stage (output)`
|
|
164
|
-
- `users_users_export`: new optional field `users.mergedFrom (output)`
|
|
165
|
-
- `users_users_export`: new optional field `users.lastTouchAt (output)`
|
|
166
|
-
- `users_users_export`: new optional field `users.mergedIntoUserId (output)`
|
|
167
|
-
- `users_users_export`: new accepted value on `users.identifiers.type (output)`
|
|
168
|
-
- `users_users_export`: description updated
|
|
169
|
-
- `users_users_get`: new optional field `kind (output)`
|
|
170
|
-
- `users_users_get`: new optional field `tags (output)`
|
|
171
|
-
- `users_users_get`: new optional field `stage (output)`
|
|
172
|
-
- `users_users_get`: new optional field `mergedFrom (output)`
|
|
173
|
-
- `users_users_get`: new optional field `lastTouchAt (output)`
|
|
174
|
-
- `users_users_get`: new optional field `mergedIntoUserId (output)`
|
|
175
|
-
- `users_users_get`: new accepted value on `identifiers.type (output)`
|
|
176
|
-
- `users_users_get`: description updated
|
|
177
|
-
- `users_users_import`: new optional field `contacts (output)`
|
|
178
|
-
- `users_users_import`: description updated
|
|
179
|
-
- `users_users_list`: new optional field `tag`
|
|
180
|
-
- `users_users_list`: new optional field `kind`
|
|
181
|
-
- `users_users_list`: new optional field `stage`
|
|
182
|
-
- `users_users_list`: new optional field `lastTouchAfter`
|
|
183
|
-
- `users_users_list`: new optional field `includeContacts`
|
|
184
|
-
- `users_users_list`: new optional field `lastTouchBefore`
|
|
185
|
-
- `users_users_list`: new optional field `users.kind (output)`
|
|
186
|
-
- `users_users_list`: new optional field `users.tags (output)`
|
|
187
|
-
- `users_users_list`: new optional field `users.stage (output)`
|
|
188
|
-
- `users_users_list`: new optional field `users.mergedFrom (output)`
|
|
189
|
-
- `users_users_list`: new optional field `users.lastTouchAt (output)`
|
|
190
|
-
- `users_users_list`: new optional field `users.mergedIntoUserId (output)`
|
|
191
|
-
- `users_users_list`: new accepted value on `users.identifiers.type (output)`
|
|
192
|
-
- `users_users_list`: description updated
|
|
193
|
-
- `users_users_unban`: new optional field `kind (output)`
|
|
194
|
-
- `users_users_unban`: new optional field `tags (output)`
|
|
195
|
-
- `users_users_unban`: new optional field `stage (output)`
|
|
196
|
-
- `users_users_unban`: new optional field `mergedFrom (output)`
|
|
197
|
-
- `users_users_unban`: new optional field `lastTouchAt (output)`
|
|
198
|
-
- `users_users_unban`: new optional field `mergedIntoUserId (output)`
|
|
199
|
-
- `users_users_unban`: new accepted value on `identifiers.type (output)`
|
|
200
|
-
- `users_users_update`: new optional field `tags`
|
|
201
|
-
- `users_users_update`: new optional field `stage`
|
|
202
|
-
- `users_users_update`: new optional field `kind (output)`
|
|
203
|
-
- `users_users_update`: new optional field `tags (output)`
|
|
204
|
-
- `users_users_update`: new optional field `stage (output)`
|
|
205
|
-
- `users_users_update`: new optional field `mergedFrom (output)`
|
|
206
|
-
- `users_users_update`: new optional field `lastTouchAt (output)`
|
|
207
|
-
- `users_users_update`: new optional field `mergedIntoUserId (output)`
|
|
208
|
-
- `users_users_update`: new accepted value on `identifiers.type (output)`
|
|
209
|
-
- `users_users_update`: description updated
|
|
118
|
+
## 92.1.0 (minor)
|
|
119
|
+
|
|
120
|
+
### brain
|
|
121
|
+
- `brain_memory_add`: new optional field `error_code (output)`
|
|
122
|
+
- `brain_memory_add`: new optional field `extraction (output)`
|
|
123
|
+
- `brain_memory_add`: description updated
|
|
124
|
+
- `brain_memory_stats`: new optional field `extraction_gaps (output)`
|
|
125
|
+
- `brain_memory_stats`: description updated
|
|
210
126
|
|
|
@@ -72500,13 +72500,38 @@ export interface BrainMemoryAddInput {
|
|
|
72500
72500
|
}
|
|
72501
72501
|
export interface BrainMemoryAddOutput {
|
|
72502
72502
|
/**
|
|
72503
|
-
* True when the memory was stored
|
|
72503
|
+
* True when the memory was stored and its facts extracted (or there was nothing to extract). False when extraction failed — the raw memory is still stored under memory_id — or when the memory was not stored at all
|
|
72504
72504
|
*/
|
|
72505
72505
|
success: boolean;
|
|
72506
72506
|
/**
|
|
72507
72507
|
* Engine id of the memory just stored; keep it to read, replace or delete the memory later
|
|
72508
72508
|
*/
|
|
72509
72509
|
memory_id: string;
|
|
72510
|
+
/**
|
|
72511
|
+
* Present only when success is false. Tell stored from not stored by `extraction`, not by this code: with extraction.status 'failed' the raw memory IS stored and searchable under memory_id, only its facts are missing — do not re-add the same content, that stores a duplicate. With no `extraction` nothing was stored, and the add can be retried
|
|
72512
|
+
*/
|
|
72513
|
+
error_code?: string;
|
|
72514
|
+
/**
|
|
72515
|
+
* What fact extraction made of this memory
|
|
72516
|
+
*/
|
|
72517
|
+
extraction?: {
|
|
72518
|
+
/**
|
|
72519
|
+
* How many memories extraction stored from this write, across every derived layer (facts, identity, profile, summaries) — not a count of facts alone
|
|
72520
|
+
*/
|
|
72521
|
+
items: number;
|
|
72522
|
+
/**
|
|
72523
|
+
* ok = at least one memory was derived from it (a summary counts, so ok alone does not promise a fact); empty = nothing new came out of it — the content held nothing durable, or everything in it is already in memory; failed = extraction broke, the raw memory is stored without facts; skipped = the engine does not extract in this mode
|
|
72524
|
+
*/
|
|
72525
|
+
status: ("ok" | "empty" | "failed" | "skipped");
|
|
72526
|
+
/**
|
|
72527
|
+
* The engine's code when extraction failed — or, with status ok, when it ran degraded but still stored its facts
|
|
72528
|
+
*/
|
|
72529
|
+
error_code?: string;
|
|
72530
|
+
/**
|
|
72531
|
+
* The engine's own words for that failure or degradation — quote it when reporting a problem
|
|
72532
|
+
*/
|
|
72533
|
+
error_message?: string;
|
|
72534
|
+
};
|
|
72510
72535
|
/**
|
|
72511
72536
|
* Engine request id for this call — quote it when reporting a problem
|
|
72512
72537
|
*/
|
|
@@ -72850,6 +72875,23 @@ export interface BrainMemoryStatsOutput {
|
|
|
72850
72875
|
*/
|
|
72851
72876
|
entityCount: number;
|
|
72852
72877
|
};
|
|
72878
|
+
/**
|
|
72879
|
+
* Raw memories left without facts, for the caller's product and scope. Counts only, and a lower bound. Null when the engine could not compute it
|
|
72880
|
+
*/
|
|
72881
|
+
extraction_gaps: ({
|
|
72882
|
+
/**
|
|
72883
|
+
* Raw memories (l1_raw) the scope holds
|
|
72884
|
+
*/
|
|
72885
|
+
raw_total: number;
|
|
72886
|
+
/**
|
|
72887
|
+
* Raw memories no derived memory (fact, identity) points back to — their extraction produced nothing
|
|
72888
|
+
*/
|
|
72889
|
+
raw_without_derived: number;
|
|
72890
|
+
/**
|
|
72891
|
+
* Of those, raw memories still in shadow status
|
|
72892
|
+
*/
|
|
72893
|
+
shadow_without_derived: number;
|
|
72894
|
+
} | null);
|
|
72853
72895
|
}
|
|
72854
72896
|
export interface BrainMemoryUpdateInput {
|
|
72855
72897
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lepsto/sdk-app",
|
|
3
3
|
"description": "The Lepsto SDK for App is a TypeScript SDK that provides runtime bindings and type-safe generated code for interacting with Lepsto Platform APIs and services. This package generates type definitions and client bindings from API catalogs, enabling developers to build applications that consume Lepsto platform services with full type safety and autocompletion.",
|
|
4
|
-
"version": "92.
|
|
4
|
+
"version": "92.1.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
|
|
@@ -210,5 +210,5 @@
|
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
},
|
|
213
|
-
"sdkContentHash": "sha256:
|
|
213
|
+
"sdkContentHash": "sha256:17c8f0d45e09d36ed8f7b9128fbc0ac36516d3a7d77a0101f8c4dfb88623f813"
|
|
214
214
|
}
|
package/src/gen/types.gen.ts
CHANGED
|
@@ -67057,13 +67057,38 @@ source_authority?: ("policy" | "official" | "team" | "informal")
|
|
|
67057
67057
|
|
|
67058
67058
|
export interface BrainMemoryAddOutput {
|
|
67059
67059
|
/**
|
|
67060
|
-
* True when the memory was stored
|
|
67060
|
+
* True when the memory was stored and its facts extracted (or there was nothing to extract). False when extraction failed — the raw memory is still stored under memory_id — or when the memory was not stored at all
|
|
67061
67061
|
*/
|
|
67062
67062
|
success: boolean
|
|
67063
67063
|
/**
|
|
67064
67064
|
* Engine id of the memory just stored; keep it to read, replace or delete the memory later
|
|
67065
67065
|
*/
|
|
67066
67066
|
memory_id: string
|
|
67067
|
+
/**
|
|
67068
|
+
* Present only when success is false. Tell stored from not stored by `extraction`, not by this code: with extraction.status 'failed' the raw memory IS stored and searchable under memory_id, only its facts are missing — do not re-add the same content, that stores a duplicate. With no `extraction` nothing was stored, and the add can be retried
|
|
67069
|
+
*/
|
|
67070
|
+
error_code?: string
|
|
67071
|
+
/**
|
|
67072
|
+
* What fact extraction made of this memory
|
|
67073
|
+
*/
|
|
67074
|
+
extraction?: {
|
|
67075
|
+
/**
|
|
67076
|
+
* How many memories extraction stored from this write, across every derived layer (facts, identity, profile, summaries) — not a count of facts alone
|
|
67077
|
+
*/
|
|
67078
|
+
items: number
|
|
67079
|
+
/**
|
|
67080
|
+
* ok = at least one memory was derived from it (a summary counts, so ok alone does not promise a fact); empty = nothing new came out of it — the content held nothing durable, or everything in it is already in memory; failed = extraction broke, the raw memory is stored without facts; skipped = the engine does not extract in this mode
|
|
67081
|
+
*/
|
|
67082
|
+
status: ("ok" | "empty" | "failed" | "skipped")
|
|
67083
|
+
/**
|
|
67084
|
+
* The engine's code when extraction failed — or, with status ok, when it ran degraded but still stored its facts
|
|
67085
|
+
*/
|
|
67086
|
+
error_code?: string
|
|
67087
|
+
/**
|
|
67088
|
+
* The engine's own words for that failure or degradation — quote it when reporting a problem
|
|
67089
|
+
*/
|
|
67090
|
+
error_message?: string
|
|
67091
|
+
}
|
|
67067
67092
|
/**
|
|
67068
67093
|
* Engine request id for this call — quote it when reporting a problem
|
|
67069
67094
|
*/
|
|
@@ -67417,6 +67442,23 @@ knowledge: {
|
|
|
67417
67442
|
*/
|
|
67418
67443
|
entityCount: number
|
|
67419
67444
|
}
|
|
67445
|
+
/**
|
|
67446
|
+
* Raw memories left without facts, for the caller's product and scope. Counts only, and a lower bound. Null when the engine could not compute it
|
|
67447
|
+
*/
|
|
67448
|
+
extraction_gaps: ({
|
|
67449
|
+
/**
|
|
67450
|
+
* Raw memories (l1_raw) the scope holds
|
|
67451
|
+
*/
|
|
67452
|
+
raw_total: number
|
|
67453
|
+
/**
|
|
67454
|
+
* Raw memories no derived memory (fact, identity) points back to — their extraction produced nothing
|
|
67455
|
+
*/
|
|
67456
|
+
raw_without_derived: number
|
|
67457
|
+
/**
|
|
67458
|
+
* Of those, raw memories still in shadow status
|
|
67459
|
+
*/
|
|
67460
|
+
shadow_without_derived: number
|
|
67461
|
+
} | null)
|
|
67420
67462
|
}
|
|
67421
67463
|
|
|
67422
67464
|
export interface BrainMemoryUpdateInput {
|