oh-my-opencode-kikokikok 2.15.6 → 2.15.7
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/cli/index.js +1 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -2253,7 +2253,7 @@ var require_picocolors = __commonJS((exports, module) => {
|
|
|
2253
2253
|
var require_package = __commonJS((exports, module) => {
|
|
2254
2254
|
module.exports = {
|
|
2255
2255
|
name: "oh-my-opencode-kikokikok",
|
|
2256
|
-
version: "2.15.
|
|
2256
|
+
version: "2.15.7",
|
|
2257
2257
|
description: "OpenCode plugin - custom agents (oracle, librarian) and enhanced features",
|
|
2258
2258
|
main: "dist/index.js",
|
|
2259
2259
|
types: "dist/index.d.ts",
|
package/dist/index.js
CHANGED
|
@@ -44095,7 +44095,8 @@ class LettaAdapter {
|
|
|
44095
44095
|
async request(path7, options) {
|
|
44096
44096
|
const basePath = path7.split("?")[0];
|
|
44097
44097
|
const queryString = path7.includes("?") ? path7.slice(path7.indexOf("?")) : "";
|
|
44098
|
-
const
|
|
44098
|
+
const isSearchEndpoint = basePath.endsWith("/search");
|
|
44099
|
+
const normalizedBase = isSearchEndpoint ? basePath : basePath.endsWith("/") ? basePath : `${basePath}/`;
|
|
44099
44100
|
const normalizedPath = `${normalizedBase}${queryString}`;
|
|
44100
44101
|
const headers = {
|
|
44101
44102
|
"Content-Type": "application/json"
|