@relayfx/sdk 0.0.49 → 0.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 +5 -0
- package/dist/ai.js +42 -17218
- package/dist/index-q0z11q9m.js +18726 -0
- package/dist/index-sms8x6cq.js +137 -0
- package/dist/index-vbf5hcw8.js +2156 -0
- package/dist/index.js +741 -18835
- package/dist/migrations/20260712120000_durable_inbox/migration.sql +9 -0
- package/dist/migrations/20260712140000_execution_state/migration.sql +5 -0
- package/dist/migrations/20260712150000_durable_entities/migration.sql +15 -0
- package/dist/migrations/20260712160000_ephemeral_presence/migration.sql +13 -0
- package/dist/migrations/20260712170000_topic_subscriptions/migration.sql +3 -0
- package/dist/migrations/mysql/0003_durable_inbox.sql +3 -0
- package/dist/migrations/mysql/0004_execution_state.sql +3 -0
- package/dist/migrations/mysql/0005_durable_entities.sql +13 -0
- package/dist/migrations/mysql/0006_ephemeral_presence.sql +12 -0
- package/dist/migrations/mysql/0007_topic_subscriptions.sql +1 -0
- package/dist/migrations/pg/20260712120000_durable_inbox/migration.sql +9 -0
- package/dist/migrations/pg/20260712140000_execution_state/migration.sql +5 -0
- package/dist/migrations/pg/20260712150000_durable_entities/migration.sql +15 -0
- package/dist/migrations/pg/20260712160000_ephemeral_presence/migration.sql +13 -0
- package/dist/migrations/pg/20260712170000_topic_subscriptions/migration.sql +3 -0
- package/dist/migrations/sqlite/0003_durable_inbox.sql +9 -0
- package/dist/migrations/sqlite/0004_execution_state.sql +3 -0
- package/dist/migrations/sqlite/0005_durable_entities.sql +15 -0
- package/dist/migrations/sqlite/0006_ephemeral_presence.sql +12 -0
- package/dist/migrations/sqlite/0007_topic_subscriptions.sql +3 -0
- package/dist/sqlite.js +688 -0
- package/dist/types/relay/client.d.ts +197 -17
- package/dist/types/relay/command.d.ts +41 -0
- package/dist/types/relay/database.d.ts +1 -0
- package/dist/types/relay/index.d.ts +3 -2
- package/dist/types/relay/operation.d.ts +520 -2
- package/dist/types/relay/sqlite-migrations.d.ts +39 -0
- package/dist/types/relay/sqlite-runtime.d.ts +5 -0
- package/dist/types/relay/sqlite.d.ts +27 -0
- package/dist/types/runtime/address/address-book-service.d.ts +4 -4
- package/dist/types/runtime/address/address-resolution-service.d.ts +1 -1
- package/dist/types/runtime/agent/agent-loop-service.d.ts +2 -2
- package/dist/types/runtime/agent/agent-registry-service.d.ts +1 -1
- package/dist/types/runtime/agent/relay-compaction.d.ts +1 -1
- package/dist/types/runtime/agent/relay-permissions.d.ts +1 -1
- package/dist/types/runtime/agent/relay-steering.d.ts +1 -1
- package/dist/types/runtime/child/child-run-service.d.ts +1 -1
- package/dist/types/runtime/child/parent-notifier-service.d.ts +1 -1
- package/dist/types/runtime/cluster/execution-entity.d.ts +1 -1
- package/dist/types/runtime/entity/entity-instance-service.d.ts +67 -0
- package/dist/types/runtime/entity/entity-registry-service.d.ts +35 -0
- package/dist/types/runtime/envelope/envelope-service.d.ts +7 -3
- package/dist/types/runtime/execution/event-log-service.d.ts +1 -1
- package/dist/types/runtime/execution/execution-service.d.ts +1 -1
- package/dist/types/runtime/execution/execution-watch-service.d.ts +32 -0
- package/dist/types/runtime/execution/session-stream-service.d.ts +33 -0
- package/dist/types/runtime/inbox/inbox-service.d.ts +76 -0
- package/dist/types/runtime/inbox/send-message-tool.d.ts +27 -0
- package/dist/types/runtime/inbox/wait-for-messages-tool.d.ts +34 -0
- package/dist/types/runtime/index.d.ts +13 -0
- package/dist/types/runtime/memory/memory-service.d.ts +1 -1
- package/dist/types/runtime/presence/presence-service.d.ts +30 -0
- package/dist/types/runtime/presence/presence-tool.d.ts +20 -0
- package/dist/types/runtime/runner/runner-runtime-service.d.ts +18 -18
- package/dist/types/runtime/schedule/scheduler-service.d.ts +1 -1
- package/dist/types/runtime/session/session-store-service.d.ts +1 -1
- package/dist/types/runtime/skill/skill-registry-service.d.ts +1 -1
- package/dist/types/runtime/state/execution-state-service.d.ts +57 -0
- package/dist/types/runtime/state/state-tools.d.ts +5 -0
- package/dist/types/runtime/tool/tool-runtime-service.d.ts +1 -1
- package/dist/types/runtime/topic/publish-to-topic-tool.d.ts +24 -0
- package/dist/types/runtime/topic/topic-service.d.ts +50 -0
- package/dist/types/runtime/wait/wait-service.d.ts +2 -1
- package/dist/types/runtime/wait/wait-signal.d.ts +1 -1
- package/dist/types/runtime/workflow/execution-workflow.d.ts +2 -2
- package/dist/types/runtime/workspace/workspace-planner-service.d.ts +1 -1
- package/dist/types/schema/address-schema.d.ts +6 -6
- package/dist/types/schema/entity-schema.d.ts +40 -0
- package/dist/types/schema/envelope-schema.d.ts +1 -0
- package/dist/types/schema/execution-schema.d.ts +2 -2
- package/dist/types/schema/ids-schema.d.ts +8 -0
- package/dist/types/schema/inbox-schema.d.ts +81 -0
- package/dist/types/schema/index.d.ts +4 -0
- package/dist/types/schema/presence-schema.d.ts +28 -0
- package/dist/types/schema/state-schema.d.ts +35 -0
- package/dist/types/store-sql/address/address-book-repository.d.ts +1 -1
- package/dist/types/store-sql/database/database-service.d.ts +4 -18
- package/dist/types/store-sql/database/notification-bus.d.ts +2 -0
- package/dist/types/store-sql/database/sql-dialect.d.ts +13 -0
- package/dist/types/store-sql/entity/entity-repository.d.ts +36 -0
- package/dist/types/store-sql/envelope/envelope-repository.d.ts +1 -0
- package/dist/types/store-sql/execution/execution-event-repository.d.ts +2 -1
- package/dist/types/store-sql/execution/execution-repository.d.ts +12 -2
- package/dist/types/store-sql/inbox/inbox-repository.d.ts +56 -0
- package/dist/types/store-sql/index.d.ts +6 -0
- package/dist/types/store-sql/portable.d.ts +27 -0
- package/dist/types/store-sql/presence/presence-repository.d.ts +51 -0
- package/dist/types/store-sql/schema/relay-schema.d.ts +1352 -140
- package/dist/types/store-sql/state/execution-state-repository.d.ts +80 -0
- package/dist/types/store-sql/tenant/tenant-id.d.ts +0 -2
- package/dist/types/store-sql/topic/topic-repository.d.ts +44 -0
- package/package.json +26 -4
- package/dist/migrations/20260701002839_sour_cerebro/snapshot.json +0 -1971
- package/dist/migrations/20260701041134_acoustic_hulk/snapshot.json +0 -2372
- package/dist/migrations/20260701160543_condemned_stryfe/snapshot.json +0 -2442
- package/dist/migrations/20260701220315_heavy_gorgon/snapshot.json +0 -2495
- package/dist/migrations/20260701225444_polite_lord_hawal/snapshot.json +0 -2821
- package/dist/migrations/20260702030128_flaky_misty_knight/snapshot.json +0 -2821
- package/dist/migrations/20260705003847_nervous_banshee/snapshot.json +0 -2954
- package/dist/migrations/20260705012626_common_stryfe/snapshot.json +0 -3378
- package/dist/migrations/20260705015420_sweet_captain_marvel/snapshot.json +0 -3485
- package/dist/migrations/20260705023041_chunky_scalphunter/snapshot.json +0 -3753
- package/dist/migrations/20260705030344_short_patriot/snapshot.json +0 -3873
- package/dist/migrations/20260705045546_heavy_ben_grimm/snapshot.json +0 -4193
- package/dist/migrations/20260706185931_regular_shadow_king/snapshot.json +0 -4844
- package/dist/migrations/20260706233300_equal_cyclops/snapshot.json +0 -4883
- package/dist/migrations/20260709030349_agent_id_rename/snapshot.json +0 -4883
- package/dist/migrations/20260709214238_faithful_black_widow/snapshot.json +0 -5426
- package/dist/migrations/20260709220016_fearless_aaron_stack/snapshot.json +0 -5426
- package/dist/migrations/pg/20260701002839_sour_cerebro/snapshot.json +0 -1971
- package/dist/migrations/pg/20260701041134_acoustic_hulk/snapshot.json +0 -2372
- package/dist/migrations/pg/20260701160543_condemned_stryfe/snapshot.json +0 -2442
- package/dist/migrations/pg/20260701220315_heavy_gorgon/snapshot.json +0 -2495
- package/dist/migrations/pg/20260701225444_polite_lord_hawal/snapshot.json +0 -2821
- package/dist/migrations/pg/20260702030128_flaky_misty_knight/snapshot.json +0 -2821
- package/dist/migrations/pg/20260705003847_nervous_banshee/snapshot.json +0 -2954
- package/dist/migrations/pg/20260705012626_common_stryfe/snapshot.json +0 -3378
- package/dist/migrations/pg/20260705015420_sweet_captain_marvel/snapshot.json +0 -3485
- package/dist/migrations/pg/20260705023041_chunky_scalphunter/snapshot.json +0 -3753
- package/dist/migrations/pg/20260705030344_short_patriot/snapshot.json +0 -3873
- package/dist/migrations/pg/20260705045546_heavy_ben_grimm/snapshot.json +0 -4193
- package/dist/migrations/pg/20260706185931_regular_shadow_king/snapshot.json +0 -4844
- package/dist/migrations/pg/20260706233300_equal_cyclops/snapshot.json +0 -4883
- package/dist/migrations/pg/20260709030349_agent_id_rename/snapshot.json +0 -4883
- package/dist/migrations/pg/20260709214238_faithful_black_widow/snapshot.json +0 -5426
- package/dist/migrations/pg/20260709220016_fearless_aaron_stack/snapshot.json +0 -5426
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Ids, Shared, State } from "../../schema/index";
|
|
2
|
+
import { Context, Effect, Layer, Schema } from "effect";
|
|
3
|
+
import { SqlClient } from "effect/unstable/sql/SqlClient";
|
|
4
|
+
import { Service as ExecutionEventRepositoryService } from "../execution/execution-event-repository";
|
|
5
|
+
import { Service as ExecutionRepositoryService } from "../execution/execution-repository";
|
|
6
|
+
declare const StateVersionConflict_base: Schema.Class<StateVersionConflict, Schema.TaggedStruct<"StateVersionConflict", {
|
|
7
|
+
readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
|
|
8
|
+
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
|
|
9
|
+
};
|
|
10
|
+
readonly key: Schema.String;
|
|
11
|
+
readonly expected_version: Schema.Int;
|
|
12
|
+
readonly actual_version: Schema.Int;
|
|
13
|
+
}>, import("effect/Cause").YieldableError>;
|
|
14
|
+
export declare class StateVersionConflict extends StateVersionConflict_base {
|
|
15
|
+
}
|
|
16
|
+
declare const ExecutionStateRepositoryError_base: Schema.Class<ExecutionStateRepositoryError, Schema.TaggedStruct<"ExecutionStateRepositoryError", {
|
|
17
|
+
readonly message: Schema.String;
|
|
18
|
+
}>, import("effect/Cause").YieldableError>;
|
|
19
|
+
export declare class ExecutionStateRepositoryError extends ExecutionStateRepositoryError_base {
|
|
20
|
+
}
|
|
21
|
+
declare const ExecutionStateExecutionNotFound_base: Schema.Class<ExecutionStateExecutionNotFound, Schema.TaggedStruct<"ExecutionStateExecutionNotFound", {
|
|
22
|
+
readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
|
|
23
|
+
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
|
|
24
|
+
};
|
|
25
|
+
}>, import("effect/Cause").YieldableError>;
|
|
26
|
+
export declare class ExecutionStateExecutionNotFound extends ExecutionStateExecutionNotFound_base {
|
|
27
|
+
}
|
|
28
|
+
declare const StateIdempotencyConflict_base: Schema.Class<StateIdempotencyConflict, Schema.TaggedStruct<"StateIdempotencyConflict", {
|
|
29
|
+
readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
|
|
30
|
+
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
|
|
31
|
+
};
|
|
32
|
+
readonly idempotency_key: Schema.String;
|
|
33
|
+
readonly recorded_key: Schema.String;
|
|
34
|
+
readonly requested_key: Schema.String;
|
|
35
|
+
readonly recorded_op: Schema.Literals<readonly ["put", "delete"]>;
|
|
36
|
+
readonly requested_op: Schema.Literals<readonly ["put", "delete"]>;
|
|
37
|
+
}>, import("effect/Cause").YieldableError>;
|
|
38
|
+
export declare class StateIdempotencyConflict extends StateIdempotencyConflict_base {
|
|
39
|
+
}
|
|
40
|
+
export interface OperationResult {
|
|
41
|
+
readonly key: string;
|
|
42
|
+
readonly op: "put" | "delete";
|
|
43
|
+
readonly record: State.StateRecordView | undefined;
|
|
44
|
+
}
|
|
45
|
+
export interface PutInput {
|
|
46
|
+
readonly executionId: Ids.ExecutionId;
|
|
47
|
+
readonly key: string;
|
|
48
|
+
readonly value: Shared.JsonValue;
|
|
49
|
+
readonly eventData: (version: number) => Shared.Metadata;
|
|
50
|
+
readonly expectedVersion?: number;
|
|
51
|
+
readonly idempotencyKey?: string;
|
|
52
|
+
readonly updatedAt: number;
|
|
53
|
+
}
|
|
54
|
+
export interface RemoveInput {
|
|
55
|
+
readonly executionId: Ids.ExecutionId;
|
|
56
|
+
readonly key: string;
|
|
57
|
+
readonly expectedVersion?: number;
|
|
58
|
+
readonly idempotencyKey?: string;
|
|
59
|
+
readonly removedAt: number;
|
|
60
|
+
}
|
|
61
|
+
export interface ListInput {
|
|
62
|
+
readonly executionId: Ids.ExecutionId;
|
|
63
|
+
readonly prefix?: string;
|
|
64
|
+
readonly afterKey?: string;
|
|
65
|
+
readonly limit?: number;
|
|
66
|
+
}
|
|
67
|
+
export interface Interface {
|
|
68
|
+
readonly findOperation: (executionId: Ids.ExecutionId, idempotencyKey: string) => Effect.Effect<OperationResult | undefined, ExecutionStateRepositoryError>;
|
|
69
|
+
readonly get: (executionId: Ids.ExecutionId, key: string) => Effect.Effect<State.StateRecordView | undefined, ExecutionStateRepositoryError>;
|
|
70
|
+
readonly put: (input: PutInput) => Effect.Effect<State.StateRecordView, StateVersionConflict | StateIdempotencyConflict | ExecutionStateExecutionNotFound | ExecutionStateRepositoryError>;
|
|
71
|
+
readonly remove: (input: RemoveInput) => Effect.Effect<State.StateRecordView | undefined, StateVersionConflict | StateIdempotencyConflict | ExecutionStateExecutionNotFound | ExecutionStateRepositoryError>;
|
|
72
|
+
readonly list: (input: ListInput) => Effect.Effect<ReadonlyArray<State.StateRecordView>, ExecutionStateRepositoryError>;
|
|
73
|
+
}
|
|
74
|
+
declare const Service_base: Context.ServiceClass<Service, "@relayfx/store-sql/ExecutionStateRepository", Interface>;
|
|
75
|
+
export declare class Service extends Service_base {
|
|
76
|
+
}
|
|
77
|
+
export declare const memoryLayer: Layer.Layer<Service, never, ExecutionEventRepositoryService | ExecutionRepositoryService>;
|
|
78
|
+
export declare const layer: Layer.Layer<Service, never, SqlClient | ExecutionEventRepositoryService>;
|
|
79
|
+
export declare const testLayer: (implementation: Interface) => Layer.Layer<Service, never, never>;
|
|
80
|
+
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Ids } from "../../schema/index";
|
|
2
|
-
import { type AnyColumn, type SQLWrapper } from "drizzle-orm";
|
|
3
2
|
import { Context, Effect, Layer } from "effect";
|
|
4
3
|
export interface Interface {
|
|
5
4
|
readonly tenantId: Ids.TenantId;
|
|
@@ -13,5 +12,4 @@ export declare const systemLayer: Layer.Layer<Service, never, never>;
|
|
|
13
12
|
export declare const memoryLayer: Layer.Layer<Service, never, never>;
|
|
14
13
|
export declare const testLayer: (tenantId: Ids.TenantId) => Layer.Layer<Service, never, never>;
|
|
15
14
|
export declare const current: () => Effect.Effect<string & import("effect/Brand").Brand<"Relay.TenantId">, never, never>;
|
|
16
|
-
export declare const predicate: (tenantId: Ids.TenantId, tenantColumn: AnyColumn, ...conditions: ReadonlyArray<SQLWrapper | undefined>) => import("drizzle-orm").SQL<unknown> | undefined;
|
|
17
15
|
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Ids, Shared } from "../../schema/index";
|
|
2
|
+
import { Context, Effect, Layer, Schema } from "effect";
|
|
3
|
+
import { SqlClient } from "effect/unstable/sql/SqlClient";
|
|
4
|
+
declare const TopicRepositoryError_base: Schema.Class<TopicRepositoryError, Schema.TaggedStruct<"TopicRepositoryError", {
|
|
5
|
+
readonly message: Schema.String;
|
|
6
|
+
}>, import("effect/Cause").YieldableError>;
|
|
7
|
+
export declare class TopicRepositoryError extends TopicRepositoryError_base {
|
|
8
|
+
}
|
|
9
|
+
export interface Subscription {
|
|
10
|
+
readonly topic_address_id: Ids.AddressId;
|
|
11
|
+
readonly subscriber_execution_id: Ids.ExecutionId;
|
|
12
|
+
readonly metadata?: Shared.Metadata;
|
|
13
|
+
readonly created_at: number;
|
|
14
|
+
}
|
|
15
|
+
export interface UpsertInput {
|
|
16
|
+
readonly topicAddressId: Ids.AddressId;
|
|
17
|
+
readonly subscriberExecutionId: Ids.ExecutionId;
|
|
18
|
+
readonly metadata?: Shared.Metadata;
|
|
19
|
+
readonly createdAt: number;
|
|
20
|
+
}
|
|
21
|
+
export interface RemoveInput {
|
|
22
|
+
readonly topicAddressId: Ids.AddressId;
|
|
23
|
+
readonly subscriberExecutionId: Ids.ExecutionId;
|
|
24
|
+
}
|
|
25
|
+
export interface ListInput {
|
|
26
|
+
readonly topicAddressId?: Ids.AddressId;
|
|
27
|
+
readonly subscriberExecutionId?: Ids.ExecutionId;
|
|
28
|
+
readonly limit?: number;
|
|
29
|
+
}
|
|
30
|
+
export interface Interface {
|
|
31
|
+
readonly upsert: (input: UpsertInput) => Effect.Effect<Subscription, TopicRepositoryError>;
|
|
32
|
+
readonly remove: (input: RemoveInput) => Effect.Effect<void, TopicRepositoryError>;
|
|
33
|
+
readonly list: (input: ListInput) => Effect.Effect<ReadonlyArray<Subscription>, TopicRepositoryError>;
|
|
34
|
+
}
|
|
35
|
+
declare const Service_base: Context.ServiceClass<Service, "@relayfx/store-sql/TopicRepository", Interface>;
|
|
36
|
+
export declare class Service extends Service_base {
|
|
37
|
+
}
|
|
38
|
+
export declare const layer: Layer.Layer<Service, never, SqlClient>;
|
|
39
|
+
export declare const memoryLayer: Layer.Layer<Service, never, never>;
|
|
40
|
+
export declare const testLayer: (implementation: Interface) => Layer.Layer<Service, never, never>;
|
|
41
|
+
export declare const upsert: (input: UpsertInput) => Effect.Effect<Subscription, TopicRepositoryError, Service>;
|
|
42
|
+
export declare const remove: (input: RemoveInput) => Effect.Effect<void, TopicRepositoryError, Service>;
|
|
43
|
+
export declare const list: (input: ListInput) => Effect.Effect<readonly Subscription[], TopicRepositoryError, Service>;
|
|
44
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@relayfx/sdk",
|
|
4
|
-
"version": "0.0
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "Effect-native durable execution SDK for addressable agents and tools",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"exports": {
|
|
7
8
|
".": {
|
|
@@ -12,16 +13,36 @@
|
|
|
12
13
|
"types": "./dist/types/ai/index.d.ts",
|
|
13
14
|
"import": "./dist/ai.js"
|
|
14
15
|
},
|
|
16
|
+
"./sqlite": {
|
|
17
|
+
"types": "./dist/types/relay/sqlite.d.ts",
|
|
18
|
+
"import": "./dist/sqlite.js"
|
|
19
|
+
},
|
|
15
20
|
"./migrations/*": "./dist/migrations/*"
|
|
16
21
|
},
|
|
17
22
|
"types": "./dist/types/relay/index.d.ts",
|
|
23
|
+
"sideEffects": false,
|
|
18
24
|
"files": [
|
|
19
|
-
"dist"
|
|
25
|
+
"dist",
|
|
26
|
+
"README.md"
|
|
20
27
|
],
|
|
28
|
+
"engines": {
|
|
29
|
+
"node": ">=22",
|
|
30
|
+
"bun": ">=1.3.0"
|
|
31
|
+
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/In-Time-Tec/relayfx.git",
|
|
35
|
+
"directory": "packages/relay"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/In-Time-Tec/relayfx#readme",
|
|
38
|
+
"bugs": {
|
|
39
|
+
"url": "https://github.com/In-Time-Tec/relayfx/issues"
|
|
40
|
+
},
|
|
21
41
|
"scripts": {
|
|
22
|
-
"build": "bun build ./src/index.ts ./src/ai.ts --outdir dist --target bun --format esm --external effect --external 'effect/*' --external '@effect/*' --external drizzle-orm --external 'drizzle-orm/*' --external pg && bun scripts/build-types.ts",
|
|
42
|
+
"build": "rm -rf dist && bun build ./src/index.ts ./src/ai.ts ./src/sqlite.ts --outdir dist --target bun --format esm --splitting --external effect --external 'effect/*' --external '@effect/*' --external drizzle-orm --external 'drizzle-orm/*' --external pg && bun scripts/build-types.ts",
|
|
23
43
|
"lint": "bun --cwd ../.. oxlint packages/relay/src packages/relay/scripts packages/relay/test",
|
|
24
|
-
"test": "bun --cwd ../.. vitest run packages/relay/test --passWithNoTests",
|
|
44
|
+
"test": "bun --cwd ../.. vitest run packages/relay/test --passWithNoTests && bun test/sqlite.integration.ts",
|
|
45
|
+
"test:package-consumer": "bun --cwd ../.. scripts/package-consumer.ts",
|
|
25
46
|
"typecheck": "bun tsc --noEmit"
|
|
26
47
|
},
|
|
27
48
|
"dependencies": {
|
|
@@ -32,6 +53,7 @@
|
|
|
32
53
|
"@effect/ai-openai-compat": "4.0.0-beta.93",
|
|
33
54
|
"@effect/ai-openrouter": "4.0.0-beta.93",
|
|
34
55
|
"@effect/sql-pg": "4.0.0-beta.93",
|
|
56
|
+
"@effect/sql-sqlite-bun": "4.0.0-beta.93",
|
|
35
57
|
"drizzle-orm": "1.0.0-rc.3",
|
|
36
58
|
"effect": "4.0.0-beta.93",
|
|
37
59
|
"pg": "8.21.0"
|