lalph 0.3.112 → 0.3.114

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/cli.mjs CHANGED
@@ -8289,6 +8289,8 @@ const tap$2 = /* @__PURE__ */ dual(2, (self, f) => flatMap$7(self, (a) => as$2(i
8289
8289
  /** @internal */
8290
8290
  const asVoid$2 = (self) => flatMap$7(self, (_) => exitVoid);
8291
8291
  /** @internal */
8292
+ const sandbox$1 = (self) => catchCause$4(self, fail$9);
8293
+ /** @internal */
8292
8294
  const raceAllFirst$1 = (all, options) => withFiber$1((parent) => callback$2((resume) => {
8293
8295
  let done = false;
8294
8296
  const fibers = /* @__PURE__ */ new Set();
@@ -8562,18 +8564,6 @@ const ignore$2 = /* @__PURE__ */ dual((args) => isEffect$1(args[0]), (self, opti
8562
8564
  });
8563
8565
  });
8564
8566
  /** @internal */
8565
- const ignoreCause$1 = /* @__PURE__ */ dual((args) => isEffect$1(args[0]), (self, options) => {
8566
- if (!options?.log) return matchCauseEffect$1(self, {
8567
- onFailure: (_) => void_$4,
8568
- onSuccess: (_) => void_$4
8569
- });
8570
- const logEffect = logWithLevel$1(options.log === true ? void 0 : options.log);
8571
- return matchCauseEffect$1(self, {
8572
- onFailure: (cause) => options.message === void 0 ? logEffect(cause) : logEffect(options.message, cause),
8573
- onSuccess: (_) => void_$4
8574
- });
8575
- });
8576
- /** @internal */
8577
8567
  const option$2 = (self) => match$6(self, {
8578
8568
  onFailure: none$4,
8579
8569
  onSuccess: some$2
@@ -15464,6 +15454,41 @@ const tapCause = tapCause$2;
15464
15454
  */
15465
15455
  const retry$1 = retry$2;
15466
15456
  /**
15457
+ * The `sandbox` function transforms an effect by exposing the full cause
15458
+ * of any error, defect, or fiber interruption that might occur during its
15459
+ * execution. It changes the error channel of the effect to include detailed
15460
+ * information about the cause, which is wrapped in a `Cause<E>` type.
15461
+ *
15462
+ * This function is useful when you need access to the complete underlying cause
15463
+ * of failures, defects, or interruptions, enabling more detailed error
15464
+ * handling. Once you apply `sandbox`, you can use operators like
15465
+ * {@link catchAll} and {@link catchTags} to handle specific error conditions.
15466
+ * If necessary, you can revert the sandboxing operation with {@link unsandbox}
15467
+ * to return to the original error handling behavior.
15468
+ *
15469
+ * @example
15470
+ * ```ts
15471
+ * import { Cause, Effect } from "effect"
15472
+ *
15473
+ * const task = Effect.fail("Something went wrong")
15474
+ *
15475
+ * // Sandbox exposes the full cause as the error type
15476
+ * const program = Effect.gen(function*() {
15477
+ * const result = yield* Effect.flip(Effect.sandbox(task))
15478
+ * return `Caught cause: ${Cause.squash(result)}`
15479
+ * })
15480
+ *
15481
+ * Effect.runPromise(program).then(console.log)
15482
+ * // Output: "Caught cause: Something went wrong"
15483
+ * ```
15484
+ *
15485
+ * @see {@link unsandbox} to restore the original error handling.
15486
+ *
15487
+ * @since 2.0.0
15488
+ * @category Error Handling
15489
+ */
15490
+ const sandbox = sandbox$1;
15491
+ /**
15467
15492
  * Discards both the success and failure values of an effect.
15468
15493
  *
15469
15494
  * **When to Use**
@@ -15511,26 +15536,6 @@ const retry$1 = retry$2;
15511
15536
  */
15512
15537
  const ignore$1 = ignore$2;
15513
15538
  /**
15514
- * Ignores the effect's failure cause, including defects and interruptions.
15515
- *
15516
- * Use the `log` option to emit the full {@link Cause} when the effect fails,
15517
- * and `message` to prepend a custom log message.
15518
- *
15519
- * @example
15520
- * ```ts
15521
- * import { Effect } from "effect"
15522
- *
15523
- * const task = Effect.fail("boom")
15524
- *
15525
- * const program = task.pipe(Effect.ignoreCause)
15526
- * const programLog = task.pipe(Effect.ignoreCause({ log: true, message: "Ignoring failure cause" }))
15527
- * ```
15528
- *
15529
- * @since 4.0.0
15530
- * @category Error Handling
15531
- */
15532
- const ignoreCause = ignoreCause$1;
15533
- /**
15534
15539
  * Replaces the original failure with a success value, ensuring the effect
15535
15540
  * cannot fail.
15536
15541
  *
@@ -93007,10 +93012,10 @@ var PrdIssue = class PrdIssue extends Class$2("PrdIssue")({
93007
93012
  }
93008
93013
  };
93009
93014
  //#endregion
93010
- //#region node_modules/.pnpm/@linear+sdk@79.0.0_graphql@16.13.1/node_modules/@linear/sdk/dist/chunk-DPPnyiuk.mjs
93015
+ //#region node_modules/.pnpm/@linear+sdk@80.0.0_graphql@16.13.1/node_modules/@linear/sdk/dist/chunk-DPPnyiuk.mjs
93011
93016
  var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
93012
93017
  //#endregion
93013
- //#region node_modules/.pnpm/@linear+sdk@79.0.0_graphql@16.13.1/node_modules/@linear/sdk/dist/index.mjs
93018
+ //#region node_modules/.pnpm/@linear+sdk@80.0.0_graphql@16.13.1/node_modules/@linear/sdk/dist/index.mjs
93014
93019
  /**
93015
93020
  * The error types returned by the Linear API
93016
93021
  */
@@ -113120,6 +113125,1058 @@ new TypedDocumentString(`
113120
113125
  success
113121
113126
  }
113122
113127
  `, { fragmentName: "SsoUrlFromEmailResponse" });
113128
+ new TypedDocumentString(`
113129
+ fragment DocumentContentDraft on DocumentContentDraft {
113130
+ __typename
113131
+ contentState
113132
+ updatedAt
113133
+ archivedAt
113134
+ createdAt
113135
+ id
113136
+ documentContent {
113137
+ ...DocumentContent
113138
+ }
113139
+ documentContentId
113140
+ user {
113141
+ id
113142
+ }
113143
+ userId
113144
+ }
113145
+ fragment DocumentContent on DocumentContent {
113146
+ __typename
113147
+ aiPromptRules {
113148
+ ...AiPromptRules
113149
+ }
113150
+ content
113151
+ contentState
113152
+ document {
113153
+ id
113154
+ }
113155
+ initiative {
113156
+ id
113157
+ }
113158
+ issue {
113159
+ id
113160
+ }
113161
+ updatedAt
113162
+ projectMilestone {
113163
+ id
113164
+ }
113165
+ project {
113166
+ id
113167
+ }
113168
+ restoredAt
113169
+ archivedAt
113170
+ createdAt
113171
+ id
113172
+ welcomeMessage {
113173
+ ...WelcomeMessage
113174
+ }
113175
+ }
113176
+ fragment WelcomeMessage on WelcomeMessage {
113177
+ __typename
113178
+ updatedAt
113179
+ archivedAt
113180
+ createdAt
113181
+ title
113182
+ id
113183
+ updatedBy {
113184
+ id
113185
+ }
113186
+ enabled
113187
+ }
113188
+ fragment AiPromptRules on AiPromptRules {
113189
+ __typename
113190
+ updatedAt
113191
+ archivedAt
113192
+ createdAt
113193
+ id
113194
+ updatedBy {
113195
+ id
113196
+ }
113197
+ }`, { fragmentName: "DocumentContentDraft" });
113198
+ new TypedDocumentString(`
113199
+ fragment Subscription on Subscription {
113200
+ __typename
113201
+ commentUnarchived {
113202
+ id
113203
+ }
113204
+ documentUnarchived {
113205
+ id
113206
+ }
113207
+ notificationUnarchived {
113208
+ ...Notification
113209
+ }
113210
+ projectUnarchived {
113211
+ id
113212
+ }
113213
+ issueUnarchived {
113214
+ id
113215
+ }
113216
+ commentArchived {
113217
+ id
113218
+ }
113219
+ commentCreated {
113220
+ id
113221
+ }
113222
+ commentDeleted {
113223
+ id
113224
+ }
113225
+ commentUpdated {
113226
+ id
113227
+ }
113228
+ cycleArchived {
113229
+ id
113230
+ }
113231
+ cycleCreated {
113232
+ id
113233
+ }
113234
+ cycleUpdated {
113235
+ id
113236
+ }
113237
+ documentContentDraftCreated {
113238
+ ...DocumentContentDraft
113239
+ }
113240
+ documentContentDraftDeleted {
113241
+ ...DocumentContentDraft
113242
+ }
113243
+ documentContentDraftUpdated {
113244
+ ...DocumentContentDraft
113245
+ }
113246
+ documentArchived {
113247
+ id
113248
+ }
113249
+ documentCreated {
113250
+ id
113251
+ }
113252
+ documentUpdated {
113253
+ id
113254
+ }
113255
+ draftCreated {
113256
+ ...Draft
113257
+ }
113258
+ draftDeleted {
113259
+ ...Draft
113260
+ }
113261
+ draftUpdated {
113262
+ ...Draft
113263
+ }
113264
+ favoriteCreated {
113265
+ id
113266
+ }
113267
+ favoriteDeleted {
113268
+ id
113269
+ }
113270
+ favoriteUpdated {
113271
+ id
113272
+ }
113273
+ notificationArchived {
113274
+ ...Notification
113275
+ }
113276
+ notificationCreated {
113277
+ ...Notification
113278
+ }
113279
+ notificationDeleted {
113280
+ ...Notification
113281
+ }
113282
+ notificationUpdated {
113283
+ ...Notification
113284
+ }
113285
+ projectArchived {
113286
+ id
113287
+ }
113288
+ projectCreated {
113289
+ id
113290
+ }
113291
+ projectUpdated {
113292
+ id
113293
+ }
113294
+ projectUpdateCreated {
113295
+ id
113296
+ }
113297
+ projectUpdateDeleted {
113298
+ id
113299
+ }
113300
+ projectUpdateUpdated {
113301
+ id
113302
+ }
113303
+ roadmapCreated {
113304
+ id
113305
+ }
113306
+ roadmapDeleted {
113307
+ id
113308
+ }
113309
+ roadmapUpdated {
113310
+ id
113311
+ }
113312
+ teamCreated {
113313
+ id
113314
+ }
113315
+ teamDeleted {
113316
+ id
113317
+ }
113318
+ teamUpdated {
113319
+ id
113320
+ }
113321
+ teamMembershipCreated {
113322
+ id
113323
+ }
113324
+ teamMembershipDeleted {
113325
+ id
113326
+ }
113327
+ teamMembershipUpdated {
113328
+ id
113329
+ }
113330
+ workflowStateArchived {
113331
+ id
113332
+ }
113333
+ workflowStateCreated {
113334
+ id
113335
+ }
113336
+ workflowStateUpdated {
113337
+ id
113338
+ }
113339
+ agentActivityCreated {
113340
+ id
113341
+ }
113342
+ agentActivityUpdated {
113343
+ id
113344
+ }
113345
+ agentSessionCreated {
113346
+ id
113347
+ }
113348
+ agentSessionUpdated {
113349
+ id
113350
+ }
113351
+ initiativeCreated {
113352
+ id
113353
+ }
113354
+ initiativeDeleted {
113355
+ id
113356
+ }
113357
+ initiativeUpdated {
113358
+ id
113359
+ }
113360
+ issueHistoryCreated {
113361
+ ...IssueHistory
113362
+ }
113363
+ issueHistoryUpdated {
113364
+ ...IssueHistory
113365
+ }
113366
+ issueArchived {
113367
+ id
113368
+ }
113369
+ issueCreated {
113370
+ id
113371
+ }
113372
+ issueUpdated {
113373
+ id
113374
+ }
113375
+ issueLabelCreated {
113376
+ id
113377
+ }
113378
+ issueLabelDeleted {
113379
+ id
113380
+ }
113381
+ issueLabelUpdated {
113382
+ id
113383
+ }
113384
+ issueRelationCreated {
113385
+ id
113386
+ }
113387
+ issueRelationDeleted {
113388
+ id
113389
+ }
113390
+ issueRelationUpdated {
113391
+ id
113392
+ }
113393
+ userCreated {
113394
+ id
113395
+ }
113396
+ userUpdated {
113397
+ id
113398
+ }
113399
+ }
113400
+ fragment ActorBot on ActorBot {
113401
+ __typename
113402
+ avatarUrl
113403
+ name
113404
+ userDisplayName
113405
+ subType
113406
+ type
113407
+ id
113408
+ }
113409
+ fragment CustomerNeedNotification on CustomerNeedNotification {
113410
+ __typename
113411
+ type
113412
+ customerNeedId
113413
+ botActor {
113414
+ ...ActorBot
113415
+ }
113416
+ category
113417
+ customerNeed {
113418
+ id
113419
+ }
113420
+ externalUserActor {
113421
+ id
113422
+ }
113423
+ relatedIssue {
113424
+ id
113425
+ }
113426
+ updatedAt
113427
+ relatedProject {
113428
+ id
113429
+ }
113430
+ emailedAt
113431
+ readAt
113432
+ unsnoozedAt
113433
+ archivedAt
113434
+ createdAt
113435
+ snoozedUntilAt
113436
+ id
113437
+ actor {
113438
+ id
113439
+ }
113440
+ user {
113441
+ id
113442
+ }
113443
+ }
113444
+ fragment CustomerNotification on CustomerNotification {
113445
+ __typename
113446
+ type
113447
+ customerId
113448
+ botActor {
113449
+ ...ActorBot
113450
+ }
113451
+ category
113452
+ customer {
113453
+ id
113454
+ }
113455
+ externalUserActor {
113456
+ id
113457
+ }
113458
+ updatedAt
113459
+ emailedAt
113460
+ readAt
113461
+ unsnoozedAt
113462
+ archivedAt
113463
+ createdAt
113464
+ snoozedUntilAt
113465
+ id
113466
+ actor {
113467
+ id
113468
+ }
113469
+ user {
113470
+ id
113471
+ }
113472
+ }
113473
+ fragment DocumentContent on DocumentContent {
113474
+ __typename
113475
+ aiPromptRules {
113476
+ ...AiPromptRules
113477
+ }
113478
+ content
113479
+ contentState
113480
+ document {
113481
+ id
113482
+ }
113483
+ initiative {
113484
+ id
113485
+ }
113486
+ issue {
113487
+ id
113488
+ }
113489
+ updatedAt
113490
+ projectMilestone {
113491
+ id
113492
+ }
113493
+ project {
113494
+ id
113495
+ }
113496
+ restoredAt
113497
+ archivedAt
113498
+ createdAt
113499
+ id
113500
+ welcomeMessage {
113501
+ ...WelcomeMessage
113502
+ }
113503
+ }
113504
+ fragment DocumentNotification on DocumentNotification {
113505
+ __typename
113506
+ reactionEmoji
113507
+ type
113508
+ commentId
113509
+ documentId
113510
+ parentCommentId
113511
+ botActor {
113512
+ ...ActorBot
113513
+ }
113514
+ category
113515
+ externalUserActor {
113516
+ id
113517
+ }
113518
+ updatedAt
113519
+ emailedAt
113520
+ readAt
113521
+ unsnoozedAt
113522
+ archivedAt
113523
+ createdAt
113524
+ snoozedUntilAt
113525
+ id
113526
+ actor {
113527
+ id
113528
+ }
113529
+ user {
113530
+ id
113531
+ }
113532
+ }
113533
+ fragment DocumentContentDraft on DocumentContentDraft {
113534
+ __typename
113535
+ contentState
113536
+ updatedAt
113537
+ archivedAt
113538
+ createdAt
113539
+ id
113540
+ documentContent {
113541
+ ...DocumentContent
113542
+ }
113543
+ documentContentId
113544
+ user {
113545
+ id
113546
+ }
113547
+ userId
113548
+ }
113549
+ fragment Draft on Draft {
113550
+ __typename
113551
+ data
113552
+ parentComment {
113553
+ id
113554
+ }
113555
+ customerNeed {
113556
+ id
113557
+ }
113558
+ initiative {
113559
+ id
113560
+ }
113561
+ initiativeUpdate {
113562
+ id
113563
+ }
113564
+ issue {
113565
+ id
113566
+ }
113567
+ updatedAt
113568
+ project {
113569
+ id
113570
+ }
113571
+ projectUpdate {
113572
+ id
113573
+ }
113574
+ team {
113575
+ id
113576
+ }
113577
+ bodyData
113578
+ archivedAt
113579
+ createdAt
113580
+ id
113581
+ user {
113582
+ id
113583
+ }
113584
+ isAutogenerated
113585
+ }
113586
+ fragment Notification on Notification {
113587
+ __typename
113588
+ type
113589
+ botActor {
113590
+ ...ActorBot
113591
+ }
113592
+ category
113593
+ externalUserActor {
113594
+ id
113595
+ }
113596
+ updatedAt
113597
+ emailedAt
113598
+ readAt
113599
+ unsnoozedAt
113600
+ archivedAt
113601
+ createdAt
113602
+ snoozedUntilAt
113603
+ id
113604
+ actor {
113605
+ id
113606
+ }
113607
+ user {
113608
+ id
113609
+ }
113610
+ ... on CustomerNeedNotification {
113611
+ ...CustomerNeedNotification
113612
+ }
113613
+ ... on CustomerNotification {
113614
+ ...CustomerNotification
113615
+ }
113616
+ ... on DocumentNotification {
113617
+ ...DocumentNotification
113618
+ }
113619
+ ... on InitiativeNotification {
113620
+ ...InitiativeNotification
113621
+ }
113622
+ ... on IssueNotification {
113623
+ ...IssueNotification
113624
+ }
113625
+ ... on OauthClientApprovalNotification {
113626
+ ...OauthClientApprovalNotification
113627
+ }
113628
+ ... on PostNotification {
113629
+ ...PostNotification
113630
+ }
113631
+ ... on ProjectNotification {
113632
+ ...ProjectNotification
113633
+ }
113634
+ ... on PullRequestNotification {
113635
+ ...PullRequestNotification
113636
+ }
113637
+ ... on WelcomeMessageNotification {
113638
+ ...WelcomeMessageNotification
113639
+ }
113640
+ }
113641
+ fragment PostNotification on PostNotification {
113642
+ __typename
113643
+ reactionEmoji
113644
+ type
113645
+ commentId
113646
+ parentCommentId
113647
+ postId
113648
+ botActor {
113649
+ ...ActorBot
113650
+ }
113651
+ category
113652
+ externalUserActor {
113653
+ id
113654
+ }
113655
+ updatedAt
113656
+ emailedAt
113657
+ readAt
113658
+ unsnoozedAt
113659
+ archivedAt
113660
+ createdAt
113661
+ snoozedUntilAt
113662
+ id
113663
+ actor {
113664
+ id
113665
+ }
113666
+ user {
113667
+ id
113668
+ }
113669
+ }
113670
+ fragment ProjectNotification on ProjectNotification {
113671
+ __typename
113672
+ reactionEmoji
113673
+ type
113674
+ commentId
113675
+ parentCommentId
113676
+ projectId
113677
+ projectMilestoneId
113678
+ projectUpdateId
113679
+ botActor {
113680
+ ...ActorBot
113681
+ }
113682
+ category
113683
+ comment {
113684
+ id
113685
+ }
113686
+ document {
113687
+ id
113688
+ }
113689
+ externalUserActor {
113690
+ id
113691
+ }
113692
+ updatedAt
113693
+ parentComment {
113694
+ id
113695
+ }
113696
+ project {
113697
+ id
113698
+ }
113699
+ projectUpdate {
113700
+ id
113701
+ }
113702
+ emailedAt
113703
+ readAt
113704
+ unsnoozedAt
113705
+ archivedAt
113706
+ createdAt
113707
+ snoozedUntilAt
113708
+ id
113709
+ actor {
113710
+ id
113711
+ }
113712
+ user {
113713
+ id
113714
+ }
113715
+ }
113716
+ fragment PullRequestNotification on PullRequestNotification {
113717
+ __typename
113718
+ type
113719
+ pullRequestCommentId
113720
+ pullRequestId
113721
+ botActor {
113722
+ ...ActorBot
113723
+ }
113724
+ category
113725
+ externalUserActor {
113726
+ id
113727
+ }
113728
+ updatedAt
113729
+ emailedAt
113730
+ readAt
113731
+ unsnoozedAt
113732
+ archivedAt
113733
+ createdAt
113734
+ snoozedUntilAt
113735
+ id
113736
+ actor {
113737
+ id
113738
+ }
113739
+ user {
113740
+ id
113741
+ }
113742
+ }
113743
+ fragment IssueHistory on IssueHistory {
113744
+ __typename
113745
+ triageResponsibilityAutoAssigned
113746
+ relationChanges {
113747
+ ...IssueRelationHistoryPayload
113748
+ }
113749
+ addedLabelIds
113750
+ removedLabelIds
113751
+ toSlaBreachesAt
113752
+ fromSlaBreachesAt
113753
+ actor {
113754
+ id
113755
+ }
113756
+ descriptionUpdatedBy {
113757
+ ...User
113758
+ }
113759
+ actors {
113760
+ ...User
113761
+ }
113762
+ fromDelegate {
113763
+ id
113764
+ }
113765
+ toDelegate {
113766
+ id
113767
+ }
113768
+ botActor {
113769
+ ...ActorBot
113770
+ }
113771
+ fromCycle {
113772
+ id
113773
+ }
113774
+ toCycle {
113775
+ id
113776
+ }
113777
+ attachmentId
113778
+ customerNeedId
113779
+ toCycleId
113780
+ toParentId
113781
+ toConvertedProjectId
113782
+ toProjectId
113783
+ toStateId
113784
+ fromCycleId
113785
+ fromParentId
113786
+ fromProjectId
113787
+ fromStateId
113788
+ fromTeamId
113789
+ toTeamId
113790
+ fromAssigneeId
113791
+ toAssigneeId
113792
+ actorId
113793
+ issueImport {
113794
+ ...IssueImport
113795
+ }
113796
+ issue {
113797
+ id
113798
+ }
113799
+ addedLabels {
113800
+ ...IssueLabel
113801
+ }
113802
+ removedLabels {
113803
+ ...IssueLabel
113804
+ }
113805
+ updatedAt
113806
+ attachment {
113807
+ id
113808
+ }
113809
+ toConvertedProject {
113810
+ id
113811
+ }
113812
+ fromParent {
113813
+ id
113814
+ }
113815
+ toParent {
113816
+ id
113817
+ }
113818
+ fromProjectMilestone {
113819
+ id
113820
+ }
113821
+ toProjectMilestone {
113822
+ id
113823
+ }
113824
+ fromProject {
113825
+ id
113826
+ }
113827
+ toProject {
113828
+ id
113829
+ }
113830
+ fromState {
113831
+ id
113832
+ }
113833
+ toState {
113834
+ id
113835
+ }
113836
+ fromTeam {
113837
+ id
113838
+ }
113839
+ toTeam {
113840
+ id
113841
+ }
113842
+ triageResponsibilityTeam {
113843
+ id
113844
+ }
113845
+ archivedAt
113846
+ createdAt
113847
+ toSlaStartedAt
113848
+ fromSlaStartedAt
113849
+ toSlaType
113850
+ fromSlaType
113851
+ id
113852
+ toAssignee {
113853
+ id
113854
+ }
113855
+ fromAssignee {
113856
+ id
113857
+ }
113858
+ triageResponsibilityNotifiedUsers {
113859
+ ...User
113860
+ }
113861
+ fromDueDate
113862
+ toDueDate
113863
+ fromEstimate
113864
+ toEstimate
113865
+ fromPriority
113866
+ toPriority
113867
+ fromTitle
113868
+ toTitle
113869
+ fromSlaBreached
113870
+ toSlaBreached
113871
+ archived
113872
+ autoArchived
113873
+ autoClosed
113874
+ trashed
113875
+ updatedDescription
113876
+ }
113877
+ fragment User on User {
113878
+ __typename
113879
+ statusUntilAt
113880
+ description
113881
+ avatarUrl
113882
+ createdIssueCount
113883
+ disableReason
113884
+ avatarBackgroundColor
113885
+ statusEmoji
113886
+ initials
113887
+ statusLabel
113888
+ updatedAt
113889
+ lastSeen
113890
+ timezone
113891
+ archivedAt
113892
+ createdAt
113893
+ id
113894
+ gitHubUserId
113895
+ displayName
113896
+ email
113897
+ name
113898
+ url
113899
+ active
113900
+ guest
113901
+ app
113902
+ admin
113903
+ owner
113904
+ isAssignable
113905
+ isMentionable
113906
+ isMe
113907
+ supportsAgentSessions
113908
+ canAccessAnyPublicTeam
113909
+ calendarHash
113910
+ inviteHash
113911
+ }
113912
+ fragment WelcomeMessage on WelcomeMessage {
113913
+ __typename
113914
+ updatedAt
113915
+ archivedAt
113916
+ createdAt
113917
+ title
113918
+ id
113919
+ updatedBy {
113920
+ id
113921
+ }
113922
+ enabled
113923
+ }
113924
+ fragment WelcomeMessageNotification on WelcomeMessageNotification {
113925
+ __typename
113926
+ type
113927
+ welcomeMessageId
113928
+ botActor {
113929
+ ...ActorBot
113930
+ }
113931
+ category
113932
+ externalUserActor {
113933
+ id
113934
+ }
113935
+ updatedAt
113936
+ emailedAt
113937
+ readAt
113938
+ unsnoozedAt
113939
+ archivedAt
113940
+ createdAt
113941
+ snoozedUntilAt
113942
+ id
113943
+ actor {
113944
+ id
113945
+ }
113946
+ user {
113947
+ id
113948
+ }
113949
+ }
113950
+ fragment AiPromptRules on AiPromptRules {
113951
+ __typename
113952
+ updatedAt
113953
+ archivedAt
113954
+ createdAt
113955
+ id
113956
+ updatedBy {
113957
+ id
113958
+ }
113959
+ }
113960
+ fragment IssueImport on IssueImport {
113961
+ __typename
113962
+ progress
113963
+ errorMetadata
113964
+ csvFileUrl
113965
+ serviceMetadata
113966
+ teamName
113967
+ mapping
113968
+ displayName
113969
+ creatorId
113970
+ updatedAt
113971
+ service
113972
+ status
113973
+ archivedAt
113974
+ createdAt
113975
+ id
113976
+ error
113977
+ }
113978
+ fragment InitiativeNotification on InitiativeNotification {
113979
+ __typename
113980
+ reactionEmoji
113981
+ type
113982
+ commentId
113983
+ initiativeId
113984
+ initiativeUpdateId
113985
+ parentCommentId
113986
+ botActor {
113987
+ ...ActorBot
113988
+ }
113989
+ category
113990
+ comment {
113991
+ id
113992
+ }
113993
+ document {
113994
+ id
113995
+ }
113996
+ externalUserActor {
113997
+ id
113998
+ }
113999
+ initiative {
114000
+ id
114001
+ }
114002
+ initiativeUpdate {
114003
+ id
114004
+ }
114005
+ updatedAt
114006
+ parentComment {
114007
+ id
114008
+ }
114009
+ emailedAt
114010
+ readAt
114011
+ unsnoozedAt
114012
+ archivedAt
114013
+ createdAt
114014
+ snoozedUntilAt
114015
+ id
114016
+ actor {
114017
+ id
114018
+ }
114019
+ user {
114020
+ id
114021
+ }
114022
+ }
114023
+ fragment IssueNotification on IssueNotification {
114024
+ __typename
114025
+ reactionEmoji
114026
+ type
114027
+ commentId
114028
+ issueId
114029
+ parentCommentId
114030
+ botActor {
114031
+ ...ActorBot
114032
+ }
114033
+ category
114034
+ comment {
114035
+ id
114036
+ }
114037
+ externalUserActor {
114038
+ id
114039
+ }
114040
+ issue {
114041
+ id
114042
+ }
114043
+ updatedAt
114044
+ parentComment {
114045
+ id
114046
+ }
114047
+ subscriptions {
114048
+ ...NotificationSubscription
114049
+ }
114050
+ team {
114051
+ id
114052
+ }
114053
+ emailedAt
114054
+ readAt
114055
+ unsnoozedAt
114056
+ archivedAt
114057
+ createdAt
114058
+ snoozedUntilAt
114059
+ id
114060
+ actor {
114061
+ id
114062
+ }
114063
+ user {
114064
+ id
114065
+ }
114066
+ }
114067
+ fragment OauthClientApprovalNotification on OauthClientApprovalNotification {
114068
+ __typename
114069
+ type
114070
+ oauthClientApprovalId
114071
+ oauthClientApproval {
114072
+ ...OauthClientApproval
114073
+ }
114074
+ botActor {
114075
+ ...ActorBot
114076
+ }
114077
+ category
114078
+ externalUserActor {
114079
+ id
114080
+ }
114081
+ updatedAt
114082
+ emailedAt
114083
+ readAt
114084
+ unsnoozedAt
114085
+ archivedAt
114086
+ createdAt
114087
+ snoozedUntilAt
114088
+ id
114089
+ actor {
114090
+ id
114091
+ }
114092
+ user {
114093
+ id
114094
+ }
114095
+ }
114096
+ fragment IssueRelationHistoryPayload on IssueRelationHistoryPayload {
114097
+ __typename
114098
+ identifier
114099
+ type
114100
+ }
114101
+ fragment IssueLabel on IssueLabel {
114102
+ __typename
114103
+ lastAppliedAt
114104
+ color
114105
+ description
114106
+ name
114107
+ updatedAt
114108
+ inheritedFrom {
114109
+ id
114110
+ }
114111
+ parent {
114112
+ id
114113
+ }
114114
+ team {
114115
+ id
114116
+ }
114117
+ archivedAt
114118
+ createdAt
114119
+ id
114120
+ creator {
114121
+ id
114122
+ }
114123
+ retiredBy {
114124
+ id
114125
+ }
114126
+ isGroup
114127
+ }
114128
+ fragment NotificationSubscription on NotificationSubscription {
114129
+ __typename
114130
+ customView {
114131
+ id
114132
+ }
114133
+ cycle {
114134
+ id
114135
+ }
114136
+ initiative {
114137
+ id
114138
+ }
114139
+ label {
114140
+ id
114141
+ }
114142
+ project {
114143
+ id
114144
+ }
114145
+ customer {
114146
+ id
114147
+ }
114148
+ updatedAt
114149
+ team {
114150
+ id
114151
+ }
114152
+ archivedAt
114153
+ createdAt
114154
+ userContextViewType
114155
+ contextViewType
114156
+ id
114157
+ subscriber {
114158
+ id
114159
+ }
114160
+ user {
114161
+ id
114162
+ }
114163
+ active
114164
+ }
114165
+ fragment OauthClientApproval on OauthClientApproval {
114166
+ __typename
114167
+ newlyRequestedScopes
114168
+ updatedAt
114169
+ requesterId
114170
+ responderId
114171
+ requestReason
114172
+ denyReason
114173
+ scopes
114174
+ status
114175
+ archivedAt
114176
+ createdAt
114177
+ id
114178
+ oauthClientId
114179
+ }`, { fragmentName: "Subscription" });
113123
114180
  new TypedDocumentString(`
113124
114181
  fragment SuccessPayload on SuccessPayload {
113125
114182
  __typename
@@ -178408,7 +179465,7 @@ var IssueSource = class IssueSource extends Service$1()("lalph/IssueSource") {
178408
179465
  const refs = yield* make$48({
178409
179466
  lookup: fnUntraced(function* (projectId) {
178410
179467
  const ref = yield* make$47(IssuesChange.Internal({ issues: yield* pipe$1(impl.issues(projectId), orElseSucceed(empty$17)) }));
178411
- yield* changes(ref).pipe(switchMap((_) => impl.issues(projectId).pipe(tap$1((issues) => set$3(ref, IssuesChange.External({ issues }))), ignoreCause, delay(seconds(30)), fromEffectDrain)), runDrain, forkScoped);
179468
+ yield* changes(ref).pipe(switchMap((_) => impl.issues(projectId).pipe(tap$1((issues) => set$3(ref, IssuesChange.External({ issues }))), delay(seconds(30)), sandbox, retry$1(forever$1), fromEffectDrain)), runDrain, forkScoped);
178412
179469
  return ref;
178413
179470
  }),
178414
179471
  capacity: Number.MAX_SAFE_INTEGER
@@ -181778,7 +182835,7 @@ var ji = Bt, Ii = Object.assign(Qe, { sync: Bt }), zi = Ut, Bi = Object.assign(e
181778
182835
  });
181779
182836
  Ze.glob = Ze;
181780
182837
  //#endregion
181781
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/ApplyPatch.js
182838
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/ApplyPatch.js
181782
182839
  /**
181783
182840
  * @since 1.0.0
181784
182841
  */
@@ -196651,7 +197708,7 @@ var StreamableHTTPClientTransport = class {
196651
197708
  }
196652
197709
  };
196653
197710
  //#endregion
196654
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/McpClient.js
197711
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/McpClient.js
196655
197712
  /**
196656
197713
  * @since 1.0.0
196657
197714
  */
@@ -196696,7 +197753,7 @@ const layer$13 = effect$1(McpClient, gen(function* () {
196696
197753
  });
196697
197754
  }));
196698
197755
  //#endregion
196699
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/ExaSearch.js
197756
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/ExaSearch.js
196700
197757
  /**
196701
197758
  * @since 1.0.0
196702
197759
  */
@@ -211646,7 +212703,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin$1(((exports) => {
211646
212703
  exports.impl = impl;
211647
212704
  }));
211648
212705
  //#endregion
211649
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/WebToMarkdown.js
212706
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/WebToMarkdown.js
211650
212707
  /**
211651
212708
  * @since 1.0.0
211652
212709
  */
@@ -214785,7 +215842,7 @@ function isEmptyParamsRecord(indexSignature) {
214785
215842
  return indexSignature.parameter === string$3 && isNever(indexSignature.type);
214786
215843
  }
214787
215844
  //#endregion
214788
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/SemanticSearch/Service.js
215845
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/SemanticSearch/Service.js
214789
215846
  /**
214790
215847
  * @since 1.0.0
214791
215848
  */
@@ -214811,7 +215868,7 @@ const maybeRemoveFile = (path) => serviceOption(SemanticSearch).pipe(flatMap$5(m
214811
215868
  onSome: (service) => service.removeFile(path)
214812
215869
  })));
214813
215870
  //#endregion
214814
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/AgentTools.js
215871
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/AgentTools.js
214815
215872
  /**
214816
215873
  * @since 1.0.0
214817
215874
  */
@@ -214853,7 +215910,7 @@ const AgentTools = make$14(make$13("readFile", {
214853
215910
  parameters: Struct$2({
214854
215911
  pattern: String$1,
214855
215912
  glob: optional$3(String$1).annotate({ documentation: "--glob" }),
214856
- filesOnly: optional$3(Boolean$2).annotate({ documentation: "Only return file paths. --files-with-matches" }),
215913
+ filesOnly: optional$3(Boolean$2).annotate({ documentation: "Only return file paths --files-with-matches" }),
214857
215914
  maxLines: optional$3(Finite).annotate({ documentation: "The total maximum number of lines to return across all files (default: 500)" })
214858
215915
  }),
214859
215916
  success: String$1,
@@ -214898,18 +215955,18 @@ const AgentTools = make$14(make$13("readFile", {
214898
215955
  }).annotate({ identifier: "command" }),
214899
215956
  success: String$1,
214900
215957
  dependencies: [CurrentDirectory]
215958
+ }), make$13("applyPatch", {
215959
+ description: "Add, update or remove multiple files with a git diff / unified diff / wrapped patch.",
215960
+ parameters: String$1.annotate({ identifier: "patch" }),
215961
+ success: String$1,
215962
+ dependencies: [CurrentDirectory]
214901
215963
  }), make$13("writeFile", {
214902
- description: "Write content to a file, creating parent directories if needed. PREFER USING applyPatch to update existing files.",
215964
+ description: "Write content to a file, creating parent directories if needed. Prefer applyPatch to update existing files.",
214903
215965
  parameters: Struct$2({
214904
215966
  path: String$1,
214905
215967
  content: String$1
214906
215968
  }),
214907
215969
  dependencies: [CurrentDirectory]
214908
- }), make$13("applyPatch", {
214909
- description: "Add, update or remove multiple files with a git diff / unified diff / wrapped patch.",
214910
- parameters: String$1.annotate({ identifier: "patch" }),
214911
- success: String$1,
214912
- dependencies: [CurrentDirectory]
214913
215970
  }), make$13("removeFile", {
214914
215971
  description: "Remove a file.",
214915
215972
  parameters: String$1.annotate({ identifier: "path" }),
@@ -215006,10 +216063,10 @@ const AgentToolHandlersNoDeps = AgentToolsWithSearch.toLayer(gen(function* () {
215006
216063
  yield* maybeRemoveFile(pathService.relative(cwd, from));
215007
216064
  yield* maybeUpdateFile(pathService.relative(cwd, to));
215008
216065
  }, orDie$2),
215009
- ls: fn("AgentTools.ls")(function* (path) {
215010
- yield* logInfo(`Calling "ls"`).pipe(annotateLogs({ path }));
216066
+ ls: fn("AgentTools.ls")(function* (directory) {
216067
+ yield* logInfo(`Calling "ls"`).pipe(annotateLogs({ directory }));
215011
216068
  const cwd = yield* CurrentDirectory;
215012
- return yield* fs.readDirectory(pathService.resolve(cwd, path)).pipe(orDie$2);
216069
+ return yield* fs.readDirectory(pathService.resolve(cwd, directory)).pipe(orDie$2);
215013
216070
  }),
215014
216071
  search: fn("AgentTools.search")(function* (query) {
215015
216072
  yield* logInfo(`Calling "search"`).pipe(annotateLogs({ query }));
@@ -215214,7 +216271,7 @@ const AgentToolHandlers = AgentToolHandlersNoDeps.pipe(provide$3([layer$12, laye
215214
216271
  AgentToolHandlersNoDeps.pipe(provide$3([mock(ExaSearch)({}), mock(WebToMarkdown)({})]));
215215
216272
  var ApplyPatchError = class extends TaggedClass$2("ApplyPatchError") {};
215216
216273
  //#endregion
215217
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/TypeBuilder.js
216274
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/TypeBuilder.js
215218
216275
  const resolveDocumentation = resolveAt("documentation");
215219
216276
  const identifierPattern = /^[$A-Z_a-z][$0-9A-Z_a-z]*$/u;
215220
216277
  const Precedence = {
@@ -215487,7 +216544,7 @@ const render = (schema, options) => {
215487
216544
  return printNode({ text: documentation === void 0 ? rendered.text : `${renderJsDoc(documentation, 0, printerOptions)}${printerOptions.newLine}${rendered.text}` }, printerOptions);
215488
216545
  };
215489
216546
  //#endregion
215490
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/ToolkitRenderer.js
216547
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/ToolkitRenderer.js
215491
216548
  /**
215492
216549
  * @since 1.0.0
215493
216550
  */
@@ -215509,7 +216566,7 @@ declare function ${name}(${params}): Promise<${render(tool.successSchema)}>`);
215509
216566
  }) });
215510
216567
  };
215511
216568
  //#endregion
215512
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/ScriptPreprocessing.js
216569
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/ScriptPreprocessing.js
215513
216570
  const callTemplateTargets = ["applyPatch", "taskComplete"];
215514
216571
  const objectPropertyTargets = [{
215515
216572
  functionName: "writeFile",
@@ -216071,7 +217128,7 @@ const rewriteAssignedTargets = (script) => {
216071
217128
  };
216072
217129
  const preprocessScript = (script) => rewriteAssignedTargets(rewriteDirectTemplates(script));
216073
217130
  //#endregion
216074
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/AgentExecutor.js
217131
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/AgentExecutor.js
216075
217132
  /**
216076
217133
  * @since 1.0.0
216077
217134
  */
@@ -216256,7 +217313,7 @@ var QueueWriteStream = class extends Writable {
216256
217313
  }
216257
217314
  };
216258
217315
  //#endregion
216259
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/ScriptExtraction.js
217316
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/ScriptExtraction.js
216260
217317
  const stripWrappingCodeFence = (script) => {
216261
217318
  const lines = script.split(/\r?\n/);
216262
217319
  if (lines.length < 2) return script;
@@ -217805,7 +218862,7 @@ const applySpanTransformer = (transformer, response, options) => {
217805
218862
  });
217806
218863
  };
217807
218864
  //#endregion
217808
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/Agent.js
218865
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/Agent.js
217809
218866
  /**
217810
218867
  * @since 1.0.0
217811
218868
  */
@@ -218091,61 +219148,60 @@ ${content}
218091
219148
  });
