@oh-my-pi/pi-coding-agent 15.11.0 → 15.11.2
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/CHANGELOG.md +57 -2
- package/dist/cli.js +678 -657
- package/dist/types/capability/mcp.d.ts +1 -0
- package/dist/types/config/settings-schema.d.ts +49 -4
- package/dist/types/export/html/template.generated.d.ts +1 -1
- package/dist/types/extensibility/custom-commands/types.d.ts +6 -3
- package/dist/types/extensibility/custom-tools/loader.d.ts +2 -1
- package/dist/types/extensibility/custom-tools/types.d.ts +8 -4
- package/dist/types/extensibility/extensions/types.d.ts +2 -2
- package/dist/types/extensibility/hooks/types.d.ts +8 -4
- package/dist/types/irc/bus.d.ts +15 -2
- package/dist/types/mcp/oauth-discovery.d.ts +2 -0
- package/dist/types/mcp/oauth-flow.d.ts +6 -1
- package/dist/types/mcp/transports/stdio.d.ts +1 -0
- package/dist/types/mcp/types.d.ts +2 -0
- package/dist/types/modes/components/assistant-message.d.ts +1 -0
- package/dist/types/modes/components/mcp-add-wizard.d.ts +2 -1
- package/dist/types/modes/components/plan-review-overlay.d.ts +2 -0
- package/dist/types/modes/components/settings-selector.d.ts +1 -0
- package/dist/types/modes/components/status-line/types.d.ts +3 -0
- package/dist/types/modes/components/transcript-container.d.ts +3 -2
- package/dist/types/modes/controllers/tool-args-reveal.d.ts +43 -0
- package/dist/types/modes/rpc/rpc-client.d.ts +10 -1
- package/dist/types/modes/rpc/rpc-mode.d.ts +2 -0
- package/dist/types/modes/rpc/rpc-types.d.ts +30 -0
- package/dist/types/modes/theme/theme.d.ts +3 -2
- package/dist/types/session/agent-session.d.ts +17 -3
- package/dist/types/slash-commands/available-commands.d.ts +34 -0
- package/dist/types/task/index.d.ts +3 -3
- package/dist/types/tools/bash.d.ts +1 -1
- package/dist/types/tools/browser/attach.d.ts +4 -4
- package/dist/types/tools/browser/registry.d.ts +1 -0
- package/dist/types/tools/irc.d.ts +3 -2
- package/dist/types/tools/path-utils.d.ts +0 -4
- package/dist/types/tools/render-utils.d.ts +22 -0
- package/package.json +11 -11
- package/src/capability/mcp.ts +1 -0
- package/src/cli/gallery-cli.ts +5 -4
- package/src/config/mcp-schema.json +4 -0
- package/src/config/settings-schema.ts +55 -4
- package/src/edit/renderer.ts +96 -46
- package/src/exec/bash-executor.ts +21 -6
- package/src/export/html/template.generated.ts +1 -1
- package/src/export/html/template.js +6 -1
- package/src/extensibility/custom-commands/loader.ts +3 -1
- package/src/extensibility/custom-commands/types.ts +6 -3
- package/src/extensibility/custom-tools/loader.ts +4 -7
- package/src/extensibility/custom-tools/types.ts +8 -4
- package/src/extensibility/extensions/loader.ts +2 -1
- package/src/extensibility/extensions/types.ts +2 -2
- package/src/extensibility/hooks/loader.ts +3 -1
- package/src/extensibility/hooks/types.ts +8 -4
- package/src/internal-urls/docs-index.generated.ts +8 -8
- package/src/irc/bus.ts +14 -3
- package/src/lsp/defaults.json +6 -0
- package/src/lsp/render.ts +2 -28
- package/src/mcp/manager.ts +3 -0
- package/src/mcp/oauth-discovery.ts +27 -2
- package/src/mcp/oauth-flow.ts +47 -1
- package/src/mcp/transports/stdio.ts +3 -0
- package/src/mcp/types.ts +2 -0
- package/src/memories/index.ts +2 -0
- package/src/modes/acp/acp-agent.ts +4 -67
- package/src/modes/components/assistant-message.ts +15 -0
- package/src/modes/components/btw-panel.ts +5 -1
- package/src/modes/components/mcp-add-wizard.ts +13 -0
- package/src/modes/components/plan-review-overlay.ts +32 -3
- package/src/modes/components/settings-selector.ts +2 -0
- package/src/modes/components/status-line/component.ts +22 -12
- package/src/modes/components/status-line/types.ts +3 -0
- package/src/modes/components/transcript-container.ts +99 -18
- package/src/modes/components/tree-selector.ts +6 -1
- package/src/modes/controllers/event-controller.ts +28 -4
- package/src/modes/controllers/mcp-command-controller.ts +34 -2
- package/src/modes/controllers/selector-controller.ts +4 -0
- package/src/modes/controllers/streaming-reveal.ts +16 -8
- package/src/modes/controllers/tool-args-reveal.ts +174 -0
- package/src/modes/interactive-mode.ts +41 -2
- package/src/modes/rpc/rpc-client.ts +32 -0
- package/src/modes/rpc/rpc-mode.ts +82 -7
- package/src/modes/rpc/rpc-types.ts +23 -0
- package/src/modes/theme/theme.ts +13 -7
- package/src/modes/utils/ui-helpers.ts +13 -4
- package/src/prompts/memories/consolidation_system.md +4 -0
- package/src/prompts/system/irc-autoreply.md +6 -0
- package/src/prompts/system/irc-incoming.md +1 -1
- package/src/prompts/tools/bash.md +1 -0
- package/src/prompts/tools/irc.md +1 -1
- package/src/prompts/tools/task.md +7 -2
- package/src/session/agent-session.ts +120 -10
- package/src/slash-commands/available-commands.ts +105 -0
- package/src/task/index.ts +15 -10
- package/src/task/render.ts +10 -4
- package/src/tools/bash.ts +5 -1
- package/src/tools/browser/attach.ts +26 -7
- package/src/tools/browser/registry.ts +11 -1
- package/src/tools/irc.ts +16 -4
- package/src/tools/job.ts +7 -3
- package/src/tools/path-utils.ts +22 -15
- package/src/tools/render-utils.ts +56 -0
- package/src/tools/write.ts +65 -47
- package/src/web/search/providers/anthropic.ts +29 -4
|
@@ -28,6 +28,7 @@ export interface MCPServer {
|
|
|
28
28
|
tokenUrl?: string;
|
|
29
29
|
clientId?: string;
|
|
30
30
|
clientSecret?: string;
|
|
31
|
+
resource?: string;
|
|
31
32
|
};
|
|
32
33
|
/** OAuth configuration (clientId, clientSecret, redirectUri, callbackPort, callbackPath) for servers requiring explicit client credentials */
|
|
33
34
|
oauth?: {
|
|
@@ -356,6 +356,15 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
356
356
|
readonly description: "Use the session name color for the editor border and status line gap";
|
|
357
357
|
};
|
|
358
358
|
};
|
|
359
|
+
readonly "statusLine.transparent": {
|
|
360
|
+
readonly type: "boolean";
|
|
361
|
+
readonly default: false;
|
|
362
|
+
readonly ui: {
|
|
363
|
+
readonly tab: "appearance";
|
|
364
|
+
readonly label: "Transparent Status Line";
|
|
365
|
+
readonly description: "Use the terminal's default background for the status line instead of the theme's `statusLineBg`. Powerline end caps are dropped because they need a contrasting fill to bridge into the surrounding terminal.";
|
|
366
|
+
};
|
|
367
|
+
};
|
|
359
368
|
readonly "tools.artifactSpillThreshold": {
|
|
360
369
|
readonly type: "number";
|
|
361
370
|
readonly default: 50;
|
|
@@ -691,7 +700,7 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
691
700
|
readonly ui: {
|
|
692
701
|
readonly tab: "appearance";
|
|
693
702
|
readonly label: "Smooth Streaming";
|
|
694
|
-
readonly description: "Reveal assistant text smoothly while
|
|
703
|
+
readonly description: "Reveal assistant text and streamed tool input smoothly while chunks arrive";
|
|
695
704
|
};
|
|
696
705
|
};
|
|
697
706
|
readonly "display.showTokenUsage": {
|
|
@@ -1201,6 +1210,42 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
1201
1210
|
readonly description: "Show condensed changelog after updates";
|
|
1202
1211
|
};
|
|
1203
1212
|
};
|
|
1213
|
+
readonly "magicKeywords.enabled": {
|
|
1214
|
+
readonly type: "boolean";
|
|
1215
|
+
readonly default: true;
|
|
1216
|
+
readonly ui: {
|
|
1217
|
+
readonly tab: "interaction";
|
|
1218
|
+
readonly label: "Magic Keywords";
|
|
1219
|
+
readonly description: "Enable hidden notices for standalone ultrathink, orchestrate, and workflowz keywords";
|
|
1220
|
+
};
|
|
1221
|
+
};
|
|
1222
|
+
readonly "magicKeywords.ultrathink": {
|
|
1223
|
+
readonly type: "boolean";
|
|
1224
|
+
readonly default: true;
|
|
1225
|
+
readonly ui: {
|
|
1226
|
+
readonly tab: "interaction";
|
|
1227
|
+
readonly label: "Ultrathink Keyword";
|
|
1228
|
+
readonly description: "Let standalone ultrathink request maximum automatic thinking and append its hidden notice";
|
|
1229
|
+
};
|
|
1230
|
+
};
|
|
1231
|
+
readonly "magicKeywords.orchestrate": {
|
|
1232
|
+
readonly type: "boolean";
|
|
1233
|
+
readonly default: true;
|
|
1234
|
+
readonly ui: {
|
|
1235
|
+
readonly tab: "interaction";
|
|
1236
|
+
readonly label: "Orchestrate Keyword";
|
|
1237
|
+
readonly description: "Let standalone orchestrate append its hidden multi-agent orchestration notice";
|
|
1238
|
+
};
|
|
1239
|
+
};
|
|
1240
|
+
readonly "magicKeywords.workflow": {
|
|
1241
|
+
readonly type: "boolean";
|
|
1242
|
+
readonly default: true;
|
|
1243
|
+
readonly ui: {
|
|
1244
|
+
readonly tab: "interaction";
|
|
1245
|
+
readonly label: "Workflow Keyword";
|
|
1246
|
+
readonly description: "Let standalone workflowz append its hidden eval workflow notice";
|
|
1247
|
+
};
|
|
1248
|
+
};
|
|
1204
1249
|
readonly "completion.notify": {
|
|
1205
1250
|
readonly type: "enum";
|
|
1206
1251
|
readonly values: readonly ["on", "off"];
|
|
@@ -2834,11 +2879,11 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
2834
2879
|
};
|
|
2835
2880
|
readonly "async.enabled": {
|
|
2836
2881
|
readonly type: "boolean";
|
|
2837
|
-
readonly default:
|
|
2882
|
+
readonly default: true;
|
|
2838
2883
|
readonly ui: {
|
|
2839
2884
|
readonly tab: "tools";
|
|
2840
2885
|
readonly label: "Async Execution";
|
|
2841
|
-
readonly description: "Enable async bash commands";
|
|
2886
|
+
readonly description: "Enable async bash commands and background task execution";
|
|
2842
2887
|
};
|
|
2843
2888
|
};
|
|
2844
2889
|
readonly "async.maxJobs": {
|
|
@@ -3089,7 +3134,7 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
3089
3134
|
readonly ui: {
|
|
3090
3135
|
readonly tab: "tasks";
|
|
3091
3136
|
readonly label: "Batch Task Calls";
|
|
3092
|
-
readonly description: "Switch the task tool to its batch shape: one call carries { agent, context, tasks[] } — one subagent per item (with per-item isolation) and a required shared context prepended to every assignment.
|
|
3137
|
+
readonly description: "Switch the task tool to its batch shape: one call carries { agent, context, tasks[] } — one subagent per item (with per-item isolation) and a required shared context prepended to every assignment. With async.enabled=true, each spawn runs as an independent background agent with the normal idle/parked lifecycle; otherwise the call blocks for merged results. Disable to restore the flat single-spawn schema.";
|
|
3093
3138
|
};
|
|
3094
3139
|
};
|
|
3095
3140
|
readonly "task.maxConcurrency": {
|