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
data/docs/PartAnyOf.md DELETED
@@ -1,32 +0,0 @@
1
- # OpencodeClient::PartAnyOf
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
- | **prompt** | **String** | | |
12
- | **description** | **String** | | |
13
- | **agent** | **String** | | |
14
- | **command** | **String** | | [optional] |
15
-
16
- ## Example
17
-
18
- ```ruby
19
- require 'opencode_client'
20
-
21
- instance = OpencodeClient::PartAnyOf.new(
22
- id: null,
23
- session_id: null,
24
- message_id: null,
25
- type: null,
26
- prompt: null,
27
- description: null,
28
- agent: null,
29
- command: null
30
- )
31
- ```
32
-
data/docs/PatchPart.md DELETED
@@ -1,28 +0,0 @@
1
- # OpencodeClient::PatchPart
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
- | **hash** | **String** | | |
12
- | **files** | **Array<String>** | | |
13
-
14
- ## Example
15
-
16
- ```ruby
17
- require 'opencode_client'
18
-
19
- instance = OpencodeClient::PatchPart.new(
20
- id: null,
21
- session_id: null,
22
- message_id: null,
23
- type: null,
24
- hash: null,
25
- files: null
26
- )
27
- ```
28
-
data/docs/Path.md DELETED
@@ -1,26 +0,0 @@
1
- # OpencodeClient::Path
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **home** | **String** | | |
8
- | **state** | **String** | | |
9
- | **config** | **String** | | |
10
- | **worktree** | **String** | | |
11
- | **directory** | **String** | | |
12
-
13
- ## Example
14
-
15
- ```ruby
16
- require 'opencode_client'
17
-
18
- instance = OpencodeClient::Path.new(
19
- home: null,
20
- state: null,
21
- config: null,
22
- worktree: null,
23
- directory: null
24
- )
25
- ```
26
-
data/docs/Permission.md DELETED
@@ -1,34 +0,0 @@
1
- # OpencodeClient::Permission
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | |
8
- | **type** | **String** | | |
9
- | **pattern** | [**PermissionPattern**](PermissionPattern.md) | | [optional] |
10
- | **session_id** | **String** | | |
11
- | **message_id** | **String** | | |
12
- | **call_id** | **String** | | [optional] |
13
- | **title** | **String** | | |
14
- | **metadata** | **Hash<String, Object>** | | |
15
- | **time** | [**UserMessageTime**](UserMessageTime.md) | | |
16
-
17
- ## Example
18
-
19
- ```ruby
20
- require 'opencode_client'
21
-
22
- instance = OpencodeClient::Permission.new(
23
- id: null,
24
- type: null,
25
- pattern: null,
26
- session_id: null,
27
- message_id: null,
28
- call_id: null,
29
- title: null,
30
- metadata: null,
31
- time: null
32
- )
33
- ```
34
-
@@ -1,15 +0,0 @@
1
- # OpencodeClient::PermissionPattern
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'opencode_client'
12
-
13
- instance = OpencodeClient::PermissionPattern.new()
14
- ```
15
-
@@ -1,18 +0,0 @@
1
- # OpencodeClient::PermissionRespondRequest
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **response** | **String** | | |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'opencode_client'
13
-
14
- instance = OpencodeClient::PermissionRespondRequest.new(
15
- response: null
16
- )
17
- ```
18
-
data/docs/Project.md DELETED
@@ -1,28 +0,0 @@
1
- # OpencodeClient::Project
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | |
8
- | **worktree** | **String** | | |
9
- | **vcs** | **String** | | [optional] |
10
- | **name** | **String** | | [optional] |
11
- | **icon** | [**ProjectUpdateRequestIcon**](ProjectUpdateRequestIcon.md) | | [optional] |
12
- | **time** | [**ProjectTime**](ProjectTime.md) | | |
13
-
14
- ## Example
15
-
16
- ```ruby
17
- require 'opencode_client'
18
-
19
- instance = OpencodeClient::Project.new(
20
- id: null,
21
- worktree: null,
22
- vcs: null,
23
- name: null,
24
- icon: null,
25
- time: null
26
- )
27
- ```
28
-
data/docs/ProjectTime.md DELETED
@@ -1,22 +0,0 @@
1
- # OpencodeClient::ProjectTime
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **created** | **Float** | | |
8
- | **updated** | **Float** | | |
9
- | **initialized** | **Float** | | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'opencode_client'
15
-
16
- instance = OpencodeClient::ProjectTime.new(
17
- created: null,
18
- updated: null,
19
- initialized: null
20
- )
21
- ```
22
-
@@ -1,20 +0,0 @@
1
- # OpencodeClient::ProjectUpdateRequest
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | | [optional] |
8
- | **icon** | [**ProjectUpdateRequestIcon**](ProjectUpdateRequestIcon.md) | | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::ProjectUpdateRequest.new(
16
- name: null,
17
- icon: null
18
- )
19
- ```
20
-
@@ -1,20 +0,0 @@
1
- # OpencodeClient::ProjectUpdateRequestIcon
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **url** | **String** | | [optional] |
8
- | **color** | **String** | | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::ProjectUpdateRequestIcon.new(
16
- url: null,
17
- color: null
18
- )
19
- ```
20
-
data/docs/Provider.md DELETED
@@ -1,30 +0,0 @@
1
- # OpencodeClient::Provider
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | |
8
- | **name** | **String** | | |
9
- | **source** | **String** | | |
10
- | **env** | **Array<String>** | | |
11
- | **key** | **String** | | [optional] |
12
- | **options** | **Hash<String, Object>** | | |
13
- | **models** | [**Hash<String, Model>**](Model.md) | | |
14
-
15
- ## Example
16
-
17
- ```ruby
18
- require 'opencode_client'
19
-
20
- instance = OpencodeClient::Provider.new(
21
- id: null,
22
- name: null,
23
- source: null,
24
- env: null,
25
- key: null,
26
- options: null,
27
- models: null
28
- )
29
- ```
30
-
@@ -1,22 +0,0 @@
1
- # OpencodeClient::ProviderAuthAuthorization
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **url** | **String** | | |
8
- | **method** | **String** | | |
9
- | **instructions** | **String** | | |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'opencode_client'
15
-
16
- instance = OpencodeClient::ProviderAuthAuthorization.new(
17
- url: null,
18
- method: null,
19
- instructions: null
20
- )
21
- ```
22
-
@@ -1,20 +0,0 @@
1
- # OpencodeClient::ProviderAuthError
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | | |
8
- | **data** | [**ProviderAuthErrorData**](ProviderAuthErrorData.md) | | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::ProviderAuthError.new(
16
- name: null,
17
- data: null
18
- )
19
- ```
20
-
@@ -1,20 +0,0 @@
1
- # OpencodeClient::ProviderAuthErrorData
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **provider_id** | **String** | | |
8
- | **message** | **String** | | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::ProviderAuthErrorData.new(
16
- provider_id: null,
17
- message: null
18
- )
19
- ```
20
-
@@ -1,20 +0,0 @@
1
- # OpencodeClient::ProviderAuthMethod
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **type** | **String** | | |
8
- | **label** | **String** | | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::ProviderAuthMethod.new(
16
- type: null,
17
- label: null
18
- )
19
- ```
20
-
@@ -1,34 +0,0 @@
1
- # OpencodeClient::ProviderConfig
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **api** | **String** | | [optional] |
8
- | **name** | **String** | | [optional] |
9
- | **env** | **Array<String>** | | [optional] |
10
- | **id** | **String** | | [optional] |
11
- | **npm** | **String** | | [optional] |
12
- | **models** | [**Hash<String, ProviderConfigModelsValue>**](ProviderConfigModelsValue.md) | | [optional] |
13
- | **whitelist** | **Array<String>** | | [optional] |
14
- | **blacklist** | **Array<String>** | | [optional] |
15
- | **options** | [**ProviderConfigOptions**](ProviderConfigOptions.md) | | [optional] |
16
-
17
- ## Example
18
-
19
- ```ruby
20
- require 'opencode_client'
21
-
22
- instance = OpencodeClient::ProviderConfig.new(
23
- api: null,
24
- name: null,
25
- env: null,
26
- id: null,
27
- npm: null,
28
- models: null,
29
- whitelist: null,
30
- blacklist: null,
31
- options: null
32
- )
33
- ```
34
-
@@ -1,50 +0,0 @@
1
- # OpencodeClient::ProviderConfigModelsValue
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | [optional] |
8
- | **name** | **String** | | [optional] |
9
- | **family** | **String** | | [optional] |
10
- | **release_date** | **String** | | [optional] |
11
- | **attachment** | **Boolean** | | [optional] |
12
- | **reasoning** | **Boolean** | | [optional] |
13
- | **temperature** | **Boolean** | | [optional] |
14
- | **tool_call** | **Boolean** | | [optional] |
15
- | **interleaved** | [**ProviderConfigModelsValueInterleaved**](ProviderConfigModelsValueInterleaved.md) | | [optional] |
16
- | **cost** | [**ProviderList200ResponseAllInnerModelsValueCost**](ProviderList200ResponseAllInnerModelsValueCost.md) | | [optional] |
17
- | **limit** | [**ProviderList200ResponseAllInnerModelsValueLimit**](ProviderList200ResponseAllInnerModelsValueLimit.md) | | [optional] |
18
- | **modalities** | [**ProviderList200ResponseAllInnerModelsValueModalities**](ProviderList200ResponseAllInnerModelsValueModalities.md) | | [optional] |
19
- | **experimental** | **Boolean** | | [optional] |
20
- | **status** | **String** | | [optional] |
21
- | **options** | **Hash<String, Object>** | | [optional] |
22
- | **headers** | **Hash<String, String>** | | [optional] |
23
- | **provider** | [**ProviderList200ResponseAllInnerModelsValueProvider**](ProviderList200ResponseAllInnerModelsValueProvider.md) | | [optional] |
24
-
25
- ## Example
26
-
27
- ```ruby
28
- require 'opencode_client'
29
-
30
- instance = OpencodeClient::ProviderConfigModelsValue.new(
31
- id: null,
32
- name: null,
33
- family: null,
34
- release_date: null,
35
- attachment: null,
36
- reasoning: null,
37
- temperature: null,
38
- tool_call: null,
39
- interleaved: null,
40
- cost: null,
41
- limit: null,
42
- modalities: null,
43
- experimental: null,
44
- status: null,
45
- options: null,
46
- headers: null,
47
- provider: null
48
- )
49
- ```
50
-
@@ -1,18 +0,0 @@
1
- # OpencodeClient::ProviderConfigModelsValueInterleaved
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::ProviderConfigModelsValueInterleaved.new(
15
- field: null
16
- )
17
- ```
18
-
@@ -1,18 +0,0 @@
1
- # OpencodeClient::ProviderConfigModelsValueInterleavedAnyOf
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::ProviderConfigModelsValueInterleavedAnyOf.new(
15
- field: null
16
- )
17
- ```
18
-
@@ -1,26 +0,0 @@
1
- # OpencodeClient::ProviderConfigOptions
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **api_key** | **String** | | [optional] |
8
- | **base_url** | **String** | | [optional] |
9
- | **enterprise_url** | **String** | GitHub Enterprise URL for copilot authentication | [optional] |
10
- | **set_cache_key** | **Boolean** | Enable promptCacheKey for this provider (default false) | [optional] |
11
- | **timeout** | [**ProviderConfigOptionsTimeout**](ProviderConfigOptionsTimeout.md) | | [optional] |
12
-
13
- ## Example
14
-
15
- ```ruby
16
- require 'opencode_client'
17
-
18
- instance = OpencodeClient::ProviderConfigOptions.new(
19
- api_key: null,
20
- base_url: null,
21
- enterprise_url: null,
22
- set_cache_key: null,
23
- timeout: null
24
- )
25
- ```
26
-
@@ -1,15 +0,0 @@
1
- # OpencodeClient::ProviderConfigOptionsTimeout
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'opencode_client'
12
-
13
- instance = OpencodeClient::ProviderConfigOptionsTimeout.new()
14
- ```
15
-
@@ -1,22 +0,0 @@
1
- # OpencodeClient::ProviderList200Response
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **all** | [**Array<ProviderList200ResponseAllInner>**](ProviderList200ResponseAllInner.md) | | |
8
- | **default** | **Hash<String, String>** | | |
9
- | **connected** | **Array<String>** | | |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'opencode_client'
15
-
16
- instance = OpencodeClient::ProviderList200Response.new(
17
- all: null,
18
- default: null,
19
- connected: null
20
- )
21
- ```
22
-
@@ -1,28 +0,0 @@
1
- # OpencodeClient::ProviderList200ResponseAllInner
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **api** | **String** | | [optional] |
8
- | **name** | **String** | | |
9
- | **env** | **Array<String>** | | |
10
- | **id** | **String** | | |
11
- | **npm** | **String** | | [optional] |
12
- | **models** | [**Hash<String, ProviderList200ResponseAllInnerModelsValue>**](ProviderList200ResponseAllInnerModelsValue.md) | | |
13
-
14
- ## Example
15
-
16
- ```ruby
17
- require 'opencode_client'
18
-
19
- instance = OpencodeClient::ProviderList200ResponseAllInner.new(
20
- api: null,
21
- name: null,
22
- env: null,
23
- id: null,
24
- npm: null,
25
- models: null
26
- )
27
- ```
28
-
@@ -1,50 +0,0 @@
1
- # OpencodeClient::ProviderList200ResponseAllInnerModelsValue
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | |
8
- | **name** | **String** | | |
9
- | **family** | **String** | | [optional] |
10
- | **release_date** | **String** | | |
11
- | **attachment** | **Boolean** | | |
12
- | **reasoning** | **Boolean** | | |
13
- | **temperature** | **Boolean** | | |
14
- | **tool_call** | **Boolean** | | |
15
- | **interleaved** | [**ProviderList200ResponseAllInnerModelsValueInterleaved**](ProviderList200ResponseAllInnerModelsValueInterleaved.md) | | [optional] |
16
- | **cost** | [**ProviderList200ResponseAllInnerModelsValueCost**](ProviderList200ResponseAllInnerModelsValueCost.md) | | [optional] |
17
- | **limit** | [**ProviderList200ResponseAllInnerModelsValueLimit**](ProviderList200ResponseAllInnerModelsValueLimit.md) | | |
18
- | **modalities** | [**ProviderList200ResponseAllInnerModelsValueModalities**](ProviderList200ResponseAllInnerModelsValueModalities.md) | | [optional] |
19
- | **experimental** | **Boolean** | | [optional] |
20
- | **status** | **String** | | [optional] |
21
- | **options** | **Hash<String, Object>** | | |
22
- | **headers** | **Hash<String, String>** | | [optional] |
23
- | **provider** | [**ProviderList200ResponseAllInnerModelsValueProvider**](ProviderList200ResponseAllInnerModelsValueProvider.md) | | [optional] |
24
-
25
- ## Example
26
-
27
- ```ruby
28
- require 'opencode_client'
29
-
30
- instance = OpencodeClient::ProviderList200ResponseAllInnerModelsValue.new(
31
- id: null,
32
- name: null,
33
- family: null,
34
- release_date: null,
35
- attachment: null,
36
- reasoning: null,
37
- temperature: null,
38
- tool_call: null,
39
- interleaved: null,
40
- cost: null,
41
- limit: null,
42
- modalities: null,
43
- experimental: null,
44
- status: null,
45
- options: null,
46
- headers: null,
47
- provider: null
48
- )
49
- ```
50
-
@@ -1,26 +0,0 @@
1
- # OpencodeClient::ProviderList200ResponseAllInnerModelsValueCost
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **input** | **Float** | | |
8
- | **output** | **Float** | | |
9
- | **cache_read** | **Float** | | [optional] |
10
- | **cache_write** | **Float** | | [optional] |
11
- | **context_over_200k** | [**ProviderList200ResponseAllInnerModelsValueCostContextOver200k**](ProviderList200ResponseAllInnerModelsValueCostContextOver200k.md) | | [optional] |
12
-
13
- ## Example
14
-
15
- ```ruby
16
- require 'opencode_client'
17
-
18
- instance = OpencodeClient::ProviderList200ResponseAllInnerModelsValueCost.new(
19
- input: null,
20
- output: null,
21
- cache_read: null,
22
- cache_write: null,
23
- context_over_200k: null
24
- )
25
- ```
26
-