t3code-cli 0.14.0 → 0.14.2

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 (163) hide show
  1. package/README.md +1 -0
  2. package/dist/application.d.ts +2 -2
  3. package/dist/application.js +1 -1
  4. package/dist/auth.d.ts +1 -1
  5. package/dist/auth.js +1 -1
  6. package/dist/bin.js +551 -265
  7. package/dist/cli.d.ts +1 -1
  8. package/dist/cli.js +1 -1
  9. package/dist/client-runtime/authorization.d.ts +1 -1
  10. package/dist/client-runtime/authorization.js +1 -1
  11. package/dist/client-runtime/connection.d.ts +1 -1
  12. package/dist/client-runtime/connection.js +1 -1
  13. package/dist/client-runtime/environment.d.ts +5 -1
  14. package/dist/client-runtime/environment.js +1 -1
  15. package/dist/client-runtime/errors.js +1 -1
  16. package/dist/client-runtime/operations/projects.d.ts +2 -2
  17. package/dist/client-runtime/operations/projects.js +2 -2
  18. package/dist/client-runtime/operations.d.ts +2 -2
  19. package/dist/client-runtime/operations.js +2 -2
  20. package/dist/client-runtime/platform.d.ts +1 -1
  21. package/dist/client-runtime/platform.js +1 -1
  22. package/dist/client-runtime/relay.d.ts +5 -1
  23. package/dist/client-runtime/relay.js +1 -1
  24. package/dist/client-runtime/rpc.d.ts +2 -2
  25. package/dist/client-runtime/rpc.js +2 -2
  26. package/dist/client-runtime/state/assets.d.ts +17 -11
  27. package/dist/client-runtime/state/assets.js +1 -1
  28. package/dist/client-runtime/state/auth.d.ts +1 -1
  29. package/dist/client-runtime/state/auth.js +1 -1
  30. package/dist/client-runtime/state/connections.js +1 -1
  31. package/dist/client-runtime/state/entities.d.ts +1 -1
  32. package/dist/client-runtime/state/entities.js +1 -1
  33. package/dist/client-runtime/state/filesystem.d.ts +1 -1
  34. package/dist/client-runtime/state/filesystem.js +1 -1
  35. package/dist/client-runtime/state/git.d.ts +5 -5
  36. package/dist/client-runtime/state/git.js +1 -1
  37. package/dist/client-runtime/state/models.d.ts +1 -1
  38. package/dist/client-runtime/state/models.js +1 -1
  39. package/dist/client-runtime/state/orchestration.d.ts +42 -2
  40. package/dist/client-runtime/state/orchestration.js +13 -1
  41. package/dist/client-runtime/state/presentation.d.ts +9 -3
  42. package/dist/client-runtime/state/presentation.js +1 -1
  43. package/dist/client-runtime/state/preview.d.ts +55 -48
  44. package/dist/client-runtime/state/preview.js +1 -1
  45. package/dist/client-runtime/state/project-grouping.d.ts +26 -2
  46. package/dist/client-runtime/state/project-grouping.js +83 -3
  47. package/dist/client-runtime/state/projects.d.ts +24 -18
  48. package/dist/client-runtime/state/projects.js +1 -1
  49. package/dist/client-runtime/state/relay.d.ts +1 -1
  50. package/dist/client-runtime/state/relay.js +1 -1
  51. package/dist/client-runtime/state/review.d.ts +16 -1
  52. package/dist/client-runtime/state/review.js +27 -6
  53. package/dist/client-runtime/state/runtime.d.ts +2 -2
  54. package/dist/client-runtime/state/runtime.js +2 -2
  55. package/dist/client-runtime/state/server.d.ts +299 -172
  56. package/dist/client-runtime/state/server.js +192 -16
  57. package/dist/client-runtime/state/session.d.ts +65 -7
  58. package/dist/client-runtime/state/session.js +32 -3
  59. package/dist/client-runtime/state/shell.d.ts +41 -7
  60. package/dist/client-runtime/state/shell.js +1 -1
  61. package/dist/client-runtime/state/source-control.d.ts +2 -2
  62. package/dist/client-runtime/state/source-control.js +1 -1
  63. package/dist/client-runtime/state/subagentRuntime.d.ts +145 -0
  64. package/dist/client-runtime/state/subagentRuntime.js +521 -0
  65. package/dist/client-runtime/state/terminal.d.ts +17 -17
  66. package/dist/client-runtime/state/terminal.js +1 -1
  67. package/dist/client-runtime/state/thread-search.d.ts +23 -0
  68. package/dist/client-runtime/state/thread-search.js +38 -0
  69. package/dist/client-runtime/state/thread-settled.d.ts +28 -3
  70. package/dist/client-runtime/state/thread-settled.js +74 -2
  71. package/dist/client-runtime/state/thread-sort.d.ts +59 -2
  72. package/dist/client-runtime/state/thread-sort.js +128 -2
  73. package/dist/client-runtime/state/threads.d.ts +115 -3
  74. package/dist/client-runtime/state/threads.js +309 -28
  75. package/dist/client-runtime/state/vcs.d.ts +14 -14
  76. package/dist/client-runtime/state/vcs.js +1 -1
  77. package/dist/config.d.ts +1 -1
  78. package/dist/config.js +1 -1
  79. package/dist/connection.d.ts +1 -1
  80. package/dist/connection.js +1 -1
  81. package/dist/contracts.d.ts +1 -1
  82. package/dist/contracts.js +1 -1
  83. package/dist/index.d.ts +1 -1
  84. package/dist/index.js +1 -1
  85. package/dist/node.d.ts +1 -1
  86. package/dist/node.js +1 -1
  87. package/dist/orchestration.d.ts +144 -1
  88. package/dist/orchestration.js +1 -1
  89. package/dist/preview.d.ts +1 -1
  90. package/dist/preview.js +1 -1
  91. package/dist/rpc.d.ts +883 -351
  92. package/dist/rpc.js +1 -1
  93. package/dist/runtime.d.ts +1 -1
  94. package/dist/runtime.js +1 -1
  95. package/dist/shared/DrainableWorker.js +1 -1
  96. package/dist/shared/KeyedCoalescingWorker.js +1 -1
  97. package/dist/shared/Net.js +1 -1
  98. package/dist/shared/advertisedEndpoint.d.ts +1 -1
  99. package/dist/shared/advertisedEndpoint.js +1 -1
  100. package/dist/shared/agentAwareness.d.ts +1 -1
  101. package/dist/shared/backgroundActivitySettings.d.ts +1 -1
  102. package/dist/shared/composerInlineTokens.js +1 -1
  103. package/dist/shared/connectAuth.js +1 -1
  104. package/dist/shared/devHome.js +1 -1
  105. package/dist/shared/dpop.js +1 -1
  106. package/dist/shared/git.d.ts +1 -1
  107. package/dist/shared/httpObservability.js +1 -1
  108. package/dist/shared/httpReadiness.js +1 -1
  109. package/dist/shared/keybindings.d.ts +2 -2
  110. package/dist/shared/keybindings.js +15 -1
  111. package/dist/shared/model.d.ts +1 -1
  112. package/dist/shared/oauthScope.js +1 -1
  113. package/dist/shared/observability.d.ts +8 -1
  114. package/dist/shared/observability.js +49 -5
  115. package/dist/shared/path.js +1 -1
  116. package/dist/shared/preview.js +1 -1
  117. package/dist/shared/previewViewport.d.ts +1 -1
  118. package/dist/shared/previewViewport.js +1 -1
  119. package/dist/shared/projectFavicon.d.ts +2 -1
  120. package/dist/shared/projectFavicon.js +13 -1
  121. package/dist/shared/projectScripts.d.ts +1 -1
  122. package/dist/shared/relayAuth.js +1 -1
  123. package/dist/shared/relayClient.d.ts +1 -1
  124. package/dist/shared/relayClient.js +1 -1
  125. package/dist/shared/relayJwt.js +1 -1
  126. package/dist/shared/relayTracing.js +1 -1
  127. package/dist/shared/relayUrl.js +1 -1
  128. package/dist/shared/remote.js +1 -1
  129. package/dist/shared/schemaYaml.js +3 -3
  130. package/dist/shared/semver.js +1 -1
  131. package/dist/shared/serverSettings.d.ts +1 -1
  132. package/dist/shared/serverSettings.js +1 -1
  133. package/dist/shared/shell.d.ts +6 -1
  134. package/dist/shared/shell.js +42 -4
  135. package/dist/shared/sourceControl.d.ts +1 -1
  136. package/dist/shared/t3ProjectFile.d.ts +9 -1
  137. package/dist/shared/t3ProjectFile.js +12 -2
  138. package/dist/shared/terminalLabels.d.ts +1 -1
  139. package/dist/shared/threadEnvMode.d.ts +29 -0
  140. package/dist/shared/threadEnvMode.js +24 -0
  141. package/dist/shared/toolActivity.d.ts +1 -1
  142. package/dist/shared/usageFormat.d.ts +21 -0
  143. package/dist/shared/usageFormat.js +90 -0
  144. package/dist/shared/usageMerge.d.ts +67 -0
  145. package/dist/shared/usageMerge.js +218 -0
  146. package/dist/shared.d.ts +4472 -668
  147. package/dist/shared.js +16867 -16273
  148. package/dist/t3tools.d.ts +2 -2
  149. package/dist/t3tools.js +2 -2
  150. package/package.json +5 -5
  151. package/src/application/index.ts +1 -0
  152. package/src/application/service.ts +5 -1
  153. package/src/application/threads.ts +43 -1
  154. package/src/bin.ts +10 -7
  155. package/src/cli/app.ts +2 -0
  156. package/src/cli/format/thread.ts +23 -1
  157. package/src/cli/search.ts +48 -0
  158. package/src/config/persist/schema.ts +1 -1
  159. package/src/orchestration/layer.ts +6 -0
  160. package/src/orchestration/service.ts +5 -0
  161. package/src/rpc/error.ts +2 -0
  162. package/src/rpc/operation.ts +2 -0
  163. package/src/rpc/ws-group.ts +2 -0