218092
219149
  });
218093
219150
  const retryPolicy = exponential(100, 1.5).pipe(either(spaced(5e3)), jittered);
218094
- const defaultSystem = (options) => `You are a world-class software engineer: precise, rigorous, thoughtful, and efficient. You fully understand the task, verify assumptions, and produce minimal, correct, maintainable solutions. You make no mistakes.
218095
-
218096
- - Fully read and understand your task before proceeding.
218097
- - Only add comments when necessary.
219151
+ const defaultSystem = (options) => `You are a world-class software engineer: precise and efficient.
218098
219152
 
218099
219153
  ${options.toolInstructions}
218100
219154
 
218101
219155
  ${options.agentsMd}
218102
219156
  `;
218103
- const generateSystemTools = (capabilities, conversationMode) => `**YOU ONLY HAVE ACCESS TO ONE TOOL** "execute", to run javascript code to do your work.
219157
+ const generateSystemTools = (capabilities, conversationMode) => `You only have one tool available: "execute", to run javascript code to do your work.
218104
219158
 
218105
219159
  - Use \`console.log\` to print any output you need.
218106
- - Errors are automatically logged to the console, so if you don't need the success output avoid using console.log.
218107
- - Top level await is supported - no need to wrap with async functions.${capabilities.supportsSearch ? `
218108
- - PREFER USING the "search" function over "rg", unless you are targeting specific files or patterns.` : ""}
218109
- - Do as much work as possible in a single script, using \`Promise.all\` to run multiple functions in parallel.
219160
+ - Use top level await.${capabilities.supportsSearch ? `
219161
+ - Prefer using the "search" function over "rg", unless you are targeting specific files or patterns.` : ""}
218110
219162
  - You can add / update / remove multiple files in one go with "applyPatch".
218111
- - AVOID passing scripts into the "bash" function, and instead write javascript.
218112
- - **Variables are not shared** between executions, so you must include all necessary code in each script you execute.
218113
- - DO NOT use \`require\`, \`import\`, \`process\`, or any other Node.js apis.
219163
+ - Avoid passing scripts into the "bash" function, and instead write javascript.
219164
+ - Variables are not shared between executions.
219165
+ - Do not use \`require\`, \`import\`, \`process\`, or any other Node.js apis.
218114
219166
  - Make use of the todo functions to keep track of your progress.${conversationMode ? "" : `
