opencode_client 1.0.2 → 1.0.3

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 (262) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/lib/opencode_client/version.rb +1 -1
  4. metadata +2 -260
  5. data/Gemfile +0 -9
  6. data/Gemfile.lock +0 -102
  7. data/Rakefile +0 -10
  8. data/docs/APIError.md +0 -20
  9. data/docs/APIErrorData.md +0 -28
  10. data/docs/Agent.md +0 -46
  11. data/docs/AgentConfig.md +0 -38
  12. data/docs/AgentConfigPermission.md +0 -28
  13. data/docs/AgentConfigPermissionBash.md +0 -15
  14. data/docs/AgentPart.md +0 -28
  15. data/docs/AgentPartInput.md +0 -24
  16. data/docs/AgentPartSource.md +0 -22
  17. data/docs/AgentPermission.md +0 -28
  18. data/docs/ApiAuth.md +0 -20
  19. data/docs/AppLogRequest.md +0 -24
  20. data/docs/AssistantMessage.md +0 -46
  21. data/docs/AssistantMessageError.md +0 -20
  22. data/docs/AssistantMessagePath.md +0 -20
  23. data/docs/AssistantMessageTime.md +0 -20
  24. data/docs/AssistantMessageTokens.md +0 -24
  25. data/docs/AssistantMessageTokensCache.md +0 -20
  26. data/docs/Auth.md +0 -30
  27. data/docs/BadRequestError.md +0 -22
  28. data/docs/Command.md +0 -28
  29. data/docs/CompactionPart.md +0 -26
  30. data/docs/Config.md +0 -82
  31. data/docs/ConfigAgent.md +0 -30
  32. data/docs/ConfigAutoupdate.md +0 -15
  33. data/docs/ConfigCommandValue.md +0 -26
  34. data/docs/ConfigCompaction.md +0 -20
  35. data/docs/ConfigEnterprise.md +0 -18
  36. data/docs/ConfigExperimental.md +0 -30
  37. data/docs/ConfigExperimentalHook.md +0 -20
  38. data/docs/ConfigExperimentalHookFileEditedValueInner.md +0 -20
  39. data/docs/ConfigFormatter.md +0 -15
  40. data/docs/ConfigFormatterAnyOfValue.md +0 -24
  41. data/docs/ConfigLsp.md +0 -15
  42. data/docs/ConfigLspAnyOfValue.md +0 -26
  43. data/docs/ConfigLspAnyOfValueAnyOf.md +0 -18
  44. data/docs/ConfigLspAnyOfValueAnyOf1.md +0 -26
  45. data/docs/ConfigMode.md +0 -20
  46. data/docs/ConfigProviders200Response.md +0 -20
  47. data/docs/ConfigTui.md +0 -22
  48. data/docs/ConfigTuiScrollAcceleration.md +0 -18
  49. data/docs/ConfigWatcher.md +0 -18
  50. data/docs/DefaultApi.md +0 -5641
  51. data/docs/Event.md +0 -20
  52. data/docs/EventCommandExecuted.md +0 -20
  53. data/docs/EventCommandExecutedProperties.md +0 -24
  54. data/docs/EventFileEdited.md +0 -20
  55. data/docs/EventFileEditedProperties.md +0 -18
  56. data/docs/EventFileWatcherUpdated.md +0 -20
  57. data/docs/EventFileWatcherUpdatedProperties.md +0 -20
  58. data/docs/EventGlobalDisposed.md +0 -20
  59. data/docs/EventInstallationUpdateAvailable.md +0 -20
  60. data/docs/EventInstallationUpdated.md +0 -20
  61. data/docs/EventInstallationUpdatedProperties.md +0 -18
  62. data/docs/EventLspClientDiagnostics.md +0 -20
  63. data/docs/EventLspClientDiagnosticsProperties.md +0 -20
  64. data/docs/EventLspUpdated.md +0 -20
  65. data/docs/EventMcpToolsChanged.md +0 -20
  66. data/docs/EventMcpToolsChangedProperties.md +0 -18
  67. data/docs/EventMessagePartRemoved.md +0 -20
  68. data/docs/EventMessagePartRemovedProperties.md +0 -22
  69. data/docs/EventMessagePartUpdated.md +0 -20
  70. data/docs/EventMessagePartUpdatedProperties.md +0 -20
  71. data/docs/EventMessageRemoved.md +0 -20
  72. data/docs/EventMessageRemovedProperties.md +0 -20
  73. data/docs/EventMessageUpdated.md +0 -20
  74. data/docs/EventMessageUpdatedProperties.md +0 -18
  75. data/docs/EventPermissionReplied.md +0 -20
  76. data/docs/EventPermissionRepliedProperties.md +0 -22
  77. data/docs/EventPermissionUpdated.md +0 -20
  78. data/docs/EventProjectUpdated.md +0 -20
  79. data/docs/EventPtyCreated.md +0 -20
  80. data/docs/EventPtyCreatedProperties.md +0 -18
  81. data/docs/EventPtyDeleted.md +0 -20
  82. data/docs/EventPtyDeletedProperties.md +0 -18
  83. data/docs/EventPtyExited.md +0 -20
  84. data/docs/EventPtyExitedProperties.md +0 -20
  85. data/docs/EventPtyUpdated.md +0 -20
  86. data/docs/EventServerConnected.md +0 -20
  87. data/docs/EventServerInstanceDisposed.md +0 -20
  88. data/docs/EventServerInstanceDisposedProperties.md +0 -18
  89. data/docs/EventSessionCompacted.md +0 -20
  90. data/docs/EventSessionCreated.md +0 -20
  91. data/docs/EventSessionCreatedProperties.md +0 -18
  92. data/docs/EventSessionDeleted.md +0 -20
  93. data/docs/EventSessionDiff.md +0 -20
  94. data/docs/EventSessionDiffProperties.md +0 -20
  95. data/docs/EventSessionError.md +0 -20
  96. data/docs/EventSessionErrorProperties.md +0 -20
  97. data/docs/EventSessionIdle.md +0 -20
  98. data/docs/EventSessionIdleProperties.md +0 -18
  99. data/docs/EventSessionStatus.md +0 -20
  100. data/docs/EventSessionStatusProperties.md +0 -20
  101. data/docs/EventSessionUpdated.md +0 -20
  102. data/docs/EventTodoUpdated.md +0 -20
  103. data/docs/EventTodoUpdatedProperties.md +0 -20
  104. data/docs/EventTuiCommandExecute.md +0 -20
  105. data/docs/EventTuiCommandExecuteProperties.md +0 -18
  106. data/docs/EventTuiCommandExecutePropertiesCommand.md +0 -15
  107. data/docs/EventTuiPromptAppend.md +0 -20
  108. data/docs/EventTuiToastShow.md +0 -20
  109. data/docs/EventVcsBranchUpdated.md +0 -20
  110. data/docs/EventVcsBranchUpdatedProperties.md +0 -18
  111. data/docs/File.md +0 -24
  112. data/docs/FileContent.md +0 -28
  113. data/docs/FileContentPatch.md +0 -28
  114. data/docs/FileContentPatchHunksInner.md +0 -26
  115. data/docs/FileDiff.md +0 -26
  116. data/docs/FileNode.md +0 -26
  117. data/docs/FilePart.md +0 -32
  118. data/docs/FilePartInput.md +0 -28
  119. data/docs/FilePartSource.md +0 -28
  120. data/docs/FilePartSourceText.md +0 -22
  121. data/docs/FileSource.md +0 -22
  122. data/docs/FindText200ResponseInner.md +0 -26
  123. data/docs/FindText200ResponseInnerPath.md +0 -18
  124. data/docs/FindText200ResponseInnerSubmatchesInner.md +0 -22
  125. data/docs/FormatterStatus.md +0 -22
  126. data/docs/GlobalEvent.md +0 -20
  127. data/docs/GlobalHealth200Response.md +0 -20
  128. data/docs/KeybindsConfig.md +0 -188
  129. data/docs/LSPStatus.md +0 -24
  130. data/docs/LayoutConfig.md +0 -15
  131. data/docs/LogLevel.md +0 -15
  132. data/docs/MCPStatus.md +0 -20
  133. data/docs/MCPStatusConnected.md +0 -18
  134. data/docs/MCPStatusDisabled.md +0 -18
  135. data/docs/MCPStatusFailed.md +0 -20
  136. data/docs/MCPStatusNeedsAuth.md +0 -18
  137. data/docs/MCPStatusNeedsClientRegistration.md +0 -20
  138. data/docs/McpAddRequest.md +0 -20
  139. data/docs/McpAddRequestConfig.md +0 -32
  140. data/docs/McpAuthCallbackRequest.md +0 -18
  141. data/docs/McpAuthRemove200Response.md +0 -18
  142. data/docs/McpAuthStart200Response.md +0 -18
  143. data/docs/McpLocalConfig.md +0 -26
  144. data/docs/McpOAuthConfig.md +0 -22
  145. data/docs/McpRemoteConfig.md +0 -28
  146. data/docs/McpRemoteConfigOauth.md +0 -22
  147. data/docs/Message.md +0 -52
  148. data/docs/MessageAbortedError.md +0 -20
  149. data/docs/MessageOutputLengthError.md +0 -20
  150. data/docs/Model.md +0 -40
  151. data/docs/ModelApi.md +0 -22
  152. data/docs/ModelCapabilities.md +0 -30
  153. data/docs/ModelCapabilitiesInput.md +0 -26
  154. data/docs/ModelCapabilitiesInterleaved.md +0 -18
  155. data/docs/ModelCapabilitiesInterleavedAnyOf.md +0 -18
  156. data/docs/ModelCost.md +0 -24
  157. data/docs/ModelCostExperimentalOver200K.md +0 -22
  158. data/docs/NotFoundError.md +0 -20
  159. data/docs/OAuth.md +0 -26
  160. data/docs/Part.md +0 -76
  161. data/docs/PartAnyOf.md +0 -32
  162. data/docs/PatchPart.md +0 -28
  163. data/docs/Path.md +0 -26
  164. data/docs/Permission.md +0 -34
  165. data/docs/PermissionPattern.md +0 -15
  166. data/docs/PermissionRespondRequest.md +0 -18
  167. data/docs/Project.md +0 -28
  168. data/docs/ProjectTime.md +0 -22
  169. data/docs/ProjectUpdateRequest.md +0 -20
  170. data/docs/ProjectUpdateRequestIcon.md +0 -20
  171. data/docs/Provider.md +0 -30
  172. data/docs/ProviderAuthAuthorization.md +0 -22
  173. data/docs/ProviderAuthError.md +0 -20
  174. data/docs/ProviderAuthErrorData.md +0 -20
  175. data/docs/ProviderAuthMethod.md +0 -20
  176. data/docs/ProviderConfig.md +0 -34
  177. data/docs/ProviderConfigModelsValue.md +0 -50
  178. data/docs/ProviderConfigModelsValueInterleaved.md +0 -18
  179. data/docs/ProviderConfigModelsValueInterleavedAnyOf.md +0 -18
  180. data/docs/ProviderConfigOptions.md +0 -26
  181. data/docs/ProviderConfigOptionsTimeout.md +0 -15
  182. data/docs/ProviderList200Response.md +0 -22
  183. data/docs/ProviderList200ResponseAllInner.md +0 -28
  184. data/docs/ProviderList200ResponseAllInnerModelsValue.md +0 -50
  185. data/docs/ProviderList200ResponseAllInnerModelsValueCost.md +0 -26
  186. data/docs/ProviderList200ResponseAllInnerModelsValueCostContextOver200k.md +0 -24
  187. data/docs/ProviderList200ResponseAllInnerModelsValueInterleaved.md +0 -18
  188. data/docs/ProviderList200ResponseAllInnerModelsValueInterleavedAnyOf.md +0 -18
  189. data/docs/ProviderList200ResponseAllInnerModelsValueLimit.md +0 -20
  190. data/docs/ProviderList200ResponseAllInnerModelsValueModalities.md +0 -20
  191. data/docs/ProviderList200ResponseAllInnerModelsValueProvider.md +0 -18
  192. data/docs/ProviderOauthAuthorizeRequest.md +0 -18
  193. data/docs/ProviderOauthCallbackRequest.md +0 -20
  194. data/docs/Pty.md +0 -30
  195. data/docs/PtyCreateRequest.md +0 -26
  196. data/docs/PtyUpdateRequest.md +0 -20
  197. data/docs/PtyUpdateRequestSize.md +0 -20
  198. data/docs/Range.md +0 -20
  199. data/docs/RangeStart.md +0 -20
  200. data/docs/ReasoningPart.md +0 -30
  201. data/docs/RetryPart.md +0 -30
  202. data/docs/ServerConfig.md +0 -22
  203. data/docs/Session.md +0 -36
  204. data/docs/SessionApi.md +0 -145
  205. data/docs/SessionCommandRequest.md +0 -26
  206. data/docs/SessionCreateRequest.md +0 -20
  207. data/docs/SessionForkRequest.md +0 -18
  208. data/docs/SessionInitRequest.md +0 -22
  209. data/docs/SessionMessages200ResponseInner.md +0 -20
  210. data/docs/SessionPrompt200Response.md +0 -20
  211. data/docs/SessionPromptRequest.md +0 -30
  212. data/docs/SessionPromptRequestModel.md +0 -20
  213. data/docs/SessionPromptRequestPartsInner.md +0 -48
  214. data/docs/SessionRevert.md +0 -24
  215. data/docs/SessionRevertRequest.md +0 -20
  216. data/docs/SessionShare.md +0 -18
  217. data/docs/SessionShellRequest.md +0 -22
  218. data/docs/SessionStatus.md +0 -24
  219. data/docs/SessionStatusAnyOf.md +0 -18
  220. data/docs/SessionStatusAnyOf1.md +0 -24
  221. data/docs/SessionStatusAnyOf2.md +0 -18
  222. data/docs/SessionSummarizeRequest.md +0 -22
  223. data/docs/SessionSummary.md +0 -24
  224. data/docs/SessionTime.md +0 -24
  225. data/docs/SessionUpdateRequest.md +0 -20
  226. data/docs/SessionUpdateRequestTime.md +0 -18
  227. data/docs/SnapshotPart.md +0 -26
  228. data/docs/StepFinishPart.md +0 -32
  229. data/docs/StepStartPart.md +0 -26
  230. data/docs/SubtaskPartInput.md +0 -28
  231. data/docs/Symbol.md +0 -22
  232. data/docs/SymbolLocation.md +0 -20
  233. data/docs/SymbolSource.md +0 -28
  234. data/docs/TextPart.md +0 -34
  235. data/docs/TextPartInput.md +0 -30
  236. data/docs/TextPartTime.md +0 -20
  237. data/docs/Todo.md +0 -24
  238. data/docs/ToolListItem.md +0 -22
  239. data/docs/ToolPart.md +0 -32
  240. data/docs/ToolState.md +0 -34
  241. data/docs/ToolStateCompleted.md +0 -30
  242. data/docs/ToolStateCompletedTime.md +0 -22
  243. data/docs/ToolStateError.md +0 -26
  244. data/docs/ToolStateErrorTime.md +0 -20
  245. data/docs/ToolStatePending.md +0 -22
  246. data/docs/ToolStateRunning.md +0 -26
  247. data/docs/ToolStateRunningTime.md +0 -18
  248. data/docs/TuiControlNext200Response.md +0 -20
  249. data/docs/TuiExecuteCommandRequest.md +0 -18
  250. data/docs/TuiPublishRequest.md +0 -20
  251. data/docs/TuiShowToastRequest.md +0 -24
  252. data/docs/UnknownError.md +0 -20
  253. data/docs/UnknownErrorData.md +0 -18
  254. data/docs/UserMessage.md +0 -34
  255. data/docs/UserMessageSummary.md +0 -22
  256. data/docs/UserMessageTime.md +0 -18
  257. data/docs/VcsInfo.md +0 -18
  258. data/docs/WellKnownAuth.md +0 -22
  259. data/example_usage.rb +0 -37
  260. data/git_push.sh +0 -57
  261. data/opencode_client.gemspec +0 -39
  262. data/pkg/opencode_client-1.0.1.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17349082cdaddc549a1a20e756378e198aa9a845d34d3771875be4c45b9a6f12
