@opencode/client 0.0.0-dev-21173 → 0.0.0-dev-21177

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 (61) hide show
  1. package/dist/chunks/{service-timing-pkgaqevf.js → service-probe-1hkhww1g.js} +9 -1
  2. package/dist/chunks/{service-timing-8ye1ye6f.js → service-probe-2ny4vxct.js} +2 -2
  3. package/dist/chunks/{service-timing-6vqag1xy.js → service-probe-2wvmafzq.js} +1 -1
  4. package/dist/chunks/{service-timing-6vp15eh6.js → service-probe-6vp15eh6.js} +1 -1
  5. package/dist/chunks/{service-timing-y2etg5bs.js → service-probe-7f0py9js.js} +2 -2
  6. package/dist/chunks/{service-timing-hyba5qq1.js → service-probe-bah0qqxw.js} +17 -17
  7. package/dist/chunks/{service-timing-npmvft7m.js → service-probe-f93mzqah.js} +17 -11
  8. package/dist/chunks/{service-timing-frbwqjmf.js → service-probe-frbwqjmf.js} +1 -1
  9. package/dist/chunks/{service-timing-nwcpakzx.js → service-probe-js54wxgp.js} +2 -2
  10. package/dist/chunks/{service-timing-z6qdwcsf.js → service-probe-mnyft54j.js} +5 -5
  11. package/dist/chunks/{service-timing-teb2xrcv.js → service-probe-nv358xrg.js} +26 -20
  12. package/dist/chunks/{service-timing-t1xa31vm.js → service-probe-t1xa31vm.js} +1 -1
  13. package/dist/chunks/service-probe-x61gkv37.js +30 -0
  14. package/dist/contract.js +1 -1
  15. package/dist/effect/api/api.d.ts +40 -0
  16. package/dist/effect/client.d.ts +38 -0
  17. package/dist/effect/client.js +12 -12
  18. package/dist/effect/generated/client-error.js +3 -3
  19. package/dist/effect/generated/client.d.ts +38 -0
  20. package/dist/effect/generated/client.js +5 -5
  21. package/dist/effect/generated/index.js +8 -8
  22. package/dist/effect/index.js +12 -12
  23. package/dist/effect/rpc.js +4 -4
  24. package/dist/effect/service.js +6 -6
  25. package/dist/promise/client.js +11 -11
  26. package/dist/promise/generated/client-error.js +3 -3
  27. package/dist/promise/generated/client.js +4 -4
  28. package/dist/promise/generated/index.js +10 -10
  29. package/dist/promise/generated/types.d.ts +70 -2
  30. package/dist/promise/generated/types.js +1 -1
  31. package/dist/promise/index.js +13 -13
  32. package/dist/promise/rpc.js +2 -2
  33. package/dist/promise/service.js +6 -6
  34. package/dist/pty-handoff.js +1 -1
  35. package/dist/rpc-runtime.js +1 -1
  36. package/dist/service-contender.js +1 -1
  37. package/dist/service-probe.js +3 -3
  38. package/dist/service-timing.js +1 -1
  39. package/dist/service-version.js +1 -1
  40. package/dist/service.js +1 -1
  41. package/dist/shared-events.js +1 -1
  42. package/dist/solid/connection.js +1 -1
  43. package/dist/solid/data.js +9 -9
  44. package/dist/solid/index.js +12 -12
  45. package/dist/solid/pty.js +1 -1
  46. package/dist/solid/usage.js +1 -1
  47. package/package.json +4 -4
  48. package/dist/chunks/service-timing-sh38f3ps.js +0 -30
  49. /package/dist/chunks/{service-timing-6mptkzbc.js → service-probe-6mptkzbc.js} +0 -0
  50. /package/dist/chunks/{service-timing-8s2anffy.js → service-probe-8s2anffy.js} +0 -0
  51. /package/dist/chunks/{service-timing-9rqn6x4v.js → service-probe-9rqn6x4v.js} +0 -0
  52. /package/dist/chunks/{service-timing-ezt8t3fk.js → service-probe-ezt8t3fk.js} +0 -0
  53. /package/dist/chunks/{service-timing-gne7h7mq.js → service-probe-gne7h7mq.js} +0 -0
  54. /package/dist/chunks/{service-timing-m2eywc8w.js → service-probe-m2eywc8w.js} +0 -0
  55. /package/dist/chunks/{service-timing-qav6mfdz.js → service-probe-qav6mfdz.js} +0 -0
  56. /package/dist/chunks/{service-timing-sxt88q69.js → service-probe-sxt88q69.js} +0 -0
  57. /package/dist/chunks/{service-timing-ve4aws36.js → service-probe-ve4aws36.js} +0 -0
  58. /package/dist/chunks/{service-timing-vmytr4q8.js → service-probe-vmytr4q8.js} +0 -0
  59. /package/dist/chunks/{service-timing-vyas3vgt.js → service-probe-vyas3vgt.js} +0 -0
  60. /package/dist/chunks/{service-timing-xgnj2w4v.js → service-probe-xgnj2w4v.js} +0 -0
  61. /package/dist/chunks/{service-timing-ydhz1zrh.js → service-probe-ydhz1zrh.js} +0 -0
