@effect-agent/platform-node 0.1.0-beta.40 → 0.1.0-beta.41
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.mts +12 -1
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -194,7 +194,18 @@ declare class NodeDurableHost extends NodeDurableHost_base {
|
|
|
194
194
|
* Startup recovery and shutdown gates are unchanged. Workers start only when the caller
|
|
195
195
|
* runs runResolvedWorkers; this constructor never starts a background worker.
|
|
196
196
|
*/
|
|
197
|
-
static layerRegistered<const Entries extends ReadonlyArray<AgentRegistration>, ContextError = never, ContextRequirements = never, AuthorizationError = never, AuthorizationRequirements = never>(registrations: Entries, options: NodeDurableRuntimeOptions<ContextError, ContextRequirements, AuthorizationError, AuthorizationRequirements>): Layer.Layer<NodeDurableHost | NodeDurableRuntimeServices, AuthorizationError | ContextError | DurableWorkerFailure | NodeDurableRuntimeInitializationError, Exclude<Exclude<AuthorizationRequirements, Crypto.Crypto>, Crypto.Crypto> | Exclude<Exclude<ContextRequirements, Crypto.Crypto>, Crypto.Crypto> | Exclude<Exclude<[Entries[number]] extends [never] ? never : Entries[number] extends (infer T_1) ? T_1 extends Entries[number] ? T_1 extends
|
|
197
|
+
static layerRegistered<const Entries extends ReadonlyArray<AgentRegistration>, ContextError = never, ContextRequirements = never, AuthorizationError = never, AuthorizationRequirements = never>(registrations: Entries, options: NodeDurableRuntimeOptions<ContextError, ContextRequirements, AuthorizationError, AuthorizationRequirements>): Layer.Layer<NodeDurableHost | NodeDurableRuntimeServices, AuthorizationError | ContextError | DurableWorkerFailure | NodeDurableRuntimeInitializationError, Exclude<Exclude<AuthorizationRequirements, Crypto.Crypto>, Crypto.Crypto> | Exclude<Exclude<ContextRequirements, Crypto.Crypto>, Crypto.Crypto> | Exclude<Exclude<[Entries[number]] extends [never] ? never : Entries[number] extends (infer T_1) ? T_1 extends Entries[number] ? T_1 extends {
|
|
198
|
+
readonly agent: infer A extends import("@effect-agent/thread").ExecutableAgentBinding;
|
|
199
|
+
} ? import("@effect-agent/thread").DurableWorkerRequirements<A> : T_1 extends {
|
|
200
|
+
readonly agent: infer D extends import("@effect-agent/core").Definition<Schema.Top, Schema.Top, unknown, import("effect/unstable/ai/Toolkit").Any, import("@effect-agent/core").RunDispositionDeclaration<never, Schema.Top> | undefined, unknown> & {
|
|
201
|
+
readonly instructions: import("@effect-agent/core").InstructionSource<never, unknown, unknown>;
|
|
202
|
+
readonly inputPrompt?: import("@effect-agent/core").InputPromptSource<never, unknown, unknown> | undefined;
|
|
203
|
+
};
|
|
204
|
+
readonly model: infer M extends import("@effect-agent/thread").ExecutableAgentBinding["model"];
|
|
205
|
+
} ? import("@effect-agent/thread").DurableWorkerRequirements<{
|
|
206
|
+
readonly definition: D;
|
|
207
|
+
readonly model: M;
|
|
208
|
+
}> : never : never : never, import("effect/Scope").Scope>, Crypto.Crypto>>;
|
|
198
209
|
/**
|
|
199
210
|
* Host gates over an assembled `NodeDurableRuntime` stack. Bindings must carry the exact
|
|
200
211
|
* digests stored by submitters. Omission registers no Agents, so resolved work fails closed.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-agent/platform-node",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.41",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"types": "./dist/index.d.mts",
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@effect-agent/core": "0.1.0-beta.
|
|
12
|
-
"@effect-agent/engine": "0.1.0-beta.
|
|
13
|
-
"@effect-agent/storage-sqlite": "0.1.0-beta.
|
|
14
|
-
"@effect-agent/thread": "0.1.0-beta.
|
|
11
|
+
"@effect-agent/core": "0.1.0-beta.41",
|
|
12
|
+
"@effect-agent/engine": "0.1.0-beta.41",
|
|
13
|
+
"@effect-agent/storage-sqlite": "0.1.0-beta.41",
|
|
14
|
+
"@effect-agent/thread": "0.1.0-beta.41",
|
|
15
15
|
"@effect/platform-node": "4.0.0-rc.111",
|
|
16
16
|
"@effect/sql-sqlite-node": "4.0.0-rc.111"
|
|
17
17
|
},
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"test": "vp test --passWithNoTests"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@effect-agent/capabilities": "0.1.0-beta.
|
|
42
|
+
"@effect-agent/capabilities": "0.1.0-beta.40",
|
|
43
43
|
"@effect/vitest": "4.0.0-rc.111",
|
|
44
44
|
"effect": "4.0.0-rc.111",
|
|
45
45
|
"typescript": "7.0.2",
|