pi-outpost 0.32.3 → 0.32.4
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/README.md
CHANGED
|
@@ -12,6 +12,9 @@ like `ANTHROPIC_API_KEY`, or the setup screen). The default embedded runtime alr
|
|
|
12
12
|
the [pi coding agent](https://github.com/earendil-works/pi); a separate `pi` executable is
|
|
13
13
|
needed only when `agentRuntime.mode` is `"rpc"`.
|
|
14
14
|
|
|
15
|
+
When extensions are enabled, the embedded runtime also loads Pi's built-in `codemode`,
|
|
16
|
+
`tool_search` and MCP extensions. Pi settings and MCP configuration decide which tools are active.
|
|
17
|
+
|
|
15
18
|
## It will not start without a configuration file
|
|
16
19
|
|
|
17
20
|
That is deliberate. The config decides the agent's working directory, which tools it gets, and whether it can write files or run bash — and inferring that from whatever directory you happen to be standing in is not a decision anyone wants made for them. `init` writes the safe version (read-only, no bash) for you to open up as needed.
|
|
@@ -12370,7 +12370,7 @@ function rulePatterns(profile, rules, sources) {
|
|
|
12370
12370
|
}
|
|
12371
12371
|
|
|
12372
12372
|
// shared/bin/validate-structured-exchange.mjs
|
|
12373
|
-
var VERSION = `validate-structured-exchange ${false ? "development" : "0.32.
|
|
12373
|
+
var VERSION = `validate-structured-exchange ${false ? "development" : "0.32.4"}`;
|
|
12374
12374
|
var USAGE = `validate-structured-exchange [file]
|
|
12375
12375
|
validate-structured-exchange --profile <profile.json> [file]
|
|
12376
12376
|
validate-structured-exchange --check-profile <profile.json>
|
package/dist/pi-outpost.mjs
CHANGED
|
@@ -110849,6 +110849,9 @@ import Fastify from "fastify";
|
|
|
110849
110849
|
import {
|
|
110850
110850
|
createAgentSessionFromServices,
|
|
110851
110851
|
createAgentSessionServices,
|
|
110852
|
+
createCodemodeExtension,
|
|
110853
|
+
createMcpExtension,
|
|
110854
|
+
createToolSearchExtension,
|
|
110852
110855
|
getAgentDir as getAgentDir2,
|
|
110853
110856
|
SessionManager
|
|
110854
110857
|
} from "@earendil-works/pi-coding-agent";
|
|
@@ -185688,6 +185691,7 @@ var EmbeddedRuntime = class {
|
|
|
185688
185691
|
});
|
|
185689
185692
|
}
|
|
185690
185693
|
for (const extensionPath of this.session.extensionRunner.getExtensionPaths()) {
|
|
185694
|
+
if (/^<inline:[^>]+>$/.test(extensionPath)) continue;
|
|
185691
185695
|
const name = extensionPath.split(/[\\/]/).filter(Boolean).at(-1)?.replace(/\.[^.]+$/, "") ?? extensionPath;
|
|
185692
185696
|
resources2.push({ id: `extension:${extensionPath}`, kind: "extension", name, origin: "runtime", path: extensionPath });
|
|
185693
185697
|
}
|
|
@@ -201644,8 +201648,8 @@ function cacheControlFor(url) {
|
|
|
201644
201648
|
}
|
|
201645
201649
|
|
|
201646
201650
|
// ../server/src/index.ts
|
|
201647
|
-
var VERSION2 = true ? "0.32.
|
|
201648
|
-
var PI_SDK_VERSION = true ? "0.99.
|
|
201651
|
+
var VERSION2 = true ? "0.32.4" : "dev";
|
|
201652
|
+
var PI_SDK_VERSION = true ? "0.99.2" : readInstalledPiSdkVersion();
|
|
201649
201653
|
var LAUNCH_DIR = process.env.INIT_CWD ?? process.cwd();
|
|
201650
201654
|
function complain(error) {
|
|
201651
201655
|
const message = error instanceof Error ? error.message : String(error);
|
|
@@ -202203,7 +202207,17 @@ var makeCreateRuntime = (sandboxedTools, publishInto) => async ({ cwd, sessionMa
|
|
|
202203
202207
|
...config.promptPaths.length > 0 ? { additionalPromptTemplatePaths: config.promptPaths } : {},
|
|
202204
202208
|
...config.systemPrompt !== void 0 ? { systemPrompt: config.systemPrompt } : {},
|
|
202205
202209
|
...appendSystemPrompt.length > 0 ? { appendSystemPrompt } : {},
|
|
202206
|
-
|
|
202210
|
+
extensionFactories: [
|
|
202211
|
+
...extraFactories,
|
|
202212
|
+
// The Pi CLI loads these built-ins itself; SDK sessions do not. Keep the
|
|
202213
|
+
// embedded runtime's extension set in step with the CLI, including MCP's
|
|
202214
|
+
// codemode/tool_search activation when configured servers need them.
|
|
202215
|
+
...!config.noExtensions ? [
|
|
202216
|
+
{ name: "codemode", factory: createCodemodeExtension(), replaceable: true },
|
|
202217
|
+
{ name: "tool-search", factory: createToolSearchExtension(), replaceable: true },
|
|
202218
|
+
{ name: "mcp", factory: createMcpExtension(), replaceable: true }
|
|
202219
|
+
] : []
|
|
202220
|
+
]
|
|
202207
202221
|
}
|
|
202208
202222
|
});
|
|
202209
202223
|
const extResult = services.resourceLoader.getExtensions();
|
package/dist/pi-outpost.sea.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/dist/pi-outpost.sea.mjs
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 35801861 bytes
|
|
4
|
+
sha256: 3193b173a90f68e016149099ea42bda6d938198dd63814d3a6fe9931cddd5d30
|
package/dist/sea-prep.blob
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/dist/sea-prep.blob
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 35800919 bytes
|
|
4
|
+
sha256: b5f5679e4b5698a1a32c0232b05b32e4b555f249324727514e329f7265b0d76c
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-outpost",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A web interface for the pi coding agent: a browser chat UI you run with npx — no clone, no build.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"prepack": "node scripts/build.mjs"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@earendil-works/pi-coding-agent": "^0.99.
|
|
56
|
+
"@earendil-works/pi-coding-agent": "^0.99.2",
|
|
57
57
|
"@fastify/static": "^10.1.2",
|
|
58
58
|
"@fastify/websocket": "^11.0.2",
|
|
59
59
|
"fastify": "^5.3.0",
|