@hearsay-tools/squawk 0.18.0-dev.6056 → 0.18.0-dev.6063

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 (42) hide show
  1. package/dist/delegation/routes.d.ts +77 -77
  2. package/dist/delegation/transport.d.ts +16 -16
  3. package/dist/home/recovery.d.ts +0 -1
  4. package/dist/home/recovery.js +0 -1
  5. package/dist/home/recovery.js.map +1 -1
  6. package/dist/server/activity-routes.d.ts +23 -23
  7. package/dist/server/home-recovery-routes.js +2 -1
  8. package/dist/server/home-recovery-routes.js.map +1 -1
  9. package/dist/server/reports-api.d.ts +2 -2
  10. package/dist/server/server.d.ts +234 -234
  11. package/dist/workflows/run/input-delivery.d.ts +1 -1
  12. package/dist/workflows/run/input-delivery.js +3 -4
  13. package/dist/workflows/run/input-delivery.js.map +1 -1
  14. package/package.json +4 -4
  15. package/web/dist/assets/{activity-motion-DeZVcyHN.js → activity-motion-uhQPLbuu.js} +1 -1
  16. package/web/dist/assets/{activity-route-CfM6TKw8.js → activity-route-Dkulydc2.js} +1 -1
  17. package/web/dist/assets/{commit-diff-panel-CUuznS27.js → commit-diff-panel-C9GL2tao.js} +1 -1
  18. package/web/dist/assets/{diff-D9mviLga.js → diff-BbT6HX3u.js} +2 -2
  19. package/web/dist/assets/{diff-view-DlXWu4u7.js → diff-view-oyOw4umg.js} +1 -1
  20. package/web/dist/assets/{file-preview-bCiYR6ia.js → file-preview-BQ0R19La.js} +1 -1
  21. package/web/dist/assets/{git-toolbar-C-0FDnfp.js → git-toolbar-PeaVnT03.js} +1 -1
  22. package/web/dist/assets/{github-D9m1Dhy4.js → github-5L2qkK1k.js} +1 -1
  23. package/web/dist/assets/{global-activity-route-DsF0OBW9.js → global-activity-route-DLfuJ7Lw.js} +1 -1
  24. package/web/dist/assets/index-CFbFtL5O.js +17 -0
  25. package/web/dist/assets/index-DI_O8V74.css +1 -0
  26. package/web/dist/assets/{preview-pane-connected-Cg66-Nzx.js → preview-pane-connected-ClnZeK7_.js} +1 -1
  27. package/web/dist/assets/{repo-git-CSd9wDM_.js → repo-git-C5kdJUtx.js} +1 -1
  28. package/web/dist/assets/{report-reader-ZdyTP9gn.js → report-reader-C9f7Zevx.js} +1 -1
  29. package/web/dist/assets/{reports-DR8JDBg8.js → reports-DLozsIav.js} +1 -1
  30. package/web/dist/assets/{run-header-BTAD5xT7.js → run-header-gKKxDTom.js} +1 -1
  31. package/web/dist/assets/{skills-BRB_UsYB.js → skills-nbFjA9HV.js} +1 -1
  32. package/web/dist/assets/{task-changes-DiTnvrbr.js → task-changes-DcgY25bB.js} +1 -1
  33. package/web/dist/assets/{task-commits-DAmEWSRb.js → task-commits-amSX-bTC.js} +1 -1
  34. package/web/dist/assets/{task-files-vspKFCjG.js → task-files-BW4uOVGM.js} +1 -1
  35. package/web/dist/assets/{task-github-item-D9mNzFJE.js → task-github-item-CG8dVePG.js} +1 -1
  36. package/web/dist/assets/{task-thread-CUjbEmNQ.js → task-thread-BJRqzTFi.js} +1 -1
  37. package/web/dist/assets/{thread-state-DwrgqsTH.js → thread-state-CtFtvKUi.js} +1 -1
  38. package/web/dist/assets/{use-hand-to-agent-state-D7xjSZRX.js → use-hand-to-agent-state-DWLpzA5t.js} +1 -1
  39. package/web/dist/assets/{workflows-ChB2amZf.js → workflows-DDM-LFxD.js} +1 -1
  40. package/web/dist/index.html +2 -2
  41. package/web/dist/assets/index-9YmaiQ1k.css +0 -1
  42. package/web/dist/assets/index-D8O01V68.js +0 -17
@@ -3305,6 +3305,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3305
3305
  };
3306
3306
  };
3307
3307
  };
