pi2dsh 0.6.0 → 0.6.1
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 +5 -0
- package/README.zh.md +4 -0
- package/dist/host.mjs +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/dist/{runtime-xNd10ACP.mjs → runtime-CPvg87et.mjs} +17 -2
- package/dist/{runtime-xNd10ACP.mjs.map → runtime-CPvg87et.mjs.map} +1 -1
- package/dist/runtime.d.mts +8 -1
- package/dist/runtime.d.mts.map +1 -1
- package/dist/runtime.mjs +2 -2
- package/package.json +1 -1
package/dist/runtime.d.mts
CHANGED
|
@@ -17,6 +17,13 @@ declare function normalizeToolSchema(schema: unknown): {
|
|
|
17
17
|
schema: UnknownRecord;
|
|
18
18
|
warnings: string[];
|
|
19
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* Load models.json routes for a host with NO mounted Pi package yet — the
|
|
22
|
+
* single-directory capability (custom providers + image-admission
|
|
23
|
+
* companions in the DSH picker) is the bridge's own, not any plugin's.
|
|
24
|
+
* A later package mount adopts the same shared snapshot.
|
|
25
|
+
*/
|
|
26
|
+
declare function ensureModelsJsonRoutes(ctx: Context): Promise<void>;
|
|
20
27
|
declare function splitArguments(input: string): string[];
|
|
21
28
|
declare function expandPrompt(text: string, rawInput: string): string;
|
|
22
29
|
declare function applyPiPackage(ctx: Context, options: RuntimeOptions): Promise<void>;
|
|
@@ -27,5 +34,5 @@ declare const runtimeInternals: {
|
|
|
27
34
|
textBlocks: typeof textBlocks;
|
|
28
35
|
};
|
|
29
36
|
//#endregion
|
|
30
|
-
export { applyPiPackage, normalizeToolSchema, runtimeInternals };
|
|
37
|
+
export { applyPiPackage, ensureModelsJsonRoutes, normalizeToolSchema, runtimeInternals };
|
|
31
38
|
//# sourceMappingURL=runtime.d.mts.map
|
package/dist/runtime.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.mts","names":[],"sources":["../src/runtime.ts"],"mappings":";;;;KAyCK,gBAAgB;UAGX;EACR,SAAS;EACT,UAAU;EACV,SAAS;;iBA4JF,WAAW,mBAAmB;EAAQ;EAAc;;iBAcpD,oBAAoB,kBAAkB;iBAuH/B,oBAAoB;EAAoB,QAAQ;EAAe
|
|
1
|
+
{"version":3,"file":"runtime.d.mts","names":[],"sources":["../src/runtime.ts"],"mappings":";;;;KAyCK,gBAAgB;UAGX;EACR,SAAS;EACT,UAAU;EACV,SAAS;;iBA4JF,WAAW,mBAAmB;EAAQ;EAAc;;iBAcpD,oBAAoB,kBAAkB;iBAuH/B,oBAAoB;EAAoB,QAAQ;EAAe;;;;;;;;iBAigCzD,uBAAuB,KAAK,UAAU;iBAkqBnD,eAAe;iBA+Bf,aAAa,cAAc;iBAuHd,eAAe,KAAK,SAAS,SAAS,iBAAiB;cA6HhE"}
|
package/dist/runtime.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
import { n as
|
|
3
|
-
export { applyPiPackage, normalizeToolSchema, runtimeInternals };
|
|
2
|
+
import { i as runtimeInternals, n as ensureModelsJsonRoutes, r as normalizeToolSchema, t as applyPiPackage } from "./runtime-CPvg87et.mjs";
|
|
3
|
+
export { applyPiPackage, ensureModelsJsonRoutes, normalizeToolSchema, runtimeInternals };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi2dsh",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Bridge the Pi and DeepSeek Harness ecosystems: a general Pi Host ABI that runs unmodified Pi extensions as native DSH plugins, plus per-package conversion and MCP config translation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|