From 20cb65fdbb9482f57c029f56f870745b9d3c8b48 Mon Sep 17 00:00:00 2001 From: Evgenii Peshkov Date: Sat, 11 Jul 2026 19:00:25 +0100 Subject: [PATCH 1/3] fix(deps): require windows-capable usearch Pin usearch to the version that includes the Windows x64 prebuild and make it a required runtime dependency. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- bun.lock | 11 +++++++---- package.json | 6 ++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/bun.lock b/bun.lock index 83d2221..44c4629 100644 --- a/bun.lock +++ b/bun.lock @@ -10,7 +10,7 @@ "@opencode-ai/sdk": "^1.3.0", "franc-min": "^6.2.0", "iso-639-3": "^3.0.1", - "usearch": "^2.21.4", + "usearch": "2.26.0", "zod": "^4.3.6", }, "devDependencies": { @@ -22,6 +22,9 @@ }, }, }, + "overrides": { + "onnxruntime-node": "1.22.0", + }, "packages": { "@emnapi/runtime": ["@emnapi/runtime@1.10.0", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA=="], @@ -213,9 +216,9 @@ "onetime": ["onetime@7.0.0", "", { "dependencies": { "mimic-function": "^5.0.0" } }, "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ=="], - "onnxruntime-common": ["onnxruntime-common@1.24.3", "", {}, "sha512-GeuPZO6U/LBJXvwdaqHbuUmoXiEdeCjWi/EG7Y1HNnDwJYuk6WUbNXpF6luSUY8yASul3cmUlLGrCCL1ZgVXqA=="], + "onnxruntime-common": ["onnxruntime-common@1.22.0", "", {}, "sha512-vcuaNWgtF2dGQu/EP5P8UI5rEPEYqXG2sPPe5j9lg2TY/biJF8eWklTMwlDO08iuXq48xJo0awqIpK5mPG+IxA=="], - "onnxruntime-node": ["onnxruntime-node@1.24.3", "", { "dependencies": { "adm-zip": "^0.5.16", "global-agent": "^3.0.0", "onnxruntime-common": "1.24.3" }, "os": [ "linux", "win32", "darwin", ] }, "sha512-JH7+czbc8ALA819vlTgcV+Q214/+VjGeBHDjX81+ZCD0PCVCIFGFNtT0V4sXG/1JXypKPgScQcB3ij/hk3YnTg=="], + "onnxruntime-node": ["onnxruntime-node@1.22.0", "", { "dependencies": { "adm-zip": "^0.5.16", "global-agent": "^3.0.0", "onnxruntime-common": "1.22.0" }, "os": [ "linux", "win32", "darwin", ] }, "sha512-QaAqr7PFekrmEsmu1rpw7OxJYyG+iACjNHoNtQIVt9Oh7st8WDPIIUe6KhF9l35HVJTJd9CV1rePoPmKhSV26g=="], "onnxruntime-web": ["onnxruntime-web@1.26.0-dev.20260416-b7804b056c", "", { "dependencies": { "flatbuffers": "^25.1.24", "guid-typescript": "^1.0.9", "long": "^5.2.3", "onnxruntime-common": "1.24.0-dev.20251116-b39e144322", "platform": "^1.3.6", "protobufjs": "^7.2.4" } }, "sha512-MD6Ss4GSpQBo6zqoJzyT9LRbKYs7x/JVN23FT24EcEvlqF4VuzPOeH6X38orZPKHQDbprn7K+SBpu0/mj2CQiw=="], @@ -267,7 +270,7 @@ "undici-types": ["undici-types@7.16.0", "", {}, "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw=="], - "usearch": ["usearch@2.21.4", "", { "dependencies": { "bindings": "^1.5.0", "node-addon-api": "^8.5.0", "node-gyp-build": "^4.8.4" } }, "sha512-AzavmhAfGubKOLdR3S6Rh/6dvgXqxL+6Fzs1fsgKneQG8i7oLX2Gpqsc4EfdSyKb4sQXhavIiKIguMA2R3cRaA=="], + "usearch": ["usearch@2.26.0", "", { "dependencies": { "bindings": "^1.5.0", "node-addon-api": "^8.5.0", "node-gyp-build": "^4.8.4" } }, "sha512-Le3KoJh1I+YY9h8bgfJi6G0wgvyRl2+sBFxZFp7LcN2jOkgEcBKiYtyOJgZ9KnfybKlkqYjjXvcmyH4/PG9shw=="], "wrap-ansi": ["wrap-ansi@9.0.2", "", { "dependencies": { "ansi-styles": "^6.2.1", "string-width": "^7.0.0", "strip-ansi": "^7.1.0" } }, "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww=="], diff --git a/package.json b/package.json index ccf40e9..da93607 100644 --- a/package.json +++ b/package.json @@ -52,10 +52,8 @@ "franc-min": "^6.2.0", "iso-639-3": "^3.0.1", "zod": "^4.3.6", - "@huggingface/transformers": "^4.2.0" - }, - "optionalDependencies": { - "usearch": "^2.21.4" + "@huggingface/transformers": "^4.2.0", + "usearch": "2.26.0" }, "//": "Remove onnxruntime-node override after https://github.com/microsoft/onnxruntime/issues/27961 is resolved", "overrides": { From f0307340c09cf742bd48c138886fda1f280b6967 Mon Sep 17 00:00:00 2001 From: Evgenii Peshkov Date: Sat, 11 Jul 2026 19:00:45 +0100 Subject: [PATCH 2/3] docs: add github flow agent rules Document the branch-first workflow for agents and keep local .omo state ignored while allowing AGENTS.md to be tracked. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- .gitignore | 2 +- AGENTS.md | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 AGENTS.md diff --git a/.gitignore b/.gitignore index 9ec4a58..bd3368b 100644 --- a/.gitignore +++ b/.gitignore @@ -40,4 +40,4 @@ docs/plans/ openspec .codegraph .opencode -AGENTS.md \ No newline at end of file +.omo diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..150c1e2 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,8 @@ +# Repository Instructions + +## GitHub Flow + +- Never make code, documentation, dependency, lockfile, or generated-file changes directly on `main`. +- Before changing files, check the current branch. If it is `main`, create or switch to a focused feature branch first. +- Keep `main` as the integration branch that only receives reviewed changes through pull requests. +- Do not commit, amend, rebase, or push unless the user explicitly asks for that git action. From 2b3e20fdfc8822226e893acdfb5f792bef00eeed Mon Sep 17 00:00:00 2001 From: Evgenii Peshkov Date: Sat, 11 Jul 2026 19:02:51 +0100 Subject: [PATCH 3/3] chore: ignore generated package directory Keep extracted package output out of git status. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index bd3368b..72efecf 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,4 @@ openspec .codegraph .opencode .omo +package/