File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 "dev" : " wrangler dev"
88 },
99 "dependencies" : {
10- "@interscript/api-worker" : " 0.0.0-software-not-yet-published "
10+ "@interscript/api-worker" : " github:interscript/api#88e4f80 "
1111 },
1212 "devDependencies" : {
1313 "wrangler" : " ^4.0.0"
1414 }
15- }
15+ }
Original file line number Diff line number Diff line change 1- // Deployment entry: re-exports the versioned software's worker handler.
1+ // Deployment entry: re-exports the pinned software's worker handler.
22// This file intentionally contains no logic — organizations deploying
33// their own endpoint change only this dependency pin and wrangler.jsonc.
4- export * from "@interscript/api-worker" ;
4+ export { app , default } from "@interscript/api-worker"
Original file line number Diff line number Diff line change 88 "routes" : [
99 { "pattern" : " api.interscript.org/*" , "custom_domain" : false }
1010 ],
11+ // Bundled map corpus: 291 static asset files served from the edge
12+ // cache (immutable per deploy); the ASSETS binding is the software's
13+ // map loader. Full-corpus detect needs a paid Workers CPU limit
14+ // (first call warms ~seconds; cached afterward) — set in the dashboard
15+ // or via "limits": { "cpu_ms": 30000 } if your plan supports it.
16+ "assets" : {
17+ "directory" : " ./node_modules/@interscript/api-worker/maps" ,
18+ "binding" : " ASSETS"
19+ },
1120 "vars" : {
1221 // Software knobs (defaults live in the software package):
1322 // "ML_INDEX_URL": "https://raw.githubusercontent.com/interscript/ml-models/main/models.yaml"
You can’t perform that action at this time.
0 commit comments