oh-my-opencode 3.0.0-beta.4 → 3.0.0-beta.6

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.
Files changed (66) hide show
  1. package/README.ja.md +3 -16
  2. package/README.md +4 -29
  3. package/README.zh-cn.md +618 -500
  4. package/dist/agents/momus.d.ts +1 -1
  5. package/dist/agents/orchestrator-sisyphus.d.ts +1 -1
  6. package/dist/agents/prometheus-prompt.d.ts +3 -1
  7. package/dist/agents/sisyphus-junior.d.ts +6 -1
  8. package/dist/agents/types.d.ts +1 -0
  9. package/dist/agents/utils.d.ts +3 -2
  10. package/dist/cli/index.js +3647 -3661
  11. package/dist/cli/run/events.d.ts +1 -0
  12. package/dist/config/schema.d.ts +311 -179
  13. package/dist/features/background-agent/types.d.ts +2 -0
  14. package/dist/features/claude-code-session-state/state.d.ts +4 -0
  15. package/dist/features/hook-message-injector/index.d.ts +1 -1
  16. package/dist/features/hook-message-injector/injector.d.ts +7 -0
  17. package/dist/features/opencode-skill-loader/skill-content.d.ts +6 -2
  18. package/dist/hooks/auto-update-checker/checker.d.ts +1 -1
  19. package/dist/hooks/auto-update-checker/index.d.ts +1 -0
  20. package/dist/index.js +19623 -22866
  21. package/dist/plugin-handlers/config-handler.d.ts +2 -0
  22. package/dist/shared/agent-variant.d.ts +5 -0
  23. package/dist/shared/first-message-variant.d.ts +11 -0
  24. package/dist/shared/first-message-variant.test.d.ts +1 -0
  25. package/dist/shared/index.d.ts +2 -0
  26. package/dist/shared/permission-compat.d.ts +2 -0
  27. package/dist/shared/zip-extractor.d.ts +1 -0
  28. package/dist/tools/glob/cli.d.ts +4 -0
  29. package/dist/tools/glob/cli.test.d.ts +1 -0
  30. package/dist/tools/glob/types.d.ts +1 -0
  31. package/dist/tools/sisyphus-task/tools.d.ts +3 -1
  32. package/dist/tools/skill-mcp/types.d.ts +1 -1
  33. package/package.json +2 -6
  34. package/dist/auth/antigravity/accounts.d.ts +0 -40
  35. package/dist/auth/antigravity/browser.d.ts +0 -27
  36. package/dist/auth/antigravity/cli.d.ts +0 -2
  37. package/dist/auth/antigravity/constants.d.ts +0 -98
  38. package/dist/auth/antigravity/fetch.d.ts +0 -69
  39. package/dist/auth/antigravity/index.d.ts +0 -13
  40. package/dist/auth/antigravity/integration.test.d.ts +0 -10
  41. package/dist/auth/antigravity/message-converter.d.ts +0 -54
  42. package/dist/auth/antigravity/oauth.d.ts +0 -51
  43. package/dist/auth/antigravity/plugin.d.ts +0 -54
  44. package/dist/auth/antigravity/project.d.ts +0 -10
  45. package/dist/auth/antigravity/request.d.ts +0 -116
  46. package/dist/auth/antigravity/response.d.ts +0 -137
  47. package/dist/auth/antigravity/storage.d.ts +0 -5
  48. package/dist/auth/antigravity/thinking.d.ts +0 -278
  49. package/dist/auth/antigravity/thinking.test.d.ts +0 -10
  50. package/dist/auth/antigravity/thought-signature-store.d.ts +0 -52
  51. package/dist/auth/antigravity/token.d.ts +0 -38
  52. package/dist/auth/antigravity/tools.d.ts +0 -119
  53. package/dist/auth/antigravity/types.d.ts +0 -229
  54. package/dist/cli/ast-grep-napi.linux-x64-gnu-jfv8414z.node +0 -0
  55. package/dist/cli/ast-grep-napi.linux-x64-musl-8cj2e5cf.node +0 -0
  56. package/dist/cli/commands/auth.d.ts +0 -2
  57. package/dist/google-auth.d.ts +0 -3
  58. package/dist/google-auth.js +0 -3871
  59. /package/dist/{auth/antigravity/accounts.test.d.ts → agents/momus.test.d.ts} +0 -0
  60. /package/dist/{auth/antigravity/browser.test.d.ts → agents/prometheus-prompt.test.d.ts} +0 -0
  61. /package/dist/{auth/antigravity/cli.test.d.ts → agents/sisyphus-junior.test.d.ts} +0 -0
  62. /package/dist/{auth/antigravity/constants.test.d.ts → hooks/auto-update-checker/checker.test.d.ts} +0 -0
  63. /package/dist/{auth/antigravity/oauth.test.d.ts → plugin-config.test.d.ts} +0 -0
  64. /package/dist/{auth/antigravity/request.test.d.ts → plugin-handlers/config-handler.test.d.ts} +0 -0
  65. /package/dist/{auth/antigravity/storage.test.d.ts → shared/agent-variant.test.d.ts} +0 -0
  66. /package/dist/{auth/antigravity/token.test.d.ts → shared/deep-merge.test.d.ts} +0 -0
