wherever-dev 0.18.4 → 0.19.0
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/builtin-extensions.d.ts +28 -0
- package/dist/builtin-extensions.d.ts.map +1 -0
- package/dist/builtin-extensions.js +28 -0
- package/dist/builtin-extensions.js.map +1 -0
- package/dist/config-dir.d.ts +13 -0
- package/dist/config-dir.d.ts.map +1 -0
- package/dist/config-dir.js +18 -0
- package/dist/config-dir.js.map +1 -0
- package/dist/extension-lifecycle.d.ts +3 -2
- package/dist/extension-lifecycle.d.ts.map +1 -1
- package/dist/extension-lifecycle.js +8 -4
- package/dist/extension-lifecycle.js.map +1 -1
- package/dist/index.js +377 -35
- package/dist/index.js.map +1 -1
- package/dist/pi-sdk-policy.d.ts +91 -0
- package/dist/pi-sdk-policy.d.ts.map +1 -0
- package/dist/pi-sdk-policy.js +173 -0
- package/dist/pi-sdk-policy.js.map +1 -0
- package/dist/pi-sdk.d.ts +56 -0
- package/dist/pi-sdk.d.ts.map +1 -0
- package/dist/pi-sdk.js +124 -0
- package/dist/pi-sdk.js.map +1 -0
- package/dist/protocol.d.ts +23 -0
- package/dist/protocol.d.ts.map +1 -1
- package/dist/session-pool.d.ts +56 -12
- package/dist/session-pool.d.ts.map +1 -1
- package/dist/session-pool.js +108 -36
- package/dist/session-pool.js.map +1 -1
- package/dist/upload-gate.d.ts +96 -0
- package/dist/upload-gate.d.ts.map +1 -0
- package/dist/upload-gate.js +109 -0
- package/dist/upload-gate.js.map +1 -0
- package/dist/upload-staging.d.ts +172 -0
- package/dist/upload-staging.d.ts.map +1 -0
- package/dist/upload-staging.js +368 -0
- package/dist/upload-staging.js.map +1 -0
- package/package.json +5 -3
- package/public/_app/immutable/assets/{0.BnOlDJL_.css → 0.Cb5vRzMp.css} +1 -1
- package/public/_app/immutable/chunks/{wEbpki5g.js → B4u7MCsa.js} +2 -2
- package/public/_app/immutable/chunks/{wEbpki5g.js.map → B4u7MCsa.js.map} +1 -1
- package/public/_app/immutable/chunks/{D7qz2w2U.js → CMMpRRWm.js} +2 -2
- package/public/_app/immutable/chunks/{D7qz2w2U.js.map → CMMpRRWm.js.map} +1 -1
- package/public/_app/immutable/chunks/{Ds-VJGnt.js → D7cniAcl.js} +2 -2
- package/public/_app/immutable/chunks/{Ds-VJGnt.js.map → D7cniAcl.js.map} +1 -1
- package/public/_app/immutable/entry/{app.DTMeXTQG.js → app.B09hP3rk.js} +3 -3
- package/public/_app/immutable/entry/{app.DTMeXTQG.js.map → app.B09hP3rk.js.map} +1 -1
- package/public/_app/immutable/entry/start.DsunIvKH.js +2 -0
- package/public/_app/immutable/entry/start.DsunIvKH.js.map +1 -0
- package/public/_app/immutable/nodes/{0.CCTuxjIi.js → 0.Bl6oKVU5.js} +2 -2
- package/public/_app/immutable/nodes/{0.CCTuxjIi.js.map → 0.Bl6oKVU5.js.map} +1 -1
- package/public/_app/immutable/nodes/{1.5ZhRu6ko.js → 1.H6kc-Qsz.js} +2 -2
- package/public/_app/immutable/nodes/{1.5ZhRu6ko.js.map → 1.H6kc-Qsz.js.map} +1 -1
- package/public/_app/immutable/nodes/2.B6sChdvF.js +120 -0
- package/public/_app/immutable/nodes/2.B6sChdvF.js.map +1 -0
- package/public/_app/version.json +1 -1
- package/public/index.html +11 -11
- package/public/service-worker.js +1 -1
- package/public/_app/immutable/entry/start.CwhL7q0v.js +0 -2
- package/public/_app/immutable/entry/start.CwhL7q0v.js.map +0 -1
- package/public/_app/immutable/nodes/2.DOUZvKq4.js +0 -120
- package/public/_app/immutable/nodes/2.DOUZvKq4.js.map +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { InlineExtension } from '@earendil-works/pi-coding-agent';
|
|
2
|
+
/**
|
|
3
|
+
* pi's BUILT-IN extensions (native MCP, codemode, tool search, plus llama.cpp
|
|
4
|
+
* when the SDK install provides its own list) for server-created sessions.
|
|
5
|
+
*
|
|
6
|
+
* The pi CLI loads them on its own (`builtInExtensions` in its main entry), but
|
|
7
|
+
* the SDK does not: "SDK sessions do not load built-in extensions". Without
|
|
8
|
+
* this, a web session would have no MCP at all even though the same user's
|
|
9
|
+
* terminal pi connects every server in `mcp.json`.
|
|
10
|
+
*
|
|
11
|
+
* They come from the SAME install as the rest of the SDK (pi-sdk.ts), as that
|
|
12
|
+
* install's CLI defines them: `builtin: true` entries, so they behave as in a
|
|
13
|
+
* terminal pi:
|
|
14
|
+
* - they load as `builtin:<name>` extension paths, so `-builtin:mcp` (or any
|
|
15
|
+
* other name) in the `extensions` setting, i.e. `pi config` > Built-in,
|
|
16
|
+
* turns them off for web sessions too;
|
|
17
|
+
* - `replaceable: true`: an installed extension that registers `/mcp`,
|
|
18
|
+
* `codemode` or `tool_search` (pi-mcp-adapter, say) takes over instead of
|
|
19
|
+
* both loading with a conflict, as in the CLI.
|
|
20
|
+
*
|
|
21
|
+
* Every factory keeps its state inside the `(pi) => ...` call, so one entry is
|
|
22
|
+
* safely shared by every session: each session build gets its own instance.
|
|
23
|
+
* The MCP extension connects its servers on `session_start`, which
|
|
24
|
+
* `bindServerSessionExtensions()` emits, and closes them on
|
|
25
|
+
* `session_shutdown`, which `shutdownAndDisposeAgentSession()` emits.
|
|
26
|
+
*/
|
|
27
|
+
export declare const serverBuiltinExtensions: readonly InlineExtension[];
|
|
28
|
+
//# sourceMappingURL=builtin-extensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builtin-extensions.d.ts","sourceRoot":"","sources":["../src/builtin-extensions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAGvE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,uBAAuB,EAAE,SAAS,eAAe,EAAwB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { piBuiltinExtensions } from './pi-sdk.js';
|
|
2
|
+
/**
|
|
3
|
+
* pi's BUILT-IN extensions (native MCP, codemode, tool search, plus llama.cpp
|
|
4
|
+
* when the SDK install provides its own list) for server-created sessions.
|
|
5
|
+
*
|
|
6
|
+
* The pi CLI loads them on its own (`builtInExtensions` in its main entry), but
|
|
7
|
+
* the SDK does not: "SDK sessions do not load built-in extensions". Without
|
|
8
|
+
* this, a web session would have no MCP at all even though the same user's
|
|
9
|
+
* terminal pi connects every server in `mcp.json`.
|
|
10
|
+
*
|
|
11
|
+
* They come from the SAME install as the rest of the SDK (pi-sdk.ts), as that
|
|
12
|
+
* install's CLI defines them: `builtin: true` entries, so they behave as in a
|
|
13
|
+
* terminal pi:
|
|
14
|
+
* - they load as `builtin:<name>` extension paths, so `-builtin:mcp` (or any
|
|
15
|
+
* other name) in the `extensions` setting, i.e. `pi config` > Built-in,
|
|
16
|
+
* turns them off for web sessions too;
|
|
17
|
+
* - `replaceable: true`: an installed extension that registers `/mcp`,
|
|
18
|
+
* `codemode` or `tool_search` (pi-mcp-adapter, say) takes over instead of
|
|
19
|
+
* both loading with a conflict, as in the CLI.
|
|
20
|
+
*
|
|
21
|
+
* Every factory keeps its state inside the `(pi) => ...` call, so one entry is
|
|
22
|
+
* safely shared by every session: each session build gets its own instance.
|
|
23
|
+
* The MCP extension connects its servers on `session_start`, which
|
|
24
|
+
* `bindServerSessionExtensions()` emits, and closes them on
|
|
25
|
+
* `session_shutdown`, which `shutdownAndDisposeAgentSession()` emits.
|
|
26
|
+
*/
|
|
27
|
+
export const serverBuiltinExtensions = piBuiltinExtensions;
|
|
28
|
+
//# sourceMappingURL=builtin-extensions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builtin-extensions.js","sourceRoot":"","sources":["../src/builtin-extensions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAA+B,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Directory holding `config.json`. `WHEREVER_CONFIG_DIR` overrides the default
|
|
3
|
+
* `~/.wherever` so a test server can run in FULL isolation (ADR 0001): without
|
|
4
|
+
* it, an isolated harness still reads the developer's real config, so e.g. a
|
|
5
|
+
* personal `sessions.ignore: ["/tmp/**"]` silently hid the harness's own
|
|
6
|
+
* temp-dir sessions from /sessions.
|
|
7
|
+
*
|
|
8
|
+
* Its own module (re-exported by session-pool.ts) because `pi-sdk.ts` reads
|
|
9
|
+
* the config BEFORE session-pool.ts can load: session-pool imports the SDK
|
|
10
|
+
* that pi-sdk.ts picks.
|
|
11
|
+
*/
|
|
12
|
+
export declare function getWhereverConfigDir(): string;
|
|
13
|
+
//# sourceMappingURL=config-dir.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-dir.d.ts","sourceRoot":"","sources":["../src/config-dir.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,IAAI,MAAM,CAG7C"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import os from 'node:os';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
/**
|
|
4
|
+
* Directory holding `config.json`. `WHEREVER_CONFIG_DIR` overrides the default
|
|
5
|
+
* `~/.wherever` so a test server can run in FULL isolation (ADR 0001): without
|
|
6
|
+
* it, an isolated harness still reads the developer's real config, so e.g. a
|
|
7
|
+
* personal `sessions.ignore: ["/tmp/**"]` silently hid the harness's own
|
|
8
|
+
* temp-dir sessions from /sessions.
|
|
9
|
+
*
|
|
10
|
+
* Its own module (re-exported by session-pool.ts) because `pi-sdk.ts` reads
|
|
11
|
+
* the config BEFORE session-pool.ts can load: session-pool imports the SDK
|
|
12
|
+
* that pi-sdk.ts picks.
|
|
13
|
+
*/
|
|
14
|
+
export function getWhereverConfigDir() {
|
|
15
|
+
const override = process.env.WHEREVER_CONFIG_DIR;
|
|
16
|
+
return override && override.trim() ? path.resolve(override.trim()) : path.join(os.homedir(), '.wherever');
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=config-dir.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-dir.js","sourceRoot":"","sources":["../src/config-dir.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B;;;;;;;;;;GAUG;AACH,MAAM,UAAU,oBAAoB;IAClC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC;IACjD,OAAO,QAAQ,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,EAAE,WAAW,CAAC,CAAC;AAC5G,CAAC"}
|
|
@@ -31,8 +31,9 @@ import type { AgentSession } from '@earendil-works/pi-coding-agent';
|
|
|
31
31
|
* rebuilds with a FRESH loader (see SessionPool.reloadSession), whose first
|
|
32
32
|
* `reload()` does not clear, so without this the rebuilt agent silently runs the
|
|
33
33
|
* old code. `clearExtensionCache` is not in the package's `exports` map, so it is
|
|
34
|
-
* reached through the module file
|
|
35
|
-
*
|
|
34
|
+
* reached through the module file inside the package the server runs on
|
|
35
|
+
* (`piSdkInfo.root`, see pi-sdk.ts); it is the same module instance that SDK
|
|
36
|
+
* uses (same URL). If a future SDK moves it, reload
|
|
36
37
|
* still works for settings, skills, prompts and context files, and this logs
|
|
37
38
|
* why extension edits were not picked up. Pinned by test/session-reload-ws.test.ts.
|
|
38
39
|
* Clearing is safe for other sessions: their next build just reloads from disk.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension-lifecycle.d.ts","sourceRoot":"","sources":["../src/extension-lifecycle.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"extension-lifecycle.d.ts","sourceRoot":"","sources":["../src/extension-lifecycle.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,iCAAiC,CAAC;AAGpF;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,IAAI,CAAC,CAa3D;AAED,qFAAqF;AACrF,eAAO,MAAM,6BAA6B,OAAQ,CAAC;AAEnD;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B,QAAS,CAAC;AAEnD,KAAK,iBAAiB,GAAG,UAAU,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAWvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,GAAG,iBAAiB,CAmBpG;AAED,2GAA2G;AAC3G,wBAAsB,2BAA2B,CAC/C,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,MAAM,EACb,WAAW,SAA+B,GACzC,OAAO,CAAC,IAAI,CAAC,CAcf;AAED;;;;;;GAMG;AACH,wBAAsB,8BAA8B,CAClD,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,MAAM,EACb,SAAS,SAAgC,EACzC,MAAM,GAAE,MAAM,GAAG,QAAiB,GACjC,OAAO,CAAC,IAAI,CAAC,CAoCf"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import path from 'node:path';
|
|
2
|
+
import { pathToFileURL } from 'node:url';
|
|
3
|
+
import { piSdkInfo } from './pi-sdk.js';
|
|
1
4
|
/**
|
|
2
5
|
* The pi EXTENSION LIFECYCLE for server-created sessions.
|
|
3
6
|
*
|
|
@@ -30,16 +33,17 @@
|
|
|
30
33
|
* rebuilds with a FRESH loader (see SessionPool.reloadSession), whose first
|
|
31
34
|
* `reload()` does not clear, so without this the rebuilt agent silently runs the
|
|
32
35
|
* old code. `clearExtensionCache` is not in the package's `exports` map, so it is
|
|
33
|
-
* reached through the module file
|
|
34
|
-
*
|
|
36
|
+
* reached through the module file inside the package the server runs on
|
|
37
|
+
* (`piSdkInfo.root`, see pi-sdk.ts); it is the same module instance that SDK
|
|
38
|
+
* uses (same URL). If a future SDK moves it, reload
|
|
35
39
|
* still works for settings, skills, prompts and context files, and this logs
|
|
36
40
|
* why extension edits were not picked up. Pinned by test/session-reload-ws.test.ts.
|
|
37
41
|
* Clearing is safe for other sessions: their next build just reloads from disk.
|
|
38
42
|
*/
|
|
39
43
|
export async function clearPiExtensionCache() {
|
|
40
44
|
try {
|
|
41
|
-
const
|
|
42
|
-
const loader = (await import(
|
|
45
|
+
const loaderFile = path.join(piSdkInfo.root, 'dist', 'core', 'extensions', 'loader.js');
|
|
46
|
+
const loader = (await import(pathToFileURL(loaderFile).href));
|
|
43
47
|
if (typeof loader.clearExtensionCache !== 'function')
|
|
44
48
|
throw new Error('clearExtensionCache not found');
|
|
45
49
|
loader.clearExtensionCache();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension-lifecycle.js","sourceRoot":"","sources":["../src/extension-lifecycle.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"extension-lifecycle.js","sourceRoot":"","sources":["../src/extension-lifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB;IACzC,IAAI,CAAC;QACH,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM,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