@@ -1,12 +1,12 @@
1
- import"../../chunks/service-timing-6mptkzbc.js";
1
+ import"../../chunks/service-probe-6mptkzbc.js";
2
2
  import {
3
- exports_client2
4
- } from "../../chunks/service-timing-npmvft7m.js";
3
+ exports_client4
4
+ } from "../../chunks/service-probe-f93mzqah.js";
5
5
  import {
6
- ClientError2
7
- } from "../../chunks/service-timing-y2etg5bs.js";
8
- import"../../chunks/service-timing-vmytr4q8.js";
6
+ ClientError3
7
+ } from "../../chunks/service-probe-7f0py9js.js";
8
+ import"../../chunks/service-probe-vmytr4q8.js";
9
9
  export {
10
- ClientError2 as ClientError,
11
- exports_client2 as OpenCode
10
+ ClientError3 as ClientError,
11
+ exports_client4 as OpenCode
12
12
  };
@@ -1,15 +1,15 @@
1
1
  import {
2
- ClientError2
3
- } from "../chunks/service-timing-y2etg5bs.js";
4
- import"../chunks/service-timing-vmytr4q8.js";
5
- import"../chunks/service-timing-npmvft7m.js";
6
- import"../chunks/service-timing-6mptkzbc.js";
7
- import"../chunks/service-timing-frbwqjmf.js";
8
- import"../chunks/service-timing-t1xa31vm.js";
9
- import"../chunks/service-timing-z6qdwcsf.js";
2
+ ClientError3
3
+ } from "../chunks/service-probe-7f0py9js.js";
4
+ import"../chunks/service-probe-vmytr4q8.js";
5
+ import"../chunks/service-probe-f93mzqah.js";
6
+ import"../chunks/service-probe-6mptkzbc.js";
7
+ import"../chunks/service-probe-frbwqjmf.js";
8
+ import"../chunks/service-probe-t1xa31vm.js";
9
+ import"../chunks/service-probe-mnyft54j.js";
10
10
  import {
11
- exports_client
12
- } from "../chunks/service-timing-hyba5qq1.js";
11
+ exports_client3
12
+ } from "../chunks/service-probe-bah0qqxw.js";
13
13
 
14
14
  // src/effect/index.ts
15
15
  import { Agent } from "@opencode/schema/agent";
@@ -43,7 +43,7 @@ import { PromptInput } from "@opencode/schema/prompt-input";
43
43
  export {
44
44
  AbsolutePath,
45
45
  Agent,
46
- ClientError2 as ClientError,
46
+ ClientError3 as ClientError,
47
47
  Command,
48
48
  Config,
49
49
  Credential,
@@ -54,7 +54,7 @@ export {
54
54
  Integration,
55
55
  Location,
56
56
  Model,
57
- exports_client as OpenCode,
57
+ exports_client3 as OpenCode,
58
58
  Permission,
59
59
  PermissionSaved,
60
60
  Project,
@@ -1,11 +1,11 @@
1
1
  import {
2
- make4,
2
+ make5,
3
3
  aborted2,
4
4
  exports_rpc
5
- } from "../chunks/service-timing-z6qdwcsf.js";
6
- import"../chunks/service-timing-t1xa31vm.js";
5
+ } from "../chunks/service-probe-mnyft54j.js";
6
+ import"../chunks/service-probe-t1xa31vm.js";
7
7
  export {
8
8
  exports_rpc as RpcClientRuntime,
9
9
  aborted2 as aborted,
10
- make4 as make
10
+ make5 as make
11
11
  };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2
4
- } from "../chunks/service-timing-ve4aws36.js";
4
+ } from "../chunks/service-probe-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/service-timing-xgnj2w4v.js";
8
+ } from "../chunks/service-probe-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/service-timing-sxt88q69.js";
11
+ } from "../chunks/service-probe-sxt88q69.js";
12
12
  import {
13
13
  prepare2,
14
14
  environment2,
15
15
  complete2,
16
16
  clear2
17
- } from "../chunks/service-timing-6vqag1xy.js";
17
+ } from "../chunks/service-probe-2wvmafzq.js";
18
18
  import {
19
19
  decide2,
20
20
  fallback2,
21
21
  same2,
22
22
  probeResult2,
23
23
  headers2
24
- } from "../chunks/service-timing-8ye1ye6f.js";
25
- import"../chunks/service-timing-qav6mfdz.js";
24
+ } from "../chunks/service-probe-2ny4vxct.js";
25
+ import"../chunks/service-probe-qav6mfdz.js";
26
26
 
