@agentchatme/agent-core 0.5.0 → 0.5.1
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 +3 -1
- package/dist/{chunk-UE7DKW3C.js → chunk-3ERPUP4M.js} +2 -2
- package/dist/{chunk-UE7DKW3C.js.map → chunk-3ERPUP4M.js.map} +1 -1
- package/dist/{chunk-NAAHIK7Z.js → chunk-CDJASQ3X.js} +43 -9
- package/dist/chunk-CDJASQ3X.js.map +1 -0
- package/dist/daemon-entry.d.ts +1 -1
- package/dist/daemon-entry.js +1 -1
- package/dist/index.d.ts +15 -7
- package/dist/index.js +288 -308
- package/dist/index.js.map +1 -1
- package/dist/presets.js +1 -1
- package/dist/{served-manual-2rjsjJFD.d.ts → served-manual-Be_eUo0m.d.ts} +19 -26
- package/package.json +2 -2
- package/dist/chunk-NAAHIK7Z.js.map +0 -1
package/dist/daemon-entry.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as IntegrationClient, L as LeaseOptions, M as ManualFetch, a as IntegrationStatus, b as IntegrationRunsFailing, S as SocketState } from './served-manual-
|
|
1
|
+
import { I as IntegrationClient, L as LeaseOptions, M as ManualFetch, a as IntegrationStatus, b as IntegrationRunsFailing, S as SocketState } from './served-manual-Be_eUo0m.js';
|
|
2
2
|
import { R as RunnerSource, a as RunProfile, b as RunRunner, c as RunOutcome } from './runner-DYVqz_9P.js';
|
|
3
3
|
export { d as RunKind, e as RunOutcomeState, f as RunPreflight, g as RunRequest, h as RunWake, i as RunnerFactory, j as RunnerIdentity } from './runner-DYVqz_9P.js';
|
|
4
4
|
import { AgentChatClient, RealtimeClient, BlockedInfo, RealtimeState } from 'agentchatme';
|
package/dist/daemon-entry.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { I as IntegrationClient, H as HostProfile, c as Lease, L as LeaseOptions, d as LeaseAttempt, e as LeaseHolder } from './served-manual-
|
|
2
|
-
export { C as CheckManualOptions, f as Credentials, D as DEFAULT_API_BASE, g as DoctorCheck, h as DoctorContext, F as FAILED_CYCLE_OUTCOMES, i as INTEGRATION_STATUS_FILE, j as IntegrationCycle, k as IntegrationLastRun, b as IntegrationRunsFailing, l as IntegrationStandby, a as IntegrationStatus, m as IntegrationUnservable, n as LEASE_RENEW_MS, o as LEASE_STALE_MS, p as LEGACY_STATUS_FILE, q as MANUAL_FETCH_TIMEOUT_MS, r as MANUAL_MAX_BYTES, s as MANUAL_MAX_REDIRECTS, t as ManualCheck, u as ManualCheckState, M as ManualFetch, v as ManualSyncResult, w as ManualSyncState, P as PendingRegistration, R as REPEATED_FAILED_CYCLES,
|
|
1
|
+
import { I as IntegrationClient, H as HostProfile, c as Lease, L as LeaseOptions, d as LeaseAttempt, e as LeaseHolder } from './served-manual-Be_eUo0m.js';
|
|
2
|
+
export { C as CheckManualOptions, f as Credentials, D as DEFAULT_API_BASE, g as DoctorCheck, h as DoctorContext, F as FAILED_CYCLE_OUTCOMES, i as INTEGRATION_STATUS_FILE, j as IntegrationCycle, k as IntegrationLastRun, b as IntegrationRunsFailing, l as IntegrationStandby, a as IntegrationStatus, m as IntegrationUnservable, n as LEASE_RENEW_MS, o as LEASE_STALE_MS, p as LEGACY_STATUS_FILE, q as MANUAL_FETCH_TIMEOUT_MS, r as MANUAL_MAX_BYTES, s as MANUAL_MAX_REDIRECTS, t as ManualCheck, u as ManualCheckState, M as ManualFetch, v as ManualSyncResult, w as ManualSyncState, P as PendingRegistration, x as PendingSignup, R as REPEATED_FAILED_CYCLES, y as ResolveIdentityOptions, z as ResolvedIdentity, A as SOCKET_STATES, B as ServedManual, S as SocketState, E as StatusContext, G as SyncManualOptions, T as TextsStatus, V as Verdict, J as acquireLease, K as anchorLabelOf, N as bootedAt, O as checkManual, Q as clearCredentials, U as clearIntegrationStatus, W as clearPending, X as clientHeadersOf, Y as clientIdentityOf, Z as clientNameOf, _ as credentialsPath, $ as describeManualSync, a0 as envApiKey, a1 as failedCyclesInARow, a2 as formatIntegrationStatus, a3 as fromKitResult, a4 as holderLive, a5 as integrationStatusAge, a6 as integrationStatusPath, a7 as leaseHolder, a8 as parseLease, a9 as pendingPath, aa as pidAlive, ab as readCredentials, ac as readIntegrationStatus, ad as readManualVersion, ae as readPending, af as resetLeaseObservations, ag as resolveIdentity, ah as statePath, ai as syncManual, aj as writeCredentials, ak as writeIntegrationStatus, al as writePending } from './served-manual-Be_eUo0m.js';
|
|
3
3
|
import { AgentChatClient, Texts, TextsRuntime, integration } from 'agentchatme';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
export { D as DEFAULT_RUN_BUDGET_MS, k as DEFAULT_RUN_PROFILE, I as INTEGRATION_ENV, l as INTEGRATION_ENV_LEGACY, m as INTEGRATION_ENV_LEGACY_REMOVAL, 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, g as RunRequest, b as RunRunner, h as RunWake, i as RunnerFactory, j as RunnerIdentity, R as RunnerSource, r as integrationDisabled, s as integrationDisabledBy, t as isRunProfile, u as isRunnerFactory, v as resolveRunBudgetMs, w as resolveRunProfile, x as runProfileWarning, y as workdirExposesHome } from './runner-DYVqz_9P.js';
|
|
6
6
|
import { spawn, spawnSync } from 'node:child_process';
|
|
7
7
|
|
|
8
8
|
/** Published package version, kept in lockstep with package.json by tests. */
|
|
9
|
-
declare const VERSION = "0.5.
|
|
9
|
+
declare const VERSION = "0.5.1";
|
|
10
10
|
|
|
11
11
|
type TrayClient = Pick<AgentChatClient, 'inbox'>;
|
|
12
12
|
interface TraySummary {
|
|
@@ -137,6 +137,12 @@ interface HostCopy {
|
|
|
137
137
|
* Deliberately bounded: static text is re-read every session, so without an
|
|
138
138
|
* explicit stop condition an agent would raise it forever. `--not-now` records
|
|
139
139
|
* the decline and rewrites this block to the silent variant below.
|
|
140
|
+
*
|
|
141
|
+
* It names the commands and nothing of the server's: no handle rules, no
|
|
142
|
+
* code length, no scripted answer for a failure. Each command prints the
|
|
143
|
+
* server's sentence and the command to run next, and the agent relays the one
|
|
144
|
+
* and runs the other, so a rule that moves on the server never leaves a stale
|
|
145
|
+
* copy in every instruction file.
|
|
140
146
|
*/
|
|
141
147
|
declare function renderUnregisteredBlock(copy: HostCopy): string;
|
|
142
148
|
/**
|
|
@@ -247,6 +253,7 @@ interface RegisterOpts {
|
|
|
247
253
|
handle?: string;
|
|
248
254
|
displayName?: string;
|
|
249
255
|
description?: string;
|
|
256
|
+
/** The code from the verification email — the completion leg. */
|
|
250
257
|
code?: string;
|
|
251
258
|
apiBase?: string;
|
|
252
259
|
}
|
|
@@ -254,12 +261,13 @@ interface RecoverOpts {
|
|
|
254
261
|
/** The email the agent registered with. */
|
|
255
262
|
email?: string;
|
|
256
263
|
/**
|
|
257
|
-
* Which agent on that email to re-key.
|
|
258
|
-
*
|
|
259
|
-
*
|
|
264
|
+
* Which agent on that email to re-key. When omitted it defaults to this
|
|
265
|
+
* agent's stored handle, then to a prompt on a TTY; without one the
|
|
266
|
+
* server is asked by email alone, and names the handles to choose from
|
|
267
|
+
* when the email backs several agents.
|
|
260
268
|
*/
|
|
261
269
|
handle?: string;
|
|
262
|
-
/** The
|
|
270
|
+
/** The code from the recovery email — the completion leg. */
|
|
263
271
|
code?: string;
|
|
264
272
|
apiBase?: string;
|
|
265
273
|
}
|