@mduan/paseo-cli 0.11.0-fork.34 → 0.11.0-fork.35

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.
Files changed (51) hide show
  1. package/node_modules/@getpaseo/client/package.json +3 -3
  2. package/node_modules/@getpaseo/highlight/package.json +1 -1
  3. package/node_modules/@getpaseo/plugin/package.json +3 -3
  4. package/node_modules/@getpaseo/protocol/dist/generated/validation/ws-outbound.aot.js +190 -0
  5. package/node_modules/@getpaseo/protocol/dist/messages.d.ts +381 -0
  6. package/node_modules/@getpaseo/protocol/dist/messages.js +9 -0
  7. package/node_modules/@getpaseo/protocol/dist/validation/ws-outbound-schema-metadata.d.ts +90 -0
  8. package/node_modules/@getpaseo/protocol/package.json +1 -1
  9. package/node_modules/@getpaseo/relay/package.json +1 -1
  10. package/node_modules/@getpaseo/server/dist/server/builtin-plugins/package.json +1 -1
  11. package/node_modules/@getpaseo/server/dist/server/server/bootstrap.js +7 -0
  12. package/node_modules/@getpaseo/server/dist/server/server/session.d.ts +7 -0
  13. package/node_modules/@getpaseo/server/dist/server/server/session.js +37 -0
  14. package/node_modules/@getpaseo/server/dist/server/server/websocket-server.js +2 -0
  15. package/node_modules/@getpaseo/server/dist/server/server/workspace-git-service.d.ts +8 -2
  16. package/node_modules/@getpaseo/server/dist/server/server/workspace-git-service.js +55 -14
  17. package/node_modules/@getpaseo/server/dist/server/server/workspace-reconciliation-service.js +6 -2
  18. package/node_modules/@getpaseo/server/dist/server/server/workspace-registry.d.ts +2 -0
  19. package/node_modules/@getpaseo/server/dist/server/server/workspace-registry.js +4 -0
  20. package/node_modules/@getpaseo/server/dist/server/server/workspace-response-recorder.d.ts +13 -0
  21. package/node_modules/@getpaseo/server/dist/server/server/workspace-response-recorder.js +21 -0
  22. package/node_modules/@getpaseo/server/dist/server/utils/git-process-scheduler.d.ts +5 -3
  23. package/node_modules/@getpaseo/server/dist/server/utils/git-process-scheduler.js +26 -23
  24. package/node_modules/@getpaseo/server/dist/server/utils/run-git-command.d.ts +6 -1
  25. package/node_modules/@getpaseo/server/dist/server/utils/run-git-command.js +12 -9
  26. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/{desktop-attachment-bridge-ffe0cd60080175f6fb2dec3200390aec.js → desktop-attachment-bridge-e52f9cb2de89e698c51c18241d12cb99.js} +1 -1
  27. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/{desktop-attachment-bridge-ffe0cd60080175f6fb2dec3200390aec.js.br → desktop-attachment-bridge-e52f9cb2de89e698c51c18241d12cb99.js.br} +0 -0
  28. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/desktop-attachment-bridge-e52f9cb2de89e698c51c18241d12cb99.js.gz +0 -0
  29. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/{desktop-attachment-store-4d76abbc28cb391667944e7e96595e46.js → desktop-attachment-store-8cb998792f7a176d7612229dafb2c2d3.js} +1 -1
  30. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/{desktop-attachment-store-4d76abbc28cb391667944e7e96595e46.js.br → desktop-attachment-store-8cb998792f7a176d7612229dafb2c2d3.js.br} +0 -0
  31. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/desktop-attachment-store-8cb998792f7a176d7612229dafb2c2d3.js.gz +0 -0
  32. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/{index-52db3c28898b127e24f9b06f05f60336.js → index-c5f0ae884c9004e9301096d186baee98.js} +963 -961
  33. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/index-c5f0ae884c9004e9301096d186baee98.js.br +0 -0
  34. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/{index-52db3c28898b127e24f9b06f05f60336.js.gz → index-c5f0ae884c9004e9301096d186baee98.js.gz} +0 -0
  35. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/{indexeddb-attachment-store-9b53f73c1bb6949c2c9ef911ef57ab87.js → indexeddb-attachment-store-cf65163fc7d8cd4c646c36e83771e937.js} +1 -1
  36. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/indexeddb-attachment-store-cf65163fc7d8cd4c646c36e83771e937.js.br +0 -0
  37. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/{indexeddb-attachment-store-9b53f73c1bb6949c2c9ef911ef57ab87.js.gz → indexeddb-attachment-store-cf65163fc7d8cd4c646c36e83771e937.js.gz} +0 -0
  38. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/{native-file-attachment-store-ccf24f3ad53e8871f63d8e9c5417c2d7.js → native-file-attachment-store-da2a50627d6e788990a7f324838c24d2.js} +3 -3
  39. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/native-file-attachment-store-da2a50627d6e788990a7f324838c24d2.js.br +0 -0
  40. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/native-file-attachment-store-da2a50627d6e788990a7f324838c24d2.js.gz +0 -0
  41. package/node_modules/@getpaseo/server/dist/server/web-ui/index.html +1 -1
  42. package/node_modules/@getpaseo/server/dist/server/web-ui/index.html.br +0 -0
  43. package/node_modules/@getpaseo/server/dist/server/web-ui/index.html.gz +0 -0
  44. package/node_modules/@getpaseo/server/package.json +6 -6
  45. package/package.json +7 -7
  46. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/desktop-attachment-bridge-ffe0cd60080175f6fb2dec3200390aec.js.gz +0 -0
  47. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/desktop-attachment-store-4d76abbc28cb391667944e7e96595e46.js.gz +0 -0
  48. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/index-52db3c28898b127e24f9b06f05f60336.js.br +0 -0
  49. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/indexeddb-attachment-store-9b53f73c1bb6949c2c9ef911ef57ab87.js.br +0 -0
  50. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/native-file-attachment-store-ccf24f3ad53e8871f63d8e9c5417c2d7.js.br +0 -0
  51. package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/native-file-attachment-store-ccf24f3ad53e8871f63d8e9c5417c2d7.js.gz +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpaseo/client",