27
27
  // src/effect/service.ts
28
28
  import { Effect, FileSystem, Option, Schedule, Schema } from "effect";
@@ -1,14 +1,14 @@
1
1
  import {
2
- make5,
3
- exports_client3
4
- } from "../chunks/service-timing-sh38f3ps.js";
5
- import"../chunks/service-timing-vyas3vgt.js";
6
- import"../chunks/service-timing-teb2xrcv.js";
7
- import"../chunks/service-timing-nwcpakzx.js";
8
- import"../chunks/service-timing-6vp15eh6.js";
9
- import"../chunks/service-timing-ezt8t3fk.js";
10
- import"../chunks/service-timing-frbwqjmf.js";
2
+ make2,
3
+ exports_client
4
+ } from "../chunks/service-probe-x61gkv37.js";
5
+ import"../chunks/service-probe-vyas3vgt.js";
6
+ import"../chunks/service-probe-6vp15eh6.js";
7
+ import"../chunks/service-probe-ezt8t3fk.js";
8
+ import"../chunks/service-probe-nv358xrg.js";
9
+ import"../chunks/service-probe-js54wxgp.js";
10
+ import"../chunks/service-probe-frbwqjmf.js";
11
11
  export {
12
- exports_client3 as OpenCode,
13
- make5 as make
12
+ exports_client as OpenCode,
13
+ make2 as make
14
14
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ClientError3
3
- } from "../../chunks/service-timing-nwcpakzx.js";
2
+ ClientError2
3
+ } from "../../chunks/service-probe-js54wxgp.js";
4
4
  export {
5
- ClientError3 as ClientError
5
+ ClientError2 as ClientError
6
6
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
- make6
3
- } from "../../chunks/service-timing-teb2xrcv.js";
4
- import"../../chunks/service-timing-nwcpakzx.js";
2
+ make3
3
+ } from "../../chunks/service-probe-nv358xrg.js";
4
+ import"../../chunks/service-probe-js54wxgp.js";
5
5
  export {
6
- make6 as make
6
+ make3 as make
7
7
  };
@@ -1,10 +1,4 @@
1
- import"../../chunks/service-timing-vyas3vgt.js";
2
- import {
3
- exports_client4
4
- } from "../../chunks/service-timing-teb2xrcv.js";
5
- import {
6
- ClientError3
7
- } from "../../chunks/service-timing-nwcpakzx.js";
1
+ import"../../chunks/service-probe-vyas3vgt.js";
8
2
  import {
9
3
  isInvalidRequestError2,
10
4
  isUnauthorizedError2,
@@ -40,10 +34,16 @@ import {
40
34
  isShellNotFoundError2,
41
35
  isWorktreeError2,
42
36
  isVcsInitNotSupportedError2
43
- } from "../../chunks/service-timing-ezt8t3fk.js";
37
+ } from "../../chunks/service-probe-ezt8t3fk.js";
38
+ import {
39
+ exports_client2
40
+ } from "../../chunks/service-probe-nv358xrg.js";
41
+ import {
42
+ ClientError2
43
+ } from "../../chunks/service-probe-js54wxgp.js";
44
44
  export {
45
- ClientError3 as ClientError,
46
- exports_client4 as OpenCode,
45
+ ClientError2 as ClientError,
46
+ exports_client2 as OpenCode,
47
47
  isAgentNotFoundError2 as isAgentNotFoundError,
48
48
  isCommandExecutionError2 as isCommandExecutionError,
49
49
  isCommandNotFoundError2 as isCommandNotFoundError,
@@ -1393,6 +1393,40 @@ export type SessionViewed = {
1393
1393
  idle: number;
1394
1394
  };
1395
1395
  };
