@shipers-dev/multi 0.24.3 → 0.24.4
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.js +11 -8
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -75178,7 +75178,7 @@ __export(exports_Undici, {
|
|
|
75178
75178
|
import {
|
|
75179
75179
|
default as default2
|
|
75180
75180
|
} from "undici";
|
|
75181
|
-
import * as undici from"undici";
|
|
75181
|
+
import * as undici from "undici";
|
|
75182
75182
|
var init_Undici = __esm(() => {
|
|
75183
75183
|
__reExport(exports_Undici, undici);
|
|
75184
75184
|
});
|
|
@@ -272877,7 +272877,7 @@ import { parseArgs } from "util";
|
|
|
272877
272877
|
// package.json
|
|
272878
272878
|
var package_default = {
|
|
272879
272879
|
name: "@shipers-dev/multi",
|
|
272880
|
-
version: "0.24.
|
|
272880
|
+
version: "0.24.4",
|
|
272881
272881
|
type: "module",
|
|
272882
272882
|
bin: {
|
|
272883
272883
|
"multi-agent": "./dist/index.js"
|
|
@@ -272887,7 +272887,7 @@ var package_default = {
|
|
|
272887
272887
|
],
|
|
272888
272888
|
scripts: {
|
|
272889
272889
|
dev: "bun run src/index.ts",
|
|
272890
|
-
build:
|
|
272890
|
+
build: "bun build src/index.ts --outdir=dist --target=node --sourcemap=none --external undici --external @livestore/wa-sqlite --external @livestore/wa-sqlite/dist/wa-sqlite.node.mjs && node scripts/post-build.cjs",
|
|
272891
272891
|
prepublishOnly: "bun run build"
|
|
272892
272892
|
},
|
|
272893
272893
|
dependencies: {
|
|
@@ -294337,6 +294337,7 @@ var tables = {
|
|
|
294337
294337
|
device_id: exports_mod4.SQLite.text(),
|
|
294338
294338
|
agent_id: exports_mod4.SQLite.text(),
|
|
294339
294339
|
followup: exports_mod4.SQLite.text({ nullable: true }),
|
|
294340
|
+
workspace_session_id: exports_mod4.SQLite.text({ nullable: true }),
|
|
294340
294341
|
status: exports_mod4.SQLite.text({ default: "queued" }),
|
|
294341
294342
|
claimed_by: exports_mod4.SQLite.text({ nullable: true }),
|
|
294342
294343
|
attempts: exports_mod4.SQLite.integer({ default: 1 }),
|
|
@@ -294398,6 +294399,7 @@ var events2 = {
|
|
|
294398
294399
|
device_id: exports_Schema2.String,
|
|
294399
294400
|
agent_id: exports_Schema2.String,
|
|
294400
294401
|
followup: exports_Schema2.NullOr(exports_Schema2.String),
|
|
294402
|
+
workspace_session_id: exports_Schema2.optional(exports_Schema2.NullOr(exports_Schema2.String)),
|
|
294401
294403
|
attempts: exports_Schema2.Number,
|
|
294402
294404
|
created_at: exports_Schema2.Number
|
|
294403
294405
|
})
|
|
@@ -294471,13 +294473,14 @@ var events2 = {
|
|
|
294471
294473
|
};
|
|
294472
294474
|
var materializers2 = exports_mod4.SQLite.materializers(events2, {
|
|
294473
294475
|
"v1.CommentAdded": ({ id: id7, issue_id, author_type, author_id, author_name, body, created_at }) => tables.comments.insert({ id: id7, issue_id, author_type, author_id, author_name, body, created_at }),
|
|
294474
|
-
"v1.DispatchCreated": ({ id: id7, issue_id, comment_id, device_id, agent_id, followup, attempts, created_at }) => tables.dispatches.insert({
|
|
294476
|
+
"v1.DispatchCreated": ({ id: id7, issue_id, comment_id, device_id, agent_id, followup, workspace_session_id, attempts, created_at }) => tables.dispatches.insert({
|
|
294475
294477
|
id: id7,
|
|
294476
294478
|
issue_id,
|
|
294477
294479
|
comment_id,
|
|
294478
294480
|
device_id,
|
|
294479
294481
|
agent_id,
|
|
294480
294482
|
followup,
|
|
294483
|
+
workspace_session_id: workspace_session_id ?? null,
|
|
294481
294484
|
status: "queued",
|
|
294482
294485
|
claimed_by: null,
|
|
294483
294486
|
attempts,
|
|
@@ -294712,7 +294715,7 @@ import { join as join17, dirname as dirname15 } from "path";
|
|
|
294712
294715
|
// package.json
|
|
294713
294716
|
var package_default2 = {
|
|
294714
294717
|
name: "@shipers-dev/multi",
|
|
294715
|
-
version: "0.24.
|
|
294718
|
+
version: "0.24.4",
|
|
294716
294719
|
type: "module",
|
|
294717
294720
|
bin: {
|
|
294718
294721
|
"multi-agent": "./dist/index.js"
|
|
@@ -294722,7 +294725,7 @@ var package_default2 = {
|
|
|
294722
294725
|
],
|
|
294723
294726
|
scripts: {
|
|
294724
294727
|
dev: "bun run src/index.ts",
|
|
294725
|
-
build:
|
|
294728
|
+
build: "bun build src/index.ts --outdir=dist --target=node --sourcemap=none --external undici --external @livestore/wa-sqlite --external @livestore/wa-sqlite/dist/wa-sqlite.node.mjs && node scripts/post-build.cjs",
|
|
294726
294729
|
prepublishOnly: "bun run build"
|
|
294727
294730
|
},
|
|
294728
294731
|
dependencies: {
|
|
@@ -296094,8 +296097,8 @@ async function assembleTask(opts) {
|
|
|
296094
296097
|
followup: dispatch.followup,
|
|
296095
296098
|
working_dir: workingDir,
|
|
296096
296099
|
workspace_id: issue2?.workspace_id ?? dispatch.issue_id,
|
|
296097
|
-
workspace_session_id: null,
|
|
296098
|
-
session_id: null,
|
|
296100
|
+
workspace_session_id: dispatch.workspace_session_id ?? null,
|
|
296101
|
+
session_id: issue2?.session_id ?? null,
|
|
296099
296102
|
payload: JSON.stringify({})
|
|
296100
296103
|
};
|
|
296101
296104
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipers-dev/multi",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"multi-agent": "./dist/index.js"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"scripts": {
|
|
12
12
|
"dev": "bun run src/index.ts",
|
|
13
|
-
"build": "bun build src/index.ts --outdir=dist --target=node --external undici --external @livestore/wa-sqlite --external @livestore/wa-sqlite/dist/wa-sqlite.node.mjs && node -
|
|
13
|
+
"build": "bun build src/index.ts --outdir=dist --target=node --sourcemap=none --external undici --external @livestore/wa-sqlite --external @livestore/wa-sqlite/dist/wa-sqlite.node.mjs && node scripts/post-build.cjs",
|
|
14
14
|
"prepublishOnly": "bun run build"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
"undici": "^7.0.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@multi/lib": "
|
|
28
|
+
"@multi/lib": "workspace:*"
|
|
29
29
|
}
|
|
30
30
|
}
|