oh-my-opencode 1.1.8 → 1.1.9

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/index.js CHANGED
@@ -23427,7 +23427,7 @@ import { join as join34, dirname as dirname6 } from "path";
23427
23427
  import { spawnSync } from "child_process";
23428
23428
 
23429
23429
  // src/tools/grep/downloader.ts
23430
- import { existsSync as existsSync29, mkdirSync as mkdirSync10, chmodSync as chmodSync3, unlinkSync as unlinkSync10 } from "fs";
23430
+ import { existsSync as existsSync29, mkdirSync as mkdirSync10, chmodSync as chmodSync3, unlinkSync as unlinkSync10, readdirSync as readdirSync7 } from "fs";
23431
23431
  import { join as join33 } from "path";
23432
23432
  function getInstallDir() {
23433
23433
  const homeDir = process.env.HOME || process.env.USERPROFILE || ".";
@@ -23871,14 +23871,14 @@ var glob = tool({
23871
23871
  }
23872
23872
  });
23873
23873
  // src/tools/slashcommand/tools.ts
23874
- import { existsSync as existsSync31, readdirSync as readdirSync7, readFileSync as readFileSync18 } from "fs";
23874
+ import { existsSync as existsSync31, readdirSync as readdirSync8, readFileSync as readFileSync18 } from "fs";
23875
23875
  import { homedir as homedir15 } from "os";
23876
23876
  import { join as join35, basename as basename3, dirname as dirname7 } from "path";
23877
23877
  function discoverCommandsFromDir(commandsDir, scope) {
23878
23878
  if (!existsSync31(commandsDir)) {
23879
23879
  return [];
23880
23880
  }
23881
- const entries = readdirSync7(commandsDir, { withFileTypes: true });
23881
+ const entries = readdirSync8(commandsDir, { withFileTypes: true });
23882
23882
  const commands = [];
23883
23883
  for (const entry of entries) {
23884
23884
  if (!isMarkdownFile(entry))
@@ -24046,7 +24046,7 @@ var SkillFrontmatterSchema = exports_external.object({
24046
24046
  metadata: exports_external.record(exports_external.string(), exports_external.string()).optional()
24047
24047
  });
24048
24048
  // src/tools/skill/tools.ts
24049
- import { existsSync as existsSync32, readdirSync as readdirSync8, readFileSync as readFileSync19 } from "fs";
24049
+ import { existsSync as existsSync32, readdirSync as readdirSync9, readFileSync as readFileSync19 } from "fs";
24050
24050
  import { homedir as homedir16 } from "os";
24051
24051
  import { join as join36, basename as basename4 } from "path";
24052
24052
  function parseSkillFrontmatter(data) {
@@ -24062,7 +24062,7 @@ function discoverSkillsFromDir(skillsDir, scope) {
24062
24062
  if (!existsSync32(skillsDir)) {
24063
24063
  return [];
24064
24064
  }
24065
- const entries = readdirSync8(skillsDir, { withFileTypes: true });
24065
+ const entries = readdirSync9(skillsDir, { withFileTypes: true });
24066
24066
  const skills = [];
24067
24067
  for (const entry of entries) {
24068
24068
  if (entry.name.startsWith("."))
@@ -24119,9 +24119,9 @@ async function parseSkillMd(skillPath) {
24119
24119
  const referencesDir = join36(resolvedPath, "references");
24120
24120
  const scriptsDir = join36(resolvedPath, "scripts");
24121
24121
  const assetsDir = join36(resolvedPath, "assets");
24122
- const references = existsSync32(referencesDir) ? readdirSync8(referencesDir).filter((f) => !f.startsWith(".")) : [];
24123
- const scripts = existsSync32(scriptsDir) ? readdirSync8(scriptsDir).filter((f) => !f.startsWith(".") && !f.startsWith("__")) : [];
24124
- const assets = existsSync32(assetsDir) ? readdirSync8(assetsDir).filter((f) => !f.startsWith(".")) : [];
24122
+ const references = existsSync32(referencesDir) ? readdirSync9(referencesDir).filter((f) => !f.startsWith(".")) : [];
24123
+ const scripts = existsSync32(scriptsDir) ? readdirSync9(scriptsDir).filter((f) => !f.startsWith(".") && !f.startsWith("__")) : [];
24124
+ const assets = existsSync32(assetsDir) ? readdirSync9(assetsDir).filter((f) => !f.startsWith(".")) : [];
24125
24125
  return {
24126
24126
  name: metadata.name,
24127
24127
  path: resolvedPath,
@@ -24140,7 +24140,7 @@ async function discoverSkillsFromDirAsync(skillsDir) {
24140
24140
  if (!existsSync32(skillsDir)) {
24141
24141
  return [];
24142
24142
  }
24143
- const entries = readdirSync8(skillsDir, { withFileTypes: true });
24143
+ const entries = readdirSync9(skillsDir, { withFileTypes: true });
24144
24144
  const skills = [];
24145
24145
  for (const entry of entries) {
24146
24146
  if (entry.name.startsWith("."))
@@ -24676,9 +24676,7 @@ async function executeSync(args, toolContext, ctx) {
24676
24676
  tools: {
24677
24677
  task: false,
24678
24678
  call_omo_agent: false,
24679
- background_task: false,
24680
- background_output: false,
24681
- background_cancel: false
24679
+ background_task: false
24682
24680
  },
24683
24681
  parts: [{ type: "text", text: args.prompt }]
24684
24682
  }
@@ -24899,6 +24897,7 @@ class BackgroundManager {
24899
24897
  agent: input.agent,
24900
24898
  tools: {
24901
24899
  task: false,
24900
+ call_omo_agent: false,
24902
24901
  background_task: false
24903
24902
  },
24904
24903
  parts: [{ type: "text", text: input.prompt }]
@@ -1,2 +1,3 @@
1
+ export declare function findFileRecursive(dir: string, filename: string): string | null;
1
2
  export declare function downloadAndInstallRipgrep(): Promise<string>;
2
3
  export declare function getInstalledRipgrepPath(): string | null;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-opencode",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "OpenCode plugin - custom agents (oracle, librarian) and enhanced features",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -51,7 +51,6 @@
51
51
  "@code-yeongyu/comment-checker": "^0.5.0",
52
52
  "@openauthjs/openauth": "^0.4.3",
53
53
  "@opencode-ai/plugin": "^1.0.150",
54
- "glob": "^13.0.0",
55
54
  "hono": "^4.10.4",
56
55
  "picomatch": "^4.0.2",
57
56
  "xdg-basedir": "^5.1.0",