@pasko70/pibo 1.7.10 → 1.7.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/apps/chat/chat-request-normalizers.js +1 -1
- package/dist/apps/chat/project-workflow-sessions.js +1 -1
- package/dist/apps/chat/ralph-api.js +1 -1
- package/dist/apps/chat-ui/assets/{dist-D6ImmtZ3.js → dist--lraqdDn.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-CCOZbHCt.js → dist-6pcjNbPQ.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-Daom6uMW.js → dist-CMFjl7MX.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-DTJJ5-iA.js → dist-COlFTw2x.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-DDQWCHTh.js → dist-CZSEM5So.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-Dgs6LwMW.js → dist-CajLLpaw.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-Bg2k47fY.js → dist-CoCvyd4f.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-BLYDOjGT.js → dist-Dgz3iWay.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-BLQTYmgi.js → dist-IlQbTNzw.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-Bv912fTl.js → dist-YdEosvsr.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-LRUZKp77.js → dist-bLd-NaVv.js} +1 -1
- package/dist/apps/chat-ui/assets/{index-BnZ0V5cJ.js → index-HPWlrJwv.js} +3 -3
- package/dist/apps/chat-ui/index.html +1 -1
- package/dist/apps/chat-vscode-web/assets/{index-CiQZTRZH.js → index-Dge6XEYB.js} +1 -1
- package/dist/apps/chat-vscode-web/index.html +1 -1
- package/dist/apps/cli-ui/InkSessionApp.js +3 -3
- package/dist/apps/cli-ui/cliSessionsCommand.js +1 -1
- package/dist/apps/vscode-artifacts/latest.vsix +0 -0
- package/dist/apps/vscode-artifacts/pibo-vscode-ext-1.7.11.vsix +0 -0
- package/dist/cli-session/fakeSessionSource.js +2 -2
- package/dist/cli.js +1 -1
- package/dist/core/thinking.js +1 -1
- package/dist/providers/openai-gpt56.js +2 -2
- package/dist/ralph/cli.js +2 -2
- package/dist/ralph/store.js +1 -1
- package/dist/session-ui/commandCatalog.js +1 -1
- package/dist/tools/guides.js +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<meta name="theme-color" content="#101d22" />
|
|
7
7
|
<title>Pibo</title>
|
|
8
|
-
<script type="module" crossorigin src="/apps/chat-vscode/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/apps/chat-vscode/assets/index-Dge6XEYB.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/apps/chat-vscode/assets/index-B5QK07zO.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
@@ -699,8 +699,8 @@ async function executeSharedSlashCommand(command, source, state, setState, openS
|
|
|
699
699
|
setState((current) => applyCommandResultToState(current, command, result.descriptor, status));
|
|
700
700
|
return true;
|
|
701
701
|
}
|
|
702
|
-
const THINKING_LEVELS = ["current/default", "off", "minimal", "low", "medium", "high", "xhigh"];
|
|
703
|
-
const APPLY_THINKING_LEVELS = new Set(["off", "minimal", "low", "medium", "high", "xhigh"]);
|
|
702
|
+
const THINKING_LEVELS = ["current/default", "off", "minimal", "low", "medium", "high", "xhigh", "max"];
|
|
703
|
+
const APPLY_THINKING_LEVELS = new Set(["off", "minimal", "low", "medium", "high", "xhigh", "max"]);
|
|
704
704
|
async function selectCommandMenuItem(picker, item, source, state, setState, openSession) {
|
|
705
705
|
if (item.disabled) {
|
|
706
706
|
setState((current) => ({ ...current, message: item.description ? `${item.label}: ${item.description}` : `${item.label} is unavailable.`, error: undefined }));
|
|
@@ -787,7 +787,7 @@ function thinkingPickerState() {
|
|
|
787
787
|
function validateThinkingLevel(value) {
|
|
788
788
|
const level = value.trim().toLowerCase();
|
|
789
789
|
if (!APPLY_THINKING_LEVELS.has(level))
|
|
790
|
-
throw new Error(`Unsupported thinking level "${value}". Use off, minimal, low, medium, high, or
|
|
790
|
+
throw new Error(`Unsupported thinking level "${value}". Use off, minimal, low, medium, high, xhigh, or max.`);
|
|
791
791
|
}
|
|
792
792
|
function modelProviderPickerState(providers) {
|
|
793
793
|
return {
|
|
@@ -148,7 +148,7 @@ class DebugMockCliSessionRouter {
|
|
|
148
148
|
const level = typeof params.level === "string" ? params.level : undefined;
|
|
149
149
|
if (level)
|
|
150
150
|
return { message: `Thinking level set to ${level}`, level, supported: true, changed: true };
|
|
151
|
-
return { action: "show_thinking_menu", items: ["off", "minimal", "low", "medium", "high", "xhigh"].map((value) => ({ id: value, label: value })) };
|
|
151
|
+
return { action: "show_thinking_menu", items: ["off", "minimal", "low", "medium", "high", "xhigh", "max"].map((value) => ({ id: value, label: value })) };
|
|
152
152
|
}
|
|
153
153
|
if (event.action === "model") {
|
|
154
154
|
const model = typeof params.model === "string" ? params.model : undefined;
|
|
Binary file
|
|
Binary file
|
|
@@ -343,9 +343,9 @@ export class FakeCliSessionSource {
|
|
|
343
343
|
if (!level)
|
|
344
344
|
return {
|
|
345
345
|
action: "show_thinking_menu",
|
|
346
|
-
items: ["off", "minimal", "low", "medium", "high", "xhigh"].map((value) => ({ id: value, label: value })),
|
|
346
|
+
items: ["off", "minimal", "low", "medium", "high", "xhigh", "max"].map((value) => ({ id: value, label: value })),
|
|
347
347
|
};
|
|
348
|
-
if (!["off", "minimal", "low", "medium", "high", "xhigh"].includes(level))
|
|
348
|
+
if (!["off", "minimal", "low", "medium", "high", "xhigh", "max"].includes(level))
|
|
349
349
|
return {
|
|
350
350
|
supported: false,
|
|
351
351
|
unsupportedReason: `Unsupported thinking level ${level}.`,
|
package/dist/cli.js
CHANGED
|
@@ -338,7 +338,7 @@ export async function runPiboCli(argv = process.argv) {
|
|
|
338
338
|
.command("tui:routed")
|
|
339
339
|
.helpOption("-h, --help", "Display help for command")
|
|
340
340
|
.option("--show-thinking", "Show routed thinking deltas in the local TUI")
|
|
341
|
-
.option("--thinking <level>", "Set routed thinking level: off, minimal, low, medium, high, xhigh", parsePiboThinkingLevel)
|
|
341
|
+
.option("--thinking <level>", "Set routed thinking level: off, minimal, low, medium, high, xhigh, max", parsePiboThinkingLevel)
|
|
342
342
|
.argument("[profile]")
|
|
343
343
|
.description("Start the local routed Pibo TUI")
|
|
344
344
|
.action(async (profile, options) => {
|
package/dist/core/thinking.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const PIBO_THINKING_LEVELS = ["off", "minimal", "low", "medium", "high", "xhigh"];
|
|
1
|
+
export const PIBO_THINKING_LEVELS = ["off", "minimal", "low", "medium", "high", "xhigh", "max"];
|
|
2
2
|
export function isPiboThinkingLevel(value) {
|
|
3
3
|
return PIBO_THINKING_LEVELS.includes(value);
|
|
4
4
|
}
|
|
@@ -45,7 +45,7 @@ export function buildOpenAiGpt56Models(baseModels = getBuiltInOpenAiModels()) {
|
|
|
45
45
|
api: OPENAI_RESPONSES_API,
|
|
46
46
|
baseUrl: OPENAI_BASE_URL,
|
|
47
47
|
contextWindow: OPENAI_GPT_56_CONTEXT_WINDOW,
|
|
48
|
-
thinkingLevelMap: { off: null, xhigh: "xhigh" },
|
|
48
|
+
thinkingLevelMap: { off: null, xhigh: "xhigh", max: "max" },
|
|
49
49
|
baseModels,
|
|
50
50
|
modelCost: (model) => model.cost,
|
|
51
51
|
});
|
|
@@ -56,7 +56,7 @@ export function buildOpenAiCodexGpt56Models(baseModels = getBuiltInOpenAiCodexMo
|
|
|
56
56
|
api: OPENAI_CODEX_RESPONSES_API,
|
|
57
57
|
baseUrl: OPENAI_CODEX_BASE_URL,
|
|
58
58
|
contextWindow: OPENAI_CODEX_GPT_56_CONTEXT_WINDOW,
|
|
59
|
-
thinkingLevelMap: { xhigh: "xhigh", minimal: "low" },
|
|
59
|
+
thinkingLevelMap: { xhigh: "xhigh", max: "max", minimal: "low" },
|
|
60
60
|
baseModels,
|
|
61
61
|
modelCost: (model) => ({ ...model.cost, cacheWrite: 0 }),
|
|
62
62
|
});
|
package/dist/ralph/cli.js
CHANGED
|
@@ -121,13 +121,13 @@ export async function runRalphCli(argv = process.argv) {
|
|
|
121
121
|
else
|
|
122
122
|
for (const job of jobs)
|
|
123
123
|
console.log(formatRalphJobLine(job)); store.close(); });
|
|
124
|
-
program.command('add').description('Create a Ralph job').option('--template <id>', 'Built-in job template id').option('--prompt <text>', 'Task prompt').option('--name <name>', 'Job name').option('--description <text>', 'Job description').option('--profile <profile>', 'Agent profile', DEFAULT_PIBO_PROFILE_NAME).option('--room <room-id>', 'Target room id').option('--default-chat', 'Target the shared default chat').option('--max-iterations <n>', 'Stop after n completed run attempts').option('--model <provider/model>', 'Runtime model override, for example openai/gpt-5').option('--thinking <level>', 'Runtime thinking level override: off, minimal, low, medium, high, xhigh').option('--fast', 'Enable runtime fast mode').option('--no-fast', 'Disable runtime fast mode')
|
|
124
|
+
program.command('add').description('Create a Ralph job').option('--template <id>', 'Built-in job template id').option('--prompt <text>', 'Task prompt').option('--name <name>', 'Job name').option('--description <text>', 'Job description').option('--profile <profile>', 'Agent profile', DEFAULT_PIBO_PROFILE_NAME).option('--room <room-id>', 'Target room id').option('--default-chat', 'Target the shared default chat').option('--max-iterations <n>', 'Stop after n completed run attempts').option('--model <provider/model>', 'Runtime model override, for example openai/gpt-5').option('--thinking <level>', 'Runtime thinking level override: off, minimal, low, medium, high, xhigh, max').option('--fast', 'Enable runtime fast mode').option('--no-fast', 'Disable runtime fast mode')
|
|
125
125
|
.option('--start', 'Start immediately').option('--json', 'Print JSON').action((options) => { const base = templatePatch(options.template); const prompt = options.prompt ?? base.prompt; if (typeof prompt !== 'string' || !prompt.trim())
|
|
126
126
|
throw new Error('Choose --template <id> or provide --prompt <text>'); const input = { name: options.name ?? base.name, description: options.description ?? base.description, enabled: options.start === true, target: targetFromOptions(options), profile: options.profile, prompt, maxIterations: options.maxIterations !== undefined ? maxIterations(options.maxIterations) : typeof base.maxIterations === 'number' ? base.maxIterations : undefined, stopPolicy: base.stopPolicy ?? undefined }; applyRuntimeCreateOptions(input, options); const store = createDefaultPiboRalphStore({ path: program.opts().store }); const job = store.createJob(input); if (options.json)
|
|
127
127
|
printJson(job);
|
|
128
128
|
else
|
|
129
129
|
console.log(`${job.id}\t${job.enabled ? 'running' : 'stopped'}\t${job.name}`); store.close(); });
|
|
130
|
-
program.command('edit').argument('<id>', 'Ralph job id').description('Update a Ralph job').option('--template <id>', 'Apply a built-in job template before explicit overrides').option('--prompt <text>', 'Task prompt').option('--name <name>', 'Job name').option('--description <text>', 'Job description').option('--profile <profile>', 'Agent profile').option('--room <room-id>', 'Target room id').option('--default-chat', 'Target the shared default chat').option('--max-iterations <n>', 'Stop after n completed run attempts').option('--model <provider/model>', 'Set runtime model override, for example openai/gpt-5').option('--clear-model', 'Clear runtime model override').option('--thinking <level>', 'Set runtime thinking level override: off, minimal, low, medium, high, xhigh').option('--clear-thinking', 'Clear runtime thinking level override').option('--fast', 'Enable runtime fast mode').option('--no-fast', 'Disable runtime fast mode').option('--clear-fast', 'Clear runtime fast mode override').option('--json', 'Print JSON').action((id, options) => { const store = createDefaultPiboRalphStore({ path: program.opts().store }); const patch = { ...templatePatch(options.template) }; if (options.name !== undefined)
|
|
130
|
+
program.command('edit').argument('<id>', 'Ralph job id').description('Update a Ralph job').option('--template <id>', 'Apply a built-in job template before explicit overrides').option('--prompt <text>', 'Task prompt').option('--name <name>', 'Job name').option('--description <text>', 'Job description').option('--profile <profile>', 'Agent profile').option('--room <room-id>', 'Target room id').option('--default-chat', 'Target the shared default chat').option('--max-iterations <n>', 'Stop after n completed run attempts').option('--model <provider/model>', 'Set runtime model override, for example openai/gpt-5').option('--clear-model', 'Clear runtime model override').option('--thinking <level>', 'Set runtime thinking level override: off, minimal, low, medium, high, xhigh, max').option('--clear-thinking', 'Clear runtime thinking level override').option('--fast', 'Enable runtime fast mode').option('--no-fast', 'Disable runtime fast mode').option('--clear-fast', 'Clear runtime fast mode override').option('--json', 'Print JSON').action((id, options) => { const store = createDefaultPiboRalphStore({ path: program.opts().store }); const patch = { ...templatePatch(options.template) }; if (options.name !== undefined)
|
|
131
131
|
patch.name = options.name; if (options.description !== undefined)
|
|
132
132
|
patch.description = options.description; if (options.profile !== undefined)
|
|
133
133
|
patch.profile = options.profile; if (options.prompt !== undefined)
|
package/dist/ralph/store.js
CHANGED
|
@@ -111,7 +111,7 @@ function normalizeThinkingLevel(value) {
|
|
|
111
111
|
if (value === undefined || value === null)
|
|
112
112
|
return undefined;
|
|
113
113
|
if (!isPiboThinkingLevel(value))
|
|
114
|
-
throw new Error('thinkingLevel must be one of off, minimal, low, medium, high, xhigh');
|
|
114
|
+
throw new Error('thinkingLevel must be one of off, minimal, low, medium, high, xhigh, max');
|
|
115
115
|
return value;
|
|
116
116
|
}
|
|
117
117
|
function normalizeFastMode(value) {
|
|
@@ -18,7 +18,7 @@ export const WEB_PARITY_SLASH_COMMANDS = [
|
|
|
18
18
|
{ id: "kill", slash: "/kill", actionName: "kill", description: "Dispose the active session runtime.", group: "runtime", support: "terminal-adapted" },
|
|
19
19
|
{ id: "kill-all", slash: "/kill-all", actionName: "kill-all", description: "Dispose all routed runtimes for the selected app context when supported.", group: "runtime", support: "terminal-adapted" },
|
|
20
20
|
{ id: "fast", slash: "/fast", actionName: "fast_mode", description: "Toggle fast mode for the active session.", argumentHint: "[on|off]", group: "runtime", support: "terminal-adapted" },
|
|
21
|
-
{ id: "thinking", slash: "/thinking", actionName: "thinking", description: "Show or set model thinking level.", argumentHint: "[off|minimal|low|medium|high|xhigh]", group: "runtime", support: "terminal-adapted", terminalAdaptation: "Without an argument, open a keyboard picker." },
|
|
21
|
+
{ id: "thinking", slash: "/thinking", actionName: "thinking", description: "Show or set model thinking level.", argumentHint: "[off|minimal|low|medium|high|xhigh|max]", group: "runtime", support: "terminal-adapted", terminalAdaptation: "Without an argument, open a keyboard picker." },
|
|
22
22
|
{ id: "model", slash: "/model", actionName: "model", description: "Choose an authenticated provider model.", group: "runtime", support: "terminal-adapted", terminalAdaptation: "Open provider and model pickers." },
|
|
23
23
|
{ id: "login", slash: "/login", actionName: "login", description: "Authenticate a model provider.", group: "runtime", support: "terminal-adapted", terminalAdaptation: "Show provider/auth-method instructions in terminal." },
|
|
24
24
|
{ id: "session-current", slash: "/session-current", actionName: "session-current", description: "Show metadata for the active session.", group: "session", support: "terminal-adapted" },
|
package/dist/tools/guides.js
CHANGED
|
@@ -78,7 +78,7 @@ pibo ralph edit <job-id> --model openai/gpt-5 --thinking medium --no-fast --json
|
|
|
78
78
|
pibo ralph edit <job-id> --clear-model --clear-thinking --clear-fast --json
|
|
79
79
|
\`\`\`
|
|
80
80
|
|
|
81
|
-
Use \`--model <provider/model>\`, \`--thinking off|minimal|low|medium|high|xhigh\`, and \`--fast\`/\`--no-fast\` to set runtime options. Use the \`--clear-*\` flags on \`edit\` to return to profile/default runtime behavior.
|
|
81
|
+
Use \`--model <provider/model>\`, \`--thinking off|minimal|low|medium|high|xhigh|max\`, and \`--fast\`/\`--no-fast\` to set runtime options. Use the \`--clear-*\` flags on \`edit\` to return to profile/default runtime behavior.
|
|
82
82
|
|
|
83
83
|
## Inspect and Debug
|
|
84
84
|
|