@pablopunk/tau 0.1.1 → 0.1.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/bin.js +1 -1
- package/dist/{main-D-Tg9b5Y.js → main-R5EDx89w.js} +2 -2
- package/dist/serve-CuMzEud7.js +1 -0
- package/dist/{serve-Cmy0rUWr.js → serve-Uc4Nin5f.js} +2 -2
- package/dist/web/dist/assets/index-vDvuOoR3.js +110 -0
- package/dist/web/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/serve-Dmzn5V0l.js +0 -1
- package/dist/web/dist/assets/index-BktLKZHR.js +0 -108
package/dist/bin.js
CHANGED
|
@@ -14,7 +14,7 @@ function withoutSqliteWarning(emitWarning) {
|
|
|
14
14
|
process.emitWarning = withoutSqliteWarning(process.emitWarning.bind(process));
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/bin.ts
|
|
17
|
-
const { main } = await import("./main-
|
|
17
|
+
const { main } = await import("./main-R5EDx89w.js");
|
|
18
18
|
main(process.argv.slice(2)).catch((error) => {
|
|
19
19
|
console.error(error instanceof Error ? error.message : error);
|
|
20
20
|
process.exit(1);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $ as routes, B as COMMAND_NOUNS, G as isModelRefNode, H as commandOf, J as LIVE_PATH, K as routeFields, M as decodeServerFrame, N as encodeFrame, U as commands, V as FLOW_COMMANDS, W as flagNameOf, a as lastAssistantText, it as RedeemPairingResponseSchema, nt as nextViewState, o as viewToText, s as compareVersions, z as AUTO_FIELDS } from "./src-DO9LUlhi.js";
|
|
2
|
-
import { a as lifecycleFlagsOf, c as connectRefusal, i as commandWordOf, n as serverLogOf, o as createHubFileStore, r as writeStoredPort, s as alreadyLinkedRefusal, t as serveInForeground } from "./serve-
|
|
2
|
+
import { a as lifecycleFlagsOf, c as connectRefusal, i as commandWordOf, n as serverLogOf, o as createHubFileStore, r as writeStoredPort, s as alreadyLinkedRefusal, t as serveInForeground } from "./serve-Uc4Nin5f.js";
|
|
3
3
|
import { a as realLifecycleDeps, c as renderExtras, d as discoverServer, f as CliExit, i as managerOf, l as processEnv, m as usageError, n as linkedMachinesLine, o as withToken, p as failure, r as NOT_RUNNING, s as NO_EXTRAS, u as callRoute } from "./machines-behind-BjGgmSs_.js";
|
|
4
4
|
import { a as cliVersion, r as npmOf, t as PACKAGE_NAME } from "./latest-version-di9hD7cY.js";
|
|
5
5
|
import { a as TemporaryEntryError, i as realContext } from "./manager-B_WHbb1U.js";
|
|
@@ -843,7 +843,7 @@ async function redeem(hubUrl, code, deviceName, env) {
|
|
|
843
843
|
}
|
|
844
844
|
async function startAfterLink(choice, env) {
|
|
845
845
|
if (choice === "serve") {
|
|
846
|
-
const { serveInForeground } = await import("./serve-
|
|
846
|
+
const { serveInForeground } = await import("./serve-CuMzEud7.js");
|
|
847
847
|
env.stdout("Starting tau for this session. Press Ctrl+C to stop.");
|
|
848
848
|
await serveInForeground([
|
|
849
849
|
"--no-open",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as serveInForeground } from "./serve-Uc4Nin5f.js";
|
|
@@ -2853,8 +2853,8 @@ async function run(options, dependencies) {
|
|
|
2853
2853
|
//#endregion
|
|
2854
2854
|
//#region src/static-dir.ts
|
|
2855
2855
|
const here = (relative) => fileURLToPath(new URL(relative, import.meta.url));
|
|
2856
|
-
/** Bundled (`dist/web` next to `dist/bin.js
|
|
2857
|
-
const CANDIDATES = [here("./web"), here("../../web/dist")];
|
|
2856
|
+
/** Bundled (`dist/web/dist` next to `dist/bin.js`, as tsdown copies the folder inside the target) or, when run from source, the sibling web package build. */
|
|
2857
|
+
const CANDIDATES = [here("./web/dist"), here("../../web/dist")];
|
|
2858
2858
|
function findStaticDir(candidates = CANDIDATES) {
|
|
2859
2859
|
return candidates.find((directory) => existsSync(join(directory, "index.html")));
|
|
2860
2860
|
}
|