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,24 +0,0 @@
1
- # OpencodeClient::ProviderList200ResponseAllInnerModelsValueCostContextOver200k
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
-
12
- ## Example
13
-
14
- ```ruby
15
- require 'opencode_client'
16
-
17
- instance = OpencodeClient::ProviderList200ResponseAllInnerModelsValueCostContextOver200k.new(
18
- input: null,
19
- output: null,
20
- cache_read: null,
21
- cache_write: null
22
- )
23
- ```
24
-
@@ -1,18 +0,0 @@
1
- # OpencodeClient::ProviderList200ResponseAllInnerModelsValueInterleaved
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::ProviderList200ResponseAllInnerModelsValueInterleaved.new(
15
- field: null
16
- )
17
- ```
18
-
@@ -1,18 +0,0 @@
1
- # OpencodeClient::ProviderList200ResponseAllInnerModelsValueInterleavedAnyOf
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::ProviderList200ResponseAllInnerModelsValueInterleavedAnyOf.new(
15
- field: null
16
- )
17
- ```
18
-
@@ -1,20 +0,0 @@
1
- # OpencodeClient::ProviderList200ResponseAllInnerModelsValueLimit
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **context** | **Float** | | |
8
- | **output** | **Float** | | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::ProviderList200ResponseAllInnerModelsValueLimit.new(
16
- context: null,
17
- output: null
18
- )
19
- ```
20
-
@@ -1,20 +0,0 @@
1
- # OpencodeClient::ProviderList200ResponseAllInnerModelsValueModalities
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **input** | **Array<String>** | | |
8
- | **output** | **Array<String>** | | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::ProviderList200ResponseAllInnerModelsValueModalities.new(
16
- input: null,
17
- output: null
18
- )
19
- ```
20
-
@@ -1,18 +0,0 @@
1
- # OpencodeClient::ProviderList200ResponseAllInnerModelsValueProvider
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **npm** | **String** | | |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'opencode_client'
13
-
14
- instance = OpencodeClient::ProviderList200ResponseAllInnerModelsValueProvider.new(
15
- npm: null
16
- )
17
- ```
18
-
@@ -1,18 +0,0 @@
1
- # OpencodeClient::ProviderOauthAuthorizeRequest
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **method** | **Float** | Auth method index | |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'opencode_client'
13
-
14
- instance = OpencodeClient::ProviderOauthAuthorizeRequest.new(
15
- method: null
16
- )
17
- ```
18
-
@@ -1,20 +0,0 @@
1
- # OpencodeClient::ProviderOauthCallbackRequest
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **method** | **Float** | Auth method index | |
8
- | **code** | **String** | OAuth authorization code | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::ProviderOauthCallbackRequest.new(
16
- method: null,
17
- code: null
18
- )
19
- ```
20
-
data/docs/Pty.md DELETED
@@ -1,30 +0,0 @@
1
- # OpencodeClient::Pty
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | |
8
- | **title** | **String** | | |
9
- | **command** | **String** | | |
10
- | **args** | **Array<String>** | | |
11
- | **cwd** | **String** | | |
12
- | **status** | **String** | | |
13
- | **pid** | **Float** | | |
14
-
15
- ## Example
16
-
17
- ```ruby
18
- require 'opencode_client'
19
-
20
- instance = OpencodeClient::Pty.new(
21
- id: null,
22
- title: null,
23
- command: null,
24
- args: null,
25
- cwd: null,
26
- status: null,
27
- pid: null
28
- )
29
- ```
30
-
@@ -1,26 +0,0 @@
1
- # OpencodeClient::PtyCreateRequest
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **command** | **String** | | [optional] |
8
- | **args** | **Array<String>** | | [optional] |
9
- | **cwd** | **String** | | [optional] |
10
- | **title** | **String** | | [optional] |
11
- | **env** | **Hash<String, String>** | | [optional] |
12
-
13
- ## Example
14
-
15
- ```ruby
16
- require 'opencode_client'
17
-
18
- instance = OpencodeClient::PtyCreateRequest.new(
19
- command: null,
20
- args: null,
21
- cwd: null,
22
- title: null,
23
- env: null
24
- )
25
- ```
26
-
@@ -1,20 +0,0 @@
1
- # OpencodeClient::PtyUpdateRequest
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **title** | **String** | | [optional] |
8
- | **size** | [**PtyUpdateRequestSize**](PtyUpdateRequestSize.md) | | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::PtyUpdateRequest.new(
16
- title: null,
17
- size: null
18
- )
19
- ```
20
-
@@ -1,20 +0,0 @@
1
- # OpencodeClient::PtyUpdateRequestSize
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **rows** | **Float** | | |
8
- | **cols** | **Float** | | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::PtyUpdateRequestSize.new(
16
- rows: null,
17
- cols: null
18
- )
19
- ```
20
-
data/docs/Range.md DELETED
@@ -1,20 +0,0 @@
1
- # OpencodeClient::Range
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **start** | [**RangeStart**](RangeStart.md) | | |
8
- | **_end** | [**RangeStart**](RangeStart.md) | | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::Range.new(
16
- start: null,
17
- _end: null
18
- )
19
- ```
20
-
data/docs/RangeStart.md DELETED
@@ -1,20 +0,0 @@
1
- # OpencodeClient::RangeStart
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **line** | **Float** | | |
8
- | **character** | **Float** | | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::RangeStart.new(
16
- line: null,
17
- character: null
18
- )
19
- ```
20
-
@@ -1,30 +0,0 @@
1
- # OpencodeClient::ReasoningPart
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
- | **metadata** | **Hash<String, Object>** | | [optional] |
13
- | **time** | [**TextPartTime**](TextPartTime.md) | | |
14
-
15
- ## Example
16
-
17
- ```ruby
18
- require 'opencode_client'
19
-
20
- instance = OpencodeClient::ReasoningPart.new(
21
- id: null,
22
- session_id: null,
23
- message_id: null,
24
- type: null,
25
- text: null,
26
- metadata: null,
27
- time: null
28
- )
29
- ```
30
-
data/docs/RetryPart.md DELETED
@@ -1,30 +0,0 @@
1
- # OpencodeClient::RetryPart
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
- | **attempt** | **Float** | | |
12
- | **error** | [**APIError**](APIError.md) | | |
13
- | **time** | [**UserMessageTime**](UserMessageTime.md) | | |
14
-
15
- ## Example
16
-
17
- ```ruby
18
- require 'opencode_client'
19
-
20
- instance = OpencodeClient::RetryPart.new(
21
- id: null,
22
- session_id: null,
23
- message_id: null,
24
- type: null,
25
- attempt: null,
26
- error: null,
27
- time: null
28
- )
29
- ```
30
-
data/docs/ServerConfig.md DELETED
@@ -1,22 +0,0 @@
1
- # OpencodeClient::ServerConfig
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **port** | **Integer** | Port to listen on | [optional] |
8
- | **hostname** | **String** | Hostname to listen on | [optional] |
9
- | **mdns** | **Boolean** | Enable mDNS service discovery | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'opencode_client'
15
-
16
- instance = OpencodeClient::ServerConfig.new(
17
- port: null,
18
- hostname: null,
19
- mdns: null
20
- )
21
- ```
22
-
data/docs/Session.md DELETED
@@ -1,36 +0,0 @@
1
- # OpencodeClient::Session
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | |
8
- | **project_id** | **String** | | |
9
- | **directory** | **String** | | |
10
- | **parent_id** | **String** | | [optional] |
11
- | **summary** | [**SessionSummary**](SessionSummary.md) | | [optional] |
12
- | **share** | [**SessionShare**](SessionShare.md) | | [optional] |
13
- | **title** | **String** | | |
14
- | **version** | **String** | | |
15
- | **time** | [**SessionTime**](SessionTime.md) | | |
16
- | **revert** | [**SessionRevert**](SessionRevert.md) | | [optional] |
17
-
18
- ## Example
19
-
20
- ```ruby
21
- require 'opencode_client'
22
-
23
- instance = OpencodeClient::Session.new(
24
- id: null,
25
- project_id: null,
26
- directory: null,
27
- parent_id: null,
28
- summary: null,
29
- share: null,
30
- title: null,
31
- version: null,
32
- time: null,
33
- revert: null
34
- )
35
- ```
36
-
data/docs/SessionApi.md DELETED
@@ -1,145 +0,0 @@
1
- # OpencodeClient::SessionApi
2
-
3
- All URIs are relative to *http://localhost*
4
-
5
- | Method | HTTP request | Description |
6
- | ------ | ------------ | ----------- |
7
- | [**session_children**](SessionApi.md#session_children) | **GET** /session/{sessionID}/children | Get session children |
8
- | [**session_get**](SessionApi.md#session_get) | **GET** /session/{sessionID} | Get session |
9
-
10
-
11
- ## session_children
12
-
13
- > <Array<Session>> session_children(session_id, opts)
14
-
15
- Get session children
16
-
17
- Retrieve all child sessions that were forked from the specified parent session.
18
-
19
- ### Examples
20
-
21
- ```ruby
22
- require 'time'
23
- require 'opencode_client'
24
-
25
- api_instance = OpencodeClient::SessionApi.new
26
- session_id = 'session_id_example' # String |
27
- opts = {
28
- directory: 'directory_example' # String |
29
- }
30
-
31
- begin
32
- # Get session children
33
- result = api_instance.session_children(session_id, opts)
34
- p result
35
- rescue OpencodeClient::ApiError => e
36
- puts "Error when calling SessionApi->session_children: #{e}"
37
- end
38
- ```
39
-
40
- #### Using the session_children_with_http_info variant
41
-
42
- This returns an Array which contains the response data, status code and headers.
43
-
44
- > <Array(<Array<Session>>, Integer, Hash)> session_children_with_http_info(session_id, opts)
45
-
46
- ```ruby
47
- begin
48
- # Get session children
49
- data, status_code, headers = api_instance.session_children_with_http_info(session_id, opts)
50
- p status_code # => 2xx
51
- p headers # => { ... }
52
- p data # => <Array<Session>>
53
- rescue OpencodeClient::ApiError => e
54
- puts "Error when calling SessionApi->session_children_with_http_info: #{e}"
55
- end
56
- ```
57
-
58
- ### Parameters
59
-
60
- | Name | Type | Description | Notes |
61
- | ---- | ---- | ----------- | ----- |
62
- | **session_id** | **String** | | |
63
- | **directory** | **String** | | [optional] |
64
-
65
- ### Return type
66
-
67
- [**Array&lt;Session&gt;**](Session.md)
68
-
69
- ### Authorization
70
-
71
- No authorization required
72
-
73
- ### HTTP request headers
74
-
75
- - **Content-Type**: Not defined
76
- - **Accept**: application/json
77
-
78
-
79
- ## session_get
80
-
81
- > <Session> session_get(session_id, opts)
82
-
83
- Get session
84
-
85
- Retrieve detailed information about a specific OpenCode session.
86
-
87
- ### Examples
88
-
89
- ```ruby
90
- require 'time'
91
- require 'opencode_client'
92
-
93
- api_instance = OpencodeClient::SessionApi.new
94
- session_id = 'session_id_example' # String |
95
- opts = {
96
- directory: 'directory_example' # String |
97
- }
98
-
99
- begin
100
- # Get session
101
- result = api_instance.session_get(session_id, opts)
102
- p result
103
- rescue OpencodeClient::ApiError => e
104
- puts "Error when calling SessionApi->session_get: #{e}"
105
- end
106
- ```
107
-
108
- #### Using the session_get_with_http_info variant
109
-
110
- This returns an Array which contains the response data, status code and headers.
111
-
112
- > <Array(<Session>, Integer, Hash)> session_get_with_http_info(session_id, opts)
113
-
114
- ```ruby
115
- begin
116
- # Get session
117
- data, status_code, headers = api_instance.session_get_with_http_info(session_id, opts)
118
- p status_code # => 2xx
119
- p headers # => { ... }
120
- p data # => <Session>
121
- rescue OpencodeClient::ApiError => e
122
- puts "Error when calling SessionApi->session_get_with_http_info: #{e}"
123
- end
124
- ```
125
-
126
- ### Parameters
127
-
128
- | Name | Type | Description | Notes |
129
- | ---- | ---- | ----------- | ----- |
130
- | **session_id** | **String** | | |
131
- | **directory** | **String** | | [optional] |
132
-
133
- ### Return type
134
-
135
- [**Session**](Session.md)
136
-
137
- ### Authorization
138
-
139
- No authorization required
140
-
141
- ### HTTP request headers
142
-
143
- - **Content-Type**: Not defined
144
- - **Accept**: application/json
145
-
@@ -1,26 +0,0 @@
1
- # OpencodeClient::SessionCommandRequest
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **message_id** | **String** | | [optional] |
8
- | **agent** | **String** | | [optional] |
9
- | **model** | **String** | | [optional] |
10
- | **arguments** | **String** | | |
11
- | **command** | **String** | | |
12
-
13
- ## Example
14
-
15
- ```ruby
16
- require 'opencode_client'
17
-
18
- instance = OpencodeClient::SessionCommandRequest.new(
19
- message_id: null,
20
- agent: null,
21
- model: null,
22
- arguments: null,
23
- command: null
24
- )
25
- ```
26
-
@@ -1,20 +0,0 @@
1
- # OpencodeClient::SessionCreateRequest
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **parent_id** | **String** | | [optional] |
8
- | **title** | **String** | | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::SessionCreateRequest.new(
16
- parent_id: null,
17
- title: null
18
- )
19
- ```
20
-
@@ -1,18 +0,0 @@
1
- # OpencodeClient::SessionForkRequest
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **message_id** | **String** | | [optional] |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'opencode_client'
13
-
14
- instance = OpencodeClient::SessionForkRequest.new(
15
- message_id: null
16
- )
17
- ```
18
-
@@ -1,22 +0,0 @@
1
- # OpencodeClient::SessionInitRequest
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **model_id** | **String** | | |
8
- | **provider_id** | **String** | | |
9
- | **message_id** | **String** | | |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'opencode_client'
15
-
16
- instance = OpencodeClient::SessionInitRequest.new(
17
- model_id: null,
18
- provider_id: null,
19
- message_id: null
20
- )
21
- ```
22
-
@@ -1,20 +0,0 @@
1
- # OpencodeClient::SessionMessages200ResponseInner
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **info** | [**Message**](Message.md) | | |
8
- | **parts** | [**Array&lt;Part&gt;**](Part.md) | | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'opencode_client'
14
-
15
- instance = OpencodeClient::SessionMessages200ResponseInner.new(
16
- info: null,
17
- parts: null
18
- )
19
- ```
20
-