oh-my-opencode-gpt-slim 0.0.3 → 0.0.4
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.zh-cn.md +2 -7
- package/dist/agents/sisyphus-junior/gpt-5-3-codex.d.ts +0 -7
- package/dist/agents/sisyphus-junior/gpt.d.ts +0 -8
- package/dist/cli/index.js +14 -37
- package/dist/config/schema/hooks.d.ts +0 -1
- package/dist/create-hooks.d.ts +0 -1
- package/dist/index.js +15 -60
- package/package.json +12 -12
package/README.zh-cn.md
CHANGED
|
@@ -133,7 +133,7 @@ Read this and tell me why it's not just another boilerplate: https://raw.githubu
|
|
|
133
133
|
|
|
134
134
|
| | 特性 | 功能说明 |
|
|
135
135
|
| :---: | :-------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
136
|
-
| 🤖 | **自律军团 (Discipline Agents)** | Sisyphus 负责调度
|
|
136
|
+
| 🤖 | **自律军团 (Discipline Agents)** | Sisyphus 负责调度 Oracle、Librarian、Explore 以及其他专长智能体。一支完整的 AI 开发团队并行工作。 |
|
|
137
137
|
| ⚡ | **`ultrawork` / `ulw`** | 一键触发,所有智能体出动。任务完成前绝不罢休。 |
|
|
138
138
|
| 🚪 | **[IntentGate 意图门](https://factory.ai/news/terminal-bench)** | 真正行动前,先分析用户的真实意图。彻底告别被字面意思误导的 AI 废话。 |
|
|
139
139
|
| 🔗 | **基于哈希的编辑工具** | 每次修改都通过 `LINE#ID` 内容哈希验证、0% 错误修改。灵感来自 [oh-my-pi](https://github.com/can1357/oh-my-pi)。[马具问题 →](https://blog.can.ac/2026/02/12/the-harness-problem/) |
|
|
@@ -153,20 +153,15 @@ Read this and tell me why it's not just another boilerplate: https://raw.githubu
|
|
|
153
153
|
|
|
154
154
|
<table><tr>
|
|
155
155
|
<td align="center"><img src=".github/assets/sisyphus.png" height="300" /></td>
|
|
156
|
-
<td align="center"><img src=".github/assets/hephaestus.png" height="300" /></td>
|
|
157
156
|
</tr></table>
|
|
158
157
|
|
|
159
158
|
**Sisyphus** (`claude-opus-4-6` / **`kimi-k2.5`** / **`glm-5`**) 是你的主指挥官。他负责制定计划、分配任务给专家团队,并以极其激进的并行策略推动任务直至完成。他从不半途而废。
|
|
160
159
|
|
|
161
|
-
**Hephaestus** (`gpt-5.3-codex`) 是你的自主深度工作者。你只需要给他目标,不要给他具体做法。他会自动探索代码库模式,从头到尾独立执行任务,绝不会中途要你当保姆。*名副其实的正牌工匠。*
|
|
162
|
-
|
|
163
160
|
**Prometheus** (`claude-opus-4-6` / **`kimi-k2.5`** / **`glm-5`**) 是你的战略规划师。他通过访谈模式,在动一行代码之前,先通过提问确定范围并构建详尽的执行计划。
|
|
164
161
|
|
|
165
162
|
每一个 Agent 都针对其底层模型的特点进行了专门调优。你无需手动来回切换模型。[阅读背景设定了解更多 →](docs/guide/overview.md)
|
|
166
163
|
|
|
167
|
-
>
|
|
168
|
-
>
|
|
169
|
-
> 我们在 Opus 上运行得最好,但仅仅使用 Kimi K2.5 + GPT-5.3 Codex 就足以碾压原版的 Claude Code。完全不需要配置。
|
|
164
|
+
> 我们在 Opus 上运行得最好,但仅仅使用 Kimi K2.5 + GPT-5.4 也足以碾压原版的 Claude Code。完全不需要配置。
|
|
170
165
|
|
|
171
166
|
### 智能体调度机制
|
|
172
167
|
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GPT-5.3-Codex Optimized Sisyphus-Junior System Prompt
|
|
3
|
-
*
|
|
4
|
-
* Hephaestus-style prompt adapted for a focused executor:
|
|
5
|
-
* - Same autonomy, reporting, parallelism, and tool usage patterns
|
|
6
|
-
* - CAN spawn explore/librarian via call_omo_agent for research
|
|
7
|
-
*/
|
|
8
1
|
export declare function buildGpt53CodexSisyphusJuniorPrompt(useTaskSystem: boolean, promptAppend?: string): string;
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generic GPT Sisyphus-Junior System Prompt
|
|
3
|
-
*
|
|
4
|
-
* Hephaestus-style prompt adapted for a focused executor:
|
|
5
|
-
* - Same autonomy, reporting, parallelism, and tool usage patterns
|
|
6
|
-
* - CAN spawn explore/librarian via call_omo_agent for research
|
|
7
|
-
* - Used as fallback for GPT models without a model-specific prompt
|
|
8
|
-
*/
|
|
9
1
|
export declare function buildGptSisyphusJuniorPrompt(useTaskSystem: boolean, promptAppend?: string): string;
|
package/dist/cli/index.js
CHANGED
|
@@ -2145,7 +2145,7 @@ var package_default;
|
|
|
2145
2145
|
var init_package = __esm(() => {
|
|
2146
2146
|
package_default = {
|
|
2147
2147
|
name: "oh-my-opencode-gpt-slim",
|
|
2148
|
-
version: "0.0.
|
|
2148
|
+
version: "0.0.4",
|
|
2149
2149
|
description: "GPT-optimized lean fork of oh-my-openagent \u2014 33 hooks removed, 5 tools removed, Sisyphus prompt rewritten based on OpenAI Codex prompt.md",
|
|
2150
2150
|
main: "dist/index.js",
|
|
2151
2151
|
types: "dist/index.d.ts",
|
|
@@ -2223,17 +2223,17 @@ var init_package = __esm(() => {
|
|
|
2223
2223
|
typescript: "^5.7.3"
|
|
2224
2224
|
},
|
|
2225
2225
|
optionalDependencies: {
|
|
2226
|
-
"oh-my-opencode-gpt-slim-darwin-arm64": "0.0.
|
|
2227
|
-
"oh-my-opencode-gpt-slim-darwin-x64": "0.0.
|
|
2228
|
-
"oh-my-opencode-gpt-slim-darwin-x64-baseline": "0.0.
|
|
2229
|
-
"oh-my-opencode-gpt-slim-linux-arm64": "0.0.
|
|
2230
|
-
"oh-my-opencode-gpt-slim-linux-arm64-musl": "0.0.
|
|
2231
|
-
"oh-my-opencode-gpt-slim-linux-x64": "0.0.
|
|
2232
|
-
"oh-my-opencode-gpt-slim-linux-x64-baseline": "0.0.
|
|
2233
|
-
"oh-my-opencode-gpt-slim-linux-x64-musl": "0.0.
|
|
2234
|
-
"oh-my-opencode-gpt-slim-linux-x64-musl-baseline": "0.0.
|
|
2235
|
-
"oh-my-opencode-gpt-slim-windows-x64": "0.0.
|
|
2236
|
-
"oh-my-opencode-gpt-slim-windows-x64-baseline": "0.0.
|
|
2226
|
+
"oh-my-opencode-gpt-slim-darwin-arm64": "0.0.4",
|
|
2227
|
+
"oh-my-opencode-gpt-slim-darwin-x64": "0.0.4",
|
|
2228
|
+
"oh-my-opencode-gpt-slim-darwin-x64-baseline": "0.0.4",
|
|
2229
|
+
"oh-my-opencode-gpt-slim-linux-arm64": "0.0.4",
|
|
2230
|
+
"oh-my-opencode-gpt-slim-linux-arm64-musl": "0.0.4",
|
|
2231
|
+
"oh-my-opencode-gpt-slim-linux-x64": "0.0.4",
|
|
2232
|
+
"oh-my-opencode-gpt-slim-linux-x64-baseline": "0.0.4",
|
|
2233
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl": "0.0.4",
|
|
2234
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl-baseline": "0.0.4",
|
|
2235
|
+
"oh-my-opencode-gpt-slim-windows-x64": "0.0.4",
|
|
2236
|
+
"oh-my-opencode-gpt-slim-windows-x64-baseline": "0.0.4"
|
|
2237
2237
|
},
|
|
2238
2238
|
overrides: {
|
|
2239
2239
|
"@opencode-ai/sdk": "^1.2.17"
|
|
@@ -6523,17 +6523,6 @@ var init_model_requirements = __esm(() => {
|
|
|
6523
6523
|
],
|
|
6524
6524
|
requiresAnyModel: true
|
|
6525
6525
|
},
|
|
6526
|
-
hephaestus: {
|
|
6527
|
-
fallbackChain: [
|
|
6528
|
-
{
|
|
6529
|
-
providers: ["openai", "venice", "opencode"],
|
|
6530
|
-
model: "gpt-5.3-codex",
|
|
6531
|
-
variant: "medium"
|
|
6532
|
-
},
|
|
6533
|
-
{ providers: ["github-copilot"], model: "gpt-5.4", variant: "medium" }
|
|
6534
|
-
],
|
|
6535
|
-
requiresProvider: ["openai", "github-copilot", "venice", "opencode"]
|
|
6536
|
-
},
|
|
6537
6526
|
oracle: {
|
|
6538
6527
|
fallbackChain: [
|
|
6539
6528
|
{
|
|
@@ -6922,7 +6911,6 @@ var AGENT_DISPLAY_NAMES, REVERSE_DISPLAY_NAMES;
|
|
|
6922
6911
|
var init_agent_display_names = __esm(() => {
|
|
6923
6912
|
AGENT_DISPLAY_NAMES = {
|
|
6924
6913
|
sisyphus: "Sisyphus (Ultraworker)",
|
|
6925
|
-
hephaestus: "Hephaestus (Deep Agent)",
|
|
6926
6914
|
prometheus: "Prometheus (Plan Builder)",
|
|
6927
6915
|
atlas: "Atlas (Plan Executor)",
|
|
6928
6916
|
"sisyphus-junior": "Sisyphus-Junior",
|
|
@@ -7339,16 +7327,6 @@ var init_model_fallback_requirements = __esm(() => {
|
|
|
7339
7327
|
],
|
|
7340
7328
|
requiresAnyModel: true
|
|
7341
7329
|
},
|
|
7342
|
-
hephaestus: {
|
|
7343
|
-
fallbackChain: [
|
|
7344
|
-
{
|
|
7345
|
-
providers: ["openai", "opencode"],
|
|
7346
|
-
model: "gpt-5.3-codex",
|
|
7347
|
-
variant: "medium"
|
|
7348
|
-
}
|
|
7349
|
-
],
|
|
7350
|
-
requiresProvider: ["openai", "opencode"]
|
|
7351
|
-
},
|
|
7352
7330
|
oracle: {
|
|
7353
7331
|
fallbackChain: [
|
|
7354
7332
|
{
|
|
@@ -24083,7 +24061,6 @@ var HookNameSchema = exports_external.enum([
|
|
|
24083
24061
|
"prometheus-md-only",
|
|
24084
24062
|
"sisyphus-junior-notepad",
|
|
24085
24063
|
"no-sisyphus-gpt",
|
|
24086
|
-
"no-hephaestus-non-gpt",
|
|
24087
24064
|
"start-work",
|
|
24088
24065
|
"atlas",
|
|
24089
24066
|
"unstable-agent-babysitter",
|
|
@@ -26074,7 +26051,7 @@ async function executeOnCompleteHook(options) {
|
|
|
26074
26051
|
// src/cli/run/agent-resolver.ts
|
|
26075
26052
|
init_agent_display_names();
|
|
26076
26053
|
var import_picocolors12 = __toESM(require_picocolors(), 1);
|
|
26077
|
-
var CORE_AGENT_ORDER = ["sisyphus", "
|
|
26054
|
+
var CORE_AGENT_ORDER = ["sisyphus", "prometheus", "atlas"];
|
|
26078
26055
|
var DEFAULT_AGENT = "sisyphus";
|
|
26079
26056
|
var normalizeAgentName = (agent) => {
|
|
26080
26057
|
if (!agent)
|
|
@@ -28962,7 +28939,7 @@ Agent resolution order:
|
|
|
28962
28939
|
4) Sisyphus (fallback)
|
|
28963
28940
|
|
|
28964
28941
|
Available core agents:
|
|
28965
|
-
Sisyphus,
|
|
28942
|
+
Sisyphus, Prometheus, Atlas
|
|
28966
28943
|
|
|
28967
28944
|
Unlike 'opencode run', this command waits until:
|
|
28968
28945
|
- All todos are completed or cancelled
|
|
@@ -37,7 +37,6 @@ export declare const HookNameSchema: z.ZodEnum<{
|
|
|
37
37
|
"prometheus-md-only": "prometheus-md-only";
|
|
38
38
|
"sisyphus-junior-notepad": "sisyphus-junior-notepad";
|
|
39
39
|
"no-sisyphus-gpt": "no-sisyphus-gpt";
|
|
40
|
-
"no-hephaestus-non-gpt": "no-hephaestus-non-gpt";
|
|
41
40
|
"unstable-agent-babysitter": "unstable-agent-babysitter";
|
|
42
41
|
"task-resume-info": "task-resume-info";
|
|
43
42
|
"stop-continuation-guard": "stop-continuation-guard";
|
package/dist/create-hooks.d.ts
CHANGED
|
@@ -57,7 +57,6 @@ export declare function createHooks(args: {
|
|
|
57
57
|
claudeCodeHooks: GenericAsyncHookMap | null;
|
|
58
58
|
autoSlashCommand: GenericAsyncHookMap | null;
|
|
59
59
|
noSisyphusGpt: GenericAsyncHookMap | null;
|
|
60
|
-
noHephaestusNonGpt: GenericAsyncHookMap | null;
|
|
61
60
|
startWork: GenericAsyncHookMap | null;
|
|
62
61
|
ralphLoop: RalphLoopHook;
|
|
63
62
|
sessionNotification: SessionNotificationHook;
|
package/dist/index.js
CHANGED
|
@@ -12388,7 +12388,7 @@ function initConfigContext(binary, version) {
|
|
|
12388
12388
|
// package.json
|
|
12389
12389
|
var package_default = {
|
|
12390
12390
|
name: "oh-my-opencode-gpt-slim",
|
|
12391
|
-
version: "0.0.
|
|
12391
|
+
version: "0.0.4",
|
|
12392
12392
|
description: "GPT-optimized lean fork of oh-my-openagent \u2014 33 hooks removed, 5 tools removed, Sisyphus prompt rewritten based on OpenAI Codex prompt.md",
|
|
12393
12393
|
main: "dist/index.js",
|
|
12394
12394
|
types: "dist/index.d.ts",
|
|
@@ -12466,17 +12466,17 @@ var package_default = {
|
|
|
12466
12466
|
typescript: "^5.7.3"
|
|
12467
12467
|
},
|
|
12468
12468
|
optionalDependencies: {
|
|
12469
|
-
"oh-my-opencode-gpt-slim-darwin-arm64": "0.0.
|
|
12470
|
-
"oh-my-opencode-gpt-slim-darwin-x64": "0.0.
|
|
12471
|
-
"oh-my-opencode-gpt-slim-darwin-x64-baseline": "0.0.
|
|
12472
|
-
"oh-my-opencode-gpt-slim-linux-arm64": "0.0.
|
|
12473
|
-
"oh-my-opencode-gpt-slim-linux-arm64-musl": "0.0.
|
|
12474
|
-
"oh-my-opencode-gpt-slim-linux-x64": "0.0.
|
|
12475
|
-
"oh-my-opencode-gpt-slim-linux-x64-baseline": "0.0.
|
|
12476
|
-
"oh-my-opencode-gpt-slim-linux-x64-musl": "0.0.
|
|
12477
|
-
"oh-my-opencode-gpt-slim-linux-x64-musl-baseline": "0.0.
|
|
12478
|
-
"oh-my-opencode-gpt-slim-windows-x64": "0.0.
|
|
12479
|
-
"oh-my-opencode-gpt-slim-windows-x64-baseline": "0.0.
|
|
12469
|
+
"oh-my-opencode-gpt-slim-darwin-arm64": "0.0.4",
|
|
12470
|
+
"oh-my-opencode-gpt-slim-darwin-x64": "0.0.4",
|
|
12471
|
+
"oh-my-opencode-gpt-slim-darwin-x64-baseline": "0.0.4",
|
|
12472
|
+
"oh-my-opencode-gpt-slim-linux-arm64": "0.0.4",
|
|
12473
|
+
"oh-my-opencode-gpt-slim-linux-arm64-musl": "0.0.4",
|
|
12474
|
+
"oh-my-opencode-gpt-slim-linux-x64": "0.0.4",
|
|
12475
|
+
"oh-my-opencode-gpt-slim-linux-x64-baseline": "0.0.4",
|
|
12476
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl": "0.0.4",
|
|
12477
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl-baseline": "0.0.4",
|
|
12478
|
+
"oh-my-opencode-gpt-slim-windows-x64": "0.0.4",
|
|
12479
|
+
"oh-my-opencode-gpt-slim-windows-x64-baseline": "0.0.4"
|
|
12480
12480
|
},
|
|
12481
12481
|
overrides: {
|
|
12482
12482
|
"@opencode-ai/sdk": "^1.2.17"
|
|
@@ -16963,17 +16963,6 @@ var AGENT_MODEL_REQUIREMENTS = {
|
|
|
16963
16963
|
],
|
|
16964
16964
|
requiresAnyModel: true
|
|
16965
16965
|
},
|
|
16966
|
-
hephaestus: {
|
|
16967
|
-
fallbackChain: [
|
|
16968
|
-
{
|
|
16969
|
-
providers: ["openai", "venice", "opencode"],
|
|
16970
|
-
model: "gpt-5.3-codex",
|
|
16971
|
-
variant: "medium"
|
|
16972
|
-
},
|
|
16973
|
-
{ providers: ["github-copilot"], model: "gpt-5.4", variant: "medium" }
|
|
16974
|
-
],
|
|
16975
|
-
requiresProvider: ["openai", "github-copilot", "venice", "opencode"]
|
|
16976
|
-
},
|
|
16977
16966
|
oracle: {
|
|
16978
16967
|
fallbackChain: [
|
|
16979
16968
|
{
|
|
@@ -17987,7 +17976,6 @@ init_logger();
|
|
|
17987
17976
|
// src/shared/agent-display-names.ts
|
|
17988
17977
|
var AGENT_DISPLAY_NAMES = {
|
|
17989
17978
|
sisyphus: "Sisyphus (Ultraworker)",
|
|
17990
|
-
hephaestus: "Hephaestus (Deep Agent)",
|
|
17991
17979
|
prometheus: "Prometheus (Plan Builder)",
|
|
17992
17980
|
atlas: "Atlas (Plan Executor)",
|
|
17993
17981
|
"sisyphus-junior": "Sisyphus-Junior",
|
|
@@ -33975,7 +33963,6 @@ var HookNameSchema = exports_external.enum([
|
|
|
33975
33963
|
"prometheus-md-only",
|
|
33976
33964
|
"sisyphus-junior-notepad",
|
|
33977
33965
|
"no-sisyphus-gpt",
|
|
33978
|
-
"no-hephaestus-non-gpt",
|
|
33979
33966
|
"start-work",
|
|
33980
33967
|
"atlas",
|
|
33981
33968
|
"unstable-agent-babysitter",
|
|
@@ -34287,7 +34274,6 @@ var AGENT_NAMES = [
|
|
|
34287
34274
|
"atlas",
|
|
34288
34275
|
"metis",
|
|
34289
34276
|
"momus",
|
|
34290
|
-
"hephaestus",
|
|
34291
34277
|
"sisyphus-junior",
|
|
34292
34278
|
"build",
|
|
34293
34279
|
"plan",
|
|
@@ -38031,7 +38017,6 @@ var removedHooks = {
|
|
|
38031
38017
|
claudeCodeHooks: null,
|
|
38032
38018
|
autoSlashCommand: null,
|
|
38033
38019
|
noSisyphusGpt: null,
|
|
38034
|
-
noHephaestusNonGpt: null,
|
|
38035
38020
|
startWork: null,
|
|
38036
38021
|
ralphLoop: null,
|
|
38037
38022
|
sessionNotification: null,
|
|
@@ -54104,7 +54089,6 @@ function loadProjectAgents(directory) {
|
|
|
54104
54089
|
// src/plugin-handlers/agent-priority-order.ts
|
|
54105
54090
|
var CORE_AGENT_ORDER = [
|
|
54106
54091
|
getAgentDisplayName("sisyphus"),
|
|
54107
|
-
getAgentDisplayName("hephaestus"),
|
|
54108
54092
|
getAgentDisplayName("prometheus"),
|
|
54109
54093
|
getAgentDisplayName("atlas")
|
|
54110
54094
|
];
|
|
@@ -58364,16 +58348,6 @@ function applyToolConfig(params) {
|
|
|
58364
58348
|
...denyTodoTools
|
|
58365
58349
|
};
|
|
58366
58350
|
}
|
|
58367
|
-
const hephaestus = agentByKey(params.agentResult, "hephaestus");
|
|
58368
|
-
if (hephaestus) {
|
|
58369
|
-
hephaestus.permission = {
|
|
58370
|
-
...hephaestus.permission,
|
|
58371
|
-
call_omo_agent: "deny",
|
|
58372
|
-
task: "allow",
|
|
58373
|
-
question: questionPermission,
|
|
58374
|
-
...denyTodoTools
|
|
58375
|
-
};
|
|
58376
|
-
}
|
|
58377
58351
|
const prometheus = agentByKey(params.agentResult, "prometheus");
|
|
58378
58352
|
if (prometheus) {
|
|
58379
58353
|
prometheus.permission = {
|
|
@@ -79000,7 +78974,6 @@ function createChatMessageHandler2(args) {
|
|
|
79000
78974
|
await hooks2.claudeCodeHooks?.["chat.message"]?.(input, output);
|
|
79001
78975
|
await hooks2.autoSlashCommand?.["chat.message"]?.(input, output);
|
|
79002
78976
|
await hooks2.noSisyphusGpt?.["chat.message"]?.(input, output);
|
|
79003
|
-
await hooks2.noHephaestusNonGpt?.["chat.message"]?.(input, output);
|
|
79004
78977
|
if (hooks2.startWork && isStartWorkHookOutput(output)) {
|
|
79005
78978
|
await hooks2.startWork["chat.message"]?.(input, output);
|
|
79006
78979
|
}
|
|
@@ -79318,13 +79291,7 @@ function createEventHandler2(args) {
|
|
|
79318
79291
|
if (shouldRetryError(errorInfo)) {
|
|
79319
79292
|
let agentName = agent ?? getSessionAgent(sessionID);
|
|
79320
79293
|
if (!agentName && sessionID === getMainSessionID()) {
|
|
79321
|
-
|
|
79322
|
-
agentName = "sisyphus";
|
|
79323
|
-
} else if (errorMessage.includes("gpt-5")) {
|
|
79324
|
-
agentName = "hephaestus";
|
|
79325
|
-
} else {
|
|
79326
|
-
agentName = "sisyphus";
|
|
79327
|
-
}
|
|
79294
|
+
agentName = "sisyphus";
|
|
79328
79295
|
}
|
|
79329
79296
|
if (agentName) {
|
|
79330
79297
|
const currentProvider = info?.providerID ?? "opencode";
|
|
@@ -79361,13 +79328,7 @@ function createEventHandler2(args) {
|
|
|
79361
79328
|
if (shouldRetryError(errorInfo)) {
|
|
79362
79329
|
let agentName = getSessionAgent(sessionID);
|
|
79363
79330
|
if (!agentName && sessionID === getMainSessionID()) {
|
|
79364
|
-
|
|
79365
|
-
agentName = "sisyphus";
|
|
79366
|
-
} else if (retryMessage.includes("gpt-5")) {
|
|
79367
|
-
agentName = "hephaestus";
|
|
79368
|
-
} else {
|
|
79369
|
-
agentName = "sisyphus";
|
|
79370
|
-
}
|
|
79331
|
+
agentName = "sisyphus";
|
|
79371
79332
|
}
|
|
79372
79333
|
if (agentName) {
|
|
79373
79334
|
const parsed = extractProviderModelFromErrorMessage(retryMessage);
|
|
@@ -79412,13 +79373,7 @@ function createEventHandler2(args) {
|
|
|
79412
79373
|
} else if (sessionID && shouldRetryError(errorInfo) && !isRuntimeFallbackEnabled && isModelFallbackEnabled) {
|
|
79413
79374
|
let agentName = getSessionAgent(sessionID);
|
|
79414
79375
|
if (!agentName && sessionID === getMainSessionID()) {
|
|
79415
|
-
|
|
79416
|
-
agentName = "sisyphus";
|
|
79417
|
-
} else if (errorMessage.includes("gpt-5")) {
|
|
79418
|
-
agentName = "hephaestus";
|
|
79419
|
-
} else {
|
|
79420
|
-
agentName = "sisyphus";
|
|
79421
|
-
}
|
|
79376
|
+
agentName = "sisyphus";
|
|
79422
79377
|
}
|
|
79423
79378
|
if (agentName) {
|
|
79424
79379
|
const parsed = extractProviderModelFromErrorMessage(errorMessage);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oh-my-opencode-gpt-slim",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "GPT-optimized lean fork of oh-my-openagent — 33 hooks removed, 5 tools removed, Sisyphus prompt rewritten based on OpenAI Codex prompt.md",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -78,17 +78,17 @@
|
|
|
78
78
|
"typescript": "^5.7.3"
|
|
79
79
|
},
|
|
80
80
|
"optionalDependencies": {
|
|
81
|
-
"oh-my-opencode-gpt-slim-darwin-arm64": "0.0.
|
|
82
|
-
"oh-my-opencode-gpt-slim-darwin-x64": "0.0.
|
|
83
|
-
"oh-my-opencode-gpt-slim-darwin-x64-baseline": "0.0.
|
|
84
|
-
"oh-my-opencode-gpt-slim-linux-arm64": "0.0.
|
|
85
|
-
"oh-my-opencode-gpt-slim-linux-arm64-musl": "0.0.
|
|
86
|
-
"oh-my-opencode-gpt-slim-linux-x64": "0.0.
|
|
87
|
-
"oh-my-opencode-gpt-slim-linux-x64-baseline": "0.0.
|
|
88
|
-
"oh-my-opencode-gpt-slim-linux-x64-musl": "0.0.
|
|
89
|
-
"oh-my-opencode-gpt-slim-linux-x64-musl-baseline": "0.0.
|
|
90
|
-
"oh-my-opencode-gpt-slim-windows-x64": "0.0.
|
|
91
|
-
"oh-my-opencode-gpt-slim-windows-x64-baseline": "0.0.
|
|
81
|
+
"oh-my-opencode-gpt-slim-darwin-arm64": "0.0.4",
|
|
82
|
+
"oh-my-opencode-gpt-slim-darwin-x64": "0.0.4",
|
|
83
|
+
"oh-my-opencode-gpt-slim-darwin-x64-baseline": "0.0.4",
|
|
84
|
+
"oh-my-opencode-gpt-slim-linux-arm64": "0.0.4",
|
|
85
|
+
"oh-my-opencode-gpt-slim-linux-arm64-musl": "0.0.4",
|
|
86
|
+
"oh-my-opencode-gpt-slim-linux-x64": "0.0.4",
|
|
87
|
+
"oh-my-opencode-gpt-slim-linux-x64-baseline": "0.0.4",
|
|
88
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl": "0.0.4",
|
|
89
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl-baseline": "0.0.4",
|
|
90
|
+
"oh-my-opencode-gpt-slim-windows-x64": "0.0.4",
|
|
91
|
+
"oh-my-opencode-gpt-slim-windows-x64-baseline": "0.0.4"
|
|
92
92
|
},
|
|
93
93
|
"overrides": {
|
|
94
94
|
"@opencode-ai/sdk": "^1.2.17"
|