@@ -1,2 +1,2 @@
1
- import { $w as AuthClientPresentationMetadata, Ay as PreviewAutomationHostFocus, Gy as PreviewAutomationResizeInput, Nb as PreviewViewportPresetId, Pb as PreviewViewportSetting, Q_ as OrchestrationMessage, _v as OrchestrationThreadShell, cv as OrchestrationShellSnapshot, eb as PreviewAutomationStreamEvent, gb as PREVIEW_VIEWPORT_PRESET_IDS, ky as PreviewAutomationHost, ou as ServerProvider, pv as OrchestrationThread, qy as PreviewAutomationResponse, tv as OrchestrationProjectShell } from "./shared.js";
1
+ import { Gx as PREVIEW_VIEWPORT_PRESET_IDS, Iu as ServerProvider, LE as AuthClientPresentationMetadata, Ny as OrchestrationThread, Oy as OrchestrationShellSnapshot, Sx as PreviewAutomationResponse, Vy as OrchestrationThreadShell, ax as PreviewAutomationHostFocus, bx as PreviewAutomationResizeInput, cS as PreviewViewportPresetId, hy as OrchestrationMessage, ix as PreviewAutomationHost, kx as PreviewAutomationStreamEvent, lS as PreviewViewportSetting, vy as OrchestrationProjectShell } from "./shared.js";
2
2
  export { type AuthClientPresentationMetadata, type OrchestrationMessage, type OrchestrationProjectShell, type OrchestrationShellSnapshot, type OrchestrationThread, type OrchestrationThreadShell, PREVIEW_VIEWPORT_PRESET_IDS, type PreviewAutomationHost, type PreviewAutomationHostFocus, type PreviewAutomationResizeInput, type PreviewAutomationResponse, type PreviewAutomationStreamEvent, type PreviewViewportPresetId, PreviewViewportSetting, type ServerProvider };
