botmux 3.3.0 → 3.4.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/dist/adapters/backend/sandbox.d.ts +47 -0
- package/dist/adapters/backend/sandbox.d.ts.map +1 -1
- package/dist/adapters/backend/sandbox.js +137 -0
- package/dist/adapters/backend/sandbox.js.map +1 -1
- package/dist/adapters/cli/read-isolation.d.ts +72 -3
- package/dist/adapters/cli/read-isolation.d.ts.map +1 -1
- package/dist/adapters/cli/read-isolation.js +143 -6
- package/dist/adapters/cli/read-isolation.js.map +1 -1
- package/dist/adapters/cli/registry.d.ts.map +1 -1
- package/dist/adapters/cli/registry.js +8 -2
- package/dist/adapters/cli/registry.js.map +1 -1
- package/dist/cli/pm2-command.d.ts.map +1 -1
- package/dist/cli/pm2-command.js +6 -0
- package/dist/cli/pm2-command.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +13 -0
- package/dist/cli.js.map +1 -1
- package/dist/core/dashboard-ipc-server.d.ts.map +1 -1
- package/dist/core/dashboard-ipc-server.js +21 -0
- package/dist/core/dashboard-ipc-server.js.map +1 -1
- package/dist/core/device-isolation-activation.d.ts +56 -0
- package/dist/core/device-isolation-activation.d.ts.map +1 -0
- package/dist/core/device-isolation-activation.js +110 -0
- package/dist/core/device-isolation-activation.js.map +1 -0
- package/dist/core/device-isolation-daemon.d.ts +84 -0
- package/dist/core/device-isolation-daemon.d.ts.map +1 -0
- package/dist/core/device-isolation-daemon.js +591 -0
- package/dist/core/device-isolation-daemon.js.map +1 -0
- package/dist/core/types.d.ts +9 -0
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js.map +1 -1
- package/dist/core/worker-pool.d.ts.map +1 -1
- package/dist/core/worker-pool.js +35 -0
- package/dist/core/worker-pool.js.map +1 -1
- package/dist/daemon.d.ts.map +1 -1
- package/dist/daemon.js +5 -0
- package/dist/daemon.js.map +1 -1
- package/dist/desktop/main/auto-start.d.ts +2 -0
- package/dist/desktop/main/auto-start.d.ts.map +1 -1
- package/dist/desktop/main/auto-start.js +10 -6
- package/dist/desktop/main/auto-start.js.map +1 -1
- package/dist/desktop/main/bundled-runtime.d.ts +12 -0
- package/dist/desktop/main/bundled-runtime.d.ts.map +1 -0
- package/dist/desktop/main/bundled-runtime.js +30 -0
- package/dist/desktop/main/bundled-runtime.js.map +1 -0
- package/dist/desktop/main/device-status.d.ts +15 -0
- package/dist/desktop/main/device-status.d.ts.map +1 -0
- package/dist/desktop/main/device-status.js +94 -0
- package/dist/desktop/main/device-status.js.map +1 -0
- package/dist/desktop/main/external-runtime.d.ts +9 -0
- package/dist/desktop/main/external-runtime.d.ts.map +1 -1
- package/dist/desktop/main/external-runtime.js +88 -18
- package/dist/desktop/main/external-runtime.js.map +1 -1
- package/dist/desktop/main/ipc.d.ts.map +1 -1
- package/dist/desktop/main/ipc.js +1 -0
- package/dist/desktop/main/ipc.js.map +1 -1
- package/dist/desktop/main/node-command.d.ts +21 -0
- package/dist/desktop/main/node-command.d.ts.map +1 -1
- package/dist/desktop/main/node-command.js +41 -0
- package/dist/desktop/main/node-command.js.map +1 -1
- package/dist/desktop/main/pm2-apps.d.ts +4 -2
- package/dist/desktop/main/pm2-apps.d.ts.map +1 -1
- package/dist/desktop/main/pm2-apps.js +11 -3
- package/dist/desktop/main/pm2-apps.js.map +1 -1
- package/dist/desktop/main/runtime-service.d.ts +21 -5
- package/dist/desktop/main/runtime-service.d.ts.map +1 -1
- package/dist/desktop/main/runtime-service.js +94 -10
- package/dist/desktop/main/runtime-service.js.map +1 -1
- package/dist/desktop/main/runtime-source.d.ts +2 -0
- package/dist/desktop/main/runtime-source.d.ts.map +1 -1
- package/dist/desktop/main/runtime-source.js +12 -6
- package/dist/desktop/main/runtime-source.js.map +1 -1
- package/dist/desktop/main/tray.d.ts +1 -0
- package/dist/desktop/main/tray.d.ts.map +1 -1
- package/dist/desktop/main/tray.js +3 -3
- package/dist/desktop/main/tray.js.map +1 -1
- package/dist/desktop/main.js +28 -8
- package/dist/desktop/main.js.map +1 -1
- package/dist/desktop/preload.js +3 -0
- package/dist/desktop/preload.js.map +1 -1
- package/dist/desktop/renderer/app.d.ts +2 -1
- package/dist/desktop/renderer/app.d.ts.map +1 -1
- package/dist/desktop/renderer/app.js +6 -1
- package/dist/desktop/renderer/app.js.map +1 -1
- package/dist/desktop/renderer/runtime-state.d.ts.map +1 -1
- package/dist/desktop/renderer/runtime-state.js +2 -0
- package/dist/desktop/renderer/runtime-state.js.map +1 -1
- package/dist/desktop/shared/shell-path-probes.d.ts +24 -0
- package/dist/desktop/shared/shell-path-probes.d.ts.map +1 -0
- package/dist/desktop/shared/shell-path-probes.js +38 -0
- package/dist/desktop/shared/shell-path-probes.js.map +1 -0
- package/dist/desktop/shared/types.d.ts +21 -1
- package/dist/desktop/shared/types.d.ts.map +1 -1
- package/dist/desktop/smoke.d.ts +1 -0
- package/dist/desktop/smoke.d.ts.map +1 -1
- package/dist/desktop/smoke.js +20 -5
- package/dist/desktop/smoke.js.map +1 -1
- package/dist/platform/bind.d.ts +4 -1
- package/dist/platform/bind.d.ts.map +1 -1
- package/dist/platform/bind.js +10 -1
- package/dist/platform/bind.js.map +1 -1
- package/dist/platform/binding.d.ts.map +1 -1
- package/dist/platform/binding.js +15 -9
- package/dist/platform/binding.js.map +1 -1
- package/dist/platform/device-command.d.ts +35 -0
- package/dist/platform/device-command.d.ts.map +1 -0
- package/dist/platform/device-command.js +187 -0
- package/dist/platform/device-command.js.map +1 -0
- package/dist/platform/device-enroll.d.ts +156 -0
- package/dist/platform/device-enroll.d.ts.map +1 -0
- package/dist/platform/device-enroll.js +781 -0
- package/dist/platform/device-enroll.js.map +1 -0
- package/dist/platform/device-isolation-activation-client.d.ts +28 -0
- package/dist/platform/device-isolation-activation-client.d.ts.map +1 -0
- package/dist/platform/device-isolation-activation-client.js +279 -0
- package/dist/platform/device-isolation-activation-client.js.map +1 -0
- package/dist/platform/device-isolation.d.ts +35 -0
- package/dist/platform/device-isolation.d.ts.map +1 -0
- package/dist/platform/device-isolation.js +90 -0
- package/dist/platform/device-isolation.js.map +1 -0
- package/dist/platform/device-paths.d.ts +9 -0
- package/dist/platform/device-paths.d.ts.map +1 -0
- package/dist/platform/device-paths.js +14 -0
- package/dist/platform/device-paths.js.map +1 -0
- package/dist/platform/device.d.ts +77 -0
- package/dist/platform/device.d.ts.map +1 -0
- package/dist/platform/device.js +212 -0
- package/dist/platform/device.js.map +1 -0
- package/dist/platform/host-command-context.d.ts +15 -0
- package/dist/platform/host-command-context.d.ts.map +1 -0
- package/dist/platform/host-command-context.js +26 -0
- package/dist/platform/host-command-context.js.map +1 -0
- package/dist/platform/secure-host-file.d.ts +12 -0
- package/dist/platform/secure-host-file.d.ts.map +1 -0
- package/dist/platform/secure-host-file.js +182 -0
- package/dist/platform/secure-host-file.js.map +1 -0
- package/dist/types.d.ts +9 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/atomic-write.d.ts +13 -0
- package/dist/utils/atomic-write.d.ts.map +1 -1
- package/dist/utils/atomic-write.js +89 -9
- package/dist/utils/atomic-write.js.map +1 -1
- package/dist/worker.js +289 -19
- package/dist/worker.js.map +1 -1
- package/dist/workflows/events/payloads.d.ts +4 -4
- package/dist/workflows/events/schema.d.ts +16 -16
- package/package.json +6 -3
|
@@ -359,12 +359,12 @@ export declare const ActivityRunningPayload: z.ZodObject<{
|
|
|
359
359
|
leaseId: z.ZodString;
|
|
360
360
|
}, "strip", z.ZodTypeAny, {
|
|
361
361
|
attemptId: string;
|
|
362
|
-
activityId: string;
|
|
363
362
|
leaseId: string;
|
|
363
|
+
activityId: string;
|
|
364
364
|
}, {
|
|
365
365
|
attemptId: string;
|
|
366
|
-
activityId: string;
|
|
367
366
|
leaseId: string;
|
|
367
|
+
activityId: string;
|
|
368
368
|
}>;
|
|
369
369
|
export declare const ActivityWaitingPayload: z.ZodObject<{
|
|
370
370
|
activityId: z.ZodString;
|
|
@@ -523,14 +523,14 @@ export declare const LeaseSignedPayload: z.ZodObject<{
|
|
|
523
523
|
}, "strip", z.ZodTypeAny, {
|
|
524
524
|
timeoutMs: number;
|
|
525
525
|
attemptId: string;
|
|
526
|
-
activityId: string;
|
|
527
526
|
leaseId: string;
|
|
527
|
+
activityId: string;
|
|
528
528
|
maxOutputBytes: number;
|
|
529
529
|
}, {
|
|
530
530
|
timeoutMs: number;
|
|
531
531
|
attemptId: string;
|
|
532
|
-
activityId: string;
|
|
533
532
|
leaseId: string;
|
|
533
|
+
activityId: string;
|
|
534
534
|
maxOutputBytes: number;
|
|
535
535
|
}>;
|
|
536
536
|
export declare const AttemptCreatedPayload: z.ZodObject<{
|
|
@@ -876,12 +876,12 @@ export declare const ActivityRunningEventSchema: z.ZodObject<{
|
|
|
876
876
|
leaseId: z.ZodString;
|
|
877
877
|
}, "strip", z.ZodTypeAny, {
|
|
878
878
|
attemptId: string;
|
|
879
|
-
activityId: string;
|
|
880
879
|
leaseId: string;
|
|
880
|
+
activityId: string;
|
|
881
881
|
}, {
|
|
882
882
|
attemptId: string;
|
|
883
|
-
activityId: string;
|
|
884
883
|
leaseId: string;
|
|
884
|
+
activityId: string;
|
|
885
885
|
}>, z.ZodObject<{
|
|
886
886
|
ref: z.ZodString;
|
|
887
887
|
bytes: z.ZodNumber;
|
|
@@ -904,8 +904,8 @@ export declare const ActivityRunningEventSchema: z.ZodObject<{
|
|
|
904
904
|
}, "strip", z.ZodTypeAny, {
|
|
905
905
|
payload: {
|
|
906
906
|
attemptId: string;
|
|
907
|
-
activityId: string;
|
|
908
907
|
leaseId: string;
|
|
908
|
+
activityId: string;
|
|
909
909
|
} | {
|
|
910
910
|
ref: string;
|
|
911
911
|
schemaVersion: number;
|
|
@@ -921,8 +921,8 @@ export declare const ActivityRunningEventSchema: z.ZodObject<{
|
|
|
921
921
|
}, {
|
|
922
922
|
payload: {
|
|
923
923
|
attemptId: string;
|
|
924
|
-
activityId: string;
|
|
925
924
|
leaseId: string;
|
|
925
|
+
activityId: string;
|
|
926
926
|
} | {
|
|
927
927
|
ref: string;
|
|
928
928
|
schemaVersion: number;
|
|
@@ -1510,14 +1510,14 @@ export declare const LeaseSignedEventSchema: z.ZodObject<{
|
|
|
1510
1510
|
}, "strip", z.ZodTypeAny, {
|
|
1511
1511
|
timeoutMs: number;
|
|
1512
1512
|
attemptId: string;
|
|
1513
|
-
activityId: string;
|
|
1514
1513
|
leaseId: string;
|
|
1514
|
+
activityId: string;
|
|
1515
1515
|
maxOutputBytes: number;
|
|
1516
1516
|
}, {
|
|
1517
1517
|
timeoutMs: number;
|
|
1518
1518
|
attemptId: string;
|
|
1519
|
-
activityId: string;
|
|
1520
1519
|
leaseId: string;
|
|
1520
|
+
activityId: string;
|
|
1521
1521
|
maxOutputBytes: number;
|
|
1522
1522
|
}>, z.ZodObject<{
|
|
1523
1523
|
ref: z.ZodString;
|
|
@@ -1542,8 +1542,8 @@ export declare const LeaseSignedEventSchema: z.ZodObject<{
|
|
|
1542
1542
|
payload: {
|
|
1543
1543
|
timeoutMs: number;
|
|
1544
1544
|
attemptId: string;
|
|
1545
|
-
activityId: string;
|
|
1546
1545
|
leaseId: string;
|
|
1546
|
+
activityId: string;
|
|
1547
1547
|
maxOutputBytes: number;
|
|
1548
1548
|
} | {
|
|
1549
1549
|
ref: string;
|
|
@@ -1561,8 +1561,8 @@ export declare const LeaseSignedEventSchema: z.ZodObject<{
|
|
|
1561
1561
|
payload: {
|
|
1562
1562
|
timeoutMs: number;
|
|
1563
1563
|
attemptId: string;
|
|
1564
|
-
activityId: string;
|
|
1565
1564
|
leaseId: string;
|
|
1565
|
+
activityId: string;
|
|
1566
1566
|
maxOutputBytes: number;
|
|
1567
1567
|
} | {
|
|
1568
1568
|
ref: string;
|
|
@@ -3837,12 +3837,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3837
3837
|
leaseId: z.ZodString;
|
|
3838
3838
|
}, "strip", z.ZodTypeAny, {
|
|
3839
3839
|
attemptId: string;
|
|
3840
|
-
activityId: string;
|
|
3841
3840
|
leaseId: string;
|
|
3841
|
+
activityId: string;
|
|
3842
3842
|
}, {
|
|
3843
3843
|
attemptId: string;
|
|
3844
|
-
activityId: string;
|
|
3845
3844
|
leaseId: string;
|
|
3845
|
+
activityId: string;
|
|
3846
3846
|
}>, z.ZodObject<{
|
|
3847
3847
|
ref: z.ZodString;
|
|
3848
3848
|
bytes: z.ZodNumber;
|
|
@@ -3865,8 +3865,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3865
3865
|
}, "strip", z.ZodTypeAny, {
|
|
3866
3866
|
payload: {
|
|
3867
3867
|
attemptId: string;
|
|
3868
|
-
activityId: string;
|
|
3869
3868
|
leaseId: string;
|
|
3869
|
+
activityId: string;
|
|
3870
3870
|
} | {
|
|
3871
3871
|
ref: string;
|
|
3872
3872
|
schemaVersion: number;
|
|
@@ -3882,8 +3882,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3882
3882
|
}, {
|
|
3883
3883
|
payload: {
|
|
3884
3884
|
attemptId: string;
|
|
3885
|
-
activityId: string;
|
|
3886
3885
|
leaseId: string;
|
|
3886
|
+
activityId: string;
|
|
3887
3887
|
} | {
|
|
3888
3888
|
ref: string;
|
|
3889
3889
|
schemaVersion: number;
|
|
@@ -4463,14 +4463,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4463
4463
|
}, "strip", z.ZodTypeAny, {
|
|
4464
4464
|
timeoutMs: number;
|
|
4465
4465
|
attemptId: string;
|
|
4466
|
-
activityId: string;
|
|
4467
4466
|
leaseId: string;
|
|
4467
|
+
activityId: string;
|
|
4468
4468
|
maxOutputBytes: number;
|
|
4469
4469
|
}, {
|
|
4470
4470
|
timeoutMs: number;
|
|
4471
4471
|
attemptId: string;
|
|
4472
|
-
activityId: string;
|
|
4473
4472
|
leaseId: string;
|
|
4473
|
+
activityId: string;
|
|
4474
4474
|
maxOutputBytes: number;
|
|
4475
4475
|
}>, z.ZodObject<{
|
|
4476
4476
|
ref: z.ZodString;
|
|
@@ -4495,8 +4495,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4495
4495
|
payload: {
|
|
4496
4496
|
timeoutMs: number;
|
|
4497
4497
|
attemptId: string;
|
|
4498
|
-
activityId: string;
|
|
4499
4498
|
leaseId: string;
|
|
4499
|
+
activityId: string;
|
|
4500
4500
|
maxOutputBytes: number;
|
|
4501
4501
|
} | {
|
|
4502
4502
|
ref: string;
|
|
@@ -4514,8 +4514,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4514
4514
|
payload: {
|
|
4515
4515
|
timeoutMs: number;
|
|
4516
4516
|
attemptId: string;
|
|
4517
|
-
activityId: string;
|
|
4518
4517
|
leaseId: string;
|
|
4518
|
+
activityId: string;
|
|
4519
4519
|
maxOutputBytes: number;
|
|
4520
4520
|
} | {
|
|
4521
4521
|
ref: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "botmux",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "Bridge between IM platforms and AI coding CLIs — one topic, one CLI session with live streaming",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index-daemon.js",
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
|
-
"build": "node scripts/clean-dist.mjs && tsc && cp src/setup/lark-scopes.json dist/setup/ && pnpm dashboard:bundle && chmod +x dist/cli.js && node scripts/audit-dist.mjs",
|
|
22
|
+
"build": "pnpm audit:domains && node scripts/clean-dist.mjs && tsc && cp src/setup/lark-scopes.json dist/setup/ && pnpm dashboard:bundle && chmod +x dist/cli.js && node scripts/audit-dist.mjs",
|
|
23
|
+
"audit:domains": "node scripts/audit-public-domains.mjs",
|
|
23
24
|
"dashboard:bundle": "node scripts/build-dashboard.mjs",
|
|
24
25
|
"dashboard:watch": "node scripts/build-dashboard.mjs --watch",
|
|
25
26
|
"daemon": "tsx src/index-daemon.ts",
|
|
@@ -42,7 +43,8 @@
|
|
|
42
43
|
"test:e2e-browser:setup": "tsx test/e2e-browser/setup-login.ts",
|
|
43
44
|
"test:e2e-browser": "tsx scripts/run-e2e.ts",
|
|
44
45
|
"report:dashboard": "tsx scripts/report-dashboard.ts",
|
|
45
|
-
"desktop:bundle": "esbuild src/desktop/main.ts --bundle --outfile=dist/desktop/main.cjs --platform=node --format=cjs --external:electron && esbuild src/desktop/preload.ts --bundle --outfile=dist/desktop/preload.cjs --platform=node --format=cjs --external:electron && esbuild src/desktop/renderer/app.ts --bundle --outfile=dist/desktop/renderer/app.js --platform=browser --format=iife && cp src/desktop/renderer/index.html dist/desktop/renderer/index.html && cp src/desktop/renderer/style.css dist/desktop/renderer/style.css",
|
|
46
|
+
"desktop:bundle": "node scripts/build-desktop-icons.mjs && esbuild src/desktop/main.ts --bundle --outfile=dist/desktop/main.cjs --platform=node --format=cjs --external:electron && esbuild src/desktop/preload.ts --bundle --outfile=dist/desktop/preload.cjs --platform=node --format=cjs --external:electron && esbuild src/desktop/renderer/app.ts --bundle --outfile=dist/desktop/renderer/app.js --platform=browser --format=iife && cp src/desktop/renderer/index.html dist/desktop/renderer/index.html && cp src/desktop/renderer/style.css dist/desktop/renderer/style.css && cp -R src/desktop/assets dist/desktop/assets",
|
|
47
|
+
"desktop:runtime": "node scripts/prepare-desktop-runtime.mjs",
|
|
46
48
|
"desktop:smoke": "tsx scripts/desktop-smoke.ts",
|
|
47
49
|
"desktop:install:local": "bash src/desktop/install-local.sh",
|
|
48
50
|
"desktop:dev": "pnpm build && pnpm desktop:bundle && electron dist/desktop/main.cjs",
|
|
@@ -91,6 +93,7 @@
|
|
|
91
93
|
},
|
|
92
94
|
"pnpm": {
|
|
93
95
|
"onlyBuiltDependencies": [
|
|
96
|
+
"electron",
|
|
94
97
|
"node-pty"
|
|
95
98
|
]
|
|
96
99
|
},
|