@opencode/client 0.0.0-dev-20484 → 0.0.0-dev-20485

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 (55) hide show
  1. package/dist/chunks/{contract-c74kxtaj.js → service-1y4a697q.js} +1 -1
  2. package/dist/chunks/{contract-3c62vwd3.js → service-21favj1f.js} +5 -5
  3. package/dist/chunks/{contract-ajnk5b9f.js → service-7yt87z36.js} +3 -3
  4. package/dist/chunks/{contract-10k8qxyc.js → service-e5ea35j7.js} +1 -1
  5. package/dist/chunks/{contract-frbwqjmf.js → service-frbwqjmf.js} +1 -1
  6. package/dist/chunks/{contract-bqmmtv3d.js → service-nyqggzs9.js} +53 -47
  7. package/dist/chunks/{contract-bm1v05te.js → service-sc82j06k.js} +4 -4
  8. package/dist/chunks/{contract-t1xa31vm.js → service-t1xa31vm.js} +1 -1
  9. package/dist/chunks/{contract-wyrqvvk9.js → service-vt9jbch8.js} +2 -1
  10. package/dist/chunks/{contract-vv6ja3wh.js → service-vwd0s5cv.js} +1 -1
  11. package/dist/chunks/{contract-z6qdwcsf.js → service-z6qdwcsf.js} +2 -2
  12. package/dist/contract.js +1 -1
  13. package/dist/effect/client.d.ts +93 -93
  14. package/dist/effect/client.js +8 -8
  15. package/dist/effect/generated/client-error.js +1 -1
  16. package/dist/effect/generated/client.d.ts +92 -92
  17. package/dist/effect/generated/client.js +3 -3
  18. package/dist/effect/generated/index.js +4 -4
  19. package/dist/effect/index.js +8 -8
  20. package/dist/effect/rpc.js +2 -2
  21. package/dist/effect/service.js +5 -5
  22. package/dist/promise/client.js +7 -7
  23. package/dist/promise/generated/client-error.js +1 -1
  24. package/dist/promise/generated/client.js +2 -2
  25. package/dist/promise/generated/index.js +6 -4
  26. package/dist/promise/generated/types.d.ts +8 -0
  27. package/dist/promise/generated/types.js +3 -1
  28. package/dist/promise/index.js +10 -8
  29. package/dist/promise/rpc.js +2 -2
  30. package/dist/promise/service.js +5 -5
  31. package/dist/pty-handoff.js +1 -1
  32. package/dist/rpc-runtime.js +1 -1
  33. package/dist/service-contender.js +1 -1
  34. package/dist/service-timing.js +1 -1
  35. package/dist/service-version.js +1 -1
  36. package/dist/service.js +1 -1
  37. package/dist/shared-events.js +1 -1
  38. package/dist/solid/connection.js +1 -1
  39. package/dist/solid/data.js +9 -9
  40. package/dist/solid/index.js +11 -11
  41. package/dist/solid/pty.js +1 -1
  42. package/package.json +4 -4
  43. /package/dist/chunks/{contract-6mptkzbc.js → service-6mptkzbc.js} +0 -0
  44. /package/dist/chunks/{contract-9rqn6x4v.js → service-9rqn6x4v.js} +0 -0
  45. /package/dist/chunks/{contract-gne7h7mq.js → service-gne7h7mq.js} +0 -0
  46. /package/dist/chunks/{contract-m2eywc8w.js → service-m2eywc8w.js} +0 -0
  47. /package/dist/chunks/{contract-nwcpakzx.js → service-nwcpakzx.js} +0 -0
  48. /package/dist/chunks/{contract-qav6mfdz.js → service-qav6mfdz.js} +0 -0
  49. /package/dist/chunks/{contract-sxt88q69.js → service-sxt88q69.js} +0 -0
  50. /package/dist/chunks/{contract-txckps9j.js → service-txckps9j.js} +0 -0
  51. /package/dist/chunks/{contract-vmytr4q8.js → service-vmytr4q8.js} +0 -0
  52. /package/dist/chunks/{contract-vyas3vgt.js → service-vyas3vgt.js} +0 -0
  53. /package/dist/chunks/{contract-xgnj2w4v.js → service-xgnj2w4v.js} +0 -0
  54. /package/dist/chunks/{contract-y2etg5bs.js → service-y2etg5bs.js} +0 -0
  55. /package/dist/chunks/{contract-ydhz1zrh.js → service-ydhz1zrh.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isRpcError2,
3
3
  isRpcInternalError2
4
- } from "./contract-wyrqvvk9.js";
4
+ } from "./service-vt9jbch8.js";
5
5
 
