@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.
Files changed (71) hide show
  1. package/{gen → dist/gen}/types.gen.d.ts +8 -0
  2. package/{v2 → dist/v2}/gen/types.gen.d.ts +18 -10
  3. package/package.json +41 -9
  4. /package/{client.d.ts → dist/client.d.ts} +0 -0
  5. /package/{client.js → dist/client.js} +0 -0
  6. /package/{gen → dist/gen}/client/client.gen.d.ts +0 -0
  7. /package/{gen → dist/gen}/client/client.gen.js +0 -0
  8. /package/{gen → dist/gen}/client/index.d.ts +0 -0
  9. /package/{gen → dist/gen}/client/index.js +0 -0
  10. /package/{gen → dist/gen}/client/types.gen.d.ts +0 -0
  11. /package/{gen → dist/gen}/client/types.gen.js +0 -0
  12. /package/{gen → dist/gen}/client/utils.gen.d.ts +0 -0
  13. /package/{gen → dist/gen}/client/utils.gen.js +0 -0
  14. /package/{gen → dist/gen}/client.gen.d.ts +0 -0
  15. /package/{gen → dist/gen}/client.gen.js +0 -0
  16. /package/{gen → dist/gen}/core/auth.gen.d.ts +0 -0
  17. /package/{gen → dist/gen}/core/auth.gen.js +0 -0
  18. /package/{gen → dist/gen}/core/bodySerializer.gen.d.ts +0 -0
  19. /package/{gen → dist/gen}/core/bodySerializer.gen.js +0 -0
  20. /package/{gen → dist/gen}/core/params.gen.d.ts +0 -0
  21. /package/{gen → dist/gen}/core/params.gen.js +0 -0
  22. /package/{gen → dist/gen}/core/pathSerializer.gen.d.ts +0 -0
  23. /package/{gen → dist/gen}/core/pathSerializer.gen.js +0 -0
  24. /package/{gen → dist/gen}/core/serverSentEvents.gen.d.ts +0 -0
  25. /package/{gen → dist/gen}/core/serverSentEvents.gen.js +0 -0
  26. /package/{gen → dist/gen}/core/types.gen.d.ts +0 -0
  27. /package/{gen → dist/gen}/core/types.gen.js +0 -0
  28. /package/{gen → dist/gen}/core/utils.gen.d.ts +0 -0
  29. /package/{gen → dist/gen}/core/utils.gen.js +0 -0
  30. /package/{gen → dist/gen}/sdk.gen.d.ts +0 -0
  31. /package/{gen → dist/gen}/sdk.gen.js +0 -0
  32. /package/{gen → dist/gen}/types.gen.js +0 -0
  33. /package/{index.d.ts → dist/index.d.ts} +0 -0
  34. /package/{index.js → dist/index.js} +0 -0
  35. /package/{server.d.ts → dist/server.d.ts} +0 -0
  36. /package/{server.js → dist/server.js} +0 -0
  37. /package/{v2 → dist/v2}/client.d.ts +0 -0
  38. /package/{v2 → dist/v2}/client.js +0 -0
  39. /package/{v2 → dist/v2}/gen/client/client.gen.d.ts +0 -0
  40. /package/{v2 → dist/v2}/gen/client/client.gen.js +0 -0
  41. /package/{v2 → dist/v2}/gen/client/index.d.ts +0 -0
  42. /package/{v2 → dist/v2}/gen/client/index.js +0 -0
  43. /package/{v2 → dist/v2}/gen/client/types.gen.d.ts +0 -0
  44. /package/{v2 → dist/v2}/gen/client/types.gen.js +0 -0
  45. /package/{v2 → dist/v2}/gen/client/utils.gen.d.ts +0 -0
  46. /package/{v2 → dist/v2}/gen/client/utils.gen.js +0 -0
  47. /package/{v2 → dist/v2}/gen/client.gen.d.ts +0 -0
  48. /package/{v2 → dist/v2}/gen/client.gen.js +0 -0
  49. /package/{v2 → dist/v2}/gen/core/auth.gen.d.ts +0 -0
  50. /package/{v2 → dist/v2}/gen/core/auth.gen.js +0 -0
  51. /package/{v2 → dist/v2}/gen/core/bodySerializer.gen.d.ts +0 -0
  52. /package/{v2 → dist/v2}/gen/core/bodySerializer.gen.js +0 -0
  53. /package/{v2 → dist/v2}/gen/core/params.gen.d.ts +0 -0
  54. /package/{v2 → dist/v2}/gen/core/params.gen.js +0 -0
  55. /package/{v2 → dist/v2}/gen/core/pathSerializer.gen.d.ts +0 -0
  56. /package/{v2 → dist/v2}/gen/core/pathSerializer.gen.js +0 -0
  57. /package/{v2 → dist/v2}/gen/core/queryKeySerializer.gen.d.ts +0 -0
  58. /package/{v2 → dist/v2}/gen/core/queryKeySerializer.gen.js +0 -0
  59. /package/{v2 → dist/v2}/gen/core/serverSentEvents.gen.d.ts +0 -0
  60. /package/{v2 → dist/v2}/gen/core/serverSentEvents.gen.js +0 -0
  61. /package/{v2 → dist/v2}/gen/core/types.gen.d.ts +0 -0
  62. /package/{v2 → dist/v2}/gen/core/types.gen.js +0 -0
  63. /package/{v2 → dist/v2}/gen/core/utils.gen.d.ts +0 -0
  64. /package/{v2 → dist/v2}/gen/core/utils.gen.js +0 -0
  65. /package/{v2 → dist/v2}/gen/sdk.gen.d.ts +0 -0
  66. /package/{v2 → dist/v2}/gen/sdk.gen.js +0 -0
  67. /package/{v2 → dist/v2}/gen/types.gen.js +0 -0
  68. /package/{v2 → dist/v2}/index.d.ts +0 -0
  69. /package/{v2 → dist/v2}/index.js +0 -0
  70. /package/{v2 → dist/v2}/server.d.ts +0 -0
  71. /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 12 chars)
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 | EventFileWatcherUpdated | EventVcsBranchUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventGlobalDisposed | EventServerConnected;
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.1",
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
- ".": "./index.js",
9
- "./client": "./client.js",
10
- "./server": "./server.js",
11
- "./v2": "./v2/index.js",
12
- "./v2/client": "./v2/client.js",
13
- "./v2/server": "./v2/server.js"
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
- "dependencies": {}
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