package/dist/contracts.js CHANGED
@@ -1,2 +1,2 @@
1
- import { J_ as PREVIEW_VIEWPORT_PRESET_IDS, fv as PreviewViewportSetting } from "./shared.js";
1
+ import { oy as PREVIEW_VIEWPORT_PRESET_IDS, wy as PreviewViewportSetting } from "./shared.js";
2
2
  export { PREVIEW_VIEWPORT_PRESET_IDS, PreviewViewportSetting };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { Ai as WaitEvent, Ci as T3Application, Li as ApplicationError, Sn as AuthAppLayer, bi as StartThreadPolicy, vi as SendThreadInput, xn as AppLayer, yi as StartThreadInput } from "./shared.js";
1
+ import { An as AppLayer, Di as SendThreadInput, Mi as T3Application, Oi as StartThreadInput, jn as AuthAppLayer, ki as StartThreadPolicy, qi as ApplicationError, zi as WaitEvent } from "./shared.js";
2
2
  export { AppLayer, type ApplicationError, AuthAppLayer, type SendThreadInput, type StartThreadInput, type StartThreadPolicy, T3Application, type WaitEvent };
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { Ew as T3Application, Nn as AppLayer, Pn as AuthAppLayer } from "./shared.js";
1
+ import { Ln as AppLayer, Rn as AuthAppLayer, tE as T3Application } from "./shared.js";
2
2
  export { AppLayer, AuthAppLayer, T3Application };