6
6
  // src/promise/rpc.ts
7
7
  function makeRpc2(raw, events) {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  make7
3
- } from "./contract-frbwqjmf.js";
3
+ } from "./service-frbwqjmf.js";
4
4
  import {
5
5
  ClientError2
6
- } from "./contract-y2etg5bs.js";
6
+ } from "./service-y2etg5bs.js";
7
7
  import {
8
8
  make3
9
- } from "./contract-ajnk5b9f.js";
9
+ } from "./service-7yt87z36.js";
10
10
  import {
11
11
  make4,
12
12
  aborted2
13
- } from "./contract-z6qdwcsf.js";
13
+ } from "./service-z6qdwcsf.js";
14
14
  import {
15
15
  __export
16
- } from "./contract-9rqn6x4v.js";
16
+ } from "./service-9rqn6x4v.js";
17
17
 
18
18
  // src/effect/client.ts
19
19
  var exports_client = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ClientApi2
3
- } from "./contract-vmytr4q8.js";
3
+ } from "./service-vmytr4q8.js";
4
4
  import {
5
5
  ClientError2
6
- } from "./contract-y2etg5bs.js";
6
+ } from "./service-y2etg5bs.js";
7
7
  import {
8
8
  __export
9
- } from "./contract-9rqn6x4v.js";
9
+ } from "./service-9rqn6x4v.js";
10
10
 
11
11
  // src/effect/generated/client.ts
12
12
  var exports_client2 = {};
@@ -2,7 +2,7 @@ import {
2
2
  isFormNotFoundError2,
3
3
  isFormAlreadySettledError2,
4
4
  isPermissionNotFoundError2
5
- } from "./contract-wyrqvvk9.js";
5
+ } from "./service-vt9jbch8.js";
6
6
 
7
7
  // src/solid/data.ts
8
8
  import { Worktree } from "@opencode/schema/worktree";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./contract-9rqn6x4v.js";
3
+ } from "./service-9rqn6x4v.js";
4
4
 
5
5
  // src/shared-events.ts
6
6
  var exports_shared_events = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ClientError3
3
- } from "./contract-nwcpakzx.js";
3
+ } from "./service-nwcpakzx.js";
4
4
  import {
5
5
  __export
6
- } from "./contract-9rqn6x4v.js";
6
+ } from "./service-9rqn6x4v.js";
7
7
 
8
8
  // src/promise/generated/client.ts
9
9
  var exports_client4 = {};
@@ -160,7 +160,7 @@ function make6(options) {
160
160
  path: `/api/location`,
161
161
  query: { location: input?.["location"] },
162
162
  successStatus: 200,
163
- declaredStatuses: [400, 401],
163
+ declaredStatuses: [400, 401, 404],
164
164
  empty: false
165
165
  }, requestOptions),