package/README.ja.md CHANGED
@@ -327,11 +327,10 @@ opencode auth login
327
327
 
328
328
  #### 4.2.2 oh-my-opencode エージェントモデルのオーバーライド
329
329
 
330
- `opencode-antigravity-auth` プラグインは内蔵 Google auth と異なるモデル名を使用します。`oh-my-opencode.json`(または `.opencode/oh-my-opencode.json`)でエージェントモデルをオーバーライドし、内蔵 `google_auth` を無効化してください:
330
+ `opencode-antigravity-auth` プラグインは特定のモデル名を使用します。エージェントモデルを `oh-my-opencode.json`(または `.opencode/oh-my-opencode.json`)でオーバーライドしてください:
331
331
 
332
332
  ```json
333
333
  {
334
- "google_auth": false,
335
334
  "agents": {
336
335
  "frontend-ui-ux-engineer": { "model": "google/antigravity-gemini-3-pro-high" },
337
336
  "document-writer": { "model": "google/antigravity-gemini-3-flash" },
@@ -393,7 +392,7 @@ opencode auth login
393
392
 
394
393
  **ユーザーが明示的に要求しない限り、モデル設定を変更したり、機能(エージェント、フック、MCP)を無効化しないでください。**
395
394
 
396
- プラグインはデフォルトで完璧に動作します。推奨される `google_auth: true` 設定を除き、明示的な要求なしに他の設定を変更したり機能をオフにしないでください。
395
+ プラグインはデフォルトで完璧に動作します。`opencode-antigravity-auth` を使用する場合は、上記の通りエージェントモデルをオーバーライドしてください。明示的な要求なしに他の設定を変更したり機能をオフにしないでください。
397
396
 
398
397
  ### セットアップの確認
399
398
 
@@ -760,9 +759,6 @@ Oh My OpenCode は以下の場所からフックを読み込んで実行しま
760
759
  {
761
760
  "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
762
761
 
763
- // Antigravity OAuth 経由で Google Gemini を有効にする
764
- "google_auth": false,
765
-
766
762
  /* エージェントのオーバーライド - 特定のタスクに合わせてモデルをカスタマイズ */
767
763
  "agents": {
768
764
  "oracle": {
@@ -779,11 +775,10 @@ Oh My OpenCode は以下の場所からフックを読み込んで実行しま
779
775
 
780
776
  **推奨**: 外部の [`opencode-antigravity-auth`](https://github.com/NoeFabris/opencode-antigravity-auth) プラグインを使用してください。マルチアカウントロードバランシング、より多くのモデル(Antigravity 経由の Claude を含む)、活発なメンテナンスを提供します。[インストール > Google Gemini](#42-google-gemini-antigravity-oauth) を参照。
781
777
 
782
- `opencode-antigravity-auth` 使用時は内蔵 auth を無効化し、`oh-my-opencode.json` でエージェントモデルをオーバーライドしてください:
778
+ `opencode-antigravity-auth` 使用時は `oh-my-opencode.json` でエージェントモデルをオーバーライドしてください:
783
779
 
784
780
  ```json
