feat(omo-claude): scaffold package skeleton
Mirror packages/omo-codex layout for the Claude Code port: package.json (@oh-my-opencode/omo-claude), tsconfig, index.d.ts, src/ + src/telemetry stubs, and the plugin/ tree (.claude-plugin, components, agents, hooks, scripts, skills, test, mcp) with a CC-worded plugin README + placeholder package.json. Plan: .omo/plans/omo-claude-plugin-port.md Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Vendored
+1
@@ -0,0 +1 @@
|
||||
export * from "./src/index";
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"name": "@oh-my-opencode/omo-claude",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"description": "Claude Code harness adapter for oh-my-openagent. Vendored Claude Code plugin namespace (omo) + TypeScript installer + telemetry.",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./index.d.ts",
|
||||
"import": "./src/index.ts"
|
||||
},
|
||||
"./telemetry": "./src/telemetry/index.ts",
|
||||
"./marketplace.json": "./marketplace.json"
|
||||
},
|
||||
"types": "./index.d.ts",
|
||||
"scripts": {
|
||||
"typecheck": "tsgo --noEmit -p tsconfig.json",
|
||||
"test": "bun test src/**/*.test.ts",
|
||||
"build": "npm --prefix plugin run build",
|
||||
"sync:skills": "node plugin/scripts/sync-skills.mjs",
|
||||
"sync:components": "node plugin/scripts/sync-components.mjs",
|
||||
"sync:telemetry": "node scripts/sync-telemetry-component.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@oh-my-opencode/utils": "workspace:*",
|
||||
"posthog-node": "^5.34.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"bun-types": "1.3.14"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
# omo
|
||||
|
||||
`omo` is the single local Claude Code plugin namespace for Yeongyu's Claude Code components.
|
||||
|
||||
Internally each component remains isolated under `components/`:
|
||||
|
||||
- `components/comment-checker`
|
||||
- `components/rules`
|
||||
- `components/lsp`
|
||||
- `components/ultrawork`
|
||||
- `components/ultragoal`
|
||||
- `components/start-work-continuation`
|
||||
- `components/telemetry`
|
||||
|
||||
The root plugin manifest (`.claude-plugin/plugin.json`) exports one Claude Code plugin
|
||||
named `omo`, with aggregate hooks (`hooks/hooks.json`), bundled skills (`skills/`),
|
||||
subagents (`agents/`), and the LSP + ast-grep MCP servers (`.mcp.json`).
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"name": "@sisyphuslabs/omo-claude-plugin",
|
||||
"version": "0.1.0",
|
||||
"description": "Aggregate Claude Code plugin root for OMO components.",
|
||||
"type": "module",
|
||||
"packageManager": "npm@11.12.1",
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
"components/comment-checker",
|
||||
"components/rules",
|
||||
"components/lsp",
|
||||
"components/telemetry",
|
||||
"components/start-work-continuation",
|
||||
"components/ultragoal",
|
||||
"components/ultrawork"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "node scripts/sync-components.mjs && node scripts/sync-skills.mjs && node ../scripts/sync-telemetry-component.mjs && npm run build --workspaces --if-present",
|
||||
"check": "npm run build && npm test",
|
||||
"sync:components": "node scripts/sync-components.mjs",
|
||||
"sync:skills": "node scripts/sync-skills.mjs",
|
||||
"test": "node --test test/*.test.mjs"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
// @oh-my-opencode/omo-claude — Claude Code harness adapter for oh-my-openagent.
|
||||
//
|
||||
// Public surface (installer entry + telemetry) is populated by later tasks.
|
||||
// Telemetry is also reachable via the "./telemetry" export.
|
||||
export {};
|
||||
@@ -0,0 +1,4 @@
|
||||
// Placeholder — telemetry identity, posthog client, env-flags, and data-path
|
||||
// are authored in the telemetry-fork task. Re-exported from here so
|
||||
// `@oh-my-opencode/omo-claude/telemetry` resolves throughout the build.
|
||||
export {};
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ESNext",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "bundler",
|
||||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"lib": ["ESNext"],
|
||||
"types": ["bun-types"]
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
Reference in New Issue
Block a user