summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk/stainless
diff options
context:
space:
mode:
authorDax <[email protected]>2025-08-22 17:04:28 -0400
committerGitHub <[email protected]>2025-08-22 17:04:28 -0400
commit133fe41cd5fb0ec3dc03a90e58526408297878fd (patch)
tree82aac357a61fe9e7a6802974f6c7cf169a9f22a8 /packages/sdk/stainless
parent74c1085103e130cb07522e3ad725f17eca3e5832 (diff)
downloadopencode-133fe41cd5fb0ec3dc03a90e58526408297878fd.tar.gz
opencode-133fe41cd5fb0ec3dc03a90e58526408297878fd.zip
slash commands (#2157)
Co-authored-by: adamdotdevin <[email protected]>
Diffstat (limited to 'packages/sdk/stainless')
-rw-r--r--packages/sdk/stainless/stainless.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/sdk/stainless/stainless.yml b/packages/sdk/stainless/stainless.yml
index e0c040ec6..3dd34a413 100644
--- a/packages/sdk/stainless/stainless.yml
+++ b/packages/sdk/stainless/stainless.yml
@@ -85,6 +85,12 @@ resources:
methods:
get: get /config
+ command:
+ models:
+ command: Command
+ methods:
+ list: get /command
+
session:
models:
session: Session
@@ -126,6 +132,7 @@ resources:
message: get /session/{id}/message/{messageID}
messages: get /session/{id}/message
chat: post /session/{id}/message
+ command: post /session/{id}/command
shell: post /session/{id}/shell
update: patch /session/{id}
revert: post /session/{id}/revert