@hearsay-tools/squawk 0.18.0-dev.8335 → 0.18.0-dev.8337

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 (46) hide show
  1. package/dist/automations/tools.d.ts +8 -8
  2. package/dist/core/os-cgroup.d.ts +43 -0
  3. package/dist/core/os-cgroup.js +220 -0
  4. package/dist/core/os-cgroup.js.map +1 -0
  5. package/dist/core/os-win-job.d.ts +30 -0
  6. package/dist/core/os-win-job.js +80 -0
  7. package/dist/core/os-win-job.js.map +1 -0
  8. package/dist/core/session-containment.d.ts +78 -0
  9. package/dist/core/session-containment.js +247 -0
  10. package/dist/core/session-containment.js.map +1 -0
  11. package/dist/core/session-process.d.ts +10 -0
  12. package/dist/core/session-process.js +109 -22
  13. package/dist/core/session-process.js.map +1 -1
  14. package/dist/delegation/routes.d.ts +10 -10
  15. package/dist/delegation/transport.d.ts +14 -14
  16. package/dist/jobs/cli.js +6 -2
  17. package/dist/jobs/cli.js.map +1 -1
  18. package/dist/jobs/job.d.ts +6 -0
  19. package/dist/jobs/job.js +80 -2
  20. package/dist/jobs/job.js.map +1 -1
  21. package/dist/plugin/runtime.d.ts +1 -1
  22. package/dist/plugin/runtime.js +1 -1
  23. package/dist/plugin/runtime.js.map +1 -1
  24. package/dist/runners/opencode/opencode-http.d.ts +1 -0
  25. package/dist/runners/opencode/opencode-http.js +7 -0
  26. package/dist/runners/opencode/opencode-http.js.map +1 -1
  27. package/dist/runners/opencode/opencode-server-runner.js +3 -9
  28. package/dist/runners/opencode/opencode-server-runner.js.map +1 -1
  29. package/dist/runs/run-decode.d.ts +72 -72
  30. package/dist/server/live-routes.d.ts +6 -6
  31. package/dist/server/server.d.ts +1424 -1424
  32. package/dist/server/workspace-live-routes.d.ts +6 -6
  33. package/dist/worker-scope/cgroup.d.ts +2 -36
  34. package/dist/worker-scope/cgroup.js +5 -161
  35. package/dist/worker-scope/cgroup.js.map +1 -1
  36. package/dist/worker-scope/job.d.ts +1 -22
  37. package/dist/worker-scope/job.js +1 -56
  38. package/dist/worker-scope/job.js.map +1 -1
  39. package/dist/worker-scope/scope.d.ts +5 -1
  40. package/dist/worker-scope/worker-scopes.js +36 -18
  41. package/dist/worker-scope/worker-scopes.js.map +1 -1
  42. package/dist/workflows/input-acknowledgement.d.ts +24 -24
  43. package/dist/workflows/run/wait-engine.d.ts +72 -72
  44. package/package.json +4 -4
  45. package/scripts/windows-worker-job.cs +67 -32
  46. package/scripts/windows-worker-job.ps1 +11 -4
@@ -2227,30 +2227,6 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
2227
2227
  deadline: string;
2228
2228
  seconds: number;
2229
2229
  note?: string | undefined;
2230
- } | {
2231
- id: string;
2232
- source: "agent" | "cezar";
2233
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2234
- registeredAt: string;
2235
- phase: "cancelled" | "delivered" | "open" | "resolved";
2236
- resolvedAt?: string | undefined;
2237
- deliveredAt?: string | undefined;
2238
- cancelledAt?: string | undefined;
2239
- turnId: string;
2240
- kind: "process";
2241
- deadline: string;
2242
- timeoutSeconds: number;
2243
- pid: number;
2244
- startToken?: string | undefined;
2245
- exitFile?: string | undefined;
2246
- note?: string | undefined;
2247
- result?: {
2248
- outcome: "deadline" | "error" | "exit_file" | "exited";
2249
- observedAt: string;
2250
- exitCode?: number | undefined;
2251
- exitFileNote?: "not-an-exit-code" | undefined;
2252
- diagnostic?: string | undefined;
2253
- } | undefined;
2254
2230
  } | {
2255
2231
  id: string;
2256
2232
  source: "agent" | "cezar";
@@ -2312,6 +2288,30 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
2312
2288
  reason: "outcome" | "timeout";
2313
2289
  } | undefined;
2314
2290
  wakeInputId?: string | undefined;
