@arbidocs/client 0.3.145 → 0.3.146
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.cts +168 -168
- package/dist/index.d.ts +168 -168
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1945,7 +1945,7 @@ interface paths {
|
|
|
1945
1945
|
patch: operations['update_tag'];
|
|
1946
1946
|
trace?: never;
|
|
1947
1947
|
};
|
|
1948
|
-
'/v1/
|
|
1948
|
+
'/v1/facts/': {
|
|
1949
1949
|
parameters: {
|
|
1950
1950
|
query?: never;
|
|
1951
1951
|
header?: never;
|
|
@@ -1955,17 +1955,17 @@ interface paths {
|
|
|
1955
1955
|
get?: never;
|
|
1956
1956
|
put?: never;
|
|
1957
1957
|
/**
|
|
1958
|
-
* Create
|
|
1958
|
+
* Create Fact Endpoint
|
|
1959
1959
|
* @description Create a note in the active workspace.
|
|
1960
1960
|
*/
|
|
1961
|
-
post: operations['
|
|
1961
|
+
post: operations['create_fact'];
|
|
1962
1962
|
delete?: never;
|
|
1963
1963
|
options?: never;
|
|
1964
1964
|
head?: never;
|
|
1965
1965
|
patch?: never;
|
|
1966
1966
|
trace?: never;
|
|
1967
1967
|
};
|
|
1968
|
-
'/v1/
|
|
1968
|
+
'/v1/facts/list': {
|
|
1969
1969
|
parameters: {
|
|
1970
1970
|
query?: never;
|
|
1971
1971
|
header?: never;
|
|
@@ -1973,15 +1973,15 @@ interface paths {
|
|
|
1973
1973
|
cookie?: never;
|
|
1974
1974
|
};
|
|
1975
1975
|
/**
|
|
1976
|
-
* List
|
|
1977
|
-
* @description List
|
|
1976
|
+
* List Facts Endpoint
|
|
1977
|
+
* @description List facts visible in the active workspace.
|
|
1978
1978
|
*
|
|
1979
1979
|
* Newest first by default. Passing a date range (or ``dated_only``) turns this
|
|
1980
|
-
* into the timeline: only dated
|
|
1980
|
+
* into the timeline: only dated facts, ordered by when they happened. Each
|
|
1981
1981
|
* bound is read at its own precision and widened outward, so ``date_to=2019``
|
|
1982
1982
|
* runs through 31 December rather than stopping on 1 January.
|
|
1983
1983
|
*/
|
|
1984
|
-
get: operations['
|
|
1984
|
+
get: operations['list_facts'];
|
|
1985
1985
|
put?: never;
|
|
1986
1986
|
post?: never;
|
|
1987
1987
|
delete?: never;
|
|
@@ -1990,7 +1990,7 @@ interface paths {
|
|
|
1990
1990
|
patch?: never;
|
|
1991
1991
|
trace?: never;
|
|
1992
1992
|
};
|
|
1993
|
-
'/v1/
|
|
1993
|
+
'/v1/facts/search': {
|
|
1994
1994
|
parameters: {
|
|
1995
1995
|
query?: never;
|
|
1996
1996
|
header?: never;
|
|
@@ -2000,17 +2000,17 @@ interface paths {
|
|
|
2000
2000
|
get?: never;
|
|
2001
2001
|
put?: never;
|
|
2002
2002
|
/**
|
|
2003
|
-
* Search
|
|
2004
|
-
* @description Hybrid recall over the workspace's
|
|
2003
|
+
* Search Facts Endpoint
|
|
2004
|
+
* @description Hybrid recall over the workspace's facts.
|
|
2005
2005
|
*/
|
|
2006
|
-
post: operations['
|
|
2006
|
+
post: operations['search_facts'];
|
|
2007
2007
|
delete?: never;
|
|
2008
2008
|
options?: never;
|
|
2009
2009
|
head?: never;
|
|
2010
2010
|
patch?: never;
|
|
2011
2011
|
trace?: never;
|
|
2012
2012
|
};
|
|
2013
|
-
'/v1/
|
|
2013
|
+
'/v1/facts/{fact_ext_id}': {
|
|
2014
2014
|
parameters: {
|
|
2015
2015
|
query?: never;
|
|
2016
2016
|
header?: never;
|
|
@@ -2021,20 +2021,20 @@ interface paths {
|
|
|
2021
2021
|
put?: never;
|
|
2022
2022
|
post?: never;
|
|
2023
2023
|
/**
|
|
2024
|
-
* Delete
|
|
2024
|
+
* Delete Fact Endpoint
|
|
2025
2025
|
* @description Soft-delete a note. RLS governs permission; a blocked delete returns 403.
|
|
2026
2026
|
*/
|
|
2027
|
-
delete: operations['
|
|
2027
|
+
delete: operations['delete_fact'];
|
|
2028
2028
|
options?: never;
|
|
2029
2029
|
head?: never;
|
|
2030
2030
|
/**
|
|
2031
|
-
* Update
|
|
2031
|
+
* Update Fact Endpoint
|
|
2032
2032
|
* @description Patch a note. A content edit replaces it (append + soft-delete); pin/share toggle in place.
|
|
2033
2033
|
*/
|
|
2034
|
-
patch: operations['
|
|
2034
|
+
patch: operations['update_fact'];
|
|
2035
2035
|
trace?: never;
|
|
2036
2036
|
};
|
|
2037
|
-
'/v1/
|
|
2037
|
+
'/v1/facts/{fact_ext_id}/remind': {
|
|
2038
2038
|
parameters: {
|
|
2039
2039
|
query?: never;
|
|
2040
2040
|
header?: never;
|
|
@@ -2044,20 +2044,20 @@ interface paths {
|
|
|
2044
2044
|
get?: never;
|
|
2045
2045
|
put?: never;
|
|
2046
2046
|
/**
|
|
2047
|
-
* Remind
|
|
2047
|
+
* Remind Fact Endpoint
|
|
2048
2048
|
* @description Set a one-off reminder for a dated note, and link it to the note.
|
|
2049
2049
|
*
|
|
2050
2050
|
* Give an explicit ``remind_at`` or a ``lead_minutes`` offset before the note's
|
|
2051
|
-
* date; with neither it fires when the
|
|
2051
|
+
* date; with neither it fires when the fact's span starts. Only dated facts can
|
|
2052
2052
|
* be reminded about — there is nothing to fire relative to otherwise.
|
|
2053
2053
|
*
|
|
2054
2054
|
* The reminder is deliberately CONTENT-FREE: it names the note by external id
|
|
2055
|
-
* and nothing else. ``tasks.name`` is plaintext while ``
|
|
2055
|
+
* and nothing else. ``tasks.name`` is plaintext while ``facts.content`` is
|
|
2056
2056
|
* encrypted under the workspace key, so copying the text into the reminder
|
|
2057
2057
|
* would leak the very thing the note protects. The client resolves the text
|
|
2058
2058
|
* from the note when it displays the notification.
|
|
2059
2059
|
*/
|
|
2060
|
-
post: operations['
|
|
2060
|
+
post: operations['remind_fact'];
|
|
2061
2061
|
delete?: never;
|
|
2062
2062
|
options?: never;
|
|
2063
2063
|
head?: never;
|
|
@@ -3543,14 +3543,14 @@ interface components {
|
|
|
3543
3543
|
*/
|
|
3544
3544
|
PERSONAL_AGENT: boolean;
|
|
3545
3545
|
/**
|
|
3546
|
-
*
|
|
3547
|
-
* @description Workspace
|
|
3546
|
+
* Facts Enabled
|
|
3547
|
+
* @description Workspace facts are readable AND writable by the agent: pinned core facts are injected into the prompt, and the agent gets the search_facts (recall) and create_fact (write) tools.
|
|
3548
3548
|
* @default false
|
|
3549
3549
|
*/
|
|
3550
|
-
|
|
3550
|
+
FACTS_ENABLED: boolean;
|
|
3551
3551
|
/**
|
|
3552
3552
|
* Persist Learnings
|
|
3553
|
-
* @description After each turn, the curator consolidates this turn's learnings into durable memories (dedupe + supersede). Independent of
|
|
3553
|
+
* @description After each turn, the curator consolidates this turn's learnings into durable memories (dedupe + supersede). Independent of FACTS_ENABLED.
|
|
3554
3554
|
* @default false
|
|
3555
3555
|
*/
|
|
3556
3556
|
PERSIST_LEARNINGS: boolean;
|
|
@@ -3786,14 +3786,14 @@ interface components {
|
|
|
3786
3786
|
*/
|
|
3787
3787
|
CONVERSATION_SEARCH_ENABLED: boolean;
|
|
3788
3788
|
/**
|
|
3789
|
-
*
|
|
3790
|
-
* @description Workspace
|
|
3789
|
+
* Facts Enabled
|
|
3790
|
+
* @description Workspace facts are readable AND writable by the agent: pinned core facts are injected into the prompt, and the agent gets the search_facts (recall) and create_fact (write) tools.
|
|
3791
3791
|
* @default false
|
|
3792
3792
|
*/
|
|
3793
|
-
|
|
3793
|
+
FACTS_ENABLED: boolean;
|
|
3794
3794
|
/**
|
|
3795
3795
|
* Persist Learnings
|
|
3796
|
-
* @description After each turn, the curator consolidates this turn's learnings into durable memories (dedupe + supersede). Independent of
|
|
3796
|
+
* @description After each turn, the curator consolidates this turn's learnings into durable memories (dedupe + supersede). Independent of FACTS_ENABLED.
|
|
3797
3797
|
* @default false
|
|
3798
3798
|
*/
|
|
3799
3799
|
PERSIST_LEARNINGS: boolean;
|
|
@@ -3875,7 +3875,7 @@ interface components {
|
|
|
3875
3875
|
* "VISION_ENABLED": false,
|
|
3876
3876
|
* "CONVERSATION_SEARCH_ENABLED": false,
|
|
3877
3877
|
* "PERSONAL_AGENT": false,
|
|
3878
|
-
* "
|
|
3878
|
+
* "FACTS_ENABLED": false,
|
|
3879
3879
|
* "PERSIST_LEARNINGS": false,
|
|
3880
3880
|
* "SKILLS_ENABLED": false,
|
|
3881
3881
|
* "SKILL_CREATION": false,
|
|
@@ -4013,7 +4013,7 @@ interface components {
|
|
|
4013
4013
|
* }
|
|
4014
4014
|
* },
|
|
4015
4015
|
* {
|
|
4016
|
-
* "instruction": "What is the main subject or purpose of this document?
|
|
4016
|
+
* "instruction": "What is the main subject or purpose of this document? Open with one concise phrase naming what it is and what it is about, in the form 'Email chain re the site access dispute between Acme and Byrne'. Then add one or two sentences of detail.",
|
|
4017
4017
|
* "name": "doc_subject",
|
|
4018
4018
|
* "tag_type": {
|
|
4019
4019
|
* "options": [],
|
|
@@ -5506,10 +5506,10 @@ interface components {
|
|
|
5506
5506
|
citations?: components['schemas']['CitationSources'] | null;
|
|
5507
5507
|
};
|
|
5508
5508
|
/**
|
|
5509
|
-
*
|
|
5510
|
-
* @description Create a
|
|
5509
|
+
* CreateFactRequest
|
|
5510
|
+
* @description Create a fact in the active workspace.
|
|
5511
5511
|
*/
|
|
5512
|
-
|
|
5512
|
+
CreateFactRequest: {
|
|
5513
5513
|
/** Text */
|
|
5514
5514
|
text: string;
|
|
5515
5515
|
/**
|
|
@@ -6367,6 +6367,113 @@ interface components {
|
|
|
6367
6367
|
*/
|
|
6368
6368
|
EVAL_BATCH_TIMEOUT_S: number;
|
|
6369
6369
|
};
|
|
6370
|
+
/** FactDeleteResponse */
|
|
6371
|
+
FactDeleteResponse: {
|
|
6372
|
+
/**
|
|
6373
|
+
* Detail
|
|
6374
|
+
* @default Note deleted successfully
|
|
6375
|
+
*/
|
|
6376
|
+
detail: string;
|
|
6377
|
+
};
|
|
6378
|
+
/** FactResponse */
|
|
6379
|
+
FactResponse: {
|
|
6380
|
+
/** Text */
|
|
6381
|
+
text: string;
|
|
6382
|
+
citations?: components['schemas']['CitationSources'] | null;
|
|
6383
|
+
/** External Id */
|
|
6384
|
+
external_id: string;
|
|
6385
|
+
/** Workspace Ext Id */
|
|
6386
|
+
workspace_ext_id: string;
|
|
6387
|
+
/** Pinned */
|
|
6388
|
+
pinned: boolean;
|
|
6389
|
+
/** Shared */
|
|
6390
|
+
shared: boolean;
|
|
6391
|
+
/** Confirmed */
|
|
6392
|
+
confirmed: boolean;
|
|
6393
|
+
/** Date Start */
|
|
6394
|
+
date_start?: string | null;
|
|
6395
|
+
/** Date End */
|
|
6396
|
+
date_end?: string | null;
|
|
6397
|
+
/** Timezone */
|
|
6398
|
+
timezone?: string | null;
|
|
6399
|
+
/**
|
|
6400
|
+
* Reminder Task Ext Ids
|
|
6401
|
+
* @default []
|
|
6402
|
+
*/
|
|
6403
|
+
reminder_task_ext_ids: string[];
|
|
6404
|
+
/**
|
|
6405
|
+
* Tags
|
|
6406
|
+
* @default []
|
|
6407
|
+
*/
|
|
6408
|
+
tags: components['schemas']['FactTagResponse'][];
|
|
6409
|
+
/** Created By Ext Id */
|
|
6410
|
+
created_by_ext_id: string;
|
|
6411
|
+
/**
|
|
6412
|
+
* Created At
|
|
6413
|
+
* Format: date-time
|
|
6414
|
+
*/
|
|
6415
|
+
created_at: string;
|
|
6416
|
+
/**
|
|
6417
|
+
* Updated At
|
|
6418
|
+
* Format: date-time
|
|
6419
|
+
*/
|
|
6420
|
+
updated_at: string;
|
|
6421
|
+
};
|
|
6422
|
+
/** FactSearchHit */
|
|
6423
|
+
FactSearchHit: {
|
|
6424
|
+
/** External Id */
|
|
6425
|
+
external_id: string;
|
|
6426
|
+
/** Text */
|
|
6427
|
+
text: string;
|
|
6428
|
+
/** Pinned */
|
|
6429
|
+
pinned: boolean;
|
|
6430
|
+
/** Confirmed */
|
|
6431
|
+
confirmed: boolean;
|
|
6432
|
+
/** Score */
|
|
6433
|
+
score: number;
|
|
6434
|
+
};
|
|
6435
|
+
/**
|
|
6436
|
+
* FactSearchRequest
|
|
6437
|
+
* @description Hybrid recall over the workspace's facts.
|
|
6438
|
+
*/
|
|
6439
|
+
FactSearchRequest: {
|
|
6440
|
+
/**
|
|
6441
|
+
* Query
|
|
6442
|
+
* @description Search query text
|
|
6443
|
+
*/
|
|
6444
|
+
query: string;
|
|
6445
|
+
/**
|
|
6446
|
+
* Search Mode
|
|
6447
|
+
* @description Retrieval mode
|
|
6448
|
+
* @default hybrid
|
|
6449
|
+
* @enum {string}
|
|
6450
|
+
*/
|
|
6451
|
+
search_mode: 'semantic' | 'keyword' | 'hybrid';
|
|
6452
|
+
/**
|
|
6453
|
+
* Limit
|
|
6454
|
+
* @description Maximum number of notes to return
|
|
6455
|
+
* @default 10
|
|
6456
|
+
*/
|
|
6457
|
+
limit: number;
|
|
6458
|
+
};
|
|
6459
|
+
/** FactSearchResponse */
|
|
6460
|
+
FactSearchResponse: {
|
|
6461
|
+
/**
|
|
6462
|
+
* Facts
|
|
6463
|
+
* @default []
|
|
6464
|
+
*/
|
|
6465
|
+
facts: components['schemas']['FactSearchHit'][];
|
|
6466
|
+
};
|
|
6467
|
+
/**
|
|
6468
|
+
* FactTagResponse
|
|
6469
|
+
* @description A tag attached to a note — the tag's identity, decrypted name included.
|
|
6470
|
+
*/
|
|
6471
|
+
FactTagResponse: {
|
|
6472
|
+
/** Tag Ext Id */
|
|
6473
|
+
tag_ext_id: string;
|
|
6474
|
+
/** Name */
|
|
6475
|
+
name: string;
|
|
6476
|
+
};
|
|
6370
6477
|
/**
|
|
6371
6478
|
* FileDeleteResponse
|
|
6372
6479
|
* @description OpenAI-compatible file deletion response.
|
|
@@ -7006,7 +7113,7 @@ interface components {
|
|
|
7006
7113
|
* MemoryLLMConfig
|
|
7007
7114
|
* @description Configuration for MemoryLLM — the post-turn curator.
|
|
7008
7115
|
*
|
|
7009
|
-
* Judges which of a turn's learnings are worth keeping as durable
|
|
7116
|
+
* Judges which of a turn's learnings are worth keeping as durable Facts and
|
|
7010
7117
|
* reconciles them against existing ones (dedupe + supersede). It never
|
|
7011
7118
|
* re-authors text: each kept learning is stored verbatim.
|
|
7012
7119
|
*
|
|
@@ -7507,113 +7614,6 @@ interface components {
|
|
|
7507
7614
|
DoctagLLM: components['schemas']['DoctagLLMUserConfig'];
|
|
7508
7615
|
Parser: components['schemas']['ParserUserConfig'];
|
|
7509
7616
|
};
|
|
7510
|
-
/** NoteDeleteResponse */
|
|
7511
|
-
NoteDeleteResponse: {
|
|
7512
|
-
/**
|
|
7513
|
-
* Detail
|
|
7514
|
-
* @default Note deleted successfully
|
|
7515
|
-
*/
|
|
7516
|
-
detail: string;
|
|
7517
|
-
};
|
|
7518
|
-
/** NoteResponse */
|
|
7519
|
-
NoteResponse: {
|
|
7520
|
-
/** Text */
|
|
7521
|
-
text: string;
|
|
7522
|
-
citations?: components['schemas']['CitationSources'] | null;
|
|
7523
|
-
/** External Id */
|
|
7524
|
-
external_id: string;
|
|
7525
|
-
/** Workspace Ext Id */
|
|
7526
|
-
workspace_ext_id: string;
|
|
7527
|
-
/** Pinned */
|
|
7528
|
-
pinned: boolean;
|
|
7529
|
-
/** Shared */
|
|
7530
|
-
shared: boolean;
|
|
7531
|
-
/** Confirmed */
|
|
7532
|
-
confirmed: boolean;
|
|
7533
|
-
/** Date Start */
|
|
7534
|
-
date_start?: string | null;
|
|
7535
|
-
/** Date End */
|
|
7536
|
-
date_end?: string | null;
|
|
7537
|
-
/** Timezone */
|
|
7538
|
-
timezone?: string | null;
|
|
7539
|
-
/**
|
|
7540
|
-
* Reminder Task Ext Ids
|
|
7541
|
-
* @default []
|
|
7542
|
-
*/
|
|
7543
|
-
reminder_task_ext_ids: string[];
|
|
7544
|
-
/**
|
|
7545
|
-
* Tags
|
|
7546
|
-
* @default []
|
|
7547
|
-
*/
|
|
7548
|
-
tags: components['schemas']['NoteTagResponse'][];
|
|
7549
|
-
/** Created By Ext Id */
|
|
7550
|
-
created_by_ext_id: string;
|
|
7551
|
-
/**
|
|
7552
|
-
* Created At
|
|
7553
|
-
* Format: date-time
|
|
7554
|
-
*/
|
|
7555
|
-
created_at: string;
|
|
7556
|
-
/**
|
|
7557
|
-
* Updated At
|
|
7558
|
-
* Format: date-time
|
|
7559
|
-
*/
|
|
7560
|
-
updated_at: string;
|
|
7561
|
-
};
|
|
7562
|
-
/** NoteSearchHit */
|
|
7563
|
-
NoteSearchHit: {
|
|
7564
|
-
/** External Id */
|
|
7565
|
-
external_id: string;
|
|
7566
|
-
/** Text */
|
|
7567
|
-
text: string;
|
|
7568
|
-
/** Pinned */
|
|
7569
|
-
pinned: boolean;
|
|
7570
|
-
/** Confirmed */
|
|
7571
|
-
confirmed: boolean;
|
|
7572
|
-
/** Score */
|
|
7573
|
-
score: number;
|
|
7574
|
-
};
|
|
7575
|
-
/**
|
|
7576
|
-
* NoteSearchRequest
|
|
7577
|
-
* @description Hybrid recall over the workspace's notes.
|
|
7578
|
-
*/
|
|
7579
|
-
NoteSearchRequest: {
|
|
7580
|
-
/**
|
|
7581
|
-
* Query
|
|
7582
|
-
* @description Search query text
|
|
7583
|
-
*/
|
|
7584
|
-
query: string;
|
|
7585
|
-
/**
|
|
7586
|
-
* Search Mode
|
|
7587
|
-
* @description Retrieval mode
|
|
7588
|
-
* @default hybrid
|
|
7589
|
-
* @enum {string}
|
|
7590
|
-
*/
|
|
7591
|
-
search_mode: 'semantic' | 'keyword' | 'hybrid';
|
|
7592
|
-
/**
|
|
7593
|
-
* Limit
|
|
7594
|
-
* @description Maximum number of notes to return
|
|
7595
|
-
* @default 10
|
|
7596
|
-
*/
|
|
7597
|
-
limit: number;
|
|
7598
|
-
};
|
|
7599
|
-
/** NoteSearchResponse */
|
|
7600
|
-
NoteSearchResponse: {
|
|
7601
|
-
/**
|
|
7602
|
-
* Notes
|
|
7603
|
-
* @default []
|
|
7604
|
-
*/
|
|
7605
|
-
notes: components['schemas']['NoteSearchHit'][];
|
|
7606
|
-
};
|
|
7607
|
-
/**
|
|
7608
|
-
* NoteTagResponse
|
|
7609
|
-
* @description A tag attached to a note — the tag's identity, decrypted name included.
|
|
7610
|
-
*/
|
|
7611
|
-
NoteTagResponse: {
|
|
7612
|
-
/** Tag Ext Id */
|
|
7613
|
-
tag_ext_id: string;
|
|
7614
|
-
/** Name */
|
|
7615
|
-
name: string;
|
|
7616
|
-
};
|
|
7617
7617
|
/**
|
|
7618
7618
|
* NotificationResponse
|
|
7619
7619
|
* @description Notification response model for API and WebSocket.
|
|
@@ -8460,7 +8460,7 @@ interface components {
|
|
|
8460
8460
|
picture?: string | null;
|
|
8461
8461
|
};
|
|
8462
8462
|
/**
|
|
8463
|
-
*
|
|
8463
|
+
* RemindFactRequest
|
|
8464
8464
|
* @description Set a one-off reminder for a dated note.
|
|
8465
8465
|
*
|
|
8466
8466
|
* Give either an explicit ``remind_at`` or a ``lead_minutes`` offset before
|
|
@@ -8470,7 +8470,7 @@ interface components {
|
|
|
8470
8470
|
* synthesises an inline ``Body_*`` schema for those, which is not strict, and
|
|
8471
8471
|
* the client generator rejects request bodies that accept unknown fields.
|
|
8472
8472
|
*/
|
|
8473
|
-
|
|
8473
|
+
RemindFactRequest: {
|
|
8474
8474
|
/** Remind At */
|
|
8475
8475
|
remind_at?: string | null;
|
|
8476
8476
|
/** Lead Minutes */
|
|
@@ -10574,12 +10574,12 @@ interface components {
|
|
|
10574
10574
|
documents: components['schemas']['DocUpdateRequest'][];
|
|
10575
10575
|
};
|
|
10576
10576
|
/**
|
|
10577
|
-
*
|
|
10578
|
-
* @description Patch a
|
|
10577
|
+
* UpdateFactRequest
|
|
10578
|
+
* @description Patch a fact. An edit to ``text`` soft-deletes the old row and
|
|
10579
10579
|
* inserts a replacement (append + soft-delete lifecycle); ``pinned``/``shared``/
|
|
10580
10580
|
* ``tag_ext_ids`` update in place.
|
|
10581
10581
|
*/
|
|
10582
|
-
|
|
10582
|
+
UpdateFactRequest: {
|
|
10583
10583
|
/** Text */
|
|
10584
10584
|
text?: string | null;
|
|
10585
10585
|
/** Pinned */
|
|
@@ -14316,7 +14316,7 @@ interface operations {
|
|
|
14316
14316
|
};
|
|
14317
14317
|
};
|
|
14318
14318
|
};
|
|
14319
|
-
|
|
14319
|
+
create_fact: {
|
|
14320
14320
|
parameters: {
|
|
14321
14321
|
query?: never;
|
|
14322
14322
|
header?: never;
|
|
@@ -14325,7 +14325,7 @@ interface operations {
|
|
|
14325
14325
|
};
|
|
14326
14326
|
requestBody: {
|
|
14327
14327
|
content: {
|
|
14328
|
-
'application/json': components['schemas']['
|
|
14328
|
+
'application/json': components['schemas']['CreateFactRequest'];
|
|
14329
14329
|
};
|
|
14330
14330
|
};
|
|
14331
14331
|
responses: {
|
|
@@ -14335,7 +14335,7 @@ interface operations {
|
|
|
14335
14335
|
[name: string]: unknown;
|
|
14336
14336
|
};
|
|
14337
14337
|
content: {
|
|
14338
|
-
'application/json': components['schemas']['
|
|
14338
|
+
'application/json': components['schemas']['FactResponse'];
|
|
14339
14339
|
};
|
|
14340
14340
|
};
|
|
14341
14341
|
/** @description Validation Error */
|
|
@@ -14349,7 +14349,7 @@ interface operations {
|
|
|
14349
14349
|
};
|
|
14350
14350
|
};
|
|
14351
14351
|
};
|
|
14352
|
-
|
|
14352
|
+
list_facts: {
|
|
14353
14353
|
parameters: {
|
|
14354
14354
|
query?: {
|
|
14355
14355
|
pinned_only?: boolean;
|
|
@@ -14357,7 +14357,7 @@ interface operations {
|
|
|
14357
14357
|
date_from?: string | null;
|
|
14358
14358
|
/** @description Range end, any precision */
|
|
14359
14359
|
date_to?: string | null;
|
|
14360
|
-
/** @description Only
|
|
14360
|
+
/** @description Only facts that carry a date — the timeline view */
|
|
14361
14361
|
dated_only?: boolean;
|
|
14362
14362
|
};
|
|
14363
14363
|
header?: never;
|
|
@@ -14372,7 +14372,7 @@ interface operations {
|
|
|
14372
14372
|
[name: string]: unknown;
|
|
14373
14373
|
};
|
|
14374
14374
|
content: {
|
|
14375
|
-
'application/json': components['schemas']['
|
|
14375
|
+
'application/json': components['schemas']['FactResponse'][];
|
|
14376
14376
|
};
|
|
14377
14377
|
};
|
|
14378
14378
|
/** @description Validation Error */
|
|
@@ -14386,7 +14386,7 @@ interface operations {
|
|
|
14386
14386
|
};
|
|
14387
14387
|
};
|
|
14388
14388
|
};
|
|
14389
|
-
|
|
14389
|
+
search_facts: {
|
|
14390
14390
|
parameters: {
|
|
14391
14391
|
query?: never;
|
|
14392
14392
|
header?: never;
|
|
@@ -14395,7 +14395,7 @@ interface operations {
|
|
|
14395
14395
|
};
|
|
14396
14396
|
requestBody: {
|
|
14397
14397
|
content: {
|
|
14398
|
-
'application/json': components['schemas']['
|
|
14398
|
+
'application/json': components['schemas']['FactSearchRequest'];
|
|
14399
14399
|
};
|
|
14400
14400
|
};
|
|
14401
14401
|
responses: {
|
|
@@ -14405,7 +14405,7 @@ interface operations {
|
|
|
14405
14405
|
[name: string]: unknown;
|
|
14406
14406
|
};
|
|
14407
14407
|
content: {
|
|
14408
|
-
'application/json': components['schemas']['
|
|
14408
|
+
'application/json': components['schemas']['FactSearchResponse'];
|
|
14409
14409
|
};
|
|
14410
14410
|
};
|
|
14411
14411
|
/** @description Validation Error */
|
|
@@ -14419,12 +14419,12 @@ interface operations {
|
|
|
14419
14419
|
};
|
|
14420
14420
|
};
|
|
14421
14421
|
};
|
|
14422
|
-
|
|
14422
|
+
delete_fact: {
|
|
14423
14423
|
parameters: {
|
|
14424
14424
|
query?: never;
|
|
14425
14425
|
header?: never;
|
|
14426
14426
|
path: {
|
|
14427
|
-
|
|
14427
|
+
fact_ext_id: string;
|
|
14428
14428
|
};
|
|
14429
14429
|
cookie?: never;
|
|
14430
14430
|
};
|
|
@@ -14436,7 +14436,7 @@ interface operations {
|
|
|
14436
14436
|
[name: string]: unknown;
|
|
14437
14437
|
};
|
|
14438
14438
|
content: {
|
|
14439
|
-
'application/json': components['schemas']['
|
|
14439
|
+
'application/json': components['schemas']['FactDeleteResponse'];
|
|
14440
14440
|
};
|
|
14441
14441
|
};
|
|
14442
14442
|
/** @description Validation Error */
|
|
@@ -14450,18 +14450,18 @@ interface operations {
|
|
|
14450
14450
|
};
|
|
14451
14451
|
};
|
|
14452
14452
|
};
|
|
14453
|
-
|
|
14453
|
+
update_fact: {
|
|
14454
14454
|
parameters: {
|
|
14455
14455
|
query?: never;
|
|
14456
14456
|
header?: never;
|
|
14457
14457
|
path: {
|
|
14458
|
-
|
|
14458
|
+
fact_ext_id: string;
|
|
14459
14459
|
};
|
|
14460
14460
|
cookie?: never;
|
|
14461
14461
|
};
|
|
14462
14462
|
requestBody: {
|
|
14463
14463
|
content: {
|
|
14464
|
-
'application/json': components['schemas']['
|
|
14464
|
+
'application/json': components['schemas']['UpdateFactRequest'];
|
|
14465
14465
|
};
|
|
14466
14466
|
};
|
|
14467
14467
|
responses: {
|
|
@@ -14471,7 +14471,7 @@ interface operations {
|
|
|
14471
14471
|
[name: string]: unknown;
|
|
14472
14472
|
};
|
|
14473
14473
|
content: {
|
|
14474
|
-
'application/json': components['schemas']['
|
|
14474
|
+
'application/json': components['schemas']['FactResponse'];
|
|
14475
14475
|
};
|
|
14476
14476
|
};
|
|
14477
14477
|
/** @description Validation Error */
|
|
@@ -14485,18 +14485,18 @@ interface operations {
|
|
|
14485
14485
|
};
|
|
14486
14486
|
};
|
|
14487
14487
|
};
|
|
14488
|
-
|
|
14488
|
+
remind_fact: {
|
|
14489
14489
|
parameters: {
|
|
14490
14490
|
query?: never;
|
|
14491
14491
|
header?: never;
|
|
14492
14492
|
path: {
|
|
14493
|
-
|
|
14493
|
+
fact_ext_id: string;
|
|
14494
14494
|
};
|
|
14495
14495
|
cookie?: never;
|
|
14496
14496
|
};
|
|
14497
14497
|
requestBody?: {
|
|
14498
14498
|
content: {
|
|
14499
|
-
'application/json': components['schemas']['
|
|
14499
|
+
'application/json': components['schemas']['RemindFactRequest'];
|
|
14500
14500
|
};
|
|
14501
14501
|
};
|
|
14502
14502
|
responses: {
|
|
@@ -14506,7 +14506,7 @@ interface operations {
|
|
|
14506
14506
|
[name: string]: unknown;
|
|
14507
14507
|
};
|
|
14508
14508
|
content: {
|
|
14509
|
-
'application/json': components['schemas']['
|
|
14509
|
+
'application/json': components['schemas']['FactResponse'];
|
|
14510
14510
|
};
|
|
14511
14511
|
};
|
|
14512
14512
|
/** @description Validation Error */
|
package/dist/index.d.ts
CHANGED
|
@@ -1945,7 +1945,7 @@ interface paths {
|
|
|
1945
1945
|
patch: operations['update_tag'];
|
|
1946
1946
|
trace?: never;
|
|
1947
1947
|
};
|
|
1948
|
-
'/v1/
|
|
1948
|
+
'/v1/facts/': {
|
|
1949
1949
|
parameters: {
|
|
1950
1950
|
query?: never;
|
|
1951
1951
|
header?: never;
|
|
@@ -1955,17 +1955,17 @@ interface paths {
|
|
|
1955
1955
|
get?: never;
|
|
1956
1956
|
put?: never;
|
|
1957
1957
|
/**
|
|
1958
|
-
* Create
|
|
1958
|
+
* Create Fact Endpoint
|
|
1959
1959
|
* @description Create a note in the active workspace.
|
|
1960
1960
|
*/
|
|
1961
|
-
post: operations['
|
|
1961
|
+
post: operations['create_fact'];
|
|
1962
1962
|
delete?: never;
|
|
1963
1963
|
options?: never;
|
|
1964
1964
|
head?: never;
|
|
1965
1965
|
patch?: never;
|
|
1966
1966
|
trace?: never;
|
|
1967
1967
|
};
|
|
1968
|
-
'/v1/
|
|
1968
|
+
'/v1/facts/list': {
|
|
1969
1969
|
parameters: {
|
|
1970
1970
|
query?: never;
|
|
1971
1971
|
header?: never;
|
|
@@ -1973,15 +1973,15 @@ interface paths {
|
|
|
1973
1973
|
cookie?: never;
|
|
1974
1974
|
};
|
|
1975
1975
|
/**
|
|
1976
|
-
* List
|
|
1977
|
-
* @description List
|
|
1976
|
+
* List Facts Endpoint
|
|
1977
|
+
* @description List facts visible in the active workspace.
|
|
1978
1978
|
*
|
|
1979
1979
|
* Newest first by default. Passing a date range (or ``dated_only``) turns this
|
|
1980
|
-
* into the timeline: only dated
|
|
1980
|
+
* into the timeline: only dated facts, ordered by when they happened. Each
|
|
1981
1981
|
* bound is read at its own precision and widened outward, so ``date_to=2019``
|
|
1982
1982
|
* runs through 31 December rather than stopping on 1 January.
|
|
1983
1983
|
*/
|
|
1984
|
-
get: operations['
|
|
1984
|
+
get: operations['list_facts'];
|
|
1985
1985
|
put?: never;
|
|
1986
1986
|
post?: never;
|
|
1987
1987
|
delete?: never;
|
|
@@ -1990,7 +1990,7 @@ interface paths {
|
|
|
1990
1990
|
patch?: never;
|
|
1991
1991
|
trace?: never;
|
|
1992
1992
|
};
|
|
1993
|
-
'/v1/
|
|
1993
|
+
'/v1/facts/search': {
|
|
1994
1994
|
parameters: {
|
|
1995
1995
|
query?: never;
|
|
1996
1996
|
header?: never;
|
|
@@ -2000,17 +2000,17 @@ interface paths {
|
|
|
2000
2000
|
get?: never;
|
|
2001
2001
|
put?: never;
|
|
2002
2002
|
/**
|
|
2003
|
-
* Search
|
|
2004
|
-
* @description Hybrid recall over the workspace's
|
|
2003
|
+
* Search Facts Endpoint
|
|
2004
|
+
* @description Hybrid recall over the workspace's facts.
|
|
2005
2005
|
*/
|
|
2006
|
-
post: operations['
|
|
2006
|
+
post: operations['search_facts'];
|
|
2007
2007
|
delete?: never;
|
|
2008
2008
|
options?: never;
|
|
2009
2009
|
head?: never;
|
|
2010
2010
|
patch?: never;
|
|
2011
2011
|
trace?: never;
|
|
2012
2012
|
};
|
|
2013
|
-
'/v1/
|
|
2013
|
+
'/v1/facts/{fact_ext_id}': {
|
|
2014
2014
|
parameters: {
|
|
2015
2015
|
query?: never;
|
|
2016
2016
|
header?: never;
|
|
@@ -2021,20 +2021,20 @@ interface paths {
|
|
|
2021
2021
|
put?: never;
|
|
2022
2022
|
post?: never;
|
|
2023
2023
|
/**
|
|
2024
|
-
* Delete
|
|
2024
|
+
* Delete Fact Endpoint
|
|
2025
2025
|
* @description Soft-delete a note. RLS governs permission; a blocked delete returns 403.
|
|
2026
2026
|
*/
|
|
2027
|
-
delete: operations['
|
|
2027
|
+
delete: operations['delete_fact'];
|
|
2028
2028
|
options?: never;
|
|
2029
2029
|
head?: never;
|
|
2030
2030
|
/**
|
|
2031
|
-
* Update
|
|
2031
|
+
* Update Fact Endpoint
|
|
2032
2032
|
* @description Patch a note. A content edit replaces it (append + soft-delete); pin/share toggle in place.
|
|
2033
2033
|
*/
|
|
2034
|
-
patch: operations['
|
|
2034
|
+
patch: operations['update_fact'];
|
|
2035
2035
|
trace?: never;
|
|
2036
2036
|
};
|
|
2037
|
-
'/v1/
|
|
2037
|
+
'/v1/facts/{fact_ext_id}/remind': {
|
|
2038
2038
|
parameters: {
|
|
2039
2039
|
query?: never;
|
|
2040
2040
|
header?: never;
|
|
@@ -2044,20 +2044,20 @@ interface paths {
|
|
|
2044
2044
|
get?: never;
|
|
2045
2045
|
put?: never;
|
|
2046
2046
|
/**
|
|
2047
|
-
* Remind
|
|
2047
|
+
* Remind Fact Endpoint
|
|
2048
2048
|
* @description Set a one-off reminder for a dated note, and link it to the note.
|
|
2049
2049
|
*
|
|
2050
2050
|
* Give an explicit ``remind_at`` or a ``lead_minutes`` offset before the note's
|
|
2051
|
-
* date; with neither it fires when the
|
|
2051
|
+
* date; with neither it fires when the fact's span starts. Only dated facts can
|
|
2052
2052
|
* be reminded about — there is nothing to fire relative to otherwise.
|
|
2053
2053
|
*
|
|
2054
2054
|
* The reminder is deliberately CONTENT-FREE: it names the note by external id
|
|
2055
|
-
* and nothing else. ``tasks.name`` is plaintext while ``
|
|
2055
|
+
* and nothing else. ``tasks.name`` is plaintext while ``facts.content`` is
|
|
2056
2056
|
* encrypted under the workspace key, so copying the text into the reminder
|
|
2057
2057
|
* would leak the very thing the note protects. The client resolves the text
|
|
2058
2058
|
* from the note when it displays the notification.
|
|
2059
2059
|
*/
|
|
2060
|
-
post: operations['
|
|
2060
|
+
post: operations['remind_fact'];
|
|
2061
2061
|
delete?: never;
|
|
2062
2062
|
options?: never;
|
|
2063
2063
|
head?: never;
|
|
@@ -3543,14 +3543,14 @@ interface components {
|
|
|
3543
3543
|
*/
|
|
3544
3544
|
PERSONAL_AGENT: boolean;
|
|
3545
3545
|
/**
|
|
3546
|
-
*
|
|
3547
|
-
* @description Workspace
|
|
3546
|
+
* Facts Enabled
|
|
3547
|
+
* @description Workspace facts are readable AND writable by the agent: pinned core facts are injected into the prompt, and the agent gets the search_facts (recall) and create_fact (write) tools.
|
|
3548
3548
|
* @default false
|
|
3549
3549
|
*/
|
|
3550
|
-
|
|
3550
|
+
FACTS_ENABLED: boolean;
|
|
3551
3551
|
/**
|
|
3552
3552
|
* Persist Learnings
|
|
3553
|
-
* @description After each turn, the curator consolidates this turn's learnings into durable memories (dedupe + supersede). Independent of
|
|
3553
|
+
* @description After each turn, the curator consolidates this turn's learnings into durable memories (dedupe + supersede). Independent of FACTS_ENABLED.
|
|
3554
3554
|
* @default false
|
|
3555
3555
|
*/
|
|
3556
3556
|
PERSIST_LEARNINGS: boolean;
|
|
@@ -3786,14 +3786,14 @@ interface components {
|
|
|
3786
3786
|
*/
|
|
3787
3787
|
CONVERSATION_SEARCH_ENABLED: boolean;
|
|
3788
3788
|
/**
|
|
3789
|
-
*
|
|
3790
|
-
* @description Workspace
|
|
3789
|
+
* Facts Enabled
|
|
3790
|
+
* @description Workspace facts are readable AND writable by the agent: pinned core facts are injected into the prompt, and the agent gets the search_facts (recall) and create_fact (write) tools.
|
|
3791
3791
|
* @default false
|
|
3792
3792
|
*/
|
|
3793
|
-
|
|
3793
|
+
FACTS_ENABLED: boolean;
|
|
3794
3794
|
/**
|
|
3795
3795
|
* Persist Learnings
|
|
3796
|
-
* @description After each turn, the curator consolidates this turn's learnings into durable memories (dedupe + supersede). Independent of
|
|
3796
|
+
* @description After each turn, the curator consolidates this turn's learnings into durable memories (dedupe + supersede). Independent of FACTS_ENABLED.
|
|
3797
3797
|
* @default false
|
|
3798
3798
|
*/
|
|
3799
3799
|
PERSIST_LEARNINGS: boolean;
|
|
@@ -3875,7 +3875,7 @@ interface components {
|
|
|
3875
3875
|
* "VISION_ENABLED": false,
|
|
3876
3876
|
* "CONVERSATION_SEARCH_ENABLED": false,
|
|
3877
3877
|
* "PERSONAL_AGENT": false,
|
|
3878
|
-
* "
|
|
3878
|
+
* "FACTS_ENABLED": false,
|
|
3879
3879
|
* "PERSIST_LEARNINGS": false,
|
|
3880
3880
|
* "SKILLS_ENABLED": false,
|
|
3881
3881
|
* "SKILL_CREATION": false,
|
|
@@ -4013,7 +4013,7 @@ interface components {
|
|
|
4013
4013
|
* }
|
|
4014
4014
|
* },
|
|
4015
4015
|
* {
|
|
4016
|
-
* "instruction": "What is the main subject or purpose of this document?
|
|
4016
|
+
* "instruction": "What is the main subject or purpose of this document? Open with one concise phrase naming what it is and what it is about, in the form 'Email chain re the site access dispute between Acme and Byrne'. Then add one or two sentences of detail.",
|
|
4017
4017
|
* "name": "doc_subject",
|
|
4018
4018
|
* "tag_type": {
|
|
4019
4019
|
* "options": [],
|
|
@@ -5506,10 +5506,10 @@ interface components {
|
|
|
5506
5506
|
citations?: components['schemas']['CitationSources'] | null;
|
|
5507
5507
|
};
|
|
5508
5508
|
/**
|
|
5509
|
-
*
|
|
5510
|
-
* @description Create a
|
|
5509
|
+
* CreateFactRequest
|
|
5510
|
+
* @description Create a fact in the active workspace.
|
|
5511
5511
|
*/
|
|
5512
|
-
|
|
5512
|
+
CreateFactRequest: {
|
|
5513
5513
|
/** Text */
|
|
5514
5514
|
text: string;
|
|
5515
5515
|
/**
|
|
@@ -6367,6 +6367,113 @@ interface components {
|
|
|
6367
6367
|
*/
|
|
6368
6368
|
EVAL_BATCH_TIMEOUT_S: number;
|
|
6369
6369
|
};
|
|
6370
|
+
/** FactDeleteResponse */
|
|
6371
|
+
FactDeleteResponse: {
|
|
6372
|
+
/**
|
|
6373
|
+
* Detail
|
|
6374
|
+
* @default Note deleted successfully
|
|
6375
|
+
*/
|
|
6376
|
+
detail: string;
|
|
6377
|
+
};
|
|
6378
|
+
/** FactResponse */
|
|
6379
|
+
FactResponse: {
|
|
6380
|
+
/** Text */
|
|
6381
|
+
text: string;
|
|
6382
|
+
citations?: components['schemas']['CitationSources'] | null;
|
|
6383
|
+
/** External Id */
|
|
6384
|
+
external_id: string;
|
|
6385
|
+
/** Workspace Ext Id */
|
|
6386
|
+
workspace_ext_id: string;
|
|
6387
|
+
/** Pinned */
|
|
6388
|
+
pinned: boolean;
|
|
6389
|
+
/** Shared */
|
|
6390
|
+
shared: boolean;
|
|
6391
|
+
/** Confirmed */
|
|
6392
|
+
confirmed: boolean;
|
|
6393
|
+
/** Date Start */
|
|
6394
|
+
date_start?: string | null;
|
|
6395
|
+
/** Date End */
|
|
6396
|
+
date_end?: string | null;
|
|
6397
|
+
/** Timezone */
|
|
6398
|
+
timezone?: string | null;
|
|
6399
|
+
/**
|
|
6400
|
+
* Reminder Task Ext Ids
|
|
6401
|
+
* @default []
|
|
6402
|
+
*/
|
|
6403
|
+
reminder_task_ext_ids: string[];
|
|
6404
|
+
/**
|
|
6405
|
+
* Tags
|
|
6406
|
+
* @default []
|
|
6407
|
+
*/
|
|
6408
|
+
tags: components['schemas']['FactTagResponse'][];
|
|
6409
|
+
/** Created By Ext Id */
|
|
6410
|
+
created_by_ext_id: string;
|
|
6411
|
+
/**
|
|
6412
|
+
* Created At
|
|
6413
|
+
* Format: date-time
|
|
6414
|
+
*/
|
|
6415
|
+
created_at: string;
|
|
6416
|
+
/**
|
|
6417
|
+
* Updated At
|
|
6418
|
+
* Format: date-time
|
|
6419
|
+
*/
|
|
6420
|
+
updated_at: string;
|
|
6421
|
+
};
|
|
6422
|
+
/** FactSearchHit */
|
|
6423
|
+
FactSearchHit: {
|
|
6424
|
+
/** External Id */
|
|
6425
|
+
external_id: string;
|
|
6426
|
+
/** Text */
|
|
6427
|
+
text: string;
|
|
6428
|
+
/** Pinned */
|
|
6429
|
+
pinned: boolean;
|
|
6430
|
+
/** Confirmed */
|
|
6431
|
+
confirmed: boolean;
|
|
6432
|
+
/** Score */
|
|
6433
|
+
score: number;
|
|
6434
|
+
};
|
|
6435
|
+
/**
|
|
6436
|
+
* FactSearchRequest
|
|
6437
|
+
* @description Hybrid recall over the workspace's facts.
|
|
6438
|
+
*/
|
|
6439
|
+
FactSearchRequest: {
|
|
6440
|
+
/**
|
|
6441
|
+
* Query
|
|
6442
|
+
* @description Search query text
|
|
6443
|
+
*/
|
|
6444
|
+
query: string;
|
|
6445
|
+
/**
|
|
6446
|
+
* Search Mode
|
|
6447
|
+
* @description Retrieval mode
|
|
6448
|
+
* @default hybrid
|
|
6449
|
+
* @enum {string}
|
|
6450
|
+
*/
|
|
6451
|
+
search_mode: 'semantic' | 'keyword' | 'hybrid';
|
|
6452
|
+
/**
|
|
6453
|
+
* Limit
|
|
6454
|
+
* @description Maximum number of notes to return
|
|
6455
|
+
* @default 10
|
|
6456
|
+
*/
|
|
6457
|
+
limit: number;
|
|
6458
|
+
};
|
|
6459
|
+
/** FactSearchResponse */
|
|
6460
|
+
FactSearchResponse: {
|
|
6461
|
+
/**
|
|
6462
|
+
* Facts
|
|
6463
|
+
* @default []
|
|
6464
|
+
*/
|
|
6465
|
+
facts: components['schemas']['FactSearchHit'][];
|
|
6466
|
+
};
|
|
6467
|
+
/**
|
|
6468
|
+
* FactTagResponse
|
|
6469
|
+
* @description A tag attached to a note — the tag's identity, decrypted name included.
|
|
6470
|
+
*/
|
|
6471
|
+
FactTagResponse: {
|
|
6472
|
+
/** Tag Ext Id */
|
|
6473
|
+
tag_ext_id: string;
|
|
6474
|
+
/** Name */
|
|
6475
|
+
name: string;
|
|
6476
|
+
};
|
|
6370
6477
|
/**
|
|
6371
6478
|
* FileDeleteResponse
|
|
6372
6479
|
* @description OpenAI-compatible file deletion response.
|
|
@@ -7006,7 +7113,7 @@ interface components {
|
|
|
7006
7113
|
* MemoryLLMConfig
|
|
7007
7114
|
* @description Configuration for MemoryLLM — the post-turn curator.
|
|
7008
7115
|
*
|
|
7009
|
-
* Judges which of a turn's learnings are worth keeping as durable
|
|
7116
|
+
* Judges which of a turn's learnings are worth keeping as durable Facts and
|
|
7010
7117
|
* reconciles them against existing ones (dedupe + supersede). It never
|
|
7011
7118
|
* re-authors text: each kept learning is stored verbatim.
|
|
7012
7119
|
*
|
|
@@ -7507,113 +7614,6 @@ interface components {
|
|
|
7507
7614
|
DoctagLLM: components['schemas']['DoctagLLMUserConfig'];
|
|
7508
7615
|
Parser: components['schemas']['ParserUserConfig'];
|
|
7509
7616
|
};
|
|
7510
|
-
/** NoteDeleteResponse */
|
|
7511
|
-
NoteDeleteResponse: {
|
|
7512
|
-
/**
|
|
7513
|
-
* Detail
|
|
7514
|
-
* @default Note deleted successfully
|
|
7515
|
-
*/
|
|
7516
|
-
detail: string;
|
|
7517
|
-
};
|
|
7518
|
-
/** NoteResponse */
|
|
7519
|
-
NoteResponse: {
|
|
7520
|
-
/** Text */
|
|
7521
|
-
text: string;
|
|
7522
|
-
citations?: components['schemas']['CitationSources'] | null;
|
|
7523
|
-
/** External Id */
|
|
7524
|
-
external_id: string;
|
|
7525
|
-
/** Workspace Ext Id */
|
|
7526
|
-
workspace_ext_id: string;
|
|
7527
|
-
/** Pinned */
|
|
7528
|
-
pinned: boolean;
|
|
7529
|
-
/** Shared */
|
|
7530
|
-
shared: boolean;
|
|
7531
|
-
/** Confirmed */
|
|
7532
|
-
confirmed: boolean;
|
|
7533
|
-
/** Date Start */
|
|
7534
|
-
date_start?: string | null;
|
|
7535
|
-
/** Date End */
|
|
7536
|
-
date_end?: string | null;
|
|
7537
|
-
/** Timezone */
|
|
7538
|
-
timezone?: string | null;
|
|
7539
|
-
/**
|
|
7540
|
-
* Reminder Task Ext Ids
|
|
7541
|
-
* @default []
|
|
7542
|
-
*/
|
|
7543
|
-
reminder_task_ext_ids: string[];
|
|
7544
|
-
/**
|
|
7545
|
-
* Tags
|
|
7546
|
-
* @default []
|
|
7547
|
-
*/
|
|
7548
|
-
tags: components['schemas']['NoteTagResponse'][];
|
|
7549
|
-
/** Created By Ext Id */
|
|
7550
|
-
created_by_ext_id: string;
|
|
7551
|
-
/**
|
|
7552
|
-
* Created At
|
|
7553
|
-
* Format: date-time
|
|
7554
|
-
*/
|
|
7555
|
-
created_at: string;
|
|
7556
|
-
/**
|
|
7557
|
-
* Updated At
|
|
7558
|
-
* Format: date-time
|
|
7559
|
-
*/
|
|
7560
|
-
updated_at: string;
|
|
7561
|
-
};
|
|
7562
|
-
/** NoteSearchHit */
|
|
7563
|
-
NoteSearchHit: {
|
|
7564
|
-
/** External Id */
|
|
7565
|
-
external_id: string;
|
|
7566
|
-
/** Text */
|
|
7567
|
-
text: string;
|
|
7568
|
-
/** Pinned */
|
|
7569
|
-
pinned: boolean;
|
|
7570
|
-
/** Confirmed */
|
|
7571
|
-
confirmed: boolean;
|
|
7572
|
-
/** Score */
|
|
7573
|
-
score: number;
|
|
7574
|
-
};
|
|
7575
|
-
/**
|
|
7576
|
-
* NoteSearchRequest
|
|
7577
|
-
* @description Hybrid recall over the workspace's notes.
|
|
7578
|
-
*/
|
|
7579
|
-
NoteSearchRequest: {
|
|
7580
|
-
/**
|
|
7581
|
-
* Query
|
|
7582
|
-
* @description Search query text
|
|
7583
|
-
*/
|
|
7584
|
-
query: string;
|
|
7585
|
-
/**
|
|
7586
|
-
* Search Mode
|
|
7587
|
-
* @description Retrieval mode
|
|
7588
|
-
* @default hybrid
|
|
7589
|
-
* @enum {string}
|
|
7590
|
-
*/
|
|
7591
|
-
search_mode: 'semantic' | 'keyword' | 'hybrid';
|
|
7592
|
-
/**
|
|
7593
|
-
* Limit
|
|
7594
|
-
* @description Maximum number of notes to return
|
|
7595
|
-
* @default 10
|
|
7596
|
-
*/
|
|
7597
|
-
limit: number;
|
|
7598
|
-
};
|
|
7599
|
-
/** NoteSearchResponse */
|
|
7600
|
-
NoteSearchResponse: {
|
|
7601
|
-
/**
|
|
7602
|
-
* Notes
|
|
7603
|
-
* @default []
|
|
7604
|
-
*/
|
|
7605
|
-
notes: components['schemas']['NoteSearchHit'][];
|
|
7606
|
-
};
|
|
7607
|
-
/**
|
|
7608
|
-
* NoteTagResponse
|
|
7609
|
-
* @description A tag attached to a note — the tag's identity, decrypted name included.
|
|
7610
|
-
*/
|
|
7611
|
-
NoteTagResponse: {
|
|
7612
|
-
/** Tag Ext Id */
|
|
7613
|
-
tag_ext_id: string;
|
|
7614
|
-
/** Name */
|
|
7615
|
-
name: string;
|
|
7616
|
-
};
|
|
7617
7617
|
/**
|
|
7618
7618
|
* NotificationResponse
|
|
7619
7619
|
* @description Notification response model for API and WebSocket.
|
|
@@ -8460,7 +8460,7 @@ interface components {
|
|
|
8460
8460
|
picture?: string | null;
|
|
8461
8461
|
};
|
|
8462
8462
|
/**
|
|
8463
|
-
*
|
|
8463
|
+
* RemindFactRequest
|
|
8464
8464
|
* @description Set a one-off reminder for a dated note.
|
|
8465
8465
|
*
|
|
8466
8466
|
* Give either an explicit ``remind_at`` or a ``lead_minutes`` offset before
|
|
@@ -8470,7 +8470,7 @@ interface components {
|
|
|
8470
8470
|
* synthesises an inline ``Body_*`` schema for those, which is not strict, and
|
|
8471
8471
|
* the client generator rejects request bodies that accept unknown fields.
|
|
8472
8472
|
*/
|
|
8473
|
-
|
|
8473
|
+
RemindFactRequest: {
|
|
8474
8474
|
/** Remind At */
|
|
8475
8475
|
remind_at?: string | null;
|
|
8476
8476
|
/** Lead Minutes */
|
|
@@ -10574,12 +10574,12 @@ interface components {
|
|
|
10574
10574
|
documents: components['schemas']['DocUpdateRequest'][];
|
|
10575
10575
|
};
|
|
10576
10576
|
/**
|
|
10577
|
-
*
|
|
10578
|
-
* @description Patch a
|
|
10577
|
+
* UpdateFactRequest
|
|
10578
|
+
* @description Patch a fact. An edit to ``text`` soft-deletes the old row and
|
|
10579
10579
|
* inserts a replacement (append + soft-delete lifecycle); ``pinned``/``shared``/
|
|
10580
10580
|
* ``tag_ext_ids`` update in place.
|
|
10581
10581
|
*/
|
|
10582
|
-
|
|
10582
|
+
UpdateFactRequest: {
|
|
10583
10583
|
/** Text */
|
|
10584
10584
|
text?: string | null;
|
|
10585
10585
|
/** Pinned */
|
|
@@ -14316,7 +14316,7 @@ interface operations {
|
|
|
14316
14316
|
};
|
|
14317
14317
|
};
|
|
14318
14318
|
};
|
|
14319
|
-
|
|
14319
|
+
create_fact: {
|
|
14320
14320
|
parameters: {
|
|
14321
14321
|
query?: never;
|
|
14322
14322
|
header?: never;
|
|
@@ -14325,7 +14325,7 @@ interface operations {
|
|
|
14325
14325
|
};
|
|
14326
14326
|
requestBody: {
|
|
14327
14327
|
content: {
|
|
14328
|
-
'application/json': components['schemas']['
|
|
14328
|
+
'application/json': components['schemas']['CreateFactRequest'];
|
|
14329
14329
|
};
|
|
14330
14330
|
};
|
|
14331
14331
|
responses: {
|
|
@@ -14335,7 +14335,7 @@ interface operations {
|
|
|
14335
14335
|
[name: string]: unknown;
|
|
14336
14336
|
};
|
|
14337
14337
|
content: {
|
|
14338
|
-
'application/json': components['schemas']['
|
|
14338
|
+
'application/json': components['schemas']['FactResponse'];
|
|
14339
14339
|
};
|
|
14340
14340
|
};
|
|
14341
14341
|
/** @description Validation Error */
|
|
@@ -14349,7 +14349,7 @@ interface operations {
|
|
|
14349
14349
|
};
|
|
14350
14350
|
};
|
|
14351
14351
|
};
|
|
14352
|
-
|
|
14352
|
+
list_facts: {
|
|
14353
14353
|
parameters: {
|
|
14354
14354
|
query?: {
|
|
14355
14355
|
pinned_only?: boolean;
|
|
@@ -14357,7 +14357,7 @@ interface operations {
|
|
|
14357
14357
|
date_from?: string | null;
|
|
14358
14358
|
/** @description Range end, any precision */
|
|
14359
14359
|
date_to?: string | null;
|
|
14360
|
-
/** @description Only
|
|
14360
|
+
/** @description Only facts that carry a date — the timeline view */
|
|
14361
14361
|
dated_only?: boolean;
|
|
14362
14362
|
};
|
|
14363
14363
|
header?: never;
|
|
@@ -14372,7 +14372,7 @@ interface operations {
|
|
|
14372
14372
|
[name: string]: unknown;
|
|
14373
14373
|
};
|
|
14374
14374
|
content: {
|
|
14375
|
-
'application/json': components['schemas']['
|
|
14375
|
+
'application/json': components['schemas']['FactResponse'][];
|
|
14376
14376
|
};
|
|
14377
14377
|
};
|
|
14378
14378
|
/** @description Validation Error */
|
|
@@ -14386,7 +14386,7 @@ interface operations {
|
|
|
14386
14386
|
};
|
|
14387
14387
|
};
|
|
14388
14388
|
};
|
|
14389
|
-
|
|
14389
|
+
search_facts: {
|
|
14390
14390
|
parameters: {
|
|
14391
14391
|
query?: never;
|
|
14392
14392
|
header?: never;
|
|
@@ -14395,7 +14395,7 @@ interface operations {
|
|
|
14395
14395
|
};
|
|
14396
14396
|
requestBody: {
|
|
14397
14397
|
content: {
|
|
14398
|
-
'application/json': components['schemas']['
|
|
14398
|
+
'application/json': components['schemas']['FactSearchRequest'];
|
|
14399
14399
|
};
|
|
14400
14400
|
};
|
|
14401
14401
|
responses: {
|
|
@@ -14405,7 +14405,7 @@ interface operations {
|
|
|
14405
14405
|
[name: string]: unknown;
|
|
14406
14406
|
};
|
|
14407
14407
|
content: {
|
|
14408
|
-
'application/json': components['schemas']['
|
|
14408
|
+
'application/json': components['schemas']['FactSearchResponse'];
|
|
14409
14409
|
};
|
|
14410
14410
|
};
|
|
14411
14411
|
/** @description Validation Error */
|
|
@@ -14419,12 +14419,12 @@ interface operations {
|
|
|
14419
14419
|
};
|
|
14420
14420
|
};
|
|
14421
14421
|
};
|
|
14422
|
-
|
|
14422
|
+
delete_fact: {
|
|
14423
14423
|
parameters: {
|
|
14424
14424
|
query?: never;
|
|
14425
14425
|
header?: never;
|
|
14426
14426
|
path: {
|
|
14427
|
-
|
|
14427
|
+
fact_ext_id: string;
|
|
14428
14428
|
};
|
|
14429
14429
|
cookie?: never;
|
|
14430
14430
|
};
|
|
@@ -14436,7 +14436,7 @@ interface operations {
|
|
|
14436
14436
|
[name: string]: unknown;
|
|
14437
14437
|
};
|
|
14438
14438
|
content: {
|
|
14439
|
-
'application/json': components['schemas']['
|
|
14439
|
+
'application/json': components['schemas']['FactDeleteResponse'];
|
|
14440
14440
|
};
|
|
14441
14441
|
};
|
|
14442
14442
|
/** @description Validation Error */
|
|
@@ -14450,18 +14450,18 @@ interface operations {
|
|
|
14450
14450
|
};
|
|
14451
14451
|
};
|
|
14452
14452
|
};
|
|
14453
|
-
|
|
14453
|
+
update_fact: {
|
|
14454
14454
|
parameters: {
|
|
14455
14455
|
query?: never;
|
|
14456
14456
|
header?: never;
|
|
14457
14457
|
path: {
|
|
14458
|
-
|
|
14458
|
+
fact_ext_id: string;
|
|
14459
14459
|
};
|
|
14460
14460
|
cookie?: never;
|
|
14461
14461
|
};
|
|
14462
14462
|
requestBody: {
|
|
14463
14463
|
content: {
|
|
14464
|
-
'application/json': components['schemas']['
|
|
14464
|
+
'application/json': components['schemas']['UpdateFactRequest'];
|
|
14465
14465
|
};
|
|
14466
14466
|
};
|
|
14467
14467
|
responses: {
|
|
@@ -14471,7 +14471,7 @@ interface operations {
|
|
|
14471
14471
|
[name: string]: unknown;
|
|
14472
14472
|
};
|
|
14473
14473
|
content: {
|
|
14474
|
-
'application/json': components['schemas']['
|
|
14474
|
+
'application/json': components['schemas']['FactResponse'];
|
|
14475
14475
|
};
|
|
14476
14476
|
};
|
|
14477
14477
|
/** @description Validation Error */
|
|
@@ -14485,18 +14485,18 @@ interface operations {
|
|
|
14485
14485
|
};
|
|
14486
14486
|
};
|
|
14487
14487
|
};
|
|
14488
|
-
|
|
14488
|
+
remind_fact: {
|
|
14489
14489
|
parameters: {
|
|
14490
14490
|
query?: never;
|
|
14491
14491
|
header?: never;
|
|
14492
14492
|
path: {
|
|
14493
|
-
|
|
14493
|
+
fact_ext_id: string;
|
|
14494
14494
|
};
|
|
14495
14495
|
cookie?: never;
|
|
14496
14496
|
};
|
|
14497
14497
|
requestBody?: {
|
|
14498
14498
|
content: {
|
|
14499
|
-
'application/json': components['schemas']['
|
|
14499
|
+
'application/json': components['schemas']['RemindFactRequest'];
|
|
14500
14500
|
};
|
|
14501
14501
|
};
|
|
14502
14502
|
responses: {
|
|
@@ -14506,7 +14506,7 @@ interface operations {
|
|
|
14506
14506
|
[name: string]: unknown;
|
|
14507
14507
|
};
|
|
14508
14508
|
content: {
|
|
14509
|
-
'application/json': components['schemas']['
|
|
14509
|
+
'application/json': components['schemas']['FactResponse'];
|
|
14510
14510
|
};
|
|
14511
14511
|
};
|
|
14512
14512
|
/** @description Validation Error */
|
package/package.json
CHANGED