oh-my-space 0.11.1 → 0.11.2
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/README.md +5 -5
- package/dist/build-info.json +1 -1
- package/dist/oms.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -111,10 +111,10 @@ When an AI coding agent works in a workspace, the main risk is operating in the
|
|
|
111
111
|
`oms` publishes three installable agent skills that carry the workspace Git guardrail to sessions started anywhere in the workspace — including at the root, which the [`oms agent install`](#ai-agent-workflow) marker under `oms/` cannot reach. They are installed with the external Vercel Labs `skills` tool (`npx skills`):
|
|
112
112
|
|
|
113
113
|
```bash
|
|
114
|
-
npx skills add divlook/oh-my-space # project scope: install at the workspace root
|
|
115
|
-
npx skills add divlook/oh-my-space -g # global scope: available in every workspace
|
|
116
|
-
npx skills add divlook/oh-my-space --skill oms-pointer # install one skill by name
|
|
117
|
-
npx skills add divlook/oh-my-space --list # list the available skills without installing
|
|
114
|
+
npx skills add divlook/oh-my-space/skills # project scope: install at the workspace root
|
|
115
|
+
npx skills add divlook/oh-my-space/skills -g # global scope: available in every workspace
|
|
116
|
+
npx skills add divlook/oh-my-space/skills --skill oms-pointer # install one skill by name
|
|
117
|
+
npx skills add divlook/oh-my-space/skills --list # list the available skills without installing
|
|
118
118
|
```
|
|
119
119
|
|
|
120
120
|
Project scope is the default and recommended: these skills are only relevant in an `oms.yaml` workspace, so a project install keeps them out of unrelated repositories. `oms skills` prints these commands, and `oms skills --install` runs the project install for you, resolving to the workspace root first and forwarding extra arguments (`-g`, `--skill`, `--list`, `--copy`) straight through.
|
|
@@ -148,7 +148,7 @@ Skill firing is best-effort — an agent loads a skill only when it judges the s
|
|
|
148
148
|
| `oms push <alias>...` | workspace root | `git push <remote> <branch>` (creating the remote branch on first push). | Submodule branch only — never stages or commits the root gitlink. `--commit`/`--record` are unsupported; record the root pointer with `oms record <alias>`. `--remote <name>` (repeatable) picks the remote(s); upstream is set only for `origin`. |
|
|
149
149
|
| `oms unsync <alias>` / `--all` | workspace root | `git submodule deinit` + `git rm` for the alias; drops an empty `.gitmodules`. | Keeps the `oms.yaml` entry. Use `--force` to discard uncommitted changes. Removal topology is left unstaged by default; commit via the prompt or `--commit` (`chore(oms): remove ...`). |
|
|
150
150
|
| `oms agent install` / `uninstall` | workspace root | Manages a marker-delimited OMS instruction block in `oms/AGENTS.md` and/or `oms/CLAUDE.md` (root-repo files). | `--target agents\|claude\|both` (omit to choose interactively). Does not stage files. See [AI agent workflow](#ai-agent-workflow). |
|
|
151
|
-
| `oms skills` | anywhere (`--install` resolves to root) | Prints the `npx skills add divlook/oh-my-space` commands (project scope and `-g` global) to install the workspace skills. | `--install` delegates to `npx skills add`, forwarding extra args (`-g`, `--skill <name>`, `--list`). Run outside a workspace without `-g`, it errors and points to the global install. See [Workspace skills](#workspace-skills). |
|
|
151
|
+
| `oms skills` | anywhere (`--install` resolves to root) | Prints the `npx skills add divlook/oh-my-space/skills` commands (project scope and `-g` global) to install the workspace skills. | `--install` delegates to `npx skills add`, forwarding extra args (`-g`, `--skill <name>`, `--list`). Run outside a workspace without `-g`, it errors and points to the global install. See [Workspace skills](#workspace-skills). |
|
|
152
152
|
| `oms update` | anywhere | Checks the npm registry and safely updates the installed `oms` CLI only when it detects a confident global install. | Use `--check` for a non-mutating check. Use `--yes` to skip the confirmation prompt for confident global updates. Project-local, temporary runner, development, and unknown installs print guidance only. |
|
|
153
153
|
|
|
154
154
|
## Updating the CLI
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"commit":"
|
|
1
|
+
{"commit":"a0dc9cecb49c8bab66a2b65830e3b841e78c8a27"}
|
package/dist/oms.js
CHANGED
|
@@ -2173,8 +2173,8 @@ async function runAgentUninstall(options) {
|
|
|
2173
2173
|
}
|
|
2174
2174
|
return 0;
|
|
2175
2175
|
}
|
|
2176
|
-
/** npx skills package identifier for the oms workspace skills. */
|
|
2177
|
-
const SKILLS_REPO = "divlook/oh-my-space";
|
|
2176
|
+
/** npx skills package identifier for the oms workspace skills (scoped to the repository skills/ directory). */
|
|
2177
|
+
const SKILLS_REPO = "divlook/oh-my-space/skills";
|
|
2178
2178
|
/** Extra args forwarded to "npx skills add", read from argv so flags pass through verbatim. */
|
|
2179
2179
|
function skillsForwardedArgs() {
|
|
2180
2180
|
// process.argv: [node, oms.js, "skills", ...rest]; drop the "--install" flag and forward the rest.
|