@sigrun/sigrun 0.10.1 → 0.11.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/CHANGELOG.md +36 -0
- package/README.md +19 -18
- package/dist/curation/runs.js +65 -50
- package/dist/curation/skill-tool.js +1 -1
- package/dist/extension.d.ts +2 -1
- package/dist/harness/blocks/tools.js +1 -1
- package/dist/harness/boot.js +94 -28
- package/dist/harness/decision-tool.js +1 -1
- package/dist/harness/decisions.js +1 -1
- package/dist/harness/event-bus.js +19 -9
- package/dist/harness/loader.js +14 -6
- package/dist/harness/migration-snapshot.js +104 -0
- package/dist/harness/packages.js +2 -1
- package/dist/harness/reports.js +83 -35
- package/dist/harness/tools.js +1 -1
- package/dist/jobs/docs.js +23 -3
- package/dist/jobs/index.js +74 -15
- package/dist/jobs/observe.js +26 -9
- package/dist/jobs/reconcile.js +12 -3
- package/dist/jobs/restart-limit.js +39 -0
- package/dist/sandbox/protocol.js +3 -2
- package/dist/sandbox/sandboxed-env.js +4 -0
- package/dist/sandbox/worker.js +21 -4
- package/dist/server/conversation-watch.js +49 -0
- package/dist/server/helpers.js +5 -5
- package/dist/server/host-bridge.js +6 -3
- package/dist/server/routes/admin.js +7 -36
- package/dist/server/routes/jobs.js +30 -1
- package/dist/server/routes/metrics.js +31 -7
- package/dist/server/routes/stream.js +6 -3
- package/dist/server/schema-fixture.js +59 -56
- package/dist/skills/index.js +1 -1
- package/node_modules/@sigrun/shared/CHANGELOG.md +8 -0
- package/node_modules/@sigrun/shared/dist/live.d.ts +25 -0
- package/node_modules/@sigrun/shared/dist/live.js +30 -0
- package/node_modules/@sigrun/shared/dist/views.d.ts +15 -0
- package/node_modules/@sigrun/shared/package.json +1 -1
- package/package.json +14 -14
- package/webui/dist/assets/{index-Bh9dImMT.js → index-B77MiI5E.js} +2 -2
- package/webui/dist/assets/index-BvOKatk4.css +1 -0
- package/webui/dist/index.html +2 -2
- package/dist/jobs/parked.js +0 -38
- package/webui/dist/assets/index-B3T0KKiX.css +0 -1
|
@@ -94,7 +94,22 @@ export interface ViewConversation {
|
|
|
94
94
|
/** The upstream view, as the channel reads it. */
|
|
95
95
|
export interface ConversationViewBase {
|
|
96
96
|
readonly conversation: ViewConversation;
|
|
97
|
+
/**
|
|
98
|
+
* D1-A (the binding contract): `entries` is the conversation's
|
|
99
|
+
* append-only, fork-aware RAW HISTORY keyed by entry id — NEVER the
|
|
100
|
+
* model's context, and nothing in core cuts entries at a
|
|
101
|
+
* `pi.compaction`/`pi.reset` head marker. The server's watch window is
|
|
102
|
+
* pinned so it never slides (`FULL_HISTORY_WINDOW`), so this list only
|
|
103
|
+
* ever grows; head markers sit where they were written.
|
|
104
|
+
*/
|
|
97
105
|
readonly entries: readonly ViewEntry[];
|
|
106
|
+
/**
|
|
107
|
+
* ID of the entry just before the window (pi-durable 1.5.0's
|
|
108
|
+
* `ConversationView.before`). Absent under the server's full-history
|
|
109
|
+
* watch — the window always starts the transcript — but declared so a
|
|
110
|
+
* client folding a foreign/resumed view stays structurally sound.
|
|
111
|
+
*/
|
|
112
|
+
readonly before?: number;
|
|
98
113
|
/** Built-in conversation documents keyed by kind; absent documents are absent. */
|
|
99
114
|
readonly docs: Readonly<Record<string, JsonObject>>;
|
|
100
115
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sigrun/sigrun",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Self-hosted, multi-user personal-assistant server",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -39,18 +39,18 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@aws-sdk/client-s3": "^3.1154.0",
|
|
42
|
-
"@earendil-works/chord": "1.
|
|
43
|
-
"@earendil-works/pi-ai": "1.
|
|
44
|
-
"@earendil-works/pi-durable": "1.
|
|
42
|
+
"@earendil-works/chord": "1.5.0",
|
|
43
|
+
"@earendil-works/pi-ai": "1.5.0",
|
|
44
|
+
"@earendil-works/pi-durable": "1.5.0",
|
|
45
45
|
"@earendil-works/pi-tui": "^1.3.0",
|
|
46
46
|
"@fastify/static": "^10.1.7",
|
|
47
|
-
"@sigrun/ext-codemode": "0.1.
|
|
48
|
-
"@sigrun/ext-curator": "0.3.
|
|
49
|
-
"@sigrun/ext-gateway": "0.1.
|
|
50
|
-
"@sigrun/ext-mcp": "0.2.
|
|
51
|
-
"@sigrun/ext-tool-search": "0.1.
|
|
52
|
-
"@sigrun/oauth": "0.1.
|
|
53
|
-
"@sigrun/shared": "0.
|
|
47
|
+
"@sigrun/ext-codemode": "0.1.3",
|
|
48
|
+
"@sigrun/ext-curator": "0.3.3",
|
|
49
|
+
"@sigrun/ext-gateway": "0.1.22",
|
|
50
|
+
"@sigrun/ext-mcp": "0.2.4",
|
|
51
|
+
"@sigrun/ext-tool-search": "0.1.3",
|
|
52
|
+
"@sigrun/oauth": "0.1.2",
|
|
53
|
+
"@sigrun/shared": "0.11.0",
|
|
54
54
|
"croner": "^10.0.1",
|
|
55
55
|
"fastify": "^5.12.7",
|
|
56
56
|
"semver": "^7.8.5",
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"@sigrun/shared"
|
|
62
62
|
],
|
|
63
63
|
"optionalDependencies": {
|
|
64
|
-
"@sigrun/sandbox-linux-arm64": "0.
|
|
65
|
-
"@sigrun/sandbox-linux-x64": "0.
|
|
66
|
-
"@sigrun/tui": "0.
|
|
64
|
+
"@sigrun/sandbox-linux-arm64": "0.11.0",
|
|
65
|
+
"@sigrun/sandbox-linux-x64": "0.11.0",
|
|
66
|
+
"@sigrun/tui": "0.11.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@sigrun/memory-markdown": "file:../sigrun-memory-markdown",
|