2291
+ } | {
2292
+ id: string;
2293
+ source: "agent" | "cezar";
2294
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2295
+ registeredAt: string;
2296
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2297
+ resolvedAt?: string | undefined;
2298
+ deliveredAt?: string | undefined;
2299
+ cancelledAt?: string | undefined;
2300
+ turnId: string;
2301
+ kind: "process";
2302
+ deadline: string;
2303
+ timeoutSeconds: number;
2304
+ pid: number;
2305
+ startToken?: string | undefined;
2306
+ exitFile?: string | undefined;
2307
+ note?: string | undefined;
2308
+ result?: {
2309
+ outcome: "deadline" | "error" | "exit_file" | "exited";
2310
+ observedAt: string;
2311
+ exitCode?: number | undefined;
2312
+ exitFileNote?: "not-an-exit-code" | undefined;
2313
+ diagnostic?: string | undefined;
2314
+ } | undefined;
2315
2315
  } | {
2316
2316
  id: string;
2317
2317
  source: "agent" | "cezar";
@@ -2439,30 +2439,6 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
2439
2439
  deadline: string;
2440
2440
  seconds: number;
2441
2441
  note?: string | undefined;
2442
- } | {
2443
- id: string;
2444
- source: "agent" | "cezar";
2445
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2446
- registeredAt: string;
2447
- phase: "cancelled" | "delivered" | "open" | "resolved";
2448
- resolvedAt?: string | undefined;
2449
- deliveredAt?: string | undefined;
2450
- cancelledAt?: string | undefined;
2451
- turnId: string;
2452
- kind: "process";
2453
- deadline: string;
2454
- timeoutSeconds: number;
2455
- pid: number;
2456
- startToken?: string | undefined;
2457
- exitFile?: string | undefined;
2458
- note?: string | undefined;
2459
- result?: {
2460
- outcome: "deadline" | "error" | "exit_file" | "exited";
2461
- observedAt: string;
2462
- exitCode?: number | undefined;
2463
- exitFileNote?: "not-an-exit-code" | undefined;
2464
- diagnostic?: string | undefined;
2465
- } | undefined;
2466
2442
  } | {
2467
2443
  id: string;
2468
2444
  source: "agent" | "cezar";
@@ -2524,6 +2500,30 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
2524
2500
  reason: "outcome" | "timeout";
2525
2501
  } | undefined;
2526
2502
  wakeInputId?: string | undefined;
2503
+ } | {
2504
+ id: string;
2505
+ source: "agent" | "cezar";
2506
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2507
+ registeredAt: string;
2508
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2509
+ resolvedAt?: string | undefined;
2510
+ deliveredAt?: string | undefined;
2511
+ cancelledAt?: string | undefined;
2512
+ turnId: string;
2513
+ kind: "process";
2514
+ deadline: string;
2515
+ timeoutSeconds: number;
2516
+ pid: number;
2517
+ startToken?: string | undefined;
2518
+ exitFile?: string | undefined;
2519
+ note?: string | undefined;
2520
+ result?: {
2521
+ outcome: "deadline" | "error" | "exit_file" | "exited";
2522
+ observedAt: string;
2523
+ exitCode?: number | undefined;
2524
+ exitFileNote?: "not-an-exit-code" | undefined;
2525
+ diagnostic?: string | undefined;
2526
+ } | undefined;
2527
2527
  } | {
2528
2528
  id: string;
2529
2529
  source: "agent" | "cezar";
@@ -2650,30 +2650,6 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
2650
2650
  deadline: string;
2651
2651
  seconds: number;
2652
2652
  note?: string | undefined;
2653
- } | {
2654
- id: string;
2655
- source: "agent" | "cezar";
2656
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2657
- registeredAt: string;
2658
- phase: "cancelled" | "delivered" | "open" | "resolved";
2659
- resolvedAt?: string | undefined;
2660
- deliveredAt?: string | undefined;
2661
- cancelledAt?: string | undefined;
2662
- turnId: string;
2663
- kind: "process";
2664
- deadline: string;
2665
- timeoutSeconds: number;
2666
- pid: number;
2667
- startToken?: string | undefined;
2668
- exitFile?: string | undefined;
2669
- note?: string | undefined;
2670
- result?: {
2671
- outcome: "deadline" | "error" | "exit_file" | "exited";
2672
- observedAt: string;
2673
- exitCode?: number | undefined;
2674
- exitFileNote?: "not-an-exit-code" | undefined;
2675
- diagnostic?: string | undefined;
2676
- } | undefined;
2677
2653
  } | {
2678
2654
  id: string;
2679
2655
  source: "agent" | "cezar";
@@ -2735,6 +2711,30 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
2735
2711
  reason: "outcome" | "timeout";
2736
2712
  } | undefined;
2737
2713
  wakeInputId?: string | undefined;
2714
+ } | {
2715
+ id: string;
2716
+ source: "agent" | "cezar";
2717
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2718
+ registeredAt: string;
2719
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2720
+ resolvedAt?: string | undefined;
2721
+ deliveredAt?: string | undefined;
2722
+ cancelledAt?: string | undefined;
2723
+ turnId: string;
2724
+ kind: "process";
2725
+ deadline: string;
2726
+ timeoutSeconds: number;
2727
+ pid: number;
2728
+ startToken?: string | undefined;
2729
+ exitFile?: string | undefined;
2730
+ note?: string | undefined;
2731
+ result?: {
2732
+ outcome: "deadline" | "error" | "exit_file" | "exited";
2733
+ observedAt: string;
2734
+ exitCode?: number | undefined;
2735
+ exitFileNote?: "not-an-exit-code" | undefined;
2736
+ diagnostic?: string | undefined;
2737
+ } | undefined;
2738
2738
  } | {
2739
2739
  id: string;
2740
2740
  source: "agent" | "cezar";
@@ -16,12 +16,6 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
16
16
  output: {
17
17
  generation: string;
18
18
  results: ({
19
- projectId: string;
20
- runId: string;
21
- type: "error" | "reset";
22
- status: 400 | 404 | 409 | 413 | 503;
23
- error: string;
24
- } | {
25
19
  projectId: string;
26
20
  runId: string;
27
21
  type: "batch";
@@ -35,6 +29,12 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
35
29
  cursor: string;
36
30
  afterSeq: number;
37
31
  hasMore: boolean;
32
+ } | {
33
+ projectId: string;
34
+ runId: string;
35
+ type: "error" | "reset";
36
+ status: 400 | 404 | 409 | 413 | 503;
37
+ error: string;
38
38
  })[];
39
39
  };
40
40
  outputFormat: "json";