@opencode/client 0.0.0-dev-21881 → 0.0.0-dev-21903
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/{pty-handoff-bpcm6er9.js → rpc-runtime-10stgdsh.js} +79 -50
- package/dist/chunks/{pty-handoff-s062yqxj.js → rpc-runtime-1m3dzmf1.js} +2 -2
- package/dist/chunks/{pty-handoff-y2etg5bs.js → rpc-runtime-7f0py9js.js} +2 -2
- package/dist/chunks/{pty-handoff-jq91dnkq.js → rpc-runtime-7saa3msa.js} +17 -17
- package/dist/chunks/{pty-handoff-8bbb028w.js → rpc-runtime-8bbb028w.js} +1 -1
- package/dist/chunks/{pty-handoff-2ny4vxct.js → rpc-runtime-8ye1ye6f.js} +2 -2
- package/dist/chunks/{pty-handoff-d4bnv4f0.js → rpc-runtime-ff0ps5x1.js} +18 -11
- package/dist/chunks/rpc-runtime-hjkdb2as.js +30 -0
- package/dist/chunks/{pty-handoff-nwcpakzx.js → rpc-runtime-js54wxgp.js} +2 -2
- package/dist/chunks/{pty-handoff-15p82y03.js → rpc-runtime-myz4ngx9.js} +5 -5
- package/dist/chunks/{pty-handoff-ryy6kscr.js → rpc-runtime-ryy6kscr.js} +1 -1
- package/dist/chunks/{pty-handoff-skhp7hxc.js → rpc-runtime-skhp7hxc.js} +1 -1
- package/dist/chunks/{pty-handoff-zp1ww9gq.js → rpc-runtime-vea8g3zs.js} +38 -20
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +19 -0
- package/dist/effect/client.d.ts +3 -1
- package/dist/effect/client.js +12 -12
- package/dist/effect/generated/client-error.js +3 -3
- package/dist/effect/generated/client.d.ts +4 -2
- package/dist/effect/generated/client.js +5 -5
- package/dist/effect/generated/index.js +8 -8
- package/dist/effect/index.js +12 -12
- package/dist/effect/rpc.js +4 -4
- package/dist/effect/service.js +6 -6
- package/dist/promise/client.d.ts +2 -0
- package/dist/promise/client.js +11 -11
- package/dist/promise/generated/client-error.js +3 -3
- package/dist/promise/generated/client.d.ts +3 -1
- package/dist/promise/generated/client.js +4 -4
- package/dist/promise/generated/index.js +9 -9
- package/dist/promise/generated/types.d.ts +23 -0
- package/dist/promise/generated/types.js +1 -1
- package/dist/promise/index.js +12 -12
- package/dist/promise/rpc.js +2 -2
- package/dist/promise/service.js +6 -6
- package/dist/pty-handoff.js +4 -4
- package/dist/rpc-runtime.js +1 -1
- package/dist/service-contender.js +1 -1
- package/dist/service-probe.js +3 -3
- 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.d.ts +5 -0
- package/dist/solid/data.js +9 -9
- package/dist/solid/index.js +13 -13
- package/dist/solid/pty.js +1 -1
- package/dist/solid/retention.js +1 -1
- package/dist/solid/usage.js +1 -1
- package/package.json +4 -4
- package/dist/chunks/pty-handoff-gb6s2y2x.js +0 -30
- /package/dist/chunks/{pty-handoff-6mptkzbc.js → rpc-runtime-6mptkzbc.js} +0 -0
- /package/dist/chunks/{pty-handoff-6mq2wh8y.js → rpc-runtime-6mq2wh8y.js} +0 -0
- /package/dist/chunks/{pty-handoff-8s2anffy.js → rpc-runtime-8s2anffy.js} +0 -0
- /package/dist/chunks/{pty-handoff-9rqn6x4v.js → rpc-runtime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-handoff-c46qzyff.js → rpc-runtime-c46qzyff.js} +0 -0
- /package/dist/chunks/{pty-handoff-gne7h7mq.js → rpc-runtime-gne7h7mq.js} +0 -0
- /package/dist/chunks/{pty-handoff-m2eywc8w.js → rpc-runtime-m2eywc8w.js} +0 -0
- /package/dist/chunks/{pty-handoff-qav6mfdz.js → rpc-runtime-qav6mfdz.js} +0 -0
- /package/dist/chunks/{pty-handoff-sxt88q69.js → rpc-runtime-sxt88q69.js} +0 -0
- /package/dist/chunks/{pty-handoff-ve4aws36.js → rpc-runtime-ve4aws36.js} +0 -0
- /package/dist/chunks/{pty-handoff-vmytr4q8.js → rpc-runtime-vmytr4q8.js} +0 -0
- /package/dist/chunks/{pty-handoff-vyas3vgt.js → rpc-runtime-vyas3vgt.js} +0 -0
- /package/dist/chunks/{pty-handoff-xgnj2w4v.js → rpc-runtime-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{pty-handoff-ydhz1zrh.js → rpc-runtime-ydhz1zrh.js} +0 -0
package/dist/solid/connection.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
defaultIdleTimeout2,
|
|
3
3
|
foregroundIdleThreshold2,
|
|
4
4
|
createClientConnection2
|
|
5
|
-
} from "../chunks/
|
|
5
|
+
} from "../chunks/rpc-runtime-ydhz1zrh.js";
|
|
6
6
|
export {
|
|
7
7
|
createClientConnection2 as createClientConnection,
|
|
8
8
|
defaultIdleTimeout2 as defaultIdleTimeout,
|
package/dist/solid/data.d.ts
CHANGED
|
@@ -29,6 +29,11 @@ export type CreateDataInput = {
|
|
|
29
29
|
};
|
|
30
30
|
/** Receives failed event-driven reads. Explicit reads still reject to their caller. */
|
|
31
31
|
readonly onError?: (error: unknown) => void;
|
|
32
|
+
/**
|
|
33
|
+
* Drops the payload of inline `data:` files in tool results before they enter the store. For clients that never
|
|
34
|
+
* render tool-result files: a session full of screenshots otherwise keeps hundreds of MB of base64 alive.
|
|
35
|
+
*/
|
|
36
|
+
readonly omitToolFileData?: boolean;
|
|
32
37
|
};
|
|
33
38
|
export declare const settleMs = 150;
|
|
34
39
|
export type FormWithLocation = FormInfo & {
|
package/dist/solid/data.js
CHANGED
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
settleMs2,
|
|
3
3
|
locationKey2,
|
|
4
4
|
createData2
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
11
|
-
import"../chunks/
|
|
12
|
-
import"../chunks/
|
|
13
|
-
import"../chunks/
|
|
5
|
+
} from "../chunks/rpc-runtime-10stgdsh.js";
|
|
6
|
+
import"../chunks/rpc-runtime-m2eywc8w.js";
|
|
7
|
+
import"../chunks/rpc-runtime-hjkdb2as.js";
|
|
8
|
+
import"../chunks/rpc-runtime-skhp7hxc.js";
|
|
9
|
+
import"../chunks/rpc-runtime-vyas3vgt.js";
|
|
10
|
+
import"../chunks/rpc-runtime-c46qzyff.js";
|
|
11
|
+
import"../chunks/rpc-runtime-vea8g3zs.js";
|
|
12
|
+
import"../chunks/rpc-runtime-js54wxgp.js";
|
|
13
|
+
import"../chunks/rpc-runtime-8bbb028w.js";
|
|
14
14
|
export {
|
|
15
15
|
createData2 as createData,
|
|
16
16
|
locationKey2 as locationKey,
|
package/dist/solid/index.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import"../chunks/
|
|
2
|
-
import"../chunks/
|
|
3
|
-
import"../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
1
|
+
import"../chunks/rpc-runtime-js54wxgp.js";
|
|
2
|
+
import"../chunks/rpc-runtime-vea8g3zs.js";
|
|
3
|
+
import"../chunks/rpc-runtime-c46qzyff.js";
|
|
4
|
+
import"../chunks/rpc-runtime-vyas3vgt.js";
|
|
5
|
+
import"../chunks/rpc-runtime-8bbb028w.js";
|
|
6
|
+
import"../chunks/rpc-runtime-skhp7hxc.js";
|
|
7
|
+
import"../chunks/rpc-runtime-hjkdb2as.js";
|
|
8
|
+
import"../chunks/rpc-runtime-m2eywc8w.js";
|
|
9
9
|
import {
|
|
10
10
|
settleMs2,
|
|
11
11
|
locationKey2,
|
|
12
12
|
createData2
|
|
13
|
-
} from "../chunks/
|
|
13
|
+
} from "../chunks/rpc-runtime-10stgdsh.js";
|
|
14
14
|
import {
|
|
15
15
|
defaultIdleTimeout2,
|
|
16
16
|
foregroundIdleThreshold2,
|
|
17
17
|
createClientConnection2
|
|
18
|
-
} from "../chunks/
|
|
18
|
+
} from "../chunks/rpc-runtime-ydhz1zrh.js";
|
|
19
19
|
import {
|
|
20
20
|
createPtyClient2,
|
|
21
21
|
createPersistentPtyClient2
|
|
22
|
-
} from "../chunks/
|
|
22
|
+
} from "../chunks/rpc-runtime-gne7h7mq.js";
|
|
23
23
|
import {
|
|
24
24
|
createSessionRetention2
|
|
25
|
-
} from "../chunks/
|
|
25
|
+
} from "../chunks/rpc-runtime-6mq2wh8y.js";
|
|
26
26
|
import {
|
|
27
27
|
lastAssistantWithUsage2
|
|
28
|
-
} from "../chunks/
|
|
28
|
+
} from "../chunks/rpc-runtime-8s2anffy.js";
|
|
29
29
|
export {
|
|
30
30
|
createClientConnection2 as createClientConnection,
|
|
31
31
|
createData2 as createData,
|
package/dist/solid/pty.js
CHANGED
package/dist/solid/retention.js
CHANGED
package/dist/solid/usage.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-21903",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"typecheck:tsc": "tsc --noEmit"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@opencode/schema": "0.0.0-dev-
|
|
66
|
-
"@opencode/protocol": "0.0.0-dev-
|
|
65
|
+
"@opencode/schema": "0.0.0-dev-21903",
|
|
66
|
+
"@opencode/protocol": "0.0.0-dev-21903"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"effect": "4.0.1",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@effect/platform-node": "4.0.1",
|
|
82
82
|
"@modelcontextprotocol/client": "2.3.1",
|
|
83
|
-
"@opencode/httpapi-codegen": "0.0.0-dev-
|
|
83
|
+
"@opencode/httpapi-codegen": "0.0.0-dev-21903",
|
|
84
84
|
"@tsconfig/bun": "1.0.9",
|
|
85
85
|
"@types/bun": "1.4.3",
|
|
86
86
|
"@typescript/native": "npm:typescript@7.1.0-beta",
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
make7
|
|
3
|
-
} from "./pty-handoff-8bbb028w.js";
|
|
4
|
-
import {
|
|
5
|
-
make6
|
|
6
|
-
} from "./pty-handoff-zp1ww9gq.js";
|
|
7
|
-
import {
|
|
8
|
-
makeRpc2
|
|
9
|
-
} from "./pty-handoff-skhp7hxc.js";
|
|
10
|
-
import {
|
|
11
|
-
__export
|
|
12
|
-
} from "./pty-handoff-9rqn6x4v.js";
|
|
13
|
-
|
|
14
|
-
// src/promise/client.ts
|
|
15
|
-
var exports_client3 = {};
|
|
16
|
-
__export(exports_client3, {
|
|
17
|
-
OpenCode: () => exports_client3,
|
|
18
|
-
make: () => make5
|
|
19
|
-
});
|
|
20
|
-
function make5(options) {
|
|
21
|
-
const raw = make6(options);
|
|
22
|
-
const events = make7((signal, onActivity) => raw.event.subscribe({ signal, onActivity }));
|
|
23
|
-
return {
|
|
24
|
-
...raw,
|
|
25
|
-
rpc: Object.assign(makeRpc2(raw, events), raw.rpc),
|
|
26
|
-
event: events
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export { make5, exports_client3 };
|
|
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
|