toolroll 0.9.63 → 0.9.67
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 +108 -0
- package/README.md +33 -5
- package/dist/acp-agents.d.ts +43 -0
- package/dist/acp-agents.js +62 -0
- package/dist/acp-attest.d.ts +44 -0
- package/dist/acp-attest.js +269 -0
- package/dist/acp-check.d.ts +28 -0
- package/dist/acp-check.js +410 -0
- package/dist/acp-client.d.ts +163 -0
- package/dist/acp-client.js +738 -0
- package/dist/acp-inspect.d.ts +23 -0
- package/dist/acp-inspect.js +109 -0
- package/dist/agent-board.d.ts +19 -6
- package/dist/agent-board.js +30 -9
- package/dist/agent-fence.d.ts +117 -2
- package/dist/agent-fence.js +439 -12
- package/dist/agent-pulse.js +9 -2
- package/dist/agent-state-words.d.ts +19 -0
- package/dist/agent-state-words.js +20 -0
- package/dist/agent-state.d.ts +65 -0
- package/dist/agent-state.js +229 -0
- package/dist/agentconfig.js +39 -13
- package/dist/agents-board.d.ts +34 -2
- package/dist/agents-board.js +110 -1
- package/dist/approval-rules-ui.js +2 -2
- package/dist/assignment-delivery.d.ts +14 -0
- package/dist/assignment-delivery.js +13 -0
- package/dist/assignment.js +13 -0
- package/dist/attest.js +7 -0
- package/dist/backup-ui.js +2 -2
- package/dist/batch-checks.js +3 -2
- package/dist/browser/THIRD_PARTY_NOTICES.txt +94 -0
- package/dist/browser/terminal.css +37 -0
- package/dist/browser/terminal.js +228 -0
- package/dist/browser/workspace.css +2 -2
- package/dist/browser/workspace.js +42 -38
- package/dist/browser-shell.js +6 -3
- package/dist/browser-workspace.d.ts +235 -1
- package/dist/browser-workspace.js +60 -0
- package/dist/builder.d.ts +10 -1
- package/dist/builder.js +87 -24
- package/dist/chat-actions.d.ts +13 -1
- package/dist/chat-actions.js +197 -15
- package/dist/chat-ask.d.ts +4 -0
- package/dist/chat-ask.js +14 -0
- package/dist/chat-channel.js +20 -0
- package/dist/chat-continuity.js +5 -4
- package/dist/chat-decide.d.ts +0 -14
- package/dist/chat-decide.js +4 -1
- package/dist/chat-delivery.d.ts +9 -0
- package/dist/chat-delivery.js +45 -6
- package/dist/chat-messages.d.ts +8 -0
- package/dist/chat-messages.js +36 -4
- package/dist/check-levels-ui.js +2 -2
- package/dist/checkout-proof.d.ts +28 -0
- package/dist/checkout-proof.js +62 -0
- package/dist/claim.d.ts +12 -0
- package/dist/claim.js +19 -0
- package/dist/cli-help.d.ts +1 -1
- package/dist/cli-help.js +4 -1
- package/dist/cli.d.ts +3 -0
- package/dist/cli.js +21 -2
- package/dist/coding-ui.js +6 -4
- package/dist/console-instance.d.ts +124 -0
- package/dist/console-instance.js +337 -0
- package/dist/contracts/chat-actions.d.ts +16 -0
- package/dist/contracts/chat-actions.js +4 -0
- package/dist/contracts/chat-content.d.ts +19 -0
- package/dist/contracts/chat-content.js +6 -0
- package/dist/contracts/console-api.d.ts +13 -4
- package/dist/contracts/console-api.js +13 -4
- package/dist/contracts/flow-card.d.ts +4 -0
- package/dist/contracts/flow-card.js +3 -0
- package/dist/contracts/flow.d.ts +46 -0
- package/dist/contracts/flow.js +11 -2
- package/dist/contracts/lead-tools.d.ts +92 -0
- package/dist/contracts/lead-tools.js +13 -0
- package/dist/contracts/provider.d.ts +11 -1
- package/dist/contracts/provider.js +1 -1
- package/dist/contracts/route.d.ts +76 -1
- package/dist/contracts/route.js +1 -1
- package/dist/contracts/store-json.d.ts +2 -0
- package/dist/control-setup.d.ts +1 -1
- package/dist/control-ui.js +2 -2
- package/dist/converse.d.ts +16 -0
- package/dist/converse.js +32 -4
- package/dist/demo-chat.js +4 -4
- package/dist/demo.js +2 -2
- package/dist/desktop-update-gate.js +6 -0
- package/dist/desktop-update.d.ts +1 -1
- package/dist/discord-chat.js +4 -1
- package/dist/doctor.js +1 -1
- package/dist/egress-bridge.d.ts +17 -0
- package/dist/egress-bridge.js +111 -0
- package/dist/egress.d.ts +119 -0
- package/dist/egress.js +423 -0
- package/dist/exec.d.ts +78 -0
- package/dist/exec.js +367 -9
- package/dist/export-ui.js +2 -2
- package/dist/flow-engine.js +24 -5
- package/dist/flow-gallery-ui.js +2 -2
- package/dist/flow-gallery.js +27 -8
- package/dist/flow-share.js +16 -5
- package/dist/flow-triggers.d.ts +77 -8
- package/dist/flow-triggers.js +517 -70
- package/dist/flows-cli.js +8 -2
- package/dist/flows-ui.d.ts +0 -2
- package/dist/flows-ui.js +52 -4
- package/dist/flows.d.ts +4 -0
- package/dist/flows.js +9 -1
- package/dist/html.d.ts +9 -0
- package/dist/html.js +11 -0
- package/dist/invoke.d.ts +35 -0
- package/dist/invoke.js +347 -28
- package/dist/keys.d.ts +18 -14
- package/dist/keys.js +5 -0
- package/dist/lead-capabilities.js +3 -2
- package/dist/lead-contract.js +2 -0
- package/dist/lead-doors.d.ts +2 -0
- package/dist/lead-doors.js +7 -0
- package/dist/lead-follow.d.ts +2 -0
- package/dist/lead-follow.js +58 -2
- package/dist/lead-progress.js +1 -0
- package/dist/lead-queue-runtime.d.ts +46 -0
- package/dist/lead-queue-runtime.js +191 -0
- package/dist/lead-queue.d.ts +104 -0
- package/dist/lead-queue.js +187 -0
- package/dist/lead-sweep.d.ts +67 -0
- package/dist/lead-sweep.js +99 -0
- package/dist/lead-tools.d.ts +22 -0
- package/dist/lead-tools.js +152 -1
- package/dist/lead.d.ts +13 -5
- package/dist/lead.js +89 -29
- package/dist/limits-ui.d.ts +8 -1
- package/dist/limits-ui.js +26 -0
- package/dist/live-bus.d.ts +8 -0
- package/dist/live-bus.js +40 -4
- package/dist/live-detail.d.ts +27 -0
- package/dist/live-detail.js +57 -0
- package/dist/live-notes.d.ts +20 -0
- package/dist/live-notes.js +47 -0
- package/dist/live-records.d.ts +140 -0
- package/dist/live-records.js +935 -0
- package/dist/live-terminal.d.ts +269 -0
- package/dist/live-terminal.js +686 -0
- package/dist/live.d.ts +38 -27
- package/dist/live.js +142 -124
- package/dist/mcp-oauth.d.ts +6 -3
- package/dist/mcp-oauth.js +8 -4
- package/dist/memory-pass.js +2 -2
- package/dist/mobile-viewport.d.ts +5 -1
- package/dist/mobile-viewport.js +18 -2
- package/dist/model-catalog.js +4 -0
- package/dist/monitoring-ui.js +2 -2
- package/dist/needs-you.d.ts +1 -1
- package/dist/needs-you.js +11 -4
- package/dist/operate.d.ts +4 -0
- package/dist/operate.js +335 -19
- package/dist/passwordless.d.ts +23 -0
- package/dist/passwordless.js +26 -0
- package/dist/peek-cli.d.ts +12 -4
- package/dist/peek-cli.js +19 -11
- package/dist/phase-routing.js +10 -3
- package/dist/planner-source.d.ts +3 -0
- package/dist/planner-source.js +14 -0
- package/dist/planner.d.ts +2 -1
- package/dist/planner.js +7 -1
- package/dist/policy-ui.js +2 -2
- package/dist/policy.d.ts +1 -20
- package/dist/policy.js +29 -2
- package/dist/project-delete-ui.d.ts +18 -0
- package/dist/project-delete-ui.js +60 -9
- package/dist/project-delete.js +2 -2
- package/dist/project-memory.d.ts +3 -1
- package/dist/project-memory.js +57 -25
- package/dist/project-tools.d.ts +5 -3
- package/dist/project-tools.js +12 -9
- package/dist/provider-auth.d.ts +4 -3
- package/dist/provider-auth.js +5 -4
- package/dist/provider-connection.d.ts +2 -1
- package/dist/provider-connection.js +5 -0
- package/dist/provider.d.ts +25 -2
- package/dist/provider.js +63 -9
- package/dist/pull-request-ui.js +2 -2
- package/dist/push.js +1 -1
- package/dist/quick-start.d.ts +24 -0
- package/dist/quick-start.js +127 -0
- package/dist/release-adapters.d.ts +6 -0
- package/dist/release-adapters.js +70 -3
- package/dist/release.d.ts +10 -1
- package/dist/release.js +34 -15
- package/dist/request-budget-ui.js +2 -2
- package/dist/result-follow-ups.js +3 -2
- package/dist/result-review.d.ts +1 -1
- package/dist/result-review.js +9 -3
- package/dist/retention-ui.js +2 -2
- package/dist/retention.js +10 -1
- package/dist/run-efficiency.d.ts +73 -0
- package/dist/run-efficiency.js +228 -0
- package/dist/runner.d.ts +5 -1
- package/dist/runner.js +22 -1
- package/dist/scope.d.ts +183 -5
- package/dist/scope.js +256 -31
- package/dist/scout-net.d.ts +4 -1
- package/dist/scout-net.js +37 -12
- package/dist/scout.d.ts +20 -6
- package/dist/scout.js +27 -3
- package/dist/serve.js +248 -40
- package/dist/server/chat.d.ts +1 -1
- package/dist/server/chat.js +122 -31
- package/dist/server/chrome.d.ts +16 -2
- package/dist/server/chrome.js +63 -11
- package/dist/server/console.css +107 -42
- package/dist/server/flows.js +38 -8
- package/dist/server/guards.d.ts +1 -0
- package/dist/server/guards.js +23 -9
- package/dist/server/http.d.ts +7 -0
- package/dist/server/http.js +3 -2
- package/dist/server/live.d.ts +34 -1
- package/dist/server/live.js +39 -17
- package/dist/server/pages-assets.js +5 -0
- package/dist/server/pages.js +90 -13
- package/dist/server/people-tokens.d.ts +3 -0
- package/dist/server/people-tokens.js +55 -17
- package/dist/server/remote-hooks.js +12 -6
- package/dist/server/remote.d.ts +2 -1
- package/dist/server/remote.js +14 -5
- package/dist/server/render-chat.d.ts +12 -3
- package/dist/server/render-chat.js +47 -16
- package/dist/server/render-pages.d.ts +32 -4
- package/dist/server/render-pages.js +83 -13
- package/dist/server/render-people.d.ts +3 -2
- package/dist/server/render-people.js +3 -2
- package/dist/server/render-results.d.ts +18 -2
- package/dist/server/render-results.js +37 -28
- package/dist/server/render-settings.js +6 -5
- package/dist/server/render-tasks.d.ts +35 -10
- package/dist/server/render-tasks.js +111 -27
- package/dist/server/request-context.d.ts +2 -0
- package/dist/server/request-context.js +2 -1
- package/dist/server/route-table.d.ts +3 -0
- package/dist/server/route-table.js +47 -5
- package/dist/server/runtime.d.ts +33 -2
- package/dist/server/session.d.ts +25 -1
- package/dist/server/session.js +18 -4
- package/dist/server/settings.js +142 -10
- package/dist/server/sweeps.d.ts +4 -0
- package/dist/server/sweeps.js +58 -0
- package/dist/server/task-views.d.ts +2 -1
- package/dist/server/task-views.js +96 -6
- package/dist/server/tasks.js +327 -78
- package/dist/server/terminals.d.ts +31 -0
- package/dist/server/terminals.js +365 -0
- package/dist/setup-guide.js +3 -2
- package/dist/slack-chat.js +4 -1
- package/dist/spend-ui.js +3 -3
- package/dist/spend.js +2 -1
- package/dist/steer-capabilities.d.ts +32 -0
- package/dist/steer-capabilities.js +60 -0
- package/dist/steer-controls.d.ts +14 -0
- package/dist/steer-controls.js +36 -0
- package/dist/steer-status.js +2 -2
- package/dist/storage-ui.js +4 -4
- package/dist/store-baseline.d.ts +1 -1
- package/dist/store-baseline.js +1 -1
- package/dist/store.d.ts +440 -15
- package/dist/store.js +1072 -52
- package/dist/subagent-desk.js +1 -1
- package/dist/summary.js +3 -0
- package/dist/task-source.d.ts +58 -0
- package/dist/task-source.js +93 -0
- package/dist/team-leads.js +1 -1
- package/dist/teams-chat.js +4 -1
- package/dist/teardown-git.d.ts +22 -0
- package/dist/teardown-git.js +136 -2
- package/dist/telegram-lead.d.ts +3 -0
- package/dist/telegram-lead.js +44 -7
- package/dist/telegram.d.ts +11 -2
- package/dist/telegram.js +51 -17
- package/dist/terminal-catalog.d.ts +11 -0
- package/dist/terminal-catalog.js +129 -0
- package/dist/text-limits.d.ts +2 -0
- package/dist/text-limits.js +2 -0
- package/dist/tool-broker.d.ts +14 -0
- package/dist/tool-broker.js +67 -2
- package/dist/toolroll-update-ui.js +2 -2
- package/dist/toolroll-update.js +13 -3
- package/dist/tools-ui.js +2 -2
- package/dist/unfenced-test-support.d.ts +2 -0
- package/dist/unfenced-test-support.js +11 -0
- package/dist/webhook-limits.d.ts +23 -0
- package/dist/webhook-limits.js +30 -0
- package/dist/webhook-readers.d.ts +56 -0
- package/dist/webhook-readers.js +138 -0
- package/dist/webhook-signing.d.ts +27 -0
- package/dist/webhook-signing.js +119 -0
- package/dist/work-index.d.ts +29 -0
- package/dist/work-index.js +16 -2
- package/dist/workspace-revision.js +3 -1
- package/dist/writes-mode.d.ts +9 -0
- package/dist/writes-mode.js +8 -0
- package/package.json +15 -2
package/dist/assignment.js
CHANGED
|
@@ -300,6 +300,17 @@ export function assignmentOf(store, taskId, now, access, root, memo) {
|
|
|
300
300
|
access: access.principal === "operator" ? "operator-control" : "operator-handoff", retry: "refresh-before-acting" };
|
|
301
301
|
need = { key: "rebuild", build: result.id };
|
|
302
302
|
}
|
|
303
|
+
// Rewritten after the build and not approved yet: Build again can't start an unapproved plan, so the yes is the
|
|
304
|
+
// one action (approve-scope opens the approval on the task page); Build again follows it.
|
|
305
|
+
// Builds only (a scout's report is not built again), and never ahead of an open question: approving answers neither.
|
|
306
|
+
else if (current.state === "done" && result !== null && result.role === "builder" && questions.length === 0 &&
|
|
307
|
+
scope !== null && scope.termsProblem == null && !approvalOf(scope).approved && !!result.scopeDigest && scope.digest !== result.scopeDigest &&
|
|
308
|
+
store.activeHolds(current.refId, now).length === 0 && unfinished === null && store.currentLiveLease(current.refId, now) === null && store.finalResultReason(result.id) === null) {
|
|
309
|
+
detail = NEEDS.replan.sentence({ build: result.id });
|
|
310
|
+
primaryAction = { code: "approve-scope", label: NEEDS.replan.action.label, target: { taskId: current.id, runId: null, decisionId: null },
|
|
311
|
+
access: access.principal === "operator" ? "operator-control" : "operator-handoff", retry: "refresh-before-acting" };
|
|
312
|
+
need = { key: "replan", build: result.id };
|
|
313
|
+
}
|
|
303
314
|
}
|
|
304
315
|
if (earlierActive.length > 0) {
|
|
305
316
|
attention.push(`${earlierActive.length} earlier task version${earlierActive.length === 1 ? " is" : "s are"} still active.`);
|
|
@@ -307,6 +318,8 @@ export function assignmentOf(store, taskId, now, access, root, memo) {
|
|
|
307
318
|
state = "needs-decision";
|
|
308
319
|
detail = "Earlier work is still active. Resolve it before completing this assignment.";
|
|
309
320
|
const earlier = earlierActive[0];
|
|
321
|
+
// The earlier version's act replaces this one's, and with it this version's need (its rebuild or replan).
|
|
322
|
+
need = null;
|
|
310
323
|
primaryAction = taskWorkSummaryOf(store, earlier.id, now, access)?.primaryAction ?? {
|
|
311
324
|
code: "inspect-task", label: "Review active work", target: { taskId: earlier.id, runId: null, decisionId: null }, access: "read", retry: "read-again",
|
|
312
325
|
};
|
package/dist/attest.js
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
* 13's N, fixed): three consecutive minor releases failing conformance
|
|
17
17
|
* without a fixable adapter change retire the adapter, typed.
|
|
18
18
|
*/
|
|
19
|
+
import { ACP_AGENTS, isAcpProvider } from "./acp-agents.js";
|
|
19
20
|
import { execFile } from "node:child_process";
|
|
20
21
|
import { realpathSync, statSync, accessSync, constants } from "node:fs";
|
|
21
22
|
import { delimiter, isAbsolute, join } from "node:path";
|
|
@@ -99,6 +100,12 @@ const defaultProbe = (file, args, timeoutMs) => new Promise(resolve => {
|
|
|
99
100
|
* throw, never a silent pass. Returns null for tier-1 providers.
|
|
100
101
|
*/
|
|
101
102
|
export async function attestProvider(provider, binary, probe = defaultProbe) {
|
|
103
|
+
// An ACP agent runs only on a passed conformance check of the exact binary here (docs/plans/acp-adapter.md
|
|
104
|
+
// § Admission). Absence is denial: there is no "tier 1, allow" for it. The check itself arrives with layer E;
|
|
105
|
+
// until then no ACP agent runs.
|
|
106
|
+
if (isAcpProvider(provider)) {
|
|
107
|
+
return { ok: false, problem: `${ACP_AGENTS[provider].name} isn't checked on this computer — run \`toolroll agents check ${provider}\``, version: null };
|
|
108
|
+
}
|
|
102
109
|
const range = attestationOf(provider);
|
|
103
110
|
if (range === null)
|
|
104
111
|
return null;
|
package/dist/backup-ui.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* back up now, then the schedule. Past backups and how to restore sit in
|
|
4
4
|
* disclosures.
|
|
5
5
|
*/
|
|
6
|
-
import { html, postForm } from "./html.js";
|
|
6
|
+
import { html, postForm, reauth } from "./html.js";
|
|
7
7
|
import { bytesWords } from "./storage.js";
|
|
8
8
|
import { whenUtc } from "./when-html.js";
|
|
9
9
|
/** The schedules on offer and the most copies kept. Here rather than in backup.ts so the page never loads `node:sqlite`. */
|
|
@@ -46,5 +46,5 @@ export function backupHtml(view, notice) {
|
|
|
46
46
|
...BACKUP_EVERY_HOURS.map(hours => html `<option value="${hours}"${s.enabled && s.everyHours === hours ? html ` selected` : ""}>${everyWords(hours)}</option>`)];
|
|
47
47
|
const runs = view.runs.map(run => html `<li data-backup-run="${run.id}"><span>${when(run.startedAt)}</span>${run.ok === true ? html `<span>Succeeded${run.bytes === null ? "" : ` · ${bytesWords(run.bytes)}`}</span>${run.file === null ? "" : html `<span class="mono meta">${fileName(run.file)}</span>`}`
|
|
48
48
|
: run.ok === false ? html `<span class="failed">Failed: ${run.error ?? "no reason recorded"}</span>` : html `<span>Running</span>`}<span class="meta">${run.trigger === "manual" ? "by hand" : "scheduled"}</span></li>`);
|
|
49
|
-
return html `<section class="backups">${note}<div class="card backup-state"><div>${state(view)}</div>${postForm("/settings/backups/now", html `<button type="submit">Back up now</button>`)}</div><h2>Schedule</h2>${postForm("/settings/backups", html `<fieldset><div class="pair"><label>Back up<select name="every">${choices}</select></label><label>Keep the newest<input type="number" name="keep" min="1" max="${MAX_KEEP}" step="1" value="${s.keep}" required></label></div><label>Folder<input type="text" name="folder" value="${s.folder ?? ""}" placeholder="${view.defaultFolder}" spellcheck="false"></label
|
|
49
|
+
return html `<section class="backups">${note}<div class="card backup-state"><div>${state(view)}</div>${postForm("/settings/backups/now", html `<button type="submit">Back up now</button>`)}</div><h2>Schedule</h2>${postForm("/settings/backups", html `<fieldset><div class="pair"><label>Back up<select name="every">${choices}</select></label><label>Keep the newest<input type="number" name="keep" min="1" max="${MAX_KEEP}" step="1" value="${s.keep}" required></label></div><label>Folder<input type="text" name="folder" value="${s.folder ?? ""}" placeholder="${view.defaultFolder}" spellcheck="false"></label>${reauth(html `<label>Your Toolroll password<input type="password" name="password" autocomplete="current-password"></label>`)}</fieldset><button type="submit">Save</button>`)}<details><summary>Recent backups${view.runs.length === 0 ? "" : ` (${view.runs.length})`}</summary>${runs.length === 0 ? html `<p class="meta">None yet.</p>` : html `<ol>${runs}</ol>`}<p class="meta">In <span class="mono">${view.folder}</span>. Only the database is copied: provider keys and sign-in files stay out.</p></details><details><summary>Restore a backup</summary><p>Stop Toolroll, then run:</p><pre><code>toolroll restore <file> --dry-run</code></pre><p class="meta">The dry run checks the backup (its version and ledger chain) and changes nothing. Run it again without <code>--dry-run</code> to restore; the current database is kept as a copy first.</p></details></section>`;
|
|
50
50
|
}
|
package/dist/batch-checks.js
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* The queue is the follow-up check ledger (result-follow-ups.ts), with `batch` requests: the same
|
|
19
19
|
* claim, receipts, abandoned-check reading, status projection and Merge gate. The policy is an
|
|
20
20
|
* append-only ledger entry, like the check level. */
|
|
21
|
+
import { fencedCheckoutCommands } from "./invoke.js";
|
|
21
22
|
import { mkdtempSync, rmSync } from "node:fs";
|
|
22
23
|
import { tmpdir } from "node:os";
|
|
23
24
|
import { join } from "node:path";
|
|
@@ -161,7 +162,7 @@ async function checkCohort(store, root, repo, cohort, deps) {
|
|
|
161
162
|
return { conflict: false, tested, outcome: { ran: false, failure: "The project's approved setup changed before the check started." }, setupFailed: false };
|
|
162
163
|
if (liveSetup !== null) {
|
|
163
164
|
const shell = approvedCommandShell(liveSetup.command);
|
|
164
|
-
const prepared = await runWithIsolatedDatabase(runner, shell.file, shell.args, { cwd: checkout, timeoutMs: liveSetup.timeoutMs, processGroup: true, envAllowlist: SETUP_ENV_ALLOWLIST, omitEnv: SETUP_ENV_DENYLIST });
|
|
165
|
+
const prepared = await runWithIsolatedDatabase(fencedCheckoutCommands(store, repo, checkout, runner), shell.file, shell.args, { cwd: checkout, timeoutMs: liveSetup.timeoutMs, processGroup: true, envAllowlist: SETUP_ENV_ALLOWLIST, omitEnv: SETUP_ENV_DENYLIST });
|
|
165
166
|
note(set, section(`${label} · approved project setup on ${tested.slice(0, 7)}`, liveSetup.command, prepared));
|
|
166
167
|
if (prepared.code !== 0 || prepared.timedOut || prepared.notFound)
|
|
167
168
|
return { conflict: false, tested, outcome: { ran: false, failure: "The project's setup failed, so the check didn't run." }, setupFailed: true };
|
|
@@ -170,7 +171,7 @@ async function checkCohort(store, root, repo, cohort, deps) {
|
|
|
170
171
|
if (live === null || live.digest !== command.digest)
|
|
171
172
|
return { conflict: false, tested, outcome: { ran: false, failure: "The approved check changed before it started." }, setupFailed: false };
|
|
172
173
|
const shell = approvedCommandShell(live.command);
|
|
173
|
-
const ran = await runWithIsolatedDatabase(runner, shell.file, shell.args, { cwd: checkout, timeoutMs: live.timeoutMs, processGroup: true, envAllowlist: SETUP_ENV_ALLOWLIST, omitEnv: SETUP_ENV_DENYLIST });
|
|
174
|
+
const ran = await runWithIsolatedDatabase(fencedCheckoutCommands(store, repo, checkout, runner), shell.file, shell.args, { cwd: checkout, timeoutMs: live.timeoutMs, processGroup: true, envAllowlist: SETUP_ENV_ALLOWLIST, omitEnv: SETUP_ENV_DENYLIST });
|
|
174
175
|
note(set, section(`${label} · full check on ${tested.slice(0, 7)}`, live.command, ran));
|
|
175
176
|
return { conflict: false, tested, setupFailed: false,
|
|
176
177
|
outcome: ran.timedOut ? { ran: false, failure: "The check ran out of time." } : ran.notFound ? { ran: false, failure: "The check couldn't start." } : { ran: true, exitCode: ran.code } };
|
|
@@ -1460,6 +1460,100 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
1460
1460
|
SOFTWARE.
|
|
1461
1461
|
|
|
1462
1462
|
|
|
1463
|
+
## Bundled dependency: @xterm/addon-fit 0.11.0
|
|
1464
|
+
|
|
1465
|
+
Copyright (c) 2019, The xterm.js authors (https://github.com/xtermjs/xterm.js)
|
|
1466
|
+
|
|
1467
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1468
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
1469
|
+
in the Software without restriction, including without limitation the rights
|
|
1470
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1471
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
1472
|
+
furnished to do so, subject to the following conditions:
|
|
1473
|
+
|
|
1474
|
+
The above copyright notice and this permission notice shall be included in
|
|
1475
|
+
all copies or substantial portions of the Software.
|
|
1476
|
+
|
|
1477
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1478
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1479
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1480
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1481
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1482
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1483
|
+
THE SOFTWARE.
|
|
1484
|
+
|
|
1485
|
+
|
|
1486
|
+
## Bundled dependency: @xterm/addon-unicode11 0.9.0
|
|
1487
|
+
|
|
1488
|
+
Copyright (c) 2019, The xterm.js authors (https://github.com/xtermjs/xterm.js)
|
|
1489
|
+
|
|
1490
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1491
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
1492
|
+
in the Software without restriction, including without limitation the rights
|
|
1493
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1494
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
1495
|
+
furnished to do so, subject to the following conditions:
|
|
1496
|
+
|
|
1497
|
+
The above copyright notice and this permission notice shall be included in
|
|
1498
|
+
all copies or substantial portions of the Software.
|
|
1499
|
+
|
|
1500
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1501
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1502
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1503
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1504
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1505
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1506
|
+
THE SOFTWARE.
|
|
1507
|
+
|
|
1508
|
+
|
|
1509
|
+
## Bundled dependency: @xterm/addon-webgl 0.19.0
|
|
1510
|
+
|
|
1511
|
+
Copyright (c) 2018, The xterm.js authors (https://github.com/xtermjs/xterm.js)
|
|
1512
|
+
|
|
1513
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1514
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
1515
|
+
in the Software without restriction, including without limitation the rights
|
|
1516
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1517
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
1518
|
+
furnished to do so, subject to the following conditions:
|
|
1519
|
+
|
|
1520
|
+
The above copyright notice and this permission notice shall be included in
|
|
1521
|
+
all copies or substantial portions of the Software.
|
|
1522
|
+
|
|
1523
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1524
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1525
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1526
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1527
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1528
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1529
|
+
THE SOFTWARE.
|
|
1530
|
+
|
|
1531
|
+
|
|
1532
|
+
## Bundled dependency: @xterm/xterm 6.0.0
|
|
1533
|
+
|
|
1534
|
+
Copyright (c) 2017-2019, The xterm.js authors (https://github.com/xtermjs/xterm.js)
|
|
1535
|
+
Copyright (c) 2014-2016, SourceLair Private Company (https://www.sourcelair.com)
|
|
1536
|
+
Copyright (c) 2012-2013, Christopher Jeffrey (https://github.com/chjj/)
|
|
1537
|
+
|
|
1538
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1539
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
1540
|
+
in the Software without restriction, including without limitation the rights
|
|
1541
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1542
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
1543
|
+
furnished to do so, subject to the following conditions:
|
|
1544
|
+
|
|
1545
|
+
The above copyright notice and this permission notice shall be included in
|
|
1546
|
+
all copies or substantial portions of the Software.
|
|
1547
|
+
|
|
1548
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1549
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1550
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1551
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1552
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1553
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1554
|
+
THE SOFTWARE.
|
|
1555
|
+
|
|
1556
|
+
|
|
1463
1557
|
## Bundled dependency: @xyflow/react 12.12.0
|
|
1464
1558
|
|
|
1465
1559
|
MIT License
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;inset:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;inset:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{font-family:monospace;user-select:text;white-space:pre}.xterm .xterm-accessibility-tree>div{transform-origin:left;width:fit-content}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.xterm .xterm-scrollable-element>.scrollbar{cursor:default}.xterm .xterm-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.xterm .xterm-scrollable-element>.visible{opacity:1;background:#0000;transition:opacity .1s linear;z-index:11}.xterm .xterm-scrollable-element>.invisible{opacity:0;pointer-events:none}.xterm .xterm-scrollable-element>.invisible.fade{transition:opacity .8s linear}.xterm .xterm-scrollable-element>.shadow{position:absolute;display:none}.xterm .xterm-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow, #000) 0 6px 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.xterm .xterm-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}:root{--t-ground: #0C0E12;--t-surface: #14171D;--t-inset: #1B1F27;--t-line: #262B35;--t-text: #E6E8EC;--t-muted: #8A93A3;--t-blue: #5B9DFF;--t-green: #3FB97F;--t-red: #F06464;--t-amber: #F5A524;--t-sans: "Geist", "Geist Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;--t-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;color-scheme:dark}@font-face{font-family:Geist;src:url(/fonts/geist-sans-400.woff2) format("woff2");font-weight:400;font-display:swap}@font-face{font-family:Geist;src:url(/fonts/geist-sans-500.woff2) format("woff2");font-weight:500;font-display:swap}@font-face{font-family:Geist;src:url(/fonts/geist-sans-600.woff2) format("woff2");font-weight:600;font-display:swap}@font-face{font-family:Geist Mono;src:url(/fonts/geist-mono-400.woff2) format("woff2");font-weight:400;font-display:swap}*{box-sizing:border-box}html,body{margin:0;height:100%;background:var(--t-ground);color:var(--t-text);font:14px/1.45 var(--t-sans);-webkit-font-smoothing:antialiased}body{overscroll-behavior:none}#so-term{height:100dvh}button,select,input{font:inherit;color:inherit}.term-app{display:grid;grid-template-columns:264px 1fr;height:100dvh}.term-app--loading{display:grid;place-items:center;color:var(--t-muted)}.term-side{background:var(--t-surface);border-right:1px solid var(--t-line);overflow-y:auto}.term-scrim{display:none}.term-main{display:flex;flex-direction:column;min-width:0;min-height:0}.term-list{display:flex;flex-direction:column;padding:8px;gap:2px}.term-list-head{display:flex;align-items:center;gap:8px;padding:6px 6px 10px}.term-list-head h1{font-size:15px;font-weight:600;margin:0;flex:1}.term-back{color:var(--t-muted);text-decoration:none;padding:2px 6px;border-radius:6px}.term-back:hover{color:var(--t-text);background:var(--t-inset)}.term-list-empty{padding:4px 8px}.term-item{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:8px;border:0;border-radius:8px;background:none;cursor:pointer}.term-item:hover{background:var(--t-inset)}.term-item--on{background:var(--t-inset);box-shadow:inset 0 0 0 1px var(--t-line)}.term-item-text{display:flex;flex-direction:column;min-width:0;flex:1}.term-item-title{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.term-item-meta{color:var(--t-muted);font:11.5px/1.4 var(--t-mono);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.term-dot{width:7px;height:7px;border-radius:50%;background:var(--t-line);flex:none}.term-dot--live{background:var(--t-blue);box-shadow:0 0 0 3px color-mix(in srgb,var(--t-blue) 20%,transparent)}.term-glyph{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:6px;font:600 11px/1 var(--t-mono);flex:none;background:color-mix(in srgb,currentColor 12%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 30%,transparent)}.term-glyph--claude{color:#e8956b}.term-glyph--codex{color:var(--t-blue)}.term-glyph--shell{color:var(--t-muted)}.term-bar{display:flex;align-items:center;gap:10px;height:44px;padding:0 12px;border-bottom:1px solid var(--t-line);background:var(--t-ground);flex:none}.term-menu{display:none;background:none;border:0;font-size:18px;padding:4px 6px;cursor:pointer}.term-bar-title{display:flex;align-items:center;gap:8px;font-weight:500;flex:1;min-width:0;white-space:nowrap;overflow:hidden}.term-bar-branch{color:var(--t-muted);font:12px var(--t-mono);overflow:hidden;text-overflow:ellipsis}.term-link{font-size:12px;color:var(--t-muted);white-space:nowrap}.term-link--live{color:var(--t-blue)}.term-link--signed-out,.term-link--gone{color:var(--t-red)}.term-link--busy{color:var(--t-text)}.term-screen{flex:1;min-height:0;padding:6px 4px 4px 8px;background:var(--t-ground)}.term-screen .xterm{height:100%}.term-screen .xterm-viewport{background:var(--t-ground)!important}.term-keys{display:none;gap:6px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:var(--t-surface);border-top:1px solid var(--t-line);overflow-x:auto;flex:none}.term-key{min-width:40px;height:34px;padding:0 10px;border-radius:8px;border:1px solid var(--t-line);background:var(--t-inset);font:13px var(--t-mono);touch-action:manipulation;flex:none}.term-key:active,.term-key--on{background:var(--t-line);border-color:var(--t-muted)}.term-new{max-width:440px;margin:40px auto;padding:0 16px;display:flex;flex-direction:column;gap:14px}.term-new h2{margin:0;font-size:18px;font-weight:600}.term-new p{margin:0}.term-muted{color:var(--t-muted)}.term-field{display:flex;flex-direction:column;gap:6px}.term-field span{font-size:12px;color:var(--t-muted)}.term-field select,.term-field input{height:38px;padding:0 10px;border-radius:8px;border:1px solid var(--t-line);background:var(--t-inset)}.term-programs{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.term-programs legend{font-size:12px;color:var(--t-muted);margin-bottom:6px}.term-program{display:flex;align-items:center;gap:8px;padding:10px;border-radius:10px;border:1px solid var(--t-line);background:var(--t-surface);cursor:pointer;font-size:13px}.term-program input{position:absolute;opacity:0;pointer-events:none}.term-program--on{border-color:var(--t-blue);box-shadow:inset 0 0 0 1px var(--t-blue)}.term-ceremony{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:10px;border:1px solid color-mix(in srgb,var(--t-amber) 45%,transparent);background:color-mix(in srgb,var(--t-amber) 6%,transparent)}.term-ceremony p{font-size:13px}.term-error{color:var(--t-red)}.term-actions{display:flex;justify-content:flex-end;gap:8px}.term-button{display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:8px;border:1px solid transparent;background:var(--t-text);color:var(--t-ground);font-weight:500;cursor:pointer;text-decoration:none}.term-button:disabled{opacity:.5;cursor:default}.term-button--quiet{background:none;color:var(--t-text);border-color:var(--t-line)}.term-button--small{height:28px;padding:0 10px;font-size:12.5px}@media(max-width:720px){.term-app{grid-template-columns:1fr}.term-side{position:fixed;inset:0 auto 0 0;width:min(86vw,320px);z-index:20;transform:translate(-100%);transition:transform .2s ease;padding-top:env(safe-area-inset-top)}.term-app--drawer .term-side{transform:none}.term-app--drawer .term-scrim{display:block;position:fixed;inset:0;z-index:10;border:0;background:#00000080}.term-menu{display:block}.term-bar{padding-top:env(safe-area-inset-top);height:calc(44px + env(safe-area-inset-top))}.term-keys{display:flex}.term-screen{padding:4px 2px 2px 4px}}
|
|
2
|
+
/*! Bundled license information:
|
|
3
|
+
|
|
4
|
+
@xterm/xterm/css/xterm.css:
|
|
5
|
+
(**
|
|
6
|
+
* Copyright (c) 2014 The xterm.js authors. All rights reserved.
|
|
7
|
+
* Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
|
|
8
|
+
* https://github.com/chjj/term.js
|
|
9
|
+
* @license MIT
|
|
10
|
+
*
|
|
11
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
13
|
+
* in the Software without restriction, including without limitation the rights
|
|
14
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
16
|
+
* furnished to do so, subject to the following conditions:
|
|
17
|
+
*
|
|
18
|
+
* The above copyright notice and this permission notice shall be included in
|
|
19
|
+
* all copies or substantial portions of the Software.
|
|
20
|
+
*
|
|
21
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
27
|
+
* THE SOFTWARE.
|
|
28
|
+
*
|
|
29
|
+
* Originally forked from (with the author's permission):
|
|
30
|
+
* Fabrice Bellard's javascript vt100 for jslinux:
|
|
31
|
+
* http://bellard.org/jslinux/
|
|
32
|
+
* Copyright (c) 2011 Fabrice Bellard
|
|
33
|
+
* The original design remains. The terminal itself
|
|
34
|
+
* has been extended to include xterm CSI codes, among
|
|
35
|
+
* other features.
|
|
36
|
+
*)
|
|
37
|
+
*/
|