@robota-sdk/agent-product 3.7.0 → 3.9.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 +36 -0
- package/dist/coding/index.cjs +1 -1
- package/dist/coding/index.js +1 -1
- package/dist/command/index.cjs +1 -1
- package/dist/command/index.d.cts +19 -12
- package/dist/command/index.d.cts.map +1 -1
- package/dist/command/index.d.ts +19 -12
- package/dist/command/index.d.ts.map +1 -1
- package/dist/command/index.js +1 -1
- package/dist/command/node.d.cts +1 -1
- package/dist/command/node.d.ts +1 -1
- package/dist/command-BwqSJ1sX.js +123 -0
- package/dist/command-BwqSJ1sX.js.map +1 -0
- package/dist/{command--ag0fdHz.cjs → command-CZqe1Y9x.cjs} +77 -77
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +16 -9
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +16 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/{keybindings-command-module-CcA9-Xqi.d.cts → keybindings-command-module-DuL6bSYI.d.cts} +3 -3
- package/dist/{keybindings-command-module-CcA9-Xqi.d.cts.map → keybindings-command-module-DuL6bSYI.d.cts.map} +1 -1
- package/dist/{keybindings-command-module-CcA9-Xqi.d.ts → keybindings-command-module-DuL6bSYI.d.ts} +3 -3
- package/dist/{keybindings-command-module-CcA9-Xqi.d.ts.map → keybindings-command-module-DuL6bSYI.d.ts.map} +1 -1
- package/dist/personal/index.cjs +21 -21
- package/dist/personal/index.d.cts +266 -22
- package/dist/personal/index.d.cts.map +1 -1
- package/dist/personal/index.d.ts +266 -22
- package/dist/personal/index.d.ts.map +1 -1
- package/dist/personal/index.js +24 -24
- package/dist/personal/index.js.map +1 -1
- package/package.json +5 -5
- package/dist/command-BXOf0yNQ.js +0 -123
- package/dist/command-BXOf0yNQ.js.map +0 -1
|
@@ -68,6 +68,34 @@ interface IKnowledgeStore {
|
|
|
68
68
|
/** Rewrite the log keeping only the entries `keep` accepts: how forget reaches the log. */
|
|
69
69
|
rewriteLog(keep: (entry: IWikiLogEntry) => boolean): Promise<void>;
|
|
70
70
|
}
|
|
71
|
+
/** A piece of text a forget removed from the wiki: what a host must look for in its own copies. */
|
|
72
|
+
interface IForgottenText {
|
|
73
|
+
/** The statement of a removed claim, or the title of a page the forget deleted. */
|
|
74
|
+
readonly text: string;
|
|
75
|
+
/** A claim statement is a fact; a title is the name of a deleted page, mostly ordinary words. */
|
|
76
|
+
readonly kind: 'claim' | 'title';
|
|
77
|
+
/** The conversation a removed claim was learned in, when it recorded one. */
|
|
78
|
+
readonly sessionId?: string;
|
|
79
|
+
}
|
|
80
|
+
/** What a host managed to do about the copies of forgotten text it keeps. */
|
|
81
|
+
interface IForgetReachReport {
|
|
82
|
+
/** Records rewritten so they no longer hold the text. */
|
|
83
|
+
readonly cleaned: number;
|
|
84
|
+
/** Records that will be cleaned later, for example when a running turn ends. */
|
|
85
|
+
readonly pending: number;
|
|
86
|
+
/** Records that hold the text and could not be reached (held by another writer, unreadable). */
|
|
87
|
+
readonly notReached: number;
|
|
88
|
+
/** Names of the conversations the removed claims were learned in, for the answer to the person. */
|
|
89
|
+
readonly sources: readonly string[];
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* What a host supplies so a forget reaches the copies the wiki does not own: the conversations the
|
|
93
|
+
* wiki was filled from. The wiki calls it after its own pages and log are clean; it never holds the
|
|
94
|
+
* conversations itself.
|
|
95
|
+
*/
|
|
96
|
+
interface IForgetReach {
|
|
97
|
+
reach(forgotten: readonly IForgottenText[]): Promise<IForgetReachReport>;
|
|
98
|
+
}
|
|
71
99
|
//#endregion
|
|
72
100
|
//#region src/personal/knowledge/wiki.d.ts
|
|
73
101
|
declare class SensitiveContentRefusedError extends Error {
|
|
@@ -116,12 +144,35 @@ interface IKnowledgeWikiOptions {
|
|
|
116
144
|
readonly now?: () => Date;
|
|
117
145
|
/** Claims on time-sensitive pages older than this are stale. Default 180 days. */
|
|
118
146
|
readonly staleAfterMs?: number;
|
|
147
|
+
/**
|
|
148
|
+
* Where what a forget removed is handed afterwards, so a host can reach the copies of it that it
|
|
149
|
+
* keeps (the conversations the wiki was filled from). Absent, a forget touches the wiki only.
|
|
150
|
+
*/
|
|
151
|
+
readonly reach?: IForgetReach;
|
|
152
|
+
}
|
|
153
|
+
type TForgetTarget = {
|
|
154
|
+
claimId: string;
|
|
155
|
+
} | {
|
|
156
|
+
claimIds: readonly string[];
|
|
157
|
+
} | {
|
|
158
|
+
pageId: string;
|
|
159
|
+
} | {
|
|
160
|
+
text: string;
|
|
161
|
+
};
|
|
162
|
+
interface IForgetResult {
|
|
163
|
+
/** How many claims were removed. */
|
|
164
|
+
readonly forgotten: number;
|
|
165
|
+
/** What the host's reach did about its copies; absent when no reach is configured. */
|
|
166
|
+
readonly conversations?: IForgetReachReport;
|
|
167
|
+
/** The reach threw: the forget still stands, and the host's copies may still hold the text. */
|
|
168
|
+
readonly reachFailed?: true;
|
|
119
169
|
}
|
|
120
170
|
declare function pageIdFor(title: string): string;
|
|
121
171
|
declare class KnowledgeWiki {
|
|
122
172
|
private readonly store;
|
|
123
173
|
private readonly now;
|
|
124
174
|
private readonly staleAfterMs;
|
|
175
|
+
private readonly reach;
|
|
125
176
|
private sequence;
|
|
126
177
|
constructor(options: IKnowledgeWikiOptions);
|
|
127
178
|
private claimId;
|
|
@@ -143,18 +194,18 @@ declare class KnowledgeWiki {
|
|
|
143
194
|
/** Every page title and kind: what the model reads first, as an index. */
|
|
144
195
|
index(): Promise<string>;
|
|
145
196
|
/**
|
|
146
|
-
* Forget a claim by id, every claim on a page, or every current or retired
|
|
147
|
-
* `text`. Returns how many claims were removed. A page left with no claims is
|
|
148
|
-
* every link to it and every log entry that named it, since a page's id is its
|
|
149
|
-
* the fact itself.
|
|
197
|
+
* Forget a claim by id, several claims by id, every claim on a page, or every current or retired
|
|
198
|
+
* claim containing `text`. Returns how many claims were removed. A page left with no claims is
|
|
199
|
+
* deleted, and with it every link to it and every log entry that named it, since a page's id is its
|
|
200
|
+
* title and can carry the fact itself.
|
|
150
201
|
*/
|
|
151
|
-
forget(target:
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
202
|
+
forget(target: TForgetTarget): Promise<number>;
|
|
203
|
+
/**
|
|
204
|
+
* Forget as `forget` does, then hand what was removed (every statement, current or retired, with
|
|
205
|
+
* its conversation, and the titles of deleted pages) to the host's reach once the pages and the log
|
|
206
|
+
* no longer hold it. A reach that fails is reported and never undoes the forget.
|
|
207
|
+
*/
|
|
208
|
+
forgetWithReport(target: TForgetTarget): Promise<IForgetResult>;
|
|
158
209
|
/** Link two existing pages, named by id or title; a link is always a page id, never free text. */
|
|
159
210
|
link(fromPage: string, toPage: string): Promise<void>;
|
|
160
211
|
/**
|
|
@@ -172,6 +223,27 @@ declare function createFileKnowledgeStore(directory: string): IKnowledgeStore;
|
|
|
172
223
|
//#region src/personal/knowledge/memory-store.d.ts
|
|
173
224
|
declare function createMemoryKnowledgeStore(): IKnowledgeStore;
|
|
174
225
|
//#endregion
|
|
226
|
+
//#region src/personal/knowledge/redaction.d.ts
|
|
227
|
+
/**
|
|
228
|
+
* Finding forgotten text inside a host's own copies. A copy rarely holds a statement byte for byte:
|
|
229
|
+
* a model may re-wrap it, change its case, or carry it inside a JSON-escaped tool argument. The
|
|
230
|
+
* redactor therefore matches across case, any run of whitespace, and the JSON-escaped form, and
|
|
231
|
+
* replaces only the matched span so the rest of the record stays as it was.
|
|
232
|
+
*/
|
|
233
|
+
/** What replaces a removed span. The wiki instructions tell the model never to guess or restore it. */
|
|
234
|
+
declare const FORGOTTEN_MARKER = "[forgotten]";
|
|
235
|
+
/**
|
|
236
|
+
* Whether a text is distinctive enough to be searched in conversations other than its own: ordinary
|
|
237
|
+
* short phrases ("tea", "Mina") would damage unrelated text everywhere.
|
|
238
|
+
*/
|
|
239
|
+
declare function isSpecificText(text: string): boolean;
|
|
240
|
+
/**
|
|
241
|
+
* A function that replaces every occurrence of any of the texts with the forgotten marker. It matches
|
|
242
|
+
* case-insensitively, lets any whitespace run stand for any other, also finds the JSON-escaped form
|
|
243
|
+
* of a text, and does not match inside a longer word ("Mina" is not found in "Minasian").
|
|
244
|
+
*/
|
|
245
|
+
declare function createForgottenTextRedactor(texts: readonly string[]): (value: string) => string;
|
|
246
|
+
//#endregion
|
|
175
247
|
//#region src/personal/knowledge/render.d.ts
|
|
176
248
|
declare function renderPageMarkdown(page: IWikiPage): string;
|
|
177
249
|
/**
|
|
@@ -302,6 +374,14 @@ interface IGoal {
|
|
|
302
374
|
readonly connectorId?: string;
|
|
303
375
|
/** The case this goal gives a turn on, when it is one: found by this id, and run again for each answer. */
|
|
304
376
|
readonly caseId?: string;
|
|
377
|
+
/**
|
|
378
|
+
* The launch this goal was made for, when it was made by a host that records the person's requests:
|
|
379
|
+
* a typed mark, never text in the instructions. One launch id has one goal, so a host that stopped
|
|
380
|
+
* between making the goal and recording it finds this one again.
|
|
381
|
+
*/
|
|
382
|
+
readonly launch?: {
|
|
383
|
+
readonly id: string;
|
|
384
|
+
};
|
|
305
385
|
/** An accepted case answer awaiting a turn, owned by the agent holding its authority snapshot. */
|
|
306
386
|
readonly pendingCaseAnswer?: {
|
|
307
387
|
readonly feedItemId: string;
|
|
@@ -423,6 +503,13 @@ interface ICreateGoalInput {
|
|
|
423
503
|
readonly readOnly?: boolean;
|
|
424
504
|
readonly connectorId?: string;
|
|
425
505
|
readonly caseId?: string;
|
|
506
|
+
/**
|
|
507
|
+
* The launch this goal is made for. A goal that already carries this id is returned instead of a
|
|
508
|
+
* second one, under the same lock every goal write takes.
|
|
509
|
+
*/
|
|
510
|
+
readonly launch?: {
|
|
511
|
+
readonly id: string;
|
|
512
|
+
};
|
|
426
513
|
}
|
|
427
514
|
declare class GoalRefusedError extends Error {
|
|
428
515
|
constructor(reason: string);
|
|
@@ -760,7 +847,8 @@ declare const CASE_INSTRUCTIONS: string;
|
|
|
760
847
|
//#region src/personal/cases/turn.d.ts
|
|
761
848
|
/**
|
|
762
849
|
* The tools a case turn has by default: it may look at the connector and the library to check
|
|
763
|
-
* something related, and
|
|
850
|
+
* something related, keep the case, and propose an offer the host will check. A host may add its own
|
|
851
|
+
* scoped action separately.
|
|
764
852
|
*/
|
|
765
853
|
declare function caseTurnTools(): string[];
|
|
766
854
|
/**
|
|
@@ -778,6 +866,65 @@ declare function caseTurnInstructions(found: ICase, options?: {
|
|
|
778
866
|
readonly allowApprovedActions?: boolean;
|
|
779
867
|
}): string;
|
|
780
868
|
//#endregion
|
|
869
|
+
//#region src/personal/secret-values.d.ts
|
|
870
|
+
/**
|
|
871
|
+
* Whether a text carries a secret value. A word the shared secret check flags by its vocabulary alone,
|
|
872
|
+
* in any language it knows, is set aside before the check looks at what remains, which still refuses
|
|
873
|
+
* credential prefixes, key blocks, tokens and card or identity numbers by their shape. A set-aside word
|
|
874
|
+
* followed by `:` or `=` and a value is a secret written out, so that is refused as well.
|
|
875
|
+
*
|
|
876
|
+
* Accepted residual risk: a short, low-entropy value written as plain prose ("my password is hunter2")
|
|
877
|
+
* has no shape to recognise and is not refused. The realistic accidental pastes (keys, tokens, card and
|
|
878
|
+
* identity numbers) are.
|
|
879
|
+
*/
|
|
880
|
+
declare function carriesSecretValue(text: string): boolean;
|
|
881
|
+
//#endregion
|
|
882
|
+
//#region src/personal/offers/types.d.ts
|
|
883
|
+
/**
|
|
884
|
+
* What the agent hands the host when it proposes a task offer. The pack owns no catalog: a proposal
|
|
885
|
+
* names a task by id and revision, where the agent saw the reason for it, and why acting may help; the
|
|
886
|
+
* host decides whether it becomes an offer and answers in plain words.
|
|
887
|
+
*/
|
|
888
|
+
/** Where the agent saw the reason for an offer: a kind, the service and item it came from, and when. */
|
|
889
|
+
interface IOfferSourceRef {
|
|
890
|
+
/** What kind of place it was, such as a connected service; the host decides which kinds it accepts. */
|
|
891
|
+
readonly kind: string;
|
|
892
|
+
readonly connectorId?: string;
|
|
893
|
+
/** The same reference for the same item every time, so one source matter makes one offer. */
|
|
894
|
+
readonly sourceItemId?: string;
|
|
895
|
+
/** When the agent read it, as a UTC time such as 2026-01-31T09:00:00Z. */
|
|
896
|
+
readonly observedAt: string;
|
|
897
|
+
}
|
|
898
|
+
interface IOfferCandidate {
|
|
899
|
+
readonly definitionId: string;
|
|
900
|
+
readonly definitionRevision: number;
|
|
901
|
+
readonly source: IOfferSourceRef;
|
|
902
|
+
/** What the source says, as a short factual statement. */
|
|
903
|
+
readonly basis: string;
|
|
904
|
+
/** Why acting now may help the person, in one short sentence. */
|
|
905
|
+
readonly why: string;
|
|
906
|
+
/** Values the person may use to start the task; suggestions only, which the person reads and changes. */
|
|
907
|
+
readonly suggestedInputs?: Readonly<Record<string, string>>;
|
|
908
|
+
}
|
|
909
|
+
/** The host's answer: the offer that now holds the proposal, or the reason it did not. */
|
|
910
|
+
type TOfferProposal = {
|
|
911
|
+
readonly status: 'accepted';
|
|
912
|
+
readonly offerId: string;
|
|
913
|
+
} | {
|
|
914
|
+
readonly status: 'rejected';
|
|
915
|
+
readonly reason: string;
|
|
916
|
+
};
|
|
917
|
+
/** The host's side of a proposal. It judges, stores and answers; the agent never sees more than the answer. */
|
|
918
|
+
interface IOfferProposer {
|
|
919
|
+
propose(candidate: IOfferCandidate): Promise<TOfferProposal>;
|
|
920
|
+
}
|
|
921
|
+
//#endregion
|
|
922
|
+
//#region src/personal/offers/tools.d.ts
|
|
923
|
+
declare const OFFER_TOOL_NAMES: {
|
|
924
|
+
readonly propose: "TaskOfferPropose";
|
|
925
|
+
};
|
|
926
|
+
declare function createOfferTools(proposer: IOfferProposer): FunctionTool[];
|
|
927
|
+
//#endregion
|
|
781
928
|
//#region src/personal/delivery/types.d.ts
|
|
782
929
|
/** Times are `HH:MM` on a 24-hour clock, in the local time of the machine that runs the agent. */
|
|
783
930
|
interface IQuietHours {
|
|
@@ -808,12 +955,20 @@ interface IDeliveryState {
|
|
|
808
955
|
readonly digestedOn?: string;
|
|
809
956
|
/** Feed items waiting for the next digest. */
|
|
810
957
|
readonly pendingDigest: readonly string[];
|
|
958
|
+
/** When a source last had an offer pushed, by source key; at most a few dozen, the oldest dropped. */
|
|
959
|
+
readonly offerSources?: Readonly<Record<string, string>>;
|
|
960
|
+
/** Offers waiting for the next digest, by id, with the title the host verified. */
|
|
961
|
+
readonly pendingOffers?: readonly IPendingOffer[];
|
|
962
|
+
}
|
|
963
|
+
interface IPendingOffer {
|
|
964
|
+
readonly offerId: string;
|
|
965
|
+
readonly title: string;
|
|
811
966
|
}
|
|
812
|
-
/** What becomes of one question: pushed now, held for the daily summary, or left in the feed. */
|
|
967
|
+
/** What becomes of one question or offer: pushed now, held for the daily summary, or left in the feed. */
|
|
813
968
|
type TDelivery = 'notify' | 'digest' | 'feed';
|
|
814
969
|
interface IDeliveryMessage {
|
|
815
970
|
/** A `test` message is the person's own check that a sink works; it is never a question. */
|
|
816
|
-
readonly kind: 'question' | 'digest' | 'test';
|
|
971
|
+
readonly kind: 'question' | 'offer' | 'digest' | 'test';
|
|
817
972
|
/** A short plain line that says what the message is about, for a sink that shows a heading. */
|
|
818
973
|
readonly title: string;
|
|
819
974
|
/** Plain text on one or a few lines; a sink adds nothing to it. */
|
|
@@ -843,6 +998,8 @@ interface IDeliveryStatus {
|
|
|
843
998
|
};
|
|
844
999
|
/** Open questions held for the next digest. */
|
|
845
1000
|
readonly waitingInDigest: number;
|
|
1001
|
+
/** Offers held for the next digest that are still offered. */
|
|
1002
|
+
readonly offersWaitingInDigest: number;
|
|
846
1003
|
}
|
|
847
1004
|
/** The feed as delivery needs it: a card, looked up again before a digest names it. */
|
|
848
1005
|
interface IDeliveryFeed {
|
|
@@ -998,6 +1155,8 @@ declare class NotificationAddress {
|
|
|
998
1155
|
}
|
|
999
1156
|
//#endregion
|
|
1000
1157
|
//#region src/personal/delivery/question-delivery.d.ts
|
|
1158
|
+
/** A source that had an offer pushed waits this long before another of its offers is pushed. */
|
|
1159
|
+
declare const OFFER_SOURCE_COOLDOWN_MS: number;
|
|
1001
1160
|
interface IQuestionDeliveryOptions {
|
|
1002
1161
|
/** The person's limits; none stored means the defaults. */
|
|
1003
1162
|
readonly settings: IDeliveryStore<IDeliverySettings>;
|
|
@@ -1013,6 +1172,19 @@ interface IQuestionDeliveryOptions {
|
|
|
1013
1172
|
readonly now?: () => Date;
|
|
1014
1173
|
/** How long a sink may take before its attempt is given up. */
|
|
1015
1174
|
readonly sinkTimeoutMs?: number;
|
|
1175
|
+
/** Whether a held offer is still offered; one that is not is left out of the digest. */
|
|
1176
|
+
readonly offers?: {
|
|
1177
|
+
stillOffered(offerId: string): boolean | Promise<boolean>;
|
|
1178
|
+
};
|
|
1179
|
+
}
|
|
1180
|
+
interface IOfferDeliveryInput {
|
|
1181
|
+
readonly offerId: string;
|
|
1182
|
+
/** The title the host verified; nothing else about the offer is ever sent. */
|
|
1183
|
+
readonly title: string;
|
|
1184
|
+
/** Where the offer came from; one source is pushed at most once per cooldown. */
|
|
1185
|
+
readonly sourceKey: string;
|
|
1186
|
+
/** What the person chose for offers: a push, or only the digest. */
|
|
1187
|
+
readonly mode: 'notify' | 'digest';
|
|
1016
1188
|
}
|
|
1017
1189
|
declare class QuestionDelivery {
|
|
1018
1190
|
private readonly options;
|
|
@@ -1036,13 +1208,22 @@ declare class QuestionDelivery {
|
|
|
1036
1208
|
* say; a push counts toward today's limit only when a sink took it.
|
|
1037
1209
|
*/
|
|
1038
1210
|
onAsked(event: ICaseAskedEvent): Promise<void>;
|
|
1211
|
+
/** The offers held for the digest that are still offered; the others drop out. */
|
|
1212
|
+
private stillOffered;
|
|
1213
|
+
/**
|
|
1214
|
+
* An offer the person chose to receive. It shares the daily limit and quiet hours with questions, and
|
|
1215
|
+
* a source that had one pushed waits a day for the next, so a push is a decision only the person's
|
|
1216
|
+
* limits make. Held offers wait for the digest or stay in the feed. Resolves to what was done: `feed`
|
|
1217
|
+
* also when a push was due but no sink took it.
|
|
1218
|
+
*/
|
|
1219
|
+
onOffer(input: IOfferDeliveryInput): Promise<TDelivery>;
|
|
1039
1220
|
/**
|
|
1040
1221
|
* Called every minute and once at start. Sends the day's one digest when its time has come, outside
|
|
1041
|
-
* quiet hours, and some held question still waits for
|
|
1222
|
+
* quiet hours, and some held question or offer still waits for the person; then forgets what was held and
|
|
1042
1223
|
* records the day, so a digest is attempted once a day.
|
|
1043
1224
|
*/
|
|
1044
1225
|
tick(): Promise<void>;
|
|
1045
|
-
/** The person's limits, how many pushes are used today, and how many questions wait for the digest. */
|
|
1226
|
+
/** The person's limits, how many pushes are used today, and how many questions and offers wait for the digest. */
|
|
1046
1227
|
status(): Promise<IDeliveryStatus>;
|
|
1047
1228
|
/**
|
|
1048
1229
|
* Change the person's limits: only what the change names, refused whole when any part is not valid.
|
|
@@ -1445,6 +1626,25 @@ interface IConnectorDispatchRequest {
|
|
|
1445
1626
|
type TConnectorDispatchAdmission = (dispatch: () => Promise<unknown>, request: IConnectorDispatchRequest) => Promise<{
|
|
1446
1627
|
readonly response: Promise<unknown>;
|
|
1447
1628
|
}>;
|
|
1629
|
+
/** What came of trying to put a typed token in place of the one in use. */
|
|
1630
|
+
type IReplaceTokenOutcome = {
|
|
1631
|
+
readonly replaced: true;
|
|
1632
|
+
readonly status: IConnectorStatus;
|
|
1633
|
+
} | {
|
|
1634
|
+
readonly replaced: false;
|
|
1635
|
+
/** Why the new token was not taken: the service refused it, or could not be reached. */
|
|
1636
|
+
readonly reason: 'rejected' | 'unreachable';
|
|
1637
|
+
/** What the connection stands at: unchanged by the attempt. */
|
|
1638
|
+
readonly status: IConnectorStatus;
|
|
1639
|
+
};
|
|
1640
|
+
/** What the caller does at the moment a replacement is certain to take effect. */
|
|
1641
|
+
interface IReplaceTokenHooks {
|
|
1642
|
+
/**
|
|
1643
|
+
* Called once the service accepted the candidate and before it takes the old token's place. If it
|
|
1644
|
+
* throws, nothing is swapped.
|
|
1645
|
+
*/
|
|
1646
|
+
beforeSwap(): void;
|
|
1647
|
+
}
|
|
1448
1648
|
/**
|
|
1449
1649
|
* One protocol's way to reach a service. The composition root supplies it, because reaching a
|
|
1450
1650
|
* service needs a host (network, files, a browser sign-in), and the pack stays neutral.
|
|
@@ -1461,6 +1661,13 @@ interface IConnectorProtocol {
|
|
|
1461
1661
|
signIn(connector: IConnector, context: ISignInContext): Promise<IConnectorStatus>;
|
|
1462
1662
|
/** Delete the credential first, then ask the service to revoke it. */
|
|
1463
1663
|
signOut(connector: IConnector): Promise<IDisconnectOutcome>;
|
|
1664
|
+
/**
|
|
1665
|
+
* Replace the token in use with a new one the person typed, without disconnecting. The new token is
|
|
1666
|
+
* tried apart from the one in use and takes its place only when the service accepts it; a refusal or an
|
|
1667
|
+
* unreachable service leaves the token, the connection and its status as they were. A protocol that
|
|
1668
|
+
* cannot do this leaves it out.
|
|
1669
|
+
*/
|
|
1670
|
+
replaceToken?(connector: IConnector, token: string, hooks: IReplaceTokenHooks): Promise<IReplaceTokenOutcome>;
|
|
1464
1671
|
tools(connector: IConnector): Promise<readonly IConnectorToolInfo[]>;
|
|
1465
1672
|
call(connector: IConnector, tool: string, args: Readonly<Record<string, unknown>>, options?: {
|
|
1466
1673
|
readonly signal?: AbortSignal;
|
|
@@ -1604,6 +1811,12 @@ declare class ConnectorRegistry {
|
|
|
1604
1811
|
list(): Promise<readonly IConnectorView[]>;
|
|
1605
1812
|
/** Start the person's sign-in; the answer says where their browser goes. */
|
|
1606
1813
|
signIn(id: string, context: ISignInContext): Promise<IConnectorStatus>;
|
|
1814
|
+
/**
|
|
1815
|
+
* Replace the token a `token` connector holds with a new one, keeping the connection. Only the
|
|
1816
|
+
* registry is asked, so a connector that does not sign in with a token, or a protocol that cannot
|
|
1817
|
+
* try a token apart from the one in use, is refused here and nowhere else.
|
|
1818
|
+
*/
|
|
1819
|
+
replaceToken(id: string, token: string, hooks: IReplaceTokenHooks): Promise<IReplaceTokenOutcome>;
|
|
1607
1820
|
disconnect(id: string): Promise<IDisconnectOutcome>;
|
|
1608
1821
|
/** Disconnect and forget a connector: the credential is deleted before anything else. */
|
|
1609
1822
|
remove(id: string): Promise<IDisconnectOutcome>;
|
|
@@ -1635,6 +1848,7 @@ declare const CONNECTOR_TOOL_NAMES: {
|
|
|
1635
1848
|
readonly read: "ConnectorRead";
|
|
1636
1849
|
readonly act: "ConnectorAct";
|
|
1637
1850
|
readonly keep: "ConnectorKeep";
|
|
1851
|
+
readonly progress: "ConnectorSyncProgress";
|
|
1638
1852
|
};
|
|
1639
1853
|
/**
|
|
1640
1854
|
* The arguments of a remote tool arrive as JSON text: a tool's own input is whatever its service
|
|
@@ -1670,12 +1884,38 @@ declare const SYNC_MIN_MINUTES = 15;
|
|
|
1670
1884
|
declare const SYNC_MAX_MINUTES: number;
|
|
1671
1885
|
/**
|
|
1672
1886
|
* The only tools a sync run has. Content from the service is written by others, so a run can read it,
|
|
1673
|
-
* look in the library, add what it finds
|
|
1674
|
-
* else: it cannot change the service, reach the web or the files,
|
|
1675
|
-
* person said or set up goals. The case tools touch only the
|
|
1676
|
-
*
|
|
1887
|
+
* look in the library, add what it finds, keep a case on what the person should be asked and propose a task
|
|
1888
|
+
* offer the host will check, and nothing else: it cannot change the service, reach the web or the files,
|
|
1889
|
+
* drive the browser, rewrite what the person said or set up goals. The case and offer tools touch only the
|
|
1890
|
+
* agent's own record and the feed, and the progress tool only reports how far the run read, to a host that
|
|
1891
|
+
* checks the report. It is a list of what is allowed, not of what is withheld: a tool added
|
|
1892
|
+
* later is then not offered until it is named.
|
|
1677
1893
|
*/
|
|
1678
1894
|
declare function syncRunTools(): string[];
|
|
1895
|
+
/** What a run reports about how far it read; the host decides what it counts for. */
|
|
1896
|
+
interface ISyncProgressReport {
|
|
1897
|
+
readonly connector: string;
|
|
1898
|
+
/** The receipt time of the last item the run fully handled. */
|
|
1899
|
+
readonly through?: string;
|
|
1900
|
+
/** Whether the run reached the end of what the service had from its start point on. */
|
|
1901
|
+
readonly complete: boolean;
|
|
1902
|
+
}
|
|
1903
|
+
type TSyncProgressAnswer = {
|
|
1904
|
+
readonly recorded: true;
|
|
1905
|
+
} | {
|
|
1906
|
+
readonly recorded: false;
|
|
1907
|
+
readonly reason: string;
|
|
1908
|
+
};
|
|
1909
|
+
/** Where a run's report goes: the host checks it and keeps it. */
|
|
1910
|
+
interface ISyncProgressPort {
|
|
1911
|
+
record(report: ISyncProgressReport): Promise<TSyncProgressAnswer>;
|
|
1912
|
+
}
|
|
1913
|
+
/**
|
|
1914
|
+
* The tool a sync run ends with to say how far it read. It changes nothing at the service and nothing the
|
|
1915
|
+
* person said: it hands the report to a port the host supplies, which checks it against the run and decides
|
|
1916
|
+
* whether the next run starts later. Reading less than the limit allowed is not a reason to say complete.
|
|
1917
|
+
*/
|
|
1918
|
+
declare function createSyncProgressTool(port: ISyncProgressPort): FunctionTool;
|
|
1679
1919
|
/** What a sync run is asked, as the goal's own text: short, and shown to the person with the goal. */
|
|
1680
1920
|
declare function syncGoalPrompt(connector: IConnector): string;
|
|
1681
1921
|
/**
|
|
@@ -1698,7 +1938,11 @@ interface IConnectorSyncStatus {
|
|
|
1698
1938
|
declare class ConnectorSync {
|
|
1699
1939
|
private readonly goals;
|
|
1700
1940
|
private readonly halt?;
|
|
1701
|
-
|
|
1941
|
+
/** Runs when a connector's sync is turned off, whether or not it was on: what a host kept for it goes too. */
|
|
1942
|
+
private readonly afterDisable?;
|
|
1943
|
+
constructor(goals: GoalBook, halt?: ((goalId: string) => Promise<void>) | undefined,
|
|
1944
|
+
/** Runs when a connector's sync is turned off, whether or not it was on: what a host kept for it goes too. */
|
|
1945
|
+
afterDisable?: ((connectorId: string) => void | Promise<void>) | undefined);
|
|
1702
1946
|
private goalOf;
|
|
1703
1947
|
status(connectorId: string): Promise<IConnectorSyncStatus | undefined>;
|
|
1704
1948
|
/** Turn sync on, or change how often it runs; a new sync is due at once, a changed one keeps its place. */
|
|
@@ -1707,5 +1951,5 @@ declare class ConnectorSync {
|
|
|
1707
1951
|
disable(connectorId: string): Promise<boolean>;
|
|
1708
1952
|
}
|
|
1709
1953
|
//#endregion
|
|
1710
|
-
export { ATTENTION_MAX_CHARACTERS, BROWSER_INSTRUCTIONS, BROWSER_LISTENING_MS, BROWSER_OUTBOX_CAPACITY, BROWSER_TOOL_NAMES, BrowserNavigationRefusedError, BrowserOutbox, BrowserUnavailableError, CASE_INSTRUCTIONS, CASE_TOOL_NAMES, CASE_URGENCIES, CONNECTOR_AUTHS, CONNECTOR_INSTRUCTIONS, CONNECTOR_KINDS, CONNECTOR_TOOL_NAMES, CaseBook, CaseRefusedError, ConnectorBook, ConnectorRefusedError, ConnectorRegistry, ConnectorSync, DAILY_LIMIT_MAX, DEFAULT_DELIVERY_SETTINGS, DeliveryRefusedError, GOAL_INSTRUCTIONS, GOAL_TOOL_NAMES, GoalBook, GoalRefusedError, type IAnswerInput, type IAskInput, type IBrowserActionResult, type IBrowserMark, type IBrowserNotification, type IBrowserOutboxOptions, type IBrowserPort, type IBrowserSnapshot, type IBrowserView, type ICase, type ICaseAnswerEvent, type ICaseAskedEvent, type ICaseBookOptions, type ICaseEvent, type ICaseNote, type ICaseOrigin, type ICaseQuestion, type ICaseStore, type IChannelAdapter, type IChannelApprovalAnswer, type IChannelApprovalRequest, type IChannelBinding, type IChannelCapabilities, type IChannelHandler, type IChannelHub, type IChannelHubOptions, type IChannelMessage, type IClaim, type IClaimSource, type IConnector, type IConnectorCallResult, type IConnectorCatalogEntry, type IConnectorDispatchRequest, type IConnectorProtocol, type IConnectorRegistryOptions, type IConnectorStatus, type IConnectorStore, type IConnectorSyncStatus, type IConnectorToolHints, type IConnectorToolInfo, type IConnectorToolView, type IConnectorView, type ICreateConnectorInput, type ICreateGoalInput, IDEA_INSTRUCTIONS, IDEA_TOOL_NAMES, type IDecideDeliveryInput, type IDeliveryFeed, type IDeliveryMessage, type IDeliverySettings, type IDeliverySink, type IDeliveryState, type IDeliveryStatus, type IDeliveryStore, type IDigestSchedule, type IDisconnectOutcome, type IFeedItem, type IFeedQuestion, type IFixtureChannel, type IGoal, type IGoalAction, type IGoalBookOptions, type IGoalRun, type IGoalStore, type IHeldSubmission, type IIdea, type IIdeaBookOptions, type IIdeaStore, type IKnowledgeStore, type IKnowledgeWikiOptions, type ILintReport, type INotificationAddressOptions, type INotificationAddressView, type IOpenCaseInput, type IQuestionAnswer, type IQuestionDeliveryOptions, type IQuietHours, type IRememberInput, type IRememberResult, type ISearchHit, type ISignInContext, type ISpace, type ISpacePage, type ISpaceStore, type IWebhookRequest, type IWebhookStore, type IWebhookTarget, type IWebhookTransport, type IWikiLogEntry, type IWikiPage, IdeaBook, IdeaRefusedError, KnowledgeWiki, NotificationAddress, PAGE_KINDS, QuestionDelivery, SYNC_MAX_MINUTES, SYNC_MIN_MINUTES, SensitiveContentRefusedError, SpaceBook, SpaceRefusedError, type TApprovalState, type TCaseEventKind, type TCaseState, type TCaseUrgency, type TChannelApprovalAnswer, type TChannelTurn, type TClaimOrigin, type TConnectorAuth, type TConnectorDispatchAdmission, type TConnectorKind, type TConnectorState, type TDelivery, type TFeedKind, type TGoalRunOutcome, type TGoalStatus, type TIdeaOrigin, type TIdeaStatus, type TPageKind, type TQuestionState, type TRevocation, type TToolAccess, type TToolDecision, type TWebhookAnswer, type TWebhookFormat, type TWikiLogAction, WEBHOOK_FORMATS, WIKI_INSTRUCTIONS, WIKI_TOOL_NAMES, caseTurnInstructions, caseTurnPrompt, caseTurnTools, catalogEntriesFromRegistry, catalogEntryOf, classifyTool, connectorReference, countPulled, createBrowserTools, createCaseTools, createChannelHub, createConnectorKeepTool, createConnectorTools, createFileCaseStore, createFileConnectorStore, createFileDeliveryStores, createFileGoalStore, createFileIdeaStore, createFileKnowledgeStore, createFileSpaceStore, createFileWebhookStore, createFixtureChannel, createGoalTools, createIdeaTools, createMemoryCaseStore, createMemoryConnectorStore, createMemoryDeliveryStore, createMemoryGoalStore, createMemoryIdeaStore, createMemoryKnowledgeStore, createMemorySpaceStore, createMemoryWebhookStore, createWikiTools, decideDelivery, defaultAttention, effectiveAttention, forgetPulled, goalRunInstructions, originOfConnector, pageIdFor, parseConnectorArguments, parseNotificationAddress, renderGoal, renderPageForModel, renderPageMarkdown, renderView, splitForChannel, syncGoalPrompt, syncRunInstructions, syncRunTools, webhookMessage };
|
|
1954
|
+
export { ATTENTION_MAX_CHARACTERS, BROWSER_INSTRUCTIONS, BROWSER_LISTENING_MS, BROWSER_OUTBOX_CAPACITY, BROWSER_TOOL_NAMES, BrowserNavigationRefusedError, BrowserOutbox, BrowserUnavailableError, CASE_INSTRUCTIONS, CASE_TOOL_NAMES, CASE_URGENCIES, CONNECTOR_AUTHS, CONNECTOR_INSTRUCTIONS, CONNECTOR_KINDS, CONNECTOR_TOOL_NAMES, CaseBook, CaseRefusedError, ConnectorBook, ConnectorRefusedError, ConnectorRegistry, ConnectorSync, DAILY_LIMIT_MAX, DEFAULT_DELIVERY_SETTINGS, DeliveryRefusedError, FORGOTTEN_MARKER, GOAL_INSTRUCTIONS, GOAL_TOOL_NAMES, GoalBook, GoalRefusedError, type IAnswerInput, type IAskInput, type IBrowserActionResult, type IBrowserMark, type IBrowserNotification, type IBrowserOutboxOptions, type IBrowserPort, type IBrowserSnapshot, type IBrowserView, type ICase, type ICaseAnswerEvent, type ICaseAskedEvent, type ICaseBookOptions, type ICaseEvent, type ICaseNote, type ICaseOrigin, type ICaseQuestion, type ICaseStore, type IChannelAdapter, type IChannelApprovalAnswer, type IChannelApprovalRequest, type IChannelBinding, type IChannelCapabilities, type IChannelHandler, type IChannelHub, type IChannelHubOptions, type IChannelMessage, type IClaim, type IClaimSource, type IConnector, type IConnectorCallResult, type IConnectorCatalogEntry, type IConnectorDispatchRequest, type IConnectorProtocol, type IConnectorRegistryOptions, type IConnectorStatus, type IConnectorStore, type IConnectorSyncStatus, type IConnectorToolHints, type IConnectorToolInfo, type IConnectorToolView, type IConnectorView, type ICreateConnectorInput, type ICreateGoalInput, IDEA_INSTRUCTIONS, IDEA_TOOL_NAMES, type IDecideDeliveryInput, type IDeliveryFeed, type IDeliveryMessage, type IDeliverySettings, type IDeliverySink, type IDeliveryState, type IDeliveryStatus, type IDeliveryStore, type IDigestSchedule, type IDisconnectOutcome, type IFeedItem, type IFeedQuestion, type IFixtureChannel, type IForgetReach, type IForgetReachReport, type IForgetResult, type IForgottenText, type IGoal, type IGoalAction, type IGoalBookOptions, type IGoalRun, type IGoalStore, type IHeldSubmission, type IIdea, type IIdeaBookOptions, type IIdeaStore, type IKnowledgeStore, type IKnowledgeWikiOptions, type ILintReport, type INotificationAddressOptions, type INotificationAddressView, type IOfferCandidate, type IOfferDeliveryInput, type IOfferProposer, type IOfferSourceRef, type IOpenCaseInput, type IPendingOffer, type IQuestionAnswer, type IQuestionDeliveryOptions, type IQuietHours, type IRememberInput, type IRememberResult, type IReplaceTokenHooks, type IReplaceTokenOutcome, type ISearchHit, type ISignInContext, type ISpace, type ISpacePage, type ISpaceStore, type ISyncProgressPort, type ISyncProgressReport, type IWebhookRequest, type IWebhookStore, type IWebhookTarget, type IWebhookTransport, type IWikiLogEntry, type IWikiPage, IdeaBook, IdeaRefusedError, KnowledgeWiki, NotificationAddress, OFFER_SOURCE_COOLDOWN_MS, OFFER_TOOL_NAMES, PAGE_KINDS, QuestionDelivery, SYNC_MAX_MINUTES, SYNC_MIN_MINUTES, SensitiveContentRefusedError, SpaceBook, SpaceRefusedError, type TApprovalState, type TCaseEventKind, type TCaseState, type TCaseUrgency, type TChannelApprovalAnswer, type TChannelTurn, type TClaimOrigin, type TConnectorAuth, type TConnectorDispatchAdmission, type TConnectorKind, type TConnectorState, type TDelivery, type TFeedKind, type TForgetTarget, type TGoalRunOutcome, type TGoalStatus, type TIdeaOrigin, type TIdeaStatus, type TOfferProposal, type TPageKind, type TQuestionState, type TRevocation, type TSyncProgressAnswer, type TToolAccess, type TToolDecision, type TWebhookAnswer, type TWebhookFormat, type TWikiLogAction, WEBHOOK_FORMATS, WIKI_INSTRUCTIONS, WIKI_TOOL_NAMES, carriesSecretValue, caseTurnInstructions, caseTurnPrompt, caseTurnTools, catalogEntriesFromRegistry, catalogEntryOf, classifyTool, connectorReference, countPulled, createBrowserTools, createCaseTools, createChannelHub, createConnectorKeepTool, createConnectorTools, createFileCaseStore, createFileConnectorStore, createFileDeliveryStores, createFileGoalStore, createFileIdeaStore, createFileKnowledgeStore, createFileSpaceStore, createFileWebhookStore, createFixtureChannel, createForgottenTextRedactor, createGoalTools, createIdeaTools, createMemoryCaseStore, createMemoryConnectorStore, createMemoryDeliveryStore, createMemoryGoalStore, createMemoryIdeaStore, createMemoryKnowledgeStore, createMemorySpaceStore, createMemoryWebhookStore, createOfferTools, createSyncProgressTool, createWikiTools, decideDelivery, defaultAttention, effectiveAttention, forgetPulled, goalRunInstructions, isSpecificText, originOfConnector, pageIdFor, parseConnectorArguments, parseNotificationAddress, renderGoal, renderPageForModel, renderPageMarkdown, renderView, splitForChannel, syncGoalPrompt, syncRunInstructions, syncRunTools, webhookMessage };
|
|
1711
1955
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/personal/knowledge/types.ts","../../src/personal/knowledge/wiki.ts","../../src/personal/knowledge/file-store.ts","../../src/personal/knowledge/memory-store.ts","../../src/personal/knowledge/render.ts","../../src/personal/knowledge/tools.ts","../../src/personal/browser/types.ts","../../src/personal/browser/tools.ts","../../src/personal/goals/types.ts","../../src/personal/goals/goal-book.ts","../../src/personal/cases/types.ts","../../src/personal/cases/case-book.ts","../../src/personal/cases/stores.ts","../../src/personal/cases/tools.ts","../../src/personal/cases/turn.ts","../../src/personal/delivery/types.ts","../../src/personal/delivery/policy.ts","../../src/personal/delivery/browser-outbox.ts","../../src/personal/delivery/notification-address.ts","../../src/personal/delivery/question-delivery.ts","../../src/personal/delivery/stores.ts","../../src/personal/goals/file-store.ts","../../src/personal/goals/memory-store.ts","../../src/personal/goals/tools.ts","../../src/personal/ideas/ideas.ts","../../src/personal/ideas/tools.ts","../../src/personal/channels/types.ts","../../src/personal/channels/hub.ts","../../src/personal/channels/fixture.ts","../../src/personal/spaces/spaces.ts","../../src/personal/connectors/types.ts","../../src/personal/connectors/book.ts","../../src/personal/connectors/attention.ts","../../src/personal/connectors/catalog.ts","../../src/personal/connectors/registry.ts","../../src/personal/connectors/tools.ts","../../src/personal/connectors/keep.ts","../../src/personal/connectors/sync.ts"],"mappings":";;;;;;;;;;KASY;cAGC,qBAAqB;;;;;KAetB;UAEK;;WAEN;WACA,QAAQ;;WAER;;WAEA;;UAGM;WACN;WACA;WACA,QAAQ;;WAER;;WAEA;;WAEA;;UAGM;;WAEN;WACA;WACA,MAAM;WACN,iBAAiB;;WAEjB;WACA;WACA;;KAGC;UAGK;WACN;WACA,QAAQ;WACR;WACA;;WAEA;;WAEA;;;UAIM;EACf,aAAa,iBAAiB;EAC9B,QAAQ,aAAa,QAAQ;EAC7B,QAAQ,MAAM,YAAY;EAC1B,WAAW,aAAa;EACxB,UAAU,OAAO,gBAAgB;EACjC,QAAQ,gBAAgB,iBAAiB;;EAEzC,WAAW,OAAO,OAAO,4BAA4B;;;;cC3D1C,qCAAqC;EAAA;;UAOjC;WACN;WACA,OAAO;WACP;WACA,QAAQ,KAAK;;WAEb;;WAEA;;UAGM;WACN;WACA;WACA;;UAGM;WACN,MAAM;WACN;;UAGM;;WAEN;IAA2B;IAAgB;;;WAE3C;IAAkB;IAAgB;;;WAElC;;WAEA;IAAyB;IAAc;;;UAGjC;WACN,OAAO;WACP,YAAY;;WAEZ;;iBAOK,UAAU;cAuBb;mBACM;mBACA;mBACA;UACT;EAEI,YAAA,SAAS;UAMb;EAKF,SAAS,KAAK,iBAAiB,QAAQ;;;;;;EASvC,sBAAsB,KAAK,iBAAiB,QAAQ;UAa5C;EAyER,KAAK,aAAa,QAAQ;EAI1B,QAAQ,iBAAiB;EAKzB,OAAO,eAAe,iBAAY,iBAAiB;;EAyBnD,OAAO,eAAe,iBAAY;;EAOlC,IAAI,iBAAc,i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;;;iBAS1B,oBAAoB,WAAW,YAAY;UAkB1C;WACN;WACA;WACA,QAAQ;WACR;WACA;;;;;;cAOE;mBAEQ;mBACA;EADA,YAAA,OAAO,UACP,SAAQ,mBAAmB;UAGhC;EAIR,OAAO,sBAAsB,QAAQ;;EAarC,OAAO,WAAW,YAAY,uBAAuB,QAAQ;;EAyB7D,QAAQ,sBAAsB"}
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/personal/knowledge/types.ts","../../src/personal/knowledge/wiki.ts","../../src/personal/knowledge/file-store.ts","../../src/personal/knowledge/memory-store.ts","../../src/personal/knowledge/redaction.ts","../../src/personal/knowledge/render.ts","../../src/personal/knowledge/tools.ts","../../src/personal/browser/types.ts","../../src/personal/browser/tools.ts","../../src/personal/goals/types.ts","../../src/personal/goals/goal-book.ts","../../src/personal/cases/types.ts","../../src/personal/cases/case-book.ts","../../src/personal/cases/stores.ts","../../src/personal/cases/tools.ts","../../src/personal/cases/turn.ts","../../src/personal/secret-values.ts","../../src/personal/offers/types.ts","../../src/personal/offers/tools.ts","../../src/personal/delivery/types.ts","../../src/personal/delivery/policy.ts","../../src/personal/delivery/browser-outbox.ts","../../src/personal/delivery/notification-address.ts","../../src/personal/delivery/question-delivery.ts","../../src/personal/delivery/stores.ts","../../src/personal/goals/file-store.ts","../../src/personal/goals/memory-store.ts","../../src/personal/goals/tools.ts","../../src/personal/ideas/ideas.ts","../../src/personal/ideas/tools.ts","../../src/personal/channels/types.ts","../../src/personal/channels/hub.ts","../../src/personal/channels/fixture.ts","../../src/personal/spaces/spaces.ts","../../src/personal/connectors/types.ts","../../src/personal/connectors/book.ts","../../src/personal/connectors/attention.ts","../../src/personal/connectors/catalog.ts","../../src/personal/connectors/registry.ts","../../src/personal/connectors/tools.ts","../../src/personal/connectors/keep.ts","../../src/personal/connectors/sync.ts"],"mappings":";;;;;;;;;;KASY;cAGC,qBAAqB;;;;;KAetB;UAEK;;WAEN;WACA,QAAQ;;WAER;;WAEA;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