4
- data.tar.gz: 7771568418a5cf0b053652fc80fef604fae52be5e1807e5aca3cb33552520033
3
+ metadata.gz: bb386161de35aa9ba83e70d35b87dc9b4cac4658d904fb4b666dcb64f0267f31
4
+ data.tar.gz: fbcc6ed55459ab91ab7147522e6b9f78e42ec677dcdb89f429152d90e9155569
5
5
  SHA512:
6
- metadata.gz: 1cc8aa4ead9563bb4eefdc66071792569ae42bf4b40a1f3c418d18dec6d5d3fbddd64a094c38ece18b5ccd1e608b271198bafdb558d62bd70e5359e64bcd42dd
7
- data.tar.gz: f131a4795f9114940c108be07809668bea7fad4fa6b3517c4012da0fbe6f7f9133b11dfd4be27f371730f312e5b81cb5b41a8a2e8053453b1c9818f7c8c9aa46
6
+ metadata.gz: 1158fb402d810714976ba0c17fabc60bbe859fe2bbf062d983f06c566be67635d750e36a209912529359eacf08e5fae8509d0cf98846c08f1123fc3a55cd0f9d
7
+ data.tar.gz: d7ef20ffa326a518188b884095b91d624c8dcdd8862bf4ed357d5547c145f8c517f75b62c119f728c7c0fd1620efc6c65680b5042e54da3b8474f16b7882d151
data/README.md CHANGED
@@ -6,8 +6,8 @@ opencode api
6
6
 
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
- - API version: 1.0.2
10
- - Package version: 1.0.2
9
+ - API version: 1.0.3
10
+ - Package version: 1.0.3
11
11
  - Generator version: 7.18.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
 
