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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/opencode_client/version.rb +1 -1
- metadata +2 -260
- data/Gemfile +0 -9
- data/Gemfile.lock +0 -102
- data/Rakefile +0 -10
- data/docs/APIError.md +0 -20
- data/docs/APIErrorData.md +0 -28
- data/docs/Agent.md +0 -46
- data/docs/AgentConfig.md +0 -38
- data/docs/AgentConfigPermission.md +0 -28
- data/docs/AgentConfigPermissionBash.md +0 -15
- data/docs/AgentPart.md +0 -28
- data/docs/AgentPartInput.md +0 -24
- data/docs/AgentPartSource.md +0 -22
- data/docs/AgentPermission.md +0 -28
- data/docs/ApiAuth.md +0 -20
- data/docs/AppLogRequest.md +0 -24
- data/docs/AssistantMessage.md +0 -46
- data/docs/AssistantMessageError.md +0 -20
- data/docs/AssistantMessagePath.md +0 -20
- data/docs/AssistantMessageTime.md +0 -20
- data/docs/AssistantMessageTokens.md +0 -24
- data/docs/AssistantMessageTokensCache.md +0 -20
- data/docs/Auth.md +0 -30
- data/docs/BadRequestError.md +0 -22
- data/docs/Command.md +0 -28
- data/docs/CompactionPart.md +0 -26
- data/docs/Config.md +0 -82
- data/docs/ConfigAgent.md +0 -30
- data/docs/ConfigAutoupdate.md +0 -15
- data/docs/ConfigCommandValue.md +0 -26
- data/docs/ConfigCompaction.md +0 -20
- data/docs/ConfigEnterprise.md +0 -18
- data/docs/ConfigExperimental.md +0 -30
- data/docs/ConfigExperimentalHook.md +0 -20
- data/docs/ConfigExperimentalHookFileEditedValueInner.md +0 -20
- data/docs/ConfigFormatter.md +0 -15
- data/docs/ConfigFormatterAnyOfValue.md +0 -24
- data/docs/ConfigLsp.md +0 -15
- data/docs/ConfigLspAnyOfValue.md +0 -26
- data/docs/ConfigLspAnyOfValueAnyOf.md +0 -18
- data/docs/ConfigLspAnyOfValueAnyOf1.md +0 -26
- data/docs/ConfigMode.md +0 -20
- data/docs/ConfigProviders200Response.md +0 -20
- data/docs/ConfigTui.md +0 -22
- data/docs/ConfigTuiScrollAcceleration.md +0 -18
- data/docs/ConfigWatcher.md +0 -18
- data/docs/DefaultApi.md +0 -5641
- data/docs/Event.md +0 -20
- data/docs/EventCommandExecuted.md +0 -20
- data/docs/EventCommandExecutedProperties.md +0 -24
- data/docs/EventFileEdited.md +0 -20
- data/docs/EventFileEditedProperties.md +0 -18
- data/docs/EventFileWatcherUpdated.md +0 -20
- data/docs/EventFileWatcherUpdatedProperties.md +0 -20
- data/docs/EventGlobalDisposed.md +0 -20
- data/docs/EventInstallationUpdateAvailable.md +0 -20
- data/docs/EventInstallationUpdated.md +0 -20
- data/docs/EventInstallationUpdatedProperties.md +0 -18
- data/docs/EventLspClientDiagnostics.md +0 -20
- data/docs/EventLspClientDiagnosticsProperties.md +0 -20
- data/docs/EventLspUpdated.md +0 -20
- data/docs/EventMcpToolsChanged.md +0 -20
- data/docs/EventMcpToolsChangedProperties.md +0 -18
- data/docs/EventMessagePartRemoved.md +0 -20
- data/docs/EventMessagePartRemovedProperties.md +0 -22
- data/docs/EventMessagePartUpdated.md +0 -20
- data/docs/EventMessagePartUpdatedProperties.md +0 -20
- data/docs/EventMessageRemoved.md +0 -20
- data/docs/EventMessageRemovedProperties.md +0 -20
- data/docs/EventMessageUpdated.md +0 -20
- data/docs/EventMessageUpdatedProperties.md +0 -18
- data/docs/EventPermissionReplied.md +0 -20
- data/docs/EventPermissionRepliedProperties.md +0 -22
- data/docs/EventPermissionUpdated.md +0 -20
- data/docs/EventProjectUpdated.md +0 -20
- data/docs/EventPtyCreated.md +0 -20
- data/docs/EventPtyCreatedProperties.md +0 -18
- data/docs/EventPtyDeleted.md +0 -20
- data/docs/EventPtyDeletedProperties.md +0 -18
- data/docs/EventPtyExited.md +0 -20
- data/docs/EventPtyExitedProperties.md +0 -20
- data/docs/EventPtyUpdated.md +0 -20
- data/docs/EventServerConnected.md +0 -20
- data/docs/EventServerInstanceDisposed.md +0 -20
- data/docs/EventServerInstanceDisposedProperties.md +0 -18
- data/docs/EventSessionCompacted.md +0 -20
- data/docs/EventSessionCreated.md +0 -20
- data/docs/EventSessionCreatedProperties.md +0 -18
- data/docs/EventSessionDeleted.md +0 -20
- data/docs/EventSessionDiff.md +0 -20
- data/docs/EventSessionDiffProperties.md +0 -20
- data/docs/EventSessionError.md +0 -20
- data/docs/EventSessionErrorProperties.md +0 -20
- data/docs/EventSessionIdle.md +0 -20
- data/docs/EventSessionIdleProperties.md +0 -18
- data/docs/EventSessionStatus.md +0 -20
- data/docs/EventSessionStatusProperties.md +0 -20
- data/docs/EventSessionUpdated.md +0 -20
- data/docs/EventTodoUpdated.md +0 -20
- data/docs/EventTodoUpdatedProperties.md +0 -20
- data/docs/EventTuiCommandExecute.md +0 -20
- data/docs/EventTuiCommandExecuteProperties.md +0 -18
- data/docs/EventTuiCommandExecutePropertiesCommand.md +0 -15
- data/docs/EventTuiPromptAppend.md +0 -20
- data/docs/EventTuiToastShow.md +0 -20
- data/docs/EventVcsBranchUpdated.md +0 -20
- data/docs/EventVcsBranchUpdatedProperties.md +0 -18
- data/docs/File.md +0 -24
- data/docs/FileContent.md +0 -28
- data/docs/FileContentPatch.md +0 -28
- data/docs/FileContentPatchHunksInner.md +0 -26
- data/docs/FileDiff.md +0 -26
- data/docs/FileNode.md +0 -26
- data/docs/FilePart.md +0 -32
- data/docs/FilePartInput.md +0 -28
- data/docs/FilePartSource.md +0 -28
- data/docs/FilePartSourceText.md +0 -22
- data/docs/FileSource.md +0 -22
- data/docs/FindText200ResponseInner.md +0 -26
- data/docs/FindText200ResponseInnerPath.md +0 -18
- data/docs/FindText200ResponseInnerSubmatchesInner.md +0 -22
- data/docs/FormatterStatus.md +0 -22
- data/docs/GlobalEvent.md +0 -20
- data/docs/GlobalHealth200Response.md +0 -20
- data/docs/KeybindsConfig.md +0 -188
- data/docs/LSPStatus.md +0 -24
- data/docs/LayoutConfig.md +0 -15
- data/docs/LogLevel.md +0 -15
- data/docs/MCPStatus.md +0 -20
- data/docs/MCPStatusConnected.md +0 -18
- data/docs/MCPStatusDisabled.md +0 -18
- data/docs/MCPStatusFailed.md +0 -20
- data/docs/MCPStatusNeedsAuth.md +0 -18
- data/docs/MCPStatusNeedsClientRegistration.md +0 -20
- data/docs/McpAddRequest.md +0 -20
- data/docs/McpAddRequestConfig.md +0 -32
- data/docs/McpAuthCallbackRequest.md +0 -18
- data/docs/McpAuthRemove200Response.md +0 -18
- data/docs/McpAuthStart200Response.md +0 -18
- data/docs/McpLocalConfig.md +0 -26
- data/docs/McpOAuthConfig.md +0 -22
- data/docs/McpRemoteConfig.md +0 -28
- data/docs/McpRemoteConfigOauth.md +0 -22
- data/docs/Message.md +0 -52
- data/docs/MessageAbortedError.md +0 -20
- data/docs/MessageOutputLengthError.md +0 -20
- data/docs/Model.md +0 -40
- data/docs/ModelApi.md +0 -22
- data/docs/ModelCapabilities.md +0 -30
- data/docs/ModelCapabilitiesInput.md +0 -26
- data/docs/ModelCapabilitiesInterleaved.md +0 -18
- data/docs/ModelCapabilitiesInterleavedAnyOf.md +0 -18
- data/docs/ModelCost.md +0 -24
- data/docs/ModelCostExperimentalOver200K.md +0 -22
- data/docs/NotFoundError.md +0 -20
- data/docs/OAuth.md +0 -26
- data/docs/Part.md +0 -76
- data/docs/PartAnyOf.md +0 -32
- data/docs/PatchPart.md +0 -28
- data/docs/Path.md +0 -26
- data/docs/Permission.md +0 -34
- data/docs/PermissionPattern.md +0 -15
- data/docs/PermissionRespondRequest.md +0 -18
- data/docs/Project.md +0 -28
- data/docs/ProjectTime.md +0 -22
- data/docs/ProjectUpdateRequest.md +0 -20
- data/docs/ProjectUpdateRequestIcon.md +0 -20
- data/docs/Provider.md +0 -30
- data/docs/ProviderAuthAuthorization.md +0 -22
- data/docs/ProviderAuthError.md +0 -20
- data/docs/ProviderAuthErrorData.md +0 -20
- data/docs/ProviderAuthMethod.md +0 -20
- data/docs/ProviderConfig.md +0 -34
- data/docs/ProviderConfigModelsValue.md +0 -50
- data/docs/ProviderConfigModelsValueInterleaved.md +0 -18
- data/docs/ProviderConfigModelsValueInterleavedAnyOf.md +0 -18
- data/docs/ProviderConfigOptions.md +0 -26
- data/docs/ProviderConfigOptionsTimeout.md +0 -15
- data/docs/ProviderList200Response.md +0 -22
- data/docs/ProviderList200ResponseAllInner.md +0 -28
- data/docs/ProviderList200ResponseAllInnerModelsValue.md +0 -50
- data/docs/ProviderList200ResponseAllInnerModelsValueCost.md +0 -26
- data/docs/ProviderList200ResponseAllInnerModelsValueCostContextOver200k.md +0 -24
- data/docs/ProviderList200ResponseAllInnerModelsValueInterleaved.md +0 -18
- data/docs/ProviderList200ResponseAllInnerModelsValueInterleavedAnyOf.md +0 -18
- data/docs/ProviderList200ResponseAllInnerModelsValueLimit.md +0 -20
- data/docs/ProviderList200ResponseAllInnerModelsValueModalities.md +0 -20
- data/docs/ProviderList200ResponseAllInnerModelsValueProvider.md +0 -18
- data/docs/ProviderOauthAuthorizeRequest.md +0 -18
- data/docs/ProviderOauthCallbackRequest.md +0 -20
- data/docs/Pty.md +0 -30
- data/docs/PtyCreateRequest.md +0 -26
- data/docs/PtyUpdateRequest.md +0 -20
- data/docs/PtyUpdateRequestSize.md +0 -20
- data/docs/Range.md +0 -20
- data/docs/RangeStart.md +0 -20
- data/docs/ReasoningPart.md +0 -30
- data/docs/RetryPart.md +0 -30
- data/docs/ServerConfig.md +0 -22
- data/docs/Session.md +0 -36
- data/docs/SessionApi.md +0 -145
- data/docs/SessionCommandRequest.md +0 -26
- data/docs/SessionCreateRequest.md +0 -20
- data/docs/SessionForkRequest.md +0 -18
- data/docs/SessionInitRequest.md +0 -22
- data/docs/SessionMessages200ResponseInner.md +0 -20
- data/docs/SessionPrompt200Response.md +0 -20
- data/docs/SessionPromptRequest.md +0 -30
- data/docs/SessionPromptRequestModel.md +0 -20
- data/docs/SessionPromptRequestPartsInner.md +0 -48
- data/docs/SessionRevert.md +0 -24
- data/docs/SessionRevertRequest.md +0 -20
- data/docs/SessionShare.md +0 -18
- data/docs/SessionShellRequest.md +0 -22
- data/docs/SessionStatus.md +0 -24
- data/docs/SessionStatusAnyOf.md +0 -18
- data/docs/SessionStatusAnyOf1.md +0 -24
- data/docs/SessionStatusAnyOf2.md +0 -18
- data/docs/SessionSummarizeRequest.md +0 -22
- data/docs/SessionSummary.md +0 -24
- data/docs/SessionTime.md +0 -24
- data/docs/SessionUpdateRequest.md +0 -20
- data/docs/SessionUpdateRequestTime.md +0 -18
- data/docs/SnapshotPart.md +0 -26
- data/docs/StepFinishPart.md +0 -32
- data/docs/StepStartPart.md +0 -26
- data/docs/SubtaskPartInput.md +0 -28
- data/docs/Symbol.md +0 -22
- data/docs/SymbolLocation.md +0 -20
- data/docs/SymbolSource.md +0 -28
- data/docs/TextPart.md +0 -34
- data/docs/TextPartInput.md +0 -30
- data/docs/TextPartTime.md +0 -20
- data/docs/Todo.md +0 -24
- data/docs/ToolListItem.md +0 -22
- data/docs/ToolPart.md +0 -32
- data/docs/ToolState.md +0 -34
- data/docs/ToolStateCompleted.md +0 -30
- data/docs/ToolStateCompletedTime.md +0 -22
- data/docs/ToolStateError.md +0 -26
- data/docs/ToolStateErrorTime.md +0 -20
- data/docs/ToolStatePending.md +0 -22
- data/docs/ToolStateRunning.md +0 -26
- data/docs/ToolStateRunningTime.md +0 -18
- data/docs/TuiControlNext200Response.md +0 -20
- data/docs/TuiExecuteCommandRequest.md +0 -18
- data/docs/TuiPublishRequest.md +0 -20
- data/docs/TuiShowToastRequest.md +0 -24
- data/docs/UnknownError.md +0 -20
- data/docs/UnknownErrorData.md +0 -18
- data/docs/UserMessage.md +0 -34
- data/docs/UserMessageSummary.md +0 -22
- data/docs/UserMessageTime.md +0 -18
- data/docs/VcsInfo.md +0 -18
- data/docs/WellKnownAuth.md +0 -22
- data/example_usage.rb +0 -37
- data/git_push.sh +0 -57
- data/opencode_client.gemspec +0 -39
- 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
|
-
|
data/docs/PtyCreateRequest.md
DELETED
|
@@ -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
|
-
|
data/docs/PtyUpdateRequest.md
DELETED
|
@@ -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
|
-
|
data/docs/ReasoningPart.md
DELETED
|
@@ -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<Session>**](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
|
-
|
data/docs/SessionForkRequest.md
DELETED
|
@@ -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
|
-
|
data/docs/SessionInitRequest.md
DELETED
|
@@ -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<Part>**](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
|
-
|