oh-my-opencode-serverlocal 0.1.0 → 0.1.1
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 +3 -3
- package/dist/index.js +6 -6
- package/dist/tui.js +5 -5
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -765,7 +765,7 @@ function generateLiteConfig(installConfig) {
|
|
|
765
765
|
}
|
|
766
766
|
|
|
767
767
|
// src/cli/config-io.ts
|
|
768
|
-
var PACKAGE_NAME = "oh-my-opencode-
|
|
768
|
+
var PACKAGE_NAME = "oh-my-opencode-serverlocal";
|
|
769
769
|
var DEFAULT_OPENCODE_AGENTS_TO_DISABLE = ["explore", "general"];
|
|
770
770
|
function isString(value) {
|
|
771
771
|
return typeof value === "string";
|
|
@@ -1292,8 +1292,8 @@ function findConfigPathInDirs(configDirs, baseName) {
|
|
|
1292
1292
|
return null;
|
|
1293
1293
|
}
|
|
1294
1294
|
function findPluginConfigPaths(directory) {
|
|
1295
|
-
const userConfigPath = findConfigPathInDirs(getConfigSearchDirs(), "oh-my-opencode-
|
|
1296
|
-
const projectConfigBasePath = path.join(directory, ".opencode", "oh-my-opencode-
|
|
1295
|
+
const userConfigPath = findConfigPathInDirs(getConfigSearchDirs(), "oh-my-opencode-serverlocal");
|
|
1296
|
+
const projectConfigBasePath = path.join(directory, ".opencode", "oh-my-opencode-serverlocal");
|
|
1297
1297
|
const projectConfigPath = findConfigPath(projectConfigBasePath);
|
|
1298
1298
|
return { userConfigPath, projectConfigPath };
|
|
1299
1299
|
}
|
package/dist/index.js
CHANGED
|
@@ -18867,7 +18867,7 @@ var PluginConfigSchema = z2.object({
|
|
|
18867
18867
|
});
|
|
18868
18868
|
|
|
18869
18869
|
// src/config/loader.ts
|
|
18870
|
-
var PROMPTS_DIR_NAME = "oh-my-opencode-
|
|
18870
|
+
var PROMPTS_DIR_NAME = "oh-my-opencode-serverlocal";
|
|
18871
18871
|
function loadConfigFromPath(configPath, options) {
|
|
18872
18872
|
try {
|
|
18873
18873
|
const content = fs.readFileSync(configPath, "utf-8");
|
|
@@ -18955,8 +18955,8 @@ function validateFinalImageRouting(config, configPath, options) {
|
|
|
18955
18955
|
return false;
|
|
18956
18956
|
}
|
|
18957
18957
|
function findPluginConfigPaths(directory) {
|
|
18958
|
-
const userConfigPath = findConfigPathInDirs(getConfigSearchDirs(), "oh-my-opencode-
|
|
18959
|
-
const projectConfigBasePath = path.join(directory, ".opencode", "oh-my-opencode-
|
|
18958
|
+
const userConfigPath = findConfigPathInDirs(getConfigSearchDirs(), "oh-my-opencode-serverlocal");
|
|
18959
|
+
const projectConfigBasePath = path.join(directory, ".opencode", "oh-my-opencode-serverlocal");
|
|
18960
18960
|
const projectConfigPath = findConfigPath(projectConfigBasePath);
|
|
18961
18961
|
return { userConfigPath, projectConfigPath };
|
|
18962
18962
|
}
|
|
@@ -36291,7 +36291,7 @@ import { createHash as createHash4 } from "node:crypto";
|
|
|
36291
36291
|
import * as fs9 from "node:fs";
|
|
36292
36292
|
import * as os6 from "node:os";
|
|
36293
36293
|
import * as path18 from "node:path";
|
|
36294
|
-
var STATE_DIR = "oh-my-opencode-
|
|
36294
|
+
var STATE_DIR = "oh-my-opencode-serverlocal";
|
|
36295
36295
|
var STATE_FILE = "tui-state.json";
|
|
36296
36296
|
function dataDir() {
|
|
36297
36297
|
return process.env.XDG_DATA_HOME ?? path18.join(os6.homedir(), ".local", "share");
|
|
@@ -38900,7 +38900,7 @@ function collapseSystemInPlace(system2) {
|
|
|
38900
38900
|
async function appLog(ctx, level, message) {
|
|
38901
38901
|
try {
|
|
38902
38902
|
await ctx.client.app.log({
|
|
38903
|
-
body: { service: "oh-my-opencode-
|
|
38903
|
+
body: { service: "oh-my-opencode-serverlocal", level, message }
|
|
38904
38904
|
});
|
|
38905
38905
|
} catch {
|
|
38906
38906
|
const prefix2 = level === "error" ? "ERROR" : level === "warn" ? "WARN" : "INFO";
|
|
@@ -39169,7 +39169,7 @@ var OhMyOpenCodeLite = async (ctx) => {
|
|
|
39169
39169
|
return;
|
|
39170
39170
|
}
|
|
39171
39171
|
return {
|
|
39172
|
-
name: "oh-my-opencode-
|
|
39172
|
+
name: "oh-my-opencode-serverlocal",
|
|
39173
39173
|
agent: agents,
|
|
39174
39174
|
tool: tools,
|
|
39175
39175
|
mcp: mcps,
|
package/dist/tui.js
CHANGED
|
@@ -598,7 +598,7 @@ function stripJsonComments(json) {
|
|
|
598
598
|
}
|
|
599
599
|
|
|
600
600
|
// src/config/loader.ts
|
|
601
|
-
var PROMPTS_DIR_NAME = "oh-my-opencode-
|
|
601
|
+
var PROMPTS_DIR_NAME = "oh-my-opencode-serverlocal";
|
|
602
602
|
function loadConfigFromPath(configPath, options) {
|
|
603
603
|
try {
|
|
604
604
|
const content = fs.readFileSync(configPath, "utf-8");
|
|
@@ -686,8 +686,8 @@ function validateFinalImageRouting(config, configPath, options) {
|
|
|
686
686
|
return false;
|
|
687
687
|
}
|
|
688
688
|
function findPluginConfigPaths(directory) {
|
|
689
|
-
const userConfigPath = findConfigPathInDirs(getConfigSearchDirs(), "oh-my-opencode-
|
|
690
|
-
const projectConfigBasePath = path.join(directory, ".opencode", "oh-my-opencode-
|
|
689
|
+
const userConfigPath = findConfigPathInDirs(getConfigSearchDirs(), "oh-my-opencode-serverlocal");
|
|
690
|
+
const projectConfigBasePath = path.join(directory, ".opencode", "oh-my-opencode-serverlocal");
|
|
691
691
|
const projectConfigPath = findConfigPath(projectConfigBasePath);
|
|
692
692
|
return { userConfigPath, projectConfigPath };
|
|
693
693
|
}
|
|
@@ -836,7 +836,7 @@ import { createHash } from "node:crypto";
|
|
|
836
836
|
import * as fs2 from "node:fs";
|
|
837
837
|
import * as os from "node:os";
|
|
838
838
|
import * as path2 from "node:path";
|
|
839
|
-
var STATE_DIR = "oh-my-opencode-
|
|
839
|
+
var STATE_DIR = "oh-my-opencode-serverlocal";
|
|
840
840
|
var STATE_FILE = "tui-state.json";
|
|
841
841
|
function dataDir() {
|
|
842
842
|
return process.env.XDG_DATA_HOME ?? path2.join(os.homedir(), ".local", "share");
|
|
@@ -924,7 +924,7 @@ function isPluginDisabledByEnv(env = process.env) {
|
|
|
924
924
|
}
|
|
925
925
|
|
|
926
926
|
// src/tui.ts
|
|
927
|
-
var PLUGIN_NAME = "oh-my-opencode-
|
|
927
|
+
var PLUGIN_NAME = "oh-my-opencode-serverlocal";
|
|
928
928
|
var CONFIG_WARNING_COLOR = "orange";
|
|
929
929
|
var FALLBACK_SIDEBAR_AGENTS = SUBAGENT_NAMES.filter((agent) => agent !== "councillor" && agent !== "council" && !DEFAULT_DISABLED_AGENTS.includes(agent));
|
|
930
930
|
var BORDER = { type: "single" };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oh-my-opencode-serverlocal",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Custom serverlocal fork of oh-my-opencode-slim — fully owned, custom prompts + commands, dist synced via opencode-dotfiles",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|