@stratusagent/gateway 0.10.0 → 0.11.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/dist/index.d.ts +125 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +460 -67
- package/dist/index.js.map +1 -1
- package/dist/lock.d.ts +50 -0
- package/dist/lock.d.ts.map +1 -0
- package/dist/lock.js +128 -0
- package/dist/lock.js.map +1 -0
- package/dist/schedules.d.ts +13 -0
- package/dist/schedules.d.ts.map +1 -1
- package/dist/schedules.js +18 -2
- package/dist/schedules.js.map +1 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventBus, type AgentDefinition, type ApprovalAnswer, type ApprovalPolicy, type JsonObject, type Session, type SessionStatus, type SessionStore, type ToolRisk } from '@stratusagent/core';
|
|
2
2
|
import { type ParsedSoul, type ScheduleRecord } from '@stratusagent/agents';
|
|
3
3
|
import { type SchedulerLimits } from './schedules.ts';
|
|
4
|
+
export { claimHome, homeLockPath, HomeClaimedError, type HomeClaim, } from './lock.ts';
|
|
4
5
|
export { SqliteScheduleStore, createSchedulerRuntime, isScheduleSessionId, SCHEDULE_SESSION_ID_PREFIX, type ScheduleStoreLike, type SchedulerLimits, type SchedulerRuntime, type SchedulerRuntimeOptions, } from './schedules.ts';
|
|
5
6
|
import { type OptionalModuleHost } from '@stratusagent/plugins';
|
|
6
7
|
import { type PluginsConfig, type RuntimeSelection, type StateEnvironment } from '@stratusagent/state';
|
|
@@ -102,6 +103,21 @@ export interface GatewayChannelAdapter {
|
|
|
102
103
|
name: string;
|
|
103
104
|
start(gateway: Gateway): Promise<void>;
|
|
104
105
|
stop(): Promise<void>;
|
|
106
|
+
/**
|
|
107
|
+
* Whether the gateway may serve without this channel.
|
|
108
|
+
*
|
|
109
|
+
* A channel whose `start()` rejects is logged and skipped, which is right
|
|
110
|
+
* for a Slack app whose tokens went stale: the rest of the fleet stays
|
|
111
|
+
* up. A required channel fails `start()` instead — after stopping the
|
|
112
|
+
* channels that did come up, and before the scheduler starts or any
|
|
113
|
+
* sweep re-asks an approval, so a daemon refused this way has done no
|
|
114
|
+
* work. The control API is the case: a second `stratus serve` on the
|
|
115
|
+
* same home lost the port to the first, logged it, and went on serving
|
|
116
|
+
* with no channel at all — and the next scheduled firing ran in it,
|
|
117
|
+
* where nobody could approve or hear anything. A host that omits this
|
|
118
|
+
* gets the skip.
|
|
119
|
+
*/
|
|
120
|
+
required?: boolean;
|
|
105
121
|
/**
|
|
106
122
|
* The addressable outbound seam, mirroring
|
|
107
123
|
* `@stratusagent/channels`' `ChannelAdapter.resolveOutbound` structurally
|
|
@@ -129,6 +145,14 @@ export interface SessionRouting {
|
|
|
129
145
|
agentId: string;
|
|
130
146
|
/** The metadata the dispatching surface attached to the session. */
|
|
131
147
|
metadata: JsonObject;
|
|
148
|
+
/**
|
|
149
|
+
* When this agent last spoke, ISO-8601 — its newest reply's timestamp,
|
|
150
|
+
* absent when it has never produced one. Not the session's modification
|
|
151
|
+
* time, which a mid-turn save moves; see `@stratusagent/channels`.
|
|
152
|
+
*/
|
|
153
|
+
lastSpokeAt?: string;
|
|
154
|
+
/** The latest turn's text (`latestTurnReply`), when it produced any — see `@stratusagent/channels`. */
|
|
155
|
+
reply?: string;
|
|
132
156
|
}
|
|
133
157
|
/**
|
|
134
158
|
* What the gateway hands a policy that needs a human somewhere else: one
|
|
@@ -164,6 +188,17 @@ export interface GatewayApprovalRequest {
|
|
|
164
188
|
input: JsonObject;
|
|
165
189
|
};
|
|
166
190
|
risk: ToolRisk;
|
|
191
|
+
/**
|
|
192
|
+
* The site this call would act on, for a tool judged by one
|
|
193
|
+
* (`Tool.originFor`). Passed straight through to whatever renders the
|
|
194
|
+
* request, because the call's arguments do not say where a click lands.
|
|
195
|
+
*/
|
|
196
|
+
origin?: string;
|
|
197
|
+
/**
|
|
198
|
+
* True when answering `always` runs this call once and remembers
|
|
199
|
+
* nothing, so a renderer can stop offering one. Passed straight through.
|
|
200
|
+
*/
|
|
201
|
+
oneShot?: boolean;
|
|
167
202
|
/**
|
|
168
203
|
* When this call first parked, if a restart is re-asking it. The wait is
|
|
169
204
|
* measured from here, so a request keeps the window it started with
|
|
@@ -195,6 +230,10 @@ export interface PendingApproval {
|
|
|
195
230
|
input: JsonObject;
|
|
196
231
|
};
|
|
197
232
|
risk: ToolRisk;
|
|
233
|
+
/** The site it would act on, for a tool judged by one. */
|
|
234
|
+
origin?: string;
|
|
235
|
+
/** True when `always` on this call remembers nothing — see the event. */
|
|
236
|
+
oneShot?: boolean;
|
|
198
237
|
/** When this call parked, ISO-8601. */
|
|
199
238
|
parkedAt: string;
|
|
200
239
|
/**
|
|
@@ -246,6 +285,50 @@ export interface GatewaySkill {
|
|
|
246
285
|
/** Where the SKILL.md lives. */
|
|
247
286
|
path?: string;
|
|
248
287
|
}
|
|
288
|
+
/** What a turn cut short by an announced restart records as its failure. */
|
|
289
|
+
export declare const RESTARTING_TURN_ERROR = "Run aborted: stratusd is restarting";
|
|
290
|
+
/**
|
|
291
|
+
* How long an announced restart lets in-flight turns finish before aborting
|
|
292
|
+
* them. Matches the systemd unit's `TimeoutStopSec`, so the two windows an
|
|
293
|
+
* operator can hit agree.
|
|
294
|
+
*/
|
|
295
|
+
export declare const DEFAULT_RESTART_DRAIN_TIMEOUT_MS = 30000;
|
|
296
|
+
export interface RestartRequest {
|
|
297
|
+
/** Why, for the log — "plugin stratus-plugin-github enabled". */
|
|
298
|
+
reason?: string;
|
|
299
|
+
/** Overrides the gateway's drain window for this restart. */
|
|
300
|
+
drainTimeoutMs?: number;
|
|
301
|
+
}
|
|
302
|
+
/** What `restart()` announced: the terms the drain is running under. */
|
|
303
|
+
export interface RestartStatus {
|
|
304
|
+
reason?: string;
|
|
305
|
+
drainTimeoutMs: number;
|
|
306
|
+
/** Turns that were running when the restart was announced. */
|
|
307
|
+
inflight: number;
|
|
308
|
+
}
|
|
309
|
+
/** What the host is handed once the daemon has stopped for a restart. */
|
|
310
|
+
export interface RestartOutcome {
|
|
311
|
+
reason?: string;
|
|
312
|
+
/**
|
|
313
|
+
* Whether everything let go — every turn finished inside the window or
|
|
314
|
+
* after being aborted at it, every channel stopped, and every plugin
|
|
315
|
+
* released what it held. False means a turn ignored its abort for a
|
|
316
|
+
* whole second window, or a channel's stop or a plugin's dispose never
|
|
317
|
+
* settled or rejected, and the gateway shut down around it; a host
|
|
318
|
+
* should exit the process rather than start a new daemon beside a turn
|
|
319
|
+
* still writing, a channel still connected, or a plugin still holding a
|
|
320
|
+
* browser or a socket.
|
|
321
|
+
*/
|
|
322
|
+
drained: boolean;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* `restart()` on a gateway whose host gave it no way back. Exported so the
|
|
326
|
+
* control API can answer it as "not supported here" rather than as a
|
|
327
|
+
* failure of the daemon.
|
|
328
|
+
*/
|
|
329
|
+
export declare class RestartUnsupportedError extends Error {
|
|
330
|
+
constructor();
|
|
331
|
+
}
|
|
249
332
|
/** A plugin this daemon was asked to load, and what came of it. */
|
|
250
333
|
export interface GatewayPluginStatus {
|
|
251
334
|
package: string;
|
|
@@ -309,6 +392,16 @@ export interface GatewayOptions {
|
|
|
309
392
|
* to the CLI.
|
|
310
393
|
*/
|
|
311
394
|
pluginHost?: OptionalModuleHost;
|
|
395
|
+
/**
|
|
396
|
+
* How this daemon comes back after `restart()`: called once the gateway
|
|
397
|
+
* has stopped, by the host that owns the process — `stratus serve`
|
|
398
|
+
* starts a fresh daemon and supervises it. The gateway can drain and
|
|
399
|
+
* stop; only its host can start a process. A host that omits this gives
|
|
400
|
+
* up `restart()`, which then throws `RestartUnsupportedError`.
|
|
401
|
+
*/
|
|
402
|
+
onRestart?: (outcome: RestartOutcome) => void | Promise<void>;
|
|
403
|
+
/** The drain window a `restart()` uses when the request names none. Default 30s. */
|
|
404
|
+
restartDrainTimeoutMs?: number;
|
|
312
405
|
log?: (line: string) => void;
|
|
313
406
|
warn?: (line: string) => void;
|
|
314
407
|
}
|
|
@@ -353,6 +446,38 @@ export interface Gateway {
|
|
|
353
446
|
* created by another surface, or one whose soul was deleted.
|
|
354
447
|
*/
|
|
355
448
|
reloadRoster(): Promise<AgentDefinition[]>;
|
|
449
|
+
/**
|
|
450
|
+
* Re-read `~/.stratus/skills/` and serve what is there now, without a
|
|
451
|
+
* restart — the shape `reloadRoster()` established: idempotent,
|
|
452
|
+
* serialized against itself and the roster reload, and a failure that
|
|
453
|
+
* leaves the previous set serving. Plugin-contributed skills are rebuilt
|
|
454
|
+
* from the plugins already loaded (never re-imported), in the same order
|
|
455
|
+
* they loaded, so operator precedence and contested aliases come out as
|
|
456
|
+
* a restart would produce them.
|
|
457
|
+
*
|
|
458
|
+
* A skill that would not load — a malformed `SKILL.md`, a directory whose
|
|
459
|
+
* name is not an id — rejects with the file named and changes nothing:
|
|
460
|
+
* half a catalog is worse than a stale one.
|
|
461
|
+
*
|
|
462
|
+
* Loaded is not enabled: a reloaded skill still reaches only the agents
|
|
463
|
+
* whose souls list it.
|
|
464
|
+
*/
|
|
465
|
+
reloadSkills(): Promise<GatewaySkill[]>;
|
|
466
|
+
/**
|
|
467
|
+
* Announce a restart: refuse new turns now, let running ones finish
|
|
468
|
+
* inside the drain window, abort what is still running at the end of
|
|
469
|
+
* it, stop, and hand the process back to the host through `onRestart`.
|
|
470
|
+
* Returns at once with the terms; the drain runs behind it. Idempotent —
|
|
471
|
+
* a second call while one is underway reports the same announcement.
|
|
472
|
+
*
|
|
473
|
+
* What comes back is what a stop-and-start brings back: durable sessions,
|
|
474
|
+
* schedules, and channels; a call parked on a human is denied as
|
|
475
|
+
* cancelled, exactly as a stop denies it. The refusal comes first, which
|
|
476
|
+
* makes the drain's known gap smaller — a turn finishing after the
|
|
477
|
+
* snapshot can still start work the snapshot never saw — but does not
|
|
478
|
+
* close it.
|
|
479
|
+
*/
|
|
480
|
+
restart(request?: RestartRequest): RestartStatus;
|
|
356
481
|
/**
|
|
357
482
|
* The turn currently running on a session, if the caller that started it
|
|
358
483
|
* named one. Single-flight per session is what makes this exact: at most
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAIL,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAIL,QAAQ,EAWR,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,cAAc,EAEnB,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,YAAY,EAEjB,KAAK,QAAQ,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAgBL,KAAK,UAAU,EAEf,KAAK,cAAc,EACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAKL,KAAK,eAAe,EACrB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,KAAK,SAAS,GACf,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,mBAAmB,EACnB,0BAA0B,EAC1B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,GAC7B,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAGL,KAAK,kBAAkB,EAExB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EA0BL,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,qBAAqB,CAAC;AAI7B;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,GAAI,MAAK,gBAAqB,KAAG,MACX,CAAC;AAexD;;;;;GAKG;AACH,MAAM,WAAW,yBAAyB;IACxC;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,qBA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