@opencode/client 0.0.0-dev-203 → 0.0.0-dev-216
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-18xz77sd.js → contract-15p82y03.js} +5 -5
- package/dist/chunks/{service-8ye1ye6f.js → contract-2ny4vxct.js} +2 -2
- package/dist/chunks/{service-khkm0pf7.js → contract-csehnca4.js} +1 -1
- package/dist/chunks/{service-0f3b9fnq.js → contract-cvg5j6d1.js} +2 -1
- package/dist/chunks/{service-znq785sc.js → contract-e4dem3g3.js} +19 -19
- package/dist/chunks/{service-sqcsh66p.js → contract-gecjxyvt.js} +4 -4
- package/dist/chunks/{service-nn94b6ph.js → contract-jndfjhn3.js} +2 -2
- package/dist/chunks/{service-z11mztjj.js → contract-kdshn947.js} +1 -1
- package/dist/chunks/{service-js54wxgp.js → contract-nwcpakzx.js} +2 -2
- package/dist/chunks/contract-p0cwenbx.js +30 -0
- package/dist/chunks/{service-j4snqxar.js → contract-r76mn47y.js} +32 -10
- package/dist/chunks/{service-ryy6kscr.js → contract-ryy6kscr.js} +1 -1
- package/dist/chunks/{service-7f0py9js.js → contract-y2etg5bs.js} +2 -2
- package/dist/chunks/{service-sp3vqdnr.js → contract-yn2a71yh.js} +71 -19
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +43 -0
- package/dist/effect/client.d.ts +156 -0
- package/dist/effect/client.js +12 -12
- package/dist/effect/generated/client-error.js +3 -3
- package/dist/effect/generated/client.d.ts +157 -1
- 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 +8 -0
- package/dist/promise/client.js +11 -11
- package/dist/promise/generated/client-error.js +3 -3
- package/dist/promise/generated/client.d.ts +9 -1
- package/dist/promise/generated/client.js +4 -4
- package/dist/promise/generated/index.js +11 -9
- package/dist/promise/generated/types.d.ts +126 -0
- package/dist/promise/generated/types.js +3 -1
- package/dist/promise/index.js +15 -13
- 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 +3 -3
- package/dist/solid/connection.js +1 -1
- 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/service-yrcbssy3.js +0 -30
- /package/dist/chunks/{service-60xe5cbf.js → contract-60xe5cbf.js} +0 -0
- /package/dist/chunks/{service-6mptkzbc.js → contract-6mptkzbc.js} +0 -0
- /package/dist/chunks/{service-6mq2wh8y.js → contract-6mq2wh8y.js} +0 -0
- /package/dist/chunks/{service-8s2anffy.js → contract-8s2anffy.js} +0 -0
- /package/dist/chunks/{service-9rqn6x4v.js → contract-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-gne7h7mq.js → contract-gne7h7mq.js} +0 -0
- /package/dist/chunks/{service-m2eywc8w.js → contract-m2eywc8w.js} +0 -0
- /package/dist/chunks/{service-qav6mfdz.js → contract-qav6mfdz.js} +0 -0
- /package/dist/chunks/{service-sxt88q69.js → contract-sxt88q69.js} +0 -0
- /package/dist/chunks/{service-ve4aws36.js → contract-ve4aws36.js} +0 -0
- /package/dist/chunks/{service-vyas3vgt.js → contract-vyas3vgt.js} +0 -0
- /package/dist/chunks/{service-xgnj2w4v.js → contract-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{service-ydhz1zrh.js → contract-ydhz1zrh.js} +0 -0
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import"../../chunks/
|
|
1
|
+
import"../../chunks/contract-vyas3vgt.js";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../chunks/
|
|
5
|
-
import {
|
|
6
|
-
ClientError2
|
|
7
|
-
} from "../../chunks/service-js54wxgp.js";
|
|
3
|
+
exports_client4
|
|
4
|
+
} from "../../chunks/contract-yn2a71yh.js";
|
|
8
5
|
import {
|
|
9
6
|
isInvalidRequestError2,
|
|
10
7
|
isUnauthorizedError2,
|
|
@@ -41,13 +38,17 @@ import {
|
|
|
41
38
|
isRpcError2,
|
|
42
39
|
isRpcInternalError2,
|
|
43
40
|
isPtyNotFoundError2,
|
|
41
|
+
isScheduleNotFoundError2,
|
|
44
42
|
isShellNotFoundError2,
|
|
45
43
|
isWorktreeError2,
|
|
46
44
|
isVcsInitNotSupportedError2
|
|
47
|
-
} from "../../chunks/
|
|
45
|
+
} from "../../chunks/contract-cvg5j6d1.js";
|
|
46
|
+
import {
|
|
47
|
+
ClientError3
|
|
48
|
+
} from "../../chunks/contract-nwcpakzx.js";
|
|
48
49
|
export {
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
ClientError3 as ClientError,
|
|
51
|
+
exports_client4 as OpenCode,
|
|
51
52
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
52
53
|
isCommandExecutionError2 as isCommandExecutionError,
|
|
53
54
|
isCommandNotFoundError2 as isCommandNotFoundError,
|
|
@@ -76,6 +77,7 @@ export {
|
|
|
76
77
|
isPtyNotFoundError2 as isPtyNotFoundError,
|
|
77
78
|
isRpcError2 as isRpcError,
|
|
78
79
|
isRpcInternalError2 as isRpcInternalError,
|
|
80
|
+
isScheduleNotFoundError2 as isScheduleNotFoundError,
|
|
79
81
|
isServiceUnavailableError2 as isServiceUnavailableError,
|
|
80
82
|
isSessionBusyError2 as isSessionBusyError,
|
|
81
83
|
isSessionNotFoundError2 as isSessionNotFoundError,
|
|
@@ -466,6 +466,24 @@ export type PersistentPtyHandoff = {
|
|
|
466
466
|
ticket: string;
|
|
467
467
|
expiresAt: number;
|
|
468
468
|
};
|
|
469
|
+
export type ScheduleID = string;
|
|
470
|
+
export type ScheduleDuration = string;
|
|
471
|
+
export type ScheduleWhenAt = {
|
|
472
|
+
type: "at";
|
|
473
|
+
at: string;
|
|
474
|
+
tz?: string;
|
|
475
|
+
};
|
|
476
|
+
export type ScheduleWhenCron = {
|
|
477
|
+
type: "cron";
|
|
478
|
+
cron: string;
|
|
479
|
+
tz?: string;
|
|
480
|
+
};
|
|
481
|
+
export type ScheduleActionPrompt = {
|
|
482
|
+
type: "prompt";
|
|
483
|
+
prompt: string;
|
|
484
|
+
};
|
|
485
|
+
export type ScheduleStatus = "active" | "paused" | "done";
|
|
486
|
+
export type ScheduleOutcome = "fired" | "late" | "skipped" | "disabled" | "failed";
|
|
469
487
|
export type ReferenceGitSource = {
|
|
470
488
|
type: "git";
|
|
471
489
|
repository: string;
|
|
@@ -1189,6 +1207,17 @@ export type FormMultiselectField1 = {
|
|
|
1189
1207
|
export type FormAnswer1 = {
|
|
1190
1208
|
[x: string]: FormValue1;
|
|
1191
1209
|
};
|
|
1210
|
+
export type ScheduleWhenIn = {
|
|
1211
|
+
type: "in";
|
|
1212
|
+
in: ScheduleDuration;
|
|
1213
|
+
tz?: string;
|
|
1214
|
+
};
|
|
1215
|
+
export type ScheduleWhenEvery = {
|
|
1216
|
+
type: "every";
|
|
1217
|
+
every: ScheduleDuration;
|
|
1218
|
+
tz?: string;
|
|
1219
|
+
};
|
|
1220
|
+
export type ScheduleAction = ScheduleActionPrompt;
|
|
1192
1221
|
export type VcsInfo = {
|
|
1193
1222
|
provider?: string;
|
|
1194
1223
|
branch: VcsBranch;
|
|
@@ -2938,6 +2967,7 @@ export type FormReplied = {
|
|
|
2938
2967
|
answer: FormAnswer1;
|
|
2939
2968
|
};
|
|
2940
2969
|
};
|
|
2970
|
+
export type ScheduleWhen = ScheduleWhenIn | ScheduleWhenAt | ScheduleWhenEvery | ScheduleWhenCron;
|
|
2941
2971
|
export type SessionInboxMove = {
|
|
2942
2972
|
id: SessionMessageID;
|
|
2943
2973
|
sessionID: SessionID;
|
|
@@ -3369,6 +3399,11 @@ export type ConfigEntry = {
|
|
|
3369
3399
|
todo?: boolean;
|
|
3370
3400
|
background_compaction?: boolean;
|
|
3371
3401
|
media_blob?: boolean;
|
|
3402
|
+
image_model?: string | {
|
|
3403
|
+
providerID: string;
|
|
3404
|
+
model: string;
|
|
3405
|
+
variant?: string;
|
|
3406
|
+
};
|
|
3372
3407
|
schedules?: boolean;
|
|
3373
3408
|
subagent_depth?: number;
|
|
3374
3409
|
location_idle_timeout?: string | false;
|
|
@@ -3463,6 +3498,25 @@ export type CredentialEntry = {
|
|
|
3463
3498
|
value: CredentialValue;
|
|
3464
3499
|
};
|
|
3465
3500
|
export type FormFields2 = [FormField1, ...Array<FormField1>];
|
|
3501
|
+
export type ScheduleInfo = {
|
|
3502
|
+
id: ScheduleID;
|
|
3503
|
+
sessionID?: SessionID;
|
|
3504
|
+
name?: string;
|
|
3505
|
+
when: ScheduleWhen;
|
|
3506
|
+
tz: string;
|
|
3507
|
+
action: ScheduleAction;
|
|
3508
|
+
status: ScheduleStatus;
|
|
3509
|
+
nextDueAt?: number;
|
|
3510
|
+
endsAt?: number;
|
|
3511
|
+
remainingRuns?: number;
|
|
3512
|
+
runCount: number;
|
|
3513
|
+
lastFiredAt?: number;
|
|
3514
|
+
lastOutcome?: ScheduleOutcome;
|
|
3515
|
+
time: {
|
|
3516
|
+
created: number;
|
|
3517
|
+
updated: number;
|
|
3518
|
+
};
|
|
3519
|
+
};
|
|
3466
3520
|
export type AgentInfo = {
|
|
3467
3521
|
id: AgentID;
|
|
3468
3522
|
name: string;
|
|
@@ -3851,6 +3905,12 @@ export type PtyNotFoundError = {
|
|
|
3851
3905
|
readonly message: string;
|
|
3852
3906
|
};
|
|
3853
3907
|
export declare const isPtyNotFoundError: (value: unknown) => value is PtyNotFoundError;
|
|
3908
|
+
export type ScheduleNotFoundError = {
|
|
3909
|
+
readonly _tag: "ScheduleNotFoundError";
|
|
3910
|
+
readonly scheduleID: string;
|
|
3911
|
+
readonly message: string;
|
|
3912
|
+
};
|
|
3913
|
+
export declare const isScheduleNotFoundError: (value: unknown) => value is ScheduleNotFoundError;
|
|
3854
3914
|
export type ShellNotFoundError = {
|
|
3855
3915
|
readonly _tag: "ShellNotFoundError";
|
|
3856
3916
|
readonly id: string;
|
|
@@ -5283,6 +5343,72 @@ export type ExperimentalMediaGetInput = {
|
|
|
5283
5343
|
readonly hash: string;
|
|
5284
5344
|
};
|
|
5285
5345
|
export type ExperimentalMediaGetOutput = globalThis.Uint8Array;
|
|
5346
|
+
export type ExperimentalScheduleCreateInput = {
|
|
5347
|
+
readonly sessionID: string;
|
|
5348
|
+
readonly name?: string | undefined;
|
|
5349
|
+
readonly when: {
|
|
5350
|
+
readonly in: string;
|
|
5351
|
+
readonly at?: never;
|
|
5352
|
+
readonly every?: never;
|
|
5353
|
+
readonly cron?: never;
|
|
5354
|
+
readonly tz?: string;
|
|
5355
|
+
} | {
|
|
5356
|
+
readonly at: string;
|
|
5357
|
+
readonly in?: never;
|
|
5358
|
+
readonly every?: never;
|
|
5359
|
+
readonly cron?: never;
|
|
5360
|
+
readonly tz?: string;
|
|
5361
|
+
} | {
|
|
5362
|
+
readonly every: string;
|
|
5363
|
+
readonly in?: never;
|
|
5364
|
+
readonly at?: never;
|
|
5365
|
+
readonly cron?: never;
|
|
5366
|
+
readonly tz?: string;
|
|
5367
|
+
} | {
|
|
5368
|
+
readonly cron: string;
|
|
5369
|
+
readonly in?: never;
|
|
5370
|
+
readonly at?: never;
|
|
5371
|
+
readonly every?: never;
|
|
5372
|
+
readonly tz?: string;
|
|
5373
|
+
};
|
|
5374
|
+
readonly ends?: {
|
|
5375
|
+
readonly after?: string;
|
|
5376
|
+
readonly at?: string;
|
|
5377
|
+
readonly times?: number;
|
|
5378
|
+
} | undefined;
|
|
5379
|
+
readonly prompt: string;
|
|
5380
|
+
};
|
|
5381
|
+
export type ExperimentalScheduleCreateOutput = {
|
|
5382
|
+
data: ScheduleInfo;
|
|
5383
|
+
}["data"];
|
|
5384
|
+
export type ExperimentalScheduleListInput = {
|
|
5385
|
+
readonly sessionID: string;
|
|
5386
|
+
};
|
|
5387
|
+
export type ExperimentalScheduleListOutput = {
|
|
5388
|
+
data: Array<ScheduleInfo>;
|
|
5389
|
+
}["data"];
|
|
5390
|
+
export type ExperimentalScheduleGetInput = {
|
|
5391
|
+
readonly scheduleID: string;
|
|
5392
|
+
};
|
|
5393
|
+
export type ExperimentalScheduleGetOutput = {
|
|
5394
|
+
data: ScheduleInfo;
|
|
5395
|
+
}["data"];
|
|
5396
|
+
export type ExperimentalSchedulePauseInput = {
|
|
5397
|
+
readonly scheduleID: string;
|
|
5398
|
+
};
|
|
5399
|
+
export type ExperimentalSchedulePauseOutput = {
|
|
5400
|
+
data: ScheduleInfo;
|
|
5401
|
+
}["data"];
|
|
5402
|
+
export type ExperimentalScheduleResumeInput = {
|
|
5403
|
+
readonly scheduleID: string;
|
|
5404
|
+
};
|
|
5405
|
+
export type ExperimentalScheduleResumeOutput = {
|
|
5406
|
+
data: ScheduleInfo;
|
|
5407
|
+
}["data"];
|
|
5408
|
+
export type ExperimentalScheduleDeleteInput = {
|
|
5409
|
+
readonly scheduleID: string;
|
|
5410
|
+
};
|
|
5411
|
+
export type ExperimentalScheduleDeleteOutput = void;
|
|
5286
5412
|
export type ShellListInput = {
|
|
5287
5413
|
readonly location?: {
|
|
5288
5414
|
readonly directory?: string | undefined;
|
|
@@ -34,10 +34,11 @@ import {
|
|
|
34
34
|
isRpcError2,
|
|
35
35
|
isRpcInternalError2,
|
|
36
36
|
isPtyNotFoundError2,
|
|
37
|
+
isScheduleNotFoundError2,
|
|
37
38
|
isShellNotFoundError2,
|
|
38
39
|
isWorktreeError2,
|
|
39
40
|
isVcsInitNotSupportedError2
|
|
40
|
-
} from "../../chunks/
|
|
41
|
+
} from "../../chunks/contract-cvg5j6d1.js";
|
|
41
42
|
export {
|
|
42
43
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
43
44
|
isCommandExecutionError2 as isCommandExecutionError,
|
|
@@ -67,6 +68,7 @@ export {
|
|
|
67
68
|
isPtyNotFoundError2 as isPtyNotFoundError,
|
|
68
69
|
isRpcError2 as isRpcError,
|
|
69
70
|
isRpcInternalError2 as isRpcInternalError,
|
|
71
|
+
isScheduleNotFoundError2 as isScheduleNotFoundError,
|
|
70
72
|
isServiceUnavailableError2 as isServiceUnavailableError,
|
|
71
73
|
isSessionBusyError2 as isSessionBusyError,
|
|
72
74
|
isSessionNotFoundError2 as isSessionNotFoundError,
|
package/dist/promise/index.js
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import"../chunks/
|
|
1
|
+
import"../chunks/contract-m2eywc8w.js";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import
|
|
8
|
-
ClientError2
|
|
9
|
-
} from "../chunks/service-js54wxgp.js";
|
|
10
|
-
import"../chunks/service-z11mztjj.js";
|
|
3
|
+
exports_client3
|
|
4
|
+
} from "../chunks/contract-p0cwenbx.js";
|
|
5
|
+
import"../chunks/contract-vyas3vgt.js";
|
|
6
|
+
import"../chunks/contract-yn2a71yh.js";
|
|
7
|
+
import"../chunks/contract-kdshn947.js";
|
|
11
8
|
import {
|
|
12
9
|
isInvalidRequestError2,
|
|
13
10
|
isUnauthorizedError2,
|
|
@@ -44,14 +41,18 @@ import {
|
|
|
44
41
|
isRpcError2,
|
|
45
42
|
isRpcInternalError2,
|
|
46
43
|
isPtyNotFoundError2,
|
|
44
|
+
isScheduleNotFoundError2,
|
|
47
45
|
isShellNotFoundError2,
|
|
48
46
|
isWorktreeError2,
|
|
49
47
|
isVcsInitNotSupportedError2
|
|
50
|
-
} from "../chunks/
|
|
51
|
-
import
|
|
48
|
+
} from "../chunks/contract-cvg5j6d1.js";
|
|
49
|
+
import {
|
|
50
|
+
ClientError3
|
|
51
|
+
} from "../chunks/contract-nwcpakzx.js";
|
|
52
|
+
import"../chunks/contract-gecjxyvt.js";
|
|
52
53
|
export {
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
ClientError3 as ClientError,
|
|
55
|
+
exports_client3 as OpenCode,
|
|
55
56
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
56
57
|
isCommandExecutionError2 as isCommandExecutionError,
|
|
57
58
|
isCommandNotFoundError2 as isCommandNotFoundError,
|
|
@@ -80,6 +81,7 @@ export {
|
|
|
80
81
|
isPtyNotFoundError2 as isPtyNotFoundError,
|
|
81
82
|
isRpcError2 as isRpcError,
|
|
82
83
|
isRpcInternalError2 as isRpcInternalError,
|
|
84
|
+
isScheduleNotFoundError2 as isScheduleNotFoundError,
|
|
83
85
|
isServiceUnavailableError2 as isServiceUnavailableError,
|
|
84
86
|
isSessionBusyError2 as isSessionBusyError,
|
|
85
87
|
isSessionNotFoundError2 as isSessionNotFoundError,
|
package/dist/promise/rpc.js
CHANGED
package/dist/promise/service.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spawnServiceContender2,
|
|
3
3
|
contenderPool2
|
|
4
|
-
} from "../chunks/
|
|
4
|
+
} from "../chunks/contract-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/
|
|
8
|
+
} from "../chunks/contract-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/
|
|
11
|
+
} from "../chunks/contract-sxt88q69.js";
|
|
12
12
|
import {
|
|
13
13
|
decide2,
|
|
14
14
|
fallback2,
|
|
15
15
|
same2,
|
|
16
16
|
probeResult2,
|
|
17
17
|
headers2
|
|
18
|
-
} from "../chunks/
|
|
18
|
+
} from "../chunks/contract-2ny4vxct.js";
|
|
19
19
|
import {
|
|
20
20
|
prepare2,
|
|
21
21
|
environment2,
|
|
22
22
|
complete2,
|
|
23
23
|
clear2
|
|
24
|
-
} from "../chunks/
|
|
25
|
-
import"../chunks/
|
|
24
|
+
} from "../chunks/contract-jndfjhn3.js";
|
|
25
|
+
import"../chunks/contract-qav6mfdz.js";
|
|
26
26
|
|
|
27
27
|
// src/promise/service.ts
|
|
28
28
|
import { readFile, rm } from "node:fs/promises";
|
package/dist/pty-handoff.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
complete2,
|
|
5
5
|
clear2,
|
|
6
6
|
exports_pty_handoff
|
|
7
|
-
} from "./chunks/
|
|
8
|
-
import"./chunks/
|
|
9
|
-
import"./chunks/
|
|
10
|
-
import"./chunks/
|
|
7
|
+
} from "./chunks/contract-jndfjhn3.js";
|
|
8
|
+
import"./chunks/contract-2ny4vxct.js";
|
|
9
|
+
import"./chunks/contract-sxt88q69.js";
|
|
10
|
+
import"./chunks/contract-xgnj2w4v.js";
|
|
11
11
|
export {
|
|
12
12
|
exports_pty_handoff as PtyHandoff,
|
|
13
13
|
clear2 as clear,
|
package/dist/rpc-runtime.js
CHANGED
package/dist/service-probe.js
CHANGED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
same2,
|
|
5
5
|
probeResult2,
|
|
6
6
|
headers2
|
|
7
|
-
} from "./chunks/
|
|
8
|
-
import"./chunks/
|
|
9
|
-
import"./chunks/
|
|
7
|
+
} from "./chunks/contract-2ny4vxct.js";
|
|
8
|
+
import"./chunks/contract-sxt88q69.js";
|
|
9
|
+
import"./chunks/contract-xgnj2w4v.js";
|
|
10
10
|
export {
|
|
11
11
|
decide2 as decide,
|
|
12
12
|
fallback2 as fallback,
|
package/dist/service-timing.js
CHANGED
package/dist/service-version.js
CHANGED
package/dist/service.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunks/
|
|
1
|
+
import"./chunks/contract-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/
|
|
5
|
+
} from "../chunks/contract-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/
|
|
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/contract-csehnca4.js";
|
|
6
|
+
import"../chunks/contract-m2eywc8w.js";
|
|
7
|
+
import"../chunks/contract-p0cwenbx.js";
|
|
8
|
+
import"../chunks/contract-vyas3vgt.js";
|
|
9
|
+
import"../chunks/contract-yn2a71yh.js";
|
|
10
|
+
import"../chunks/contract-kdshn947.js";
|
|
11
|
+
import"../chunks/contract-cvg5j6d1.js";
|
|
12
|
+
import"../chunks/contract-nwcpakzx.js";
|
|
13
|
+
import"../chunks/contract-gecjxyvt.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/contract-nwcpakzx.js";
|
|
2
|
+
import"../chunks/contract-yn2a71yh.js";
|
|
3
|
+
import"../chunks/contract-cvg5j6d1.js";
|
|
4
|
+
import"../chunks/contract-vyas3vgt.js";
|
|
5
|
+
import"../chunks/contract-gecjxyvt.js";
|
|
6
|
+
import"../chunks/contract-kdshn947.js";
|
|
7
|
+
import"../chunks/contract-p0cwenbx.js";
|
|
8
|
+
import"../chunks/contract-m2eywc8w.js";
|
|
9
9
|
import {
|
|
10
10
|
settleMs2,
|
|
11
11
|
locationKey2,
|
|
12
12
|
createData2
|
|
13
|
-
} from "../chunks/
|
|
13
|
+
} from "../chunks/contract-csehnca4.js";
|
|
14
14
|
import {
|
|
15
15
|
defaultIdleTimeout2,
|
|
16
16
|
foregroundIdleThreshold2,
|
|
17
17
|
createClientConnection2
|
|
18
|
-
} from "../chunks/
|
|
18
|
+
} from "../chunks/contract-ydhz1zrh.js";
|
|
19
19
|
import {
|
|
20
20
|
createPtyClient2,
|
|
21
21
|
createPersistentPtyClient2
|
|
22
|
-
} from "../chunks/
|
|
22
|
+
} from "../chunks/contract-gne7h7mq.js";
|
|
23
23
|
import {
|
|
24
24
|
createSessionRetention2
|
|
25
|
-
} from "../chunks/
|
|
25
|
+
} from "../chunks/contract-6mq2wh8y.js";
|
|
26
26
|
import {
|
|
27
27
|
lastAssistantWithUsage2
|
|
28
|
-
} from "../chunks/
|
|
28
|
+
} from "../chunks/contract-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-216",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"typecheck:tsc": "tsc --noEmit"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@opencode/schema": "0.0.0-dev-
|
|
67
|
-
"@opencode/protocol": "0.0.0-dev-
|
|
66
|
+
"@opencode/schema": "0.0.0-dev-216",
|
|
67
|
+
"@opencode/protocol": "0.0.0-dev-216"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"effect": "4.0.1",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@effect/platform-node": "4.0.1",
|
|
83
83
|
"@modelcontextprotocol/client": "2.3.1",
|
|
84
|
-
"@opencode/httpapi-codegen": "0.0.0-dev-
|
|
84
|
+
"@opencode/httpapi-codegen": "0.0.0-dev-216",
|
|
85
85
|
"@tsconfig/bun": "1.0.9",
|
|
86
86
|
"@types/bun": "1.4.3",
|
|
87
87
|
"@typescript/native": "npm:typescript@7.1.0-beta",
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
make6
|
|
3
|
-
} from "./service-sqcsh66p.js";
|
|
4
|
-
import {
|
|
5
|
-
make3
|
|
6
|
-
} from "./service-sp3vqdnr.js";
|
|
7
|
-
import {
|
|
8
|
-
makeRpc2
|
|
9
|
-
} from "./service-z11mztjj.js";
|
|
10
|
-
import {
|
|
11
|
-
__export
|
|
12
|
-
} from "./service-9rqn6x4v.js";
|
|
13
|
-
|
|
14
|
-
// src/promise/client.ts
|
|
15
|
-
var exports_client = {};
|
|
16
|
-
__export(exports_client, {
|
|
17
|
-
OpenCode: () => exports_client,
|
|
18
|
-
make: () => make2
|
|
19
|
-
});
|
|
20
|
-
function make2(options) {
|
|
21
|
-
const raw = make3(options);
|
|
22
|
-
const events = make6((signal, onActivity) => raw.event.subscribe(undefined, { signal, onActivity }));
|
|
23
|
-
return {
|
|
24
|
-
...raw,
|
|
25
|
-
rpc: Object.assign(makeRpc2(raw, events), raw.rpc),
|
|
26
|
-
event: events
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export { make2, exports_client };
|
|
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
|