785
781
  {
786
- "google_auth": false,
787
782
  "agents": {
788
783
  "frontend-ui-ux-engineer": { "model": "google/antigravity-gemini-3-pro-high" },
789
784
  "document-writer": { "model": "google/antigravity-gemini-3-flash" },
@@ -792,14 +787,6 @@ Oh My OpenCode は以下の場所からフックを読み込んで実行しま
792
787
  }
793
788
  ```
794
789
 
795
- **代替案**: 内蔵 Antigravity OAuth を有効化(単一アカウント、Gemini モデルのみ):
796
-
797
- ```json
798
- {
799
- "google_auth": true
800
- }
801
- ```
802
-
803
790
  ### Agents
804
791
 
805
792
  内蔵エージェント設定をオーバーライドできます:
package/README.md CHANGED
@@ -354,11 +354,10 @@ Read the [opencode-antigravity-auth documentation](https://github.com/NoeFabris/
354
354
 
355
355
  ##### oh-my-opencode Agent Model Override
356
356
 
357
- The `opencode-antigravity-auth` plugin uses different model names than the built-in Google auth. Override the agent models in `oh-my-opencode.json` (or `.opencode/oh-my-opencode.json`) and disable the built-in `google_auth`:
357
+ The `opencode-antigravity-auth` plugin uses different model names than the built-in Google auth. Override the agent models in `oh-my-opencode.json` (or `.opencode/oh-my-opencode.json`):
358
358
 
359
359
  ```json
360
360
  {
361
- "google_auth": false,
362
361
  "agents": {
363
362
  "frontend-ui-ux-engineer": { "model": "google/antigravity-gemini-3-pro-high" },
364
363
  "document-writer": { "model": "google/antigravity-gemini-3-flash" },
@@ -420,7 +419,7 @@ opencode auth login
420
419
 
421
420
  **Unless the user explicitly requests it, do not change model settings or disable features (agents, hooks, MCPs).**
422
421
 
423
- The plugin works perfectly by default. Except for the recommended `google_auth: true` setting, do not change other settings or turn off features without an explicit request.
422
+ The plugin works perfectly by default. Do not change settings or turn off features without an explicit request.
424
423
 
425
424
  ### Verify the setup
426
425
 
@@ -804,9 +803,6 @@ When both `oh-my-opencode.jsonc` and `oh-my-opencode.json` files exist, `.jsonc`
804
803
  {
805
804
  "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
806
805
 
807
- // Enable Google Gemini via Antigravity OAuth
808
- "google_auth": false,
809
-
810
806
  /* Agent overrides - customize models for specific tasks */
811
807
  "agents": {
812
808
  "oracle": {
@@ -821,28 +817,7 @@ When both `oh-my-opencode.jsonc` and `oh-my-opencode.json` files exist, `.jsonc`
821
817
 
822
818
  ### Google Auth
823
819
 
824
- **Recommended**: Use the external [`opencode-antigravity-auth`](https://github.com/NoeFabris/opencode-antigravity-auth) plugin. It provides multi-account load balancing, more models (including Claude via Antigravity), and active maintenance. See [Installation > Google Gemini](#google-gemini-antigravity-oauth).
825
-
826
- When using `opencode-antigravity-auth`, disable the built-in auth and override agent models in `oh-my-opencode.json`:
827
-
828
- ```json
829
- {
830
- "google_auth": false,
831
- "agents": {
832
- "frontend-ui-ux-engineer": { "model": "google/antigravity-gemini-3-pro-high" },
833
- "document-writer": { "model": "google/antigravity-gemini-3-flash" },
834
- "multimodal-looker": { "model": "google/antigravity-gemini-3-flash" }
835
- }
836
- }
837
- ```
838
-
839
- **Alternative**: Enable built-in Antigravity OAuth (single account, Gemini models only):
840
-
841
- ```json
842
- {
843
- "google_auth": true
844
- }
845
- ```
820
+ **Recommended**: For Google Gemini authentication, install the [`opencode-antigravity-auth`](https://github.com/NoeFabris/opencode-antigravity-auth) plugin. It provides multi-account load balancing, more models (including Claude via Antigravity), and active maintenance. See [Installation > Google Gemini](#google-gemini-antigravity-oauth).
846
821
 
847
822
  ### Agents
848
823
 
@@ -1058,7 +1033,7 @@ Configure concurrency limits for background agent tasks. This controls how many
1058
1033
 
1059
1034
  ### Categories
1060
1035
 
1061
- Categories enable domain-specific task delegation via the `sisyphus_task` tool. Each category pre-configures a specialized `Sisyphus-Junior-{category}` agent with optimized model settings and prompts.
1036
+ Categories enable domain-specific task delegation via the `sisyphus_task` tool. Each category applies runtime presets (model, temperature, prompt additions) when calling the `Sisyphus-Junior` agent.
1062
1037
 
1063
1038
  **Default Categories:**
1064
1039