3
- "version": "0.11.0-fork.34",
3
+ "version": "0.11.0-fork.35",
4
4
  "description": "Paseo client SDK package",
5
5
  "files": [
6
6
  "dist",
@@ -44,7 +44,7 @@
44
44
  "vitest": "^4.1.6"
45
45
  },
46
46
  "dependencies": {
47
- "@getpaseo/protocol": "0.11.0-fork.34",
48
- "@getpaseo/relay": "0.11.0-fork.34"
47
+ "@getpaseo/protocol": "0.11.0-fork.35",
48
+ "@getpaseo/relay": "0.11.0-fork.35"
49
49
  }
50
50
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpaseo/highlight",
3
- "version": "0.11.0-fork.34",
3
+ "version": "0.11.0-fork.35",
4
4
  "files": [
5
5
  "dist",
6
6
  "!dist/**/*.map",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpaseo/plugin",
3
- "version": "0.11.0-fork.34",
3
+ "version": "0.11.0-fork.35",
4
4
  "description": "Paseo plugin SDK package",
5
5
  "files": [
6
6
  "dist",
@@ -66,8 +66,8 @@
66
66
  "test": "vitest run"
67
67
  },
68
68
  "devDependencies": {
69
- "@getpaseo/client": "0.11.0-fork.34",
70
- "@getpaseo/protocol": "0.11.0-fork.34",
69
+ "@getpaseo/client": "0.11.0-fork.35",
70
+ "@getpaseo/protocol": "0.11.0-fork.35",
71
71
  "@types/node": "^20.9.0",
72
72
  "@types/react": "~19.2.0",
73
73
  "react": "19.1.0",
@@ -16817,6 +16817,25 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
16817
16817
  _e.push({ code: "invalid_type", expected: "string", input: __o_1288["activityAt"], path: ["message"].concat("payload").concat("workspace").concat("activityAt") });
16818
16818
  }
16819
16819
  }