3308
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3309
+ "/reports/state": {
3310
+ $get: {
3311
+ output: {
3312
+ error: string;
3313
+ };
3314
+ outputFormat: "json";
3315
+ status: 409;
3316
+ input: {};
3317
+ } | {
3318
+ output: {
3319
+ epoch: string;
3320
+ generation: number;
3321
+ metadataGeneration: number;
3322
+ };
3323
+ outputFormat: "json";
3324
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3325
+ input: {};
3326
+ };
3327
+ };
3328
+ } & {
3329
+ "/reports": {
3330
+ $get: {
3331
+ output: {
3332
+ error: string;
3333
+ code?: "invalid_input" | undefined;
3334
+ };
3335
+ outputFormat: "json";
3336
+ status: 400;
3337
+ input: {
3338
+ query: {
3339
+ q?: string | undefined;
3340
+ before?: string | undefined;
3341
+ limit?: number | undefined;
3342
+ };
3343
+ };
3344
+ } | {
3345
+ output: {
3346
+ error: string;
3347
+ };
3348
+ outputFormat: "json";
3349
+ status: 409;
3350
+ input: {
3351
+ query: {
3352
+ q?: string | undefined;
3353
+ before?: string | undefined;
3354
+ limit?: number | undefined;
3355
+ };
3356
+ };
3357
+ } | {
3358
+ output: {
3359
+ error: string;
3360
+ };
3361
+ outputFormat: "json";
3362
+ status: 400;
3363
+ input: {
3364
+ query: {
3365
+ q?: string | undefined;
3366
+ before?: string | undefined;
3367
+ limit?: number | undefined;
3368
+ };
3369
+ };
3370
+ } | {
3371
+ output: {
3372
+ reports: {
3373
+ id: string;
3374
+ runId: string;
3375
+ name: string;
3376
+ title: string;
3377
+ createdAt: string;
3378
+ size: number;
3379
+ taskTitle: string;
3380
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3381
+ }[];
3382
+ nextCursor: string | null;
3383
+ total: number;
3384
+ };
3385
+ outputFormat: "json";
3386
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3387
+ input: {
3388
+ query: {
3389
+ q?: string | undefined;
3390
+ before?: string | undefined;
3391
+ limit?: number | undefined;
3392
+ };
3393
+ };
3394
+ };
3395
+ };
3308
3396
  }, "/"> | import("hono/types").MergeSchemaPath<{
3309
3397
  "/voice/decide": {
3310
3398
  $post: {
@@ -3915,94 +4003,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3915
4003
  };
3916
4004
  };
3917
4005
  };
