@sjawhar/opencode-legion-envoy 1.7.0 → 1.8.0
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.
- package/dist/src/server.js +3 -0
- package/package.json +1 -1
package/dist/src/server.js
CHANGED
|
@@ -14706,6 +14706,9 @@ class DispatchClient {
|
|
|
14706
14706
|
async docRead(id, version) {
|
|
14707
14707
|
return version === undefined ? this.#json("GET", ["api", "v1", "artifacts", id, "text"]) : this.#json("GET", ["api", "v1", "artifacts", id, "versions", String(version)]);
|
|
14708
14708
|
}
|
|
14709
|
+
async artifactBlocks(id) {
|
|
14710
|
+
return this.#json("GET", ["api", "v1", "artifacts", id, "blocks"]);
|
|
14711
|
+
}
|
|
14709
14712
|
async docEdit(id, input) {
|
|
14710
14713
|
return this.#json("POST", ["api", "v1", "artifacts", id, "edits"], input);
|
|
14711
14714
|
}
|