retouche-dev 0.1.0 → 0.1.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/PROMPT.md +2 -2
- package/dist/cli.js +4 -4
- package/dist/{clock-DPQ0w5RJ.js → clock-BJi08VJS.js} +3 -1
- package/dist/{follow-files-VmBxVLp-.js → follow-files-CfuW6Ah5.js} +1 -1
- package/dist/{handler-O-I_szZX.js → handler-BHcVQ8_D.js} +231 -64
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/{layer-DVJN6vRD.js → layer-Ce6QQdAy.js} +469 -306
- package/dist/next.js +2 -2
- package/dist/vite.js +3 -3
- package/dist/{voice-markdown-DhG3jnuj.js → voice-markdown-BiOKT1SX.js} +1 -1
- package/package.json +1 -1
package/dist/next.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as createRouteHandler } from "./handler-
|
|
1
|
+
import { a as withoutEnvFiles, t as createRouteHandler } from "./handler-BHcVQ8_D.js";
|
|
2
2
|
// src/server/next.ts
|
|
3
3
|
function createRoute(options = {}) {
|
|
4
4
|
let handler = null;
|
|
5
5
|
const serve = async (request) => {
|
|
6
6
|
if (process.env.NODE_ENV !== "development") return new Response(null, { status: 404 });
|
|
7
|
-
handler ??= createRouteHandler(options);
|
|
7
|
+
handler ??= createRouteHandler(options, withoutEnvFiles(process.env, options));
|
|
8
8
|
return await handler(request);
|
|
9
9
|
};
|
|
10
10
|
return {
|
package/dist/vite.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as ROUTE_BASE } from "./clock-
|
|
2
|
-
import {
|
|
3
|
-
import { h as errorResponse } from "./follow-files-
|
|
1
|
+
import { d as ROUTE_BASE } from "./clock-BJi08VJS.js";
|
|
2
|
+
import { i as withEnvFiles, n as BODY_LIMIT_ERROR, o as isLoopbackAddress, t as createRouteHandler } from "./handler-BHcVQ8_D.js";
|
|
3
|
+
import { h as errorResponse } from "./follow-files-CfuW6Ah5.js";
|
|
4
4
|
import { loadEnv } from "vite";
|
|
5
5
|
// src/server/node-http.ts
|
|
6
6
|
async function readBody(request) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as recordedMs, r as pendingPassages, t as clock } from "./clock-
|
|
1
|
+
import { n as recordedMs, r as pendingPassages, t as clock } from "./clock-BJi08VJS.js";
|
|
2
2
|
// src/voice/follow-prompt.ts
|
|
3
3
|
const FOLLOW_TOOL = "next_feedback";
|
|
4
4
|
const FOLLOW_PROMPT = "follow";
|