@ex-machina/opencode-sdk 1.1.25-exmachina.1 → 1.1.25-exmachina.5
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/{gen → dist/gen}/types.gen.d.ts +8 -0
- package/{v2 → dist/v2}/gen/types.gen.d.ts +18 -10
- package/package.json +41 -9
- /package/{client.d.ts → dist/client.d.ts} +0 -0
- /package/{client.js → dist/client.js} +0 -0
- /package/{gen → dist/gen}/client/client.gen.d.ts +0 -0
- /package/{gen → dist/gen}/client/client.gen.js +0 -0
- /package/{gen → dist/gen}/client/index.d.ts +0 -0
- /package/{gen → dist/gen}/client/index.js +0 -0
- /package/{gen → dist/gen}/client/types.gen.d.ts +0 -0
- /package/{gen → dist/gen}/client/types.gen.js +0 -0
- /package/{gen → dist/gen}/client/utils.gen.d.ts +0 -0
- /package/{gen → dist/gen}/client/utils.gen.js +0 -0
- /package/{gen → dist/gen}/client.gen.d.ts +0 -0
- /package/{gen → dist/gen}/client.gen.js +0 -0
- /package/{gen → dist/gen}/core/auth.gen.d.ts +0 -0
- /package/{gen → dist/gen}/core/auth.gen.js +0 -0
- /package/{gen → dist/gen}/core/bodySerializer.gen.d.ts +0 -0
- /package/{gen → dist/gen}/core/bodySerializer.gen.js +0 -0
- /package/{gen → dist/gen}/core/params.gen.d.ts +0 -0
- /package/{gen → dist/gen}/core/params.gen.js +0 -0
- /package/{gen → dist/gen}/core/pathSerializer.gen.d.ts +0 -0
- /package/{gen → dist/gen}/core/pathSerializer.gen.js +0 -0
- /package/{gen → dist/gen}/core/serverSentEvents.gen.d.ts +0 -0
- /package/{gen → dist/gen}/core/serverSentEvents.gen.js +0 -0
- /package/{gen → dist/gen}/core/types.gen.d.ts +0 -0
- /package/{gen → dist/gen}/core/types.gen.js +0 -0
- /package/{gen → dist/gen}/core/utils.gen.d.ts +0 -0
- /package/{gen → dist/gen}/core/utils.gen.js +0 -0
- /package/{gen → dist/gen}/sdk.gen.d.ts +0 -0
- /package/{gen → dist/gen}/sdk.gen.js +0 -0
- /package/{gen → dist/gen}/types.gen.js +0 -0
- /package/{index.d.ts → dist/index.d.ts} +0 -0
- /package/{index.js → dist/index.js} +0 -0
- /package/{server.d.ts → dist/server.d.ts} +0 -0
- /package/{server.js → dist/server.js} +0 -0
- /package/{v2 → dist/v2}/client.d.ts +0 -0
- /package/{v2 → dist/v2}/client.js +0 -0
- /package/{v2 → dist/v2}/gen/client/client.gen.d.ts +0 -0
- /package/{v2 → dist/v2}/gen/client/client.gen.js +0 -0
- /package/{v2 → dist/v2}/gen/client/index.d.ts +0 -0
- /package/{v2 → dist/v2}/gen/client/index.js +0 -0
- /package/{v2 → dist/v2}/gen/client/types.gen.d.ts +0 -0
- /package/{v2 → dist/v2}/gen/client/types.gen.js +0 -0
- /package/{v2 → dist/v2}/gen/client/utils.gen.d.ts +0 -0
- /package/{v2 → dist/v2}/gen/client/utils.gen.js +0 -0
- /package/{v2 → dist/v2}/gen/client.gen.d.ts +0 -0
- /package/{v2 → dist/v2}/gen/client.gen.js +0 -0
- /package/{v2 → dist/v2}/gen/core/auth.gen.d.ts +0 -0
- /package/{v2 → dist/v2}/gen/core/auth.gen.js +0 -0
- /package/{v2 → dist/v2}/gen/core/bodySerializer.gen.d.ts +0 -0
- /package/{v2 → dist/v2}/gen/core/bodySerializer.gen.js +0 -0
- /package/{v2 → dist/v2}/gen/core/params.gen.d.ts +0 -0
- /package/{v2 → dist/v2}/gen/core/params.gen.js +0 -0
- /package/{v2 → dist/v2}/gen/core/pathSerializer.gen.d.ts +0 -0
- /package/{v2 → dist/v2}/gen/core/pathSerializer.gen.js +0 -0
- /package/{v2 → dist/v2}/gen/core/queryKeySerializer.gen.d.ts +0 -0
- /package/{v2 → dist/v2}/gen/core/queryKeySerializer.gen.js +0 -0
- /package/{v2 → dist/v2}/gen/core/serverSentEvents.gen.d.ts +0 -0
- /package/{v2 → dist/v2}/gen/core/serverSentEvents.gen.js +0 -0
- /package/{v2 → dist/v2}/gen/core/types.gen.d.ts +0 -0
- /package/{v2 → dist/v2}/gen/core/types.gen.js +0 -0
- /package/{v2 → dist/v2}/gen/core/utils.gen.d.ts +0 -0
- /package/{v2 → dist/v2}/gen/core/utils.gen.js +0 -0
- /package/{v2 → dist/v2}/gen/sdk.gen.d.ts +0 -0
- /package/{v2 → dist/v2}/gen/sdk.gen.js +0 -0
- /package/{v2 → dist/v2}/gen/types.gen.js +0 -0
- /package/{v2 → dist/v2}/index.d.ts +0 -0
- /package/{v2 → dist/v2}/index.js +0 -0
- /package/{v2 → dist/v2}/server.d.ts +0 -0
- /package/{v2 → dist/v2}/server.js +0 -0
|
@@ -703,6 +703,14 @@ export type KeybindsConfig = {
|
|
|
703
703
|
* Scroll messages down by one page
|
|
704
704
|
*/
|
|
705
705
|
messages_page_down?: string;
|
|
706
|
+
/**
|
|
707
|
+
* Scroll messages up by one line
|
|
708
|
+
*/
|
|
709
|
+
messages_line_up?: string;
|
|
710
|
+
/**
|
|
711
|
+
* Scroll messages down by one line
|
|
712
|
+
*/
|
|
713
|
+
messages_line_down?: string;
|
|
706
714
|
/**
|
|
707
715
|
* Scroll messages up by half page
|
|
708
716
|
*/
|
|
@@ -476,7 +476,7 @@ export type QuestionInfo = {
|
|
|
476
476
|
*/
|
|
477
477
|
question: string;
|
|
478
478
|
/**
|
|
479
|
-
* Very short label (max
|
|
479
|
+
* Very short label (max 30 chars)
|
|
480
480
|
*/
|
|
481
481
|
header: string;
|
|
482
482
|
/**
|
|
@@ -555,6 +555,13 @@ export type EventTodoUpdated = {
|
|
|
555
555
|
todos: Array<Todo>;
|
|
556
556
|
};
|
|
557
557
|
};
|
|
558
|
+
export type EventFileWatcherUpdated = {
|
|
559
|
+
type: "file.watcher.updated";
|
|
560
|
+
properties: {
|
|
561
|
+
file: string;
|
|
562
|
+
event: "add" | "change" | "unlink";
|
|
563
|
+
};
|
|
564
|
+
};
|
|
558
565
|
export type EventTuiPromptAppend = {
|
|
559
566
|
type: "tui.prompt.append";
|
|
560
567
|
properties: {
|
|
@@ -564,7 +571,7 @@ export type EventTuiPromptAppend = {
|
|
|
564
571
|
export type EventTuiCommandExecute = {
|
|
565
572
|
type: "tui.command.execute";
|
|
566
573
|
properties: {
|
|
567
|
-
command: "session.list" | "session.new" | "session.share" | "session.interrupt" | "session.compact" | "session.page.up" | "session.page.down" | "session.half.page.up" | "session.half.page.down" | "session.first" | "session.last" | "prompt.clear" | "prompt.submit" | "agent.cycle" | string;
|
|
574
|
+
command: "session.list" | "session.new" | "session.share" | "session.interrupt" | "session.compact" | "session.page.up" | "session.page.down" | "session.line.up" | "session.line.down" | "session.half.page.up" | "session.half.page.down" | "session.first" | "session.last" | "prompt.clear" | "prompt.submit" | "agent.cycle" | string;
|
|
568
575
|
};
|
|
569
576
|
};
|
|
570
577
|
export type EventTuiToastShow = {
|
|
@@ -680,13 +687,6 @@ export type EventSessionError = {
|
|
|
680
687
|
error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageAbortedError | ApiError;
|
|
681
688
|
};
|
|
682
689
|
};
|
|
683
|
-
export type EventFileWatcherUpdated = {
|
|
684
|
-
type: "file.watcher.updated";
|
|
685
|
-
properties: {
|
|
686
|
-
file: string;
|
|
687
|
-
event: "add" | "change" | "unlink";
|
|
688
|
-
};
|
|
689
|
-
};
|
|
690
690
|
export type EventVcsBranchUpdated = {
|
|
691
691
|
type: "vcs.branch.updated";
|
|
692
692
|
properties: {
|
|
@@ -739,7 +739,7 @@ export type EventServerConnected = {
|
|
|
739
739
|
[key: string]: unknown;
|
|
740
740
|
};
|
|
741
741
|
};
|
|
742
|
-
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventLspClientDiagnostics | EventLspUpdated | EventFileEdited | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventTodoUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError |
|
|
742
|
+
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventLspClientDiagnostics | EventLspUpdated | EventFileEdited | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventTodoUpdated | EventFileWatcherUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventVcsBranchUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventGlobalDisposed | EventServerConnected;
|
|
743
743
|
export type GlobalEvent = {
|
|
744
744
|
directory: string;
|
|
745
745
|
payload: Event;
|
|
@@ -857,6 +857,14 @@ export type KeybindsConfig = {
|
|
|
857
857
|
* Scroll messages down by one page
|
|
858
858
|
*/
|
|
859
859
|
messages_page_down?: string;
|
|
860
|
+
/**
|
|
861
|
+
* Scroll messages up by one line
|
|
862
|
+
*/
|
|
863
|
+
messages_line_up?: string;
|
|
864
|
+
/**
|
|
865
|
+
* Scroll messages down by one line
|
|
866
|
+
*/
|
|
867
|
+
messages_line_down?: string;
|
|
860
868
|
/**
|
|
861
869
|
* Scroll messages up by half page
|
|
862
870
|
*/
|
package/package.json
CHANGED
|
@@ -1,16 +1,48 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@ex-machina/opencode-sdk",
|
|
4
|
-
"version": "1.1.25-exmachina.
|
|
4
|
+
"version": "1.1.25-exmachina.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"typecheck": "tsgo --noEmit",
|
|
9
|
+
"build": "./script/build.ts"
|
|
10
|
+
},
|
|
7
11
|
"exports": {
|
|
8
|
-
".":
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"./
|
|
13
|
-
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts"
|
|
15
|
+
},
|
|
16
|
+
"./client": {
|
|
17
|
+
"import": "./dist/client.js",
|
|
18
|
+
"types": "./dist/client.d.ts"
|
|
19
|
+
},
|
|
20
|
+
"./server": {
|
|
21
|
+
"import": "./dist/server.js",
|
|
22
|
+
"types": "./dist/server.d.ts"
|
|
23
|
+
},
|
|
24
|
+
"./v2": {
|
|
25
|
+
"import": "./dist/v2/index.js",
|
|
26
|
+
"types": "./dist/v2/index.d.ts"
|
|
27
|
+
},
|
|
28
|
+
"./v2/client": {
|
|
29
|
+
"import": "./dist/v2/client.js",
|
|
30
|
+
"types": "./dist/v2/client.d.ts"
|
|
31
|
+
},
|
|
32
|
+
"./v2/server": {
|
|
33
|
+
"import": "./dist/v2/server.js",
|
|
34
|
+
"types": "./dist/v2/server.d.ts"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"dist"
|
|
39
|
+
],
|
|
40
|
+
"dependencies": {},
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"directory": "dist"
|
|
14
43
|
},
|
|
15
|
-
"
|
|
16
|
-
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "https://github.com/ex-machina-co/opencode"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
/package/{v2 → dist/v2}/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|