1396
+ export type SessionArchived = {
1397
+ id: EventID;
1398
+ created: number;
1399
+ metadata?: {
1400
+ [x: string]: any;
1401
+ };
1402
+ type: "session.archived";
1403
+ durable: {
1404
+ aggregateID: string;
1405
+ seq: EventSeq;
1406
+ version: 1;
1407
+ };
1408
+ location?: LocationRef;
1409
+ data: {
1410
+ sessionID: SessionID;
1411
+ };
1412
+ };
1413
+ export type SessionUnarchived = {
1414
+ id: EventID;
1415
+ created: number;
1416
+ metadata?: {
1417
+ [x: string]: any;
1418
+ };
1419
+ type: "session.unarchived";
1420
+ durable: {
1421
+ aggregateID: string;
1422
+ seq: EventSeq;
1423
+ version: 1;
1424
+ };
1425
+ location?: LocationRef;
1426
+ data: {
1427
+ sessionID: SessionID;
1428
+ };
1429
+ };
1396
1430
  export type SessionDeleted = {
1397
1431
  id: EventID;
1398
1432
  created: number;
@@ -3441,7 +3475,7 @@ export type SessionMessagesResponse = {
3441
3475
  next?: string | null;
3442
3476
  };
3443
3477
  };
3444
- export type SessionEventDurable = SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionMetadataUpdated | SessionPermissions | SessionViewed | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepStreamed | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionUsageRecorded | SessionMessageContentUpdated;
3478
+ export type SessionEventDurable = SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionMetadataUpdated | SessionPermissions | SessionViewed | SessionArchived | SessionUnarchived | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepStreamed | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionUsageRecorded | SessionMessageContentUpdated;
3445
3479
  export type IntegrationInfo = {
3446
3480
  id: IntegrationID;
3447
3481
  name: string;
@@ -3451,7 +3485,7 @@ export type IntegrationInfo = {
3451
3485
  methods: Array<IntegrationMethod>;
3452
3486
  connections: Array<ConnectionInfo>;
3453
3487
  };
3454
- export type V2Event = LocationShutdown | ModelsDevRefreshed | CredentialUpdated | CredentialSwitched | IntegrationUpdated | ProviderUpdated | ModelUpdated | AgentUpdated | SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionMetadataUpdated | SessionPermissions | SessionViewed | SessionUsageUpdated | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepStreamed | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextDelta | SessionTextEnded | SessionReasoningStarted | SessionReasoningDelta | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionDelta | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | FilesystemChanged | ReferenceUpdated | PermissionAsked | PermissionReplied | PluginUpdated | ProjectUpdated | WorktreeUpdated | WorktreeResolved | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | PersistentPtyAdded | PersistentPtyRemoved | ShellCreated | ShellExited | ShellDeleted | FormCreated | FormReplied | FormCancelled | WebsearchUpdated | SessionStatusUpdated | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | V2EventRpc | V2EventServerConnected;
3488
+ export type V2Event = LocationShutdown | ModelsDevRefreshed | CredentialUpdated | CredentialSwitched | IntegrationUpdated | ProviderUpdated | ModelUpdated | AgentUpdated | SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionMetadataUpdated | SessionPermissions | SessionViewed | SessionArchived | SessionUnarchived | SessionUsageUpdated | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepStreamed | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextDelta | SessionTextEnded | SessionReasoningStarted | SessionReasoningDelta | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionDelta | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | FilesystemChanged | ReferenceUpdated | PermissionAsked | PermissionReplied | PluginUpdated | ProjectUpdated | WorktreeUpdated | WorktreeResolved | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | PersistentPtyAdded | PersistentPtyRemoved | ShellCreated | ShellExited | ShellDeleted | FormCreated | FormReplied | FormCancelled | WebsearchUpdated | SessionStatusUpdated | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | V2EventRpc | V2EventServerConnected;
3455
3489
  export type SessionLogItem = SessionEventDurable | EventLogSynced;
3456
3490
  export type InvalidRequestError = {
3457
3491
  readonly _tag: "InvalidRequestError";
@@ -3750,6 +3784,7 @@ export type SessionListInput = {
3750
3784
  readonly order?: "asc" | "desc" | undefined;
3751
3785
  readonly search?: string | undefined;
3752
3786
  readonly parentID?: string | null | undefined;
3787
+ readonly archived?: boolean | undefined;
3753
3788
  readonly directory?: string | undefined;
3754
3789
  readonly project?: string | undefined;
3755
3790
  readonly subpath?: string | undefined;
@@ -3760,6 +3795,7 @@ export type SessionListInput = {
3760
3795
  readonly order?: "asc" | "desc" | undefined;
3761
3796
  readonly search?: string | undefined;
3762
3797
  readonly parentID?: string | null | undefined;
3798
+ readonly archived?: boolean | undefined;
3763
3799
  readonly directory?: string | undefined;
3764
3800
  readonly project?: string | undefined;
3765
3801
  readonly subpath?: string | undefined;
@@ -3770,6 +3806,7 @@ export type SessionListInput = {
3770
3806
  readonly order?: "asc" | "desc" | undefined;
3771
3807
  readonly search?: string | undefined;
3772
3808
  readonly parentID?: string | null | undefined;
3809
+ readonly archived?: boolean | undefined;
3773
3810
  readonly directory?: string | undefined;
3774
3811
  readonly project?: string | undefined;
3775
3812
  readonly subpath?: string | undefined;
@@ -3780,16 +3817,29 @@ export type SessionListInput = {
3780
3817
  readonly order?: "asc" | "desc" | undefined;
3781
3818
  readonly search?: string | undefined;
3782
3819
  readonly parentID?: string | null | undefined;
3820
+ readonly archived?: boolean | undefined;
3783
3821
  readonly directory?: string | undefined;
3784
3822
  readonly project?: string | undefined;
3785
3823
  readonly subpath?: string | undefined;
3786
3824
  readonly cursor?: string | undefined;
3787
3825
  }["parentID"];
3826
+ readonly archived?: {
3827
+ readonly limit?: number | undefined;
3828
+ readonly order?: "asc" | "desc" | undefined;
3829
+ readonly search?: string | undefined;
3830
+ readonly parentID?: string | null | undefined;
3831
+ readonly archived?: boolean | undefined;
3832
+ readonly directory?: string | undefined;
3833
+ readonly project?: string | undefined;
3834
+ readonly subpath?: string | undefined;
3835
+ readonly cursor?: string | undefined;
3836
+ }["archived"];
3788
3837
  readonly directory?: {
3789
3838
  readonly limit?: number | undefined;
3790
3839
  readonly order?: "asc" | "desc" | undefined;
3791
3840
  readonly search?: string | undefined;
3792
3841
  readonly parentID?: string | null | undefined;
3842
+ readonly archived?: boolean | undefined;
3793
3843
  readonly directory?: string | undefined;
3794
3844
  readonly project?: string | undefined;
3795
3845
  readonly subpath?: string | undefined;
@@ -3800,6 +3850,7 @@ export type SessionListInput = {
3800
3850
  readonly order?: "asc" | "desc" | undefined;
3801
3851
  readonly search?: string | undefined;
3802
3852
  readonly parentID?: string | null | undefined;
3853
+ readonly archived?: boolean | undefined;
3803
3854
  readonly directory?: string | undefined;
3804
3855
  readonly project?: string | undefined;
3805
3856
  readonly subpath?: string | undefined;
@@ -3810,6 +3861,7 @@ export type SessionListInput = {
3810
3861
  readonly order?: "asc" | "desc" | undefined;
3811
3862
  readonly search?: string | undefined;
3812
3863
  readonly parentID?: string | null | undefined;
3864
+ readonly archived?: boolean | undefined;
3813
3865
  readonly directory?: string | undefined;
3814
3866
  readonly project?: string | undefined;
3815
3867
  readonly subpath?: string | undefined;
@@ -3820,6 +3872,7 @@ export type SessionListInput = {
3820
3872
  readonly order?: "asc" | "desc" | undefined;
3821
3873
  readonly search?: string | undefined;
3822
3874
  readonly parentID?: string | null | undefined;
3875
+ readonly archived?: boolean | undefined;
3823
3876
  readonly directory?: string | undefined;
3824
3877
  readonly project?: string | undefined;
3825
3878
  readonly subpath?: string | undefined;
@@ -5597,6 +5650,7 @@ export type SessionUpdateInput = {
5597
5650
  readonly resource: string;
5598
5651
  readonly effect: "allow" | "deny" | "ask";
5599
5652
  }> | undefined;
5653
+ readonly archived?: boolean | undefined;
5600
5654
  }["title"];
5601
5655
  readonly metadata?: {
5602
5656
  readonly title?: string | undefined;
@@ -5608,6 +5662,7 @@ export type SessionUpdateInput = {
5608
5662
  readonly resource: string;
5609
5663
  readonly effect: "allow" | "deny" | "ask";
5610
5664
  }> | undefined;
5665
+ readonly archived?: boolean | undefined;
5611
5666
  }["metadata"];
5612
5667
  readonly permissions?: {
5613
5668
  readonly title?: string | undefined;
@@ -5619,7 +5674,20 @@ export type SessionUpdateInput = {
5619
5674
  readonly resource: string;
5620
5675
  readonly effect: "allow" | "deny" | "ask";
5621
5676
  }> | undefined;
5677
+ readonly archived?: boolean | undefined;
5622
5678
  }["permissions"];
5679
+ readonly archived?: {
5680
+ readonly title?: string | undefined;
5681
+ readonly metadata?: {
5682
+ readonly [x: string]: JsonValue;
5683
+ } | undefined;
5684
+ readonly permissions?: ReadonlyArray<{
5685
+ readonly action: string;
5686
+ readonly resource: string;
5687
+ readonly effect: "allow" | "deny" | "ask";
5688
+ }> | undefined;
5689
+ readonly archived?: boolean | undefined;
5690
+ }["archived"];
5623
5691
  };
5624
5692
  export type SessionUpdateOutput = void;
5625
5693
  export type SessionMoveInput = {
@@ -33,7 +33,7 @@ import {
33
33
  isShellNotFoundError2,
34
34
  isWorktreeError2,
35
35
  isVcsInitNotSupportedError2
36
- } from "../../chunks/service-timing-ezt8t3fk.js";
36
+ } from "../../chunks/service-probe-ezt8t3fk.js";
37
37
  export {
38
38
  isAgentNotFoundError2 as isAgentNotFoundError,
39
39
  isCommandExecutionError2 as isCommandExecutionError,
@@ -1,13 +1,9 @@
1
- import"../chunks/service-timing-m2eywc8w.js";
1
+ import"../chunks/service-probe-m2eywc8w.js";
2
2
  import {
3
- exports_client3
4
- } from "../chunks/service-timing-sh38f3ps.js";
5
- import"../chunks/service-timing-vyas3vgt.js";
6
- import"../chunks/service-timing-teb2xrcv.js";
7
- import {
8
- ClientError3
9
- } from "../chunks/service-timing-nwcpakzx.js";
10
- import"../chunks/service-timing-6vp15eh6.js";
3
+ exports_client
4
+ } from "../chunks/service-probe-x61gkv37.js";
5
+ import"../chunks/service-probe-vyas3vgt.js";
6
+ import"../chunks/service-probe-6vp15eh6.js";
11
7
  import {
12
8
  isInvalidRequestError2,
13
9
  isUnauthorizedError2,
@@ -43,11 +39,15 @@ import {
43
39
  isShellNotFoundError2,
44
40
  isWorktreeError2,
45
41
  isVcsInitNotSupportedError2
46
- } from "../chunks/service-timing-ezt8t3fk.js";
47
- import"../chunks/service-timing-frbwqjmf.js";
42
+ } from "../chunks/service-probe-ezt8t3fk.js";
43
+ import"../chunks/service-probe-nv358xrg.js";
44
+ import {
45
+ ClientError2
46
+ } from "../chunks/service-probe-js54wxgp.js";
47
+ import"../chunks/service-probe-frbwqjmf.js";
48
48
  export {
49
- ClientError3 as ClientError,
50
- exports_client3 as OpenCode,
49
+ ClientError2 as ClientError,
50
+ exports_client as OpenCode,
51
51
  isAgentNotFoundError2 as isAgentNotFoundError,
52
52
  isCommandExecutionError2 as isCommandExecutionError,
53
53
  isCommandNotFoundError2 as isCommandNotFoundError,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  makeRpc2
3
- } from "../chunks/service-timing-6vp15eh6.js";
4
- import"../chunks/service-timing-ezt8t3fk.js";
3
+ } from "../chunks/service-probe-6vp15eh6.js";
4
+ import"../chunks/service-probe-ezt8t3fk.js";
5
5
  export {
6
6
  makeRpc2 as makeRpc
7
7
  };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2
4
- } from "../chunks/service-timing-ve4aws36.js";
4
+ } from "../chunks/service-probe-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/service-timing-xgnj2w4v.js";
8
+ } from "../chunks/service-probe-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/service-timing-sxt88q69.js";
11
+ } from "../chunks/service-probe-sxt88q69.js";
12
12
  import {
13
13
  prepare2,
14
14
  environment2,
15
15
  complete2,
16
16
  clear2
17
- } from "../chunks/service-timing-6vqag1xy.js";
17
+ } from "../chunks/service-probe-2wvmafzq.js";
18
18
  import {
19
19
  decide2,
20
20
  fallback2,
21
21
  same2,
22
22
  probeResult2,
23
23
  headers2
24
- } from "../chunks/service-timing-8ye1ye6f.js";
25
- import"../chunks/service-timing-qav6mfdz.js";
24
+ } from "../chunks/service-probe-2ny4vxct.js";
25
+ import"../chunks/service-probe-qav6mfdz.js";
26
26
 