package/dist/node.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { In as T3CodeConnectionProvider, li as T3Rpc } from "./shared.js";
1
+ import { Gn as T3CodeConnectionProvider, vi as T3Rpc } from "./shared.js";
2
2
  import * as Layer from "effect/Layer";
3
3
  //#region src/node/connection.d.ts
4
4
  declare const T3CodeNodeRpcLayer: Layer.Layer<T3Rpc, never, T3CodeConnectionProvider>;
package/dist/node.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $O as mergeAll, Cs as layerWebSocketConstructor, ek as provide, jn as T3CodeRpcLayer, ws as layerUndici } from "./shared.js";
1
+ import { As as layerWebSocketConstructor, Fn as T3CodeRpcLayer, LA as mergeAll, RA as provide, js as layerUndici } from "./shared.js";
2
2
  //#region src/node/connection.ts
3
3
  const NodeConnectionPlatformLayer = mergeAll(layerUndici, layerWebSocketConstructor);
4
4
  const T3CodeNodeRpcLayer = T3CodeRpcLayer.pipe(provide(NodeConnectionPlatformLayer));
@@ -1,4 +1,4 @@
1
- import { Mi as Orchestration, Ni as OrchestrationError, Pi as T3Orchestration, ai as T3RpcOperations, cv as OrchestrationShellSnapshot, ji as OpenThread, vv as OrchestrationThreadStreamItem, zi as RpcError } from "./shared.js";
1
+ import { Hi as Orchestration, Hy as OrchestrationThreadStreamItem, Oy as OrchestrationShellSnapshot, Ui as OrchestrationError, Vi as OpenThread, Wi as T3Orchestration, Yi as RpcError, mi as T3RpcOperations } from "./shared.js";
2
2
  import * as Effect from "effect/Effect";
3
3
  import * as Stream from "effect/Stream";
4
4
  import * as Layer from "effect/Layer";
@@ -34,6 +34,8 @@ declare const makeT3Orchestration: () => Effect.Effect<{
34
34
  readonly value: string | boolean;
35
35
  }[];
36
36
  } | null | undefined;
