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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bb386161de35aa9ba83e70d35b87dc9b4cac4658d904fb4b666dcb64f0267f31
|
|
4
|
+
data.tar.gz: fbcc6ed55459ab91ab7147522e6b9f78e42ec677dcdb89f429152d90e9155569
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1158fb402d810714976ba0c17fabc60bbe859fe2bbf062d983f06c566be67635d750e36a209912529359eacf08e5fae8509d0cf98846c08f1123fc3a55cd0f9d
|
|
7
|
+
data.tar.gz: d7ef20ffa326a518188b884095b91d624c8dcdd8862bf4ed357d5547c145f8c517f75b62c119f728c7c0fd1620efc6c65680b5042e54da3b8474f16b7882d151
|
data/README.md
CHANGED
|
@@ -6,8 +6,8 @@ opencode api
|
|
|
6
6
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
|
-
- API version: 1.0.
|
|
10
|
-
- Package version: 1.0.
|
|
9
|
+
- API version: 1.0.3
|
|
10
|
+
- Package version: 1.0.3
|
|
11
11
|
- Generator version: 7.18.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
|
|
@@ -24,7 +24,7 @@ gem build opencode_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./opencode_client-1.0.
|
|
27
|
+
gem install ./opencode_client-1.0.3.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
(for development, run `gem install --dev ./opencode_client-1.0.0.gem` to install the development dependencies)
|
|
@@ -33,7 +33,7 @@ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.or
|
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'opencode_client', '~> 1.0.
|
|
36
|
+
gem 'opencode_client', '~> 1.0.3'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
metadata
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: opencode_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- Eric Guo
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
@@ -56,263 +56,7 @@ executables: []
|
|
|
56
56
|
extensions: []
|
|
57
57
|
extra_rdoc_files: []
|
|
58
58
|
files:
|
|
59
|
-
- Gemfile
|
|
60
|
-
- Gemfile.lock
|
|
61
59
|
- README.md
|
|
62
|
-
- Rakefile
|
|
63
|
-
- docs/APIError.md
|
|
64
|
-
- docs/APIErrorData.md
|
|
65
|
-
- docs/Agent.md
|
|
66
|
-
- docs/AgentConfig.md
|
|
67
|
-
- docs/AgentConfigPermission.md
|
|
68
|
-
- docs/AgentConfigPermissionBash.md
|
|
69
|
-
- docs/AgentPart.md
|
|
70
|
-
- docs/AgentPartInput.md
|
|
71
|
-
- docs/AgentPartSource.md
|
|
72
|
-
- docs/AgentPermission.md
|
|
73
|
-
- docs/ApiAuth.md
|
|
74
|
-
- docs/AppLogRequest.md
|
|
75
|
-
- docs/AssistantMessage.md
|
|
76
|
-
- docs/AssistantMessageError.md
|
|
77
|
-
- docs/AssistantMessagePath.md
|
|
78
|
-
- docs/AssistantMessageTime.md
|
|
79
|
-
- docs/AssistantMessageTokens.md
|
|
80
|
-
- docs/AssistantMessageTokensCache.md
|
|
81
|
-
- docs/Auth.md
|
|
82
|
-
- docs/BadRequestError.md
|
|
83
|
-
- docs/Command.md
|
|
84
|
-
- docs/CompactionPart.md
|
|
85
|
-
- docs/Config.md
|
|
86
|
-
- docs/ConfigAgent.md
|
|
87
|
-
- docs/ConfigAutoupdate.md
|
|
88
|
-
- docs/ConfigCommandValue.md
|
|
89
|
-
- docs/ConfigCompaction.md
|
|
90
|
-
- docs/ConfigEnterprise.md
|
|
91
|
-
- docs/ConfigExperimental.md
|
|
92
|
-
- docs/ConfigExperimentalHook.md
|
|
93
|
-
- docs/ConfigExperimentalHookFileEditedValueInner.md
|
|
94
|
-
- docs/ConfigFormatter.md
|
|
95
|
-
- docs/ConfigFormatterAnyOfValue.md
|
|
96
|
-
- docs/ConfigLsp.md
|
|
97
|
-
- docs/ConfigLspAnyOfValue.md
|
|
98
|
-
- docs/ConfigLspAnyOfValueAnyOf.md
|
|
99
|
-
- docs/ConfigLspAnyOfValueAnyOf1.md
|
|
100
|
-
- docs/ConfigMode.md
|
|
101
|
-
- docs/ConfigProviders200Response.md
|
|
102
|
-
- docs/ConfigTui.md
|
|
103
|
-
- docs/ConfigTuiScrollAcceleration.md
|
|
104
|
-
- docs/ConfigWatcher.md
|
|
105
|
-
- docs/DefaultApi.md
|
|
106
|
-
- docs/Event.md
|
|
107
|
-
- docs/EventCommandExecuted.md
|
|
108
|
-
- docs/EventCommandExecutedProperties.md
|
|
109
|
-
- docs/EventFileEdited.md
|
|
110
|
-
- docs/EventFileEditedProperties.md
|
|
111
|
-
- docs/EventFileWatcherUpdated.md
|
|
112
|
-
- docs/EventFileWatcherUpdatedProperties.md
|
|
113
|
-
- docs/EventGlobalDisposed.md
|
|
114
|
-
- docs/EventInstallationUpdateAvailable.md
|
|
115
|
-
- docs/EventInstallationUpdated.md
|
|
116
|
-
- docs/EventInstallationUpdatedProperties.md
|
|
117
|
-
- docs/EventLspClientDiagnostics.md
|
|
118
|
-
- docs/EventLspClientDiagnosticsProperties.md
|
|
119
|
-
- docs/EventLspUpdated.md
|
|
120
|
-
- docs/EventMcpToolsChanged.md
|
|
121
|
-
- docs/EventMcpToolsChangedProperties.md
|
|
122
|
-
- docs/EventMessagePartRemoved.md
|
|
123
|
-
- docs/EventMessagePartRemovedProperties.md
|
|
124
|
-
- docs/EventMessagePartUpdated.md
|
|
125
|
-
- docs/EventMessagePartUpdatedProperties.md
|
|
126
|
-
- docs/EventMessageRemoved.md
|
|
127
|
-
- docs/EventMessageRemovedProperties.md
|
|
128
|
-
- docs/EventMessageUpdated.md
|
|
129
|
-
- docs/EventMessageUpdatedProperties.md
|
|
130
|
-
- docs/EventPermissionReplied.md
|
|
131
|
-
- docs/EventPermissionRepliedProperties.md
|
|
132
|
-
- docs/EventPermissionUpdated.md
|
|
133
|
-
- docs/EventProjectUpdated.md
|
|
134
|
-
- docs/EventPtyCreated.md
|
|
135
|
-
- docs/EventPtyCreatedProperties.md
|
|
136
|
-
- docs/EventPtyDeleted.md
|
|
137
|
-
- docs/EventPtyDeletedProperties.md
|
|
138
|
-
- docs/EventPtyExited.md
|
|
139
|
-
- docs/EventPtyExitedProperties.md
|
|
140
|
-
- docs/EventPtyUpdated.md
|
|
141
|
-
- docs/EventServerConnected.md
|
|
142
|
-
- docs/EventServerInstanceDisposed.md
|
|
143
|
-
- docs/EventServerInstanceDisposedProperties.md
|
|
144
|
-
- docs/EventSessionCompacted.md
|
|
145
|
-
- docs/EventSessionCreated.md
|
|
146
|
-
- docs/EventSessionCreatedProperties.md
|
|
147
|
-
- docs/EventSessionDeleted.md
|
|
148
|
-
- docs/EventSessionDiff.md
|
|
149
|
-
- docs/EventSessionDiffProperties.md
|
|
150
|
-
- docs/EventSessionError.md
|
|
151
|
-
- docs/EventSessionErrorProperties.md
|
|
152
|
-
- docs/EventSessionIdle.md
|
|
153
|
-
- docs/EventSessionIdleProperties.md
|
|
154
|
-
- docs/EventSessionStatus.md
|
|
155
|
-
- docs/EventSessionStatusProperties.md
|
|
156
|
-
- docs/EventSessionUpdated.md
|
|
157
|
-
- docs/EventTodoUpdated.md
|
|
158
|
-
- docs/EventTodoUpdatedProperties.md
|
|
159
|
-
- docs/EventTuiCommandExecute.md
|
|
160
|
-
- docs/EventTuiCommandExecuteProperties.md
|
|
161
|
-
- docs/EventTuiCommandExecutePropertiesCommand.md
|
|
162
|
-
- docs/EventTuiPromptAppend.md
|
|
163
|
-
- docs/EventTuiToastShow.md
|
|
164
|
-
- docs/EventVcsBranchUpdated.md
|
|
165
|
-
- docs/EventVcsBranchUpdatedProperties.md
|
|
166
|
-
- docs/File.md
|
|
167
|
-
- docs/FileContent.md
|
|
168
|
-
- docs/FileContentPatch.md
|
|
169
|
-
- docs/FileContentPatchHunksInner.md
|
|
170
|
-
- docs/FileDiff.md
|
|
171
|
-
- docs/FileNode.md
|
|
172
|
-
- docs/FilePart.md
|
|
173
|
-
- docs/FilePartInput.md
|
|
174
|
-
- docs/FilePartSource.md
|
|
175
|
-
- docs/FilePartSourceText.md
|
|
176
|
-
- docs/FileSource.md
|
|
177
|
-
- docs/FindText200ResponseInner.md
|
|
178
|
-
- docs/FindText200ResponseInnerPath.md
|
|
179
|
-
- docs/FindText200ResponseInnerSubmatchesInner.md
|
|
180
|
-
- docs/FormatterStatus.md
|
|
181
|
-
- docs/GlobalEvent.md
|
|
182
|
-
- docs/GlobalHealth200Response.md
|
|
183
|
-
- docs/KeybindsConfig.md
|
|
184
|
-
- docs/LSPStatus.md
|
|
185
|
-
- docs/LayoutConfig.md
|
|
186
|
-
- docs/LogLevel.md
|
|
187
|
-
- docs/MCPStatus.md
|
|
188
|
-
- docs/MCPStatusConnected.md
|
|
189
|
-
- docs/MCPStatusDisabled.md
|
|
190
|
-
- docs/MCPStatusFailed.md
|
|
191
|
-
- docs/MCPStatusNeedsAuth.md
|
|
192
|
-
- docs/MCPStatusNeedsClientRegistration.md
|
|
193
|
-
- docs/McpAddRequest.md
|
|
194
|
-
- docs/McpAddRequestConfig.md
|
|
195
|
-
- docs/McpAuthCallbackRequest.md
|
|
196
|
-
- docs/McpAuthRemove200Response.md
|
|
197
|
-
- docs/McpAuthStart200Response.md
|
|
198
|
-
- docs/McpLocalConfig.md
|
|
199
|
-
- docs/McpOAuthConfig.md
|
|
200
|
-
- docs/McpRemoteConfig.md
|
|
201
|
-
- docs/McpRemoteConfigOauth.md
|
|
202
|
-
- docs/Message.md
|
|
203
|
-
- docs/MessageAbortedError.md
|
|
204
|
-
- docs/MessageOutputLengthError.md
|
|
205
|
-
- docs/Model.md
|
|
206
|
-
- docs/ModelApi.md
|
|
207
|
-
- docs/ModelCapabilities.md
|
|
208
|
-
- docs/ModelCapabilitiesInput.md
|
|
209
|
-
- docs/ModelCapabilitiesInterleaved.md
|
|
210
|
-
- docs/ModelCapabilitiesInterleavedAnyOf.md
|
|
211
|
-
- docs/ModelCost.md
|
|
212
|
-
- docs/ModelCostExperimentalOver200K.md
|
|
213
|
-
- docs/NotFoundError.md
|
|
214
|
-
- docs/OAuth.md
|
|
215
|
-
- docs/Part.md
|
|
216
|
-
- docs/PartAnyOf.md
|
|
217
|
-
- docs/PatchPart.md
|
|
218
|
-
- docs/Path.md
|
|
219
|
-
- docs/Permission.md
|
|
220
|
-
- docs/PermissionPattern.md
|
|
221
|
-
- docs/PermissionRespondRequest.md
|
|
222
|
-
- docs/Project.md
|
|
223
|
-
- docs/ProjectTime.md
|
|
224
|
-
- docs/ProjectUpdateRequest.md
|
|
225
|
-
- docs/ProjectUpdateRequestIcon.md
|
|
226
|
-
- docs/Provider.md
|
|
227
|
-
- docs/ProviderAuthAuthorization.md
|
|
228
|
-
- docs/ProviderAuthError.md
|
|
229
|
-
- docs/ProviderAuthErrorData.md
|
|
230
|
-
- docs/ProviderAuthMethod.md
|
|
231
|
-
- docs/ProviderConfig.md
|
|
232
|
-
- docs/ProviderConfigModelsValue.md
|
|
233
|
-
- docs/ProviderConfigModelsValueInterleaved.md
|
|
234
|
-
- docs/ProviderConfigModelsValueInterleavedAnyOf.md
|
|
235
|
-
- docs/ProviderConfigOptions.md
|
|
236
|
-
- docs/ProviderConfigOptionsTimeout.md
|
|
237
|
-
- docs/ProviderList200Response.md
|
|
238
|
-
- docs/ProviderList200ResponseAllInner.md
|
|
239
|
-
- docs/ProviderList200ResponseAllInnerModelsValue.md
|
|
240
|
-
- docs/ProviderList200ResponseAllInnerModelsValueCost.md
|
|
241
|
-
- docs/ProviderList200ResponseAllInnerModelsValueCostContextOver200k.md
|
|
242
|
-
- docs/ProviderList200ResponseAllInnerModelsValueInterleaved.md
|
|
243
|
-
- docs/ProviderList200ResponseAllInnerModelsValueInterleavedAnyOf.md
|
|
244
|
-
- docs/ProviderList200ResponseAllInnerModelsValueLimit.md
|
|
245
|
-
- docs/ProviderList200ResponseAllInnerModelsValueModalities.md
|
|
246
|
-
- docs/ProviderList200ResponseAllInnerModelsValueProvider.md
|
|
247
|
-
- docs/ProviderOauthAuthorizeRequest.md
|
|
248
|
-
- docs/ProviderOauthCallbackRequest.md
|
|
249
|
-
- docs/Pty.md
|
|
250
|
-
- docs/PtyCreateRequest.md
|
|
251
|
-
- docs/PtyUpdateRequest.md
|
|
252
|
-
- docs/PtyUpdateRequestSize.md
|
|
253
|
-
- docs/Range.md
|
|
254
|
-
- docs/RangeStart.md
|
|
255
|
-
- docs/ReasoningPart.md
|
|
256
|
-
- docs/RetryPart.md
|
|
257
|
-
- docs/ServerConfig.md
|
|
258
|
-
- docs/Session.md
|
|
259
|
-
- docs/SessionApi.md
|
|
260
|
-
- docs/SessionCommandRequest.md
|
|
261
|
-
- docs/SessionCreateRequest.md
|
|
262
|
-
- docs/SessionForkRequest.md
|
|
263
|
-
- docs/SessionInitRequest.md
|
|
264
|
-
- docs/SessionMessages200ResponseInner.md
|
|
265
|
-
- docs/SessionPrompt200Response.md
|
|
266
|
-
- docs/SessionPromptRequest.md
|
|
267
|
-
- docs/SessionPromptRequestModel.md
|
|
268
|
-
- docs/SessionPromptRequestPartsInner.md
|
|
269
|
-
- docs/SessionRevert.md
|
|
270
|
-
- docs/SessionRevertRequest.md
|
|
271
|
-
- docs/SessionShare.md
|
|
272
|
-
- docs/SessionShellRequest.md
|
|
273
|
-
- docs/SessionStatus.md
|
|
274
|
-
- docs/SessionStatusAnyOf.md
|
|
275
|
-
- docs/SessionStatusAnyOf1.md
|
|
276
|
-
- docs/SessionStatusAnyOf2.md
|
|
277
|
-
- docs/SessionSummarizeRequest.md
|
|
278
|
-
- docs/SessionSummary.md
|
|
279
|
-
- docs/SessionTime.md
|
|
280
|
-
- docs/SessionUpdateRequest.md
|
|
281
|
-
- docs/SessionUpdateRequestTime.md
|
|
282
|
-
- docs/SnapshotPart.md
|
|
283
|
-
- docs/StepFinishPart.md
|
|
284
|
-
- docs/StepStartPart.md
|
|
285
|
-
- docs/SubtaskPartInput.md
|
|
286
|
-
- docs/Symbol.md
|
|
287
|
-
- docs/SymbolLocation.md
|
|
288
|
-
- docs/SymbolSource.md
|
|
289
|
-
- docs/TextPart.md
|
|
290
|
-
- docs/TextPartInput.md
|
|
291
|
-
- docs/TextPartTime.md
|
|
292
|
-
- docs/Todo.md
|
|
293
|
-
- docs/ToolListItem.md
|
|
294
|
-
- docs/ToolPart.md
|
|
295
|
-
- docs/ToolState.md
|
|
296
|
-
- docs/ToolStateCompleted.md
|
|
297
|
-
- docs/ToolStateCompletedTime.md
|
|
298
|
-
- docs/ToolStateError.md
|
|
299
|
-
- docs/ToolStateErrorTime.md
|
|
300
|
-
- docs/ToolStatePending.md
|
|
301
|
-
- docs/ToolStateRunning.md
|
|
302
|
-
- docs/ToolStateRunningTime.md
|
|
303
|
-
- docs/TuiControlNext200Response.md
|
|
304
|
-
- docs/TuiExecuteCommandRequest.md
|
|
305
|
-
- docs/TuiPublishRequest.md
|
|
306
|
-
- docs/TuiShowToastRequest.md
|
|
307
|
-
- docs/UnknownError.md
|
|
308
|
-
- docs/UnknownErrorData.md
|
|
309
|
-
- docs/UserMessage.md
|
|
310
|
-
- docs/UserMessageSummary.md
|
|
311
|
-
- docs/UserMessageTime.md
|
|
312
|
-
- docs/VcsInfo.md
|
|
313
|
-
- docs/WellKnownAuth.md
|
|
314
|
-
- example_usage.rb
|
|
315
|
-
- git_push.sh
|
|
316
60
|
- lib/opencode_client.rb
|
|
317
61
|
- lib/opencode_client/api/default_api.rb
|
|
318
62
|
- lib/opencode_client/api/session_api.rb
|
|
@@ -570,8 +314,6 @@ files:
|
|
|
570
314
|
- lib/opencode_client/models/vcs_info.rb
|
|
571
315
|
- lib/opencode_client/models/well_known_auth.rb
|
|
572
316
|
- lib/opencode_client/version.rb
|
|
573
|
-
- opencode_client.gemspec
|
|
574
|
-
- pkg/opencode_client-1.0.1.gem
|
|
575
317
|
- spec/api/default_api_spec.rb
|
|
576
318
|
- spec/api/session_api_spec.rb
|
|
577
319
|
- spec/models/agent_config_permission_bash_spec.rb
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
opencode_client (1.0.2)
|
|
5
|
-
httpx (~> 1.0, >= 1.0.0)
|
|
6
|
-
|
|
7
|
-
GEM
|
|
8
|
-
remote: https://rubygems.org/
|
|
9
|
-
specs:
|
|
10
|
-
ast (2.4.3)
|
|
11
|
-
byebug (12.0.0)
|
|
12
|
-
coderay (1.1.3)
|
|
13
|
-
date (3.5.1)
|
|
14
|
-
diff-lcs (1.6.2)
|
|
15
|
-
http-2 (1.1.1)
|
|
16
|
-
httpx (1.7.0)
|
|
17
|
-
http-2 (>= 1.0.0)
|
|
18
|
-
jaro_winkler (1.5.6)
|
|
19
|
-
method_source (1.1.0)
|
|
20
|
-
parallel (1.27.0)
|
|
21
|
-
parser (3.3.10.0)
|
|
22
|
-
ast (~> 2.4.1)
|
|
23
|
-
racc
|
|
24
|
-
pry (0.15.2)
|
|
25
|
-
coderay (~> 1.1)
|
|
26
|
-
method_source (~> 1.0)
|
|
27
|
-
pry-byebug (3.11.0)
|
|
28
|
-
byebug (~> 12.0)
|
|
29
|
-
pry (>= 0.13, < 0.16)
|
|
30
|
-
psych (5.3.1)
|
|
31
|
-
date
|
|
32
|
-
stringio
|
|
33
|
-
racc (1.8.1)
|
|
34
|
-
rainbow (3.1.1)
|
|
35
|
-
rake (13.0.6)
|
|
36
|
-
rspec (3.13.2)
|
|
37
|
-
rspec-core (~> 3.13.0)
|
|
38
|
-
rspec-expectations (~> 3.13.0)
|
|
39
|
-
rspec-mocks (~> 3.13.0)
|
|
40
|
-
rspec-core (3.13.6)
|
|
41
|
-
rspec-support (~> 3.13.0)
|
|
42
|
-
rspec-expectations (3.13.5)
|
|
43
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
44
|
-
rspec-support (~> 3.13.0)
|
|
45
|
-
rspec-mocks (3.13.7)
|
|
46
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
47
|
-
rspec-support (~> 3.13.0)
|
|
48
|
-
rspec-support (3.13.6)
|
|
49
|
-
rubocop (0.66.0)
|
|
50
|
-
jaro_winkler (~> 1.5.1)
|
|
51
|
-
parallel (~> 1.10)
|
|
52
|
-
parser (>= 2.5, != 2.5.1.1)
|
|
53
|
-
psych (>= 3.1.0)
|
|
54
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
55
|
-
ruby-progressbar (~> 1.7)
|
|
56
|
-
unicode-display_width (>= 1.4.0, < 1.6)
|
|
57
|
-
ruby-progressbar (1.13.0)
|
|
58
|
-
stringio (3.2.0)
|
|
59
|
-
unicode-display_width (1.5.0)
|
|
60
|
-
|
|
61
|
-
PLATFORMS
|
|
62
|
-
arm64-darwin-24
|
|
63
|
-
ruby
|
|
64
|
-
|
|
65
|
-
DEPENDENCIES
|
|
66
|
-
opencode_client!
|
|
67
|
-
pry-byebug
|
|
68
|
-
rake (~> 13.0.1)
|
|
69
|
-
rspec (~> 3.6, >= 3.6.0)
|
|
70
|
-
rubocop (~> 0.66.0)
|
|
71
|
-
|
|
72
|
-
CHECKSUMS
|
|
73
|
-
ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
|
|
74
|
-
byebug (12.0.0) sha256=d4a150d291cca40b66ec9ca31f754e93fed8aa266a17335f71bb0afa7fca1a1e
|
|
75
|
-
coderay (1.1.3) sha256=dc530018a4684512f8f38143cd2a096c9f02a1fc2459edcfe534787a7fc77d4b
|
|
76
|
-
date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0
|
|
77
|
-
diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
|
|
78
|
-
http-2 (1.1.1) sha256=1141a5a03c2f4e6b8d2fa62394de581e1ff6387711cd7ed577212e9d95562bba
|
|
79
|
-
httpx (1.7.0) sha256=e219689555951f9c13c40862da120cdd2535e1454189bed589f04d7059557154
|
|
80
|
-
jaro_winkler (1.5.6) sha256=007db7805527ada1cc12f2547676181d63b0a504ec4dd7a9a2eb2424521ccd81
|
|
81
|
-
method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
|
|
82
|
-
opencode_client (1.0.2)
|
|
83
|
-
parallel (1.27.0) sha256=4ac151e1806b755fb4e2dc2332cbf0e54f2e24ba821ff2d3dcf86bf6dc4ae130
|
|
84
|
-
parser (3.3.10.0) sha256=ce3587fa5cc55a88c4ba5b2b37621b3329aadf5728f9eafa36bbd121462aabd6
|
|
85
|
-
pry (0.15.2) sha256=12d54b8640d3fa29c9211dd4ffb08f3fd8bf7a4fd9b5a73ce5b59c8709385b6b
|
|
86
|
-
pry-byebug (3.11.0) sha256=0b0abb7d309bc7f00044d512a3c8567274f7012b944b38becc8440439a1cea72
|
|
87
|
-
psych (5.3.1) sha256=eb7a57cef10c9d70173ff74e739d843ac3b2c019a003de48447b2963d81b1974
|
|
88
|
-
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
|
89
|
-
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
|
|
90
|
-
rake (13.0.6) sha256=5ce4bf5037b4196c24ac62834d8db1ce175470391026bd9e557d669beeb19097
|
|
91
|
-
rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587
|
|
92
|
-
rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
|
|
93
|
-
rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
|
|
94
|
-
rspec-mocks (3.13.7) sha256=0979034e64b1d7a838aaaddf12bf065ea4dc40ef3d4c39f01f93ae2c66c62b1c
|
|
95
|
-
rspec-support (3.13.6) sha256=2e8de3702427eab064c9352fe74488cc12a1bfae887ad8b91cba480ec9f8afb2
|
|
96
|
-
rubocop (0.66.0) sha256=f05a6896f367765b3f0fba663d0add120444f8de604dada405662b10a0860f5a
|
|
97
|
-
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
|
98
|
-
stringio (3.2.0) sha256=c37cb2e58b4ffbd33fe5cd948c05934af997b36e0b6ca6fdf43afa234cf222e1
|
|
99
|
-
unicode-display_width (1.5.0) sha256=9890eebd24feb4cb0e0542c9b8c6beecb40cda27be8c7afe49312625b36156eb
|
|
100
|
-
|
|
101
|
-
BUNDLED WITH
|
|
102
|
-
4.0.3
|
data/Rakefile
DELETED
data/docs/APIError.md
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::APIError
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **name** | **String** | | |
|
|
8
|
-
| **data** | [**APIErrorData**](APIErrorData.md) | | |
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```ruby
|
|
13
|
-
require 'opencode_client'
|
|
14
|
-
|
|
15
|
-
instance = OpencodeClient::APIError.new(
|
|
16
|
-
name: null,
|
|
17
|
-
data: null
|
|
18
|
-
)
|
|
19
|
-
```
|
|
20
|
-
|
data/docs/APIErrorData.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::APIErrorData
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **message** | **String** | | |
|
|
8
|
-
| **status_code** | **Float** | | [optional] |
|
|
9
|
-
| **is_retryable** | **Boolean** | | |
|
|
10
|
-
| **response_headers** | **Hash<String, String>** | | [optional] |
|
|
11
|
-
| **response_body** | **String** | | [optional] |
|
|
12
|
-
| **metadata** | **Hash<String, String>** | | [optional] |
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```ruby
|
|
17
|
-
require 'opencode_client'
|
|
18
|
-
|
|
19
|
-
instance = OpencodeClient::APIErrorData.new(
|
|
20
|
-
message: null,
|
|
21
|
-
status_code: null,
|
|
22
|
-
is_retryable: null,
|
|
23
|
-
response_headers: null,
|
|
24
|
-
response_body: null,
|
|
25
|
-
metadata: null
|
|
26
|
-
)
|
|
27
|
-
```
|
|
28
|
-
|
data/docs/Agent.md
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::Agent
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **name** | **String** | | |
|
|
8
|
-
| **description** | **String** | | [optional] |
|
|
9
|
-
| **mode** | **String** | | |
|
|
10
|
-
| **native** | **Boolean** | | [optional] |
|
|
11
|
-
| **hidden** | **Boolean** | | [optional] |
|
|
12
|
-
| **default** | **Boolean** | | [optional] |
|
|
13
|
-
| **top_p** | **Float** | | [optional] |
|
|
14
|
-
| **temperature** | **Float** | | [optional] |
|
|
15
|
-
| **color** | **String** | | [optional] |
|
|
16
|
-
| **permission** | [**AgentPermission**](AgentPermission.md) | | |
|
|
17
|
-
| **model** | [**SessionPromptRequestModel**](SessionPromptRequestModel.md) | | [optional] |
|
|
18
|
-
| **prompt** | **String** | | [optional] |
|
|
19
|
-
| **tools** | **Hash<String, Boolean>** | | |
|
|
20
|
-
| **options** | **Hash<String, Object>** | | |
|
|
21
|
-
| **max_steps** | **Integer** | | [optional] |
|
|
22
|
-
|
|
23
|
-
## Example
|
|
24
|
-
|
|
25
|
-
```ruby
|
|
26
|
-
require 'opencode_client'
|
|
27
|
-
|
|
28
|
-
instance = OpencodeClient::Agent.new(
|
|
29
|
-
name: null,
|
|
30
|
-
description: null,
|
|
31
|
-
mode: null,
|
|
32
|
-
native: null,
|
|
33
|
-
hidden: null,
|
|
34
|
-
default: null,
|
|
35
|
-
top_p: null,
|
|
36
|
-
temperature: null,
|
|
37
|
-
color: null,
|
|
38
|
-
permission: null,
|
|
39
|
-
model: null,
|
|
40
|
-
prompt: null,
|
|
41
|
-
tools: null,
|
|
42
|
-
options: null,
|
|
43
|
-
max_steps: null
|
|
44
|
-
)
|
|
45
|
-
```
|
|
46
|
-
|
data/docs/AgentConfig.md
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::AgentConfig
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **model** | **String** | | [optional] |
|
|
8
|
-
| **temperature** | **Float** | | [optional] |
|
|
9
|
-
| **top_p** | **Float** | | [optional] |
|
|
10
|
-
| **prompt** | **String** | | [optional] |
|
|
11
|
-
| **tools** | **Hash<String, Boolean>** | | [optional] |
|
|
12
|
-
| **disable** | **Boolean** | | [optional] |
|
|
13
|
-
| **description** | **String** | Description of when to use the agent | [optional] |
|
|
14
|
-
| **mode** | **String** | | [optional] |
|
|
15
|
-
| **color** | **String** | Hex color code for the agent (e.g., #FF5733) | [optional] |
|
|
16
|
-
| **max_steps** | **Integer** | Maximum number of agentic iterations before forcing text-only response | [optional] |
|
|
17
|
-
| **permission** | [**AgentConfigPermission**](AgentConfigPermission.md) | | [optional] |
|
|
18
|
-
|
|
19
|
-
## Example
|
|
20
|
-
|
|
21
|
-
```ruby
|
|
22
|
-
require 'opencode_client'
|
|
23
|
-
|
|
24
|
-
instance = OpencodeClient::AgentConfig.new(
|
|
25
|
-
model: null,
|
|
26
|
-
temperature: null,
|
|
27
|
-
top_p: null,
|
|
28
|
-
prompt: null,
|
|
29
|
-
tools: null,
|
|
30
|
-
disable: null,
|
|
31
|
-
description: null,
|
|
32
|
-
mode: null,
|
|
33
|
-
color: null,
|
|
34
|
-
max_steps: null,
|
|
35
|
-
permission: null
|
|
36
|
-
)
|
|
37
|
-
```
|
|
38
|
-
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::AgentConfigPermission
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **edit** | **String** | | [optional] |
|
|
8
|
-
| **bash** | [**AgentConfigPermissionBash**](AgentConfigPermissionBash.md) | | [optional] |
|
|
9
|
-
| **skill** | [**AgentConfigPermissionBash**](AgentConfigPermissionBash.md) | | [optional] |
|
|
10
|
-
| **webfetch** | **String** | | [optional] |
|
|
11
|
-
| **doom_loop** | **String** | | [optional] |
|
|
12
|
-
| **external_directory** | **String** | | [optional] |
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```ruby
|
|
17
|
-
require 'opencode_client'
|
|
18
|
-
|
|
19
|
-
instance = OpencodeClient::AgentConfigPermission.new(
|
|
20
|
-
edit: null,
|
|
21
|
-
bash: null,
|
|
22
|
-
skill: null,
|
|
23
|
-
webfetch: null,
|
|
24
|
-
doom_loop: null,
|
|
25
|
-
external_directory: null
|
|
26
|
-
)
|
|
27
|
-
```
|
|
28
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::AgentConfigPermissionBash
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
|
|
8
|
-
## Example
|
|
9
|
-
|
|
10
|
-
```ruby
|
|
11
|
-
require 'opencode_client'
|
|
12
|
-
|
|
13
|
-
instance = OpencodeClient::AgentConfigPermissionBash.new()
|
|
14
|
-
```
|
|
15
|
-
|
data/docs/AgentPart.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::AgentPart
|
|
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
|
-
| **name** | **String** | | |
|
|
12
|
-
| **source** | [**AgentPartSource**](AgentPartSource.md) | | [optional] |
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```ruby
|
|
17
|
-
require 'opencode_client'
|
|
18
|
-
|
|
19
|
-
instance = OpencodeClient::AgentPart.new(
|
|
20
|
-
id: null,
|
|
21
|
-
session_id: null,
|
|
22
|
-
message_id: null,
|
|
23
|
-
type: null,
|
|
24
|
-
name: null,
|
|
25
|
-
source: null
|
|
26
|
-
)
|
|
27
|
-
```
|
|
28
|
-
|
data/docs/AgentPartInput.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# OpencodeClient::AgentPartInput
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** | | [optional] |
|
|
8
|
-
| **type** | **String** | | |
|
|
9
|
-
| **name** | **String** | | |
|
|
10
|
-
| **source** | [**AgentPartSource**](AgentPartSource.md) | | [optional] |
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```ruby
|
|
15
|
-
require 'opencode_client'
|
|
16
|
-
|
|
17
|
-
instance = OpencodeClient::AgentPartInput.new(
|
|
18
|
-
id: null,
|
|
19
|
-
type: null,
|
|
20
|
-
name: null,
|
|
21
|
-
source: null
|
|
22
|
-
)
|
|
23
|
-
```
|
|
24
|
-
|