218115
219167
 
218116
219168
  When you have fully completed your task, call the "taskComplete" function with the final output.
218117
- DO NOT output the final result without wrapping it with "taskComplete".
218118
219169
  Make sure every detail of the task is done before calling "taskComplete".`}
218119
219170
 
218120
- You have these functions available to you:
218121
-
218122
- \`\`\`ts
218123
- ${capabilities.toolsDts}
218124
-
218125
- /** The global Fetch API available for making HTTP requests. */
218126
- declare const fetch: typeof globalThis.fetch
218127
- \`\`\`
218128
-
218129
- For example, here is how you would read a file. First you would execute
218130
- javascript code that uses the "readFile" function:
219171
+ Here is how you would read a file and list a directory:
218131
219172
 
218132
219173
  \`\`\`
218133
- const content = await readFile({
218134
- path: "package.json",
218135
- startLine: 1,
218136
- endLine: 10,
218137
- })
218138
- console.log(JSON.parse(content))
219174
+ const [files, content] = await Promise.all([
219175
+ ls("."),
219176
+ readFile({
219177
+ path: "package.json",
219178
+ startLine: 1,
219179
+ endLine: 10,
219180
+ })
219181
+ ])
219182
+ console.log("files:", files)
219183
+ console.log("package.json:", JSON.parse(content))
218139
219184
  \`\`\`
218140
219185
 
218141
219186
  And then you will revieve back the console output:
218142
219187
 
218143
219188
  \`\`\`
219189
+ [22:44:53.050] INFO (#47): Calling "ls" { directory: '.' }
218144
219190
  [22:44:53.054] INFO (#47): Calling "readFile" { path: 'package.json' }
218145
- {
219191
+ files: [ 'package.json' ]
219192
+ package.json: {
218146
219193
  "name": "my-project",
218147
219194
  "version": "1.0.0"
218148
219195
  }
219196
+ \`\`\`
219197
+
219198
+ These are the functions available to you:
219199
+
219200
+ \`\`\`ts
219201
+ ${capabilities.toolsDts}
219202
+
219203
+ /** The global Fetch API available for making HTTP requests. */
219204
+ declare const fetch: typeof globalThis.fetch
218149
219205
  \`\`\``;
