@pi-sparkles/pi-sparkles 0.1.12 → 0.1.14
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 +23 -0
- package/CONFIGURATION.md +12 -0
- package/README.md +25 -2
- package/SHA256SUMS +11 -11
- package/THIRD_PARTY_NOTICES.md +58 -0
- package/aggregate-lock.json +139 -139
- package/build.json +4 -0
- package/metafile.json +1035 -275
- package/package.json +1 -1
- package/release-lock.json +4 -4
- package/runtime.js +49083 -18825
- package/runtime.js.map +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,29 @@ 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.14 - 2026-10-23
|
|
9
|
+
|
|
10
|
+
- Decode Pi 1.4.0 `before_agent_start` as a user or custom run and keep finance
|
|
11
|
+
track routing on both, including extension `sendMessage` turns. A missing
|
|
12
|
+
`messageType` still counts as a user start so 1.0.x hosts keep working.
|
|
13
|
+
- Test the T6 package against Pi 1.4.0. Bundled Pi Durable, Chord, and Pi AI
|
|
14
|
+
remain 1.0.2 for the opt-in watchlist.
|
|
15
|
+
|
|
16
|
+
## 0.1.13 - 2026-10-04
|
|
17
|
+
|
|
18
|
+
- Let Pi offer to remember personal watchlist picks across chats through
|
|
19
|
+
conversation. Local storage stays off until the user accepts, and saving
|
|
20
|
+
picks does not start polling.
|
|
21
|
+
- Use Pi Durable 1.0.2 for private local documents, bounded review tasks,
|
|
22
|
+
receipts, cancellation and restart recovery. Scheduled checks run while Pi
|
|
23
|
+
owns the store; interrupted source reads remain unknown without refetching.
|
|
24
|
+
- Reuse the explicitly selected Eastmoney A-share quote tool for CN reviews.
|
|
25
|
+
CN/HK/US picks can be saved, while HK/US review acquisition remains
|
|
26
|
+
`track_partial`. Interpretation stays with the model and user.
|
|
27
|
+
- Bundle the exact Durable SDK dependencies lazily and verify the cumulative
|
|
28
|
+
135-component package with Pi 1.0.2. Keep DSH's per-agent watchlist counterpart
|
|
29
|
+
on its existing session-log lifecycle.
|
|
30
|
+
|
|
8
31
|
## 0.1.12 - 2026-10-02
|
|
9
32
|
|
|
10
33
|
- Always emit a `required` array on Pi tool object schemas, including `[]`
|
package/CONFIGURATION.md
CHANGED
|
@@ -8,6 +8,18 @@ silently fall back or share authority.
|
|
|
8
8
|
Required-versus-optional behavior and entitlement limits remain controlled by
|
|
9
9
|
the named plugin's contract.
|
|
10
10
|
|
|
11
|
+
Personal watchlists offer conversational opt-in through `watchlist_durable`.
|
|
12
|
+
Nothing creates the local store or polls a source before acceptance. The default
|
|
13
|
+
private `~/.pi-sparkles-watchlist` reopens after acceptance; custom directories
|
|
14
|
+
are explicit tool inputs. Saving picks does not schedule checks. Optional CN
|
|
15
|
+
Eastmoney A-share reviews require runtime `AGENT_CONTACT`, explicit timing
|
|
16
|
+
and a bounded count; HK/US review acquisition is `track_partial`. Jobs run
|
|
17
|
+
while Pi owns the store. Inspect receipts with `watchlist_review_status`;
|
|
18
|
+
interrupted reads remain unknown and are not automatically refetched. Disable
|
|
19
|
+
through `watchlist_durable` to stop automatic reopening, retaining saved data.
|
|
20
|
+
Pi Durable 1.0.2, Chord 1.0.2 and Pi AI 1.0.2 are pinned and lazily bundled
|
|
21
|
+
inside the Pi watchlist artifact; no SDK package is resolved at runtime.
|
|
22
|
+
|
|
11
23
|
| Plugin | Provider | Access | Referenced environment variables |
|
|
12
24
|
| --- | --- | --- | --- |
|
|
13
25
|
| `finance_track_status` | provider-neutral | see plugin contract | `AGENT_CONTACT` |
|
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.14
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
|
|
@@ -98,6 +98,29 @@ Your credentials stay in your runtime environment. Sparkles for Pi does not add
|
|
|
98
98
|
to the package or save them in Pi settings. For a project-local installation,
|
|
99
99
|
add `--local` to `pi install`.
|
|
100
100
|
|
|
101
|
+
## Remember personal picks with Pi Durable
|
|
102
|
+
|
|
103
|
+
Sparkles can offer to remember watchlist picks across chats. Accept through
|
|
104
|
+
conversation; no command-line opt-in is needed. Storage and polling are off
|
|
105
|
+
until you accept. The default private `~/.pi-sparkles-watchlist` reopens in
|
|
106
|
+
later Pi chats. Saving picks does not start polling.
|
|
107
|
+
|
|
108
|
+
For example, tell Pi: "My picks are CN 600519 and CN 600000." Pi can offer
|
|
109
|
+
to remember them; reply "Yes, remember these picks across chats" to opt in.
|
|
110
|
+
Later, ask "Show my saved picks" or "Review my core watchlist once using
|
|
111
|
+
Eastmoney A-share quotes." The model owns the conversation and interpretation.
|
|
112
|
+
|
|
113
|
+
Ask for a one-off review, or explicitly choose an interval and bounded count.
|
|
114
|
+
CN reviews reuse the selected Eastmoney A-share quote tool and runtime
|
|
115
|
+
`AGENT_CONTACT`. HK/US picks are saved; their review acquisition is
|
|
116
|
+
`track_partial`. Checks run while Pi is open. Interrupted reads remain
|
|
117
|
+
unknown without automatic refetch. Ask to inspect receipts, cancel a review,
|
|
118
|
+
or disable persistence through conversation. Saved data is retained on disable.
|
|
119
|
+
|
|
120
|
+
Pi Durable 1.0.2 and its SDK dependencies are included and initialize only
|
|
121
|
+
after opt-in. This feature is specific to the Pi package. DSH keeps its
|
|
122
|
+
per-agent session watchlist and does not run these Durable tasks.
|
|
123
|
+
|
|
101
124
|
## External day-trader and broker dependencies
|
|
102
125
|
|
|
103
126
|
Transaction-tape and broker-review tools require exact caller-supplied packets
|
|
@@ -112,4 +135,4 @@ Sparkles for Pi is read-only research software: it cannot place, change, or canc
|
|
|
112
135
|
broker orders. It is not investment, legal, accounting, or tax advice. See
|
|
113
136
|
`CONFIGURATION.md` for the complete source and configuration reference.
|
|
114
137
|
|
|
115
|
-
Version 0.1.
|
|
138
|
+
Version 0.1.14 · Pi package `@pi-sparkles/pi-sparkles` · tested with Pi 1.4.0
|
package/SHA256SUMS
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
f8f004b8079c30ad063f8f7cb1b7f38d22867a6f7c2076e9847773457ad4de8d aggregate-lock.json
|
|
2
|
+
e709ac8e575d22317c164bf5f50812b1da755057724e2caf1d4e42220a661191 build.json
|
|
3
|
+
5143dc6375b15e850a63dca699ff3cab130b575a0098ebd15bfec8be143e0cf1 CHANGELOG.md
|
|
4
|
+
4df7e46a4343c3f940a18d79593c8c26db2d875033e105d8141c0ac82b97b7e2 CONFIGURATION.md
|
|
5
5
|
ed5049dc2fba56cdd0b474b8a5983b62c91042be9710fc2d5e92d20caf42485a index.js
|
|
6
6
|
c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
a3f9042c54a859781205ddcf46d0a4894c256f31da19373ab414c8c244b371fc metafile.json
|
|
8
|
+
6887a47f1b81986c62aba962a3a176db2c10cffed542a903746befb12f6792cb package.json
|
|
9
|
+
064bbbb24958493e6edf3603fa4eb6ac95adb9ebee9f5930723997db45b7fa48 README.md
|
|
10
|
+
e44096325faa4da734910131c52cb92bd009d7c148e4ee5085c027d203e4f5e0 release-lock.json
|
|
11
|
+
95f27c8a95154a6634394062882b9e6d35e1b0779a1dcfa3e57b12aa1c578e47 runtime.js
|
|
12
|
+
5963a787b1da5c1e4f8690101bef97cf3da086e9f6c4dd58aec628027308c970 runtime.js.map
|
|
13
13
|
55f8635b1a174907129c477809e87925b6b019c38d7bf61ca5766f4be801f88d SECURITY.md
|
|
14
|
-
|
|
14
|
+
0a05fe5b3cefb100db3dfa233b5458ff490f75efc715a39ac4e4c5f8719912b1 THIRD_PARTY_NOTICES.md
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -11,6 +11,8 @@ third-party software. These notices do not change the licence of Pi Sparkles.
|
|
|
11
11
|
| Gleam JSON | 3.1.0 | Apache-2.0 | https://github.com/gleam-lang/json |
|
|
12
12
|
| Gleam JavaScript | 1.0.1 | Apache-2.0 | https://github.com/gleam-lang/javascript |
|
|
13
13
|
| Zod | 4.4.3 | MIT | https://github.com/colinhacks/zod |
|
|
14
|
+
| Pi Durable, Chord, Pi AI | 1.0.2 | MIT | https://github.com/earendil-works/pi |
|
|
15
|
+
| TypeBox | 1.3.27 | MIT | https://github.com/sinclairzx81/typebox |
|
|
14
16
|
|
|
15
17
|
The complete Apache License, Version 2.0 is distributed in `LICENSE`.
|
|
16
18
|
`pdfjs-dist` remains an exact runtime dependency because the PDF text path
|
|
@@ -61,3 +63,59 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
61
63
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
62
64
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
63
65
|
SOFTWARE.
|
|
66
|
+
|
|
67
|
+
## Optional Pi Durable runtime
|
|
68
|
+
|
|
69
|
+
`@earendil-works/pi-durable`, `@earendil-works/chord`, and
|
|
70
|
+
`@earendil-works/pi-ai` are pinned to 1.0.2 and bundled as lazy initializers
|
|
71
|
+
inside the optional Pi watchlist artifact for compatibility with compiled Pi.
|
|
72
|
+
They initialize after user opt-in. The included dependency licences follow
|
|
73
|
+
below. DSH does not include this Pi Durable runtime.
|
|
74
|
+
|
|
75
|
+
MIT License
|
|
76
|
+
|
|
77
|
+
Copyright (c) 2025 Mario Zechner
|
|
78
|
+
|
|
79
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
80
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
81
|
+
in the Software without restriction, including without limitation the rights
|
|
82
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
83
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
84
|
+
furnished to do so, subject to the following conditions:
|
|
85
|
+
|
|
86
|
+
The above copyright notice and this permission notice shall be included in all
|
|
87
|
+
copies or substantial portions of the Software.
|
|
88
|
+
|
|
89
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
90
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
91
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
92
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
93
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
94
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
95
|
+
SOFTWARE.
|
|
96
|
+
|
|
97
|
+
## TypeBox MIT licence
|
|
98
|
+
|
|
99
|
+
TypeBox
|
|
100
|
+
|
|
101
|
+
The MIT License (MIT)
|
|
102
|
+
|
|
103
|
+
Copyright (c) 2017-2026 Haydn Paterson
|
|
104
|
+
|
|
105
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
106
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
107
|
+
in the Software without restriction, including without limitation the rights
|
|
108
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
109
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
110
|
+
furnished to do so, subject to the following conditions:
|
|
111
|
+
|
|
112
|
+
The above copyright notice and this permission notice shall be included in
|
|
113
|
+
all copies or substantial portions of the Software.
|
|
114
|
+
|
|
115
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
116
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
117
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
118
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
119
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
120
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
121
|
+
THE SOFTWARE.
|