@opencode/server 2.2.4 → 2.2.6
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/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{event-feed-0fv515j7.js → options-02a60aws.js} +2 -2
- package/dist/chunks/{event-feed-059rbh9c.js → options-059rbh9c.js} +1 -1
- package/dist/chunks/{event-feed-vbgqk0mr.js → options-0r9ve3h3.js} +2 -2
- package/dist/chunks/{event-feed-5dbnrgeg.js → options-32zxn73z.js} +4 -4
- package/dist/chunks/{event-feed-04phqjtk.js → options-3k93sd3m.js} +17 -16
- package/dist/chunks/{event-feed-z3e7v67k.js → options-3te71694.js} +7 -7
- package/dist/chunks/{event-feed-f8r9p2vr.js → options-4xzps9pr.js} +2 -2
- package/dist/chunks/{event-feed-8wqj6mpn.js → options-5km4ra1j.js} +8 -6
- package/dist/chunks/{event-feed-9grnt8dc.js → options-62bfwtjc.js} +2 -2
- package/dist/chunks/options-78rcgzsr.js +28 -0
- package/dist/chunks/{event-feed-7b9xm1qg.js → options-7b9xm1qg.js} +1 -1
- package/dist/chunks/{event-feed-axe8xgk8.js → options-7jx462hf.js} +11 -7
- package/dist/chunks/{event-feed-mzqcpmk1.js → options-82vbxjqd.js} +7 -5
- package/dist/chunks/{event-feed-nz17qv97.js → options-85kbrn7y.js} +2 -2
- package/dist/chunks/{event-feed-g2961dtz.js → options-9f2aybte.js} +8 -8
- package/dist/chunks/{event-feed-q44yktpv.js → options-9q55v56g.js} +2 -2
- package/dist/chunks/{event-feed-dx89xydc.js → options-axx4wwen.js} +2 -2
- package/dist/chunks/{event-feed-m119esdv.js → options-b5crh3ce.js} +3 -3
- package/dist/chunks/{event-feed-0j6zxxn8.js → options-dczgzh3x.js} +2 -2
- package/dist/chunks/{event-feed-htyf2qs7.js → options-ddnay6e1.js} +1 -1
- package/dist/chunks/{event-feed-n321d8vm.js → options-djr0jy89.js} +8 -6
- package/dist/chunks/{event-feed-0ey2b45p.js → options-dx07zb36.js} +9 -6
- package/dist/chunks/{event-feed-hx8bsq9d.js → options-e0z6mnzj.js} +1 -1
- package/dist/chunks/{event-feed-39nnfjx1.js → options-e6e4kz0w.js} +4 -4
- package/dist/chunks/{event-feed-zbe9jfhy.js → options-f0kpaq89.js} +1 -1
- package/dist/chunks/{event-feed-s9tkswmw.js → options-f96zeczf.js} +2 -2
- package/dist/chunks/{event-feed-50bbk3b2.js → options-gymtz25n.js} +3 -3
- package/dist/chunks/options-hmwn16zp.js +39 -0
- package/dist/chunks/{event-feed-0n4tjm17.js → options-hr24310e.js} +1 -1
- package/dist/chunks/{event-feed-2wexxjwf.js → options-j1bh82b8.js} +2 -2
- package/dist/chunks/{event-feed-j4at0y5c.js → options-j4at0y5c.js} +1 -1
- package/dist/chunks/{event-feed-h1thjy6x.js → options-j6d0mxrp.js} +2 -2
- package/dist/chunks/{event-feed-n1zdbfv7.js → options-j77vxdbh.js} +9 -4
- package/dist/chunks/{event-feed-m9ezm2eq.js → options-kgr24bct.js} +14 -8
- package/dist/chunks/{event-feed-mzs0n5xz.js → options-kqr36gas.js} +7 -7
- package/dist/chunks/{event-feed-05c5061t.js → options-mam5ppd3.js} +1 -1
- package/dist/chunks/{event-feed-h6rt5k9s.js → options-q187pxxd.js} +7 -1
- package/dist/chunks/{event-feed-ndcq61v8.js → options-q59gseq4.js} +35 -35
- package/dist/chunks/{event-feed-kg0ybx4v.js → options-q7gnt7ra.js} +3 -3
- package/dist/chunks/{event-feed-r6xkfcdx.js → options-rbck9dgd.js} +2 -2
- package/dist/chunks/{event-feed-zvbhqxt5.js → options-s9jd931e.js} +4 -4
- package/dist/chunks/options-t32e1bbt.js +32 -0
- package/dist/chunks/{event-feed-0e81et3m.js → options-v7p1kzzd.js} +3 -3
- package/dist/chunks/{event-feed-89egwzf3.js → options-va7wgp70.js} +2 -2
- package/dist/chunks/{event-feed-v8aqacn3.js → options-vyzvby0b.js} +2 -2
- package/dist/chunks/{event-feed-qfyg9gb7.js → options-wecgp61r.js} +7 -7
- package/dist/chunks/{event-feed-b3bmdkga.js → options-x74w7e1f.js} +1 -1
- package/dist/chunks/{event-feed-s62wjkvx.js → options-xad49dn3.js} +2 -2
- package/dist/chunks/{event-feed-et00mhwf.js → options-xfynz25m.js} +2 -2
- package/dist/chunks/{event-feed-x4b2rtcb.js → options-xwy6frfd.js} +1 -1
- package/dist/chunks/{event-feed-4p2y0qs3.js → options-y56ann6c.js} +2 -2
- package/dist/chunks/{event-feed-b4mqtccx.js → options-zzxz7279.js} +2 -2
- package/dist/content-headers.d.ts +13 -0
- package/dist/content-headers.js +12 -0
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.d.ts +1 -0
- package/dist/fetch.js +58 -54
- package/dist/handlers/agent.js +6 -6
- package/dist/handlers/artifact.js +3 -3
- package/dist/handlers/command.js +6 -6
- package/dist/handlers/config.js +6 -6
- package/dist/handlers/credential.js +7 -7
- package/dist/handlers/debug.js +6 -6
- package/dist/handlers/event.js +7 -7
- package/dist/handlers/form.js +6 -6
- package/dist/handlers/fs.js +7 -6
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/job.d.ts +51 -0
- package/dist/handlers/job.js +7 -0
- package/dist/handlers/location.js +6 -6
- package/dist/handlers/mcp.js +8 -8
- package/dist/handlers/media.js +2 -1
- package/dist/handlers/message.js +7 -7
- package/dist/handlers/migration.js +6 -6
- package/dist/handlers/model.js +6 -6
- package/dist/handlers/permission.js +6 -6
- package/dist/handlers/persistent-pty.d.ts +1 -1
- package/dist/handlers/persistent-pty.js +13 -11
- package/dist/handlers/plugin.js +6 -6
- package/dist/handlers/project.js +6 -6
- package/dist/handlers/provider.js +6 -6
- package/dist/handlers/pty-socket.d.ts +2 -0
- package/dist/handlers/pty-socket.js +4 -2
- package/dist/handlers/pty.js +8 -8
- package/dist/handlers/reference.js +6 -6
- package/dist/handlers/rpc.js +6 -6
- package/dist/handlers/schedule.js +2 -2
- package/dist/handlers/server.js +9 -9
- package/dist/handlers/session-error.js +1 -1
- package/dist/handlers/session.js +7 -7
- package/dist/handlers/shell.js +6 -6
- package/dist/handlers/skill.js +6 -6
- package/dist/handlers/usage.js +6 -6
- package/dist/handlers/vcs.js +6 -6
- package/dist/handlers/voice.js +6 -6
- package/dist/handlers/websearch.js +6 -6
- package/dist/handlers/worktree.js +6 -6
- package/dist/handlers.d.ts +1 -1
- package/dist/handlers.js +50 -48
- package/dist/location.js +4 -4
- package/dist/media-uri.js +1 -1
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/form-location.js +3 -3
- package/dist/middleware/schema-error.js +1 -1
- package/dist/middleware/session-location.js +3 -3
- package/dist/options.d.ts +7 -0
- package/dist/options.js +1 -0
- package/dist/pairing.js +3 -3
- package/dist/process.d.ts +1 -0
- package/dist/process.js +63 -58
- package/dist/request-site.d.ts +11 -0
- package/dist/request-site.js +11 -0
- package/dist/request-tracing.d.ts +2 -2
- package/dist/request-tracing.js +1 -1
- package/dist/routes.js +53 -51
- package/dist/server-info.js +5 -5
- package/dist/service-status.js +3 -3
- package/dist/workerd.d.ts +2 -0
- package/dist/workerd.js +61 -56
- package/package.json +11 -11
- /package/dist/chunks/{event-feed-9rqn6x4v.js → options-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-feed-bd8755ek.js → options-bd8755ek.js} +0 -0
- /package/dist/chunks/{event-feed-q4bn6dy8.js → options-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{event-feed-smaf4a18.js → options-smaf4a18.js} +0 -0
- /package/dist/chunks/{event-feed-xthc02cw.js → options-xthc02cw.js} +0 -0
- /package/dist/chunks/{event-feed-yc7nft6q.js → options-yc7nft6q.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./options-gymtz25n.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./options-v7p1kzzd.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/command.ts
|
|
9
9
|
import { Command } from "@opencode/core/command";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * as ContentHeaders from "./content-headers";
|
|
2
|
+
export declare const CONTENT_SECURITY_POLICY = "default-src 'none'; img-src 'self'; media-src 'self'; sandbox";
|
|
3
|
+
/** Headers for raw file bytes: always a download, never rendered as a page on the server's origin. */
|
|
4
|
+
export declare function download(input: {
|
|
5
|
+
readonly path?: string;
|
|
6
|
+
readonly mime: string;
|
|
7
|
+
}): {
|
|
8
|
+
"content-type": string;
|
|
9
|
+
"content-disposition": string;
|
|
10
|
+
"content-security-policy": string;
|
|
11
|
+
"x-content-type-options": string;
|
|
12
|
+
};
|
|
13
|
+
export declare function disposition(name: string): string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CONTENT_SECURITY_POLICY2,
|
|
3
|
+
download2,
|
|
4
|
+
disposition2,
|
|
5
|
+
exports_content_headers
|
|
6
|
+
} from "./chunks/options-t32e1bbt.js";
|
|
7
|
+
export {
|
|
8
|
+
CONTENT_SECURITY_POLICY2 as CONTENT_SECURITY_POLICY,
|
|
9
|
+
exports_content_headers as ContentHeaders,
|
|
10
|
+
disposition2 as disposition,
|
|
11
|
+
download2 as download
|
|
12
|
+
};
|
package/dist/cors.js
CHANGED
package/dist/event-feed.js
CHANGED
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
SubscriberCapacity2,
|
|
3
3
|
SubscriberOverflowError2,
|
|
4
4
|
EncodingError2,
|
|
5
|
-
|
|
5
|
+
Service4,
|
|
6
6
|
frame2,
|
|
7
7
|
make4,
|
|
8
|
-
|
|
8
|
+
layer4,
|
|
9
9
|
exports_event_feed
|
|
10
|
-
} from "./chunks/
|
|
10
|
+
} from "./chunks/options-wecgp61r.js";
|
|
11
11
|
export {
|
|
12
12
|
EncodingError2 as EncodingError,
|
|
13
13
|
exports_event_feed as EventFeed,
|
|
14
|
-
|
|
14
|
+
Service4 as Service,
|
|
15
15
|
SubscriberCapacity2 as SubscriberCapacity,
|
|
16
16
|
SubscriberOverflowError2 as SubscriberOverflowError,
|
|
17
17
|
frame2 as frame,
|
|
18
|
-
|
|
18
|
+
layer4 as layer,
|
|
19
19
|
make4 as make
|
|
20
20
|
};
|
package/dist/fetch.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ export declare const make: (options?: {
|
|
|
62
62
|
readonly fetch?: boolean | undefined;
|
|
63
63
|
readonly snapshot?: boolean | undefined;
|
|
64
64
|
} | undefined;
|
|
65
|
+
readonly fetch?: import("@opencode/util/effect/app-node-platform").Fetch | undefined;
|
|
65
66
|
readonly config?: {
|
|
66
67
|
readonly directory?: string | undefined;
|
|
67
68
|
readonly project?: boolean | undefined;
|
package/dist/fetch.js
CHANGED
|
@@ -1,59 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
make2,
|
|
3
3
|
exports_fetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import"./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/
|
|
14
|
-
import"./chunks/
|
|
15
|
-
import"./chunks/
|
|
16
|
-
import"./chunks/
|
|
17
|
-
import"./chunks/
|
|
18
|
-
import"./chunks/
|
|
19
|
-
import"./chunks/
|
|
20
|
-
import"./chunks/
|
|
21
|
-
import"./chunks/
|
|
22
|
-
import"./chunks/
|
|
23
|
-
import"./chunks/
|
|
24
|
-
import"./chunks/
|
|
25
|
-
import"./chunks/
|
|
26
|
-
import"./chunks/
|
|
27
|
-
import"./chunks/
|
|
28
|
-
import"./chunks/
|
|
29
|
-
import"./chunks/
|
|
30
|
-
import"./chunks/
|
|
31
|
-
import"./chunks/
|
|
32
|
-
import"./chunks/
|
|
33
|
-
import"./chunks/
|
|
34
|
-
import"./chunks/
|
|
35
|
-
import"./chunks/
|
|
36
|
-
import"./chunks/
|
|
37
|
-
import"./chunks/
|
|
38
|
-
import"./chunks/
|
|
39
|
-
import"./chunks/
|
|
40
|
-
import"./chunks/
|
|
41
|
-
import"./chunks/
|
|
42
|
-
import"./chunks/
|
|
43
|
-
import"./chunks/
|
|
44
|
-
import"./chunks/
|
|
45
|
-
import"./chunks/
|
|
46
|
-
import"./chunks/
|
|
47
|
-
import"./chunks/
|
|
48
|
-
import"./chunks/
|
|
49
|
-
import"./chunks/
|
|
50
|
-
import"./chunks/
|
|
51
|
-
import"./chunks/
|
|
52
|
-
import"./chunks/
|
|
53
|
-
import"./chunks/
|
|
54
|
-
import"./chunks/
|
|
55
|
-
import"./chunks/
|
|
4
|
+
} from "./chunks/options-kgr24bct.js";
|
|
5
|
+
import"./chunks/options-3k93sd3m.js";
|
|
6
|
+
import"./chunks/options-bd8755ek.js";
|
|
7
|
+
import"./chunks/options-7b9xm1qg.js";
|
|
8
|
+
import"./chunks/options-q59gseq4.js";
|
|
9
|
+
import"./chunks/options-f0kpaq89.js";
|
|
10
|
+
import"./chunks/options-j6d0mxrp.js";
|
|
11
|
+
import"./chunks/options-axx4wwen.js";
|
|
12
|
+
import"./chunks/options-vyzvby0b.js";
|
|
13
|
+
import"./chunks/options-b5crh3ce.js";
|
|
14
|
+
import"./chunks/options-q7gnt7ra.js";
|
|
15
|
+
import"./chunks/options-rbck9dgd.js";
|
|
16
|
+
import"./chunks/options-0r9ve3h3.js";
|
|
17
|
+
import"./chunks/options-zzxz7279.js";
|
|
18
|
+
import"./chunks/options-82vbxjqd.js";
|
|
19
|
+
import"./chunks/options-85kbrn7y.js";
|
|
20
|
+
import"./chunks/options-5km4ra1j.js";
|
|
21
|
+
import"./chunks/options-9f2aybte.js";
|
|
22
|
+
import"./chunks/options-y56ann6c.js";
|
|
23
|
+
import"./chunks/options-mam5ppd3.js";
|
|
24
|
+
import"./chunks/options-hr24310e.js";
|
|
25
|
+
import"./chunks/options-e0z6mnzj.js";
|
|
26
|
+
import"./chunks/options-xfynz25m.js";
|
|
27
|
+
import"./chunks/options-4xzps9pr.js";
|
|
28
|
+
import"./chunks/options-9q55v56g.js";
|
|
29
|
+
import"./chunks/options-xad49dn3.js";
|
|
30
|
+
import"./chunks/options-62bfwtjc.js";
|
|
31
|
+
import"./chunks/options-dczgzh3x.js";
|
|
32
|
+
import"./chunks/options-j1bh82b8.js";
|
|
33
|
+
import"./chunks/options-dx07zb36.js";
|
|
34
|
+
import"./chunks/options-va7wgp70.js";
|
|
35
|
+
import"./chunks/options-j77vxdbh.js";
|
|
36
|
+
import"./chunks/options-s9jd931e.js";
|
|
37
|
+
import"./chunks/options-f96zeczf.js";
|
|
38
|
+
import"./chunks/options-32zxn73z.js";
|
|
39
|
+
import"./chunks/options-j4at0y5c.js";
|
|
40
|
+
import"./chunks/options-7jx462hf.js";
|
|
41
|
+
import"./chunks/options-059rbh9c.js";
|
|
42
|
+
import"./chunks/options-02a60aws.js";
|
|
43
|
+
import"./chunks/options-78rcgzsr.js";
|
|
44
|
+
import"./chunks/options-q187pxxd.js";
|
|
45
|
+
import"./chunks/options-djr0jy89.js";
|
|
46
|
+
import"./chunks/options-xwy6frfd.js";
|
|
47
|
+
import"./chunks/options-xthc02cw.js";
|
|
48
|
+
import"./chunks/options-t32e1bbt.js";
|
|
49
|
+
import"./chunks/options-v7p1kzzd.js";
|
|
50
|
+
import"./chunks/options-ddnay6e1.js";
|
|
51
|
+
import"./chunks/options-x74w7e1f.js";
|
|
52
|
+
import"./chunks/options-kqr36gas.js";
|
|
53
|
+
import"./chunks/options-gymtz25n.js";
|
|
54
|
+
import"./chunks/options-smaf4a18.js";
|
|
55
|
+
import"./chunks/options-3te71694.js";
|
|
56
|
+
import"./chunks/options-wecgp61r.js";
|
|
57
|
+
import"./chunks/options-hmwn16zp.js";
|
|
58
|
+
import"./chunks/options-yc7nft6q.js";
|
|
59
|
+
import"./chunks/options-q4bn6dy8.js";
|
|
56
60
|
export {
|
|
57
61
|
exports_fetch as ServerFetch,
|
|
58
|
-
|
|
62
|
+
make2 as make
|
|
59
63
|
};
|
package/dist/handlers/agent.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-xad49dn3.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
AgentHandler2 as AgentHandler
|
|
11
11
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeArtifact2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-02a60aws.js";
|
|
4
|
+
import"../chunks/options-gymtz25n.js";
|
|
5
|
+
import"../chunks/options-smaf4a18.js";
|
|
6
6
|
export {
|
|
7
7
|
makeArtifact2 as makeArtifact
|
|
8
8
|
};
|
package/dist/handlers/command.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CommandHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-zzxz7279.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
CommandHandler2 as CommandHandler
|
|
11
11
|
};
|
package/dist/handlers/config.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ConfigHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-e0z6mnzj.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
ConfigHandler2 as ConfigHandler
|
|
11
11
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CredentialHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-j1bh82b8.js";
|
|
4
|
+
import"../chunks/options-j77vxdbh.js";
|
|
5
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
6
|
+
import"../chunks/options-ddnay6e1.js";
|
|
7
|
+
import"../chunks/options-x74w7e1f.js";
|
|
8
|
+
import"../chunks/options-gymtz25n.js";
|
|
9
|
+
import"../chunks/options-smaf4a18.js";
|
|
10
10
|
export {
|
|
11
11
|
CredentialHandler2 as CredentialHandler
|
|
12
12
|
};
|
package/dist/handlers/debug.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DebugHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-j6d0mxrp.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
DebugHandler2 as DebugHandler
|
|
11
11
|
};
|
package/dist/handlers/event.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EventHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-32zxn73z.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
|
+
import"../chunks/options-wecgp61r.js";
|
|
10
10
|
export {
|
|
11
11
|
EventHandler2 as EventHandler
|
|
12
12
|
};
|
package/dist/handlers/form.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FormHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-vyzvby0b.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
FormHandler2 as FormHandler
|
|
11
11
|
};
|
package/dist/handlers/fs.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FileSystemHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-dx07zb36.js";
|
|
4
|
+
import"../chunks/options-t32e1bbt.js";
|
|
5
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
6
|
+
import"../chunks/options-ddnay6e1.js";
|
|
7
|
+
import"../chunks/options-x74w7e1f.js";
|
|
8
|
+
import"../chunks/options-gymtz25n.js";
|
|
9
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
10
|
export {
|
|
10
11
|
FileSystemHandler2 as FileSystemHandler
|
|
11
12
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenerateHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-dczgzh3x.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
GenerateHandler2 as GenerateHandler
|
|
11
11
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requireConnectable2,
|
|
3
3
|
IntegrationHandler2
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/options-j77vxdbh.js";
|
|
5
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
6
|
+
import"../chunks/options-ddnay6e1.js";
|
|
7
|
+
import"../chunks/options-x74w7e1f.js";
|
|
8
|
+
import"../chunks/options-gymtz25n.js";
|
|
9
|
+
import"../chunks/options-smaf4a18.js";
|
|
10
10
|
export {
|
|
11
11
|
IntegrationHandler2 as IntegrationHandler,
|
|
12
12
|
requireConnectable2 as requireConnectable
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Job } from "@opencode/core/job";
|
|
2
|
+
import { Session } from "@opencode/core/session";
|
|
3
|
+
import { Effect } from "effect";
|
|
4
|
+
/** `job.*` in the `server.experimental` group. */
|
|
5
|
+
export declare const makeJob: Effect.Effect<{
|
|
6
|
+
list: (query: {
|
|
7
|
+
readonly sessionID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
8
|
+
readonly kind?: "image" | "shell" | "subagent" | undefined;
|
|
9
|
+
readonly status?: "cancelled" | "completed" | "error" | "running" | undefined;
|
|
10
|
+
readonly descendants?: boolean | undefined;
|
|
11
|
+
}) => Effect.Effect<{
|
|
12
|
+
data: ({
|
|
13
|
+
readonly id: string;
|
|
14
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
15
|
+
readonly status: "cancelled" | "completed" | "error" | "running";
|
|
16
|
+
readonly title?: string | undefined;
|
|
17
|
+
readonly time: {
|
|
18
|
+
readonly started: number;
|
|
19
|
+
readonly completed?: number | undefined;
|
|
20
|
+
};
|
|
21
|
+
readonly kind: "shell";
|
|
22
|
+
readonly shellID: string;
|
|
23
|
+
readonly command: string;
|
|
24
|
+
} | {
|
|
25
|
+
readonly id: string;
|
|
26
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
27
|
+
readonly status: "cancelled" | "completed" | "error" | "running";
|
|
28
|
+
readonly title?: string | undefined;
|
|
29
|
+
readonly time: {
|
|
30
|
+
readonly started: number;
|
|
31
|
+
readonly completed?: number | undefined;
|
|
32
|
+
};
|
|
33
|
+
readonly kind: "subagent";
|
|
34
|
+
readonly childSessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
35
|
+
readonly agent: string;
|
|
36
|
+
readonly description: string;
|
|
37
|
+
} | {
|
|
38
|
+
readonly id: string;
|
|
39
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
40
|
+
readonly status: "cancelled" | "completed" | "error" | "running";
|
|
41
|
+
readonly title?: string | undefined;
|
|
42
|
+
readonly time: {
|
|
43
|
+
readonly started: number;
|
|
44
|
+
readonly completed?: number | undefined;
|
|
45
|
+
};
|
|
46
|
+
readonly kind: "image";
|
|
47
|
+
readonly path: string;
|
|
48
|
+
readonly model: string;
|
|
49
|
+
})[];
|
|
50
|
+
}, import("@opencode/protocol/errors").SessionNotFoundError, never>;
|
|
51
|
+
}, never, Job.Service | Session.Service>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocationHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-f0kpaq89.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
LocationHandler2 as LocationHandler
|
|
11
11
|
};
|
package/dist/handlers/mcp.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
McpHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-82vbxjqd.js";
|
|
4
|
+
import"../chunks/options-q187pxxd.js";
|
|
5
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
6
|
+
import"../chunks/options-ddnay6e1.js";
|
|
7
|
+
import"../chunks/options-x74w7e1f.js";
|
|
8
|
+
import"../chunks/options-gymtz25n.js";
|
|
9
|
+
import"../chunks/options-smaf4a18.js";
|
|
10
|
+
import"../chunks/options-q4bn6dy8.js";
|
|
11
11
|
export {
|
|
12
12
|
McpHandler2 as McpHandler
|
|
13
13
|
};
|
package/dist/handlers/media.js
CHANGED
package/dist/handlers/message.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MessageHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-b5crh3ce.js";
|
|
4
|
+
import"../chunks/options-xthc02cw.js";
|
|
5
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
6
|
+
import"../chunks/options-ddnay6e1.js";
|
|
7
|
+
import"../chunks/options-x74w7e1f.js";
|
|
8
|
+
import"../chunks/options-gymtz25n.js";
|
|
9
|
+
import"../chunks/options-smaf4a18.js";
|
|
10
10
|
export {
|
|
11
11
|
MessageHandler2 as MessageHandler
|
|
12
12
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MigrationHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-xwy6frfd.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
MigrationHandler2 as MigrationHandler
|
|
11
11
|
};
|
package/dist/handlers/model.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-y56ann6c.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
ModelHandler2 as ModelHandler
|
|
11
11
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PermissionHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-q7gnt7ra.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
PermissionHandler2 as PermissionHandler
|
|
11
11
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
2
2
|
import { PtyTicket } from "@opencode/core/pty/ticket";
|
|
3
|
-
export declare const PersistentPtyHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.experimental">, never, import("@opencode/
|
|
3
|
+
export declare const PersistentPtyHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.experimental">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/core/database/database").Service | import("@opencode/core/kv").Service | import("@opencode/core/job").Service | import("@opencode/core/location-service-map").Service | import("@opencode/core/session").Service | PersistentPty.Service | import("@opencode/core/schedule").Service | PtyTicket.Service>;
|