@opencode/client 0.0.0-dev-20349 → 0.0.0-dev-20352
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/chunks/{service-contender-1tbj6z39.js → service-1tbj6z39.js} +1 -1
- package/dist/chunks/{service-contender-9ahtzzvh.js → service-2rh17yfn.js} +4 -4
- package/dist/chunks/{service-contender-0dw6qe14.js → service-32fezavz.js} +1 -1
- package/dist/chunks/{service-contender-5ny5bbnj.js → service-f67yw0qh.js} +7 -6
- package/dist/chunks/{service-contender-frbwqjmf.js → service-frbwqjmf.js} +1 -1
- package/dist/chunks/{service-contender-h11j9btw.js → service-h11j9btw.js} +1 -1
- package/dist/chunks/{service-contender-52hjhr4t.js → service-pqhj4h7y.js} +9 -9
- package/dist/chunks/{service-contender-t1xa31vm.js → service-t1xa31vm.js} +1 -1
- package/dist/chunks/{service-contender-cpyzyyfs.js → service-tqm1wwmf.js} +4 -3
- package/dist/chunks/{service-contender-mnyft54j.js → service-w1w809zr.js} +5 -5
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +1 -0
- package/dist/effect/client.d.ts +1 -1
- package/dist/effect/client.js +8 -8
- package/dist/effect/generated/client-error.js +1 -1
- package/dist/effect/generated/client.d.ts +1 -1
- package/dist/effect/generated/client.js +5 -5
- package/dist/effect/generated/index.js +4 -4
- package/dist/effect/index.js +8 -8
- package/dist/effect/rpc.js +4 -4
- package/dist/effect/service.js +5 -5
- package/dist/promise/client.js +7 -7
- package/dist/promise/generated/client-error.js +1 -1
- package/dist/promise/generated/client.js +2 -2
- package/dist/promise/generated/index.js +8 -8
- package/dist/promise/generated/types.d.ts +29 -0
- package/dist/promise/generated/types.js +1 -1
- package/dist/promise/index.js +10 -10
- package/dist/promise/rpc.js +2 -2
- package/dist/promise/service.js +5 -5
- package/dist/pty-handoff.js +1 -1
- package/dist/rpc-runtime.js +1 -1
- package/dist/service-contender.js +1 -1
- package/dist/service-timing.js +1 -1
- package/dist/service-version.js +1 -1
- package/dist/service.js +1 -1
- package/dist/shared-events.js +1 -1
- package/dist/solid/connection.js +1 -1
- package/dist/solid/data.js +9 -9
- package/dist/solid/index.js +11 -11
- package/dist/solid/pty.js +1 -1
- package/package.json +4 -4
- /package/dist/chunks/{service-contender-4tveyqeh.js → service-4tveyqeh.js} +0 -0
- /package/dist/chunks/{service-contender-6mptkzbc.js → service-6mptkzbc.js} +0 -0
- /package/dist/chunks/{service-contender-7f0py9js.js → service-7f0py9js.js} +0 -0
- /package/dist/chunks/{service-contender-9rqn6x4v.js → service-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-contender-gne7h7mq.js → service-gne7h7mq.js} +0 -0
- /package/dist/chunks/{service-contender-js54wxgp.js → service-js54wxgp.js} +0 -0
- /package/dist/chunks/{service-contender-m2eywc8w.js → service-m2eywc8w.js} +0 -0
- /package/dist/chunks/{service-contender-qav6mfdz.js → service-qav6mfdz.js} +0 -0
- /package/dist/chunks/{service-contender-sxt88q69.js → service-sxt88q69.js} +0 -0
- /package/dist/chunks/{service-contender-txckps9j.js → service-txckps9j.js} +0 -0
- /package/dist/chunks/{service-contender-vmytr4q8.js → service-vmytr4q8.js} +0 -0
- /package/dist/chunks/{service-contender-vyas3vgt.js → service-vyas3vgt.js} +0 -0
- /package/dist/chunks/{service-contender-xgnj2w4v.js → service-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{service-contender-ydhz1zrh.js → service-ydhz1zrh.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make7
|
|
3
|
-
} from "./service-
|
|
3
|
+
} from "./service-frbwqjmf.js";
|
|
4
4
|
import {
|
|
5
5
|
make3
|
|
6
|
-
} from "./service-
|
|
6
|
+
} from "./service-tqm1wwmf.js";
|
|
7
7
|
import {
|
|
8
8
|
makeRpc2
|
|
9
|
-
} from "./service-
|
|
9
|
+
} from "./service-1tbj6z39.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./service-
|
|
12
|
+
} from "./service-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/promise/client.ts
|
|
15
15
|
var exports_client = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ClientApi2
|
|
3
|
-
} from "./service-
|
|
3
|
+
} from "./service-vmytr4q8.js";
|
|
4
4
|
import {
|
|
5
5
|
ClientError3
|
|
6
|
-
} from "./service-
|
|
6
|
+
} from "./service-7f0py9js.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./service-
|
|
9
|
+
} from "./service-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/effect/generated/client.ts
|
|
12
12
|
var exports_client4 = {};
|
|
13
13
|
__export(exports_client4, {
|
|
14
|
-
make: () =>
|
|
14
|
+
make: () => make5
|
|
15
15
|
});
|
|
16
16
|
import { Effect, Stream, Schema } from "effect";
|
|
17
17
|
import { Sse } from "effect/unstable/encoding";
|
|
@@ -72,6 +72,7 @@ var EndpointSessionStats = (raw) => (input) => preserveEffect()(raw["session.sta
|
|
|
72
72
|
var EndpointSessionCreate = (raw) => (input) => preserveEffect()(raw["session.create"]({
|
|
73
73
|
payload: {
|
|
74
74
|
id: input?.["id"],
|
|
75
|
+
parentID: input?.["parentID"],
|
|
75
76
|
title: input?.["title"],
|
|
76
77
|
agent: input?.["agent"],
|
|
77
78
|
model: input?.["model"],
|
|
@@ -610,6 +611,6 @@ var adaptClient = (raw) => ({
|
|
|
610
611
|
websearch: adaptGroupWebsearch(raw["server.websearch"]),
|
|
611
612
|
config: adaptGroupConfig(raw["server.config"])
|
|
612
613
|
});
|
|
613
|
-
var
|
|
614
|
+
var make5 = (options) => HttpApiClient.make(ClientApi2, options).pipe(Effect.map(adaptClient));
|
|
614
615
|
|
|
615
|
-
export {
|
|
616
|
+
export { make5, exports_client4 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make7
|
|
3
|
-
} from "./service-
|
|
3
|
+
} from "./service-frbwqjmf.js";
|
|
4
4
|
import {
|
|
5
5
|
ClientError3
|
|
6
|
-
} from "./service-
|
|
6
|
+
} from "./service-7f0py9js.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./service-
|
|
8
|
+
make5
|
|
9
|
+
} from "./service-f67yw0qh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
make6,
|
|
12
12
|
aborted2
|
|
13
|
-
} from "./service-
|
|
13
|
+
} from "./service-w1w809zr.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./service-
|
|
16
|
+
} from "./service-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/effect/client.ts
|
|
19
19
|
var exports_client3 = {};
|
|
@@ -30,7 +30,7 @@ var CurrentHeaders = Context.Reference("@opencode/client/effect/rpc/headers", {
|
|
|
30
30
|
});
|
|
31
31
|
var make4 = Effect.fn("OpenCode.make")(function* (options) {
|
|
32
32
|
const httpClient = yield* HttpClient.HttpClient;
|
|
33
|
-
const raw = yield*
|
|
33
|
+
const raw = yield* make5(options).pipe(Effect.provideService(HttpClient.HttpClient, HttpClient.mapRequestEffect(httpClient, (request) => Effect.map(CurrentHeaders, (headers) => headers ? HttpClientRequest.setHeaders(request, new Headers(headers)) : request))));
|
|
34
34
|
const context = yield* Effect.context();
|
|
35
35
|
const native = raw.event.subscribe();
|
|
36
36
|
|
|
@@ -45,7 +45,7 @@ var make4 = Effect.fn("OpenCode.make")(function* (options) {
|
|
|
45
45
|
return {
|
|
46
46
|
...raw,
|
|
47
47
|
event: { ...raw.event, subscribe },
|
|
48
|
-
rpc: Object.assign(
|
|
48
|
+
rpc: Object.assign(make6((input, options) => raw.rpc.call(input).pipe(Effect.provideService(CurrentHeaders, options?.headers)), subscribe), raw.rpc)
|
|
49
49
|
};
|
|
50
50
|
});
|
|
51
51
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ClientError2
|
|
3
|
-
} from "./service-
|
|
3
|
+
} from "./service-js54wxgp.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./service-
|
|
6
|
+
} from "./service-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/promise/generated/client.ts
|
|
9
9
|
var exports_client2 = {};
|
|
@@ -254,6 +254,7 @@ function make3(options) {
|
|
|
254
254
|
path: `/api/session`,
|
|
255
255
|
body: {
|
|
256
256
|
id: input?.["id"],
|
|
257
|
+
parentID: input?.["parentID"],
|
|
257
258
|
title: input?.["title"],
|
|
258
259
|
agent: input?.["agent"],
|
|
259
260
|
model: input?.["model"],
|
|
@@ -262,7 +263,7 @@ function make3(options) {
|
|
|
262
263
|
permissions: input?.["permissions"]
|
|
263
264
|
},
|
|
264
265
|
successStatus: 200,
|
|
265
|
-
declaredStatuses: [400, 401],
|
|
266
|
+
declaredStatuses: [400, 401, 404],
|
|
266
267
|
empty: false
|
|
267
268
|
}, requestOptions).then((value) => value.data),
|
|
268
269
|
import: (input, requestOptions) => request({
|
|
@@ -3,20 +3,20 @@ import {
|
|
|
3
3
|
readError2,
|
|
4
4
|
event2,
|
|
5
5
|
eventType2
|
|
6
|
-
} from "./service-
|
|
6
|
+
} from "./service-t1xa31vm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./service-
|
|
9
|
+
} from "./service-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/effect/rpc.ts
|
|
12
12
|
var exports_rpc = {};
|
|
13
13
|
__export(exports_rpc, {
|
|
14
14
|
RpcClientRuntime: () => exports_rpc,
|
|
15
15
|
aborted: () => aborted2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make6
|
|
17
17
|
});
|
|
18
18
|
import { Effect, Stream } from "effect";
|
|
19
|
-
function
|
|
19
|
+
function make6(call, subscribe) {
|
|
20
20
|
return (definition) => {
|
|
21
21
|
const methods = Object.fromEntries(Object.entries(definition.methods).map(([name, method]) => [
|
|
22
22
|
name,
|
|
@@ -59,4 +59,4 @@ function aborted2(signal) {
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
export {
|
|
62
|
+
export { make6, aborted2, exports_rpc };
|
package/dist/contract.js
CHANGED
package/dist/effect/api/api.d.ts
CHANGED
|
@@ -230,6 +230,7 @@ export type SessionStatsOutput = {
|
|
|
230
230
|
export type SessionStatsOperation<E = never> = (input?: SessionStatsInput) => Effect.Effect<SessionStatsOutput, E>;
|
|
231
231
|
export type SessionCreateInput = {
|
|
232
232
|
readonly id?: Session.ID | undefined;
|
|
233
|
+
readonly parentID?: Session.ID | undefined;
|
|
233
234
|
readonly title?: string | undefined;
|
|
234
235
|
readonly agent?: Agent.ID | undefined;
|
|
235
236
|
readonly model?: Model.Ref | undefined;
|
package/dist/effect/client.d.ts
CHANGED
|
@@ -2316,7 +2316,7 @@ export declare const make: (options?: {
|
|
|
2316
2316
|
session: {
|
|
2317
2317
|
list: (input?: import("./api.js").SessionListInput) => Effect.Effect<import("./api.js").SessionListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").InvalidCursorError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2318
2318
|
stats: (input?: import("./api.js").SessionStatsInput) => Effect.Effect<import("./api.js").SessionStatsOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2319
|
-
create: (input?: import("./api.js").SessionCreateInput) => Effect.Effect<import("@opencode/schema/session").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2319
|
+
create: (input?: import("./api.js").SessionCreateInput) => Effect.Effect<import("@opencode/schema/session").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2320
2320
|
import: (input: import("./api.js").SessionImportInput) => Effect.Effect<import("@opencode/schema/session").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ConflictError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2321
2321
|
export: (input: import("./api.js").SessionExportInput) => Effect.Effect<import("./api.js").SessionExportOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnknownError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2322
2322
|
active: () => Effect.Effect<import("./api.js").SessionActiveOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
package/dist/effect/client.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make4,
|
|
3
3
|
exports_client3
|
|
4
|
-
} from "../chunks/service-
|
|
5
|
-
import"../chunks/service-
|
|
6
|
-
import"../chunks/service-
|
|
7
|
-
import"../chunks/service-
|
|
8
|
-
import"../chunks/service-
|
|
9
|
-
import"../chunks/service-
|
|
10
|
-
import"../chunks/service-
|
|
11
|
-
import"../chunks/service-
|
|
4
|
+
} from "../chunks/service-pqhj4h7y.js";
|
|
5
|
+
import"../chunks/service-6mptkzbc.js";
|
|
6
|
+
import"../chunks/service-f67yw0qh.js";
|
|
7
|
+
import"../chunks/service-7f0py9js.js";
|
|
8
|
+
import"../chunks/service-w1w809zr.js";
|
|
9
|
+
import"../chunks/service-t1xa31vm.js";
|
|
10
|
+
import"../chunks/service-frbwqjmf.js";
|
|
11
|
+
import"../chunks/service-vmytr4q8.js";
|
|
12
12
|
export {
|
|
13
13
|
exports_client3 as OpenCode,
|
|
14
14
|
make4 as make
|
|
@@ -27,7 +27,7 @@ export declare const make: (options?: {
|
|
|
27
27
|
session: {
|
|
28
28
|
list: (input?: SessionListInput) => Effect.Effect<SessionListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").InvalidCursorError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
|
|
29
29
|
stats: (input?: SessionStatsInput) => Effect.Effect<SessionStatsOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
|
|
30
|
-
create: (input?: SessionCreateInput) => Effect.Effect<import("@opencode/schema/session").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
|
|
30
|
+
create: (input?: SessionCreateInput) => Effect.Effect<import("@opencode/schema/session").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
|
|
31
31
|
import: (input: SessionImportInput) => Effect.Effect<import("@opencode/schema/session").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ConflictError | import("@opencode/protocol/errors").SessionNotFoundError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
|
|
32
32
|
export: (input: SessionExportInput) => Effect.Effect<SessionExportOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnknownError | import("@opencode/protocol/errors").SessionNotFoundError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
|
|
33
33
|
active: () => Effect.Effect<SessionActiveOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../../chunks/service-
|
|
4
|
-
import"../../chunks/service-
|
|
5
|
-
import"../../chunks/service-
|
|
2
|
+
make5
|
|
3
|
+
} from "../../chunks/service-f67yw0qh.js";
|
|
4
|
+
import"../../chunks/service-7f0py9js.js";
|
|
5
|
+
import"../../chunks/service-vmytr4q8.js";
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
make5 as make
|
|
8
8
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import"../../chunks/service-
|
|
1
|
+
import"../../chunks/service-6mptkzbc.js";
|
|
2
2
|
import {
|
|
3
3
|
exports_client4
|
|
4
|
-
} from "../../chunks/service-
|
|
4
|
+
} from "../../chunks/service-f67yw0qh.js";
|
|
5
5
|
import {
|
|
6
6
|
ClientError3
|
|
7
|
-
} from "../../chunks/service-
|
|
8
|
-
import"../../chunks/service-
|
|
7
|
+
} from "../../chunks/service-7f0py9js.js";
|
|
8
|
+
import"../../chunks/service-vmytr4q8.js";
|
|
9
9
|
export {
|
|
10
10
|
ClientError3 as ClientError,
|
|
11
11
|
exports_client4 as OpenCode
|
package/dist/effect/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ClientError3
|
|
3
|
-
} from "../chunks/service-
|
|
4
|
-
import"../chunks/service-
|
|
5
|
-
import"../chunks/service-
|
|
6
|
-
import"../chunks/service-
|
|
7
|
-
import"../chunks/service-
|
|
8
|
-
import"../chunks/service-
|
|
9
|
-
import"../chunks/service-
|
|
3
|
+
} from "../chunks/service-7f0py9js.js";
|
|
4
|
+
import"../chunks/service-vmytr4q8.js";
|
|
5
|
+
import"../chunks/service-f67yw0qh.js";
|
|
6
|
+
import"../chunks/service-6mptkzbc.js";
|
|
7
|
+
import"../chunks/service-frbwqjmf.js";
|
|
8
|
+
import"../chunks/service-t1xa31vm.js";
|
|
9
|
+
import"../chunks/service-w1w809zr.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_client3
|
|
12
|
-
} from "../chunks/service-
|
|
12
|
+
} from "../chunks/service-pqhj4h7y.js";
|
|
13
13
|
|
|
14
14
|
// src/effect/index.ts
|
|
15
15
|
import { Agent } from "@opencode/schema/agent";
|
package/dist/effect/rpc.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
make6,
|
|
3
3
|
aborted2,
|
|
4
4
|
exports_rpc
|
|
5
|
-
} from "../chunks/service-
|
|
6
|
-
import"../chunks/service-
|
|
5
|
+
} from "../chunks/service-w1w809zr.js";
|
|
6
|
+
import"../chunks/service-t1xa31vm.js";
|
|
7
7
|
export {
|
|
8
8
|
exports_rpc as RpcClientRuntime,
|
|
9
9
|
aborted2 as aborted,
|
|
10
|
-
|
|
10
|
+
make6 as make
|
|
11
11
|
};
|
package/dist/effect/service.js
CHANGED
|
@@ -2,21 +2,21 @@ import {
|
|
|
2
2
|
spawnServiceContender2,
|
|
3
3
|
contenderFailure2,
|
|
4
4
|
contenderFinished2
|
|
5
|
-
} from "../chunks/service-
|
|
5
|
+
} from "../chunks/service-txckps9j.js";
|
|
6
6
|
import {
|
|
7
7
|
defaultEnsureTiming2,
|
|
8
8
|
ensureTiming2
|
|
9
|
-
} from "../chunks/service-
|
|
9
|
+
} from "../chunks/service-xgnj2w4v.js";
|
|
10
10
|
import {
|
|
11
11
|
matchesVersion2
|
|
12
|
-
} from "../chunks/service-
|
|
12
|
+
} from "../chunks/service-sxt88q69.js";
|
|
13
13
|
import {
|
|
14
14
|
prepare2,
|
|
15
15
|
environment2,
|
|
16
16
|
complete2,
|
|
17
17
|
clear2
|
|
18
|
-
} from "../chunks/service-
|
|
19
|
-
import"../chunks/service-
|
|
18
|
+
} from "../chunks/service-32fezavz.js";
|
|
19
|
+
import"../chunks/service-qav6mfdz.js";
|
|
20
20
|
|
|
21
21
|
// src/effect/service.ts
|
|
22
22
|
import { Effect, FileSystem, Option, Schedule, Schema } from "effect";
|
package/dist/promise/client.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make2,
|
|
3
3
|
exports_client
|
|
4
|
-
} from "../chunks/service-
|
|
5
|
-
import"../chunks/service-
|
|
6
|
-
import"../chunks/service-
|
|
7
|
-
import"../chunks/service-
|
|
8
|
-
import"../chunks/service-
|
|
9
|
-
import"../chunks/service-
|
|
10
|
-
import"../chunks/service-
|
|
4
|
+
} from "../chunks/service-2rh17yfn.js";
|
|
5
|
+
import"../chunks/service-vyas3vgt.js";
|
|
6
|
+
import"../chunks/service-tqm1wwmf.js";
|
|
7
|
+
import"../chunks/service-js54wxgp.js";
|
|
8
|
+
import"../chunks/service-1tbj6z39.js";
|
|
9
|
+
import"../chunks/service-4tveyqeh.js";
|
|
10
|
+
import"../chunks/service-frbwqjmf.js";
|
|
11
11
|
export {
|
|
12
12
|
exports_client as OpenCode,
|
|
13
13
|
make2 as make
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import"../../chunks/service-
|
|
1
|
+
import"../../chunks/service-vyas3vgt.js";
|
|
2
|
+
import {
|
|
3
|
+
exports_client2
|
|
4
|
+
} from "../../chunks/service-tqm1wwmf.js";
|
|
5
|
+
import {
|
|
6
|
+
ClientError2
|
|
7
|
+
} from "../../chunks/service-js54wxgp.js";
|
|
2
8
|
import {
|
|
3
9
|
isInvalidRequestError2,
|
|
4
10
|
isUnauthorizedError2,
|
|
@@ -31,13 +37,7 @@ import {
|
|
|
31
37
|
isForbiddenError2,
|
|
32
38
|
isShellNotFoundError2,
|
|
33
39
|
isWorktreeError2
|
|
34
|
-
} from "../../chunks/service-
|
|
35
|
-
import {
|
|
36
|
-
exports_client2
|
|
37
|
-
} from "../../chunks/service-contender-cpyzyyfs.js";
|
|
38
|
-
import {
|
|
39
|
-
ClientError2
|
|
40
|
-
} from "../../chunks/service-contender-js54wxgp.js";
|
|
40
|
+
} from "../../chunks/service-4tveyqeh.js";
|
|
41
41
|
export {
|
|
42
42
|
ClientError2 as ClientError,
|
|
43
43
|
exports_client2 as OpenCode,
|
|
@@ -3742,6 +3742,7 @@ export type SessionStatsOutput = {
|
|
|
3742
3742
|
export type SessionCreateInput = {
|
|
3743
3743
|
readonly id?: {
|
|
3744
3744
|
readonly id?: string | null;
|
|
3745
|
+
readonly parentID?: string | null;
|
|
3745
3746
|
readonly title?: string | null;
|
|
3746
3747
|
readonly agent?: string | null;
|
|
3747
3748
|
readonly model?: {
|
|
@@ -3761,8 +3762,31 @@ export type SessionCreateInput = {
|
|
|
3761
3762
|
readonly effect: "allow" | "deny" | "ask";
|
|
3762
3763
|
}> | null;
|
|
3763
3764
|
}["id"];
|
|
3765
|
+
readonly parentID?: {
|
|
3766
|
+
readonly id?: string | null;
|
|
3767
|
+
readonly parentID?: string | null;
|
|
3768
|
+
readonly title?: string | null;
|
|
3769
|
+
readonly agent?: string | null;
|
|
3770
|
+
readonly model?: {
|
|
3771
|
+
readonly id: string;
|
|
3772
|
+
readonly providerID: string;
|
|
3773
|
+
readonly variant?: string;
|
|
3774
|
+
} | null;
|
|
3775
|
+
readonly location?: {
|
|
3776
|
+
readonly directory: string;
|
|
3777
|
+
} | null;
|
|
3778
|
+
readonly metadata?: {
|
|
3779
|
+
readonly [x: string]: JsonValue;
|
|
3780
|
+
} | null;
|
|
3781
|
+
readonly permissions?: ReadonlyArray<{
|
|
3782
|
+
readonly action: string;
|
|
3783
|
+
readonly resource: string;
|
|
3784
|
+
readonly effect: "allow" | "deny" | "ask";
|
|
3785
|
+
}> | null;
|
|
3786
|
+
}["parentID"];
|
|
3764
3787
|
readonly title?: {
|
|
3765
3788
|
readonly id?: string | null;
|
|
3789
|
+
readonly parentID?: string | null;
|
|
3766
3790
|
readonly title?: string | null;
|
|
3767
3791
|
readonly agent?: string | null;
|
|
3768
3792
|
readonly model?: {
|
|
@@ -3784,6 +3808,7 @@ export type SessionCreateInput = {
|
|
|
3784
3808
|
}["title"];
|
|
3785
3809
|
readonly agent?: {
|
|
3786
3810
|
readonly id?: string | null;
|
|
3811
|
+
readonly parentID?: string | null;
|
|
3787
3812
|
readonly title?: string | null;
|
|
3788
3813
|
readonly agent?: string | null;
|
|
3789
3814
|
readonly model?: {
|
|
@@ -3805,6 +3830,7 @@ export type SessionCreateInput = {
|
|
|
3805
3830
|
}["agent"];
|
|
3806
3831
|
readonly model?: {
|
|
3807
3832
|
readonly id?: string | null;
|
|
3833
|
+
readonly parentID?: string | null;
|
|
3808
3834
|
readonly title?: string | null;
|
|
3809
3835
|
readonly agent?: string | null;
|
|
3810
3836
|
readonly model?: {
|
|
@@ -3826,6 +3852,7 @@ export type SessionCreateInput = {
|
|
|
3826
3852
|
}["model"];
|
|
3827
3853
|
readonly location?: {
|
|
3828
3854
|
readonly id?: string | null;
|
|
3855
|
+
readonly parentID?: string | null;
|
|
3829
3856
|
readonly title?: string | null;
|
|
3830
3857
|
readonly agent?: string | null;
|
|
3831
3858
|
readonly model?: {
|
|
@@ -3847,6 +3874,7 @@ export type SessionCreateInput = {
|
|
|
3847
3874
|
}["location"];
|
|
3848
3875
|
readonly metadata?: {
|
|
3849
3876
|
readonly id?: string | null;
|
|
3877
|
+
readonly parentID?: string | null;
|
|
3850
3878
|
readonly title?: string | null;
|
|
3851
3879
|
readonly agent?: string | null;
|
|
3852
3880
|
readonly model?: {
|
|
@@ -3868,6 +3896,7 @@ export type SessionCreateInput = {
|
|
|
3868
3896
|
}["metadata"];
|
|
3869
3897
|
readonly permissions?: {
|
|
3870
3898
|
readonly id?: string | null;
|
|
3899
|
+
readonly parentID?: string | null;
|
|
3871
3900
|
readonly title?: string | null;
|
|
3872
3901
|
readonly agent?: string | null;
|
|
3873
3902
|
readonly model?: {
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
isForbiddenError2,
|
|
31
31
|
isShellNotFoundError2,
|
|
32
32
|
isWorktreeError2
|
|
33
|
-
} from "../../chunks/service-
|
|
33
|
+
} from "../../chunks/service-4tveyqeh.js";
|
|
34
34
|
export {
|
|
35
35
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
36
36
|
isCommandExecutionError2 as isCommandExecutionError,
|
package/dist/promise/index.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import"../chunks/service-
|
|
1
|
+
import"../chunks/service-m2eywc8w.js";
|
|
2
2
|
import {
|
|
3
3
|
exports_client
|
|
4
|
-
} from "../chunks/service-
|
|
5
|
-
import"../chunks/service-
|
|
6
|
-
import"../chunks/service-
|
|
4
|
+
} from "../chunks/service-2rh17yfn.js";
|
|
5
|
+
import"../chunks/service-vyas3vgt.js";
|
|
6
|
+
import"../chunks/service-tqm1wwmf.js";
|
|
7
|
+
import {
|
|
8
|
+
ClientError2
|
|
9
|
+
} from "../chunks/service-js54wxgp.js";
|
|
10
|
+
import"../chunks/service-1tbj6z39.js";
|
|
7
11
|
import {
|
|
8
12
|
isInvalidRequestError2,
|
|
9
13
|
isUnauthorizedError2,
|
|
@@ -36,12 +40,8 @@ import {
|
|
|
36
40
|
isForbiddenError2,
|
|
37
41
|
isShellNotFoundError2,
|
|
38
42
|
isWorktreeError2
|
|
39
|
-
} from "../chunks/service-
|
|
40
|
-
import"../chunks/service-
|
|
41
|
-
import {
|
|
42
|
-
ClientError2
|
|
43
|
-
} from "../chunks/service-contender-js54wxgp.js";
|
|
44
|
-
import"../chunks/service-contender-frbwqjmf.js";
|
|
43
|
+
} from "../chunks/service-4tveyqeh.js";
|
|
44
|
+
import"../chunks/service-frbwqjmf.js";
|
|
45
45
|
export {
|
|
46
46
|
ClientError2 as ClientError,
|
|
47
47
|
exports_client as OpenCode,
|
package/dist/promise/rpc.js
CHANGED
package/dist/promise/service.js
CHANGED
|
@@ -2,21 +2,21 @@ import {
|
|
|
2
2
|
spawnServiceContender2,
|
|
3
3
|
contenderFailure2,
|
|
4
4
|
contenderFinished2
|
|
5
|
-
} from "../chunks/service-
|
|
5
|
+
} from "../chunks/service-txckps9j.js";
|
|
6
6
|
import {
|
|
7
7
|
defaultEnsureTiming2,
|
|
8
8
|
ensureTiming2
|
|
9
|
-
} from "../chunks/service-
|
|
9
|
+
} from "../chunks/service-xgnj2w4v.js";
|
|
10
10
|
import {
|
|
11
11
|
matchesVersion2
|
|
12
|
-
} from "../chunks/service-
|
|
12
|
+
} from "../chunks/service-sxt88q69.js";
|
|
13
13
|
import {
|
|
14
14
|
prepare2,
|
|
15
15
|
environment2,
|
|
16
16
|
complete2,
|
|
17
17
|
clear2
|
|
18
|
-
} from "../chunks/service-
|
|
19
|
-
import"../chunks/service-
|
|
18
|
+
} from "../chunks/service-32fezavz.js";
|
|
19
|
+
import"../chunks/service-qav6mfdz.js";
|
|
20
20
|
|
|
21
21
|
// src/promise/service.ts
|
|
22
22
|
import { readFile, rm } from "node:fs/promises";
|
package/dist/pty-handoff.js
CHANGED
package/dist/rpc-runtime.js
CHANGED
package/dist/service-timing.js
CHANGED
package/dist/service-version.js
CHANGED
package/dist/service.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunks/service-
|
|
1
|
+
import"./chunks/service-qav6mfdz.js";
|
package/dist/shared-events.js
CHANGED
package/dist/solid/connection.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
defaultIdleTimeout2,
|
|
3
3
|
foregroundIdleThreshold2,
|
|
4
4
|
createClientConnection2
|
|
5
|
-
} from "../chunks/service-
|
|
5
|
+
} from "../chunks/service-ydhz1zrh.js";
|
|
6
6
|
export {
|
|
7
7
|
createClientConnection2 as createClientConnection,
|
|
8
8
|
defaultIdleTimeout2 as defaultIdleTimeout,
|
package/dist/solid/data.js
CHANGED
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
settleMs2,
|
|
3
3
|
locationKey2,
|
|
4
4
|
createData2
|
|
5
|
-
} from "../chunks/service-
|
|
6
|
-
import"../chunks/service-
|
|
7
|
-
import"../chunks/service-
|
|
8
|
-
import"../chunks/service-
|
|
9
|
-
import"../chunks/service-
|
|
10
|
-
import"../chunks/service-
|
|
11
|
-
import"../chunks/service-
|
|
12
|
-
import"../chunks/service-
|
|
13
|
-
import"../chunks/service-
|
|
5
|
+
} from "../chunks/service-h11j9btw.js";
|
|
6
|
+
import"../chunks/service-m2eywc8w.js";
|
|
7
|
+
import"../chunks/service-2rh17yfn.js";
|
|
8
|
+
import"../chunks/service-vyas3vgt.js";
|
|
9
|
+
import"../chunks/service-tqm1wwmf.js";
|
|
10
|
+
import"../chunks/service-js54wxgp.js";
|
|
11
|
+
import"../chunks/service-1tbj6z39.js";
|
|
12
|
+
import"../chunks/service-4tveyqeh.js";
|
|
13
|
+
import"../chunks/service-frbwqjmf.js";
|
|
14
14
|
export {
|
|
15
15
|
createData2 as createData,
|
|
16
16
|
locationKey2 as locationKey,
|
package/dist/solid/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import"../chunks/service-
|
|
2
|
-
import"../chunks/service-
|
|
3
|
-
import"../chunks/service-
|
|
4
|
-
import"../chunks/service-
|
|
5
|
-
import"../chunks/service-
|
|
6
|
-
import"../chunks/service-
|
|
7
|
-
import"../chunks/service-
|
|
8
|
-
import"../chunks/service-
|
|
1
|
+
import"../chunks/service-js54wxgp.js";
|
|
2
|
+
import"../chunks/service-tqm1wwmf.js";
|
|
3
|
+
import"../chunks/service-4tveyqeh.js";
|
|
4
|
+
import"../chunks/service-vyas3vgt.js";
|
|
5
|
+
import"../chunks/service-frbwqjmf.js";
|
|
6
|
+
import"../chunks/service-1tbj6z39.js";
|
|
7
|
+
import"../chunks/service-2rh17yfn.js";
|
|
8
|
+
import"../chunks/service-m2eywc8w.js";
|
|
9
9
|
import {
|
|
10
10
|
settleMs2,
|
|
11
11
|
locationKey2,
|
|
12
12
|
createData2
|
|
13
|
-
} from "../chunks/service-
|
|
13
|
+
} from "../chunks/service-h11j9btw.js";
|
|
14
14
|
import {
|
|
15
15
|
defaultIdleTimeout2,
|
|
16
16
|
foregroundIdleThreshold2,
|
|
17
17
|
createClientConnection2
|
|
18
|
-
} from "../chunks/service-
|
|
18
|
+
} from "../chunks/service-ydhz1zrh.js";
|
|
19
19
|
import {
|
|
20
20
|
createPtyClient2,
|
|
21
21
|
createPersistentPtyClient2
|
|
22
|
-
} from "../chunks/service-
|
|
22
|
+
} from "../chunks/service-gne7h7mq.js";
|
|
23
23
|
export {
|
|
24
24
|
createClientConnection2 as createClientConnection,
|
|
25
25
|
createData2 as createData,
|
package/dist/solid/pty.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode/client",
|
|
4
|
-
"version": "0.0.0-dev-
|
|
4
|
+
"version": "0.0.0-dev-20352",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"typecheck": "tsgo --noEmit"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@opencode/schema": "0.0.0-dev-
|
|
61
|
-
"@opencode/protocol": "0.0.0-dev-
|
|
60
|
+
"@opencode/schema": "0.0.0-dev-20352",
|
|
61
|
+
"@opencode/protocol": "0.0.0-dev-20352"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"effect": "4.0.0-rc.112",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@effect/platform-node": "4.0.0-rc.112",
|
|
77
|
-
"@opencode/httpapi-codegen": "0.0.0-dev-
|
|
77
|
+
"@opencode/httpapi-codegen": "0.0.0-dev-20352",
|
|
78
78
|
"@tsconfig/bun": "1.0.9",
|
|
79
79
|
"@types/bun": "1.4.0",
|
|
80
80
|
"@typescript/native-preview": "7.0.0-dev.20251207.1",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|