oh-my-opencode 5.0.1 → 5.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/README.ja.md +2 -1
- package/README.ko.md +2 -1
- package/README.md +2 -1
- package/README.ru.md +2 -1
- package/README.zh-cn.md +2 -1
- package/dist/cli/index.js +851 -546
- package/dist/cli-node/index.js +851 -546
- package/dist/features/background-agent/parent-wake-dedupe.d.ts +1 -0
- package/dist/features/boulder-state/storage.d.ts +1 -1
- package/dist/hooks/comment-checker/downloader.d.ts +3 -1
- package/dist/index.js +2413 -2153
- package/dist/skills/browser/runtime/omowright/manifest.json +1 -1
- package/dist/skills/coding-agent-sessions/SKILL.md +1 -1
- package/dist/skills/coding-agent-sessions/scripts/agent_sessions/aside_scanner.py +3 -0
- package/dist/skills/coding-agent-sessions/scripts/agent_sessions/cli.py +4 -0
- package/dist/skills/coding-agent-sessions/scripts/agent_sessions/file_scanners.py +6 -2
- package/dist/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +7 -1
- package/dist/skills/coding-agent-sessions/scripts/agent_sessions/transcript.py +3 -1
- package/dist/skills/coding-agent-sessions/scripts/agent_sessions/types.py +3 -1
- package/dist/skills/coding-agent-sessions/scripts/find-agent-sessions.py +4 -0
- package/dist/tui.js +116 -41
- package/package.json +29 -18
- package/packages/lsp-core/src/lsp/fixtures/workspace-edit-server.mjs +3 -0
- package/packages/lsp-core/src/lsp/workspace-apply-edit-lease.integration.test.ts +7 -3
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +341 -157
- package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/src/setup.ts +7 -4
- package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
- package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
- package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
- package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
- package/packages/omo-codex/plugin/components/rules/package.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/AGENTS.md +1 -1
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/dist/cli.js +42 -32
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/package.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/src/plan-checklist.ts +55 -29
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/test/boulder-reader.test.ts +51 -0
- package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +5 -5
- package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-recording-spawn-admission.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-ulw-execute-continuation.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
- package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/package-lock.json +12 -12
- package/packages/omo-codex/plugin/package.json +1 -1
- package/packages/omo-codex/plugin/skills/browser/runtime/omowright/manifest.json +1 -1
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/SKILL.md +1 -1
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/aside_scanner.py +3 -0
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/cli.py +4 -0
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/file_scanners.py +6 -2
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +7 -1
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/transcript.py +3 -1
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/types.py +3 -1
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/find-agent-sessions.py +4 -0
- package/packages/omo-codex/scripts/install-dist/install-local.mjs +10465 -10270
- package/packages/shared-skills/skills/browser/runtime/omowright/manifest.json +1 -1
- package/packages/shared-skills/skills/coding-agent-sessions/SKILL.md +1 -1
- package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/aside_scanner.py +3 -0
- package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/cli.py +4 -0
- package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/file_scanners.py +6 -2
- package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +7 -1
- package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/transcript.py +3 -1
- package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/types.py +3 -1
- package/packages/shared-skills/skills/coding-agent-sessions/scripts/find-agent-sessions.py +4 -0
|
@@ -182,6 +182,9 @@ function handleNotification(message) {
|
|
|
182
182
|
}
|
|
183
183
|
if (message.method === "textDocument/didOpen") {
|
|
184
184
|
applyPublishSteps("didOpen", message.params.textDocument.uri, message.params.textDocument.version);
|
|
185
|
+
if (scenario.unscopedApplyEditOnDidOpen) {
|
|
186
|
+
sendApplyEdit(scenario.unscopedApplyEditOnDidOpen, { kind: "unscoped" });
|
|
187
|
+
}
|
|
185
188
|
}
|
|
186
189
|
if (message.method === "textDocument/didChange" && Array.isArray(scenario.diagnostics)) {
|
|
187
190
|
send({
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
readEvents,
|
|
8
8
|
renameTextEdit,
|
|
9
9
|
waitForEventCount,
|
|
10
|
+
waitForEventCountBySubscription,
|
|
10
11
|
} from "./workspace-apply-edit-test-support.js";
|
|
11
12
|
|
|
12
13
|
const harness = createWorkspaceEditTestHarness();
|
|
@@ -17,13 +18,16 @@ afterEach(async () => {
|
|
|
17
18
|
|
|
18
19
|
describe("LspClient workspace mutation lease", () => {
|
|
19
20
|
it("#given no mutating request #when the server calls applyEdit #then the request is rejected as unscoped", async () => {
|
|
20
|
-
const context = await harness.makeClient({
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
const context = await harness.makeClient({
|
|
22
|
+
unscopedApplyEditOnDidOpen: renameTextEdit("before", "after", { version: 1 }),
|
|
23
|
+
});
|
|
24
|
+
const response = waitForEventCountBySubscription(
|
|
23
25
|
context.events,
|
|
24
26
|
(event) => event.type === "clientResponse" && event.method === "workspace/applyEdit",
|
|
25
27
|
1,
|
|
26
28
|
);
|
|
29
|
+
await context.client.openFile(context.source);
|
|
30
|
+
const responses = await response;
|
|
27
31
|
|
|
28
32
|
expect(responses[0]?.result).toEqual({
|
|
29
33
|
applied: false,
|