@@ -24,7 +24,7 @@ gem build opencode_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./opencode_client-1.0.2.gem
27
+ gem install ./opencode_client-1.0.3.gem
28
28
  ```
29
29
 
30
30
  (for development, run `gem install --dev ./opencode_client-1.0.0.gem` to install the development dependencies)
@@ -33,7 +33,7 @@ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.or
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'opencode_client', '~> 1.0.2'
36
+ gem 'opencode_client', '~> 1.0.3'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -11,5 +11,5 @@ Generator version: 7.18.0
11
11
  =end
12
12
 
13
13
  module OpencodeClient
14
- VERSION = '1.0.2'
14
+ VERSION = '1.0.3'
15
15
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opencode_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
- - OpenCode AI
7
+ - Eric Guo
8
8
  bindir: bin
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
@@ -56,263 +56,7 @@ executables: []
56
56
  extensions: []
57
57
  extra_rdoc_files: []
58
58
  files:
59
- - Gemfile
60
- - Gemfile.lock
61
59
  - README.md
62
- - Rakefile
63
- - docs/APIError.md
64
- - docs/APIErrorData.md
65
- - docs/Agent.md
66
- - docs/AgentConfig.md
67
- - docs/AgentConfigPermission.md
68
- - docs/AgentConfigPermissionBash.md
69
- - docs/AgentPart.md
70
- - docs/AgentPartInput.md
71
- - docs/AgentPartSource.md
72
- - docs/AgentPermission.md
73
- - docs/ApiAuth.md
74
- - docs/AppLogRequest.md
75
- - docs/AssistantMessage.md
76
- - docs/AssistantMessageError.md
77
- - docs/AssistantMessagePath.md
78
- - docs/AssistantMessageTime.md
79
- - docs/AssistantMessageTokens.md
80
- - docs/AssistantMessageTokensCache.md
81
- - docs/Auth.md
82
- - docs/BadRequestError.md
83
- - docs/Command.md
84
- - docs/CompactionPart.md
85
- - docs/Config.md
86
- - docs/ConfigAgent.md
87
- - docs/ConfigAutoupdate.md
88
- - docs/ConfigCommandValue.md
89
- - docs/ConfigCompaction.md
90
- - docs/ConfigEnterprise.md
91
- - docs/ConfigExperimental.md
92
- - docs/ConfigExperimentalHook.md
93
- - docs/ConfigExperimentalHookFileEditedValueInner.md
94
- - docs/ConfigFormatter.md
95
- - docs/ConfigFormatterAnyOfValue.md
96
- - docs/ConfigLsp.md
97
- - docs/ConfigLspAnyOfValue.md
98
- - docs/ConfigLspAnyOfValueAnyOf.md
99
- - docs/ConfigLspAnyOfValueAnyOf1.md
100
- - docs/ConfigMode.md
101
- - docs/ConfigProviders200Response.md
102
- - docs/ConfigTui.md
103
- - docs/ConfigTuiScrollAcceleration.md
104
- - docs/ConfigWatcher.md
105
- - docs/DefaultApi.md
106
- - docs/Event.md
107
- - docs/EventCommandExecuted.md
108
- - docs/EventCommandExecutedProperties.md
109
- - docs/EventFileEdited.md
110
- - docs/EventFileEditedProperties.md
111
- - docs/EventFileWatcherUpdated.md
112
- - docs/EventFileWatcherUpdatedProperties.md
113
- - docs/EventGlobalDisposed.md
114
- - docs/EventInstallationUpdateAvailable.md
115
- - docs/EventInstallationUpdated.md
116
- - docs/EventInstallationUpdatedProperties.md
117
- - docs/EventLspClientDiagnostics.md
118
- - docs/EventLspClientDiagnosticsProperties.md
119
- - docs/EventLspUpdated.md
120
- - docs/EventMcpToolsChanged.md
121
- - docs/EventMcpToolsChangedProperties.md
122
- - docs/EventMessagePartRemoved.md
123
- - docs/EventMessagePartRemovedProperties.md
124
- - docs/EventMessagePartUpdated.md
125
- - docs/EventMessagePartUpdatedProperties.md
126
- - docs/EventMessageRemoved.md
127
- - docs/EventMessageRemovedProperties.md
128
- - docs/EventMessageUpdated.md
129
- - docs/EventMessageUpdatedProperties.md
130
- - docs/EventPermissionReplied.md
131
- - docs/EventPermissionRepliedProperties.md
132
- - docs/EventPermissionUpdated.md
133
- - docs/EventProjectUpdated.md
134
- - docs/EventPtyCreated.md
135
- - docs/EventPtyCreatedProperties.md
136
- - docs/EventPtyDeleted.md
137
- - docs/EventPtyDeletedProperties.md
138
- - docs/EventPtyExited.md
139
- - docs/EventPtyExitedProperties.md
140
- - docs/EventPtyUpdated.md
141
- - docs/EventServerConnected.md
142
- - docs/EventServerInstanceDisposed.md
143
- - docs/EventServerInstanceDisposedProperties.md
144
- - docs/EventSessionCompacted.md
145
- - docs/EventSessionCreated.md
146
- - docs/EventSessionCreatedProperties.md
147
- - docs/EventSessionDeleted.md
148
- - docs/EventSessionDiff.md
149
- - docs/EventSessionDiffProperties.md
150
- - docs/EventSessionError.md
151
- - docs/EventSessionErrorProperties.md
152
- - docs/EventSessionIdle.md
153
- - docs/EventSessionIdleProperties.md
154
- - docs/EventSessionStatus.md
155
- - docs/EventSessionStatusProperties.md
156
- - docs/EventSessionUpdated.md
157
- - docs/EventTodoUpdated.md
158
- - docs/EventTodoUpdatedProperties.md
159
- - docs/EventTuiCommandExecute.md
160
- - docs/EventTuiCommandExecuteProperties.md
161
- - docs/EventTuiCommandExecutePropertiesCommand.md
162
- - docs/EventTuiPromptAppend.md
163
- - docs/EventTuiToastShow.md
164
- - docs/EventVcsBranchUpdated.md
165
- - docs/EventVcsBranchUpdatedProperties.md
166
- - docs/File.md
167
- - docs/FileContent.md
168
- - docs/FileContentPatch.md
169
- - docs/FileContentPatchHunksInner.md
170
- - docs/FileDiff.md
171
- - docs/FileNode.md
172
- - docs/FilePart.md
173
- - docs/FilePartInput.md
174
- - docs/FilePartSource.md
175
- - docs/FilePartSourceText.md
176
- - docs/FileSource.md
177
- - docs/FindText200ResponseInner.md
178
- - docs/FindText200ResponseInnerPath.md
179
- - docs/FindText200ResponseInnerSubmatchesInner.md
180
- - docs/FormatterStatus.md
181
- - docs/GlobalEvent.md
182
- - docs/GlobalHealth200Response.md
183
- - docs/KeybindsConfig.md
184
- - docs/LSPStatus.md
185
- - docs/LayoutConfig.md
186
- - docs/LogLevel.md
187
- - docs/MCPStatus.md
188
- - docs/MCPStatusConnected.md
189
- - docs/MCPStatusDisabled.md
190
- - docs/MCPStatusFailed.md
191
- - docs/MCPStatusNeedsAuth.md
192
- - docs/MCPStatusNeedsClientRegistration.md
193
- - docs/McpAddRequest.md
194
- - docs/McpAddRequestConfig.md
195
- - docs/McpAuthCallbackRequest.md
196
- - docs/McpAuthRemove200Response.md
197
- - docs/McpAuthStart200Response.md
198
- - docs/McpLocalConfig.md
199
- - docs/McpOAuthConfig.md
200
- - docs/McpRemoteConfig.md
201
- - docs/McpRemoteConfigOauth.md
202
- - docs/Message.md
203
- - docs/MessageAbortedError.md
204
- - docs/MessageOutputLengthError.md
205
- - docs/Model.md
206
- - docs/ModelApi.md
207
- - docs/ModelCapabilities.md
208
- - docs/ModelCapabilitiesInput.md
209
- - docs/ModelCapabilitiesInterleaved.md
210
- - docs/ModelCapabilitiesInterleavedAnyOf.md
211
- - docs/ModelCost.md
212
- - docs/ModelCostExperimentalOver200K.md
213
- - docs/NotFoundError.md
214
- - docs/OAuth.md
215
- - docs/Part.md
216
- - docs/PartAnyOf.md
217
- - docs/PatchPart.md
218
- - docs/Path.md
219
- - docs/Permission.md
220
- - docs/PermissionPattern.md
221
- - docs/PermissionRespondRequest.md
222
- - docs/Project.md
223
- - docs/ProjectTime.md
224
- - docs/ProjectUpdateRequest.md
225
- - docs/ProjectUpdateRequestIcon.md
226
- - docs/Provider.md
227
- - docs/ProviderAuthAuthorization.md
228
- - docs/ProviderAuthError.md
229
- - docs/ProviderAuthErrorData.md
230
- - docs/ProviderAuthMethod.md
231
- - docs/ProviderConfig.md
232
- - docs/ProviderConfigModelsValue.md
233
- - docs/ProviderConfigModelsValueInterleaved.md
234
- - docs/ProviderConfigModelsValueInterleavedAnyOf.md
235
- - docs/ProviderConfigOptions.md
236
- - docs/ProviderConfigOptionsTimeout.md
237
- - docs/ProviderList200Response.md
238
- - docs/ProviderList200ResponseAllInner.md
239
- - docs/ProviderList200ResponseAllInnerModelsValue.md
240
- - docs/ProviderList200ResponseAllInnerModelsValueCost.md
241
- - docs/ProviderList200ResponseAllInnerModelsValueCostContextOver200k.md
242
- - docs/ProviderList200ResponseAllInnerModelsValueInterleaved.md
243
- - docs/ProviderList200ResponseAllInnerModelsValueInterleavedAnyOf.md
244
- - docs/ProviderList200ResponseAllInnerModelsValueLimit.md
245
- - docs/ProviderList200ResponseAllInnerModelsValueModalities.md
246
- - docs/ProviderList200ResponseAllInnerModelsValueProvider.md
247
- - docs/ProviderOauthAuthorizeRequest.md
248
- - docs/ProviderOauthCallbackRequest.md
249
- - docs/Pty.md
250
- - docs/PtyCreateRequest.md
251
- - docs/PtyUpdateRequest.md
252
- - docs/PtyUpdateRequestSize.md
253
- - docs/Range.md
254
- - docs/RangeStart.md
255
- - docs/ReasoningPart.md
256
- - docs/RetryPart.md
257
- - docs/ServerConfig.md
258
- - docs/Session.md
259
- - docs/SessionApi.md
260
- - docs/SessionCommandRequest.md
261
- - docs/SessionCreateRequest.md
262
- - docs/SessionForkRequest.md
263
- - docs/SessionInitRequest.md
264
- - docs/SessionMessages200ResponseInner.md
265
- - docs/SessionPrompt200Response.md
266
- - docs/SessionPromptRequest.md
267
- - docs/SessionPromptRequestModel.md
268
- - docs/SessionPromptRequestPartsInner.md
269
- - docs/SessionRevert.md
270
- - docs/SessionRevertRequest.md
271
- - docs/SessionShare.md
272
- - docs/SessionShellRequest.md
273
- - docs/SessionStatus.md
274
- - docs/SessionStatusAnyOf.md
275
- - docs/SessionStatusAnyOf1.md
276
- - docs/SessionStatusAnyOf2.md
277
- - docs/SessionSummarizeRequest.md
278
- - docs/SessionSummary.md
279
- - docs/SessionTime.md
280
- - docs/SessionUpdateRequest.md
281
- - docs/SessionUpdateRequestTime.md
282
- - docs/SnapshotPart.md
283
- - docs/StepFinishPart.md
284
- - docs/StepStartPart.md
285
- - docs/SubtaskPartInput.md
286
- - docs/Symbol.md
287
- - docs/SymbolLocation.md
288
- - docs/SymbolSource.md
289
- - docs/TextPart.md
290
- - docs/TextPartInput.md
291
- - docs/TextPartTime.md
292
- - docs/Todo.md
293
- - docs/ToolListItem.md
294
- - docs/ToolPart.md
295
- - docs/ToolState.md
296
- - docs/ToolStateCompleted.md
297
- - docs/ToolStateCompletedTime.md
298
- - docs/ToolStateError.md
299
- - docs/ToolStateErrorTime.md
300
- - docs/ToolStatePending.md
301
- - docs/ToolStateRunning.md
302
- - docs/ToolStateRunningTime.md
303
- - docs/TuiControlNext200Response.md
304
- - docs/TuiExecuteCommandRequest.md
305
- - docs/TuiPublishRequest.md
306
- - docs/TuiShowToastRequest.md
307
- - docs/UnknownError.md
308
- - docs/UnknownErrorData.md
309
- - docs/UserMessage.md
310
- - docs/UserMessageSummary.md
311
- - docs/UserMessageTime.md
312
- - docs/VcsInfo.md
313
- - docs/WellKnownAuth.md
314
- - example_usage.rb
315
- - git_push.sh
316
60
  - lib/opencode_client.rb
317
61
  - lib/opencode_client/api/default_api.rb
318
62
  - lib/opencode_client/api/session_api.rb
@@ -570,8 +314,6 @@ files:
570
314
  - lib/opencode_client/models/vcs_info.rb
571
315
  - lib/opencode_client/models/well_known_auth.rb
572
316
  - lib/opencode_client/version.rb
573
- - opencode_client.gemspec
574
- - pkg/opencode_client-1.0.1.gem
575
317
  - spec/api/default_api_spec.rb
576
318
  - spec/api/session_api_spec.rb
577
319
  - spec/models/agent_config_permission_bash_spec.rb
data/Gemfile DELETED
@@ -1,9 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- group :development, :test do
6
- gem 'rake', '~> 13.0.1'
7
- gem 'pry-byebug'
8
- gem 'rubocop', '~> 0.66.0'
9
- end
data/Gemfile.lock DELETED
@@ -1,102 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- opencode_client (1.0.2)
5
- httpx (~> 1.0, >= 1.0.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- ast (2.4.3)
11
- byebug (12.0.0)
12
- coderay (1.1.3)
13
- date (3.5.1)
14
- diff-lcs (1.6.2)
15
- http-2 (1.1.1)
16
- httpx (1.7.0)
17
- http-2 (>= 1.0.0)
18
- jaro_winkler (1.5.6)
19
- method_source (1.1.0)
20
- parallel (1.27.0)
21
- parser (3.3.10.0)
22
- ast (~> 2.4.1)
23
- racc
24
- pry (0.15.2)
25
- coderay (~> 1.1)
26
- method_source (~> 1.0)
27
- pry-byebug (3.11.0)
28
- byebug (~> 12.0)
29
- pry (>= 0.13, < 0.16)
30
- psych (5.3.1)
31
- date
32
- stringio
33
- racc (1.8.1)
34
- rainbow (3.1.1)
35
- rake (13.0.6)
36
- rspec (3.13.2)
37
- rspec-core (~> 3.13.0)
38
- rspec-expectations (~> 3.13.0)
39
- rspec-mocks (~> 3.13.0)
40
- rspec-core (3.13.6)
41
- rspec-support (~> 3.13.0)
42
- rspec-expectations (3.13.5)
43
- diff-lcs (>= 1.2.0, < 2.0)
44
- rspec-support (~> 3.13.0)
45
- rspec-mocks (3.13.7)
46
- diff-lcs (>= 1.2.0, < 2.0)
47
- rspec-support (~> 3.13.0)
48
- rspec-support (3.13.6)
49
- rubocop (0.66.0)
50
- jaro_winkler (~> 1.5.1)
51
- parallel (~> 1.10)
52
- parser (>= 2.5, != 2.5.1.1)
53
- psych (>= 3.1.0)
54
- rainbow (>= 2.2.2, < 4.0)
55
- ruby-progressbar (~> 1.7)
56
- unicode-display_width (>= 1.4.0, < 1.6)
57
- ruby-progressbar (1.13.0)
58
- stringio (3.2.0)
59
- unicode-display_width (1.5.0)
60
-
61
- PLATFORMS
62
- arm64-darwin-24
63
- ruby
64
-
65
- DEPENDENCIES
66
- opencode_client!
67
- pry-byebug
68
- rake (~> 13.0.1)
69
- rspec (~> 3.6, >= 3.6.0)
70
- rubocop (~> 0.66.0)
71
-
72
- CHECKSUMS
73
- ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
74
- byebug (12.0.0) sha256=d4a150d291cca40b66ec9ca31f754e93fed8aa266a17335f71bb0afa7fca1a1e
75
- coderay (1.1.3) sha256=dc530018a4684512f8f38143cd2a096c9f02a1fc2459edcfe534787a7fc77d4b
76
- date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0
77
- diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
78
- http-2 (1.1.1) sha256=1141a5a03c2f4e6b8d2fa62394de581e1ff6387711cd7ed577212e9d95562bba
79
- httpx (1.7.0) sha256=e219689555951f9c13c40862da120cdd2535e1454189bed589f04d7059557154
80
- jaro_winkler (1.5.6) sha256=007db7805527ada1cc12f2547676181d63b0a504ec4dd7a9a2eb2424521ccd81
81
- method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
82
- opencode_client (1.0.2)
83
- parallel (1.27.0) sha256=4ac151e1806b755fb4e2dc2332cbf0e54f2e24ba821ff2d3dcf86bf6dc4ae130
84
- parser (3.3.10.0) sha256=ce3587fa5cc55a88c4ba5b2b37621b3329aadf5728f9eafa36bbd121462aabd6
85
- pry (0.15.2) sha256=12d54b8640d3fa29c9211dd4ffb08f3fd8bf7a4fd9b5a73ce5b59c8709385b6b
86
- pry-byebug (3.11.0) sha256=0b0abb7d309bc7f00044d512a3c8567274f7012b944b38becc8440439a1cea72
87
- psych (5.3.1) sha256=eb7a57cef10c9d70173ff74e739d843ac3b2c019a003de48447b2963d81b1974
88
- racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
89
- rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
90
- rake (13.0.6) sha256=5ce4bf5037b4196c24ac62834d8db1ce175470391026bd9e557d669beeb19097
91
- rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587
92
- rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
93
- rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
94
- rspec-mocks (3.13.7) sha256=0979034e64b1d7a838aaaddf12bf065ea4dc40ef3d4c39f01f93ae2c66c62b1c
95
- rspec-support (3.13.6) sha256=2e8de3702427eab064c9352fe74488cc12a1bfae887ad8b91cba480ec9f8afb2
96
- rubocop (0.66.0) sha256=f05a6896f367765b3f0fba663d0add120444f8de604dada405662b10a0860f5a
97
- ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
98
- stringio (3.2.0) sha256=c37cb2e58b4ffbd33fe5cd948c05934af997b36e0b6ca6fdf43afa234cf222e1
99
- unicode-display_width (1.5.0) sha256=9890eebd24feb4cb0e0542c9b8c6beecb40cda27be8c7afe49312625b36156eb
100
-
101
- BUNDLED WITH
102
- 4.0.3
data/Rakefile DELETED
@@ -1,10 +0,0 @@
1
- require "bundler/gem_tasks"
2
-
3
- begin
4
- require 'rspec/core/rake_task'
5
-
6
- RSpec::Core::RakeTask.new(:spec)
7
- task default: :spec
8
- rescue LoadError
9
- # no rspec available
10
- end
data/docs/APIError.md DELETED
@@ -1,20 +0,0 @@
1
- # OpencodeClient::APIError
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | | |
8
- | **data** | [**APIErrorData**](APIErrorData.md) | | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::APIError.new(
16
- name: null,
17
- data: null
18
- )
19
- ```
20
-
data/docs/APIErrorData.md DELETED
@@ -1,28 +0,0 @@
1
- # OpencodeClient::APIErrorData
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **message** | **String** | | |
8
- | **status_code** | **Float** | | [optional] |
9
- | **is_retryable** | **Boolean** | | |
10
- | **response_headers** | **Hash&lt;String, String&gt;** | | [optional] |
11
- | **response_body** | **String** | | [optional] |
12
- | **metadata** | **Hash&lt;String, String&gt;** | | [optional] |
13
-
14
- ## Example
15
-
16
- ```ruby
17
- require 'opencode_client'
18
-
19
- instance = OpencodeClient::APIErrorData.new(
20
- message: null,
21
- status_code: null,
22
- is_retryable: null,
23
- response_headers: null,
24
- response_body: null,
25
- metadata: null
26
- )
27
- ```
28
-
data/docs/Agent.md DELETED
@@ -1,46 +0,0 @@
1
- # OpencodeClient::Agent
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | | |
8
- | **description** | **String** | | [optional] |
9
- | **mode** | **String** | | |
10
- | **native** | **Boolean** | | [optional] |
11
- | **hidden** | **Boolean** | | [optional] |
12
- | **default** | **Boolean** | | [optional] |
13
- | **top_p** | **Float** | | [optional] |
14
- | **temperature** | **Float** | | [optional] |
15
- | **color** | **String** | | [optional] |
16
- | **permission** | [**AgentPermission**](AgentPermission.md) | | |
17
- | **model** | [**SessionPromptRequestModel**](SessionPromptRequestModel.md) | | [optional] |
18
- | **prompt** | **String** | | [optional] |
19
- | **tools** | **Hash&lt;String, Boolean&gt;** | | |
20
- | **options** | **Hash&lt;String, Object&gt;** | | |
21
- | **max_steps** | **Integer** | | [optional] |
22
-
23
- ## Example
24
-
25
- ```ruby
26
- require 'opencode_client'
27
-
28
- instance = OpencodeClient::Agent.new(
29
- name: null,
30
- description: null,
31
- mode: null,
32
- native: null,
33
- hidden: null,
34
- default: null,
35
- top_p: null,
36
- temperature: null,
37
- color: null,
38
- permission: null,
39
- model: null,
40
- prompt: null,
41
- tools: null,
42
- options: null,
43
- max_steps: null
44
- )
45
- ```
46
-
data/docs/AgentConfig.md DELETED
@@ -1,38 +0,0 @@
1
- # OpencodeClient::AgentConfig
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **model** | **String** | | [optional] |
8
- | **temperature** | **Float** | | [optional] |
9
- | **top_p** | **Float** | | [optional] |
10
- | **prompt** | **String** | | [optional] |
11
- | **tools** | **Hash&lt;String, Boolean&gt;** | | [optional] |
12
- | **disable** | **Boolean** | | [optional] |
13
- | **description** | **String** | Description of when to use the agent | [optional] |
14
- | **mode** | **String** | | [optional] |
15
- | **color** | **String** | Hex color code for the agent (e.g., #FF5733) | [optional] |
16
- | **max_steps** | **Integer** | Maximum number of agentic iterations before forcing text-only response | [optional] |
17
- | **permission** | [**AgentConfigPermission**](AgentConfigPermission.md) | | [optional] |
18
-
19
- ## Example
20
-
21
- ```ruby
22
- require 'opencode_client'
23
-
24
- instance = OpencodeClient::AgentConfig.new(
25
- model: null,
26
- temperature: null,
27
- top_p: null,
28
- prompt: null,
29
- tools: null,
30
- disable: null,
31
- description: null,
32
- mode: null,
33
- color: null,
34
- max_steps: null,
35
- permission: null
36
- )
37
- ```
38
-
@@ -1,28 +0,0 @@
1
- # OpencodeClient::AgentConfigPermission
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **edit** | **String** | | [optional] |
8
- | **bash** | [**AgentConfigPermissionBash**](AgentConfigPermissionBash.md) | | [optional] |
9
- | **skill** | [**AgentConfigPermissionBash**](AgentConfigPermissionBash.md) | | [optional] |
10
- | **webfetch** | **String** | | [optional] |
11
- | **doom_loop** | **String** | | [optional] |
12
- | **external_directory** | **String** | | [optional] |
13
-
14
- ## Example
15
-
16
- ```ruby
17
- require 'opencode_client'
18
-
19
- instance = OpencodeClient::AgentConfigPermission.new(
20
- edit: null,
21
- bash: null,
22
- skill: null,
23
- webfetch: null,
24
- doom_loop: null,
25
- external_directory: null
26
- )
27
- ```
28
-
@@ -1,15 +0,0 @@
1
- # OpencodeClient::AgentConfigPermissionBash
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'opencode_client'
12
-
13
- instance = OpencodeClient::AgentConfigPermissionBash.new()
14
- ```
15
-
data/docs/AgentPart.md DELETED
@@ -1,28 +0,0 @@
1
- # OpencodeClient::AgentPart
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | |
8
- | **session_id** | **String** | | |
9
- | **message_id** | **String** | | |
10
- | **type** | **String** | | |
11
- | **name** | **String** | | |
12
- | **source** | [**AgentPartSource**](AgentPartSource.md) | | [optional] |
13
-
14
- ## Example
15
-
16
- ```ruby
17
- require 'opencode_client'
18
-
19
- instance = OpencodeClient::AgentPart.new(
20
- id: null,
21
- session_id: null,
22
- message_id: null,
23
- type: null,
24
- name: null,
25
- source: null
26
- )
27
- ```
28
-
@@ -1,24 +0,0 @@
1
- # OpencodeClient::AgentPartInput
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | [optional] |
8
- | **type** | **String** | | |
9
- | **name** | **String** | | |
10
- | **source** | [**AgentPartSource**](AgentPartSource.md) | | [optional] |
11
-
12
- ## Example
13
-
14
- ```ruby
15
- require 'opencode_client'
16
-
17
- instance = OpencodeClient::AgentPartInput.new(
18
- id: null,
19
- type: null,
20
- name: null,
21
- source: null
22
- )
23
- ```
24
-