16820
+ if (__o_1288["createdAt"] !== undefined) {
16821
+ if (typeof __o_1288["createdAt"] !== "string") {
16822
+ _e.push({ code: "invalid_type", expected: "string", input: __o_1288["createdAt"], path: ["message"].concat("payload").concat("workspace").concat("createdAt") });
16823
+ }
16824
+ }
16825
+ if (__o_1288["lastHumanPromptAt"] !== undefined) {
16826
+ if (__o_1288["lastHumanPromptAt"] !== null) {
16827
+ if (typeof __o_1288["lastHumanPromptAt"] !== "string") {
16828
+ _e.push({ code: "invalid_type", expected: "string", input: __o_1288["lastHumanPromptAt"], path: ["message"].concat("payload").concat("workspace").concat("lastHumanPromptAt") });
16829
+ }
16830
+ }
16831
+ }
16832
+ if (__o_1288["lastAgentResponseAt"] !== undefined) {
16833
+ if (__o_1288["lastAgentResponseAt"] !== null) {
16834
+ if (typeof __o_1288["lastAgentResponseAt"] !== "string") {
16835
+ _e.push({ code: "invalid_type", expected: "string", input: __o_1288["lastAgentResponseAt"], path: ["message"].concat("payload").concat("workspace").concat("lastAgentResponseAt") });
16836
+ }
16837
+ }
16838
+ }
16820
16839
  if (__o_1288["diffStat"] !== undefined) {
16821
16840
  if (__o_1288["diffStat"] !== null) {
16822
16841
  if (typeof __o_1288["diffStat"] !== "object" || __o_1288["diffStat"] === null || Array.isArray(__o_1288["diffStat"])) {
@@ -31019,6 +31038,25 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
31019
31038
  _e.push({ code: "invalid_type", expected: "string", input: __o_2208["activityAt"], path: ["message"].concat("payload").concat("entries").concat(__i_2206).concat("activityAt") });
31020
31039
  }
31021
31040
  }
31041
+ if (__o_2208["createdAt"] !== undefined) {
31042
+ if (typeof __o_2208["createdAt"] !== "string") {
31043
+ _e.push({ code: "invalid_type", expected: "string", input: __o_2208["createdAt"], path: ["message"].concat("payload").concat("entries").concat(__i_2206).concat("createdAt") });
31044
+ }
31045
+ }
31046
+ if (__o_2208["lastHumanPromptAt"] !== undefined) {
31047
+ if (__o_2208["lastHumanPromptAt"] !== null) {
31048
+ if (typeof __o_2208["lastHumanPromptAt"] !== "string") {
31049
+ _e.push({ code: "invalid_type", expected: "string", input: __o_2208["lastHumanPromptAt"], path: ["message"].concat("payload").concat("entries").concat(__i_2206).concat("lastHumanPromptAt") });
31050
+ }
31051
+ }
31052
+ }
31053
+ if (__o_2208["lastAgentResponseAt"] !== undefined) {
31054
+ if (__o_2208["lastAgentResponseAt"] !== null) {
31055
+ if (typeof __o_2208["lastAgentResponseAt"] !== "string") {
31056
+ _e.push({ code: "invalid_type", expected: "string", input: __o_2208["lastAgentResponseAt"], path: ["message"].concat("payload").concat("entries").concat(__i_2206).concat("lastAgentResponseAt") });
31057
+ }
31058
+ }
31059
+ }
31022
31060
  if (__o_2208["diffStat"] !== undefined) {
31023
31061
  if (__o_2208["diffStat"] !== null) {
31024
31062
  if (typeof __o_2208["diffStat"] !== "object" || __o_2208["diffStat"] === null || Array.isArray(__o_2208["diffStat"])) {
@@ -32383,6 +32421,25 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
32383
32421
  _e.push({ code: "invalid_type", expected: "string", input: __o_2274["activityAt"], path: ["message"].concat("payload").concat("workspace").concat("activityAt") });
32384
32422
  }
32385
32423
  }
32424
+ if (__o_2274["createdAt"] !== undefined) {
32425
+ if (typeof __o_2274["createdAt"] !== "string") {
32426
+ _e.push({ code: "invalid_type", expected: "string", input: __o_2274["createdAt"], path: ["message"].concat("payload").concat("workspace").concat("createdAt") });
32427
+ }
32428
+ }
32429
+ if (__o_2274["lastHumanPromptAt"] !== undefined) {
32430
+ if (__o_2274["lastHumanPromptAt"] !== null) {
32431
+ if (typeof __o_2274["lastHumanPromptAt"] !== "string") {
32432
+ _e.push({ code: "invalid_type", expected: "string", input: __o_2274["lastHumanPromptAt"], path: ["message"].concat("payload").concat("workspace").concat("lastHumanPromptAt") });
32433
+ }
32434
+ }
32435
+ }
32436
+ if (__o_2274["lastAgentResponseAt"] !== undefined) {
32437
+ if (__o_2274["lastAgentResponseAt"] !== null) {
32438
+ if (typeof __o_2274["lastAgentResponseAt"] !== "string") {
32439
+ _e.push({ code: "invalid_type", expected: "string", input: __o_2274["lastAgentResponseAt"], path: ["message"].concat("payload").concat("workspace").concat("lastAgentResponseAt") });
32440
+ }
32441
+ }
32442
+ }
32386
32443
  if (__o_2274["diffStat"] !== undefined) {
32387
32444
  if (__o_2274["diffStat"] !== null) {
32388
32445
  if (typeof __o_2274["diffStat"] !== "object" || __o_2274["diffStat"] === null || Array.isArray(__o_2274["diffStat"])) {
@@ -59796,6 +59853,25 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
59796
59853
  _e.push({ code: "invalid_type", expected: "string", input: __o_4038["activityAt"], path: ["message"].concat("payload").concat("creation").concat("workspace").concat("activityAt") });
59797
59854
  }
59798
59855
  }
59856
+ if (__o_4038["createdAt"] !== undefined) {
59857
+ if (typeof __o_4038["createdAt"] !== "string") {
59858
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4038["createdAt"], path: ["message"].concat("payload").concat("creation").concat("workspace").concat("createdAt") });
59859
+ }
59860
+ }
59861
+ if (__o_4038["lastHumanPromptAt"] !== undefined) {
59862
+ if (__o_4038["lastHumanPromptAt"] !== null) {
59863
+ if (typeof __o_4038["lastHumanPromptAt"] !== "string") {
59864
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4038["lastHumanPromptAt"], path: ["message"].concat("payload").concat("creation").concat("workspace").concat("lastHumanPromptAt") });
59865
+ }
59866
+ }
59867
+ }
59868
+ if (__o_4038["lastAgentResponseAt"] !== undefined) {
59869
+ if (__o_4038["lastAgentResponseAt"] !== null) {
59870
+ if (typeof __o_4038["lastAgentResponseAt"] !== "string") {
59871
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4038["lastAgentResponseAt"], path: ["message"].concat("payload").concat("creation").concat("workspace").concat("lastAgentResponseAt") });
59872
+ }
59873
+ }
59874
+ }
59799
59875
  if (__o_4038["diffStat"] !== undefined) {
59800
59876
  if (__o_4038["diffStat"] !== null) {
59801
59877
  if (typeof __o_4038["diffStat"] !== "object" || __o_4038["diffStat"] === null || Array.isArray(__o_4038["diffStat"])) {
@@ -62345,6 +62421,25 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
62345
62421
  _e.push({ code: "invalid_type", expected: "string", input: __o_4191["activityAt"], path: ["message"].concat("payload").concat("workspace").concat("activityAt") });
62346
62422
  }
62347
62423
  }
62424
+ if (__o_4191["createdAt"] !== undefined) {
62425
+ if (typeof __o_4191["createdAt"] !== "string") {
62426
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4191["createdAt"], path: ["message"].concat("payload").concat("workspace").concat("createdAt") });
62427
+ }
62428
+ }
62429
+ if (__o_4191["lastHumanPromptAt"] !== undefined) {
62430
+ if (__o_4191["lastHumanPromptAt"] !== null) {
62431
+ if (typeof __o_4191["lastHumanPromptAt"] !== "string") {
62432
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4191["lastHumanPromptAt"], path: ["message"].concat("payload").concat("workspace").concat("lastHumanPromptAt") });
62433
+ }
62434
+ }
62435
+ }
62436
+ if (__o_4191["lastAgentResponseAt"] !== undefined) {
62437
+ if (__o_4191["lastAgentResponseAt"] !== null) {
62438
+ if (typeof __o_4191["lastAgentResponseAt"] !== "string") {
62439
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4191["lastAgentResponseAt"], path: ["message"].concat("payload").concat("workspace").concat("lastAgentResponseAt") });
62440
+ }
62441
+ }
62442
+ }
62348
62443
  if (__o_4191["diffStat"] !== undefined) {
62349
62444
  if (__o_4191["diffStat"] !== null) {
62350
62445
  if (typeof __o_4191["diffStat"] !== "object" || __o_4191["diffStat"] === null || Array.isArray(__o_4191["diffStat"])) {
@@ -64959,6 +65054,25 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
64959
65054
  _e.push({ code: "invalid_type", expected: "string", input: __o_4348["activityAt"], path: ["message"].concat("payload").concat("creation").concat("workspace").concat("activityAt") });
64960
65055
  }
64961
65056
  }
65057
+ if (__o_4348["createdAt"] !== undefined) {
65058
+ if (typeof __o_4348["createdAt"] !== "string") {
65059
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4348["createdAt"], path: ["message"].concat("payload").concat("creation").concat("workspace").concat("createdAt") });
65060
+ }
65061
+ }
65062
+ if (__o_4348["lastHumanPromptAt"] !== undefined) {
65063
+ if (__o_4348["lastHumanPromptAt"] !== null) {
65064
+ if (typeof __o_4348["lastHumanPromptAt"] !== "string") {
65065
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4348["lastHumanPromptAt"], path: ["message"].concat("payload").concat("creation").concat("workspace").concat("lastHumanPromptAt") });
65066
+ }
65067
+ }
65068
+ }
65069
+ if (__o_4348["lastAgentResponseAt"] !== undefined) {
65070
+ if (__o_4348["lastAgentResponseAt"] !== null) {
65071
+ if (typeof __o_4348["lastAgentResponseAt"] !== "string") {
65072
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4348["lastAgentResponseAt"], path: ["message"].concat("payload").concat("creation").concat("workspace").concat("lastAgentResponseAt") });
65073
+ }
65074
+ }
65075
+ }
64962
65076
  if (__o_4348["diffStat"] !== undefined) {
64963
65077
  if (__o_4348["diffStat"] !== null) {
64964
65078
  if (typeof __o_4348["diffStat"] !== "object" || __o_4348["diffStat"] === null || Array.isArray(__o_4348["diffStat"])) {
@@ -67564,6 +67678,25 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
67564
67678
  _e.push({ code: "invalid_type", expected: "string", input: __o_4504["activityAt"], path: ["message"].concat("payload").concat("workspace").concat("activityAt") });
67565
67679
  }
67566
67680
  }
67681
+ if (__o_4504["createdAt"] !== undefined) {
67682
+ if (typeof __o_4504["createdAt"] !== "string") {
67683
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4504["createdAt"], path: ["message"].concat("payload").concat("workspace").concat("createdAt") });
67684
+ }
67685
+ }
67686
+ if (__o_4504["lastHumanPromptAt"] !== undefined) {
67687
+ if (__o_4504["lastHumanPromptAt"] !== null) {
67688
+ if (typeof __o_4504["lastHumanPromptAt"] !== "string") {
67689
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4504["lastHumanPromptAt"], path: ["message"].concat("payload").concat("workspace").concat("lastHumanPromptAt") });
67690
+ }
67691
+ }
67692
+ }
67693
+ if (__o_4504["lastAgentResponseAt"] !== undefined) {
67694
+ if (__o_4504["lastAgentResponseAt"] !== null) {
67695
+ if (typeof __o_4504["lastAgentResponseAt"] !== "string") {
67696
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4504["lastAgentResponseAt"], path: ["message"].concat("payload").concat("workspace").concat("lastAgentResponseAt") });
67697
+ }
67698
+ }
67699
+ }
67567
67700
  if (__o_4504["diffStat"] !== undefined) {
67568
67701
  if (__o_4504["diffStat"] !== null) {
67569
67702
  if (typeof __o_4504["diffStat"] !== "object" || __o_4504["diffStat"] === null || Array.isArray(__o_4504["diffStat"])) {
@@ -70171,6 +70304,25 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
70171
70304
  _e.push({ code: "invalid_type", expected: "string", input: __o_4660["activityAt"], path: ["message"].concat("payload").concat("workspace").concat("activityAt") });
70172
70305
  }
70173
70306
  }
70307
+ if (__o_4660["createdAt"] !== undefined) {
70308
+ if (typeof __o_4660["createdAt"] !== "string") {
70309
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4660["createdAt"], path: ["message"].concat("payload").concat("workspace").concat("createdAt") });
70310
+ }
70311
+ }
70312
+ if (__o_4660["lastHumanPromptAt"] !== undefined) {
70313
+ if (__o_4660["lastHumanPromptAt"] !== null) {
70314
+ if (typeof __o_4660["lastHumanPromptAt"] !== "string") {
70315
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4660["lastHumanPromptAt"], path: ["message"].concat("payload").concat("workspace").concat("lastHumanPromptAt") });
70316
+ }
70317
+ }
70318
+ }
70319
+ if (__o_4660["lastAgentResponseAt"] !== undefined) {
70320
+ if (__o_4660["lastAgentResponseAt"] !== null) {
70321
+ if (typeof __o_4660["lastAgentResponseAt"] !== "string") {
70322
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4660["lastAgentResponseAt"], path: ["message"].concat("payload").concat("workspace").concat("lastAgentResponseAt") });
70323
+ }
70324
+ }
70325
+ }
70174
70326
  if (__o_4660["diffStat"] !== undefined) {
70175
70327
  if (__o_4660["diffStat"] !== null) {
70176
70328
  if (typeof __o_4660["diffStat"] !== "object" || __o_4660["diffStat"] === null || Array.isArray(__o_4660["diffStat"])) {
@@ -72792,6 +72944,25 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
72792
72944
  _e.push({ code: "invalid_type", expected: "string", input: __o_4817["activityAt"], path: ["message"].concat("payload").concat("snapshot").concat("workspace").concat("activityAt") });
72793
72945
  }
72794
72946
  }
72947
+ if (__o_4817["createdAt"] !== undefined) {
72948
+ if (typeof __o_4817["createdAt"] !== "string") {
72949
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4817["createdAt"], path: ["message"].concat("payload").concat("snapshot").concat("workspace").concat("createdAt") });
72950
+ }
72951
+ }
72952
+ if (__o_4817["lastHumanPromptAt"] !== undefined) {
72953
+ if (__o_4817["lastHumanPromptAt"] !== null) {
72954
+ if (typeof __o_4817["lastHumanPromptAt"] !== "string") {
72955
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4817["lastHumanPromptAt"], path: ["message"].concat("payload").concat("snapshot").concat("workspace").concat("lastHumanPromptAt") });
72956
+ }
72957
+ }
72958
+ }
72959
+ if (__o_4817["lastAgentResponseAt"] !== undefined) {
72960
+ if (__o_4817["lastAgentResponseAt"] !== null) {
72961
+ if (typeof __o_4817["lastAgentResponseAt"] !== "string") {
72962
+ _e.push({ code: "invalid_type", expected: "string", input: __o_4817["lastAgentResponseAt"], path: ["message"].concat("payload").concat("snapshot").concat("workspace").concat("lastAgentResponseAt") });
72963
+ }
72964
+ }
72965
+ }
72795
72966
  if (__o_4817["diffStat"] !== undefined) {
72796
72967
  if (__o_4817["diffStat"] !== null) {
72797
72968
  if (typeof __o_4817["diffStat"] !== "object" || __o_4817["diffStat"] === null || Array.isArray(__o_4817["diffStat"])) {
@@ -87671,6 +87842,25 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
87671
87842
  _e.push({ code: "invalid_type", expected: "string", input: __o_5831["activityAt"], path: ["message"].concat("payload").concat("workspace").concat("activityAt") });
87672
87843
  }
87673
87844
  }
87845
+ if (__o_5831["createdAt"] !== undefined) {
87846
+ if (typeof __o_5831["createdAt"] !== "string") {
87847
+ _e.push({ code: "invalid_type", expected: "string", input: __o_5831["createdAt"], path: ["message"].concat("payload").concat("workspace").concat("createdAt") });
87848
+ }
87849
+ }
87850
+ if (__o_5831["lastHumanPromptAt"] !== undefined) {
87851
+ if (__o_5831["lastHumanPromptAt"] !== null) {
87852
+ if (typeof __o_5831["lastHumanPromptAt"] !== "string") {
87853
+ _e.push({ code: "invalid_type", expected: "string", input: __o_5831["lastHumanPromptAt"], path: ["message"].concat("payload").concat("workspace").concat("lastHumanPromptAt") });
87854
+ }
87855
+ }
87856
+ }
87857
+ if (__o_5831["lastAgentResponseAt"] !== undefined) {
87858
+ if (__o_5831["lastAgentResponseAt"] !== null) {
87859
+ if (typeof __o_5831["lastAgentResponseAt"] !== "string") {
87860
+ _e.push({ code: "invalid_type", expected: "string", input: __o_5831["lastAgentResponseAt"], path: ["message"].concat("payload").concat("workspace").concat("lastAgentResponseAt") });
87861
+ }
87862
+ }
87863
+ }
87674
87864
  if (__o_5831["diffStat"] !== undefined) {
87675
87865
  if (__o_5831["diffStat"] !== null) {
87676
87866
  if (typeof __o_5831["diffStat"] !== "object" || __o_5831["diffStat"] === null || Array.isArray(__o_5831["diffStat"])) {