mainflow 0.30.0-alpha.1 → 0.31.0-alpha.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/dist/cli.js +112 -9
- package/dist/facts.d.ts +8 -1
- package/dist/facts.js +8 -1
- package/dist/hooks.js +2 -2
- package/dist/{host-DmVNYRql.js → host-CdB_vDY_.js} +43 -6
- package/dist/host.js +1 -1
- package/dist/{launch-DHug6eli.js → launch-D1zaGo7W.js} +2 -2
- package/dist/launch.js +1 -1
- package/dist/native/mainflow-swap-darwin-arm64 +0 -0
- package/dist/native/mainflow-swap-darwin-x64 +0 -0
- package/dist/{operation-BQiUL0eq.js → operation-BmysMg4R.js} +897 -175
- package/dist/{ui-BqRmaHXn.js → ui-DlOY5qEU.js} +4 -4
- package/dist/web/assets/{index-DLLPsiVq.js → index-B-_uZYXu.js} +1 -1
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as configSchema } from "./dist-IdbnCDqM.js";
|
|
2
|
-
import { A as attributeTrace, C as transcriptPath, G as linksInto, H as loadHub, K as refIndex, M as transcriptTitle, S as readSession, U as dependencyGraph, W as mainlineEdges, Z as readYaml, a as openInApp,
|
|
2
|
+
import { A as attributeTrace, C as transcriptPath, G as linksInto, H as loadHub, K as refIndex, M as transcriptTitle, S as readSession, U as dependencyGraph, W as mainlineEdges, Z as readYaml, a as openInApp, ct as DATA_DIR, h as setArchivedMany, j as traceTranscript, lt as WriteError, m as ARCHIVE_KINDS, st as ConflictError, x as loadSessions } from "./host-CdB_vDY_.js";
|
|
3
3
|
import { t as listProgress } from "./progress-1BfPg2zN.js";
|
|
4
|
-
import {
|
|
5
|
-
import { l as CLI_VERSION } from "./launch-
|
|
4
|
+
import { D as syncPaths, E as isSynced, T as SYNC_DIR, a as remoteMode, f as DaemonUnavailable, h as readDaemon, n as hubWriter, p as callDaemon, r as writtenLines } from "./operation-BmysMg4R.js";
|
|
5
|
+
import { l as CLI_VERSION } from "./launch-D1zaGo7W.js";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
7
|
import { closeSync, existsSync, lstatSync, openSync, readFileSync, readSync, realpathSync, statSync, watch } from "node:fs";
|
|
8
8
|
import { basename, dirname, extname, join, normalize, relative, resolve, sep } from "node:path";
|
|
@@ -121,7 +121,7 @@ function summarize(m) {
|
|
|
121
121
|
/**
|
|
122
122
|
* HTTP API over one hub. The CLI `ui` command and the web dev server both mount it, through createUiApp. Writes go
|
|
123
123
|
* through the hub's writer (src/remote/operation.ts), so in remote mode they are operations the sync server applies;
|
|
124
|
-
* `env` gives the sync server and token as the environment variables do, `{}` for a hub other than the process's own.
|
|
124
|
+
* `env` gives the sync server and service token as the environment variables do, `{}` for a hub other than the process's own.
|
|
125
125
|
*/
|
|
126
126
|
function createApp(root, options = {}) {
|
|
127
127
|
const app = new Hono();
|