chorus-codes 0.7.0 → 0.7.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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/cache/.previewinfo +1 -1
- package/.next/cache/.rscinfo +1 -1
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/fallback-build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/new.html +1 -1
- package/.next/server/app/new.rsc +1 -1
- package/.next/server/app/new.segments/_full.segment.rsc +1 -1
- package/.next/server/app/new.segments/_head.segment.rsc +1 -1
- package/.next/server/app/new.segments/_index.segment.rsc +1 -1
- package/.next/server/app/new.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/new.segments/new/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/new.segments/new.segment.rsc +1 -1
- package/.next/server/app/onboarding.html +1 -1
- package/.next/server/app/onboarding.rsc +1 -1
- package/.next/server/app/onboarding.segments/_full.segment.rsc +1 -1
- package/.next/server/app/onboarding.segments/_head.segment.rsc +1 -1
- package/.next/server/app/onboarding.segments/_index.segment.rsc +1 -1
- package/.next/server/app/onboarding.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/onboarding.segments/onboarding/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/onboarding.segments/onboarding.segment.rsc +1 -1
- package/.next/server/app/personas.html +1 -1
- package/.next/server/app/personas.rsc +1 -1
- package/.next/server/app/personas.segments/_full.segment.rsc +1 -1
- package/.next/server/app/personas.segments/_head.segment.rsc +1 -1
- package/.next/server/app/personas.segments/_index.segment.rsc +1 -1
- package/.next/server/app/personas.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/personas.segments/personas/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/personas.segments/personas.segment.rsc +1 -1
- package/.next/server/app/settings.html +1 -1
- package/.next/server/app/settings.rsc +1 -1
- package/.next/server/app/settings.segments/_full.segment.rsc +1 -1
- package/.next/server/app/settings.segments/_head.segment.rsc +1 -1
- package/.next/server/app/settings.segments/_index.segment.rsc +1 -1
- package/.next/server/app/settings.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/settings.segments/settings.segment.rsc +1 -1
- package/.next/server/app/templates.html +1 -1
- package/.next/server/app/templates.rsc +1 -1
- package/.next/server/app/templates.segments/_full.segment.rsc +1 -1
- package/.next/server/app/templates.segments/_head.segment.rsc +1 -1
- package/.next/server/app/templates.segments/_index.segment.rsc +1 -1
- package/.next/server/app/templates.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/templates.segments/templates/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/templates.segments/templates.segment.rsc +1 -1
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/trace +1 -1
- package/.next/trace-build +1 -1
- package/README.md +38 -15
- package/dist/cli/commands/doctor.js +116 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/init.js +211 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/start.js +298 -0
- package/dist/cli/commands/start.js.map +1 -0
- package/dist/cli/commands/status.js +54 -0
- package/dist/cli/commands/status.js.map +1 -0
- package/dist/cli/commands/stop.js +97 -0
- package/dist/cli/commands/stop.js.map +1 -0
- package/dist/cli/connect.js +108 -0
- package/dist/cli/connect.js.map +1 -0
- package/dist/cli/index.js +99 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/port-utils.js +260 -0
- package/dist/cli/port-utils.js.map +1 -0
- package/dist/cli/runtime-env.js +60 -0
- package/dist/cli/runtime-env.js.map +1 -0
- package/dist/cli/shared.js +54 -0
- package/dist/cli/shared.js.map +1 -0
- package/dist/cli/ui.js +60 -0
- package/dist/cli/ui.js.map +1 -0
- package/dist/daemon/agents/claude.js +98 -0
- package/dist/daemon/agents/claude.js.map +1 -0
- package/dist/daemon/agents/codex.js +160 -0
- package/dist/daemon/agents/codex.js.map +1 -0
- package/dist/daemon/agents/gemini.js +111 -0
- package/dist/daemon/agents/gemini.js.map +1 -0
- package/dist/daemon/agents/index.js +59 -0
- package/dist/daemon/agents/index.js.map +1 -0
- package/dist/daemon/agents/kimi.js +206 -0
- package/dist/daemon/agents/kimi.js.map +1 -0
- package/dist/daemon/agents/opencode.js +228 -0
- package/dist/daemon/agents/opencode.js.map +1 -0
- package/dist/daemon/agents/openrouter.js +274 -0
- package/dist/daemon/agents/openrouter.js.map +1 -0
- package/dist/daemon/agents/parsers/claude.js +63 -0
- package/dist/daemon/agents/parsers/claude.js.map +1 -0
- package/dist/daemon/agents/parsers/codex.js +51 -0
- package/dist/daemon/agents/parsers/codex.js.map +1 -0
- package/dist/daemon/agents/parsers/gemini.js +144 -0
- package/dist/daemon/agents/parsers/gemini.js.map +1 -0
- package/dist/daemon/agents/parsers/index.js +31 -0
- package/dist/daemon/agents/parsers/index.js.map +1 -0
- package/dist/daemon/agents/parsers/kimi.js +8 -0
- package/dist/daemon/agents/parsers/kimi.js.map +1 -0
- package/dist/daemon/agents/parsers/opencode.js +105 -0
- package/dist/daemon/agents/parsers/opencode.js.map +1 -0
- package/dist/daemon/agents/parsers/openrouter.js +69 -0
- package/dist/daemon/agents/parsers/openrouter.js.map +1 -0
- package/dist/daemon/agents/parsers/shared.js +17 -0
- package/dist/daemon/agents/parsers/shared.js.map +1 -0
- package/dist/daemon/agents/preflight.js +83 -0
- package/dist/daemon/agents/preflight.js.map +1 -0
- package/dist/daemon/agents/quote.js +45 -0
- package/dist/daemon/agents/quote.js.map +1 -0
- package/dist/daemon/agents/sandbox-guard.js +69 -0
- package/dist/daemon/agents/sandbox-guard.js.map +1 -0
- package/dist/daemon/agents/types.js +6 -0
- package/dist/daemon/agents/types.js.map +1 -0
- package/dist/daemon/api-response.js +65 -0
- package/dist/daemon/api-response.js.map +1 -0
- package/dist/daemon/error-detector.js +329 -0
- package/dist/daemon/error-detector.js.map +1 -0
- package/dist/daemon/headless.js +533 -0
- package/dist/daemon/headless.js.map +1 -0
- package/dist/daemon/index.js +333 -0
- package/dist/daemon/index.js.map +1 -0
- package/dist/daemon/openrouter.js +192 -0
- package/dist/daemon/openrouter.js.map +1 -0
- package/dist/daemon/orchestrators/claude.js +163 -0
- package/dist/daemon/orchestrators/claude.js.map +1 -0
- package/dist/daemon/orchestrators/codex.js +101 -0
- package/dist/daemon/orchestrators/codex.js.map +1 -0
- package/dist/daemon/orchestrators/cursor-windsurf.js +118 -0
- package/dist/daemon/orchestrators/cursor-windsurf.js.map +1 -0
- package/dist/daemon/orchestrators/gemini.js +108 -0
- package/dist/daemon/orchestrators/gemini.js.map +1 -0
- package/dist/daemon/orchestrators/index.js +90 -0
- package/dist/daemon/orchestrators/index.js.map +1 -0
- package/dist/daemon/orchestrators/kimi.js +108 -0
- package/dist/daemon/orchestrators/kimi.js.map +1 -0
- package/dist/daemon/orchestrators/opencode.js +152 -0
- package/dist/daemon/orchestrators/opencode.js.map +1 -0
- package/dist/daemon/orchestrators/shared.js +60 -0
- package/dist/daemon/orchestrators/shared.js.map +1 -0
- package/dist/daemon/output-watcher.js +131 -0
- package/dist/daemon/output-watcher.js.map +1 -0
- package/dist/daemon/participant-aborts.js +123 -0
- package/dist/daemon/participant-aborts.js.map +1 -0
- package/dist/daemon/reaper.js +46 -0
- package/dist/daemon/reaper.js.map +1 -0
- package/dist/daemon/routes/chats-events.js +62 -0
- package/dist/daemon/routes/chats-events.js.map +1 -0
- package/dist/daemon/routes/chats-stream.js +241 -0
- package/dist/daemon/routes/chats-stream.js.map +1 -0
- package/dist/daemon/routes/chats-validation.js +13 -0
- package/dist/daemon/routes/chats-validation.js.map +1 -0
- package/dist/daemon/routes/chats.js +545 -0
- package/dist/daemon/routes/chats.js.map +1 -0
- package/dist/daemon/routes/openrouter.js +103 -0
- package/dist/daemon/routes/openrouter.js.map +1 -0
- package/dist/daemon/routes/settings.js +199 -0
- package/dist/daemon/routes/settings.js.map +1 -0
- package/dist/daemon/routes/stats.js +155 -0
- package/dist/daemon/routes/stats.js.map +1 -0
- package/dist/daemon/routes/system.js +208 -0
- package/dist/daemon/routes/system.js.map +1 -0
- package/dist/daemon/routes/templates-personas.js +254 -0
- package/dist/daemon/routes/templates-personas.js.map +1 -0
- package/dist/daemon/routes/voices.js +139 -0
- package/dist/daemon/routes/voices.js.map +1 -0
- package/dist/daemon/runner/doer-driver.js +346 -0
- package/dist/daemon/runner/doer-driver.js.map +1 -0
- package/dist/daemon/runner/doer.js +336 -0
- package/dist/daemon/runner/doer.js.map +1 -0
- package/dist/daemon/runner/prior-round.js +140 -0
- package/dist/daemon/runner/prior-round.js.map +1 -0
- package/dist/daemon/runner/prompt-builder.js +292 -0
- package/dist/daemon/runner/prompt-builder.js.map +1 -0
- package/dist/daemon/runner/review-only-phase.js +103 -0
- package/dist/daemon/runner/review-only-phase.js.map +1 -0
- package/dist/daemon/runner/reviewer-driver.js +410 -0
- package/dist/daemon/runner/reviewer-driver.js.map +1 -0
- package/dist/daemon/runner/reviewer.js +384 -0
- package/dist/daemon/runner/reviewer.js.map +1 -0
- package/dist/daemon/runner/run-with-fallback.js +56 -0
- package/dist/daemon/runner/run-with-fallback.js.map +1 -0
- package/dist/daemon/runner/sanitize-name.js +8 -0
- package/dist/daemon/runner/sanitize-name.js.map +1 -0
- package/dist/daemon/runner/stream-file-writer.js +116 -0
- package/dist/daemon/runner/stream-file-writer.js.map +1 -0
- package/dist/daemon/runner/swap-sidecar.js +102 -0
- package/dist/daemon/runner/swap-sidecar.js.map +1 -0
- package/dist/daemon/runner/template-fallback.js +119 -0
- package/dist/daemon/runner/template-fallback.js.map +1 -0
- package/dist/daemon/runner/types.js +3 -0
- package/dist/daemon/runner/types.js.map +1 -0
- package/dist/daemon/runner/verdict.js +51 -0
- package/dist/daemon/runner/verdict.js.map +1 -0
- package/dist/daemon/runner-multiplex.js +364 -0
- package/dist/daemon/runner-multiplex.js.map +1 -0
- package/dist/daemon/runner.js +427 -0
- package/dist/daemon/runner.js.map +1 -0
- package/dist/daemon/ship.js +340 -0
- package/dist/daemon/ship.js.map +1 -0
- package/dist/daemon/template-cache.js +37 -0
- package/dist/daemon/template-cache.js.map +1 -0
- package/dist/daemon/tmux-types.js +9 -0
- package/dist/daemon/tmux-types.js.map +1 -0
- package/dist/daemon/tmux.js +341 -0
- package/dist/daemon/tmux.js.map +1 -0
- package/dist/lib/atomic-write.js +55 -0
- package/dist/lib/atomic-write.js.map +1 -0
- package/dist/lib/chat-events-bus.js +27 -0
- package/dist/lib/chat-events-bus.js.map +1 -0
- package/dist/lib/chat-slug.js +105 -0
- package/dist/lib/chat-slug.js.map +1 -0
- package/dist/lib/cli-detect.js +388 -0
- package/dist/lib/cli-detect.js.map +1 -0
- package/dist/lib/cli-health.js +156 -0
- package/dist/lib/cli-health.js.map +1 -0
- package/dist/lib/cli-paths.js +113 -0
- package/dist/lib/cli-paths.js.map +1 -0
- package/dist/lib/cli-precheck.js +141 -0
- package/dist/lib/cli-precheck.js.map +1 -0
- package/dist/lib/db/chats.js +244 -0
- package/dist/lib/db/chats.js.map +1 -0
- package/dist/lib/db/connection.js +254 -0
- package/dist/lib/db/connection.js.map +1 -0
- package/dist/lib/db/index.js +34 -0
- package/dist/lib/db/index.js.map +1 -0
- package/dist/lib/db/personas.js +65 -0
- package/dist/lib/db/personas.js.map +1 -0
- package/dist/lib/db/phase-events.js +172 -0
- package/dist/lib/db/phase-events.js.map +1 -0
- package/dist/lib/db/secrets.js +53 -0
- package/dist/lib/db/secrets.js.map +1 -0
- package/dist/lib/db/settings.js +47 -0
- package/dist/lib/db/settings.js.map +1 -0
- package/dist/lib/db/templates.js +75 -0
- package/dist/lib/db/templates.js.map +1 -0
- package/dist/lib/db/voices.js +184 -0
- package/dist/lib/db/voices.js.map +1 -0
- package/dist/lib/lineage-maps.js +200 -0
- package/dist/lib/lineage-maps.js.map +1 -0
- package/dist/lib/logger.js +186 -0
- package/dist/lib/logger.js.map +1 -0
- package/dist/lib/personas.js +117 -0
- package/dist/lib/personas.js.map +1 -0
- package/dist/lib/runtime-path.js +222 -0
- package/dist/lib/runtime-path.js.map +1 -0
- package/dist/lib/settings/billing.js +58 -0
- package/dist/lib/settings/billing.js.map +1 -0
- package/dist/lib/settings/permissions.js +81 -0
- package/dist/lib/settings/permissions.js.map +1 -0
- package/dist/lib/settings/transport.js +113 -0
- package/dist/lib/settings/transport.js.map +1 -0
- package/dist/lib/telemetry.js +290 -0
- package/dist/lib/telemetry.js.map +1 -0
- package/dist/lib/template-schema.js +319 -0
- package/dist/lib/template-schema.js.map +1 -0
- package/dist/lib/template-validation.js +82 -0
- package/dist/lib/template-validation.js.map +1 -0
- package/dist/lib/voices.js +533 -0
- package/dist/lib/voices.js.map +1 -0
- package/dist/mcp/client.js +138 -0
- package/dist/mcp/client.js.map +1 -0
- package/dist/mcp/index.js +178 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/tools.js +355 -0
- package/dist/mcp/tools.js.map +1 -0
- package/package.json +2 -1
- package/.next/dev/static/chunks/05w9_next_dist_shared_lib_0beh7rg._.js +0 -6077
- package/.next/dev/static/chunks/05w9_next_dist_shared_lib_0beh7rg._.js.map +0 -69
- package/.next/dev/static/chunks/05w9_next_dist_shared_lib_0pjsj.j._.js +0 -6318
- package/.next/dev/static/chunks/05w9_next_dist_shared_lib_0pjsj.j._.js.map +0 -71
- package/.next/dev/types/cache-life.d.ts +0 -145
- package/.next/dev/types/routes.d.ts +0 -84
- package/.next/dev/types/validator.ts +0 -178
- /package/.next/static/{dJlbRLlhISA0JGtHKVqgQ → 9cD3yIOGe_Aqr17uJHTQS}/_buildManifest.js +0 -0
- /package/.next/static/{dJlbRLlhISA0JGtHKVqgQ → 9cD3yIOGe_Aqr17uJHTQS}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{dJlbRLlhISA0JGtHKVqgQ → 9cD3yIOGe_Aqr17uJHTQS}/_ssgManifest.js +0 -0
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
// Type definitions for Next.js cacheLife configs
|
|
2
|
-
|
|
3
|
-
declare module 'next/cache' {
|
|
4
|
-
export { unstable_cache } from 'next/dist/server/web/spec-extension/unstable-cache'
|
|
5
|
-
export {
|
|
6
|
-
updateTag,
|
|
7
|
-
revalidateTag,
|
|
8
|
-
revalidatePath,
|
|
9
|
-
refresh,
|
|
10
|
-
} from 'next/dist/server/web/spec-extension/revalidate'
|
|
11
|
-
export { unstable_noStore } from 'next/dist/server/web/spec-extension/unstable-no-store'
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Cache this `"use cache"` for a timespan defined by the `"default"` profile.
|
|
16
|
-
* ```
|
|
17
|
-
* stale: 300 seconds (5 minutes)
|
|
18
|
-
* revalidate: 900 seconds (15 minutes)
|
|
19
|
-
* expire: never
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* This cache may be stale on clients for 5 minutes before checking with the server.
|
|
23
|
-
* If the server receives a new request after 15 minutes, start revalidating new values in the background.
|
|
24
|
-
* It lives for the maximum age of the server cache. If this entry has no traffic for a while, it may serve an old value the next request.
|
|
25
|
-
*/
|
|
26
|
-
export function cacheLife(profile: "default"): void
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Cache this `"use cache"` for a timespan defined by the `"seconds"` profile.
|
|
30
|
-
* ```
|
|
31
|
-
* stale: 30 seconds
|
|
32
|
-
* revalidate: 1 seconds
|
|
33
|
-
* expire: 60 seconds (1 minute)
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* This cache may be stale on clients for 30 seconds before checking with the server.
|
|
37
|
-
* If the server receives a new request after 1 seconds, start revalidating new values in the background.
|
|
38
|
-
* If this entry has no traffic for 1 minute it will expire. The next request will recompute it.
|
|
39
|
-
*/
|
|
40
|
-
export function cacheLife(profile: "seconds"): void
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Cache this `"use cache"` for a timespan defined by the `"minutes"` profile.
|
|
44
|
-
* ```
|
|
45
|
-
* stale: 300 seconds (5 minutes)
|
|
46
|
-
* revalidate: 60 seconds (1 minute)
|
|
47
|
-
* expire: 3600 seconds (1 hour)
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* This cache may be stale on clients for 5 minutes before checking with the server.
|
|
51
|
-
* If the server receives a new request after 1 minute, start revalidating new values in the background.
|
|
52
|
-
* If this entry has no traffic for 1 hour it will expire. The next request will recompute it.
|
|
53
|
-
*/
|
|
54
|
-
export function cacheLife(profile: "minutes"): void
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Cache this `"use cache"` for a timespan defined by the `"hours"` profile.
|
|
58
|
-
* ```
|
|
59
|
-
* stale: 300 seconds (5 minutes)
|
|
60
|
-
* revalidate: 3600 seconds (1 hour)
|
|
61
|
-
* expire: 86400 seconds (1 day)
|
|
62
|
-
* ```
|
|
63
|
-
*
|
|
64
|
-
* This cache may be stale on clients for 5 minutes before checking with the server.
|
|
65
|
-
* If the server receives a new request after 1 hour, start revalidating new values in the background.
|
|
66
|
-
* If this entry has no traffic for 1 day it will expire. The next request will recompute it.
|
|
67
|
-
*/
|
|
68
|
-
export function cacheLife(profile: "hours"): void
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Cache this `"use cache"` for a timespan defined by the `"days"` profile.
|
|
72
|
-
* ```
|
|
73
|
-
* stale: 300 seconds (5 minutes)
|
|
74
|
-
* revalidate: 86400 seconds (1 day)
|
|
75
|
-
* expire: 604800 seconds (1 week)
|
|
76
|
-
* ```
|
|
77
|
-
*
|
|
78
|
-
* This cache may be stale on clients for 5 minutes before checking with the server.
|
|
79
|
-
* If the server receives a new request after 1 day, start revalidating new values in the background.
|
|
80
|
-
* If this entry has no traffic for 1 week it will expire. The next request will recompute it.
|
|
81
|
-
*/
|
|
82
|
-
export function cacheLife(profile: "days"): void
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Cache this `"use cache"` for a timespan defined by the `"weeks"` profile.
|
|
86
|
-
* ```
|
|
87
|
-
* stale: 300 seconds (5 minutes)
|
|
88
|
-
* revalidate: 604800 seconds (1 week)
|
|
89
|
-
* expire: 2592000 seconds (1 month)
|
|
90
|
-
* ```
|
|
91
|
-
*
|
|
92
|
-
* This cache may be stale on clients for 5 minutes before checking with the server.
|
|
93
|
-
* If the server receives a new request after 1 week, start revalidating new values in the background.
|
|
94
|
-
* If this entry has no traffic for 1 month it will expire. The next request will recompute it.
|
|
95
|
-
*/
|
|
96
|
-
export function cacheLife(profile: "weeks"): void
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Cache this `"use cache"` for a timespan defined by the `"max"` profile.
|
|
100
|
-
* ```
|
|
101
|
-
* stale: 300 seconds (5 minutes)
|
|
102
|
-
* revalidate: 2592000 seconds (1 month)
|
|
103
|
-
* expire: 31536000 seconds (365 days)
|
|
104
|
-
* ```
|
|
105
|
-
*
|
|
106
|
-
* This cache may be stale on clients for 5 minutes before checking with the server.
|
|
107
|
-
* If the server receives a new request after 1 month, start revalidating new values in the background.
|
|
108
|
-
* If this entry has no traffic for 365 days it will expire. The next request will recompute it.
|
|
109
|
-
*/
|
|
110
|
-
export function cacheLife(profile: "max"): void
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Cache this `"use cache"` using a custom timespan.
|
|
114
|
-
* ```
|
|
115
|
-
* stale: ... // seconds
|
|
116
|
-
* revalidate: ... // seconds
|
|
117
|
-
* expire: ... // seconds
|
|
118
|
-
* ```
|
|
119
|
-
*
|
|
120
|
-
* This is similar to Cache-Control: max-age=`stale`,s-max-age=`revalidate`,stale-while-revalidate=`expire-revalidate`
|
|
121
|
-
*
|
|
122
|
-
* If a value is left out, the lowest of other cacheLife() calls or the default, is used instead.
|
|
123
|
-
*/
|
|
124
|
-
export function cacheLife(profile: {
|
|
125
|
-
/**
|
|
126
|
-
* This cache may be stale on clients for ... seconds before checking with the server.
|
|
127
|
-
*/
|
|
128
|
-
stale?: number,
|
|
129
|
-
/**
|
|
130
|
-
* If the server receives a new request after ... seconds, start revalidating new values in the background.
|
|
131
|
-
*/
|
|
132
|
-
revalidate?: number,
|
|
133
|
-
/**
|
|
134
|
-
* If this entry has no traffic for ... seconds it will expire. The next request will recompute it.
|
|
135
|
-
*/
|
|
136
|
-
expire?: number
|
|
137
|
-
}): void
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
import { cacheTag } from 'next/dist/server/use-cache/cache-tag'
|
|
141
|
-
export { cacheTag }
|
|
142
|
-
|
|
143
|
-
export const unstable_cacheTag: typeof cacheTag
|
|
144
|
-
export const unstable_cacheLife: typeof cacheLife
|
|
145
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
// This file is generated automatically by Next.js
|
|
2
|
-
// Do not edit this file manually
|
|
3
|
-
|
|
4
|
-
type AppRoutes = "/" | "/connect" | "/demo/[scenario]" | "/new" | "/onboarding" | "/personas" | "/runs" | "/runs/[runId]" | "/settings" | "/settings/permissions" | "/templates"
|
|
5
|
-
type AppRouteHandlerRoutes = "/api/daemon/[...path]" | "/api/run-artifacts/[chatId]"
|
|
6
|
-
type PageRoutes = never
|
|
7
|
-
type LayoutRoutes = "/"
|
|
8
|
-
type RedirectRoutes = never
|
|
9
|
-
type RewriteRoutes = never
|
|
10
|
-
type Routes = AppRoutes | PageRoutes | LayoutRoutes | RedirectRoutes | RewriteRoutes | AppRouteHandlerRoutes
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
interface ParamMap {
|
|
14
|
-
"/": {}
|
|
15
|
-
"/api/daemon/[...path]": { "path": string[]; }
|
|
16
|
-
"/api/run-artifacts/[chatId]": { "chatId": string; }
|
|
17
|
-
"/connect": {}
|
|
18
|
-
"/demo/[scenario]": { "scenario": string; }
|
|
19
|
-
"/new": {}
|
|
20
|
-
"/onboarding": {}
|
|
21
|
-
"/personas": {}
|
|
22
|
-
"/runs": {}
|
|
23
|
-
"/runs/[runId]": { "runId": string; }
|
|
24
|
-
"/settings": {}
|
|
25
|
-
"/settings/permissions": {}
|
|
26
|
-
"/templates": {}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
export type ParamsOf<Route extends Routes> = ParamMap[Route]
|
|
31
|
-
|
|
32
|
-
interface LayoutSlotMap {
|
|
33
|
-
"/": never
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
export type { AppRoutes, PageRoutes, LayoutRoutes, RedirectRoutes, RewriteRoutes, ParamMap, AppRouteHandlerRoutes }
|
|
38
|
-
|
|
39
|
-
declare global {
|
|
40
|
-
/**
|
|
41
|
-
* Props for Next.js App Router page components
|
|
42
|
-
* @example
|
|
43
|
-
* ```tsx
|
|
44
|
-
* export default function Page(props: PageProps<'/blog/[slug]'>) {
|
|
45
|
-
* const { slug } = await props.params
|
|
46
|
-
* return <div>Blog post: {slug}</div>
|
|
47
|
-
* }
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
interface PageProps<AppRoute extends AppRoutes> {
|
|
51
|
-
params: Promise<ParamMap[AppRoute]>
|
|
52
|
-
searchParams: Promise<Record<string, string | string[] | undefined>>
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Props for Next.js App Router layout components
|
|
57
|
-
* @example
|
|
58
|
-
* ```tsx
|
|
59
|
-
* export default function Layout(props: LayoutProps<'/dashboard'>) {
|
|
60
|
-
* return <div>{props.children}</div>
|
|
61
|
-
* }
|
|
62
|
-
* ```
|
|
63
|
-
*/
|
|
64
|
-
type LayoutProps<LayoutRoute extends LayoutRoutes> = {
|
|
65
|
-
params: Promise<ParamMap[LayoutRoute]>
|
|
66
|
-
children: React.ReactNode
|
|
67
|
-
} & {
|
|
68
|
-
[K in LayoutSlotMap[LayoutRoute]]: React.ReactNode
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* Context for Next.js App Router route handlers
|
|
73
|
-
* @example
|
|
74
|
-
* ```tsx
|
|
75
|
-
* export async function GET(request: NextRequest, context: RouteContext<'/api/users/[id]'>) {
|
|
76
|
-
* const { id } = await context.params
|
|
77
|
-
* return Response.json({ id })
|
|
78
|
-
* }
|
|
79
|
-
* ```
|
|
80
|
-
*/
|
|
81
|
-
interface RouteContext<AppRouteHandlerRoute extends AppRouteHandlerRoutes> {
|
|
82
|
-
params: Promise<ParamMap[AppRouteHandlerRoute]>
|
|
83
|
-
}
|
|
84
|
-
}
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
// This file is generated automatically by Next.js
|
|
2
|
-
// Do not edit this file manually
|
|
3
|
-
// This file validates that all pages and layouts export the correct types
|
|
4
|
-
|
|
5
|
-
import type { AppRoutes, LayoutRoutes, ParamMap, AppRouteHandlerRoutes } from "./routes.js"
|
|
6
|
-
import type { ResolvingMetadata, ResolvingViewport } from "next/types.js"
|
|
7
|
-
import type { NextRequest } from 'next/server.js'
|
|
8
|
-
|
|
9
|
-
type AppPageConfig<Route extends AppRoutes = AppRoutes> = {
|
|
10
|
-
default: React.ComponentType<{ params: Promise<ParamMap[Route]> } & any> | ((props: { params: Promise<ParamMap[Route]> } & any) => React.ReactNode | Promise<React.ReactNode> | never | void | Promise<void>)
|
|
11
|
-
generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise<any[]> | any[]
|
|
12
|
-
generateMetadata?: (
|
|
13
|
-
props: { params: Promise<ParamMap[Route]> } & any,
|
|
14
|
-
parent: ResolvingMetadata
|
|
15
|
-
) => Promise<any> | any
|
|
16
|
-
generateViewport?: (
|
|
17
|
-
props: { params: Promise<ParamMap[Route]> } & any,
|
|
18
|
-
parent: ResolvingViewport
|
|
19
|
-
) => Promise<any> | any
|
|
20
|
-
metadata?: any
|
|
21
|
-
viewport?: any
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
type LayoutConfig<Route extends LayoutRoutes = LayoutRoutes> = {
|
|
25
|
-
default: React.ComponentType<LayoutProps<Route>> | ((props: LayoutProps<Route>) => React.ReactNode | Promise<React.ReactNode> | never | void | Promise<void>)
|
|
26
|
-
generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise<any[]> | any[]
|
|
27
|
-
generateMetadata?: (
|
|
28
|
-
props: { params: Promise<ParamMap[Route]> } & any,
|
|
29
|
-
parent: ResolvingMetadata
|
|
30
|
-
) => Promise<any> | any
|
|
31
|
-
generateViewport?: (
|
|
32
|
-
props: { params: Promise<ParamMap[Route]> } & any,
|
|
33
|
-
parent: ResolvingViewport
|
|
34
|
-
) => Promise<any> | any
|
|
35
|
-
metadata?: any
|
|
36
|
-
viewport?: any
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRoutes> = {
|
|
40
|
-
GET?: (request: NextRequest, context: { params: Promise<ParamMap[Route]> }) => Promise<Response | void> | Response | void
|
|
41
|
-
POST?: (request: NextRequest, context: { params: Promise<ParamMap[Route]> }) => Promise<Response | void> | Response | void
|
|
42
|
-
PUT?: (request: NextRequest, context: { params: Promise<ParamMap[Route]> }) => Promise<Response | void> | Response | void
|
|
43
|
-
PATCH?: (request: NextRequest, context: { params: Promise<ParamMap[Route]> }) => Promise<Response | void> | Response | void
|
|
44
|
-
DELETE?: (request: NextRequest, context: { params: Promise<ParamMap[Route]> }) => Promise<Response | void> | Response | void
|
|
45
|
-
HEAD?: (request: NextRequest, context: { params: Promise<ParamMap[Route]> }) => Promise<Response | void> | Response | void
|
|
46
|
-
OPTIONS?: (request: NextRequest, context: { params: Promise<ParamMap[Route]> }) => Promise<Response | void> | Response | void
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
// Validate ../../../src/app/connect/page.tsx
|
|
51
|
-
{
|
|
52
|
-
type __IsExpected<Specific extends AppPageConfig<"/connect">> = Specific
|
|
53
|
-
const handler = {} as typeof import("../../../src/app/connect/page.js")
|
|
54
|
-
type __Check = __IsExpected<typeof handler>
|
|
55
|
-
// @ts-ignore
|
|
56
|
-
type __Unused = __Check
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// Validate ../../../src/app/demo/[scenario]/page.tsx
|
|
60
|
-
{
|
|
61
|
-
type __IsExpected<Specific extends AppPageConfig<"/demo/[scenario]">> = Specific
|
|
62
|
-
const handler = {} as typeof import("../../../src/app/demo/[scenario]/page.js")
|
|
63
|
-
type __Check = __IsExpected<typeof handler>
|
|
64
|
-
// @ts-ignore
|
|
65
|
-
type __Unused = __Check
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// Validate ../../../src/app/new/page.tsx
|
|
69
|
-
{
|
|
70
|
-
type __IsExpected<Specific extends AppPageConfig<"/new">> = Specific
|
|
71
|
-
const handler = {} as typeof import("../../../src/app/new/page.js")
|
|
72
|
-
type __Check = __IsExpected<typeof handler>
|
|
73
|
-
// @ts-ignore
|
|
74
|
-
type __Unused = __Check
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// Validate ../../../src/app/onboarding/page.tsx
|
|
78
|
-
{
|
|
79
|
-
type __IsExpected<Specific extends AppPageConfig<"/onboarding">> = Specific
|
|
80
|
-
const handler = {} as typeof import("../../../src/app/onboarding/page.js")
|
|
81
|
-
type __Check = __IsExpected<typeof handler>
|
|
82
|
-
// @ts-ignore
|
|
83
|
-
type __Unused = __Check
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// Validate ../../../src/app/page.tsx
|
|
87
|
-
{
|
|
88
|
-
type __IsExpected<Specific extends AppPageConfig<"/">> = Specific
|
|
89
|
-
const handler = {} as typeof import("../../../src/app/page.js")
|
|
90
|
-
type __Check = __IsExpected<typeof handler>
|
|
91
|
-
// @ts-ignore
|
|
92
|
-
type __Unused = __Check
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Validate ../../../src/app/personas/page.tsx
|
|
96
|
-
{
|
|
97
|
-
type __IsExpected<Specific extends AppPageConfig<"/personas">> = Specific
|
|
98
|
-
const handler = {} as typeof import("../../../src/app/personas/page.js")
|
|
99
|
-
type __Check = __IsExpected<typeof handler>
|
|
100
|
-
// @ts-ignore
|
|
101
|
-
type __Unused = __Check
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Validate ../../../src/app/runs/[runId]/page.tsx
|
|
105
|
-
{
|
|
106
|
-
type __IsExpected<Specific extends AppPageConfig<"/runs/[runId]">> = Specific
|
|
107
|
-
const handler = {} as typeof import("../../../src/app/runs/[runId]/page.js")
|
|
108
|
-
type __Check = __IsExpected<typeof handler>
|
|
109
|
-
// @ts-ignore
|
|
110
|
-
type __Unused = __Check
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// Validate ../../../src/app/runs/page.tsx
|
|
114
|
-
{
|
|
115
|
-
type __IsExpected<Specific extends AppPageConfig<"/runs">> = Specific
|
|
116
|
-
const handler = {} as typeof import("../../../src/app/runs/page.js")
|
|
117
|
-
type __Check = __IsExpected<typeof handler>
|
|
118
|
-
// @ts-ignore
|
|
119
|
-
type __Unused = __Check
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// Validate ../../../src/app/settings/page.tsx
|
|
123
|
-
{
|
|
124
|
-
type __IsExpected<Specific extends AppPageConfig<"/settings">> = Specific
|
|
125
|
-
const handler = {} as typeof import("../../../src/app/settings/page.js")
|
|
126
|
-
type __Check = __IsExpected<typeof handler>
|
|
127
|
-
// @ts-ignore
|
|
128
|
-
type __Unused = __Check
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
// Validate ../../../src/app/settings/permissions/page.tsx
|
|
132
|
-
{
|
|
133
|
-
type __IsExpected<Specific extends AppPageConfig<"/settings/permissions">> = Specific
|
|
134
|
-
const handler = {} as typeof import("../../../src/app/settings/permissions/page.js")
|
|
135
|
-
type __Check = __IsExpected<typeof handler>
|
|
136
|
-
// @ts-ignore
|
|
137
|
-
type __Unused = __Check
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// Validate ../../../src/app/templates/page.tsx
|
|
141
|
-
{
|
|
142
|
-
type __IsExpected<Specific extends AppPageConfig<"/templates">> = Specific
|
|
143
|
-
const handler = {} as typeof import("../../../src/app/templates/page.js")
|
|
144
|
-
type __Check = __IsExpected<typeof handler>
|
|
145
|
-
// @ts-ignore
|
|
146
|
-
type __Unused = __Check
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
// Validate ../../../src/app/api/daemon/[...path]/route.ts
|
|
150
|
-
{
|
|
151
|
-
type __IsExpected<Specific extends RouteHandlerConfig<"/api/daemon/[...path]">> = Specific
|
|
152
|
-
const handler = {} as typeof import("../../../src/app/api/daemon/[...path]/route.js")
|
|
153
|
-
type __Check = __IsExpected<typeof handler>
|
|
154
|
-
// @ts-ignore
|
|
155
|
-
type __Unused = __Check
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
// Validate ../../../src/app/api/run-artifacts/[chatId]/route.ts
|
|
159
|
-
{
|
|
160
|
-
type __IsExpected<Specific extends RouteHandlerConfig<"/api/run-artifacts/[chatId]">> = Specific
|
|
161
|
-
const handler = {} as typeof import("../../../src/app/api/run-artifacts/[chatId]/route.js")
|
|
162
|
-
type __Check = __IsExpected<typeof handler>
|
|
163
|
-
// @ts-ignore
|
|
164
|
-
type __Unused = __Check
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
// Validate ../../../src/app/layout.tsx
|
|
172
|
-
{
|
|
173
|
-
type __IsExpected<Specific extends LayoutConfig<"/">> = Specific
|
|
174
|
-
const handler = {} as typeof import("../../../src/app/layout.js")
|
|
175
|
-
type __Check = __IsExpected<typeof handler>
|
|
176
|
-
// @ts-ignore
|
|
177
|
-
type __Unused = __Check
|
|
178
|
-
}
|
|
File without changes
|
/package/.next/static/{dJlbRLlhISA0JGtHKVqgQ → 9cD3yIOGe_Aqr17uJHTQS}/_clientMiddlewareManifest.js
RENAMED
|
File without changes
|
|
File without changes
|