166
166
  reload: (requestOptions) => request({
@@ -177,7 +177,7 @@ function make6(options) {
177
177
  path: `/api/agent`,
178
178
  query: { location: input?.["location"] },
179
179
  successStatus: 200,
180
- declaredStatuses: [400, 401],
180
+ declaredStatuses: [400, 401, 404],
181
181
  empty: false
182
182
  }, requestOptions),
183
183
  get: (input, requestOptions) => request({
@@ -195,7 +195,7 @@ function make6(options) {
195
195
  path: `/api/plugin`,
196
196
  query: { location: input?.["location"] },
197
197
  successStatus: 200,
198
- declaredStatuses: [400, 401],
198
+ declaredStatuses: [400, 401, 404],
199
199
  empty: false
200
200
  }, requestOptions),
201
201
  check: (input, requestOptions) => request({
@@ -204,7 +204,7 @@ function make6(options) {
204
204
  query: { location: input?.["location"] },
205
205
  body: { target: input?.["target"] },
206
206
  successStatus: 200,
207
- declaredStatuses: [400, 401],
207
+ declaredStatuses: [400, 401, 404],
208
208
  empty: false
209
209
  }, requestOptions),
210
210
  update: (input, requestOptions) => request({
@@ -213,7 +213,7 @@ function make6(options) {
213
213
  query: { location: input["location"] },
214
214
  body: { targets: input["targets"] },
215
215
  successStatus: 204,
216
- declaredStatuses: [400, 401, 503],
216
+ declaredStatuses: [400, 401, 404, 503],
217
217
  empty: true
218
218
  }, requestOptions)
219
219
  },
@@ -623,7 +623,7 @@ function make6(options) {
623
623
  path: `/api/model`,
624
624
  query: { location: input?.["location"] },
625
625
  successStatus: 200,
626
- declaredStatuses: [400, 401, 503],
626
+ declaredStatuses: [400, 401, 404, 503],
627
627
  empty: false
628
628
  }, requestOptions),
629
629
  default: (input, requestOptions) => request({
@@ -631,7 +631,7 @@ function make6(options) {
631
631
  path: `/api/model/default`,
632
632
  query: { location: input?.["location"] },
633
633
  successStatus: 200,
634
- declaredStatuses: [400, 401, 503],
634
+ declaredStatuses: [400, 401, 404, 503],
635
635
  empty: false
636
636
  }, requestOptions)
637
637
  },
@@ -641,7 +641,7 @@ function make6(options) {
641
641
  path: `/api/experimental/generate`,
642
642
  body: { prompt: input["prompt"], model: input["model"] },
643
643
  successStatus: 200,
644
- declaredStatuses: [400, 401, 503],
644
+ declaredStatuses: [400, 401, 404, 503],
645
645
  empty: false
646
646
  }, requestOptions).then((value) => value.data)
647
647
  },
@@ -651,7 +651,7 @@ function make6(options) {
651
651
  path: `/api/provider`,
652
652
  query: { location: input?.["location"] },
653
653
  successStatus: 200,
654
- declaredStatuses: [400, 401, 503],
654
+ declaredStatuses: [400, 401, 404, 503],
655
655
  empty: false
656
656
  }, requestOptions),
657
657
  get: (input, requestOptions) => request({
@@ -669,7 +669,7 @@ function make6(options) {
669
669
  path: `/api/integration`,
670
670
  query: { location: input?.["location"] },
671
671
  successStatus: 200,
672
- declaredStatuses: [400, 401],
672
+ declaredStatuses: [400, 401, 404],
673
673
  empty: false
674
674
  }, requestOptions),
675
675
  get: (input, requestOptions) => request({
@@ -687,7 +687,7 @@ function make6(options) {
687
687
  query: { location: input["location"] },
688
688
  body: { url: input["url"] },
689
689
  successStatus: 204,
690
- declaredStatuses: [400, 401],
690
+ declaredStatuses: [400, 401, 404],
691
691
  empty: true
692
692
  }, requestOptions)
693
693
  },
@@ -709,7 +709,7 @@ function make6(options) {
709
709
  query: { location: input["location"] },
710
710
  body: { methodID: input["methodID"], answer: input["answer"], label: input["label"] },
711
711
  successStatus: 200,
712
- declaredStatuses: [400, 401],
712
+ declaredStatuses: [400, 401, 404],
713
713
  empty: false
714
714
  }, requestOptions),
715
715
  status: (input, requestOptions) => request({
@@ -734,7 +734,7 @@ function make6(options) {
734
734
  path: `/api/integration/${encodeURIComponent(input.integrationID)}/connect/oauth/${encodeURIComponent(input.attemptID)}`,
735
735
  query: { location: input["location"] },
736
736
  successStatus: 204,
737
- declaredStatuses: [400, 401],
737
+ declaredStatuses: [400, 401, 404],
738
738
  empty: true
739
739
  }, requestOptions)
740
740
  },
@@ -761,7 +761,7 @@ function make6(options) {
761
761
  path: `/api/integration/${encodeURIComponent(input.integrationID)}/connect/command/${encodeURIComponent(input.attemptID)}`,
762
762
  query: { location: input["location"] },
763
763
  successStatus: 204,
764
- declaredStatuses: [400, 401],
764
+ declaredStatuses: [400, 401, 404],
765
765
  empty: true
766
766
  }, requestOptions)
767
767
  }
@@ -772,7 +772,7 @@ function make6(options) {
772
772
  path: `/api/mcp`,
773
773
  query: { location: input?.["location"] },
774
774
  successStatus: 200,
775
- declaredStatuses: [400, 401],
775
+ declaredStatuses: [400, 401, 404],
776
776
  empty: false
777
777
  }, requestOptions),
