pi-pocket 0.28.0 → 0.28.1
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/docs/customizing.md +1 -1
- package/docs/features.md +3 -3
- package/docs/map.md +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/src/server/alerts.ts +21 -8
- package/src/server/app.ts +15 -2
- package/src/server/commands.ts +385 -77
- package/src/server/compaction.ts +56 -2
- package/src/server/docs.ts +42 -0
- package/src/server/extensions/schedules.ts +1 -1
- package/src/server/http/conversation-routes.ts +22 -0
- package/src/server/pip.ts +8 -0
- package/src/server/resend.ts +25 -8
- package/src/server/room.ts +17 -1
- package/src/server/running.ts +3 -0
- package/src/server/schedules.ts +111 -11
- package/web/composer.js +101 -3
- package/web/running-board.js +1 -0
- package/web/sheets/schedules.js +6 -0
- package/web/store.js +7 -0
- package/web/style.css +37 -0
- package/web/transcript.js +15 -0
package/web/style.css
CHANGED
|
@@ -10095,6 +10095,7 @@ textarea.notes {
|
|
|
10095
10095
|
trust) and for a watch that had to stop. */
|
|
10096
10096
|
.driver-bar,
|
|
10097
10097
|
.plan-bar,
|
|
10098
|
+
.held-bar,
|
|
10098
10099
|
.goal-bar,
|
|
10099
10100
|
.watch-bar,
|
|
10100
10101
|
.trust-bar,
|
|
@@ -10115,6 +10116,7 @@ textarea.notes {
|
|
|
10115
10116
|
|
|
10116
10117
|
.driver-bar::before,
|
|
10117
10118
|
.plan-bar::before,
|
|
10119
|
+
.held-bar::before,
|
|
10118
10120
|
.goal-bar::before,
|
|
10119
10121
|
.watch-bar::before,
|
|
10120
10122
|
.trust-bar::before,
|
|
@@ -10151,6 +10153,41 @@ textarea.notes {
|
|
|
10151
10153
|
margin-left: auto;
|
|
10152
10154
|
}
|
|
10153
10155
|
|
|
10156
|
+
/* Messages a Stop held: their words, then Show and Send; the list under them scrolls past a few rows. */
|
|
10157
|
+
.held-bar {
|
|
10158
|
+
--tone: var(--accent);
|
|
10159
|
+
}
|
|
10160
|
+
|
|
10161
|
+
.held-bar > .grow {
|
|
10162
|
+
flex: 1 1 14rem;
|
|
10163
|
+
}
|
|
10164
|
+
|
|
10165
|
+
.held-bar > .link {
|
|
10166
|
+
margin-left: auto;
|
|
10167
|
+
}
|
|
10168
|
+
|
|
10169
|
+
.held-list {
|
|
10170
|
+
flex-basis: 100%;
|
|
10171
|
+
display: flex;
|
|
10172
|
+
flex-direction: column;
|
|
10173
|
+
gap: 6px;
|
|
10174
|
+
max-height: min(24vh, 10rem);
|
|
10175
|
+
overflow-y: auto;
|
|
10176
|
+
overscroll-behavior: contain;
|
|
10177
|
+
/* Room for a ×'s larger touch area, which would make the list scroll for 4 px. */
|
|
10178
|
+
padding-block: 4px;
|
|
10179
|
+
margin-block: -4px;
|
|
10180
|
+
}
|
|
10181
|
+
|
|
10182
|
+
.held-list > .queued > .link {
|
|
10183
|
+
flex: none;
|
|
10184
|
+
}
|
|
10185
|
+
|
|
10186
|
+
/* Words, not a button as in the queue: on the row's middle line, as its label is. */
|
|
10187
|
+
.held-list .queued-text {
|
|
10188
|
+
align-self: center;
|
|
10189
|
+
}
|
|
10190
|
+
|
|
10154
10191
|
/* Trust choices keep the three existing decisions, with a selected radio and soft accent card. */
|
|
10155
10192
|
.trust-choice {
|
|
10156
10193
|
justify-content: flex-start;
|
package/web/transcript.js
CHANGED
|
@@ -4074,6 +4074,15 @@ export function Transcript() {
|
|
|
4074
4074
|
const { sessions, sessionsLoaded } = store.state;
|
|
4075
4075
|
const source =
|
|
4076
4076
|
conversation.forkedFrom && sessions.find((each) => each.id === conversation.forkedFrom.id);
|
|
4077
|
+
// The last run failed with no answer that says so (its compaction failed, say): the line stays until a run starts.
|
|
4078
|
+
// A failed answer after the newest message says it under itself already.
|
|
4079
|
+
const said =
|
|
4080
|
+
entries.findLast((entry) => entry?.kind === "assistant" || entry?.kind === "user")
|
|
4081
|
+
?.stopReason === "error";
|
|
4082
|
+
const failure =
|
|
4083
|
+
busy || said
|
|
4084
|
+
? undefined
|
|
4085
|
+
: sessions.find((each) => each.id === conversation.id && each.failed === true)?.failure;
|
|
4077
4086
|
|
|
4078
4087
|
return html`<main class="scroller" ref=${scroller} onScroll=${onScroll}>
|
|
4079
4088
|
<div
|
|
@@ -4131,6 +4140,12 @@ export function Transcript() {
|
|
|
4131
4140
|
${approvals.map(
|
|
4132
4141
|
(approval) => html`<${ApprovalCard} key=${approval.id} approval=${approval} />`,
|
|
4133
4142
|
)}
|
|
4143
|
+
${
|
|
4144
|
+
failure &&
|
|
4145
|
+
html`<div class="error-box run-failure" data-part="run-failure" role="alert">
|
|
4146
|
+
Run failed: ${failure}
|
|
4147
|
+
</div>`
|
|
4148
|
+
}
|
|
4134
4149
|
${
|
|
4135
4150
|
(busy || compacting) &&
|
|
4136
4151
|
html`<${LiveLine}
|