@swirls/looms 0.18.1 → 0.19.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/CHANGELOG.md +6 -0
- package/README.md +2 -0
- package/dist/cli/cli.js +1 -1
- package/dist/cli/commands.d.ts +2 -2
- package/dist/cli/commands.js +30 -29
- package/dist/cloudflare/r2-blob-store.js +1 -1
- package/dist/core/definition-resolver.d.ts +2 -2
- package/dist/core/definition-resolver.js +2 -3
- package/dist/core/definition-store.js +2 -3
- package/dist/debugger/app/assets/index-Et8_0gnF.js +22 -0
- package/dist/debugger/app/assets/routes-DcJehTYv.js +47 -0
- package/dist/debugger/app/index.html +1 -1
- package/dist/react/cache.js +5 -5
- package/package.json +4 -4
- package/dist/debugger/app/assets/index-BjZn1DuJ.js +0 -22
- package/dist/debugger/app/assets/routes-B90xnBF1.js +0 -47
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Looms debugger</title>
|
|
7
|
-
<script type="module" crossorigin src="./assets/index-
|
|
7
|
+
<script type="module" crossorigin src="./assets/index-Et8_0gnF.js"></script>
|
|
8
8
|
<link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-CbXtAM7H.js">
|
|
9
9
|
<link rel="stylesheet" crossorigin href="./assets/index-CO5gIvV8.css">
|
|
10
10
|
</head>
|
package/dist/react/cache.js
CHANGED
|
@@ -41,6 +41,11 @@ function settled(transaction) {
|
|
|
41
41
|
function eventsOf(key) {
|
|
42
42
|
return IDBKeyRange.bound([key, 0], [key, Number.MAX_SAFE_INTEGER]);
|
|
43
43
|
}
|
|
44
|
+
function touch(transaction, key) {
|
|
45
|
+
transaction
|
|
46
|
+
.objectStore(RUNS)
|
|
47
|
+
.put({ key, touchedAt: DateTime.toEpochMillis(DateTime.nowUnsafe()) });
|
|
48
|
+
}
|
|
44
49
|
/**
|
|
45
50
|
* An `EventCache` in the browser's IndexedDB. Every failure is swallowed: a cache that cannot be
|
|
46
51
|
* read is an empty cache, and one that cannot be written is simply not written, so the store
|
|
@@ -86,11 +91,6 @@ export function indexedDbEventCache(options = {}) {
|
|
|
86
91
|
return settled(transaction);
|
|
87
92
|
});
|
|
88
93
|
};
|
|
89
|
-
const touch = (transaction, key) => {
|
|
90
|
-
transaction
|
|
91
|
-
.objectStore(RUNS)
|
|
92
|
-
.put({ key, touchedAt: DateTime.toEpochMillis(DateTime.nowUnsafe()) });
|
|
93
|
-
};
|
|
94
94
|
return {
|
|
95
95
|
load: (key) => {
|
|
96
96
|
if (!factory) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swirls/looms",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Pluggable event-sourced runtime for durable agents and workflows",
|
|
5
5
|
"homepage": "https://github.com/ByteSliceHQ/looms#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -193,15 +193,13 @@
|
|
|
193
193
|
"test": "bun -e \"void 0\""
|
|
194
194
|
},
|
|
195
195
|
"dependencies": {
|
|
196
|
-
"@effect/platform-bun": "4.
|
|
197
|
-
"@effect/platform-node-shared": "4.0.0-rc.112",
|
|
196
|
+
"@effect/platform-bun": "^4.1.4",
|
|
198
197
|
"@noble/hashes": "^2.0.1",
|
|
199
198
|
"@s2-dev/streamstore": "^0.23.0",
|
|
200
199
|
"@standard-schema/spec": "^1.1.0",
|
|
201
200
|
"@tanstack/react-virtual": "^3.14.11",
|
|
202
201
|
"clsx": "^2.1.1",
|
|
203
202
|
"cmdk": "^1.1.1",
|
|
204
|
-
"effect": "4.0.0-rc.112",
|
|
205
203
|
"lucide-react": "^1.43.0",
|
|
206
204
|
"radix-ui": "^1.6.7",
|
|
207
205
|
"react-resizable-panels": "^4.13.3",
|
|
@@ -229,6 +227,7 @@
|
|
|
229
227
|
"@looms/workflow": "workspace:*",
|
|
230
228
|
"@types/bun": "^1.3.9",
|
|
231
229
|
"ai": "^7.0.105",
|
|
230
|
+
"effect": "4.1.4",
|
|
232
231
|
"postgres": "^3.4.0",
|
|
233
232
|
"react": "19",
|
|
234
233
|
"react-dom": "19",
|
|
@@ -238,6 +237,7 @@
|
|
|
238
237
|
"@cloudflare/workers-types": "^5.20260914.1",
|
|
239
238
|
"ai": "^7.0.0",
|
|
240
239
|
"drizzle-orm": "^0.44.0",
|
|
240
|
+
"effect": "^4.1.4",
|
|
241
241
|
"postgres": "^3.4.0",
|
|
242
242
|
"react": "^19.0.0",
|
|
243
243
|
"react-dom": "^19.0.0"
|