778
778
  add: (input, requestOptions) => request({
@@ -781,7 +781,7 @@ function make6(options) {
781
781
  query: { location: input["location"] },
782
782
  body: { config: input["config"] },
783
783
  successStatus: 204,
784
- declaredStatuses: [400, 401],
784
+ declaredStatuses: [400, 401, 404],
785
785
  empty: true
786
786
  }, requestOptions),
787
787
  remove: (input, requestOptions) => request({
@@ -814,7 +814,7 @@ function make6(options) {
814
814
  path: `/api/mcp/resource`,
815
815
  query: { location: input?.["location"] },
816
816
  successStatus: 200,
817
- declaredStatuses: [400, 401],
817
+ declaredStatuses: [400, 401, 404],
818
818
  empty: false
819
819
  }, requestOptions)
820
820
  }
@@ -859,7 +859,7 @@ function make6(options) {
859
859
  }, requestOptions)
860
860
  },
861
861
  project: {
862
- list: (requestOptions) => request({ method: "GET", path: `/api/project`, successStatus: 200, declaredStatuses: [400, 401], empty: false }, requestOptions),
862
+ list: (requestOptions) => request({ method: "GET", path: `/api/project`, successStatus: 200, declaredStatuses: [400, 401, 404], empty: false }, requestOptions),
863
863
  update: (input, requestOptions) => request({
864
864
  method: "PATCH",
865
865
  path: `/api/project/${encodeURIComponent(input.projectID)}`,
@@ -880,7 +880,7 @@ function make6(options) {
880
880
  path: `/api/form`,
881
881
  query: { location: input?.["location"] },
882
882
  successStatus: 200,
883
- declaredStatuses: [400, 401],
883
+ declaredStatuses: [400, 401, 404],
884
884
  empty: false
885
885
  }, requestOptions)
886
886
  },
@@ -891,7 +891,7 @@ function make6(options) {
891
891
  path: `/api/permission/request`,
892
892
  query: { location: input?.["location"] },
893
893
  successStatus: 200,
894
- declaredStatuses: [400, 401],
894
+ declaredStatuses: [400, 401, 404],
895
895
  empty: false
896
896
  }, requestOptions)
897
897
  },
@@ -901,14 +901,14 @@ function make6(options) {
901
901
  path: `/api/permission/saved`,
902
902
  query: { projectID: input?.["projectID"] },
903
903
  successStatus: 200,
904
- declaredStatuses: [400, 401],
904
+ declaredStatuses: [400, 401, 404],
905
905
  empty: false
906
906
  }, requestOptions).then((value) => value.data),
907
907
  remove: (input, requestOptions) => request({
908
908
  method: "DELETE",
909
909
  path: `/api/permission/saved/${encodeURIComponent(input.id)}`,
910
910
  successStatus: 204,
911
- declaredStatuses: [400, 401],
911
+ declaredStatuses: [400, 401, 404],
912
912
  empty: true
913
913
  }, requestOptions)
914
914
  },
@@ -966,7 +966,7 @@ function make6(options) {
966
966
  path: `/api/fs/list`,
967
967
  query: { location: input?.["location"], path: input?.["path"] },
968
968
  successStatus: 200,
969
- declaredStatuses: [400, 401],
969
+ declaredStatuses: [400, 401, 404],
970
970
  empty: false
971
971
  }, requestOptions),
972
972
  find: (input, requestOptions) => request({
@@ -974,7 +974,7 @@ function make6(options) {
974
974
  path: `/api/fs/find`,
975
975
  query: { location: input["location"], query: input["query"], type: input["type"], limit: input["limit"] },
976
976
  successStatus: 200,
977
- declaredStatuses: [400, 401],
977
+ declaredStatuses: [400, 401, 404],
978
978
  empty: false
979
979
  }, requestOptions),
980
980
  write: (input, requestOptions) => request({
@@ -983,7 +983,7 @@ function make6(options) {
983
983
  query: { location: input["location"], path: input["path"] },
984
984
  body: input["payload"],
985
985
  successStatus: 200,
986
- declaredStatuses: [400, 401],
986
+ declaredStatuses: [400, 401, 404],
987
987
  empty: false,
988
988
  binaryBody: true
989
989
  }, requestOptions)
@@ -994,7 +994,7 @@ function make6(options) {
994
994
  path: `/api/command`,
995
995
  query: { location: input?.["location"] },
996
996
  successStatus: 200,
997
- declaredStatuses: [400, 401],
997
+ declaredStatuses: [400, 401, 404],
998
998
  empty: false
999
999
  }, requestOptions)
1000
1000
  },
