@pi-sparkles/pi-sparkles 0.1.12 → 0.1.13

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 CHANGED
@@ -5,6 +5,21 @@ 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.13 - 2026-10-04
9
+
10
+ - Let Pi offer to remember personal watchlist picks across chats through
11
+ conversation. Local storage stays off until the user accepts, and saving
12
+ picks does not start polling.
13
+ - Use Pi Durable 1.0.2 for private local documents, bounded review tasks,
14
+ receipts, cancellation and restart recovery. Scheduled checks run while Pi
15
+ owns the store; interrupted source reads remain unknown without refetching.
16
+ - Reuse the explicitly selected Eastmoney A-share quote tool for CN reviews.
17
+ CN/HK/US picks can be saved, while HK/US review acquisition remains
18
+ `track_partial`. Interpretation stays with the model and user.
19
+ - Bundle the exact Durable SDK dependencies lazily and verify the cumulative
20
+ 135-component package with Pi 1.0.2. Keep DSH's per-agent watchlist counterpart
21
+ on its existing session-log lifecycle.
22
+
8
23
  ## 0.1.12 - 2026-10-02
9
24
 
10
25
  - 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.12
36
+ pi install npm:@pi-sparkles/pi-sparkles@0.1.13
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.12 · Pi package `@pi-sparkles/pi-sparkles` · tested with Pi 1.0.0
138
+ Version 0.1.13 · Pi package `@pi-sparkles/pi-sparkles` · tested with Pi 1.0.2
package/SHA256SUMS CHANGED
@@ -1,14 +1,14 @@
1
- 63e34a2595653429a887a2d067f07f9ead5c863e7e720894a6656ff38e6729fc aggregate-lock.json
2
- f501ae76aa93b89c2788e000c739a5930ab2182185352a4405b158af28e9b9d9 build.json
3
- ef54b85e569d0a3bebb17016713df6e395764cb3a75d220a3160128fe49de82c CHANGELOG.md
4
- d7aa7ffcca8308fda0103f88becc143be2bc4295c80f993bf821133afe7706c7 CONFIGURATION.md
1
+ 89e9775da8f3b3ce101d2852de6c03a9058cfb448d75c1aa316c1f28ad4a7b1c aggregate-lock.json
2
+ e709ac8e575d22317c164bf5f50812b1da755057724e2caf1d4e42220a661191 build.json
3
+ 794a86a663a2fe576a14bfc2795cfdba6d998344554cb487a2f625b8604c5f46 CHANGELOG.md
4
+ 4df7e46a4343c3f940a18d79593c8c26db2d875033e105d8141c0ac82b97b7e2 CONFIGURATION.md
5
5
  ed5049dc2fba56cdd0b474b8a5983b62c91042be9710fc2d5e92d20caf42485a index.js
6
6
  c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE
7
- e62ac92bed94b46c50163915c7eb81b3fef3c47d8680d623e985992215f01db1 metafile.json
8
- a25dd22030fee76606f756ba7cd322a2c089b78b12f0b1f7a0663472bef7bbc7 package.json
9
- f4572aa9bd0ce1a9381c4f065aacf21511a501c77dcb1543040c7b902d8466a3 README.md
10
- 014a8e5122a42ea96f3de5292fdb79d3f119e02855dd8265c6236e3de3b27f06 release-lock.json
11
- f791d5ec5505ad1c9701b1c0b0e164f559d0aa7c13b017c0bdb091023c9e8626 runtime.js
12
- 1616b486a89a101f3c0747e6f2b6fc9dfb6644d15216ea45dc373a0af619d623 runtime.js.map
7
+ 434e06475f861228e2778ad8bfcb14980baf428e34c7018dd68770a7230b1f15 metafile.json
8
+ e177f4c7882183ba0e46a7296ee1e0f07b23d2bc9af113fa08a7871bd4ada1c7 package.json
9
+ 9c13d71e0c436997cc6e9d29653879954cf065aacacda3ae088e24dc12333158 README.md
10
+ bb5306fc051ebe8e6c220449591d29df106f5612432fba1235f5f570857b32e7 release-lock.json
11
+ bc8e310516ccc8d3fb370acb616a1e9c682dd0dadc77fd1a9cdba1492256a77b runtime.js
12
+ 70a8373d6785825c2e9b69f1ea98e3f4e243b3dd70402ed7581e177e349f2255 runtime.js.map
13
13
  55f8635b1a174907129c477809e87925b6b019c38d7bf61ca5766f4be801f88d SECURITY.md
14
- 04d8fb705ce57084885232721b4c45759e483908e4c2f0d18eee41123df82277 THIRD_PARTY_NOTICES.md
14
+ 0a05fe5b3cefb100db3dfa233b5458ff490f75efc715a39ac4e4c5f8719912b1 THIRD_PARTY_NOTICES.md
@@ -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.