context-mode 2.1.1 → 2.1.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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/README.md +73 -73
- package/SHA256SUMS +15 -15
- package/cli.mjs +148 -138
- package/copilot/plugin.json +1 -1
- package/gemini-extension.json +1 -1
- package/hook.mjs +81 -81
- package/opencode/plugin.js +305 -216
- package/package.json +1 -1
- package/pi/index.js +359 -268
- package/qwen-extension.json +1 -1
- package/run.mjs +3 -2
- package/search.mjs +3 -2
- package/server.mjs +335 -250
package/qwen-extension.json
CHANGED
package/run.mjs
CHANGED
|
@@ -1136,7 +1136,7 @@ var PI_EVENTS = {
|
|
|
1136
1136
|
tool_call: { event: "PreToolUse" },
|
|
1137
1137
|
tool_result: { event: "PostToolUse" }
|
|
1138
1138
|
};
|
|
1139
|
-
var NATIVE_TO_CANONICAL6 = { bash: "Bash", read: "Read" };
|
|
1139
|
+
var NATIVE_TO_CANONICAL6 = { bash: "Bash", read: "Read", edit: "Edit", write: "Write" };
|
|
1140
1140
|
function record(v) {
|
|
1141
1141
|
return typeof v === "object" && v !== null && !Array.isArray(v) ? v : {};
|
|
1142
1142
|
}
|
|
@@ -1406,8 +1406,9 @@ var ADAPTERS = Object.freeze([
|
|
|
1406
1406
|
installMode: "in-process",
|
|
1407
1407
|
projectSource: "pi:ctx.cwd",
|
|
1408
1408
|
toolNamePrefix: TOOL_NAME_PREFIX9,
|
|
1409
|
-
nativeTools: { shell: ["bash"], read: ["read"] },
|
|
1409
|
+
nativeTools: { shell: ["bash", "powershell"], read: ["read"] },
|
|
1410
1410
|
execReadOnlyHint: false,
|
|
1411
|
+
// D-R38-PI-PWSH-1: Pi on Windows names its shell tool "powershell"
|
|
1411
1412
|
eventMap: { SessionStart: "session_start", UserPromptSubmit: "input", PreToolUse: "tool_call", PostToolUse: "tool_result" },
|
|
1412
1413
|
compactDelivery: "pi-flag",
|
|
1413
1414
|
compactSummary: "none",
|
package/search.mjs
CHANGED
|
@@ -1136,7 +1136,7 @@ var PI_EVENTS = {
|
|
|
1136
1136
|
tool_call: { event: "PreToolUse" },
|
|
1137
1137
|
tool_result: { event: "PostToolUse" }
|
|
1138
1138
|
};
|
|
1139
|
-
var NATIVE_TO_CANONICAL6 = { bash: "Bash", read: "Read" };
|
|
1139
|
+
var NATIVE_TO_CANONICAL6 = { bash: "Bash", read: "Read", edit: "Edit", write: "Write" };
|
|
1140
1140
|
function record(v) {
|
|
1141
1141
|
return typeof v === "object" && v !== null && !Array.isArray(v) ? v : {};
|
|
1142
1142
|
}
|
|
@@ -1406,8 +1406,9 @@ var ADAPTERS = Object.freeze([
|
|
|
1406
1406
|
installMode: "in-process",
|
|
1407
1407
|
projectSource: "pi:ctx.cwd",
|
|
1408
1408
|
toolNamePrefix: TOOL_NAME_PREFIX9,
|
|
1409
|
-
nativeTools: { shell: ["bash"], read: ["read"] },
|
|
1409
|
+
nativeTools: { shell: ["bash", "powershell"], read: ["read"] },
|
|
1410
1410
|
execReadOnlyHint: false,
|
|
1411
|
+
// D-R38-PI-PWSH-1: Pi on Windows names its shell tool "powershell"
|
|
1411
1412
|
eventMap: { SessionStart: "session_start", UserPromptSubmit: "input", PreToolUse: "tool_call", PostToolUse: "tool_result" },
|
|
1412
1413
|
compactDelivery: "pi-flag",
|
|
1413
1414
|
compactSummary: "none",
|