@@ -1004,7 +1004,7 @@ function make6(options) {
1004
1004
  path: `/api/skill`,
1005
1005
  query: { location: input?.["location"] },
1006
1006
  successStatus: 200,
1007
- declaredStatuses: [400, 401],
1007
+ declaredStatuses: [400, 401, 404],
1008
1008
  empty: false
1009
1009
  }, requestOptions)
1010
1010
  },
@@ -1015,7 +1015,7 @@ function make6(options) {
1015
1015
  query: { location: input["location"] },
1016
1016
  body: { input: input["input"] },
1017
1017
  successStatus: 200,
1018
- declaredStatuses: [400, 401, 500],
1018
+ declaredStatuses: [400, 401, 404, 500],
1019
1019
  empty: false
1020
1020
  }, requestOptions)
1021
1021
  },
@@ -1028,7 +1028,7 @@ function make6(options) {
1028
1028
  path: `/api/pty`,
1029
1029
  query: { location: input?.["location"] },
1030
1030
  successStatus: 200,
1031
- declaredStatuses: [400, 401],
1031
+ declaredStatuses: [400, 401, 404],
1032
1032
  empty: false
1033
1033
  }, requestOptions),
1034
1034
  create: (input, requestOptions) => request({
@@ -1043,7 +1043,7 @@ function make6(options) {
1043
1043
  env: input?.["env"]
1044
1044
  },
1045
1045
  successStatus: 200,
1046
- declaredStatuses: [400, 401],
1046
+ declaredStatuses: [400, 401, 404],
1047
1047
  empty: false
1048
1048
  }, requestOptions),
1049
1049
  get: (input, requestOptions) => request({
@@ -1174,7 +1174,7 @@ function make6(options) {
1174
1174
  path: `/api/shell`,
1175
1175
  query: { location: input?.["location"] },
1176
1176
  successStatus: 200,
1177
- declaredStatuses: [400, 401],
1177
+ declaredStatuses: [400, 401, 404],
1178
1178
  empty: false
1179
1179
  }, requestOptions),
1180
1180
  create: (input, requestOptions) => request({
@@ -1188,7 +1188,7 @@ function make6(options) {
1188
1188
  metadata: input["metadata"]
1189
1189
  },
1190
1190
  successStatus: 200,
1191
- declaredStatuses: [400, 401],
1191
+ declaredStatuses: [400, 401, 404],
1192
1192
  empty: false
1193
1193
  }, requestOptions),
1194
1194
  get: (input, requestOptions) => request({
@@ -1212,7 +1212,7 @@ function make6(options) {
1212
1212
  path: `/api/shell/${encodeURIComponent(input.id)}`,
1213
1213
  query: { location: input["location"] },
1214
1214
  successStatus: 204,
1215
- declaredStatuses: [400, 401],
1215
+ declaredStatuses: [400, 401, 404],
1216
1216
  empty: true
1217
1217
  }, requestOptions)
1218
1218
  },
@@ -1222,7 +1222,7 @@ function make6(options) {
1222
1222
  path: `/api/reference`,
1223
1223
  query: { location: input?.["location"] },
1224
1224
  successStatus: 200,
1225
- declaredStatuses: [400, 401],
1225
+ declaredStatuses: [400, 401, 404],
1226
1226
  empty: false
1227
1227
  }, requestOptions)
1228
1228
  },
@@ -1272,7 +1272,7 @@ function make6(options) {
1272
1272
  path: `/api/vcs/init`,
1273
1273
  query: { location: input?.["location"], provider: input?.["provider"] },
1274
1274
  successStatus: 204,
1275
- declaredStatuses: [400, 401, 409, 501, 503],
1275
+ declaredStatuses: [400, 401, 404, 409, 501, 503],
1276
1276
  empty: true
1277
1277
  }, requestOptions),
