oh-my-opencode 3.16.0 → 3.17.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.
Files changed (51) hide show
  1. package/README.md +2 -0
  2. package/dist/agents/gpt-apply-patch-guard.d.ts +2 -0
  3. package/dist/agents/hephaestus/gpt-5-3-codex.d.ts +0 -1
  4. package/dist/cli/doctor/checks/system.d.ts +15 -2
  5. package/dist/cli/doctor/constants.d.ts +1 -1
  6. package/dist/cli/doctor/spawn-with-timeout.d.ts +8 -0
  7. package/dist/cli/index.js +5959 -942
  8. package/dist/create-tools.d.ts +2 -1
  9. package/dist/features/builtin-commands/commands.d.ts +2 -1
  10. package/dist/features/skill-mcp-manager/connection.d.ts +3 -4
  11. package/dist/features/skill-mcp-manager/http-client.d.ts +17 -3
  12. package/dist/features/skill-mcp-manager/manager.d.ts +2 -3
  13. package/dist/features/skill-mcp-manager/stdio-client.d.ts +16 -3
  14. package/dist/features/skill-mcp-manager/types.d.ts +16 -6
  15. package/dist/features/tmux-subagent/manager.d.ts +1 -0
  16. package/dist/hooks/atlas/session-last-agent.d.ts +10 -1
  17. package/dist/hooks/auto-update-checker/constants.d.ts +15 -0
  18. package/dist/hooks/auto-update-checker/hook.d.ts +22 -1
  19. package/dist/hooks/comment-checker/cli-runner.d.ts +4 -1
  20. package/dist/hooks/keyword-detector/hook.d.ts +1 -1
  21. package/dist/hooks/read-image-resizer/image-resizer.d.ts +3 -1
  22. package/dist/hooks/rules-injector/injector.d.ts +12 -0
  23. package/dist/index.js +7586 -1143
  24. package/dist/openclaw/config.d.ts +1 -1
  25. package/dist/openclaw/dispatcher.d.ts +3 -13
  26. package/dist/openclaw/gateway-url-validation.d.ts +1 -0
  27. package/dist/openclaw/reply-listener-discord.d.ts +4 -0
  28. package/dist/openclaw/reply-listener-injection.d.ts +10 -0
  29. package/dist/openclaw/reply-listener-log.d.ts +2 -0
  30. package/dist/openclaw/reply-listener-paths.d.ts +7 -0
  31. package/dist/openclaw/reply-listener-process.d.ts +4 -0
  32. package/dist/openclaw/reply-listener-spawn.d.ts +5 -0
  33. package/dist/openclaw/reply-listener-startup.d.ts +12 -0
  34. package/dist/openclaw/reply-listener-state.d.ts +29 -0
  35. package/dist/openclaw/reply-listener-telegram.d.ts +4 -0
  36. package/dist/openclaw/reply-listener.d.ts +5 -18
  37. package/dist/openclaw/runtime-dispatch.d.ts +17 -0
  38. package/dist/openclaw/types.d.ts +4 -0
  39. package/dist/plugin/command-execute-before.d.ts +3 -1
  40. package/dist/plugin/tool-registry.d.ts +23 -0
  41. package/dist/plugin-handlers/agent-priority-order.d.ts +11 -0
  42. package/dist/shared/agent-display-names.d.ts +5 -0
  43. package/dist/shared/compaction-marker.d.ts +1 -0
  44. package/dist/shared/migration/migrations-sidecar.d.ts +41 -0
  45. package/dist/shared/plugin-identity.d.ts +2 -0
  46. package/dist/shared/posthog-activity-state.d.ts +8 -0
  47. package/dist/shared/posthog.d.ts +14 -0
  48. package/dist/shared/shell-env.d.ts +6 -2
  49. package/dist/testing/module-mock-lifecycle.d.ts +21 -0
  50. package/dist/tools/session-manager/tools.d.ts +19 -1
  51. package/package.json +13 -12
