opencode_client 1.0.1 → 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 +3 -261
- 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,20 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SessionPrompt200Response
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **info** | [**AssistantMessage**](AssistantMessage.md) | | |
|
|
8
|
-
| **parts** | [**Array<Part>**](Part.md) | | |
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```ruby
|
|
13
|
-
require 'opencode_client'
|
|
14
|
-
|
|
15
|
-
instance = OpencodeClient::SessionPrompt200Response.new(
|
|
16
|
-
info: null,
|
|
17
|
-
parts: null
|
|
18
|
-
)
|
|
19
|
-
```
|
|
20
|
-
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SessionPromptRequest
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **message_id** | **String** | | [optional] |
|
|
8
|
-
| **model** | [**SessionPromptRequestModel**](SessionPromptRequestModel.md) | | [optional] |
|
|
9
|
-
| **agent** | **String** | | [optional] |
|
|
10
|
-
| **no_reply** | **Boolean** | | [optional] |
|
|
11
|
-
| **tools** | **Hash<String, Boolean>** | | [optional] |
|
|
12
|
-
| **system** | **String** | | [optional] |
|
|
13
|
-
| **parts** | [**Array<SessionPromptRequestPartsInner>**](SessionPromptRequestPartsInner.md) | | |
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```ruby
|
|
18
|
-
require 'opencode_client'
|
|
19
|
-
|
|
20
|
-
instance = OpencodeClient::SessionPromptRequest.new(
|
|
21
|
-
message_id: null,
|
|
22
|
-
model: null,
|
|
23
|
-
agent: null,
|
|
24
|
-
no_reply: null,
|
|
25
|
-
tools: null,
|
|
26
|
-
system: null,
|
|
27
|
-
parts: null
|
|
28
|
-
)
|
|
29
|
-
```
|
|
30
|
-
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SessionPromptRequestModel
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **provider_id** | **String** | | |
|
|
8
|
-
| **model_id** | **String** | | |
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```ruby
|
|
13
|
-
require 'opencode_client'
|
|
14
|
-
|
|
15
|
-
instance = OpencodeClient::SessionPromptRequestModel.new(
|
|
16
|
-
provider_id: null,
|
|
17
|
-
model_id: null
|
|
18
|
-
)
|
|
19
|
-
```
|
|
20
|
-
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SessionPromptRequestPartsInner
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** | | [optional] |
|
|
8
|
-
| **type** | **String** | | |
|
|
9
|
-
| **text** | **String** | | |
|
|
10
|
-
| **synthetic** | **Boolean** | | [optional] |
|
|
11
|
-
| **ignored** | **Boolean** | | [optional] |
|
|
12
|
-
| **time** | [**TextPartTime**](TextPartTime.md) | | [optional] |
|
|
13
|
-
| **metadata** | **Hash<String, Object>** | | [optional] |
|
|
14
|
-
| **mime** | **String** | | |
|
|
15
|
-
| **filename** | **String** | | [optional] |
|
|
16
|
-
| **url** | **String** | | |
|
|
17
|
-
| **source** | [**AgentPartSource**](AgentPartSource.md) | | [optional] |
|
|
18
|
-
| **name** | **String** | | |
|
|
19
|
-
| **prompt** | **String** | | |
|
|
20
|
-
| **description** | **String** | | |
|
|
21
|
-
| **agent** | **String** | | |
|
|
22
|
-
| **command** | **String** | | [optional] |
|
|
23
|
-
|
|
24
|
-
## Example
|
|
25
|
-
|
|
26
|
-
```ruby
|
|
27
|
-
require 'opencode_client'
|
|
28
|
-
|
|
29
|
-
instance = OpencodeClient::SessionPromptRequestPartsInner.new(
|
|
30
|
-
id: null,
|
|
31
|
-
type: null,
|
|
32
|
-
text: null,
|
|
33
|
-
synthetic: null,
|
|
34
|
-
ignored: null,
|
|
35
|
-
time: null,
|
|
36
|
-
metadata: null,
|
|
37
|
-
mime: null,
|
|
38
|
-
filename: null,
|
|
39
|
-
url: null,
|
|
40
|
-
source: null,
|
|
41
|
-
name: null,
|
|
42
|
-
prompt: null,
|
|
43
|
-
description: null,
|
|
44
|
-
agent: null,
|
|
45
|
-
command: null
|
|
46
|
-
)
|
|
47
|
-
```
|
|
48
|
-
|
data/docs/SessionRevert.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SessionRevert
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **message_id** | **String** | | |
|
|
8
|
-
| **part_id** | **String** | | [optional] |
|
|
9
|
-
| **snapshot** | **String** | | [optional] |
|
|
10
|
-
| **diff** | **String** | | [optional] |
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```ruby
|
|
15
|
-
require 'opencode_client'
|
|
16
|
-
|
|
17
|
-
instance = OpencodeClient::SessionRevert.new(
|
|
18
|
-
message_id: null,
|
|
19
|
-
part_id: null,
|
|
20
|
-
snapshot: null,
|
|
21
|
-
diff: null
|
|
22
|
-
)
|
|
23
|
-
```
|
|
24
|
-
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SessionRevertRequest
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **message_id** | **String** | | |
|
|
8
|
-
| **part_id** | **String** | | [optional] |
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```ruby
|
|
13
|
-
require 'opencode_client'
|
|
14
|
-
|
|
15
|
-
instance = OpencodeClient::SessionRevertRequest.new(
|
|
16
|
-
message_id: null,
|
|
17
|
-
part_id: null
|
|
18
|
-
)
|
|
19
|
-
```
|
|
20
|
-
|
data/docs/SessionShare.md
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SessionShare
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **url** | **String** | | |
|
|
8
|
-
|
|
9
|
-
## Example
|
|
10
|
-
|
|
11
|
-
```ruby
|
|
12
|
-
require 'opencode_client'
|
|
13
|
-
|
|
14
|
-
instance = OpencodeClient::SessionShare.new(
|
|
15
|
-
url: null
|
|
16
|
-
)
|
|
17
|
-
```
|
|
18
|
-
|
data/docs/SessionShellRequest.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SessionShellRequest
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **agent** | **String** | | |
|
|
8
|
-
| **model** | [**SessionPromptRequestModel**](SessionPromptRequestModel.md) | | [optional] |
|
|
9
|
-
| **command** | **String** | | |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'opencode_client'
|
|
15
|
-
|
|
16
|
-
instance = OpencodeClient::SessionShellRequest.new(
|
|
17
|
-
agent: null,
|
|
18
|
-
model: null,
|
|
19
|
-
command: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|
data/docs/SessionStatus.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SessionStatus
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **type** | **String** | | |
|
|
8
|
-
| **attempt** | **Float** | | |
|
|
9
|
-
| **message** | **String** | | |
|
|
10
|
-
| **_next** | **Float** | | |
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```ruby
|
|
15
|
-
require 'opencode_client'
|
|
16
|
-
|
|
17
|
-
instance = OpencodeClient::SessionStatus.new(
|
|
18
|
-
type: null,
|
|
19
|
-
attempt: null,
|
|
20
|
-
message: null,
|
|
21
|
-
_next: null
|
|
22
|
-
)
|
|
23
|
-
```
|
|
24
|
-
|
data/docs/SessionStatusAnyOf.md
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SessionStatusAnyOf
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **type** | **String** | | |
|
|
8
|
-
|
|
9
|
-
## Example
|
|
10
|
-
|
|
11
|
-
```ruby
|
|
12
|
-
require 'opencode_client'
|
|
13
|
-
|
|
14
|
-
instance = OpencodeClient::SessionStatusAnyOf.new(
|
|
15
|
-
type: null
|
|
16
|
-
)
|
|
17
|
-
```
|
|
18
|
-
|
data/docs/SessionStatusAnyOf1.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SessionStatusAnyOf1
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **type** | **String** | | |
|
|
8
|
-
| **attempt** | **Float** | | |
|
|
9
|
-
| **message** | **String** | | |
|
|
10
|
-
| **_next** | **Float** | | |
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```ruby
|
|
15
|
-
require 'opencode_client'
|
|
16
|
-
|
|
17
|
-
instance = OpencodeClient::SessionStatusAnyOf1.new(
|
|
18
|
-
type: null,
|
|
19
|
-
attempt: null,
|
|
20
|
-
message: null,
|
|
21
|
-
_next: null
|
|
22
|
-
)
|
|
23
|
-
```
|
|
24
|
-
|
data/docs/SessionStatusAnyOf2.md
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SessionStatusAnyOf2
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **type** | **String** | | |
|
|
8
|
-
|
|
9
|
-
## Example
|
|
10
|
-
|
|
11
|
-
```ruby
|
|
12
|
-
require 'opencode_client'
|
|
13
|
-
|
|
14
|
-
instance = OpencodeClient::SessionStatusAnyOf2.new(
|
|
15
|
-
type: null
|
|
16
|
-
)
|
|
17
|
-
```
|
|
18
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SessionSummarizeRequest
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **provider_id** | **String** | | |
|
|
8
|
-
| **model_id** | **String** | | |
|
|
9
|
-
| **auto** | **Boolean** | | [optional][default to false] |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'opencode_client'
|
|
15
|
-
|
|
16
|
-
instance = OpencodeClient::SessionSummarizeRequest.new(
|
|
17
|
-
provider_id: null,
|
|
18
|
-
model_id: null,
|
|
19
|
-
auto: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|
data/docs/SessionSummary.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SessionSummary
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **additions** | **Float** | | |
|
|
8
|
-
| **deletions** | **Float** | | |
|
|
9
|
-
| **files** | **Float** | | |
|
|
10
|
-
| **diffs** | [**Array<FileDiff>**](FileDiff.md) | | [optional] |
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```ruby
|
|
15
|
-
require 'opencode_client'
|
|
16
|
-
|
|
17
|
-
instance = OpencodeClient::SessionSummary.new(
|
|
18
|
-
additions: null,
|
|
19
|
-
deletions: null,
|
|
20
|
-
files: null,
|
|
21
|
-
diffs: null
|
|
22
|
-
)
|
|
23
|
-
```
|
|
24
|
-
|
data/docs/SessionTime.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SessionTime
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **created** | **Float** | | |
|
|
8
|
-
| **updated** | **Float** | | |
|
|
9
|
-
| **compacting** | **Float** | | [optional] |
|
|
10
|
-
| **archived** | **Float** | | [optional] |
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```ruby
|
|
15
|
-
require 'opencode_client'
|
|
16
|
-
|
|
17
|
-
instance = OpencodeClient::SessionTime.new(
|
|
18
|
-
created: null,
|
|
19
|
-
updated: null,
|
|
20
|
-
compacting: null,
|
|
21
|
-
archived: null
|
|
22
|
-
)
|
|
23
|
-
```
|
|
24
|
-
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SessionUpdateRequest
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **title** | **String** | | [optional] |
|
|
8
|
-
| **time** | [**SessionUpdateRequestTime**](SessionUpdateRequestTime.md) | | [optional] |
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```ruby
|
|
13
|
-
require 'opencode_client'
|
|
14
|
-
|
|
15
|
-
instance = OpencodeClient::SessionUpdateRequest.new(
|
|
16
|
-
title: null,
|
|
17
|
-
time: null
|
|
18
|
-
)
|
|
19
|
-
```
|
|
20
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SessionUpdateRequestTime
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **archived** | **Float** | | [optional] |
|
|
8
|
-
|
|
9
|
-
## Example
|
|
10
|
-
|
|
11
|
-
```ruby
|
|
12
|
-
require 'opencode_client'
|
|
13
|
-
|
|
14
|
-
instance = OpencodeClient::SessionUpdateRequestTime.new(
|
|
15
|
-
archived: null
|
|
16
|
-
)
|
|
17
|
-
```
|
|
18
|
-
|
data/docs/SnapshotPart.md
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SnapshotPart
|
|
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
|
-
| **snapshot** | **String** | | |
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```ruby
|
|
16
|
-
require 'opencode_client'
|
|
17
|
-
|
|
18
|
-
instance = OpencodeClient::SnapshotPart.new(
|
|
19
|
-
id: null,
|
|
20
|
-
session_id: null,
|
|
21
|
-
message_id: null,
|
|
22
|
-
type: null,
|
|
23
|
-
snapshot: null
|
|
24
|
-
)
|
|
25
|
-
```
|
|
26
|
-
|
data/docs/StepFinishPart.md
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::StepFinishPart
|
|
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
|
-
| **reason** | **String** | | |
|
|
12
|
-
| **snapshot** | **String** | | [optional] |
|
|
13
|
-
| **cost** | **Float** | | |
|
|
14
|
-
| **tokens** | [**AssistantMessageTokens**](AssistantMessageTokens.md) | | |
|
|
15
|
-
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```ruby
|
|
19
|
-
require 'opencode_client'
|
|
20
|
-
|
|
21
|
-
instance = OpencodeClient::StepFinishPart.new(
|
|
22
|
-
id: null,
|
|
23
|
-
session_id: null,
|
|
24
|
-
message_id: null,
|
|
25
|
-
type: null,
|
|
26
|
-
reason: null,
|
|
27
|
-
snapshot: null,
|
|
28
|
-
cost: null,
|
|
29
|
-
tokens: null
|
|
30
|
-
)
|
|
31
|
-
```
|
|
32
|
-
|
data/docs/StepStartPart.md
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::StepStartPart
|
|
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
|
-
| **snapshot** | **String** | | [optional] |
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```ruby
|
|
16
|
-
require 'opencode_client'
|
|
17
|
-
|
|
18
|
-
instance = OpencodeClient::StepStartPart.new(
|
|
19
|
-
id: null,
|
|
20
|
-
session_id: null,
|
|
21
|
-
message_id: null,
|
|
22
|
-
type: null,
|
|
23
|
-
snapshot: null
|
|
24
|
-
)
|
|
25
|
-
```
|
|
26
|
-
|
data/docs/SubtaskPartInput.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SubtaskPartInput
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** | | [optional] |
|
|
8
|
-
| **type** | **String** | | |
|
|
9
|
-
| **prompt** | **String** | | |
|
|
10
|
-
| **description** | **String** | | |
|
|
11
|
-
| **agent** | **String** | | |
|
|
12
|
-
| **command** | **String** | | [optional] |
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```ruby
|
|
17
|
-
require 'opencode_client'
|
|
18
|
-
|
|
19
|
-
instance = OpencodeClient::SubtaskPartInput.new(
|
|
20
|
-
id: null,
|
|
21
|
-
type: null,
|
|
22
|
-
prompt: null,
|
|
23
|
-
description: null,
|
|
24
|
-
agent: null,
|
|
25
|
-
command: null
|
|
26
|
-
)
|
|
27
|
-
```
|
|
28
|
-
|
data/docs/Symbol.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::Symbol
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **name** | **String** | | |
|
|
8
|
-
| **kind** | **Float** | | |
|
|
9
|
-
| **location** | [**SymbolLocation**](SymbolLocation.md) | | |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'opencode_client'
|
|
15
|
-
|
|
16
|
-
instance = OpencodeClient::Symbol.new(
|
|
17
|
-
name: null,
|
|
18
|
-
kind: null,
|
|
19
|
-
location: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|
data/docs/SymbolLocation.md
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SymbolLocation
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **uri** | **String** | | |
|
|
8
|
-
| **range** | [**Range**](Range.md) | | |
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```ruby
|
|
13
|
-
require 'opencode_client'
|
|
14
|
-
|
|
15
|
-
instance = OpencodeClient::SymbolLocation.new(
|
|
16
|
-
uri: null,
|
|
17
|
-
range: null
|
|
18
|
-
)
|
|
19
|
-
```
|
|
20
|
-
|
data/docs/SymbolSource.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::SymbolSource
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **text** | [**FilePartSourceText**](FilePartSourceText.md) | | |
|
|
8
|
-
| **type** | **String** | | |
|
|
9
|
-
| **path** | **String** | | |
|
|
10
|
-
| **range** | [**Range**](Range.md) | | |
|
|
11
|
-
| **name** | **String** | | |
|
|
12
|
-
| **kind** | **Integer** | | |
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```ruby
|
|
17
|
-
require 'opencode_client'
|
|
18
|
-
|
|
19
|
-
instance = OpencodeClient::SymbolSource.new(
|
|
20
|
-
text: null,
|
|
21
|
-
type: null,
|
|
22
|
-
path: null,
|
|
23
|
-
range: null,
|
|
24
|
-
name: null,
|
|
25
|
-
kind: null
|
|
26
|
-
)
|
|
27
|
-
```
|
|
28
|
-
|
data/docs/TextPart.md
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::TextPart
|
|
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** | [**TextPartTime**](TextPartTime.md) | | [optional] |
|
|
15
|
-
| **metadata** | **Hash<String, Object>** | | [optional] |
|
|
16
|
-
|
|
17
|
-
## Example
|
|
18
|
-
|
|
19
|
-
```ruby
|
|
20
|
-
require 'opencode_client'
|
|
21
|
-
|
|
22
|
-
instance = OpencodeClient::TextPart.new(
|
|
23
|
-
id: null,
|
|
24
|
-
session_id: null,
|
|
25
|
-
message_id: null,
|
|
26
|
-
type: null,
|
|
27
|
-
text: null,
|
|
28
|
-
synthetic: null,
|
|
29
|
-
ignored: null,
|
|
30
|
-
time: null,
|
|
31
|
-
metadata: null
|
|
32
|
-
)
|
|
33
|
-
```
|
|
34
|
-
|
data/docs/TextPartInput.md
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::TextPartInput
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** | | [optional] |
|
|
8
|
-
| **type** | **String** | | |
|
|
9
|
-
| **text** | **String** | | |
|
|
10
|
-
| **synthetic** | **Boolean** | | [optional] |
|
|
11
|
-
| **ignored** | **Boolean** | | [optional] |
|
|
12
|
-
| **time** | [**TextPartTime**](TextPartTime.md) | | [optional] |
|
|
13
|
-
| **metadata** | **Hash<String, Object>** | | [optional] |
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```ruby
|
|
18
|
-
require 'opencode_client'
|
|
19
|
-
|
|
20
|
-
instance = OpencodeClient::TextPartInput.new(
|
|
21
|
-
id: null,
|
|
22
|
-
type: null,
|
|
23
|
-
text: null,
|
|
24
|
-
synthetic: null,
|
|
25
|
-
ignored: null,
|
|
26
|
-
time: null,
|
|
27
|
-
metadata: null
|
|
28
|
-
)
|
|
29
|
-
```
|
|
30
|
-
|
data/docs/TextPartTime.md
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::TextPartTime
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **start** | **Float** | | |
|
|
8
|
-
| **_end** | **Float** | | [optional] |
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```ruby
|
|
13
|
-
require 'opencode_client'
|
|
14
|
-
|
|
15
|
-
instance = OpencodeClient::TextPartTime.new(
|
|
16
|
-
start: null,
|
|
17
|
-
_end: null
|
|
18
|
-
)
|
|
19
|
-
```
|
|
20
|
-
|