oh-my-opencode-gpt-slim 0.0.3 → 0.0.5
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 +12 -37
- package/dist/config/schema/hooks.d.ts +0 -1
- package/dist/create-hooks.d.ts +0 -1
- package/dist/index.js +13 -60
- package/package.json +10 -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.5",
|
|
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,15 @@ 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.3",
|
|
2236
|
-
"oh-my-opencode-gpt-slim-windows-x64-baseline": "0.0.3"
|
|
2226
|
+
"oh-my-opencode-gpt-slim-darwin-arm64": "0.0.5",
|
|
2227
|
+
"oh-my-opencode-gpt-slim-darwin-x64": "0.0.5",
|
|
2228
|
+
"oh-my-opencode-gpt-slim-darwin-x64-baseline": "0.0.5",
|
|
2229
|
+
"oh-my-opencode-gpt-slim-linux-arm64": "0.0.5",
|
|
2230
|
+
"oh-my-opencode-gpt-slim-linux-arm64-musl": "0.0.5",
|
|
2231
|
+
"oh-my-opencode-gpt-slim-linux-x64": "0.0.5",
|
|
2232
|
+
"oh-my-opencode-gpt-slim-linux-x64-baseline": "0.0.5",
|
|
2233
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl": "0.0.5",
|
|
2234
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl-baseline": "0.0.5"
|
|
2237
2235
|
},
|
|
2238
2236
|
overrides: {
|
|
2239
2237
|
"@opencode-ai/sdk": "^1.2.17"
|
|
@@ -6523,17 +6521,6 @@ var init_model_requirements = __esm(() => {
|
|
|
6523
6521
|
],
|
|
6524
6522
|
requiresAnyModel: true
|
|
6525
6523
|
},
|
|
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
6524
|
oracle: {
|
|
6538
6525
|
fallbackChain: [
|
|
6539
6526
|
{
|
|
@@ -6922,7 +6909,6 @@ var AGENT_DISPLAY_NAMES, REVERSE_DISPLAY_NAMES;
|
|
|
6922
6909
|
var init_agent_display_names = __esm(() => {
|
|
6923
6910
|
AGENT_DISPLAY_NAMES = {
|
|
6924
6911
|
sisyphus: "Sisyphus (Ultraworker)",
|
|
6925
|
-
hephaestus: "Hephaestus (Deep Agent)",
|
|
6926
6912
|
prometheus: "Prometheus (Plan Builder)",
|
|
6927
6913
|
atlas: "Atlas (Plan Executor)",
|
|
6928
6914
|
"sisyphus-junior": "Sisyphus-Junior",
|
|
@@ -7339,16 +7325,6 @@ var init_model_fallback_requirements = __esm(() => {
|
|
|
7339
7325
|
],
|
|
7340
7326
|
requiresAnyModel: true
|
|
7341
7327
|
},
|
|
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
7328
|
oracle: {
|
|
7353
7329
|
fallbackChain: [
|
|
7354
7330
|
{
|
|
@@ -24083,7 +24059,6 @@ var HookNameSchema = exports_external.enum([
|
|
|
24083
24059
|
"prometheus-md-only",
|
|
24084
24060
|
"sisyphus-junior-notepad",
|
|
24085
24061
|
"no-sisyphus-gpt",
|
|
24086
|
-
"no-hephaestus-non-gpt",
|
|
24087
24062
|
"start-work",
|
|
24088
24063
|
"atlas",
|
|
24089
24064
|
"unstable-agent-babysitter",
|
|
@@ -26074,7 +26049,7 @@ async function executeOnCompleteHook(options) {
|
|
|
26074
26049
|
// src/cli/run/agent-resolver.ts
|
|
26075
26050
|
init_agent_display_names();
|
|
26076
26051
|
var import_picocolors12 = __toESM(require_picocolors(), 1);
|
|
26077
|
-
var CORE_AGENT_ORDER = ["sisyphus", "
|
|
26052
|
+
var CORE_AGENT_ORDER = ["sisyphus", "prometheus", "atlas"];
|
|
26078
26053
|
var DEFAULT_AGENT = "sisyphus";
|
|
26079
26054
|
var normalizeAgentName = (agent) => {
|
|
26080
26055
|
if (!agent)
|
|
@@ -28962,7 +28937,7 @@ Agent resolution order:
|
|
|
28962
28937
|
4) Sisyphus (fallback)
|
|
28963
28938
|
|
|
28964
28939
|
Available core agents:
|
|
28965
|
-
Sisyphus,
|
|
28940
|
+
Sisyphus, Prometheus, Atlas
|
|
28966
28941
|
|
|
28967
28942
|
Unlike 'opencode run', this command waits until:
|
|
28968
28943
|
- 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.5",
|
|
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,15 @@ 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.3",
|
|
12479
|
-
"oh-my-opencode-gpt-slim-windows-x64-baseline": "0.0.3"
|
|
12469
|
+
"oh-my-opencode-gpt-slim-darwin-arm64": "0.0.5",
|
|
12470
|
+
"oh-my-opencode-gpt-slim-darwin-x64": "0.0.5",
|
|
12471
|
+
"oh-my-opencode-gpt-slim-darwin-x64-baseline": "0.0.5",
|
|
12472
|
+
"oh-my-opencode-gpt-slim-linux-arm64": "0.0.5",
|
|
12473
|
+
"oh-my-opencode-gpt-slim-linux-arm64-musl": "0.0.5",
|
|
12474
|
+
"oh-my-opencode-gpt-slim-linux-x64": "0.0.5",
|
|
12475
|
+
"oh-my-opencode-gpt-slim-linux-x64-baseline": "0.0.5",
|
|
12476
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl": "0.0.5",
|
|
12477
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl-baseline": "0.0.5"
|
|
12480
12478
|
},
|
|
12481
12479
|
overrides: {
|
|
12482
12480
|
"@opencode-ai/sdk": "^1.2.17"
|
|
@@ -16963,17 +16961,6 @@ var AGENT_MODEL_REQUIREMENTS = {
|
|
|
16963
16961
|
],
|
|
16964
16962
|
requiresAnyModel: true
|
|
16965
16963
|
},
|
|
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
16964
|
oracle: {
|
|
16978
16965
|
fallbackChain: [
|
|
16979
16966
|
{
|
|
@@ -17987,7 +17974,6 @@ init_logger();
|
|
|
17987
17974
|
// src/shared/agent-display-names.ts
|
|
17988
17975
|
var AGENT_DISPLAY_NAMES = {
|
|
17989
17976
|
sisyphus: "Sisyphus (Ultraworker)",
|
|
17990
|
-
hephaestus: "Hephaestus (Deep Agent)",
|
|
17991
17977
|
prometheus: "Prometheus (Plan Builder)",
|
|
17992
17978
|
atlas: "Atlas (Plan Executor)",
|
|
17993
17979
|
"sisyphus-junior": "Sisyphus-Junior",
|
|
@@ -33975,7 +33961,6 @@ var HookNameSchema = exports_external.enum([
|
|
|
33975
33961
|
"prometheus-md-only",
|
|
33976
33962
|
"sisyphus-junior-notepad",
|
|
33977
33963
|
"no-sisyphus-gpt",
|
|
33978
|
-
"no-hephaestus-non-gpt",
|
|
33979
33964
|
"start-work",
|
|
33980
33965
|
"atlas",
|
|
33981
33966
|
"unstable-agent-babysitter",
|
|
@@ -34287,7 +34272,6 @@ var AGENT_NAMES = [
|
|
|
34287
34272
|
"atlas",
|
|
34288
34273
|
"metis",
|
|
34289
34274
|
"momus",
|
|
34290
|
-
"hephaestus",
|
|
34291
34275
|
"sisyphus-junior",
|
|
34292
34276
|
"build",
|
|
34293
34277
|
"plan",
|
|
@@ -38031,7 +38015,6 @@ var removedHooks = {
|
|
|
38031
38015
|
claudeCodeHooks: null,
|
|
38032
38016
|
autoSlashCommand: null,
|
|
38033
38017
|
noSisyphusGpt: null,
|
|
38034
|
-
noHephaestusNonGpt: null,
|
|
38035
38018
|
startWork: null,
|
|
38036
38019
|
ralphLoop: null,
|
|
38037
38020
|
sessionNotification: null,
|
|
@@ -54104,7 +54087,6 @@ function loadProjectAgents(directory) {
|
|
|
54104
54087
|
// src/plugin-handlers/agent-priority-order.ts
|
|
54105
54088
|
var CORE_AGENT_ORDER = [
|
|
54106
54089
|
getAgentDisplayName("sisyphus"),
|
|
54107
|
-
getAgentDisplayName("hephaestus"),
|
|
54108
54090
|
getAgentDisplayName("prometheus"),
|
|
54109
54091
|
getAgentDisplayName("atlas")
|
|
54110
54092
|
];
|
|
@@ -58364,16 +58346,6 @@ function applyToolConfig(params) {
|
|
|
58364
58346
|
...denyTodoTools
|
|
58365
58347
|
};
|
|
58366
58348
|
}
|
|
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
58349
|
const prometheus = agentByKey(params.agentResult, "prometheus");
|
|
58378
58350
|
if (prometheus) {
|
|
58379
58351
|
prometheus.permission = {
|
|
@@ -79000,7 +78972,6 @@ function createChatMessageHandler2(args) {
|
|
|
79000
78972
|
await hooks2.claudeCodeHooks?.["chat.message"]?.(input, output);
|
|
79001
78973
|
await hooks2.autoSlashCommand?.["chat.message"]?.(input, output);
|
|
79002
78974
|
await hooks2.noSisyphusGpt?.["chat.message"]?.(input, output);
|
|
79003
|
-
await hooks2.noHephaestusNonGpt?.["chat.message"]?.(input, output);
|
|
79004
78975
|
if (hooks2.startWork && isStartWorkHookOutput(output)) {
|
|
79005
78976
|
await hooks2.startWork["chat.message"]?.(input, output);
|
|
79006
78977
|
}
|
|
@@ -79318,13 +79289,7 @@ function createEventHandler2(args) {
|
|
|
79318
79289
|
if (shouldRetryError(errorInfo)) {
|
|
79319
79290
|
let agentName = agent ?? getSessionAgent(sessionID);
|
|
79320
79291
|
if (!agentName && sessionID === getMainSessionID()) {
|
|
79321
|
-
|
|
79322
|
-
agentName = "sisyphus";
|
|
79323
|
-
} else if (errorMessage.includes("gpt-5")) {
|
|
79324
|
-
agentName = "hephaestus";
|
|
79325
|
-
} else {
|
|
79326
|
-
agentName = "sisyphus";
|
|
79327
|
-
}
|
|
79292
|
+
agentName = "sisyphus";
|
|
79328
79293
|
}
|
|
79329
79294
|
if (agentName) {
|
|
79330
79295
|
const currentProvider = info?.providerID ?? "opencode";
|
|
@@ -79361,13 +79326,7 @@ function createEventHandler2(args) {
|
|
|
79361
79326
|
if (shouldRetryError(errorInfo)) {
|
|
79362
79327
|
let agentName = getSessionAgent(sessionID);
|
|
79363
79328
|
if (!agentName && sessionID === getMainSessionID()) {
|
|
79364
|
-
|
|
79365
|
-
agentName = "sisyphus";
|
|
79366
|
-
} else if (retryMessage.includes("gpt-5")) {
|
|
79367
|
-
agentName = "hephaestus";
|
|
79368
|
-
} else {
|
|
79369
|
-
agentName = "sisyphus";
|
|
79370
|
-
}
|
|
79329
|
+
agentName = "sisyphus";
|
|
79371
79330
|
}
|
|
79372
79331
|
if (agentName) {
|
|
79373
79332
|
const parsed = extractProviderModelFromErrorMessage(retryMessage);
|
|
@@ -79412,13 +79371,7 @@ function createEventHandler2(args) {
|
|
|
79412
79371
|
} else if (sessionID && shouldRetryError(errorInfo) && !isRuntimeFallbackEnabled && isModelFallbackEnabled) {
|
|
79413
79372
|
let agentName = getSessionAgent(sessionID);
|
|
79414
79373
|
if (!agentName && sessionID === getMainSessionID()) {
|
|
79415
|
-
|
|
79416
|
-
agentName = "sisyphus";
|
|
79417
|
-
} else if (errorMessage.includes("gpt-5")) {
|
|
79418
|
-
agentName = "hephaestus";
|
|
79419
|
-
} else {
|
|
79420
|
-
agentName = "sisyphus";
|
|
79421
|
-
}
|
|
79374
|
+
agentName = "sisyphus";
|
|
79422
79375
|
}
|
|
79423
79376
|
if (agentName) {
|
|
79424
79377
|
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.5",
|
|
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,15 @@
|
|
|
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.3",
|
|
91
|
-
"oh-my-opencode-gpt-slim-windows-x64-baseline": "0.0.3"
|
|
81
|
+
"oh-my-opencode-gpt-slim-darwin-arm64": "0.0.5",
|
|
82
|
+
"oh-my-opencode-gpt-slim-darwin-x64": "0.0.5",
|
|
83
|
+
"oh-my-opencode-gpt-slim-darwin-x64-baseline": "0.0.5",
|
|
84
|
+
"oh-my-opencode-gpt-slim-linux-arm64": "0.0.5",
|
|
85
|
+
"oh-my-opencode-gpt-slim-linux-arm64-musl": "0.0.5",
|
|
86
|
+
"oh-my-opencode-gpt-slim-linux-x64": "0.0.5",
|
|
87
|
+
"oh-my-opencode-gpt-slim-linux-x64-baseline": "0.0.5",
|
|
88
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl": "0.0.5",
|
|
89
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl-baseline": "0.0.5"
|
|
92
90
|
},
|
|
93
91
|
"overrides": {
|
|
94
92
|
"@opencode-ai/sdk": "^1.2.17"
|