package/README.md CHANGED
@@ -113,6 +113,8 @@ curl -s https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/refs/head
113
113
 
114
114
  **Note**: Use the published package and binary name `oh-my-opencode`. Inside `opencode.json`, the compatibility layer now prefers the plugin entry `oh-my-openagent`, while legacy `oh-my-opencode` entries still load with a warning. Plugin config files still commonly use `oh-my-opencode.json` or `oh-my-opencode.jsonc`, and both legacy and renamed basenames are recognized during the transition.
115
115
 
116
+ Anonymous telemetry is enabled by default to help improve install and runtime reliability. It uses PostHog with a hashed installation identifier, never the raw hostname, and can be disabled with `OMO_SEND_ANONYMOUS_TELEMETRY=0` or `OMO_DISABLE_POSTHOG=1`. See [Privacy Policy](docs/legal/privacy-policy.md) and [Terms of Service](docs/legal/terms-of-service.md).
117
+
116
118
  ---
117
119
 
118
120
  ## Skip This README
@@ -0,0 +1,2 @@
1
+ export declare const GPT_APPLY_PATCH_GUIDANCE = "Use the `edit` and `write` tools for file changes. Do not use `apply_patch` on GPT models - it is unreliable here and can hang during verification.";
2
+ export declare function getGptApplyPatchPermission(model: string): Record<string, "deny">;
@@ -1,4 +1,3 @@
1
- /** GPT-5.3 Codex optimized Hephaestus prompt */
2
1
  import type { AgentConfig } from "@opencode-ai/sdk";
3
2
  import type { AvailableAgent, AvailableTool, AvailableSkill, AvailableCategory } from "../dynamic-agent-prompt-builder";
4
3
  /**
@@ -1,3 +1,16 @@
1
1
  import type { CheckResult, SystemInfo } from "../types";
2
- export declare function gatherSystemInfo(): Promise<SystemInfo>;
3
- export declare function checkSystem(): Promise<CheckResult>;
2
+ import { findOpenCodeBinary, getOpenCodeVersion, compareVersions } from "./system-binary";
3
+ import { getPluginInfo } from "./system-plugin";
4
+ import { getLatestPluginVersion, getLoadedPluginVersion, getSuggestedInstallTag } from "./system-loaded-version";
5
+ interface SystemCheckDeps {
6
+ findOpenCodeBinary: typeof findOpenCodeBinary;
7
+ getOpenCodeVersion: typeof getOpenCodeVersion;
8
+ compareVersions: typeof compareVersions;
9
+ getPluginInfo: typeof getPluginInfo;
10
+ getLoadedPluginVersion: typeof getLoadedPluginVersion;
11
+ getLatestPluginVersion: typeof getLatestPluginVersion;
12
+ getSuggestedInstallTag: typeof getSuggestedInstallTag;
13
+ }
14
+ export declare function gatherSystemInfo(deps?: SystemCheckDeps): Promise<SystemInfo>;
15
+ export declare function checkSystem(deps?: SystemCheckDeps): Promise<CheckResult>;
16
+ export {};
@@ -25,5 +25,5 @@ export declare const EXIT_CODES: {
25
25
  readonly FAILURE: 1;
26
26
  };
27
27
  export declare const MIN_OPENCODE_VERSION = "1.4.0";
28
- export declare const PACKAGE_NAME = "oh-my-openagent";
28
+ export declare const PACKAGE_NAME = "oh-my-opencode";
29
29
  export declare const OPENCODE_BINARIES: readonly ["opencode", "opencode-desktop"];
@@ -0,0 +1,8 @@
1
+ import type { SpawnOptions } from "../../shared/spawn-with-windows-hide";
2
+ export interface SpawnWithTimeoutResult {
3
+ stdout: string;
4
+ stderr: string;
5
+ exitCode: number;
6
+ timedOut: boolean;
7
+ }
8
+ export declare function spawnWithTimeout(command: string[], options: SpawnOptions, timeoutMs?: number): Promise<SpawnWithTimeoutResult>;