oh-my-opencode-gpt-slim 0.1.10 → 0.1.11
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/dist/cli/index.js +10 -10
- package/dist/index.js +29 -20
- package/dist/plugin/ultrawork-mode.d.ts +1 -0
- package/package.json +10 -10
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.1.
|
|
2148
|
+
version: "0.1.11",
|
|
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,15 +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.1.
|
|
2227
|
-
"oh-my-opencode-gpt-slim-darwin-x64": "0.1.
|
|
2228
|
-
"oh-my-opencode-gpt-slim-darwin-x64-baseline": "0.1.
|
|
2229
|
-
"oh-my-opencode-gpt-slim-linux-arm64": "0.1.
|
|
2230
|
-
"oh-my-opencode-gpt-slim-linux-arm64-musl": "0.1.
|
|
2231
|
-
"oh-my-opencode-gpt-slim-linux-x64": "0.1.
|
|
2232
|
-
"oh-my-opencode-gpt-slim-linux-x64-baseline": "0.1.
|
|
2233
|
-
"oh-my-opencode-gpt-slim-linux-x64-musl": "0.1.
|
|
2234
|
-
"oh-my-opencode-gpt-slim-linux-x64-musl-baseline": "0.1.
|
|
2226
|
+
"oh-my-opencode-gpt-slim-darwin-arm64": "0.1.11",
|
|
2227
|
+
"oh-my-opencode-gpt-slim-darwin-x64": "0.1.11",
|
|
2228
|
+
"oh-my-opencode-gpt-slim-darwin-x64-baseline": "0.1.11",
|
|
2229
|
+
"oh-my-opencode-gpt-slim-linux-arm64": "0.1.11",
|
|
2230
|
+
"oh-my-opencode-gpt-slim-linux-arm64-musl": "0.1.11",
|
|
2231
|
+
"oh-my-opencode-gpt-slim-linux-x64": "0.1.11",
|
|
2232
|
+
"oh-my-opencode-gpt-slim-linux-x64-baseline": "0.1.11",
|
|
2233
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl": "0.1.11",
|
|
2234
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl-baseline": "0.1.11"
|
|
2235
2235
|
},
|
|
2236
2236
|
overrides: {
|
|
2237
2237
|
"@opencode-ai/sdk": "^1.2.17"
|
package/dist/index.js
CHANGED
|
@@ -12308,7 +12308,7 @@ function initConfigContext(binary, version) {
|
|
|
12308
12308
|
// package.json
|
|
12309
12309
|
var package_default = {
|
|
12310
12310
|
name: "oh-my-opencode-gpt-slim",
|
|
12311
|
-
version: "0.1.
|
|
12311
|
+
version: "0.1.11",
|
|
12312
12312
|
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",
|
|
12313
12313
|
main: "dist/index.js",
|
|
12314
12314
|
types: "dist/index.d.ts",
|
|
@@ -12386,15 +12386,15 @@ var package_default = {
|
|
|
12386
12386
|
typescript: "^5.7.3"
|
|
12387
12387
|
},
|
|
12388
12388
|
optionalDependencies: {
|
|
12389
|
-
"oh-my-opencode-gpt-slim-darwin-arm64": "0.1.
|
|
12390
|
-
"oh-my-opencode-gpt-slim-darwin-x64": "0.1.
|
|
12391
|
-
"oh-my-opencode-gpt-slim-darwin-x64-baseline": "0.1.
|
|
12392
|
-
"oh-my-opencode-gpt-slim-linux-arm64": "0.1.
|
|
12393
|
-
"oh-my-opencode-gpt-slim-linux-arm64-musl": "0.1.
|
|
12394
|
-
"oh-my-opencode-gpt-slim-linux-x64": "0.1.
|
|
12395
|
-
"oh-my-opencode-gpt-slim-linux-x64-baseline": "0.1.
|
|
12396
|
-
"oh-my-opencode-gpt-slim-linux-x64-musl": "0.1.
|
|
12397
|
-
"oh-my-opencode-gpt-slim-linux-x64-musl-baseline": "0.1.
|
|
12389
|
+
"oh-my-opencode-gpt-slim-darwin-arm64": "0.1.11",
|
|
12390
|
+
"oh-my-opencode-gpt-slim-darwin-x64": "0.1.11",
|
|
12391
|
+
"oh-my-opencode-gpt-slim-darwin-x64-baseline": "0.1.11",
|
|
12392
|
+
"oh-my-opencode-gpt-slim-linux-arm64": "0.1.11",
|
|
12393
|
+
"oh-my-opencode-gpt-slim-linux-arm64-musl": "0.1.11",
|
|
12394
|
+
"oh-my-opencode-gpt-slim-linux-x64": "0.1.11",
|
|
12395
|
+
"oh-my-opencode-gpt-slim-linux-x64-baseline": "0.1.11",
|
|
12396
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl": "0.1.11",
|
|
12397
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl-baseline": "0.1.11"
|
|
12398
12398
|
},
|
|
12399
12399
|
overrides: {
|
|
12400
12400
|
"@opencode-ai/sdk": "^1.2.17"
|
|
@@ -79418,7 +79418,11 @@ function isSisyphusAgent(agentName) {
|
|
|
79418
79418
|
return getAgentConfigKey(agentName) === "sisyphus";
|
|
79419
79419
|
}
|
|
79420
79420
|
function injectExecutionBias(parts) {
|
|
79421
|
-
parts.unshift(
|
|
79421
|
+
parts.unshift({
|
|
79422
|
+
type: "text",
|
|
79423
|
+
text: EXECUTION_BIAS_DIRECTIVE,
|
|
79424
|
+
synthetic: true
|
|
79425
|
+
});
|
|
79422
79426
|
}
|
|
79423
79427
|
function applyUltraworkModeOnMessage(agentName, output) {
|
|
79424
79428
|
if (!isSisyphusAgent(agentName))
|
|
@@ -79479,6 +79483,16 @@ function parseRalphLoopArguments(rawInput) {
|
|
|
79479
79483
|
}
|
|
79480
79484
|
|
|
79481
79485
|
// src/plugin/chat-message.ts
|
|
79486
|
+
function showWarningToast(tui, title, message, duration5) {
|
|
79487
|
+
tui.showToast({
|
|
79488
|
+
body: {
|
|
79489
|
+
title,
|
|
79490
|
+
message,
|
|
79491
|
+
variant: "warning",
|
|
79492
|
+
duration: duration5
|
|
79493
|
+
}
|
|
79494
|
+
}).catch(() => {});
|
|
79495
|
+
}
|
|
79482
79496
|
function isStartWorkHookOutput(value) {
|
|
79483
79497
|
if (typeof value !== "object" || value === null)
|
|
79484
79498
|
return false;
|
|
@@ -79530,14 +79544,7 @@ function createChatMessageHandler2(args) {
|
|
|
79530
79544
|
await hooks2.startWork["chat.message"]?.(input, output);
|
|
79531
79545
|
}
|
|
79532
79546
|
if (!hasConnectedProvidersCache()) {
|
|
79533
|
-
pluginContext.client.tui.
|
|
79534
|
-
body: {
|
|
79535
|
-
title: "\u26A0\uFE0F Provider Cache Missing",
|
|
79536
|
-
message: "Model filtering disabled. RESTART OpenCode to enable full functionality.",
|
|
79537
|
-
variant: "warning",
|
|
79538
|
-
duration: 6000
|
|
79539
|
-
}
|
|
79540
|
-
}).catch(() => {});
|
|
79547
|
+
showWarningToast(pluginContext.client.tui, "\u26A0\uFE0F Provider Cache Missing", "Model filtering disabled. RESTART OpenCode to enable full functionality.", 6000);
|
|
79541
79548
|
}
|
|
79542
79549
|
if (hooks2.ralphLoop) {
|
|
79543
79550
|
const parts = output.parts;
|
|
@@ -79561,7 +79568,9 @@ function createChatMessageHandler2(args) {
|
|
|
79561
79568
|
}
|
|
79562
79569
|
}
|
|
79563
79570
|
applyUltraworkModelOverrideOnMessage(pluginConfig, input.agent, output, pluginContext.client.tui, input.sessionID);
|
|
79564
|
-
applyUltraworkModeOnMessage(input.agent, output)
|
|
79571
|
+
if (applyUltraworkModeOnMessage(input.agent, output)) {
|
|
79572
|
+
showWarningToast(pluginContext.client.tui, "Ultrawork Mode Activated", "Execution-biased mode enabled for this turn.", 2500);
|
|
79573
|
+
}
|
|
79565
79574
|
};
|
|
79566
79575
|
}
|
|
79567
79576
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oh-my-opencode-gpt-slim",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
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,15 +78,15 @@
|
|
|
78
78
|
"typescript": "^5.7.3"
|
|
79
79
|
},
|
|
80
80
|
"optionalDependencies": {
|
|
81
|
-
"oh-my-opencode-gpt-slim-darwin-arm64": "0.1.
|
|
82
|
-
"oh-my-opencode-gpt-slim-darwin-x64": "0.1.
|
|
83
|
-
"oh-my-opencode-gpt-slim-darwin-x64-baseline": "0.1.
|
|
84
|
-
"oh-my-opencode-gpt-slim-linux-arm64": "0.1.
|
|
85
|
-
"oh-my-opencode-gpt-slim-linux-arm64-musl": "0.1.
|
|
86
|
-
"oh-my-opencode-gpt-slim-linux-x64": "0.1.
|
|
87
|
-
"oh-my-opencode-gpt-slim-linux-x64-baseline": "0.1.
|
|
88
|
-
"oh-my-opencode-gpt-slim-linux-x64-musl": "0.1.
|
|
89
|
-
"oh-my-opencode-gpt-slim-linux-x64-musl-baseline": "0.1.
|
|
81
|
+
"oh-my-opencode-gpt-slim-darwin-arm64": "0.1.11",
|
|
82
|
+
"oh-my-opencode-gpt-slim-darwin-x64": "0.1.11",
|
|
83
|
+
"oh-my-opencode-gpt-slim-darwin-x64-baseline": "0.1.11",
|
|
84
|
+
"oh-my-opencode-gpt-slim-linux-arm64": "0.1.11",
|
|
85
|
+
"oh-my-opencode-gpt-slim-linux-arm64-musl": "0.1.11",
|
|
86
|
+
"oh-my-opencode-gpt-slim-linux-x64": "0.1.11",
|
|
87
|
+
"oh-my-opencode-gpt-slim-linux-x64-baseline": "0.1.11",
|
|
88
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl": "0.1.11",
|
|
89
|
+
"oh-my-opencode-gpt-slim-linux-x64-musl-baseline": "0.1.11"
|
|
90
90
|
},
|
|
91
91
|
"overrides": {
|
|
92
92
|
"@opencode-ai/sdk": "^1.2.17"
|