wiki-plugin-rcnspc 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.md +24 -2
- package/client/rcnspc.js +1110 -0
- package/factory.json +1 -0
- package/index.js +2 -0
- package/package.json +28 -4
- package/pages/about-rcnspc-plugin +233 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Marc Pierson
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
-
#
|
|
1
|
+
# wiki-plugin-rcnspc
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
An RCN process behavior chart on a Federated Wiki page: an XmR, p, u or run chart, with change points that say what changed and when.
|
|
4
|
+
|
|
5
|
+
The item holds the chart's session, the same thing the full tool's **Save session as JSON** writes (format `rcn-spc/1`): the data, the chart settings, the flags and the change points with their notes. The page draws the chart, its numbers and its verdicts, and folds the tables of signals and phases under the chart. **✎ Edit in the tool** opens `rcn-spc.html` with the session; its **→ Save to wiki item** writes it back into the item.
|
|
6
|
+
|
|
7
|
+
To start one, add an RCN Process Behavior Chart from the Factory and drop a CSV (first row the column names, one row per period, in time order) or a saved `.spc.json` session on it. Only the wiki's owner can drop.
|
|
8
|
+
|
|
9
|
+
## Item
|
|
10
|
+
|
|
11
|
+
```json
|
|
12
|
+
{ "type": "rcnspc", "id": "…", "text": "caption\nwhat is charted\nwhat changed",
|
|
13
|
+
"session": { "format": "rcn-spc/1", "data": { "cols": [], "rows": [] }, "note": null,
|
|
14
|
+
"settings": {}, "flags": {}, "changePoints": [ { "row": 19, "note": "…", "url": "" } ] } }
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
`text` is rebuilt on every save: the first line is the caption (keep it as you like), the rest is for search.
|
|
18
|
+
|
|
19
|
+
## Building
|
|
20
|
+
|
|
21
|
+
The arithmetic and drawing are `tools/rcn-spc-core.js` in the rcn repo, the same file the tool pastes in, and the chart styles are copied out of `tools/rcn-spc.html`. After editing either: `node tools/paste-spc-core.js` (in the rcn repo), then `node build.js` here. `node build.js --check` says whether anything is out of date.
|
|
22
|
+
|
|
23
|
+
The tool opens from `localhost:8765/tools/rcn-spc.html` on a local wiki and from NDC Assets everywhere else.
|
|
24
|
+
|
|
25
|
+
Marc Pierson with Claude Opus 5.5, December 2026. MIT licence.
|