218150
219206
  var ScriptExecutor = class extends Service$1()("clanka/Agent/ScriptExecutor") {};
218151
219207
  const SingleTools = make$14(make$13("execute", {
@@ -229326,7 +230382,7 @@ const transformToolCallParams = /* @__PURE__ */ fnUntraced(function* (tools, too
229326
230382
  })));
229327
230383
  });
229328
230384
  //#endregion
229329
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/CodexAuth.js
230385
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/CodexAuth.js
229330
230386
  /**
229331
230387
  * @since 1.0.0
229332
230388
  */
@@ -229546,7 +230602,7 @@ var CodexAuth = class CodexAuth extends Service$1()("clanka/CodexAuth") {
229546
230602
  static layerClient = this.layerClientNoDeps.pipe(provide$3(CodexAuth.layer));
229547
230603
  };
229548
230604
  //#endregion
229549
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/Codex.js
230605
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/Codex.js
229550
230606
  /**
229551
230607
  * @since 1.0.0
229552
230608
  */
@@ -229572,7 +230628,7 @@ const layerModel = (model, options) => layer$7({
229572
230628
  }
229573
230629
  }).pipe(merge$6(AgentModelConfig.layer({ systemPromptTransform: (system, effect) => withConfigOverride(effect, { instructions: system }) })));
