sphica 0.1.0 → 0.2.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/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/README.md +1 -10
- package/THIRD_PARTY_NOTICES.md +1006 -3145
- package/db/schema.sql +2 -2
- package/dist/capture.js +1 -23
- package/dist/cli.js +14753 -93262
- package/dist/mcp.js +1 -25
- package/package.json +1 -1
- package/skills/trace/example.json +10 -10
package/dist/mcp.js
CHANGED
|
@@ -45719,30 +45719,6 @@ function labelOf(k) {
|
|
|
45719
45719
|
import fs2 from "node:fs";
|
|
45720
45720
|
import path2 from "node:path";
|
|
45721
45721
|
import { fileURLToPath } from "node:url";
|
|
45722
|
-
|
|
45723
|
-
// server/src/palette.ts
|
|
45724
|
-
var PALETTE = {
|
|
45725
|
-
terracotta: "#C4704B",
|
|
45726
|
-
rosewood: "#A85D5D",
|
|
45727
|
-
failure: "#A85D5D",
|
|
45728
|
-
sage: "#9CAF88",
|
|
45729
|
-
lichen: "#8FAFA3",
|
|
45730
|
-
ochre: "#CFA764",
|
|
45731
|
-
slate: "#8E9CB0",
|
|
45732
|
-
plum: "#A7899F",
|
|
45733
|
-
taupe: "#A99C8C",
|
|
45734
|
-
sand: "#D6C4A2"
|
|
45735
|
-
};
|
|
45736
|
-
|
|
45737
|
-
// server/src/panel.ts
|
|
45738
|
-
var MARKS = {
|
|
45739
|
-
ok: ["✓", PALETTE.sage],
|
|
45740
|
-
warn: ["△", PALETTE.ochre],
|
|
45741
|
-
fail: ["✗", PALETTE.failure],
|
|
45742
|
-
none: ["○", PALETTE.taupe]
|
|
45743
|
-
};
|
|
45744
|
-
|
|
45745
|
-
// server/src/plugin.ts
|
|
45746
45722
|
var MANIFEST = path2.join(".claude-plugin", "plugin.json");
|
|
45747
45723
|
function versionAt(root) {
|
|
45748
45724
|
try {
|
|
@@ -46044,7 +46020,7 @@ var WORDS = {
|
|
|
46044
46020
|
badRef: "unreadable reference (k: / s: / w: take a number, m: takes a uuid)",
|
|
46045
46021
|
clipped: (ref, shown, total) => `
|
|
46046
46022
|
|
|
46047
|
-
(${ref}: showing ${shown} of ${total} bytes because of the length limit. ` + "Search for words in the rest with an exact match: recall match: exact
|
|
46023
|
+
(${ref}: showing ${shown} of ${total} bytes because of the length limit. ` + "Search for words in the rest with an exact match: recall match: exact)",
|
|
46048
46024
|
thisResponse: "this response",
|
|
46049
46025
|
confidence: "Confidence",
|
|
46050
46026
|
refs: "Evidence",
|
package/package.json
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"work": {
|
|
9
9
|
"key": "local",
|
|
10
10
|
"title": "Move to a setup that runs entirely on the local machine",
|
|
11
|
-
"goal": "Drop the cloud dependencies,
|
|
12
|
-
"current": "Finished the server side and the
|
|
11
|
+
"goal": "Drop the cloud dependencies, look records up through MCP only, and read a local SQLite file",
|
|
12
|
+
"current": "Finished the server side and the CLI, and ran them against a local database",
|
|
13
13
|
"next": [
|
|
14
14
|
"Move distribution to npm",
|
|
15
15
|
"Human: confirm before deleting the old environment"
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"kind": "decision",
|
|
48
48
|
"status": "accepted",
|
|
49
49
|
"at": "2026-09-20T12:30:00+09:00",
|
|
50
|
-
"text": "
|
|
50
|
+
"text": "Look records up through MCP (recall and read), with no listening server",
|
|
51
51
|
"context": "A localhost server can be hit from other pages open in a browser. Opening no port is smaller than keeping a boundary to defend",
|
|
52
52
|
"options": [
|
|
53
53
|
{
|
|
54
|
-
"text": "
|
|
54
|
+
"text": "MCP tools over stdio",
|
|
55
55
|
"chosen": true
|
|
56
56
|
},
|
|
57
57
|
{
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"why": "it would mean keeping Host checks and CSRF checks forever"
|
|
61
61
|
}
|
|
62
62
|
],
|
|
63
|
-
"confirmation": "
|
|
63
|
+
"confirmation": "recall found the records with no port open",
|
|
64
64
|
"downsides": [
|
|
65
|
-
"
|
|
65
|
+
"no screen for browsing records; lookups go through search"
|
|
66
66
|
]
|
|
67
67
|
},
|
|
68
68
|
{
|
|
@@ -89,12 +89,12 @@
|
|
|
89
89
|
"text": "Dropped pgtyped for typing SQL. It cannot handle search queries whose conditions are built at run time, and its docs state query composition is unsupported"
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
|
-
"key": "
|
|
92
|
+
"key": "listener-check",
|
|
93
93
|
"kind": "verification",
|
|
94
94
|
"status": "passed",
|
|
95
95
|
"at": "2026-09-20T13:20:00+09:00",
|
|
96
|
-
"text": "
|
|
97
|
-
"command": "
|
|
96
|
+
"text": "no Sphica process listens on a TCP port",
|
|
97
|
+
"command": "lsof -nP -iTCP -sTCP:LISTEN | grep -i sphica",
|
|
98
98
|
"verifies": "no-server"
|
|
99
99
|
},
|
|
100
100
|
{
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"kind": "question",
|
|
103
103
|
"status": "blocking",
|
|
104
104
|
"at": "2026-09-20T13:30:00+09:00",
|
|
105
|
-
"text": "
|
|
105
|
+
"text": "Does the CLI's terminal output hold up on Windows? (No real machine; CI can only check the printed strings)"
|
|
106
106
|
}
|
|
107
107
|
]
|
|
108
108
|
}
|