27
27
  // src/promise/service.ts
28
28
  import { readFile, rm } from "node:fs/promises";
@@ -4,7 +4,7 @@ import {
4
4
  complete2,
5
5
  clear2,
6
6
  exports_pty_handoff
7
- } from "./chunks/service-timing-6vqag1xy.js";
7
+ } from "./chunks/service-probe-2wvmafzq.js";
8
8
  export {
9
9
  exports_pty_handoff as PtyHandoff,
10
10
  clear2 as clear,
@@ -4,7 +4,7 @@ import {
4
4
  event2,
5
5
  eventType2,
6
6
  exports_rpc_runtime
7
- } from "./chunks/service-timing-t1xa31vm.js";
7
+ } from "./chunks/service-probe-t1xa31vm.js";
8
8
  export {
9
9
  exports_rpc_runtime as RpcRuntime,
10
10
  event2 as event,
@@ -2,7 +2,7 @@ import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2,
4
4
  contenderFinished2
5
- } from "./chunks/service-timing-ve4aws36.js";
5
+ } from "./chunks/service-probe-ve4aws36.js";
6
6
  export {
7
7
  contenderFinished2 as contenderFinished,
8
8
  contenderPool2 as contenderPool,
@@ -4,9 +4,9 @@ import {
4
4
  same2,
5
5
  probeResult2,
6
6
  headers2
7
- } from "./chunks/service-timing-8ye1ye6f.js";
8
- import"./chunks/service-timing-xgnj2w4v.js";
9
- import"./chunks/service-timing-sxt88q69.js";
7
+ } from "./chunks/service-probe-2ny4vxct.js";
8
+ import"./chunks/service-probe-sxt88q69.js";
9
+ import"./chunks/service-probe-xgnj2w4v.js";
10
10
  export {
11
11
  decide2 as decide,
12
12
  fallback2 as fallback,
@@ -2,7 +2,7 @@ import {
2
2
  defaultEnsureTiming2,
3
3
  ensureTiming2,
4
4
  withEnsureTiming2
5
- } from "./chunks/service-timing-xgnj2w4v.js";
5
+ } from "./chunks/service-probe-xgnj2w4v.js";
6
6
  export {
7
7
  defaultEnsureTiming2 as defaultEnsureTiming,
8
8
  ensureTiming2 as ensureTiming,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  matchesVersion2
3
- } from "./chunks/service-timing-sxt88q69.js";
3
+ } from "./chunks/service-probe-sxt88q69.js";
4
4
  export {
5
5
  matchesVersion2 as matchesVersion
6
6
  };
