@dragonmastery/tamer 0.31.4 → 0.33.0

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.
Files changed (81) hide show
  1. package/README.md +2 -0
  2. package/dist/{apply-C_70Hgcf.mjs → apply-BsVQ9cbK.mjs} +25 -11
  3. package/dist/apply-BsVQ9cbK.mjs.map +1 -0
  4. package/dist/{applyTarget-Ce_mtRQX.mjs → applyTarget-BJlVrED9.mjs} +3 -3
  5. package/dist/{applyTarget-Ce_mtRQX.mjs.map → applyTarget-BJlVrED9.mjs.map} +1 -1
  6. package/dist/{bootstrap-CQS5s33A.mjs → bootstrap-CV6OT-c9.mjs} +2 -2
  7. package/dist/{bootstrap-CQS5s33A.mjs.map → bootstrap-CV6OT-c9.mjs.map} +1 -1
  8. package/dist/{buildDispatchUploadForm-CVnPmHg4.mjs → buildDispatchUploadForm-BNDcS5_9.mjs} +1 -1
  9. package/dist/{buildDispatchUploadForm-CVnPmHg4.mjs.map → buildDispatchUploadForm-BNDcS5_9.mjs.map} +1 -1
  10. package/dist/{cloudflareSnapshot-CFErW72O.mjs → cloudflareSnapshot-CMbPQIsN.mjs} +4 -4
  11. package/dist/{cloudflareSnapshot-CFErW72O.mjs.map → cloudflareSnapshot-CMbPQIsN.mjs.map} +1 -1
  12. package/dist/{deploy-D-GXzsWR.mjs → deploy-BP65Wvm1.mjs} +18 -7
  13. package/dist/deploy-BP65Wvm1.mjs.map +1 -0
  14. package/dist/{destroy-DJRw_qLX.mjs → destroy-DPSuQg9v.mjs} +9 -9
  15. package/dist/{destroy-DJRw_qLX.mjs.map → destroy-DPSuQg9v.mjs.map} +1 -1
  16. package/dist/{destroy-tenant-DFHfNImL.mjs → destroy-tenant-hyEb1gEz.mjs} +1 -1
  17. package/dist/{destroy-tenant-DFHfNImL.mjs.map → destroy-tenant-hyEb1gEz.mjs.map} +1 -1
  18. package/dist/{dev-caJxohHI.mjs → dev-Bug5l5OZ.mjs} +6 -6
  19. package/dist/{dev-caJxohHI.mjs.map → dev-Bug5l5OZ.mjs.map} +1 -1
  20. package/dist/{dns-records.resolve-8a_eHfVI.mjs → dns-records.resolve-BBTlY3T5.mjs} +1 -1
  21. package/dist/{dns-records.resolve-BB2agPAb.mjs → dns-records.resolve-DV6XBZf3.mjs} +1 -1
  22. package/dist/{dns-records.resolve-BB2agPAb.mjs.map → dns-records.resolve-DV6XBZf3.mjs.map} +1 -1
  23. package/dist/{dns-records.sync-Ck0Q2OK3.mjs → dns-records.sync-FyzKl-Ph.mjs} +2 -2
  24. package/dist/{dns-records.sync-Ck0Q2OK3.mjs.map → dns-records.sync-FyzKl-Ph.mjs.map} +1 -1
  25. package/dist/{doctor-32YLAXXl.mjs → doctor-BwuEPYM6.mjs} +1 -1
  26. package/dist/{doctor-32YLAXXl.mjs.map → doctor-BwuEPYM6.mjs.map} +1 -1
  27. package/dist/{drift-C-qnJ-mH.mjs → drift-Bp-P13-B.mjs} +6 -6
  28. package/dist/{drift-C-qnJ-mH.mjs.map → drift-Bp-P13-B.mjs.map} +1 -1
  29. package/dist/drift-RM0vq3uF.mjs +8 -0
  30. package/dist/emit-DTpaIMkn.mjs +141 -0
  31. package/dist/emit-DTpaIMkn.mjs.map +1 -0
  32. package/dist/{events-Bor7XgLC.mjs → events-B7Lencm8.mjs} +1 -1
  33. package/dist/{events-Bor7XgLC.mjs.map → events-B7Lencm8.mjs.map} +1 -1
  34. package/dist/{generator-gvCy7ouY.mjs → generator-ZTEeHlft.mjs} +2 -2
  35. package/dist/{generator-gvCy7ouY.mjs.map → generator-ZTEeHlft.mjs.map} +1 -1
  36. package/dist/{import-Vn9lhWic.mjs → import-Ciq9MN3v.mjs} +4 -4
  37. package/dist/{import-Vn9lhWic.mjs.map → import-Ciq9MN3v.mjs.map} +1 -1
  38. package/dist/index.d.mts +121 -21
  39. package/dist/index.d.mts.map +1 -1
  40. package/dist/{logpush-job-DJPlpnRu.mjs → logpush-job-GqVKG_HI.mjs} +1 -1
  41. package/dist/{logpush-job-DJPlpnRu.mjs.map → logpush-job-GqVKG_HI.mjs.map} +1 -1
  42. package/dist/{migrate-skvsDG6d.mjs → migrate-ODEnh6Tv.mjs} +4 -4
  43. package/dist/{migrate-skvsDG6d.mjs.map → migrate-ODEnh6Tv.mjs.map} +1 -1
  44. package/dist/normalize-DVSTRZhO.mjs.map +1 -1
  45. package/dist/{plan-BLy8FaE2.mjs → plan-BuG21Atq.mjs} +9 -9
  46. package/dist/{plan-BLy8FaE2.mjs.map → plan-BuG21Atq.mjs.map} +1 -1
  47. package/dist/{provision-tenant-CleOYFwr.mjs → provision-tenant-BHDWTC2U.mjs} +3 -3
  48. package/dist/{provision-tenant-CleOYFwr.mjs.map → provision-tenant-BHDWTC2U.mjs.map} +1 -1
  49. package/dist/{registry-EWWdkLf7.mjs → registry-BlHEOKlN.mjs} +75 -28
  50. package/dist/registry-BlHEOKlN.mjs.map +1 -0
  51. package/dist/{stackOutputs-BLvUMsQO.mjs → stackOutputs-CkpNSng8.mjs} +1 -1
  52. package/dist/{stackOutputs-BLvUMsQO.mjs.map → stackOutputs-CkpNSng8.mjs.map} +1 -1
  53. package/dist/{status-BxStsax8.mjs → status-PlMHsDzT.mjs} +5 -5
  54. package/dist/{status-BxStsax8.mjs.map → status-PlMHsDzT.mjs.map} +1 -1
  55. package/dist/{sync-KTzMVc_o.mjs → sync-YKZ5HD8v.mjs} +5 -5
  56. package/dist/{sync-KTzMVc_o.mjs.map → sync-YKZ5HD8v.mjs.map} +1 -1
  57. package/dist/tamer.mjs +69 -37
  58. package/dist/tamer.mjs.map +1 -1
  59. package/dist/{tamerArtifactsR2-DnUJmxnO.mjs → tamerArtifactsR2-Ba29OVp9.mjs} +1 -1
  60. package/dist/{tamerArtifactsR2-DnUJmxnO.mjs.map → tamerArtifactsR2-Ba29OVp9.mjs.map} +1 -1
  61. package/dist/{types-D7qKnGsm.mjs → types-DuK39eYA.mjs} +4 -4
  62. package/dist/{types-D7qKnGsm.mjs.map → types-DuK39eYA.mjs.map} +1 -1
  63. package/dist/{verifyPlanFile-CR2bELdE.mjs → verifyPlanFile-BBAwWzUo.mjs} +2 -2
  64. package/dist/{verifyPlanFile-CR2bELdE.mjs.map → verifyPlanFile-BBAwWzUo.mjs.map} +1 -1
  65. package/dist/{wfp-delete-CDBFqmrM.mjs → wfp-delete-CQc9tveU.mjs} +1 -1
  66. package/dist/{wfp-delete-CDBFqmrM.mjs.map → wfp-delete-CQc9tveU.mjs.map} +1 -1
  67. package/dist/{wfp-put-BrwICc9i.mjs → wfp-put-CVw8cloM.mjs} +2 -2
  68. package/dist/{wfp-put-BrwICc9i.mjs.map → wfp-put-CVw8cloM.mjs.map} +1 -1
  69. package/dist/{worker-route-tOqVbhv3.mjs → worker-route-CqBDvjgo.mjs} +2 -2
  70. package/dist/{worker-route-tOqVbhv3.mjs.map → worker-route-CqBDvjgo.mjs.map} +1 -1
  71. package/dist/{workers-6r2ONF9J.mjs → workers-DAv1ze8_.mjs} +2 -2
  72. package/dist/{workers-6r2ONF9J.mjs.map → workers-DAv1ze8_.mjs.map} +1 -1
  73. package/dist/{wranglerSpawn-CUlo2qOJ.mjs → wranglerSpawn-B3TKjpt2.mjs} +1 -1
  74. package/dist/{wranglerSpawn-CUlo2qOJ.mjs.map → wranglerSpawn-B3TKjpt2.mjs.map} +1 -1
  75. package/dist/{zoneResolver-DNNNmO_w.mjs → zoneResolver-D9bz6-0l.mjs} +1 -1
  76. package/dist/{zoneResolver-DNNNmO_w.mjs.map → zoneResolver-D9bz6-0l.mjs.map} +1 -1
  77. package/package.json +1 -1
  78. package/dist/apply-C_70Hgcf.mjs.map +0 -1
  79. package/dist/deploy-D-GXzsWR.mjs.map +0 -1
  80. package/dist/drift-5_LwAdZo.mjs +0 -8
  81. package/dist/registry-EWWdkLf7.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"events-Bor7XgLC.mjs","names":[],"sources":["../src/cli/commands/events.ts"],"sourcesContent":["import { loadConfig } from \"../../core/config/loader.js\";\nimport { cloudflareAccountIdFromEnv } from \"../../core/cloudflareEnv.js\";\nimport { StateManager } from \"../../core/state/StateManager.js\";\nimport { stackNameForConfig } from \"../../core/state/stackName.js\";\nimport { CFApiClient } from \"../../core/api/CFApiClient.js\";\nimport type { CfiOperationRecord } from \"../../types.js\";\n\nfunction formatDuration(\n startedAt: string,\n completedAt: string | undefined,\n): string | undefined {\n if (!completedAt) return undefined;\n const a = Date.parse(startedAt);\n const b = Date.parse(completedAt);\n if (!Number.isFinite(a) || !Number.isFinite(b) || b < a) return undefined;\n const ms = b - a;\n if (ms < 1000) return `${ms}ms`;\n return `${(ms / 1000).toFixed(1)}s`;\n}\n\nfunction printOp(label: string, op: CfiOperationRecord): void {\n const dur = formatDuration(op.startedAt, op.completedAt);\n console.log(` [${label}] ${op.command}`);\n console.log(` started: ${op.startedAt}`);\n if (op.completedAt) {\n console.log(` completed: ${op.completedAt}`);\n }\n if (dur) console.log(` duration: ${dur}`);\n if (op.detail) console.log(` detail: ${op.detail}`);\n if (op.errorMessage) console.log(` error: ${op.errorMessage}`);\n console.log();\n}\n\n/**\n * Read-only: print recent completed stack operations from D1 state\n * (`operationHistory`) plus any in-progress marker (`lastOperation`).\n */\nexport async function runEvents(options: {\n env?: string;\n configPath?: string;\n limit?: number;\n json?: boolean;\n}): Promise<void> {\n const env = options.env ?? \"local\";\n const config = await loadConfig(options.configPath, { env });\n const accountId =\n config.account_id ?? cloudflareAccountIdFromEnv();\n if (!accountId) {\n throw new Error(\n \"account_id required in config or CLOUDFLARE_ACCOUNT_ID env var\",\n );\n }\n const stackName = stackNameForConfig(config);\n const api = new CFApiClient(accountId);\n const state = new StateManager(config.tenant.id, env, stackName);\n await state.hydrate(api);\n\n const last = state.getLastOperation();\n const inProgress =\n last?.status === \"in_progress\" ? last : undefined;\n let history = state.getOperationHistory();\n if (options.limit !== undefined) {\n history = history.slice(0, options.limit);\n }\n\n if (options.json) {\n const out = {\n stackName,\n env,\n tenantId: config.tenant.id,\n inProgress: inProgress ?? null,\n history,\n };\n console.log(JSON.stringify(out, null, 2));\n return;\n }\n\n console.log(\n `\\nStack events — ${config.tenant.name} (${config.tenant.slug}) — stack \"${stackName}\" env ${env}\\n`,\n );\n\n if (inProgress) {\n console.log(\"In progress:\\n\");\n printOp(\"in_progress\", inProgress);\n }\n\n if (history.length === 0) {\n console.log(\n inProgress\n ? \"(no completed operations in history yet)\\n\"\n : \"No completed operations recorded in state yet.\\n\",\n );\n return;\n }\n\n console.log(\"Recent completed operations (newest first):\\n\");\n for (const op of history) {\n printOp(op.status, op);\n }\n}\n"],"mappings":";;;AAOA,SAAS,eACP,WACA,aACoB;AACpB,KAAI,CAAC,YAAa,QAAO;CACzB,MAAM,IAAI,KAAK,MAAM,UAAU;CAC/B,MAAM,IAAI,KAAK,MAAM,YAAY;AACjC,KAAI,CAAC,OAAO,SAAS,EAAE,IAAI,CAAC,OAAO,SAAS,EAAE,IAAI,IAAI,EAAG,QAAO;CAChE,MAAM,KAAK,IAAI;AACf,KAAI,KAAK,IAAM,QAAO,GAAG,GAAG;AAC5B,QAAO,IAAI,KAAK,KAAM,QAAQ,EAAE,CAAC;;AAGnC,SAAS,QAAQ,OAAe,IAA8B;CAC5D,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG,YAAY;AACxD,SAAQ,IAAI,MAAM,MAAM,IAAI,GAAG,UAAU;AACzC,SAAQ,IAAI,kBAAkB,GAAG,YAAY;AAC7C,KAAI,GAAG,YACL,SAAQ,IAAI,kBAAkB,GAAG,cAAc;AAEjD,KAAI,IAAK,SAAQ,IAAI,kBAAkB,MAAM;AAC7C,KAAI,GAAG,OAAQ,SAAQ,IAAI,kBAAkB,GAAG,SAAS;AACzD,KAAI,GAAG,aAAc,SAAQ,IAAI,kBAAkB,GAAG,eAAe;AACrE,SAAQ,KAAK;;;;;;AAOf,eAAsB,UAAU,SAKd;CAChB,MAAM,MAAM,QAAQ,OAAO;CAC3B,MAAM,SAAS,MAAM,WAAW,QAAQ,YAAY,EAAE,KAAK,CAAC;CAC5D,MAAM,YACJ,OAAO,cAAc,4BAA4B;AACnD,KAAI,CAAC,UACH,OAAM,IAAI,MACR,iEACD;CAEH,MAAM,YAAY,mBAAmB,OAAO;CAC5C,MAAM,MAAM,IAAI,YAAY,UAAU;CACtC,MAAM,QAAQ,IAAI,aAAa,OAAO,OAAO,IAAI,KAAK,UAAU;AAChE,OAAM,MAAM,QAAQ,IAAI;CAExB,MAAM,OAAO,MAAM,kBAAkB;CACrC,MAAM,aACJ,MAAM,WAAW,gBAAgB,OAAO;CAC1C,IAAI,UAAU,MAAM,qBAAqB;AACzC,KAAI,QAAQ,UAAU,OACpB,WAAU,QAAQ,MAAM,GAAG,QAAQ,MAAM;AAG3C,KAAI,QAAQ,MAAM;EAChB,MAAM,MAAM;GACV;GACA;GACA,UAAU,OAAO,OAAO;GACxB,YAAY,cAAc;GAC1B;GACD;AACD,UAAQ,IAAI,KAAK,UAAU,KAAK,MAAM,EAAE,CAAC;AACzC;;AAGF,SAAQ,IACN,oBAAoB,OAAO,OAAO,KAAK,IAAI,OAAO,OAAO,KAAK,aAAa,UAAU,QAAQ,IAAI,IAClG;AAED,KAAI,YAAY;AACd,UAAQ,IAAI,iBAAiB;AAC7B,UAAQ,eAAe,WAAW;;AAGpC,KAAI,QAAQ,WAAW,GAAG;AACxB,UAAQ,IACN,aACI,+CACA,mDACL;AACD;;AAGF,SAAQ,IAAI,gDAAgD;AAC5D,MAAK,MAAM,MAAM,QACf,SAAQ,GAAG,QAAQ,GAAG"}
