@pi-sparkles/pi-sparkles 0.1.9 → 0.1.10
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 +13 -0
- package/README.md +2 -2
- package/SHA256SUMS +9 -9
- package/aggregate-lock.json +3 -3
- package/index.js +13 -9
- package/metafile.json +3 -3
- package/package.json +1 -1
- package/release-lock.json +5 -5
- package/runtime.js +2 -2
- package/runtime.js.map +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,19 @@ here. Versions follow Semantic Versioning. The exact selected tier, plugin
|
|
|
5
5
|
inventory, maturity, and content hashes remain authoritative in each tarball's
|
|
6
6
|
`release-lock.json` and `aggregate-lock.json`.
|
|
7
7
|
|
|
8
|
+
## 0.1.10 - 2026-09-01
|
|
9
|
+
|
|
10
|
+
- Replace the `0.1.9` bootstrap's `Function`-created dynamic import with the
|
|
11
|
+
host runtime's native `createRequire` loader. Pi 0.84.4 evaluates extension
|
|
12
|
+
entrypoints inside Jiti's VM context, where the former construct fails during
|
|
13
|
+
normal interactive startup because no dynamic-import callback is installed.
|
|
14
|
+
- Replace the false-positive `--list-models` release smoke with an offline,
|
|
15
|
+
sessionless Pi RPC request that actually loads and registers the complete
|
|
16
|
+
extension before exiting. Keep the same 15-second hard startup limit.
|
|
17
|
+
- Retain lazy PDF.js initialization, the exact Bun-compatible canvas pin, the
|
|
18
|
+
content-locked split runtime, and the unchanged 135-plugin product inventory.
|
|
19
|
+
The independent DSH host lane is unaffected by the Pi-only bootstrap defect.
|
|
20
|
+
|
|
8
21
|
## 0.1.9 - 2026-09-01
|
|
9
22
|
|
|
10
23
|
- Keep PDF.js and its native canvas polyfills out of Pi's extension-import and
|
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ buying now, or when to sell. You do not need to ask it to "use tools" first.
|
|
|
33
33
|
## Quick start
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
|
-
pi install npm:@pi-sparkles/pi-sparkles@0.1.
|
|
36
|
+
pi install npm:@pi-sparkles/pi-sparkles@0.1.10
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
|
|
@@ -112,4 +112,4 @@ Sparkles for Pi is read-only research software: it cannot place, change, or canc
|
|
|
112
112
|
broker orders. It is not investment, legal, accounting, or tax advice. See
|
|
113
113
|
`CONFIGURATION.md` for the complete source and configuration reference.
|
|
114
114
|
|
|
115
|
-
Version 0.1.
|
|
115
|
+
Version 0.1.10 · Pi package `@pi-sparkles/pi-sparkles`
|
package/SHA256SUMS
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
33b2da14026b0a3f1efeb71365f29c0d8aae1fbed9df954115d807afd06c7530 aggregate-lock.json
|
|
2
2
|
f501ae76aa93b89c2788e000c739a5930ab2182185352a4405b158af28e9b9d9 build.json
|
|
3
|
-
|
|
3
|
+
43b751287812aeccb32364d389889646b06fba72c3e88afdd8d2423298d7e0fd CHANGELOG.md
|
|
4
4
|
7f0d4d42e8092c62332043e8e15c478c88e189ab03a52268db1115fab5fc3528 CONFIGURATION.md
|
|
5
|
-
|
|
5
|
+
ed5049dc2fba56cdd0b474b8a5983b62c91042be9710fc2d5e92d20caf42485a index.js
|
|
6
6
|
c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
181b05137dbcdb210d24edbe7003c365d61619a9f51cef9f0a4498dd38500c2d metafile.json
|
|
8
|
+
d027954a886b5ae7a0248b568db2391ec625112bce3106255c30b476fbbac5a6 package.json
|
|
9
|
+
eb168ddd94ee0fbfe9472fa716ccd6a91b80c863f7c6b3fc6bd37d3669a73645 README.md
|
|
10
|
+
d313c1cc8c7c45d637a5055f57a6936b7c979bb18dfcfc264291d0a608f35afa release-lock.json
|
|
11
|
+
1aa77d2f6dc9b4f340df5093b32db69bc80c10dea0d5006e47f640ea771c6713 runtime.js
|
|
12
|
+
ae4853c20c847a37702735576769be6282b8d922210958ee8cf2486a9c5fa245 runtime.js.map
|
|
13
13
|
55f8635b1a174907129c477809e87925b6b019c38d7bf61ca5766f4be801f88d SECURITY.md
|
|
14
14
|
04d8fb705ce57084885232721b4c45759e483908e4c2f0d18eee41123df82277 THIRD_PARTY_NOTICES.md
|
package/aggregate-lock.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"package": {
|
|
4
4
|
"name": "pi-sparkles-aggregate-t6",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.10"
|
|
6
6
|
},
|
|
7
7
|
"throughTierId": "T6",
|
|
8
8
|
"maturity": "product_useful_aggregate",
|
|
@@ -2174,6 +2174,6 @@
|
|
|
2174
2174
|
],
|
|
2175
2175
|
"collisionPolicy": "fail_before_duplicate_named_registration_is_forwarded_to_pi",
|
|
2176
2176
|
"credentialsIncluded": false,
|
|
2177
|
-
"entrypointSha256": "
|
|
2178
|
-
"bundleSha256": "
|
|
2177
|
+
"entrypointSha256": "ed5049dc2fba56cdd0b474b8a5983b62c91042be9710fc2d5e92d20caf42485a",
|
|
2178
|
+
"bundleSha256": "1aa77d2f6dc9b4f340df5093b32db69bc80c10dea0d5006e47f640ea771c6713"
|
|
2179
2179
|
}
|
package/index.js
CHANGED
|
@@ -1,25 +1,29 @@
|
|
|
1
|
+
import { createRequire } from "node:module";
|
|
1
2
|
import { truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
|
|
2
3
|
|
|
3
4
|
const runtimeUrl = new URL("./runtime.js", import.meta.url).href;
|
|
4
5
|
const hostBridgeKey = Symbol.for("pi-sparkles:pi-tui-host:" + runtimeUrl);
|
|
5
6
|
// Pi's compiled host intentionally transforms extension entrypoints through
|
|
6
|
-
// Jiti. Keep the entrypoint tiny and
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
// Jiti. Keep the entrypoint tiny and use the host runtime's native module
|
|
8
|
+
// loader for the content-locked generated runtime. A Function-created dynamic
|
|
9
|
+
// import cannot run inside Jiti's vm context without an import callback.
|
|
10
|
+
const requireRuntime = createRequire(import.meta.url);
|
|
11
|
+
let runtimeModule;
|
|
10
12
|
|
|
11
13
|
function loadRuntime() {
|
|
12
|
-
if (
|
|
14
|
+
if (runtimeModule === undefined) {
|
|
13
15
|
globalThis[hostBridgeKey] = Object.freeze({ truncateToWidth, visibleWidth });
|
|
14
|
-
|
|
16
|
+
try {
|
|
17
|
+
runtimeModule = requireRuntime("./runtime.js");
|
|
18
|
+
} finally {
|
|
15
19
|
delete globalThis[hostBridgeKey];
|
|
16
|
-
}
|
|
20
|
+
}
|
|
17
21
|
}
|
|
18
|
-
return
|
|
22
|
+
return runtimeModule;
|
|
19
23
|
}
|
|
20
24
|
|
|
21
25
|
export default async function aggregateExtension(api) {
|
|
22
|
-
const loaded =
|
|
26
|
+
const loaded = loadRuntime();
|
|
23
27
|
if (typeof loaded.default !== "function") {
|
|
24
28
|
throw new Error("Pi Sparkles runtime has no aggregate extension factory");
|
|
25
29
|
}
|
package/metafile.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"inputs": {
|
|
3
|
-
".work/aggregate-adapters/t6-
|
|
3
|
+
".work/aggregate-adapters/t6-165381-972ce169-59f6-40ab-ba94-c982f01632e4.mjs": {
|
|
4
4
|
"bytes": 15339,
|
|
5
5
|
"imports": [
|
|
6
6
|
{
|
|
@@ -3908,7 +3908,7 @@
|
|
|
3908
3908
|
"dist/trade_compliance/index.js": {
|
|
3909
3909
|
"bytesInOutput": 136161
|
|
3910
3910
|
},
|
|
3911
|
-
".work/aggregate-adapters/t6-
|
|
3911
|
+
".work/aggregate-adapters/t6-165381-972ce169-59f6-40ab-ba94-c982f01632e4.mjs": {
|
|
3912
3912
|
"bytesInOutput": 8378
|
|
3913
3913
|
}
|
|
3914
3914
|
},
|
|
@@ -3916,7 +3916,7 @@
|
|
|
3916
3916
|
"exports": [
|
|
3917
3917
|
"default"
|
|
3918
3918
|
],
|
|
3919
|
-
"entryPoint": ".work/aggregate-adapters/t6-
|
|
3919
|
+
"entryPoint": ".work/aggregate-adapters/t6-165381-972ce169-59f6-40ab-ba94-c982f01632e4.mjs"
|
|
3920
3920
|
}
|
|
3921
3921
|
}
|
|
3922
3922
|
}
|
package/package.json
CHANGED
package/release-lock.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"package": {
|
|
4
4
|
"name": "@pi-sparkles/pi-sparkles",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.10"
|
|
6
6
|
},
|
|
7
7
|
"throughTierId": "T6",
|
|
8
8
|
"maturity": "product_useful_aggregate",
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
"sourceAggregate": {
|
|
12
12
|
"package": {
|
|
13
13
|
"name": "pi-sparkles-aggregate-t6",
|
|
14
|
-
"version": "0.1.
|
|
14
|
+
"version": "0.1.10"
|
|
15
15
|
},
|
|
16
|
-
"aggregateLockSha256": "
|
|
17
|
-
"entrypointSha256": "
|
|
18
|
-
"bundleSha256": "
|
|
16
|
+
"aggregateLockSha256": "33b2da14026b0a3f1efeb71365f29c0d8aae1fbed9df954115d807afd06c7530",
|
|
17
|
+
"entrypointSha256": "ed5049dc2fba56cdd0b474b8a5983b62c91042be9710fc2d5e92d20caf42485a",
|
|
18
|
+
"bundleSha256": "1aa77d2f6dc9b4f340df5093b32db69bc80c10dea0d5006e47f640ea771c6713"
|
|
19
19
|
},
|
|
20
20
|
"npmRegistry": "https://registry.npmjs.org/",
|
|
21
21
|
"npmFiles": [
|
package/runtime.js
CHANGED
|
@@ -693694,7 +693694,7 @@ function extension135(api) {
|
|
|
693694
693694
|
}
|
|
693695
693695
|
var trade_compliance_default = extension135;
|
|
693696
693696
|
|
|
693697
|
-
// .work/aggregate-adapters/t6-
|
|
693697
|
+
// .work/aggregate-adapters/t6-165381-972ce169-59f6-40ab-ba94-c982f01632e4.mjs
|
|
693698
693698
|
var extensions = [
|
|
693699
693699
|
["finance_setup", finance_setup_default],
|
|
693700
693700
|
["finance_track_status", finance_track_status_default],
|
|
@@ -693879,4 +693879,4 @@ export {
|
|
|
693879
693879
|
aggregateExtension as default
|
|
693880
693880
|
};
|
|
693881
693881
|
|
|
693882
|
-
//# debugId=
|
|
693882
|
+
//# debugId=8080AC585F0C574264756E2164756E21
|