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
@@ -1,18 +0,0 @@
1
- # OpencodeClient::MCPStatusNeedsAuth
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **status** | **String** | | |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'opencode_client'
13
-
14
- instance = OpencodeClient::MCPStatusNeedsAuth.new(
15
- status: null
16
- )
17
- ```
18
-
@@ -1,20 +0,0 @@
1
- # OpencodeClient::MCPStatusNeedsClientRegistration
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **status** | **String** | | |
8
- | **error** | **String** | | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::MCPStatusNeedsClientRegistration.new(
16
- status: null,
17
- error: null
18
- )
19
- ```
20
-
@@ -1,20 +0,0 @@
1
- # OpencodeClient::McpAddRequest
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | | |
8
- | **config** | [**McpAddRequestConfig**](McpAddRequestConfig.md) | | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::McpAddRequest.new(
16
- name: null,
17
- config: null
18
- )
19
- ```
20
-
@@ -1,32 +0,0 @@
1
- # OpencodeClient::McpAddRequestConfig
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **type** | **String** | Type of MCP server connection | |
8
- | **command** | **Array<String>** | Command and arguments to run the MCP server | |
9
- | **environment** | **Hash<String, String>** | Environment variables to set when running the MCP server | [optional] |
10
- | **enabled** | **Boolean** | Enable or disable the MCP server on startup | [optional] |
11
- | **timeout** | **Integer** | Timeout in ms for fetching tools from the MCP server. Defaults to 5000 (5 seconds) if not specified. | [optional] |
12
- | **url** | **String** | URL of the remote MCP server | |
13
- | **headers** | **Hash<String, String>** | Headers to send with the request | [optional] |
14
- | **oauth** | [**McpRemoteConfigOauth**](McpRemoteConfigOauth.md) | | [optional] |
15
-
16
- ## Example
17
-
18
- ```ruby
19
- require 'opencode_client'
20
-
21
- instance = OpencodeClient::McpAddRequestConfig.new(
22
- type: null,
23
- command: null,
24
- environment: null,
25
- enabled: null,
26
- timeout: null,
27
- url: null,
28
- headers: null,
29
- oauth: null
30
- )
31
- ```
32
-
@@ -1,18 +0,0 @@
1
- # OpencodeClient::McpAuthCallbackRequest
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **code** | **String** | Authorization code from OAuth callback | |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'opencode_client'
13
-
14
- instance = OpencodeClient::McpAuthCallbackRequest.new(
15
- code: null
16
- )
17
- ```
18
-
@@ -1,18 +0,0 @@
1
- # OpencodeClient::McpAuthRemove200Response
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **success** | **Boolean** | | |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'opencode_client'
13
-
14
- instance = OpencodeClient::McpAuthRemove200Response.new(
15
- success: null
16
- )
17
- ```
18
-
@@ -1,18 +0,0 @@
1
- # OpencodeClient::McpAuthStart200Response
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **authorization_url** | **String** | URL to open in browser for authorization | |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'opencode_client'
13
-
14
- instance = OpencodeClient::McpAuthStart200Response.new(
15
- authorization_url: null
16
- )
17
- ```
18
-
@@ -1,26 +0,0 @@
1
- # OpencodeClient::McpLocalConfig
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **type** | **String** | Type of MCP server connection | |
8
- | **command** | **Array<String>** | Command and arguments to run the MCP server | |
9
- | **environment** | **Hash<String, String>** | Environment variables to set when running the MCP server | [optional] |
10
- | **enabled** | **Boolean** | Enable or disable the MCP server on startup | [optional] |
11
- | **timeout** | **Integer** | Timeout in ms for fetching tools from the MCP server. Defaults to 5000 (5 seconds) if not specified. | [optional] |
12
-
13
- ## Example
14
-
15
- ```ruby
16
- require 'opencode_client'
17
-
18
- instance = OpencodeClient::McpLocalConfig.new(
19
- type: null,
20
- command: null,
21
- environment: null,
22
- enabled: null,
23
- timeout: null
24
- )
25
- ```
26
-
@@ -1,22 +0,0 @@
1
- # OpencodeClient::McpOAuthConfig
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **client_id** | **String** | OAuth client ID. If not provided, dynamic client registration (RFC 7591) will be attempted. | [optional] |
8
- | **client_secret** | **String** | OAuth client secret (if required by the authorization server) | [optional] |
9
- | **scope** | **String** | OAuth scopes to request during authorization | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'opencode_client'
15
-
16
- instance = OpencodeClient::McpOAuthConfig.new(
17
- client_id: null,
18
- client_secret: null,
19
- scope: null
20
- )
21
- ```
22
-
@@ -1,28 +0,0 @@
1
- # OpencodeClient::McpRemoteConfig
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **type** | **String** | Type of MCP server connection | |
8
- | **url** | **String** | URL of the remote MCP server | |
9
- | **enabled** | **Boolean** | Enable or disable the MCP server on startup | [optional] |
10
- | **headers** | **Hash<String, String>** | Headers to send with the request | [optional] |
11
- | **oauth** | [**McpRemoteConfigOauth**](McpRemoteConfigOauth.md) | | [optional] |
12
- | **timeout** | **Integer** | Timeout in ms for fetching tools from the MCP server. Defaults to 5000 (5 seconds) if not specified. | [optional] |
13
-
14
- ## Example
15
-
16
- ```ruby
17
- require 'opencode_client'
18
-
19
- instance = OpencodeClient::McpRemoteConfig.new(
20
- type: null,
21
- url: null,
22
- enabled: null,
23
- headers: null,
24
- oauth: null,
25
- timeout: null
26
- )
27
- ```
28
-
@@ -1,22 +0,0 @@
1
- # OpencodeClient::McpRemoteConfigOauth
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **client_id** | **String** | OAuth client ID. If not provided, dynamic client registration (RFC 7591) will be attempted. | [optional] |
8
- | **client_secret** | **String** | OAuth client secret (if required by the authorization server) | [optional] |
9
- | **scope** | **String** | OAuth scopes to request during authorization | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'opencode_client'
15
-
16
- instance = OpencodeClient::McpRemoteConfigOauth.new(
17
- client_id: null,
18
- client_secret: null,
19
- scope: null
20
- )
21
- ```
22
-
data/docs/Message.md DELETED
@@ -1,52 +0,0 @@
1
- # OpencodeClient::Message
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | |
8
- | **session_id** | **String** | | |
9
- | **role** | **String** | | |
10
- | **time** | [**AssistantMessageTime**](AssistantMessageTime.md) | | |
11
- | **summary** | **Boolean** | | [optional] |
12
- | **agent** | **String** | | |
13
- | **model** | [**SessionPromptRequestModel**](SessionPromptRequestModel.md) | | |
14
- | **system** | **String** | | [optional] |
15
- | **tools** | **Hash<String, Boolean>** | | [optional] |
16
- | **error** | [**AssistantMessageError**](AssistantMessageError.md) | | [optional] |
17
- | **parent_id** | **String** | | |
18
- | **model_id** | **String** | | |
19
- | **provider_id** | **String** | | |
20
- | **mode** | **String** | | |
21
- | **path** | [**AssistantMessagePath**](AssistantMessagePath.md) | | |
22
- | **cost** | **Float** | | |
23
- | **tokens** | [**AssistantMessageTokens**](AssistantMessageTokens.md) | | |
24
- | **finish** | **String** | | [optional] |
25
-
26
- ## Example
27
-
28
- ```ruby
29
- require 'opencode_client'
30
-
31
- instance = OpencodeClient::Message.new(
32
- id: null,
33
- session_id: null,
34
- role: null,
35
- time: null,
36
- summary: null,
37
- agent: null,
38
- model: null,
39
- system: null,
40
- tools: null,
41
- error: null,
42
- parent_id: null,
43
- model_id: null,
44
- provider_id: null,
45
- mode: null,
46
- path: null,
47
- cost: null,
48
- tokens: null,
49
- finish: null
50
- )
51
- ```
52
-
@@ -1,20 +0,0 @@
1
- # OpencodeClient::MessageAbortedError
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | | |
8
- | **data** | [**UnknownErrorData**](UnknownErrorData.md) | | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::MessageAbortedError.new(
16
- name: null,
17
- data: null
18
- )
19
- ```
20
-
@@ -1,20 +0,0 @@
1
- # OpencodeClient::MessageOutputLengthError
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | | |
8
- | **data** | **Object** | | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::MessageOutputLengthError.new(
16
- name: null,
17
- data: null
18
- )
19
- ```
20
-
data/docs/Model.md DELETED
@@ -1,40 +0,0 @@
1
- # OpencodeClient::Model
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | |
8
- | **provider_id** | **String** | | |
9
- | **api** | [**ModelApi**](ModelApi.md) | | |
10
- | **name** | **String** | | |
11
- | **family** | **String** | | [optional] |
12
- | **capabilities** | [**ModelCapabilities**](ModelCapabilities.md) | | |
13
- | **cost** | [**ModelCost**](ModelCost.md) | | |
14
- | **limit** | [**ProviderList200ResponseAllInnerModelsValueLimit**](ProviderList200ResponseAllInnerModelsValueLimit.md) | | |
15
- | **status** | **String** | | |
16
- | **options** | **Hash<String, Object>** | | |
17
- | **headers** | **Hash<String, String>** | | |
18
- | **release_date** | **String** | | |
19
-
20
- ## Example
21
-
22
- ```ruby
23
- require 'opencode_client'
24
-
25
- instance = OpencodeClient::Model.new(
26
- id: null,
27
- provider_id: null,
28
- api: null,
29
- name: null,
30
- family: null,
31
- capabilities: null,
32
- cost: null,
33
- limit: null,
34
- status: null,
35
- options: null,
36
- headers: null,
37
- release_date: null
38
- )
39
- ```
40
-
data/docs/ModelApi.md DELETED
@@ -1,22 +0,0 @@
1
- # OpencodeClient::ModelApi
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | |
8
- | **url** | **String** | | |
9
- | **npm** | **String** | | |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'opencode_client'
15
-
16
- instance = OpencodeClient::ModelApi.new(
17
- id: null,
18
- url: null,
19
- npm: null
20
- )
21
- ```
22
-
@@ -1,30 +0,0 @@
1
- # OpencodeClient::ModelCapabilities
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **temperature** | **Boolean** | | |
8
- | **reasoning** | **Boolean** | | |
9
- | **attachment** | **Boolean** | | |
10
- | **toolcall** | **Boolean** | | |
11
- | **input** | [**ModelCapabilitiesInput**](ModelCapabilitiesInput.md) | | |
12
- | **output** | [**ModelCapabilitiesInput**](ModelCapabilitiesInput.md) | | |
13
- | **interleaved** | [**ModelCapabilitiesInterleaved**](ModelCapabilitiesInterleaved.md) | | |
14
-
15
- ## Example
16
-
17
- ```ruby
18
- require 'opencode_client'
19
-
20
- instance = OpencodeClient::ModelCapabilities.new(
21
- temperature: null,
22
- reasoning: null,
23
- attachment: null,
24
- toolcall: null,
25
- input: null,
26
- output: null,
27
- interleaved: null
28
- )
29
- ```
30
-
@@ -1,26 +0,0 @@
1
- # OpencodeClient::ModelCapabilitiesInput
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **text** | **Boolean** | | |
8
- | **audio** | **Boolean** | | |
9
- | **image** | **Boolean** | | |
10
- | **video** | **Boolean** | | |
11
- | **pdf** | **Boolean** | | |
12
-
13
- ## Example
14
-
15
- ```ruby
16
- require 'opencode_client'
17
-
18
- instance = OpencodeClient::ModelCapabilitiesInput.new(
19
- text: null,
20
- audio: null,
21
- image: null,
22
- video: null,
23
- pdf: null
24
- )
25
- ```
26
-
@@ -1,18 +0,0 @@
1
- # OpencodeClient::ModelCapabilitiesInterleaved
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **field** | **String** | | |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'opencode_client'
13
-
14
- instance = OpencodeClient::ModelCapabilitiesInterleaved.new(
15
- field: null
16
- )
17
- ```
18
-
@@ -1,18 +0,0 @@
1
- # OpencodeClient::ModelCapabilitiesInterleavedAnyOf
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **field** | **String** | | |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'opencode_client'
13
-
14
- instance = OpencodeClient::ModelCapabilitiesInterleavedAnyOf.new(
15
- field: null
16
- )
17
- ```
18
-
data/docs/ModelCost.md DELETED
@@ -1,24 +0,0 @@
1
- # OpencodeClient::ModelCost
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **input** | **Float** | | |
8
- | **output** | **Float** | | |
9
- | **cache** | [**AssistantMessageTokensCache**](AssistantMessageTokensCache.md) | | |
10
- | **experimental_over200_k** | [**ModelCostExperimentalOver200K**](ModelCostExperimentalOver200K.md) | | [optional] |
11
-
12
- ## Example
13
-
14
- ```ruby
15
- require 'opencode_client'
16
-
17
- instance = OpencodeClient::ModelCost.new(
18
- input: null,
19
- output: null,
20
- cache: null,
21
- experimental_over200_k: null
22
- )
23
- ```
24
-
@@ -1,22 +0,0 @@
1
- # OpencodeClient::ModelCostExperimentalOver200K
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **input** | **Float** | | |
8
- | **output** | **Float** | | |
9
- | **cache** | [**AssistantMessageTokensCache**](AssistantMessageTokensCache.md) | | |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'opencode_client'
15
-
16
- instance = OpencodeClient::ModelCostExperimentalOver200K.new(
17
- input: null,
18
- output: null,
19
- cache: null
20
- )
21
- ```
22
-
@@ -1,20 +0,0 @@
1
- # OpencodeClient::NotFoundError
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | | |
8
- | **data** | [**UnknownErrorData**](UnknownErrorData.md) | | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::NotFoundError.new(
16
- name: null,
17
- data: null
18
- )
19
- ```
20
-
data/docs/OAuth.md DELETED
@@ -1,26 +0,0 @@
1
- # OpencodeClient::OAuth
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **type** | **String** | | |
8
- | **refresh** | **String** | | |
9
- | **access** | **String** | | |
10
- | **expires** | **Float** | | |
11
- | **enterprise_url** | **String** | | [optional] |
12
-
13
- ## Example
14
-
15
- ```ruby
16
- require 'opencode_client'
17
-
18
- instance = OpencodeClient::OAuth.new(
19
- type: null,
20
- refresh: null,
21
- access: null,
22
- expires: null,
23
- enterprise_url: null
24
- )
25
- ```
26
-
data/docs/Part.md DELETED
@@ -1,76 +0,0 @@
1
- # OpencodeClient::Part
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
- | **text** | **String** | | |
12
- | **synthetic** | **Boolean** | | [optional] |
13
- | **ignored** | **Boolean** | | [optional] |
14
- | **time** | [**UserMessageTime**](UserMessageTime.md) | | |
15
- | **metadata** | **Hash<String, Object>** | | [optional] |
16
- | **prompt** | **String** | | |
17
- | **description** | **String** | | |
18
- | **agent** | **String** | | |
19
- | **command** | **String** | | [optional] |
20
- | **mime** | **String** | | |
21
- | **filename** | **String** | | [optional] |
22
- | **url** | **String** | | |
23
- | **source** | [**AgentPartSource**](AgentPartSource.md) | | [optional] |
24
- | **call_id** | **String** | | |
25
- | **tool** | **String** | | |
26
- | **state** | [**ToolState**](ToolState.md) | | |
27
- | **snapshot** | **String** | | |
28
- | **reason** | **String** | | |
29
- | **cost** | **Float** | | |
30
- | **tokens** | [**AssistantMessageTokens**](AssistantMessageTokens.md) | | |
31
- | **hash** | **String** | | |
32
- | **files** | **Array<String>** | | |
33
- | **name** | **String** | | |
34
- | **attempt** | **Float** | | |
35
- | **error** | [**APIError**](APIError.md) | | |
36
- | **auto** | **Boolean** | | |
37
-
38
- ## Example
39
-
40
- ```ruby
41
- require 'opencode_client'
42
-
43
- instance = OpencodeClient::Part.new(
44
- id: null,
45
- session_id: null,
46
- message_id: null,
47
- type: null,
48
- text: null,
49
- synthetic: null,
50
- ignored: null,
51
- time: null,
52
- metadata: null,
53
- prompt: null,
54
- description: null,
55
- agent: null,
56
- command: null,
57
- mime: null,
58
- filename: null,
59
- url: null,
60
- source: null,
61
- call_id: null,
62
- tool: null,
63
- state: null,
64
- snapshot: null,
65
- reason: null,
66
- cost: null,
67
- tokens: null,
68
- hash: null,
69
- files: null,
70
- name: null,
71
- attempt: null,
72
- error: null,
73
- auto: null
74
- )
75
- ```
76
-