Scheduled work on this computer (spec 3.5.0): Accept scheduled work, scheduled turns, the watch command; team_add names the sub-manager
ci / check (push) Waiting to run
ci / check (push) Waiting to run
remote.scheduled (lembas service scheduled on|off, lembas remote scheduled on|off) said as limits.scheduled; a scheduled session runs in the schedule's mode (Edit when none, Plan refused, lowered to max_mode), reports ok/silent/failed/cancelled and the final reply, waits the schedule's wait on approvals and offers no question, plan card or show. _lembas/monitor judges the watch command by the mode (ask is refused) and hashes the output as it streams. Conformance areas scheduled, silent and monitor run here. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
15 files changed
+636
-25
No files matched your search
+5
-2
@@ -56,6 +56,9 @@ export function limitsFromConfig(o: { sharedOnly?: boolean } = {}): Limits & { e
|
||||
get terminal() {
|
||||
return r().terminal === true
|
||||
},
|
||||
get scheduled() {
|
||||
return r().enabled === true && r().scheduled === true
|
||||
},
|
||||
get terminalIntegration() {
|
||||
return r().terminal_integration !== false
|
||||
},
|
||||
@@ -65,7 +68,7 @@ export function limitsFromConfig(o: { sharedOnly?: boolean } = {}): Limits & { e
|
||||
/** What the instance is told when the link opens (the hello, initialize's limits and
|
||||
* capabilities): when it changes, the link is dialled again so the instance hears the new one. */
|
||||
function announced(L: Limits & { enabled: boolean }): string {
|
||||
return JSON.stringify([L.enabled, L.sharedOnly, L.roots, L.maxMode, L.requireTrust, L.terminal])
|
||||
return JSON.stringify([L.enabled, L.sharedOnly, L.roots, L.maxMode, L.requireTrust, L.terminal, L.scheduled === true])
|
||||
}
|
||||
|
||||
export function pickInstance(name?: string): Instance {
|
||||
@@ -199,7 +202,7 @@ export async function runLink(o: LinkOptions = {}): Promise<LinkStatus> {
|
||||
version: VERSION,
|
||||
harness_spec: HARNESS_VERSION,
|
||||
device: { host: hostname(), platform: `${process.platform}-${process.arch}` },
|
||||
limits: { roots: limits.roots, max_mode: limits.maxMode, require_trust: limits.requireTrust },
|
||||
limits: { roots: limits.roots, max_mode: limits.maxMode, require_trust: limits.requireTrust, scheduled: limits.scheduled === true },
|
||||
})
|
||||
status("linked")
|
||||
// The limits apply at once, each time they are looked at. What the instance was told at
|
||||
|
||||
Reference in new issue
Block a user