@agentchatme/agent-core 0.7.0 → 0.7.3
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/README.md +35 -11
- package/dist/{chunk-C2ARQLZ7.js → chunk-5KMQ23O6.js} +11 -7
- package/dist/chunk-5KMQ23O6.js.map +1 -0
- package/dist/{chunk-PTKQIKCI.js → chunk-7TTV2CQX.js} +3 -3
- package/dist/{chunk-PTKQIKCI.js.map → chunk-7TTV2CQX.js.map} +1 -1
- package/dist/{chunk-NYSMAN4N.js → chunk-FPAOQGMV.js} +534 -78
- package/dist/chunk-FPAOQGMV.js.map +1 -0
- package/dist/daemon-entry.d.ts +56 -7
- package/dist/daemon-entry.js +81 -10
- package/dist/daemon-entry.js.map +1 -1
- package/dist/index.d.ts +143 -51
- package/dist/index.js +180 -309
- package/dist/index.js.map +1 -1
- package/dist/presets.d.ts +65 -19
- package/dist/presets.js +66 -9
- package/dist/presets.js.map +1 -1
- package/dist/{runner-BjCgl4bV.d.ts → runner-BLvFalN4.d.ts} +17 -5
- package/dist/{served-manual-RAIaRcr2.d.ts → served-manual-CwxBzpwQ.d.ts} +199 -4
- package/package.json +2 -2
- package/dist/chunk-C2ARQLZ7.js.map +0 -1
- package/dist/chunk-NYSMAN4N.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { I as IntegrationClient, H as HostProfile,
|
|
2
|
-
export { C as CheckManualOptions,
|
|
1
|
+
import { I as IntegrationClient, H as HostProfile, e as Lease, L as LeaseOptions, f as LeaseAttempt, g as LeaseHolder } from './served-manual-CwxBzpwQ.js';
|
|
2
|
+
export { a as AnchorLoadNote, A as AnchorServedLine, C as CheckManualOptions, h as Credentials, D as DEFAULT_API_BASE, i as DoctorCheck, j as DoctorContext, F as FAILED_CYCLE_OUTCOMES, k as FollowIdentityAnchorOptions, l as IDENTITY_ANCHOR_ATTEMPTS, m as INTEGRATION_STATUS_FILE, n as INTEGRATION_STATUS_STALE_MS, o as IdentityAnchorOutcome, p as IdentityAnchorResult, q as IdentityBlockState, r as IdentityBlockStateName, s as IdentityBlockStateOptions, t as IntegrationCouldNotProcess, u as IntegrationCycle, v as IntegrationIdentityLine, w as IntegrationLastRun, x as IntegrationPausedConversation, d as IntegrationRunsFailing, y as IntegrationStandby, c as IntegrationStatus, z as IntegrationUnservable, B as LEASE_RENEW_MS, E as LEASE_STALE_MS, G as LEGACY_STATUS_FILE, J as MANUAL, K as MANUAL_FETCH_TIMEOUT_MS, N as MANUAL_FILENAME, O as MANUAL_MAX_BYTES, P as MANUAL_MAX_REDIRECTS, Q as MANUAL_SKILL_NAME, R as MANUAL_URL, T as ManualCheck, U as ManualCheckState, b as ManualFetch, M as ManualPointer, V as ManualSyncResult, W as ManualSyncState, X as PendingRegistration, Y as PendingSignup, Z as REPEATED_FAILED_CYCLES, _ as ResolveIdentityOptions, $ as ResolvedIdentity, a0 as SOCKET_STATES, a1 as ServedManual, S as SocketState, a2 as StatusContext, a3 as SyncManualOptions, a4 as TextsStatus, a5 as Verdict, a6 as acquireLease, a7 as anchorLabelOf, a8 as bootedAt, a9 as checkManual, aa as clearCredentials, ab as clearIntegrationStatus, ac as clearPending, ad as clientHeadersOf, ae as clientIdentityOf, af as clientNameOf, ag as credentialsPath, ah as describeCouldNotProcessCounts, ai as describeIdentityBlock, aj as describeManualSync, ak as describePausedConversations, al as envApiKey, am as envKeyConflict, an as failedCyclesInARow, ao as followIdentityAnchor, ap as formatIntegrationStatus, aq as fromKitResult, ar as holderLive, as as identityBlockState, at as integrationStatusAge, au as integrationStatusFresh, av as integrationStatusPath, aw as integrationStatusStaleFor, ax as leaseHolder, ay as manualFrontMatter, az as manualPointer, aA as manualVersion, aB as parseLease, aC as pendingPath, aD as pidAlive, aE as readCredentials, aF as readIntegrationStatus, aG as readManualVersion, aH as readPending, aI as repeatedFailedRuns, aJ as resetLeaseObservations, aK as resolveIdentity, aL as resolveManualPointer, aM as runtimeCheckFailingNow, aN as servedManualUrl, aO as statePath, aP as syncManual, aQ as writeCredentials, aR as writeIntegrationStatus, aS as writePending } from './served-manual-CwxBzpwQ.js';
|
|
3
3
|
import { AgentChatClient, Texts, TextsRuntime, integration } from 'agentchatme';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import { g as RunRequest } from './runner-
|
|
6
|
-
export { D as DEFAULT_RUN_BUDGET_MS, k as DEFAULT_RUN_PROFILE, F as FALLBACK_RUN_PROFILE, I as INTEGRATION_ENV, l as INTEGRATION_ENV_LEGACY, m as INTEGRATION_ENV_LEGACY_REMOVAL, O as OWN_RUN_WARNING, P as PEER_RUN_WARNING, n as RUN_BUDGET_ENV, o as RUN_PROFILES, p as RUN_PROFILE_ENV, d as RunKind, c as RunOutcome, e as RunOutcomeState, f as RunPreflight, q as RunPreflightOptions, a as RunProfile, b as RunRunner, h as RunWake, i as RunnerFactory, j as RunnerIdentity, R as RunnerSource, r as describeRunProfile, s as integrationDisabled, t as integrationDisabledBy, u as isRunProfile, v as isRunnerFactory, w as ownProfileLine, x as resolveRunBudgetMs, y as resolveRunProfile, z as runProfileWarning, A as workdirExposesHome } from './runner-
|
|
5
|
+
import { g as RunRequest } from './runner-BLvFalN4.js';
|
|
6
|
+
export { D as DEFAULT_RUN_BUDGET_MS, k as DEFAULT_RUN_PROFILE, F as FALLBACK_RUN_PROFILE, I as INTEGRATION_ENV, l as INTEGRATION_ENV_LEGACY, m as INTEGRATION_ENV_LEGACY_REMOVAL, O as OWN_RUN_WARNING, P as PEER_RUN_WARNING, n as RUN_BUDGET_ENV, o as RUN_PROFILES, p as RUN_PROFILE_ENV, d as RunKind, c as RunOutcome, e as RunOutcomeState, f as RunPreflight, q as RunPreflightOptions, a as RunProfile, b as RunRunner, h as RunWake, i as RunnerFactory, j as RunnerIdentity, R as RunnerSource, r as describeRunProfile, s as integrationDisabled, t as integrationDisabledBy, u as isRunProfile, v as isRunnerFactory, w as ownProfileLine, x as resolveRunBudgetMs, y as resolveRunProfile, z as runProfileWarning, A as workdirExposesHome } from './runner-BLvFalN4.js';
|
|
7
7
|
import { spawn, spawnSync } from 'node:child_process';
|
|
8
8
|
|
|
9
9
|
/** Published package version, kept in lockstep with package.json by tests. */
|
|
10
|
-
declare const VERSION = "0.7.
|
|
10
|
+
declare const VERSION = "0.7.3";
|
|
11
11
|
|
|
12
12
|
type TrayClient = Pick<AgentChatClient, 'inbox'>;
|
|
13
13
|
interface TraySummary {
|
|
@@ -91,29 +91,6 @@ declare function offerDeclined(home: string): boolean;
|
|
|
91
91
|
/** Cleared when an identity is established, so a later logout asks again. */
|
|
92
92
|
declare function clearOfferDeclined(home: string): void;
|
|
93
93
|
|
|
94
|
-
declare const MANUAL_URL = "https://agentchat.me/skill.md";
|
|
95
|
-
/** The skill name every runtime sees: `<skills dir>/agentchat/SKILL.md`. */
|
|
96
|
-
declare const MANUAL_SKILL_NAME = "agentchat";
|
|
97
|
-
declare const MANUAL_FILENAME = "SKILL.md";
|
|
98
|
-
/** The bundled copy, byte for byte (the fallback; the served manual is the source). */
|
|
99
|
-
declare const MANUAL: string;
|
|
100
|
-
/**
|
|
101
|
-
* The YAML front matter's top-level `key: value` fields, or null when the text
|
|
102
|
-
* does not open with a front matter block. Deliberately not a YAML parser:
|
|
103
|
-
* the manual's front matter is flat, and nothing here interprets more of a
|
|
104
|
-
* downloaded text than its name and version. A leading byte-order mark and
|
|
105
|
-
* CRLF line endings (a file saved by a Windows editor) read the same as LF.
|
|
106
|
-
*/
|
|
107
|
-
declare function manualFrontMatter(raw: string): ReadonlyMap<string, string> | null;
|
|
108
|
-
/** The `version:` field of the manual's YAML front matter, or null. */
|
|
109
|
-
declare function manualVersion(text?: string): string | null;
|
|
110
|
-
/**
|
|
111
|
-
* The one pointer line a run prompt ends with. `location` is how THIS runtime
|
|
112
|
-
* reaches its copy of the manual (a skill name, a path) — the integration knows
|
|
113
|
-
* that, this package does not.
|
|
114
|
-
*/
|
|
115
|
-
declare function manualPointer(location: string): string;
|
|
116
|
-
|
|
117
94
|
/** The identity line, ready to place, from a served (or cached) texts response. */
|
|
118
95
|
declare function identityLineOf(texts: Pick<Texts, 'identity_line'>): string;
|
|
119
96
|
/** Handles are canonical lowercase on the wire; a leading `@` is display only. The kit's (`integration.anchor.normalizeHandle`). */
|
|
@@ -154,6 +131,16 @@ declare function renderUnregisteredBlock(copy: HostCopy): string;
|
|
|
154
131
|
* gives no instruction to act on, so there is nothing to nag with.
|
|
155
132
|
*/
|
|
156
133
|
declare function renderDeclinedBlock(copy: HostCopy): string;
|
|
134
|
+
/**
|
|
135
|
+
* Whether a block's body (between the fences, as `kit.anchor.find` reads it)
|
|
136
|
+
* is the wizard's: the offer (its first line is `UNREGISTERED_HEADING`) or
|
|
137
|
+
* the silent variant (`DECLINED_HEADING`, then a line that opens with the
|
|
138
|
+
* variant's first sentence). Whatever host wrote it: the host's name is not
|
|
139
|
+
* part of what is compared. Neither carries a handle; registering replaces
|
|
140
|
+
* them (`writeAnchor`), and nothing that follows the served texts touches
|
|
141
|
+
* either (`followIdentityAnchor`).
|
|
142
|
+
*/
|
|
143
|
+
declare function isSetupOfferBody(body: string): boolean;
|
|
157
144
|
|
|
158
145
|
declare const ANCHOR_START: string;
|
|
159
146
|
declare const ANCHOR_END: string;
|
|
@@ -165,20 +152,125 @@ declare const ANCHOR_END: string;
|
|
|
165
152
|
* line of it is a marker. Nothing is written then.
|
|
166
153
|
*/
|
|
167
154
|
declare function renderAnchorBlock(identityLine: string, handle: string): string;
|
|
168
|
-
|
|
155
|
+
/** `kept`: the file holds a block that is not this agent's (nor the setup offer), and nothing was written. */
|
|
156
|
+
type AnchorAction = 'written' | 'removed' | 'noop' | 'kept';
|
|
169
157
|
/**
|
|
170
|
-
* Put `block` in the file at `filePath
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
158
|
+
* Put `block` in the file at `filePath` — only where it takes nothing of
|
|
159
|
+
* anyone's: after the file's own text when there is no AgentChat block, or in
|
|
160
|
+
* place of the setup offer (or its declined variant), or — with
|
|
161
|
+
* `expectHandle` — in place of that agent's own block (the kit's strict
|
|
162
|
+
* `owner`). Any other block (edited by hand, another agent's, more than one
|
|
163
|
+
* block) is left exactly as it is, and the result is `kept`. Creates the file
|
|
164
|
+
* if needed. The rest of the file is kept as it was (the blank lines next to
|
|
165
|
+
* the block become exactly one; line breaks, whether it ends with one, a
|
|
166
|
+
* byte-order mark); the write is atomic (see `writeInstructionFile`).
|
|
167
|
+
* Placing the identity line follows its own policy (`placeAnchorAt`).
|
|
175
168
|
*
|
|
176
169
|
* With `expectHandle`, throws — writing nothing — unless the block names that
|
|
177
170
|
* handle, and throws if the file does not read back as written.
|
|
178
171
|
*/
|
|
179
172
|
declare function writeAnchor(filePath: string, block: string, expectHandle?: string): AnchorAction;
|
|
180
|
-
/**
|
|
181
|
-
|
|
173
|
+
/**
|
|
174
|
+
* - `placed` — there was no AgentChat block (or only the setup offer): the identity block is in the file now;
|
|
175
|
+
* - `updated` — this agent's block held other text, or the served text in an older shape: it holds the served block now;
|
|
176
|
+
* - `unchanged` — it already is the served block;
|
|
177
|
+
* - `replaced_other` — (setup) another agent's block was there: it is this agent's now, and said;
|
|
178
|
+
* - `other_agent` — (repair) another agent's block is there: left as it is;
|
|
179
|
+
* - `hand_edited` — the block is not AgentChat's (edited by hand): left as it is;
|
|
180
|
+
* - `several_blocks` — more than one AgentChat block: left as it is;
|
|
181
|
+
* - `failed` — the served line does not name this agent (or holds a marker line): nothing written.
|
|
182
|
+
*/
|
|
183
|
+
type PlaceAnchorOutcome = 'placed' | 'updated' | 'unchanged' | 'replaced_other' | 'other_agent' | 'hand_edited' | 'several_blocks' | 'failed';
|
|
184
|
+
interface PlaceAnchorOptions {
|
|
185
|
+
readonly handle: string;
|
|
186
|
+
/** The served identity line for this agent. */
|
|
187
|
+
readonly identityLine: string;
|
|
188
|
+
/** The served `identity_line_template`, when in hand: a block with no handle line in exactly its words is AgentChat's. */
|
|
189
|
+
readonly template?: string | null;
|
|
190
|
+
/**
|
|
191
|
+
* `setup` (install, register, login, recover): another agent's block is
|
|
192
|
+
* replaced, and said — the key just set is the agent this file is for.
|
|
193
|
+
* `repair` (`doctor --fix`): another agent's block is refused — the key or
|
|
194
|
+
* the file is wrong, and which is for the person to say.
|
|
195
|
+
*/
|
|
196
|
+
readonly mode: 'setup' | 'repair';
|
|
197
|
+
/** The command that repairs, as the user types it (`npx -y @agentchatme/example doctor --fix`), for the remedy a left block names. */
|
|
198
|
+
readonly fix?: string;
|
|
199
|
+
}
|
|
200
|
+
interface PlaceAnchorResult {
|
|
201
|
+
readonly outcome: PlaceAnchorOutcome;
|
|
202
|
+
/** Something was written. */
|
|
203
|
+
readonly written: boolean;
|
|
204
|
+
/** The handle the block in the file was AgentChat's for, before (for `replaced_other` / `other_agent`, the other agent's); null otherwise. */
|
|
205
|
+
readonly claimed: string | null;
|
|
206
|
+
/** What happened, in words, naming the file — with the remedy for a block that was left. */
|
|
207
|
+
readonly detail: string;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Place this agent's identity block in `filePath` (the served line, `handle`)
|
|
211
|
+
* under the one policy every integration follows: a person's words are only
|
|
212
|
+
* replaced once they delete the block themselves. The kit's `decide` (and so
|
|
213
|
+
* its strict `owner`) says what the file holds:
|
|
214
|
+
*
|
|
215
|
+
* - no block, or the setup offer: placed;
|
|
216
|
+
* - this agent's block: updated (or unchanged);
|
|
217
|
+
* - edited by hand: left, with the remedy (delete that block, then run `doctor --fix`);
|
|
218
|
+
* - another agent's: `setup` replaces it and says so; `repair` leaves it (fix the key, or remove that block);
|
|
219
|
+
* - more than one block: left, with the remedy.
|
|
220
|
+
*
|
|
221
|
+
* Creates the file when there is none. The write is atomic and keeps the
|
|
222
|
+
* user's text (`writeInstructionFile`); the result is read back. Throws when
|
|
223
|
+
* the file exists but cannot be read or written, as `hasAnchorAt` does.
|
|
224
|
+
*/
|
|
225
|
+
declare function placeAnchorAt(filePath: string, options: PlaceAnchorOptions): PlaceAnchorResult;
|
|
226
|
+
/** Whose identity block a removal may take out: this agent's (the served line and template recognise its unmarked blocks exactly). */
|
|
227
|
+
interface RemoveAnchorOptions {
|
|
228
|
+
/** The agent being signed out or uninstalled; null when the home holds none (then only the setup offer is AgentChat's to remove). */
|
|
229
|
+
readonly handle: string | null;
|
|
230
|
+
/** The served identity line, when texts are in hand (the identity-home cache will do). */
|
|
231
|
+
readonly identityLine?: string | null;
|
|
232
|
+
/** The served `identity_line_template`, when in hand. */
|
|
233
|
+
readonly template?: string | null;
|
|
234
|
+
}
|
|
235
|
+
interface RemoveAnchorResult {
|
|
236
|
+
/** `removed`: AgentChat's block for this agent (or the setup offer) is gone; `kept`: a block that is not was left; `noop`: no file, or no block. */
|
|
237
|
+
readonly action: 'removed' | 'noop' | 'kept';
|
|
238
|
+
/** Why a block was left: edited by hand, another agent's, or more than one block (which are this agent's is not certain). */
|
|
239
|
+
readonly kept: 'hand_edited' | 'other_agent' | 'several_blocks' | null;
|
|
240
|
+
/** The handle the block is AgentChat's for (the kit's `owner`), or null. */
|
|
241
|
+
readonly claimed: string | null;
|
|
242
|
+
/** What was done, in words, naming the file. */
|
|
243
|
+
readonly detail: string;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Take AgentChat out of the file — only what AgentChat placed for this
|
|
247
|
+
* agent: its identity block (the kit's strict `owner` is `handle`: its handle
|
|
248
|
+
* line, or a whole text that is exactly a served one), or the wizard's setup
|
|
249
|
+
* offer or its declined variant. A block edited by hand, another agent's
|
|
250
|
+
* block, or a file with more than one AgentChat block is left exactly as it
|
|
251
|
+
* is, and the result says so. The rest of the file is kept as it was (line
|
|
252
|
+
* breaks, whether it ends with one, a byte-order mark; the blank lines next
|
|
253
|
+
* to the block become exactly one), and the write is atomic
|
|
254
|
+
* (`writeInstructionFile`). Throws when the file exists but cannot be read
|
|
255
|
+
* or written, as `hasAnchorAt` does.
|
|
256
|
+
*/
|
|
257
|
+
declare function removeAnchorAt(filePath: string, options: RemoveAnchorOptions): RemoveAnchorResult;
|
|
258
|
+
interface WriteOfferResult {
|
|
259
|
+
/** `written`: the offer (or its declined variant) is in the file; `kept`: a block that is not AgentChat's offer is there, and was left. */
|
|
260
|
+
readonly action: 'written' | 'kept';
|
|
261
|
+
readonly detail: string;
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Put the wizard's offer (or its declined variant, `block`) in the file —
|
|
265
|
+
* only where it takes nothing of anyone's: after the file's own text when
|
|
266
|
+
* there is no AgentChat block, or in place of the offer or declined block
|
|
267
|
+
* already there. Any other block (this or another agent's identity block, one
|
|
268
|
+
* edited by hand, more than one block) is left exactly as it is, and the
|
|
269
|
+
* result says so. Logout writes the offer after taking this agent's block
|
|
270
|
+
* out (`removeAnchorAt`), so a block it left stays. Throws as
|
|
271
|
+
* `writeAnchor` does.
|
|
272
|
+
*/
|
|
273
|
+
declare function writeOfferAt(filePath: string, block: string): WriteOfferResult;
|
|
182
274
|
/**
|
|
183
275
|
* Whether the file holds an AgentChat block of any known shape (the identity
|
|
184
276
|
* block, a legacy one, or the wizard's offer). Throws when the file exists but
|
|
@@ -196,23 +288,23 @@ declare function hasAnchorAt(filePath: string): boolean;
|
|
|
196
288
|
*/
|
|
197
289
|
declare function anchorIsCurrentAt(filePath: string, identityLine: string, handle: string): boolean;
|
|
198
290
|
/**
|
|
199
|
-
* The handle a file's block
|
|
200
|
-
* or it
|
|
201
|
-
* hand
|
|
202
|
-
* its
|
|
203
|
-
*
|
|
204
|
-
*
|
|
291
|
+
* The handle a file's block is AgentChat's for, or null when there is no
|
|
292
|
+
* block or it is not AgentChat's (the wizard's offer, a block edited by
|
|
293
|
+
* hand). The kit's strict reading (`integration.anchor.owner`): the handle of
|
|
294
|
+
* its handle line, or — with none — the handle its whole text is EXACTLY a
|
|
295
|
+
* served text for (the served template filled in, or an identity line served
|
|
296
|
+
* before). A sentence of the user's that says "I am @<handle>" names no
|
|
297
|
+
* owner: the kit's loose `find` reading is display only. Lets an integration
|
|
298
|
+
* catch a block that disagrees with its own credential — an agent told it is
|
|
299
|
+
* @a while authenticating as @b hands peers an address that reaches someone
|
|
300
|
+
* else — so a WRONG handle is read back, not treated as "no anchor".
|
|
301
|
+
* (`identityBlockState` says the whole verdict in one sentence.)
|
|
205
302
|
*
|
|
206
303
|
* `template` is the served `identity_line_template` (null when no texts are
|
|
207
|
-
* in hand)
|
|
208
|
-
* serves today; without it, the handle line and the two wordings earlier
|
|
209
|
-
* releases wrote are still read. A hand-edited block whose words happen to
|
|
210
|
-
* follow one of those (`I am happy … on AgentChat`) reads as claiming that
|
|
211
|
-
* word: the kit's wording match does not require the `@`. Throws as
|
|
212
|
-
* `hasAnchorAt` does.
|
|
304
|
+
* in hand). Throws as `hasAnchorAt` does.
|
|
213
305
|
*/
|
|
214
|
-
declare function readAnchorHandleAt(filePath: string, template
|
|
215
|
-
declare function readAnchorHandleFrom(text: string, template
|
|
306
|
+
declare function readAnchorHandleAt(filePath: string, template?: string | null): string | null;
|
|
307
|
+
declare function readAnchorHandleFrom(text: string, template?: string | null): string | null;
|
|
216
308
|
/** `existing` with `block` in place of the first block (current or legacy) and every other block removed; `kit.anchor.replace`. */
|
|
217
309
|
declare function upsertAnchorBlock(existing: string, block: string): string;
|
|
218
310
|
/** `existing` without any block (current or legacy); `kit.anchor.remove`. */
|
|
@@ -572,4 +664,4 @@ interface ProbeOptions {
|
|
|
572
664
|
declare const PROBE_KILL_WAIT_MS = 5000;
|
|
573
665
|
declare function runProbe(command: string, args: readonly string[], options: ProbeOptions): Promise<ProbeResult>;
|
|
574
666
|
|
|
575
|
-
export { AGENT_LOCK_DIR_ENV, ANCHOR_END, ANCHOR_START, type AlwaysOnState, type AnchorAction, COULD_NOT_PROCESS_FILE, type CachedTexts, DAEMON_LOCK_FILE, type DoctorOpts, type FetchIdentityLineOptions, type FetchServedTextsOptions, HEARTBEAT_FILE, HOSTED_MCP_PATH, type HostCopy, HostProfile, type IdentityCommands, type IdentityState, IntegrationClient, Lease, LeaseAttempt, LeaseHolder, LeaseOptions, type LoadTextsOptions, type LoadedTexts, type LockHandle,
|
|
667
|
+
export { AGENT_LOCK_DIR_ENV, ANCHOR_END, ANCHOR_START, type AlwaysOnState, type AnchorAction, COULD_NOT_PROCESS_FILE, type CachedTexts, DAEMON_LOCK_FILE, type DoctorOpts, type FetchIdentityLineOptions, type FetchServedTextsOptions, HEARTBEAT_FILE, HOSTED_MCP_PATH, type HostCopy, HostProfile, type IdentityCommands, type IdentityState, IntegrationClient, Lease, LeaseAttempt, LeaseHolder, LeaseOptions, type LoadTextsOptions, type LoadedTexts, type LockHandle, type McpProbeResult, PROBE_KILL_WAIT_MS, type PausedConversation, PausedConversations, type PlaceAnchorOptions, type PlaceAnchorOutcome, type PlaceAnchorResult, type Plan, type ProbeOptions, type ProbeResult, RUN_CONTEXT_ENV, type RecoverOpts, type RegisterOpts, type RemoveAnchorOptions, type RemoveAnchorResult, RunRequest, STANDBY_MARKER_FRESH_MS, type ServiceCommandRunner, type ServiceHostOs, type ServiceOpts, type ServiceRef, TEXTS_CACHE_FILE, type TextsClient, type TextsSource, type TrayClient, type TraySummary, VERSION, type WriteOfferResult, acquireAgentLock, acquireLeaderLock, agentLockDir, agentLockPath, agentLockRefusal, alwaysOnHealth, alwaysOnOptedOut, alwaysOnState, alwaysOnWanted, anchorIsCurrentAt, atomicCopyFile, atomicWriteFile, beat, clearAlwaysOnInstalledVersion, clearAlwaysOnOptOut, clearAlwaysOnWanted, clearOfferDeclined, clearStandby, couldNotProcessPath, createIdentityCommands, fetchIdentityLine, fetchServedTexts, hasAnchorAt, hostedMcpUrl, identityLineOf, idle, installService, isSetupOfferBody, launchdPlist, loadTexts, log, markAlwaysOnInstalledVersion, markAlwaysOnOptOut, markAlwaysOnWanted, markStandby, normalizeHandle, offerDeclined, parseServiceHome, placeAnchorAt, planForTest, probeHostedMcp, readAlwaysOnInstalledVersion, readAnchorHandleAt, readAnchorHandleFrom, readCachedTexts, readJsonFile, readState, recordOfferDeclined, removeAnchorAt, renderAnchorBlock, renderDeclinedBlock, renderUnregisteredBlock, runContextEnv, runProbe, serviceDefinitionCurrent, serviceInstalled, serviceLabelFor, serviceStatus, setServiceCommandRunnerForTests, setServiceHostOsForTests, spawnCommand, spawnCommandSync, standbyMarkerPath, standbyWaiting, stripAnchorBlock, systemdQuote, systemdUnit, textsCachePath, traySummary, uninstallService, upsertAnchorBlock, writeAnchor, writeOfferAt, writeState, xmlEscape };
|