3918
- }, "/"> | import("hono/types").MergeSchemaPath<{
3919
- "/reports/state": {
3920
- $get: {
3921
- output: {
3922
- error: string;
3923
- };
3924
- outputFormat: "json";
3925
- status: 409;
3926
- input: {};
3927
- } | {
3928
- output: {
3929
- epoch: string;
3930
- generation: number;
3931
- metadataGeneration: number;
3932
- };
3933
- outputFormat: "json";
3934
- status: import("hono/utils/http-status").ContentfulStatusCode;
3935
- input: {};
3936
- };
3937
- };
3938
- } & {
3939
- "/reports": {
3940
- $get: {
3941
- output: {
3942
- error: string;
3943
- code?: "invalid_input" | undefined;
3944
- };
3945
- outputFormat: "json";
3946
- status: 400;
3947
- input: {
3948
- query: {
3949
- q?: string | undefined;
3950
- before?: string | undefined;
3951
- limit?: number | undefined;
3952
- };
3953
- };
3954
- } | {
3955
- output: {
3956
- error: string;
3957
- };
3958
- outputFormat: "json";
3959
- status: 409;
3960
- input: {
3961
- query: {
3962
- q?: string | undefined;
3963
- before?: string | undefined;
3964
- limit?: number | undefined;
3965
- };
3966
- };
3967
- } | {
3968
- output: {
3969
- error: string;
3970
- };
3971
- outputFormat: "json";
3972
- status: 400;
3973
- input: {
3974
- query: {
3975
- q?: string | undefined;
3976
- before?: string | undefined;
3977
- limit?: number | undefined;
3978
- };
3979
- };
3980
- } | {
3981
- output: {
3982
- reports: {
3983
- id: string;
3984
- runId: string;
3985
- name: string;
3986
- title: string;
3987
- createdAt: string;
3988
- size: number;
3989
- taskTitle: string;
3990
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3991
- }[];
3992
- nextCursor: string | null;
3993
- total: number;
3994
- };
3995
- outputFormat: "json";
3996
- status: import("hono/utils/http-status").ContentfulStatusCode;
3997
- input: {
3998
- query: {
3999
- q?: string | undefined;
4000
- before?: string | undefined;
4001
- limit?: number | undefined;
4002
- };
4003
- };
4004
- };
4005
- };
4006
4006
  }, "/"> | import("hono/types").MergeSchemaPath<{
4007
4007
  "/skills": {
4008
4008
  $get: {
@@ -8734,35 +8734,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8734
8734
  } & {
8735
8735
  "/runs/:id/worker-destroy": {
8736
8736
  $post: {
8737
- output: {
8738
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8739
- readonly error: string;
8740
- readonly modelChoices?: {
8741
- runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
8742
- requestedModel: string;
8743
- availableModels: {
8744
- id: string;
8745
- label: string;
8746
- description: string;
8747
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8748
- }[];
8749
- otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
8750
- } | undefined;
8751
- };
8752
- outputFormat: "json";
8753
- status: 400 | 401 | 403 | 409 | 503;
8754
- input: {
8755
- query: {
8756
- [x: string]: string | string[];
8757
- };
8758
- } & {
8759
- param: {
8760
- id: string;
8761
- };
8762
- } & {
8763
- json: Record<string, never>;
8764
- };
8765
- } | {
8766
8737
  output: {
8767
8738
  error: string;
8768
8739
  code?: "invalid_input" | undefined;
@@ -8834,6 +8805,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8834
8805
  } & {
8835
8806
  json: Record<string, never>;
8836
8807
  };
8808
+ } | {
8809
+ output: {
8810
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8811
+ readonly error: string;
8812
+ readonly modelChoices?: {
8813
+ runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
8814
+ requestedModel: string;
8815
+ availableModels: {
8816
+ id: string;
8817
+ label: string;
8818
+ description: string;
8819
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8820
+ }[];
8821
+ otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
8822
+ } | undefined;
8823
+ };
8824
+ outputFormat: "json";
8825
+ status: 400 | 401 | 403 | 409 | 503;
8826
+ input: {
8827
+ query: {
8828
+ [x: string]: string | string[];
8829
+ };
8830
+ } & {
8831
+ param: {
8832
+ id: string;
8833
+ };
8834
+ } & {
8835
+ json: Record<string, never>;
8836
+ };
8837
8837
  };
8838
8838
  };
8839
8839
  } & {
@@ -19182,6 +19182,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19182
19182
  };
19183
19183
  };
19184
19184
  };
19185
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19186
+ "/reports/state": {
19187
+ $get: {
19188
+ output: {
19189
+ error: string;
19190
+ };
19191
+ outputFormat: "json";
19192
+ status: 409;
19193
+ input: {};
19194
+ } | {
19195
+ output: {
19196
+ epoch: string;
19197
+ generation: number;
19198
+ metadataGeneration: number;
19199
+ };
19200
+ outputFormat: "json";
19201
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19202
+ input: {};
19203
+ };
19204
+ };
19205
+ } & {
19206
+ "/reports": {
19207
+ $get: {
19208
+ output: {
19209
+ error: string;
19210
+ code?: "invalid_input" | undefined;
19211
+ };
19212
+ outputFormat: "json";
19213
+ status: 400;
19214
+ input: {
19215
+ query: {
19216
+ q?: string | undefined;
19217
+ before?: string | undefined;
19218
+ limit?: number | undefined;
19219
+ };
19220
+ };
19221
+ } | {
19222
+ output: {
19223
+ error: string;
19224
+ };
19225
+ outputFormat: "json";
19226
+ status: 409;
19227
+ input: {
19228
+ query: {
19229
+ q?: string | undefined;
19230
+ before?: string | undefined;
19231
+ limit?: number | undefined;
19232
+ };
19233
+ };
19234
+ } | {
19235
+ output: {
19236
+ error: string;
19237
+ };
19238
+ outputFormat: "json";
19239
+ status: 400;
19240
+ input: {
19241
+ query: {
19242
+ q?: string | undefined;
19243
+ before?: string | undefined;
19244
+ limit?: number | undefined;
19245
+ };
19246
+ };
19247
+ } | {
19248
+ output: {
19249
+ reports: {
19250
+ id: string;
19251
+ runId: string;
19252
+ name: string;
19253
+ title: string;
19254
+ createdAt: string;
19255
+ size: number;
19256
+ taskTitle: string;
19257
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19258
+ }[];
19259
+ nextCursor: string | null;
19260
+ total: number;
19261
+ };
19262
+ outputFormat: "json";
19263
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19264
+ input: {
19265
+ query: {
19266
+ q?: string | undefined;
19267
+ before?: string | undefined;
19268
+ limit?: number | undefined;
19269
+ };
19270
+ };
19271
+ };
19272
+ };
19185
19273
  }, "/"> | import("hono/types").MergeSchemaPath<{
19186
19274
  "/voice/decide": {
19187
19275
  $post: {
@@ -19792,94 +19880,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19792
19880
  };
19793
19881
  };
19794
19882
  };