229574
230630
  //#endregion
229575
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/CodeChunker.js
230631
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/CodeChunker.js
229576
230632
  /**
229577
230633
  * @since 1.0.0
229578
230634
  */
@@ -231332,7 +232388,7 @@ const getUsageDetailNumber = (details, field) => {
231332
232388
  return typeof value === "number" ? value : void 0;
231333
232389
  };
231334
232390
  //#endregion
231335
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/CopilotAuth.js
232391
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/CopilotAuth.js
231336
232392
  /**
231337
232393
  * @since 1.0.0
231338
232394
  */
@@ -231523,7 +232579,7 @@ var GithubCopilotAuth = class GithubCopilotAuth extends Service$1()("clanka/Gith
231523
232579
  static layerClient = this.layerClientNoDeps.pipe(provide$3(GithubCopilotAuth.layer));
231524
232580
  };
231525
232581
  //#endregion
231526
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/Copilot.js
232582
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/Copilot.js
231527
232583
  /**
231528
232584
  * @since 1.0.0
231529
232585
  */
@@ -231943,7 +232999,7 @@ Object.defineProperties(createChalk.prototype, styles);
231943
232999
  const chalk = createChalk();
231944
233000
  createChalk({ level: stderrColor ? stderrColor.level : 0 });
231945
233001
  //#endregion