1
+ {"version":3,"file":"events-B7Lencm8.mjs","names":[],"sources":["../src/cli/commands/events.ts"],"sourcesContent":["import { loadConfig } from \"../../core/config/loader.js\";\nimport { cloudflareAccountIdFromEnv } from \"../../core/cloudflareEnv.js\";\nimport { StateManager } from \"../../core/state/StateManager.js\";\nimport { stackNameForConfig } from \"../../core/state/stackName.js\";\nimport { CFApiClient } from \"../../core/api/CFApiClient.js\";\nimport type { CfiOperationRecord } from \"../../types.js\";\n\nfunction formatDuration(\n startedAt: string,\n completedAt: string | undefined,\n): string | undefined {\n if (!completedAt) return undefined;\n const a = Date.parse(startedAt);\n const b = Date.parse(completedAt);\n if (!Number.isFinite(a) || !Number.isFinite(b) || b < a) return undefined;\n const ms = b - a;\n if (ms < 1000) return `${ms}ms`;\n return `${(ms / 1000).toFixed(1)}s`;\n}\n\nfunction printOp(label: string, op: CfiOperationRecord): void {\n const dur = formatDuration(op.startedAt, op.completedAt);\n console.log(` [${label}] ${op.command}`);\n console.log(` started: ${op.startedAt}`);\n if (op.completedAt) {\n console.log(` completed: ${op.completedAt}`);\n }\n if (dur) console.log(` duration: ${dur}`);\n if (op.detail) console.log(` detail: ${op.detail}`);\n if (op.errorMessage) console.log(` error: ${op.errorMessage}`);\n console.log();\n}\n\n/**\n * Read-only: print recent completed stack operations from D1 state\n * (`operationHistory`) plus any in-progress marker (`lastOperation`).\n */\nexport async function runEvents(options: {\n env?: string;\n configPath?: string;\n limit?: number;\n json?: boolean;\n}): Promise<void> {\n const env = options.env ?? \"local\";\n const config = await loadConfig(options.configPath, { env });\n const accountId =\n config.account_id ?? cloudflareAccountIdFromEnv();\n if (!accountId) {\n throw new Error(\n \"account_id required in config or CLOUDFLARE_ACCOUNT_ID env var\",\n );\n }\n const stackName = stackNameForConfig(config);\n const api = new CFApiClient(accountId);\n const state = new StateManager(config.tenant.id, env, stackName);\n await state.hydrate(api);\n\n const last = state.getLastOperation();\n const inProgress =\n last?.status === \"in_progress\" ? last : undefined;\n let history = state.getOperationHistory();\n if (options.limit !== undefined) {\n history = history.slice(0, options.limit);\n }\n\n if (options.json) {\n const out = {\n stackName,\n env,\n tenantId: config.tenant.id,\n inProgress: inProgress ?? null,\n history,\n };\n console.log(JSON.stringify(out, null, 2));\n return;\n }\n\n console.log(\n `\\nStack events — ${config.tenant.name} (${config.tenant.slug}) — stack \"${stackName}\" env ${env}\\n`,\n );\n\n if (inProgress) {\n console.log(\"In progress:\\n\");\n printOp(\"in_progress\", inProgress);\n }\n\n if (history.length === 0) {\n console.log(\n inProgress\n ? \"(no completed operations in history yet)\\n\"\n : \"No completed operations recorded in state yet.\\n\",\n );\n return;\n }\n\n console.log(\"Recent completed operations (newest first):\\n\");\n for (const op of history) {\n printOp(op.status, op);\n }\n}\n"],"mappings":";;;AAOA,SAAS,eACP,WACA,aACoB;AACpB,KAAI,CAAC,YAAa,QAAO;CACzB,MAAM,IAAI,KAAK,MAAM,UAAU;CAC/B,MAAM,IAAI,KAAK,MAAM,YAAY;AACjC,KAAI,CAAC,OAAO,SAAS,EAAE,IAAI,CAAC,OAAO,SAAS,EAAE,IAAI,IAAI,EAAG,QAAO;CAChE,MAAM,KAAK,IAAI;AACf,KAAI,KAAK,IAAM,QAAO,GAAG,GAAG;AAC5B,QAAO,IAAI,KAAK,KAAM,QAAQ,EAAE,CAAC;;AAGnC,SAAS,QAAQ,OAAe,IAA8B;CAC5D,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG,YAAY;AACxD,SAAQ,IAAI,MAAM,MAAM,IAAI,GAAG,UAAU;AACzC,SAAQ,IAAI,kBAAkB,GAAG,YAAY;AAC7C,KAAI,GAAG,YACL,SAAQ,IAAI,kBAAkB,GAAG,cAAc;AAEjD,KAAI,IAAK,SAAQ,IAAI,kBAAkB,MAAM;AAC7C,KAAI,GAAG,OAAQ,SAAQ,IAAI,kBAAkB,GAAG,SAAS;AACzD,KAAI,GAAG,aAAc,SAAQ,IAAI,kBAAkB,GAAG,eAAe;AACrE,SAAQ,KAAK;;;;;;AAOf,eAAsB,UAAU,SAKd;CAChB,MAAM,MAAM,QAAQ,OAAO;CAC3B,MAAM,SAAS,MAAM,WAAW,QAAQ,YAAY,EAAE,KAAK,CAAC;CAC5D,MAAM,YACJ,OAAO,cAAc,4BAA4B;AACnD,KAAI,CAAC,UACH,OAAM,IAAI,MACR,iEACD;CAEH,MAAM,YAAY,mBAAmB,OAAO;CAC5C,MAAM,MAAM,IAAI,YAAY,UAAU;CACtC,MAAM,QAAQ,IAAI,aAAa,OAAO,OAAO,IAAI,KAAK,UAAU;AAChE,OAAM,MAAM,QAAQ,IAAI;CAExB,MAAM,OAAO,MAAM,kBAAkB;CACrC,MAAM,aACJ,MAAM,WAAW,gBAAgB,OAAO;CAC1C,IAAI,UAAU,MAAM,qBAAqB;AACzC,KAAI,QAAQ,UAAU,OACpB,WAAU,QAAQ,MAAM,GAAG,QAAQ,MAAM;AAG3C,KAAI,QAAQ,MAAM;EAChB,MAAM,MAAM;GACV;GACA;GACA,UAAU,OAAO,OAAO;GACxB,YAAY,cAAc;GAC1B;GACD;AACD,UAAQ,IAAI,KAAK,UAAU,KAAK,MAAM,EAAE,CAAC;AACzC;;AAGF,SAAQ,IACN,oBAAoB,OAAO,OAAO,KAAK,IAAI,OAAO,OAAO,KAAK,aAAa,UAAU,QAAQ,IAAI,IAClG;AAED,KAAI,YAAY;AACd,UAAQ,IAAI,iBAAiB;AAC7B,UAAQ,eAAe,WAAW;;AAGpC,KAAI,QAAQ,WAAW,GAAG;AACxB,UAAQ,IACN,aACI,+CACA,mDACL;AACD;;AAGF,SAAQ,IAAI,gDAAgD;AAC5D,MAAK,MAAM,MAAM,QACf,SAAQ,GAAG,QAAQ,GAAG"}
@@ -1,4 +1,4 @@
1
- import { n as resourceModules, r as secretsStoreDeriveName } from "./registry-EWWdkLf7.mjs";
1
+ import { n as resourceModules, r as secretsStoreDeriveName } from "./registry-BlHEOKlN.mjs";
2
2
  import { join } from "path";