19795
- }, "/"> | import("hono/types").MergeSchemaPath<{
19796
- "/reports/state": {
19797
- $get: {
19798
- output: {
19799
- error: string;
19800
- };
19801
- outputFormat: "json";
19802
- status: 409;
19803
- input: {};
19804
- } | {
19805
- output: {
19806
- epoch: string;
19807
- generation: number;
19808
- metadataGeneration: number;
19809
- };
19810
- outputFormat: "json";
19811
- status: import("hono/utils/http-status").ContentfulStatusCode;
19812
- input: {};
19813
- };
19814
- };
19815
- } & {
19816
- "/reports": {
19817
- $get: {
19818
- output: {
19819
- error: string;
19820
- code?: "invalid_input" | undefined;
19821
- };
19822
- outputFormat: "json";
19823
- status: 400;
19824
- input: {
19825
- query: {
19826
- q?: string | undefined;
19827
- before?: string | undefined;
19828
- limit?: number | undefined;
19829
- };
19830
- };
19831
- } | {
19832
- output: {
19833
- error: string;
19834
- };
19835
- outputFormat: "json";
19836
- status: 409;
19837
- input: {
19838
- query: {
19839
- q?: string | undefined;
19840
- before?: string | undefined;
19841
- limit?: number | undefined;
19842
- };
19843
- };
19844
- } | {
19845
- output: {
19846
- error: string;
19847
- };
19848
- outputFormat: "json";
19849
- status: 400;
19850
- input: {
19851
- query: {
19852
- q?: string | undefined;
19853
- before?: string | undefined;
19854
- limit?: number | undefined;
19855
- };
19856
- };
19857
- } | {
19858
- output: {
19859
- reports: {
19860
- id: string;
19861
- runId: string;
19862
- name: string;
19863
- title: string;
19864
- createdAt: string;
19865
- size: number;
19866
- taskTitle: string;
19867
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19868
- }[];
19869
- nextCursor: string | null;
19870
- total: number;
19871
- };
19872
- outputFormat: "json";
19873
- status: import("hono/utils/http-status").ContentfulStatusCode;
19874
- input: {
19875
- query: {
19876
- q?: string | undefined;
19877
- before?: string | undefined;
19878
- limit?: number | undefined;
19879
- };
19880
- };
19881
- };
19882
- };
19883
19883
  }, "/"> | import("hono/types").MergeSchemaPath<{
19884
19884
  "/skills": {
19885
19885
  $get: {
@@ -24611,35 +24611,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24611
24611
  } & {
24612
24612
  "/runs/:id/worker-destroy": {
24613
24613
  $post: {
24614
- output: {
24615
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24616
- readonly error: string;
24617
- readonly modelChoices?: {
24618
- runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
24619
- requestedModel: string;
24620
- availableModels: {
24621
- id: string;
24622
- label: string;
24623
- description: string;
24624
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
24625
- }[];
24626
- otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
24627
- } | undefined;
24628
- };
24629
- outputFormat: "json";
24630
- status: 400 | 401 | 403 | 409 | 503;
24631
- input: {
24632
- query: {
24633
- [x: string]: string | string[];
24634
- };
24635
- } & {
24636
- param: {
24637
- id: string;
24638
- };
24639
- } & {
24640
- json: Record<string, never>;
24641
- };
24642
- } | {
24643
24614
  output: {
24644
24615
  error: string;
24645
24616
  code?: "invalid_input" | undefined;
@@ -24711,6 +24682,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24711
24682
  } & {
24712
24683
  json: Record<string, never>;
24713
24684
  };
24685
+ } | {
24686
+ output: {
24687
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24688
+ readonly error: string;
24689
+ readonly modelChoices?: {
24690
+ runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
24691
+ requestedModel: string;
24692
+ availableModels: {
24693
+ id: string;
24694
+ label: string;
24695
+ description: string;
24696
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
24697
+ }[];
24698
+ otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
24699
+ } | undefined;
24700
+ };
24701
+ outputFormat: "json";
24702
+ status: 400 | 401 | 403 | 409 | 503;
24703
+ input: {
24704
+ query: {
24705
+ [x: string]: string | string[];
24706
+ };
24707
+ } & {
24708
+ param: {
24709
+ id: string;
24710
+ };
24711
+ } & {
24712
+ json: Record<string, never>;
24713
+ };
24714
24714
  };
24715
24715
  };
24716
24716
  } & {
@@ -6,7 +6,7 @@ import type { ContentBlock } from '../../core/agent-runner.ts';
6
6
  import type { AgentSession } from '../../core/claude-cli-runner.ts';
7
7
  import type { RunRecord } from '../../runs/store.ts';
8
8
  import type { ContinueRunOptions } from '../continuation-admission.ts';
9
- import { type ActiveRun } from '../active-run.ts';
9
+ import type { ActiveRun } from '../active-run.ts';
10
10
  import type { PastedContent } from '../pasted-content.ts';
11
11
  import type { RunExitId } from '../../runs/run-exits.ts';
12
12
  import * as inputReceipts from './input-receipts.ts';
@@ -2,7 +2,6 @@ import { logPrefix } from '../../home/display.js';
2
2
  import { WAIT_KINDS, waitDeliveryLabel } from './wait-kinds.js';
3
3
  import { transitionTurnBoundary } from './turn-boundary.js';
4
4
  import { ReadonlySetView } from './readonly-collections.js';
5
- import { writeInput } from '../active-run.js';
6
5
  import { contentBlocksOf, pastedAttachmentsNote } from '../pasted-content.js';
7
6
  import { startCompletionCycle } from '../completion-policy.js';
8
7
  import { chargesBudget, hasPrWait, openWaitsFooter, resolvedWaits, waitInputId } from '../waits.js';
@@ -316,7 +315,7 @@ export class InputDelivery {
316
315
  }
317
316
  const bundle = state.boundary.atTurnBoundary === state.liveSession.session ? pendingConversationBatch(this.context.store.getRun(runId), state, input => formatAgentInput(input, id => this.context.store.getRun(id)), reply.id) : undefined;
318
317
  const session = state.liveSession.session;
319
- if (!writeInput(state, () => session.sendMessage([{ type: 'text', text }, ...(bundle ? [{ type: 'text', text: bundle.text }] : [])])))
318
+ if (!state.inputState.writeInput(() => session.sendMessage([{ type: 'text', text }, ...(bundle ? [{ type: 'text', text: bundle.text }] : [])])))
320
319
  return;
321
320
  this.context.store.appendEvent(runId, { type: 'human-input-delivered', askSeq, source });
322
321
  inputReceipts.commitRoutedAnswer(this.context, runId, state, [reply.id, ...(bundle?.inputs.map(input => input.id) ?? [])], fallback, this.maxAutoContinues);
@@ -542,7 +541,7 @@ export class InputDelivery {
542
541
  let acknowledgement;
543
542
  // A wake beside a pending question (`admitsAgentInput`) is not its answer: the question stays Cezar's and its card stays answerable, because only a human delivery settles it. The provider's acknowledgement is still the checkpoint, and a rejected one fails the session like any other, leaving the waits resolved for a continuation.
544
543
  try {
545
- acknowledgement = writeInput(state, () => session.sendAgentMessage(content, inputIds));
544
+ acknowledgement = state.inputState.writeInput(() => session.sendAgentMessage(content, inputIds));
546
545
  }
547
546
  catch (error) {
548
547
  refund();
@@ -750,7 +749,7 @@ export class InputDelivery {
750
749
  const prepared = this.prepareMessageContent(runId, state, content, userAuthored);
751
750
  const { blocks, expanded, deliverable } = prepared;
752
751
  const session = state.liveSession.session;
753
- const delivered = userAuthored ? writeInput(state, () => session.sendMessage(deliverable)) : this.host.submitAgentInput(runId, state, deliverable);
752
+ const delivered = userAuthored ? state.inputState.writeInput(() => session.sendMessage(deliverable)) : this.host.submitAgentInput(runId, state, deliverable);
754
753
  if (delivered && expanded !== blocks)
755
754
  this.host.runSkills.provisionLiveSlashSkill(runId, state, blocks);
756
755
  if (delivered) {