231946
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/OutputFormatter.js
233002
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/OutputFormatter.js
231947
233003
  /**
231948
233004
  * @since 1.0.0
231949
233005
  */
@@ -232651,7 +233707,7 @@ select * from ${sql(options.tableName)} where ${sql(idColumn)} = LAST_INSERT_ID(
232651
233707
  };
232652
233708
  });
232653
233709
  //#endregion
232654
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/ChunkRepo.js
233710
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/ChunkRepo.js
232655
233711
  /**
232656
233712
  * @since 1.0.0
232657
233713
  * @category Models
@@ -232917,7 +233973,7 @@ const run$1 = /* @__PURE__ */ make$25({});
232917
233973
  */
232918
233974
  const layer$1 = (options) => effectDiscard(run$1(options));
232919
233975
  //#endregion
232920
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/internal/sqlite-vector.js
233976
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/internal/sqlite-vector.js
232921
233977
  /**
232922
233978
  * Binary extension for each platform
232923
233979
  */
@@ -233034,7 +234090,7 @@ function getExtensionPath() {
233034
234090
  throw new ExtensionNotFoundError(`SQLite Vector extension not found for platform: ${getCurrentPlatform()}\n\nThe platform-specific package "${getPlatformPackageName()}" is not installed.\nThis usually happens when:\n 1. Your platform is not supported\n 2. npm failed to install optional dependencies\n 3. You're installing with --no-optional flag\n\nTry running: npm install --force`);
233035
234091
  }
