copilotkit 4.22.0 → 4.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/README.md +390 -17
  2. package/cli-build-info.json +8 -8
  3. package/index.js +52224 -34474
  4. package/onboarding/index.json +83 -9
  5. package/onboarding/prompts/authenticate/start.md +44 -34
  6. package/onboarding/prompts/conversion/plan.md +3 -3
  7. package/onboarding/prompts/credentials/finalize-plan.md +12 -7
  8. package/onboarding/prompts/credentials/plan.md +23 -23
  9. package/onboarding/prompts/credentials/settle-credentials.md +10 -7
  10. package/onboarding/prompts/credentials/write-plan.md +17 -7
  11. package/onboarding/prompts/deployment/choose-local.md +46 -0
  12. package/onboarding/prompts/deployment/local-evaluation.md +71 -0
  13. package/onboarding/prompts/fallback/best-effort.md +8 -8
  14. package/onboarding/prompts/feature/a2ui/implement.md +6 -6
  15. package/onboarding/prompts/feature/a2ui/plan.md +72 -0
  16. package/onboarding/prompts/feature/a2ui/proof.md +5 -5
  17. package/onboarding/prompts/feature/a2ui/start.md +11 -32
  18. package/onboarding/prompts/feature/channels/implement.md +23 -16
  19. package/onboarding/prompts/feature/channels/plan.md +85 -0
  20. package/onboarding/prompts/feature/channels/proof.md +5 -5
  21. package/onboarding/prompts/feature/channels/start.md +14 -41
  22. package/onboarding/prompts/feature/chat-suggestions/implement.md +6 -6
  23. package/onboarding/prompts/feature/chat-suggestions/plan.md +71 -0
  24. package/onboarding/prompts/feature/chat-suggestions/proof.md +5 -5
  25. package/onboarding/prompts/feature/chat-suggestions/start.md +11 -30
  26. package/onboarding/prompts/feature/complete.md +2 -2
  27. package/onboarding/prompts/feature/learning/implement.md +13 -13
  28. package/onboarding/prompts/feature/learning/plan.md +82 -0
  29. package/onboarding/prompts/feature/learning/proof.md +6 -6
  30. package/onboarding/prompts/feature/learning/start.md +11 -40
  31. package/onboarding/prompts/feature/open-generative-ui/implement.md +6 -6
  32. package/onboarding/prompts/feature/open-generative-ui/plan.md +70 -0
  33. package/onboarding/prompts/feature/open-generative-ui/proof.md +5 -5
  34. package/onboarding/prompts/feature/open-generative-ui/start.md +11 -30
  35. package/onboarding/prompts/feature/realtime-sync/implement.md +7 -7
  36. package/onboarding/prompts/feature/realtime-sync/plan.md +75 -0
  37. package/onboarding/prompts/feature/realtime-sync/proof.md +5 -5
  38. package/onboarding/prompts/feature/realtime-sync/start.md +10 -33
  39. package/onboarding/prompts/feature/rich-threads/implement.md +8 -8
  40. package/onboarding/prompts/feature/rich-threads/plan.md +77 -0
  41. package/onboarding/prompts/feature/rich-threads/proof.md +5 -5
  42. package/onboarding/prompts/feature/rich-threads/start.md +10 -35
  43. package/onboarding/prompts/feature/stop.md +3 -3
  44. package/onboarding/prompts/feature/voice/implement.md +6 -6
  45. package/onboarding/prompts/feature/voice/plan.md +74 -0
  46. package/onboarding/prompts/feature/voice/proof.md +5 -5
  47. package/onboarding/prompts/feature/voice/start.md +11 -29
  48. package/onboarding/prompts/framework/ag2.md +2 -2
  49. package/onboarding/prompts/framework/agno.md +2 -2
  50. package/onboarding/prompts/framework/built-in.md +2 -2
  51. package/onboarding/prompts/framework/claude-sdk-python.md +2 -2
  52. package/onboarding/prompts/framework/claude-sdk-typescript.md +2 -2
  53. package/onboarding/prompts/framework/crewai-flows.md +2 -2
  54. package/onboarding/prompts/framework/custom-ag-ui.md +5 -2
  55. package/onboarding/prompts/framework/deep-agents.md +2 -2
  56. package/onboarding/prompts/framework/google-adk.md +2 -2
  57. package/onboarding/prompts/framework/langgraph-fastapi.md +2 -2
  58. package/onboarding/prompts/framework/langgraph-python.md +2 -2
  59. package/onboarding/prompts/framework/langgraph-typescript.md +2 -2
  60. package/onboarding/prompts/framework/llamaindex.md +2 -2
  61. package/onboarding/prompts/framework/mastra.md +2 -2
  62. package/onboarding/prompts/framework/ms-agent-dotnet.md +3 -3
  63. package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +3 -3
  64. package/onboarding/prompts/framework/ms-agent-python.md +2 -2
  65. package/onboarding/prompts/framework/pydantic-ai.md +2 -2
  66. package/onboarding/prompts/framework/strands-python.md +2 -2
  67. package/onboarding/prompts/framework/strands-typescript.md +2 -2
  68. package/onboarding/prompts/frontend/angular.md +3 -3
  69. package/onboarding/prompts/frontend/nextjs.md +3 -3
  70. package/onboarding/prompts/frontend/plan.md +7 -7
  71. package/onboarding/prompts/frontend/react-native.md +2 -2
  72. package/onboarding/prompts/frontend/react-spa.md +2 -2
  73. package/onboarding/prompts/frontend/vue.md +2 -2
  74. package/onboarding/prompts/implementation/build-and-validate.md +14 -13
  75. package/onboarding/prompts/proof/complete.md +3 -3
  76. package/onboarding/prompts/proof/oss-baseline.md +5 -5
  77. package/onboarding/prompts/proof/round-trip.md +16 -11
  78. package/onboarding/prompts/research/gather.md +9 -8
  79. package/onboarding/prompts/research/merge.md +6 -3
  80. package/onboarding/prompts/research/preflight.md +2 -2
  81. package/onboarding/prompts/research/route.md +22 -14
  82. package/onboarding/prompts/starter/clone.md +5 -5
  83. package/onboarding/prompts/stopped/run-failed.md +2 -2
  84. package/onboarding/prompts/subagent/create-plan.md +9 -2
  85. package/onboarding/prompts/subagent/implement-and-validate.md +34 -2
  86. package/onboarding/prompts/subagent/inspect-repository.md +1 -1
  87. package/onboarding/prompts/subagent/prove-oss-baseline.md +1 -1
  88. package/onboarding/prompts/subagent/prove-round-trip.md +39 -21
  89. package/onboarding/prompts/unsupported/no-validated-path.md +2 -2
  90. package/package.json +4 -1
  91. package/release/release-tool.js +167 -18
  92. package/services/local-auth-worker.js +21465 -0