1278
1278
  get: (input, requestOptions) => request({
@@ -1280,7 +1280,7 @@ function make6(options) {
1280
1280
  path: `/api/vcs`,
1281
1281
  query: { location: input?.["location"] },
1282
1282
  successStatus: 200,
1283
- declaredStatuses: [400, 401],
1283
+ declaredStatuses: [400, 401, 404],
1284
1284
  empty: false
1285
1285
  }, requestOptions),
1286
1286
  base: (input, requestOptions) => request({
@@ -1288,7 +1288,7 @@ function make6(options) {
1288
1288
  path: `/api/vcs/base`,
1289
1289
  query: { location: input?.["location"] },
1290
1290
  successStatus: 200,
1291
- declaredStatuses: [400, 401, 503],
1291
+ declaredStatuses: [400, 401, 404, 503],
1292
1292
  empty: false
1293
1293
  }, requestOptions),
1294
1294
  status: (input, requestOptions) => request({
@@ -1296,7 +1296,7 @@ function make6(options) {
1296
1296
  path: `/api/vcs/status`,
1297
1297
  query: { location: input?.["location"] },
1298
1298
  successStatus: 200,
1299
- declaredStatuses: [400, 401],
1299
+ declaredStatuses: [400, 401, 404],
1300
1300
  empty: false
1301
1301
  }, requestOptions),
1302
1302
  branch: {
@@ -1305,7 +1305,7 @@ function make6(options) {
1305
1305
  path: `/api/vcs/branch`,
1306
1306
  query: { location: input?.["location"], search: input?.["search"], limit: input?.["limit"] },
1307
1307
  successStatus: 200,
1308
- declaredStatuses: [400, 401],
1308
+ declaredStatuses: [400, 401, 404],
1309
1309
  empty: false
1310
1310
  }, requestOptions)
1311
1311
  },
@@ -1314,7 +1314,7 @@ function make6(options) {
1314
1314
  path: `/api/vcs/diff`,
1315
1315
  query: { location: input["location"], mode: input["mode"], base: input["base"], context: input["context"] },
1316
1316
  successStatus: 200,
1317
- declaredStatuses: [400, 401, 503],
1317
+ declaredStatuses: [400, 401, 404, 503],
1318
1318
  empty: false
1319
1319
  }, requestOptions)
1320
1320
  },
@@ -1354,7 +1354,7 @@ function make6(options) {
1354
1354
  path: `/api/websearch/provider`,
1355
1355
  query: { location: input?.["location"] },
1356
1356
  successStatus: 200,
1357
- declaredStatuses: [400, 401, 503],
1357
+ declaredStatuses: [400, 401, 404, 503],
1358
1358
  empty: false
1359
1359
  }, requestOptions),
1360
1360
  query: (input, requestOptions) => request({
@@ -1363,7 +1363,7 @@ function make6(options) {
1363
1363
  query: { location: input["location"] },
1364
1364
  body: { query: input["query"], providerID: input["providerID"] },
1365
1365
  successStatus: 200,
1366
- declaredStatuses: [400, 401, 503],
1366
+ declaredStatuses: [400, 401, 404, 503],
1367
1367
  empty: false
1368
1368
  }, requestOptions)
1369
1369
  },
@@ -1373,16 +1373,22 @@ function make6(options) {
1373
1373
  path: `/api/config`,
1374
1374
  query: { location: input?.["location"] },
1375
1375
  successStatus: 200,
1376
- declaredStatuses: [400, 401],
1376
+ declaredStatuses: [400, 401, 404],
1377
+ empty: false
1378
+ }, requestOptions),
1379
+ shells: (requestOptions) => request({
1380
+ method: "GET",
1381
+ path: `/api/config/shell`,
1382
+ successStatus: 200,
1383
+ declaredStatuses: [400, 401, 404],
1377
1384
  empty: false
1378
1385
  }, requestOptions),
1379
- shells: (requestOptions) => request({ method: "GET", path: `/api/config/shell`, successStatus: 200, declaredStatuses: [400, 401], empty: false }, requestOptions),
1380
1386
  update: (input, requestOptions) => request({
1381
1387
  method: "PATCH",
1382
1388
  path: `/api/experimental/config`,
1383
1389
  body: { shell: input["shell"] },
1384
1390
  successStatus: 204,
1385
- declaredStatuses: [400, 401],
1391
+ declaredStatuses: [400, 401, 404],
1386
1392
  empty: true
1387
1393
  }, requestOptions)
1388
1394
  }
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  make7
3
- } from "./contract-frbwqjmf.js";
3
+ } from "./service-frbwqjmf.js";
4
4
  import {
5
5
  make6
6
- } from "./contract-bqmmtv3d.js";
6
+ } from "./service-nyqggzs9.js";
7
7
  import {
8
8
  makeRpc2
9
- } from "./contract-c74kxtaj.js";
9
+ } from "./service-1y4a697q.js";
10
10
  import {
11
11
  __export
12
- } from "./contract-9rqn6x4v.js";
12
+ } from "./service-9rqn6x4v.js";
13
13
 