233036
234092
  //#endregion
233037
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/Sqlite.js
234093
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/Sqlite.js
233038
234094
  /**
233039
234095
  * @since 1.0.0
233040
234096
  */
@@ -233062,7 +234118,7 @@ const SqliteLayer = (database) => layer$1({ loader: fromRecord({ "0001_create_ch
233062
234118
  yield* fs.makeDirectory(directory, { recursive: true });
233063
234119
  }))));
233064
234120
  //#endregion
233065
- //#region node_modules/.pnpm/clanka@0.2.37_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_4431a824f028486cb08424791d6feb77/node_modules/clanka/dist/SemanticSearch.js
234121
+ //#region node_modules/.pnpm/clanka@0.2.38_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_8b26d89888c4b7e6bcb90ea99ae4f7cf/node_modules/clanka/dist/SemanticSearch.js
233066
234122
  /**
233067
234123
  * @since 1.0.0
233068
234124
  */
@@ -242743,7 +243799,7 @@ const commandEdit = make$60("edit").pipe(withDescription("Open the selected proj
242743
243799
  const commandSource = make$60("source").pipe(withDescription("Select the issue source to use (e.g. GitHub Issues or Linear). This applies to all projects."), withHandler(() => selectIssueSource), provide(Settings.layer));
242744
243800
  //#endregion
242745
243801
  //#region package.json
242746
- var version = "0.3.112";
243802
+ var version = "0.3.114";
242747
243803
  //#endregion
242748
243804
  //#region src/Tracing.ts
242749
243805
  const TracingLayer = unwrap$3(gen(function* () {