mainflow 0.43.0 → 0.44.0-alpha.2
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/dist/cli.js +7 -5
- package/dist/{dist-D5rZ0MQH.js → dist-CXrUfRQp.js} +111 -10
- package/dist/facts.d.ts +22 -5
- package/dist/facts.js +28 -7
- package/dist/grant-check.d.ts +45 -0
- package/dist/grant-check.js +572 -0
- package/dist/grant-commands.d.ts +31 -3
- package/dist/grant-commands.js +14 -4
- package/dist/hooks.d.ts +2 -18
- package/dist/hooks.js +103 -15
- package/dist/{host-BJvqZy-i.js → host-C74j2Qox.js} +174 -57
- package/dist/host.d.ts +1 -1
- package/dist/host.js +1 -1
- package/dist/{index-DRpamPge.d.ts → index-jq7lN8V8.d.ts} +9 -3
- package/dist/{index-BqPQp6TF.d.ts → index-l8QUG80k.d.ts} +11 -0
- package/dist/launch.d.ts +1 -1
- package/dist/launch.js +2 -2
- package/dist/native/mainflow-swap-darwin-arm64 +0 -0
- package/dist/native/mainflow-swap-darwin-x64 +0 -0
- package/dist/operation-BroV98VB.d.ts +19 -0
- package/dist/{operation-BhBbGauo.js → operation-CUeOFEaf.js} +504 -151
- package/dist/{ui-xxzmhAqF.js → ui-qqVCewFz.js} +3 -3
- package/package.json +1 -1
|
@@ -119,6 +119,11 @@ declare const mainlineSchema: z.ZodObject<{
|
|
|
119
119
|
}>;
|
|
120
120
|
target: z.ZodString;
|
|
121
121
|
note: z.ZodOptional<z.ZodString>;
|
|
122
|
+
scope: z.ZodOptional<z.ZodObject<{
|
|
123
|
+
task: z.ZodOptional<z.ZodString>;
|
|
124
|
+
session: z.ZodOptional<z.ZodString>;
|
|
125
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
126
|
+
}, z.core.$strict>>;
|
|
122
127
|
}, z.core.$strip>>>;
|
|
123
128
|
}, z.core.$strip>;
|
|
124
129
|
type Mainline = z.infer<typeof mainlineSchema>;
|
|
@@ -335,6 +340,7 @@ declare const sessionSchema: z.ZodObject<{
|
|
|
335
340
|
depth: z.ZodOptional<z.ZodNumber>;
|
|
336
341
|
summary: z.ZodOptional<z.ZodString>;
|
|
337
342
|
reminderDigest: z.ZodOptional<z.ZodString>;
|
|
343
|
+
checkReported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
338
344
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
339
345
|
}, z.core.$strip>;
|
|
340
346
|
type Session = z.infer<typeof sessionSchema>;
|
|
@@ -480,6 +486,11 @@ declare const groupSchema: z.ZodObject<{
|
|
|
480
486
|
}>;
|
|
481
487
|
target: z.ZodString;
|
|
482
488
|
note: z.ZodOptional<z.ZodString>;
|
|
489
|
+
scope: z.ZodOptional<z.ZodObject<{
|
|
490
|
+
task: z.ZodOptional<z.ZodString>;
|
|
491
|
+
session: z.ZodOptional<z.ZodString>;
|
|
492
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
493
|
+
}, z.core.$strict>>;
|
|
483
494
|
}, z.core.$strip>>>;
|
|
484
495
|
}, z.core.$strip>;
|
|
485
496
|
type Group = z.infer<typeof groupSchema>;
|
package/dist/launch.d.ts
CHANGED
package/dist/launch.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as hostName, l as syncHost, n as DEFAULT_UI_PORT, rn as WriteError, s as removeHostLink } from "./host-C74j2Qox.js";
|
|
2
2
|
import { t as CLI_VERSION } from "./version-Dvv4jwF1.js";
|
|
3
3
|
import { existsSync, mkdirSync, readFileSync, realpathSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { join, resolve } from "node:path";
|
|
@@ -273,7 +273,7 @@ async function launchUi(dirs, hub, configured, options) {
|
|
|
273
273
|
}
|
|
274
274
|
let server;
|
|
275
275
|
if (!reuse) {
|
|
276
|
-
const { serveUi } = await import("./ui-
|
|
276
|
+
const { serveUi } = await import("./ui-qqVCewFz.js");
|
|
277
277
|
server = await serveUi(dirs, choice.port);
|
|
278
278
|
writeUiRecord(dirs, {
|
|
279
279
|
port: choice.port,
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { a as Renumbering, i as Notice, n as OperationValue, r as OperationName, t as OperationInput } from "./index-jq7lN8V8.js";
|
|
2
|
+
//#region src/remote/operation.d.ts
|
|
3
|
+
/** What a write reports: the operation's value, and what its caller tells the user about it. */
|
|
4
|
+
interface Written<N extends OperationName = OperationName> {
|
|
5
|
+
value: OperationValue<N>;
|
|
6
|
+
/** Waiting in the outbox, not yet answered by the sync server; new entries in `value` have provisional ids */
|
|
7
|
+
queued: boolean;
|
|
8
|
+
/** Why nothing sends the outbox for now: no sync client runs and none could be started */
|
|
9
|
+
stopped?: string;
|
|
10
|
+
/** Why a sync client was started although one was expected to run */
|
|
11
|
+
restarted?: string;
|
|
12
|
+
/** Provisional ids the server gave to other entries, so this write's entries got the ids after the arrow */
|
|
13
|
+
renumbered: Renumbering[];
|
|
14
|
+
/** What the operation said about the write although it went through, such as a file it kept */
|
|
15
|
+
notices: Notice[];
|
|
16
|
+
}
|
|
17
|
+
type HubWrite = <N extends OperationName>(op: N, input: OperationInput<N>) => Promise<Written<N>>;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { HubWrite as t };
|