@@ -1,11 +1,14 @@
1
1
  #!/usr/bin/env node
2
- import { createRequire } from "module"; const require = createRequire(import.meta.url);
2
+ import { createRequire as __cpkiCreateRequire } from "node:module"; const require = __cpkiCreateRequire(import.meta.url);
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __getProtoOf = Object.getPrototypeOf;
8
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __esm = (fn, res) => function __init() {
10
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
11
+ };
9
12
  var __commonJS = (cb, mod) => function __require() {
10
13
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
11
14
  };
@@ -30,10 +33,17 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
30
33
  mod
31
34
  ));
32
35
 
36
+ // <define:__CLI_LOCAL_EVALUATION_SUPPORT__>
37
+ var init_define_CLI_LOCAL_EVALUATION_SUPPORT = __esm({
38
+ "<define:__CLI_LOCAL_EVALUATION_SUPPORT__>"() {
39
+ }
40
+ });
41
+
33
42
  // apps/cli/starter-source-policy.cjs
34
43
  var require_starter_source_policy = __commonJS({
35
44
  "apps/cli/starter-source-policy.cjs"(exports, module) {
36
45
  "use strict";
46
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
37
47
  var AG2_STARTER_SOURCE2 = Object.freeze({
38
48
  owner: "ag2ai",
39
49
  repo: "ag2-copilotkit-starter",
@@ -53,12 +63,17 @@ var require_starter_source_policy = __commonJS({
53
63
  }
54
64
  });
55
65
 
66
+ // apps/cli/src/release/release-tool.ts
67
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
68
+
56
69
  // apps/cli/src/release/cli-release.ts
70
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
57
71
  import { execFileSync as execFileSync2 } from "node:child_process";
58
72
  import * as fs6 from "node:fs";
59
73
  import * as path6 from "node:path";
60
74
 
61
75
  // apps/cli/src/starter-source-catalog.ts
76
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
62
77
  var import_starter_source_policy = __toESM(require_starter_source_policy(), 1);
63
78
  function copilotKitStarter(path7) {
64
79
  return {
@@ -140,6 +155,12 @@ function getFirstPartyStarterPaths() {
140
155
  ];
141
156
  }
142
157
 
158
+ // apps/cli/src/release/release-schemas.ts
159
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
160
+
161
+ // node_modules/.pnpm/zod@4.3.6/node_modules/zod/index.js
162
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
163
+
143
164
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/external.js
144
165
  var external_exports = {};
145
166
  __export(external_exports, {
@@ -380,6 +401,7 @@ __export(external_exports, {
380
401
  xid: () => xid2,
381
402
  xor: () => xor
382
403
  });
404
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
383
405
 
384
406
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/index.js
385
407
  var core_exports2 = {};
@@ -658,8 +680,10 @@ __export(core_exports2, {
658
680
  util: () => util_exports,
659
681
  version: () => version
660
682
  });
683
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
661
684
 
662
685
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.js
686
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
663
687
  var NEVER = Object.freeze({
664
688
  status: "aborted"
665
689
  });
@@ -734,6 +758,12 @@ function config(newConfig) {
734
758
  return globalConfig;
735
759
  }
736
760
 
761
+ // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/parse.js
762
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
763
+
764
+ // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.js
765
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
766
+
737
767
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.js
738
768
  var util_exports = {};
739
769
  __export(util_exports, {
@@ -800,6 +830,7 @@ __export(util_exports, {
800
830
  uint8ArrayToHex: () => uint8ArrayToHex,
801
831
  unwrapMessage: () => unwrapMessage
802
832
  });
833
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
803
834
  function assertEqual(val) {
804
835
  return val;
805
836
  }
@@ -1637,6 +1668,12 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
1637
1668
  };
1638
1669
  var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
1639
1670
 
1671
+ // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.js
1672
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
1673
+
1674
+ // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.js
1675
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
1676
+
1640
1677
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/regexes.js
1641
1678
  var regexes_exports = {};
1642
1679
  __export(regexes_exports, {
@@ -1699,6 +1736,7 @@ __export(regexes_exports, {
1699
1736
  uuid7: () => uuid7,
1700
1737
  xid: () => xid
1701
1738
  });
1739
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
1702
1740
  var cuid = /^[cC][^\s-]{8,}$/;
1703
1741
  var cuid2 = /^[0-9a-z]+$/;
1704
1742
  var ulid = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;
@@ -2343,6 +2381,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
2343
2381
  });
2344
2382
 
2345
2383
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/doc.js
2384
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
2346
2385
  var Doc = class {
2347
2386
  constructor(args = []) {
2348
2387
  this.content = [];
@@ -2379,6 +2418,7 @@ var Doc = class {
2379
2418
  };
2380
2419
 
2381
2420
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.js
2421
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
2382
2422
  var version = {
2383
2423
  major: 4,
2384
2424
  minor: 3,
@@ -4409,8 +4449,10 @@ __export(locales_exports, {
4409
4449
  zhCN: () => zh_CN_default,
4410
4450
  zhTW: () => zh_TW_default
4411
4451
  });
4452
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
4412
4453
 
4413
4454
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ar.js
4455
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
4414
4456
  var error = () => {
4415
4457
  const Sizable = {
4416
4458
  string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
@@ -4518,6 +4560,7 @@ function ar_default() {
4518
4560
  }
4519
4561
 
4520
4562
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/az.js
4563
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
4521
4564
  var error2 = () => {
4522
4565
  const Sizable = {
4523
4566
  string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
@@ -4624,6 +4667,7 @@ function az_default() {
4624
4667
  }
4625
4668
 
4626
4669
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/be.js
4670
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
4627
4671
  function getBelarusianPlural(count, one, few, many) {
4628
4672
  const absCount = Math.abs(count);
4629
4673
  const lastDigit = absCount % 10;
@@ -4781,6 +4825,7 @@ function be_default() {
4781
4825
  }
4782
4826
 
4783
4827
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/bg.js
4828
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
4784
4829
  var error4 = () => {
4785
4830
  const Sizable = {
4786
4831
  string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
@@ -4902,6 +4947,7 @@ function bg_default() {
4902
4947
  }
4903
4948
 
4904
4949
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ca.js
4950
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
4905
4951
  var error5 = () => {
4906
4952
  const Sizable = {
4907
4953
  string: { unit: "car\xE0cters", verb: "contenir" },
@@ -5010,6 +5056,7 @@ function ca_default() {
5010
5056
  }
5011
5057
 
5012
5058
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/cs.js
5059
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
5013
5060
  var error6 = () => {
5014
5061
  const Sizable = {
5015
5062
  string: { unit: "znak\u016F", verb: "m\xEDt" },
@@ -5122,6 +5169,7 @@ function cs_default() {
5122
5169
  }
5123
5170
 
5124
5171
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/da.js
5172
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
5125
5173
  var error7 = () => {
5126
5174
  const Sizable = {
5127
5175
  string: { unit: "tegn", verb: "havde" },
@@ -5238,6 +5286,7 @@ function da_default() {
5238
5286
  }
5239
5287
 
5240
5288
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/de.js
5289
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
5241
5290
  var error8 = () => {
5242
5291
  const Sizable = {
5243
5292
  string: { unit: "Zeichen", verb: "zu haben" },
@@ -5347,6 +5396,7 @@ function de_default() {
5347
5396
  }
5348
5397
 
5349
5398
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/en.js
5399
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
5350
5400
  var error9 = () => {
5351
5401
  const Sizable = {
5352
5402
  string: { unit: "characters", verb: "to have" },
@@ -5456,6 +5506,7 @@ function en_default() {
5456
5506
  }
5457
5507
 
5458
5508
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/eo.js
5509
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
5459
5510
  var error10 = () => {
5460
5511
  const Sizable = {
5461
5512
  string: { unit: "karaktrojn", verb: "havi" },
@@ -5566,6 +5617,7 @@ function eo_default() {
5566
5617
  }
5567
5618
 
5568
5619
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/es.js
5620
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
5569
5621
  var error11 = () => {
5570
5622
  const Sizable = {
5571
5623
  string: { unit: "caracteres", verb: "tener" },
@@ -5699,6 +5751,7 @@ function es_default() {
5699
5751
  }
5700
5752
 
5701
5753
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fa.js
5754
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
5702
5755
  var error12 = () => {
5703
5756
  const Sizable = {
5704
5757
  string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
@@ -5814,6 +5867,7 @@ function fa_default() {
5814
5867
  }
5815
5868
 
5816
5869
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fi.js
5870
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
5817
5871
  var error13 = () => {
5818
5872
  const Sizable = {
5819
5873
  string: { unit: "merkki\xE4", subject: "merkkijonon" },
@@ -5927,6 +5981,7 @@ function fi_default() {
5927
5981
  }
5928
5982
 
5929
5983
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fr.js
5984
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
5930
5985
  var error14 = () => {
5931
5986
  const Sizable = {
5932
5987
  string: { unit: "caract\xE8res", verb: "avoir" },
@@ -6036,6 +6091,7 @@ function fr_default() {
6036
6091
  }
6037
6092
 
6038
6093
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fr-CA.js
6094
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
6039
6095
  var error15 = () => {
6040
6096
  const Sizable = {
6041
6097
  string: { unit: "caract\xE8res", verb: "avoir" },
@@ -6144,6 +6200,7 @@ function fr_CA_default() {
6144
6200
  }
6145
6201
 
6146
6202
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/he.js
6203
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
6147
6204
  var error16 = () => {
6148
6205
  const TypeNames = {
6149
6206
  string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
@@ -6339,6 +6396,7 @@ function he_default() {
6339
6396
  }
6340
6397
 
6341
6398
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/hu.js
6399
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
6342
6400
  var error17 = () => {
6343
6401
  const Sizable = {
6344
6402
  string: { unit: "karakter", verb: "legyen" },
@@ -6448,6 +6506,7 @@ function hu_default() {
6448
6506
  }
6449
6507
 
6450
6508
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/hy.js
6509
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
6451
6510
  function getArmenianPlural(count, one, many) {
6452
6511
  return Math.abs(count) === 1 ? one : many;
6453
6512
  }
@@ -6596,6 +6655,7 @@ function hy_default() {
6596
6655
  }
6597
6656
 
6598
6657
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/id.js
6658
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
6599
6659
  var error19 = () => {
6600
6660
  const Sizable = {
6601
6661
  string: { unit: "karakter", verb: "memiliki" },
@@ -6703,6 +6763,7 @@ function id_default() {
6703
6763
  }
6704
6764
 
6705
6765
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/is.js
6766
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
6706
6767
  var error20 = () => {
6707
6768
  const Sizable = {
6708
6769
  string: { unit: "stafi", verb: "a\xF0 hafa" },
@@ -6813,6 +6874,7 @@ function is_default() {
6813
6874
  }
6814
6875
 
6815
6876
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/it.js
6877
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
6816
6878
  var error21 = () => {
6817
6879
  const Sizable = {
6818
6880
  string: { unit: "caratteri", verb: "avere" },
@@ -6922,6 +6984,7 @@ function it_default() {
6922
6984
  }
6923
6985
 
6924
6986
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ja.js
6987
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
6925
6988
  var error22 = () => {
6926
6989
  const Sizable = {
6927
6990
  string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
@@ -7030,6 +7093,7 @@ function ja_default() {
7030
7093
  }
7031
7094
 
7032
7095
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ka.js
7096
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
7033
7097
  var error23 = () => {
7034
7098
  const Sizable = {
7035
7099
  string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
@@ -7142,7 +7206,11 @@ function ka_default() {
7142
7206
  };
7143
7207
  }
7144
7208
 
7209
+ // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/kh.js
7210
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
7211
+
7145
7212
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/km.js
7213
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
7146
7214
  var error24 = () => {
7147
7215
  const Sizable = {
7148
7216
  string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
@@ -7259,6 +7327,7 @@ function kh_default() {
7259
7327
  }
7260
7328
 
7261
7329
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ko.js
7330
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
7262
7331
  var error25 = () => {
7263
7332
  const Sizable = {
7264
7333
  string: { unit: "\uBB38\uC790", verb: "to have" },
@@ -7371,6 +7440,7 @@ function ko_default() {
7371
7440
  }
7372
7441
 
7373
7442
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/lt.js
7443
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
7374
7444
  var capitalizeFirstCharacter = (text) => {
7375
7445
  return text.charAt(0).toUpperCase() + text.slice(1);
7376
7446
  };
@@ -7575,6 +7645,7 @@ function lt_default() {
7575
7645
  }
7576
7646
 
7577
7647
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/mk.js
7648
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
7578
7649
  var error27 = () => {
7579
7650
  const Sizable = {
7580
7651
  string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
@@ -7685,6 +7756,7 @@ function mk_default() {
7685
7756
  }
7686
7757
 
7687
7758
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ms.js
7759
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
7688
7760
  var error28 = () => {
7689
7761
  const Sizable = {
7690
7762
  string: { unit: "aksara", verb: "mempunyai" },
@@ -7793,6 +7865,7 @@ function ms_default() {
7793
7865
  }
7794
7866
 
7795
7867
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/nl.js
7868
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
7796
7869
  var error29 = () => {
7797
7870
  const Sizable = {
7798
7871
  string: { unit: "tekens", verb: "heeft" },
@@ -7904,6 +7977,7 @@ function nl_default() {
7904
7977
  }
7905
7978
 
7906
7979
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/no.js
7980
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
7907
7981
  var error30 = () => {
7908
7982
  const Sizable = {
7909
7983
  string: { unit: "tegn", verb: "\xE5 ha" },
@@ -8013,6 +8087,7 @@ function no_default() {
8013
8087
  }
8014
8088
 
8015
8089
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ota.js
8090
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
8016
8091
  var error31 = () => {
8017
8092
  const Sizable = {
8018
8093
  string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
@@ -8123,6 +8198,7 @@ function ota_default() {
8123
8198
  }
8124
8199
 
8125
8200
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ps.js
8201
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
8126
8202
  var error32 = () => {
8127
8203
  const Sizable = {
8128
8204
  string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
@@ -8238,6 +8314,7 @@ function ps_default() {
8238
8314
  }
8239
8315
 
8240
8316
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/pl.js
8317
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
8241
8318
  var error33 = () => {
8242
8319
  const Sizable = {
8243
8320
  string: { unit: "znak\xF3w", verb: "mie\u0107" },
@@ -8348,6 +8425,7 @@ function pl_default() {
8348
8425
  }
8349
8426
 
8350
8427
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/pt.js
8428
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
8351
8429
  var error34 = () => {
8352
8430
  const Sizable = {
8353
8431
  string: { unit: "caracteres", verb: "ter" },
@@ -8457,6 +8535,7 @@ function pt_default() {
8457
8535
  }
8458
8536
 
8459
8537
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ru.js
8538
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
8460
8539
  function getRussianPlural(count, one, few, many) {
8461
8540
  const absCount = Math.abs(count);
8462
8541
  const lastDigit = absCount % 10;
@@ -8614,6 +8693,7 @@ function ru_default() {
8614
8693
  }
8615
8694
 
8616
8695
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/sl.js
8696
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
8617
8697
  var error36 = () => {
8618
8698
  const Sizable = {
8619
8699
  string: { unit: "znakov", verb: "imeti" },
@@ -8724,6 +8804,7 @@ function sl_default() {
8724
8804
  }
8725
8805
 
8726
8806
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/sv.js
8807
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
8727
8808
  var error37 = () => {
8728
8809
  const Sizable = {
8729
8810
  string: { unit: "tecken", verb: "att ha" },
@@ -8835,6 +8916,7 @@ function sv_default() {
8835
8916
  }
8836
8917
 
8837
8918
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ta.js
8919
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
8838
8920
  var error38 = () => {
8839
8921
  const Sizable = {
8840
8922
  string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
@@ -8946,6 +9028,7 @@ function ta_default() {
8946
9028
  }
8947
9029
 
8948
9030
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/th.js
9031
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
8949
9032
  var error39 = () => {
8950
9033
  const Sizable = {
8951
9034
  string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
@@ -9057,6 +9140,7 @@ function th_default() {
9057
9140
  }
9058
9141
 
9059
9142
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/tr.js
9143
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
9060
9144
  var error40 = () => {
9061
9145
  const Sizable = {
9062
9146
  string: { unit: "karakter", verb: "olmal\u0131" },
@@ -9162,7 +9246,11 @@ function tr_default() {
9162
9246
  };
9163
9247
  }
9164
9248
 
9249
+ // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ua.js
9250
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
9251
+
9165
9252
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/uk.js
9253
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
9166
9254
  var error41 = () => {
9167
9255
  const Sizable = {
9168
9256
  string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
@@ -9277,6 +9365,7 @@ function ua_default() {
9277
9365
  }
9278
9366
 
9279
9367
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ur.js
9368
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
9280
9369
  var error42 = () => {
9281
9370
  const Sizable = {
9282
9371
  string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
@@ -9388,6 +9477,7 @@ function ur_default() {
9388
9477
  }
9389
9478
 
9390
9479
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/uz.js
9480
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
9391
9481
  var error43 = () => {
9392
9482
  const Sizable = {
9393
9483
  string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
@@ -9498,6 +9588,7 @@ function uz_default() {
9498
9588
  }
9499
9589
 
9500
9590
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/vi.js
9591
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
9501
9592
  var error44 = () => {
9502
9593
  const Sizable = {
9503
9594
  string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
@@ -9607,6 +9698,7 @@ function vi_default() {
9607
9698
  }
9608
9699
 
9609
9700
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/zh-CN.js
9701
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
9610
9702
  var error45 = () => {
9611
9703
  const Sizable = {
9612
9704
  string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
@@ -9717,6 +9809,7 @@ function zh_CN_default() {
9717
9809
  }
9718
9810
 
9719
9811
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/zh-TW.js
9812
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
9720
9813
  var error46 = () => {
9721
9814
  const Sizable = {
9722
9815
  string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
@@ -9825,6 +9918,7 @@ function zh_TW_default() {
9825
9918
  }
9826
9919
 
9827
9920
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/yo.js
9921
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
9828
9922
  var error47 = () => {
9829
9923
  const Sizable = {
9830
9924
  string: { unit: "\xE0mi", verb: "n\xED" },
@@ -9933,6 +10027,7 @@ function yo_default() {
9933
10027
  }
9934
10028
 
9935
10029
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.js
10030
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
9936
10031
  var _a;
9937
10032
  var $output = Symbol("ZodOutput");
9938
10033
  var $input = Symbol("ZodInput");
@@ -9983,6 +10078,7 @@ function registry() {
9983
10078
  var globalRegistry = globalThis.__zod_globalRegistry;
9984
10079
 
9985
10080
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/api.js
10081
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
9986
10082
  // @__NO_SIDE_EFFECTS__
9987
10083
  function _string(Class2, params) {
9988
10084
  return new Class2({
@@ -11022,6 +11118,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
11022
11118
  }
11023
11119
 
11024
11120
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.js
11121
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
11025
11122
  function initializeContext(params) {
11026
11123
  let target = params?.target ?? "draft-2020-12";
11027
11124
  if (target === "draft-4")
@@ -11374,6 +11471,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
11374
11471
  };
11375
11472
 
11376
11473
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema-processors.js
11474
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
11377
11475
  var formatMap = {
11378
11476
  guid: "uuid",
11379
11477
  url: "uri",
@@ -11925,6 +12023,7 @@ function toJSONSchema(input, params) {
11925
12023
  }
11926
12024
 
11927
12025
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema-generator.js
12026
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
11928
12027
  var JSONSchemaGenerator = class {
11929
12028
  /** @deprecated Access via ctx instead */
11930
12029
  get metadataRegistry() {
@@ -12001,6 +12100,7 @@ var JSONSchemaGenerator = class {
12001
12100
 
12002
12101
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.js
12003
12102
  var json_schema_exports = {};
12103
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
12004
12104
 
12005
12105
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/schemas.js
12006
12106
  var schemas_exports2 = {};
@@ -12170,6 +12270,7 @@ __export(schemas_exports2, {
12170
12270
  xid: () => xid2,
12171
12271
  xor: () => xor
12172
12272
  });
12273
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
12173
12274
 
12174
12275
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/checks.js
12175
12276
  var checks_exports2 = {};
@@ -12204,6 +12305,7 @@ __export(checks_exports2, {
12204
12305
  trim: () => _trim,
12205
12306
  uppercase: () => _uppercase
12206
12307
  });
12308
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
12207
12309
 
12208
12310
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/iso.js
12209
12311
  var iso_exports = {};
@@ -12217,6 +12319,7 @@ __export(iso_exports, {
12217
12319
  duration: () => duration2,
12218
12320
  time: () => time2
12219
12321
  });
12322
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
12220
12323
  var ZodISODateTime = /* @__PURE__ */ $constructor("ZodISODateTime", (inst, def) => {
12221
12324
  $ZodISODateTime.init(inst, def);
12222
12325
  ZodStringFormat.init(inst, def);
@@ -12246,7 +12349,11 @@ function duration2(params) {
12246
12349
  return _isoDuration(ZodISODuration, params);
12247
12350
  }
12248
12351
 
12352
+ // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/parse.js
12353
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
12354
+
12249
12355
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/errors.js
12356
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
12250
12357
  var initializer2 = (inst, issues) => {
12251
12358
  $ZodError.init(inst, issues);
12252
12359
  inst.name = "ZodError";
@@ -13380,6 +13487,7 @@ function preprocess(fn, schema) {
13380
13487
  }
13381
13488
 
13382
13489
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/compat.js
13490
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
13383
13491
  var ZodIssueCode = {
13384
13492
  invalid_type: "invalid_type",
13385
13493
  too_big: "too_big",
@@ -13406,6 +13514,7 @@ var ZodFirstPartyTypeKind;
13406
13514
  })(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
13407
13515
 
13408
13516
  // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/from-json-schema.js
13517
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
13409
13518
  var z = {
13410
13519
  ...schemas_exports2,
13411
13520
  ...checks_exports2,
@@ -13888,6 +13997,7 @@ __export(coerce_exports, {
13888
13997
  number: () => number3,
13889
13998
  string: () => string3
13890
13999
  });
14000
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
13891
14001
  function string3(params) {
13892
14002
  return _coercedString(ZodString, params);
13893
14003
  }
@@ -14066,6 +14176,7 @@ function parseReleaseManifest(value) {
14066
14176
  }
14067
14177
 
14068
14178
  // apps/cli/src/release/source-preflight.ts
14179
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
14069
14180
  var ReleasePreflightError = class extends Error {
14070
14181
  /**
14071
14182
  * Creates a structured preflight failure.
@@ -14466,6 +14577,7 @@ async function resolveCopilotKitSource(options) {
14466
14577
  }
14467
14578
 
14468
14579
  // apps/cli/src/release/published-package.ts
14580
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
14469
14581
  import { createHash } from "node:crypto";
14470
14582
  var PublishedPackageVerificationError = class extends Error {
14471
14583
  /**
@@ -14569,6 +14681,7 @@ async function verifyPublishedPackage(options) {
14569
14681
  }
14570
14682
 
14571
14683
  // apps/cli/src/release/reconciliation.ts
14684
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
14572
14685
  import { isDeepStrictEqual } from "node:util";
14573
14686
  var ReleaseReconciliationError = class extends Error {
14574
14687
  /**
@@ -14695,12 +14808,26 @@ function planReleaseReconciliation(options) {
14695
14808
  }
14696
14809
 
14697
14810
  // apps/cli/src/release/smoke-starters.ts
14811
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
14698
14812
  import { execFile } from "node:child_process";
14699
14813
  import * as fs5 from "node:fs";
14700
14814
  import * as os2 from "node:os";
14701
14815
  import * as path5 from "node:path";
14702
14816
 
14817
+ // apps/cli/src/types.ts
14818
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
14819
+
14820
+ // apps/cli/src/config.ts
14821
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
14822
+
14823
+ // apps/cli/src/feature-flags.ts
14824
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
14825
+
14826
+ // libs/feature-flags/src/index.ts
14827
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
14828
+
14703
14829
  // libs/feature-flags/src/registry.ts
14830
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
14704
14831
  function defineFlags(defs) {
14705
14832
  return Object.fromEntries(
14706
14833
  Object.entries(defs).map(([key, body]) => [key, { ...body, key }])
@@ -14765,12 +14892,12 @@ var FLAG_DEFINITIONS = defineFlags({
14765
14892
  envVar: "FF_MANAGED_BOTS"
14766
14893
  },
14767
14894
  "self-hosted.local-evaluation": {
14768
- purpose: "Gates new local evaluation discovery and license issuance until exact published artifacts pass promotion checks. Installed lifecycle and renewal stay available.",
14895
+ purpose: "Gates new local evaluation setup, discovery, and license issuance. On in production for the macOS preview; FF_SELF_HOSTED_LOCAL_EVALUATION=false is its kill switch. Installed lifecycle and renewal stay available.",
14769
14896
  owner: "platform",
14770
14897
  createdAt: "2026-09-23",
14771
14898
  status: "rollout",
14772
14899
  surfaces: ["cli", "ops-api"],
14773
- defaultByEnv: { dev: true, ci: true, prod: false }
14900
+ defaultByEnv: { dev: true, ci: true, prod: true }
14774
14901
  },
14775
14902
  "managed-channels": {
14776
14903
  purpose: "Canonical Managed Channels rollout gate, evaluated alongside the legacy FF_MANAGED_BOTS override while deployments migrate.",
@@ -14798,19 +14925,6 @@ var FLAG_DEFINITIONS = defineFlags({
14798
14925
  defaultByEnv: { dev: false, ci: false, prod: false },
14799
14926
  envVar: "ANALYTICS_ENABLED"
14800
14927
  },
14801
- // PE-242: an agent cannot tell whether the developer's browser shares its
14802
- // machine, so the loopback redirect fails over SSH, in VMs, and in
14803
- // containers. Ops mounts the device routes and the CLI switches
14804
- // `login --json` to them; with the flag off both keep the loopback flow.
14805
- // On in prod from CLI 4.14.0; Ops prod already served the routes.
14806
- "cli.device-login": {
14807
- purpose: "Signs in `copilotkit login --json` and `login --device` with an RFC 8628 device authorization grant instead of the loopback redirect.",
14808
- owner: "platform",
14809
- createdAt: "2026-09-23",
14810
- status: "rollout",
14811
- surfaces: ["ops-api", "cli"],
14812
- defaultByEnv: { dev: true, ci: true, prod: true }
14813
- },
14814
14928
  "ops.stripe-billing-v1": {
14815
14929
  purpose: "Gates the direct Stripe Checkout, Portal, projection, and provider-aware billing API during rollout.",
14816
14930
  owner: "ops",
@@ -14821,12 +14935,22 @@ var FLAG_DEFINITIONS = defineFlags({
14821
14935
  }
14822
14936
  });
14823
14937
 
14938
+ // libs/feature-flags/src/resolve.ts
14939
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
14940
+
14941
+ // libs/feature-flags/src/manifest.ts
14942
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
14943
+
14944
+ // libs/feature-flags/src/ci.ts
14945
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
14946
+
14824
14947
  // apps/cli/src/config.ts
14825
14948
  function getTemplateRef() {
14826
- return true ? "4b51d880eab2617e3196285ddcf0e4ff7b34a237" : "main";
14949
+ return true ? "f835ce816112541654ded07162c2cc8ddf4f3f2c" : "main";
14827
14950
  }
14828
14951
 
14829
14952
  // apps/cli/src/services/agentcore-config.ts
14953
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
14830
14954
  import * as fs from "node:fs";
14831
14955
  import * as path from "node:path";
14832
14956
  async function configureAgentCore(projectDir, variant) {
@@ -14981,6 +15105,7 @@ cd infra-cdk && npx cdk@latest destroy --all --output ../cdk.out-${stackSuffix}
14981
15105
  }
14982
15106
 
14983
15107
  // apps/cli/src/services/showcase-config.ts
15108
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
14984
15109
  import * as fs2 from "node:fs";
14985
15110
  import * as path2 from "node:path";
14986
15111
  async function writeShowcaseConfig(projectDir, showcase) {
@@ -14989,6 +15114,12 @@ async function writeShowcaseConfig(projectDir, showcase) {
14989
15114
  `);
14990
15115
  }
14991
15116
 
15117
+ // apps/cli/src/services/telemetry/event-properties.ts
15118
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
15119
+
15120
+ // apps/cli/src/services/sandbox-denial.ts
15121
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
15122
+
14992
15123
  // apps/cli/src/services/telemetry/event-properties.ts
14993
15124
  var TELEMETRY_ERROR_CODES = {
14994
15125
  TEMPLATE_FETCH_FAILED: "TEMPLATE_FETCH_FAILED",
@@ -15418,14 +15549,21 @@ var FRAMEWORK_TEMPLATES = {
15418
15549
  };
15419
15550
 
15420
15551
  // apps/cli/src/services/project-scaffold.ts
15552
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
15421
15553
  import * as fs4 from "node:fs";
15422
15554
  import * as path4 from "node:path";
15423
15555
  import * as os from "node:os";
15424
15556
  import { execFileSync, spawn } from "node:child_process";
15425
15557
 
15426
15558
  // apps/cli/src/services/project-config.ts
15559
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
15427
15560
  import * as fs3 from "node:fs";
15428
15561
  import * as path3 from "node:path";
15562
+
15563
+ // apps/cli/src/services/repository-root.ts
15564
+ init_define_CLI_LOCAL_EVALUATION_SUPPORT();
15565
+
15566
+ // apps/cli/src/services/project-config.ts
15429
15567
  var projectConfigSchema = external_exports.object({
15430
15568
  projectId: external_exports.string().min(1),
15431
15569
  projectSlug: external_exports.string().min(1),
@@ -15461,7 +15599,18 @@ var projectConfigSchema = external_exports.object({
15461
15599
  * that port — in one run, an unrelated checkout (PE-58). The flag is still
15462
15600
  * a statement rather than a guess: the caller has to name the URL.
15463
15601
  */
15464
- runtimeUrl: external_exports.string().trim().min(1).optional()
15602
+ runtimeUrl: external_exports.string().trim().min(1).optional(),
15603
+ /**
15604
+ * The directory `copilotkit project select` wrote the project key into,
15605
+ * relative to the directory holding this record.
15606
+ *
15607
+ * The record goes to the repository root and the key goes beside the
15608
+ * directory the command ran from, so in a repository whose frontend and
15609
+ * runtime are sibling packages the key lands in a directory no other search
15610
+ * reaches. `verify`, and `onboard proof-check` through it, read the key from
15611
+ * here so they find the key this command wrote (PE-474).
15612
+ */
15613
+ apiKeyDirectory: external_exports.string().trim().min(1).optional()
15465
15614
  }).strict();
15466
15615
  function canonicalizeDir(dir) {
15467
15616
  const resolved = path3.resolve(dir);