3
3
  import { writeFileSync } from "fs";
4
4
 
@@ -75,4 +75,4 @@ function writeWranglerJson(workerDir, config, outFile = "wrangler.json") {
75
75
 
76
76
  //#endregion
77
77
  export { writeWranglerJson as n, generateWranglerConfig as t };
78
- //# sourceMappingURL=generator-gvCy7ouY.mjs.map
78
+ //# sourceMappingURL=generator-ZTEeHlft.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"generator-gvCy7ouY.mjs","names":["out: GeneratedSecretsStoreSecretBinding[]","config: WranglerConfig"],"sources":["../src/features/secrets-store/secrets-store.generate.ts","../src/core/wrangler/generator.ts"],"sourcesContent":["import type { NamingEngine } from \"../../core/naming/NamingEngine.js\";\nimport type {\n StateEntry,\n SecretsStoreResourceConfig,\n SecretsStoreSecretBinding,\n SecretsStoreStateEntry,\n} from \"../../types.js\";\nimport { secretsStoreDeriveName } from \"./secrets-store.naming.js\";\n\nexport interface SecretsStoreStateLike {\n get(key: string): StateEntry | undefined;\n getAll(): Record<string, StateEntry>;\n}\n\n/**\n * One row of wrangler's `secrets_store_secrets[]` array. Resolved from a\n * worker's declared `secretsStoreSecrets[]` by looking up the\n * Tamer-managed store's `store_id` in state. The named secret itself must\n * already exist inside the store (created out-of-band via wrangler\n * `secrets-store secret create`); Tamer never reads or writes secret\n * values.\n */\nexport interface GeneratedSecretsStoreSecretBinding {\n binding: string;\n store_id: string;\n secret_name: string;\n}\n\n/**\n * Resolve `secretsStoreSecrets[]` worker bindings into wrangler-shape\n * `secrets_store_secrets[]` entries by looking up the referenced\n * Tamer-managed store's `store_id` in state. Throws with an actionable\n * message if a referenced store has never been applied — the binding\n * would otherwise be deployed against a non-existent store.\n */\nexport function secretsStoreSecretsGenerate(\n bindings: SecretsStoreSecretBinding[],\n env: string,\n state: SecretsStoreStateLike,\n naming: NamingEngine,\n secretsStores?: SecretsStoreResourceConfig[],\n): GeneratedSecretsStoreSecretBinding[] {\n const out: GeneratedSecretsStoreSecretBinding[] = [];\n for (const b of bindings) {\n const storeConfig = secretsStores?.find((s) => s.logicalName === b.store);\n const derivedName = storeConfig\n ? secretsStoreDeriveName(storeConfig, env, naming)\n : naming.secretsStoreName(b.store, env);\n const entry = state.get(`secrets_store:${derivedName}`) as\n | SecretsStoreStateEntry\n | undefined;\n if (!entry || entry.type !== \"secrets_store\") {\n throw new Error(\n `Secrets Store binding \"${b.binding}\" references store \"${b.store}\" — ` +\n `not in state. Declare it under \\`resources.secretsStores\\` and run ` +\n `'tamer apply --env ${env}' first.`,\n );\n }\n out.push({\n binding: b.binding,\n store_id: entry.cfId,\n secret_name: b.secretName,\n });\n }\n return out;\n}\n","import { writeFileSync } from \"fs\";\nimport { join } from \"path\";\nimport type { WranglerConfig } from \"../../generated/wrangler-types.js\";\nimport type { ResolvedWorkerConfig } from \"../config/resolver.js\";\nimport type { StateManager } from \"../state/StateManager.js\";\nimport type { NamingEngine } from \"../naming/NamingEngine.js\";\nimport { resourceModules } from \"../registry/registry.js\";\nimport { secretsStoreSecretsGenerate } from \"../../features/secrets-store/secrets-store.generate.js\";\n\nexport class CfiError extends Error {\n constructor(message: string) {\n super(message);\n this.name = \"CfiError\";\n }\n}\n\n/**\n * Build the worker's `wrangler.json` by asking every registered resource\n * module for its bindings fragment, then merging on top of the\n * passthrough config (`resolved.wranglerConfig`). Adding a new resource\n * kind requires zero edits here — register the module, done.\n */\nexport function generateWranglerConfig(\n resolved: ResolvedWorkerConfig,\n state: StateManager,\n naming: NamingEngine,\n): WranglerConfig {\n let config: WranglerConfig = {\n ...resolved.wranglerConfig,\n $schema: \"node_modules/wrangler/config-schema.json\",\n };\n\n const worker = {\n workerKey: resolved.workerKey,\n deployedName: resolved.workerName,\n };\n for (const mod of resourceModules) {\n const resources = mod.pickResources(resolved.resources);\n const fragment = mod.generate({\n resources,\n env: resolved.env,\n state,\n naming,\n passthrough: resolved.wranglerConfig,\n worker,\n });\n config = { ...config, ...fragment };\n }\n\n const secretBindings = resolved.resources?.secretsStoreSecrets ?? [];\n if (secretBindings.length > 0) {\n const passthroughSecrets =\n resolved.wranglerConfig.secrets_store_secrets ?? [];\n const generated = secretsStoreSecretsGenerate(\n secretBindings,\n resolved.env,\n state,\n naming,\n resolved.resources?.secretsStores,\n );\n config = {\n ...config,\n secrets_store_secrets: [...passthroughSecrets, ...generated],\n };\n }\n\n return config;\n}\n\nexport function writeWranglerJson(\n workerDir: string,\n config: WranglerConfig,\n outFile: string = \"wrangler.json\",\n): void {\n const path = join(workerDir, outFile);\n writeFileSync(path, JSON.stringify(config, null, 2), \"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kBACd,WACA,QACA,UAAkB,iBACZ;AAEN,eADa,KAAK,WAAW,QAAQ,EACjB,KAAK,UAAU,QAAQ,MAAM,EAAE,EAAE,QAAQ"}
1
+ {"version":3,"file":"generator-ZTEeHlft.mjs","names":["out: GeneratedSecretsStoreSecretBinding[]","config: WranglerConfig"],"sources":["../src/features/secrets-store/secrets-store.generate.ts","../src/core/wrangler/generator.ts"],"sourcesContent":["import type { NamingEngine } from \"../../core/naming/NamingEngine.js\";\nimport type {\n StateEntry,\n SecretsStoreResourceConfig,\n SecretsStoreSecretBinding,\n SecretsStoreStateEntry,\n} from \"../../types.js\";\nimport { secretsStoreDeriveName } from \"./secrets-store.naming.js\";\n\nexport interface SecretsStoreStateLike {\n get(key: string): StateEntry | undefined;\n getAll(): Record<string, StateEntry>;\n}\n\n/**\n * One row of wrangler's `secrets_store_secrets[]` array. Resolved from a\n * worker's declared `secretsStoreSecrets[]` by looking up the\n * Tamer-managed store's `store_id` in state. The named secret itself must\n * already exist inside the store (created out-of-band via wrangler\n * `secrets-store secret create`); Tamer never reads or writes secret\n * values.\n */\nexport interface GeneratedSecretsStoreSecretBinding {\n binding: string;\n store_id: string;\n secret_name: string;\n}\n\n/**\n * Resolve `secretsStoreSecrets[]` worker bindings into wrangler-shape\n * `secrets_store_secrets[]` entries by looking up the referenced\n * Tamer-managed store's `store_id` in state. Throws with an actionable\n * message if a referenced store has never been applied — the binding\n * would otherwise be deployed against a non-existent store.\n */\nexport function secretsStoreSecretsGenerate(\n bindings: SecretsStoreSecretBinding[],\n env: string,\n state: SecretsStoreStateLike,\n naming: NamingEngine,\n secretsStores?: SecretsStoreResourceConfig[],\n): GeneratedSecretsStoreSecretBinding[] {\n const out: GeneratedSecretsStoreSecretBinding[] = [];\n for (const b of bindings) {\n const storeConfig = secretsStores?.find((s) => s.logicalName === b.store);\n const derivedName = storeConfig\n ? secretsStoreDeriveName(storeConfig, env, naming)\n : naming.secretsStoreName(b.store, env);\n const entry = state.get(`secrets_store:${derivedName}`) as\n | SecretsStoreStateEntry\n | undefined;\n if (!entry || entry.type !== \"secrets_store\") {\n throw new Error(\n `Secrets Store binding \"${b.binding}\" references store \"${b.store}\" — ` +\n `not in state. Declare it under \\`resources.secretsStores\\` and run ` +\n `'tamer apply --env ${env}' first.`,\n );\n }\n out.push({\n binding: b.binding,\n store_id: entry.cfId,\n secret_name: b.secretName,\n });\n }\n return out;\n}\n","import { writeFileSync } from \"fs\";\nimport { join } from \"path\";\nimport type { WranglerConfig } from \"../../generated/wrangler-types.js\";\nimport type { ResolvedWorkerConfig } from \"../config/resolver.js\";\nimport type { StateManager } from \"../state/StateManager.js\";\nimport type { NamingEngine } from \"../naming/NamingEngine.js\";\nimport { resourceModules } from \"../registry/registry.js\";\nimport { secretsStoreSecretsGenerate } from \"../../features/secrets-store/secrets-store.generate.js\";\n\nexport class CfiError extends Error {\n constructor(message: string) {\n super(message);\n this.name = \"CfiError\";\n }\n}\n\n/**\n * Build the worker's `wrangler.json` by asking every registered resource\n * module for its bindings fragment, then merging on top of the\n * passthrough config (`resolved.wranglerConfig`). Adding a new resource\n * kind requires zero edits here — register the module, done.\n */\nexport function generateWranglerConfig(\n resolved: ResolvedWorkerConfig,\n state: StateManager,\n naming: NamingEngine,\n): WranglerConfig {\n let config: WranglerConfig = {\n ...resolved.wranglerConfig,\n $schema: \"node_modules/wrangler/config-schema.json\",\n };\n\n const worker = {\n workerKey: resolved.workerKey,\n deployedName: resolved.workerName,\n };\n for (const mod of resourceModules) {\n const resources = mod.pickResources(resolved.resources);\n const fragment = mod.generate({\n resources,\n env: resolved.env,\n state,\n naming,\n passthrough: resolved.wranglerConfig,\n worker,\n });\n config = { ...config, ...fragment };\n }\n\n const secretBindings = resolved.resources?.secretsStoreSecrets ?? [];\n if (secretBindings.length > 0) {\n const passthroughSecrets =\n resolved.wranglerConfig.secrets_store_secrets ?? [];\n const generated = secretsStoreSecretsGenerate(\n secretBindings,\n resolved.env,\n state,\n naming,\n resolved.resources?.secretsStores,\n );\n config = {\n ...config,\n secrets_store_secrets: [...passthroughSecrets, ...generated],\n };\n }\n\n return config;\n}\n\nexport function writeWranglerJson(\n workerDir: string,\n config: WranglerConfig,\n outFile: string = \"wrangler.json\",\n): void {\n const path = join(workerDir, outFile);\n writeFileSync(path, JSON.stringify(config, null, 2), \"utf-8\");\n}\n"],"mappings":";;;;;;;;;;;;AAmCA,SAAgB,4BACd,UACA,KACA,OACA,QACA,eACsC;CACtC,MAAMA,MAA4C,EAAE;AACpD,MAAK,MAAM,KAAK,UAAU;EACxB,MAAM,cAAc,eAAe,MAAM,MAAM,EAAE,gBAAgB,EAAE,MAAM;EACzE,MAAM,cAAc,cAChB,uBAAuB,aAAa,KAAK,OAAO,GAChD,OAAO,iBAAiB,EAAE,OAAO,IAAI;EACzC,MAAM,QAAQ,MAAM,IAAI,iBAAiB,cAAc;AAGvD,MAAI,CAAC,SAAS,MAAM,SAAS,gBAC3B,OAAM,IAAI,MACR,0BAA0B,EAAE,QAAQ,sBAAsB,EAAE,MAAM,4FAE1C,IAAI,UAC7B;AAEH,MAAI,KAAK;GACP,SAAS,EAAE;GACX,UAAU,MAAM;GAChB,aAAa,EAAE;GAChB,CAAC;;AAEJ,QAAO;;;;;;;;;;;AC1CT,SAAgB,uBACd,UACA,OACA,QACgB;CAChB,IAAIC,SAAyB;EAC3B,GAAG,SAAS;EACZ,SAAS;EACV;CAED,MAAM,SAAS;EACb,WAAW,SAAS;EACpB,cAAc,SAAS;EACxB;AACD,MAAK,MAAM,OAAO,iBAAiB;EACjC,MAAM,YAAY,IAAI,cAAc,SAAS,UAAU;EACvD,MAAM,WAAW,IAAI,SAAS;GAC5B;GACA,KAAK,SAAS;GACd;GACA;GACA,aAAa,SAAS;GACtB;GACD,CAAC;AACF,WAAS;GAAE,GAAG;GAAQ,GAAG;GAAU;;CAGrC,MAAM,iBAAiB,SAAS,WAAW,uBAAuB,EAAE;AACpE,KAAI,eAAe,SAAS,GAAG;EAC7B,MAAM,qBACJ,SAAS,eAAe,yBAAyB,EAAE;EACrD,MAAM,YAAY,4BAChB,gBACA,SAAS,KACT,OACA,QACA,SAAS,WAAW,cACrB;AACD,WAAS;GACP,GAAG;GACH,uBAAuB,CAAC,GAAG,oBAAoB,GAAG,UAAU;GAC7D;;AAGH,QAAO;;AAGT,SAAgB,kBACd,WACA,QACA,UAAkB,iBACZ;AAEN,eADa,KAAK,WAAW,QAAQ,EACjB,KAAK,UAAU,QAAQ,MAAM,EAAE,EAAE,QAAQ"}
@@ -1,7 +1,7 @@
1
1
  import { B as getWorkers, L as CFApiClient, R as cloudflareAccountIdFromEnv, V as loadConfig, f as fetchStackImports, h as StateManager, k as resolveWorkerConfig, u as namingFromConfig, w as stackNameForConfig } from "./tamer.mjs";
2
- import { n as resourceModules, t as getResourceModule } from "./registry-EWWdkLf7.mjs";
2
+ import { n as resourceModules, t as getResourceModule } from "./registry-BlHEOKlN.mjs";
3
3
  import "./r2S3EmptyBucket-B9_pHfvB.mjs";
4
- import { n as workerRouteStateKey, t as findZoneIdByName } from "./zoneResolver-DNNNmO_w.mjs";
4
+ import { n as workerRouteStateKey, t as findZoneIdByName } from "./zoneResolver-D9bz6-0l.mjs";
5
5
 
6
6
  //#region src/cli/commands/import.ts
7
7
  const REGISTRY_KINDS = new Set(resourceModules.map((m) => m.kind));
@@ -110,7 +110,7 @@ async function importDnsRecord(ctx) {
110
110
  const hit = (await api.zoneDnsRecordListAll(declared.zoneId)).find((r) => r.id === options.cfId);
111
111
  if (!hit) throw new Error(`import dns_record: record id "${options.cfId}" not found in zone "${declared.zoneId}"`);
112
112
  if (hit.type !== declared.type) throw new Error(`import dns_record: cf record type "${hit.type}" does not match declared type "${declared.type}"`);
113
- const { dnsRecordStateKey } = await import("./dns-records.resolve-8a_eHfVI.mjs");
113
+ const { dnsRecordStateKey } = await import("./dns-records.resolve-BBTlY3T5.mjs");
114
114
  const key = dnsRecordStateKey(declared.zoneId, declared.type, declared.name);
115
115
  const existing = state.get(key);
116
116
  state.set(key, {
@@ -161,4 +161,4 @@ async function importWorkerRoute(ctx) {
161
161
 
162
162
  //#endregion
163
163
  export { runImport };
164
- //# sourceMappingURL=import-Vn9lhWic.mjs.map
164
+ //# sourceMappingURL=import-Ciq9MN3v.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"import-Vn9lhWic.mjs","names":[],"sources":["../src/cli/commands/import.ts"],"sourcesContent":["import { loadConfig, getWorkers } from \"../../core/config/loader.js\";\nimport { cloudflareAccountIdFromEnv } from \"../../core/cloudflareEnv.js\";\nimport { namingFromConfig } from \"../../core/config/namingFromConfig.js\";\nimport { CFApiClient } from \"../../core/api/CFApiClient.js\";\nimport { StateManager } from \"../../core/state/StateManager.js\";\nimport { stackNameForConfig } from \"../../core/state/stackName.js\";\nimport { resolveWorkerConfig } from \"../../core/config/resolver.js\";\nimport { fetchStackImports } from \"../../core/imports/fetchStackImports.js\";\nimport { workerRouteStateKey } from \"../../features/worker-route/worker-route.stateKey.js\";\nimport { findZoneIdByName } from \"../../core/routes/zoneResolver.js\";\nimport {\n getResourceModule,\n resourceModules,\n type ResourceKind,\n} from \"../../core/registry/registry.js\";\n\n/** All registered resource kinds plus the non-registry imports. */\nexport type ImportKind =\n | ResourceKind\n | \"dispatch_namespace\"\n | \"dns_record\"\n | \"worker_route\";\n\nexport interface ImportOptions {\n env: string;\n kind: ImportKind;\n /** Logical name from `tamer.config.ts` (or worker key, for `worker_route`). */\n logical: string;\n /** Cloudflare resource id (D1 uuid, KV id, R2 bucket name, or namespace name). */\n cfId?: string;\n /** Required for sharded D1 imports (YYYY-MM-DD). */\n shardDate?: string;\n /** R2 buckets only: creation date (YYYY-MM-DD) used in the binding key. */\n createdDate?: string;\n /** worker_route only: the route id from `/zones/{id}/workers/routes`. */\n routeId?: string;\n /** worker_route only: zone name from `tamerRoutes`. */\n zoneName?: string;\n configPath?: string;\n}\n\nconst REGISTRY_KINDS = new Set<string>(resourceModules.map((m) => m.kind));\n\n/**\n * `tamer import` — register an existing Cloudflare resource into Tamer state\n * by logical name (CloudFormation `import_resources` analogue). For all\n * resource-registry kinds the work is delegated to the module's\n * `importOne` hook; `dispatch_namespace` and `worker_route` remain inline\n * because they aren't registry resources today.\n */\nexport async function runImport(options: ImportOptions): Promise<void> {\n const env = options.env;\n if (env === \"local\") {\n throw new Error(\"import: --env local is not supported (no persisted state)\");\n }\n const baseDir = process.cwd();\n const config = await loadConfig(options.configPath, { env });\n const accountId = config.account_id ?? cloudflareAccountIdFromEnv();\n if (!accountId) {\n throw new Error(\n \"account_id required in config or CLOUDFLARE_ACCOUNT_ID env var\",\n );\n }\n const api = new CFApiClient(accountId);\n const naming = namingFromConfig(config);\n const state = new StateManager(\n config.tenant.id,\n env,\n stackNameForConfig(config),\n );\n await state.hydrate(api);\n state.beginOperation(\"import\", `${options.kind}:${options.logical}`);\n\n const ts = new Date().toISOString();\n\n try {\n if (REGISTRY_KINDS.has(options.kind)) {\n const mod = getResourceModule(options.kind as ResourceKind);\n if (!mod) throw new Error(`unknown import kind \"${options.kind}\"`);\n await mod.importOne({\n options: {\n env,\n kind: options.kind,\n logical: options.logical,\n cfId: options.cfId,\n shardDate: options.shardDate,\n createdDate: options.createdDate,\n routeId: options.routeId,\n zoneName: options.zoneName,\n },\n env,\n api,\n state,\n naming,\n config,\n baseDir,\n ts,\n });\n } else if (options.kind === \"dispatch_namespace\") {\n await importDispatchNamespace({ options, env, api, state, ts });\n } else if (options.kind === \"dns_record\") {\n await importDnsRecord({ options, env, api, state, config, ts });\n } else if (options.kind === \"worker_route\") {\n await importWorkerRoute({\n options,\n env,\n baseDir,\n accountId,\n api,\n naming,\n state,\n config,\n ts,\n });\n } else {\n throw new Error(`unknown import kind \"${options.kind}\"`);\n }\n\n state.finishOperation(\"imported\");\n await state.persist(api);\n console.log(`Imported ${options.kind} \"${options.logical}\" into ${env} state.`);\n } catch (err) {\n const msg = err instanceof Error ? err.message : String(err);\n state.failOperation(msg);\n try {\n await state.persist(api);\n } catch {\n /* swallow secondary persist failure */\n }\n throw err;\n }\n}\n\nasync function importDispatchNamespace(ctx: {\n options: ImportOptions;\n env: string;\n api: CFApiClient;\n state: StateManager;\n ts: string;\n}): Promise<void> {\n const { options, api, state, ts } = ctx;\n const namespaces = await api.dispatchNamespaceListAll();\n const hit = namespaces.find((n) => n.namespace_name === options.cfId);\n if (!hit) {\n throw new Error(\n `import dispatch_namespace: namespace \"${options.cfId}\" not found`,\n );\n }\n const derivedName = hit.namespace_name;\n const key = `dispatch_ns:${derivedName}`;\n const existing = state.get(key);\n state.set(key, {\n type: \"dispatch_namespace\",\n logicalName: options.logical,\n derivedName,\n createdAt:\n existing?.type === \"dispatch_namespace\" ? existing.createdAt : ts,\n updatedAt: ts,\n });\n}\n\nasync function importDnsRecord(ctx: {\n options: ImportOptions;\n env: string;\n api: CFApiClient;\n state: StateManager;\n config: Awaited<ReturnType<typeof loadConfig>>;\n ts: string;\n}): Promise<void> {\n const { options, api, state, config, ts } = ctx;\n if (!options.cfId) {\n throw new Error(\n \"import dns_record: --cf-id <recordId> is required (the record id from `tamer drift` or the Cloudflare dashboard URL)\",\n );\n }\n const declared = (config.dnsRecords ?? []).find(\n (r) => r.logicalName === options.logical,\n );\n if (!declared) {\n throw new Error(\n `import dns_record: no dnsRecords entry with logicalName \"${options.logical}\" in the Tamer project config`,\n );\n }\n const list = await api.zoneDnsRecordListAll(declared.zoneId);\n const hit = list.find((r) => r.id === options.cfId);\n if (!hit) {\n throw new Error(\n `import dns_record: record id \"${options.cfId}\" not found in zone \"${declared.zoneId}\"`,\n );\n }\n if (hit.type !== declared.type) {\n throw new Error(\n `import dns_record: cf record type \"${hit.type}\" does not match declared type \"${declared.type}\"`,\n );\n }\n const { dnsRecordStateKey } = await import(\n \"../../features/dns-records/dns-records.resolve.js\"\n );\n const key = dnsRecordStateKey(declared.zoneId, declared.type, declared.name);\n const existing = state.get(key);\n state.set(key, {\n type: \"dns_record\",\n logicalName: options.logical,\n zoneId: declared.zoneId,\n recordType: declared.type,\n name: hit.name,\n content: hit.content,\n ttl: hit.ttl ?? 1,\n proxied: hit.proxied ?? false,\n priority: hit.priority,\n comment: hit.comment ?? \"\",\n recordId: hit.id,\n createdAt: existing?.type === \"dns_record\" ? existing.createdAt : ts,\n updatedAt: ts,\n });\n}\n\nasync function importWorkerRoute(ctx: {\n options: ImportOptions;\n env: string;\n baseDir: string;\n accountId: string;\n api: CFApiClient;\n naming: ReturnType<typeof namingFromConfig>;\n state: StateManager;\n config: Awaited<ReturnType<typeof loadConfig>>;\n ts: string;\n}): Promise<void> {\n const { options, env, baseDir, accountId, api, naming, state, config, ts } =\n ctx;\n if (!options.routeId) {\n throw new Error(\"import worker_route: --route-id <id> is required\");\n }\n const workers = await getWorkers(config, baseDir);\n const wc = workers.find(([k]) => k === options.logical)?.[1];\n if (!wc) {\n throw new Error(\n `import worker_route: no worker key \"${options.logical}\" in the Tamer project config`,\n );\n }\n const imports = await fetchStackImports(api, config, env);\n const resolved = await resolveWorkerConfig(\n config,\n options.logical,\n wc,\n env,\n baseDir,\n accountId,\n naming,\n state,\n { imports },\n );\n if (resolved.apiManagedRoutes.length === 0) {\n throw new Error(\n `import worker_route: worker \"${options.logical}\" declares no api-managed tamerRoutes for env ${env}`,\n );\n }\n\n const route = options.zoneName\n ? resolved.apiManagedRoutes.find((r) => r.zone_name === options.zoneName)\n : resolved.apiManagedRoutes[0];\n if (!route) {\n throw new Error(\n `import worker_route: no route for zone \"${options.zoneName}\" in resolved config`,\n );\n }\n const zoneId = await findZoneIdByName(api, route.zone_name);\n if (!zoneId) {\n throw new Error(`import worker_route: zone \"${route.zone_name}\" not found`);\n }\n const list = await api.zoneWorkerRoutesList(zoneId);\n const hit = list.find((r) => r.id === options.routeId);\n if (!hit) {\n throw new Error(\n `import worker_route: route id \"${options.routeId}\" not found in zone \"${route.zone_name}\"`,\n );\n }\n if (hit.pattern !== route.pattern) {\n throw new Error(\n `import worker_route: cf pattern \"${hit.pattern}\" does not match resolved \"${route.pattern}\"`,\n );\n }\n const key = workerRouteStateKey(zoneId, options.routeId);\n const existing = state.get(key);\n state.set(key, {\n type: \"worker_route\",\n workerKey: options.logical,\n workerName: resolved.workerName,\n zoneId,\n zoneName: route.zone_name,\n routeId: options.routeId,\n pattern: route.pattern,\n createdAt: existing?.type === \"worker_route\" ? existing.createdAt : ts,\n updatedAt: ts,\n });\n}\n"],"mappings":";;;;;;AAyCA,MAAM,iBAAiB,IAAI,IAAY,gBAAgB,KAAK,MAAM,EAAE,KAAK,CAAC;;;;;;;;AAS1E,eAAsB,UAAU,SAAuC;CACrE,MAAM,MAAM,QAAQ;AACpB,KAAI,QAAQ,QACV,OAAM,IAAI,MAAM,4DAA4D;CAE9E,MAAM,UAAU,QAAQ,KAAK;CAC7B,MAAM,SAAS,MAAM,WAAW,QAAQ,YAAY,EAAE,KAAK,CAAC;CAC5D,MAAM,YAAY,OAAO,cAAc,4BAA4B;AACnE,KAAI,CAAC,UACH,OAAM,IAAI,MACR,iEACD;CAEH,MAAM,MAAM,IAAI,YAAY,UAAU;CACtC,MAAM,SAAS,iBAAiB,OAAO;CACvC,MAAM,QAAQ,IAAI,aAChB,OAAO,OAAO,IACd,KACA,mBAAmB,OAAO,CAC3B;AACD,OAAM,MAAM,QAAQ,IAAI;AACxB,OAAM,eAAe,UAAU,GAAG,QAAQ,KAAK,GAAG,QAAQ,UAAU;CAEpE,MAAM,sBAAK,IAAI,MAAM,EAAC,aAAa;AAEnC,KAAI;AACF,MAAI,eAAe,IAAI,QAAQ,KAAK,EAAE;GACpC,MAAM,MAAM,kBAAkB,QAAQ,KAAqB;AAC3D,OAAI,CAAC,IAAK,OAAM,IAAI,MAAM,wBAAwB,QAAQ,KAAK,GAAG;AAClE,SAAM,IAAI,UAAU;IAClB,SAAS;KACP;KACA,MAAM,QAAQ;KACd,SAAS,QAAQ;KACjB,MAAM,QAAQ;KACd,WAAW,QAAQ;KACnB,aAAa,QAAQ;KACrB,SAAS,QAAQ;KACjB,UAAU,QAAQ;KACnB;IACD;IACA;I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,MAAM,WAAW,MAAM,oBACrB,QACA,QAAQ,SACR,IACA,KACA,SACA,WACA,QACA,OACA,EAAE,SAAS,CACZ;AACD,KAAI,SAAS,iBAAiB,WAAW,EACvC,OAAM,IAAI,MACR,gCAAgC,QAAQ,QAAQ,gDAAgD,MACjG;CAGH,MAAM,QAAQ,QAAQ,WAClB,SAAS,iBAAiB,MAAM,MAAM,EAAE,cAAc,QAAQ,SAAS,GACvE,SAAS,iBAAiB;AAC9B,KAAI,CAAC,MACH,OAAM,IAAI,MACR,2CAA2C,QAAQ,SAAS,sBAC7D;CAEH,MAAM,SAAS,MAAM,iBAAiB,KAAK,MAAM,UAAU;AAC3D,KAAI,CAAC,OACH,OAAM,IAAI,MAAM,8BAA8B,MAAM,UAAU,aAAa;CAG7E,MAAM,OADO,MAAM,IAAI,qBAAqB,OAAO,EAClC,MAAM,MAAM,EAAE,OAAO,QAAQ,QAAQ;AACtD,KAAI,CAAC,IACH,OAAM,IAAI,MACR,kCAAkC,QAAQ,QAAQ,uBAAuB,MAAM,UAAU,GAC1F;AAEH,KAAI,IAAI,YAAY,MAAM,QACxB,OAAM,IAAI,MACR,oCAAoC,IAAI,QAAQ,6BAA6B,MAAM,QAAQ,GAC5F;CAEH,MAAM,MAAM,oBAAoB,QAAQ,QAAQ,QAAQ;CACxD,MAAM,WAAW,MAAM,IAAI,IAAI;AAC/B,OAAM,IAAI,KAAK;EACb,MAAM;EACN,WAAW,QAAQ;EACnB,YAAY,SAAS;EACrB;EACA,UAAU,MAAM;EAChB,SAAS,QAAQ;EACjB,SAAS,MAAM;EACf,WAAW,UAAU,SAAS,iBAAiB,SAAS,YAAY;EACpE,WAAW;EACZ,CAAC"}
1
+ {"version":3,"file":"import-Ciq9MN3v.mjs","names":[],"sources":["../src/cli/commands/import.ts"],"sourcesContent":["import { loadConfig, getWorkers } from \"../../core/config/loader.js\";\nimport { cloudflareAccountIdFromEnv } from \"../../core/cloudflareEnv.js\";\nimport { namingFromConfig } from \"../../core/config/namingFromConfig.js\";\nimport { CFApiClient } from \"../../core/api/CFApiClient.js\";\nimport { StateManager } from \"../../core/state/StateManager.js\";\nimport { stackNameForConfig } from \"../../core/state/stackName.js\";\nimport { resolveWorkerConfig } from \"../../core/config/resolver.js\";\nimport { fetchStackImports } from \"../../core/imports/fetchStackImports.js\";\nimport { workerRouteStateKey } from \"../../features/worker-route/worker-route.stateKey.js\";\nimport { findZoneIdByName } from \"../../core/routes/zoneResolver.js\";\nimport {\n getResourceModule,\n resourceModules,\n type ResourceKind,\n} from \"../../core/registry/registry.js\";\n\n/** All registered resource kinds plus the non-registry imports. */\nexport type ImportKind =\n | ResourceKind\n | \"dispatch_namespace\"\n | \"dns_record\"\n | \"worker_route\";\n\nexport interface ImportOptions {\n env: string;\n kind: ImportKind;\n /** Logical name from `tamer.config.ts` (or worker key, for `worker_route`). */\n logical: string;\n /** Cloudflare resource id (D1 uuid, KV id, R2 bucket name, or namespace name). */\n cfId?: string;\n /** Required for sharded D1 imports (YYYY-MM-DD). */\n shardDate?: string;\n /** R2 buckets only: creation date (YYYY-MM-DD) used in the binding key. */\n createdDate?: string;\n /** worker_route only: the route id from `/zones/{id}/workers/routes`. */\n routeId?: string;\n /** worker_route only: zone name from `tamerRoutes`. */\n zoneName?: string;\n configPath?: string;\n}\n\nconst REGISTRY_KINDS = new Set<string>(resourceModules.map((m) => m.kind));\n\n/**\n * `tamer import` — register an existing Cloudflare resource into Tamer state\n * by logical name (CloudFormation `import_resources` analogue). For all\n * resource-registry kinds the work is delegated to the module's\n * `importOne` hook; `dispatch_namespace` and `worker_route` remain inline\n * because they aren't registry resources today.\n */\nexport async function runImport(options: ImportOptions): Promise<void> {\n const env = options.env;\n if (env === \"local\") {\n throw new Error(\"import: --env local is not supported (no persisted state)\");\n }\n const baseDir = process.cwd();\n const config = await loadConfig(options.configPath, { env });\n const accountId = config.account_id ?? cloudflareAccountIdFromEnv();\n if (!accountId) {\n throw new Error(\n \"account_id required in config or CLOUDFLARE_ACCOUNT_ID env var\",\n );\n }\n const api = new CFApiClient(accountId);\n const naming = namingFromConfig(config);\n const state = new StateManager(\n config.tenant.id,\n env,\n stackNameForConfig(config),\n );\n await state.hydrate(api);\n state.beginOperation(\"import\", `${options.kind}:${options.logical}`);\n\n const ts = new Date().toISOString();\n\n try {\n if (REGISTRY_KINDS.has(options.kind)) {\n const mod = getResourceModule(options.kind as ResourceKind);\n if (!mod) throw new Error(`unknown import kind \"${options.kind}\"`);\n await mod.importOne({\n options: {\n env,\n kind: options.kind,\n logical: options.logical,\n cfId: options.cfId,\n shardDate: options.shardDate,\n createdDate: options.createdDate,\n routeId: options.routeId,\n zoneName: options.zoneName,\n },\n env,\n api,\n state,\n naming,\n config,\n baseDir,\n ts,\n });\n } else if (options.kind === \"dispatch_namespace\") {\n await importDispatchNamespace({ options, env, api, state, ts });\n } else if (options.kind === \"dns_record\") {\n await importDnsRecord({ options, env, api, state, config, ts });\n } else if (options.kind === \"worker_route\") {\n await importWorkerRoute({\n options,\n env,\n baseDir,\n accountId,\n api,\n naming,\n state,\n config,\n ts,\n });\n } else {\n throw new Error(`unknown import kind \"${options.kind}\"`);\n }\n\n state.finishOperation(\"imported\");\n await state.persist(api);\n console.log(`Imported ${options.kind} \"${options.logical}\" into ${env} state.`);\n } catch (err) {\n const msg = err instanceof Error ? err.message : String(err);\n state.failOperation(msg);\n try {\n await state.persist(api);\n } catch {\n /* swallow secondary persist failure */\n }\n throw err;\n }\n}\n\nasync function importDispatchNamespace(ctx: {\n options: ImportOptions;\n env: string;\n api: CFApiClient;\n state: StateManager;\n ts: string;\n}): Promise<void> {\n const { options, api, state, ts } = ctx;\n const namespaces = await api.dispatchNamespaceListAll();\n const hit = namespaces.find((n) => n.namespace_name === options.cfId);\n if (!hit) {\n throw new Error(\n `import dispatch_namespace: namespace \"${options.cfId}\" not found`,\n );\n }\n const derivedName = hit.namespace_name;\n const key = `dispatch_ns:${derivedName}`;\n const existing = state.get(key);\n state.set(key, {\n type: \"dispatch_namespace\",\n logicalName: options.logical,\n derivedName,\n createdAt:\n existing?.type === \"dispatch_namespace\" ? existing.createdAt : ts,\n updatedAt: ts,\n });\n}\n\nasync function importDnsRecord(ctx: {\n options: ImportOptions;\n env: string;\n api: CFApiClient;\n state: StateManager;\n config: Awaited<ReturnType<typeof loadConfig>>;\n ts: string;\n}): Promise<void> {\n const { options, api, state, config, ts } = ctx;\n if (!options.cfId) {\n throw new Error(\n \"import dns_record: --cf-id <recordId> is required (the record id from `tamer drift` or the Cloudflare dashboard URL)\",\n );\n }\n const declared = (config.dnsRecords ?? []).find(\n (r) => r.logicalName === options.logical,\n );\n if (!declared) {\n throw new Error(\n `import dns_record: no dnsRecords entry with logicalName \"${options.logical}\" in the Tamer project config`,\n );\n }\n const list = await api.zoneDnsRecordListAll(declared.zoneId);\n const hit = list.find((r) => r.id === options.cfId);\n if (!hit) {\n throw new Error(\n `import dns_record: record id \"${options.cfId}\" not found in zone \"${declared.zoneId}\"`,\n );\n }\n if (hit.type !== declared.type) {\n throw new Error(\n `import dns_record: cf record type \"${hit.type}\" does not match declared type \"${declared.type}\"`,\n );\n }\n const { dnsRecordStateKey } = await import(\n \"../../features/dns-records/dns-records.resolve.js\"\n );\n const key = dnsRecordStateKey(declared.zoneId, declared.type, declared.name);\n const existing = state.get(key);\n state.set(key, {\n type: \"dns_record\",\n logicalName: options.logical,\n zoneId: declared.zoneId,\n recordType: declared.type,\n name: hit.name,\n content: hit.content,\n ttl: hit.ttl ?? 1,\n proxied: hit.proxied ?? false,\n priority: hit.priority,\n comment: hit.comment ?? \"\",\n recordId: hit.id,\n createdAt: existing?.type === \"dns_record\" ? existing.createdAt : ts,\n updatedAt: ts,\n });\n}\n\nasync function importWorkerRoute(ctx: {\n options: ImportOptions;\n env: string;\n baseDir: string;\n accountId: string;\n api: CFApiClient;\n naming: ReturnType<typeof namingFromConfig>;\n state: StateManager;\n config: Awaited<ReturnType<typeof loadConfig>>;\n ts: string;\n}): Promise<void> {\n const { options, env, baseDir, accountId, api, naming, state, config, ts } =\n ctx;\n if (!options.routeId) {\n throw new Error(\"import worker_route: --route-id <id> is required\");\n }\n const workers = await getWorkers(config, baseDir);\n const wc = workers.find(([k]) => k === options.logical)?.[1];\n if (!wc) {\n throw new Error(\n `import worker_route: no worker key \"${options.logical}\" in the Tamer project config`,\n );\n }\n const imports = await fetchStackImports(api, config, env);\n const resolved = await resolveWorkerConfig(\n config,\n options.logical,\n wc,\n env,\n baseDir,\n accountId,\n naming,\n state,\n { imports },\n );\n if (resolved.apiManagedRoutes.length === 0) {\n throw new Error(\n `import worker_route: worker \"${options.logical}\" declares no api-managed tamerRoutes for env ${env}`,\n );\n }\n\n const route = options.zoneName\n ? resolved.apiManagedRoutes.find((r) => r.zone_name === options.zoneName)\n : resolved.apiManagedRoutes[0];\n if (!route) {\n throw new Error(\n `import worker_route: no route for zone \"${options.zoneName}\" in resolved config`,\n );\n }\n const zoneId = await findZoneIdByName(api, route.zone_name);\n if (!zoneId) {\n throw new Error(`import worker_route: zone \"${route.zone_name}\" not found`);\n }\n const list = await api.zoneWorkerRoutesList(zoneId);\n const hit = list.find((r) => r.id === options.routeId);\n if (!hit) {\n throw new Error(\n `import worker_route: route id \"${options.routeId}\" not found in zone \"${route.zone_name}\"`,\n );\n }\n if (hit.pattern !== route.pattern) {\n throw new Error(\n `import worker_route: cf pattern \"${hit.pattern}\" does not match resolved \"${route.pattern}\"`,\n );\n }\n const key = workerRouteStateKey(zoneId, options.routeId);\n const existing = state.get(key);\n state.set(key, {\n type: \"worker_route\",\n workerKey: options.logical,\n workerName: resolved.workerName,\n zoneId,\n zoneName: route.zone_name,\n routeId: options.routeId,\n pattern: route.pattern,\n createdAt: existing?.type === \"worker_route\" ? existing.createdAt : ts,\n updatedAt: ts,\n });\n}\n"],"mappings":";;;;;;AAyCA,MAAM,iBAAiB,IAAI,IAAY,gBAAgB,KAAK,MAAM,EAAE,KAAK,CAAC;;;;;;;;AAS1E,eAAsB,UAAU,SAAuC;CACrE,MAAM,M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C7D;CAEH,MAAM,SAAS,MAAM,iBAAiB,KAAK,MAAM,UAAU;AAC3D,KAAI,CAAC,OACH,OAAM,IAAI,MAAM,8BAA8B,MAAM,UAAU,aAAa;CAG7E,MAAM,OADO,MAAM,IAAI,qBAAqB,OAAO,EAClC,MAAM,MAAM,EAAE,OAAO,QAAQ,QAAQ;AACtD,KAAI,CAAC,IACH,OAAM,IAAI,MACR,kCAAkC,QAAQ,QAAQ,uBAAuB,MAAM,UAAU,GAC1F;AAEH,KAAI,IAAI,YAAY,MAAM,QACxB,OAAM,IAAI,MACR,oCAAoC,IAAI,QAAQ,6BAA6B,MAAM,QAAQ,GAC5F;CAEH,MAAM,MAAM,oBAAoB,QAAQ,QAAQ,QAAQ;CACxD,MAAM,WAAW,MAAM,IAAI,IAAI;AAC/B,OAAM,IAAI,KAAK;EACb,MAAM;EACN,WAAW,QAAQ;EACnB,YAAY,SAAS;EACrB;EACA,UAAU,MAAM;EAChB,SAAS,QAAQ;EACjB,SAAS,MAAM;EACf,WAAW,UAAU,SAAS,iBAAiB,SAAS,YAAY;EACpE,WAAW;EACZ,CAAC"}
package/dist/index.d.mts CHANGED
@@ -366,10 +366,10 @@ interface RawEnvironment {
366
366
  * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#previews
367
367
  */
368
368
  previews?: {
369
- logpush?: Interface7690406478080179507690406470491392004818536;
370
- observability?: Interface7690406478080179507690406470491392004818536;
371
- limits?: Interface7690406478080179507690406470491392004818536;
372
- cache?: Interface7690406478080179507690406470491392004818536;
369
+ logpush?: Interface7690406478409182797690406470501432004818536;
370
+ observability?: Interface7690406478409182797690406470501432004818536;
371
+ limits?: Interface7690406478409182797690406470501432004818536;
372
+ cache?: Interface7690406478409182797690406470501432004818536;
373
373
  /**
374
374
  * A map of values to substitute when deploying your Worker.
375
375
  *
@@ -628,6 +628,14 @@ interface RawEnvironment {
628
628
  * The path to the directory of migrations for this D1 database (defaults to './migrations').
629
629
  */
630
630
  migrations_dir?: string;
631
+ /**
632
+ * A glob pattern (relative to the Wrangler config file) used to discover migration files for this D1 database. Defaults to `${migrations_dir}/*.sql` if not specified.
633
+ *
634
+ * Use this to opt in to nested layouts such as `migrations/*\/migration.sql` (as produced by some ORMs).
635
+ *
636
+ * When `migrations_pattern` is set, `migrations_dir` must also be set, and `migrations_pattern` must start with `${migrations_dir}/`. This keeps the relationship between the two settings explicit and lets Wrangler record each migration's name in the migrations table as a path relative to `migrations_dir`.
637
+ */
638
+ migrations_pattern?: string;
631
639
  /**
632
640
  * Internal use only.
633
641
  */
@@ -720,7 +728,7 @@ interface RawEnvironment {
720
728
  *
721
729
  * NOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.
722
730
  */
723
- web_search?: {
731
+ websearch?: {
724
732
  /**
725
733
  * The binding name used to refer to Web Search in the Worker.
726
734
  */
@@ -1442,6 +1450,14 @@ interface RawEnvironment {
1442
1450
  * The path to the directory of migrations for this D1 database (defaults to './migrations').
1443
1451
  */
1444
1452
  migrations_dir?: string;
1453
+ /**
1454
+ * A glob pattern (relative to the Wrangler config file) used to discover migration files for this D1 database. Defaults to `${migrations_dir}/*.sql` if not specified.
1455
+ *
1456
+ * Use this to opt in to nested layouts such as `migrations/*\/migration.sql` (as produced by some ORMs).
1457
+ *
1458
+ * When `migrations_pattern` is set, `migrations_dir` must also be set, and `migrations_pattern` must start with `${migrations_dir}/`. This keeps the relationship between the two settings explicit and lets Wrangler record each migration's name in the migrations table as a path relative to `migrations_dir`.
1459
+ */
1460
+ migrations_pattern?: string;
1445
1461
  /**
1446
1462
  * Internal use only.
1447
1463
  */
@@ -1534,7 +1550,7 @@ interface RawEnvironment {
1534
1550
  *
1535
1551
  * NOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.
1536
1552
  */
1537
- web_search?: {
1553
+ websearch?: {
1538
1554
  /**
1539
1555
  * The binding name used to refer to Web Search in the Worker.
1540
1556
  */
@@ -2072,9 +2088,9 @@ interface Rule {
2072
2088
  * The `EnvironmentInheritable` interface declares all the configuration fields for an environment that can be inherited (and overridden) from the top-level environment.
2073
2089
  *
2074
2090
  * This interface was referenced by `WranglerSchema`'s JSON-Schema
2075
- * via the `definition` "interface-769040647-8080-17950-769040647-0-491392004818536".
2091
+ * via the `definition` "interface-769040647-8409-18279-769040647-0-501432004818536".
2076
2092
  */
2077
- interface Interface7690406478080179507690406470491392004818536 {
2093
+ interface Interface7690406478409182797690406470501432004818536 {
2078
2094
  /**
2079
2095
  * The name of your Worker. Alphanumeric + dashes only.
2080
2096
  */
@@ -2388,10 +2404,10 @@ interface Interface7690406478080179507690406470491392004818536 {
2388
2404
  * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#previews
2389
2405
  */
2390
2406
  previews?: {
2391
- logpush?: Interface7690406478080179507690406470491392004818536;
2392
- observability?: Interface7690406478080179507690406470491392004818536;
2393
- limits?: Interface7690406478080179507690406470491392004818536;
2394
- cache?: Interface7690406478080179507690406470491392004818536;
2407
+ logpush?: Interface7690406478409182797690406470501432004818536;
2408
+ observability?: Interface7690406478409182797690406470501432004818536;
2409
+ limits?: Interface7690406478409182797690406470501432004818536;
2410
+ cache?: Interface7690406478409182797690406470501432004818536;
2395
2411
  /**
2396
2412
  * A map of values to substitute when deploying your Worker.
2397
2413
  *
@@ -2650,6 +2666,14 @@ interface Interface7690406478080179507690406470491392004818536 {
2650
2666
  * The path to the directory of migrations for this D1 database (defaults to './migrations').
2651
2667
  */
2652
2668
  migrations_dir?: string;
2669
+ /**
2670
+ * A glob pattern (relative to the Wrangler config file) used to discover migration files for this D1 database. Defaults to `${migrations_dir}/*.sql` if not specified.
2671
+ *
2672
+ * Use this to opt in to nested layouts such as `migrations/*\/migration.sql` (as produced by some ORMs).
2673
+ *
2674
+ * When `migrations_pattern` is set, `migrations_dir` must also be set, and `migrations_pattern` must start with `${migrations_dir}/`. This keeps the relationship between the two settings explicit and lets Wrangler record each migration's name in the migrations table as a path relative to `migrations_dir`.
2675
+ */
2676
+ migrations_pattern?: string;
2653
2677
  /**
2654
2678
  * Internal use only.
2655
2679
  */
@@ -2742,7 +2766,7 @@ interface Interface7690406478080179507690406470491392004818536 {
2742
2766
  *
2743
2767
  * NOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.
2744
2768
  */
2745
- web_search?: {
2769
+ websearch?: {
2746
2770
  /**
2747
2771
  * The binding name used to refer to Web Search in the Worker.
2748
2772
  */
@@ -3715,10 +3739,10 @@ interface RawConfig {
3715
3739
  * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#previews
3716
3740
  */
3717
3741
  previews?: {
3718
- logpush?: Interface7690406478080179507690406470491392004818536;
3719
- observability?: Interface7690406478080179507690406470491392004818536;
3720
- limits?: Interface7690406478080179507690406470491392004818536;
3721
- cache?: Interface7690406478080179507690406470491392004818536;
3742
+ logpush?: Interface7690406478409182797690406470501432004818536;
3743
+ observability?: Interface7690406478409182797690406470501432004818536;
3744
+ limits?: Interface7690406478409182797690406470501432004818536;
3745
+ cache?: Interface7690406478409182797690406470501432004818536;
3722
3746
  /**
3723
3747
  * A map of values to substitute when deploying your Worker.
3724
3748
  *
@@ -3977,6 +4001,14 @@ interface RawConfig {
3977
4001
  * The path to the directory of migrations for this D1 database (defaults to './migrations').
3978
4002
  */
3979
4003
  migrations_dir?: string;
4004
+ /**
4005
+ * A glob pattern (relative to the Wrangler config file) used to discover migration files for this D1 database. Defaults to `${migrations_dir}/*.sql` if not specified.
4006
+ *
4007
+ * Use this to opt in to nested layouts such as `migrations/*\/migration.sql` (as produced by some ORMs).
4008
+ *
4009
+ * When `migrations_pattern` is set, `migrations_dir` must also be set, and `migrations_pattern` must start with `${migrations_dir}/`. This keeps the relationship between the two settings explicit and lets Wrangler record each migration's name in the migrations table as a path relative to `migrations_dir`.
4010
+ */
4011
+ migrations_pattern?: string;
3980
4012
  /**
3981
4013
  * Internal use only.
3982
4014
  */
@@ -4069,7 +4101,7 @@ interface RawConfig {
4069
4101
  *
4070
4102
  * NOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.
4071
4103
  */
4072
- web_search?: {
4104
+ websearch?: {
4073
4105
  /**
4074
4106
  * The binding name used to refer to Web Search in the Worker.
4075
4107
  */
@@ -4791,6 +4823,14 @@ interface RawConfig {
4791
4823
  * The path to the directory of migrations for this D1 database (defaults to './migrations').
4792
4824
  */
4793
4825
  migrations_dir?: string;
4826
+ /**
4827
+ * A glob pattern (relative to the Wrangler config file) used to discover migration files for this D1 database. Defaults to `${migrations_dir}/*.sql` if not specified.
4828
+ *
4829
+ * Use this to opt in to nested layouts such as `migrations/*\/migration.sql` (as produced by some ORMs).
4830
+ *
4831
+ * When `migrations_pattern` is set, `migrations_dir` must also be set, and `migrations_pattern` must start with `${migrations_dir}/`. This keeps the relationship between the two settings explicit and lets Wrangler record each migration's name in the migrations table as a path relative to `migrations_dir`.
4832
+ */
4833
+ migrations_pattern?: string;
4794
4834
  /**
4795
4835
  * Internal use only.
4796
4836
  */
@@ -4883,7 +4923,7 @@ interface RawConfig {
4883
4923
  *
4884
4924
  * NOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.
4885
4925
  */
4886
- web_search?: {
4926
+ websearch?: {
4887
4927
  /**
4888
4928
  * The binding name used to refer to Web Search in the Worker.
4889
4929
  */
@@ -5737,8 +5777,26 @@ interface D1ResourceConfig {
5737
5777
  * before apply / sync / wrangler generation.
5738
5778
  */
5739
5779
  databaseName?: TamerResolvableString;
5740
- /** When set, used as the Wrangler D1 `binding` instead of the generated name. Only applies to `type: "single"`. */
5780
+ /**
5781
+ * When set, used as the Wrangler D1 `binding` instead of the generated name.
5782
+ * Applies to `type: "single"` and `type: "sharded"`.
5783
+ */
5741
5784
  binding?: string;
5785
+ /**
5786
+ * Pin the shard date for `type: "sharded"` (ISO `YYYY-MM-DD` or `YYYYMMDD`).
5787
+ * Brownfield: match one physical shard during sync/apply. Greenfield: first shard date.
5788
+ */
5789
+ shardDate?: string;
5790
+ /**
5791
+ * Role label in the generated shard registry (defaults to {@link logicalName}).
5792
+ */
5793
+ registryRole?: string;
5794
+ /** Prior shard id strings that decode to this shard (brownfield aliases). */
5795
+ legacyIds?: string[];
5796
+ /** Prior wrangler binding keys for this shard (dual-bind / rename history). */
5797
+ legacyBindings?: string[];
5798
+ /** When false, shard is read-only for new writes (multi-shard same role). Default true. */
5799
+ current?: boolean;
5742
5800
  migrationsDir?: string;
5743
5801
  migrationsTable?: string;
5744
5802
  /**
@@ -5751,6 +5809,43 @@ interface D1ResourceConfig {
5751
5809
  */
5752
5810
  preserveOnDestroy?: boolean;
5753
5811
  }
5812
+ /** One row in {@link ShardRegistryV1}. */
5813
+ interface ShardRegistryEntryV1 {
5814
+ /** Logical shard id embedded in universal IDs (brownfield: CF database name). */
5815
+ id: string;
5816
+ /** App vocabulary — typically the D1 `logicalName` or {@link D1ResourceConfig.registryRole}. */
5817
+ role: string;
5818
+ /** Current Wrangler D1 binding for this env. */
5819
+ binding: string;
5820
+ /** Physical Cloudflare D1 database name for this env. */
5821
+ databaseName: string;
5822
+ shardDate?: string;
5823
+ /** When multiple shards share a role, marks the write target. Default true. */
5824
+ current?: boolean;
5825
+ legacyBindings?: string[];
5826
+ legacyIds?: string[];
5827
+ }
5828
+ /** Versioned shard registry emitted by `tamer apply` when `codegen.shardRegistry` is set. */
5829
+ interface ShardRegistryV1 {
5830
+ version: 1;
5831
+ shards: ShardRegistryEntryV1[];
5832
+ }
5833
+ /** Options for {@link CodegenConfig.shardRegistry}. */
5834
+ interface ShardRegistryCodegenConfig {
5835
+ /**
5836
+ * Worker key that receives the generated module. Required when the stack
5837
+ * declares `workers` with more than one entry.
5838
+ */
5839
+ worker?: string;
5840
+ /** Path relative to the worker directory. Default: `src/db/shard-registry.ts`. */
5841
+ outFile?: string;
5842
+ /** Exported constant name. Default: `shardRegistry`. */
5843
+ exportName?: string;
5844
+ }
5845
+ interface CodegenConfig {
5846
+ /** Emit a {@link ShardRegistryV1} module after wrangler generation on `apply`. */
5847
+ shardRegistry?: ShardRegistryCodegenConfig;
5848
+ }
5754
5849
  /** R2 bucket on `resources.r2[]`. Name from {@link cloudflareName} → {@link NamingConventions.r2Bucket} → default. */
5755
5850
  interface R2ResourceConfig {
5756
5851
  logicalName: string;
@@ -6462,6 +6557,11 @@ interface CfiConfigBase {
6462
6557
  * verbatim.
6463
6558
  */
6464
6559
  outputs?: Record<string, TamerResolvableString>;
6560
+ /**
6561
+ * Apply-time code generation hooks. Artifacts are gitignored siblings of
6562
+ * `wrangler.json` unless your stack commits them deliberately.
6563
+ */
6564
+ codegen?: CodegenConfig;
6465
6565
  }
6466
6566
  /** Single-worker stack: one top-level `worker` (no `workers` map). */
6467
6567
  interface CfiConfigSingle extends CfiConfigBase {
@@ -7000,5 +7100,5 @@ declare function materializeCloudflareBindings(value: unknown): unknown;
7000
7100
  */
7001
7101
  declare function defineCloudflareConfig(config: unknown): CfiConfig;
7002
7102
  //#endregion
7003
- export { AIGatewayResourceConfig, AIGatewayStateEntry, CfBinding, type CfBindingSpec, type CfLogpushPipelinesField, type CfResourceField, type CfResourceKind, CfiConfig, CfiConfigMulti, CfiConfigSingle, CfiOperationName, CfiOperationRecord, CfiOperationStatus, CfiStackConfig, CfiStackMeta, CfiStackOutputValue, CfiState, CloudflareNameContext, CloudflareNameFn, D1ResourceConfig, D1StateEntry, DispatchNamespaceResourceConfig, DispatchNamespaceStateEntry, DnsRecordResourceConfig, DnsRecordStateEntry, EnvOverride, HyperdriveOriginSpec, HyperdriveResourceConfig, HyperdriveStateEntry, KVResourceConfig, KVStateEntry, LogpushJobPipelinesAutoDestination, LogpushJobPipelinesIngestDestination, LogpushJobR2Destination, LogpushJobResourceConfig, LogpushJobStateEntry, LogpushPipelinesStateEntry, LogpushWorkersTraceDataset, NamingConventions, PipelineResourceConfig, PipelineStateEntry, ProvisioningStatus, QueueResourceConfig, QueueStateEntry, R2ResourceConfig, R2StateEntry, type RawConfig, type RawEnvironment, ResourceStatus, RouteResourceConfig, SecretStateEntry, SecretsStoreResourceConfig, SecretsStoreSecretBinding, SecretsStoreStateEntry, StateEntry, TAMER_OVERLAY_ENV_KEY, TamerResolvableString, TenantD1ShardRef, TenantMeta, TenantStateEntry, TenantStatus, VectorizeResourceConfig, VectorizeStateEntry, WorkerConfig, WorkerResources, WorkerRouteStateEntry, WorkerSecretsConfig, WorkerStatus, WorkflowResourceConfig, WorkflowStateEntry, type WranglerConfig, type WranglerD1Database, type WranglerEnvironment, type WranglerKVNamespace, type WranglerR2Bucket, WranglerR2BucketResolvable, cf, cfBindingSpecToTamerRef, defineCloudflareConfig, defineConfig, defineProjectOverlay, defineWorker, getDispatchNamespaces, getDnsRecords, getLogpushJobs, isCfBinding, materializeCloudflareBindings, materializeTamerResolvable, materializeVars };
7103
+ export { AIGatewayResourceConfig, AIGatewayStateEntry, CfBinding, type CfBindingSpec, type CfLogpushPipelinesField, type CfResourceField, type CfResourceKind, CfiConfig, CfiConfigMulti, CfiConfigSingle, CfiOperationName, CfiOperationRecord, CfiOperationStatus, CfiStackConfig, CfiStackMeta, CfiStackOutputValue, CfiState, CloudflareNameContext, CloudflareNameFn, CodegenConfig, D1ResourceConfig, D1StateEntry, DispatchNamespaceResourceConfig, DispatchNamespaceStateEntry, DnsRecordResourceConfig, DnsRecordStateEntry, EnvOverride, HyperdriveOriginSpec, HyperdriveResourceConfig, HyperdriveStateEntry, KVResourceConfig, KVStateEntry, LogpushJobPipelinesAutoDestination, LogpushJobPipelinesIngestDestination, LogpushJobR2Destination, LogpushJobResourceConfig, LogpushJobStateEntry, LogpushPipelinesStateEntry, LogpushWorkersTraceDataset, NamingConventions, PipelineResourceConfig, PipelineStateEntry, ProvisioningStatus, QueueResourceConfig, QueueStateEntry, R2ResourceConfig, R2StateEntry, type RawConfig, type RawEnvironment, ResourceStatus, RouteResourceConfig, SecretStateEntry, SecretsStoreResourceConfig, SecretsStoreSecretBinding, SecretsStoreStateEntry, ShardRegistryCodegenConfig, ShardRegistryEntryV1, ShardRegistryV1, StateEntry, TAMER_OVERLAY_ENV_KEY, TamerResolvableString, TenantD1ShardRef, TenantMeta, TenantStateEntry, TenantStatus, VectorizeResourceConfig, VectorizeStateEntry, WorkerConfig, WorkerResources, WorkerRouteStateEntry, WorkerSecretsConfig, WorkerStatus, WorkflowResourceConfig, WorkflowStateEntry, type WranglerConfig, type WranglerD1Database, type WranglerEnvironment, type WranglerKVNamespace, type WranglerR2Bucket, WranglerR2BucketResolvable, cf, cfBindingSpecToTamerRef, defineCloudflareConfig, defineConfig, defineProjectOverlay, defineWorker, getDispatchNamespaces, getDnsRecords, getLogpushJobs, isCfBinding, materializeCloudflareBindings, materializeTamerResolvable, materializeVars };
7004
7104
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/generated/wrangler-types.generated.ts","../src/generated/wrangler-types.ts","../src/dx/cloudflare-bindings.ts","../src/types.ts","../src/dx/normalize.ts","../src/dx/index.ts"],"sourcesContent":[],"mappings":";;AASA;;;;;AAOA;AAYA;AAaY,KAhCA,KAAA,GAgCA,MAAA,GAhCiB,WAgCI,GAhCU,aAgCV,GAhC0B,iBAgC1B;AA+lEjC;;;;;;AAiHU,KAzuEE,oBAAA,GAyuEF,UAAA,GAAA,UAAA,GAAA,cAAA,GAAA,MAAA,GAAA,MAAA,GAAA,cAAA,GAAA,mBAAA;;;;;AAiOkB,KA97EhB,IAAA,GA87EgB,MAAA,GAAA,MAAA,GAAA,OAAA,GAAA,IAAA,GAz7ExB,IAy7EwB,EAAA,GAAA;EA2BZ,CAAA,CAAA,EAAA,MAAA,CAAA,EAl9EG,IAk9EH;CAOA;;;;;AA4yBF,KA/vGF,qBAAA,GA+vGE;EAOA;;;EA4hBe,IAAA,EAAA,MAAA;EAAqB;AAyOlD;AASA;EASiB,UAAA,EAAA,MAAA;EAYA;AA+BjB;AAWA;EAsDW,WAAA,CAAA,EAAA,MAAA;EAMQ;;;EAoBL,WAAA,CAAA,EAAA,MAAA;CAiCL,EAAA;;;;;;;;;UArmEQ,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;;;YAIM;;MAEN;;;YAA+C;;;;UAIpC,YAAA;UACP;;WAEC;;;;;;;;;;;;;;;;;;;;;UAwBM,iBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AH57CjB;AAA6B,iBILb,0BAAA,CJKa,CAAA,EILiB,qBJKjB,CAAA,EAAA,MAAA;AAAc,iBID3B,eAAA,CJC2B,IAAA,EIAnC,MJAmC,CAAA,MAAA,EIApB,qBJAoB,CAAA,GAAA,SAAA,CAAA,EICxC,MJDwC,CAAA,MAAA,EAAA,MAAA,CAAA,GAAA,SAAA;;;AAO3C;AAYA;AAaA;AA+lEiB,iBIlnED,6BAAA,CJknEe,KAAA,EAAA,OAAA,CAAA,EAAA,OAAA;;;;;;AAxnE/B;AAYA;AAaA;AA+lEA;;AA4DmB,iBKxqEH,sBAAA,CLwqEG,MAAA,EAAA,OAAA,CAAA,EKxqEsC,SLwqEtC"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/generated/wrangler-types.generated.ts","../src/generated/wrangler-types.ts","../src/dx/cloudflare-bindings.ts","../src/types.ts","../src/dx/normalize.ts","../src/dx/index.ts"],"sourcesContent":[],"mappings":";;AASA;;;;;AAOA;AAYA;AAaY,KAhCA,KAAA,GAgCA,MAAA,GAhCiB,WAgCI,GAhCU,aAgCV,GAhC0B,iBAgC1B;AA+mEjC;;;;;;AAiHU,KAzvEE,oBAAA,GAyvEF,UAAA,GAAA,UAAA,GAAA,cAAA,GAAA,MAAA,GAAA,MAAA,GAAA,cAAA,GAAA,mBAAA;;;;;AAiOkB,KA98EhB,IAAA,GA88EgB,MAAA,GAAA,MAAA,GAAA,OAAA,GAAA,IAAA,GAz8ExB,IAy8EwB,EAAA,GAAA;EA2BZ,CAAA,CAAA,EAAA,MAAA,CAAA,EAl+EG,IAk+EH;CAOA;;;;;AAozBF,KAvxGF,qBAAA,GAuxGE;EAOA;;;EAoiBe,IAAA,EAAA,MA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AA;;;;;;AAxoE/B;AAYA;AAaA;AA+mEA;;AA4DmB,iBKxrEH,sBAAA,CLwrEG,MAAA,EAAA,OAAA,CAAA,EKxrEsC,SLwrEtC"}
@@ -1103,4 +1103,4 @@ function logpushJobStatus(resources, tenant, env, state, liveJobs) {
1103
1103
 
1104
1104
  //#endregion
1105
1105
  export { logpushJobApply as a, logpushJobSync as i, logpushJobDestroy as n, logpushJobDiffPlanItems as o, logpushJobDrift as r, logpushJobStateKey as s, logpushJobStatus as t };
1106
- //# sourceMappingURL=logpush-job-DJPlpnRu.mjs.map
1106
+ //# sourceMappingURL=logpush-job-GqVKG_HI.mjs.map