@skj1724/oh-my-opencode 3.11.4 → 3.11.6
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/agents/atlas/gemini.d.ts +0 -9
- package/dist/agents/sisyphus/gemini.d.ts +10 -10
- package/dist/agents/sisyphus/gpt-5-4.d.ts +18 -18
- package/dist/cli/index.js +4 -2
- package/dist/index.js +1059 -1051
- package/package.json +1 -1
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Gemini-optimized Atlas System Prompt
|
|
3
|
-
*
|
|
4
|
-
* Key differences from Claude/GPT variants:
|
|
5
|
-
* - EXTREME delegation enforcement (Gemini strongly prefers doing work itself)
|
|
6
|
-
* - Aggressive verification language (Gemini trusts subagent claims too readily)
|
|
7
|
-
* - Repeated tool-call mandates (Gemini skips tool calls in favor of reasoning)
|
|
8
|
-
* - Consequence-driven framing (Gemini ignores soft warnings)
|
|
9
|
-
*/
|
|
10
1
|
export declare const ATLAS_GEMINI_SYSTEM_PROMPT: string;
|
|
11
2
|
export declare function getGeminiAtlasPrompt(): string;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Gemini
|
|
2
|
+
* Gemini 专用 Sisyphus prompt 覆盖 sections。
|
|
3
3
|
*
|
|
4
|
-
* Gemini
|
|
5
|
-
* -
|
|
6
|
-
* -
|
|
7
|
-
* -
|
|
8
|
-
* -
|
|
9
|
-
* -
|
|
10
|
-
* -
|
|
4
|
+
* Gemini 模型天生过度乐观,倾向于:
|
|
5
|
+
* - 用内部推理替代 tool calls
|
|
6
|
+
* - 回避委托,偏好亲力亲为
|
|
7
|
+
* - 声称完成但未经验证
|
|
8
|
+
* - 将约束视为建议
|
|
9
|
+
* - 跳过 intent 分类 gate(直接跳到行动)
|
|
10
|
+
* - 混淆调查与实现("查一下 X" → 开始写代码)
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* 这些覆盖层在动态 Sisyphus prompt 的战略位置注入纠正性 sections,
|
|
13
|
+
* 以对抗上述倾向。
|
|
14
14
|
*/
|
|
15
15
|
export declare function buildGeminiToolMandate(): string;
|
|
16
16
|
export declare function buildGeminiToolGuide(): string;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* GPT-5.4
|
|
2
|
+
* GPT-5.4 原生 Sisyphus prompt — 采用 8-block 架构重写。
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* -
|
|
6
|
-
* - reasoning.effort
|
|
7
|
-
* - GPT-5.4
|
|
8
|
-
* - GPT-5.4
|
|
9
|
-
* - GPT-5.4
|
|
10
|
-
* - GPT-5.4
|
|
11
|
-
* - "
|
|
4
|
+
* 设计原则(源自 OpenAI 的 GPT-5.4 prompt 指导):
|
|
5
|
+
* - 使用 XML 标签 + 命名 sub-anchors 的紧凑块结构 prompts
|
|
6
|
+
* - reasoning.effort 默认为 "none" — 需要显式鼓励思考
|
|
7
|
+
* - GPT-5.4 原生生成开场白 — 不要添加 preamble 指令
|
|
8
|
+
* - GPT-5.4 指令遵循度高 — 减少重复,减少威胁式表达
|
|
9
|
+
* - GPT-5.4 受益于:output contracts、verification loops、dependency checks、completeness contracts
|
|
10
|
+
* - GPT-5.4 可能过于字面 — 添加 intent inference 层以实现细腻行为
|
|
11
|
+
* - "使用通过 evals 的最小 prompt" — 保持高密度
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
* 1. <identity> —
|
|
15
|
-
* 2. <constraints> — Hard blocks + anti-patterns
|
|
16
|
-
* 3. <intent> — Think-first + intent gate + autonomy
|
|
17
|
-
* 4. <explore> —
|
|
18
|
-
* 5. <execution_loop> — EXPLORE→PLAN→ROUTE→EXECUTE_OR_SUPERVISE→VERIFY→RETRY→DONE
|
|
19
|
-
* 6. <delegation> — Category+skills
|
|
20
|
-
* 7. <tasks> — Task/todo
|
|
21
|
-
* 8. <style> —
|
|
13
|
+
* 架构(8 个 blocks,约 9 个命名 sub-anchors):
|
|
14
|
+
* 1. <identity> — 角色、指令优先级、编排器倾向
|
|
15
|
+
* 2. <constraints> — Hard blocks + anti-patterns(前置以引起 GPT-5.4 关注)
|
|
16
|
+
* 3. <intent> — Think-first + intent gate + autonomy(合并,domain_guess 路由)
|
|
17
|
+
* 4. <explore> — 代码库评估 + 研究 + tool 规则(保留命名 sub-anchors)
|
|
18
|
+
* 5. <execution_loop> — EXPLORE→PLAN→ROUTE→EXECUTE_OR_SUPERVISE→VERIFY→RETRY→DONE(prompt 核心)
|
|
19
|
+
* 6. <delegation> — Category+skills、6 段式 prompt、session 连续性、oracle
|
|
20
|
+
* 7. <tasks> — Task/todo 管理
|
|
21
|
+
* 8. <style> — 语气(prose)+ output contract + 进度更新
|
|
22
22
|
*/
|
|
23
23
|
import type { AvailableAgent, AvailableTool, AvailableSkill, AvailableCategory } from "../dynamic-agent-prompt-builder";
|
|
24
24
|
import { categorizeTools } from "../dynamic-agent-prompt-builder";
|
package/dist/cli/index.js
CHANGED
|
@@ -5018,7 +5018,7 @@ function resolveSymlink(filePath) {
|
|
|
5018
5018
|
var init_file_utils = () => {};
|
|
5019
5019
|
|
|
5020
5020
|
// src/shared/context-limit-resolver.ts
|
|
5021
|
-
var ANTHROPIC_NO_HEADER_GA_MODEL_IDS;
|
|
5021
|
+
var ANTHROPIC_NO_HEADER_GA_MODEL_IDS, MINIMAX_PROVIDER_IDS, MINIMAX_4M_MODELS;
|
|
5022
5022
|
var init_context_limit_resolver = __esm(() => {
|
|
5023
5023
|
ANTHROPIC_NO_HEADER_GA_MODEL_IDS = new Set([
|
|
5024
5024
|
"claude-opus-4-6",
|
|
@@ -5026,6 +5026,8 @@ var init_context_limit_resolver = __esm(() => {
|
|
|
5026
5026
|
"claude-sonnet-4-6",
|
|
5027
5027
|
"claude-sonnet-4.6"
|
|
5028
5028
|
]);
|
|
5029
|
+
MINIMAX_PROVIDER_IDS = new Set(["minimax-cn-coding-plan"]);
|
|
5030
|
+
MINIMAX_4M_MODELS = new Set(["minimax-m2.7-highspeed"]);
|
|
5029
5031
|
});
|
|
5030
5032
|
|
|
5031
5033
|
// src/shared/normalize-sdk-response.ts
|
|
@@ -50376,7 +50378,7 @@ var {
|
|
|
50376
50378
|
// package.json
|
|
50377
50379
|
var package_default = {
|
|
50378
50380
|
name: "@skj1724/oh-my-opencode",
|
|
50379
|
-
version: "3.11.
|
|
50381
|
+
version: "3.11.6",
|
|
50380
50382
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
50381
50383
|
main: "dist/index.js",
|
|
50382
50384
|
types: "dist/index.d.ts",
|