bareloop 0.31.0 → 0.32.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 +72 -0
- package/bareloop.context.md +87 -13
- package/bin/bareloop.mjs +0 -1
- package/package.json +1 -1
- package/src/authorrun.js +14 -4
- package/src/cli.js +12 -6
- package/src/config.js +135 -0
- package/src/interviewrun.js +10 -2
- package/src/keysfile.js +156 -0
- package/src/ledger.js +26 -0
- package/src/monthly.js +352 -0
- package/src/panel/authorroutes.js +61 -16
- package/src/panel/authorsession.js +23 -25
- package/src/panel/index.html +287 -13
- package/src/panel/server.js +58 -51
- package/src/panel/settingsroutes.js +230 -0
- package/src/providerrows.js +217 -0
- package/src/providers.js +3 -1
- package/src/runlist.js +13 -0
- package/src/userrun.js +59 -5
- package/types/authorrun.d.ts +5 -0
- package/types/cli.d.ts +2 -1
- package/types/config.d.ts +48 -0
- package/types/interviewrun.d.ts +5 -0
- package/types/keysfile.d.ts +90 -0
- package/types/ledger.d.ts +14 -0
- package/types/monthly.d.ts +192 -0
- package/types/panel/authorroutes.d.ts +4 -2
- package/types/panel/authorsession.d.ts +7 -15
- package/types/panel/server.d.ts +10 -3
- package/types/panel/settingsroutes.d.ts +14 -0
- package/types/providerrows.d.ts +164 -0
- package/types/runlist.d.ts +1 -0
- package/types/userrun.d.ts +5 -0
package/types/runlist.d.ts
CHANGED
|
@@ -101,6 +101,7 @@ export function backfillRuns(dir: string, opts?: {
|
|
|
101
101
|
* @returns {string}
|
|
102
102
|
*/
|
|
103
103
|
export function formatRunRow(row: RunRow): string;
|
|
104
|
+
export const DIED_MTIME_MS: number;
|
|
104
105
|
export const MAX_BACKFILL_DEPTH: 6;
|
|
105
106
|
export type RunRow = {
|
|
106
107
|
at: string;
|
package/types/userrun.d.ts
CHANGED
|
@@ -43,6 +43,11 @@ export function answerDoor(runId: string, decision: {
|
|
|
43
43
|
export function main(argv: string[], deps?: Deps): Promise<number>;
|
|
44
44
|
export type Deps = {
|
|
45
45
|
env?: Record<string, string | undefined> | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* P4a — a test seam naming the home whose `.env` keys file is loaded
|
|
48
|
+
* even when `env` is injected; production never sets it.
|
|
49
|
+
*/
|
|
50
|
+
keysHome?: string | undefined;
|
|
46
51
|
out?: ((s: string) => void) | undefined;
|
|
47
52
|
err?: ((s: string) => void) | undefined;
|
|
48
53
|
/**
|