@owlmeans/agent 0.1.18-rc.50 → 0.1.18-rc.52
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 +1 -1
- package/agent-meta/manifest.json +2 -2
- package/agent-meta/skills/agent/SKILL.md +1 -1
- package/build/pipeline/types.d.ts +328 -0
- package/build/pipeline/types.d.ts.map +1 -0
- package/build/pipeline/types.js +2 -0
- package/build/pipeline/types.js.map +1 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -84,7 +84,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
|
|
|
84
84
|
your project's skill store (`.agents/skills/`):
|
|
85
85
|
|
|
86
86
|
```sh
|
|
87
|
-
npx @owlmeans/agent-skills@^0.1.18-rc.
|
|
87
|
+
npx @owlmeans/agent-skills@^0.1.18-rc.54
|
|
88
88
|
```
|
|
89
89
|
|
|
90
90
|
The embedded files are version-matched to this package release. Do not edit them
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"package": "@owlmeans/agent",
|
|
4
|
-
"version": "0.1.18-rc.
|
|
5
|
-
"generatedAt": "2026-10-
|
|
4
|
+
"version": "0.1.18-rc.52",
|
|
5
|
+
"generatedAt": "2026-10-15T10:20:01.303Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -8,7 +8,7 @@ user-invocable: false
|
|
|
8
8
|
# @owlmeans/agent
|
|
9
9
|
|
|
10
10
|
**Layer:** Cross-cutting domain
|
|
11
|
-
**Install:** `"@owlmeans/agent": "^0.1.18-rc.
|
|
11
|
+
**Install:** `"@owlmeans/agent": "^0.1.18-rc.52"` in `dependencies`, plus the `@langchain/core` and
|
|
12
12
|
`@langchain/langgraph` **peers**
|
|
13
13
|
|
|
14
14
|
The agent runtime. Contracts live in `@owlmeans/agent-common`.
|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
import type { BaseCheckpointSaver } from '@langchain/langgraph';
|
|
2
|
+
import type { CumulativeResultEntry, CumulativeResultFact, PipelineProgress, PipelineRun, PipelineRunInquiry, PipelineRunStatus, PipelineSpec, PipelineState, ResultFactQuery, ResultViewMode } from '@owlmeans/agent-common';
|
|
3
|
+
import type { CumulativeResults, Inquiry, InquiryAnswer } from '@owlmeans/llm-common';
|
|
4
|
+
import type { PipelineRunStore } from '../stores/types.js';
|
|
5
|
+
/**
|
|
6
|
+
* What a step is handed while it runs.
|
|
7
|
+
*
|
|
8
|
+
* Everything on it is runtime — none of it is serialized, and `deps` in particular is the bag of
|
|
9
|
+
* collaborators (a file helper, an execution, a service) that make the step able to do anything at
|
|
10
|
+
* all. Keeping them here rather than in the state is the whole reason a pipeline state can stay
|
|
11
|
+
* small enough to write at every step boundary.
|
|
12
|
+
*/
|
|
13
|
+
export interface PipelineRunContext<S extends PipelineState, C> {
|
|
14
|
+
runId: string;
|
|
15
|
+
step: string;
|
|
16
|
+
spec: PipelineSpec;
|
|
17
|
+
/** Whatever the caller passed to `invoke`/`resume`. NEVER serialized. */
|
|
18
|
+
deps: C;
|
|
19
|
+
/** The subject the run belongs to — carried so a composed sub-pipeline inherits it. */
|
|
20
|
+
scope: string;
|
|
21
|
+
entityId?: string;
|
|
22
|
+
/** Steps already behind this one, including those a resume inherited. */
|
|
23
|
+
completed: readonly string[];
|
|
24
|
+
/** Aborted when the caller's signal aborts, and when the run's budget runs out. */
|
|
25
|
+
signal: AbortSignal;
|
|
26
|
+
/**
|
|
27
|
+
* Persist a patch NOW, before the step returns.
|
|
28
|
+
*
|
|
29
|
+
* The unit of replay is a step, so a step that does N undoable things in a loop has to be able to
|
|
30
|
+
* say how many it has done — otherwise a resume repeats them. Every `mark` is a row write, so
|
|
31
|
+
* mark a cursor, never a payload.
|
|
32
|
+
*/
|
|
33
|
+
mark: (patch: Partial<S>) => Promise<void>;
|
|
34
|
+
/** Progress, not state. Reaches `onProgress` and the run row's `note`; never replayed. */
|
|
35
|
+
report: (note: string) => void;
|
|
36
|
+
/**
|
|
37
|
+
* The run's budget is spent.
|
|
38
|
+
*
|
|
39
|
+
* Cooperative: a step that can stop cleanly should finish the unit it is on and return. The
|
|
40
|
+
* runner then ends the run `Aborted` with `pending` naming what is left, and a later resume
|
|
41
|
+
* continues from there.
|
|
42
|
+
*/
|
|
43
|
+
expired: () => boolean;
|
|
44
|
+
/** What is left of the run's budget, or `undefined` when it has none. */
|
|
45
|
+
remainingMs: () => number | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* Put a question to a person and wait for the answer.
|
|
48
|
+
*
|
|
49
|
+
* Three outcomes, in this order. An answer already in the state — which is what a resume carries
|
|
50
|
+
* — comes straight back. A live channel that answers has its answer RECORDED in the state before
|
|
51
|
+
* it is returned, so the same question is never asked twice. Otherwise the run stops `Waiting`
|
|
52
|
+
* with the inquiry on its row and this call never returns: it throws the runner's own stop
|
|
53
|
+
* signal, which is not a failure and must not be caught by the step.
|
|
54
|
+
*
|
|
55
|
+
* What the step reads is the WHOLE answer; only the copy kept in the state is cut, because a
|
|
56
|
+
* state is scalars and keys and an answer's prose belongs wherever the pipeline keeps documents.
|
|
57
|
+
*
|
|
58
|
+
* `Inquiry.id` is the ONLY thing an answer is matched by, so it must be DERIVED from the step and
|
|
59
|
+
* the thing being decided — never minted per call. An id generated afresh on every entry can
|
|
60
|
+
* never match what the state holds, so the run re-asks and parks again forever.
|
|
61
|
+
*/
|
|
62
|
+
ask: (inquiry: Inquiry) => Promise<InquiryAnswer>;
|
|
63
|
+
/**
|
|
64
|
+
* What the earlier steps produced, cut for this step — present only when a pipeline plugin
|
|
65
|
+
* supplies it (`cumulativeResultsPlugin`). A pipeline that seats no such plugin never has the key.
|
|
66
|
+
*
|
|
67
|
+
* Hand `results.view` to the step's execution (`ExecutionService.withResults`) and every model
|
|
68
|
+
* built from it composes the view; call `results.record` with what the step wrote so the next
|
|
69
|
+
* steps are told about it.
|
|
70
|
+
*/
|
|
71
|
+
results?: StepResults;
|
|
72
|
+
}
|
|
73
|
+
/** What a step tells the results plugin about itself. Every call adds to the last. */
|
|
74
|
+
export interface ResultRecordInput {
|
|
75
|
+
/** Files the step wrote or rewrote, relative to the project root. */
|
|
76
|
+
files?: string[];
|
|
77
|
+
/** Facts the step already knows. Taken as they are, ahead of anything an extractor finds. */
|
|
78
|
+
facts?: CumulativeResultFact[];
|
|
79
|
+
}
|
|
80
|
+
/** One entry a step can see, and how its view shows it. */
|
|
81
|
+
export interface VisibleResultEntry {
|
|
82
|
+
entry: CumulativeResultEntry;
|
|
83
|
+
mode: ResultViewMode;
|
|
84
|
+
/** Left out of the prompt for BUDGET — named in `view.omitted` — rather than by declaration. */
|
|
85
|
+
dropped?: boolean;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* The results surface of ONE step: the view to put in its prompt, a query over the facts behind
|
|
89
|
+
* that view for code that wants them, and the way to report what the step produced.
|
|
90
|
+
*/
|
|
91
|
+
export interface StepResults {
|
|
92
|
+
/** The ledger the step's entries belong to. */
|
|
93
|
+
ledger: string;
|
|
94
|
+
/** Where the step sits in the ledger — the order key a run composed under it extends. */
|
|
95
|
+
order: readonly number[];
|
|
96
|
+
/** Serializable and frozen; `ExecutionService.withResults(exec, results.view)`. */
|
|
97
|
+
view: CumulativeResults;
|
|
98
|
+
/** Every entry visible to the step, oldest first, with how the view shows it. */
|
|
99
|
+
entries: () => readonly VisibleResultEntry[];
|
|
100
|
+
/**
|
|
101
|
+
* Facts visible to the step, narrowed by kind, name and producing step — including those the
|
|
102
|
+
* PROMPT left out for space or by declaration: a budget is about what a model reads, and code
|
|
103
|
+
* asking for a fact is not a model reading a prompt.
|
|
104
|
+
*/
|
|
105
|
+
facts: (query?: ResultFactQuery) => CumulativeResultFact[];
|
|
106
|
+
/** Report files touched and facts known. Read once, when the step finishes. */
|
|
107
|
+
record: (input: ResultRecordInput) => void;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* The composing step of a parent pipeline, as a run composed under it (`asStep`) sees it —
|
|
111
|
+
* read-only by construction: a composed run may learn where it sits, never write its parent.
|
|
112
|
+
*/
|
|
113
|
+
export interface PipelineParentRef {
|
|
114
|
+
pipeline: string;
|
|
115
|
+
runId: string;
|
|
116
|
+
step: string;
|
|
117
|
+
/** The parent step's results surface, when its pipeline seats a results plugin. */
|
|
118
|
+
results?: StepResults;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* How a run entered the runner: a first run, a run carried on from where its row stopped (an
|
|
122
|
+
* `invoke` on an unfinished row, or any `resume`), or an unfinished row discarded on request.
|
|
123
|
+
*/
|
|
124
|
+
export type PipelineEnterMode = 'fresh' | 'continue' | 'restart';
|
|
125
|
+
export interface PipelineEnterEvent<S extends PipelineState, C> {
|
|
126
|
+
spec: PipelineSpec;
|
|
127
|
+
runId: string;
|
|
128
|
+
scope: string;
|
|
129
|
+
entityId?: string;
|
|
130
|
+
deps: C;
|
|
131
|
+
mode: PipelineEnterMode;
|
|
132
|
+
/** Steps this execution inherits as complete, in order. None of them will run or pass. */
|
|
133
|
+
inherited: readonly string[];
|
|
134
|
+
/** The state the run starts from — restored from its row, with the seed or patch merged. */
|
|
135
|
+
state: Readonly<S>;
|
|
136
|
+
/** Present when the run is a step of another pipeline. */
|
|
137
|
+
parent?: PipelineParentRef;
|
|
138
|
+
}
|
|
139
|
+
export interface PipelineStepEvent<S extends PipelineState, C> {
|
|
140
|
+
step: string;
|
|
141
|
+
ctx: PipelineRunContext<S, C>;
|
|
142
|
+
/** The live state. Read it; a plugin never writes it. */
|
|
143
|
+
state: Readonly<S>;
|
|
144
|
+
}
|
|
145
|
+
export interface PipelineAfterStepEvent<S extends PipelineState, C> extends PipelineStepEvent<S, C> {
|
|
146
|
+
/** What the step returned, already merged into `state`. */
|
|
147
|
+
patch: Partial<S>;
|
|
148
|
+
}
|
|
149
|
+
export interface PipelinePassStepEvent<S extends PipelineState, C> extends PipelineStepEvent<S, C> {
|
|
150
|
+
/** `skipped` — its guard answered true; `failed` — it is `optional`, failed, and the run goes on. */
|
|
151
|
+
reason: 'skipped' | 'failed';
|
|
152
|
+
error?: Error;
|
|
153
|
+
}
|
|
154
|
+
export interface PipelineExitEvent<S extends PipelineState, C> {
|
|
155
|
+
spec: PipelineSpec;
|
|
156
|
+
runId: string;
|
|
157
|
+
deps: C;
|
|
158
|
+
result: PipelineResult<S>;
|
|
159
|
+
}
|
|
160
|
+
/** What `beforeStep` may hand the step. The first plugin to offer `results` owns them. */
|
|
161
|
+
export interface PipelineStepContribution {
|
|
162
|
+
results?: StepResults;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* An optional capability of a pipeline run, seated by `alias` and run by ascending `order`.
|
|
166
|
+
*
|
|
167
|
+
* A plugin WATCHES a run: it never writes the pipeline's state — whatever it keeps, it keeps in a
|
|
168
|
+
* store of its own — and it never decides where a run stands, which the row alone does. Every hook
|
|
169
|
+
* is wrapped: a plugin that throws is logged and the run goes on, because losing an enhancement
|
|
170
|
+
* costs what it adds and never the work. The one exception is an error `PipelineOptions.fatal`
|
|
171
|
+
* calls fatal, which takes the exact path a fatal step error takes — the row written `Failed`
|
|
172
|
+
* first, then the error rethrown.
|
|
173
|
+
*
|
|
174
|
+
* - `enter` — once per `invoke`/`resume`, before the first step, with how the run entered.
|
|
175
|
+
* - `beforeStep` — once the runner has decided the step will RUN, before it runs.
|
|
176
|
+
* - `afterStep` — after the step's patch is merged into the state and BEFORE the row commit that
|
|
177
|
+
* marks the step complete, so what a plugin persists lands before the step is durably done.
|
|
178
|
+
* - `passStep` — a step skipped by its guard, or an optional step that failed.
|
|
179
|
+
* - `exit` — once, at the end, with the result the caller is about to receive.
|
|
180
|
+
*/
|
|
181
|
+
export interface PipelinePlugin<S extends PipelineState, C> {
|
|
182
|
+
alias: string;
|
|
183
|
+
/** Lower runs first. Defaults to 50. */
|
|
184
|
+
order?: number;
|
|
185
|
+
enter?: (event: PipelineEnterEvent<S, C>) => Promise<void> | void;
|
|
186
|
+
beforeStep?: (event: PipelineStepEvent<S, C>) => Promise<PipelineStepContribution | void> | PipelineStepContribution | void;
|
|
187
|
+
afterStep?: (event: PipelineAfterStepEvent<S, C>) => Promise<void> | void;
|
|
188
|
+
passStep?: (event: PipelinePassStepEvent<S, C>) => Promise<void> | void;
|
|
189
|
+
exit?: (event: PipelineExitEvent<S, C>) => Promise<void> | void;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* How a pipeline puts a question to a person.
|
|
193
|
+
*
|
|
194
|
+
* Absent altogether means no channel at all: a step that asks parks the run at once. That is the
|
|
195
|
+
* safe default — a run given no way to ask must never invent one.
|
|
196
|
+
*/
|
|
197
|
+
export interface PipelineInquiryOptions<S extends PipelineState, C> {
|
|
198
|
+
/**
|
|
199
|
+
* Answer live, or `null` to say nobody is there — which parks the run.
|
|
200
|
+
*
|
|
201
|
+
* A THROW is not a park: it escapes and fails the step as an ordinary outcome, because an error
|
|
202
|
+
* from the channel says the asking failed, not that the answer is no.
|
|
203
|
+
*/
|
|
204
|
+
ask?: (inquiry: Inquiry, ctx: PipelineRunContext<S, C>) => Promise<InquiryAnswer | null>;
|
|
205
|
+
/** Where answers live in the state. Defaults to `INQUIRY_ANSWERS_KEY`. */
|
|
206
|
+
answersKey?: string;
|
|
207
|
+
/** Ceiling on ONE answer. Defaults to `DEFAULT_INQUIRY_ANSWER_CHARS`. */
|
|
208
|
+
maxAnswerChars?: number;
|
|
209
|
+
}
|
|
210
|
+
export interface PipelineStep<S extends PipelineState, C> {
|
|
211
|
+
step: string;
|
|
212
|
+
/**
|
|
213
|
+
* Answered on EVERY entry — a first run, a resume, a replay — and `true` makes the step a no-op.
|
|
214
|
+
*
|
|
215
|
+
* This is what makes a resume correct, and it is deliberately not delegated to the graph engine:
|
|
216
|
+
* a guard reads the durable marker the step itself wrote, so it is right whether or not anything
|
|
217
|
+
* replayed, whether or not a checkpoint survived, and whether or not the step list has since
|
|
218
|
+
* been reordered.
|
|
219
|
+
*/
|
|
220
|
+
skipWhen?: (state: Readonly<S>, ctx: PipelineRunContext<S, C>) => Promise<boolean> | boolean;
|
|
221
|
+
/** Returns the patch to merge into the state. `void` means "nothing to record". */
|
|
222
|
+
run: (state: Readonly<S>, ctx: PipelineRunContext<S, C>) => Promise<Partial<S> | void>;
|
|
223
|
+
}
|
|
224
|
+
export interface PipelineOptions<S extends PipelineState, C> {
|
|
225
|
+
steps: PipelineStep<S, C>[];
|
|
226
|
+
/** Where the run row lives. Absent ⇒ the run is not resumable and nothing is persisted. */
|
|
227
|
+
runs?: PipelineRunStore;
|
|
228
|
+
/**
|
|
229
|
+
* LangGraph's own persistence. Optional by contract: the run row is the authority, so a missing
|
|
230
|
+
* or expired checkpoint costs a replay, never a correct answer.
|
|
231
|
+
*/
|
|
232
|
+
checkpointer?: BaseCheckpointSaver;
|
|
233
|
+
/**
|
|
234
|
+
* Errors that must escape rather than become a `Failed` result — an exhausted budget, a refusal.
|
|
235
|
+
* The row is written `Failed` first, then the error is rethrown.
|
|
236
|
+
*/
|
|
237
|
+
fatal?: (e: unknown) => boolean;
|
|
238
|
+
maxStateChars?: number;
|
|
239
|
+
/** How `ctx.ask` reaches a person. Absent ⇒ every question parks the run. */
|
|
240
|
+
inquiry?: PipelineInquiryOptions<S, C>;
|
|
241
|
+
onProgress?: (progress: PipelineProgress) => void;
|
|
242
|
+
/** One line per step boundary. The only place a runner says anything. */
|
|
243
|
+
trace?: (line: string) => void;
|
|
244
|
+
/**
|
|
245
|
+
* Optional capabilities of every run — seated by alias, run by ascending `order`. None seated,
|
|
246
|
+
* the runner behaves exactly as if the seam did not exist: no hook is awaited, and a step's
|
|
247
|
+
* context carries no `results`.
|
|
248
|
+
*/
|
|
249
|
+
plugins?: PipelinePlugin<S, C>[];
|
|
250
|
+
}
|
|
251
|
+
export interface PipelineResult<S extends PipelineState> {
|
|
252
|
+
runId: string;
|
|
253
|
+
status: PipelineRunStatus;
|
|
254
|
+
state: S;
|
|
255
|
+
completed: string[];
|
|
256
|
+
pending: string[];
|
|
257
|
+
warnings: string[];
|
|
258
|
+
failedAt?: string;
|
|
259
|
+
error?: Error;
|
|
260
|
+
note?: string;
|
|
261
|
+
/** What a `Waiting` run stopped on. Present only with that status. */
|
|
262
|
+
inquiry?: PipelineRunInquiry;
|
|
263
|
+
}
|
|
264
|
+
export interface PipelineInvokeArgs<C> {
|
|
265
|
+
runId: string;
|
|
266
|
+
deps: C;
|
|
267
|
+
/** The subject the run belongs to — an application with projects passes the project id. */
|
|
268
|
+
scope: string;
|
|
269
|
+
entityId?: string;
|
|
270
|
+
/** Recorded so a resume can re-take the same lock. */
|
|
271
|
+
lockTask?: string;
|
|
272
|
+
budgetMs?: number;
|
|
273
|
+
signal?: AbortSignal;
|
|
274
|
+
onProgress?: (progress: PipelineProgress) => void;
|
|
275
|
+
/**
|
|
276
|
+
* Discard an unfinished run under this id and start over.
|
|
277
|
+
*
|
|
278
|
+
* Without it, invoking a runId whose row is `Running`, `Failed` or `Aborted` CONTINUES it — which
|
|
279
|
+
* is what makes a handler that is simply called again pick up where it stopped instead of paying
|
|
280
|
+
* for the work twice. A `Done` row always starts a fresh run.
|
|
281
|
+
*/
|
|
282
|
+
restart?: boolean;
|
|
283
|
+
/**
|
|
284
|
+
* The composing step, when this run is a step of another pipeline. Set by `asStep`; handed to
|
|
285
|
+
* the plugins' `enter`, and never persisted.
|
|
286
|
+
*/
|
|
287
|
+
parent?: PipelineParentRef;
|
|
288
|
+
}
|
|
289
|
+
export interface PipelineResumeArgs<C> {
|
|
290
|
+
deps: C;
|
|
291
|
+
/** Re-enter this step and everything that waits on it. Defaults to whatever is not complete. */
|
|
292
|
+
from?: string;
|
|
293
|
+
/** Required to re-enter a completed `nonIdempotent` step. */
|
|
294
|
+
force?: boolean;
|
|
295
|
+
/** Merged into the restored state before the first step runs. */
|
|
296
|
+
patch?: Record<string, unknown>;
|
|
297
|
+
/**
|
|
298
|
+
* Answers to questions the run parked on, keyed by inquiry id.
|
|
299
|
+
*
|
|
300
|
+
* MERGED into the state's answers rather than assigned over them, and merged last — after
|
|
301
|
+
* `patch` — so an answer given earlier is never dropped by a resume that carries a newer one.
|
|
302
|
+
*/
|
|
303
|
+
answers?: Record<string, InquiryAnswer>;
|
|
304
|
+
budgetMs?: number;
|
|
305
|
+
signal?: AbortSignal;
|
|
306
|
+
onProgress?: (progress: PipelineProgress) => void;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* How a pipeline becomes one step of another.
|
|
310
|
+
*
|
|
311
|
+
* The child keeps its own run row (`<parentRunId>/<step>`), so a parent resumed at the composing
|
|
312
|
+
* step resumes the child at the child's own failed step rather than re-running all of it.
|
|
313
|
+
*/
|
|
314
|
+
export interface PipelineStepMapping<S extends PipelineState, PS extends PipelineState> {
|
|
315
|
+
input: (parent: Readonly<PS>) => Partial<S>;
|
|
316
|
+
output: (child: Readonly<S>, parent: Readonly<PS>) => Partial<PS>;
|
|
317
|
+
/** Called when the child ends `Failed`. Return `true` to swallow it into the parent's warnings. */
|
|
318
|
+
tolerate?: (result: PipelineResult<S>) => boolean;
|
|
319
|
+
}
|
|
320
|
+
export interface PipelineModel<S extends PipelineState, C> {
|
|
321
|
+
spec: () => PipelineSpec;
|
|
322
|
+
invoke: (seed: Partial<S>, args: PipelineInvokeArgs<C>) => Promise<PipelineResult<S>>;
|
|
323
|
+
resume: (runId: string, args: PipelineResumeArgs<C>) => Promise<PipelineResult<S>>;
|
|
324
|
+
/** The run row as stored. `null` with no store bound, or for an unknown run. */
|
|
325
|
+
snapshot: (runId: string) => Promise<PipelineRun | null>;
|
|
326
|
+
asStep: <PS extends PipelineState>(step: string, mapping: PipelineStepMapping<S, PS>) => PipelineStep<PS, C>;
|
|
327
|
+
}
|
|
328
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/pip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-1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/agent",
|
|
3
|
-
"version": "0.1.18-rc.
|
|
3
|
+
"version": "0.1.18-rc.52",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -69,11 +69,11 @@
|
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@owlmeans/agent-common": "^0.1.18-rc.49",
|
|
72
|
-
"@owlmeans/basic-ids": "^0.1.18-rc.
|
|
72
|
+
"@owlmeans/basic-ids": "^0.1.18-rc.40",
|
|
73
73
|
"@owlmeans/context": "^0.1.18-rc.34",
|
|
74
74
|
"@owlmeans/error": "^0.1.18-rc.38",
|
|
75
75
|
"@owlmeans/flow": "^0.1.18-rc.45",
|
|
76
|
-
"@owlmeans/llm": "^0.1.18-rc.
|
|
76
|
+
"@owlmeans/llm": "^0.1.18-rc.50",
|
|
77
77
|
"@owlmeans/llm-common": "^0.1.18-rc.39",
|
|
78
78
|
"@owlmeans/log": "^0.1.18-rc.3",
|
|
79
79
|
"ajv": "^8.20.0"
|