oh-my-opencode 3.1.6 → 3.1.8

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 (44) hide show
  1. package/dist/agents/utils.d.ts +1 -1
  2. package/dist/cli/doctor/checks/index.d.ts +1 -0
  3. package/dist/cli/doctor/checks/mcp-oauth.d.ts +15 -0
  4. package/dist/cli/doctor/checks/mcp-oauth.test.d.ts +1 -0
  5. package/dist/cli/doctor/constants.d.ts +1 -0
  6. package/dist/cli/index.js +716 -23
  7. package/dist/cli/mcp-oauth/index.d.ts +6 -0
  8. package/dist/cli/mcp-oauth/index.test.d.ts +1 -0
  9. package/dist/cli/mcp-oauth/login.d.ts +6 -0
  10. package/dist/cli/mcp-oauth/login.test.d.ts +1 -0
  11. package/dist/cli/mcp-oauth/logout.d.ts +4 -0
  12. package/dist/cli/mcp-oauth/logout.test.d.ts +1 -0
  13. package/dist/cli/mcp-oauth/status.d.ts +1 -0
  14. package/dist/cli/mcp-oauth/status.test.d.ts +1 -0
  15. package/dist/cli/run/events.d.ts +2 -0
  16. package/dist/cli/run/types.d.ts +3 -1
  17. package/dist/features/background-agent/manager.d.ts +2 -0
  18. package/dist/features/claude-code-mcp-loader/types.d.ts +4 -0
  19. package/dist/features/hook-message-injector/injector.d.ts +1 -0
  20. package/dist/features/hook-message-injector/types.d.ts +2 -0
  21. package/dist/features/mcp-oauth/callback-server.d.ts +11 -0
  22. package/dist/features/mcp-oauth/callback-server.test.d.ts +1 -0
  23. package/dist/features/mcp-oauth/dcr.d.ts +34 -0
  24. package/dist/features/mcp-oauth/dcr.test.d.ts +1 -0
  25. package/dist/features/mcp-oauth/discovery.d.ts +8 -0
  26. package/dist/features/mcp-oauth/discovery.test.d.ts +1 -0
  27. package/dist/features/mcp-oauth/index.d.ts +1 -0
  28. package/dist/features/mcp-oauth/provider.d.ts +41 -0
  29. package/dist/features/mcp-oauth/provider.test.d.ts +1 -0
  30. package/dist/features/mcp-oauth/resource-indicator.d.ts +2 -0
  31. package/dist/features/mcp-oauth/resource-indicator.test.d.ts +1 -0
  32. package/dist/features/mcp-oauth/schema.d.ts +6 -0
  33. package/dist/features/mcp-oauth/schema.test.d.ts +1 -0
  34. package/dist/features/mcp-oauth/step-up.d.ts +8 -0
  35. package/dist/features/mcp-oauth/step-up.test.d.ts +1 -0
  36. package/dist/features/mcp-oauth/storage.d.ts +17 -0
  37. package/dist/features/mcp-oauth/storage.test.d.ts +1 -0
  38. package/dist/features/skill-mcp-manager/manager.d.ts +8 -0
  39. package/dist/features/tmux-subagent/manager.d.ts +6 -1
  40. package/dist/hooks/interactive-bash-session/index.d.ts +1 -1
  41. package/dist/index.js +4170 -265
  42. package/dist/shared/model-resolver.d.ts +1 -0
  43. package/dist/tools/lsp/client.d.ts +4 -11
  44. package/package.json +9 -8
@@ -11,6 +11,7 @@ export type ModelResolutionResult = {
11
11
  variant?: string;
12
12
  };
13
13
  export type ExtendedModelResolutionInput = {
14
+ uiSelectedModel?: string;
14
15
  userModel?: string;
15
16
  fallbackChain?: FallbackEntry[];
16
17
  availableModels: Set<string>;
@@ -22,24 +22,17 @@ export declare class LSPClient {
22
22
  private root;
23
23
  private server;
24
24
  private proc;
25
- private buffer;
26
- private pending;
27
- private requestIdCounter;
25
+ private connection;
28
26
  private openedFiles;
29
27
  private stderrBuffer;
30
28
  private processExited;
31
29
  private diagnosticsStore;
30
+ private readonly REQUEST_TIMEOUT;
32
31
  constructor(root: string, server: ResolvedServer);
33
32
  start(): Promise<void>;
34
- private startReading;
35
33
  private startStderrReading;
36
- private rejectAllPending;
37
- private findSequence;
38
- private processBuffer;
39
- private send;
40
- private notify;
41
- private respond;
42
- private handleServerRequest;
34
+ private sendRequest;
35
+ private sendNotification;
43
36
  initialize(): Promise<void>;
44
37
  openFile(filePath: string): Promise<void>;
45
38
  definition(filePath: string, line: number, character: number): Promise<unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-opencode",
3
- "version": "3.1.6",
3
+ "version": "3.1.8",
4
4
  "description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -64,6 +64,7 @@
64
64
  "jsonc-parser": "^3.3.1",
65
65
  "picocolors": "^1.1.1",
66
66
  "picomatch": "^4.0.2",
67
+ "vscode-jsonrpc": "^8.2.0",
67
68
  "zod": "^4.1.8"
68
69
  },
69
70
  "devDependencies": {
@@ -73,13 +74,13 @@
73
74
  "typescript": "^5.7.3"
74
75
  },
75
76
  "optionalDependencies": {
76
- "oh-my-opencode-darwin-arm64": "3.1.6",
77
- "oh-my-opencode-darwin-x64": "3.1.6",
78
- "oh-my-opencode-linux-arm64": "3.1.6",
79
- "oh-my-opencode-linux-arm64-musl": "3.1.6",
80
- "oh-my-opencode-linux-x64": "3.1.6",
81
- "oh-my-opencode-linux-x64-musl": "3.1.6",
82
- "oh-my-opencode-windows-x64": "3.1.6"
77
+ "oh-my-opencode-darwin-arm64": "3.1.8",
78
+ "oh-my-opencode-darwin-x64": "3.1.8",
79
+ "oh-my-opencode-linux-arm64": "3.1.8",
80
+ "oh-my-opencode-linux-arm64-musl": "3.1.8",
81
+ "oh-my-opencode-linux-x64": "3.1.8",
82
+ "oh-my-opencode-linux-x64-musl": "3.1.8",
83
+ "oh-my-opencode-windows-x64": "3.1.8"
83
84
  },
84
85
  "trustedDependencies": [
85
86
  "@ast-grep/cli",