14
14
  // src/promise/client.ts
15
15
  var exports_client3 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./contract-9rqn6x4v.js";
3
+ } from "./service-9rqn6x4v.js";
4
4
 
5
5
  // src/rpc-runtime.ts
6
6
  var exports_rpc_runtime = {};
@@ -1,6 +1,7 @@
1
1
  // src/promise/generated/types.ts
2
2
  var isInvalidRequestError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "InvalidRequestError";
3
3
  var isUnauthorizedError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "UnauthorizedError";
4
+ var isLocationNotFoundError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "LocationNotFoundError";
4
5
  var isServiceUnavailableError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "ServiceUnavailableError";
5
6
  var isAgentNotFoundError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "AgentNotFoundError";
6
7
  var isInvalidCursorError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "InvalidCursorError";
@@ -32,4 +33,4 @@ var isShellNotFoundError2 = (value) => typeof value === "object" && value !== nu
32
33
  var isWorktreeError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "WorktreeError";
33
34
  var isVcsInitNotSupportedError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "VcsInitNotSupportedError";
34
35
 
35
- export { isInvalidRequestError2, isUnauthorizedError2, isServiceUnavailableError2, isAgentNotFoundError2, isInvalidCursorError2, isSessionNotFoundError2, isConflictError2, isUnknownError2, isMessageNotFoundError2, isCommandNotFoundError2, isCommandExecutionError2, isSkillNotFoundError2, isSessionBusyError2, isInstructionEntryValueTooLargeError2, isFormNotFoundError2, isFormInvalidAnswerError2, isFormAlreadySettledError2, isProviderNotFoundError2, isIntegrationNotFoundError2, isIntegrationAttemptNotFoundError2, isIntegrationMethodNotFoundError2, isMcpServerNotFoundError2, isProjectNotFoundError2, isPermissionNotFoundError2, isFileNotFoundError2, isRpcError2, isRpcInternalError2, isPtyNotFoundError2, isForbiddenError2, isShellNotFoundError2, isWorktreeError2, isVcsInitNotSupportedError2 };
36
+ export { isInvalidRequestError2, isUnauthorizedError2, isLocationNotFoundError2, isServiceUnavailableError2, isAgentNotFoundError2, isInvalidCursorError2, isSessionNotFoundError2, isConflictError2, isUnknownError2, isMessageNotFoundError2, isCommandNotFoundError2, isCommandExecutionError2, isSkillNotFoundError2, isSessionBusyError2, isInstructionEntryValueTooLargeError2, isFormNotFoundError2, isFormInvalidAnswerError2, isFormAlreadySettledError2, isProviderNotFoundError2, isIntegrationNotFoundError2, isIntegrationAttemptNotFoundError2, isIntegrationMethodNotFoundError2, isMcpServerNotFoundError2, isProjectNotFoundError2, isPermissionNotFoundError2, isFileNotFoundError2, isRpcError2, isRpcInternalError2, isPtyNotFoundError2, isForbiddenError2, isShellNotFoundError2, isWorktreeError2, isVcsInitNotSupportedError2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./contract-9rqn6x4v.js";
3
+ } from "./service-9rqn6x4v.js";
4
4
 
5
5
  // src/pty-handoff.ts
6
6
  var exports_pty_handoff = {};
@@ -3,10 +3,10 @@ import {
3
3
  readError2,
4
4
  event2,
5
5
  eventType2
6
- } from "./contract-t1xa31vm.js";
6
+ } from "./service-t1xa31vm.js";
7
7
  import {
8
8
  __export
9
- } from "./contract-9rqn6x4v.js";
9
+ } from "./service-9rqn6x4v.js";
10
10
 
11
11
  // src/effect/rpc.ts
12
12
  var exports_rpc = {};
package/dist/contract.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  effectOmitEndpoints2,
4
4
  groupNames2,
5
5
  promiseOmitEndpoints2
6
- } from "./chunks/contract-vmytr4q8.js";
6
+ } from "./chunks/service-vmytr4q8.js";
7
7
  export {
8
8
  ClientApi2 as ClientApi,
9
9
  effectOmitEndpoints2 as effectOmitEndpoints,