@deepagents/context 3.0.0 → 3.1.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/README.md +61 -4
- package/dist/browser.js +58 -90
- package/dist/browser.js.map +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1669 -1298
- package/dist/index.js.map +4 -4
- package/dist/lib/agent.d.ts.map +1 -1
- package/dist/lib/chain-summary.d.ts +1 -0
- package/dist/lib/chain-summary.d.ts.map +1 -1
- package/dist/lib/chat.d.ts.map +1 -1
- package/dist/lib/engine.d.ts +51 -1
- package/dist/lib/engine.d.ts.map +1 -1
- package/dist/lib/fragments/message/user.d.ts +53 -16
- package/dist/lib/fragments/message/user.d.ts.map +1 -1
- package/dist/lib/fragments/reminders/once.d.ts +22 -0
- package/dist/lib/fragments/reminders/once.d.ts.map +1 -0
- package/dist/lib/fragments/reminders/turn-predicates.d.ts +1 -1
- package/dist/lib/fragments/reminders/turn-predicates.d.ts.map +1 -1
- package/dist/lib/sandbox/bash-tool.d.ts +28 -4
- package/dist/lib/sandbox/bash-tool.d.ts.map +1 -1
- package/dist/lib/sandbox/daytona-sandbox.d.ts +6 -18
- package/dist/lib/sandbox/daytona-sandbox.d.ts.map +1 -1
- package/dist/lib/sandbox/docker-sandbox.d.ts +14 -0
- package/dist/lib/sandbox/docker-sandbox.d.ts.map +1 -1
- package/dist/lib/sandbox/file-changes.d.ts +83 -0
- package/dist/lib/sandbox/file-changes.d.ts.map +1 -0
- package/dist/lib/sandbox/index.d.ts +1 -1
- package/dist/lib/sandbox/index.d.ts.map +1 -1
- package/dist/lib/sandbox/types.d.ts +0 -8
- package/dist/lib/sandbox/types.d.ts.map +1 -1
- package/dist/lib/save/reminder-eval.d.ts +19 -0
- package/dist/lib/save/reminder-eval.d.ts.map +1 -0
- package/dist/lib/save/save-pipeline.d.ts +8 -2
- package/dist/lib/save/save-pipeline.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/lib/sandbox/file-events.d.ts +0 -42
- package/dist/lib/sandbox/file-events.d.ts.map +0 -1
- package/dist/lib/save/reminder-target-handler.d.ts +0 -36
- package/dist/lib/save/reminder-target-handler.d.ts.map +0 -1
- package/dist/lib/save/tool-output-target-handler.d.ts +0 -7
- package/dist/lib/save/tool-output-target-handler.d.ts.map +0 -1
- package/dist/lib/save/user-target-handler.d.ts +0 -7
- package/dist/lib/save/user-target-handler.d.ts.map +0 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Tool } from 'ai';
|
|
2
2
|
import type { BashToolkit, CommandResult, Sandbox as UpstreamSandbox } from 'bash-tool';
|
|
3
3
|
import type { SkillPathMapping } from '../skills/types.ts';
|
|
4
|
-
import type { FileEvent } from './file-events.ts';
|
|
5
4
|
/**
|
|
6
5
|
* Options accepted by `DisposableSandbox.executeCommand`. Currently only
|
|
7
6
|
* `signal` (cooperative cancellation); shaped as an object so we can add
|
|
@@ -80,12 +79,5 @@ export interface AgentSandbox extends Omit<BashToolkit, 'bash' | 'tools' | 'sand
|
|
|
80
79
|
bash: WrappedBashTool;
|
|
81
80
|
};
|
|
82
81
|
sandbox: DisposableSandbox;
|
|
83
|
-
/**
|
|
84
|
-
* Drain and return file events observed since the last `drain()`. The
|
|
85
|
-
* observation root is the `destination` passed to `createBashTool`; every
|
|
86
|
-
* `executeCommand` / `writeFiles` call is bracketed by a snapshot, and
|
|
87
|
-
* `readFile` records a `read` event.
|
|
88
|
-
*/
|
|
89
|
-
drainFileEvents(): FileEvent[];
|
|
90
82
|
}
|
|
91
83
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/sandbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAC/B,OAAO,KAAK,EACV,WAAW,EACX,aAAa,EACb,OAAO,IAAI,eAAe,EAC3B,MAAM,WAAW,CAAC;AAEnB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/sandbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAC/B,OAAO,KAAK,EACV,WAAW,EACX,aAAa,EACb,OAAO,IAAI,eAAe,EAC3B,MAAM,WAAW,CAAC;AAEnB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC;IAC9B,oCAAoC;IACpC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IAC5C,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IAC5C,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;CAClC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAC7C,eAAe,EACf,gBAAgB,CACjB;IACC,cAAc,CACZ,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,qBAAqB,GAC9B,OAAO,CAAC,aAAa,CAAC,CAAC;IAC1B,KAAK,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;IAChE,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,6EAA6E;IAC7E,IAAI,EAAE,MAAM,CAAC;IACb,iEAAiE;IACjE,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,mEAAmE;AACnE,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;AAEjE;;;;;GAKG;AACH,MAAM,WAAW,YAAa,SAAQ,IAAI,CACxC,WAAW,EACX,MAAM,GAAG,OAAO,GAAG,SAAS,CAC7B;IACC,+DAA+D;IAC/D,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,GAAG;QAAE,IAAI,EAAE,eAAe,CAAA;KAAE,CAAC;IACtE,OAAO,EAAE,iBAAiB,CAAC;CAC5B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type ConditionalReminder, type ReminderResolution, type WhenContext } from '../fragments/message/user.ts';
|
|
2
|
+
export interface FiredReminder {
|
|
3
|
+
config: ConditionalReminder;
|
|
4
|
+
resolved: ReminderResolution;
|
|
5
|
+
/** Once-ids `once()` collected while this config's `when()` evaluated to fire. */
|
|
6
|
+
onceIds: string[];
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Evaluate conditional reminders against a single `whenCtx` and return the ones
|
|
10
|
+
* that fired with non-empty resolved text.
|
|
11
|
+
*
|
|
12
|
+
* Each predicate and each async text resolver is isolated: a throwing/rejecting
|
|
13
|
+
* `when()` or reminder text is treated as "did not fire" and logged, never
|
|
14
|
+
* propagated. This is the single evaluation core shared by the save pipeline
|
|
15
|
+
* and the steer loop, so a misbehaving user predicate can never tear down a
|
|
16
|
+
* save or an in-flight assistant turn.
|
|
17
|
+
*/
|
|
18
|
+
export declare function evaluateFiredReminders(configs: ConditionalReminder[], whenCtx: WhenContext): Promise<FiredReminder[]>;
|
|
19
|
+
//# sourceMappingURL=reminder-eval.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reminder-eval.d.ts","sourceRoot":"","sources":["../../../src/lib/save/reminder-eval.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAEjB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,mBAAmB,CAAC;IAC5B,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,kFAAkF;IAClF,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED;;;;;;;;;GASG;AACH,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,mBAAmB,EAAE,EAC9B,OAAO,EAAE,WAAW,GACnB,OAAO,CAAC,aAAa,EAAE,CAAC,CAiD1B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChainSummary } from '../chain-summary.ts';
|
|
2
2
|
import type { ContextFragment } from '../fragments.ts';
|
|
3
|
+
import { type BaseWhenCtx } from '../fragments/message/user.ts';
|
|
3
4
|
import type { ContextStore } from '../store/store.ts';
|
|
4
|
-
import type { BaseWhenCtx, ReminderTargetHandler } from './reminder-target-handler.ts';
|
|
5
5
|
export interface SavePipelineEngine {
|
|
6
6
|
readonly store: ContextStore;
|
|
7
7
|
readonly chatId: string;
|
|
@@ -22,7 +22,13 @@ export declare class SavePipeline {
|
|
|
22
22
|
#private;
|
|
23
23
|
constructor(engine: SavePipelineEngine, pending: ContextFragment[], fragments: ContextFragment[]);
|
|
24
24
|
applyUpdateBranching(shouldBranch: boolean): Promise<this>;
|
|
25
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Fold any fired `target: 'user'` conditional reminders into the last pending
|
|
27
|
+
* user message. `steer` reminders fire mid-loop via the engine's prepareStep
|
|
28
|
+
* hook and `tool-output` reminders wrap at tool-execution time, so neither is
|
|
29
|
+
* handled here — the save pipeline only carries user-message reminders.
|
|
30
|
+
*/
|
|
31
|
+
evaluateUserReminders(): Promise<this>;
|
|
26
32
|
persist(): Promise<SaveResult>;
|
|
27
33
|
}
|
|
28
34
|
//# sourceMappingURL=save-pipeline.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-pipeline.d.ts","sourceRoot":"","sources":["../../../src/lib/save/save-pipeline.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"save-pipeline.d.ts","sourceRoot":"","sources":["../../../src/lib/save/save-pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EACL,KAAK,WAAW,EAKjB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,YAAY,EAAe,MAAM,mBAAmB,CAAC;AAKnE,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,KAAK,EAAE,YAAY,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,eAAe,IAAI;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC;IAChE,UAAU,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACjD,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACjD,eAAe,IAAI,OAAO,CAAC,YAAY,CAAC,CAAC;IACzC,gBAAgB,CAAC,KAAK,EAAE,YAAY,GAAG,WAAW,CAAC;CACpD;AAED,MAAM,WAAW,UAAU;IACzB,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC;AAED,qBAAa,YAAY;;gBAOrB,MAAM,EAAE,kBAAkB,EAC1B,OAAO,EAAE,eAAe,EAAE,EAC1B,SAAS,EAAE,eAAe,EAAE;IAOxB,oBAAoB,CAAC,YAAY,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAgBhE;;;;;OAKG;IACG,qBAAqB,IAAI,OAAO,CAAC,IAAI,CAAC;IA+CtC,OAAO,IAAI,OAAO,CAAC,UAAU,CAAC;CA6CrC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepagents/context",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@ai-sdk/groq": "^3.0.36",
|
|
46
46
|
"@ai-sdk/provider": "^3.0.10",
|
|
47
|
-
"@deepagents/agent": "3.
|
|
47
|
+
"@deepagents/agent": "3.1.0",
|
|
48
48
|
"ai": "^6.0.174",
|
|
49
49
|
"bash-tool": "^1.3.16",
|
|
50
50
|
"chalk": "^5.6.0",
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { DisposableSandbox } from './types.ts';
|
|
2
|
-
export type FileEventOp = 'read' | 'write' | 'delete' | 'modify';
|
|
3
|
-
export interface FileEvent {
|
|
4
|
-
path: string;
|
|
5
|
-
op: FileEventOp;
|
|
6
|
-
timestamp: number;
|
|
7
|
-
}
|
|
8
|
-
export interface ObserveOptions {
|
|
9
|
-
destination: string;
|
|
10
|
-
}
|
|
11
|
-
export interface SandboxObserver {
|
|
12
|
-
sandbox: DisposableSandbox;
|
|
13
|
-
drain(): FileEvent[];
|
|
14
|
-
}
|
|
15
|
-
export declare class SnapshotFailedError extends Error {
|
|
16
|
-
readonly stderr: string;
|
|
17
|
-
constructor(message: string, stderr: string);
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Wraps a `Sandbox` with file-event observation rooted at `destination`.
|
|
21
|
-
*
|
|
22
|
-
* - `executeCommand` and `writeFiles` are bracketed by `find -print0` +
|
|
23
|
-
* `sha256sum` snapshots; hash diff produces write/modify/delete events.
|
|
24
|
-
* - `readFile` records a `read` event on success.
|
|
25
|
-
* - `spawn` (when the backend exposes it) is bracketed similarly: the
|
|
26
|
-
* before-snapshot resolves before the inner spawn starts (via a
|
|
27
|
-
* lazy `ReadableStream`), and the returned `exit` Promise resolves only
|
|
28
|
-
* after the after-snapshot is recorded. The after-snapshot runs when the
|
|
29
|
-
* OS reports child exit; data still buffered in stdio after that point
|
|
30
|
-
* is *not* observed — write events for files flushed only on stream
|
|
31
|
-
* close may be missed.
|
|
32
|
-
* - If `destination` does not exist in the sandbox at snapshot time, the
|
|
33
|
-
* snapshot is treated as empty (graceful — supports observation rooted at
|
|
34
|
-
* paths that the sandbox will create later). Snapshot command failures
|
|
35
|
-
* (e.g. permission denied, missing `find`) throw `SnapshotFailedError`
|
|
36
|
-
* from `executeCommand`/`writeFiles`, but are silently dropped on `spawn`
|
|
37
|
-
* because the caller's signal already comes via `exit`.
|
|
38
|
-
* - Single-flight by convention. Concurrent `executeCommand` calls are not
|
|
39
|
-
* serialized internally and will produce interleaved diffs.
|
|
40
|
-
*/
|
|
41
|
-
export declare function observeSandboxFileEvents(sandbox: DisposableSandbox, options: ObserveOptions): SandboxObserver;
|
|
42
|
-
//# sourceMappingURL=file-events.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"file-events.d.ts","sourceRoot":"","sources":["../../../src/lib/sandbox/file-events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAY,MAAM,YAAY,CAAC;AAE9D,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEjE,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,WAAW,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,iBAAiB,CAAC;IAC3B,KAAK,IAAI,SAAS,EAAE,CAAC;CACtB;AAED,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;gBACZ,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAK5C;AA+ED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,iBAAiB,EAC1B,OAAO,EAAE,cAAc,GACtB,eAAe,CA0FjB"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { UIMessage } from 'ai';
|
|
2
|
-
import type { ChainSummary } from '../chain-summary.ts';
|
|
3
|
-
import type { ContextFragment } from '../fragments.ts';
|
|
4
|
-
import type { ConditionalReminder, ReminderResolution, ReminderTarget, WhenContext } from '../fragments/message/user.ts';
|
|
5
|
-
export type BaseWhenCtx = Omit<WhenContext, 'content' | 'currentMessage' | 'lastAssistantMessage' | 'lastAssistantMessages'>;
|
|
6
|
-
export interface PreparedCarrier {
|
|
7
|
-
message: UIMessage;
|
|
8
|
-
fragmentIndex: number;
|
|
9
|
-
}
|
|
10
|
-
export interface ReminderHandlerInput {
|
|
11
|
-
pending: ContextFragment[];
|
|
12
|
-
base: BaseWhenCtx;
|
|
13
|
-
chain: ChainSummary;
|
|
14
|
-
sharedUserMessage?: UIMessage & {
|
|
15
|
-
role: 'user';
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export interface ReminderApplyInput {
|
|
19
|
-
pending: ContextFragment[];
|
|
20
|
-
carrier: PreparedCarrier;
|
|
21
|
-
fired: ConditionalReminder[];
|
|
22
|
-
resolved: ReminderResolution[];
|
|
23
|
-
}
|
|
24
|
-
export interface PreparedHandler {
|
|
25
|
-
whenCtx: WhenContext;
|
|
26
|
-
carrier: PreparedCarrier;
|
|
27
|
-
sharedUserMessage?: UIMessage & {
|
|
28
|
-
role: 'user';
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
export interface ReminderTargetHandler {
|
|
32
|
-
readonly target: ReminderTarget;
|
|
33
|
-
prepare(input: ReminderHandlerInput): PreparedHandler | null;
|
|
34
|
-
apply(input: ReminderApplyInput): void;
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=reminder-target-handler.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reminder-target-handler.d.ts","sourceRoot":"","sources":["../../../src/lib/save/reminder-target-handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAEpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,WAAW,EACZ,MAAM,8BAA8B,CAAC;AAEtC,MAAM,MAAM,WAAW,GAAG,IAAI,CAC5B,WAAW,EACT,SAAS,GACT,gBAAgB,GAChB,sBAAsB,GACtB,uBAAuB,CAC1B,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,SAAS,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,YAAY,CAAC;IACpB,iBAAiB,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;CAClD;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,OAAO,EAAE,eAAe,CAAC;IACzB,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAC7B,QAAQ,EAAE,kBAAkB,EAAE,CAAC;CAChC;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,WAAW,CAAC;IACrB,OAAO,EAAE,eAAe,CAAC;IACzB,iBAAiB,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;CAClD;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;IAChC,OAAO,CAAC,KAAK,EAAE,oBAAoB,GAAG,eAAe,GAAG,IAAI,CAAC;IAC7D,KAAK,CAAC,KAAK,EAAE,kBAAkB,GAAG,IAAI,CAAC;CACxC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { PreparedHandler, ReminderApplyInput, ReminderHandlerInput, ReminderTargetHandler } from './reminder-target-handler.ts';
|
|
2
|
-
export declare class ToolOutputTargetHandler implements ReminderTargetHandler {
|
|
3
|
-
readonly target: 'tool-output';
|
|
4
|
-
prepare({ pending, base, chain, sharedUserMessage, }: ReminderHandlerInput): PreparedHandler | null;
|
|
5
|
-
apply({ pending, carrier, resolved }: ReminderApplyInput): void;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=tool-output-target-handler.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tool-output-target-handler.d.ts","sourceRoot":"","sources":["../../../src/lib/save/tool-output-target-handler.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,eAAe,EACf,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,8BAA8B,CAAC;AAEtC,qBAAa,uBAAwB,YAAW,qBAAqB;IACnE,QAAQ,CAAC,MAAM,EAAE,aAAa,CAA0B;IAExD,OAAO,CAAC,EACN,OAAO,EACP,IAAI,EACJ,KAAK,EACL,iBAAiB,GAClB,EAAE,oBAAoB,GAAG,eAAe,GAAG,IAAI;IAkChD,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,kBAAkB,GAAG,IAAI;CAmBhE"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { PreparedHandler, ReminderApplyInput, ReminderHandlerInput, ReminderTargetHandler } from './reminder-target-handler.ts';
|
|
2
|
-
export declare class UserTargetHandler implements ReminderTargetHandler {
|
|
3
|
-
readonly target: 'user';
|
|
4
|
-
prepare({ pending, base, chain, }: ReminderHandlerInput): PreparedHandler | null;
|
|
5
|
-
apply({ pending, carrier, fired, resolved }: ReminderApplyInput): void;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=user-target-handler.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-target-handler.d.ts","sourceRoot":"","sources":["../../../src/lib/save/user-target-handler.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,eAAe,EACf,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,8BAA8B,CAAC;AAEtC,qBAAa,iBAAkB,YAAW,qBAAqB;IAC7D,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAmB;IAE1C,OAAO,CAAC,EACN,OAAO,EACP,IAAI,EACJ,KAAK,GACN,EAAE,oBAAoB,GAAG,eAAe,GAAG,IAAI;IA2BhD,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,kBAAkB,GAAG,IAAI;CAiBvE"}
|