package/dist/service.js CHANGED
@@ -1 +1 @@
1
- import"./chunks/service-timing-qav6mfdz.js";
1
+ import"./chunks/service-probe-qav6mfdz.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  make7,
3
3
  exports_shared_events
4
- } from "./chunks/service-timing-frbwqjmf.js";
4
+ } from "./chunks/service-probe-frbwqjmf.js";
5
5
  export {
6
6
  exports_shared_events as SharedEvents,
7
7
  make7 as make
@@ -2,7 +2,7 @@ import {
2
2
  defaultIdleTimeout2,
3
3
  foregroundIdleThreshold2,
4
4
  createClientConnection2
5
- } from "../chunks/service-timing-ydhz1zrh.js";
5
+ } from "../chunks/service-probe-ydhz1zrh.js";
6
6
  export {
7
7
  createClientConnection2 as createClientConnection,
8
8
  defaultIdleTimeout2 as defaultIdleTimeout,
@@ -2,15 +2,15 @@ import {
2
2
  settleMs2,
3
3
  locationKey2,
4
4
  createData2
5
- } from "../chunks/service-timing-pkgaqevf.js";
6
- import"../chunks/service-timing-m2eywc8w.js";
7
- import"../chunks/service-timing-sh38f3ps.js";
8
- import"../chunks/service-timing-vyas3vgt.js";
9
- import"../chunks/service-timing-teb2xrcv.js";
10
- import"../chunks/service-timing-nwcpakzx.js";
11
- import"../chunks/service-timing-6vp15eh6.js";
12
- import"../chunks/service-timing-ezt8t3fk.js";
13
- import"../chunks/service-timing-frbwqjmf.js";
5
+ } from "../chunks/service-probe-1hkhww1g.js";
6
+ import"../chunks/service-probe-m2eywc8w.js";
7
+ import"../chunks/service-probe-x61gkv37.js";
8
+ import"../chunks/service-probe-vyas3vgt.js";
9
+ import"../chunks/service-probe-6vp15eh6.js";
10
+ import"../chunks/service-probe-ezt8t3fk.js";
11
+ import"../chunks/service-probe-nv358xrg.js";
12
+ import"../chunks/service-probe-js54wxgp.js";
13
+ import"../chunks/service-probe-frbwqjmf.js";
14
14
  export {
15
15
  createData2 as createData,
16
16
  locationKey2 as locationKey,
@@ -1,28 +1,28 @@
1
- import"../chunks/service-timing-nwcpakzx.js";
2
- import"../chunks/service-timing-teb2xrcv.js";
3
- import"../chunks/service-timing-ezt8t3fk.js";
4
- import"../chunks/service-timing-vyas3vgt.js";
5
- import"../chunks/service-timing-frbwqjmf.js";
6
- import"../chunks/service-timing-6vp15eh6.js";
7
- import"../chunks/service-timing-sh38f3ps.js";
8
- import"../chunks/service-timing-m2eywc8w.js";
1
+ import"../chunks/service-probe-js54wxgp.js";
2
+ import"../chunks/service-probe-nv358xrg.js";
3
+ import"../chunks/service-probe-ezt8t3fk.js";
4
+ import"../chunks/service-probe-vyas3vgt.js";
5
+ import"../chunks/service-probe-frbwqjmf.js";
6
+ import"../chunks/service-probe-6vp15eh6.js";
7
+ import"../chunks/service-probe-x61gkv37.js";
8
+ import"../chunks/service-probe-m2eywc8w.js";
9
9
  import {
10
10
  settleMs2,
11
11
  locationKey2,
12
12
  createData2
13
- } from "../chunks/service-timing-pkgaqevf.js";
13
+ } from "../chunks/service-probe-1hkhww1g.js";
14
14
  import {
15
15
  defaultIdleTimeout2,
16
16
  foregroundIdleThreshold2,
17
17
  createClientConnection2
18
- } from "../chunks/service-timing-ydhz1zrh.js";
18
+ } from "../chunks/service-probe-ydhz1zrh.js";
19
19
  import {
20
20
  createPtyClient2,
21
21
  createPersistentPtyClient2
22
- } from "../chunks/service-timing-gne7h7mq.js";
22
+ } from "../chunks/service-probe-gne7h7mq.js";
23
23
  import {
24
24
  lastAssistantWithUsage2
25
- } from "../chunks/service-timing-8s2anffy.js";
25
+ } from "../chunks/service-probe-8s2anffy.js";
26
26
  export {
27
27
  createClientConnection2 as createClientConnection,
28
28
  createData2 as createData,
package/dist/solid/pty.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createPtyClient2,
3
3
  createPersistentPtyClient2
4
- } from "../chunks/service-timing-gne7h7mq.js";
4
+ } from "../chunks/service-probe-gne7h7mq.js";
5
5
  export {
6
6
  createPersistentPtyClient2 as createPersistentPtyClient,
7
7
  createPtyClient2 as createPtyClient
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  lastAssistantWithUsage2
3
- } from "../chunks/service-timing-8s2anffy.js";
3
+ } from "../chunks/service-probe-8s2anffy.js";
4
4
  export {
5
5
  lastAssistantWithUsage2 as lastAssistantWithUsage
6
6
  };