37
+ readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
38
+ readonly faviconPath?: string | null | undefined;
37
39
  readonly scripts?: readonly {
38
40
  readonly id: string;
39
41
  readonly name: string;
@@ -98,11 +100,26 @@ declare const makeT3Orchestration: () => Effect.Effect<{
98
100
  readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
99
101
  readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
100
102
  readonly reason: "user";
103
+ } | {
104
+ readonly type: "thread.pin";
105
+ readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
106
+ readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
107
+ readonly orderKey?: string | undefined;
108
+ } | {
109
+ readonly type: "thread.unpin";
110
+ readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
111
+ readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
112
+ } | {
113
+ readonly type: "thread.pin.reorder";
114
+ readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
115
+ readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
116
+ readonly orderKey: string;
101
117
  } | {
102
118
  readonly type: "thread.meta.update";
103
119
  readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
104
120
  readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
105
121
  readonly title?: string | undefined;
122
+ readonly regenerateTitle?: true | undefined;
106
123
  readonly modelSelection?: {
107
124
  readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
108
125
  readonly model: string;
@@ -217,6 +234,7 @@ declare const makeT3Orchestration: () => Effect.Effect<{
217
234
  readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
218
235
  readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
219
236
  readonly createdAt: string;
237
+ readonly onlyIfSettled?: boolean | undefined;
220
238
  }) => Effect.Effect<{
221
239
  readonly sequence: number;
222
240
  }, RpcError, never>;
@@ -258,6 +276,7 @@ declare const makeT3Orchestration: () => Effect.Effect<{
258
276
  readonly subProvider?: string | undefined;
259
277
  readonly isCustom: boolean;
260
278
  readonly isDefault?: boolean | undefined;
279
+ readonly isLegacy?: boolean | undefined;
261
280
  readonly capabilities: {
262
281
  readonly optionDescriptors?: readonly ({
263
282
  readonly id: string;
@@ -342,6 +361,8 @@ declare const makeT3Orchestration: () => Effect.Effect<{
342
361
  readonly value: string | boolean;
343
362
  }[];
344
363
  } | null;
364
+ readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
365
+ readonly faviconPath?: string | null | undefined;
345
366
  readonly scripts: readonly {
346
367
  readonly id: string;
347
368
  readonly name: string;
@@ -389,6 +410,12 @@ declare const makeT3Orchestration: () => Effect.Effect<{
389
410
  readonly settledAt: string | null;
390
411
  readonly snoozedUntil?: string | null | undefined;
391
412
  readonly snoozedAt?: string | null | undefined;
413
+ readonly pinnedAt?: string | null | undefined;
414
+ readonly pinOrderKey?: string | null | undefined;
415
+ readonly titleRegeneration?: {
416
+ readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
417
+ readonly startedAt: string;
418
+ } | null | undefined;
392
419
  readonly session: {
393
420
  readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
394
421
  readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
@@ -403,6 +430,12 @@ declare const makeT3Orchestration: () => Effect.Effect<{
403
430
  readonly hasPendingApprovals: boolean;
404
431
  readonly hasPendingUserInput: boolean;
405
432
  readonly hasActionableProposedPlan: boolean;
433
+ readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
434
+ readonly planProgress?: {
435
+ readonly step: string;
436
+ readonly completedSteps: number;
437
+ readonly totalSteps: number;
438
+ } | null | undefined;
406
439
  }[];
407
440
  readonly updatedAt: string;
408
441
  }, RpcError, never>;
@@ -433,6 +466,8 @@ declare const makeT3Orchestration: () => Effect.Effect<{
433
466
  readonly value: string | boolean;
434
467
  }[];
435
468
  } | null;
469
+ readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
470
+ readonly faviconPath?: string | null | undefined;
436
471
  readonly scripts: readonly {
437
472
  readonly id: string;
438
473
  readonly name: string;
@@ -480,6 +515,12 @@ declare const makeT3Orchestration: () => Effect.Effect<{
480
515
  readonly settledAt: string | null;
481
516
  readonly snoozedUntil?: string | null | undefined;
482
517
  readonly snoozedAt?: string | null | undefined;
518
+ readonly pinnedAt?: string | null | undefined;
519
+ readonly pinOrderKey?: string | null | undefined;
520
+ readonly titleRegeneration?: {
521
+ readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
522
+ readonly startedAt: string;
523
+ } | null | undefined;
483
524
  readonly session: {
484
525
  readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
485
526
  readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
@@ -494,9 +535,24 @@ declare const makeT3Orchestration: () => Effect.Effect<{
494
535
  readonly hasPendingApprovals: boolean;
495
536
  readonly hasPendingUserInput: boolean;
496
537
  readonly hasActionableProposedPlan: boolean;
538
+ readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
539
+ readonly planProgress?: {
540
+ readonly step: string;
541
+ readonly completedSteps: number;
542
+ readonly totalSteps: number;
543
+ } | null | undefined;
497
544
  }[];
498
545
  readonly updatedAt: string;
499
546
  }, RpcError, never>;
547
+ searchThreads: (input: any) => Effect.Effect<{
548
+ readonly matches: readonly {
549
+ readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
550
+ readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
551
+ readonly source: "assistant" | "user";
552
+ readonly snippet: string;
553
+ readonly messageCreatedAt: string | null;
554
+ }[];
555
+ }, RpcError, never>;
500
556
  getThreadSnapshot: (threadId: string) => Effect.Effect<{
501
557
  readonly id: string & import("effect/Brand").Brand<"ThreadId">;
502
558
  readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
@@ -532,6 +588,12 @@ declare const makeT3Orchestration: () => Effect.Effect<{
532
588
  readonly settledAt: string | null;
533
589
  readonly snoozedUntil?: string | null | undefined;
534
590
  readonly snoozedAt?: string | null | undefined;
591
+ readonly pinnedAt?: string | null | undefined;
592
+ readonly pinOrderKey?: string | null | undefined;
593
+ readonly titleRegeneration?: {
594
+ readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
595
+ readonly startedAt: string;
596
+ } | null | undefined;
535
597
  readonly deletedAt: string | null;
536
598
  readonly messages: readonly {
537
599
  readonly id: string & import("effect/Brand").Brand<"MessageId">;
@@ -632,6 +694,12 @@ declare const makeT3Orchestration: () => Effect.Effect<{
632
694
  readonly settledAt: string | null;
633
695
  readonly snoozedUntil?: string | null | undefined;
634
696
  readonly snoozedAt?: string | null | undefined;
697
+ readonly pinnedAt?: string | null | undefined;
698
+ readonly pinOrderKey?: string | null | undefined;
699
+ readonly titleRegeneration?: {
700
+ readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
701
+ readonly startedAt: string;
702
+ } | null | undefined;
635
703
  readonly deletedAt: string | null;
636
704
  readonly messages: readonly {
637
705
  readonly id: string & import("effect/Brand").Brand<"MessageId">;
@@ -735,6 +803,7 @@ declare const makeT3Orchestration: () => Effect.Effect<{
735
803
  readonly value: string | boolean;
736
804
  }[];
737
805
  } | null;
806
+ readonly faviconPath?: string | null | undefined;
738
807
  readonly scripts: readonly {
739
808
  readonly id: string;
740
809
  readonly name: string;
@@ -789,6 +858,8 @@ declare const makeT3Orchestration: () => Effect.Effect<{
789
858
  readonly value: string | boolean;
790
859
  }[];
791
860
  } | null | undefined;
861
+ readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
862
+ readonly faviconPath?: string | null | undefined;
792
863
  readonly scripts?: readonly {
793
864
  readonly id: string;
794
865
  readonly name: string;
@@ -1010,6 +1081,72 @@ declare const makeT3Orchestration: () => Effect.Effect<{
1010
1081
  readonly reason: "activity" | "user";
1011
1082
  readonly updatedAt: string;
1012
1083
  };
1084
+ } | {
1085
+ readonly sequence: number;
1086
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
1087
+ readonly aggregateKind: "project" | "thread";
1088
+ readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
1089
+ readonly occurredAt: string;
1090
+ readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
1091
+ readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
1092
+ readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
1093
+ readonly metadata: {
1094
+ readonly providerTurnId?: string | undefined;
1095
+ readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
1096
+ readonly adapterKey?: string | undefined;
1097
+ readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
1098
+ readonly ingestedAt?: string | undefined;
1099
+ };
1100
+ readonly type: "thread.pinned";
1101
+ readonly payload: {
1102
+ readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
1103
+ readonly pinnedAt: string;
1104
+ readonly pinOrderKey?: string | undefined;
1105
+ readonly updatedAt: string;
1106
+ };
1107
+ } | {
1108
+ readonly sequence: number;
1109
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
1110
+ readonly aggregateKind: "project" | "thread";
1111
+ readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
1112
+ readonly occurredAt: string;
1113
+ readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
1114
+ readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
1115
+ readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
1116
+ readonly metadata: {
1117
+ readonly providerTurnId?: string | undefined;
1118
+ readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
1119
+ readonly adapterKey?: string | undefined;
1120
+ readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
1121
+ readonly ingestedAt?: string | undefined;
1122
+ };
1123
+ readonly type: "thread.unpinned";
1124
+ readonly payload: {
1125
+ readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
1126
+ readonly updatedAt: string;
1127
+ };
1128
+ } | {
1129
+ readonly sequence: number;
1130
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
1131
+ readonly aggregateKind: "project" | "thread";
1132
+ readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
1133
+ readonly occurredAt: string;
1134
+ readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
1135
+ readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
1136
+ readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
1137
+ readonly metadata: {
1138
+ readonly providerTurnId?: string | undefined;
1139
+ readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
1140
+ readonly adapterKey?: string | undefined;
1141
+ readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
1142
+ readonly ingestedAt?: string | undefined;
1143
+ };
1144
+ readonly type: "thread.pin-reordered";
1145
+ readonly payload: {
1146
+ readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
1147
+ readonly orderKey: string;
1148
+ readonly updatedAt: string;
1149
+ };
1013
1150
  } | {
1014
1151
  readonly sequence: number;
1015
1152
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
@@ -1030,6 +1167,12 @@ declare const makeT3Orchestration: () => Effect.Effect<{
1030
1167
  readonly payload: {
1031
1168
  readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
1032
1169
  readonly title?: string | undefined;
1170
+ readonly regenerateTitle?: true | undefined;
1171
+ readonly previousTitle?: string | undefined;
1172
+ readonly titleRegeneration?: {
1173
+ readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
1174
+ readonly startedAt: string;
1175
+ } | null | undefined;
1033
1176
  readonly modelSelection?: {
1034
1177
  readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
1035
1178
  readonly model: string;
@@ -1,2 +1,2 @@
1
- import { Ss as T3Orchestration, Xn as T3OrchestrationLive, Zn as makeT3Orchestration } from "./shared.js";
1
+ import { er as T3OrchestrationLive, ks as T3Orchestration, tr as makeT3Orchestration } from "./shared.js";
2
2
  export { T3Orchestration, T3OrchestrationLive, makeT3Orchestration };
package/dist/preview.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { Ay as PreviewAutomationHostFocus, Fn as makeT3PreviewAutomation, Nn as T3PreviewAutomation, Pn as T3PreviewAutomationLive, eb as PreviewAutomationStreamEvent, ky as PreviewAutomationHost, qy as PreviewAutomationResponse } from "./shared.js";
1
+ import { Hn as T3PreviewAutomation, Sx as PreviewAutomationResponse, Un as T3PreviewAutomationLive, Wn as makeT3PreviewAutomation, ax as PreviewAutomationHostFocus, ix as PreviewAutomationHost, kx as PreviewAutomationStreamEvent } from "./shared.js";
2
2
  export { type PreviewAutomationHost, type PreviewAutomationHostFocus, type PreviewAutomationResponse, type PreviewAutomationStreamEvent, T3PreviewAutomation, T3PreviewAutomationLive, makeT3PreviewAutomation };
package/dist/preview.js CHANGED
@@ -1,2 +1,2 @@
1
- import { Jn as T3PreviewAutomationLive, Yn as makeT3PreviewAutomation, qn as T3PreviewAutomation } from "./shared.js";
1
+ import { $n as makeT3PreviewAutomation, Qn as T3PreviewAutomationLive, Zn as T3PreviewAutomation } from "./shared.js";
2
2
  export { T3PreviewAutomation, T3PreviewAutomationLive, makeT3PreviewAutomation };